@everymatrix/casino-favorites-section 1.59.1 → 1.59.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-Dr_s1lWC.js → CasinoFavoritesSection-Ciz30hqm.js} +388 -386
- package/components/CasinoFavoritesSection-D8aPFcjw.cjs +16 -0
- package/components/{CasinoFavoritesSection-BxxyL3gy.js → CasinoFavoritesSection-DoexdDPf.js} +397 -395
- package/components/CasinoFilter-Cpzlf2HZ.cjs +3 -0
- package/components/{CasinoFilter-COGKkrao.js → CasinoFilter-DUtpkDVf.js} +379 -358
- package/components/{CasinoFilter-BWXSaZXT.js → CasinoFilter-o2XFMcq_.js} +375 -356
- package/components/{CasinoGameThumbnail-6rTN59rd.js → CasinoGameThumbnail-BNO7B2dU.js} +1384 -1368
- package/components/CasinoGameThumbnail-BrmzqKkM.cjs +47 -0
- package/components/{CasinoGameThumbnail-C513CfaD.js → CasinoGameThumbnail-CRAURc_8.js} +872 -888
- package/components/{CasinoGamesCategorySection-De1geueJ.js → CasinoGamesCategorySection-C169Up12.js} +262 -262
- package/components/{CasinoGamesCategorySection-CWF7DtsI.js → CasinoGamesCategorySection-CErsB55i.js} +262 -262
- package/components/{CasinoGamesCategorySection-BLcUvM0v.cjs → CasinoGamesCategorySection-DrSmHjNq.cjs} +1 -1
- package/components/{CasinoSort-CnGZfIMP.js → CasinoSort-C9Ffwily.js} +99 -100
- package/components/{CasinoSort-aSdKoT5F.cjs → CasinoSort-CcAUUbVN.cjs} +1 -1
- package/components/{CasinoSort-DxYZYH_0.js → CasinoSort-DcfKKfpD.js} +109 -108
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.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/CasinoFavoritesSection-BlZGGJwX.cjs +0 -16
- package/components/CasinoFilter-CnVdBi17.cjs +0 -3
- package/components/CasinoGameThumbnail-BH3mCNrY.cjs +0 -47
- 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/{CasinoFavoritesSection-Dr_s1lWC.js → CasinoFavoritesSection-Ciz30hqm.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function nt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(nt);
|
|
11
11
|
}
|
|
12
12
|
function le(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function it(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ne;
|
|
19
|
-
function
|
|
19
|
+
function qn(e, t) {
|
|
20
20
|
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ct(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function st(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,23 +31,23 @@ function nt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Yn(e) {
|
|
38
38
|
return e && le(e.destroy) ? e.destroy : N;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Mt(e, t) {
|
|
41
41
|
e.appendChild(t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const n =
|
|
43
|
+
function Rt(e, t, r) {
|
|
44
|
+
const n = $t(e);
|
|
45
45
|
if (!n.getElementById(t)) {
|
|
46
46
|
const i = te("style");
|
|
47
|
-
i.id = t, i.textContent = r,
|
|
47
|
+
i.id = t, i.textContent = r, Ut(n, i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function $t(e) {
|
|
51
51
|
if (!e)
|
|
52
52
|
return document;
|
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -57,8 +57,8 @@ function Mt(e) {
|
|
|
57
57
|
t
|
|
58
58
|
) : e.ownerDocument;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function Ut(e, t) {
|
|
61
|
+
return Mt(
|
|
62
62
|
/** @type {Document} */
|
|
63
63
|
e.head || e,
|
|
64
64
|
t
|
|
@@ -70,26 +70,26 @@ function fe(e, t, r) {
|
|
|
70
70
|
function ee(e) {
|
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Kn(e, t) {
|
|
74
74
|
for (let r = 0; r < e.length; r += 1)
|
|
75
75
|
e[r] && e[r].d(t);
|
|
76
76
|
}
|
|
77
77
|
function te(e) {
|
|
78
78
|
return document.createElement(e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Dt(e) {
|
|
81
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function at(e) {
|
|
84
84
|
return document.createTextNode(e);
|
|
85
85
|
}
|
|
86
|
-
function Kn() {
|
|
87
|
-
return it(" ");
|
|
88
|
-
}
|
|
89
86
|
function ei() {
|
|
90
|
-
return
|
|
87
|
+
return at(" ");
|
|
88
|
+
}
|
|
89
|
+
function ti() {
|
|
90
|
+
return at("");
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ri(e, t, r, n) {
|
|
93
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
94
94
|
}
|
|
95
95
|
function Re(e, t, r) {
|
|
@@ -99,20 +99,20 @@ function g(e, t, r) {
|
|
|
99
99
|
const n = t.toLowerCase();
|
|
100
100
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Gt(e) {
|
|
103
103
|
return Array.from(e.childNodes);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ni(e, t) {
|
|
106
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
107
107
|
t);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ii(e, t) {
|
|
110
110
|
e.value = t ?? "";
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function si(e, t, r) {
|
|
113
113
|
e.classList.toggle(t, !!r);
|
|
114
114
|
}
|
|
115
|
-
class
|
|
115
|
+
class ai {
|
|
116
116
|
/**
|
|
117
117
|
* @private
|
|
118
118
|
* @default false
|
|
@@ -143,7 +143,7 @@ class si {
|
|
|
143
143
|
* @returns {void}
|
|
144
144
|
*/
|
|
145
145
|
m(t, r, n = null) {
|
|
146
|
-
this.e || (this.is_svg ? this.e =
|
|
146
|
+
this.e || (this.is_svg ? this.e = Dt(
|
|
147
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
148
148
|
r.nodeName
|
|
149
149
|
) : this.e = te(
|
|
@@ -182,7 +182,7 @@ class si {
|
|
|
182
182
|
this.n.forEach(ee);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Ft(e) {
|
|
186
186
|
const t = {};
|
|
187
187
|
return e.childNodes.forEach(
|
|
188
188
|
/** @param {Element} node */
|
|
@@ -195,23 +195,23 @@ let J;
|
|
|
195
195
|
function q(e) {
|
|
196
196
|
J = e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function jt() {
|
|
199
199
|
if (!J)
|
|
200
200
|
throw new Error("Function called outside component initialization");
|
|
201
201
|
return J;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
203
|
+
function kt(e) {
|
|
204
|
+
jt().$$.on_mount.push(e);
|
|
205
205
|
}
|
|
206
206
|
const D = [], Te = [];
|
|
207
207
|
let G = [];
|
|
208
|
-
const
|
|
208
|
+
const je = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
209
209
|
let Se = !1;
|
|
210
|
-
function
|
|
211
|
-
Se || (Se = !0,
|
|
210
|
+
function ut() {
|
|
211
|
+
Se || (Se = !0, ot.then(H));
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
return
|
|
213
|
+
function oi() {
|
|
214
|
+
return ut(), ot;
|
|
215
215
|
}
|
|
216
216
|
function Be(e) {
|
|
217
217
|
G.push(e);
|
|
@@ -226,7 +226,7 @@ function H() {
|
|
|
226
226
|
try {
|
|
227
227
|
for (; $ < D.length; ) {
|
|
228
228
|
const t = D[$];
|
|
229
|
-
$++, q(t),
|
|
229
|
+
$++, q(t), Vt(t.$$);
|
|
230
230
|
}
|
|
231
231
|
} catch (t) {
|
|
232
232
|
throw D.length = 0, $ = 0, t;
|
|
@@ -239,32 +239,32 @@ function H() {
|
|
|
239
239
|
}
|
|
240
240
|
G.length = 0;
|
|
241
241
|
} while (D.length);
|
|
242
|
-
for (;
|
|
243
|
-
|
|
242
|
+
for (; je.length; )
|
|
243
|
+
je.pop()();
|
|
244
244
|
Se = !1, pe.clear(), q(e);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Vt(e) {
|
|
247
247
|
if (e.fragment !== null) {
|
|
248
248
|
e.update(), X(e.before_update);
|
|
249
249
|
const t = e.dirty;
|
|
250
250
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Xt(e) {
|
|
254
254
|
const t = [], r = [];
|
|
255
255
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
e && e.i && (
|
|
257
|
+
const zt = /* @__PURE__ */ new Set();
|
|
258
|
+
function ht(e, t) {
|
|
259
|
+
e && e.i && (zt.delete(e), e.i(t));
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function ui(e) {
|
|
262
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function hi(e, t) {
|
|
265
265
|
e.d(1), t.delete(e.key);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function li(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
268
268
|
let f = e.length, b = s.length, y = f;
|
|
269
269
|
const _ = {};
|
|
270
270
|
for (; y--; )
|
|
@@ -277,7 +277,7 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
277
277
|
}
|
|
278
278
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
279
279
|
function O(c) {
|
|
280
|
-
|
|
280
|
+
ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
281
281
|
}
|
|
282
282
|
for (; f && b; ) {
|
|
283
283
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -291,21 +291,21 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
291
291
|
O(T[b - 1]);
|
|
292
292
|
return X(S), T;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Wt(e, t, r) {
|
|
295
295
|
const { fragment: n, after_update: i } = e.$$;
|
|
296
296
|
n && n.m(t, r), Be(() => {
|
|
297
|
-
const s = e.$$.on_mount.map(
|
|
297
|
+
const s = e.$$.on_mount.map(nt).filter(le);
|
|
298
298
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
299
299
|
}), i.forEach(Be);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Zt(e, t) {
|
|
302
302
|
const r = e.$$;
|
|
303
|
-
r.fragment !== null && (
|
|
303
|
+
r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
305
|
+
function Qt(e, t) {
|
|
306
|
+
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
309
309
|
const l = J;
|
|
310
310
|
q(e);
|
|
311
311
|
const u = e.$$ = {
|
|
@@ -315,7 +315,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
315
315
|
props: s,
|
|
316
316
|
update: N,
|
|
317
317
|
not_equal: i,
|
|
318
|
-
bound:
|
|
318
|
+
bound: Fe(),
|
|
319
319
|
// lifecycle
|
|
320
320
|
on_mount: [],
|
|
321
321
|
on_destroy: [],
|
|
@@ -324,7 +324,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
324
324
|
after_update: [],
|
|
325
325
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
326
326
|
// everything else
|
|
327
|
-
callbacks:
|
|
327
|
+
callbacks: Fe(),
|
|
328
328
|
dirty: o,
|
|
329
329
|
skip_bound: !1,
|
|
330
330
|
root: t.target || l.$$.root
|
|
@@ -333,19 +333,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
333
333
|
let h = !1;
|
|
334
334
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
335
335
|
const y = b.length ? b[0] : f;
|
|
336
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
336
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Qt(e, m)), f;
|
|
337
337
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
338
338
|
if (t.hydrate) {
|
|
339
|
-
const m =
|
|
339
|
+
const m = Gt(t.target);
|
|
340
340
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
341
341
|
} else
|
|
342
342
|
u.fragment && u.fragment.c();
|
|
343
|
-
t.intro &&
|
|
343
|
+
t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
|
|
344
344
|
}
|
|
345
345
|
q(l);
|
|
346
346
|
}
|
|
347
|
-
let
|
|
348
|
-
typeof HTMLElement == "function" && (
|
|
347
|
+
let lt;
|
|
348
|
+
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
349
349
|
/** The Svelte component constructor */
|
|
350
350
|
$$ctor;
|
|
351
351
|
/** Slots */
|
|
@@ -404,7 +404,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
404
404
|
};
|
|
405
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
406
406
|
return;
|
|
407
|
-
const t = {}, r =
|
|
407
|
+
const t = {}, r = Ft(this);
|
|
408
408
|
for (const i of this.$$s)
|
|
409
409
|
i in r && (t[i] = [e(i)]);
|
|
410
410
|
for (const i of this.attributes) {
|
|
@@ -491,8 +491,8 @@ function se(e, t, r, n) {
|
|
|
491
491
|
return t;
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
let a = class extends
|
|
494
|
+
function Jt(e, t, r, n, i, s) {
|
|
495
|
+
let a = class extends lt {
|
|
496
496
|
constructor() {
|
|
497
497
|
super(e, r, i), this.$$p_d = t;
|
|
498
498
|
}
|
|
@@ -520,7 +520,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
520
520
|
}), e.element = /** @type {any} */
|
|
521
521
|
a, a;
|
|
522
522
|
}
|
|
523
|
-
class
|
|
523
|
+
class Yt {
|
|
524
524
|
/**
|
|
525
525
|
* ### PRIVATE API
|
|
526
526
|
*
|
|
@@ -539,7 +539,7 @@ class qt {
|
|
|
539
539
|
$$set = void 0;
|
|
540
540
|
/** @returns {void} */
|
|
541
541
|
$destroy() {
|
|
542
|
-
|
|
542
|
+
Zt(this, 1), this.$destroy = N;
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
545
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -561,13 +561,13 @@ class qt {
|
|
|
561
561
|
* @returns {void}
|
|
562
562
|
*/
|
|
563
563
|
$set(t) {
|
|
564
|
-
this.$$set && !
|
|
564
|
+
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
const
|
|
568
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
567
|
+
const Kt = "4";
|
|
568
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
|
569
569
|
const U = [];
|
|
570
|
-
function
|
|
570
|
+
function er(e, t) {
|
|
571
571
|
return {
|
|
572
572
|
subscribe: ce(e, t).subscribe
|
|
573
573
|
};
|
|
@@ -576,7 +576,7 @@ function ce(e, t = N) {
|
|
|
576
576
|
let r;
|
|
577
577
|
const n = /* @__PURE__ */ new Set();
|
|
578
578
|
function i(o) {
|
|
579
|
-
if (
|
|
579
|
+
if (it(e, o) && (e = o, r)) {
|
|
580
580
|
const l = !U.length;
|
|
581
581
|
for (const u of n)
|
|
582
582
|
u[1](), U.push(u, e);
|
|
@@ -598,12 +598,12 @@ function ce(e, t = N) {
|
|
|
598
598
|
}
|
|
599
599
|
return { set: i, update: s, subscribe: a };
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function z(e, t, r) {
|
|
602
602
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
603
603
|
if (!i.every(Boolean))
|
|
604
604
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
605
605
|
const s = t.length < 2;
|
|
606
|
-
return
|
|
606
|
+
return er(r, (a, o) => {
|
|
607
607
|
let l = !1;
|
|
608
608
|
const u = [];
|
|
609
609
|
let h = 0, m = N;
|
|
@@ -614,7 +614,7 @@ function W(e, t, r) {
|
|
|
614
614
|
const y = t(n ? u[0] : u, a, o);
|
|
615
615
|
s ? a(y) : m = le(y) ? y : N;
|
|
616
616
|
}, b = i.map(
|
|
617
|
-
(y, _) =>
|
|
617
|
+
(y, _) => st(
|
|
618
618
|
y,
|
|
619
619
|
(T) => {
|
|
620
620
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -629,70 +629,70 @@ function W(e, t, r) {
|
|
|
629
629
|
};
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function tr(e) {
|
|
633
633
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
return
|
|
635
|
+
var rr = function(t) {
|
|
636
|
+
return nr(t) && !ir(t);
|
|
637
637
|
};
|
|
638
|
-
function
|
|
638
|
+
function nr(e) {
|
|
639
639
|
return !!e && typeof e == "object";
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function ir(e) {
|
|
642
642
|
var t = Object.prototype.toString.call(e);
|
|
643
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
643
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
644
644
|
}
|
|
645
|
-
var
|
|
646
|
-
function
|
|
647
|
-
return e.$$typeof ===
|
|
645
|
+
var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
|
|
646
|
+
function or(e) {
|
|
647
|
+
return e.$$typeof === ar;
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function ur(e) {
|
|
650
650
|
return Array.isArray(e) ? [] : {};
|
|
651
651
|
}
|
|
652
652
|
function Y(e, t) {
|
|
653
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
653
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function hr(e, t, r) {
|
|
656
656
|
return e.concat(t).map(function(n) {
|
|
657
657
|
return Y(n, r);
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function lr(e, t) {
|
|
661
661
|
if (!t.customMerge)
|
|
662
662
|
return F;
|
|
663
663
|
var r = t.customMerge(e);
|
|
664
664
|
return typeof r == "function" ? r : F;
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function fr(e) {
|
|
667
667
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
668
668
|
return Object.propertyIsEnumerable.call(e, t);
|
|
669
669
|
}) : [];
|
|
670
670
|
}
|
|
671
|
-
function
|
|
672
|
-
return Object.keys(e).concat(
|
|
671
|
+
function ke(e) {
|
|
672
|
+
return Object.keys(e).concat(fr(e));
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function ft(e, t) {
|
|
675
675
|
try {
|
|
676
676
|
return t in e;
|
|
677
677
|
} catch {
|
|
678
678
|
return !1;
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
return
|
|
681
|
+
function cr(e, t) {
|
|
682
|
+
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function mr(e, t, r) {
|
|
685
685
|
var n = {};
|
|
686
|
-
return r.isMergeableObject(e) &&
|
|
686
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
687
687
|
n[i] = Y(e[i], r);
|
|
688
|
-
}),
|
|
689
|
-
|
|
688
|
+
}), ke(t).forEach(function(i) {
|
|
689
|
+
cr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
690
690
|
}), n;
|
|
691
691
|
}
|
|
692
692
|
function F(e, t, r) {
|
|
693
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
693
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
694
694
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
695
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
695
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
696
696
|
}
|
|
697
697
|
F.all = function(t, r) {
|
|
698
698
|
if (!Array.isArray(t))
|
|
@@ -701,8 +701,8 @@ F.all = function(t, r) {
|
|
|
701
701
|
return F(n, i, r);
|
|
702
702
|
}, {});
|
|
703
703
|
};
|
|
704
|
-
var
|
|
705
|
-
const
|
|
704
|
+
var gr = F, dr = gr;
|
|
705
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
706
706
|
/*! *****************************************************************************
|
|
707
707
|
Copyright (c) Microsoft Corporation.
|
|
708
708
|
|
|
@@ -744,7 +744,7 @@ var E = function() {
|
|
|
744
744
|
return t;
|
|
745
745
|
}, E.apply(this, arguments);
|
|
746
746
|
};
|
|
747
|
-
function
|
|
747
|
+
function pr(e, t) {
|
|
748
748
|
var r = {};
|
|
749
749
|
for (var n in e)
|
|
750
750
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -753,7 +753,7 @@ function dr(e, t) {
|
|
|
753
753
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
754
754
|
return r;
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function fi(e) {
|
|
757
757
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
758
758
|
if (r)
|
|
759
759
|
return r.call(e);
|
|
@@ -765,7 +765,7 @@ function li(e) {
|
|
|
765
765
|
};
|
|
766
766
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function ci(e, t) {
|
|
769
769
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
770
770
|
if (!r)
|
|
771
771
|
return e;
|
|
@@ -792,53 +792,55 @@ function ye(e, t, r) {
|
|
|
792
792
|
return e.concat(s || t);
|
|
793
793
|
}
|
|
794
794
|
function Ee(e, t) {
|
|
795
|
-
var r = t && t.cache ? t.cache :
|
|
795
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
|
|
796
796
|
return i(e, {
|
|
797
797
|
cache: r,
|
|
798
798
|
serializer: n
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function yr(e) {
|
|
802
802
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
var i =
|
|
804
|
+
function ct(e, t, r, n) {
|
|
805
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
|
806
806
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function mt(e, t, r) {
|
|
809
809
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
810
810
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function $e(e, t, r, n, i) {
|
|
813
813
|
return r.bind(t, e, n, i);
|
|
814
814
|
}
|
|
815
|
-
function yr(e, t) {
|
|
816
|
-
var r = e.length === 1 ? pr : lt;
|
|
817
|
-
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
818
|
-
}
|
|
819
815
|
function Er(e, t) {
|
|
820
|
-
|
|
816
|
+
var r = e.length === 1 ? ct : mt;
|
|
817
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
818
|
+
}
|
|
819
|
+
function vr(e, t) {
|
|
820
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
821
|
+
}
|
|
822
|
+
function _r(e, t) {
|
|
823
|
+
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
821
824
|
}
|
|
822
|
-
var
|
|
825
|
+
var xr = function() {
|
|
823
826
|
return JSON.stringify(arguments);
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}()
|
|
836
|
-
), xr = {
|
|
827
|
+
};
|
|
828
|
+
function Ue() {
|
|
829
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
830
|
+
}
|
|
831
|
+
Ue.prototype.get = function(e) {
|
|
832
|
+
return this.cache[e];
|
|
833
|
+
};
|
|
834
|
+
Ue.prototype.set = function(e, t) {
|
|
835
|
+
this.cache[e] = t;
|
|
836
|
+
};
|
|
837
|
+
var Hr = {
|
|
837
838
|
create: function() {
|
|
838
|
-
return new
|
|
839
|
+
return new Ue();
|
|
839
840
|
}
|
|
840
841
|
}, ve = {
|
|
841
|
-
variadic:
|
|
842
|
+
variadic: vr,
|
|
843
|
+
monadic: _r
|
|
842
844
|
}, d;
|
|
843
845
|
(function(e) {
|
|
844
846
|
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";
|
|
@@ -851,43 +853,43 @@ var j;
|
|
|
851
853
|
(function(e) {
|
|
852
854
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
853
855
|
})(j || (j = {}));
|
|
854
|
-
function
|
|
856
|
+
function Ve(e) {
|
|
855
857
|
return e.type === v.literal;
|
|
856
858
|
}
|
|
857
|
-
function
|
|
859
|
+
function Tr(e) {
|
|
858
860
|
return e.type === v.argument;
|
|
859
861
|
}
|
|
860
|
-
function
|
|
862
|
+
function gt(e) {
|
|
861
863
|
return e.type === v.number;
|
|
862
864
|
}
|
|
863
|
-
function
|
|
865
|
+
function dt(e) {
|
|
864
866
|
return e.type === v.date;
|
|
865
867
|
}
|
|
866
|
-
function
|
|
868
|
+
function bt(e) {
|
|
867
869
|
return e.type === v.time;
|
|
868
870
|
}
|
|
869
|
-
function
|
|
871
|
+
function pt(e) {
|
|
870
872
|
return e.type === v.select;
|
|
871
873
|
}
|
|
872
|
-
function
|
|
874
|
+
function yt(e) {
|
|
873
875
|
return e.type === v.plural;
|
|
874
876
|
}
|
|
875
|
-
function
|
|
877
|
+
function Sr(e) {
|
|
876
878
|
return e.type === v.pound;
|
|
877
879
|
}
|
|
878
|
-
function
|
|
880
|
+
function Et(e) {
|
|
879
881
|
return e.type === v.tag;
|
|
880
882
|
}
|
|
881
|
-
function
|
|
883
|
+
function vt(e) {
|
|
882
884
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
883
885
|
}
|
|
884
886
|
function we(e) {
|
|
885
887
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
886
888
|
}
|
|
887
|
-
var
|
|
888
|
-
function
|
|
889
|
+
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
|
|
890
|
+
function Ar(e) {
|
|
889
891
|
var t = {};
|
|
890
|
-
return e.replace(
|
|
892
|
+
return e.replace(Br, function(r) {
|
|
891
893
|
var n = r.length;
|
|
892
894
|
switch (r[0]) {
|
|
893
895
|
case "G":
|
|
@@ -976,11 +978,11 @@ function Br(e) {
|
|
|
976
978
|
return "";
|
|
977
979
|
}), t;
|
|
978
980
|
}
|
|
979
|
-
var
|
|
980
|
-
function
|
|
981
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
982
|
+
function Pr(e) {
|
|
981
983
|
if (e.length === 0)
|
|
982
984
|
throw new Error("Number skeleton cannot be empty");
|
|
983
|
-
for (var t = e.split(
|
|
985
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
984
986
|
return f.length > 0;
|
|
985
987
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
986
988
|
var s = i[n], a = s.split("/");
|
|
@@ -995,17 +997,17 @@ function wr(e) {
|
|
|
995
997
|
}
|
|
996
998
|
return r;
|
|
997
999
|
}
|
|
998
|
-
function
|
|
1000
|
+
function Nr(e) {
|
|
999
1001
|
return e.replace(/^(.*?)-/, "");
|
|
1000
1002
|
}
|
|
1001
|
-
var
|
|
1002
|
-
function
|
|
1003
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
1004
|
+
function ze(e) {
|
|
1003
1005
|
var t = {};
|
|
1004
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1006
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
1005
1007
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1006
1008
|
}), t;
|
|
1007
1009
|
}
|
|
1008
|
-
function
|
|
1010
|
+
function Tt(e) {
|
|
1009
1011
|
switch (e) {
|
|
1010
1012
|
case "sign-auto":
|
|
1011
1013
|
return {
|
|
@@ -1045,7 +1047,7 @@ function xt(e) {
|
|
|
1045
1047
|
};
|
|
1046
1048
|
}
|
|
1047
1049
|
}
|
|
1048
|
-
function
|
|
1050
|
+
function Ir(e) {
|
|
1049
1051
|
var t;
|
|
1050
1052
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1051
1053
|
notation: "engineering"
|
|
@@ -1053,17 +1055,17 @@ function Or(e) {
|
|
|
1053
1055
|
notation: "scientific"
|
|
1054
1056
|
}, e = e.slice(1)), t) {
|
|
1055
1057
|
var r = e.slice(0, 2);
|
|
1056
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1058
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
|
|
1057
1059
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1058
1060
|
t.minimumIntegerDigits = e.length;
|
|
1059
1061
|
}
|
|
1060
1062
|
return t;
|
|
1061
1063
|
}
|
|
1062
|
-
function
|
|
1063
|
-
var t = {}, r =
|
|
1064
|
+
function We(e) {
|
|
1065
|
+
var t = {}, r = Tt(e);
|
|
1064
1066
|
return r || t;
|
|
1065
1067
|
}
|
|
1066
|
-
function
|
|
1068
|
+
function Lr(e) {
|
|
1067
1069
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1068
1070
|
var i = n[r];
|
|
1069
1071
|
switch (i.stem) {
|
|
@@ -1087,7 +1089,7 @@ function Ir(e) {
|
|
|
1087
1089
|
continue;
|
|
1088
1090
|
case "measure-unit":
|
|
1089
1091
|
case "unit":
|
|
1090
|
-
t.style = "unit", t.unit =
|
|
1092
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1091
1093
|
continue;
|
|
1092
1094
|
case "compact-short":
|
|
1093
1095
|
case "K":
|
|
@@ -1099,12 +1101,12 @@ function Ir(e) {
|
|
|
1099
1101
|
continue;
|
|
1100
1102
|
case "scientific":
|
|
1101
1103
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1102
|
-
return E(E({}, l),
|
|
1104
|
+
return E(E({}, l), We(u));
|
|
1103
1105
|
}, {}));
|
|
1104
1106
|
continue;
|
|
1105
1107
|
case "engineering":
|
|
1106
1108
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1107
|
-
return E(E({}, l),
|
|
1109
|
+
return E(E({}, l), We(u));
|
|
1108
1110
|
}, {}));
|
|
1109
1111
|
continue;
|
|
1110
1112
|
case "notation-simple":
|
|
@@ -1149,7 +1151,7 @@ function Ir(e) {
|
|
|
1149
1151
|
case "integer-width":
|
|
1150
1152
|
if (i.options.length > 1)
|
|
1151
1153
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1152
|
-
i.options[0].replace(
|
|
1154
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1153
1155
|
if (u)
|
|
1154
1156
|
t.minimumIntegerDigits = h.length;
|
|
1155
1157
|
else {
|
|
@@ -1162,27 +1164,27 @@ function Ir(e) {
|
|
|
1162
1164
|
});
|
|
1163
1165
|
continue;
|
|
1164
1166
|
}
|
|
1165
|
-
if (
|
|
1167
|
+
if (Ht.test(i.stem)) {
|
|
1166
1168
|
t.minimumIntegerDigits = i.stem.length;
|
|
1167
1169
|
continue;
|
|
1168
1170
|
}
|
|
1169
|
-
if (
|
|
1171
|
+
if (Xe.test(i.stem)) {
|
|
1170
1172
|
if (i.options.length > 1)
|
|
1171
1173
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1172
|
-
i.stem.replace(
|
|
1174
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1173
1175
|
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1174
1176
|
});
|
|
1175
1177
|
var s = i.options[0];
|
|
1176
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1178
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1177
1179
|
continue;
|
|
1178
1180
|
}
|
|
1179
|
-
if (
|
|
1180
|
-
t = E(E({}, t),
|
|
1181
|
+
if (xt.test(i.stem)) {
|
|
1182
|
+
t = E(E({}, t), ze(i.stem));
|
|
1181
1183
|
continue;
|
|
1182
1184
|
}
|
|
1183
|
-
var a =
|
|
1185
|
+
var a = Tt(i.stem);
|
|
1184
1186
|
a && (t = E(E({}, t), a));
|
|
1185
|
-
var o =
|
|
1187
|
+
var o = Ir(i.stem);
|
|
1186
1188
|
o && (t = E(E({}, t), o));
|
|
1187
1189
|
}
|
|
1188
1190
|
return t;
|
|
@@ -2602,13 +2604,13 @@ var ie = {
|
|
|
2602
2604
|
"h"
|
|
2603
2605
|
]
|
|
2604
2606
|
};
|
|
2605
|
-
function
|
|
2607
|
+
function Cr(e, t) {
|
|
2606
2608
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2607
2609
|
var i = e.charAt(n);
|
|
2608
2610
|
if (i === "j") {
|
|
2609
2611
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2610
2612
|
s++, n++;
|
|
2611
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2613
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2612
2614
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2613
2615
|
r += l;
|
|
2614
2616
|
for (; a-- > 0; )
|
|
@@ -2618,7 +2620,7 @@ function Lr(e, t) {
|
|
|
2618
2620
|
}
|
|
2619
2621
|
return r;
|
|
2620
2622
|
}
|
|
2621
|
-
function
|
|
2623
|
+
function Mr(e) {
|
|
2622
2624
|
var t = e.hourCycle;
|
|
2623
2625
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2624
2626
|
e.hourCycles && // @ts-ignore
|
|
@@ -2640,20 +2642,20 @@ function Cr(e) {
|
|
|
2640
2642
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2641
2643
|
return i[0];
|
|
2642
2644
|
}
|
|
2643
|
-
var _e,
|
|
2645
|
+
var _e, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
|
|
2644
2646
|
function p(e, t) {
|
|
2645
2647
|
return { start: e, end: t };
|
|
2646
2648
|
}
|
|
2647
|
-
var
|
|
2649
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
|
|
2648
2650
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2649
2651
|
}, Pe = !0;
|
|
2650
2652
|
try {
|
|
2651
|
-
var
|
|
2652
|
-
Pe = ((_e =
|
|
2653
|
+
var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2654
|
+
Pe = ((_e = zr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2653
2655
|
} catch {
|
|
2654
2656
|
Pe = !1;
|
|
2655
2657
|
}
|
|
2656
|
-
var
|
|
2658
|
+
var Ze = Ur ? (
|
|
2657
2659
|
// Native
|
|
2658
2660
|
function(t, r, n) {
|
|
2659
2661
|
return t.startsWith(r, n);
|
|
@@ -2663,7 +2665,7 @@ var We = $r ? (
|
|
|
2663
2665
|
function(t, r, n) {
|
|
2664
2666
|
return t.slice(n, n + r.length) === r;
|
|
2665
2667
|
}
|
|
2666
|
-
), Ne =
|
|
2668
|
+
), Ne = Dr ? String.fromCodePoint : (
|
|
2667
2669
|
// IE11
|
|
2668
2670
|
function() {
|
|
2669
2671
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2675,9 +2677,9 @@ var We = $r ? (
|
|
|
2675
2677
|
}
|
|
2676
2678
|
return n;
|
|
2677
2679
|
}
|
|
2678
|
-
),
|
|
2680
|
+
), Qe = (
|
|
2679
2681
|
// native
|
|
2680
|
-
|
|
2682
|
+
Gr ? Object.fromEntries : (
|
|
2681
2683
|
// Ponyfill
|
|
2682
2684
|
function(t) {
|
|
2683
2685
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2687,7 +2689,7 @@ var We = $r ? (
|
|
|
2687
2689
|
return r;
|
|
2688
2690
|
}
|
|
2689
2691
|
)
|
|
2690
|
-
),
|
|
2692
|
+
), St = Fr ? (
|
|
2691
2693
|
// Native
|
|
2692
2694
|
function(t, r) {
|
|
2693
2695
|
return t.codePointAt(r);
|
|
@@ -2701,7 +2703,7 @@ var We = $r ? (
|
|
|
2701
2703
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2702
2704
|
}
|
|
2703
2705
|
}
|
|
2704
|
-
), Wr =
|
|
2706
|
+
), Wr = jr ? (
|
|
2705
2707
|
// Native
|
|
2706
2708
|
function(t) {
|
|
2707
2709
|
return t.trimStart();
|
|
@@ -2709,9 +2711,9 @@ var We = $r ? (
|
|
|
2709
2711
|
) : (
|
|
2710
2712
|
// Ponyfill
|
|
2711
2713
|
function(t) {
|
|
2712
|
-
return t.replace(
|
|
2714
|
+
return t.replace(Rr, "");
|
|
2713
2715
|
}
|
|
2714
|
-
),
|
|
2716
|
+
), Zr = kr ? (
|
|
2715
2717
|
// Native
|
|
2716
2718
|
function(t) {
|
|
2717
2719
|
return t.trimEnd();
|
|
@@ -2719,32 +2721,32 @@ var We = $r ? (
|
|
|
2719
2721
|
) : (
|
|
2720
2722
|
// Ponyfill
|
|
2721
2723
|
function(t) {
|
|
2722
|
-
return t.replace(
|
|
2724
|
+
return t.replace($r, "");
|
|
2723
2725
|
}
|
|
2724
2726
|
);
|
|
2725
|
-
function
|
|
2727
|
+
function Bt(e, t) {
|
|
2726
2728
|
return new RegExp(e, t);
|
|
2727
2729
|
}
|
|
2728
2730
|
var Oe;
|
|
2729
2731
|
if (Pe) {
|
|
2730
|
-
var
|
|
2732
|
+
var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2731
2733
|
Oe = function(t, r) {
|
|
2732
2734
|
var n;
|
|
2733
|
-
|
|
2734
|
-
var i =
|
|
2735
|
+
qe.lastIndex = r;
|
|
2736
|
+
var i = qe.exec(t);
|
|
2735
2737
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2736
2738
|
};
|
|
2737
2739
|
} else
|
|
2738
2740
|
Oe = function(t, r) {
|
|
2739
2741
|
for (var n = []; ; ) {
|
|
2740
|
-
var i =
|
|
2741
|
-
if (i === void 0 ||
|
|
2742
|
+
var i = St(t, r);
|
|
2743
|
+
if (i === void 0 || At(i) || Yr(i))
|
|
2742
2744
|
break;
|
|
2743
2745
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2744
2746
|
}
|
|
2745
2747
|
return Ne.apply(void 0, n);
|
|
2746
2748
|
};
|
|
2747
|
-
var
|
|
2749
|
+
var Qr = (
|
|
2748
2750
|
/** @class */
|
|
2749
2751
|
function() {
|
|
2750
2752
|
function e(t, r) {
|
|
@@ -2826,7 +2828,7 @@ var Zr = (
|
|
|
2826
2828
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2827
2829
|
}, e.prototype.parseTagName = function() {
|
|
2828
2830
|
var t = this.offset();
|
|
2829
|
-
for (this.bump(); !this.isEOF() &&
|
|
2831
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2830
2832
|
this.bump();
|
|
2831
2833
|
return this.message.slice(t, this.offset());
|
|
2832
2834
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2855,7 +2857,7 @@ var Zr = (
|
|
|
2855
2857
|
};
|
|
2856
2858
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2857
2859
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2858
|
-
!
|
|
2860
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2859
2861
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2860
2862
|
if (this.isEOF() || this.char() !== 39)
|
|
2861
2863
|
return null;
|
|
@@ -2942,7 +2944,7 @@ var Zr = (
|
|
|
2942
2944
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2943
2945
|
if (m.err)
|
|
2944
2946
|
return m;
|
|
2945
|
-
var f =
|
|
2947
|
+
var f = Zr(m.val);
|
|
2946
2948
|
if (f.length === 0)
|
|
2947
2949
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2948
2950
|
var b = p(h, this.clonePosition());
|
|
@@ -2952,7 +2954,7 @@ var Zr = (
|
|
|
2952
2954
|
if (y.err)
|
|
2953
2955
|
return y;
|
|
2954
2956
|
var _ = p(i, this.clonePosition());
|
|
2955
|
-
if (u &&
|
|
2957
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2956
2958
|
var T = Wr(u.style.slice(2));
|
|
2957
2959
|
if (o === "number") {
|
|
2958
2960
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
@@ -2964,12 +2966,12 @@ var Zr = (
|
|
|
2964
2966
|
if (T.length === 0)
|
|
2965
2967
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2966
2968
|
var w = T;
|
|
2967
|
-
this.locale && (w =
|
|
2969
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2968
2970
|
var f = {
|
|
2969
2971
|
type: j.dateTime,
|
|
2970
2972
|
pattern: w,
|
|
2971
2973
|
location: u.styleLocation,
|
|
2972
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2974
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2973
2975
|
}, A = o === "date" ? v.date : v.time;
|
|
2974
2976
|
return {
|
|
2975
2977
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3015,7 +3017,7 @@ var Zr = (
|
|
|
3015
3017
|
val: {
|
|
3016
3018
|
type: v.select,
|
|
3017
3019
|
value: n,
|
|
3018
|
-
options:
|
|
3020
|
+
options: Qe(O.val),
|
|
3019
3021
|
location: c
|
|
3020
3022
|
},
|
|
3021
3023
|
err: null
|
|
@@ -3023,7 +3025,7 @@ var Zr = (
|
|
|
3023
3025
|
val: {
|
|
3024
3026
|
type: v.plural,
|
|
3025
3027
|
value: n,
|
|
3026
|
-
options:
|
|
3028
|
+
options: Qe(O.val),
|
|
3027
3029
|
offset: x,
|
|
3028
3030
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3029
3031
|
location: c
|
|
@@ -3074,7 +3076,7 @@ var Zr = (
|
|
|
3074
3076
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3075
3077
|
var n = [];
|
|
3076
3078
|
try {
|
|
3077
|
-
n =
|
|
3079
|
+
n = Pr(t);
|
|
3078
3080
|
} catch {
|
|
3079
3081
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3080
3082
|
}
|
|
@@ -3083,7 +3085,7 @@ var Zr = (
|
|
|
3083
3085
|
type: j.number,
|
|
3084
3086
|
tokens: n,
|
|
3085
3087
|
location: r,
|
|
3086
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3088
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3087
3089
|
},
|
|
3088
3090
|
err: null
|
|
3089
3091
|
};
|
|
@@ -3131,7 +3133,7 @@ var Zr = (
|
|
|
3131
3133
|
break;
|
|
3132
3134
|
}
|
|
3133
3135
|
var l = p(i, this.clonePosition());
|
|
3134
|
-
return s ? (a *= n,
|
|
3136
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3135
3137
|
}, e.prototype.offset = function() {
|
|
3136
3138
|
return this.position.offset;
|
|
3137
3139
|
}, e.prototype.isEOF = function() {
|
|
@@ -3146,7 +3148,7 @@ var Zr = (
|
|
|
3146
3148
|
var t = this.position.offset;
|
|
3147
3149
|
if (t >= this.message.length)
|
|
3148
3150
|
throw Error("out of bound");
|
|
3149
|
-
var r =
|
|
3151
|
+
var r = St(this.message, t);
|
|
3150
3152
|
if (r === void 0)
|
|
3151
3153
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3152
3154
|
return r;
|
|
@@ -3165,7 +3167,7 @@ var Zr = (
|
|
|
3165
3167
|
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);
|
|
3166
3168
|
}
|
|
3167
3169
|
}, e.prototype.bumpIf = function(t) {
|
|
3168
|
-
if (
|
|
3170
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3169
3171
|
for (var r = 0; r < t.length; r++)
|
|
3170
3172
|
this.bump();
|
|
3171
3173
|
return !0;
|
|
@@ -3187,7 +3189,7 @@ var Zr = (
|
|
|
3187
3189
|
break;
|
|
3188
3190
|
}
|
|
3189
3191
|
}, e.prototype.bumpSpace = function() {
|
|
3190
|
-
for (; !this.isEOF() &&
|
|
3192
|
+
for (; !this.isEOF() && At(this.char()); )
|
|
3191
3193
|
this.bump();
|
|
3192
3194
|
}, e.prototype.peek = function() {
|
|
3193
3195
|
if (this.isEOF())
|
|
@@ -3200,30 +3202,30 @@ var Zr = (
|
|
|
3200
3202
|
function Ie(e) {
|
|
3201
3203
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3202
3204
|
}
|
|
3203
|
-
function
|
|
3205
|
+
function qr(e) {
|
|
3204
3206
|
return Ie(e) || e === 47;
|
|
3205
3207
|
}
|
|
3206
|
-
function
|
|
3208
|
+
function Jr(e) {
|
|
3207
3209
|
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;
|
|
3208
3210
|
}
|
|
3209
|
-
function
|
|
3211
|
+
function At(e) {
|
|
3210
3212
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3211
3213
|
}
|
|
3212
|
-
function
|
|
3214
|
+
function Yr(e) {
|
|
3213
3215
|
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;
|
|
3214
3216
|
}
|
|
3215
3217
|
function Le(e) {
|
|
3216
3218
|
e.forEach(function(t) {
|
|
3217
|
-
if (delete t.location,
|
|
3219
|
+
if (delete t.location, pt(t) || yt(t))
|
|
3218
3220
|
for (var r in t.options)
|
|
3219
3221
|
delete t.options[r].location, Le(t.options[r].value);
|
|
3220
3222
|
else
|
|
3221
|
-
|
|
3223
|
+
gt(t) && vt(t.style) || (dt(t) || bt(t)) && we(t.style) ? delete t.style.location : Et(t) && Le(t.children);
|
|
3222
3224
|
});
|
|
3223
3225
|
}
|
|
3224
|
-
function
|
|
3226
|
+
function Kr(e, t) {
|
|
3225
3227
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3226
|
-
var r = new
|
|
3228
|
+
var r = new Qr(e, t).parse();
|
|
3227
3229
|
if (r.err) {
|
|
3228
3230
|
var n = SyntaxError(d[r.err.kind]);
|
|
3229
3231
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3246,7 +3248,7 @@ var ge = (
|
|
|
3246
3248
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3247
3249
|
}, t;
|
|
3248
3250
|
}(Error)
|
|
3249
|
-
),
|
|
3251
|
+
), Je = (
|
|
3250
3252
|
/** @class */
|
|
3251
3253
|
function(e) {
|
|
3252
3254
|
me(t, e);
|
|
@@ -3255,7 +3257,7 @@ var ge = (
|
|
|
3255
3257
|
}
|
|
3256
3258
|
return t;
|
|
3257
3259
|
}(ge)
|
|
3258
|
-
),
|
|
3260
|
+
), en = (
|
|
3259
3261
|
/** @class */
|
|
3260
3262
|
function(e) {
|
|
3261
3263
|
me(t, e);
|
|
@@ -3264,7 +3266,7 @@ var ge = (
|
|
|
3264
3266
|
}
|
|
3265
3267
|
return t;
|
|
3266
3268
|
}(ge)
|
|
3267
|
-
),
|
|
3269
|
+
), tn = (
|
|
3268
3270
|
/** @class */
|
|
3269
3271
|
function(e) {
|
|
3270
3272
|
me(t, e);
|
|
@@ -3277,17 +3279,17 @@ var ge = (
|
|
|
3277
3279
|
(function(e) {
|
|
3278
3280
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3279
3281
|
})(B || (B = {}));
|
|
3280
|
-
function
|
|
3282
|
+
function rn(e) {
|
|
3281
3283
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3282
3284
|
var n = t[t.length - 1];
|
|
3283
3285
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3284
3286
|
}, []);
|
|
3285
3287
|
}
|
|
3286
|
-
function
|
|
3288
|
+
function nn(e) {
|
|
3287
3289
|
return typeof e == "function";
|
|
3288
3290
|
}
|
|
3289
3291
|
function ae(e, t, r, n, i, s, a) {
|
|
3290
|
-
if (e.length === 1 &&
|
|
3292
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3291
3293
|
return [
|
|
3292
3294
|
{
|
|
3293
3295
|
type: B.literal,
|
|
@@ -3296,14 +3298,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3296
3298
|
];
|
|
3297
3299
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3298
3300
|
var h = u[l];
|
|
3299
|
-
if (
|
|
3301
|
+
if (Ve(h)) {
|
|
3300
3302
|
o.push({
|
|
3301
3303
|
type: B.literal,
|
|
3302
3304
|
value: h.value
|
|
3303
3305
|
});
|
|
3304
3306
|
continue;
|
|
3305
3307
|
}
|
|
3306
|
-
if (
|
|
3308
|
+
if (Sr(h)) {
|
|
3307
3309
|
typeof s == "number" && o.push({
|
|
3308
3310
|
type: B.literal,
|
|
3309
3311
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3312,16 +3314,16 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3312
3314
|
}
|
|
3313
3315
|
var m = h.value;
|
|
3314
3316
|
if (!(i && m in i))
|
|
3315
|
-
throw new
|
|
3317
|
+
throw new tn(m, a);
|
|
3316
3318
|
var f = i[m];
|
|
3317
|
-
if (
|
|
3319
|
+
if (Tr(h)) {
|
|
3318
3320
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3319
3321
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3320
3322
|
value: f
|
|
3321
3323
|
});
|
|
3322
3324
|
continue;
|
|
3323
3325
|
}
|
|
3324
|
-
if (
|
|
3326
|
+
if (dt(h)) {
|
|
3325
3327
|
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3326
3328
|
o.push({
|
|
3327
3329
|
type: B.literal,
|
|
@@ -3329,7 +3331,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3329
3331
|
});
|
|
3330
3332
|
continue;
|
|
3331
3333
|
}
|
|
3332
|
-
if (
|
|
3334
|
+
if (bt(h)) {
|
|
3333
3335
|
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3334
3336
|
o.push({
|
|
3335
3337
|
type: B.literal,
|
|
@@ -3337,18 +3339,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3337
3339
|
});
|
|
3338
3340
|
continue;
|
|
3339
3341
|
}
|
|
3340
|
-
if (
|
|
3341
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3342
|
+
if (gt(h)) {
|
|
3343
|
+
var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
|
|
3342
3344
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3343
3345
|
type: B.literal,
|
|
3344
3346
|
value: r.getNumberFormat(t, b).format(f)
|
|
3345
3347
|
});
|
|
3346
3348
|
continue;
|
|
3347
3349
|
}
|
|
3348
|
-
if (
|
|
3350
|
+
if (Et(h)) {
|
|
3349
3351
|
var y = h.children, _ = h.value, T = i[_];
|
|
3350
|
-
if (!
|
|
3351
|
-
throw new
|
|
3352
|
+
if (!nn(T))
|
|
3353
|
+
throw new en(_, "function", a);
|
|
3352
3354
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3353
3355
|
return x.value;
|
|
3354
3356
|
}));
|
|
@@ -3359,14 +3361,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3359
3361
|
};
|
|
3360
3362
|
}));
|
|
3361
3363
|
}
|
|
3362
|
-
if (
|
|
3364
|
+
if (pt(h)) {
|
|
3363
3365
|
var S = h.options[f] || h.options.other;
|
|
3364
3366
|
if (!S)
|
|
3365
|
-
throw new
|
|
3367
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3366
3368
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3367
3369
|
continue;
|
|
3368
3370
|
}
|
|
3369
|
-
if (
|
|
3371
|
+
if (yt(h)) {
|
|
3370
3372
|
var S = h.options["=".concat(f)];
|
|
3371
3373
|
if (!S) {
|
|
3372
3374
|
if (!Intl.PluralRules)
|
|
@@ -3377,21 +3379,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3377
3379
|
S = h.options[P] || h.options.other;
|
|
3378
3380
|
}
|
|
3379
3381
|
if (!S)
|
|
3380
|
-
throw new
|
|
3382
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3381
3383
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3382
3384
|
continue;
|
|
3383
3385
|
}
|
|
3384
3386
|
}
|
|
3385
|
-
return
|
|
3387
|
+
return rn(o);
|
|
3386
3388
|
}
|
|
3387
|
-
function
|
|
3389
|
+
function sn(e, t) {
|
|
3388
3390
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3389
3391
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3390
3392
|
}, {})) : e;
|
|
3391
3393
|
}
|
|
3392
|
-
function
|
|
3394
|
+
function an(e, t) {
|
|
3393
3395
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3394
|
-
return r[n] =
|
|
3396
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3395
3397
|
}, E({}, e)) : e;
|
|
3396
3398
|
}
|
|
3397
3399
|
function xe(e) {
|
|
@@ -3408,7 +3410,7 @@ function xe(e) {
|
|
|
3408
3410
|
}
|
|
3409
3411
|
};
|
|
3410
3412
|
}
|
|
3411
|
-
function
|
|
3413
|
+
function on(e) {
|
|
3412
3414
|
return e === void 0 && (e = {
|
|
3413
3415
|
number: {},
|
|
3414
3416
|
dateTime: {},
|
|
@@ -3440,7 +3442,7 @@ function an(e) {
|
|
|
3440
3442
|
})
|
|
3441
3443
|
};
|
|
3442
3444
|
}
|
|
3443
|
-
var
|
|
3445
|
+
var un = (
|
|
3444
3446
|
/** @class */
|
|
3445
3447
|
function() {
|
|
3446
3448
|
function e(t, r, n, i) {
|
|
@@ -3472,13 +3474,13 @@ var on = (
|
|
|
3472
3474
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3473
3475
|
var a = i || {};
|
|
3474
3476
|
a.formatters;
|
|
3475
|
-
var o =
|
|
3477
|
+
var o = pr(a, ["formatters"]);
|
|
3476
3478
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3477
3479
|
} else
|
|
3478
3480
|
this.ast = t;
|
|
3479
3481
|
if (!Array.isArray(this.ast))
|
|
3480
3482
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3481
|
-
this.formats =
|
|
3483
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3482
3484
|
}
|
|
3483
3485
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3484
3486
|
get: function() {
|
|
@@ -3491,7 +3493,7 @@ var on = (
|
|
|
3491
3493
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3492
3494
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3493
3495
|
}
|
|
3494
|
-
}, e.__parse =
|
|
3496
|
+
}, e.__parse = Kr, e.formats = {
|
|
3495
3497
|
number: {
|
|
3496
3498
|
integer: {
|
|
3497
3499
|
maximumFractionDigits: 0
|
|
@@ -3552,7 +3554,7 @@ var on = (
|
|
|
3552
3554
|
}, e;
|
|
3553
3555
|
}()
|
|
3554
3556
|
);
|
|
3555
|
-
function
|
|
3557
|
+
function hn(e, t) {
|
|
3556
3558
|
if (t == null)
|
|
3557
3559
|
return;
|
|
3558
3560
|
if (t in e)
|
|
@@ -3573,60 +3575,60 @@ function un(e, t) {
|
|
|
3573
3575
|
n = void 0;
|
|
3574
3576
|
return n;
|
|
3575
3577
|
}
|
|
3576
|
-
const C = {},
|
|
3578
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
|
|
3577
3579
|
if (t == null)
|
|
3578
3580
|
return;
|
|
3579
3581
|
if (t in C && e in C[t])
|
|
3580
3582
|
return C[t][e];
|
|
3581
3583
|
const r = de(t);
|
|
3582
3584
|
for (let n = 0; n < r.length; n++) {
|
|
3583
|
-
const i = r[n], s =
|
|
3585
|
+
const i = r[n], s = cn(i, e);
|
|
3584
3586
|
if (s)
|
|
3585
|
-
return
|
|
3587
|
+
return ln(e, t, s);
|
|
3586
3588
|
}
|
|
3587
3589
|
};
|
|
3588
|
-
let
|
|
3589
|
-
const
|
|
3590
|
-
function
|
|
3591
|
-
return
|
|
3590
|
+
let De;
|
|
3591
|
+
const W = ce({});
|
|
3592
|
+
function fn(e) {
|
|
3593
|
+
return De[e] || null;
|
|
3592
3594
|
}
|
|
3593
|
-
function
|
|
3594
|
-
return e in
|
|
3595
|
+
function Pt(e) {
|
|
3596
|
+
return e in De;
|
|
3595
3597
|
}
|
|
3596
|
-
function
|
|
3597
|
-
if (!
|
|
3598
|
+
function cn(e, t) {
|
|
3599
|
+
if (!Pt(e))
|
|
3598
3600
|
return null;
|
|
3599
|
-
const r =
|
|
3600
|
-
return
|
|
3601
|
+
const r = fn(e);
|
|
3602
|
+
return hn(r, t);
|
|
3601
3603
|
}
|
|
3602
|
-
function
|
|
3604
|
+
function mn(e) {
|
|
3603
3605
|
if (e == null)
|
|
3604
3606
|
return;
|
|
3605
3607
|
const t = de(e);
|
|
3606
3608
|
for (let r = 0; r < t.length; r++) {
|
|
3607
3609
|
const n = t[r];
|
|
3608
|
-
if (
|
|
3610
|
+
if (Pt(n))
|
|
3609
3611
|
return n;
|
|
3610
3612
|
}
|
|
3611
3613
|
}
|
|
3612
|
-
function
|
|
3613
|
-
delete C[e],
|
|
3614
|
+
function gn(e, ...t) {
|
|
3615
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3614
3616
|
}
|
|
3615
|
-
|
|
3616
|
-
[
|
|
3617
|
+
z(
|
|
3618
|
+
[W],
|
|
3617
3619
|
([e]) => Object.keys(e)
|
|
3618
3620
|
);
|
|
3619
|
-
|
|
3621
|
+
W.subscribe((e) => De = e);
|
|
3620
3622
|
const oe = {};
|
|
3621
|
-
function
|
|
3623
|
+
function dn(e, t) {
|
|
3622
3624
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3623
3625
|
}
|
|
3624
|
-
function
|
|
3626
|
+
function Nt(e) {
|
|
3625
3627
|
return oe[e];
|
|
3626
3628
|
}
|
|
3627
|
-
function
|
|
3629
|
+
function bn(e) {
|
|
3628
3630
|
return de(e).map((t) => {
|
|
3629
|
-
const r =
|
|
3631
|
+
const r = Nt(t);
|
|
3630
3632
|
return [t, r ? [...r] : []];
|
|
3631
3633
|
}).filter(([, t]) => t.length > 0);
|
|
3632
3634
|
}
|
|
@@ -3634,31 +3636,31 @@ function Ce(e) {
|
|
|
3634
3636
|
return e == null ? !1 : de(e).some(
|
|
3635
3637
|
(t) => {
|
|
3636
3638
|
var r;
|
|
3637
|
-
return (r =
|
|
3639
|
+
return (r = Nt(t)) == null ? void 0 : r.size;
|
|
3638
3640
|
}
|
|
3639
3641
|
);
|
|
3640
3642
|
}
|
|
3641
|
-
function
|
|
3643
|
+
function pn(e, t) {
|
|
3642
3644
|
return Promise.all(
|
|
3643
|
-
t.map((n) => (
|
|
3644
|
-
).then((n) =>
|
|
3645
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3646
|
+
).then((n) => gn(e, ...n));
|
|
3645
3647
|
}
|
|
3646
3648
|
const Q = {};
|
|
3647
|
-
function
|
|
3649
|
+
function Ot(e) {
|
|
3648
3650
|
if (!Ce(e))
|
|
3649
3651
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3650
|
-
const t =
|
|
3652
|
+
const t = bn(e);
|
|
3651
3653
|
return Q[e] = Promise.all(
|
|
3652
3654
|
t.map(
|
|
3653
|
-
([r, n]) =>
|
|
3655
|
+
([r, n]) => pn(r, n)
|
|
3654
3656
|
)
|
|
3655
3657
|
).then(() => {
|
|
3656
3658
|
if (Ce(e))
|
|
3657
|
-
return
|
|
3659
|
+
return Ot(e);
|
|
3658
3660
|
delete Q[e];
|
|
3659
3661
|
}), Q[e];
|
|
3660
3662
|
}
|
|
3661
|
-
const
|
|
3663
|
+
const yn = {
|
|
3662
3664
|
number: {
|
|
3663
3665
|
scientific: { notation: "scientific" },
|
|
3664
3666
|
engineering: { notation: "engineering" },
|
|
@@ -3687,34 +3689,34 @@ const pn = {
|
|
|
3687
3689
|
timeZoneName: "short"
|
|
3688
3690
|
}
|
|
3689
3691
|
}
|
|
3690
|
-
},
|
|
3692
|
+
}, En = {
|
|
3691
3693
|
fallbackLocale: null,
|
|
3692
3694
|
loadingDelay: 200,
|
|
3693
|
-
formats:
|
|
3695
|
+
formats: yn,
|
|
3694
3696
|
warnOnMissingMessages: !0,
|
|
3695
3697
|
handleMissingMessage: void 0,
|
|
3696
3698
|
ignoreTag: !0
|
|
3697
|
-
},
|
|
3699
|
+
}, vn = En;
|
|
3698
3700
|
function V() {
|
|
3699
|
-
return
|
|
3701
|
+
return vn;
|
|
3700
3702
|
}
|
|
3701
3703
|
const He = ce(!1);
|
|
3702
|
-
var
|
|
3704
|
+
var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3703
3705
|
for (var r in t || (t = {}))
|
|
3704
|
-
|
|
3705
|
-
if (
|
|
3706
|
-
for (var r of
|
|
3707
|
-
|
|
3706
|
+
Tn.call(t, r) && Ke(e, r, t[r]);
|
|
3707
|
+
if (Ye)
|
|
3708
|
+
for (var r of Ye(t))
|
|
3709
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3708
3710
|
return e;
|
|
3709
|
-
},
|
|
3711
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3710
3712
|
let Me;
|
|
3711
3713
|
const ue = ce(null);
|
|
3712
|
-
function
|
|
3714
|
+
function et(e) {
|
|
3713
3715
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3714
3716
|
}
|
|
3715
3717
|
function de(e, t = V().fallbackLocale) {
|
|
3716
|
-
const r =
|
|
3717
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3718
|
+
const r = et(e);
|
|
3719
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3718
3720
|
}
|
|
3719
3721
|
function R() {
|
|
3720
3722
|
return Me ?? void 0;
|
|
@@ -3722,22 +3724,22 @@ function R() {
|
|
|
3722
3724
|
ue.subscribe((e) => {
|
|
3723
3725
|
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3724
3726
|
});
|
|
3725
|
-
const
|
|
3726
|
-
if (e &&
|
|
3727
|
+
const wn = (e) => {
|
|
3728
|
+
if (e && mn(e) && Ce(e)) {
|
|
3727
3729
|
const { loadingDelay: t } = V();
|
|
3728
3730
|
let r;
|
|
3729
3731
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3730
3732
|
() => He.set(!0),
|
|
3731
3733
|
t
|
|
3732
|
-
) : He.set(!0),
|
|
3734
|
+
) : He.set(!0), Ot(e).then(() => {
|
|
3733
3735
|
ue.set(e);
|
|
3734
3736
|
}).finally(() => {
|
|
3735
3737
|
clearTimeout(r), He.set(!1);
|
|
3736
3738
|
});
|
|
3737
3739
|
}
|
|
3738
3740
|
return ue.set(e);
|
|
3739
|
-
}, M = Bn(
|
|
3740
|
-
set:
|
|
3741
|
+
}, M = An(Bn({}, ue), {
|
|
3742
|
+
set: wn
|
|
3741
3743
|
}), be = (e) => {
|
|
3742
3744
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3743
3745
|
return (n) => {
|
|
@@ -3745,20 +3747,20 @@ const An = (e) => {
|
|
|
3745
3747
|
return i in t ? t[i] : t[i] = e(n);
|
|
3746
3748
|
};
|
|
3747
3749
|
};
|
|
3748
|
-
var
|
|
3750
|
+
var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3749
3751
|
for (var r in t || (t = {}))
|
|
3750
|
-
|
|
3752
|
+
It.call(t, r) && tt(e, r, t[r]);
|
|
3751
3753
|
if (he)
|
|
3752
3754
|
for (var r of he(t))
|
|
3753
|
-
|
|
3755
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3754
3756
|
return e;
|
|
3755
3757
|
}, Z = (e, t) => {
|
|
3756
3758
|
var r = {};
|
|
3757
3759
|
for (var n in e)
|
|
3758
|
-
|
|
3760
|
+
It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3759
3761
|
if (e != null && he)
|
|
3760
3762
|
for (var n of he(e))
|
|
3761
|
-
t.indexOf(n) < 0 &&
|
|
3763
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
|
3762
3764
|
return r;
|
|
3763
3765
|
};
|
|
3764
3766
|
const K = (e, t) => {
|
|
@@ -3766,21 +3768,21 @@ const K = (e, t) => {
|
|
|
3766
3768
|
if (e in r && t in r[e])
|
|
3767
3769
|
return r[e][t];
|
|
3768
3770
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3769
|
-
},
|
|
3771
|
+
}, Nn = be(
|
|
3770
3772
|
(e) => {
|
|
3771
3773
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3772
3774
|
if (r == null)
|
|
3773
3775
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3774
3776
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3775
3777
|
}
|
|
3776
|
-
),
|
|
3778
|
+
), On = be(
|
|
3777
3779
|
(e) => {
|
|
3778
3780
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3779
3781
|
if (r == null)
|
|
3780
3782
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3781
3783
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3782
3784
|
}
|
|
3783
|
-
),
|
|
3785
|
+
), In = be(
|
|
3784
3786
|
(e) => {
|
|
3785
3787
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3786
3788
|
if (r == null)
|
|
@@ -3789,33 +3791,33 @@ const K = (e, t) => {
|
|
|
3789
3791
|
);
|
|
3790
3792
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3791
3793
|
}
|
|
3792
|
-
),
|
|
3794
|
+
), Ln = (e = {}) => {
|
|
3793
3795
|
var t = e, {
|
|
3794
3796
|
locale: r = R()
|
|
3795
3797
|
} = t, n = Z(t, [
|
|
3796
3798
|
"locale"
|
|
3797
3799
|
]);
|
|
3798
|
-
return
|
|
3799
|
-
},
|
|
3800
|
+
return Nn(Ge({ locale: r }, n));
|
|
3801
|
+
}, Cn = (e = {}) => {
|
|
3800
3802
|
var t = e, {
|
|
3801
3803
|
locale: r = R()
|
|
3802
3804
|
} = t, n = Z(t, [
|
|
3803
3805
|
"locale"
|
|
3804
3806
|
]);
|
|
3805
|
-
return
|
|
3806
|
-
},
|
|
3807
|
+
return On(Ge({ locale: r }, n));
|
|
3808
|
+
}, Mn = (e = {}) => {
|
|
3807
3809
|
var t = e, {
|
|
3808
3810
|
locale: r = R()
|
|
3809
3811
|
} = t, n = Z(t, [
|
|
3810
3812
|
"locale"
|
|
3811
3813
|
]);
|
|
3812
|
-
return
|
|
3813
|
-
},
|
|
3814
|
+
return In(Ge({ locale: r }, n));
|
|
3815
|
+
}, Rn = be(
|
|
3814
3816
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3815
|
-
(e, t = R()) => new
|
|
3817
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3816
3818
|
ignoreTag: V().ignoreTag
|
|
3817
3819
|
})
|
|
3818
|
-
),
|
|
3820
|
+
), $n = (e, t = {}) => {
|
|
3819
3821
|
var r, n, i, s;
|
|
3820
3822
|
let a = t;
|
|
3821
3823
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3828,7 +3830,7 @@ const K = (e, t) => {
|
|
|
3828
3830
|
throw new Error(
|
|
3829
3831
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3830
3832
|
);
|
|
3831
|
-
let h =
|
|
3833
|
+
let h = wt(e, l);
|
|
3832
3834
|
if (!h)
|
|
3833
3835
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3834
3836
|
else if (typeof h != "string")
|
|
@@ -3839,7 +3841,7 @@ const K = (e, t) => {
|
|
|
3839
3841
|
return h;
|
|
3840
3842
|
let m = h;
|
|
3841
3843
|
try {
|
|
3842
|
-
m =
|
|
3844
|
+
m = Rn(h, l).format(o);
|
|
3843
3845
|
} catch (f) {
|
|
3844
3846
|
f instanceof Error && console.warn(
|
|
3845
3847
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3847,23 +3849,23 @@ const K = (e, t) => {
|
|
|
3847
3849
|
);
|
|
3848
3850
|
}
|
|
3849
3851
|
return m;
|
|
3850
|
-
},
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
function
|
|
3852
|
+
}, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => wt(e, t), mi = z([M, W], () => $n);
|
|
3853
|
+
z([M], () => Un);
|
|
3854
|
+
z([M], () => Dn);
|
|
3855
|
+
z([M], () => Gn);
|
|
3856
|
+
z([M, W], () => Fn);
|
|
3857
|
+
function jn({ withLocale: e, translations: t }) {
|
|
3856
3858
|
M.subscribe((r) => {
|
|
3857
|
-
r == null && (
|
|
3859
|
+
r == null && (W.set(t), M.set(e));
|
|
3858
3860
|
});
|
|
3859
3861
|
}
|
|
3860
|
-
function
|
|
3862
|
+
function kn(e, t) {
|
|
3861
3863
|
if (e) {
|
|
3862
3864
|
const r = document.createElement("style");
|
|
3863
3865
|
r.innerHTML = t, e.appendChild(r);
|
|
3864
3866
|
}
|
|
3865
3867
|
}
|
|
3866
|
-
function
|
|
3868
|
+
function Vn(e, t) {
|
|
3867
3869
|
const r = new URL(t);
|
|
3868
3870
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3869
3871
|
const i = document.createElement("style");
|
|
@@ -3872,7 +3874,7 @@ function kn(e, t) {
|
|
|
3872
3874
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3873
3875
|
});
|
|
3874
3876
|
}
|
|
3875
|
-
function
|
|
3877
|
+
function Xn(e, t, r) {
|
|
3876
3878
|
if (window.emMessageBus) {
|
|
3877
3879
|
const n = document.createElement("style");
|
|
3878
3880
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3892,14 +3894,14 @@ if (typeof window < "u") {
|
|
|
3892
3894
|
}
|
|
3893
3895
|
};
|
|
3894
3896
|
};
|
|
3895
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3897
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-C169Up12.js").then(({ default: t }) => {
|
|
3896
3898
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3897
3899
|
});
|
|
3898
3900
|
}
|
|
3899
|
-
function
|
|
3900
|
-
|
|
3901
|
+
function zn(e) {
|
|
3902
|
+
Rt(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))}");
|
|
3901
3903
|
}
|
|
3902
|
-
function
|
|
3904
|
+
function rt(e) {
|
|
3903
3905
|
let t;
|
|
3904
3906
|
return {
|
|
3905
3907
|
c() {
|
|
@@ -4117,7 +4119,7 @@ function et(e) {
|
|
|
4117
4119
|
function Wn(e) {
|
|
4118
4120
|
let t, r = (
|
|
4119
4121
|
/*session*/
|
|
4120
|
-
e[4] &&
|
|
4122
|
+
e[4] && rt(e)
|
|
4121
4123
|
);
|
|
4122
4124
|
return {
|
|
4123
4125
|
c() {
|
|
@@ -4128,7 +4130,7 @@ function Wn(e) {
|
|
|
4128
4130
|
},
|
|
4129
4131
|
p(n, [i]) {
|
|
4130
4132
|
/*session*/
|
|
4131
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4133
|
+
n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4132
4134
|
},
|
|
4133
4135
|
i: N,
|
|
4134
4136
|
o: N,
|
|
@@ -4137,9 +4139,9 @@ function Wn(e) {
|
|
|
4137
4139
|
}
|
|
4138
4140
|
};
|
|
4139
4141
|
}
|
|
4140
|
-
function
|
|
4142
|
+
function Zn(e, t, r) {
|
|
4141
4143
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = 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: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4142
|
-
|
|
4144
|
+
jn({ withLocale: "en", translations: {} }), kt(() => () => {
|
|
4143
4145
|
});
|
|
4144
4146
|
function O(c) {
|
|
4145
4147
|
Te[c ? "unshift" : "push"](() => {
|
|
@@ -4150,9 +4152,9 @@ function zn(e, t, r) {
|
|
|
4150
4152
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4151
4153
|
}, e.$$.update = () => {
|
|
4152
4154
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4153
|
-
262208 && u && x &&
|
|
4154
|
-
262272 && h && x &&
|
|
4155
|
-
393216 && x &&
|
|
4155
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4156
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4157
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4156
4158
|
}, [
|
|
4157
4159
|
n,
|
|
4158
4160
|
i,
|
|
@@ -4176,14 +4178,14 @@ function zn(e, t, r) {
|
|
|
4176
4178
|
O
|
|
4177
4179
|
];
|
|
4178
4180
|
}
|
|
4179
|
-
class
|
|
4181
|
+
class Qn extends Yt {
|
|
4180
4182
|
constructor(t) {
|
|
4181
|
-
super(),
|
|
4183
|
+
super(), qt(
|
|
4182
4184
|
this,
|
|
4183
4185
|
t,
|
|
4184
|
-
|
|
4186
|
+
Zn,
|
|
4185
4187
|
Wn,
|
|
4186
|
-
|
|
4188
|
+
it,
|
|
4187
4189
|
{
|
|
4188
4190
|
endpoint: 0,
|
|
4189
4191
|
datasource: 1,
|
|
@@ -4204,7 +4206,7 @@ class Zn extends qt {
|
|
|
4204
4206
|
fetchviaevent: 16,
|
|
4205
4207
|
mbsource: 17
|
|
4206
4208
|
},
|
|
4207
|
-
|
|
4209
|
+
zn
|
|
4208
4210
|
);
|
|
4209
4211
|
}
|
|
4210
4212
|
get endpoint() {
|
|
@@ -4316,51 +4318,51 @@ class Zn extends qt {
|
|
|
4316
4318
|
this.$$set({ mbsource: t }), H();
|
|
4317
4319
|
}
|
|
4318
4320
|
}
|
|
4319
|
-
|
|
4321
|
+
Jt(Qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4320
4322
|
export {
|
|
4321
4323
|
M as $,
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4324
|
+
ri as A,
|
|
4325
|
+
ni as B,
|
|
4326
|
+
Kn as C,
|
|
4327
|
+
X as D,
|
|
4328
|
+
ii as E,
|
|
4329
|
+
mi as F,
|
|
4330
|
+
qn as G,
|
|
4331
|
+
si as H,
|
|
4332
|
+
Yn as I,
|
|
4331
4333
|
g as J,
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4334
|
+
ti as K,
|
|
4335
|
+
ai as L,
|
|
4336
|
+
oi as M,
|
|
4337
|
+
li as N,
|
|
4338
|
+
hi as O,
|
|
4339
|
+
Qn as P,
|
|
4340
|
+
Yt as S,
|
|
4341
|
+
fi as _,
|
|
4340
4342
|
ye as a,
|
|
4341
|
-
|
|
4343
|
+
ci as b,
|
|
4342
4344
|
me as c,
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
+
W as d,
|
|
4346
|
+
gn as e,
|
|
4345
4347
|
H as f,
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4348
|
+
Jt as g,
|
|
4349
|
+
Rt as h,
|
|
4350
|
+
qt as i,
|
|
4351
|
+
te as j,
|
|
4352
|
+
fe as k,
|
|
4353
|
+
ee as l,
|
|
4354
|
+
Jn as m,
|
|
4353
4355
|
N as n,
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4356
|
+
kt as o,
|
|
4357
|
+
Vn as p,
|
|
4358
|
+
Te as q,
|
|
4359
|
+
kn as r,
|
|
4360
|
+
it as s,
|
|
4361
|
+
Xn as t,
|
|
4362
|
+
ui as u,
|
|
4363
|
+
Dt as v,
|
|
4364
|
+
ei as w,
|
|
4365
|
+
at as x,
|
|
4366
|
+
Re as y,
|
|
4367
|
+
Mt as z
|
|
4366
4368
|
};
|