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