@everymatrix/casino-my-games 1.57.0 → 1.58.1
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-BGmUeoZr.js → CasinoFavoritesSection-VGZXmQoJ.js} +380 -382
- package/components/CasinoFavoritesSection-cQ2QdAEz.cjs +16 -0
- package/components/{CasinoFavoritesSection-mn2Y-wMO.js → CasinoFavoritesSection-xs6CB--g.js} +393 -395
- package/components/CasinoFilter-CM_hmPaR.cjs +3 -0
- package/components/{CasinoFilter-By_cuoyd.js → CasinoFilter-DkPoi43o.js} +358 -379
- package/components/{CasinoFilter-Cp7Swcep.js → CasinoFilter-bmnehLwZ.js} +356 -375
- package/components/{CasinoGameThumbnail-6efBomSe.cjs → CasinoGameThumbnail-BJuIg5Qg.cjs} +11 -11
- package/components/{CasinoGameThumbnail-Dmta-d1M.js → CasinoGameThumbnail-D3uCidn9.js} +642 -626
- package/components/{CasinoGameThumbnail-BooCvugN.js → CasinoGameThumbnail-DXDDwA--.js} +1178 -1194
- package/components/{CasinoGamesCategorySection-O2rjVVXR.js → CasinoGamesCategorySection-BbMPDI1O.js} +289 -289
- package/components/{CasinoGamesCategorySection-BqhHrsuK.cjs → CasinoGamesCategorySection-DoaruoW4.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-Bu_dTPEa.js → CasinoGamesCategorySection-dxSy4KIJ.js} +285 -285
- package/components/{CasinoLastPlayedSection-9u45DaRV.cjs → CasinoLastPlayedSection-CjoY4D-6.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-3HLLml3J.js → CasinoLastPlayedSection-Cm6YIE4g.js} +32 -32
- package/components/{CasinoLastPlayedSection-DQZF8kJs.js → CasinoLastPlayedSection-D_qb-xMq.js} +32 -32
- package/components/{CasinoMostPlayedSection-Vx70N4I9.cjs → CasinoMostPlayedSection-CLtKYO0V.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CUd-ZjPt.js → CasinoMostPlayedSection-RzQHUnIH.js} +48 -48
- package/components/{CasinoMostPlayedSection-BFJlXfTs.js → CasinoMostPlayedSection-x7768nTe.js} +48 -48
- package/components/{CasinoMyGames-a_4oxasE.js → CasinoMyGames-BDEQfLwt.js} +49 -49
- package/components/{CasinoMyGames-NUx5fPPt.cjs → CasinoMyGames-DwgOJP5P.cjs} +1 -1
- package/components/{CasinoMyGames-DmBVGmuf.js → CasinoMyGames-e16YWqeC.js} +52 -52
- package/components/{CasinoSort-X28AK_AN.cjs → CasinoSort-BlQ48TmE.cjs} +1 -1
- package/components/{CasinoSort-JL68yMUR.js → CasinoSort-BmpySokn.js} +100 -99
- package/components/{CasinoSort-CtiD1-vN.js → CasinoSort-U7s4_Vcv.js} +108 -109
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +3 -2
- package/components/CasinoFavoritesSection-Byczc8FW.cjs +0 -16
- package/components/CasinoFilter-C-SGDJ8O.cjs +0 -3
package/components/{CasinoFavoritesSection-BGmUeoZr.js → CasinoFavoritesSection-VGZXmQoJ.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function tt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function De() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(tt);
|
|
11
11
|
}
|
|
12
12
|
function Me(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function rt(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 Lt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function nt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function st(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 qn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(nt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Ct(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Mt(e, t, r) {
|
|
41
|
+
const n = Rt(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, $t(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Rt(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,8 +54,8 @@ function Ut(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function $t(e, t) {
|
|
58
|
+
return Ct(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
@@ -67,26 +67,26 @@ function le(e, t, r) {
|
|
|
67
67
|
function ee(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Jn(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
74
|
function te(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Ut(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function it(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function Yn() {
|
|
84
|
+
return it(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Kn() {
|
|
87
|
+
return it("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ei(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
92
|
function Re(e, t, r) {
|
|
@@ -96,20 +96,20 @@ function g(e, t, r) {
|
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
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);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Dt(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ti(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function ri(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ni(e, t, r) {
|
|
110
110
|
e.classList.toggle(t, !!r);
|
|
111
111
|
}
|
|
112
|
-
class
|
|
112
|
+
class ii {
|
|
113
113
|
/**
|
|
114
114
|
* @private
|
|
115
115
|
* @default false
|
|
@@ -140,7 +140,7 @@ class si {
|
|
|
140
140
|
* @returns {void}
|
|
141
141
|
*/
|
|
142
142
|
m(t, r, n = null) {
|
|
143
|
-
this.e || (this.is_svg ? this.e =
|
|
143
|
+
this.e || (this.is_svg ? this.e = Ut(
|
|
144
144
|
/** @type {keyof SVGElementTagNameMap} */
|
|
145
145
|
r.nodeName
|
|
146
146
|
) : this.e = te(
|
|
@@ -179,7 +179,7 @@ class si {
|
|
|
179
179
|
this.n.forEach(ee);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Gt(e) {
|
|
183
183
|
const t = {};
|
|
184
184
|
return e.childNodes.forEach(
|
|
185
185
|
/** @param {Element} node */
|
|
@@ -192,23 +192,23 @@ let J;
|
|
|
192
192
|
function q(e) {
|
|
193
193
|
J = e;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Ft() {
|
|
196
196
|
if (!J)
|
|
197
197
|
throw new Error("Function called outside component initialization");
|
|
198
198
|
return J;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
200
|
+
function jt(e) {
|
|
201
|
+
Ft().$$.on_mount.push(e);
|
|
202
202
|
}
|
|
203
203
|
const D = [], He = [];
|
|
204
204
|
let G = [];
|
|
205
|
-
const
|
|
205
|
+
const Ge = [], st = /* @__PURE__ */ Promise.resolve();
|
|
206
206
|
let Te = !1;
|
|
207
|
-
function
|
|
208
|
-
Te || (Te = !0,
|
|
207
|
+
function at() {
|
|
208
|
+
Te || (Te = !0, st.then(H));
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
return
|
|
210
|
+
function si() {
|
|
211
|
+
return at(), st;
|
|
212
212
|
}
|
|
213
213
|
function Se(e) {
|
|
214
214
|
G.push(e);
|
|
@@ -223,7 +223,7 @@ function H() {
|
|
|
223
223
|
try {
|
|
224
224
|
for (; $ < D.length; ) {
|
|
225
225
|
const t = D[$];
|
|
226
|
-
$++, q(t),
|
|
226
|
+
$++, q(t), kt(t.$$);
|
|
227
227
|
}
|
|
228
228
|
} catch (t) {
|
|
229
229
|
throw D.length = 0, $ = 0, t;
|
|
@@ -236,32 +236,32 @@ function H() {
|
|
|
236
236
|
}
|
|
237
237
|
G.length = 0;
|
|
238
238
|
} while (D.length);
|
|
239
|
-
for (;
|
|
240
|
-
|
|
239
|
+
for (; Ge.length; )
|
|
240
|
+
Ge.pop()();
|
|
241
241
|
Te = !1, be.clear(), q(e);
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function kt(e) {
|
|
244
244
|
if (e.fragment !== null) {
|
|
245
245
|
e.update(), X(e.before_update);
|
|
246
246
|
const t = e.dirty;
|
|
247
247
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Vt(e) {
|
|
251
251
|
const t = [], r = [];
|
|
252
252
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
253
253
|
}
|
|
254
|
-
const
|
|
255
|
-
function
|
|
256
|
-
e && e.i && (
|
|
254
|
+
const Xt = /* @__PURE__ */ new Set();
|
|
255
|
+
function ot(e, t) {
|
|
256
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function ai(e) {
|
|
259
259
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function oi(e, t) {
|
|
262
262
|
e.d(1), t.delete(e.key);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
265
265
|
let f = e.length, b = s.length, y = f;
|
|
266
266
|
const _ = {};
|
|
267
267
|
for (; y--; )
|
|
@@ -274,7 +274,7 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
274
274
|
}
|
|
275
275
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
276
276
|
function O(c) {
|
|
277
|
-
|
|
277
|
+
ot(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
278
278
|
}
|
|
279
279
|
for (; f && b; ) {
|
|
280
280
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -288,21 +288,21 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
288
288
|
O(T[b - 1]);
|
|
289
289
|
return X(S), T;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function zt(e, t, r) {
|
|
292
292
|
const { fragment: n, after_update: i } = e.$$;
|
|
293
293
|
n && n.m(t, r), Se(() => {
|
|
294
|
-
const s = e.$$.on_mount.map(
|
|
294
|
+
const s = e.$$.on_mount.map(tt).filter(Me);
|
|
295
295
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
296
296
|
}), i.forEach(Se);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Wt(e, t) {
|
|
299
299
|
const r = e.$$;
|
|
300
|
-
r.fragment !== null && (
|
|
300
|
+
r.fragment !== null && (Vt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
302
|
+
function Zt(e, t) {
|
|
303
|
+
e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
306
306
|
const l = J;
|
|
307
307
|
q(e);
|
|
308
308
|
const u = e.$$ = {
|
|
@@ -312,7 +312,7 @@ function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
312
312
|
props: s,
|
|
313
313
|
update: N,
|
|
314
314
|
not_equal: i,
|
|
315
|
-
bound:
|
|
315
|
+
bound: De(),
|
|
316
316
|
// lifecycle
|
|
317
317
|
on_mount: [],
|
|
318
318
|
on_destroy: [],
|
|
@@ -321,7 +321,7 @@ function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
321
321
|
after_update: [],
|
|
322
322
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
323
323
|
// everything else
|
|
324
|
-
callbacks:
|
|
324
|
+
callbacks: De(),
|
|
325
325
|
dirty: o,
|
|
326
326
|
skip_bound: !1,
|
|
327
327
|
root: t.target || l.$$.root
|
|
@@ -330,19 +330,19 @@ function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
330
330
|
let h = !1;
|
|
331
331
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
332
332
|
const y = b.length ? b[0] : f;
|
|
333
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
333
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Zt(e, m)), f;
|
|
334
334
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
335
335
|
if (t.hydrate) {
|
|
336
|
-
const m =
|
|
336
|
+
const m = Dt(t.target);
|
|
337
337
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
338
338
|
} else
|
|
339
339
|
u.fragment && u.fragment.c();
|
|
340
|
-
t.intro &&
|
|
340
|
+
t.intro && ot(e.$$.fragment), zt(e, t.target, t.anchor), H();
|
|
341
341
|
}
|
|
342
342
|
q(l);
|
|
343
343
|
}
|
|
344
|
-
let
|
|
345
|
-
typeof HTMLElement == "function" && (
|
|
344
|
+
let ut;
|
|
345
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
346
346
|
/** The Svelte component constructor */
|
|
347
347
|
$$ctor;
|
|
348
348
|
/** Slots */
|
|
@@ -401,7 +401,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
|
401
401
|
};
|
|
402
402
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
403
403
|
return;
|
|
404
|
-
const t = {}, r =
|
|
404
|
+
const t = {}, r = Gt(this);
|
|
405
405
|
for (const i of this.$$s)
|
|
406
406
|
i in r && (t[i] = [e(i)]);
|
|
407
407
|
for (const i of this.attributes) {
|
|
@@ -488,8 +488,8 @@ function se(e, t, r, n) {
|
|
|
488
488
|
return t;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
492
|
-
let a = class extends
|
|
491
|
+
function qt(e, t, r, n, i, s) {
|
|
492
|
+
let a = class extends ut {
|
|
493
493
|
constructor() {
|
|
494
494
|
super(e, r, i), this.$$p_d = t;
|
|
495
495
|
}
|
|
@@ -517,7 +517,7 @@ function Yt(e, t, r, n, i, s) {
|
|
|
517
517
|
}), e.element = /** @type {any} */
|
|
518
518
|
a, a;
|
|
519
519
|
}
|
|
520
|
-
class
|
|
520
|
+
class Jt {
|
|
521
521
|
/**
|
|
522
522
|
* ### PRIVATE API
|
|
523
523
|
*
|
|
@@ -536,7 +536,7 @@ class Kt {
|
|
|
536
536
|
$$set = void 0;
|
|
537
537
|
/** @returns {void} */
|
|
538
538
|
$destroy() {
|
|
539
|
-
|
|
539
|
+
Wt(this, 1), this.$destroy = N;
|
|
540
540
|
}
|
|
541
541
|
/**
|
|
542
542
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -558,11 +558,11 @@ class Kt {
|
|
|
558
558
|
* @returns {void}
|
|
559
559
|
*/
|
|
560
560
|
$set(t) {
|
|
561
|
-
this.$$set && !
|
|
561
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
const
|
|
565
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
564
|
+
const Yt = "4";
|
|
565
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
|
|
566
566
|
/*! *****************************************************************************
|
|
567
567
|
Copyright (c) Microsoft Corporation.
|
|
568
568
|
|
|
@@ -604,7 +604,7 @@ var E = function() {
|
|
|
604
604
|
return t;
|
|
605
605
|
}, E.apply(this, arguments);
|
|
606
606
|
};
|
|
607
|
-
function
|
|
607
|
+
function Kt(e, t) {
|
|
608
608
|
var r = {};
|
|
609
609
|
for (var n in e)
|
|
610
610
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -613,7 +613,7 @@ function tr(e, t) {
|
|
|
613
613
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
614
614
|
return r;
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function hi(e) {
|
|
617
617
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
618
618
|
if (r)
|
|
619
619
|
return r.call(e);
|
|
@@ -625,7 +625,7 @@ function li(e) {
|
|
|
625
625
|
};
|
|
626
626
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function li(e, t) {
|
|
629
629
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
630
630
|
if (!r)
|
|
631
631
|
return e;
|
|
@@ -652,7 +652,7 @@ function pe(e, t, r) {
|
|
|
652
652
|
return e.concat(s || t);
|
|
653
653
|
}
|
|
654
654
|
const U = [];
|
|
655
|
-
function
|
|
655
|
+
function er(e, t) {
|
|
656
656
|
return {
|
|
657
657
|
subscribe: ce(e, t).subscribe
|
|
658
658
|
};
|
|
@@ -661,7 +661,7 @@ function ce(e, t = N) {
|
|
|
661
661
|
let r;
|
|
662
662
|
const n = /* @__PURE__ */ new Set();
|
|
663
663
|
function i(o) {
|
|
664
|
-
if (
|
|
664
|
+
if (rt(e, o) && (e = o, r)) {
|
|
665
665
|
const l = !U.length;
|
|
666
666
|
for (const u of n)
|
|
667
667
|
u[1](), U.push(u, e);
|
|
@@ -688,7 +688,7 @@ function z(e, t, r) {
|
|
|
688
688
|
if (!i.every(Boolean))
|
|
689
689
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
690
690
|
const s = t.length < 2;
|
|
691
|
-
return
|
|
691
|
+
return er(r, (a, o) => {
|
|
692
692
|
let l = !1;
|
|
693
693
|
const u = [];
|
|
694
694
|
let h = 0, m = N;
|
|
@@ -699,7 +699,7 @@ function z(e, t, r) {
|
|
|
699
699
|
const y = t(n ? u[0] : u, a, o);
|
|
700
700
|
s ? a(y) : m = Me(y) ? y : N;
|
|
701
701
|
}, b = i.map(
|
|
702
|
-
(y, _) =>
|
|
702
|
+
(y, _) => nt(
|
|
703
703
|
y,
|
|
704
704
|
(T) => {
|
|
705
705
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -714,70 +714,70 @@ function z(e, t, r) {
|
|
|
714
714
|
};
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function tr(e) {
|
|
718
718
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
719
719
|
}
|
|
720
|
-
var
|
|
721
|
-
return
|
|
720
|
+
var rr = function(t) {
|
|
721
|
+
return nr(t) && !ir(t);
|
|
722
722
|
};
|
|
723
|
-
function
|
|
723
|
+
function nr(e) {
|
|
724
724
|
return !!e && typeof e == "object";
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function ir(e) {
|
|
727
727
|
var t = Object.prototype.toString.call(e);
|
|
728
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
728
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
729
729
|
}
|
|
730
|
-
var
|
|
731
|
-
function
|
|
732
|
-
return e.$$typeof ===
|
|
730
|
+
var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
|
|
731
|
+
function or(e) {
|
|
732
|
+
return e.$$typeof === ar;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function ur(e) {
|
|
735
735
|
return Array.isArray(e) ? [] : {};
|
|
736
736
|
}
|
|
737
737
|
function Y(e, t) {
|
|
738
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
738
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function hr(e, t, r) {
|
|
741
741
|
return e.concat(t).map(function(n) {
|
|
742
742
|
return Y(n, r);
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function lr(e, t) {
|
|
746
746
|
if (!t.customMerge)
|
|
747
747
|
return F;
|
|
748
748
|
var r = t.customMerge(e);
|
|
749
749
|
return typeof r == "function" ? r : F;
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function fr(e) {
|
|
752
752
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
753
753
|
return Object.propertyIsEnumerable.call(e, t);
|
|
754
754
|
}) : [];
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return Object.keys(e).concat(
|
|
756
|
+
function Fe(e) {
|
|
757
|
+
return Object.keys(e).concat(fr(e));
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function ht(e, t) {
|
|
760
760
|
try {
|
|
761
761
|
return t in e;
|
|
762
762
|
} catch {
|
|
763
763
|
return !1;
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
|
-
function
|
|
767
|
-
return
|
|
766
|
+
function cr(e, t) {
|
|
767
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function mr(e, t, r) {
|
|
770
770
|
var n = {};
|
|
771
|
-
return r.isMergeableObject(e) &&
|
|
771
|
+
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
772
772
|
n[i] = Y(e[i], r);
|
|
773
|
-
}),
|
|
774
|
-
|
|
773
|
+
}), Fe(t).forEach(function(i) {
|
|
774
|
+
cr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
775
775
|
}), n;
|
|
776
776
|
}
|
|
777
777
|
function F(e, t, r) {
|
|
778
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
778
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
779
779
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
780
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
780
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
781
781
|
}
|
|
782
782
|
F.all = function(t, r) {
|
|
783
783
|
if (!Array.isArray(t))
|
|
@@ -786,58 +786,56 @@ F.all = function(t, r) {
|
|
|
786
786
|
return F(n, i, r);
|
|
787
787
|
}, {});
|
|
788
788
|
};
|
|
789
|
-
var
|
|
790
|
-
const
|
|
789
|
+
var gr = F, dr = gr;
|
|
790
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
791
791
|
function ye(e, t) {
|
|
792
|
-
var r = t && t.cache ? t.cache :
|
|
792
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : Er;
|
|
793
793
|
return i(e, {
|
|
794
794
|
cache: r,
|
|
795
795
|
serializer: n
|
|
796
796
|
});
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function pr(e) {
|
|
799
799
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
800
800
|
}
|
|
801
|
-
function
|
|
802
|
-
var i =
|
|
801
|
+
function yr(e, t, r, n) {
|
|
802
|
+
var i = pr(n) ? n : r(n), s = t.get(i);
|
|
803
803
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function lt(e, t, r) {
|
|
806
806
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
807
807
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function ft(e, t, r, n, i) {
|
|
810
810
|
return r.bind(t, e, n, i);
|
|
811
811
|
}
|
|
812
|
-
function
|
|
813
|
-
var r = e.length === 1 ?
|
|
814
|
-
return
|
|
815
|
-
}
|
|
816
|
-
function _r(e, t) {
|
|
817
|
-
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
812
|
+
function Er(e, t) {
|
|
813
|
+
var r = e.length === 1 ? yr : lt;
|
|
814
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
818
815
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
816
|
+
function vr(e, t) {
|
|
817
|
+
return ft(e, this, lt, t.cache.create(), t.serializer);
|
|
821
818
|
}
|
|
822
|
-
var
|
|
819
|
+
var _r = function() {
|
|
823
820
|
return JSON.stringify(arguments);
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
821
|
+
}, xr = (
|
|
822
|
+
/** @class */
|
|
823
|
+
function() {
|
|
824
|
+
function e() {
|
|
825
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
826
|
+
}
|
|
827
|
+
return e.prototype.get = function(t) {
|
|
828
|
+
return this.cache[t];
|
|
829
|
+
}, e.prototype.set = function(t, r) {
|
|
830
|
+
this.cache[t] = r;
|
|
831
|
+
}, e;
|
|
832
|
+
}()
|
|
833
|
+
), Hr = {
|
|
835
834
|
create: function() {
|
|
836
|
-
return new
|
|
835
|
+
return new xr();
|
|
837
836
|
}
|
|
838
837
|
}, Ee = {
|
|
839
|
-
variadic:
|
|
840
|
-
monadic: xr
|
|
838
|
+
variadic: vr
|
|
841
839
|
}, d;
|
|
842
840
|
(function(e) {
|
|
843
841
|
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";
|
|
@@ -850,43 +848,43 @@ var j;
|
|
|
850
848
|
(function(e) {
|
|
851
849
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
852
850
|
})(j || (j = {}));
|
|
853
|
-
function
|
|
851
|
+
function je(e) {
|
|
854
852
|
return e.type === v.literal;
|
|
855
853
|
}
|
|
856
|
-
function
|
|
854
|
+
function Tr(e) {
|
|
857
855
|
return e.type === v.argument;
|
|
858
856
|
}
|
|
859
|
-
function
|
|
857
|
+
function ct(e) {
|
|
860
858
|
return e.type === v.number;
|
|
861
859
|
}
|
|
862
|
-
function
|
|
860
|
+
function mt(e) {
|
|
863
861
|
return e.type === v.date;
|
|
864
862
|
}
|
|
865
|
-
function
|
|
863
|
+
function gt(e) {
|
|
866
864
|
return e.type === v.time;
|
|
867
865
|
}
|
|
868
|
-
function
|
|
866
|
+
function dt(e) {
|
|
869
867
|
return e.type === v.select;
|
|
870
868
|
}
|
|
871
|
-
function
|
|
869
|
+
function bt(e) {
|
|
872
870
|
return e.type === v.plural;
|
|
873
871
|
}
|
|
874
|
-
function
|
|
872
|
+
function Sr(e) {
|
|
875
873
|
return e.type === v.pound;
|
|
876
874
|
}
|
|
877
|
-
function
|
|
875
|
+
function pt(e) {
|
|
878
876
|
return e.type === v.tag;
|
|
879
877
|
}
|
|
880
|
-
function
|
|
878
|
+
function yt(e) {
|
|
881
879
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
882
880
|
}
|
|
883
881
|
function Ae(e) {
|
|
884
882
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
885
883
|
}
|
|
886
|
-
var
|
|
887
|
-
function
|
|
884
|
+
var Et = /[ \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;
|
|
885
|
+
function Ar(e) {
|
|
888
886
|
var t = {};
|
|
889
|
-
return e.replace(
|
|
887
|
+
return e.replace(Br, function(r) {
|
|
890
888
|
var n = r.length;
|
|
891
889
|
switch (r[0]) {
|
|
892
890
|
case "G":
|
|
@@ -975,11 +973,11 @@ function wr(e) {
|
|
|
975
973
|
return "";
|
|
976
974
|
}), t;
|
|
977
975
|
}
|
|
978
|
-
var
|
|
979
|
-
function
|
|
976
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
977
|
+
function Pr(e) {
|
|
980
978
|
if (e.length === 0)
|
|
981
979
|
throw new Error("Number skeleton cannot be empty");
|
|
982
|
-
for (var t = e.split(
|
|
980
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
983
981
|
return f.length > 0;
|
|
984
982
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
985
983
|
var s = i[n], a = s.split("/");
|
|
@@ -994,17 +992,17 @@ function Nr(e) {
|
|
|
994
992
|
}
|
|
995
993
|
return r;
|
|
996
994
|
}
|
|
997
|
-
function
|
|
995
|
+
function Nr(e) {
|
|
998
996
|
return e.replace(/^(.*?)-/, "");
|
|
999
997
|
}
|
|
1000
|
-
var
|
|
1001
|
-
function
|
|
998
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
|
|
999
|
+
function Ve(e) {
|
|
1002
1000
|
var t = {};
|
|
1003
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1001
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
|
1004
1002
|
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)), "";
|
|
1005
1003
|
}), t;
|
|
1006
1004
|
}
|
|
1007
|
-
function
|
|
1005
|
+
function xt(e) {
|
|
1008
1006
|
switch (e) {
|
|
1009
1007
|
case "sign-auto":
|
|
1010
1008
|
return {
|
|
@@ -1044,7 +1042,7 @@ function Tt(e) {
|
|
|
1044
1042
|
};
|
|
1045
1043
|
}
|
|
1046
1044
|
}
|
|
1047
|
-
function
|
|
1045
|
+
function Ir(e) {
|
|
1048
1046
|
var t;
|
|
1049
1047
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1050
1048
|
notation: "engineering"
|
|
@@ -1052,17 +1050,17 @@ function Lr(e) {
|
|
|
1052
1050
|
notation: "scientific"
|
|
1053
1051
|
}, e = e.slice(1)), t) {
|
|
1054
1052
|
var r = e.slice(0, 2);
|
|
1055
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1053
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
|
|
1056
1054
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1057
1055
|
t.minimumIntegerDigits = e.length;
|
|
1058
1056
|
}
|
|
1059
1057
|
return t;
|
|
1060
1058
|
}
|
|
1061
|
-
function
|
|
1062
|
-
var t = {}, r =
|
|
1059
|
+
function Xe(e) {
|
|
1060
|
+
var t = {}, r = xt(e);
|
|
1063
1061
|
return r || t;
|
|
1064
1062
|
}
|
|
1065
|
-
function
|
|
1063
|
+
function Lr(e) {
|
|
1066
1064
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1067
1065
|
var i = n[r];
|
|
1068
1066
|
switch (i.stem) {
|
|
@@ -1086,7 +1084,7 @@ function Cr(e) {
|
|
|
1086
1084
|
continue;
|
|
1087
1085
|
case "measure-unit":
|
|
1088
1086
|
case "unit":
|
|
1089
|
-
t.style = "unit", t.unit =
|
|
1087
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1090
1088
|
continue;
|
|
1091
1089
|
case "compact-short":
|
|
1092
1090
|
case "K":
|
|
@@ -1098,12 +1096,12 @@ function Cr(e) {
|
|
|
1098
1096
|
continue;
|
|
1099
1097
|
case "scientific":
|
|
1100
1098
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1101
|
-
return E(E({}, l),
|
|
1099
|
+
return E(E({}, l), Xe(u));
|
|
1102
1100
|
}, {}));
|
|
1103
1101
|
continue;
|
|
1104
1102
|
case "engineering":
|
|
1105
1103
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1106
|
-
return E(E({}, l),
|
|
1104
|
+
return E(E({}, l), Xe(u));
|
|
1107
1105
|
}, {}));
|
|
1108
1106
|
continue;
|
|
1109
1107
|
case "notation-simple":
|
|
@@ -1148,7 +1146,7 @@ function Cr(e) {
|
|
|
1148
1146
|
case "integer-width":
|
|
1149
1147
|
if (i.options.length > 1)
|
|
1150
1148
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1151
|
-
i.options[0].replace(
|
|
1149
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1152
1150
|
if (u)
|
|
1153
1151
|
t.minimumIntegerDigits = h.length;
|
|
1154
1152
|
else {
|
|
@@ -1161,27 +1159,27 @@ function Cr(e) {
|
|
|
1161
1159
|
});
|
|
1162
1160
|
continue;
|
|
1163
1161
|
}
|
|
1164
|
-
if (
|
|
1162
|
+
if (_t.test(i.stem)) {
|
|
1165
1163
|
t.minimumIntegerDigits = i.stem.length;
|
|
1166
1164
|
continue;
|
|
1167
1165
|
}
|
|
1168
|
-
if (
|
|
1166
|
+
if (ke.test(i.stem)) {
|
|
1169
1167
|
if (i.options.length > 1)
|
|
1170
1168
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1171
|
-
i.stem.replace(
|
|
1169
|
+
i.stem.replace(ke, function(l, u, h, m, f, b) {
|
|
1172
1170
|
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), "";
|
|
1173
1171
|
});
|
|
1174
1172
|
var s = i.options[0];
|
|
1175
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1173
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
1176
1174
|
continue;
|
|
1177
1175
|
}
|
|
1178
|
-
if (
|
|
1179
|
-
t = E(E({}, t),
|
|
1176
|
+
if (vt.test(i.stem)) {
|
|
1177
|
+
t = E(E({}, t), Ve(i.stem));
|
|
1180
1178
|
continue;
|
|
1181
1179
|
}
|
|
1182
|
-
var a =
|
|
1180
|
+
var a = xt(i.stem);
|
|
1183
1181
|
a && (t = E(E({}, t), a));
|
|
1184
|
-
var o =
|
|
1182
|
+
var o = Ir(i.stem);
|
|
1185
1183
|
o && (t = E(E({}, t), o));
|
|
1186
1184
|
}
|
|
1187
1185
|
return t;
|
|
@@ -2601,13 +2599,13 @@ var ie = {
|
|
|
2601
2599
|
"h"
|
|
2602
2600
|
]
|
|
2603
2601
|
};
|
|
2604
|
-
function
|
|
2602
|
+
function Cr(e, t) {
|
|
2605
2603
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2606
2604
|
var i = e.charAt(n);
|
|
2607
2605
|
if (i === "j") {
|
|
2608
2606
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2609
2607
|
s++, n++;
|
|
2610
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2608
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2611
2609
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2612
2610
|
r += l;
|
|
2613
2611
|
for (; a-- > 0; )
|
|
@@ -2617,7 +2615,7 @@ function Mr(e, t) {
|
|
|
2617
2615
|
}
|
|
2618
2616
|
return r;
|
|
2619
2617
|
}
|
|
2620
|
-
function
|
|
2618
|
+
function Mr(e) {
|
|
2621
2619
|
var t = e.hourCycle;
|
|
2622
2620
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2623
2621
|
e.hourCycles && // @ts-ignore
|
|
@@ -2639,20 +2637,20 @@ function Rr(e) {
|
|
|
2639
2637
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2640
2638
|
return i[0];
|
|
2641
2639
|
}
|
|
2642
|
-
var ve,
|
|
2640
|
+
var ve, Rr = new RegExp("^".concat(Et.source, "*")), $r = new RegExp("".concat(Et.source, "*$"));
|
|
2643
2641
|
function p(e, t) {
|
|
2644
2642
|
return { start: e, end: t };
|
|
2645
2643
|
}
|
|
2646
|
-
var
|
|
2644
|
+
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) {
|
|
2647
2645
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2648
2646
|
}, we = !0;
|
|
2649
2647
|
try {
|
|
2650
|
-
var
|
|
2651
|
-
we = ((ve =
|
|
2648
|
+
var zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2649
|
+
we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2652
2650
|
} catch {
|
|
2653
2651
|
we = !1;
|
|
2654
2652
|
}
|
|
2655
|
-
var
|
|
2653
|
+
var ze = Ur ? (
|
|
2656
2654
|
// Native
|
|
2657
2655
|
function(t, r, n) {
|
|
2658
2656
|
return t.startsWith(r, n);
|
|
@@ -2662,7 +2660,7 @@ var Ze = Dr ? (
|
|
|
2662
2660
|
function(t, r, n) {
|
|
2663
2661
|
return t.slice(n, n + r.length) === r;
|
|
2664
2662
|
}
|
|
2665
|
-
), Pe =
|
|
2663
|
+
), Pe = Dr ? String.fromCodePoint : (
|
|
2666
2664
|
// IE11
|
|
2667
2665
|
function() {
|
|
2668
2666
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2674,9 +2672,9 @@ var Ze = Dr ? (
|
|
|
2674
2672
|
}
|
|
2675
2673
|
return n;
|
|
2676
2674
|
}
|
|
2677
|
-
),
|
|
2675
|
+
), We = (
|
|
2678
2676
|
// native
|
|
2679
|
-
|
|
2677
|
+
Gr ? Object.fromEntries : (
|
|
2680
2678
|
// Ponyfill
|
|
2681
2679
|
function(t) {
|
|
2682
2680
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2686,7 +2684,7 @@ var Ze = Dr ? (
|
|
|
2686
2684
|
return r;
|
|
2687
2685
|
}
|
|
2688
2686
|
)
|
|
2689
|
-
),
|
|
2687
|
+
), Ht = Fr ? (
|
|
2690
2688
|
// Native
|
|
2691
2689
|
function(t, r) {
|
|
2692
2690
|
return t.codePointAt(r);
|
|
@@ -2700,7 +2698,7 @@ var Ze = Dr ? (
|
|
|
2700
2698
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2701
2699
|
}
|
|
2702
2700
|
}
|
|
2703
|
-
),
|
|
2701
|
+
), Wr = jr ? (
|
|
2704
2702
|
// Native
|
|
2705
2703
|
function(t) {
|
|
2706
2704
|
return t.trimStart();
|
|
@@ -2708,9 +2706,9 @@ var Ze = Dr ? (
|
|
|
2708
2706
|
) : (
|
|
2709
2707
|
// Ponyfill
|
|
2710
2708
|
function(t) {
|
|
2711
|
-
return t.replace(
|
|
2709
|
+
return t.replace(Rr, "");
|
|
2712
2710
|
}
|
|
2713
|
-
),
|
|
2711
|
+
), Zr = kr ? (
|
|
2714
2712
|
// Native
|
|
2715
2713
|
function(t) {
|
|
2716
2714
|
return t.trimEnd();
|
|
@@ -2718,32 +2716,32 @@ var Ze = Dr ? (
|
|
|
2718
2716
|
) : (
|
|
2719
2717
|
// Ponyfill
|
|
2720
2718
|
function(t) {
|
|
2721
|
-
return t.replace(
|
|
2719
|
+
return t.replace($r, "");
|
|
2722
2720
|
}
|
|
2723
2721
|
);
|
|
2724
|
-
function
|
|
2722
|
+
function Tt(e, t) {
|
|
2725
2723
|
return new RegExp(e, t);
|
|
2726
2724
|
}
|
|
2727
2725
|
var Ne;
|
|
2728
2726
|
if (we) {
|
|
2729
|
-
var
|
|
2727
|
+
var Ze = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2730
2728
|
Ne = function(t, r) {
|
|
2731
2729
|
var n;
|
|
2732
|
-
|
|
2733
|
-
var i =
|
|
2730
|
+
Ze.lastIndex = r;
|
|
2731
|
+
var i = Ze.exec(t);
|
|
2734
2732
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2735
2733
|
};
|
|
2736
2734
|
} else
|
|
2737
2735
|
Ne = function(t, r) {
|
|
2738
2736
|
for (var n = []; ; ) {
|
|
2739
|
-
var i =
|
|
2740
|
-
if (i === void 0 ||
|
|
2737
|
+
var i = Ht(t, r);
|
|
2738
|
+
if (i === void 0 || St(i) || Yr(i))
|
|
2741
2739
|
break;
|
|
2742
2740
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2743
2741
|
}
|
|
2744
2742
|
return Pe.apply(void 0, n);
|
|
2745
2743
|
};
|
|
2746
|
-
var
|
|
2744
|
+
var Qr = (
|
|
2747
2745
|
/** @class */
|
|
2748
2746
|
function() {
|
|
2749
2747
|
function e(t, r) {
|
|
@@ -2825,7 +2823,7 @@ var qr = (
|
|
|
2825
2823
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2826
2824
|
}, e.prototype.parseTagName = function() {
|
|
2827
2825
|
var t = this.offset();
|
|
2828
|
-
for (this.bump(); !this.isEOF() &&
|
|
2826
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2829
2827
|
this.bump();
|
|
2830
2828
|
return this.message.slice(t, this.offset());
|
|
2831
2829
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2854,7 +2852,7 @@ var qr = (
|
|
|
2854
2852
|
};
|
|
2855
2853
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2856
2854
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2857
|
-
!
|
|
2855
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2858
2856
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2859
2857
|
if (this.isEOF() || this.char() !== 39)
|
|
2860
2858
|
return null;
|
|
@@ -2941,7 +2939,7 @@ var qr = (
|
|
|
2941
2939
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2942
2940
|
if (m.err)
|
|
2943
2941
|
return m;
|
|
2944
|
-
var f =
|
|
2942
|
+
var f = Zr(m.val);
|
|
2945
2943
|
if (f.length === 0)
|
|
2946
2944
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2947
2945
|
var b = p(h, this.clonePosition());
|
|
@@ -2951,8 +2949,8 @@ var qr = (
|
|
|
2951
2949
|
if (y.err)
|
|
2952
2950
|
return y;
|
|
2953
2951
|
var _ = p(i, this.clonePosition());
|
|
2954
|
-
if (u &&
|
|
2955
|
-
var T =
|
|
2952
|
+
if (u && ze(u?.style, "::", 0)) {
|
|
2953
|
+
var T = Wr(u.style.slice(2));
|
|
2956
2954
|
if (o === "number") {
|
|
2957
2955
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2958
2956
|
return m.err ? m : {
|
|
@@ -2963,12 +2961,12 @@ var qr = (
|
|
|
2963
2961
|
if (T.length === 0)
|
|
2964
2962
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2965
2963
|
var w = T;
|
|
2966
|
-
this.locale && (w =
|
|
2964
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2967
2965
|
var f = {
|
|
2968
2966
|
type: j.dateTime,
|
|
2969
2967
|
pattern: w,
|
|
2970
2968
|
location: u.styleLocation,
|
|
2971
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2969
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2972
2970
|
}, A = o === "date" ? v.date : v.time;
|
|
2973
2971
|
return {
|
|
2974
2972
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3014,7 +3012,7 @@ var qr = (
|
|
|
3014
3012
|
val: {
|
|
3015
3013
|
type: v.select,
|
|
3016
3014
|
value: n,
|
|
3017
|
-
options:
|
|
3015
|
+
options: We(O.val),
|
|
3018
3016
|
location: c
|
|
3019
3017
|
},
|
|
3020
3018
|
err: null
|
|
@@ -3022,7 +3020,7 @@ var qr = (
|
|
|
3022
3020
|
val: {
|
|
3023
3021
|
type: v.plural,
|
|
3024
3022
|
value: n,
|
|
3025
|
-
options:
|
|
3023
|
+
options: We(O.val),
|
|
3026
3024
|
offset: x,
|
|
3027
3025
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3028
3026
|
location: c
|
|
@@ -3073,7 +3071,7 @@ var qr = (
|
|
|
3073
3071
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3074
3072
|
var n = [];
|
|
3075
3073
|
try {
|
|
3076
|
-
n =
|
|
3074
|
+
n = Pr(t);
|
|
3077
3075
|
} catch {
|
|
3078
3076
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3079
3077
|
}
|
|
@@ -3082,7 +3080,7 @@ var qr = (
|
|
|
3082
3080
|
type: j.number,
|
|
3083
3081
|
tokens: n,
|
|
3084
3082
|
location: r,
|
|
3085
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3083
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3086
3084
|
},
|
|
3087
3085
|
err: null
|
|
3088
3086
|
};
|
|
@@ -3130,7 +3128,7 @@ var qr = (
|
|
|
3130
3128
|
break;
|
|
3131
3129
|
}
|
|
3132
3130
|
var l = p(i, this.clonePosition());
|
|
3133
|
-
return s ? (a *= n,
|
|
3131
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3134
3132
|
}, e.prototype.offset = function() {
|
|
3135
3133
|
return this.position.offset;
|
|
3136
3134
|
}, e.prototype.isEOF = function() {
|
|
@@ -3145,7 +3143,7 @@ var qr = (
|
|
|
3145
3143
|
var t = this.position.offset;
|
|
3146
3144
|
if (t >= this.message.length)
|
|
3147
3145
|
throw Error("out of bound");
|
|
3148
|
-
var r =
|
|
3146
|
+
var r = Ht(this.message, t);
|
|
3149
3147
|
if (r === void 0)
|
|
3150
3148
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3151
3149
|
return r;
|
|
@@ -3164,7 +3162,7 @@ var qr = (
|
|
|
3164
3162
|
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);
|
|
3165
3163
|
}
|
|
3166
3164
|
}, e.prototype.bumpIf = function(t) {
|
|
3167
|
-
if (
|
|
3165
|
+
if (ze(this.message, t, this.offset())) {
|
|
3168
3166
|
for (var r = 0; r < t.length; r++)
|
|
3169
3167
|
this.bump();
|
|
3170
3168
|
return !0;
|
|
@@ -3186,7 +3184,7 @@ var qr = (
|
|
|
3186
3184
|
break;
|
|
3187
3185
|
}
|
|
3188
3186
|
}, e.prototype.bumpSpace = function() {
|
|
3189
|
-
for (; !this.isEOF() &&
|
|
3187
|
+
for (; !this.isEOF() && St(this.char()); )
|
|
3190
3188
|
this.bump();
|
|
3191
3189
|
}, e.prototype.peek = function() {
|
|
3192
3190
|
if (this.isEOF())
|
|
@@ -3199,30 +3197,30 @@ var qr = (
|
|
|
3199
3197
|
function Oe(e) {
|
|
3200
3198
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3201
3199
|
}
|
|
3202
|
-
function
|
|
3200
|
+
function qr(e) {
|
|
3203
3201
|
return Oe(e) || e === 47;
|
|
3204
3202
|
}
|
|
3205
|
-
function
|
|
3203
|
+
function Jr(e) {
|
|
3206
3204
|
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;
|
|
3207
3205
|
}
|
|
3208
|
-
function
|
|
3206
|
+
function St(e) {
|
|
3209
3207
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3210
3208
|
}
|
|
3211
|
-
function
|
|
3209
|
+
function Yr(e) {
|
|
3212
3210
|
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;
|
|
3213
3211
|
}
|
|
3214
3212
|
function Ie(e) {
|
|
3215
3213
|
e.forEach(function(t) {
|
|
3216
|
-
if (delete t.location,
|
|
3214
|
+
if (delete t.location, dt(t) || bt(t))
|
|
3217
3215
|
for (var r in t.options)
|
|
3218
3216
|
delete t.options[r].location, Ie(t.options[r].value);
|
|
3219
3217
|
else
|
|
3220
|
-
|
|
3218
|
+
ct(t) && yt(t.style) || (mt(t) || gt(t)) && Ae(t.style) ? delete t.style.location : pt(t) && Ie(t.children);
|
|
3221
3219
|
});
|
|
3222
3220
|
}
|
|
3223
|
-
function
|
|
3221
|
+
function Kr(e, t) {
|
|
3224
3222
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3225
|
-
var r = new
|
|
3223
|
+
var r = new Qr(e, t).parse();
|
|
3226
3224
|
if (r.err) {
|
|
3227
3225
|
var n = SyntaxError(d[r.err.kind]);
|
|
3228
3226
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3245,7 +3243,7 @@ var me = (
|
|
|
3245
3243
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3246
3244
|
}, t;
|
|
3247
3245
|
}(Error)
|
|
3248
|
-
),
|
|
3246
|
+
), Qe = (
|
|
3249
3247
|
/** @class */
|
|
3250
3248
|
function(e) {
|
|
3251
3249
|
fe(t, e);
|
|
@@ -3254,7 +3252,7 @@ var me = (
|
|
|
3254
3252
|
}
|
|
3255
3253
|
return t;
|
|
3256
3254
|
}(me)
|
|
3257
|
-
),
|
|
3255
|
+
), en = (
|
|
3258
3256
|
/** @class */
|
|
3259
3257
|
function(e) {
|
|
3260
3258
|
fe(t, e);
|
|
@@ -3263,7 +3261,7 @@ var me = (
|
|
|
3263
3261
|
}
|
|
3264
3262
|
return t;
|
|
3265
3263
|
}(me)
|
|
3266
|
-
),
|
|
3264
|
+
), tn = (
|
|
3267
3265
|
/** @class */
|
|
3268
3266
|
function(e) {
|
|
3269
3267
|
fe(t, e);
|
|
@@ -3276,17 +3274,17 @@ var me = (
|
|
|
3276
3274
|
(function(e) {
|
|
3277
3275
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3278
3276
|
})(B || (B = {}));
|
|
3279
|
-
function
|
|
3277
|
+
function rn(e) {
|
|
3280
3278
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3281
3279
|
var n = t[t.length - 1];
|
|
3282
3280
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3283
3281
|
}, []);
|
|
3284
3282
|
}
|
|
3285
|
-
function
|
|
3283
|
+
function nn(e) {
|
|
3286
3284
|
return typeof e == "function";
|
|
3287
3285
|
}
|
|
3288
3286
|
function ae(e, t, r, n, i, s, a) {
|
|
3289
|
-
if (e.length === 1 &&
|
|
3287
|
+
if (e.length === 1 && je(e[0]))
|
|
3290
3288
|
return [
|
|
3291
3289
|
{
|
|
3292
3290
|
type: B.literal,
|
|
@@ -3295,14 +3293,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3295
3293
|
];
|
|
3296
3294
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3297
3295
|
var h = u[l];
|
|
3298
|
-
if (
|
|
3296
|
+
if (je(h)) {
|
|
3299
3297
|
o.push({
|
|
3300
3298
|
type: B.literal,
|
|
3301
3299
|
value: h.value
|
|
3302
3300
|
});
|
|
3303
3301
|
continue;
|
|
3304
3302
|
}
|
|
3305
|
-
if (
|
|
3303
|
+
if (Sr(h)) {
|
|
3306
3304
|
typeof s == "number" && o.push({
|
|
3307
3305
|
type: B.literal,
|
|
3308
3306
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3311,16 +3309,16 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3311
3309
|
}
|
|
3312
3310
|
var m = h.value;
|
|
3313
3311
|
if (!(i && m in i))
|
|
3314
|
-
throw new
|
|
3312
|
+
throw new tn(m, a);
|
|
3315
3313
|
var f = i[m];
|
|
3316
|
-
if (
|
|
3314
|
+
if (Tr(h)) {
|
|
3317
3315
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3318
3316
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3319
3317
|
value: f
|
|
3320
3318
|
});
|
|
3321
3319
|
continue;
|
|
3322
3320
|
}
|
|
3323
|
-
if (
|
|
3321
|
+
if (mt(h)) {
|
|
3324
3322
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3325
3323
|
o.push({
|
|
3326
3324
|
type: B.literal,
|
|
@@ -3328,7 +3326,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3328
3326
|
});
|
|
3329
3327
|
continue;
|
|
3330
3328
|
}
|
|
3331
|
-
if (
|
|
3329
|
+
if (gt(h)) {
|
|
3332
3330
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3333
3331
|
o.push({
|
|
3334
3332
|
type: B.literal,
|
|
@@ -3336,18 +3334,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3336
3334
|
});
|
|
3337
3335
|
continue;
|
|
3338
3336
|
}
|
|
3339
|
-
if (
|
|
3340
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3337
|
+
if (ct(h)) {
|
|
3338
|
+
var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3341
3339
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3342
3340
|
type: B.literal,
|
|
3343
3341
|
value: r.getNumberFormat(t, b).format(f)
|
|
3344
3342
|
});
|
|
3345
3343
|
continue;
|
|
3346
3344
|
}
|
|
3347
|
-
if (
|
|
3345
|
+
if (pt(h)) {
|
|
3348
3346
|
var y = h.children, _ = h.value, T = i[_];
|
|
3349
|
-
if (!
|
|
3350
|
-
throw new
|
|
3347
|
+
if (!nn(T))
|
|
3348
|
+
throw new en(_, "function", a);
|
|
3351
3349
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3352
3350
|
return x.value;
|
|
3353
3351
|
}));
|
|
@@ -3358,14 +3356,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3358
3356
|
};
|
|
3359
3357
|
}));
|
|
3360
3358
|
}
|
|
3361
|
-
if (
|
|
3359
|
+
if (dt(h)) {
|
|
3362
3360
|
var S = h.options[f] || h.options.other;
|
|
3363
3361
|
if (!S)
|
|
3364
|
-
throw new
|
|
3362
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3365
3363
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3366
3364
|
continue;
|
|
3367
3365
|
}
|
|
3368
|
-
if (
|
|
3366
|
+
if (bt(h)) {
|
|
3369
3367
|
var S = h.options["=".concat(f)];
|
|
3370
3368
|
if (!S) {
|
|
3371
3369
|
if (!Intl.PluralRules)
|
|
@@ -3376,21 +3374,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3376
3374
|
S = h.options[P] || h.options.other;
|
|
3377
3375
|
}
|
|
3378
3376
|
if (!S)
|
|
3379
|
-
throw new
|
|
3377
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3380
3378
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3381
3379
|
continue;
|
|
3382
3380
|
}
|
|
3383
3381
|
}
|
|
3384
|
-
return
|
|
3382
|
+
return rn(o);
|
|
3385
3383
|
}
|
|
3386
|
-
function
|
|
3384
|
+
function sn(e, t) {
|
|
3387
3385
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3388
3386
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3389
3387
|
}, {})) : e;
|
|
3390
3388
|
}
|
|
3391
|
-
function
|
|
3389
|
+
function an(e, t) {
|
|
3392
3390
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3393
|
-
return r[n] =
|
|
3391
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3394
3392
|
}, E({}, e)) : e;
|
|
3395
3393
|
}
|
|
3396
3394
|
function _e(e) {
|
|
@@ -3407,7 +3405,7 @@ function _e(e) {
|
|
|
3407
3405
|
}
|
|
3408
3406
|
};
|
|
3409
3407
|
}
|
|
3410
|
-
function
|
|
3408
|
+
function on(e) {
|
|
3411
3409
|
return e === void 0 && (e = {
|
|
3412
3410
|
number: {},
|
|
3413
3411
|
dateTime: {},
|
|
@@ -3439,7 +3437,7 @@ function un(e) {
|
|
|
3439
3437
|
})
|
|
3440
3438
|
};
|
|
3441
3439
|
}
|
|
3442
|
-
var
|
|
3440
|
+
var un = (
|
|
3443
3441
|
/** @class */
|
|
3444
3442
|
function() {
|
|
3445
3443
|
function e(t, r, n, i) {
|
|
@@ -3471,13 +3469,13 @@ var hn = (
|
|
|
3471
3469
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3472
3470
|
var a = i || {};
|
|
3473
3471
|
a.formatters;
|
|
3474
|
-
var o =
|
|
3472
|
+
var o = Kt(a, ["formatters"]);
|
|
3475
3473
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3476
3474
|
} else
|
|
3477
3475
|
this.ast = t;
|
|
3478
3476
|
if (!Array.isArray(this.ast))
|
|
3479
3477
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3480
|
-
this.formats =
|
|
3478
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3481
3479
|
}
|
|
3482
3480
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3483
3481
|
get: function() {
|
|
@@ -3490,7 +3488,7 @@ var hn = (
|
|
|
3490
3488
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3491
3489
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3492
3490
|
}
|
|
3493
|
-
}, e.__parse =
|
|
3491
|
+
}, e.__parse = Kr, e.formats = {
|
|
3494
3492
|
number: {
|
|
3495
3493
|
integer: {
|
|
3496
3494
|
maximumFractionDigits: 0
|
|
@@ -3551,7 +3549,7 @@ var hn = (
|
|
|
3551
3549
|
}, e;
|
|
3552
3550
|
}()
|
|
3553
3551
|
);
|
|
3554
|
-
function
|
|
3552
|
+
function hn(e, t) {
|
|
3555
3553
|
if (t == null)
|
|
3556
3554
|
return;
|
|
3557
3555
|
if (t in e)
|
|
@@ -3572,60 +3570,60 @@ function ln(e, t) {
|
|
|
3572
3570
|
n = void 0;
|
|
3573
3571
|
return n;
|
|
3574
3572
|
}
|
|
3575
|
-
const C = {},
|
|
3573
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Bt = (e, t) => {
|
|
3576
3574
|
if (t == null)
|
|
3577
3575
|
return;
|
|
3578
3576
|
if (t in C && e in C[t])
|
|
3579
3577
|
return C[t][e];
|
|
3580
3578
|
const r = ge(t);
|
|
3581
3579
|
for (let n = 0; n < r.length; n++) {
|
|
3582
|
-
const i = r[n], s =
|
|
3580
|
+
const i = r[n], s = cn(i, e);
|
|
3583
3581
|
if (s)
|
|
3584
|
-
return
|
|
3582
|
+
return ln(e, t, s);
|
|
3585
3583
|
}
|
|
3586
3584
|
};
|
|
3587
|
-
let
|
|
3585
|
+
let $e;
|
|
3588
3586
|
const W = ce({});
|
|
3589
|
-
function
|
|
3590
|
-
return
|
|
3587
|
+
function fn(e) {
|
|
3588
|
+
return $e[e] || null;
|
|
3591
3589
|
}
|
|
3592
|
-
function
|
|
3593
|
-
return e in
|
|
3590
|
+
function At(e) {
|
|
3591
|
+
return e in $e;
|
|
3594
3592
|
}
|
|
3595
|
-
function
|
|
3596
|
-
if (!
|
|
3593
|
+
function cn(e, t) {
|
|
3594
|
+
if (!At(e))
|
|
3597
3595
|
return null;
|
|
3598
|
-
const r =
|
|
3599
|
-
return
|
|
3596
|
+
const r = fn(e);
|
|
3597
|
+
return hn(r, t);
|
|
3600
3598
|
}
|
|
3601
|
-
function
|
|
3599
|
+
function mn(e) {
|
|
3602
3600
|
if (e == null)
|
|
3603
3601
|
return;
|
|
3604
3602
|
const t = ge(e);
|
|
3605
3603
|
for (let r = 0; r < t.length; r++) {
|
|
3606
3604
|
const n = t[r];
|
|
3607
|
-
if (
|
|
3605
|
+
if (At(n))
|
|
3608
3606
|
return n;
|
|
3609
3607
|
}
|
|
3610
3608
|
}
|
|
3611
|
-
function
|
|
3612
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3609
|
+
function gn(e, ...t) {
|
|
3610
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3613
3611
|
}
|
|
3614
3612
|
z(
|
|
3615
3613
|
[W],
|
|
3616
3614
|
([e]) => Object.keys(e)
|
|
3617
3615
|
);
|
|
3618
|
-
W.subscribe((e) =>
|
|
3616
|
+
W.subscribe((e) => $e = e);
|
|
3619
3617
|
const oe = {};
|
|
3620
|
-
function
|
|
3618
|
+
function dn(e, t) {
|
|
3621
3619
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3622
3620
|
}
|
|
3623
|
-
function
|
|
3621
|
+
function wt(e) {
|
|
3624
3622
|
return oe[e];
|
|
3625
3623
|
}
|
|
3626
|
-
function
|
|
3624
|
+
function bn(e) {
|
|
3627
3625
|
return ge(e).map((t) => {
|
|
3628
|
-
const r =
|
|
3626
|
+
const r = wt(t);
|
|
3629
3627
|
return [t, r ? [...r] : []];
|
|
3630
3628
|
}).filter(([, t]) => t.length > 0);
|
|
3631
3629
|
}
|
|
@@ -3633,31 +3631,31 @@ function Le(e) {
|
|
|
3633
3631
|
return e == null ? !1 : ge(e).some(
|
|
3634
3632
|
(t) => {
|
|
3635
3633
|
var r;
|
|
3636
|
-
return (r =
|
|
3634
|
+
return (r = wt(t)) == null ? void 0 : r.size;
|
|
3637
3635
|
}
|
|
3638
3636
|
);
|
|
3639
3637
|
}
|
|
3640
|
-
function
|
|
3638
|
+
function pn(e, t) {
|
|
3641
3639
|
return Promise.all(
|
|
3642
|
-
t.map((n) => (
|
|
3643
|
-
).then((n) =>
|
|
3640
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3641
|
+
).then((n) => gn(e, ...n));
|
|
3644
3642
|
}
|
|
3645
3643
|
const Q = {};
|
|
3646
|
-
function
|
|
3644
|
+
function Pt(e) {
|
|
3647
3645
|
if (!Le(e))
|
|
3648
3646
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3649
|
-
const t =
|
|
3647
|
+
const t = bn(e);
|
|
3650
3648
|
return Q[e] = Promise.all(
|
|
3651
3649
|
t.map(
|
|
3652
|
-
([r, n]) =>
|
|
3650
|
+
([r, n]) => pn(r, n)
|
|
3653
3651
|
)
|
|
3654
3652
|
).then(() => {
|
|
3655
3653
|
if (Le(e))
|
|
3656
|
-
return
|
|
3654
|
+
return Pt(e);
|
|
3657
3655
|
delete Q[e];
|
|
3658
3656
|
}), Q[e];
|
|
3659
3657
|
}
|
|
3660
|
-
const
|
|
3658
|
+
const yn = {
|
|
3661
3659
|
number: {
|
|
3662
3660
|
scientific: { notation: "scientific" },
|
|
3663
3661
|
engineering: { notation: "engineering" },
|
|
@@ -3686,34 +3684,34 @@ const En = {
|
|
|
3686
3684
|
timeZoneName: "short"
|
|
3687
3685
|
}
|
|
3688
3686
|
}
|
|
3689
|
-
},
|
|
3687
|
+
}, En = {
|
|
3690
3688
|
fallbackLocale: null,
|
|
3691
3689
|
loadingDelay: 200,
|
|
3692
|
-
formats:
|
|
3690
|
+
formats: yn,
|
|
3693
3691
|
warnOnMissingMessages: !0,
|
|
3694
3692
|
handleMissingMessage: void 0,
|
|
3695
3693
|
ignoreTag: !0
|
|
3696
|
-
},
|
|
3694
|
+
}, vn = En;
|
|
3697
3695
|
function V() {
|
|
3698
|
-
return
|
|
3696
|
+
return vn;
|
|
3699
3697
|
}
|
|
3700
3698
|
const xe = ce(!1);
|
|
3701
|
-
var
|
|
3699
|
+
var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3702
3700
|
for (var r in t || (t = {}))
|
|
3703
|
-
|
|
3704
|
-
if (
|
|
3705
|
-
for (var r of
|
|
3706
|
-
|
|
3701
|
+
Tn.call(t, r) && Je(e, r, t[r]);
|
|
3702
|
+
if (qe)
|
|
3703
|
+
for (var r of qe(t))
|
|
3704
|
+
Sn.call(t, r) && Je(e, r, t[r]);
|
|
3707
3705
|
return e;
|
|
3708
|
-
},
|
|
3706
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3709
3707
|
let Ce;
|
|
3710
3708
|
const ue = ce(null);
|
|
3711
|
-
function
|
|
3709
|
+
function Ye(e) {
|
|
3712
3710
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3713
3711
|
}
|
|
3714
3712
|
function ge(e, t = V().fallbackLocale) {
|
|
3715
|
-
const r =
|
|
3716
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3713
|
+
const r = Ye(e);
|
|
3714
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
|
3717
3715
|
}
|
|
3718
3716
|
function R() {
|
|
3719
3717
|
return Ce ?? void 0;
|
|
@@ -3721,22 +3719,22 @@ function R() {
|
|
|
3721
3719
|
ue.subscribe((e) => {
|
|
3722
3720
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3723
3721
|
});
|
|
3724
|
-
const
|
|
3725
|
-
if (e &&
|
|
3722
|
+
const wn = (e) => {
|
|
3723
|
+
if (e && mn(e) && Le(e)) {
|
|
3726
3724
|
const { loadingDelay: t } = V();
|
|
3727
3725
|
let r;
|
|
3728
3726
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3729
3727
|
() => xe.set(!0),
|
|
3730
3728
|
t
|
|
3731
|
-
) : xe.set(!0),
|
|
3729
|
+
) : xe.set(!0), Pt(e).then(() => {
|
|
3732
3730
|
ue.set(e);
|
|
3733
3731
|
}).finally(() => {
|
|
3734
3732
|
clearTimeout(r), xe.set(!1);
|
|
3735
3733
|
});
|
|
3736
3734
|
}
|
|
3737
3735
|
return ue.set(e);
|
|
3738
|
-
}, M =
|
|
3739
|
-
set:
|
|
3736
|
+
}, M = An(Bn({}, ue), {
|
|
3737
|
+
set: wn
|
|
3740
3738
|
}), de = (e) => {
|
|
3741
3739
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3742
3740
|
return (n) => {
|
|
@@ -3744,20 +3742,20 @@ const Pn = (e) => {
|
|
|
3744
3742
|
return i in t ? t[i] : t[i] = e(n);
|
|
3745
3743
|
};
|
|
3746
3744
|
};
|
|
3747
|
-
var
|
|
3745
|
+
var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
|
3748
3746
|
for (var r in t || (t = {}))
|
|
3749
|
-
|
|
3747
|
+
Nt.call(t, r) && Ke(e, r, t[r]);
|
|
3750
3748
|
if (he)
|
|
3751
3749
|
for (var r of he(t))
|
|
3752
|
-
|
|
3750
|
+
Ot.call(t, r) && Ke(e, r, t[r]);
|
|
3753
3751
|
return e;
|
|
3754
3752
|
}, Z = (e, t) => {
|
|
3755
3753
|
var r = {};
|
|
3756
3754
|
for (var n in e)
|
|
3757
|
-
|
|
3755
|
+
Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3758
3756
|
if (e != null && he)
|
|
3759
3757
|
for (var n of he(e))
|
|
3760
|
-
t.indexOf(n) < 0 &&
|
|
3758
|
+
t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
|
|
3761
3759
|
return r;
|
|
3762
3760
|
};
|
|
3763
3761
|
const K = (e, t) => {
|
|
@@ -3765,21 +3763,21 @@ const K = (e, t) => {
|
|
|
3765
3763
|
if (e in r && t in r[e])
|
|
3766
3764
|
return r[e][t];
|
|
3767
3765
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3768
|
-
},
|
|
3766
|
+
}, Nn = de(
|
|
3769
3767
|
(e) => {
|
|
3770
3768
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3771
3769
|
if (r == null)
|
|
3772
3770
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3773
3771
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3774
3772
|
}
|
|
3775
|
-
),
|
|
3773
|
+
), On = de(
|
|
3776
3774
|
(e) => {
|
|
3777
3775
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3778
3776
|
if (r == null)
|
|
3779
3777
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3780
3778
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3781
3779
|
}
|
|
3782
|
-
),
|
|
3780
|
+
), In = de(
|
|
3783
3781
|
(e) => {
|
|
3784
3782
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3785
3783
|
if (r == null)
|
|
@@ -3788,33 +3786,33 @@ const K = (e, t) => {
|
|
|
3788
3786
|
);
|
|
3789
3787
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3790
3788
|
}
|
|
3791
|
-
),
|
|
3789
|
+
), Ln = (e = {}) => {
|
|
3792
3790
|
var t = e, {
|
|
3793
3791
|
locale: r = R()
|
|
3794
3792
|
} = t, n = Z(t, [
|
|
3795
3793
|
"locale"
|
|
3796
3794
|
]);
|
|
3797
|
-
return
|
|
3798
|
-
},
|
|
3795
|
+
return Nn(Ue({ locale: r }, n));
|
|
3796
|
+
}, Cn = (e = {}) => {
|
|
3799
3797
|
var t = e, {
|
|
3800
3798
|
locale: r = R()
|
|
3801
3799
|
} = t, n = Z(t, [
|
|
3802
3800
|
"locale"
|
|
3803
3801
|
]);
|
|
3804
|
-
return
|
|
3805
|
-
},
|
|
3802
|
+
return On(Ue({ locale: r }, n));
|
|
3803
|
+
}, Mn = (e = {}) => {
|
|
3806
3804
|
var t = e, {
|
|
3807
3805
|
locale: r = R()
|
|
3808
3806
|
} = t, n = Z(t, [
|
|
3809
3807
|
"locale"
|
|
3810
3808
|
]);
|
|
3811
|
-
return
|
|
3812
|
-
},
|
|
3809
|
+
return In(Ue({ locale: r }, n));
|
|
3810
|
+
}, Rn = de(
|
|
3813
3811
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3814
|
-
(e, t = R()) => new
|
|
3812
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3815
3813
|
ignoreTag: V().ignoreTag
|
|
3816
3814
|
})
|
|
3817
|
-
),
|
|
3815
|
+
), $n = (e, t = {}) => {
|
|
3818
3816
|
var r, n, i, s;
|
|
3819
3817
|
let a = t;
|
|
3820
3818
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3827,7 +3825,7 @@ const K = (e, t) => {
|
|
|
3827
3825
|
throw new Error(
|
|
3828
3826
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3829
3827
|
);
|
|
3830
|
-
let h =
|
|
3828
|
+
let h = Bt(e, l);
|
|
3831
3829
|
if (!h)
|
|
3832
3830
|
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;
|
|
3833
3831
|
else if (typeof h != "string")
|
|
@@ -3838,7 +3836,7 @@ const K = (e, t) => {
|
|
|
3838
3836
|
return h;
|
|
3839
3837
|
let m = h;
|
|
3840
3838
|
try {
|
|
3841
|
-
m =
|
|
3839
|
+
m = Rn(h, l).format(o);
|
|
3842
3840
|
} catch (f) {
|
|
3843
3841
|
f instanceof Error && console.warn(
|
|
3844
3842
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3846,18 +3844,18 @@ const K = (e, t) => {
|
|
|
3846
3844
|
);
|
|
3847
3845
|
}
|
|
3848
3846
|
return m;
|
|
3849
|
-
},
|
|
3847
|
+
}, 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()) => Bt(e, t), fi = z([M, W], () => $n);
|
|
3848
|
+
z([M], () => Un);
|
|
3850
3849
|
z([M], () => Dn);
|
|
3851
3850
|
z([M], () => Gn);
|
|
3852
|
-
z([M], () => Fn);
|
|
3853
|
-
|
|
3854
|
-
function kn(e, t) {
|
|
3851
|
+
z([M, W], () => Fn);
|
|
3852
|
+
function jn(e, t) {
|
|
3855
3853
|
if (e) {
|
|
3856
3854
|
const r = document.createElement("style");
|
|
3857
3855
|
r.innerHTML = t, e.appendChild(r);
|
|
3858
3856
|
}
|
|
3859
3857
|
}
|
|
3860
|
-
function
|
|
3858
|
+
function kn(e, t) {
|
|
3861
3859
|
const r = new URL(t);
|
|
3862
3860
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3863
3861
|
const i = document.createElement("style");
|
|
@@ -3866,7 +3864,7 @@ function Vn(e, t) {
|
|
|
3866
3864
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3867
3865
|
});
|
|
3868
3866
|
}
|
|
3869
|
-
function
|
|
3867
|
+
function Vn(e, t, r) {
|
|
3870
3868
|
if (window.emMessageBus) {
|
|
3871
3869
|
const n = document.createElement("style");
|
|
3872
3870
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3874,7 +3872,7 @@ function Xn(e, t, r) {
|
|
|
3874
3872
|
});
|
|
3875
3873
|
}
|
|
3876
3874
|
}
|
|
3877
|
-
function
|
|
3875
|
+
function Xn({ withLocale: e, translations: t }) {
|
|
3878
3876
|
M.subscribe((r) => {
|
|
3879
3877
|
r == null && (W.set(t), M.set(e));
|
|
3880
3878
|
});
|
|
@@ -3891,14 +3889,14 @@ if (typeof window < "u") {
|
|
|
3891
3889
|
}
|
|
3892
3890
|
};
|
|
3893
3891
|
};
|
|
3894
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3892
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-dxSy4KIJ.js").then(({ default: t }) => {
|
|
3895
3893
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3896
3894
|
});
|
|
3897
3895
|
}
|
|
3898
|
-
function
|
|
3899
|
-
|
|
3896
|
+
function zn(e) {
|
|
3897
|
+
Mt(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))}");
|
|
3900
3898
|
}
|
|
3901
|
-
function
|
|
3899
|
+
function et(e) {
|
|
3902
3900
|
let t;
|
|
3903
3901
|
return {
|
|
3904
3902
|
c() {
|
|
@@ -4113,10 +4111,10 @@ function rt(e) {
|
|
|
4113
4111
|
}
|
|
4114
4112
|
};
|
|
4115
4113
|
}
|
|
4116
|
-
function
|
|
4114
|
+
function Wn(e) {
|
|
4117
4115
|
let t, r = (
|
|
4118
4116
|
/*session*/
|
|
4119
|
-
e[4] &&
|
|
4117
|
+
e[4] && et(e)
|
|
4120
4118
|
);
|
|
4121
4119
|
return {
|
|
4122
4120
|
c() {
|
|
@@ -4127,7 +4125,7 @@ function Zn(e) {
|
|
|
4127
4125
|
},
|
|
4128
4126
|
p(n, [i]) {
|
|
4129
4127
|
/*session*/
|
|
4130
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4128
|
+
n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4131
4129
|
},
|
|
4132
4130
|
i: N,
|
|
4133
4131
|
o: N,
|
|
@@ -4136,9 +4134,9 @@ function Zn(e) {
|
|
|
4136
4134
|
}
|
|
4137
4135
|
};
|
|
4138
4136
|
}
|
|
4139
|
-
function
|
|
4137
|
+
function Zn(e, t, r) {
|
|
4140
4138
|
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;
|
|
4141
|
-
|
|
4139
|
+
Xn({ withLocale: "en", translations: {} }), jt(() => () => {
|
|
4142
4140
|
});
|
|
4143
4141
|
function O(c) {
|
|
4144
4142
|
He[c ? "unshift" : "push"](() => {
|
|
@@ -4149,9 +4147,9 @@ function Qn(e, t, r) {
|
|
|
4149
4147
|
"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);
|
|
4150
4148
|
}, e.$$.update = () => {
|
|
4151
4149
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4152
|
-
262208 && u && x &&
|
|
4153
|
-
262272 && h && x &&
|
|
4154
|
-
393216 && x &&
|
|
4150
|
+
262208 && u && x && jn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4151
|
+
262272 && h && x && kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4152
|
+
393216 && x && Vn(x, `${P}.Style`);
|
|
4155
4153
|
}, [
|
|
4156
4154
|
n,
|
|
4157
4155
|
i,
|
|
@@ -4175,14 +4173,14 @@ function Qn(e, t, r) {
|
|
|
4175
4173
|
O
|
|
4176
4174
|
];
|
|
4177
4175
|
}
|
|
4178
|
-
class
|
|
4176
|
+
class It extends Jt {
|
|
4179
4177
|
constructor(t) {
|
|
4180
|
-
super(),
|
|
4178
|
+
super(), Qt(
|
|
4181
4179
|
this,
|
|
4182
4180
|
t,
|
|
4183
|
-
Qn,
|
|
4184
4181
|
Zn,
|
|
4185
|
-
|
|
4182
|
+
Wn,
|
|
4183
|
+
rt,
|
|
4186
4184
|
{
|
|
4187
4185
|
endpoint: 0,
|
|
4188
4186
|
datasource: 1,
|
|
@@ -4203,7 +4201,7 @@ class Ct extends Kt {
|
|
|
4203
4201
|
fetchviaevent: 16,
|
|
4204
4202
|
mbsource: 17
|
|
4205
4203
|
},
|
|
4206
|
-
|
|
4204
|
+
zn
|
|
4207
4205
|
);
|
|
4208
4206
|
}
|
|
4209
4207
|
get endpoint() {
|
|
@@ -4315,54 +4313,54 @@ class Ct extends Kt {
|
|
|
4315
4313
|
this.$$set({ mbsource: t }), H();
|
|
4316
4314
|
}
|
|
4317
4315
|
}
|
|
4318
|
-
|
|
4319
|
-
const
|
|
4316
|
+
qt(It, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4317
|
+
const ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4320
4318
|
__proto__: null,
|
|
4321
|
-
default:
|
|
4319
|
+
default: It
|
|
4322
4320
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4323
4321
|
export {
|
|
4324
4322
|
M as $,
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4323
|
+
ri as A,
|
|
4324
|
+
Qn as B,
|
|
4325
|
+
jn as C,
|
|
4326
|
+
kn as D,
|
|
4327
|
+
Vn as E,
|
|
4328
|
+
qt as F,
|
|
4329
|
+
fi as G,
|
|
4330
|
+
ni as H,
|
|
4331
|
+
Kn as I,
|
|
4332
|
+
ii as J,
|
|
4333
|
+
si as K,
|
|
4334
|
+
ui as L,
|
|
4337
4335
|
g as M,
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4336
|
+
oi as N,
|
|
4337
|
+
ci as O,
|
|
4338
|
+
Jt as S,
|
|
4339
|
+
hi as _,
|
|
4342
4340
|
pe as a,
|
|
4343
|
-
|
|
4341
|
+
li as b,
|
|
4344
4342
|
fe as c,
|
|
4345
4343
|
W as d,
|
|
4346
|
-
|
|
4344
|
+
gn as e,
|
|
4347
4345
|
H as f,
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4346
|
+
Mt as g,
|
|
4347
|
+
ee as h,
|
|
4348
|
+
Qt as i,
|
|
4349
|
+
le as j,
|
|
4350
|
+
te as k,
|
|
4351
|
+
qn as l,
|
|
4352
|
+
He as m,
|
|
4355
4353
|
N as n,
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4354
|
+
jt as o,
|
|
4355
|
+
ti as p,
|
|
4356
|
+
Ct as q,
|
|
4357
|
+
Re as r,
|
|
4358
|
+
rt as s,
|
|
4359
|
+
it as t,
|
|
4360
|
+
ai as u,
|
|
4361
|
+
Jn as v,
|
|
4362
|
+
X as w,
|
|
4363
|
+
ei as x,
|
|
4364
|
+
Ut as y,
|
|
4365
|
+
Yn as z
|
|
4368
4366
|
};
|