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