@everymatrix/casino-header-controller-nd 1.90.27 → 1.90.29
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-CuOroj3Y.js → CasinoHamburgerMenuNd-BMk9GglK.js} +593 -599
- package/components/CasinoHamburgerMenuNd-BozWwIQ8.js +1333 -0
- package/components/CasinoHamburgerMenuNd-CNokYpoT.cjs +1 -0
- package/components/CasinoHeaderControllerNd-DKsX8MAr.cjs +18 -0
- package/components/{CasinoHeaderControllerNd-BiDGzPtn.js → CasinoHeaderControllerNd-DRvnolX4.js} +1494 -1421
- package/components/{CasinoHeaderControllerNd-CHAFeQ-G.js → CasinoHeaderControllerNd-HRfpIRzv.js} +1398 -1327
- package/components/{PlayerAccountBalanceModalNd-DwhvnS-B.cjs → PlayerAccountBalanceModalNd-BlCAv-W5.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-D0CWoVA3.js → PlayerAccountBalanceModalNd-DH1bQ5K5.js} +40 -40
- package/components/{PlayerAccountBalanceModalNd-CMv5mwmK.js → PlayerAccountBalanceModalNd-DbVrQUfl.js} +102 -102
- package/components/{PlayerDeposit-CNAsTv6k.js → PlayerDeposit-BtCrxtQJ.js} +12 -12
- package/components/{PlayerDeposit-loJvKp78.cjs → PlayerDeposit-C6WQdvWV.cjs} +1 -1
- package/components/{PlayerDeposit-DFfvOVtM.js → PlayerDeposit-CcK-S_I7.js} +30 -30
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-BPDYqmRL.js → casino-hamburger-menu-nd-BRlNkj_S.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-Ph1Fx2Kl.js → casino-hamburger-menu-nd-CR625XQx.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-BtiACLBX.cjs → casino-hamburger-menu-nd-CyPRbuAF.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-IZBAft1T.cjs → player-account-balance-modal-nd-1_AX0n2O.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-kV2PjYEL.js → player-account-balance-modal-nd-CzIfvk-v.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-Dho2TM3F.js → player-account-balance-modal-nd-DrAe58Qw.js} +1 -1
- package/lazy/{player-deposit-D6Sg3BWr.js → player-deposit-CpAD9lsm.js} +1 -1
- package/lazy/{player-deposit-CEFFQhy2.cjs → player-deposit-DsqqqW7O.cjs} +1 -1
- package/lazy/{player-deposit-BNWSkpVt.js → player-deposit-DwpIwufX.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoHamburgerMenuNd-BH6BG36R.js +0 -1291
- package/components/CasinoHamburgerMenuNd-NxKPo2-K.cjs +0 -1
- package/components/CasinoHeaderControllerNd-Cy4RqjxM.cjs +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var nt=Object.defineProperty,at=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var ze=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var je=Math.pow,Ve=(i,t,n)=>t in i?nt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[t]=n,Ue=(i,t)=>{for(var n in t||(t={}))it.call(t,n)&&Ve(i,n,t[n]);if(ze)for(var n of ze(t))rt.call(t,n)&&Ve(i,n,t[n]);return i},Pe=(i,t)=>at(i,ot(t));var Ge=(i,t,n)=>new Promise((m,y)=>{var u=f=>{try{B(n.next(f))}catch(b){y(b)}},c=f=>{try{B(n.throw(f))}catch(b){y(b)}},B=f=>f.done?m(f.value):Promise.resolve(f.value).then(u,c);B((n=n.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";var nt=Object.defineProperty,at=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var ze=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var je=Math.pow,Ve=(i,t,n)=>t in i?nt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[t]=n,Ue=(i,t)=>{for(var n in t||(t={}))it.call(t,n)&&Ve(i,n,t[n]);if(ze)for(var n of ze(t))rt.call(t,n)&&Ve(i,n,t[n]);return i},Pe=(i,t)=>at(i,ot(t));var Ge=(i,t,n)=>new Promise((m,y)=>{var u=f=>{try{B(n.next(f))}catch(b){y(b)}},c=f=>{try{B(n.throw(f))}catch(b){y(b)}},B=f=>f.done?m(f.value):Promise.resolve(f.value).then(u,c);B((n=n.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-DKsX8MAr.cjs");function Xe(i,t){e.addMessages(i,t)}function st(i){e.$locale.set(i)}const qe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Deposit",ActiveBonusesButton:"Active Bonuses",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",LimitsButton:"Limits",DepositButton:"存款",ActiveBonusesButton:"活躍獎金",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Einzahlen",ActiveBonusesButton:"Aktive Boni",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Deposita",ActiveBonusesButton:"Bonus Attivi",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Dépôt",ActiveBonusesButton:"Bonus Actifs",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",LimitsButton:"Limits",DepositButton:"Depósito",ActiveBonusesButton:"Bonos Activos",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",LimitsButton:"Limits",DepositButton:"Yatır",ActiveBonusesButton:"Aktif Bonuslar",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",LimitsButton:"Limits",DepositButton:"Депозит",ActiveBonusesButton:"Активные Бонусы",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Bonusuri Active",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Befizetés",ActiveBonusesButton:"Aktív Bónuszok",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Wpłać",ActiveBonusesButton:"Aktywne Bonusy",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",LimitsButton:"Limits",DepositButton:"Depositar",ActiveBonusesButton:"Bônus Ativos",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",LimitsButton:"Limits",DepositButton:"Depositar",ActiveBonusesButton:"Bônus Ativos",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",LimitsButton:"Limits",DepositButton:"Depósito",ActiveBonusesButton:"Bonos Activos",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Deposit",ActiveBonusesButton:"Active Bonuses",Loading:"Loading ..."}};var He={exports:{}};/** @license
|
|
2
2
|
* eventsource.js
|
|
3
3
|
* Available under MIT License (MIT)
|
|
4
4
|
* https://github.com/Yaffle/EventSource/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as lt, $ as ct,
|
|
1
|
+
import { a as lt, $ as ct, W as ut, S as dt, i as ft, s as pt, f as X, b as ht, A as qe, d as ge, r as R, h as ye, u as x, j as U, w as me, k as mt, l as gt, o as yt, m as vt, v as Fe, z as Bt, B as Ce, E as _e, D as Qe, L as bt, n as Ge, p as st, N as wt, R as Tt, T as St, U as At, V as Ct } from "./CasinoHeaderControllerNd-HRfpIRzv.js";
|
|
2
2
|
function Ze(s, e) {
|
|
3
3
|
lt(s, e);
|
|
4
4
|
}
|
|
@@ -249,7 +249,7 @@ var Ye = { exports: {} };
|
|
|
249
249
|
*/
|
|
250
250
|
(function(s, e) {
|
|
251
251
|
(function(t) {
|
|
252
|
-
var p = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, B = t.ActiveXObject, h = t.EventSource, S = t.document, O = t.Promise,
|
|
252
|
+
var p = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, B = t.ActiveXObject, h = t.EventSource, S = t.document, O = t.Promise, W = t.fetch, V = t.Response, A = t.TextDecoder, b = t.TextEncoder, P = t.AbortController;
|
|
253
253
|
if (typeof window < "u" && typeof S < "u" && !("readyState" in S) && S.body == null && (S.readyState = "loading", window.addEventListener("load", function(n) {
|
|
254
254
|
S.readyState = "complete";
|
|
255
255
|
}, !1)), c == null && B != null && (c = function() {
|
|
@@ -261,8 +261,8 @@ var Ye = { exports: {} };
|
|
|
261
261
|
}), Date.now || (Date.now = function() {
|
|
262
262
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
263
263
|
}), P == null) {
|
|
264
|
-
var be =
|
|
265
|
-
|
|
264
|
+
var be = W;
|
|
265
|
+
W = function(n, o) {
|
|
266
266
|
var u = o.signal;
|
|
267
267
|
return be(n, { headers: o.headers, credentials: o.credentials, cache: o.cache }).then(function(r) {
|
|
268
268
|
var w = r.body.getReader();
|
|
@@ -323,16 +323,16 @@ var Ye = { exports: {} };
|
|
|
323
323
|
return !1;
|
|
324
324
|
};
|
|
325
325
|
(A == null || b == null || !Re()) && (A = we);
|
|
326
|
-
var
|
|
326
|
+
var K = function() {
|
|
327
327
|
};
|
|
328
328
|
function J(n) {
|
|
329
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
329
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = K, this.onload = K, this.onerror = K, this.onreadystatechange = K, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = K;
|
|
330
330
|
}
|
|
331
331
|
J.prototype.open = function(n, o) {
|
|
332
332
|
this._abort(!0);
|
|
333
333
|
var u = this, r = this._xhr, w = 1, m = 0;
|
|
334
334
|
this._abort = function(T) {
|
|
335
|
-
u._sendTimeout !== 0 && (g(u._sendTimeout), u._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, r.onload =
|
|
335
|
+
u._sendTimeout !== 0 && (g(u._sendTimeout), u._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, r.onload = K, r.onerror = K, r.onabort = K, r.onprogress = K, r.onreadystatechange = K, r.abort(), m !== 0 && (g(m), m = 0), T || (u.readyState = 4, u.onabort(null), u.onreadystatechange())), w = 0;
|
|
336
336
|
};
|
|
337
337
|
var C = function() {
|
|
338
338
|
if (w === 1) {
|
|
@@ -359,7 +359,7 @@ var Ye = { exports: {} };
|
|
|
359
359
|
}
|
|
360
360
|
}, _ = function(T, z) {
|
|
361
361
|
if ((z == null || z.preventDefault == null) && (z = {
|
|
362
|
-
preventDefault:
|
|
362
|
+
preventDefault: K
|
|
363
363
|
}), j(), w === 1 || w === 2 || w === 3) {
|
|
364
364
|
if (w = 4, m !== 0 && (g(m), m = 0), u.readyState = 4, T === "load")
|
|
365
365
|
u.onload(z);
|
|
@@ -464,7 +464,7 @@ var Ye = { exports: {} };
|
|
|
464
464
|
}
|
|
465
465
|
ae.prototype.open = function(n, o, u, r, w, m, C) {
|
|
466
466
|
var j = null, _ = new P(), M = _.signal, N = new A();
|
|
467
|
-
return
|
|
467
|
+
return W(w, {
|
|
468
468
|
headers: C,
|
|
469
469
|
credentials: m ? "include" : "same-origin",
|
|
470
470
|
signal: M,
|
|
@@ -565,10 +565,10 @@ var Ye = { exports: {} };
|
|
|
565
565
|
function Ue() {
|
|
566
566
|
return c != null && "withCredentials" in c.prototype || l == null ? new c() : new l();
|
|
567
567
|
}
|
|
568
|
-
var
|
|
568
|
+
var We = W != null && V != null && "body" in V.prototype;
|
|
569
569
|
function He(n, o, u) {
|
|
570
570
|
o = String(o);
|
|
571
|
-
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe =
|
|
571
|
+
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe = We && z == null ? void 0 : new J(z != null ? new z() : Ue()), ke = z != null && typeof z != "string" ? new z() : pe == null ? new ae() : new ce(), a = void 0, d = 0, f = Te, y = "", F = "", I = "", v = "", E = ne, ie = 0, re = 0, Ke = function(Q, Y, se, le) {
|
|
572
572
|
if (f === Be)
|
|
573
573
|
if (Q === 200 && se != null && Xe.test(se)) {
|
|
574
574
|
f = oe, M = Date.now(), _ = m, n.readyState = oe;
|
|
@@ -665,7 +665,7 @@ var Ye = { exports: {} };
|
|
|
665
665
|
for (var Se in Z)
|
|
666
666
|
Object.prototype.hasOwnProperty.call(Z, Se) && (ee[Se] = Z[Se]);
|
|
667
667
|
try {
|
|
668
|
-
a = ke.open(pe,
|
|
668
|
+
a = ke.open(pe, Ke, De, Pe, Y, le, ee);
|
|
669
669
|
} catch (Ae) {
|
|
670
670
|
throw Oe(), Ae;
|
|
671
671
|
}
|
|
@@ -699,7 +699,7 @@ function et(s, e, t) {
|
|
|
699
699
|
return p[67] = e[t], p;
|
|
700
700
|
}
|
|
701
701
|
function xt(s) {
|
|
702
|
-
let e, t, p, g, c, l, B, h, S, O,
|
|
702
|
+
let e, t, p, g, c, l, B, h, S, O, W, V, A = (
|
|
703
703
|
/*showBalance*/
|
|
704
704
|
s[6] && tt(s)
|
|
705
705
|
);
|
|
@@ -712,12 +712,12 @@ function xt(s) {
|
|
|
712
712
|
s[5] ? "TriangleActive" : "TriangleInactive"), R(e, "class", "BalanceValue");
|
|
713
713
|
},
|
|
714
714
|
m(b, P) {
|
|
715
|
-
ye(b, e, P), x(e, t), x(t, p), x(e, g), x(e, c), x(c, l), x(l, B), ye(b, S, P), A && A.m(b, P), ye(b, O, P),
|
|
715
|
+
ye(b, e, P), x(e, t), x(t, p), x(e, g), x(e, c), x(c, l), x(l, B), ye(b, S, P), A && A.m(b, P), ye(b, O, P), W || (V = Fe(
|
|
716
716
|
e,
|
|
717
717
|
"click",
|
|
718
718
|
/*click_handler*/
|
|
719
719
|
s[34]
|
|
720
|
-
),
|
|
720
|
+
), W = !0);
|
|
721
721
|
},
|
|
722
722
|
p(b, P) {
|
|
723
723
|
P[0] & /*displayBalance*/
|
|
@@ -731,7 +731,7 @@ function xt(s) {
|
|
|
731
731
|
b[6] ? A ? A.p(b, P) : (A = tt(b), A.c(), A.m(O.parentNode, O)) : A && (A.d(1), A = null);
|
|
732
732
|
},
|
|
733
733
|
d(b) {
|
|
734
|
-
b && (ge(e), ge(S), ge(O)), A && A.d(b),
|
|
734
|
+
b && (ge(e), ge(S), ge(O)), A && A.d(b), W = !1, V();
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
}
|
|
@@ -761,10 +761,10 @@ function tt(s) {
|
|
|
761
761
|
let e, t, p, g, c, l, B, h, S = (
|
|
762
762
|
/*$_*/
|
|
763
763
|
s[9]("Title") + ""
|
|
764
|
-
), O,
|
|
764
|
+
), O, W, V, A, b, P, be = (
|
|
765
765
|
/*$_*/
|
|
766
766
|
s[9]("DepositButton") + ""
|
|
767
|
-
), we, Re,
|
|
767
|
+
), we, Re, K, J, fe, te, ce, ve, ae = Ge(Object.keys(
|
|
768
768
|
/*balances*/
|
|
769
769
|
s[3]
|
|
770
770
|
)), k = [];
|
|
@@ -779,20 +779,20 @@ function tt(s) {
|
|
|
779
779
|
);
|
|
780
780
|
return {
|
|
781
781
|
c() {
|
|
782
|
-
e = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), B = U("div"), h = U("p"), O = _e(S),
|
|
782
|
+
e = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), B = U("div"), h = U("p"), O = _e(S), W = me(), V = U("div");
|
|
783
783
|
for (let L = 0; L < k.length; L += 1)
|
|
784
784
|
k[L].c();
|
|
785
|
-
A = me(), b = U("div"), P = U("button"), we = _e(be), Re = me(), q && q.c(),
|
|
785
|
+
A = me(), b = U("div"), P = U("button"), we = _e(be), Re = me(), q && q.c(), K = me(), D && D.c(), R(t, "class", p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
786
786
|
(s[5] ? "Open" : "")), R(h, "class", "BalanceModalTitle"), R(B, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(b, "class", "BalanceModalFooter"), R(l, "class", J = "ModalContent " + /*isModalDisplayed*/
|
|
787
787
|
(s[5] ? "Open" : "")), R(c, "class", fe = "BalanceModal " + /*isModalDisplayed*/
|
|
788
788
|
(s[5] ? "Open" : "")), R(e, "class", te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
789
789
|
(s[5] ? "Open" : ""));
|
|
790
790
|
},
|
|
791
791
|
m(L, G) {
|
|
792
|
-
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, B), x(B, h), x(h, O), x(l,
|
|
792
|
+
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, B), x(B, h), x(h, O), x(l, W), x(l, V);
|
|
793
793
|
for (let H = 0; H < k.length; H += 1)
|
|
794
794
|
k[H] && k[H].m(V, null);
|
|
795
|
-
x(l, A), x(l, b), x(b, P), x(P, we), x(b, Re), q && q.m(b, null), x(b,
|
|
795
|
+
x(l, A), x(l, b), x(b, P), x(P, we), x(b, Re), q && q.m(b, null), x(b, K), D && D.m(b, null), ce || (ve = [
|
|
796
796
|
Fe(
|
|
797
797
|
t,
|
|
798
798
|
"click",
|
|
@@ -830,7 +830,7 @@ function tt(s) {
|
|
|
830
830
|
G[0] & /*$_*/
|
|
831
831
|
512 && be !== (be = /*$_*/
|
|
832
832
|
L[9]("DepositButton") + "") && Ce(we, be), /*balancelimitsbutton*/
|
|
833
|
-
L[0] === "true" ? q ? q.p(L, G) : (q = ot(L), q.c(), q.m(b,
|
|
833
|
+
L[0] === "true" ? q ? q.p(L, G) : (q = ot(L), q.c(), q.m(b, K)) : q && (q.d(1), q = null), /*activebonusesbutton*/
|
|
834
834
|
L[1] === "true" ? D ? D.p(L, G) : (D = it(L), D.c(), D.m(b, null)) : D && (D.d(1), D = null), G[0] & /*isModalDisplayed*/
|
|
835
835
|
32 && J !== (J = "ModalContent " + /*isModalDisplayed*/
|
|
836
836
|
(L[5] ? "Open" : "")) && R(l, "class", J), G[0] & /*isModalDisplayed*/
|
|
@@ -857,7 +857,7 @@ function nt(s) {
|
|
|
857
857
|
/*balance*/
|
|
858
858
|
s[67]
|
|
859
859
|
) + ""
|
|
860
|
-
), B, h, S, O,
|
|
860
|
+
), B, h, S, O, W = (
|
|
861
861
|
/*formatBalance*/
|
|
862
862
|
s[11](
|
|
863
863
|
/*balance*/
|
|
@@ -866,7 +866,7 @@ function nt(s) {
|
|
|
866
866
|
), V;
|
|
867
867
|
return {
|
|
868
868
|
c() {
|
|
869
|
-
e = U("div"), t = U("p"), g = _e(p), c = me(), B = _e(l), h = me(), S = U("p"), O = U("span"), V = _e(
|
|
869
|
+
e = U("div"), t = U("p"), g = _e(p), c = me(), B = _e(l), h = me(), S = U("p"), O = U("span"), V = _e(W), R(t, "class", "BalanceModalText"), R(O, "class", "BalanceModalAmount"), R(S, "class", "BalanceModalValue"), R(e, "class", "BalanceModalRowLine");
|
|
870
870
|
},
|
|
871
871
|
m(A, b) {
|
|
872
872
|
ye(A, e, b), x(e, t), x(t, g), x(t, c), x(t, B), x(e, h), x(e, S), x(S, O), x(O, V);
|
|
@@ -883,11 +883,11 @@ function nt(s) {
|
|
|
883
883
|
/*balance*/
|
|
884
884
|
A[67]
|
|
885
885
|
) + "") && Ce(B, l), b[0] & /*balances*/
|
|
886
|
-
8 &&
|
|
886
|
+
8 && W !== (W = /*formatBalance*/
|
|
887
887
|
A[11](
|
|
888
888
|
/*balance*/
|
|
889
889
|
A[67].amount
|
|
890
|
-
) + "") && Ce(V,
|
|
890
|
+
) + "") && Ce(V, W);
|
|
891
891
|
},
|
|
892
892
|
d(A) {
|
|
893
893
|
A && ge(e);
|
|
@@ -1056,9 +1056,9 @@ function kt(s) {
|
|
|
1056
1056
|
function Mt(s, e, t) {
|
|
1057
1057
|
let p;
|
|
1058
1058
|
mt(s, gt, (a) => t(9, p = a));
|
|
1059
|
-
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl:
|
|
1059
|
+
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: W = "" } = e, { gmversion: V = "gm16" } = e, { displaybalanceoption: A = "All" } = e, { totalcalculationmode: b = "totalCashAmount" } = e, { primarybalancemode: P } = e, { balancelimitsbutton: be = "false" } = e, { activebonusesbutton: we = "false" } = e, { hideproducttype: Re = "" } = e, { shownegativebalance: K = "false" } = e, { currencylocale: J = "en" } = e, { currencydisplay: fe = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ce = "0" } = e, { customdisplayformat: ve = "" } = e, { alwaysshowdecimals: ae = "true" } = e, k, q, D = !0, L = !1, G = !1, H = !1, Te = !1, Be = window.navigator.userAgent, oe, ue = "", de = [], ne, Me = "0";
|
|
1060
1060
|
const i = {}, Ee = ["totalCashAmount", "totalRealAmount"], Xe = () => {
|
|
1061
|
-
fetch(
|
|
1061
|
+
fetch(W).then((a) => a.json()).then((a) => Object.keys(a).forEach((d) => Ze(d, a[d]))).catch((a) => console.log(a));
|
|
1062
1062
|
};
|
|
1063
1063
|
Object.keys(Je).forEach((a) => Ze(a, Je[a]));
|
|
1064
1064
|
const Le = (a) => {
|
|
@@ -1117,11 +1117,11 @@ function Mt(s, e, t) {
|
|
|
1117
1117
|
else if (F.toLowerCase() === "amount") {
|
|
1118
1118
|
let v = ",", E = ".", ie = 2;
|
|
1119
1119
|
I && (I[0] !== " " && (v = I[0]), I[1] !== " " && (E = I[1]), I[2] !== " " && !isNaN(Number(I[2])) && (ie = Number(I[2])));
|
|
1120
|
-
let [re,
|
|
1120
|
+
let [re, Ke] = String(Math.floor(a * 10 ** ie) / 10 ** ie).split(".");
|
|
1121
1121
|
f += re[0];
|
|
1122
1122
|
for (let he = 1; he < re.length; ++he)
|
|
1123
1123
|
(re.length - he) % 3 === 0 ? f += v + re[he] : f += re[he];
|
|
1124
|
-
let De =
|
|
1124
|
+
let De = Ke || "";
|
|
1125
1125
|
const Pe = ae === "true", Oe = Number(te);
|
|
1126
1126
|
if (Pe)
|
|
1127
1127
|
De = De.padEnd(Oe || 2, "0").substring(0, Oe);
|
|
@@ -1188,7 +1188,7 @@ function Mt(s, e, t) {
|
|
|
1188
1188
|
i.Real.length === 0 ? i.Real.push({ amount: v.amount }) : t(3, i.Real[0].amount += v.amount, i);
|
|
1189
1189
|
break;
|
|
1190
1190
|
case "RealNegativeRemainder":
|
|
1191
|
-
if (v.type === "RealNegativeRemainder" &&
|
|
1191
|
+
if (v.type === "RealNegativeRemainder" && K !== "true" || (v.creditLine && i.Credit.length === 0 && i.Credit.push({ amount: v.creditLine }), b === "totalRealAmount"))
|
|
1192
1192
|
continue;
|
|
1193
1193
|
i.Real.length === 0 ? i.Real.push({ amount: v.amount }) : t(3, i.Real[0].amount += v.amount, i);
|
|
1194
1194
|
break;
|
|
@@ -1229,7 +1229,7 @@ function Mt(s, e, t) {
|
|
|
1229
1229
|
});
|
|
1230
1230
|
break;
|
|
1231
1231
|
case "RealNegativeRemainder":
|
|
1232
|
-
if (v.type === "RealNegativeRemainder" &&
|
|
1232
|
+
if (v.type === "RealNegativeRemainder" && K !== "true")
|
|
1233
1233
|
continue;
|
|
1234
1234
|
v.creditLine && i.Credit.push({
|
|
1235
1235
|
amount: v.creditLine,
|
|
@@ -1257,7 +1257,7 @@ function Mt(s, e, t) {
|
|
|
1257
1257
|
a = new URL(`${l}/v2/player/${g}/information/updates`), d = (F) => n(F);
|
|
1258
1258
|
break;
|
|
1259
1259
|
case "gmcore":
|
|
1260
|
-
a = new URL(`${l}/v1/player/${g}/balance/updates`), d = (F) =>
|
|
1260
|
+
a = new URL(`${l}/v1/player/${g}/balance/updates`), d = (F) => We(F);
|
|
1261
1261
|
break;
|
|
1262
1262
|
}
|
|
1263
1263
|
const f = {
|
|
@@ -1274,7 +1274,7 @@ function Mt(s, e, t) {
|
|
|
1274
1274
|
return;
|
|
1275
1275
|
}
|
|
1276
1276
|
return d;
|
|
1277
|
-
},
|
|
1277
|
+
}, We = (a) => {
|
|
1278
1278
|
const d = Ue(a.data);
|
|
1279
1279
|
if (!d) {
|
|
1280
1280
|
$();
|
|
@@ -1305,7 +1305,7 @@ function Mt(s, e, t) {
|
|
|
1305
1305
|
let a = 0;
|
|
1306
1306
|
for (const f of ["Real", "Bonus"])
|
|
1307
1307
|
for (const y of i[f])
|
|
1308
|
-
|
|
1308
|
+
K === "true" ? a += y.amount : a += Math.max(y.amount, 0);
|
|
1309
1309
|
t(3, i.Total[0].amount = a, i);
|
|
1310
1310
|
break;
|
|
1311
1311
|
case "totalRealAmount":
|
|
@@ -1387,12 +1387,12 @@ function Mt(s, e, t) {
|
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
1389
|
return s.$$set = (a) => {
|
|
1390
|
-
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22,
|
|
1390
|
+
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22, W = a.translationurl), "gmversion" in a && t(23, V = a.gmversion), "displaybalanceoption" in a && t(24, A = a.displaybalanceoption), "totalcalculationmode" in a && t(14, b = a.totalcalculationmode), "primarybalancemode" in a && t(25, P = a.primarybalancemode), "balancelimitsbutton" in a && t(0, be = a.balancelimitsbutton), "activebonusesbutton" in a && t(1, we = a.activebonusesbutton), "hideproducttype" in a && t(26, Re = a.hideproducttype), "shownegativebalance" in a && t(27, K = a.shownegativebalance), "currencylocale" in a && t(28, J = a.currencylocale), "currencydisplay" in a && t(29, fe = a.currencydisplay), "maximumfractiondigits" in a && t(30, te = a.maximumfractiondigits), "minimumfractiondigits" in a && t(31, ce = a.minimumfractiondigits), "customdisplayformat" in a && t(32, ve = a.customdisplayformat), "alwaysshowdecimals" in a && t(33, ae = a.alwaysshowdecimals);
|
|
1391
1391
|
}, s.$$.update = () => {
|
|
1392
1392
|
s.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1393
1393
|
25657344 && l && g && c && B && V && A && w(), s.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1394
1394
|
8617984 && l && g && c && V && $(), s.$$.dirty[0] & /*translationurl*/
|
|
1395
|
-
4194304 &&
|
|
1395
|
+
4194304 && W && Xe(), s.$$.dirty[0] & /*balances*/
|
|
1396
1396
|
8 && i.Total && C(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1397
1397
|
1048580 && S && k && Tt(k, S), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1398
1398
|
2097156 && O && k && St(k, O), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1428,12 +1428,12 @@ function Mt(s, e, t) {
|
|
|
1428
1428
|
h,
|
|
1429
1429
|
S,
|
|
1430
1430
|
O,
|
|
1431
|
-
|
|
1431
|
+
W,
|
|
1432
1432
|
V,
|
|
1433
1433
|
A,
|
|
1434
1434
|
P,
|
|
1435
1435
|
Re,
|
|
1436
|
-
|
|
1436
|
+
K,
|
|
1437
1437
|
J,
|
|
1438
1438
|
fe,
|
|
1439
1439
|
te,
|