@everymatrix/casino-categories-slider 1.87.26 → 1.87.27
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/{CasinoCategoriesSlider-DiF6XY0O.cjs → CasinoCategoriesSlider-C3GXfvQk.cjs} +4 -4
- package/components/{CasinoCategoriesSlider-DqpJe-jw.js → CasinoCategoriesSlider-CgwK8TAY.js} +757 -729
- package/components/{CasinoCategoriesSlider-DfbyuFRY.js → CasinoCategoriesSlider-JQF3NTmw.js} +814 -785
- package/components/{CasinoSlider-D59RP9ni.js → CasinoSlider-BqyKHyRH.js} +67 -67
- package/components/{CasinoSlider-Cg-yFFzs.js → CasinoSlider-C9khAWUF.js} +69 -69
- package/components/{CasinoSlider-B3GIXAJo.cjs → CasinoSlider-COFmZ0Fn.cjs} +1 -1
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as Q, a as
|
|
2
|
-
function
|
|
1
|
+
import { $ as Q, a as xe, b as qe, S as Ue, i as Ye, s as Xe, f as w, c as Pe, n as ae, d as D, r as Ke, e as g, g as A, h as y, l as H, p as Ve, j as M, k as W, o as Je, m as G, u as be, q as U, t as Qe, v as J, w as le, x as Z, y as $, z as Ze, A as ve, B as $e, C as et, D as tt, E as rt } from "./CasinoCategoriesSlider-JQF3NTmw.js";
|
|
2
|
+
function ot({ withLocale: n, translations: e }) {
|
|
3
3
|
Q.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (xe.set(e), Q.set(n));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function se(n, e) {
|
|
8
|
-
|
|
8
|
+
qe(n, e);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function nt(n) {
|
|
11
11
|
Q.set(n);
|
|
12
12
|
}
|
|
13
13
|
const ce = {
|
|
@@ -67,8 +67,8 @@ const ce = {
|
|
|
67
67
|
deposit: "Deposit"
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
function
|
|
71
|
-
|
|
70
|
+
function it(n) {
|
|
71
|
+
Pe(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 ue(n, e, t) {
|
|
74
74
|
const i = n.slice();
|
|
@@ -120,7 +120,7 @@ function ge(n) {
|
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function at(n) {
|
|
124
124
|
let e, t = (
|
|
125
125
|
/*category*/
|
|
126
126
|
n[57].name + ""
|
|
@@ -142,7 +142,7 @@ function it(n) {
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function lt(n) {
|
|
146
146
|
let e, t = (
|
|
147
147
|
/*category*/
|
|
148
148
|
n[57].label + ""
|
|
@@ -227,7 +227,7 @@ function he(n) {
|
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
d(a) {
|
|
230
|
-
a && D(e),
|
|
230
|
+
a && D(e), Ze(i, a);
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
}
|
|
@@ -267,10 +267,10 @@ function Ce(n) {
|
|
|
267
267
|
A(h, e, v), y(e, t), y(t, a), y(e, r), s || (d = H(e, "click", I), s = !0);
|
|
268
268
|
},
|
|
269
269
|
p(h, v) {
|
|
270
|
-
var
|
|
270
|
+
var S;
|
|
271
271
|
n = h, v[0] & /*subGroupsData*/
|
|
272
272
|
1024 && i !== (i = /*subGroupItem*/
|
|
273
|
-
((
|
|
273
|
+
((S = n[63]) == null ? void 0 : S.name) + "") && Z(a, i), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
274
274
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
|
275
275
|
(n[59] == /*activeIndex*/
|
|
276
276
|
n[6] && /*activeSubIndex*/
|
|
@@ -349,13 +349,13 @@ function we(n) {
|
|
|
349
349
|
}
|
|
350
350
|
function ye(n, e) {
|
|
351
351
|
let t, i, a, l, r, s, d, I, b, h, v;
|
|
352
|
-
function
|
|
352
|
+
function S(m, F) {
|
|
353
353
|
return (
|
|
354
354
|
/*location*/
|
|
355
|
-
m[0] === "headerMain" ?
|
|
355
|
+
m[0] === "headerMain" ? lt : at
|
|
356
356
|
);
|
|
357
357
|
}
|
|
358
|
-
let
|
|
358
|
+
let L = S(e), C = L(e), u = (
|
|
359
359
|
/*itemsActive*/
|
|
360
360
|
e[11][
|
|
361
361
|
/*index*/
|
|
@@ -408,7 +408,7 @@ function ye(n, e) {
|
|
|
408
408
|
e[20](
|
|
409
409
|
/*category*/
|
|
410
410
|
e[57]
|
|
411
|
-
)) && g(a, "src", r),
|
|
411
|
+
)) && g(a, "src", r), L === (L = S(e)) && C ? C.p(e, F) : (C.d(1), C = L(e), C && (C.c(), C.m(t, d))), /*itemsActive*/
|
|
412
412
|
e[11][
|
|
413
413
|
/*index*/
|
|
414
414
|
e[59]
|
|
@@ -430,8 +430,8 @@ function ye(n, e) {
|
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
let e, t, i, a, l, r, s, d, I, b, h, v,
|
|
433
|
+
function st(n) {
|
|
434
|
+
let e, t, i, a, l, r, s, d, I, b, h, v, S, L, C, u = (
|
|
435
435
|
/*sliderdata*/
|
|
436
436
|
n[9].length > 0 && ge(n)
|
|
437
437
|
);
|
|
@@ -439,11 +439,11 @@ function lt(n) {
|
|
|
439
439
|
c() {
|
|
440
440
|
e = M("div"), t = M("div"), i = M("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 = W(), l = M("div"), r = M("ul"), s = M("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', d = W(), u && u.c(), I = W(), b = M("div"), b.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>', g(i, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap scroller"), g(b, "class", "CarouselRightArrow"), g(t, "class", h = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
441
441
|
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", v = /*location*/
|
|
442
|
-
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class",
|
|
442
|
+
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", S = "CarouselWrapper " + /*location*/
|
|
443
443
|
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
|
444
444
|
},
|
|
445
445
|
m(_, m) {
|
|
446
|
-
A(_, e, m), y(e, t), y(t, i), y(t, a), y(t, l), y(l, r), y(r, s), y(r, d), u && u.m(r, null), n[40](r), n[41](l), y(t, I), y(t, b), n[43](e),
|
|
446
|
+
A(_, e, m), y(e, t), y(t, i), y(t, a), y(t, l), y(l, r), y(r, s), y(r, d), u && u.m(r, null), n[40](r), n[41](l), y(t, I), y(t, b), n[43](e), L || (C = [
|
|
447
447
|
H(
|
|
448
448
|
i,
|
|
449
449
|
"click",
|
|
@@ -474,7 +474,7 @@ function lt(n) {
|
|
|
474
474
|
/*handleMouseMove*/
|
|
475
475
|
n[16]
|
|
476
476
|
),
|
|
477
|
-
H(r, "click",
|
|
477
|
+
H(r, "click", Ve(
|
|
478
478
|
/*click_handler*/
|
|
479
479
|
n[36]
|
|
480
480
|
)),
|
|
@@ -484,7 +484,7 @@ function lt(n) {
|
|
|
484
484
|
/*click_handler_4*/
|
|
485
485
|
n[42]
|
|
486
486
|
)
|
|
487
|
-
],
|
|
487
|
+
], L = !0);
|
|
488
488
|
},
|
|
489
489
|
p(_, m) {
|
|
490
490
|
/*sliderdata*/
|
|
@@ -493,34 +493,34 @@ function lt(n) {
|
|
|
493
493
|
_[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class", h), m[0] & /*location*/
|
|
494
494
|
1 && v !== (v = /*location*/
|
|
495
495
|
_[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", v), m[0] & /*location*/
|
|
496
|
-
1 &&
|
|
497
|
-
(_[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class",
|
|
496
|
+
1 && S !== (S = "CarouselWrapper " + /*location*/
|
|
497
|
+
(_[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class", S);
|
|
498
498
|
},
|
|
499
499
|
i: ae,
|
|
500
500
|
o: ae,
|
|
501
501
|
d(_) {
|
|
502
|
-
_ && D(e), u && u.d(), n[40](null), n[41](null), n[43](null),
|
|
502
|
+
_ && D(e), u && u.d(), n[40](null), n[41](null), n[43](null), L = !1, Ke(C);
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: I = "" } = e, { clientstylingurl: b = "" } = e, { identity: h = "" } = e, { translationurl: v = "" } = e, { isprimarymenu:
|
|
508
|
-
|
|
506
|
+
function ct(n, e, t) {
|
|
507
|
+
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: I = "" } = e, { clientstylingurl: b = "" } = e, { identity: h = "" } = e, { translationurl: v = "" } = e, { isprimarymenu: S = !1 } = e, { issecondarymenu: L = !1 } = e, { lang: C = "" } = e, { activeindex: u = "0" } = e, { showsubgroups: _ = "false" } = e, { categoriesicon: m = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: z = "" } = e, { mbsource: R = "" } = e, _e, f;
|
|
508
|
+
ot({ withLocale: "en", translations: {} });
|
|
509
509
|
let Y = !1, ee = 0, te = 0;
|
|
510
|
-
const
|
|
510
|
+
const ke = (o) => {
|
|
511
511
|
var c, p;
|
|
512
512
|
o.preventDefault(), Y = !0, f == null || f.classList.add("dragging"), ee = o.pageX - ((c = f == null ? void 0 : f.offsetLeft) != null ? c : 0), te = (p = f == null ? void 0 : f.scrollLeft) != null ? p : 0;
|
|
513
|
-
}, ke = (o) => {
|
|
514
|
-
o.preventDefault(), Y = !1, f == null || f.classList.remove("dragging");
|
|
515
513
|
}, Fe = (o) => {
|
|
516
|
-
Y = !1, f == null || f.classList.remove("dragging");
|
|
514
|
+
o.preventDefault(), Y = !1, f == null || f.classList.remove("dragging");
|
|
517
515
|
}, Me = (o) => {
|
|
516
|
+
Y = !1, f == null || f.classList.remove("dragging");
|
|
517
|
+
}, Ie = (o) => {
|
|
518
518
|
if (!Y || !f)
|
|
519
519
|
return;
|
|
520
520
|
o.preventDefault();
|
|
521
521
|
const p = (o.pageX - f.offsetLeft - ee) * 2.5;
|
|
522
522
|
t(5, f.scrollLeft = te - p, f);
|
|
523
|
-
},
|
|
523
|
+
}, Se = () => {
|
|
524
524
|
fetch(v).then((c) => c.json()).then((c) => {
|
|
525
525
|
Object.keys(c).forEach((p) => {
|
|
526
526
|
se(p, c[p]);
|
|
@@ -567,12 +567,12 @@ function st(n, e, t) {
|
|
|
567
567
|
k && (O.length !== T ? t(12, k.scrollLeft += 250, k) : t(12, k.scrollLeft = 0, k));
|
|
568
568
|
};
|
|
569
569
|
const ne = (o) => {
|
|
570
|
-
o.data.type == "SliderData" && o.data.identity == h && (t(9, q = o.data.data), t(11, O = new Array(q.length).fill(!1)), _ == "true" &&
|
|
570
|
+
o.data.type == "SliderData" && o.data.identity == h && (t(9, q = o.data.data), t(11, O = new Array(q.length).fill(!1)), _ == "true" && Ae()), o.data.type == "GoToHomepage" && q.forEach((c, p) => {
|
|
571
571
|
c.path.endsWith("/casino") && (t(6, T = p), t(6, T));
|
|
572
572
|
});
|
|
573
573
|
}, Le = () => {
|
|
574
|
-
|
|
575
|
-
},
|
|
574
|
+
nt(C);
|
|
575
|
+
}, De = (o, c, p) => {
|
|
576
576
|
if (d == "secondaryMenu" && i && a && C && o.id) {
|
|
577
577
|
let B = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${C}`);
|
|
578
578
|
fetch(B.href).then((N) => N.json()).then((N) => {
|
|
@@ -586,8 +586,8 @@ function st(n, e, t) {
|
|
|
586
586
|
window.location.href
|
|
587
587
|
);
|
|
588
588
|
const j = [];
|
|
589
|
-
X.map((
|
|
590
|
-
j.find((
|
|
589
|
+
X.map((Oe) => (Oe.items.forEach((ie) => {
|
|
590
|
+
j.find((Ge) => ie.id == Ge) || j.push(ie.id);
|
|
591
591
|
}), j.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: j }, window.location.href);
|
|
592
592
|
}).then(() => {
|
|
593
593
|
f.querySelectorAll(".DropDown") && P();
|
|
@@ -600,16 +600,16 @@ function st(n, e, t) {
|
|
|
600
600
|
for (let c = 0; c < o.length; c++)
|
|
601
601
|
o[c].style.transform = "translateX(-" + k.scrollLeft + "px)";
|
|
602
602
|
k.classList.remove("isScrolling");
|
|
603
|
-
},
|
|
603
|
+
}, Ae = () => {
|
|
604
604
|
q.forEach((o, c) => {
|
|
605
605
|
var p;
|
|
606
|
-
((p = o == null ? void 0 : o.subGroups) == null ? void 0 : p.count) > 0 && (t(11, O[c] = !0, O),
|
|
606
|
+
((p = o == null ? void 0 : o.subGroups) == null ? void 0 : p.count) > 0 && (t(11, O[c] = !0, O), De(o, c));
|
|
607
607
|
});
|
|
608
|
-
},
|
|
608
|
+
}, Ee = (o) => {
|
|
609
609
|
let c = "";
|
|
610
610
|
return o.id === "LOBBY" ? c = F : o.id === "MYGAMES" && (c = z), o.icon || c;
|
|
611
611
|
};
|
|
612
|
-
|
|
612
|
+
Je(() => (window.addEventListener("message", ne, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
613
613
|
() => {
|
|
614
614
|
k.addEventListener("scroll", P);
|
|
615
615
|
},
|
|
@@ -617,40 +617,40 @@ function st(n, e, t) {
|
|
|
617
617
|
), window.postMessage({ type: "SliderLoaded", identity: h }), () => {
|
|
618
618
|
window.removeEventListener("message", ne), f.removeEventListener("scroll", P);
|
|
619
619
|
}));
|
|
620
|
-
function
|
|
621
|
-
|
|
620
|
+
function He(o) {
|
|
621
|
+
Qe.call(this, n, o);
|
|
622
622
|
}
|
|
623
|
-
const
|
|
623
|
+
const Ne = () => re(), Re = (o, c, p, B, N) => {
|
|
624
624
|
V(o, c, p, B, "secondary"), N.stopPropagation();
|
|
625
|
-
},
|
|
625
|
+
}, Te = (o, c, p) => {
|
|
626
626
|
V(o, c, null, null, "main"), p.preventDefault();
|
|
627
627
|
};
|
|
628
|
-
function
|
|
628
|
+
function Be(o) {
|
|
629
629
|
J[o ? "unshift" : "push"](() => {
|
|
630
630
|
f = o, t(5, f);
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function je(o) {
|
|
634
634
|
J[o ? "unshift" : "push"](() => {
|
|
635
635
|
k = o, t(12, k);
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
|
-
const
|
|
639
|
-
function
|
|
638
|
+
const We = () => oe();
|
|
639
|
+
function ze(o) {
|
|
640
640
|
J[o ? "unshift" : "push"](() => {
|
|
641
641
|
E = o, t(4, E);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
644
|
return n.$$set = (o) => {
|
|
645
|
-
"endpoint" in o && t(21, i = o.endpoint), "datasource" in o && t(22, a = o.datasource), "onclickeventname" in o && t(23, l = o.onclickeventname), "actionevent" in o && t(24, r = o.actionevent), "favoritesnumber" in o && t(25, s = o.favoritesnumber), "location" in o && t(0, d = o.location), "clientstyling" in o && t(26, I = o.clientstyling), "clientstylingurl" in o && t(27, b = o.clientstylingurl), "identity" in o && t(28, h = o.identity), "translationurl" in o && t(29, v = o.translationurl), "isprimarymenu" in o && t(30,
|
|
645
|
+
"endpoint" in o && t(21, i = o.endpoint), "datasource" in o && t(22, a = o.datasource), "onclickeventname" in o && t(23, l = o.onclickeventname), "actionevent" in o && t(24, r = o.actionevent), "favoritesnumber" in o && t(25, s = o.favoritesnumber), "location" in o && t(0, d = o.location), "clientstyling" in o && t(26, I = o.clientstyling), "clientstylingurl" in o && t(27, b = o.clientstylingurl), "identity" in o && t(28, h = o.identity), "translationurl" in o && t(29, v = o.translationurl), "isprimarymenu" in o && t(30, S = o.isprimarymenu), "issecondarymenu" in o && t(31, L = o.issecondarymenu), "lang" in o && t(32, C = o.lang), "activeindex" in o && t(1, u = o.activeindex), "showsubgroups" in o && t(2, _ = o.showsubgroups), "categoriesicon" in o && t(3, m = o.categoriesicon), "lobbyiconimage" in o && t(33, F = o.lobbyiconimage), "mygamesiconimage" in o && t(34, z = o.mygamesiconimage), "mbsource" in o && t(35, R = o.mbsource);
|
|
646
646
|
}, n.$$.update = () => {
|
|
647
647
|
n.$$.dirty[0] & /*activeindex*/
|
|
648
648
|
2, n.$$.dirty[0] & /*translationurl*/
|
|
649
|
-
536870912 && v &&
|
|
650
|
-
67108880 && I && E &&
|
|
651
|
-
134217744 && b && E &&
|
|
649
|
+
536870912 && v && Se(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
650
|
+
67108880 && I && E && $e(E, I), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
651
|
+
134217744 && b && E && et(E, b), n.$$.dirty[0] & /*customStylingContainer*/
|
|
652
652
|
16 | n.$$.dirty[1] & /*mbsource*/
|
|
653
|
-
16 && R && E &&
|
|
653
|
+
16 && R && E && tt(E, `${R}.Style`, _e), n.$$.dirty[1] & /*lang*/
|
|
654
654
|
2 && C && Le();
|
|
655
655
|
}, [
|
|
656
656
|
d,
|
|
@@ -666,14 +666,14 @@ function st(n, e, t) {
|
|
|
666
666
|
X,
|
|
667
667
|
O,
|
|
668
668
|
k,
|
|
669
|
-
_e,
|
|
670
669
|
ke,
|
|
671
670
|
Fe,
|
|
672
671
|
Me,
|
|
672
|
+
Ie,
|
|
673
673
|
V,
|
|
674
674
|
re,
|
|
675
675
|
oe,
|
|
676
|
-
|
|
676
|
+
Ee,
|
|
677
677
|
i,
|
|
678
678
|
a,
|
|
679
679
|
l,
|
|
@@ -683,30 +683,30 @@ function st(n, e, t) {
|
|
|
683
683
|
b,
|
|
684
684
|
h,
|
|
685
685
|
v,
|
|
686
|
-
L,
|
|
687
686
|
S,
|
|
687
|
+
L,
|
|
688
688
|
C,
|
|
689
689
|
F,
|
|
690
690
|
z,
|
|
691
691
|
R,
|
|
692
|
-
Ee,
|
|
693
692
|
He,
|
|
694
693
|
Ne,
|
|
695
694
|
Re,
|
|
696
695
|
Te,
|
|
697
696
|
Be,
|
|
698
697
|
je,
|
|
699
|
-
We
|
|
698
|
+
We,
|
|
699
|
+
ze
|
|
700
700
|
];
|
|
701
701
|
}
|
|
702
|
-
class
|
|
702
|
+
class ut extends Ue {
|
|
703
703
|
constructor(e) {
|
|
704
|
-
super(),
|
|
704
|
+
super(), Ye(
|
|
705
705
|
this,
|
|
706
706
|
e,
|
|
707
|
+
ct,
|
|
707
708
|
st,
|
|
708
|
-
|
|
709
|
-
Ye,
|
|
709
|
+
Xe,
|
|
710
710
|
{
|
|
711
711
|
endpoint: 21,
|
|
712
712
|
datasource: 22,
|
|
@@ -728,7 +728,7 @@ class ct extends qe {
|
|
|
728
728
|
mygamesiconimage: 34,
|
|
729
729
|
mbsource: 35
|
|
730
730
|
},
|
|
731
|
-
|
|
731
|
+
it,
|
|
732
732
|
[-1, -1, -1]
|
|
733
733
|
);
|
|
734
734
|
}
|
|
@@ -847,7 +847,7 @@ class ct extends qe {
|
|
|
847
847
|
this.$$set({ mbsource: e }), w();
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
|
|
850
|
+
rt(ut, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
851
851
|
export {
|
|
852
|
-
|
|
852
|
+
ut as default
|
|
853
853
|
};
|