@everymatrix/casino-favorites-section-nd 1.56.0 → 1.56.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/{CasinoFavoritesSectionNd-Dh-qwIZc.js → CasinoFavoritesSectionNd-B2nCTOIP.js} +439 -407
- package/components/CasinoFavoritesSectionNd-CIYFqk0b.cjs +16 -0
- package/components/{CasinoFavoritesSectionNd-BLKYogVc.js → CasinoFavoritesSectionNd-DH_i_bFU.js} +579 -547
- package/components/{CasinoFilter-CiDKZL4m.js → CasinoFilter-B60-W8gX.js} +385 -359
- package/components/CasinoFilter-C5ZJfoan.cjs +3 -0
- package/components/{CasinoFilter-CP-3sT-b.js → CasinoFilter-DvHt8LW2.js} +389 -361
- package/components/{CasinoGameThumbnailNd-wVnZpolX.js → CasinoGameThumbnailNd-Cd5fuLG5.js} +1149 -1181
- package/components/{CasinoGameThumbnailNd-D721K16Y.js → CasinoGameThumbnailNd-FWpKk5Wb.js} +1438 -1502
- package/components/CasinoGameThumbnailNd-RKO3kWbN.cjs +39 -0
- package/components/{CasinoGamesCategorySectionNd-CriYdtdR.js → CasinoGamesCategorySectionNd-DNPtgCyF.js} +149 -142
- package/components/{CasinoGamesCategorySectionNd-hMbf9lGH.cjs → CasinoGamesCategorySectionNd-Foxl4t8_.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-C8TeffCC.js → CasinoGamesCategorySectionNd-p_bordJh.js} +155 -148
- package/components/{CasinoSort-VGj-VqgC.js → CasinoSort-B9xJicUD.js} +111 -109
- package/components/{CasinoSort-CZsSoa-C.js → CasinoSort-C8oS4DlG.js} +101 -101
- package/components/{CasinoSort-BIN0Q5Do.cjs → CasinoSort-CF0XrfRY.cjs} +1 -1
- package/es2015/casino-favorites-section-nd.cjs +1 -1
- package/es2015/casino-favorites-section-nd.js +1 -1
- package/esnext/casino-favorites-section-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFavoritesSectionNd-BOEdkoHC.cjs +0 -3
- package/components/CasinoFilter-C6nhTbq8.cjs +0 -3
- package/components/CasinoGameThumbnailNd-vWTb4mKJ.cjs +0 -39
package/components/{CasinoFavoritesSectionNd-Dh-qwIZc.js → CasinoFavoritesSectionNd-B2nCTOIP.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 Me(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,21 +31,22 @@ 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 Mt(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Rt(e, t, r) {
|
|
41
|
+
const n = $t(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = te("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, Ut(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
47
|
+
function $t(e) {
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -53,8 +54,8 @@ function Mt(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
57
|
+
function Ut(e, t) {
|
|
58
|
+
return Mt(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
60
61
|
t
|
|
@@ -66,26 +67,26 @@ function le(e, t, r) {
|
|
|
66
67
|
function ee(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Yn(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
73
74
|
function te(e) {
|
|
74
75
|
return document.createElement(e);
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function Dt(e) {
|
|
77
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function at(e) {
|
|
80
81
|
return document.createTextNode(e);
|
|
81
82
|
}
|
|
82
|
-
function Yn() {
|
|
83
|
-
return it(" ");
|
|
84
|
-
}
|
|
85
83
|
function Kn() {
|
|
86
|
-
return
|
|
84
|
+
return at(" ");
|
|
85
|
+
}
|
|
86
|
+
function ei() {
|
|
87
|
+
return at("");
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function ti(e, t, r, n) {
|
|
89
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
91
|
}
|
|
91
92
|
function Re(e, t, r) {
|
|
@@ -95,23 +96,23 @@ function g(e, t, r) {
|
|
|
95
96
|
const n = t.toLowerCase();
|
|
96
97
|
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);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function Gt(e) {
|
|
99
100
|
return Array.from(e.childNodes);
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
+
function ri(e, t) {
|
|
102
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
104
|
t);
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function ni(e, t) {
|
|
106
107
|
e.value = t ?? "";
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function ii(e, t, r, n) {
|
|
109
110
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
+
function si(e, t, r) {
|
|
112
113
|
e.classList.toggle(t, !!r);
|
|
113
114
|
}
|
|
114
|
-
class
|
|
115
|
+
class ai {
|
|
115
116
|
/**
|
|
116
117
|
* @private
|
|
117
118
|
* @default false
|
|
@@ -142,7 +143,7 @@ class si {
|
|
|
142
143
|
* @returns {void}
|
|
143
144
|
*/
|
|
144
145
|
m(t, r, n = null) {
|
|
145
|
-
this.e || (this.is_svg ? this.e =
|
|
146
|
+
this.e || (this.is_svg ? this.e = Dt(
|
|
146
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
147
148
|
r.nodeName
|
|
148
149
|
) : this.e = te(
|
|
@@ -181,7 +182,7 @@ class si {
|
|
|
181
182
|
this.n.forEach(ee);
|
|
182
183
|
}
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
+
function Ft(e) {
|
|
185
186
|
const t = {};
|
|
186
187
|
return e.childNodes.forEach(
|
|
187
188
|
/** @param {Element} node */
|
|
@@ -194,22 +195,23 @@ let J;
|
|
|
194
195
|
function q(e) {
|
|
195
196
|
J = e;
|
|
196
197
|
}
|
|
197
|
-
function
|
|
198
|
-
if (!J)
|
|
198
|
+
function jt() {
|
|
199
|
+
if (!J)
|
|
200
|
+
throw new Error("Function called outside component initialization");
|
|
199
201
|
return J;
|
|
200
202
|
}
|
|
201
|
-
function
|
|
202
|
-
|
|
203
|
+
function kt(e) {
|
|
204
|
+
jt().$$.on_mount.push(e);
|
|
203
205
|
}
|
|
204
206
|
const D = [], He = [];
|
|
205
207
|
let G = [];
|
|
206
|
-
const
|
|
208
|
+
const je = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
207
209
|
let Te = !1;
|
|
208
|
-
function
|
|
209
|
-
Te || (Te = !0,
|
|
210
|
+
function ut() {
|
|
211
|
+
Te || (Te = !0, ot.then(H));
|
|
210
212
|
}
|
|
211
|
-
function
|
|
212
|
-
return
|
|
213
|
+
function oi() {
|
|
214
|
+
return ut(), ot;
|
|
213
215
|
}
|
|
214
216
|
function Se(e) {
|
|
215
217
|
G.push(e);
|
|
@@ -224,47 +226,49 @@ function H() {
|
|
|
224
226
|
try {
|
|
225
227
|
for (; $ < D.length; ) {
|
|
226
228
|
const t = D[$];
|
|
227
|
-
$++, q(t),
|
|
229
|
+
$++, q(t), Vt(t.$$);
|
|
228
230
|
}
|
|
229
231
|
} catch (t) {
|
|
230
232
|
throw D.length = 0, $ = 0, t;
|
|
231
233
|
}
|
|
232
|
-
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
234
|
+
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
235
|
+
He.pop()();
|
|
233
236
|
for (let t = 0; t < G.length; t += 1) {
|
|
234
237
|
const r = G[t];
|
|
235
238
|
be.has(r) || (be.add(r), r());
|
|
236
239
|
}
|
|
237
240
|
G.length = 0;
|
|
238
241
|
} while (D.length);
|
|
239
|
-
for (;
|
|
240
|
-
|
|
242
|
+
for (; je.length; )
|
|
243
|
+
je.pop()();
|
|
241
244
|
Te = !1, be.clear(), q(e);
|
|
242
245
|
}
|
|
243
|
-
function
|
|
246
|
+
function Vt(e) {
|
|
244
247
|
if (e.fragment !== null) {
|
|
245
248
|
e.update(), X(e.before_update);
|
|
246
249
|
const t = e.dirty;
|
|
247
250
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
248
251
|
}
|
|
249
252
|
}
|
|
250
|
-
function
|
|
253
|
+
function Xt(e) {
|
|
251
254
|
const t = [], r = [];
|
|
252
255
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
253
256
|
}
|
|
254
|
-
const
|
|
255
|
-
function
|
|
256
|
-
e && e.i && (
|
|
257
|
+
const zt = /* @__PURE__ */ new Set();
|
|
258
|
+
function ht(e, t) {
|
|
259
|
+
e && e.i && (zt.delete(e), e.i(t));
|
|
257
260
|
}
|
|
258
|
-
function
|
|
261
|
+
function ui(e) {
|
|
259
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
260
263
|
}
|
|
261
|
-
function
|
|
264
|
+
function hi(e, t) {
|
|
262
265
|
e.d(1), t.delete(e.key);
|
|
263
266
|
}
|
|
264
|
-
function
|
|
267
|
+
function li(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
265
268
|
let f = e.length, b = s.length, y = f;
|
|
266
269
|
const _ = {};
|
|
267
|
-
for (; y--; )
|
|
270
|
+
for (; y--; )
|
|
271
|
+
_[e[y].key] = y;
|
|
268
272
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
269
273
|
for (y = b; y--; ) {
|
|
270
274
|
const c = m(i, s, y), I = r(c);
|
|
@@ -273,7 +277,7 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
273
277
|
}
|
|
274
278
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
275
279
|
function O(c) {
|
|
276
|
-
|
|
280
|
+
ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
277
281
|
}
|
|
278
282
|
for (; f && b; ) {
|
|
279
283
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -283,24 +287,25 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
283
287
|
const c = e[f];
|
|
284
288
|
w.has(c.key) || l(c, a);
|
|
285
289
|
}
|
|
286
|
-
for (; b; )
|
|
290
|
+
for (; b; )
|
|
291
|
+
O(T[b - 1]);
|
|
287
292
|
return X(S), T;
|
|
288
293
|
}
|
|
289
|
-
function
|
|
294
|
+
function Wt(e, t, r) {
|
|
290
295
|
const { fragment: n, after_update: i } = e.$$;
|
|
291
296
|
n && n.m(t, r), Se(() => {
|
|
292
|
-
const s = e.$$.on_mount.map(
|
|
297
|
+
const s = e.$$.on_mount.map(nt).filter(Me);
|
|
293
298
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
294
299
|
}), i.forEach(Se);
|
|
295
300
|
}
|
|
296
|
-
function
|
|
301
|
+
function Zt(e, t) {
|
|
297
302
|
const r = e.$$;
|
|
298
|
-
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 = []);
|
|
299
304
|
}
|
|
300
|
-
function
|
|
301
|
-
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;
|
|
302
307
|
}
|
|
303
|
-
function
|
|
308
|
+
function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
304
309
|
const l = J;
|
|
305
310
|
q(e);
|
|
306
311
|
const u = e.$$ = {
|
|
@@ -310,7 +315,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
310
315
|
props: s,
|
|
311
316
|
update: N,
|
|
312
317
|
not_equal: i,
|
|
313
|
-
bound:
|
|
318
|
+
bound: Fe(),
|
|
314
319
|
// lifecycle
|
|
315
320
|
on_mount: [],
|
|
316
321
|
on_destroy: [],
|
|
@@ -319,7 +324,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
319
324
|
after_update: [],
|
|
320
325
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
321
326
|
// everything else
|
|
322
|
-
callbacks:
|
|
327
|
+
callbacks: Fe(),
|
|
323
328
|
dirty: o,
|
|
324
329
|
skip_bound: !1,
|
|
325
330
|
root: t.target || l.$$.root
|
|
@@ -328,19 +333,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
328
333
|
let h = !1;
|
|
329
334
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
330
335
|
const y = b.length ? b[0] : f;
|
|
331
|
-
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;
|
|
332
337
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
333
338
|
if (t.hydrate) {
|
|
334
|
-
const m =
|
|
339
|
+
const m = Gt(t.target);
|
|
335
340
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
336
341
|
} else
|
|
337
342
|
u.fragment && u.fragment.c();
|
|
338
|
-
t.intro &&
|
|
343
|
+
t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
|
|
339
344
|
}
|
|
340
345
|
q(l);
|
|
341
346
|
}
|
|
342
|
-
let
|
|
343
|
-
typeof HTMLElement == "function" && (
|
|
347
|
+
let lt;
|
|
348
|
+
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
344
349
|
/** The Svelte component constructor */
|
|
345
350
|
$$ctor;
|
|
346
351
|
/** Slots */
|
|
@@ -399,7 +404,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
399
404
|
};
|
|
400
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
401
406
|
return;
|
|
402
|
-
const t = {}, r =
|
|
407
|
+
const t = {}, r = Ft(this);
|
|
403
408
|
for (const i of this.$$s)
|
|
404
409
|
i in r && (t[i] = [e(i)]);
|
|
405
410
|
for (const i of this.attributes) {
|
|
@@ -486,8 +491,8 @@ function se(e, t, r, n) {
|
|
|
486
491
|
return t;
|
|
487
492
|
}
|
|
488
493
|
}
|
|
489
|
-
function
|
|
490
|
-
let a = class extends
|
|
494
|
+
function Jt(e, t, r, n, i, s) {
|
|
495
|
+
let a = class extends lt {
|
|
491
496
|
constructor() {
|
|
492
497
|
super(e, r, i), this.$$p_d = t;
|
|
493
498
|
}
|
|
@@ -515,7 +520,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
515
520
|
}), e.element = /** @type {any} */
|
|
516
521
|
a, a;
|
|
517
522
|
}
|
|
518
|
-
class
|
|
523
|
+
class Yt {
|
|
519
524
|
/**
|
|
520
525
|
* ### PRIVATE API
|
|
521
526
|
*
|
|
@@ -534,7 +539,7 @@ class qt {
|
|
|
534
539
|
$$set = void 0;
|
|
535
540
|
/** @returns {void} */
|
|
536
541
|
$destroy() {
|
|
537
|
-
|
|
542
|
+
Zt(this, 1), this.$destroy = N;
|
|
538
543
|
}
|
|
539
544
|
/**
|
|
540
545
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -556,13 +561,13 @@ class qt {
|
|
|
556
561
|
* @returns {void}
|
|
557
562
|
*/
|
|
558
563
|
$set(t) {
|
|
559
|
-
this.$$set && !
|
|
564
|
+
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
560
565
|
}
|
|
561
566
|
}
|
|
562
|
-
const
|
|
563
|
-
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);
|
|
564
569
|
const U = [];
|
|
565
|
-
function
|
|
570
|
+
function er(e, t) {
|
|
566
571
|
return {
|
|
567
572
|
subscribe: fe(e, t).subscribe
|
|
568
573
|
};
|
|
@@ -571,7 +576,7 @@ function fe(e, t = N) {
|
|
|
571
576
|
let r;
|
|
572
577
|
const n = /* @__PURE__ */ new Set();
|
|
573
578
|
function i(o) {
|
|
574
|
-
if (
|
|
579
|
+
if (it(e, o) && (e = o, r)) {
|
|
575
580
|
const l = !U.length;
|
|
576
581
|
for (const u of n)
|
|
577
582
|
u[1](), U.push(u, e);
|
|
@@ -593,12 +598,12 @@ function fe(e, t = N) {
|
|
|
593
598
|
}
|
|
594
599
|
return { set: i, update: s, subscribe: a };
|
|
595
600
|
}
|
|
596
|
-
function
|
|
601
|
+
function z(e, t, r) {
|
|
597
602
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
598
603
|
if (!i.every(Boolean))
|
|
599
604
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
600
605
|
const s = t.length < 2;
|
|
601
|
-
return
|
|
606
|
+
return er(r, (a, o) => {
|
|
602
607
|
let l = !1;
|
|
603
608
|
const u = [];
|
|
604
609
|
let h = 0, m = N;
|
|
@@ -609,7 +614,7 @@ function W(e, t, r) {
|
|
|
609
614
|
const y = t(n ? u[0] : u, a, o);
|
|
610
615
|
s ? a(y) : m = Me(y) ? y : N;
|
|
611
616
|
}, b = i.map(
|
|
612
|
-
(y, _) =>
|
|
617
|
+
(y, _) => st(
|
|
613
618
|
y,
|
|
614
619
|
(T) => {
|
|
615
620
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -624,70 +629,70 @@ function W(e, t, r) {
|
|
|
624
629
|
};
|
|
625
630
|
});
|
|
626
631
|
}
|
|
627
|
-
function
|
|
632
|
+
function tr(e) {
|
|
628
633
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
629
634
|
}
|
|
630
|
-
var
|
|
631
|
-
return
|
|
635
|
+
var rr = function(t) {
|
|
636
|
+
return nr(t) && !ir(t);
|
|
632
637
|
};
|
|
633
|
-
function
|
|
638
|
+
function nr(e) {
|
|
634
639
|
return !!e && typeof e == "object";
|
|
635
640
|
}
|
|
636
|
-
function
|
|
641
|
+
function ir(e) {
|
|
637
642
|
var t = Object.prototype.toString.call(e);
|
|
638
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
643
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
639
644
|
}
|
|
640
|
-
var
|
|
641
|
-
function
|
|
642
|
-
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;
|
|
643
648
|
}
|
|
644
|
-
function
|
|
649
|
+
function ur(e) {
|
|
645
650
|
return Array.isArray(e) ? [] : {};
|
|
646
651
|
}
|
|
647
652
|
function Y(e, t) {
|
|
648
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
653
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
649
654
|
}
|
|
650
|
-
function
|
|
655
|
+
function hr(e, t, r) {
|
|
651
656
|
return e.concat(t).map(function(n) {
|
|
652
657
|
return Y(n, r);
|
|
653
658
|
});
|
|
654
659
|
}
|
|
655
|
-
function
|
|
660
|
+
function lr(e, t) {
|
|
656
661
|
if (!t.customMerge)
|
|
657
662
|
return F;
|
|
658
663
|
var r = t.customMerge(e);
|
|
659
664
|
return typeof r == "function" ? r : F;
|
|
660
665
|
}
|
|
661
|
-
function
|
|
666
|
+
function fr(e) {
|
|
662
667
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
663
668
|
return Object.propertyIsEnumerable.call(e, t);
|
|
664
669
|
}) : [];
|
|
665
670
|
}
|
|
666
|
-
function
|
|
667
|
-
return Object.keys(e).concat(
|
|
671
|
+
function ke(e) {
|
|
672
|
+
return Object.keys(e).concat(fr(e));
|
|
668
673
|
}
|
|
669
|
-
function
|
|
674
|
+
function ft(e, t) {
|
|
670
675
|
try {
|
|
671
676
|
return t in e;
|
|
672
677
|
} catch {
|
|
673
678
|
return !1;
|
|
674
679
|
}
|
|
675
680
|
}
|
|
676
|
-
function
|
|
677
|
-
return
|
|
681
|
+
function cr(e, t) {
|
|
682
|
+
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
678
683
|
}
|
|
679
|
-
function
|
|
684
|
+
function mr(e, t, r) {
|
|
680
685
|
var n = {};
|
|
681
|
-
return r.isMergeableObject(e) &&
|
|
686
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
682
687
|
n[i] = Y(e[i], r);
|
|
683
|
-
}),
|
|
684
|
-
|
|
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));
|
|
685
690
|
}), n;
|
|
686
691
|
}
|
|
687
692
|
function F(e, t, r) {
|
|
688
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
693
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
689
694
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
690
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
695
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
691
696
|
}
|
|
692
697
|
F.all = function(t, r) {
|
|
693
698
|
if (!Array.isArray(t))
|
|
@@ -696,13 +701,28 @@ F.all = function(t, r) {
|
|
|
696
701
|
return F(n, i, r);
|
|
697
702
|
}, {});
|
|
698
703
|
};
|
|
699
|
-
var
|
|
700
|
-
const
|
|
704
|
+
var gr = F, dr = gr;
|
|
705
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
706
|
+
/*! *****************************************************************************
|
|
707
|
+
Copyright (c) Microsoft Corporation.
|
|
708
|
+
|
|
709
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
710
|
+
purpose with or without fee is hereby granted.
|
|
711
|
+
|
|
712
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
713
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
714
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
715
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
716
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
717
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
718
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
719
|
+
***************************************************************************** */
|
|
701
720
|
var Be = function(e, t) {
|
|
702
721
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
703
722
|
r.__proto__ = n;
|
|
704
723
|
} || function(r, n) {
|
|
705
|
-
for (var i in n)
|
|
724
|
+
for (var i in n)
|
|
725
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
706
726
|
}, Be(e, t);
|
|
707
727
|
};
|
|
708
728
|
function ce(e, t) {
|
|
@@ -718,99 +738,109 @@ var E = function() {
|
|
|
718
738
|
return E = Object.assign || function(t) {
|
|
719
739
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
720
740
|
r = arguments[n];
|
|
721
|
-
for (var s in r)
|
|
741
|
+
for (var s in r)
|
|
742
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
722
743
|
}
|
|
723
744
|
return t;
|
|
724
745
|
}, E.apply(this, arguments);
|
|
725
746
|
};
|
|
726
|
-
function
|
|
747
|
+
function pr(e, t) {
|
|
727
748
|
var r = {};
|
|
728
|
-
for (var n in e)
|
|
749
|
+
for (var n in e)
|
|
750
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
729
751
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
730
752
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
731
753
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
732
754
|
return r;
|
|
733
755
|
}
|
|
734
|
-
function
|
|
756
|
+
function fi(e) {
|
|
735
757
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
736
|
-
if (r)
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
758
|
+
if (r)
|
|
759
|
+
return r.call(e);
|
|
760
|
+
if (e && typeof e.length == "number")
|
|
761
|
+
return {
|
|
762
|
+
next: function() {
|
|
763
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
764
|
+
}
|
|
765
|
+
};
|
|
742
766
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
743
767
|
}
|
|
744
|
-
function
|
|
768
|
+
function ci(e, t) {
|
|
745
769
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
746
|
-
if (!r)
|
|
770
|
+
if (!r)
|
|
771
|
+
return e;
|
|
747
772
|
var n = r.call(e), i, s = [], a;
|
|
748
773
|
try {
|
|
749
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
774
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
775
|
+
s.push(i.value);
|
|
750
776
|
} catch (o) {
|
|
751
777
|
a = { error: o };
|
|
752
778
|
} finally {
|
|
753
779
|
try {
|
|
754
780
|
i && !i.done && (r = n.return) && r.call(n);
|
|
755
781
|
} finally {
|
|
756
|
-
if (a)
|
|
782
|
+
if (a)
|
|
783
|
+
throw a.error;
|
|
757
784
|
}
|
|
758
785
|
}
|
|
759
786
|
return s;
|
|
760
787
|
}
|
|
761
788
|
function pe(e, t, r) {
|
|
762
|
-
if (r || arguments.length === 2)
|
|
763
|
-
(
|
|
764
|
-
|
|
789
|
+
if (r || arguments.length === 2)
|
|
790
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
791
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
792
|
+
return e.concat(s || t);
|
|
765
793
|
}
|
|
766
794
|
function ye(e, t) {
|
|
767
|
-
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;
|
|
768
796
|
return i(e, {
|
|
769
797
|
cache: r,
|
|
770
798
|
serializer: n
|
|
771
799
|
});
|
|
772
800
|
}
|
|
773
|
-
function
|
|
801
|
+
function yr(e) {
|
|
774
802
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
775
803
|
}
|
|
776
|
-
function
|
|
777
|
-
var i =
|
|
804
|
+
function ct(e, t, r, n) {
|
|
805
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
|
778
806
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
779
807
|
}
|
|
780
|
-
function
|
|
808
|
+
function mt(e, t, r) {
|
|
781
809
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
782
810
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
783
811
|
}
|
|
784
|
-
function
|
|
812
|
+
function $e(e, t, r, n, i) {
|
|
785
813
|
return r.bind(t, e, n, i);
|
|
786
814
|
}
|
|
787
|
-
function yr(e, t) {
|
|
788
|
-
var r = e.length === 1 ? pr : lt;
|
|
789
|
-
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
790
|
-
}
|
|
791
815
|
function Er(e, t) {
|
|
792
|
-
|
|
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);
|
|
793
824
|
}
|
|
794
|
-
var
|
|
825
|
+
var xr = function() {
|
|
795
826
|
return JSON.stringify(arguments);
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
}()
|
|
808
|
-
), 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 = {
|
|
809
838
|
create: function() {
|
|
810
|
-
return new
|
|
839
|
+
return new Ue();
|
|
811
840
|
}
|
|
812
841
|
}, Ee = {
|
|
813
|
-
variadic:
|
|
842
|
+
variadic: vr,
|
|
843
|
+
monadic: _r
|
|
814
844
|
}, d;
|
|
815
845
|
(function(e) {
|
|
816
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";
|
|
@@ -823,43 +853,43 @@ var j;
|
|
|
823
853
|
(function(e) {
|
|
824
854
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
825
855
|
})(j || (j = {}));
|
|
826
|
-
function
|
|
856
|
+
function Ve(e) {
|
|
827
857
|
return e.type === v.literal;
|
|
828
858
|
}
|
|
829
|
-
function
|
|
859
|
+
function Tr(e) {
|
|
830
860
|
return e.type === v.argument;
|
|
831
861
|
}
|
|
832
|
-
function
|
|
862
|
+
function gt(e) {
|
|
833
863
|
return e.type === v.number;
|
|
834
864
|
}
|
|
835
|
-
function
|
|
865
|
+
function dt(e) {
|
|
836
866
|
return e.type === v.date;
|
|
837
867
|
}
|
|
838
|
-
function
|
|
868
|
+
function bt(e) {
|
|
839
869
|
return e.type === v.time;
|
|
840
870
|
}
|
|
841
|
-
function
|
|
871
|
+
function pt(e) {
|
|
842
872
|
return e.type === v.select;
|
|
843
873
|
}
|
|
844
|
-
function
|
|
874
|
+
function yt(e) {
|
|
845
875
|
return e.type === v.plural;
|
|
846
876
|
}
|
|
847
|
-
function
|
|
877
|
+
function Sr(e) {
|
|
848
878
|
return e.type === v.pound;
|
|
849
879
|
}
|
|
850
|
-
function
|
|
880
|
+
function Et(e) {
|
|
851
881
|
return e.type === v.tag;
|
|
852
882
|
}
|
|
853
|
-
function
|
|
883
|
+
function vt(e) {
|
|
854
884
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
855
885
|
}
|
|
856
886
|
function Ae(e) {
|
|
857
887
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
858
888
|
}
|
|
859
|
-
var
|
|
860
|
-
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) {
|
|
861
891
|
var t = {};
|
|
862
|
-
return e.replace(
|
|
892
|
+
return e.replace(Br, function(r) {
|
|
863
893
|
var n = r.length;
|
|
864
894
|
switch (r[0]) {
|
|
865
895
|
case "G":
|
|
@@ -948,11 +978,11 @@ function Br(e) {
|
|
|
948
978
|
return "";
|
|
949
979
|
}), t;
|
|
950
980
|
}
|
|
951
|
-
var
|
|
952
|
-
function
|
|
981
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
982
|
+
function Pr(e) {
|
|
953
983
|
if (e.length === 0)
|
|
954
984
|
throw new Error("Number skeleton cannot be empty");
|
|
955
|
-
for (var t = e.split(
|
|
985
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
956
986
|
return f.length > 0;
|
|
957
987
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
958
988
|
var s = i[n], a = s.split("/");
|
|
@@ -967,17 +997,17 @@ function wr(e) {
|
|
|
967
997
|
}
|
|
968
998
|
return r;
|
|
969
999
|
}
|
|
970
|
-
function
|
|
1000
|
+
function Nr(e) {
|
|
971
1001
|
return e.replace(/^(.*?)-/, "");
|
|
972
1002
|
}
|
|
973
|
-
var
|
|
974
|
-
function
|
|
1003
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
1004
|
+
function ze(e) {
|
|
975
1005
|
var t = {};
|
|
976
|
-
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) {
|
|
977
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)), "";
|
|
978
1008
|
}), t;
|
|
979
1009
|
}
|
|
980
|
-
function
|
|
1010
|
+
function Tt(e) {
|
|
981
1011
|
switch (e) {
|
|
982
1012
|
case "sign-auto":
|
|
983
1013
|
return {
|
|
@@ -1017,7 +1047,7 @@ function xt(e) {
|
|
|
1017
1047
|
};
|
|
1018
1048
|
}
|
|
1019
1049
|
}
|
|
1020
|
-
function
|
|
1050
|
+
function Ir(e) {
|
|
1021
1051
|
var t;
|
|
1022
1052
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1023
1053
|
notation: "engineering"
|
|
@@ -1025,17 +1055,17 @@ function Or(e) {
|
|
|
1025
1055
|
notation: "scientific"
|
|
1026
1056
|
}, e = e.slice(1)), t) {
|
|
1027
1057
|
var r = e.slice(0, 2);
|
|
1028
|
-
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))
|
|
1029
1059
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1030
1060
|
t.minimumIntegerDigits = e.length;
|
|
1031
1061
|
}
|
|
1032
1062
|
return t;
|
|
1033
1063
|
}
|
|
1034
|
-
function
|
|
1035
|
-
var t = {}, r =
|
|
1064
|
+
function We(e) {
|
|
1065
|
+
var t = {}, r = Tt(e);
|
|
1036
1066
|
return r || t;
|
|
1037
1067
|
}
|
|
1038
|
-
function
|
|
1068
|
+
function Lr(e) {
|
|
1039
1069
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1040
1070
|
var i = n[r];
|
|
1041
1071
|
switch (i.stem) {
|
|
@@ -1059,7 +1089,7 @@ function Ir(e) {
|
|
|
1059
1089
|
continue;
|
|
1060
1090
|
case "measure-unit":
|
|
1061
1091
|
case "unit":
|
|
1062
|
-
t.style = "unit", t.unit =
|
|
1092
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1063
1093
|
continue;
|
|
1064
1094
|
case "compact-short":
|
|
1065
1095
|
case "K":
|
|
@@ -1071,12 +1101,12 @@ function Ir(e) {
|
|
|
1071
1101
|
continue;
|
|
1072
1102
|
case "scientific":
|
|
1073
1103
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1074
|
-
return E(E({}, l),
|
|
1104
|
+
return E(E({}, l), We(u));
|
|
1075
1105
|
}, {}));
|
|
1076
1106
|
continue;
|
|
1077
1107
|
case "engineering":
|
|
1078
1108
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1079
|
-
return E(E({}, l),
|
|
1109
|
+
return E(E({}, l), We(u));
|
|
1080
1110
|
}, {}));
|
|
1081
1111
|
continue;
|
|
1082
1112
|
case "notation-simple":
|
|
@@ -1121,7 +1151,7 @@ function Ir(e) {
|
|
|
1121
1151
|
case "integer-width":
|
|
1122
1152
|
if (i.options.length > 1)
|
|
1123
1153
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1124
|
-
i.options[0].replace(
|
|
1154
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1125
1155
|
if (u)
|
|
1126
1156
|
t.minimumIntegerDigits = h.length;
|
|
1127
1157
|
else {
|
|
@@ -1134,27 +1164,27 @@ function Ir(e) {
|
|
|
1134
1164
|
});
|
|
1135
1165
|
continue;
|
|
1136
1166
|
}
|
|
1137
|
-
if (
|
|
1167
|
+
if (Ht.test(i.stem)) {
|
|
1138
1168
|
t.minimumIntegerDigits = i.stem.length;
|
|
1139
1169
|
continue;
|
|
1140
1170
|
}
|
|
1141
|
-
if (
|
|
1171
|
+
if (Xe.test(i.stem)) {
|
|
1142
1172
|
if (i.options.length > 1)
|
|
1143
1173
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1144
|
-
i.stem.replace(
|
|
1174
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1145
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), "";
|
|
1146
1176
|
});
|
|
1147
1177
|
var s = i.options[0];
|
|
1148
|
-
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)));
|
|
1149
1179
|
continue;
|
|
1150
1180
|
}
|
|
1151
|
-
if (
|
|
1152
|
-
t = E(E({}, t),
|
|
1181
|
+
if (xt.test(i.stem)) {
|
|
1182
|
+
t = E(E({}, t), ze(i.stem));
|
|
1153
1183
|
continue;
|
|
1154
1184
|
}
|
|
1155
|
-
var a =
|
|
1185
|
+
var a = Tt(i.stem);
|
|
1156
1186
|
a && (t = E(E({}, t), a));
|
|
1157
|
-
var o =
|
|
1187
|
+
var o = Ir(i.stem);
|
|
1158
1188
|
o && (t = E(E({}, t), o));
|
|
1159
1189
|
}
|
|
1160
1190
|
return t;
|
|
@@ -2574,22 +2604,23 @@ var ie = {
|
|
|
2574
2604
|
"h"
|
|
2575
2605
|
]
|
|
2576
2606
|
};
|
|
2577
|
-
function
|
|
2607
|
+
function Cr(e, t) {
|
|
2578
2608
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2579
2609
|
var i = e.charAt(n);
|
|
2580
2610
|
if (i === "j") {
|
|
2581
2611
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2582
2612
|
s++, n++;
|
|
2583
|
-
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);
|
|
2584
2614
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2585
2615
|
r += l;
|
|
2586
2616
|
for (; a-- > 0; )
|
|
2587
2617
|
r = u + r;
|
|
2588
|
-
} else
|
|
2618
|
+
} else
|
|
2619
|
+
i === "J" ? r += "H" : r += i;
|
|
2589
2620
|
}
|
|
2590
2621
|
return r;
|
|
2591
2622
|
}
|
|
2592
|
-
function
|
|
2623
|
+
function Mr(e) {
|
|
2593
2624
|
var t = e.hourCycle;
|
|
2594
2625
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2595
2626
|
e.hourCycles && // @ts-ignore
|
|
@@ -2611,20 +2642,20 @@ function Cr(e) {
|
|
|
2611
2642
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2612
2643
|
return i[0];
|
|
2613
2644
|
}
|
|
2614
|
-
var ve,
|
|
2645
|
+
var ve, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
|
|
2615
2646
|
function p(e, t) {
|
|
2616
2647
|
return { start: e, end: t };
|
|
2617
2648
|
}
|
|
2618
|
-
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) {
|
|
2619
2650
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2620
2651
|
}, we = !0;
|
|
2621
2652
|
try {
|
|
2622
|
-
var
|
|
2623
|
-
we = ((ve =
|
|
2653
|
+
var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2654
|
+
we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2624
2655
|
} catch {
|
|
2625
2656
|
we = !1;
|
|
2626
2657
|
}
|
|
2627
|
-
var
|
|
2658
|
+
var Ze = Ur ? (
|
|
2628
2659
|
// Native
|
|
2629
2660
|
function(t, r, n) {
|
|
2630
2661
|
return t.startsWith(r, n);
|
|
@@ -2634,7 +2665,7 @@ var We = $r ? (
|
|
|
2634
2665
|
function(t, r, n) {
|
|
2635
2666
|
return t.slice(n, n + r.length) === r;
|
|
2636
2667
|
}
|
|
2637
|
-
), Pe =
|
|
2668
|
+
), Pe = Dr ? String.fromCodePoint : (
|
|
2638
2669
|
// IE11
|
|
2639
2670
|
function() {
|
|
2640
2671
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2646,9 +2677,9 @@ var We = $r ? (
|
|
|
2646
2677
|
}
|
|
2647
2678
|
return n;
|
|
2648
2679
|
}
|
|
2649
|
-
),
|
|
2680
|
+
), Qe = (
|
|
2650
2681
|
// native
|
|
2651
|
-
|
|
2682
|
+
Gr ? Object.fromEntries : (
|
|
2652
2683
|
// Ponyfill
|
|
2653
2684
|
function(t) {
|
|
2654
2685
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2658,7 +2689,7 @@ var We = $r ? (
|
|
|
2658
2689
|
return r;
|
|
2659
2690
|
}
|
|
2660
2691
|
)
|
|
2661
|
-
),
|
|
2692
|
+
), St = Fr ? (
|
|
2662
2693
|
// Native
|
|
2663
2694
|
function(t, r) {
|
|
2664
2695
|
return t.codePointAt(r);
|
|
@@ -2672,7 +2703,7 @@ var We = $r ? (
|
|
|
2672
2703
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2673
2704
|
}
|
|
2674
2705
|
}
|
|
2675
|
-
), Wr =
|
|
2706
|
+
), Wr = jr ? (
|
|
2676
2707
|
// Native
|
|
2677
2708
|
function(t) {
|
|
2678
2709
|
return t.trimStart();
|
|
@@ -2680,9 +2711,9 @@ var We = $r ? (
|
|
|
2680
2711
|
) : (
|
|
2681
2712
|
// Ponyfill
|
|
2682
2713
|
function(t) {
|
|
2683
|
-
return t.replace(
|
|
2714
|
+
return t.replace(Rr, "");
|
|
2684
2715
|
}
|
|
2685
|
-
),
|
|
2716
|
+
), Zr = kr ? (
|
|
2686
2717
|
// Native
|
|
2687
2718
|
function(t) {
|
|
2688
2719
|
return t.trimEnd();
|
|
@@ -2690,32 +2721,32 @@ var We = $r ? (
|
|
|
2690
2721
|
) : (
|
|
2691
2722
|
// Ponyfill
|
|
2692
2723
|
function(t) {
|
|
2693
|
-
return t.replace(
|
|
2724
|
+
return t.replace($r, "");
|
|
2694
2725
|
}
|
|
2695
2726
|
);
|
|
2696
|
-
function
|
|
2727
|
+
function Bt(e, t) {
|
|
2697
2728
|
return new RegExp(e, t);
|
|
2698
2729
|
}
|
|
2699
2730
|
var Ne;
|
|
2700
2731
|
if (we) {
|
|
2701
|
-
var
|
|
2732
|
+
var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2702
2733
|
Ne = function(t, r) {
|
|
2703
2734
|
var n;
|
|
2704
|
-
|
|
2705
|
-
var i =
|
|
2735
|
+
qe.lastIndex = r;
|
|
2736
|
+
var i = qe.exec(t);
|
|
2706
2737
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2707
2738
|
};
|
|
2708
2739
|
} else
|
|
2709
2740
|
Ne = function(t, r) {
|
|
2710
2741
|
for (var n = []; ; ) {
|
|
2711
|
-
var i =
|
|
2712
|
-
if (i === void 0 ||
|
|
2742
|
+
var i = St(t, r);
|
|
2743
|
+
if (i === void 0 || At(i) || Yr(i))
|
|
2713
2744
|
break;
|
|
2714
2745
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2715
2746
|
}
|
|
2716
2747
|
return Pe.apply(void 0, n);
|
|
2717
2748
|
};
|
|
2718
|
-
var
|
|
2749
|
+
var Qr = (
|
|
2719
2750
|
/** @class */
|
|
2720
2751
|
function() {
|
|
2721
2752
|
function e(t, r) {
|
|
@@ -2797,7 +2828,7 @@ var Zr = (
|
|
|
2797
2828
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2798
2829
|
}, e.prototype.parseTagName = function() {
|
|
2799
2830
|
var t = this.offset();
|
|
2800
|
-
for (this.bump(); !this.isEOF() &&
|
|
2831
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2801
2832
|
this.bump();
|
|
2802
2833
|
return this.message.slice(t, this.offset());
|
|
2803
2834
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2826,7 +2857,7 @@ var Zr = (
|
|
|
2826
2857
|
};
|
|
2827
2858
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2828
2859
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2829
|
-
!
|
|
2860
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2830
2861
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2831
2862
|
if (this.isEOF() || this.char() !== 39)
|
|
2832
2863
|
return null;
|
|
@@ -2913,7 +2944,7 @@ var Zr = (
|
|
|
2913
2944
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2914
2945
|
if (m.err)
|
|
2915
2946
|
return m;
|
|
2916
|
-
var f =
|
|
2947
|
+
var f = Zr(m.val);
|
|
2917
2948
|
if (f.length === 0)
|
|
2918
2949
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2919
2950
|
var b = p(h, this.clonePosition());
|
|
@@ -2923,7 +2954,7 @@ var Zr = (
|
|
|
2923
2954
|
if (y.err)
|
|
2924
2955
|
return y;
|
|
2925
2956
|
var _ = p(i, this.clonePosition());
|
|
2926
|
-
if (u &&
|
|
2957
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2927
2958
|
var T = Wr(u.style.slice(2));
|
|
2928
2959
|
if (o === "number") {
|
|
2929
2960
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
@@ -2935,12 +2966,12 @@ var Zr = (
|
|
|
2935
2966
|
if (T.length === 0)
|
|
2936
2967
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2937
2968
|
var w = T;
|
|
2938
|
-
this.locale && (w =
|
|
2969
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2939
2970
|
var f = {
|
|
2940
2971
|
type: j.dateTime,
|
|
2941
2972
|
pattern: w,
|
|
2942
2973
|
location: u.styleLocation,
|
|
2943
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2974
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2944
2975
|
}, A = o === "date" ? v.date : v.time;
|
|
2945
2976
|
return {
|
|
2946
2977
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -2986,7 +3017,7 @@ var Zr = (
|
|
|
2986
3017
|
val: {
|
|
2987
3018
|
type: v.select,
|
|
2988
3019
|
value: n,
|
|
2989
|
-
options:
|
|
3020
|
+
options: Qe(O.val),
|
|
2990
3021
|
location: c
|
|
2991
3022
|
},
|
|
2992
3023
|
err: null
|
|
@@ -2994,7 +3025,7 @@ var Zr = (
|
|
|
2994
3025
|
val: {
|
|
2995
3026
|
type: v.plural,
|
|
2996
3027
|
value: n,
|
|
2997
|
-
options:
|
|
3028
|
+
options: Qe(O.val),
|
|
2998
3029
|
offset: x,
|
|
2999
3030
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3000
3031
|
location: c
|
|
@@ -3045,7 +3076,7 @@ var Zr = (
|
|
|
3045
3076
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3046
3077
|
var n = [];
|
|
3047
3078
|
try {
|
|
3048
|
-
n =
|
|
3079
|
+
n = Pr(t);
|
|
3049
3080
|
} catch {
|
|
3050
3081
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3051
3082
|
}
|
|
@@ -3054,7 +3085,7 @@ var Zr = (
|
|
|
3054
3085
|
type: j.number,
|
|
3055
3086
|
tokens: n,
|
|
3056
3087
|
location: r,
|
|
3057
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3088
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3058
3089
|
},
|
|
3059
3090
|
err: null
|
|
3060
3091
|
};
|
|
@@ -3102,7 +3133,7 @@ var Zr = (
|
|
|
3102
3133
|
break;
|
|
3103
3134
|
}
|
|
3104
3135
|
var l = p(i, this.clonePosition());
|
|
3105
|
-
return s ? (a *= n,
|
|
3136
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3106
3137
|
}, e.prototype.offset = function() {
|
|
3107
3138
|
return this.position.offset;
|
|
3108
3139
|
}, e.prototype.isEOF = function() {
|
|
@@ -3117,7 +3148,7 @@ var Zr = (
|
|
|
3117
3148
|
var t = this.position.offset;
|
|
3118
3149
|
if (t >= this.message.length)
|
|
3119
3150
|
throw Error("out of bound");
|
|
3120
|
-
var r =
|
|
3151
|
+
var r = St(this.message, t);
|
|
3121
3152
|
if (r === void 0)
|
|
3122
3153
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3123
3154
|
return r;
|
|
@@ -3136,7 +3167,7 @@ var Zr = (
|
|
|
3136
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);
|
|
3137
3168
|
}
|
|
3138
3169
|
}, e.prototype.bumpIf = function(t) {
|
|
3139
|
-
if (
|
|
3170
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3140
3171
|
for (var r = 0; r < t.length; r++)
|
|
3141
3172
|
this.bump();
|
|
3142
3173
|
return !0;
|
|
@@ -3158,7 +3189,7 @@ var Zr = (
|
|
|
3158
3189
|
break;
|
|
3159
3190
|
}
|
|
3160
3191
|
}, e.prototype.bumpSpace = function() {
|
|
3161
|
-
for (; !this.isEOF() &&
|
|
3192
|
+
for (; !this.isEOF() && At(this.char()); )
|
|
3162
3193
|
this.bump();
|
|
3163
3194
|
}, e.prototype.peek = function() {
|
|
3164
3195
|
if (this.isEOF())
|
|
@@ -3171,29 +3202,30 @@ var Zr = (
|
|
|
3171
3202
|
function Oe(e) {
|
|
3172
3203
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3173
3204
|
}
|
|
3174
|
-
function
|
|
3205
|
+
function qr(e) {
|
|
3175
3206
|
return Oe(e) || e === 47;
|
|
3176
3207
|
}
|
|
3177
|
-
function
|
|
3208
|
+
function Jr(e) {
|
|
3178
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;
|
|
3179
3210
|
}
|
|
3180
|
-
function
|
|
3211
|
+
function At(e) {
|
|
3181
3212
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3182
3213
|
}
|
|
3183
|
-
function
|
|
3214
|
+
function Yr(e) {
|
|
3184
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;
|
|
3185
3216
|
}
|
|
3186
3217
|
function Ie(e) {
|
|
3187
3218
|
e.forEach(function(t) {
|
|
3188
|
-
if (delete t.location,
|
|
3219
|
+
if (delete t.location, pt(t) || yt(t))
|
|
3189
3220
|
for (var r in t.options)
|
|
3190
3221
|
delete t.options[r].location, Ie(t.options[r].value);
|
|
3191
|
-
else
|
|
3222
|
+
else
|
|
3223
|
+
gt(t) && vt(t.style) || (dt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
|
|
3192
3224
|
});
|
|
3193
3225
|
}
|
|
3194
|
-
function
|
|
3226
|
+
function Kr(e, t) {
|
|
3195
3227
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3196
|
-
var r = new
|
|
3228
|
+
var r = new Qr(e, t).parse();
|
|
3197
3229
|
if (r.err) {
|
|
3198
3230
|
var n = SyntaxError(d[r.err.kind]);
|
|
3199
3231
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3216,7 +3248,7 @@ var me = (
|
|
|
3216
3248
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3217
3249
|
}, t;
|
|
3218
3250
|
}(Error)
|
|
3219
|
-
),
|
|
3251
|
+
), Je = (
|
|
3220
3252
|
/** @class */
|
|
3221
3253
|
function(e) {
|
|
3222
3254
|
ce(t, e);
|
|
@@ -3225,7 +3257,7 @@ var me = (
|
|
|
3225
3257
|
}
|
|
3226
3258
|
return t;
|
|
3227
3259
|
}(me)
|
|
3228
|
-
),
|
|
3260
|
+
), en = (
|
|
3229
3261
|
/** @class */
|
|
3230
3262
|
function(e) {
|
|
3231
3263
|
ce(t, e);
|
|
@@ -3234,7 +3266,7 @@ var me = (
|
|
|
3234
3266
|
}
|
|
3235
3267
|
return t;
|
|
3236
3268
|
}(me)
|
|
3237
|
-
),
|
|
3269
|
+
), tn = (
|
|
3238
3270
|
/** @class */
|
|
3239
3271
|
function(e) {
|
|
3240
3272
|
ce(t, e);
|
|
@@ -3247,17 +3279,17 @@ var me = (
|
|
|
3247
3279
|
(function(e) {
|
|
3248
3280
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3249
3281
|
})(B || (B = {}));
|
|
3250
|
-
function
|
|
3282
|
+
function rn(e) {
|
|
3251
3283
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3252
3284
|
var n = t[t.length - 1];
|
|
3253
3285
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3254
3286
|
}, []);
|
|
3255
3287
|
}
|
|
3256
|
-
function
|
|
3288
|
+
function nn(e) {
|
|
3257
3289
|
return typeof e == "function";
|
|
3258
3290
|
}
|
|
3259
3291
|
function ae(e, t, r, n, i, s, a) {
|
|
3260
|
-
if (e.length === 1 &&
|
|
3292
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3261
3293
|
return [
|
|
3262
3294
|
{
|
|
3263
3295
|
type: B.literal,
|
|
@@ -3266,14 +3298,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3266
3298
|
];
|
|
3267
3299
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3268
3300
|
var h = u[l];
|
|
3269
|
-
if (
|
|
3301
|
+
if (Ve(h)) {
|
|
3270
3302
|
o.push({
|
|
3271
3303
|
type: B.literal,
|
|
3272
3304
|
value: h.value
|
|
3273
3305
|
});
|
|
3274
3306
|
continue;
|
|
3275
3307
|
}
|
|
3276
|
-
if (
|
|
3308
|
+
if (Sr(h)) {
|
|
3277
3309
|
typeof s == "number" && o.push({
|
|
3278
3310
|
type: B.literal,
|
|
3279
3311
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3282,16 +3314,16 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3282
3314
|
}
|
|
3283
3315
|
var m = h.value;
|
|
3284
3316
|
if (!(i && m in i))
|
|
3285
|
-
throw new
|
|
3317
|
+
throw new tn(m, a);
|
|
3286
3318
|
var f = i[m];
|
|
3287
|
-
if (
|
|
3319
|
+
if (Tr(h)) {
|
|
3288
3320
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3289
3321
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3290
3322
|
value: f
|
|
3291
3323
|
});
|
|
3292
3324
|
continue;
|
|
3293
3325
|
}
|
|
3294
|
-
if (
|
|
3326
|
+
if (dt(h)) {
|
|
3295
3327
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3296
3328
|
o.push({
|
|
3297
3329
|
type: B.literal,
|
|
@@ -3299,7 +3331,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3299
3331
|
});
|
|
3300
3332
|
continue;
|
|
3301
3333
|
}
|
|
3302
|
-
if (
|
|
3334
|
+
if (bt(h)) {
|
|
3303
3335
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3304
3336
|
o.push({
|
|
3305
3337
|
type: B.literal,
|
|
@@ -3307,18 +3339,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3307
3339
|
});
|
|
3308
3340
|
continue;
|
|
3309
3341
|
}
|
|
3310
|
-
if (
|
|
3311
|
-
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;
|
|
3312
3344
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3313
3345
|
type: B.literal,
|
|
3314
3346
|
value: r.getNumberFormat(t, b).format(f)
|
|
3315
3347
|
});
|
|
3316
3348
|
continue;
|
|
3317
3349
|
}
|
|
3318
|
-
if (
|
|
3350
|
+
if (Et(h)) {
|
|
3319
3351
|
var y = h.children, _ = h.value, T = i[_];
|
|
3320
|
-
if (!
|
|
3321
|
-
throw new
|
|
3352
|
+
if (!nn(T))
|
|
3353
|
+
throw new en(_, "function", a);
|
|
3322
3354
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3323
3355
|
return x.value;
|
|
3324
3356
|
}));
|
|
@@ -3329,14 +3361,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3329
3361
|
};
|
|
3330
3362
|
}));
|
|
3331
3363
|
}
|
|
3332
|
-
if (
|
|
3364
|
+
if (pt(h)) {
|
|
3333
3365
|
var S = h.options[f] || h.options.other;
|
|
3334
3366
|
if (!S)
|
|
3335
|
-
throw new
|
|
3367
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3336
3368
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3337
3369
|
continue;
|
|
3338
3370
|
}
|
|
3339
|
-
if (
|
|
3371
|
+
if (yt(h)) {
|
|
3340
3372
|
var S = h.options["=".concat(f)];
|
|
3341
3373
|
if (!S) {
|
|
3342
3374
|
if (!Intl.PluralRules)
|
|
@@ -3347,21 +3379,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3347
3379
|
S = h.options[P] || h.options.other;
|
|
3348
3380
|
}
|
|
3349
3381
|
if (!S)
|
|
3350
|
-
throw new
|
|
3382
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3351
3383
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3352
3384
|
continue;
|
|
3353
3385
|
}
|
|
3354
3386
|
}
|
|
3355
|
-
return
|
|
3387
|
+
return rn(o);
|
|
3356
3388
|
}
|
|
3357
|
-
function
|
|
3389
|
+
function sn(e, t) {
|
|
3358
3390
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3359
3391
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3360
3392
|
}, {})) : e;
|
|
3361
3393
|
}
|
|
3362
|
-
function
|
|
3394
|
+
function an(e, t) {
|
|
3363
3395
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3364
|
-
return r[n] =
|
|
3396
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3365
3397
|
}, E({}, e)) : e;
|
|
3366
3398
|
}
|
|
3367
3399
|
function _e(e) {
|
|
@@ -3378,7 +3410,7 @@ function _e(e) {
|
|
|
3378
3410
|
}
|
|
3379
3411
|
};
|
|
3380
3412
|
}
|
|
3381
|
-
function
|
|
3413
|
+
function on(e) {
|
|
3382
3414
|
return e === void 0 && (e = {
|
|
3383
3415
|
number: {},
|
|
3384
3416
|
dateTime: {},
|
|
@@ -3410,7 +3442,7 @@ function an(e) {
|
|
|
3410
3442
|
})
|
|
3411
3443
|
};
|
|
3412
3444
|
}
|
|
3413
|
-
var
|
|
3445
|
+
var un = (
|
|
3414
3446
|
/** @class */
|
|
3415
3447
|
function() {
|
|
3416
3448
|
function e(t, r, n, i) {
|
|
@@ -3442,13 +3474,13 @@ var on = (
|
|
|
3442
3474
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3443
3475
|
var a = i || {};
|
|
3444
3476
|
a.formatters;
|
|
3445
|
-
var o =
|
|
3477
|
+
var o = pr(a, ["formatters"]);
|
|
3446
3478
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3447
3479
|
} else
|
|
3448
3480
|
this.ast = t;
|
|
3449
3481
|
if (!Array.isArray(this.ast))
|
|
3450
3482
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3451
|
-
this.formats =
|
|
3483
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3452
3484
|
}
|
|
3453
3485
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3454
3486
|
get: function() {
|
|
@@ -3461,7 +3493,7 @@ var on = (
|
|
|
3461
3493
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3462
3494
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3463
3495
|
}
|
|
3464
|
-
}, e.__parse =
|
|
3496
|
+
}, e.__parse = Kr, e.formats = {
|
|
3465
3497
|
number: {
|
|
3466
3498
|
integer: {
|
|
3467
3499
|
maximumFractionDigits: 0
|
|
@@ -3522,7 +3554,7 @@ var on = (
|
|
|
3522
3554
|
}, e;
|
|
3523
3555
|
}()
|
|
3524
3556
|
);
|
|
3525
|
-
function
|
|
3557
|
+
function hn(e, t) {
|
|
3526
3558
|
if (t == null)
|
|
3527
3559
|
return;
|
|
3528
3560
|
if (t in e)
|
|
@@ -3543,60 +3575,60 @@ function un(e, t) {
|
|
|
3543
3575
|
n = void 0;
|
|
3544
3576
|
return n;
|
|
3545
3577
|
}
|
|
3546
|
-
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) => {
|
|
3547
3579
|
if (t == null)
|
|
3548
3580
|
return;
|
|
3549
3581
|
if (t in C && e in C[t])
|
|
3550
3582
|
return C[t][e];
|
|
3551
3583
|
const r = ge(t);
|
|
3552
3584
|
for (let n = 0; n < r.length; n++) {
|
|
3553
|
-
const i = r[n], s =
|
|
3585
|
+
const i = r[n], s = cn(i, e);
|
|
3554
3586
|
if (s)
|
|
3555
|
-
return
|
|
3587
|
+
return ln(e, t, s);
|
|
3556
3588
|
}
|
|
3557
3589
|
};
|
|
3558
|
-
let
|
|
3559
|
-
const
|
|
3560
|
-
function
|
|
3561
|
-
return
|
|
3590
|
+
let De;
|
|
3591
|
+
const W = fe({});
|
|
3592
|
+
function fn(e) {
|
|
3593
|
+
return De[e] || null;
|
|
3562
3594
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return e in
|
|
3595
|
+
function Pt(e) {
|
|
3596
|
+
return e in De;
|
|
3565
3597
|
}
|
|
3566
|
-
function
|
|
3567
|
-
if (!
|
|
3598
|
+
function cn(e, t) {
|
|
3599
|
+
if (!Pt(e))
|
|
3568
3600
|
return null;
|
|
3569
|
-
const r =
|
|
3570
|
-
return
|
|
3601
|
+
const r = fn(e);
|
|
3602
|
+
return hn(r, t);
|
|
3571
3603
|
}
|
|
3572
|
-
function
|
|
3604
|
+
function mn(e) {
|
|
3573
3605
|
if (e == null)
|
|
3574
3606
|
return;
|
|
3575
3607
|
const t = ge(e);
|
|
3576
3608
|
for (let r = 0; r < t.length; r++) {
|
|
3577
3609
|
const n = t[r];
|
|
3578
|
-
if (
|
|
3610
|
+
if (Pt(n))
|
|
3579
3611
|
return n;
|
|
3580
3612
|
}
|
|
3581
3613
|
}
|
|
3582
|
-
function
|
|
3583
|
-
delete C[e],
|
|
3614
|
+
function gn(e, ...t) {
|
|
3615
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3584
3616
|
}
|
|
3585
|
-
|
|
3586
|
-
[
|
|
3617
|
+
z(
|
|
3618
|
+
[W],
|
|
3587
3619
|
([e]) => Object.keys(e)
|
|
3588
3620
|
);
|
|
3589
|
-
|
|
3621
|
+
W.subscribe((e) => De = e);
|
|
3590
3622
|
const oe = {};
|
|
3591
|
-
function
|
|
3623
|
+
function dn(e, t) {
|
|
3592
3624
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3593
3625
|
}
|
|
3594
|
-
function
|
|
3626
|
+
function Nt(e) {
|
|
3595
3627
|
return oe[e];
|
|
3596
3628
|
}
|
|
3597
|
-
function
|
|
3629
|
+
function bn(e) {
|
|
3598
3630
|
return ge(e).map((t) => {
|
|
3599
|
-
const r =
|
|
3631
|
+
const r = Nt(t);
|
|
3600
3632
|
return [t, r ? [...r] : []];
|
|
3601
3633
|
}).filter(([, t]) => t.length > 0);
|
|
3602
3634
|
}
|
|
@@ -3604,31 +3636,31 @@ function Le(e) {
|
|
|
3604
3636
|
return e == null ? !1 : ge(e).some(
|
|
3605
3637
|
(t) => {
|
|
3606
3638
|
var r;
|
|
3607
|
-
return (r =
|
|
3639
|
+
return (r = Nt(t)) == null ? void 0 : r.size;
|
|
3608
3640
|
}
|
|
3609
3641
|
);
|
|
3610
3642
|
}
|
|
3611
|
-
function
|
|
3643
|
+
function pn(e, t) {
|
|
3612
3644
|
return Promise.all(
|
|
3613
|
-
t.map((n) => (
|
|
3614
|
-
).then((n) =>
|
|
3645
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3646
|
+
).then((n) => gn(e, ...n));
|
|
3615
3647
|
}
|
|
3616
3648
|
const Q = {};
|
|
3617
|
-
function
|
|
3649
|
+
function Ot(e) {
|
|
3618
3650
|
if (!Le(e))
|
|
3619
3651
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3620
|
-
const t =
|
|
3652
|
+
const t = bn(e);
|
|
3621
3653
|
return Q[e] = Promise.all(
|
|
3622
3654
|
t.map(
|
|
3623
|
-
([r, n]) =>
|
|
3655
|
+
([r, n]) => pn(r, n)
|
|
3624
3656
|
)
|
|
3625
3657
|
).then(() => {
|
|
3626
3658
|
if (Le(e))
|
|
3627
|
-
return
|
|
3659
|
+
return Ot(e);
|
|
3628
3660
|
delete Q[e];
|
|
3629
3661
|
}), Q[e];
|
|
3630
3662
|
}
|
|
3631
|
-
const
|
|
3663
|
+
const yn = {
|
|
3632
3664
|
number: {
|
|
3633
3665
|
scientific: { notation: "scientific" },
|
|
3634
3666
|
engineering: { notation: "engineering" },
|
|
@@ -3657,34 +3689,34 @@ const pn = {
|
|
|
3657
3689
|
timeZoneName: "short"
|
|
3658
3690
|
}
|
|
3659
3691
|
}
|
|
3660
|
-
},
|
|
3692
|
+
}, En = {
|
|
3661
3693
|
fallbackLocale: null,
|
|
3662
3694
|
loadingDelay: 200,
|
|
3663
|
-
formats:
|
|
3695
|
+
formats: yn,
|
|
3664
3696
|
warnOnMissingMessages: !0,
|
|
3665
3697
|
handleMissingMessage: void 0,
|
|
3666
3698
|
ignoreTag: !0
|
|
3667
|
-
},
|
|
3699
|
+
}, vn = En;
|
|
3668
3700
|
function V() {
|
|
3669
|
-
return
|
|
3701
|
+
return vn;
|
|
3670
3702
|
}
|
|
3671
3703
|
const xe = fe(!1);
|
|
3672
|
-
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) => {
|
|
3673
3705
|
for (var r in t || (t = {}))
|
|
3674
|
-
|
|
3675
|
-
if (
|
|
3676
|
-
for (var r of
|
|
3677
|
-
|
|
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]);
|
|
3678
3710
|
return e;
|
|
3679
|
-
},
|
|
3711
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3680
3712
|
let Ce;
|
|
3681
3713
|
const ue = fe(null);
|
|
3682
|
-
function
|
|
3714
|
+
function et(e) {
|
|
3683
3715
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3684
3716
|
}
|
|
3685
3717
|
function ge(e, t = V().fallbackLocale) {
|
|
3686
|
-
const r =
|
|
3687
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3718
|
+
const r = et(e);
|
|
3719
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3688
3720
|
}
|
|
3689
3721
|
function R() {
|
|
3690
3722
|
return Ce ?? void 0;
|
|
@@ -3692,22 +3724,22 @@ function R() {
|
|
|
3692
3724
|
ue.subscribe((e) => {
|
|
3693
3725
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3694
3726
|
});
|
|
3695
|
-
const
|
|
3696
|
-
if (e &&
|
|
3727
|
+
const wn = (e) => {
|
|
3728
|
+
if (e && mn(e) && Le(e)) {
|
|
3697
3729
|
const { loadingDelay: t } = V();
|
|
3698
3730
|
let r;
|
|
3699
3731
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3700
3732
|
() => xe.set(!0),
|
|
3701
3733
|
t
|
|
3702
|
-
) : xe.set(!0),
|
|
3734
|
+
) : xe.set(!0), Ot(e).then(() => {
|
|
3703
3735
|
ue.set(e);
|
|
3704
3736
|
}).finally(() => {
|
|
3705
3737
|
clearTimeout(r), xe.set(!1);
|
|
3706
3738
|
});
|
|
3707
3739
|
}
|
|
3708
3740
|
return ue.set(e);
|
|
3709
|
-
}, M = Bn(
|
|
3710
|
-
set:
|
|
3741
|
+
}, M = An(Bn({}, ue), {
|
|
3742
|
+
set: wn
|
|
3711
3743
|
}), de = (e) => {
|
|
3712
3744
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3713
3745
|
return (n) => {
|
|
@@ -3715,20 +3747,20 @@ const An = (e) => {
|
|
|
3715
3747
|
return i in t ? t[i] : t[i] = e(n);
|
|
3716
3748
|
};
|
|
3717
3749
|
};
|
|
3718
|
-
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) => {
|
|
3719
3751
|
for (var r in t || (t = {}))
|
|
3720
|
-
|
|
3752
|
+
It.call(t, r) && tt(e, r, t[r]);
|
|
3721
3753
|
if (he)
|
|
3722
3754
|
for (var r of he(t))
|
|
3723
|
-
|
|
3755
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3724
3756
|
return e;
|
|
3725
3757
|
}, Z = (e, t) => {
|
|
3726
3758
|
var r = {};
|
|
3727
3759
|
for (var n in e)
|
|
3728
|
-
|
|
3760
|
+
It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3729
3761
|
if (e != null && he)
|
|
3730
3762
|
for (var n of he(e))
|
|
3731
|
-
t.indexOf(n) < 0 &&
|
|
3763
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
|
3732
3764
|
return r;
|
|
3733
3765
|
};
|
|
3734
3766
|
const K = (e, t) => {
|
|
@@ -3736,21 +3768,21 @@ const K = (e, t) => {
|
|
|
3736
3768
|
if (e in r && t in r[e])
|
|
3737
3769
|
return r[e][t];
|
|
3738
3770
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3739
|
-
},
|
|
3771
|
+
}, Nn = de(
|
|
3740
3772
|
(e) => {
|
|
3741
3773
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3742
3774
|
if (r == null)
|
|
3743
3775
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3744
3776
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3745
3777
|
}
|
|
3746
|
-
),
|
|
3778
|
+
), On = de(
|
|
3747
3779
|
(e) => {
|
|
3748
3780
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3749
3781
|
if (r == null)
|
|
3750
3782
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3751
3783
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3752
3784
|
}
|
|
3753
|
-
),
|
|
3785
|
+
), In = de(
|
|
3754
3786
|
(e) => {
|
|
3755
3787
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3756
3788
|
if (r == null)
|
|
@@ -3759,33 +3791,33 @@ const K = (e, t) => {
|
|
|
3759
3791
|
);
|
|
3760
3792
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3761
3793
|
}
|
|
3762
|
-
),
|
|
3794
|
+
), Ln = (e = {}) => {
|
|
3763
3795
|
var t = e, {
|
|
3764
3796
|
locale: r = R()
|
|
3765
3797
|
} = t, n = Z(t, [
|
|
3766
3798
|
"locale"
|
|
3767
3799
|
]);
|
|
3768
|
-
return
|
|
3769
|
-
},
|
|
3800
|
+
return Nn(Ge({ locale: r }, n));
|
|
3801
|
+
}, Cn = (e = {}) => {
|
|
3770
3802
|
var t = e, {
|
|
3771
3803
|
locale: r = R()
|
|
3772
3804
|
} = t, n = Z(t, [
|
|
3773
3805
|
"locale"
|
|
3774
3806
|
]);
|
|
3775
|
-
return
|
|
3776
|
-
},
|
|
3807
|
+
return On(Ge({ locale: r }, n));
|
|
3808
|
+
}, Mn = (e = {}) => {
|
|
3777
3809
|
var t = e, {
|
|
3778
3810
|
locale: r = R()
|
|
3779
3811
|
} = t, n = Z(t, [
|
|
3780
3812
|
"locale"
|
|
3781
3813
|
]);
|
|
3782
|
-
return
|
|
3783
|
-
},
|
|
3814
|
+
return In(Ge({ locale: r }, n));
|
|
3815
|
+
}, Rn = de(
|
|
3784
3816
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3785
|
-
(e, t = R()) => new
|
|
3817
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3786
3818
|
ignoreTag: V().ignoreTag
|
|
3787
3819
|
})
|
|
3788
|
-
),
|
|
3820
|
+
), $n = (e, t = {}) => {
|
|
3789
3821
|
var r, n, i, s;
|
|
3790
3822
|
let a = t;
|
|
3791
3823
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3798,7 +3830,7 @@ const K = (e, t) => {
|
|
|
3798
3830
|
throw new Error(
|
|
3799
3831
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3800
3832
|
);
|
|
3801
|
-
let h =
|
|
3833
|
+
let h = wt(e, l);
|
|
3802
3834
|
if (!h)
|
|
3803
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;
|
|
3804
3836
|
else if (typeof h != "string")
|
|
@@ -3809,7 +3841,7 @@ const K = (e, t) => {
|
|
|
3809
3841
|
return h;
|
|
3810
3842
|
let m = h;
|
|
3811
3843
|
try {
|
|
3812
|
-
m =
|
|
3844
|
+
m = Rn(h, l).format(o);
|
|
3813
3845
|
} catch (f) {
|
|
3814
3846
|
f instanceof Error && console.warn(
|
|
3815
3847
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3817,23 +3849,23 @@ const K = (e, t) => {
|
|
|
3817
3849
|
);
|
|
3818
3850
|
}
|
|
3819
3851
|
return m;
|
|
3820
|
-
},
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
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 }) {
|
|
3826
3858
|
M.subscribe((r) => {
|
|
3827
|
-
r == null && (
|
|
3859
|
+
r == null && (W.set(t), M.set(e));
|
|
3828
3860
|
});
|
|
3829
3861
|
}
|
|
3830
|
-
function
|
|
3862
|
+
function kn(e, t) {
|
|
3831
3863
|
if (e) {
|
|
3832
3864
|
const r = document.createElement("style");
|
|
3833
3865
|
r.innerHTML = t, e.appendChild(r);
|
|
3834
3866
|
}
|
|
3835
3867
|
}
|
|
3836
|
-
function
|
|
3868
|
+
function Vn(e, t) {
|
|
3837
3869
|
const r = new URL(t);
|
|
3838
3870
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3839
3871
|
const i = document.createElement("style");
|
|
@@ -3842,7 +3874,7 @@ function kn(e, t) {
|
|
|
3842
3874
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3843
3875
|
});
|
|
3844
3876
|
}
|
|
3845
|
-
function
|
|
3877
|
+
function Xn(e, t, r) {
|
|
3846
3878
|
if (window.emMessageBus) {
|
|
3847
3879
|
const n = document.createElement("style");
|
|
3848
3880
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3862,14 +3894,14 @@ if (typeof window < "u") {
|
|
|
3862
3894
|
}
|
|
3863
3895
|
};
|
|
3864
3896
|
};
|
|
3865
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3897
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-DNPtgCyF.js").then(({ default: t }) => {
|
|
3866
3898
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3867
3899
|
});
|
|
3868
3900
|
}
|
|
3869
|
-
function
|
|
3870
|
-
|
|
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))}");
|
|
3871
3903
|
}
|
|
3872
|
-
function
|
|
3904
|
+
function rt(e) {
|
|
3873
3905
|
let t;
|
|
3874
3906
|
return {
|
|
3875
3907
|
c() {
|
|
@@ -4087,7 +4119,7 @@ function et(e) {
|
|
|
4087
4119
|
function Wn(e) {
|
|
4088
4120
|
let t, r = (
|
|
4089
4121
|
/*session*/
|
|
4090
|
-
e[4] &&
|
|
4122
|
+
e[4] && rt(e)
|
|
4091
4123
|
);
|
|
4092
4124
|
return {
|
|
4093
4125
|
c() {
|
|
@@ -4098,7 +4130,7 @@ function Wn(e) {
|
|
|
4098
4130
|
},
|
|
4099
4131
|
p(n, [i]) {
|
|
4100
4132
|
/*session*/
|
|
4101
|
-
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);
|
|
4102
4134
|
},
|
|
4103
4135
|
i: N,
|
|
4104
4136
|
o: N,
|
|
@@ -4107,9 +4139,9 @@ function Wn(e) {
|
|
|
4107
4139
|
}
|
|
4108
4140
|
};
|
|
4109
4141
|
}
|
|
4110
|
-
function
|
|
4142
|
+
function Zn(e, t, r) {
|
|
4111
4143
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: _ = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: w = "" } = t, { favorites: A = "" } = t, { casinomygames: S = "false" } = t, { fetchviaevent: P = "true" } = t, x;
|
|
4112
|
-
|
|
4144
|
+
jn({ withLocale: "en", translations: {} }), kt(() => () => {
|
|
4113
4145
|
});
|
|
4114
4146
|
function O(c) {
|
|
4115
4147
|
He[c ? "unshift" : "push"](() => {
|
|
@@ -4120,9 +4152,9 @@ function zn(e, t, r) {
|
|
|
4120
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), "mbsource" in c && r(6, u = c.mbsource), "clientstyling" in c && r(7, h = c.clientstyling), "clientstylingurl" in c && r(8, m = c.clientstylingurl), "livecasino" in c && r(9, f = c.livecasino), "integratedgameframemobile" in c && r(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(11, y = c.integratedgameframedesktop), "showgamename" in c && r(12, _ = c.showgamename), "gamepagemodalurl" in c && r(13, T = c.gamepagemodalurl), "visiblegames" in c && r(14, w = c.visiblegames), "favorites" in c && r(15, A = c.favorites), "casinomygames" in c && r(16, S = c.casinomygames), "fetchviaevent" in c && r(17, P = c.fetchviaevent);
|
|
4121
4153
|
}, e.$$.update = () => {
|
|
4122
4154
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4123
|
-
262272 && h && x &&
|
|
4124
|
-
262400 && m && x &&
|
|
4125
|
-
262208 && u && x &&
|
|
4155
|
+
262272 && h && x && kn(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4156
|
+
262400 && m && x && Vn(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4157
|
+
262208 && u && x && Xn(x, `${u}.Style`);
|
|
4126
4158
|
}, [
|
|
4127
4159
|
n,
|
|
4128
4160
|
i,
|
|
@@ -4146,14 +4178,14 @@ function zn(e, t, r) {
|
|
|
4146
4178
|
O
|
|
4147
4179
|
];
|
|
4148
4180
|
}
|
|
4149
|
-
class
|
|
4181
|
+
class Qn extends Yt {
|
|
4150
4182
|
constructor(t) {
|
|
4151
|
-
super(),
|
|
4183
|
+
super(), qt(
|
|
4152
4184
|
this,
|
|
4153
4185
|
t,
|
|
4154
|
-
|
|
4186
|
+
Zn,
|
|
4155
4187
|
Wn,
|
|
4156
|
-
|
|
4188
|
+
it,
|
|
4157
4189
|
{
|
|
4158
4190
|
endpoint: 0,
|
|
4159
4191
|
datasource: 1,
|
|
@@ -4174,7 +4206,7 @@ class Zn extends qt {
|
|
|
4174
4206
|
casinomygames: 16,
|
|
4175
4207
|
fetchviaevent: 17
|
|
4176
4208
|
},
|
|
4177
|
-
|
|
4209
|
+
zn
|
|
4178
4210
|
);
|
|
4179
4211
|
}
|
|
4180
4212
|
get endpoint() {
|
|
@@ -4286,51 +4318,51 @@ class Zn extends qt {
|
|
|
4286
4318
|
this.$$set({ fetchviaevent: t }), H();
|
|
4287
4319
|
}
|
|
4288
4320
|
}
|
|
4289
|
-
|
|
4321
|
+
Jt(Qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4290
4322
|
export {
|
|
4291
4323
|
M as $,
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4324
|
+
ti as A,
|
|
4325
|
+
ri as B,
|
|
4326
|
+
Yn as C,
|
|
4327
|
+
X as D,
|
|
4328
|
+
ni as E,
|
|
4329
|
+
mi as F,
|
|
4330
|
+
qn as G,
|
|
4331
|
+
si as H,
|
|
4332
|
+
ei as I,
|
|
4333
|
+
ai as J,
|
|
4334
|
+
ii as K,
|
|
4335
|
+
oi as L,
|
|
4336
|
+
li as M,
|
|
4305
4337
|
g as N,
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4338
|
+
hi as O,
|
|
4339
|
+
Qn as P,
|
|
4340
|
+
Yt as S,
|
|
4341
|
+
fi as _,
|
|
4310
4342
|
pe as a,
|
|
4311
|
-
|
|
4343
|
+
ci as b,
|
|
4312
4344
|
ce as c,
|
|
4313
|
-
|
|
4314
|
-
|
|
4345
|
+
W as d,
|
|
4346
|
+
gn as e,
|
|
4315
4347
|
H as f,
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4348
|
+
Jt as g,
|
|
4349
|
+
Rt as h,
|
|
4350
|
+
qt as i,
|
|
4351
|
+
te as j,
|
|
4352
|
+
le as k,
|
|
4353
|
+
ee as l,
|
|
4354
|
+
Jn as m,
|
|
4323
4355
|
N as n,
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4356
|
+
kt as o,
|
|
4357
|
+
Vn as p,
|
|
4358
|
+
He as q,
|
|
4359
|
+
kn as r,
|
|
4360
|
+
it as s,
|
|
4361
|
+
Xn as t,
|
|
4362
|
+
ui as u,
|
|
4363
|
+
Dt as v,
|
|
4364
|
+
Kn as w,
|
|
4365
|
+
at as x,
|
|
4366
|
+
Re as y,
|
|
4367
|
+
Mt as z
|
|
4336
4368
|
};
|