@everymatrix/casino-most-played-section-nd 1.74.3 → 1.74.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-DltyGWrA.js → CasinoFilter-BS4Vz-Dx.js} +1023 -1009
- package/components/CasinoFilter-ChSFmmfx.cjs +18 -0
- package/components/{CasinoFilter-7b54j3Hh.js → CasinoFilter-DvTM2Bs1.js} +989 -975
- package/components/{CasinoGameThumbnailNd-CzOC-bbG.cjs → CasinoGameThumbnailNd-B3L3rh26.cjs} +6 -6
- package/components/{CasinoGameThumbnailNd-C6UL7mjh.js → CasinoGameThumbnailNd-C0_WAEiR.js} +651 -651
- package/components/{CasinoGameThumbnailNd-D83U-IJb.js → CasinoGameThumbnailNd-Cxpom10g.js} +653 -653
- package/components/{CasinoGamesCategorySectionNd-ByCFt_To.js → CasinoGamesCategorySectionNd-BInF1AGS.js} +107 -99
- package/components/CasinoGamesCategorySectionNd-DIAuOFHp.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-B4BwmtXJ.js → CasinoGamesCategorySectionNd-ReoALdIe.js} +371 -363
- package/components/{CasinoMostPlayedSectionNd-Bn6iQAOs.js → CasinoMostPlayedSectionNd-BBJqnntv.js} +47 -47
- package/components/{CasinoMostPlayedSectionNd-Bx-CGmDb.cjs → CasinoMostPlayedSectionNd-BPRDeoJo.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-BSTjJjwH.js → CasinoMostPlayedSectionNd-CLfGAxns.js} +47 -47
- package/components/{CasinoSort-Y1UQQuZp.js → CasinoSort-CNbKc98n.js} +104 -105
- package/components/{CasinoSort-DaCrCkyT.cjs → CasinoSort-D2UFNr_f.cjs} +1 -1
- package/components/{CasinoSort-DmTQ9Cuw.js → CasinoSort-I3cUogbl.js} +113 -112
- package/es2015/casino-most-played-section-nd.cjs +1 -1
- package/es2015/casino-most-played-section-nd.js +1 -1
- package/esnext/casino-most-played-section-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoFilter-Gn7W1RwR.cjs +0 -18
- package/components/CasinoGamesCategorySectionNd-Cmgsr1V5.cjs +0 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
function
|
|
1
|
+
function k() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Qt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function xt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Y(e) {
|
|
10
|
+
e.forEach(Qt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function bt(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
18
|
let Fe;
|
|
19
|
-
function
|
|
19
|
+
function Et(e, t) {
|
|
20
20
|
return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Rr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Yt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return k;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Dr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Yt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function v(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Ur(e, t, r) {
|
|
41
|
+
const n = $r(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = B("style");
|
|
44
|
+
i.id = t, i.textContent = r, Gr(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function $r(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,65 +54,65 @@ function Mr(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function Gr(e, t) {
|
|
58
|
+
return v(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
62
62
|
), t.sheet;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function W(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function j(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function kr(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function B(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function we(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function G(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function X() {
|
|
84
|
+
return G(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function _o() {
|
|
87
|
+
return G("");
|
|
88
88
|
}
|
|
89
89
|
function Re(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function b(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function xo(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
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 :
|
|
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);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function jr(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function re(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function wt(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Eo(e, t, r, n) {
|
|
110
110
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function wo(e, t, r) {
|
|
113
113
|
e.classList.toggle(t, !!r);
|
|
114
114
|
}
|
|
115
|
-
class
|
|
115
|
+
class So {
|
|
116
116
|
/**
|
|
117
117
|
* @private
|
|
118
118
|
* @default false
|
|
@@ -143,10 +143,10 @@ class xo {
|
|
|
143
143
|
* @returns {void}
|
|
144
144
|
*/
|
|
145
145
|
m(t, r, n = null) {
|
|
146
|
-
this.e || (this.is_svg ? this.e =
|
|
146
|
+
this.e || (this.is_svg ? this.e = we(
|
|
147
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
148
148
|
r.nodeName
|
|
149
|
-
) : this.e =
|
|
149
|
+
) : this.e = B(
|
|
150
150
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
151
151
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
152
152
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -167,7 +167,7 @@ class xo {
|
|
|
167
167
|
* @returns {void} */
|
|
168
168
|
i(t) {
|
|
169
169
|
for (let r = 0; r < this.n.length; r += 1)
|
|
170
|
-
|
|
170
|
+
W(this.t, this.n[r], t);
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
173
|
* @param {string} html
|
|
@@ -179,10 +179,10 @@ class xo {
|
|
|
179
179
|
/**
|
|
180
180
|
* @returns {void} */
|
|
181
181
|
d() {
|
|
182
|
-
this.n.forEach(
|
|
182
|
+
this.n.forEach(j);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Vr(e) {
|
|
186
186
|
const t = {};
|
|
187
187
|
return e.childNodes.forEach(
|
|
188
188
|
/** @param {Element} node */
|
|
@@ -191,134 +191,134 @@ function $r(e) {
|
|
|
191
191
|
}
|
|
192
192
|
), t;
|
|
193
193
|
}
|
|
194
|
-
let
|
|
195
|
-
function
|
|
196
|
-
|
|
194
|
+
let Te;
|
|
195
|
+
function Se(e) {
|
|
196
|
+
Te = e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
if (!
|
|
198
|
+
function Kt() {
|
|
199
|
+
if (!Te)
|
|
200
200
|
throw new Error("Function called outside component initialization");
|
|
201
|
-
return
|
|
201
|
+
return Te;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
203
|
+
function Xr(e) {
|
|
204
|
+
Kt().$$.on_mount.push(e);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
206
|
+
function To(e) {
|
|
207
|
+
Kt().$$.on_destroy.push(e);
|
|
208
208
|
}
|
|
209
|
-
const ce = [],
|
|
209
|
+
const ce = [], et = [];
|
|
210
210
|
let fe = [];
|
|
211
|
-
const
|
|
212
|
-
let
|
|
213
|
-
function
|
|
214
|
-
|
|
211
|
+
const St = [], er = /* @__PURE__ */ Promise.resolve();
|
|
212
|
+
let tt = !1;
|
|
213
|
+
function tr() {
|
|
214
|
+
tt || (tt = !0, er.then(U));
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
return
|
|
216
|
+
function Ho() {
|
|
217
|
+
return tr(), er;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function rt(e) {
|
|
220
220
|
fe.push(e);
|
|
221
221
|
}
|
|
222
|
-
const
|
|
222
|
+
const We = /* @__PURE__ */ new Set();
|
|
223
223
|
let ue = 0;
|
|
224
224
|
function U() {
|
|
225
225
|
if (ue !== 0)
|
|
226
226
|
return;
|
|
227
|
-
const e =
|
|
227
|
+
const e = Te;
|
|
228
228
|
do {
|
|
229
229
|
try {
|
|
230
230
|
for (; ue < ce.length; ) {
|
|
231
231
|
const t = ce[ue];
|
|
232
|
-
ue++,
|
|
232
|
+
ue++, Se(t), Wr(t.$$);
|
|
233
233
|
}
|
|
234
234
|
} catch (t) {
|
|
235
235
|
throw ce.length = 0, ue = 0, t;
|
|
236
236
|
}
|
|
237
|
-
for (
|
|
238
|
-
|
|
237
|
+
for (Se(null), ce.length = 0, ue = 0; et.length; )
|
|
238
|
+
et.pop()();
|
|
239
239
|
for (let t = 0; t < fe.length; t += 1) {
|
|
240
240
|
const r = fe[t];
|
|
241
|
-
|
|
241
|
+
We.has(r) || (We.add(r), r());
|
|
242
242
|
}
|
|
243
243
|
fe.length = 0;
|
|
244
244
|
} while (ce.length);
|
|
245
|
-
for (;
|
|
246
|
-
|
|
247
|
-
|
|
245
|
+
for (; St.length; )
|
|
246
|
+
St.pop()();
|
|
247
|
+
tt = !1, We.clear(), Se(e);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function Wr(e) {
|
|
250
250
|
if (e.fragment !== null) {
|
|
251
|
-
e.update(),
|
|
251
|
+
e.update(), Y(e.before_update);
|
|
252
252
|
const t = e.dirty;
|
|
253
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
253
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function zr(e) {
|
|
257
257
|
const t = [], r = [];
|
|
258
258
|
fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
|
|
259
259
|
}
|
|
260
|
-
const
|
|
261
|
-
function
|
|
262
|
-
e && e.i && (
|
|
260
|
+
const Zr = /* @__PURE__ */ new Set();
|
|
261
|
+
function rr(e, t) {
|
|
262
|
+
e && e.i && (Zr.delete(e), e.i(t));
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Tt(e) {
|
|
265
265
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Po(e, t) {
|
|
268
268
|
e.d(1), t.delete(e.key);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
let
|
|
272
|
-
const
|
|
273
|
-
for (;
|
|
274
|
-
|
|
275
|
-
const
|
|
276
|
-
for (
|
|
277
|
-
const
|
|
278
|
-
let N = s.get(
|
|
279
|
-
N ?
|
|
270
|
+
function Ao(e, t, r, n, i, o, s, a, h, l, u, d) {
|
|
271
|
+
let f = e.length, p = o.length, y = f;
|
|
272
|
+
const g = {};
|
|
273
|
+
for (; y--; )
|
|
274
|
+
g[e[y].key] = y;
|
|
275
|
+
const S = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), m = [];
|
|
276
|
+
for (y = p; y--; ) {
|
|
277
|
+
const P = d(i, o, y), A = r(P);
|
|
278
|
+
let N = s.get(A);
|
|
279
|
+
N ? m.push(() => N.p(P, t)) : (N = l(A, P), N.c()), H.set(A, S[y] = N), A in g && E.set(A, Math.abs(y - g[A]));
|
|
280
280
|
}
|
|
281
|
-
const
|
|
282
|
-
function
|
|
283
|
-
|
|
281
|
+
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
|
282
|
+
function R(P) {
|
|
283
|
+
rr(P, 1), P.m(a, u), s.set(P.key, P), u = P.first, p--;
|
|
284
284
|
}
|
|
285
|
-
for (;
|
|
286
|
-
const
|
|
287
|
-
|
|
285
|
+
for (; f && p; ) {
|
|
286
|
+
const P = S[p - 1], A = e[f - 1], N = P.key, V = A.key;
|
|
287
|
+
P === A ? (u = P.first, f--, p--) : H.has(V) ? !s.has(N) || O.has(N) ? R(P) : L.has(V) ? f-- : E.get(N) > E.get(V) ? (L.add(N), R(P)) : (O.add(V), f--) : (h(A, s), f--);
|
|
288
288
|
}
|
|
289
|
-
for (;
|
|
290
|
-
const
|
|
291
|
-
|
|
289
|
+
for (; f--; ) {
|
|
290
|
+
const P = e[f];
|
|
291
|
+
H.has(P.key) || h(P, s);
|
|
292
292
|
}
|
|
293
|
-
for (;
|
|
294
|
-
|
|
295
|
-
return
|
|
293
|
+
for (; p; )
|
|
294
|
+
R(S[p - 1]);
|
|
295
|
+
return Y(m), S;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Jr(e, t, r) {
|
|
298
298
|
const { fragment: n, after_update: i } = e.$$;
|
|
299
|
-
n && n.m(t, r),
|
|
300
|
-
const o = e.$$.on_mount.map(
|
|
301
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
302
|
-
}), i.forEach(
|
|
299
|
+
n && n.m(t, r), rt(() => {
|
|
300
|
+
const o = e.$$.on_mount.map(Qt).filter(bt);
|
|
301
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
|
|
302
|
+
}), i.forEach(rt);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function Qr(e, t) {
|
|
305
305
|
const r = e.$$;
|
|
306
|
-
r.fragment !== null && (
|
|
306
|
+
r.fragment !== null && (zr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
309
|
-
e.$$.dirty[0] === -1 && (ce.push(e),
|
|
308
|
+
function qr(e, t) {
|
|
309
|
+
e.$$.dirty[0] === -1 && (ce.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
312
|
-
const h =
|
|
313
|
-
|
|
311
|
+
function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
312
|
+
const h = Te;
|
|
313
|
+
Se(e);
|
|
314
314
|
const l = e.$$ = {
|
|
315
315
|
fragment: null,
|
|
316
316
|
ctx: [],
|
|
317
317
|
// state
|
|
318
318
|
props: o,
|
|
319
|
-
update:
|
|
319
|
+
update: k,
|
|
320
320
|
not_equal: i,
|
|
321
|
-
bound:
|
|
321
|
+
bound: xt(),
|
|
322
322
|
// lifecycle
|
|
323
323
|
on_mount: [],
|
|
324
324
|
on_destroy: [],
|
|
@@ -327,28 +327,28 @@ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
327
327
|
after_update: [],
|
|
328
328
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
329
329
|
// everything else
|
|
330
|
-
callbacks:
|
|
330
|
+
callbacks: xt(),
|
|
331
331
|
dirty: a,
|
|
332
332
|
skip_bound: !1,
|
|
333
333
|
root: t.target || h.$$.root
|
|
334
334
|
};
|
|
335
335
|
s && s(l.root);
|
|
336
336
|
let u = !1;
|
|
337
|
-
if (l.ctx = r ? r(e, t.props || {}, (d,
|
|
338
|
-
const
|
|
339
|
-
return l.ctx && i(l.ctx[d], l.ctx[d] =
|
|
340
|
-
}) : [], l.update(), u = !0,
|
|
337
|
+
if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
338
|
+
const y = p.length ? p[0] : f;
|
|
339
|
+
return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), u && qr(e, d)), f;
|
|
340
|
+
}) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
341
341
|
if (t.hydrate) {
|
|
342
|
-
const d =
|
|
343
|
-
l.fragment && l.fragment.l(d), d.forEach(
|
|
342
|
+
const d = jr(t.target);
|
|
343
|
+
l.fragment && l.fragment.l(d), d.forEach(j);
|
|
344
344
|
} else
|
|
345
345
|
l.fragment && l.fragment.c();
|
|
346
|
-
t.intro &&
|
|
346
|
+
t.intro && rr(e.$$.fragment), Jr(e, t.target, t.anchor), U();
|
|
347
347
|
}
|
|
348
|
-
|
|
348
|
+
Se(h);
|
|
349
349
|
}
|
|
350
|
-
let
|
|
351
|
-
typeof HTMLElement == "function" && (
|
|
350
|
+
let nr;
|
|
351
|
+
typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
352
352
|
/** The Svelte component constructor */
|
|
353
353
|
$$ctor;
|
|
354
354
|
/** Slots */
|
|
@@ -390,29 +390,29 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
390
390
|
let o;
|
|
391
391
|
return {
|
|
392
392
|
c: function() {
|
|
393
|
-
o =
|
|
393
|
+
o = B("slot"), i !== "default" && b(o, "name", i);
|
|
394
394
|
},
|
|
395
395
|
/**
|
|
396
396
|
* @param {HTMLElement} target
|
|
397
397
|
* @param {HTMLElement} [anchor]
|
|
398
398
|
*/
|
|
399
399
|
m: function(h, l) {
|
|
400
|
-
|
|
400
|
+
W(h, o, l);
|
|
401
401
|
},
|
|
402
402
|
d: function(h) {
|
|
403
|
-
h &&
|
|
403
|
+
h && j(o);
|
|
404
404
|
}
|
|
405
405
|
};
|
|
406
406
|
};
|
|
407
407
|
};
|
|
408
408
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
409
409
|
return;
|
|
410
|
-
const t = {}, r =
|
|
410
|
+
const t = {}, r = Vr(this);
|
|
411
411
|
for (const i of this.$$s)
|
|
412
412
|
i in r && (t[i] = [e(i)]);
|
|
413
413
|
for (const i of this.attributes) {
|
|
414
414
|
const o = this.$$g_p(i.name);
|
|
415
|
-
o in this.$$d || (this.$$d[o] =
|
|
415
|
+
o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
|
|
416
416
|
}
|
|
417
417
|
for (const i in this.$$p_d)
|
|
418
418
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -430,7 +430,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
430
430
|
this.$$r = !0;
|
|
431
431
|
for (const i in this.$$p_d)
|
|
432
432
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
433
|
-
const o =
|
|
433
|
+
const o = Oe(
|
|
434
434
|
i,
|
|
435
435
|
this.$$d[i],
|
|
436
436
|
this.$$p_d,
|
|
@@ -452,7 +452,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
452
452
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
453
453
|
// and setting attributes through setAttribute etc, this is helpful
|
|
454
454
|
attributeChangedCallback(e, t, r) {
|
|
455
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
455
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
456
456
|
}
|
|
457
457
|
disconnectedCallback() {
|
|
458
458
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -465,7 +465,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
465
465
|
) || e;
|
|
466
466
|
}
|
|
467
467
|
});
|
|
468
|
-
function
|
|
468
|
+
function Oe(e, t, r, n) {
|
|
469
469
|
const i = r[e]?.type;
|
|
470
470
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
471
471
|
return t;
|
|
@@ -494,8 +494,8 @@ function Ie(e, t, r, n) {
|
|
|
494
494
|
return t;
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
let s = class extends
|
|
497
|
+
function Kr(e, t, r, n, i, o) {
|
|
498
|
+
let s = class extends nr {
|
|
499
499
|
constructor() {
|
|
500
500
|
super(e, r, i), this.$$p_d = t;
|
|
501
501
|
}
|
|
@@ -511,7 +511,7 @@ function Jr(e, t, r, n, i, o) {
|
|
|
511
511
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
512
512
|
},
|
|
513
513
|
set(h) {
|
|
514
|
-
h =
|
|
514
|
+
h = Oe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
515
515
|
}
|
|
516
516
|
});
|
|
517
517
|
}), n.forEach((a) => {
|
|
@@ -523,7 +523,7 @@ function Jr(e, t, r, n, i, o) {
|
|
|
523
523
|
}), e.element = /** @type {any} */
|
|
524
524
|
s, s;
|
|
525
525
|
}
|
|
526
|
-
class
|
|
526
|
+
class en {
|
|
527
527
|
/**
|
|
528
528
|
* ### PRIVATE API
|
|
529
529
|
*
|
|
@@ -542,7 +542,7 @@ class Qr {
|
|
|
542
542
|
$$set = void 0;
|
|
543
543
|
/** @returns {void} */
|
|
544
544
|
$destroy() {
|
|
545
|
-
|
|
545
|
+
Qr(this, 1), this.$destroy = k;
|
|
546
546
|
}
|
|
547
547
|
/**
|
|
548
548
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -551,8 +551,8 @@ class Qr {
|
|
|
551
551
|
* @returns {() => void}
|
|
552
552
|
*/
|
|
553
553
|
$on(t, r) {
|
|
554
|
-
if (!
|
|
555
|
-
return
|
|
554
|
+
if (!bt(r))
|
|
555
|
+
return k;
|
|
556
556
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
557
557
|
return n.push(r), () => {
|
|
558
558
|
const i = n.indexOf(r);
|
|
@@ -564,11 +564,11 @@ class Qr {
|
|
|
564
564
|
* @returns {void}
|
|
565
565
|
*/
|
|
566
566
|
$set(t) {
|
|
567
|
-
this.$$set && !
|
|
567
|
+
this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
const
|
|
571
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
570
|
+
const tn = "4";
|
|
571
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
|
|
572
572
|
/*! *****************************************************************************
|
|
573
573
|
Copyright (c) Microsoft Corporation.
|
|
574
574
|
|
|
@@ -583,34 +583,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
583
583
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
584
584
|
PERFORMANCE OF THIS SOFTWARE.
|
|
585
585
|
***************************************************************************** */
|
|
586
|
-
var
|
|
587
|
-
return
|
|
586
|
+
var nt = function(e, t) {
|
|
587
|
+
return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
588
588
|
r.__proto__ = n;
|
|
589
589
|
} || function(r, n) {
|
|
590
590
|
for (var i in n)
|
|
591
591
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
592
|
-
},
|
|
592
|
+
}, nt(e, t);
|
|
593
593
|
};
|
|
594
|
-
function
|
|
594
|
+
function J(e, t) {
|
|
595
595
|
if (typeof t != "function" && t !== null)
|
|
596
596
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
597
|
-
|
|
597
|
+
nt(e, t);
|
|
598
598
|
function r() {
|
|
599
599
|
this.constructor = e;
|
|
600
600
|
}
|
|
601
601
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
602
602
|
}
|
|
603
|
-
var
|
|
604
|
-
return
|
|
603
|
+
var w = function() {
|
|
604
|
+
return w = Object.assign || function(t) {
|
|
605
605
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
606
606
|
r = arguments[n];
|
|
607
607
|
for (var o in r)
|
|
608
608
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
609
609
|
}
|
|
610
610
|
return t;
|
|
611
|
-
},
|
|
611
|
+
}, w.apply(this, arguments);
|
|
612
612
|
};
|
|
613
|
-
function
|
|
613
|
+
function rn(e, t) {
|
|
614
614
|
var r = {};
|
|
615
615
|
for (var n in e)
|
|
616
616
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -619,7 +619,7 @@ function Yr(e, t) {
|
|
|
619
619
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
620
620
|
return r;
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function it(e) {
|
|
623
623
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
624
624
|
if (r)
|
|
625
625
|
return r.call(e);
|
|
@@ -631,7 +631,7 @@ function rt(e) {
|
|
|
631
631
|
};
|
|
632
632
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function ot(e, t) {
|
|
635
635
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
636
636
|
if (!r)
|
|
637
637
|
return e;
|
|
@@ -657,16 +657,16 @@ function de(e, t, r) {
|
|
|
657
657
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
658
658
|
return e.concat(o || t);
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Z(e) {
|
|
661
661
|
return typeof e == "function";
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function ir(e) {
|
|
664
664
|
var t = function(n) {
|
|
665
665
|
Error.call(n), n.stack = new Error().stack;
|
|
666
666
|
}, r = e(t);
|
|
667
667
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
668
668
|
}
|
|
669
|
-
var
|
|
669
|
+
var ze = ir(function(e) {
|
|
670
670
|
return function(r) {
|
|
671
671
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
672
672
|
` + r.map(function(n, i) {
|
|
@@ -675,7 +675,7 @@ var We = tr(function(e) {
|
|
|
675
675
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
676
676
|
};
|
|
677
677
|
});
|
|
678
|
-
function
|
|
678
|
+
function st(e, t) {
|
|
679
679
|
if (e) {
|
|
680
680
|
var r = e.indexOf(t);
|
|
681
681
|
0 <= r && e.splice(r, 1);
|
|
@@ -693,12 +693,12 @@ var $e = function() {
|
|
|
693
693
|
if (s)
|
|
694
694
|
if (this._parentage = null, Array.isArray(s))
|
|
695
695
|
try {
|
|
696
|
-
for (var a =
|
|
696
|
+
for (var a = it(s), h = a.next(); !h.done; h = a.next()) {
|
|
697
697
|
var l = h.value;
|
|
698
698
|
l.remove(this);
|
|
699
699
|
}
|
|
700
|
-
} catch (
|
|
701
|
-
t = { error:
|
|
700
|
+
} catch (g) {
|
|
701
|
+
t = { error: g };
|
|
702
702
|
} finally {
|
|
703
703
|
try {
|
|
704
704
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -710,29 +710,29 @@ var $e = function() {
|
|
|
710
710
|
else
|
|
711
711
|
s.remove(this);
|
|
712
712
|
var u = this.initialTeardown;
|
|
713
|
-
if (
|
|
713
|
+
if (Z(u))
|
|
714
714
|
try {
|
|
715
715
|
u();
|
|
716
|
-
} catch (
|
|
717
|
-
o =
|
|
716
|
+
} catch (g) {
|
|
717
|
+
o = g instanceof ze ? g.errors : [g];
|
|
718
718
|
}
|
|
719
719
|
var d = this._finalizers;
|
|
720
720
|
if (d) {
|
|
721
721
|
this._finalizers = null;
|
|
722
722
|
try {
|
|
723
|
-
for (var
|
|
724
|
-
var
|
|
723
|
+
for (var f = it(d), p = f.next(); !p.done; p = f.next()) {
|
|
724
|
+
var y = p.value;
|
|
725
725
|
try {
|
|
726
|
-
|
|
727
|
-
} catch (
|
|
728
|
-
o = o ?? [],
|
|
726
|
+
Ht(y);
|
|
727
|
+
} catch (g) {
|
|
728
|
+
o = o ?? [], g instanceof ze ? o = de(de([], ot(o)), ot(g.errors)) : o.push(g);
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
|
-
} catch (
|
|
732
|
-
n = { error:
|
|
731
|
+
} catch (g) {
|
|
732
|
+
n = { error: g };
|
|
733
733
|
} finally {
|
|
734
734
|
try {
|
|
735
|
-
|
|
735
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
736
736
|
} finally {
|
|
737
737
|
if (n)
|
|
738
738
|
throw n.error;
|
|
@@ -740,13 +740,13 @@ var $e = function() {
|
|
|
740
740
|
}
|
|
741
741
|
}
|
|
742
742
|
if (o)
|
|
743
|
-
throw new
|
|
743
|
+
throw new ze(o);
|
|
744
744
|
}
|
|
745
745
|
}, e.prototype.add = function(t) {
|
|
746
746
|
var r;
|
|
747
747
|
if (t && t !== this)
|
|
748
748
|
if (this.closed)
|
|
749
|
-
|
|
749
|
+
Ht(t);
|
|
750
750
|
else {
|
|
751
751
|
if (t instanceof e) {
|
|
752
752
|
if (t.closed || t._hasParent(this))
|
|
@@ -763,56 +763,56 @@ var $e = function() {
|
|
|
763
763
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
764
764
|
}, e.prototype._removeParent = function(t) {
|
|
765
765
|
var r = this._parentage;
|
|
766
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
766
|
+
r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
|
|
767
767
|
}, e.prototype.remove = function(t) {
|
|
768
768
|
var r = this._finalizers;
|
|
769
|
-
r &&
|
|
769
|
+
r && st(r, t), t instanceof e && t._removeParent(this);
|
|
770
770
|
}, e.EMPTY = function() {
|
|
771
771
|
var t = new e();
|
|
772
772
|
return t.closed = !0, t;
|
|
773
773
|
}(), e;
|
|
774
|
-
}(),
|
|
775
|
-
function
|
|
776
|
-
return e instanceof $e || e && "closed" in e &&
|
|
774
|
+
}(), or = $e.EMPTY;
|
|
775
|
+
function sr(e) {
|
|
776
|
+
return e instanceof $e || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
|
|
777
777
|
}
|
|
778
|
-
function
|
|
779
|
-
|
|
778
|
+
function Ht(e) {
|
|
779
|
+
Z(e) ? e() : e.unsubscribe();
|
|
780
780
|
}
|
|
781
|
-
var
|
|
781
|
+
var ar = {
|
|
782
782
|
onUnhandledError: null,
|
|
783
783
|
onStoppedNotification: null,
|
|
784
784
|
Promise: void 0,
|
|
785
785
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
786
786
|
useDeprecatedNextContext: !1
|
|
787
|
-
},
|
|
787
|
+
}, nn = {
|
|
788
788
|
setTimeout: function(e, t) {
|
|
789
789
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
790
790
|
r[n - 2] = arguments[n];
|
|
791
|
-
return setTimeout.apply(void 0, de([e, t],
|
|
791
|
+
return setTimeout.apply(void 0, de([e, t], ot(r)));
|
|
792
792
|
},
|
|
793
793
|
clearTimeout: function(e) {
|
|
794
794
|
return clearTimeout(e);
|
|
795
795
|
},
|
|
796
796
|
delegate: void 0
|
|
797
797
|
};
|
|
798
|
-
function
|
|
799
|
-
|
|
798
|
+
function on(e) {
|
|
799
|
+
nn.setTimeout(function() {
|
|
800
800
|
throw e;
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function Pt() {
|
|
804
804
|
}
|
|
805
805
|
function Le(e) {
|
|
806
806
|
e();
|
|
807
807
|
}
|
|
808
|
-
var
|
|
809
|
-
|
|
808
|
+
var lr = function(e) {
|
|
809
|
+
J(t, e);
|
|
810
810
|
function t(r) {
|
|
811
811
|
var n = e.call(this) || this;
|
|
812
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
812
|
+
return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = un, n;
|
|
813
813
|
}
|
|
814
814
|
return t.create = function(r, n, i) {
|
|
815
|
-
return new
|
|
815
|
+
return new at(r, n, i);
|
|
816
816
|
}, t.prototype.next = function(r) {
|
|
817
817
|
this.isStopped || this._next(r);
|
|
818
818
|
}, t.prototype.error = function(r) {
|
|
@@ -836,7 +836,11 @@ var ir = function(e) {
|
|
|
836
836
|
this.unsubscribe();
|
|
837
837
|
}
|
|
838
838
|
}, t;
|
|
839
|
-
}($e),
|
|
839
|
+
}($e), sn = Function.prototype.bind;
|
|
840
|
+
function Ze(e, t) {
|
|
841
|
+
return sn.call(e, t);
|
|
842
|
+
}
|
|
843
|
+
var an = function() {
|
|
840
844
|
function e(t) {
|
|
841
845
|
this.partialObserver = t;
|
|
842
846
|
}
|
|
@@ -867,43 +871,55 @@ var ir = function(e) {
|
|
|
867
871
|
Ce(r);
|
|
868
872
|
}
|
|
869
873
|
}, e;
|
|
870
|
-
}(),
|
|
871
|
-
|
|
874
|
+
}(), at = function(e) {
|
|
875
|
+
J(t, e);
|
|
872
876
|
function t(r, n, i) {
|
|
873
877
|
var o = e.call(this) || this, s;
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
878
|
+
if (Z(r) || !r)
|
|
879
|
+
s = {
|
|
880
|
+
next: r ?? void 0,
|
|
881
|
+
error: n ?? void 0,
|
|
882
|
+
complete: i ?? void 0
|
|
883
|
+
};
|
|
884
|
+
else {
|
|
885
|
+
var a;
|
|
886
|
+
o && ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
887
|
+
return o.unsubscribe();
|
|
888
|
+
}, s = {
|
|
889
|
+
next: r.next && Ze(r.next, a),
|
|
890
|
+
error: r.error && Ze(r.error, a),
|
|
891
|
+
complete: r.complete && Ze(r.complete, a)
|
|
892
|
+
}) : s = r;
|
|
893
|
+
}
|
|
894
|
+
return o.destination = new an(s), o;
|
|
879
895
|
}
|
|
880
896
|
return t;
|
|
881
|
-
}(
|
|
897
|
+
}(lr);
|
|
882
898
|
function Ce(e) {
|
|
883
|
-
|
|
899
|
+
on(e);
|
|
884
900
|
}
|
|
885
|
-
function
|
|
901
|
+
function ln(e) {
|
|
886
902
|
throw e;
|
|
887
903
|
}
|
|
888
|
-
var
|
|
904
|
+
var un = {
|
|
889
905
|
closed: !0,
|
|
890
|
-
next:
|
|
891
|
-
error:
|
|
892
|
-
complete:
|
|
893
|
-
},
|
|
906
|
+
next: Pt,
|
|
907
|
+
error: ln,
|
|
908
|
+
complete: Pt
|
|
909
|
+
}, hn = function() {
|
|
894
910
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
895
911
|
}();
|
|
896
|
-
function
|
|
912
|
+
function cn(e) {
|
|
897
913
|
return e;
|
|
898
914
|
}
|
|
899
|
-
function
|
|
900
|
-
return e.length === 0 ?
|
|
915
|
+
function fn(e) {
|
|
916
|
+
return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
|
|
901
917
|
return e.reduce(function(n, i) {
|
|
902
918
|
return i(n);
|
|
903
919
|
}, r);
|
|
904
920
|
};
|
|
905
921
|
}
|
|
906
|
-
var
|
|
922
|
+
var At = function() {
|
|
907
923
|
function e(t) {
|
|
908
924
|
t && (this._subscribe = t);
|
|
909
925
|
}
|
|
@@ -911,7 +927,7 @@ var Tt = function() {
|
|
|
911
927
|
var r = new e();
|
|
912
928
|
return r.source = this, r.operator = t, r;
|
|
913
929
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
914
|
-
var i = this, o =
|
|
930
|
+
var i = this, o = pn(t) ? t : new at(t, r, n);
|
|
915
931
|
return Le(function() {
|
|
916
932
|
var s = i, a = s.operator, h = s.source;
|
|
917
933
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -924,8 +940,8 @@ var Tt = function() {
|
|
|
924
940
|
}
|
|
925
941
|
}, e.prototype.forEach = function(t, r) {
|
|
926
942
|
var n = this;
|
|
927
|
-
return r =
|
|
928
|
-
var s = new
|
|
943
|
+
return r = Bt(r), new r(function(i, o) {
|
|
944
|
+
var s = new at({
|
|
929
945
|
next: function(a) {
|
|
930
946
|
try {
|
|
931
947
|
t(a);
|
|
@@ -941,15 +957,15 @@ var Tt = function() {
|
|
|
941
957
|
}, e.prototype._subscribe = function(t) {
|
|
942
958
|
var r;
|
|
943
959
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
944
|
-
}, e.prototype[
|
|
960
|
+
}, e.prototype[hn] = function() {
|
|
945
961
|
return this;
|
|
946
962
|
}, e.prototype.pipe = function() {
|
|
947
963
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
948
964
|
t[r] = arguments[r];
|
|
949
|
-
return
|
|
965
|
+
return fn(t)(this);
|
|
950
966
|
}, e.prototype.toPromise = function(t) {
|
|
951
967
|
var r = this;
|
|
952
|
-
return t =
|
|
968
|
+
return t = Bt(t), new t(function(n, i) {
|
|
953
969
|
var o;
|
|
954
970
|
r.subscribe(function(s) {
|
|
955
971
|
return o = s;
|
|
@@ -963,32 +979,32 @@ var Tt = function() {
|
|
|
963
979
|
return new e(t);
|
|
964
980
|
}, e;
|
|
965
981
|
}();
|
|
966
|
-
function
|
|
982
|
+
function Bt(e) {
|
|
967
983
|
var t;
|
|
968
|
-
return (t = e ??
|
|
984
|
+
return (t = e ?? ar.Promise) !== null && t !== void 0 ? t : Promise;
|
|
969
985
|
}
|
|
970
|
-
function
|
|
971
|
-
return e &&
|
|
986
|
+
function dn(e) {
|
|
987
|
+
return e && Z(e.next) && Z(e.error) && Z(e.complete);
|
|
972
988
|
}
|
|
973
|
-
function
|
|
974
|
-
return e && e instanceof
|
|
989
|
+
function pn(e) {
|
|
990
|
+
return e && e instanceof lr || dn(e) && sr(e);
|
|
975
991
|
}
|
|
976
|
-
var
|
|
992
|
+
var mn = ir(function(e) {
|
|
977
993
|
return function() {
|
|
978
994
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
979
995
|
};
|
|
980
|
-
}),
|
|
981
|
-
|
|
996
|
+
}), ur = function(e) {
|
|
997
|
+
J(t, e);
|
|
982
998
|
function t() {
|
|
983
999
|
var r = e.call(this) || this;
|
|
984
1000
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
985
1001
|
}
|
|
986
1002
|
return t.prototype.lift = function(r) {
|
|
987
|
-
var n = new
|
|
1003
|
+
var n = new Ft(this, this);
|
|
988
1004
|
return n.operator = r, n;
|
|
989
1005
|
}, t.prototype._throwIfClosed = function() {
|
|
990
1006
|
if (this.closed)
|
|
991
|
-
throw new
|
|
1007
|
+
throw new mn();
|
|
992
1008
|
}, t.prototype.next = function(r) {
|
|
993
1009
|
var n = this;
|
|
994
1010
|
Le(function() {
|
|
@@ -996,7 +1012,7 @@ var cn = tr(function(e) {
|
|
|
996
1012
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
997
1013
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
998
1014
|
try {
|
|
999
|
-
for (var s =
|
|
1015
|
+
for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1000
1016
|
var h = a.value;
|
|
1001
1017
|
h.next(r);
|
|
1002
1018
|
}
|
|
@@ -1045,20 +1061,20 @@ var cn = tr(function(e) {
|
|
|
1045
1061
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1046
1062
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1047
1063
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1048
|
-
return o || s ?
|
|
1049
|
-
n.currentObservers = null,
|
|
1064
|
+
return o || s ? or : (this.currentObservers = null, a.push(r), new $e(function() {
|
|
1065
|
+
n.currentObservers = null, st(a, r);
|
|
1050
1066
|
}));
|
|
1051
1067
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1052
1068
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1053
1069
|
i ? r.error(o) : s && r.complete();
|
|
1054
1070
|
}, t.prototype.asObservable = function() {
|
|
1055
|
-
var r = new
|
|
1071
|
+
var r = new At();
|
|
1056
1072
|
return r.source = this, r;
|
|
1057
1073
|
}, t.create = function(r, n) {
|
|
1058
|
-
return new
|
|
1074
|
+
return new Ft(r, n);
|
|
1059
1075
|
}, t;
|
|
1060
|
-
}(
|
|
1061
|
-
|
|
1076
|
+
}(At), Ft = function(e) {
|
|
1077
|
+
J(t, e);
|
|
1062
1078
|
function t(r, n) {
|
|
1063
1079
|
var i = e.call(this) || this;
|
|
1064
1080
|
return i.destination = r, i.source = n, i;
|
|
@@ -1074,17 +1090,17 @@ var cn = tr(function(e) {
|
|
|
1074
1090
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1075
1091
|
}, t.prototype._subscribe = function(r) {
|
|
1076
1092
|
var n, i;
|
|
1077
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1093
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : or;
|
|
1078
1094
|
}, t;
|
|
1079
|
-
}(
|
|
1095
|
+
}(ur), hr = {
|
|
1080
1096
|
now: function() {
|
|
1081
|
-
return (
|
|
1097
|
+
return (hr.delegate || Date).now();
|
|
1082
1098
|
},
|
|
1083
1099
|
delegate: void 0
|
|
1084
|
-
},
|
|
1085
|
-
|
|
1100
|
+
}, bn = function(e) {
|
|
1101
|
+
J(t, e);
|
|
1086
1102
|
function t(r, n, i) {
|
|
1087
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1103
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
|
|
1088
1104
|
var o = e.call(this) || this;
|
|
1089
1105
|
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;
|
|
1090
1106
|
}
|
|
@@ -1104,24 +1120,24 @@ var cn = tr(function(e) {
|
|
|
1104
1120
|
l && o.splice(0, l + 1);
|
|
1105
1121
|
}
|
|
1106
1122
|
}, t;
|
|
1107
|
-
}(
|
|
1108
|
-
const
|
|
1109
|
-
if (
|
|
1110
|
-
const r = new
|
|
1111
|
-
|
|
1123
|
+
}(ur);
|
|
1124
|
+
const Ct = [], It = {}, gn = (e, t = 0) => {
|
|
1125
|
+
if (Ct.indexOf(e) == -1) {
|
|
1126
|
+
const r = new bn(t);
|
|
1127
|
+
It[e] = r, Ct.push(e);
|
|
1112
1128
|
}
|
|
1113
|
-
return
|
|
1129
|
+
return It[e];
|
|
1114
1130
|
}, he = [];
|
|
1115
|
-
function
|
|
1131
|
+
function yn(e, t) {
|
|
1116
1132
|
return {
|
|
1117
1133
|
subscribe: Ge(e, t).subscribe
|
|
1118
1134
|
};
|
|
1119
1135
|
}
|
|
1120
|
-
function Ge(e, t =
|
|
1136
|
+
function Ge(e, t = k) {
|
|
1121
1137
|
let r;
|
|
1122
1138
|
const n = /* @__PURE__ */ new Set();
|
|
1123
1139
|
function i(a) {
|
|
1124
|
-
if (
|
|
1140
|
+
if (qt(e, a) && (e = a, r)) {
|
|
1125
1141
|
const h = !he.length;
|
|
1126
1142
|
for (const l of n)
|
|
1127
1143
|
l[1](), he.push(l, e);
|
|
@@ -1135,9 +1151,9 @@ function Ge(e, t = G) {
|
|
|
1135
1151
|
function o(a) {
|
|
1136
1152
|
i(a(e));
|
|
1137
1153
|
}
|
|
1138
|
-
function s(a, h =
|
|
1154
|
+
function s(a, h = k) {
|
|
1139
1155
|
const l = [a, h];
|
|
1140
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1156
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
|
|
1141
1157
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1142
1158
|
};
|
|
1143
1159
|
}
|
|
@@ -1148,96 +1164,96 @@ function ye(e, t, r) {
|
|
|
1148
1164
|
if (!i.every(Boolean))
|
|
1149
1165
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1150
1166
|
const o = t.length < 2;
|
|
1151
|
-
return
|
|
1167
|
+
return yn(r, (s, a) => {
|
|
1152
1168
|
let h = !1;
|
|
1153
1169
|
const l = [];
|
|
1154
|
-
let u = 0, d =
|
|
1155
|
-
const
|
|
1170
|
+
let u = 0, d = k;
|
|
1171
|
+
const f = () => {
|
|
1156
1172
|
if (u)
|
|
1157
1173
|
return;
|
|
1158
1174
|
d();
|
|
1159
|
-
const
|
|
1160
|
-
o ? s(
|
|
1161
|
-
},
|
|
1162
|
-
(
|
|
1163
|
-
|
|
1164
|
-
(
|
|
1165
|
-
l[
|
|
1175
|
+
const y = t(n ? l[0] : l, s, a);
|
|
1176
|
+
o ? s(y) : d = bt(y) ? y : k;
|
|
1177
|
+
}, p = i.map(
|
|
1178
|
+
(y, g) => Yt(
|
|
1179
|
+
y,
|
|
1180
|
+
(S) => {
|
|
1181
|
+
l[g] = S, u &= ~(1 << g), h && f();
|
|
1166
1182
|
},
|
|
1167
1183
|
() => {
|
|
1168
|
-
u |= 1 <<
|
|
1184
|
+
u |= 1 << g;
|
|
1169
1185
|
}
|
|
1170
1186
|
)
|
|
1171
1187
|
);
|
|
1172
|
-
return h = !0,
|
|
1173
|
-
|
|
1188
|
+
return h = !0, f(), function() {
|
|
1189
|
+
Y(p), d(), h = !1;
|
|
1174
1190
|
};
|
|
1175
1191
|
});
|
|
1176
1192
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1193
|
+
function vn(e) {
|
|
1194
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1179
1195
|
}
|
|
1180
|
-
var
|
|
1181
|
-
return
|
|
1196
|
+
var _n = function(t) {
|
|
1197
|
+
return xn(t) && !En(t);
|
|
1182
1198
|
};
|
|
1183
|
-
function
|
|
1199
|
+
function xn(e) {
|
|
1184
1200
|
return !!e && typeof e == "object";
|
|
1185
1201
|
}
|
|
1186
|
-
function
|
|
1202
|
+
function En(e) {
|
|
1187
1203
|
var t = Object.prototype.toString.call(e);
|
|
1188
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1204
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
|
|
1189
1205
|
}
|
|
1190
|
-
var
|
|
1191
|
-
function
|
|
1192
|
-
return e.$$typeof ===
|
|
1206
|
+
var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
|
|
1207
|
+
function Tn(e) {
|
|
1208
|
+
return e.$$typeof === Sn;
|
|
1193
1209
|
}
|
|
1194
|
-
function
|
|
1210
|
+
function Hn(e) {
|
|
1195
1211
|
return Array.isArray(e) ? [] : {};
|
|
1196
1212
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? pe(
|
|
1213
|
+
function He(e, t) {
|
|
1214
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? pe(Hn(e), e, t) : e;
|
|
1199
1215
|
}
|
|
1200
|
-
function
|
|
1216
|
+
function Pn(e, t, r) {
|
|
1201
1217
|
return e.concat(t).map(function(n) {
|
|
1202
|
-
return
|
|
1218
|
+
return He(n, r);
|
|
1203
1219
|
});
|
|
1204
1220
|
}
|
|
1205
|
-
function
|
|
1221
|
+
function An(e, t) {
|
|
1206
1222
|
if (!t.customMerge)
|
|
1207
1223
|
return pe;
|
|
1208
1224
|
var r = t.customMerge(e);
|
|
1209
1225
|
return typeof r == "function" ? r : pe;
|
|
1210
1226
|
}
|
|
1211
|
-
function
|
|
1227
|
+
function Bn(e) {
|
|
1212
1228
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1213
1229
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1214
1230
|
}) : [];
|
|
1215
1231
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return Object.keys(e).concat(
|
|
1232
|
+
function Ot(e) {
|
|
1233
|
+
return Object.keys(e).concat(Bn(e));
|
|
1218
1234
|
}
|
|
1219
|
-
function
|
|
1235
|
+
function cr(e, t) {
|
|
1220
1236
|
try {
|
|
1221
1237
|
return t in e;
|
|
1222
1238
|
} catch {
|
|
1223
1239
|
return !1;
|
|
1224
1240
|
}
|
|
1225
1241
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return
|
|
1242
|
+
function Fn(e, t) {
|
|
1243
|
+
return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1228
1244
|
}
|
|
1229
|
-
function
|
|
1245
|
+
function Cn(e, t, r) {
|
|
1230
1246
|
var n = {};
|
|
1231
|
-
return r.isMergeableObject(e) &&
|
|
1232
|
-
n[i] =
|
|
1233
|
-
}),
|
|
1234
|
-
|
|
1247
|
+
return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
|
|
1248
|
+
n[i] = He(e[i], r);
|
|
1249
|
+
}), Ot(t).forEach(function(i) {
|
|
1250
|
+
Fn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
|
|
1235
1251
|
}), n;
|
|
1236
1252
|
}
|
|
1237
1253
|
function pe(e, t, r) {
|
|
1238
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1254
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = He;
|
|
1239
1255
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1240
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1256
|
+
return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : He(t, r);
|
|
1241
1257
|
}
|
|
1242
1258
|
pe.all = function(t, r) {
|
|
1243
1259
|
if (!Array.isArray(t))
|
|
@@ -1246,64 +1262,62 @@ pe.all = function(t, r) {
|
|
|
1246
1262
|
return pe(n, i, r);
|
|
1247
1263
|
}, {});
|
|
1248
1264
|
};
|
|
1249
|
-
var
|
|
1250
|
-
const
|
|
1251
|
-
function
|
|
1252
|
-
var r = t && t.cache ? t.cache :
|
|
1265
|
+
var In = pe, On = In;
|
|
1266
|
+
const Ln = /* @__PURE__ */ vn(On);
|
|
1267
|
+
function Je(e, t) {
|
|
1268
|
+
var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Mn;
|
|
1253
1269
|
return i(e, {
|
|
1254
1270
|
cache: r,
|
|
1255
1271
|
serializer: n
|
|
1256
1272
|
});
|
|
1257
1273
|
}
|
|
1258
|
-
function
|
|
1274
|
+
function Nn(e) {
|
|
1259
1275
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1260
1276
|
}
|
|
1261
|
-
function
|
|
1262
|
-
var i =
|
|
1277
|
+
function fr(e, t, r, n) {
|
|
1278
|
+
var i = Nn(n) ? n : r(n), o = t.get(i);
|
|
1263
1279
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1264
1280
|
}
|
|
1265
|
-
function
|
|
1281
|
+
function dr(e, t, r) {
|
|
1266
1282
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1267
1283
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1268
1284
|
}
|
|
1269
|
-
function
|
|
1285
|
+
function gt(e, t, r, n, i) {
|
|
1270
1286
|
return r.bind(t, e, n, i);
|
|
1271
1287
|
}
|
|
1272
|
-
function
|
|
1273
|
-
var r = e.length === 1 ?
|
|
1274
|
-
return
|
|
1288
|
+
function Mn(e, t) {
|
|
1289
|
+
var r = e.length === 1 ? fr : dr;
|
|
1290
|
+
return gt(e, this, r, t.cache.create(), t.serializer);
|
|
1275
1291
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return
|
|
1292
|
+
function Rn(e, t) {
|
|
1293
|
+
return gt(e, this, dr, t.cache.create(), t.serializer);
|
|
1278
1294
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return
|
|
1295
|
+
function Dn(e, t) {
|
|
1296
|
+
return gt(e, this, fr, t.cache.create(), t.serializer);
|
|
1281
1297
|
}
|
|
1282
|
-
var
|
|
1298
|
+
var Un = function() {
|
|
1283
1299
|
return JSON.stringify(arguments);
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
}()
|
|
1296
|
-
), Rn = {
|
|
1300
|
+
};
|
|
1301
|
+
function yt() {
|
|
1302
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1303
|
+
}
|
|
1304
|
+
yt.prototype.get = function(e) {
|
|
1305
|
+
return this.cache[e];
|
|
1306
|
+
};
|
|
1307
|
+
yt.prototype.set = function(e, t) {
|
|
1308
|
+
this.cache[e] = t;
|
|
1309
|
+
};
|
|
1310
|
+
var $n = {
|
|
1297
1311
|
create: function() {
|
|
1298
|
-
return new
|
|
1312
|
+
return new yt();
|
|
1299
1313
|
}
|
|
1300
|
-
},
|
|
1301
|
-
variadic:
|
|
1302
|
-
monadic:
|
|
1303
|
-
},
|
|
1314
|
+
}, Qe = {
|
|
1315
|
+
variadic: Rn,
|
|
1316
|
+
monadic: Dn
|
|
1317
|
+
}, _;
|
|
1304
1318
|
(function(e) {
|
|
1305
1319
|
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";
|
|
1306
|
-
})(
|
|
1320
|
+
})(_ || (_ = {}));
|
|
1307
1321
|
var C;
|
|
1308
1322
|
(function(e) {
|
|
1309
1323
|
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";
|
|
@@ -1312,43 +1326,43 @@ var me;
|
|
|
1312
1326
|
(function(e) {
|
|
1313
1327
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1314
1328
|
})(me || (me = {}));
|
|
1315
|
-
function
|
|
1329
|
+
function Lt(e) {
|
|
1316
1330
|
return e.type === C.literal;
|
|
1317
1331
|
}
|
|
1318
|
-
function
|
|
1332
|
+
function Gn(e) {
|
|
1319
1333
|
return e.type === C.argument;
|
|
1320
1334
|
}
|
|
1321
|
-
function
|
|
1335
|
+
function pr(e) {
|
|
1322
1336
|
return e.type === C.number;
|
|
1323
1337
|
}
|
|
1324
|
-
function
|
|
1338
|
+
function mr(e) {
|
|
1325
1339
|
return e.type === C.date;
|
|
1326
1340
|
}
|
|
1327
|
-
function
|
|
1341
|
+
function br(e) {
|
|
1328
1342
|
return e.type === C.time;
|
|
1329
1343
|
}
|
|
1330
|
-
function
|
|
1344
|
+
function gr(e) {
|
|
1331
1345
|
return e.type === C.select;
|
|
1332
1346
|
}
|
|
1333
|
-
function
|
|
1347
|
+
function yr(e) {
|
|
1334
1348
|
return e.type === C.plural;
|
|
1335
1349
|
}
|
|
1336
|
-
function
|
|
1350
|
+
function kn(e) {
|
|
1337
1351
|
return e.type === C.pound;
|
|
1338
1352
|
}
|
|
1339
|
-
function
|
|
1353
|
+
function vr(e) {
|
|
1340
1354
|
return e.type === C.tag;
|
|
1341
1355
|
}
|
|
1342
|
-
function
|
|
1356
|
+
function _r(e) {
|
|
1343
1357
|
return !!(e && typeof e == "object" && e.type === me.number);
|
|
1344
1358
|
}
|
|
1345
|
-
function
|
|
1359
|
+
function lt(e) {
|
|
1346
1360
|
return !!(e && typeof e == "object" && e.type === me.dateTime);
|
|
1347
1361
|
}
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1362
|
+
var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
|
1363
|
+
function Vn(e) {
|
|
1350
1364
|
var t = {};
|
|
1351
|
-
return e.replace(
|
|
1365
|
+
return e.replace(jn, function(r) {
|
|
1352
1366
|
var n = r.length;
|
|
1353
1367
|
switch (r[0]) {
|
|
1354
1368
|
case "G":
|
|
@@ -1437,12 +1451,12 @@ function Gn(e) {
|
|
|
1437
1451
|
return "";
|
|
1438
1452
|
}), t;
|
|
1439
1453
|
}
|
|
1440
|
-
var
|
|
1441
|
-
function
|
|
1454
|
+
var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1455
|
+
function Wn(e) {
|
|
1442
1456
|
if (e.length === 0)
|
|
1443
1457
|
throw new Error("Number skeleton cannot be empty");
|
|
1444
|
-
for (var t = e.split(
|
|
1445
|
-
return
|
|
1458
|
+
for (var t = e.split(Xn).filter(function(f) {
|
|
1459
|
+
return f.length > 0;
|
|
1446
1460
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1447
1461
|
var o = i[n], s = o.split("/");
|
|
1448
1462
|
if (s.length === 0)
|
|
@@ -1456,17 +1470,17 @@ function jn(e) {
|
|
|
1456
1470
|
}
|
|
1457
1471
|
return r;
|
|
1458
1472
|
}
|
|
1459
|
-
function
|
|
1473
|
+
function zn(e) {
|
|
1460
1474
|
return e.replace(/^(.*?)-/, "");
|
|
1461
1475
|
}
|
|
1462
|
-
var
|
|
1463
|
-
function
|
|
1476
|
+
var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
|
|
1477
|
+
function Mt(e) {
|
|
1464
1478
|
var t = {};
|
|
1465
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1479
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
|
|
1466
1480
|
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)), "";
|
|
1467
1481
|
}), t;
|
|
1468
1482
|
}
|
|
1469
|
-
function
|
|
1483
|
+
function Sr(e) {
|
|
1470
1484
|
switch (e) {
|
|
1471
1485
|
case "sign-auto":
|
|
1472
1486
|
return {
|
|
@@ -1506,7 +1520,7 @@ function _r(e) {
|
|
|
1506
1520
|
};
|
|
1507
1521
|
}
|
|
1508
1522
|
}
|
|
1509
|
-
function
|
|
1523
|
+
function Jn(e) {
|
|
1510
1524
|
var t;
|
|
1511
1525
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1512
1526
|
notation: "engineering"
|
|
@@ -1514,17 +1528,17 @@ function Wn(e) {
|
|
|
1514
1528
|
notation: "scientific"
|
|
1515
1529
|
}, e = e.slice(1)), t) {
|
|
1516
1530
|
var r = e.slice(0, 2);
|
|
1517
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1531
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
|
|
1518
1532
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1519
1533
|
t.minimumIntegerDigits = e.length;
|
|
1520
1534
|
}
|
|
1521
1535
|
return t;
|
|
1522
1536
|
}
|
|
1523
|
-
function
|
|
1524
|
-
var t = {}, r =
|
|
1537
|
+
function Rt(e) {
|
|
1538
|
+
var t = {}, r = Sr(e);
|
|
1525
1539
|
return r || t;
|
|
1526
1540
|
}
|
|
1527
|
-
function
|
|
1541
|
+
function Qn(e) {
|
|
1528
1542
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1529
1543
|
var i = n[r];
|
|
1530
1544
|
switch (i.stem) {
|
|
@@ -1548,7 +1562,7 @@ function zn(e) {
|
|
|
1548
1562
|
continue;
|
|
1549
1563
|
case "measure-unit":
|
|
1550
1564
|
case "unit":
|
|
1551
|
-
t.style = "unit", t.unit =
|
|
1565
|
+
t.style = "unit", t.unit = zn(i.options[0]);
|
|
1552
1566
|
continue;
|
|
1553
1567
|
case "compact-short":
|
|
1554
1568
|
case "K":
|
|
@@ -1559,13 +1573,13 @@ function zn(e) {
|
|
|
1559
1573
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1560
1574
|
continue;
|
|
1561
1575
|
case "scientific":
|
|
1562
|
-
t =
|
|
1563
|
-
return
|
|
1576
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1577
|
+
return w(w({}, h), Rt(l));
|
|
1564
1578
|
}, {}));
|
|
1565
1579
|
continue;
|
|
1566
1580
|
case "engineering":
|
|
1567
|
-
t =
|
|
1568
|
-
return
|
|
1581
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1582
|
+
return w(w({}, h), Rt(l));
|
|
1569
1583
|
}, {}));
|
|
1570
1584
|
continue;
|
|
1571
1585
|
case "notation-simple":
|
|
@@ -1610,45 +1624,45 @@ function zn(e) {
|
|
|
1610
1624
|
case "integer-width":
|
|
1611
1625
|
if (i.options.length > 1)
|
|
1612
1626
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1613
|
-
i.options[0].replace(
|
|
1627
|
+
i.options[0].replace(Zn, function(h, l, u, d, f, p) {
|
|
1614
1628
|
if (l)
|
|
1615
1629
|
t.minimumIntegerDigits = u.length;
|
|
1616
1630
|
else {
|
|
1617
|
-
if (d &&
|
|
1631
|
+
if (d && f)
|
|
1618
1632
|
throw new Error("We currently do not support maximum integer digits");
|
|
1619
|
-
if (
|
|
1633
|
+
if (p)
|
|
1620
1634
|
throw new Error("We currently do not support exact integer digits");
|
|
1621
1635
|
}
|
|
1622
1636
|
return "";
|
|
1623
1637
|
});
|
|
1624
1638
|
continue;
|
|
1625
1639
|
}
|
|
1626
|
-
if (
|
|
1640
|
+
if (wr.test(i.stem)) {
|
|
1627
1641
|
t.minimumIntegerDigits = i.stem.length;
|
|
1628
1642
|
continue;
|
|
1629
1643
|
}
|
|
1630
|
-
if (
|
|
1644
|
+
if (Nt.test(i.stem)) {
|
|
1631
1645
|
if (i.options.length > 1)
|
|
1632
1646
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1633
|
-
i.stem.replace(
|
|
1634
|
-
return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length :
|
|
1647
|
+
i.stem.replace(Nt, function(h, l, u, d, f, p) {
|
|
1648
|
+
return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1635
1649
|
});
|
|
1636
1650
|
var o = i.options[0];
|
|
1637
|
-
o === "w" ? t =
|
|
1651
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Mt(o)));
|
|
1638
1652
|
continue;
|
|
1639
1653
|
}
|
|
1640
|
-
if (
|
|
1641
|
-
t =
|
|
1654
|
+
if (Er.test(i.stem)) {
|
|
1655
|
+
t = w(w({}, t), Mt(i.stem));
|
|
1642
1656
|
continue;
|
|
1643
1657
|
}
|
|
1644
|
-
var s =
|
|
1645
|
-
s && (t =
|
|
1646
|
-
var a =
|
|
1647
|
-
a && (t =
|
|
1658
|
+
var s = Sr(i.stem);
|
|
1659
|
+
s && (t = w(w({}, t), s));
|
|
1660
|
+
var a = Jn(i.stem);
|
|
1661
|
+
a && (t = w(w({}, t), a));
|
|
1648
1662
|
}
|
|
1649
1663
|
return t;
|
|
1650
1664
|
}
|
|
1651
|
-
var
|
|
1665
|
+
var Ie = {
|
|
1652
1666
|
"001": [
|
|
1653
1667
|
"H",
|
|
1654
1668
|
"h"
|
|
@@ -3063,13 +3077,13 @@ var Oe = {
|
|
|
3063
3077
|
"h"
|
|
3064
3078
|
]
|
|
3065
3079
|
};
|
|
3066
|
-
function
|
|
3080
|
+
function qn(e, t) {
|
|
3067
3081
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3068
3082
|
var i = e.charAt(n);
|
|
3069
3083
|
if (i === "j") {
|
|
3070
3084
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3071
3085
|
o++, n++;
|
|
3072
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
|
3086
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Yn(t);
|
|
3073
3087
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
3074
3088
|
r += h;
|
|
3075
3089
|
for (; s-- > 0; )
|
|
@@ -3079,7 +3093,7 @@ function Zn(e, t) {
|
|
|
3079
3093
|
}
|
|
3080
3094
|
return r;
|
|
3081
3095
|
}
|
|
3082
|
-
function
|
|
3096
|
+
function Yn(e) {
|
|
3083
3097
|
var t = e.hourCycle;
|
|
3084
3098
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3085
3099
|
e.hourCycles && // @ts-ignore
|
|
@@ -3098,23 +3112,23 @@ function Jn(e) {
|
|
|
3098
3112
|
}
|
|
3099
3113
|
var r = e.language, n;
|
|
3100
3114
|
r !== "root" && (n = e.maximize().region);
|
|
3101
|
-
var i =
|
|
3115
|
+
var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
|
|
3102
3116
|
return i[0];
|
|
3103
3117
|
}
|
|
3104
|
-
var
|
|
3105
|
-
function
|
|
3118
|
+
var qe, Kn = new RegExp("^".concat(xr.source, "*")), ei = new RegExp("".concat(xr.source, "*$"));
|
|
3119
|
+
function x(e, t) {
|
|
3106
3120
|
return { start: e, end: t };
|
|
3107
3121
|
}
|
|
3108
|
-
var
|
|
3122
|
+
var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, li = ai ? Number.isSafeInteger : function(e) {
|
|
3109
3123
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3110
|
-
},
|
|
3124
|
+
}, ut = !0;
|
|
3111
3125
|
try {
|
|
3112
|
-
var
|
|
3113
|
-
|
|
3126
|
+
var ui = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3127
|
+
ut = ((qe = ui.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
|
|
3114
3128
|
} catch {
|
|
3115
|
-
|
|
3129
|
+
ut = !1;
|
|
3116
3130
|
}
|
|
3117
|
-
var
|
|
3131
|
+
var Dt = ti ? (
|
|
3118
3132
|
// Native
|
|
3119
3133
|
function(t, r, n) {
|
|
3120
3134
|
return t.startsWith(r, n);
|
|
@@ -3124,7 +3138,7 @@ var Nt = Yn ? (
|
|
|
3124
3138
|
function(t, r, n) {
|
|
3125
3139
|
return t.slice(n, n + r.length) === r;
|
|
3126
3140
|
}
|
|
3127
|
-
),
|
|
3141
|
+
), ht = ri ? String.fromCodePoint : (
|
|
3128
3142
|
// IE11
|
|
3129
3143
|
function() {
|
|
3130
3144
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3136,9 +3150,9 @@ var Nt = Yn ? (
|
|
|
3136
3150
|
}
|
|
3137
3151
|
return n;
|
|
3138
3152
|
}
|
|
3139
|
-
),
|
|
3153
|
+
), Ut = (
|
|
3140
3154
|
// native
|
|
3141
|
-
|
|
3155
|
+
ni ? Object.fromEntries : (
|
|
3142
3156
|
// Ponyfill
|
|
3143
3157
|
function(t) {
|
|
3144
3158
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3148,7 +3162,7 @@ var Nt = Yn ? (
|
|
|
3148
3162
|
return r;
|
|
3149
3163
|
}
|
|
3150
3164
|
)
|
|
3151
|
-
),
|
|
3165
|
+
), Tr = ii ? (
|
|
3152
3166
|
// Native
|
|
3153
3167
|
function(t, r) {
|
|
3154
3168
|
return t.codePointAt(r);
|
|
@@ -3162,7 +3176,7 @@ var Nt = Yn ? (
|
|
|
3162
3176
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3163
3177
|
}
|
|
3164
3178
|
}
|
|
3165
|
-
),
|
|
3179
|
+
), hi = oi ? (
|
|
3166
3180
|
// Native
|
|
3167
3181
|
function(t) {
|
|
3168
3182
|
return t.trimStart();
|
|
@@ -3170,9 +3184,9 @@ var Nt = Yn ? (
|
|
|
3170
3184
|
) : (
|
|
3171
3185
|
// Ponyfill
|
|
3172
3186
|
function(t) {
|
|
3173
|
-
return t.replace(
|
|
3187
|
+
return t.replace(Kn, "");
|
|
3174
3188
|
}
|
|
3175
|
-
),
|
|
3189
|
+
), ci = si ? (
|
|
3176
3190
|
// Native
|
|
3177
3191
|
function(t) {
|
|
3178
3192
|
return t.trimEnd();
|
|
@@ -3180,32 +3194,32 @@ var Nt = Yn ? (
|
|
|
3180
3194
|
) : (
|
|
3181
3195
|
// Ponyfill
|
|
3182
3196
|
function(t) {
|
|
3183
|
-
return t.replace(
|
|
3197
|
+
return t.replace(ei, "");
|
|
3184
3198
|
}
|
|
3185
3199
|
);
|
|
3186
|
-
function
|
|
3200
|
+
function Hr(e, t) {
|
|
3187
3201
|
return new RegExp(e, t);
|
|
3188
3202
|
}
|
|
3189
|
-
var
|
|
3190
|
-
if (
|
|
3191
|
-
var
|
|
3192
|
-
|
|
3203
|
+
var ct;
|
|
3204
|
+
if (ut) {
|
|
3205
|
+
var $t = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3206
|
+
ct = function(t, r) {
|
|
3193
3207
|
var n;
|
|
3194
|
-
|
|
3195
|
-
var i =
|
|
3208
|
+
$t.lastIndex = r;
|
|
3209
|
+
var i = $t.exec(t);
|
|
3196
3210
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3197
3211
|
};
|
|
3198
3212
|
} else
|
|
3199
|
-
|
|
3213
|
+
ct = function(t, r) {
|
|
3200
3214
|
for (var n = []; ; ) {
|
|
3201
|
-
var i =
|
|
3202
|
-
if (i === void 0 ||
|
|
3215
|
+
var i = Tr(t, r);
|
|
3216
|
+
if (i === void 0 || Pr(i) || mi(i))
|
|
3203
3217
|
break;
|
|
3204
3218
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3205
3219
|
}
|
|
3206
|
-
return
|
|
3220
|
+
return ht.apply(void 0, n);
|
|
3207
3221
|
};
|
|
3208
|
-
var
|
|
3222
|
+
var fi = (
|
|
3209
3223
|
/** @class */
|
|
3210
3224
|
function() {
|
|
3211
3225
|
function e(t, r) {
|
|
@@ -3230,13 +3244,13 @@ var ui = (
|
|
|
3230
3244
|
var a = this.clonePosition();
|
|
3231
3245
|
this.bump(), i.push({
|
|
3232
3246
|
type: C.pound,
|
|
3233
|
-
location:
|
|
3247
|
+
location: x(a, this.clonePosition())
|
|
3234
3248
|
});
|
|
3235
3249
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3236
3250
|
if (n)
|
|
3237
3251
|
break;
|
|
3238
|
-
return this.error(
|
|
3239
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3252
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3253
|
+
} else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
|
|
3240
3254
|
var s = this.parseTag(t, r);
|
|
3241
3255
|
if (s.err)
|
|
3242
3256
|
return s;
|
|
@@ -3259,7 +3273,7 @@ var ui = (
|
|
|
3259
3273
|
val: {
|
|
3260
3274
|
type: C.literal,
|
|
3261
3275
|
value: "<".concat(i, "/>"),
|
|
3262
|
-
location:
|
|
3276
|
+
location: x(n, this.clonePosition())
|
|
3263
3277
|
},
|
|
3264
3278
|
err: null
|
|
3265
3279
|
};
|
|
@@ -3269,25 +3283,25 @@ var ui = (
|
|
|
3269
3283
|
return o;
|
|
3270
3284
|
var s = o.val, a = this.clonePosition();
|
|
3271
3285
|
if (this.bumpIf("</")) {
|
|
3272
|
-
if (this.isEOF() || !
|
|
3273
|
-
return this.error(
|
|
3286
|
+
if (this.isEOF() || !ft(this.char()))
|
|
3287
|
+
return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
|
|
3274
3288
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3275
|
-
return i !== l ? this.error(
|
|
3289
|
+
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3276
3290
|
val: {
|
|
3277
3291
|
type: C.tag,
|
|
3278
3292
|
value: i,
|
|
3279
3293
|
children: s,
|
|
3280
|
-
location:
|
|
3294
|
+
location: x(n, this.clonePosition())
|
|
3281
3295
|
},
|
|
3282
3296
|
err: null
|
|
3283
|
-
} : this.error(
|
|
3297
|
+
} : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
|
|
3284
3298
|
} else
|
|
3285
|
-
return this.error(
|
|
3299
|
+
return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
|
|
3286
3300
|
} else
|
|
3287
|
-
return this.error(
|
|
3301
|
+
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3288
3302
|
}, e.prototype.parseTagName = function() {
|
|
3289
3303
|
var t = this.offset();
|
|
3290
|
-
for (this.bump(); !this.isEOF() &&
|
|
3304
|
+
for (this.bump(); !this.isEOF() && pi(this.char()); )
|
|
3291
3305
|
this.bump();
|
|
3292
3306
|
return this.message.slice(t, this.offset());
|
|
3293
3307
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3309,14 +3323,14 @@ var ui = (
|
|
|
3309
3323
|
}
|
|
3310
3324
|
break;
|
|
3311
3325
|
}
|
|
3312
|
-
var h =
|
|
3326
|
+
var h = x(n, this.clonePosition());
|
|
3313
3327
|
return {
|
|
3314
3328
|
val: { type: C.literal, value: i, location: h },
|
|
3315
3329
|
err: null
|
|
3316
3330
|
};
|
|
3317
3331
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3318
3332
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3319
|
-
!
|
|
3333
|
+
!di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3320
3334
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3321
3335
|
if (this.isEOF() || this.char() !== 39)
|
|
3322
3336
|
return null;
|
|
@@ -3350,23 +3364,23 @@ var ui = (
|
|
|
3350
3364
|
r.push(n);
|
|
3351
3365
|
this.bump();
|
|
3352
3366
|
}
|
|
3353
|
-
return
|
|
3367
|
+
return ht.apply(void 0, r);
|
|
3354
3368
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3355
3369
|
if (this.isEOF())
|
|
3356
3370
|
return null;
|
|
3357
3371
|
var n = this.char();
|
|
3358
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3372
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
|
|
3359
3373
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3360
3374
|
var n = this.clonePosition();
|
|
3361
3375
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3362
|
-
return this.error(
|
|
3376
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
|
3363
3377
|
if (this.char() === 125)
|
|
3364
|
-
return this.bump(), this.error(
|
|
3378
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
|
|
3365
3379
|
var i = this.parseIdentifierIfPossible().value;
|
|
3366
3380
|
if (!i)
|
|
3367
|
-
return this.error(
|
|
3381
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3368
3382
|
if (this.bumpSpace(), this.isEOF())
|
|
3369
|
-
return this.error(
|
|
3383
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
|
3370
3384
|
switch (this.char()) {
|
|
3371
3385
|
case 125:
|
|
3372
3386
|
return this.bump(), {
|
|
@@ -3374,25 +3388,25 @@ var ui = (
|
|
|
3374
3388
|
type: C.argument,
|
|
3375
3389
|
// value does not include the opening and closing braces.
|
|
3376
3390
|
value: i,
|
|
3377
|
-
location:
|
|
3391
|
+
location: x(n, this.clonePosition())
|
|
3378
3392
|
},
|
|
3379
3393
|
err: null
|
|
3380
3394
|
};
|
|
3381
3395
|
case 44:
|
|
3382
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3396
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3383
3397
|
default:
|
|
3384
|
-
return this.error(
|
|
3398
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3385
3399
|
}
|
|
3386
3400
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3387
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3401
|
+
var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
|
|
3388
3402
|
this.bumpTo(i);
|
|
3389
|
-
var o = this.clonePosition(), s =
|
|
3403
|
+
var o = this.clonePosition(), s = x(t, o);
|
|
3390
3404
|
return { value: n, location: s };
|
|
3391
3405
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3392
3406
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3393
3407
|
switch (a) {
|
|
3394
3408
|
case "":
|
|
3395
|
-
return this.error(
|
|
3409
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, h));
|
|
3396
3410
|
case "number":
|
|
3397
3411
|
case "date":
|
|
3398
3412
|
case "time": {
|
|
@@ -3403,37 +3417,37 @@ var ui = (
|
|
|
3403
3417
|
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3404
3418
|
if (d.err)
|
|
3405
3419
|
return d;
|
|
3406
|
-
var
|
|
3407
|
-
if (
|
|
3408
|
-
return this.error(
|
|
3409
|
-
var
|
|
3410
|
-
l = { style:
|
|
3420
|
+
var f = ci(d.val);
|
|
3421
|
+
if (f.length === 0)
|
|
3422
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3423
|
+
var p = x(u, this.clonePosition());
|
|
3424
|
+
l = { style: f, styleLocation: p };
|
|
3411
3425
|
}
|
|
3412
|
-
var
|
|
3413
|
-
if (
|
|
3414
|
-
return
|
|
3415
|
-
var
|
|
3416
|
-
if (l &&
|
|
3417
|
-
var
|
|
3426
|
+
var y = this.tryParseArgumentClose(i);
|
|
3427
|
+
if (y.err)
|
|
3428
|
+
return y;
|
|
3429
|
+
var g = x(i, this.clonePosition());
|
|
3430
|
+
if (l && Dt(l?.style, "::", 0)) {
|
|
3431
|
+
var S = hi(l.style.slice(2));
|
|
3418
3432
|
if (a === "number") {
|
|
3419
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3433
|
+
var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3420
3434
|
return d.err ? d : {
|
|
3421
|
-
val: { type: C.number, value: n, location:
|
|
3435
|
+
val: { type: C.number, value: n, location: g, style: d.val },
|
|
3422
3436
|
err: null
|
|
3423
3437
|
};
|
|
3424
3438
|
} else {
|
|
3425
|
-
if (
|
|
3426
|
-
return this.error(
|
|
3427
|
-
var
|
|
3428
|
-
this.locale && (
|
|
3429
|
-
var
|
|
3439
|
+
if (S.length === 0)
|
|
3440
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3441
|
+
var H = S;
|
|
3442
|
+
this.locale && (H = qn(S, this.locale));
|
|
3443
|
+
var f = {
|
|
3430
3444
|
type: me.dateTime,
|
|
3431
|
-
pattern:
|
|
3445
|
+
pattern: H,
|
|
3432
3446
|
location: l.styleLocation,
|
|
3433
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3434
|
-
},
|
|
3447
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(H) : {}
|
|
3448
|
+
}, E = a === "date" ? C.date : C.time;
|
|
3435
3449
|
return {
|
|
3436
|
-
val: { type:
|
|
3450
|
+
val: { type: E, value: n, location: g, style: f },
|
|
3437
3451
|
err: null
|
|
3438
3452
|
};
|
|
3439
3453
|
}
|
|
@@ -3442,7 +3456,7 @@ var ui = (
|
|
|
3442
3456
|
val: {
|
|
3443
3457
|
type: a === "number" ? C.number : a === "date" ? C.date : C.time,
|
|
3444
3458
|
value: n,
|
|
3445
|
-
location:
|
|
3459
|
+
location: g,
|
|
3446
3460
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3447
3461
|
},
|
|
3448
3462
|
err: null
|
|
@@ -3451,52 +3465,52 @@ var ui = (
|
|
|
3451
3465
|
case "plural":
|
|
3452
3466
|
case "selectordinal":
|
|
3453
3467
|
case "select": {
|
|
3454
|
-
var
|
|
3468
|
+
var m = this.clonePosition();
|
|
3455
3469
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3456
|
-
return this.error(
|
|
3470
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, w({}, m)));
|
|
3457
3471
|
this.bumpSpace();
|
|
3458
|
-
var
|
|
3459
|
-
if (a !== "select" &&
|
|
3472
|
+
var O = this.parseIdentifierIfPossible(), L = 0;
|
|
3473
|
+
if (a !== "select" && O.value === "offset") {
|
|
3460
3474
|
if (!this.bumpIf(":"))
|
|
3461
|
-
return this.error(
|
|
3475
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3462
3476
|
this.bumpSpace();
|
|
3463
|
-
var d = this.tryParseDecimalInteger(
|
|
3477
|
+
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3464
3478
|
if (d.err)
|
|
3465
3479
|
return d;
|
|
3466
|
-
this.bumpSpace(),
|
|
3480
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = d.val;
|
|
3467
3481
|
}
|
|
3468
|
-
var
|
|
3469
|
-
if (
|
|
3470
|
-
return
|
|
3471
|
-
var
|
|
3472
|
-
if (
|
|
3473
|
-
return
|
|
3474
|
-
var
|
|
3482
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
3483
|
+
if (R.err)
|
|
3484
|
+
return R;
|
|
3485
|
+
var y = this.tryParseArgumentClose(i);
|
|
3486
|
+
if (y.err)
|
|
3487
|
+
return y;
|
|
3488
|
+
var P = x(i, this.clonePosition());
|
|
3475
3489
|
return a === "select" ? {
|
|
3476
3490
|
val: {
|
|
3477
3491
|
type: C.select,
|
|
3478
3492
|
value: n,
|
|
3479
|
-
options:
|
|
3480
|
-
location:
|
|
3493
|
+
options: Ut(R.val),
|
|
3494
|
+
location: P
|
|
3481
3495
|
},
|
|
3482
3496
|
err: null
|
|
3483
3497
|
} : {
|
|
3484
3498
|
val: {
|
|
3485
3499
|
type: C.plural,
|
|
3486
3500
|
value: n,
|
|
3487
|
-
options:
|
|
3501
|
+
options: Ut(R.val),
|
|
3488
3502
|
offset: L,
|
|
3489
3503
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3490
|
-
location:
|
|
3504
|
+
location: P
|
|
3491
3505
|
},
|
|
3492
3506
|
err: null
|
|
3493
3507
|
};
|
|
3494
3508
|
}
|
|
3495
3509
|
default:
|
|
3496
|
-
return this.error(
|
|
3510
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, x(s, h));
|
|
3497
3511
|
}
|
|
3498
3512
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3499
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3513
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3500
3514
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3501
3515
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3502
3516
|
var n = this.char();
|
|
@@ -3505,7 +3519,7 @@ var ui = (
|
|
|
3505
3519
|
this.bump();
|
|
3506
3520
|
var i = this.clonePosition();
|
|
3507
3521
|
if (!this.bumpUntil("'"))
|
|
3508
|
-
return this.error(
|
|
3522
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
|
|
3509
3523
|
this.bump();
|
|
3510
3524
|
break;
|
|
3511
3525
|
}
|
|
@@ -3535,16 +3549,16 @@ var ui = (
|
|
|
3535
3549
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3536
3550
|
var n = [];
|
|
3537
3551
|
try {
|
|
3538
|
-
n =
|
|
3552
|
+
n = Wn(t);
|
|
3539
3553
|
} catch {
|
|
3540
|
-
return this.error(
|
|
3554
|
+
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3541
3555
|
}
|
|
3542
3556
|
return {
|
|
3543
3557
|
val: {
|
|
3544
3558
|
type: me.number,
|
|
3545
3559
|
tokens: n,
|
|
3546
3560
|
location: r,
|
|
3547
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3561
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
|
|
3548
3562
|
},
|
|
3549
3563
|
err: null
|
|
3550
3564
|
};
|
|
@@ -3553,34 +3567,34 @@ var ui = (
|
|
|
3553
3567
|
if (l.length === 0) {
|
|
3554
3568
|
var d = this.clonePosition();
|
|
3555
3569
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3556
|
-
var
|
|
3557
|
-
if (
|
|
3558
|
-
return
|
|
3559
|
-
u =
|
|
3570
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3571
|
+
if (f.err)
|
|
3572
|
+
return f;
|
|
3573
|
+
u = x(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
|
|
3560
3574
|
} else
|
|
3561
3575
|
break;
|
|
3562
3576
|
}
|
|
3563
3577
|
if (h.has(l))
|
|
3564
|
-
return this.error(r === "select" ?
|
|
3578
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3565
3579
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3566
|
-
var
|
|
3580
|
+
var p = this.clonePosition();
|
|
3567
3581
|
if (!this.bumpIf("{"))
|
|
3568
|
-
return this.error(r === "select" ?
|
|
3569
|
-
var
|
|
3570
|
-
if (v.err)
|
|
3571
|
-
return v;
|
|
3572
|
-
var y = this.tryParseArgumentClose(m);
|
|
3582
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3583
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3573
3584
|
if (y.err)
|
|
3574
3585
|
return y;
|
|
3586
|
+
var g = this.tryParseArgumentClose(p);
|
|
3587
|
+
if (g.err)
|
|
3588
|
+
return g;
|
|
3575
3589
|
a.push([
|
|
3576
3590
|
l,
|
|
3577
3591
|
{
|
|
3578
|
-
value:
|
|
3579
|
-
location:
|
|
3592
|
+
value: y.val,
|
|
3593
|
+
location: x(p, this.clonePosition())
|
|
3580
3594
|
}
|
|
3581
3595
|
]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
3582
3596
|
}
|
|
3583
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3597
|
+
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3584
3598
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3585
3599
|
var n = 1, i = this.clonePosition();
|
|
3586
3600
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3591,8 +3605,8 @@ var ui = (
|
|
|
3591
3605
|
else
|
|
3592
3606
|
break;
|
|
3593
3607
|
}
|
|
3594
|
-
var h =
|
|
3595
|
-
return o ? (s *= n,
|
|
3608
|
+
var h = x(i, this.clonePosition());
|
|
3609
|
+
return o ? (s *= n, li(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3596
3610
|
}, e.prototype.offset = function() {
|
|
3597
3611
|
return this.position.offset;
|
|
3598
3612
|
}, e.prototype.isEOF = function() {
|
|
@@ -3607,7 +3621,7 @@ var ui = (
|
|
|
3607
3621
|
var t = this.position.offset;
|
|
3608
3622
|
if (t >= this.message.length)
|
|
3609
3623
|
throw Error("out of bound");
|
|
3610
|
-
var r =
|
|
3624
|
+
var r = Tr(this.message, t);
|
|
3611
3625
|
if (r === void 0)
|
|
3612
3626
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3613
3627
|
return r;
|
|
@@ -3626,7 +3640,7 @@ var ui = (
|
|
|
3626
3640
|
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);
|
|
3627
3641
|
}
|
|
3628
3642
|
}, e.prototype.bumpIf = function(t) {
|
|
3629
|
-
if (
|
|
3643
|
+
if (Dt(this.message, t, this.offset())) {
|
|
3630
3644
|
for (var r = 0; r < t.length; r++)
|
|
3631
3645
|
this.bump();
|
|
3632
3646
|
return !0;
|
|
@@ -3648,7 +3662,7 @@ var ui = (
|
|
|
3648
3662
|
break;
|
|
3649
3663
|
}
|
|
3650
3664
|
}, e.prototype.bumpSpace = function() {
|
|
3651
|
-
for (; !this.isEOF() &&
|
|
3665
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3652
3666
|
this.bump();
|
|
3653
3667
|
}, e.prototype.peek = function() {
|
|
3654
3668
|
if (this.isEOF())
|
|
@@ -3658,38 +3672,38 @@ var ui = (
|
|
|
3658
3672
|
}, e;
|
|
3659
3673
|
}()
|
|
3660
3674
|
);
|
|
3661
|
-
function
|
|
3675
|
+
function ft(e) {
|
|
3662
3676
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3663
3677
|
}
|
|
3664
|
-
function
|
|
3665
|
-
return
|
|
3678
|
+
function di(e) {
|
|
3679
|
+
return ft(e) || e === 47;
|
|
3666
3680
|
}
|
|
3667
|
-
function
|
|
3681
|
+
function pi(e) {
|
|
3668
3682
|
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;
|
|
3669
3683
|
}
|
|
3670
|
-
function
|
|
3684
|
+
function Pr(e) {
|
|
3671
3685
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3672
3686
|
}
|
|
3673
|
-
function
|
|
3687
|
+
function mi(e) {
|
|
3674
3688
|
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;
|
|
3675
3689
|
}
|
|
3676
|
-
function
|
|
3690
|
+
function dt(e) {
|
|
3677
3691
|
e.forEach(function(t) {
|
|
3678
|
-
if (delete t.location,
|
|
3692
|
+
if (delete t.location, gr(t) || yr(t))
|
|
3679
3693
|
for (var r in t.options)
|
|
3680
|
-
delete t.options[r].location,
|
|
3694
|
+
delete t.options[r].location, dt(t.options[r].value);
|
|
3681
3695
|
else
|
|
3682
|
-
|
|
3696
|
+
pr(t) && _r(t.style) || (mr(t) || br(t)) && lt(t.style) ? delete t.style.location : vr(t) && dt(t.children);
|
|
3683
3697
|
});
|
|
3684
3698
|
}
|
|
3685
|
-
function
|
|
3686
|
-
t === void 0 && (t = {}), t =
|
|
3687
|
-
var r = new
|
|
3699
|
+
function bi(e, t) {
|
|
3700
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3701
|
+
var r = new fi(e, t).parse();
|
|
3688
3702
|
if (r.err) {
|
|
3689
|
-
var n = SyntaxError(
|
|
3703
|
+
var n = SyntaxError(_[r.err.kind]);
|
|
3690
3704
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3691
3705
|
}
|
|
3692
|
-
return t?.captureLocation ||
|
|
3706
|
+
return t?.captureLocation || dt(r.val), r.val;
|
|
3693
3707
|
}
|
|
3694
3708
|
var be;
|
|
3695
3709
|
(function(e) {
|
|
@@ -3698,7 +3712,7 @@ var be;
|
|
|
3698
3712
|
var ke = (
|
|
3699
3713
|
/** @class */
|
|
3700
3714
|
function(e) {
|
|
3701
|
-
|
|
3715
|
+
J(t, e);
|
|
3702
3716
|
function t(r, n, i) {
|
|
3703
3717
|
var o = e.call(this, r) || this;
|
|
3704
3718
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3707,155 +3721,155 @@ var ke = (
|
|
|
3707
3721
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3708
3722
|
}, t;
|
|
3709
3723
|
}(Error)
|
|
3710
|
-
),
|
|
3724
|
+
), Gt = (
|
|
3711
3725
|
/** @class */
|
|
3712
3726
|
function(e) {
|
|
3713
|
-
|
|
3727
|
+
J(t, e);
|
|
3714
3728
|
function t(r, n, i, o) {
|
|
3715
3729
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
|
|
3716
3730
|
}
|
|
3717
3731
|
return t;
|
|
3718
3732
|
}(ke)
|
|
3719
|
-
),
|
|
3733
|
+
), gi = (
|
|
3720
3734
|
/** @class */
|
|
3721
3735
|
function(e) {
|
|
3722
|
-
|
|
3736
|
+
J(t, e);
|
|
3723
3737
|
function t(r, n, i) {
|
|
3724
3738
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
|
|
3725
3739
|
}
|
|
3726
3740
|
return t;
|
|
3727
3741
|
}(ke)
|
|
3728
|
-
),
|
|
3742
|
+
), yi = (
|
|
3729
3743
|
/** @class */
|
|
3730
3744
|
function(e) {
|
|
3731
|
-
|
|
3745
|
+
J(t, e);
|
|
3732
3746
|
function t(r, n) {
|
|
3733
3747
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
|
|
3734
3748
|
}
|
|
3735
3749
|
return t;
|
|
3736
3750
|
}(ke)
|
|
3737
|
-
),
|
|
3751
|
+
), D;
|
|
3738
3752
|
(function(e) {
|
|
3739
3753
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3740
|
-
})(
|
|
3741
|
-
function
|
|
3754
|
+
})(D || (D = {}));
|
|
3755
|
+
function vi(e) {
|
|
3742
3756
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3743
3757
|
var n = t[t.length - 1];
|
|
3744
|
-
return !n || n.type !==
|
|
3758
|
+
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
3745
3759
|
}, []);
|
|
3746
3760
|
}
|
|
3747
|
-
function
|
|
3761
|
+
function _i(e) {
|
|
3748
3762
|
return typeof e == "function";
|
|
3749
3763
|
}
|
|
3750
3764
|
function Ne(e, t, r, n, i, o, s) {
|
|
3751
|
-
if (e.length === 1 &&
|
|
3765
|
+
if (e.length === 1 && Lt(e[0]))
|
|
3752
3766
|
return [
|
|
3753
3767
|
{
|
|
3754
|
-
type:
|
|
3768
|
+
type: D.literal,
|
|
3755
3769
|
value: e[0].value
|
|
3756
3770
|
}
|
|
3757
3771
|
];
|
|
3758
3772
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3759
3773
|
var u = l[h];
|
|
3760
|
-
if (
|
|
3774
|
+
if (Lt(u)) {
|
|
3761
3775
|
a.push({
|
|
3762
|
-
type:
|
|
3776
|
+
type: D.literal,
|
|
3763
3777
|
value: u.value
|
|
3764
3778
|
});
|
|
3765
3779
|
continue;
|
|
3766
3780
|
}
|
|
3767
|
-
if (
|
|
3781
|
+
if (kn(u)) {
|
|
3768
3782
|
typeof o == "number" && a.push({
|
|
3769
|
-
type:
|
|
3783
|
+
type: D.literal,
|
|
3770
3784
|
value: r.getNumberFormat(t).format(o)
|
|
3771
3785
|
});
|
|
3772
3786
|
continue;
|
|
3773
3787
|
}
|
|
3774
3788
|
var d = u.value;
|
|
3775
3789
|
if (!(i && d in i))
|
|
3776
|
-
throw new
|
|
3777
|
-
var
|
|
3778
|
-
if (
|
|
3779
|
-
(!
|
|
3780
|
-
type: typeof
|
|
3781
|
-
value:
|
|
3790
|
+
throw new yi(d, s);
|
|
3791
|
+
var f = i[d];
|
|
3792
|
+
if (Gn(u)) {
|
|
3793
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3794
|
+
type: typeof f == "string" ? D.literal : D.object,
|
|
3795
|
+
value: f
|
|
3782
3796
|
});
|
|
3783
3797
|
continue;
|
|
3784
3798
|
}
|
|
3785
|
-
if (
|
|
3786
|
-
var
|
|
3799
|
+
if (mr(u)) {
|
|
3800
|
+
var p = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
|
|
3787
3801
|
a.push({
|
|
3788
|
-
type:
|
|
3789
|
-
value: r.getDateTimeFormat(t,
|
|
3802
|
+
type: D.literal,
|
|
3803
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3790
3804
|
});
|
|
3791
3805
|
continue;
|
|
3792
3806
|
}
|
|
3793
|
-
if (
|
|
3794
|
-
var
|
|
3807
|
+
if (br(u)) {
|
|
3808
|
+
var p = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3795
3809
|
a.push({
|
|
3796
|
-
type:
|
|
3797
|
-
value: r.getDateTimeFormat(t,
|
|
3810
|
+
type: D.literal,
|
|
3811
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3798
3812
|
});
|
|
3799
3813
|
continue;
|
|
3800
3814
|
}
|
|
3801
|
-
if (
|
|
3802
|
-
var
|
|
3803
|
-
|
|
3804
|
-
type:
|
|
3805
|
-
value: r.getNumberFormat(t,
|
|
3815
|
+
if (pr(u)) {
|
|
3816
|
+
var p = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
|
|
3817
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3818
|
+
type: D.literal,
|
|
3819
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3806
3820
|
});
|
|
3807
3821
|
continue;
|
|
3808
3822
|
}
|
|
3809
|
-
if (
|
|
3810
|
-
var
|
|
3811
|
-
if (!
|
|
3812
|
-
throw new
|
|
3813
|
-
var
|
|
3823
|
+
if (vr(u)) {
|
|
3824
|
+
var y = u.children, g = u.value, S = i[g];
|
|
3825
|
+
if (!_i(S))
|
|
3826
|
+
throw new gi(g, "function", s);
|
|
3827
|
+
var H = Ne(y, t, r, n, i, o), E = S(H.map(function(L) {
|
|
3814
3828
|
return L.value;
|
|
3815
3829
|
}));
|
|
3816
|
-
Array.isArray(
|
|
3830
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
|
|
3817
3831
|
return {
|
|
3818
|
-
type: typeof L == "string" ?
|
|
3832
|
+
type: typeof L == "string" ? D.literal : D.object,
|
|
3819
3833
|
value: L
|
|
3820
3834
|
};
|
|
3821
3835
|
}));
|
|
3822
3836
|
}
|
|
3823
|
-
if (
|
|
3824
|
-
var
|
|
3825
|
-
if (!
|
|
3826
|
-
throw new
|
|
3827
|
-
a.push.apply(a, Ne(
|
|
3837
|
+
if (gr(u)) {
|
|
3838
|
+
var m = u.options[f] || u.options.other;
|
|
3839
|
+
if (!m)
|
|
3840
|
+
throw new Gt(u.value, f, Object.keys(u.options), s);
|
|
3841
|
+
a.push.apply(a, Ne(m.value, t, r, n, i));
|
|
3828
3842
|
continue;
|
|
3829
3843
|
}
|
|
3830
|
-
if (
|
|
3831
|
-
var
|
|
3832
|
-
if (!
|
|
3844
|
+
if (yr(u)) {
|
|
3845
|
+
var m = u.options["=".concat(f)];
|
|
3846
|
+
if (!m) {
|
|
3833
3847
|
if (!Intl.PluralRules)
|
|
3834
3848
|
throw new ke(`Intl.PluralRules is not available in this environment.
|
|
3835
3849
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3836
3850
|
`, be.MISSING_INTL_API, s);
|
|
3837
|
-
var
|
|
3838
|
-
|
|
3851
|
+
var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3852
|
+
m = u.options[O] || u.options.other;
|
|
3839
3853
|
}
|
|
3840
|
-
if (!
|
|
3841
|
-
throw new
|
|
3842
|
-
a.push.apply(a, Ne(
|
|
3854
|
+
if (!m)
|
|
3855
|
+
throw new Gt(u.value, f, Object.keys(u.options), s);
|
|
3856
|
+
a.push.apply(a, Ne(m.value, t, r, n, i, f - (u.offset || 0)));
|
|
3843
3857
|
continue;
|
|
3844
3858
|
}
|
|
3845
3859
|
}
|
|
3846
|
-
return
|
|
3860
|
+
return vi(a);
|
|
3847
3861
|
}
|
|
3848
|
-
function
|
|
3849
|
-
return t ?
|
|
3850
|
-
return r[n] =
|
|
3862
|
+
function xi(e, t) {
|
|
3863
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3864
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3851
3865
|
}, {})) : e;
|
|
3852
3866
|
}
|
|
3853
|
-
function
|
|
3867
|
+
function Ei(e, t) {
|
|
3854
3868
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3855
|
-
return r[n] =
|
|
3856
|
-
},
|
|
3869
|
+
return r[n] = xi(e[n], t[n]), r;
|
|
3870
|
+
}, w({}, e)) : e;
|
|
3857
3871
|
}
|
|
3858
|
-
function
|
|
3872
|
+
function Ye(e) {
|
|
3859
3873
|
return {
|
|
3860
3874
|
create: function() {
|
|
3861
3875
|
return {
|
|
@@ -3869,39 +3883,39 @@ function Qe(e) {
|
|
|
3869
3883
|
}
|
|
3870
3884
|
};
|
|
3871
3885
|
}
|
|
3872
|
-
function
|
|
3886
|
+
function wi(e) {
|
|
3873
3887
|
return e === void 0 && (e = {
|
|
3874
3888
|
number: {},
|
|
3875
3889
|
dateTime: {},
|
|
3876
3890
|
pluralRules: {}
|
|
3877
3891
|
}), {
|
|
3878
|
-
getNumberFormat:
|
|
3892
|
+
getNumberFormat: Je(function() {
|
|
3879
3893
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3880
3894
|
r[n] = arguments[n];
|
|
3881
3895
|
return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
|
|
3882
3896
|
}, {
|
|
3883
|
-
cache:
|
|
3884
|
-
strategy:
|
|
3897
|
+
cache: Ye(e.number),
|
|
3898
|
+
strategy: Qe.variadic
|
|
3885
3899
|
}),
|
|
3886
|
-
getDateTimeFormat:
|
|
3900
|
+
getDateTimeFormat: Je(function() {
|
|
3887
3901
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3888
3902
|
r[n] = arguments[n];
|
|
3889
3903
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
|
|
3890
3904
|
}, {
|
|
3891
|
-
cache:
|
|
3892
|
-
strategy:
|
|
3905
|
+
cache: Ye(e.dateTime),
|
|
3906
|
+
strategy: Qe.variadic
|
|
3893
3907
|
}),
|
|
3894
|
-
getPluralRules:
|
|
3908
|
+
getPluralRules: Je(function() {
|
|
3895
3909
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3896
3910
|
r[n] = arguments[n];
|
|
3897
3911
|
return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
|
|
3898
3912
|
}, {
|
|
3899
|
-
cache:
|
|
3900
|
-
strategy:
|
|
3913
|
+
cache: Ye(e.pluralRules),
|
|
3914
|
+
strategy: Qe.variadic
|
|
3901
3915
|
})
|
|
3902
3916
|
};
|
|
3903
3917
|
}
|
|
3904
|
-
var
|
|
3918
|
+
var Si = (
|
|
3905
3919
|
/** @class */
|
|
3906
3920
|
function() {
|
|
3907
3921
|
function e(t, r, n, i) {
|
|
@@ -3915,8 +3929,8 @@ var xi = (
|
|
|
3915
3929
|
var l = o.formatToParts(h);
|
|
3916
3930
|
if (l.length === 1)
|
|
3917
3931
|
return l[0].value;
|
|
3918
|
-
var u = l.reduce(function(d,
|
|
3919
|
-
return !d.length ||
|
|
3932
|
+
var u = l.reduce(function(d, f) {
|
|
3933
|
+
return !d.length || f.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
|
3920
3934
|
}, []);
|
|
3921
3935
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3922
3936
|
}, this.formatToParts = function(h) {
|
|
@@ -3933,13 +3947,13 @@ var xi = (
|
|
|
3933
3947
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3934
3948
|
var s = i || {};
|
|
3935
3949
|
s.formatters;
|
|
3936
|
-
var a =
|
|
3937
|
-
this.ast = e.__parse(t,
|
|
3950
|
+
var a = rn(s, ["formatters"]);
|
|
3951
|
+
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3938
3952
|
} else
|
|
3939
3953
|
this.ast = t;
|
|
3940
3954
|
if (!Array.isArray(this.ast))
|
|
3941
3955
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3942
|
-
this.formats =
|
|
3956
|
+
this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
|
|
3943
3957
|
}
|
|
3944
3958
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3945
3959
|
get: function() {
|
|
@@ -3952,7 +3966,7 @@ var xi = (
|
|
|
3952
3966
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3953
3967
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3954
3968
|
}
|
|
3955
|
-
}, e.__parse =
|
|
3969
|
+
}, e.__parse = bi, e.formats = {
|
|
3956
3970
|
number: {
|
|
3957
3971
|
integer: {
|
|
3958
3972
|
maximumFractionDigits: 0
|
|
@@ -4013,7 +4027,7 @@ var xi = (
|
|
|
4013
4027
|
}, e;
|
|
4014
4028
|
}()
|
|
4015
4029
|
);
|
|
4016
|
-
function
|
|
4030
|
+
function Ti(e, t) {
|
|
4017
4031
|
if (t == null)
|
|
4018
4032
|
return;
|
|
4019
4033
|
if (t in e)
|
|
@@ -4034,92 +4048,92 @@ function Ei(e, t) {
|
|
|
4034
4048
|
n = void 0;
|
|
4035
4049
|
return n;
|
|
4036
4050
|
}
|
|
4037
|
-
const
|
|
4051
|
+
const q = {}, Hi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Ar = (e, t) => {
|
|
4038
4052
|
if (t == null)
|
|
4039
4053
|
return;
|
|
4040
|
-
if (t in
|
|
4041
|
-
return
|
|
4054
|
+
if (t in q && e in q[t])
|
|
4055
|
+
return q[t][e];
|
|
4042
4056
|
const r = je(t);
|
|
4043
4057
|
for (let n = 0; n < r.length; n++) {
|
|
4044
|
-
const i = r[n], o =
|
|
4058
|
+
const i = r[n], o = Ai(i, e);
|
|
4045
4059
|
if (o)
|
|
4046
|
-
return
|
|
4060
|
+
return Hi(e, t, o);
|
|
4047
4061
|
}
|
|
4048
4062
|
};
|
|
4049
|
-
let
|
|
4063
|
+
let vt;
|
|
4050
4064
|
const ve = Ge({});
|
|
4051
|
-
function
|
|
4052
|
-
return
|
|
4065
|
+
function Pi(e) {
|
|
4066
|
+
return vt[e] || null;
|
|
4053
4067
|
}
|
|
4054
|
-
function
|
|
4055
|
-
return e in
|
|
4068
|
+
function Br(e) {
|
|
4069
|
+
return e in vt;
|
|
4056
4070
|
}
|
|
4057
|
-
function
|
|
4058
|
-
if (!
|
|
4071
|
+
function Ai(e, t) {
|
|
4072
|
+
if (!Br(e))
|
|
4059
4073
|
return null;
|
|
4060
|
-
const r =
|
|
4061
|
-
return
|
|
4074
|
+
const r = Pi(e);
|
|
4075
|
+
return Ti(r, t);
|
|
4062
4076
|
}
|
|
4063
|
-
function
|
|
4077
|
+
function Bi(e) {
|
|
4064
4078
|
if (e == null)
|
|
4065
4079
|
return;
|
|
4066
4080
|
const t = je(e);
|
|
4067
4081
|
for (let r = 0; r < t.length; r++) {
|
|
4068
4082
|
const n = t[r];
|
|
4069
|
-
if (
|
|
4083
|
+
if (Br(n))
|
|
4070
4084
|
return n;
|
|
4071
4085
|
}
|
|
4072
4086
|
}
|
|
4073
|
-
function
|
|
4074
|
-
delete
|
|
4087
|
+
function Fr(e, ...t) {
|
|
4088
|
+
delete q[e], ve.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
|
|
4075
4089
|
}
|
|
4076
4090
|
ye(
|
|
4077
4091
|
[ve],
|
|
4078
4092
|
([e]) => Object.keys(e)
|
|
4079
4093
|
);
|
|
4080
|
-
ve.subscribe((e) =>
|
|
4094
|
+
ve.subscribe((e) => vt = e);
|
|
4081
4095
|
const Me = {};
|
|
4082
|
-
function
|
|
4096
|
+
function Fi(e, t) {
|
|
4083
4097
|
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
|
4084
4098
|
}
|
|
4085
|
-
function
|
|
4099
|
+
function Cr(e) {
|
|
4086
4100
|
return Me[e];
|
|
4087
4101
|
}
|
|
4088
|
-
function
|
|
4102
|
+
function Ci(e) {
|
|
4089
4103
|
return je(e).map((t) => {
|
|
4090
|
-
const r =
|
|
4104
|
+
const r = Cr(t);
|
|
4091
4105
|
return [t, r ? [...r] : []];
|
|
4092
4106
|
}).filter(([, t]) => t.length > 0);
|
|
4093
4107
|
}
|
|
4094
|
-
function
|
|
4108
|
+
function pt(e) {
|
|
4095
4109
|
return e == null ? !1 : je(e).some(
|
|
4096
4110
|
(t) => {
|
|
4097
4111
|
var r;
|
|
4098
|
-
return (r =
|
|
4112
|
+
return (r = Cr(t)) == null ? void 0 : r.size;
|
|
4099
4113
|
}
|
|
4100
4114
|
);
|
|
4101
4115
|
}
|
|
4102
|
-
function
|
|
4116
|
+
function Ii(e, t) {
|
|
4103
4117
|
return Promise.all(
|
|
4104
|
-
t.map((n) => (
|
|
4105
|
-
).then((n) =>
|
|
4106
|
-
}
|
|
4107
|
-
const
|
|
4108
|
-
function
|
|
4109
|
-
if (!
|
|
4110
|
-
return e in
|
|
4111
|
-
const t =
|
|
4112
|
-
return
|
|
4118
|
+
t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
|
|
4119
|
+
).then((n) => Fr(e, ...n));
|
|
4120
|
+
}
|
|
4121
|
+
const Ee = {};
|
|
4122
|
+
function Ir(e) {
|
|
4123
|
+
if (!pt(e))
|
|
4124
|
+
return e in Ee ? Ee[e] : Promise.resolve();
|
|
4125
|
+
const t = Ci(e);
|
|
4126
|
+
return Ee[e] = Promise.all(
|
|
4113
4127
|
t.map(
|
|
4114
|
-
([r, n]) =>
|
|
4128
|
+
([r, n]) => Ii(r, n)
|
|
4115
4129
|
)
|
|
4116
4130
|
).then(() => {
|
|
4117
|
-
if (
|
|
4118
|
-
return
|
|
4119
|
-
delete
|
|
4120
|
-
}),
|
|
4131
|
+
if (pt(e))
|
|
4132
|
+
return Ir(e);
|
|
4133
|
+
delete Ee[e];
|
|
4134
|
+
}), Ee[e];
|
|
4121
4135
|
}
|
|
4122
|
-
const
|
|
4136
|
+
const Oi = {
|
|
4123
4137
|
number: {
|
|
4124
4138
|
scientific: { notation: "scientific" },
|
|
4125
4139
|
engineering: { notation: "engineering" },
|
|
@@ -4148,57 +4162,57 @@ const Fi = {
|
|
|
4148
4162
|
timeZoneName: "short"
|
|
4149
4163
|
}
|
|
4150
4164
|
}
|
|
4151
|
-
},
|
|
4165
|
+
}, Li = {
|
|
4152
4166
|
fallbackLocale: null,
|
|
4153
4167
|
loadingDelay: 200,
|
|
4154
|
-
formats:
|
|
4168
|
+
formats: Oi,
|
|
4155
4169
|
warnOnMissingMessages: !0,
|
|
4156
4170
|
handleMissingMessage: void 0,
|
|
4157
4171
|
ignoreTag: !0
|
|
4158
|
-
},
|
|
4172
|
+
}, Ni = Li;
|
|
4159
4173
|
function ge() {
|
|
4160
|
-
return
|
|
4161
|
-
}
|
|
4162
|
-
const
|
|
4163
|
-
var
|
|
4164
|
-
for (var r in t)
|
|
4165
|
-
|
|
4166
|
-
if (
|
|
4167
|
-
for (var r of
|
|
4168
|
-
|
|
4174
|
+
return Ni;
|
|
4175
|
+
}
|
|
4176
|
+
const Ke = Ge(!1);
|
|
4177
|
+
var Mi = Object.defineProperty, Ri = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
|
|
4178
|
+
for (var r in t || (t = {}))
|
|
4179
|
+
Ui.call(t, r) && jt(e, r, t[r]);
|
|
4180
|
+
if (kt)
|
|
4181
|
+
for (var r of kt(t))
|
|
4182
|
+
$i.call(t, r) && jt(e, r, t[r]);
|
|
4169
4183
|
return e;
|
|
4170
|
-
},
|
|
4171
|
-
let
|
|
4172
|
-
const
|
|
4173
|
-
function
|
|
4184
|
+
}, ki = (e, t) => Ri(e, Di(t));
|
|
4185
|
+
let mt;
|
|
4186
|
+
const De = Ge(null);
|
|
4187
|
+
function Vt(e) {
|
|
4174
4188
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4175
4189
|
}
|
|
4176
4190
|
function je(e, t = ge().fallbackLocale) {
|
|
4177
|
-
const r =
|
|
4178
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4191
|
+
const r = Vt(e);
|
|
4192
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
|
|
4179
4193
|
}
|
|
4180
|
-
function
|
|
4181
|
-
return
|
|
4194
|
+
function ie() {
|
|
4195
|
+
return mt ?? void 0;
|
|
4182
4196
|
}
|
|
4183
|
-
|
|
4184
|
-
|
|
4197
|
+
De.subscribe((e) => {
|
|
4198
|
+
mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4185
4199
|
});
|
|
4186
|
-
const
|
|
4187
|
-
if (e &&
|
|
4200
|
+
const ji = (e) => {
|
|
4201
|
+
if (e && Bi(e) && pt(e)) {
|
|
4188
4202
|
const { loadingDelay: t } = ge();
|
|
4189
4203
|
let r;
|
|
4190
|
-
return typeof window < "u" &&
|
|
4191
|
-
() =>
|
|
4204
|
+
return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
|
|
4205
|
+
() => Ke.set(!0),
|
|
4192
4206
|
t
|
|
4193
|
-
) :
|
|
4194
|
-
|
|
4207
|
+
) : Ke.set(!0), Ir(e).then(() => {
|
|
4208
|
+
De.set(e);
|
|
4195
4209
|
}).finally(() => {
|
|
4196
|
-
clearTimeout(r),
|
|
4210
|
+
clearTimeout(r), Ke.set(!1);
|
|
4197
4211
|
});
|
|
4198
4212
|
}
|
|
4199
|
-
return
|
|
4200
|
-
},
|
|
4201
|
-
set:
|
|
4213
|
+
return De.set(e);
|
|
4214
|
+
}, ne = ki(Gi({}, De), {
|
|
4215
|
+
set: ji
|
|
4202
4216
|
}), Ve = (e) => {
|
|
4203
4217
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4204
4218
|
return (n) => {
|
|
@@ -4206,90 +4220,90 @@ const $i = (e) => {
|
|
|
4206
4220
|
return i in t ? t[i] : t[i] = e(n);
|
|
4207
4221
|
};
|
|
4208
4222
|
};
|
|
4209
|
-
var
|
|
4223
|
+
var Vi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
|
|
4210
4224
|
for (var r in t || (t = {}))
|
|
4211
|
-
|
|
4212
|
-
if (
|
|
4213
|
-
for (var r of
|
|
4214
|
-
|
|
4225
|
+
Or.call(t, r) && Xt(e, r, t[r]);
|
|
4226
|
+
if (Ue)
|
|
4227
|
+
for (var r of Ue(t))
|
|
4228
|
+
Lr.call(t, r) && Xt(e, r, t[r]);
|
|
4215
4229
|
return e;
|
|
4216
4230
|
}, _e = (e, t) => {
|
|
4217
4231
|
var r = {};
|
|
4218
4232
|
for (var n in e)
|
|
4219
|
-
|
|
4220
|
-
if (e != null &&
|
|
4221
|
-
for (var n of
|
|
4222
|
-
t.indexOf(n) < 0 &&
|
|
4233
|
+
Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4234
|
+
if (e != null && Ue)
|
|
4235
|
+
for (var n of Ue(e))
|
|
4236
|
+
t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
|
|
4223
4237
|
return r;
|
|
4224
4238
|
};
|
|
4225
|
-
const
|
|
4239
|
+
const Pe = (e, t) => {
|
|
4226
4240
|
const { formats: r } = ge();
|
|
4227
4241
|
if (e in r && t in r[e])
|
|
4228
4242
|
return r[e][t];
|
|
4229
4243
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4230
|
-
},
|
|
4244
|
+
}, Xi = Ve(
|
|
4231
4245
|
(e) => {
|
|
4232
4246
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
|
4233
4247
|
if (r == null)
|
|
4234
4248
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4235
|
-
return n && (i =
|
|
4249
|
+
return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4236
4250
|
}
|
|
4237
|
-
),
|
|
4251
|
+
), Wi = Ve(
|
|
4238
4252
|
(e) => {
|
|
4239
4253
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
|
4240
4254
|
if (r == null)
|
|
4241
4255
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4242
|
-
return n ? i =
|
|
4256
|
+
return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4243
4257
|
}
|
|
4244
|
-
),
|
|
4258
|
+
), zi = Ve(
|
|
4245
4259
|
(e) => {
|
|
4246
4260
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
|
4247
4261
|
if (r == null)
|
|
4248
4262
|
throw new Error(
|
|
4249
4263
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4250
4264
|
);
|
|
4251
|
-
return n ? i =
|
|
4265
|
+
return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4252
4266
|
}
|
|
4253
|
-
),
|
|
4267
|
+
), Zi = (e = {}) => {
|
|
4254
4268
|
var t = e, {
|
|
4255
|
-
locale: r =
|
|
4269
|
+
locale: r = ie()
|
|
4256
4270
|
} = t, n = _e(t, [
|
|
4257
4271
|
"locale"
|
|
4258
4272
|
]);
|
|
4259
|
-
return
|
|
4260
|
-
},
|
|
4273
|
+
return Xi(_t({ locale: r }, n));
|
|
4274
|
+
}, Ji = (e = {}) => {
|
|
4261
4275
|
var t = e, {
|
|
4262
|
-
locale: r =
|
|
4276
|
+
locale: r = ie()
|
|
4263
4277
|
} = t, n = _e(t, [
|
|
4264
4278
|
"locale"
|
|
4265
4279
|
]);
|
|
4266
|
-
return
|
|
4267
|
-
},
|
|
4280
|
+
return Wi(_t({ locale: r }, n));
|
|
4281
|
+
}, Qi = (e = {}) => {
|
|
4268
4282
|
var t = e, {
|
|
4269
|
-
locale: r =
|
|
4283
|
+
locale: r = ie()
|
|
4270
4284
|
} = t, n = _e(t, [
|
|
4271
4285
|
"locale"
|
|
4272
4286
|
]);
|
|
4273
|
-
return
|
|
4274
|
-
},
|
|
4287
|
+
return zi(_t({ locale: r }, n));
|
|
4288
|
+
}, qi = Ve(
|
|
4275
4289
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4276
|
-
(e, t =
|
|
4290
|
+
(e, t = ie()) => new Si(e, t, ge().formats, {
|
|
4277
4291
|
ignoreTag: ge().ignoreTag
|
|
4278
4292
|
})
|
|
4279
|
-
),
|
|
4293
|
+
), Yi = (e, t = {}) => {
|
|
4280
4294
|
var r, n, i, o;
|
|
4281
4295
|
let s = t;
|
|
4282
4296
|
typeof e == "object" && (s = e, e = s.id);
|
|
4283
4297
|
const {
|
|
4284
4298
|
values: a,
|
|
4285
|
-
locale: h =
|
|
4299
|
+
locale: h = ie(),
|
|
4286
4300
|
default: l
|
|
4287
4301
|
} = s;
|
|
4288
4302
|
if (h == null)
|
|
4289
4303
|
throw new Error(
|
|
4290
4304
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4291
4305
|
);
|
|
4292
|
-
let u =
|
|
4306
|
+
let u = Ar(e, h);
|
|
4293
4307
|
if (!u)
|
|
4294
4308
|
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;
|
|
4295
4309
|
else if (typeof u != "string")
|
|
@@ -4300,24 +4314,24 @@ const He = (e, t) => {
|
|
|
4300
4314
|
return u;
|
|
4301
4315
|
let d = u;
|
|
4302
4316
|
try {
|
|
4303
|
-
d =
|
|
4304
|
-
} catch (
|
|
4305
|
-
|
|
4317
|
+
d = qi(u, h).format(a);
|
|
4318
|
+
} catch (f) {
|
|
4319
|
+
f instanceof Error && console.warn(
|
|
4306
4320
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4307
|
-
|
|
4321
|
+
f.message
|
|
4308
4322
|
);
|
|
4309
4323
|
}
|
|
4310
4324
|
return d;
|
|
4311
|
-
},
|
|
4312
|
-
ye([
|
|
4313
|
-
ye([
|
|
4314
|
-
ye([
|
|
4315
|
-
ye([
|
|
4316
|
-
window.emWidgets = { topic:
|
|
4317
|
-
const
|
|
4318
|
-
function
|
|
4325
|
+
}, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => Ji(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = ie()) => Ar(e, t), no = ye([ne, ve], () => Yi);
|
|
4326
|
+
ye([ne], () => Ki);
|
|
4327
|
+
ye([ne], () => eo);
|
|
4328
|
+
ye([ne], () => to);
|
|
4329
|
+
ye([ne, ve], () => ro);
|
|
4330
|
+
window.emWidgets = { topic: gn };
|
|
4331
|
+
const io = (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)), oo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4332
|
+
function Bo(e, t) {
|
|
4319
4333
|
const r = window.navigator.userAgent;
|
|
4320
|
-
return
|
|
4334
|
+
return io(r) ? t = e.filter((n) => {
|
|
4321
4335
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4322
4336
|
return n;
|
|
4323
4337
|
}) : t = e.filter((n) => {
|
|
@@ -4325,13 +4339,13 @@ function Ho(e, t) {
|
|
|
4325
4339
|
return n;
|
|
4326
4340
|
}), t;
|
|
4327
4341
|
}
|
|
4328
|
-
function
|
|
4342
|
+
function so(e, t) {
|
|
4329
4343
|
if (e) {
|
|
4330
4344
|
const r = document.createElement("style");
|
|
4331
4345
|
r.innerHTML = t, e.appendChild(r);
|
|
4332
4346
|
}
|
|
4333
4347
|
}
|
|
4334
|
-
function
|
|
4348
|
+
function ao(e, t) {
|
|
4335
4349
|
const r = new URL(t);
|
|
4336
4350
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4337
4351
|
const i = document.createElement("style");
|
|
@@ -4340,7 +4354,7 @@ function io(e, t) {
|
|
|
4340
4354
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4341
4355
|
});
|
|
4342
4356
|
}
|
|
4343
|
-
function
|
|
4357
|
+
function lo(e, t, r) {
|
|
4344
4358
|
if (window.emMessageBus) {
|
|
4345
4359
|
const n = document.createElement("style");
|
|
4346
4360
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4348,15 +4362,15 @@ function oo(e, t, r) {
|
|
|
4348
4362
|
});
|
|
4349
4363
|
}
|
|
4350
4364
|
}
|
|
4351
|
-
function
|
|
4352
|
-
|
|
4353
|
-
r == null && (ve.set(t),
|
|
4365
|
+
function uo({ withLocale: e, translations: t }) {
|
|
4366
|
+
ne.subscribe((r) => {
|
|
4367
|
+
r == null && (ve.set(t), ne.set(e));
|
|
4354
4368
|
});
|
|
4355
4369
|
}
|
|
4356
|
-
function
|
|
4357
|
-
|
|
4370
|
+
function Wt(e, t) {
|
|
4371
|
+
Fr(e, t);
|
|
4358
4372
|
}
|
|
4359
|
-
const
|
|
4373
|
+
const zt = {
|
|
4360
4374
|
en: {
|
|
4361
4375
|
providers: "Providers:",
|
|
4362
4376
|
filterby: "Filter by:",
|
|
@@ -4466,56 +4480,56 @@ const Vt = {
|
|
|
4466
4480
|
clear: "Clear all"
|
|
4467
4481
|
}
|
|
4468
4482
|
};
|
|
4469
|
-
function
|
|
4470
|
-
|
|
4483
|
+
function ho(e) {
|
|
4484
|
+
Ur(e, "svelte-14m0j7n", ':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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%}}');
|
|
4471
4485
|
}
|
|
4472
|
-
function
|
|
4486
|
+
function Zt(e, t, r) {
|
|
4473
4487
|
const n = e.slice();
|
|
4474
4488
|
return n[37] = t[r], n[38] = t, n[39] = r, n;
|
|
4475
4489
|
}
|
|
4476
|
-
function
|
|
4490
|
+
function co(e) {
|
|
4477
4491
|
let t, r, n, i, o, s, a, h, l = (
|
|
4478
4492
|
/*$_*/
|
|
4479
4493
|
e[11]("filterby") + ""
|
|
4480
|
-
), u, d,
|
|
4494
|
+
), u, d, f, p, y = (
|
|
4481
4495
|
/*$_*/
|
|
4482
4496
|
e[11]("providers") + ""
|
|
4483
|
-
),
|
|
4497
|
+
), g, S, H, E, m, O, L, R, P, A, N, V, z, K = (
|
|
4484
4498
|
/*$_*/
|
|
4485
4499
|
e[11]("clear") + ""
|
|
4486
|
-
),
|
|
4487
|
-
function Ae(
|
|
4500
|
+
), oe, ee, te, se, ae, xe;
|
|
4501
|
+
function Ae(c, T) {
|
|
4488
4502
|
return (
|
|
4489
4503
|
/*fullSelection*/
|
|
4490
|
-
|
|
4504
|
+
c[7] ? mo : po
|
|
4491
4505
|
);
|
|
4492
4506
|
}
|
|
4493
|
-
let
|
|
4507
|
+
let le = Ae(e), $ = le(e), Q = Tt(
|
|
4494
4508
|
/*vendorArray*/
|
|
4495
4509
|
e[5]
|
|
4496
|
-
),
|
|
4497
|
-
for (let
|
|
4498
|
-
|
|
4510
|
+
), M = [];
|
|
4511
|
+
for (let c = 0; c < Q.length; c += 1)
|
|
4512
|
+
M[c] = Jt(Zt(e, Q, c));
|
|
4499
4513
|
return {
|
|
4500
4514
|
c() {
|
|
4501
|
-
t =
|
|
4502
|
-
for (let
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
(e[4] ? "TriangleActive" : "")),
|
|
4506
|
-
(e[4] ? "FilterSelectorOpen" : "")),
|
|
4515
|
+
t = B("div"), r = B("div"), n = B("div"), i = we("svg"), o = we("path"), s = X(), a = B("div"), h = B("span"), u = G(l), d = X(), f = B("div"), p = B("span"), g = G(y), S = X(), $.c(), H = X(), E = B("span"), m = we("svg"), O = we("path"), P = X(), A = B("div"), N = B("ul");
|
|
4516
|
+
for (let c = 0; c < M.length; c += 1)
|
|
4517
|
+
M[c].c();
|
|
4518
|
+
V = X(), z = B("button"), oe = G(K), 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(f, "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(m, "xmlns", "http://www.w3.org/2000/svg"), b(m, "width", "14"), b(m, "height", "6.835"), b(m, "viewBox", "0 0 14 6.835"), b(E, "class", L = "TriangleInactive " + /*isFilterActive*/
|
|
4519
|
+
(e[4] ? "TriangleActive" : "")), b(r, "class", R = "FilterSelector " + /*isFilterActive*/
|
|
4520
|
+
(e[4] ? "FilterSelectorOpen" : "")), b(N, "class", "FilterDropdown"), b(z, "class", "ClearFilters"), z.disabled = ee = /*fullSelection*/
|
|
4507
4521
|
e[7] && /*selectedVendorArray*/
|
|
4508
4522
|
e[6].length != /*vendorArray*/
|
|
4509
|
-
e[5].length,
|
|
4510
|
-
(e[4] ? "FilterOpen" : "")),
|
|
4523
|
+
e[5].length, b(A, "class", te = "FilterDropdownContainer " + /*isFilterActive*/
|
|
4524
|
+
(e[4] ? "FilterOpen" : "")), b(t, "class", se = "FilterContainer " + /*addfilterselector*/
|
|
4511
4525
|
(e[0] == "true" && /*addsortingselector*/
|
|
4512
4526
|
e[1] == "true" ? "FilerContainerSplit" : ""));
|
|
4513
4527
|
},
|
|
4514
|
-
m(
|
|
4515
|
-
|
|
4516
|
-
for (let
|
|
4517
|
-
|
|
4518
|
-
|
|
4528
|
+
m(c, T) {
|
|
4529
|
+
W(c, t, T), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, h), v(h, u), v(a, d), v(a, f), v(f, p), v(p, g), v(f, S), $.m(f, null), v(r, H), v(r, E), v(E, m), v(m, O), v(t, P), v(t, A), v(A, N);
|
|
4530
|
+
for (let F = 0; F < M.length; F += 1)
|
|
4531
|
+
M[F] && M[F].m(N, null);
|
|
4532
|
+
v(A, V), v(A, z), v(z, oe), ae || (xe = [
|
|
4519
4533
|
Re(
|
|
4520
4534
|
r,
|
|
4521
4535
|
"click",
|
|
@@ -4523,66 +4537,66 @@ function lo(e) {
|
|
|
4523
4537
|
e[24]
|
|
4524
4538
|
),
|
|
4525
4539
|
Re(
|
|
4526
|
-
|
|
4540
|
+
z,
|
|
4527
4541
|
"click",
|
|
4528
4542
|
/*click_handler_2*/
|
|
4529
4543
|
e[27]
|
|
4530
4544
|
)
|
|
4531
|
-
],
|
|
4545
|
+
], ae = !0);
|
|
4532
4546
|
},
|
|
4533
|
-
p(
|
|
4534
|
-
if (
|
|
4547
|
+
p(c, T) {
|
|
4548
|
+
if (T[0] & /*$_*/
|
|
4535
4549
|
2048 && l !== (l = /*$_*/
|
|
4536
|
-
|
|
4537
|
-
2048 &&
|
|
4538
|
-
|
|
4550
|
+
c[11]("filterby") + "") && re(u, l), T[0] & /*$_*/
|
|
4551
|
+
2048 && y !== (y = /*$_*/
|
|
4552
|
+
c[11]("providers") + "") && re(g, y), le === (le = Ae(c)) && $ ? $.p(c, T) : ($.d(1), $ = le(c), $ && ($.c(), $.m(f, null))), T[0] & /*isFilterActive*/
|
|
4539
4553
|
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
|
4540
|
-
(
|
|
4541
|
-
16 &&
|
|
4542
|
-
(
|
|
4554
|
+
(c[4] ? "TriangleActive" : "")) && b(E, "class", L), T[0] & /*isFilterActive*/
|
|
4555
|
+
16 && R !== (R = "FilterSelector " + /*isFilterActive*/
|
|
4556
|
+
(c[4] ? "FilterSelectorOpen" : "")) && b(r, "class", R), T[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
4543
4557
|
8228) {
|
|
4544
|
-
|
|
4558
|
+
Q = Tt(
|
|
4545
4559
|
/*vendorArray*/
|
|
4546
|
-
|
|
4560
|
+
c[5]
|
|
4547
4561
|
);
|
|
4548
|
-
let
|
|
4549
|
-
for (
|
|
4550
|
-
const
|
|
4551
|
-
|
|
4562
|
+
let F;
|
|
4563
|
+
for (F = 0; F < Q.length; F += 1) {
|
|
4564
|
+
const I = Zt(c, Q, F);
|
|
4565
|
+
M[F] ? M[F].p(I, T) : (M[F] = Jt(I), M[F].c(), M[F].m(N, null));
|
|
4552
4566
|
}
|
|
4553
|
-
for (;
|
|
4554
|
-
|
|
4555
|
-
|
|
4567
|
+
for (; F < M.length; F += 1)
|
|
4568
|
+
M[F].d(1);
|
|
4569
|
+
M.length = Q.length;
|
|
4556
4570
|
}
|
|
4557
|
-
|
|
4558
|
-
2048 &&
|
|
4559
|
-
|
|
4560
|
-
224 &&
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
16 &&
|
|
4565
|
-
(
|
|
4566
|
-
3 &&
|
|
4567
|
-
(
|
|
4568
|
-
|
|
4571
|
+
T[0] & /*$_*/
|
|
4572
|
+
2048 && K !== (K = /*$_*/
|
|
4573
|
+
c[11]("clear") + "") && re(oe, K), T[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
4574
|
+
224 && ee !== (ee = /*fullSelection*/
|
|
4575
|
+
c[7] && /*selectedVendorArray*/
|
|
4576
|
+
c[6].length != /*vendorArray*/
|
|
4577
|
+
c[5].length) && (z.disabled = ee), T[0] & /*isFilterActive*/
|
|
4578
|
+
16 && te !== (te = "FilterDropdownContainer " + /*isFilterActive*/
|
|
4579
|
+
(c[4] ? "FilterOpen" : "")) && b(A, "class", te), T[0] & /*addfilterselector, addsortingselector*/
|
|
4580
|
+
3 && se !== (se = "FilterContainer " + /*addfilterselector*/
|
|
4581
|
+
(c[0] == "true" && /*addsortingselector*/
|
|
4582
|
+
c[1] == "true" ? "FilerContainerSplit" : "")) && b(t, "class", se);
|
|
4569
4583
|
},
|
|
4570
|
-
d(
|
|
4571
|
-
|
|
4584
|
+
d(c) {
|
|
4585
|
+
c && j(t), $.d(), kr(M, c), ae = !1, Y(xe);
|
|
4572
4586
|
}
|
|
4573
4587
|
};
|
|
4574
4588
|
}
|
|
4575
|
-
function
|
|
4589
|
+
function fo(e) {
|
|
4576
4590
|
let t, r = (
|
|
4577
4591
|
/*$_*/
|
|
4578
4592
|
e[11]("500") + ""
|
|
4579
4593
|
);
|
|
4580
4594
|
return {
|
|
4581
4595
|
c() {
|
|
4582
|
-
t =
|
|
4596
|
+
t = B("p"), b(t, "class", "SearchLoading");
|
|
4583
4597
|
},
|
|
4584
4598
|
m(n, i) {
|
|
4585
|
-
|
|
4599
|
+
W(n, t, i), t.innerHTML = r;
|
|
4586
4600
|
},
|
|
4587
4601
|
p(n, i) {
|
|
4588
4602
|
i[0] & /*$_*/
|
|
@@ -4590,78 +4604,78 @@ function uo(e) {
|
|
|
4590
4604
|
n[11]("500") + "") && (t.innerHTML = r);
|
|
4591
4605
|
},
|
|
4592
4606
|
d(n) {
|
|
4593
|
-
n &&
|
|
4607
|
+
n && j(t);
|
|
4594
4608
|
}
|
|
4595
4609
|
};
|
|
4596
4610
|
}
|
|
4597
|
-
function
|
|
4611
|
+
function po(e) {
|
|
4598
4612
|
let t, r;
|
|
4599
4613
|
return {
|
|
4600
4614
|
c() {
|
|
4601
|
-
t =
|
|
4615
|
+
t = B("span"), r = G(
|
|
4602
4616
|
/*selectionNumber*/
|
|
4603
4617
|
e[8]
|
|
4604
|
-
),
|
|
4618
|
+
), b(t, "class", "FilterCounter");
|
|
4605
4619
|
},
|
|
4606
4620
|
m(n, i) {
|
|
4607
|
-
|
|
4621
|
+
W(n, t, i), v(t, r);
|
|
4608
4622
|
},
|
|
4609
4623
|
p(n, i) {
|
|
4610
4624
|
i[0] & /*selectionNumber*/
|
|
4611
|
-
256 &&
|
|
4625
|
+
256 && re(
|
|
4612
4626
|
r,
|
|
4613
4627
|
/*selectionNumber*/
|
|
4614
4628
|
n[8]
|
|
4615
4629
|
);
|
|
4616
4630
|
},
|
|
4617
4631
|
d(n) {
|
|
4618
|
-
n &&
|
|
4632
|
+
n && j(t);
|
|
4619
4633
|
}
|
|
4620
4634
|
};
|
|
4621
4635
|
}
|
|
4622
|
-
function
|
|
4636
|
+
function mo(e) {
|
|
4623
4637
|
let t, r = (
|
|
4624
4638
|
/*$_*/
|
|
4625
4639
|
e[11]("all") + ""
|
|
4626
4640
|
), n;
|
|
4627
4641
|
return {
|
|
4628
4642
|
c() {
|
|
4629
|
-
t =
|
|
4643
|
+
t = B("span"), n = G(r), b(t, "class", "FilterCounter");
|
|
4630
4644
|
},
|
|
4631
4645
|
m(i, o) {
|
|
4632
|
-
|
|
4646
|
+
W(i, t, o), v(t, n);
|
|
4633
4647
|
},
|
|
4634
4648
|
p(i, o) {
|
|
4635
4649
|
o[0] & /*$_*/
|
|
4636
4650
|
2048 && r !== (r = /*$_*/
|
|
4637
|
-
i[11]("all") + "") &&
|
|
4651
|
+
i[11]("all") + "") && re(n, r);
|
|
4638
4652
|
},
|
|
4639
4653
|
d(i) {
|
|
4640
|
-
i &&
|
|
4654
|
+
i && j(t);
|
|
4641
4655
|
}
|
|
4642
4656
|
};
|
|
4643
4657
|
}
|
|
4644
|
-
function
|
|
4658
|
+
function bo(e) {
|
|
4645
4659
|
let t, r;
|
|
4646
4660
|
return {
|
|
4647
4661
|
c() {
|
|
4648
|
-
t =
|
|
4649
|
-
e[37].logo) ||
|
|
4662
|
+
t = B("img"), Et(t.src, r = /*vendor*/
|
|
4663
|
+
e[37].logo) || b(t, "src", r), b(t, "alt", "vendor logo");
|
|
4650
4664
|
},
|
|
4651
4665
|
m(n, i) {
|
|
4652
|
-
|
|
4666
|
+
W(n, t, i);
|
|
4653
4667
|
},
|
|
4654
4668
|
p(n, i) {
|
|
4655
4669
|
i[0] & /*vendorArray*/
|
|
4656
|
-
32 && !
|
|
4657
|
-
n[37].logo) &&
|
|
4670
|
+
32 && !Et(t.src, r = /*vendor*/
|
|
4671
|
+
n[37].logo) && b(t, "src", r);
|
|
4658
4672
|
},
|
|
4659
4673
|
d(n) {
|
|
4660
|
-
n &&
|
|
4674
|
+
n && j(t);
|
|
4661
4675
|
}
|
|
4662
4676
|
};
|
|
4663
4677
|
}
|
|
4664
|
-
function
|
|
4678
|
+
function go(e) {
|
|
4665
4679
|
let t, r, n = (
|
|
4666
4680
|
/*vendor*/
|
|
4667
4681
|
e[37].name + ""
|
|
@@ -4671,26 +4685,26 @@ function po(e) {
|
|
|
4671
4685
|
), l, u;
|
|
4672
4686
|
return {
|
|
4673
4687
|
c() {
|
|
4674
|
-
t =
|
|
4688
|
+
t = B("div"), r = B("span"), i = G(n), o = X(), s = B("span"), a = G("("), l = G(h), u = G(")"), b(r, "class", "VendorName"), b(t, "class", "FilterItemLabel");
|
|
4675
4689
|
},
|
|
4676
|
-
m(d,
|
|
4677
|
-
|
|
4690
|
+
m(d, f) {
|
|
4691
|
+
W(d, t, f), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, u);
|
|
4678
4692
|
},
|
|
4679
|
-
p(d,
|
|
4680
|
-
|
|
4693
|
+
p(d, f) {
|
|
4694
|
+
f[0] & /*vendorArray*/
|
|
4681
4695
|
32 && n !== (n = /*vendor*/
|
|
4682
|
-
d[37].name + "") &&
|
|
4696
|
+
d[37].name + "") && re(i, n), f[0] & /*vendorArray*/
|
|
4683
4697
|
32 && h !== (h = /*vendor*/
|
|
4684
|
-
d[37].games.total + "") &&
|
|
4698
|
+
d[37].games.total + "") && re(l, h);
|
|
4685
4699
|
},
|
|
4686
4700
|
d(d) {
|
|
4687
|
-
d &&
|
|
4701
|
+
d && j(t);
|
|
4688
4702
|
}
|
|
4689
4703
|
};
|
|
4690
4704
|
}
|
|
4691
|
-
function
|
|
4692
|
-
let t, r, n, i, o, s, a, h, l, u, d,
|
|
4693
|
-
function
|
|
4705
|
+
function Jt(e) {
|
|
4706
|
+
let t, r, n, i, o, s, a, h, l, u, d, f;
|
|
4707
|
+
function p() {
|
|
4694
4708
|
e[25].call(
|
|
4695
4709
|
n,
|
|
4696
4710
|
/*each_value*/
|
|
@@ -4699,7 +4713,7 @@ function Wt(e) {
|
|
|
4699
4713
|
e[39]
|
|
4700
4714
|
);
|
|
4701
4715
|
}
|
|
4702
|
-
function
|
|
4716
|
+
function y() {
|
|
4703
4717
|
return (
|
|
4704
4718
|
/*click_handler_1*/
|
|
4705
4719
|
e[26](
|
|
@@ -4708,170 +4722,170 @@ function Wt(e) {
|
|
|
4708
4722
|
)
|
|
4709
4723
|
);
|
|
4710
4724
|
}
|
|
4711
|
-
function
|
|
4725
|
+
function g(E, m) {
|
|
4712
4726
|
if (
|
|
4713
4727
|
/*filterbylogo*/
|
|
4714
|
-
|
|
4728
|
+
E[2] === "false"
|
|
4715
4729
|
)
|
|
4716
|
-
return
|
|
4730
|
+
return go;
|
|
4717
4731
|
if (
|
|
4718
4732
|
/*filterbylogo*/
|
|
4719
|
-
|
|
4733
|
+
E[2] === "true"
|
|
4720
4734
|
)
|
|
4721
|
-
return
|
|
4735
|
+
return bo;
|
|
4722
4736
|
}
|
|
4723
|
-
let
|
|
4737
|
+
let S = g(e), H = S && S(e);
|
|
4724
4738
|
return {
|
|
4725
4739
|
c() {
|
|
4726
|
-
t =
|
|
4727
|
-
e[37].name,
|
|
4740
|
+
t = B("li"), r = B("label"), n = B("input"), o = X(), s = B("span"), a = X(), H && H.c(), h = X(), b(n, "type", "checkbox"), b(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
|
4741
|
+
e[37].name, wt(n, n.__value), b(s, "class", "FiltersCheckmark"), b(r, "class", "FilterLabel"), b(t, "class", l = "FilterItem " + /*filterbylogo*/
|
|
4728
4742
|
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
|
|
4729
4743
|
e[37].name;
|
|
4730
4744
|
},
|
|
4731
|
-
m(
|
|
4732
|
-
|
|
4733
|
-
e[37].isFilterSelected,
|
|
4734
|
-
Re(n, "change",
|
|
4735
|
-
Re(n, "click",
|
|
4745
|
+
m(E, m) {
|
|
4746
|
+
W(E, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
|
|
4747
|
+
e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, h), d || (f = [
|
|
4748
|
+
Re(n, "change", p),
|
|
4749
|
+
Re(n, "click", y)
|
|
4736
4750
|
], d = !0);
|
|
4737
4751
|
},
|
|
4738
|
-
p(
|
|
4739
|
-
e =
|
|
4752
|
+
p(E, m) {
|
|
4753
|
+
e = E, m[0] & /*vendorArray*/
|
|
4740
4754
|
32 && i !== (i = /*vendor*/
|
|
4741
|
-
e[37].name) && (n.__value = i,
|
|
4755
|
+
e[37].name) && (n.__value = i, wt(n, n.__value)), m[0] & /*vendorArray*/
|
|
4742
4756
|
32 && (n.checked = /*vendor*/
|
|
4743
|
-
e[37].isFilterSelected),
|
|
4757
|
+
e[37].isFilterSelected), S === (S = g(e)) && H ? H.p(e, m) : (H && H.d(1), H = S && S(e), H && (H.c(), H.m(r, null))), m[0] & /*filterbylogo*/
|
|
4744
4758
|
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
|
4745
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")) &&
|
|
4759
|
+
(e[2] === "true" ? "FilterItemWithLogos" : "")) && b(t, "class", l), m[0] & /*vendorArray*/
|
|
4746
4760
|
32 && u !== (u = /*vendor*/
|
|
4747
4761
|
e[37].name) && (t.value = u);
|
|
4748
4762
|
},
|
|
4749
|
-
d(
|
|
4750
|
-
|
|
4763
|
+
d(E) {
|
|
4764
|
+
E && j(t), H && H.d(), d = !1, Y(f);
|
|
4751
4765
|
}
|
|
4752
4766
|
};
|
|
4753
4767
|
}
|
|
4754
|
-
function
|
|
4768
|
+
function yo(e) {
|
|
4755
4769
|
let t;
|
|
4756
4770
|
function r(o, s) {
|
|
4757
4771
|
if (
|
|
4758
4772
|
/*hasErrors*/
|
|
4759
4773
|
o[10]
|
|
4760
4774
|
)
|
|
4761
|
-
return
|
|
4775
|
+
return fo;
|
|
4762
4776
|
if (!/*isLoading*/
|
|
4763
4777
|
o[9])
|
|
4764
|
-
return
|
|
4778
|
+
return co;
|
|
4765
4779
|
}
|
|
4766
4780
|
let n = r(e), i = n && n(e);
|
|
4767
4781
|
return {
|
|
4768
4782
|
c() {
|
|
4769
|
-
t =
|
|
4783
|
+
t = B("div"), i && i.c();
|
|
4770
4784
|
},
|
|
4771
4785
|
m(o, s) {
|
|
4772
|
-
|
|
4786
|
+
W(o, t, s), i && i.m(t, null), e[28](t);
|
|
4773
4787
|
},
|
|
4774
4788
|
p(o, s) {
|
|
4775
4789
|
n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
|
4776
4790
|
},
|
|
4777
|
-
i:
|
|
4778
|
-
o:
|
|
4791
|
+
i: k,
|
|
4792
|
+
o: k,
|
|
4779
4793
|
d(o) {
|
|
4780
|
-
o &&
|
|
4794
|
+
o && j(t), i && i.d(), e[28](null);
|
|
4781
4795
|
}
|
|
4782
4796
|
};
|
|
4783
4797
|
}
|
|
4784
|
-
function
|
|
4798
|
+
function vo(e, t, r) {
|
|
4785
4799
|
let n;
|
|
4786
|
-
|
|
4787
|
-
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:
|
|
4788
|
-
|
|
4789
|
-
const
|
|
4790
|
-
fetch(a).then((
|
|
4791
|
-
Object.keys(
|
|
4792
|
-
|
|
4800
|
+
Dr(e, no, (c) => r(11, n = c));
|
|
4801
|
+
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: f = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: y } = t, { usesinglevendorfilter: g = "false" } = t, S = !1, H = window.navigator.userAgent, E = [], m = [], O = {}, L = !1, R = 0, P = !0, A, N = !1, V;
|
|
4802
|
+
uo({ withLocale: "en", translations: {} });
|
|
4803
|
+
const z = () => {
|
|
4804
|
+
fetch(a).then((T) => T.json()).then((T) => {
|
|
4805
|
+
Object.keys(T).forEach((F) => {
|
|
4806
|
+
Wt(F, T[F]);
|
|
4793
4807
|
});
|
|
4794
|
-
}).catch((
|
|
4795
|
-
console.log(
|
|
4808
|
+
}).catch((T) => {
|
|
4809
|
+
console.log(T);
|
|
4796
4810
|
});
|
|
4797
4811
|
};
|
|
4798
|
-
Object.keys(
|
|
4799
|
-
|
|
4800
|
-
}),
|
|
4801
|
-
const
|
|
4802
|
-
r(4,
|
|
4803
|
-
},
|
|
4804
|
-
fetch(
|
|
4805
|
-
|
|
4806
|
-
let
|
|
4807
|
-
const
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
}), r(5,
|
|
4811
|
-
}).catch((
|
|
4812
|
-
console.error(
|
|
4812
|
+
Object.keys(zt).forEach((c) => {
|
|
4813
|
+
Wt(c, zt[c]);
|
|
4814
|
+
}), O[u] && (O = { [u]: [] });
|
|
4815
|
+
const K = () => {
|
|
4816
|
+
r(4, S = !S), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
4817
|
+
}, oe = (c) => (r(9, P = !0), new Promise((T, F) => {
|
|
4818
|
+
fetch(c).then((I) => I.json()).then((I) => {
|
|
4819
|
+
I = I.items, T(I.items), r(6, m = []);
|
|
4820
|
+
let Xe = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
4821
|
+
const Mr = g === "true" ? "*" : u;
|
|
4822
|
+
I.forEach((Be) => {
|
|
4823
|
+
Xe || (Xe = { currentCategoryId: [] }), Xe[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, m.push(Be)) : Be.isFilterSelected = !1;
|
|
4824
|
+
}), r(5, E = I), te();
|
|
4825
|
+
}).catch((I) => {
|
|
4826
|
+
console.error(I), r(10, N = !0), F(I);
|
|
4813
4827
|
}).finally(() => {
|
|
4814
|
-
r(9,
|
|
4828
|
+
r(9, P = !1);
|
|
4815
4829
|
});
|
|
4816
|
-
})),
|
|
4817
|
-
let
|
|
4818
|
-
|
|
4819
|
-
const
|
|
4820
|
-
|
|
4821
|
-
[
|
|
4822
|
-
})) : (
|
|
4823
|
-
},
|
|
4824
|
-
r(7, L =
|
|
4825
|
-
},
|
|
4826
|
-
if (
|
|
4830
|
+
})), ee = (c) => {
|
|
4831
|
+
let T = localStorage.getItem("vendorFiltersByCategory");
|
|
4832
|
+
c.isFilterSelected = !c.isFilterSelected, !m.length || m.filter((I) => I.name === c.name).length == 0 ? m.push(c) : r(6, m = m.filter((I) => I.name !== c.name));
|
|
4833
|
+
const F = g === "true" ? "*" : u;
|
|
4834
|
+
T == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
|
|
4835
|
+
[F]: m.map((I) => I.id)
|
|
4836
|
+
})) : (T = JSON.parse(T), T[F] = m.map((I) => I.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), te();
|
|
4837
|
+
}, te = () => {
|
|
4838
|
+
r(7, L = m.length === E.length || m.length == 0), r(8, R = m.length);
|
|
4839
|
+
}, se = () => {
|
|
4840
|
+
if (E.length && g === "true")
|
|
4827
4841
|
return;
|
|
4828
|
-
const
|
|
4829
|
-
r(4,
|
|
4830
|
-
},
|
|
4831
|
-
r(6,
|
|
4832
|
-
[
|
|
4833
|
-
})),
|
|
4834
|
-
},
|
|
4835
|
-
|
|
4842
|
+
const c = new URL(`${i}/v1/casino/vendors`);
|
|
4843
|
+
r(4, S = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", oo(H)), g === "true" || ((u.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${u})`), c.searchParams.append("subVendors", `games(subGroups=${u})`)) : c.searchParams.append("filter", `games(groups=${u})`)), oe(c);
|
|
4844
|
+
}, ae = () => {
|
|
4845
|
+
r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
|
|
4846
|
+
[g === "true" ? "*" : u]: m.map((c) => c.id)
|
|
4847
|
+
})), E.forEach((c) => c.isFilterSelected = !1), r(5, E), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, S = !1);
|
|
4848
|
+
}, xe = (c) => {
|
|
4849
|
+
c.data.type == "SortingOpened" && r(4, S = !1);
|
|
4836
4850
|
};
|
|
4837
|
-
|
|
4838
|
-
window.removeEventListener("message",
|
|
4851
|
+
Xr(() => (window.addEventListener("message", xe, !1), () => {
|
|
4852
|
+
window.emMessageBus != null && V && V.unsubscribe(), window.removeEventListener("message", xe);
|
|
4839
4853
|
}));
|
|
4840
|
-
const
|
|
4841
|
-
function
|
|
4842
|
-
|
|
4854
|
+
const Ae = () => K();
|
|
4855
|
+
function le(c, T) {
|
|
4856
|
+
c[T].isFilterSelected = this.checked, r(5, E);
|
|
4843
4857
|
}
|
|
4844
|
-
const
|
|
4845
|
-
function
|
|
4846
|
-
|
|
4847
|
-
|
|
4858
|
+
const $ = (c) => ee(c), Q = () => ae();
|
|
4859
|
+
function M(c) {
|
|
4860
|
+
et[c ? "unshift" : "push"](() => {
|
|
4861
|
+
A = c, r(3, A);
|
|
4848
4862
|
});
|
|
4849
4863
|
}
|
|
4850
|
-
return e.$$set = (
|
|
4851
|
-
"endpoint" in
|
|
4864
|
+
return e.$$set = (c) => {
|
|
4865
|
+
"endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, h = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, u = c.categoryid), "addfilterselector" in c && r(0, d = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, p = c.filterbylogo), "mbsource" in c && r(22, y = c.mbsource), "usesinglevendorfilter" in c && r(23, g = c.usesinglevendorfilter);
|
|
4852
4866
|
}, e.$$.update = () => {
|
|
4853
4867
|
e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
4854
|
-
2195460 && i && o && u &&
|
|
4855
|
-
524296 && h &&
|
|
4856
|
-
1048584 && l &&
|
|
4857
|
-
4194312 &&
|
|
4858
|
-
262144 && a &&
|
|
4868
|
+
2195460 && i && o && u && p && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4869
|
+
524296 && h && A && so(A, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4870
|
+
1048584 && l && A && ao(A, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4871
|
+
4194312 && A && lo(A, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4872
|
+
262144 && a && z();
|
|
4859
4873
|
}, [
|
|
4860
4874
|
d,
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
H,
|
|
4875
|
+
f,
|
|
4876
|
+
p,
|
|
4877
|
+
A,
|
|
4865
4878
|
S,
|
|
4866
|
-
|
|
4879
|
+
E,
|
|
4880
|
+
m,
|
|
4867
4881
|
L,
|
|
4868
|
-
|
|
4869
|
-
|
|
4882
|
+
R,
|
|
4883
|
+
P,
|
|
4870
4884
|
N,
|
|
4871
4885
|
n,
|
|
4872
|
-
|
|
4873
|
-
ie,
|
|
4886
|
+
K,
|
|
4874
4887
|
ee,
|
|
4888
|
+
ae,
|
|
4875
4889
|
i,
|
|
4876
4890
|
o,
|
|
4877
4891
|
s,
|
|
@@ -4879,23 +4893,23 @@ function bo(e, t, r) {
|
|
|
4879
4893
|
h,
|
|
4880
4894
|
l,
|
|
4881
4895
|
u,
|
|
4882
|
-
v,
|
|
4883
4896
|
y,
|
|
4884
|
-
|
|
4897
|
+
g,
|
|
4885
4898
|
Ae,
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4899
|
+
le,
|
|
4900
|
+
$,
|
|
4901
|
+
Q,
|
|
4902
|
+
M
|
|
4889
4903
|
];
|
|
4890
4904
|
}
|
|
4891
|
-
class
|
|
4905
|
+
class Nr extends en {
|
|
4892
4906
|
constructor(t) {
|
|
4893
|
-
super(),
|
|
4907
|
+
super(), Yr(
|
|
4894
4908
|
this,
|
|
4895
4909
|
t,
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4910
|
+
vo,
|
|
4911
|
+
yo,
|
|
4912
|
+
qt,
|
|
4899
4913
|
{
|
|
4900
4914
|
endpoint: 15,
|
|
4901
4915
|
datasource: 16,
|
|
@@ -4910,7 +4924,7 @@ class Cr extends Qr {
|
|
|
4910
4924
|
mbsource: 22,
|
|
4911
4925
|
usesinglevendorfilter: 23
|
|
4912
4926
|
},
|
|
4913
|
-
|
|
4927
|
+
ho,
|
|
4914
4928
|
[-1, -1]
|
|
4915
4929
|
);
|
|
4916
4930
|
}
|
|
@@ -4987,53 +5001,53 @@ class Cr extends Qr {
|
|
|
4987
5001
|
this.$$set({ usesinglevendorfilter: t }), U();
|
|
4988
5002
|
}
|
|
4989
5003
|
}
|
|
4990
|
-
|
|
4991
|
-
const
|
|
5004
|
+
Kr(Nr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
|
|
5005
|
+
const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4992
5006
|
__proto__: null,
|
|
4993
|
-
default:
|
|
5007
|
+
default: Nr
|
|
4994
5008
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4995
5009
|
export {
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
+
ne as $,
|
|
5011
|
+
et as A,
|
|
5012
|
+
so as B,
|
|
5013
|
+
we as C,
|
|
5014
|
+
Tt as D,
|
|
5015
|
+
kr as E,
|
|
5016
|
+
Eo as F,
|
|
5017
|
+
no as G,
|
|
5018
|
+
So as H,
|
|
5019
|
+
Ho as I,
|
|
5020
|
+
To as J,
|
|
5021
|
+
Bo as K,
|
|
5022
|
+
Ao as L,
|
|
5023
|
+
Po as M,
|
|
5010
5024
|
ve as N,
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5025
|
+
Fo as O,
|
|
5026
|
+
en as S,
|
|
5027
|
+
Fr as a,
|
|
5028
|
+
Ur as b,
|
|
5029
|
+
Kr as c,
|
|
5030
|
+
X as d,
|
|
5031
|
+
B as e,
|
|
5018
5032
|
U as f,
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5033
|
+
Et as g,
|
|
5034
|
+
xo as h,
|
|
5035
|
+
Yr as i,
|
|
5036
|
+
b as j,
|
|
5037
|
+
W as k,
|
|
5038
|
+
v as l,
|
|
5039
|
+
j as m,
|
|
5040
|
+
k as n,
|
|
5041
|
+
Dr as o,
|
|
5042
|
+
Xr as p,
|
|
5043
|
+
ao as q,
|
|
5044
|
+
lo as r,
|
|
5045
|
+
qt as s,
|
|
5046
|
+
wo as t,
|
|
5047
|
+
io as u,
|
|
5048
|
+
G as v,
|
|
5049
|
+
Re as w,
|
|
5050
|
+
re as x,
|
|
5051
|
+
_o as y,
|
|
5052
|
+
oo as z
|
|
5039
5053
|
};
|