@everymatrix/casino-categories 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,7 +38,7 @@ function tt() {
|
|
|
38
38
|
function ae(e) {
|
|
39
39
|
e.forEach(Tt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ke(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function Ct(e, t) {
|
|
@@ -63,7 +63,7 @@ function Ht(e, ...t) {
|
|
|
63
63
|
function ar(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(Ht(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function v(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
69
|
function ur(e, t, r) {
|
|
@@ -83,7 +83,7 @@ function hr(e) {
|
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
85
|
function lr(e, t) {
|
|
86
|
-
return
|
|
86
|
+
return v(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
89
89
|
t
|
|
@@ -92,7 +92,7 @@ function lr(e, t) {
|
|
|
92
92
|
function K(e, t, r) {
|
|
93
93
|
e.insertBefore(t, r || null);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function k(e) {
|
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
97
|
}
|
|
98
98
|
function rt(e, t) {
|
|
@@ -111,7 +111,7 @@ function R() {
|
|
|
111
111
|
function At(e, t, r, n) {
|
|
112
112
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function B(e, t, r) {
|
|
115
115
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
116
116
|
}
|
|
117
117
|
function fr(e) {
|
|
@@ -130,9 +130,9 @@ function cr(e) {
|
|
|
130
130
|
}
|
|
131
131
|
), t;
|
|
132
132
|
}
|
|
133
|
-
let
|
|
133
|
+
let Ve;
|
|
134
134
|
function ie(e) {
|
|
135
|
-
|
|
135
|
+
Ve = e;
|
|
136
136
|
}
|
|
137
137
|
const W = [], we = [];
|
|
138
138
|
let Z = [];
|
|
@@ -145,21 +145,21 @@ function Ie(e) {
|
|
|
145
145
|
Z.push(e);
|
|
146
146
|
}
|
|
147
147
|
const Ce = /* @__PURE__ */ new Set();
|
|
148
|
-
let
|
|
148
|
+
let X = 0;
|
|
149
149
|
function $() {
|
|
150
|
-
if (
|
|
150
|
+
if (X !== 0)
|
|
151
151
|
return;
|
|
152
|
-
const e =
|
|
152
|
+
const e = Ve;
|
|
153
153
|
do {
|
|
154
154
|
try {
|
|
155
|
-
for (;
|
|
156
|
-
const t = W[
|
|
157
|
-
|
|
155
|
+
for (; X < W.length; ) {
|
|
156
|
+
const t = W[X];
|
|
157
|
+
X++, ie(t), pr(t.$$);
|
|
158
158
|
}
|
|
159
159
|
} catch (t) {
|
|
160
|
-
throw W.length = 0,
|
|
160
|
+
throw W.length = 0, X = 0, t;
|
|
161
161
|
}
|
|
162
|
-
for (ie(null), W.length = 0,
|
|
162
|
+
for (ie(null), W.length = 0, X = 0; we.length; ) we.pop()();
|
|
163
163
|
for (let t = 0; t < Z.length; t += 1) {
|
|
164
164
|
const r = Z[t];
|
|
165
165
|
Ce.has(r) || (Ce.add(r), r());
|
|
@@ -182,28 +182,28 @@ function dr(e) {
|
|
|
182
182
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
183
183
|
}
|
|
184
184
|
const br = /* @__PURE__ */ new Set();
|
|
185
|
-
function
|
|
185
|
+
function yr(e, t) {
|
|
186
186
|
e && e.i && (br.delete(e), e.i(t));
|
|
187
187
|
}
|
|
188
188
|
function le(e) {
|
|
189
189
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Er(e, t, r) {
|
|
192
192
|
const { fragment: n, after_update: i } = e.$$;
|
|
193
193
|
n && n.m(t, r), Ie(() => {
|
|
194
|
-
const s = e.$$.on_mount.map(Tt).filter(
|
|
194
|
+
const s = e.$$.on_mount.map(Tt).filter(ke);
|
|
195
195
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
|
|
196
196
|
}), i.forEach(Ie);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function xr(e, t) {
|
|
199
199
|
const r = e.$$;
|
|
200
200
|
r.fragment !== null && (dr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function _r(e, t) {
|
|
203
203
|
e.$$.dirty[0] === -1 && (W.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
const h =
|
|
205
|
+
function vr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
206
|
+
const h = Ve;
|
|
207
207
|
ie(e);
|
|
208
208
|
const a = e.$$ = {
|
|
209
209
|
fragment: null,
|
|
@@ -230,14 +230,14 @@ function _r(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
230
230
|
let l = !1;
|
|
231
231
|
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
232
232
|
const p = d.length ? d[0] : f;
|
|
233
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l &&
|
|
233
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && _r(e, c)), f;
|
|
234
234
|
}) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
235
235
|
if (t.hydrate) {
|
|
236
236
|
const c = fr(t.target);
|
|
237
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
237
|
+
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
238
238
|
} else
|
|
239
239
|
a.fragment && a.fragment.c();
|
|
240
|
-
t.intro &&
|
|
240
|
+
t.intro && yr(e.$$.fragment), Er(e, t.target, t.anchor), $();
|
|
241
241
|
}
|
|
242
242
|
ie(h);
|
|
243
243
|
}
|
|
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
286
286
|
let o;
|
|
287
287
|
return {
|
|
288
288
|
c: function() {
|
|
289
|
-
o = O("slot"), s !== "default" &&
|
|
289
|
+
o = O("slot"), s !== "default" && B(o, "name", s);
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
292
|
* @param {HTMLElement} target
|
|
@@ -296,7 +296,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
296
296
|
K(a, o, l);
|
|
297
297
|
},
|
|
298
298
|
d: function(a) {
|
|
299
|
-
a &&
|
|
299
|
+
a && k(o);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
302
|
};
|
|
@@ -444,7 +444,7 @@ class Cr {
|
|
|
444
444
|
}
|
|
445
445
|
/** @returns {void} */
|
|
446
446
|
$destroy() {
|
|
447
|
-
|
|
447
|
+
xr(this, 1), this.$destroy = M;
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
450
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -453,7 +453,7 @@ class Cr {
|
|
|
453
453
|
* @returns {() => void}
|
|
454
454
|
*/
|
|
455
455
|
$on(t, r) {
|
|
456
|
-
if (!
|
|
456
|
+
if (!ke(r))
|
|
457
457
|
return M;
|
|
458
458
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
459
459
|
return n.push(r), () => {
|
|
@@ -471,24 +471,24 @@ class Cr {
|
|
|
471
471
|
}
|
|
472
472
|
const Hr = "4";
|
|
473
473
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
|
|
474
|
-
const
|
|
474
|
+
const z = [];
|
|
475
475
|
function Ar(e, t) {
|
|
476
476
|
return {
|
|
477
|
-
subscribe:
|
|
477
|
+
subscribe: ye(e, t).subscribe
|
|
478
478
|
};
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function ye(e, t = M) {
|
|
481
481
|
let r;
|
|
482
482
|
const n = /* @__PURE__ */ new Set();
|
|
483
483
|
function i(u) {
|
|
484
484
|
if (Ct(e, u) && (e = u, r)) {
|
|
485
|
-
const h = !
|
|
485
|
+
const h = !z.length;
|
|
486
486
|
for (const a of n)
|
|
487
|
-
a[1](),
|
|
487
|
+
a[1](), z.push(a, e);
|
|
488
488
|
if (h) {
|
|
489
|
-
for (let a = 0; a <
|
|
490
|
-
|
|
491
|
-
|
|
489
|
+
for (let a = 0; a < z.length; a += 2)
|
|
490
|
+
z[a][0](z[a + 1]);
|
|
491
|
+
z.length = 0;
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
}
|
|
@@ -517,12 +517,12 @@ function ee(e, t, r) {
|
|
|
517
517
|
return;
|
|
518
518
|
c();
|
|
519
519
|
const p = t(n ? a[0] : a, o, u);
|
|
520
|
-
s ? o(p) : c =
|
|
520
|
+
s ? o(p) : c = ke(p) ? p : M;
|
|
521
521
|
}, d = i.map(
|
|
522
522
|
(p, g) => Ht(
|
|
523
523
|
p,
|
|
524
|
-
(
|
|
525
|
-
a[g] =
|
|
524
|
+
(_) => {
|
|
525
|
+
a[g] = _, l &= ~(1 << g), h && f();
|
|
526
526
|
},
|
|
527
527
|
() => {
|
|
528
528
|
l |= 1 << g;
|
|
@@ -615,7 +615,7 @@ var Le = function(e, t) {
|
|
|
615
615
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
616
616
|
}, Le(e, t);
|
|
617
617
|
};
|
|
618
|
-
function
|
|
618
|
+
function Ee(e, t) {
|
|
619
619
|
if (typeof t != "function" && t !== null)
|
|
620
620
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
621
621
|
Le(e, t);
|
|
@@ -624,16 +624,16 @@ function ye(e, t) {
|
|
|
624
624
|
}
|
|
625
625
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
626
626
|
}
|
|
627
|
-
var
|
|
628
|
-
return
|
|
627
|
+
var x = function() {
|
|
628
|
+
return x = Object.assign || function(t) {
|
|
629
629
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
630
630
|
r = arguments[n];
|
|
631
631
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
632
632
|
}
|
|
633
633
|
return t;
|
|
634
|
-
},
|
|
634
|
+
}, x.apply(this, arguments);
|
|
635
635
|
};
|
|
636
|
-
function
|
|
636
|
+
function kr(e, t) {
|
|
637
637
|
var r = {};
|
|
638
638
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
639
639
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -646,44 +646,44 @@ function He(e, t, r) {
|
|
|
646
646
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
647
647
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
648
648
|
}
|
|
649
|
-
var
|
|
649
|
+
var y;
|
|
650
650
|
(function(e) {
|
|
651
651
|
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";
|
|
652
|
-
})(
|
|
653
|
-
var
|
|
652
|
+
})(y || (y = {}));
|
|
653
|
+
var T;
|
|
654
654
|
(function(e) {
|
|
655
655
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
656
|
-
})(
|
|
656
|
+
})(T || (T = {}));
|
|
657
657
|
var J;
|
|
658
658
|
(function(e) {
|
|
659
659
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
660
660
|
})(J || (J = {}));
|
|
661
661
|
function st(e) {
|
|
662
|
-
return e.type ===
|
|
662
|
+
return e.type === T.literal;
|
|
663
663
|
}
|
|
664
|
-
function
|
|
665
|
-
return e.type ===
|
|
664
|
+
function Vr(e) {
|
|
665
|
+
return e.type === T.argument;
|
|
666
666
|
}
|
|
667
667
|
function Ot(e) {
|
|
668
|
-
return e.type ===
|
|
668
|
+
return e.type === T.number;
|
|
669
669
|
}
|
|
670
670
|
function Pt(e) {
|
|
671
|
-
return e.type ===
|
|
671
|
+
return e.type === T.date;
|
|
672
672
|
}
|
|
673
673
|
function wt(e) {
|
|
674
|
-
return e.type ===
|
|
674
|
+
return e.type === T.time;
|
|
675
675
|
}
|
|
676
676
|
function Nt(e) {
|
|
677
|
-
return e.type ===
|
|
677
|
+
return e.type === T.select;
|
|
678
678
|
}
|
|
679
679
|
function It(e) {
|
|
680
|
-
return e.type ===
|
|
680
|
+
return e.type === T.plural;
|
|
681
681
|
}
|
|
682
|
-
function
|
|
683
|
-
return e.type ===
|
|
682
|
+
function Xr(e) {
|
|
683
|
+
return e.type === T.pound;
|
|
684
684
|
}
|
|
685
685
|
function Lt(e) {
|
|
686
|
-
return e.type ===
|
|
686
|
+
return e.type === T.tag;
|
|
687
687
|
}
|
|
688
688
|
function Mt(e) {
|
|
689
689
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
@@ -691,10 +691,10 @@ function Mt(e) {
|
|
|
691
691
|
function Me(e) {
|
|
692
692
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
693
693
|
}
|
|
694
|
-
var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
694
|
+
var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
695
695
|
function Wr(e) {
|
|
696
696
|
var t = {};
|
|
697
|
-
return e.replace(
|
|
697
|
+
return e.replace(zr, function(r) {
|
|
698
698
|
var n = r.length;
|
|
699
699
|
switch (r[0]) {
|
|
700
700
|
case "G":
|
|
@@ -905,13 +905,13 @@ function Kr(e) {
|
|
|
905
905
|
t.notation = "compact", t.compactDisplay = "long";
|
|
906
906
|
continue;
|
|
907
907
|
case "scientific":
|
|
908
|
-
t =
|
|
909
|
-
return
|
|
908
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
909
|
+
return x(x({}, h), ut(a));
|
|
910
910
|
}, {}));
|
|
911
911
|
continue;
|
|
912
912
|
case "engineering":
|
|
913
|
-
t =
|
|
914
|
-
return
|
|
913
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
914
|
+
return x(x({}, h), ut(a));
|
|
915
915
|
}, {}));
|
|
916
916
|
continue;
|
|
917
917
|
case "notation-simple":
|
|
@@ -980,17 +980,17 @@ function Kr(e) {
|
|
|
980
980
|
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
981
981
|
});
|
|
982
982
|
var s = i.options[0];
|
|
983
|
-
s === "w" ? t =
|
|
983
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), at(s)));
|
|
984
984
|
continue;
|
|
985
985
|
}
|
|
986
986
|
if (Rt.test(i.stem)) {
|
|
987
|
-
t =
|
|
987
|
+
t = x(x({}, t), at(i.stem));
|
|
988
988
|
continue;
|
|
989
989
|
}
|
|
990
990
|
var o = Gt(i.stem);
|
|
991
|
-
o && (t =
|
|
991
|
+
o && (t = x(x({}, t), o));
|
|
992
992
|
var u = Yr(i.stem);
|
|
993
|
-
u && (t =
|
|
993
|
+
u && (t = x(x({}, t), u));
|
|
994
994
|
}
|
|
995
995
|
return t;
|
|
996
996
|
}
|
|
@@ -2441,7 +2441,7 @@ function tn(e) {
|
|
|
2441
2441
|
return i[0];
|
|
2442
2442
|
}
|
|
2443
2443
|
var Ae, rn = new RegExp("^".concat($t.source, "*")), nn = new RegExp("".concat($t.source, "*$"));
|
|
2444
|
-
function
|
|
2444
|
+
function E(e, t) {
|
|
2445
2445
|
return { start: e, end: t };
|
|
2446
2446
|
}
|
|
2447
2447
|
var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, cn = fn ? Number.isSafeInteger : function(e) {
|
|
@@ -2538,7 +2538,7 @@ if ($e) {
|
|
|
2538
2538
|
Ue = function(t, r) {
|
|
2539
2539
|
for (var n = []; ; ) {
|
|
2540
2540
|
var i = Dt(t, r);
|
|
2541
|
-
if (i === void 0 || jt(i) ||
|
|
2541
|
+
if (i === void 0 || jt(i) || En(i))
|
|
2542
2542
|
break;
|
|
2543
2543
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2544
2544
|
}
|
|
@@ -2568,13 +2568,13 @@ var dn = (
|
|
|
2568
2568
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2569
2569
|
var u = this.clonePosition();
|
|
2570
2570
|
this.bump(), i.push({
|
|
2571
|
-
type:
|
|
2572
|
-
location:
|
|
2571
|
+
type: T.pound,
|
|
2572
|
+
location: E(u, this.clonePosition())
|
|
2573
2573
|
});
|
|
2574
2574
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2575
2575
|
if (n)
|
|
2576
2576
|
break;
|
|
2577
|
-
return this.error(
|
|
2577
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
2578
2578
|
} else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
|
|
2579
2579
|
var o = this.parseTag(t, r);
|
|
2580
2580
|
if (o.err)
|
|
@@ -2596,9 +2596,9 @@ var dn = (
|
|
|
2596
2596
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2597
2597
|
return {
|
|
2598
2598
|
val: {
|
|
2599
|
-
type:
|
|
2599
|
+
type: T.literal,
|
|
2600
2600
|
value: "<".concat(i, "/>"),
|
|
2601
|
-
location:
|
|
2601
|
+
location: E(n, this.clonePosition())
|
|
2602
2602
|
},
|
|
2603
2603
|
err: null
|
|
2604
2604
|
};
|
|
@@ -2609,24 +2609,24 @@ var dn = (
|
|
|
2609
2609
|
var o = s.val, u = this.clonePosition();
|
|
2610
2610
|
if (this.bumpIf("</")) {
|
|
2611
2611
|
if (this.isEOF() || !Ge(this.char()))
|
|
2612
|
-
return this.error(
|
|
2612
|
+
return this.error(y.INVALID_TAG, E(u, this.clonePosition()));
|
|
2613
2613
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2614
|
-
return i !== a ? this.error(
|
|
2614
|
+
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, E(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2615
2615
|
val: {
|
|
2616
|
-
type:
|
|
2616
|
+
type: T.tag,
|
|
2617
2617
|
value: i,
|
|
2618
2618
|
children: o,
|
|
2619
|
-
location:
|
|
2619
|
+
location: E(n, this.clonePosition())
|
|
2620
2620
|
},
|
|
2621
2621
|
err: null
|
|
2622
|
-
} : this.error(
|
|
2622
|
+
} : this.error(y.INVALID_TAG, E(u, this.clonePosition())));
|
|
2623
2623
|
} else
|
|
2624
|
-
return this.error(
|
|
2624
|
+
return this.error(y.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
2625
2625
|
} else
|
|
2626
|
-
return this.error(
|
|
2626
|
+
return this.error(y.INVALID_TAG, E(n, this.clonePosition()));
|
|
2627
2627
|
}, e.prototype.parseTagName = function() {
|
|
2628
2628
|
var t = this.offset();
|
|
2629
|
-
for (this.bump(); !this.isEOF() &&
|
|
2629
|
+
for (this.bump(); !this.isEOF() && yn(this.char()); )
|
|
2630
2630
|
this.bump();
|
|
2631
2631
|
return this.message.slice(t, this.offset());
|
|
2632
2632
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2648,9 +2648,9 @@ var dn = (
|
|
|
2648
2648
|
}
|
|
2649
2649
|
break;
|
|
2650
2650
|
}
|
|
2651
|
-
var h =
|
|
2651
|
+
var h = E(n, this.clonePosition());
|
|
2652
2652
|
return {
|
|
2653
|
-
val: { type:
|
|
2653
|
+
val: { type: T.literal, value: i, location: h },
|
|
2654
2654
|
err: null
|
|
2655
2655
|
};
|
|
2656
2656
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2698,40 +2698,40 @@ var dn = (
|
|
|
2698
2698
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2699
2699
|
var n = this.clonePosition();
|
|
2700
2700
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2701
|
-
return this.error(
|
|
2701
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
2702
2702
|
if (this.char() === 125)
|
|
2703
|
-
return this.bump(), this.error(
|
|
2703
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
2704
2704
|
var i = this.parseIdentifierIfPossible().value;
|
|
2705
2705
|
if (!i)
|
|
2706
|
-
return this.error(
|
|
2706
|
+
return this.error(y.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
2707
2707
|
if (this.bumpSpace(), this.isEOF())
|
|
2708
|
-
return this.error(
|
|
2708
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
2709
2709
|
switch (this.char()) {
|
|
2710
2710
|
case 125:
|
|
2711
2711
|
return this.bump(), {
|
|
2712
2712
|
val: {
|
|
2713
|
-
type:
|
|
2713
|
+
type: T.argument,
|
|
2714
2714
|
// value does not include the opening and closing braces.
|
|
2715
2715
|
value: i,
|
|
2716
|
-
location:
|
|
2716
|
+
location: E(n, this.clonePosition())
|
|
2717
2717
|
},
|
|
2718
2718
|
err: null
|
|
2719
2719
|
};
|
|
2720
2720
|
case 44:
|
|
2721
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2721
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2722
2722
|
default:
|
|
2723
|
-
return this.error(
|
|
2723
|
+
return this.error(y.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
2724
2724
|
}
|
|
2725
2725
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2726
2726
|
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
2727
2727
|
this.bumpTo(i);
|
|
2728
|
-
var s = this.clonePosition(), o =
|
|
2728
|
+
var s = this.clonePosition(), o = E(t, s);
|
|
2729
2729
|
return { value: n, location: o };
|
|
2730
2730
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2731
2731
|
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2732
2732
|
switch (u) {
|
|
2733
2733
|
case "":
|
|
2734
|
-
return this.error(
|
|
2734
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, E(o, h));
|
|
2735
2735
|
case "number":
|
|
2736
2736
|
case "date":
|
|
2737
2737
|
case "time": {
|
|
@@ -2744,42 +2744,42 @@ var dn = (
|
|
|
2744
2744
|
return c;
|
|
2745
2745
|
var f = pn(c.val);
|
|
2746
2746
|
if (f.length === 0)
|
|
2747
|
-
return this.error(
|
|
2748
|
-
var d =
|
|
2747
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
2748
|
+
var d = E(l, this.clonePosition());
|
|
2749
2749
|
a = { style: f, styleLocation: d };
|
|
2750
2750
|
}
|
|
2751
2751
|
var p = this.tryParseArgumentClose(i);
|
|
2752
2752
|
if (p.err)
|
|
2753
2753
|
return p;
|
|
2754
|
-
var g =
|
|
2754
|
+
var g = E(i, this.clonePosition());
|
|
2755
2755
|
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2756
|
-
var
|
|
2756
|
+
var _ = mn(a.style.slice(2));
|
|
2757
2757
|
if (u === "number") {
|
|
2758
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2758
|
+
var c = this.parseNumberSkeletonFromString(_, a.styleLocation);
|
|
2759
2759
|
return c.err ? c : {
|
|
2760
|
-
val: { type:
|
|
2760
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2761
2761
|
err: null
|
|
2762
2762
|
};
|
|
2763
2763
|
} else {
|
|
2764
|
-
if (
|
|
2765
|
-
return this.error(
|
|
2766
|
-
var m =
|
|
2767
|
-
this.locale && (m = en(
|
|
2764
|
+
if (_.length === 0)
|
|
2765
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2766
|
+
var m = _;
|
|
2767
|
+
this.locale && (m = en(_, this.locale));
|
|
2768
2768
|
var f = {
|
|
2769
2769
|
type: J.dateTime,
|
|
2770
2770
|
pattern: m,
|
|
2771
2771
|
location: a.styleLocation,
|
|
2772
2772
|
parsedOptions: this.shouldParseSkeletons ? Wr(m) : {}
|
|
2773
|
-
},
|
|
2773
|
+
}, C = u === "date" ? T.date : T.time;
|
|
2774
2774
|
return {
|
|
2775
|
-
val: { type:
|
|
2775
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2776
2776
|
err: null
|
|
2777
2777
|
};
|
|
2778
2778
|
}
|
|
2779
2779
|
}
|
|
2780
2780
|
return {
|
|
2781
2781
|
val: {
|
|
2782
|
-
type: u === "number" ?
|
|
2782
|
+
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2783
2783
|
value: n,
|
|
2784
2784
|
location: g,
|
|
2785
2785
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
@@ -2790,40 +2790,40 @@ var dn = (
|
|
|
2790
2790
|
case "plural":
|
|
2791
2791
|
case "selectordinal":
|
|
2792
2792
|
case "select": {
|
|
2793
|
-
var
|
|
2793
|
+
var H = this.clonePosition();
|
|
2794
2794
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2795
|
-
return this.error(
|
|
2795
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, x({}, H)));
|
|
2796
2796
|
this.bumpSpace();
|
|
2797
2797
|
var I = this.parseIdentifierIfPossible(), S = 0;
|
|
2798
2798
|
if (u !== "select" && I.value === "offset") {
|
|
2799
2799
|
if (!this.bumpIf(":"))
|
|
2800
|
-
return this.error(
|
|
2800
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
2801
2801
|
this.bumpSpace();
|
|
2802
|
-
var c = this.tryParseDecimalInteger(
|
|
2802
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2803
2803
|
if (c.err)
|
|
2804
2804
|
return c;
|
|
2805
2805
|
this.bumpSpace(), I = this.parseIdentifierIfPossible(), S = c.val;
|
|
2806
2806
|
}
|
|
2807
|
-
var
|
|
2808
|
-
if (
|
|
2809
|
-
return
|
|
2807
|
+
var A = this.tryParsePluralOrSelectOptions(t, u, r, I);
|
|
2808
|
+
if (A.err)
|
|
2809
|
+
return A;
|
|
2810
2810
|
var p = this.tryParseArgumentClose(i);
|
|
2811
2811
|
if (p.err)
|
|
2812
2812
|
return p;
|
|
2813
|
-
var w =
|
|
2813
|
+
var w = E(i, this.clonePosition());
|
|
2814
2814
|
return u === "select" ? {
|
|
2815
2815
|
val: {
|
|
2816
|
-
type:
|
|
2816
|
+
type: T.select,
|
|
2817
2817
|
value: n,
|
|
2818
|
-
options: lt(
|
|
2818
|
+
options: lt(A.val),
|
|
2819
2819
|
location: w
|
|
2820
2820
|
},
|
|
2821
2821
|
err: null
|
|
2822
2822
|
} : {
|
|
2823
2823
|
val: {
|
|
2824
|
-
type:
|
|
2824
|
+
type: T.plural,
|
|
2825
2825
|
value: n,
|
|
2826
|
-
options: lt(
|
|
2826
|
+
options: lt(A.val),
|
|
2827
2827
|
offset: S,
|
|
2828
2828
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2829
2829
|
location: w
|
|
@@ -2832,10 +2832,10 @@ var dn = (
|
|
|
2832
2832
|
};
|
|
2833
2833
|
}
|
|
2834
2834
|
default:
|
|
2835
|
-
return this.error(
|
|
2835
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, E(o, h));
|
|
2836
2836
|
}
|
|
2837
2837
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2838
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2838
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2839
2839
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2840
2840
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2841
2841
|
var n = this.char();
|
|
@@ -2844,7 +2844,7 @@ var dn = (
|
|
|
2844
2844
|
this.bump();
|
|
2845
2845
|
var i = this.clonePosition();
|
|
2846
2846
|
if (!this.bumpUntil("'"))
|
|
2847
|
-
return this.error(
|
|
2847
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
2848
2848
|
this.bump();
|
|
2849
2849
|
break;
|
|
2850
2850
|
}
|
|
@@ -2876,7 +2876,7 @@ var dn = (
|
|
|
2876
2876
|
try {
|
|
2877
2877
|
n = Qr(t);
|
|
2878
2878
|
} catch (i) {
|
|
2879
|
-
return this.error(
|
|
2879
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2880
2880
|
}
|
|
2881
2881
|
return {
|
|
2882
2882
|
val: {
|
|
@@ -2892,19 +2892,19 @@ var dn = (
|
|
|
2892
2892
|
if (a.length === 0) {
|
|
2893
2893
|
var c = this.clonePosition();
|
|
2894
2894
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2895
|
-
var f = this.tryParseDecimalInteger(
|
|
2895
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2896
2896
|
if (f.err)
|
|
2897
2897
|
return f;
|
|
2898
|
-
l =
|
|
2898
|
+
l = E(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2899
2899
|
} else
|
|
2900
2900
|
break;
|
|
2901
2901
|
}
|
|
2902
2902
|
if (h.has(a))
|
|
2903
|
-
return this.error(r === "select" ?
|
|
2903
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2904
2904
|
a === "other" && (o = !0), this.bumpSpace();
|
|
2905
2905
|
var d = this.clonePosition();
|
|
2906
2906
|
if (!this.bumpIf("{"))
|
|
2907
|
-
return this.error(r === "select" ?
|
|
2907
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
2908
2908
|
var p = this.parseMessage(t + 1, r, n);
|
|
2909
2909
|
if (p.err)
|
|
2910
2910
|
return p;
|
|
@@ -2915,11 +2915,11 @@ var dn = (
|
|
|
2915
2915
|
a,
|
|
2916
2916
|
{
|
|
2917
2917
|
value: p.val,
|
|
2918
|
-
location:
|
|
2918
|
+
location: E(d, this.clonePosition())
|
|
2919
2919
|
}
|
|
2920
2920
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
2921
2921
|
}
|
|
2922
|
-
return u.length === 0 ? this.error(r === "select" ?
|
|
2922
|
+
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
2923
2923
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2924
2924
|
var n = 1, i = this.clonePosition();
|
|
2925
2925
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2930,7 +2930,7 @@ var dn = (
|
|
|
2930
2930
|
else
|
|
2931
2931
|
break;
|
|
2932
2932
|
}
|
|
2933
|
-
var h =
|
|
2933
|
+
var h = E(i, this.clonePosition());
|
|
2934
2934
|
return s ? (o *= n, cn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2935
2935
|
}, e.prototype.offset = function() {
|
|
2936
2936
|
return this.position.offset;
|
|
@@ -3003,13 +3003,13 @@ function Ge(e) {
|
|
|
3003
3003
|
function bn(e) {
|
|
3004
3004
|
return Ge(e) || e === 47;
|
|
3005
3005
|
}
|
|
3006
|
-
function
|
|
3006
|
+
function yn(e) {
|
|
3007
3007
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3008
3008
|
}
|
|
3009
3009
|
function jt(e) {
|
|
3010
3010
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3011
3011
|
}
|
|
3012
|
-
function
|
|
3012
|
+
function En(e) {
|
|
3013
3013
|
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;
|
|
3014
3014
|
}
|
|
3015
3015
|
function De(e) {
|
|
@@ -3020,61 +3020,61 @@ function De(e) {
|
|
|
3020
3020
|
else Ot(t) && Mt(t.style) || (Pt(t) || wt(t)) && Me(t.style) ? delete t.style.location : Lt(t) && De(t.children);
|
|
3021
3021
|
});
|
|
3022
3022
|
}
|
|
3023
|
-
function
|
|
3024
|
-
t === void 0 && (t = {}), t =
|
|
3023
|
+
function xn(e, t) {
|
|
3024
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3025
3025
|
var r = new dn(e, t).parse();
|
|
3026
3026
|
if (r.err) {
|
|
3027
|
-
var n = SyntaxError(
|
|
3027
|
+
var n = SyntaxError(y[r.err.kind]);
|
|
3028
3028
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3029
3029
|
}
|
|
3030
3030
|
return t != null && t.captureLocation || De(r.val), r.val;
|
|
3031
3031
|
}
|
|
3032
3032
|
function Be(e, t) {
|
|
3033
|
-
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy :
|
|
3033
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : vn;
|
|
3034
3034
|
return i(e, {
|
|
3035
3035
|
cache: r,
|
|
3036
3036
|
serializer: n
|
|
3037
3037
|
});
|
|
3038
3038
|
}
|
|
3039
|
-
function
|
|
3039
|
+
function _n(e) {
|
|
3040
3040
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3041
3041
|
}
|
|
3042
|
-
function
|
|
3043
|
-
var i =
|
|
3042
|
+
function kt(e, t, r, n) {
|
|
3043
|
+
var i = _n(n) ? n : r(n), s = t.get(i);
|
|
3044
3044
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
3045
3045
|
}
|
|
3046
|
-
function
|
|
3046
|
+
function Vt(e, t, r) {
|
|
3047
3047
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
3048
3048
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
3049
3049
|
}
|
|
3050
|
-
function
|
|
3050
|
+
function Xe(e, t, r, n, i) {
|
|
3051
3051
|
return r.bind(t, e, n, i);
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3054
|
-
var r = e.length === 1 ?
|
|
3055
|
-
return
|
|
3053
|
+
function vn(e, t) {
|
|
3054
|
+
var r = e.length === 1 ? kt : Vt;
|
|
3055
|
+
return Xe(e, this, r, t.cache.create(), t.serializer);
|
|
3056
3056
|
}
|
|
3057
3057
|
function Tn(e, t) {
|
|
3058
|
-
return
|
|
3058
|
+
return Xe(e, this, Vt, t.cache.create(), t.serializer);
|
|
3059
3059
|
}
|
|
3060
3060
|
function Cn(e, t) {
|
|
3061
|
-
return
|
|
3061
|
+
return Xe(e, this, kt, t.cache.create(), t.serializer);
|
|
3062
3062
|
}
|
|
3063
3063
|
var Hn = function() {
|
|
3064
3064
|
return JSON.stringify(arguments);
|
|
3065
3065
|
};
|
|
3066
|
-
function
|
|
3066
|
+
function ze() {
|
|
3067
3067
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3068
3068
|
}
|
|
3069
|
-
|
|
3069
|
+
ze.prototype.get = function(e) {
|
|
3070
3070
|
return this.cache[e];
|
|
3071
3071
|
};
|
|
3072
|
-
|
|
3072
|
+
ze.prototype.set = function(e, t) {
|
|
3073
3073
|
this.cache[e] = t;
|
|
3074
3074
|
};
|
|
3075
3075
|
var An = {
|
|
3076
3076
|
create: function() {
|
|
3077
|
-
return new
|
|
3077
|
+
return new ze();
|
|
3078
3078
|
}
|
|
3079
3079
|
}, Se = {
|
|
3080
3080
|
variadic: Tn,
|
|
@@ -3083,10 +3083,10 @@ var An = {
|
|
|
3083
3083
|
(function(e) {
|
|
3084
3084
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3085
3085
|
})(q || (q = {}));
|
|
3086
|
-
var
|
|
3086
|
+
var xe = (
|
|
3087
3087
|
/** @class */
|
|
3088
3088
|
function(e) {
|
|
3089
|
-
|
|
3089
|
+
Ee(t, e);
|
|
3090
3090
|
function t(r, n, i) {
|
|
3091
3091
|
var s = e.call(this, r) || this;
|
|
3092
3092
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3098,30 +3098,30 @@ var Ee = (
|
|
|
3098
3098
|
), ct = (
|
|
3099
3099
|
/** @class */
|
|
3100
3100
|
function(e) {
|
|
3101
|
-
|
|
3101
|
+
Ee(t, e);
|
|
3102
3102
|
function t(r, n, i, s) {
|
|
3103
3103
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
|
|
3104
3104
|
}
|
|
3105
3105
|
return t;
|
|
3106
|
-
}(
|
|
3106
|
+
}(xe)
|
|
3107
3107
|
), Bn = (
|
|
3108
3108
|
/** @class */
|
|
3109
3109
|
function(e) {
|
|
3110
|
-
|
|
3110
|
+
Ee(t, e);
|
|
3111
3111
|
function t(r, n, i) {
|
|
3112
3112
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3113
3113
|
}
|
|
3114
3114
|
return t;
|
|
3115
|
-
}(
|
|
3115
|
+
}(xe)
|
|
3116
3116
|
), Sn = (
|
|
3117
3117
|
/** @class */
|
|
3118
3118
|
function(e) {
|
|
3119
|
-
|
|
3119
|
+
Ee(t, e);
|
|
3120
3120
|
function t(r, n) {
|
|
3121
3121
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3122
3122
|
}
|
|
3123
3123
|
return t;
|
|
3124
|
-
}(
|
|
3124
|
+
}(xe)
|
|
3125
3125
|
), P;
|
|
3126
3126
|
(function(e) {
|
|
3127
3127
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3152,7 +3152,7 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3152
3152
|
});
|
|
3153
3153
|
continue;
|
|
3154
3154
|
}
|
|
3155
|
-
if (
|
|
3155
|
+
if (Xr(l)) {
|
|
3156
3156
|
typeof s == "number" && u.push({
|
|
3157
3157
|
type: P.literal,
|
|
3158
3158
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3163,7 +3163,7 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3163
3163
|
if (!(i && c in i))
|
|
3164
3164
|
throw new Sn(c, o);
|
|
3165
3165
|
var f = i[c];
|
|
3166
|
-
if (
|
|
3166
|
+
if (Vr(l)) {
|
|
3167
3167
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3168
3168
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3169
3169
|
value: f
|
|
@@ -3195,13 +3195,13 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3195
3195
|
continue;
|
|
3196
3196
|
}
|
|
3197
3197
|
if (Lt(l)) {
|
|
3198
|
-
var p = l.children, g = l.value,
|
|
3199
|
-
if (!Pn(
|
|
3198
|
+
var p = l.children, g = l.value, _ = i[g];
|
|
3199
|
+
if (!Pn(_))
|
|
3200
3200
|
throw new Bn(g, "function", o);
|
|
3201
|
-
var m = ge(p, t, r, n, i, s),
|
|
3201
|
+
var m = ge(p, t, r, n, i, s), C = _(m.map(function(S) {
|
|
3202
3202
|
return S.value;
|
|
3203
3203
|
}));
|
|
3204
|
-
Array.isArray(
|
|
3204
|
+
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
|
|
3205
3205
|
return {
|
|
3206
3206
|
type: typeof S == "string" ? P.literal : P.object,
|
|
3207
3207
|
value: S
|
|
@@ -3209,39 +3209,39 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3209
3209
|
}));
|
|
3210
3210
|
}
|
|
3211
3211
|
if (Nt(l)) {
|
|
3212
|
-
var
|
|
3213
|
-
if (!
|
|
3212
|
+
var H = l.options[f] || l.options.other;
|
|
3213
|
+
if (!H)
|
|
3214
3214
|
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3215
|
-
u.push.apply(u, ge(
|
|
3215
|
+
u.push.apply(u, ge(H.value, t, r, n, i));
|
|
3216
3216
|
continue;
|
|
3217
3217
|
}
|
|
3218
3218
|
if (It(l)) {
|
|
3219
|
-
var
|
|
3220
|
-
if (!
|
|
3219
|
+
var H = l.options["=".concat(f)];
|
|
3220
|
+
if (!H) {
|
|
3221
3221
|
if (!Intl.PluralRules)
|
|
3222
|
-
throw new
|
|
3222
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3223
3223
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3224
3224
|
`, q.MISSING_INTL_API, o);
|
|
3225
3225
|
var I = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3226
|
-
|
|
3226
|
+
H = l.options[I] || l.options.other;
|
|
3227
3227
|
}
|
|
3228
|
-
if (!
|
|
3228
|
+
if (!H)
|
|
3229
3229
|
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3230
|
-
u.push.apply(u, ge(
|
|
3230
|
+
u.push.apply(u, ge(H.value, t, r, n, i, f - (l.offset || 0)));
|
|
3231
3231
|
continue;
|
|
3232
3232
|
}
|
|
3233
3233
|
}
|
|
3234
3234
|
return On(u);
|
|
3235
3235
|
}
|
|
3236
3236
|
function wn(e, t) {
|
|
3237
|
-
return t ?
|
|
3238
|
-
return r[n] =
|
|
3237
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3238
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3239
3239
|
}, {})) : e;
|
|
3240
3240
|
}
|
|
3241
3241
|
function Nn(e, t) {
|
|
3242
3242
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3243
3243
|
return r[n] = wn(e[n], t[n]), r;
|
|
3244
|
-
},
|
|
3244
|
+
}, x({}, e)) : e;
|
|
3245
3245
|
}
|
|
3246
3246
|
function Oe(e) {
|
|
3247
3247
|
return {
|
|
@@ -3320,8 +3320,8 @@ var Ln = (
|
|
|
3320
3320
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3321
3321
|
var o = i || {};
|
|
3322
3322
|
o.formatters;
|
|
3323
|
-
var u =
|
|
3324
|
-
this.ast = e.__parse(t,
|
|
3323
|
+
var u = kr(o, ["formatters"]);
|
|
3324
|
+
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3325
3325
|
} else
|
|
3326
3326
|
this.ast = t;
|
|
3327
3327
|
if (!Array.isArray(this.ast))
|
|
@@ -3339,7 +3339,7 @@ var Ln = (
|
|
|
3339
3339
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3340
3340
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3341
3341
|
}
|
|
3342
|
-
}, e.__parse =
|
|
3342
|
+
}, e.__parse = xn, e.formats = {
|
|
3343
3343
|
number: {
|
|
3344
3344
|
integer: {
|
|
3345
3345
|
maximumFractionDigits: 0
|
|
@@ -3421,12 +3421,12 @@ function Mn(e, t) {
|
|
|
3421
3421
|
n = void 0;
|
|
3422
3422
|
return n;
|
|
3423
3423
|
}
|
|
3424
|
-
const D = {}, $n = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
3424
|
+
const D = {}, $n = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
|
|
3425
3425
|
if (t == null)
|
|
3426
3426
|
return;
|
|
3427
3427
|
if (t in D && e in D[t])
|
|
3428
3428
|
return D[t][e];
|
|
3429
|
-
const r =
|
|
3429
|
+
const r = _e(t);
|
|
3430
3430
|
for (let n = 0; n < r.length; n++) {
|
|
3431
3431
|
const i = r[n], s = Un(i, e);
|
|
3432
3432
|
if (s)
|
|
@@ -3434,15 +3434,15 @@ const D = {}, $n = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
|
|
|
3434
3434
|
}
|
|
3435
3435
|
};
|
|
3436
3436
|
let We;
|
|
3437
|
-
const ue =
|
|
3437
|
+
const ue = ye({});
|
|
3438
3438
|
function Rn(e) {
|
|
3439
3439
|
return We[e] || null;
|
|
3440
3440
|
}
|
|
3441
|
-
function
|
|
3441
|
+
function zt(e) {
|
|
3442
3442
|
return e in We;
|
|
3443
3443
|
}
|
|
3444
3444
|
function Un(e, t) {
|
|
3445
|
-
if (!
|
|
3445
|
+
if (!zt(e))
|
|
3446
3446
|
return null;
|
|
3447
3447
|
const r = Rn(e);
|
|
3448
3448
|
return Mn(r, t);
|
|
@@ -3450,10 +3450,10 @@ function Un(e, t) {
|
|
|
3450
3450
|
function Gn(e) {
|
|
3451
3451
|
if (e == null)
|
|
3452
3452
|
return;
|
|
3453
|
-
const t =
|
|
3453
|
+
const t = _e(e);
|
|
3454
3454
|
for (let r = 0; r < t.length; r++) {
|
|
3455
3455
|
const n = t[r];
|
|
3456
|
-
if (
|
|
3456
|
+
if (zt(n))
|
|
3457
3457
|
return n;
|
|
3458
3458
|
}
|
|
3459
3459
|
}
|
|
@@ -3473,13 +3473,13 @@ function Zt(e) {
|
|
|
3473
3473
|
return me[e];
|
|
3474
3474
|
}
|
|
3475
3475
|
function Fn(e) {
|
|
3476
|
-
return
|
|
3476
|
+
return _e(e).map((t) => {
|
|
3477
3477
|
const r = Zt(t);
|
|
3478
3478
|
return [t, r ? [...r] : []];
|
|
3479
3479
|
}).filter(([, t]) => t.length > 0);
|
|
3480
3480
|
}
|
|
3481
3481
|
function Fe(e) {
|
|
3482
|
-
return e == null ? !1 :
|
|
3482
|
+
return e == null ? !1 : _e(e).some(
|
|
3483
3483
|
(t) => {
|
|
3484
3484
|
var r;
|
|
3485
3485
|
return (r = Zt(t)) == null ? void 0 : r.size;
|
|
@@ -3506,7 +3506,7 @@ function Qt(e) {
|
|
|
3506
3506
|
delete ne[e];
|
|
3507
3507
|
}), ne[e];
|
|
3508
3508
|
}
|
|
3509
|
-
const
|
|
3509
|
+
const kn = {
|
|
3510
3510
|
number: {
|
|
3511
3511
|
scientific: { notation: "scientific" },
|
|
3512
3512
|
engineering: { notation: "engineering" },
|
|
@@ -3535,19 +3535,19 @@ const zn = {
|
|
|
3535
3535
|
timeZoneName: "short"
|
|
3536
3536
|
}
|
|
3537
3537
|
}
|
|
3538
|
-
},
|
|
3538
|
+
}, Vn = {
|
|
3539
3539
|
fallbackLocale: null,
|
|
3540
3540
|
loadingDelay: 200,
|
|
3541
|
-
formats:
|
|
3541
|
+
formats: kn,
|
|
3542
3542
|
warnOnMissingMessages: !0,
|
|
3543
3543
|
handleMissingMessage: void 0,
|
|
3544
3544
|
ignoreTag: !0
|
|
3545
|
-
},
|
|
3545
|
+
}, Xn = Vn;
|
|
3546
3546
|
function Y() {
|
|
3547
|
-
return
|
|
3547
|
+
return Xn;
|
|
3548
3548
|
}
|
|
3549
|
-
const Pe =
|
|
3550
|
-
var
|
|
3549
|
+
const Pe = ye(!1);
|
|
3550
|
+
var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
|
|
3551
3551
|
for (var r in t || (t = {}))
|
|
3552
3552
|
Qn.call(t, r) && mt(e, r, t[r]);
|
|
3553
3553
|
if (gt)
|
|
@@ -3556,15 +3556,15 @@ var Xn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwn
|
|
|
3556
3556
|
return e;
|
|
3557
3557
|
}, Yn = (e, t) => Wn(e, Zn(t));
|
|
3558
3558
|
let je;
|
|
3559
|
-
const de =
|
|
3559
|
+
const de = ye(null);
|
|
3560
3560
|
function pt(e) {
|
|
3561
3561
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3562
3562
|
}
|
|
3563
|
-
function
|
|
3563
|
+
function _e(e, t = Y().fallbackLocale) {
|
|
3564
3564
|
const r = pt(e);
|
|
3565
3565
|
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
3566
3566
|
}
|
|
3567
|
-
function
|
|
3567
|
+
function V() {
|
|
3568
3568
|
return je != null ? je : void 0;
|
|
3569
3569
|
}
|
|
3570
3570
|
de.subscribe((e) => {
|
|
@@ -3574,7 +3574,7 @@ const Kn = (e) => {
|
|
|
3574
3574
|
if (e && Gn(e) && Fe(e)) {
|
|
3575
3575
|
const { loadingDelay: t } = Y();
|
|
3576
3576
|
let r;
|
|
3577
|
-
return typeof window != "undefined" &&
|
|
3577
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3578
3578
|
() => Pe.set(!0),
|
|
3579
3579
|
t
|
|
3580
3580
|
) : Pe.set(!0), Qt(e).then(() => {
|
|
@@ -3586,7 +3586,7 @@ const Kn = (e) => {
|
|
|
3586
3586
|
return de.set(e);
|
|
3587
3587
|
}, te = Yn(qn({}, de), {
|
|
3588
3588
|
set: Kn
|
|
3589
|
-
}),
|
|
3589
|
+
}), ve = (e) => {
|
|
3590
3590
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3591
3591
|
return (n) => {
|
|
3592
3592
|
const i = JSON.stringify(n);
|
|
@@ -3614,21 +3614,21 @@ const oe = (e, t) => {
|
|
|
3614
3614
|
if (e in r && t in r[e])
|
|
3615
3615
|
return r[e][t];
|
|
3616
3616
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3617
|
-
}, ti =
|
|
3617
|
+
}, ti = ve(
|
|
3618
3618
|
(e) => {
|
|
3619
3619
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3620
3620
|
if (r == null)
|
|
3621
3621
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3622
3622
|
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
3623
3623
|
}
|
|
3624
|
-
), ri =
|
|
3624
|
+
), ri = ve(
|
|
3625
3625
|
(e) => {
|
|
3626
3626
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3627
3627
|
if (r == null)
|
|
3628
3628
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3629
3629
|
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3630
3630
|
}
|
|
3631
|
-
), ni =
|
|
3631
|
+
), ni = ve(
|
|
3632
3632
|
(e) => {
|
|
3633
3633
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3634
3634
|
if (r == null)
|
|
@@ -3639,28 +3639,28 @@ const oe = (e, t) => {
|
|
|
3639
3639
|
}
|
|
3640
3640
|
), ii = (e = {}) => {
|
|
3641
3641
|
var t = e, {
|
|
3642
|
-
locale: r =
|
|
3642
|
+
locale: r = V()
|
|
3643
3643
|
} = t, n = re(t, [
|
|
3644
3644
|
"locale"
|
|
3645
3645
|
]);
|
|
3646
3646
|
return ti(Ze({ locale: r }, n));
|
|
3647
3647
|
}, si = (e = {}) => {
|
|
3648
3648
|
var t = e, {
|
|
3649
|
-
locale: r =
|
|
3649
|
+
locale: r = V()
|
|
3650
3650
|
} = t, n = re(t, [
|
|
3651
3651
|
"locale"
|
|
3652
3652
|
]);
|
|
3653
3653
|
return ri(Ze({ locale: r }, n));
|
|
3654
3654
|
}, oi = (e = {}) => {
|
|
3655
3655
|
var t = e, {
|
|
3656
|
-
locale: r =
|
|
3656
|
+
locale: r = V()
|
|
3657
3657
|
} = t, n = re(t, [
|
|
3658
3658
|
"locale"
|
|
3659
3659
|
]);
|
|
3660
3660
|
return ni(Ze({ locale: r }, n));
|
|
3661
|
-
}, ai =
|
|
3661
|
+
}, ai = ve(
|
|
3662
3662
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3663
|
-
(e, t =
|
|
3663
|
+
(e, t = V()) => new Ln(e, t, Y().formats, {
|
|
3664
3664
|
ignoreTag: Y().ignoreTag
|
|
3665
3665
|
})
|
|
3666
3666
|
), ui = (e, t = {}) => {
|
|
@@ -3669,14 +3669,14 @@ const oe = (e, t) => {
|
|
|
3669
3669
|
typeof e == "object" && (o = e, e = o.id);
|
|
3670
3670
|
const {
|
|
3671
3671
|
values: u,
|
|
3672
|
-
locale: h =
|
|
3672
|
+
locale: h = V(),
|
|
3673
3673
|
default: a
|
|
3674
3674
|
} = o;
|
|
3675
3675
|
if (h == null)
|
|
3676
3676
|
throw new Error(
|
|
3677
3677
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3678
3678
|
);
|
|
3679
|
-
let l =
|
|
3679
|
+
let l = Xt(e, h);
|
|
3680
3680
|
if (!l)
|
|
3681
3681
|
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3682
3682
|
else if (typeof l != "string")
|
|
@@ -3695,7 +3695,7 @@ const oe = (e, t) => {
|
|
|
3695
3695
|
);
|
|
3696
3696
|
}
|
|
3697
3697
|
return c;
|
|
3698
|
-
}, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t =
|
|
3698
|
+
}, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = V()) => Xt(e, t), gi = ee([te, ue], () => ui);
|
|
3699
3699
|
ee([te], () => hi);
|
|
3700
3700
|
ee([te], () => li);
|
|
3701
3701
|
ee([te], () => fi);
|
|
@@ -3706,7 +3706,7 @@ function bt(e, t) {
|
|
|
3706
3706
|
function mi(e) {
|
|
3707
3707
|
te.set(e);
|
|
3708
3708
|
}
|
|
3709
|
-
const
|
|
3709
|
+
const yt = {
|
|
3710
3710
|
en: {
|
|
3711
3711
|
topCategories: "Top Categories",
|
|
3712
3712
|
otherCategories: "Other Categories",
|
|
@@ -3811,13 +3811,13 @@ const vt = {
|
|
|
3811
3811
|
}
|
|
3812
3812
|
};
|
|
3813
3813
|
function pi(e) {
|
|
3814
|
-
ur(e, "svelte-
|
|
3814
|
+
ur(e, "svelte-18zp3d", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emfe-w-color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3816
|
+
function Et(e, t, r) {
|
|
3817
3817
|
const n = e.slice();
|
|
3818
3818
|
return n[24] = t[r], n;
|
|
3819
3819
|
}
|
|
3820
|
-
function
|
|
3820
|
+
function xt(e, t, r) {
|
|
3821
3821
|
const n = e.slice();
|
|
3822
3822
|
return n[24] = t[r], n;
|
|
3823
3823
|
}
|
|
@@ -3833,13 +3833,13 @@ function di(e) {
|
|
|
3833
3833
|
e[3]
|
|
3834
3834
|
), f = [];
|
|
3835
3835
|
for (let g = 0; g < c.length; g += 1)
|
|
3836
|
-
f[g] = xt(
|
|
3836
|
+
f[g] = _t(xt(e, c, g));
|
|
3837
3837
|
let d = le(
|
|
3838
3838
|
/*otherCategories*/
|
|
3839
3839
|
e[4]
|
|
3840
3840
|
), p = [];
|
|
3841
3841
|
for (let g = 0; g < d.length; g += 1)
|
|
3842
|
-
p[g] =
|
|
3842
|
+
p[g] = vt(Et(e, d, g));
|
|
3843
3843
|
return {
|
|
3844
3844
|
c() {
|
|
3845
3845
|
t = O("div"), r = O("h4"), i = U(n), s = R();
|
|
@@ -3848,20 +3848,20 @@ function di(e) {
|
|
|
3848
3848
|
o = R(), u = O("h4"), a = U(h), l = R();
|
|
3849
3849
|
for (let g = 0; g < p.length; g += 1)
|
|
3850
3850
|
p[g].c();
|
|
3851
|
-
|
|
3851
|
+
B(r, "class", "CategoryTitle"), B(u, "class", "CategoryTitle"), B(t, "class", "CasinoCategories");
|
|
3852
3852
|
},
|
|
3853
|
-
m(g,
|
|
3854
|
-
K(g, t,
|
|
3853
|
+
m(g, _) {
|
|
3854
|
+
K(g, t, _), v(t, r), v(r, i), v(t, s);
|
|
3855
3855
|
for (let m = 0; m < f.length; m += 1)
|
|
3856
3856
|
f[m] && f[m].m(t, null);
|
|
3857
|
-
|
|
3857
|
+
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
3858
3858
|
for (let m = 0; m < p.length; m += 1)
|
|
3859
3859
|
p[m] && p[m].m(t, null);
|
|
3860
3860
|
},
|
|
3861
|
-
p(g,
|
|
3862
|
-
if (
|
|
3861
|
+
p(g, _) {
|
|
3862
|
+
if (_ & /*$_*/
|
|
3863
3863
|
32 && n !== (n = /*$_*/
|
|
3864
|
-
g[5]("topCategories") + "") && F(i, n),
|
|
3864
|
+
g[5]("topCategories") + "") && F(i, n), _ & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3865
3865
|
105) {
|
|
3866
3866
|
c = le(
|
|
3867
3867
|
/*topCategories*/
|
|
@@ -3869,16 +3869,16 @@ function di(e) {
|
|
|
3869
3869
|
);
|
|
3870
3870
|
let m;
|
|
3871
3871
|
for (m = 0; m < c.length; m += 1) {
|
|
3872
|
-
const
|
|
3873
|
-
f[m] ? f[m].p(
|
|
3872
|
+
const C = xt(g, c, m);
|
|
3873
|
+
f[m] ? f[m].p(C, _) : (f[m] = _t(C), f[m].c(), f[m].m(t, o));
|
|
3874
3874
|
}
|
|
3875
3875
|
for (; m < f.length; m += 1)
|
|
3876
3876
|
f[m].d(1);
|
|
3877
3877
|
f.length = c.length;
|
|
3878
3878
|
}
|
|
3879
|
-
if (
|
|
3879
|
+
if (_ & /*$_*/
|
|
3880
3880
|
32 && h !== (h = /*$_*/
|
|
3881
|
-
g[5]("otherCategories") + "") && F(a, h),
|
|
3881
|
+
g[5]("otherCategories") + "") && F(a, h), _ & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3882
3882
|
113) {
|
|
3883
3883
|
d = le(
|
|
3884
3884
|
/*otherCategories*/
|
|
@@ -3886,8 +3886,8 @@ function di(e) {
|
|
|
3886
3886
|
);
|
|
3887
3887
|
let m;
|
|
3888
3888
|
for (m = 0; m < d.length; m += 1) {
|
|
3889
|
-
const
|
|
3890
|
-
p[m] ? p[m].p(
|
|
3889
|
+
const C = Et(g, d, m);
|
|
3890
|
+
p[m] ? p[m].p(C, _) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
|
|
3891
3891
|
}
|
|
3892
3892
|
for (; m < p.length; m += 1)
|
|
3893
3893
|
p[m].d(1);
|
|
@@ -3895,7 +3895,7 @@ function di(e) {
|
|
|
3895
3895
|
}
|
|
3896
3896
|
},
|
|
3897
3897
|
d(g) {
|
|
3898
|
-
g &&
|
|
3898
|
+
g && k(t), rt(f, g), rt(p, g);
|
|
3899
3899
|
}
|
|
3900
3900
|
};
|
|
3901
3901
|
}
|
|
@@ -3903,18 +3903,18 @@ function bi(e) {
|
|
|
3903
3903
|
let t;
|
|
3904
3904
|
return {
|
|
3905
3905
|
c() {
|
|
3906
|
-
t = O("p"), t.textContent = "Loading, please wait...",
|
|
3906
|
+
t = O("p"), t.textContent = "Loading, please wait...", B(t, "class", "Message");
|
|
3907
3907
|
},
|
|
3908
3908
|
m(r, n) {
|
|
3909
3909
|
K(r, t, n);
|
|
3910
3910
|
},
|
|
3911
3911
|
p: M,
|
|
3912
3912
|
d(r) {
|
|
3913
|
-
r &&
|
|
3913
|
+
r && k(t);
|
|
3914
3914
|
}
|
|
3915
3915
|
};
|
|
3916
3916
|
}
|
|
3917
|
-
function
|
|
3917
|
+
function _t(e) {
|
|
3918
3918
|
let t, r, n, i, s, o, u, h = (
|
|
3919
3919
|
/*category*/
|
|
3920
3920
|
e[24].name + ""
|
|
@@ -3924,7 +3924,7 @@ function xt(e) {
|
|
|
3924
3924
|
), d, p, g = (
|
|
3925
3925
|
/*$_*/
|
|
3926
3926
|
e[5]("games") + ""
|
|
3927
|
-
),
|
|
3927
|
+
), _, m, C, H;
|
|
3928
3928
|
function I() {
|
|
3929
3929
|
return (
|
|
3930
3930
|
/*click_handler*/
|
|
@@ -3936,37 +3936,37 @@ function xt(e) {
|
|
|
3936
3936
|
}
|
|
3937
3937
|
return {
|
|
3938
3938
|
c() {
|
|
3939
|
-
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(),
|
|
3940
|
-
e[24].icon) ||
|
|
3941
|
-
e[24].name),
|
|
3939
|
+
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(), _ = U(g), pe(r.src, n = /*category*/
|
|
3940
|
+
e[24].icon) || B(r, "src", n), B(r, "alt", i = /*category*/
|
|
3941
|
+
e[24].name), B(r, "class", "CategoryImage"), B(o, "class", "CategoryTextContainer"), B(t, "class", m = "Category " + /*activecategory*/
|
|
3942
3942
|
(e[0] === /*category*/
|
|
3943
|
-
e[24].id ? "Active" : "")
|
|
3943
|
+
e[24].id ? "Active" : ""));
|
|
3944
3944
|
},
|
|
3945
|
-
m(S,
|
|
3946
|
-
K(S, t,
|
|
3945
|
+
m(S, A) {
|
|
3946
|
+
K(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, _), C || (H = At(t, "click", I), C = !0);
|
|
3947
3947
|
},
|
|
3948
|
-
p(S,
|
|
3949
|
-
e = S,
|
|
3948
|
+
p(S, A) {
|
|
3949
|
+
e = S, A & /*topCategories*/
|
|
3950
3950
|
8 && !pe(r.src, n = /*category*/
|
|
3951
|
-
e[24].icon) &&
|
|
3951
|
+
e[24].icon) && B(r, "src", n), A & /*topCategories*/
|
|
3952
3952
|
8 && i !== (i = /*category*/
|
|
3953
|
-
e[24].name) &&
|
|
3953
|
+
e[24].name) && B(r, "alt", i), A & /*topCategories*/
|
|
3954
3954
|
8 && h !== (h = /*category*/
|
|
3955
|
-
e[24].name + "") && F(a, h),
|
|
3955
|
+
e[24].name + "") && F(a, h), A & /*topCategories*/
|
|
3956
3956
|
8 && f !== (f = /*category*/
|
|
3957
|
-
e[24].games.count + "") && F(d, f),
|
|
3957
|
+
e[24].games.count + "") && F(d, f), A & /*$_*/
|
|
3958
3958
|
32 && g !== (g = /*$_*/
|
|
3959
|
-
e[5]("games") + "") && F(
|
|
3959
|
+
e[5]("games") + "") && F(_, g), A & /*activecategory, topCategories*/
|
|
3960
3960
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
3961
3961
|
(e[0] === /*category*/
|
|
3962
|
-
e[24].id ? "Active" : "")
|
|
3962
|
+
e[24].id ? "Active" : "")) && B(t, "class", m);
|
|
3963
3963
|
},
|
|
3964
3964
|
d(S) {
|
|
3965
|
-
S &&
|
|
3965
|
+
S && k(t), C = !1, H();
|
|
3966
3966
|
}
|
|
3967
3967
|
};
|
|
3968
3968
|
}
|
|
3969
|
-
function
|
|
3969
|
+
function vt(e) {
|
|
3970
3970
|
let t, r, n, i, s, o, u, h = (
|
|
3971
3971
|
/*category*/
|
|
3972
3972
|
e[24].name + ""
|
|
@@ -3976,7 +3976,7 @@ function _t(e) {
|
|
|
3976
3976
|
), d, p, g = (
|
|
3977
3977
|
/*$_*/
|
|
3978
3978
|
e[5]("games") + ""
|
|
3979
|
-
),
|
|
3979
|
+
), _, m, C, H, I;
|
|
3980
3980
|
function S() {
|
|
3981
3981
|
return (
|
|
3982
3982
|
/*click_handler_1*/
|
|
@@ -3988,37 +3988,37 @@ function _t(e) {
|
|
|
3988
3988
|
}
|
|
3989
3989
|
return {
|
|
3990
3990
|
c() {
|
|
3991
|
-
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(),
|
|
3992
|
-
e[24].icon) ||
|
|
3993
|
-
e[24].name),
|
|
3991
|
+
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(), _ = U(g), m = R(), pe(r.src, n = /*category*/
|
|
3992
|
+
e[24].icon) || B(r, "src", n), B(r, "alt", i = /*category*/
|
|
3993
|
+
e[24].name), B(r, "class", "CategoryImage"), B(o, "class", "CategoryTextContainer"), B(t, "class", C = "Category " + /*activecategory*/
|
|
3994
3994
|
(e[0] === /*category*/
|
|
3995
|
-
e[24].id ? "Active" : "")
|
|
3995
|
+
e[24].id ? "Active" : ""));
|
|
3996
3996
|
},
|
|
3997
|
-
m(
|
|
3998
|
-
K(
|
|
3997
|
+
m(A, w) {
|
|
3998
|
+
K(A, t, w), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, _), v(t, m), H || (I = At(t, "click", S), H = !0);
|
|
3999
3999
|
},
|
|
4000
|
-
p(
|
|
4001
|
-
e =
|
|
4000
|
+
p(A, w) {
|
|
4001
|
+
e = A, w & /*otherCategories*/
|
|
4002
4002
|
16 && !pe(r.src, n = /*category*/
|
|
4003
|
-
e[24].icon) &&
|
|
4003
|
+
e[24].icon) && B(r, "src", n), w & /*otherCategories*/
|
|
4004
4004
|
16 && i !== (i = /*category*/
|
|
4005
|
-
e[24].name) &&
|
|
4005
|
+
e[24].name) && B(r, "alt", i), w & /*otherCategories*/
|
|
4006
4006
|
16 && h !== (h = /*category*/
|
|
4007
4007
|
e[24].name + "") && F(a, h), w & /*otherCategories*/
|
|
4008
4008
|
16 && f !== (f = /*category*/
|
|
4009
4009
|
e[24].games.count + "") && F(d, f), w & /*$_*/
|
|
4010
4010
|
32 && g !== (g = /*$_*/
|
|
4011
|
-
e[5]("games") + "") && F(
|
|
4012
|
-
17 &&
|
|
4011
|
+
e[5]("games") + "") && F(_, g), w & /*activecategory, otherCategories*/
|
|
4012
|
+
17 && C !== (C = "Category " + /*activecategory*/
|
|
4013
4013
|
(e[0] === /*category*/
|
|
4014
|
-
e[24].id ? "Active" : "")
|
|
4014
|
+
e[24].id ? "Active" : "")) && B(t, "class", C);
|
|
4015
4015
|
},
|
|
4016
|
-
d(
|
|
4017
|
-
|
|
4016
|
+
d(A) {
|
|
4017
|
+
A && k(t), H = !1, I();
|
|
4018
4018
|
}
|
|
4019
4019
|
};
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4021
|
+
function yi(e) {
|
|
4022
4022
|
let t;
|
|
4023
4023
|
function r(s, o) {
|
|
4024
4024
|
return (
|
|
@@ -4029,7 +4029,7 @@ function vi(e) {
|
|
|
4029
4029
|
let n = r(e), i = n(e);
|
|
4030
4030
|
return {
|
|
4031
4031
|
c() {
|
|
4032
|
-
t = O("div"), i.c()
|
|
4032
|
+
t = O("div"), i.c();
|
|
4033
4033
|
},
|
|
4034
4034
|
m(s, o) {
|
|
4035
4035
|
K(s, t, o), i.m(t, null), e[16](t);
|
|
@@ -4040,18 +4040,18 @@ function vi(e) {
|
|
|
4040
4040
|
i: M,
|
|
4041
4041
|
o: M,
|
|
4042
4042
|
d(s) {
|
|
4043
|
-
s &&
|
|
4043
|
+
s && k(t), i.d(), e[16](null);
|
|
4044
4044
|
}
|
|
4045
4045
|
};
|
|
4046
4046
|
}
|
|
4047
|
-
function
|
|
4047
|
+
function Ei(e, t, r) {
|
|
4048
4048
|
let n;
|
|
4049
4049
|
ar(e, gi, (b) => r(5, n = b));
|
|
4050
4050
|
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f, d = !1;
|
|
4051
4051
|
const p = [];
|
|
4052
|
-
let g = [],
|
|
4053
|
-
Object.keys(
|
|
4054
|
-
bt(b,
|
|
4052
|
+
let g = [], _ = [];
|
|
4053
|
+
Object.keys(yt).forEach((b) => {
|
|
4054
|
+
bt(b, yt[b]);
|
|
4055
4055
|
});
|
|
4056
4056
|
const m = () => {
|
|
4057
4057
|
fetch(c).then((N) => N.json()).then((N) => {
|
|
@@ -4061,7 +4061,7 @@ function yi(e, t, r) {
|
|
|
4061
4061
|
}).catch((N) => {
|
|
4062
4062
|
console.log(N);
|
|
4063
4063
|
});
|
|
4064
|
-
},
|
|
4064
|
+
}, C = () => {
|
|
4065
4065
|
r(2, d = !0);
|
|
4066
4066
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4067
4067
|
b.searchParams.append("language", o), fetch(b).then((N) => N.json()).then((N) => {
|
|
@@ -4072,16 +4072,16 @@ function yi(e, t, r) {
|
|
|
4072
4072
|
var Je;
|
|
4073
4073
|
return ((Je = j.flags) == null ? void 0 : Je.indexOf(er)) >= 0;
|
|
4074
4074
|
}));
|
|
4075
|
-
r(3, g = Qe.filter((j) => j.isTopCategory === !0)), r(4,
|
|
4075
|
+
r(3, g = Qe.filter((j) => j.isTopCategory === !0)), r(4, _ = Qe.filter((j) => j.isTopCategory === !1));
|
|
4076
4076
|
});
|
|
4077
|
-
},
|
|
4077
|
+
}, H = (b) => {
|
|
4078
4078
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4079
4079
|
}, I = () => {
|
|
4080
4080
|
mi(o);
|
|
4081
4081
|
}, S = () => {
|
|
4082
4082
|
let b = document.createElement("style");
|
|
4083
4083
|
b.innerHTML = a, f.appendChild(b);
|
|
4084
|
-
},
|
|
4084
|
+
}, A = () => {
|
|
4085
4085
|
let b = new URL(l), N = document.createElement("style");
|
|
4086
4086
|
fetch(b.href).then((G) => G.text()).then((G) => {
|
|
4087
4087
|
N.innerHTML = G, setTimeout(
|
|
@@ -4095,7 +4095,7 @@ function yi(e, t, r) {
|
|
|
4095
4095
|
500
|
|
4096
4096
|
);
|
|
4097
4097
|
});
|
|
4098
|
-
}, w = (b) =>
|
|
4098
|
+
}, w = (b) => H(b.id), Yt = (b) => H(b.id);
|
|
4099
4099
|
function Kt(b) {
|
|
4100
4100
|
we[b ? "unshift" : "push"](() => {
|
|
4101
4101
|
f = b, r(1, f);
|
|
@@ -4105,19 +4105,19 @@ function yi(e, t, r) {
|
|
|
4105
4105
|
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
|
|
4106
4106
|
}, e.$$.update = () => {
|
|
4107
4107
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4108
|
-
384 && i && s &&
|
|
4108
|
+
384 && i && s && C(), e.$$.dirty & /*translationurl*/
|
|
4109
4109
|
8192 && c && m(), e.$$.dirty & /*lang*/
|
|
4110
4110
|
512 && o && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4111
4111
|
2050 && a && f && S(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4112
|
-
4098 && l && f &&
|
|
4112
|
+
4098 && l && f && A();
|
|
4113
4113
|
}, [
|
|
4114
4114
|
u,
|
|
4115
4115
|
f,
|
|
4116
4116
|
d,
|
|
4117
4117
|
g,
|
|
4118
|
-
|
|
4118
|
+
_,
|
|
4119
4119
|
n,
|
|
4120
|
-
|
|
4120
|
+
H,
|
|
4121
4121
|
i,
|
|
4122
4122
|
s,
|
|
4123
4123
|
o,
|
|
@@ -4130,13 +4130,13 @@ function yi(e, t, r) {
|
|
|
4130
4130
|
Kt
|
|
4131
4131
|
];
|
|
4132
4132
|
}
|
|
4133
|
-
class
|
|
4133
|
+
class xi extends Cr {
|
|
4134
4134
|
constructor(t) {
|
|
4135
|
-
super(),
|
|
4135
|
+
super(), vr(
|
|
4136
4136
|
this,
|
|
4137
4137
|
t,
|
|
4138
|
+
Ei,
|
|
4138
4139
|
yi,
|
|
4139
|
-
vi,
|
|
4140
4140
|
Ct,
|
|
4141
4141
|
{
|
|
4142
4142
|
endpoint: 7,
|
|
@@ -4200,7 +4200,7 @@ class Ei extends Cr {
|
|
|
4200
4200
|
this.$$set({ translationurl: t }), $();
|
|
4201
4201
|
}
|
|
4202
4202
|
}
|
|
4203
|
-
Tr(
|
|
4203
|
+
Tr(xi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4204
4204
|
export {
|
|
4205
|
-
|
|
4205
|
+
xi as default
|
|
4206
4206
|
};
|