@everymatrix/casino-tournaments-filter-controller 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/{CasinoTournamentsFilterController-DTR9y0li.js → CasinoTournamentsFilterController-BRWUZWin.js} +171 -171
- package/components/{CasinoTournamentsFilterController-7ZAb4zRQ.cjs → CasinoTournamentsFilterController-BZvRtB7s.cjs} +3 -3
- package/components/{CasinoTournamentsFilterController-CpbNUeeb.js → CasinoTournamentsFilterController-wFKQFaLP.js} +144 -144
- package/es2015/casino-tournaments-filter-controller.cjs +1 -1
- package/es2015/casino-tournaments-filter-controller.js +1 -1
- package/esnext/casino-tournaments-filter-controller.js +1 -1
- package/package.json +1 -1
|
@@ -33,14 +33,14 @@ function cr(e, t, r) {
|
|
|
33
33
|
function B(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function pr(e, t, r) {
|
|
37
|
+
const n = mr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = U("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, dr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function mr(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return t && /** @type {ShadowRoot} */
|
|
@@ -49,7 +49,7 @@ function pr(e) {
|
|
|
49
49
|
t
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function dr(e, t) {
|
|
53
53
|
return B(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
@@ -84,14 +84,14 @@ function gr(e, t, r, n) {
|
|
|
84
84
|
function x(e, t, r) {
|
|
85
85
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function vr(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
90
|
function ae(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function yr(e) {
|
|
95
95
|
const t = {};
|
|
96
96
|
return e.childNodes.forEach(
|
|
97
97
|
/** @param {Element} node */
|
|
@@ -198,12 +198,12 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
198
198
|
};
|
|
199
199
|
s && s(u.root);
|
|
200
200
|
let h = !1;
|
|
201
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
202
|
-
const
|
|
203
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
201
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
202
|
+
const d = p.length ? p[0] : c;
|
|
203
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Br(e, f)), c;
|
|
204
204
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
205
205
|
if (t.hydrate) {
|
|
206
|
-
const f =
|
|
206
|
+
const f = vr(t.target);
|
|
207
207
|
u.fragment && u.fragment.l(f), f.forEach(N);
|
|
208
208
|
} else
|
|
209
209
|
u.fragment && u.fragment.c();
|
|
@@ -271,12 +271,12 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
271
271
|
};
|
|
272
272
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
273
273
|
return;
|
|
274
|
-
const t = {}, r =
|
|
274
|
+
const t = {}, r = yr(this);
|
|
275
275
|
for (const i of this.$$s)
|
|
276
276
|
i in r && (t[i] = [e(i)]);
|
|
277
277
|
for (const i of this.attributes) {
|
|
278
278
|
const o = this.$$g_p(i.name);
|
|
279
|
-
o in this.$$d || (this.$$d[o] =
|
|
279
|
+
o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
|
|
280
280
|
}
|
|
281
281
|
for (const i in this.$$p_d)
|
|
282
282
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
294
294
|
this.$$r = !0;
|
|
295
295
|
for (const i in this.$$p_d)
|
|
296
296
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
297
|
-
const o =
|
|
297
|
+
const o = pe(
|
|
298
298
|
i,
|
|
299
299
|
this.$$d[i],
|
|
300
300
|
this.$$p_d,
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
316
316
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
317
317
|
// and setting attributes through setAttribute etc, this is helpful
|
|
318
318
|
attributeChangedCallback(e, t, r) {
|
|
319
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
319
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
320
320
|
}
|
|
321
321
|
disconnectedCallback() {
|
|
322
322
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
329
329
|
) || e;
|
|
330
330
|
}
|
|
331
331
|
});
|
|
332
|
-
function
|
|
332
|
+
function pe(e, t, r, n) {
|
|
333
333
|
const i = r[e]?.type;
|
|
334
334
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
335
335
|
return t;
|
|
@@ -375,7 +375,7 @@ function Or(e, t, r, n, i, o) {
|
|
|
375
375
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
376
376
|
},
|
|
377
377
|
set(l) {
|
|
378
|
-
l =
|
|
378
|
+
l = pe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
}), n.forEach((a) => {
|
|
@@ -449,14 +449,14 @@ function $(e, t) {
|
|
|
449
449
|
}
|
|
450
450
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
return
|
|
452
|
+
var y = function() {
|
|
453
|
+
return y = Object.assign || function(t) {
|
|
454
454
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
455
455
|
r = arguments[n];
|
|
456
456
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
457
457
|
}
|
|
458
458
|
return t;
|
|
459
|
-
},
|
|
459
|
+
}, y.apply(this, arguments);
|
|
460
460
|
};
|
|
461
461
|
function Nr(e, t) {
|
|
462
462
|
var r = {};
|
|
@@ -522,7 +522,7 @@ function $e(e, t) {
|
|
|
522
522
|
0 <= r && e.splice(r, 1);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
var
|
|
525
|
+
var ye = function() {
|
|
526
526
|
function e(t) {
|
|
527
527
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
528
528
|
}
|
|
@@ -538,8 +538,8 @@ var ve = function() {
|
|
|
538
538
|
var u = l.value;
|
|
539
539
|
u.remove(this);
|
|
540
540
|
}
|
|
541
|
-
} catch (
|
|
542
|
-
t = { error:
|
|
541
|
+
} catch (m) {
|
|
542
|
+
t = { error: m };
|
|
543
543
|
} finally {
|
|
544
544
|
try {
|
|
545
545
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -553,26 +553,26 @@ var ve = function() {
|
|
|
553
553
|
if (L(h))
|
|
554
554
|
try {
|
|
555
555
|
h();
|
|
556
|
-
} catch (
|
|
557
|
-
o =
|
|
556
|
+
} catch (m) {
|
|
557
|
+
o = m instanceof He ? m.errors : [m];
|
|
558
558
|
}
|
|
559
559
|
var f = this._finalizers;
|
|
560
560
|
if (f) {
|
|
561
561
|
this._finalizers = null;
|
|
562
562
|
try {
|
|
563
|
-
for (var c = Le(f),
|
|
564
|
-
var
|
|
563
|
+
for (var c = Le(f), p = c.next(); !p.done; p = c.next()) {
|
|
564
|
+
var d = p.value;
|
|
565
565
|
try {
|
|
566
|
-
tt(
|
|
567
|
-
} catch (
|
|
568
|
-
o = o ?? [],
|
|
566
|
+
tt(d);
|
|
567
|
+
} catch (m) {
|
|
568
|
+
o = o ?? [], m instanceof He ? o = Q(Q([], Re(o)), Re(m.errors)) : o.push(m);
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
} catch (
|
|
572
|
-
n = { error:
|
|
571
|
+
} catch (m) {
|
|
572
|
+
n = { error: m };
|
|
573
573
|
} finally {
|
|
574
574
|
try {
|
|
575
|
-
|
|
575
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
576
576
|
} finally {
|
|
577
577
|
if (n) throw n.error;
|
|
578
578
|
}
|
|
@@ -610,9 +610,9 @@ var ve = function() {
|
|
|
610
610
|
var t = new e();
|
|
611
611
|
return t.closed = !0, t;
|
|
612
612
|
}(), e;
|
|
613
|
-
}(), Rt =
|
|
613
|
+
}(), Rt = ye.EMPTY;
|
|
614
614
|
function $t(e) {
|
|
615
|
-
return e instanceof
|
|
615
|
+
return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
616
616
|
}
|
|
617
617
|
function tt(e) {
|
|
618
618
|
L(e) ? e() : e.unsubscribe();
|
|
@@ -637,7 +637,7 @@ function Rr(e) {
|
|
|
637
637
|
}
|
|
638
638
|
function rt() {
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function me(e) {
|
|
641
641
|
e();
|
|
642
642
|
}
|
|
643
643
|
var Ft = function(e) {
|
|
@@ -671,7 +671,7 @@ var Ft = function(e) {
|
|
|
671
671
|
this.unsubscribe();
|
|
672
672
|
}
|
|
673
673
|
}, t;
|
|
674
|
-
}(
|
|
674
|
+
}(ye), $r = function() {
|
|
675
675
|
function e(t) {
|
|
676
676
|
this.partialObserver = t;
|
|
677
677
|
}
|
|
@@ -747,7 +747,7 @@ var nt = function() {
|
|
|
747
747
|
return r.source = this, r.operator = t, r;
|
|
748
748
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
749
749
|
var i = this, o = Vr(t) ? t : new Fe(t, r, n);
|
|
750
|
-
return
|
|
750
|
+
return me(function() {
|
|
751
751
|
var s = i, a = s.operator, l = s.source;
|
|
752
752
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
753
753
|
}), o;
|
|
@@ -826,7 +826,7 @@ var Xr = Lt(function(e) {
|
|
|
826
826
|
throw new Xr();
|
|
827
827
|
}, t.prototype.next = function(r) {
|
|
828
828
|
var n = this;
|
|
829
|
-
|
|
829
|
+
me(function() {
|
|
830
830
|
var i, o;
|
|
831
831
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
832
832
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -848,7 +848,7 @@ var Xr = Lt(function(e) {
|
|
|
848
848
|
});
|
|
849
849
|
}, t.prototype.error = function(r) {
|
|
850
850
|
var n = this;
|
|
851
|
-
|
|
851
|
+
me(function() {
|
|
852
852
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
853
853
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
854
854
|
for (var i = n.observers; i.length; )
|
|
@@ -857,7 +857,7 @@ var Xr = Lt(function(e) {
|
|
|
857
857
|
});
|
|
858
858
|
}, t.prototype.complete = function() {
|
|
859
859
|
var r = this;
|
|
860
|
-
|
|
860
|
+
me(function() {
|
|
861
861
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
862
862
|
r.isStopped = !0;
|
|
863
863
|
for (var n = r.observers; n.length; )
|
|
@@ -879,7 +879,7 @@ var Xr = Lt(function(e) {
|
|
|
879
879
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
880
880
|
}, t.prototype._innerSubscribe = function(r) {
|
|
881
881
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
882
|
-
return o || s ? Rt : (this.currentObservers = null, a.push(r), new
|
|
882
|
+
return o || s ? Rt : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
883
883
|
n.currentObservers = null, $e(a, r);
|
|
884
884
|
}));
|
|
885
885
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -990,21 +990,21 @@ function ee(e, t, r) {
|
|
|
990
990
|
if (h)
|
|
991
991
|
return;
|
|
992
992
|
f();
|
|
993
|
-
const
|
|
994
|
-
o ? s(
|
|
995
|
-
},
|
|
996
|
-
(
|
|
997
|
-
|
|
993
|
+
const d = t(n ? u[0] : u, s, a);
|
|
994
|
+
o ? s(d) : f = We(d) ? d : C;
|
|
995
|
+
}, p = i.map(
|
|
996
|
+
(d, m) => Nt(
|
|
997
|
+
d,
|
|
998
998
|
(_) => {
|
|
999
|
-
u[
|
|
999
|
+
u[m] = _, h &= ~(1 << m), l && c();
|
|
1000
1000
|
},
|
|
1001
1001
|
() => {
|
|
1002
|
-
h |= 1 <<
|
|
1002
|
+
h |= 1 << m;
|
|
1003
1003
|
}
|
|
1004
1004
|
)
|
|
1005
1005
|
);
|
|
1006
1006
|
return l = !0, c(), function() {
|
|
1007
|
-
se(
|
|
1007
|
+
se(p), f(), l = !1;
|
|
1008
1008
|
};
|
|
1009
1009
|
});
|
|
1010
1010
|
}
|
|
@@ -1083,7 +1083,7 @@ J.all = function(t, r) {
|
|
|
1083
1083
|
var ln = J, hn = ln;
|
|
1084
1084
|
const fn = /* @__PURE__ */ Qr(hn);
|
|
1085
1085
|
function we(e, t) {
|
|
1086
|
-
var r = t && t.cache ? t.cache :
|
|
1086
|
+
var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : mn;
|
|
1087
1087
|
return i(e, {
|
|
1088
1088
|
cache: r,
|
|
1089
1089
|
serializer: n
|
|
@@ -1092,7 +1092,7 @@ function we(e, t) {
|
|
|
1092
1092
|
function cn(e) {
|
|
1093
1093
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function pn(e, t, r, n) {
|
|
1096
1096
|
var i = cn(n) ? n : r(n), o = t.get(i);
|
|
1097
1097
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1098
1098
|
}
|
|
@@ -1103,11 +1103,11 @@ function jt(e, t, r) {
|
|
|
1103
1103
|
function kt(e, t, r, n, i) {
|
|
1104
1104
|
return r.bind(t, e, n, i);
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1107
|
-
var r = e.length === 1 ?
|
|
1106
|
+
function mn(e, t) {
|
|
1107
|
+
var r = e.length === 1 ? pn : jt;
|
|
1108
1108
|
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function dn(e, t) {
|
|
1111
1111
|
return kt(e, this, jt, t.cache.create(), t.serializer);
|
|
1112
1112
|
}
|
|
1113
1113
|
var bn = function() {
|
|
@@ -1124,12 +1124,12 @@ var bn = function() {
|
|
|
1124
1124
|
this.cache[t] = r;
|
|
1125
1125
|
}, e;
|
|
1126
1126
|
}()
|
|
1127
|
-
),
|
|
1127
|
+
), vn = {
|
|
1128
1128
|
create: function() {
|
|
1129
1129
|
return new gn();
|
|
1130
1130
|
}
|
|
1131
1131
|
}, Ae = {
|
|
1132
|
-
variadic:
|
|
1132
|
+
variadic: dn
|
|
1133
1133
|
}, b;
|
|
1134
1134
|
(function(e) {
|
|
1135
1135
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -1145,7 +1145,7 @@ var Y;
|
|
|
1145
1145
|
function lt(e) {
|
|
1146
1146
|
return e.type === E.literal;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function yn(e) {
|
|
1149
1149
|
return e.type === E.argument;
|
|
1150
1150
|
}
|
|
1151
1151
|
function Vt(e) {
|
|
@@ -1389,13 +1389,13 @@ function Bn(e) {
|
|
|
1389
1389
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1390
1390
|
continue;
|
|
1391
1391
|
case "scientific":
|
|
1392
|
-
t =
|
|
1393
|
-
return
|
|
1392
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1393
|
+
return y(y({}, l), ct(u));
|
|
1394
1394
|
}, {}));
|
|
1395
1395
|
continue;
|
|
1396
1396
|
case "engineering":
|
|
1397
|
-
t =
|
|
1398
|
-
return
|
|
1397
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1398
|
+
return y(y({}, l), ct(u));
|
|
1399
1399
|
}, {}));
|
|
1400
1400
|
continue;
|
|
1401
1401
|
case "notation-simple":
|
|
@@ -1440,13 +1440,13 @@ function Bn(e) {
|
|
|
1440
1440
|
case "integer-width":
|
|
1441
1441
|
if (i.options.length > 1)
|
|
1442
1442
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1443
|
-
i.options[0].replace(wn, function(l, u, h, f, c,
|
|
1443
|
+
i.options[0].replace(wn, function(l, u, h, f, c, p) {
|
|
1444
1444
|
if (u)
|
|
1445
1445
|
t.minimumIntegerDigits = h.length;
|
|
1446
1446
|
else {
|
|
1447
1447
|
if (f && c)
|
|
1448
1448
|
throw new Error("We currently do not support maximum integer digits");
|
|
1449
|
-
if (
|
|
1449
|
+
if (p)
|
|
1450
1450
|
throw new Error("We currently do not support exact integer digits");
|
|
1451
1451
|
}
|
|
1452
1452
|
return "";
|
|
@@ -1460,21 +1460,21 @@ function Bn(e) {
|
|
|
1460
1460
|
if (ht.test(i.stem)) {
|
|
1461
1461
|
if (i.options.length > 1)
|
|
1462
1462
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1463
|
-
i.stem.replace(ht, function(l, u, h, f, c,
|
|
1464
|
-
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1463
|
+
i.stem.replace(ht, function(l, u, h, f, c, p) {
|
|
1464
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1465
1465
|
});
|
|
1466
1466
|
var o = i.options[0];
|
|
1467
|
-
o === "w" ? t =
|
|
1467
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ft(o)));
|
|
1468
1468
|
continue;
|
|
1469
1469
|
}
|
|
1470
1470
|
if (qt.test(i.stem)) {
|
|
1471
|
-
t =
|
|
1471
|
+
t = y(y({}, t), ft(i.stem));
|
|
1472
1472
|
continue;
|
|
1473
1473
|
}
|
|
1474
1474
|
var s = er(i.stem);
|
|
1475
|
-
s && (t =
|
|
1475
|
+
s && (t = y(y({}, t), s));
|
|
1476
1476
|
var a = An(i.stem);
|
|
1477
|
-
a && (t =
|
|
1477
|
+
a && (t = y(y({}, t), a));
|
|
1478
1478
|
}
|
|
1479
1479
|
return t;
|
|
1480
1480
|
}
|
|
@@ -2943,7 +2943,7 @@ try {
|
|
|
2943
2943
|
} catch {
|
|
2944
2944
|
De = !1;
|
|
2945
2945
|
}
|
|
2946
|
-
var
|
|
2946
|
+
var pt = Nn ? (
|
|
2947
2947
|
// Native
|
|
2948
2948
|
function(t, r, n) {
|
|
2949
2949
|
return t.startsWith(r, n);
|
|
@@ -2965,7 +2965,7 @@ var dt = Nn ? (
|
|
|
2965
2965
|
}
|
|
2966
2966
|
return n;
|
|
2967
2967
|
}
|
|
2968
|
-
),
|
|
2968
|
+
), mt = (
|
|
2969
2969
|
// native
|
|
2970
2970
|
Ln ? Object.fromEntries : (
|
|
2971
2971
|
// Ponyfill
|
|
@@ -3017,11 +3017,11 @@ function rr(e, t) {
|
|
|
3017
3017
|
}
|
|
3018
3018
|
var je;
|
|
3019
3019
|
if (De) {
|
|
3020
|
-
var
|
|
3020
|
+
var dt = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3021
3021
|
je = function(t, r) {
|
|
3022
3022
|
var n;
|
|
3023
|
-
|
|
3024
|
-
var i =
|
|
3023
|
+
dt.lastIndex = r;
|
|
3024
|
+
var i = dt.exec(t);
|
|
3025
3025
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3026
3026
|
};
|
|
3027
3027
|
} else
|
|
@@ -3235,24 +3235,24 @@ var Vn = (
|
|
|
3235
3235
|
var c = kn(f.val);
|
|
3236
3236
|
if (c.length === 0)
|
|
3237
3237
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3238
|
-
var
|
|
3239
|
-
u = { style: c, styleLocation:
|
|
3238
|
+
var p = g(h, this.clonePosition());
|
|
3239
|
+
u = { style: c, styleLocation: p };
|
|
3240
3240
|
}
|
|
3241
|
-
var
|
|
3242
|
-
if (
|
|
3243
|
-
return
|
|
3244
|
-
var
|
|
3245
|
-
if (u &&
|
|
3241
|
+
var d = this.tryParseArgumentClose(i);
|
|
3242
|
+
if (d.err)
|
|
3243
|
+
return d;
|
|
3244
|
+
var m = g(i, this.clonePosition());
|
|
3245
|
+
if (u && pt(u?.style, "::", 0)) {
|
|
3246
3246
|
var _ = jn(u.style.slice(2));
|
|
3247
3247
|
if (a === "number") {
|
|
3248
3248
|
var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3249
3249
|
return f.err ? f : {
|
|
3250
|
-
val: { type: E.number, value: n, location:
|
|
3250
|
+
val: { type: E.number, value: n, location: m, style: f.val },
|
|
3251
3251
|
err: null
|
|
3252
3252
|
};
|
|
3253
3253
|
} else {
|
|
3254
3254
|
if (_.length === 0)
|
|
3255
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3255
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3256
3256
|
var S = _;
|
|
3257
3257
|
this.locale && (S = Pn(_, this.locale));
|
|
3258
3258
|
var c = {
|
|
@@ -3262,7 +3262,7 @@ var Vn = (
|
|
|
3262
3262
|
parsedOptions: this.shouldParseSkeletons ? xn(S) : {}
|
|
3263
3263
|
}, I = a === "date" ? E.date : E.time;
|
|
3264
3264
|
return {
|
|
3265
|
-
val: { type: I, value: n, location:
|
|
3265
|
+
val: { type: I, value: n, location: m, style: c },
|
|
3266
3266
|
err: null
|
|
3267
3267
|
};
|
|
3268
3268
|
}
|
|
@@ -3271,7 +3271,7 @@ var Vn = (
|
|
|
3271
3271
|
val: {
|
|
3272
3272
|
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3273
3273
|
value: n,
|
|
3274
|
-
location:
|
|
3274
|
+
location: m,
|
|
3275
3275
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3276
3276
|
},
|
|
3277
3277
|
err: null
|
|
@@ -3282,7 +3282,7 @@ var Vn = (
|
|
|
3282
3282
|
case "select": {
|
|
3283
3283
|
var T = this.clonePosition();
|
|
3284
3284
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3285
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T,
|
|
3285
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
|
|
3286
3286
|
this.bumpSpace();
|
|
3287
3287
|
var w = this.parseIdentifierIfPossible(), M = 0;
|
|
3288
3288
|
if (a !== "select" && w.value === "offset") {
|
|
@@ -3297,26 +3297,26 @@ var Vn = (
|
|
|
3297
3297
|
var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
|
|
3298
3298
|
if (k.err)
|
|
3299
3299
|
return k;
|
|
3300
|
-
var
|
|
3301
|
-
if (
|
|
3302
|
-
return
|
|
3303
|
-
var
|
|
3300
|
+
var d = this.tryParseArgumentClose(i);
|
|
3301
|
+
if (d.err)
|
|
3302
|
+
return d;
|
|
3303
|
+
var v = g(i, this.clonePosition());
|
|
3304
3304
|
return a === "select" ? {
|
|
3305
3305
|
val: {
|
|
3306
3306
|
type: E.select,
|
|
3307
3307
|
value: n,
|
|
3308
|
-
options:
|
|
3309
|
-
location:
|
|
3308
|
+
options: mt(k.val),
|
|
3309
|
+
location: v
|
|
3310
3310
|
},
|
|
3311
3311
|
err: null
|
|
3312
3312
|
} : {
|
|
3313
3313
|
val: {
|
|
3314
3314
|
type: E.plural,
|
|
3315
3315
|
value: n,
|
|
3316
|
-
options:
|
|
3316
|
+
options: mt(k.val),
|
|
3317
3317
|
offset: M,
|
|
3318
3318
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3319
|
-
location:
|
|
3319
|
+
location: v
|
|
3320
3320
|
},
|
|
3321
3321
|
err: null
|
|
3322
3322
|
};
|
|
@@ -3392,20 +3392,20 @@ var Vn = (
|
|
|
3392
3392
|
if (l.has(u))
|
|
3393
3393
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3394
3394
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3395
|
-
var
|
|
3395
|
+
var p = this.clonePosition();
|
|
3396
3396
|
if (!this.bumpIf("{"))
|
|
3397
3397
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3398
|
-
var
|
|
3398
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3399
|
+
if (d.err)
|
|
3400
|
+
return d;
|
|
3401
|
+
var m = this.tryParseArgumentClose(p);
|
|
3399
3402
|
if (m.err)
|
|
3400
3403
|
return m;
|
|
3401
|
-
var p = this.tryParseArgumentClose(d);
|
|
3402
|
-
if (p.err)
|
|
3403
|
-
return p;
|
|
3404
3404
|
a.push([
|
|
3405
3405
|
u,
|
|
3406
3406
|
{
|
|
3407
|
-
value:
|
|
3408
|
-
location: g(
|
|
3407
|
+
value: d.val,
|
|
3408
|
+
location: g(p, this.clonePosition())
|
|
3409
3409
|
}
|
|
3410
3410
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3411
3411
|
}
|
|
@@ -3455,7 +3455,7 @@ var Vn = (
|
|
|
3455
3455
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3456
3456
|
}
|
|
3457
3457
|
}, e.prototype.bumpIf = function(t) {
|
|
3458
|
-
if (
|
|
3458
|
+
if (pt(this.message, t, this.offset())) {
|
|
3459
3459
|
for (var r = 0; r < t.length; r++)
|
|
3460
3460
|
this.bump();
|
|
3461
3461
|
return !0;
|
|
@@ -3511,7 +3511,7 @@ function Ve(e) {
|
|
|
3511
3511
|
});
|
|
3512
3512
|
}
|
|
3513
3513
|
function Zn(e, t) {
|
|
3514
|
-
t === void 0 && (t = {}), t =
|
|
3514
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3515
3515
|
var r = new Vn(e, t).parse();
|
|
3516
3516
|
if (r.err) {
|
|
3517
3517
|
var n = SyntaxError(b[r.err.kind]);
|
|
@@ -3575,7 +3575,7 @@ function Yn(e) {
|
|
|
3575
3575
|
function qn(e) {
|
|
3576
3576
|
return typeof e == "function";
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function de(e, t, r, n, i, o, s) {
|
|
3579
3579
|
if (e.length === 1 && lt(e[0]))
|
|
3580
3580
|
return [
|
|
3581
3581
|
{
|
|
@@ -3603,7 +3603,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3603
3603
|
if (!(i && f in i))
|
|
3604
3604
|
throw new Jn(f, s);
|
|
3605
3605
|
var c = i[f];
|
|
3606
|
-
if (
|
|
3606
|
+
if (yn(h)) {
|
|
3607
3607
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3608
3608
|
type: typeof c == "string" ? A.literal : A.object,
|
|
3609
3609
|
value: c
|
|
@@ -3611,34 +3611,34 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3611
3611
|
continue;
|
|
3612
3612
|
}
|
|
3613
3613
|
if (Xt(h)) {
|
|
3614
|
-
var
|
|
3614
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
|
|
3615
3615
|
a.push({
|
|
3616
3616
|
type: A.literal,
|
|
3617
|
-
value: r.getDateTimeFormat(t,
|
|
3617
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3618
3618
|
});
|
|
3619
3619
|
continue;
|
|
3620
3620
|
}
|
|
3621
3621
|
if (zt(h)) {
|
|
3622
|
-
var
|
|
3622
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3623
3623
|
a.push({
|
|
3624
3624
|
type: A.literal,
|
|
3625
|
-
value: r.getDateTimeFormat(t,
|
|
3625
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3626
3626
|
});
|
|
3627
3627
|
continue;
|
|
3628
3628
|
}
|
|
3629
3629
|
if (Vt(h)) {
|
|
3630
|
-
var
|
|
3631
|
-
|
|
3630
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
|
|
3631
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3632
3632
|
type: A.literal,
|
|
3633
|
-
value: r.getNumberFormat(t,
|
|
3633
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3634
3634
|
});
|
|
3635
3635
|
continue;
|
|
3636
3636
|
}
|
|
3637
3637
|
if (Qt(h)) {
|
|
3638
|
-
var
|
|
3638
|
+
var d = h.children, m = h.value, _ = i[m];
|
|
3639
3639
|
if (!qn(_))
|
|
3640
|
-
throw new Qn(
|
|
3641
|
-
var S =
|
|
3640
|
+
throw new Qn(m, "function", s);
|
|
3641
|
+
var S = de(d, t, r, n, i, o), I = _(S.map(function(M) {
|
|
3642
3642
|
return M.value;
|
|
3643
3643
|
}));
|
|
3644
3644
|
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(M) {
|
|
@@ -3652,7 +3652,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3652
3652
|
var T = h.options[c] || h.options.other;
|
|
3653
3653
|
if (!T)
|
|
3654
3654
|
throw new bt(h.value, c, Object.keys(h.options), s);
|
|
3655
|
-
a.push.apply(a,
|
|
3655
|
+
a.push.apply(a, de(T.value, t, r, n, i));
|
|
3656
3656
|
continue;
|
|
3657
3657
|
}
|
|
3658
3658
|
if (Zt(h)) {
|
|
@@ -3667,21 +3667,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3667
3667
|
}
|
|
3668
3668
|
if (!T)
|
|
3669
3669
|
throw new bt(h.value, c, Object.keys(h.options), s);
|
|
3670
|
-
a.push.apply(a,
|
|
3670
|
+
a.push.apply(a, de(T.value, t, r, n, i, c - (h.offset || 0)));
|
|
3671
3671
|
continue;
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
3674
|
return Yn(a);
|
|
3675
3675
|
}
|
|
3676
3676
|
function Kn(e, t) {
|
|
3677
|
-
return t ?
|
|
3678
|
-
return r[n] =
|
|
3677
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3678
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3679
3679
|
}, {})) : e;
|
|
3680
3680
|
}
|
|
3681
3681
|
function ei(e, t) {
|
|
3682
3682
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3683
3683
|
return r[n] = Kn(e[n], t[n]), r;
|
|
3684
|
-
},
|
|
3684
|
+
}, y({}, e)) : e;
|
|
3685
3685
|
}
|
|
3686
3686
|
function Pe(e) {
|
|
3687
3687
|
return {
|
|
@@ -3748,7 +3748,7 @@ var ri = (
|
|
|
3748
3748
|
}, []);
|
|
3749
3749
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3750
3750
|
}, this.formatToParts = function(l) {
|
|
3751
|
-
return
|
|
3751
|
+
return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3752
3752
|
}, this.resolvedOptions = function() {
|
|
3753
3753
|
var l;
|
|
3754
3754
|
return {
|
|
@@ -3762,7 +3762,7 @@ var ri = (
|
|
|
3762
3762
|
var s = i || {};
|
|
3763
3763
|
s.formatters;
|
|
3764
3764
|
var a = Nr(s, ["formatters"]);
|
|
3765
|
-
this.ast = e.__parse(t,
|
|
3765
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3766
3766
|
} else
|
|
3767
3767
|
this.ast = t;
|
|
3768
3768
|
if (!Array.isArray(this.ast))
|
|
@@ -3983,27 +3983,27 @@ const fi = {
|
|
|
3983
3983
|
warnOnMissingMessages: !0,
|
|
3984
3984
|
handleMissingMessage: void 0,
|
|
3985
3985
|
ignoreTag: !0
|
|
3986
|
-
},
|
|
3986
|
+
}, pi = ci;
|
|
3987
3987
|
function K() {
|
|
3988
|
-
return
|
|
3988
|
+
return pi;
|
|
3989
3989
|
}
|
|
3990
3990
|
const Oe = _e(!1);
|
|
3991
|
-
var
|
|
3991
|
+
var mi = Object.defineProperty, di = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
|
|
3992
3992
|
for (var r in t || (t = {}))
|
|
3993
|
-
gi.call(t, r) &&
|
|
3993
|
+
gi.call(t, r) && vt(e, r, t[r]);
|
|
3994
3994
|
if (gt)
|
|
3995
3995
|
for (var r of gt(t))
|
|
3996
|
-
|
|
3996
|
+
vi.call(t, r) && vt(e, r, t[r]);
|
|
3997
3997
|
return e;
|
|
3998
|
-
}, _i = (e, t) =>
|
|
3998
|
+
}, _i = (e, t) => di(e, bi(t));
|
|
3999
3999
|
let ze;
|
|
4000
4000
|
const ge = _e(null);
|
|
4001
|
-
function
|
|
4001
|
+
function yt(e) {
|
|
4002
4002
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4003
4003
|
}
|
|
4004
4004
|
function xe(e, t = K().fallbackLocale) {
|
|
4005
|
-
const r =
|
|
4006
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4005
|
+
const r = yt(e);
|
|
4006
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
4007
4007
|
}
|
|
4008
4008
|
function j() {
|
|
4009
4009
|
return ze ?? void 0;
|
|
@@ -4025,7 +4025,7 @@ const Ei = (e) => {
|
|
|
4025
4025
|
});
|
|
4026
4026
|
}
|
|
4027
4027
|
return ge.set(e);
|
|
4028
|
-
}, le = _i(
|
|
4028
|
+
}, le = _i(yi({}, ge), {
|
|
4029
4029
|
set: Ei
|
|
4030
4030
|
}), Se = (e) => {
|
|
4031
4031
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4034,19 +4034,19 @@ const Ei = (e) => {
|
|
|
4034
4034
|
return i in t ? t[i] : t[i] = e(n);
|
|
4035
4035
|
};
|
|
4036
4036
|
};
|
|
4037
|
-
var xi = Object.defineProperty,
|
|
4037
|
+
var xi = Object.defineProperty, ve = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4038
4038
|
for (var r in t || (t = {}))
|
|
4039
4039
|
lr.call(t, r) && _t(e, r, t[r]);
|
|
4040
|
-
if (
|
|
4041
|
-
for (var r of
|
|
4040
|
+
if (ve)
|
|
4041
|
+
for (var r of ve(t))
|
|
4042
4042
|
hr.call(t, r) && _t(e, r, t[r]);
|
|
4043
4043
|
return e;
|
|
4044
4044
|
}, te = (e, t) => {
|
|
4045
4045
|
var r = {};
|
|
4046
4046
|
for (var n in e)
|
|
4047
4047
|
lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4048
|
-
if (e != null &&
|
|
4049
|
-
for (var n of
|
|
4048
|
+
if (e != null && ve)
|
|
4049
|
+
for (var n of ve(e))
|
|
4050
4050
|
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4051
4051
|
return r;
|
|
4052
4052
|
};
|
|
@@ -4226,7 +4226,7 @@ const xt = {
|
|
|
4226
4226
|
}
|
|
4227
4227
|
};
|
|
4228
4228
|
function Ri(e) {
|
|
4229
|
-
|
|
4229
|
+
pr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
|
|
4230
4230
|
}
|
|
4231
4231
|
function St(e, t, r) {
|
|
4232
4232
|
const n = e.slice();
|
|
@@ -4393,7 +4393,7 @@ function Pt(e) {
|
|
|
4393
4393
|
};
|
|
4394
4394
|
}
|
|
4395
4395
|
function Ot(e) {
|
|
4396
|
-
let t, r, n, i, o, s, a, l, u, h, f, c,
|
|
4396
|
+
let t, r, n, i, o, s, a, l, u, h, f, c, p = (
|
|
4397
4397
|
/*activeIndexes*/
|
|
4398
4398
|
(e[2][
|
|
4399
4399
|
/*index*/
|
|
@@ -4401,10 +4401,10 @@ function Ot(e) {
|
|
|
4401
4401
|
] == 1 || /*allActive*/
|
|
4402
4402
|
e[3] && /*index*/
|
|
4403
4403
|
e[24] == 0) && Ht()
|
|
4404
|
-
),
|
|
4404
|
+
), d = (
|
|
4405
4405
|
/*filter*/
|
|
4406
4406
|
e[22] == "Scheduled" && wt(e)
|
|
4407
|
-
),
|
|
4407
|
+
), m = (
|
|
4408
4408
|
/*filter*/
|
|
4409
4409
|
e[22] == "Ongoing" && At(e)
|
|
4410
4410
|
), _ = (
|
|
@@ -4427,7 +4427,7 @@ function Ot(e) {
|
|
|
4427
4427
|
}
|
|
4428
4428
|
return {
|
|
4429
4429
|
c() {
|
|
4430
|
-
t = U("li"), r = U("button"),
|
|
4430
|
+
t = U("li"), r = U("button"), p && p.c(), n = z(), i = U("div"), d && d.c(), o = z(), m && m.c(), s = z(), _ && _.c(), a = z(), S && S.c(), h = z(), x(i, "class", "FilterButton " + (O(
|
|
4431
4431
|
/*userAgent*/
|
|
4432
4432
|
e[5]
|
|
4433
4433
|
) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
|
|
@@ -4454,7 +4454,7 @@ function Ot(e) {
|
|
|
4454
4454
|
) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
|
|
4455
4455
|
},
|
|
4456
4456
|
m(T, w) {
|
|
4457
|
-
R(T, t, w), B(t, r),
|
|
4457
|
+
R(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), d && d.m(i, null), B(i, o), m && m.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = gr(t, "click", I), f = !0);
|
|
4458
4458
|
},
|
|
4459
4459
|
p(T, w) {
|
|
4460
4460
|
e = T, /*activeIndexes*/
|
|
@@ -4463,9 +4463,9 @@ function Ot(e) {
|
|
|
4463
4463
|
e[24]
|
|
4464
4464
|
] == 1 || /*allActive*/
|
|
4465
4465
|
e[3] && /*index*/
|
|
4466
|
-
e[24] == 0 ?
|
|
4467
|
-
e[22] == "Scheduled" ?
|
|
4468
|
-
e[22] == "Ongoing" ?
|
|
4466
|
+
e[24] == 0 ? p || (p = Ht(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
|
|
4467
|
+
e[22] == "Scheduled" ? d ? d.p(e, w) : (d = wt(e), d.c(), d.m(i, o)) : d && (d.d(1), d = null), /*filter*/
|
|
4468
|
+
e[22] == "Ongoing" ? m ? m.p(e, w) : (m = At(e), m.c(), m.m(i, s)) : m && (m.d(1), m = null), /*filter*/
|
|
4469
4469
|
e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Bt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
|
|
4470
4470
|
e[22] == "All" ? S ? S.p(e, w) : (S = Pt(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
|
|
4471
4471
|
12 && l !== (l = /*activeIndexes*/
|
|
@@ -4490,7 +4490,7 @@ function Ot(e) {
|
|
|
4490
4490
|
) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
|
|
4491
4491
|
},
|
|
4492
4492
|
d(T) {
|
|
4493
|
-
T && N(t),
|
|
4493
|
+
T && N(t), p && p.d(), d && d.d(), m && m.d(), _ && _.d(), S && S.d(), f = !1, c();
|
|
4494
4494
|
}
|
|
4495
4495
|
};
|
|
4496
4496
|
}
|
|
@@ -4525,9 +4525,9 @@ function $i(e) {
|
|
|
4525
4525
|
}
|
|
4526
4526
|
function Fi(e, t, r) {
|
|
4527
4527
|
let n;
|
|
4528
|
-
cr(e, Li, (
|
|
4529
|
-
let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100),
|
|
4530
|
-
const
|
|
4528
|
+
cr(e, Li, (v) => r(4, n = v));
|
|
4529
|
+
let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, d = window.navigator.userAgent;
|
|
4530
|
+
const m = () => {
|
|
4531
4531
|
fetch(s).then((H) => H.json()).then((H) => {
|
|
4532
4532
|
Object.keys(H).forEach((P) => {
|
|
4533
4533
|
Et(P, H[P]);
|
|
@@ -4536,19 +4536,19 @@ function Fi(e, t, r) {
|
|
|
4536
4536
|
console.log(H);
|
|
4537
4537
|
});
|
|
4538
4538
|
};
|
|
4539
|
-
Object.keys(xt).forEach((
|
|
4540
|
-
Et(
|
|
4539
|
+
Object.keys(xt).forEach((v) => {
|
|
4540
|
+
Et(v, xt[v]);
|
|
4541
4541
|
});
|
|
4542
|
-
const _ = (
|
|
4542
|
+
const _ = (v, H) => {
|
|
4543
4543
|
if (H == 0)
|
|
4544
|
-
r(3,
|
|
4544
|
+
r(3, p = !0), r(2, c = new Array(f)), window.postMessage(
|
|
4545
4545
|
{
|
|
4546
4546
|
type: "TournamentsFiltersSelected",
|
|
4547
4547
|
filters: ["All"]
|
|
4548
4548
|
},
|
|
4549
4549
|
window.location.href
|
|
4550
4550
|
);
|
|
4551
|
-
else if (r(3,
|
|
4551
|
+
else if (r(3, p = !1), c[H] == 1 ? (r(2, c[H] = 0, c), c.indexOf(1) == -1 && r(3, p = !0)) : r(2, c[H] = 1, c), c.indexOf(1) == -1)
|
|
4552
4552
|
window.postMessage(
|
|
4553
4553
|
{
|
|
4554
4554
|
type: "TournamentsFiltersSelected",
|
|
@@ -4571,17 +4571,17 @@ function Fi(e, t, r) {
|
|
|
4571
4571
|
}, S = () => {
|
|
4572
4572
|
r(1, h = i.split(",")), f = h.length;
|
|
4573
4573
|
}, I = () => {
|
|
4574
|
-
let
|
|
4575
|
-
r(2, c = new Array(f)),
|
|
4574
|
+
let v = o.split(",");
|
|
4575
|
+
r(2, c = new Array(f)), v.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), v.forEach((H) => {
|
|
4576
4576
|
let P = h.indexOf(H);
|
|
4577
4577
|
P > 0 && r(2, c[P] = 1, c);
|
|
4578
4578
|
}));
|
|
4579
4579
|
}, T = () => {
|
|
4580
|
-
let
|
|
4581
|
-
|
|
4580
|
+
let v = document.createElement("style");
|
|
4581
|
+
v.innerHTML = a, u.appendChild(v);
|
|
4582
4582
|
}, w = () => {
|
|
4583
|
-
let
|
|
4584
|
-
fetch(
|
|
4583
|
+
let v = new URL(l), H = document.createElement("style");
|
|
4584
|
+
fetch(v.href).then((P) => P.text()).then((P) => {
|
|
4585
4585
|
H.innerHTML = P, setTimeout(
|
|
4586
4586
|
() => {
|
|
4587
4587
|
u.appendChild(H);
|
|
@@ -4593,28 +4593,28 @@ function Fi(e, t, r) {
|
|
|
4593
4593
|
500
|
|
4594
4594
|
);
|
|
4595
4595
|
});
|
|
4596
|
-
}, M = (
|
|
4597
|
-
function k(
|
|
4598
|
-
Ce[
|
|
4599
|
-
u =
|
|
4596
|
+
}, M = (v, H) => _(v, H);
|
|
4597
|
+
function k(v) {
|
|
4598
|
+
Ce[v ? "unshift" : "push"](() => {
|
|
4599
|
+
u = v, r(0, u);
|
|
4600
4600
|
});
|
|
4601
4601
|
}
|
|
4602
|
-
return e.$$set = (
|
|
4603
|
-
"filters" in
|
|
4602
|
+
return e.$$set = (v) => {
|
|
4603
|
+
"filters" in v && r(7, i = v.filters), "activefilters" in v && r(8, o = v.activefilters), "translationurl" in v && r(9, s = v.translationurl), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl);
|
|
4604
4604
|
}, e.$$.update = () => {
|
|
4605
4605
|
e.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
4606
4606
|
1025 && u && a && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
4607
4607
|
2049 && u && l && w(), e.$$.dirty & /*translationurl*/
|
|
4608
|
-
512 && s &&
|
|
4608
|
+
512 && s && m(), e.$$.dirty & /*filters*/
|
|
4609
4609
|
128 && i && S(), e.$$.dirty & /*activefilters*/
|
|
4610
4610
|
256 && o && I();
|
|
4611
4611
|
}, [
|
|
4612
4612
|
u,
|
|
4613
4613
|
h,
|
|
4614
4614
|
c,
|
|
4615
|
-
|
|
4615
|
+
p,
|
|
4616
4616
|
n,
|
|
4617
|
-
|
|
4617
|
+
d,
|
|
4618
4618
|
_,
|
|
4619
4619
|
i,
|
|
4620
4620
|
o,
|