@everymatrix/casino-my-games-nd 1.60.2 → 1.61.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/{CasinoFavoritesSectionNd-BaGCG4Mq.js → CasinoFavoritesSectionNd-Bqb8obxE.js} +839 -835
- package/components/{CasinoFavoritesSectionNd-B0iQXVWp.js → CasinoFavoritesSectionNd-CfpXk8om.js} +129 -125
- package/components/{CasinoFavoritesSectionNd-zjOi6hTl.cjs → CasinoFavoritesSectionNd-Dvjb5HOf.cjs} +3 -3
- package/components/{CasinoFilter-Bd_H-snT.js → CasinoFilter-BzJ7kW-9.js} +31 -31
- package/components/{CasinoFilter-twFKr5Gg.js → CasinoFilter-CqdxY9Sb.js} +144 -142
- package/components/CasinoFilter-opjg1lUo.cjs +3 -0
- package/components/{CasinoGameThumbnailNd-CM_DCSiI.js → CasinoGameThumbnailNd-7hmb5HvD.js} +396 -395
- package/components/{CasinoGameThumbnailNd-C_Vpw3lY.js → CasinoGameThumbnailNd-BJnfr0pt.js} +396 -395
- package/components/{CasinoGameThumbnailNd-DUDdlw53.cjs → CasinoGameThumbnailNd-CcKCv0b3.cjs} +5 -5
- package/components/{CasinoGamesCategorySectionNd-Cy5eqHKg.js → CasinoGamesCategorySectionNd-BCh4kKwb.js} +417 -404
- package/components/{CasinoGamesCategorySectionNd-Cd9EbfCS.cjs → CasinoGamesCategorySectionNd-BeeN2R4A.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-CqvyPEQq.js → CasinoGamesCategorySectionNd-CF14iLgy.js} +420 -407
- package/components/{CasinoLastPlayedSectionNd-KqzDrVLy.js → CasinoLastPlayedSectionNd-ByqFcJLS.js} +6 -6
- package/components/{CasinoLastPlayedSectionNd-BBkuXY02.cjs → CasinoLastPlayedSectionNd-DKhd7vOp.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-n0co4xf2.js → CasinoLastPlayedSectionNd-MBC_U_iX.js} +6 -6
- package/components/{CasinoMostPlayedSectionNd-lJrs54qO.js → CasinoMostPlayedSectionNd--UxHSqhn.js} +11 -11
- package/components/{CasinoMostPlayedSectionNd-BaSmqw7V.js → CasinoMostPlayedSectionNd-BJDO5N5P.js} +11 -11
- package/components/{CasinoMostPlayedSectionNd-Mjd-kOrU.cjs → CasinoMostPlayedSectionNd-C0b6yiDA.cjs} +1 -1
- package/components/{CasinoMyGamesNd-wqg8GgJg.js → CasinoMyGamesNd-B-5mmQ0v.js} +10 -10
- package/components/{CasinoMyGamesNd-BdTMI3Mp.js → CasinoMyGamesNd-BJ6k5fhr.js} +10 -10
- package/components/{CasinoMyGamesNd-DLt4KLTP.cjs → CasinoMyGamesNd-o9zY_XX6.cjs} +1 -1
- package/components/{CasinoSort-BSJUVoym.js → CasinoSort-A23c2HmP.js} +13 -13
- package/components/{CasinoSort-BbphVlYd.cjs → CasinoSort-BgK08O0g.cjs} +1 -1
- package/components/{CasinoSort-Dd62yWxQ.js → CasinoSort-BxDOcSlg.js} +13 -13
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-b2193545-BcwULm-K.cjs → index-b2193545-B5BzVbnP.cjs} +1 -1
- package/stencil/{index-b2193545-BJzf08Qh.js → index-b2193545-BranxwW4.js} +1 -1
- package/stencil/{index-b2193545-BlEoeZZL.js → index-b2193545-D-GB6w--.js} +1 -1
- package/stencil/index-b7bbd57e-CQ75dRCG.js +550 -0
- package/stencil/index-b7bbd57e-Cacu08c5.js +534 -0
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +1 -0
- package/stencil/ui-image-38c3c15f-D8q8WO62.js +39 -0
- package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +1 -0
- package/stencil/ui-image-38c3c15f-DNKzX83k.js +39 -0
- package/stencil/ui-image-BWdEHrqs.js +11 -0
- package/stencil/ui-image-Cq69wjLL.js +29 -0
- package/stencil/ui-image-hWt-DWaG.cjs +1 -0
- package/stencil/{ui-skeleton-ea659b95-CGzZMsW7.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BbvMCw6x.js → ui-skeleton-6d1c12ae-Cy_R_9Cz.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-8xls9UKV.cjs → ui-skeleton-6d1c12ae-DXSQpIKe.cjs} +2 -2
- package/stencil/{ui-skeleton-C8koemPS.js → ui-skeleton-BMWABShx.js} +8 -8
- package/stencil/{ui-skeleton-Cb-Iz3dC.js → ui-skeleton-CkUGY95J.js} +5 -5
- package/stencil/ui-skeleton-DXc0L06e.cjs +1 -0
- package/components/CasinoFilter-BiuFHeyh.cjs +0 -3
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/ui-skeleton-B_ESS51i.cjs +0 -1
package/components/{CasinoFavoritesSectionNd-BaGCG4Mq.js → CasinoFavoritesSectionNd-Bqb8obxE.js}
RENAMED
|
@@ -12,42 +12,42 @@ function X(e) {
|
|
|
12
12
|
function le(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function nt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let re;
|
|
19
|
+
function Qr(e, t) {
|
|
20
|
+
return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ct(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function rt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
|
-
for (const
|
|
28
|
-
|
|
27
|
+
for (const r of t)
|
|
28
|
+
r(void 0);
|
|
29
29
|
return P;
|
|
30
30
|
}
|
|
31
|
-
const
|
|
32
|
-
return
|
|
31
|
+
const n = e.subscribe(...t);
|
|
32
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function qr(e, t, n) {
|
|
35
|
+
e.$$.on_destroy.push(rt(t, n));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Jr(e) {
|
|
38
38
|
return e && le(e.destroy) ? e.destroy : P;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Mt(e, t) {
|
|
41
41
|
e.appendChild(t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const
|
|
45
|
-
if (!
|
|
43
|
+
function Rt(e, t, n) {
|
|
44
|
+
const r = $t(e);
|
|
45
|
+
if (!r.getElementById(t)) {
|
|
46
46
|
const i = te("style");
|
|
47
|
-
i.id = t, i.textContent =
|
|
47
|
+
i.id = t, i.textContent = n, Ut(r, i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function $t(e) {
|
|
51
51
|
if (!e)
|
|
52
52
|
return document;
|
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -57,65 +57,65 @@ function Rt(e) {
|
|
|
57
57
|
t
|
|
58
58
|
) : e.ownerDocument;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function Ut(e, t) {
|
|
61
|
+
return Mt(
|
|
62
62
|
/** @type {Document} */
|
|
63
63
|
e.head || e,
|
|
64
64
|
t
|
|
65
65
|
), t.sheet;
|
|
66
66
|
}
|
|
67
|
-
function fe(e, t,
|
|
68
|
-
e.insertBefore(t,
|
|
67
|
+
function fe(e, t, n) {
|
|
68
|
+
e.insertBefore(t, n || null);
|
|
69
69
|
}
|
|
70
70
|
function ee(e) {
|
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
for (let
|
|
75
|
-
e[
|
|
73
|
+
function Yr(e, t) {
|
|
74
|
+
for (let n = 0; n < e.length; n += 1)
|
|
75
|
+
e[n] && e[n].d(t);
|
|
76
76
|
}
|
|
77
77
|
function te(e) {
|
|
78
78
|
return document.createElement(e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Dt(e) {
|
|
81
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
82
82
|
}
|
|
83
83
|
function it(e) {
|
|
84
84
|
return document.createTextNode(e);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Kr() {
|
|
87
87
|
return it(" ");
|
|
88
88
|
}
|
|
89
89
|
function ei() {
|
|
90
90
|
return it("");
|
|
91
91
|
}
|
|
92
|
-
function ti(e, t,
|
|
93
|
-
return e.addEventListener(t,
|
|
92
|
+
function ti(e, t, n, r) {
|
|
93
|
+
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
94
94
|
}
|
|
95
|
-
function Re(e, t,
|
|
96
|
-
|
|
95
|
+
function Re(e, t, n) {
|
|
96
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
97
97
|
}
|
|
98
|
-
function g(e, t,
|
|
99
|
-
const
|
|
100
|
-
|
|
98
|
+
function g(e, t, n) {
|
|
99
|
+
const r = t.toLowerCase();
|
|
100
|
+
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Re(e, t, n);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Gt(e) {
|
|
103
103
|
return Array.from(e.childNodes);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ni(e, t) {
|
|
106
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
107
107
|
t);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ri(e, t) {
|
|
110
110
|
e.value = t ?? "";
|
|
111
111
|
}
|
|
112
|
-
function ii(e, t,
|
|
113
|
-
|
|
112
|
+
function ii(e, t, n, r) {
|
|
113
|
+
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
114
114
|
}
|
|
115
|
-
function si(e, t,
|
|
116
|
-
e.classList.toggle(t, !!
|
|
115
|
+
function si(e, t, n) {
|
|
116
|
+
e.classList.toggle(t, !!n);
|
|
117
117
|
}
|
|
118
|
-
class
|
|
118
|
+
class oi {
|
|
119
119
|
/**
|
|
120
120
|
* @private
|
|
121
121
|
* @default false
|
|
@@ -145,17 +145,17 @@ class ai {
|
|
|
145
145
|
* @param {HTMLElement | SVGElement} anchor
|
|
146
146
|
* @returns {void}
|
|
147
147
|
*/
|
|
148
|
-
m(t,
|
|
149
|
-
this.e || (this.is_svg ? this.e =
|
|
148
|
+
m(t, n, r = null) {
|
|
149
|
+
this.e || (this.is_svg ? this.e = Dt(
|
|
150
150
|
/** @type {keyof SVGElementTagNameMap} */
|
|
151
|
-
|
|
151
|
+
n.nodeName
|
|
152
152
|
) : this.e = te(
|
|
153
153
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
154
|
-
|
|
155
|
-
), this.t =
|
|
154
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
155
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
156
156
|
/** @type {HTMLTemplateElement} */
|
|
157
|
-
|
|
158
|
-
), this.c(t)), this.i(
|
|
157
|
+
n.content
|
|
158
|
+
), this.c(t)), this.i(r);
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* @param {string} html
|
|
@@ -169,8 +169,8 @@ class ai {
|
|
|
169
169
|
/**
|
|
170
170
|
* @returns {void} */
|
|
171
171
|
i(t) {
|
|
172
|
-
for (let
|
|
173
|
-
fe(this.t, this.n[
|
|
172
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
173
|
+
fe(this.t, this.n[n], t);
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
176
|
* @param {string} html
|
|
@@ -185,12 +185,12 @@ class ai {
|
|
|
185
185
|
this.n.forEach(ee);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Ft(e) {
|
|
189
189
|
const t = {};
|
|
190
190
|
return e.childNodes.forEach(
|
|
191
191
|
/** @param {Element} node */
|
|
192
|
-
(
|
|
193
|
-
t[
|
|
192
|
+
(n) => {
|
|
193
|
+
t[n.slot || "default"] = !0;
|
|
194
194
|
}
|
|
195
195
|
), t;
|
|
196
196
|
}
|
|
@@ -198,23 +198,26 @@ let J;
|
|
|
198
198
|
function q(e) {
|
|
199
199
|
J = e;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function st() {
|
|
202
202
|
if (!J)
|
|
203
203
|
throw new Error("Function called outside component initialization");
|
|
204
204
|
return J;
|
|
205
205
|
}
|
|
206
206
|
function jt(e) {
|
|
207
|
-
|
|
207
|
+
st().$$.on_mount.push(e);
|
|
208
|
+
}
|
|
209
|
+
function ai(e) {
|
|
210
|
+
st().$$.on_destroy.push(e);
|
|
208
211
|
}
|
|
209
212
|
const D = [], Te = [];
|
|
210
213
|
let G = [];
|
|
211
|
-
const Ge = [],
|
|
214
|
+
const Ge = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
212
215
|
let Se = !1;
|
|
213
216
|
function at() {
|
|
214
|
-
Se || (Se = !0,
|
|
217
|
+
Se || (Se = !0, ot.then(H));
|
|
215
218
|
}
|
|
216
|
-
function
|
|
217
|
-
return at(),
|
|
219
|
+
function ui() {
|
|
220
|
+
return at(), ot;
|
|
218
221
|
}
|
|
219
222
|
function Be(e) {
|
|
220
223
|
G.push(e);
|
|
@@ -237,8 +240,8 @@ function H() {
|
|
|
237
240
|
for (q(null), D.length = 0, $ = 0; Te.length; )
|
|
238
241
|
Te.pop()();
|
|
239
242
|
for (let t = 0; t < G.length; t += 1) {
|
|
240
|
-
const
|
|
241
|
-
pe.has(
|
|
243
|
+
const n = G[t];
|
|
244
|
+
pe.has(n) || (pe.add(n), n());
|
|
242
245
|
}
|
|
243
246
|
G.length = 0;
|
|
244
247
|
} while (D.length);
|
|
@@ -254,61 +257,61 @@ function kt(e) {
|
|
|
254
257
|
}
|
|
255
258
|
}
|
|
256
259
|
function Vt(e) {
|
|
257
|
-
const t = [],
|
|
258
|
-
G.forEach((
|
|
260
|
+
const t = [], n = [];
|
|
261
|
+
G.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), G = t;
|
|
259
262
|
}
|
|
260
263
|
const Xt = /* @__PURE__ */ new Set();
|
|
261
|
-
function
|
|
264
|
+
function ut(e, t) {
|
|
262
265
|
e && e.i && (Xt.delete(e), e.i(t));
|
|
263
266
|
}
|
|
264
|
-
function
|
|
267
|
+
function hi(e) {
|
|
265
268
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
266
269
|
}
|
|
267
|
-
function
|
|
270
|
+
function li(e, t) {
|
|
268
271
|
e.d(1), t.delete(e.key);
|
|
269
272
|
}
|
|
270
|
-
function
|
|
273
|
+
function fi(e, t, n, r, i, s, o, a, l, u, h, m) {
|
|
271
274
|
let f = e.length, b = s.length, y = f;
|
|
272
275
|
const _ = {};
|
|
273
276
|
for (; y--; )
|
|
274
277
|
_[e[y].key] = y;
|
|
275
278
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
276
279
|
for (y = b; y--; ) {
|
|
277
|
-
const c = m(i, s, y), I =
|
|
278
|
-
let L =
|
|
280
|
+
const c = m(i, s, y), I = n(c);
|
|
281
|
+
let L = o.get(I);
|
|
279
282
|
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
|
|
280
283
|
}
|
|
281
284
|
const N = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
282
285
|
function O(c) {
|
|
283
|
-
|
|
286
|
+
ut(c, 1), c.m(a, h), o.set(c.key, c), h = c.first, b--;
|
|
284
287
|
}
|
|
285
288
|
for (; f && b; ) {
|
|
286
|
-
const c = T[b - 1], I = e[f - 1], L = c.key,
|
|
287
|
-
c === I ? (h = c.first, f--, b--) : w.has(
|
|
289
|
+
const c = T[b - 1], I = e[f - 1], L = c.key, ne = I.key;
|
|
290
|
+
c === I ? (h = c.first, f--, b--) : w.has(ne) ? !o.has(L) || N.has(L) ? O(c) : x.has(ne) ? f-- : A.get(L) > A.get(ne) ? (x.add(L), O(c)) : (N.add(ne), f--) : (l(I, o), f--);
|
|
288
291
|
}
|
|
289
292
|
for (; f--; ) {
|
|
290
293
|
const c = e[f];
|
|
291
|
-
w.has(c.key) || l(c,
|
|
294
|
+
w.has(c.key) || l(c, o);
|
|
292
295
|
}
|
|
293
296
|
for (; b; )
|
|
294
297
|
O(T[b - 1]);
|
|
295
298
|
return X(S), T;
|
|
296
299
|
}
|
|
297
|
-
function zt(e, t,
|
|
298
|
-
const { fragment:
|
|
299
|
-
|
|
300
|
+
function zt(e, t, n) {
|
|
301
|
+
const { fragment: r, after_update: i } = e.$$;
|
|
302
|
+
r && r.m(t, n), Be(() => {
|
|
300
303
|
const s = e.$$.on_mount.map(tt).filter(le);
|
|
301
304
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
302
305
|
}), i.forEach(Be);
|
|
303
306
|
}
|
|
304
307
|
function Wt(e, t) {
|
|
305
|
-
const
|
|
306
|
-
|
|
308
|
+
const n = e.$$;
|
|
309
|
+
n.fragment !== null && (Vt(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
307
310
|
}
|
|
308
311
|
function Zt(e, t) {
|
|
309
312
|
e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
310
313
|
}
|
|
311
|
-
function Qt(e, t,
|
|
314
|
+
function Qt(e, t, n, r, i, s, o = null, a = [-1]) {
|
|
312
315
|
const l = J;
|
|
313
316
|
q(e);
|
|
314
317
|
const u = e.$$ = {
|
|
@@ -328,27 +331,27 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
328
331
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
329
332
|
// everything else
|
|
330
333
|
callbacks: De(),
|
|
331
|
-
dirty:
|
|
334
|
+
dirty: a,
|
|
332
335
|
skip_bound: !1,
|
|
333
336
|
root: t.target || l.$$.root
|
|
334
337
|
};
|
|
335
|
-
|
|
338
|
+
o && o(u.root);
|
|
336
339
|
let h = !1;
|
|
337
|
-
if (u.ctx =
|
|
340
|
+
if (u.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
|
|
338
341
|
const y = b.length ? b[0] : f;
|
|
339
342
|
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;
|
|
340
|
-
}) : [], u.update(), h = !0, X(u.before_update), u.fragment =
|
|
343
|
+
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
341
344
|
if (t.hydrate) {
|
|
342
|
-
const m =
|
|
345
|
+
const m = Gt(t.target);
|
|
343
346
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
344
347
|
} else
|
|
345
348
|
u.fragment && u.fragment.c();
|
|
346
|
-
t.intro &&
|
|
349
|
+
t.intro && ut(e.$$.fragment), zt(e, t.target, t.anchor), H();
|
|
347
350
|
}
|
|
348
351
|
q(l);
|
|
349
352
|
}
|
|
350
|
-
let
|
|
351
|
-
typeof HTMLElement == "function" && (
|
|
353
|
+
let ht;
|
|
354
|
+
typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
352
355
|
/** The Svelte component constructor */
|
|
353
356
|
$$ctor;
|
|
354
357
|
/** Slots */
|
|
@@ -367,20 +370,20 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
367
370
|
$$l = {};
|
|
368
371
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
369
372
|
$$l_u = /* @__PURE__ */ new Map();
|
|
370
|
-
constructor(e, t,
|
|
371
|
-
super(), this.$$ctor = e, this.$$s = t,
|
|
373
|
+
constructor(e, t, n) {
|
|
374
|
+
super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
|
|
372
375
|
}
|
|
373
|
-
addEventListener(e, t,
|
|
376
|
+
addEventListener(e, t, n) {
|
|
374
377
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
375
|
-
const
|
|
376
|
-
this.$$l_u.set(t,
|
|
378
|
+
const r = this.$$c.$on(e, t);
|
|
379
|
+
this.$$l_u.set(t, r);
|
|
377
380
|
}
|
|
378
|
-
super.addEventListener(e, t,
|
|
381
|
+
super.addEventListener(e, t, n);
|
|
379
382
|
}
|
|
380
|
-
removeEventListener(e, t,
|
|
381
|
-
if (super.removeEventListener(e, t,
|
|
382
|
-
const
|
|
383
|
-
|
|
383
|
+
removeEventListener(e, t, n) {
|
|
384
|
+
if (super.removeEventListener(e, t, n), this.$$c) {
|
|
385
|
+
const r = this.$$l_u.get(t);
|
|
386
|
+
r && (r(), this.$$l_u.delete(t));
|
|
384
387
|
}
|
|
385
388
|
}
|
|
386
389
|
async connectedCallback() {
|
|
@@ -407,9 +410,9 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
407
410
|
};
|
|
408
411
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
409
412
|
return;
|
|
410
|
-
const t = {},
|
|
413
|
+
const t = {}, n = Ft(this);
|
|
411
414
|
for (const i of this.$$s)
|
|
412
|
-
i in
|
|
415
|
+
i in n && (t[i] = [e(i)]);
|
|
413
416
|
for (const i of this.attributes) {
|
|
414
417
|
const s = this.$$g_p(i.name);
|
|
415
418
|
s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
|
|
@@ -426,7 +429,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
426
429
|
}
|
|
427
430
|
}
|
|
428
431
|
});
|
|
429
|
-
const
|
|
432
|
+
const r = () => {
|
|
430
433
|
this.$$r = !0;
|
|
431
434
|
for (const i in this.$$p_d)
|
|
432
435
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
@@ -440,19 +443,19 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
440
443
|
}
|
|
441
444
|
this.$$r = !1;
|
|
442
445
|
};
|
|
443
|
-
this.$$c.$$.after_update.push(
|
|
446
|
+
this.$$c.$$.after_update.push(r), r();
|
|
444
447
|
for (const i in this.$$l)
|
|
445
448
|
for (const s of this.$$l[i]) {
|
|
446
|
-
const
|
|
447
|
-
this.$$l_u.set(s,
|
|
449
|
+
const o = this.$$c.$on(i, s);
|
|
450
|
+
this.$$l_u.set(s, o);
|
|
448
451
|
}
|
|
449
452
|
this.$$l = {};
|
|
450
453
|
}
|
|
451
454
|
}
|
|
452
455
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
453
456
|
// and setting attributes through setAttribute etc, this is helpful
|
|
454
|
-
attributeChangedCallback(e, t,
|
|
455
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e,
|
|
457
|
+
attributeChangedCallback(e, t, n) {
|
|
458
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
456
459
|
}
|
|
457
460
|
disconnectedCallback() {
|
|
458
461
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -465,11 +468,11 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
465
468
|
) || e;
|
|
466
469
|
}
|
|
467
470
|
});
|
|
468
|
-
function se(e, t,
|
|
469
|
-
const i =
|
|
470
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
471
|
+
function se(e, t, n, r) {
|
|
472
|
+
const i = n[e]?.type;
|
|
473
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
471
474
|
return t;
|
|
472
|
-
if (
|
|
475
|
+
if (r === "toAttribute")
|
|
473
476
|
switch (i) {
|
|
474
477
|
case "Object":
|
|
475
478
|
case "Array":
|
|
@@ -494,34 +497,34 @@ function se(e, t, r, n) {
|
|
|
494
497
|
return t;
|
|
495
498
|
}
|
|
496
499
|
}
|
|
497
|
-
function qt(e, t,
|
|
498
|
-
let
|
|
500
|
+
function qt(e, t, n, r, i, s) {
|
|
501
|
+
let o = class extends ht {
|
|
499
502
|
constructor() {
|
|
500
|
-
super(e,
|
|
503
|
+
super(e, n, i), this.$$p_d = t;
|
|
501
504
|
}
|
|
502
505
|
static get observedAttributes() {
|
|
503
506
|
return Object.keys(t).map(
|
|
504
|
-
(
|
|
507
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
505
508
|
);
|
|
506
509
|
}
|
|
507
510
|
};
|
|
508
|
-
return Object.keys(t).forEach((
|
|
509
|
-
Object.defineProperty(
|
|
511
|
+
return Object.keys(t).forEach((a) => {
|
|
512
|
+
Object.defineProperty(o.prototype, a, {
|
|
510
513
|
get() {
|
|
511
|
-
return this.$$c &&
|
|
514
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
512
515
|
},
|
|
513
516
|
set(l) {
|
|
514
|
-
l = se(
|
|
517
|
+
l = se(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
515
518
|
}
|
|
516
519
|
});
|
|
517
|
-
}),
|
|
518
|
-
Object.defineProperty(
|
|
520
|
+
}), r.forEach((a) => {
|
|
521
|
+
Object.defineProperty(o.prototype, a, {
|
|
519
522
|
get() {
|
|
520
|
-
return this.$$c?.[
|
|
523
|
+
return this.$$c?.[a];
|
|
521
524
|
}
|
|
522
525
|
});
|
|
523
526
|
}), e.element = /** @type {any} */
|
|
524
|
-
|
|
527
|
+
o, o;
|
|
525
528
|
}
|
|
526
529
|
class Jt {
|
|
527
530
|
/**
|
|
@@ -550,13 +553,13 @@ class Jt {
|
|
|
550
553
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
551
554
|
* @returns {() => void}
|
|
552
555
|
*/
|
|
553
|
-
$on(t,
|
|
554
|
-
if (!le(
|
|
556
|
+
$on(t, n) {
|
|
557
|
+
if (!le(n))
|
|
555
558
|
return P;
|
|
556
|
-
const
|
|
557
|
-
return
|
|
558
|
-
const i =
|
|
559
|
-
i !== -1 &&
|
|
559
|
+
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
560
|
+
return r.push(n), () => {
|
|
561
|
+
const i = r.indexOf(n);
|
|
562
|
+
i !== -1 && r.splice(i, 1);
|
|
560
563
|
};
|
|
561
564
|
}
|
|
562
565
|
/**
|
|
@@ -564,7 +567,7 @@ class Jt {
|
|
|
564
567
|
* @returns {void}
|
|
565
568
|
*/
|
|
566
569
|
$set(t) {
|
|
567
|
-
this.$$set && !
|
|
570
|
+
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
568
571
|
}
|
|
569
572
|
}
|
|
570
573
|
const Yt = "4";
|
|
@@ -584,92 +587,92 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
584
587
|
PERFORMANCE OF THIS SOFTWARE.
|
|
585
588
|
***************************************************************************** */
|
|
586
589
|
var Ae = function(e, t) {
|
|
587
|
-
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
588
|
-
|
|
589
|
-
} || function(
|
|
590
|
-
for (var i in
|
|
591
|
-
Object.prototype.hasOwnProperty.call(
|
|
590
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
591
|
+
n.__proto__ = r;
|
|
592
|
+
} || function(n, r) {
|
|
593
|
+
for (var i in r)
|
|
594
|
+
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
592
595
|
}, Ae(e, t);
|
|
593
596
|
};
|
|
594
597
|
function ce(e, t) {
|
|
595
598
|
if (typeof t != "function" && t !== null)
|
|
596
599
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
597
600
|
Ae(e, t);
|
|
598
|
-
function
|
|
601
|
+
function n() {
|
|
599
602
|
this.constructor = e;
|
|
600
603
|
}
|
|
601
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
604
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
602
605
|
}
|
|
603
606
|
var E = function() {
|
|
604
607
|
return E = Object.assign || function(t) {
|
|
605
|
-
for (var
|
|
606
|
-
|
|
607
|
-
for (var s in
|
|
608
|
-
Object.prototype.hasOwnProperty.call(
|
|
608
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
609
|
+
n = arguments[r];
|
|
610
|
+
for (var s in n)
|
|
611
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
609
612
|
}
|
|
610
613
|
return t;
|
|
611
614
|
}, E.apply(this, arguments);
|
|
612
615
|
};
|
|
613
616
|
function Kt(e, t) {
|
|
614
|
-
var
|
|
615
|
-
for (var
|
|
616
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
617
|
+
var n = {};
|
|
618
|
+
for (var r in e)
|
|
619
|
+
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
617
620
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
618
|
-
for (var i = 0,
|
|
619
|
-
t.indexOf(
|
|
620
|
-
return
|
|
621
|
+
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
622
|
+
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
623
|
+
return n;
|
|
621
624
|
}
|
|
622
|
-
function
|
|
623
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
624
|
-
if (
|
|
625
|
-
return
|
|
625
|
+
function ci(e) {
|
|
626
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
627
|
+
if (n)
|
|
628
|
+
return n.call(e);
|
|
626
629
|
if (e && typeof e.length == "number")
|
|
627
630
|
return {
|
|
628
631
|
next: function() {
|
|
629
|
-
return e &&
|
|
632
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
630
633
|
}
|
|
631
634
|
};
|
|
632
635
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
633
636
|
}
|
|
634
|
-
function
|
|
635
|
-
var
|
|
636
|
-
if (!
|
|
637
|
+
function mi(e, t) {
|
|
638
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
639
|
+
if (!n)
|
|
637
640
|
return e;
|
|
638
|
-
var
|
|
641
|
+
var r = n.call(e), i, s = [], o;
|
|
639
642
|
try {
|
|
640
|
-
for (; (t === void 0 || t-- > 0) && !(i =
|
|
643
|
+
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
641
644
|
s.push(i.value);
|
|
642
|
-
} catch (
|
|
643
|
-
|
|
645
|
+
} catch (a) {
|
|
646
|
+
o = { error: a };
|
|
644
647
|
} finally {
|
|
645
648
|
try {
|
|
646
|
-
i && !i.done && (
|
|
649
|
+
i && !i.done && (n = r.return) && n.call(r);
|
|
647
650
|
} finally {
|
|
648
|
-
if (
|
|
649
|
-
throw
|
|
651
|
+
if (o)
|
|
652
|
+
throw o.error;
|
|
650
653
|
}
|
|
651
654
|
}
|
|
652
655
|
return s;
|
|
653
656
|
}
|
|
654
|
-
function ye(e, t,
|
|
655
|
-
if (
|
|
656
|
-
for (var
|
|
657
|
-
(s || !(
|
|
657
|
+
function ye(e, t, n) {
|
|
658
|
+
if (n || arguments.length === 2)
|
|
659
|
+
for (var r = 0, i = t.length, s; r < i; r++)
|
|
660
|
+
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
658
661
|
return e.concat(s || t);
|
|
659
662
|
}
|
|
660
663
|
const U = [];
|
|
661
|
-
function
|
|
664
|
+
function en(e, t) {
|
|
662
665
|
return {
|
|
663
666
|
subscribe: me(e, t).subscribe
|
|
664
667
|
};
|
|
665
668
|
}
|
|
666
669
|
function me(e, t = P) {
|
|
667
|
-
let
|
|
668
|
-
const
|
|
669
|
-
function i(
|
|
670
|
-
if (
|
|
670
|
+
let n;
|
|
671
|
+
const r = /* @__PURE__ */ new Set();
|
|
672
|
+
function i(a) {
|
|
673
|
+
if (nt(e, a) && (e = a, n)) {
|
|
671
674
|
const l = !U.length;
|
|
672
|
-
for (const u of
|
|
675
|
+
for (const u of r)
|
|
673
676
|
u[1](), U.push(u, e);
|
|
674
677
|
if (l) {
|
|
675
678
|
for (let u = 0; u < U.length; u += 2)
|
|
@@ -678,23 +681,23 @@ function me(e, t = P) {
|
|
|
678
681
|
}
|
|
679
682
|
}
|
|
680
683
|
}
|
|
681
|
-
function s(
|
|
682
|
-
i(
|
|
684
|
+
function s(a) {
|
|
685
|
+
i(a(e));
|
|
683
686
|
}
|
|
684
|
-
function a
|
|
685
|
-
const u = [
|
|
686
|
-
return
|
|
687
|
-
|
|
687
|
+
function o(a, l = P) {
|
|
688
|
+
const u = [a, l];
|
|
689
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || P), a(e), () => {
|
|
690
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
688
691
|
};
|
|
689
692
|
}
|
|
690
|
-
return { set: i, update: s, subscribe:
|
|
693
|
+
return { set: i, update: s, subscribe: o };
|
|
691
694
|
}
|
|
692
|
-
function z(e, t,
|
|
693
|
-
const
|
|
695
|
+
function z(e, t, n) {
|
|
696
|
+
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
694
697
|
if (!i.every(Boolean))
|
|
695
698
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
696
699
|
const s = t.length < 2;
|
|
697
|
-
return
|
|
700
|
+
return en(n, (o, a) => {
|
|
698
701
|
let l = !1;
|
|
699
702
|
const u = [];
|
|
700
703
|
let h = 0, m = P;
|
|
@@ -702,10 +705,10 @@ function z(e, t, r) {
|
|
|
702
705
|
if (h)
|
|
703
706
|
return;
|
|
704
707
|
m();
|
|
705
|
-
const y = t(
|
|
706
|
-
s ?
|
|
708
|
+
const y = t(r ? u[0] : u, o, a);
|
|
709
|
+
s ? o(y) : m = le(y) ? y : P;
|
|
707
710
|
}, b = i.map(
|
|
708
|
-
(y, _) =>
|
|
711
|
+
(y, _) => rt(
|
|
709
712
|
y,
|
|
710
713
|
(T) => {
|
|
711
714
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -720,111 +723,111 @@ function z(e, t, r) {
|
|
|
720
723
|
};
|
|
721
724
|
});
|
|
722
725
|
}
|
|
723
|
-
function
|
|
726
|
+
function tn(e) {
|
|
724
727
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
725
728
|
}
|
|
726
|
-
var
|
|
727
|
-
return
|
|
729
|
+
var nn = function(t) {
|
|
730
|
+
return rn(t) && !sn(t);
|
|
728
731
|
};
|
|
729
|
-
function
|
|
732
|
+
function rn(e) {
|
|
730
733
|
return !!e && typeof e == "object";
|
|
731
734
|
}
|
|
732
|
-
function
|
|
735
|
+
function sn(e) {
|
|
733
736
|
var t = Object.prototype.toString.call(e);
|
|
734
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
737
|
+
return t === "[object RegExp]" || t === "[object Date]" || un(e);
|
|
735
738
|
}
|
|
736
|
-
var
|
|
737
|
-
function
|
|
738
|
-
return e.$$typeof ===
|
|
739
|
+
var on = typeof Symbol == "function" && Symbol.for, an = on ? Symbol.for("react.element") : 60103;
|
|
740
|
+
function un(e) {
|
|
741
|
+
return e.$$typeof === an;
|
|
739
742
|
}
|
|
740
|
-
function
|
|
743
|
+
function hn(e) {
|
|
741
744
|
return Array.isArray(e) ? [] : {};
|
|
742
745
|
}
|
|
743
746
|
function Y(e, t) {
|
|
744
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
747
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(hn(e), e, t) : e;
|
|
745
748
|
}
|
|
746
|
-
function
|
|
747
|
-
return e.concat(t).map(function(
|
|
748
|
-
return Y(
|
|
749
|
+
function ln(e, t, n) {
|
|
750
|
+
return e.concat(t).map(function(r) {
|
|
751
|
+
return Y(r, n);
|
|
749
752
|
});
|
|
750
753
|
}
|
|
751
|
-
function
|
|
754
|
+
function fn(e, t) {
|
|
752
755
|
if (!t.customMerge)
|
|
753
756
|
return F;
|
|
754
|
-
var
|
|
755
|
-
return typeof
|
|
757
|
+
var n = t.customMerge(e);
|
|
758
|
+
return typeof n == "function" ? n : F;
|
|
756
759
|
}
|
|
757
|
-
function
|
|
760
|
+
function cn(e) {
|
|
758
761
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
759
762
|
return Object.propertyIsEnumerable.call(e, t);
|
|
760
763
|
}) : [];
|
|
761
764
|
}
|
|
762
765
|
function Fe(e) {
|
|
763
|
-
return Object.keys(e).concat(
|
|
766
|
+
return Object.keys(e).concat(cn(e));
|
|
764
767
|
}
|
|
765
|
-
function
|
|
768
|
+
function lt(e, t) {
|
|
766
769
|
try {
|
|
767
770
|
return t in e;
|
|
768
771
|
} catch {
|
|
769
772
|
return !1;
|
|
770
773
|
}
|
|
771
774
|
}
|
|
772
|
-
function
|
|
773
|
-
return
|
|
775
|
+
function mn(e, t) {
|
|
776
|
+
return lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
774
777
|
}
|
|
775
|
-
function
|
|
776
|
-
var
|
|
777
|
-
return
|
|
778
|
-
|
|
778
|
+
function gn(e, t, n) {
|
|
779
|
+
var r = {};
|
|
780
|
+
return n.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
781
|
+
r[i] = Y(e[i], n);
|
|
779
782
|
}), Fe(t).forEach(function(i) {
|
|
780
|
-
|
|
781
|
-
}),
|
|
783
|
+
mn(e, i) || (lt(e, i) && n.isMergeableObject(t[i]) ? r[i] = fn(i, n)(e[i], t[i], n) : r[i] = Y(t[i], n));
|
|
784
|
+
}), r;
|
|
782
785
|
}
|
|
783
|
-
function F(e, t,
|
|
784
|
-
|
|
785
|
-
var
|
|
786
|
-
return s ?
|
|
786
|
+
function F(e, t, n) {
|
|
787
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || ln, n.isMergeableObject = n.isMergeableObject || nn, n.cloneUnlessOtherwiseSpecified = Y;
|
|
788
|
+
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
789
|
+
return s ? r ? n.arrayMerge(e, t, n) : gn(e, t, n) : Y(t, n);
|
|
787
790
|
}
|
|
788
|
-
F.all = function(t,
|
|
791
|
+
F.all = function(t, n) {
|
|
789
792
|
if (!Array.isArray(t))
|
|
790
793
|
throw new Error("first argument should be an array");
|
|
791
|
-
return t.reduce(function(
|
|
792
|
-
return F(
|
|
794
|
+
return t.reduce(function(r, i) {
|
|
795
|
+
return F(r, i, n);
|
|
793
796
|
}, {});
|
|
794
797
|
};
|
|
795
|
-
var
|
|
796
|
-
const
|
|
798
|
+
var dn = F, bn = dn;
|
|
799
|
+
const pn = /* @__PURE__ */ tn(bn);
|
|
797
800
|
function Ee(e, t) {
|
|
798
|
-
var
|
|
801
|
+
var n = t && t.cache ? t.cache : Tn, r = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
|
|
799
802
|
return i(e, {
|
|
800
|
-
cache:
|
|
801
|
-
serializer:
|
|
803
|
+
cache: n,
|
|
804
|
+
serializer: r
|
|
802
805
|
});
|
|
803
806
|
}
|
|
804
|
-
function
|
|
807
|
+
function yn(e) {
|
|
805
808
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
806
809
|
}
|
|
807
|
-
function
|
|
808
|
-
var i =
|
|
809
|
-
return typeof s > "u" && (s = e.call(this,
|
|
810
|
+
function En(e, t, n, r) {
|
|
811
|
+
var i = yn(r) ? r : n(r), s = t.get(i);
|
|
812
|
+
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
810
813
|
}
|
|
811
|
-
function
|
|
812
|
-
var
|
|
813
|
-
return typeof s > "u" && (s = e.apply(this,
|
|
814
|
+
function ft(e, t, n) {
|
|
815
|
+
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
816
|
+
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
814
817
|
}
|
|
815
|
-
function
|
|
816
|
-
return
|
|
818
|
+
function ct(e, t, n, r, i) {
|
|
819
|
+
return n.bind(t, e, r, i);
|
|
817
820
|
}
|
|
818
|
-
function
|
|
819
|
-
var
|
|
820
|
-
return
|
|
821
|
+
function vn(e, t) {
|
|
822
|
+
var n = e.length === 1 ? En : ft;
|
|
823
|
+
return ct(e, this, n, t.cache.create(), t.serializer);
|
|
821
824
|
}
|
|
822
|
-
function
|
|
823
|
-
return
|
|
825
|
+
function _n(e, t) {
|
|
826
|
+
return ct(e, this, ft, t.cache.create(), t.serializer);
|
|
824
827
|
}
|
|
825
|
-
var
|
|
828
|
+
var xn = function() {
|
|
826
829
|
return JSON.stringify(arguments);
|
|
827
|
-
},
|
|
830
|
+
}, Hn = (
|
|
828
831
|
/** @class */
|
|
829
832
|
function() {
|
|
830
833
|
function e() {
|
|
@@ -832,16 +835,16 @@ var _r = function() {
|
|
|
832
835
|
}
|
|
833
836
|
return e.prototype.get = function(t) {
|
|
834
837
|
return this.cache[t];
|
|
835
|
-
}, e.prototype.set = function(t,
|
|
836
|
-
this.cache[t] =
|
|
838
|
+
}, e.prototype.set = function(t, n) {
|
|
839
|
+
this.cache[t] = n;
|
|
837
840
|
}, e;
|
|
838
841
|
}()
|
|
839
|
-
),
|
|
842
|
+
), Tn = {
|
|
840
843
|
create: function() {
|
|
841
|
-
return new
|
|
844
|
+
return new Hn();
|
|
842
845
|
}
|
|
843
846
|
}, ve = {
|
|
844
|
-
variadic:
|
|
847
|
+
variadic: _n
|
|
845
848
|
}, d;
|
|
846
849
|
(function(e) {
|
|
847
850
|
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";
|
|
@@ -857,47 +860,47 @@ var j;
|
|
|
857
860
|
function je(e) {
|
|
858
861
|
return e.type === v.literal;
|
|
859
862
|
}
|
|
860
|
-
function
|
|
863
|
+
function Sn(e) {
|
|
861
864
|
return e.type === v.argument;
|
|
862
865
|
}
|
|
863
|
-
function
|
|
866
|
+
function mt(e) {
|
|
864
867
|
return e.type === v.number;
|
|
865
868
|
}
|
|
866
|
-
function
|
|
869
|
+
function gt(e) {
|
|
867
870
|
return e.type === v.date;
|
|
868
871
|
}
|
|
869
|
-
function
|
|
872
|
+
function dt(e) {
|
|
870
873
|
return e.type === v.time;
|
|
871
874
|
}
|
|
872
|
-
function
|
|
875
|
+
function bt(e) {
|
|
873
876
|
return e.type === v.select;
|
|
874
877
|
}
|
|
875
|
-
function
|
|
878
|
+
function pt(e) {
|
|
876
879
|
return e.type === v.plural;
|
|
877
880
|
}
|
|
878
|
-
function
|
|
881
|
+
function Bn(e) {
|
|
879
882
|
return e.type === v.pound;
|
|
880
883
|
}
|
|
881
|
-
function
|
|
884
|
+
function yt(e) {
|
|
882
885
|
return e.type === v.tag;
|
|
883
886
|
}
|
|
884
|
-
function
|
|
887
|
+
function Et(e) {
|
|
885
888
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
886
889
|
}
|
|
887
890
|
function we(e) {
|
|
888
891
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
889
892
|
}
|
|
890
|
-
var
|
|
891
|
-
function
|
|
893
|
+
var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
|
|
894
|
+
function wn(e) {
|
|
892
895
|
var t = {};
|
|
893
|
-
return e.replace(
|
|
894
|
-
var
|
|
895
|
-
switch (
|
|
896
|
+
return e.replace(An, function(n) {
|
|
897
|
+
var r = n.length;
|
|
898
|
+
switch (n[0]) {
|
|
896
899
|
case "G":
|
|
897
|
-
t.era =
|
|
900
|
+
t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
898
901
|
break;
|
|
899
902
|
case "y":
|
|
900
|
-
t.year =
|
|
903
|
+
t.year = r === 2 ? "2-digit" : "numeric";
|
|
901
904
|
break;
|
|
902
905
|
case "Y":
|
|
903
906
|
case "u":
|
|
@@ -909,30 +912,30 @@ function Ar(e) {
|
|
|
909
912
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
910
913
|
case "M":
|
|
911
914
|
case "L":
|
|
912
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
915
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
|
|
913
916
|
break;
|
|
914
917
|
case "w":
|
|
915
918
|
case "W":
|
|
916
919
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
917
920
|
case "d":
|
|
918
|
-
t.day = ["numeric", "2-digit"][
|
|
921
|
+
t.day = ["numeric", "2-digit"][r - 1];
|
|
919
922
|
break;
|
|
920
923
|
case "D":
|
|
921
924
|
case "F":
|
|
922
925
|
case "g":
|
|
923
926
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
924
927
|
case "E":
|
|
925
|
-
t.weekday =
|
|
928
|
+
t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
926
929
|
break;
|
|
927
930
|
case "e":
|
|
928
|
-
if (
|
|
931
|
+
if (r < 4)
|
|
929
932
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
930
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
933
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
931
934
|
break;
|
|
932
935
|
case "c":
|
|
933
|
-
if (
|
|
936
|
+
if (r < 4)
|
|
934
937
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
935
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
938
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
936
939
|
break;
|
|
937
940
|
case "a":
|
|
938
941
|
t.hour12 = !0;
|
|
@@ -941,32 +944,32 @@ function Ar(e) {
|
|
|
941
944
|
case "B":
|
|
942
945
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
943
946
|
case "h":
|
|
944
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
947
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
|
|
945
948
|
break;
|
|
946
949
|
case "H":
|
|
947
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
950
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
|
|
948
951
|
break;
|
|
949
952
|
case "K":
|
|
950
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
953
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
|
|
951
954
|
break;
|
|
952
955
|
case "k":
|
|
953
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
956
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
|
|
954
957
|
break;
|
|
955
958
|
case "j":
|
|
956
959
|
case "J":
|
|
957
960
|
case "C":
|
|
958
961
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
959
962
|
case "m":
|
|
960
|
-
t.minute = ["numeric", "2-digit"][
|
|
963
|
+
t.minute = ["numeric", "2-digit"][r - 1];
|
|
961
964
|
break;
|
|
962
965
|
case "s":
|
|
963
|
-
t.second = ["numeric", "2-digit"][
|
|
966
|
+
t.second = ["numeric", "2-digit"][r - 1];
|
|
964
967
|
break;
|
|
965
968
|
case "S":
|
|
966
969
|
case "A":
|
|
967
970
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
968
971
|
case "z":
|
|
969
|
-
t.timeZoneName =
|
|
972
|
+
t.timeZoneName = r < 4 ? "short" : "long";
|
|
970
973
|
break;
|
|
971
974
|
case "Z":
|
|
972
975
|
case "O":
|
|
@@ -979,36 +982,36 @@ function Ar(e) {
|
|
|
979
982
|
return "";
|
|
980
983
|
}), t;
|
|
981
984
|
}
|
|
982
|
-
var
|
|
983
|
-
function
|
|
985
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
986
|
+
function Nn(e) {
|
|
984
987
|
if (e.length === 0)
|
|
985
988
|
throw new Error("Number skeleton cannot be empty");
|
|
986
|
-
for (var t = e.split(
|
|
989
|
+
for (var t = e.split(Pn).filter(function(f) {
|
|
987
990
|
return f.length > 0;
|
|
988
|
-
}),
|
|
989
|
-
var s = i[
|
|
990
|
-
if (
|
|
991
|
+
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
992
|
+
var s = i[r], o = s.split("/");
|
|
993
|
+
if (o.length === 0)
|
|
991
994
|
throw new Error("Invalid number skeleton");
|
|
992
|
-
for (var
|
|
995
|
+
for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
993
996
|
var m = h[u];
|
|
994
997
|
if (m.length === 0)
|
|
995
998
|
throw new Error("Invalid number skeleton");
|
|
996
999
|
}
|
|
997
|
-
|
|
1000
|
+
n.push({ stem: a, options: l });
|
|
998
1001
|
}
|
|
999
|
-
return
|
|
1002
|
+
return n;
|
|
1000
1003
|
}
|
|
1001
|
-
function
|
|
1004
|
+
function On(e) {
|
|
1002
1005
|
return e.replace(/^(.*?)-/, "");
|
|
1003
1006
|
}
|
|
1004
|
-
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1007
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
|
|
1005
1008
|
function Ve(e) {
|
|
1006
1009
|
var t = {};
|
|
1007
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1008
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1010
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_t, function(n, r, i) {
|
|
1011
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1009
1012
|
}), t;
|
|
1010
1013
|
}
|
|
1011
|
-
function
|
|
1014
|
+
function Ht(e) {
|
|
1012
1015
|
switch (e) {
|
|
1013
1016
|
case "sign-auto":
|
|
1014
1017
|
return {
|
|
@@ -1048,27 +1051,27 @@ function xt(e) {
|
|
|
1048
1051
|
};
|
|
1049
1052
|
}
|
|
1050
1053
|
}
|
|
1051
|
-
function
|
|
1054
|
+
function Ln(e) {
|
|
1052
1055
|
var t;
|
|
1053
1056
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1054
1057
|
notation: "engineering"
|
|
1055
1058
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1056
1059
|
notation: "scientific"
|
|
1057
1060
|
}, e = e.slice(1)), t) {
|
|
1058
|
-
var
|
|
1059
|
-
if (
|
|
1061
|
+
var n = e.slice(0, 2);
|
|
1062
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
|
|
1060
1063
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1061
1064
|
t.minimumIntegerDigits = e.length;
|
|
1062
1065
|
}
|
|
1063
1066
|
return t;
|
|
1064
1067
|
}
|
|
1065
1068
|
function Xe(e) {
|
|
1066
|
-
var t = {},
|
|
1067
|
-
return
|
|
1069
|
+
var t = {}, n = Ht(e);
|
|
1070
|
+
return n || t;
|
|
1068
1071
|
}
|
|
1069
|
-
function
|
|
1070
|
-
for (var t = {},
|
|
1071
|
-
var i = n
|
|
1072
|
+
function Cn(e) {
|
|
1073
|
+
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1074
|
+
var i = r[n];
|
|
1072
1075
|
switch (i.stem) {
|
|
1073
1076
|
case "percent":
|
|
1074
1077
|
case "%":
|
|
@@ -1090,7 +1093,7 @@ function Lr(e) {
|
|
|
1090
1093
|
continue;
|
|
1091
1094
|
case "measure-unit":
|
|
1092
1095
|
case "unit":
|
|
1093
|
-
t.style = "unit", t.unit =
|
|
1096
|
+
t.style = "unit", t.unit = On(i.options[0]);
|
|
1094
1097
|
continue;
|
|
1095
1098
|
case "compact-short":
|
|
1096
1099
|
case "K":
|
|
@@ -1152,7 +1155,7 @@ function Lr(e) {
|
|
|
1152
1155
|
case "integer-width":
|
|
1153
1156
|
if (i.options.length > 1)
|
|
1154
1157
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1155
|
-
i.options[0].replace(
|
|
1158
|
+
i.options[0].replace(In, function(l, u, h, m, f, b) {
|
|
1156
1159
|
if (u)
|
|
1157
1160
|
t.minimumIntegerDigits = h.length;
|
|
1158
1161
|
else {
|
|
@@ -1165,7 +1168,7 @@ function Lr(e) {
|
|
|
1165
1168
|
});
|
|
1166
1169
|
continue;
|
|
1167
1170
|
}
|
|
1168
|
-
if (
|
|
1171
|
+
if (xt.test(i.stem)) {
|
|
1169
1172
|
t.minimumIntegerDigits = i.stem.length;
|
|
1170
1173
|
continue;
|
|
1171
1174
|
}
|
|
@@ -1179,14 +1182,14 @@ function Lr(e) {
|
|
|
1179
1182
|
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
1180
1183
|
continue;
|
|
1181
1184
|
}
|
|
1182
|
-
if (
|
|
1185
|
+
if (_t.test(i.stem)) {
|
|
1183
1186
|
t = E(E({}, t), Ve(i.stem));
|
|
1184
1187
|
continue;
|
|
1185
1188
|
}
|
|
1186
|
-
var
|
|
1187
|
-
a && (t = E(E({}, t), a));
|
|
1188
|
-
var o = Ir(i.stem);
|
|
1189
|
+
var o = Ht(i.stem);
|
|
1189
1190
|
o && (t = E(E({}, t), o));
|
|
1191
|
+
var a = Ln(i.stem);
|
|
1192
|
+
a && (t = E(E({}, t), a));
|
|
1190
1193
|
}
|
|
1191
1194
|
return t;
|
|
1192
1195
|
}
|
|
@@ -2605,23 +2608,23 @@ var ie = {
|
|
|
2605
2608
|
"h"
|
|
2606
2609
|
]
|
|
2607
2610
|
};
|
|
2608
|
-
function
|
|
2609
|
-
for (var
|
|
2610
|
-
var i = e.charAt(
|
|
2611
|
+
function Mn(e, t) {
|
|
2612
|
+
for (var n = "", r = 0; r < e.length; r++) {
|
|
2613
|
+
var i = e.charAt(r);
|
|
2611
2614
|
if (i === "j") {
|
|
2612
|
-
for (var s = 0;
|
|
2613
|
-
s++,
|
|
2614
|
-
var
|
|
2615
|
-
for ((u == "H" || u == "k") && (
|
|
2616
|
-
|
|
2617
|
-
for (;
|
|
2618
|
-
|
|
2615
|
+
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2616
|
+
s++, r++;
|
|
2617
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rn(t);
|
|
2618
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2619
|
+
n += l;
|
|
2620
|
+
for (; o-- > 0; )
|
|
2621
|
+
n = u + n;
|
|
2619
2622
|
} else
|
|
2620
|
-
i === "J" ?
|
|
2623
|
+
i === "J" ? n += "H" : n += i;
|
|
2621
2624
|
}
|
|
2622
|
-
return
|
|
2625
|
+
return n;
|
|
2623
2626
|
}
|
|
2624
|
-
function
|
|
2627
|
+
function Rn(e) {
|
|
2625
2628
|
var t = e.hourCycle;
|
|
2626
2629
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2627
2630
|
e.hourCycles && // @ts-ignore
|
|
@@ -2638,73 +2641,73 @@ function Mr(e) {
|
|
|
2638
2641
|
default:
|
|
2639
2642
|
throw new Error("Invalid hourCycle");
|
|
2640
2643
|
}
|
|
2641
|
-
var
|
|
2642
|
-
|
|
2643
|
-
var i = ie[
|
|
2644
|
+
var n = e.language, r;
|
|
2645
|
+
n !== "root" && (r = e.maximize().region);
|
|
2646
|
+
var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
|
|
2644
2647
|
return i[0];
|
|
2645
2648
|
}
|
|
2646
|
-
var _e,
|
|
2649
|
+
var _e, $n = new RegExp("^".concat(vt.source, "*")), Un = new RegExp("".concat(vt.source, "*$"));
|
|
2647
2650
|
function p(e, t) {
|
|
2648
2651
|
return { start: e, end: t };
|
|
2649
2652
|
}
|
|
2650
|
-
var
|
|
2653
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
|
|
2651
2654
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2652
2655
|
}, Pe = !0;
|
|
2653
2656
|
try {
|
|
2654
|
-
var
|
|
2655
|
-
Pe = ((_e =
|
|
2657
|
+
var Wn = St("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2658
|
+
Pe = ((_e = Wn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2656
2659
|
} catch {
|
|
2657
2660
|
Pe = !1;
|
|
2658
2661
|
}
|
|
2659
|
-
var ze =
|
|
2662
|
+
var ze = Dn ? (
|
|
2660
2663
|
// Native
|
|
2661
|
-
function(t,
|
|
2662
|
-
return t.startsWith(
|
|
2664
|
+
function(t, n, r) {
|
|
2665
|
+
return t.startsWith(n, r);
|
|
2663
2666
|
}
|
|
2664
2667
|
) : (
|
|
2665
2668
|
// For IE11
|
|
2666
|
-
function(t,
|
|
2667
|
-
return t.slice(
|
|
2669
|
+
function(t, n, r) {
|
|
2670
|
+
return t.slice(r, r + n.length) === n;
|
|
2668
2671
|
}
|
|
2669
|
-
), Ne =
|
|
2672
|
+
), Ne = Gn ? String.fromCodePoint : (
|
|
2670
2673
|
// IE11
|
|
2671
2674
|
function() {
|
|
2672
|
-
for (var t = [],
|
|
2673
|
-
t[
|
|
2674
|
-
for (var
|
|
2675
|
-
if (
|
|
2676
|
-
throw RangeError(
|
|
2677
|
-
|
|
2675
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2676
|
+
t[n] = arguments[n];
|
|
2677
|
+
for (var r = "", i = t.length, s = 0, o; i > s; ) {
|
|
2678
|
+
if (o = t[s++], o > 1114111)
|
|
2679
|
+
throw RangeError(o + " is not a valid code point");
|
|
2680
|
+
r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2678
2681
|
}
|
|
2679
|
-
return
|
|
2682
|
+
return r;
|
|
2680
2683
|
}
|
|
2681
2684
|
), We = (
|
|
2682
2685
|
// native
|
|
2683
|
-
|
|
2686
|
+
Fn ? Object.fromEntries : (
|
|
2684
2687
|
// Ponyfill
|
|
2685
2688
|
function(t) {
|
|
2686
|
-
for (var
|
|
2687
|
-
var s = i[
|
|
2688
|
-
|
|
2689
|
+
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2690
|
+
var s = i[r], o = s[0], a = s[1];
|
|
2691
|
+
n[o] = a;
|
|
2689
2692
|
}
|
|
2690
|
-
return
|
|
2693
|
+
return n;
|
|
2691
2694
|
}
|
|
2692
2695
|
)
|
|
2693
|
-
),
|
|
2696
|
+
), Tt = jn ? (
|
|
2694
2697
|
// Native
|
|
2695
|
-
function(t,
|
|
2696
|
-
return t.codePointAt(
|
|
2698
|
+
function(t, n) {
|
|
2699
|
+
return t.codePointAt(n);
|
|
2697
2700
|
}
|
|
2698
2701
|
) : (
|
|
2699
2702
|
// IE 11
|
|
2700
|
-
function(t,
|
|
2701
|
-
var
|
|
2702
|
-
if (!(
|
|
2703
|
-
var i = t.charCodeAt(
|
|
2704
|
-
return i < 55296 || i > 56319 ||
|
|
2703
|
+
function(t, n) {
|
|
2704
|
+
var r = t.length;
|
|
2705
|
+
if (!(n < 0 || n >= r)) {
|
|
2706
|
+
var i = t.charCodeAt(n), s;
|
|
2707
|
+
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2705
2708
|
}
|
|
2706
2709
|
}
|
|
2707
|
-
),
|
|
2710
|
+
), Zn = kn ? (
|
|
2708
2711
|
// Native
|
|
2709
2712
|
function(t) {
|
|
2710
2713
|
return t.trimStart();
|
|
@@ -2712,9 +2715,9 @@ var ze = Ur ? (
|
|
|
2712
2715
|
) : (
|
|
2713
2716
|
// Ponyfill
|
|
2714
2717
|
function(t) {
|
|
2715
|
-
return t.replace(
|
|
2718
|
+
return t.replace($n, "");
|
|
2716
2719
|
}
|
|
2717
|
-
),
|
|
2720
|
+
), Qn = Vn ? (
|
|
2718
2721
|
// Native
|
|
2719
2722
|
function(t) {
|
|
2720
2723
|
return t.trimEnd();
|
|
@@ -2722,78 +2725,78 @@ var ze = Ur ? (
|
|
|
2722
2725
|
) : (
|
|
2723
2726
|
// Ponyfill
|
|
2724
2727
|
function(t) {
|
|
2725
|
-
return t.replace(
|
|
2728
|
+
return t.replace(Un, "");
|
|
2726
2729
|
}
|
|
2727
2730
|
);
|
|
2728
|
-
function
|
|
2731
|
+
function St(e, t) {
|
|
2729
2732
|
return new RegExp(e, t);
|
|
2730
2733
|
}
|
|
2731
2734
|
var Oe;
|
|
2732
2735
|
if (Pe) {
|
|
2733
|
-
var Ze =
|
|
2734
|
-
Oe = function(t,
|
|
2735
|
-
var
|
|
2736
|
-
Ze.lastIndex =
|
|
2736
|
+
var Ze = St("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2737
|
+
Oe = function(t, n) {
|
|
2738
|
+
var r;
|
|
2739
|
+
Ze.lastIndex = n;
|
|
2737
2740
|
var i = Ze.exec(t);
|
|
2738
|
-
return (
|
|
2741
|
+
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2739
2742
|
};
|
|
2740
2743
|
} else
|
|
2741
|
-
Oe = function(t,
|
|
2742
|
-
for (var
|
|
2743
|
-
var i =
|
|
2744
|
-
if (i === void 0 ||
|
|
2744
|
+
Oe = function(t, n) {
|
|
2745
|
+
for (var r = []; ; ) {
|
|
2746
|
+
var i = Tt(t, n);
|
|
2747
|
+
if (i === void 0 || Bt(i) || Kn(i))
|
|
2745
2748
|
break;
|
|
2746
|
-
|
|
2749
|
+
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2747
2750
|
}
|
|
2748
|
-
return Ne.apply(void 0,
|
|
2751
|
+
return Ne.apply(void 0, r);
|
|
2749
2752
|
};
|
|
2750
|
-
var
|
|
2753
|
+
var qn = (
|
|
2751
2754
|
/** @class */
|
|
2752
2755
|
function() {
|
|
2753
|
-
function e(t,
|
|
2754
|
-
|
|
2756
|
+
function e(t, n) {
|
|
2757
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
2755
2758
|
}
|
|
2756
2759
|
return e.prototype.parse = function() {
|
|
2757
2760
|
if (this.offset() !== 0)
|
|
2758
2761
|
throw Error("parser can only be used once");
|
|
2759
2762
|
return this.parseMessage(0, "", !1);
|
|
2760
|
-
}, e.prototype.parseMessage = function(t,
|
|
2763
|
+
}, e.prototype.parseMessage = function(t, n, r) {
|
|
2761
2764
|
for (var i = []; !this.isEOF(); ) {
|
|
2762
2765
|
var s = this.char();
|
|
2763
2766
|
if (s === 123) {
|
|
2764
|
-
var
|
|
2765
|
-
if (
|
|
2766
|
-
return
|
|
2767
|
-
i.push(
|
|
2767
|
+
var o = this.parseArgument(t, r);
|
|
2768
|
+
if (o.err)
|
|
2769
|
+
return o;
|
|
2770
|
+
i.push(o.val);
|
|
2768
2771
|
} else {
|
|
2769
2772
|
if (s === 125 && t > 0)
|
|
2770
2773
|
break;
|
|
2771
|
-
if (s === 35 && (
|
|
2772
|
-
var
|
|
2774
|
+
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2775
|
+
var a = this.clonePosition();
|
|
2773
2776
|
this.bump(), i.push({
|
|
2774
2777
|
type: v.pound,
|
|
2775
|
-
location: p(
|
|
2778
|
+
location: p(a, this.clonePosition())
|
|
2776
2779
|
});
|
|
2777
2780
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2778
|
-
if (
|
|
2781
|
+
if (r)
|
|
2779
2782
|
break;
|
|
2780
2783
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2781
2784
|
} else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
|
2782
|
-
var
|
|
2783
|
-
if (
|
|
2784
|
-
return
|
|
2785
|
-
i.push(
|
|
2785
|
+
var o = this.parseTag(t, n);
|
|
2786
|
+
if (o.err)
|
|
2787
|
+
return o;
|
|
2788
|
+
i.push(o.val);
|
|
2786
2789
|
} else {
|
|
2787
|
-
var
|
|
2788
|
-
if (
|
|
2789
|
-
return
|
|
2790
|
-
i.push(
|
|
2790
|
+
var o = this.parseLiteral(t, n);
|
|
2791
|
+
if (o.err)
|
|
2792
|
+
return o;
|
|
2793
|
+
i.push(o.val);
|
|
2791
2794
|
}
|
|
2792
2795
|
}
|
|
2793
2796
|
}
|
|
2794
2797
|
return { val: i, err: null };
|
|
2795
|
-
}, e.prototype.parseTag = function(t,
|
|
2796
|
-
var
|
|
2798
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
2799
|
+
var r = this.clonePosition();
|
|
2797
2800
|
this.bump();
|
|
2798
2801
|
var i = this.parseTagName();
|
|
2799
2802
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
@@ -2801,64 +2804,64 @@ var Qr = (
|
|
|
2801
2804
|
val: {
|
|
2802
2805
|
type: v.literal,
|
|
2803
2806
|
value: "<".concat(i, "/>"),
|
|
2804
|
-
location: p(
|
|
2807
|
+
location: p(r, this.clonePosition())
|
|
2805
2808
|
},
|
|
2806
2809
|
err: null
|
|
2807
2810
|
};
|
|
2808
2811
|
if (this.bumpIf(">")) {
|
|
2809
|
-
var s = this.parseMessage(t + 1,
|
|
2812
|
+
var s = this.parseMessage(t + 1, n, !0);
|
|
2810
2813
|
if (s.err)
|
|
2811
2814
|
return s;
|
|
2812
|
-
var
|
|
2815
|
+
var o = s.val, a = this.clonePosition();
|
|
2813
2816
|
if (this.bumpIf("</")) {
|
|
2814
2817
|
if (this.isEOF() || !Ie(this.char()))
|
|
2815
|
-
return this.error(d.INVALID_TAG, p(
|
|
2818
|
+
return this.error(d.INVALID_TAG, p(a, this.clonePosition()));
|
|
2816
2819
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2817
2820
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2818
2821
|
val: {
|
|
2819
2822
|
type: v.tag,
|
|
2820
2823
|
value: i,
|
|
2821
|
-
children:
|
|
2822
|
-
location: p(
|
|
2824
|
+
children: o,
|
|
2825
|
+
location: p(r, this.clonePosition())
|
|
2823
2826
|
},
|
|
2824
2827
|
err: null
|
|
2825
|
-
} : this.error(d.INVALID_TAG, p(
|
|
2828
|
+
} : this.error(d.INVALID_TAG, p(a, this.clonePosition())));
|
|
2826
2829
|
} else
|
|
2827
|
-
return this.error(d.UNCLOSED_TAG, p(
|
|
2830
|
+
return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
|
|
2828
2831
|
} else
|
|
2829
|
-
return this.error(d.INVALID_TAG, p(
|
|
2832
|
+
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2830
2833
|
}, e.prototype.parseTagName = function() {
|
|
2831
2834
|
var t = this.offset();
|
|
2832
|
-
for (this.bump(); !this.isEOF() &&
|
|
2835
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
2833
2836
|
this.bump();
|
|
2834
2837
|
return this.message.slice(t, this.offset());
|
|
2835
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2836
|
-
for (var
|
|
2837
|
-
var s = this.tryParseQuote(
|
|
2838
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
2839
|
+
for (var r = this.clonePosition(), i = ""; ; ) {
|
|
2840
|
+
var s = this.tryParseQuote(n);
|
|
2838
2841
|
if (s) {
|
|
2839
2842
|
i += s;
|
|
2840
2843
|
continue;
|
|
2841
2844
|
}
|
|
2842
|
-
var
|
|
2843
|
-
if (a) {
|
|
2844
|
-
i += a;
|
|
2845
|
-
continue;
|
|
2846
|
-
}
|
|
2847
|
-
var o = this.tryParseLeftAngleBracket();
|
|
2845
|
+
var o = this.tryParseUnquoted(t, n);
|
|
2848
2846
|
if (o) {
|
|
2849
2847
|
i += o;
|
|
2850
2848
|
continue;
|
|
2851
2849
|
}
|
|
2850
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2851
|
+
if (a) {
|
|
2852
|
+
i += a;
|
|
2853
|
+
continue;
|
|
2854
|
+
}
|
|
2852
2855
|
break;
|
|
2853
2856
|
}
|
|
2854
|
-
var l = p(
|
|
2857
|
+
var l = p(r, this.clonePosition());
|
|
2855
2858
|
return {
|
|
2856
2859
|
val: { type: v.literal, value: i, location: l },
|
|
2857
2860
|
err: null
|
|
2858
2861
|
};
|
|
2859
2862
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2860
2863
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2861
|
-
!
|
|
2864
|
+
!Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2862
2865
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2863
2866
|
if (this.isEOF() || this.char() !== 39)
|
|
2864
2867
|
return null;
|
|
@@ -2878,37 +2881,37 @@ var Qr = (
|
|
|
2878
2881
|
return null;
|
|
2879
2882
|
}
|
|
2880
2883
|
this.bump();
|
|
2881
|
-
var
|
|
2884
|
+
var n = [this.char()];
|
|
2882
2885
|
for (this.bump(); !this.isEOF(); ) {
|
|
2883
|
-
var
|
|
2884
|
-
if (
|
|
2886
|
+
var r = this.char();
|
|
2887
|
+
if (r === 39)
|
|
2885
2888
|
if (this.peek() === 39)
|
|
2886
|
-
|
|
2889
|
+
n.push(39), this.bump();
|
|
2887
2890
|
else {
|
|
2888
2891
|
this.bump();
|
|
2889
2892
|
break;
|
|
2890
2893
|
}
|
|
2891
2894
|
else
|
|
2892
|
-
|
|
2895
|
+
n.push(r);
|
|
2893
2896
|
this.bump();
|
|
2894
2897
|
}
|
|
2895
|
-
return Ne.apply(void 0,
|
|
2896
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2898
|
+
return Ne.apply(void 0, n);
|
|
2899
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2897
2900
|
if (this.isEOF())
|
|
2898
2901
|
return null;
|
|
2899
|
-
var
|
|
2900
|
-
return
|
|
2901
|
-
}, e.prototype.parseArgument = function(t,
|
|
2902
|
-
var
|
|
2902
|
+
var r = this.char();
|
|
2903
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Ne(r));
|
|
2904
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
2905
|
+
var r = this.clonePosition();
|
|
2903
2906
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2904
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2907
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2905
2908
|
if (this.char() === 125)
|
|
2906
|
-
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(
|
|
2909
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
|
|
2907
2910
|
var i = this.parseIdentifierIfPossible().value;
|
|
2908
2911
|
if (!i)
|
|
2909
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2912
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2910
2913
|
if (this.bumpSpace(), this.isEOF())
|
|
2911
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2914
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2912
2915
|
switch (this.char()) {
|
|
2913
2916
|
case 125:
|
|
2914
2917
|
return this.bump(), {
|
|
@@ -2916,25 +2919,25 @@ var Qr = (
|
|
|
2916
2919
|
type: v.argument,
|
|
2917
2920
|
// value does not include the opening and closing braces.
|
|
2918
2921
|
value: i,
|
|
2919
|
-
location: p(
|
|
2922
|
+
location: p(r, this.clonePosition())
|
|
2920
2923
|
},
|
|
2921
2924
|
err: null
|
|
2922
2925
|
};
|
|
2923
2926
|
case 44:
|
|
2924
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2927
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2925
2928
|
default:
|
|
2926
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2929
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2927
2930
|
}
|
|
2928
2931
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2929
|
-
var t = this.clonePosition(),
|
|
2932
|
+
var t = this.clonePosition(), n = this.offset(), r = Oe(this.message, n), i = n + r.length;
|
|
2930
2933
|
this.bumpTo(i);
|
|
2931
|
-
var s = this.clonePosition(),
|
|
2932
|
-
return { value:
|
|
2933
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2934
|
-
var s,
|
|
2935
|
-
switch (
|
|
2934
|
+
var s = this.clonePosition(), o = p(t, s);
|
|
2935
|
+
return { value: r, location: o };
|
|
2936
|
+
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2937
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2938
|
+
switch (a) {
|
|
2936
2939
|
case "":
|
|
2937
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, p(
|
|
2940
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
|
|
2938
2941
|
case "number":
|
|
2939
2942
|
case "date":
|
|
2940
2943
|
case "time": {
|
|
@@ -2945,7 +2948,7 @@ var Qr = (
|
|
|
2945
2948
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2946
2949
|
if (m.err)
|
|
2947
2950
|
return m;
|
|
2948
|
-
var f =
|
|
2951
|
+
var f = Qn(m.val);
|
|
2949
2952
|
if (f.length === 0)
|
|
2950
2953
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2951
2954
|
var b = p(h, this.clonePosition());
|
|
@@ -2956,34 +2959,34 @@ var Qr = (
|
|
|
2956
2959
|
return y;
|
|
2957
2960
|
var _ = p(i, this.clonePosition());
|
|
2958
2961
|
if (u && ze(u?.style, "::", 0)) {
|
|
2959
|
-
var T =
|
|
2960
|
-
if (
|
|
2962
|
+
var T = Zn(u.style.slice(2));
|
|
2963
|
+
if (a === "number") {
|
|
2961
2964
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2962
2965
|
return m.err ? m : {
|
|
2963
|
-
val: { type: v.number, value:
|
|
2966
|
+
val: { type: v.number, value: r, location: _, style: m.val },
|
|
2964
2967
|
err: null
|
|
2965
2968
|
};
|
|
2966
2969
|
} else {
|
|
2967
2970
|
if (T.length === 0)
|
|
2968
2971
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2969
2972
|
var w = T;
|
|
2970
|
-
this.locale && (w =
|
|
2973
|
+
this.locale && (w = Mn(T, this.locale));
|
|
2971
2974
|
var f = {
|
|
2972
2975
|
type: j.dateTime,
|
|
2973
2976
|
pattern: w,
|
|
2974
2977
|
location: u.styleLocation,
|
|
2975
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2976
|
-
}, A =
|
|
2978
|
+
parsedOptions: this.shouldParseSkeletons ? wn(w) : {}
|
|
2979
|
+
}, A = a === "date" ? v.date : v.time;
|
|
2977
2980
|
return {
|
|
2978
|
-
val: { type: A, value:
|
|
2981
|
+
val: { type: A, value: r, location: _, style: f },
|
|
2979
2982
|
err: null
|
|
2980
2983
|
};
|
|
2981
2984
|
}
|
|
2982
2985
|
}
|
|
2983
2986
|
return {
|
|
2984
2987
|
val: {
|
|
2985
|
-
type:
|
|
2986
|
-
value:
|
|
2988
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
2989
|
+
value: r,
|
|
2987
2990
|
location: _,
|
|
2988
2991
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2989
2992
|
},
|
|
@@ -2998,7 +3001,7 @@ var Qr = (
|
|
|
2998
3001
|
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
|
|
2999
3002
|
this.bumpSpace();
|
|
3000
3003
|
var N = this.parseIdentifierIfPossible(), x = 0;
|
|
3001
|
-
if (
|
|
3004
|
+
if (a !== "select" && N.value === "offset") {
|
|
3002
3005
|
if (!this.bumpIf(":"))
|
|
3003
3006
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
3004
3007
|
this.bumpSpace();
|
|
@@ -3007,17 +3010,17 @@ var Qr = (
|
|
|
3007
3010
|
return m;
|
|
3008
3011
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), x = m.val;
|
|
3009
3012
|
}
|
|
3010
|
-
var O = this.tryParsePluralOrSelectOptions(t,
|
|
3013
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, n, N);
|
|
3011
3014
|
if (O.err)
|
|
3012
3015
|
return O;
|
|
3013
3016
|
var y = this.tryParseArgumentClose(i);
|
|
3014
3017
|
if (y.err)
|
|
3015
3018
|
return y;
|
|
3016
3019
|
var c = p(i, this.clonePosition());
|
|
3017
|
-
return
|
|
3020
|
+
return a === "select" ? {
|
|
3018
3021
|
val: {
|
|
3019
3022
|
type: v.select,
|
|
3020
|
-
value:
|
|
3023
|
+
value: r,
|
|
3021
3024
|
options: We(O.val),
|
|
3022
3025
|
location: c
|
|
3023
3026
|
},
|
|
@@ -3025,24 +3028,24 @@ var Qr = (
|
|
|
3025
3028
|
} : {
|
|
3026
3029
|
val: {
|
|
3027
3030
|
type: v.plural,
|
|
3028
|
-
value:
|
|
3031
|
+
value: r,
|
|
3029
3032
|
options: We(O.val),
|
|
3030
3033
|
offset: x,
|
|
3031
|
-
pluralType:
|
|
3034
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3032
3035
|
location: c
|
|
3033
3036
|
},
|
|
3034
3037
|
err: null
|
|
3035
3038
|
};
|
|
3036
3039
|
}
|
|
3037
3040
|
default:
|
|
3038
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, p(
|
|
3041
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
|
|
3039
3042
|
}
|
|
3040
3043
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3041
3044
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3042
3045
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3043
|
-
for (var t = 0,
|
|
3044
|
-
var
|
|
3045
|
-
switch (
|
|
3046
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3047
|
+
var r = this.char();
|
|
3048
|
+
switch (r) {
|
|
3046
3049
|
case 39: {
|
|
3047
3050
|
this.bump();
|
|
3048
3051
|
var i = this.clonePosition();
|
|
@@ -3060,7 +3063,7 @@ var Qr = (
|
|
|
3060
3063
|
t -= 1;
|
|
3061
3064
|
else
|
|
3062
3065
|
return {
|
|
3063
|
-
val: this.message.slice(
|
|
3066
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3064
3067
|
err: null
|
|
3065
3068
|
};
|
|
3066
3069
|
break;
|
|
@@ -3071,30 +3074,30 @@ var Qr = (
|
|
|
3071
3074
|
}
|
|
3072
3075
|
}
|
|
3073
3076
|
return {
|
|
3074
|
-
val: this.message.slice(
|
|
3077
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3075
3078
|
err: null
|
|
3076
3079
|
};
|
|
3077
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3078
|
-
var
|
|
3080
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3081
|
+
var r = [];
|
|
3079
3082
|
try {
|
|
3080
|
-
|
|
3083
|
+
r = Nn(t);
|
|
3081
3084
|
} catch {
|
|
3082
|
-
return this.error(d.INVALID_NUMBER_SKELETON,
|
|
3085
|
+
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3083
3086
|
}
|
|
3084
3087
|
return {
|
|
3085
3088
|
val: {
|
|
3086
3089
|
type: j.number,
|
|
3087
|
-
tokens:
|
|
3088
|
-
location:
|
|
3089
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3090
|
+
tokens: r,
|
|
3091
|
+
location: n,
|
|
3092
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(r) : {}
|
|
3090
3093
|
},
|
|
3091
3094
|
err: null
|
|
3092
3095
|
};
|
|
3093
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3094
|
-
for (var s,
|
|
3096
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3097
|
+
for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3095
3098
|
if (u.length === 0) {
|
|
3096
3099
|
var m = this.clonePosition();
|
|
3097
|
-
if (
|
|
3100
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
3098
3101
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3099
3102
|
if (f.err)
|
|
3100
3103
|
return f;
|
|
@@ -3103,18 +3106,18 @@ var Qr = (
|
|
|
3103
3106
|
break;
|
|
3104
3107
|
}
|
|
3105
3108
|
if (l.has(u))
|
|
3106
|
-
return this.error(
|
|
3107
|
-
u === "other" && (
|
|
3109
|
+
return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3110
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3108
3111
|
var b = this.clonePosition();
|
|
3109
3112
|
if (!this.bumpIf("{"))
|
|
3110
|
-
return this.error(
|
|
3111
|
-
var y = this.parseMessage(t + 1,
|
|
3113
|
+
return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3114
|
+
var y = this.parseMessage(t + 1, n, r);
|
|
3112
3115
|
if (y.err)
|
|
3113
3116
|
return y;
|
|
3114
3117
|
var _ = this.tryParseArgumentClose(b);
|
|
3115
3118
|
if (_.err)
|
|
3116
3119
|
return _;
|
|
3117
|
-
|
|
3120
|
+
a.push([
|
|
3118
3121
|
u,
|
|
3119
3122
|
{
|
|
3120
3123
|
value: y.val,
|
|
@@ -3122,19 +3125,19 @@ var Qr = (
|
|
|
3122
3125
|
}
|
|
3123
3126
|
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3124
3127
|
}
|
|
3125
|
-
return
|
|
3126
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3127
|
-
var
|
|
3128
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3129
|
-
for (var s = !1,
|
|
3130
|
-
var
|
|
3131
|
-
if (
|
|
3132
|
-
s = !0,
|
|
3128
|
+
return a.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3129
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3130
|
+
var r = 1, i = this.clonePosition();
|
|
3131
|
+
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3132
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3133
|
+
var a = this.char();
|
|
3134
|
+
if (a >= 48 && a <= 57)
|
|
3135
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3133
3136
|
else
|
|
3134
3137
|
break;
|
|
3135
3138
|
}
|
|
3136
3139
|
var l = p(i, this.clonePosition());
|
|
3137
|
-
return s ? (
|
|
3140
|
+
return s ? (o *= r, zn(o) ? { val: o, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3138
3141
|
}, e.prototype.offset = function() {
|
|
3139
3142
|
return this.position.offset;
|
|
3140
3143
|
}, e.prototype.isEOF = function() {
|
|
@@ -3149,17 +3152,17 @@ var Qr = (
|
|
|
3149
3152
|
var t = this.position.offset;
|
|
3150
3153
|
if (t >= this.message.length)
|
|
3151
3154
|
throw Error("out of bound");
|
|
3152
|
-
var
|
|
3153
|
-
if (
|
|
3155
|
+
var n = Tt(this.message, t);
|
|
3156
|
+
if (n === void 0)
|
|
3154
3157
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3155
|
-
return
|
|
3156
|
-
}, e.prototype.error = function(t,
|
|
3158
|
+
return n;
|
|
3159
|
+
}, e.prototype.error = function(t, n) {
|
|
3157
3160
|
return {
|
|
3158
3161
|
val: null,
|
|
3159
3162
|
err: {
|
|
3160
3163
|
kind: t,
|
|
3161
3164
|
message: this.message,
|
|
3162
|
-
location:
|
|
3165
|
+
location: n
|
|
3163
3166
|
}
|
|
3164
3167
|
};
|
|
3165
3168
|
}, e.prototype.bump = function() {
|
|
@@ -3169,69 +3172,69 @@ var Qr = (
|
|
|
3169
3172
|
}
|
|
3170
3173
|
}, e.prototype.bumpIf = function(t) {
|
|
3171
3174
|
if (ze(this.message, t, this.offset())) {
|
|
3172
|
-
for (var
|
|
3175
|
+
for (var n = 0; n < t.length; n++)
|
|
3173
3176
|
this.bump();
|
|
3174
3177
|
return !0;
|
|
3175
3178
|
}
|
|
3176
3179
|
return !1;
|
|
3177
3180
|
}, e.prototype.bumpUntil = function(t) {
|
|
3178
|
-
var
|
|
3179
|
-
return
|
|
3181
|
+
var n = this.offset(), r = this.message.indexOf(t, n);
|
|
3182
|
+
return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
|
|
3180
3183
|
}, e.prototype.bumpTo = function(t) {
|
|
3181
3184
|
if (this.offset() > t)
|
|
3182
3185
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3183
3186
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3184
|
-
var
|
|
3185
|
-
if (
|
|
3187
|
+
var n = this.offset();
|
|
3188
|
+
if (n === t)
|
|
3186
3189
|
break;
|
|
3187
|
-
if (
|
|
3190
|
+
if (n > t)
|
|
3188
3191
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3189
3192
|
if (this.bump(), this.isEOF())
|
|
3190
3193
|
break;
|
|
3191
3194
|
}
|
|
3192
3195
|
}, e.prototype.bumpSpace = function() {
|
|
3193
|
-
for (; !this.isEOF() &&
|
|
3196
|
+
for (; !this.isEOF() && Bt(this.char()); )
|
|
3194
3197
|
this.bump();
|
|
3195
3198
|
}, e.prototype.peek = function() {
|
|
3196
3199
|
if (this.isEOF())
|
|
3197
3200
|
return null;
|
|
3198
|
-
var t = this.char(),
|
|
3199
|
-
return
|
|
3201
|
+
var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3202
|
+
return r ?? null;
|
|
3200
3203
|
}, e;
|
|
3201
3204
|
}()
|
|
3202
3205
|
);
|
|
3203
3206
|
function Ie(e) {
|
|
3204
3207
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3205
3208
|
}
|
|
3206
|
-
function
|
|
3209
|
+
function Jn(e) {
|
|
3207
3210
|
return Ie(e) || e === 47;
|
|
3208
3211
|
}
|
|
3209
|
-
function
|
|
3212
|
+
function Yn(e) {
|
|
3210
3213
|
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;
|
|
3211
3214
|
}
|
|
3212
|
-
function
|
|
3215
|
+
function Bt(e) {
|
|
3213
3216
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3214
3217
|
}
|
|
3215
|
-
function
|
|
3218
|
+
function Kn(e) {
|
|
3216
3219
|
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;
|
|
3217
3220
|
}
|
|
3218
3221
|
function Le(e) {
|
|
3219
3222
|
e.forEach(function(t) {
|
|
3220
|
-
if (delete t.location,
|
|
3221
|
-
for (var
|
|
3222
|
-
delete t.options[
|
|
3223
|
+
if (delete t.location, bt(t) || pt(t))
|
|
3224
|
+
for (var n in t.options)
|
|
3225
|
+
delete t.options[n].location, Le(t.options[n].value);
|
|
3223
3226
|
else
|
|
3224
|
-
|
|
3227
|
+
mt(t) && Et(t.style) || (gt(t) || dt(t)) && we(t.style) ? delete t.style.location : yt(t) && Le(t.children);
|
|
3225
3228
|
});
|
|
3226
3229
|
}
|
|
3227
|
-
function
|
|
3230
|
+
function er(e, t) {
|
|
3228
3231
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3229
|
-
var
|
|
3230
|
-
if (
|
|
3231
|
-
var
|
|
3232
|
-
throw
|
|
3232
|
+
var n = new qn(e, t).parse();
|
|
3233
|
+
if (n.err) {
|
|
3234
|
+
var r = SyntaxError(d[n.err.kind]);
|
|
3235
|
+
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3233
3236
|
}
|
|
3234
|
-
return t?.captureLocation || Le(
|
|
3237
|
+
return t?.captureLocation || Le(n.val), n.val;
|
|
3235
3238
|
}
|
|
3236
3239
|
var k;
|
|
3237
3240
|
(function(e) {
|
|
@@ -3241,9 +3244,9 @@ var ge = (
|
|
|
3241
3244
|
/** @class */
|
|
3242
3245
|
function(e) {
|
|
3243
3246
|
ce(t, e);
|
|
3244
|
-
function t(
|
|
3245
|
-
var s = e.call(this,
|
|
3246
|
-
return s.code =
|
|
3247
|
+
function t(n, r, i) {
|
|
3248
|
+
var s = e.call(this, n) || this;
|
|
3249
|
+
return s.code = r, s.originalMessage = i, s;
|
|
3247
3250
|
}
|
|
3248
3251
|
return t.prototype.toString = function() {
|
|
3249
3252
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3253,26 +3256,26 @@ var ge = (
|
|
|
3253
3256
|
/** @class */
|
|
3254
3257
|
function(e) {
|
|
3255
3258
|
ce(t, e);
|
|
3256
|
-
function t(
|
|
3257
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3259
|
+
function t(n, r, i, s) {
|
|
3260
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
|
3258
3261
|
}
|
|
3259
3262
|
return t;
|
|
3260
3263
|
}(ge)
|
|
3261
|
-
),
|
|
3264
|
+
), tr = (
|
|
3262
3265
|
/** @class */
|
|
3263
3266
|
function(e) {
|
|
3264
3267
|
ce(t, e);
|
|
3265
|
-
function t(
|
|
3266
|
-
return e.call(this, 'Value for "'.concat(
|
|
3268
|
+
function t(n, r, i) {
|
|
3269
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), k.INVALID_VALUE, i) || this;
|
|
3267
3270
|
}
|
|
3268
3271
|
return t;
|
|
3269
3272
|
}(ge)
|
|
3270
|
-
),
|
|
3273
|
+
), nr = (
|
|
3271
3274
|
/** @class */
|
|
3272
3275
|
function(e) {
|
|
3273
3276
|
ce(t, e);
|
|
3274
|
-
function t(
|
|
3275
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3277
|
+
function t(n, r) {
|
|
3278
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), k.MISSING_VALUE, r) || this;
|
|
3276
3279
|
}
|
|
3277
3280
|
return t;
|
|
3278
3281
|
}(ge)
|
|
@@ -3280,16 +3283,16 @@ var ge = (
|
|
|
3280
3283
|
(function(e) {
|
|
3281
3284
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3282
3285
|
})(B || (B = {}));
|
|
3283
|
-
function
|
|
3284
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3285
|
-
var
|
|
3286
|
-
return !
|
|
3286
|
+
function rr(e) {
|
|
3287
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3288
|
+
var r = t[t.length - 1];
|
|
3289
|
+
return !r || r.type !== B.literal || n.type !== B.literal ? t.push(n) : r.value += n.value, t;
|
|
3287
3290
|
}, []);
|
|
3288
3291
|
}
|
|
3289
|
-
function
|
|
3292
|
+
function ir(e) {
|
|
3290
3293
|
return typeof e == "function";
|
|
3291
3294
|
}
|
|
3292
|
-
function
|
|
3295
|
+
function oe(e, t, n, r, i, s, o) {
|
|
3293
3296
|
if (e.length === 1 && je(e[0]))
|
|
3294
3297
|
return [
|
|
3295
3298
|
{
|
|
@@ -3297,104 +3300,104 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3297
3300
|
value: e[0].value
|
|
3298
3301
|
}
|
|
3299
3302
|
];
|
|
3300
|
-
for (var
|
|
3303
|
+
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3301
3304
|
var h = u[l];
|
|
3302
3305
|
if (je(h)) {
|
|
3303
|
-
|
|
3306
|
+
a.push({
|
|
3304
3307
|
type: B.literal,
|
|
3305
3308
|
value: h.value
|
|
3306
3309
|
});
|
|
3307
3310
|
continue;
|
|
3308
3311
|
}
|
|
3309
|
-
if (
|
|
3310
|
-
typeof s == "number" &&
|
|
3312
|
+
if (Bn(h)) {
|
|
3313
|
+
typeof s == "number" && a.push({
|
|
3311
3314
|
type: B.literal,
|
|
3312
|
-
value:
|
|
3315
|
+
value: n.getNumberFormat(t).format(s)
|
|
3313
3316
|
});
|
|
3314
3317
|
continue;
|
|
3315
3318
|
}
|
|
3316
3319
|
var m = h.value;
|
|
3317
3320
|
if (!(i && m in i))
|
|
3318
|
-
throw new
|
|
3321
|
+
throw new nr(m, o);
|
|
3319
3322
|
var f = i[m];
|
|
3320
|
-
if (
|
|
3321
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3323
|
+
if (Sn(h)) {
|
|
3324
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3322
3325
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3323
3326
|
value: f
|
|
3324
3327
|
});
|
|
3325
3328
|
continue;
|
|
3326
3329
|
}
|
|
3327
|
-
if (
|
|
3328
|
-
var b = typeof h.style == "string" ?
|
|
3329
|
-
|
|
3330
|
+
if (gt(h)) {
|
|
3331
|
+
var b = typeof h.style == "string" ? r.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3332
|
+
a.push({
|
|
3330
3333
|
type: B.literal,
|
|
3331
|
-
value:
|
|
3334
|
+
value: n.getDateTimeFormat(t, b).format(f)
|
|
3332
3335
|
});
|
|
3333
3336
|
continue;
|
|
3334
3337
|
}
|
|
3335
|
-
if (
|
|
3336
|
-
var b = typeof h.style == "string" ?
|
|
3337
|
-
|
|
3338
|
+
if (dt(h)) {
|
|
3339
|
+
var b = typeof h.style == "string" ? r.time[h.style] : we(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3340
|
+
a.push({
|
|
3338
3341
|
type: B.literal,
|
|
3339
|
-
value:
|
|
3342
|
+
value: n.getDateTimeFormat(t, b).format(f)
|
|
3340
3343
|
});
|
|
3341
3344
|
continue;
|
|
3342
3345
|
}
|
|
3343
|
-
if (
|
|
3344
|
-
var b = typeof h.style == "string" ?
|
|
3345
|
-
b && b.scale && (f = f * (b.scale || 1)),
|
|
3346
|
+
if (mt(h)) {
|
|
3347
|
+
var b = typeof h.style == "string" ? r.number[h.style] : Et(h.style) ? h.style.parsedOptions : void 0;
|
|
3348
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3346
3349
|
type: B.literal,
|
|
3347
|
-
value:
|
|
3350
|
+
value: n.getNumberFormat(t, b).format(f)
|
|
3348
3351
|
});
|
|
3349
3352
|
continue;
|
|
3350
3353
|
}
|
|
3351
|
-
if (
|
|
3354
|
+
if (yt(h)) {
|
|
3352
3355
|
var y = h.children, _ = h.value, T = i[_];
|
|
3353
|
-
if (!
|
|
3354
|
-
throw new
|
|
3355
|
-
var w =
|
|
3356
|
+
if (!ir(T))
|
|
3357
|
+
throw new tr(_, "function", o);
|
|
3358
|
+
var w = oe(y, t, n, r, i, s), A = T(w.map(function(x) {
|
|
3356
3359
|
return x.value;
|
|
3357
3360
|
}));
|
|
3358
|
-
Array.isArray(A) || (A = [A]),
|
|
3361
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(x) {
|
|
3359
3362
|
return {
|
|
3360
3363
|
type: typeof x == "string" ? B.literal : B.object,
|
|
3361
3364
|
value: x
|
|
3362
3365
|
};
|
|
3363
3366
|
}));
|
|
3364
3367
|
}
|
|
3365
|
-
if (
|
|
3368
|
+
if (bt(h)) {
|
|
3366
3369
|
var S = h.options[f] || h.options.other;
|
|
3367
3370
|
if (!S)
|
|
3368
|
-
throw new Qe(h.value, f, Object.keys(h.options),
|
|
3369
|
-
|
|
3371
|
+
throw new Qe(h.value, f, Object.keys(h.options), o);
|
|
3372
|
+
a.push.apply(a, oe(S.value, t, n, r, i));
|
|
3370
3373
|
continue;
|
|
3371
3374
|
}
|
|
3372
|
-
if (
|
|
3375
|
+
if (pt(h)) {
|
|
3373
3376
|
var S = h.options["=".concat(f)];
|
|
3374
3377
|
if (!S) {
|
|
3375
3378
|
if (!Intl.PluralRules)
|
|
3376
3379
|
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3377
3380
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3378
|
-
`, k.MISSING_INTL_API,
|
|
3379
|
-
var N =
|
|
3381
|
+
`, k.MISSING_INTL_API, o);
|
|
3382
|
+
var N = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3380
3383
|
S = h.options[N] || h.options.other;
|
|
3381
3384
|
}
|
|
3382
3385
|
if (!S)
|
|
3383
|
-
throw new Qe(h.value, f, Object.keys(h.options),
|
|
3384
|
-
|
|
3386
|
+
throw new Qe(h.value, f, Object.keys(h.options), o);
|
|
3387
|
+
a.push.apply(a, oe(S.value, t, n, r, i, f - (h.offset || 0)));
|
|
3385
3388
|
continue;
|
|
3386
3389
|
}
|
|
3387
3390
|
}
|
|
3388
|
-
return
|
|
3391
|
+
return rr(a);
|
|
3389
3392
|
}
|
|
3390
|
-
function
|
|
3391
|
-
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(
|
|
3392
|
-
return r
|
|
3393
|
+
function sr(e, t) {
|
|
3394
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3395
|
+
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3393
3396
|
}, {})) : e;
|
|
3394
3397
|
}
|
|
3395
|
-
function
|
|
3396
|
-
return t ? Object.keys(e).reduce(function(
|
|
3397
|
-
return r
|
|
3398
|
+
function or(e, t) {
|
|
3399
|
+
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3400
|
+
return n[r] = sr(e[r], t[r]), n;
|
|
3398
3401
|
}, E({}, e)) : e;
|
|
3399
3402
|
}
|
|
3400
3403
|
function xe(e) {
|
|
@@ -3404,50 +3407,50 @@ function xe(e) {
|
|
|
3404
3407
|
get: function(t) {
|
|
3405
3408
|
return e[t];
|
|
3406
3409
|
},
|
|
3407
|
-
set: function(t,
|
|
3408
|
-
e[t] =
|
|
3410
|
+
set: function(t, n) {
|
|
3411
|
+
e[t] = n;
|
|
3409
3412
|
}
|
|
3410
3413
|
};
|
|
3411
3414
|
}
|
|
3412
3415
|
};
|
|
3413
3416
|
}
|
|
3414
|
-
function
|
|
3417
|
+
function ar(e) {
|
|
3415
3418
|
return e === void 0 && (e = {
|
|
3416
3419
|
number: {},
|
|
3417
3420
|
dateTime: {},
|
|
3418
3421
|
pluralRules: {}
|
|
3419
3422
|
}), {
|
|
3420
3423
|
getNumberFormat: Ee(function() {
|
|
3421
|
-
for (var t,
|
|
3422
|
-
r
|
|
3423
|
-
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0],
|
|
3424
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3425
|
+
n[r] = arguments[r];
|
|
3426
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], n, !1)))();
|
|
3424
3427
|
}, {
|
|
3425
3428
|
cache: xe(e.number),
|
|
3426
3429
|
strategy: ve.variadic
|
|
3427
3430
|
}),
|
|
3428
3431
|
getDateTimeFormat: Ee(function() {
|
|
3429
|
-
for (var t,
|
|
3430
|
-
r
|
|
3431
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0],
|
|
3432
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3433
|
+
n[r] = arguments[r];
|
|
3434
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], n, !1)))();
|
|
3432
3435
|
}, {
|
|
3433
3436
|
cache: xe(e.dateTime),
|
|
3434
3437
|
strategy: ve.variadic
|
|
3435
3438
|
}),
|
|
3436
3439
|
getPluralRules: Ee(function() {
|
|
3437
|
-
for (var t,
|
|
3438
|
-
r
|
|
3439
|
-
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0],
|
|
3440
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3441
|
+
n[r] = arguments[r];
|
|
3442
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], n, !1)))();
|
|
3440
3443
|
}, {
|
|
3441
3444
|
cache: xe(e.pluralRules),
|
|
3442
3445
|
strategy: ve.variadic
|
|
3443
3446
|
})
|
|
3444
3447
|
};
|
|
3445
3448
|
}
|
|
3446
|
-
var
|
|
3449
|
+
var ur = (
|
|
3447
3450
|
/** @class */
|
|
3448
3451
|
function() {
|
|
3449
|
-
function e(t,
|
|
3450
|
-
|
|
3452
|
+
function e(t, n, r, i) {
|
|
3453
|
+
n === void 0 && (n = e.defaultLocale);
|
|
3451
3454
|
var s = this;
|
|
3452
3455
|
if (this.formatterCache = {
|
|
3453
3456
|
number: {},
|
|
@@ -3462,7 +3465,7 @@ var un = (
|
|
|
3462
3465
|
}, []);
|
|
3463
3466
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3464
3467
|
}, this.formatToParts = function(l) {
|
|
3465
|
-
return
|
|
3468
|
+
return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3466
3469
|
}, this.resolvedOptions = function() {
|
|
3467
3470
|
var l;
|
|
3468
3471
|
return {
|
|
@@ -3470,18 +3473,18 @@ var un = (
|
|
|
3470
3473
|
};
|
|
3471
3474
|
}, this.getAst = function() {
|
|
3472
3475
|
return s.ast;
|
|
3473
|
-
}, this.locales =
|
|
3476
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3474
3477
|
if (this.message = t, !e.__parse)
|
|
3475
3478
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3476
|
-
var
|
|
3477
|
-
|
|
3478
|
-
var
|
|
3479
|
-
this.ast = e.__parse(t, E(E({},
|
|
3479
|
+
var o = i || {};
|
|
3480
|
+
o.formatters;
|
|
3481
|
+
var a = Kt(o, ["formatters"]);
|
|
3482
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
3480
3483
|
} else
|
|
3481
3484
|
this.ast = t;
|
|
3482
3485
|
if (!Array.isArray(this.ast))
|
|
3483
3486
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3484
|
-
this.formats =
|
|
3487
|
+
this.formats = or(e.formats, r), this.formatters = i && i.formatters || ar(this.formatterCache);
|
|
3485
3488
|
}
|
|
3486
3489
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3487
3490
|
get: function() {
|
|
@@ -3491,10 +3494,10 @@ var un = (
|
|
|
3491
3494
|
configurable: !0
|
|
3492
3495
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3493
3496
|
if (!(typeof Intl.Locale > "u")) {
|
|
3494
|
-
var
|
|
3495
|
-
return
|
|
3497
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3498
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3496
3499
|
}
|
|
3497
|
-
}, e.__parse =
|
|
3500
|
+
}, e.__parse = er, e.formats = {
|
|
3498
3501
|
number: {
|
|
3499
3502
|
integer: {
|
|
3500
3503
|
maximumFractionDigits: 0
|
|
@@ -3555,113 +3558,113 @@ var un = (
|
|
|
3555
3558
|
}, e;
|
|
3556
3559
|
}()
|
|
3557
3560
|
);
|
|
3558
|
-
function
|
|
3561
|
+
function hr(e, t) {
|
|
3559
3562
|
if (t == null)
|
|
3560
3563
|
return;
|
|
3561
3564
|
if (t in e)
|
|
3562
3565
|
return e[t];
|
|
3563
|
-
const
|
|
3564
|
-
let
|
|
3565
|
-
for (let i = 0; i <
|
|
3566
|
-
if (typeof
|
|
3566
|
+
const n = t.split(".");
|
|
3567
|
+
let r = e;
|
|
3568
|
+
for (let i = 0; i < n.length; i++)
|
|
3569
|
+
if (typeof r == "object") {
|
|
3567
3570
|
if (i > 0) {
|
|
3568
|
-
const s =
|
|
3569
|
-
if (s in
|
|
3570
|
-
|
|
3571
|
+
const s = n.slice(i, n.length).join(".");
|
|
3572
|
+
if (s in r) {
|
|
3573
|
+
r = r[s];
|
|
3571
3574
|
break;
|
|
3572
3575
|
}
|
|
3573
3576
|
}
|
|
3574
|
-
|
|
3577
|
+
r = r[n[i]];
|
|
3575
3578
|
} else
|
|
3576
|
-
|
|
3577
|
-
return
|
|
3579
|
+
r = void 0;
|
|
3580
|
+
return r;
|
|
3578
3581
|
}
|
|
3579
|
-
const C = {},
|
|
3582
|
+
const C = {}, lr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n), At = (e, t) => {
|
|
3580
3583
|
if (t == null)
|
|
3581
3584
|
return;
|
|
3582
3585
|
if (t in C && e in C[t])
|
|
3583
3586
|
return C[t][e];
|
|
3584
|
-
const
|
|
3585
|
-
for (let
|
|
3586
|
-
const i = r
|
|
3587
|
+
const n = de(t);
|
|
3588
|
+
for (let r = 0; r < n.length; r++) {
|
|
3589
|
+
const i = n[r], s = cr(i, e);
|
|
3587
3590
|
if (s)
|
|
3588
|
-
return
|
|
3591
|
+
return lr(e, t, s);
|
|
3589
3592
|
}
|
|
3590
3593
|
};
|
|
3591
3594
|
let $e;
|
|
3592
3595
|
const W = me({});
|
|
3593
|
-
function
|
|
3596
|
+
function fr(e) {
|
|
3594
3597
|
return $e[e] || null;
|
|
3595
3598
|
}
|
|
3596
|
-
function
|
|
3599
|
+
function wt(e) {
|
|
3597
3600
|
return e in $e;
|
|
3598
3601
|
}
|
|
3599
|
-
function
|
|
3600
|
-
if (!
|
|
3602
|
+
function cr(e, t) {
|
|
3603
|
+
if (!wt(e))
|
|
3601
3604
|
return null;
|
|
3602
|
-
const
|
|
3603
|
-
return
|
|
3605
|
+
const n = fr(e);
|
|
3606
|
+
return hr(n, t);
|
|
3604
3607
|
}
|
|
3605
|
-
function
|
|
3608
|
+
function mr(e) {
|
|
3606
3609
|
if (e == null)
|
|
3607
3610
|
return;
|
|
3608
3611
|
const t = de(e);
|
|
3609
|
-
for (let
|
|
3610
|
-
const
|
|
3611
|
-
if (
|
|
3612
|
-
return
|
|
3612
|
+
for (let n = 0; n < t.length; n++) {
|
|
3613
|
+
const r = t[n];
|
|
3614
|
+
if (wt(r))
|
|
3615
|
+
return r;
|
|
3613
3616
|
}
|
|
3614
3617
|
}
|
|
3615
|
-
function
|
|
3616
|
-
delete C[e], W.update((
|
|
3618
|
+
function gr(e, ...t) {
|
|
3619
|
+
delete C[e], W.update((n) => (n[e] = pn.all([n[e] || {}, ...t]), n));
|
|
3617
3620
|
}
|
|
3618
3621
|
z(
|
|
3619
3622
|
[W],
|
|
3620
3623
|
([e]) => Object.keys(e)
|
|
3621
3624
|
);
|
|
3622
3625
|
W.subscribe((e) => $e = e);
|
|
3623
|
-
const
|
|
3624
|
-
function
|
|
3625
|
-
|
|
3626
|
+
const ae = {};
|
|
3627
|
+
function dr(e, t) {
|
|
3628
|
+
ae[e].delete(t), ae[e].size === 0 && delete ae[e];
|
|
3626
3629
|
}
|
|
3627
|
-
function
|
|
3628
|
-
return
|
|
3630
|
+
function Pt(e) {
|
|
3631
|
+
return ae[e];
|
|
3629
3632
|
}
|
|
3630
|
-
function
|
|
3633
|
+
function br(e) {
|
|
3631
3634
|
return de(e).map((t) => {
|
|
3632
|
-
const
|
|
3633
|
-
return [t,
|
|
3635
|
+
const n = Pt(t);
|
|
3636
|
+
return [t, n ? [...n] : []];
|
|
3634
3637
|
}).filter(([, t]) => t.length > 0);
|
|
3635
3638
|
}
|
|
3636
3639
|
function Ce(e) {
|
|
3637
3640
|
return e == null ? !1 : de(e).some(
|
|
3638
3641
|
(t) => {
|
|
3639
|
-
var
|
|
3640
|
-
return (
|
|
3642
|
+
var n;
|
|
3643
|
+
return (n = Pt(t)) == null ? void 0 : n.size;
|
|
3641
3644
|
}
|
|
3642
3645
|
);
|
|
3643
3646
|
}
|
|
3644
|
-
function
|
|
3647
|
+
function pr(e, t) {
|
|
3645
3648
|
return Promise.all(
|
|
3646
|
-
t.map((
|
|
3647
|
-
).then((
|
|
3649
|
+
t.map((r) => (dr(e, r), r().then((i) => i.default || i)))
|
|
3650
|
+
).then((r) => gr(e, ...r));
|
|
3648
3651
|
}
|
|
3649
3652
|
const Q = {};
|
|
3650
|
-
function
|
|
3653
|
+
function Nt(e) {
|
|
3651
3654
|
if (!Ce(e))
|
|
3652
3655
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3653
|
-
const t =
|
|
3656
|
+
const t = br(e);
|
|
3654
3657
|
return Q[e] = Promise.all(
|
|
3655
3658
|
t.map(
|
|
3656
|
-
([
|
|
3659
|
+
([n, r]) => pr(n, r)
|
|
3657
3660
|
)
|
|
3658
3661
|
).then(() => {
|
|
3659
3662
|
if (Ce(e))
|
|
3660
|
-
return
|
|
3663
|
+
return Nt(e);
|
|
3661
3664
|
delete Q[e];
|
|
3662
3665
|
}), Q[e];
|
|
3663
3666
|
}
|
|
3664
|
-
const
|
|
3667
|
+
const yr = {
|
|
3665
3668
|
number: {
|
|
3666
3669
|
scientific: { notation: "scientific" },
|
|
3667
3670
|
engineering: { notation: "engineering" },
|
|
@@ -3690,34 +3693,34 @@ const yn = {
|
|
|
3690
3693
|
timeZoneName: "short"
|
|
3691
3694
|
}
|
|
3692
3695
|
}
|
|
3693
|
-
},
|
|
3696
|
+
}, Er = {
|
|
3694
3697
|
fallbackLocale: null,
|
|
3695
3698
|
loadingDelay: 200,
|
|
3696
|
-
formats:
|
|
3699
|
+
formats: yr,
|
|
3697
3700
|
warnOnMissingMessages: !0,
|
|
3698
3701
|
handleMissingMessage: void 0,
|
|
3699
3702
|
ignoreTag: !0
|
|
3700
|
-
},
|
|
3703
|
+
}, vr = Er;
|
|
3701
3704
|
function V() {
|
|
3702
|
-
return
|
|
3705
|
+
return vr;
|
|
3703
3706
|
}
|
|
3704
3707
|
const He = me(!1);
|
|
3705
|
-
var
|
|
3706
|
-
for (var
|
|
3707
|
-
|
|
3708
|
+
var _r = Object.defineProperty, xr = Object.defineProperties, Hr = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Je = (e, t, n) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Br = (e, t) => {
|
|
3709
|
+
for (var n in t || (t = {}))
|
|
3710
|
+
Tr.call(t, n) && Je(e, n, t[n]);
|
|
3708
3711
|
if (qe)
|
|
3709
|
-
for (var
|
|
3710
|
-
|
|
3712
|
+
for (var n of qe(t))
|
|
3713
|
+
Sr.call(t, n) && Je(e, n, t[n]);
|
|
3711
3714
|
return e;
|
|
3712
|
-
},
|
|
3715
|
+
}, Ar = (e, t) => xr(e, Hr(t));
|
|
3713
3716
|
let Me;
|
|
3714
3717
|
const ue = me(null);
|
|
3715
3718
|
function Ye(e) {
|
|
3716
|
-
return e.split("-").map((t,
|
|
3719
|
+
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3717
3720
|
}
|
|
3718
3721
|
function de(e, t = V().fallbackLocale) {
|
|
3719
|
-
const
|
|
3720
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3722
|
+
const n = Ye(e);
|
|
3723
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Ye(t)])] : n;
|
|
3721
3724
|
}
|
|
3722
3725
|
function R() {
|
|
3723
3726
|
return Me ?? void 0;
|
|
@@ -3725,124 +3728,124 @@ function R() {
|
|
|
3725
3728
|
ue.subscribe((e) => {
|
|
3726
3729
|
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3727
3730
|
});
|
|
3728
|
-
const
|
|
3729
|
-
if (e &&
|
|
3731
|
+
const wr = (e) => {
|
|
3732
|
+
if (e && mr(e) && Ce(e)) {
|
|
3730
3733
|
const { loadingDelay: t } = V();
|
|
3731
|
-
let
|
|
3732
|
-
return typeof window < "u" && R() != null && t ?
|
|
3734
|
+
let n;
|
|
3735
|
+
return typeof window < "u" && R() != null && t ? n = window.setTimeout(
|
|
3733
3736
|
() => He.set(!0),
|
|
3734
3737
|
t
|
|
3735
|
-
) : He.set(!0),
|
|
3738
|
+
) : He.set(!0), Nt(e).then(() => {
|
|
3736
3739
|
ue.set(e);
|
|
3737
3740
|
}).finally(() => {
|
|
3738
|
-
clearTimeout(
|
|
3741
|
+
clearTimeout(n), He.set(!1);
|
|
3739
3742
|
});
|
|
3740
3743
|
}
|
|
3741
3744
|
return ue.set(e);
|
|
3742
|
-
}, M =
|
|
3743
|
-
set:
|
|
3745
|
+
}, M = Ar(Br({}, ue), {
|
|
3746
|
+
set: wr
|
|
3744
3747
|
}), be = (e) => {
|
|
3745
3748
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3746
|
-
return (
|
|
3747
|
-
const i = JSON.stringify(
|
|
3748
|
-
return i in t ? t[i] : t[i] = e(
|
|
3749
|
+
return (r) => {
|
|
3750
|
+
const i = JSON.stringify(r);
|
|
3751
|
+
return i in t ? t[i] : t[i] = e(r);
|
|
3749
3752
|
};
|
|
3750
3753
|
};
|
|
3751
|
-
var
|
|
3752
|
-
for (var
|
|
3753
|
-
|
|
3754
|
+
var Pr = Object.defineProperty, he = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, Ke = (e, t, n) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ue = (e, t) => {
|
|
3755
|
+
for (var n in t || (t = {}))
|
|
3756
|
+
Ot.call(t, n) && Ke(e, n, t[n]);
|
|
3754
3757
|
if (he)
|
|
3755
|
-
for (var
|
|
3756
|
-
|
|
3758
|
+
for (var n of he(t))
|
|
3759
|
+
It.call(t, n) && Ke(e, n, t[n]);
|
|
3757
3760
|
return e;
|
|
3758
3761
|
}, Z = (e, t) => {
|
|
3759
|
-
var
|
|
3760
|
-
for (var
|
|
3761
|
-
|
|
3762
|
+
var n = {};
|
|
3763
|
+
for (var r in e)
|
|
3764
|
+
Ot.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3762
3765
|
if (e != null && he)
|
|
3763
|
-
for (var
|
|
3764
|
-
t.indexOf(
|
|
3765
|
-
return
|
|
3766
|
+
for (var r of he(e))
|
|
3767
|
+
t.indexOf(r) < 0 && It.call(e, r) && (n[r] = e[r]);
|
|
3768
|
+
return n;
|
|
3766
3769
|
};
|
|
3767
3770
|
const K = (e, t) => {
|
|
3768
|
-
const { formats:
|
|
3769
|
-
if (e in
|
|
3770
|
-
return
|
|
3771
|
+
const { formats: n } = V();
|
|
3772
|
+
if (e in n && t in n[e])
|
|
3773
|
+
return n[e][t];
|
|
3771
3774
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3772
|
-
},
|
|
3775
|
+
}, Nr = be(
|
|
3773
3776
|
(e) => {
|
|
3774
|
-
var t = e, { locale:
|
|
3775
|
-
if (
|
|
3777
|
+
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3778
|
+
if (n == null)
|
|
3776
3779
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3777
|
-
return
|
|
3780
|
+
return r && (i = K("number", r)), new Intl.NumberFormat(n, i);
|
|
3778
3781
|
}
|
|
3779
|
-
),
|
|
3782
|
+
), Or = be(
|
|
3780
3783
|
(e) => {
|
|
3781
|
-
var t = e, { locale:
|
|
3782
|
-
if (
|
|
3784
|
+
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3785
|
+
if (n == null)
|
|
3783
3786
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3784
|
-
return
|
|
3787
|
+
return r ? i = K("date", r) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3785
3788
|
}
|
|
3786
|
-
),
|
|
3789
|
+
), Ir = be(
|
|
3787
3790
|
(e) => {
|
|
3788
|
-
var t = e, { locale:
|
|
3789
|
-
if (
|
|
3791
|
+
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3792
|
+
if (n == null)
|
|
3790
3793
|
throw new Error(
|
|
3791
3794
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3792
3795
|
);
|
|
3793
|
-
return
|
|
3796
|
+
return r ? i = K("time", r) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3794
3797
|
}
|
|
3795
|
-
),
|
|
3798
|
+
), Lr = (e = {}) => {
|
|
3796
3799
|
var t = e, {
|
|
3797
|
-
locale:
|
|
3798
|
-
} = t,
|
|
3800
|
+
locale: n = R()
|
|
3801
|
+
} = t, r = Z(t, [
|
|
3799
3802
|
"locale"
|
|
3800
3803
|
]);
|
|
3801
|
-
return
|
|
3802
|
-
},
|
|
3804
|
+
return Nr(Ue({ locale: n }, r));
|
|
3805
|
+
}, Cr = (e = {}) => {
|
|
3803
3806
|
var t = e, {
|
|
3804
|
-
locale:
|
|
3805
|
-
} = t,
|
|
3807
|
+
locale: n = R()
|
|
3808
|
+
} = t, r = Z(t, [
|
|
3806
3809
|
"locale"
|
|
3807
3810
|
]);
|
|
3808
|
-
return
|
|
3809
|
-
},
|
|
3811
|
+
return Or(Ue({ locale: n }, r));
|
|
3812
|
+
}, Mr = (e = {}) => {
|
|
3810
3813
|
var t = e, {
|
|
3811
|
-
locale:
|
|
3812
|
-
} = t,
|
|
3814
|
+
locale: n = R()
|
|
3815
|
+
} = t, r = Z(t, [
|
|
3813
3816
|
"locale"
|
|
3814
3817
|
]);
|
|
3815
|
-
return
|
|
3816
|
-
},
|
|
3818
|
+
return Ir(Ue({ locale: n }, r));
|
|
3819
|
+
}, Rr = be(
|
|
3817
3820
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3818
|
-
(e, t = R()) => new
|
|
3821
|
+
(e, t = R()) => new ur(e, t, V().formats, {
|
|
3819
3822
|
ignoreTag: V().ignoreTag
|
|
3820
3823
|
})
|
|
3821
|
-
), $
|
|
3822
|
-
var
|
|
3823
|
-
let
|
|
3824
|
-
typeof e == "object" && (
|
|
3824
|
+
), $r = (e, t = {}) => {
|
|
3825
|
+
var n, r, i, s;
|
|
3826
|
+
let o = t;
|
|
3827
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3825
3828
|
const {
|
|
3826
|
-
values:
|
|
3829
|
+
values: a,
|
|
3827
3830
|
locale: l = R(),
|
|
3828
3831
|
default: u
|
|
3829
|
-
} =
|
|
3832
|
+
} = o;
|
|
3830
3833
|
if (l == null)
|
|
3831
3834
|
throw new Error(
|
|
3832
3835
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3833
3836
|
);
|
|
3834
|
-
let h =
|
|
3837
|
+
let h = At(e, l);
|
|
3835
3838
|
if (!h)
|
|
3836
|
-
h = (s = (i = (
|
|
3839
|
+
h = (s = (i = (r = (n = V()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3837
3840
|
else if (typeof h != "string")
|
|
3838
3841
|
return console.warn(
|
|
3839
3842
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3840
3843
|
), h;
|
|
3841
|
-
if (!
|
|
3844
|
+
if (!a)
|
|
3842
3845
|
return h;
|
|
3843
3846
|
let m = h;
|
|
3844
3847
|
try {
|
|
3845
|
-
m =
|
|
3848
|
+
m = Rr(h, l).format(a);
|
|
3846
3849
|
} catch (f) {
|
|
3847
3850
|
f instanceof Error && console.warn(
|
|
3848
3851
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3850,57 +3853,57 @@ const K = (e, t) => {
|
|
|
3850
3853
|
);
|
|
3851
3854
|
}
|
|
3852
3855
|
return m;
|
|
3853
|
-
},
|
|
3854
|
-
z([M], () =>
|
|
3855
|
-
z([M], () =>
|
|
3856
|
-
z([M], () =>
|
|
3857
|
-
z([M, W], () =>
|
|
3858
|
-
function
|
|
3856
|
+
}, Ur = (e, t) => Mr(t).format(e), Dr = (e, t) => Cr(t).format(e), Gr = (e, t) => Lr(t).format(e), Fr = (e, t = R()) => At(e, t), gi = z([M, W], () => $r);
|
|
3857
|
+
z([M], () => Ur);
|
|
3858
|
+
z([M], () => Dr);
|
|
3859
|
+
z([M], () => Gr);
|
|
3860
|
+
z([M, W], () => Fr);
|
|
3861
|
+
function jr(e, t) {
|
|
3859
3862
|
if (e) {
|
|
3860
|
-
const
|
|
3861
|
-
|
|
3863
|
+
const n = document.createElement("style");
|
|
3864
|
+
n.innerHTML = t, e.appendChild(n);
|
|
3862
3865
|
}
|
|
3863
3866
|
}
|
|
3864
|
-
function
|
|
3865
|
-
const
|
|
3866
|
-
fetch(
|
|
3867
|
+
function kr(e, t) {
|
|
3868
|
+
const n = new URL(t);
|
|
3869
|
+
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3867
3870
|
const i = document.createElement("style");
|
|
3868
|
-
i.innerHTML =
|
|
3869
|
-
}).catch((
|
|
3870
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3871
|
+
i.innerHTML = r, e && e.appendChild(i);
|
|
3872
|
+
}).catch((r) => {
|
|
3873
|
+
console.error("There was an error while trying to load client styling from URL", r);
|
|
3871
3874
|
});
|
|
3872
3875
|
}
|
|
3873
|
-
function
|
|
3876
|
+
function Vr(e, t, n) {
|
|
3874
3877
|
if (window.emMessageBus) {
|
|
3875
|
-
const
|
|
3878
|
+
const r = document.createElement("style");
|
|
3876
3879
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3877
|
-
|
|
3880
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
3878
3881
|
});
|
|
3879
3882
|
}
|
|
3880
3883
|
}
|
|
3881
|
-
function
|
|
3882
|
-
M.subscribe((
|
|
3883
|
-
|
|
3884
|
+
function Xr({ withLocale: e, translations: t }) {
|
|
3885
|
+
M.subscribe((n) => {
|
|
3886
|
+
n == null && (W.set(t), M.set(e));
|
|
3884
3887
|
});
|
|
3885
3888
|
}
|
|
3886
3889
|
if (typeof window < "u") {
|
|
3887
3890
|
let e = function(t) {
|
|
3888
|
-
return function(...
|
|
3891
|
+
return function(...n) {
|
|
3889
3892
|
try {
|
|
3890
|
-
return t.apply(this,
|
|
3891
|
-
} catch (
|
|
3892
|
-
if (
|
|
3893
|
+
return t.apply(this, n);
|
|
3894
|
+
} catch (r) {
|
|
3895
|
+
if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3893
3896
|
return !1;
|
|
3894
|
-
throw
|
|
3897
|
+
throw r;
|
|
3895
3898
|
}
|
|
3896
3899
|
};
|
|
3897
3900
|
};
|
|
3898
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3901
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-BCh4kKwb.js").then(({ default: t }) => {
|
|
3899
3902
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3900
3903
|
});
|
|
3901
3904
|
}
|
|
3902
|
-
function
|
|
3903
|
-
|
|
3905
|
+
function zr(e) {
|
|
3906
|
+
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))}");
|
|
3904
3907
|
}
|
|
3905
3908
|
function et(e) {
|
|
3906
3909
|
let t;
|
|
@@ -3998,170 +4001,170 @@ function et(e) {
|
|
|
3998
4001
|
e[6]
|
|
3999
4002
|
);
|
|
4000
4003
|
},
|
|
4001
|
-
m(
|
|
4002
|
-
fe(
|
|
4004
|
+
m(n, r) {
|
|
4005
|
+
fe(n, t, r);
|
|
4003
4006
|
},
|
|
4004
|
-
p(
|
|
4005
|
-
|
|
4007
|
+
p(n, r) {
|
|
4008
|
+
r & /*session*/
|
|
4006
4009
|
16 && g(
|
|
4007
4010
|
t,
|
|
4008
4011
|
"session",
|
|
4009
4012
|
/*session*/
|
|
4010
|
-
|
|
4011
|
-
),
|
|
4013
|
+
n[4]
|
|
4014
|
+
), r & /*userid*/
|
|
4012
4015
|
32 && g(
|
|
4013
4016
|
t,
|
|
4014
4017
|
"userid",
|
|
4015
4018
|
/*userid*/
|
|
4016
|
-
|
|
4017
|
-
),
|
|
4019
|
+
n[5]
|
|
4020
|
+
), r & /*endpoint*/
|
|
4018
4021
|
1 && g(
|
|
4019
4022
|
t,
|
|
4020
4023
|
"endpoint",
|
|
4021
4024
|
/*endpoint*/
|
|
4022
|
-
|
|
4023
|
-
),
|
|
4025
|
+
n[0]
|
|
4026
|
+
), r & /*datasource*/
|
|
4024
4027
|
2 && g(
|
|
4025
4028
|
t,
|
|
4026
4029
|
"datasource",
|
|
4027
4030
|
/*datasource*/
|
|
4028
|
-
|
|
4029
|
-
),
|
|
4031
|
+
n[1]
|
|
4032
|
+
), r & /*lang*/
|
|
4030
4033
|
8 && g(
|
|
4031
4034
|
t,
|
|
4032
4035
|
"lang",
|
|
4033
4036
|
/*lang*/
|
|
4034
|
-
|
|
4035
|
-
),
|
|
4037
|
+
n[3]
|
|
4038
|
+
), r & /*currency*/
|
|
4036
4039
|
4 && g(
|
|
4037
4040
|
t,
|
|
4038
4041
|
"currency",
|
|
4039
4042
|
/*currency*/
|
|
4040
|
-
|
|
4041
|
-
),
|
|
4043
|
+
n[2]
|
|
4044
|
+
), r & /*favorites*/
|
|
4042
4045
|
32768 && g(
|
|
4043
4046
|
t,
|
|
4044
4047
|
"favorites",
|
|
4045
4048
|
/*favorites*/
|
|
4046
|
-
|
|
4047
|
-
),
|
|
4049
|
+
n[15]
|
|
4050
|
+
), r & /*fetchviaevent*/
|
|
4048
4051
|
131072 && g(
|
|
4049
4052
|
t,
|
|
4050
4053
|
"fetchviaevent",
|
|
4051
4054
|
/*fetchviaevent*/
|
|
4052
|
-
|
|
4053
|
-
),
|
|
4055
|
+
n[17]
|
|
4056
|
+
), r & /*showgamename*/
|
|
4054
4057
|
4096 && g(
|
|
4055
4058
|
t,
|
|
4056
4059
|
"showgamename",
|
|
4057
4060
|
/*showgamename*/
|
|
4058
|
-
|
|
4059
|
-
),
|
|
4061
|
+
n[12]
|
|
4062
|
+
), r & /*clientstyling*/
|
|
4060
4063
|
128 && g(
|
|
4061
4064
|
t,
|
|
4062
4065
|
"clientstyling",
|
|
4063
4066
|
/*clientstyling*/
|
|
4064
|
-
|
|
4065
|
-
),
|
|
4067
|
+
n[7]
|
|
4068
|
+
), r & /*clientstylingurl*/
|
|
4066
4069
|
256 && g(
|
|
4067
4070
|
t,
|
|
4068
4071
|
"clientstylingurl",
|
|
4069
4072
|
/*clientstylingurl*/
|
|
4070
|
-
|
|
4071
|
-
),
|
|
4073
|
+
n[8]
|
|
4074
|
+
), r & /*livecasino*/
|
|
4072
4075
|
512 && g(
|
|
4073
4076
|
t,
|
|
4074
4077
|
"livecasino",
|
|
4075
4078
|
/*livecasino*/
|
|
4076
|
-
|
|
4077
|
-
),
|
|
4079
|
+
n[9]
|
|
4080
|
+
), r & /*visiblegames*/
|
|
4078
4081
|
16384 && g(
|
|
4079
4082
|
t,
|
|
4080
4083
|
"visiblegames",
|
|
4081
4084
|
/*visiblegames*/
|
|
4082
|
-
|
|
4083
|
-
),
|
|
4085
|
+
n[14]
|
|
4086
|
+
), r & /*gamepagemodalurl*/
|
|
4084
4087
|
8192 && g(
|
|
4085
4088
|
t,
|
|
4086
4089
|
"gamepagemodalurl",
|
|
4087
4090
|
/*gamepagemodalurl*/
|
|
4088
|
-
|
|
4089
|
-
),
|
|
4091
|
+
n[13]
|
|
4092
|
+
), r & /*integratedgameframedesktop*/
|
|
4090
4093
|
2048 && g(
|
|
4091
4094
|
t,
|
|
4092
4095
|
"integratedgameframedesktop",
|
|
4093
4096
|
/*integratedgameframedesktop*/
|
|
4094
|
-
|
|
4095
|
-
),
|
|
4097
|
+
n[11]
|
|
4098
|
+
), r & /*integratedgameframemobile*/
|
|
4096
4099
|
1024 && g(
|
|
4097
4100
|
t,
|
|
4098
4101
|
"integratedgameframemobile",
|
|
4099
4102
|
/*integratedgameframemobile*/
|
|
4100
|
-
|
|
4101
|
-
),
|
|
4103
|
+
n[10]
|
|
4104
|
+
), r & /*casinomygames*/
|
|
4102
4105
|
65536 && g(
|
|
4103
4106
|
t,
|
|
4104
4107
|
"casinomygames",
|
|
4105
4108
|
/*casinomygames*/
|
|
4106
|
-
|
|
4107
|
-
),
|
|
4109
|
+
n[16]
|
|
4110
|
+
), r & /*mbsource*/
|
|
4108
4111
|
64 && g(
|
|
4109
4112
|
t,
|
|
4110
4113
|
"mbsource",
|
|
4111
4114
|
/*mbsource*/
|
|
4112
|
-
|
|
4115
|
+
n[6]
|
|
4113
4116
|
);
|
|
4114
4117
|
},
|
|
4115
|
-
d(
|
|
4116
|
-
|
|
4118
|
+
d(n) {
|
|
4119
|
+
n && ee(t);
|
|
4117
4120
|
}
|
|
4118
4121
|
};
|
|
4119
4122
|
}
|
|
4120
|
-
function
|
|
4121
|
-
let t,
|
|
4123
|
+
function Wr(e) {
|
|
4124
|
+
let t, n = (
|
|
4122
4125
|
/*session*/
|
|
4123
4126
|
e[4] && et(e)
|
|
4124
4127
|
);
|
|
4125
4128
|
return {
|
|
4126
4129
|
c() {
|
|
4127
|
-
t = te("div"),
|
|
4130
|
+
t = te("div"), n && n.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4128
4131
|
},
|
|
4129
|
-
m(
|
|
4130
|
-
fe(
|
|
4132
|
+
m(r, i) {
|
|
4133
|
+
fe(r, t, i), n && n.m(t, null), e[19](t);
|
|
4131
4134
|
},
|
|
4132
|
-
p(
|
|
4135
|
+
p(r, [i]) {
|
|
4133
4136
|
/*session*/
|
|
4134
|
-
|
|
4137
|
+
r[4] ? n ? n.p(r, i) : (n = et(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4135
4138
|
},
|
|
4136
4139
|
i: P,
|
|
4137
4140
|
o: P,
|
|
4138
|
-
d(
|
|
4139
|
-
|
|
4141
|
+
d(r) {
|
|
4142
|
+
r && ee(t), n && n.d(), e[19](null);
|
|
4140
4143
|
}
|
|
4141
4144
|
};
|
|
4142
4145
|
}
|
|
4143
|
-
function
|
|
4144
|
-
let { endpoint:
|
|
4145
|
-
|
|
4146
|
+
function Zr(e, t, n) {
|
|
4147
|
+
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: a = "" } = 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: N = "true" } = t, x;
|
|
4148
|
+
Xr({ withLocale: "en", translations: {} }), jt(() => () => {
|
|
4146
4149
|
});
|
|
4147
4150
|
function O(c) {
|
|
4148
4151
|
Te[c ? "unshift" : "push"](() => {
|
|
4149
|
-
x = c,
|
|
4152
|
+
x = c, n(18, x);
|
|
4150
4153
|
});
|
|
4151
4154
|
}
|
|
4152
4155
|
return e.$$set = (c) => {
|
|
4153
|
-
"endpoint" in c &&
|
|
4156
|
+
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, o = c.lang), "session" in c && n(4, a = c.session), "userid" in c && n(5, l = c.userid), "mbsource" in c && n(6, u = c.mbsource), "clientstyling" in c && n(7, h = c.clientstyling), "clientstylingurl" in c && n(8, m = c.clientstylingurl), "livecasino" in c && n(9, f = c.livecasino), "integratedgameframemobile" in c && n(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(11, y = c.integratedgameframedesktop), "showgamename" in c && n(12, _ = c.showgamename), "gamepagemodalurl" in c && n(13, T = c.gamepagemodalurl), "visiblegames" in c && n(14, w = c.visiblegames), "favorites" in c && n(15, A = c.favorites), "casinomygames" in c && n(16, S = c.casinomygames), "fetchviaevent" in c && n(17, N = c.fetchviaevent);
|
|
4154
4157
|
}, e.$$.update = () => {
|
|
4155
4158
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4156
|
-
262272 && h && x &&
|
|
4157
|
-
262400 && m && x &&
|
|
4158
|
-
262208 && u && x &&
|
|
4159
|
+
262272 && h && x && jr(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4160
|
+
262400 && m && x && kr(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4161
|
+
262208 && u && x && Vr(x, `${u}.Style`);
|
|
4159
4162
|
}, [
|
|
4160
|
-
|
|
4163
|
+
r,
|
|
4161
4164
|
i,
|
|
4162
4165
|
s,
|
|
4163
|
-
a,
|
|
4164
4166
|
o,
|
|
4167
|
+
a,
|
|
4165
4168
|
l,
|
|
4166
4169
|
u,
|
|
4167
4170
|
h,
|
|
@@ -4179,14 +4182,14 @@ function Zn(e, t, r) {
|
|
|
4179
4182
|
O
|
|
4180
4183
|
];
|
|
4181
4184
|
}
|
|
4182
|
-
class
|
|
4185
|
+
class Lt extends Jt {
|
|
4183
4186
|
constructor(t) {
|
|
4184
4187
|
super(), Qt(
|
|
4185
4188
|
this,
|
|
4186
4189
|
t,
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
+
Zr,
|
|
4191
|
+
Wr,
|
|
4192
|
+
nt,
|
|
4190
4193
|
{
|
|
4191
4194
|
endpoint: 0,
|
|
4192
4195
|
datasource: 1,
|
|
@@ -4207,7 +4210,7 @@ class It extends Jt {
|
|
|
4207
4210
|
casinomygames: 16,
|
|
4208
4211
|
fetchviaevent: 17
|
|
4209
4212
|
},
|
|
4210
|
-
|
|
4213
|
+
zr
|
|
4211
4214
|
);
|
|
4212
4215
|
}
|
|
4213
4216
|
get endpoint() {
|
|
@@ -4319,56 +4322,57 @@ class It extends Jt {
|
|
|
4319
4322
|
this.$$set({ fetchviaevent: t }), H();
|
|
4320
4323
|
}
|
|
4321
4324
|
}
|
|
4322
|
-
qt(
|
|
4323
|
-
const
|
|
4325
|
+
qt(Lt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4326
|
+
const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4324
4327
|
__proto__: null,
|
|
4325
|
-
default:
|
|
4328
|
+
default: Lt
|
|
4326
4329
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4327
4330
|
export {
|
|
4328
4331
|
M as $,
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4332
|
+
ri as A,
|
|
4333
|
+
Qr as B,
|
|
4334
|
+
g as C,
|
|
4335
|
+
jr as D,
|
|
4336
|
+
kr as E,
|
|
4337
|
+
Vr as F,
|
|
4338
|
+
qt as G,
|
|
4339
|
+
gi as H,
|
|
4340
|
+
si as I,
|
|
4341
|
+
Jr as J,
|
|
4339
4342
|
ei as K,
|
|
4340
|
-
|
|
4343
|
+
oi as L,
|
|
4341
4344
|
ii as M,
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4345
|
+
ui as N,
|
|
4346
|
+
ai as O,
|
|
4347
|
+
fi as P,
|
|
4348
|
+
li as Q,
|
|
4349
|
+
di as R,
|
|
4346
4350
|
Jt as S,
|
|
4347
|
-
|
|
4351
|
+
ci as _,
|
|
4348
4352
|
ye as a,
|
|
4349
|
-
|
|
4353
|
+
mi as b,
|
|
4350
4354
|
ce as c,
|
|
4351
4355
|
W as d,
|
|
4352
|
-
|
|
4356
|
+
gr as e,
|
|
4353
4357
|
H as f,
|
|
4354
|
-
|
|
4358
|
+
Rt as g,
|
|
4355
4359
|
ee as h,
|
|
4356
4360
|
Qt as i,
|
|
4357
4361
|
fe as j,
|
|
4358
4362
|
te as k,
|
|
4359
|
-
|
|
4363
|
+
qr as l,
|
|
4360
4364
|
Te as m,
|
|
4361
4365
|
P as n,
|
|
4362
4366
|
jt as o,
|
|
4363
|
-
|
|
4364
|
-
|
|
4367
|
+
ni as p,
|
|
4368
|
+
Mt as q,
|
|
4365
4369
|
Re as r,
|
|
4366
|
-
|
|
4370
|
+
nt as s,
|
|
4367
4371
|
it as t,
|
|
4368
|
-
|
|
4369
|
-
|
|
4372
|
+
hi as u,
|
|
4373
|
+
Yr as v,
|
|
4370
4374
|
X as w,
|
|
4371
4375
|
ti as x,
|
|
4372
|
-
|
|
4373
|
-
|
|
4376
|
+
Dt as y,
|
|
4377
|
+
Kr as z
|
|
4374
4378
|
};
|