@everymatrix/casino-header-controller 1.63.2 → 1.64.0
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-B9IAH_YY.js → CasinoHamburgerMenu-BMkeLxFw.js} +234 -234
- package/components/{CasinoHamburgerMenu-DRGz0x_i.js → CasinoHamburgerMenu-CTVc2-UF.js} +241 -241
- package/components/{CasinoHamburgerMenu-C8cGdz4v.cjs → CasinoHamburgerMenu-CrZ5l9tM.cjs} +5 -5
- package/components/{CasinoHeaderController-D4BjryHq.js → CasinoHeaderController-B3lVN1Kg.js} +230 -230
- package/components/{CasinoHeaderController-0LpbLW0Q.cjs → CasinoHeaderController-LZPnL7e5.cjs} +5 -5
- package/components/{CasinoHeaderController-CdpOl1LK.js → CasinoHeaderController-MXrohZuy.js} +230 -230
- package/components/{CasinoSlider-gdJBiwPv.js → CasinoSlider-CTcAOyCp.js} +97 -97
- package/components/CasinoSlider-Deb0x84t.js +797 -0
- package/components/CasinoSlider-DqTtsMWh.cjs +1 -0
- package/components/{PlayerAccountBalanceModal-C6gNwaoU.js → PlayerAccountBalanceModal-CmkYq_94.js} +2 -2
- package/components/{PlayerAccountBalanceModal-CtjDziPg.js → PlayerAccountBalanceModal-QRwf0e8e.js} +2 -2
- package/components/PlayerAccountBalanceModal-t1dN97NG.cjs +13 -0
- package/components/PlayerDeposit-BXwT7NVp.cjs +1 -0
- package/components/{PlayerDeposit-B1mR9g-U.js → PlayerDeposit-BZuTQSyp.js} +14 -14
- package/components/{PlayerDeposit-zkOb7jg5.js → PlayerDeposit-eY_YGhMJ.js} +14 -14
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-1ef3a64c-BxUAH8Hq.cjs → index-1ef3a64c-BYQAUnU8.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BDvG-MQC.js → index-1ef3a64c-CqOM_4kh.js} +1 -1
- package/stencil/{index-1ef3a64c-Ckq7xpxR.js → index-1ef3a64c-CrkQPVNf.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BpOVmhyz.js → user-deposit-withdrawal-BDHSNbOd.js} +35 -35
- package/stencil/{user-deposit-withdrawal-BS3kJkIt.cjs → user-deposit-withdrawal-CbFsqTCy.cjs} +4 -4
- package/stencil/{user-deposit-withdrawal-uD34_HF-.js → user-deposit-withdrawal-DRl7BqKZ.js} +35 -35
- package/components/CasinoSlider-BYM8xAjw.js +0 -797
- package/components/CasinoSlider-EyNMAsDA.cjs +0 -1
- package/components/PlayerAccountBalanceModal-Btw6JVum.cjs +0 -13
- package/components/PlayerDeposit-t-UG_1zf.cjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $ as Q, a as Ne, b as Re, S as Te, i as
|
1
|
+
import { $ as Q, a as Ne, b as Re, S as Te, i as Be, s as je, f as C, d as We, n as oe, e as D, t as ze, z as f, h as L, v as p, w as P, k as F, j as B, o as Oe, A as O, M as pe, r as Y, p as X, E as ie, u as V, y as Z, B as Ge, N as we, J as xe, K as Ye, L as qe, c as Ue } from "./CasinoHamburgerMenu-BMkeLxFw.js";
|
2
2
|
function Pe({ withLocale: n, translations: e }) {
|
3
3
|
Q.subscribe((t) => {
|
4
4
|
t == null && (Ne.set(e), Q.set(n));
|
@@ -68,7 +68,7 @@ const ae = {
|
|
68
68
|
}
|
69
69
|
};
|
70
70
|
function Je(n) {
|
71
|
-
|
71
|
+
We(n, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
72
72
|
}
|
73
73
|
function le(n, e, t) {
|
74
74
|
const i = n.slice();
|
@@ -83,7 +83,7 @@ function ce(n, e, t) {
|
|
83
83
|
return i[54] = e[t], i[56] = t, i;
|
84
84
|
}
|
85
85
|
function ue(n) {
|
86
|
-
let e = [], t = /* @__PURE__ */ new Map(), i, a =
|
86
|
+
let e = [], t = /* @__PURE__ */ new Map(), i, a = O(
|
87
87
|
/*sliderdata*/
|
88
88
|
n[9]
|
89
89
|
);
|
@@ -108,13 +108,13 @@ function ue(n) {
|
|
108
108
|
},
|
109
109
|
p(r, s) {
|
110
110
|
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
111
|
-
77775 && (a =
|
111
|
+
77775 && (a = O(
|
112
112
|
/*sliderdata*/
|
113
113
|
r[9]
|
114
114
|
), e = pe(e, s, l, 1, r, a, t, i.parentNode, we, Ce, i, le));
|
115
115
|
},
|
116
116
|
d(r) {
|
117
|
-
r &&
|
117
|
+
r && D(i);
|
118
118
|
for (let s = 0; s < e.length; s += 1)
|
119
119
|
e[s].d(r);
|
120
120
|
}
|
@@ -127,7 +127,7 @@ function Xe(n) {
|
|
127
127
|
), i;
|
128
128
|
return {
|
129
129
|
c() {
|
130
|
-
e = F("button"), i = Z(t),
|
130
|
+
e = F("button"), i = Z(t), f(e, "class", "CategoryButton");
|
131
131
|
},
|
132
132
|
m(a, l) {
|
133
133
|
L(a, e, l), p(e, i);
|
@@ -138,7 +138,7 @@ function Xe(n) {
|
|
138
138
|
a[48].name + "") && V(i, t);
|
139
139
|
},
|
140
140
|
d(a) {
|
141
|
-
a &&
|
141
|
+
a && D(e);
|
142
142
|
}
|
143
143
|
};
|
144
144
|
}
|
@@ -149,7 +149,7 @@ function Qe(n) {
|
|
149
149
|
), i, a;
|
150
150
|
return {
|
151
151
|
c() {
|
152
|
-
e = F("a"), i = Z(t),
|
152
|
+
e = F("a"), i = Z(t), f(e, "href", a = /*category*/
|
153
153
|
n[48].path);
|
154
154
|
},
|
155
155
|
m(l, r) {
|
@@ -160,10 +160,10 @@ function Qe(n) {
|
|
160
160
|
512 && t !== (t = /*category*/
|
161
161
|
l[48].label + "") && V(i, t), r[0] & /*sliderdata*/
|
162
162
|
512 && a !== (a = /*category*/
|
163
|
-
l[48].path) &&
|
163
|
+
l[48].path) && f(e, "href", a);
|
164
164
|
},
|
165
165
|
d(l) {
|
166
|
-
l &&
|
166
|
+
l && D(e);
|
167
167
|
}
|
168
168
|
};
|
169
169
|
}
|
@@ -171,7 +171,7 @@ function de(n) {
|
|
171
171
|
let e, t = (
|
172
172
|
/*subGroupsData*/
|
173
173
|
n[10].length > 0 && /*showsubgroups*/
|
174
|
-
n[2] == "true" &&
|
174
|
+
n[2] == "true" && fe(n)
|
175
175
|
);
|
176
176
|
return {
|
177
177
|
c() {
|
@@ -183,15 +183,15 @@ function de(n) {
|
|
183
183
|
p(i, a) {
|
184
184
|
/*subGroupsData*/
|
185
185
|
i[10].length > 0 && /*showsubgroups*/
|
186
|
-
i[2] == "true" ? t ? t.p(i, a) : (t =
|
186
|
+
i[2] == "true" ? t ? t.p(i, a) : (t = fe(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
187
187
|
},
|
188
188
|
d(i) {
|
189
|
-
i &&
|
189
|
+
i && D(e), t && t.d(i);
|
190
190
|
}
|
191
191
|
};
|
192
192
|
}
|
193
|
-
function
|
194
|
-
let e, t =
|
193
|
+
function fe(n) {
|
194
|
+
let e, t = O(
|
195
195
|
/*subGroupsData*/
|
196
196
|
n[10]
|
197
197
|
), i = [];
|
@@ -202,7 +202,7 @@ function ge(n) {
|
|
202
202
|
e = F("ul");
|
203
203
|
for (let a = 0; a < i.length; a += 1)
|
204
204
|
i[a].c();
|
205
|
-
|
205
|
+
f(e, "class", "DropDown");
|
206
206
|
},
|
207
207
|
m(a, l) {
|
208
208
|
L(a, e, l);
|
@@ -212,7 +212,7 @@ function ge(n) {
|
|
212
212
|
p(a, l) {
|
213
213
|
if (l[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
214
214
|
10176) {
|
215
|
-
t =
|
215
|
+
t = O(
|
216
216
|
/*subGroupsData*/
|
217
217
|
a[10]
|
218
218
|
);
|
@@ -227,11 +227,11 @@ function ge(n) {
|
|
227
227
|
}
|
228
228
|
},
|
229
229
|
d(a) {
|
230
|
-
a &&
|
230
|
+
a && D(e), Ge(i, a);
|
231
231
|
}
|
232
232
|
};
|
233
233
|
}
|
234
|
-
function
|
234
|
+
function ge(n) {
|
235
235
|
var w;
|
236
236
|
let e, t, i = (
|
237
237
|
/*subGroupItem*/
|
@@ -255,7 +255,7 @@ function fe(n) {
|
|
255
255
|
}
|
256
256
|
return {
|
257
257
|
c() {
|
258
|
-
e = F("li"), t = F("a"), a = Z(i), r =
|
258
|
+
e = F("li"), t = F("a"), a = Z(i), r = B(), f(t, "class", l = "SubDropDown " + /*index*/
|
259
259
|
(n[50] == /*activeIndex*/
|
260
260
|
n[6] && /*activeSubIndex*/
|
261
261
|
(n[7] == /*subindex*/
|
@@ -277,10 +277,10 @@ function fe(n) {
|
|
277
277
|
(n[7] == /*subindex*/
|
278
278
|
n[56] || /*prevSubIndex*/
|
279
279
|
n[8] == /*subindex*/
|
280
|
-
n[56]) ? "active" : "")) &&
|
280
|
+
n[56]) ? "active" : "")) && f(t, "class", l);
|
281
281
|
},
|
282
282
|
d(m) {
|
283
|
-
m &&
|
283
|
+
m && D(e), s = !1, u();
|
284
284
|
}
|
285
285
|
};
|
286
286
|
}
|
@@ -288,7 +288,7 @@ function me(n, e) {
|
|
288
288
|
let t, i, a = (
|
289
289
|
/*index*/
|
290
290
|
e[50] == /*subGroup*/
|
291
|
-
e[51].index &&
|
291
|
+
e[51].index && ge(e)
|
292
292
|
);
|
293
293
|
return {
|
294
294
|
key: n,
|
@@ -302,15 +302,15 @@ function me(n, e) {
|
|
302
302
|
p(l, r) {
|
303
303
|
e = l, /*index*/
|
304
304
|
e[50] == /*subGroup*/
|
305
|
-
e[51].index ? a ? a.p(e, r) : (a =
|
305
|
+
e[51].index ? a ? a.p(e, r) : (a = ge(e), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
|
306
306
|
},
|
307
307
|
d(l) {
|
308
|
-
l && (
|
308
|
+
l && (D(t), D(i)), a && a.d(l);
|
309
309
|
}
|
310
310
|
};
|
311
311
|
}
|
312
312
|
function he(n) {
|
313
|
-
let e = [], t = /* @__PURE__ */ new Map(), i, a =
|
313
|
+
let e = [], t = /* @__PURE__ */ new Map(), i, a = O(
|
314
314
|
/*subGroup*/
|
315
315
|
n[51].items
|
316
316
|
);
|
@@ -335,13 +335,13 @@ function he(n) {
|
|
335
335
|
},
|
336
336
|
p(r, s) {
|
337
337
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
338
|
-
10176 && (a =
|
338
|
+
10176 && (a = O(
|
339
339
|
/*subGroup*/
|
340
340
|
r[51].items
|
341
341
|
), e = pe(e, s, l, 1, r, a, t, i.parentNode, we, me, i, ce));
|
342
342
|
},
|
343
343
|
d(r) {
|
344
|
-
r &&
|
344
|
+
r && D(i);
|
345
345
|
for (let s = 0; s < e.length; s += 1)
|
346
346
|
e[s].d(r);
|
347
347
|
}
|
@@ -349,20 +349,20 @@ function he(n) {
|
|
349
349
|
}
|
350
350
|
function Ce(n, e) {
|
351
351
|
let t, i, a, l, r, s, u, M, w, m, y;
|
352
|
-
function I(
|
352
|
+
function I(g, _) {
|
353
353
|
return (
|
354
354
|
/*location*/
|
355
|
-
|
355
|
+
g[0] === "headerMain" ? Qe : Xe
|
356
356
|
);
|
357
357
|
}
|
358
|
-
let
|
358
|
+
let S = I(e), h = S(e), c = (
|
359
359
|
/*itemsActive*/
|
360
360
|
e[11][
|
361
361
|
/*index*/
|
362
362
|
e[50]
|
363
363
|
] == !0 && de(e)
|
364
364
|
);
|
365
|
-
function b(...
|
365
|
+
function b(...g) {
|
366
366
|
return (
|
367
367
|
/*click_handler_2*/
|
368
368
|
e[34](
|
@@ -370,7 +370,7 @@ function Ce(n, e) {
|
|
370
370
|
e[48],
|
371
371
|
/*index*/
|
372
372
|
e[50],
|
373
|
-
...
|
373
|
+
...g
|
374
374
|
)
|
375
375
|
);
|
376
376
|
}
|
@@ -378,14 +378,14 @@ function Ce(n, e) {
|
|
378
378
|
key: n,
|
379
379
|
first: null,
|
380
380
|
c() {
|
381
|
-
var
|
382
|
-
t = F("li"), i = F("div"), a = F("img"), s =
|
381
|
+
var g, _;
|
382
|
+
t = F("li"), i = F("div"), a = F("img"), s = B(), h.c(), u = B(), c && c.c(), M = B(), f(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
383
383
|
(e[3] === "true" ? "" : "DisplayNone")), ie(a.src, r = /*handleSrc*/
|
384
384
|
e[16](
|
385
385
|
/*category*/
|
386
386
|
e[48]
|
387
|
-
)) ||
|
388
|
-
(((
|
387
|
+
)) || f(a, "src", r), f(i, "class", "CategoryIcon"), f(t, "class", w = "CarouselItem " + /*activeindex*/
|
388
|
+
(((g = e[1]) == null ? void 0 : g.toString().indexOf("$")) > -1 ? (
|
389
389
|
/*activeindex*/
|
390
390
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
391
391
|
e[48].id.split("$").pop() ? "active" : ""
|
@@ -396,54 +396,54 @@ function Ce(n, e) {
|
|
396
396
|
)) + " " + /*location*/
|
397
397
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
398
398
|
},
|
399
|
-
m(
|
400
|
-
L(
|
399
|
+
m(g, _) {
|
400
|
+
L(g, t, _), p(t, i), p(i, a), p(t, s), h.m(t, null), p(t, u), c && c.m(t, null), p(t, M), m || (y = P(t, "click", b), m = !0);
|
401
401
|
},
|
402
|
-
p(
|
403
|
-
var
|
404
|
-
e =
|
402
|
+
p(g, _) {
|
403
|
+
var j, H;
|
404
|
+
e = g, _[0] & /*categoriesicon*/
|
405
405
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
406
|
-
(e[3] === "true" ? "" : "DisplayNone")) &&
|
406
|
+
(e[3] === "true" ? "" : "DisplayNone")) && f(a, "class", l), _[0] & /*sliderdata*/
|
407
407
|
512 && !ie(a.src, r = /*handleSrc*/
|
408
408
|
e[16](
|
409
409
|
/*category*/
|
410
410
|
e[48]
|
411
|
-
)) &&
|
411
|
+
)) && f(a, "src", r), S === (S = I(e)) && h ? h.p(e, _) : (h.d(1), h = S(e), h && (h.c(), h.m(t, u))), /*itemsActive*/
|
412
412
|
e[11][
|
413
413
|
/*index*/
|
414
414
|
e[50]
|
415
415
|
] == !0 ? c ? c.p(e, _) : (c = de(e), c.c(), c.m(t, M)) : c && (c.d(1), c = null), _[0] & /*activeindex, sliderdata, location*/
|
416
416
|
515 && w !== (w = "CarouselItem " + /*activeindex*/
|
417
|
-
(((
|
417
|
+
(((j = e[1]) == null ? void 0 : j.toString().indexOf("$")) > -1 ? (
|
418
418
|
/*activeindex*/
|
419
|
-
((
|
419
|
+
((H = e[1]) == null ? void 0 : H.split("$").pop()) == /*category*/
|
420
420
|
e[48].id.split("$").pop() ? "active" : ""
|
421
421
|
) : (
|
422
422
|
/*activeindex*/
|
423
423
|
e[1] == /*category*/
|
424
424
|
e[48].id ? "active" : ""
|
425
425
|
)) + " " + /*location*/
|
426
|
-
(e[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
426
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", w);
|
427
427
|
},
|
428
|
-
d(
|
429
|
-
|
428
|
+
d(g) {
|
429
|
+
g && D(t), h.d(), c && c.d(), m = !1, y();
|
430
430
|
}
|
431
431
|
};
|
432
432
|
}
|
433
433
|
function Ve(n) {
|
434
|
-
let e, t, i, a, l, r, s, u, M, w, m, y, I,
|
434
|
+
let e, t, i, a, l, r, s, u, M, w, m, y, I, S, h, c = (
|
435
435
|
/*sliderdata*/
|
436
436
|
n[9].length > 0 && ue(n)
|
437
437
|
);
|
438
438
|
return {
|
439
439
|
c() {
|
440
|
-
e = F("div"), t = F("div"), i = F("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a =
|
441
|
-
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
442
|
-
n[0] === "headerMain" ? "max-width: auto" : void 0),
|
440
|
+
e = F("div"), t = F("div"), i = F("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = B(), l = F("div"), r = F("ul"), s = F("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = B(), c && c.c(), M = B(), w = F("div"), w.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', f(i, "class", "CarouselLeftArrow"), f(s, "class", "TouchOnly"), f(r, "id", "CarouselNav"), f(r, "class", "CarouselItems"), f(l, "class", "CarouselNavWrap scroller"), f(w, "class", "CarouselRightArrow"), f(t, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
441
|
+
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), f(t, "style", y = /*location*/
|
442
|
+
n[0] === "headerMain" ? "max-width: auto" : void 0), f(e, "class", I = "CarouselWrapper " + /*location*/
|
443
443
|
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
444
444
|
},
|
445
|
-
m(b,
|
446
|
-
L(b, e,
|
445
|
+
m(b, g) {
|
446
|
+
L(b, e, g), p(e, t), p(t, i), p(t, a), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), n[35](r), n[36](l), p(t, M), p(t, w), n[38](e), S || (h = [
|
447
447
|
P(
|
448
448
|
i,
|
449
449
|
"click",
|
@@ -456,27 +456,27 @@ function Ve(n) {
|
|
456
456
|
/*click_handler_3*/
|
457
457
|
n[37]
|
458
458
|
)
|
459
|
-
],
|
459
|
+
], S = !0);
|
460
460
|
},
|
461
|
-
p(b,
|
461
|
+
p(b, g) {
|
462
462
|
/*sliderdata*/
|
463
|
-
b[9].length > 0 ? c ? c.p(b,
|
463
|
+
b[9].length > 0 ? c ? c.p(b, g) : (c = ue(b), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*location*/
|
464
464
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
465
|
-
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
465
|
+
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && f(t, "class", m), g[0] & /*location*/
|
466
466
|
1 && y !== (y = /*location*/
|
467
|
-
b[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
467
|
+
b[0] === "headerMain" ? "max-width: auto" : void 0) && f(t, "style", y), g[0] & /*location*/
|
468
468
|
1 && I !== (I = "CarouselWrapper " + /*location*/
|
469
|
-
(b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
469
|
+
(b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && f(e, "class", I);
|
470
470
|
},
|
471
471
|
i: oe,
|
472
472
|
o: oe,
|
473
473
|
d(b) {
|
474
|
-
b &&
|
474
|
+
b && D(e), c && c.d(), n[35](null), n[36](null), n[38](null), S = !1, ze(h);
|
475
475
|
}
|
476
476
|
};
|
477
477
|
}
|
478
478
|
function Ze(n, e, t) {
|
479
|
-
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: M = "" } = e, { clientstylingurl: w = "" } = e, { identity: m = "" } = e, { translationurl: y = "" } = e, { isprimarymenu: I = !1 } = e, { issecondarymenu:
|
479
|
+
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: M = "" } = e, { clientstylingurl: w = "" } = e, { identity: m = "" } = e, { translationurl: y = "" } = e, { isprimarymenu: I = !1 } = e, { issecondarymenu: S = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: g = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: j = "" } = e, { mbsource: H = "" } = e;
|
480
480
|
Pe({ withLocale: "en", translations: {} });
|
481
481
|
const ye = () => {
|
482
482
|
fetch(y).then((d) => d.json()).then((d) => {
|
@@ -490,10 +490,10 @@ function Ze(n, e, t) {
|
|
490
490
|
Object.keys(ae).forEach((o) => {
|
491
491
|
ne(o, ae[o]);
|
492
492
|
});
|
493
|
-
let
|
493
|
+
let W, N, G, K, A, x = [], q = [], z = [], v, J = (o, d, k, R, E) => {
|
494
494
|
var T;
|
495
495
|
if (!(o.subGroups && R === null)) {
|
496
|
-
if (U(), t(6, N = d), t(6, N),
|
496
|
+
if (U(), t(6, N = d), t(6, N), E != "secondary") {
|
497
497
|
window.postMessage(
|
498
498
|
{
|
499
499
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -506,10 +506,10 @@ function Ze(n, e, t) {
|
|
506
506
|
target: ((T = o.attrs) == null ? void 0 : T.target) || null
|
507
507
|
},
|
508
508
|
window.location.href
|
509
|
-
), t(7,
|
509
|
+
), t(7, G = null), t(8, K = null);
|
510
510
|
return;
|
511
511
|
}
|
512
|
-
t(7,
|
512
|
+
t(7, G = R), t(7, G), t(8, K = G), window.postMessage(
|
513
513
|
{
|
514
514
|
type: r,
|
515
515
|
itemId: k.id,
|
@@ -520,12 +520,12 @@ function Ze(n, e, t) {
|
|
520
520
|
);
|
521
521
|
}
|
522
522
|
}, $ = () => {
|
523
|
-
v && (
|
523
|
+
v && (z.length !== N ? t(12, v.scrollLeft -= 250, v) : t(12, v.scrollLeft = 0, v));
|
524
524
|
}, ee = () => {
|
525
|
-
v && (
|
525
|
+
v && (z.length !== N ? t(12, v.scrollLeft += 250, v) : t(12, v.scrollLeft = 0, v));
|
526
526
|
};
|
527
527
|
const te = (o) => {
|
528
|
-
o.data.type == "SliderData" && o.data.identity == m && (t(9, x = o.data.data), t(11,
|
528
|
+
o.data.type == "SliderData" && o.data.identity == m && (t(9, x = o.data.data), t(11, z = new Array(x.length).fill(!1)), b == "true" && _e()), o.data.type == "GoToHomepage" && x.forEach((d, k) => {
|
529
529
|
d.path.endsWith("/casino") && (t(6, N = k), t(6, N));
|
530
530
|
});
|
531
531
|
}, be = () => {
|
@@ -533,8 +533,8 @@ function Ze(n, e, t) {
|
|
533
533
|
}, ve = (o, d, k) => {
|
534
534
|
if (u == "secondaryMenu" && i && a && h && o.id) {
|
535
535
|
let R = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${h}`);
|
536
|
-
fetch(R.href).then((
|
537
|
-
|
536
|
+
fetch(R.href).then((E) => E.json()).then((E) => {
|
537
|
+
E.index = d, t(10, q = q.concat(E)), b == "false" && window.postMessage(
|
538
538
|
{
|
539
539
|
type: r,
|
540
540
|
itemId: o.id,
|
@@ -544,16 +544,16 @@ function Ze(n, e, t) {
|
|
544
544
|
window.location.href
|
545
545
|
);
|
546
546
|
const T = [];
|
547
|
-
q.map((
|
548
|
-
T.find((
|
547
|
+
q.map((Ee) => (Ee.items.forEach((re) => {
|
548
|
+
T.find((He) => re.id == He) || T.push(re.id);
|
549
549
|
}), T.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: T }, window.location.href);
|
550
550
|
}).then(() => {
|
551
|
-
|
551
|
+
W.querySelectorAll(".DropDown") && U();
|
552
552
|
});
|
553
553
|
}
|
554
554
|
u == "headerMain" && window.postMessage({ type: r, item: o }, window.location.href);
|
555
555
|
}, U = () => {
|
556
|
-
const o =
|
556
|
+
const o = W.querySelectorAll(".DropDown");
|
557
557
|
document.activeElement.blur(), v.classList.add("isScrolling");
|
558
558
|
for (let d = 0; d < o.length; d++)
|
559
559
|
o[d].style.transform = "translateX(-" + v.scrollLeft + "px)";
|
@@ -561,31 +561,31 @@ function Ze(n, e, t) {
|
|
561
561
|
}, _e = () => {
|
562
562
|
x.forEach((o, d) => {
|
563
563
|
var k;
|
564
|
-
((k = o == null ? void 0 : o.subGroups) == null ? void 0 : k.count) > 0 && (t(11,
|
564
|
+
((k = o == null ? void 0 : o.subGroups) == null ? void 0 : k.count) > 0 && (t(11, z[d] = !0, z), ve(o, d));
|
565
565
|
});
|
566
566
|
}, ke = (o) => {
|
567
567
|
let d = "";
|
568
|
-
return o.id === "LOBBY" ? d = _ : o.id === "MYGAMES" && (d =
|
568
|
+
return o.id === "LOBBY" ? d = _ : o.id === "MYGAMES" && (d = j), o.icon || d;
|
569
569
|
};
|
570
|
-
|
570
|
+
Oe(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
571
571
|
() => {
|
572
572
|
v.addEventListener("scroll", U);
|
573
573
|
},
|
574
574
|
500
|
575
575
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
576
|
-
window.removeEventListener("message", te),
|
576
|
+
window.removeEventListener("message", te), W.removeEventListener("scroll", U);
|
577
577
|
}));
|
578
|
-
const Fe = () => $(), Me = (o, d, k, R,
|
579
|
-
J(o, d, k, R, "secondary"),
|
578
|
+
const Fe = () => $(), Me = (o, d, k, R, E) => {
|
579
|
+
J(o, d, k, R, "secondary"), E.stopPropagation();
|
580
580
|
}, Ie = (o, d, k) => {
|
581
581
|
J(o, d, null, null, "main"), k.preventDefault();
|
582
582
|
};
|
583
|
-
function
|
583
|
+
function Se(o) {
|
584
584
|
X[o ? "unshift" : "push"](() => {
|
585
|
-
|
585
|
+
W = o, t(5, W);
|
586
586
|
});
|
587
587
|
}
|
588
|
-
function
|
588
|
+
function De(o) {
|
589
589
|
X[o ? "unshift" : "push"](() => {
|
590
590
|
v = o, t(12, v);
|
591
591
|
});
|
@@ -597,7 +597,7 @@ function Ze(n, e, t) {
|
|
597
597
|
});
|
598
598
|
}
|
599
599
|
return n.$$set = (o) => {
|
600
|
-
"endpoint" in o && t(17, i = o.endpoint), "datasource" in o && t(18, a = o.datasource), "onclickeventname" in o && t(19, l = o.onclickeventname), "actionevent" in o && t(20, r = o.actionevent), "favoritesnumber" in o && t(21, s = o.favoritesnumber), "location" in o && t(0, u = o.location), "clientstyling" in o && t(22, M = o.clientstyling), "clientstylingurl" in o && t(23, w = o.clientstylingurl), "identity" in o && t(24, m = o.identity), "translationurl" in o && t(25, y = o.translationurl), "isprimarymenu" in o && t(26, I = o.isprimarymenu), "issecondarymenu" in o && t(27,
|
600
|
+
"endpoint" in o && t(17, i = o.endpoint), "datasource" in o && t(18, a = o.datasource), "onclickeventname" in o && t(19, l = o.onclickeventname), "actionevent" in o && t(20, r = o.actionevent), "favoritesnumber" in o && t(21, s = o.favoritesnumber), "location" in o && t(0, u = o.location), "clientstyling" in o && t(22, M = o.clientstyling), "clientstylingurl" in o && t(23, w = o.clientstylingurl), "identity" in o && t(24, m = o.identity), "translationurl" in o && t(25, y = o.translationurl), "isprimarymenu" in o && t(26, I = o.isprimarymenu), "issecondarymenu" in o && t(27, S = o.issecondarymenu), "lang" in o && t(28, h = o.lang), "activeindex" in o && t(1, c = o.activeindex), "showsubgroups" in o && t(2, b = o.showsubgroups), "categoriesicon" in o && t(3, g = o.categoriesicon), "lobbyiconimage" in o && t(29, _ = o.lobbyiconimage), "mygamesiconimage" in o && t(30, j = o.mygamesiconimage), "mbsource" in o && t(31, H = o.mbsource);
|
601
601
|
}, n.$$.update = () => {
|
602
602
|
n.$$.dirty[0] & /*activeindex*/
|
603
603
|
2, n.$$.dirty[0] & /*translationurl*/
|
@@ -605,21 +605,21 @@ function Ze(n, e, t) {
|
|
605
605
|
4194320 && M && A && xe(A, M), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
606
606
|
8388624 && w && A && Ye(A, w), n.$$.dirty[0] & /*customStylingContainer*/
|
607
607
|
16 | n.$$.dirty[1] & /*mbsource*/
|
608
|
-
1 &&
|
608
|
+
1 && H && A && qe(A, `${H}.Style`), n.$$.dirty[0] & /*lang*/
|
609
609
|
268435456 && h && be();
|
610
610
|
}, [
|
611
611
|
u,
|
612
612
|
c,
|
613
613
|
b,
|
614
|
-
|
614
|
+
g,
|
615
615
|
A,
|
616
|
-
|
616
|
+
W,
|
617
617
|
N,
|
618
|
-
|
618
|
+
G,
|
619
619
|
K,
|
620
620
|
x,
|
621
621
|
q,
|
622
|
-
|
622
|
+
z,
|
623
623
|
v,
|
624
624
|
J,
|
625
625
|
$,
|
@@ -635,28 +635,28 @@ function Ze(n, e, t) {
|
|
635
635
|
m,
|
636
636
|
y,
|
637
637
|
I,
|
638
|
-
|
638
|
+
S,
|
639
639
|
h,
|
640
640
|
_,
|
641
|
-
|
642
|
-
|
641
|
+
j,
|
642
|
+
H,
|
643
643
|
Fe,
|
644
644
|
Me,
|
645
645
|
Ie,
|
646
|
-
De,
|
647
646
|
Se,
|
647
|
+
De,
|
648
648
|
Le,
|
649
649
|
Ae
|
650
650
|
];
|
651
651
|
}
|
652
652
|
class $e extends Te {
|
653
653
|
constructor(e) {
|
654
|
-
super(),
|
654
|
+
super(), Be(
|
655
655
|
this,
|
656
656
|
e,
|
657
657
|
Ze,
|
658
658
|
Ve,
|
659
|
-
|
659
|
+
je,
|
660
660
|
{
|
661
661
|
endpoint: 17,
|
662
662
|
datasource: 18,
|