@everymatrix/casino-header-controller 1.94.4 → 1.94.6
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-Cq9kuHNr.js → CasinoHamburgerMenu-fismkdau.js} +26 -26
- package/components/{CasinoHamburgerMenu-C_TOVi7N.js → CasinoHamburgerMenu-k-boVZsL.js} +26 -26
- package/components/{CasinoHeaderController-Cidd7Qbv.js → CasinoHeaderController-BTbv6PRt.js} +59 -59
- package/components/{CasinoHeaderController-BhVC2lrG.js → CasinoHeaderController-CcDnOW9o.js} +57 -57
- package/components/{CasinoSlider-CSUPkjyR.js → CasinoSlider-BFwkdnqh.js} +65 -65
- package/components/{CasinoSlider-D2NO_nrR.js → CasinoSlider-CsbTlp8y.js} +55 -55
- package/components/{PlayerAccountBalanceModal-BO6gl0ZO.js → PlayerAccountBalanceModal-8Aq_ZvMf.js} +114 -114
- package/components/{PlayerAccountBalanceModal-BKFGPTL4.js → PlayerAccountBalanceModal-KHpUDBdo.js} +117 -117
- package/components/{PlayerDeposit-umfcazar.js → PlayerDeposit-DxUj-MUx.js} +54 -54
- package/components/{PlayerDeposit-BJxTd0nF.js → PlayerDeposit-lpIyUObM.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-BIQa_yiW.js → gamification-dropdown-DMjxk-Tj.js} +1 -1
- package/stencil/{gamification-dropdown-f0760153-1EYtwwJ0.js → gamification-dropdown-f0760153-B9QlSnQa.js} +4 -4
- package/stencil/{gamification-dropdown-f0760153-hDFcdnug.js → gamification-dropdown-f0760153-BkUs6mft.js} +4 -4
- package/stencil/{gamification-dropdown-C_qWDvJa.js → gamification-dropdown-jGhHm7cW.js} +1 -1
- package/stencil/{gamification-dropdown_4-Bv19oRDX.js → gamification-dropdown_4--8vkMs3l.js} +4 -4
- package/stencil/{gamification-dropdown_4-CAdQQgbx.js → gamification-dropdown_4-U3Z1mU81.js} +4 -4
- package/stencil/{index-71b1bdfa-866jMCbL.js → index-71b1bdfa-DVFSNs3m.js} +6 -6
- package/stencil/{index-71b1bdfa-Bz5w-qOJ.js → index-71b1bdfa-V1LBXDRS.js} +6 -6
- package/stencil/{player-elevate-card-Cvdba0uI.js → player-elevate-card-C8WX7E7W.js} +2 -2
- package/stencil/{player-elevate-card-DZemS83k.js → player-elevate-card-DmkJZYmF.js} +2 -2
- package/stencil/{player-elevate-card-items-a0f9711e-FGssftyu.js → player-elevate-card-items-a0f9711e-DlOlTLYh.js} +6 -6
- package/stencil/{player-elevate-card-items-a0f9711e-BzR835Pk.js → player-elevate-card-items-a0f9711e-LuvcDuiF.js} +6 -6
- package/stencil/{player-elevate-pointcard-CskiJ5JP.js → player-elevate-pointcard-B-zPCJW0.js} +2 -2
- package/stencil/{player-elevate-pointcard-lDFhFpcX.js → player-elevate-pointcard-OEzMMYG3.js} +2 -2
- package/stencil/{player-rakeback-card-7z-ljGsk.js → player-rakeback-card-C_8JN4MR.js} +1 -1
- package/stencil/{player-rakeback-card-CpiufAMl.js → player-rakeback-card-xEloPnuy.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { c as Y, b as K, S as Z, B as J, K as $, v as y, f as ee, G as W, r as S, Q as L, T as j, D as T, e as h, s as M, U as E, X as C, g as u, l as te, w as ie, H as se, F as ae, W as k, h as re, V as z, N as ne, O as oe, P as le, n as ce, a as ue } from "./CasinoHeaderController-CcDnOW9o.js";
|
|
2
|
+
function A(s, e) {
|
|
3
|
+
Y(s, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function de(s) {
|
|
6
|
+
K.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
|
+
), d, 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"), d = C(r), u(p, "class", "aaa"), u(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), u(p, "transform", "translate(15 15) rotate(180)"), u(c, "transform", "translate(20 158)"), u(m, "transform", "translate(-20 -158)"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "15"), u(i, "viewBox", "0 0 15 15"), u(o, "class", "DepositTitleMobile"), u(e, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(f, g) {
|
|
63
|
-
|
|
63
|
+
T(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, d), 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(d, 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"), z(i.src, n = /*iframeUrl*/
|
|
85
|
+
s[3]) || u(i, "src", n), u(i, "title", "Deposit Iframe"), u(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
88
|
-
|
|
88
|
+
T(a, e, l), h(e, i);
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
93
|
-
a[3]) &&
|
|
92
|
+
8 && !z(i.src, n = /*iframeUrl*/
|
|
93
|
+
a[3]) && u(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
|
+
T(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, d) {
|
|
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(), u(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
|
+
(s[5] ? "DepositTitleNone" : "")), u(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), j(
|
|
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, d) {
|
|
149
|
+
T(r, e, d), 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, [d]) {
|
|
152
152
|
/*isMobile*/
|
|
153
|
-
r[5] && c.p(r,
|
|
153
|
+
r[5] && c.p(r, d), d & /*$_*/
|
|
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, d) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), d & /*dynamicHeight*/
|
|
156
|
+
4 && j(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: W,
|
|
164
|
+
o: W,
|
|
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, ue, (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: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, P, N, x = 0, U = "";
|
|
174
174
|
const O = () => {
|
|
175
|
-
fetch(
|
|
175
|
+
fetch(d).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
A(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
|
+
A(t, H[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const F = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, I = (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, P = 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
|
+
x = 0.4;
|
|
227
227
|
break;
|
|
228
228
|
case "CDF":
|
|
229
|
-
|
|
229
|
+
x = 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: x,
|
|
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, U = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
}, Q = () => {
|
|
252
|
-
|
|
252
|
+
de(p);
|
|
253
253
|
};
|
|
254
|
-
se(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", I, !1), () => {
|
|
255
|
+
window.removeEventListener("message", I);
|
|
256
256
|
}));
|
|
257
|
-
const
|
|
258
|
-
function
|
|
257
|
+
const V = () => F();
|
|
258
|
+
function X(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, d = 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 && d && 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
|
+
P,
|
|
278
|
+
U,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
F,
|
|
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
|
+
d,
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
V,
|
|
294
|
+
X
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class ye extends
|
|
297
|
+
class ye extends Z {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), J(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
we,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { c as Y, b as K, S as Z, B as J, K as $, v as y, f as ee, G as W, r as S, Q as L, T as j, D as T, e as h, s as M, U as E, X as C, g as u, l as te, w as ie, H as se, F as ae, W as k, h as re, V as z, N as ne, O as oe, P as le, n as ce, a as ue } from "./CasinoHeaderController-BTbv6PRt.js";
|
|
2
|
+
function A(s, e) {
|
|
3
|
+
Y(s, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function de(s) {
|
|
6
|
+
K.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
|
+
), d, 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"), d = C(r), u(p, "class", "aaa"), u(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), u(p, "transform", "translate(15 15) rotate(180)"), u(c, "transform", "translate(20 158)"), u(m, "transform", "translate(-20 -158)"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "15"), u(i, "viewBox", "0 0 15 15"), u(o, "class", "DepositTitleMobile"), u(e, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(f, g) {
|
|
63
|
-
|
|
63
|
+
T(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, d), 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(d, 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"), z(i.src, n = /*iframeUrl*/
|
|
85
|
+
s[3]) || u(i, "src", n), u(i, "title", "Deposit Iframe"), u(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
88
|
-
|
|
88
|
+
T(a, e, l), h(e, i);
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
93
|
-
a[3]) &&
|
|
92
|
+
8 && !z(i.src, n = /*iframeUrl*/
|
|
93
|
+
a[3]) && u(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
|
+
T(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, d) {
|
|
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(), u(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
|
+
(s[5] ? "DepositTitleNone" : "")), u(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), j(
|
|
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, d) {
|
|
149
|
+
T(r, e, d), 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, [d]) {
|
|
152
152
|
/*isMobile*/
|
|
153
|
-
r[5] && c.p(r,
|
|
153
|
+
r[5] && c.p(r, d), d & /*$_*/
|
|
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, d) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), d & /*dynamicHeight*/
|
|
156
|
+
4 && j(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: W,
|
|
164
|
+
o: W,
|
|
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, ue, (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: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, P, N, x = 0, U = "";
|
|
174
174
|
const O = () => {
|
|
175
|
-
fetch(
|
|
175
|
+
fetch(d).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
A(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
|
+
A(t, H[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const F = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, I = (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, P = 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
|
+
x = 0.4;
|
|
227
227
|
break;
|
|
228
228
|
case "CDF":
|
|
229
|
-
|
|
229
|
+
x = 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: x,
|
|
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, U = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
}, Q = () => {
|
|
252
|
-
|
|
252
|
+
de(p);
|
|
253
253
|
};
|
|
254
|
-
se(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", I, !1), () => {
|
|
255
|
+
window.removeEventListener("message", I);
|
|
256
256
|
}));
|
|
257
|
-
const
|
|
258
|
-
function
|
|
257
|
+
const V = () => F();
|
|
258
|
+
function X(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, d = 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 && d && 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
|
+
P,
|
|
278
|
+
U,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
F,
|
|
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
|
+
d,
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
V,
|
|
294
|
+
X
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class ye extends
|
|
297
|
+
class ye extends Z {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), J(
|
|
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-BTbv6PRt.js").then((e) => e.C).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-V1LBXDRS.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 f = (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, a as m } from "./index-71b1bdfa-V1LBXDRS.js";
|
|
18
18
|
const S = "en";
|
|
19
19
|
let d = {
|
|
20
20
|
en: {
|
|
@@ -172,7 +172,7 @@ const G = ":host{display:block}.GamificationDropdownContainer{position:relative}
|
|
|
172
172
|
P.style = D;
|
|
173
173
|
export {
|
|
174
174
|
P as G,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
y as a,
|
|
176
|
+
C as b,
|
|
177
|
+
u as s
|
|
178
178
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as g, h as r,
|
|
1
|
+
import { r as g, h as r, a as u } from "./index-71b1bdfa-DVFSNs3m.js";
|
|
2
2
|
const y = "en";
|
|
3
3
|
let h = {
|
|
4
4
|
en: {
|
|
@@ -154,7 +154,7 @@ const C = ":host{display:block}.GamificationDropdownContainer{position:relative}
|
|
|
154
154
|
L.style = b;
|
|
155
155
|
export {
|
|
156
156
|
L as G,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
f as a,
|
|
158
|
+
m as b,
|
|
159
|
+
p as s
|
|
160
160
|
};
|
|
@@ -14,11 +14,11 @@ var E = (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-f0760153-
|
|
19
|
-
import { r as m, h as i,
|
|
17
|
+
import { b as N, s as x, a as b } from "./gamification-dropdown-f0760153-B9QlSnQa.js";
|
|
18
|
+
import { G as fe } from "./gamification-dropdown-f0760153-B9QlSnQa.js";
|
|
19
|
+
import { r as m, h as i, a as T, c as U, g as I, F as W } from "./index-71b1bdfa-V1LBXDRS.js";
|
|
20
20
|
import { a as A, T as z } from "./locale-DbysznUQ.js";
|
|
21
|
-
import { P as q,
|
|
21
|
+
import { P as q, e as P, c as F, L as j, r as p, t as h, g as S } from "./player-elevate-card-items-a0f9711e-LuvcDuiF.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) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { G as ye } from "./gamification-dropdown-f0760153-
|
|
3
|
-
import { r as m, h as i,
|
|
1
|
+
import { b as R, s as x, a as b } from "./gamification-dropdown-f0760153-BkUs6mft.js";
|
|
2
|
+
import { G as ye } from "./gamification-dropdown-f0760153-BkUs6mft.js";
|
|
3
|
+
import { r as m, h as i, a as k, c as N, g as E, F as U } from "./index-71b1bdfa-DVFSNs3m.js";
|
|
4
4
|
import { a as T, T as W } from "./locale-BrU0BSZM.js";
|
|
5
|
-
import { P as z,
|
|
5
|
+
import { P as z, e as I, c as q, L as F, r as p, t as h, g as P } from "./player-elevate-card-items-a0f9711e-DlOlTLYh.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) => {
|