@everymatrix/casino-header-controller 1.94.20 → 1.94.22
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/{CasinoHamburgerMenu-C9GuaD4v.js → CasinoHamburgerMenu-CEjFUL4Q.js} +26 -26
- package/components/{CasinoHamburgerMenu-g3l0YzHX.js → CasinoHamburgerMenu-DiijN4BO.js} +26 -26
- package/components/{CasinoHeaderController-CQOrKeos.js → CasinoHeaderController-BBJWC1W3.js} +59 -59
- package/components/{CasinoHeaderController-DNwYHRy3.js → CasinoHeaderController-C6evsF4G.js} +57 -57
- package/components/{CasinoSlider-UXV0gEAr.js → CasinoSlider-4m5Omxki.js} +65 -65
- package/components/{CasinoSlider-CnE5z57a.js → CasinoSlider-Bqaxt0aR.js} +55 -55
- package/components/{PlayerAccountBalanceModal-DwO_gQvc.js → PlayerAccountBalanceModal-D98Cm6k9.js} +117 -117
- package/components/{PlayerAccountBalanceModal-CbsUq7rq.js → PlayerAccountBalanceModal-x5jjEoKC.js} +114 -114
- package/components/{PlayerDeposit-BDOBJhsg.js → PlayerDeposit-BtMFuxUg.js} +54 -54
- package/components/{PlayerDeposit-m8ra2HrL.js → PlayerDeposit-C0A-CoUx.js} +54 -54
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-B0-sq6tf.js → gamification-dropdown-B8RHCHdm.js} +1 -1
- package/stencil/{gamification-dropdown-D0vJGodz.js → gamification-dropdown-DtIIMTA1.js} +1 -1
- package/stencil/{gamification-dropdown-f420baf5-CsmB-nIA.js → gamification-dropdown-f420baf5-BhsGESjq.js} +4 -4
- package/stencil/{gamification-dropdown-f420baf5-BGd94a6s.js → gamification-dropdown-f420baf5-CskHFEay.js} +4 -4
- package/stencil/{gamification-dropdown_4-2KkDA98L.js → gamification-dropdown_4-CmNUbS4X.js} +4 -4
- package/stencil/{gamification-dropdown_4-DkPsr1Er.js → gamification-dropdown_4-u0lpf7oa.js} +4 -4
- package/stencil/{index-71b1bdfa-C4fXNmHD.js → index-71b1bdfa--CIk7O9u.js} +6 -6
- package/stencil/{index-71b1bdfa-B_9jVwPK.js → index-71b1bdfa-WAQ8Ft6Z.js} +6 -6
- package/stencil/{player-elevate-card-B5xc0XOp.js → player-elevate-card-BSFR9t77.js} +2 -2
- package/stencil/{player-elevate-card-DXX4Wr23.js → player-elevate-card-Fc9rlBni.js} +2 -2
- package/stencil/{player-elevate-card-items-a0f9711e-DoPt1L8d.js → player-elevate-card-items-a0f9711e-CvLl75Mk.js} +6 -6
- package/stencil/{player-elevate-card-items-a0f9711e-CTMyeyPT.js → player-elevate-card-items-a0f9711e-DLY1-vhj.js} +6 -6
- package/stencil/{player-elevate-pointcard-DFBoTWXf.js → player-elevate-pointcard-DsHOTkUH.js} +2 -2
- package/stencil/{player-elevate-pointcard-B3UqJtgE.js → player-elevate-pointcard-DwZ_dRvK.js} +2 -2
- package/stencil/{player-rakeback-card-Cxv-ln3r.js → player-rakeback-card-CapKZoTo.js} +1 -1
- package/stencil/{player-rakeback-card-CpZaOvj9.js → player-rakeback-card-Dq-Icyks.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { b as Z, $ as J, S as V, i as K, s as $, f as y, c as ee, n as z, d as S, x as L, Z as A, g as x, h, j as M, k as E, y as C, e as d, J as te, _ as ie, o as se, l as ae, T as k, v as re, w as F, B as ne, C as oe, D as le, E as ce, X as de } from "./CasinoHeaderController-BBJWC1W3.js";
|
|
2
|
+
function W(s, e) {
|
|
3
|
+
Z(s, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function ue(s) {
|
|
6
|
+
J.set(s);
|
|
7
7
|
}
|
|
8
8
|
const H = {
|
|
9
9
|
en: {
|
|
@@ -54,13 +54,13 @@ function pe(s) {
|
|
|
54
54
|
let e, i, n, a, l, m, c, p, w, o, r = (
|
|
55
55
|
/*$_*/
|
|
56
56
|
s[4]("titleDeposit") + ""
|
|
57
|
-
),
|
|
57
|
+
), u, b, _;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"),
|
|
60
|
+
e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(f, g) {
|
|
63
|
-
|
|
63
|
+
x(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ = ae(
|
|
64
64
|
e,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -70,7 +70,7 @@ function pe(s) {
|
|
|
70
70
|
p(f, g) {
|
|
71
71
|
g & /*$_*/
|
|
72
72
|
16 && r !== (r = /*$_*/
|
|
73
|
-
f[4]("titleDeposit") + "") && L(
|
|
73
|
+
f[4]("titleDeposit") + "") && L(u, r);
|
|
74
74
|
},
|
|
75
75
|
d(f) {
|
|
76
76
|
f && S(e), b = !1, _();
|
|
@@ -81,16 +81,16 @@ function ge(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
85
|
-
s[3]) ||
|
|
84
|
+
e = M("div"), i = M("iframe"), F(i.src, n = /*iframeUrl*/
|
|
85
|
+
s[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
88
|
-
|
|
88
|
+
x(a, e, l), h(e, i);
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
93
|
-
a[3]) &&
|
|
92
|
+
8 && !F(i.src, n = /*iframeUrl*/
|
|
93
|
+
a[3]) && d(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
96
96
|
a && S(e);
|
|
@@ -107,7 +107,7 @@ function me(s) {
|
|
|
107
107
|
e = M("p"), n = C(i);
|
|
108
108
|
},
|
|
109
109
|
m(a, l) {
|
|
110
|
-
|
|
110
|
+
x(a, e, l), h(e, n);
|
|
111
111
|
},
|
|
112
112
|
p(a, l) {
|
|
113
113
|
l & /*$_*/
|
|
@@ -127,7 +127,7 @@ function fe(s) {
|
|
|
127
127
|
/*isMobile*/
|
|
128
128
|
s[5] && pe(s)
|
|
129
129
|
);
|
|
130
|
-
function p(r,
|
|
130
|
+
function p(r, u) {
|
|
131
131
|
return (
|
|
132
132
|
/*isLoading*/
|
|
133
133
|
r[1] ? me : ge
|
|
@@ -136,32 +136,32 @@ function fe(s) {
|
|
|
136
136
|
let w = p(s), o = w(s);
|
|
137
137
|
return {
|
|
138
138
|
c() {
|
|
139
|
-
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(),
|
|
140
|
-
(s[5] ? "DepositTitleNone" : "")),
|
|
141
|
-
(s[5] ? "DepositWrapperMobile" : "")),
|
|
139
|
+
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
|
+
(s[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), A(
|
|
142
142
|
e,
|
|
143
143
|
"--dynamic-height",
|
|
144
144
|
/*dynamicHeight*/
|
|
145
145
|
s[2]
|
|
146
146
|
);
|
|
147
147
|
},
|
|
148
|
-
m(r,
|
|
149
|
-
|
|
148
|
+
m(r, u) {
|
|
149
|
+
x(r, e, u), c && c.m(e, null), h(e, i), h(e, n), h(n, l), h(e, m), o.m(e, null), s[19](e);
|
|
150
150
|
},
|
|
151
|
-
p(r, [
|
|
151
|
+
p(r, [u]) {
|
|
152
152
|
/*isMobile*/
|
|
153
|
-
r[5] && c.p(r,
|
|
153
|
+
r[5] && c.p(r, u), u & /*$_*/
|
|
154
154
|
16 && a !== (a = /*$_*/
|
|
155
|
-
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r,
|
|
156
|
-
4 &&
|
|
155
|
+
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r, u) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
|
|
156
|
+
4 && A(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: z,
|
|
164
|
+
o: z,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -169,30 +169,30 @@ function fe(s) {
|
|
|
169
169
|
}
|
|
170
170
|
function we(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
|
-
te(s,
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl:
|
|
172
|
+
te(s, de, (t) => i(4, a = t));
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, j, N, T = 0, I = "";
|
|
174
174
|
const O = () => {
|
|
175
|
-
fetch(
|
|
175
|
+
fetch(u).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
W(v, D[v]);
|
|
178
178
|
});
|
|
179
179
|
}).catch((D) => {
|
|
180
180
|
console.log(D);
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
183
|
Object.keys(H).forEach((t) => {
|
|
184
|
-
|
|
184
|
+
W(t, H[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const P = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, U = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, j = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -223,10 +223,10 @@ function we(s, e, i) {
|
|
|
223
223
|
if (t.searchParams.append("language", p), n && t.searchParams.append("isShortCashier", f), w)
|
|
224
224
|
switch (b) {
|
|
225
225
|
case "USD":
|
|
226
|
-
|
|
226
|
+
T = 0.4;
|
|
227
227
|
break;
|
|
228
228
|
case "CDF":
|
|
229
|
-
|
|
229
|
+
T = 1e3;
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
232
|
let D = {
|
|
@@ -234,7 +234,7 @@ function we(s, e, i) {
|
|
|
234
234
|
headers: {
|
|
235
235
|
"X-SessionId": m,
|
|
236
236
|
currency: b || "EUR",
|
|
237
|
-
amount:
|
|
237
|
+
amount: T,
|
|
238
238
|
cashierMode: "Default",
|
|
239
239
|
IsShortCashier: f,
|
|
240
240
|
accept: "application/json"
|
|
@@ -242,26 +242,26 @@ function we(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, I = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
}, Q = () => {
|
|
252
|
-
|
|
252
|
+
ue(p);
|
|
253
253
|
};
|
|
254
|
-
se(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", U, !1), () => {
|
|
255
|
+
window.removeEventListener("message", U);
|
|
256
256
|
}));
|
|
257
|
-
const
|
|
258
|
-
function
|
|
257
|
+
const X = () => P();
|
|
258
|
+
function Y(t) {
|
|
259
259
|
re[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
263
|
return s.$$set = (t) => {
|
|
264
|
-
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, p = t.lang), "hasdefaultamount" in t && i(12, w = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, r = t.clientstylingurl), "translationurl" in t && i(15,
|
|
264
|
+
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, p = t.lang), "hasdefaultamount" in t && i(12, w = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, r = t.clientstylingurl), "translationurl" in t && i(15, u = t.translationurl), "currency" in t && i(7, b = t.currency), "mbsource" in t && i(16, _ = t.mbsource), "shortcashierenabled" in t && i(17, f = t.shortcashierenabled);
|
|
265
265
|
}, s.$$.update = () => {
|
|
266
266
|
s.$$.dirty & /*lang*/
|
|
267
267
|
2048 && p && Q(), s.$$.dirty & /*shortcashierenabled*/
|
|
@@ -269,16 +269,16 @@ function we(s, e, i) {
|
|
|
269
269
|
8193 && o && g && ne(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
270
|
16385 && r && g && oe(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
271
|
65537 && _ && g && le(g, `${_}.Style`, N), s.$$.dirty & /*translationurl*/
|
|
272
|
-
32768 &&
|
|
272
|
+
32768 && u && O(), s.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
|
|
273
273
|
135040 && m && c && l && b && p && f && q();
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
j,
|
|
278
|
+
I,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
P,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -287,16 +287,16 @@ function we(s, e, i) {
|
|
|
287
287
|
w,
|
|
288
288
|
o,
|
|
289
289
|
r,
|
|
290
|
-
|
|
290
|
+
u,
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
X,
|
|
294
|
+
Y
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class ye extends
|
|
297
|
+
class ye extends V {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), K(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
we,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { b as Z, $ as J, S as V, i as K, s as $, f as y, d as ee, n as U, e as S, y as L, Z as A, h as x, j as h, k as M, m as E, z as C, g as d, J as te, _ as ie, o as se, l as ae, R as k, w as re, x as F, C as ne, D as oe, E as le, c as ce, X as de } from "./CasinoHeaderController-C6evsF4G.js";
|
|
2
|
+
function W(s, e) {
|
|
3
|
+
Z(s, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function ue(s) {
|
|
6
|
+
J.set(s);
|
|
7
7
|
}
|
|
8
8
|
const H = {
|
|
9
9
|
en: {
|
|
@@ -54,13 +54,13 @@ function pe(s) {
|
|
|
54
54
|
let e, i, n, a, l, m, c, p, w, o, r = (
|
|
55
55
|
/*$_*/
|
|
56
56
|
s[4]("titleDeposit") + ""
|
|
57
|
-
),
|
|
57
|
+
), u, b, _;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"),
|
|
60
|
+
e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(f, g) {
|
|
63
|
-
|
|
63
|
+
x(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ = ae(
|
|
64
64
|
e,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -70,7 +70,7 @@ function pe(s) {
|
|
|
70
70
|
p(f, g) {
|
|
71
71
|
g & /*$_*/
|
|
72
72
|
16 && r !== (r = /*$_*/
|
|
73
|
-
f[4]("titleDeposit") + "") && L(
|
|
73
|
+
f[4]("titleDeposit") + "") && L(u, r);
|
|
74
74
|
},
|
|
75
75
|
d(f) {
|
|
76
76
|
f && S(e), b = !1, _();
|
|
@@ -81,16 +81,16 @@ function ge(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
85
|
-
s[3]) ||
|
|
84
|
+
e = M("div"), i = M("iframe"), F(i.src, n = /*iframeUrl*/
|
|
85
|
+
s[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
88
|
-
|
|
88
|
+
x(a, e, l), h(e, i);
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
93
|
-
a[3]) &&
|
|
92
|
+
8 && !F(i.src, n = /*iframeUrl*/
|
|
93
|
+
a[3]) && d(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
96
96
|
a && S(e);
|
|
@@ -107,7 +107,7 @@ function me(s) {
|
|
|
107
107
|
e = M("p"), n = C(i);
|
|
108
108
|
},
|
|
109
109
|
m(a, l) {
|
|
110
|
-
|
|
110
|
+
x(a, e, l), h(e, n);
|
|
111
111
|
},
|
|
112
112
|
p(a, l) {
|
|
113
113
|
l & /*$_*/
|
|
@@ -127,7 +127,7 @@ function fe(s) {
|
|
|
127
127
|
/*isMobile*/
|
|
128
128
|
s[5] && pe(s)
|
|
129
129
|
);
|
|
130
|
-
function p(r,
|
|
130
|
+
function p(r, u) {
|
|
131
131
|
return (
|
|
132
132
|
/*isLoading*/
|
|
133
133
|
r[1] ? me : ge
|
|
@@ -136,32 +136,32 @@ function fe(s) {
|
|
|
136
136
|
let w = p(s), o = w(s);
|
|
137
137
|
return {
|
|
138
138
|
c() {
|
|
139
|
-
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(),
|
|
140
|
-
(s[5] ? "DepositTitleNone" : "")),
|
|
141
|
-
(s[5] ? "DepositWrapperMobile" : "")),
|
|
139
|
+
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
|
+
(s[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), A(
|
|
142
142
|
e,
|
|
143
143
|
"--dynamic-height",
|
|
144
144
|
/*dynamicHeight*/
|
|
145
145
|
s[2]
|
|
146
146
|
);
|
|
147
147
|
},
|
|
148
|
-
m(r,
|
|
149
|
-
|
|
148
|
+
m(r, u) {
|
|
149
|
+
x(r, e, u), c && c.m(e, null), h(e, i), h(e, n), h(n, l), h(e, m), o.m(e, null), s[19](e);
|
|
150
150
|
},
|
|
151
|
-
p(r, [
|
|
151
|
+
p(r, [u]) {
|
|
152
152
|
/*isMobile*/
|
|
153
|
-
r[5] && c.p(r,
|
|
153
|
+
r[5] && c.p(r, u), u & /*$_*/
|
|
154
154
|
16 && a !== (a = /*$_*/
|
|
155
|
-
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r,
|
|
156
|
-
4 &&
|
|
155
|
+
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r, u) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
|
|
156
|
+
4 && A(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: U,
|
|
164
|
+
o: U,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -169,30 +169,30 @@ function fe(s) {
|
|
|
169
169
|
}
|
|
170
170
|
function we(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
|
-
te(s,
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl:
|
|
172
|
+
te(s, de, (t) => i(4, a = t));
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, j, N, T = 0, z = "";
|
|
174
174
|
const O = () => {
|
|
175
|
-
fetch(
|
|
175
|
+
fetch(u).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
W(v, D[v]);
|
|
178
178
|
});
|
|
179
179
|
}).catch((D) => {
|
|
180
180
|
console.log(D);
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
183
|
Object.keys(H).forEach((t) => {
|
|
184
|
-
|
|
184
|
+
W(t, H[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const I = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, P = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, j = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -223,10 +223,10 @@ function we(s, e, i) {
|
|
|
223
223
|
if (t.searchParams.append("language", p), n && t.searchParams.append("isShortCashier", f), w)
|
|
224
224
|
switch (b) {
|
|
225
225
|
case "USD":
|
|
226
|
-
|
|
226
|
+
T = 0.4;
|
|
227
227
|
break;
|
|
228
228
|
case "CDF":
|
|
229
|
-
|
|
229
|
+
T = 1e3;
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
232
|
let D = {
|
|
@@ -234,7 +234,7 @@ function we(s, e, i) {
|
|
|
234
234
|
headers: {
|
|
235
235
|
"X-SessionId": m,
|
|
236
236
|
currency: b || "EUR",
|
|
237
|
-
amount:
|
|
237
|
+
amount: T,
|
|
238
238
|
cashierMode: "Default",
|
|
239
239
|
IsShortCashier: f,
|
|
240
240
|
accept: "application/json"
|
|
@@ -242,26 +242,26 @@ function we(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, z = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
}, Q = () => {
|
|
252
|
-
|
|
252
|
+
ue(p);
|
|
253
253
|
};
|
|
254
|
-
se(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", P, !1), () => {
|
|
255
|
+
window.removeEventListener("message", P);
|
|
256
256
|
}));
|
|
257
|
-
const
|
|
258
|
-
function
|
|
257
|
+
const X = () => I();
|
|
258
|
+
function Y(t) {
|
|
259
259
|
re[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
263
|
return s.$$set = (t) => {
|
|
264
|
-
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, p = t.lang), "hasdefaultamount" in t && i(12, w = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, r = t.clientstylingurl), "translationurl" in t && i(15,
|
|
264
|
+
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, p = t.lang), "hasdefaultamount" in t && i(12, w = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, r = t.clientstylingurl), "translationurl" in t && i(15, u = t.translationurl), "currency" in t && i(7, b = t.currency), "mbsource" in t && i(16, _ = t.mbsource), "shortcashierenabled" in t && i(17, f = t.shortcashierenabled);
|
|
265
265
|
}, s.$$.update = () => {
|
|
266
266
|
s.$$.dirty & /*lang*/
|
|
267
267
|
2048 && p && Q(), s.$$.dirty & /*shortcashierenabled*/
|
|
@@ -269,16 +269,16 @@ function we(s, e, i) {
|
|
|
269
269
|
8193 && o && g && ne(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
270
|
16385 && r && g && oe(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
271
|
65537 && _ && g && le(g, `${_}.Style`, N), s.$$.dirty & /*translationurl*/
|
|
272
|
-
32768 &&
|
|
272
|
+
32768 && u && O(), s.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
|
|
273
273
|
135040 && m && c && l && b && p && f && q();
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
j,
|
|
278
|
+
z,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
I,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -287,16 +287,16 @@ function we(s, e, i) {
|
|
|
287
287
|
w,
|
|
288
288
|
o,
|
|
289
289
|
r,
|
|
290
|
-
|
|
290
|
+
u,
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
X,
|
|
294
|
+
Y
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class ye extends
|
|
297
|
+
class ye extends V {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), K(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
we,
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-BBJWC1W3.js").then((e) => e.a0).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-header-controller") && customElements.define("casino-header-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ var o = (n, a, l) => new Promise((s, i) => {
|
|
|
14
14
|
}, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(g, p);
|
|
15
15
|
t((l = l.apply(n, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as d, p as y } from "./index-71b1bdfa
|
|
17
|
+
import { b as d, p as y } from "./index-71b1bdfa--CIk7O9u.js";
|
|
18
18
|
import { a as c } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
19
|
var u = () => {
|
|
20
20
|
const n = import.meta.url, a = {};
|
|
@@ -14,7 +14,7 @@ var p = (e, t, i) => new Promise((n, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(o, l);
|
|
15
15
|
a((i = i.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as w, h as c,
|
|
17
|
+
import { r as w, h as c, g as S } from "./index-71b1bdfa--CIk7O9u.js";
|
|
18
18
|
const b = "en";
|
|
19
19
|
let d = {
|
|
20
20
|
en: {
|
|
@@ -176,7 +176,7 @@ const G = ":host{display:block}.GamificationDropdownContainer{position:relative}
|
|
|
176
176
|
k.style = D;
|
|
177
177
|
export {
|
|
178
178
|
k as G,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
u as a,
|
|
180
|
+
y as b,
|
|
181
|
+
m as s
|
|
182
182
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as u, h as r,
|
|
1
|
+
import { r as u, h as r, g as y } from "./index-71b1bdfa-WAQ8Ft6Z.js";
|
|
2
2
|
const m = "en";
|
|
3
3
|
let h = {
|
|
4
4
|
en: {
|
|
@@ -158,7 +158,7 @@ const v = ":host{display:block}.GamificationDropdownContainer{position:relative}
|
|
|
158
158
|
L.style = C;
|
|
159
159
|
export {
|
|
160
160
|
L as G,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
f as a,
|
|
162
|
+
p as b,
|
|
163
|
+
g as s
|
|
164
164
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { G as ye } from "./gamification-dropdown-f420baf5-
|
|
3
|
-
import { r as m, h as i,
|
|
1
|
+
import { s as w, a as x, b } from "./gamification-dropdown-f420baf5-CskHFEay.js";
|
|
2
|
+
import { G as ye } from "./gamification-dropdown-f420baf5-CskHFEay.js";
|
|
3
|
+
import { r as m, h as i, g as T, c as N, a as I, F as U } from "./index-71b1bdfa-WAQ8Ft6Z.js";
|
|
4
4
|
import { a as A, T as W } from "./locale-BrU0BSZM.js";
|
|
5
|
-
import { P as z,
|
|
5
|
+
import { P as z, a as S, b as q, L as F, r as p, t as h, g as P } from "./player-elevate-card-items-a0f9711e-CvLl75Mk.js";
|
|
6
6
|
const j = (e, t) => new Promise((a) => {
|
|
7
7
|
fetch(e).then((n) => n.json()).then((n) => {
|
|
8
8
|
Object.keys(n).forEach((r) => {
|
|
@@ -14,11 +14,11 @@ var w = (e, t, a) => new Promise((n, l) => {
|
|
|
14
14
|
}, o = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(r, s);
|
|
15
15
|
o((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { G as fe } from "./gamification-dropdown-f420baf5-
|
|
19
|
-
import { r as m, h as i,
|
|
17
|
+
import { s as I, a as x, b } from "./gamification-dropdown-f420baf5-BhsGESjq.js";
|
|
18
|
+
import { G as fe } from "./gamification-dropdown-f420baf5-BhsGESjq.js";
|
|
19
|
+
import { r as m, h as i, g as A, c as U, a as S, F as W } from "./index-71b1bdfa--CIk7O9u.js";
|
|
20
20
|
import { a as D, T as z } from "./locale-DbysznUQ.js";
|
|
21
|
-
import { P as q,
|
|
21
|
+
import { P as q, a as P, b as F, L as j, r as p, t as h, g as C } from "./player-elevate-card-items-a0f9711e-DLY1-vhj.js";
|
|
22
22
|
const G = (e, t) => new Promise((a) => {
|
|
23
23
|
fetch(e).then((n) => n.json()).then((n) => {
|
|
24
24
|
Object.keys(n).forEach((l) => {
|