@everymatrix/casino-header-controller-nd 1.65.1 → 1.65.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-CZ6VNaW1.cjs +18 -0
- package/components/{CasinoHamburgerMenuNd-kNSb5kzp.js → CasinoHamburgerMenuNd-D_l-_9wt.js} +1025 -1060
- package/components/{CasinoHamburgerMenuNd-CRHTyzLa.js → CasinoHamburgerMenuNd-GN2-xEq0.js} +1034 -1069
- package/components/{CasinoHeaderControllerNd-WEq7tT9f.cjs → CasinoHeaderControllerNd-BWmryDnI.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-CyoAz7Qo.js → CasinoHeaderControllerNd-CB12swSz.js} +90 -90
- package/components/{CasinoHeaderControllerNd-DzJg_p4v.js → CasinoHeaderControllerNd-aeo9h9EF.js} +88 -88
- package/components/{PlayerAccountBalanceModalNd-D5LR7cHC.js → PlayerAccountBalanceModalNd-BN47kJKM.js} +122 -122
- package/components/{PlayerAccountBalanceModalNd-CKkqacyC.cjs → PlayerAccountBalanceModalNd-BNusvanr.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-C_-z_ILo.js → PlayerAccountBalanceModalNd-CqWCOtxL.js} +122 -122
- package/components/{PlayerDeposit-8bunmKNP.js → PlayerDeposit-CH6X2HzT.js} +43 -43
- package/components/{PlayerDeposit-OEh7dNO5.cjs → PlayerDeposit-DP4_U-Vn.cjs} +1 -1
- package/components/{PlayerDeposit-CGZwpLsA.js → PlayerDeposit-nAWT6R27.js} +43 -43
- 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/package.json +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-Dpy7kYRl.js → gamification-dropdown-8eb8a896-B1IK7mlM.js} +7 -7
- package/stencil/{gamification-dropdown-8eb8a896-wUq7QkNM.cjs → gamification-dropdown-8eb8a896-C94_wdAW.cjs} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-B80HjrXs.js → gamification-dropdown-8eb8a896-D5R5F9LE.js} +3 -3
- package/stencil/{gamification-dropdown-N2ywJkem.js → gamification-dropdown-BraOg6Uc.js} +1 -1
- package/stencil/{gamification-dropdown-DkDy6E4e.cjs → gamification-dropdown-CrMpkB52.cjs} +1 -1
- package/stencil/{gamification-dropdown-DJjY7-I6.js → gamification-dropdown-DrIchqVb.js} +1 -1
- package/stencil/{gamification-dropdown_4-CmDM3hBS.js → gamification-dropdown_4-CK6IolmG.js} +59 -56
- package/stencil/{gamification-dropdown_4-CcWOoutw.js → gamification-dropdown_4-Cl5eOIaD.js} +58 -55
- package/stencil/gamification-dropdown_4-DKpiKr-s.cjs +192 -0
- package/stencil/index-71b1bdfa-CaHfgY-G.cjs +1 -0
- package/stencil/{index-71b1bdfa-DBUT8z-D.js → index-71b1bdfa-DTrMzwed.js} +235 -235
- package/stencil/{index-71b1bdfa-BWeAgaw2.js → index-71b1bdfa-ZRt5ReAy.js} +226 -226
- package/stencil/locale-B_6Rn5-v.cjs +1 -0
- package/stencil/{locale-DuSXBQwH.js → locale-TxlOHoKi.js} +11 -5
- package/stencil/{player-elevate-card-DqZR4w--.js → player-elevate-card-AM1BCXua.js} +3 -3
- package/stencil/{player-elevate-card-B70rn287.js → player-elevate-card-CWt6FvdJ.js} +3 -3
- package/stencil/{player-elevate-card-W6LcGGe8.cjs → player-elevate-card-TfRVu77N.cjs} +1 -1
- package/stencil/player-elevate-card-items-5071deed-AlJJIZWb.js +1393 -0
- package/stencil/player-elevate-card-items-5071deed-B3nmpFdz.js +1393 -0
- package/stencil/player-elevate-card-items-5071deed-BJ_oxWgG.cjs +102 -0
- package/stencil/{player-elevate-pointcard-CBapQeNI.js → player-elevate-pointcard-CHncK0Ig.js} +3 -3
- package/stencil/{player-elevate-pointcard-DREgIjCm.js → player-elevate-pointcard-Ckg55VX8.js} +3 -3
- package/stencil/{player-elevate-pointcard-DwDhlXwq.cjs → player-elevate-pointcard-D2BXgs9M.cjs} +1 -1
- package/stencil/{player-rakeback-card-tP823Fs8.js → player-rakeback-card-CYg1vJa6.js} +2 -2
- package/stencil/{player-rakeback-card-B0P7gHIA.cjs → player-rakeback-card-Di0yfbE9.cjs} +1 -1
- package/stencil/{player-rakeback-card-z_ugBu0q.js → player-rakeback-card-DieV8mJW.js} +2 -2
- package/components/CasinoHamburgerMenuNd-BMOc3TVZ.cjs +0 -18
- package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +0 -192
- package/stencil/index-71b1bdfa-BeszNvNP.cjs +0 -1
- package/stencil/locale-DHn5ZpQu.cjs +0 -1
- package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +0 -1290
- package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +0 -1
- package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +0 -1290
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as ut, $ as dt, N as ft, S as pt, i as ht,
|
|
1
|
+
import { b as ut, $ as dt, N as ft, S as pt, i as ht, f as q, c as gt, s as mt, d as yt, g as j, h as oe, j as C, l as pe, m as B, D as We, r as he, v as vt, w as wt, n as Ve, F as bt, G as Bt, H as Tt, I as St, B as de, z as Qe, x as Ct, C as fe, y as je, A as it, K as _t, L as At } from "./CasinoHamburgerMenuNd-GN2-xEq0.js";
|
|
2
2
|
function Ze(r, t) {
|
|
3
3
|
ut(r, t);
|
|
4
4
|
}
|
|
@@ -205,7 +205,7 @@ const $e = {
|
|
|
205
205
|
Loading: "Loading ..."
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
|
-
var
|
|
208
|
+
var qe = { exports: {} };
|
|
209
209
|
/** @license
|
|
210
210
|
* eventsource.js
|
|
211
211
|
* Available under MIT License (MIT)
|
|
@@ -254,20 +254,20 @@ var We = { exports: {} };
|
|
|
254
254
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
255
255
|
}
|
|
256
256
|
T.prototype.decode = function(e) {
|
|
257
|
-
function o(R,
|
|
257
|
+
function o(R, M, v) {
|
|
258
258
|
if (v === 1)
|
|
259
|
-
return R >= 128 >>
|
|
259
|
+
return R >= 128 >> M && R << M <= 2047;
|
|
260
260
|
if (v === 2)
|
|
261
|
-
return R >= 2048 >>
|
|
261
|
+
return R >= 2048 >> M && R << M <= 55295 || R >= 57344 >> M && R << M <= 65535;
|
|
262
262
|
if (v === 3)
|
|
263
|
-
return R >= 65536 >>
|
|
263
|
+
return R >= 65536 >> M && R << M <= 1114111;
|
|
264
264
|
throw new Error();
|
|
265
265
|
}
|
|
266
|
-
function s(R,
|
|
266
|
+
function s(R, M) {
|
|
267
267
|
if (R === 6 * 1)
|
|
268
|
-
return
|
|
268
|
+
return M >> 6 > 15 ? 3 : M > 31 ? 2 : 1;
|
|
269
269
|
if (R === 6 * 2)
|
|
270
|
-
return
|
|
270
|
+
return M > 15 ? 3 : 2;
|
|
271
271
|
if (R === 6 * 3)
|
|
272
272
|
return 3;
|
|
273
273
|
throw new Error();
|
|
@@ -337,9 +337,9 @@ var We = { exports: {} };
|
|
|
337
337
|
}
|
|
338
338
|
}, R = function(v) {
|
|
339
339
|
a != null && (a.readyState === 4 ? (!("onload" in a) || !("onerror" in a) || !("onabort" in a)) && b(a.responseText === "" ? "error" : "load", v) : a.readyState === 3 ? "onprogress" in a || S() : a.readyState === 2 && d());
|
|
340
|
-
},
|
|
340
|
+
}, M = function() {
|
|
341
341
|
h = i(function() {
|
|
342
|
-
|
|
342
|
+
M();
|
|
343
343
|
}, 500), a.readyState === 3 && S();
|
|
344
344
|
};
|
|
345
345
|
"onload" in a && (a.onload = function(v) {
|
|
@@ -351,7 +351,7 @@ var We = { exports: {} };
|
|
|
351
351
|
}), "onprogress" in a && (a.onprogress = S), "onreadystatechange" in a && (a.onreadystatechange = function(v) {
|
|
352
352
|
R(v);
|
|
353
353
|
}), ("contentType" in a || !("ontimeout" in l.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), a.open(e, o, !0), "readyState" in a && (h = i(function() {
|
|
354
|
-
|
|
354
|
+
M();
|
|
355
355
|
}, 0));
|
|
356
356
|
}, z.prototype.abort = function() {
|
|
357
357
|
this._abort(!1);
|
|
@@ -400,8 +400,8 @@ var We = { exports: {} };
|
|
|
400
400
|
e.open("GET", f);
|
|
401
401
|
var S = 0;
|
|
402
402
|
e.onprogress = function() {
|
|
403
|
-
var R = e.responseText,
|
|
404
|
-
S +=
|
|
403
|
+
var R = e.responseText, M = R.slice(S);
|
|
404
|
+
S += M.length, s(M);
|
|
405
405
|
}, e.onerror = function(R) {
|
|
406
406
|
R.preventDefault(), a(new Error("NetworkError"));
|
|
407
407
|
}, e.onload = function() {
|
|
@@ -410,8 +410,8 @@ var We = { exports: {} };
|
|
|
410
410
|
a(null);
|
|
411
411
|
}, e.onreadystatechange = function() {
|
|
412
412
|
if (e.readyState === l.HEADERS_RECEIVED) {
|
|
413
|
-
var R = e.status,
|
|
414
|
-
o(R,
|
|
413
|
+
var R = e.status, M = e.statusText, v = e.getResponseHeader("Content-Type"), V = e.getAllResponseHeaders();
|
|
414
|
+
o(R, M, v, new ee(V));
|
|
415
415
|
}
|
|
416
416
|
}, e.withCredentials = h;
|
|
417
417
|
for (var b in d)
|
|
@@ -427,7 +427,7 @@ var We = { exports: {} };
|
|
|
427
427
|
function _() {
|
|
428
428
|
}
|
|
429
429
|
_.prototype.open = function(e, o, s, a, f, h, d) {
|
|
430
|
-
var S = null, b = new E(), R = b.signal,
|
|
430
|
+
var S = null, b = new E(), R = b.signal, M = new I();
|
|
431
431
|
return k(f, {
|
|
432
432
|
headers: d,
|
|
433
433
|
credentials: h ? "include" : "same-origin",
|
|
@@ -435,19 +435,19 @@ var We = { exports: {} };
|
|
|
435
435
|
cache: "no-store"
|
|
436
436
|
}).then(function(v) {
|
|
437
437
|
return S = v.body.getReader(), o(v.status, v.statusText, v.headers.get("Content-Type"), new L(v.headers)), new A(function(V, se) {
|
|
438
|
-
var
|
|
438
|
+
var De = function() {
|
|
439
439
|
S.read().then(function(Q) {
|
|
440
440
|
if (Q.done)
|
|
441
441
|
V(void 0);
|
|
442
442
|
else {
|
|
443
|
-
var X =
|
|
444
|
-
s(X),
|
|
443
|
+
var X = M.decode(Q.value, { stream: !0 });
|
|
444
|
+
s(X), De();
|
|
445
445
|
}
|
|
446
446
|
}).catch(function(Q) {
|
|
447
447
|
se(Q);
|
|
448
448
|
});
|
|
449
449
|
};
|
|
450
|
-
|
|
450
|
+
De();
|
|
451
451
|
});
|
|
452
452
|
}).catch(function(v) {
|
|
453
453
|
if (v.name !== "AbortError")
|
|
@@ -463,7 +463,7 @@ var We = { exports: {} };
|
|
|
463
463
|
function O() {
|
|
464
464
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function D(e) {
|
|
467
467
|
i(function() {
|
|
468
468
|
throw e;
|
|
469
469
|
}, 0);
|
|
@@ -477,7 +477,7 @@ var We = { exports: {} };
|
|
|
477
477
|
try {
|
|
478
478
|
typeof f.handleEvent == "function" ? f.handleEvent(e) : f.call(this, e);
|
|
479
479
|
} catch (h) {
|
|
480
|
-
|
|
480
|
+
D(h);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
}, O.prototype.addEventListener = function(e, o) {
|
|
@@ -520,7 +520,7 @@ var We = { exports: {} };
|
|
|
520
520
|
try {
|
|
521
521
|
typeof o == "function" && o.call(e, s);
|
|
522
522
|
} catch (a) {
|
|
523
|
-
|
|
523
|
+
D(a);
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
function J(e, o) {
|
|
@@ -532,25 +532,25 @@ var We = { exports: {} };
|
|
|
532
532
|
var Pe = k != null && F != null && "body" in F.prototype;
|
|
533
533
|
function Ge(e, o, s) {
|
|
534
534
|
o = String(o);
|
|
535
|
-
var a = !!s.withCredentials, f = s.lastEventIdQueryParameterName || "lastEventId", h = Ce(1e3), d = xe(s.heartbeatTimeout, 45e3), S = "", b = h, R = !1,
|
|
535
|
+
var a = !!s.withCredentials, f = s.lastEventIdQueryParameterName || "lastEventId", h = Ce(1e3), d = xe(s.heartbeatTimeout, 45e3), S = "", b = h, R = !1, M = 0, v = s.headers || {}, V = s.Transport, se = Pe && V == null ? void 0 : new z(V != null ? new V() : Ue()), De = V != null && typeof V != "string" ? new V() : se == null ? new _() : new Y(), Q = void 0, X = 0, ne = Te, _e = "", Fe = "", le = "", Ie = "", K = te, Xe = 0, Be = 0, lt = function(P, U, Z, $) {
|
|
536
536
|
if (ne === ie)
|
|
537
537
|
if (P === 200 && Z != null && He.test(Z)) {
|
|
538
538
|
ne = ye, R = Date.now(), b = h, e.readyState = ye;
|
|
539
|
-
var
|
|
539
|
+
var W = new Re("open", {
|
|
540
540
|
status: P,
|
|
541
541
|
statusText: U,
|
|
542
542
|
headers: $
|
|
543
543
|
});
|
|
544
|
-
e.dispatchEvent(
|
|
544
|
+
e.dispatchEvent(W), ve(e, e.onopen, W);
|
|
545
545
|
} else {
|
|
546
546
|
var G = "";
|
|
547
547
|
P !== 200 ? (U && (U = U.replace(/\s+/g, " ")), G = "EventSource's response has a status " + P + " " + U + " that is not 200. Aborting the connection.") : G = "EventSource's response has a Content-Type specifying an unsupported type: " + (Z == null ? "-" : Z.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
|
|
548
|
-
var
|
|
548
|
+
var W = new Re("error", {
|
|
549
549
|
status: P,
|
|
550
550
|
statusText: U,
|
|
551
551
|
headers: $
|
|
552
552
|
});
|
|
553
|
-
e.dispatchEvent(
|
|
553
|
+
e.dispatchEvent(W), ve(e, e.onerror, W), console.error(G);
|
|
554
554
|
}
|
|
555
555
|
}, ct = function(P) {
|
|
556
556
|
if (ne === ye) {
|
|
@@ -558,19 +558,19 @@ var We = { exports: {} };
|
|
|
558
558
|
var $ = P.charCodeAt(Z);
|
|
559
559
|
($ === 10 || $ === 13) && (U = Z);
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
Ie = (U === -1 ? Ie : "") + P.slice(U + 1), P !== "" && (R = Date.now(),
|
|
563
|
-
for (var G = 0; G <
|
|
564
|
-
var $ =
|
|
561
|
+
var W = (U !== -1 ? Ie : "") + P.slice(0, U + 1);
|
|
562
|
+
Ie = (U === -1 ? Ie : "") + P.slice(U + 1), P !== "" && (R = Date.now(), M += P.length);
|
|
563
|
+
for (var G = 0; G < W.length; G += 1) {
|
|
564
|
+
var $ = W.charCodeAt(G);
|
|
565
565
|
if (K === be && $ === 10)
|
|
566
566
|
K = te;
|
|
567
567
|
else if (K === be && (K = te), $ === 13 || $ === 10) {
|
|
568
568
|
if (K !== te) {
|
|
569
569
|
K === Ee && (Be = G + 1);
|
|
570
|
-
var ce =
|
|
570
|
+
var ce = W.slice(Xe, Be - 1), ue = W.slice(Be + (Be < G && W.charCodeAt(Be) === 32 ? 1 : 0), G);
|
|
571
571
|
ce === "data" ? (_e += `
|
|
572
572
|
`, _e += ue) : ce === "id" ? Fe = ue : ce === "event" ? le = ue : ce === "retry" ? (h = xe(ue, h), b = h) : ce === "heartbeatTimeout" && (d = xe(ue, d), X !== 0 && (c(X), X = i(function() {
|
|
573
|
-
|
|
573
|
+
Me();
|
|
574
574
|
}, d)));
|
|
575
575
|
}
|
|
576
576
|
if (K === te) {
|
|
@@ -593,27 +593,27 @@ var We = { exports: {} };
|
|
|
593
593
|
}, Je = function(P) {
|
|
594
594
|
if (ne === ye || ne === ie) {
|
|
595
595
|
ne = Te, X !== 0 && (c(X), X = 0), X = i(function() {
|
|
596
|
-
|
|
596
|
+
Me();
|
|
597
597
|
}, b), b = Ce(Math.min(h * 16, b * 2)), e.readyState = ie;
|
|
598
598
|
var U = new me("error", { error: P });
|
|
599
599
|
e.dispatchEvent(U), ve(e, e.onerror, U), P != null && console.error(P);
|
|
600
600
|
}
|
|
601
601
|
}, Ke = function() {
|
|
602
602
|
ne = we, Q != null && (Q.abort(), Q = void 0), X !== 0 && (c(X), X = 0), e.readyState = we;
|
|
603
|
-
},
|
|
603
|
+
}, Me = function() {
|
|
604
604
|
if (X = 0, ne !== Te) {
|
|
605
605
|
if (!R && Q != null)
|
|
606
|
-
Je(new Error("No activity within " + d + " milliseconds. " + (ne === ie ? "No response received." :
|
|
606
|
+
Je(new Error("No activity within " + d + " milliseconds. " + (ne === ie ? "No response received." : M + " chars received.") + " Reconnecting.")), Q != null && (Q.abort(), Q = void 0);
|
|
607
607
|
else {
|
|
608
608
|
var P = Math.max((R || Date.now()) + d - Date.now(), 1);
|
|
609
609
|
R = !1, X = i(function() {
|
|
610
|
-
|
|
610
|
+
Me();
|
|
611
611
|
}, P);
|
|
612
612
|
}
|
|
613
613
|
return;
|
|
614
614
|
}
|
|
615
|
-
R = !1,
|
|
616
|
-
|
|
615
|
+
R = !1, M = 0, X = i(function() {
|
|
616
|
+
Me();
|
|
617
617
|
}, d), ne = ie, _e = "", le = "", Fe = S, Ie = "", Xe = 0, Be = 0, K = te;
|
|
618
618
|
var U = o;
|
|
619
619
|
if (o.slice(0, 5) !== "data:" && o.slice(0, 5) !== "blob:" && S !== "") {
|
|
@@ -622,19 +622,19 @@ var We = { exports: {} };
|
|
|
622
622
|
return Ae === f ? "" : ue;
|
|
623
623
|
}), U += (o.indexOf("?") === -1 ? "?" : "&") + f + "=" + encodeURIComponent(S);
|
|
624
624
|
}
|
|
625
|
-
var $ = e.withCredentials,
|
|
626
|
-
|
|
625
|
+
var $ = e.withCredentials, W = {};
|
|
626
|
+
W.Accept = "text/event-stream";
|
|
627
627
|
var G = e.headers;
|
|
628
628
|
if (G != null)
|
|
629
629
|
for (var ce in G)
|
|
630
|
-
Object.prototype.hasOwnProperty.call(G, ce) && (
|
|
630
|
+
Object.prototype.hasOwnProperty.call(G, ce) && (W[ce] = G[ce]);
|
|
631
631
|
try {
|
|
632
|
-
Q =
|
|
632
|
+
Q = De.open(se, lt, ct, Je, U, $, W);
|
|
633
633
|
} catch (ue) {
|
|
634
634
|
throw Ke(), ue;
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
|
-
e.url = o, e.readyState = ie, e.withCredentials = a, e.headers = v, e._close = Ke,
|
|
637
|
+
e.url = o, e.readyState = ie, e.withCredentials = a, e.headers = v, e._close = Ke, Me();
|
|
638
638
|
}
|
|
639
639
|
J.prototype = Object.create(O.prototype), J.prototype.CONNECTING = ie, J.prototype.OPEN = ye, J.prototype.CLOSED = we, J.prototype.close = function() {
|
|
640
640
|
this._close();
|
|
@@ -649,8 +649,8 @@ var We = { exports: {} };
|
|
|
649
649
|
e.EventSourcePolyfill = J, e.NativeEventSource = m, e.EventSource = ke;
|
|
650
650
|
});
|
|
651
651
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ft : globalThis);
|
|
652
|
-
})(
|
|
653
|
-
var Et =
|
|
652
|
+
})(qe, qe.exports);
|
|
653
|
+
var Et = qe.exports;
|
|
654
654
|
/*!
|
|
655
655
|
* currency.js - v2.0.4
|
|
656
656
|
* http://scurker.github.io/currency.js
|
|
@@ -672,15 +672,15 @@ var xt = {
|
|
|
672
672
|
return Math.round(t);
|
|
673
673
|
}, Ye = function(t) {
|
|
674
674
|
return Math.pow(10, t);
|
|
675
|
-
},
|
|
675
|
+
}, Dt = function(t, n) {
|
|
676
676
|
return st(t / n) * n;
|
|
677
|
-
},
|
|
677
|
+
}, Mt = /(\d)(?=(\d{3})+\b)/g, Lt = /(\d)(?=(\d\d)+\d\b)/g;
|
|
678
678
|
function ae(r, t) {
|
|
679
679
|
var n = this;
|
|
680
680
|
if (!(n instanceof ae))
|
|
681
681
|
return new ae(r, t);
|
|
682
682
|
var i = Object.assign({}, xt, t), c = Ye(i.precision), l = Ne(r, i);
|
|
683
|
-
n.intValue = l, n.value = l / c, i.increment = i.increment || 1 / c, i.useVedic ? i.groups = Lt : i.groups =
|
|
683
|
+
n.intValue = l, n.value = l / c, i.increment = i.increment || 1 / c, i.useVedic ? i.groups = Lt : i.groups = Mt, this.s = i, this.p = c;
|
|
684
684
|
}
|
|
685
685
|
function Ne(r, t) {
|
|
686
686
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, i = 0, c = t.decimal, l = t.errorOnInvalid, g = t.precision, p = t.fromCents, m = Ye(g), y = typeof r == "number", A = r instanceof ae;
|
|
@@ -782,7 +782,7 @@ ae.prototype = {
|
|
|
782
782
|
*/
|
|
783
783
|
toString: function() {
|
|
784
784
|
var t = this.intValue, n = this.p, i = this.s;
|
|
785
|
-
return
|
|
785
|
+
return Dt(t / n, i.increment).toFixed(i.precision);
|
|
786
786
|
},
|
|
787
787
|
/**
|
|
788
788
|
* Value for JSON serialization.
|
|
@@ -793,7 +793,7 @@ ae.prototype = {
|
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
795
|
function kt(r) {
|
|
796
|
-
|
|
796
|
+
yt(r, "svelte-lfsn3o", '*,*::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;background:transparent;border:none;font:inherit;color:inherit;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, #22B04E));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;background:transparent;border:none;font:inherit;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(r, t, n) {
|
|
799
799
|
const i = r.slice();
|
|
@@ -819,14 +819,14 @@ function Ft(r) {
|
|
|
819
819
|
);
|
|
820
820
|
return {
|
|
821
821
|
c() {
|
|
822
|
-
t = j("button"), n = j("p"), c =
|
|
822
|
+
t = j("button"), n = j("p"), c = de(i), l = oe(), g = de(
|
|
823
823
|
/*currency*/
|
|
824
824
|
r[5]
|
|
825
|
-
), p = oe(), m = j("span"), y = Qe("svg"), A = Qe("path"), F = oe(), w && w.c(), I =
|
|
825
|
+
), p = oe(), m = j("span"), y = Qe("svg"), A = Qe("path"), F = oe(), w && w.c(), I = Ct(), C(A, "id", "arrow"), C(A, "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(A, "transform", "translate(-274.511 -441.088)"), C(A, "fill", "#d1d1d1"), C(y, "xmlns", "http://www.w3.org/2000/svg"), C(y, "width", "14"), C(y, "height", "6.835"), C(y, "viewBox", "0 0 14 6.835"), C(m, "class", k = /*isModalDisplayed*/
|
|
826
826
|
r[3] ? "TriangleActive" : "TriangleInactive"), C(t, "class", "BalanceValue");
|
|
827
827
|
},
|
|
828
828
|
m(T, H) {
|
|
829
|
-
|
|
829
|
+
pe(T, t, H), B(t, n), B(n, c), B(n, l), B(n, g), B(t, p), B(t, m), B(m, y), B(y, A), pe(T, F, H), w && w.m(T, H), pe(T, I, H), N || (E = Ve(
|
|
830
830
|
t,
|
|
831
831
|
"click",
|
|
832
832
|
/*click_handler*/
|
|
@@ -842,8 +842,8 @@ function Ft(r) {
|
|
|
842
842
|
/*balances*/
|
|
843
843
|
T[1].Total[0].amount
|
|
844
844
|
)
|
|
845
|
-
) : "0") + "") &&
|
|
846
|
-
32 &&
|
|
845
|
+
) : "0") + "") && fe(c, i), H[0] & /*currency*/
|
|
846
|
+
32 && fe(
|
|
847
847
|
g,
|
|
848
848
|
/*currency*/
|
|
849
849
|
T[5]
|
|
@@ -853,7 +853,7 @@ function Ft(r) {
|
|
|
853
853
|
T[4] ? w ? w.p(T, H) : (w = nt(T), w.c(), w.m(I.parentNode, I)) : w && (w.d(1), w = null);
|
|
854
854
|
},
|
|
855
855
|
d(T) {
|
|
856
|
-
T && (
|
|
856
|
+
T && (he(t), he(F), he(I)), w && w.d(T), N = !1, E();
|
|
857
857
|
}
|
|
858
858
|
};
|
|
859
859
|
}
|
|
@@ -864,18 +864,18 @@ function It(r) {
|
|
|
864
864
|
), i;
|
|
865
865
|
return {
|
|
866
866
|
c() {
|
|
867
|
-
t = j("p"), i =
|
|
867
|
+
t = j("p"), i = de(n), C(t, "class", "Loading");
|
|
868
868
|
},
|
|
869
869
|
m(c, l) {
|
|
870
|
-
|
|
870
|
+
pe(c, t, l), B(t, i);
|
|
871
871
|
},
|
|
872
872
|
p(c, l) {
|
|
873
873
|
l[0] & /*$_*/
|
|
874
874
|
64 && n !== (n = /*$_*/
|
|
875
|
-
c[6]("Loading") + "") &&
|
|
875
|
+
c[6]("Loading") + "") && fe(i, n);
|
|
876
876
|
},
|
|
877
877
|
d(c) {
|
|
878
|
-
c &&
|
|
878
|
+
c && he(t);
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
881
|
}
|
|
@@ -894,19 +894,19 @@ function nt(r) {
|
|
|
894
894
|
L[_] = ot(et(r, Y, _));
|
|
895
895
|
return {
|
|
896
896
|
c() {
|
|
897
|
-
t = j("div"), n = j("button"), c = oe(), l = j("div"), g = j("div"), p = j("div"), m = j("p"), A =
|
|
897
|
+
t = j("div"), n = j("button"), c = oe(), l = j("div"), g = j("div"), p = j("div"), m = j("p"), A = de(y), k = oe(), F = j("div");
|
|
898
898
|
for (let _ = 0; _ < L.length; _ += 1)
|
|
899
899
|
L[_].c();
|
|
900
|
-
I = oe(), N = j("div"), E = j("button"), T =
|
|
900
|
+
I = oe(), N = j("div"), E = j("button"), T = de(w), C(n, "class", i = "BalanceModalClose " + /*isModalDisplayed*/
|
|
901
901
|
(r[3] ? "Open" : "")), C(m, "class", "BalanceModalTitle"), C(p, "class", "BalanceModalHeader"), C(F, "class", "BalanceModalBody"), C(E, "class", "BalanceModalAction"), C(N, "class", "BalanceModalFooter"), C(g, "class", H = "ModalContent " + /*isModalDisplayed*/
|
|
902
902
|
(r[3] ? "Open" : "")), C(l, "class", x = "BalanceModal " + /*isModalDisplayed*/
|
|
903
903
|
(r[3] ? "Open" : "")), C(t, "class", z = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
904
904
|
(r[3] ? "Open" : ""));
|
|
905
905
|
},
|
|
906
906
|
m(_, O) {
|
|
907
|
-
|
|
908
|
-
for (let
|
|
909
|
-
L[
|
|
907
|
+
pe(_, t, O), B(t, n), B(t, c), B(t, l), B(l, g), B(g, p), B(p, m), B(m, A), B(g, k), B(g, F);
|
|
908
|
+
for (let D = 0; D < L.length; D += 1)
|
|
909
|
+
L[D] && L[D].m(F, null);
|
|
910
910
|
B(g, I), B(g, N), B(N, E), B(E, T), re || (ee = [
|
|
911
911
|
Ve(
|
|
912
912
|
n,
|
|
@@ -927,24 +927,24 @@ function nt(r) {
|
|
|
927
927
|
8 && i !== (i = "BalanceModalClose " + /*isModalDisplayed*/
|
|
928
928
|
(_[3] ? "Open" : "")) && C(n, "class", i), O[0] & /*$_*/
|
|
929
929
|
64 && y !== (y = /*$_*/
|
|
930
|
-
_[6]("Title") + "") &&
|
|
930
|
+
_[6]("Title") + "") && fe(A, y), O[0] & /*balances, currency, formatBalance, $_*/
|
|
931
931
|
354) {
|
|
932
932
|
Y = je(Object.keys(
|
|
933
933
|
/*balances*/
|
|
934
934
|
_[1]
|
|
935
935
|
));
|
|
936
|
-
let
|
|
937
|
-
for (
|
|
938
|
-
const u = et(_, Y,
|
|
939
|
-
L[
|
|
936
|
+
let D;
|
|
937
|
+
for (D = 0; D < Y.length; D += 1) {
|
|
938
|
+
const u = et(_, Y, D);
|
|
939
|
+
L[D] ? L[D].p(u, O) : (L[D] = ot(u), L[D].c(), L[D].m(F, null));
|
|
940
940
|
}
|
|
941
|
-
for (;
|
|
942
|
-
L[
|
|
941
|
+
for (; D < L.length; D += 1)
|
|
942
|
+
L[D].d(1);
|
|
943
943
|
L.length = Y.length;
|
|
944
944
|
}
|
|
945
945
|
O[0] & /*$_*/
|
|
946
946
|
64 && w !== (w = /*$_*/
|
|
947
|
-
_[6]("DepositButton") + "") &&
|
|
947
|
+
_[6]("DepositButton") + "") && fe(T, w), O[0] & /*isModalDisplayed*/
|
|
948
948
|
8 && H !== (H = "ModalContent " + /*isModalDisplayed*/
|
|
949
949
|
(_[3] ? "Open" : "")) && C(g, "class", H), O[0] & /*isModalDisplayed*/
|
|
950
950
|
8 && x !== (x = "BalanceModal " + /*isModalDisplayed*/
|
|
@@ -953,7 +953,7 @@ function nt(r) {
|
|
|
953
953
|
(_[3] ? "Open" : "")) && C(t, "class", z);
|
|
954
954
|
},
|
|
955
955
|
d(_) {
|
|
956
|
-
_ &&
|
|
956
|
+
_ && he(t), it(L, _), re = !1, _t(ee);
|
|
957
957
|
}
|
|
958
958
|
};
|
|
959
959
|
}
|
|
@@ -985,13 +985,13 @@ function at(r) {
|
|
|
985
985
|
), F, I, N, E;
|
|
986
986
|
return {
|
|
987
987
|
c() {
|
|
988
|
-
t = j("div"), n = j("p"), c =
|
|
988
|
+
t = j("div"), n = j("p"), c = de(i), l = oe(), p = de(g), m = oe(), y = j("p"), A = j("span"), F = de(k), I = oe(), N = j("span"), E = de(
|
|
989
989
|
/*currency*/
|
|
990
990
|
r[5]
|
|
991
991
|
), C(n, "class", "BalanceModalText"), C(A, "class", "BalanceModalAmount"), C(N, "class", "BalanceModalCurrency"), C(y, "class", "BalanceModalValue"), C(t, "class", "BalanceModalRowLine");
|
|
992
992
|
},
|
|
993
993
|
m(w, T) {
|
|
994
|
-
|
|
994
|
+
pe(w, t, T), B(t, n), B(n, c), B(n, l), B(n, p), B(t, m), B(t, y), B(y, A), B(A, F), B(y, I), B(y, N), B(N, E);
|
|
995
995
|
},
|
|
996
996
|
p(w, T) {
|
|
997
997
|
T[0] & /*$_, balances*/
|
|
@@ -999,7 +999,7 @@ function at(r) {
|
|
|
999
999
|
w[6](
|
|
1000
1000
|
/*k*/
|
|
1001
1001
|
w[50]
|
|
1002
|
-
) + "") &&
|
|
1002
|
+
) + "") && fe(c, i), T[0] & /*balances, $_*/
|
|
1003
1003
|
66 && g !== (g = /*b*/
|
|
1004
1004
|
(w[53].productType ? (
|
|
1005
1005
|
/*$_*/
|
|
@@ -1007,7 +1007,7 @@ function at(r) {
|
|
|
1007
1007
|
/*b*/
|
|
1008
1008
|
w[53].productType
|
|
1009
1009
|
)
|
|
1010
|
-
) : "") + "") &&
|
|
1010
|
+
) : "") + "") && fe(p, g), T[0] & /*balances*/
|
|
1011
1011
|
2 && k !== (k = /*b*/
|
|
1012
1012
|
(w[53].amount ? (
|
|
1013
1013
|
/*formatBalance*/
|
|
@@ -1015,15 +1015,15 @@ function at(r) {
|
|
|
1015
1015
|
/*b*/
|
|
1016
1016
|
w[53].amount
|
|
1017
1017
|
)
|
|
1018
|
-
) : "0") + "") &&
|
|
1019
|
-
32 &&
|
|
1018
|
+
) : "0") + "") && fe(F, k), T[0] & /*currency*/
|
|
1019
|
+
32 && fe(
|
|
1020
1020
|
E,
|
|
1021
1021
|
/*currency*/
|
|
1022
1022
|
w[5]
|
|
1023
1023
|
);
|
|
1024
1024
|
},
|
|
1025
1025
|
d(w) {
|
|
1026
|
-
w &&
|
|
1026
|
+
w && he(t);
|
|
1027
1027
|
}
|
|
1028
1028
|
};
|
|
1029
1029
|
}
|
|
@@ -1045,7 +1045,7 @@ function ot(r) {
|
|
|
1045
1045
|
n = oe(), C(t, "class", "BalanceModalRowBoth");
|
|
1046
1046
|
},
|
|
1047
1047
|
m(l, g) {
|
|
1048
|
-
|
|
1048
|
+
pe(l, t, g);
|
|
1049
1049
|
for (let p = 0; p < c.length; p += 1)
|
|
1050
1050
|
c[p] && c[p].m(t, null);
|
|
1051
1051
|
B(t, n);
|
|
@@ -1071,7 +1071,7 @@ function ot(r) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
},
|
|
1073
1073
|
d(l) {
|
|
1074
|
-
l &&
|
|
1074
|
+
l && he(t), it(c, l);
|
|
1075
1075
|
}
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
@@ -1082,16 +1082,16 @@ function rt(r) {
|
|
|
1082
1082
|
t = j("button"), C(t, "class", "ShowBalanceModalOverlay");
|
|
1083
1083
|
},
|
|
1084
1084
|
m(c, l) {
|
|
1085
|
-
|
|
1085
|
+
pe(c, t, l), n || (i = Ve(
|
|
1086
1086
|
t,
|
|
1087
1087
|
"click",
|
|
1088
1088
|
/*click_handler_3*/
|
|
1089
1089
|
r[28]
|
|
1090
1090
|
), n = !0);
|
|
1091
1091
|
},
|
|
1092
|
-
p:
|
|
1092
|
+
p: We,
|
|
1093
1093
|
d(c) {
|
|
1094
|
-
c &&
|
|
1094
|
+
c && he(t), n = !1, i();
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
@@ -1112,23 +1112,23 @@ function Nt(r) {
|
|
|
1112
1112
|
t = j("div"), n = j("div"), g.c(), i = oe(), p && p.c(), C(n, "class", "ShowBalance");
|
|
1113
1113
|
},
|
|
1114
1114
|
m(m, y) {
|
|
1115
|
-
|
|
1115
|
+
pe(m, t, y), B(t, n), g.m(n, null), B(t, i), p && p.m(t, null), r[29](t);
|
|
1116
1116
|
},
|
|
1117
1117
|
p(m, y) {
|
|
1118
1118
|
l === (l = c(m)) && g ? g.p(m, y) : (g.d(1), g = l(m), g && (g.c(), g.m(n, null))), /*showBalance*/
|
|
1119
1119
|
m[4] ? p ? p.p(m, y) : (p = rt(m), p.c(), p.m(t, null)) : p && (p.d(1), p = null);
|
|
1120
1120
|
},
|
|
1121
|
-
i:
|
|
1122
|
-
o:
|
|
1121
|
+
i: We,
|
|
1122
|
+
o: We,
|
|
1123
1123
|
d(m) {
|
|
1124
|
-
m &&
|
|
1124
|
+
m && he(t), g.d(), p && p.d(), r[29](null);
|
|
1125
1125
|
}
|
|
1126
1126
|
};
|
|
1127
1127
|
}
|
|
1128
1128
|
function Vt(r, t, n) {
|
|
1129
1129
|
let i;
|
|
1130
|
-
|
|
1131
|
-
let { userid: c = "" } = t, { session: l = "" } = t, { endpoint: g = "" } = t, { lang: p = "en" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: A = "" } = t, { translationurl: k = "" } = t, { customlocaleidentifier: F = "" } = t, { gmversion: I = "gm16" } = t, { displaybalanceoption: N = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { currencyseparator: w = "" } = t, { currencydecimal: T = "" } = t, { currencyprecision: H = "" } = t, x, z = !0, re = !1, ee = !1, Y = !1, L, _ = "", O = [],
|
|
1130
|
+
vt(r, At, (e) => n(6, i = e));
|
|
1131
|
+
let { userid: c = "" } = t, { session: l = "" } = t, { endpoint: g = "" } = t, { lang: p = "en" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: A = "" } = t, { translationurl: k = "" } = t, { customlocaleidentifier: F = "" } = t, { gmversion: I = "gm16" } = t, { displaybalanceoption: N = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { currencyseparator: w = "" } = t, { currencydecimal: T = "" } = t, { currencyprecision: H = "" } = t, x, z = !0, re = !1, ee = !1, Y = !1, L, _ = "", O = [], D;
|
|
1132
1132
|
const u = {}, ge = ["totalCashAmount", "totalRealAmount"], Re = () => {
|
|
1133
1133
|
fetch(k).then((e) => e.json()).then((e) => Object.keys(e).forEach((o) => Ze(o, e[o]))).catch((e) => console.log(e));
|
|
1134
1134
|
};
|
|
@@ -1212,7 +1212,7 @@ function Vt(r, t, n) {
|
|
|
1212
1212
|
a[E] || n(10, E = ge[0]);
|
|
1213
1213
|
const f = a.items.find((d) => d.type === "Real" && d.walletAccountType === "Ordinary");
|
|
1214
1214
|
if (n(5, _ = f.currency), ee = !!f.productType, n(1, u.Total = [{ amount: 0 }], u), n(1, u.Real = [], u), n(1, u.Bonus = [], u), n(1, u.Credit = [], u), !ee) {
|
|
1215
|
-
|
|
1215
|
+
D = {
|
|
1216
1216
|
lastOrdinaryAfterAmount: 0,
|
|
1217
1217
|
showCreditLineAfterAmount: !1
|
|
1218
1218
|
}, n(1, u.Total[0].amount = a[E][_], u);
|
|
@@ -1232,7 +1232,7 @@ function Vt(r, t, n) {
|
|
|
1232
1232
|
n(2, z = !1);
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
|
-
|
|
1235
|
+
D = {
|
|
1236
1236
|
Casino: {
|
|
1237
1237
|
lastOrdinaryAfterAmount: 0,
|
|
1238
1238
|
showCreditLineAfterAmount: !1
|
|
@@ -1349,13 +1349,13 @@ function Vt(r, t, n) {
|
|
|
1349
1349
|
return;
|
|
1350
1350
|
const s = o.body.balanceChange;
|
|
1351
1351
|
for (const [a, f] of Object.entries(s))
|
|
1352
|
-
if (E === "totalRealAmount" && a === "Real" && !ee && n(1, u.Total[0].amount = Se(u.Total[0].amount,
|
|
1352
|
+
if (E === "totalRealAmount" && a === "Real" && !ee && n(1, u.Total[0].amount = Se(u.Total[0].amount, D, f), u), !!u[a])
|
|
1353
1353
|
for (const h of u[a]) {
|
|
1354
1354
|
if (!ee) {
|
|
1355
|
-
h.amount = a === "Real" ? Se(h.amount,
|
|
1355
|
+
h.amount = a === "Real" ? Se(h.amount, D, f) : f.afterAmount;
|
|
1356
1356
|
continue;
|
|
1357
1357
|
}
|
|
1358
|
-
f.productType === h.productType && (h.amount = a === "Real" ? Se(h.amount,
|
|
1358
|
+
f.productType === h.productType && (h.amount = a === "Real" ? Se(h.amount, D[h.productType], f) : f.afterAmount);
|
|
1359
1359
|
}
|
|
1360
1360
|
Le();
|
|
1361
1361
|
}, Oe = () => {
|
|
@@ -1376,12 +1376,12 @@ function Vt(r, t, n) {
|
|
|
1376
1376
|
}, Ce = (e) => e.data && e.data.type === "LogoutSuccessfull" && L.close(), ve = () => {
|
|
1377
1377
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1378
1378
|
};
|
|
1379
|
-
|
|
1379
|
+
wt(() => (window.addEventListener("message", Ce, !1), () => {
|
|
1380
1380
|
window.removeEventListener("message", Ce), L && L.close();
|
|
1381
1381
|
}));
|
|
1382
1382
|
const J = () => me("balance"), Ue = () => me("closebalance"), Pe = () => Oe(), Ge = () => me("closeBalance");
|
|
1383
1383
|
function ke(e) {
|
|
1384
|
-
|
|
1384
|
+
bt[e ? "unshift" : "push"](() => {
|
|
1385
1385
|
x = e, n(0, x);
|
|
1386
1386
|
});
|
|
1387
1387
|
}
|
|
@@ -1394,9 +1394,9 @@ function Vt(r, t, n) {
|
|
|
1394
1394
|
1062912 && g && c && l && I && be(), r.$$.dirty[0] & /*translationurl*/
|
|
1395
1395
|
262144 && k && Re(), r.$$.dirty[0] & /*balances*/
|
|
1396
1396
|
2 && u.Total && ve(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1397
|
-
65537 && y && x &&
|
|
1398
|
-
131073 && A && x &&
|
|
1399
|
-
32769 && m && x &&
|
|
1397
|
+
65537 && y && x && Bt(x, y), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1398
|
+
131073 && A && x && Tt(x, A), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1399
|
+
32769 && m && x && St(x, `${m}.Style`);
|
|
1400
1400
|
}, [
|
|
1401
1401
|
x,
|
|
1402
1402
|
u,
|
|
@@ -1437,7 +1437,7 @@ class jt extends pt {
|
|
|
1437
1437
|
t,
|
|
1438
1438
|
Vt,
|
|
1439
1439
|
Nt,
|
|
1440
|
-
|
|
1440
|
+
mt,
|
|
1441
1441
|
{
|
|
1442
1442
|
userid: 11,
|
|
1443
1443
|
session: 12,
|
|
@@ -1463,94 +1463,94 @@ class jt extends pt {
|
|
|
1463
1463
|
return this.$$.ctx[11];
|
|
1464
1464
|
}
|
|
1465
1465
|
set userid(t) {
|
|
1466
|
-
this.$$set({ userid: t }),
|
|
1466
|
+
this.$$set({ userid: t }), q();
|
|
1467
1467
|
}
|
|
1468
1468
|
get session() {
|
|
1469
1469
|
return this.$$.ctx[12];
|
|
1470
1470
|
}
|
|
1471
1471
|
set session(t) {
|
|
1472
|
-
this.$$set({ session: t }),
|
|
1472
|
+
this.$$set({ session: t }), q();
|
|
1473
1473
|
}
|
|
1474
1474
|
get endpoint() {
|
|
1475
1475
|
return this.$$.ctx[13];
|
|
1476
1476
|
}
|
|
1477
1477
|
set endpoint(t) {
|
|
1478
|
-
this.$$set({ endpoint: t }),
|
|
1478
|
+
this.$$set({ endpoint: t }), q();
|
|
1479
1479
|
}
|
|
1480
1480
|
get lang() {
|
|
1481
1481
|
return this.$$.ctx[14];
|
|
1482
1482
|
}
|
|
1483
1483
|
set lang(t) {
|
|
1484
|
-
this.$$set({ lang: t }),
|
|
1484
|
+
this.$$set({ lang: t }), q();
|
|
1485
1485
|
}
|
|
1486
1486
|
get mbsource() {
|
|
1487
1487
|
return this.$$.ctx[15];
|
|
1488
1488
|
}
|
|
1489
1489
|
set mbsource(t) {
|
|
1490
|
-
this.$$set({ mbsource: t }),
|
|
1490
|
+
this.$$set({ mbsource: t }), q();
|
|
1491
1491
|
}
|
|
1492
1492
|
get clientstyling() {
|
|
1493
1493
|
return this.$$.ctx[16];
|
|
1494
1494
|
}
|
|
1495
1495
|
set clientstyling(t) {
|
|
1496
|
-
this.$$set({ clientstyling: t }),
|
|
1496
|
+
this.$$set({ clientstyling: t }), q();
|
|
1497
1497
|
}
|
|
1498
1498
|
get clientstylingurl() {
|
|
1499
1499
|
return this.$$.ctx[17];
|
|
1500
1500
|
}
|
|
1501
1501
|
set clientstylingurl(t) {
|
|
1502
|
-
this.$$set({ clientstylingurl: t }),
|
|
1502
|
+
this.$$set({ clientstylingurl: t }), q();
|
|
1503
1503
|
}
|
|
1504
1504
|
get translationurl() {
|
|
1505
1505
|
return this.$$.ctx[18];
|
|
1506
1506
|
}
|
|
1507
1507
|
set translationurl(t) {
|
|
1508
|
-
this.$$set({ translationurl: t }),
|
|
1508
|
+
this.$$set({ translationurl: t }), q();
|
|
1509
1509
|
}
|
|
1510
1510
|
get customlocaleidentifier() {
|
|
1511
1511
|
return this.$$.ctx[19];
|
|
1512
1512
|
}
|
|
1513
1513
|
set customlocaleidentifier(t) {
|
|
1514
|
-
this.$$set({ customlocaleidentifier: t }),
|
|
1514
|
+
this.$$set({ customlocaleidentifier: t }), q();
|
|
1515
1515
|
}
|
|
1516
1516
|
get gmversion() {
|
|
1517
1517
|
return this.$$.ctx[20];
|
|
1518
1518
|
}
|
|
1519
1519
|
set gmversion(t) {
|
|
1520
|
-
this.$$set({ gmversion: t }),
|
|
1520
|
+
this.$$set({ gmversion: t }), q();
|
|
1521
1521
|
}
|
|
1522
1522
|
get displaybalanceoption() {
|
|
1523
1523
|
return this.$$.ctx[21];
|
|
1524
1524
|
}
|
|
1525
1525
|
set displaybalanceoption(t) {
|
|
1526
|
-
this.$$set({ displaybalanceoption: t }),
|
|
1526
|
+
this.$$set({ displaybalanceoption: t }), q();
|
|
1527
1527
|
}
|
|
1528
1528
|
get totalcalculationmode() {
|
|
1529
1529
|
return this.$$.ctx[10];
|
|
1530
1530
|
}
|
|
1531
1531
|
set totalcalculationmode(t) {
|
|
1532
|
-
this.$$set({ totalcalculationmode: t }),
|
|
1532
|
+
this.$$set({ totalcalculationmode: t }), q();
|
|
1533
1533
|
}
|
|
1534
1534
|
get currencyseparator() {
|
|
1535
1535
|
return this.$$.ctx[22];
|
|
1536
1536
|
}
|
|
1537
1537
|
set currencyseparator(t) {
|
|
1538
|
-
this.$$set({ currencyseparator: t }),
|
|
1538
|
+
this.$$set({ currencyseparator: t }), q();
|
|
1539
1539
|
}
|
|
1540
1540
|
get currencydecimal() {
|
|
1541
1541
|
return this.$$.ctx[23];
|
|
1542
1542
|
}
|
|
1543
1543
|
set currencydecimal(t) {
|
|
1544
|
-
this.$$set({ currencydecimal: t }),
|
|
1544
|
+
this.$$set({ currencydecimal: t }), q();
|
|
1545
1545
|
}
|
|
1546
1546
|
get currencyprecision() {
|
|
1547
1547
|
return this.$$.ctx[24];
|
|
1548
1548
|
}
|
|
1549
1549
|
set currencyprecision(t) {
|
|
1550
|
-
this.$$set({ currencyprecision: t }),
|
|
1550
|
+
this.$$set({ currencyprecision: t }), q();
|
|
1551
1551
|
}
|
|
1552
1552
|
}
|
|
1553
|
-
|
|
1553
|
+
gt(jt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
|
|
1554
1554
|
export {
|
|
1555
1555
|
jt as default
|
|
1556
1556
|
};
|