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