@everymatrix/casino-header-controller 1.61.1 → 1.62.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-DqjlWYNt.js → CasinoHamburgerMenu-Brszz5aE.js} +691 -669
- package/components/CasinoHamburgerMenu-CenXHDyi.cjs +21 -0
- package/components/{CasinoHamburgerMenu-D3mFMa5W.js → CasinoHamburgerMenu-DG16kRnn.js} +765 -743
- package/components/{CasinoHeaderController-BA7fDOas.js → CasinoHeaderController-Bi_PsLNo.js} +87 -87
- package/components/{CasinoHeaderController-UtiETC1r.cjs → CasinoHeaderController-Bz4z7_4A.cjs} +1 -1
- package/components/{CasinoHeaderController-DlwPvEo0.js → CasinoHeaderController-D-uj7JRv.js} +85 -85
- package/components/{CasinoSlider-DqegUx4l.cjs → CasinoSlider-AbmiO3mA.cjs} +1 -1
- package/components/{CasinoSlider-D3psXdEh.js → CasinoSlider-BGcfG7tc.js} +59 -59
- package/components/{CasinoSlider-Cunmuq-P.js → CasinoSlider-CbwSfQ5U.js} +90 -90
- package/components/PlayerAccountBalanceModal-CRsCp5RM.js +1510 -0
- package/components/PlayerAccountBalanceModal-CxtwbrSo.cjs +13 -0
- package/components/PlayerAccountBalanceModal-LJoITUi6.js +1539 -0
- package/components/{PlayerDeposit-BpfGM-w1.js → PlayerDeposit-DT3FMmq_.js} +65 -65
- package/components/{PlayerDeposit-p2EYro_u.js → PlayerDeposit-LOugiTzl.js} +65 -65
- package/components/PlayerDeposit-kURepYtp.cjs +1 -0
- 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-BaxDlNn6.cjs +1 -0
- package/stencil/index-1ef3a64c-D9Ku4GpR.js +572 -0
- package/stencil/index-1ef3a64c-ROy2EAIH.js +556 -0
- package/stencil/index-b7bbd57e-BoAFccAK.js +550 -0
- package/stencil/index-b7bbd57e-BuEw0j7w.js +534 -0
- package/stencil/index-b7bbd57e-ClcNZKHr.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-DSKYkFDR.cjs → ui-image-38c3c15f-6EDRvUAC.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-BrMN1r-f.js → ui-image-38c3c15f-BkLbeFkW.js} +1 -1
- package/stencil/{ui-image-38c3c15f-DJ4mX8s9.js → ui-image-38c3c15f-Xqn6sg2a.js} +1 -1
- package/stencil/{ui-image-DJ6CI_DU.js → ui-image-CE5QS3zc.js} +2 -2
- package/stencil/{ui-image-BWWgU_uH.js → ui-image-CjqRfQLV.js} +2 -2
- package/stencil/{ui-image-BxRHakSy.cjs → ui-image-kleliRLi.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-C2hFhOko.cjs → user-deposit-withdrawal-BFFp7sgO.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BSMKIHfB.js → user-deposit-withdrawal-BgHQVwjl.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BB9s28xc.js → user-deposit-withdrawal-CiSGImrn.js} +1 -1
- package/components/CasinoHamburgerMenu-nSi6_GPa.cjs +0 -21
- package/components/PlayerAccountBalanceModal-BtbEXU7C.js +0 -1510
- package/components/PlayerAccountBalanceModal-DGswwf7U.js +0 -1539
- package/components/PlayerAccountBalanceModal-DmC872Cn.cjs +0 -13
- package/components/PlayerDeposit-BZHiEvzi.cjs +0 -1
- package/stencil/index-1ef3a64c-Bbwd34hU.js +0 -556
- package/stencil/index-1ef3a64c-DRNu975a.cjs +0 -1
- package/stencil/index-1ef3a64c-jc8GL-4U.js +0 -572
- package/stencil/index-b7bbd57e-BI5Jd3XF.js +0 -534
- package/stencil/index-b7bbd57e-CWFHq7YQ.js +0 -550
- package/stencil/index-b7bbd57e-ZVNIWqhl.cjs +0 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { $ as V, a as Re, b as Te, S as je, i as We,
|
2
|
-
import "../stencil/ui-image-
|
1
|
+
import { $ as V, a as Re, b as Te, S as je, i as We, f as C, c as ze, s as Oe, d as Ge, g as F, e as j, x as f, j as S, y as p, z as K, n as ie, k as L, C as xe, o as Be, m as qe, u as Ye, v as G, E as q, M as we, h as P, I as ae, q as Q, t as Ue, N as ye, B as Pe, w as Z, A as $ } from "./CasinoHamburgerMenu-DG16kRnn.js";
|
2
|
+
import "../stencil/ui-image-CE5QS3zc.js";
|
3
3
|
function Ke({ withLocale: a, translations: e }) {
|
4
4
|
V.subscribe((t) => {
|
5
5
|
t == null && (Re.set(e), V.set(a));
|
@@ -8,7 +8,7 @@ function Ke({ withLocale: a, translations: e }) {
|
|
8
8
|
function ne(a, e) {
|
9
9
|
Te(a, e);
|
10
10
|
}
|
11
|
-
function
|
11
|
+
function Xe(a) {
|
12
12
|
V.set(a);
|
13
13
|
}
|
14
14
|
const le = {
|
@@ -68,8 +68,8 @@ const le = {
|
|
68
68
|
deposit: "Deposit"
|
69
69
|
}
|
70
70
|
};
|
71
|
-
function
|
72
|
-
|
71
|
+
function Je(a) {
|
72
|
+
Ge(a, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.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}');
|
73
73
|
}
|
74
74
|
function se(a, e, t) {
|
75
75
|
const i = a.slice();
|
@@ -100,12 +100,12 @@ function de(a) {
|
|
100
100
|
c() {
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
102
102
|
e[r].c();
|
103
|
-
i =
|
103
|
+
i = q();
|
104
104
|
},
|
105
105
|
m(r, s) {
|
106
106
|
for (let u = 0; u < e.length; u += 1)
|
107
107
|
e[u] && e[u].m(r, s);
|
108
|
-
|
108
|
+
S(r, i, s);
|
109
109
|
},
|
110
110
|
p(r, s) {
|
111
111
|
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
@@ -115,7 +115,7 @@ function de(a) {
|
|
115
115
|
), e = we(e, s, l, 1, r, n, t, i.parentNode, ye, pe, i, se));
|
116
116
|
},
|
117
117
|
d(r) {
|
118
|
-
r &&
|
118
|
+
r && L(i);
|
119
119
|
for (let s = 0; s < e.length; s += 1)
|
120
120
|
e[s].d(r);
|
121
121
|
}
|
@@ -128,18 +128,18 @@ function Qe(a) {
|
|
128
128
|
), i;
|
129
129
|
return {
|
130
130
|
c() {
|
131
|
-
e = F("button"), i =
|
131
|
+
e = F("button"), i = Z(t), f(e, "class", "CategoryButton");
|
132
132
|
},
|
133
133
|
m(n, l) {
|
134
|
-
|
134
|
+
S(n, e, l), p(e, i);
|
135
135
|
},
|
136
136
|
p(n, l) {
|
137
137
|
l[0] & /*sliderdata*/
|
138
138
|
512 && t !== (t = /*category*/
|
139
|
-
n[48].name + "") &&
|
139
|
+
n[48].name + "") && $(i, t);
|
140
140
|
},
|
141
141
|
d(n) {
|
142
|
-
n &&
|
142
|
+
n && L(e);
|
143
143
|
}
|
144
144
|
};
|
145
145
|
}
|
@@ -150,48 +150,48 @@ function Ve(a) {
|
|
150
150
|
), i, n;
|
151
151
|
return {
|
152
152
|
c() {
|
153
|
-
e = F("a"), i =
|
153
|
+
e = F("a"), i = Z(t), f(e, "href", n = /*category*/
|
154
154
|
a[48].path);
|
155
155
|
},
|
156
156
|
m(l, r) {
|
157
|
-
|
157
|
+
S(l, e, r), p(e, i);
|
158
158
|
},
|
159
159
|
p(l, r) {
|
160
160
|
r[0] & /*sliderdata*/
|
161
161
|
512 && t !== (t = /*category*/
|
162
|
-
l[48].label + "") &&
|
162
|
+
l[48].label + "") && $(i, t), r[0] & /*sliderdata*/
|
163
163
|
512 && n !== (n = /*category*/
|
164
164
|
l[48].path) && f(e, "href", n);
|
165
165
|
},
|
166
166
|
d(l) {
|
167
|
-
l &&
|
167
|
+
l && L(e);
|
168
168
|
}
|
169
169
|
};
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function me(a) {
|
172
172
|
let e, t = (
|
173
173
|
/*subGroupsData*/
|
174
174
|
a[10].length > 0 && /*showsubgroups*/
|
175
|
-
a[2] == "true" &&
|
175
|
+
a[2] == "true" && ge(a)
|
176
176
|
);
|
177
177
|
return {
|
178
178
|
c() {
|
179
|
-
t && t.c(), e =
|
179
|
+
t && t.c(), e = q();
|
180
180
|
},
|
181
181
|
m(i, n) {
|
182
|
-
t && t.m(i, n),
|
182
|
+
t && t.m(i, n), S(i, e, n);
|
183
183
|
},
|
184
184
|
p(i, n) {
|
185
185
|
/*subGroupsData*/
|
186
186
|
i[10].length > 0 && /*showsubgroups*/
|
187
|
-
i[2] == "true" ? t ? t.p(i, n) : (t =
|
187
|
+
i[2] == "true" ? t ? t.p(i, n) : (t = ge(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
188
188
|
},
|
189
189
|
d(i) {
|
190
|
-
i &&
|
190
|
+
i && L(e), t && t.d(i);
|
191
191
|
}
|
192
192
|
};
|
193
193
|
}
|
194
|
-
function
|
194
|
+
function ge(a) {
|
195
195
|
let e, t = G(
|
196
196
|
/*subGroupsData*/
|
197
197
|
a[10]
|
@@ -206,7 +206,7 @@ function me(a) {
|
|
206
206
|
f(e, "class", "DropDown");
|
207
207
|
},
|
208
208
|
m(n, l) {
|
209
|
-
|
209
|
+
S(n, e, l);
|
210
210
|
for (let r = 0; r < i.length; r += 1)
|
211
211
|
i[r] && i[r].m(e, null);
|
212
212
|
},
|
@@ -228,7 +228,7 @@ function me(a) {
|
|
228
228
|
}
|
229
229
|
},
|
230
230
|
d(n) {
|
231
|
-
n &&
|
231
|
+
n && L(e), Pe(i, n);
|
232
232
|
}
|
233
233
|
};
|
234
234
|
}
|
@@ -238,7 +238,7 @@ function fe(a) {
|
|
238
238
|
/*subGroupItem*/
|
239
239
|
((w = a[54]) == null ? void 0 : w.name) + ""
|
240
240
|
), n, l, r, s, u;
|
241
|
-
function M(...
|
241
|
+
function M(...g) {
|
242
242
|
return (
|
243
243
|
/*click_handler_1*/
|
244
244
|
a[33](
|
@@ -250,13 +250,13 @@ function fe(a) {
|
|
250
250
|
a[54],
|
251
251
|
/*subindex*/
|
252
252
|
a[56],
|
253
|
-
...
|
253
|
+
...g
|
254
254
|
)
|
255
255
|
);
|
256
256
|
}
|
257
257
|
return {
|
258
258
|
c() {
|
259
|
-
e = F("li"), t = F("a"), n =
|
259
|
+
e = F("li"), t = F("a"), n = Z(i), r = j(), f(t, "class", l = "SubDropDown " + /*index*/
|
260
260
|
(a[50] == /*activeIndex*/
|
261
261
|
a[6] && /*activeSubIndex*/
|
262
262
|
(a[7] == /*subindex*/
|
@@ -264,14 +264,14 @@ function fe(a) {
|
|
264
264
|
a[8] == /*subindex*/
|
265
265
|
a[56]) ? "active" : ""));
|
266
266
|
},
|
267
|
-
m(
|
268
|
-
|
267
|
+
m(g, y) {
|
268
|
+
S(g, e, y), p(e, t), p(t, n), p(e, r), s || (u = K(e, "click", M), s = !0);
|
269
269
|
},
|
270
|
-
p(
|
270
|
+
p(g, y) {
|
271
271
|
var I;
|
272
|
-
a =
|
272
|
+
a = g, y[0] & /*subGroupsData*/
|
273
273
|
1024 && i !== (i = /*subGroupItem*/
|
274
|
-
((I = a[54]) == null ? void 0 : I.name) + "") &&
|
274
|
+
((I = a[54]) == null ? void 0 : I.name) + "") && $(n, i), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
275
275
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
276
276
|
(a[50] == /*activeIndex*/
|
277
277
|
a[6] && /*activeSubIndex*/
|
@@ -280,8 +280,8 @@ function fe(a) {
|
|
280
280
|
a[8] == /*subindex*/
|
281
281
|
a[56]) ? "active" : "")) && f(t, "class", l);
|
282
282
|
},
|
283
|
-
d(
|
284
|
-
|
283
|
+
d(g) {
|
284
|
+
g && L(e), s = !1, u();
|
285
285
|
}
|
286
286
|
};
|
287
287
|
}
|
@@ -295,10 +295,10 @@ function he(a, e) {
|
|
295
295
|
key: a,
|
296
296
|
first: null,
|
297
297
|
c() {
|
298
|
-
t =
|
298
|
+
t = q(), n && n.c(), i = q(), this.first = t;
|
299
299
|
},
|
300
300
|
m(l, r) {
|
301
|
-
|
301
|
+
S(l, t, r), n && n.m(l, r), S(l, i, r);
|
302
302
|
},
|
303
303
|
p(l, r) {
|
304
304
|
e = l, /*index*/
|
@@ -306,7 +306,7 @@ function he(a, e) {
|
|
306
306
|
e[51].index ? n ? n.p(e, r) : (n = fe(e), n.c(), n.m(i.parentNode, i)) : n && (n.d(1), n = null);
|
307
307
|
},
|
308
308
|
d(l) {
|
309
|
-
l && (
|
309
|
+
l && (L(t), L(i)), n && n.d(l);
|
310
310
|
}
|
311
311
|
};
|
312
312
|
}
|
@@ -327,12 +327,12 @@ function Ce(a) {
|
|
327
327
|
c() {
|
328
328
|
for (let r = 0; r < e.length; r += 1)
|
329
329
|
e[r].c();
|
330
|
-
i =
|
330
|
+
i = q();
|
331
331
|
},
|
332
332
|
m(r, s) {
|
333
333
|
for (let u = 0; u < e.length; u += 1)
|
334
334
|
e[u] && e[u].m(r, s);
|
335
|
-
|
335
|
+
S(r, i, s);
|
336
336
|
},
|
337
337
|
p(r, s) {
|
338
338
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
@@ -342,18 +342,18 @@ function Ce(a) {
|
|
342
342
|
), e = we(e, s, l, 1, r, n, t, i.parentNode, ye, he, i, ue));
|
343
343
|
},
|
344
344
|
d(r) {
|
345
|
-
r &&
|
345
|
+
r && L(i);
|
346
346
|
for (let s = 0; s < e.length; s += 1)
|
347
347
|
e[s].d(r);
|
348
348
|
}
|
349
349
|
};
|
350
350
|
}
|
351
351
|
function pe(a, e) {
|
352
|
-
let t, i, n, l, r, s, u, M, w,
|
353
|
-
function I(
|
352
|
+
let t, i, n, l, r, s, u, M, w, g, y;
|
353
|
+
function I(m, _) {
|
354
354
|
return (
|
355
355
|
/*location*/
|
356
|
-
|
356
|
+
m[0] === "headerMain" ? Ve : Qe
|
357
357
|
);
|
358
358
|
}
|
359
359
|
let D = I(e), h = D(e), c = (
|
@@ -361,9 +361,9 @@ function pe(a, e) {
|
|
361
361
|
e[11][
|
362
362
|
/*index*/
|
363
363
|
e[50]
|
364
|
-
] == !0 &&
|
364
|
+
] == !0 && me(e)
|
365
365
|
);
|
366
|
-
function b(...
|
366
|
+
function b(...m) {
|
367
367
|
return (
|
368
368
|
/*click_handler_2*/
|
369
369
|
e[34](
|
@@ -371,7 +371,7 @@ function pe(a, e) {
|
|
371
371
|
e[48],
|
372
372
|
/*index*/
|
373
373
|
e[50],
|
374
|
-
...
|
374
|
+
...m
|
375
375
|
)
|
376
376
|
);
|
377
377
|
}
|
@@ -379,14 +379,14 @@ function pe(a, e) {
|
|
379
379
|
key: a,
|
380
380
|
first: null,
|
381
381
|
c() {
|
382
|
-
var
|
382
|
+
var m, _;
|
383
383
|
t = F("li"), i = F("div"), n = F("ui-image"), s = j(), h.c(), u = j(), c && c.c(), M = j(), P(n, "imgClass", l = "CategoryIconImg " + /*categoriesicon*/
|
384
384
|
(e[3] === "true" ? "" : "DisplayNone")), ae(n.src, r = /*handleSrc*/
|
385
385
|
e[16](
|
386
386
|
/*category*/
|
387
387
|
e[48]
|
388
388
|
)) || P(n, "src", r), f(i, "class", "CategoryIcon"), f(t, "class", w = "CarouselItem " + /*activeindex*/
|
389
|
-
(((
|
389
|
+
(((m = e[1]) == null ? void 0 : m.toString().indexOf("$")) > -1 ? (
|
390
390
|
/*activeindex*/
|
391
391
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
392
392
|
e[48].id.split("$").pop() ? "active" : ""
|
@@ -397,12 +397,12 @@ function pe(a, e) {
|
|
397
397
|
)) + " " + /*location*/
|
398
398
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
399
399
|
},
|
400
|
-
m(
|
401
|
-
|
400
|
+
m(m, _) {
|
401
|
+
S(m, t, _), p(t, i), p(i, n), p(t, s), h.m(t, null), p(t, u), c && c.m(t, null), p(t, M), g || (y = K(t, "click", b), g = !0);
|
402
402
|
},
|
403
|
-
p(
|
403
|
+
p(m, _) {
|
404
404
|
var W, E;
|
405
|
-
e =
|
405
|
+
e = m, _[0] & /*categoriesicon*/
|
406
406
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
407
407
|
(e[3] === "true" ? "" : "DisplayNone")) && P(n, "imgClass", l), _[0] & /*sliderdata*/
|
408
408
|
512 && !ae(n.src, r = /*handleSrc*/
|
@@ -413,7 +413,7 @@ function pe(a, e) {
|
|
413
413
|
e[11][
|
414
414
|
/*index*/
|
415
415
|
e[50]
|
416
|
-
] == !0 ? c ? c.p(e, _) : (c =
|
416
|
+
] == !0 ? c ? c.p(e, _) : (c = me(e), c.c(), c.m(t, M)) : c && (c.d(1), c = null), _[0] & /*activeindex, sliderdata, location*/
|
417
417
|
515 && w !== (w = "CarouselItem " + /*activeindex*/
|
418
418
|
(((W = e[1]) == null ? void 0 : W.toString().indexOf("$")) > -1 ? (
|
419
419
|
/*activeindex*/
|
@@ -426,25 +426,25 @@ function pe(a, e) {
|
|
426
426
|
)) + " " + /*location*/
|
427
427
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", w);
|
428
428
|
},
|
429
|
-
d(
|
430
|
-
|
429
|
+
d(m) {
|
430
|
+
m && L(t), h.d(), c && c.d(), g = !1, y();
|
431
431
|
}
|
432
432
|
};
|
433
433
|
}
|
434
434
|
function Ze(a) {
|
435
|
-
let e, t, i, n, l, r, s, u, M, w,
|
435
|
+
let e, t, i, n, l, r, s, u, M, w, g, y, I, D, h, c = (
|
436
436
|
/*sliderdata*/
|
437
437
|
a[9].length > 0 && de(a)
|
438
438
|
);
|
439
439
|
return {
|
440
440
|
c() {
|
441
|
-
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>', n = j(), l = F("div"), r = F("ul"), s = F("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = j(), c && c.c(), M = j(), 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",
|
441
|
+
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>', n = j(), l = F("div"), r = F("ul"), s = F("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = j(), c && c.c(), M = j(), 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", g = `CarouselContainer CarouselContainerMobile ${/*location*/
|
442
442
|
a[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), f(t, "style", y = /*location*/
|
443
443
|
a[0] === "headerMain" ? "max-width: auto" : void 0), f(e, "class", I = "CarouselWrapper " + /*location*/
|
444
444
|
(a[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
445
445
|
},
|
446
|
-
m(b,
|
447
|
-
|
446
|
+
m(b, m) {
|
447
|
+
S(b, e, m), p(e, t), p(t, i), p(t, n), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), a[35](r), a[36](l), p(t, M), p(t, w), a[38](e), D || (h = [
|
448
448
|
K(
|
449
449
|
i,
|
450
450
|
"click",
|
@@ -459,25 +459,25 @@ function Ze(a) {
|
|
459
459
|
)
|
460
460
|
], D = !0);
|
461
461
|
},
|
462
|
-
p(b,
|
462
|
+
p(b, m) {
|
463
463
|
/*sliderdata*/
|
464
|
-
b[9].length > 0 ? c ? c.p(b,
|
465
|
-
1 &&
|
466
|
-
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && f(t, "class",
|
464
|
+
b[9].length > 0 ? c ? c.p(b, m) : (c = de(b), c.c(), c.m(r, null)) : c && (c.d(1), c = null), m[0] & /*location*/
|
465
|
+
1 && g !== (g = `CarouselContainer CarouselContainerMobile ${/*location*/
|
466
|
+
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && f(t, "class", g), m[0] & /*location*/
|
467
467
|
1 && y !== (y = /*location*/
|
468
|
-
b[0] === "headerMain" ? "max-width: auto" : void 0) && f(t, "style", y),
|
468
|
+
b[0] === "headerMain" ? "max-width: auto" : void 0) && f(t, "style", y), m[0] & /*location*/
|
469
469
|
1 && I !== (I = "CarouselWrapper " + /*location*/
|
470
470
|
(b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && f(e, "class", I);
|
471
471
|
},
|
472
472
|
i: ie,
|
473
473
|
o: ie,
|
474
474
|
d(b) {
|
475
|
-
b &&
|
475
|
+
b && L(e), c && c.d(), a[35](null), a[36](null), a[38](null), D = !1, xe(h);
|
476
476
|
}
|
477
477
|
};
|
478
478
|
}
|
479
479
|
function $e(a, e, t) {
|
480
|
-
let { endpoint: i = "" } = e, { datasource: n = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: M = "" } = e, { clientstylingurl: w = "" } = e, { identity:
|
480
|
+
let { endpoint: i = "" } = e, { datasource: n = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: M = "" } = e, { clientstylingurl: w = "" } = e, { identity: g = "" } = e, { translationurl: y = "" } = e, { isprimarymenu: I = !1 } = e, { issecondarymenu: D = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: m = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: W = "" } = e, { mbsource: E = "" } = e;
|
481
481
|
Ke({ withLocale: "en", translations: {} });
|
482
482
|
const be = () => {
|
483
483
|
fetch(y).then((d) => d.json()).then((d) => {
|
@@ -491,7 +491,7 @@ function $e(a, e, t) {
|
|
491
491
|
Object.keys(le).forEach((o) => {
|
492
492
|
ne(o, le[o]);
|
493
493
|
});
|
494
|
-
let z, N,
|
494
|
+
let z, N, x, X, A, B = [], Y = [], O = [], v, J = (o, d, k, R, H) => {
|
495
495
|
var T;
|
496
496
|
if (!(o.subGroups && R === null)) {
|
497
497
|
if (U(), t(6, N = d), t(6, N), H != "secondary") {
|
@@ -507,10 +507,10 @@ function $e(a, e, t) {
|
|
507
507
|
target: ((T = o.attrs) == null ? void 0 : T.target) || null
|
508
508
|
},
|
509
509
|
window.location.href
|
510
|
-
), t(7,
|
510
|
+
), t(7, x = null), t(8, X = null);
|
511
511
|
return;
|
512
512
|
}
|
513
|
-
t(7,
|
513
|
+
t(7, x = R), t(7, x), t(8, X = x), window.postMessage(
|
514
514
|
{
|
515
515
|
type: r,
|
516
516
|
itemId: k.id,
|
@@ -526,16 +526,16 @@ function $e(a, e, t) {
|
|
526
526
|
v && (O.length !== N ? t(12, v.scrollLeft += 250, v) : t(12, v.scrollLeft = 0, v));
|
527
527
|
};
|
528
528
|
const re = (o) => {
|
529
|
-
o.data.type == "SliderData" && o.data.identity ==
|
529
|
+
o.data.type == "SliderData" && o.data.identity == g && (t(9, B = o.data.data), t(11, O = new Array(B.length).fill(!1)), b == "true" && ke()), o.data.type == "GoToHomepage" && B.forEach((d, k) => {
|
530
530
|
d.path.endsWith("/casino") && (t(6, N = k), t(6, N));
|
531
531
|
});
|
532
532
|
}, ve = () => {
|
533
|
-
|
533
|
+
Xe(h);
|
534
534
|
}, _e = (o, d, k) => {
|
535
535
|
if (u == "secondaryMenu" && i && n && h && o.id) {
|
536
536
|
let R = new URL(`${i}/v1/casino/groups/${n}/${o.id}/subGroups?language=${h}`);
|
537
537
|
fetch(R.href).then((H) => H.json()).then((H) => {
|
538
|
-
H.index = d, t(10,
|
538
|
+
H.index = d, t(10, Y = Y.concat(H)), b == "false" && window.postMessage(
|
539
539
|
{
|
540
540
|
type: r,
|
541
541
|
itemId: o.id,
|
@@ -545,7 +545,7 @@ function $e(a, e, t) {
|
|
545
545
|
window.location.href
|
546
546
|
);
|
547
547
|
const T = [];
|
548
|
-
|
548
|
+
Y.map((Ee) => (Ee.items.forEach((oe) => {
|
549
549
|
T.find((Ne) => oe.id == Ne) || T.push(oe.id);
|
550
550
|
}), T.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: T }, window.location.href);
|
551
551
|
}).then(() => {
|
@@ -560,7 +560,7 @@ function $e(a, e, t) {
|
|
560
560
|
o[d].style.transform = "translateX(-" + v.scrollLeft + "px)";
|
561
561
|
v.classList.remove("isScrolling");
|
562
562
|
}, ke = () => {
|
563
|
-
|
563
|
+
B.forEach((o, d) => {
|
564
564
|
var k;
|
565
565
|
((k = o == null ? void 0 : o.subGroups) == null ? void 0 : k.count) > 0 && (t(11, O[d] = !0, O), _e(o, d));
|
566
566
|
});
|
@@ -573,13 +573,13 @@ function $e(a, e, t) {
|
|
573
573
|
v.addEventListener("scroll", U);
|
574
574
|
},
|
575
575
|
500
|
576
|
-
), window.postMessage({ type: "SliderLoaded", identity:
|
576
|
+
), window.postMessage({ type: "SliderLoaded", identity: g }), () => {
|
577
577
|
window.removeEventListener("message", re), z.removeEventListener("scroll", U);
|
578
578
|
}));
|
579
579
|
const Me = () => ee(), Ie = (o, d, k, R, H) => {
|
580
|
-
|
580
|
+
J(o, d, k, R, "secondary"), H.stopPropagation();
|
581
581
|
}, De = (o, d, k) => {
|
582
|
-
|
582
|
+
J(o, d, null, null, "main"), k.preventDefault();
|
583
583
|
};
|
584
584
|
function Se(o) {
|
585
585
|
Q[o ? "unshift" : "push"](() => {
|
@@ -598,31 +598,31 @@ function $e(a, e, t) {
|
|
598
598
|
});
|
599
599
|
}
|
600
600
|
return a.$$set = (o) => {
|
601
|
-
"endpoint" in o && t(17, i = o.endpoint), "datasource" in o && t(18, n = 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,
|
601
|
+
"endpoint" in o && t(17, i = o.endpoint), "datasource" in o && t(18, n = 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, g = o.identity), "translationurl" in o && t(25, y = o.translationurl), "isprimarymenu" in o && t(26, I = o.isprimarymenu), "issecondarymenu" in o && t(27, D = 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, m = o.categoriesicon), "lobbyiconimage" in o && t(29, _ = o.lobbyiconimage), "mygamesiconimage" in o && t(30, W = o.mygamesiconimage), "mbsource" in o && t(31, E = o.mbsource);
|
602
602
|
}, a.$$.update = () => {
|
603
603
|
a.$$.dirty[0] & /*activeindex*/
|
604
604
|
2, a.$$.dirty[0] & /*translationurl*/
|
605
605
|
33554432 && y && be(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
606
|
-
4194320 && M && A &&
|
606
|
+
4194320 && M && A && Ue(A, M), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
607
607
|
8388624 && w && A && qe(A, w), a.$$.dirty[0] & /*customStylingContainer*/
|
608
608
|
16 | a.$$.dirty[1] & /*mbsource*/
|
609
|
-
1 && E && A &&
|
609
|
+
1 && E && A && Ye(A, `${E}.Style`), a.$$.dirty[0] & /*lang*/
|
610
610
|
268435456 && h && ve();
|
611
611
|
}, [
|
612
612
|
u,
|
613
613
|
c,
|
614
614
|
b,
|
615
|
-
|
615
|
+
m,
|
616
616
|
A,
|
617
617
|
z,
|
618
618
|
N,
|
619
|
-
B,
|
620
|
-
J,
|
621
619
|
x,
|
622
|
-
|
620
|
+
X,
|
621
|
+
B,
|
622
|
+
Y,
|
623
623
|
O,
|
624
624
|
v,
|
625
|
-
|
625
|
+
J,
|
626
626
|
ee,
|
627
627
|
te,
|
628
628
|
Fe,
|
@@ -633,7 +633,7 @@ function $e(a, e, t) {
|
|
633
633
|
s,
|
634
634
|
M,
|
635
635
|
w,
|
636
|
-
|
636
|
+
g,
|
637
637
|
y,
|
638
638
|
I,
|
639
639
|
D,
|
@@ -657,7 +657,7 @@ class et extends je {
|
|
657
657
|
e,
|
658
658
|
$e,
|
659
659
|
Ze,
|
660
|
-
|
660
|
+
Oe,
|
661
661
|
{
|
662
662
|
endpoint: 17,
|
663
663
|
datasource: 18,
|
@@ -679,7 +679,7 @@ class et extends je {
|
|
679
679
|
mygamesiconimage: 30,
|
680
680
|
mbsource: 31
|
681
681
|
},
|
682
|
-
|
682
|
+
Je,
|
683
683
|
[-1, -1]
|
684
684
|
);
|
685
685
|
}
|
@@ -798,7 +798,7 @@ class et extends je {
|
|
798
798
|
this.$$set({ mbsource: e }), C();
|
799
799
|
}
|
800
800
|
}
|
801
|
-
|
801
|
+
ze(et, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
802
802
|
export {
|
803
803
|
et as default
|
804
804
|
};
|