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