@everymatrix/casino-my-games 1.60.0 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-DZ2sVCm_.js → CasinoFavoritesSection-BD9p4hWA.js} +382 -384
- package/components/{CasinoFavoritesSection-843hdcnn.js → CasinoFavoritesSection-CSu8D_--.js} +395 -397
- package/components/CasinoFavoritesSection-CTDSIK6K.cjs +16 -0
- package/components/{CasinoFilter-DLlf_jlI.js → CasinoFilter-BQco4GRM.js} +356 -375
- package/components/CasinoFilter-Be7ChTjO.cjs +3 -0
- package/components/{CasinoFilter-DHENHv5U.js → CasinoFilter-CFgzq88d.js} +358 -379
- package/components/CasinoGameThumbnail-AYuvxYto.cjs +47 -0
- package/components/{CasinoGameThumbnail-OuCoxWOH.js → CasinoGameThumbnail-BzpKOuaD.js} +888 -872
- package/components/{CasinoGameThumbnail-Dm5AQKVY.js → CasinoGameThumbnail-Caj4HhM2.js} +1370 -1386
- package/components/{CasinoGamesCategorySection-B8INQQL3.js → CasinoGamesCategorySection-16Tb44fQ.js} +261 -261
- package/components/{CasinoGamesCategorySection-BfsuAxNc.cjs → CasinoGamesCategorySection-CrhLMxZ5.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BjvIB0TT.js → CasinoGamesCategorySection-DSnVBVzo.js} +262 -262
- package/components/{CasinoLastPlayedSection-DR-FHiHh.js → CasinoLastPlayedSection-BvDjEq6X.js} +28 -28
- package/components/{CasinoLastPlayedSection-DmdeFsxD.cjs → CasinoLastPlayedSection-CsI52x7l.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DiVoQxXR.js → CasinoLastPlayedSection-cum_NsF0.js} +28 -28
- package/components/{CasinoMostPlayedSection-DIJhBEOA.cjs → CasinoMostPlayedSection-C-VSBGWL.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DmijTqIl.js → CasinoMostPlayedSection-CsbqV5_w.js} +46 -46
- package/components/{CasinoMostPlayedSection-DT5ZTf3l.js → CasinoMostPlayedSection-D975yEgj.js} +46 -46
- package/components/{CasinoMyGames-mU401roT.js → CasinoMyGames-C3IdDXGZ.js} +50 -50
- package/components/{CasinoMyGames-B6hfDMci.js → CasinoMyGames-Dvb2T-Q7.js} +53 -53
- package/components/{CasinoMyGames-3FV2Tbg2.cjs → CasinoMyGames-k4bEqmC_.cjs} +1 -1
- package/components/{CasinoSort-DBks1fZV.js → CasinoSort-85S3oaF1.js} +100 -99
- package/components/{CasinoSort-DXGj0KuE.js → CasinoSort-BM8HZTLl.js} +108 -109
- package/components/{CasinoSort-CNUhp3TR.cjs → CasinoSort-CERReItZ.cjs} +1 -1
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BJzf08Qh.js +519 -0
- package/stencil/index-b2193545-BcwULm-K.cjs +1 -0
- package/stencil/index-b2193545-BlEoeZZL.js +503 -0
- package/stencil/ui-skeleton-B_ESS51i.cjs +1 -0
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-C8koemPS.js} +8 -8
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-Cb-Iz3dC.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-8xls9UKV.cjs +73 -0
- package/stencil/ui-skeleton-ea659b95-BbvMCw6x.js +152 -0
- package/stencil/ui-skeleton-ea659b95-CGzZMsW7.js +152 -0
- package/components/CasinoFavoritesSection-BJM_3idN.cjs +0 -16
- package/components/CasinoFilter-Cnp9TX0y.cjs +0 -3
- package/components/CasinoGameThumbnail-rX1H_djB.cjs +0 -47
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
- package/stencil/ui-skeleton-C1buDKbo.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-BFJMszWG.js +0 -122
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-p8tGooXk.js +0 -122
package/components/{CasinoFavoritesSection-843hdcnn.js → CasinoFavoritesSection-CSu8D_--.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ye = (e, t, n) => t in e ?
|
|
1
|
+
var Dt = Object.defineProperty, Gt = Object.defineProperties;
|
|
2
|
+
var Ft = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Fe = Object.getOwnPropertySymbols;
|
|
4
|
+
var jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ye = (e, t, n) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, je = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
jt.call(t, n) && ye(e, n, t[n]);
|
|
8
|
+
if (Fe)
|
|
9
|
+
for (var n of Fe(t))
|
|
10
|
+
kt.call(t, n) && ye(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, ke = (e, t) => Gt(e, Ft(t));
|
|
13
13
|
var S = (e, t, n) => (ye(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
-
var
|
|
14
|
+
var Ve = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
u(n.next(l));
|
|
@@ -29,29 +29,29 @@ var ze = (e, t, n) => new Promise((r, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function ot(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Xe() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(ot);
|
|
40
40
|
}
|
|
41
41
|
function fe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ut(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let ie;
|
|
48
|
-
function
|
|
48
|
+
function oi(e, t) {
|
|
49
49
|
return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Vt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ht(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const r of t)
|
|
57
57
|
r(void 0);
|
|
@@ -60,23 +60,23 @@ function ft(e, ...t) {
|
|
|
60
60
|
const n = e.subscribe(...t);
|
|
61
61
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function ui(e, t, n) {
|
|
64
|
+
e.$$.on_destroy.push(ht(t, n));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function hi(e) {
|
|
67
67
|
return e && fe(e.destroy) ? e.destroy : O;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Xt(e, t) {
|
|
70
70
|
e.appendChild(t);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
const r =
|
|
72
|
+
function zt(e, t, n) {
|
|
73
|
+
const r = Wt(e);
|
|
74
74
|
if (!r.getElementById(t)) {
|
|
75
75
|
const i = ne("style");
|
|
76
|
-
i.id = t, i.textContent = n,
|
|
76
|
+
i.id = t, i.textContent = n, Zt(r, i);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Wt(e) {
|
|
80
80
|
if (!e)
|
|
81
81
|
return document;
|
|
82
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -86,8 +86,8 @@ function Qt(e) {
|
|
|
86
86
|
t
|
|
87
87
|
) : e.ownerDocument;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function Zt(e, t) {
|
|
90
|
+
return Xt(
|
|
91
91
|
/** @type {Document} */
|
|
92
92
|
e.head || e,
|
|
93
93
|
t
|
|
@@ -99,26 +99,26 @@ function ce(e, t, n) {
|
|
|
99
99
|
function te(e) {
|
|
100
100
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function li(e, t) {
|
|
103
103
|
for (let n = 0; n < e.length; n += 1)
|
|
104
104
|
e[n] && e[n].d(t);
|
|
105
105
|
}
|
|
106
106
|
function ne(e) {
|
|
107
107
|
return document.createElement(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Qt(e) {
|
|
110
110
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function lt(e) {
|
|
113
113
|
return document.createTextNode(e);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function fi() {
|
|
116
|
+
return lt(" ");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
118
|
+
function ci() {
|
|
119
|
+
return lt("");
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function mi(e, t, n, r) {
|
|
122
122
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
123
123
|
}
|
|
124
124
|
function Ue(e, t, n) {
|
|
@@ -128,20 +128,20 @@ function g(e, t, n) {
|
|
|
128
128
|
const r = t.toLowerCase();
|
|
129
129
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function qt(e) {
|
|
132
132
|
return Array.from(e.childNodes);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function gi(e, t) {
|
|
135
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
136
|
t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function di(e, t) {
|
|
139
139
|
e.value = t == null ? "" : t;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function bi(e, t, n) {
|
|
142
142
|
e.classList.toggle(t, !!n);
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class pi {
|
|
145
145
|
constructor(t = !1) {
|
|
146
146
|
/**
|
|
147
147
|
* @private
|
|
@@ -172,7 +172,7 @@ class yi {
|
|
|
172
172
|
* @returns {void}
|
|
173
173
|
*/
|
|
174
174
|
m(t, n, r = null) {
|
|
175
|
-
this.e || (this.is_svg ? this.e =
|
|
175
|
+
this.e || (this.is_svg ? this.e = Qt(
|
|
176
176
|
/** @type {keyof SVGElementTagNameMap} */
|
|
177
177
|
n.nodeName
|
|
178
178
|
) : this.e = ne(
|
|
@@ -211,7 +211,7 @@ class yi {
|
|
|
211
211
|
this.n.forEach(te);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Jt(e) {
|
|
215
215
|
const t = {};
|
|
216
216
|
return e.childNodes.forEach(
|
|
217
217
|
/** @param {Element} node */
|
|
@@ -224,23 +224,23 @@ let Y;
|
|
|
224
224
|
function J(e) {
|
|
225
225
|
Y = e;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Yt() {
|
|
228
228
|
if (!Y)
|
|
229
229
|
throw new Error("Function called outside component initialization");
|
|
230
230
|
return Y;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
232
|
+
function Kt(e) {
|
|
233
|
+
Yt().$$.on_mount.push(e);
|
|
234
234
|
}
|
|
235
235
|
const G = [], Be = [];
|
|
236
236
|
let F = [];
|
|
237
|
-
const
|
|
237
|
+
const ze = [], ft = /* @__PURE__ */ Promise.resolve();
|
|
238
238
|
let Ae = !1;
|
|
239
|
-
function
|
|
240
|
-
Ae || (Ae = !0,
|
|
239
|
+
function ct() {
|
|
240
|
+
Ae || (Ae = !0, ft.then(H));
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
242
|
+
function yi() {
|
|
243
|
+
return ct(), ft;
|
|
244
244
|
}
|
|
245
245
|
function we(e) {
|
|
246
246
|
F.push(e);
|
|
@@ -255,7 +255,7 @@ function H() {
|
|
|
255
255
|
try {
|
|
256
256
|
for (; U < G.length; ) {
|
|
257
257
|
const t = G[U];
|
|
258
|
-
U++, J(t),
|
|
258
|
+
U++, J(t), en(t.$$);
|
|
259
259
|
}
|
|
260
260
|
} catch (t) {
|
|
261
261
|
throw G.length = 0, U = 0, t;
|
|
@@ -268,32 +268,32 @@ function H() {
|
|
|
268
268
|
}
|
|
269
269
|
F.length = 0;
|
|
270
270
|
} while (G.length);
|
|
271
|
-
for (;
|
|
272
|
-
|
|
271
|
+
for (; ze.length; )
|
|
272
|
+
ze.pop()();
|
|
273
273
|
Ae = !1, Ee.clear(), J(e);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function en(e) {
|
|
276
276
|
if (e.fragment !== null) {
|
|
277
277
|
e.update(), z(e.before_update);
|
|
278
278
|
const t = e.dirty;
|
|
279
279
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function tn(e) {
|
|
283
283
|
const t = [], n = [];
|
|
284
284
|
F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
|
|
285
285
|
}
|
|
286
|
-
const
|
|
287
|
-
function
|
|
288
|
-
e && e.i && (
|
|
286
|
+
const nn = /* @__PURE__ */ new Set();
|
|
287
|
+
function mt(e, t) {
|
|
288
|
+
e && e.i && (nn.delete(e), e.i(t));
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function Ei(e) {
|
|
291
291
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function vi(e, t) {
|
|
294
294
|
e.d(1), t.delete(e.key);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function _i(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
297
297
|
let f = e.length, b = s.length, y = f;
|
|
298
298
|
const _ = {};
|
|
299
299
|
for (; y--; )
|
|
@@ -306,7 +306,7 @@ function xi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
306
306
|
}
|
|
307
307
|
const N = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
308
308
|
function I(c) {
|
|
309
|
-
|
|
309
|
+
mt(c, 1), c.m(u, h), a.set(c.key, c), h = c.first, b--;
|
|
310
310
|
}
|
|
311
311
|
for (; f && b; ) {
|
|
312
312
|
const c = T[b - 1], L = e[f - 1], C = c.key, re = L.key;
|
|
@@ -320,21 +320,21 @@ function xi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
320
320
|
I(T[b - 1]);
|
|
321
321
|
return z(B), T;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function rn(e, t, n) {
|
|
324
324
|
const { fragment: r, after_update: i } = e.$$;
|
|
325
325
|
r && r.m(t, n), we(() => {
|
|
326
|
-
const s = e.$$.on_mount.map(
|
|
326
|
+
const s = e.$$.on_mount.map(ot).filter(fe);
|
|
327
327
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
328
328
|
}), i.forEach(we);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function sn(e, t) {
|
|
331
331
|
const n = e.$$;
|
|
332
|
-
n.fragment !== null && (
|
|
332
|
+
n.fragment !== null && (tn(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
|
334
|
+
function an(e, t) {
|
|
335
|
+
e.$$.dirty[0] === -1 && (G.push(e), ct(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
338
338
|
const l = Y;
|
|
339
339
|
J(e);
|
|
340
340
|
const o = e.$$ = {
|
|
@@ -344,7 +344,7 @@ function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
344
344
|
props: s,
|
|
345
345
|
update: O,
|
|
346
346
|
not_equal: i,
|
|
347
|
-
bound:
|
|
347
|
+
bound: Xe(),
|
|
348
348
|
// lifecycle
|
|
349
349
|
on_mount: [],
|
|
350
350
|
on_destroy: [],
|
|
@@ -353,7 +353,7 @@ function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
353
353
|
after_update: [],
|
|
354
354
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
355
355
|
// everything else
|
|
356
|
-
callbacks:
|
|
356
|
+
callbacks: Xe(),
|
|
357
357
|
dirty: u,
|
|
358
358
|
skip_bound: !1,
|
|
359
359
|
root: t.target || l.$$.root
|
|
@@ -362,19 +362,19 @@ function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
362
362
|
let h = !1;
|
|
363
363
|
if (o.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
|
|
364
364
|
const y = b.length ? b[0] : f;
|
|
365
|
-
return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h &&
|
|
365
|
+
return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h && an(e, m)), f;
|
|
366
366
|
}) : [], o.update(), h = !0, z(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
|
|
367
367
|
if (t.hydrate) {
|
|
368
|
-
const m =
|
|
368
|
+
const m = qt(t.target);
|
|
369
369
|
o.fragment && o.fragment.l(m), m.forEach(te);
|
|
370
370
|
} else
|
|
371
371
|
o.fragment && o.fragment.c();
|
|
372
|
-
t.intro &&
|
|
372
|
+
t.intro && mt(e.$$.fragment), rn(e, t.target, t.anchor), H();
|
|
373
373
|
}
|
|
374
374
|
J(l);
|
|
375
375
|
}
|
|
376
|
-
let
|
|
377
|
-
typeof HTMLElement == "function" && (
|
|
376
|
+
let gt;
|
|
377
|
+
typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
378
378
|
constructor(t, n, r) {
|
|
379
379
|
super();
|
|
380
380
|
/** The Svelte component constructor */
|
|
@@ -411,7 +411,7 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
connectedCallback() {
|
|
414
|
-
return
|
|
414
|
+
return Ve(this, null, function* () {
|
|
415
415
|
if (this.$$cn = !0, !this.$$c) {
|
|
416
416
|
let t = function(s) {
|
|
417
417
|
return () => {
|
|
@@ -435,7 +435,7 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
435
435
|
};
|
|
436
436
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
437
437
|
return;
|
|
438
|
-
const n = {}, r =
|
|
438
|
+
const n = {}, r = Jt(this);
|
|
439
439
|
for (const s of this.$$s)
|
|
440
440
|
s in r && (n[s] = [t(s)]);
|
|
441
441
|
for (const s of this.attributes) {
|
|
@@ -446,7 +446,7 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
446
446
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
447
447
|
this.$$c = new this.$$ctor({
|
|
448
448
|
target: this.shadowRoot || this,
|
|
449
|
-
props:
|
|
449
|
+
props: ke(je({}, this.$$d), {
|
|
450
450
|
$$slots: n,
|
|
451
451
|
$$scope: {
|
|
452
452
|
ctx: []
|
|
@@ -524,8 +524,8 @@ function ae(e, t, n, r) {
|
|
|
524
524
|
return t;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
let a = class extends
|
|
527
|
+
function un(e, t, n, r, i, s) {
|
|
528
|
+
let a = class extends gt {
|
|
529
529
|
constructor() {
|
|
530
530
|
super(e, n, i), this.$$p_d = t;
|
|
531
531
|
}
|
|
@@ -555,7 +555,7 @@ function ln(e, t, n, r, i, s) {
|
|
|
555
555
|
}), e.element = /** @type {any} */
|
|
556
556
|
a, a;
|
|
557
557
|
}
|
|
558
|
-
class
|
|
558
|
+
class hn {
|
|
559
559
|
constructor() {
|
|
560
560
|
/**
|
|
561
561
|
* ### PRIVATE API
|
|
@@ -576,7 +576,7 @@ class fn {
|
|
|
576
576
|
}
|
|
577
577
|
/** @returns {void} */
|
|
578
578
|
$destroy() {
|
|
579
|
-
|
|
579
|
+
sn(this, 1), this.$destroy = O;
|
|
580
580
|
}
|
|
581
581
|
/**
|
|
582
582
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -598,11 +598,11 @@ class fn {
|
|
|
598
598
|
* @returns {void}
|
|
599
599
|
*/
|
|
600
600
|
$set(t) {
|
|
601
|
-
this.$$set && !
|
|
601
|
+
this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
const
|
|
605
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
604
|
+
const ln = "4";
|
|
605
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
606
606
|
/*! *****************************************************************************
|
|
607
607
|
Copyright (c) Microsoft Corporation.
|
|
608
608
|
|
|
@@ -644,7 +644,7 @@ var E = function() {
|
|
|
644
644
|
return t;
|
|
645
645
|
}, E.apply(this, arguments);
|
|
646
646
|
};
|
|
647
|
-
function
|
|
647
|
+
function fn(e, t) {
|
|
648
648
|
var n = {};
|
|
649
649
|
for (var r in e)
|
|
650
650
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -653,7 +653,7 @@ function mn(e, t) {
|
|
|
653
653
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
654
654
|
return n;
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function xi(e) {
|
|
657
657
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
658
658
|
if (n)
|
|
659
659
|
return n.call(e);
|
|
@@ -665,7 +665,7 @@ function Hi(e) {
|
|
|
665
665
|
};
|
|
666
666
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function Hi(e, t) {
|
|
669
669
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
670
670
|
if (!n)
|
|
671
671
|
return e;
|
|
@@ -692,7 +692,7 @@ function ve(e, t, n) {
|
|
|
692
692
|
return e.concat(s || t);
|
|
693
693
|
}
|
|
694
694
|
const D = [];
|
|
695
|
-
function
|
|
695
|
+
function cn(e, t) {
|
|
696
696
|
return {
|
|
697
697
|
subscribe: ge(e, t).subscribe
|
|
698
698
|
};
|
|
@@ -701,7 +701,7 @@ function ge(e, t = O) {
|
|
|
701
701
|
let n;
|
|
702
702
|
const r = /* @__PURE__ */ new Set();
|
|
703
703
|
function i(u) {
|
|
704
|
-
if (
|
|
704
|
+
if (ut(e, u) && (e = u, n)) {
|
|
705
705
|
const l = !D.length;
|
|
706
706
|
for (const o of r)
|
|
707
707
|
o[1](), D.push(o, e);
|
|
@@ -728,7 +728,7 @@ function W(e, t, n) {
|
|
|
728
728
|
if (!i.every(Boolean))
|
|
729
729
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
730
730
|
const s = t.length < 2;
|
|
731
|
-
return
|
|
731
|
+
return cn(n, (a, u) => {
|
|
732
732
|
let l = !1;
|
|
733
733
|
const o = [];
|
|
734
734
|
let h = 0, m = O;
|
|
@@ -739,7 +739,7 @@ function W(e, t, n) {
|
|
|
739
739
|
const y = t(r ? o[0] : o, a, u);
|
|
740
740
|
s ? a(y) : m = fe(y) ? y : O;
|
|
741
741
|
}, b = i.map(
|
|
742
|
-
(y, _) =>
|
|
742
|
+
(y, _) => ht(
|
|
743
743
|
y,
|
|
744
744
|
(T) => {
|
|
745
745
|
o[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -754,70 +754,70 @@ function W(e, t, n) {
|
|
|
754
754
|
};
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function mn(e) {
|
|
758
758
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
759
759
|
}
|
|
760
|
-
var
|
|
761
|
-
return
|
|
760
|
+
var gn = function(t) {
|
|
761
|
+
return dn(t) && !bn(t);
|
|
762
762
|
};
|
|
763
|
-
function
|
|
763
|
+
function dn(e) {
|
|
764
764
|
return !!e && typeof e == "object";
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function bn(e) {
|
|
767
767
|
var t = Object.prototype.toString.call(e);
|
|
768
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
768
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
function
|
|
772
|
-
return e.$$typeof ===
|
|
770
|
+
var pn = typeof Symbol == "function" && Symbol.for, yn = pn ? Symbol.for("react.element") : 60103;
|
|
771
|
+
function En(e) {
|
|
772
|
+
return e.$$typeof === yn;
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function vn(e) {
|
|
775
775
|
return Array.isArray(e) ? [] : {};
|
|
776
776
|
}
|
|
777
777
|
function K(e, t) {
|
|
778
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
|
778
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(vn(e), e, t) : e;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function _n(e, t, n) {
|
|
781
781
|
return e.concat(t).map(function(r) {
|
|
782
782
|
return K(r, n);
|
|
783
783
|
});
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function xn(e, t) {
|
|
786
786
|
if (!t.customMerge)
|
|
787
787
|
return j;
|
|
788
788
|
var n = t.customMerge(e);
|
|
789
789
|
return typeof n == "function" ? n : j;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function Hn(e) {
|
|
792
792
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
793
793
|
return Object.propertyIsEnumerable.call(e, t);
|
|
794
794
|
}) : [];
|
|
795
795
|
}
|
|
796
|
-
function
|
|
797
|
-
return Object.keys(e).concat(
|
|
796
|
+
function We(e) {
|
|
797
|
+
return Object.keys(e).concat(Hn(e));
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function dt(e, t) {
|
|
800
800
|
try {
|
|
801
801
|
return t in e;
|
|
802
802
|
} catch (n) {
|
|
803
803
|
return !1;
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
return
|
|
806
|
+
function Tn(e, t) {
|
|
807
|
+
return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Sn(e, t, n) {
|
|
810
810
|
var r = {};
|
|
811
|
-
return n.isMergeableObject(e) &&
|
|
811
|
+
return n.isMergeableObject(e) && We(e).forEach(function(i) {
|
|
812
812
|
r[i] = K(e[i], n);
|
|
813
|
-
}),
|
|
814
|
-
|
|
813
|
+
}), We(t).forEach(function(i) {
|
|
814
|
+
Tn(e, i) || (dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = xn(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
|
|
815
815
|
}), r;
|
|
816
816
|
}
|
|
817
817
|
function j(e, t, n) {
|
|
818
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
818
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || _n, n.isMergeableObject = n.isMergeableObject || gn, n.cloneUnlessOtherwiseSpecified = K;
|
|
819
819
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
820
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
820
|
+
return s ? r ? n.arrayMerge(e, t, n) : Sn(e, t, n) : K(t, n);
|
|
821
821
|
}
|
|
822
822
|
j.all = function(t, n) {
|
|
823
823
|
if (!Array.isArray(t))
|
|
@@ -826,58 +826,56 @@ j.all = function(t, n) {
|
|
|
826
826
|
return j(r, i, n);
|
|
827
827
|
}, {});
|
|
828
828
|
};
|
|
829
|
-
var
|
|
830
|
-
const
|
|
829
|
+
var Bn = j, An = Bn;
|
|
830
|
+
const wn = /* @__PURE__ */ mn(An);
|
|
831
831
|
function _e(e, t) {
|
|
832
|
-
var n = t && t.cache ? t.cache :
|
|
832
|
+
var n = t && t.cache ? t.cache : Mn, r = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : On;
|
|
833
833
|
return i(e, {
|
|
834
834
|
cache: n,
|
|
835
835
|
serializer: r
|
|
836
836
|
});
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function Pn(e) {
|
|
839
839
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
840
840
|
}
|
|
841
|
-
function
|
|
842
|
-
var i =
|
|
841
|
+
function Nn(e, t, n, r) {
|
|
842
|
+
var i = Pn(r) ? r : n(r), s = t.get(i);
|
|
843
843
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function bt(e, t, n) {
|
|
846
846
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
847
847
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function pt(e, t, n, r, i) {
|
|
850
850
|
return n.bind(t, e, r, i);
|
|
851
851
|
}
|
|
852
|
-
function
|
|
853
|
-
var n = e.length === 1 ?
|
|
854
|
-
return
|
|
855
|
-
}
|
|
856
|
-
function Ln(e, t) {
|
|
857
|
-
return De(e, this, Et, t.cache.create(), t.serializer);
|
|
852
|
+
function On(e, t) {
|
|
853
|
+
var n = e.length === 1 ? Nn : bt;
|
|
854
|
+
return pt(e, this, n, t.cache.create(), t.serializer);
|
|
858
855
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
856
|
+
function In(e, t) {
|
|
857
|
+
return pt(e, this, bt, t.cache.create(), t.serializer);
|
|
861
858
|
}
|
|
862
|
-
var
|
|
859
|
+
var Ln = function() {
|
|
863
860
|
return JSON.stringify(arguments);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
861
|
+
}, Cn = (
|
|
862
|
+
/** @class */
|
|
863
|
+
function() {
|
|
864
|
+
function e() {
|
|
865
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
866
|
+
}
|
|
867
|
+
return e.prototype.get = function(t) {
|
|
868
|
+
return this.cache[t];
|
|
869
|
+
}, e.prototype.set = function(t, n) {
|
|
870
|
+
this.cache[t] = n;
|
|
871
|
+
}, e;
|
|
872
|
+
}()
|
|
873
|
+
), Mn = {
|
|
875
874
|
create: function() {
|
|
876
|
-
return new
|
|
875
|
+
return new Cn();
|
|
877
876
|
}
|
|
878
877
|
}, xe = {
|
|
879
|
-
variadic:
|
|
880
|
-
monadic: Cn
|
|
878
|
+
variadic: In
|
|
881
879
|
}, d;
|
|
882
880
|
(function(e) {
|
|
883
881
|
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";
|
|
@@ -890,43 +888,43 @@ var k;
|
|
|
890
888
|
(function(e) {
|
|
891
889
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
892
890
|
})(k || (k = {}));
|
|
893
|
-
function
|
|
891
|
+
function Ze(e) {
|
|
894
892
|
return e.type === v.literal;
|
|
895
893
|
}
|
|
896
|
-
function
|
|
894
|
+
function Rn(e) {
|
|
897
895
|
return e.type === v.argument;
|
|
898
896
|
}
|
|
899
|
-
function
|
|
897
|
+
function yt(e) {
|
|
900
898
|
return e.type === v.number;
|
|
901
899
|
}
|
|
902
|
-
function
|
|
900
|
+
function Et(e) {
|
|
903
901
|
return e.type === v.date;
|
|
904
902
|
}
|
|
905
|
-
function
|
|
903
|
+
function vt(e) {
|
|
906
904
|
return e.type === v.time;
|
|
907
905
|
}
|
|
908
|
-
function
|
|
906
|
+
function _t(e) {
|
|
909
907
|
return e.type === v.select;
|
|
910
908
|
}
|
|
911
|
-
function
|
|
909
|
+
function xt(e) {
|
|
912
910
|
return e.type === v.plural;
|
|
913
911
|
}
|
|
914
|
-
function
|
|
912
|
+
function $n(e) {
|
|
915
913
|
return e.type === v.pound;
|
|
916
914
|
}
|
|
917
|
-
function
|
|
915
|
+
function Ht(e) {
|
|
918
916
|
return e.type === v.tag;
|
|
919
917
|
}
|
|
920
|
-
function
|
|
918
|
+
function Tt(e) {
|
|
921
919
|
return !!(e && typeof e == "object" && e.type === k.number);
|
|
922
920
|
}
|
|
923
921
|
function Ne(e) {
|
|
924
922
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
925
923
|
}
|
|
926
|
-
var
|
|
927
|
-
function
|
|
924
|
+
var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
925
|
+
function Dn(e) {
|
|
928
926
|
var t = {};
|
|
929
|
-
return e.replace(
|
|
927
|
+
return e.replace(Un, function(n) {
|
|
930
928
|
var r = n.length;
|
|
931
929
|
switch (n[0]) {
|
|
932
930
|
case "G":
|
|
@@ -1015,11 +1013,11 @@ function Gn(e) {
|
|
|
1015
1013
|
return "";
|
|
1016
1014
|
}), t;
|
|
1017
1015
|
}
|
|
1018
|
-
var
|
|
1019
|
-
function
|
|
1016
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1017
|
+
function Fn(e) {
|
|
1020
1018
|
if (e.length === 0)
|
|
1021
1019
|
throw new Error("Number skeleton cannot be empty");
|
|
1022
|
-
for (var t = e.split(
|
|
1020
|
+
for (var t = e.split(Gn).filter(function(f) {
|
|
1023
1021
|
return f.length > 0;
|
|
1024
1022
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1025
1023
|
var s = i[r], a = s.split("/");
|
|
@@ -1034,17 +1032,17 @@ function jn(e) {
|
|
|
1034
1032
|
}
|
|
1035
1033
|
return n;
|
|
1036
1034
|
}
|
|
1037
|
-
function
|
|
1035
|
+
function jn(e) {
|
|
1038
1036
|
return e.replace(/^(.*?)-/, "");
|
|
1039
1037
|
}
|
|
1040
|
-
var
|
|
1041
|
-
function
|
|
1038
|
+
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
|
|
1039
|
+
function qe(e) {
|
|
1042
1040
|
var t = {};
|
|
1043
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1041
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(n, r, i) {
|
|
1044
1042
|
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)), "";
|
|
1045
1043
|
}), t;
|
|
1046
1044
|
}
|
|
1047
|
-
function
|
|
1045
|
+
function wt(e) {
|
|
1048
1046
|
switch (e) {
|
|
1049
1047
|
case "sign-auto":
|
|
1050
1048
|
return {
|
|
@@ -1084,7 +1082,7 @@ function Nt(e) {
|
|
|
1084
1082
|
};
|
|
1085
1083
|
}
|
|
1086
1084
|
}
|
|
1087
|
-
function
|
|
1085
|
+
function Vn(e) {
|
|
1088
1086
|
var t;
|
|
1089
1087
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1090
1088
|
notation: "engineering"
|
|
@@ -1092,17 +1090,17 @@ function Xn(e) {
|
|
|
1092
1090
|
notation: "scientific"
|
|
1093
1091
|
}, e = e.slice(1)), t) {
|
|
1094
1092
|
var n = e.slice(0, 2);
|
|
1095
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1093
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
|
|
1096
1094
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1097
1095
|
t.minimumIntegerDigits = e.length;
|
|
1098
1096
|
}
|
|
1099
1097
|
return t;
|
|
1100
1098
|
}
|
|
1101
|
-
function
|
|
1102
|
-
var t = {}, n =
|
|
1099
|
+
function Je(e) {
|
|
1100
|
+
var t = {}, n = wt(e);
|
|
1103
1101
|
return n || t;
|
|
1104
1102
|
}
|
|
1105
|
-
function
|
|
1103
|
+
function Xn(e) {
|
|
1106
1104
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1107
1105
|
var i = r[n];
|
|
1108
1106
|
switch (i.stem) {
|
|
@@ -1126,7 +1124,7 @@ function zn(e) {
|
|
|
1126
1124
|
continue;
|
|
1127
1125
|
case "measure-unit":
|
|
1128
1126
|
case "unit":
|
|
1129
|
-
t.style = "unit", t.unit =
|
|
1127
|
+
t.style = "unit", t.unit = jn(i.options[0]);
|
|
1130
1128
|
continue;
|
|
1131
1129
|
case "compact-short":
|
|
1132
1130
|
case "K":
|
|
@@ -1138,12 +1136,12 @@ function zn(e) {
|
|
|
1138
1136
|
continue;
|
|
1139
1137
|
case "scientific":
|
|
1140
1138
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
|
1141
|
-
return E(E({}, l),
|
|
1139
|
+
return E(E({}, l), Je(o));
|
|
1142
1140
|
}, {}));
|
|
1143
1141
|
continue;
|
|
1144
1142
|
case "engineering":
|
|
1145
1143
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
|
1146
|
-
return E(E({}, l),
|
|
1144
|
+
return E(E({}, l), Je(o));
|
|
1147
1145
|
}, {}));
|
|
1148
1146
|
continue;
|
|
1149
1147
|
case "notation-simple":
|
|
@@ -1188,7 +1186,7 @@ function zn(e) {
|
|
|
1188
1186
|
case "integer-width":
|
|
1189
1187
|
if (i.options.length > 1)
|
|
1190
1188
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1191
|
-
i.options[0].replace(
|
|
1189
|
+
i.options[0].replace(kn, function(l, o, h, m, f, b) {
|
|
1192
1190
|
if (o)
|
|
1193
1191
|
t.minimumIntegerDigits = h.length;
|
|
1194
1192
|
else {
|
|
@@ -1201,27 +1199,27 @@ function zn(e) {
|
|
|
1201
1199
|
});
|
|
1202
1200
|
continue;
|
|
1203
1201
|
}
|
|
1204
|
-
if (
|
|
1202
|
+
if (At.test(i.stem)) {
|
|
1205
1203
|
t.minimumIntegerDigits = i.stem.length;
|
|
1206
1204
|
continue;
|
|
1207
1205
|
}
|
|
1208
|
-
if (
|
|
1206
|
+
if (Qe.test(i.stem)) {
|
|
1209
1207
|
if (i.options.length > 1)
|
|
1210
1208
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1211
|
-
i.stem.replace(
|
|
1209
|
+
i.stem.replace(Qe, function(l, o, h, m, f, b) {
|
|
1212
1210
|
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), "";
|
|
1213
1211
|
});
|
|
1214
1212
|
var s = i.options[0];
|
|
1215
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1213
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), qe(s)));
|
|
1216
1214
|
continue;
|
|
1217
1215
|
}
|
|
1218
|
-
if (
|
|
1219
|
-
t = E(E({}, t),
|
|
1216
|
+
if (Bt.test(i.stem)) {
|
|
1217
|
+
t = E(E({}, t), qe(i.stem));
|
|
1220
1218
|
continue;
|
|
1221
1219
|
}
|
|
1222
|
-
var a =
|
|
1220
|
+
var a = wt(i.stem);
|
|
1223
1221
|
a && (t = E(E({}, t), a));
|
|
1224
|
-
var u =
|
|
1222
|
+
var u = Vn(i.stem);
|
|
1225
1223
|
u && (t = E(E({}, t), u));
|
|
1226
1224
|
}
|
|
1227
1225
|
return t;
|
|
@@ -2641,13 +2639,13 @@ var se = {
|
|
|
2641
2639
|
"h"
|
|
2642
2640
|
]
|
|
2643
2641
|
};
|
|
2644
|
-
function
|
|
2642
|
+
function zn(e, t) {
|
|
2645
2643
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2646
2644
|
var i = e.charAt(r);
|
|
2647
2645
|
if (i === "j") {
|
|
2648
2646
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2649
2647
|
s++, r++;
|
|
2650
|
-
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o =
|
|
2648
|
+
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Wn(t);
|
|
2651
2649
|
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
|
2652
2650
|
n += l;
|
|
2653
2651
|
for (; a-- > 0; )
|
|
@@ -2657,7 +2655,7 @@ function Wn(e, t) {
|
|
|
2657
2655
|
}
|
|
2658
2656
|
return n;
|
|
2659
2657
|
}
|
|
2660
|
-
function
|
|
2658
|
+
function Wn(e) {
|
|
2661
2659
|
var t = e.hourCycle;
|
|
2662
2660
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2663
2661
|
e.hourCycles && // @ts-ignore
|
|
@@ -2679,20 +2677,20 @@ function Zn(e) {
|
|
|
2679
2677
|
var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
|
|
2680
2678
|
return i[0];
|
|
2681
2679
|
}
|
|
2682
|
-
var He,
|
|
2680
|
+
var He, Zn = new RegExp("^".concat(St.source, "*")), Qn = new RegExp("".concat(St.source, "*$"));
|
|
2683
2681
|
function p(e, t) {
|
|
2684
2682
|
return { start: e, end: t };
|
|
2685
2683
|
}
|
|
2686
|
-
var
|
|
2684
|
+
var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, er = !!String.prototype.trimStart, tr = !!String.prototype.trimEnd, nr = !!Number.isSafeInteger, rr = nr ? Number.isSafeInteger : function(e) {
|
|
2687
2685
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2688
2686
|
}, Oe = !0;
|
|
2689
2687
|
try {
|
|
2690
|
-
var
|
|
2691
|
-
Oe = ((He =
|
|
2688
|
+
var ir = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2689
|
+
Oe = ((He = ir.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
2692
2690
|
} catch (e) {
|
|
2693
2691
|
Oe = !1;
|
|
2694
2692
|
}
|
|
2695
|
-
var
|
|
2693
|
+
var Ye = qn ? (
|
|
2696
2694
|
// Native
|
|
2697
2695
|
function(t, n, r) {
|
|
2698
2696
|
return t.startsWith(n, r);
|
|
@@ -2702,7 +2700,7 @@ var et = Jn ? (
|
|
|
2702
2700
|
function(t, n, r) {
|
|
2703
2701
|
return t.slice(r, r + n.length) === n;
|
|
2704
2702
|
}
|
|
2705
|
-
), Ie =
|
|
2703
|
+
), Ie = Jn ? String.fromCodePoint : (
|
|
2706
2704
|
// IE11
|
|
2707
2705
|
function() {
|
|
2708
2706
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2714,9 +2712,9 @@ var et = Jn ? (
|
|
|
2714
2712
|
}
|
|
2715
2713
|
return r;
|
|
2716
2714
|
}
|
|
2717
|
-
),
|
|
2715
|
+
), Ke = (
|
|
2718
2716
|
// native
|
|
2719
|
-
|
|
2717
|
+
Yn ? Object.fromEntries : (
|
|
2720
2718
|
// Ponyfill
|
|
2721
2719
|
function(t) {
|
|
2722
2720
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2726,7 +2724,7 @@ var et = Jn ? (
|
|
|
2726
2724
|
return n;
|
|
2727
2725
|
}
|
|
2728
2726
|
)
|
|
2729
|
-
),
|
|
2727
|
+
), Pt = Kn ? (
|
|
2730
2728
|
// Native
|
|
2731
2729
|
function(t, n) {
|
|
2732
2730
|
return t.codePointAt(n);
|
|
@@ -2740,7 +2738,7 @@ var et = Jn ? (
|
|
|
2740
2738
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2741
2739
|
}
|
|
2742
2740
|
}
|
|
2743
|
-
),
|
|
2741
|
+
), sr = er ? (
|
|
2744
2742
|
// Native
|
|
2745
2743
|
function(t) {
|
|
2746
2744
|
return t.trimStart();
|
|
@@ -2748,9 +2746,9 @@ var et = Jn ? (
|
|
|
2748
2746
|
) : (
|
|
2749
2747
|
// Ponyfill
|
|
2750
2748
|
function(t) {
|
|
2751
|
-
return t.replace(
|
|
2749
|
+
return t.replace(Zn, "");
|
|
2752
2750
|
}
|
|
2753
|
-
),
|
|
2751
|
+
), ar = tr ? (
|
|
2754
2752
|
// Native
|
|
2755
2753
|
function(t) {
|
|
2756
2754
|
return t.trimEnd();
|
|
@@ -2758,32 +2756,32 @@ var et = Jn ? (
|
|
|
2758
2756
|
) : (
|
|
2759
2757
|
// Ponyfill
|
|
2760
2758
|
function(t) {
|
|
2761
|
-
return t.replace(
|
|
2759
|
+
return t.replace(Qn, "");
|
|
2762
2760
|
}
|
|
2763
2761
|
);
|
|
2764
|
-
function
|
|
2762
|
+
function Nt(e, t) {
|
|
2765
2763
|
return new RegExp(e, t);
|
|
2766
2764
|
}
|
|
2767
2765
|
var Le;
|
|
2768
2766
|
if (Oe) {
|
|
2769
|
-
var
|
|
2767
|
+
var et = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2770
2768
|
Le = function(t, n) {
|
|
2771
2769
|
var r;
|
|
2772
|
-
|
|
2773
|
-
var i =
|
|
2770
|
+
et.lastIndex = n;
|
|
2771
|
+
var i = et.exec(t);
|
|
2774
2772
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2775
2773
|
};
|
|
2776
2774
|
} else
|
|
2777
2775
|
Le = function(t, n) {
|
|
2778
2776
|
for (var r = []; ; ) {
|
|
2779
|
-
var i =
|
|
2780
|
-
if (i === void 0 ||
|
|
2777
|
+
var i = Pt(t, n);
|
|
2778
|
+
if (i === void 0 || Ot(i) || lr(i))
|
|
2781
2779
|
break;
|
|
2782
2780
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2783
2781
|
}
|
|
2784
2782
|
return Ie.apply(void 0, r);
|
|
2785
2783
|
};
|
|
2786
|
-
var
|
|
2784
|
+
var or = (
|
|
2787
2785
|
/** @class */
|
|
2788
2786
|
function() {
|
|
2789
2787
|
function e(t, n) {
|
|
@@ -2865,7 +2863,7 @@ var ur = (
|
|
|
2865
2863
|
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2866
2864
|
}, e.prototype.parseTagName = function() {
|
|
2867
2865
|
var t = this.offset();
|
|
2868
|
-
for (this.bump(); !this.isEOF() &&
|
|
2866
|
+
for (this.bump(); !this.isEOF() && hr(this.char()); )
|
|
2869
2867
|
this.bump();
|
|
2870
2868
|
return this.message.slice(t, this.offset());
|
|
2871
2869
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2894,7 +2892,7 @@ var ur = (
|
|
|
2894
2892
|
};
|
|
2895
2893
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2896
2894
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2897
|
-
!
|
|
2895
|
+
!ur(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2898
2896
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2899
2897
|
if (this.isEOF() || this.char() !== 39)
|
|
2900
2898
|
return null;
|
|
@@ -2981,7 +2979,7 @@ var ur = (
|
|
|
2981
2979
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2982
2980
|
if (m.err)
|
|
2983
2981
|
return m;
|
|
2984
|
-
var f =
|
|
2982
|
+
var f = ar(m.val);
|
|
2985
2983
|
if (f.length === 0)
|
|
2986
2984
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2987
2985
|
var b = p(h, this.clonePosition());
|
|
@@ -2991,8 +2989,8 @@ var ur = (
|
|
|
2991
2989
|
if (y.err)
|
|
2992
2990
|
return y;
|
|
2993
2991
|
var _ = p(i, this.clonePosition());
|
|
2994
|
-
if (o &&
|
|
2995
|
-
var T =
|
|
2992
|
+
if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
|
|
2993
|
+
var T = sr(o.style.slice(2));
|
|
2996
2994
|
if (u === "number") {
|
|
2997
2995
|
var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
|
|
2998
2996
|
return m.err ? m : {
|
|
@@ -3003,12 +3001,12 @@ var ur = (
|
|
|
3003
3001
|
if (T.length === 0)
|
|
3004
3002
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
3005
3003
|
var P = T;
|
|
3006
|
-
this.locale && (P =
|
|
3004
|
+
this.locale && (P = zn(T, this.locale));
|
|
3007
3005
|
var f = {
|
|
3008
3006
|
type: k.dateTime,
|
|
3009
3007
|
pattern: P,
|
|
3010
3008
|
location: o.styleLocation,
|
|
3011
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3009
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(P) : {}
|
|
3012
3010
|
}, w = u === "date" ? v.date : v.time;
|
|
3013
3011
|
return {
|
|
3014
3012
|
val: { type: w, value: r, location: _, style: f },
|
|
@@ -3054,7 +3052,7 @@ var ur = (
|
|
|
3054
3052
|
val: {
|
|
3055
3053
|
type: v.select,
|
|
3056
3054
|
value: r,
|
|
3057
|
-
options:
|
|
3055
|
+
options: Ke(I.val),
|
|
3058
3056
|
location: c
|
|
3059
3057
|
},
|
|
3060
3058
|
err: null
|
|
@@ -3062,7 +3060,7 @@ var ur = (
|
|
|
3062
3060
|
val: {
|
|
3063
3061
|
type: v.plural,
|
|
3064
3062
|
value: r,
|
|
3065
|
-
options:
|
|
3063
|
+
options: Ke(I.val),
|
|
3066
3064
|
offset: x,
|
|
3067
3065
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3068
3066
|
location: c
|
|
@@ -3113,7 +3111,7 @@ var ur = (
|
|
|
3113
3111
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3114
3112
|
var r = [];
|
|
3115
3113
|
try {
|
|
3116
|
-
r =
|
|
3114
|
+
r = Fn(t);
|
|
3117
3115
|
} catch (i) {
|
|
3118
3116
|
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3119
3117
|
}
|
|
@@ -3122,7 +3120,7 @@ var ur = (
|
|
|
3122
3120
|
type: k.number,
|
|
3123
3121
|
tokens: r,
|
|
3124
3122
|
location: n,
|
|
3125
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3123
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(r) : {}
|
|
3126
3124
|
},
|
|
3127
3125
|
err: null
|
|
3128
3126
|
};
|
|
@@ -3170,7 +3168,7 @@ var ur = (
|
|
|
3170
3168
|
break;
|
|
3171
3169
|
}
|
|
3172
3170
|
var l = p(i, this.clonePosition());
|
|
3173
|
-
return s ? (a *= r,
|
|
3171
|
+
return s ? (a *= r, rr(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3174
3172
|
}, e.prototype.offset = function() {
|
|
3175
3173
|
return this.position.offset;
|
|
3176
3174
|
}, e.prototype.isEOF = function() {
|
|
@@ -3185,7 +3183,7 @@ var ur = (
|
|
|
3185
3183
|
var t = this.position.offset;
|
|
3186
3184
|
if (t >= this.message.length)
|
|
3187
3185
|
throw Error("out of bound");
|
|
3188
|
-
var n =
|
|
3186
|
+
var n = Pt(this.message, t);
|
|
3189
3187
|
if (n === void 0)
|
|
3190
3188
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3191
3189
|
return n;
|
|
@@ -3204,7 +3202,7 @@ var ur = (
|
|
|
3204
3202
|
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);
|
|
3205
3203
|
}
|
|
3206
3204
|
}, e.prototype.bumpIf = function(t) {
|
|
3207
|
-
if (
|
|
3205
|
+
if (Ye(this.message, t, this.offset())) {
|
|
3208
3206
|
for (var n = 0; n < t.length; n++)
|
|
3209
3207
|
this.bump();
|
|
3210
3208
|
return !0;
|
|
@@ -3226,7 +3224,7 @@ var ur = (
|
|
|
3226
3224
|
break;
|
|
3227
3225
|
}
|
|
3228
3226
|
}, e.prototype.bumpSpace = function() {
|
|
3229
|
-
for (; !this.isEOF() &&
|
|
3227
|
+
for (; !this.isEOF() && Ot(this.char()); )
|
|
3230
3228
|
this.bump();
|
|
3231
3229
|
}, e.prototype.peek = function() {
|
|
3232
3230
|
if (this.isEOF())
|
|
@@ -3239,30 +3237,30 @@ var ur = (
|
|
|
3239
3237
|
function Ce(e) {
|
|
3240
3238
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3241
3239
|
}
|
|
3242
|
-
function
|
|
3240
|
+
function ur(e) {
|
|
3243
3241
|
return Ce(e) || e === 47;
|
|
3244
3242
|
}
|
|
3245
|
-
function
|
|
3243
|
+
function hr(e) {
|
|
3246
3244
|
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;
|
|
3247
3245
|
}
|
|
3248
|
-
function
|
|
3246
|
+
function Ot(e) {
|
|
3249
3247
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3250
3248
|
}
|
|
3251
|
-
function
|
|
3249
|
+
function lr(e) {
|
|
3252
3250
|
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;
|
|
3253
3251
|
}
|
|
3254
3252
|
function Me(e) {
|
|
3255
3253
|
e.forEach(function(t) {
|
|
3256
|
-
if (delete t.location,
|
|
3254
|
+
if (delete t.location, _t(t) || xt(t))
|
|
3257
3255
|
for (var n in t.options)
|
|
3258
3256
|
delete t.options[n].location, Me(t.options[n].value);
|
|
3259
3257
|
else
|
|
3260
|
-
|
|
3258
|
+
yt(t) && Tt(t.style) || (Et(t) || vt(t)) && Ne(t.style) ? delete t.style.location : Ht(t) && Me(t.children);
|
|
3261
3259
|
});
|
|
3262
3260
|
}
|
|
3263
|
-
function
|
|
3261
|
+
function fr(e, t) {
|
|
3264
3262
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3265
|
-
var n = new
|
|
3263
|
+
var n = new or(e, t).parse();
|
|
3266
3264
|
if (n.err) {
|
|
3267
3265
|
var r = SyntaxError(d[n.err.kind]);
|
|
3268
3266
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
@@ -3285,7 +3283,7 @@ var de = (
|
|
|
3285
3283
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3286
3284
|
}, t;
|
|
3287
3285
|
}(Error)
|
|
3288
|
-
),
|
|
3286
|
+
), tt = (
|
|
3289
3287
|
/** @class */
|
|
3290
3288
|
function(e) {
|
|
3291
3289
|
me(t, e);
|
|
@@ -3294,7 +3292,7 @@ var de = (
|
|
|
3294
3292
|
}
|
|
3295
3293
|
return t;
|
|
3296
3294
|
}(de)
|
|
3297
|
-
),
|
|
3295
|
+
), cr = (
|
|
3298
3296
|
/** @class */
|
|
3299
3297
|
function(e) {
|
|
3300
3298
|
me(t, e);
|
|
@@ -3303,7 +3301,7 @@ var de = (
|
|
|
3303
3301
|
}
|
|
3304
3302
|
return t;
|
|
3305
3303
|
}(de)
|
|
3306
|
-
),
|
|
3304
|
+
), mr = (
|
|
3307
3305
|
/** @class */
|
|
3308
3306
|
function(e) {
|
|
3309
3307
|
me(t, e);
|
|
@@ -3316,17 +3314,17 @@ var de = (
|
|
|
3316
3314
|
(function(e) {
|
|
3317
3315
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3318
3316
|
})(A || (A = {}));
|
|
3319
|
-
function
|
|
3317
|
+
function gr(e) {
|
|
3320
3318
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3321
3319
|
var r = t[t.length - 1];
|
|
3322
3320
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3323
3321
|
}, []);
|
|
3324
3322
|
}
|
|
3325
|
-
function
|
|
3323
|
+
function dr(e) {
|
|
3326
3324
|
return typeof e == "function";
|
|
3327
3325
|
}
|
|
3328
3326
|
function oe(e, t, n, r, i, s, a) {
|
|
3329
|
-
if (e.length === 1 &&
|
|
3327
|
+
if (e.length === 1 && Ze(e[0]))
|
|
3330
3328
|
return [
|
|
3331
3329
|
{
|
|
3332
3330
|
type: A.literal,
|
|
@@ -3335,14 +3333,14 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3335
3333
|
];
|
|
3336
3334
|
for (var u = [], l = 0, o = e; l < o.length; l++) {
|
|
3337
3335
|
var h = o[l];
|
|
3338
|
-
if (
|
|
3336
|
+
if (Ze(h)) {
|
|
3339
3337
|
u.push({
|
|
3340
3338
|
type: A.literal,
|
|
3341
3339
|
value: h.value
|
|
3342
3340
|
});
|
|
3343
3341
|
continue;
|
|
3344
3342
|
}
|
|
3345
|
-
if (
|
|
3343
|
+
if ($n(h)) {
|
|
3346
3344
|
typeof s == "number" && u.push({
|
|
3347
3345
|
type: A.literal,
|
|
3348
3346
|
value: n.getNumberFormat(t).format(s)
|
|
@@ -3351,16 +3349,16 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3351
3349
|
}
|
|
3352
3350
|
var m = h.value;
|
|
3353
3351
|
if (!(i && m in i))
|
|
3354
|
-
throw new
|
|
3352
|
+
throw new mr(m, a);
|
|
3355
3353
|
var f = i[m];
|
|
3356
|
-
if (
|
|
3354
|
+
if (Rn(h)) {
|
|
3357
3355
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3358
3356
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3359
3357
|
value: f
|
|
3360
3358
|
});
|
|
3361
3359
|
continue;
|
|
3362
3360
|
}
|
|
3363
|
-
if (
|
|
3361
|
+
if (Et(h)) {
|
|
3364
3362
|
var b = typeof h.style == "string" ? r.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
|
|
3365
3363
|
u.push({
|
|
3366
3364
|
type: A.literal,
|
|
@@ -3368,7 +3366,7 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3368
3366
|
});
|
|
3369
3367
|
continue;
|
|
3370
3368
|
}
|
|
3371
|
-
if (
|
|
3369
|
+
if (vt(h)) {
|
|
3372
3370
|
var b = typeof h.style == "string" ? r.time[h.style] : Ne(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3373
3371
|
u.push({
|
|
3374
3372
|
type: A.literal,
|
|
@@ -3376,18 +3374,18 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3376
3374
|
});
|
|
3377
3375
|
continue;
|
|
3378
3376
|
}
|
|
3379
|
-
if (
|
|
3380
|
-
var b = typeof h.style == "string" ? r.number[h.style] :
|
|
3377
|
+
if (yt(h)) {
|
|
3378
|
+
var b = typeof h.style == "string" ? r.number[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3381
3379
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3382
3380
|
type: A.literal,
|
|
3383
3381
|
value: n.getNumberFormat(t, b).format(f)
|
|
3384
3382
|
});
|
|
3385
3383
|
continue;
|
|
3386
3384
|
}
|
|
3387
|
-
if (
|
|
3385
|
+
if (Ht(h)) {
|
|
3388
3386
|
var y = h.children, _ = h.value, T = i[_];
|
|
3389
|
-
if (!
|
|
3390
|
-
throw new
|
|
3387
|
+
if (!dr(T))
|
|
3388
|
+
throw new cr(_, "function", a);
|
|
3391
3389
|
var P = oe(y, t, n, r, i, s), w = T(P.map(function(x) {
|
|
3392
3390
|
return x.value;
|
|
3393
3391
|
}));
|
|
@@ -3398,14 +3396,14 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3398
3396
|
};
|
|
3399
3397
|
}));
|
|
3400
3398
|
}
|
|
3401
|
-
if (
|
|
3399
|
+
if (_t(h)) {
|
|
3402
3400
|
var B = h.options[f] || h.options.other;
|
|
3403
3401
|
if (!B)
|
|
3404
|
-
throw new
|
|
3402
|
+
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3405
3403
|
u.push.apply(u, oe(B.value, t, n, r, i));
|
|
3406
3404
|
continue;
|
|
3407
3405
|
}
|
|
3408
|
-
if (
|
|
3406
|
+
if (xt(h)) {
|
|
3409
3407
|
var B = h.options["=".concat(f)];
|
|
3410
3408
|
if (!B) {
|
|
3411
3409
|
if (!Intl.PluralRules)
|
|
@@ -3416,21 +3414,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3416
3414
|
B = h.options[N] || h.options.other;
|
|
3417
3415
|
}
|
|
3418
3416
|
if (!B)
|
|
3419
|
-
throw new
|
|
3417
|
+
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3420
3418
|
u.push.apply(u, oe(B.value, t, n, r, i, f - (h.offset || 0)));
|
|
3421
3419
|
continue;
|
|
3422
3420
|
}
|
|
3423
3421
|
}
|
|
3424
|
-
return
|
|
3422
|
+
return gr(u);
|
|
3425
3423
|
}
|
|
3426
|
-
function
|
|
3424
|
+
function br(e, t) {
|
|
3427
3425
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3428
3426
|
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3429
3427
|
}, {})) : e;
|
|
3430
3428
|
}
|
|
3431
|
-
function
|
|
3429
|
+
function pr(e, t) {
|
|
3432
3430
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3433
|
-
return n[r] =
|
|
3431
|
+
return n[r] = br(e[r], t[r]), n;
|
|
3434
3432
|
}, E({}, e)) : e;
|
|
3435
3433
|
}
|
|
3436
3434
|
function Te(e) {
|
|
@@ -3447,7 +3445,7 @@ function Te(e) {
|
|
|
3447
3445
|
}
|
|
3448
3446
|
};
|
|
3449
3447
|
}
|
|
3450
|
-
function
|
|
3448
|
+
function yr(e) {
|
|
3451
3449
|
return e === void 0 && (e = {
|
|
3452
3450
|
number: {},
|
|
3453
3451
|
dateTime: {},
|
|
@@ -3479,7 +3477,7 @@ function Er(e) {
|
|
|
3479
3477
|
})
|
|
3480
3478
|
};
|
|
3481
3479
|
}
|
|
3482
|
-
var
|
|
3480
|
+
var Er = (
|
|
3483
3481
|
/** @class */
|
|
3484
3482
|
function() {
|
|
3485
3483
|
function e(t, n, r, i) {
|
|
@@ -3511,13 +3509,13 @@ var vr = (
|
|
|
3511
3509
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3512
3510
|
var a = i || {};
|
|
3513
3511
|
a.formatters;
|
|
3514
|
-
var u =
|
|
3512
|
+
var u = fn(a, ["formatters"]);
|
|
3515
3513
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3516
3514
|
} else
|
|
3517
3515
|
this.ast = t;
|
|
3518
3516
|
if (!Array.isArray(this.ast))
|
|
3519
3517
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3520
|
-
this.formats =
|
|
3518
|
+
this.formats = pr(e.formats, r), this.formatters = i && i.formatters || yr(this.formatterCache);
|
|
3521
3519
|
}
|
|
3522
3520
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3523
3521
|
get: function() {
|
|
@@ -3530,7 +3528,7 @@ var vr = (
|
|
|
3530
3528
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3531
3529
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3532
3530
|
}
|
|
3533
|
-
}, e.__parse =
|
|
3531
|
+
}, e.__parse = fr, e.formats = {
|
|
3534
3532
|
number: {
|
|
3535
3533
|
integer: {
|
|
3536
3534
|
maximumFractionDigits: 0
|
|
@@ -3591,7 +3589,7 @@ var vr = (
|
|
|
3591
3589
|
}, e;
|
|
3592
3590
|
}()
|
|
3593
3591
|
);
|
|
3594
|
-
function
|
|
3592
|
+
function vr(e, t) {
|
|
3595
3593
|
if (t == null)
|
|
3596
3594
|
return;
|
|
3597
3595
|
if (t in e)
|
|
@@ -3612,60 +3610,60 @@ function _r(e, t) {
|
|
|
3612
3610
|
r = void 0;
|
|
3613
3611
|
return r;
|
|
3614
3612
|
}
|
|
3615
|
-
const M = {},
|
|
3613
|
+
const M = {}, _r = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), It = (e, t) => {
|
|
3616
3614
|
if (t == null)
|
|
3617
3615
|
return;
|
|
3618
3616
|
if (t in M && e in M[t])
|
|
3619
3617
|
return M[t][e];
|
|
3620
3618
|
const n = be(t);
|
|
3621
3619
|
for (let r = 0; r < n.length; r++) {
|
|
3622
|
-
const i = n[r], s =
|
|
3620
|
+
const i = n[r], s = Hr(i, e);
|
|
3623
3621
|
if (s)
|
|
3624
|
-
return
|
|
3622
|
+
return _r(e, t, s);
|
|
3625
3623
|
}
|
|
3626
3624
|
};
|
|
3627
|
-
let
|
|
3625
|
+
let De;
|
|
3628
3626
|
const Z = ge({});
|
|
3629
|
-
function
|
|
3630
|
-
return
|
|
3627
|
+
function xr(e) {
|
|
3628
|
+
return De[e] || null;
|
|
3631
3629
|
}
|
|
3632
|
-
function
|
|
3633
|
-
return e in
|
|
3630
|
+
function Lt(e) {
|
|
3631
|
+
return e in De;
|
|
3634
3632
|
}
|
|
3635
|
-
function
|
|
3636
|
-
if (!
|
|
3633
|
+
function Hr(e, t) {
|
|
3634
|
+
if (!Lt(e))
|
|
3637
3635
|
return null;
|
|
3638
|
-
const n =
|
|
3639
|
-
return
|
|
3636
|
+
const n = xr(e);
|
|
3637
|
+
return vr(n, t);
|
|
3640
3638
|
}
|
|
3641
|
-
function
|
|
3639
|
+
function Tr(e) {
|
|
3642
3640
|
if (e == null)
|
|
3643
3641
|
return;
|
|
3644
3642
|
const t = be(e);
|
|
3645
3643
|
for (let n = 0; n < t.length; n++) {
|
|
3646
3644
|
const r = t[n];
|
|
3647
|
-
if (
|
|
3645
|
+
if (Lt(r))
|
|
3648
3646
|
return r;
|
|
3649
3647
|
}
|
|
3650
3648
|
}
|
|
3651
|
-
function
|
|
3652
|
-
delete M[e], Z.update((n) => (n[e] =
|
|
3649
|
+
function Sr(e, ...t) {
|
|
3650
|
+
delete M[e], Z.update((n) => (n[e] = wn.all([n[e] || {}, ...t]), n));
|
|
3653
3651
|
}
|
|
3654
3652
|
W(
|
|
3655
3653
|
[Z],
|
|
3656
3654
|
([e]) => Object.keys(e)
|
|
3657
3655
|
);
|
|
3658
|
-
Z.subscribe((e) =>
|
|
3656
|
+
Z.subscribe((e) => De = e);
|
|
3659
3657
|
const ue = {};
|
|
3660
|
-
function
|
|
3658
|
+
function Br(e, t) {
|
|
3661
3659
|
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3662
3660
|
}
|
|
3663
|
-
function
|
|
3661
|
+
function Ct(e) {
|
|
3664
3662
|
return ue[e];
|
|
3665
3663
|
}
|
|
3666
|
-
function
|
|
3664
|
+
function Ar(e) {
|
|
3667
3665
|
return be(e).map((t) => {
|
|
3668
|
-
const n =
|
|
3666
|
+
const n = Ct(t);
|
|
3669
3667
|
return [t, n ? [...n] : []];
|
|
3670
3668
|
}).filter(([, t]) => t.length > 0);
|
|
3671
3669
|
}
|
|
@@ -3673,31 +3671,31 @@ function Re(e) {
|
|
|
3673
3671
|
return e == null ? !1 : be(e).some(
|
|
3674
3672
|
(t) => {
|
|
3675
3673
|
var n;
|
|
3676
|
-
return (n =
|
|
3674
|
+
return (n = Ct(t)) == null ? void 0 : n.size;
|
|
3677
3675
|
}
|
|
3678
3676
|
);
|
|
3679
3677
|
}
|
|
3680
|
-
function
|
|
3678
|
+
function wr(e, t) {
|
|
3681
3679
|
return Promise.all(
|
|
3682
|
-
t.map((r) => (
|
|
3683
|
-
).then((r) =>
|
|
3680
|
+
t.map((r) => (Br(e, r), r().then((i) => i.default || i)))
|
|
3681
|
+
).then((r) => Sr(e, ...r));
|
|
3684
3682
|
}
|
|
3685
3683
|
const q = {};
|
|
3686
|
-
function
|
|
3684
|
+
function Mt(e) {
|
|
3687
3685
|
if (!Re(e))
|
|
3688
3686
|
return e in q ? q[e] : Promise.resolve();
|
|
3689
|
-
const t =
|
|
3687
|
+
const t = Ar(e);
|
|
3690
3688
|
return q[e] = Promise.all(
|
|
3691
3689
|
t.map(
|
|
3692
|
-
([n, r]) =>
|
|
3690
|
+
([n, r]) => wr(n, r)
|
|
3693
3691
|
)
|
|
3694
3692
|
).then(() => {
|
|
3695
3693
|
if (Re(e))
|
|
3696
|
-
return
|
|
3694
|
+
return Mt(e);
|
|
3697
3695
|
delete q[e];
|
|
3698
3696
|
}), q[e];
|
|
3699
3697
|
}
|
|
3700
|
-
const
|
|
3698
|
+
const Pr = {
|
|
3701
3699
|
number: {
|
|
3702
3700
|
scientific: { notation: "scientific" },
|
|
3703
3701
|
engineering: { notation: "engineering" },
|
|
@@ -3726,34 +3724,34 @@ const Nr = {
|
|
|
3726
3724
|
timeZoneName: "short"
|
|
3727
3725
|
}
|
|
3728
3726
|
}
|
|
3729
|
-
},
|
|
3727
|
+
}, Nr = {
|
|
3730
3728
|
fallbackLocale: null,
|
|
3731
3729
|
loadingDelay: 200,
|
|
3732
|
-
formats:
|
|
3730
|
+
formats: Pr,
|
|
3733
3731
|
warnOnMissingMessages: !0,
|
|
3734
3732
|
handleMissingMessage: void 0,
|
|
3735
3733
|
ignoreTag: !0
|
|
3736
|
-
},
|
|
3734
|
+
}, Or = Nr;
|
|
3737
3735
|
function X() {
|
|
3738
|
-
return
|
|
3736
|
+
return Or;
|
|
3739
3737
|
}
|
|
3740
3738
|
const Se = ge(!1);
|
|
3741
|
-
var
|
|
3739
|
+
var Ir = Object.defineProperty, Lr = Object.defineProperties, Cr = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, rt = (e, t, n) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $r = (e, t) => {
|
|
3742
3740
|
for (var n in t || (t = {}))
|
|
3743
|
-
|
|
3744
|
-
if (
|
|
3745
|
-
for (var n of
|
|
3746
|
-
|
|
3741
|
+
Mr.call(t, n) && rt(e, n, t[n]);
|
|
3742
|
+
if (nt)
|
|
3743
|
+
for (var n of nt(t))
|
|
3744
|
+
Rr.call(t, n) && rt(e, n, t[n]);
|
|
3747
3745
|
return e;
|
|
3748
|
-
},
|
|
3746
|
+
}, Ur = (e, t) => Lr(e, Cr(t));
|
|
3749
3747
|
let $e;
|
|
3750
3748
|
const he = ge(null);
|
|
3751
|
-
function
|
|
3749
|
+
function it(e) {
|
|
3752
3750
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3753
3751
|
}
|
|
3754
3752
|
function be(e, t = X().fallbackLocale) {
|
|
3755
|
-
const n =
|
|
3756
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3753
|
+
const n = it(e);
|
|
3754
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...it(t)])] : n;
|
|
3757
3755
|
}
|
|
3758
3756
|
function $() {
|
|
3759
3757
|
return $e != null ? $e : void 0;
|
|
@@ -3761,22 +3759,22 @@ function $() {
|
|
|
3761
3759
|
he.subscribe((e) => {
|
|
3762
3760
|
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3763
3761
|
});
|
|
3764
|
-
const
|
|
3765
|
-
if (e &&
|
|
3762
|
+
const Dr = (e) => {
|
|
3763
|
+
if (e && Tr(e) && Re(e)) {
|
|
3766
3764
|
const { loadingDelay: t } = X();
|
|
3767
3765
|
let n;
|
|
3768
3766
|
return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
|
|
3769
3767
|
() => Se.set(!0),
|
|
3770
3768
|
t
|
|
3771
|
-
) : Se.set(!0),
|
|
3769
|
+
) : Se.set(!0), Mt(e).then(() => {
|
|
3772
3770
|
he.set(e);
|
|
3773
3771
|
}).finally(() => {
|
|
3774
3772
|
clearTimeout(n), Se.set(!1);
|
|
3775
3773
|
});
|
|
3776
3774
|
}
|
|
3777
3775
|
return he.set(e);
|
|
3778
|
-
}, R =
|
|
3779
|
-
set:
|
|
3776
|
+
}, R = Ur($r({}, he), {
|
|
3777
|
+
set: Dr
|
|
3780
3778
|
}), pe = (e) => {
|
|
3781
3779
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3782
3780
|
return (r) => {
|
|
@@ -3784,20 +3782,20 @@ const Gr = (e) => {
|
|
|
3784
3782
|
return i in t ? t[i] : t[i] = e(r);
|
|
3785
3783
|
};
|
|
3786
3784
|
};
|
|
3787
|
-
var
|
|
3785
|
+
var Gr = Object.defineProperty, le = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, st = (e, t, n) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ge = (e, t) => {
|
|
3788
3786
|
for (var n in t || (t = {}))
|
|
3789
|
-
|
|
3787
|
+
Rt.call(t, n) && st(e, n, t[n]);
|
|
3790
3788
|
if (le)
|
|
3791
3789
|
for (var n of le(t))
|
|
3792
|
-
|
|
3790
|
+
$t.call(t, n) && st(e, n, t[n]);
|
|
3793
3791
|
return e;
|
|
3794
3792
|
}, Q = (e, t) => {
|
|
3795
3793
|
var n = {};
|
|
3796
3794
|
for (var r in e)
|
|
3797
|
-
|
|
3795
|
+
Rt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3798
3796
|
if (e != null && le)
|
|
3799
3797
|
for (var r of le(e))
|
|
3800
|
-
t.indexOf(r) < 0 &&
|
|
3798
|
+
t.indexOf(r) < 0 && $t.call(e, r) && (n[r] = e[r]);
|
|
3801
3799
|
return n;
|
|
3802
3800
|
};
|
|
3803
3801
|
const ee = (e, t) => {
|
|
@@ -3805,21 +3803,21 @@ const ee = (e, t) => {
|
|
|
3805
3803
|
if (e in n && t in n[e])
|
|
3806
3804
|
return n[e][t];
|
|
3807
3805
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3808
|
-
},
|
|
3806
|
+
}, Fr = pe(
|
|
3809
3807
|
(e) => {
|
|
3810
3808
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3811
3809
|
if (n == null)
|
|
3812
3810
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3813
3811
|
return r && (i = ee("number", r)), new Intl.NumberFormat(n, i);
|
|
3814
3812
|
}
|
|
3815
|
-
),
|
|
3813
|
+
), jr = pe(
|
|
3816
3814
|
(e) => {
|
|
3817
3815
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3818
3816
|
if (n == null)
|
|
3819
3817
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3820
3818
|
return r ? i = ee("date", r) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3821
3819
|
}
|
|
3822
|
-
),
|
|
3820
|
+
), kr = pe(
|
|
3823
3821
|
(e) => {
|
|
3824
3822
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3825
3823
|
if (n == null)
|
|
@@ -3828,33 +3826,33 @@ const ee = (e, t) => {
|
|
|
3828
3826
|
);
|
|
3829
3827
|
return r ? i = ee("time", r) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3830
3828
|
}
|
|
3831
|
-
),
|
|
3829
|
+
), Vr = (e = {}) => {
|
|
3832
3830
|
var t = e, {
|
|
3833
3831
|
locale: n = $()
|
|
3834
3832
|
} = t, r = Q(t, [
|
|
3835
3833
|
"locale"
|
|
3836
3834
|
]);
|
|
3837
|
-
return
|
|
3838
|
-
},
|
|
3835
|
+
return Fr(Ge({ locale: n }, r));
|
|
3836
|
+
}, Xr = (e = {}) => {
|
|
3839
3837
|
var t = e, {
|
|
3840
3838
|
locale: n = $()
|
|
3841
3839
|
} = t, r = Q(t, [
|
|
3842
3840
|
"locale"
|
|
3843
3841
|
]);
|
|
3844
|
-
return
|
|
3845
|
-
},
|
|
3842
|
+
return jr(Ge({ locale: n }, r));
|
|
3843
|
+
}, zr = (e = {}) => {
|
|
3846
3844
|
var t = e, {
|
|
3847
3845
|
locale: n = $()
|
|
3848
3846
|
} = t, r = Q(t, [
|
|
3849
3847
|
"locale"
|
|
3850
3848
|
]);
|
|
3851
|
-
return
|
|
3852
|
-
},
|
|
3849
|
+
return kr(Ge({ locale: n }, r));
|
|
3850
|
+
}, Wr = pe(
|
|
3853
3851
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3854
|
-
(e, t = $()) => new
|
|
3852
|
+
(e, t = $()) => new Er(e, t, X().formats, {
|
|
3855
3853
|
ignoreTag: X().ignoreTag
|
|
3856
3854
|
})
|
|
3857
|
-
),
|
|
3855
|
+
), Zr = (e, t = {}) => {
|
|
3858
3856
|
var n, r, i, s;
|
|
3859
3857
|
let a = t;
|
|
3860
3858
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3867,7 +3865,7 @@ const ee = (e, t) => {
|
|
|
3867
3865
|
throw new Error(
|
|
3868
3866
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3869
3867
|
);
|
|
3870
|
-
let h =
|
|
3868
|
+
let h = It(e, l);
|
|
3871
3869
|
if (!h)
|
|
3872
3870
|
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;
|
|
3873
3871
|
else if (typeof h != "string")
|
|
@@ -3878,7 +3876,7 @@ const ee = (e, t) => {
|
|
|
3878
3876
|
return h;
|
|
3879
3877
|
let m = h;
|
|
3880
3878
|
try {
|
|
3881
|
-
m =
|
|
3879
|
+
m = Wr(h, l).format(u);
|
|
3882
3880
|
} catch (f) {
|
|
3883
3881
|
f instanceof Error && console.warn(
|
|
3884
3882
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3886,18 +3884,18 @@ const ee = (e, t) => {
|
|
|
3886
3884
|
);
|
|
3887
3885
|
}
|
|
3888
3886
|
return m;
|
|
3889
|
-
},
|
|
3887
|
+
}, Qr = (e, t) => zr(t).format(e), qr = (e, t) => Xr(t).format(e), Jr = (e, t) => Vr(t).format(e), Yr = (e, t = $()) => It(e, t), Ti = W([R, Z], () => Zr);
|
|
3888
|
+
W([R], () => Qr);
|
|
3890
3889
|
W([R], () => qr);
|
|
3891
3890
|
W([R], () => Jr);
|
|
3892
|
-
W([R], () => Yr);
|
|
3893
|
-
|
|
3894
|
-
function ei(e, t) {
|
|
3891
|
+
W([R, Z], () => Yr);
|
|
3892
|
+
function Kr(e, t) {
|
|
3895
3893
|
if (e) {
|
|
3896
3894
|
const n = document.createElement("style");
|
|
3897
3895
|
n.innerHTML = t, e.appendChild(n);
|
|
3898
3896
|
}
|
|
3899
3897
|
}
|
|
3900
|
-
function
|
|
3898
|
+
function ei(e, t) {
|
|
3901
3899
|
const n = new URL(t);
|
|
3902
3900
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3903
3901
|
const i = document.createElement("style");
|
|
@@ -3906,7 +3904,7 @@ function ti(e, t) {
|
|
|
3906
3904
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3907
3905
|
});
|
|
3908
3906
|
}
|
|
3909
|
-
function
|
|
3907
|
+
function ti(e, t, n) {
|
|
3910
3908
|
if (window.emMessageBus) {
|
|
3911
3909
|
const r = document.createElement("style");
|
|
3912
3910
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3914,7 +3912,7 @@ function ni(e, t, n) {
|
|
|
3914
3912
|
});
|
|
3915
3913
|
}
|
|
3916
3914
|
}
|
|
3917
|
-
function
|
|
3915
|
+
function ni({ withLocale: e, translations: t }) {
|
|
3918
3916
|
R.subscribe((n) => {
|
|
3919
3917
|
n == null && (Z.set(t), R.set(e));
|
|
3920
3918
|
});
|
|
@@ -3931,14 +3929,14 @@ if (typeof window != "undefined") {
|
|
|
3931
3929
|
}
|
|
3932
3930
|
};
|
|
3933
3931
|
};
|
|
3934
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3932
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-DSnVBVzo.js").then(({ default: t }) => {
|
|
3935
3933
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3936
3934
|
});
|
|
3937
3935
|
}
|
|
3938
|
-
function
|
|
3939
|
-
|
|
3936
|
+
function ri(e) {
|
|
3937
|
+
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))}");
|
|
3940
3938
|
}
|
|
3941
|
-
function
|
|
3939
|
+
function at(e) {
|
|
3942
3940
|
let t;
|
|
3943
3941
|
return {
|
|
3944
3942
|
c() {
|
|
@@ -4153,10 +4151,10 @@ function ut(e) {
|
|
|
4153
4151
|
}
|
|
4154
4152
|
};
|
|
4155
4153
|
}
|
|
4156
|
-
function
|
|
4154
|
+
function ii(e) {
|
|
4157
4155
|
let t, n = (
|
|
4158
4156
|
/*session*/
|
|
4159
|
-
e[4] &&
|
|
4157
|
+
e[4] && at(e)
|
|
4160
4158
|
);
|
|
4161
4159
|
return {
|
|
4162
4160
|
c() {
|
|
@@ -4167,7 +4165,7 @@ function si(e) {
|
|
|
4167
4165
|
},
|
|
4168
4166
|
p(r, [i]) {
|
|
4169
4167
|
/*session*/
|
|
4170
|
-
r[4] ? n ? n.p(r, i) : (n =
|
|
4168
|
+
r[4] ? n ? n.p(r, i) : (n = at(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4171
4169
|
},
|
|
4172
4170
|
i: O,
|
|
4173
4171
|
o: O,
|
|
@@ -4176,9 +4174,9 @@ function si(e) {
|
|
|
4176
4174
|
}
|
|
4177
4175
|
};
|
|
4178
4176
|
}
|
|
4179
|
-
function
|
|
4177
|
+
function si(e, t, n) {
|
|
4180
4178
|
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: P = "" } = t, { casinomygames: w = "false" } = t, { fetchviaevent: B = "true" } = t, { mbsource: N } = t, x;
|
|
4181
|
-
|
|
4179
|
+
ni({ withLocale: "en", translations: {} }), Kt(() => () => {
|
|
4182
4180
|
});
|
|
4183
4181
|
function I(c) {
|
|
4184
4182
|
Be[c ? "unshift" : "push"](() => {
|
|
@@ -4189,9 +4187,9 @@ function ai(e, t, n) {
|
|
|
4189
4187
|
"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), "clientstyling" in c && n(6, o = c.clientstyling), "clientstylingurl" in c && n(7, h = c.clientstylingurl), "livecasino" in c && n(8, m = c.livecasino), "integratedgameframemobile" in c && n(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(10, b = c.integratedgameframedesktop), "showgamename" in c && n(11, y = c.showgamename), "gamepagemodalurl" in c && n(12, _ = c.gamepagemodalurl), "visiblegames" in c && n(13, T = c.visiblegames), "favorites" in c && n(14, P = c.favorites), "casinomygames" in c && n(15, w = c.casinomygames), "fetchviaevent" in c && n(16, B = c.fetchviaevent), "mbsource" in c && n(17, N = c.mbsource);
|
|
4190
4188
|
}, e.$$.update = () => {
|
|
4191
4189
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4192
|
-
262208 && o && x &&
|
|
4193
|
-
262272 && h && x &&
|
|
4194
|
-
393216 && x &&
|
|
4190
|
+
262208 && o && x && Kr(x, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4191
|
+
262272 && h && x && ei(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4192
|
+
393216 && x && ti(x, `${N}.Style`);
|
|
4195
4193
|
}, [
|
|
4196
4194
|
r,
|
|
4197
4195
|
i,
|
|
@@ -4215,14 +4213,14 @@ function ai(e, t, n) {
|
|
|
4215
4213
|
I
|
|
4216
4214
|
];
|
|
4217
4215
|
}
|
|
4218
|
-
class
|
|
4216
|
+
class Ut extends hn {
|
|
4219
4217
|
constructor(t) {
|
|
4220
|
-
super(),
|
|
4218
|
+
super(), on(
|
|
4221
4219
|
this,
|
|
4222
4220
|
t,
|
|
4223
|
-
ai,
|
|
4224
4221
|
si,
|
|
4225
|
-
|
|
4222
|
+
ii,
|
|
4223
|
+
ut,
|
|
4226
4224
|
{
|
|
4227
4225
|
endpoint: 0,
|
|
4228
4226
|
datasource: 1,
|
|
@@ -4243,7 +4241,7 @@ class Gt extends fn {
|
|
|
4243
4241
|
fetchviaevent: 16,
|
|
4244
4242
|
mbsource: 17
|
|
4245
4243
|
},
|
|
4246
|
-
|
|
4244
|
+
ri
|
|
4247
4245
|
);
|
|
4248
4246
|
}
|
|
4249
4247
|
get endpoint() {
|
|
@@ -4355,55 +4353,55 @@ class Gt extends fn {
|
|
|
4355
4353
|
this.$$set({ mbsource: t }), H();
|
|
4356
4354
|
}
|
|
4357
4355
|
}
|
|
4358
|
-
|
|
4359
|
-
const
|
|
4356
|
+
un(Ut, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4357
|
+
const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4360
4358
|
__proto__: null,
|
|
4361
|
-
default:
|
|
4359
|
+
default: Ut
|
|
4362
4360
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4363
4361
|
export {
|
|
4364
4362
|
R as $,
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4363
|
+
di as A,
|
|
4364
|
+
oi as B,
|
|
4365
|
+
Kr as C,
|
|
4366
|
+
ei as D,
|
|
4367
|
+
ti as E,
|
|
4368
|
+
un as F,
|
|
4369
|
+
Ti as G,
|
|
4370
|
+
bi as H,
|
|
4371
|
+
hi as I,
|
|
4374
4372
|
g as J,
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4373
|
+
ci as K,
|
|
4374
|
+
pi as L,
|
|
4375
|
+
yi as M,
|
|
4376
|
+
_i as N,
|
|
4377
|
+
vi as O,
|
|
4378
|
+
Si as P,
|
|
4379
|
+
hn as S,
|
|
4380
|
+
xi as _,
|
|
4383
4381
|
ve as a,
|
|
4384
|
-
|
|
4382
|
+
Hi as b,
|
|
4385
4383
|
me as c,
|
|
4386
4384
|
Z as d,
|
|
4387
|
-
|
|
4385
|
+
Sr as e,
|
|
4388
4386
|
H as f,
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4387
|
+
zt as g,
|
|
4388
|
+
te as h,
|
|
4389
|
+
on as i,
|
|
4390
|
+
ce as j,
|
|
4391
|
+
ne as k,
|
|
4392
|
+
ui as l,
|
|
4393
|
+
Be as m,
|
|
4396
4394
|
O as n,
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4395
|
+
Kt as o,
|
|
4396
|
+
gi as p,
|
|
4397
|
+
Xt as q,
|
|
4398
|
+
Ue as r,
|
|
4399
|
+
ut as s,
|
|
4400
|
+
lt as t,
|
|
4401
|
+
Ei as u,
|
|
4402
|
+
li as v,
|
|
4403
|
+
z as w,
|
|
4404
|
+
mi as x,
|
|
4405
|
+
Qt as y,
|
|
4406
|
+
fi as z
|
|
4409
4407
|
};
|