@everymatrix/casino-most-played-section 1.54.8 → 1.54.9
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/{CasinoFilter-C_NFi_rN.js → CasinoFilter-BI27xzap.js} +190 -190
- package/components/{CasinoFilter-DuUevwDN.js → CasinoFilter-DFZ3WYCN.js} +185 -185
- package/components/{CasinoFilter-DEXkfvfQ.cjs → CasinoFilter-DsPFGyLq.cjs} +3 -3
- package/components/{CasinoGameThumbnail-DkLajZ-6.js → CasinoGameThumbnail-B9ayiLVX.js} +1 -1
- package/components/{CasinoGameThumbnail-DLCuQBSY.js → CasinoGameThumbnail-DalrsvwA.js} +1 -1
- package/components/{CasinoGameThumbnail-DWrQCx6i.cjs → CasinoGameThumbnail-SsDw02qF.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CMQyuUzV.js → CasinoGamesCategorySection-CDCimaA-.js} +5 -5
- package/components/{CasinoGamesCategorySection-BUCzSW6j.js → CasinoGamesCategorySection-CX7b8KGX.js} +5 -5
- package/components/{CasinoGamesCategorySection-u15kKRqx.cjs → CasinoGamesCategorySection-CaE16Il2.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B2_G1xXD.js → CasinoMostPlayedSection-ChLe2LA-.js} +2 -2
- package/components/{CasinoMostPlayedSection-mYImyOBY.cjs → CasinoMostPlayedSection-CxjLLmgE.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-7tzn4AXe.js → CasinoMostPlayedSection-D01DQAMD.js} +2 -2
- package/components/{CasinoSort-BHWKjHLA.cjs → CasinoSort-CEbh5FL7.cjs} +1 -1
- package/components/{CasinoSort-Chc8wKdN.js → CasinoSort-DHs5pqaK.js} +1 -1
- package/components/{CasinoSort-BO8pFRNg.js → CasinoSort-Dhqq-EhY.js} +1 -1
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
@@ -63,7 +63,7 @@ function tr(e, ...t) {
|
|
63
63
|
function jr(e, t, r) {
|
64
64
|
e.$$.on_destroy.push(tr(t, r));
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function y(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
69
|
function Vr(e, t, r) {
|
@@ -83,7 +83,7 @@ function Xr(e) {
|
|
83
83
|
) : e.ownerDocument;
|
84
84
|
}
|
85
85
|
function Wr(e, t) {
|
86
|
-
return
|
86
|
+
return y(
|
87
87
|
/** @type {Document} */
|
88
88
|
e.head || e,
|
89
89
|
t
|
@@ -228,7 +228,7 @@ function qr(e) {
|
|
228
228
|
Qr().$$.on_mount.push(e);
|
229
229
|
}
|
230
230
|
const fe = [], et = [];
|
231
|
-
let
|
231
|
+
let pe = [];
|
232
232
|
const At = [], rr = /* @__PURE__ */ Promise.resolve();
|
233
233
|
let tt = !1;
|
234
234
|
function nr() {
|
@@ -238,7 +238,7 @@ function Co() {
|
|
238
238
|
return nr(), rr;
|
239
239
|
}
|
240
240
|
function rt(e) {
|
241
|
-
|
241
|
+
pe.push(e);
|
242
242
|
}
|
243
243
|
const ze = /* @__PURE__ */ new Set();
|
244
244
|
let he = 0;
|
@@ -256,11 +256,11 @@ function U() {
|
|
256
256
|
throw fe.length = 0, he = 0, t;
|
257
257
|
}
|
258
258
|
for (Se(null), fe.length = 0, he = 0; et.length; ) et.pop()();
|
259
|
-
for (let t = 0; t <
|
260
|
-
const r =
|
259
|
+
for (let t = 0; t < pe.length; t += 1) {
|
260
|
+
const r = pe[t];
|
261
261
|
ze.has(r) || (ze.add(r), r());
|
262
262
|
}
|
263
|
-
|
263
|
+
pe.length = 0;
|
264
264
|
} while (fe.length);
|
265
265
|
for (; At.length; )
|
266
266
|
At.pop()();
|
@@ -275,7 +275,7 @@ function Yr(e) {
|
|
275
275
|
}
|
276
276
|
function Kr(e) {
|
277
277
|
const t = [], r = [];
|
278
|
-
|
278
|
+
pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
|
279
279
|
}
|
280
280
|
const en = /* @__PURE__ */ new Set();
|
281
281
|
function ir(e, t) {
|
@@ -287,15 +287,15 @@ function Pt(e) {
|
|
287
287
|
function Fo(e, t) {
|
288
288
|
e.d(1), t.delete(e.key);
|
289
289
|
}
|
290
|
-
function Bo(e, t, r, n, i, o, s, a, u, l, h,
|
290
|
+
function Bo(e, t, r, n, i, o, s, a, u, l, h, p) {
|
291
291
|
let c = e.length, m = o.length, b = c;
|
292
292
|
const _ = {};
|
293
293
|
for (; b--; ) _[e[b].key] = b;
|
294
|
-
const T = [],
|
294
|
+
const T = [], v = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), E = [];
|
295
295
|
for (b = m; b--; ) {
|
296
|
-
const P =
|
296
|
+
const P = p(i, o, b), I = r(P);
|
297
297
|
let M = s.get(I);
|
298
|
-
M ? E.push(() => M.p(P, t)) : (M = l(I, P), M.c()),
|
298
|
+
M ? E.push(() => M.p(P, t)) : (M = l(I, P), M.c()), v.set(I, T[b] = M), I in _ && H.set(I, Math.abs(b - _[I]));
|
299
299
|
}
|
300
300
|
const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
301
301
|
function O(P) {
|
@@ -303,11 +303,11 @@ function Bo(e, t, r, n, i, o, s, a, u, l, h, d) {
|
|
303
303
|
}
|
304
304
|
for (; c && m; ) {
|
305
305
|
const P = T[m - 1], I = e[c - 1], M = P.key, z = I.key;
|
306
|
-
P === I ? (h = P.first, c--, m--) :
|
306
|
+
P === I ? (h = P.first, c--, m--) : v.has(z) ? !s.has(M) || N.has(M) ? O(P) : L.has(z) ? c-- : H.get(M) > H.get(z) ? (L.add(M), O(P)) : (N.add(z), c--) : (u(I, s), c--);
|
307
307
|
}
|
308
308
|
for (; c--; ) {
|
309
309
|
const P = e[c];
|
310
|
-
|
310
|
+
v.has(P.key) || u(P, s);
|
311
311
|
}
|
312
312
|
for (; m; ) O(T[m - 1]);
|
313
313
|
return K(E), T;
|
@@ -352,13 +352,13 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
352
352
|
};
|
353
353
|
s && s(l.root);
|
354
354
|
let h = !1;
|
355
|
-
if (l.ctx = r ? r(e, t.props || {}, (
|
355
|
+
if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
|
356
356
|
const b = m.length ? m[0] : c;
|
357
|
-
return l.ctx && i(l.ctx[
|
357
|
+
return l.ctx && i(l.ctx[p], l.ctx[p] = b) && (!l.skip_bound && l.bound[p] && l.bound[p](b), h && nn(e, p)), c;
|
358
358
|
}) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
359
359
|
if (t.hydrate) {
|
360
|
-
const
|
361
|
-
l.fragment && l.fragment.l(
|
360
|
+
const p = Zr(t.target);
|
361
|
+
l.fragment && l.fragment.l(p), p.forEach(j);
|
362
362
|
} else
|
363
363
|
l.fragment && l.fragment.c();
|
364
364
|
t.intro && ir(e.$$.fragment), tn(e, t.target, t.anchor), U();
|
@@ -655,7 +655,7 @@ function ot(e, t) {
|
|
655
655
|
}
|
656
656
|
return o;
|
657
657
|
}
|
658
|
-
function
|
658
|
+
function de(e, t, r) {
|
659
659
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
660
660
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
661
661
|
return e.concat(o || Array.prototype.slice.call(t));
|
@@ -718,16 +718,16 @@ var Ge = function() {
|
|
718
718
|
} catch (_) {
|
719
719
|
o = _ instanceof Ze ? _.errors : [_];
|
720
720
|
}
|
721
|
-
var
|
722
|
-
if (
|
721
|
+
var p = this._finalizers;
|
722
|
+
if (p) {
|
723
723
|
this._finalizers = null;
|
724
724
|
try {
|
725
|
-
for (var c = it(
|
725
|
+
for (var c = it(p), m = c.next(); !m.done; m = c.next()) {
|
726
726
|
var b = m.value;
|
727
727
|
try {
|
728
728
|
Ct(b);
|
729
729
|
} catch (_) {
|
730
|
-
o = o != null ? o : [], _ instanceof Ze ? o =
|
730
|
+
o = o != null ? o : [], _ instanceof Ze ? o = de(de([], ot(o)), ot(_.errors)) : o.push(_);
|
731
731
|
}
|
732
732
|
}
|
733
733
|
} catch (_) {
|
@@ -785,7 +785,7 @@ var hn = {
|
|
785
785
|
setTimeout: function(e, t) {
|
786
786
|
for (var r = [], n = 2; n < arguments.length; n++)
|
787
787
|
r[n - 2] = arguments[n];
|
788
|
-
return setTimeout.apply(void 0,
|
788
|
+
return setTimeout.apply(void 0, de([e, t], ot(r)));
|
789
789
|
},
|
790
790
|
clearTimeout: function(e) {
|
791
791
|
return clearTimeout(e);
|
@@ -833,7 +833,7 @@ var ur = function(e) {
|
|
833
833
|
this.unsubscribe();
|
834
834
|
}
|
835
835
|
}, t;
|
836
|
-
}(Ge),
|
836
|
+
}(Ge), pn = function() {
|
837
837
|
function e(t) {
|
838
838
|
this.partialObserver = t;
|
839
839
|
}
|
@@ -872,20 +872,20 @@ var ur = function(e) {
|
|
872
872
|
next: r != null ? r : void 0,
|
873
873
|
error: n != null ? n : void 0,
|
874
874
|
complete: i != null ? i : void 0
|
875
|
-
} : s = r, o.destination = new
|
875
|
+
} : s = r, o.destination = new pn(s), o;
|
876
876
|
}
|
877
877
|
return t;
|
878
878
|
}(ur);
|
879
879
|
function Oe(e) {
|
880
880
|
fn(e);
|
881
881
|
}
|
882
|
-
function
|
882
|
+
function dn(e) {
|
883
883
|
throw e;
|
884
884
|
}
|
885
885
|
var mn = {
|
886
886
|
closed: !0,
|
887
887
|
next: Ft,
|
888
|
-
error:
|
888
|
+
error: dn,
|
889
889
|
complete: Ft
|
890
890
|
}, bn = function() {
|
891
891
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
@@ -893,7 +893,7 @@ var mn = {
|
|
893
893
|
function gn(e) {
|
894
894
|
return e;
|
895
895
|
}
|
896
|
-
function
|
896
|
+
function vn(e) {
|
897
897
|
return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
|
898
898
|
return e.reduce(function(n, i) {
|
899
899
|
return i(n);
|
@@ -943,7 +943,7 @@ var Bt = function() {
|
|
943
943
|
}, e.prototype.pipe = function() {
|
944
944
|
for (var t = [], r = 0; r < arguments.length; r++)
|
945
945
|
t[r] = arguments[r];
|
946
|
-
return
|
946
|
+
return vn(t)(this);
|
947
947
|
}, e.prototype.toPromise = function(t) {
|
948
948
|
var r = this;
|
949
949
|
return t = Ot(t), new t(function(n, i) {
|
@@ -964,11 +964,11 @@ function Ot(e) {
|
|
964
964
|
var t;
|
965
965
|
return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
|
966
966
|
}
|
967
|
-
function
|
967
|
+
function yn(e) {
|
968
968
|
return e && Z(e.next) && Z(e.error) && Z(e.complete);
|
969
969
|
}
|
970
970
|
function _n(e) {
|
971
|
-
return e && e instanceof ur ||
|
971
|
+
return e && e instanceof ur || yn(e) && lr(e);
|
972
972
|
}
|
973
973
|
var xn = sr(function(e) {
|
974
974
|
return function() {
|
@@ -1139,7 +1139,7 @@ function ke(e, t = k) {
|
|
1139
1139
|
}
|
1140
1140
|
return { set: i, update: o, subscribe: s };
|
1141
1141
|
}
|
1142
|
-
function
|
1142
|
+
function ye(e, t, r) {
|
1143
1143
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1144
1144
|
if (!i.every(Boolean))
|
1145
1145
|
throw new Error("derived() expects stores as input, got a falsy value");
|
@@ -1147,13 +1147,13 @@ function ve(e, t, r) {
|
|
1147
1147
|
return Sn(r, (s, a) => {
|
1148
1148
|
let u = !1;
|
1149
1149
|
const l = [];
|
1150
|
-
let h = 0,
|
1150
|
+
let h = 0, p = k;
|
1151
1151
|
const c = () => {
|
1152
1152
|
if (h)
|
1153
1153
|
return;
|
1154
|
-
|
1154
|
+
p();
|
1155
1155
|
const b = t(n ? l[0] : l, s, a);
|
1156
|
-
o ? s(b) :
|
1156
|
+
o ? s(b) : p = bt(b) ? b : k;
|
1157
1157
|
}, m = i.map(
|
1158
1158
|
(b, _) => tr(
|
1159
1159
|
b,
|
@@ -1166,7 +1166,7 @@ function ve(e, t, r) {
|
|
1166
1166
|
)
|
1167
1167
|
);
|
1168
1168
|
return u = !0, c(), function() {
|
1169
|
-
K(m),
|
1169
|
+
K(m), p(), u = !1;
|
1170
1170
|
};
|
1171
1171
|
});
|
1172
1172
|
}
|
@@ -1258,19 +1258,19 @@ function kn(e, t, r, n) {
|
|
1258
1258
|
var i = Gn(n) ? n : r(n), o = t.get(i);
|
1259
1259
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
1260
1260
|
}
|
1261
|
-
function
|
1261
|
+
function pr(e, t, r) {
|
1262
1262
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
1263
1263
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
1264
1264
|
}
|
1265
|
-
function
|
1265
|
+
function dr(e, t, r, n, i) {
|
1266
1266
|
return r.bind(t, e, n, i);
|
1267
1267
|
}
|
1268
1268
|
function jn(e, t) {
|
1269
|
-
var r = e.length === 1 ? kn :
|
1270
|
-
return
|
1269
|
+
var r = e.length === 1 ? kn : pr;
|
1270
|
+
return dr(e, this, r, t.cache.create(), t.serializer);
|
1271
1271
|
}
|
1272
1272
|
function Vn(e, t) {
|
1273
|
-
return
|
1273
|
+
return dr(e, this, pr, t.cache.create(), t.serializer);
|
1274
1274
|
}
|
1275
1275
|
var Xn = function() {
|
1276
1276
|
return JSON.stringify(arguments);
|
@@ -1319,10 +1319,10 @@ function br(e) {
|
|
1319
1319
|
function gr(e) {
|
1320
1320
|
return e.type === B.time;
|
1321
1321
|
}
|
1322
|
-
function
|
1322
|
+
function vr(e) {
|
1323
1323
|
return e.type === B.select;
|
1324
1324
|
}
|
1325
|
-
function
|
1325
|
+
function yr(e) {
|
1326
1326
|
return e.type === B.plural;
|
1327
1327
|
}
|
1328
1328
|
function Jn(e) {
|
@@ -1440,8 +1440,8 @@ function Kn(e) {
|
|
1440
1440
|
if (s.length === 0)
|
1441
1441
|
throw new Error("Invalid number skeleton");
|
1442
1442
|
for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
|
1443
|
-
var
|
1444
|
-
if (
|
1443
|
+
var p = h[l];
|
1444
|
+
if (p.length === 0)
|
1445
1445
|
throw new Error("Invalid number skeleton");
|
1446
1446
|
}
|
1447
1447
|
r.push({ stem: a, options: u });
|
@@ -1602,11 +1602,11 @@ function ni(e) {
|
|
1602
1602
|
case "integer-width":
|
1603
1603
|
if (i.options.length > 1)
|
1604
1604
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1605
|
-
i.options[0].replace(ti, function(u, l, h,
|
1605
|
+
i.options[0].replace(ti, function(u, l, h, p, c, m) {
|
1606
1606
|
if (l)
|
1607
1607
|
t.minimumIntegerDigits = h.length;
|
1608
1608
|
else {
|
1609
|
-
if (
|
1609
|
+
if (p && c)
|
1610
1610
|
throw new Error("We currently do not support maximum integer digits");
|
1611
1611
|
if (m)
|
1612
1612
|
throw new Error("We currently do not support exact integer digits");
|
@@ -1622,8 +1622,8 @@ function ni(e) {
|
|
1622
1622
|
if ($t.test(i.stem)) {
|
1623
1623
|
if (i.options.length > 1)
|
1624
1624
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1625
|
-
i.stem.replace($t, function(u, l, h,
|
1626
|
-
return h === "*" ? t.minimumFractionDigits = l.length :
|
1625
|
+
i.stem.replace($t, function(u, l, h, p, c, m) {
|
1626
|
+
return h === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1627
1627
|
});
|
1628
1628
|
var o = i.options[0];
|
1629
1629
|
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Dt(o)));
|
@@ -3096,7 +3096,7 @@ var qe, si = new RegExp("^".concat(Er.source, "*")), ai = new RegExp("".concat(E
|
|
3096
3096
|
function w(e, t) {
|
3097
3097
|
return { start: e, end: t };
|
3098
3098
|
}
|
3099
|
-
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart,
|
3099
|
+
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, mi = di ? Number.isSafeInteger : function(e) {
|
3100
3100
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3101
3101
|
}, ut = !0;
|
3102
3102
|
try {
|
@@ -3163,7 +3163,7 @@ var Gt = li ? (
|
|
3163
3163
|
function(t) {
|
3164
3164
|
return t.replace(si, "");
|
3165
3165
|
}
|
3166
|
-
),
|
3166
|
+
), vi = pi ? (
|
3167
3167
|
// Native
|
3168
3168
|
function(t) {
|
3169
3169
|
return t.trimEnd();
|
@@ -3196,7 +3196,7 @@ if (ut) {
|
|
3196
3196
|
}
|
3197
3197
|
return ht.apply(void 0, n);
|
3198
3198
|
};
|
3199
|
-
var
|
3199
|
+
var yi = (
|
3200
3200
|
/** @class */
|
3201
3201
|
function() {
|
3202
3202
|
function e(t, r) {
|
@@ -3391,10 +3391,10 @@ var vi = (
|
|
3391
3391
|
var l = null;
|
3392
3392
|
if (this.bumpIf(",")) {
|
3393
3393
|
this.bumpSpace();
|
3394
|
-
var h = this.clonePosition(),
|
3395
|
-
if (
|
3396
|
-
return
|
3397
|
-
var c =
|
3394
|
+
var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
3395
|
+
if (p.err)
|
3396
|
+
return p;
|
3397
|
+
var c = vi(p.val);
|
3398
3398
|
if (c.length === 0)
|
3399
3399
|
return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
3400
3400
|
var m = w(h, this.clonePosition());
|
@@ -3407,21 +3407,21 @@ var vi = (
|
|
3407
3407
|
if (l && Gt(l == null ? void 0 : l.style, "::", 0)) {
|
3408
3408
|
var T = gi(l.style.slice(2));
|
3409
3409
|
if (a === "number") {
|
3410
|
-
var
|
3411
|
-
return
|
3412
|
-
val: { type: B.number, value: n, location: _, style:
|
3410
|
+
var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
|
3411
|
+
return p.err ? p : {
|
3412
|
+
val: { type: B.number, value: n, location: _, style: p.val },
|
3413
3413
|
err: null
|
3414
3414
|
};
|
3415
3415
|
} else {
|
3416
3416
|
if (T.length === 0)
|
3417
3417
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
3418
|
-
var
|
3419
|
-
this.locale && (
|
3418
|
+
var v = T;
|
3419
|
+
this.locale && (v = ii(T, this.locale));
|
3420
3420
|
var c = {
|
3421
3421
|
type: be.dateTime,
|
3422
|
-
pattern:
|
3422
|
+
pattern: v,
|
3423
3423
|
location: l.styleLocation,
|
3424
|
-
parsedOptions: this.shouldParseSkeletons ? qn(
|
3424
|
+
parsedOptions: this.shouldParseSkeletons ? qn(v) : {}
|
3425
3425
|
}, H = a === "date" ? B.date : B.time;
|
3426
3426
|
return {
|
3427
3427
|
val: { type: H, value: n, location: _, style: c },
|
@@ -3451,10 +3451,10 @@ var vi = (
|
|
3451
3451
|
if (!this.bumpIf(":"))
|
3452
3452
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
3453
3453
|
this.bumpSpace();
|
3454
|
-
var
|
3455
|
-
if (
|
3456
|
-
return
|
3457
|
-
this.bumpSpace(), N = this.parseIdentifierIfPossible(), L =
|
3454
|
+
var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3455
|
+
if (p.err)
|
3456
|
+
return p;
|
3457
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = p.val;
|
3458
3458
|
}
|
3459
3459
|
var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
3460
3460
|
if (O.err)
|
@@ -3542,12 +3542,12 @@ var vi = (
|
|
3542
3542
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3543
3543
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
|
3544
3544
|
if (l.length === 0) {
|
3545
|
-
var
|
3545
|
+
var p = this.clonePosition();
|
3546
3546
|
if (r !== "select" && this.bumpIf("=")) {
|
3547
3547
|
var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3548
3548
|
if (c.err)
|
3549
3549
|
return c;
|
3550
|
-
h = w(
|
3550
|
+
h = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
|
3551
3551
|
} else
|
3552
3552
|
break;
|
3553
3553
|
}
|
@@ -3664,22 +3664,22 @@ function Pr(e) {
|
|
3664
3664
|
function Ei(e) {
|
3665
3665
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3666
3666
|
}
|
3667
|
-
function
|
3667
|
+
function pt(e) {
|
3668
3668
|
e.forEach(function(t) {
|
3669
|
-
if (delete t.location,
|
3669
|
+
if (delete t.location, vr(t) || yr(t))
|
3670
3670
|
for (var r in t.options)
|
3671
|
-
delete t.options[r].location,
|
3672
|
-
else mr(t) && xr(t.style) || (br(t) || gr(t)) && lt(t.style) ? delete t.style.location : _r(t) &&
|
3671
|
+
delete t.options[r].location, pt(t.options[r].value);
|
3672
|
+
else mr(t) && xr(t.style) || (br(t) || gr(t)) && lt(t.style) ? delete t.style.location : _r(t) && pt(t.children);
|
3673
3673
|
});
|
3674
3674
|
}
|
3675
3675
|
function wi(e, t) {
|
3676
3676
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3677
|
-
var r = new
|
3677
|
+
var r = new yi(e, t).parse();
|
3678
3678
|
if (r.err) {
|
3679
3679
|
var n = SyntaxError(x[r.err.kind]);
|
3680
3680
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3681
3681
|
}
|
3682
|
-
return t != null && t.captureLocation ||
|
3682
|
+
return t != null && t.captureLocation || pt(r.val), r.val;
|
3683
3683
|
}
|
3684
3684
|
var ge;
|
3685
3685
|
(function(e) {
|
@@ -3761,10 +3761,10 @@ function Me(e, t, r, n, i, o, s) {
|
|
3761
3761
|
});
|
3762
3762
|
continue;
|
3763
3763
|
}
|
3764
|
-
var
|
3765
|
-
if (!(i &&
|
3766
|
-
throw new Ti(
|
3767
|
-
var c = i[
|
3764
|
+
var p = h.value;
|
3765
|
+
if (!(i && p in i))
|
3766
|
+
throw new Ti(p, s);
|
3767
|
+
var c = i[p];
|
3768
3768
|
if (Zn(h)) {
|
3769
3769
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3770
3770
|
type: typeof c == "string" ? $.literal : $.object,
|
@@ -3800,7 +3800,7 @@ function Me(e, t, r, n, i, o, s) {
|
|
3800
3800
|
var b = h.children, _ = h.value, T = i[_];
|
3801
3801
|
if (!Ai(T))
|
3802
3802
|
throw new Si(_, "function", s);
|
3803
|
-
var
|
3803
|
+
var v = Me(b, t, r, n, i, o), H = T(v.map(function(L) {
|
3804
3804
|
return L.value;
|
3805
3805
|
}));
|
3806
3806
|
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(L) {
|
@@ -3810,14 +3810,14 @@ function Me(e, t, r, n, i, o, s) {
|
|
3810
3810
|
};
|
3811
3811
|
}));
|
3812
3812
|
}
|
3813
|
-
if (
|
3813
|
+
if (vr(h)) {
|
3814
3814
|
var E = h.options[c] || h.options.other;
|
3815
3815
|
if (!E)
|
3816
3816
|
throw new Vt(h.value, c, Object.keys(h.options), s);
|
3817
3817
|
a.push.apply(a, Me(E.value, t, r, n, i));
|
3818
3818
|
continue;
|
3819
3819
|
}
|
3820
|
-
if (
|
3820
|
+
if (yr(h)) {
|
3821
3821
|
var E = h.options["=".concat(c)];
|
3822
3822
|
if (!E) {
|
3823
3823
|
if (!Intl.PluralRules)
|
@@ -3868,7 +3868,7 @@ function Fi(e) {
|
|
3868
3868
|
getNumberFormat: Je(function() {
|
3869
3869
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3870
3870
|
r[n] = arguments[n];
|
3871
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3871
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
|
3872
3872
|
}, {
|
3873
3873
|
cache: Ye(e.number),
|
3874
3874
|
strategy: Qe.variadic
|
@@ -3876,7 +3876,7 @@ function Fi(e) {
|
|
3876
3876
|
getDateTimeFormat: Je(function() {
|
3877
3877
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3878
3878
|
r[n] = arguments[n];
|
3879
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3879
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
|
3880
3880
|
}, {
|
3881
3881
|
cache: Ye(e.dateTime),
|
3882
3882
|
strategy: Qe.variadic
|
@@ -3884,7 +3884,7 @@ function Fi(e) {
|
|
3884
3884
|
getPluralRules: Je(function() {
|
3885
3885
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3886
3886
|
r[n] = arguments[n];
|
3887
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3887
|
+
return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
|
3888
3888
|
}, {
|
3889
3889
|
cache: Ye(e.pluralRules),
|
3890
3890
|
strategy: Qe.variadic
|
@@ -3905,8 +3905,8 @@ var Bi = (
|
|
3905
3905
|
var l = o.formatToParts(u);
|
3906
3906
|
if (l.length === 1)
|
3907
3907
|
return l[0].value;
|
3908
|
-
var h = l.reduce(function(
|
3909
|
-
return !
|
3908
|
+
var h = l.reduce(function(p, c) {
|
3909
|
+
return !p.length || c.type !== $.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
|
3910
3910
|
}, []);
|
3911
3911
|
return h.length <= 1 ? h[0] || "" : h;
|
3912
3912
|
}, this.formatToParts = function(u) {
|
@@ -4063,7 +4063,7 @@ function Mi(e) {
|
|
4063
4063
|
function Br(e, ...t) {
|
4064
4064
|
delete q[e], _e.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
|
4065
4065
|
}
|
4066
|
-
|
4066
|
+
ye(
|
4067
4067
|
[_e],
|
4068
4068
|
([e]) => Object.keys(e)
|
4069
4069
|
);
|
@@ -4081,7 +4081,7 @@ function $i(e) {
|
|
4081
4081
|
return [t, r ? [...r] : []];
|
4082
4082
|
}).filter(([, t]) => t.length > 0);
|
4083
4083
|
}
|
4084
|
-
function
|
4084
|
+
function dt(e) {
|
4085
4085
|
return e == null ? !1 : Ve(e).some(
|
4086
4086
|
(t) => {
|
4087
4087
|
var r;
|
@@ -4096,7 +4096,7 @@ function Di(e, t) {
|
|
4096
4096
|
}
|
4097
4097
|
const Ee = {};
|
4098
4098
|
function Ir(e) {
|
4099
|
-
if (!
|
4099
|
+
if (!dt(e))
|
4100
4100
|
return e in Ee ? Ee[e] : Promise.resolve();
|
4101
4101
|
const t = $i(e);
|
4102
4102
|
return Ee[e] = Promise.all(
|
@@ -4104,7 +4104,7 @@ function Ir(e) {
|
|
4104
4104
|
([r, n]) => Di(r, n)
|
4105
4105
|
)
|
4106
4106
|
).then(() => {
|
4107
|
-
if (
|
4107
|
+
if (dt(e))
|
4108
4108
|
return Ir(e);
|
4109
4109
|
delete Ee[e];
|
4110
4110
|
}), Ee[e];
|
@@ -4146,7 +4146,7 @@ const Ui = {
|
|
4146
4146
|
handleMissingMessage: void 0,
|
4147
4147
|
ignoreTag: !0
|
4148
4148
|
}, ki = Gi;
|
4149
|
-
function
|
4149
|
+
function ve() {
|
4150
4150
|
return ki;
|
4151
4151
|
}
|
4152
4152
|
const Ke = ke(!1);
|
@@ -4163,7 +4163,7 @@ const De = ke(null);
|
|
4163
4163
|
function zt(e) {
|
4164
4164
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4165
4165
|
}
|
4166
|
-
function Ve(e, t =
|
4166
|
+
function Ve(e, t = ve().fallbackLocale) {
|
4167
4167
|
const r = zt(e);
|
4168
4168
|
return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
|
4169
4169
|
}
|
@@ -4174,8 +4174,8 @@ De.subscribe((e) => {
|
|
4174
4174
|
mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4175
4175
|
});
|
4176
4176
|
const Qi = (e) => {
|
4177
|
-
if (e && Mi(e) &&
|
4178
|
-
const { loadingDelay: t } =
|
4177
|
+
if (e && Mi(e) && dt(e)) {
|
4178
|
+
const { loadingDelay: t } = ve();
|
4179
4179
|
let r;
|
4180
4180
|
return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
|
4181
4181
|
() => Ke.set(!0),
|
@@ -4196,7 +4196,7 @@ const Qi = (e) => {
|
|
4196
4196
|
return i in t ? t[i] : t[i] = e(n);
|
4197
4197
|
};
|
4198
4198
|
};
|
4199
|
-
var qi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Nr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
4199
|
+
var qi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Nr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
|
4200
4200
|
for (var r in t || (t = {}))
|
4201
4201
|
Lr.call(t, r) && Zt(e, r, t[r]);
|
4202
4202
|
if (Ue)
|
@@ -4213,7 +4213,7 @@ var qi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Lr = Object.p
|
|
4213
4213
|
return r;
|
4214
4214
|
};
|
4215
4215
|
const Ae = (e, t) => {
|
4216
|
-
const { formats: r } =
|
4216
|
+
const { formats: r } = ve();
|
4217
4217
|
if (e in r && t in r[e])
|
4218
4218
|
return r[e][t];
|
4219
4219
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
@@ -4246,25 +4246,25 @@ const Ae = (e, t) => {
|
|
4246
4246
|
} = t, n = xe(t, [
|
4247
4247
|
"locale"
|
4248
4248
|
]);
|
4249
|
-
return Yi(
|
4249
|
+
return Yi(vt({ locale: r }, n));
|
4250
4250
|
}, ro = (e = {}) => {
|
4251
4251
|
var t = e, {
|
4252
4252
|
locale: r = ne()
|
4253
4253
|
} = t, n = xe(t, [
|
4254
4254
|
"locale"
|
4255
4255
|
]);
|
4256
|
-
return Ki(
|
4256
|
+
return Ki(vt({ locale: r }, n));
|
4257
4257
|
}, no = (e = {}) => {
|
4258
4258
|
var t = e, {
|
4259
4259
|
locale: r = ne()
|
4260
4260
|
} = t, n = xe(t, [
|
4261
4261
|
"locale"
|
4262
4262
|
]);
|
4263
|
-
return eo(
|
4263
|
+
return eo(vt({ locale: r }, n));
|
4264
4264
|
}, io = Xe(
|
4265
4265
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4266
|
-
(e, t = ne()) => new Bi(e, t,
|
4267
|
-
ignoreTag:
|
4266
|
+
(e, t = ne()) => new Bi(e, t, ve().formats, {
|
4267
|
+
ignoreTag: ve().ignoreTag
|
4268
4268
|
})
|
4269
4269
|
), oo = (e, t = {}) => {
|
4270
4270
|
var r, n, i, o;
|
@@ -4281,28 +4281,28 @@ const Ae = (e, t) => {
|
|
4281
4281
|
);
|
4282
4282
|
let h = Cr(e, u);
|
4283
4283
|
if (!h)
|
4284
|
-
h = (o = (i = (n = (r =
|
4284
|
+
h = (o = (i = (n = (r = ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
4285
4285
|
else if (typeof h != "string")
|
4286
4286
|
return console.warn(
|
4287
4287
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
4288
4288
|
), h;
|
4289
4289
|
if (!a)
|
4290
4290
|
return h;
|
4291
|
-
let
|
4291
|
+
let p = h;
|
4292
4292
|
try {
|
4293
|
-
|
4293
|
+
p = io(h, u).format(a);
|
4294
4294
|
} catch (c) {
|
4295
4295
|
c instanceof Error && console.warn(
|
4296
4296
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
4297
4297
|
c.message
|
4298
4298
|
);
|
4299
4299
|
}
|
4300
|
-
return
|
4301
|
-
}, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = ne()) => Cr(e, t), ho =
|
4302
|
-
|
4303
|
-
|
4304
|
-
|
4305
|
-
|
4300
|
+
return p;
|
4301
|
+
}, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = ne()) => Cr(e, t), ho = ye([re, _e], () => oo);
|
4302
|
+
ye([re], () => so);
|
4303
|
+
ye([re], () => ao);
|
4304
|
+
ye([re], () => lo);
|
4305
|
+
ye([re, _e], () => uo);
|
4306
4306
|
window.emWidgets = { topic: wn };
|
4307
4307
|
const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4308
4308
|
function Oo(e, t) {
|
@@ -4444,30 +4444,30 @@ function bo(e) {
|
|
4444
4444
|
let t, r, n, i, o, s, a, u, l = (
|
4445
4445
|
/*$_*/
|
4446
4446
|
e[11]("filterby") + ""
|
4447
|
-
), h,
|
4447
|
+
), h, p, c, m, b = (
|
4448
4448
|
/*$_*/
|
4449
4449
|
e[11]("providers") + ""
|
4450
|
-
), _, T,
|
4450
|
+
), _, T, v, H, E, N, L, O, P, I, M, z, V, ie = (
|
4451
4451
|
/*$_*/
|
4452
4452
|
e[11]("clear") + ""
|
4453
4453
|
), oe, ee, se, te, ae, Pe;
|
4454
|
-
function Ce(
|
4454
|
+
function Ce(d, C) {
|
4455
4455
|
return (
|
4456
4456
|
/*fullSelection*/
|
4457
|
-
|
4457
|
+
d[7] ? yo : vo
|
4458
4458
|
);
|
4459
4459
|
}
|
4460
4460
|
let le = Ce(e), D = le(e), Q = Pt(
|
4461
4461
|
/*vendorArray*/
|
4462
4462
|
e[5]
|
4463
4463
|
), f = [];
|
4464
|
-
for (let
|
4465
|
-
f[
|
4464
|
+
for (let d = 0; d < Q.length; d += 1)
|
4465
|
+
f[d] = Yt(qt(e, Q, d));
|
4466
4466
|
return {
|
4467
4467
|
c() {
|
4468
|
-
t = F("div"), r = F("div"), n = F("div"), i = we("svg"), o = we("path"), s = X(), a = F("div"), u = F("span"), h = G(l),
|
4469
|
-
for (let
|
4470
|
-
f[
|
4468
|
+
t = F("div"), r = F("div"), n = F("div"), i = we("svg"), o = we("path"), s = X(), a = F("div"), u = F("span"), h = G(l), p = X(), c = F("div"), m = F("span"), _ = G(b), T = X(), D.c(), v = X(), H = F("span"), E = we("svg"), N = we("path"), P = X(), I = F("div"), M = F("ul");
|
4469
|
+
for (let d = 0; d < f.length; d += 1)
|
4470
|
+
f[d].c();
|
4471
4471
|
z = X(), V = F("button"), oe = G(ie), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(u, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(N, "id", "arrow"), g(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
|
4472
4472
|
(e[4] ? "TriangleActive" : "")), g(r, "class", O = "FilterSelector " + /*isFilterActive*/
|
4473
4473
|
(e[4] ? "FilterSelectorOpen" : "")), g(M, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = ee = /*fullSelection*/
|
@@ -4478,11 +4478,11 @@ function bo(e) {
|
|
4478
4478
|
(e[0] == "true" && /*addsortingselector*/
|
4479
4479
|
e[1] == "true" ? "FilerContainerSplit" : ""));
|
4480
4480
|
},
|
4481
|
-
m(
|
4482
|
-
W(
|
4481
|
+
m(d, C) {
|
4482
|
+
W(d, t, C), y(t, r), y(r, n), y(n, i), y(i, o), y(n, s), y(n, a), y(a, u), y(u, h), y(a, p), y(a, c), y(c, m), y(m, _), y(c, T), D.m(c, null), y(r, v), y(r, H), y(H, E), y(E, N), y(t, P), y(t, I), y(I, M);
|
4483
4483
|
for (let A = 0; A < f.length; A += 1)
|
4484
4484
|
f[A] && f[A].m(M, null);
|
4485
|
-
|
4485
|
+
y(I, z), y(I, V), y(V, oe), ae || (Pe = [
|
4486
4486
|
$e(
|
4487
4487
|
r,
|
4488
4488
|
"click",
|
@@ -4497,24 +4497,24 @@ function bo(e) {
|
|
4497
4497
|
)
|
4498
4498
|
], ae = !0);
|
4499
4499
|
},
|
4500
|
-
p(
|
4500
|
+
p(d, C) {
|
4501
4501
|
if (C[0] & /*$_*/
|
4502
4502
|
2048 && l !== (l = /*$_*/
|
4503
|
-
|
4503
|
+
d[11]("filterby") + "") && Y(h, l), C[0] & /*$_*/
|
4504
4504
|
2048 && b !== (b = /*$_*/
|
4505
|
-
|
4505
|
+
d[11]("providers") + "") && Y(_, b), le === (le = Ce(d)) && D ? D.p(d, C) : (D.d(1), D = le(d), D && (D.c(), D.m(c, null))), C[0] & /*isFilterActive*/
|
4506
4506
|
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
4507
|
-
(
|
4507
|
+
(d[4] ? "TriangleActive" : "")) && g(H, "class", L), C[0] & /*isFilterActive*/
|
4508
4508
|
16 && O !== (O = "FilterSelector " + /*isFilterActive*/
|
4509
|
-
(
|
4509
|
+
(d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", O), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
4510
4510
|
8228) {
|
4511
4511
|
Q = Pt(
|
4512
4512
|
/*vendorArray*/
|
4513
|
-
|
4513
|
+
d[5]
|
4514
4514
|
);
|
4515
4515
|
let A;
|
4516
4516
|
for (A = 0; A < Q.length; A += 1) {
|
4517
|
-
const ue = qt(
|
4517
|
+
const ue = qt(d, Q, A);
|
4518
4518
|
f[A] ? f[A].p(ue, C) : (f[A] = Yt(ue), f[A].c(), f[A].m(M, null));
|
4519
4519
|
}
|
4520
4520
|
for (; A < f.length; A += 1)
|
@@ -4523,19 +4523,19 @@ function bo(e) {
|
|
4523
4523
|
}
|
4524
4524
|
C[0] & /*$_*/
|
4525
4525
|
2048 && ie !== (ie = /*$_*/
|
4526
|
-
|
4526
|
+
d[11]("clear") + "") && Y(oe, ie), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
4527
4527
|
224 && ee !== (ee = /*fullSelection*/
|
4528
|
-
|
4529
|
-
|
4530
|
-
|
4528
|
+
d[7] && /*selectedVendorArray*/
|
4529
|
+
d[6].length != /*vendorArray*/
|
4530
|
+
d[5].length) && (V.disabled = ee), C[0] & /*isFilterActive*/
|
4531
4531
|
16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
|
4532
|
-
(
|
4532
|
+
(d[4] ? "FilterOpen" : "")) && g(I, "class", se), C[0] & /*addfilterselector, addsortingselector*/
|
4533
4533
|
3 && te !== (te = "FilterContainer " + /*addfilterselector*/
|
4534
|
-
(
|
4535
|
-
|
4534
|
+
(d[0] == "true" && /*addsortingselector*/
|
4535
|
+
d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
|
4536
4536
|
},
|
4537
|
-
d(
|
4538
|
-
|
4537
|
+
d(d) {
|
4538
|
+
d && j(t), D.d(), zr(f, d), ae = !1, K(Pe);
|
4539
4539
|
}
|
4540
4540
|
};
|
4541
4541
|
}
|
@@ -4549,7 +4549,7 @@ function go(e) {
|
|
4549
4549
|
t = F("p"), n = G(r), g(t, "class", "SearchLoading");
|
4550
4550
|
},
|
4551
4551
|
m(i, o) {
|
4552
|
-
W(i, t, o),
|
4552
|
+
W(i, t, o), y(t, n);
|
4553
4553
|
},
|
4554
4554
|
p(i, o) {
|
4555
4555
|
o[0] & /*$_*/
|
@@ -4561,7 +4561,7 @@ function go(e) {
|
|
4561
4561
|
}
|
4562
4562
|
};
|
4563
4563
|
}
|
4564
|
-
function
|
4564
|
+
function vo(e) {
|
4565
4565
|
let t, r;
|
4566
4566
|
return {
|
4567
4567
|
c() {
|
@@ -4571,7 +4571,7 @@ function yo(e) {
|
|
4571
4571
|
), g(t, "class", "FilterCounter");
|
4572
4572
|
},
|
4573
4573
|
m(n, i) {
|
4574
|
-
W(n, t, i),
|
4574
|
+
W(n, t, i), y(t, r);
|
4575
4575
|
},
|
4576
4576
|
p(n, i) {
|
4577
4577
|
i[0] & /*selectionNumber*/
|
@@ -4586,7 +4586,7 @@ function yo(e) {
|
|
4586
4586
|
}
|
4587
4587
|
};
|
4588
4588
|
}
|
4589
|
-
function
|
4589
|
+
function yo(e) {
|
4590
4590
|
let t, r = (
|
4591
4591
|
/*$_*/
|
4592
4592
|
e[11]("all") + ""
|
@@ -4596,7 +4596,7 @@ function vo(e) {
|
|
4596
4596
|
t = F("span"), n = G(r), g(t, "class", "FilterCounter");
|
4597
4597
|
},
|
4598
4598
|
m(i, o) {
|
4599
|
-
W(i, t, o),
|
4599
|
+
W(i, t, o), y(t, n);
|
4600
4600
|
},
|
4601
4601
|
p(i, o) {
|
4602
4602
|
o[0] & /*$_*/
|
@@ -4640,23 +4640,23 @@ function xo(e) {
|
|
4640
4640
|
c() {
|
4641
4641
|
t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
|
4642
4642
|
},
|
4643
|
-
m(
|
4644
|
-
W(
|
4643
|
+
m(p, c) {
|
4644
|
+
W(p, t, c), y(t, r), y(r, i), y(t, o), y(t, s), y(s, a), y(s, l), y(s, h);
|
4645
4645
|
},
|
4646
|
-
p(
|
4646
|
+
p(p, c) {
|
4647
4647
|
c[0] & /*vendorArray*/
|
4648
4648
|
32 && n !== (n = /*vendor*/
|
4649
|
-
|
4649
|
+
p[36].name + "") && Y(i, n), c[0] & /*vendorArray*/
|
4650
4650
|
32 && u !== (u = /*vendor*/
|
4651
|
-
|
4651
|
+
p[36].games.count + "") && Y(l, u);
|
4652
4652
|
},
|
4653
|
-
d(
|
4654
|
-
|
4653
|
+
d(p) {
|
4654
|
+
p && j(t);
|
4655
4655
|
}
|
4656
4656
|
};
|
4657
4657
|
}
|
4658
4658
|
function Yt(e) {
|
4659
|
-
let t, r, n, i, o, s, a, u, l, h,
|
4659
|
+
let t, r, n, i, o, s, a, u, l, h, p, c;
|
4660
4660
|
function m() {
|
4661
4661
|
e[23].call(
|
4662
4662
|
n,
|
@@ -4685,34 +4685,34 @@ function Yt(e) {
|
|
4685
4685
|
H[2] === "true"
|
4686
4686
|
) return _o;
|
4687
4687
|
}
|
4688
|
-
let T = _(e),
|
4688
|
+
let T = _(e), v = T && T(e);
|
4689
4689
|
return {
|
4690
4690
|
c() {
|
4691
|
-
t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(),
|
4691
|
+
t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), v && v.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
4692
4692
|
e[36].name, Ht(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
|
4693
4693
|
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
|
4694
4694
|
e[36].name;
|
4695
4695
|
},
|
4696
4696
|
m(H, E) {
|
4697
|
-
W(H, t, E),
|
4698
|
-
e[36].isFilterSelected,
|
4697
|
+
W(H, t, E), y(t, r), y(r, n), n.checked = /*vendor*/
|
4698
|
+
e[36].isFilterSelected, y(r, o), y(r, s), y(r, a), v && v.m(r, null), y(t, u), p || (c = [
|
4699
4699
|
$e(n, "change", m),
|
4700
4700
|
$e(n, "click", b)
|
4701
|
-
],
|
4701
|
+
], p = !0);
|
4702
4702
|
},
|
4703
4703
|
p(H, E) {
|
4704
4704
|
e = H, E[0] & /*vendorArray*/
|
4705
4705
|
32 && i !== (i = /*vendor*/
|
4706
4706
|
e[36].name) && (n.__value = i, Ht(n, n.__value)), E[0] & /*vendorArray*/
|
4707
4707
|
32 && (n.checked = /*vendor*/
|
4708
|
-
e[36].isFilterSelected), T === (T = _(e)) &&
|
4708
|
+
e[36].isFilterSelected), T === (T = _(e)) && v ? v.p(e, E) : (v && v.d(1), v = T && T(e), v && (v.c(), v.m(r, null))), E[0] & /*filterbylogo*/
|
4709
4709
|
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
4710
4710
|
(e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), E[0] & /*vendorArray*/
|
4711
4711
|
32 && h !== (h = /*vendor*/
|
4712
4712
|
e[36].name) && (t.value = h);
|
4713
4713
|
},
|
4714
4714
|
d(H) {
|
4715
|
-
H && j(t),
|
4715
|
+
H && j(t), v && v.d(), p = !1, K(c);
|
4716
4716
|
}
|
4717
4717
|
};
|
4718
4718
|
}
|
@@ -4747,15 +4747,15 @@ function Eo(e) {
|
|
4747
4747
|
function wo(e, t, r) {
|
4748
4748
|
let n;
|
4749
4749
|
jr(e, ho, (f) => r(11, n = f));
|
4750
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector:
|
4750
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, b = !1, _ = window.navigator.userAgent, T = [], v = [], H = {}, E = !1, N = 0, L = !0, O, P = !1;
|
4751
4751
|
po({ withLocale: "en", translations: {} });
|
4752
4752
|
const I = () => {
|
4753
|
-
fetch(a).then((
|
4754
|
-
Object.keys(
|
4755
|
-
Jt(C,
|
4753
|
+
fetch(a).then((d) => d.json()).then((d) => {
|
4754
|
+
Object.keys(d).forEach((C) => {
|
4755
|
+
Jt(C, d[C]);
|
4756
4756
|
});
|
4757
|
-
}).catch((
|
4758
|
-
console.log(
|
4757
|
+
}).catch((d) => {
|
4758
|
+
console.log(d);
|
4759
4759
|
});
|
4760
4760
|
};
|
4761
4761
|
Object.keys(Qt).forEach((f) => {
|
@@ -4766,8 +4766,8 @@ function wo(e, t, r) {
|
|
4766
4766
|
f.innerHTML = u, O.appendChild(f);
|
4767
4767
|
}, z = () => {
|
4768
4768
|
let f = document.createElement("style");
|
4769
|
-
fetch(new URL(l)).then((
|
4770
|
-
f.innerHTML =
|
4769
|
+
fetch(new URL(l)).then((d) => d.text()).then((d) => {
|
4770
|
+
f.innerHTML = d, setTimeout(
|
4771
4771
|
() => {
|
4772
4772
|
O.appendChild(f);
|
4773
4773
|
},
|
@@ -4778,13 +4778,13 @@ function wo(e, t, r) {
|
|
4778
4778
|
H[h] && (H = { [h]: [] });
|
4779
4779
|
const V = () => {
|
4780
4780
|
r(4, b = !b), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
4781
|
-
}, ie = (f) => (r(9, L = !0), new Promise((
|
4781
|
+
}, ie = (f) => (r(9, L = !0), new Promise((d, C) => {
|
4782
4782
|
fetch(f).then((A) => A.json()).then((A) => {
|
4783
|
-
A = A.items,
|
4783
|
+
A = A.items, d(A.items), r(6, v = []);
|
4784
4784
|
let ue = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
4785
4785
|
A.forEach((Fe) => {
|
4786
|
-
var
|
4787
|
-
ue || (ue = { currentCategoryId: [] }), ((
|
4786
|
+
var yt;
|
4787
|
+
ue || (ue = { currentCategoryId: [] }), ((yt = ue[h]) == null ? void 0 : yt.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, v.push(Fe)) : Fe.isFilterSelected = !1;
|
4788
4788
|
}), r(5, T = A), ee();
|
4789
4789
|
}).catch((A) => {
|
4790
4790
|
console.error(A), r(10, P = !0), C(A);
|
@@ -4792,18 +4792,18 @@ function wo(e, t, r) {
|
|
4792
4792
|
r(9, L = !1);
|
4793
4793
|
});
|
4794
4794
|
})), oe = (f) => {
|
4795
|
-
let
|
4796
|
-
f.isFilterSelected = !f.isFilterSelected, !
|
4797
|
-
[h]:
|
4798
|
-
})) : (
|
4795
|
+
let d = localStorage.getItem("vendorFiltersByCategory");
|
4796
|
+
f.isFilterSelected = !f.isFilterSelected, !v.length || v.filter((C) => C.name === f.name).length == 0 ? v.push(f) : r(6, v = v.filter((C) => C.name !== f.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
|
4797
|
+
[h]: v.map((C) => C.id)
|
4798
|
+
})) : (d = JSON.parse(d), d[h] = v.map((C) => C.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
|
4799
4799
|
}, ee = () => {
|
4800
|
-
r(7, E =
|
4800
|
+
r(7, E = v.length === T.length || v.length == 0), r(8, N = v.length);
|
4801
4801
|
}, se = () => {
|
4802
4802
|
const f = new URL(`${i}/v1/casino/vendors`);
|
4803
4803
|
r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", fo(_)), (h.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${h})`), f.searchParams.append("subVendors", `games(subGroups=${h})`)) : f.searchParams.append("filter", `games(groups=${h})`), ie(f);
|
4804
4804
|
}, te = () => {
|
4805
|
-
r(6,
|
4806
|
-
[h]:
|
4805
|
+
r(6, v = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
|
4806
|
+
[h]: v.map((f) => f.id)
|
4807
4807
|
})), T.forEach((f) => f.isFilterSelected = !1), r(5, T), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, E = !0), r(4, b = !1);
|
4808
4808
|
}, ae = (f) => {
|
4809
4809
|
f.data.type == "SortingOpened" && r(4, b = !1);
|
@@ -4812,8 +4812,8 @@ function wo(e, t, r) {
|
|
4812
4812
|
window.removeEventListener("message", ae);
|
4813
4813
|
}));
|
4814
4814
|
const Pe = () => V();
|
4815
|
-
function Ce(f,
|
4816
|
-
f[
|
4815
|
+
function Ce(f, d) {
|
4816
|
+
f[d].isFilterSelected = this.checked, r(5, T);
|
4817
4817
|
}
|
4818
4818
|
const le = (f) => oe(f), D = () => te();
|
4819
4819
|
function Q(f) {
|
@@ -4822,7 +4822,7 @@ function wo(e, t, r) {
|
|
4822
4822
|
});
|
4823
4823
|
}
|
4824
4824
|
return e.$$set = (f) => {
|
4825
|
-
"endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, u = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, h = f.categoryid), "addfilterselector" in f && r(0,
|
4825
|
+
"endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, u = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, h = f.categoryid), "addfilterselector" in f && r(0, p = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo);
|
4826
4826
|
}, e.$$.update = () => {
|
4827
4827
|
e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
4828
4828
|
2195460 && i && o && h && m && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
@@ -4830,13 +4830,13 @@ function wo(e, t, r) {
|
|
4830
4830
|
1048584 && l && O && z(), e.$$.dirty[0] & /*translationurl*/
|
4831
4831
|
262144 && a && I();
|
4832
4832
|
}, [
|
4833
|
-
|
4833
|
+
p,
|
4834
4834
|
c,
|
4835
4835
|
m,
|
4836
4836
|
O,
|
4837
4837
|
b,
|
4838
4838
|
T,
|
4839
|
-
|
4839
|
+
v,
|
4840
4840
|
E,
|
4841
4841
|
N,
|
4842
4842
|
L,
|
@@ -4971,7 +4971,7 @@ export {
|
|
4971
4971
|
Y as g,
|
4972
4972
|
W as h,
|
4973
4973
|
on as i,
|
4974
|
-
|
4974
|
+
y as j,
|
4975
4975
|
F as k,
|
4976
4976
|
X as l,
|
4977
4977
|
G as m,
|