@everymatrix/casino-header-controller 1.46.1 → 1.47.1
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CasinoHamburgerMenu-BLnwex5I.js → CasinoHamburgerMenu-CmCkLB4F.js} +40 -45
- package/components/{CasinoHamburgerMenu-B0MV4RSB.cjs → CasinoHamburgerMenu-D6xfwroF.cjs} +4 -4
- package/components/{CasinoHeaderController-BVr_q9Vp.js → CasinoHeaderController-DAO7jv0Y.js} +717 -716
- package/components/CasinoHeaderController-DxmP4ePL.cjs +13 -0
- package/components/{CasinoSlider-Cnzis9s1.cjs → CasinoSlider-CFjBjxHs.cjs} +1 -1
- package/components/{CasinoSlider-C4IgBaEw.js → CasinoSlider-DcdD-Py4.js} +33 -33
- package/components/{PlayerAccountBalanceModal-3z_EZKxf.js → PlayerAccountBalanceModal-D_7mxRRa.js} +74 -74
- package/components/{PlayerAccountBalanceModal-HFQ5gcqb.cjs → PlayerAccountBalanceModal-PHlPdidE.cjs} +1 -1
- package/components/{PlayerDeposit-DvSu-Mhc.cjs → PlayerDeposit-DFlkKPaF.cjs} +1 -1
- package/components/{PlayerDeposit-BF-HVwV0.js → PlayerDeposit-DivG_9y4.js} +33 -33
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/package.json +3 -2
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-04d3e726-Bk7opmvq.cjs +1 -0
- package/stencil/index-04d3e726-Dp8kKTwx.js +580 -0
- package/stencil/user-deposit-withdrawal-BiyOoXm8.js +242 -0
- package/stencil/user-deposit-withdrawal-CsuWz3w0.cjs +59 -0
- package/components/CasinoHeaderController-BNRLOF6n.cjs +0 -13
package/components/{PlayerAccountBalanceModal-3z_EZKxf.js → PlayerAccountBalanceModal-D_7mxRRa.js}
RENAMED
@@ -26,7 +26,7 @@ var tt = (o, e, t) => new Promise((r, c) => {
|
|
26
26
|
}, f = (m) => m.done ? r(m.value) : Promise.resolve(m.value).then(u, g);
|
27
27
|
f((t = t.apply(o, e)).next());
|
28
28
|
});
|
29
|
-
import { b as wt, $ as bt,
|
29
|
+
import { b as wt, $ as bt, L as Tt, S as Ct, i as Bt, f as J, c as St, s as _t, d as At, g as N, e as oe, u as V, j as fe, v as R, n as qe, k as pe, l as Rt, o as Et, w as Ve, p as xt, t as ue, B as Dt, x as de, r as je, y as ut, z as Lt, D as Mt } from "./CasinoHamburgerMenu-CmCkLB4F.js";
|
30
30
|
function nt(o, e) {
|
31
31
|
wt(o, e);
|
32
32
|
}
|
@@ -289,8 +289,8 @@ var We = { exports: {} };
|
|
289
289
|
return 3;
|
290
290
|
throw new Error();
|
291
291
|
}
|
292
|
-
for (var i = 65533, s = "", h = this.bitsNeeded, w = this.codePoint,
|
293
|
-
var S = n[
|
292
|
+
for (var i = 65533, s = "", h = this.bitsNeeded, w = this.codePoint, k = 0; k < n.length; k += 1) {
|
293
|
+
var S = n[k];
|
294
294
|
h !== 0 && (S < 128 || S > 191 || !a(w << 6 | S & 63, h - 6, l(h, w))) && (h = 0, w = i, s += String.fromCharCode(w)), h === 0 ? (S >= 0 && S <= 127 ? (h = 0, w = S) : S >= 192 && S <= 223 ? (h = 6 * 1, w = S & 31) : S >= 224 && S <= 239 ? (h = 6 * 2, w = S & 15) : S >= 240 && S <= 247 ? (h = 6 * 3, w = S & 7) : (h = 0, w = i), h !== 0 && !a(w, h, l(h, w)) && (h = 0, w = i)) : (h -= 6, w = w << 6 | S & 63), h === 0 && (w <= 65535 ? s += String.fromCharCode(w) : (s += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), s += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
|
295
295
|
}
|
296
296
|
return this.bitsNeeded = h, this.codePoint = w, s;
|
@@ -317,47 +317,47 @@ var We = { exports: {} };
|
|
317
317
|
};
|
318
318
|
var w = function() {
|
319
319
|
if (s === 1) {
|
320
|
-
var v = 0,
|
320
|
+
var v = 0, O = "", ie = void 0;
|
321
321
|
if ("contentType" in i)
|
322
|
-
v = 200,
|
322
|
+
v = 200, O = "OK", ie = i.contentType;
|
323
323
|
else
|
324
324
|
try {
|
325
|
-
v = i.status,
|
325
|
+
v = i.status, O = i.statusText, ie = i.getResponseHeader("Content-Type");
|
326
326
|
} catch (Le) {
|
327
|
-
v = 0,
|
327
|
+
v = 0, O = "", ie = void 0;
|
328
328
|
}
|
329
|
-
v !== 0 && (s = 2, l.readyState = 2, l.status = v, l.statusText =
|
329
|
+
v !== 0 && (s = 2, l.readyState = 2, l.status = v, l.statusText = O, l._contentType = ie, l.onreadystatechange());
|
330
330
|
}
|
331
|
-
},
|
331
|
+
}, k = function() {
|
332
332
|
if (w(), s === 2 || s === 3) {
|
333
333
|
s = 3;
|
334
334
|
var v = "";
|
335
335
|
try {
|
336
336
|
v = i.responseText;
|
337
|
-
} catch (
|
337
|
+
} catch (O) {
|
338
338
|
}
|
339
339
|
l.readyState = 3, l.responseText = v, l.onprogress();
|
340
340
|
}
|
341
|
-
}, S = function(v,
|
342
|
-
if ((
|
341
|
+
}, S = function(v, O) {
|
342
|
+
if ((O == null || O.preventDefault == null) && (O = {
|
343
343
|
preventDefault: B
|
344
|
-
}),
|
344
|
+
}), k(), s === 1 || s === 2 || s === 3) {
|
345
345
|
if (s = 4, h !== 0 && (c(h), h = 0), l.readyState = 4, v === "load")
|
346
|
-
l.onload(
|
346
|
+
l.onload(O);
|
347
347
|
else if (v === "error")
|
348
|
-
l.onerror(
|
348
|
+
l.onerror(O);
|
349
349
|
else if (v === "abort")
|
350
|
-
l.onabort(
|
350
|
+
l.onabort(O);
|
351
351
|
else
|
352
352
|
throw new TypeError();
|
353
353
|
l.onreadystatechange();
|
354
354
|
}
|
355
355
|
}, E = function(v) {
|
356
|
-
i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) && S(i.responseText === "" ? "error" : "load", v) : i.readyState === 3 ? "onprogress" in i ||
|
356
|
+
i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) && S(i.responseText === "" ? "error" : "load", v) : i.readyState === 3 ? "onprogress" in i || k() : i.readyState === 2 && w());
|
357
357
|
}, L = function() {
|
358
358
|
h = r(function() {
|
359
359
|
L();
|
360
|
-
}, 500), i.readyState === 3 &&
|
360
|
+
}, 500), i.readyState === 3 && k();
|
361
361
|
};
|
362
362
|
"onload" in i && (i.onload = function(v) {
|
363
363
|
S("load", v);
|
@@ -365,7 +365,7 @@ var We = { exports: {} };
|
|
365
365
|
S("error", v);
|
366
366
|
}), "onabort" in i && (i.onabort = function(v) {
|
367
367
|
S("abort", v);
|
368
|
-
}), "onprogress" in i && (i.onprogress =
|
368
|
+
}), "onprogress" in i && (i.onprogress = k), "onreadystatechange" in i && (i.onreadystatechange = function(v) {
|
369
369
|
E(v);
|
370
370
|
}), ("contentType" in i || !("ontimeout" in u.prototype)) && (a += (a.indexOf("?") === -1 ? "?" : "&") + "padding=true"), i.open(n, a, !0), "readyState" in i && (h = r(function() {
|
371
371
|
L();
|
@@ -403,8 +403,8 @@ var We = { exports: {} };
|
|
403
403
|
function D(n) {
|
404
404
|
for (var a = /* @__PURE__ */ Object.create(null), l = n.split(`\r
|
405
405
|
`), i = 0; i < l.length; i += 1) {
|
406
|
-
var s = l[i], h = s.split(": "), w = h.shift(),
|
407
|
-
a[G(w)] =
|
406
|
+
var s = l[i], h = s.split(": "), w = h.shift(), k = h.join(": ");
|
407
|
+
a[G(w)] = k;
|
408
408
|
}
|
409
409
|
this._map = a;
|
410
410
|
}
|
@@ -415,10 +415,10 @@ var We = { exports: {} };
|
|
415
415
|
}
|
416
416
|
W.prototype.open = function(n, a, l, i, s, h, w) {
|
417
417
|
n.open("GET", s);
|
418
|
-
var
|
418
|
+
var k = 0;
|
419
419
|
n.onprogress = function() {
|
420
|
-
var E = n.responseText, L = E.slice(
|
421
|
-
|
420
|
+
var E = n.responseText, L = E.slice(k);
|
421
|
+
k += L.length, l(L);
|
422
422
|
}, n.onerror = function(E) {
|
423
423
|
E.preventDefault(), i(new Error("NetworkError"));
|
424
424
|
}, n.onload = function() {
|
@@ -427,8 +427,8 @@ var We = { exports: {} };
|
|
427
427
|
i(null);
|
428
428
|
}, n.onreadystatechange = function() {
|
429
429
|
if (n.readyState === u.HEADERS_RECEIVED) {
|
430
|
-
var E = n.status, L = n.statusText, v = n.getResponseHeader("Content-Type"),
|
431
|
-
a(E, L, v, new D(
|
430
|
+
var E = n.status, L = n.statusText, v = n.getResponseHeader("Content-Type"), O = n.getAllResponseHeaders();
|
431
|
+
a(E, L, v, new D(O));
|
432
432
|
}
|
433
433
|
}, n.withCredentials = h;
|
434
434
|
for (var S in w)
|
@@ -444,18 +444,18 @@ var We = { exports: {} };
|
|
444
444
|
function me() {
|
445
445
|
}
|
446
446
|
me.prototype.open = function(n, a, l, i, s, h, w) {
|
447
|
-
var
|
447
|
+
var k = null, S = new U(), E = S.signal, L = new C();
|
448
448
|
return F(s, {
|
449
449
|
headers: w,
|
450
450
|
credentials: h ? "include" : "same-origin",
|
451
451
|
signal: E,
|
452
452
|
cache: "no-store"
|
453
453
|
}).then(function(v) {
|
454
|
-
return
|
454
|
+
return k = v.body.getReader(), a(v.status, v.statusText, v.headers.get("Content-Type"), new he(v.headers)), new x(function(O, ie) {
|
455
455
|
var Le = function() {
|
456
|
-
|
456
|
+
k.read().then(function(Q) {
|
457
457
|
if (Q.done)
|
458
|
-
|
458
|
+
O(void 0);
|
459
459
|
else {
|
460
460
|
var X = L.decode(Q.value, { stream: !0 });
|
461
461
|
l(X), Le();
|
@@ -473,7 +473,7 @@ var We = { exports: {} };
|
|
473
473
|
i(v);
|
474
474
|
}), {
|
475
475
|
abort: function() {
|
476
|
-
|
476
|
+
k != null && k.cancel(), S.abort();
|
477
477
|
}
|
478
478
|
};
|
479
479
|
};
|
@@ -528,11 +528,11 @@ var We = { exports: {} };
|
|
528
528
|
ye.call(this, n), this.error = a.error;
|
529
529
|
}
|
530
530
|
Fe.prototype = Object.create(ye.prototype);
|
531
|
-
var Ae = -1, ee = 0, re = 1, we = 2, be = -1, te = 0, Re = 1, Ee = 2, He = 3, ze = /^text\/event\-stream(;.*)?$/i,
|
531
|
+
var Ae = -1, ee = 0, re = 1, we = 2, be = -1, te = 0, Re = 1, Ee = 2, He = 3, ze = /^text\/event\-stream(;.*)?$/i, ke = 1e3, Ue = 18e6, xe = function(n, a) {
|
532
532
|
var l = n == null ? a : parseInt(n, 10);
|
533
533
|
return l !== l && (l = a), De(l);
|
534
534
|
}, De = function(n) {
|
535
|
-
return Math.min(Math.max(n,
|
535
|
+
return Math.min(Math.max(n, ke), Ue);
|
536
536
|
}, ve = function(n, a, l) {
|
537
537
|
try {
|
538
538
|
typeof a == "function" && a.call(n, l);
|
@@ -549,25 +549,25 @@ var We = { exports: {} };
|
|
549
549
|
var Ge = F != null && T != null && "body" in T.prototype;
|
550
550
|
function d(n, a, l) {
|
551
551
|
a = String(a);
|
552
|
-
var i = !!l.withCredentials, s = l.lastEventIdQueryParameterName || "lastEventId", h = De(1e3), w = xe(l.heartbeatTimeout, 45e3),
|
552
|
+
var i = !!l.withCredentials, s = l.lastEventIdQueryParameterName || "lastEventId", h = De(1e3), w = xe(l.heartbeatTimeout, 45e3), k = "", S = h, E = !1, L = 0, v = l.headers || {}, O = l.Transport, ie = Ge && O == null ? void 0 : new A(O != null ? new O() : Pe()), Le = O != null && typeof O != "string" ? new O() : ie == null ? new me() : new W(), Q = void 0, X = 0, ne = Ae, Ce = "", Oe = "", se = "", Ne = "", K = te, Xe = 0, Te = 0, ft = function(j, I, Z, $) {
|
553
553
|
if (ne === ee)
|
554
554
|
if (j === 200 && Z != null && ze.test(Z)) {
|
555
555
|
ne = re, E = Date.now(), S = h, n.readyState = re;
|
556
|
-
var
|
556
|
+
var q = new _e("open", {
|
557
557
|
status: j,
|
558
558
|
statusText: I,
|
559
559
|
headers: $
|
560
560
|
});
|
561
|
-
n.dispatchEvent(
|
561
|
+
n.dispatchEvent(q), ve(n, n.onopen, q);
|
562
562
|
} else {
|
563
563
|
var z = "";
|
564
|
-
j !== 200 ? (I && (I = I.replace(/\s+/g, " ")), z = "EventSource's response has a status " + j + " " + I + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (Z == null ? "-" : Z.replace(/\s+/g, " ")) + ". Aborting the connection.",
|
565
|
-
var
|
564
|
+
j !== 200 ? (I && (I = I.replace(/\s+/g, " ")), z = "EventSource's response has a status " + j + " " + I + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (Z == null ? "-" : Z.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
|
565
|
+
var q = new _e("error", {
|
566
566
|
status: j,
|
567
567
|
statusText: I,
|
568
568
|
headers: $
|
569
569
|
});
|
570
|
-
n.dispatchEvent(
|
570
|
+
n.dispatchEvent(q), ve(n, n.onerror, q), console.error(z);
|
571
571
|
}
|
572
572
|
}, pt = function(j) {
|
573
573
|
if (ne === re) {
|
@@ -575,36 +575,36 @@ var We = { exports: {} };
|
|
575
575
|
var $ = j.charCodeAt(Z);
|
576
576
|
($ === 10 || $ === 13) && (I = Z);
|
577
577
|
}
|
578
|
-
var
|
578
|
+
var q = (I !== -1 ? Ne : "") + j.slice(0, I + 1);
|
579
579
|
Ne = (I === -1 ? Ne : "") + j.slice(I + 1), j !== "" && (E = Date.now(), L += j.length);
|
580
|
-
for (var z = 0; z <
|
581
|
-
var $ =
|
582
|
-
if (
|
583
|
-
|
584
|
-
else if (
|
585
|
-
if (
|
586
|
-
|
587
|
-
var le =
|
580
|
+
for (var z = 0; z < q.length; z += 1) {
|
581
|
+
var $ = q.charCodeAt(z);
|
582
|
+
if (K === be && $ === 10)
|
583
|
+
K = te;
|
584
|
+
else if (K === be && (K = te), $ === 13 || $ === 10) {
|
585
|
+
if (K !== te) {
|
586
|
+
K === Re && (Te = z + 1);
|
587
|
+
var le = q.slice(Xe, Te - 1), ce = q.slice(Te + (Te < z && q.charCodeAt(Te) === 32 ? 1 : 0), z);
|
588
588
|
le === "data" ? (Ce += `
|
589
|
-
`, Ce += ce) : le === "id" ?
|
589
|
+
`, Ce += ce) : le === "id" ? Oe = ce : le === "event" ? se = ce : le === "retry" ? (h = xe(ce, h), S = h) : le === "heartbeatTimeout" && (w = xe(ce, w), X !== 0 && (c(X), X = r(function() {
|
590
590
|
Me();
|
591
591
|
}, w)));
|
592
592
|
}
|
593
|
-
if (
|
593
|
+
if (K === te) {
|
594
594
|
if (Ce !== "") {
|
595
|
-
|
595
|
+
k = Oe, se === "" && (se = "message");
|
596
596
|
var Be = new Se(se, {
|
597
597
|
data: Ce.slice(1),
|
598
|
-
lastEventId:
|
598
|
+
lastEventId: Oe
|
599
599
|
});
|
600
600
|
if (n.dispatchEvent(Be), se === "open" ? ve(n, n.onopen, Be) : se === "message" ? ve(n, n.onmessage, Be) : se === "error" && ve(n, n.onerror, Be), ne === we)
|
601
601
|
return;
|
602
602
|
}
|
603
603
|
Ce = "", se = "";
|
604
604
|
}
|
605
|
-
|
605
|
+
K = $ === 13 ? be : te;
|
606
606
|
} else
|
607
|
-
|
607
|
+
K === te && (Xe = z, K = Re), K === Re ? $ === 58 && (Te = z + 1, K = Ee) : K === Ee && (K = He);
|
608
608
|
}
|
609
609
|
}
|
610
610
|
}, Ye = function(j) {
|
@@ -615,7 +615,7 @@ var We = { exports: {} };
|
|
615
615
|
var I = new Fe("error", { error: j });
|
616
616
|
n.dispatchEvent(I), ve(n, n.onerror, I), j != null && console.error(j);
|
617
617
|
}
|
618
|
-
},
|
618
|
+
}, Ke = function() {
|
619
619
|
ne = we, Q != null && (Q.abort(), Q = void 0), X !== 0 && (c(X), X = 0), n.readyState = we;
|
620
620
|
}, Me = function() {
|
621
621
|
if (X = 0, ne !== Ae) {
|
@@ -631,27 +631,27 @@ var We = { exports: {} };
|
|
631
631
|
}
|
632
632
|
E = !1, L = 0, X = r(function() {
|
633
633
|
Me();
|
634
|
-
}, w), ne = ee, Ce = "", se = "",
|
634
|
+
}, w), ne = ee, Ce = "", se = "", Oe = k, Ne = "", Xe = 0, Te = 0, K = te;
|
635
635
|
var I = a;
|
636
|
-
if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" &&
|
636
|
+
if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && k !== "") {
|
637
637
|
var Z = a.indexOf("?");
|
638
638
|
I = Z === -1 ? a : a.slice(0, Z + 1) + a.slice(Z + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ce, Be) {
|
639
639
|
return Be === s ? "" : ce;
|
640
|
-
}), I += (a.indexOf("?") === -1 ? "?" : "&") + s + "=" + encodeURIComponent(
|
640
|
+
}), I += (a.indexOf("?") === -1 ? "?" : "&") + s + "=" + encodeURIComponent(k);
|
641
641
|
}
|
642
|
-
var $ = n.withCredentials,
|
643
|
-
|
642
|
+
var $ = n.withCredentials, q = {};
|
643
|
+
q.Accept = "text/event-stream";
|
644
644
|
var z = n.headers;
|
645
645
|
if (z != null)
|
646
646
|
for (var le in z)
|
647
|
-
Object.prototype.hasOwnProperty.call(z, le) && (
|
647
|
+
Object.prototype.hasOwnProperty.call(z, le) && (q[le] = z[le]);
|
648
648
|
try {
|
649
|
-
Q = Le.open(ie, ft, pt, Ye, I, $,
|
649
|
+
Q = Le.open(ie, ft, pt, Ye, I, $, q);
|
650
650
|
} catch (ce) {
|
651
|
-
throw
|
651
|
+
throw Ke(), ce;
|
652
652
|
}
|
653
653
|
};
|
654
|
-
n.url = a, n.readyState = ee, n.withCredentials = i, n.headers = v, n._close =
|
654
|
+
n.url = a, n.readyState = ee, n.withCredentials = i, n.headers = v, n._close = Ke, Me();
|
655
655
|
}
|
656
656
|
Y.prototype = Object.create(p.prototype), Y.prototype.CONNECTING = ee, Y.prototype.OPEN = re, Y.prototype.CLOSED = we, Y.prototype.close = function() {
|
657
657
|
this._close();
|
@@ -667,7 +667,7 @@ var We = { exports: {} };
|
|
667
667
|
});
|
668
668
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Tt : globalThis);
|
669
669
|
})(We, We.exports);
|
670
|
-
var
|
670
|
+
var kt = We.exports;
|
671
671
|
/*!
|
672
672
|
* currency.js - v2.0.4
|
673
673
|
* http://scurker.github.io/currency.js
|
@@ -675,7 +675,7 @@ var Ot = We.exports;
|
|
675
675
|
* Copyright (c) 2021 Jason Wilson
|
676
676
|
* Released under MIT license
|
677
677
|
*/
|
678
|
-
var
|
678
|
+
var Ot = {
|
679
679
|
symbol: "$",
|
680
680
|
separator: ",",
|
681
681
|
decimal: ".",
|
@@ -696,7 +696,7 @@ function ae(o, e) {
|
|
696
696
|
var t = this;
|
697
697
|
if (!(t instanceof ae))
|
698
698
|
return new ae(o, e);
|
699
|
-
var r = Object.assign({},
|
699
|
+
var r = Object.assign({}, Ot, e), c = Je(r.precision), u = Ie(o, r);
|
700
700
|
t.intValue = u, t.value = u / c, r.increment = r.increment || 1 / c, r.useVedic ? r.groups = Vt : r.groups = It, this.s = r, this.p = c;
|
701
701
|
}
|
702
702
|
function Ie(o, e) {
|
@@ -1091,7 +1091,7 @@ function ct(o) {
|
|
1091
1091
|
o[25]
|
1092
1092
|
), t = !0);
|
1093
1093
|
},
|
1094
|
-
p:
|
1094
|
+
p: qe,
|
1095
1095
|
d(c) {
|
1096
1096
|
c && pe(e), t = !1, r();
|
1097
1097
|
}
|
@@ -1120,8 +1120,8 @@ function Pt(o) {
|
|
1120
1120
|
u === (u = c(m)) && g ? g.p(m, y) : (g.d(1), g = u(m), g && (g.c(), g.m(t, null))), /*showBalance*/
|
1121
1121
|
m[2] ? f ? f.p(m, y) : (f = ct(m), f.c(), f.m(e, null)) : f && (f.d(1), f = null);
|
1122
1122
|
},
|
1123
|
-
i:
|
1124
|
-
o:
|
1123
|
+
i: qe,
|
1124
|
+
o: qe,
|
1125
1125
|
d(m) {
|
1126
1126
|
m && pe(e), g.d(), f && f.d(), o[26](null);
|
1127
1127
|
}
|
@@ -1261,7 +1261,7 @@ function Gt(o, e, t) {
|
|
1261
1261
|
const n = {
|
1262
1262
|
accept: "text/event-stream",
|
1263
1263
|
"X-SessionId": u
|
1264
|
-
}, a = new
|
1264
|
+
}, a = new kt.EventSourcePolyfill(d, { headers: n });
|
1265
1265
|
A = a, a.addEventListener("message", b);
|
1266
1266
|
}, re = (d) => {
|
1267
1267
|
let b;
|
@@ -1347,7 +1347,7 @@ function Gt(o, e, t) {
|
|
1347
1347
|
default:
|
1348
1348
|
throw Error(`Invalid apiversion attribute: ${T}`);
|
1349
1349
|
}
|
1350
|
-
},
|
1350
|
+
}, ke = (d) => d.data && d.data.type === "LogoutSuccessfull" && A.close(), Ue = () => {
|
1351
1351
|
const d = document.createElement("style");
|
1352
1352
|
d.innerHTML = m, B.appendChild(d);
|
1353
1353
|
}, xe = () => {
|
@@ -1361,8 +1361,8 @@ function Gt(o, e, t) {
|
|
1361
1361
|
);
|
1362
1362
|
});
|
1363
1363
|
};
|
1364
|
-
Et(() => (window.addEventListener("message",
|
1365
|
-
window.removeEventListener("message",
|
1364
|
+
Et(() => (window.addEventListener("message", ke, !1), () => {
|
1365
|
+
window.removeEventListener("message", ke), A && A.close();
|
1366
1366
|
}));
|
1367
1367
|
const De = () => t(2, G = !0), ve = () => t(2, G = !1), Y = () => Ee(), Pe = () => t(2, G = !1);
|
1368
1368
|
function Ge(d) {
|
package/components/{PlayerAccountBalanceModal-HFQ5gcqb.cjs → PlayerAccountBalanceModal-PHlPdidE.cjs}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var at=Object.defineProperty,rt=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var ze=(o,e,n)=>e in o?at(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Ue=(o,e)=>{for(var n in e||(e={}))it.call(e,n)&&ze(o,n,e[n]);if(He)for(var n of He(e))st.call(e,n)&&ze(o,n,e[n]);return o},Pe=(o,e)=>rt(o,ot(e));var Ge=(o,e,n)=>new Promise((i,d)=>{var u=g=>{try{p(n.next(g))}catch(v){d(v)}},y=g=>{try{p(n.throw(g))}catch(v){d(v)}},p=g=>g.done?i(g.value):Promise.resolve(g.value).then(u,y);p((n=n.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoHamburgerMenu-
|
1
|
+
"use strict";var at=Object.defineProperty,rt=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var ze=(o,e,n)=>e in o?at(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Ue=(o,e)=>{for(var n in e||(e={}))it.call(e,n)&&ze(o,n,e[n]);if(He)for(var n of He(e))st.call(e,n)&&ze(o,n,e[n]);return o},Pe=(o,e)=>rt(o,ot(e));var Ge=(o,e,n)=>new Promise((i,d)=>{var u=g=>{try{p(n.next(g))}catch(v){d(v)}},y=g=>{try{p(n.throw(g))}catch(v){d(v)}},p=g=>g.done?i(g.value):Promise.resolve(g.value).then(u,y);p((n=n.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoHamburgerMenu-D6xfwroF.cjs");function Xe(o,e){t.addMessages(o,e)}function lt(o){t.$locale.set(o)}const qe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."}};var Ie={exports:{}};/** @license
|
2
2
|
* eventsource.js
|
3
3
|
* Available under MIT License (MIT)
|
4
4
|
* https://github.com/Yaffle/EventSource/
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-D6xfwroF.cjs");function x(n,t){e.addMessages(n,t)}function j(n){e.$locale.set(n)}const L={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function A(n){e.append_styles(n,"svelte-141ijwb","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function W(n){let t,a,l,r,c,m,p,h,f,o,s=n[4]("titleDeposit")+"",d,w,b;return{c(){t=e.element("div"),a=e.svg_element("svg"),l=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),p=e.svg_element("g"),h=e.svg_element("path"),f=e.space(),o=e.element("h2"),d=e.text(s),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(p,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(u,D){e.insert(u,t,D),e.append(t,a),e.append(a,l),e.append(l,r),e.append(r,c),e.append(a,m),e.append(m,p),e.append(p,h),e.append(t,f),e.append(t,o),e.append(o,d),w||(b=e.listen(t,"click",n[17]),w=!0)},p(u,D){D&16&&s!==(s=u[4]("titleDeposit")+"")&&e.set_data(d,s)},d(u){u&&e.detach(t),w=!1,b()}}}function z(n){let t,a,l;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,l=n[3])||e.attr(a,"src",l),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,l=r[3])&&e.attr(a,"src",l)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,l)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(l,a)},d(r){r&&e.detach(t)}}}function q(n){let t,a,l,r=n[4]("titleDeposit")+"",c,m,p=n[5]&&W(n);function h(s,d){return s[1]?G:z}let f=h(n),o=f(n);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),l=e.element("h2"),c=e.text(r),m=e.space(),o.c(),e.attr(l,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,d){e.insert(s,t,d),p&&p.m(t,null),e.append(t,a),e.append(t,l),e.append(l,c),e.append(t,m),o.m(t,null),n[18](t)},p(s,[d]){s[5]&&p.p(s,d),d&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=h(s))&&o?o.p(s,d):(o.d(1),o=f(s),o&&(o.c(),o.m(t,null))),d&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),p&&p.d(),o.d(),n[18](null)}}}function N(n,t,a){let l,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:p=""}=t,{lang:h="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:o=""}=t,{clientstylingurl:s=""}=t,{translationurl:d=""}=t,{playercurrency:w=""}=t,{shortcashierenabled:b="false"}=t,u,D=window.navigator.userAgent,v=e.getDevice(D)!=="PC",M=!0,C,_=0,k="";const R=()=>{fetch(d).then(y=>y.json()).then(y=>{Object.keys(y).forEach(g=>{x(g,y[g])})}).catch(y=>{console.log(y)})};Object.keys(L).forEach(i=>{x(i,L[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},T=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,w=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,C=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},B=()=>{let i=new URL(`${c}/v1/player/${p}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",h),l&&i.searchParams.append("isShortCashier",b),f)switch(w){case"USD":_=.4;break;case"CDF":_=1e3;break}let y={method:"POST",headers:{"X-SessionId":m,currency:w||"EUR",amount:_,cashierMode:"Default",IsShortCashier:b,accept:"application/json"}};fetch(i.href,y).then(g=>g.json()).then(g=>{a(1,M=!1),a(3,k=g.CashierUrl)},g=>{console.error(g)})},H=()=>{j(h)},P=()=>{let i=document.createElement("style");i.innerHTML=o,u.appendChild(i)},U=()=>{let i=new URL(s),y=document.createElement("style");fetch(i.href).then(g=>g.text()).then(g=>{y.innerHTML=g,setTimeout(()=>{u.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}));const F=()=>S();function I(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,a(0,u)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,p=i.playerid),"lang"in i&&a(11,h=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,o=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,d=i.translationurl),"playercurrency"in i&&a(7,w=i.playercurrency),"shortcashierenabled"in i&&a(16,b=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&h&&H(),n.$$.dirty&65536&&(l=b.toLocaleLowerCase()==="true"),n.$$.dirty&16385&&s&&u&&U(),n.$$.dirty&8193&&o&&u&&P(),n.$$.dirty&32768&&d&&R(),n.$$.dirty&69504&&m&&p&&c&&w&&h&&b&&B()},[u,M,C,k,r,v,S,w,c,m,p,h,f,o,s,d,b,F,I]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},A)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(E,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{},shortcashierenabled:{}},[],[],!0);exports.default=E;
|