@everymatrix/casino-my-games-nd 1.86.4 → 1.86.5
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-DAk9Rz5y.js → CasinoFavoritesSectionNd-DnjMMxPF.js} +1044 -1076
- package/components/{CasinoFavoritesSectionNd-Ct7-yK1Y.js → CasinoFavoritesSectionNd-IjBGIAKV.js} +1003 -1035
- package/components/CasinoFavoritesSectionNd-VfWjc6cO.cjs +3 -0
- package/components/{CasinoFilter-thaqa7s1.js → CasinoFilter-BIQiqdaS.js} +423 -373
- package/components/{CasinoFilter-Di7-lhYG.js → CasinoFilter-BiUAGzYo.js} +446 -398
- package/components/CasinoFilter-yG2Ssg_Z.cjs +16 -0
- package/components/{CasinoGameThumbnailNd-v6BFSSx8.js → CasinoGameThumbnailNd-BQGhUZqf.js} +64 -66
- package/components/CasinoGameThumbnailNd-BsrshKrT.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-CJbI5Vnp.js → CasinoGameThumbnailNd-UlnMygo7.js} +64 -66
- package/components/{CasinoGamesCategorySectionNd-1u77-OEV.js → CasinoGamesCategorySectionNd-7O2PEJfi.js} +190 -190
- package/components/{CasinoGamesCategorySectionNd-PMFkdFPJ.js → CasinoGamesCategorySectionNd-BTcRtShM.js} +258 -258
- package/components/{CasinoGamesCategorySectionNd-CQmI83_8.cjs → CasinoGamesCategorySectionNd-sCQdekDn.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DGHqUI7n.cjs → CasinoLastPlayedSectionNd-BkEol2F9.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CKUoApgO.js → CasinoLastPlayedSectionNd-DsyJ1YyQ.js} +46 -46
- package/components/{CasinoLastPlayedSectionNd-tIciGarW.js → CasinoLastPlayedSectionNd-ugG0QJz8.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-B0WFqlQl.js → CasinoMostPlayedSectionNd-9SnZTf2U.js} +39 -39
- package/components/{CasinoMostPlayedSectionNd-DExw2cHb.cjs → CasinoMostPlayedSectionNd-BSjNU0qA.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Pcx-G5nM.js → CasinoMostPlayedSectionNd-v4PUECqD.js} +39 -39
- package/components/{CasinoMyGamesNd-Dt79TB3B.cjs → CasinoMyGamesNd-2mxQS8Zr.cjs} +1 -1
- package/components/{CasinoMyGamesNd-59jwfIW0.js → CasinoMyGamesNd-4ljZ9iaH.js} +52 -52
- package/components/{CasinoMyGamesNd-C6tSORAg.js → CasinoMyGamesNd-CfI4-Ywh.js} +55 -55
- package/components/{CasinoSort-BCyCciHd.cjs → CasinoSort-DPbziH-d.cjs} +1 -1
- package/components/{CasinoSort-Dc3_bYWo.js → CasinoSort-DR4XC8kH.js} +109 -108
- package/components/{CasinoSort-DUQ8fN-8.js → CasinoSort-WLSmCHwf.js} +116 -117
- 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/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BFcC7upG.cjs +0 -16
- package/components/CasinoFilter-CdSKknn8.cjs +0 -3
- package/components/CasinoGameThumbnailNd-6zQ8cacB.cjs +0 -30
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
package/components/{CasinoFavoritesSectionNd-DAk9Rz5y.js → CasinoFavoritesSectionNd-DnjMMxPF.js}
RENAMED
|
@@ -2,30 +2,30 @@ var jt = Object.defineProperty, kt = Object.defineProperties;
|
|
|
2
2
|
var Vt = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ke = Object.getOwnPropertySymbols;
|
|
4
4
|
var Xt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
Xt.call(t,
|
|
5
|
+
var Ee = (e, t, r) => t in e ? jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
Xt.call(t, r) && Ee(e, r, t[r]);
|
|
8
8
|
if (ke)
|
|
9
|
-
for (var
|
|
10
|
-
zt.call(t,
|
|
9
|
+
for (var r of ke(t))
|
|
10
|
+
zt.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Xe = (e, t) => kt(e, Vt(t));
|
|
13
|
-
var B = (e, t,
|
|
14
|
-
var ze = (e, t,
|
|
13
|
+
var B = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ze = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
u(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
u(r.next(l));
|
|
18
|
+
} catch (a) {
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
u(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
u(r.throw(l));
|
|
24
|
+
} catch (a) {
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, u = (l) => l.done ?
|
|
28
|
-
u((
|
|
27
|
+
}, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
|
|
28
|
+
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function L() {
|
|
31
31
|
}
|
|
@@ -35,42 +35,42 @@ function ht(e) {
|
|
|
35
35
|
function We() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function W(e) {
|
|
39
39
|
e.forEach(ht);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function De(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function lt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let se;
|
|
48
|
+
function hi(e, t) {
|
|
49
|
+
return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
|
|
50
50
|
}
|
|
51
51
|
function Wt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function ft(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
|
-
for (const
|
|
57
|
-
|
|
56
|
+
for (const n of t)
|
|
57
|
+
n(void 0);
|
|
58
58
|
return L;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
return
|
|
60
|
+
const r = e.subscribe(...t);
|
|
61
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(ft(t,
|
|
63
|
+
function li(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(ft(t, r));
|
|
65
65
|
}
|
|
66
66
|
function Zt(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function Qt(e, t,
|
|
70
|
-
const
|
|
71
|
-
if (!
|
|
69
|
+
function Qt(e, t, r) {
|
|
70
|
+
const n = qt(e);
|
|
71
|
+
if (!n.getElementById(t)) {
|
|
72
72
|
const i = ne("style");
|
|
73
|
-
i.id = t, i.textContent =
|
|
73
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function qt(e) {
|
|
@@ -90,15 +90,15 @@ function Jt(e, t) {
|
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
e.insertBefore(t,
|
|
93
|
+
function me(e, t, r) {
|
|
94
|
+
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function re(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
for (let
|
|
101
|
-
e[
|
|
99
|
+
function fi(e, t) {
|
|
100
|
+
for (let r = 0; r < e.length; r += 1)
|
|
101
|
+
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
103
|
function ne(e) {
|
|
104
104
|
return document.createElement(e);
|
|
@@ -109,39 +109,39 @@ function Yt(e) {
|
|
|
109
109
|
function ct(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function ci() {
|
|
113
113
|
return ct(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function mi() {
|
|
116
116
|
return ct("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return e.addEventListener(t,
|
|
118
|
+
function gi(e, t, r, n) {
|
|
119
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
function Ge(e, t, r) {
|
|
122
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
|
-
function g(e, t,
|
|
125
|
-
const
|
|
126
|
-
|
|
124
|
+
function g(e, t, r) {
|
|
125
|
+
const n = t.toLowerCase();
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ge(e, t, r);
|
|
127
127
|
}
|
|
128
128
|
function Kt(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function di(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function bi(e, t) {
|
|
136
136
|
e.value = t == null ? "" : t;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function pi(e, t, r, n) {
|
|
139
|
+
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
e.classList.toggle(t, !!
|
|
141
|
+
function yi(e, t, r) {
|
|
142
|
+
e.classList.toggle(t, !!r);
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class Ei {
|
|
145
145
|
constructor(t = !1) {
|
|
146
146
|
/**
|
|
147
147
|
* @private
|
|
@@ -171,17 +171,17 @@ class yi {
|
|
|
171
171
|
* @param {HTMLElement | SVGElement} anchor
|
|
172
172
|
* @returns {void}
|
|
173
173
|
*/
|
|
174
|
-
m(t,
|
|
174
|
+
m(t, r, n = null) {
|
|
175
175
|
this.e || (this.is_svg ? this.e = Yt(
|
|
176
176
|
/** @type {keyof SVGElementTagNameMap} */
|
|
177
|
-
|
|
177
|
+
r.nodeName
|
|
178
178
|
) : this.e = ne(
|
|
179
179
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
180
|
-
|
|
181
|
-
), this.t =
|
|
180
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
181
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
182
182
|
/** @type {HTMLTemplateElement} */
|
|
183
|
-
|
|
184
|
-
), this.c(t)), this.i(
|
|
183
|
+
r.content
|
|
184
|
+
), this.c(t)), this.i(n);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
187
|
* @param {string} html
|
|
@@ -195,8 +195,8 @@ class yi {
|
|
|
195
195
|
/**
|
|
196
196
|
* @returns {void} */
|
|
197
197
|
i(t) {
|
|
198
|
-
for (let
|
|
199
|
-
|
|
198
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
199
|
+
me(this.t, this.n[r], t);
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* @param {string} html
|
|
@@ -208,139 +208,139 @@ class yi {
|
|
|
208
208
|
/**
|
|
209
209
|
* @returns {void} */
|
|
210
210
|
d() {
|
|
211
|
-
this.n.forEach(
|
|
211
|
+
this.n.forEach(re);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function er(e) {
|
|
215
215
|
const t = {};
|
|
216
216
|
return e.childNodes.forEach(
|
|
217
217
|
/** @param {Element} node */
|
|
218
|
-
(
|
|
219
|
-
t[
|
|
218
|
+
(r) => {
|
|
219
|
+
t[r.slot || "default"] = !0;
|
|
220
220
|
}
|
|
221
221
|
), t;
|
|
222
222
|
}
|
|
223
|
-
let
|
|
224
|
-
function
|
|
225
|
-
|
|
223
|
+
let K;
|
|
224
|
+
function Y(e) {
|
|
225
|
+
K = e;
|
|
226
226
|
}
|
|
227
227
|
function mt() {
|
|
228
|
-
if (!
|
|
228
|
+
if (!K)
|
|
229
229
|
throw new Error("Function called outside component initialization");
|
|
230
|
-
return
|
|
230
|
+
return K;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function tr(e) {
|
|
233
233
|
mt().$$.on_mount.push(e);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function vi(e) {
|
|
236
236
|
mt().$$.on_destroy.push(e);
|
|
237
237
|
}
|
|
238
|
-
const
|
|
239
|
-
let
|
|
238
|
+
const F = [], Ae = [];
|
|
239
|
+
let j = [];
|
|
240
240
|
const Ze = [], gt = /* @__PURE__ */ Promise.resolve();
|
|
241
|
-
let
|
|
241
|
+
let we = !1;
|
|
242
242
|
function dt() {
|
|
243
|
-
|
|
243
|
+
we || (we = !0, gt.then(H));
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function _i() {
|
|
246
246
|
return dt(), gt;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
|
|
248
|
+
function Pe(e) {
|
|
249
|
+
j.push(e);
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
let
|
|
251
|
+
const ve = /* @__PURE__ */ new Set();
|
|
252
|
+
let D = 0;
|
|
253
253
|
function H() {
|
|
254
|
-
if (
|
|
254
|
+
if (D !== 0)
|
|
255
255
|
return;
|
|
256
|
-
const e =
|
|
256
|
+
const e = K;
|
|
257
257
|
do {
|
|
258
258
|
try {
|
|
259
|
-
for (;
|
|
260
|
-
const t =
|
|
261
|
-
|
|
259
|
+
for (; D < F.length; ) {
|
|
260
|
+
const t = F[D];
|
|
261
|
+
D++, Y(t), rr(t.$$);
|
|
262
262
|
}
|
|
263
263
|
} catch (t) {
|
|
264
|
-
throw
|
|
264
|
+
throw F.length = 0, D = 0, t;
|
|
265
265
|
}
|
|
266
|
-
for (
|
|
267
|
-
|
|
268
|
-
for (let t = 0; t <
|
|
269
|
-
const
|
|
270
|
-
|
|
266
|
+
for (Y(null), F.length = 0, D = 0; Ae.length; )
|
|
267
|
+
Ae.pop()();
|
|
268
|
+
for (let t = 0; t < j.length; t += 1) {
|
|
269
|
+
const r = j[t];
|
|
270
|
+
ve.has(r) || (ve.add(r), r());
|
|
271
271
|
}
|
|
272
|
-
|
|
273
|
-
} while (
|
|
272
|
+
j.length = 0;
|
|
273
|
+
} while (F.length);
|
|
274
274
|
for (; Ze.length; )
|
|
275
275
|
Ze.pop()();
|
|
276
|
-
|
|
276
|
+
we = !1, ve.clear(), Y(e);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function rr(e) {
|
|
279
279
|
if (e.fragment !== null) {
|
|
280
|
-
e.update(),
|
|
280
|
+
e.update(), W(e.before_update);
|
|
281
281
|
const t = e.dirty;
|
|
282
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
282
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
const t = [],
|
|
287
|
-
|
|
285
|
+
function nr(e) {
|
|
286
|
+
const t = [], r = [];
|
|
287
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
288
288
|
}
|
|
289
|
-
const
|
|
289
|
+
const ir = /* @__PURE__ */ new Set();
|
|
290
290
|
function bt(e, t) {
|
|
291
|
-
e && e.i && (
|
|
291
|
+
e && e.i && (ir.delete(e), e.i(t));
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function xi(e) {
|
|
294
294
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Hi(e, t) {
|
|
297
297
|
e.d(1), t.delete(e.key);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Ti(e, t, r, n, i, s, o, u, l, a, h, c) {
|
|
300
300
|
let f = e.length, b = s.length, y = f;
|
|
301
301
|
const x = {};
|
|
302
302
|
for (; y--; )
|
|
303
303
|
x[e[y].key] = y;
|
|
304
304
|
const S = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), A = [];
|
|
305
305
|
for (y = b; y--; ) {
|
|
306
|
-
const
|
|
307
|
-
let C =
|
|
308
|
-
C ? A.push(() => C.p(
|
|
306
|
+
const v = c(i, s, y), m = r(v);
|
|
307
|
+
let C = o.get(m);
|
|
308
|
+
C ? A.push(() => C.p(v, t)) : (C = a(m, v), C.c()), O.set(m, S[y] = C), m in x && P.set(m, Math.abs(y - x[m]));
|
|
309
309
|
}
|
|
310
310
|
const I = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
|
311
|
-
function T(
|
|
312
|
-
bt(
|
|
311
|
+
function T(v) {
|
|
312
|
+
bt(v, 1), v.m(u, h), o.set(v.key, v), h = v.first, b--;
|
|
313
313
|
}
|
|
314
314
|
for (; f && b; ) {
|
|
315
|
-
const
|
|
316
|
-
|
|
315
|
+
const v = S[b - 1], m = e[f - 1], C = v.key, ie = m.key;
|
|
316
|
+
v === m ? (h = v.first, f--, b--) : O.has(ie) ? !o.has(C) || I.has(C) ? T(v) : N.has(ie) ? f-- : P.get(C) > P.get(ie) ? (N.add(C), T(v)) : (I.add(ie), f--) : (l(m, o), f--);
|
|
317
317
|
}
|
|
318
318
|
for (; f--; ) {
|
|
319
|
-
const
|
|
320
|
-
O.has(
|
|
319
|
+
const v = e[f];
|
|
320
|
+
O.has(v.key) || l(v, o);
|
|
321
321
|
}
|
|
322
322
|
for (; b; )
|
|
323
323
|
T(S[b - 1]);
|
|
324
|
-
return
|
|
325
|
-
}
|
|
326
|
-
function
|
|
327
|
-
const { fragment:
|
|
328
|
-
|
|
329
|
-
const s = e.$$.on_mount.map(ht).filter(
|
|
330
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
331
|
-
}), i.forEach(
|
|
332
|
-
}
|
|
333
|
-
function
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
function
|
|
338
|
-
e.$$.dirty[0] === -1 && (
|
|
339
|
-
}
|
|
340
|
-
function
|
|
341
|
-
const l =
|
|
342
|
-
|
|
343
|
-
const
|
|
324
|
+
return W(A), S;
|
|
325
|
+
}
|
|
326
|
+
function sr(e, t, r) {
|
|
327
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
328
|
+
n && n.m(t, r), Pe(() => {
|
|
329
|
+
const s = e.$$.on_mount.map(ht).filter(De);
|
|
330
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
|
|
331
|
+
}), i.forEach(Pe);
|
|
332
|
+
}
|
|
333
|
+
function or(e, t) {
|
|
334
|
+
const r = e.$$;
|
|
335
|
+
r.fragment !== null && (nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
336
|
+
}
|
|
337
|
+
function ar(e, t) {
|
|
338
|
+
e.$$.dirty[0] === -1 && (F.push(e), dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
339
|
+
}
|
|
340
|
+
function ur(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
341
|
+
const l = K;
|
|
342
|
+
Y(e);
|
|
343
|
+
const a = e.$$ = {
|
|
344
344
|
fragment: null,
|
|
345
345
|
ctx: [],
|
|
346
346
|
// state
|
|
@@ -361,24 +361,24 @@ function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
361
361
|
skip_bound: !1,
|
|
362
362
|
root: t.target || l.$$.root
|
|
363
363
|
};
|
|
364
|
-
|
|
364
|
+
o && o(a.root);
|
|
365
365
|
let h = !1;
|
|
366
|
-
if (
|
|
366
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
|
367
367
|
const y = b.length ? b[0] : f;
|
|
368
|
-
return
|
|
369
|
-
}) : [],
|
|
368
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), h && ar(e, c)), f;
|
|
369
|
+
}) : [], a.update(), h = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
370
370
|
if (t.hydrate) {
|
|
371
371
|
const c = Kt(t.target);
|
|
372
|
-
|
|
372
|
+
a.fragment && a.fragment.l(c), c.forEach(re);
|
|
373
373
|
} else
|
|
374
|
-
|
|
375
|
-
t.intro && bt(e.$$.fragment),
|
|
374
|
+
a.fragment && a.fragment.c();
|
|
375
|
+
t.intro && bt(e.$$.fragment), sr(e, t.target, t.anchor), H();
|
|
376
376
|
}
|
|
377
|
-
|
|
377
|
+
Y(l);
|
|
378
378
|
}
|
|
379
379
|
let pt;
|
|
380
380
|
typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
381
|
-
constructor(t,
|
|
381
|
+
constructor(t, r, n) {
|
|
382
382
|
super();
|
|
383
383
|
/** The Svelte component constructor */
|
|
384
384
|
B(this, "$$ctor");
|
|
@@ -398,19 +398,19 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
398
398
|
B(this, "$$l", {});
|
|
399
399
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
400
400
|
B(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
401
|
-
this.$$ctor = t, this.$$s =
|
|
401
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
402
402
|
}
|
|
403
|
-
addEventListener(t,
|
|
404
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
405
|
-
const i = this.$$c.$on(t,
|
|
406
|
-
this.$$l_u.set(
|
|
403
|
+
addEventListener(t, r, n) {
|
|
404
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
405
|
+
const i = this.$$c.$on(t, r);
|
|
406
|
+
this.$$l_u.set(r, i);
|
|
407
407
|
}
|
|
408
|
-
super.addEventListener(t,
|
|
408
|
+
super.addEventListener(t, r, n);
|
|
409
409
|
}
|
|
410
|
-
removeEventListener(t,
|
|
411
|
-
if (super.removeEventListener(t,
|
|
412
|
-
const i = this.$$l_u.get(
|
|
413
|
-
i && (i(), this.$$l_u.delete(
|
|
410
|
+
removeEventListener(t, r, n) {
|
|
411
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
412
|
+
const i = this.$$l_u.get(r);
|
|
413
|
+
i && (i(), this.$$l_u.delete(r));
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
connectedCallback() {
|
|
@@ -418,39 +418,39 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
418
418
|
if (this.$$cn = !0, !this.$$c) {
|
|
419
419
|
let t = function(s) {
|
|
420
420
|
return () => {
|
|
421
|
-
let
|
|
421
|
+
let o;
|
|
422
422
|
return {
|
|
423
423
|
c: function() {
|
|
424
|
-
|
|
424
|
+
o = ne("slot"), s !== "default" && Ge(o, "name", s);
|
|
425
425
|
},
|
|
426
426
|
/**
|
|
427
427
|
* @param {HTMLElement} target
|
|
428
428
|
* @param {HTMLElement} [anchor]
|
|
429
429
|
*/
|
|
430
|
-
m: function(
|
|
431
|
-
|
|
430
|
+
m: function(a, h) {
|
|
431
|
+
me(a, o, h);
|
|
432
432
|
},
|
|
433
|
-
d: function(
|
|
434
|
-
|
|
433
|
+
d: function(a) {
|
|
434
|
+
a && re(o);
|
|
435
435
|
}
|
|
436
436
|
};
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
440
440
|
return;
|
|
441
|
-
const
|
|
441
|
+
const r = {}, n = er(this);
|
|
442
442
|
for (const s of this.$$s)
|
|
443
|
-
s in
|
|
443
|
+
s in n && (r[s] = [t(s)]);
|
|
444
444
|
for (const s of this.attributes) {
|
|
445
|
-
const
|
|
446
|
-
|
|
445
|
+
const o = this.$$g_p(s.name);
|
|
446
|
+
o in this.$$d || (this.$$d[o] = ae(o, s.value, this.$$p_d, "toProp"));
|
|
447
447
|
}
|
|
448
448
|
for (const s in this.$$p_d)
|
|
449
449
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
450
450
|
this.$$c = new this.$$ctor({
|
|
451
451
|
target: this.shadowRoot || this,
|
|
452
452
|
props: Xe(Ve({}, this.$$d), {
|
|
453
|
-
$$slots:
|
|
453
|
+
$$slots: r,
|
|
454
454
|
$$scope: {
|
|
455
455
|
ctx: []
|
|
456
456
|
}
|
|
@@ -460,21 +460,21 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
460
460
|
this.$$r = !0;
|
|
461
461
|
for (const s in this.$$p_d)
|
|
462
462
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
463
|
-
const
|
|
463
|
+
const o = ae(
|
|
464
464
|
s,
|
|
465
465
|
this.$$d[s],
|
|
466
466
|
this.$$p_d,
|
|
467
467
|
"toAttribute"
|
|
468
468
|
);
|
|
469
|
-
|
|
469
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
470
470
|
}
|
|
471
471
|
this.$$r = !1;
|
|
472
472
|
};
|
|
473
473
|
this.$$c.$$.after_update.push(i), i();
|
|
474
474
|
for (const s in this.$$l)
|
|
475
|
-
for (const
|
|
476
|
-
const u = this.$$c.$on(s,
|
|
477
|
-
this.$$l_u.set(
|
|
475
|
+
for (const o of this.$$l[s]) {
|
|
476
|
+
const u = this.$$c.$on(s, o);
|
|
477
|
+
this.$$l_u.set(o, u);
|
|
478
478
|
}
|
|
479
479
|
this.$$l = {};
|
|
480
480
|
}
|
|
@@ -482,9 +482,9 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
482
482
|
}
|
|
483
483
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
484
484
|
// and setting attributes through setAttribute etc, this is helpful
|
|
485
|
-
attributeChangedCallback(t,
|
|
485
|
+
attributeChangedCallback(t, r, n) {
|
|
486
486
|
var i;
|
|
487
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t,
|
|
487
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
488
488
|
}
|
|
489
489
|
disconnectedCallback() {
|
|
490
490
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -493,16 +493,16 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
493
493
|
}
|
|
494
494
|
$$g_p(t) {
|
|
495
495
|
return Object.keys(this.$$p_d).find(
|
|
496
|
-
(
|
|
496
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
497
497
|
) || t;
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
|
-
function ae(e, t,
|
|
500
|
+
function ae(e, t, r, n) {
|
|
501
501
|
var s;
|
|
502
|
-
const i = (s =
|
|
503
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
502
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
503
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
504
504
|
return t;
|
|
505
|
-
if (
|
|
505
|
+
if (n === "toAttribute")
|
|
506
506
|
switch (i) {
|
|
507
507
|
case "Object":
|
|
508
508
|
case "Array":
|
|
@@ -527,10 +527,10 @@ function ae(e, t, n, r) {
|
|
|
527
527
|
return t;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
let
|
|
530
|
+
function hr(e, t, r, n, i, s) {
|
|
531
|
+
let o = class extends pt {
|
|
532
532
|
constructor() {
|
|
533
|
-
super(e,
|
|
533
|
+
super(e, r, i), this.$$p_d = t;
|
|
534
534
|
}
|
|
535
535
|
static get observedAttributes() {
|
|
536
536
|
return Object.keys(t).map(
|
|
@@ -539,26 +539,26 @@ function ln(e, t, n, r, i, s) {
|
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
return Object.keys(t).forEach((u) => {
|
|
542
|
-
Object.defineProperty(
|
|
542
|
+
Object.defineProperty(o.prototype, u, {
|
|
543
543
|
get() {
|
|
544
544
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
545
545
|
},
|
|
546
546
|
set(l) {
|
|
547
|
-
var
|
|
548
|
-
l = ae(u, l, t), this.$$d[u] = l, (
|
|
547
|
+
var a;
|
|
548
|
+
l = ae(u, l, t), this.$$d[u] = l, (a = this.$$c) == null || a.$set({ [u]: l });
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
|
-
}),
|
|
552
|
-
Object.defineProperty(
|
|
551
|
+
}), n.forEach((u) => {
|
|
552
|
+
Object.defineProperty(o.prototype, u, {
|
|
553
553
|
get() {
|
|
554
554
|
var l;
|
|
555
555
|
return (l = this.$$c) == null ? void 0 : l[u];
|
|
556
556
|
}
|
|
557
557
|
});
|
|
558
558
|
}), e.element = /** @type {any} */
|
|
559
|
-
|
|
559
|
+
o, o;
|
|
560
560
|
}
|
|
561
|
-
class
|
|
561
|
+
class lr {
|
|
562
562
|
constructor() {
|
|
563
563
|
/**
|
|
564
564
|
* ### PRIVATE API
|
|
@@ -579,7 +579,7 @@ class fn {
|
|
|
579
579
|
}
|
|
580
580
|
/** @returns {void} */
|
|
581
581
|
$destroy() {
|
|
582
|
-
|
|
582
|
+
or(this, 1), this.$destroy = L;
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
585
585
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -587,13 +587,13 @@ class fn {
|
|
|
587
587
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
588
588
|
* @returns {() => void}
|
|
589
589
|
*/
|
|
590
|
-
$on(t,
|
|
591
|
-
if (
|
|
590
|
+
$on(t, r) {
|
|
591
|
+
if (!De(r))
|
|
592
592
|
return L;
|
|
593
|
-
const
|
|
594
|
-
return
|
|
595
|
-
const i =
|
|
596
|
-
i !== -1 &&
|
|
593
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
594
|
+
return n.push(r), () => {
|
|
595
|
+
const i = n.indexOf(r);
|
|
596
|
+
i !== -1 && n.splice(i, 1);
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
599
|
/**
|
|
@@ -604,148 +604,60 @@ class fn {
|
|
|
604
604
|
this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
const
|
|
608
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
613
|
-
purpose with or without fee is hereby granted.
|
|
614
|
-
|
|
615
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
616
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
617
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
618
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
619
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
620
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
621
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
622
|
-
***************************************************************************** */
|
|
623
|
-
var we = function(e, t) {
|
|
624
|
-
return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
625
|
-
n.__proto__ = r;
|
|
626
|
-
} || function(n, r) {
|
|
627
|
-
for (var i in r)
|
|
628
|
-
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
629
|
-
}, we(e, t);
|
|
630
|
-
};
|
|
631
|
-
function ce(e, t) {
|
|
632
|
-
if (typeof t != "function" && t !== null)
|
|
633
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
634
|
-
we(e, t);
|
|
635
|
-
function n() {
|
|
636
|
-
this.constructor = e;
|
|
637
|
-
}
|
|
638
|
-
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
639
|
-
}
|
|
640
|
-
var E = function() {
|
|
641
|
-
return E = Object.assign || function(t) {
|
|
642
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
643
|
-
n = arguments[r];
|
|
644
|
-
for (var s in n)
|
|
645
|
-
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
646
|
-
}
|
|
647
|
-
return t;
|
|
648
|
-
}, E.apply(this, arguments);
|
|
649
|
-
};
|
|
650
|
-
function mn(e, t) {
|
|
651
|
-
var n = {};
|
|
652
|
-
for (var r in e)
|
|
653
|
-
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
654
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
655
|
-
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
656
|
-
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
657
|
-
return n;
|
|
658
|
-
}
|
|
659
|
-
function Ti(e) {
|
|
660
|
-
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
661
|
-
if (n)
|
|
662
|
-
return n.call(e);
|
|
663
|
-
if (e && typeof e.length == "number")
|
|
664
|
-
return {
|
|
665
|
-
next: function() {
|
|
666
|
-
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
670
|
-
}
|
|
671
|
-
function Si(e, t) {
|
|
672
|
-
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
673
|
-
if (!n)
|
|
674
|
-
return e;
|
|
675
|
-
var r = n.call(e), i, s = [], a;
|
|
676
|
-
try {
|
|
677
|
-
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
678
|
-
s.push(i.value);
|
|
679
|
-
} catch (u) {
|
|
680
|
-
a = { error: u };
|
|
681
|
-
} finally {
|
|
682
|
-
try {
|
|
683
|
-
i && !i.done && (n = r.return) && n.call(r);
|
|
684
|
-
} finally {
|
|
685
|
-
if (a)
|
|
686
|
-
throw a.error;
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
return s;
|
|
690
|
-
}
|
|
691
|
-
function Ee(e, t, n) {
|
|
692
|
-
if (n || arguments.length === 2)
|
|
693
|
-
for (var r = 0, i = t.length, s; r < i; r++)
|
|
694
|
-
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
695
|
-
return e.concat(s || t);
|
|
696
|
-
}
|
|
697
|
-
const D = [];
|
|
698
|
-
function gn(e, t) {
|
|
607
|
+
const fr = "4";
|
|
608
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
|
|
609
|
+
const G = [];
|
|
610
|
+
function cr(e, t) {
|
|
699
611
|
return {
|
|
700
|
-
subscribe:
|
|
612
|
+
subscribe: ge(e, t).subscribe
|
|
701
613
|
};
|
|
702
614
|
}
|
|
703
|
-
function
|
|
704
|
-
let
|
|
705
|
-
const
|
|
615
|
+
function ge(e, t = L) {
|
|
616
|
+
let r;
|
|
617
|
+
const n = /* @__PURE__ */ new Set();
|
|
706
618
|
function i(u) {
|
|
707
|
-
if (lt(e, u) && (e = u,
|
|
708
|
-
const l = !
|
|
709
|
-
for (const
|
|
710
|
-
|
|
619
|
+
if (lt(e, u) && (e = u, r)) {
|
|
620
|
+
const l = !G.length;
|
|
621
|
+
for (const a of n)
|
|
622
|
+
a[1](), G.push(a, e);
|
|
711
623
|
if (l) {
|
|
712
|
-
for (let
|
|
713
|
-
|
|
714
|
-
|
|
624
|
+
for (let a = 0; a < G.length; a += 2)
|
|
625
|
+
G[a][0](G[a + 1]);
|
|
626
|
+
G.length = 0;
|
|
715
627
|
}
|
|
716
628
|
}
|
|
717
629
|
}
|
|
718
630
|
function s(u) {
|
|
719
631
|
i(u(e));
|
|
720
632
|
}
|
|
721
|
-
function
|
|
722
|
-
const
|
|
723
|
-
return
|
|
724
|
-
|
|
633
|
+
function o(u, l = L) {
|
|
634
|
+
const a = [u, l];
|
|
635
|
+
return n.add(a), n.size === 1 && (r = t(i, s) || L), u(e), () => {
|
|
636
|
+
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
725
637
|
};
|
|
726
638
|
}
|
|
727
|
-
return { set: i, update: s, subscribe:
|
|
639
|
+
return { set: i, update: s, subscribe: o };
|
|
728
640
|
}
|
|
729
|
-
function
|
|
730
|
-
const
|
|
641
|
+
function Z(e, t, r) {
|
|
642
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
731
643
|
if (!i.every(Boolean))
|
|
732
644
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
733
645
|
const s = t.length < 2;
|
|
734
|
-
return
|
|
646
|
+
return cr(r, (o, u) => {
|
|
735
647
|
let l = !1;
|
|
736
|
-
const
|
|
648
|
+
const a = [];
|
|
737
649
|
let h = 0, c = L;
|
|
738
650
|
const f = () => {
|
|
739
651
|
if (h)
|
|
740
652
|
return;
|
|
741
653
|
c();
|
|
742
|
-
const y = t(
|
|
743
|
-
s ?
|
|
654
|
+
const y = t(n ? a[0] : a, o, u);
|
|
655
|
+
s ? o(y) : c = De(y) ? y : L;
|
|
744
656
|
}, b = i.map(
|
|
745
657
|
(y, x) => ft(
|
|
746
658
|
y,
|
|
747
659
|
(S) => {
|
|
748
|
-
|
|
660
|
+
a[x] = S, h &= ~(1 << x), l && f();
|
|
749
661
|
},
|
|
750
662
|
() => {
|
|
751
663
|
h |= 1 << x;
|
|
@@ -753,190 +665,240 @@ function W(e, t, n) {
|
|
|
753
665
|
)
|
|
754
666
|
);
|
|
755
667
|
return l = !0, f(), function() {
|
|
756
|
-
|
|
668
|
+
W(b), c(), l = !1;
|
|
757
669
|
};
|
|
758
670
|
});
|
|
759
671
|
}
|
|
760
|
-
function
|
|
672
|
+
function mr(e) {
|
|
761
673
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
762
674
|
}
|
|
763
|
-
var
|
|
764
|
-
return
|
|
675
|
+
var gr = function(t) {
|
|
676
|
+
return dr(t) && !br(t);
|
|
765
677
|
};
|
|
766
|
-
function
|
|
678
|
+
function dr(e) {
|
|
767
679
|
return !!e && typeof e == "object";
|
|
768
680
|
}
|
|
769
|
-
function
|
|
681
|
+
function br(e) {
|
|
770
682
|
var t = Object.prototype.toString.call(e);
|
|
771
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
683
|
+
return t === "[object RegExp]" || t === "[object Date]" || Er(e);
|
|
772
684
|
}
|
|
773
|
-
var
|
|
774
|
-
function
|
|
775
|
-
return e.$$typeof ===
|
|
685
|
+
var pr = typeof Symbol == "function" && Symbol.for, yr = pr ? Symbol.for("react.element") : 60103;
|
|
686
|
+
function Er(e) {
|
|
687
|
+
return e.$$typeof === yr;
|
|
776
688
|
}
|
|
777
|
-
function
|
|
689
|
+
function vr(e) {
|
|
778
690
|
return Array.isArray(e) ? [] : {};
|
|
779
691
|
}
|
|
780
|
-
function
|
|
781
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
692
|
+
function ee(e, t) {
|
|
693
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(vr(e), e, t) : e;
|
|
782
694
|
}
|
|
783
|
-
function
|
|
784
|
-
return e.concat(t).map(function(
|
|
785
|
-
return
|
|
695
|
+
function _r(e, t, r) {
|
|
696
|
+
return e.concat(t).map(function(n) {
|
|
697
|
+
return ee(n, r);
|
|
786
698
|
});
|
|
787
699
|
}
|
|
788
|
-
function
|
|
700
|
+
function xr(e, t) {
|
|
789
701
|
if (!t.customMerge)
|
|
790
|
-
return
|
|
791
|
-
var
|
|
792
|
-
return typeof
|
|
702
|
+
return k;
|
|
703
|
+
var r = t.customMerge(e);
|
|
704
|
+
return typeof r == "function" ? r : k;
|
|
793
705
|
}
|
|
794
|
-
function
|
|
706
|
+
function Hr(e) {
|
|
795
707
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
796
708
|
return Object.propertyIsEnumerable.call(e, t);
|
|
797
709
|
}) : [];
|
|
798
710
|
}
|
|
799
711
|
function Qe(e) {
|
|
800
|
-
return Object.keys(e).concat(
|
|
712
|
+
return Object.keys(e).concat(Hr(e));
|
|
801
713
|
}
|
|
802
714
|
function yt(e, t) {
|
|
803
715
|
try {
|
|
804
716
|
return t in e;
|
|
805
|
-
} catch (
|
|
717
|
+
} catch (r) {
|
|
806
718
|
return !1;
|
|
807
719
|
}
|
|
808
720
|
}
|
|
809
|
-
function
|
|
721
|
+
function Tr(e, t) {
|
|
810
722
|
return yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
811
723
|
}
|
|
812
|
-
function
|
|
813
|
-
var
|
|
814
|
-
return
|
|
815
|
-
|
|
724
|
+
function Sr(e, t, r) {
|
|
725
|
+
var n = {};
|
|
726
|
+
return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
|
|
727
|
+
n[i] = ee(e[i], r);
|
|
816
728
|
}), Qe(t).forEach(function(i) {
|
|
817
|
-
|
|
818
|
-
}),
|
|
729
|
+
Tr(e, i) || (yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
730
|
+
}), n;
|
|
819
731
|
}
|
|
820
|
-
function
|
|
821
|
-
|
|
822
|
-
var
|
|
823
|
-
return s ?
|
|
732
|
+
function k(e, t, r) {
|
|
733
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
|
|
734
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
735
|
+
return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
|
|
824
736
|
}
|
|
825
|
-
|
|
737
|
+
k.all = function(t, r) {
|
|
826
738
|
if (!Array.isArray(t))
|
|
827
739
|
throw new Error("first argument should be an array");
|
|
828
|
-
return t.reduce(function(
|
|
829
|
-
return
|
|
740
|
+
return t.reduce(function(n, i) {
|
|
741
|
+
return k(n, i, r);
|
|
830
742
|
}, {});
|
|
831
743
|
};
|
|
832
|
-
var
|
|
833
|
-
const
|
|
834
|
-
function
|
|
835
|
-
|
|
744
|
+
var Br = k, Ar = Br;
|
|
745
|
+
const wr = /* @__PURE__ */ mr(Ar);
|
|
746
|
+
var Ne = function(e, t) {
|
|
747
|
+
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
748
|
+
r.__proto__ = n;
|
|
749
|
+
} || function(r, n) {
|
|
750
|
+
for (var i in n)
|
|
751
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
752
|
+
}, Ne(e, t);
|
|
753
|
+
};
|
|
754
|
+
function de(e, t) {
|
|
755
|
+
if (typeof t != "function" && t !== null)
|
|
756
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
757
|
+
Ne(e, t);
|
|
758
|
+
function r() {
|
|
759
|
+
this.constructor = e;
|
|
760
|
+
}
|
|
761
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
762
|
+
}
|
|
763
|
+
var M = function() {
|
|
764
|
+
return M = Object.assign || function(t) {
|
|
765
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
766
|
+
r = arguments[n];
|
|
767
|
+
for (var s in r)
|
|
768
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
769
|
+
}
|
|
770
|
+
return t;
|
|
771
|
+
}, M.apply(this, arguments);
|
|
772
|
+
};
|
|
773
|
+
function Pr(e, t) {
|
|
774
|
+
var r = {};
|
|
775
|
+
for (var n in e)
|
|
776
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
777
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
778
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
779
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
780
|
+
return r;
|
|
781
|
+
}
|
|
782
|
+
function _e(e, t, r) {
|
|
783
|
+
if (r || arguments.length === 2)
|
|
784
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
785
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
786
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
787
|
+
}
|
|
788
|
+
function xe(e, t) {
|
|
789
|
+
var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
|
|
836
790
|
return i(e, {
|
|
837
|
-
cache:
|
|
838
|
-
serializer:
|
|
791
|
+
cache: r,
|
|
792
|
+
serializer: n
|
|
839
793
|
});
|
|
840
794
|
}
|
|
841
|
-
function
|
|
795
|
+
function Nr(e) {
|
|
842
796
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
843
797
|
}
|
|
844
|
-
function
|
|
845
|
-
var i =
|
|
846
|
-
return typeof s == "undefined" && (s = e.call(this,
|
|
798
|
+
function Or(e, t, r, n) {
|
|
799
|
+
var i = Nr(n) ? n : r(n), s = t.get(i);
|
|
800
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
847
801
|
}
|
|
848
|
-
function
|
|
849
|
-
var
|
|
850
|
-
return typeof s == "undefined" && (s = e.apply(this,
|
|
802
|
+
function Et(e, t, r) {
|
|
803
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
804
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
851
805
|
}
|
|
852
|
-
function
|
|
853
|
-
return
|
|
806
|
+
function vt(e, t, r, n, i) {
|
|
807
|
+
return r.bind(t, e, n, i);
|
|
854
808
|
}
|
|
855
|
-
function
|
|
856
|
-
var
|
|
857
|
-
return
|
|
809
|
+
function Ir(e, t) {
|
|
810
|
+
var r = e.length === 1 ? Or : Et;
|
|
811
|
+
return vt(e, this, r, t.cache.create(), t.serializer);
|
|
858
812
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
813
|
+
function Lr(e, t) {
|
|
814
|
+
return vt(e, this, Et, t.cache.create(), t.serializer);
|
|
861
815
|
}
|
|
862
|
-
function
|
|
863
|
-
return De(e, this, Et, t.cache.create(), t.serializer);
|
|
864
|
-
}
|
|
865
|
-
var Mn = function() {
|
|
816
|
+
var Cr = function() {
|
|
866
817
|
return JSON.stringify(arguments);
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
818
|
+
}, Mr = (
|
|
819
|
+
/** @class */
|
|
820
|
+
function() {
|
|
821
|
+
function e() {
|
|
822
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
823
|
+
}
|
|
824
|
+
return e.prototype.get = function(t) {
|
|
825
|
+
return this.cache[t];
|
|
826
|
+
}, e.prototype.set = function(t, r) {
|
|
827
|
+
this.cache[t] = r;
|
|
828
|
+
}, e;
|
|
829
|
+
}()
|
|
830
|
+
), Rr = {
|
|
878
831
|
create: function() {
|
|
879
|
-
return new
|
|
832
|
+
return new Mr();
|
|
880
833
|
}
|
|
881
|
-
},
|
|
882
|
-
variadic:
|
|
883
|
-
|
|
884
|
-
|
|
834
|
+
}, He = {
|
|
835
|
+
variadic: Lr
|
|
836
|
+
}, le = function() {
|
|
837
|
+
return le = Object.assign || function(t) {
|
|
838
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
839
|
+
r = arguments[n];
|
|
840
|
+
for (var s in r)
|
|
841
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
842
|
+
}
|
|
843
|
+
return t;
|
|
844
|
+
}, le.apply(this, arguments);
|
|
845
|
+
};
|
|
846
|
+
var d;
|
|
885
847
|
(function(e) {
|
|
886
848
|
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";
|
|
887
849
|
})(d || (d = {}));
|
|
888
|
-
var
|
|
850
|
+
var E;
|
|
889
851
|
(function(e) {
|
|
890
852
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
891
|
-
})(
|
|
892
|
-
var
|
|
853
|
+
})(E || (E = {}));
|
|
854
|
+
var V;
|
|
893
855
|
(function(e) {
|
|
894
856
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
895
|
-
})(
|
|
857
|
+
})(V || (V = {}));
|
|
896
858
|
function qe(e) {
|
|
897
|
-
return e.type ===
|
|
859
|
+
return e.type === E.literal;
|
|
898
860
|
}
|
|
899
|
-
function $
|
|
900
|
-
return e.type ===
|
|
861
|
+
function $r(e) {
|
|
862
|
+
return e.type === E.argument;
|
|
901
863
|
}
|
|
902
864
|
function _t(e) {
|
|
903
|
-
return e.type ===
|
|
865
|
+
return e.type === E.number;
|
|
904
866
|
}
|
|
905
867
|
function xt(e) {
|
|
906
|
-
return e.type ===
|
|
868
|
+
return e.type === E.date;
|
|
907
869
|
}
|
|
908
870
|
function Ht(e) {
|
|
909
|
-
return e.type ===
|
|
871
|
+
return e.type === E.time;
|
|
910
872
|
}
|
|
911
873
|
function Tt(e) {
|
|
912
|
-
return e.type ===
|
|
874
|
+
return e.type === E.select;
|
|
913
875
|
}
|
|
914
876
|
function St(e) {
|
|
915
|
-
return e.type ===
|
|
877
|
+
return e.type === E.plural;
|
|
916
878
|
}
|
|
917
|
-
function
|
|
918
|
-
return e.type ===
|
|
879
|
+
function Ur(e) {
|
|
880
|
+
return e.type === E.pound;
|
|
919
881
|
}
|
|
920
882
|
function Bt(e) {
|
|
921
|
-
return e.type ===
|
|
883
|
+
return e.type === E.tag;
|
|
922
884
|
}
|
|
923
885
|
function At(e) {
|
|
924
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
886
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
925
887
|
}
|
|
926
|
-
function
|
|
927
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
888
|
+
function Oe(e) {
|
|
889
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
928
890
|
}
|
|
929
|
-
var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
930
|
-
function
|
|
891
|
+
var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
|
|
892
|
+
function Gr(e) {
|
|
931
893
|
var t = {};
|
|
932
|
-
return e.replace(
|
|
933
|
-
var
|
|
934
|
-
switch (
|
|
894
|
+
return e.replace(Dr, function(r) {
|
|
895
|
+
var n = r.length;
|
|
896
|
+
switch (r[0]) {
|
|
935
897
|
case "G":
|
|
936
|
-
t.era =
|
|
898
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
937
899
|
break;
|
|
938
900
|
case "y":
|
|
939
|
-
t.year =
|
|
901
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
940
902
|
break;
|
|
941
903
|
case "Y":
|
|
942
904
|
case "u":
|
|
@@ -948,30 +910,30 @@ function Gn(e) {
|
|
|
948
910
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
949
911
|
case "M":
|
|
950
912
|
case "L":
|
|
951
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
913
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
952
914
|
break;
|
|
953
915
|
case "w":
|
|
954
916
|
case "W":
|
|
955
917
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
956
918
|
case "d":
|
|
957
|
-
t.day = ["numeric", "2-digit"][
|
|
919
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
958
920
|
break;
|
|
959
921
|
case "D":
|
|
960
922
|
case "F":
|
|
961
923
|
case "g":
|
|
962
924
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
963
925
|
case "E":
|
|
964
|
-
t.weekday =
|
|
926
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
965
927
|
break;
|
|
966
928
|
case "e":
|
|
967
|
-
if (
|
|
929
|
+
if (n < 4)
|
|
968
930
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
969
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
931
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
970
932
|
break;
|
|
971
933
|
case "c":
|
|
972
|
-
if (
|
|
934
|
+
if (n < 4)
|
|
973
935
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
974
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
936
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
975
937
|
break;
|
|
976
938
|
case "a":
|
|
977
939
|
t.hour12 = !0;
|
|
@@ -980,32 +942,32 @@ function Gn(e) {
|
|
|
980
942
|
case "B":
|
|
981
943
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
982
944
|
case "h":
|
|
983
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
945
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
984
946
|
break;
|
|
985
947
|
case "H":
|
|
986
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
948
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
987
949
|
break;
|
|
988
950
|
case "K":
|
|
989
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
951
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
990
952
|
break;
|
|
991
953
|
case "k":
|
|
992
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
954
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
993
955
|
break;
|
|
994
956
|
case "j":
|
|
995
957
|
case "J":
|
|
996
958
|
case "C":
|
|
997
959
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
998
960
|
case "m":
|
|
999
|
-
t.minute = ["numeric", "2-digit"][
|
|
961
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1000
962
|
break;
|
|
1001
963
|
case "s":
|
|
1002
|
-
t.second = ["numeric", "2-digit"][
|
|
964
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1003
965
|
break;
|
|
1004
966
|
case "S":
|
|
1005
967
|
case "A":
|
|
1006
968
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1007
969
|
case "z":
|
|
1008
|
-
t.timeZoneName =
|
|
970
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1009
971
|
break;
|
|
1010
972
|
case "Z":
|
|
1011
973
|
case "O":
|
|
@@ -1018,33 +980,43 @@ function Gn(e) {
|
|
|
1018
980
|
return "";
|
|
1019
981
|
}), t;
|
|
1020
982
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
983
|
+
var _ = function() {
|
|
984
|
+
return _ = Object.assign || function(t) {
|
|
985
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
986
|
+
r = arguments[n];
|
|
987
|
+
for (var s in r)
|
|
988
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
989
|
+
}
|
|
990
|
+
return t;
|
|
991
|
+
}, _.apply(this, arguments);
|
|
992
|
+
};
|
|
993
|
+
var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
994
|
+
function jr(e) {
|
|
1023
995
|
if (e.length === 0)
|
|
1024
996
|
throw new Error("Number skeleton cannot be empty");
|
|
1025
|
-
for (var t = e.split(
|
|
997
|
+
for (var t = e.split(Fr).filter(function(f) {
|
|
1026
998
|
return f.length > 0;
|
|
1027
|
-
}),
|
|
1028
|
-
var s = i[
|
|
1029
|
-
if (
|
|
999
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1000
|
+
var s = i[n], o = s.split("/");
|
|
1001
|
+
if (o.length === 0)
|
|
1030
1002
|
throw new Error("Invalid number skeleton");
|
|
1031
|
-
for (var u =
|
|
1032
|
-
var c = h[
|
|
1003
|
+
for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
|
|
1004
|
+
var c = h[a];
|
|
1033
1005
|
if (c.length === 0)
|
|
1034
1006
|
throw new Error("Invalid number skeleton");
|
|
1035
1007
|
}
|
|
1036
|
-
|
|
1008
|
+
r.push({ stem: u, options: l });
|
|
1037
1009
|
}
|
|
1038
|
-
return
|
|
1010
|
+
return r;
|
|
1039
1011
|
}
|
|
1040
|
-
function
|
|
1012
|
+
function kr(e) {
|
|
1041
1013
|
return e.replace(/^(.*?)-/, "");
|
|
1042
1014
|
}
|
|
1043
|
-
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1015
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
1044
1016
|
function Ye(e) {
|
|
1045
1017
|
var t = {};
|
|
1046
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(
|
|
1047
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1018
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(r, n, i) {
|
|
1019
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1048
1020
|
}), t;
|
|
1049
1021
|
}
|
|
1050
1022
|
function Ot(e) {
|
|
@@ -1087,27 +1059,27 @@ function Ot(e) {
|
|
|
1087
1059
|
};
|
|
1088
1060
|
}
|
|
1089
1061
|
}
|
|
1090
|
-
function
|
|
1062
|
+
function Xr(e) {
|
|
1091
1063
|
var t;
|
|
1092
1064
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1093
1065
|
notation: "engineering"
|
|
1094
1066
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1095
1067
|
notation: "scientific"
|
|
1096
1068
|
}, e = e.slice(1)), t) {
|
|
1097
|
-
var
|
|
1098
|
-
if (
|
|
1069
|
+
var r = e.slice(0, 2);
|
|
1070
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
|
|
1099
1071
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1100
1072
|
t.minimumIntegerDigits = e.length;
|
|
1101
1073
|
}
|
|
1102
1074
|
return t;
|
|
1103
1075
|
}
|
|
1104
1076
|
function Ke(e) {
|
|
1105
|
-
var t = {},
|
|
1106
|
-
return
|
|
1077
|
+
var t = {}, r = Ot(e);
|
|
1078
|
+
return r || t;
|
|
1107
1079
|
}
|
|
1108
|
-
function
|
|
1109
|
-
for (var t = {},
|
|
1110
|
-
var i = r
|
|
1080
|
+
function zr(e) {
|
|
1081
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1082
|
+
var i = n[r];
|
|
1111
1083
|
switch (i.stem) {
|
|
1112
1084
|
case "percent":
|
|
1113
1085
|
case "%":
|
|
@@ -1129,7 +1101,7 @@ function zn(e) {
|
|
|
1129
1101
|
continue;
|
|
1130
1102
|
case "measure-unit":
|
|
1131
1103
|
case "unit":
|
|
1132
|
-
t.style = "unit", t.unit =
|
|
1104
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
|
1133
1105
|
continue;
|
|
1134
1106
|
case "compact-short":
|
|
1135
1107
|
case "K":
|
|
@@ -1140,13 +1112,13 @@ function zn(e) {
|
|
|
1140
1112
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1141
1113
|
continue;
|
|
1142
1114
|
case "scientific":
|
|
1143
|
-
t =
|
|
1144
|
-
return
|
|
1115
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1116
|
+
return _(_({}, l), Ke(a));
|
|
1145
1117
|
}, {}));
|
|
1146
1118
|
continue;
|
|
1147
1119
|
case "engineering":
|
|
1148
|
-
t =
|
|
1149
|
-
return
|
|
1120
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1121
|
+
return _(_({}, l), Ke(a));
|
|
1150
1122
|
}, {}));
|
|
1151
1123
|
continue;
|
|
1152
1124
|
case "notation-simple":
|
|
@@ -1191,8 +1163,8 @@ function zn(e) {
|
|
|
1191
1163
|
case "integer-width":
|
|
1192
1164
|
if (i.options.length > 1)
|
|
1193
1165
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1194
|
-
i.options[0].replace(
|
|
1195
|
-
if (
|
|
1166
|
+
i.options[0].replace(Vr, function(l, a, h, c, f, b) {
|
|
1167
|
+
if (a)
|
|
1196
1168
|
t.minimumIntegerDigits = h.length;
|
|
1197
1169
|
else {
|
|
1198
1170
|
if (c && f)
|
|
@@ -1211,25 +1183,25 @@ function zn(e) {
|
|
|
1211
1183
|
if (Je.test(i.stem)) {
|
|
1212
1184
|
if (i.options.length > 1)
|
|
1213
1185
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1214
|
-
i.stem.replace(Je, function(l,
|
|
1215
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1186
|
+
i.stem.replace(Je, function(l, a, h, c, f, b) {
|
|
1187
|
+
return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1216
1188
|
});
|
|
1217
1189
|
var s = i.options[0];
|
|
1218
|
-
s === "w" ? t =
|
|
1190
|
+
s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Ye(s)));
|
|
1219
1191
|
continue;
|
|
1220
1192
|
}
|
|
1221
1193
|
if (Pt.test(i.stem)) {
|
|
1222
|
-
t =
|
|
1194
|
+
t = _(_({}, t), Ye(i.stem));
|
|
1223
1195
|
continue;
|
|
1224
1196
|
}
|
|
1225
|
-
var
|
|
1226
|
-
|
|
1227
|
-
var u =
|
|
1228
|
-
u && (t =
|
|
1197
|
+
var o = Ot(i.stem);
|
|
1198
|
+
o && (t = _(_({}, t), o));
|
|
1199
|
+
var u = Xr(i.stem);
|
|
1200
|
+
u && (t = _(_({}, t), u));
|
|
1229
1201
|
}
|
|
1230
1202
|
return t;
|
|
1231
1203
|
}
|
|
1232
|
-
var
|
|
1204
|
+
var oe = {
|
|
1233
1205
|
"001": [
|
|
1234
1206
|
"H",
|
|
1235
1207
|
"h"
|
|
@@ -2644,23 +2616,23 @@ var se = {
|
|
|
2644
2616
|
"h"
|
|
2645
2617
|
]
|
|
2646
2618
|
};
|
|
2647
|
-
function
|
|
2648
|
-
for (var
|
|
2649
|
-
var i = e.charAt(
|
|
2619
|
+
function Wr(e, t) {
|
|
2620
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
2621
|
+
var i = e.charAt(n);
|
|
2650
2622
|
if (i === "j") {
|
|
2651
|
-
for (var s = 0;
|
|
2652
|
-
s++,
|
|
2653
|
-
var
|
|
2654
|
-
for ((
|
|
2655
|
-
|
|
2656
|
-
for (;
|
|
2657
|
-
|
|
2623
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2624
|
+
s++, n++;
|
|
2625
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Zr(t);
|
|
2626
|
+
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2627
|
+
r += l;
|
|
2628
|
+
for (; o-- > 0; )
|
|
2629
|
+
r = a + r;
|
|
2658
2630
|
} else
|
|
2659
|
-
i === "J" ?
|
|
2631
|
+
i === "J" ? r += "H" : r += i;
|
|
2660
2632
|
}
|
|
2661
|
-
return
|
|
2633
|
+
return r;
|
|
2662
2634
|
}
|
|
2663
|
-
function
|
|
2635
|
+
function Zr(e) {
|
|
2664
2636
|
var t = e.hourCycle;
|
|
2665
2637
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2666
2638
|
e.hourCycles && // @ts-ignore
|
|
@@ -2677,73 +2649,73 @@ function Zn(e) {
|
|
|
2677
2649
|
default:
|
|
2678
2650
|
throw new Error("Invalid hourCycle");
|
|
2679
2651
|
}
|
|
2680
|
-
var
|
|
2681
|
-
|
|
2682
|
-
var i =
|
|
2652
|
+
var r = e.language, n;
|
|
2653
|
+
r !== "root" && (n = e.maximize().region);
|
|
2654
|
+
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
2683
2655
|
return i[0];
|
|
2684
2656
|
}
|
|
2685
|
-
var
|
|
2657
|
+
var Te, Qr = new RegExp("^".concat(wt.source, "*")), qr = new RegExp("".concat(wt.source, "*$"));
|
|
2686
2658
|
function p(e, t) {
|
|
2687
2659
|
return { start: e, end: t };
|
|
2688
2660
|
}
|
|
2689
|
-
var
|
|
2661
|
+
var Jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
|
|
2690
2662
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2691
|
-
},
|
|
2663
|
+
}, Ie = !0;
|
|
2692
2664
|
try {
|
|
2693
|
-
var
|
|
2694
|
-
|
|
2665
|
+
var on = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2666
|
+
Ie = ((Te = on.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
|
|
2695
2667
|
} catch (e) {
|
|
2696
|
-
|
|
2668
|
+
Ie = !1;
|
|
2697
2669
|
}
|
|
2698
|
-
var et =
|
|
2670
|
+
var et = Jr ? (
|
|
2699
2671
|
// Native
|
|
2700
|
-
function(t,
|
|
2701
|
-
return t.startsWith(
|
|
2672
|
+
function(t, r, n) {
|
|
2673
|
+
return t.startsWith(r, n);
|
|
2702
2674
|
}
|
|
2703
2675
|
) : (
|
|
2704
2676
|
// For IE11
|
|
2705
|
-
function(t,
|
|
2706
|
-
return t.slice(
|
|
2677
|
+
function(t, r, n) {
|
|
2678
|
+
return t.slice(n, n + r.length) === r;
|
|
2707
2679
|
}
|
|
2708
|
-
),
|
|
2680
|
+
), Le = Yr ? String.fromCodePoint : (
|
|
2709
2681
|
// IE11
|
|
2710
2682
|
function() {
|
|
2711
|
-
for (var t = [],
|
|
2712
|
-
t[
|
|
2713
|
-
for (var
|
|
2714
|
-
if (
|
|
2715
|
-
throw RangeError(
|
|
2716
|
-
|
|
2683
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2684
|
+
t[r] = arguments[r];
|
|
2685
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
2686
|
+
if (o = t[s++], o > 1114111)
|
|
2687
|
+
throw RangeError(o + " is not a valid code point");
|
|
2688
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2717
2689
|
}
|
|
2718
|
-
return
|
|
2690
|
+
return n;
|
|
2719
2691
|
}
|
|
2720
2692
|
), tt = (
|
|
2721
2693
|
// native
|
|
2722
|
-
|
|
2694
|
+
Kr ? Object.fromEntries : (
|
|
2723
2695
|
// Ponyfill
|
|
2724
2696
|
function(t) {
|
|
2725
|
-
for (var
|
|
2726
|
-
var s = i[
|
|
2727
|
-
|
|
2697
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2698
|
+
var s = i[n], o = s[0], u = s[1];
|
|
2699
|
+
r[o] = u;
|
|
2728
2700
|
}
|
|
2729
|
-
return
|
|
2701
|
+
return r;
|
|
2730
2702
|
}
|
|
2731
2703
|
)
|
|
2732
|
-
), It =
|
|
2704
|
+
), It = en ? (
|
|
2733
2705
|
// Native
|
|
2734
|
-
function(t,
|
|
2735
|
-
return t.codePointAt(
|
|
2706
|
+
function(t, r) {
|
|
2707
|
+
return t.codePointAt(r);
|
|
2736
2708
|
}
|
|
2737
2709
|
) : (
|
|
2738
2710
|
// IE 11
|
|
2739
|
-
function(t,
|
|
2740
|
-
var
|
|
2741
|
-
if (!(
|
|
2742
|
-
var i = t.charCodeAt(
|
|
2743
|
-
return i < 55296 || i > 56319 ||
|
|
2711
|
+
function(t, r) {
|
|
2712
|
+
var n = t.length;
|
|
2713
|
+
if (!(r < 0 || r >= n)) {
|
|
2714
|
+
var i = t.charCodeAt(r), s;
|
|
2715
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2744
2716
|
}
|
|
2745
2717
|
}
|
|
2746
|
-
),
|
|
2718
|
+
), an = tn ? (
|
|
2747
2719
|
// Native
|
|
2748
2720
|
function(t) {
|
|
2749
2721
|
return t.trimStart();
|
|
@@ -2751,9 +2723,9 @@ var et = Jn ? (
|
|
|
2751
2723
|
) : (
|
|
2752
2724
|
// Ponyfill
|
|
2753
2725
|
function(t) {
|
|
2754
|
-
return t.replace(
|
|
2726
|
+
return t.replace(Qr, "");
|
|
2755
2727
|
}
|
|
2756
|
-
),
|
|
2728
|
+
), un = rn ? (
|
|
2757
2729
|
// Native
|
|
2758
2730
|
function(t) {
|
|
2759
2731
|
return t.trimEnd();
|
|
@@ -2761,126 +2733,126 @@ var et = Jn ? (
|
|
|
2761
2733
|
) : (
|
|
2762
2734
|
// Ponyfill
|
|
2763
2735
|
function(t) {
|
|
2764
|
-
return t.replace(
|
|
2736
|
+
return t.replace(qr, "");
|
|
2765
2737
|
}
|
|
2766
2738
|
);
|
|
2767
2739
|
function Lt(e, t) {
|
|
2768
2740
|
return new RegExp(e, t);
|
|
2769
2741
|
}
|
|
2770
|
-
var
|
|
2771
|
-
if (
|
|
2772
|
-
var
|
|
2773
|
-
|
|
2774
|
-
var
|
|
2775
|
-
|
|
2776
|
-
var i =
|
|
2777
|
-
return (
|
|
2742
|
+
var Ce;
|
|
2743
|
+
if (Ie) {
|
|
2744
|
+
var rt = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2745
|
+
Ce = function(t, r) {
|
|
2746
|
+
var n;
|
|
2747
|
+
rt.lastIndex = r;
|
|
2748
|
+
var i = rt.exec(t);
|
|
2749
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2778
2750
|
};
|
|
2779
2751
|
} else
|
|
2780
|
-
|
|
2781
|
-
for (var
|
|
2782
|
-
var i = It(t,
|
|
2783
|
-
if (i === void 0 || Ct(i) ||
|
|
2752
|
+
Ce = function(t, r) {
|
|
2753
|
+
for (var n = []; ; ) {
|
|
2754
|
+
var i = It(t, r);
|
|
2755
|
+
if (i === void 0 || Ct(i) || cn(i))
|
|
2784
2756
|
break;
|
|
2785
|
-
|
|
2757
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2786
2758
|
}
|
|
2787
|
-
return
|
|
2759
|
+
return Le.apply(void 0, n);
|
|
2788
2760
|
};
|
|
2789
|
-
var
|
|
2761
|
+
var hn = (
|
|
2790
2762
|
/** @class */
|
|
2791
2763
|
function() {
|
|
2792
|
-
function e(t,
|
|
2793
|
-
|
|
2764
|
+
function e(t, r) {
|
|
2765
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
2794
2766
|
}
|
|
2795
2767
|
return e.prototype.parse = function() {
|
|
2796
2768
|
if (this.offset() !== 0)
|
|
2797
2769
|
throw Error("parser can only be used once");
|
|
2798
2770
|
return this.parseMessage(0, "", !1);
|
|
2799
|
-
}, e.prototype.parseMessage = function(t,
|
|
2771
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2800
2772
|
for (var i = []; !this.isEOF(); ) {
|
|
2801
2773
|
var s = this.char();
|
|
2802
2774
|
if (s === 123) {
|
|
2803
|
-
var
|
|
2804
|
-
if (
|
|
2805
|
-
return
|
|
2806
|
-
i.push(
|
|
2775
|
+
var o = this.parseArgument(t, n);
|
|
2776
|
+
if (o.err)
|
|
2777
|
+
return o;
|
|
2778
|
+
i.push(o.val);
|
|
2807
2779
|
} else {
|
|
2808
2780
|
if (s === 125 && t > 0)
|
|
2809
2781
|
break;
|
|
2810
|
-
if (s === 35 && (
|
|
2782
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2811
2783
|
var u = this.clonePosition();
|
|
2812
2784
|
this.bump(), i.push({
|
|
2813
|
-
type:
|
|
2785
|
+
type: E.pound,
|
|
2814
2786
|
location: p(u, this.clonePosition())
|
|
2815
2787
|
});
|
|
2816
2788
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2817
|
-
if (
|
|
2789
|
+
if (n)
|
|
2818
2790
|
break;
|
|
2819
2791
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2820
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2821
|
-
var
|
|
2822
|
-
if (
|
|
2823
|
-
return
|
|
2824
|
-
i.push(
|
|
2792
|
+
} else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
|
2793
|
+
var o = this.parseTag(t, r);
|
|
2794
|
+
if (o.err)
|
|
2795
|
+
return o;
|
|
2796
|
+
i.push(o.val);
|
|
2825
2797
|
} else {
|
|
2826
|
-
var
|
|
2827
|
-
if (
|
|
2828
|
-
return
|
|
2829
|
-
i.push(
|
|
2798
|
+
var o = this.parseLiteral(t, r);
|
|
2799
|
+
if (o.err)
|
|
2800
|
+
return o;
|
|
2801
|
+
i.push(o.val);
|
|
2830
2802
|
}
|
|
2831
2803
|
}
|
|
2832
2804
|
}
|
|
2833
2805
|
return { val: i, err: null };
|
|
2834
|
-
}, e.prototype.parseTag = function(t,
|
|
2835
|
-
var
|
|
2806
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
2807
|
+
var n = this.clonePosition();
|
|
2836
2808
|
this.bump();
|
|
2837
2809
|
var i = this.parseTagName();
|
|
2838
2810
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2839
2811
|
return {
|
|
2840
2812
|
val: {
|
|
2841
|
-
type:
|
|
2813
|
+
type: E.literal,
|
|
2842
2814
|
value: "<".concat(i, "/>"),
|
|
2843
|
-
location: p(
|
|
2815
|
+
location: p(n, this.clonePosition())
|
|
2844
2816
|
},
|
|
2845
2817
|
err: null
|
|
2846
2818
|
};
|
|
2847
2819
|
if (this.bumpIf(">")) {
|
|
2848
|
-
var s = this.parseMessage(t + 1,
|
|
2820
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
2849
2821
|
if (s.err)
|
|
2850
2822
|
return s;
|
|
2851
|
-
var
|
|
2823
|
+
var o = s.val, u = this.clonePosition();
|
|
2852
2824
|
if (this.bumpIf("</")) {
|
|
2853
|
-
if (this.isEOF() || !
|
|
2825
|
+
if (this.isEOF() || !Me(this.char()))
|
|
2854
2826
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2855
|
-
var l = this.clonePosition(),
|
|
2856
|
-
return i !==
|
|
2827
|
+
var l = this.clonePosition(), a = this.parseTagName();
|
|
2828
|
+
return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2857
2829
|
val: {
|
|
2858
|
-
type:
|
|
2830
|
+
type: E.tag,
|
|
2859
2831
|
value: i,
|
|
2860
|
-
children:
|
|
2861
|
-
location: p(
|
|
2832
|
+
children: o,
|
|
2833
|
+
location: p(n, this.clonePosition())
|
|
2862
2834
|
},
|
|
2863
2835
|
err: null
|
|
2864
2836
|
} : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
|
|
2865
2837
|
} else
|
|
2866
|
-
return this.error(d.UNCLOSED_TAG, p(
|
|
2838
|
+
return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
|
|
2867
2839
|
} else
|
|
2868
|
-
return this.error(d.INVALID_TAG, p(
|
|
2840
|
+
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2869
2841
|
}, e.prototype.parseTagName = function() {
|
|
2870
2842
|
var t = this.offset();
|
|
2871
|
-
for (this.bump(); !this.isEOF() &&
|
|
2843
|
+
for (this.bump(); !this.isEOF() && fn(this.char()); )
|
|
2872
2844
|
this.bump();
|
|
2873
2845
|
return this.message.slice(t, this.offset());
|
|
2874
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2875
|
-
for (var
|
|
2876
|
-
var s = this.tryParseQuote(
|
|
2846
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
2847
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2848
|
+
var s = this.tryParseQuote(r);
|
|
2877
2849
|
if (s) {
|
|
2878
2850
|
i += s;
|
|
2879
2851
|
continue;
|
|
2880
2852
|
}
|
|
2881
|
-
var
|
|
2882
|
-
if (
|
|
2883
|
-
i +=
|
|
2853
|
+
var o = this.tryParseUnquoted(t, r);
|
|
2854
|
+
if (o) {
|
|
2855
|
+
i += o;
|
|
2884
2856
|
continue;
|
|
2885
2857
|
}
|
|
2886
2858
|
var u = this.tryParseLeftAngleBracket();
|
|
@@ -2890,14 +2862,14 @@ var ur = (
|
|
|
2890
2862
|
}
|
|
2891
2863
|
break;
|
|
2892
2864
|
}
|
|
2893
|
-
var l = p(
|
|
2865
|
+
var l = p(n, this.clonePosition());
|
|
2894
2866
|
return {
|
|
2895
|
-
val: { type:
|
|
2867
|
+
val: { type: E.literal, value: i, location: l },
|
|
2896
2868
|
err: null
|
|
2897
2869
|
};
|
|
2898
2870
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2899
2871
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2900
|
-
!
|
|
2872
|
+
!ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2901
2873
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2902
2874
|
if (this.isEOF() || this.char() !== 39)
|
|
2903
2875
|
return null;
|
|
@@ -2917,114 +2889,114 @@ var ur = (
|
|
|
2917
2889
|
return null;
|
|
2918
2890
|
}
|
|
2919
2891
|
this.bump();
|
|
2920
|
-
var
|
|
2892
|
+
var r = [this.char()];
|
|
2921
2893
|
for (this.bump(); !this.isEOF(); ) {
|
|
2922
|
-
var
|
|
2923
|
-
if (
|
|
2894
|
+
var n = this.char();
|
|
2895
|
+
if (n === 39)
|
|
2924
2896
|
if (this.peek() === 39)
|
|
2925
|
-
|
|
2897
|
+
r.push(39), this.bump();
|
|
2926
2898
|
else {
|
|
2927
2899
|
this.bump();
|
|
2928
2900
|
break;
|
|
2929
2901
|
}
|
|
2930
2902
|
else
|
|
2931
|
-
|
|
2903
|
+
r.push(n);
|
|
2932
2904
|
this.bump();
|
|
2933
2905
|
}
|
|
2934
|
-
return
|
|
2935
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2906
|
+
return Le.apply(void 0, r);
|
|
2907
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2936
2908
|
if (this.isEOF())
|
|
2937
2909
|
return null;
|
|
2938
|
-
var
|
|
2939
|
-
return
|
|
2940
|
-
}, e.prototype.parseArgument = function(t,
|
|
2941
|
-
var
|
|
2910
|
+
var n = this.char();
|
|
2911
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
|
|
2912
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
2913
|
+
var n = this.clonePosition();
|
|
2942
2914
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2943
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2915
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2944
2916
|
if (this.char() === 125)
|
|
2945
|
-
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(
|
|
2917
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
|
|
2946
2918
|
var i = this.parseIdentifierIfPossible().value;
|
|
2947
2919
|
if (!i)
|
|
2948
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2920
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2949
2921
|
if (this.bumpSpace(), this.isEOF())
|
|
2950
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2922
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2951
2923
|
switch (this.char()) {
|
|
2952
2924
|
case 125:
|
|
2953
2925
|
return this.bump(), {
|
|
2954
2926
|
val: {
|
|
2955
|
-
type:
|
|
2927
|
+
type: E.argument,
|
|
2956
2928
|
// value does not include the opening and closing braces.
|
|
2957
2929
|
value: i,
|
|
2958
|
-
location: p(
|
|
2930
|
+
location: p(n, this.clonePosition())
|
|
2959
2931
|
},
|
|
2960
2932
|
err: null
|
|
2961
2933
|
};
|
|
2962
2934
|
case 44:
|
|
2963
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2935
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2964
2936
|
default:
|
|
2965
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2937
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2966
2938
|
}
|
|
2967
2939
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2968
|
-
var t = this.clonePosition(),
|
|
2940
|
+
var t = this.clonePosition(), r = this.offset(), n = Ce(this.message, r), i = r + n.length;
|
|
2969
2941
|
this.bumpTo(i);
|
|
2970
|
-
var s = this.clonePosition(),
|
|
2971
|
-
return { value:
|
|
2972
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2973
|
-
var s,
|
|
2942
|
+
var s = this.clonePosition(), o = p(t, s);
|
|
2943
|
+
return { value: n, location: o };
|
|
2944
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2945
|
+
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2974
2946
|
switch (u) {
|
|
2975
2947
|
case "":
|
|
2976
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, p(
|
|
2948
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
|
|
2977
2949
|
case "number":
|
|
2978
2950
|
case "date":
|
|
2979
2951
|
case "time": {
|
|
2980
2952
|
this.bumpSpace();
|
|
2981
|
-
var
|
|
2953
|
+
var a = null;
|
|
2982
2954
|
if (this.bumpIf(",")) {
|
|
2983
2955
|
this.bumpSpace();
|
|
2984
2956
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2985
2957
|
if (c.err)
|
|
2986
2958
|
return c;
|
|
2987
|
-
var f =
|
|
2959
|
+
var f = un(c.val);
|
|
2988
2960
|
if (f.length === 0)
|
|
2989
2961
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2990
2962
|
var b = p(h, this.clonePosition());
|
|
2991
|
-
|
|
2963
|
+
a = { style: f, styleLocation: b };
|
|
2992
2964
|
}
|
|
2993
2965
|
var y = this.tryParseArgumentClose(i);
|
|
2994
2966
|
if (y.err)
|
|
2995
2967
|
return y;
|
|
2996
2968
|
var x = p(i, this.clonePosition());
|
|
2997
|
-
if (
|
|
2998
|
-
var S =
|
|
2969
|
+
if (a && et(a == null ? void 0 : a.style, "::", 0)) {
|
|
2970
|
+
var S = an(a.style.slice(2));
|
|
2999
2971
|
if (u === "number") {
|
|
3000
|
-
var c = this.parseNumberSkeletonFromString(S,
|
|
2972
|
+
var c = this.parseNumberSkeletonFromString(S, a.styleLocation);
|
|
3001
2973
|
return c.err ? c : {
|
|
3002
|
-
val: { type:
|
|
2974
|
+
val: { type: E.number, value: n, location: x, style: c.val },
|
|
3003
2975
|
err: null
|
|
3004
2976
|
};
|
|
3005
2977
|
} else {
|
|
3006
2978
|
if (S.length === 0)
|
|
3007
2979
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
|
|
3008
2980
|
var O = S;
|
|
3009
|
-
this.locale && (O =
|
|
2981
|
+
this.locale && (O = Wr(S, this.locale));
|
|
3010
2982
|
var f = {
|
|
3011
|
-
type:
|
|
2983
|
+
type: V.dateTime,
|
|
3012
2984
|
pattern: O,
|
|
3013
|
-
location:
|
|
3014
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3015
|
-
}, P = u === "date" ?
|
|
2985
|
+
location: a.styleLocation,
|
|
2986
|
+
parsedOptions: this.shouldParseSkeletons ? Gr(O) : {}
|
|
2987
|
+
}, P = u === "date" ? E.date : E.time;
|
|
3016
2988
|
return {
|
|
3017
|
-
val: { type: P, value:
|
|
2989
|
+
val: { type: P, value: n, location: x, style: f },
|
|
3018
2990
|
err: null
|
|
3019
2991
|
};
|
|
3020
2992
|
}
|
|
3021
2993
|
}
|
|
3022
2994
|
return {
|
|
3023
2995
|
val: {
|
|
3024
|
-
type: u === "number" ?
|
|
3025
|
-
value:
|
|
2996
|
+
type: u === "number" ? E.number : u === "date" ? E.date : E.time,
|
|
2997
|
+
value: n,
|
|
3026
2998
|
location: x,
|
|
3027
|
-
style: (s =
|
|
2999
|
+
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
3028
3000
|
},
|
|
3029
3001
|
err: null
|
|
3030
3002
|
};
|
|
@@ -3034,7 +3006,7 @@ var ur = (
|
|
|
3034
3006
|
case "select": {
|
|
3035
3007
|
var A = this.clonePosition();
|
|
3036
3008
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3037
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(A,
|
|
3009
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(A, le({}, A)));
|
|
3038
3010
|
this.bumpSpace();
|
|
3039
3011
|
var I = this.parseIdentifierIfPossible(), N = 0;
|
|
3040
3012
|
if (u !== "select" && I.value === "offset") {
|
|
@@ -3046,42 +3018,42 @@ var ur = (
|
|
|
3046
3018
|
return c;
|
|
3047
3019
|
this.bumpSpace(), I = this.parseIdentifierIfPossible(), N = c.val;
|
|
3048
3020
|
}
|
|
3049
|
-
var T = this.tryParsePluralOrSelectOptions(t, u,
|
|
3021
|
+
var T = this.tryParsePluralOrSelectOptions(t, u, r, I);
|
|
3050
3022
|
if (T.err)
|
|
3051
3023
|
return T;
|
|
3052
3024
|
var y = this.tryParseArgumentClose(i);
|
|
3053
3025
|
if (y.err)
|
|
3054
3026
|
return y;
|
|
3055
|
-
var
|
|
3027
|
+
var v = p(i, this.clonePosition());
|
|
3056
3028
|
return u === "select" ? {
|
|
3057
3029
|
val: {
|
|
3058
|
-
type:
|
|
3059
|
-
value:
|
|
3030
|
+
type: E.select,
|
|
3031
|
+
value: n,
|
|
3060
3032
|
options: tt(T.val),
|
|
3061
|
-
location:
|
|
3033
|
+
location: v
|
|
3062
3034
|
},
|
|
3063
3035
|
err: null
|
|
3064
3036
|
} : {
|
|
3065
3037
|
val: {
|
|
3066
|
-
type:
|
|
3067
|
-
value:
|
|
3038
|
+
type: E.plural,
|
|
3039
|
+
value: n,
|
|
3068
3040
|
options: tt(T.val),
|
|
3069
3041
|
offset: N,
|
|
3070
3042
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3071
|
-
location:
|
|
3043
|
+
location: v
|
|
3072
3044
|
},
|
|
3073
3045
|
err: null
|
|
3074
3046
|
};
|
|
3075
3047
|
}
|
|
3076
3048
|
default:
|
|
3077
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, p(
|
|
3049
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
|
|
3078
3050
|
}
|
|
3079
3051
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3080
3052
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3081
3053
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3082
|
-
for (var t = 0,
|
|
3083
|
-
var
|
|
3084
|
-
switch (
|
|
3054
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3055
|
+
var n = this.char();
|
|
3056
|
+
switch (n) {
|
|
3085
3057
|
case 39: {
|
|
3086
3058
|
this.bump();
|
|
3087
3059
|
var i = this.clonePosition();
|
|
@@ -3099,7 +3071,7 @@ var ur = (
|
|
|
3099
3071
|
t -= 1;
|
|
3100
3072
|
else
|
|
3101
3073
|
return {
|
|
3102
|
-
val: this.message.slice(
|
|
3074
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3103
3075
|
err: null
|
|
3104
3076
|
};
|
|
3105
3077
|
break;
|
|
@@ -3110,70 +3082,70 @@ var ur = (
|
|
|
3110
3082
|
}
|
|
3111
3083
|
}
|
|
3112
3084
|
return {
|
|
3113
|
-
val: this.message.slice(
|
|
3085
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3114
3086
|
err: null
|
|
3115
3087
|
};
|
|
3116
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3117
|
-
var
|
|
3088
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3089
|
+
var n = [];
|
|
3118
3090
|
try {
|
|
3119
|
-
|
|
3091
|
+
n = jr(t);
|
|
3120
3092
|
} catch (i) {
|
|
3121
|
-
return this.error(d.INVALID_NUMBER_SKELETON,
|
|
3093
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3122
3094
|
}
|
|
3123
3095
|
return {
|
|
3124
3096
|
val: {
|
|
3125
|
-
type:
|
|
3126
|
-
tokens:
|
|
3127
|
-
location:
|
|
3128
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3097
|
+
type: V.number,
|
|
3098
|
+
tokens: n,
|
|
3099
|
+
location: r,
|
|
3100
|
+
parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
|
|
3129
3101
|
},
|
|
3130
3102
|
err: null
|
|
3131
3103
|
};
|
|
3132
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3133
|
-
for (var s,
|
|
3134
|
-
if (
|
|
3104
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3105
|
+
for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
3106
|
+
if (a.length === 0) {
|
|
3135
3107
|
var c = this.clonePosition();
|
|
3136
|
-
if (
|
|
3108
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
3137
3109
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3138
3110
|
if (f.err)
|
|
3139
3111
|
return f;
|
|
3140
|
-
h = p(c, this.clonePosition()),
|
|
3112
|
+
h = p(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3141
3113
|
} else
|
|
3142
3114
|
break;
|
|
3143
3115
|
}
|
|
3144
|
-
if (l.has(
|
|
3145
|
-
return this.error(
|
|
3146
|
-
|
|
3116
|
+
if (l.has(a))
|
|
3117
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3118
|
+
a === "other" && (o = !0), this.bumpSpace();
|
|
3147
3119
|
var b = this.clonePosition();
|
|
3148
3120
|
if (!this.bumpIf("{"))
|
|
3149
|
-
return this.error(
|
|
3150
|
-
var y = this.parseMessage(t + 1,
|
|
3121
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3122
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3151
3123
|
if (y.err)
|
|
3152
3124
|
return y;
|
|
3153
3125
|
var x = this.tryParseArgumentClose(b);
|
|
3154
3126
|
if (x.err)
|
|
3155
3127
|
return x;
|
|
3156
3128
|
u.push([
|
|
3157
|
-
|
|
3129
|
+
a,
|
|
3158
3130
|
{
|
|
3159
3131
|
value: y.val,
|
|
3160
3132
|
location: p(b, this.clonePosition())
|
|
3161
3133
|
}
|
|
3162
|
-
]), l.add(
|
|
3134
|
+
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
3163
3135
|
}
|
|
3164
|
-
return u.length === 0 ? this.error(
|
|
3165
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3166
|
-
var
|
|
3167
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3168
|
-
for (var s = !1,
|
|
3136
|
+
return u.length === 0 ? this.error(r === "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: u, err: null };
|
|
3137
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3138
|
+
var n = 1, i = this.clonePosition();
|
|
3139
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3140
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3169
3141
|
var u = this.char();
|
|
3170
3142
|
if (u >= 48 && u <= 57)
|
|
3171
|
-
s = !0,
|
|
3143
|
+
s = !0, o = o * 10 + (u - 48), this.bump();
|
|
3172
3144
|
else
|
|
3173
3145
|
break;
|
|
3174
3146
|
}
|
|
3175
3147
|
var l = p(i, this.clonePosition());
|
|
3176
|
-
return s ? (
|
|
3148
|
+
return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3177
3149
|
}, e.prototype.offset = function() {
|
|
3178
3150
|
return this.position.offset;
|
|
3179
3151
|
}, e.prototype.isEOF = function() {
|
|
@@ -3188,17 +3160,17 @@ var ur = (
|
|
|
3188
3160
|
var t = this.position.offset;
|
|
3189
3161
|
if (t >= this.message.length)
|
|
3190
3162
|
throw Error("out of bound");
|
|
3191
|
-
var
|
|
3192
|
-
if (
|
|
3163
|
+
var r = It(this.message, t);
|
|
3164
|
+
if (r === void 0)
|
|
3193
3165
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3194
|
-
return
|
|
3195
|
-
}, e.prototype.error = function(t,
|
|
3166
|
+
return r;
|
|
3167
|
+
}, e.prototype.error = function(t, r) {
|
|
3196
3168
|
return {
|
|
3197
3169
|
val: null,
|
|
3198
3170
|
err: {
|
|
3199
3171
|
kind: t,
|
|
3200
3172
|
message: this.message,
|
|
3201
|
-
location:
|
|
3173
|
+
location: r
|
|
3202
3174
|
}
|
|
3203
3175
|
};
|
|
3204
3176
|
}, e.prototype.bump = function() {
|
|
@@ -3208,22 +3180,22 @@ var ur = (
|
|
|
3208
3180
|
}
|
|
3209
3181
|
}, e.prototype.bumpIf = function(t) {
|
|
3210
3182
|
if (et(this.message, t, this.offset())) {
|
|
3211
|
-
for (var
|
|
3183
|
+
for (var r = 0; r < t.length; r++)
|
|
3212
3184
|
this.bump();
|
|
3213
3185
|
return !0;
|
|
3214
3186
|
}
|
|
3215
3187
|
return !1;
|
|
3216
3188
|
}, e.prototype.bumpUntil = function(t) {
|
|
3217
|
-
var
|
|
3218
|
-
return
|
|
3189
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3190
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3219
3191
|
}, e.prototype.bumpTo = function(t) {
|
|
3220
3192
|
if (this.offset() > t)
|
|
3221
3193
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3222
3194
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3223
|
-
var
|
|
3224
|
-
if (
|
|
3195
|
+
var r = this.offset();
|
|
3196
|
+
if (r === t)
|
|
3225
3197
|
break;
|
|
3226
|
-
if (
|
|
3198
|
+
if (r > t)
|
|
3227
3199
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3228
3200
|
if (this.bump(), this.isEOF())
|
|
3229
3201
|
break;
|
|
@@ -3234,101 +3206,101 @@ var ur = (
|
|
|
3234
3206
|
}, e.prototype.peek = function() {
|
|
3235
3207
|
if (this.isEOF())
|
|
3236
3208
|
return null;
|
|
3237
|
-
var t = this.char(),
|
|
3238
|
-
return
|
|
3209
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3210
|
+
return n != null ? n : null;
|
|
3239
3211
|
}, e;
|
|
3240
3212
|
}()
|
|
3241
3213
|
);
|
|
3242
|
-
function
|
|
3214
|
+
function Me(e) {
|
|
3243
3215
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3244
3216
|
}
|
|
3245
|
-
function
|
|
3246
|
-
return
|
|
3217
|
+
function ln(e) {
|
|
3218
|
+
return Me(e) || e === 47;
|
|
3247
3219
|
}
|
|
3248
|
-
function
|
|
3220
|
+
function fn(e) {
|
|
3249
3221
|
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;
|
|
3250
3222
|
}
|
|
3251
3223
|
function Ct(e) {
|
|
3252
3224
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3253
3225
|
}
|
|
3254
|
-
function
|
|
3226
|
+
function cn(e) {
|
|
3255
3227
|
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;
|
|
3256
3228
|
}
|
|
3257
|
-
function
|
|
3229
|
+
function Re(e) {
|
|
3258
3230
|
e.forEach(function(t) {
|
|
3259
3231
|
if (delete t.location, Tt(t) || St(t))
|
|
3260
|
-
for (var
|
|
3261
|
-
delete t.options[
|
|
3232
|
+
for (var r in t.options)
|
|
3233
|
+
delete t.options[r].location, Re(t.options[r].value);
|
|
3262
3234
|
else
|
|
3263
|
-
_t(t) && At(t.style) || (xt(t) || Ht(t)) &&
|
|
3235
|
+
_t(t) && At(t.style) || (xt(t) || Ht(t)) && Oe(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
|
|
3264
3236
|
});
|
|
3265
3237
|
}
|
|
3266
|
-
function
|
|
3267
|
-
t === void 0 && (t = {}), t =
|
|
3268
|
-
var
|
|
3269
|
-
if (
|
|
3270
|
-
var
|
|
3271
|
-
throw
|
|
3238
|
+
function mn(e, t) {
|
|
3239
|
+
t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3240
|
+
var r = new hn(e, t).parse();
|
|
3241
|
+
if (r.err) {
|
|
3242
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3243
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3272
3244
|
}
|
|
3273
|
-
return t != null && t.captureLocation ||
|
|
3245
|
+
return t != null && t.captureLocation || Re(r.val), r.val;
|
|
3274
3246
|
}
|
|
3275
|
-
var
|
|
3247
|
+
var X;
|
|
3276
3248
|
(function(e) {
|
|
3277
3249
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3278
|
-
})(
|
|
3279
|
-
var
|
|
3250
|
+
})(X || (X = {}));
|
|
3251
|
+
var be = (
|
|
3280
3252
|
/** @class */
|
|
3281
3253
|
function(e) {
|
|
3282
|
-
|
|
3283
|
-
function t(
|
|
3284
|
-
var s = e.call(this,
|
|
3285
|
-
return s.code =
|
|
3254
|
+
de(t, e);
|
|
3255
|
+
function t(r, n, i) {
|
|
3256
|
+
var s = e.call(this, r) || this;
|
|
3257
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3286
3258
|
}
|
|
3287
3259
|
return t.prototype.toString = function() {
|
|
3288
3260
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3289
3261
|
}, t;
|
|
3290
3262
|
}(Error)
|
|
3291
|
-
),
|
|
3263
|
+
), nt = (
|
|
3292
3264
|
/** @class */
|
|
3293
3265
|
function(e) {
|
|
3294
|
-
|
|
3295
|
-
function t(
|
|
3296
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3266
|
+
de(t, e);
|
|
3267
|
+
function t(r, n, i, s) {
|
|
3268
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
|
|
3297
3269
|
}
|
|
3298
3270
|
return t;
|
|
3299
|
-
}(
|
|
3300
|
-
),
|
|
3271
|
+
}(be)
|
|
3272
|
+
), gn = (
|
|
3301
3273
|
/** @class */
|
|
3302
3274
|
function(e) {
|
|
3303
|
-
|
|
3304
|
-
function t(
|
|
3305
|
-
return e.call(this, 'Value for "'.concat(
|
|
3275
|
+
de(t, e);
|
|
3276
|
+
function t(r, n, i) {
|
|
3277
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3306
3278
|
}
|
|
3307
3279
|
return t;
|
|
3308
|
-
}(
|
|
3309
|
-
),
|
|
3280
|
+
}(be)
|
|
3281
|
+
), dn = (
|
|
3310
3282
|
/** @class */
|
|
3311
3283
|
function(e) {
|
|
3312
|
-
|
|
3313
|
-
function t(
|
|
3314
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3284
|
+
de(t, e);
|
|
3285
|
+
function t(r, n) {
|
|
3286
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3315
3287
|
}
|
|
3316
3288
|
return t;
|
|
3317
|
-
}(
|
|
3289
|
+
}(be)
|
|
3318
3290
|
), w;
|
|
3319
3291
|
(function(e) {
|
|
3320
3292
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3321
3293
|
})(w || (w = {}));
|
|
3322
|
-
function
|
|
3323
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3324
|
-
var
|
|
3325
|
-
return !
|
|
3294
|
+
function bn(e) {
|
|
3295
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3296
|
+
var n = t[t.length - 1];
|
|
3297
|
+
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3326
3298
|
}, []);
|
|
3327
3299
|
}
|
|
3328
|
-
function
|
|
3300
|
+
function pn(e) {
|
|
3329
3301
|
return typeof e == "function";
|
|
3330
3302
|
}
|
|
3331
|
-
function
|
|
3303
|
+
function ue(e, t, r, n, i, s, o) {
|
|
3332
3304
|
if (e.length === 1 && qe(e[0]))
|
|
3333
3305
|
return [
|
|
3334
3306
|
{
|
|
@@ -3336,8 +3308,8 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3336
3308
|
value: e[0].value
|
|
3337
3309
|
}
|
|
3338
3310
|
];
|
|
3339
|
-
for (var u = [], l = 0,
|
|
3340
|
-
var h =
|
|
3311
|
+
for (var u = [], l = 0, a = e; l < a.length; l++) {
|
|
3312
|
+
var h = a[l];
|
|
3341
3313
|
if (qe(h)) {
|
|
3342
3314
|
u.push({
|
|
3343
3315
|
type: w.literal,
|
|
@@ -3345,18 +3317,18 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3345
3317
|
});
|
|
3346
3318
|
continue;
|
|
3347
3319
|
}
|
|
3348
|
-
if (
|
|
3320
|
+
if (Ur(h)) {
|
|
3349
3321
|
typeof s == "number" && u.push({
|
|
3350
3322
|
type: w.literal,
|
|
3351
|
-
value:
|
|
3323
|
+
value: r.getNumberFormat(t).format(s)
|
|
3352
3324
|
});
|
|
3353
3325
|
continue;
|
|
3354
3326
|
}
|
|
3355
3327
|
var c = h.value;
|
|
3356
3328
|
if (!(i && c in i))
|
|
3357
|
-
throw new
|
|
3329
|
+
throw new dn(c, o);
|
|
3358
3330
|
var f = i[c];
|
|
3359
|
-
if ($
|
|
3331
|
+
if ($r(h)) {
|
|
3360
3332
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3361
3333
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3362
3334
|
value: f
|
|
@@ -3364,34 +3336,34 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3364
3336
|
continue;
|
|
3365
3337
|
}
|
|
3366
3338
|
if (xt(h)) {
|
|
3367
|
-
var b = typeof h.style == "string" ?
|
|
3339
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Oe(h.style) ? h.style.parsedOptions : void 0;
|
|
3368
3340
|
u.push({
|
|
3369
3341
|
type: w.literal,
|
|
3370
|
-
value:
|
|
3342
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3371
3343
|
});
|
|
3372
3344
|
continue;
|
|
3373
3345
|
}
|
|
3374
3346
|
if (Ht(h)) {
|
|
3375
|
-
var b = typeof h.style == "string" ?
|
|
3347
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Oe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3376
3348
|
u.push({
|
|
3377
3349
|
type: w.literal,
|
|
3378
|
-
value:
|
|
3350
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3379
3351
|
});
|
|
3380
3352
|
continue;
|
|
3381
3353
|
}
|
|
3382
3354
|
if (_t(h)) {
|
|
3383
|
-
var b = typeof h.style == "string" ?
|
|
3355
|
+
var b = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3384
3356
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3385
3357
|
type: w.literal,
|
|
3386
|
-
value:
|
|
3358
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3387
3359
|
});
|
|
3388
3360
|
continue;
|
|
3389
3361
|
}
|
|
3390
3362
|
if (Bt(h)) {
|
|
3391
3363
|
var y = h.children, x = h.value, S = i[x];
|
|
3392
|
-
if (!
|
|
3393
|
-
throw new
|
|
3394
|
-
var O =
|
|
3364
|
+
if (!pn(S))
|
|
3365
|
+
throw new gn(x, "function", o);
|
|
3366
|
+
var O = ue(y, t, r, n, i, s), P = S(O.map(function(N) {
|
|
3395
3367
|
return N.value;
|
|
3396
3368
|
}));
|
|
3397
3369
|
Array.isArray(P) || (P = [P]), u.push.apply(u, P.map(function(N) {
|
|
@@ -3404,104 +3376,104 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3404
3376
|
if (Tt(h)) {
|
|
3405
3377
|
var A = h.options[f] || h.options.other;
|
|
3406
3378
|
if (!A)
|
|
3407
|
-
throw new
|
|
3408
|
-
u.push.apply(u,
|
|
3379
|
+
throw new nt(h.value, f, Object.keys(h.options), o);
|
|
3380
|
+
u.push.apply(u, ue(A.value, t, r, n, i));
|
|
3409
3381
|
continue;
|
|
3410
3382
|
}
|
|
3411
3383
|
if (St(h)) {
|
|
3412
3384
|
var A = h.options["=".concat(f)];
|
|
3413
3385
|
if (!A) {
|
|
3414
3386
|
if (!Intl.PluralRules)
|
|
3415
|
-
throw new
|
|
3387
|
+
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3416
3388
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3417
|
-
`,
|
|
3418
|
-
var I =
|
|
3389
|
+
`, X.MISSING_INTL_API, o);
|
|
3390
|
+
var I = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3419
3391
|
A = h.options[I] || h.options.other;
|
|
3420
3392
|
}
|
|
3421
3393
|
if (!A)
|
|
3422
|
-
throw new
|
|
3423
|
-
u.push.apply(u,
|
|
3394
|
+
throw new nt(h.value, f, Object.keys(h.options), o);
|
|
3395
|
+
u.push.apply(u, ue(A.value, t, r, n, i, f - (h.offset || 0)));
|
|
3424
3396
|
continue;
|
|
3425
3397
|
}
|
|
3426
3398
|
}
|
|
3427
|
-
return
|
|
3399
|
+
return bn(u);
|
|
3428
3400
|
}
|
|
3429
|
-
function
|
|
3430
|
-
return t ?
|
|
3431
|
-
return n
|
|
3401
|
+
function yn(e, t) {
|
|
3402
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3403
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
3432
3404
|
}, {})) : e;
|
|
3433
3405
|
}
|
|
3434
|
-
function
|
|
3435
|
-
return t ? Object.keys(e).reduce(function(
|
|
3436
|
-
return n
|
|
3437
|
-
},
|
|
3406
|
+
function En(e, t) {
|
|
3407
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3408
|
+
return r[n] = yn(e[n], t[n]), r;
|
|
3409
|
+
}, M({}, e)) : e;
|
|
3438
3410
|
}
|
|
3439
|
-
function
|
|
3411
|
+
function Se(e) {
|
|
3440
3412
|
return {
|
|
3441
3413
|
create: function() {
|
|
3442
3414
|
return {
|
|
3443
3415
|
get: function(t) {
|
|
3444
3416
|
return e[t];
|
|
3445
3417
|
},
|
|
3446
|
-
set: function(t,
|
|
3447
|
-
e[t] =
|
|
3418
|
+
set: function(t, r) {
|
|
3419
|
+
e[t] = r;
|
|
3448
3420
|
}
|
|
3449
3421
|
};
|
|
3450
3422
|
}
|
|
3451
3423
|
};
|
|
3452
3424
|
}
|
|
3453
|
-
function
|
|
3425
|
+
function vn(e) {
|
|
3454
3426
|
return e === void 0 && (e = {
|
|
3455
3427
|
number: {},
|
|
3456
3428
|
dateTime: {},
|
|
3457
3429
|
pluralRules: {}
|
|
3458
3430
|
}), {
|
|
3459
|
-
getNumberFormat:
|
|
3460
|
-
for (var t,
|
|
3461
|
-
n
|
|
3462
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3431
|
+
getNumberFormat: xe(function() {
|
|
3432
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3433
|
+
r[n] = arguments[n];
|
|
3434
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
|
|
3463
3435
|
}, {
|
|
3464
|
-
cache:
|
|
3465
|
-
strategy:
|
|
3436
|
+
cache: Se(e.number),
|
|
3437
|
+
strategy: He.variadic
|
|
3466
3438
|
}),
|
|
3467
|
-
getDateTimeFormat:
|
|
3468
|
-
for (var t,
|
|
3469
|
-
n
|
|
3470
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3439
|
+
getDateTimeFormat: xe(function() {
|
|
3440
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3441
|
+
r[n] = arguments[n];
|
|
3442
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
|
|
3471
3443
|
}, {
|
|
3472
|
-
cache:
|
|
3473
|
-
strategy:
|
|
3444
|
+
cache: Se(e.dateTime),
|
|
3445
|
+
strategy: He.variadic
|
|
3474
3446
|
}),
|
|
3475
|
-
getPluralRules:
|
|
3476
|
-
for (var t,
|
|
3477
|
-
n
|
|
3478
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3447
|
+
getPluralRules: xe(function() {
|
|
3448
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3449
|
+
r[n] = arguments[n];
|
|
3450
|
+
return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
|
|
3479
3451
|
}, {
|
|
3480
|
-
cache:
|
|
3481
|
-
strategy:
|
|
3452
|
+
cache: Se(e.pluralRules),
|
|
3453
|
+
strategy: He.variadic
|
|
3482
3454
|
})
|
|
3483
3455
|
};
|
|
3484
3456
|
}
|
|
3485
|
-
var
|
|
3457
|
+
var _n = (
|
|
3486
3458
|
/** @class */
|
|
3487
3459
|
function() {
|
|
3488
|
-
function e(t,
|
|
3489
|
-
|
|
3460
|
+
function e(t, r, n, i) {
|
|
3461
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3490
3462
|
var s = this;
|
|
3491
3463
|
if (this.formatterCache = {
|
|
3492
3464
|
number: {},
|
|
3493
3465
|
dateTime: {},
|
|
3494
3466
|
pluralRules: {}
|
|
3495
3467
|
}, this.format = function(l) {
|
|
3496
|
-
var
|
|
3497
|
-
if (
|
|
3498
|
-
return
|
|
3499
|
-
var h =
|
|
3468
|
+
var a = s.formatToParts(l);
|
|
3469
|
+
if (a.length === 1)
|
|
3470
|
+
return a[0].value;
|
|
3471
|
+
var h = a.reduce(function(c, f) {
|
|
3500
3472
|
return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3501
3473
|
}, []);
|
|
3502
3474
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3503
3475
|
}, this.formatToParts = function(l) {
|
|
3504
|
-
return
|
|
3476
|
+
return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3505
3477
|
}, this.resolvedOptions = function() {
|
|
3506
3478
|
var l;
|
|
3507
3479
|
return {
|
|
@@ -3509,18 +3481,18 @@ var vr = (
|
|
|
3509
3481
|
};
|
|
3510
3482
|
}, this.getAst = function() {
|
|
3511
3483
|
return s.ast;
|
|
3512
|
-
}, this.locales =
|
|
3484
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3513
3485
|
if (this.message = t, !e.__parse)
|
|
3514
3486
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3515
|
-
var
|
|
3516
|
-
|
|
3517
|
-
var u =
|
|
3518
|
-
this.ast = e.__parse(t,
|
|
3487
|
+
var o = i || {};
|
|
3488
|
+
o.formatters;
|
|
3489
|
+
var u = Pr(o, ["formatters"]);
|
|
3490
|
+
this.ast = e.__parse(t, M(M({}, u), { locale: this.resolvedLocale }));
|
|
3519
3491
|
} else
|
|
3520
3492
|
this.ast = t;
|
|
3521
3493
|
if (!Array.isArray(this.ast))
|
|
3522
3494
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3523
|
-
this.formats =
|
|
3495
|
+
this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
|
|
3524
3496
|
}
|
|
3525
3497
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3526
3498
|
get: function() {
|
|
@@ -3530,10 +3502,10 @@ var vr = (
|
|
|
3530
3502
|
configurable: !0
|
|
3531
3503
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3532
3504
|
if (typeof Intl.Locale != "undefined") {
|
|
3533
|
-
var
|
|
3534
|
-
return
|
|
3505
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3506
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3535
3507
|
}
|
|
3536
|
-
}, e.__parse =
|
|
3508
|
+
}, e.__parse = mn, e.formats = {
|
|
3537
3509
|
number: {
|
|
3538
3510
|
integer: {
|
|
3539
3511
|
maximumFractionDigits: 0
|
|
@@ -3594,113 +3566,113 @@ var vr = (
|
|
|
3594
3566
|
}, e;
|
|
3595
3567
|
}()
|
|
3596
3568
|
);
|
|
3597
|
-
function
|
|
3569
|
+
function xn(e, t) {
|
|
3598
3570
|
if (t == null)
|
|
3599
3571
|
return;
|
|
3600
3572
|
if (t in e)
|
|
3601
3573
|
return e[t];
|
|
3602
|
-
const
|
|
3603
|
-
let
|
|
3604
|
-
for (let i = 0; i <
|
|
3605
|
-
if (typeof
|
|
3574
|
+
const r = t.split(".");
|
|
3575
|
+
let n = e;
|
|
3576
|
+
for (let i = 0; i < r.length; i++)
|
|
3577
|
+
if (typeof n == "object") {
|
|
3606
3578
|
if (i > 0) {
|
|
3607
|
-
const s =
|
|
3608
|
-
if (s in
|
|
3609
|
-
|
|
3579
|
+
const s = r.slice(i, r.length).join(".");
|
|
3580
|
+
if (s in n) {
|
|
3581
|
+
n = n[s];
|
|
3610
3582
|
break;
|
|
3611
3583
|
}
|
|
3612
3584
|
}
|
|
3613
|
-
|
|
3585
|
+
n = n[r[i]];
|
|
3614
3586
|
} else
|
|
3615
|
-
|
|
3616
|
-
return
|
|
3587
|
+
n = void 0;
|
|
3588
|
+
return n;
|
|
3617
3589
|
}
|
|
3618
|
-
const
|
|
3590
|
+
const R = {}, Hn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Mt = (e, t) => {
|
|
3619
3591
|
if (t == null)
|
|
3620
3592
|
return;
|
|
3621
|
-
if (t in
|
|
3622
|
-
return
|
|
3623
|
-
const
|
|
3624
|
-
for (let
|
|
3625
|
-
const i = n
|
|
3593
|
+
if (t in R && e in R[t])
|
|
3594
|
+
return R[t][e];
|
|
3595
|
+
const r = pe(t);
|
|
3596
|
+
for (let n = 0; n < r.length; n++) {
|
|
3597
|
+
const i = r[n], s = Sn(i, e);
|
|
3626
3598
|
if (s)
|
|
3627
|
-
return
|
|
3599
|
+
return Hn(e, t, s);
|
|
3628
3600
|
}
|
|
3629
3601
|
};
|
|
3630
3602
|
let Fe;
|
|
3631
|
-
const
|
|
3632
|
-
function
|
|
3603
|
+
const Q = ge({});
|
|
3604
|
+
function Tn(e) {
|
|
3633
3605
|
return Fe[e] || null;
|
|
3634
3606
|
}
|
|
3635
3607
|
function Rt(e) {
|
|
3636
3608
|
return e in Fe;
|
|
3637
3609
|
}
|
|
3638
|
-
function
|
|
3610
|
+
function Sn(e, t) {
|
|
3639
3611
|
if (!Rt(e))
|
|
3640
3612
|
return null;
|
|
3641
|
-
const
|
|
3642
|
-
return
|
|
3613
|
+
const r = Tn(e);
|
|
3614
|
+
return xn(r, t);
|
|
3643
3615
|
}
|
|
3644
|
-
function
|
|
3616
|
+
function Bn(e) {
|
|
3645
3617
|
if (e == null)
|
|
3646
3618
|
return;
|
|
3647
|
-
const t =
|
|
3648
|
-
for (let
|
|
3649
|
-
const
|
|
3650
|
-
if (Rt(
|
|
3651
|
-
return
|
|
3619
|
+
const t = pe(e);
|
|
3620
|
+
for (let r = 0; r < t.length; r++) {
|
|
3621
|
+
const n = t[r];
|
|
3622
|
+
if (Rt(n))
|
|
3623
|
+
return n;
|
|
3652
3624
|
}
|
|
3653
3625
|
}
|
|
3654
|
-
function
|
|
3655
|
-
delete
|
|
3626
|
+
function An(e, ...t) {
|
|
3627
|
+
delete R[e], Q.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
|
|
3656
3628
|
}
|
|
3657
|
-
|
|
3658
|
-
[
|
|
3629
|
+
Z(
|
|
3630
|
+
[Q],
|
|
3659
3631
|
([e]) => Object.keys(e)
|
|
3660
3632
|
);
|
|
3661
|
-
|
|
3662
|
-
const
|
|
3663
|
-
function
|
|
3664
|
-
|
|
3633
|
+
Q.subscribe((e) => Fe = e);
|
|
3634
|
+
const he = {};
|
|
3635
|
+
function wn(e, t) {
|
|
3636
|
+
he[e].delete(t), he[e].size === 0 && delete he[e];
|
|
3665
3637
|
}
|
|
3666
3638
|
function $t(e) {
|
|
3667
|
-
return
|
|
3639
|
+
return he[e];
|
|
3668
3640
|
}
|
|
3669
|
-
function
|
|
3670
|
-
return
|
|
3671
|
-
const
|
|
3672
|
-
return [t,
|
|
3641
|
+
function Pn(e) {
|
|
3642
|
+
return pe(e).map((t) => {
|
|
3643
|
+
const r = $t(t);
|
|
3644
|
+
return [t, r ? [...r] : []];
|
|
3673
3645
|
}).filter(([, t]) => t.length > 0);
|
|
3674
3646
|
}
|
|
3675
|
-
function
|
|
3676
|
-
return e == null ? !1 :
|
|
3647
|
+
function $e(e) {
|
|
3648
|
+
return e == null ? !1 : pe(e).some(
|
|
3677
3649
|
(t) => {
|
|
3678
|
-
var
|
|
3679
|
-
return (
|
|
3650
|
+
var r;
|
|
3651
|
+
return (r = $t(t)) == null ? void 0 : r.size;
|
|
3680
3652
|
}
|
|
3681
3653
|
);
|
|
3682
3654
|
}
|
|
3683
|
-
function
|
|
3655
|
+
function Nn(e, t) {
|
|
3684
3656
|
return Promise.all(
|
|
3685
|
-
t.map((
|
|
3686
|
-
).then((
|
|
3657
|
+
t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
|
|
3658
|
+
).then((n) => An(e, ...n));
|
|
3687
3659
|
}
|
|
3688
|
-
const
|
|
3660
|
+
const J = {};
|
|
3689
3661
|
function Ut(e) {
|
|
3690
|
-
if (
|
|
3691
|
-
return e in
|
|
3692
|
-
const t =
|
|
3693
|
-
return
|
|
3662
|
+
if (!$e(e))
|
|
3663
|
+
return e in J ? J[e] : Promise.resolve();
|
|
3664
|
+
const t = Pn(e);
|
|
3665
|
+
return J[e] = Promise.all(
|
|
3694
3666
|
t.map(
|
|
3695
|
-
([
|
|
3667
|
+
([r, n]) => Nn(r, n)
|
|
3696
3668
|
)
|
|
3697
3669
|
).then(() => {
|
|
3698
|
-
if (
|
|
3670
|
+
if ($e(e))
|
|
3699
3671
|
return Ut(e);
|
|
3700
|
-
delete
|
|
3701
|
-
}),
|
|
3672
|
+
delete J[e];
|
|
3673
|
+
}), J[e];
|
|
3702
3674
|
}
|
|
3703
|
-
const
|
|
3675
|
+
const On = {
|
|
3704
3676
|
number: {
|
|
3705
3677
|
scientific: { notation: "scientific" },
|
|
3706
3678
|
engineering: { notation: "engineering" },
|
|
@@ -3729,150 +3701,150 @@ const Nr = {
|
|
|
3729
3701
|
timeZoneName: "short"
|
|
3730
3702
|
}
|
|
3731
3703
|
}
|
|
3732
|
-
},
|
|
3704
|
+
}, In = {
|
|
3733
3705
|
fallbackLocale: null,
|
|
3734
3706
|
loadingDelay: 200,
|
|
3735
|
-
formats:
|
|
3707
|
+
formats: On,
|
|
3736
3708
|
warnOnMissingMessages: !0,
|
|
3737
3709
|
handleMissingMessage: void 0,
|
|
3738
3710
|
ignoreTag: !0
|
|
3739
|
-
},
|
|
3740
|
-
function
|
|
3741
|
-
return
|
|
3742
|
-
}
|
|
3743
|
-
const
|
|
3744
|
-
var
|
|
3745
|
-
for (var
|
|
3746
|
-
|
|
3711
|
+
}, Ln = In;
|
|
3712
|
+
function z() {
|
|
3713
|
+
return Ln;
|
|
3714
|
+
}
|
|
3715
|
+
const Be = ge(!1);
|
|
3716
|
+
var Cn = Object.defineProperty, Mn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
|
|
3717
|
+
for (var r in t || (t = {}))
|
|
3718
|
+
$n.call(t, r) && st(e, r, t[r]);
|
|
3747
3719
|
if (it)
|
|
3748
|
-
for (var
|
|
3749
|
-
|
|
3720
|
+
for (var r of it(t))
|
|
3721
|
+
Un.call(t, r) && st(e, r, t[r]);
|
|
3750
3722
|
return e;
|
|
3751
|
-
},
|
|
3752
|
-
let
|
|
3753
|
-
const
|
|
3754
|
-
function
|
|
3755
|
-
return e.split("-").map((t,
|
|
3723
|
+
}, Gn = (e, t) => Mn(e, Rn(t));
|
|
3724
|
+
let Ue;
|
|
3725
|
+
const fe = ge(null);
|
|
3726
|
+
function ot(e) {
|
|
3727
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3756
3728
|
}
|
|
3757
|
-
function
|
|
3758
|
-
const
|
|
3759
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3729
|
+
function pe(e, t = z().fallbackLocale) {
|
|
3730
|
+
const r = ot(e);
|
|
3731
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
|
|
3760
3732
|
}
|
|
3761
|
-
function
|
|
3762
|
-
return
|
|
3733
|
+
function U() {
|
|
3734
|
+
return Ue != null ? Ue : void 0;
|
|
3763
3735
|
}
|
|
3764
|
-
|
|
3765
|
-
|
|
3736
|
+
fe.subscribe((e) => {
|
|
3737
|
+
Ue = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3766
3738
|
});
|
|
3767
|
-
const
|
|
3768
|
-
if (e &&
|
|
3769
|
-
const { loadingDelay: t } =
|
|
3770
|
-
let
|
|
3771
|
-
return typeof window != "undefined" &&
|
|
3772
|
-
() =>
|
|
3739
|
+
const Fn = (e) => {
|
|
3740
|
+
if (e && Bn(e) && $e(e)) {
|
|
3741
|
+
const { loadingDelay: t } = z();
|
|
3742
|
+
let r;
|
|
3743
|
+
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
3744
|
+
() => Be.set(!0),
|
|
3773
3745
|
t
|
|
3774
|
-
) :
|
|
3775
|
-
|
|
3746
|
+
) : Be.set(!0), Ut(e).then(() => {
|
|
3747
|
+
fe.set(e);
|
|
3776
3748
|
}).finally(() => {
|
|
3777
|
-
clearTimeout(
|
|
3749
|
+
clearTimeout(r), Be.set(!1);
|
|
3778
3750
|
});
|
|
3779
3751
|
}
|
|
3780
|
-
return
|
|
3781
|
-
},
|
|
3782
|
-
set:
|
|
3783
|
-
}),
|
|
3752
|
+
return fe.set(e);
|
|
3753
|
+
}, $ = Gn(Dn({}, fe), {
|
|
3754
|
+
set: Fn
|
|
3755
|
+
}), ye = (e) => {
|
|
3784
3756
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3785
|
-
return (
|
|
3786
|
-
const i = JSON.stringify(
|
|
3787
|
-
return i in t ? t[i] : t[i] = e(
|
|
3757
|
+
return (n) => {
|
|
3758
|
+
const i = JSON.stringify(n);
|
|
3759
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
3788
3760
|
};
|
|
3789
3761
|
};
|
|
3790
|
-
var
|
|
3791
|
-
for (var
|
|
3792
|
-
Dt.call(t,
|
|
3793
|
-
if (
|
|
3794
|
-
for (var
|
|
3795
|
-
Gt.call(t,
|
|
3762
|
+
var jn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Dt = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
|
3763
|
+
for (var r in t || (t = {}))
|
|
3764
|
+
Dt.call(t, r) && at(e, r, t[r]);
|
|
3765
|
+
if (ce)
|
|
3766
|
+
for (var r of ce(t))
|
|
3767
|
+
Gt.call(t, r) && at(e, r, t[r]);
|
|
3796
3768
|
return e;
|
|
3797
|
-
},
|
|
3798
|
-
var
|
|
3799
|
-
for (var
|
|
3800
|
-
Dt.call(e,
|
|
3801
|
-
if (e != null &&
|
|
3802
|
-
for (var
|
|
3803
|
-
t.indexOf(
|
|
3804
|
-
return
|
|
3769
|
+
}, q = (e, t) => {
|
|
3770
|
+
var r = {};
|
|
3771
|
+
for (var n in e)
|
|
3772
|
+
Dt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3773
|
+
if (e != null && ce)
|
|
3774
|
+
for (var n of ce(e))
|
|
3775
|
+
t.indexOf(n) < 0 && Gt.call(e, n) && (r[n] = e[n]);
|
|
3776
|
+
return r;
|
|
3805
3777
|
};
|
|
3806
|
-
const
|
|
3807
|
-
const { formats:
|
|
3808
|
-
if (e in
|
|
3809
|
-
return
|
|
3778
|
+
const te = (e, t) => {
|
|
3779
|
+
const { formats: r } = z();
|
|
3780
|
+
if (e in r && t in r[e])
|
|
3781
|
+
return r[e][t];
|
|
3810
3782
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3811
|
-
},
|
|
3783
|
+
}, kn = ye(
|
|
3812
3784
|
(e) => {
|
|
3813
|
-
var t = e, { locale:
|
|
3814
|
-
if (
|
|
3785
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3786
|
+
if (r == null)
|
|
3815
3787
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3816
|
-
return
|
|
3788
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3817
3789
|
}
|
|
3818
|
-
),
|
|
3790
|
+
), Vn = ye(
|
|
3819
3791
|
(e) => {
|
|
3820
|
-
var t = e, { locale:
|
|
3821
|
-
if (
|
|
3792
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3793
|
+
if (r == null)
|
|
3822
3794
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3823
|
-
return
|
|
3795
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3824
3796
|
}
|
|
3825
|
-
),
|
|
3797
|
+
), Xn = ye(
|
|
3826
3798
|
(e) => {
|
|
3827
|
-
var t = e, { locale:
|
|
3828
|
-
if (
|
|
3799
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3800
|
+
if (r == null)
|
|
3829
3801
|
throw new Error(
|
|
3830
3802
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3831
3803
|
);
|
|
3832
|
-
return
|
|
3804
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3833
3805
|
}
|
|
3834
|
-
),
|
|
3806
|
+
), zn = (e = {}) => {
|
|
3835
3807
|
var t = e, {
|
|
3836
|
-
locale:
|
|
3837
|
-
} = t,
|
|
3808
|
+
locale: r = U()
|
|
3809
|
+
} = t, n = q(t, [
|
|
3838
3810
|
"locale"
|
|
3839
3811
|
]);
|
|
3840
|
-
return
|
|
3841
|
-
},
|
|
3812
|
+
return kn(je({ locale: r }, n));
|
|
3813
|
+
}, Wn = (e = {}) => {
|
|
3842
3814
|
var t = e, {
|
|
3843
|
-
locale:
|
|
3844
|
-
} = t,
|
|
3815
|
+
locale: r = U()
|
|
3816
|
+
} = t, n = q(t, [
|
|
3845
3817
|
"locale"
|
|
3846
3818
|
]);
|
|
3847
|
-
return
|
|
3848
|
-
},
|
|
3819
|
+
return Vn(je({ locale: r }, n));
|
|
3820
|
+
}, Zn = (e = {}) => {
|
|
3849
3821
|
var t = e, {
|
|
3850
|
-
locale:
|
|
3851
|
-
} = t,
|
|
3822
|
+
locale: r = U()
|
|
3823
|
+
} = t, n = q(t, [
|
|
3852
3824
|
"locale"
|
|
3853
3825
|
]);
|
|
3854
|
-
return
|
|
3855
|
-
},
|
|
3826
|
+
return Xn(je({ locale: r }, n));
|
|
3827
|
+
}, Qn = ye(
|
|
3856
3828
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3857
|
-
(e, t =
|
|
3858
|
-
ignoreTag:
|
|
3829
|
+
(e, t = U()) => new _n(e, t, z().formats, {
|
|
3830
|
+
ignoreTag: z().ignoreTag
|
|
3859
3831
|
})
|
|
3860
|
-
),
|
|
3861
|
-
var
|
|
3862
|
-
let
|
|
3863
|
-
typeof e == "object" && (
|
|
3832
|
+
), qn = (e, t = {}) => {
|
|
3833
|
+
var r, n, i, s;
|
|
3834
|
+
let o = t;
|
|
3835
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3864
3836
|
const {
|
|
3865
3837
|
values: u,
|
|
3866
|
-
locale: l =
|
|
3867
|
-
default:
|
|
3868
|
-
} =
|
|
3838
|
+
locale: l = U(),
|
|
3839
|
+
default: a
|
|
3840
|
+
} = o;
|
|
3869
3841
|
if (l == null)
|
|
3870
3842
|
throw new Error(
|
|
3871
3843
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3872
3844
|
);
|
|
3873
3845
|
let h = Mt(e, l);
|
|
3874
3846
|
if (!h)
|
|
3875
|
-
h = (s = (i = (
|
|
3847
|
+
h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3876
3848
|
else if (typeof h != "string")
|
|
3877
3849
|
return console.warn(
|
|
3878
3850
|
`[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.`
|
|
@@ -3881,7 +3853,7 @@ const ee = (e, t) => {
|
|
|
3881
3853
|
return h;
|
|
3882
3854
|
let c = h;
|
|
3883
3855
|
try {
|
|
3884
|
-
c =
|
|
3856
|
+
c = Qn(h, l).format(u);
|
|
3885
3857
|
} catch (f) {
|
|
3886
3858
|
f instanceof Error && console.warn(
|
|
3887
3859
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3889,58 +3861,58 @@ const ee = (e, t) => {
|
|
|
3889
3861
|
);
|
|
3890
3862
|
}
|
|
3891
3863
|
return c;
|
|
3892
|
-
},
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
function
|
|
3864
|
+
}, Jn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = U()) => Mt(e, t), Si = Z([$, Q], () => qn);
|
|
3865
|
+
Z([$], () => Jn);
|
|
3866
|
+
Z([$], () => Yn);
|
|
3867
|
+
Z([$], () => Kn);
|
|
3868
|
+
Z([$, Q], () => ei);
|
|
3869
|
+
function ti(e, t) {
|
|
3898
3870
|
if (e) {
|
|
3899
|
-
const
|
|
3900
|
-
|
|
3871
|
+
const r = document.createElement("style");
|
|
3872
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3901
3873
|
}
|
|
3902
3874
|
}
|
|
3903
|
-
function
|
|
3875
|
+
function ri(e, t) {
|
|
3904
3876
|
if (!e || !t)
|
|
3905
3877
|
return;
|
|
3906
|
-
const
|
|
3907
|
-
fetch(
|
|
3878
|
+
const r = new URL(t);
|
|
3879
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3908
3880
|
const i = document.createElement("style");
|
|
3909
|
-
i.innerHTML =
|
|
3910
|
-
}).catch((
|
|
3911
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3881
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3882
|
+
}).catch((n) => {
|
|
3883
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3912
3884
|
});
|
|
3913
3885
|
}
|
|
3914
|
-
function ni(e, t,
|
|
3886
|
+
function ni(e, t, r) {
|
|
3915
3887
|
if (window.emMessageBus) {
|
|
3916
|
-
const
|
|
3888
|
+
const n = document.createElement("style");
|
|
3917
3889
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3918
|
-
|
|
3890
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3919
3891
|
});
|
|
3920
3892
|
}
|
|
3921
3893
|
}
|
|
3922
|
-
function
|
|
3923
|
-
|
|
3924
|
-
|
|
3894
|
+
function ii({ withLocale: e, translations: t }) {
|
|
3895
|
+
$.subscribe((r) => {
|
|
3896
|
+
r == null && (Q.set(t), $.set(e));
|
|
3925
3897
|
});
|
|
3926
3898
|
}
|
|
3927
3899
|
if (typeof window != "undefined") {
|
|
3928
3900
|
let e = function(t) {
|
|
3929
|
-
return function(...
|
|
3901
|
+
return function(...r) {
|
|
3930
3902
|
try {
|
|
3931
|
-
return t.apply(this,
|
|
3932
|
-
} catch (
|
|
3933
|
-
if (
|
|
3903
|
+
return t.apply(this, r);
|
|
3904
|
+
} catch (n) {
|
|
3905
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3934
3906
|
return !1;
|
|
3935
|
-
throw
|
|
3907
|
+
throw n;
|
|
3936
3908
|
}
|
|
3937
3909
|
};
|
|
3938
3910
|
};
|
|
3939
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3911
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-BTcRtShM.js").then(({ default: t }) => {
|
|
3940
3912
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3941
3913
|
});
|
|
3942
3914
|
}
|
|
3943
|
-
function
|
|
3915
|
+
function si(e) {
|
|
3944
3916
|
Qt(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))}");
|
|
3945
3917
|
}
|
|
3946
3918
|
function ut(e) {
|
|
@@ -4044,178 +4016,178 @@ function ut(e) {
|
|
|
4044
4016
|
e[6]
|
|
4045
4017
|
);
|
|
4046
4018
|
},
|
|
4047
|
-
m(
|
|
4048
|
-
|
|
4019
|
+
m(r, n) {
|
|
4020
|
+
me(r, t, n);
|
|
4049
4021
|
},
|
|
4050
|
-
p(
|
|
4051
|
-
|
|
4022
|
+
p(r, n) {
|
|
4023
|
+
n & /*session*/
|
|
4052
4024
|
16 && g(
|
|
4053
4025
|
t,
|
|
4054
4026
|
"session",
|
|
4055
4027
|
/*session*/
|
|
4056
|
-
|
|
4057
|
-
),
|
|
4028
|
+
r[4]
|
|
4029
|
+
), n & /*userid*/
|
|
4058
4030
|
32 && g(
|
|
4059
4031
|
t,
|
|
4060
4032
|
"userid",
|
|
4061
4033
|
/*userid*/
|
|
4062
|
-
|
|
4063
|
-
),
|
|
4034
|
+
r[5]
|
|
4035
|
+
), n & /*endpoint*/
|
|
4064
4036
|
1 && g(
|
|
4065
4037
|
t,
|
|
4066
4038
|
"endpoint",
|
|
4067
4039
|
/*endpoint*/
|
|
4068
|
-
|
|
4069
|
-
),
|
|
4040
|
+
r[0]
|
|
4041
|
+
), n & /*datasource*/
|
|
4070
4042
|
2 && g(
|
|
4071
4043
|
t,
|
|
4072
4044
|
"datasource",
|
|
4073
4045
|
/*datasource*/
|
|
4074
|
-
|
|
4075
|
-
),
|
|
4046
|
+
r[1]
|
|
4047
|
+
), n & /*lang*/
|
|
4076
4048
|
8 && g(
|
|
4077
4049
|
t,
|
|
4078
4050
|
"lang",
|
|
4079
4051
|
/*lang*/
|
|
4080
|
-
|
|
4081
|
-
),
|
|
4052
|
+
r[3]
|
|
4053
|
+
), n & /*currency*/
|
|
4082
4054
|
4 && g(
|
|
4083
4055
|
t,
|
|
4084
4056
|
"currency",
|
|
4085
4057
|
/*currency*/
|
|
4086
|
-
|
|
4087
|
-
),
|
|
4058
|
+
r[2]
|
|
4059
|
+
), n & /*favorites*/
|
|
4088
4060
|
65536 && g(
|
|
4089
4061
|
t,
|
|
4090
4062
|
"favorites",
|
|
4091
4063
|
/*favorites*/
|
|
4092
|
-
|
|
4093
|
-
),
|
|
4064
|
+
r[16]
|
|
4065
|
+
), n & /*fetchviaevent*/
|
|
4094
4066
|
262144 && g(
|
|
4095
4067
|
t,
|
|
4096
4068
|
"fetchviaevent",
|
|
4097
4069
|
/*fetchviaevent*/
|
|
4098
|
-
|
|
4099
|
-
),
|
|
4070
|
+
r[18]
|
|
4071
|
+
), n & /*showgamename*/
|
|
4100
4072
|
8192 && g(
|
|
4101
4073
|
t,
|
|
4102
4074
|
"showgamename",
|
|
4103
4075
|
/*showgamename*/
|
|
4104
|
-
|
|
4105
|
-
),
|
|
4076
|
+
r[13]
|
|
4077
|
+
), n & /*clientstyling*/
|
|
4106
4078
|
128 && g(
|
|
4107
4079
|
t,
|
|
4108
4080
|
"clientstyling",
|
|
4109
4081
|
/*clientstyling*/
|
|
4110
|
-
|
|
4111
|
-
),
|
|
4082
|
+
r[7]
|
|
4083
|
+
), n & /*clientstylingurl*/
|
|
4112
4084
|
256 && g(
|
|
4113
4085
|
t,
|
|
4114
4086
|
"clientstylingurl",
|
|
4115
4087
|
/*clientstylingurl*/
|
|
4116
|
-
|
|
4117
|
-
),
|
|
4088
|
+
r[8]
|
|
4089
|
+
), n & /*translationurl*/
|
|
4118
4090
|
512 && g(
|
|
4119
4091
|
t,
|
|
4120
4092
|
"translationurl",
|
|
4121
4093
|
/*translationurl*/
|
|
4122
|
-
|
|
4123
|
-
),
|
|
4094
|
+
r[9]
|
|
4095
|
+
), n & /*livecasino*/
|
|
4124
4096
|
1024 && g(
|
|
4125
4097
|
t,
|
|
4126
4098
|
"livecasino",
|
|
4127
4099
|
/*livecasino*/
|
|
4128
|
-
|
|
4129
|
-
),
|
|
4100
|
+
r[10]
|
|
4101
|
+
), n & /*visiblegames*/
|
|
4130
4102
|
32768 && g(
|
|
4131
4103
|
t,
|
|
4132
4104
|
"visiblegames",
|
|
4133
4105
|
/*visiblegames*/
|
|
4134
|
-
|
|
4135
|
-
),
|
|
4106
|
+
r[15]
|
|
4107
|
+
), n & /*gamepagemodalurl*/
|
|
4136
4108
|
16384 && g(
|
|
4137
4109
|
t,
|
|
4138
4110
|
"gamepagemodalurl",
|
|
4139
4111
|
/*gamepagemodalurl*/
|
|
4140
|
-
|
|
4141
|
-
),
|
|
4112
|
+
r[14]
|
|
4113
|
+
), n & /*integratedgameframedesktop*/
|
|
4142
4114
|
4096 && g(
|
|
4143
4115
|
t,
|
|
4144
4116
|
"integratedgameframedesktop",
|
|
4145
4117
|
/*integratedgameframedesktop*/
|
|
4146
|
-
|
|
4147
|
-
),
|
|
4118
|
+
r[12]
|
|
4119
|
+
), n & /*integratedgameframemobile*/
|
|
4148
4120
|
2048 && g(
|
|
4149
4121
|
t,
|
|
4150
4122
|
"integratedgameframemobile",
|
|
4151
4123
|
/*integratedgameframemobile*/
|
|
4152
|
-
|
|
4153
|
-
),
|
|
4124
|
+
r[11]
|
|
4125
|
+
), n & /*casinomygames*/
|
|
4154
4126
|
131072 && g(
|
|
4155
4127
|
t,
|
|
4156
4128
|
"casinomygames",
|
|
4157
4129
|
/*casinomygames*/
|
|
4158
|
-
|
|
4159
|
-
),
|
|
4130
|
+
r[17]
|
|
4131
|
+
), n & /*mbsource*/
|
|
4160
4132
|
64 && g(
|
|
4161
4133
|
t,
|
|
4162
4134
|
"mbsource",
|
|
4163
4135
|
/*mbsource*/
|
|
4164
|
-
|
|
4136
|
+
r[6]
|
|
4165
4137
|
);
|
|
4166
4138
|
},
|
|
4167
|
-
d(
|
|
4168
|
-
|
|
4139
|
+
d(r) {
|
|
4140
|
+
r && re(t);
|
|
4169
4141
|
}
|
|
4170
4142
|
};
|
|
4171
4143
|
}
|
|
4172
|
-
function
|
|
4173
|
-
let t,
|
|
4144
|
+
function oi(e) {
|
|
4145
|
+
let t, r = (
|
|
4174
4146
|
/*session*/
|
|
4175
4147
|
e[4] && ut(e)
|
|
4176
4148
|
);
|
|
4177
4149
|
return {
|
|
4178
4150
|
c() {
|
|
4179
|
-
t = ne("div"),
|
|
4151
|
+
t = ne("div"), r && r.c(), Ge(t, "class", "CasinoFavoritesSectionContainer");
|
|
4180
4152
|
},
|
|
4181
|
-
m(
|
|
4182
|
-
|
|
4153
|
+
m(n, i) {
|
|
4154
|
+
me(n, t, i), r && r.m(t, null), e[20](t);
|
|
4183
4155
|
},
|
|
4184
|
-
p(
|
|
4156
|
+
p(n, [i]) {
|
|
4185
4157
|
/*session*/
|
|
4186
|
-
|
|
4158
|
+
n[4] ? r ? r.p(n, i) : (r = ut(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4187
4159
|
},
|
|
4188
4160
|
i: L,
|
|
4189
4161
|
o: L,
|
|
4190
|
-
d(
|
|
4191
|
-
|
|
4162
|
+
d(n) {
|
|
4163
|
+
n && re(t), r && r.d(), e[20](null);
|
|
4192
4164
|
}
|
|
4193
4165
|
};
|
|
4194
4166
|
}
|
|
4195
|
-
function ai(e, t,
|
|
4196
|
-
let { endpoint:
|
|
4197
|
-
|
|
4167
|
+
function ai(e, t, r) {
|
|
4168
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { mbsource: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { livecasino: b = "false" } = t, { integratedgameframemobile: y = "false" } = t, { integratedgameframedesktop: x = "false" } = t, { showgamename: S = "" } = t, { gamepagemodalurl: O = "false" } = t, { visiblegames: P = "" } = t, { favorites: A = "" } = t, { casinomygames: I = "false" } = t, { fetchviaevent: N = "true" } = t, T;
|
|
4169
|
+
ii({ withLocale: "en", translations: {} }), tr(() => () => {
|
|
4198
4170
|
});
|
|
4199
|
-
function
|
|
4200
|
-
|
|
4201
|
-
T = m,
|
|
4171
|
+
function v(m) {
|
|
4172
|
+
Ae[m ? "unshift" : "push"](() => {
|
|
4173
|
+
T = m, r(19, T);
|
|
4202
4174
|
});
|
|
4203
4175
|
}
|
|
4204
4176
|
return e.$$set = (m) => {
|
|
4205
|
-
"endpoint" in m &&
|
|
4177
|
+
"endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, o = m.lang), "session" in m && r(4, u = m.session), "userid" in m && r(5, l = m.userid), "mbsource" in m && r(6, a = m.mbsource), "clientstyling" in m && r(7, h = m.clientstyling), "clientstylingurl" in m && r(8, c = m.clientstylingurl), "translationurl" in m && r(9, f = m.translationurl), "livecasino" in m && r(10, b = m.livecasino), "integratedgameframemobile" in m && r(11, y = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(12, x = m.integratedgameframedesktop), "showgamename" in m && r(13, S = m.showgamename), "gamepagemodalurl" in m && r(14, O = m.gamepagemodalurl), "visiblegames" in m && r(15, P = m.visiblegames), "favorites" in m && r(16, A = m.favorites), "casinomygames" in m && r(17, I = m.casinomygames), "fetchviaevent" in m && r(18, N = m.fetchviaevent);
|
|
4206
4178
|
}, e.$$.update = () => {
|
|
4207
4179
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4208
|
-
524416 && h && T &&
|
|
4209
|
-
524544 && c && T &&
|
|
4210
|
-
524352 &&
|
|
4180
|
+
524416 && h && T && ti(T, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4181
|
+
524544 && c && T && ri(T, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4182
|
+
524352 && a && T && ni(T, `${a}.Style`);
|
|
4211
4183
|
}, [
|
|
4212
|
-
|
|
4184
|
+
n,
|
|
4213
4185
|
i,
|
|
4214
4186
|
s,
|
|
4215
|
-
|
|
4187
|
+
o,
|
|
4216
4188
|
u,
|
|
4217
4189
|
l,
|
|
4218
|
-
|
|
4190
|
+
a,
|
|
4219
4191
|
h,
|
|
4220
4192
|
c,
|
|
4221
4193
|
f,
|
|
@@ -4229,16 +4201,16 @@ function ai(e, t, n) {
|
|
|
4229
4201
|
I,
|
|
4230
4202
|
N,
|
|
4231
4203
|
T,
|
|
4232
|
-
|
|
4204
|
+
v
|
|
4233
4205
|
];
|
|
4234
4206
|
}
|
|
4235
|
-
class Ft extends
|
|
4207
|
+
class Ft extends lr {
|
|
4236
4208
|
constructor(t) {
|
|
4237
|
-
super(),
|
|
4209
|
+
super(), ur(
|
|
4238
4210
|
this,
|
|
4239
4211
|
t,
|
|
4240
4212
|
ai,
|
|
4241
|
-
|
|
4213
|
+
oi,
|
|
4242
4214
|
lt,
|
|
4243
4215
|
{
|
|
4244
4216
|
endpoint: 0,
|
|
@@ -4261,7 +4233,7 @@ class Ft extends fn {
|
|
|
4261
4233
|
casinomygames: 17,
|
|
4262
4234
|
fetchviaevent: 18
|
|
4263
4235
|
},
|
|
4264
|
-
|
|
4236
|
+
si
|
|
4265
4237
|
);
|
|
4266
4238
|
}
|
|
4267
4239
|
get endpoint() {
|
|
@@ -4379,56 +4351,52 @@ class Ft extends fn {
|
|
|
4379
4351
|
this.$$set({ fetchviaevent: t }), H();
|
|
4380
4352
|
}
|
|
4381
4353
|
}
|
|
4382
|
-
|
|
4383
|
-
const
|
|
4354
|
+
hr(Ft, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4355
|
+
const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4384
4356
|
__proto__: null,
|
|
4385
4357
|
default: Ft
|
|
4386
4358
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4387
4359
|
export {
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4360
|
+
$,
|
|
4361
|
+
ri as A,
|
|
4362
|
+
ni as B,
|
|
4363
|
+
hr as C,
|
|
4364
|
+
Si as D,
|
|
4365
|
+
g as E,
|
|
4366
|
+
yi as F,
|
|
4367
|
+
mi as G,
|
|
4368
|
+
Ei as H,
|
|
4397
4369
|
pi as I,
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
Si as b,
|
|
4410
|
-
ce as c,
|
|
4411
|
-
Z as d,
|
|
4412
|
-
Br as e,
|
|
4370
|
+
_i as J,
|
|
4371
|
+
vi as K,
|
|
4372
|
+
Ti as L,
|
|
4373
|
+
Hi as M,
|
|
4374
|
+
Bi as N,
|
|
4375
|
+
lr as S,
|
|
4376
|
+
Q as a,
|
|
4377
|
+
An as b,
|
|
4378
|
+
Qt as c,
|
|
4379
|
+
re as d,
|
|
4380
|
+
me as e,
|
|
4413
4381
|
H as f,
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4382
|
+
ne as g,
|
|
4383
|
+
li as h,
|
|
4384
|
+
ur as i,
|
|
4385
|
+
Ae as j,
|
|
4386
|
+
Ge as k,
|
|
4387
|
+
xi as l,
|
|
4388
|
+
fi as m,
|
|
4421
4389
|
L as n,
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4390
|
+
tr as o,
|
|
4391
|
+
di as p,
|
|
4392
|
+
Zt as q,
|
|
4393
|
+
W as r,
|
|
4426
4394
|
lt as s,
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4395
|
+
gi as t,
|
|
4396
|
+
Yt as u,
|
|
4397
|
+
ci as v,
|
|
4398
|
+
ct as w,
|
|
4399
|
+
bi as x,
|
|
4400
|
+
hi as y,
|
|
4401
|
+
ti as z
|
|
4434
4402
|
};
|