@everymatrix/casino-most-played-section 1.60.1 → 1.60.2
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/{CasinoFilter-C_0ob48-.js → CasinoFilter-B89QTVUk.js} +965 -987
- package/components/{CasinoFilter-BEMZeS_g.js → CasinoFilter-BuJFRvPM.js} +999 -1021
- package/components/CasinoFilter-OPj81-Zy.cjs +18 -0
- package/components/CasinoGameThumbnail-3tuhFCYK.cjs +47 -0
- package/components/{CasinoGameThumbnail-Brp54Mkr.js → CasinoGameThumbnail-7NPaHb8J.js} +887 -871
- package/components/{CasinoGameThumbnail-DdWkNS2C.js → CasinoGameThumbnail-CO2ISqU0.js} +1369 -1385
- package/components/{CasinoGamesCategorySection-CHZiU-PO.cjs → CasinoGamesCategorySection-BkzpJQRt.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DyF270dL.js → CasinoGamesCategorySection-CaOqQfGH.js} +261 -261
- package/components/{CasinoGamesCategorySection-D1vQeCrE.js → CasinoGamesCategorySection-CrgSyTB1.js} +261 -261
- package/components/{CasinoMostPlayedSection-Biz_quau.js → CasinoMostPlayedSection-BvUdrLJ3.js} +44 -44
- package/components/{CasinoMostPlayedSection-DqhZX69X.js → CasinoMostPlayedSection-RfNSfjZN.js} +46 -46
- package/components/{CasinoMostPlayedSection-_lcsNiHC.cjs → CasinoMostPlayedSection-nwJoikw_.cjs} +1 -1
- package/components/{CasinoSort-BlmGeGgO.js → CasinoSort-BeHiiUhs.js} +106 -105
- package/components/{CasinoSort-M-DWe9Ma.cjs → CasinoSort-CrDBxoGC.cjs} +1 -1
- package/components/{CasinoSort-C0-xVhct.js → CasinoSort-CrQRKk5p.js} +112 -113
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BJzf08Qh.js +519 -0
- package/stencil/index-b2193545-BcwULm-K.cjs +1 -0
- package/stencil/index-b2193545-BlEoeZZL.js +503 -0
- package/stencil/{ui-skeleton-BtNRiNfn.cjs → ui-skeleton-B_ESS51i.cjs} +1 -1
- package/stencil/{ui-skeleton-DypM319u.js → ui-skeleton-C8koemPS.js} +2 -2
- package/stencil/{ui-skeleton-BCx6m_uC.js → ui-skeleton-Cb-Iz3dC.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-Dc45mVmr.cjs → ui-skeleton-ea659b95-8xls9UKV.cjs} +1 -1
- package/stencil/{ui-skeleton-ea659b95-Bo7WD0ao.js → ui-skeleton-ea659b95-BbvMCw6x.js} +1 -1
- package/stencil/{ui-skeleton-ea659b95-DyTVU8Ak.js → ui-skeleton-ea659b95-CGzZMsW7.js} +1 -1
- package/components/CasinoFilter-DofohXbH.cjs +0 -18
- package/components/CasinoGameThumbnail-D1hFEtJA.cjs +0 -47
- package/stencil/index-b2193545-BLGDaRxR.js +0 -519
- package/stencil/index-b2193545-CgYO4hhs.cjs +0 -1
- package/stencil/index-b2193545-dQymAF3M.js +0 -503
@@ -1,53 +1,53 @@
|
|
1
|
-
function
|
1
|
+
function k() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Xt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function bt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function Y(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Xt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function Ue(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Wt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
let
|
19
|
-
function
|
20
|
-
return e === t ? !0 : (
|
18
|
+
let Fe;
|
19
|
+
function gt(e, t) {
|
20
|
+
return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Fr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function zt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
29
|
-
return
|
29
|
+
return k;
|
30
30
|
}
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Cr(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(zt(t, r));
|
36
36
|
}
|
37
|
-
function
|
38
|
-
return e &&
|
37
|
+
function po(e) {
|
38
|
+
return e && Ue(e.destroy) ? e.destroy : k;
|
39
39
|
}
|
40
40
|
function _(e, t) {
|
41
41
|
e.appendChild(t);
|
42
42
|
}
|
43
|
-
function
|
44
|
-
const n =
|
43
|
+
function Br(e, t, r) {
|
44
|
+
const n = Or(e);
|
45
45
|
if (!n.getElementById(t)) {
|
46
|
-
const i =
|
47
|
-
i.id = t, i.textContent = r,
|
46
|
+
const i = F("style");
|
47
|
+
i.id = t, i.textContent = r, Ir(n, i);
|
48
48
|
}
|
49
49
|
}
|
50
|
-
function
|
50
|
+
function Or(e) {
|
51
51
|
if (!e)
|
52
52
|
return document;
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -57,62 +57,62 @@ function Rr(e) {
|
|
57
57
|
t
|
58
58
|
) : e.ownerDocument;
|
59
59
|
}
|
60
|
-
function
|
60
|
+
function Ir(e, t) {
|
61
61
|
return _(
|
62
62
|
/** @type {Document} */
|
63
63
|
e.head || e,
|
64
64
|
t
|
65
65
|
), t.sheet;
|
66
66
|
}
|
67
|
-
function
|
67
|
+
function W(e, t, r) {
|
68
68
|
e.insertBefore(t, r || null);
|
69
69
|
}
|
70
|
-
function
|
70
|
+
function j(e) {
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function Lr(e, t) {
|
74
74
|
for (let r = 0; r < e.length; r += 1)
|
75
75
|
e[r] && e[r].d(t);
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function F(e) {
|
78
78
|
return document.createElement(e);
|
79
79
|
}
|
80
80
|
function Ee(e) {
|
81
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function G(e) {
|
84
84
|
return document.createTextNode(e);
|
85
85
|
}
|
86
|
-
function
|
87
|
-
return
|
86
|
+
function X() {
|
87
|
+
return G(" ");
|
88
88
|
}
|
89
|
-
function
|
90
|
-
return
|
89
|
+
function mo() {
|
90
|
+
return G("");
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function Me(e, t, r, n) {
|
93
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
94
94
|
}
|
95
|
-
function
|
95
|
+
function m(e, t, r) {
|
96
96
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
97
97
|
}
|
98
|
-
function
|
98
|
+
function bo(e, t, r) {
|
99
99
|
const n = t.toLowerCase();
|
100
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
100
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function Nr(e) {
|
103
103
|
return Array.from(e.childNodes);
|
104
104
|
}
|
105
105
|
function q(e, t) {
|
106
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
107
107
|
t);
|
108
108
|
}
|
109
|
-
function
|
109
|
+
function vt(e, t) {
|
110
110
|
e.value = t ?? "";
|
111
111
|
}
|
112
|
-
function
|
112
|
+
function go(e, t, r) {
|
113
113
|
e.classList.toggle(t, !!r);
|
114
114
|
}
|
115
|
-
class
|
115
|
+
class vo {
|
116
116
|
/**
|
117
117
|
* @private
|
118
118
|
* @default false
|
@@ -146,7 +146,7 @@ class Eo {
|
|
146
146
|
this.e || (this.is_svg ? this.e = Ee(
|
147
147
|
/** @type {keyof SVGElementTagNameMap} */
|
148
148
|
r.nodeName
|
149
|
-
) : this.e =
|
149
|
+
) : this.e = F(
|
150
150
|
/** @type {keyof HTMLElementTagNameMap} */
|
151
151
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
152
152
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
@@ -167,7 +167,7 @@ class Eo {
|
|
167
167
|
* @returns {void} */
|
168
168
|
i(t) {
|
169
169
|
for (let r = 0; r < this.n.length; r += 1)
|
170
|
-
|
170
|
+
W(this.t, this.n[r], t);
|
171
171
|
}
|
172
172
|
/**
|
173
173
|
* @param {string} html
|
@@ -179,10 +179,10 @@ class Eo {
|
|
179
179
|
/**
|
180
180
|
* @returns {void} */
|
181
181
|
d() {
|
182
|
-
this.n.forEach(
|
182
|
+
this.n.forEach(j);
|
183
183
|
}
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function Mr(e) {
|
186
186
|
const t = {};
|
187
187
|
return e.childNodes.forEach(
|
188
188
|
/** @param {Element} node */
|
@@ -195,117 +195,117 @@ let Se;
|
|
195
195
|
function we(e) {
|
196
196
|
Se = e;
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function Rr() {
|
199
199
|
if (!Se)
|
200
200
|
throw new Error("Function called outside component initialization");
|
201
201
|
return Se;
|
202
202
|
}
|
203
|
-
function
|
204
|
-
|
203
|
+
function Dr(e) {
|
204
|
+
Rr().$$.on_mount.push(e);
|
205
205
|
}
|
206
|
-
const
|
207
|
-
let
|
208
|
-
const
|
209
|
-
let
|
210
|
-
function
|
211
|
-
|
206
|
+
const he = [], Ye = [];
|
207
|
+
let ce = [];
|
208
|
+
const yt = [], Zt = /* @__PURE__ */ Promise.resolve();
|
209
|
+
let Ke = !1;
|
210
|
+
function Jt() {
|
211
|
+
Ke || (Ke = !0, Zt.then(U));
|
212
212
|
}
|
213
|
-
function
|
214
|
-
return
|
213
|
+
function yo() {
|
214
|
+
return Jt(), Zt;
|
215
215
|
}
|
216
|
-
function
|
217
|
-
|
216
|
+
function et(e) {
|
217
|
+
ce.push(e);
|
218
218
|
}
|
219
|
-
const
|
220
|
-
let
|
221
|
-
function
|
222
|
-
if (
|
219
|
+
const Xe = /* @__PURE__ */ new Set();
|
220
|
+
let le = 0;
|
221
|
+
function U() {
|
222
|
+
if (le !== 0)
|
223
223
|
return;
|
224
224
|
const e = Se;
|
225
225
|
do {
|
226
226
|
try {
|
227
|
-
for (;
|
228
|
-
const t =
|
229
|
-
|
227
|
+
for (; le < he.length; ) {
|
228
|
+
const t = he[le];
|
229
|
+
le++, we(t), Ur(t.$$);
|
230
230
|
}
|
231
231
|
} catch (t) {
|
232
|
-
throw
|
232
|
+
throw he.length = 0, le = 0, t;
|
233
233
|
}
|
234
|
-
for (we(null),
|
235
|
-
|
236
|
-
for (let t = 0; t <
|
237
|
-
const r =
|
238
|
-
|
234
|
+
for (we(null), he.length = 0, le = 0; Ye.length; )
|
235
|
+
Ye.pop()();
|
236
|
+
for (let t = 0; t < ce.length; t += 1) {
|
237
|
+
const r = ce[t];
|
238
|
+
Xe.has(r) || (Xe.add(r), r());
|
239
239
|
}
|
240
|
-
|
241
|
-
} while (
|
242
|
-
for (;
|
243
|
-
|
244
|
-
|
240
|
+
ce.length = 0;
|
241
|
+
} while (he.length);
|
242
|
+
for (; yt.length; )
|
243
|
+
yt.pop()();
|
244
|
+
Ke = !1, Xe.clear(), we(e);
|
245
245
|
}
|
246
|
-
function
|
246
|
+
function Ur(e) {
|
247
247
|
if (e.fragment !== null) {
|
248
248
|
e.update(), Y(e.before_update);
|
249
249
|
const t = e.dirty;
|
250
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
250
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
|
251
251
|
}
|
252
252
|
}
|
253
|
-
function
|
253
|
+
function $r(e) {
|
254
254
|
const t = [], r = [];
|
255
|
-
|
255
|
+
ce.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ce = t;
|
256
256
|
}
|
257
|
-
const
|
258
|
-
function
|
259
|
-
e && e.i && (
|
257
|
+
const Gr = /* @__PURE__ */ new Set();
|
258
|
+
function Qt(e, t) {
|
259
|
+
e && e.i && (Gr.delete(e), e.i(t));
|
260
260
|
}
|
261
|
-
function
|
261
|
+
function _t(e) {
|
262
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
263
263
|
}
|
264
|
-
function
|
264
|
+
function _o(e, t) {
|
265
265
|
e.d(1), t.delete(e.key);
|
266
266
|
}
|
267
|
-
function
|
268
|
-
let c = e.length,
|
267
|
+
function xo(e, t, r, n, i, o, s, a, h, l, u, f) {
|
268
|
+
let c = e.length, p = o.length, v = c;
|
269
269
|
const g = {};
|
270
|
-
for (;
|
271
|
-
g[e[
|
272
|
-
const
|
273
|
-
for (
|
274
|
-
const S =
|
275
|
-
let
|
276
|
-
|
270
|
+
for (; v--; )
|
271
|
+
g[e[v].key] = v;
|
272
|
+
const P = [], w = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), x = [];
|
273
|
+
for (v = p; v--; ) {
|
274
|
+
const S = f(i, o, v), O = r(S);
|
275
|
+
let M = s.get(O);
|
276
|
+
M ? x.push(() => M.p(S, t)) : (M = l(O, S), M.c()), w.set(O, P[v] = M), O in g && y.set(O, Math.abs(v - g[O]));
|
277
277
|
}
|
278
|
-
const
|
279
|
-
function
|
280
|
-
|
278
|
+
const L = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
279
|
+
function R(S) {
|
280
|
+
Qt(S, 1), S.m(a, u), s.set(S.key, S), u = S.first, p--;
|
281
281
|
}
|
282
|
-
for (; c &&
|
283
|
-
const S =
|
284
|
-
S ===
|
282
|
+
for (; c && p; ) {
|
283
|
+
const S = P[p - 1], O = e[c - 1], M = S.key, V = O.key;
|
284
|
+
S === O ? (u = S.first, c--, p--) : w.has(V) ? !s.has(M) || L.has(M) ? R(S) : N.has(V) ? c-- : y.get(M) > y.get(V) ? (N.add(M), R(S)) : (L.add(V), c--) : (h(O, s), c--);
|
285
285
|
}
|
286
286
|
for (; c--; ) {
|
287
287
|
const S = e[c];
|
288
288
|
w.has(S.key) || h(S, s);
|
289
289
|
}
|
290
|
-
for (;
|
291
|
-
|
292
|
-
return Y(x),
|
290
|
+
for (; p; )
|
291
|
+
R(P[p - 1]);
|
292
|
+
return Y(x), P;
|
293
293
|
}
|
294
|
-
function
|
294
|
+
function kr(e, t, r) {
|
295
295
|
const { fragment: n, after_update: i } = e.$$;
|
296
|
-
n && n.m(t, r),
|
297
|
-
const o = e.$$.on_mount.map(
|
296
|
+
n && n.m(t, r), et(() => {
|
297
|
+
const o = e.$$.on_mount.map(Xt).filter(Ue);
|
298
298
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
|
299
|
-
}), i.forEach(
|
299
|
+
}), i.forEach(et);
|
300
300
|
}
|
301
|
-
function
|
301
|
+
function jr(e, t) {
|
302
302
|
const r = e.$$;
|
303
|
-
r.fragment !== null && (
|
303
|
+
r.fragment !== null && ($r(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
304
304
|
}
|
305
|
-
function
|
306
|
-
e.$$.dirty[0] === -1 && (
|
305
|
+
function Vr(e, t) {
|
306
|
+
e.$$.dirty[0] === -1 && (he.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
307
307
|
}
|
308
|
-
function
|
308
|
+
function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
309
309
|
const h = Se;
|
310
310
|
we(e);
|
311
311
|
const l = e.$$ = {
|
@@ -313,9 +313,9 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
313
313
|
ctx: [],
|
314
314
|
// state
|
315
315
|
props: o,
|
316
|
-
update:
|
316
|
+
update: k,
|
317
317
|
not_equal: i,
|
318
|
-
bound:
|
318
|
+
bound: bt(),
|
319
319
|
// lifecycle
|
320
320
|
on_mount: [],
|
321
321
|
on_destroy: [],
|
@@ -324,28 +324,28 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
324
324
|
after_update: [],
|
325
325
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
326
326
|
// everything else
|
327
|
-
callbacks:
|
327
|
+
callbacks: bt(),
|
328
328
|
dirty: a,
|
329
329
|
skip_bound: !1,
|
330
330
|
root: t.target || h.$$.root
|
331
331
|
};
|
332
332
|
s && s(l.root);
|
333
333
|
let u = !1;
|
334
|
-
if (l.ctx = r ? r(e, t.props || {}, (
|
335
|
-
const
|
336
|
-
return l.ctx && i(l.ctx[
|
334
|
+
if (l.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
335
|
+
const v = p.length ? p[0] : c;
|
336
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && Vr(e, f)), c;
|
337
337
|
}) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
338
338
|
if (t.hydrate) {
|
339
|
-
const
|
340
|
-
l.fragment && l.fragment.l(
|
339
|
+
const f = Nr(t.target);
|
340
|
+
l.fragment && l.fragment.l(f), f.forEach(j);
|
341
341
|
} else
|
342
342
|
l.fragment && l.fragment.c();
|
343
|
-
t.intro &&
|
343
|
+
t.intro && Qt(e.$$.fragment), kr(e, t.target, t.anchor), U();
|
344
344
|
}
|
345
345
|
we(h);
|
346
346
|
}
|
347
|
-
let
|
348
|
-
typeof HTMLElement == "function" && (
|
347
|
+
let qt;
|
348
|
+
typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
349
349
|
/** The Svelte component constructor */
|
350
350
|
$$ctor;
|
351
351
|
/** Slots */
|
@@ -387,24 +387,24 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
387
387
|
let o;
|
388
388
|
return {
|
389
389
|
c: function() {
|
390
|
-
o =
|
390
|
+
o = F("slot"), i !== "default" && m(o, "name", i);
|
391
391
|
},
|
392
392
|
/**
|
393
393
|
* @param {HTMLElement} target
|
394
394
|
* @param {HTMLElement} [anchor]
|
395
395
|
*/
|
396
396
|
m: function(h, l) {
|
397
|
-
|
397
|
+
W(h, o, l);
|
398
398
|
},
|
399
399
|
d: function(h) {
|
400
|
-
h &&
|
400
|
+
h && j(o);
|
401
401
|
}
|
402
402
|
};
|
403
403
|
};
|
404
404
|
};
|
405
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
406
406
|
return;
|
407
|
-
const t = {}, r =
|
407
|
+
const t = {}, r = Mr(this);
|
408
408
|
for (const i of this.$$s)
|
409
409
|
i in r && (t[i] = [e(i)]);
|
410
410
|
for (const i of this.attributes) {
|
@@ -491,8 +491,8 @@ function Oe(e, t, r, n) {
|
|
491
491
|
return t;
|
492
492
|
}
|
493
493
|
}
|
494
|
-
function
|
495
|
-
let s = class extends
|
494
|
+
function Wr(e, t, r, n, i, o) {
|
495
|
+
let s = class extends qt {
|
496
496
|
constructor() {
|
497
497
|
super(e, r, i), this.$$p_d = t;
|
498
498
|
}
|
@@ -520,7 +520,7 @@ function qr(e, t, r, n, i, o) {
|
|
520
520
|
}), e.element = /** @type {any} */
|
521
521
|
s, s;
|
522
522
|
}
|
523
|
-
class
|
523
|
+
class zr {
|
524
524
|
/**
|
525
525
|
* ### PRIVATE API
|
526
526
|
*
|
@@ -539,7 +539,7 @@ class Yr {
|
|
539
539
|
$$set = void 0;
|
540
540
|
/** @returns {void} */
|
541
541
|
$destroy() {
|
542
|
-
|
542
|
+
jr(this, 1), this.$destroy = k;
|
543
543
|
}
|
544
544
|
/**
|
545
545
|
* @template {Extract<keyof Events, string>} K
|
@@ -548,8 +548,8 @@ class Yr {
|
|
548
548
|
* @returns {() => void}
|
549
549
|
*/
|
550
550
|
$on(t, r) {
|
551
|
-
if (
|
552
|
-
return
|
551
|
+
if (!Ue(r))
|
552
|
+
return k;
|
553
553
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
554
554
|
return n.push(r), () => {
|
555
555
|
const i = n.indexOf(r);
|
@@ -561,11 +561,11 @@ class Yr {
|
|
561
561
|
* @returns {void}
|
562
562
|
*/
|
563
563
|
$set(t) {
|
564
|
-
this.$$set && !
|
564
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
565
565
|
}
|
566
566
|
}
|
567
|
-
const
|
568
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
567
|
+
const Zr = "4";
|
568
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
|
569
569
|
/*! *****************************************************************************
|
570
570
|
Copyright (c) Microsoft Corporation.
|
571
571
|
|
@@ -580,34 +580,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
580
580
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
581
581
|
PERFORMANCE OF THIS SOFTWARE.
|
582
582
|
***************************************************************************** */
|
583
|
-
var
|
584
|
-
return
|
583
|
+
var tt = function(e, t) {
|
584
|
+
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
585
585
|
r.__proto__ = n;
|
586
586
|
} || function(r, n) {
|
587
587
|
for (var i in n)
|
588
588
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
589
|
-
},
|
589
|
+
}, tt(e, t);
|
590
590
|
};
|
591
|
-
function
|
591
|
+
function J(e, t) {
|
592
592
|
if (typeof t != "function" && t !== null)
|
593
593
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
594
|
-
|
594
|
+
tt(e, t);
|
595
595
|
function r() {
|
596
596
|
this.constructor = e;
|
597
597
|
}
|
598
598
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
599
599
|
}
|
600
|
-
var
|
601
|
-
return
|
600
|
+
var A = function() {
|
601
|
+
return A = Object.assign || function(t) {
|
602
602
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
603
603
|
r = arguments[n];
|
604
604
|
for (var o in r)
|
605
605
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
606
606
|
}
|
607
607
|
return t;
|
608
|
-
},
|
608
|
+
}, A.apply(this, arguments);
|
609
609
|
};
|
610
|
-
function
|
610
|
+
function Jr(e, t) {
|
611
611
|
var r = {};
|
612
612
|
for (var n in e)
|
613
613
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -616,7 +616,7 @@ function en(e, t) {
|
|
616
616
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
617
617
|
return r;
|
618
618
|
}
|
619
|
-
function
|
619
|
+
function rt(e) {
|
620
620
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
621
621
|
if (r)
|
622
622
|
return r.call(e);
|
@@ -628,7 +628,7 @@ function it(e) {
|
|
628
628
|
};
|
629
629
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
630
630
|
}
|
631
|
-
function
|
631
|
+
function nt(e, t) {
|
632
632
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
633
633
|
if (!r)
|
634
634
|
return e;
|
@@ -648,22 +648,22 @@ function ot(e, t) {
|
|
648
648
|
}
|
649
649
|
return o;
|
650
650
|
}
|
651
|
-
function
|
651
|
+
function fe(e, t, r) {
|
652
652
|
if (r || arguments.length === 2)
|
653
653
|
for (var n = 0, i = t.length, o; n < i; n++)
|
654
654
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
655
655
|
return e.concat(o || t);
|
656
656
|
}
|
657
|
-
function
|
657
|
+
function Z(e) {
|
658
658
|
return typeof e == "function";
|
659
659
|
}
|
660
|
-
function
|
660
|
+
function Yt(e) {
|
661
661
|
var t = function(n) {
|
662
662
|
Error.call(n), n.stack = new Error().stack;
|
663
663
|
}, r = e(t);
|
664
664
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
665
665
|
}
|
666
|
-
var
|
666
|
+
var We = Yt(function(e) {
|
667
667
|
return function(r) {
|
668
668
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
669
669
|
` + r.map(function(n, i) {
|
@@ -672,13 +672,13 @@ var ze = rr(function(e) {
|
|
672
672
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
673
673
|
};
|
674
674
|
});
|
675
|
-
function
|
675
|
+
function it(e, t) {
|
676
676
|
if (e) {
|
677
677
|
var r = e.indexOf(t);
|
678
678
|
0 <= r && e.splice(r, 1);
|
679
679
|
}
|
680
680
|
}
|
681
|
-
var
|
681
|
+
var $e = function() {
|
682
682
|
function e(t) {
|
683
683
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
684
684
|
}
|
@@ -690,7 +690,7 @@ var Ge = function() {
|
|
690
690
|
if (s)
|
691
691
|
if (this._parentage = null, Array.isArray(s))
|
692
692
|
try {
|
693
|
-
for (var a =
|
693
|
+
for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
|
694
694
|
var l = h.value;
|
695
695
|
l.remove(this);
|
696
696
|
}
|
@@ -707,29 +707,29 @@ var Ge = function() {
|
|
707
707
|
else
|
708
708
|
s.remove(this);
|
709
709
|
var u = this.initialTeardown;
|
710
|
-
if (
|
710
|
+
if (Z(u))
|
711
711
|
try {
|
712
712
|
u();
|
713
713
|
} catch (g) {
|
714
|
-
o = g instanceof
|
714
|
+
o = g instanceof We ? g.errors : [g];
|
715
715
|
}
|
716
|
-
var
|
717
|
-
if (
|
716
|
+
var f = this._finalizers;
|
717
|
+
if (f) {
|
718
718
|
this._finalizers = null;
|
719
719
|
try {
|
720
|
-
for (var c =
|
721
|
-
var
|
720
|
+
for (var c = rt(f), p = c.next(); !p.done; p = c.next()) {
|
721
|
+
var v = p.value;
|
722
722
|
try {
|
723
|
-
|
723
|
+
xt(v);
|
724
724
|
} catch (g) {
|
725
|
-
o = o ?? [], g instanceof
|
725
|
+
o = o ?? [], g instanceof We ? o = fe(fe([], nt(o)), nt(g.errors)) : o.push(g);
|
726
726
|
}
|
727
727
|
}
|
728
728
|
} catch (g) {
|
729
729
|
n = { error: g };
|
730
730
|
} finally {
|
731
731
|
try {
|
732
|
-
|
732
|
+
p && !p.done && (i = c.return) && i.call(c);
|
733
733
|
} finally {
|
734
734
|
if (n)
|
735
735
|
throw n.error;
|
@@ -737,13 +737,13 @@ var Ge = function() {
|
|
737
737
|
}
|
738
738
|
}
|
739
739
|
if (o)
|
740
|
-
throw new
|
740
|
+
throw new We(o);
|
741
741
|
}
|
742
742
|
}, e.prototype.add = function(t) {
|
743
743
|
var r;
|
744
744
|
if (t && t !== this)
|
745
745
|
if (this.closed)
|
746
|
-
|
746
|
+
xt(t);
|
747
747
|
else {
|
748
748
|
if (t instanceof e) {
|
749
749
|
if (t.closed || t._hasParent(this))
|
@@ -760,56 +760,52 @@ var Ge = function() {
|
|
760
760
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
761
761
|
}, e.prototype._removeParent = function(t) {
|
762
762
|
var r = this._parentage;
|
763
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
763
|
+
r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
|
764
764
|
}, e.prototype.remove = function(t) {
|
765
765
|
var r = this._finalizers;
|
766
|
-
r &&
|
766
|
+
r && it(r, t), t instanceof e && t._removeParent(this);
|
767
767
|
}, e.EMPTY = function() {
|
768
768
|
var t = new e();
|
769
769
|
return t.closed = !0, t;
|
770
770
|
}(), e;
|
771
|
-
}(),
|
772
|
-
function
|
773
|
-
return e instanceof
|
774
|
-
}
|
775
|
-
function
|
776
|
-
|
777
|
-
}
|
778
|
-
var
|
779
|
-
|
780
|
-
|
781
|
-
Promise: void 0,
|
782
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
783
|
-
useDeprecatedNextContext: !1
|
784
|
-
}, tn = {
|
771
|
+
}(), Kt = $e.EMPTY;
|
772
|
+
function er(e) {
|
773
|
+
return e instanceof $e || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
|
774
|
+
}
|
775
|
+
function xt(e) {
|
776
|
+
Z(e) ? e() : e.unsubscribe();
|
777
|
+
}
|
778
|
+
var Qr = {
|
779
|
+
Promise: void 0
|
780
|
+
}, qr = {
|
785
781
|
setTimeout: function(e, t) {
|
786
782
|
for (var r = [], n = 2; n < arguments.length; n++)
|
787
783
|
r[n - 2] = arguments[n];
|
788
|
-
return setTimeout.apply(void 0,
|
784
|
+
return setTimeout.apply(void 0, fe([e, t], nt(r)));
|
789
785
|
},
|
790
786
|
clearTimeout: function(e) {
|
791
787
|
return clearTimeout(e);
|
792
788
|
},
|
793
789
|
delegate: void 0
|
794
790
|
};
|
795
|
-
function
|
796
|
-
|
791
|
+
function Yr(e) {
|
792
|
+
qr.setTimeout(function() {
|
797
793
|
throw e;
|
798
794
|
});
|
799
795
|
}
|
800
|
-
function
|
796
|
+
function Et() {
|
801
797
|
}
|
802
|
-
function
|
798
|
+
function Ie(e) {
|
803
799
|
e();
|
804
800
|
}
|
805
|
-
var
|
806
|
-
|
801
|
+
var tr = function(e) {
|
802
|
+
J(t, e);
|
807
803
|
function t(r) {
|
808
804
|
var n = e.call(this) || this;
|
809
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
805
|
+
return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = tn, n;
|
810
806
|
}
|
811
807
|
return t.create = function(r, n, i) {
|
812
|
-
return new
|
808
|
+
return new ot(r, n, i);
|
813
809
|
}, t.prototype.next = function(r) {
|
814
810
|
this.isStopped || this._next(r);
|
815
811
|
}, t.prototype.error = function(r) {
|
@@ -833,11 +829,7 @@ var sr = function(e) {
|
|
833
829
|
this.unsubscribe();
|
834
830
|
}
|
835
831
|
}, t;
|
836
|
-
}(
|
837
|
-
function Ze(e, t) {
|
838
|
-
return nn.call(e, t);
|
839
|
-
}
|
840
|
-
var on = function() {
|
832
|
+
}($e), Kr = function() {
|
841
833
|
function e(t) {
|
842
834
|
this.partialObserver = t;
|
843
835
|
}
|
@@ -847,7 +839,7 @@ var on = function() {
|
|
847
839
|
try {
|
848
840
|
r.next(t);
|
849
841
|
} catch (n) {
|
850
|
-
|
842
|
+
Ce(n);
|
851
843
|
}
|
852
844
|
}, e.prototype.error = function(t) {
|
853
845
|
var r = this.partialObserver;
|
@@ -855,68 +847,56 @@ var on = function() {
|
|
855
847
|
try {
|
856
848
|
r.error(t);
|
857
849
|
} catch (n) {
|
858
|
-
|
850
|
+
Ce(n);
|
859
851
|
}
|
860
852
|
else
|
861
|
-
|
853
|
+
Ce(t);
|
862
854
|
}, e.prototype.complete = function() {
|
863
855
|
var t = this.partialObserver;
|
864
856
|
if (t.complete)
|
865
857
|
try {
|
866
858
|
t.complete();
|
867
859
|
} catch (r) {
|
868
|
-
|
860
|
+
Ce(r);
|
869
861
|
}
|
870
862
|
}, e;
|
871
|
-
}(),
|
872
|
-
|
863
|
+
}(), ot = function(e) {
|
864
|
+
J(t, e);
|
873
865
|
function t(r, n, i) {
|
874
866
|
var o = e.call(this) || this, s;
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
};
|
881
|
-
else {
|
882
|
-
var a;
|
883
|
-
o && or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
884
|
-
return o.unsubscribe();
|
885
|
-
}, s = {
|
886
|
-
next: r.next && Ze(r.next, a),
|
887
|
-
error: r.error && Ze(r.error, a),
|
888
|
-
complete: r.complete && Ze(r.complete, a)
|
889
|
-
}) : s = r;
|
890
|
-
}
|
891
|
-
return o.destination = new on(s), o;
|
867
|
+
return Z(r) || !r ? s = {
|
868
|
+
next: r ?? void 0,
|
869
|
+
error: n ?? void 0,
|
870
|
+
complete: i ?? void 0
|
871
|
+
} : s = r, o.destination = new Kr(s), o;
|
892
872
|
}
|
893
873
|
return t;
|
894
|
-
}(
|
895
|
-
function
|
896
|
-
|
874
|
+
}(tr);
|
875
|
+
function Ce(e) {
|
876
|
+
Yr(e);
|
897
877
|
}
|
898
|
-
function
|
878
|
+
function en(e) {
|
899
879
|
throw e;
|
900
880
|
}
|
901
|
-
var
|
881
|
+
var tn = {
|
902
882
|
closed: !0,
|
903
|
-
next:
|
904
|
-
error:
|
905
|
-
complete:
|
906
|
-
},
|
883
|
+
next: Et,
|
884
|
+
error: en,
|
885
|
+
complete: Et
|
886
|
+
}, rn = function() {
|
907
887
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
908
888
|
}();
|
909
|
-
function
|
889
|
+
function nn(e) {
|
910
890
|
return e;
|
911
891
|
}
|
912
|
-
function
|
913
|
-
return e.length === 0 ?
|
892
|
+
function on(e) {
|
893
|
+
return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
|
914
894
|
return e.reduce(function(n, i) {
|
915
895
|
return i(n);
|
916
896
|
}, r);
|
917
897
|
};
|
918
898
|
}
|
919
|
-
var
|
899
|
+
var wt = function() {
|
920
900
|
function e(t) {
|
921
901
|
t && (this._subscribe = t);
|
922
902
|
}
|
@@ -924,8 +904,8 @@ var At = function() {
|
|
924
904
|
var r = new e();
|
925
905
|
return r.source = this, r.operator = t, r;
|
926
906
|
}, e.prototype.subscribe = function(t, r, n) {
|
927
|
-
var i = this, o =
|
928
|
-
return
|
907
|
+
var i = this, o = an(t) ? t : new ot(t, r, n);
|
908
|
+
return Ie(function() {
|
929
909
|
var s = i, a = s.operator, h = s.source;
|
930
910
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
931
911
|
}), o;
|
@@ -937,8 +917,8 @@ var At = function() {
|
|
937
917
|
}
|
938
918
|
}, e.prototype.forEach = function(t, r) {
|
939
919
|
var n = this;
|
940
|
-
return r =
|
941
|
-
var s = new
|
920
|
+
return r = St(r), new r(function(i, o) {
|
921
|
+
var s = new ot({
|
942
922
|
next: function(a) {
|
943
923
|
try {
|
944
924
|
t(a);
|
@@ -954,15 +934,15 @@ var At = function() {
|
|
954
934
|
}, e.prototype._subscribe = function(t) {
|
955
935
|
var r;
|
956
936
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
957
|
-
}, e.prototype[
|
937
|
+
}, e.prototype[rn] = function() {
|
958
938
|
return this;
|
959
939
|
}, e.prototype.pipe = function() {
|
960
940
|
for (var t = [], r = 0; r < arguments.length; r++)
|
961
941
|
t[r] = arguments[r];
|
962
|
-
return
|
942
|
+
return on(t)(this);
|
963
943
|
}, e.prototype.toPromise = function(t) {
|
964
944
|
var r = this;
|
965
|
-
return t =
|
945
|
+
return t = St(t), new t(function(n, i) {
|
966
946
|
var o;
|
967
947
|
r.subscribe(function(s) {
|
968
948
|
return o = s;
|
@@ -976,40 +956,40 @@ var At = function() {
|
|
976
956
|
return new e(t);
|
977
957
|
}, e;
|
978
958
|
}();
|
979
|
-
function
|
959
|
+
function St(e) {
|
980
960
|
var t;
|
981
|
-
return (t = e ??
|
961
|
+
return (t = e ?? Qr.Promise) !== null && t !== void 0 ? t : Promise;
|
982
962
|
}
|
983
|
-
function
|
984
|
-
return e &&
|
963
|
+
function sn(e) {
|
964
|
+
return e && Z(e.next) && Z(e.error) && Z(e.complete);
|
985
965
|
}
|
986
|
-
function
|
987
|
-
return e && e instanceof
|
966
|
+
function an(e) {
|
967
|
+
return e && e instanceof tr || sn(e) && er(e);
|
988
968
|
}
|
989
|
-
var
|
969
|
+
var ln = Yt(function(e) {
|
990
970
|
return function() {
|
991
971
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
992
972
|
};
|
993
|
-
}),
|
994
|
-
|
973
|
+
}), rr = function(e) {
|
974
|
+
J(t, e);
|
995
975
|
function t() {
|
996
976
|
var r = e.call(this) || this;
|
997
977
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
998
978
|
}
|
999
979
|
return t.prototype.lift = function(r) {
|
1000
|
-
var n = new
|
980
|
+
var n = new Tt(this, this);
|
1001
981
|
return n.operator = r, n;
|
1002
982
|
}, t.prototype._throwIfClosed = function() {
|
1003
983
|
if (this.closed)
|
1004
|
-
throw new
|
984
|
+
throw new ln();
|
1005
985
|
}, t.prototype.next = function(r) {
|
1006
986
|
var n = this;
|
1007
|
-
|
987
|
+
Ie(function() {
|
1008
988
|
var i, o;
|
1009
989
|
if (n._throwIfClosed(), !n.isStopped) {
|
1010
990
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
1011
991
|
try {
|
1012
|
-
for (var s =
|
992
|
+
for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
1013
993
|
var h = a.value;
|
1014
994
|
h.next(r);
|
1015
995
|
}
|
@@ -1027,7 +1007,7 @@ var dn = rr(function(e) {
|
|
1027
1007
|
});
|
1028
1008
|
}, t.prototype.error = function(r) {
|
1029
1009
|
var n = this;
|
1030
|
-
|
1010
|
+
Ie(function() {
|
1031
1011
|
if (n._throwIfClosed(), !n.isStopped) {
|
1032
1012
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
1033
1013
|
for (var i = n.observers; i.length; )
|
@@ -1036,7 +1016,7 @@ var dn = rr(function(e) {
|
|
1036
1016
|
});
|
1037
1017
|
}, t.prototype.complete = function() {
|
1038
1018
|
var r = this;
|
1039
|
-
|
1019
|
+
Ie(function() {
|
1040
1020
|
if (r._throwIfClosed(), !r.isStopped) {
|
1041
1021
|
r.isStopped = !0;
|
1042
1022
|
for (var n = r.observers; n.length; )
|
@@ -1058,20 +1038,20 @@ var dn = rr(function(e) {
|
|
1058
1038
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
1059
1039
|
}, t.prototype._innerSubscribe = function(r) {
|
1060
1040
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
1061
|
-
return o || s ?
|
1062
|
-
n.currentObservers = null,
|
1041
|
+
return o || s ? Kt : (this.currentObservers = null, a.push(r), new $e(function() {
|
1042
|
+
n.currentObservers = null, it(a, r);
|
1063
1043
|
}));
|
1064
1044
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1065
1045
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
1066
1046
|
i ? r.error(o) : s && r.complete();
|
1067
1047
|
}, t.prototype.asObservable = function() {
|
1068
|
-
var r = new
|
1048
|
+
var r = new wt();
|
1069
1049
|
return r.source = this, r;
|
1070
1050
|
}, t.create = function(r, n) {
|
1071
|
-
return new
|
1051
|
+
return new Tt(r, n);
|
1072
1052
|
}, t;
|
1073
|
-
}(
|
1074
|
-
|
1053
|
+
}(wt), Tt = function(e) {
|
1054
|
+
J(t, e);
|
1075
1055
|
function t(r, n) {
|
1076
1056
|
var i = e.call(this) || this;
|
1077
1057
|
return i.destination = r, i.source = n, i;
|
@@ -1087,17 +1067,17 @@ var dn = rr(function(e) {
|
|
1087
1067
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1088
1068
|
}, t.prototype._subscribe = function(r) {
|
1089
1069
|
var n, i;
|
1090
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1070
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
|
1091
1071
|
}, t;
|
1092
|
-
}(
|
1072
|
+
}(rr), nr = {
|
1093
1073
|
now: function() {
|
1094
|
-
return (
|
1074
|
+
return (nr.delegate || Date).now();
|
1095
1075
|
},
|
1096
1076
|
delegate: void 0
|
1097
|
-
},
|
1098
|
-
|
1077
|
+
}, un = function(e) {
|
1078
|
+
J(t, e);
|
1099
1079
|
function t(r, n, i) {
|
1100
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1080
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
|
1101
1081
|
var o = e.call(this) || this;
|
1102
1082
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
1103
1083
|
}
|
@@ -1117,65 +1097,65 @@ var dn = rr(function(e) {
|
|
1117
1097
|
l && o.splice(0, l + 1);
|
1118
1098
|
}
|
1119
1099
|
}, t;
|
1120
|
-
}(
|
1121
|
-
const
|
1122
|
-
if (
|
1123
|
-
const r = new
|
1124
|
-
|
1100
|
+
}(rr);
|
1101
|
+
const Ht = [], At = {}, hn = (e, t = 0) => {
|
1102
|
+
if (Ht.indexOf(e) == -1) {
|
1103
|
+
const r = new un(t);
|
1104
|
+
At[e] = r, Ht.push(e);
|
1125
1105
|
}
|
1126
|
-
return
|
1127
|
-
},
|
1128
|
-
function
|
1106
|
+
return At[e];
|
1107
|
+
}, ue = [];
|
1108
|
+
function cn(e, t) {
|
1129
1109
|
return {
|
1130
|
-
subscribe:
|
1110
|
+
subscribe: Ge(e, t).subscribe
|
1131
1111
|
};
|
1132
1112
|
}
|
1133
|
-
function
|
1113
|
+
function Ge(e, t = k) {
|
1134
1114
|
let r;
|
1135
1115
|
const n = /* @__PURE__ */ new Set();
|
1136
1116
|
function i(a) {
|
1137
|
-
if (
|
1138
|
-
const h = !
|
1117
|
+
if (Wt(e, a) && (e = a, r)) {
|
1118
|
+
const h = !ue.length;
|
1139
1119
|
for (const l of n)
|
1140
|
-
l[1](),
|
1120
|
+
l[1](), ue.push(l, e);
|
1141
1121
|
if (h) {
|
1142
|
-
for (let l = 0; l <
|
1143
|
-
|
1144
|
-
|
1122
|
+
for (let l = 0; l < ue.length; l += 2)
|
1123
|
+
ue[l][0](ue[l + 1]);
|
1124
|
+
ue.length = 0;
|
1145
1125
|
}
|
1146
1126
|
}
|
1147
1127
|
}
|
1148
1128
|
function o(a) {
|
1149
1129
|
i(a(e));
|
1150
1130
|
}
|
1151
|
-
function s(a, h =
|
1131
|
+
function s(a, h = k) {
|
1152
1132
|
const l = [a, h];
|
1153
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
1133
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
|
1154
1134
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
1155
1135
|
};
|
1156
1136
|
}
|
1157
1137
|
return { set: i, update: o, subscribe: s };
|
1158
1138
|
}
|
1159
|
-
function
|
1139
|
+
function ge(e, t, r) {
|
1160
1140
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1161
1141
|
if (!i.every(Boolean))
|
1162
1142
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1163
1143
|
const o = t.length < 2;
|
1164
|
-
return
|
1144
|
+
return cn(r, (s, a) => {
|
1165
1145
|
let h = !1;
|
1166
1146
|
const l = [];
|
1167
|
-
let u = 0,
|
1147
|
+
let u = 0, f = k;
|
1168
1148
|
const c = () => {
|
1169
1149
|
if (u)
|
1170
1150
|
return;
|
1171
|
-
|
1172
|
-
const
|
1173
|
-
o ? s(
|
1174
|
-
},
|
1175
|
-
(
|
1176
|
-
|
1177
|
-
(
|
1178
|
-
l[g] =
|
1151
|
+
f();
|
1152
|
+
const v = t(n ? l[0] : l, s, a);
|
1153
|
+
o ? s(v) : f = Ue(v) ? v : k;
|
1154
|
+
}, p = i.map(
|
1155
|
+
(v, g) => zt(
|
1156
|
+
v,
|
1157
|
+
(P) => {
|
1158
|
+
l[g] = P, u &= ~(1 << g), h && c();
|
1179
1159
|
},
|
1180
1160
|
() => {
|
1181
1161
|
u |= 1 << g;
|
@@ -1183,134 +1163,132 @@ function ye(e, t, r) {
|
|
1183
1163
|
)
|
1184
1164
|
);
|
1185
1165
|
return h = !0, c(), function() {
|
1186
|
-
Y(
|
1166
|
+
Y(p), f(), h = !1;
|
1187
1167
|
};
|
1188
1168
|
});
|
1189
1169
|
}
|
1190
|
-
function
|
1170
|
+
function fn(e) {
|
1191
1171
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1192
1172
|
}
|
1193
|
-
var
|
1194
|
-
return
|
1173
|
+
var dn = function(t) {
|
1174
|
+
return pn(t) && !mn(t);
|
1195
1175
|
};
|
1196
|
-
function
|
1176
|
+
function pn(e) {
|
1197
1177
|
return !!e && typeof e == "object";
|
1198
1178
|
}
|
1199
|
-
function
|
1179
|
+
function mn(e) {
|
1200
1180
|
var t = Object.prototype.toString.call(e);
|
1201
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1181
|
+
return t === "[object RegExp]" || t === "[object Date]" || vn(e);
|
1202
1182
|
}
|
1203
|
-
var
|
1204
|
-
function
|
1205
|
-
return e.$$typeof ===
|
1183
|
+
var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
|
1184
|
+
function vn(e) {
|
1185
|
+
return e.$$typeof === gn;
|
1206
1186
|
}
|
1207
|
-
function
|
1187
|
+
function yn(e) {
|
1208
1188
|
return Array.isArray(e) ? [] : {};
|
1209
1189
|
}
|
1210
1190
|
function Te(e, t) {
|
1211
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1191
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? de(yn(e), e, t) : e;
|
1212
1192
|
}
|
1213
|
-
function
|
1193
|
+
function _n(e, t, r) {
|
1214
1194
|
return e.concat(t).map(function(n) {
|
1215
1195
|
return Te(n, r);
|
1216
1196
|
});
|
1217
1197
|
}
|
1218
|
-
function
|
1198
|
+
function xn(e, t) {
|
1219
1199
|
if (!t.customMerge)
|
1220
|
-
return
|
1200
|
+
return de;
|
1221
1201
|
var r = t.customMerge(e);
|
1222
|
-
return typeof r == "function" ? r :
|
1202
|
+
return typeof r == "function" ? r : de;
|
1223
1203
|
}
|
1224
|
-
function
|
1204
|
+
function En(e) {
|
1225
1205
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1226
1206
|
return Object.propertyIsEnumerable.call(e, t);
|
1227
1207
|
}) : [];
|
1228
1208
|
}
|
1229
|
-
function
|
1230
|
-
return Object.keys(e).concat(
|
1209
|
+
function Pt(e) {
|
1210
|
+
return Object.keys(e).concat(En(e));
|
1231
1211
|
}
|
1232
|
-
function
|
1212
|
+
function ir(e, t) {
|
1233
1213
|
try {
|
1234
1214
|
return t in e;
|
1235
1215
|
} catch {
|
1236
1216
|
return !1;
|
1237
1217
|
}
|
1238
1218
|
}
|
1239
|
-
function
|
1240
|
-
return
|
1219
|
+
function wn(e, t) {
|
1220
|
+
return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1241
1221
|
}
|
1242
|
-
function
|
1222
|
+
function Sn(e, t, r) {
|
1243
1223
|
var n = {};
|
1244
|
-
return r.isMergeableObject(e) &&
|
1224
|
+
return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
|
1245
1225
|
n[i] = Te(e[i], r);
|
1246
|
-
}),
|
1247
|
-
|
1226
|
+
}), Pt(t).forEach(function(i) {
|
1227
|
+
wn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
|
1248
1228
|
}), n;
|
1249
1229
|
}
|
1250
|
-
function
|
1251
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1230
|
+
function de(e, t, r) {
|
1231
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = Te;
|
1252
1232
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
1253
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
1233
|
+
return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : Te(t, r);
|
1254
1234
|
}
|
1255
|
-
|
1235
|
+
de.all = function(t, r) {
|
1256
1236
|
if (!Array.isArray(t))
|
1257
1237
|
throw new Error("first argument should be an array");
|
1258
1238
|
return t.reduce(function(n, i) {
|
1259
|
-
return
|
1239
|
+
return de(n, i, r);
|
1260
1240
|
}, {});
|
1261
1241
|
};
|
1262
|
-
var
|
1263
|
-
const
|
1264
|
-
function
|
1265
|
-
var r = t && t.cache ? t.cache :
|
1242
|
+
var Tn = de, Hn = Tn;
|
1243
|
+
const An = /* @__PURE__ */ fn(Hn);
|
1244
|
+
function ze(e, t) {
|
1245
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Cn;
|
1266
1246
|
return i(e, {
|
1267
1247
|
cache: r,
|
1268
1248
|
serializer: n
|
1269
1249
|
});
|
1270
1250
|
}
|
1271
|
-
function
|
1251
|
+
function Pn(e) {
|
1272
1252
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1273
1253
|
}
|
1274
|
-
function
|
1275
|
-
var i =
|
1254
|
+
function Fn(e, t, r, n) {
|
1255
|
+
var i = Pn(n) ? n : r(n), o = t.get(i);
|
1276
1256
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
1277
1257
|
}
|
1278
|
-
function
|
1258
|
+
function or(e, t, r) {
|
1279
1259
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
1280
1260
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
1281
1261
|
}
|
1282
|
-
function
|
1262
|
+
function sr(e, t, r, n, i) {
|
1283
1263
|
return r.bind(t, e, n, i);
|
1284
1264
|
}
|
1285
|
-
function
|
1286
|
-
var r = e.length === 1 ?
|
1287
|
-
return
|
1288
|
-
}
|
1289
|
-
function Nn(e, t) {
|
1290
|
-
return bt(e, this, cr, t.cache.create(), t.serializer);
|
1265
|
+
function Cn(e, t) {
|
1266
|
+
var r = e.length === 1 ? Fn : or;
|
1267
|
+
return sr(e, this, r, t.cache.create(), t.serializer);
|
1291
1268
|
}
|
1292
|
-
function
|
1293
|
-
return
|
1269
|
+
function Bn(e, t) {
|
1270
|
+
return sr(e, this, or, t.cache.create(), t.serializer);
|
1294
1271
|
}
|
1295
|
-
var
|
1272
|
+
var On = function() {
|
1296
1273
|
return JSON.stringify(arguments);
|
1297
|
-
}
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1274
|
+
}, In = (
|
1275
|
+
/** @class */
|
1276
|
+
function() {
|
1277
|
+
function e() {
|
1278
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1279
|
+
}
|
1280
|
+
return e.prototype.get = function(t) {
|
1281
|
+
return this.cache[t];
|
1282
|
+
}, e.prototype.set = function(t, r) {
|
1283
|
+
this.cache[t] = r;
|
1284
|
+
}, e;
|
1285
|
+
}()
|
1286
|
+
), Ln = {
|
1308
1287
|
create: function() {
|
1309
|
-
return new
|
1288
|
+
return new In();
|
1310
1289
|
}
|
1311
|
-
},
|
1312
|
-
variadic:
|
1313
|
-
monadic: Mn
|
1290
|
+
}, Ze = {
|
1291
|
+
variadic: Bn
|
1314
1292
|
}, E;
|
1315
1293
|
(function(e) {
|
1316
1294
|
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";
|
@@ -1319,47 +1297,47 @@ var B;
|
|
1319
1297
|
(function(e) {
|
1320
1298
|
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";
|
1321
1299
|
})(B || (B = {}));
|
1322
|
-
var
|
1300
|
+
var pe;
|
1323
1301
|
(function(e) {
|
1324
1302
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1325
|
-
})(
|
1326
|
-
function
|
1303
|
+
})(pe || (pe = {}));
|
1304
|
+
function Ft(e) {
|
1327
1305
|
return e.type === B.literal;
|
1328
1306
|
}
|
1329
|
-
function
|
1307
|
+
function Nn(e) {
|
1330
1308
|
return e.type === B.argument;
|
1331
1309
|
}
|
1332
|
-
function
|
1310
|
+
function ar(e) {
|
1333
1311
|
return e.type === B.number;
|
1334
1312
|
}
|
1335
|
-
function
|
1313
|
+
function lr(e) {
|
1336
1314
|
return e.type === B.date;
|
1337
1315
|
}
|
1338
|
-
function
|
1316
|
+
function ur(e) {
|
1339
1317
|
return e.type === B.time;
|
1340
1318
|
}
|
1341
|
-
function
|
1319
|
+
function hr(e) {
|
1342
1320
|
return e.type === B.select;
|
1343
1321
|
}
|
1344
|
-
function
|
1322
|
+
function cr(e) {
|
1345
1323
|
return e.type === B.plural;
|
1346
1324
|
}
|
1347
|
-
function
|
1325
|
+
function Mn(e) {
|
1348
1326
|
return e.type === B.pound;
|
1349
1327
|
}
|
1350
|
-
function
|
1328
|
+
function fr(e) {
|
1351
1329
|
return e.type === B.tag;
|
1352
1330
|
}
|
1353
|
-
function
|
1354
|
-
return !!(e && typeof e == "object" && e.type ===
|
1331
|
+
function dr(e) {
|
1332
|
+
return !!(e && typeof e == "object" && e.type === pe.number);
|
1355
1333
|
}
|
1356
|
-
function
|
1357
|
-
return !!(e && typeof e == "object" && e.type ===
|
1334
|
+
function st(e) {
|
1335
|
+
return !!(e && typeof e == "object" && e.type === pe.dateTime);
|
1358
1336
|
}
|
1359
|
-
var
|
1360
|
-
function
|
1337
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
1338
|
+
function Dn(e) {
|
1361
1339
|
var t = {};
|
1362
|
-
return e.replace(
|
1340
|
+
return e.replace(Rn, function(r) {
|
1363
1341
|
var n = r.length;
|
1364
1342
|
switch (r[0]) {
|
1365
1343
|
case "G":
|
@@ -1448,36 +1426,36 @@ function kn(e) {
|
|
1448
1426
|
return "";
|
1449
1427
|
}), t;
|
1450
1428
|
}
|
1451
|
-
var
|
1452
|
-
function
|
1429
|
+
var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1430
|
+
function $n(e) {
|
1453
1431
|
if (e.length === 0)
|
1454
1432
|
throw new Error("Number skeleton cannot be empty");
|
1455
|
-
for (var t = e.split(
|
1433
|
+
for (var t = e.split(Un).filter(function(c) {
|
1456
1434
|
return c.length > 0;
|
1457
1435
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1458
1436
|
var o = i[n], s = o.split("/");
|
1459
1437
|
if (s.length === 0)
|
1460
1438
|
throw new Error("Invalid number skeleton");
|
1461
1439
|
for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
|
1462
|
-
var
|
1463
|
-
if (
|
1440
|
+
var f = u[l];
|
1441
|
+
if (f.length === 0)
|
1464
1442
|
throw new Error("Invalid number skeleton");
|
1465
1443
|
}
|
1466
1444
|
r.push({ stem: a, options: h });
|
1467
1445
|
}
|
1468
1446
|
return r;
|
1469
1447
|
}
|
1470
|
-
function
|
1448
|
+
function Gn(e) {
|
1471
1449
|
return e.replace(/^(.*?)-/, "");
|
1472
1450
|
}
|
1473
|
-
var
|
1474
|
-
function
|
1451
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
1452
|
+
function Bt(e) {
|
1475
1453
|
var t = {};
|
1476
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1454
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
|
1477
1455
|
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)), "";
|
1478
1456
|
}), t;
|
1479
1457
|
}
|
1480
|
-
function
|
1458
|
+
function gr(e) {
|
1481
1459
|
switch (e) {
|
1482
1460
|
case "sign-auto":
|
1483
1461
|
return {
|
@@ -1517,7 +1495,7 @@ function Er(e) {
|
|
1517
1495
|
};
|
1518
1496
|
}
|
1519
1497
|
}
|
1520
|
-
function
|
1498
|
+
function jn(e) {
|
1521
1499
|
var t;
|
1522
1500
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1523
1501
|
notation: "engineering"
|
@@ -1525,17 +1503,17 @@ function zn(e) {
|
|
1525
1503
|
notation: "scientific"
|
1526
1504
|
}, e = e.slice(1)), t) {
|
1527
1505
|
var r = e.slice(0, 2);
|
1528
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1506
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
1529
1507
|
throw new Error("Malformed concise eng/scientific notation");
|
1530
1508
|
t.minimumIntegerDigits = e.length;
|
1531
1509
|
}
|
1532
1510
|
return t;
|
1533
1511
|
}
|
1534
|
-
function
|
1535
|
-
var t = {}, r =
|
1512
|
+
function Ot(e) {
|
1513
|
+
var t = {}, r = gr(e);
|
1536
1514
|
return r || t;
|
1537
1515
|
}
|
1538
|
-
function
|
1516
|
+
function Vn(e) {
|
1539
1517
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1540
1518
|
var i = n[r];
|
1541
1519
|
switch (i.stem) {
|
@@ -1559,7 +1537,7 @@ function Zn(e) {
|
|
1559
1537
|
continue;
|
1560
1538
|
case "measure-unit":
|
1561
1539
|
case "unit":
|
1562
|
-
t.style = "unit", t.unit =
|
1540
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
1563
1541
|
continue;
|
1564
1542
|
case "compact-short":
|
1565
1543
|
case "K":
|
@@ -1570,13 +1548,13 @@ function Zn(e) {
|
|
1570
1548
|
t.notation = "compact", t.compactDisplay = "long";
|
1571
1549
|
continue;
|
1572
1550
|
case "scientific":
|
1573
|
-
t =
|
1574
|
-
return
|
1551
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
1552
|
+
return A(A({}, h), Ot(l));
|
1575
1553
|
}, {}));
|
1576
1554
|
continue;
|
1577
1555
|
case "engineering":
|
1578
|
-
t =
|
1579
|
-
return
|
1556
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
1557
|
+
return A(A({}, h), Ot(l));
|
1580
1558
|
}, {}));
|
1581
1559
|
continue;
|
1582
1560
|
case "notation-simple":
|
@@ -1621,45 +1599,45 @@ function Zn(e) {
|
|
1621
1599
|
case "integer-width":
|
1622
1600
|
if (i.options.length > 1)
|
1623
1601
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1624
|
-
i.options[0].replace(
|
1602
|
+
i.options[0].replace(kn, function(h, l, u, f, c, p) {
|
1625
1603
|
if (l)
|
1626
1604
|
t.minimumIntegerDigits = u.length;
|
1627
1605
|
else {
|
1628
|
-
if (
|
1606
|
+
if (f && c)
|
1629
1607
|
throw new Error("We currently do not support maximum integer digits");
|
1630
|
-
if (
|
1608
|
+
if (p)
|
1631
1609
|
throw new Error("We currently do not support exact integer digits");
|
1632
1610
|
}
|
1633
1611
|
return "";
|
1634
1612
|
});
|
1635
1613
|
continue;
|
1636
1614
|
}
|
1637
|
-
if (
|
1615
|
+
if (br.test(i.stem)) {
|
1638
1616
|
t.minimumIntegerDigits = i.stem.length;
|
1639
1617
|
continue;
|
1640
1618
|
}
|
1641
|
-
if (
|
1619
|
+
if (Ct.test(i.stem)) {
|
1642
1620
|
if (i.options.length > 1)
|
1643
1621
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1644
|
-
i.stem.replace(
|
1645
|
-
return u === "*" ? t.minimumFractionDigits = l.length :
|
1622
|
+
i.stem.replace(Ct, function(h, l, u, f, c, p) {
|
1623
|
+
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1646
1624
|
});
|
1647
1625
|
var o = i.options[0];
|
1648
|
-
o === "w" ? t =
|
1626
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Bt(o)));
|
1649
1627
|
continue;
|
1650
1628
|
}
|
1651
|
-
if (
|
1652
|
-
t =
|
1629
|
+
if (mr.test(i.stem)) {
|
1630
|
+
t = A(A({}, t), Bt(i.stem));
|
1653
1631
|
continue;
|
1654
1632
|
}
|
1655
|
-
var s =
|
1656
|
-
s && (t =
|
1657
|
-
var a =
|
1658
|
-
a && (t =
|
1633
|
+
var s = gr(i.stem);
|
1634
|
+
s && (t = A(A({}, t), s));
|
1635
|
+
var a = jn(i.stem);
|
1636
|
+
a && (t = A(A({}, t), a));
|
1659
1637
|
}
|
1660
1638
|
return t;
|
1661
1639
|
}
|
1662
|
-
var
|
1640
|
+
var Be = {
|
1663
1641
|
"001": [
|
1664
1642
|
"H",
|
1665
1643
|
"h"
|
@@ -3074,13 +3052,13 @@ var Ie = {
|
|
3074
3052
|
"h"
|
3075
3053
|
]
|
3076
3054
|
};
|
3077
|
-
function
|
3055
|
+
function Xn(e, t) {
|
3078
3056
|
for (var r = "", n = 0; n < e.length; n++) {
|
3079
3057
|
var i = e.charAt(n);
|
3080
3058
|
if (i === "j") {
|
3081
3059
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3082
3060
|
o++, n++;
|
3083
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
3061
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Wn(t);
|
3084
3062
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
3085
3063
|
r += h;
|
3086
3064
|
for (; s-- > 0; )
|
@@ -3090,7 +3068,7 @@ function Jn(e, t) {
|
|
3090
3068
|
}
|
3091
3069
|
return r;
|
3092
3070
|
}
|
3093
|
-
function
|
3071
|
+
function Wn(e) {
|
3094
3072
|
var t = e.hourCycle;
|
3095
3073
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3096
3074
|
e.hourCycles && // @ts-ignore
|
@@ -3109,23 +3087,23 @@ function Qn(e) {
|
|
3109
3087
|
}
|
3110
3088
|
var r = e.language, n;
|
3111
3089
|
r !== "root" && (n = e.maximize().region);
|
3112
|
-
var i =
|
3090
|
+
var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
|
3113
3091
|
return i[0];
|
3114
3092
|
}
|
3115
|
-
var
|
3093
|
+
var Je, zn = new RegExp("^".concat(pr.source, "*")), Zn = new RegExp("".concat(pr.source, "*$"));
|
3116
3094
|
function T(e, t) {
|
3117
3095
|
return { start: e, end: t };
|
3118
3096
|
}
|
3119
|
-
var
|
3097
|
+
var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
|
3120
3098
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3121
|
-
},
|
3099
|
+
}, at = !0;
|
3122
3100
|
try {
|
3123
|
-
var
|
3124
|
-
|
3101
|
+
var ni = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3102
|
+
at = ((Je = ni.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
3125
3103
|
} catch {
|
3126
|
-
|
3104
|
+
at = !1;
|
3127
3105
|
}
|
3128
|
-
var
|
3106
|
+
var It = Jn ? (
|
3129
3107
|
// Native
|
3130
3108
|
function(t, r, n) {
|
3131
3109
|
return t.startsWith(r, n);
|
@@ -3135,7 +3113,7 @@ var Rt = Kn ? (
|
|
3135
3113
|
function(t, r, n) {
|
3136
3114
|
return t.slice(n, n + r.length) === r;
|
3137
3115
|
}
|
3138
|
-
),
|
3116
|
+
), lt = Qn ? String.fromCodePoint : (
|
3139
3117
|
// IE11
|
3140
3118
|
function() {
|
3141
3119
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3147,9 +3125,9 @@ var Rt = Kn ? (
|
|
3147
3125
|
}
|
3148
3126
|
return n;
|
3149
3127
|
}
|
3150
|
-
),
|
3128
|
+
), Lt = (
|
3151
3129
|
// native
|
3152
|
-
|
3130
|
+
qn ? Object.fromEntries : (
|
3153
3131
|
// Ponyfill
|
3154
3132
|
function(t) {
|
3155
3133
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3159,7 +3137,7 @@ var Rt = Kn ? (
|
|
3159
3137
|
return r;
|
3160
3138
|
}
|
3161
3139
|
)
|
3162
|
-
),
|
3140
|
+
), vr = Yn ? (
|
3163
3141
|
// Native
|
3164
3142
|
function(t, r) {
|
3165
3143
|
return t.codePointAt(r);
|
@@ -3173,7 +3151,7 @@ var Rt = Kn ? (
|
|
3173
3151
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
3174
3152
|
}
|
3175
3153
|
}
|
3176
|
-
),
|
3154
|
+
), ii = Kn ? (
|
3177
3155
|
// Native
|
3178
3156
|
function(t) {
|
3179
3157
|
return t.trimStart();
|
@@ -3181,9 +3159,9 @@ var Rt = Kn ? (
|
|
3181
3159
|
) : (
|
3182
3160
|
// Ponyfill
|
3183
3161
|
function(t) {
|
3184
|
-
return t.replace(
|
3162
|
+
return t.replace(zn, "");
|
3185
3163
|
}
|
3186
|
-
),
|
3164
|
+
), oi = ei ? (
|
3187
3165
|
// Native
|
3188
3166
|
function(t) {
|
3189
3167
|
return t.trimEnd();
|
@@ -3191,32 +3169,32 @@ var Rt = Kn ? (
|
|
3191
3169
|
) : (
|
3192
3170
|
// Ponyfill
|
3193
3171
|
function(t) {
|
3194
|
-
return t.replace(
|
3172
|
+
return t.replace(Zn, "");
|
3195
3173
|
}
|
3196
3174
|
);
|
3197
|
-
function
|
3175
|
+
function yr(e, t) {
|
3198
3176
|
return new RegExp(e, t);
|
3199
3177
|
}
|
3200
|
-
var
|
3201
|
-
if (
|
3202
|
-
var
|
3203
|
-
|
3178
|
+
var ut;
|
3179
|
+
if (at) {
|
3180
|
+
var Nt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3181
|
+
ut = function(t, r) {
|
3204
3182
|
var n;
|
3205
|
-
|
3206
|
-
var i =
|
3183
|
+
Nt.lastIndex = r;
|
3184
|
+
var i = Nt.exec(t);
|
3207
3185
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3208
3186
|
};
|
3209
3187
|
} else
|
3210
|
-
|
3188
|
+
ut = function(t, r) {
|
3211
3189
|
for (var n = []; ; ) {
|
3212
|
-
var i =
|
3213
|
-
if (i === void 0 ||
|
3190
|
+
var i = vr(t, r);
|
3191
|
+
if (i === void 0 || _r(i) || ui(i))
|
3214
3192
|
break;
|
3215
3193
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3216
3194
|
}
|
3217
|
-
return
|
3195
|
+
return lt.apply(void 0, n);
|
3218
3196
|
};
|
3219
|
-
var
|
3197
|
+
var si = (
|
3220
3198
|
/** @class */
|
3221
3199
|
function() {
|
3222
3200
|
function e(t, r) {
|
@@ -3247,7 +3225,7 @@ var hi = (
|
|
3247
3225
|
if (n)
|
3248
3226
|
break;
|
3249
3227
|
return this.error(E.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
3250
|
-
} else if (o === 60 && !this.ignoreTag &&
|
3228
|
+
} else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
|
3251
3229
|
var s = this.parseTag(t, r);
|
3252
3230
|
if (s.err)
|
3253
3231
|
return s;
|
@@ -3280,7 +3258,7 @@ var hi = (
|
|
3280
3258
|
return o;
|
3281
3259
|
var s = o.val, a = this.clonePosition();
|
3282
3260
|
if (this.bumpIf("</")) {
|
3283
|
-
if (this.isEOF() || !
|
3261
|
+
if (this.isEOF() || !ht(this.char()))
|
3284
3262
|
return this.error(E.INVALID_TAG, T(a, this.clonePosition()));
|
3285
3263
|
var h = this.clonePosition(), l = this.parseTagName();
|
3286
3264
|
return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, T(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -3298,7 +3276,7 @@ var hi = (
|
|
3298
3276
|
return this.error(E.INVALID_TAG, T(n, this.clonePosition()));
|
3299
3277
|
}, e.prototype.parseTagName = function() {
|
3300
3278
|
var t = this.offset();
|
3301
|
-
for (this.bump(); !this.isEOF() &&
|
3279
|
+
for (this.bump(); !this.isEOF() && li(this.char()); )
|
3302
3280
|
this.bump();
|
3303
3281
|
return this.message.slice(t, this.offset());
|
3304
3282
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3327,7 +3305,7 @@ var hi = (
|
|
3327
3305
|
};
|
3328
3306
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3329
3307
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3330
|
-
!
|
3308
|
+
!ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3331
3309
|
}, e.prototype.tryParseQuote = function(t) {
|
3332
3310
|
if (this.isEOF() || this.char() !== 39)
|
3333
3311
|
return null;
|
@@ -3361,12 +3339,12 @@ var hi = (
|
|
3361
3339
|
r.push(n);
|
3362
3340
|
this.bump();
|
3363
3341
|
}
|
3364
|
-
return
|
3342
|
+
return lt.apply(void 0, r);
|
3365
3343
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3366
3344
|
if (this.isEOF())
|
3367
3345
|
return null;
|
3368
3346
|
var n = this.char();
|
3369
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3347
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
|
3370
3348
|
}, e.prototype.parseArgument = function(t, r) {
|
3371
3349
|
var n = this.clonePosition();
|
3372
3350
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3395,7 +3373,7 @@ var hi = (
|
|
3395
3373
|
return this.error(E.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
3396
3374
|
}
|
3397
3375
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3398
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3376
|
+
var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
|
3399
3377
|
this.bumpTo(i);
|
3400
3378
|
var o = this.clonePosition(), s = T(t, o);
|
3401
3379
|
return { value: n, location: s };
|
@@ -3411,40 +3389,40 @@ var hi = (
|
|
3411
3389
|
var l = null;
|
3412
3390
|
if (this.bumpIf(",")) {
|
3413
3391
|
this.bumpSpace();
|
3414
|
-
var u = this.clonePosition(),
|
3415
|
-
if (
|
3416
|
-
return
|
3417
|
-
var c =
|
3392
|
+
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
3393
|
+
if (f.err)
|
3394
|
+
return f;
|
3395
|
+
var c = oi(f.val);
|
3418
3396
|
if (c.length === 0)
|
3419
3397
|
return this.error(E.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
3420
|
-
var
|
3421
|
-
l = { style: c, styleLocation:
|
3398
|
+
var p = T(u, this.clonePosition());
|
3399
|
+
l = { style: c, styleLocation: p };
|
3422
3400
|
}
|
3423
|
-
var
|
3424
|
-
if (
|
3425
|
-
return
|
3401
|
+
var v = this.tryParseArgumentClose(i);
|
3402
|
+
if (v.err)
|
3403
|
+
return v;
|
3426
3404
|
var g = T(i, this.clonePosition());
|
3427
|
-
if (l &&
|
3428
|
-
var
|
3405
|
+
if (l && It(l?.style, "::", 0)) {
|
3406
|
+
var P = ii(l.style.slice(2));
|
3429
3407
|
if (a === "number") {
|
3430
|
-
var
|
3431
|
-
return
|
3432
|
-
val: { type: B.number, value: n, location: g, style:
|
3408
|
+
var f = this.parseNumberSkeletonFromString(P, l.styleLocation);
|
3409
|
+
return f.err ? f : {
|
3410
|
+
val: { type: B.number, value: n, location: g, style: f.val },
|
3433
3411
|
err: null
|
3434
3412
|
};
|
3435
3413
|
} else {
|
3436
|
-
if (
|
3414
|
+
if (P.length === 0)
|
3437
3415
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, g);
|
3438
|
-
var w =
|
3439
|
-
this.locale && (w =
|
3416
|
+
var w = P;
|
3417
|
+
this.locale && (w = Xn(P, this.locale));
|
3440
3418
|
var c = {
|
3441
|
-
type:
|
3419
|
+
type: pe.dateTime,
|
3442
3420
|
pattern: w,
|
3443
3421
|
location: l.styleLocation,
|
3444
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3445
|
-
},
|
3422
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(w) : {}
|
3423
|
+
}, y = a === "date" ? B.date : B.time;
|
3446
3424
|
return {
|
3447
|
-
val: { type:
|
3425
|
+
val: { type: y, value: n, location: g, style: c },
|
3448
3426
|
err: null
|
3449
3427
|
};
|
3450
3428
|
}
|
@@ -3464,30 +3442,30 @@ var hi = (
|
|
3464
3442
|
case "select": {
|
3465
3443
|
var x = this.clonePosition();
|
3466
3444
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3467
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(x,
|
3445
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(x, A({}, x)));
|
3468
3446
|
this.bumpSpace();
|
3469
|
-
var
|
3470
|
-
if (a !== "select" &&
|
3447
|
+
var L = this.parseIdentifierIfPossible(), N = 0;
|
3448
|
+
if (a !== "select" && L.value === "offset") {
|
3471
3449
|
if (!this.bumpIf(":"))
|
3472
3450
|
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
3473
3451
|
this.bumpSpace();
|
3474
|
-
var
|
3475
|
-
if (
|
3476
|
-
return
|
3477
|
-
this.bumpSpace(),
|
3452
|
+
var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3453
|
+
if (f.err)
|
3454
|
+
return f;
|
3455
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = f.val;
|
3478
3456
|
}
|
3479
|
-
var
|
3480
|
-
if (
|
3481
|
-
return
|
3482
|
-
var
|
3483
|
-
if (
|
3484
|
-
return
|
3457
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
3458
|
+
if (R.err)
|
3459
|
+
return R;
|
3460
|
+
var v = this.tryParseArgumentClose(i);
|
3461
|
+
if (v.err)
|
3462
|
+
return v;
|
3485
3463
|
var S = T(i, this.clonePosition());
|
3486
3464
|
return a === "select" ? {
|
3487
3465
|
val: {
|
3488
3466
|
type: B.select,
|
3489
3467
|
value: n,
|
3490
|
-
options:
|
3468
|
+
options: Lt(R.val),
|
3491
3469
|
location: S
|
3492
3470
|
},
|
3493
3471
|
err: null
|
@@ -3495,7 +3473,7 @@ var hi = (
|
|
3495
3473
|
val: {
|
3496
3474
|
type: B.plural,
|
3497
3475
|
value: n,
|
3498
|
-
options:
|
3476
|
+
options: Lt(R.val),
|
3499
3477
|
offset: N,
|
3500
3478
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3501
3479
|
location: S
|
@@ -3546,48 +3524,48 @@ var hi = (
|
|
3546
3524
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3547
3525
|
var n = [];
|
3548
3526
|
try {
|
3549
|
-
n =
|
3527
|
+
n = $n(t);
|
3550
3528
|
} catch {
|
3551
3529
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
3552
3530
|
}
|
3553
3531
|
return {
|
3554
3532
|
val: {
|
3555
|
-
type:
|
3533
|
+
type: pe.number,
|
3556
3534
|
tokens: n,
|
3557
3535
|
location: r,
|
3558
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3536
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
|
3559
3537
|
},
|
3560
3538
|
err: null
|
3561
3539
|
};
|
3562
3540
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3563
3541
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
|
3564
3542
|
if (l.length === 0) {
|
3565
|
-
var
|
3543
|
+
var f = this.clonePosition();
|
3566
3544
|
if (r !== "select" && this.bumpIf("=")) {
|
3567
3545
|
var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3568
3546
|
if (c.err)
|
3569
3547
|
return c;
|
3570
|
-
u = T(
|
3548
|
+
u = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
3571
3549
|
} else
|
3572
3550
|
break;
|
3573
3551
|
}
|
3574
3552
|
if (h.has(l))
|
3575
3553
|
return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
3576
3554
|
l === "other" && (s = !0), this.bumpSpace();
|
3577
|
-
var
|
3555
|
+
var p = this.clonePosition();
|
3578
3556
|
if (!this.bumpIf("{"))
|
3579
3557
|
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
3580
|
-
var
|
3581
|
-
if (
|
3582
|
-
return
|
3583
|
-
var g = this.tryParseArgumentClose(
|
3558
|
+
var v = this.parseMessage(t + 1, r, n);
|
3559
|
+
if (v.err)
|
3560
|
+
return v;
|
3561
|
+
var g = this.tryParseArgumentClose(p);
|
3584
3562
|
if (g.err)
|
3585
3563
|
return g;
|
3586
3564
|
a.push([
|
3587
3565
|
l,
|
3588
3566
|
{
|
3589
|
-
value:
|
3590
|
-
location: T(
|
3567
|
+
value: v.val,
|
3568
|
+
location: T(p, this.clonePosition())
|
3591
3569
|
}
|
3592
3570
|
]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
3593
3571
|
}
|
@@ -3603,7 +3581,7 @@ var hi = (
|
|
3603
3581
|
break;
|
3604
3582
|
}
|
3605
3583
|
var h = T(i, this.clonePosition());
|
3606
|
-
return o ? (s *= n,
|
3584
|
+
return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3607
3585
|
}, e.prototype.offset = function() {
|
3608
3586
|
return this.position.offset;
|
3609
3587
|
}, e.prototype.isEOF = function() {
|
@@ -3618,7 +3596,7 @@ var hi = (
|
|
3618
3596
|
var t = this.position.offset;
|
3619
3597
|
if (t >= this.message.length)
|
3620
3598
|
throw Error("out of bound");
|
3621
|
-
var r =
|
3599
|
+
var r = vr(this.message, t);
|
3622
3600
|
if (r === void 0)
|
3623
3601
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3624
3602
|
return r;
|
@@ -3637,7 +3615,7 @@ var hi = (
|
|
3637
3615
|
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);
|
3638
3616
|
}
|
3639
3617
|
}, e.prototype.bumpIf = function(t) {
|
3640
|
-
if (
|
3618
|
+
if (It(this.message, t, this.offset())) {
|
3641
3619
|
for (var r = 0; r < t.length; r++)
|
3642
3620
|
this.bump();
|
3643
3621
|
return !0;
|
@@ -3659,7 +3637,7 @@ var hi = (
|
|
3659
3637
|
break;
|
3660
3638
|
}
|
3661
3639
|
}, e.prototype.bumpSpace = function() {
|
3662
|
-
for (; !this.isEOF() &&
|
3640
|
+
for (; !this.isEOF() && _r(this.char()); )
|
3663
3641
|
this.bump();
|
3664
3642
|
}, e.prototype.peek = function() {
|
3665
3643
|
if (this.isEOF())
|
@@ -3669,47 +3647,47 @@ var hi = (
|
|
3669
3647
|
}, e;
|
3670
3648
|
}()
|
3671
3649
|
);
|
3672
|
-
function
|
3650
|
+
function ht(e) {
|
3673
3651
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3674
3652
|
}
|
3675
|
-
function
|
3676
|
-
return
|
3653
|
+
function ai(e) {
|
3654
|
+
return ht(e) || e === 47;
|
3677
3655
|
}
|
3678
|
-
function
|
3656
|
+
function li(e) {
|
3679
3657
|
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;
|
3680
3658
|
}
|
3681
|
-
function
|
3659
|
+
function _r(e) {
|
3682
3660
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3683
3661
|
}
|
3684
|
-
function
|
3662
|
+
function ui(e) {
|
3685
3663
|
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;
|
3686
3664
|
}
|
3687
|
-
function
|
3665
|
+
function ct(e) {
|
3688
3666
|
e.forEach(function(t) {
|
3689
|
-
if (delete t.location,
|
3667
|
+
if (delete t.location, hr(t) || cr(t))
|
3690
3668
|
for (var r in t.options)
|
3691
|
-
delete t.options[r].location,
|
3669
|
+
delete t.options[r].location, ct(t.options[r].value);
|
3692
3670
|
else
|
3693
|
-
|
3671
|
+
ar(t) && dr(t.style) || (lr(t) || ur(t)) && st(t.style) ? delete t.style.location : fr(t) && ct(t.children);
|
3694
3672
|
});
|
3695
3673
|
}
|
3696
|
-
function
|
3697
|
-
t === void 0 && (t = {}), t =
|
3698
|
-
var r = new
|
3674
|
+
function hi(e, t) {
|
3675
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3676
|
+
var r = new si(e, t).parse();
|
3699
3677
|
if (r.err) {
|
3700
3678
|
var n = SyntaxError(E[r.err.kind]);
|
3701
3679
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3702
3680
|
}
|
3703
|
-
return t?.captureLocation ||
|
3681
|
+
return t?.captureLocation || ct(r.val), r.val;
|
3704
3682
|
}
|
3705
|
-
var
|
3683
|
+
var me;
|
3706
3684
|
(function(e) {
|
3707
3685
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3708
|
-
})(
|
3709
|
-
var
|
3686
|
+
})(me || (me = {}));
|
3687
|
+
var ke = (
|
3710
3688
|
/** @class */
|
3711
3689
|
function(e) {
|
3712
|
-
|
3690
|
+
J(t, e);
|
3713
3691
|
function t(r, n, i) {
|
3714
3692
|
var o = e.call(this, r) || this;
|
3715
3693
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3718,155 +3696,155 @@ var je = (
|
|
3718
3696
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3719
3697
|
}, t;
|
3720
3698
|
}(Error)
|
3721
|
-
),
|
3699
|
+
), Mt = (
|
3722
3700
|
/** @class */
|
3723
3701
|
function(e) {
|
3724
|
-
|
3702
|
+
J(t, e);
|
3725
3703
|
function t(r, n, i, o) {
|
3726
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3704
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
|
3727
3705
|
}
|
3728
3706
|
return t;
|
3729
|
-
}(
|
3730
|
-
),
|
3707
|
+
}(ke)
|
3708
|
+
), ci = (
|
3731
3709
|
/** @class */
|
3732
3710
|
function(e) {
|
3733
|
-
|
3711
|
+
J(t, e);
|
3734
3712
|
function t(r, n, i) {
|
3735
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3713
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
|
3736
3714
|
}
|
3737
3715
|
return t;
|
3738
|
-
}(
|
3739
|
-
),
|
3716
|
+
}(ke)
|
3717
|
+
), fi = (
|
3740
3718
|
/** @class */
|
3741
3719
|
function(e) {
|
3742
|
-
|
3720
|
+
J(t, e);
|
3743
3721
|
function t(r, n) {
|
3744
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3722
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
|
3745
3723
|
}
|
3746
3724
|
return t;
|
3747
|
-
}(
|
3748
|
-
),
|
3725
|
+
}(ke)
|
3726
|
+
), D;
|
3749
3727
|
(function(e) {
|
3750
3728
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3751
|
-
})(
|
3752
|
-
function
|
3729
|
+
})(D || (D = {}));
|
3730
|
+
function di(e) {
|
3753
3731
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3754
3732
|
var n = t[t.length - 1];
|
3755
|
-
return !n || n.type !==
|
3733
|
+
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
3756
3734
|
}, []);
|
3757
3735
|
}
|
3758
|
-
function
|
3736
|
+
function pi(e) {
|
3759
3737
|
return typeof e == "function";
|
3760
3738
|
}
|
3761
|
-
function
|
3762
|
-
if (e.length === 1 &&
|
3739
|
+
function Le(e, t, r, n, i, o, s) {
|
3740
|
+
if (e.length === 1 && Ft(e[0]))
|
3763
3741
|
return [
|
3764
3742
|
{
|
3765
|
-
type:
|
3743
|
+
type: D.literal,
|
3766
3744
|
value: e[0].value
|
3767
3745
|
}
|
3768
3746
|
];
|
3769
3747
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
3770
3748
|
var u = l[h];
|
3771
|
-
if (
|
3749
|
+
if (Ft(u)) {
|
3772
3750
|
a.push({
|
3773
|
-
type:
|
3751
|
+
type: D.literal,
|
3774
3752
|
value: u.value
|
3775
3753
|
});
|
3776
3754
|
continue;
|
3777
3755
|
}
|
3778
|
-
if (
|
3756
|
+
if (Mn(u)) {
|
3779
3757
|
typeof o == "number" && a.push({
|
3780
|
-
type:
|
3758
|
+
type: D.literal,
|
3781
3759
|
value: r.getNumberFormat(t).format(o)
|
3782
3760
|
});
|
3783
3761
|
continue;
|
3784
3762
|
}
|
3785
|
-
var
|
3786
|
-
if (!(i &&
|
3787
|
-
throw new
|
3788
|
-
var c = i[
|
3789
|
-
if (
|
3763
|
+
var f = u.value;
|
3764
|
+
if (!(i && f in i))
|
3765
|
+
throw new fi(f, s);
|
3766
|
+
var c = i[f];
|
3767
|
+
if (Nn(u)) {
|
3790
3768
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3791
|
-
type: typeof c == "string" ?
|
3769
|
+
type: typeof c == "string" ? D.literal : D.object,
|
3792
3770
|
value: c
|
3793
3771
|
});
|
3794
3772
|
continue;
|
3795
3773
|
}
|
3796
|
-
if (
|
3797
|
-
var
|
3774
|
+
if (lr(u)) {
|
3775
|
+
var p = typeof u.style == "string" ? n.date[u.style] : st(u.style) ? u.style.parsedOptions : void 0;
|
3798
3776
|
a.push({
|
3799
|
-
type:
|
3800
|
-
value: r.getDateTimeFormat(t,
|
3777
|
+
type: D.literal,
|
3778
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
3801
3779
|
});
|
3802
3780
|
continue;
|
3803
3781
|
}
|
3804
|
-
if (
|
3805
|
-
var
|
3782
|
+
if (ur(u)) {
|
3783
|
+
var p = typeof u.style == "string" ? n.time[u.style] : st(u.style) ? u.style.parsedOptions : n.time.medium;
|
3806
3784
|
a.push({
|
3807
|
-
type:
|
3808
|
-
value: r.getDateTimeFormat(t,
|
3785
|
+
type: D.literal,
|
3786
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
3809
3787
|
});
|
3810
3788
|
continue;
|
3811
3789
|
}
|
3812
|
-
if (
|
3813
|
-
var
|
3814
|
-
|
3815
|
-
type:
|
3816
|
-
value: r.getNumberFormat(t,
|
3790
|
+
if (ar(u)) {
|
3791
|
+
var p = typeof u.style == "string" ? n.number[u.style] : dr(u.style) ? u.style.parsedOptions : void 0;
|
3792
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
3793
|
+
type: D.literal,
|
3794
|
+
value: r.getNumberFormat(t, p).format(c)
|
3817
3795
|
});
|
3818
3796
|
continue;
|
3819
3797
|
}
|
3820
|
-
if (
|
3821
|
-
var
|
3822
|
-
if (!
|
3823
|
-
throw new
|
3824
|
-
var w =
|
3798
|
+
if (fr(u)) {
|
3799
|
+
var v = u.children, g = u.value, P = i[g];
|
3800
|
+
if (!pi(P))
|
3801
|
+
throw new ci(g, "function", s);
|
3802
|
+
var w = Le(v, t, r, n, i, o), y = P(w.map(function(N) {
|
3825
3803
|
return N.value;
|
3826
3804
|
}));
|
3827
|
-
Array.isArray(
|
3805
|
+
Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(N) {
|
3828
3806
|
return {
|
3829
|
-
type: typeof N == "string" ?
|
3807
|
+
type: typeof N == "string" ? D.literal : D.object,
|
3830
3808
|
value: N
|
3831
3809
|
};
|
3832
3810
|
}));
|
3833
3811
|
}
|
3834
|
-
if (
|
3812
|
+
if (hr(u)) {
|
3835
3813
|
var x = u.options[c] || u.options.other;
|
3836
3814
|
if (!x)
|
3837
|
-
throw new
|
3838
|
-
a.push.apply(a,
|
3815
|
+
throw new Mt(u.value, c, Object.keys(u.options), s);
|
3816
|
+
a.push.apply(a, Le(x.value, t, r, n, i));
|
3839
3817
|
continue;
|
3840
3818
|
}
|
3841
|
-
if (
|
3819
|
+
if (cr(u)) {
|
3842
3820
|
var x = u.options["=".concat(c)];
|
3843
3821
|
if (!x) {
|
3844
3822
|
if (!Intl.PluralRules)
|
3845
|
-
throw new
|
3823
|
+
throw new ke(`Intl.PluralRules is not available in this environment.
|
3846
3824
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3847
|
-
`,
|
3848
|
-
var
|
3849
|
-
x = u.options[
|
3825
|
+
`, me.MISSING_INTL_API, s);
|
3826
|
+
var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
3827
|
+
x = u.options[L] || u.options.other;
|
3850
3828
|
}
|
3851
3829
|
if (!x)
|
3852
|
-
throw new
|
3853
|
-
a.push.apply(a,
|
3830
|
+
throw new Mt(u.value, c, Object.keys(u.options), s);
|
3831
|
+
a.push.apply(a, Le(x.value, t, r, n, i, c - (u.offset || 0)));
|
3854
3832
|
continue;
|
3855
3833
|
}
|
3856
3834
|
}
|
3857
|
-
return
|
3835
|
+
return di(a);
|
3858
3836
|
}
|
3859
|
-
function
|
3860
|
-
return t ?
|
3861
|
-
return r[n] =
|
3837
|
+
function mi(e, t) {
|
3838
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3839
|
+
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
3862
3840
|
}, {})) : e;
|
3863
3841
|
}
|
3864
|
-
function
|
3842
|
+
function bi(e, t) {
|
3865
3843
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3866
|
-
return r[n] =
|
3867
|
-
},
|
3844
|
+
return r[n] = mi(e[n], t[n]), r;
|
3845
|
+
}, A({}, e)) : e;
|
3868
3846
|
}
|
3869
|
-
function
|
3847
|
+
function Qe(e) {
|
3870
3848
|
return {
|
3871
3849
|
create: function() {
|
3872
3850
|
return {
|
@@ -3880,39 +3858,39 @@ function Ye(e) {
|
|
3880
3858
|
}
|
3881
3859
|
};
|
3882
3860
|
}
|
3883
|
-
function
|
3861
|
+
function gi(e) {
|
3884
3862
|
return e === void 0 && (e = {
|
3885
3863
|
number: {},
|
3886
3864
|
dateTime: {},
|
3887
3865
|
pluralRules: {}
|
3888
3866
|
}), {
|
3889
|
-
getNumberFormat:
|
3867
|
+
getNumberFormat: ze(function() {
|
3890
3868
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3891
3869
|
r[n] = arguments[n];
|
3892
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3870
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
|
3893
3871
|
}, {
|
3894
|
-
cache:
|
3895
|
-
strategy:
|
3872
|
+
cache: Qe(e.number),
|
3873
|
+
strategy: Ze.variadic
|
3896
3874
|
}),
|
3897
|
-
getDateTimeFormat:
|
3875
|
+
getDateTimeFormat: ze(function() {
|
3898
3876
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3899
3877
|
r[n] = arguments[n];
|
3900
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3878
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
|
3901
3879
|
}, {
|
3902
|
-
cache:
|
3903
|
-
strategy:
|
3880
|
+
cache: Qe(e.dateTime),
|
3881
|
+
strategy: Ze.variadic
|
3904
3882
|
}),
|
3905
|
-
getPluralRules:
|
3883
|
+
getPluralRules: ze(function() {
|
3906
3884
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3907
3885
|
r[n] = arguments[n];
|
3908
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3886
|
+
return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
|
3909
3887
|
}, {
|
3910
|
-
cache:
|
3911
|
-
strategy:
|
3888
|
+
cache: Qe(e.pluralRules),
|
3889
|
+
strategy: Ze.variadic
|
3912
3890
|
})
|
3913
3891
|
};
|
3914
3892
|
}
|
3915
|
-
var
|
3893
|
+
var vi = (
|
3916
3894
|
/** @class */
|
3917
3895
|
function() {
|
3918
3896
|
function e(t, r, n, i) {
|
@@ -3926,12 +3904,12 @@ var Ei = (
|
|
3926
3904
|
var l = o.formatToParts(h);
|
3927
3905
|
if (l.length === 1)
|
3928
3906
|
return l[0].value;
|
3929
|
-
var u = l.reduce(function(
|
3930
|
-
return !
|
3907
|
+
var u = l.reduce(function(f, c) {
|
3908
|
+
return !f.length || c.type !== D.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
3931
3909
|
}, []);
|
3932
3910
|
return u.length <= 1 ? u[0] || "" : u;
|
3933
3911
|
}, this.formatToParts = function(h) {
|
3934
|
-
return
|
3912
|
+
return Le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3935
3913
|
}, this.resolvedOptions = function() {
|
3936
3914
|
var h;
|
3937
3915
|
return {
|
@@ -3944,13 +3922,13 @@ var Ei = (
|
|
3944
3922
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3945
3923
|
var s = i || {};
|
3946
3924
|
s.formatters;
|
3947
|
-
var a =
|
3948
|
-
this.ast = e.__parse(t,
|
3925
|
+
var a = Jr(s, ["formatters"]);
|
3926
|
+
this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
|
3949
3927
|
} else
|
3950
3928
|
this.ast = t;
|
3951
3929
|
if (!Array.isArray(this.ast))
|
3952
3930
|
throw new TypeError("A message must be provided as a String or AST.");
|
3953
|
-
this.formats =
|
3931
|
+
this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
3954
3932
|
}
|
3955
3933
|
return Object.defineProperty(e, "defaultLocale", {
|
3956
3934
|
get: function() {
|
@@ -3963,7 +3941,7 @@ var Ei = (
|
|
3963
3941
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3964
3942
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3965
3943
|
}
|
3966
|
-
}, e.__parse =
|
3944
|
+
}, e.__parse = hi, e.formats = {
|
3967
3945
|
number: {
|
3968
3946
|
integer: {
|
3969
3947
|
maximumFractionDigits: 0
|
@@ -4024,7 +4002,7 @@ var Ei = (
|
|
4024
4002
|
}, e;
|
4025
4003
|
}()
|
4026
4004
|
);
|
4027
|
-
function
|
4005
|
+
function yi(e, t) {
|
4028
4006
|
if (t == null)
|
4029
4007
|
return;
|
4030
4008
|
if (t in e)
|
@@ -4045,92 +4023,92 @@ function wi(e, t) {
|
|
4045
4023
|
n = void 0;
|
4046
4024
|
return n;
|
4047
4025
|
}
|
4048
|
-
const Q = {},
|
4026
|
+
const Q = {}, _i = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), xr = (e, t) => {
|
4049
4027
|
if (t == null)
|
4050
4028
|
return;
|
4051
4029
|
if (t in Q && e in Q[t])
|
4052
4030
|
return Q[t][e];
|
4053
|
-
const r =
|
4031
|
+
const r = je(t);
|
4054
4032
|
for (let n = 0; n < r.length; n++) {
|
4055
|
-
const i = r[n], o =
|
4033
|
+
const i = r[n], o = Ei(i, e);
|
4056
4034
|
if (o)
|
4057
|
-
return
|
4035
|
+
return _i(e, t, o);
|
4058
4036
|
}
|
4059
4037
|
};
|
4060
|
-
let
|
4061
|
-
const ve =
|
4062
|
-
function
|
4063
|
-
return
|
4038
|
+
let pt;
|
4039
|
+
const ve = Ge({});
|
4040
|
+
function xi(e) {
|
4041
|
+
return pt[e] || null;
|
4064
4042
|
}
|
4065
|
-
function
|
4066
|
-
return e in
|
4043
|
+
function Er(e) {
|
4044
|
+
return e in pt;
|
4067
4045
|
}
|
4068
|
-
function
|
4069
|
-
if (!
|
4046
|
+
function Ei(e, t) {
|
4047
|
+
if (!Er(e))
|
4070
4048
|
return null;
|
4071
|
-
const r =
|
4072
|
-
return
|
4049
|
+
const r = xi(e);
|
4050
|
+
return yi(r, t);
|
4073
4051
|
}
|
4074
|
-
function
|
4052
|
+
function wi(e) {
|
4075
4053
|
if (e == null)
|
4076
4054
|
return;
|
4077
|
-
const t =
|
4055
|
+
const t = je(e);
|
4078
4056
|
for (let r = 0; r < t.length; r++) {
|
4079
4057
|
const n = t[r];
|
4080
|
-
if (
|
4058
|
+
if (Er(n))
|
4081
4059
|
return n;
|
4082
4060
|
}
|
4083
4061
|
}
|
4084
|
-
function
|
4085
|
-
delete Q[e], ve.update((r) => (r[e] =
|
4062
|
+
function wr(e, ...t) {
|
4063
|
+
delete Q[e], ve.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
|
4086
4064
|
}
|
4087
|
-
|
4065
|
+
ge(
|
4088
4066
|
[ve],
|
4089
4067
|
([e]) => Object.keys(e)
|
4090
4068
|
);
|
4091
|
-
ve.subscribe((e) =>
|
4092
|
-
const
|
4093
|
-
function
|
4094
|
-
|
4069
|
+
ve.subscribe((e) => pt = e);
|
4070
|
+
const Ne = {};
|
4071
|
+
function Si(e, t) {
|
4072
|
+
Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
|
4095
4073
|
}
|
4096
|
-
function
|
4097
|
-
return
|
4074
|
+
function Sr(e) {
|
4075
|
+
return Ne[e];
|
4098
4076
|
}
|
4099
|
-
function
|
4100
|
-
return
|
4101
|
-
const r =
|
4077
|
+
function Ti(e) {
|
4078
|
+
return je(e).map((t) => {
|
4079
|
+
const r = Sr(t);
|
4102
4080
|
return [t, r ? [...r] : []];
|
4103
4081
|
}).filter(([, t]) => t.length > 0);
|
4104
4082
|
}
|
4105
|
-
function
|
4106
|
-
return e == null ? !1 :
|
4083
|
+
function ft(e) {
|
4084
|
+
return e == null ? !1 : je(e).some(
|
4107
4085
|
(t) => {
|
4108
4086
|
var r;
|
4109
|
-
return (r =
|
4087
|
+
return (r = Sr(t)) == null ? void 0 : r.size;
|
4110
4088
|
}
|
4111
4089
|
);
|
4112
4090
|
}
|
4113
|
-
function
|
4091
|
+
function Hi(e, t) {
|
4114
4092
|
return Promise.all(
|
4115
|
-
t.map((n) => (
|
4116
|
-
).then((n) =>
|
4093
|
+
t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
|
4094
|
+
).then((n) => wr(e, ...n));
|
4117
4095
|
}
|
4118
4096
|
const xe = {};
|
4119
|
-
function
|
4120
|
-
if (!
|
4097
|
+
function Tr(e) {
|
4098
|
+
if (!ft(e))
|
4121
4099
|
return e in xe ? xe[e] : Promise.resolve();
|
4122
|
-
const t =
|
4100
|
+
const t = Ti(e);
|
4123
4101
|
return xe[e] = Promise.all(
|
4124
4102
|
t.map(
|
4125
|
-
([r, n]) =>
|
4103
|
+
([r, n]) => Hi(r, n)
|
4126
4104
|
)
|
4127
4105
|
).then(() => {
|
4128
|
-
if (
|
4129
|
-
return
|
4106
|
+
if (ft(e))
|
4107
|
+
return Tr(e);
|
4130
4108
|
delete xe[e];
|
4131
4109
|
}), xe[e];
|
4132
4110
|
}
|
4133
|
-
const
|
4111
|
+
const Ai = {
|
4134
4112
|
number: {
|
4135
4113
|
scientific: { notation: "scientific" },
|
4136
4114
|
engineering: { notation: "engineering" },
|
@@ -4159,176 +4137,176 @@ const Bi = {
|
|
4159
4137
|
timeZoneName: "short"
|
4160
4138
|
}
|
4161
4139
|
}
|
4162
|
-
},
|
4140
|
+
}, Pi = {
|
4163
4141
|
fallbackLocale: null,
|
4164
4142
|
loadingDelay: 200,
|
4165
|
-
formats:
|
4143
|
+
formats: Ai,
|
4166
4144
|
warnOnMissingMessages: !0,
|
4167
4145
|
handleMissingMessage: void 0,
|
4168
4146
|
ignoreTag: !0
|
4169
|
-
},
|
4170
|
-
function
|
4171
|
-
return
|
4147
|
+
}, Fi = Pi;
|
4148
|
+
function be() {
|
4149
|
+
return Fi;
|
4172
4150
|
}
|
4173
|
-
const
|
4174
|
-
var
|
4151
|
+
const qe = Ge(!1);
|
4152
|
+
var Ci = Object.defineProperty, Bi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
|
4175
4153
|
for (var r in t || (t = {}))
|
4176
|
-
|
4177
|
-
if (
|
4178
|
-
for (var r of
|
4179
|
-
|
4154
|
+
Ii.call(t, r) && Dt(e, r, t[r]);
|
4155
|
+
if (Rt)
|
4156
|
+
for (var r of Rt(t))
|
4157
|
+
Li.call(t, r) && Dt(e, r, t[r]);
|
4180
4158
|
return e;
|
4181
|
-
},
|
4182
|
-
let
|
4183
|
-
const
|
4184
|
-
function
|
4159
|
+
}, Mi = (e, t) => Bi(e, Oi(t));
|
4160
|
+
let dt;
|
4161
|
+
const Re = Ge(null);
|
4162
|
+
function Ut(e) {
|
4185
4163
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4186
4164
|
}
|
4187
|
-
function
|
4188
|
-
const r =
|
4189
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4165
|
+
function je(e, t = be().fallbackLocale) {
|
4166
|
+
const r = Ut(e);
|
4167
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
4190
4168
|
}
|
4191
|
-
function
|
4192
|
-
return
|
4169
|
+
function ie() {
|
4170
|
+
return dt ?? void 0;
|
4193
4171
|
}
|
4194
|
-
|
4195
|
-
|
4172
|
+
Re.subscribe((e) => {
|
4173
|
+
dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4196
4174
|
});
|
4197
|
-
const
|
4198
|
-
if (e &&
|
4199
|
-
const { loadingDelay: t } =
|
4175
|
+
const Ri = (e) => {
|
4176
|
+
if (e && wi(e) && ft(e)) {
|
4177
|
+
const { loadingDelay: t } = be();
|
4200
4178
|
let r;
|
4201
|
-
return typeof window < "u" &&
|
4202
|
-
() =>
|
4179
|
+
return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
|
4180
|
+
() => qe.set(!0),
|
4203
4181
|
t
|
4204
|
-
) :
|
4205
|
-
|
4182
|
+
) : qe.set(!0), Tr(e).then(() => {
|
4183
|
+
Re.set(e);
|
4206
4184
|
}).finally(() => {
|
4207
|
-
clearTimeout(r),
|
4185
|
+
clearTimeout(r), qe.set(!1);
|
4208
4186
|
});
|
4209
4187
|
}
|
4210
|
-
return
|
4211
|
-
},
|
4212
|
-
set:
|
4213
|
-
}),
|
4188
|
+
return Re.set(e);
|
4189
|
+
}, ne = Mi(Ni({}, Re), {
|
4190
|
+
set: Ri
|
4191
|
+
}), Ve = (e) => {
|
4214
4192
|
const t = /* @__PURE__ */ Object.create(null);
|
4215
4193
|
return (n) => {
|
4216
4194
|
const i = JSON.stringify(n);
|
4217
4195
|
return i in t ? t[i] : t[i] = e(n);
|
4218
4196
|
};
|
4219
4197
|
};
|
4220
|
-
var
|
4198
|
+
var Di = Object.defineProperty, De = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
|
4221
4199
|
for (var r in t || (t = {}))
|
4222
|
-
|
4223
|
-
if (
|
4224
|
-
for (var r of
|
4225
|
-
|
4200
|
+
Hr.call(t, r) && $t(e, r, t[r]);
|
4201
|
+
if (De)
|
4202
|
+
for (var r of De(t))
|
4203
|
+
Ar.call(t, r) && $t(e, r, t[r]);
|
4226
4204
|
return e;
|
4227
|
-
},
|
4205
|
+
}, ye = (e, t) => {
|
4228
4206
|
var r = {};
|
4229
4207
|
for (var n in e)
|
4230
|
-
|
4231
|
-
if (e != null &&
|
4232
|
-
for (var n of
|
4233
|
-
t.indexOf(n) < 0 &&
|
4208
|
+
Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4209
|
+
if (e != null && De)
|
4210
|
+
for (var n of De(e))
|
4211
|
+
t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
|
4234
4212
|
return r;
|
4235
4213
|
};
|
4236
4214
|
const He = (e, t) => {
|
4237
|
-
const { formats: r } =
|
4215
|
+
const { formats: r } = be();
|
4238
4216
|
if (e in r && t in r[e])
|
4239
4217
|
return r[e][t];
|
4240
4218
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4241
|
-
},
|
4219
|
+
}, Ui = Ve(
|
4242
4220
|
(e) => {
|
4243
|
-
var t = e, { locale: r, format: n } = t, i =
|
4221
|
+
var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
|
4244
4222
|
if (r == null)
|
4245
4223
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4246
4224
|
return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
|
4247
4225
|
}
|
4248
|
-
),
|
4226
|
+
), $i = Ve(
|
4249
4227
|
(e) => {
|
4250
|
-
var t = e, { locale: r, format: n } = t, i =
|
4228
|
+
var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
|
4251
4229
|
if (r == null)
|
4252
4230
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4253
4231
|
return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
|
4254
4232
|
}
|
4255
|
-
),
|
4233
|
+
), Gi = Ve(
|
4256
4234
|
(e) => {
|
4257
|
-
var t = e, { locale: r, format: n } = t, i =
|
4235
|
+
var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
|
4258
4236
|
if (r == null)
|
4259
4237
|
throw new Error(
|
4260
4238
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4261
4239
|
);
|
4262
4240
|
return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
|
4263
4241
|
}
|
4264
|
-
),
|
4242
|
+
), ki = (e = {}) => {
|
4265
4243
|
var t = e, {
|
4266
|
-
locale: r =
|
4267
|
-
} = t, n =
|
4244
|
+
locale: r = ie()
|
4245
|
+
} = t, n = ye(t, [
|
4268
4246
|
"locale"
|
4269
4247
|
]);
|
4270
|
-
return
|
4271
|
-
},
|
4248
|
+
return Ui(mt({ locale: r }, n));
|
4249
|
+
}, ji = (e = {}) => {
|
4272
4250
|
var t = e, {
|
4273
|
-
locale: r =
|
4274
|
-
} = t, n =
|
4251
|
+
locale: r = ie()
|
4252
|
+
} = t, n = ye(t, [
|
4275
4253
|
"locale"
|
4276
4254
|
]);
|
4277
|
-
return
|
4278
|
-
},
|
4255
|
+
return $i(mt({ locale: r }, n));
|
4256
|
+
}, Vi = (e = {}) => {
|
4279
4257
|
var t = e, {
|
4280
|
-
locale: r =
|
4281
|
-
} = t, n =
|
4258
|
+
locale: r = ie()
|
4259
|
+
} = t, n = ye(t, [
|
4282
4260
|
"locale"
|
4283
4261
|
]);
|
4284
|
-
return
|
4285
|
-
},
|
4262
|
+
return Gi(mt({ locale: r }, n));
|
4263
|
+
}, Xi = Ve(
|
4286
4264
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4287
|
-
(e, t =
|
4288
|
-
ignoreTag:
|
4265
|
+
(e, t = ie()) => new vi(e, t, be().formats, {
|
4266
|
+
ignoreTag: be().ignoreTag
|
4289
4267
|
})
|
4290
|
-
),
|
4268
|
+
), Wi = (e, t = {}) => {
|
4291
4269
|
var r, n, i, o;
|
4292
4270
|
let s = t;
|
4293
4271
|
typeof e == "object" && (s = e, e = s.id);
|
4294
4272
|
const {
|
4295
4273
|
values: a,
|
4296
|
-
locale: h =
|
4274
|
+
locale: h = ie(),
|
4297
4275
|
default: l
|
4298
4276
|
} = s;
|
4299
4277
|
if (h == null)
|
4300
4278
|
throw new Error(
|
4301
4279
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4302
4280
|
);
|
4303
|
-
let u =
|
4281
|
+
let u = xr(e, h);
|
4304
4282
|
if (!u)
|
4305
|
-
u = (o = (i = (n = (r =
|
4283
|
+
u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
4306
4284
|
else if (typeof u != "string")
|
4307
4285
|
return console.warn(
|
4308
4286
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
4309
4287
|
), u;
|
4310
4288
|
if (!a)
|
4311
4289
|
return u;
|
4312
|
-
let
|
4290
|
+
let f = u;
|
4313
4291
|
try {
|
4314
|
-
|
4292
|
+
f = Xi(u, h).format(a);
|
4315
4293
|
} catch (c) {
|
4316
4294
|
c instanceof Error && console.warn(
|
4317
4295
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
4318
4296
|
c.message
|
4319
4297
|
);
|
4320
4298
|
}
|
4321
|
-
return
|
4322
|
-
},
|
4323
|
-
|
4324
|
-
|
4325
|
-
|
4326
|
-
|
4327
|
-
window.emWidgets = { topic:
|
4328
|
-
const
|
4329
|
-
function
|
4299
|
+
return f;
|
4300
|
+
}, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ji(t).format(e), Ji = (e, t) => ki(t).format(e), Qi = (e, t = ie()) => xr(e, t), qi = ge([ne, ve], () => Wi);
|
4301
|
+
ge([ne], () => zi);
|
4302
|
+
ge([ne], () => Zi);
|
4303
|
+
ge([ne], () => Ji);
|
4304
|
+
ge([ne, ve], () => Qi);
|
4305
|
+
window.emWidgets = { topic: hn };
|
4306
|
+
const Yi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4307
|
+
function Eo(e, t) {
|
4330
4308
|
const r = window.navigator.userAgent;
|
4331
|
-
return
|
4309
|
+
return Yi(r) ? t = e.filter((n) => {
|
4332
4310
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
4333
4311
|
return n;
|
4334
4312
|
}) : t = e.filter((n) => {
|
@@ -4336,13 +4314,13 @@ function Ho(e, t) {
|
|
4336
4314
|
return n;
|
4337
4315
|
}), t;
|
4338
4316
|
}
|
4339
|
-
function
|
4317
|
+
function eo(e, t) {
|
4340
4318
|
if (e) {
|
4341
4319
|
const r = document.createElement("style");
|
4342
4320
|
r.innerHTML = t, e.appendChild(r);
|
4343
4321
|
}
|
4344
4322
|
}
|
4345
|
-
function
|
4323
|
+
function to(e, t) {
|
4346
4324
|
const r = new URL(t);
|
4347
4325
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4348
4326
|
const i = document.createElement("style");
|
@@ -4351,7 +4329,7 @@ function oo(e, t) {
|
|
4351
4329
|
console.error("There was an error while trying to load client styling from URL", n);
|
4352
4330
|
});
|
4353
4331
|
}
|
4354
|
-
function
|
4332
|
+
function ro(e, t, r) {
|
4355
4333
|
if (window.emMessageBus) {
|
4356
4334
|
const n = document.createElement("style");
|
4357
4335
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4359,15 +4337,15 @@ function so(e, t, r) {
|
|
4359
4337
|
});
|
4360
4338
|
}
|
4361
4339
|
}
|
4362
|
-
function
|
4363
|
-
|
4364
|
-
r == null && (ve.set(t),
|
4340
|
+
function no({ withLocale: e, translations: t }) {
|
4341
|
+
ne.subscribe((r) => {
|
4342
|
+
r == null && (ve.set(t), ne.set(e));
|
4365
4343
|
});
|
4366
4344
|
}
|
4367
|
-
function
|
4368
|
-
|
4345
|
+
function Gt(e, t) {
|
4346
|
+
wr(e, t);
|
4369
4347
|
}
|
4370
|
-
const
|
4348
|
+
const kt = {
|
4371
4349
|
en: {
|
4372
4350
|
providers: "Providers:",
|
4373
4351
|
filterby: "Filter by:",
|
@@ -4477,123 +4455,123 @@ const Wt = {
|
|
4477
4455
|
clear: "Clear all"
|
4478
4456
|
}
|
4479
4457
|
};
|
4480
|
-
function
|
4481
|
-
|
4458
|
+
function io(e) {
|
4459
|
+
Br(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
4482
4460
|
}
|
4483
|
-
function
|
4461
|
+
function jt(e, t, r) {
|
4484
4462
|
const n = e.slice();
|
4485
4463
|
return n[36] = t[r], n[37] = t, n[38] = r, n;
|
4486
4464
|
}
|
4487
|
-
function
|
4465
|
+
function oo(e) {
|
4488
4466
|
let t, r, n, i, o, s, a, h, l = (
|
4489
4467
|
/*$_*/
|
4490
4468
|
e[11]("filterby") + ""
|
4491
|
-
), u,
|
4469
|
+
), u, f, c, p, v = (
|
4492
4470
|
/*$_*/
|
4493
4471
|
e[11]("providers") + ""
|
4494
|
-
), g,
|
4472
|
+
), g, P, w, y, x, L, N, R, S, O, M, V, z, K = (
|
4495
4473
|
/*$_*/
|
4496
4474
|
e[11]("clear") + ""
|
4497
|
-
),
|
4498
|
-
function Pe(
|
4475
|
+
), oe, se, ee, te, _e, Ae;
|
4476
|
+
function Pe(b, C) {
|
4499
4477
|
return (
|
4500
4478
|
/*fullSelection*/
|
4501
|
-
|
4479
|
+
b[7] ? lo : ao
|
4502
4480
|
);
|
4503
4481
|
}
|
4504
|
-
let ae = Pe(e),
|
4482
|
+
let ae = Pe(e), $ = ae(e), d = _t(
|
4505
4483
|
/*vendorArray*/
|
4506
4484
|
e[5]
|
4507
|
-
),
|
4508
|
-
for (let
|
4509
|
-
|
4485
|
+
), H = [];
|
4486
|
+
for (let b = 0; b < d.length; b += 1)
|
4487
|
+
H[b] = Vt(jt(e, d, b));
|
4510
4488
|
return {
|
4511
4489
|
c() {
|
4512
|
-
t =
|
4513
|
-
for (let
|
4514
|
-
|
4515
|
-
|
4516
|
-
(e[4] ? "TriangleActive" : "")),
|
4517
|
-
(e[4] ? "FilterSelectorOpen" : "")),
|
4490
|
+
t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = X(), a = F("div"), h = F("span"), u = G(l), f = X(), c = F("div"), p = F("span"), g = G(v), P = X(), $.c(), w = X(), y = F("span"), x = Ee("svg"), L = Ee("path"), S = X(), O = F("div"), M = F("ul");
|
4491
|
+
for (let b = 0; b < H.length; b += 1)
|
4492
|
+
H[b].c();
|
4493
|
+
V = X(), z = F("button"), oe = G(K), m(o, "id", "noun_filter_736223"), m(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(h, "class", "FilterName"), m(c, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(L, "id", "arrow"), m(L, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(L, "transform", "translate(-274.511 -441.088)"), m(L, "fill", "#d1d1d1"), m(x, "xmlns", "http://www.w3.org/2000/svg"), m(x, "width", "14"), m(x, "height", "6.835"), m(x, "viewBox", "0 0 14 6.835"), m(y, "class", N = "TriangleInactive " + /*isFilterActive*/
|
4494
|
+
(e[4] ? "TriangleActive" : "")), m(r, "class", R = "FilterSelector " + /*isFilterActive*/
|
4495
|
+
(e[4] ? "FilterSelectorOpen" : "")), m(M, "class", "FilterDropdown"), m(z, "class", "ClearFilters"), z.disabled = se = /*fullSelection*/
|
4518
4496
|
e[7] && /*selectedVendorArray*/
|
4519
4497
|
e[6].length != /*vendorArray*/
|
4520
|
-
e[5].length,
|
4521
|
-
(e[4] ? "FilterOpen" : "")),
|
4498
|
+
e[5].length, m(O, "class", ee = "FilterDropdownContainer " + /*isFilterActive*/
|
4499
|
+
(e[4] ? "FilterOpen" : "")), m(t, "class", te = "FilterContainer " + /*addfilterselector*/
|
4522
4500
|
(e[0] == "true" && /*addsortingselector*/
|
4523
4501
|
e[1] == "true" ? "FilerContainerSplit" : ""));
|
4524
4502
|
},
|
4525
|
-
m(
|
4526
|
-
|
4527
|
-
for (let
|
4528
|
-
|
4529
|
-
_(
|
4530
|
-
|
4503
|
+
m(b, C) {
|
4504
|
+
W(b, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, f), _(a, c), _(c, p), _(p, g), _(c, P), $.m(c, null), _(r, w), _(r, y), _(y, x), _(x, L), _(t, S), _(t, O), _(O, M);
|
4505
|
+
for (let I = 0; I < H.length; I += 1)
|
4506
|
+
H[I] && H[I].m(M, null);
|
4507
|
+
_(O, V), _(O, z), _(z, oe), _e || (Ae = [
|
4508
|
+
Me(
|
4531
4509
|
r,
|
4532
4510
|
"click",
|
4533
4511
|
/*click_handler*/
|
4534
4512
|
e[23]
|
4535
4513
|
),
|
4536
|
-
|
4537
|
-
|
4514
|
+
Me(
|
4515
|
+
z,
|
4538
4516
|
"click",
|
4539
4517
|
/*click_handler_2*/
|
4540
4518
|
e[26]
|
4541
4519
|
)
|
4542
|
-
],
|
4520
|
+
], _e = !0);
|
4543
4521
|
},
|
4544
|
-
p(
|
4545
|
-
if (
|
4522
|
+
p(b, C) {
|
4523
|
+
if (C[0] & /*$_*/
|
4546
4524
|
2048 && l !== (l = /*$_*/
|
4547
|
-
|
4548
|
-
2048 &&
|
4549
|
-
|
4525
|
+
b[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
|
4526
|
+
2048 && v !== (v = /*$_*/
|
4527
|
+
b[11]("providers") + "") && q(g, v), ae === (ae = Pe(b)) && $ ? $.p(b, C) : ($.d(1), $ = ae(b), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
|
4550
4528
|
16 && N !== (N = "TriangleInactive " + /*isFilterActive*/
|
4551
|
-
(
|
4552
|
-
16 &&
|
4553
|
-
(
|
4529
|
+
(b[4] ? "TriangleActive" : "")) && m(y, "class", N), C[0] & /*isFilterActive*/
|
4530
|
+
16 && R !== (R = "FilterSelector " + /*isFilterActive*/
|
4531
|
+
(b[4] ? "FilterSelectorOpen" : "")) && m(r, "class", R), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
4554
4532
|
8228) {
|
4555
|
-
|
4533
|
+
d = _t(
|
4556
4534
|
/*vendorArray*/
|
4557
|
-
|
4535
|
+
b[5]
|
4558
4536
|
);
|
4559
|
-
let
|
4560
|
-
for (
|
4561
|
-
const
|
4562
|
-
|
4537
|
+
let I;
|
4538
|
+
for (I = 0; I < d.length; I += 1) {
|
4539
|
+
const re = jt(b, d, I);
|
4540
|
+
H[I] ? H[I].p(re, C) : (H[I] = Vt(re), H[I].c(), H[I].m(M, null));
|
4563
4541
|
}
|
4564
|
-
for (;
|
4565
|
-
|
4566
|
-
|
4542
|
+
for (; I < H.length; I += 1)
|
4543
|
+
H[I].d(1);
|
4544
|
+
H.length = d.length;
|
4567
4545
|
}
|
4568
|
-
|
4569
|
-
2048 &&
|
4570
|
-
|
4571
|
-
224 &&
|
4572
|
-
|
4573
|
-
|
4574
|
-
|
4575
|
-
16 &&
|
4576
|
-
(
|
4577
|
-
3 &&
|
4578
|
-
(
|
4579
|
-
|
4546
|
+
C[0] & /*$_*/
|
4547
|
+
2048 && K !== (K = /*$_*/
|
4548
|
+
b[11]("clear") + "") && q(oe, K), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
4549
|
+
224 && se !== (se = /*fullSelection*/
|
4550
|
+
b[7] && /*selectedVendorArray*/
|
4551
|
+
b[6].length != /*vendorArray*/
|
4552
|
+
b[5].length) && (z.disabled = se), C[0] & /*isFilterActive*/
|
4553
|
+
16 && ee !== (ee = "FilterDropdownContainer " + /*isFilterActive*/
|
4554
|
+
(b[4] ? "FilterOpen" : "")) && m(O, "class", ee), C[0] & /*addfilterselector, addsortingselector*/
|
4555
|
+
3 && te !== (te = "FilterContainer " + /*addfilterselector*/
|
4556
|
+
(b[0] == "true" && /*addsortingselector*/
|
4557
|
+
b[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", te);
|
4580
4558
|
},
|
4581
|
-
d(
|
4582
|
-
|
4559
|
+
d(b) {
|
4560
|
+
b && j(t), $.d(), Lr(H, b), _e = !1, Y(Ae);
|
4583
4561
|
}
|
4584
4562
|
};
|
4585
4563
|
}
|
4586
|
-
function
|
4564
|
+
function so(e) {
|
4587
4565
|
let t, r = (
|
4588
4566
|
/*$_*/
|
4589
4567
|
e[11]("500") + ""
|
4590
4568
|
), n;
|
4591
4569
|
return {
|
4592
4570
|
c() {
|
4593
|
-
t =
|
4571
|
+
t = F("p"), n = G(r), m(t, "class", "SearchLoading");
|
4594
4572
|
},
|
4595
4573
|
m(i, o) {
|
4596
|
-
|
4574
|
+
W(i, t, o), _(t, n);
|
4597
4575
|
},
|
4598
4576
|
p(i, o) {
|
4599
4577
|
o[0] & /*$_*/
|
@@ -4601,21 +4579,21 @@ function ho(e) {
|
|
4601
4579
|
i[11]("500") + "") && q(n, r);
|
4602
4580
|
},
|
4603
4581
|
d(i) {
|
4604
|
-
i &&
|
4582
|
+
i && j(t);
|
4605
4583
|
}
|
4606
4584
|
};
|
4607
4585
|
}
|
4608
|
-
function
|
4586
|
+
function ao(e) {
|
4609
4587
|
let t, r;
|
4610
4588
|
return {
|
4611
4589
|
c() {
|
4612
|
-
t =
|
4590
|
+
t = F("span"), r = G(
|
4613
4591
|
/*selectionNumber*/
|
4614
4592
|
e[8]
|
4615
|
-
),
|
4593
|
+
), m(t, "class", "FilterCounter");
|
4616
4594
|
},
|
4617
4595
|
m(n, i) {
|
4618
|
-
|
4596
|
+
W(n, t, i), _(t, r);
|
4619
4597
|
},
|
4620
4598
|
p(n, i) {
|
4621
4599
|
i[0] & /*selectionNumber*/
|
@@ -4626,21 +4604,21 @@ function co(e) {
|
|
4626
4604
|
);
|
4627
4605
|
},
|
4628
4606
|
d(n) {
|
4629
|
-
n &&
|
4607
|
+
n && j(t);
|
4630
4608
|
}
|
4631
4609
|
};
|
4632
4610
|
}
|
4633
|
-
function
|
4611
|
+
function lo(e) {
|
4634
4612
|
let t, r = (
|
4635
4613
|
/*$_*/
|
4636
4614
|
e[11]("all") + ""
|
4637
4615
|
), n;
|
4638
4616
|
return {
|
4639
4617
|
c() {
|
4640
|
-
t =
|
4618
|
+
t = F("span"), n = G(r), m(t, "class", "FilterCounter");
|
4641
4619
|
},
|
4642
4620
|
m(i, o) {
|
4643
|
-
|
4621
|
+
W(i, t, o), _(t, n);
|
4644
4622
|
},
|
4645
4623
|
p(i, o) {
|
4646
4624
|
o[0] & /*$_*/
|
@@ -4648,31 +4626,31 @@ function fo(e) {
|
|
4648
4626
|
i[11]("all") + "") && q(n, r);
|
4649
4627
|
},
|
4650
4628
|
d(i) {
|
4651
|
-
i &&
|
4629
|
+
i && j(t);
|
4652
4630
|
}
|
4653
4631
|
};
|
4654
4632
|
}
|
4655
|
-
function
|
4633
|
+
function uo(e) {
|
4656
4634
|
let t, r;
|
4657
4635
|
return {
|
4658
4636
|
c() {
|
4659
|
-
t =
|
4660
|
-
e[36].logo) ||
|
4637
|
+
t = F("img"), gt(t.src, r = /*vendor*/
|
4638
|
+
e[36].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
|
4661
4639
|
},
|
4662
4640
|
m(n, i) {
|
4663
|
-
|
4641
|
+
W(n, t, i);
|
4664
4642
|
},
|
4665
4643
|
p(n, i) {
|
4666
4644
|
i[0] & /*vendorArray*/
|
4667
|
-
32 && !
|
4668
|
-
n[36].logo) &&
|
4645
|
+
32 && !gt(t.src, r = /*vendor*/
|
4646
|
+
n[36].logo) && m(t, "src", r);
|
4669
4647
|
},
|
4670
4648
|
d(n) {
|
4671
|
-
n &&
|
4649
|
+
n && j(t);
|
4672
4650
|
}
|
4673
4651
|
};
|
4674
4652
|
}
|
4675
|
-
function
|
4653
|
+
function ho(e) {
|
4676
4654
|
let t, r, n = (
|
4677
4655
|
/*vendor*/
|
4678
4656
|
e[36].name + ""
|
@@ -4682,26 +4660,26 @@ function mo(e) {
|
|
4682
4660
|
), l, u;
|
4683
4661
|
return {
|
4684
4662
|
c() {
|
4685
|
-
t =
|
4663
|
+
t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(h), u = G(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
|
4686
4664
|
},
|
4687
|
-
m(
|
4688
|
-
|
4665
|
+
m(f, c) {
|
4666
|
+
W(f, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
|
4689
4667
|
},
|
4690
|
-
p(
|
4668
|
+
p(f, c) {
|
4691
4669
|
c[0] & /*vendorArray*/
|
4692
4670
|
32 && n !== (n = /*vendor*/
|
4693
|
-
|
4671
|
+
f[36].name + "") && q(i, n), c[0] & /*vendorArray*/
|
4694
4672
|
32 && h !== (h = /*vendor*/
|
4695
|
-
|
4673
|
+
f[36].games.total + "") && q(l, h);
|
4696
4674
|
},
|
4697
|
-
d(
|
4698
|
-
|
4675
|
+
d(f) {
|
4676
|
+
f && j(t);
|
4699
4677
|
}
|
4700
4678
|
};
|
4701
4679
|
}
|
4702
|
-
function
|
4703
|
-
let t, r, n, i, o, s, a, h, l, u,
|
4704
|
-
function
|
4680
|
+
function Vt(e) {
|
4681
|
+
let t, r, n, i, o, s, a, h, l, u, f, c;
|
4682
|
+
function p() {
|
4705
4683
|
e[24].call(
|
4706
4684
|
n,
|
4707
4685
|
/*each_value*/
|
@@ -4710,7 +4688,7 @@ function Zt(e) {
|
|
4710
4688
|
e[38]
|
4711
4689
|
);
|
4712
4690
|
}
|
4713
|
-
function
|
4691
|
+
function v() {
|
4714
4692
|
return (
|
4715
4693
|
/*click_handler_1*/
|
4716
4694
|
e[25](
|
@@ -4719,164 +4697,164 @@ function Zt(e) {
|
|
4719
4697
|
)
|
4720
4698
|
);
|
4721
4699
|
}
|
4722
|
-
function g(
|
4700
|
+
function g(y, x) {
|
4723
4701
|
if (
|
4724
4702
|
/*filterbylogo*/
|
4725
|
-
|
4703
|
+
y[2] === "false"
|
4726
4704
|
)
|
4727
|
-
return
|
4705
|
+
return ho;
|
4728
4706
|
if (
|
4729
4707
|
/*filterbylogo*/
|
4730
|
-
|
4708
|
+
y[2] === "true"
|
4731
4709
|
)
|
4732
|
-
return
|
4710
|
+
return uo;
|
4733
4711
|
}
|
4734
|
-
let
|
4712
|
+
let P = g(e), w = P && P(e);
|
4735
4713
|
return {
|
4736
4714
|
c() {
|
4737
|
-
t =
|
4738
|
-
e[36].name,
|
4715
|
+
t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), w && w.c(), h = X(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
4716
|
+
e[36].name, vt(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
|
4739
4717
|
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
|
4740
4718
|
e[36].name;
|
4741
4719
|
},
|
4742
|
-
m(
|
4743
|
-
|
4744
|
-
e[36].isFilterSelected, _(r, o), _(r, s), _(r, a), w && w.m(r, null), _(t, h),
|
4745
|
-
|
4746
|
-
|
4747
|
-
],
|
4720
|
+
m(y, x) {
|
4721
|
+
W(y, t, x), _(t, r), _(r, n), n.checked = /*vendor*/
|
4722
|
+
e[36].isFilterSelected, _(r, o), _(r, s), _(r, a), w && w.m(r, null), _(t, h), f || (c = [
|
4723
|
+
Me(n, "change", p),
|
4724
|
+
Me(n, "click", v)
|
4725
|
+
], f = !0);
|
4748
4726
|
},
|
4749
|
-
p(
|
4750
|
-
e =
|
4727
|
+
p(y, x) {
|
4728
|
+
e = y, x[0] & /*vendorArray*/
|
4751
4729
|
32 && i !== (i = /*vendor*/
|
4752
|
-
e[36].name) && (n.__value = i,
|
4730
|
+
e[36].name) && (n.__value = i, vt(n, n.__value)), x[0] & /*vendorArray*/
|
4753
4731
|
32 && (n.checked = /*vendor*/
|
4754
|
-
e[36].isFilterSelected),
|
4732
|
+
e[36].isFilterSelected), P === (P = g(e)) && w ? w.p(e, x) : (w && w.d(1), w = P && P(e), w && (w.c(), w.m(r, null))), x[0] & /*filterbylogo*/
|
4755
4733
|
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
4756
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")) &&
|
4734
|
+
(e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), x[0] & /*vendorArray*/
|
4757
4735
|
32 && u !== (u = /*vendor*/
|
4758
4736
|
e[36].name) && (t.value = u);
|
4759
4737
|
},
|
4760
|
-
d(
|
4761
|
-
|
4738
|
+
d(y) {
|
4739
|
+
y && j(t), w && w.d(), f = !1, Y(c);
|
4762
4740
|
}
|
4763
4741
|
};
|
4764
4742
|
}
|
4765
|
-
function
|
4743
|
+
function co(e) {
|
4766
4744
|
let t;
|
4767
4745
|
function r(o, s) {
|
4768
4746
|
if (
|
4769
4747
|
/*hasErrors*/
|
4770
4748
|
o[10]
|
4771
4749
|
)
|
4772
|
-
return
|
4750
|
+
return so;
|
4773
4751
|
if (!/*isLoading*/
|
4774
4752
|
o[9])
|
4775
|
-
return
|
4753
|
+
return oo;
|
4776
4754
|
}
|
4777
4755
|
let n = r(e), i = n && n(e);
|
4778
4756
|
return {
|
4779
4757
|
c() {
|
4780
|
-
t =
|
4758
|
+
t = F("div"), i && i.c();
|
4781
4759
|
},
|
4782
4760
|
m(o, s) {
|
4783
|
-
|
4761
|
+
W(o, t, s), i && i.m(t, null), e[27](t);
|
4784
4762
|
},
|
4785
4763
|
p(o, s) {
|
4786
4764
|
n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
4787
4765
|
},
|
4788
|
-
i:
|
4789
|
-
o:
|
4766
|
+
i: k,
|
4767
|
+
o: k,
|
4790
4768
|
d(o) {
|
4791
|
-
o &&
|
4769
|
+
o && j(t), i && i.d(), e[27](null);
|
4792
4770
|
}
|
4793
4771
|
};
|
4794
4772
|
}
|
4795
|
-
function
|
4773
|
+
function fo(e, t, r) {
|
4796
4774
|
let n;
|
4797
|
-
|
4798
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector:
|
4799
|
-
|
4800
|
-
const
|
4801
|
-
fetch(a).then((
|
4802
|
-
Object.keys(
|
4803
|
-
|
4775
|
+
Cr(e, qi, (d) => r(11, n = d));
|
4776
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: f = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: v } = t, g = !1, P = window.navigator.userAgent, w = [], y = [], x = {}, L = !1, N = 0, R = !0, S, O = !1;
|
4777
|
+
no({ withLocale: "en", translations: {} });
|
4778
|
+
const M = () => {
|
4779
|
+
fetch(a).then((H) => H.json()).then((H) => {
|
4780
|
+
Object.keys(H).forEach((b) => {
|
4781
|
+
Gt(b, H[b]);
|
4804
4782
|
});
|
4805
|
-
}).catch((
|
4806
|
-
console.log(
|
4783
|
+
}).catch((H) => {
|
4784
|
+
console.log(H);
|
4807
4785
|
});
|
4808
4786
|
};
|
4809
|
-
Object.keys(
|
4810
|
-
|
4787
|
+
Object.keys(kt).forEach((d) => {
|
4788
|
+
Gt(d, kt[d]);
|
4811
4789
|
}), x[u] && (x = { [u]: [] });
|
4812
|
-
const
|
4790
|
+
const V = () => {
|
4813
4791
|
r(4, g = !g), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
4814
|
-
},
|
4815
|
-
fetch(
|
4816
|
-
|
4817
|
-
let
|
4818
|
-
|
4819
|
-
|
4820
|
-
}), r(5, w =
|
4821
|
-
}).catch((
|
4822
|
-
console.error(
|
4792
|
+
}, z = (d) => (r(9, R = !0), new Promise((H, b) => {
|
4793
|
+
fetch(d).then((C) => C.json()).then((C) => {
|
4794
|
+
C = C.items, H(C.items), r(6, y = []);
|
4795
|
+
let I = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
4796
|
+
C.forEach((re) => {
|
4797
|
+
I || (I = { currentCategoryId: [] }), I[u]?.indexOf(re.id) >= 0 ? (re.isFilterSelected = !0, y.push(re)) : re.isFilterSelected = !1;
|
4798
|
+
}), r(5, w = C), oe();
|
4799
|
+
}).catch((C) => {
|
4800
|
+
console.error(C), r(10, O = !0), b(C);
|
4823
4801
|
}).finally(() => {
|
4824
|
-
r(9,
|
4802
|
+
r(9, R = !1);
|
4825
4803
|
});
|
4826
|
-
})),
|
4827
|
-
let
|
4828
|
-
|
4829
|
-
[u]:
|
4830
|
-
})) : (
|
4831
|
-
}, K = () => {
|
4832
|
-
r(7, O = v.length === w.length || v.length == 0), r(8, N = v.length);
|
4804
|
+
})), K = (d) => {
|
4805
|
+
let H = localStorage.getItem("vendorFiltersByCategory");
|
4806
|
+
d.isFilterSelected = !d.isFilterSelected, !y.length || y.filter((b) => b.name === d.name).length == 0 ? y.push(d) : r(6, y = y.filter((b) => b.name !== d.name)), H == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
|
4807
|
+
[u]: y.map((b) => b.id)
|
4808
|
+
})) : (H = JSON.parse(H), H[u] = y.map((b) => b.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), oe();
|
4833
4809
|
}, oe = () => {
|
4834
|
-
|
4835
|
-
|
4810
|
+
r(7, L = y.length === w.length || y.length == 0), r(8, N = y.length);
|
4811
|
+
}, se = () => {
|
4812
|
+
const d = new URL(`${i}/v1/casino/vendors`);
|
4813
|
+
r(4, g = !1), d.searchParams.append("fields", "id,name,logo,subVendors,games"), d.searchParams.append("language", s), d.searchParams.append("datasource", o), d.searchParams.append("platform", Ki(P)), (u.match(/\$/g) || []).length > 1 ? (d.searchParams.append("filter", `games(subGroups=${u})`), d.searchParams.append("subVendors", `games(subGroups=${u})`)) : d.searchParams.append("filter", `games(groups=${u})`), z(d);
|
4836
4814
|
}, ee = () => {
|
4837
|
-
r(6,
|
4838
|
-
[u]:
|
4839
|
-
})), w.forEach((
|
4840
|
-
},
|
4841
|
-
|
4815
|
+
r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
|
4816
|
+
[u]: y.map((d) => d.id)
|
4817
|
+
})), w.forEach((d) => d.isFilterSelected = !1), r(5, w), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, g = !1);
|
4818
|
+
}, te = (d) => {
|
4819
|
+
d.data.type == "SortingOpened" && r(4, g = !1);
|
4842
4820
|
};
|
4843
|
-
|
4844
|
-
window.
|
4821
|
+
Dr(() => (window.addEventListener("message", te, !1), () => {
|
4822
|
+
window.removeEventListener("message", te);
|
4845
4823
|
}));
|
4846
|
-
const
|
4847
|
-
function
|
4848
|
-
|
4824
|
+
const _e = () => V();
|
4825
|
+
function Ae(d, H) {
|
4826
|
+
d[H].isFilterSelected = this.checked, r(5, w);
|
4849
4827
|
}
|
4850
|
-
const
|
4851
|
-
function
|
4852
|
-
|
4853
|
-
S =
|
4828
|
+
const Pe = (d) => K(d), ae = () => ee();
|
4829
|
+
function $(d) {
|
4830
|
+
Ye[d ? "unshift" : "push"](() => {
|
4831
|
+
S = d, r(3, S);
|
4854
4832
|
});
|
4855
4833
|
}
|
4856
|
-
return e.$$set = (
|
4857
|
-
"endpoint" in
|
4834
|
+
return e.$$set = (d) => {
|
4835
|
+
"endpoint" in d && r(15, i = d.endpoint), "datasource" in d && r(16, o = d.datasource), "lang" in d && r(17, s = d.lang), "translationurl" in d && r(18, a = d.translationurl), "clientstyling" in d && r(19, h = d.clientstyling), "clientstylingurl" in d && r(20, l = d.clientstylingurl), "categoryid" in d && r(21, u = d.categoryid), "addfilterselector" in d && r(0, f = d.addfilterselector), "addsortingselector" in d && r(1, c = d.addsortingselector), "filterbylogo" in d && r(2, p = d.filterbylogo), "mbsource" in d && r(22, v = d.mbsource);
|
4858
4836
|
}, e.$$.update = () => {
|
4859
4837
|
e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
4860
|
-
2195460 && i && o && u &&
|
4861
|
-
524296 && h && S &&
|
4862
|
-
1048584 && l && S &&
|
4863
|
-
4194312 && S &&
|
4864
|
-
262144 && a &&
|
4838
|
+
2195460 && i && o && u && p && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4839
|
+
524296 && h && S && eo(S, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4840
|
+
1048584 && l && S && to(S, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4841
|
+
4194312 && S && ro(S, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4842
|
+
262144 && a && M();
|
4865
4843
|
}, [
|
4866
|
-
|
4844
|
+
f,
|
4867
4845
|
c,
|
4868
|
-
|
4846
|
+
p,
|
4869
4847
|
S,
|
4870
4848
|
g,
|
4871
4849
|
w,
|
4872
|
-
|
4873
|
-
|
4850
|
+
y,
|
4851
|
+
L,
|
4874
4852
|
N,
|
4875
|
-
|
4876
|
-
|
4853
|
+
R,
|
4854
|
+
O,
|
4877
4855
|
n,
|
4878
|
-
|
4879
|
-
|
4856
|
+
V,
|
4857
|
+
K,
|
4880
4858
|
ee,
|
4881
4859
|
i,
|
4882
4860
|
o,
|
@@ -4885,22 +4863,22 @@ function go(e, t, r) {
|
|
4885
4863
|
h,
|
4886
4864
|
l,
|
4887
4865
|
u,
|
4888
|
-
|
4866
|
+
v,
|
4867
|
+
_e,
|
4889
4868
|
Ae,
|
4890
4869
|
Pe,
|
4891
4870
|
ae,
|
4892
|
-
|
4893
|
-
J
|
4871
|
+
$
|
4894
4872
|
];
|
4895
4873
|
}
|
4896
|
-
class
|
4874
|
+
class Pr extends zr {
|
4897
4875
|
constructor(t) {
|
4898
|
-
super(),
|
4876
|
+
super(), Xr(
|
4899
4877
|
this,
|
4900
4878
|
t,
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4879
|
+
fo,
|
4880
|
+
co,
|
4881
|
+
Wt,
|
4904
4882
|
{
|
4905
4883
|
endpoint: 15,
|
4906
4884
|
datasource: 16,
|
@@ -4914,7 +4892,7 @@ class Or extends Yr {
|
|
4914
4892
|
filterbylogo: 2,
|
4915
4893
|
mbsource: 22
|
4916
4894
|
},
|
4917
|
-
|
4895
|
+
io,
|
4918
4896
|
[-1, -1]
|
4919
4897
|
);
|
4920
4898
|
}
|
@@ -4922,115 +4900,115 @@ class Or extends Yr {
|
|
4922
4900
|
return this.$$.ctx[15];
|
4923
4901
|
}
|
4924
4902
|
set endpoint(t) {
|
4925
|
-
this.$$set({ endpoint: t }),
|
4903
|
+
this.$$set({ endpoint: t }), U();
|
4926
4904
|
}
|
4927
4905
|
get datasource() {
|
4928
4906
|
return this.$$.ctx[16];
|
4929
4907
|
}
|
4930
4908
|
set datasource(t) {
|
4931
|
-
this.$$set({ datasource: t }),
|
4909
|
+
this.$$set({ datasource: t }), U();
|
4932
4910
|
}
|
4933
4911
|
get lang() {
|
4934
4912
|
return this.$$.ctx[17];
|
4935
4913
|
}
|
4936
4914
|
set lang(t) {
|
4937
|
-
this.$$set({ lang: t }),
|
4915
|
+
this.$$set({ lang: t }), U();
|
4938
4916
|
}
|
4939
4917
|
get translationurl() {
|
4940
4918
|
return this.$$.ctx[18];
|
4941
4919
|
}
|
4942
4920
|
set translationurl(t) {
|
4943
|
-
this.$$set({ translationurl: t }),
|
4921
|
+
this.$$set({ translationurl: t }), U();
|
4944
4922
|
}
|
4945
4923
|
get clientstyling() {
|
4946
4924
|
return this.$$.ctx[19];
|
4947
4925
|
}
|
4948
4926
|
set clientstyling(t) {
|
4949
|
-
this.$$set({ clientstyling: t }),
|
4927
|
+
this.$$set({ clientstyling: t }), U();
|
4950
4928
|
}
|
4951
4929
|
get clientstylingurl() {
|
4952
4930
|
return this.$$.ctx[20];
|
4953
4931
|
}
|
4954
4932
|
set clientstylingurl(t) {
|
4955
|
-
this.$$set({ clientstylingurl: t }),
|
4933
|
+
this.$$set({ clientstylingurl: t }), U();
|
4956
4934
|
}
|
4957
4935
|
get categoryid() {
|
4958
4936
|
return this.$$.ctx[21];
|
4959
4937
|
}
|
4960
4938
|
set categoryid(t) {
|
4961
|
-
this.$$set({ categoryid: t }),
|
4939
|
+
this.$$set({ categoryid: t }), U();
|
4962
4940
|
}
|
4963
4941
|
get addfilterselector() {
|
4964
4942
|
return this.$$.ctx[0];
|
4965
4943
|
}
|
4966
4944
|
set addfilterselector(t) {
|
4967
|
-
this.$$set({ addfilterselector: t }),
|
4945
|
+
this.$$set({ addfilterselector: t }), U();
|
4968
4946
|
}
|
4969
4947
|
get addsortingselector() {
|
4970
4948
|
return this.$$.ctx[1];
|
4971
4949
|
}
|
4972
4950
|
set addsortingselector(t) {
|
4973
|
-
this.$$set({ addsortingselector: t }),
|
4951
|
+
this.$$set({ addsortingselector: t }), U();
|
4974
4952
|
}
|
4975
4953
|
get filterbylogo() {
|
4976
4954
|
return this.$$.ctx[2];
|
4977
4955
|
}
|
4978
4956
|
set filterbylogo(t) {
|
4979
|
-
this.$$set({ filterbylogo: t }),
|
4957
|
+
this.$$set({ filterbylogo: t }), U();
|
4980
4958
|
}
|
4981
4959
|
get mbsource() {
|
4982
4960
|
return this.$$.ctx[22];
|
4983
4961
|
}
|
4984
4962
|
set mbsource(t) {
|
4985
|
-
this.$$set({ mbsource: t }),
|
4963
|
+
this.$$set({ mbsource: t }), U();
|
4986
4964
|
}
|
4987
4965
|
}
|
4988
|
-
|
4989
|
-
const
|
4966
|
+
Wr(Pr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
|
4967
|
+
const wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4990
4968
|
__proto__: null,
|
4991
|
-
default:
|
4969
|
+
default: Pr
|
4992
4970
|
}, Symbol.toStringTag, { value: "Module" }));
|
4993
4971
|
export {
|
4994
|
-
|
4995
|
-
|
4996
|
-
|
4997
|
-
|
4998
|
-
|
4999
|
-
|
5000
|
-
|
5001
|
-
|
5002
|
-
|
5003
|
-
|
5004
|
-
|
5005
|
-
|
5006
|
-
|
4972
|
+
ne as $,
|
4973
|
+
Lr as A,
|
4974
|
+
yo as B,
|
4975
|
+
Ee as C,
|
4976
|
+
eo as D,
|
4977
|
+
to as E,
|
4978
|
+
ro as F,
|
4979
|
+
Wr as G,
|
4980
|
+
vo as H,
|
4981
|
+
qi as I,
|
4982
|
+
Eo as J,
|
4983
|
+
xo as K,
|
4984
|
+
_o as L,
|
5007
4985
|
ve as M,
|
5008
|
-
|
5009
|
-
|
5010
|
-
|
5011
|
-
|
5012
|
-
|
5013
|
-
|
5014
|
-
|
5015
|
-
|
5016
|
-
|
5017
|
-
|
5018
|
-
|
5019
|
-
|
5020
|
-
|
5021
|
-
|
5022
|
-
|
5023
|
-
|
4986
|
+
wo as N,
|
4987
|
+
zr as S,
|
4988
|
+
wr as a,
|
4989
|
+
Br as b,
|
4990
|
+
gt as c,
|
4991
|
+
j as d,
|
4992
|
+
m as e,
|
4993
|
+
U as f,
|
4994
|
+
q as g,
|
4995
|
+
W as h,
|
4996
|
+
Xr as i,
|
4997
|
+
_ as j,
|
4998
|
+
po as k,
|
4999
|
+
F as l,
|
5000
|
+
X as m,
|
5001
|
+
k as n,
|
5024
5002
|
G as o,
|
5025
|
-
|
5026
|
-
|
5027
|
-
|
5028
|
-
|
5029
|
-
|
5030
|
-
|
5031
|
-
|
5032
|
-
|
5033
|
-
|
5034
|
-
|
5035
|
-
|
5003
|
+
Cr as p,
|
5004
|
+
Dr as q,
|
5005
|
+
bo as r,
|
5006
|
+
Wt as s,
|
5007
|
+
go as t,
|
5008
|
+
Me as u,
|
5009
|
+
mo as v,
|
5010
|
+
Yi as w,
|
5011
|
+
Ki as x,
|
5012
|
+
Ye as y,
|
5013
|
+
_t as z
|
5036
5014
|
};
|