@everymatrix/casino-slider 1.55.0 → 1.56.2
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/{CasinoSlider-72roLlp-.js → CasinoSlider-CDNb0RJP.js} +81 -56
- package/components/{CasinoSlider-B-cj6kHc.js → CasinoSlider-ClyLSUZL.js} +119 -94
- package/components/CasinoSlider-mJFWsMq5.cjs +16 -0
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-jhyv7bwo.cjs +0 -3
@@ -42,7 +42,8 @@ function Br(e, t, r) {
|
|
42
42
|
}
|
43
43
|
}
|
44
44
|
function Ir(e) {
|
45
|
-
if (!e)
|
45
|
+
if (!e)
|
46
|
+
return document;
|
46
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
47
48
|
return t && /** @type {ShadowRoot} */
|
48
49
|
t.host ? (
|
@@ -82,7 +83,7 @@ function me() {
|
|
82
83
|
function Te(e, t, r, n) {
|
83
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
84
85
|
}
|
85
|
-
function
|
86
|
+
function S(e, t, r) {
|
86
87
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
87
88
|
}
|
88
89
|
function Pr(e) {
|
@@ -106,7 +107,8 @@ function ce(e) {
|
|
106
107
|
de = e;
|
107
108
|
}
|
108
109
|
function Or() {
|
109
|
-
if (!de)
|
110
|
+
if (!de)
|
111
|
+
throw new Error("Function called outside component initialization");
|
110
112
|
return de;
|
111
113
|
}
|
112
114
|
function Fr(e) {
|
@@ -137,7 +139,8 @@ function A() {
|
|
137
139
|
} catch (t) {
|
138
140
|
throw K.length = 0, J = 0, t;
|
139
141
|
}
|
140
|
-
for (ce(null), K.length = 0, J = 0; fe.length; )
|
142
|
+
for (ce(null), K.length = 0, J = 0; fe.length; )
|
143
|
+
fe.pop()();
|
141
144
|
for (let t = 0; t < ee.length; t += 1) {
|
142
145
|
const r = ee[t];
|
143
146
|
Fe.has(r) || (Fe.add(r), r());
|
@@ -172,12 +175,13 @@ function kt(e, t) {
|
|
172
175
|
function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
|
173
176
|
let f = e.length, p = s.length, g = f;
|
174
177
|
const b = {};
|
175
|
-
for (; g--; )
|
176
|
-
|
178
|
+
for (; g--; )
|
179
|
+
b[e[g].key] = g;
|
180
|
+
const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), H = [];
|
177
181
|
for (g = p; g--; ) {
|
178
182
|
const C = m(i, s, g), M = r(C);
|
179
183
|
let N = o.get(M);
|
180
|
-
N ?
|
184
|
+
N ? H.push(() => N.p(C, t)) : (N = l(M, C), N.c()), w.set(M, d[g] = N), M in b && E.set(M, Math.abs(g - b[M]));
|
181
185
|
}
|
182
186
|
const F = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
|
183
187
|
function G(C) {
|
@@ -191,8 +195,9 @@ function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
|
|
191
195
|
const C = e[f];
|
192
196
|
w.has(C.key) || h(C, o);
|
193
197
|
}
|
194
|
-
for (; p; )
|
195
|
-
|
198
|
+
for (; p; )
|
199
|
+
G(d[p - 1]);
|
200
|
+
return Q(H), d;
|
196
201
|
}
|
197
202
|
function $r(e, t, r) {
|
198
203
|
const { fragment: n, after_update: i } = e.$$;
|
@@ -290,7 +295,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
290
295
|
let s;
|
291
296
|
return {
|
292
297
|
c: function() {
|
293
|
-
s = I("slot"), i !== "default" &&
|
298
|
+
s = I("slot"), i !== "default" && S(s, "name", i);
|
294
299
|
},
|
295
300
|
/**
|
296
301
|
* @param {HTMLElement} target
|
@@ -629,11 +634,26 @@ re.all = function(t, r) {
|
|
629
634
|
};
|
630
635
|
var mn = re, dn = mn;
|
631
636
|
const pn = /* @__PURE__ */ Kr(dn);
|
637
|
+
/*! *****************************************************************************
|
638
|
+
Copyright (c) Microsoft Corporation.
|
639
|
+
|
640
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
641
|
+
purpose with or without fee is hereby granted.
|
642
|
+
|
643
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
644
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
645
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
646
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
647
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
648
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
649
|
+
PERFORMANCE OF THIS SOFTWARE.
|
650
|
+
***************************************************************************** */
|
632
651
|
var Xe = function(e, t) {
|
633
652
|
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
634
653
|
r.__proto__ = n;
|
635
654
|
} || function(r, n) {
|
636
|
-
for (var i in n)
|
655
|
+
for (var i in n)
|
656
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
637
657
|
}, Xe(e, t);
|
638
658
|
};
|
639
659
|
function Me(e, t) {
|
@@ -649,23 +669,26 @@ var _ = function() {
|
|
649
669
|
return _ = Object.assign || function(t) {
|
650
670
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
651
671
|
r = arguments[n];
|
652
|
-
for (var s in r)
|
672
|
+
for (var s in r)
|
673
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
653
674
|
}
|
654
675
|
return t;
|
655
676
|
}, _.apply(this, arguments);
|
656
677
|
};
|
657
678
|
function gn(e, t) {
|
658
679
|
var r = {};
|
659
|
-
for (var n in e)
|
680
|
+
for (var n in e)
|
681
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
660
682
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
661
683
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
662
684
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
663
685
|
return r;
|
664
686
|
}
|
665
687
|
function Re(e, t, r) {
|
666
|
-
if (
|
667
|
-
(
|
668
|
-
|
688
|
+
if (arguments.length === 2)
|
689
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
690
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
691
|
+
return e.concat(s || t);
|
669
692
|
}
|
670
693
|
function De(e, t) {
|
671
694
|
var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
|
@@ -2491,7 +2514,8 @@ function Pn(e, t) {
|
|
2491
2514
|
r += h;
|
2492
2515
|
for (; o-- > 0; )
|
2493
2516
|
r = l + r;
|
2494
|
-
} else
|
2517
|
+
} else
|
2518
|
+
i === "J" ? r += "H" : r += i;
|
2495
2519
|
}
|
2496
2520
|
return r;
|
2497
2521
|
}
|
@@ -2867,9 +2891,9 @@ var Zn = (
|
|
2867
2891
|
case "plural":
|
2868
2892
|
case "selectordinal":
|
2869
2893
|
case "select": {
|
2870
|
-
var
|
2894
|
+
var H = this.clonePosition();
|
2871
2895
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2872
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
2896
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
|
2873
2897
|
this.bumpSpace();
|
2874
2898
|
var F = this.parseIdentifierIfPossible(), P = 0;
|
2875
2899
|
if (a !== "select" && F.value === "offset") {
|
@@ -3094,7 +3118,8 @@ function Je(e) {
|
|
3094
3118
|
if (delete t.location, qt(t) || Jt(t))
|
3095
3119
|
for (var r in t.options)
|
3096
3120
|
delete t.options[r].location, Je(t.options[r].value);
|
3097
|
-
else
|
3121
|
+
else
|
3122
|
+
zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
|
3098
3123
|
});
|
3099
3124
|
}
|
3100
3125
|
function Yn(e, t) {
|
@@ -3236,25 +3261,25 @@ function He(e, t, r, n, i, s, o) {
|
|
3236
3261
|
}));
|
3237
3262
|
}
|
3238
3263
|
if (qt(u)) {
|
3239
|
-
var
|
3240
|
-
if (!
|
3264
|
+
var H = u.options[f] || u.options.other;
|
3265
|
+
if (!H)
|
3241
3266
|
throw new Et(u.value, f, Object.keys(u.options), o);
|
3242
|
-
a.push.apply(a, He(
|
3267
|
+
a.push.apply(a, He(H.value, t, r, n, i));
|
3243
3268
|
continue;
|
3244
3269
|
}
|
3245
3270
|
if (Jt(u)) {
|
3246
|
-
var
|
3247
|
-
if (!
|
3271
|
+
var H = u.options["=".concat(f)];
|
3272
|
+
if (!H) {
|
3248
3273
|
if (!Intl.PluralRules)
|
3249
3274
|
throw new Ne(`Intl.PluralRules is not available in this environment.
|
3250
3275
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3251
3276
|
`, ie.MISSING_INTL_API, o);
|
3252
3277
|
var F = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
3253
|
-
|
3278
|
+
H = u.options[F] || u.options.other;
|
3254
3279
|
}
|
3255
|
-
if (!
|
3280
|
+
if (!H)
|
3256
3281
|
throw new Et(u.value, f, Object.keys(u.options), o);
|
3257
|
-
a.push.apply(a, He(
|
3282
|
+
a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
|
3258
3283
|
continue;
|
3259
3284
|
}
|
3260
3285
|
}
|
@@ -3798,19 +3823,19 @@ const Tt = {
|
|
3798
3823
|
}
|
3799
3824
|
};
|
3800
3825
|
function ki(e) {
|
3801
|
-
Br(e, "svelte-
|
3826
|
+
Br(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.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}');
|
3802
3827
|
}
|
3803
3828
|
function At(e, t, r) {
|
3804
3829
|
const n = e.slice();
|
3805
|
-
return n[
|
3830
|
+
return n[48] = t[r], n[50] = r, n;
|
3806
3831
|
}
|
3807
3832
|
function Bt(e, t, r) {
|
3808
3833
|
const n = e.slice();
|
3809
|
-
return n[
|
3834
|
+
return n[51] = t[r], n;
|
3810
3835
|
}
|
3811
3836
|
function It(e, t, r) {
|
3812
3837
|
const n = e.slice();
|
3813
|
-
return n[
|
3838
|
+
return n[54] = t[r], n[56] = r, n;
|
3814
3839
|
}
|
3815
3840
|
function Mt(e) {
|
3816
3841
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
|
@@ -3819,7 +3844,7 @@ function Mt(e) {
|
|
3819
3844
|
);
|
3820
3845
|
const s = (o) => (
|
3821
3846
|
/*category*/
|
3822
|
-
o[
|
3847
|
+
o[48].id
|
3823
3848
|
);
|
3824
3849
|
for (let o = 0; o < i.length; o += 1) {
|
3825
3850
|
let a = At(e, i, o), h = s(a);
|
@@ -3853,11 +3878,11 @@ function Mt(e) {
|
|
3853
3878
|
function $i(e) {
|
3854
3879
|
let t, r = (
|
3855
3880
|
/*category*/
|
3856
|
-
e[
|
3881
|
+
e[48].name + ""
|
3857
3882
|
), n;
|
3858
3883
|
return {
|
3859
3884
|
c() {
|
3860
|
-
t = I("button"), n = be(r),
|
3885
|
+
t = I("button"), n = be(r), S(t, "class", "CategoryButton");
|
3861
3886
|
},
|
3862
3887
|
m(i, s) {
|
3863
3888
|
D(i, t, s), B(t, n);
|
@@ -3865,7 +3890,7 @@ function $i(e) {
|
|
3865
3890
|
p(i, s) {
|
3866
3891
|
s[0] & /*sliderdata*/
|
3867
3892
|
512 && r !== (r = /*category*/
|
3868
|
-
i[
|
3893
|
+
i[48].name + "") && tt(n, r);
|
3869
3894
|
},
|
3870
3895
|
d(i) {
|
3871
3896
|
i && O(t);
|
@@ -3875,12 +3900,12 @@ function $i(e) {
|
|
3875
3900
|
function ji(e) {
|
3876
3901
|
let t, r = (
|
3877
3902
|
/*category*/
|
3878
|
-
e[
|
3903
|
+
e[48].label + ""
|
3879
3904
|
), n, i;
|
3880
3905
|
return {
|
3881
3906
|
c() {
|
3882
|
-
t = I("a"), n = be(r),
|
3883
|
-
e[
|
3907
|
+
t = I("a"), n = be(r), S(t, "href", i = /*category*/
|
3908
|
+
e[48].path);
|
3884
3909
|
},
|
3885
3910
|
m(s, o) {
|
3886
3911
|
D(s, t, o), B(t, n);
|
@@ -3888,9 +3913,9 @@ function ji(e) {
|
|
3888
3913
|
p(s, o) {
|
3889
3914
|
o[0] & /*sliderdata*/
|
3890
3915
|
512 && r !== (r = /*category*/
|
3891
|
-
s[
|
3916
|
+
s[48].label + "") && tt(n, r), o[0] & /*sliderdata*/
|
3892
3917
|
512 && i !== (i = /*category*/
|
3893
|
-
s[
|
3918
|
+
s[48].path) && S(t, "href", i);
|
3894
3919
|
},
|
3895
3920
|
d(s) {
|
3896
3921
|
s && O(t);
|
@@ -3932,7 +3957,7 @@ function Pt(e) {
|
|
3932
3957
|
t = I("ul");
|
3933
3958
|
for (let i = 0; i < n.length; i += 1)
|
3934
3959
|
n[i].c();
|
3935
|
-
|
3960
|
+
S(t, "class", "DropDown");
|
3936
3961
|
},
|
3937
3962
|
m(i, s) {
|
3938
3963
|
D(i, t, s);
|
@@ -3964,33 +3989,33 @@ function Pt(e) {
|
|
3964
3989
|
function Lt(e) {
|
3965
3990
|
let t, r, n = (
|
3966
3991
|
/*subGroupItem*/
|
3967
|
-
e[
|
3992
|
+
e[54]?.name + ""
|
3968
3993
|
), i, s, o, a, h;
|
3969
3994
|
function l(...u) {
|
3970
3995
|
return (
|
3971
3996
|
/*click_handler_1*/
|
3972
3997
|
e[33](
|
3973
3998
|
/*category*/
|
3974
|
-
e[
|
3999
|
+
e[48],
|
3975
4000
|
/*index*/
|
3976
|
-
e[
|
4001
|
+
e[50],
|
3977
4002
|
/*subGroupItem*/
|
3978
|
-
e[
|
4003
|
+
e[54],
|
3979
4004
|
/*subindex*/
|
3980
|
-
e[
|
4005
|
+
e[56],
|
3981
4006
|
...u
|
3982
4007
|
)
|
3983
4008
|
);
|
3984
4009
|
}
|
3985
4010
|
return {
|
3986
4011
|
c() {
|
3987
|
-
t = I("li"), r = I("a"), i = be(n), o = Z(),
|
3988
|
-
(e[
|
4012
|
+
t = I("li"), r = I("a"), i = be(n), o = Z(), S(r, "class", s = "SubDropDown " + /*index*/
|
4013
|
+
(e[50] == /*activeIndex*/
|
3989
4014
|
e[6] && /*activeSubIndex*/
|
3990
4015
|
(e[7] == /*subindex*/
|
3991
|
-
e[
|
4016
|
+
e[56] || /*prevSubIndex*/
|
3992
4017
|
e[8] == /*subindex*/
|
3993
|
-
e[
|
4018
|
+
e[56]) ? "active" : ""));
|
3994
4019
|
},
|
3995
4020
|
m(u, m) {
|
3996
4021
|
D(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Te(t, "click", l), a = !0);
|
@@ -3998,14 +4023,14 @@ function Lt(e) {
|
|
3998
4023
|
p(u, m) {
|
3999
4024
|
e = u, m[0] & /*subGroupsData*/
|
4000
4025
|
1024 && n !== (n = /*subGroupItem*/
|
4001
|
-
e[
|
4026
|
+
e[54]?.name + "") && tt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4002
4027
|
1984 && s !== (s = "SubDropDown " + /*index*/
|
4003
|
-
(e[
|
4028
|
+
(e[50] == /*activeIndex*/
|
4004
4029
|
e[6] && /*activeSubIndex*/
|
4005
4030
|
(e[7] == /*subindex*/
|
4006
|
-
e[
|
4031
|
+
e[56] || /*prevSubIndex*/
|
4007
4032
|
e[8] == /*subindex*/
|
4008
|
-
e[
|
4033
|
+
e[56]) ? "active" : "")) && S(r, "class", s);
|
4009
4034
|
},
|
4010
4035
|
d(u) {
|
4011
4036
|
u && O(t), a = !1, h();
|
@@ -4015,8 +4040,8 @@ function Lt(e) {
|
|
4015
4040
|
function Ot(e, t) {
|
4016
4041
|
let r, n, i = (
|
4017
4042
|
/*index*/
|
4018
|
-
t[
|
4019
|
-
t[
|
4043
|
+
t[50] == /*subGroup*/
|
4044
|
+
t[51].index && Lt(t)
|
4020
4045
|
);
|
4021
4046
|
return {
|
4022
4047
|
key: e,
|
@@ -4029,8 +4054,8 @@ function Ot(e, t) {
|
|
4029
4054
|
},
|
4030
4055
|
p(s, o) {
|
4031
4056
|
t = s, /*index*/
|
4032
|
-
t[
|
4033
|
-
t[
|
4057
|
+
t[50] == /*subGroup*/
|
4058
|
+
t[51].index ? i ? i.p(t, o) : (i = Lt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4034
4059
|
},
|
4035
4060
|
d(s) {
|
4036
4061
|
s && (O(r), O(n)), i && i.d(s);
|
@@ -4040,11 +4065,11 @@ function Ot(e, t) {
|
|
4040
4065
|
function Ft(e) {
|
4041
4066
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
|
4042
4067
|
/*subGroup*/
|
4043
|
-
e[
|
4068
|
+
e[51].items
|
4044
4069
|
);
|
4045
4070
|
const s = (o) => (
|
4046
4071
|
/*subGroupItem*/
|
4047
|
-
o[
|
4072
|
+
o[54].id
|
4048
4073
|
);
|
4049
4074
|
for (let o = 0; o < i.length; o += 1) {
|
4050
4075
|
let a = It(e, i, o), h = s(a);
|
@@ -4065,7 +4090,7 @@ function Ft(e) {
|
|
4065
4090
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4066
4091
|
10176 && (i = te(
|
4067
4092
|
/*subGroup*/
|
4068
|
-
o[
|
4093
|
+
o[51].items
|
4069
4094
|
), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Ot, n, It));
|
4070
4095
|
},
|
4071
4096
|
d(o) {
|
@@ -4077,7 +4102,7 @@ function Ft(e) {
|
|
4077
4102
|
}
|
4078
4103
|
function Rt(e, t) {
|
4079
4104
|
let r, n, i, s, o, a, h, l, u, m, f;
|
4080
|
-
function p(E,
|
4105
|
+
function p(E, H) {
|
4081
4106
|
return (
|
4082
4107
|
/*location*/
|
4083
4108
|
E[0] === "headerMain" ? ji : $i
|
@@ -4087,7 +4112,7 @@ function Rt(e, t) {
|
|
4087
4112
|
/*itemsActive*/
|
4088
4113
|
t[11][
|
4089
4114
|
/*index*/
|
4090
|
-
t[
|
4115
|
+
t[50]
|
4091
4116
|
] == !0 && Nt(t)
|
4092
4117
|
);
|
4093
4118
|
function w(...E) {
|
@@ -4095,9 +4120,9 @@ function Rt(e, t) {
|
|
4095
4120
|
/*click_handler_2*/
|
4096
4121
|
t[34](
|
4097
4122
|
/*category*/
|
4098
|
-
t[
|
4123
|
+
t[48],
|
4099
4124
|
/*index*/
|
4100
|
-
t[
|
4125
|
+
t[50],
|
4101
4126
|
...E
|
4102
4127
|
)
|
4103
4128
|
);
|
@@ -4106,50 +4131,50 @@ function Rt(e, t) {
|
|
4106
4131
|
key: e,
|
4107
4132
|
first: null,
|
4108
4133
|
c() {
|
4109
|
-
r = I("li"), n = I("div"), i = I("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(),
|
4134
|
+
r = I("li"), n = I("div"), i = I("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
|
4110
4135
|
(t[3] === "true" ? "" : "DisplayNone")), ct(i.src, o = /*handleSrc*/
|
4111
4136
|
t[16](
|
4112
4137
|
/*category*/
|
4113
|
-
t[
|
4114
|
-
)) ||
|
4138
|
+
t[48]
|
4139
|
+
)) || S(i, "src", o), S(n, "class", "CategoryIcon"), S(r, "class", u = "CarouselItem " + /*activeindex*/
|
4115
4140
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
4116
4141
|
/*activeindex*/
|
4117
4142
|
t[1]?.split("$").pop() == /*category*/
|
4118
|
-
t[
|
4143
|
+
t[48].id.split("$").pop() ? "active" : ""
|
4119
4144
|
) : (
|
4120
4145
|
/*activeindex*/
|
4121
4146
|
t[1] == /*category*/
|
4122
|
-
t[
|
4147
|
+
t[48].id ? "active" : ""
|
4123
4148
|
)) + " " + /*location*/
|
4124
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")),
|
4149
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4125
4150
|
},
|
4126
|
-
m(E,
|
4127
|
-
D(E, r,
|
4151
|
+
m(E, H) {
|
4152
|
+
D(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Te(r, "click", w), m = !0);
|
4128
4153
|
},
|
4129
|
-
p(E,
|
4130
|
-
t = E,
|
4154
|
+
p(E, H) {
|
4155
|
+
t = E, H[0] & /*categoriesicon*/
|
4131
4156
|
8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
|
4132
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4157
|
+
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
|
4133
4158
|
512 && !ct(i.src, o = /*handleSrc*/
|
4134
4159
|
t[16](
|
4135
4160
|
/*category*/
|
4136
|
-
t[
|
4137
|
-
)) &&
|
4161
|
+
t[48]
|
4162
|
+
)) && S(i, "src", o), g === (g = p(t)) && b ? b.p(t, H) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
|
4138
4163
|
t[11][
|
4139
4164
|
/*index*/
|
4140
|
-
t[
|
4141
|
-
] == !0 ? d ? d.p(t,
|
4165
|
+
t[50]
|
4166
|
+
] == !0 ? d ? d.p(t, H) : (d = Nt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
|
4142
4167
|
515 && u !== (u = "CarouselItem " + /*activeindex*/
|
4143
4168
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
4144
4169
|
/*activeindex*/
|
4145
4170
|
t[1]?.split("$").pop() == /*category*/
|
4146
|
-
t[
|
4171
|
+
t[48].id.split("$").pop() ? "active" : ""
|
4147
4172
|
) : (
|
4148
4173
|
/*activeindex*/
|
4149
4174
|
t[1] == /*category*/
|
4150
|
-
t[
|
4175
|
+
t[48].id ? "active" : ""
|
4151
4176
|
)) + " " + /*location*/
|
4152
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4177
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", u);
|
4153
4178
|
},
|
4154
4179
|
d(E) {
|
4155
4180
|
E && O(r), b.d(), d && d.d(), m = !1, f();
|
@@ -4163,9 +4188,9 @@ function Vi(e) {
|
|
4163
4188
|
);
|
4164
4189
|
return {
|
4165
4190
|
c() {
|
4166
|
-
t = I("div"), r = I("div"), n = I("div"), n.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>', i = Z(), s = I("div"), o = I("ul"), a = I("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = I("div"), u.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>',
|
4167
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4168
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4191
|
+
t = I("div"), r = I("div"), n = I("div"), n.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>', i = Z(), s = I("div"), o = I("ul"), a = I("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = I("div"), u.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>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4192
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4193
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4169
4194
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4170
4195
|
},
|
4171
4196
|
m(w, E) {
|
@@ -4188,11 +4213,11 @@ function Vi(e) {
|
|
4188
4213
|
/*sliderdata*/
|
4189
4214
|
w[9].length > 0 ? d ? d.p(w, E) : (d = Mt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
|
4190
4215
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4191
|
-
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
4216
|
+
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
|
4192
4217
|
1 && f !== (f = /*location*/
|
4193
|
-
w[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
4218
|
+
w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
|
4194
4219
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4195
|
-
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
4220
|
+
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
|
4196
4221
|
},
|
4197
4222
|
i: U,
|
4198
4223
|
o: U,
|
@@ -4202,7 +4227,7 @@ function Vi(e) {
|
|
4202
4227
|
};
|
4203
4228
|
}
|
4204
4229
|
function Xi(e, t, r) {
|
4205
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage:
|
4230
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: F = "" } = t, { mbsource: P = "" } = t;
|
4206
4231
|
Ui({ withLocale: "en", translations: {} });
|
4207
4232
|
const G = () => {
|
4208
4233
|
fetch(f).then((x) => x.json()).then((x) => {
|
@@ -4289,7 +4314,7 @@ function Xi(e, t, r) {
|
|
4289
4314
|
});
|
4290
4315
|
}, br = (c) => {
|
4291
4316
|
let x = "";
|
4292
|
-
return c.id === "LOBBY" ? x =
|
4317
|
+
return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = F), c.icon || x;
|
4293
4318
|
};
|
4294
4319
|
Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4295
4320
|
() => {
|
@@ -4321,7 +4346,7 @@ function Xi(e, t, r) {
|
|
4321
4346
|
});
|
4322
4347
|
}
|
4323
4348
|
return e.$$set = (c) => {
|
4324
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29,
|
4349
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29, H = c.lobbyiconimage), "mygamesiconimage" in c && r(30, F = c.mygamesiconimage), "mbsource" in c && r(31, P = c.mbsource);
|
4325
4350
|
}, e.$$.update = () => {
|
4326
4351
|
e.$$.dirty[0] & /*activeindex*/
|
4327
4352
|
2, e.$$.dirty[0] & /*translationurl*/
|
@@ -4361,7 +4386,7 @@ function Xi(e, t, r) {
|
|
4361
4386
|
p,
|
4362
4387
|
g,
|
4363
4388
|
b,
|
4364
|
-
|
4389
|
+
H,
|
4365
4390
|
F,
|
4366
4391
|
P,
|
4367
4392
|
yr,
|