@everymatrix/casino-header-controller-nd 1.54.6 → 1.54.8
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-CkPg6ouB.js → CasinoHamburgerMenuNd-BN4YipjD.js} +829 -837
- package/components/CasinoHamburgerMenuNd-BRXAq9EB.js +5463 -0
- package/components/CasinoHamburgerMenuNd-DWivJdEW.cjs +5 -0
- package/components/CasinoHeaderControllerNd-Bcge1xWm.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-BX0AvD48.js → CasinoHeaderControllerNd-DB6p0pM9.js} +85 -85
- package/components/CasinoHeaderControllerNd-y-KHL_bQ.js +2168 -0
- package/components/{PlayerAccountBalanceModalNd-K5u0ko-m.js → PlayerAccountBalanceModalNd-Cx1wys48.js} +93 -93
- package/components/PlayerAccountBalanceModalNd-DijTlCAM.js +1586 -0
- package/components/PlayerAccountBalanceModalNd-LPAeUZ5O.cjs +13 -0
- package/components/{PlayerDeposit-DsOspOgB.js → PlayerDeposit-DJtyV372.js} +46 -46
- package/components/PlayerDeposit-Dlc74zh3.js +395 -0
- package/components/PlayerDeposit-oYFoY9mr.cjs +1 -0
- package/es2015/casino-header-controller-nd.cjs +1 -0
- package/es2015/casino-header-controller-nd.js +16 -0
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/{gamification-dropdown-Rl66gqyp.js → gamification-dropdown-DSXwe6wL.js} +1 -1
- package/stencil/gamification-dropdown-DXwjfRK6.js +25 -0
- package/stencil/gamification-dropdown-DxQYaq9A.cjs +1 -0
- package/stencil/gamification-dropdown-dc081799-DhEx3oAW.js +121 -0
- package/stencil/{gamification-dropdown-ae7b7c69-C61VnAKy.js → gamification-dropdown-dc081799-DwwONu50.js} +1 -1
- package/stencil/gamification-dropdown-dc081799-grwre2mR.cjs +1 -0
- package/stencil/gamification-dropdown_4-DMyo0Cai.js +468 -0
- package/stencil/gamification-dropdown_4-Js76nmRP.cjs +192 -0
- package/stencil/{gamification-dropdown_4-AbKMnPZ5.js → gamification-dropdown_4-xIuhYShe.js} +3 -3
- package/stencil/index-5e36ea65-BYsPysDo.cjs +1 -0
- package/stencil/index-5e36ea65-COdY7Qod.js +859 -0
- package/stencil/index-5e36ea65-DT7tZRpo.js +832 -0
- package/stencil/{player-elevate-card-B4AMnqub.js → player-elevate-card-BcvihY18.js} +2 -2
- package/stencil/player-elevate-card-Ci_xja9l.js +105 -0
- package/stencil/player-elevate-card-DOMKpcd1.cjs +64 -0
- package/stencil/player-elevate-card-items-2a1dc5b5-B3hUJxjm.cjs +1 -0
- package/stencil/{player-elevate-card-items-9d490a3b-BxciIvXh.js → player-elevate-card-items-2a1dc5b5-R0FZQK7I.js} +1 -3
- package/stencil/player-elevate-card-items-2a1dc5b5-e_chraGM.js +1439 -0
- package/stencil/{player-elevate-pointcard-BeXukLE-.js → player-elevate-pointcard-BLdrrwJF.js} +2 -2
- package/stencil/player-elevate-pointcard-CZiVmETE.js +43 -0
- package/stencil/player-elevate-pointcard-DdN-6RUK.cjs +1 -0
- package/stencil/index-ea7720e4-FqoOOnHW.js +0 -826
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as dt, $ as ut, L as ft, S as pt, i as ht,
|
|
1
|
+
import { b as dt, $ as ut, L as ft, S as pt, i as ht, s as mt, f as Y, d as gt, z as qe, g as me, m as ge, n as T, p as V, q as ae, r as _, v as vt, w as yt, o as Ne, A as wt, D as pe, E as he, F as Qe, y as bt, G as Ve, H as it, C as Bt, c as Tt, K as Ct } from "./CasinoHamburgerMenuNd-BN4YipjD.js";
|
|
2
2
|
function Ze(i, e) {
|
|
3
3
|
dt(i, e);
|
|
4
4
|
}
|
|
@@ -205,7 +205,7 @@ const $e = {
|
|
|
205
205
|
Loading: "Loading ..."
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
|
-
var
|
|
208
|
+
var We = { exports: {} };
|
|
209
209
|
/** @license
|
|
210
210
|
* eventsource.js
|
|
211
211
|
* Available under MIT License (MIT)
|
|
@@ -394,9 +394,9 @@ var qe = { exports: {} };
|
|
|
394
394
|
ie.prototype.get = function(a) {
|
|
395
395
|
return this._map[J(a)];
|
|
396
396
|
}, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
|
|
397
|
-
function
|
|
397
|
+
function G() {
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
G.prototype.open = function(a, t, r, o, l, u, y) {
|
|
400
400
|
a.open("GET", l);
|
|
401
401
|
var m = 0;
|
|
402
402
|
a.onprogress = function() {
|
|
@@ -496,21 +496,21 @@ var qe = { exports: {} };
|
|
|
496
496
|
l.length === 0 ? delete r[a] : r[a] = l;
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
|
-
function
|
|
499
|
+
function X(a) {
|
|
500
500
|
this.type = a, this.target = void 0;
|
|
501
501
|
}
|
|
502
502
|
function De(a, t) {
|
|
503
|
-
|
|
503
|
+
X.call(this, a), this.data = t.data, this.lastEventId = t.lastEventId;
|
|
504
504
|
}
|
|
505
|
-
De.prototype = Object.create(
|
|
505
|
+
De.prototype = Object.create(X.prototype);
|
|
506
506
|
function se(a, t) {
|
|
507
|
-
|
|
507
|
+
X.call(this, a), this.status = t.status, this.statusText = t.statusText, this.headers = t.headers;
|
|
508
508
|
}
|
|
509
|
-
se.prototype = Object.create(
|
|
509
|
+
se.prototype = Object.create(X.prototype);
|
|
510
510
|
function _e(a, t) {
|
|
511
|
-
|
|
511
|
+
X.call(this, a), this.error = t.error;
|
|
512
512
|
}
|
|
513
|
-
_e.prototype = Object.create(
|
|
513
|
+
_e.prototype = Object.create(X.prototype);
|
|
514
514
|
var Ae = -1, oe = 0, ve = 1, le = 2, Be = -1, re = 0, we = 1, Re = 2, je = 3, Le = /^text\/event\-stream(;.*)?$/i, He = 1e3, ze = 18e6, Te = function(a, t) {
|
|
515
515
|
var r = a == null ? t : parseInt(a, 10);
|
|
516
516
|
return r !== r && (r = t), Ee(r);
|
|
@@ -524,33 +524,33 @@ var qe = { exports: {} };
|
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
function Q(a, t) {
|
|
527
|
-
N.call(this), t = t || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0,
|
|
527
|
+
N.call(this), t = t || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ge(this, a, t);
|
|
528
528
|
}
|
|
529
529
|
function Ue() {
|
|
530
530
|
return d != null && "withCredentials" in d.prototype || h == null ? new d() : new h();
|
|
531
531
|
}
|
|
532
532
|
var Pe = L != null && M != null && "body" in M.prototype;
|
|
533
|
-
function
|
|
533
|
+
function Ge(a, t, r) {
|
|
534
534
|
t = String(t);
|
|
535
|
-
var o = !!r.withCredentials, l = r.lastEventIdQueryParameterName || "lastEventId", u = Ee(1e3), y = Te(r.heartbeatTimeout, 45e3), m = "", w = u, S = !1, D = 0, b = r.headers || {}, I = r.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new
|
|
535
|
+
var o = !!r.withCredentials, l = r.lastEventIdQueryParameterName || "lastEventId", u = Ee(1e3), y = Te(r.heartbeatTimeout, 45e3), m = "", w = u, S = !1, D = 0, b = r.headers || {}, I = r.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new G(), Z = void 0, K = 0, te = Ae, Ce = "", ke = "", de = "", Fe = "", q = re, Xe = 0, be = 0, lt = function(z, H, $, ee) {
|
|
536
536
|
if (te === oe)
|
|
537
537
|
if (z === 200 && $ != null && Le.test($)) {
|
|
538
538
|
te = ve, S = Date.now(), w = u, a.readyState = ve;
|
|
539
|
-
var
|
|
539
|
+
var W = new se("open", {
|
|
540
540
|
status: z,
|
|
541
541
|
statusText: H,
|
|
542
542
|
headers: ee
|
|
543
543
|
});
|
|
544
|
-
a.dispatchEvent(
|
|
544
|
+
a.dispatchEvent(W), ye(a, a.onopen, W);
|
|
545
545
|
} else {
|
|
546
546
|
var U = "";
|
|
547
547
|
z !== 200 ? (H && (H = H.replace(/\s+/g, " ")), U = "EventSource's response has a status " + z + " " + H + " that is not 200. Aborting the connection.") : U = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
|
|
548
|
-
var
|
|
548
|
+
var W = new se("error", {
|
|
549
549
|
status: z,
|
|
550
550
|
statusText: H,
|
|
551
551
|
headers: ee
|
|
552
552
|
});
|
|
553
|
-
a.dispatchEvent(
|
|
553
|
+
a.dispatchEvent(W), ye(a, a.onerror, W), console.error(U);
|
|
554
554
|
}
|
|
555
555
|
}, ct = function(z) {
|
|
556
556
|
if (te === ve) {
|
|
@@ -558,22 +558,22 @@ var qe = { exports: {} };
|
|
|
558
558
|
var ee = z.charCodeAt($);
|
|
559
559
|
(ee === 10 || ee === 13) && (H = $);
|
|
560
560
|
}
|
|
561
|
-
var
|
|
561
|
+
var W = (H !== -1 ? Fe : "") + z.slice(0, H + 1);
|
|
562
562
|
Fe = (H === -1 ? Fe : "") + z.slice(H + 1), z !== "" && (S = Date.now(), D += z.length);
|
|
563
|
-
for (var U = 0; U <
|
|
564
|
-
var ee =
|
|
565
|
-
if (
|
|
566
|
-
|
|
567
|
-
else if (
|
|
568
|
-
if (
|
|
569
|
-
|
|
570
|
-
var ue =
|
|
563
|
+
for (var U = 0; U < W.length; U += 1) {
|
|
564
|
+
var ee = W.charCodeAt(U);
|
|
565
|
+
if (q === Be && ee === 10)
|
|
566
|
+
q = re;
|
|
567
|
+
else if (q === Be && (q = re), ee === 13 || ee === 10) {
|
|
568
|
+
if (q !== re) {
|
|
569
|
+
q === we && (be = U + 1);
|
|
570
|
+
var ue = W.slice(Xe, be - 1), fe = W.slice(be + (be < U && W.charCodeAt(be) === 32 ? 1 : 0), U);
|
|
571
571
|
ue === "data" ? (Ce += `
|
|
572
572
|
`, Ce += fe) : ue === "id" ? ke = fe : ue === "event" ? de = fe : ue === "retry" ? (u = Te(fe, u), w = u) : ue === "heartbeatTimeout" && (y = Te(fe, y), K !== 0 && (f(K), K = s(function() {
|
|
573
573
|
Me();
|
|
574
574
|
}, y)));
|
|
575
575
|
}
|
|
576
|
-
if (
|
|
576
|
+
if (q === re) {
|
|
577
577
|
if (Ce !== "") {
|
|
578
578
|
m = ke, de === "" && (de = "message");
|
|
579
579
|
var Se = new De(de, {
|
|
@@ -585,9 +585,9 @@ var qe = { exports: {} };
|
|
|
585
585
|
}
|
|
586
586
|
Ce = "", de = "";
|
|
587
587
|
}
|
|
588
|
-
|
|
588
|
+
q = ee === 13 ? Be : re;
|
|
589
589
|
} else
|
|
590
|
-
|
|
590
|
+
q === re && (Xe = U, q = we), q === we ? ee === 58 && (be = U + 1, q = Re) : q === Re && (q = je);
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
}, Je = function(z) {
|
|
@@ -614,7 +614,7 @@ var qe = { exports: {} };
|
|
|
614
614
|
}
|
|
615
615
|
S = !1, D = 0, K = s(function() {
|
|
616
616
|
Me();
|
|
617
|
-
}, y), te = oe, Ce = "", de = "", ke = m, Fe = "",
|
|
617
|
+
}, y), te = oe, Ce = "", de = "", ke = m, Fe = "", Xe = 0, be = 0, q = re;
|
|
618
618
|
var H = t;
|
|
619
619
|
if (t.slice(0, 5) !== "data:" && t.slice(0, 5) !== "blob:" && m !== "") {
|
|
620
620
|
var $ = t.indexOf("?");
|
|
@@ -622,14 +622,14 @@ var qe = { exports: {} };
|
|
|
622
622
|
return Se === l ? "" : fe;
|
|
623
623
|
}), H += (t.indexOf("?") === -1 ? "?" : "&") + l + "=" + encodeURIComponent(m);
|
|
624
624
|
}
|
|
625
|
-
var ee = a.withCredentials,
|
|
626
|
-
|
|
625
|
+
var ee = a.withCredentials, W = {};
|
|
626
|
+
W.Accept = "text/event-stream";
|
|
627
627
|
var U = a.headers;
|
|
628
628
|
if (U != null)
|
|
629
629
|
for (var ue in U)
|
|
630
|
-
Object.prototype.hasOwnProperty.call(U, ue) && (
|
|
630
|
+
Object.prototype.hasOwnProperty.call(U, ue) && (W[ue] = U[ue]);
|
|
631
631
|
try {
|
|
632
|
-
Z = xe.open(ce, lt, ct, Je, H, ee,
|
|
632
|
+
Z = xe.open(ce, lt, ct, Je, H, ee, W);
|
|
633
633
|
} catch (fe) {
|
|
634
634
|
throw Ke(), fe;
|
|
635
635
|
}
|
|
@@ -649,8 +649,8 @@ var qe = { exports: {} };
|
|
|
649
649
|
a.EventSourcePolyfill = Q, a.NativeEventSource = g, a.EventSource = Oe;
|
|
650
650
|
});
|
|
651
651
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ft : globalThis);
|
|
652
|
-
})(
|
|
653
|
-
var _t =
|
|
652
|
+
})(We, We.exports);
|
|
653
|
+
var _t = We.exports;
|
|
654
654
|
/*!
|
|
655
655
|
* currency.js - v2.0.4
|
|
656
656
|
* http://scurker.github.io/currency.js
|
|
@@ -793,7 +793,7 @@ ne.prototype = {
|
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
795
|
function Dt(i) {
|
|
796
|
-
|
|
796
|
+
gt(i, "svelte-1tsugyl", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
|
|
797
797
|
}
|
|
798
798
|
function et(i, e, n) {
|
|
799
799
|
const s = i.slice();
|
|
@@ -819,14 +819,14 @@ function Lt(i) {
|
|
|
819
819
|
);
|
|
820
820
|
return {
|
|
821
821
|
c() {
|
|
822
|
-
e = V("div"), n = V("p"), f =
|
|
822
|
+
e = V("div"), n = V("p"), f = he(s), d = ae(), h = he(
|
|
823
823
|
/*currency*/
|
|
824
824
|
i[5]
|
|
825
|
-
), p = ae(), g = V("span"), v = Qe("svg"), R = Qe("path"), M = ae(), B && B.c(), F =
|
|
825
|
+
), p = ae(), g = V("span"), v = Qe("svg"), R = Qe("path"), M = ae(), B && B.c(), F = bt(), _(R, "id", "arrow"), _(R, "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, "transform", "translate(-274.511 -441.088)"), _(R, "fill", "#d1d1d1"), _(v, "xmlns", "http://www.w3.org/2000/svg"), _(v, "width", "14"), _(v, "height", "6.835"), _(v, "viewBox", "0 0 14 6.835"), _(g, "class", L = /*modalOpened*/
|
|
826
826
|
i[3] ? "TriangleActive" : "TriangleInactive"), _(e, "class", "BalanceValue");
|
|
827
827
|
},
|
|
828
828
|
m(C, O) {
|
|
829
|
-
|
|
829
|
+
ge(C, e, O), T(e, n), T(n, f), T(n, d), T(n, h), T(e, p), T(e, g), T(g, v), T(v, R), ge(C, M, O), B && B.m(C, O), ge(C, F, O), E || (j = Ne(
|
|
830
830
|
e,
|
|
831
831
|
"click",
|
|
832
832
|
/*click_handler*/
|
|
@@ -842,8 +842,8 @@ function Lt(i) {
|
|
|
842
842
|
/*balances*/
|
|
843
843
|
C[1].Total[0].amount
|
|
844
844
|
)
|
|
845
|
-
) : "0") + "") &&
|
|
846
|
-
32 &&
|
|
845
|
+
) : "0") + "") && pe(f, s), O[0] & /*currency*/
|
|
846
|
+
32 && pe(
|
|
847
847
|
h,
|
|
848
848
|
/*currency*/
|
|
849
849
|
C[5]
|
|
@@ -853,7 +853,7 @@ function Lt(i) {
|
|
|
853
853
|
C[4] ? B ? B.p(C, O) : (B = nt(C), B.c(), B.m(F.parentNode, F)) : B && (B.d(1), B = null);
|
|
854
854
|
},
|
|
855
855
|
d(C) {
|
|
856
|
-
C && (
|
|
856
|
+
C && (me(e), me(M), me(F)), B && B.d(C), E = !1, j();
|
|
857
857
|
}
|
|
858
858
|
};
|
|
859
859
|
}
|
|
@@ -864,18 +864,18 @@ function Ot(i) {
|
|
|
864
864
|
), s;
|
|
865
865
|
return {
|
|
866
866
|
c() {
|
|
867
|
-
e = V("p"), s =
|
|
867
|
+
e = V("p"), s = he(n), _(e, "class", "Loading");
|
|
868
868
|
},
|
|
869
869
|
m(f, d) {
|
|
870
|
-
|
|
870
|
+
ge(f, e, d), T(e, s);
|
|
871
871
|
},
|
|
872
872
|
p(f, d) {
|
|
873
873
|
d[0] & /*$_*/
|
|
874
874
|
64 && n !== (n = /*$_*/
|
|
875
|
-
f[6]("Loading") + "") &&
|
|
875
|
+
f[6]("Loading") + "") && pe(s, n);
|
|
876
876
|
},
|
|
877
877
|
d(f) {
|
|
878
|
-
f &&
|
|
878
|
+
f && me(e);
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
881
|
}
|
|
@@ -886,25 +886,25 @@ function nt(i) {
|
|
|
886
886
|
), R, L, M, F, E, j, B = (
|
|
887
887
|
/*$_*/
|
|
888
888
|
i[6]("DepositButton") + ""
|
|
889
|
-
), C, O, k, P, J, ie,
|
|
889
|
+
), C, O, k, P, J, ie, G = Ve(Object.keys(
|
|
890
890
|
/*balances*/
|
|
891
891
|
i[1]
|
|
892
892
|
)), x = [];
|
|
893
|
-
for (let A = 0; A <
|
|
894
|
-
x[A] = ot(et(i,
|
|
893
|
+
for (let A = 0; A < G.length; A += 1)
|
|
894
|
+
x[A] = ot(et(i, G, A));
|
|
895
895
|
return {
|
|
896
896
|
c() {
|
|
897
|
-
e = V("div"), n = V("div"), f = ae(), d = V("div"), h = V("div"), p = V("div"), g = V("p"), R =
|
|
897
|
+
e = V("div"), n = V("div"), f = ae(), d = V("div"), h = V("div"), p = V("div"), g = V("p"), R = he(v), L = ae(), M = V("div");
|
|
898
898
|
for (let A = 0; A < x.length; A += 1)
|
|
899
899
|
x[A].c();
|
|
900
|
-
F = ae(), E = V("div"), j = V("button"), C =
|
|
900
|
+
F = ae(), E = V("div"), j = V("button"), C = he(B), _(n, "class", s = "BalanceModalClose " + /*modalOpened*/
|
|
901
901
|
(i[3] ? "Open" : "")), _(g, "class", "BalanceModalTitle"), _(p, "class", "BalanceModalHeader"), _(M, "class", "BalanceModalBody"), _(j, "class", "BalanceModalAction"), _(E, "class", "BalanceModalFooter"), _(h, "class", O = "ModalContent " + /*modalOpened*/
|
|
902
902
|
(i[3] ? "Open" : "")), _(d, "class", k = "BalanceModal " + /*modalOpened*/
|
|
903
903
|
(i[3] ? "Open" : "")), _(e, "class", P = "BalanceModalWrapper " + /*modalOpened*/
|
|
904
904
|
(i[3] ? "Open" : ""));
|
|
905
905
|
},
|
|
906
906
|
m(A, N) {
|
|
907
|
-
|
|
907
|
+
ge(A, e, N), T(e, n), T(e, f), T(e, d), T(d, h), T(h, p), T(p, g), T(g, R), T(h, L), T(h, M);
|
|
908
908
|
for (let c = 0; c < x.length; c += 1)
|
|
909
909
|
x[c] && x[c].m(M, null);
|
|
910
910
|
T(h, F), T(h, E), T(E, j), T(j, C), J || (ie = [
|
|
@@ -927,24 +927,24 @@ function nt(i) {
|
|
|
927
927
|
8 && s !== (s = "BalanceModalClose " + /*modalOpened*/
|
|
928
928
|
(A[3] ? "Open" : "")) && _(n, "class", s), N[0] & /*$_*/
|
|
929
929
|
64 && v !== (v = /*$_*/
|
|
930
|
-
A[6]("Title") + "") &&
|
|
930
|
+
A[6]("Title") + "") && pe(R, v), N[0] & /*balances, currency, formatBalance, $_*/
|
|
931
931
|
354) {
|
|
932
|
-
|
|
932
|
+
G = Ve(Object.keys(
|
|
933
933
|
/*balances*/
|
|
934
934
|
A[1]
|
|
935
935
|
));
|
|
936
936
|
let c;
|
|
937
|
-
for (c = 0; c <
|
|
938
|
-
const
|
|
939
|
-
x[c] ? x[c].p(
|
|
937
|
+
for (c = 0; c < G.length; c += 1) {
|
|
938
|
+
const X = et(A, G, c);
|
|
939
|
+
x[c] ? x[c].p(X, N) : (x[c] = ot(X), x[c].c(), x[c].m(M, null));
|
|
940
940
|
}
|
|
941
941
|
for (; c < x.length; c += 1)
|
|
942
942
|
x[c].d(1);
|
|
943
|
-
x.length =
|
|
943
|
+
x.length = G.length;
|
|
944
944
|
}
|
|
945
945
|
N[0] & /*$_*/
|
|
946
946
|
64 && B !== (B = /*$_*/
|
|
947
|
-
A[6]("DepositButton") + "") &&
|
|
947
|
+
A[6]("DepositButton") + "") && pe(C, B), N[0] & /*modalOpened*/
|
|
948
948
|
8 && O !== (O = "ModalContent " + /*modalOpened*/
|
|
949
949
|
(A[3] ? "Open" : "")) && _(h, "class", O), N[0] & /*modalOpened*/
|
|
950
950
|
8 && k !== (k = "BalanceModal " + /*modalOpened*/
|
|
@@ -953,7 +953,7 @@ function nt(i) {
|
|
|
953
953
|
(A[3] ? "Open" : "")) && _(e, "class", P);
|
|
954
954
|
},
|
|
955
955
|
d(A) {
|
|
956
|
-
A &&
|
|
956
|
+
A && me(e), it(x, A), J = !1, Bt(ie);
|
|
957
957
|
}
|
|
958
958
|
};
|
|
959
959
|
}
|
|
@@ -985,13 +985,13 @@ function at(i) {
|
|
|
985
985
|
), M, F, E, j;
|
|
986
986
|
return {
|
|
987
987
|
c() {
|
|
988
|
-
e = V("div"), n = V("p"), f =
|
|
988
|
+
e = V("div"), n = V("p"), f = he(s), d = ae(), p = he(h), g = ae(), v = V("p"), R = V("span"), M = he(L), F = ae(), E = V("span"), j = he(
|
|
989
989
|
/*currency*/
|
|
990
990
|
i[5]
|
|
991
991
|
), _(n, "class", "BalanceModalText"), _(R, "class", "BalanceModalAmount"), _(E, "class", "BalanceModalCurrency"), _(v, "class", "BalanceModalValue"), _(e, "class", "BalanceModalRowLine");
|
|
992
992
|
},
|
|
993
993
|
m(B, C) {
|
|
994
|
-
|
|
994
|
+
ge(B, e, C), T(e, n), T(n, f), T(n, d), T(n, p), T(e, g), T(e, v), T(v, R), T(R, M), T(v, F), T(v, E), T(E, j);
|
|
995
995
|
},
|
|
996
996
|
p(B, C) {
|
|
997
997
|
C[0] & /*$_, balances*/
|
|
@@ -999,7 +999,7 @@ function at(i) {
|
|
|
999
999
|
B[6](
|
|
1000
1000
|
/*k*/
|
|
1001
1001
|
B[50]
|
|
1002
|
-
) + "") &&
|
|
1002
|
+
) + "") && pe(f, s), C[0] & /*balances, $_*/
|
|
1003
1003
|
66 && h !== (h = /*b*/
|
|
1004
1004
|
(B[53].productType ? (
|
|
1005
1005
|
/*$_*/
|
|
@@ -1007,7 +1007,7 @@ function at(i) {
|
|
|
1007
1007
|
/*b*/
|
|
1008
1008
|
B[53].productType
|
|
1009
1009
|
)
|
|
1010
|
-
) : "") + "") &&
|
|
1010
|
+
) : "") + "") && pe(p, h), C[0] & /*balances*/
|
|
1011
1011
|
2 && L !== (L = /*b*/
|
|
1012
1012
|
(B[53].amount ? (
|
|
1013
1013
|
/*formatBalance*/
|
|
@@ -1015,15 +1015,15 @@ function at(i) {
|
|
|
1015
1015
|
/*b*/
|
|
1016
1016
|
B[53].amount
|
|
1017
1017
|
)
|
|
1018
|
-
) : "0") + "") &&
|
|
1019
|
-
32 &&
|
|
1018
|
+
) : "0") + "") && pe(M, L), C[0] & /*currency*/
|
|
1019
|
+
32 && pe(
|
|
1020
1020
|
j,
|
|
1021
1021
|
/*currency*/
|
|
1022
1022
|
B[5]
|
|
1023
1023
|
);
|
|
1024
1024
|
},
|
|
1025
1025
|
d(B) {
|
|
1026
|
-
B &&
|
|
1026
|
+
B && me(e);
|
|
1027
1027
|
}
|
|
1028
1028
|
};
|
|
1029
1029
|
}
|
|
@@ -1045,7 +1045,7 @@ function ot(i) {
|
|
|
1045
1045
|
n = ae(), _(e, "class", "BalanceModalRowBoth");
|
|
1046
1046
|
},
|
|
1047
1047
|
m(d, h) {
|
|
1048
|
-
|
|
1048
|
+
ge(d, e, h);
|
|
1049
1049
|
for (let p = 0; p < f.length; p += 1)
|
|
1050
1050
|
f[p] && f[p].m(e, null);
|
|
1051
1051
|
T(e, n);
|
|
@@ -1071,7 +1071,7 @@ function ot(i) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
},
|
|
1073
1073
|
d(d) {
|
|
1074
|
-
d &&
|
|
1074
|
+
d && me(e), it(f, d);
|
|
1075
1075
|
}
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
@@ -1082,16 +1082,16 @@ function rt(i) {
|
|
|
1082
1082
|
e = V("div"), _(e, "class", "ShowBalanceModalOverlay");
|
|
1083
1083
|
},
|
|
1084
1084
|
m(f, d) {
|
|
1085
|
-
|
|
1085
|
+
ge(f, e, d), n || (s = Ne(
|
|
1086
1086
|
e,
|
|
1087
1087
|
"click",
|
|
1088
1088
|
/*click_handler_3*/
|
|
1089
1089
|
i[27]
|
|
1090
1090
|
), n = !0);
|
|
1091
1091
|
},
|
|
1092
|
-
p:
|
|
1092
|
+
p: qe,
|
|
1093
1093
|
d(f) {
|
|
1094
|
-
f &&
|
|
1094
|
+
f && me(e), n = !1, s();
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
@@ -1112,24 +1112,24 @@ function kt(i) {
|
|
|
1112
1112
|
e = V("div"), n = V("div"), h.c(), s = ae(), p && p.c(), _(n, "class", "ShowBalance");
|
|
1113
1113
|
},
|
|
1114
1114
|
m(g, v) {
|
|
1115
|
-
|
|
1115
|
+
ge(g, e, v), T(e, n), h.m(n, null), T(e, s), p && p.m(e, null), i[28](e);
|
|
1116
1116
|
},
|
|
1117
1117
|
p(g, v) {
|
|
1118
1118
|
d === (d = f(g)) && h ? h.p(g, v) : (h.d(1), h = d(g), h && (h.c(), h.m(n, null))), /*showBalance*/
|
|
1119
1119
|
g[4] ? p ? p.p(g, v) : (p = rt(g), p.c(), p.m(e, null)) : p && (p.d(1), p = null);
|
|
1120
1120
|
},
|
|
1121
|
-
i:
|
|
1122
|
-
o:
|
|
1121
|
+
i: qe,
|
|
1122
|
+
o: qe,
|
|
1123
1123
|
d(g) {
|
|
1124
|
-
g &&
|
|
1124
|
+
g && me(e), h.d(), p && p.d(), i[28](null);
|
|
1125
1125
|
}
|
|
1126
1126
|
};
|
|
1127
1127
|
}
|
|
1128
1128
|
function Ft(i, e, n) {
|
|
1129
1129
|
let s;
|
|
1130
|
-
|
|
1131
|
-
let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: h = "" } = e, { lang: p = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: C = "" } = e, O, k, P, J, ie = !1,
|
|
1132
|
-
const c = {},
|
|
1130
|
+
vt(i, Ct, (t) => n(6, s = t));
|
|
1131
|
+
let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: h = "" } = e, { lang: p = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: C = "" } = e, O, k, P, J, ie = !1, G = "", x = [], A, N = !1;
|
|
1132
|
+
const c = {}, X = ["totalCashAmount", "totalRealAmount"], De = () => {
|
|
1133
1133
|
fetch(R).then((t) => t.json()).then((t) => Object.keys(t).forEach((r) => Ze(r, t[r]))).catch((t) => console.log(t));
|
|
1134
1134
|
};
|
|
1135
1135
|
Object.keys($e).forEach((t) => Ze(t, $e[t]));
|
|
@@ -1181,7 +1181,7 @@ function Ft(i, e, n) {
|
|
|
1181
1181
|
headers: { "X-SessionID": d }
|
|
1182
1182
|
}), o = await r.json();
|
|
1183
1183
|
if (r.ok)
|
|
1184
|
-
window.postMessage({ type: "BalancedFetched" }, window.location.href), x = o.items, n(5,
|
|
1184
|
+
window.postMessage({ type: "BalancedFetched" }, window.location.href), x = o.items, n(5, G = x.find((l) => l.displayName === "Casino")?.currency), n(1, c.Total = [{ amount: o.totalAmount[G] }], c), n(
|
|
1185
1185
|
1,
|
|
1186
1186
|
c.Real = [
|
|
1187
1187
|
{
|
|
@@ -1209,13 +1209,13 @@ function Ft(i, e, n) {
|
|
|
1209
1209
|
n(2, O = !0);
|
|
1210
1210
|
const t = new URL(`${h}/v2/player/${f}/balance`), r = new Headers();
|
|
1211
1211
|
r.append("X-SessionID", d), fetch(t, { method: "GET", headers: r }).then((l) => l.json()).then((l) => {
|
|
1212
|
-
l[E] || n(10, E =
|
|
1212
|
+
l[E] || n(10, E = X[0]);
|
|
1213
1213
|
const u = l.items.find((m) => m.type === "Real" && m.walletAccountType === "Ordinary");
|
|
1214
|
-
if (n(5,
|
|
1214
|
+
if (n(5, G = u.currency), N = !!u.productType, n(1, c.Total = [{ amount: 0 }], c), n(1, c.Real = [], c), n(1, c.Bonus = [], c), n(1, c.Credit = [], c), !N) {
|
|
1215
1215
|
A = {
|
|
1216
1216
|
lastOrdinaryAfterAmount: 0,
|
|
1217
1217
|
showCreditLineAfterAmount: !1
|
|
1218
|
-
}, n(1, c.Total[0].amount = l[E][
|
|
1218
|
+
}, n(1, c.Total[0].amount = l[E][G], c);
|
|
1219
1219
|
for (const m of l.items)
|
|
1220
1220
|
switch (m.type) {
|
|
1221
1221
|
case "Bonus":
|
|
@@ -1358,7 +1358,7 @@ function Ft(i, e, n) {
|
|
|
1358
1358
|
}, Le = () => {
|
|
1359
1359
|
se("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
|
1360
1360
|
}, He = () => {
|
|
1361
|
-
|
|
1361
|
+
X.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${X}. Using default value ('${X[0]}').`), n(10, E = X[0]));
|
|
1362
1362
|
}, ze = () => {
|
|
1363
1363
|
switch (St(p), He(), M) {
|
|
1364
1364
|
case "gmcore":
|
|
@@ -1386,12 +1386,12 @@ function Ft(i, e, n) {
|
|
|
1386
1386
|
}, Q = () => {
|
|
1387
1387
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1388
1388
|
};
|
|
1389
|
-
|
|
1389
|
+
yt(() => (window.addEventListener("message", Te, !1), () => {
|
|
1390
1390
|
window.removeEventListener("message", Te), J && J.close();
|
|
1391
1391
|
}));
|
|
1392
|
-
const Ue = () => se("balance"), Pe = () => se("closebalance"),
|
|
1392
|
+
const Ue = () => se("balance"), Pe = () => se("closebalance"), Ge = () => Le(), Oe = () => se("closeBalance");
|
|
1393
1393
|
function a(t) {
|
|
1394
|
-
|
|
1394
|
+
wt[t ? "unshift" : "push"](() => {
|
|
1395
1395
|
k = t, n(0, k);
|
|
1396
1396
|
});
|
|
1397
1397
|
}
|
|
@@ -1412,7 +1412,7 @@ function Ft(i, e, n) {
|
|
|
1412
1412
|
O,
|
|
1413
1413
|
P,
|
|
1414
1414
|
ie,
|
|
1415
|
-
|
|
1415
|
+
G,
|
|
1416
1416
|
s,
|
|
1417
1417
|
se,
|
|
1418
1418
|
Ae,
|
|
@@ -1433,7 +1433,7 @@ function Ft(i, e, n) {
|
|
|
1433
1433
|
C,
|
|
1434
1434
|
Ue,
|
|
1435
1435
|
Pe,
|
|
1436
|
-
|
|
1436
|
+
Ge,
|
|
1437
1437
|
Oe,
|
|
1438
1438
|
a
|
|
1439
1439
|
];
|
|
@@ -1445,7 +1445,7 @@ class It extends pt {
|
|
|
1445
1445
|
e,
|
|
1446
1446
|
Ft,
|
|
1447
1447
|
kt,
|
|
1448
|
-
|
|
1448
|
+
mt,
|
|
1449
1449
|
{
|
|
1450
1450
|
userid: 11,
|
|
1451
1451
|
session: 12,
|
|
@@ -1551,7 +1551,7 @@ class It extends pt {
|
|
|
1551
1551
|
this.$$set({ currencyprecision: e }), Y();
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
|
-
|
|
1554
|
+
Tt(It, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
|
|
1555
1555
|
export {
|
|
1556
1556
|
It as default
|
|
1557
1557
|
};
|