@everymatrix/casino-my-games-nd 1.77.20 → 1.77.22
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-BXf5dIxF.cjs +3 -0
- package/components/{CasinoFavoritesSectionNd-nG2ynMJJ.js → CasinoFavoritesSectionNd-CIaQmLaZ.js} +1093 -1123
- package/components/{CasinoFavoritesSectionNd-BW053lHx.js → CasinoFavoritesSectionNd-yL7bG7cr.js} +1129 -1159
- package/components/CasinoFilter-C0HjHa4h.cjs +16 -0
- package/components/{CasinoFilter-Dj714vut.js → CasinoFilter-C9-vbAdr.js} +309 -239
- package/components/{CasinoFilter-BNyX6f2y.js → CasinoFilter-Do8RpGVV.js} +225 -157
- package/components/{CasinoGameThumbnailNd-CWjsIAeY.js → CasinoGameThumbnailNd-Bfc5gihp.js} +3 -3
- package/components/{CasinoGameThumbnailNd-o2OCgL48.js → CasinoGameThumbnailNd-CIzMLSSe.js} +3 -3
- package/components/{CasinoGameThumbnailNd-Dd3kp87R.cjs → CasinoGameThumbnailNd-aSAssa6M.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-CLedgRK9.js → CasinoGamesCategorySectionNd-ByRcEXhY.js} +127 -127
- package/components/{CasinoGamesCategorySectionNd-upR5fOZe.cjs → CasinoGamesCategorySectionNd-DTFGyINc.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-BpWe-6bs.js → CasinoGamesCategorySectionNd-Dc_wSU_N.js} +60 -60
- package/components/{CasinoLastPlayedSectionNd-BJ4ENstr.js → CasinoLastPlayedSectionNd-1sY6IwWp.js} +36 -36
- package/components/{CasinoLastPlayedSectionNd-C6RqMd30.js → CasinoLastPlayedSectionNd-CeP6reIP.js} +36 -36
- package/components/{CasinoLastPlayedSectionNd-5jzzfUzp.cjs → CasinoLastPlayedSectionNd-EqZB4qaX.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-se3ZyDIi.cjs → CasinoMostPlayedSectionNd-B6Oa9omn.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DDcuJkEU.js → CasinoMostPlayedSectionNd-BJup9vMb.js} +26 -26
- package/components/{CasinoMostPlayedSectionNd-BSTtmAYL.js → CasinoMostPlayedSectionNd-CYQhxyW8.js} +26 -26
- package/components/{CasinoMyGamesNd-D_u-w13U.cjs → CasinoMyGamesNd-CT2PNyPj.cjs} +1 -1
- package/components/{CasinoMyGamesNd-LmN1UL9A.js → CasinoMyGamesNd-CYQuetAd.js} +23 -23
- package/components/{CasinoMyGamesNd-CsLusGyl.js → CasinoMyGamesNd-Dzi-kA2k.js} +21 -21
- package/components/{CasinoSort-DG_n7paF.js → CasinoSort-C1FHS127.js} +13 -13
- package/components/{CasinoSort-CE2_DwIO.js → CasinoSort-Cij3MZNh.js} +13 -13
- package/components/{CasinoSort-DTc5vM44.cjs → CasinoSort-CzuM3yRC.cjs} +1 -1
- 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-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
- package/stencil/{ui-image-DJSOH8ZL.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-DfVgiF6v.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-BY8ZO6br.js → ui-image-CHeV8e9p.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BVC1650M.cjs +0 -16
- package/components/CasinoFilter-D_bF3IJE.cjs +0 -3
- package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
package/components/{CasinoFavoritesSectionNd-BW053lHx.js → CasinoFavoritesSectionNd-yL7bG7cr.js}
RENAMED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var jt = Object.defineProperty, kt = Object.defineProperties;
|
|
2
|
+
var Vt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ke = Object.getOwnPropertySymbols;
|
|
4
|
+
var Xt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
|
|
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
|
+
if (ke)
|
|
9
|
+
for (var r of ke(t))
|
|
10
|
+
zt.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var B = (e, t,
|
|
14
|
-
var
|
|
12
|
+
}, Xe = (e, t) => kt(e, Vt(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
|
}
|
|
32
|
-
function
|
|
32
|
+
function ht(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function We() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function W(e) {
|
|
39
|
+
e.forEach(ht);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function De(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
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
|
-
function
|
|
51
|
+
function Wt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
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(
|
|
63
|
+
function li(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(ft(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Zt(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
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
|
-
function
|
|
76
|
+
function qt(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,65 +83,65 @@ function Zt(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Jt(e, t) {
|
|
87
|
+
return Zt(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
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);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Yt(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ct(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function ci() {
|
|
113
|
+
return ct(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function mi() {
|
|
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
|
-
function
|
|
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 pi {
|
|
|
171
171
|
* @param {HTMLElement | SVGElement} anchor
|
|
172
172
|
* @returns {void}
|
|
173
173
|
*/
|
|
174
|
-
m(t,
|
|
175
|
-
this.e || (this.is_svg ? this.e =
|
|
174
|
+
m(t, r, n = null) {
|
|
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 pi {
|
|
|
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,146 +208,146 @@ class pi {
|
|
|
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
|
-
function
|
|
228
|
-
if (!
|
|
227
|
+
function mt() {
|
|
228
|
+
if (!K)
|
|
229
229
|
throw new Error("Function called outside component initialization");
|
|
230
|
-
return
|
|
230
|
+
return K;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
232
|
+
function tr(e) {
|
|
233
|
+
mt().$$.on_mount.push(e);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
235
|
+
function vi(e) {
|
|
236
|
+
mt().$$.on_destroy.push(e);
|
|
237
237
|
}
|
|
238
|
-
const
|
|
239
|
-
let
|
|
240
|
-
const
|
|
241
|
-
let
|
|
242
|
-
function
|
|
243
|
-
|
|
238
|
+
const F = [], Ae = [];
|
|
239
|
+
let j = [];
|
|
240
|
+
const Ze = [], gt = /* @__PURE__ */ Promise.resolve();
|
|
241
|
+
let we = !1;
|
|
242
|
+
function dt() {
|
|
243
|
+
we || (we = !0, gt.then(H));
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
return
|
|
245
|
+
function _i() {
|
|
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 (
|
|
274
|
-
for (;
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
j.length = 0;
|
|
273
|
+
} while (F.length);
|
|
274
|
+
for (; Ze.length; )
|
|
275
|
+
Ze.pop()();
|
|
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
|
|
290
|
-
function
|
|
291
|
-
e && e.i && (
|
|
289
|
+
const ir = /* @__PURE__ */ new Set();
|
|
290
|
+
function bt(e, t) {
|
|
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
|
-
|
|
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(
|
|
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
|
|
347
347
|
props: s,
|
|
348
348
|
update: L,
|
|
349
349
|
not_equal: i,
|
|
350
|
-
bound:
|
|
350
|
+
bound: We(),
|
|
351
351
|
// lifecycle
|
|
352
352
|
on_mount: [],
|
|
353
353
|
on_destroy: [],
|
|
@@ -356,29 +356,29 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
356
356
|
after_update: [],
|
|
357
357
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
358
358
|
// everything else
|
|
359
|
-
callbacks:
|
|
359
|
+
callbacks: We(),
|
|
360
360
|
dirty: u,
|
|
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
|
-
const c =
|
|
372
|
-
|
|
371
|
+
const c = Kt(t.target);
|
|
372
|
+
a.fragment && a.fragment.l(c), c.forEach(re);
|
|
373
373
|
} else
|
|
374
|
-
|
|
375
|
-
t.intro &&
|
|
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
|
-
let
|
|
380
|
-
typeof HTMLElement == "function" && (
|
|
381
|
-
constructor(t,
|
|
379
|
+
let pt;
|
|
380
|
+
typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
381
|
+
constructor(t, r, n) {
|
|
382
382
|
super();
|
|
383
383
|
/** The Svelte component constructor */
|
|
384
384
|
B(this, "$$ctor");
|
|
@@ -398,59 +398,59 @@ typeof HTMLElement == "function" && (dt = 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() {
|
|
417
|
-
return
|
|
417
|
+
return ze(this, null, function* () {
|
|
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
|
-
props:
|
|
453
|
-
$$slots:
|
|
452
|
+
props: Xe(Ve({}, this.$$d), {
|
|
453
|
+
$$slots: r,
|
|
454
454
|
$$scope: {
|
|
455
455
|
ctx: []
|
|
456
456
|
}
|
|
@@ -460,21 +460,21 @@ typeof HTMLElement == "function" && (dt = 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" && (dt = 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" && (dt = 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 un(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 hn {
|
|
|
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 hn {
|
|
|
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
|
/**
|
|
@@ -601,151 +601,63 @@ class hn {
|
|
|
601
601
|
* @returns {void}
|
|
602
602
|
*/
|
|
603
603
|
$set(t) {
|
|
604
|
-
this.$$set && !
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
const ln = "4";
|
|
608
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
609
|
-
/*! *****************************************************************************
|
|
610
|
-
Copyright (c) Microsoft Corporation.
|
|
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 fn(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 Hi(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 Ti(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
|
-
}
|
|
604
|
+
this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
688
605
|
}
|
|
689
|
-
return s;
|
|
690
606
|
}
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
return e.concat(s || t);
|
|
696
|
-
}
|
|
697
|
-
const D = [];
|
|
698
|
-
function cn(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 (
|
|
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
|
-
(y, x) =>
|
|
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,115 +665,157 @@ 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
|
-
function
|
|
800
|
-
return Object.keys(e).concat(
|
|
711
|
+
function Qe(e) {
|
|
712
|
+
return Object.keys(e).concat(Hr(e));
|
|
801
713
|
}
|
|
802
|
-
function
|
|
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
|
|
810
|
-
return
|
|
721
|
+
function Tr(e, t) {
|
|
722
|
+
return yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
811
723
|
}
|
|
812
|
-
function
|
|
813
|
-
var
|
|
814
|
-
return
|
|
815
|
-
|
|
816
|
-
}),
|
|
817
|
-
|
|
818
|
-
}),
|
|
819
|
-
}
|
|
820
|
-
function
|
|
821
|
-
|
|
822
|
-
var
|
|
823
|
-
return s ?
|
|
824
|
-
}
|
|
825
|
-
|
|
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);
|
|
728
|
+
}), Qe(t).forEach(function(i) {
|
|
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;
|
|
731
|
+
}
|
|
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);
|
|
736
|
+
}
|
|
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
|
-
var
|
|
816
|
+
var Cr = function() {
|
|
863
817
|
return JSON.stringify(arguments);
|
|
864
|
-
},
|
|
818
|
+
}, Mr = (
|
|
865
819
|
/** @class */
|
|
866
820
|
function() {
|
|
867
821
|
function e() {
|
|
@@ -869,72 +823,82 @@ var Ln = function() {
|
|
|
869
823
|
}
|
|
870
824
|
return e.prototype.get = function(t) {
|
|
871
825
|
return this.cache[t];
|
|
872
|
-
}, e.prototype.set = function(t,
|
|
873
|
-
this.cache[t] =
|
|
826
|
+
}, e.prototype.set = function(t, r) {
|
|
827
|
+
this.cache[t] = r;
|
|
874
828
|
}, e;
|
|
875
829
|
}()
|
|
876
|
-
),
|
|
830
|
+
), Rr = {
|
|
877
831
|
create: function() {
|
|
878
|
-
return new
|
|
832
|
+
return new Mr();
|
|
879
833
|
}
|
|
880
|
-
},
|
|
881
|
-
variadic:
|
|
882
|
-
},
|
|
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;
|
|
883
847
|
(function(e) {
|
|
884
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";
|
|
885
849
|
})(d || (d = {}));
|
|
886
|
-
var
|
|
850
|
+
var E;
|
|
887
851
|
(function(e) {
|
|
888
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";
|
|
889
|
-
})(
|
|
890
|
-
var
|
|
853
|
+
})(E || (E = {}));
|
|
854
|
+
var V;
|
|
891
855
|
(function(e) {
|
|
892
856
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
893
|
-
})(
|
|
894
|
-
function
|
|
895
|
-
return e.type ===
|
|
896
|
-
}
|
|
897
|
-
function Rn(e) {
|
|
898
|
-
return e.type === v.argument;
|
|
899
|
-
}
|
|
900
|
-
function Et(e) {
|
|
901
|
-
return e.type === v.number;
|
|
857
|
+
})(V || (V = {}));
|
|
858
|
+
function qe(e) {
|
|
859
|
+
return e.type === E.literal;
|
|
902
860
|
}
|
|
903
|
-
function
|
|
904
|
-
return e.type ===
|
|
861
|
+
function $r(e) {
|
|
862
|
+
return e.type === E.argument;
|
|
905
863
|
}
|
|
906
864
|
function _t(e) {
|
|
907
|
-
return e.type ===
|
|
865
|
+
return e.type === E.number;
|
|
908
866
|
}
|
|
909
867
|
function xt(e) {
|
|
910
|
-
return e.type ===
|
|
868
|
+
return e.type === E.date;
|
|
911
869
|
}
|
|
912
870
|
function Ht(e) {
|
|
913
|
-
return e.type ===
|
|
914
|
-
}
|
|
915
|
-
function $n(e) {
|
|
916
|
-
return e.type === v.pound;
|
|
871
|
+
return e.type === E.time;
|
|
917
872
|
}
|
|
918
873
|
function Tt(e) {
|
|
919
|
-
return e.type ===
|
|
874
|
+
return e.type === E.select;
|
|
920
875
|
}
|
|
921
876
|
function St(e) {
|
|
922
|
-
return
|
|
877
|
+
return e.type === E.plural;
|
|
923
878
|
}
|
|
924
|
-
function
|
|
925
|
-
return
|
|
879
|
+
function Ur(e) {
|
|
880
|
+
return e.type === E.pound;
|
|
881
|
+
}
|
|
882
|
+
function Bt(e) {
|
|
883
|
+
return e.type === E.tag;
|
|
884
|
+
}
|
|
885
|
+
function At(e) {
|
|
886
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
887
|
+
}
|
|
888
|
+
function Oe(e) {
|
|
889
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
926
890
|
}
|
|
927
|
-
var
|
|
928
|
-
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) {
|
|
929
893
|
var t = {};
|
|
930
|
-
return e.replace(
|
|
931
|
-
var
|
|
932
|
-
switch (
|
|
894
|
+
return e.replace(Dr, function(r) {
|
|
895
|
+
var n = r.length;
|
|
896
|
+
switch (r[0]) {
|
|
933
897
|
case "G":
|
|
934
|
-
t.era =
|
|
898
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
935
899
|
break;
|
|
936
900
|
case "y":
|
|
937
|
-
t.year =
|
|
901
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
938
902
|
break;
|
|
939
903
|
case "Y":
|
|
940
904
|
case "u":
|
|
@@ -946,30 +910,30 @@ function Dn(e) {
|
|
|
946
910
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
947
911
|
case "M":
|
|
948
912
|
case "L":
|
|
949
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
913
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
950
914
|
break;
|
|
951
915
|
case "w":
|
|
952
916
|
case "W":
|
|
953
917
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
954
918
|
case "d":
|
|
955
|
-
t.day = ["numeric", "2-digit"][
|
|
919
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
956
920
|
break;
|
|
957
921
|
case "D":
|
|
958
922
|
case "F":
|
|
959
923
|
case "g":
|
|
960
924
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
961
925
|
case "E":
|
|
962
|
-
t.weekday =
|
|
926
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
963
927
|
break;
|
|
964
928
|
case "e":
|
|
965
|
-
if (
|
|
929
|
+
if (n < 4)
|
|
966
930
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
967
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
931
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
968
932
|
break;
|
|
969
933
|
case "c":
|
|
970
|
-
if (
|
|
934
|
+
if (n < 4)
|
|
971
935
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
972
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
936
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
973
937
|
break;
|
|
974
938
|
case "a":
|
|
975
939
|
t.hour12 = !0;
|
|
@@ -978,32 +942,32 @@ function Dn(e) {
|
|
|
978
942
|
case "B":
|
|
979
943
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
980
944
|
case "h":
|
|
981
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
945
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
982
946
|
break;
|
|
983
947
|
case "H":
|
|
984
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
948
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
985
949
|
break;
|
|
986
950
|
case "K":
|
|
987
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
951
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
988
952
|
break;
|
|
989
953
|
case "k":
|
|
990
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
954
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
991
955
|
break;
|
|
992
956
|
case "j":
|
|
993
957
|
case "J":
|
|
994
958
|
case "C":
|
|
995
959
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
996
960
|
case "m":
|
|
997
|
-
t.minute = ["numeric", "2-digit"][
|
|
961
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
998
962
|
break;
|
|
999
963
|
case "s":
|
|
1000
|
-
t.second = ["numeric", "2-digit"][
|
|
964
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1001
965
|
break;
|
|
1002
966
|
case "S":
|
|
1003
967
|
case "A":
|
|
1004
968
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1005
969
|
case "z":
|
|
1006
|
-
t.timeZoneName =
|
|
970
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1007
971
|
break;
|
|
1008
972
|
case "Z":
|
|
1009
973
|
case "O":
|
|
@@ -1016,36 +980,46 @@ function Dn(e) {
|
|
|
1016
980
|
return "";
|
|
1017
981
|
}), t;
|
|
1018
982
|
}
|
|
1019
|
-
var
|
|
1020
|
-
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) {
|
|
1021
995
|
if (e.length === 0)
|
|
1022
996
|
throw new Error("Number skeleton cannot be empty");
|
|
1023
|
-
for (var t = e.split(
|
|
997
|
+
for (var t = e.split(Fr).filter(function(f) {
|
|
1024
998
|
return f.length > 0;
|
|
1025
|
-
}),
|
|
1026
|
-
var s = i[
|
|
1027
|
-
if (
|
|
999
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1000
|
+
var s = i[n], o = s.split("/");
|
|
1001
|
+
if (o.length === 0)
|
|
1028
1002
|
throw new Error("Invalid number skeleton");
|
|
1029
|
-
for (var u =
|
|
1030
|
-
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];
|
|
1031
1005
|
if (c.length === 0)
|
|
1032
1006
|
throw new Error("Invalid number skeleton");
|
|
1033
1007
|
}
|
|
1034
|
-
|
|
1008
|
+
r.push({ stem: u, options: l });
|
|
1035
1009
|
}
|
|
1036
|
-
return
|
|
1010
|
+
return r;
|
|
1037
1011
|
}
|
|
1038
|
-
function
|
|
1012
|
+
function kr(e) {
|
|
1039
1013
|
return e.replace(/^(.*?)-/, "");
|
|
1040
1014
|
}
|
|
1041
|
-
var
|
|
1042
|
-
function
|
|
1015
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
1016
|
+
function Ye(e) {
|
|
1043
1017
|
var t = {};
|
|
1044
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1045
|
-
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)), "";
|
|
1046
1020
|
}), t;
|
|
1047
1021
|
}
|
|
1048
|
-
function
|
|
1022
|
+
function Ot(e) {
|
|
1049
1023
|
switch (e) {
|
|
1050
1024
|
case "sign-auto":
|
|
1051
1025
|
return {
|
|
@@ -1085,27 +1059,27 @@ function Pt(e) {
|
|
|
1085
1059
|
};
|
|
1086
1060
|
}
|
|
1087
1061
|
}
|
|
1088
|
-
function
|
|
1062
|
+
function Xr(e) {
|
|
1089
1063
|
var t;
|
|
1090
1064
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1091
1065
|
notation: "engineering"
|
|
1092
1066
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1093
1067
|
notation: "scientific"
|
|
1094
1068
|
}, e = e.slice(1)), t) {
|
|
1095
|
-
var
|
|
1096
|
-
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))
|
|
1097
1071
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1098
1072
|
t.minimumIntegerDigits = e.length;
|
|
1099
1073
|
}
|
|
1100
1074
|
return t;
|
|
1101
1075
|
}
|
|
1102
|
-
function
|
|
1103
|
-
var t = {},
|
|
1104
|
-
return
|
|
1076
|
+
function Ke(e) {
|
|
1077
|
+
var t = {}, r = Ot(e);
|
|
1078
|
+
return r || t;
|
|
1105
1079
|
}
|
|
1106
|
-
function
|
|
1107
|
-
for (var t = {},
|
|
1108
|
-
var i = r
|
|
1080
|
+
function zr(e) {
|
|
1081
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1082
|
+
var i = n[r];
|
|
1109
1083
|
switch (i.stem) {
|
|
1110
1084
|
case "percent":
|
|
1111
1085
|
case "%":
|
|
@@ -1127,7 +1101,7 @@ function Xn(e) {
|
|
|
1127
1101
|
continue;
|
|
1128
1102
|
case "measure-unit":
|
|
1129
1103
|
case "unit":
|
|
1130
|
-
t.style = "unit", t.unit =
|
|
1104
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
|
1131
1105
|
continue;
|
|
1132
1106
|
case "compact-short":
|
|
1133
1107
|
case "K":
|
|
@@ -1138,13 +1112,13 @@ function Xn(e) {
|
|
|
1138
1112
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1139
1113
|
continue;
|
|
1140
1114
|
case "scientific":
|
|
1141
|
-
t =
|
|
1142
|
-
return
|
|
1115
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1116
|
+
return _(_({}, l), Ke(a));
|
|
1143
1117
|
}, {}));
|
|
1144
1118
|
continue;
|
|
1145
1119
|
case "engineering":
|
|
1146
|
-
t =
|
|
1147
|
-
return
|
|
1120
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1121
|
+
return _(_({}, l), Ke(a));
|
|
1148
1122
|
}, {}));
|
|
1149
1123
|
continue;
|
|
1150
1124
|
case "notation-simple":
|
|
@@ -1189,8 +1163,8 @@ function Xn(e) {
|
|
|
1189
1163
|
case "integer-width":
|
|
1190
1164
|
if (i.options.length > 1)
|
|
1191
1165
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1192
|
-
i.options[0].replace(
|
|
1193
|
-
if (
|
|
1166
|
+
i.options[0].replace(Vr, function(l, a, h, c, f, b) {
|
|
1167
|
+
if (a)
|
|
1194
1168
|
t.minimumIntegerDigits = h.length;
|
|
1195
1169
|
else {
|
|
1196
1170
|
if (c && f)
|
|
@@ -1202,32 +1176,32 @@ function Xn(e) {
|
|
|
1202
1176
|
});
|
|
1203
1177
|
continue;
|
|
1204
1178
|
}
|
|
1205
|
-
if (
|
|
1179
|
+
if (Nt.test(i.stem)) {
|
|
1206
1180
|
t.minimumIntegerDigits = i.stem.length;
|
|
1207
1181
|
continue;
|
|
1208
1182
|
}
|
|
1209
|
-
if (
|
|
1183
|
+
if (Je.test(i.stem)) {
|
|
1210
1184
|
if (i.options.length > 1)
|
|
1211
1185
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1212
|
-
i.stem.replace(
|
|
1213
|
-
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), "";
|
|
1214
1188
|
});
|
|
1215
1189
|
var s = i.options[0];
|
|
1216
|
-
s === "w" ? t =
|
|
1190
|
+
s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Ye(s)));
|
|
1217
1191
|
continue;
|
|
1218
1192
|
}
|
|
1219
|
-
if (
|
|
1220
|
-
t =
|
|
1193
|
+
if (Pt.test(i.stem)) {
|
|
1194
|
+
t = _(_({}, t), Ye(i.stem));
|
|
1221
1195
|
continue;
|
|
1222
1196
|
}
|
|
1223
|
-
var
|
|
1224
|
-
|
|
1225
|
-
var u =
|
|
1226
|
-
u && (t =
|
|
1197
|
+
var o = Ot(i.stem);
|
|
1198
|
+
o && (t = _(_({}, t), o));
|
|
1199
|
+
var u = Xr(i.stem);
|
|
1200
|
+
u && (t = _(_({}, t), u));
|
|
1227
1201
|
}
|
|
1228
1202
|
return t;
|
|
1229
1203
|
}
|
|
1230
|
-
var
|
|
1204
|
+
var oe = {
|
|
1231
1205
|
"001": [
|
|
1232
1206
|
"H",
|
|
1233
1207
|
"h"
|
|
@@ -2642,23 +2616,23 @@ var se = {
|
|
|
2642
2616
|
"h"
|
|
2643
2617
|
]
|
|
2644
2618
|
};
|
|
2645
|
-
function
|
|
2646
|
-
for (var
|
|
2647
|
-
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);
|
|
2648
2622
|
if (i === "j") {
|
|
2649
|
-
for (var s = 0;
|
|
2650
|
-
s++,
|
|
2651
|
-
var
|
|
2652
|
-
for ((
|
|
2653
|
-
|
|
2654
|
-
for (;
|
|
2655
|
-
|
|
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;
|
|
2656
2630
|
} else
|
|
2657
|
-
i === "J" ?
|
|
2631
|
+
i === "J" ? r += "H" : r += i;
|
|
2658
2632
|
}
|
|
2659
|
-
return
|
|
2633
|
+
return r;
|
|
2660
2634
|
}
|
|
2661
|
-
function
|
|
2635
|
+
function Zr(e) {
|
|
2662
2636
|
var t = e.hourCycle;
|
|
2663
2637
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2664
2638
|
e.hourCycles && // @ts-ignore
|
|
@@ -2675,73 +2649,73 @@ function Wn(e) {
|
|
|
2675
2649
|
default:
|
|
2676
2650
|
throw new Error("Invalid hourCycle");
|
|
2677
2651
|
}
|
|
2678
|
-
var
|
|
2679
|
-
|
|
2680
|
-
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"];
|
|
2681
2655
|
return i[0];
|
|
2682
2656
|
}
|
|
2683
|
-
var
|
|
2657
|
+
var Te, Qr = new RegExp("^".concat(wt.source, "*")), qr = new RegExp("".concat(wt.source, "*$"));
|
|
2684
2658
|
function p(e, t) {
|
|
2685
2659
|
return { start: e, end: t };
|
|
2686
2660
|
}
|
|
2687
|
-
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) {
|
|
2688
2662
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2689
|
-
},
|
|
2663
|
+
}, Ie = !0;
|
|
2690
2664
|
try {
|
|
2691
|
-
var
|
|
2692
|
-
|
|
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";
|
|
2693
2667
|
} catch (e) {
|
|
2694
|
-
|
|
2668
|
+
Ie = !1;
|
|
2695
2669
|
}
|
|
2696
|
-
var
|
|
2670
|
+
var et = Jr ? (
|
|
2697
2671
|
// Native
|
|
2698
|
-
function(t,
|
|
2699
|
-
return t.startsWith(
|
|
2672
|
+
function(t, r, n) {
|
|
2673
|
+
return t.startsWith(r, n);
|
|
2700
2674
|
}
|
|
2701
2675
|
) : (
|
|
2702
2676
|
// For IE11
|
|
2703
|
-
function(t,
|
|
2704
|
-
return t.slice(
|
|
2677
|
+
function(t, r, n) {
|
|
2678
|
+
return t.slice(n, n + r.length) === r;
|
|
2705
2679
|
}
|
|
2706
|
-
),
|
|
2680
|
+
), Le = Yr ? String.fromCodePoint : (
|
|
2707
2681
|
// IE11
|
|
2708
2682
|
function() {
|
|
2709
|
-
for (var t = [],
|
|
2710
|
-
t[
|
|
2711
|
-
for (var
|
|
2712
|
-
if (
|
|
2713
|
-
throw RangeError(
|
|
2714
|
-
|
|
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);
|
|
2715
2689
|
}
|
|
2716
|
-
return
|
|
2690
|
+
return n;
|
|
2717
2691
|
}
|
|
2718
|
-
),
|
|
2692
|
+
), tt = (
|
|
2719
2693
|
// native
|
|
2720
|
-
|
|
2694
|
+
Kr ? Object.fromEntries : (
|
|
2721
2695
|
// Ponyfill
|
|
2722
2696
|
function(t) {
|
|
2723
|
-
for (var
|
|
2724
|
-
var s = i[
|
|
2725
|
-
|
|
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;
|
|
2726
2700
|
}
|
|
2727
|
-
return
|
|
2701
|
+
return r;
|
|
2728
2702
|
}
|
|
2729
2703
|
)
|
|
2730
|
-
),
|
|
2704
|
+
), It = en ? (
|
|
2731
2705
|
// Native
|
|
2732
|
-
function(t,
|
|
2733
|
-
return t.codePointAt(
|
|
2706
|
+
function(t, r) {
|
|
2707
|
+
return t.codePointAt(r);
|
|
2734
2708
|
}
|
|
2735
2709
|
) : (
|
|
2736
2710
|
// IE 11
|
|
2737
|
-
function(t,
|
|
2738
|
-
var
|
|
2739
|
-
if (!(
|
|
2740
|
-
var i = t.charCodeAt(
|
|
2741
|
-
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;
|
|
2742
2716
|
}
|
|
2743
2717
|
}
|
|
2744
|
-
),
|
|
2718
|
+
), an = tn ? (
|
|
2745
2719
|
// Native
|
|
2746
2720
|
function(t) {
|
|
2747
2721
|
return t.trimStart();
|
|
@@ -2749,9 +2723,9 @@ var Ye = qn ? (
|
|
|
2749
2723
|
) : (
|
|
2750
2724
|
// Ponyfill
|
|
2751
2725
|
function(t) {
|
|
2752
|
-
return t.replace(
|
|
2726
|
+
return t.replace(Qr, "");
|
|
2753
2727
|
}
|
|
2754
|
-
),
|
|
2728
|
+
), un = rn ? (
|
|
2755
2729
|
// Native
|
|
2756
2730
|
function(t) {
|
|
2757
2731
|
return t.trimEnd();
|
|
@@ -2759,126 +2733,126 @@ var Ye = qn ? (
|
|
|
2759
2733
|
) : (
|
|
2760
2734
|
// Ponyfill
|
|
2761
2735
|
function(t) {
|
|
2762
|
-
return t.replace(
|
|
2736
|
+
return t.replace(qr, "");
|
|
2763
2737
|
}
|
|
2764
2738
|
);
|
|
2765
|
-
function
|
|
2739
|
+
function Lt(e, t) {
|
|
2766
2740
|
return new RegExp(e, t);
|
|
2767
2741
|
}
|
|
2768
|
-
var
|
|
2769
|
-
if (
|
|
2770
|
-
var
|
|
2771
|
-
|
|
2772
|
-
var
|
|
2773
|
-
|
|
2774
|
-
var i =
|
|
2775
|
-
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 : "";
|
|
2776
2750
|
};
|
|
2777
2751
|
} else
|
|
2778
|
-
|
|
2779
|
-
for (var
|
|
2780
|
-
var i =
|
|
2781
|
-
if (i === void 0 ||
|
|
2752
|
+
Ce = function(t, r) {
|
|
2753
|
+
for (var n = []; ; ) {
|
|
2754
|
+
var i = It(t, r);
|
|
2755
|
+
if (i === void 0 || Ct(i) || cn(i))
|
|
2782
2756
|
break;
|
|
2783
|
-
|
|
2757
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2784
2758
|
}
|
|
2785
|
-
return
|
|
2759
|
+
return Le.apply(void 0, n);
|
|
2786
2760
|
};
|
|
2787
|
-
var
|
|
2761
|
+
var hn = (
|
|
2788
2762
|
/** @class */
|
|
2789
2763
|
function() {
|
|
2790
|
-
function e(t,
|
|
2791
|
-
|
|
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;
|
|
2792
2766
|
}
|
|
2793
2767
|
return e.prototype.parse = function() {
|
|
2794
2768
|
if (this.offset() !== 0)
|
|
2795
2769
|
throw Error("parser can only be used once");
|
|
2796
2770
|
return this.parseMessage(0, "", !1);
|
|
2797
|
-
}, e.prototype.parseMessage = function(t,
|
|
2771
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2798
2772
|
for (var i = []; !this.isEOF(); ) {
|
|
2799
2773
|
var s = this.char();
|
|
2800
2774
|
if (s === 123) {
|
|
2801
|
-
var
|
|
2802
|
-
if (
|
|
2803
|
-
return
|
|
2804
|
-
i.push(
|
|
2775
|
+
var o = this.parseArgument(t, n);
|
|
2776
|
+
if (o.err)
|
|
2777
|
+
return o;
|
|
2778
|
+
i.push(o.val);
|
|
2805
2779
|
} else {
|
|
2806
2780
|
if (s === 125 && t > 0)
|
|
2807
2781
|
break;
|
|
2808
|
-
if (s === 35 && (
|
|
2782
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2809
2783
|
var u = this.clonePosition();
|
|
2810
2784
|
this.bump(), i.push({
|
|
2811
|
-
type:
|
|
2785
|
+
type: E.pound,
|
|
2812
2786
|
location: p(u, this.clonePosition())
|
|
2813
2787
|
});
|
|
2814
2788
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2815
|
-
if (
|
|
2789
|
+
if (n)
|
|
2816
2790
|
break;
|
|
2817
2791
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2818
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2819
|
-
var
|
|
2820
|
-
if (
|
|
2821
|
-
return
|
|
2822
|
-
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);
|
|
2823
2797
|
} else {
|
|
2824
|
-
var
|
|
2825
|
-
if (
|
|
2826
|
-
return
|
|
2827
|
-
i.push(
|
|
2798
|
+
var o = this.parseLiteral(t, r);
|
|
2799
|
+
if (o.err)
|
|
2800
|
+
return o;
|
|
2801
|
+
i.push(o.val);
|
|
2828
2802
|
}
|
|
2829
2803
|
}
|
|
2830
2804
|
}
|
|
2831
2805
|
return { val: i, err: null };
|
|
2832
|
-
}, e.prototype.parseTag = function(t,
|
|
2833
|
-
var
|
|
2806
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
2807
|
+
var n = this.clonePosition();
|
|
2834
2808
|
this.bump();
|
|
2835
2809
|
var i = this.parseTagName();
|
|
2836
2810
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2837
2811
|
return {
|
|
2838
2812
|
val: {
|
|
2839
|
-
type:
|
|
2813
|
+
type: E.literal,
|
|
2840
2814
|
value: "<".concat(i, "/>"),
|
|
2841
|
-
location: p(
|
|
2815
|
+
location: p(n, this.clonePosition())
|
|
2842
2816
|
},
|
|
2843
2817
|
err: null
|
|
2844
2818
|
};
|
|
2845
2819
|
if (this.bumpIf(">")) {
|
|
2846
|
-
var s = this.parseMessage(t + 1,
|
|
2820
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
2847
2821
|
if (s.err)
|
|
2848
2822
|
return s;
|
|
2849
|
-
var
|
|
2823
|
+
var o = s.val, u = this.clonePosition();
|
|
2850
2824
|
if (this.bumpIf("</")) {
|
|
2851
|
-
if (this.isEOF() || !
|
|
2825
|
+
if (this.isEOF() || !Me(this.char()))
|
|
2852
2826
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2853
|
-
var l = this.clonePosition(),
|
|
2854
|
-
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(">") ? {
|
|
2855
2829
|
val: {
|
|
2856
|
-
type:
|
|
2830
|
+
type: E.tag,
|
|
2857
2831
|
value: i,
|
|
2858
|
-
children:
|
|
2859
|
-
location: p(
|
|
2832
|
+
children: o,
|
|
2833
|
+
location: p(n, this.clonePosition())
|
|
2860
2834
|
},
|
|
2861
2835
|
err: null
|
|
2862
2836
|
} : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
|
|
2863
2837
|
} else
|
|
2864
|
-
return this.error(d.UNCLOSED_TAG, p(
|
|
2838
|
+
return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
|
|
2865
2839
|
} else
|
|
2866
|
-
return this.error(d.INVALID_TAG, p(
|
|
2840
|
+
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2867
2841
|
}, e.prototype.parseTagName = function() {
|
|
2868
2842
|
var t = this.offset();
|
|
2869
|
-
for (this.bump(); !this.isEOF() &&
|
|
2843
|
+
for (this.bump(); !this.isEOF() && fn(this.char()); )
|
|
2870
2844
|
this.bump();
|
|
2871
2845
|
return this.message.slice(t, this.offset());
|
|
2872
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2873
|
-
for (var
|
|
2874
|
-
var s = this.tryParseQuote(
|
|
2846
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
2847
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2848
|
+
var s = this.tryParseQuote(r);
|
|
2875
2849
|
if (s) {
|
|
2876
2850
|
i += s;
|
|
2877
2851
|
continue;
|
|
2878
2852
|
}
|
|
2879
|
-
var
|
|
2880
|
-
if (
|
|
2881
|
-
i +=
|
|
2853
|
+
var o = this.tryParseUnquoted(t, r);
|
|
2854
|
+
if (o) {
|
|
2855
|
+
i += o;
|
|
2882
2856
|
continue;
|
|
2883
2857
|
}
|
|
2884
2858
|
var u = this.tryParseLeftAngleBracket();
|
|
@@ -2888,14 +2862,14 @@ var or = (
|
|
|
2888
2862
|
}
|
|
2889
2863
|
break;
|
|
2890
2864
|
}
|
|
2891
|
-
var l = p(
|
|
2865
|
+
var l = p(n, this.clonePosition());
|
|
2892
2866
|
return {
|
|
2893
|
-
val: { type:
|
|
2867
|
+
val: { type: E.literal, value: i, location: l },
|
|
2894
2868
|
err: null
|
|
2895
2869
|
};
|
|
2896
2870
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2897
2871
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2898
|
-
!
|
|
2872
|
+
!ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2899
2873
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2900
2874
|
if (this.isEOF() || this.char() !== 39)
|
|
2901
2875
|
return null;
|
|
@@ -2915,114 +2889,114 @@ var or = (
|
|
|
2915
2889
|
return null;
|
|
2916
2890
|
}
|
|
2917
2891
|
this.bump();
|
|
2918
|
-
var
|
|
2892
|
+
var r = [this.char()];
|
|
2919
2893
|
for (this.bump(); !this.isEOF(); ) {
|
|
2920
|
-
var
|
|
2921
|
-
if (
|
|
2894
|
+
var n = this.char();
|
|
2895
|
+
if (n === 39)
|
|
2922
2896
|
if (this.peek() === 39)
|
|
2923
|
-
|
|
2897
|
+
r.push(39), this.bump();
|
|
2924
2898
|
else {
|
|
2925
2899
|
this.bump();
|
|
2926
2900
|
break;
|
|
2927
2901
|
}
|
|
2928
2902
|
else
|
|
2929
|
-
|
|
2903
|
+
r.push(n);
|
|
2930
2904
|
this.bump();
|
|
2931
2905
|
}
|
|
2932
|
-
return
|
|
2933
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2906
|
+
return Le.apply(void 0, r);
|
|
2907
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2934
2908
|
if (this.isEOF())
|
|
2935
2909
|
return null;
|
|
2936
|
-
var
|
|
2937
|
-
return
|
|
2938
|
-
}, e.prototype.parseArgument = function(t,
|
|
2939
|
-
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();
|
|
2940
2914
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2941
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2915
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2942
2916
|
if (this.char() === 125)
|
|
2943
|
-
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(
|
|
2917
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
|
|
2944
2918
|
var i = this.parseIdentifierIfPossible().value;
|
|
2945
2919
|
if (!i)
|
|
2946
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2920
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2947
2921
|
if (this.bumpSpace(), this.isEOF())
|
|
2948
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2922
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2949
2923
|
switch (this.char()) {
|
|
2950
2924
|
case 125:
|
|
2951
2925
|
return this.bump(), {
|
|
2952
2926
|
val: {
|
|
2953
|
-
type:
|
|
2927
|
+
type: E.argument,
|
|
2954
2928
|
// value does not include the opening and closing braces.
|
|
2955
2929
|
value: i,
|
|
2956
|
-
location: p(
|
|
2930
|
+
location: p(n, this.clonePosition())
|
|
2957
2931
|
},
|
|
2958
2932
|
err: null
|
|
2959
2933
|
};
|
|
2960
2934
|
case 44:
|
|
2961
|
-
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);
|
|
2962
2936
|
default:
|
|
2963
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2937
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2964
2938
|
}
|
|
2965
2939
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2966
|
-
var t = this.clonePosition(),
|
|
2940
|
+
var t = this.clonePosition(), r = this.offset(), n = Ce(this.message, r), i = r + n.length;
|
|
2967
2941
|
this.bumpTo(i);
|
|
2968
|
-
var s = this.clonePosition(),
|
|
2969
|
-
return { value:
|
|
2970
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2971
|
-
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();
|
|
2972
2946
|
switch (u) {
|
|
2973
2947
|
case "":
|
|
2974
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, p(
|
|
2948
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
|
|
2975
2949
|
case "number":
|
|
2976
2950
|
case "date":
|
|
2977
2951
|
case "time": {
|
|
2978
2952
|
this.bumpSpace();
|
|
2979
|
-
var
|
|
2953
|
+
var a = null;
|
|
2980
2954
|
if (this.bumpIf(",")) {
|
|
2981
2955
|
this.bumpSpace();
|
|
2982
2956
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2983
2957
|
if (c.err)
|
|
2984
2958
|
return c;
|
|
2985
|
-
var f =
|
|
2959
|
+
var f = un(c.val);
|
|
2986
2960
|
if (f.length === 0)
|
|
2987
2961
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2988
2962
|
var b = p(h, this.clonePosition());
|
|
2989
|
-
|
|
2963
|
+
a = { style: f, styleLocation: b };
|
|
2990
2964
|
}
|
|
2991
2965
|
var y = this.tryParseArgumentClose(i);
|
|
2992
2966
|
if (y.err)
|
|
2993
2967
|
return y;
|
|
2994
2968
|
var x = p(i, this.clonePosition());
|
|
2995
|
-
if (
|
|
2996
|
-
var S =
|
|
2969
|
+
if (a && et(a == null ? void 0 : a.style, "::", 0)) {
|
|
2970
|
+
var S = an(a.style.slice(2));
|
|
2997
2971
|
if (u === "number") {
|
|
2998
|
-
var c = this.parseNumberSkeletonFromString(S,
|
|
2972
|
+
var c = this.parseNumberSkeletonFromString(S, a.styleLocation);
|
|
2999
2973
|
return c.err ? c : {
|
|
3000
|
-
val: { type:
|
|
2974
|
+
val: { type: E.number, value: n, location: x, style: c.val },
|
|
3001
2975
|
err: null
|
|
3002
2976
|
};
|
|
3003
2977
|
} else {
|
|
3004
2978
|
if (S.length === 0)
|
|
3005
2979
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
|
|
3006
2980
|
var O = S;
|
|
3007
|
-
this.locale && (O =
|
|
2981
|
+
this.locale && (O = Wr(S, this.locale));
|
|
3008
2982
|
var f = {
|
|
3009
|
-
type:
|
|
2983
|
+
type: V.dateTime,
|
|
3010
2984
|
pattern: O,
|
|
3011
|
-
location:
|
|
3012
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3013
|
-
}, P = u === "date" ?
|
|
2985
|
+
location: a.styleLocation,
|
|
2986
|
+
parsedOptions: this.shouldParseSkeletons ? Gr(O) : {}
|
|
2987
|
+
}, P = u === "date" ? E.date : E.time;
|
|
3014
2988
|
return {
|
|
3015
|
-
val: { type: P, value:
|
|
2989
|
+
val: { type: P, value: n, location: x, style: f },
|
|
3016
2990
|
err: null
|
|
3017
2991
|
};
|
|
3018
2992
|
}
|
|
3019
2993
|
}
|
|
3020
2994
|
return {
|
|
3021
2995
|
val: {
|
|
3022
|
-
type: u === "number" ?
|
|
3023
|
-
value:
|
|
2996
|
+
type: u === "number" ? E.number : u === "date" ? E.date : E.time,
|
|
2997
|
+
value: n,
|
|
3024
2998
|
location: x,
|
|
3025
|
-
style: (s =
|
|
2999
|
+
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
3026
3000
|
},
|
|
3027
3001
|
err: null
|
|
3028
3002
|
};
|
|
@@ -3032,7 +3006,7 @@ var or = (
|
|
|
3032
3006
|
case "select": {
|
|
3033
3007
|
var A = this.clonePosition();
|
|
3034
3008
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3035
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(A,
|
|
3009
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(A, le({}, A)));
|
|
3036
3010
|
this.bumpSpace();
|
|
3037
3011
|
var I = this.parseIdentifierIfPossible(), N = 0;
|
|
3038
3012
|
if (u !== "select" && I.value === "offset") {
|
|
@@ -3044,42 +3018,42 @@ var or = (
|
|
|
3044
3018
|
return c;
|
|
3045
3019
|
this.bumpSpace(), I = this.parseIdentifierIfPossible(), N = c.val;
|
|
3046
3020
|
}
|
|
3047
|
-
var T = this.tryParsePluralOrSelectOptions(t, u,
|
|
3021
|
+
var T = this.tryParsePluralOrSelectOptions(t, u, r, I);
|
|
3048
3022
|
if (T.err)
|
|
3049
3023
|
return T;
|
|
3050
3024
|
var y = this.tryParseArgumentClose(i);
|
|
3051
3025
|
if (y.err)
|
|
3052
3026
|
return y;
|
|
3053
|
-
var
|
|
3027
|
+
var v = p(i, this.clonePosition());
|
|
3054
3028
|
return u === "select" ? {
|
|
3055
3029
|
val: {
|
|
3056
|
-
type:
|
|
3057
|
-
value:
|
|
3058
|
-
options:
|
|
3059
|
-
location:
|
|
3030
|
+
type: E.select,
|
|
3031
|
+
value: n,
|
|
3032
|
+
options: tt(T.val),
|
|
3033
|
+
location: v
|
|
3060
3034
|
},
|
|
3061
3035
|
err: null
|
|
3062
3036
|
} : {
|
|
3063
3037
|
val: {
|
|
3064
|
-
type:
|
|
3065
|
-
value:
|
|
3066
|
-
options:
|
|
3038
|
+
type: E.plural,
|
|
3039
|
+
value: n,
|
|
3040
|
+
options: tt(T.val),
|
|
3067
3041
|
offset: N,
|
|
3068
3042
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3069
|
-
location:
|
|
3043
|
+
location: v
|
|
3070
3044
|
},
|
|
3071
3045
|
err: null
|
|
3072
3046
|
};
|
|
3073
3047
|
}
|
|
3074
3048
|
default:
|
|
3075
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, p(
|
|
3049
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
|
|
3076
3050
|
}
|
|
3077
3051
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3078
3052
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3079
3053
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3080
|
-
for (var t = 0,
|
|
3081
|
-
var
|
|
3082
|
-
switch (
|
|
3054
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3055
|
+
var n = this.char();
|
|
3056
|
+
switch (n) {
|
|
3083
3057
|
case 39: {
|
|
3084
3058
|
this.bump();
|
|
3085
3059
|
var i = this.clonePosition();
|
|
@@ -3097,7 +3071,7 @@ var or = (
|
|
|
3097
3071
|
t -= 1;
|
|
3098
3072
|
else
|
|
3099
3073
|
return {
|
|
3100
|
-
val: this.message.slice(
|
|
3074
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3101
3075
|
err: null
|
|
3102
3076
|
};
|
|
3103
3077
|
break;
|
|
@@ -3108,70 +3082,70 @@ var or = (
|
|
|
3108
3082
|
}
|
|
3109
3083
|
}
|
|
3110
3084
|
return {
|
|
3111
|
-
val: this.message.slice(
|
|
3085
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3112
3086
|
err: null
|
|
3113
3087
|
};
|
|
3114
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3115
|
-
var
|
|
3088
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3089
|
+
var n = [];
|
|
3116
3090
|
try {
|
|
3117
|
-
|
|
3091
|
+
n = jr(t);
|
|
3118
3092
|
} catch (i) {
|
|
3119
|
-
return this.error(d.INVALID_NUMBER_SKELETON,
|
|
3093
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3120
3094
|
}
|
|
3121
3095
|
return {
|
|
3122
3096
|
val: {
|
|
3123
|
-
type:
|
|
3124
|
-
tokens:
|
|
3125
|
-
location:
|
|
3126
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3097
|
+
type: V.number,
|
|
3098
|
+
tokens: n,
|
|
3099
|
+
location: r,
|
|
3100
|
+
parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
|
|
3127
3101
|
},
|
|
3128
3102
|
err: null
|
|
3129
3103
|
};
|
|
3130
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3131
|
-
for (var s,
|
|
3132
|
-
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) {
|
|
3133
3107
|
var c = this.clonePosition();
|
|
3134
|
-
if (
|
|
3108
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
3135
3109
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3136
3110
|
if (f.err)
|
|
3137
3111
|
return f;
|
|
3138
|
-
h = p(c, this.clonePosition()),
|
|
3112
|
+
h = p(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3139
3113
|
} else
|
|
3140
3114
|
break;
|
|
3141
3115
|
}
|
|
3142
|
-
if (l.has(
|
|
3143
|
-
return this.error(
|
|
3144
|
-
|
|
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();
|
|
3145
3119
|
var b = this.clonePosition();
|
|
3146
3120
|
if (!this.bumpIf("{"))
|
|
3147
|
-
return this.error(
|
|
3148
|
-
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);
|
|
3149
3123
|
if (y.err)
|
|
3150
3124
|
return y;
|
|
3151
3125
|
var x = this.tryParseArgumentClose(b);
|
|
3152
3126
|
if (x.err)
|
|
3153
3127
|
return x;
|
|
3154
3128
|
u.push([
|
|
3155
|
-
|
|
3129
|
+
a,
|
|
3156
3130
|
{
|
|
3157
3131
|
value: y.val,
|
|
3158
3132
|
location: p(b, this.clonePosition())
|
|
3159
3133
|
}
|
|
3160
|
-
]), l.add(
|
|
3134
|
+
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
3161
3135
|
}
|
|
3162
|
-
return u.length === 0 ? this.error(
|
|
3163
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3164
|
-
var
|
|
3165
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3166
|
-
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(); ) {
|
|
3167
3141
|
var u = this.char();
|
|
3168
3142
|
if (u >= 48 && u <= 57)
|
|
3169
|
-
s = !0,
|
|
3143
|
+
s = !0, o = o * 10 + (u - 48), this.bump();
|
|
3170
3144
|
else
|
|
3171
3145
|
break;
|
|
3172
3146
|
}
|
|
3173
3147
|
var l = p(i, this.clonePosition());
|
|
3174
|
-
return s ? (
|
|
3148
|
+
return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3175
3149
|
}, e.prototype.offset = function() {
|
|
3176
3150
|
return this.position.offset;
|
|
3177
3151
|
}, e.prototype.isEOF = function() {
|
|
@@ -3186,17 +3160,17 @@ var or = (
|
|
|
3186
3160
|
var t = this.position.offset;
|
|
3187
3161
|
if (t >= this.message.length)
|
|
3188
3162
|
throw Error("out of bound");
|
|
3189
|
-
var
|
|
3190
|
-
if (
|
|
3163
|
+
var r = It(this.message, t);
|
|
3164
|
+
if (r === void 0)
|
|
3191
3165
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3192
|
-
return
|
|
3193
|
-
}, e.prototype.error = function(t,
|
|
3166
|
+
return r;
|
|
3167
|
+
}, e.prototype.error = function(t, r) {
|
|
3194
3168
|
return {
|
|
3195
3169
|
val: null,
|
|
3196
3170
|
err: {
|
|
3197
3171
|
kind: t,
|
|
3198
3172
|
message: this.message,
|
|
3199
|
-
location:
|
|
3173
|
+
location: r
|
|
3200
3174
|
}
|
|
3201
3175
|
};
|
|
3202
3176
|
}, e.prototype.bump = function() {
|
|
@@ -3205,191 +3179,191 @@ var or = (
|
|
|
3205
3179
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3206
3180
|
}
|
|
3207
3181
|
}, e.prototype.bumpIf = function(t) {
|
|
3208
|
-
if (
|
|
3209
|
-
for (var
|
|
3182
|
+
if (et(this.message, t, this.offset())) {
|
|
3183
|
+
for (var r = 0; r < t.length; r++)
|
|
3210
3184
|
this.bump();
|
|
3211
3185
|
return !0;
|
|
3212
3186
|
}
|
|
3213
3187
|
return !1;
|
|
3214
3188
|
}, e.prototype.bumpUntil = function(t) {
|
|
3215
|
-
var
|
|
3216
|
-
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);
|
|
3217
3191
|
}, e.prototype.bumpTo = function(t) {
|
|
3218
3192
|
if (this.offset() > t)
|
|
3219
3193
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3220
3194
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3221
|
-
var
|
|
3222
|
-
if (
|
|
3195
|
+
var r = this.offset();
|
|
3196
|
+
if (r === t)
|
|
3223
3197
|
break;
|
|
3224
|
-
if (
|
|
3198
|
+
if (r > t)
|
|
3225
3199
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3226
3200
|
if (this.bump(), this.isEOF())
|
|
3227
3201
|
break;
|
|
3228
3202
|
}
|
|
3229
3203
|
}, e.prototype.bumpSpace = function() {
|
|
3230
|
-
for (; !this.isEOF() &&
|
|
3204
|
+
for (; !this.isEOF() && Ct(this.char()); )
|
|
3231
3205
|
this.bump();
|
|
3232
3206
|
}, e.prototype.peek = function() {
|
|
3233
3207
|
if (this.isEOF())
|
|
3234
3208
|
return null;
|
|
3235
|
-
var t = this.char(),
|
|
3236
|
-
return
|
|
3209
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3210
|
+
return n != null ? n : null;
|
|
3237
3211
|
}, e;
|
|
3238
3212
|
}()
|
|
3239
3213
|
);
|
|
3240
|
-
function
|
|
3214
|
+
function Me(e) {
|
|
3241
3215
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3242
3216
|
}
|
|
3243
|
-
function
|
|
3244
|
-
return
|
|
3217
|
+
function ln(e) {
|
|
3218
|
+
return Me(e) || e === 47;
|
|
3245
3219
|
}
|
|
3246
|
-
function
|
|
3220
|
+
function fn(e) {
|
|
3247
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;
|
|
3248
3222
|
}
|
|
3249
|
-
function
|
|
3223
|
+
function Ct(e) {
|
|
3250
3224
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3251
3225
|
}
|
|
3252
|
-
function
|
|
3226
|
+
function cn(e) {
|
|
3253
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;
|
|
3254
3228
|
}
|
|
3255
|
-
function
|
|
3229
|
+
function Re(e) {
|
|
3256
3230
|
e.forEach(function(t) {
|
|
3257
|
-
if (delete t.location,
|
|
3258
|
-
for (var
|
|
3259
|
-
delete t.options[
|
|
3231
|
+
if (delete t.location, Tt(t) || St(t))
|
|
3232
|
+
for (var r in t.options)
|
|
3233
|
+
delete t.options[r].location, Re(t.options[r].value);
|
|
3260
3234
|
else
|
|
3261
|
-
|
|
3235
|
+
_t(t) && At(t.style) || (xt(t) || Ht(t)) && Oe(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
|
|
3262
3236
|
});
|
|
3263
3237
|
}
|
|
3264
|
-
function
|
|
3265
|
-
t === void 0 && (t = {}), t =
|
|
3266
|
-
var
|
|
3267
|
-
if (
|
|
3268
|
-
var
|
|
3269
|
-
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;
|
|
3270
3244
|
}
|
|
3271
|
-
return t != null && t.captureLocation ||
|
|
3245
|
+
return t != null && t.captureLocation || Re(r.val), r.val;
|
|
3272
3246
|
}
|
|
3273
|
-
var
|
|
3247
|
+
var X;
|
|
3274
3248
|
(function(e) {
|
|
3275
3249
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3276
|
-
})(
|
|
3277
|
-
var
|
|
3250
|
+
})(X || (X = {}));
|
|
3251
|
+
var be = (
|
|
3278
3252
|
/** @class */
|
|
3279
3253
|
function(e) {
|
|
3280
|
-
|
|
3281
|
-
function t(
|
|
3282
|
-
var s = e.call(this,
|
|
3283
|
-
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;
|
|
3284
3258
|
}
|
|
3285
3259
|
return t.prototype.toString = function() {
|
|
3286
3260
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3287
3261
|
}, t;
|
|
3288
3262
|
}(Error)
|
|
3289
|
-
),
|
|
3263
|
+
), nt = (
|
|
3290
3264
|
/** @class */
|
|
3291
3265
|
function(e) {
|
|
3292
|
-
|
|
3293
|
-
function t(
|
|
3294
|
-
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;
|
|
3295
3269
|
}
|
|
3296
3270
|
return t;
|
|
3297
|
-
}(
|
|
3298
|
-
),
|
|
3271
|
+
}(be)
|
|
3272
|
+
), gn = (
|
|
3299
3273
|
/** @class */
|
|
3300
3274
|
function(e) {
|
|
3301
|
-
|
|
3302
|
-
function t(
|
|
3303
|
-
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;
|
|
3304
3278
|
}
|
|
3305
3279
|
return t;
|
|
3306
|
-
}(
|
|
3307
|
-
),
|
|
3280
|
+
}(be)
|
|
3281
|
+
), dn = (
|
|
3308
3282
|
/** @class */
|
|
3309
3283
|
function(e) {
|
|
3310
|
-
|
|
3311
|
-
function t(
|
|
3312
|
-
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;
|
|
3313
3287
|
}
|
|
3314
3288
|
return t;
|
|
3315
|
-
}(
|
|
3289
|
+
}(be)
|
|
3316
3290
|
), w;
|
|
3317
3291
|
(function(e) {
|
|
3318
3292
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3319
3293
|
})(w || (w = {}));
|
|
3320
|
-
function
|
|
3321
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3322
|
-
var
|
|
3323
|
-
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;
|
|
3324
3298
|
}, []);
|
|
3325
3299
|
}
|
|
3326
|
-
function
|
|
3300
|
+
function pn(e) {
|
|
3327
3301
|
return typeof e == "function";
|
|
3328
3302
|
}
|
|
3329
|
-
function
|
|
3330
|
-
if (e.length === 1 &&
|
|
3303
|
+
function ue(e, t, r, n, i, s, o) {
|
|
3304
|
+
if (e.length === 1 && qe(e[0]))
|
|
3331
3305
|
return [
|
|
3332
3306
|
{
|
|
3333
3307
|
type: w.literal,
|
|
3334
3308
|
value: e[0].value
|
|
3335
3309
|
}
|
|
3336
3310
|
];
|
|
3337
|
-
for (var u = [], l = 0,
|
|
3338
|
-
var h =
|
|
3339
|
-
if (
|
|
3311
|
+
for (var u = [], l = 0, a = e; l < a.length; l++) {
|
|
3312
|
+
var h = a[l];
|
|
3313
|
+
if (qe(h)) {
|
|
3340
3314
|
u.push({
|
|
3341
3315
|
type: w.literal,
|
|
3342
3316
|
value: h.value
|
|
3343
3317
|
});
|
|
3344
3318
|
continue;
|
|
3345
3319
|
}
|
|
3346
|
-
if (
|
|
3320
|
+
if (Ur(h)) {
|
|
3347
3321
|
typeof s == "number" && u.push({
|
|
3348
3322
|
type: w.literal,
|
|
3349
|
-
value:
|
|
3323
|
+
value: r.getNumberFormat(t).format(s)
|
|
3350
3324
|
});
|
|
3351
3325
|
continue;
|
|
3352
3326
|
}
|
|
3353
3327
|
var c = h.value;
|
|
3354
3328
|
if (!(i && c in i))
|
|
3355
|
-
throw new
|
|
3329
|
+
throw new dn(c, o);
|
|
3356
3330
|
var f = i[c];
|
|
3357
|
-
if (
|
|
3331
|
+
if ($r(h)) {
|
|
3358
3332
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3359
3333
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3360
3334
|
value: f
|
|
3361
3335
|
});
|
|
3362
3336
|
continue;
|
|
3363
3337
|
}
|
|
3364
|
-
if (
|
|
3365
|
-
var b = typeof h.style == "string" ?
|
|
3338
|
+
if (xt(h)) {
|
|
3339
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Oe(h.style) ? h.style.parsedOptions : void 0;
|
|
3366
3340
|
u.push({
|
|
3367
3341
|
type: w.literal,
|
|
3368
|
-
value:
|
|
3342
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3369
3343
|
});
|
|
3370
3344
|
continue;
|
|
3371
3345
|
}
|
|
3372
|
-
if (
|
|
3373
|
-
var b = typeof h.style == "string" ?
|
|
3346
|
+
if (Ht(h)) {
|
|
3347
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Oe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3374
3348
|
u.push({
|
|
3375
3349
|
type: w.literal,
|
|
3376
|
-
value:
|
|
3350
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3377
3351
|
});
|
|
3378
3352
|
continue;
|
|
3379
3353
|
}
|
|
3380
|
-
if (
|
|
3381
|
-
var b = typeof h.style == "string" ?
|
|
3354
|
+
if (_t(h)) {
|
|
3355
|
+
var b = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3382
3356
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3383
3357
|
type: w.literal,
|
|
3384
|
-
value:
|
|
3358
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3385
3359
|
});
|
|
3386
3360
|
continue;
|
|
3387
3361
|
}
|
|
3388
|
-
if (
|
|
3362
|
+
if (Bt(h)) {
|
|
3389
3363
|
var y = h.children, x = h.value, S = i[x];
|
|
3390
|
-
if (!
|
|
3391
|
-
throw new
|
|
3392
|
-
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) {
|
|
3393
3367
|
return N.value;
|
|
3394
3368
|
}));
|
|
3395
3369
|
Array.isArray(P) || (P = [P]), u.push.apply(u, P.map(function(N) {
|
|
@@ -3399,107 +3373,107 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3399
3373
|
};
|
|
3400
3374
|
}));
|
|
3401
3375
|
}
|
|
3402
|
-
if (
|
|
3376
|
+
if (Tt(h)) {
|
|
3403
3377
|
var A = h.options[f] || h.options.other;
|
|
3404
3378
|
if (!A)
|
|
3405
|
-
throw new
|
|
3406
|
-
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));
|
|
3407
3381
|
continue;
|
|
3408
3382
|
}
|
|
3409
|
-
if (
|
|
3383
|
+
if (St(h)) {
|
|
3410
3384
|
var A = h.options["=".concat(f)];
|
|
3411
3385
|
if (!A) {
|
|
3412
3386
|
if (!Intl.PluralRules)
|
|
3413
|
-
throw new
|
|
3387
|
+
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3414
3388
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3415
|
-
`,
|
|
3416
|
-
var I =
|
|
3389
|
+
`, X.MISSING_INTL_API, o);
|
|
3390
|
+
var I = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3417
3391
|
A = h.options[I] || h.options.other;
|
|
3418
3392
|
}
|
|
3419
3393
|
if (!A)
|
|
3420
|
-
throw new
|
|
3421
|
-
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)));
|
|
3422
3396
|
continue;
|
|
3423
3397
|
}
|
|
3424
3398
|
}
|
|
3425
|
-
return
|
|
3399
|
+
return bn(u);
|
|
3426
3400
|
}
|
|
3427
|
-
function
|
|
3428
|
-
return t ?
|
|
3429
|
-
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;
|
|
3430
3404
|
}, {})) : e;
|
|
3431
3405
|
}
|
|
3432
|
-
function
|
|
3433
|
-
return t ? Object.keys(e).reduce(function(
|
|
3434
|
-
return n
|
|
3435
|
-
},
|
|
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;
|
|
3436
3410
|
}
|
|
3437
|
-
function
|
|
3411
|
+
function Se(e) {
|
|
3438
3412
|
return {
|
|
3439
3413
|
create: function() {
|
|
3440
3414
|
return {
|
|
3441
3415
|
get: function(t) {
|
|
3442
3416
|
return e[t];
|
|
3443
3417
|
},
|
|
3444
|
-
set: function(t,
|
|
3445
|
-
e[t] =
|
|
3418
|
+
set: function(t, r) {
|
|
3419
|
+
e[t] = r;
|
|
3446
3420
|
}
|
|
3447
3421
|
};
|
|
3448
3422
|
}
|
|
3449
3423
|
};
|
|
3450
3424
|
}
|
|
3451
|
-
function
|
|
3425
|
+
function vn(e) {
|
|
3452
3426
|
return e === void 0 && (e = {
|
|
3453
3427
|
number: {},
|
|
3454
3428
|
dateTime: {},
|
|
3455
3429
|
pluralRules: {}
|
|
3456
3430
|
}), {
|
|
3457
|
-
getNumberFormat:
|
|
3458
|
-
for (var t,
|
|
3459
|
-
n
|
|
3460
|
-
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)))();
|
|
3461
3435
|
}, {
|
|
3462
|
-
cache:
|
|
3463
|
-
strategy:
|
|
3436
|
+
cache: Se(e.number),
|
|
3437
|
+
strategy: He.variadic
|
|
3464
3438
|
}),
|
|
3465
|
-
getDateTimeFormat:
|
|
3466
|
-
for (var t,
|
|
3467
|
-
n
|
|
3468
|
-
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)))();
|
|
3469
3443
|
}, {
|
|
3470
|
-
cache:
|
|
3471
|
-
strategy:
|
|
3444
|
+
cache: Se(e.dateTime),
|
|
3445
|
+
strategy: He.variadic
|
|
3472
3446
|
}),
|
|
3473
|
-
getPluralRules:
|
|
3474
|
-
for (var t,
|
|
3475
|
-
n
|
|
3476
|
-
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)))();
|
|
3477
3451
|
}, {
|
|
3478
|
-
cache:
|
|
3479
|
-
strategy:
|
|
3452
|
+
cache: Se(e.pluralRules),
|
|
3453
|
+
strategy: He.variadic
|
|
3480
3454
|
})
|
|
3481
3455
|
};
|
|
3482
3456
|
}
|
|
3483
|
-
var
|
|
3457
|
+
var _n = (
|
|
3484
3458
|
/** @class */
|
|
3485
3459
|
function() {
|
|
3486
|
-
function e(t,
|
|
3487
|
-
|
|
3460
|
+
function e(t, r, n, i) {
|
|
3461
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3488
3462
|
var s = this;
|
|
3489
3463
|
if (this.formatterCache = {
|
|
3490
3464
|
number: {},
|
|
3491
3465
|
dateTime: {},
|
|
3492
3466
|
pluralRules: {}
|
|
3493
3467
|
}, this.format = function(l) {
|
|
3494
|
-
var
|
|
3495
|
-
if (
|
|
3496
|
-
return
|
|
3497
|
-
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) {
|
|
3498
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;
|
|
3499
3473
|
}, []);
|
|
3500
3474
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3501
3475
|
}, this.formatToParts = function(l) {
|
|
3502
|
-
return
|
|
3476
|
+
return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3503
3477
|
}, this.resolvedOptions = function() {
|
|
3504
3478
|
var l;
|
|
3505
3479
|
return {
|
|
@@ -3507,18 +3481,18 @@ var Er = (
|
|
|
3507
3481
|
};
|
|
3508
3482
|
}, this.getAst = function() {
|
|
3509
3483
|
return s.ast;
|
|
3510
|
-
}, this.locales =
|
|
3484
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3511
3485
|
if (this.message = t, !e.__parse)
|
|
3512
3486
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3513
|
-
var
|
|
3514
|
-
|
|
3515
|
-
var u =
|
|
3516
|
-
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 }));
|
|
3517
3491
|
} else
|
|
3518
3492
|
this.ast = t;
|
|
3519
3493
|
if (!Array.isArray(this.ast))
|
|
3520
3494
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3521
|
-
this.formats =
|
|
3495
|
+
this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
|
|
3522
3496
|
}
|
|
3523
3497
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3524
3498
|
get: function() {
|
|
@@ -3528,10 +3502,10 @@ var Er = (
|
|
|
3528
3502
|
configurable: !0
|
|
3529
3503
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3530
3504
|
if (typeof Intl.Locale != "undefined") {
|
|
3531
|
-
var
|
|
3532
|
-
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]);
|
|
3533
3507
|
}
|
|
3534
|
-
}, e.__parse =
|
|
3508
|
+
}, e.__parse = mn, e.formats = {
|
|
3535
3509
|
number: {
|
|
3536
3510
|
integer: {
|
|
3537
3511
|
maximumFractionDigits: 0
|
|
@@ -3592,113 +3566,113 @@ var Er = (
|
|
|
3592
3566
|
}, e;
|
|
3593
3567
|
}()
|
|
3594
3568
|
);
|
|
3595
|
-
function
|
|
3569
|
+
function xn(e, t) {
|
|
3596
3570
|
if (t == null)
|
|
3597
3571
|
return;
|
|
3598
3572
|
if (t in e)
|
|
3599
3573
|
return e[t];
|
|
3600
|
-
const
|
|
3601
|
-
let
|
|
3602
|
-
for (let i = 0; i <
|
|
3603
|
-
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") {
|
|
3604
3578
|
if (i > 0) {
|
|
3605
|
-
const s =
|
|
3606
|
-
if (s in
|
|
3607
|
-
|
|
3579
|
+
const s = r.slice(i, r.length).join(".");
|
|
3580
|
+
if (s in n) {
|
|
3581
|
+
n = n[s];
|
|
3608
3582
|
break;
|
|
3609
3583
|
}
|
|
3610
3584
|
}
|
|
3611
|
-
|
|
3585
|
+
n = n[r[i]];
|
|
3612
3586
|
} else
|
|
3613
|
-
|
|
3614
|
-
return
|
|
3587
|
+
n = void 0;
|
|
3588
|
+
return n;
|
|
3615
3589
|
}
|
|
3616
|
-
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) => {
|
|
3617
3591
|
if (t == null)
|
|
3618
3592
|
return;
|
|
3619
|
-
if (t in
|
|
3620
|
-
return
|
|
3621
|
-
const
|
|
3622
|
-
for (let
|
|
3623
|
-
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);
|
|
3624
3598
|
if (s)
|
|
3625
|
-
return
|
|
3599
|
+
return Hn(e, t, s);
|
|
3626
3600
|
}
|
|
3627
3601
|
};
|
|
3628
|
-
let
|
|
3629
|
-
const
|
|
3630
|
-
function
|
|
3631
|
-
return
|
|
3602
|
+
let Fe;
|
|
3603
|
+
const Q = ge({});
|
|
3604
|
+
function Tn(e) {
|
|
3605
|
+
return Fe[e] || null;
|
|
3632
3606
|
}
|
|
3633
|
-
function
|
|
3634
|
-
return e in
|
|
3607
|
+
function Rt(e) {
|
|
3608
|
+
return e in Fe;
|
|
3635
3609
|
}
|
|
3636
|
-
function
|
|
3637
|
-
if (!
|
|
3610
|
+
function Sn(e, t) {
|
|
3611
|
+
if (!Rt(e))
|
|
3638
3612
|
return null;
|
|
3639
|
-
const
|
|
3640
|
-
return
|
|
3613
|
+
const r = Tn(e);
|
|
3614
|
+
return xn(r, t);
|
|
3641
3615
|
}
|
|
3642
|
-
function
|
|
3616
|
+
function Bn(e) {
|
|
3643
3617
|
if (e == null)
|
|
3644
3618
|
return;
|
|
3645
|
-
const t =
|
|
3646
|
-
for (let
|
|
3647
|
-
const
|
|
3648
|
-
if (
|
|
3649
|
-
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;
|
|
3650
3624
|
}
|
|
3651
3625
|
}
|
|
3652
|
-
function
|
|
3653
|
-
delete
|
|
3626
|
+
function An(e, ...t) {
|
|
3627
|
+
delete R[e], Q.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
|
|
3654
3628
|
}
|
|
3655
|
-
|
|
3656
|
-
[
|
|
3629
|
+
Z(
|
|
3630
|
+
[Q],
|
|
3657
3631
|
([e]) => Object.keys(e)
|
|
3658
3632
|
);
|
|
3659
|
-
|
|
3660
|
-
const
|
|
3661
|
-
function
|
|
3662
|
-
|
|
3663
|
-
}
|
|
3664
|
-
function
|
|
3665
|
-
return
|
|
3666
|
-
}
|
|
3667
|
-
function
|
|
3668
|
-
return
|
|
3669
|
-
const
|
|
3670
|
-
return [t,
|
|
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];
|
|
3637
|
+
}
|
|
3638
|
+
function $t(e) {
|
|
3639
|
+
return he[e];
|
|
3640
|
+
}
|
|
3641
|
+
function Pn(e) {
|
|
3642
|
+
return pe(e).map((t) => {
|
|
3643
|
+
const r = $t(t);
|
|
3644
|
+
return [t, r ? [...r] : []];
|
|
3671
3645
|
}).filter(([, t]) => t.length > 0);
|
|
3672
3646
|
}
|
|
3673
|
-
function
|
|
3674
|
-
return e == null ? !1 :
|
|
3647
|
+
function $e(e) {
|
|
3648
|
+
return e == null ? !1 : pe(e).some(
|
|
3675
3649
|
(t) => {
|
|
3676
|
-
var
|
|
3677
|
-
return (
|
|
3650
|
+
var r;
|
|
3651
|
+
return (r = $t(t)) == null ? void 0 : r.size;
|
|
3678
3652
|
}
|
|
3679
3653
|
);
|
|
3680
3654
|
}
|
|
3681
|
-
function
|
|
3655
|
+
function Nn(e, t) {
|
|
3682
3656
|
return Promise.all(
|
|
3683
|
-
t.map((
|
|
3684
|
-
).then((
|
|
3685
|
-
}
|
|
3686
|
-
const
|
|
3687
|
-
function
|
|
3688
|
-
if (
|
|
3689
|
-
return e in
|
|
3690
|
-
const t =
|
|
3691
|
-
return
|
|
3657
|
+
t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
|
|
3658
|
+
).then((n) => An(e, ...n));
|
|
3659
|
+
}
|
|
3660
|
+
const J = {};
|
|
3661
|
+
function Ut(e) {
|
|
3662
|
+
if (!$e(e))
|
|
3663
|
+
return e in J ? J[e] : Promise.resolve();
|
|
3664
|
+
const t = Pn(e);
|
|
3665
|
+
return J[e] = Promise.all(
|
|
3692
3666
|
t.map(
|
|
3693
|
-
([
|
|
3667
|
+
([r, n]) => Nn(r, n)
|
|
3694
3668
|
)
|
|
3695
3669
|
).then(() => {
|
|
3696
|
-
if (
|
|
3697
|
-
return
|
|
3698
|
-
delete
|
|
3699
|
-
}),
|
|
3670
|
+
if ($e(e))
|
|
3671
|
+
return Ut(e);
|
|
3672
|
+
delete J[e];
|
|
3673
|
+
}), J[e];
|
|
3700
3674
|
}
|
|
3701
|
-
const
|
|
3675
|
+
const On = {
|
|
3702
3676
|
number: {
|
|
3703
3677
|
scientific: { notation: "scientific" },
|
|
3704
3678
|
engineering: { notation: "engineering" },
|
|
@@ -3727,150 +3701,150 @@ const Pr = {
|
|
|
3727
3701
|
timeZoneName: "short"
|
|
3728
3702
|
}
|
|
3729
3703
|
}
|
|
3730
|
-
},
|
|
3704
|
+
}, In = {
|
|
3731
3705
|
fallbackLocale: null,
|
|
3732
3706
|
loadingDelay: 200,
|
|
3733
|
-
formats:
|
|
3707
|
+
formats: On,
|
|
3734
3708
|
warnOnMissingMessages: !0,
|
|
3735
3709
|
handleMissingMessage: void 0,
|
|
3736
3710
|
ignoreTag: !0
|
|
3737
|
-
},
|
|
3738
|
-
function
|
|
3739
|
-
return
|
|
3740
|
-
}
|
|
3741
|
-
const
|
|
3742
|
-
var
|
|
3743
|
-
for (var
|
|
3744
|
-
|
|
3745
|
-
if (
|
|
3746
|
-
for (var
|
|
3747
|
-
|
|
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]);
|
|
3719
|
+
if (it)
|
|
3720
|
+
for (var r of it(t))
|
|
3721
|
+
Un.call(t, r) && st(e, r, t[r]);
|
|
3748
3722
|
return e;
|
|
3749
|
-
},
|
|
3750
|
-
let
|
|
3751
|
-
const
|
|
3752
|
-
function
|
|
3753
|
-
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();
|
|
3754
3728
|
}
|
|
3755
|
-
function
|
|
3756
|
-
const
|
|
3757
|
-
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;
|
|
3758
3732
|
}
|
|
3759
|
-
function
|
|
3760
|
-
return
|
|
3733
|
+
function U() {
|
|
3734
|
+
return Ue != null ? Ue : void 0;
|
|
3761
3735
|
}
|
|
3762
|
-
|
|
3763
|
-
|
|
3736
|
+
fe.subscribe((e) => {
|
|
3737
|
+
Ue = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3764
3738
|
});
|
|
3765
|
-
const
|
|
3766
|
-
if (e &&
|
|
3767
|
-
const { loadingDelay: t } =
|
|
3768
|
-
let
|
|
3769
|
-
return typeof window != "undefined" &&
|
|
3770
|
-
() =>
|
|
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),
|
|
3771
3745
|
t
|
|
3772
|
-
) :
|
|
3773
|
-
|
|
3746
|
+
) : Be.set(!0), Ut(e).then(() => {
|
|
3747
|
+
fe.set(e);
|
|
3774
3748
|
}).finally(() => {
|
|
3775
|
-
clearTimeout(
|
|
3749
|
+
clearTimeout(r), Be.set(!1);
|
|
3776
3750
|
});
|
|
3777
3751
|
}
|
|
3778
|
-
return
|
|
3779
|
-
},
|
|
3780
|
-
set:
|
|
3781
|
-
}),
|
|
3752
|
+
return fe.set(e);
|
|
3753
|
+
}, $ = Gn(Dn({}, fe), {
|
|
3754
|
+
set: Fn
|
|
3755
|
+
}), ye = (e) => {
|
|
3782
3756
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3783
|
-
return (
|
|
3784
|
-
const i = JSON.stringify(
|
|
3785
|
-
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);
|
|
3786
3760
|
};
|
|
3787
3761
|
};
|
|
3788
|
-
var
|
|
3789
|
-
for (var
|
|
3790
|
-
|
|
3791
|
-
if (
|
|
3792
|
-
for (var
|
|
3793
|
-
|
|
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]);
|
|
3794
3768
|
return e;
|
|
3795
|
-
},
|
|
3796
|
-
var
|
|
3797
|
-
for (var
|
|
3798
|
-
|
|
3799
|
-
if (e != null &&
|
|
3800
|
-
for (var
|
|
3801
|
-
t.indexOf(
|
|
3802
|
-
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;
|
|
3803
3777
|
};
|
|
3804
|
-
const
|
|
3805
|
-
const { formats:
|
|
3806
|
-
if (e in
|
|
3807
|
-
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];
|
|
3808
3782
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3809
|
-
},
|
|
3783
|
+
}, kn = ye(
|
|
3810
3784
|
(e) => {
|
|
3811
|
-
var t = e, { locale:
|
|
3812
|
-
if (
|
|
3785
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3786
|
+
if (r == null)
|
|
3813
3787
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3814
|
-
return
|
|
3788
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3815
3789
|
}
|
|
3816
|
-
),
|
|
3790
|
+
), Vn = ye(
|
|
3817
3791
|
(e) => {
|
|
3818
|
-
var t = e, { locale:
|
|
3819
|
-
if (
|
|
3792
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3793
|
+
if (r == null)
|
|
3820
3794
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3821
|
-
return
|
|
3795
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3822
3796
|
}
|
|
3823
|
-
),
|
|
3797
|
+
), Xn = ye(
|
|
3824
3798
|
(e) => {
|
|
3825
|
-
var t = e, { locale:
|
|
3826
|
-
if (
|
|
3799
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3800
|
+
if (r == null)
|
|
3827
3801
|
throw new Error(
|
|
3828
3802
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3829
3803
|
);
|
|
3830
|
-
return
|
|
3804
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3831
3805
|
}
|
|
3832
|
-
),
|
|
3806
|
+
), zn = (e = {}) => {
|
|
3833
3807
|
var t = e, {
|
|
3834
|
-
locale:
|
|
3835
|
-
} = t,
|
|
3808
|
+
locale: r = U()
|
|
3809
|
+
} = t, n = q(t, [
|
|
3836
3810
|
"locale"
|
|
3837
3811
|
]);
|
|
3838
|
-
return
|
|
3839
|
-
},
|
|
3812
|
+
return kn(je({ locale: r }, n));
|
|
3813
|
+
}, Wn = (e = {}) => {
|
|
3840
3814
|
var t = e, {
|
|
3841
|
-
locale:
|
|
3842
|
-
} = t,
|
|
3815
|
+
locale: r = U()
|
|
3816
|
+
} = t, n = q(t, [
|
|
3843
3817
|
"locale"
|
|
3844
3818
|
]);
|
|
3845
|
-
return
|
|
3846
|
-
},
|
|
3819
|
+
return Vn(je({ locale: r }, n));
|
|
3820
|
+
}, Zn = (e = {}) => {
|
|
3847
3821
|
var t = e, {
|
|
3848
|
-
locale:
|
|
3849
|
-
} = t,
|
|
3822
|
+
locale: r = U()
|
|
3823
|
+
} = t, n = q(t, [
|
|
3850
3824
|
"locale"
|
|
3851
3825
|
]);
|
|
3852
|
-
return
|
|
3853
|
-
},
|
|
3826
|
+
return Xn(je({ locale: r }, n));
|
|
3827
|
+
}, Qn = ye(
|
|
3854
3828
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3855
|
-
(e, t =
|
|
3856
|
-
ignoreTag:
|
|
3829
|
+
(e, t = U()) => new _n(e, t, z().formats, {
|
|
3830
|
+
ignoreTag: z().ignoreTag
|
|
3857
3831
|
})
|
|
3858
|
-
),
|
|
3859
|
-
var
|
|
3860
|
-
let
|
|
3861
|
-
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);
|
|
3862
3836
|
const {
|
|
3863
3837
|
values: u,
|
|
3864
|
-
locale: l =
|
|
3865
|
-
default:
|
|
3866
|
-
} =
|
|
3838
|
+
locale: l = U(),
|
|
3839
|
+
default: a
|
|
3840
|
+
} = o;
|
|
3867
3841
|
if (l == null)
|
|
3868
3842
|
throw new Error(
|
|
3869
3843
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3870
3844
|
);
|
|
3871
|
-
let h =
|
|
3845
|
+
let h = Mt(e, l);
|
|
3872
3846
|
if (!h)
|
|
3873
|
-
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;
|
|
3874
3848
|
else if (typeof h != "string")
|
|
3875
3849
|
return console.warn(
|
|
3876
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.`
|
|
@@ -3879,7 +3853,7 @@ const ee = (e, t) => {
|
|
|
3879
3853
|
return h;
|
|
3880
3854
|
let c = h;
|
|
3881
3855
|
try {
|
|
3882
|
-
c =
|
|
3856
|
+
c = Qn(h, l).format(u);
|
|
3883
3857
|
} catch (f) {
|
|
3884
3858
|
f instanceof Error && console.warn(
|
|
3885
3859
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3887,59 +3861,59 @@ const ee = (e, t) => {
|
|
|
3887
3861
|
);
|
|
3888
3862
|
}
|
|
3889
3863
|
return c;
|
|
3890
|
-
},
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
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) {
|
|
3896
3870
|
if (e) {
|
|
3897
|
-
const
|
|
3898
|
-
|
|
3871
|
+
const r = document.createElement("style");
|
|
3872
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3899
3873
|
}
|
|
3900
3874
|
}
|
|
3901
|
-
function
|
|
3902
|
-
const
|
|
3903
|
-
fetch(
|
|
3875
|
+
function ri(e, t) {
|
|
3876
|
+
const r = new URL(t);
|
|
3877
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3904
3878
|
const i = document.createElement("style");
|
|
3905
|
-
i.innerHTML =
|
|
3906
|
-
}).catch((
|
|
3907
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3879
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3880
|
+
}).catch((n) => {
|
|
3881
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3908
3882
|
});
|
|
3909
3883
|
}
|
|
3910
|
-
function
|
|
3884
|
+
function ni(e, t, r) {
|
|
3911
3885
|
if (window.emMessageBus) {
|
|
3912
|
-
const
|
|
3886
|
+
const n = document.createElement("style");
|
|
3913
3887
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3914
|
-
|
|
3888
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3915
3889
|
});
|
|
3916
3890
|
}
|
|
3917
3891
|
}
|
|
3918
|
-
function
|
|
3919
|
-
|
|
3920
|
-
|
|
3892
|
+
function ii({ withLocale: e, translations: t }) {
|
|
3893
|
+
$.subscribe((r) => {
|
|
3894
|
+
r == null && (Q.set(t), $.set(e));
|
|
3921
3895
|
});
|
|
3922
3896
|
}
|
|
3923
3897
|
if (typeof window != "undefined") {
|
|
3924
3898
|
let e = function(t) {
|
|
3925
|
-
return function(...
|
|
3899
|
+
return function(...r) {
|
|
3926
3900
|
try {
|
|
3927
|
-
return t.apply(this,
|
|
3928
|
-
} catch (
|
|
3929
|
-
if (
|
|
3901
|
+
return t.apply(this, r);
|
|
3902
|
+
} catch (n) {
|
|
3903
|
+
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"))
|
|
3930
3904
|
return !1;
|
|
3931
|
-
throw
|
|
3905
|
+
throw n;
|
|
3932
3906
|
}
|
|
3933
3907
|
};
|
|
3934
3908
|
};
|
|
3935
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3909
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-ByRcEXhY.js").then(({ default: t }) => {
|
|
3936
3910
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3937
3911
|
});
|
|
3938
3912
|
}
|
|
3939
|
-
function
|
|
3940
|
-
|
|
3913
|
+
function si(e) {
|
|
3914
|
+
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))}");
|
|
3941
3915
|
}
|
|
3942
|
-
function
|
|
3916
|
+
function ut(e) {
|
|
3943
3917
|
let t;
|
|
3944
3918
|
return {
|
|
3945
3919
|
c() {
|
|
@@ -4040,178 +4014,178 @@ function at(e) {
|
|
|
4040
4014
|
e[6]
|
|
4041
4015
|
);
|
|
4042
4016
|
},
|
|
4043
|
-
m(
|
|
4044
|
-
|
|
4017
|
+
m(r, n) {
|
|
4018
|
+
me(r, t, n);
|
|
4045
4019
|
},
|
|
4046
|
-
p(
|
|
4047
|
-
|
|
4020
|
+
p(r, n) {
|
|
4021
|
+
n & /*session*/
|
|
4048
4022
|
16 && g(
|
|
4049
4023
|
t,
|
|
4050
4024
|
"session",
|
|
4051
4025
|
/*session*/
|
|
4052
|
-
|
|
4053
|
-
),
|
|
4026
|
+
r[4]
|
|
4027
|
+
), n & /*userid*/
|
|
4054
4028
|
32 && g(
|
|
4055
4029
|
t,
|
|
4056
4030
|
"userid",
|
|
4057
4031
|
/*userid*/
|
|
4058
|
-
|
|
4059
|
-
),
|
|
4032
|
+
r[5]
|
|
4033
|
+
), n & /*endpoint*/
|
|
4060
4034
|
1 && g(
|
|
4061
4035
|
t,
|
|
4062
4036
|
"endpoint",
|
|
4063
4037
|
/*endpoint*/
|
|
4064
|
-
|
|
4065
|
-
),
|
|
4038
|
+
r[0]
|
|
4039
|
+
), n & /*datasource*/
|
|
4066
4040
|
2 && g(
|
|
4067
4041
|
t,
|
|
4068
4042
|
"datasource",
|
|
4069
4043
|
/*datasource*/
|
|
4070
|
-
|
|
4071
|
-
),
|
|
4044
|
+
r[1]
|
|
4045
|
+
), n & /*lang*/
|
|
4072
4046
|
8 && g(
|
|
4073
4047
|
t,
|
|
4074
4048
|
"lang",
|
|
4075
4049
|
/*lang*/
|
|
4076
|
-
|
|
4077
|
-
),
|
|
4050
|
+
r[3]
|
|
4051
|
+
), n & /*currency*/
|
|
4078
4052
|
4 && g(
|
|
4079
4053
|
t,
|
|
4080
4054
|
"currency",
|
|
4081
4055
|
/*currency*/
|
|
4082
|
-
|
|
4083
|
-
),
|
|
4056
|
+
r[2]
|
|
4057
|
+
), n & /*favorites*/
|
|
4084
4058
|
65536 && g(
|
|
4085
4059
|
t,
|
|
4086
4060
|
"favorites",
|
|
4087
4061
|
/*favorites*/
|
|
4088
|
-
|
|
4089
|
-
),
|
|
4062
|
+
r[16]
|
|
4063
|
+
), n & /*fetchviaevent*/
|
|
4090
4064
|
262144 && g(
|
|
4091
4065
|
t,
|
|
4092
4066
|
"fetchviaevent",
|
|
4093
4067
|
/*fetchviaevent*/
|
|
4094
|
-
|
|
4095
|
-
),
|
|
4068
|
+
r[18]
|
|
4069
|
+
), n & /*showgamename*/
|
|
4096
4070
|
8192 && g(
|
|
4097
4071
|
t,
|
|
4098
4072
|
"showgamename",
|
|
4099
4073
|
/*showgamename*/
|
|
4100
|
-
|
|
4101
|
-
),
|
|
4074
|
+
r[13]
|
|
4075
|
+
), n & /*clientstyling*/
|
|
4102
4076
|
128 && g(
|
|
4103
4077
|
t,
|
|
4104
4078
|
"clientstyling",
|
|
4105
4079
|
/*clientstyling*/
|
|
4106
|
-
|
|
4107
|
-
),
|
|
4080
|
+
r[7]
|
|
4081
|
+
), n & /*clientstylingurl*/
|
|
4108
4082
|
256 && g(
|
|
4109
4083
|
t,
|
|
4110
4084
|
"clientstylingurl",
|
|
4111
4085
|
/*clientstylingurl*/
|
|
4112
|
-
|
|
4113
|
-
),
|
|
4086
|
+
r[8]
|
|
4087
|
+
), n & /*translationurl*/
|
|
4114
4088
|
512 && g(
|
|
4115
4089
|
t,
|
|
4116
4090
|
"translationurl",
|
|
4117
4091
|
/*translationurl*/
|
|
4118
|
-
|
|
4119
|
-
),
|
|
4092
|
+
r[9]
|
|
4093
|
+
), n & /*livecasino*/
|
|
4120
4094
|
1024 && g(
|
|
4121
4095
|
t,
|
|
4122
4096
|
"livecasino",
|
|
4123
4097
|
/*livecasino*/
|
|
4124
|
-
|
|
4125
|
-
),
|
|
4098
|
+
r[10]
|
|
4099
|
+
), n & /*visiblegames*/
|
|
4126
4100
|
32768 && g(
|
|
4127
4101
|
t,
|
|
4128
4102
|
"visiblegames",
|
|
4129
4103
|
/*visiblegames*/
|
|
4130
|
-
|
|
4131
|
-
),
|
|
4104
|
+
r[15]
|
|
4105
|
+
), n & /*gamepagemodalurl*/
|
|
4132
4106
|
16384 && g(
|
|
4133
4107
|
t,
|
|
4134
4108
|
"gamepagemodalurl",
|
|
4135
4109
|
/*gamepagemodalurl*/
|
|
4136
|
-
|
|
4137
|
-
),
|
|
4110
|
+
r[14]
|
|
4111
|
+
), n & /*integratedgameframedesktop*/
|
|
4138
4112
|
4096 && g(
|
|
4139
4113
|
t,
|
|
4140
4114
|
"integratedgameframedesktop",
|
|
4141
4115
|
/*integratedgameframedesktop*/
|
|
4142
|
-
|
|
4143
|
-
),
|
|
4116
|
+
r[12]
|
|
4117
|
+
), n & /*integratedgameframemobile*/
|
|
4144
4118
|
2048 && g(
|
|
4145
4119
|
t,
|
|
4146
4120
|
"integratedgameframemobile",
|
|
4147
4121
|
/*integratedgameframemobile*/
|
|
4148
|
-
|
|
4149
|
-
),
|
|
4122
|
+
r[11]
|
|
4123
|
+
), n & /*casinomygames*/
|
|
4150
4124
|
131072 && g(
|
|
4151
4125
|
t,
|
|
4152
4126
|
"casinomygames",
|
|
4153
4127
|
/*casinomygames*/
|
|
4154
|
-
|
|
4155
|
-
),
|
|
4128
|
+
r[17]
|
|
4129
|
+
), n & /*mbsource*/
|
|
4156
4130
|
64 && g(
|
|
4157
4131
|
t,
|
|
4158
4132
|
"mbsource",
|
|
4159
4133
|
/*mbsource*/
|
|
4160
|
-
|
|
4134
|
+
r[6]
|
|
4161
4135
|
);
|
|
4162
4136
|
},
|
|
4163
|
-
d(
|
|
4164
|
-
|
|
4137
|
+
d(r) {
|
|
4138
|
+
r && re(t);
|
|
4165
4139
|
}
|
|
4166
4140
|
};
|
|
4167
4141
|
}
|
|
4168
|
-
function
|
|
4169
|
-
let t,
|
|
4142
|
+
function oi(e) {
|
|
4143
|
+
let t, r = (
|
|
4170
4144
|
/*session*/
|
|
4171
|
-
e[4] &&
|
|
4145
|
+
e[4] && ut(e)
|
|
4172
4146
|
);
|
|
4173
4147
|
return {
|
|
4174
4148
|
c() {
|
|
4175
|
-
t = ne("div"),
|
|
4149
|
+
t = ne("div"), r && r.c(), Ge(t, "class", "CasinoFavoritesSectionContainer");
|
|
4176
4150
|
},
|
|
4177
|
-
m(
|
|
4178
|
-
|
|
4151
|
+
m(n, i) {
|
|
4152
|
+
me(n, t, i), r && r.m(t, null), e[20](t);
|
|
4179
4153
|
},
|
|
4180
|
-
p(
|
|
4154
|
+
p(n, [i]) {
|
|
4181
4155
|
/*session*/
|
|
4182
|
-
|
|
4156
|
+
n[4] ? r ? r.p(n, i) : (r = ut(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4183
4157
|
},
|
|
4184
4158
|
i: L,
|
|
4185
4159
|
o: L,
|
|
4186
|
-
d(
|
|
4187
|
-
|
|
4160
|
+
d(n) {
|
|
4161
|
+
n && re(t), r && r.d(), e[20](null);
|
|
4188
4162
|
}
|
|
4189
4163
|
};
|
|
4190
4164
|
}
|
|
4191
|
-
function
|
|
4192
|
-
let { endpoint:
|
|
4193
|
-
|
|
4165
|
+
function ai(e, t, r) {
|
|
4166
|
+
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;
|
|
4167
|
+
ii({ withLocale: "en", translations: {} }), tr(() => () => {
|
|
4194
4168
|
});
|
|
4195
|
-
function
|
|
4196
|
-
|
|
4197
|
-
T = m,
|
|
4169
|
+
function v(m) {
|
|
4170
|
+
Ae[m ? "unshift" : "push"](() => {
|
|
4171
|
+
T = m, r(19, T);
|
|
4198
4172
|
});
|
|
4199
4173
|
}
|
|
4200
4174
|
return e.$$set = (m) => {
|
|
4201
|
-
"endpoint" in m &&
|
|
4175
|
+
"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);
|
|
4202
4176
|
}, e.$$.update = () => {
|
|
4203
4177
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4204
|
-
524416 && h && T &&
|
|
4205
|
-
524544 && c && T &&
|
|
4206
|
-
524352 &&
|
|
4178
|
+
524416 && h && T && ti(T, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4179
|
+
524544 && c && T && ri(T, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4180
|
+
524352 && a && T && ni(T, `${a}.Style`);
|
|
4207
4181
|
}, [
|
|
4208
|
-
|
|
4182
|
+
n,
|
|
4209
4183
|
i,
|
|
4210
4184
|
s,
|
|
4211
|
-
|
|
4185
|
+
o,
|
|
4212
4186
|
u,
|
|
4213
4187
|
l,
|
|
4214
|
-
|
|
4188
|
+
a,
|
|
4215
4189
|
h,
|
|
4216
4190
|
c,
|
|
4217
4191
|
f,
|
|
@@ -4225,17 +4199,17 @@ function si(e, t, n) {
|
|
|
4225
4199
|
I,
|
|
4226
4200
|
N,
|
|
4227
4201
|
T,
|
|
4228
|
-
|
|
4202
|
+
v
|
|
4229
4203
|
];
|
|
4230
4204
|
}
|
|
4231
|
-
class
|
|
4205
|
+
class Ft extends lr {
|
|
4232
4206
|
constructor(t) {
|
|
4233
|
-
super(),
|
|
4207
|
+
super(), ur(
|
|
4234
4208
|
this,
|
|
4235
4209
|
t,
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4210
|
+
ai,
|
|
4211
|
+
oi,
|
|
4212
|
+
lt,
|
|
4239
4213
|
{
|
|
4240
4214
|
endpoint: 0,
|
|
4241
4215
|
datasource: 1,
|
|
@@ -4257,7 +4231,7 @@ class Dt extends hn {
|
|
|
4257
4231
|
casinomygames: 17,
|
|
4258
4232
|
fetchviaevent: 18
|
|
4259
4233
|
},
|
|
4260
|
-
|
|
4234
|
+
si
|
|
4261
4235
|
);
|
|
4262
4236
|
}
|
|
4263
4237
|
get endpoint() {
|
|
@@ -4375,56 +4349,52 @@ class Dt extends hn {
|
|
|
4375
4349
|
this.$$set({ fetchviaevent: t }), H();
|
|
4376
4350
|
}
|
|
4377
4351
|
}
|
|
4378
|
-
|
|
4352
|
+
hr(Ft, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4379
4353
|
const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4380
4354
|
__proto__: null,
|
|
4381
|
-
default:
|
|
4355
|
+
default: Ft
|
|
4382
4356
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4383
4357
|
export {
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
Ti as b,
|
|
4406
|
-
ce as c,
|
|
4407
|
-
Z as d,
|
|
4408
|
-
Sr as e,
|
|
4358
|
+
$,
|
|
4359
|
+
ri as A,
|
|
4360
|
+
ni as B,
|
|
4361
|
+
hr as C,
|
|
4362
|
+
Si as D,
|
|
4363
|
+
g as E,
|
|
4364
|
+
yi as F,
|
|
4365
|
+
mi as G,
|
|
4366
|
+
Ei as H,
|
|
4367
|
+
pi as I,
|
|
4368
|
+
_i as J,
|
|
4369
|
+
vi as K,
|
|
4370
|
+
Ti as L,
|
|
4371
|
+
Hi as M,
|
|
4372
|
+
Bi as N,
|
|
4373
|
+
lr as S,
|
|
4374
|
+
Q as a,
|
|
4375
|
+
An as b,
|
|
4376
|
+
Qt as c,
|
|
4377
|
+
re as d,
|
|
4378
|
+
me as e,
|
|
4409
4379
|
H as f,
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4380
|
+
ne as g,
|
|
4381
|
+
li as h,
|
|
4382
|
+
ur as i,
|
|
4383
|
+
Ae as j,
|
|
4384
|
+
Ge as k,
|
|
4385
|
+
xi as l,
|
|
4386
|
+
fi as m,
|
|
4417
4387
|
L as n,
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4388
|
+
tr as o,
|
|
4389
|
+
di as p,
|
|
4390
|
+
Zt as q,
|
|
4391
|
+
W as r,
|
|
4392
|
+
lt as s,
|
|
4393
|
+
gi as t,
|
|
4394
|
+
Yt as u,
|
|
4395
|
+
ci as v,
|
|
4396
|
+
ct as w,
|
|
4397
|
+
bi as x,
|
|
4398
|
+
hi as y,
|
|
4399
|
+
ti as z
|
|
4430
4400
|
};
|