@everymatrix/casino-categories-slider 1.63.3 → 1.64.1
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/{CasinoCategoriesSlider-BLnLsqGT.cjs → CasinoCategoriesSlider-Bd1R0RB0.cjs} +4 -4
- package/components/{CasinoCategoriesSlider-BBAXVRNi.js → CasinoCategoriesSlider-DMC9CFDg.js} +555 -562
- package/components/{CasinoCategoriesSlider-yLDKhmjV.js → CasinoCategoriesSlider-Qhx13ZiU.js} +495 -502
- package/components/{CasinoSlider-Bu5cvdqr.js → CasinoSlider-4oZFStFQ.js} +111 -111
- package/components/{CasinoSlider-DAdBGKKb.js → CasinoSlider-BCZsEGOH.js} +190 -190
- package/components/CasinoSlider-BViBOG_Y.cjs +1 -0
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-NWcQiku5.cjs +0 -1
package/components/{CasinoCategoriesSlider-BBAXVRNi.js → CasinoCategoriesSlider-DMC9CFDg.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
function
|
1
|
+
function I() {
|
2
2
|
}
|
3
3
|
function Dt(e) {
|
4
4
|
return e();
|
@@ -9,14 +9,14 @@ function bt() {
|
|
9
9
|
function te(e) {
|
10
10
|
e.forEach(Dt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function at(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
15
|
function $t(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let pe;
|
19
|
-
function
|
19
|
+
function bs(e, t) {
|
20
20
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
21
21
|
}
|
22
22
|
function Ir(e) {
|
@@ -26,7 +26,7 @@ function Ft(e, ...t) {
|
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
29
|
-
return
|
29
|
+
return I;
|
30
30
|
}
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
@@ -34,20 +34,17 @@ function Ft(e, ...t) {
|
|
34
34
|
function Cr(e, t, r) {
|
35
35
|
e.$$.on_destroy.push(Ft(t, r));
|
36
36
|
}
|
37
|
-
function Mr(e) {
|
38
|
-
return e && He(e.destroy) ? e.destroy : P;
|
39
|
-
}
|
40
37
|
function jt(e, t) {
|
41
38
|
e.appendChild(t);
|
42
39
|
}
|
43
|
-
function
|
44
|
-
const n =
|
40
|
+
function Mr(e, t, r) {
|
41
|
+
const n = Rr(e);
|
45
42
|
if (!n.getElementById(t)) {
|
46
43
|
const i = k("style");
|
47
|
-
i.id = t, i.textContent = r,
|
44
|
+
i.id = t, i.textContent = r, Gr(n, i);
|
48
45
|
}
|
49
46
|
}
|
50
|
-
function
|
47
|
+
function Rr(e) {
|
51
48
|
if (!e)
|
52
49
|
return document;
|
53
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -57,7 +54,7 @@ function Gr(e) {
|
|
57
54
|
t
|
58
55
|
) : e.ownerDocument;
|
59
56
|
}
|
60
|
-
function
|
57
|
+
function Gr(e, t) {
|
61
58
|
return jt(
|
62
59
|
/** @type {Document} */
|
63
60
|
e.head || e,
|
@@ -70,7 +67,7 @@ function le(e, t, r) {
|
|
70
67
|
function re(e) {
|
71
68
|
e.parentNode && e.parentNode.removeChild(e);
|
72
69
|
}
|
73
|
-
function
|
70
|
+
function ps(e, t) {
|
74
71
|
for (let r = 0; r < e.length; r += 1)
|
75
72
|
e[r] && e[r].d(t);
|
76
73
|
}
|
@@ -83,10 +80,10 @@ function kt(e) {
|
|
83
80
|
function ys() {
|
84
81
|
return kt(" ");
|
85
82
|
}
|
86
|
-
function
|
83
|
+
function gs() {
|
87
84
|
return kt("");
|
88
85
|
}
|
89
|
-
function
|
86
|
+
function vs(e, t, r, n) {
|
90
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
91
88
|
}
|
92
89
|
function ce(e, t, r) {
|
@@ -96,14 +93,14 @@ function v(e, t, r) {
|
|
96
93
|
const n = t.toLowerCase();
|
97
94
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ce(e, t, r);
|
98
95
|
}
|
99
|
-
function
|
96
|
+
function Ur(e) {
|
100
97
|
return Array.from(e.childNodes);
|
101
98
|
}
|
102
|
-
function
|
99
|
+
function _s(e, t) {
|
103
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
104
101
|
t);
|
105
102
|
}
|
106
|
-
function
|
103
|
+
function Dr(e) {
|
107
104
|
const t = {};
|
108
105
|
return e.childNodes.forEach(
|
109
106
|
/** @param {Element} node */
|
@@ -116,28 +113,28 @@ let ae;
|
|
116
113
|
function oe(e) {
|
117
114
|
ae = e;
|
118
115
|
}
|
119
|
-
function
|
116
|
+
function $r() {
|
120
117
|
if (!ae)
|
121
118
|
throw new Error("Function called outside component initialization");
|
122
119
|
return ae;
|
123
120
|
}
|
124
|
-
function
|
125
|
-
|
121
|
+
function Fr(e) {
|
122
|
+
$r().$$.on_mount.push(e);
|
126
123
|
}
|
127
|
-
const Q = [],
|
124
|
+
const Q = [], je = [];
|
128
125
|
let Y = [];
|
129
126
|
const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
|
130
|
-
let
|
127
|
+
let ke = !1;
|
131
128
|
function Xt() {
|
132
|
-
|
129
|
+
ke || (ke = !0, Vt.then(x));
|
133
130
|
}
|
134
|
-
function
|
131
|
+
function jr() {
|
135
132
|
return Xt(), Vt;
|
136
133
|
}
|
137
|
-
function
|
134
|
+
function Ve(e) {
|
138
135
|
Y.push(e);
|
139
136
|
}
|
140
|
-
const
|
137
|
+
const Ce = /* @__PURE__ */ new Set();
|
141
138
|
let z = 0;
|
142
139
|
function x() {
|
143
140
|
if (z !== 0)
|
@@ -147,62 +144,62 @@ function x() {
|
|
147
144
|
try {
|
148
145
|
for (; z < Q.length; ) {
|
149
146
|
const t = Q[z];
|
150
|
-
z++, oe(t),
|
147
|
+
z++, oe(t), kr(t.$$);
|
151
148
|
}
|
152
149
|
} catch (t) {
|
153
150
|
throw Q.length = 0, z = 0, t;
|
154
151
|
}
|
155
|
-
for (oe(null), Q.length = 0, z = 0;
|
156
|
-
|
152
|
+
for (oe(null), Q.length = 0, z = 0; je.length; )
|
153
|
+
je.pop()();
|
157
154
|
for (let t = 0; t < Y.length; t += 1) {
|
158
155
|
const r = Y[t];
|
159
|
-
|
156
|
+
Ce.has(r) || (Ce.add(r), r());
|
160
157
|
}
|
161
158
|
Y.length = 0;
|
162
159
|
} while (Q.length);
|
163
160
|
for (; pt.length; )
|
164
161
|
pt.pop()();
|
165
|
-
|
162
|
+
ke = !1, Ce.clear(), oe(e);
|
166
163
|
}
|
167
|
-
function
|
164
|
+
function kr(e) {
|
168
165
|
if (e.fragment !== null) {
|
169
166
|
e.update(), te(e.before_update);
|
170
167
|
const t = e.dirty;
|
171
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
172
169
|
}
|
173
170
|
}
|
174
|
-
function
|
171
|
+
function Vr(e) {
|
175
172
|
const t = [], r = [];
|
176
173
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
177
174
|
}
|
178
|
-
const
|
175
|
+
const Xr = /* @__PURE__ */ new Set();
|
179
176
|
function Wt(e, t) {
|
180
|
-
e && e.i && (
|
177
|
+
e && e.i && (Xr.delete(e), e.i(t));
|
181
178
|
}
|
182
|
-
function
|
179
|
+
function Es(e) {
|
183
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
184
181
|
}
|
185
|
-
function
|
182
|
+
function xs(e, t) {
|
186
183
|
e.d(1), t.delete(e.key);
|
187
184
|
}
|
188
|
-
function
|
185
|
+
function Ss(e, t, r, n, i, s, o, a, h, u, l, m) {
|
189
186
|
let c = e.length, d = s.length, b = c;
|
190
|
-
const
|
187
|
+
const g = {};
|
191
188
|
for (; b--; )
|
192
|
-
|
193
|
-
const T = [], C = /* @__PURE__ */ new Map(),
|
189
|
+
g[e[b].key] = b;
|
190
|
+
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
194
191
|
for (b = d; b--; ) {
|
195
192
|
const _ = m(i, s, b), A = r(_);
|
196
|
-
let
|
197
|
-
|
193
|
+
let L = o.get(A);
|
194
|
+
L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
|
198
195
|
}
|
199
|
-
const
|
196
|
+
const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
200
197
|
function M(_) {
|
201
198
|
Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
202
199
|
}
|
203
200
|
for (; c && d; ) {
|
204
|
-
const _ = T[d - 1], A = e[c - 1],
|
205
|
-
_ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(
|
201
|
+
const _ = T[d - 1], A = e[c - 1], L = _.key, $ = A.key;
|
202
|
+
_ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || O.has(L) ? M(_) : N.has($) ? c-- : P.get(L) > P.get($) ? (N.add(L), M(_)) : (O.add($), c--) : (h(A, o), c--);
|
206
203
|
}
|
207
204
|
for (; c--; ) {
|
208
205
|
const _ = e[c];
|
@@ -212,21 +209,21 @@ function ws(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
212
209
|
M(T[d - 1]);
|
213
210
|
return te(w), T;
|
214
211
|
}
|
215
|
-
function
|
212
|
+
function Wr(e, t, r) {
|
216
213
|
const { fragment: n, after_update: i } = e.$$;
|
217
|
-
n && n.m(t, r),
|
218
|
-
const s = e.$$.on_mount.map(Dt).filter(
|
214
|
+
n && n.m(t, r), Ve(() => {
|
215
|
+
const s = e.$$.on_mount.map(Dt).filter(at);
|
219
216
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
220
|
-
}), i.forEach(
|
217
|
+
}), i.forEach(Ve);
|
221
218
|
}
|
222
|
-
function
|
219
|
+
function zr(e, t) {
|
223
220
|
const r = e.$$;
|
224
|
-
r.fragment !== null && (
|
221
|
+
r.fragment !== null && (Vr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
225
222
|
}
|
226
|
-
function
|
223
|
+
function Zr(e, t) {
|
227
224
|
e.$$.dirty[0] === -1 && (Q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
228
225
|
}
|
229
|
-
function
|
226
|
+
function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
230
227
|
const h = ae;
|
231
228
|
oe(e);
|
232
229
|
const u = e.$$ = {
|
@@ -234,7 +231,7 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
234
231
|
ctx: [],
|
235
232
|
// state
|
236
233
|
props: s,
|
237
|
-
update:
|
234
|
+
update: I,
|
238
235
|
not_equal: i,
|
239
236
|
bound: bt(),
|
240
237
|
// lifecycle
|
@@ -254,14 +251,14 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
254
251
|
let l = !1;
|
255
252
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
256
253
|
const b = d.length ? d[0] : c;
|
257
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
254
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Zr(e, m)), c;
|
258
255
|
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
259
256
|
if (t.hydrate) {
|
260
|
-
const m =
|
257
|
+
const m = Ur(t.target);
|
261
258
|
u.fragment && u.fragment.l(m), m.forEach(re);
|
262
259
|
} else
|
263
260
|
u.fragment && u.fragment.c();
|
264
|
-
t.intro && Wt(e.$$.fragment),
|
261
|
+
t.intro && Wt(e.$$.fragment), Wr(e, t.target, t.anchor), x();
|
265
262
|
}
|
266
263
|
oe(h);
|
267
264
|
}
|
@@ -325,7 +322,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
325
322
|
};
|
326
323
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
327
324
|
return;
|
328
|
-
const t = {}, r =
|
325
|
+
const t = {}, r = Dr(this);
|
329
326
|
for (const i of this.$$s)
|
330
327
|
i in r && (t[i] = [e(i)]);
|
331
328
|
for (const i of this.attributes) {
|
@@ -412,7 +409,7 @@ function ve(e, t, r, n) {
|
|
412
409
|
return t;
|
413
410
|
}
|
414
411
|
}
|
415
|
-
function
|
412
|
+
function Yr(e, t, r, n, i, s) {
|
416
413
|
let o = class extends zt {
|
417
414
|
constructor() {
|
418
415
|
super(e, r, i), this.$$p_d = t;
|
@@ -441,7 +438,7 @@ function qr(e, t, r, n, i, s) {
|
|
441
438
|
}), e.element = /** @type {any} */
|
442
439
|
o, o;
|
443
440
|
}
|
444
|
-
class
|
441
|
+
class qr {
|
445
442
|
/**
|
446
443
|
* ### PRIVATE API
|
447
444
|
*
|
@@ -460,7 +457,7 @@ class Jr {
|
|
460
457
|
$$set = void 0;
|
461
458
|
/** @returns {void} */
|
462
459
|
$destroy() {
|
463
|
-
|
460
|
+
zr(this, 1), this.$destroy = I;
|
464
461
|
}
|
465
462
|
/**
|
466
463
|
* @template {Extract<keyof Events, string>} K
|
@@ -469,8 +466,8 @@ class Jr {
|
|
469
466
|
* @returns {() => void}
|
470
467
|
*/
|
471
468
|
$on(t, r) {
|
472
|
-
if (!
|
473
|
-
return
|
469
|
+
if (!at(r))
|
470
|
+
return I;
|
474
471
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
475
472
|
return n.push(r), () => {
|
476
473
|
const i = n.indexOf(r);
|
@@ -485,8 +482,8 @@ class Jr {
|
|
485
482
|
this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
486
483
|
}
|
487
484
|
}
|
488
|
-
const
|
489
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
485
|
+
const Jr = "4";
|
486
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
|
490
487
|
/*! *****************************************************************************
|
491
488
|
Copyright (c) Microsoft Corporation.
|
492
489
|
|
@@ -501,24 +498,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
501
498
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
502
499
|
PERFORMANCE OF THIS SOFTWARE.
|
503
500
|
***************************************************************************** */
|
504
|
-
var
|
505
|
-
return
|
501
|
+
var Xe = function(e, t) {
|
502
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
506
503
|
r.__proto__ = n;
|
507
504
|
} || function(r, n) {
|
508
505
|
for (var i in n)
|
509
506
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
510
|
-
},
|
507
|
+
}, Xe(e, t);
|
511
508
|
};
|
512
509
|
function fe(e, t) {
|
513
510
|
if (typeof t != "function" && t !== null)
|
514
511
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
515
|
-
|
512
|
+
Xe(e, t);
|
516
513
|
function r() {
|
517
514
|
this.constructor = e;
|
518
515
|
}
|
519
516
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
520
517
|
}
|
521
|
-
function
|
518
|
+
function We(e) {
|
522
519
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
523
520
|
if (r)
|
524
521
|
return r.call(e);
|
@@ -530,7 +527,7 @@ function Ze(e) {
|
|
530
527
|
};
|
531
528
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
532
529
|
}
|
533
|
-
function
|
530
|
+
function ze(e, t) {
|
534
531
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
535
532
|
if (!r)
|
536
533
|
return e;
|
@@ -550,7 +547,7 @@ function Qe(e, t) {
|
|
550
547
|
}
|
551
548
|
return s;
|
552
549
|
}
|
553
|
-
function
|
550
|
+
function Ze(e, t, r) {
|
554
551
|
if (arguments.length === 2)
|
555
552
|
for (var n = 0, i = t.length, s; n < i; n++)
|
556
553
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
@@ -565,7 +562,7 @@ function Zt(e) {
|
|
565
562
|
}, r = e(t);
|
566
563
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
567
564
|
}
|
568
|
-
var
|
565
|
+
var Me = Zt(function(e) {
|
569
566
|
return function(r) {
|
570
567
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
571
568
|
` + r.map(function(n, i) {
|
@@ -574,13 +571,13 @@ var Ge = Zt(function(e) {
|
|
574
571
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
575
572
|
};
|
576
573
|
});
|
577
|
-
function
|
574
|
+
function Qe(e, t) {
|
578
575
|
if (e) {
|
579
576
|
var r = e.indexOf(t);
|
580
577
|
0 <= r && e.splice(r, 1);
|
581
578
|
}
|
582
579
|
}
|
583
|
-
var
|
580
|
+
var He = function() {
|
584
581
|
function e(t) {
|
585
582
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
586
583
|
}
|
@@ -592,12 +589,12 @@ var Ae = function() {
|
|
592
589
|
if (o)
|
593
590
|
if (this._parentage = null, Array.isArray(o))
|
594
591
|
try {
|
595
|
-
for (var a =
|
592
|
+
for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
|
596
593
|
var u = h.value;
|
597
594
|
u.remove(this);
|
598
595
|
}
|
599
|
-
} catch (
|
600
|
-
t = { error:
|
596
|
+
} catch (g) {
|
597
|
+
t = { error: g };
|
601
598
|
} finally {
|
602
599
|
try {
|
603
600
|
h && !h.done && (r = a.return) && r.call(a);
|
@@ -612,23 +609,23 @@ var Ae = function() {
|
|
612
609
|
if (U(l))
|
613
610
|
try {
|
614
611
|
l();
|
615
|
-
} catch (
|
616
|
-
s =
|
612
|
+
} catch (g) {
|
613
|
+
s = g instanceof Me ? g.errors : [g];
|
617
614
|
}
|
618
615
|
var m = this._finalizers;
|
619
616
|
if (m) {
|
620
617
|
this._finalizers = null;
|
621
618
|
try {
|
622
|
-
for (var c =
|
619
|
+
for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
|
623
620
|
var b = d.value;
|
624
621
|
try {
|
625
|
-
|
626
|
-
} catch (
|
627
|
-
s = s ?? [],
|
622
|
+
yt(b);
|
623
|
+
} catch (g) {
|
624
|
+
s = s ?? [], g instanceof Me ? s = Ze(Ze([], ze(s)), ze(g.errors)) : s.push(g);
|
628
625
|
}
|
629
626
|
}
|
630
|
-
} catch (
|
631
|
-
n = { error:
|
627
|
+
} catch (g) {
|
628
|
+
n = { error: g };
|
632
629
|
} finally {
|
633
630
|
try {
|
634
631
|
d && !d.done && (i = c.return) && i.call(c);
|
@@ -639,13 +636,13 @@ var Ae = function() {
|
|
639
636
|
}
|
640
637
|
}
|
641
638
|
if (s)
|
642
|
-
throw new
|
639
|
+
throw new Me(s);
|
643
640
|
}
|
644
641
|
}, e.prototype.add = function(t) {
|
645
642
|
var r;
|
646
643
|
if (t && t !== this)
|
647
644
|
if (this.closed)
|
648
|
-
|
645
|
+
yt(t);
|
649
646
|
else {
|
650
647
|
if (t instanceof e) {
|
651
648
|
if (t.closed || t._hasParent(this))
|
@@ -662,40 +659,40 @@ var Ae = function() {
|
|
662
659
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
663
660
|
}, e.prototype._removeParent = function(t) {
|
664
661
|
var r = this._parentage;
|
665
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
662
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
666
663
|
}, e.prototype.remove = function(t) {
|
667
664
|
var r = this._finalizers;
|
668
|
-
r &&
|
665
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
669
666
|
}, e.EMPTY = function() {
|
670
667
|
var t = new e();
|
671
668
|
return t.closed = !0, t;
|
672
669
|
}(), e;
|
673
|
-
}(), Qt =
|
670
|
+
}(), Qt = He.EMPTY;
|
674
671
|
function Yt(e) {
|
675
|
-
return e instanceof
|
672
|
+
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
676
673
|
}
|
677
|
-
function
|
674
|
+
function yt(e) {
|
678
675
|
U(e) ? e() : e.unsubscribe();
|
679
676
|
}
|
680
|
-
var
|
677
|
+
var Kr = {
|
681
678
|
Promise: void 0
|
682
|
-
},
|
679
|
+
}, en = {
|
683
680
|
setTimeout: function(e, t) {
|
684
681
|
for (var r = [], n = 2; n < arguments.length; n++)
|
685
682
|
r[n - 2] = arguments[n];
|
686
|
-
return setTimeout.apply(void 0,
|
683
|
+
return setTimeout.apply(void 0, Ze([e, t], ze(r)));
|
687
684
|
},
|
688
685
|
clearTimeout: function(e) {
|
689
686
|
return clearTimeout(e);
|
690
687
|
},
|
691
688
|
delegate: void 0
|
692
689
|
};
|
693
|
-
function
|
694
|
-
|
690
|
+
function tn(e) {
|
691
|
+
en.setTimeout(function() {
|
695
692
|
throw e;
|
696
693
|
});
|
697
694
|
}
|
698
|
-
function
|
695
|
+
function gt() {
|
699
696
|
}
|
700
697
|
function _e(e) {
|
701
698
|
e();
|
@@ -704,10 +701,10 @@ var qt = function(e) {
|
|
704
701
|
fe(t, e);
|
705
702
|
function t(r) {
|
706
703
|
var n = e.call(this) || this;
|
707
|
-
return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination =
|
704
|
+
return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = sn, n;
|
708
705
|
}
|
709
706
|
return t.create = function(r, n, i) {
|
710
|
-
return new
|
707
|
+
return new Ye(r, n, i);
|
711
708
|
}, t.prototype.next = function(r) {
|
712
709
|
this.isStopped || this._next(r);
|
713
710
|
}, t.prototype.error = function(r) {
|
@@ -731,7 +728,7 @@ var qt = function(e) {
|
|
731
728
|
this.unsubscribe();
|
732
729
|
}
|
733
730
|
}, t;
|
734
|
-
}(
|
731
|
+
}(He), rn = function() {
|
735
732
|
function e(t) {
|
736
733
|
this.partialObserver = t;
|
737
734
|
}
|
@@ -741,7 +738,7 @@ var qt = function(e) {
|
|
741
738
|
try {
|
742
739
|
r.next(t);
|
743
740
|
} catch (n) {
|
744
|
-
|
741
|
+
ye(n);
|
745
742
|
}
|
746
743
|
}, e.prototype.error = function(t) {
|
747
744
|
var r = this.partialObserver;
|
@@ -749,20 +746,20 @@ var qt = function(e) {
|
|
749
746
|
try {
|
750
747
|
r.error(t);
|
751
748
|
} catch (n) {
|
752
|
-
|
749
|
+
ye(n);
|
753
750
|
}
|
754
751
|
else
|
755
|
-
|
752
|
+
ye(t);
|
756
753
|
}, e.prototype.complete = function() {
|
757
754
|
var t = this.partialObserver;
|
758
755
|
if (t.complete)
|
759
756
|
try {
|
760
757
|
t.complete();
|
761
758
|
} catch (r) {
|
762
|
-
|
759
|
+
ye(r);
|
763
760
|
}
|
764
761
|
}, e;
|
765
|
-
}(),
|
762
|
+
}(), Ye = function(e) {
|
766
763
|
fe(t, e);
|
767
764
|
function t(r, n, i) {
|
768
765
|
var s = e.call(this) || this, o;
|
@@ -770,29 +767,29 @@ var qt = function(e) {
|
|
770
767
|
next: r ?? void 0,
|
771
768
|
error: n ?? void 0,
|
772
769
|
complete: i ?? void 0
|
773
|
-
} : o = r, s.destination = new
|
770
|
+
} : o = r, s.destination = new rn(o), s;
|
774
771
|
}
|
775
772
|
return t;
|
776
773
|
}(qt);
|
777
|
-
function
|
778
|
-
|
774
|
+
function ye(e) {
|
775
|
+
tn(e);
|
779
776
|
}
|
780
|
-
function
|
777
|
+
function nn(e) {
|
781
778
|
throw e;
|
782
779
|
}
|
783
|
-
var
|
780
|
+
var sn = {
|
784
781
|
closed: !0,
|
785
|
-
next:
|
786
|
-
error:
|
787
|
-
complete:
|
788
|
-
},
|
782
|
+
next: gt,
|
783
|
+
error: nn,
|
784
|
+
complete: gt
|
785
|
+
}, on = function() {
|
789
786
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
790
787
|
}();
|
791
|
-
function
|
788
|
+
function an(e) {
|
792
789
|
return e;
|
793
790
|
}
|
794
|
-
function
|
795
|
-
return e.length === 0 ?
|
791
|
+
function un(e) {
|
792
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
796
793
|
return e.reduce(function(n, i) {
|
797
794
|
return i(n);
|
798
795
|
}, r);
|
@@ -806,7 +803,7 @@ var vt = function() {
|
|
806
803
|
var r = new e();
|
807
804
|
return r.source = this, r.operator = t, r;
|
808
805
|
}, e.prototype.subscribe = function(t, r, n) {
|
809
|
-
var i = this, s =
|
806
|
+
var i = this, s = ln(t) ? t : new Ye(t, r, n);
|
810
807
|
return _e(function() {
|
811
808
|
var o = i, a = o.operator, h = o.source;
|
812
809
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -820,7 +817,7 @@ var vt = function() {
|
|
820
817
|
}, e.prototype.forEach = function(t, r) {
|
821
818
|
var n = this;
|
822
819
|
return r = _t(r), new r(function(i, s) {
|
823
|
-
var o = new
|
820
|
+
var o = new Ye({
|
824
821
|
next: function(a) {
|
825
822
|
try {
|
826
823
|
t(a);
|
@@ -836,12 +833,12 @@ var vt = function() {
|
|
836
833
|
}, e.prototype._subscribe = function(t) {
|
837
834
|
var r;
|
838
835
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
839
|
-
}, e.prototype[
|
836
|
+
}, e.prototype[on] = function() {
|
840
837
|
return this;
|
841
838
|
}, e.prototype.pipe = function() {
|
842
839
|
for (var t = [], r = 0; r < arguments.length; r++)
|
843
840
|
t[r] = arguments[r];
|
844
|
-
return
|
841
|
+
return un(t)(this);
|
845
842
|
}, e.prototype.toPromise = function(t) {
|
846
843
|
var r = this;
|
847
844
|
return t = _t(t), new t(function(n, i) {
|
@@ -860,15 +857,15 @@ var vt = function() {
|
|
860
857
|
}();
|
861
858
|
function _t(e) {
|
862
859
|
var t;
|
863
|
-
return (t = e ??
|
860
|
+
return (t = e ?? Kr.Promise) !== null && t !== void 0 ? t : Promise;
|
864
861
|
}
|
865
|
-
function
|
862
|
+
function hn(e) {
|
866
863
|
return e && U(e.next) && U(e.error) && U(e.complete);
|
867
864
|
}
|
868
|
-
function
|
869
|
-
return e && e instanceof qt ||
|
865
|
+
function ln(e) {
|
866
|
+
return e && e instanceof qt || hn(e) && Yt(e);
|
870
867
|
}
|
871
|
-
var
|
868
|
+
var cn = Zt(function(e) {
|
872
869
|
return function() {
|
873
870
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
874
871
|
};
|
@@ -883,7 +880,7 @@ var fn = Zt(function(e) {
|
|
883
880
|
return n.operator = r, n;
|
884
881
|
}, t.prototype._throwIfClosed = function() {
|
885
882
|
if (this.closed)
|
886
|
-
throw new
|
883
|
+
throw new cn();
|
887
884
|
}, t.prototype.next = function(r) {
|
888
885
|
var n = this;
|
889
886
|
_e(function() {
|
@@ -891,7 +888,7 @@ var fn = Zt(function(e) {
|
|
891
888
|
if (n._throwIfClosed(), !n.isStopped) {
|
892
889
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
893
890
|
try {
|
894
|
-
for (var o =
|
891
|
+
for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
895
892
|
var h = a.value;
|
896
893
|
h.next(r);
|
897
894
|
}
|
@@ -940,8 +937,8 @@ var fn = Zt(function(e) {
|
|
940
937
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
941
938
|
}, t.prototype._innerSubscribe = function(r) {
|
942
939
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
943
|
-
return s || o ? Qt : (this.currentObservers = null, a.push(r), new
|
944
|
-
n.currentObservers = null,
|
940
|
+
return s || o ? Qt : (this.currentObservers = null, a.push(r), new He(function() {
|
941
|
+
n.currentObservers = null, Qe(a, r);
|
945
942
|
}));
|
946
943
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
947
944
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
@@ -976,7 +973,7 @@ var fn = Zt(function(e) {
|
|
976
973
|
return (Kt.delegate || Date).now();
|
977
974
|
},
|
978
975
|
delegate: void 0
|
979
|
-
},
|
976
|
+
}, fn = function(e) {
|
980
977
|
fe(t, e);
|
981
978
|
function t(r, n, i) {
|
982
979
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
@@ -1000,19 +997,19 @@ var fn = Zt(function(e) {
|
|
1000
997
|
}
|
1001
998
|
}, t;
|
1002
999
|
}(Jt);
|
1003
|
-
const xt = [], St = {},
|
1000
|
+
const xt = [], St = {}, mn = (e, t = 0) => {
|
1004
1001
|
if (xt.indexOf(e) == -1) {
|
1005
|
-
const r = new
|
1002
|
+
const r = new fn(t);
|
1006
1003
|
St[e] = r, xt.push(e);
|
1007
1004
|
}
|
1008
1005
|
return St[e];
|
1009
1006
|
}, Z = [];
|
1010
|
-
function
|
1007
|
+
function dn(e, t) {
|
1011
1008
|
return {
|
1012
|
-
subscribe:
|
1009
|
+
subscribe: Ae(e, t).subscribe
|
1013
1010
|
};
|
1014
1011
|
}
|
1015
|
-
function
|
1012
|
+
function Ae(e, t = I) {
|
1016
1013
|
let r;
|
1017
1014
|
const n = /* @__PURE__ */ new Set();
|
1018
1015
|
function i(a) {
|
@@ -1030,9 +1027,9 @@ function Be(e, t = P) {
|
|
1030
1027
|
function s(a) {
|
1031
1028
|
i(a(e));
|
1032
1029
|
}
|
1033
|
-
function o(a, h =
|
1030
|
+
function o(a, h = I) {
|
1034
1031
|
const u = [a, h];
|
1035
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
1032
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || I), a(e), () => {
|
1036
1033
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
1037
1034
|
};
|
1038
1035
|
}
|
@@ -1043,24 +1040,24 @@ function ne(e, t, r) {
|
|
1043
1040
|
if (!i.every(Boolean))
|
1044
1041
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1045
1042
|
const s = t.length < 2;
|
1046
|
-
return
|
1043
|
+
return dn(r, (o, a) => {
|
1047
1044
|
let h = !1;
|
1048
1045
|
const u = [];
|
1049
|
-
let l = 0, m =
|
1046
|
+
let l = 0, m = I;
|
1050
1047
|
const c = () => {
|
1051
1048
|
if (l)
|
1052
1049
|
return;
|
1053
1050
|
m();
|
1054
1051
|
const b = t(n ? u[0] : u, o, a);
|
1055
|
-
s ? o(b) : m =
|
1052
|
+
s ? o(b) : m = at(b) ? b : I;
|
1056
1053
|
}, d = i.map(
|
1057
|
-
(b,
|
1054
|
+
(b, g) => Ft(
|
1058
1055
|
b,
|
1059
1056
|
(T) => {
|
1060
|
-
u[
|
1057
|
+
u[g] = T, l &= ~(1 << g), h && c();
|
1061
1058
|
},
|
1062
1059
|
() => {
|
1063
|
-
l |= 1 <<
|
1060
|
+
l |= 1 << g;
|
1064
1061
|
}
|
1065
1062
|
)
|
1066
1063
|
);
|
@@ -1069,47 +1066,47 @@ function ne(e, t, r) {
|
|
1069
1066
|
};
|
1070
1067
|
});
|
1071
1068
|
}
|
1072
|
-
function
|
1069
|
+
function bn(e) {
|
1073
1070
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1074
1071
|
}
|
1075
|
-
var
|
1076
|
-
return yn(t) && !
|
1072
|
+
var pn = function(t) {
|
1073
|
+
return yn(t) && !gn(t);
|
1077
1074
|
};
|
1078
1075
|
function yn(e) {
|
1079
1076
|
return !!e && typeof e == "object";
|
1080
1077
|
}
|
1081
|
-
function
|
1078
|
+
function gn(e) {
|
1082
1079
|
var t = Object.prototype.toString.call(e);
|
1083
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1080
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
1084
1081
|
}
|
1085
|
-
var
|
1086
|
-
function
|
1087
|
-
return e.$$typeof ===
|
1082
|
+
var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
|
1083
|
+
function En(e) {
|
1084
|
+
return e.$$typeof === _n;
|
1088
1085
|
}
|
1089
|
-
function
|
1086
|
+
function xn(e) {
|
1090
1087
|
return Array.isArray(e) ? [] : {};
|
1091
1088
|
}
|
1092
1089
|
function ue(e, t) {
|
1093
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? q(
|
1090
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(xn(e), e, t) : e;
|
1094
1091
|
}
|
1095
|
-
function
|
1092
|
+
function Sn(e, t, r) {
|
1096
1093
|
return e.concat(t).map(function(n) {
|
1097
1094
|
return ue(n, r);
|
1098
1095
|
});
|
1099
1096
|
}
|
1100
|
-
function
|
1097
|
+
function wn(e, t) {
|
1101
1098
|
if (!t.customMerge)
|
1102
1099
|
return q;
|
1103
1100
|
var r = t.customMerge(e);
|
1104
1101
|
return typeof r == "function" ? r : q;
|
1105
1102
|
}
|
1106
|
-
function
|
1103
|
+
function Tn(e) {
|
1107
1104
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1108
1105
|
return Object.propertyIsEnumerable.call(e, t);
|
1109
1106
|
}) : [];
|
1110
1107
|
}
|
1111
1108
|
function wt(e) {
|
1112
|
-
return Object.keys(e).concat(
|
1109
|
+
return Object.keys(e).concat(Tn(e));
|
1113
1110
|
}
|
1114
1111
|
function er(e, t) {
|
1115
1112
|
try {
|
@@ -1118,21 +1115,21 @@ function er(e, t) {
|
|
1118
1115
|
return !1;
|
1119
1116
|
}
|
1120
1117
|
}
|
1121
|
-
function
|
1118
|
+
function Hn(e, t) {
|
1122
1119
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1123
1120
|
}
|
1124
|
-
function
|
1121
|
+
function An(e, t, r) {
|
1125
1122
|
var n = {};
|
1126
1123
|
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
1127
1124
|
n[i] = ue(e[i], r);
|
1128
1125
|
}), wt(t).forEach(function(i) {
|
1129
|
-
|
1126
|
+
Hn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
1130
1127
|
}), n;
|
1131
1128
|
}
|
1132
1129
|
function q(e, t, r) {
|
1133
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1130
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ue;
|
1134
1131
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1135
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1132
|
+
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ue(t, r);
|
1136
1133
|
}
|
1137
1134
|
q.all = function(t, r) {
|
1138
1135
|
if (!Array.isArray(t))
|
@@ -1141,20 +1138,20 @@ q.all = function(t, r) {
|
|
1141
1138
|
return q(n, i, r);
|
1142
1139
|
}, {});
|
1143
1140
|
};
|
1144
|
-
var
|
1145
|
-
const
|
1146
|
-
var
|
1147
|
-
return
|
1141
|
+
var Bn = q, Pn = Bn;
|
1142
|
+
const On = /* @__PURE__ */ bn(Pn);
|
1143
|
+
var qe = function(e, t) {
|
1144
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
1148
1145
|
r.__proto__ = n;
|
1149
1146
|
} || function(r, n) {
|
1150
1147
|
for (var i in n)
|
1151
1148
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1152
|
-
},
|
1149
|
+
}, qe(e, t);
|
1153
1150
|
};
|
1154
|
-
function
|
1151
|
+
function Be(e, t) {
|
1155
1152
|
if (typeof t != "function" && t !== null)
|
1156
1153
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1157
|
-
|
1154
|
+
qe(e, t);
|
1158
1155
|
function r() {
|
1159
1156
|
this.constructor = e;
|
1160
1157
|
}
|
@@ -1170,7 +1167,7 @@ var R = function() {
|
|
1170
1167
|
return t;
|
1171
1168
|
}, R.apply(this, arguments);
|
1172
1169
|
};
|
1173
|
-
function
|
1170
|
+
function Nn(e, t) {
|
1174
1171
|
var r = {};
|
1175
1172
|
for (var n in e)
|
1176
1173
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -1179,24 +1176,24 @@ function Ln(e, t) {
|
|
1179
1176
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1180
1177
|
return r;
|
1181
1178
|
}
|
1182
|
-
function
|
1179
|
+
function Re(e, t, r) {
|
1183
1180
|
if (r || arguments.length === 2)
|
1184
1181
|
for (var n = 0, i = t.length, s; n < i; n++)
|
1185
1182
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1186
1183
|
return e.concat(s || Array.prototype.slice.call(t));
|
1187
1184
|
}
|
1188
|
-
function
|
1189
|
-
var r = t && t.cache ? t.cache :
|
1185
|
+
function Ge(e, t) {
|
1186
|
+
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Cn;
|
1190
1187
|
return i(e, {
|
1191
1188
|
cache: r,
|
1192
1189
|
serializer: n
|
1193
1190
|
});
|
1194
1191
|
}
|
1195
|
-
function
|
1192
|
+
function Ln(e) {
|
1196
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1197
1194
|
}
|
1198
|
-
function
|
1199
|
-
var i =
|
1195
|
+
function In(e, t, r, n) {
|
1196
|
+
var i = Ln(n) ? n : r(n), s = t.get(i);
|
1200
1197
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1201
1198
|
}
|
1202
1199
|
function tr(e, t, r) {
|
@@ -1206,16 +1203,16 @@ function tr(e, t, r) {
|
|
1206
1203
|
function rr(e, t, r, n, i) {
|
1207
1204
|
return r.bind(t, e, n, i);
|
1208
1205
|
}
|
1209
|
-
function
|
1210
|
-
var r = e.length === 1 ?
|
1206
|
+
function Cn(e, t) {
|
1207
|
+
var r = e.length === 1 ? In : tr;
|
1211
1208
|
return rr(e, this, r, t.cache.create(), t.serializer);
|
1212
1209
|
}
|
1213
|
-
function
|
1210
|
+
function Mn(e, t) {
|
1214
1211
|
return rr(e, this, tr, t.cache.create(), t.serializer);
|
1215
1212
|
}
|
1216
|
-
var
|
1213
|
+
var Rn = function() {
|
1217
1214
|
return JSON.stringify(arguments);
|
1218
|
-
},
|
1215
|
+
}, Gn = (
|
1219
1216
|
/** @class */
|
1220
1217
|
function() {
|
1221
1218
|
function e() {
|
@@ -1227,12 +1224,12 @@ var Gn = function() {
|
|
1227
1224
|
this.cache[t] = r;
|
1228
1225
|
}, e;
|
1229
1226
|
}()
|
1230
|
-
),
|
1227
|
+
), Un = {
|
1231
1228
|
create: function() {
|
1232
|
-
return new
|
1229
|
+
return new Gn();
|
1233
1230
|
}
|
1234
|
-
},
|
1235
|
-
variadic:
|
1231
|
+
}, Ue = {
|
1232
|
+
variadic: Mn
|
1236
1233
|
}, Se = function() {
|
1237
1234
|
return Se = Object.assign || function(t) {
|
1238
1235
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
@@ -1258,7 +1255,7 @@ var J;
|
|
1258
1255
|
function Tt(e) {
|
1259
1256
|
return e.type === E.literal;
|
1260
1257
|
}
|
1261
|
-
function
|
1258
|
+
function Dn(e) {
|
1262
1259
|
return e.type === E.argument;
|
1263
1260
|
}
|
1264
1261
|
function nr(e) {
|
@@ -1276,7 +1273,7 @@ function or(e) {
|
|
1276
1273
|
function ar(e) {
|
1277
1274
|
return e.type === E.plural;
|
1278
1275
|
}
|
1279
|
-
function
|
1276
|
+
function $n(e) {
|
1280
1277
|
return e.type === E.pound;
|
1281
1278
|
}
|
1282
1279
|
function ur(e) {
|
@@ -1285,13 +1282,13 @@ function ur(e) {
|
|
1285
1282
|
function hr(e) {
|
1286
1283
|
return !!(e && typeof e == "object" && e.type === J.number);
|
1287
1284
|
}
|
1288
|
-
function
|
1285
|
+
function Je(e) {
|
1289
1286
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
1290
1287
|
}
|
1291
|
-
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
1292
|
-
function
|
1288
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
1289
|
+
function jn(e) {
|
1293
1290
|
var t = {};
|
1294
|
-
return e.replace(
|
1291
|
+
return e.replace(Fn, function(r) {
|
1295
1292
|
var n = r.length;
|
1296
1293
|
switch (r[0]) {
|
1297
1294
|
case "G":
|
@@ -1390,11 +1387,11 @@ var S = function() {
|
|
1390
1387
|
return t;
|
1391
1388
|
}, S.apply(this, arguments);
|
1392
1389
|
};
|
1393
|
-
var
|
1394
|
-
function
|
1390
|
+
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1391
|
+
function Vn(e) {
|
1395
1392
|
if (e.length === 0)
|
1396
1393
|
throw new Error("Number skeleton cannot be empty");
|
1397
|
-
for (var t = e.split(
|
1394
|
+
for (var t = e.split(kn).filter(function(c) {
|
1398
1395
|
return c.length > 0;
|
1399
1396
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1400
1397
|
var s = i[n], o = s.split("/");
|
@@ -1409,10 +1406,10 @@ function Xn(e) {
|
|
1409
1406
|
}
|
1410
1407
|
return r;
|
1411
1408
|
}
|
1412
|
-
function
|
1409
|
+
function Xn(e) {
|
1413
1410
|
return e.replace(/^(.*?)-/, "");
|
1414
1411
|
}
|
1415
|
-
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g,
|
1412
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
1416
1413
|
function At(e) {
|
1417
1414
|
var t = {};
|
1418
1415
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
@@ -1459,7 +1456,7 @@ function mr(e) {
|
|
1459
1456
|
};
|
1460
1457
|
}
|
1461
1458
|
}
|
1462
|
-
function
|
1459
|
+
function zn(e) {
|
1463
1460
|
var t;
|
1464
1461
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1465
1462
|
notation: "engineering"
|
@@ -1477,7 +1474,7 @@ function Bt(e) {
|
|
1477
1474
|
var t = {}, r = mr(e);
|
1478
1475
|
return r || t;
|
1479
1476
|
}
|
1480
|
-
function
|
1477
|
+
function Zn(e) {
|
1481
1478
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1482
1479
|
var i = n[r];
|
1483
1480
|
switch (i.stem) {
|
@@ -1501,7 +1498,7 @@ function Qn(e) {
|
|
1501
1498
|
continue;
|
1502
1499
|
case "measure-unit":
|
1503
1500
|
case "unit":
|
1504
|
-
t.style = "unit", t.unit =
|
1501
|
+
t.style = "unit", t.unit = Xn(i.options[0]);
|
1505
1502
|
continue;
|
1506
1503
|
case "compact-short":
|
1507
1504
|
case "K":
|
@@ -1563,7 +1560,7 @@ function Qn(e) {
|
|
1563
1560
|
case "integer-width":
|
1564
1561
|
if (i.options.length > 1)
|
1565
1562
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1566
|
-
i.options[0].replace(
|
1563
|
+
i.options[0].replace(Wn, function(h, u, l, m, c, d) {
|
1567
1564
|
if (u)
|
1568
1565
|
t.minimumIntegerDigits = l.length;
|
1569
1566
|
else {
|
@@ -1596,12 +1593,12 @@ function Qn(e) {
|
|
1596
1593
|
}
|
1597
1594
|
var o = mr(i.stem);
|
1598
1595
|
o && (t = S(S({}, t), o));
|
1599
|
-
var a =
|
1596
|
+
var a = zn(i.stem);
|
1600
1597
|
a && (t = S(S({}, t), a));
|
1601
1598
|
}
|
1602
1599
|
return t;
|
1603
1600
|
}
|
1604
|
-
var
|
1601
|
+
var ge = {
|
1605
1602
|
"001": [
|
1606
1603
|
"H",
|
1607
1604
|
"h"
|
@@ -3016,13 +3013,13 @@ var ye = {
|
|
3016
3013
|
"h"
|
3017
3014
|
]
|
3018
3015
|
};
|
3019
|
-
function
|
3016
|
+
function Qn(e, t) {
|
3020
3017
|
for (var r = "", n = 0; n < e.length; n++) {
|
3021
3018
|
var i = e.charAt(n);
|
3022
3019
|
if (i === "j") {
|
3023
3020
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3024
3021
|
s++, n++;
|
3025
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3022
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Yn(t);
|
3026
3023
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3027
3024
|
r += h;
|
3028
3025
|
for (; o-- > 0; )
|
@@ -3032,7 +3029,7 @@ function Yn(e, t) {
|
|
3032
3029
|
}
|
3033
3030
|
return r;
|
3034
3031
|
}
|
3035
|
-
function
|
3032
|
+
function Yn(e) {
|
3036
3033
|
var t = e.hourCycle;
|
3037
3034
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3038
3035
|
e.hourCycles && // @ts-ignore
|
@@ -3051,23 +3048,23 @@ function qn(e) {
|
|
3051
3048
|
}
|
3052
3049
|
var r = e.language, n;
|
3053
3050
|
r !== "root" && (n = e.maximize().region);
|
3054
|
-
var i =
|
3051
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
3055
3052
|
return i[0];
|
3056
3053
|
}
|
3057
|
-
var
|
3058
|
-
function
|
3054
|
+
var De, qn = new RegExp("^".concat(lr.source, "*")), Jn = new RegExp("".concat(lr.source, "*$"));
|
3055
|
+
function y(e, t) {
|
3059
3056
|
return { start: e, end: t };
|
3060
3057
|
}
|
3061
|
-
var
|
3058
|
+
var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, oi = si ? Number.isSafeInteger : function(e) {
|
3062
3059
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3063
|
-
},
|
3060
|
+
}, Ke = !0;
|
3064
3061
|
try {
|
3065
|
-
var
|
3066
|
-
|
3062
|
+
var ai = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3063
|
+
Ke = ((De = ai.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
3067
3064
|
} catch {
|
3068
|
-
|
3065
|
+
Ke = !1;
|
3069
3066
|
}
|
3070
|
-
var Pt =
|
3067
|
+
var Pt = Kn ? (
|
3071
3068
|
// Native
|
3072
3069
|
function(t, r, n) {
|
3073
3070
|
return t.startsWith(r, n);
|
@@ -3077,7 +3074,7 @@ var Pt = ei ? (
|
|
3077
3074
|
function(t, r, n) {
|
3078
3075
|
return t.slice(n, n + r.length) === r;
|
3079
3076
|
}
|
3080
|
-
),
|
3077
|
+
), et = ei ? String.fromCodePoint : (
|
3081
3078
|
// IE11
|
3082
3079
|
function() {
|
3083
3080
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3091,7 +3088,7 @@ var Pt = ei ? (
|
|
3091
3088
|
}
|
3092
3089
|
), Ot = (
|
3093
3090
|
// native
|
3094
|
-
|
3091
|
+
ti ? Object.fromEntries : (
|
3095
3092
|
// Ponyfill
|
3096
3093
|
function(t) {
|
3097
3094
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3101,7 +3098,7 @@ var Pt = ei ? (
|
|
3101
3098
|
return r;
|
3102
3099
|
}
|
3103
3100
|
)
|
3104
|
-
), dr =
|
3101
|
+
), dr = ri ? (
|
3105
3102
|
// Native
|
3106
3103
|
function(t, r) {
|
3107
3104
|
return t.codePointAt(r);
|
@@ -3115,7 +3112,7 @@ var Pt = ei ? (
|
|
3115
3112
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3116
3113
|
}
|
3117
3114
|
}
|
3118
|
-
),
|
3115
|
+
), ui = ni ? (
|
3119
3116
|
// Native
|
3120
3117
|
function(t) {
|
3121
3118
|
return t.trimStart();
|
@@ -3123,9 +3120,9 @@ var Pt = ei ? (
|
|
3123
3120
|
) : (
|
3124
3121
|
// Ponyfill
|
3125
3122
|
function(t) {
|
3126
|
-
return t.replace(
|
3123
|
+
return t.replace(qn, "");
|
3127
3124
|
}
|
3128
|
-
),
|
3125
|
+
), hi = ii ? (
|
3129
3126
|
// Native
|
3130
3127
|
function(t) {
|
3131
3128
|
return t.trimEnd();
|
@@ -3133,32 +3130,32 @@ var Pt = ei ? (
|
|
3133
3130
|
) : (
|
3134
3131
|
// Ponyfill
|
3135
3132
|
function(t) {
|
3136
|
-
return t.replace(
|
3133
|
+
return t.replace(Jn, "");
|
3137
3134
|
}
|
3138
3135
|
);
|
3139
3136
|
function br(e, t) {
|
3140
3137
|
return new RegExp(e, t);
|
3141
3138
|
}
|
3142
|
-
var
|
3143
|
-
if (
|
3139
|
+
var tt;
|
3140
|
+
if (Ke) {
|
3144
3141
|
var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3145
|
-
|
3142
|
+
tt = function(t, r) {
|
3146
3143
|
var n;
|
3147
3144
|
Nt.lastIndex = r;
|
3148
3145
|
var i = Nt.exec(t);
|
3149
3146
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3150
3147
|
};
|
3151
3148
|
} else
|
3152
|
-
|
3149
|
+
tt = function(t, r) {
|
3153
3150
|
for (var n = []; ; ) {
|
3154
3151
|
var i = dr(t, r);
|
3155
|
-
if (i === void 0 || pr(i) ||
|
3152
|
+
if (i === void 0 || pr(i) || mi(i))
|
3156
3153
|
break;
|
3157
3154
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3158
3155
|
}
|
3159
|
-
return
|
3156
|
+
return et.apply(void 0, n);
|
3160
3157
|
};
|
3161
|
-
var
|
3158
|
+
var li = (
|
3162
3159
|
/** @class */
|
3163
3160
|
function() {
|
3164
3161
|
function e(t, r) {
|
@@ -3183,13 +3180,13 @@ var ci = (
|
|
3183
3180
|
var a = this.clonePosition();
|
3184
3181
|
this.bump(), i.push({
|
3185
3182
|
type: E.pound,
|
3186
|
-
location:
|
3183
|
+
location: y(a, this.clonePosition())
|
3187
3184
|
});
|
3188
3185
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3189
3186
|
if (n)
|
3190
3187
|
break;
|
3191
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
3192
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3188
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
3189
|
+
} else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
|
3193
3190
|
var o = this.parseTag(t, r);
|
3194
3191
|
if (o.err)
|
3195
3192
|
return o;
|
@@ -3212,7 +3209,7 @@ var ci = (
|
|
3212
3209
|
val: {
|
3213
3210
|
type: E.literal,
|
3214
3211
|
value: "<".concat(i, "/>"),
|
3215
|
-
location:
|
3212
|
+
location: y(n, this.clonePosition())
|
3216
3213
|
},
|
3217
3214
|
err: null
|
3218
3215
|
};
|
@@ -3222,25 +3219,25 @@ var ci = (
|
|
3222
3219
|
return s;
|
3223
3220
|
var o = s.val, a = this.clonePosition();
|
3224
3221
|
if (this.bumpIf("</")) {
|
3225
|
-
if (this.isEOF() || !
|
3226
|
-
return this.error(p.INVALID_TAG,
|
3222
|
+
if (this.isEOF() || !rt(this.char()))
|
3223
|
+
return this.error(p.INVALID_TAG, y(a, this.clonePosition()));
|
3227
3224
|
var h = this.clonePosition(), u = this.parseTagName();
|
3228
|
-
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG,
|
3225
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3229
3226
|
val: {
|
3230
3227
|
type: E.tag,
|
3231
3228
|
value: i,
|
3232
3229
|
children: o,
|
3233
|
-
location:
|
3230
|
+
location: y(n, this.clonePosition())
|
3234
3231
|
},
|
3235
3232
|
err: null
|
3236
|
-
} : this.error(p.INVALID_TAG,
|
3233
|
+
} : this.error(p.INVALID_TAG, y(a, this.clonePosition())));
|
3237
3234
|
} else
|
3238
|
-
return this.error(p.UNCLOSED_TAG,
|
3235
|
+
return this.error(p.UNCLOSED_TAG, y(n, this.clonePosition()));
|
3239
3236
|
} else
|
3240
|
-
return this.error(p.INVALID_TAG,
|
3237
|
+
return this.error(p.INVALID_TAG, y(n, this.clonePosition()));
|
3241
3238
|
}, e.prototype.parseTagName = function() {
|
3242
3239
|
var t = this.offset();
|
3243
|
-
for (this.bump(); !this.isEOF() &&
|
3240
|
+
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
3244
3241
|
this.bump();
|
3245
3242
|
return this.message.slice(t, this.offset());
|
3246
3243
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3262,14 +3259,14 @@ var ci = (
|
|
3262
3259
|
}
|
3263
3260
|
break;
|
3264
3261
|
}
|
3265
|
-
var h =
|
3262
|
+
var h = y(n, this.clonePosition());
|
3266
3263
|
return {
|
3267
3264
|
val: { type: E.literal, value: i, location: h },
|
3268
3265
|
err: null
|
3269
3266
|
};
|
3270
3267
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3271
3268
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3272
|
-
!
|
3269
|
+
!ci(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3273
3270
|
}, e.prototype.tryParseQuote = function(t) {
|
3274
3271
|
if (this.isEOF() || this.char() !== 39)
|
3275
3272
|
return null;
|
@@ -3303,23 +3300,23 @@ var ci = (
|
|
3303
3300
|
r.push(n);
|
3304
3301
|
this.bump();
|
3305
3302
|
}
|
3306
|
-
return
|
3303
|
+
return et.apply(void 0, r);
|
3307
3304
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3308
3305
|
if (this.isEOF())
|
3309
3306
|
return null;
|
3310
3307
|
var n = this.char();
|
3311
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3308
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
|
3312
3309
|
}, e.prototype.parseArgument = function(t, r) {
|
3313
3310
|
var n = this.clonePosition();
|
3314
3311
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3315
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3312
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
3316
3313
|
if (this.char() === 125)
|
3317
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
3314
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
3318
3315
|
var i = this.parseIdentifierIfPossible().value;
|
3319
3316
|
if (!i)
|
3320
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3317
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
3321
3318
|
if (this.bumpSpace(), this.isEOF())
|
3322
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3319
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
3323
3320
|
switch (this.char()) {
|
3324
3321
|
case 125:
|
3325
3322
|
return this.bump(), {
|
@@ -3327,25 +3324,25 @@ var ci = (
|
|
3327
3324
|
type: E.argument,
|
3328
3325
|
// value does not include the opening and closing braces.
|
3329
3326
|
value: i,
|
3330
|
-
location:
|
3327
|
+
location: y(n, this.clonePosition())
|
3331
3328
|
},
|
3332
3329
|
err: null
|
3333
3330
|
};
|
3334
3331
|
case 44:
|
3335
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3332
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
3336
3333
|
default:
|
3337
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3334
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
3338
3335
|
}
|
3339
3336
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3340
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3337
|
+
var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
|
3341
3338
|
this.bumpTo(i);
|
3342
|
-
var s = this.clonePosition(), o =
|
3339
|
+
var s = this.clonePosition(), o = y(t, s);
|
3343
3340
|
return { value: n, location: o };
|
3344
3341
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3345
3342
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
3346
3343
|
switch (a) {
|
3347
3344
|
case "":
|
3348
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
3345
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, y(o, h));
|
3349
3346
|
case "number":
|
3350
3347
|
case "date":
|
3351
3348
|
case "time": {
|
@@ -3356,37 +3353,37 @@ var ci = (
|
|
3356
3353
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3357
3354
|
if (m.err)
|
3358
3355
|
return m;
|
3359
|
-
var c =
|
3356
|
+
var c = hi(m.val);
|
3360
3357
|
if (c.length === 0)
|
3361
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
3362
|
-
var d =
|
3358
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
3359
|
+
var d = y(l, this.clonePosition());
|
3363
3360
|
u = { style: c, styleLocation: d };
|
3364
3361
|
}
|
3365
3362
|
var b = this.tryParseArgumentClose(i);
|
3366
3363
|
if (b.err)
|
3367
3364
|
return b;
|
3368
|
-
var
|
3365
|
+
var g = y(i, this.clonePosition());
|
3369
3366
|
if (u && Pt(u?.style, "::", 0)) {
|
3370
|
-
var T =
|
3367
|
+
var T = ui(u.style.slice(2));
|
3371
3368
|
if (a === "number") {
|
3372
3369
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3373
3370
|
return m.err ? m : {
|
3374
|
-
val: { type: E.number, value: n, location:
|
3371
|
+
val: { type: E.number, value: n, location: g, style: m.val },
|
3375
3372
|
err: null
|
3376
3373
|
};
|
3377
3374
|
} else {
|
3378
3375
|
if (T.length === 0)
|
3379
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
3376
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
|
3380
3377
|
var C = T;
|
3381
|
-
this.locale && (C =
|
3378
|
+
this.locale && (C = Qn(T, this.locale));
|
3382
3379
|
var c = {
|
3383
3380
|
type: J.dateTime,
|
3384
3381
|
pattern: C,
|
3385
3382
|
location: u.styleLocation,
|
3386
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3387
|
-
},
|
3383
|
+
parsedOptions: this.shouldParseSkeletons ? jn(C) : {}
|
3384
|
+
}, P = a === "date" ? E.date : E.time;
|
3388
3385
|
return {
|
3389
|
-
val: { type:
|
3386
|
+
val: { type: P, value: n, location: g, style: c },
|
3390
3387
|
err: null
|
3391
3388
|
};
|
3392
3389
|
}
|
@@ -3395,7 +3392,7 @@ var ci = (
|
|
3395
3392
|
val: {
|
3396
3393
|
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
3397
3394
|
value: n,
|
3398
|
-
location:
|
3395
|
+
location: g,
|
3399
3396
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
3400
3397
|
},
|
3401
3398
|
err: null
|
@@ -3406,25 +3403,25 @@ var ci = (
|
|
3406
3403
|
case "select": {
|
3407
3404
|
var w = this.clonePosition();
|
3408
3405
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3409
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
3406
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Se({}, w)));
|
3410
3407
|
this.bumpSpace();
|
3411
|
-
var
|
3412
|
-
if (a !== "select" &&
|
3408
|
+
var O = this.parseIdentifierIfPossible(), N = 0;
|
3409
|
+
if (a !== "select" && O.value === "offset") {
|
3413
3410
|
if (!this.bumpIf(":"))
|
3414
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
3411
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
3415
3412
|
this.bumpSpace();
|
3416
3413
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3417
3414
|
if (m.err)
|
3418
3415
|
return m;
|
3419
|
-
this.bumpSpace(),
|
3416
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
|
3420
3417
|
}
|
3421
|
-
var M = this.tryParsePluralOrSelectOptions(t, a, r,
|
3418
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
3422
3419
|
if (M.err)
|
3423
3420
|
return M;
|
3424
3421
|
var b = this.tryParseArgumentClose(i);
|
3425
3422
|
if (b.err)
|
3426
3423
|
return b;
|
3427
|
-
var _ =
|
3424
|
+
var _ = y(i, this.clonePosition());
|
3428
3425
|
return a === "select" ? {
|
3429
3426
|
val: {
|
3430
3427
|
type: E.select,
|
@@ -3438,7 +3435,7 @@ var ci = (
|
|
3438
3435
|
type: E.plural,
|
3439
3436
|
value: n,
|
3440
3437
|
options: Ot(M.val),
|
3441
|
-
offset:
|
3438
|
+
offset: N,
|
3442
3439
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3443
3440
|
location: _
|
3444
3441
|
},
|
@@ -3446,10 +3443,10 @@ var ci = (
|
|
3446
3443
|
};
|
3447
3444
|
}
|
3448
3445
|
default:
|
3449
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
3446
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, y(o, h));
|
3450
3447
|
}
|
3451
3448
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3452
|
-
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3449
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
3453
3450
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3454
3451
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3455
3452
|
var n = this.char();
|
@@ -3458,7 +3455,7 @@ var ci = (
|
|
3458
3455
|
this.bump();
|
3459
3456
|
var i = this.clonePosition();
|
3460
3457
|
if (!this.bumpUntil("'"))
|
3461
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
3458
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
3462
3459
|
this.bump();
|
3463
3460
|
break;
|
3464
3461
|
}
|
@@ -3488,7 +3485,7 @@ var ci = (
|
|
3488
3485
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3489
3486
|
var n = [];
|
3490
3487
|
try {
|
3491
|
-
n =
|
3488
|
+
n = Vn(t);
|
3492
3489
|
} catch {
|
3493
3490
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3494
3491
|
}
|
@@ -3497,7 +3494,7 @@ var ci = (
|
|
3497
3494
|
type: J.number,
|
3498
3495
|
tokens: n,
|
3499
3496
|
location: r,
|
3500
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3497
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
|
3501
3498
|
},
|
3502
3499
|
err: null
|
3503
3500
|
};
|
@@ -3509,7 +3506,7 @@ var ci = (
|
|
3509
3506
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3510
3507
|
if (c.err)
|
3511
3508
|
return c;
|
3512
|
-
l =
|
3509
|
+
l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
3513
3510
|
} else
|
3514
3511
|
break;
|
3515
3512
|
}
|
@@ -3518,22 +3515,22 @@ var ci = (
|
|
3518
3515
|
u === "other" && (o = !0), this.bumpSpace();
|
3519
3516
|
var d = this.clonePosition();
|
3520
3517
|
if (!this.bumpIf("{"))
|
3521
|
-
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3518
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
3522
3519
|
var b = this.parseMessage(t + 1, r, n);
|
3523
3520
|
if (b.err)
|
3524
3521
|
return b;
|
3525
|
-
var
|
3526
|
-
if (
|
3527
|
-
return
|
3522
|
+
var g = this.tryParseArgumentClose(d);
|
3523
|
+
if (g.err)
|
3524
|
+
return g;
|
3528
3525
|
a.push([
|
3529
3526
|
u,
|
3530
3527
|
{
|
3531
3528
|
value: b.val,
|
3532
|
-
location:
|
3529
|
+
location: y(d, this.clonePosition())
|
3533
3530
|
}
|
3534
3531
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
3535
3532
|
}
|
3536
|
-
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3533
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3537
3534
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3538
3535
|
var n = 1, i = this.clonePosition();
|
3539
3536
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3544,8 +3541,8 @@ var ci = (
|
|
3544
3541
|
else
|
3545
3542
|
break;
|
3546
3543
|
}
|
3547
|
-
var h =
|
3548
|
-
return s ? (o *= n,
|
3544
|
+
var h = y(i, this.clonePosition());
|
3545
|
+
return s ? (o *= n, oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3549
3546
|
}, e.prototype.offset = function() {
|
3550
3547
|
return this.position.offset;
|
3551
3548
|
}, e.prototype.isEOF = function() {
|
@@ -3611,47 +3608,47 @@ var ci = (
|
|
3611
3608
|
}, e;
|
3612
3609
|
}()
|
3613
3610
|
);
|
3614
|
-
function
|
3611
|
+
function rt(e) {
|
3615
3612
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3616
3613
|
}
|
3617
|
-
function
|
3618
|
-
return
|
3614
|
+
function ci(e) {
|
3615
|
+
return rt(e) || e === 47;
|
3619
3616
|
}
|
3620
|
-
function
|
3617
|
+
function fi(e) {
|
3621
3618
|
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;
|
3622
3619
|
}
|
3623
3620
|
function pr(e) {
|
3624
3621
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3625
3622
|
}
|
3626
|
-
function
|
3623
|
+
function mi(e) {
|
3627
3624
|
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;
|
3628
3625
|
}
|
3629
|
-
function
|
3626
|
+
function nt(e) {
|
3630
3627
|
e.forEach(function(t) {
|
3631
3628
|
if (delete t.location, or(t) || ar(t))
|
3632
3629
|
for (var r in t.options)
|
3633
|
-
delete t.options[r].location,
|
3630
|
+
delete t.options[r].location, nt(t.options[r].value);
|
3634
3631
|
else
|
3635
|
-
nr(t) && hr(t.style) || (ir(t) || sr(t)) &&
|
3632
|
+
nr(t) && hr(t.style) || (ir(t) || sr(t)) && Je(t.style) ? delete t.style.location : ur(t) && nt(t.children);
|
3636
3633
|
});
|
3637
3634
|
}
|
3638
|
-
function
|
3635
|
+
function di(e, t) {
|
3639
3636
|
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3640
|
-
var r = new
|
3637
|
+
var r = new li(e, t).parse();
|
3641
3638
|
if (r.err) {
|
3642
3639
|
var n = SyntaxError(p[r.err.kind]);
|
3643
3640
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3644
3641
|
}
|
3645
|
-
return t?.captureLocation ||
|
3642
|
+
return t?.captureLocation || nt(r.val), r.val;
|
3646
3643
|
}
|
3647
3644
|
var K;
|
3648
3645
|
(function(e) {
|
3649
3646
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3650
3647
|
})(K || (K = {}));
|
3651
|
-
var
|
3648
|
+
var Pe = (
|
3652
3649
|
/** @class */
|
3653
3650
|
function(e) {
|
3654
|
-
|
3651
|
+
Be(t, e);
|
3655
3652
|
function t(r, n, i) {
|
3656
3653
|
var s = e.call(this, r) || this;
|
3657
3654
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3663,30 +3660,30 @@ var Oe = (
|
|
3663
3660
|
), Lt = (
|
3664
3661
|
/** @class */
|
3665
3662
|
function(e) {
|
3666
|
-
|
3663
|
+
Be(t, e);
|
3667
3664
|
function t(r, n, i, s) {
|
3668
3665
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
3669
3666
|
}
|
3670
3667
|
return t;
|
3671
|
-
}(
|
3672
|
-
),
|
3668
|
+
}(Pe)
|
3669
|
+
), bi = (
|
3673
3670
|
/** @class */
|
3674
3671
|
function(e) {
|
3675
|
-
|
3672
|
+
Be(t, e);
|
3676
3673
|
function t(r, n, i) {
|
3677
3674
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
3678
3675
|
}
|
3679
3676
|
return t;
|
3680
|
-
}(
|
3681
|
-
),
|
3677
|
+
}(Pe)
|
3678
|
+
), pi = (
|
3682
3679
|
/** @class */
|
3683
3680
|
function(e) {
|
3684
|
-
|
3681
|
+
Be(t, e);
|
3685
3682
|
function t(r, n) {
|
3686
3683
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
3687
3684
|
}
|
3688
3685
|
return t;
|
3689
|
-
}(
|
3686
|
+
}(Pe)
|
3690
3687
|
), H;
|
3691
3688
|
(function(e) {
|
3692
3689
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
@@ -3697,7 +3694,7 @@ function yi(e) {
|
|
3697
3694
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3698
3695
|
}, []);
|
3699
3696
|
}
|
3700
|
-
function
|
3697
|
+
function gi(e) {
|
3701
3698
|
return typeof e == "function";
|
3702
3699
|
}
|
3703
3700
|
function Ee(e, t, r, n, i, s, o) {
|
@@ -3717,7 +3714,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3717
3714
|
});
|
3718
3715
|
continue;
|
3719
3716
|
}
|
3720
|
-
if (
|
3717
|
+
if ($n(l)) {
|
3721
3718
|
typeof s == "number" && a.push({
|
3722
3719
|
type: H.literal,
|
3723
3720
|
value: r.getNumberFormat(t).format(s)
|
@@ -3726,9 +3723,9 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3726
3723
|
}
|
3727
3724
|
var m = l.value;
|
3728
3725
|
if (!(i && m in i))
|
3729
|
-
throw new
|
3726
|
+
throw new pi(m, o);
|
3730
3727
|
var c = i[m];
|
3731
|
-
if (
|
3728
|
+
if (Dn(l)) {
|
3732
3729
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3733
3730
|
type: typeof c == "string" ? H.literal : H.object,
|
3734
3731
|
value: c
|
@@ -3736,7 +3733,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3736
3733
|
continue;
|
3737
3734
|
}
|
3738
3735
|
if (ir(l)) {
|
3739
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3736
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
|
3740
3737
|
a.push({
|
3741
3738
|
type: H.literal,
|
3742
3739
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3744,7 +3741,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3744
3741
|
continue;
|
3745
3742
|
}
|
3746
3743
|
if (sr(l)) {
|
3747
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3744
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
|
3748
3745
|
a.push({
|
3749
3746
|
type: H.literal,
|
3750
3747
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3760,16 +3757,16 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3760
3757
|
continue;
|
3761
3758
|
}
|
3762
3759
|
if (ur(l)) {
|
3763
|
-
var b = l.children,
|
3764
|
-
if (!
|
3765
|
-
throw new
|
3766
|
-
var C = Ee(b, t, r, n, i, s),
|
3767
|
-
return
|
3760
|
+
var b = l.children, g = l.value, T = i[g];
|
3761
|
+
if (!gi(T))
|
3762
|
+
throw new bi(g, "function", o);
|
3763
|
+
var C = Ee(b, t, r, n, i, s), P = T(C.map(function(N) {
|
3764
|
+
return N.value;
|
3768
3765
|
}));
|
3769
|
-
Array.isArray(
|
3766
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
|
3770
3767
|
return {
|
3771
|
-
type: typeof
|
3772
|
-
value:
|
3768
|
+
type: typeof N == "string" ? H.literal : H.object,
|
3769
|
+
value: N
|
3773
3770
|
};
|
3774
3771
|
}));
|
3775
3772
|
}
|
@@ -3784,11 +3781,11 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3784
3781
|
var w = l.options["=".concat(c)];
|
3785
3782
|
if (!w) {
|
3786
3783
|
if (!Intl.PluralRules)
|
3787
|
-
throw new
|
3784
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3788
3785
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3789
3786
|
`, K.MISSING_INTL_API, o);
|
3790
|
-
var
|
3791
|
-
w = l.options[
|
3787
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3788
|
+
w = l.options[O] || l.options.other;
|
3792
3789
|
}
|
3793
3790
|
if (!w)
|
3794
3791
|
throw new Lt(l.value, c, Object.keys(l.options), o);
|
@@ -3798,17 +3795,17 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3798
3795
|
}
|
3799
3796
|
return yi(a);
|
3800
3797
|
}
|
3801
|
-
function
|
3798
|
+
function vi(e, t) {
|
3802
3799
|
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3803
3800
|
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
3804
3801
|
}, {})) : e;
|
3805
3802
|
}
|
3806
|
-
function
|
3803
|
+
function _i(e, t) {
|
3807
3804
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3808
|
-
return r[n] =
|
3805
|
+
return r[n] = vi(e[n], t[n]), r;
|
3809
3806
|
}, R({}, e)) : e;
|
3810
3807
|
}
|
3811
|
-
function
|
3808
|
+
function $e(e) {
|
3812
3809
|
return {
|
3813
3810
|
create: function() {
|
3814
3811
|
return {
|
@@ -3822,39 +3819,39 @@ function je(e) {
|
|
3822
3819
|
}
|
3823
3820
|
};
|
3824
3821
|
}
|
3825
|
-
function
|
3822
|
+
function Ei(e) {
|
3826
3823
|
return e === void 0 && (e = {
|
3827
3824
|
number: {},
|
3828
3825
|
dateTime: {},
|
3829
3826
|
pluralRules: {}
|
3830
3827
|
}), {
|
3831
|
-
getNumberFormat:
|
3828
|
+
getNumberFormat: Ge(function() {
|
3832
3829
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3833
3830
|
r[n] = arguments[n];
|
3834
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3831
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
3835
3832
|
}, {
|
3836
|
-
cache:
|
3837
|
-
strategy:
|
3833
|
+
cache: $e(e.number),
|
3834
|
+
strategy: Ue.variadic
|
3838
3835
|
}),
|
3839
|
-
getDateTimeFormat:
|
3836
|
+
getDateTimeFormat: Ge(function() {
|
3840
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3841
3838
|
r[n] = arguments[n];
|
3842
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3839
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
3843
3840
|
}, {
|
3844
|
-
cache:
|
3845
|
-
strategy:
|
3841
|
+
cache: $e(e.dateTime),
|
3842
|
+
strategy: Ue.variadic
|
3846
3843
|
}),
|
3847
|
-
getPluralRules:
|
3844
|
+
getPluralRules: Ge(function() {
|
3848
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3849
3846
|
r[n] = arguments[n];
|
3850
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3847
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
3851
3848
|
}, {
|
3852
|
-
cache:
|
3853
|
-
strategy:
|
3849
|
+
cache: $e(e.pluralRules),
|
3850
|
+
strategy: Ue.variadic
|
3854
3851
|
})
|
3855
3852
|
};
|
3856
3853
|
}
|
3857
|
-
var
|
3854
|
+
var xi = (
|
3858
3855
|
/** @class */
|
3859
3856
|
function() {
|
3860
3857
|
function e(t, r, n, i) {
|
@@ -3886,13 +3883,13 @@ var Si = (
|
|
3886
3883
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3887
3884
|
var o = i || {};
|
3888
3885
|
o.formatters;
|
3889
|
-
var a =
|
3886
|
+
var a = Nn(o, ["formatters"]);
|
3890
3887
|
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
3891
3888
|
} else
|
3892
3889
|
this.ast = t;
|
3893
3890
|
if (!Array.isArray(this.ast))
|
3894
3891
|
throw new TypeError("A message must be provided as a String or AST.");
|
3895
|
-
this.formats =
|
3892
|
+
this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
|
3896
3893
|
}
|
3897
3894
|
return Object.defineProperty(e, "defaultLocale", {
|
3898
3895
|
get: function() {
|
@@ -3905,7 +3902,7 @@ var Si = (
|
|
3905
3902
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3906
3903
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3907
3904
|
}
|
3908
|
-
}, e.__parse =
|
3905
|
+
}, e.__parse = di, e.formats = {
|
3909
3906
|
number: {
|
3910
3907
|
integer: {
|
3911
3908
|
maximumFractionDigits: 0
|
@@ -3966,7 +3963,7 @@ var Si = (
|
|
3966
3963
|
}, e;
|
3967
3964
|
}()
|
3968
3965
|
);
|
3969
|
-
function
|
3966
|
+
function Si(e, t) {
|
3970
3967
|
if (t == null)
|
3971
3968
|
return;
|
3972
3969
|
if (t in e)
|
@@ -3987,92 +3984,92 @@ function wi(e, t) {
|
|
3987
3984
|
n = void 0;
|
3988
3985
|
return n;
|
3989
3986
|
}
|
3990
|
-
const D = {},
|
3987
|
+
const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), yr = (e, t) => {
|
3991
3988
|
if (t == null)
|
3992
3989
|
return;
|
3993
3990
|
if (t in D && e in D[t])
|
3994
3991
|
return D[t][e];
|
3995
|
-
const r =
|
3992
|
+
const r = Oe(t);
|
3996
3993
|
for (let n = 0; n < r.length; n++) {
|
3997
|
-
const i = r[n], s =
|
3994
|
+
const i = r[n], s = Hi(i, e);
|
3998
3995
|
if (s)
|
3999
|
-
return
|
3996
|
+
return wi(e, t, s);
|
4000
3997
|
}
|
4001
3998
|
};
|
4002
|
-
let
|
4003
|
-
const me =
|
4004
|
-
function
|
4005
|
-
return
|
3999
|
+
let ut;
|
4000
|
+
const me = Ae({});
|
4001
|
+
function Ti(e) {
|
4002
|
+
return ut[e] || null;
|
4006
4003
|
}
|
4007
|
-
function
|
4008
|
-
return e in
|
4004
|
+
function gr(e) {
|
4005
|
+
return e in ut;
|
4009
4006
|
}
|
4010
|
-
function
|
4011
|
-
if (!
|
4007
|
+
function Hi(e, t) {
|
4008
|
+
if (!gr(e))
|
4012
4009
|
return null;
|
4013
|
-
const r =
|
4014
|
-
return
|
4010
|
+
const r = Ti(e);
|
4011
|
+
return Si(r, t);
|
4015
4012
|
}
|
4016
|
-
function
|
4013
|
+
function Ai(e) {
|
4017
4014
|
if (e == null)
|
4018
4015
|
return;
|
4019
|
-
const t =
|
4016
|
+
const t = Oe(e);
|
4020
4017
|
for (let r = 0; r < t.length; r++) {
|
4021
4018
|
const n = t[r];
|
4022
|
-
if (
|
4019
|
+
if (gr(n))
|
4023
4020
|
return n;
|
4024
4021
|
}
|
4025
4022
|
}
|
4026
4023
|
function vr(e, ...t) {
|
4027
|
-
delete D[e], me.update((r) => (r[e] =
|
4024
|
+
delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
4028
4025
|
}
|
4029
4026
|
ne(
|
4030
4027
|
[me],
|
4031
4028
|
([e]) => Object.keys(e)
|
4032
4029
|
);
|
4033
|
-
me.subscribe((e) =>
|
4030
|
+
me.subscribe((e) => ut = e);
|
4034
4031
|
const xe = {};
|
4035
|
-
function
|
4032
|
+
function Bi(e, t) {
|
4036
4033
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
4037
4034
|
}
|
4038
4035
|
function _r(e) {
|
4039
4036
|
return xe[e];
|
4040
4037
|
}
|
4041
|
-
function
|
4042
|
-
return
|
4038
|
+
function Pi(e) {
|
4039
|
+
return Oe(e).map((t) => {
|
4043
4040
|
const r = _r(t);
|
4044
4041
|
return [t, r ? [...r] : []];
|
4045
4042
|
}).filter(([, t]) => t.length > 0);
|
4046
4043
|
}
|
4047
|
-
function
|
4048
|
-
return e == null ? !1 :
|
4044
|
+
function it(e) {
|
4045
|
+
return e == null ? !1 : Oe(e).some(
|
4049
4046
|
(t) => {
|
4050
4047
|
var r;
|
4051
4048
|
return (r = _r(t)) == null ? void 0 : r.size;
|
4052
4049
|
}
|
4053
4050
|
);
|
4054
4051
|
}
|
4055
|
-
function
|
4052
|
+
function Oi(e, t) {
|
4056
4053
|
return Promise.all(
|
4057
|
-
t.map((n) => (
|
4054
|
+
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
4058
4055
|
).then((n) => vr(e, ...n));
|
4059
4056
|
}
|
4060
4057
|
const se = {};
|
4061
4058
|
function Er(e) {
|
4062
|
-
if (!
|
4059
|
+
if (!it(e))
|
4063
4060
|
return e in se ? se[e] : Promise.resolve();
|
4064
|
-
const t =
|
4061
|
+
const t = Pi(e);
|
4065
4062
|
return se[e] = Promise.all(
|
4066
4063
|
t.map(
|
4067
|
-
([r, n]) =>
|
4064
|
+
([r, n]) => Oi(r, n)
|
4068
4065
|
)
|
4069
4066
|
).then(() => {
|
4070
|
-
if (
|
4067
|
+
if (it(e))
|
4071
4068
|
return Er(e);
|
4072
4069
|
delete se[e];
|
4073
4070
|
}), se[e];
|
4074
4071
|
}
|
4075
|
-
const
|
4072
|
+
const Ni = {
|
4076
4073
|
number: {
|
4077
4074
|
scientific: { notation: "scientific" },
|
4078
4075
|
engineering: { notation: "engineering" },
|
@@ -4101,65 +4098,65 @@ const Li = {
|
|
4101
4098
|
timeZoneName: "short"
|
4102
4099
|
}
|
4103
4100
|
}
|
4104
|
-
},
|
4101
|
+
}, Li = {
|
4105
4102
|
fallbackLocale: null,
|
4106
4103
|
loadingDelay: 200,
|
4107
|
-
formats:
|
4104
|
+
formats: Ni,
|
4108
4105
|
warnOnMissingMessages: !0,
|
4109
4106
|
handleMissingMessage: void 0,
|
4110
4107
|
ignoreTag: !0
|
4111
|
-
},
|
4108
|
+
}, Ii = Li;
|
4112
4109
|
function ee() {
|
4113
|
-
return
|
4110
|
+
return Ii;
|
4114
4111
|
}
|
4115
|
-
const
|
4116
|
-
var
|
4112
|
+
const Fe = Ae(!1);
|
4113
|
+
var Ci = Object.defineProperty, Mi = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
|
4117
4114
|
for (var r in t || (t = {}))
|
4118
|
-
|
4115
|
+
Gi.call(t, r) && Ct(e, r, t[r]);
|
4119
4116
|
if (It)
|
4120
4117
|
for (var r of It(t))
|
4121
|
-
|
4118
|
+
Ui.call(t, r) && Ct(e, r, t[r]);
|
4122
4119
|
return e;
|
4123
|
-
},
|
4124
|
-
let
|
4125
|
-
const we =
|
4120
|
+
}, $i = (e, t) => Mi(e, Ri(t));
|
4121
|
+
let st;
|
4122
|
+
const we = Ae(null);
|
4126
4123
|
function Mt(e) {
|
4127
4124
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4128
4125
|
}
|
4129
|
-
function
|
4126
|
+
function Oe(e, t = ee().fallbackLocale) {
|
4130
4127
|
const r = Mt(e);
|
4131
4128
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
4132
4129
|
}
|
4133
4130
|
function V() {
|
4134
|
-
return
|
4131
|
+
return st ?? void 0;
|
4135
4132
|
}
|
4136
4133
|
we.subscribe((e) => {
|
4137
|
-
|
4134
|
+
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4138
4135
|
});
|
4139
|
-
const
|
4140
|
-
if (e &&
|
4136
|
+
const Fi = (e) => {
|
4137
|
+
if (e && Ai(e) && it(e)) {
|
4141
4138
|
const { loadingDelay: t } = ee();
|
4142
4139
|
let r;
|
4143
4140
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4144
|
-
() =>
|
4141
|
+
() => Fe.set(!0),
|
4145
4142
|
t
|
4146
|
-
) :
|
4143
|
+
) : Fe.set(!0), Er(e).then(() => {
|
4147
4144
|
we.set(e);
|
4148
4145
|
}).finally(() => {
|
4149
|
-
clearTimeout(r),
|
4146
|
+
clearTimeout(r), Fe.set(!1);
|
4150
4147
|
});
|
4151
4148
|
}
|
4152
4149
|
return we.set(e);
|
4153
|
-
}, de =
|
4154
|
-
set:
|
4155
|
-
}),
|
4150
|
+
}, de = $i(Di({}, we), {
|
4151
|
+
set: Fi
|
4152
|
+
}), Ne = (e) => {
|
4156
4153
|
const t = /* @__PURE__ */ Object.create(null);
|
4157
4154
|
return (n) => {
|
4158
4155
|
const i = JSON.stringify(n);
|
4159
4156
|
return i in t ? t[i] : t[i] = e(n);
|
4160
4157
|
};
|
4161
4158
|
};
|
4162
|
-
var
|
4159
|
+
var ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
4163
4160
|
for (var r in t || (t = {}))
|
4164
4161
|
xr.call(t, r) && Rt(e, r, t[r]);
|
4165
4162
|
if (Te)
|
@@ -4180,21 +4177,21 @@ const he = (e, t) => {
|
|
4180
4177
|
if (e in r && t in r[e])
|
4181
4178
|
return r[e][t];
|
4182
4179
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4183
|
-
},
|
4180
|
+
}, ki = Ne(
|
4184
4181
|
(e) => {
|
4185
4182
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4186
4183
|
if (r == null)
|
4187
4184
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4188
4185
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
4189
4186
|
}
|
4190
|
-
),
|
4187
|
+
), Vi = Ne(
|
4191
4188
|
(e) => {
|
4192
4189
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4193
4190
|
if (r == null)
|
4194
4191
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4195
4192
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
4196
4193
|
}
|
4197
|
-
),
|
4194
|
+
), Xi = Ne(
|
4198
4195
|
(e) => {
|
4199
4196
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4200
4197
|
if (r == null)
|
@@ -4203,33 +4200,33 @@ const he = (e, t) => {
|
|
4203
4200
|
);
|
4204
4201
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
4205
4202
|
}
|
4206
|
-
),
|
4203
|
+
), Wi = (e = {}) => {
|
4207
4204
|
var t = e, {
|
4208
4205
|
locale: r = V()
|
4209
4206
|
} = t, n = ie(t, [
|
4210
4207
|
"locale"
|
4211
4208
|
]);
|
4212
|
-
return
|
4213
|
-
},
|
4209
|
+
return ki(ht({ locale: r }, n));
|
4210
|
+
}, zi = (e = {}) => {
|
4214
4211
|
var t = e, {
|
4215
4212
|
locale: r = V()
|
4216
4213
|
} = t, n = ie(t, [
|
4217
4214
|
"locale"
|
4218
4215
|
]);
|
4219
|
-
return
|
4220
|
-
},
|
4216
|
+
return Vi(ht({ locale: r }, n));
|
4217
|
+
}, Zi = (e = {}) => {
|
4221
4218
|
var t = e, {
|
4222
4219
|
locale: r = V()
|
4223
4220
|
} = t, n = ie(t, [
|
4224
4221
|
"locale"
|
4225
4222
|
]);
|
4226
|
-
return
|
4227
|
-
},
|
4223
|
+
return Xi(ht({ locale: r }, n));
|
4224
|
+
}, Qi = Ne(
|
4228
4225
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4229
|
-
(e, t = V()) => new
|
4226
|
+
(e, t = V()) => new xi(e, t, ee().formats, {
|
4230
4227
|
ignoreTag: ee().ignoreTag
|
4231
4228
|
})
|
4232
|
-
),
|
4229
|
+
), Yi = (e, t = {}) => {
|
4233
4230
|
var r, n, i, s;
|
4234
4231
|
let o = t;
|
4235
4232
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4242,7 +4239,7 @@ const he = (e, t) => {
|
|
4242
4239
|
throw new Error(
|
4243
4240
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4244
4241
|
);
|
4245
|
-
let l =
|
4242
|
+
let l = yr(e, h);
|
4246
4243
|
if (!l)
|
4247
4244
|
l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4248
4245
|
else if (typeof l != "string")
|
@@ -4253,7 +4250,7 @@ const he = (e, t) => {
|
|
4253
4250
|
return l;
|
4254
4251
|
let m = l;
|
4255
4252
|
try {
|
4256
|
-
m =
|
4253
|
+
m = Qi(l, h).format(a);
|
4257
4254
|
} catch (c) {
|
4258
4255
|
c instanceof Error && console.warn(
|
4259
4256
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4261,20 +4258,20 @@ const he = (e, t) => {
|
|
4261
4258
|
);
|
4262
4259
|
}
|
4263
4260
|
return m;
|
4264
|
-
},
|
4261
|
+
}, qi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) => yr(e, t), ts = ne([de, me], () => Yi);
|
4262
|
+
ne([de], () => qi);
|
4265
4263
|
ne([de], () => Ji);
|
4266
4264
|
ne([de], () => Ki);
|
4267
|
-
ne([de], () => es);
|
4268
|
-
|
4269
|
-
|
4270
|
-
|
4271
|
-
function is(e, t) {
|
4265
|
+
ne([de, me], () => es);
|
4266
|
+
window.emWidgets = { topic: mn };
|
4267
|
+
const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4268
|
+
function ns(e, t) {
|
4272
4269
|
if (e) {
|
4273
4270
|
const r = document.createElement("style");
|
4274
4271
|
r.innerHTML = t, e.appendChild(r);
|
4275
4272
|
}
|
4276
4273
|
}
|
4277
|
-
function
|
4274
|
+
function is(e, t) {
|
4278
4275
|
const r = new URL(t);
|
4279
4276
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4280
4277
|
const i = document.createElement("style");
|
@@ -4283,7 +4280,7 @@ function ss(e, t) {
|
|
4283
4280
|
console.error("There was an error while trying to load client styling from URL", n);
|
4284
4281
|
});
|
4285
4282
|
}
|
4286
|
-
function
|
4283
|
+
function ss(e, t, r) {
|
4287
4284
|
if (window.emMessageBus) {
|
4288
4285
|
const n = document.createElement("style");
|
4289
4286
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4380,15 +4377,15 @@ if (typeof window < "u") {
|
|
4380
4377
|
}
|
4381
4378
|
};
|
4382
4379
|
};
|
4383
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4380
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-BCZsEGOH.js").then(({ default: t }) => {
|
4384
4381
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4385
4382
|
});
|
4386
4383
|
}
|
4387
|
-
function
|
4388
|
-
|
4384
|
+
function os(e) {
|
4385
|
+
Mr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
4389
4386
|
}
|
4390
|
-
function
|
4391
|
-
let t, r
|
4387
|
+
function as(e) {
|
4388
|
+
let t, r;
|
4392
4389
|
return {
|
4393
4390
|
c() {
|
4394
4391
|
t = k("div"), r = k("casino-slider"), v(
|
@@ -4406,7 +4403,7 @@ function us(e) {
|
|
4406
4403
|
"endpoint",
|
4407
4404
|
/*endpoint*/
|
4408
4405
|
e[1]
|
4409
|
-
), v(r, "identity",
|
4406
|
+
), v(r, "identity", ot), v(
|
4410
4407
|
r,
|
4411
4408
|
"favoritesnumber",
|
4412
4409
|
/*numberOfFavoredGames*/
|
@@ -4461,144 +4458,141 @@ function us(e) {
|
|
4461
4458
|
"mygamesiconimage",
|
4462
4459
|
/*mygamesiconimage*/
|
4463
4460
|
e[11]
|
4464
|
-
), ce(t, "class", "CasinoCategoriesContainer svelte-
|
4461
|
+
), ce(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4465
4462
|
},
|
4466
|
-
m(
|
4467
|
-
le(
|
4468
|
-
/*sendSliderData*/
|
4469
|
-
e[17].call(null, r)
|
4470
|
-
), n = !0);
|
4463
|
+
m(n, i) {
|
4464
|
+
le(n, t, i), jt(t, r);
|
4471
4465
|
},
|
4472
|
-
p(
|
4473
|
-
|
4466
|
+
p(n, i) {
|
4467
|
+
i[0] & /*lang*/
|
4474
4468
|
8 && v(
|
4475
4469
|
r,
|
4476
4470
|
"lang",
|
4477
4471
|
/*lang*/
|
4478
|
-
|
4479
|
-
),
|
4472
|
+
n[3]
|
4473
|
+
), i[0] & /*datasource*/
|
4480
4474
|
4 && v(
|
4481
4475
|
r,
|
4482
4476
|
"datasource",
|
4483
4477
|
/*datasource*/
|
4484
|
-
|
4485
|
-
),
|
4478
|
+
n[2]
|
4479
|
+
), i[0] & /*endpoint*/
|
4486
4480
|
2 && v(
|
4487
4481
|
r,
|
4488
4482
|
"endpoint",
|
4489
4483
|
/*endpoint*/
|
4490
|
-
|
4491
|
-
),
|
4484
|
+
n[1]
|
4485
|
+
), i[0] & /*numberOfFavoredGames*/
|
4492
4486
|
65536 && v(
|
4493
4487
|
r,
|
4494
4488
|
"favoritesnumber",
|
4495
4489
|
/*numberOfFavoredGames*/
|
4496
|
-
|
4497
|
-
),
|
4490
|
+
n[16]
|
4491
|
+
), i[0] & /*showsubgroups*/
|
4498
4492
|
256 && v(
|
4499
4493
|
r,
|
4500
4494
|
"showsubgroups",
|
4501
4495
|
/*showsubgroups*/
|
4502
|
-
|
4503
|
-
),
|
4496
|
+
n[8]
|
4497
|
+
), i[0] & /*clientstyling*/
|
4504
4498
|
16 && v(
|
4505
4499
|
r,
|
4506
4500
|
"clientstyling",
|
4507
4501
|
/*clientstyling*/
|
4508
|
-
|
4509
|
-
),
|
4502
|
+
n[4]
|
4503
|
+
), i[0] & /*clientstylingurl*/
|
4510
4504
|
32 && v(
|
4511
4505
|
r,
|
4512
4506
|
"clientstylingurl",
|
4513
4507
|
/*clientstylingurl*/
|
4514
|
-
|
4515
|
-
),
|
4508
|
+
n[5]
|
4509
|
+
), i[0] & /*mbsource*/
|
4516
4510
|
4096 && v(
|
4517
4511
|
r,
|
4518
4512
|
"mbsource",
|
4519
4513
|
/*mbsource*/
|
4520
|
-
|
4521
|
-
),
|
4514
|
+
n[12]
|
4515
|
+
), i[0] & /*activecategory*/
|
4522
4516
|
1 && v(
|
4523
4517
|
r,
|
4524
4518
|
"activeindex",
|
4525
4519
|
/*activecategory*/
|
4526
|
-
|
4527
|
-
),
|
4520
|
+
n[0]
|
4521
|
+
), i[0] & /*actionevent*/
|
4528
4522
|
64 && v(
|
4529
4523
|
r,
|
4530
4524
|
"actionevent",
|
4531
4525
|
/*actionevent*/
|
4532
|
-
|
4533
|
-
),
|
4526
|
+
n[6]
|
4527
|
+
), i[0] & /*location*/
|
4534
4528
|
128 && v(
|
4535
4529
|
r,
|
4536
4530
|
"location",
|
4537
4531
|
/*location*/
|
4538
|
-
|
4539
|
-
),
|
4532
|
+
n[7]
|
4533
|
+
), i[0] & /*categoriesicon*/
|
4540
4534
|
512 && v(
|
4541
4535
|
r,
|
4542
4536
|
"categoriesicon",
|
4543
4537
|
/*categoriesicon*/
|
4544
|
-
|
4545
|
-
),
|
4538
|
+
n[9]
|
4539
|
+
), i[0] & /*lobbyiconimage*/
|
4546
4540
|
1024 && v(
|
4547
4541
|
r,
|
4548
4542
|
"lobbyiconimage",
|
4549
4543
|
/*lobbyiconimage*/
|
4550
|
-
|
4551
|
-
),
|
4544
|
+
n[10]
|
4545
|
+
), i[0] & /*mygamesiconimage*/
|
4552
4546
|
2048 && v(
|
4553
4547
|
r,
|
4554
4548
|
"mygamesiconimage",
|
4555
4549
|
/*mygamesiconimage*/
|
4556
|
-
|
4550
|
+
n[11]
|
4557
4551
|
);
|
4558
4552
|
},
|
4559
|
-
d(
|
4560
|
-
|
4553
|
+
d(n) {
|
4554
|
+
n && re(t);
|
4561
4555
|
}
|
4562
4556
|
};
|
4563
4557
|
}
|
4564
|
-
function
|
4558
|
+
function us(e) {
|
4565
4559
|
let t;
|
4566
4560
|
return {
|
4567
4561
|
c() {
|
4568
|
-
t = k("p"), t.textContent = "500 Error - Internal Server Error.", ce(t, "class", "SearchLoading svelte-
|
4562
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", ce(t, "class", "SearchLoading svelte-1my2wow");
|
4569
4563
|
},
|
4570
4564
|
m(r, n) {
|
4571
4565
|
le(r, t, n);
|
4572
4566
|
},
|
4573
|
-
p:
|
4567
|
+
p: I,
|
4574
4568
|
d(r) {
|
4575
4569
|
r && re(t);
|
4576
4570
|
}
|
4577
4571
|
};
|
4578
4572
|
}
|
4579
|
-
function
|
4573
|
+
function hs(e) {
|
4580
4574
|
let t;
|
4581
4575
|
return {
|
4582
4576
|
c() {
|
4583
|
-
t = k("div"), ce(t, "class", "CasinoCategoriesLoading svelte-
|
4577
|
+
t = k("div"), ce(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4584
4578
|
},
|
4585
4579
|
m(r, n) {
|
4586
4580
|
le(r, t, n);
|
4587
4581
|
},
|
4588
|
-
p:
|
4582
|
+
p: I,
|
4589
4583
|
d(r) {
|
4590
4584
|
r && re(t);
|
4591
4585
|
}
|
4592
4586
|
};
|
4593
4587
|
}
|
4594
|
-
function
|
4588
|
+
function ls(e) {
|
4595
4589
|
let t;
|
4596
4590
|
function r(s, o) {
|
4597
4591
|
return (
|
4598
4592
|
/*isLoading*/
|
4599
|
-
s[13] ||
|
4593
|
+
s[13] || cs || fs ? hs : (
|
4600
4594
|
/*hasErrors*/
|
4601
|
-
s[15] ?
|
4595
|
+
s[15] ? us : as
|
4602
4596
|
)
|
4603
4597
|
);
|
4604
4598
|
}
|
@@ -4608,25 +4602,25 @@ function cs(e) {
|
|
4608
4602
|
t = k("div"), i.c();
|
4609
4603
|
},
|
4610
4604
|
m(s, o) {
|
4611
|
-
le(s, t, o), i.m(t, null), e[
|
4605
|
+
le(s, t, o), i.m(t, null), e[26](t);
|
4612
4606
|
},
|
4613
4607
|
p(s, o) {
|
4614
4608
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
4615
4609
|
},
|
4616
|
-
i:
|
4617
|
-
o:
|
4610
|
+
i: I,
|
4611
|
+
o: I,
|
4618
4612
|
d(s) {
|
4619
|
-
s && re(t), i.d(), e[
|
4613
|
+
s && re(t), i.d(), e[26](null);
|
4620
4614
|
}
|
4621
4615
|
};
|
4622
4616
|
}
|
4623
|
-
let
|
4624
|
-
function
|
4617
|
+
let ot = "CasinoSliderData", cs = !1, fs = !1;
|
4618
|
+
function ms(e, t, r) {
|
4625
4619
|
let n;
|
4626
|
-
Cr(e,
|
4627
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent:
|
4620
|
+
Cr(e, ts, (f) => r(32, n = f));
|
4621
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: g = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, $, F = !0, X, W = [], j = !1, wr = window.navigator.userAgent, G, lt, ct = !1, Le = !1;
|
4628
4622
|
const Tr = () => {
|
4629
|
-
fetch(
|
4623
|
+
fetch(O).then((B) => B.json()).then((B) => {
|
4630
4624
|
Object.keys(B).forEach((be) => {
|
4631
4625
|
Gt(be, B[be]);
|
4632
4626
|
});
|
@@ -4638,24 +4632,24 @@ function ds(e, t, r) {
|
|
4638
4632
|
Gt(f, Ut[f]);
|
4639
4633
|
});
|
4640
4634
|
const Hr = () => {
|
4641
|
-
|
4635
|
+
ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4642
4636
|
// @ts-ignore
|
4643
4637
|
id: "MYGAMES",
|
4644
|
-
name:
|
4638
|
+
name: L,
|
4645
4639
|
href: "",
|
4646
4640
|
games: []
|
4647
|
-
}),
|
4641
|
+
}), jr(), ct = !0, r(25, Le = !0), ft();
|
4648
4642
|
}, Ar = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, F = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, F = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, F = !1), console.error(X)), j), Br = () => {
|
4649
|
-
if (
|
4643
|
+
if (L = n("myGamesName"), $ = n("lobbyName"), !Ar()) {
|
4650
4644
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4651
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4645
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", rs(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4652
4646
|
(B) => {
|
4653
4647
|
let be = w.split(","), Nr = B.items.filter((dt) => {
|
4654
|
-
let
|
4655
|
-
if (dt.games.total > 0 && (
|
4648
|
+
let Ie = !1;
|
4649
|
+
if (dt.games.total > 0 && (Ie = !0, w))
|
4656
4650
|
for (let Lr of be)
|
4657
|
-
dt.flags == Lr && (
|
4658
|
-
return
|
4651
|
+
dt.flags == Lr && (Ie = !1);
|
4652
|
+
return Ie;
|
4659
4653
|
});
|
4660
4654
|
W = [], W = W.concat(Nr), W.unshift({
|
4661
4655
|
// @ts-ignore
|
@@ -4663,7 +4657,7 @@ function ds(e, t, r) {
|
|
4663
4657
|
name: $,
|
4664
4658
|
href: "",
|
4665
4659
|
games: []
|
4666
|
-
}), r(13, F = !1)
|
4660
|
+
}), r(13, F = !1);
|
4667
4661
|
},
|
4668
4662
|
(B) => {
|
4669
4663
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
@@ -4675,56 +4669,55 @@ function ds(e, t, r) {
|
|
4675
4669
|
}, Pr = () => {
|
4676
4670
|
let f = b.split("$");
|
4677
4671
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4678
|
-
},
|
4672
|
+
}, ft = () => {
|
4679
4673
|
window.postMessage(
|
4680
4674
|
{
|
4681
4675
|
type: "SliderData",
|
4682
|
-
identity:
|
4676
|
+
identity: ot,
|
4683
4677
|
data: W
|
4684
4678
|
},
|
4685
4679
|
window.location.href
|
4686
4680
|
);
|
4687
4681
|
}, mt = (f) => {
|
4688
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4682
|
+
f.data && f.data.type == "SliderLoaded" && ot == f.data.identity && ft();
|
4689
4683
|
};
|
4690
|
-
|
4684
|
+
Fr(() => (window.addEventListener("message", mt, !1), () => {
|
4691
4685
|
window.removeEventListener("message", mt);
|
4692
4686
|
}));
|
4693
4687
|
function Or(f) {
|
4694
|
-
|
4688
|
+
je[f ? "unshift" : "push"](() => {
|
4695
4689
|
G = f, r(14, G);
|
4696
4690
|
});
|
4697
4691
|
}
|
4698
4692
|
return e.$$set = (f) => {
|
4699
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(
|
4693
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, g = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4700
4694
|
}, e.$$.update = () => {
|
4701
4695
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4702
4696
|
14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4703
|
-
|
4704
|
-
|
4705
|
-
|
4706
|
-
16400 && c && G &&
|
4707
|
-
16416 && d && G &&
|
4708
|
-
20480 && G &&
|
4709
|
-
}, r(16,
|
4697
|
+
3940354 && i && h && (u || l || m) && !F && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4698
|
+
33824769 && !F && b && (!h || Le) && Pr(), e.$$.dirty[0] & /*translationurl*/
|
4699
|
+
16777216 && O && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4700
|
+
16400 && c && G && ns(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4701
|
+
16416 && d && G && is(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4702
|
+
20480 && G && ss(G, `${A}.Style`);
|
4703
|
+
}, r(16, lt = 0), [
|
4710
4704
|
b,
|
4711
4705
|
i,
|
4712
4706
|
s,
|
4713
4707
|
o,
|
4714
4708
|
c,
|
4715
4709
|
d,
|
4716
|
-
|
4710
|
+
g,
|
4717
4711
|
C,
|
4718
|
-
|
4719
|
-
|
4712
|
+
P,
|
4713
|
+
N,
|
4720
4714
|
M,
|
4721
4715
|
_,
|
4722
4716
|
A,
|
4723
4717
|
F,
|
4724
4718
|
G,
|
4725
4719
|
j,
|
4726
|
-
|
4727
|
-
Ce,
|
4720
|
+
lt,
|
4728
4721
|
a,
|
4729
4722
|
h,
|
4730
4723
|
u,
|
@@ -4732,43 +4725,43 @@ function ds(e, t, r) {
|
|
4732
4725
|
m,
|
4733
4726
|
T,
|
4734
4727
|
w,
|
4735
|
-
|
4736
|
-
|
4728
|
+
O,
|
4729
|
+
Le,
|
4737
4730
|
Or
|
4738
4731
|
];
|
4739
4732
|
}
|
4740
|
-
class
|
4733
|
+
class ds extends qr {
|
4741
4734
|
constructor(t) {
|
4742
|
-
super(),
|
4735
|
+
super(), Qr(
|
4743
4736
|
this,
|
4744
4737
|
t,
|
4745
|
-
|
4746
|
-
|
4738
|
+
ms,
|
4739
|
+
ls,
|
4747
4740
|
$t,
|
4748
4741
|
{
|
4749
4742
|
endpoint: 1,
|
4750
4743
|
datasource: 2,
|
4751
4744
|
lang: 3,
|
4752
|
-
userid:
|
4753
|
-
session:
|
4754
|
-
mostplayed:
|
4755
|
-
lastplayed:
|
4756
|
-
favorites:
|
4745
|
+
userid: 17,
|
4746
|
+
session: 18,
|
4747
|
+
mostplayed: 19,
|
4748
|
+
lastplayed: 20,
|
4749
|
+
favorites: 21,
|
4757
4750
|
clientstyling: 4,
|
4758
4751
|
clientstylingurl: 5,
|
4759
4752
|
activecategory: 0,
|
4760
4753
|
actionevent: 6,
|
4761
|
-
sessioncheck:
|
4754
|
+
sessioncheck: 22,
|
4762
4755
|
location: 7,
|
4763
4756
|
showsubgroups: 8,
|
4764
|
-
filteredcategories:
|
4765
|
-
translationurl:
|
4757
|
+
filteredcategories: 23,
|
4758
|
+
translationurl: 24,
|
4766
4759
|
categoriesicon: 9,
|
4767
4760
|
lobbyiconimage: 10,
|
4768
4761
|
mygamesiconimage: 11,
|
4769
4762
|
mbsource: 12
|
4770
4763
|
},
|
4771
|
-
|
4764
|
+
os,
|
4772
4765
|
[-1, -1]
|
4773
4766
|
);
|
4774
4767
|
}
|
@@ -4791,31 +4784,31 @@ class bs extends Jr {
|
|
4791
4784
|
this.$$set({ lang: t }), x();
|
4792
4785
|
}
|
4793
4786
|
get userid() {
|
4794
|
-
return this.$$.ctx[
|
4787
|
+
return this.$$.ctx[17];
|
4795
4788
|
}
|
4796
4789
|
set userid(t) {
|
4797
4790
|
this.$$set({ userid: t }), x();
|
4798
4791
|
}
|
4799
4792
|
get session() {
|
4800
|
-
return this.$$.ctx[
|
4793
|
+
return this.$$.ctx[18];
|
4801
4794
|
}
|
4802
4795
|
set session(t) {
|
4803
4796
|
this.$$set({ session: t }), x();
|
4804
4797
|
}
|
4805
4798
|
get mostplayed() {
|
4806
|
-
return this.$$.ctx[
|
4799
|
+
return this.$$.ctx[19];
|
4807
4800
|
}
|
4808
4801
|
set mostplayed(t) {
|
4809
4802
|
this.$$set({ mostplayed: t }), x();
|
4810
4803
|
}
|
4811
4804
|
get lastplayed() {
|
4812
|
-
return this.$$.ctx[
|
4805
|
+
return this.$$.ctx[20];
|
4813
4806
|
}
|
4814
4807
|
set lastplayed(t) {
|
4815
4808
|
this.$$set({ lastplayed: t }), x();
|
4816
4809
|
}
|
4817
4810
|
get favorites() {
|
4818
|
-
return this.$$.ctx[
|
4811
|
+
return this.$$.ctx[21];
|
4819
4812
|
}
|
4820
4813
|
set favorites(t) {
|
4821
4814
|
this.$$set({ favorites: t }), x();
|
@@ -4845,7 +4838,7 @@ class bs extends Jr {
|
|
4845
4838
|
this.$$set({ actionevent: t }), x();
|
4846
4839
|
}
|
4847
4840
|
get sessioncheck() {
|
4848
|
-
return this.$$.ctx[
|
4841
|
+
return this.$$.ctx[22];
|
4849
4842
|
}
|
4850
4843
|
set sessioncheck(t) {
|
4851
4844
|
this.$$set({ sessioncheck: t }), x();
|
@@ -4863,13 +4856,13 @@ class bs extends Jr {
|
|
4863
4856
|
this.$$set({ showsubgroups: t }), x();
|
4864
4857
|
}
|
4865
4858
|
get filteredcategories() {
|
4866
|
-
return this.$$.ctx[
|
4859
|
+
return this.$$.ctx[23];
|
4867
4860
|
}
|
4868
4861
|
set filteredcategories(t) {
|
4869
4862
|
this.$$set({ filteredcategories: t }), x();
|
4870
4863
|
}
|
4871
4864
|
get translationurl() {
|
4872
|
-
return this.$$.ctx[
|
4865
|
+
return this.$$.ctx[24];
|
4873
4866
|
}
|
4874
4867
|
set translationurl(t) {
|
4875
4868
|
this.$$set({ translationurl: t }), x();
|
@@ -4899,38 +4892,38 @@ class bs extends Jr {
|
|
4899
4892
|
this.$$set({ mbsource: t }), x();
|
4900
4893
|
}
|
4901
4894
|
}
|
4902
|
-
|
4895
|
+
Yr(ds, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4903
4896
|
export {
|
4904
4897
|
de as $,
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4898
|
+
ns as A,
|
4899
|
+
is as B,
|
4900
|
+
ss as C,
|
4901
|
+
ds as D,
|
4902
|
+
qr as S,
|
4910
4903
|
me as a,
|
4911
4904
|
vr as b,
|
4912
|
-
|
4913
|
-
|
4905
|
+
Yr as c,
|
4906
|
+
Mr as d,
|
4914
4907
|
re as e,
|
4915
4908
|
x as f,
|
4916
4909
|
ce as g,
|
4917
4910
|
le as h,
|
4918
|
-
|
4911
|
+
Qr as i,
|
4919
4912
|
jt as j,
|
4920
4913
|
k,
|
4921
|
-
|
4914
|
+
vs as l,
|
4922
4915
|
ys as m,
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4916
|
+
I as n,
|
4917
|
+
Fr as o,
|
4918
|
+
Es as p,
|
4919
|
+
gs as q,
|
4927
4920
|
te as r,
|
4928
4921
|
$t as s,
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4922
|
+
je as t,
|
4923
|
+
Ss as u,
|
4924
|
+
bs as v,
|
4925
|
+
_s as w,
|
4933
4926
|
kt as x,
|
4934
|
-
|
4935
|
-
|
4927
|
+
ps as y,
|
4928
|
+
xs as z
|
4936
4929
|
};
|