@everymatrix/casino-header-controller-nd 1.76.0 → 1.76.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-A1rbyIlh.js → CasinoHamburgerMenuNd-BChdIQNC.js} +1037 -1072
- package/components/CasinoHamburgerMenuNd-ClXsTIT_.cjs +18 -0
- package/components/{CasinoHamburgerMenuNd-BbLVzDLA.js → CasinoHamburgerMenuNd-t6IxCiGz.js} +1029 -1064
- package/components/{CasinoHeaderControllerNd-BZ4hl5VU.cjs → CasinoHeaderControllerNd-BaC282Iy.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-Y0iH2fty.js → CasinoHeaderControllerNd-Da9GJ07i.js} +135 -135
- package/components/{CasinoHeaderControllerNd-DIWidaLF.js → CasinoHeaderControllerNd-p5onPhnt.js} +119 -119
- package/components/{PlayerAccountBalanceModalNd-Cygfal3S.js → PlayerAccountBalanceModalNd-Bc4_gH4P.js} +108 -108
- package/components/{PlayerAccountBalanceModalNd-DUPCtK5p.cjs → PlayerAccountBalanceModalNd-CaK5s63o.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-ggP_eQuJ.js → PlayerAccountBalanceModalNd-DDcloIRo.js} +63 -63
- package/components/{PlayerDeposit-DCiULSav.cjs → PlayerDeposit-BhaHklVX.cjs} +1 -1
- package/components/{PlayerDeposit-BPhFbd8a.js → PlayerDeposit-DHqXm2Ye.js} +40 -40
- package/components/{PlayerDeposit-DcwySzWb.js → PlayerDeposit-DX3dmUgr.js} +40 -40
- 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-60536faa-CdoDh_iS.js → gamification-dropdown-60536faa-C4Bt9SsA.js} +1 -1
- package/stencil/{gamification-dropdown-60536faa-jADsXxs4.cjs → gamification-dropdown-60536faa-DASClLsG.cjs} +1 -1
- package/stencil/{gamification-dropdown-60536faa-ByoQkowS.js → gamification-dropdown-60536faa-a9fhneJS.js} +1 -1
- package/stencil/{gamification-dropdown-DSqqyaTZ.js → gamification-dropdown-C94WUKJw.js} +1 -1
- package/stencil/{gamification-dropdown-aHzwtOKn.cjs → gamification-dropdown-CHISLJWw.cjs} +1 -1
- package/stencil/{gamification-dropdown-CMVnOpVS.js → gamification-dropdown-DM8ZypvI.js} +1 -1
- package/stencil/{gamification-dropdown_4-0STJmTu3.js → gamification-dropdown_4-DcfTNvW3.js} +4 -4
- package/stencil/{gamification-dropdown_4-wVf8PnId.cjs → gamification-dropdown_4-DvpNN67k.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-Cn2nDa12.js → gamification-dropdown_4-DxutrN1l.js} +4 -4
- package/stencil/{index-71b1bdfa-DWJfvSms.js → index-71b1bdfa-BF1FhHvP.js} +226 -226
- package/stencil/{index-71b1bdfa-CqsRB5Zq.js → index-71b1bdfa-CsAz1pRT.js} +235 -235
- package/stencil/index-71b1bdfa-CvQLI6L6.cjs +1 -0
- package/stencil/{player-elevate-card-D_AqKh09.js → player-elevate-card-CV-QotRL.js} +2 -2
- package/stencil/{player-elevate-card-C_bGjWZ4.cjs → player-elevate-card-DGldgGzV.cjs} +1 -1
- package/stencil/{player-elevate-card-DV79k_97.js → player-elevate-card-Dk8IKGFM.js} +2 -2
- package/stencil/{player-elevate-card-items-08c6fbd8-DDaPFpxz.js → player-elevate-card-items-08c6fbd8-D2InzLdw.js} +294 -292
- package/stencil/{player-elevate-card-items-08c6fbd8-CKjKj8rt.js → player-elevate-card-items-08c6fbd8-DWYJG2Sw.js} +294 -292
- package/stencil/player-elevate-card-items-08c6fbd8-jkH5ihgE.cjs +102 -0
- package/stencil/{player-elevate-pointcard-BXLJdcos.js → player-elevate-pointcard-BZEQfMrQ.js} +2 -2
- package/stencil/{player-elevate-pointcard-BAE3Vgzi.js → player-elevate-pointcard-CFB0v64P.js} +2 -2
- package/stencil/{player-elevate-pointcard-vC-WI2he.cjs → player-elevate-pointcard-Kd_hq4Sx.cjs} +1 -1
- package/stencil/{player-rakeback-card-Cj3yH6EJ.js → player-rakeback-card-BLuEtn4-.js} +1 -1
- package/stencil/{player-rakeback-card-DZVQyKwK.cjs → player-rakeback-card-B_0uBE6g.cjs} +1 -1
- package/stencil/{player-rakeback-card-Ca3Pjwd4.js → player-rakeback-card-DV2irTYH.js} +1 -1
- package/components/CasinoHamburgerMenuNd-DAYnP-8N.cjs +0 -18
- package/stencil/index-71b1bdfa-aT2URAOG.cjs +0 -1
- package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +0 -102
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Ne=Math.pow,He=(l,t,n)=>t in l?et(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,ze=(l,t)=>{for(var n in t||(t={}))nt.call(t,n)&&He(l,n,t[n]);if(je)for(var n of je(t))ot.call(t,n)&&He(l,n,t[n]);return l},Ve=(l,t)=>tt(l,at(t));var Ue=(l,t,n)=>new Promise((b,g)=>{var u=B=>{try{y(n.next(B))}catch(T){g(T)}},S=B=>{try{y(n.throw(B))}catch(T){g(T)}},y=B=>B.done?b(B.value):Promise.resolve(B.value).then(u,S);y((n=n.apply(l,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Ne=Math.pow,He=(l,t,n)=>t in l?et(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,ze=(l,t)=>{for(var n in t||(t={}))nt.call(t,n)&&He(l,n,t[n]);if(je)for(var n of je(t))ot.call(t,n)&&He(l,n,t[n]);return l},Ve=(l,t)=>tt(l,at(t));var Ue=(l,t,n)=>new Promise((b,g)=>{var u=B=>{try{y(n.next(B))}catch(T){g(T)}},S=B=>{try{y(n.throw(B))}catch(T){g(T)}},y=B=>B.done?b(B.value):Promise.resolve(B.value).then(u,S);y((n=n.apply(l,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-ClXsTIT_.cjs");function Pe(l,t){e.addMessages(l,t)}function rt(l){e.$locale.set(l)}const Xe={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 ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Fe={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 { b as it, $ as lt, P as st, S as ct, i as dt,
|
|
1
|
+
import { b as it, $ as lt, P as st, S as ct, i as dt, f as X, c as ut, s as ft, d as pt, g as I, h as he, j as C, l as me, m as A, F as Xe, v as ge, x as ht, y as mt, n as je, G as gt, I as yt, J as vt, K as wt, L as bt, D as Be, B as qe, z as Bt, E as Te, A as ze, C as nt, w as Tt, N as St } from "./CasinoHamburgerMenuNd-BChdIQNC.js";
|
|
2
2
|
function Ye(s, a) {
|
|
3
3
|
it(s, a);
|
|
4
4
|
}
|
|
@@ -436,15 +436,15 @@ var Ke = { exports: {} };
|
|
|
436
436
|
}).then(function(m) {
|
|
437
437
|
return c = m.body.getReader(), l(m.status, m.statusText, m.headers.get("Content-Type"), new N(m.headers)), new M(function(_, W) {
|
|
438
438
|
var ve = function() {
|
|
439
|
-
c.read().then(function(
|
|
440
|
-
if (
|
|
439
|
+
c.read().then(function(z) {
|
|
440
|
+
if (z.done)
|
|
441
441
|
_(void 0);
|
|
442
442
|
else {
|
|
443
|
-
var q = p.decode(
|
|
443
|
+
var q = p.decode(z.value, { stream: !0 });
|
|
444
444
|
u(q), ve();
|
|
445
445
|
}
|
|
446
|
-
}).catch(function(
|
|
447
|
-
W(
|
|
446
|
+
}).catch(function(z) {
|
|
447
|
+
W(z);
|
|
448
448
|
});
|
|
449
449
|
};
|
|
450
450
|
ve();
|
|
@@ -511,7 +511,7 @@ var Ke = { exports: {} };
|
|
|
511
511
|
G.call(this, t), this.error = l.error;
|
|
512
512
|
}
|
|
513
513
|
f.prototype = Object.create(G.prototype);
|
|
514
|
-
var de = -1, ie = 0, ne = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2, Le = 3,
|
|
514
|
+
var de = -1, ie = 0, ne = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2, Le = 3, He = /^text\/event\-stream(;.*)?$/i, Ee = 1e3, ke = 18e6, De = function(t, l) {
|
|
515
515
|
var u = t == null ? l : parseInt(t, 10);
|
|
516
516
|
return u !== u && (u = l), Ce(u);
|
|
517
517
|
}, Ce = function(t) {
|
|
@@ -532,34 +532,34 @@ var Ke = { exports: {} };
|
|
|
532
532
|
var Oe = k != null && L != null && "body" in L.prototype;
|
|
533
533
|
function Ue(t, l, u) {
|
|
534
534
|
l = String(l);
|
|
535
|
-
var i = !!u.withCredentials, e = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = De(u.heartbeatTimeout, 45e3), c = "", h = o, w = !1, p = 0, m = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(),
|
|
535
|
+
var i = !!u.withCredentials, e = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = De(u.heartbeatTimeout, 45e3), c = "", h = o, w = !1, p = 0, m = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(), z = void 0, q = 0, re = de, _e = "", Fe = "", ue = "", Ie = "", Y = le, Pe = 0, be = 0, ot = function(U, H, $, ee) {
|
|
536
536
|
if (re === ie)
|
|
537
|
-
if (U === 200 && $ != null &&
|
|
537
|
+
if (U === 200 && $ != null && He.test($)) {
|
|
538
538
|
re = ne, w = Date.now(), h = o, t.readyState = ne;
|
|
539
539
|
var J = new ce("open", {
|
|
540
540
|
status: U,
|
|
541
|
-
statusText:
|
|
541
|
+
statusText: H,
|
|
542
542
|
headers: ee
|
|
543
543
|
});
|
|
544
544
|
t.dispatchEvent(J), ye(t, t.onopen, J);
|
|
545
545
|
} else {
|
|
546
546
|
var P = "";
|
|
547
|
-
U !== 200 ? (
|
|
547
|
+
U !== 200 ? (H && (H = H.replace(/\s+/g, " ")), P = "EventSource's response has a status " + U + " " + H + " that is not 200. Aborting the connection.") : P = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ge();
|
|
548
548
|
var J = new ce("error", {
|
|
549
549
|
status: U,
|
|
550
|
-
statusText:
|
|
550
|
+
statusText: H,
|
|
551
551
|
headers: ee
|
|
552
552
|
});
|
|
553
553
|
t.dispatchEvent(J), ye(t, t.onerror, J), console.error(P);
|
|
554
554
|
}
|
|
555
555
|
}, rt = function(U) {
|
|
556
556
|
if (re === ne) {
|
|
557
|
-
for (var
|
|
557
|
+
for (var H = -1, $ = 0; $ < U.length; $ += 1) {
|
|
558
558
|
var ee = U.charCodeAt($);
|
|
559
|
-
(ee === 10 || ee === 13) && (
|
|
559
|
+
(ee === 10 || ee === 13) && (H = $);
|
|
560
560
|
}
|
|
561
|
-
var J = (
|
|
562
|
-
Ie = (
|
|
561
|
+
var J = (H !== -1 ? Ie : "") + U.slice(0, H + 1);
|
|
562
|
+
Ie = (H === -1 ? Ie : "") + U.slice(H + 1), U !== "" && (w = Date.now(), p += U.length);
|
|
563
563
|
for (var P = 0; P < J.length; P += 1) {
|
|
564
564
|
var ee = J.charCodeAt(P);
|
|
565
565
|
if (Y === xe && ee === 10)
|
|
@@ -595,15 +595,15 @@ var Ke = { exports: {} };
|
|
|
595
595
|
re = de, q !== 0 && (g(q), q = 0), q = v(function() {
|
|
596
596
|
Me();
|
|
597
597
|
}, h), h = Ce(Math.min(o * 16, h * 2)), t.readyState = ie;
|
|
598
|
-
var
|
|
599
|
-
t.dispatchEvent(
|
|
598
|
+
var H = new f("error", { error: U });
|
|
599
|
+
t.dispatchEvent(H), ye(t, t.onerror, H), U != null && console.error(U);
|
|
600
600
|
}
|
|
601
601
|
}, Ge = function() {
|
|
602
|
-
re = we,
|
|
602
|
+
re = we, z != null && (z.abort(), z = void 0), q !== 0 && (g(q), q = 0), t.readyState = we;
|
|
603
603
|
}, Me = function() {
|
|
604
604
|
if (q = 0, re !== de) {
|
|
605
|
-
if (!w &&
|
|
606
|
-
We(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : p + " chars received.") + " Reconnecting.")),
|
|
605
|
+
if (!w && z != null)
|
|
606
|
+
We(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : p + " chars received.") + " Reconnecting.")), z != null && (z.abort(), z = void 0);
|
|
607
607
|
else {
|
|
608
608
|
var U = Math.max((w || Date.now()) + r - Date.now(), 1);
|
|
609
609
|
w = !1, q = v(function() {
|
|
@@ -615,12 +615,12 @@ var Ke = { exports: {} };
|
|
|
615
615
|
w = !1, p = 0, q = v(function() {
|
|
616
616
|
Me();
|
|
617
617
|
}, r), re = ie, _e = "", ue = "", Fe = c, Ie = "", Pe = 0, be = 0, Y = le;
|
|
618
|
-
var
|
|
618
|
+
var H = l;
|
|
619
619
|
if (l.slice(0, 5) !== "data:" && l.slice(0, 5) !== "blob:" && c !== "") {
|
|
620
620
|
var $ = l.indexOf("?");
|
|
621
|
-
|
|
621
|
+
H = $ === -1 ? l : l.slice(0, $ + 1) + l.slice($ + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(pe, Ae) {
|
|
622
622
|
return Ae === e ? "" : pe;
|
|
623
|
-
}),
|
|
623
|
+
}), H += (l.indexOf("?") === -1 ? "?" : "&") + e + "=" + encodeURIComponent(c);
|
|
624
624
|
}
|
|
625
625
|
var ee = t.withCredentials, J = {};
|
|
626
626
|
J.Accept = "text/event-stream";
|
|
@@ -629,7 +629,7 @@ var Ke = { exports: {} };
|
|
|
629
629
|
for (var fe in P)
|
|
630
630
|
Object.prototype.hasOwnProperty.call(P, fe) && (J[fe] = P[fe]);
|
|
631
631
|
try {
|
|
632
|
-
|
|
632
|
+
z = ve.open(W, ot, rt, We, H, ee, J);
|
|
633
633
|
} catch (pe) {
|
|
634
634
|
throw Ge(), pe;
|
|
635
635
|
}
|
|
@@ -652,7 +652,7 @@ var Ke = { exports: {} };
|
|
|
652
652
|
})(Ke, Ke.exports);
|
|
653
653
|
var _t = Ke.exports;
|
|
654
654
|
function At(s) {
|
|
655
|
-
|
|
655
|
+
pt(s, "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}');
|
|
656
656
|
}
|
|
657
657
|
function Qe(s, a, n) {
|
|
658
658
|
const v = s.slice();
|
|
@@ -678,7 +678,7 @@ function xt(s) {
|
|
|
678
678
|
);
|
|
679
679
|
return {
|
|
680
680
|
c() {
|
|
681
|
-
a = I("button"), n = I("p"), g =
|
|
681
|
+
a = I("button"), n = I("p"), g = Be(v), d = he(), b = I("span"), y = qe("svg"), B = qe("path"), M = he(), S && S.c(), k = Bt(), C(B, "id", "arrow"), C(B, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(B, "transform", "translate(-274.511 -441.088)"), C(B, "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(b, "class", T = /*isModalDisplayed*/
|
|
682
682
|
s[3] ? "TriangleActive" : "TriangleInactive"), C(a, "class", "BalanceValue");
|
|
683
683
|
},
|
|
684
684
|
m(R, j) {
|
|
@@ -698,13 +698,13 @@ function xt(s) {
|
|
|
698
698
|
/*balances*/
|
|
699
699
|
R[1].Total[0].amount
|
|
700
700
|
)
|
|
701
|
-
) : "0") + "") &&
|
|
701
|
+
) : "0") + "") && Te(g, v), j[0] & /*isModalDisplayed*/
|
|
702
702
|
8 && T !== (T = /*isModalDisplayed*/
|
|
703
703
|
R[3] ? "TriangleActive" : "TriangleInactive") && C(b, "class", T), /*showBalance*/
|
|
704
704
|
R[4] ? S ? S.p(R, j) : (S = $e(R), S.c(), S.m(k.parentNode, k)) : S && (S.d(1), S = null);
|
|
705
705
|
},
|
|
706
706
|
d(R) {
|
|
707
|
-
R && (
|
|
707
|
+
R && (ge(a), ge(M), ge(k)), S && S.d(R), L = !1, x();
|
|
708
708
|
}
|
|
709
709
|
};
|
|
710
710
|
}
|
|
@@ -715,7 +715,7 @@ function Rt(s) {
|
|
|
715
715
|
), v;
|
|
716
716
|
return {
|
|
717
717
|
c() {
|
|
718
|
-
a = I("p"), v =
|
|
718
|
+
a = I("p"), v = Be(n), C(a, "class", "Loading");
|
|
719
719
|
},
|
|
720
720
|
m(g, d) {
|
|
721
721
|
me(g, a, d), A(a, v);
|
|
@@ -723,10 +723,10 @@ function Rt(s) {
|
|
|
723
723
|
p(g, d) {
|
|
724
724
|
d[0] & /*$_*/
|
|
725
725
|
64 && n !== (n = /*$_*/
|
|
726
|
-
g[6]("Loading") + "") &&
|
|
726
|
+
g[6]("Loading") + "") && Te(v, n);
|
|
727
727
|
},
|
|
728
728
|
d(g) {
|
|
729
|
-
g &&
|
|
729
|
+
g && ge(a);
|
|
730
730
|
}
|
|
731
731
|
};
|
|
732
732
|
}
|
|
@@ -737,7 +737,7 @@ function $e(s) {
|
|
|
737
737
|
), M, k, L, x, S, R, j = (
|
|
738
738
|
/*$_*/
|
|
739
739
|
s[6]("DepositButton") + ""
|
|
740
|
-
), te, ae, F, O, Q, se, K =
|
|
740
|
+
), te, ae, F, O, Q, se, K = ze(Object.keys(
|
|
741
741
|
/*balances*/
|
|
742
742
|
s[1]
|
|
743
743
|
)), N = [];
|
|
@@ -745,10 +745,10 @@ function $e(s) {
|
|
|
745
745
|
N[E] = tt(Qe(s, K, E));
|
|
746
746
|
return {
|
|
747
747
|
c() {
|
|
748
|
-
a = I("div"), n = I("button"), g =
|
|
748
|
+
a = I("div"), n = I("button"), g = he(), d = I("div"), b = I("div"), y = I("div"), B = I("p"), M = Be(T), k = he(), L = I("div");
|
|
749
749
|
for (let E = 0; E < N.length; E += 1)
|
|
750
750
|
N[E].c();
|
|
751
|
-
x =
|
|
751
|
+
x = he(), S = I("div"), R = I("button"), te = Be(j), C(n, "class", v = "BalanceModalClose " + /*isModalDisplayed*/
|
|
752
752
|
(s[3] ? "Open" : "")), C(B, "class", "BalanceModalTitle"), C(y, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(b, "class", ae = "ModalContent " + /*isModalDisplayed*/
|
|
753
753
|
(s[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
|
|
754
754
|
(s[3] ? "Open" : "")), C(a, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
@@ -778,9 +778,9 @@ function $e(s) {
|
|
|
778
778
|
8 && v !== (v = "BalanceModalClose " + /*isModalDisplayed*/
|
|
779
779
|
(E[3] ? "Open" : "")) && C(n, "class", v), V[0] & /*$_*/
|
|
780
780
|
64 && T !== (T = /*$_*/
|
|
781
|
-
E[6]("Title") + "") &&
|
|
781
|
+
E[6]("Title") + "") && Te(M, T), V[0] & /*balances, formatBalance, $_*/
|
|
782
782
|
322) {
|
|
783
|
-
K =
|
|
783
|
+
K = ze(Object.keys(
|
|
784
784
|
/*balances*/
|
|
785
785
|
E[1]
|
|
786
786
|
));
|
|
@@ -795,7 +795,7 @@ function $e(s) {
|
|
|
795
795
|
}
|
|
796
796
|
V[0] & /*$_*/
|
|
797
797
|
64 && j !== (j = /*$_*/
|
|
798
|
-
E[6]("DepositButton") + "") &&
|
|
798
|
+
E[6]("DepositButton") + "") && Te(te, j), V[0] & /*isModalDisplayed*/
|
|
799
799
|
8 && ae !== (ae = "ModalContent " + /*isModalDisplayed*/
|
|
800
800
|
(E[3] ? "Open" : "")) && C(b, "class", ae), V[0] & /*isModalDisplayed*/
|
|
801
801
|
8 && F !== (F = "BalanceModal " + /*isModalDisplayed*/
|
|
@@ -804,7 +804,7 @@ function $e(s) {
|
|
|
804
804
|
(E[3] ? "Open" : "")) && C(a, "class", O);
|
|
805
805
|
},
|
|
806
806
|
d(E) {
|
|
807
|
-
E &&
|
|
807
|
+
E && ge(a), nt(N, E), Q = !1, Tt(se);
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
810
|
}
|
|
@@ -833,7 +833,7 @@ function et(s) {
|
|
|
833
833
|
), L;
|
|
834
834
|
return {
|
|
835
835
|
c() {
|
|
836
|
-
a = I("div"), n = I("p"), g =
|
|
836
|
+
a = I("div"), n = I("p"), g = Be(v), d = he(), y = Be(b), B = he(), T = I("p"), M = I("span"), L = Be(k), C(n, "class", "BalanceModalText"), C(M, "class", "BalanceModalAmount"), C(T, "class", "BalanceModalValue"), C(a, "class", "BalanceModalRowLine");
|
|
837
837
|
},
|
|
838
838
|
m(x, S) {
|
|
839
839
|
me(x, a, S), A(a, n), A(n, g), A(n, d), A(n, y), A(a, B), A(a, T), A(T, M), A(M, L);
|
|
@@ -844,7 +844,7 @@ function et(s) {
|
|
|
844
844
|
x[6](
|
|
845
845
|
/*k*/
|
|
846
846
|
x[54]
|
|
847
|
-
) + "") &&
|
|
847
|
+
) + "") && Te(g, v), S[0] & /*balances, $_*/
|
|
848
848
|
66 && b !== (b = /*b*/
|
|
849
849
|
(x[57].productType ? (
|
|
850
850
|
/*$_*/
|
|
@@ -852,20 +852,20 @@ function et(s) {
|
|
|
852
852
|
/*b*/
|
|
853
853
|
x[57].productType
|
|
854
854
|
)
|
|
855
|
-
) : "") + "") &&
|
|
855
|
+
) : "") + "") && Te(y, b), S[0] & /*balances*/
|
|
856
856
|
2 && k !== (k = /*formatBalance*/
|
|
857
857
|
x[8](
|
|
858
858
|
/*b*/
|
|
859
859
|
x[57].amount
|
|
860
|
-
) + "") &&
|
|
860
|
+
) + "") && Te(L, k);
|
|
861
861
|
},
|
|
862
862
|
d(x) {
|
|
863
|
-
x &&
|
|
863
|
+
x && ge(a);
|
|
864
864
|
}
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
867
|
function tt(s) {
|
|
868
|
-
let a, n, v =
|
|
868
|
+
let a, n, v = ze(
|
|
869
869
|
/*balances*/
|
|
870
870
|
s[1][
|
|
871
871
|
/*k*/
|
|
@@ -879,7 +879,7 @@ function tt(s) {
|
|
|
879
879
|
a = I("div");
|
|
880
880
|
for (let d = 0; d < g.length; d += 1)
|
|
881
881
|
g[d].c();
|
|
882
|
-
n =
|
|
882
|
+
n = he(), C(a, "class", "BalanceModalRowBoth");
|
|
883
883
|
},
|
|
884
884
|
m(d, b) {
|
|
885
885
|
me(d, a, b);
|
|
@@ -890,7 +890,7 @@ function tt(s) {
|
|
|
890
890
|
p(d, b) {
|
|
891
891
|
if (b[0] & /*formatBalance, balances, $_*/
|
|
892
892
|
322) {
|
|
893
|
-
v =
|
|
893
|
+
v = ze(
|
|
894
894
|
/*balances*/
|
|
895
895
|
d[1][
|
|
896
896
|
/*k*/
|
|
@@ -908,7 +908,7 @@ function tt(s) {
|
|
|
908
908
|
}
|
|
909
909
|
},
|
|
910
910
|
d(d) {
|
|
911
|
-
d &&
|
|
911
|
+
d && ge(a), nt(g, d);
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
914
|
}
|
|
@@ -928,7 +928,7 @@ function at(s) {
|
|
|
928
928
|
},
|
|
929
929
|
p: Xe,
|
|
930
930
|
d(g) {
|
|
931
|
-
g &&
|
|
931
|
+
g && ge(a), n = !1, v();
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
}
|
|
@@ -946,7 +946,7 @@ function Et(s) {
|
|
|
946
946
|
);
|
|
947
947
|
return {
|
|
948
948
|
c() {
|
|
949
|
-
a = I("div"), n = I("div"), y.c(), g =
|
|
949
|
+
a = I("div"), n = I("div"), y.c(), g = he(), B && B.c(), C(n, "class", v = "ShowBalance " + /*mobileView*/
|
|
950
950
|
(s[5] ? "Mobile" : ""));
|
|
951
951
|
},
|
|
952
952
|
m(T, M) {
|
|
@@ -961,13 +961,13 @@ function Et(s) {
|
|
|
961
961
|
i: Xe,
|
|
962
962
|
o: Xe,
|
|
963
963
|
d(T) {
|
|
964
|
-
T &&
|
|
964
|
+
T && ge(a), y.d(), B && B.d(), s[30](null);
|
|
965
965
|
}
|
|
966
966
|
};
|
|
967
967
|
}
|
|
968
968
|
function Dt(s, a, n) {
|
|
969
969
|
let v;
|
|
970
|
-
|
|
970
|
+
ht(s, St, (e) => n(6, v = e));
|
|
971
971
|
let { userid: g = "" } = a, { session: d = "" } = a, { endpoint: b = "" } = a, { lang: y = "en" } = a, { mbsource: B } = a, { clientstyling: T = "" } = a, { clientstylingurl: M = "" } = a, { translationurl: k = "" } = a, { gmversion: L = "gm16" } = a, { displaybalanceoption: x = "All" } = a, { totalcalculationmode: S = "totalCashAmount" } = a, { currencylocale: R = "en" } = a, { currencydisplay: j = "symbol" } = a, { maximumfractiondigits: te = "2" } = a, { minimumfractiondigits: ae = "0" } = a, { customdisplayformat: F = "" } = a, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, D, G = "", oe = [], ce;
|
|
972
972
|
const f = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
|
|
973
973
|
fetch(k).then((e) => e.json()).then((e) => Object.keys(e).forEach((o) => Ye(o, e[o]))).catch((e) => console.log(e));
|
|
@@ -1031,8 +1031,8 @@ function Dt(s, a, n) {
|
|
|
1031
1031
|
w && (w[0] !== " " && (p = w[0]), w[1] !== " " && (m = w[1]), w[2] !== " " && !isNaN(Number(w[2])) && (_ = Number(w[2])));
|
|
1032
1032
|
let [W, ve] = String(Math.floor(e * 10 ** _) / 10 ** _).split(".");
|
|
1033
1033
|
r += W[0];
|
|
1034
|
-
for (let
|
|
1035
|
-
(W.length -
|
|
1034
|
+
for (let z = 1; z < W.length; ++z)
|
|
1035
|
+
(W.length - z) % 3 === 0 ? r += p + W[z] : r += W[z];
|
|
1036
1036
|
ve && (r += m + ve);
|
|
1037
1037
|
}
|
|
1038
1038
|
r && o.push(r), r = "";
|
|
@@ -1147,7 +1147,7 @@ function Dt(s, a, n) {
|
|
|
1147
1147
|
e = new URL(`${b}/v2/player/${g}/information/updates`), o = (h) => De(h);
|
|
1148
1148
|
break;
|
|
1149
1149
|
case "gmcore":
|
|
1150
|
-
e = new URL(`${b}/v1/player/${g}/balance/updates`), o = (h) =>
|
|
1150
|
+
e = new URL(`${b}/v1/player/${g}/balance/updates`), o = (h) => He(h);
|
|
1151
1151
|
break;
|
|
1152
1152
|
}
|
|
1153
1153
|
const r = {
|
|
@@ -1164,7 +1164,7 @@ function Dt(s, a, n) {
|
|
|
1164
1164
|
return;
|
|
1165
1165
|
}
|
|
1166
1166
|
return o;
|
|
1167
|
-
},
|
|
1167
|
+
}, He = (e) => {
|
|
1168
1168
|
const o = Le(e.data);
|
|
1169
1169
|
if (!o) {
|
|
1170
1170
|
Se();
|
|
@@ -1243,12 +1243,12 @@ function Dt(s, a, n) {
|
|
|
1243
1243
|
}, Oe = (e) => e.data && e.data.type === "LogoutSuccessfull" && D.close(), Ue = () => {
|
|
1244
1244
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
mt(() => (window.addEventListener("message", Oe, !1), n(5, E = gt(V)), () => {
|
|
1247
1247
|
window.removeEventListener("message", Oe), D && D.close();
|
|
1248
1248
|
}));
|
|
1249
1249
|
const Ne = () => ne("balance"), t = () => ne("closebalance"), l = () => Ce(), u = () => ne("closebalance");
|
|
1250
1250
|
function i(e) {
|
|
1251
|
-
|
|
1251
|
+
yt[e ? "unshift" : "push"](() => {
|
|
1252
1252
|
O = e, n(0, O);
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
@@ -1260,9 +1260,9 @@ function Dt(s, a, n) {
|
|
|
1260
1260
|
538624 && b && g && d && L && Se(), s.$$.dirty[0] & /*translationurl*/
|
|
1261
1261
|
262144 && k && ie(), s.$$.dirty[0] & /*balances*/
|
|
1262
1262
|
2 && f.Total && Ue(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1263
|
-
65537 && T && O &&
|
|
1264
|
-
131073 && M && O &&
|
|
1265
|
-
32769 && B && O &&
|
|
1263
|
+
65537 && T && O && vt(O, T), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1264
|
+
131073 && M && O && wt(O, M), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1265
|
+
32769 && B && O && bt(O, `${B}.Style`);
|
|
1266
1266
|
}, [
|
|
1267
1267
|
O,
|
|
1268
1268
|
f,
|
|
@@ -1304,7 +1304,7 @@ class Mt extends ct {
|
|
|
1304
1304
|
a,
|
|
1305
1305
|
Dt,
|
|
1306
1306
|
Et,
|
|
1307
|
-
|
|
1307
|
+
ft,
|
|
1308
1308
|
{
|
|
1309
1309
|
userid: 11,
|
|
1310
1310
|
session: 12,
|
|
@@ -1424,7 +1424,7 @@ class Mt extends ct {
|
|
|
1424
1424
|
this.$$set({ customdisplayformat: a }), X();
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
|
-
|
|
1427
|
+
ut(Mt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|
|
1428
1428
|
export {
|
|
1429
1429
|
Mt as default
|
|
1430
1430
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-ClXsTIT_.cjs");function T(n,t){e.addMessages(n,t)}function z(n){e.$locale.set(n)}const E={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-1hczjj2","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, 10px);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, 10px)}")}function F(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=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"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"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(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"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(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function H(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),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,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function W(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function G(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&F(n);function p(s,u){return s[1]?W:H}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function N(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=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}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},j=()=>{z(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const I=()=>S();function U(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}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,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&j(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&P()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,I,U]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,G,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},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 currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
|