@everymatrix/casino-my-games-nd 1.59.2 → 1.59.3
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/{CasinoFavoritesSectionNd-BFDZ4HgI.js → CasinoFavoritesSectionNd-BoMKMWg0.js} +529 -531
- package/components/CasinoFavoritesSectionNd-C1m687dG.cjs +16 -0
- package/components/{CasinoFavoritesSectionNd-CbYMbaMi.js → CasinoFavoritesSectionNd-p5Hwkolj.js} +384 -386
- package/components/{CasinoFilter-BgWJC-Hp.js → CasinoFilter-BHt8QSun.js} +358 -379
- package/components/{CasinoFilter-8slwXuCO.js → CasinoFilter-CAjZCQHK.js} +356 -375
- package/components/CasinoFilter-XslRrs9t.cjs +3 -0
- package/components/{CasinoGameThumbnailNd-CDXjiZLH.js → CasinoGameThumbnailNd-CHHptMD0.js} +66 -66
- package/components/{CasinoGameThumbnailNd-BMauX2ir.cjs → CasinoGameThumbnailNd-DpMlb1ir.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-CmIoGl0a.js → CasinoGameThumbnailNd-wO4O8wdj.js} +66 -66
- package/components/{CasinoGamesCategorySectionNd-DEF958iQ.js → CasinoGamesCategorySectionNd-BVx_gYwQ.js} +182 -182
- package/components/{CasinoGamesCategorySectionNd-AwYmU18E.cjs → CasinoGamesCategorySectionNd-DOri6kXO.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-DgiijAro.js → CasinoGamesCategorySectionNd-DwZKBVwJ.js} +137 -137
- package/components/{CasinoLastPlayedSectionNd-BcwGWQ7d.js → CasinoLastPlayedSectionNd-CS2MH_Pe.js} +30 -30
- package/components/{CasinoLastPlayedSectionNd-qLUtOdSD.cjs → CasinoLastPlayedSectionNd-CnlYF-d5.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DxdiJpSs.js → CasinoLastPlayedSectionNd-Css2W3oB.js} +30 -30
- package/components/{CasinoMostPlayedSectionNd-DjTw17ZX.cjs → CasinoMostPlayedSectionNd-Bc26ho8w.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DpruDE91.js → CasinoMostPlayedSectionNd-WEZ8hMor.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-EWA818ki.js → CasinoMostPlayedSectionNd-egr3zNPt.js} +46 -46
- package/components/{CasinoMyGamesNd-ataF6pLW.js → CasinoMyGamesNd-CnPycMjJ.js} +53 -53
- package/components/{CasinoMyGamesNd-CgIlyUFb.cjs → CasinoMyGamesNd-DTtrRMik.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CNKt1hkH.js → CasinoMyGamesNd-DfAJV7js.js} +50 -50
- package/components/{CasinoSort-j87emV3s.js → CasinoSort-BN-t1KaP.js} +100 -99
- package/components/{CasinoSort-BHISBgQL.js → CasinoSort-Cn77W13m.js} +108 -109
- package/components/{CasinoSort-CUQbfeP8.cjs → CasinoSort-D9NQYMlQ.cjs} +1 -1
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +2 -2
- package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
- package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
- package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
- package/components/CasinoFavoritesSectionNd-MW_dUY5O.cjs +0 -16
- package/components/CasinoFilter-DzCslFN-.cjs +0 -3
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
package/components/{CasinoFavoritesSectionNd-BFDZ4HgI.js → CasinoFavoritesSectionNd-BoMKMWg0.js}
RENAMED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ye = (e, t, n) => t in e ?
|
|
1
|
+
var Dt = Object.defineProperty, Gt = Object.defineProperties;
|
|
2
|
+
var Ft = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Fe = Object.getOwnPropertySymbols;
|
|
4
|
+
var jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ye = (e, t, n) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, je = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
jt.call(t, n) && ye(e, n, t[n]);
|
|
8
|
+
if (Fe)
|
|
9
|
+
for (var n of Fe(t))
|
|
10
|
+
kt.call(t, n) && ye(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, ke = (e, t) => Gt(e, Ft(t));
|
|
13
13
|
var S = (e, t, n) => (ye(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
-
var
|
|
14
|
+
var Ve = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
u(n.next(l));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (a) {
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
u(n.throw(l));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (a) {
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, u = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s,
|
|
27
|
+
}, u = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, o);
|
|
28
28
|
u((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function at(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Xe() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(at);
|
|
40
40
|
}
|
|
41
41
|
function fe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ut(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let ie;
|
|
48
|
-
function
|
|
48
|
+
function ai(e, t) {
|
|
49
49
|
return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Vt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ht(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const r of t)
|
|
57
57
|
r(void 0);
|
|
@@ -60,23 +60,23 @@ function ft(e, ...t) {
|
|
|
60
60
|
const n = e.subscribe(...t);
|
|
61
61
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function ui(e, t, n) {
|
|
64
|
+
e.$$.on_destroy.push(ht(t, n));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function hi(e) {
|
|
67
67
|
return e && fe(e.destroy) ? e.destroy : N;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Xt(e, t) {
|
|
70
70
|
e.appendChild(t);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
const r =
|
|
72
|
+
function zt(e, t, n) {
|
|
73
|
+
const r = Wt(e);
|
|
74
74
|
if (!r.getElementById(t)) {
|
|
75
75
|
const i = ne("style");
|
|
76
|
-
i.id = t, i.textContent = n,
|
|
76
|
+
i.id = t, i.textContent = n, Zt(r, i);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Wt(e) {
|
|
80
80
|
if (!e)
|
|
81
81
|
return document;
|
|
82
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -86,8 +86,8 @@ function Qt(e) {
|
|
|
86
86
|
t
|
|
87
87
|
) : e.ownerDocument;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function Zt(e, t) {
|
|
90
|
+
return Xt(
|
|
91
91
|
/** @type {Document} */
|
|
92
92
|
e.head || e,
|
|
93
93
|
t
|
|
@@ -99,26 +99,26 @@ function ce(e, t, n) {
|
|
|
99
99
|
function te(e) {
|
|
100
100
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function li(e, t) {
|
|
103
103
|
for (let n = 0; n < e.length; n += 1)
|
|
104
104
|
e[n] && e[n].d(t);
|
|
105
105
|
}
|
|
106
106
|
function ne(e) {
|
|
107
107
|
return document.createElement(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Qt(e) {
|
|
110
110
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function lt(e) {
|
|
113
113
|
return document.createTextNode(e);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function fi() {
|
|
116
|
+
return lt(" ");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
118
|
+
function ci() {
|
|
119
|
+
return lt("");
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function mi(e, t, n, r) {
|
|
122
122
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
123
123
|
}
|
|
124
124
|
function Ue(e, t, n) {
|
|
@@ -128,23 +128,23 @@ function g(e, t, n) {
|
|
|
128
128
|
const r = t.toLowerCase();
|
|
129
129
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function qt(e) {
|
|
132
132
|
return Array.from(e.childNodes);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function gi(e, t) {
|
|
135
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
136
|
t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function di(e, t) {
|
|
139
139
|
e.value = t == null ? "" : t;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function bi(e, t, n, r) {
|
|
142
142
|
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function pi(e, t, n) {
|
|
145
145
|
e.classList.toggle(t, !!n);
|
|
146
146
|
}
|
|
147
|
-
class
|
|
147
|
+
class yi {
|
|
148
148
|
constructor(t = !1) {
|
|
149
149
|
/**
|
|
150
150
|
* @private
|
|
@@ -175,7 +175,7 @@ class Ei {
|
|
|
175
175
|
* @returns {void}
|
|
176
176
|
*/
|
|
177
177
|
m(t, n, r = null) {
|
|
178
|
-
this.e || (this.is_svg ? this.e =
|
|
178
|
+
this.e || (this.is_svg ? this.e = Qt(
|
|
179
179
|
/** @type {keyof SVGElementTagNameMap} */
|
|
180
180
|
n.nodeName
|
|
181
181
|
) : this.e = ne(
|
|
@@ -214,7 +214,7 @@ class Ei {
|
|
|
214
214
|
this.n.forEach(te);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Jt(e) {
|
|
218
218
|
const t = {};
|
|
219
219
|
return e.childNodes.forEach(
|
|
220
220
|
/** @param {Element} node */
|
|
@@ -227,23 +227,23 @@ let Y;
|
|
|
227
227
|
function J(e) {
|
|
228
228
|
Y = e;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Yt() {
|
|
231
231
|
if (!Y)
|
|
232
232
|
throw new Error("Function called outside component initialization");
|
|
233
233
|
return Y;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
235
|
+
function Kt(e) {
|
|
236
|
+
Yt().$$.on_mount.push(e);
|
|
237
237
|
}
|
|
238
238
|
const G = [], Be = [];
|
|
239
239
|
let F = [];
|
|
240
|
-
const
|
|
240
|
+
const ze = [], ft = /* @__PURE__ */ Promise.resolve();
|
|
241
241
|
let Ae = !1;
|
|
242
|
-
function
|
|
243
|
-
Ae || (Ae = !0,
|
|
242
|
+
function ct() {
|
|
243
|
+
Ae || (Ae = !0, ft.then(H));
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
return
|
|
245
|
+
function Ei() {
|
|
246
|
+
return ct(), ft;
|
|
247
247
|
}
|
|
248
248
|
function we(e) {
|
|
249
249
|
F.push(e);
|
|
@@ -258,7 +258,7 @@ function H() {
|
|
|
258
258
|
try {
|
|
259
259
|
for (; U < G.length; ) {
|
|
260
260
|
const t = G[U];
|
|
261
|
-
U++, J(t),
|
|
261
|
+
U++, J(t), en(t.$$);
|
|
262
262
|
}
|
|
263
263
|
} catch (t) {
|
|
264
264
|
throw G.length = 0, U = 0, t;
|
|
@@ -271,32 +271,32 @@ function H() {
|
|
|
271
271
|
}
|
|
272
272
|
F.length = 0;
|
|
273
273
|
} while (G.length);
|
|
274
|
-
for (;
|
|
275
|
-
|
|
274
|
+
for (; ze.length; )
|
|
275
|
+
ze.pop()();
|
|
276
276
|
Ae = !1, Ee.clear(), J(e);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function en(e) {
|
|
279
279
|
if (e.fragment !== null) {
|
|
280
280
|
e.update(), z(e.before_update);
|
|
281
281
|
const t = e.dirty;
|
|
282
282
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function tn(e) {
|
|
286
286
|
const t = [], n = [];
|
|
287
287
|
F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
|
|
288
288
|
}
|
|
289
|
-
const
|
|
290
|
-
function
|
|
291
|
-
e && e.i && (
|
|
289
|
+
const nn = /* @__PURE__ */ new Set();
|
|
290
|
+
function mt(e, t) {
|
|
291
|
+
e && e.i && (nn.delete(e), e.i(t));
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function vi(e) {
|
|
294
294
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function _i(e, t) {
|
|
297
297
|
e.d(1), t.delete(e.key);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function xi(e, t, n, r, i, s, o, u, l, a, h, m) {
|
|
300
300
|
let f = e.length, b = s.length, y = f;
|
|
301
301
|
const _ = {};
|
|
302
302
|
for (; y--; )
|
|
@@ -304,50 +304,50 @@ function Hi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
304
304
|
const T = [], P = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), B = [];
|
|
305
305
|
for (y = b; y--; ) {
|
|
306
306
|
const c = m(i, s, y), L = n(c);
|
|
307
|
-
let C =
|
|
308
|
-
C ? B.push(() => C.p(c, t)) : (C =
|
|
307
|
+
let C = o.get(L);
|
|
308
|
+
C ? B.push(() => C.p(c, t)) : (C = a(L, c), C.c()), P.set(L, T[y] = C), L in _ && w.set(L, Math.abs(y - _[L]));
|
|
309
309
|
}
|
|
310
310
|
const O = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
311
311
|
function I(c) {
|
|
312
|
-
|
|
312
|
+
mt(c, 1), c.m(u, h), o.set(c.key, c), h = c.first, b--;
|
|
313
313
|
}
|
|
314
314
|
for (; f && b; ) {
|
|
315
315
|
const c = T[b - 1], L = e[f - 1], C = c.key, re = L.key;
|
|
316
|
-
c === L ? (h = c.first, f--, b--) : P.has(re) ? !
|
|
316
|
+
c === L ? (h = c.first, f--, b--) : P.has(re) ? !o.has(C) || O.has(C) ? I(c) : x.has(re) ? f-- : w.get(C) > w.get(re) ? (x.add(C), I(c)) : (O.add(re), f--) : (l(L, o), f--);
|
|
317
317
|
}
|
|
318
318
|
for (; f--; ) {
|
|
319
319
|
const c = e[f];
|
|
320
|
-
P.has(c.key) || l(c,
|
|
320
|
+
P.has(c.key) || l(c, o);
|
|
321
321
|
}
|
|
322
322
|
for (; b; )
|
|
323
323
|
I(T[b - 1]);
|
|
324
324
|
return z(B), T;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function rn(e, t, n) {
|
|
327
327
|
const { fragment: r, after_update: i } = e.$$;
|
|
328
328
|
r && r.m(t, n), we(() => {
|
|
329
|
-
const s = e.$$.on_mount.map(
|
|
329
|
+
const s = e.$$.on_mount.map(at).filter(fe);
|
|
330
330
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
331
331
|
}), i.forEach(we);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function sn(e, t) {
|
|
334
334
|
const n = e.$$;
|
|
335
|
-
n.fragment !== null && (
|
|
335
|
+
n.fragment !== null && (tn(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
|
337
|
+
function on(e, t) {
|
|
338
|
+
e.$$.dirty[0] === -1 && (G.push(e), ct(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function an(e, t, n, r, i, s, o = null, u = [-1]) {
|
|
341
341
|
const l = Y;
|
|
342
342
|
J(e);
|
|
343
|
-
const
|
|
343
|
+
const a = e.$$ = {
|
|
344
344
|
fragment: null,
|
|
345
345
|
ctx: [],
|
|
346
346
|
// state
|
|
347
347
|
props: s,
|
|
348
348
|
update: N,
|
|
349
349
|
not_equal: i,
|
|
350
|
-
bound:
|
|
350
|
+
bound: Xe(),
|
|
351
351
|
// lifecycle
|
|
352
352
|
on_mount: [],
|
|
353
353
|
on_destroy: [],
|
|
@@ -356,28 +356,28 @@ function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
356
356
|
after_update: [],
|
|
357
357
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
358
358
|
// everything else
|
|
359
|
-
callbacks:
|
|
359
|
+
callbacks: Xe(),
|
|
360
360
|
dirty: u,
|
|
361
361
|
skip_bound: !1,
|
|
362
362
|
root: t.target || l.$$.root
|
|
363
363
|
};
|
|
364
|
-
|
|
364
|
+
o && o(a.root);
|
|
365
365
|
let h = !1;
|
|
366
|
-
if (
|
|
366
|
+
if (a.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
|
|
367
367
|
const y = b.length ? b[0] : f;
|
|
368
|
-
return
|
|
369
|
-
}) : [],
|
|
368
|
+
return a.ctx && i(a.ctx[m], a.ctx[m] = y) && (!a.skip_bound && a.bound[m] && a.bound[m](y), h && on(e, m)), f;
|
|
369
|
+
}) : [], a.update(), h = !0, z(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
370
370
|
if (t.hydrate) {
|
|
371
|
-
const m =
|
|
372
|
-
|
|
371
|
+
const m = qt(t.target);
|
|
372
|
+
a.fragment && a.fragment.l(m), m.forEach(te);
|
|
373
373
|
} else
|
|
374
|
-
|
|
375
|
-
t.intro &&
|
|
374
|
+
a.fragment && a.fragment.c();
|
|
375
|
+
t.intro && mt(e.$$.fragment), rn(e, t.target, t.anchor), H();
|
|
376
376
|
}
|
|
377
377
|
J(l);
|
|
378
378
|
}
|
|
379
|
-
let
|
|
380
|
-
typeof HTMLElement == "function" && (
|
|
379
|
+
let gt;
|
|
380
|
+
typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
381
381
|
constructor(t, n, r) {
|
|
382
382
|
super();
|
|
383
383
|
/** The Svelte component constructor */
|
|
@@ -414,42 +414,42 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
connectedCallback() {
|
|
417
|
-
return
|
|
417
|
+
return Ve(this, null, function* () {
|
|
418
418
|
if (this.$$cn = !0, !this.$$c) {
|
|
419
419
|
let t = function(s) {
|
|
420
420
|
return () => {
|
|
421
|
-
let
|
|
421
|
+
let o;
|
|
422
422
|
return {
|
|
423
423
|
c: function() {
|
|
424
|
-
|
|
424
|
+
o = ne("slot"), s !== "default" && Ue(o, "name", s);
|
|
425
425
|
},
|
|
426
426
|
/**
|
|
427
427
|
* @param {HTMLElement} target
|
|
428
428
|
* @param {HTMLElement} [anchor]
|
|
429
429
|
*/
|
|
430
|
-
m: function(
|
|
431
|
-
ce(
|
|
430
|
+
m: function(a, h) {
|
|
431
|
+
ce(a, o, h);
|
|
432
432
|
},
|
|
433
|
-
d: function(
|
|
434
|
-
|
|
433
|
+
d: function(a) {
|
|
434
|
+
a && te(o);
|
|
435
435
|
}
|
|
436
436
|
};
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
440
440
|
return;
|
|
441
|
-
const n = {}, r =
|
|
441
|
+
const n = {}, r = Jt(this);
|
|
442
442
|
for (const s of this.$$s)
|
|
443
443
|
s in r && (n[s] = [t(s)]);
|
|
444
444
|
for (const s of this.attributes) {
|
|
445
|
-
const
|
|
446
|
-
|
|
445
|
+
const o = this.$$g_p(s.name);
|
|
446
|
+
o in this.$$d || (this.$$d[o] = oe(o, s.value, this.$$p_d, "toProp"));
|
|
447
447
|
}
|
|
448
448
|
for (const s in this.$$p_d)
|
|
449
449
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
450
450
|
this.$$c = new this.$$ctor({
|
|
451
451
|
target: this.shadowRoot || this,
|
|
452
|
-
props:
|
|
452
|
+
props: ke(je({}, this.$$d), {
|
|
453
453
|
$$slots: n,
|
|
454
454
|
$$scope: {
|
|
455
455
|
ctx: []
|
|
@@ -460,21 +460,21 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
460
460
|
this.$$r = !0;
|
|
461
461
|
for (const s in this.$$p_d)
|
|
462
462
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
463
|
-
const
|
|
463
|
+
const o = oe(
|
|
464
464
|
s,
|
|
465
465
|
this.$$d[s],
|
|
466
466
|
this.$$p_d,
|
|
467
467
|
"toAttribute"
|
|
468
468
|
);
|
|
469
|
-
|
|
469
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
470
470
|
}
|
|
471
471
|
this.$$r = !1;
|
|
472
472
|
};
|
|
473
473
|
this.$$c.$$.after_update.push(i), i();
|
|
474
474
|
for (const s in this.$$l)
|
|
475
|
-
for (const
|
|
476
|
-
const u = this.$$c.$on(s,
|
|
477
|
-
this.$$l_u.set(
|
|
475
|
+
for (const o of this.$$l[s]) {
|
|
476
|
+
const u = this.$$c.$on(s, o);
|
|
477
|
+
this.$$l_u.set(o, u);
|
|
478
478
|
}
|
|
479
479
|
this.$$l = {};
|
|
480
480
|
}
|
|
@@ -484,7 +484,7 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
484
484
|
// and setting attributes through setAttribute etc, this is helpful
|
|
485
485
|
attributeChangedCallback(t, n, r) {
|
|
486
486
|
var i;
|
|
487
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
487
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = oe(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
488
488
|
}
|
|
489
489
|
disconnectedCallback() {
|
|
490
490
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -497,7 +497,7 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
497
497
|
) || t;
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
|
-
function
|
|
500
|
+
function oe(e, t, n, r) {
|
|
501
501
|
var s;
|
|
502
502
|
const i = (s = n[e]) == null ? void 0 : s.type;
|
|
503
503
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
@@ -527,8 +527,8 @@ function ae(e, t, n, r) {
|
|
|
527
527
|
return t;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
let
|
|
530
|
+
function un(e, t, n, r, i, s) {
|
|
531
|
+
let o = class extends gt {
|
|
532
532
|
constructor() {
|
|
533
533
|
super(e, n, i), this.$$p_d = t;
|
|
534
534
|
}
|
|
@@ -539,26 +539,26 @@ function ln(e, t, n, r, i, s) {
|
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
return Object.keys(t).forEach((u) => {
|
|
542
|
-
Object.defineProperty(
|
|
542
|
+
Object.defineProperty(o.prototype, u, {
|
|
543
543
|
get() {
|
|
544
544
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
545
545
|
},
|
|
546
546
|
set(l) {
|
|
547
|
-
var
|
|
548
|
-
l =
|
|
547
|
+
var a;
|
|
548
|
+
l = oe(u, l, t), this.$$d[u] = l, (a = this.$$c) == null || a.$set({ [u]: l });
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
551
|
}), r.forEach((u) => {
|
|
552
|
-
Object.defineProperty(
|
|
552
|
+
Object.defineProperty(o.prototype, u, {
|
|
553
553
|
get() {
|
|
554
554
|
var l;
|
|
555
555
|
return (l = this.$$c) == null ? void 0 : l[u];
|
|
556
556
|
}
|
|
557
557
|
});
|
|
558
558
|
}), e.element = /** @type {any} */
|
|
559
|
-
|
|
559
|
+
o, o;
|
|
560
560
|
}
|
|
561
|
-
class
|
|
561
|
+
class hn {
|
|
562
562
|
constructor() {
|
|
563
563
|
/**
|
|
564
564
|
* ### PRIVATE API
|
|
@@ -579,7 +579,7 @@ class fn {
|
|
|
579
579
|
}
|
|
580
580
|
/** @returns {void} */
|
|
581
581
|
$destroy() {
|
|
582
|
-
|
|
582
|
+
sn(this, 1), this.$destroy = N;
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
585
585
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -601,11 +601,11 @@ class fn {
|
|
|
601
601
|
* @returns {void}
|
|
602
602
|
*/
|
|
603
603
|
$set(t) {
|
|
604
|
-
this.$$set && !
|
|
604
|
+
this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
const
|
|
608
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
607
|
+
const ln = "4";
|
|
608
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
609
609
|
/*! *****************************************************************************
|
|
610
610
|
Copyright (c) Microsoft Corporation.
|
|
611
611
|
|
|
@@ -647,7 +647,7 @@ var E = function() {
|
|
|
647
647
|
return t;
|
|
648
648
|
}, E.apply(this, arguments);
|
|
649
649
|
};
|
|
650
|
-
function
|
|
650
|
+
function fn(e, t) {
|
|
651
651
|
var n = {};
|
|
652
652
|
for (var r in e)
|
|
653
653
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -656,7 +656,7 @@ function mn(e, t) {
|
|
|
656
656
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
657
657
|
return n;
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Hi(e) {
|
|
660
660
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
661
661
|
if (n)
|
|
662
662
|
return n.call(e);
|
|
@@ -668,22 +668,22 @@ function Ti(e) {
|
|
|
668
668
|
};
|
|
669
669
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function Ti(e, t) {
|
|
672
672
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
673
673
|
if (!n)
|
|
674
674
|
return e;
|
|
675
|
-
var r = n.call(e), i, s = [],
|
|
675
|
+
var r = n.call(e), i, s = [], o;
|
|
676
676
|
try {
|
|
677
677
|
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
678
678
|
s.push(i.value);
|
|
679
679
|
} catch (u) {
|
|
680
|
-
|
|
680
|
+
o = { error: u };
|
|
681
681
|
} finally {
|
|
682
682
|
try {
|
|
683
683
|
i && !i.done && (n = r.return) && n.call(r);
|
|
684
684
|
} finally {
|
|
685
|
-
if (
|
|
686
|
-
throw
|
|
685
|
+
if (o)
|
|
686
|
+
throw o.error;
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
return s;
|
|
@@ -695,7 +695,7 @@ function ve(e, t, n) {
|
|
|
695
695
|
return e.concat(s || t);
|
|
696
696
|
}
|
|
697
697
|
const D = [];
|
|
698
|
-
function
|
|
698
|
+
function cn(e, t) {
|
|
699
699
|
return {
|
|
700
700
|
subscribe: ge(e, t).subscribe
|
|
701
701
|
};
|
|
@@ -704,13 +704,13 @@ function ge(e, t = N) {
|
|
|
704
704
|
let n;
|
|
705
705
|
const r = /* @__PURE__ */ new Set();
|
|
706
706
|
function i(u) {
|
|
707
|
-
if (
|
|
707
|
+
if (ut(e, u) && (e = u, n)) {
|
|
708
708
|
const l = !D.length;
|
|
709
|
-
for (const
|
|
710
|
-
|
|
709
|
+
for (const a of r)
|
|
710
|
+
a[1](), D.push(a, e);
|
|
711
711
|
if (l) {
|
|
712
|
-
for (let
|
|
713
|
-
D[
|
|
712
|
+
for (let a = 0; a < D.length; a += 2)
|
|
713
|
+
D[a][0](D[a + 1]);
|
|
714
714
|
D.length = 0;
|
|
715
715
|
}
|
|
716
716
|
}
|
|
@@ -718,34 +718,34 @@ function ge(e, t = N) {
|
|
|
718
718
|
function s(u) {
|
|
719
719
|
i(u(e));
|
|
720
720
|
}
|
|
721
|
-
function
|
|
722
|
-
const
|
|
723
|
-
return r.add(
|
|
724
|
-
r.delete(
|
|
721
|
+
function o(u, l = N) {
|
|
722
|
+
const a = [u, l];
|
|
723
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || N), u(e), () => {
|
|
724
|
+
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
725
725
|
};
|
|
726
726
|
}
|
|
727
|
-
return { set: i, update: s, subscribe:
|
|
727
|
+
return { set: i, update: s, subscribe: o };
|
|
728
728
|
}
|
|
729
729
|
function W(e, t, n) {
|
|
730
730
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
731
731
|
if (!i.every(Boolean))
|
|
732
732
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
733
733
|
const s = t.length < 2;
|
|
734
|
-
return
|
|
734
|
+
return cn(n, (o, u) => {
|
|
735
735
|
let l = !1;
|
|
736
|
-
const
|
|
736
|
+
const a = [];
|
|
737
737
|
let h = 0, m = N;
|
|
738
738
|
const f = () => {
|
|
739
739
|
if (h)
|
|
740
740
|
return;
|
|
741
741
|
m();
|
|
742
|
-
const y = t(r ?
|
|
743
|
-
s ?
|
|
742
|
+
const y = t(r ? a[0] : a, o, u);
|
|
743
|
+
s ? o(y) : m = fe(y) ? y : N;
|
|
744
744
|
}, b = i.map(
|
|
745
|
-
(y, _) =>
|
|
745
|
+
(y, _) => ht(
|
|
746
746
|
y,
|
|
747
747
|
(T) => {
|
|
748
|
-
|
|
748
|
+
a[_] = T, h &= ~(1 << _), l && f();
|
|
749
749
|
},
|
|
750
750
|
() => {
|
|
751
751
|
h |= 1 << _;
|
|
@@ -757,70 +757,70 @@ function W(e, t, n) {
|
|
|
757
757
|
};
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function mn(e) {
|
|
761
761
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
762
762
|
}
|
|
763
|
-
var
|
|
764
|
-
return
|
|
763
|
+
var gn = function(t) {
|
|
764
|
+
return dn(t) && !bn(t);
|
|
765
765
|
};
|
|
766
|
-
function
|
|
766
|
+
function dn(e) {
|
|
767
767
|
return !!e && typeof e == "object";
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function bn(e) {
|
|
770
770
|
var t = Object.prototype.toString.call(e);
|
|
771
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
771
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
772
772
|
}
|
|
773
|
-
var
|
|
774
|
-
function
|
|
775
|
-
return e.$$typeof ===
|
|
773
|
+
var pn = typeof Symbol == "function" && Symbol.for, yn = pn ? Symbol.for("react.element") : 60103;
|
|
774
|
+
function En(e) {
|
|
775
|
+
return e.$$typeof === yn;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function vn(e) {
|
|
778
778
|
return Array.isArray(e) ? [] : {};
|
|
779
779
|
}
|
|
780
780
|
function K(e, t) {
|
|
781
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
|
781
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(vn(e), e, t) : e;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function _n(e, t, n) {
|
|
784
784
|
return e.concat(t).map(function(r) {
|
|
785
785
|
return K(r, n);
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function xn(e, t) {
|
|
789
789
|
if (!t.customMerge)
|
|
790
790
|
return j;
|
|
791
791
|
var n = t.customMerge(e);
|
|
792
792
|
return typeof n == "function" ? n : j;
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Hn(e) {
|
|
795
795
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
796
796
|
return Object.propertyIsEnumerable.call(e, t);
|
|
797
797
|
}) : [];
|
|
798
798
|
}
|
|
799
|
-
function
|
|
800
|
-
return Object.keys(e).concat(
|
|
799
|
+
function We(e) {
|
|
800
|
+
return Object.keys(e).concat(Hn(e));
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function dt(e, t) {
|
|
803
803
|
try {
|
|
804
804
|
return t in e;
|
|
805
805
|
} catch (n) {
|
|
806
806
|
return !1;
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
|
-
function
|
|
810
|
-
return
|
|
809
|
+
function Tn(e, t) {
|
|
810
|
+
return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Sn(e, t, n) {
|
|
813
813
|
var r = {};
|
|
814
|
-
return n.isMergeableObject(e) &&
|
|
814
|
+
return n.isMergeableObject(e) && We(e).forEach(function(i) {
|
|
815
815
|
r[i] = K(e[i], n);
|
|
816
|
-
}),
|
|
817
|
-
|
|
816
|
+
}), We(t).forEach(function(i) {
|
|
817
|
+
Tn(e, i) || (dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = xn(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
|
|
818
818
|
}), r;
|
|
819
819
|
}
|
|
820
820
|
function j(e, t, n) {
|
|
821
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
821
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || _n, n.isMergeableObject = n.isMergeableObject || gn, n.cloneUnlessOtherwiseSpecified = K;
|
|
822
822
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
823
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
823
|
+
return s ? r ? n.arrayMerge(e, t, n) : Sn(e, t, n) : K(t, n);
|
|
824
824
|
}
|
|
825
825
|
j.all = function(t, n) {
|
|
826
826
|
if (!Array.isArray(t))
|
|
@@ -829,58 +829,56 @@ j.all = function(t, n) {
|
|
|
829
829
|
return j(r, i, n);
|
|
830
830
|
}, {});
|
|
831
831
|
};
|
|
832
|
-
var
|
|
833
|
-
const
|
|
832
|
+
var Bn = j, An = Bn;
|
|
833
|
+
const wn = /* @__PURE__ */ mn(An);
|
|
834
834
|
function _e(e, t) {
|
|
835
|
-
var n = t && t.cache ? t.cache :
|
|
835
|
+
var n = t && t.cache ? t.cache : Mn, r = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : On;
|
|
836
836
|
return i(e, {
|
|
837
837
|
cache: n,
|
|
838
838
|
serializer: r
|
|
839
839
|
});
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Pn(e) {
|
|
842
842
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
843
843
|
}
|
|
844
|
-
function
|
|
845
|
-
var i =
|
|
844
|
+
function Nn(e, t, n, r) {
|
|
845
|
+
var i = Pn(r) ? r : n(r), s = t.get(i);
|
|
846
846
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function bt(e, t, n) {
|
|
849
849
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
850
850
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function pt(e, t, n, r, i) {
|
|
853
853
|
return n.bind(t, e, r, i);
|
|
854
854
|
}
|
|
855
|
-
function
|
|
856
|
-
var n = e.length === 1 ?
|
|
857
|
-
return
|
|
858
|
-
}
|
|
859
|
-
function Ln(e, t) {
|
|
860
|
-
return De(e, this, Et, t.cache.create(), t.serializer);
|
|
855
|
+
function On(e, t) {
|
|
856
|
+
var n = e.length === 1 ? Nn : bt;
|
|
857
|
+
return pt(e, this, n, t.cache.create(), t.serializer);
|
|
861
858
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
859
|
+
function In(e, t) {
|
|
860
|
+
return pt(e, this, bt, t.cache.create(), t.serializer);
|
|
864
861
|
}
|
|
865
|
-
var
|
|
862
|
+
var Ln = function() {
|
|
866
863
|
return JSON.stringify(arguments);
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
864
|
+
}, Cn = (
|
|
865
|
+
/** @class */
|
|
866
|
+
function() {
|
|
867
|
+
function e() {
|
|
868
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
869
|
+
}
|
|
870
|
+
return e.prototype.get = function(t) {
|
|
871
|
+
return this.cache[t];
|
|
872
|
+
}, e.prototype.set = function(t, n) {
|
|
873
|
+
this.cache[t] = n;
|
|
874
|
+
}, e;
|
|
875
|
+
}()
|
|
876
|
+
), Mn = {
|
|
878
877
|
create: function() {
|
|
879
|
-
return new
|
|
878
|
+
return new Cn();
|
|
880
879
|
}
|
|
881
880
|
}, xe = {
|
|
882
|
-
variadic:
|
|
883
|
-
monadic: Cn
|
|
881
|
+
variadic: In
|
|
884
882
|
}, d;
|
|
885
883
|
(function(e) {
|
|
886
884
|
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";
|
|
@@ -893,43 +891,43 @@ var k;
|
|
|
893
891
|
(function(e) {
|
|
894
892
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
895
893
|
})(k || (k = {}));
|
|
896
|
-
function
|
|
894
|
+
function Ze(e) {
|
|
897
895
|
return e.type === v.literal;
|
|
898
896
|
}
|
|
899
|
-
function
|
|
897
|
+
function Rn(e) {
|
|
900
898
|
return e.type === v.argument;
|
|
901
899
|
}
|
|
902
|
-
function
|
|
900
|
+
function yt(e) {
|
|
903
901
|
return e.type === v.number;
|
|
904
902
|
}
|
|
905
|
-
function
|
|
903
|
+
function Et(e) {
|
|
906
904
|
return e.type === v.date;
|
|
907
905
|
}
|
|
908
|
-
function
|
|
906
|
+
function vt(e) {
|
|
909
907
|
return e.type === v.time;
|
|
910
908
|
}
|
|
911
|
-
function
|
|
909
|
+
function _t(e) {
|
|
912
910
|
return e.type === v.select;
|
|
913
911
|
}
|
|
914
|
-
function
|
|
912
|
+
function xt(e) {
|
|
915
913
|
return e.type === v.plural;
|
|
916
914
|
}
|
|
917
|
-
function
|
|
915
|
+
function $n(e) {
|
|
918
916
|
return e.type === v.pound;
|
|
919
917
|
}
|
|
920
|
-
function
|
|
918
|
+
function Ht(e) {
|
|
921
919
|
return e.type === v.tag;
|
|
922
920
|
}
|
|
923
|
-
function
|
|
921
|
+
function Tt(e) {
|
|
924
922
|
return !!(e && typeof e == "object" && e.type === k.number);
|
|
925
923
|
}
|
|
926
924
|
function Ne(e) {
|
|
927
925
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
928
926
|
}
|
|
929
|
-
var
|
|
930
|
-
function
|
|
927
|
+
var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
|
|
928
|
+
function Dn(e) {
|
|
931
929
|
var t = {};
|
|
932
|
-
return e.replace(
|
|
930
|
+
return e.replace(Un, function(n) {
|
|
933
931
|
var r = n.length;
|
|
934
932
|
switch (n[0]) {
|
|
935
933
|
case "G":
|
|
@@ -1018,18 +1016,18 @@ function Gn(e) {
|
|
|
1018
1016
|
return "";
|
|
1019
1017
|
}), t;
|
|
1020
1018
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
1019
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1020
|
+
function Fn(e) {
|
|
1023
1021
|
if (e.length === 0)
|
|
1024
1022
|
throw new Error("Number skeleton cannot be empty");
|
|
1025
|
-
for (var t = e.split(
|
|
1023
|
+
for (var t = e.split(Gn).filter(function(f) {
|
|
1026
1024
|
return f.length > 0;
|
|
1027
1025
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1028
|
-
var s = i[r],
|
|
1029
|
-
if (
|
|
1026
|
+
var s = i[r], o = s.split("/");
|
|
1027
|
+
if (o.length === 0)
|
|
1030
1028
|
throw new Error("Invalid number skeleton");
|
|
1031
|
-
for (var u =
|
|
1032
|
-
var m = h[
|
|
1029
|
+
for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
|
|
1030
|
+
var m = h[a];
|
|
1033
1031
|
if (m.length === 0)
|
|
1034
1032
|
throw new Error("Invalid number skeleton");
|
|
1035
1033
|
}
|
|
@@ -1037,17 +1035,17 @@ function jn(e) {
|
|
|
1037
1035
|
}
|
|
1038
1036
|
return n;
|
|
1039
1037
|
}
|
|
1040
|
-
function
|
|
1038
|
+
function jn(e) {
|
|
1041
1039
|
return e.replace(/^(.*?)-/, "");
|
|
1042
1040
|
}
|
|
1043
|
-
var
|
|
1044
|
-
function
|
|
1041
|
+
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
|
|
1042
|
+
function qe(e) {
|
|
1045
1043
|
var t = {};
|
|
1046
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1044
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(n, r, i) {
|
|
1047
1045
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1048
1046
|
}), t;
|
|
1049
1047
|
}
|
|
1050
|
-
function
|
|
1048
|
+
function wt(e) {
|
|
1051
1049
|
switch (e) {
|
|
1052
1050
|
case "sign-auto":
|
|
1053
1051
|
return {
|
|
@@ -1087,7 +1085,7 @@ function Nt(e) {
|
|
|
1087
1085
|
};
|
|
1088
1086
|
}
|
|
1089
1087
|
}
|
|
1090
|
-
function
|
|
1088
|
+
function Vn(e) {
|
|
1091
1089
|
var t;
|
|
1092
1090
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1093
1091
|
notation: "engineering"
|
|
@@ -1095,17 +1093,17 @@ function Xn(e) {
|
|
|
1095
1093
|
notation: "scientific"
|
|
1096
1094
|
}, e = e.slice(1)), t) {
|
|
1097
1095
|
var n = e.slice(0, 2);
|
|
1098
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1096
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
|
|
1099
1097
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1100
1098
|
t.minimumIntegerDigits = e.length;
|
|
1101
1099
|
}
|
|
1102
1100
|
return t;
|
|
1103
1101
|
}
|
|
1104
|
-
function
|
|
1105
|
-
var t = {}, n =
|
|
1102
|
+
function Je(e) {
|
|
1103
|
+
var t = {}, n = wt(e);
|
|
1106
1104
|
return n || t;
|
|
1107
1105
|
}
|
|
1108
|
-
function
|
|
1106
|
+
function Xn(e) {
|
|
1109
1107
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1110
1108
|
var i = r[n];
|
|
1111
1109
|
switch (i.stem) {
|
|
@@ -1129,7 +1127,7 @@ function zn(e) {
|
|
|
1129
1127
|
continue;
|
|
1130
1128
|
case "measure-unit":
|
|
1131
1129
|
case "unit":
|
|
1132
|
-
t.style = "unit", t.unit =
|
|
1130
|
+
t.style = "unit", t.unit = jn(i.options[0]);
|
|
1133
1131
|
continue;
|
|
1134
1132
|
case "compact-short":
|
|
1135
1133
|
case "K":
|
|
@@ -1140,13 +1138,13 @@ function zn(e) {
|
|
|
1140
1138
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1141
1139
|
continue;
|
|
1142
1140
|
case "scientific":
|
|
1143
|
-
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
|
1144
|
-
return E(E({}, l),
|
|
1141
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1142
|
+
return E(E({}, l), Je(a));
|
|
1145
1143
|
}, {}));
|
|
1146
1144
|
continue;
|
|
1147
1145
|
case "engineering":
|
|
1148
|
-
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
|
1149
|
-
return E(E({}, l),
|
|
1146
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1147
|
+
return E(E({}, l), Je(a));
|
|
1150
1148
|
}, {}));
|
|
1151
1149
|
continue;
|
|
1152
1150
|
case "notation-simple":
|
|
@@ -1191,8 +1189,8 @@ function zn(e) {
|
|
|
1191
1189
|
case "integer-width":
|
|
1192
1190
|
if (i.options.length > 1)
|
|
1193
1191
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1194
|
-
i.options[0].replace(
|
|
1195
|
-
if (
|
|
1192
|
+
i.options[0].replace(kn, function(l, a, h, m, f, b) {
|
|
1193
|
+
if (a)
|
|
1196
1194
|
t.minimumIntegerDigits = h.length;
|
|
1197
1195
|
else {
|
|
1198
1196
|
if (m && f)
|
|
@@ -1204,27 +1202,27 @@ function zn(e) {
|
|
|
1204
1202
|
});
|
|
1205
1203
|
continue;
|
|
1206
1204
|
}
|
|
1207
|
-
if (
|
|
1205
|
+
if (At.test(i.stem)) {
|
|
1208
1206
|
t.minimumIntegerDigits = i.stem.length;
|
|
1209
1207
|
continue;
|
|
1210
1208
|
}
|
|
1211
|
-
if (
|
|
1209
|
+
if (Qe.test(i.stem)) {
|
|
1212
1210
|
if (i.options.length > 1)
|
|
1213
1211
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1214
|
-
i.stem.replace(
|
|
1215
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1212
|
+
i.stem.replace(Qe, function(l, a, h, m, f, b) {
|
|
1213
|
+
return h === "*" ? t.minimumFractionDigits = a.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1216
1214
|
});
|
|
1217
1215
|
var s = i.options[0];
|
|
1218
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1216
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), qe(s)));
|
|
1219
1217
|
continue;
|
|
1220
1218
|
}
|
|
1221
|
-
if (
|
|
1222
|
-
t = E(E({}, t),
|
|
1219
|
+
if (Bt.test(i.stem)) {
|
|
1220
|
+
t = E(E({}, t), qe(i.stem));
|
|
1223
1221
|
continue;
|
|
1224
1222
|
}
|
|
1225
|
-
var
|
|
1226
|
-
|
|
1227
|
-
var u =
|
|
1223
|
+
var o = wt(i.stem);
|
|
1224
|
+
o && (t = E(E({}, t), o));
|
|
1225
|
+
var u = Vn(i.stem);
|
|
1228
1226
|
u && (t = E(E({}, t), u));
|
|
1229
1227
|
}
|
|
1230
1228
|
return t;
|
|
@@ -2644,23 +2642,23 @@ var se = {
|
|
|
2644
2642
|
"h"
|
|
2645
2643
|
]
|
|
2646
2644
|
};
|
|
2647
|
-
function
|
|
2645
|
+
function zn(e, t) {
|
|
2648
2646
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2649
2647
|
var i = e.charAt(r);
|
|
2650
2648
|
if (i === "j") {
|
|
2651
2649
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2652
2650
|
s++, r++;
|
|
2653
|
-
var
|
|
2654
|
-
for ((
|
|
2651
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Wn(t);
|
|
2652
|
+
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2655
2653
|
n += l;
|
|
2656
|
-
for (;
|
|
2657
|
-
n =
|
|
2654
|
+
for (; o-- > 0; )
|
|
2655
|
+
n = a + n;
|
|
2658
2656
|
} else
|
|
2659
2657
|
i === "J" ? n += "H" : n += i;
|
|
2660
2658
|
}
|
|
2661
2659
|
return n;
|
|
2662
2660
|
}
|
|
2663
|
-
function
|
|
2661
|
+
function Wn(e) {
|
|
2664
2662
|
var t = e.hourCycle;
|
|
2665
2663
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2666
2664
|
e.hourCycles && // @ts-ignore
|
|
@@ -2682,20 +2680,20 @@ function Zn(e) {
|
|
|
2682
2680
|
var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
|
|
2683
2681
|
return i[0];
|
|
2684
2682
|
}
|
|
2685
|
-
var He,
|
|
2683
|
+
var He, Zn = new RegExp("^".concat(St.source, "*")), Qn = new RegExp("".concat(St.source, "*$"));
|
|
2686
2684
|
function p(e, t) {
|
|
2687
2685
|
return { start: e, end: t };
|
|
2688
2686
|
}
|
|
2689
|
-
var
|
|
2687
|
+
var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, er = !!String.prototype.trimStart, tr = !!String.prototype.trimEnd, nr = !!Number.isSafeInteger, rr = nr ? Number.isSafeInteger : function(e) {
|
|
2690
2688
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2691
2689
|
}, Oe = !0;
|
|
2692
2690
|
try {
|
|
2693
|
-
var
|
|
2694
|
-
Oe = ((He =
|
|
2691
|
+
var ir = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2692
|
+
Oe = ((He = ir.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
2695
2693
|
} catch (e) {
|
|
2696
2694
|
Oe = !1;
|
|
2697
2695
|
}
|
|
2698
|
-
var
|
|
2696
|
+
var Ye = qn ? (
|
|
2699
2697
|
// Native
|
|
2700
2698
|
function(t, n, r) {
|
|
2701
2699
|
return t.startsWith(n, r);
|
|
@@ -2705,31 +2703,31 @@ var et = Jn ? (
|
|
|
2705
2703
|
function(t, n, r) {
|
|
2706
2704
|
return t.slice(r, r + n.length) === n;
|
|
2707
2705
|
}
|
|
2708
|
-
), Ie =
|
|
2706
|
+
), Ie = Jn ? String.fromCodePoint : (
|
|
2709
2707
|
// IE11
|
|
2710
2708
|
function() {
|
|
2711
2709
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2712
2710
|
t[n] = arguments[n];
|
|
2713
|
-
for (var r = "", i = t.length, s = 0,
|
|
2714
|
-
if (
|
|
2715
|
-
throw RangeError(
|
|
2716
|
-
r +=
|
|
2711
|
+
for (var r = "", i = t.length, s = 0, o; i > s; ) {
|
|
2712
|
+
if (o = t[s++], o > 1114111)
|
|
2713
|
+
throw RangeError(o + " is not a valid code point");
|
|
2714
|
+
r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2717
2715
|
}
|
|
2718
2716
|
return r;
|
|
2719
2717
|
}
|
|
2720
|
-
),
|
|
2718
|
+
), Ke = (
|
|
2721
2719
|
// native
|
|
2722
|
-
|
|
2720
|
+
Yn ? Object.fromEntries : (
|
|
2723
2721
|
// Ponyfill
|
|
2724
2722
|
function(t) {
|
|
2725
2723
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2726
|
-
var s = i[r],
|
|
2727
|
-
n[
|
|
2724
|
+
var s = i[r], o = s[0], u = s[1];
|
|
2725
|
+
n[o] = u;
|
|
2728
2726
|
}
|
|
2729
2727
|
return n;
|
|
2730
2728
|
}
|
|
2731
2729
|
)
|
|
2732
|
-
),
|
|
2730
|
+
), Pt = Kn ? (
|
|
2733
2731
|
// Native
|
|
2734
2732
|
function(t, n) {
|
|
2735
2733
|
return t.codePointAt(n);
|
|
@@ -2743,7 +2741,7 @@ var et = Jn ? (
|
|
|
2743
2741
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2744
2742
|
}
|
|
2745
2743
|
}
|
|
2746
|
-
),
|
|
2744
|
+
), sr = er ? (
|
|
2747
2745
|
// Native
|
|
2748
2746
|
function(t) {
|
|
2749
2747
|
return t.trimStart();
|
|
@@ -2751,9 +2749,9 @@ var et = Jn ? (
|
|
|
2751
2749
|
) : (
|
|
2752
2750
|
// Ponyfill
|
|
2753
2751
|
function(t) {
|
|
2754
|
-
return t.replace(
|
|
2752
|
+
return t.replace(Zn, "");
|
|
2755
2753
|
}
|
|
2756
|
-
), or =
|
|
2754
|
+
), or = tr ? (
|
|
2757
2755
|
// Native
|
|
2758
2756
|
function(t) {
|
|
2759
2757
|
return t.trimEnd();
|
|
@@ -2761,32 +2759,32 @@ var et = Jn ? (
|
|
|
2761
2759
|
) : (
|
|
2762
2760
|
// Ponyfill
|
|
2763
2761
|
function(t) {
|
|
2764
|
-
return t.replace(
|
|
2762
|
+
return t.replace(Qn, "");
|
|
2765
2763
|
}
|
|
2766
2764
|
);
|
|
2767
|
-
function
|
|
2765
|
+
function Nt(e, t) {
|
|
2768
2766
|
return new RegExp(e, t);
|
|
2769
2767
|
}
|
|
2770
2768
|
var Le;
|
|
2771
2769
|
if (Oe) {
|
|
2772
|
-
var
|
|
2770
|
+
var et = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2773
2771
|
Le = function(t, n) {
|
|
2774
2772
|
var r;
|
|
2775
|
-
|
|
2776
|
-
var i =
|
|
2773
|
+
et.lastIndex = n;
|
|
2774
|
+
var i = et.exec(t);
|
|
2777
2775
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2778
2776
|
};
|
|
2779
2777
|
} else
|
|
2780
2778
|
Le = function(t, n) {
|
|
2781
2779
|
for (var r = []; ; ) {
|
|
2782
|
-
var i =
|
|
2783
|
-
if (i === void 0 ||
|
|
2780
|
+
var i = Pt(t, n);
|
|
2781
|
+
if (i === void 0 || Ot(i) || lr(i))
|
|
2784
2782
|
break;
|
|
2785
2783
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2786
2784
|
}
|
|
2787
2785
|
return Ie.apply(void 0, r);
|
|
2788
2786
|
};
|
|
2789
|
-
var
|
|
2787
|
+
var ar = (
|
|
2790
2788
|
/** @class */
|
|
2791
2789
|
function() {
|
|
2792
2790
|
function e(t, n) {
|
|
@@ -2800,10 +2798,10 @@ var ur = (
|
|
|
2800
2798
|
for (var i = []; !this.isEOF(); ) {
|
|
2801
2799
|
var s = this.char();
|
|
2802
2800
|
if (s === 123) {
|
|
2803
|
-
var
|
|
2804
|
-
if (
|
|
2805
|
-
return
|
|
2806
|
-
i.push(
|
|
2801
|
+
var o = this.parseArgument(t, r);
|
|
2802
|
+
if (o.err)
|
|
2803
|
+
return o;
|
|
2804
|
+
i.push(o.val);
|
|
2807
2805
|
} else {
|
|
2808
2806
|
if (s === 125 && t > 0)
|
|
2809
2807
|
break;
|
|
@@ -2818,15 +2816,15 @@ var ur = (
|
|
|
2818
2816
|
break;
|
|
2819
2817
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2820
2818
|
} else if (s === 60 && !this.ignoreTag && Ce(this.peek() || 0)) {
|
|
2821
|
-
var
|
|
2822
|
-
if (
|
|
2823
|
-
return
|
|
2824
|
-
i.push(
|
|
2819
|
+
var o = this.parseTag(t, n);
|
|
2820
|
+
if (o.err)
|
|
2821
|
+
return o;
|
|
2822
|
+
i.push(o.val);
|
|
2825
2823
|
} else {
|
|
2826
|
-
var
|
|
2827
|
-
if (
|
|
2828
|
-
return
|
|
2829
|
-
i.push(
|
|
2824
|
+
var o = this.parseLiteral(t, n);
|
|
2825
|
+
if (o.err)
|
|
2826
|
+
return o;
|
|
2827
|
+
i.push(o.val);
|
|
2830
2828
|
}
|
|
2831
2829
|
}
|
|
2832
2830
|
}
|
|
@@ -2848,16 +2846,16 @@ var ur = (
|
|
|
2848
2846
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2849
2847
|
if (s.err)
|
|
2850
2848
|
return s;
|
|
2851
|
-
var
|
|
2849
|
+
var o = s.val, u = this.clonePosition();
|
|
2852
2850
|
if (this.bumpIf("</")) {
|
|
2853
2851
|
if (this.isEOF() || !Ce(this.char()))
|
|
2854
2852
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2855
|
-
var l = this.clonePosition(),
|
|
2856
|
-
return i !==
|
|
2853
|
+
var l = this.clonePosition(), a = this.parseTagName();
|
|
2854
|
+
return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2857
2855
|
val: {
|
|
2858
2856
|
type: v.tag,
|
|
2859
2857
|
value: i,
|
|
2860
|
-
children:
|
|
2858
|
+
children: o,
|
|
2861
2859
|
location: p(r, this.clonePosition())
|
|
2862
2860
|
},
|
|
2863
2861
|
err: null
|
|
@@ -2868,7 +2866,7 @@ var ur = (
|
|
|
2868
2866
|
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2869
2867
|
}, e.prototype.parseTagName = function() {
|
|
2870
2868
|
var t = this.offset();
|
|
2871
|
-
for (this.bump(); !this.isEOF() &&
|
|
2869
|
+
for (this.bump(); !this.isEOF() && hr(this.char()); )
|
|
2872
2870
|
this.bump();
|
|
2873
2871
|
return this.message.slice(t, this.offset());
|
|
2874
2872
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2878,9 +2876,9 @@ var ur = (
|
|
|
2878
2876
|
i += s;
|
|
2879
2877
|
continue;
|
|
2880
2878
|
}
|
|
2881
|
-
var
|
|
2882
|
-
if (
|
|
2883
|
-
i +=
|
|
2879
|
+
var o = this.tryParseUnquoted(t, n);
|
|
2880
|
+
if (o) {
|
|
2881
|
+
i += o;
|
|
2884
2882
|
continue;
|
|
2885
2883
|
}
|
|
2886
2884
|
var u = this.tryParseLeftAngleBracket();
|
|
@@ -2897,7 +2895,7 @@ var ur = (
|
|
|
2897
2895
|
};
|
|
2898
2896
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2899
2897
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2900
|
-
!
|
|
2898
|
+
!ur(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2901
2899
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2902
2900
|
if (this.isEOF() || this.char() !== 39)
|
|
2903
2901
|
return null;
|
|
@@ -2967,18 +2965,18 @@ var ur = (
|
|
|
2967
2965
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2968
2966
|
var t = this.clonePosition(), n = this.offset(), r = Le(this.message, n), i = n + r.length;
|
|
2969
2967
|
this.bumpTo(i);
|
|
2970
|
-
var s = this.clonePosition(),
|
|
2971
|
-
return { value: r, location:
|
|
2968
|
+
var s = this.clonePosition(), o = p(t, s);
|
|
2969
|
+
return { value: r, location: o };
|
|
2972
2970
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2973
|
-
var s,
|
|
2971
|
+
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2974
2972
|
switch (u) {
|
|
2975
2973
|
case "":
|
|
2976
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, p(
|
|
2974
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
|
|
2977
2975
|
case "number":
|
|
2978
2976
|
case "date":
|
|
2979
2977
|
case "time": {
|
|
2980
2978
|
this.bumpSpace();
|
|
2981
|
-
var
|
|
2979
|
+
var a = null;
|
|
2982
2980
|
if (this.bumpIf(",")) {
|
|
2983
2981
|
this.bumpSpace();
|
|
2984
2982
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
@@ -2988,16 +2986,16 @@ var ur = (
|
|
|
2988
2986
|
if (f.length === 0)
|
|
2989
2987
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2990
2988
|
var b = p(h, this.clonePosition());
|
|
2991
|
-
|
|
2989
|
+
a = { style: f, styleLocation: b };
|
|
2992
2990
|
}
|
|
2993
2991
|
var y = this.tryParseArgumentClose(i);
|
|
2994
2992
|
if (y.err)
|
|
2995
2993
|
return y;
|
|
2996
2994
|
var _ = p(i, this.clonePosition());
|
|
2997
|
-
if (
|
|
2998
|
-
var T =
|
|
2995
|
+
if (a && Ye(a == null ? void 0 : a.style, "::", 0)) {
|
|
2996
|
+
var T = sr(a.style.slice(2));
|
|
2999
2997
|
if (u === "number") {
|
|
3000
|
-
var m = this.parseNumberSkeletonFromString(T,
|
|
2998
|
+
var m = this.parseNumberSkeletonFromString(T, a.styleLocation);
|
|
3001
2999
|
return m.err ? m : {
|
|
3002
3000
|
val: { type: v.number, value: r, location: _, style: m.val },
|
|
3003
3001
|
err: null
|
|
@@ -3006,12 +3004,12 @@ var ur = (
|
|
|
3006
3004
|
if (T.length === 0)
|
|
3007
3005
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
3008
3006
|
var P = T;
|
|
3009
|
-
this.locale && (P =
|
|
3007
|
+
this.locale && (P = zn(T, this.locale));
|
|
3010
3008
|
var f = {
|
|
3011
3009
|
type: k.dateTime,
|
|
3012
3010
|
pattern: P,
|
|
3013
|
-
location:
|
|
3014
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3011
|
+
location: a.styleLocation,
|
|
3012
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(P) : {}
|
|
3015
3013
|
}, w = u === "date" ? v.date : v.time;
|
|
3016
3014
|
return {
|
|
3017
3015
|
val: { type: w, value: r, location: _, style: f },
|
|
@@ -3024,7 +3022,7 @@ var ur = (
|
|
|
3024
3022
|
type: u === "number" ? v.number : u === "date" ? v.date : v.time,
|
|
3025
3023
|
value: r,
|
|
3026
3024
|
location: _,
|
|
3027
|
-
style: (s =
|
|
3025
|
+
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
3028
3026
|
},
|
|
3029
3027
|
err: null
|
|
3030
3028
|
};
|
|
@@ -3057,7 +3055,7 @@ var ur = (
|
|
|
3057
3055
|
val: {
|
|
3058
3056
|
type: v.select,
|
|
3059
3057
|
value: r,
|
|
3060
|
-
options:
|
|
3058
|
+
options: Ke(I.val),
|
|
3061
3059
|
location: c
|
|
3062
3060
|
},
|
|
3063
3061
|
err: null
|
|
@@ -3065,7 +3063,7 @@ var ur = (
|
|
|
3065
3063
|
val: {
|
|
3066
3064
|
type: v.plural,
|
|
3067
3065
|
value: r,
|
|
3068
|
-
options:
|
|
3066
|
+
options: Ke(I.val),
|
|
3069
3067
|
offset: x,
|
|
3070
3068
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3071
3069
|
location: c
|
|
@@ -3074,7 +3072,7 @@ var ur = (
|
|
|
3074
3072
|
};
|
|
3075
3073
|
}
|
|
3076
3074
|
default:
|
|
3077
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, p(
|
|
3075
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
|
|
3078
3076
|
}
|
|
3079
3077
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3080
3078
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3116,7 +3114,7 @@ var ur = (
|
|
|
3116
3114
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3117
3115
|
var r = [];
|
|
3118
3116
|
try {
|
|
3119
|
-
r =
|
|
3117
|
+
r = Fn(t);
|
|
3120
3118
|
} catch (i) {
|
|
3121
3119
|
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3122
3120
|
}
|
|
@@ -3125,25 +3123,25 @@ var ur = (
|
|
|
3125
3123
|
type: k.number,
|
|
3126
3124
|
tokens: r,
|
|
3127
3125
|
location: n,
|
|
3128
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3126
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(r) : {}
|
|
3129
3127
|
},
|
|
3130
3128
|
err: null
|
|
3131
3129
|
};
|
|
3132
3130
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3133
|
-
for (var s,
|
|
3134
|
-
if (
|
|
3131
|
+
for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
3132
|
+
if (a.length === 0) {
|
|
3135
3133
|
var m = this.clonePosition();
|
|
3136
3134
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3137
3135
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3138
3136
|
if (f.err)
|
|
3139
3137
|
return f;
|
|
3140
|
-
h = p(m, this.clonePosition()),
|
|
3138
|
+
h = p(m, this.clonePosition()), a = this.message.slice(m.offset, this.offset());
|
|
3141
3139
|
} else
|
|
3142
3140
|
break;
|
|
3143
3141
|
}
|
|
3144
|
-
if (l.has(
|
|
3142
|
+
if (l.has(a))
|
|
3145
3143
|
return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3146
|
-
|
|
3144
|
+
a === "other" && (o = !0), this.bumpSpace();
|
|
3147
3145
|
var b = this.clonePosition();
|
|
3148
3146
|
if (!this.bumpIf("{"))
|
|
3149
3147
|
return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
@@ -3154,26 +3152,26 @@ var ur = (
|
|
|
3154
3152
|
if (_.err)
|
|
3155
3153
|
return _;
|
|
3156
3154
|
u.push([
|
|
3157
|
-
|
|
3155
|
+
a,
|
|
3158
3156
|
{
|
|
3159
3157
|
value: y.val,
|
|
3160
3158
|
location: p(b, this.clonePosition())
|
|
3161
3159
|
}
|
|
3162
|
-
]), l.add(
|
|
3160
|
+
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
3163
3161
|
}
|
|
3164
|
-
return u.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3162
|
+
return u.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3165
3163
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3166
3164
|
var r = 1, i = this.clonePosition();
|
|
3167
3165
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3168
|
-
for (var s = !1,
|
|
3166
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3169
3167
|
var u = this.char();
|
|
3170
3168
|
if (u >= 48 && u <= 57)
|
|
3171
|
-
s = !0,
|
|
3169
|
+
s = !0, o = o * 10 + (u - 48), this.bump();
|
|
3172
3170
|
else
|
|
3173
3171
|
break;
|
|
3174
3172
|
}
|
|
3175
3173
|
var l = p(i, this.clonePosition());
|
|
3176
|
-
return s ? (
|
|
3174
|
+
return s ? (o *= r, rr(o) ? { val: o, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3177
3175
|
}, e.prototype.offset = function() {
|
|
3178
3176
|
return this.position.offset;
|
|
3179
3177
|
}, e.prototype.isEOF = function() {
|
|
@@ -3188,7 +3186,7 @@ var ur = (
|
|
|
3188
3186
|
var t = this.position.offset;
|
|
3189
3187
|
if (t >= this.message.length)
|
|
3190
3188
|
throw Error("out of bound");
|
|
3191
|
-
var n =
|
|
3189
|
+
var n = Pt(this.message, t);
|
|
3192
3190
|
if (n === void 0)
|
|
3193
3191
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3194
3192
|
return n;
|
|
@@ -3207,7 +3205,7 @@ var ur = (
|
|
|
3207
3205
|
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);
|
|
3208
3206
|
}
|
|
3209
3207
|
}, e.prototype.bumpIf = function(t) {
|
|
3210
|
-
if (
|
|
3208
|
+
if (Ye(this.message, t, this.offset())) {
|
|
3211
3209
|
for (var n = 0; n < t.length; n++)
|
|
3212
3210
|
this.bump();
|
|
3213
3211
|
return !0;
|
|
@@ -3229,7 +3227,7 @@ var ur = (
|
|
|
3229
3227
|
break;
|
|
3230
3228
|
}
|
|
3231
3229
|
}, e.prototype.bumpSpace = function() {
|
|
3232
|
-
for (; !this.isEOF() &&
|
|
3230
|
+
for (; !this.isEOF() && Ot(this.char()); )
|
|
3233
3231
|
this.bump();
|
|
3234
3232
|
}, e.prototype.peek = function() {
|
|
3235
3233
|
if (this.isEOF())
|
|
@@ -3242,30 +3240,30 @@ var ur = (
|
|
|
3242
3240
|
function Ce(e) {
|
|
3243
3241
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3244
3242
|
}
|
|
3245
|
-
function
|
|
3243
|
+
function ur(e) {
|
|
3246
3244
|
return Ce(e) || e === 47;
|
|
3247
3245
|
}
|
|
3248
|
-
function
|
|
3246
|
+
function hr(e) {
|
|
3249
3247
|
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;
|
|
3250
3248
|
}
|
|
3251
|
-
function
|
|
3249
|
+
function Ot(e) {
|
|
3252
3250
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3253
3251
|
}
|
|
3254
|
-
function
|
|
3252
|
+
function lr(e) {
|
|
3255
3253
|
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;
|
|
3256
3254
|
}
|
|
3257
3255
|
function Me(e) {
|
|
3258
3256
|
e.forEach(function(t) {
|
|
3259
|
-
if (delete t.location,
|
|
3257
|
+
if (delete t.location, _t(t) || xt(t))
|
|
3260
3258
|
for (var n in t.options)
|
|
3261
3259
|
delete t.options[n].location, Me(t.options[n].value);
|
|
3262
3260
|
else
|
|
3263
|
-
|
|
3261
|
+
yt(t) && Tt(t.style) || (Et(t) || vt(t)) && Ne(t.style) ? delete t.style.location : Ht(t) && Me(t.children);
|
|
3264
3262
|
});
|
|
3265
3263
|
}
|
|
3266
|
-
function
|
|
3264
|
+
function fr(e, t) {
|
|
3267
3265
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3268
|
-
var n = new
|
|
3266
|
+
var n = new ar(e, t).parse();
|
|
3269
3267
|
if (n.err) {
|
|
3270
3268
|
var r = SyntaxError(d[n.err.kind]);
|
|
3271
3269
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
@@ -3288,7 +3286,7 @@ var de = (
|
|
|
3288
3286
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3289
3287
|
}, t;
|
|
3290
3288
|
}(Error)
|
|
3291
|
-
),
|
|
3289
|
+
), tt = (
|
|
3292
3290
|
/** @class */
|
|
3293
3291
|
function(e) {
|
|
3294
3292
|
me(t, e);
|
|
@@ -3297,7 +3295,7 @@ var de = (
|
|
|
3297
3295
|
}
|
|
3298
3296
|
return t;
|
|
3299
3297
|
}(de)
|
|
3300
|
-
),
|
|
3298
|
+
), cr = (
|
|
3301
3299
|
/** @class */
|
|
3302
3300
|
function(e) {
|
|
3303
3301
|
me(t, e);
|
|
@@ -3306,7 +3304,7 @@ var de = (
|
|
|
3306
3304
|
}
|
|
3307
3305
|
return t;
|
|
3308
3306
|
}(de)
|
|
3309
|
-
),
|
|
3307
|
+
), mr = (
|
|
3310
3308
|
/** @class */
|
|
3311
3309
|
function(e) {
|
|
3312
3310
|
me(t, e);
|
|
@@ -3319,33 +3317,33 @@ var de = (
|
|
|
3319
3317
|
(function(e) {
|
|
3320
3318
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3321
3319
|
})(A || (A = {}));
|
|
3322
|
-
function
|
|
3320
|
+
function gr(e) {
|
|
3323
3321
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3324
3322
|
var r = t[t.length - 1];
|
|
3325
3323
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3326
3324
|
}, []);
|
|
3327
3325
|
}
|
|
3328
|
-
function
|
|
3326
|
+
function dr(e) {
|
|
3329
3327
|
return typeof e == "function";
|
|
3330
3328
|
}
|
|
3331
|
-
function
|
|
3332
|
-
if (e.length === 1 &&
|
|
3329
|
+
function ae(e, t, n, r, i, s, o) {
|
|
3330
|
+
if (e.length === 1 && Ze(e[0]))
|
|
3333
3331
|
return [
|
|
3334
3332
|
{
|
|
3335
3333
|
type: A.literal,
|
|
3336
3334
|
value: e[0].value
|
|
3337
3335
|
}
|
|
3338
3336
|
];
|
|
3339
|
-
for (var u = [], l = 0,
|
|
3340
|
-
var h =
|
|
3341
|
-
if (
|
|
3337
|
+
for (var u = [], l = 0, a = e; l < a.length; l++) {
|
|
3338
|
+
var h = a[l];
|
|
3339
|
+
if (Ze(h)) {
|
|
3342
3340
|
u.push({
|
|
3343
3341
|
type: A.literal,
|
|
3344
3342
|
value: h.value
|
|
3345
3343
|
});
|
|
3346
3344
|
continue;
|
|
3347
3345
|
}
|
|
3348
|
-
if (
|
|
3346
|
+
if ($n(h)) {
|
|
3349
3347
|
typeof s == "number" && u.push({
|
|
3350
3348
|
type: A.literal,
|
|
3351
3349
|
value: n.getNumberFormat(t).format(s)
|
|
@@ -3354,16 +3352,16 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3354
3352
|
}
|
|
3355
3353
|
var m = h.value;
|
|
3356
3354
|
if (!(i && m in i))
|
|
3357
|
-
throw new
|
|
3355
|
+
throw new mr(m, o);
|
|
3358
3356
|
var f = i[m];
|
|
3359
|
-
if (
|
|
3357
|
+
if (Rn(h)) {
|
|
3360
3358
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3361
3359
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3362
3360
|
value: f
|
|
3363
3361
|
});
|
|
3364
3362
|
continue;
|
|
3365
3363
|
}
|
|
3366
|
-
if (
|
|
3364
|
+
if (Et(h)) {
|
|
3367
3365
|
var b = typeof h.style == "string" ? r.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
|
|
3368
3366
|
u.push({
|
|
3369
3367
|
type: A.literal,
|
|
@@ -3371,7 +3369,7 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3371
3369
|
});
|
|
3372
3370
|
continue;
|
|
3373
3371
|
}
|
|
3374
|
-
if (
|
|
3372
|
+
if (vt(h)) {
|
|
3375
3373
|
var b = typeof h.style == "string" ? r.time[h.style] : Ne(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3376
3374
|
u.push({
|
|
3377
3375
|
type: A.literal,
|
|
@@ -3379,19 +3377,19 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3379
3377
|
});
|
|
3380
3378
|
continue;
|
|
3381
3379
|
}
|
|
3382
|
-
if (
|
|
3383
|
-
var b = typeof h.style == "string" ? r.number[h.style] :
|
|
3380
|
+
if (yt(h)) {
|
|
3381
|
+
var b = typeof h.style == "string" ? r.number[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3384
3382
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3385
3383
|
type: A.literal,
|
|
3386
3384
|
value: n.getNumberFormat(t, b).format(f)
|
|
3387
3385
|
});
|
|
3388
3386
|
continue;
|
|
3389
3387
|
}
|
|
3390
|
-
if (
|
|
3388
|
+
if (Ht(h)) {
|
|
3391
3389
|
var y = h.children, _ = h.value, T = i[_];
|
|
3392
|
-
if (!
|
|
3393
|
-
throw new
|
|
3394
|
-
var P =
|
|
3390
|
+
if (!dr(T))
|
|
3391
|
+
throw new cr(_, "function", o);
|
|
3392
|
+
var P = ae(y, t, n, r, i, s), w = T(P.map(function(x) {
|
|
3395
3393
|
return x.value;
|
|
3396
3394
|
}));
|
|
3397
3395
|
Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(x) {
|
|
@@ -3401,39 +3399,39 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3401
3399
|
};
|
|
3402
3400
|
}));
|
|
3403
3401
|
}
|
|
3404
|
-
if (
|
|
3402
|
+
if (_t(h)) {
|
|
3405
3403
|
var B = h.options[f] || h.options.other;
|
|
3406
3404
|
if (!B)
|
|
3407
|
-
throw new
|
|
3408
|
-
u.push.apply(u,
|
|
3405
|
+
throw new tt(h.value, f, Object.keys(h.options), o);
|
|
3406
|
+
u.push.apply(u, ae(B.value, t, n, r, i));
|
|
3409
3407
|
continue;
|
|
3410
3408
|
}
|
|
3411
|
-
if (
|
|
3409
|
+
if (xt(h)) {
|
|
3412
3410
|
var B = h.options["=".concat(f)];
|
|
3413
3411
|
if (!B) {
|
|
3414
3412
|
if (!Intl.PluralRules)
|
|
3415
3413
|
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3416
3414
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3417
|
-
`, V.MISSING_INTL_API,
|
|
3415
|
+
`, V.MISSING_INTL_API, o);
|
|
3418
3416
|
var O = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3419
3417
|
B = h.options[O] || h.options.other;
|
|
3420
3418
|
}
|
|
3421
3419
|
if (!B)
|
|
3422
|
-
throw new
|
|
3423
|
-
u.push.apply(u,
|
|
3420
|
+
throw new tt(h.value, f, Object.keys(h.options), o);
|
|
3421
|
+
u.push.apply(u, ae(B.value, t, n, r, i, f - (h.offset || 0)));
|
|
3424
3422
|
continue;
|
|
3425
3423
|
}
|
|
3426
3424
|
}
|
|
3427
|
-
return
|
|
3425
|
+
return gr(u);
|
|
3428
3426
|
}
|
|
3429
|
-
function
|
|
3427
|
+
function br(e, t) {
|
|
3430
3428
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3431
3429
|
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3432
3430
|
}, {})) : e;
|
|
3433
3431
|
}
|
|
3434
|
-
function
|
|
3432
|
+
function pr(e, t) {
|
|
3435
3433
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3436
|
-
return n[r] =
|
|
3434
|
+
return n[r] = br(e[r], t[r]), n;
|
|
3437
3435
|
}, E({}, e)) : e;
|
|
3438
3436
|
}
|
|
3439
3437
|
function Te(e) {
|
|
@@ -3450,7 +3448,7 @@ function Te(e) {
|
|
|
3450
3448
|
}
|
|
3451
3449
|
};
|
|
3452
3450
|
}
|
|
3453
|
-
function
|
|
3451
|
+
function yr(e) {
|
|
3454
3452
|
return e === void 0 && (e = {
|
|
3455
3453
|
number: {},
|
|
3456
3454
|
dateTime: {},
|
|
@@ -3482,7 +3480,7 @@ function Er(e) {
|
|
|
3482
3480
|
})
|
|
3483
3481
|
};
|
|
3484
3482
|
}
|
|
3485
|
-
var
|
|
3483
|
+
var Er = (
|
|
3486
3484
|
/** @class */
|
|
3487
3485
|
function() {
|
|
3488
3486
|
function e(t, n, r, i) {
|
|
@@ -3493,15 +3491,15 @@ var vr = (
|
|
|
3493
3491
|
dateTime: {},
|
|
3494
3492
|
pluralRules: {}
|
|
3495
3493
|
}, this.format = function(l) {
|
|
3496
|
-
var
|
|
3497
|
-
if (
|
|
3498
|
-
return
|
|
3499
|
-
var h =
|
|
3494
|
+
var a = s.formatToParts(l);
|
|
3495
|
+
if (a.length === 1)
|
|
3496
|
+
return a[0].value;
|
|
3497
|
+
var h = a.reduce(function(m, f) {
|
|
3500
3498
|
return !m.length || f.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3501
3499
|
}, []);
|
|
3502
3500
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3503
3501
|
}, this.formatToParts = function(l) {
|
|
3504
|
-
return
|
|
3502
|
+
return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3505
3503
|
}, this.resolvedOptions = function() {
|
|
3506
3504
|
var l;
|
|
3507
3505
|
return {
|
|
@@ -3512,15 +3510,15 @@ var vr = (
|
|
|
3512
3510
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3513
3511
|
if (this.message = t, !e.__parse)
|
|
3514
3512
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3515
|
-
var
|
|
3516
|
-
|
|
3517
|
-
var u =
|
|
3513
|
+
var o = i || {};
|
|
3514
|
+
o.formatters;
|
|
3515
|
+
var u = fn(o, ["formatters"]);
|
|
3518
3516
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3519
3517
|
} else
|
|
3520
3518
|
this.ast = t;
|
|
3521
3519
|
if (!Array.isArray(this.ast))
|
|
3522
3520
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3523
|
-
this.formats =
|
|
3521
|
+
this.formats = pr(e.formats, r), this.formatters = i && i.formatters || yr(this.formatterCache);
|
|
3524
3522
|
}
|
|
3525
3523
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3526
3524
|
get: function() {
|
|
@@ -3533,7 +3531,7 @@ var vr = (
|
|
|
3533
3531
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3534
3532
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3535
3533
|
}
|
|
3536
|
-
}, e.__parse =
|
|
3534
|
+
}, e.__parse = fr, e.formats = {
|
|
3537
3535
|
number: {
|
|
3538
3536
|
integer: {
|
|
3539
3537
|
maximumFractionDigits: 0
|
|
@@ -3594,7 +3592,7 @@ var vr = (
|
|
|
3594
3592
|
}, e;
|
|
3595
3593
|
}()
|
|
3596
3594
|
);
|
|
3597
|
-
function
|
|
3595
|
+
function vr(e, t) {
|
|
3598
3596
|
if (t == null)
|
|
3599
3597
|
return;
|
|
3600
3598
|
if (t in e)
|
|
@@ -3615,60 +3613,60 @@ function _r(e, t) {
|
|
|
3615
3613
|
r = void 0;
|
|
3616
3614
|
return r;
|
|
3617
3615
|
}
|
|
3618
|
-
const M = {},
|
|
3616
|
+
const M = {}, _r = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), It = (e, t) => {
|
|
3619
3617
|
if (t == null)
|
|
3620
3618
|
return;
|
|
3621
3619
|
if (t in M && e in M[t])
|
|
3622
3620
|
return M[t][e];
|
|
3623
3621
|
const n = be(t);
|
|
3624
3622
|
for (let r = 0; r < n.length; r++) {
|
|
3625
|
-
const i = n[r], s =
|
|
3623
|
+
const i = n[r], s = Hr(i, e);
|
|
3626
3624
|
if (s)
|
|
3627
|
-
return
|
|
3625
|
+
return _r(e, t, s);
|
|
3628
3626
|
}
|
|
3629
3627
|
};
|
|
3630
|
-
let
|
|
3628
|
+
let De;
|
|
3631
3629
|
const Z = ge({});
|
|
3632
|
-
function
|
|
3633
|
-
return
|
|
3630
|
+
function xr(e) {
|
|
3631
|
+
return De[e] || null;
|
|
3634
3632
|
}
|
|
3635
|
-
function
|
|
3636
|
-
return e in
|
|
3633
|
+
function Lt(e) {
|
|
3634
|
+
return e in De;
|
|
3637
3635
|
}
|
|
3638
|
-
function
|
|
3639
|
-
if (!
|
|
3636
|
+
function Hr(e, t) {
|
|
3637
|
+
if (!Lt(e))
|
|
3640
3638
|
return null;
|
|
3641
|
-
const n =
|
|
3642
|
-
return
|
|
3639
|
+
const n = xr(e);
|
|
3640
|
+
return vr(n, t);
|
|
3643
3641
|
}
|
|
3644
|
-
function
|
|
3642
|
+
function Tr(e) {
|
|
3645
3643
|
if (e == null)
|
|
3646
3644
|
return;
|
|
3647
3645
|
const t = be(e);
|
|
3648
3646
|
for (let n = 0; n < t.length; n++) {
|
|
3649
3647
|
const r = t[n];
|
|
3650
|
-
if (
|
|
3648
|
+
if (Lt(r))
|
|
3651
3649
|
return r;
|
|
3652
3650
|
}
|
|
3653
3651
|
}
|
|
3654
|
-
function
|
|
3655
|
-
delete M[e], Z.update((n) => (n[e] =
|
|
3652
|
+
function Sr(e, ...t) {
|
|
3653
|
+
delete M[e], Z.update((n) => (n[e] = wn.all([n[e] || {}, ...t]), n));
|
|
3656
3654
|
}
|
|
3657
3655
|
W(
|
|
3658
3656
|
[Z],
|
|
3659
3657
|
([e]) => Object.keys(e)
|
|
3660
3658
|
);
|
|
3661
|
-
Z.subscribe((e) =>
|
|
3659
|
+
Z.subscribe((e) => De = e);
|
|
3662
3660
|
const ue = {};
|
|
3663
|
-
function
|
|
3661
|
+
function Br(e, t) {
|
|
3664
3662
|
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3665
3663
|
}
|
|
3666
|
-
function
|
|
3664
|
+
function Ct(e) {
|
|
3667
3665
|
return ue[e];
|
|
3668
3666
|
}
|
|
3669
|
-
function
|
|
3667
|
+
function Ar(e) {
|
|
3670
3668
|
return be(e).map((t) => {
|
|
3671
|
-
const n =
|
|
3669
|
+
const n = Ct(t);
|
|
3672
3670
|
return [t, n ? [...n] : []];
|
|
3673
3671
|
}).filter(([, t]) => t.length > 0);
|
|
3674
3672
|
}
|
|
@@ -3676,31 +3674,31 @@ function Re(e) {
|
|
|
3676
3674
|
return e == null ? !1 : be(e).some(
|
|
3677
3675
|
(t) => {
|
|
3678
3676
|
var n;
|
|
3679
|
-
return (n =
|
|
3677
|
+
return (n = Ct(t)) == null ? void 0 : n.size;
|
|
3680
3678
|
}
|
|
3681
3679
|
);
|
|
3682
3680
|
}
|
|
3683
|
-
function
|
|
3681
|
+
function wr(e, t) {
|
|
3684
3682
|
return Promise.all(
|
|
3685
|
-
t.map((r) => (
|
|
3686
|
-
).then((r) =>
|
|
3683
|
+
t.map((r) => (Br(e, r), r().then((i) => i.default || i)))
|
|
3684
|
+
).then((r) => Sr(e, ...r));
|
|
3687
3685
|
}
|
|
3688
3686
|
const q = {};
|
|
3689
|
-
function
|
|
3687
|
+
function Mt(e) {
|
|
3690
3688
|
if (!Re(e))
|
|
3691
3689
|
return e in q ? q[e] : Promise.resolve();
|
|
3692
|
-
const t =
|
|
3690
|
+
const t = Ar(e);
|
|
3693
3691
|
return q[e] = Promise.all(
|
|
3694
3692
|
t.map(
|
|
3695
|
-
([n, r]) =>
|
|
3693
|
+
([n, r]) => wr(n, r)
|
|
3696
3694
|
)
|
|
3697
3695
|
).then(() => {
|
|
3698
3696
|
if (Re(e))
|
|
3699
|
-
return
|
|
3697
|
+
return Mt(e);
|
|
3700
3698
|
delete q[e];
|
|
3701
3699
|
}), q[e];
|
|
3702
3700
|
}
|
|
3703
|
-
const
|
|
3701
|
+
const Pr = {
|
|
3704
3702
|
number: {
|
|
3705
3703
|
scientific: { notation: "scientific" },
|
|
3706
3704
|
engineering: { notation: "engineering" },
|
|
@@ -3729,34 +3727,34 @@ const Nr = {
|
|
|
3729
3727
|
timeZoneName: "short"
|
|
3730
3728
|
}
|
|
3731
3729
|
}
|
|
3732
|
-
},
|
|
3730
|
+
}, Nr = {
|
|
3733
3731
|
fallbackLocale: null,
|
|
3734
3732
|
loadingDelay: 200,
|
|
3735
|
-
formats:
|
|
3733
|
+
formats: Pr,
|
|
3736
3734
|
warnOnMissingMessages: !0,
|
|
3737
3735
|
handleMissingMessage: void 0,
|
|
3738
3736
|
ignoreTag: !0
|
|
3739
|
-
},
|
|
3737
|
+
}, Or = Nr;
|
|
3740
3738
|
function X() {
|
|
3741
|
-
return
|
|
3739
|
+
return Or;
|
|
3742
3740
|
}
|
|
3743
3741
|
const Se = ge(!1);
|
|
3744
|
-
var
|
|
3742
|
+
var Ir = Object.defineProperty, Lr = Object.defineProperties, Cr = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, rt = (e, t, n) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $r = (e, t) => {
|
|
3745
3743
|
for (var n in t || (t = {}))
|
|
3746
|
-
|
|
3747
|
-
if (
|
|
3748
|
-
for (var n of
|
|
3749
|
-
|
|
3744
|
+
Mr.call(t, n) && rt(e, n, t[n]);
|
|
3745
|
+
if (nt)
|
|
3746
|
+
for (var n of nt(t))
|
|
3747
|
+
Rr.call(t, n) && rt(e, n, t[n]);
|
|
3750
3748
|
return e;
|
|
3751
|
-
},
|
|
3749
|
+
}, Ur = (e, t) => Lr(e, Cr(t));
|
|
3752
3750
|
let $e;
|
|
3753
3751
|
const he = ge(null);
|
|
3754
|
-
function
|
|
3752
|
+
function it(e) {
|
|
3755
3753
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3756
3754
|
}
|
|
3757
3755
|
function be(e, t = X().fallbackLocale) {
|
|
3758
|
-
const n =
|
|
3759
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3756
|
+
const n = it(e);
|
|
3757
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...it(t)])] : n;
|
|
3760
3758
|
}
|
|
3761
3759
|
function $() {
|
|
3762
3760
|
return $e != null ? $e : void 0;
|
|
@@ -3764,22 +3762,22 @@ function $() {
|
|
|
3764
3762
|
he.subscribe((e) => {
|
|
3765
3763
|
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3766
3764
|
});
|
|
3767
|
-
const
|
|
3768
|
-
if (e &&
|
|
3765
|
+
const Dr = (e) => {
|
|
3766
|
+
if (e && Tr(e) && Re(e)) {
|
|
3769
3767
|
const { loadingDelay: t } = X();
|
|
3770
3768
|
let n;
|
|
3771
3769
|
return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
|
|
3772
3770
|
() => Se.set(!0),
|
|
3773
3771
|
t
|
|
3774
|
-
) : Se.set(!0),
|
|
3772
|
+
) : Se.set(!0), Mt(e).then(() => {
|
|
3775
3773
|
he.set(e);
|
|
3776
3774
|
}).finally(() => {
|
|
3777
3775
|
clearTimeout(n), Se.set(!1);
|
|
3778
3776
|
});
|
|
3779
3777
|
}
|
|
3780
3778
|
return he.set(e);
|
|
3781
|
-
}, R =
|
|
3782
|
-
set:
|
|
3779
|
+
}, R = Ur($r({}, he), {
|
|
3780
|
+
set: Dr
|
|
3783
3781
|
}), pe = (e) => {
|
|
3784
3782
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3785
3783
|
return (r) => {
|
|
@@ -3787,20 +3785,20 @@ const Gr = (e) => {
|
|
|
3787
3785
|
return i in t ? t[i] : t[i] = e(r);
|
|
3788
3786
|
};
|
|
3789
3787
|
};
|
|
3790
|
-
var
|
|
3788
|
+
var Gr = Object.defineProperty, le = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, st = (e, t, n) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ge = (e, t) => {
|
|
3791
3789
|
for (var n in t || (t = {}))
|
|
3792
|
-
|
|
3790
|
+
Rt.call(t, n) && st(e, n, t[n]);
|
|
3793
3791
|
if (le)
|
|
3794
3792
|
for (var n of le(t))
|
|
3795
|
-
|
|
3793
|
+
$t.call(t, n) && st(e, n, t[n]);
|
|
3796
3794
|
return e;
|
|
3797
3795
|
}, Q = (e, t) => {
|
|
3798
3796
|
var n = {};
|
|
3799
3797
|
for (var r in e)
|
|
3800
|
-
|
|
3798
|
+
Rt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3801
3799
|
if (e != null && le)
|
|
3802
3800
|
for (var r of le(e))
|
|
3803
|
-
t.indexOf(r) < 0 &&
|
|
3801
|
+
t.indexOf(r) < 0 && $t.call(e, r) && (n[r] = e[r]);
|
|
3804
3802
|
return n;
|
|
3805
3803
|
};
|
|
3806
3804
|
const ee = (e, t) => {
|
|
@@ -3808,21 +3806,21 @@ const ee = (e, t) => {
|
|
|
3808
3806
|
if (e in n && t in n[e])
|
|
3809
3807
|
return n[e][t];
|
|
3810
3808
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3811
|
-
},
|
|
3809
|
+
}, Fr = pe(
|
|
3812
3810
|
(e) => {
|
|
3813
3811
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3814
3812
|
if (n == null)
|
|
3815
3813
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3816
3814
|
return r && (i = ee("number", r)), new Intl.NumberFormat(n, i);
|
|
3817
3815
|
}
|
|
3818
|
-
),
|
|
3816
|
+
), jr = pe(
|
|
3819
3817
|
(e) => {
|
|
3820
3818
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3821
3819
|
if (n == null)
|
|
3822
3820
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3823
3821
|
return r ? i = ee("date", r) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3824
3822
|
}
|
|
3825
|
-
),
|
|
3823
|
+
), kr = pe(
|
|
3826
3824
|
(e) => {
|
|
3827
3825
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3828
3826
|
if (n == null)
|
|
@@ -3831,48 +3829,48 @@ const ee = (e, t) => {
|
|
|
3831
3829
|
);
|
|
3832
3830
|
return r ? i = ee("time", r) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3833
3831
|
}
|
|
3834
|
-
),
|
|
3832
|
+
), Vr = (e = {}) => {
|
|
3835
3833
|
var t = e, {
|
|
3836
3834
|
locale: n = $()
|
|
3837
3835
|
} = t, r = Q(t, [
|
|
3838
3836
|
"locale"
|
|
3839
3837
|
]);
|
|
3840
|
-
return
|
|
3841
|
-
},
|
|
3838
|
+
return Fr(Ge({ locale: n }, r));
|
|
3839
|
+
}, Xr = (e = {}) => {
|
|
3842
3840
|
var t = e, {
|
|
3843
3841
|
locale: n = $()
|
|
3844
3842
|
} = t, r = Q(t, [
|
|
3845
3843
|
"locale"
|
|
3846
3844
|
]);
|
|
3847
|
-
return
|
|
3848
|
-
},
|
|
3845
|
+
return jr(Ge({ locale: n }, r));
|
|
3846
|
+
}, zr = (e = {}) => {
|
|
3849
3847
|
var t = e, {
|
|
3850
3848
|
locale: n = $()
|
|
3851
3849
|
} = t, r = Q(t, [
|
|
3852
3850
|
"locale"
|
|
3853
3851
|
]);
|
|
3854
|
-
return
|
|
3855
|
-
},
|
|
3852
|
+
return kr(Ge({ locale: n }, r));
|
|
3853
|
+
}, Wr = pe(
|
|
3856
3854
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3857
|
-
(e, t = $()) => new
|
|
3855
|
+
(e, t = $()) => new Er(e, t, X().formats, {
|
|
3858
3856
|
ignoreTag: X().ignoreTag
|
|
3859
3857
|
})
|
|
3860
|
-
),
|
|
3858
|
+
), Zr = (e, t = {}) => {
|
|
3861
3859
|
var n, r, i, s;
|
|
3862
|
-
let
|
|
3863
|
-
typeof e == "object" && (
|
|
3860
|
+
let o = t;
|
|
3861
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3864
3862
|
const {
|
|
3865
3863
|
values: u,
|
|
3866
3864
|
locale: l = $(),
|
|
3867
|
-
default:
|
|
3868
|
-
} =
|
|
3865
|
+
default: a
|
|
3866
|
+
} = o;
|
|
3869
3867
|
if (l == null)
|
|
3870
3868
|
throw new Error(
|
|
3871
3869
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3872
3870
|
);
|
|
3873
|
-
let h =
|
|
3871
|
+
let h = It(e, l);
|
|
3874
3872
|
if (!h)
|
|
3875
|
-
h = (s = (i = (r = (n = X()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue:
|
|
3873
|
+
h = (s = (i = (r = (n = X()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3876
3874
|
else if (typeof h != "string")
|
|
3877
3875
|
return console.warn(
|
|
3878
3876
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3881,7 +3879,7 @@ const ee = (e, t) => {
|
|
|
3881
3879
|
return h;
|
|
3882
3880
|
let m = h;
|
|
3883
3881
|
try {
|
|
3884
|
-
m =
|
|
3882
|
+
m = Wr(h, l).format(u);
|
|
3885
3883
|
} catch (f) {
|
|
3886
3884
|
f instanceof Error && console.warn(
|
|
3887
3885
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3889,18 +3887,18 @@ const ee = (e, t) => {
|
|
|
3889
3887
|
);
|
|
3890
3888
|
}
|
|
3891
3889
|
return m;
|
|
3892
|
-
},
|
|
3890
|
+
}, Qr = (e, t) => zr(t).format(e), qr = (e, t) => Xr(t).format(e), Jr = (e, t) => Vr(t).format(e), Yr = (e, t = $()) => It(e, t), Si = W([R, Z], () => Zr);
|
|
3891
|
+
W([R], () => Qr);
|
|
3893
3892
|
W([R], () => qr);
|
|
3894
3893
|
W([R], () => Jr);
|
|
3895
|
-
W([R], () => Yr);
|
|
3896
|
-
|
|
3897
|
-
function ei(e, t) {
|
|
3894
|
+
W([R, Z], () => Yr);
|
|
3895
|
+
function Kr(e, t) {
|
|
3898
3896
|
if (e) {
|
|
3899
3897
|
const n = document.createElement("style");
|
|
3900
3898
|
n.innerHTML = t, e.appendChild(n);
|
|
3901
3899
|
}
|
|
3902
3900
|
}
|
|
3903
|
-
function
|
|
3901
|
+
function ei(e, t) {
|
|
3904
3902
|
const n = new URL(t);
|
|
3905
3903
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3906
3904
|
const i = document.createElement("style");
|
|
@@ -3909,7 +3907,7 @@ function ti(e, t) {
|
|
|
3909
3907
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3910
3908
|
});
|
|
3911
3909
|
}
|
|
3912
|
-
function
|
|
3910
|
+
function ti(e, t, n) {
|
|
3913
3911
|
if (window.emMessageBus) {
|
|
3914
3912
|
const r = document.createElement("style");
|
|
3915
3913
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3917,7 +3915,7 @@ function ni(e, t, n) {
|
|
|
3917
3915
|
});
|
|
3918
3916
|
}
|
|
3919
3917
|
}
|
|
3920
|
-
function
|
|
3918
|
+
function ni({ withLocale: e, translations: t }) {
|
|
3921
3919
|
R.subscribe((n) => {
|
|
3922
3920
|
n == null && (Z.set(t), R.set(e));
|
|
3923
3921
|
});
|
|
@@ -3934,14 +3932,14 @@ if (typeof window != "undefined") {
|
|
|
3934
3932
|
}
|
|
3935
3933
|
};
|
|
3936
3934
|
};
|
|
3937
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3935
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-BVx_gYwQ.js").then(({ default: t }) => {
|
|
3938
3936
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3939
3937
|
});
|
|
3940
3938
|
}
|
|
3941
|
-
function
|
|
3942
|
-
|
|
3939
|
+
function ri(e) {
|
|
3940
|
+
zt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3943
3941
|
}
|
|
3944
|
-
function
|
|
3942
|
+
function ot(e) {
|
|
3945
3943
|
let t;
|
|
3946
3944
|
return {
|
|
3947
3945
|
c() {
|
|
@@ -4156,10 +4154,10 @@ function ut(e) {
|
|
|
4156
4154
|
}
|
|
4157
4155
|
};
|
|
4158
4156
|
}
|
|
4159
|
-
function
|
|
4157
|
+
function ii(e) {
|
|
4160
4158
|
let t, n = (
|
|
4161
4159
|
/*session*/
|
|
4162
|
-
e[4] &&
|
|
4160
|
+
e[4] && ot(e)
|
|
4163
4161
|
);
|
|
4164
4162
|
return {
|
|
4165
4163
|
c() {
|
|
@@ -4170,7 +4168,7 @@ function si(e) {
|
|
|
4170
4168
|
},
|
|
4171
4169
|
p(r, [i]) {
|
|
4172
4170
|
/*session*/
|
|
4173
|
-
r[4] ? n ? n.p(r, i) : (n =
|
|
4171
|
+
r[4] ? n ? n.p(r, i) : (n = ot(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4174
4172
|
},
|
|
4175
4173
|
i: N,
|
|
4176
4174
|
o: N,
|
|
@@ -4179,9 +4177,9 @@ function si(e) {
|
|
|
4179
4177
|
}
|
|
4180
4178
|
};
|
|
4181
4179
|
}
|
|
4182
|
-
function
|
|
4183
|
-
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang:
|
|
4184
|
-
|
|
4180
|
+
function si(e, t, n) {
|
|
4181
|
+
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { mbsource: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: _ = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: P = "" } = t, { favorites: w = "" } = t, { casinomygames: B = "false" } = t, { fetchviaevent: O = "true" } = t, x;
|
|
4182
|
+
ni({ withLocale: "en", translations: {} }), Kt(() => () => {
|
|
4185
4183
|
});
|
|
4186
4184
|
function I(c) {
|
|
4187
4185
|
Be[c ? "unshift" : "push"](() => {
|
|
@@ -4189,20 +4187,20 @@ function ai(e, t, n) {
|
|
|
4189
4187
|
});
|
|
4190
4188
|
}
|
|
4191
4189
|
return e.$$set = (c) => {
|
|
4192
|
-
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3,
|
|
4190
|
+
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, o = c.lang), "session" in c && n(4, u = c.session), "userid" in c && n(5, l = c.userid), "mbsource" in c && n(6, a = c.mbsource), "clientstyling" in c && n(7, h = c.clientstyling), "clientstylingurl" in c && n(8, m = c.clientstylingurl), "livecasino" in c && n(9, f = c.livecasino), "integratedgameframemobile" in c && n(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(11, y = c.integratedgameframedesktop), "showgamename" in c && n(12, _ = c.showgamename), "gamepagemodalurl" in c && n(13, T = c.gamepagemodalurl), "visiblegames" in c && n(14, P = c.visiblegames), "favorites" in c && n(15, w = c.favorites), "casinomygames" in c && n(16, B = c.casinomygames), "fetchviaevent" in c && n(17, O = c.fetchviaevent);
|
|
4193
4191
|
}, e.$$.update = () => {
|
|
4194
4192
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4195
|
-
262272 && h && x &&
|
|
4196
|
-
262400 && m && x &&
|
|
4197
|
-
262208 &&
|
|
4193
|
+
262272 && h && x && Kr(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4194
|
+
262400 && m && x && ei(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4195
|
+
262208 && a && x && ti(x, `${a}.Style`);
|
|
4198
4196
|
}, [
|
|
4199
4197
|
r,
|
|
4200
4198
|
i,
|
|
4201
4199
|
s,
|
|
4202
|
-
|
|
4200
|
+
o,
|
|
4203
4201
|
u,
|
|
4204
4202
|
l,
|
|
4205
|
-
|
|
4203
|
+
a,
|
|
4206
4204
|
h,
|
|
4207
4205
|
m,
|
|
4208
4206
|
f,
|
|
@@ -4218,14 +4216,14 @@ function ai(e, t, n) {
|
|
|
4218
4216
|
I
|
|
4219
4217
|
];
|
|
4220
4218
|
}
|
|
4221
|
-
class
|
|
4219
|
+
class Ut extends hn {
|
|
4222
4220
|
constructor(t) {
|
|
4223
|
-
super(),
|
|
4221
|
+
super(), an(
|
|
4224
4222
|
this,
|
|
4225
4223
|
t,
|
|
4226
|
-
ai,
|
|
4227
4224
|
si,
|
|
4228
|
-
|
|
4225
|
+
ii,
|
|
4226
|
+
ut,
|
|
4229
4227
|
{
|
|
4230
4228
|
endpoint: 0,
|
|
4231
4229
|
datasource: 1,
|
|
@@ -4246,7 +4244,7 @@ class Gt extends fn {
|
|
|
4246
4244
|
casinomygames: 16,
|
|
4247
4245
|
fetchviaevent: 17
|
|
4248
4246
|
},
|
|
4249
|
-
|
|
4247
|
+
ri
|
|
4250
4248
|
);
|
|
4251
4249
|
}
|
|
4252
4250
|
get endpoint() {
|
|
@@ -4358,56 +4356,56 @@ class Gt extends fn {
|
|
|
4358
4356
|
this.$$set({ fetchviaevent: t }), H();
|
|
4359
4357
|
}
|
|
4360
4358
|
}
|
|
4361
|
-
|
|
4362
|
-
const
|
|
4359
|
+
un(Ut, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4360
|
+
const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4363
4361
|
__proto__: null,
|
|
4364
|
-
default:
|
|
4362
|
+
default: Ut
|
|
4365
4363
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4366
4364
|
export {
|
|
4367
4365
|
R as $,
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4366
|
+
di as A,
|
|
4367
|
+
ai as B,
|
|
4368
|
+
Kr as C,
|
|
4369
|
+
ei as D,
|
|
4370
|
+
ti as E,
|
|
4371
|
+
un as F,
|
|
4372
|
+
Si as G,
|
|
4373
|
+
pi as H,
|
|
4374
|
+
hi as I,
|
|
4377
4375
|
g as J,
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4376
|
+
ci as K,
|
|
4377
|
+
yi as L,
|
|
4378
|
+
bi as M,
|
|
4379
|
+
Ei as N,
|
|
4380
|
+
xi as O,
|
|
4381
|
+
_i as P,
|
|
4382
|
+
Bi as Q,
|
|
4383
|
+
hn as S,
|
|
4384
|
+
Hi as _,
|
|
4387
4385
|
ve as a,
|
|
4388
|
-
|
|
4386
|
+
Ti as b,
|
|
4389
4387
|
me as c,
|
|
4390
4388
|
Z as d,
|
|
4391
|
-
|
|
4389
|
+
Sr as e,
|
|
4392
4390
|
H as f,
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4391
|
+
zt as g,
|
|
4392
|
+
te as h,
|
|
4393
|
+
an as i,
|
|
4394
|
+
ce as j,
|
|
4395
|
+
ne as k,
|
|
4396
|
+
ui as l,
|
|
4397
|
+
Be as m,
|
|
4400
4398
|
N as n,
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4399
|
+
Kt as o,
|
|
4400
|
+
gi as p,
|
|
4401
|
+
Xt as q,
|
|
4402
|
+
Ue as r,
|
|
4403
|
+
ut as s,
|
|
4404
|
+
lt as t,
|
|
4405
|
+
vi as u,
|
|
4406
|
+
li as v,
|
|
4407
|
+
z as w,
|
|
4408
|
+
mi as x,
|
|
4409
|
+
Qt as y,
|
|
4410
|
+
fi as z
|
|
4413
4411
|
};
|