@everymatrix/casino-slider 1.54.8 → 1.54.10
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-Cla7MfSi.js → CasinoSlider-BO3KZ6XH.js} +71 -71
- package/components/{CasinoSlider-DdPYhkaL.cjs → CasinoSlider-CrjoUWSZ.cjs} +2 -2
- package/components/{CasinoSlider-DbPDrHOf.js → CasinoSlider-DtVLgqMm.js} +109 -109
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +2 -2
@@ -32,7 +32,7 @@ function $() {
|
|
32
32
|
function kt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function mt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function q(e) {
|
@@ -45,7 +45,7 @@ function $t(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let xe;
|
48
|
-
function
|
48
|
+
function dt(e, t) {
|
49
49
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
50
50
|
}
|
51
51
|
function Rr(e) {
|
@@ -105,7 +105,7 @@ function ye(e) {
|
|
105
105
|
function Q() {
|
106
106
|
return ye(" ");
|
107
107
|
}
|
108
|
-
function
|
108
|
+
function de() {
|
109
109
|
return ye("");
|
110
110
|
}
|
111
111
|
function Te(e, t, r, n) {
|
@@ -141,7 +141,7 @@ function Xr() {
|
|
141
141
|
function Wr(e) {
|
142
142
|
Xr().$$.on_mount.push(e);
|
143
143
|
}
|
144
|
-
const ee = [],
|
144
|
+
const ee = [], me = [];
|
145
145
|
let te = [];
|
146
146
|
const pt = [], zr = /* @__PURE__ */ Promise.resolve();
|
147
147
|
let Ve = !1;
|
@@ -166,7 +166,7 @@ function A() {
|
|
166
166
|
} catch (t) {
|
167
167
|
throw ee.length = 0, Y = 0, t;
|
168
168
|
}
|
169
|
-
for (fe(null), ee.length = 0, Y = 0;
|
169
|
+
for (fe(null), ee.length = 0, Y = 0; me.length; ) me.pop()();
|
170
170
|
for (let t = 0; t < te.length; t += 1) {
|
171
171
|
const r = te[t];
|
172
172
|
Re.has(r) || (Re.add(r), r());
|
@@ -198,30 +198,30 @@ function re(e) {
|
|
198
198
|
function Vt(e, t) {
|
199
199
|
e.d(1), t.delete(e.key);
|
200
200
|
}
|
201
|
-
function Xt(e, t, r, n, i, o, s, a, u, l, h,
|
201
|
+
function Xt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
202
202
|
let f = e.length, p = o.length, g = f;
|
203
203
|
const b = {};
|
204
204
|
for (; g--; ) b[e[g].key] = g;
|
205
|
-
const
|
205
|
+
const d = [], w = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), C = [];
|
206
206
|
for (g = p; g--; ) {
|
207
|
-
const H =
|
207
|
+
const H = m(i, o, g), N = r(H);
|
208
208
|
let R = s.get(N);
|
209
|
-
R ? C.push(() => R.p(H, t)) : (R = l(N, H), R.c()), w.set(N,
|
209
|
+
R ? C.push(() => R.p(H, t)) : (R = l(N, H), R.c()), w.set(N, d[g] = R), N in b && _.set(N, Math.abs(g - b[N]));
|
210
210
|
}
|
211
211
|
const P = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
212
212
|
function L(H) {
|
213
213
|
jt(H, 1), H.m(a, h), s.set(H.key, H), h = H.first, p--;
|
214
214
|
}
|
215
215
|
for (; f && p; ) {
|
216
|
-
const H =
|
216
|
+
const H = d[p - 1], N = e[f - 1], R = H.key, G = N.key;
|
217
217
|
H === N ? (h = H.first, f--, p--) : w.has(G) ? !s.has(R) || P.has(R) ? L(H) : O.has(G) ? f-- : _.get(R) > _.get(G) ? (O.add(R), L(H)) : (P.add(G), f--) : (u(N, s), f--);
|
218
218
|
}
|
219
219
|
for (; f--; ) {
|
220
220
|
const H = e[f];
|
221
221
|
w.has(H.key) || u(H, s);
|
222
222
|
}
|
223
|
-
for (; p; ) L(
|
224
|
-
return q(C),
|
223
|
+
for (; p; ) L(d[p - 1]);
|
224
|
+
return q(C), d;
|
225
225
|
}
|
226
226
|
function Yr(e, t, r) {
|
227
227
|
const { fragment: n, after_update: i } = e.$$;
|
@@ -247,7 +247,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
247
247
|
props: o,
|
248
248
|
update: $,
|
249
249
|
not_equal: i,
|
250
|
-
bound:
|
250
|
+
bound: mt(),
|
251
251
|
// lifecycle
|
252
252
|
on_mount: [],
|
253
253
|
on_destroy: [],
|
@@ -256,20 +256,20 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
256
256
|
after_update: [],
|
257
257
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
258
258
|
// everything else
|
259
|
-
callbacks:
|
259
|
+
callbacks: mt(),
|
260
260
|
dirty: a,
|
261
261
|
skip_bound: !1,
|
262
262
|
root: t.target || u.$$.root
|
263
263
|
};
|
264
264
|
s && s(l.root);
|
265
265
|
let h = !1;
|
266
|
-
if (l.ctx = r ? r(e, t.props || {}, (
|
266
|
+
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
267
267
|
const g = p.length ? p[0] : f;
|
268
|
-
return l.ctx && i(l.ctx[
|
268
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && en(e, m)), f;
|
269
269
|
}) : [], l.update(), h = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
270
270
|
if (t.hydrate) {
|
271
|
-
const
|
272
|
-
l.fragment && l.fragment.l(
|
271
|
+
const m = jr(t.target);
|
272
|
+
l.fragment && l.fragment.l(m), m.forEach(D);
|
273
273
|
} else
|
274
274
|
l.fragment && l.fragment.c();
|
275
275
|
t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
|
@@ -546,18 +546,18 @@ function ae(e, t, r) {
|
|
546
546
|
return sn(r, (s, a) => {
|
547
547
|
let u = !1;
|
548
548
|
const l = [];
|
549
|
-
let h = 0,
|
549
|
+
let h = 0, m = $;
|
550
550
|
const f = () => {
|
551
551
|
if (h)
|
552
552
|
return;
|
553
|
-
|
553
|
+
m();
|
554
554
|
const g = t(n ? l[0] : l, s, a);
|
555
|
-
o ? s(g) :
|
555
|
+
o ? s(g) : m = tt(g) ? g : $;
|
556
556
|
}, p = i.map(
|
557
557
|
(g, b) => Dr(
|
558
558
|
g,
|
559
|
-
(
|
560
|
-
l[b] =
|
559
|
+
(d) => {
|
560
|
+
l[b] = d, h &= ~(1 << b), u && f();
|
561
561
|
},
|
562
562
|
() => {
|
563
563
|
h |= 1 << b;
|
@@ -565,7 +565,7 @@ function ae(e, t, r) {
|
|
565
565
|
)
|
566
566
|
);
|
567
567
|
return u = !0, f(), function() {
|
568
|
-
q(p),
|
568
|
+
q(p), m(), u = !1;
|
569
569
|
};
|
570
570
|
});
|
571
571
|
}
|
@@ -580,17 +580,17 @@ function un(e) {
|
|
580
580
|
}
|
581
581
|
function hn(e) {
|
582
582
|
var t = Object.prototype.toString.call(e);
|
583
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
583
|
+
return t === "[object RegExp]" || t === "[object Date]" || mn(e);
|
584
584
|
}
|
585
585
|
var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
|
586
|
-
function
|
586
|
+
function mn(e) {
|
587
587
|
return e.$$typeof === fn;
|
588
588
|
}
|
589
|
-
function
|
589
|
+
function dn(e) {
|
590
590
|
return Array.isArray(e) ? [] : {};
|
591
591
|
}
|
592
592
|
function ge(e, t) {
|
593
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
593
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(dn(e), e, t) : e;
|
594
594
|
}
|
595
595
|
function pn(e, t, r) {
|
596
596
|
return e.concat(t).map(function(n) {
|
@@ -877,8 +877,8 @@ function Fn(e) {
|
|
877
877
|
if (s.length === 0)
|
878
878
|
throw new Error("Invalid number skeleton");
|
879
879
|
for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
|
880
|
-
var
|
881
|
-
if (
|
880
|
+
var m = h[l];
|
881
|
+
if (m.length === 0)
|
882
882
|
throw new Error("Invalid number skeleton");
|
883
883
|
}
|
884
884
|
r.push({ stem: a, options: u });
|
@@ -1039,11 +1039,11 @@ function Un(e) {
|
|
1039
1039
|
case "integer-width":
|
1040
1040
|
if (i.options.length > 1)
|
1041
1041
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1042
|
-
i.options[0].replace(Dn, function(u, l, h,
|
1042
|
+
i.options[0].replace(Dn, function(u, l, h, m, f, p) {
|
1043
1043
|
if (l)
|
1044
1044
|
t.minimumIntegerDigits = h.length;
|
1045
1045
|
else {
|
1046
|
-
if (
|
1046
|
+
if (m && f)
|
1047
1047
|
throw new Error("We currently do not support maximum integer digits");
|
1048
1048
|
if (p)
|
1049
1049
|
throw new Error("We currently do not support exact integer digits");
|
@@ -1059,8 +1059,8 @@ function Un(e) {
|
|
1059
1059
|
if (yt.test(i.stem)) {
|
1060
1060
|
if (i.options.length > 1)
|
1061
1061
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1062
|
-
i.stem.replace(yt, function(u, l, h,
|
1063
|
-
return h === "*" ? t.minimumFractionDigits = l.length :
|
1062
|
+
i.stem.replace(yt, function(u, l, h, m, f, p) {
|
1063
|
+
return h === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1064
1064
|
});
|
1065
1065
|
var o = i.options[0];
|
1066
1066
|
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), vt(o)));
|
@@ -2828,10 +2828,10 @@ var ri = (
|
|
2828
2828
|
var l = null;
|
2829
2829
|
if (this.bumpIf(",")) {
|
2830
2830
|
this.bumpSpace();
|
2831
|
-
var h = this.clonePosition(),
|
2832
|
-
if (
|
2833
|
-
return
|
2834
|
-
var f = ti(
|
2831
|
+
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2832
|
+
if (m.err)
|
2833
|
+
return m;
|
2834
|
+
var f = ti(m.val);
|
2835
2835
|
if (f.length === 0)
|
2836
2836
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2837
2837
|
var p = v(h, this.clonePosition());
|
@@ -2842,18 +2842,18 @@ var ri = (
|
|
2842
2842
|
return g;
|
2843
2843
|
var b = v(i, this.clonePosition());
|
2844
2844
|
if (l && Et(l == null ? void 0 : l.style, "::", 0)) {
|
2845
|
-
var
|
2845
|
+
var d = ei(l.style.slice(2));
|
2846
2846
|
if (a === "number") {
|
2847
|
-
var
|
2848
|
-
return
|
2849
|
-
val: { type: T.number, value: n, location: b, style:
|
2847
|
+
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2848
|
+
return m.err ? m : {
|
2849
|
+
val: { type: T.number, value: n, location: b, style: m.val },
|
2850
2850
|
err: null
|
2851
2851
|
};
|
2852
2852
|
} else {
|
2853
|
-
if (
|
2853
|
+
if (d.length === 0)
|
2854
2854
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2855
|
-
var w =
|
2856
|
-
this.locale && (w = kn(
|
2855
|
+
var w = d;
|
2856
|
+
this.locale && (w = kn(d, this.locale));
|
2857
2857
|
var f = {
|
2858
2858
|
type: ie.dateTime,
|
2859
2859
|
pattern: w,
|
@@ -2888,10 +2888,10 @@ var ri = (
|
|
2888
2888
|
if (!this.bumpIf(":"))
|
2889
2889
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2890
2890
|
this.bumpSpace();
|
2891
|
-
var
|
2892
|
-
if (
|
2893
|
-
return
|
2894
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(), O =
|
2891
|
+
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2892
|
+
if (m.err)
|
2893
|
+
return m;
|
2894
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), O = m.val;
|
2895
2895
|
}
|
2896
2896
|
var L = this.tryParsePluralOrSelectOptions(t, a, r, P);
|
2897
2897
|
if (L.err)
|
@@ -2979,12 +2979,12 @@ var ri = (
|
|
2979
2979
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2980
2980
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
|
2981
2981
|
if (l.length === 0) {
|
2982
|
-
var
|
2982
|
+
var m = this.clonePosition();
|
2983
2983
|
if (r !== "select" && this.bumpIf("=")) {
|
2984
2984
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2985
2985
|
if (f.err)
|
2986
2986
|
return f;
|
2987
|
-
h = v(
|
2987
|
+
h = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
2988
2988
|
} else
|
2989
2989
|
break;
|
2990
2990
|
}
|
@@ -3198,10 +3198,10 @@ function He(e, t, r, n, i, o, s) {
|
|
3198
3198
|
});
|
3199
3199
|
continue;
|
3200
3200
|
}
|
3201
|
-
var
|
3202
|
-
if (!(i &&
|
3203
|
-
throw new li(
|
3204
|
-
var f = i[
|
3201
|
+
var m = h.value;
|
3202
|
+
if (!(i && m in i))
|
3203
|
+
throw new li(m, s);
|
3204
|
+
var f = i[m];
|
3205
3205
|
if (Mn(h)) {
|
3206
3206
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3207
3207
|
type: typeof f == "string" ? F.literal : F.object,
|
@@ -3234,10 +3234,10 @@ function He(e, t, r, n, i, o, s) {
|
|
3234
3234
|
continue;
|
3235
3235
|
}
|
3236
3236
|
if (tr(h)) {
|
3237
|
-
var g = h.children, b = h.value,
|
3238
|
-
if (!hi(
|
3237
|
+
var g = h.children, b = h.value, d = i[b];
|
3238
|
+
if (!hi(d))
|
3239
3239
|
throw new ai(b, "function", s);
|
3240
|
-
var w = He(g, t, r, n, i, o), _ =
|
3240
|
+
var w = He(g, t, r, n, i, o), _ = d(w.map(function(O) {
|
3241
3241
|
return O.value;
|
3242
3242
|
}));
|
3243
3243
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(O) {
|
@@ -3296,7 +3296,7 @@ function $e(e) {
|
|
3296
3296
|
}
|
3297
3297
|
};
|
3298
3298
|
}
|
3299
|
-
function
|
3299
|
+
function mi(e) {
|
3300
3300
|
return e === void 0 && (e = {
|
3301
3301
|
number: {},
|
3302
3302
|
dateTime: {},
|
@@ -3328,7 +3328,7 @@ function di(e) {
|
|
3328
3328
|
})
|
3329
3329
|
};
|
3330
3330
|
}
|
3331
|
-
var
|
3331
|
+
var di = (
|
3332
3332
|
/** @class */
|
3333
3333
|
function() {
|
3334
3334
|
function e(t, r, n, i) {
|
@@ -3342,8 +3342,8 @@ var mi = (
|
|
3342
3342
|
var l = o.formatToParts(u);
|
3343
3343
|
if (l.length === 1)
|
3344
3344
|
return l[0].value;
|
3345
|
-
var h = l.reduce(function(
|
3346
|
-
return !
|
3345
|
+
var h = l.reduce(function(m, f) {
|
3346
|
+
return !m.length || f.type !== F.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
3347
3347
|
}, []);
|
3348
3348
|
return h.length <= 1 ? h[0] || "" : h;
|
3349
3349
|
}, this.formatToParts = function(u) {
|
@@ -3366,7 +3366,7 @@ var mi = (
|
|
3366
3366
|
this.ast = t;
|
3367
3367
|
if (!Array.isArray(this.ast))
|
3368
3368
|
throw new TypeError("A message must be provided as a String or AST.");
|
3369
|
-
this.formats = fi(e.formats, n), this.formatters = i && i.formatters ||
|
3369
|
+
this.formats = fi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
|
3370
3370
|
}
|
3371
3371
|
return Object.defineProperty(e, "defaultLocale", {
|
3372
3372
|
get: function() {
|
@@ -3509,12 +3509,12 @@ const Se = {};
|
|
3509
3509
|
function _i(e, t) {
|
3510
3510
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
3511
3511
|
}
|
3512
|
-
function
|
3512
|
+
function mr(e) {
|
3513
3513
|
return Se[e];
|
3514
3514
|
}
|
3515
3515
|
function Ei(e) {
|
3516
3516
|
return Pe(e).map((t) => {
|
3517
|
-
const r =
|
3517
|
+
const r = mr(t);
|
3518
3518
|
return [t, r ? [...r] : []];
|
3519
3519
|
}).filter(([, t]) => t.length > 0);
|
3520
3520
|
}
|
@@ -3522,7 +3522,7 @@ function Ke(e) {
|
|
3522
3522
|
return e == null ? !1 : Pe(e).some(
|
3523
3523
|
(t) => {
|
3524
3524
|
var r;
|
3525
|
-
return (r =
|
3525
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
3526
3526
|
}
|
3527
3527
|
);
|
3528
3528
|
}
|
@@ -3532,7 +3532,7 @@ function xi(e, t) {
|
|
3532
3532
|
).then((n) => fr(e, ...n));
|
3533
3533
|
}
|
3534
3534
|
const ce = {};
|
3535
|
-
function
|
3535
|
+
function dr(e) {
|
3536
3536
|
if (!Ke(e))
|
3537
3537
|
return e in ce ? ce[e] : Promise.resolve();
|
3538
3538
|
const t = Ei(e);
|
@@ -3542,7 +3542,7 @@ function mr(e) {
|
|
3542
3542
|
)
|
3543
3543
|
).then(() => {
|
3544
3544
|
if (Ke(e))
|
3545
|
-
return
|
3545
|
+
return dr(e);
|
3546
3546
|
delete ce[e];
|
3547
3547
|
}), ce[e];
|
3548
3548
|
}
|
@@ -3617,7 +3617,7 @@ const Pi = (e) => {
|
|
3617
3617
|
return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
|
3618
3618
|
() => je.set(!0),
|
3619
3619
|
t
|
3620
|
-
) : je.set(!0),
|
3620
|
+
) : je.set(!0), dr(e).then(() => {
|
3621
3621
|
Ae.set(e);
|
3622
3622
|
}).finally(() => {
|
3623
3623
|
clearTimeout(r), je.set(!1);
|
@@ -3700,7 +3700,7 @@ const be = (e, t) => {
|
|
3700
3700
|
return Ri(it({ locale: r }, n));
|
3701
3701
|
}, ki = Oe(
|
3702
3702
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3703
|
-
(e, t = J()) => new
|
3703
|
+
(e, t = J()) => new di(e, t, se().formats, {
|
3704
3704
|
ignoreTag: se().ignoreTag
|
3705
3705
|
})
|
3706
3706
|
), $i = (e, t = {}) => {
|
@@ -3725,16 +3725,16 @@ const be = (e, t) => {
|
|
3725
3725
|
), h;
|
3726
3726
|
if (!a)
|
3727
3727
|
return h;
|
3728
|
-
let
|
3728
|
+
let m = h;
|
3729
3729
|
try {
|
3730
|
-
|
3730
|
+
m = ki(h, u).format(a);
|
3731
3731
|
} catch (f) {
|
3732
3732
|
f instanceof Error && console.warn(
|
3733
3733
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
3734
3734
|
f.message
|
3735
3735
|
);
|
3736
3736
|
}
|
3737
|
-
return
|
3737
|
+
return m;
|
3738
3738
|
}, ji = (e, t) => Ui(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t = J()) => hr(e, t);
|
3739
3739
|
ae([W, le], () => $i);
|
3740
3740
|
ae([W], () => ji);
|
@@ -3841,7 +3841,7 @@ function Ot(e) {
|
|
3841
3841
|
c() {
|
3842
3842
|
for (let s = 0; s < t.length; s += 1)
|
3843
3843
|
t[s].c();
|
3844
|
-
n =
|
3844
|
+
n = de();
|
3845
3845
|
},
|
3846
3846
|
m(s, a) {
|
3847
3847
|
for (let u = 0; u < t.length; u += 1)
|
@@ -3917,7 +3917,7 @@ function Lt(e) {
|
|
3917
3917
|
);
|
3918
3918
|
return {
|
3919
3919
|
c() {
|
3920
|
-
r && r.c(), t =
|
3920
|
+
r && r.c(), t = de();
|
3921
3921
|
},
|
3922
3922
|
m(n, i) {
|
3923
3923
|
r && r.m(n, i), k(n, t, i);
|
@@ -3979,7 +3979,7 @@ function Rt(e) {
|
|
3979
3979
|
/*subGroupItem*/
|
3980
3980
|
((h = e[55]) == null ? void 0 : h.name) + ""
|
3981
3981
|
), i, o, s, a, u;
|
3982
|
-
function l(...
|
3982
|
+
function l(...m) {
|
3983
3983
|
return (
|
3984
3984
|
/*click_handler_1*/
|
3985
3985
|
e[32](
|
@@ -3991,7 +3991,7 @@ function Rt(e) {
|
|
3991
3991
|
e[55],
|
3992
3992
|
/*subindex*/
|
3993
3993
|
e[57],
|
3994
|
-
...
|
3994
|
+
...m
|
3995
3995
|
)
|
3996
3996
|
);
|
3997
3997
|
}
|
@@ -4005,12 +4005,12 @@ function Rt(e) {
|
|
4005
4005
|
e[8] == /*subindex*/
|
4006
4006
|
e[57]) ? "active" : ""));
|
4007
4007
|
},
|
4008
|
-
m(
|
4009
|
-
k(
|
4008
|
+
m(m, f) {
|
4009
|
+
k(m, t, f), I(t, r), I(r, i), I(t, s), a || (u = Te(t, "click", l), a = !0);
|
4010
4010
|
},
|
4011
|
-
p(
|
4011
|
+
p(m, f) {
|
4012
4012
|
var p;
|
4013
|
-
e =
|
4013
|
+
e = m, f[0] & /*subGroupsData*/
|
4014
4014
|
1024 && n !== (n = /*subGroupItem*/
|
4015
4015
|
((p = e[55]) == null ? void 0 : p.name) + "") && rt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4016
4016
|
1984 && o !== (o = "SubDropDown " + /*index*/
|
@@ -4021,8 +4021,8 @@ function Rt(e) {
|
|
4021
4021
|
e[8] == /*subindex*/
|
4022
4022
|
e[57]) ? "active" : "")) && S(r, "class", o);
|
4023
4023
|
},
|
4024
|
-
d(
|
4025
|
-
|
4024
|
+
d(m) {
|
4025
|
+
m && D(t), a = !1, u();
|
4026
4026
|
}
|
4027
4027
|
};
|
4028
4028
|
}
|
@@ -4036,7 +4036,7 @@ function Dt(e, t) {
|
|
4036
4036
|
key: e,
|
4037
4037
|
first: null,
|
4038
4038
|
c() {
|
4039
|
-
r =
|
4039
|
+
r = de(), i && i.c(), n = de(), this.first = r;
|
4040
4040
|
},
|
4041
4041
|
m(o, s) {
|
4042
4042
|
k(o, r, s), i && i.m(o, s), k(o, n, s);
|
@@ -4068,7 +4068,7 @@ function Gt(e) {
|
|
4068
4068
|
c() {
|
4069
4069
|
for (let s = 0; s < t.length; s += 1)
|
4070
4070
|
t[s].c();
|
4071
|
-
n =
|
4071
|
+
n = de();
|
4072
4072
|
},
|
4073
4073
|
m(s, a) {
|
4074
4074
|
for (let u = 0; u < t.length; u += 1)
|
@@ -4090,14 +4090,14 @@ function Gt(e) {
|
|
4090
4090
|
};
|
4091
4091
|
}
|
4092
4092
|
function Ut(e, t) {
|
4093
|
-
let r, n, i, o, s, a, u, l, h,
|
4093
|
+
let r, n, i, o, s, a, u, l, h, m, f;
|
4094
4094
|
function p(_, C) {
|
4095
4095
|
return (
|
4096
4096
|
/*location*/
|
4097
4097
|
_[0] === "headerMain" ? Ji : qi
|
4098
4098
|
);
|
4099
4099
|
}
|
4100
|
-
let g = p(t), b = g(t),
|
4100
|
+
let g = p(t), b = g(t), d = (
|
4101
4101
|
/*itemsActive*/
|
4102
4102
|
t[11][
|
4103
4103
|
/*index*/
|
@@ -4121,8 +4121,8 @@ function Ut(e, t) {
|
|
4121
4121
|
first: null,
|
4122
4122
|
c() {
|
4123
4123
|
var _, C;
|
4124
|
-
r = M("li"), n = M("div"), i = M("img"), a = Q(), b.c(), u = Q(),
|
4125
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4124
|
+
r = M("li"), n = M("div"), i = M("img"), a = Q(), b.c(), u = Q(), d && d.c(), l = Q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4125
|
+
(t[3] === "true" ? "" : "DisplayNone")), dt(i.src, s = /*handleSrc*/
|
4126
4126
|
t[16](
|
4127
4127
|
/*category*/
|
4128
4128
|
t[49]
|
@@ -4139,14 +4139,14 @@ function Ut(e, t) {
|
|
4139
4139
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), S(r, "part", "CarouselItem"), this.first = r;
|
4140
4140
|
},
|
4141
4141
|
m(_, C) {
|
4142
|
-
k(_, r, C), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, u),
|
4142
|
+
k(_, r, C), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, u), d && d.m(r, null), I(r, l), m || (f = Te(r, "click", w), m = !0);
|
4143
4143
|
},
|
4144
4144
|
p(_, C) {
|
4145
4145
|
var P, O;
|
4146
4146
|
t = _, C[0] & /*categoriesicon*/
|
4147
4147
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4148
4148
|
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), C[0] & /*sliderdata*/
|
4149
|
-
512 && !
|
4149
|
+
512 && !dt(i.src, s = /*handleSrc*/
|
4150
4150
|
t[16](
|
4151
4151
|
/*category*/
|
4152
4152
|
t[49]
|
@@ -4154,7 +4154,7 @@ function Ut(e, t) {
|
|
4154
4154
|
t[11][
|
4155
4155
|
/*index*/
|
4156
4156
|
t[51]
|
4157
|
-
] == !0 ?
|
4157
|
+
] == !0 ? d ? d.p(t, C) : (d = Lt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), C[0] & /*activeindex, sliderdata, location*/
|
4158
4158
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4159
4159
|
(((P = t[1]) == null ? void 0 : P.toString().indexOf("$")) > -1 ? (
|
4160
4160
|
/*activeindex*/
|
@@ -4168,24 +4168,24 @@ function Ut(e, t) {
|
|
4168
4168
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
|
4169
4169
|
},
|
4170
4170
|
d(_) {
|
4171
|
-
_ && D(r), b.d(),
|
4171
|
+
_ && D(r), b.d(), d && d.d(), m = !1, f();
|
4172
4172
|
}
|
4173
4173
|
};
|
4174
4174
|
}
|
4175
4175
|
function Yi(e) {
|
4176
|
-
let t, r, n, i, o, s, a, u, l, h,
|
4176
|
+
let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
|
4177
4177
|
/*sliderdata*/
|
4178
4178
|
e[9].length > 0 && Ot(e)
|
4179
4179
|
);
|
4180
4180
|
return {
|
4181
4181
|
c() {
|
4182
|
-
t = M("div"), r = M("div"), n = M("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 = Q(), o = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Q(),
|
4182
|
+
t = M("div"), r = M("div"), n = M("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 = Q(), o = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Q(), d && d.c(), l = Q(), h = M("div"), h.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(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4183
4183
|
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4184
4184
|
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4185
4185
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4186
4186
|
},
|
4187
4187
|
m(w, _) {
|
4188
|
-
k(w, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u),
|
4188
|
+
k(w, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u), d && d.m(s, null), e[34](s), e[35](o), I(r, l), I(r, h), e[37](t), g || (b = [
|
4189
4189
|
Te(
|
4190
4190
|
n,
|
4191
4191
|
"click",
|
@@ -4202,9 +4202,9 @@ function Yi(e) {
|
|
4202
4202
|
},
|
4203
4203
|
p(w, _) {
|
4204
4204
|
/*sliderdata*/
|
4205
|
-
w[9].length > 0 ?
|
4206
|
-
1 &&
|
4207
|
-
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class",
|
4205
|
+
w[9].length > 0 ? d ? d.p(w, _) : (d = Ot(w), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4206
|
+
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4207
|
+
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
|
4208
4208
|
1 && f !== (f = /*location*/
|
4209
4209
|
w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
|
4210
4210
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
@@ -4213,12 +4213,12 @@ function Yi(e) {
|
|
4213
4213
|
i: $,
|
4214
4214
|
o: $,
|
4215
4215
|
d(w) {
|
4216
|
-
w && D(t),
|
4216
|
+
w && D(t), d && d.d(), e[34](null), e[35](null), e[37](null), g = !1, q(b);
|
4217
4217
|
}
|
4218
4218
|
};
|
4219
4219
|
}
|
4220
4220
|
function Ki(e, t, r) {
|
4221
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity:
|
4221
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = 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: _ = "false" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: P = "" } = t;
|
4222
4222
|
zi({ withLocale: "en", translations: {} });
|
4223
4223
|
const O = () => {
|
4224
4224
|
fetch(f).then((x) => x.json()).then((x) => {
|
@@ -4267,7 +4267,7 @@ function Ki(e, t, r) {
|
|
4267
4267
|
j.scrollBy({ left: 250, behavior: "smooth" });
|
4268
4268
|
};
|
4269
4269
|
const at = (c) => {
|
4270
|
-
c.data.type == "SliderData" && c.data.identity ==
|
4270
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, _e = new Array(he.length).fill(!1)), w == "true" && vr()), c.data.type == "GoToHomepage" && he.forEach((x, B) => {
|
4271
4271
|
x.path.endsWith("/casino") && (r(6, H = B), r(6, H));
|
4272
4272
|
});
|
4273
4273
|
}, br = () => {
|
@@ -4327,7 +4327,7 @@ function Ki(e, t, r) {
|
|
4327
4327
|
j.addEventListener("scroll", Ee);
|
4328
4328
|
},
|
4329
4329
|
500
|
4330
|
-
), window.postMessage({ type: "SliderLoaded", identity:
|
4330
|
+
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4331
4331
|
window.removeEventListener("message", at), L.removeEventListener("scroll", Ee);
|
4332
4332
|
}));
|
4333
4333
|
const Cr = () => ot(), wr = (c, x, B, z, V) => {
|
@@ -4336,23 +4336,23 @@ function Ki(e, t, r) {
|
|
4336
4336
|
Le(c, x, null, null, "main"), B.preventDefault();
|
4337
4337
|
};
|
4338
4338
|
function Sr(c) {
|
4339
|
-
|
4339
|
+
me[c ? "unshift" : "push"](() => {
|
4340
4340
|
L = c, r(5, L);
|
4341
4341
|
});
|
4342
4342
|
}
|
4343
4343
|
function Tr(c) {
|
4344
|
-
|
4344
|
+
me[c ? "unshift" : "push"](() => {
|
4345
4345
|
j = c, r(12, j);
|
4346
4346
|
});
|
4347
4347
|
}
|
4348
4348
|
const Ar = () => st();
|
4349
4349
|
function Ir(c) {
|
4350
|
-
|
4350
|
+
me[c ? "unshift" : "push"](() => {
|
4351
4351
|
G = c, r(4, G);
|
4352
4352
|
});
|
4353
4353
|
}
|
4354
4354
|
return e.$$set = (c) => {
|
4355
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24,
|
4355
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, C = c.lobbyiconimage), "mygamesiconimage" in c && r(30, P = c.mygamesiconimage);
|
4356
4356
|
}, e.$$.update = () => {
|
4357
4357
|
e.$$.dirty[0] & /*activeindex*/
|
4358
4358
|
2, e.$$.dirty[0] & /*translationurl*/
|
@@ -4362,7 +4362,7 @@ function Ki(e, t, r) {
|
|
4362
4362
|
268435456 && b && br();
|
4363
4363
|
}, [
|
4364
4364
|
u,
|
4365
|
-
|
4365
|
+
d,
|
4366
4366
|
w,
|
4367
4367
|
_,
|
4368
4368
|
G,
|
@@ -4385,7 +4385,7 @@ function Ki(e, t, r) {
|
|
4385
4385
|
a,
|
4386
4386
|
l,
|
4387
4387
|
h,
|
4388
|
-
|
4388
|
+
m,
|
4389
4389
|
f,
|
4390
4390
|
p,
|
4391
4391
|
g,
|