@everymatrix/casino-categories-slider 1.65.0 → 1.65.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-Bd1R0RB0.cjs +18 -0
- package/components/{CasinoCategoriesSlider-BT4_95W2.js → CasinoCategoriesSlider-DMC9CFDg.js} +806 -785
- package/components/{CasinoCategoriesSlider-DLHKRyzT.js → CasinoCategoriesSlider-Qhx13ZiU.js} +745 -724
- package/components/{CasinoSlider-BvhhIhXx.js → CasinoSlider-4oZFStFQ.js} +34 -34
- package/components/{CasinoSlider-B_nmfSXX.js → CasinoSlider-BCZsEGOH.js} +32 -32
- package/components/{CasinoSlider-CzI-C2WV.cjs → CasinoSlider-BViBOG_Y.cjs} +1 -1
- 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/CasinoCategoriesSlider-DoxYbJgX.cjs +0 -18
package/components/{CasinoCategoriesSlider-BT4_95W2.js → CasinoCategoriesSlider-DMC9CFDg.js}
RENAMED
@@ -1,22 +1,22 @@
|
|
1
1
|
function I() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Dt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function bt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function te(e) {
|
10
|
+
e.forEach(Dt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function at(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
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) {
|
@@ -31,13 +31,13 @@ function Ft(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
34
|
+
function Cr(e, t, r) {
|
35
35
|
e.$$.on_destroy.push(Ft(t, r));
|
36
36
|
}
|
37
|
-
function
|
37
|
+
function jt(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
40
|
+
function Mr(e, t, r) {
|
41
41
|
const n = Rr(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = k("style");
|
@@ -55,48 +55,48 @@ function Rr(e) {
|
|
55
55
|
) : e.ownerDocument;
|
56
56
|
}
|
57
57
|
function Gr(e, t) {
|
58
|
-
return
|
58
|
+
return jt(
|
59
59
|
/** @type {Document} */
|
60
60
|
e.head || e,
|
61
61
|
t
|
62
62
|
), t.sheet;
|
63
63
|
}
|
64
|
-
function
|
64
|
+
function le(e, t, r) {
|
65
65
|
e.insertBefore(t, r || null);
|
66
66
|
}
|
67
|
-
function
|
67
|
+
function re(e) {
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
69
69
|
}
|
70
|
-
function
|
70
|
+
function ps(e, t) {
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
72
72
|
e[r] && e[r].d(t);
|
73
73
|
}
|
74
74
|
function k(e) {
|
75
75
|
return document.createElement(e);
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function kt(e) {
|
78
78
|
return document.createTextNode(e);
|
79
79
|
}
|
80
|
-
function
|
81
|
-
return
|
80
|
+
function ys() {
|
81
|
+
return kt(" ");
|
82
82
|
}
|
83
83
|
function gs() {
|
84
|
-
return
|
84
|
+
return kt("");
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function vs(e, t, r, n) {
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function ce(e, t, r) {
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function v(e, t, r) {
|
93
93
|
const n = t.toLowerCase();
|
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 :
|
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);
|
95
95
|
}
|
96
96
|
function Ur(e) {
|
97
97
|
return Array.from(e.childNodes);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function _s(e, t) {
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
101
101
|
t);
|
102
102
|
}
|
@@ -109,63 +109,63 @@ function Dr(e) {
|
|
109
109
|
}
|
110
110
|
), t;
|
111
111
|
}
|
112
|
-
let
|
113
|
-
function
|
114
|
-
|
112
|
+
let ae;
|
113
|
+
function oe(e) {
|
114
|
+
ae = e;
|
115
115
|
}
|
116
|
-
function
|
117
|
-
if (!
|
116
|
+
function $r() {
|
117
|
+
if (!ae)
|
118
118
|
throw new Error("Function called outside component initialization");
|
119
|
-
return
|
119
|
+
return ae;
|
120
120
|
}
|
121
|
-
function
|
122
|
-
|
121
|
+
function Fr(e) {
|
122
|
+
$r().$$.on_mount.push(e);
|
123
123
|
}
|
124
|
-
const Q = [],
|
124
|
+
const Q = [], je = [];
|
125
125
|
let Y = [];
|
126
|
-
const
|
127
|
-
let
|
128
|
-
function
|
129
|
-
|
126
|
+
const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
|
127
|
+
let ke = !1;
|
128
|
+
function Xt() {
|
129
|
+
ke || (ke = !0, Vt.then(x));
|
130
130
|
}
|
131
131
|
function jr() {
|
132
|
-
return
|
132
|
+
return Xt(), Vt;
|
133
133
|
}
|
134
|
-
function
|
134
|
+
function Ve(e) {
|
135
135
|
Y.push(e);
|
136
136
|
}
|
137
|
-
const
|
137
|
+
const Ce = /* @__PURE__ */ new Set();
|
138
138
|
let z = 0;
|
139
|
-
function
|
139
|
+
function x() {
|
140
140
|
if (z !== 0)
|
141
141
|
return;
|
142
|
-
const e =
|
142
|
+
const e = ae;
|
143
143
|
do {
|
144
144
|
try {
|
145
145
|
for (; z < Q.length; ) {
|
146
146
|
const t = Q[z];
|
147
|
-
z++,
|
147
|
+
z++, oe(t), kr(t.$$);
|
148
148
|
}
|
149
149
|
} catch (t) {
|
150
150
|
throw Q.length = 0, z = 0, t;
|
151
151
|
}
|
152
|
-
for (
|
153
|
-
|
152
|
+
for (oe(null), Q.length = 0, z = 0; je.length; )
|
153
|
+
je.pop()();
|
154
154
|
for (let t = 0; t < Y.length; t += 1) {
|
155
155
|
const r = Y[t];
|
156
|
-
|
156
|
+
Ce.has(r) || (Ce.add(r), r());
|
157
157
|
}
|
158
158
|
Y.length = 0;
|
159
159
|
} while (Q.length);
|
160
|
-
for (;
|
161
|
-
|
162
|
-
|
160
|
+
for (; pt.length; )
|
161
|
+
pt.pop()();
|
162
|
+
ke = !1, Ce.clear(), oe(e);
|
163
163
|
}
|
164
164
|
function kr(e) {
|
165
165
|
if (e.fragment !== null) {
|
166
|
-
e.update(),
|
166
|
+
e.update(), te(e.before_update);
|
167
167
|
const t = e.dirty;
|
168
|
-
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);
|
169
169
|
}
|
170
170
|
}
|
171
171
|
function Vr(e) {
|
@@ -173,59 +173,59 @@ function Vr(e) {
|
|
173
173
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
174
174
|
}
|
175
175
|
const Xr = /* @__PURE__ */ new Set();
|
176
|
-
function
|
176
|
+
function Wt(e, t) {
|
177
177
|
e && e.i && (Xr.delete(e), e.i(t));
|
178
178
|
}
|
179
|
-
function
|
179
|
+
function Es(e) {
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
181
181
|
}
|
182
|
-
function
|
182
|
+
function xs(e, t) {
|
183
183
|
e.d(1), t.delete(e.key);
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function Ss(e, t, r, n, i, s, o, a, h, u, l, m) {
|
186
186
|
let c = e.length, d = s.length, b = c;
|
187
|
-
const
|
187
|
+
const g = {};
|
188
188
|
for (; b--; )
|
189
|
-
|
190
|
-
const T = [],
|
189
|
+
g[e[b].key] = b;
|
190
|
+
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
191
191
|
for (b = d; b--; ) {
|
192
|
-
const
|
193
|
-
let L = o.get(
|
194
|
-
L ? w.push(() => L.p(
|
192
|
+
const _ = m(i, s, b), A = r(_);
|
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]));
|
195
195
|
}
|
196
|
-
const
|
197
|
-
function
|
198
|
-
|
196
|
+
const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
197
|
+
function M(_) {
|
198
|
+
Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
199
199
|
}
|
200
200
|
for (; c && d; ) {
|
201
|
-
const
|
202
|
-
|
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--);
|
203
203
|
}
|
204
204
|
for (; c--; ) {
|
205
|
-
const
|
206
|
-
|
205
|
+
const _ = e[c];
|
206
|
+
C.has(_.key) || h(_, o);
|
207
207
|
}
|
208
208
|
for (; d; )
|
209
|
-
|
210
|
-
return
|
209
|
+
M(T[d - 1]);
|
210
|
+
return te(w), T;
|
211
211
|
}
|
212
212
|
function Wr(e, t, r) {
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
214
|
-
n && n.m(t, r),
|
215
|
-
const s = e.$$.on_mount.map(
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
217
|
-
}), i.forEach(
|
214
|
+
n && n.m(t, r), Ve(() => {
|
215
|
+
const s = e.$$.on_mount.map(Dt).filter(at);
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
217
|
+
}), i.forEach(Ve);
|
218
218
|
}
|
219
219
|
function zr(e, t) {
|
220
220
|
const r = e.$$;
|
221
|
-
r.fragment !== null && (Vr(r.after_update),
|
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 = []);
|
222
222
|
}
|
223
223
|
function Zr(e, t) {
|
224
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
224
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
225
225
|
}
|
226
226
|
function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
227
|
-
const h =
|
228
|
-
|
227
|
+
const h = ae;
|
228
|
+
oe(e);
|
229
229
|
const u = e.$$ = {
|
230
230
|
fragment: null,
|
231
231
|
ctx: [],
|
@@ -233,7 +233,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
233
233
|
props: s,
|
234
234
|
update: I,
|
235
235
|
not_equal: i,
|
236
|
-
bound:
|
236
|
+
bound: bt(),
|
237
237
|
// lifecycle
|
238
238
|
on_mount: [],
|
239
239
|
on_destroy: [],
|
@@ -242,7 +242,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
242
242
|
after_update: [],
|
243
243
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
244
244
|
// everything else
|
245
|
-
callbacks:
|
245
|
+
callbacks: bt(),
|
246
246
|
dirty: a,
|
247
247
|
skip_bound: !1,
|
248
248
|
root: t.target || h.$$.root
|
@@ -252,18 +252,18 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
253
253
|
const b = d.length ? d[0] : c;
|
254
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;
|
255
|
-
}) : [], u.update(), l = !0,
|
255
|
+
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
256
256
|
if (t.hydrate) {
|
257
257
|
const m = Ur(t.target);
|
258
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
258
|
+
u.fragment && u.fragment.l(m), m.forEach(re);
|
259
259
|
} else
|
260
260
|
u.fragment && u.fragment.c();
|
261
|
-
t.intro &&
|
261
|
+
t.intro && Wt(e.$$.fragment), Wr(e, t.target, t.anchor), x();
|
262
262
|
}
|
263
|
-
|
263
|
+
oe(h);
|
264
264
|
}
|
265
|
-
let
|
266
|
-
typeof HTMLElement == "function" && (
|
265
|
+
let zt;
|
266
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
267
267
|
/** The Svelte component constructor */
|
268
268
|
$$ctor;
|
269
269
|
/** Slots */
|
@@ -305,17 +305,17 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
305
305
|
let s;
|
306
306
|
return {
|
307
307
|
c: function() {
|
308
|
-
s = k("slot"), i !== "default" &&
|
308
|
+
s = k("slot"), i !== "default" && ce(s, "name", i);
|
309
309
|
},
|
310
310
|
/**
|
311
311
|
* @param {HTMLElement} target
|
312
312
|
* @param {HTMLElement} [anchor]
|
313
313
|
*/
|
314
314
|
m: function(h, u) {
|
315
|
-
|
315
|
+
le(h, s, u);
|
316
316
|
},
|
317
317
|
d: function(h) {
|
318
|
-
h &&
|
318
|
+
h && re(s);
|
319
319
|
}
|
320
320
|
};
|
321
321
|
};
|
@@ -410,7 +410,7 @@ function ve(e, t, r, n) {
|
|
410
410
|
}
|
411
411
|
}
|
412
412
|
function Yr(e, t, r, n, i, s) {
|
413
|
-
let o = class extends
|
413
|
+
let o = class extends zt {
|
414
414
|
constructor() {
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
416
416
|
}
|
@@ -466,7 +466,7 @@ class qr {
|
|
466
466
|
* @returns {() => void}
|
467
467
|
*/
|
468
468
|
$on(t, r) {
|
469
|
-
if (!
|
469
|
+
if (!at(r))
|
470
470
|
return I;
|
471
471
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
472
472
|
return n.push(r), () => {
|
@@ -498,43 +498,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
498
498
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
499
499
|
PERFORMANCE OF THIS SOFTWARE.
|
500
500
|
***************************************************************************** */
|
501
|
-
var
|
502
|
-
return
|
501
|
+
var Xe = function(e, t) {
|
502
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
503
503
|
r.__proto__ = n;
|
504
504
|
} || function(r, n) {
|
505
505
|
for (var i in n)
|
506
506
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
507
|
-
},
|
507
|
+
}, Xe(e, t);
|
508
508
|
};
|
509
|
-
function
|
509
|
+
function fe(e, t) {
|
510
510
|
if (typeof t != "function" && t !== null)
|
511
511
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
512
|
-
|
512
|
+
Xe(e, t);
|
513
513
|
function r() {
|
514
514
|
this.constructor = e;
|
515
515
|
}
|
516
516
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
517
517
|
}
|
518
|
-
|
519
|
-
return v = Object.assign || function(t) {
|
520
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
521
|
-
r = arguments[n];
|
522
|
-
for (var s in r)
|
523
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
524
|
-
}
|
525
|
-
return t;
|
526
|
-
}, v.apply(this, arguments);
|
527
|
-
};
|
528
|
-
function Kr(e, t) {
|
529
|
-
var r = {};
|
530
|
-
for (var n in e)
|
531
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
532
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
533
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
534
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
535
|
-
return r;
|
536
|
-
}
|
537
|
-
function Ve(e) {
|
518
|
+
function We(e) {
|
538
519
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
539
520
|
if (r)
|
540
521
|
return r.call(e);
|
@@ -546,7 +527,7 @@ function Ve(e) {
|
|
546
527
|
};
|
547
528
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
548
529
|
}
|
549
|
-
function
|
530
|
+
function ze(e, t) {
|
550
531
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
551
532
|
if (!r)
|
552
533
|
return e;
|
@@ -566,22 +547,22 @@ function Xe(e, t) {
|
|
566
547
|
}
|
567
548
|
return s;
|
568
549
|
}
|
569
|
-
function
|
570
|
-
if (
|
550
|
+
function Ze(e, t, r) {
|
551
|
+
if (arguments.length === 2)
|
571
552
|
for (var n = 0, i = t.length, s; n < i; n++)
|
572
553
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
573
554
|
return e.concat(s || t);
|
574
555
|
}
|
575
|
-
function
|
556
|
+
function U(e) {
|
576
557
|
return typeof e == "function";
|
577
558
|
}
|
578
|
-
function
|
559
|
+
function Zt(e) {
|
579
560
|
var t = function(n) {
|
580
561
|
Error.call(n), n.stack = new Error().stack;
|
581
562
|
}, r = e(t);
|
582
563
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
583
564
|
}
|
584
|
-
var
|
565
|
+
var Me = Zt(function(e) {
|
585
566
|
return function(r) {
|
586
567
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
587
568
|
` + r.map(function(n, i) {
|
@@ -590,13 +571,13 @@ var Ie = zt(function(e) {
|
|
590
571
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
591
572
|
};
|
592
573
|
});
|
593
|
-
function
|
574
|
+
function Qe(e, t) {
|
594
575
|
if (e) {
|
595
576
|
var r = e.indexOf(t);
|
596
577
|
0 <= r && e.splice(r, 1);
|
597
578
|
}
|
598
579
|
}
|
599
|
-
var
|
580
|
+
var He = function() {
|
600
581
|
function e(t) {
|
601
582
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
602
583
|
}
|
@@ -608,12 +589,12 @@ var Te = function() {
|
|
608
589
|
if (o)
|
609
590
|
if (this._parentage = null, Array.isArray(o))
|
610
591
|
try {
|
611
|
-
for (var a =
|
592
|
+
for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
|
612
593
|
var u = h.value;
|
613
594
|
u.remove(this);
|
614
595
|
}
|
615
|
-
} catch (
|
616
|
-
t = { error:
|
596
|
+
} catch (g) {
|
597
|
+
t = { error: g };
|
617
598
|
} finally {
|
618
599
|
try {
|
619
600
|
h && !h.done && (r = a.return) && r.call(a);
|
@@ -625,26 +606,26 @@ var Te = function() {
|
|
625
606
|
else
|
626
607
|
o.remove(this);
|
627
608
|
var l = this.initialTeardown;
|
628
|
-
if (
|
609
|
+
if (U(l))
|
629
610
|
try {
|
630
611
|
l();
|
631
|
-
} catch (
|
632
|
-
s =
|
612
|
+
} catch (g) {
|
613
|
+
s = g instanceof Me ? g.errors : [g];
|
633
614
|
}
|
634
615
|
var m = this._finalizers;
|
635
616
|
if (m) {
|
636
617
|
this._finalizers = null;
|
637
618
|
try {
|
638
|
-
for (var c =
|
619
|
+
for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
|
639
620
|
var b = d.value;
|
640
621
|
try {
|
641
|
-
|
642
|
-
} catch (
|
643
|
-
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);
|
644
625
|
}
|
645
626
|
}
|
646
|
-
} catch (
|
647
|
-
n = { error:
|
627
|
+
} catch (g) {
|
628
|
+
n = { error: g };
|
648
629
|
} finally {
|
649
630
|
try {
|
650
631
|
d && !d.done && (i = c.return) && i.call(c);
|
@@ -655,13 +636,13 @@ var Te = function() {
|
|
655
636
|
}
|
656
637
|
}
|
657
638
|
if (s)
|
658
|
-
throw new
|
639
|
+
throw new Me(s);
|
659
640
|
}
|
660
641
|
}, e.prototype.add = function(t) {
|
661
642
|
var r;
|
662
643
|
if (t && t !== this)
|
663
644
|
if (this.closed)
|
664
|
-
|
645
|
+
yt(t);
|
665
646
|
else {
|
666
647
|
if (t instanceof e) {
|
667
648
|
if (t.closed || t._hasParent(this))
|
@@ -678,32 +659,28 @@ var Te = function() {
|
|
678
659
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
679
660
|
}, e.prototype._removeParent = function(t) {
|
680
661
|
var r = this._parentage;
|
681
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
662
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
682
663
|
}, e.prototype.remove = function(t) {
|
683
664
|
var r = this._finalizers;
|
684
|
-
r &&
|
665
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
685
666
|
}, e.EMPTY = function() {
|
686
667
|
var t = new e();
|
687
668
|
return t.closed = !0, t;
|
688
669
|
}(), e;
|
689
|
-
}(),
|
690
|
-
function
|
691
|
-
return e instanceof
|
692
|
-
}
|
693
|
-
function
|
694
|
-
|
695
|
-
}
|
696
|
-
var
|
697
|
-
|
698
|
-
onStoppedNotification: null,
|
699
|
-
Promise: void 0,
|
700
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
701
|
-
useDeprecatedNextContext: !1
|
670
|
+
}(), Qt = He.EMPTY;
|
671
|
+
function Yt(e) {
|
672
|
+
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
673
|
+
}
|
674
|
+
function yt(e) {
|
675
|
+
U(e) ? e() : e.unsubscribe();
|
676
|
+
}
|
677
|
+
var Kr = {
|
678
|
+
Promise: void 0
|
702
679
|
}, en = {
|
703
680
|
setTimeout: function(e, t) {
|
704
681
|
for (var r = [], n = 2; n < arguments.length; n++)
|
705
682
|
r[n - 2] = arguments[n];
|
706
|
-
return setTimeout.apply(void 0,
|
683
|
+
return setTimeout.apply(void 0, Ze([e, t], ze(r)));
|
707
684
|
},
|
708
685
|
clearTimeout: function(e) {
|
709
686
|
return clearTimeout(e);
|
@@ -721,13 +698,13 @@ function _e(e) {
|
|
721
698
|
e();
|
722
699
|
}
|
723
700
|
var qt = function(e) {
|
724
|
-
|
701
|
+
fe(t, e);
|
725
702
|
function t(r) {
|
726
703
|
var n = e.call(this) || this;
|
727
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
704
|
+
return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = sn, n;
|
728
705
|
}
|
729
706
|
return t.create = function(r, n, i) {
|
730
|
-
return new
|
707
|
+
return new Ye(r, n, i);
|
731
708
|
}, t.prototype.next = function(r) {
|
732
709
|
this.isStopped || this._next(r);
|
733
710
|
}, t.prototype.error = function(r) {
|
@@ -751,11 +728,7 @@ var qt = function(e) {
|
|
751
728
|
this.unsubscribe();
|
752
729
|
}
|
753
730
|
}, t;
|
754
|
-
}(
|
755
|
-
function Me(e, t) {
|
756
|
-
return rn.call(e, t);
|
757
|
-
}
|
758
|
-
var nn = function() {
|
731
|
+
}(He), rn = function() {
|
759
732
|
function e(t) {
|
760
733
|
this.partialObserver = t;
|
761
734
|
}
|
@@ -765,7 +738,7 @@ var nn = function() {
|
|
765
738
|
try {
|
766
739
|
r.next(t);
|
767
740
|
} catch (n) {
|
768
|
-
|
741
|
+
ye(n);
|
769
742
|
}
|
770
743
|
}, e.prototype.error = function(t) {
|
771
744
|
var r = this.partialObserver;
|
@@ -773,68 +746,56 @@ var nn = function() {
|
|
773
746
|
try {
|
774
747
|
r.error(t);
|
775
748
|
} catch (n) {
|
776
|
-
|
749
|
+
ye(n);
|
777
750
|
}
|
778
751
|
else
|
779
|
-
|
752
|
+
ye(t);
|
780
753
|
}, e.prototype.complete = function() {
|
781
754
|
var t = this.partialObserver;
|
782
755
|
if (t.complete)
|
783
756
|
try {
|
784
757
|
t.complete();
|
785
758
|
} catch (r) {
|
786
|
-
|
759
|
+
ye(r);
|
787
760
|
}
|
788
761
|
}, e;
|
789
|
-
}(),
|
790
|
-
|
762
|
+
}(), Ye = function(e) {
|
763
|
+
fe(t, e);
|
791
764
|
function t(r, n, i) {
|
792
765
|
var s = e.call(this) || this, o;
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
};
|
799
|
-
else {
|
800
|
-
var a;
|
801
|
-
s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
802
|
-
return s.unsubscribe();
|
803
|
-
}, o = {
|
804
|
-
next: r.next && Me(r.next, a),
|
805
|
-
error: r.error && Me(r.error, a),
|
806
|
-
complete: r.complete && Me(r.complete, a)
|
807
|
-
}) : o = r;
|
808
|
-
}
|
809
|
-
return s.destination = new nn(o), s;
|
766
|
+
return U(r) || !r ? o = {
|
767
|
+
next: r ?? void 0,
|
768
|
+
error: n ?? void 0,
|
769
|
+
complete: i ?? void 0
|
770
|
+
} : o = r, s.destination = new rn(o), s;
|
810
771
|
}
|
811
772
|
return t;
|
812
773
|
}(qt);
|
813
|
-
function
|
774
|
+
function ye(e) {
|
814
775
|
tn(e);
|
815
776
|
}
|
816
|
-
function
|
777
|
+
function nn(e) {
|
817
778
|
throw e;
|
818
779
|
}
|
819
|
-
var
|
780
|
+
var sn = {
|
820
781
|
closed: !0,
|
821
782
|
next: gt,
|
822
|
-
error:
|
783
|
+
error: nn,
|
823
784
|
complete: gt
|
824
|
-
},
|
785
|
+
}, on = function() {
|
825
786
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
826
787
|
}();
|
827
|
-
function
|
788
|
+
function an(e) {
|
828
789
|
return e;
|
829
790
|
}
|
830
|
-
function
|
831
|
-
return e.length === 0 ?
|
791
|
+
function un(e) {
|
792
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
832
793
|
return e.reduce(function(n, i) {
|
833
794
|
return i(n);
|
834
795
|
}, r);
|
835
796
|
};
|
836
797
|
}
|
837
|
-
var
|
798
|
+
var vt = function() {
|
838
799
|
function e(t) {
|
839
800
|
t && (this._subscribe = t);
|
840
801
|
}
|
@@ -842,7 +803,7 @@ var yt = function() {
|
|
842
803
|
var r = new e();
|
843
804
|
return r.source = this, r.operator = t, r;
|
844
805
|
}, e.prototype.subscribe = function(t, r, n) {
|
845
|
-
var i = this, s =
|
806
|
+
var i = this, s = ln(t) ? t : new Ye(t, r, n);
|
846
807
|
return _e(function() {
|
847
808
|
var o = i, a = o.operator, h = o.source;
|
848
809
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -855,8 +816,8 @@ var yt = function() {
|
|
855
816
|
}
|
856
817
|
}, e.prototype.forEach = function(t, r) {
|
857
818
|
var n = this;
|
858
|
-
return r =
|
859
|
-
var o = new
|
819
|
+
return r = _t(r), new r(function(i, s) {
|
820
|
+
var o = new Ye({
|
860
821
|
next: function(a) {
|
861
822
|
try {
|
862
823
|
t(a);
|
@@ -872,15 +833,15 @@ var yt = function() {
|
|
872
833
|
}, e.prototype._subscribe = function(t) {
|
873
834
|
var r;
|
874
835
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
875
|
-
}, e.prototype[
|
836
|
+
}, e.prototype[on] = function() {
|
876
837
|
return this;
|
877
838
|
}, e.prototype.pipe = function() {
|
878
839
|
for (var t = [], r = 0; r < arguments.length; r++)
|
879
840
|
t[r] = arguments[r];
|
880
|
-
return
|
841
|
+
return un(t)(this);
|
881
842
|
}, e.prototype.toPromise = function(t) {
|
882
843
|
var r = this;
|
883
|
-
return t =
|
844
|
+
return t = _t(t), new t(function(n, i) {
|
884
845
|
var s;
|
885
846
|
r.subscribe(function(o) {
|
886
847
|
return s = o;
|
@@ -894,32 +855,32 @@ var yt = function() {
|
|
894
855
|
return new e(t);
|
895
856
|
}, e;
|
896
857
|
}();
|
897
|
-
function
|
858
|
+
function _t(e) {
|
898
859
|
var t;
|
899
|
-
return (t = e ??
|
860
|
+
return (t = e ?? Kr.Promise) !== null && t !== void 0 ? t : Promise;
|
900
861
|
}
|
901
|
-
function
|
902
|
-
return e &&
|
862
|
+
function hn(e) {
|
863
|
+
return e && U(e.next) && U(e.error) && U(e.complete);
|
903
864
|
}
|
904
|
-
function
|
905
|
-
return e && e instanceof qt ||
|
865
|
+
function ln(e) {
|
866
|
+
return e && e instanceof qt || hn(e) && Yt(e);
|
906
867
|
}
|
907
|
-
var
|
868
|
+
var cn = Zt(function(e) {
|
908
869
|
return function() {
|
909
870
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
910
871
|
};
|
911
872
|
}), Jt = function(e) {
|
912
|
-
|
873
|
+
fe(t, e);
|
913
874
|
function t() {
|
914
875
|
var r = e.call(this) || this;
|
915
876
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
916
877
|
}
|
917
878
|
return t.prototype.lift = function(r) {
|
918
|
-
var n = new
|
879
|
+
var n = new Et(this, this);
|
919
880
|
return n.operator = r, n;
|
920
881
|
}, t.prototype._throwIfClosed = function() {
|
921
882
|
if (this.closed)
|
922
|
-
throw new
|
883
|
+
throw new cn();
|
923
884
|
}, t.prototype.next = function(r) {
|
924
885
|
var n = this;
|
925
886
|
_e(function() {
|
@@ -927,7 +888,7 @@ var fn = zt(function(e) {
|
|
927
888
|
if (n._throwIfClosed(), !n.isStopped) {
|
928
889
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
929
890
|
try {
|
930
|
-
for (var o =
|
891
|
+
for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
931
892
|
var h = a.value;
|
932
893
|
h.next(r);
|
933
894
|
}
|
@@ -976,20 +937,20 @@ var fn = zt(function(e) {
|
|
976
937
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
977
938
|
}, t.prototype._innerSubscribe = function(r) {
|
978
939
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
979
|
-
return s || o ?
|
980
|
-
n.currentObservers = null,
|
940
|
+
return s || o ? Qt : (this.currentObservers = null, a.push(r), new He(function() {
|
941
|
+
n.currentObservers = null, Qe(a, r);
|
981
942
|
}));
|
982
943
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
983
944
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
984
945
|
i ? r.error(s) : o && r.complete();
|
985
946
|
}, t.prototype.asObservable = function() {
|
986
|
-
var r = new
|
947
|
+
var r = new vt();
|
987
948
|
return r.source = this, r;
|
988
949
|
}, t.create = function(r, n) {
|
989
|
-
return new
|
950
|
+
return new Et(r, n);
|
990
951
|
}, t;
|
991
|
-
}(
|
992
|
-
|
952
|
+
}(vt), Et = function(e) {
|
953
|
+
fe(t, e);
|
993
954
|
function t(r, n) {
|
994
955
|
var i = e.call(this) || this;
|
995
956
|
return i.destination = r, i.source = n, i;
|
@@ -1005,15 +966,15 @@ var fn = zt(function(e) {
|
|
1005
966
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1006
967
|
}, t.prototype._subscribe = function(r) {
|
1007
968
|
var n, i;
|
1008
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
969
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
|
1009
970
|
}, t;
|
1010
971
|
}(Jt), Kt = {
|
1011
972
|
now: function() {
|
1012
973
|
return (Kt.delegate || Date).now();
|
1013
974
|
},
|
1014
975
|
delegate: void 0
|
1015
|
-
},
|
1016
|
-
|
976
|
+
}, fn = function(e) {
|
977
|
+
fe(t, e);
|
1017
978
|
function t(r, n, i) {
|
1018
979
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
1019
980
|
var s = e.call(this) || this;
|
@@ -1036,23 +997,23 @@ var fn = zt(function(e) {
|
|
1036
997
|
}
|
1037
998
|
}, t;
|
1038
999
|
}(Jt);
|
1039
|
-
const
|
1040
|
-
if (
|
1041
|
-
const r = new
|
1042
|
-
|
1000
|
+
const xt = [], St = {}, mn = (e, t = 0) => {
|
1001
|
+
if (xt.indexOf(e) == -1) {
|
1002
|
+
const r = new fn(t);
|
1003
|
+
St[e] = r, xt.push(e);
|
1043
1004
|
}
|
1044
|
-
return
|
1005
|
+
return St[e];
|
1045
1006
|
}, Z = [];
|
1046
|
-
function
|
1007
|
+
function dn(e, t) {
|
1047
1008
|
return {
|
1048
|
-
subscribe:
|
1009
|
+
subscribe: Ae(e, t).subscribe
|
1049
1010
|
};
|
1050
1011
|
}
|
1051
|
-
function
|
1012
|
+
function Ae(e, t = I) {
|
1052
1013
|
let r;
|
1053
1014
|
const n = /* @__PURE__ */ new Set();
|
1054
1015
|
function i(a) {
|
1055
|
-
if (
|
1016
|
+
if ($t(e, a) && (e = a, r)) {
|
1056
1017
|
const h = !Z.length;
|
1057
1018
|
for (const u of n)
|
1058
1019
|
u[1](), Z.push(u, e);
|
@@ -1074,12 +1035,12 @@ function He(e, t = I) {
|
|
1074
1035
|
}
|
1075
1036
|
return { set: i, update: s, subscribe: o };
|
1076
1037
|
}
|
1077
|
-
function
|
1038
|
+
function ne(e, t, r) {
|
1078
1039
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1079
1040
|
if (!i.every(Boolean))
|
1080
1041
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1081
1042
|
const s = t.length < 2;
|
1082
|
-
return
|
1043
|
+
return dn(r, (o, a) => {
|
1083
1044
|
let h = !1;
|
1084
1045
|
const u = [];
|
1085
1046
|
let l = 0, m = I;
|
@@ -1088,64 +1049,64 @@ function ie(e, t, r) {
|
|
1088
1049
|
return;
|
1089
1050
|
m();
|
1090
1051
|
const b = t(n ? u[0] : u, o, a);
|
1091
|
-
s ? o(b) : m =
|
1052
|
+
s ? o(b) : m = at(b) ? b : I;
|
1092
1053
|
}, d = i.map(
|
1093
|
-
(b,
|
1054
|
+
(b, g) => Ft(
|
1094
1055
|
b,
|
1095
1056
|
(T) => {
|
1096
|
-
u[
|
1057
|
+
u[g] = T, l &= ~(1 << g), h && c();
|
1097
1058
|
},
|
1098
1059
|
() => {
|
1099
|
-
l |= 1 <<
|
1060
|
+
l |= 1 << g;
|
1100
1061
|
}
|
1101
1062
|
)
|
1102
1063
|
);
|
1103
1064
|
return h = !0, c(), function() {
|
1104
|
-
|
1065
|
+
te(d), m(), h = !1;
|
1105
1066
|
};
|
1106
1067
|
});
|
1107
1068
|
}
|
1108
|
-
function
|
1069
|
+
function bn(e) {
|
1109
1070
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1110
1071
|
}
|
1111
|
-
var
|
1112
|
-
return yn(t) && !
|
1072
|
+
var pn = function(t) {
|
1073
|
+
return yn(t) && !gn(t);
|
1113
1074
|
};
|
1114
1075
|
function yn(e) {
|
1115
1076
|
return !!e && typeof e == "object";
|
1116
1077
|
}
|
1117
|
-
function
|
1078
|
+
function gn(e) {
|
1118
1079
|
var t = Object.prototype.toString.call(e);
|
1119
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1080
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
1120
1081
|
}
|
1121
|
-
var
|
1122
|
-
function
|
1123
|
-
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;
|
1124
1085
|
}
|
1125
|
-
function
|
1086
|
+
function xn(e) {
|
1126
1087
|
return Array.isArray(e) ? [] : {};
|
1127
1088
|
}
|
1128
|
-
function
|
1129
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1089
|
+
function ue(e, t) {
|
1090
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(xn(e), e, t) : e;
|
1130
1091
|
}
|
1131
|
-
function
|
1092
|
+
function Sn(e, t, r) {
|
1132
1093
|
return e.concat(t).map(function(n) {
|
1133
|
-
return
|
1094
|
+
return ue(n, r);
|
1134
1095
|
});
|
1135
1096
|
}
|
1136
|
-
function
|
1097
|
+
function wn(e, t) {
|
1137
1098
|
if (!t.customMerge)
|
1138
|
-
return
|
1099
|
+
return q;
|
1139
1100
|
var r = t.customMerge(e);
|
1140
|
-
return typeof r == "function" ? r :
|
1101
|
+
return typeof r == "function" ? r : q;
|
1141
1102
|
}
|
1142
|
-
function
|
1103
|
+
function Tn(e) {
|
1143
1104
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1144
1105
|
return Object.propertyIsEnumerable.call(e, t);
|
1145
1106
|
}) : [];
|
1146
1107
|
}
|
1147
|
-
function
|
1148
|
-
return Object.keys(e).concat(
|
1108
|
+
function wt(e) {
|
1109
|
+
return Object.keys(e).concat(Tn(e));
|
1149
1110
|
}
|
1150
1111
|
function er(e, t) {
|
1151
1112
|
try {
|
@@ -1154,33 +1115,75 @@ function er(e, t) {
|
|
1154
1115
|
return !1;
|
1155
1116
|
}
|
1156
1117
|
}
|
1157
|
-
function
|
1118
|
+
function Hn(e, t) {
|
1158
1119
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1159
1120
|
}
|
1160
1121
|
function An(e, t, r) {
|
1161
1122
|
var n = {};
|
1162
|
-
return r.isMergeableObject(e) &&
|
1163
|
-
n[i] =
|
1164
|
-
}),
|
1165
|
-
|
1123
|
+
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
1124
|
+
n[i] = ue(e[i], r);
|
1125
|
+
}), wt(t).forEach(function(i) {
|
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));
|
1166
1127
|
}), n;
|
1167
1128
|
}
|
1168
|
-
function
|
1169
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1129
|
+
function q(e, t, r) {
|
1130
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ue;
|
1170
1131
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1171
|
-
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) :
|
1132
|
+
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ue(t, r);
|
1172
1133
|
}
|
1173
|
-
|
1134
|
+
q.all = function(t, r) {
|
1174
1135
|
if (!Array.isArray(t))
|
1175
1136
|
throw new Error("first argument should be an array");
|
1176
1137
|
return t.reduce(function(n, i) {
|
1177
|
-
return
|
1138
|
+
return q(n, i, r);
|
1178
1139
|
}, {});
|
1179
1140
|
};
|
1180
|
-
var
|
1181
|
-
const On = /* @__PURE__ */
|
1182
|
-
function
|
1183
|
-
|
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) {
|
1145
|
+
r.__proto__ = n;
|
1146
|
+
} || function(r, n) {
|
1147
|
+
for (var i in n)
|
1148
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1149
|
+
}, qe(e, t);
|
1150
|
+
};
|
1151
|
+
function Be(e, t) {
|
1152
|
+
if (typeof t != "function" && t !== null)
|
1153
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1154
|
+
qe(e, t);
|
1155
|
+
function r() {
|
1156
|
+
this.constructor = e;
|
1157
|
+
}
|
1158
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1159
|
+
}
|
1160
|
+
var R = function() {
|
1161
|
+
return R = Object.assign || function(t) {
|
1162
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1163
|
+
r = arguments[n];
|
1164
|
+
for (var s in r)
|
1165
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1166
|
+
}
|
1167
|
+
return t;
|
1168
|
+
}, R.apply(this, arguments);
|
1169
|
+
};
|
1170
|
+
function Nn(e, t) {
|
1171
|
+
var r = {};
|
1172
|
+
for (var n in e)
|
1173
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1174
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1175
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1176
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1177
|
+
return r;
|
1178
|
+
}
|
1179
|
+
function Re(e, t, r) {
|
1180
|
+
if (r || arguments.length === 2)
|
1181
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
1182
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1183
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
1184
|
+
}
|
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;
|
1184
1187
|
return i(e, {
|
1185
1188
|
cache: r,
|
1186
1189
|
serializer: n
|
@@ -1189,93 +1192,101 @@ function Ce(e, t) {
|
|
1189
1192
|
function Ln(e) {
|
1190
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1191
1194
|
}
|
1192
|
-
function
|
1195
|
+
function In(e, t, r, n) {
|
1193
1196
|
var i = Ln(n) ? n : r(n), s = t.get(i);
|
1194
1197
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1195
1198
|
}
|
1196
|
-
function
|
1199
|
+
function tr(e, t, r) {
|
1197
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1198
1201
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
1199
1202
|
}
|
1200
|
-
function
|
1203
|
+
function rr(e, t, r, n, i) {
|
1201
1204
|
return r.bind(t, e, n, i);
|
1202
1205
|
}
|
1203
|
-
function
|
1204
|
-
var r = e.length === 1 ?
|
1205
|
-
return
|
1206
|
+
function Cn(e, t) {
|
1207
|
+
var r = e.length === 1 ? In : tr;
|
1208
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
1206
1209
|
}
|
1207
1210
|
function Mn(e, t) {
|
1208
|
-
return
|
1209
|
-
}
|
1210
|
-
function Cn(e, t) {
|
1211
|
-
return it(e, this, tr, t.cache.create(), t.serializer);
|
1211
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
1212
1212
|
}
|
1213
1213
|
var Rn = function() {
|
1214
1214
|
return JSON.stringify(arguments);
|
1215
|
-
}
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1215
|
+
}, Gn = (
|
1216
|
+
/** @class */
|
1217
|
+
function() {
|
1218
|
+
function e() {
|
1219
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1220
|
+
}
|
1221
|
+
return e.prototype.get = function(t) {
|
1222
|
+
return this.cache[t];
|
1223
|
+
}, e.prototype.set = function(t, r) {
|
1224
|
+
this.cache[t] = r;
|
1225
|
+
}, e;
|
1226
|
+
}()
|
1227
|
+
), Un = {
|
1226
1228
|
create: function() {
|
1227
|
-
return new
|
1229
|
+
return new Gn();
|
1228
1230
|
}
|
1229
|
-
},
|
1230
|
-
variadic: Mn
|
1231
|
-
|
1232
|
-
|
1231
|
+
}, Ue = {
|
1232
|
+
variadic: Mn
|
1233
|
+
}, Se = function() {
|
1234
|
+
return Se = Object.assign || function(t) {
|
1235
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1236
|
+
r = arguments[n];
|
1237
|
+
for (var s in r)
|
1238
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1239
|
+
}
|
1240
|
+
return t;
|
1241
|
+
}, Se.apply(this, arguments);
|
1242
|
+
};
|
1243
|
+
var p;
|
1233
1244
|
(function(e) {
|
1234
1245
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
1235
1246
|
})(p || (p = {}));
|
1236
|
-
var
|
1247
|
+
var E;
|
1237
1248
|
(function(e) {
|
1238
1249
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1239
|
-
})(
|
1240
|
-
var
|
1250
|
+
})(E || (E = {}));
|
1251
|
+
var J;
|
1241
1252
|
(function(e) {
|
1242
1253
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1243
|
-
})(
|
1244
|
-
function
|
1245
|
-
return e.type ===
|
1254
|
+
})(J || (J = {}));
|
1255
|
+
function Tt(e) {
|
1256
|
+
return e.type === E.literal;
|
1246
1257
|
}
|
1247
|
-
function
|
1248
|
-
return e.type ===
|
1258
|
+
function Dn(e) {
|
1259
|
+
return e.type === E.argument;
|
1249
1260
|
}
|
1250
1261
|
function nr(e) {
|
1251
|
-
return e.type ===
|
1262
|
+
return e.type === E.number;
|
1252
1263
|
}
|
1253
1264
|
function ir(e) {
|
1254
|
-
return e.type ===
|
1265
|
+
return e.type === E.date;
|
1255
1266
|
}
|
1256
1267
|
function sr(e) {
|
1257
|
-
return e.type ===
|
1268
|
+
return e.type === E.time;
|
1258
1269
|
}
|
1259
1270
|
function or(e) {
|
1260
|
-
return e.type ===
|
1271
|
+
return e.type === E.select;
|
1261
1272
|
}
|
1262
1273
|
function ar(e) {
|
1263
|
-
return e.type ===
|
1274
|
+
return e.type === E.plural;
|
1264
1275
|
}
|
1265
|
-
function
|
1266
|
-
return e.type ===
|
1276
|
+
function $n(e) {
|
1277
|
+
return e.type === E.pound;
|
1267
1278
|
}
|
1268
1279
|
function ur(e) {
|
1269
|
-
return e.type ===
|
1280
|
+
return e.type === E.tag;
|
1270
1281
|
}
|
1271
1282
|
function hr(e) {
|
1272
|
-
return !!(e && typeof e == "object" && e.type ===
|
1283
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
1273
1284
|
}
|
1274
|
-
function
|
1275
|
-
return !!(e && typeof e == "object" && e.type ===
|
1285
|
+
function Je(e) {
|
1286
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
1276
1287
|
}
|
1277
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;
|
1278
|
-
function
|
1289
|
+
function jn(e) {
|
1279
1290
|
var t = {};
|
1280
1291
|
return e.replace(Fn, function(r) {
|
1281
1292
|
var n = r.length;
|
@@ -1366,11 +1377,21 @@ function $n(e) {
|
|
1366
1377
|
return "";
|
1367
1378
|
}), t;
|
1368
1379
|
}
|
1369
|
-
var
|
1370
|
-
function
|
1380
|
+
var S = function() {
|
1381
|
+
return S = Object.assign || function(t) {
|
1382
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1383
|
+
r = arguments[n];
|
1384
|
+
for (var s in r)
|
1385
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1386
|
+
}
|
1387
|
+
return t;
|
1388
|
+
}, S.apply(this, arguments);
|
1389
|
+
};
|
1390
|
+
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1391
|
+
function Vn(e) {
|
1371
1392
|
if (e.length === 0)
|
1372
1393
|
throw new Error("Number skeleton cannot be empty");
|
1373
|
-
for (var t = e.split(
|
1394
|
+
for (var t = e.split(kn).filter(function(c) {
|
1374
1395
|
return c.length > 0;
|
1375
1396
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1376
1397
|
var s = i[n], o = s.split("/");
|
@@ -1385,11 +1406,11 @@ function kn(e) {
|
|
1385
1406
|
}
|
1386
1407
|
return r;
|
1387
1408
|
}
|
1388
|
-
function
|
1409
|
+
function Xn(e) {
|
1389
1410
|
return e.replace(/^(.*?)-/, "");
|
1390
1411
|
}
|
1391
|
-
var
|
1392
|
-
function
|
1412
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
1413
|
+
function At(e) {
|
1393
1414
|
var t = {};
|
1394
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) {
|
1395
1416
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
@@ -1435,7 +1456,7 @@ function mr(e) {
|
|
1435
1456
|
};
|
1436
1457
|
}
|
1437
1458
|
}
|
1438
|
-
function
|
1459
|
+
function zn(e) {
|
1439
1460
|
var t;
|
1440
1461
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1441
1462
|
notation: "engineering"
|
@@ -1453,7 +1474,7 @@ function Bt(e) {
|
|
1453
1474
|
var t = {}, r = mr(e);
|
1454
1475
|
return r || t;
|
1455
1476
|
}
|
1456
|
-
function
|
1477
|
+
function Zn(e) {
|
1457
1478
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1458
1479
|
var i = n[r];
|
1459
1480
|
switch (i.stem) {
|
@@ -1477,7 +1498,7 @@ function zn(e) {
|
|
1477
1498
|
continue;
|
1478
1499
|
case "measure-unit":
|
1479
1500
|
case "unit":
|
1480
|
-
t.style = "unit", t.unit =
|
1501
|
+
t.style = "unit", t.unit = Xn(i.options[0]);
|
1481
1502
|
continue;
|
1482
1503
|
case "compact-short":
|
1483
1504
|
case "K":
|
@@ -1488,13 +1509,13 @@ function zn(e) {
|
|
1488
1509
|
t.notation = "compact", t.compactDisplay = "long";
|
1489
1510
|
continue;
|
1490
1511
|
case "scientific":
|
1491
|
-
t =
|
1492
|
-
return
|
1512
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1513
|
+
return S(S({}, h), Bt(u));
|
1493
1514
|
}, {}));
|
1494
1515
|
continue;
|
1495
1516
|
case "engineering":
|
1496
|
-
t =
|
1497
|
-
return
|
1517
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1518
|
+
return S(S({}, h), Bt(u));
|
1498
1519
|
}, {}));
|
1499
1520
|
continue;
|
1500
1521
|
case "notation-simple":
|
@@ -1539,7 +1560,7 @@ function zn(e) {
|
|
1539
1560
|
case "integer-width":
|
1540
1561
|
if (i.options.length > 1)
|
1541
1562
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1542
|
-
i.options[0].replace(
|
1563
|
+
i.options[0].replace(Wn, function(h, u, l, m, c, d) {
|
1543
1564
|
if (u)
|
1544
1565
|
t.minimumIntegerDigits = l.length;
|
1545
1566
|
else {
|
@@ -1556,28 +1577,28 @@ function zn(e) {
|
|
1556
1577
|
t.minimumIntegerDigits = i.stem.length;
|
1557
1578
|
continue;
|
1558
1579
|
}
|
1559
|
-
if (
|
1580
|
+
if (Ht.test(i.stem)) {
|
1560
1581
|
if (i.options.length > 1)
|
1561
1582
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1562
|
-
i.stem.replace(
|
1583
|
+
i.stem.replace(Ht, function(h, u, l, m, c, d) {
|
1563
1584
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1564
1585
|
});
|
1565
1586
|
var s = i.options[0];
|
1566
|
-
s === "w" ? t =
|
1587
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), At(s)));
|
1567
1588
|
continue;
|
1568
1589
|
}
|
1569
1590
|
if (cr.test(i.stem)) {
|
1570
|
-
t =
|
1591
|
+
t = S(S({}, t), At(i.stem));
|
1571
1592
|
continue;
|
1572
1593
|
}
|
1573
1594
|
var o = mr(i.stem);
|
1574
|
-
o && (t =
|
1575
|
-
var a =
|
1576
|
-
a && (t =
|
1595
|
+
o && (t = S(S({}, t), o));
|
1596
|
+
var a = zn(i.stem);
|
1597
|
+
a && (t = S(S({}, t), a));
|
1577
1598
|
}
|
1578
1599
|
return t;
|
1579
1600
|
}
|
1580
|
-
var
|
1601
|
+
var ge = {
|
1581
1602
|
"001": [
|
1582
1603
|
"H",
|
1583
1604
|
"h"
|
@@ -2992,13 +3013,13 @@ var ye = {
|
|
2992
3013
|
"h"
|
2993
3014
|
]
|
2994
3015
|
};
|
2995
|
-
function
|
3016
|
+
function Qn(e, t) {
|
2996
3017
|
for (var r = "", n = 0; n < e.length; n++) {
|
2997
3018
|
var i = e.charAt(n);
|
2998
3019
|
if (i === "j") {
|
2999
3020
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3000
3021
|
s++, n++;
|
3001
|
-
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);
|
3002
3023
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3003
3024
|
r += h;
|
3004
3025
|
for (; o-- > 0; )
|
@@ -3008,7 +3029,7 @@ function Zn(e, t) {
|
|
3008
3029
|
}
|
3009
3030
|
return r;
|
3010
3031
|
}
|
3011
|
-
function
|
3032
|
+
function Yn(e) {
|
3012
3033
|
var t = e.hourCycle;
|
3013
3034
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3014
3035
|
e.hourCycles && // @ts-ignore
|
@@ -3027,23 +3048,23 @@ function Qn(e) {
|
|
3027
3048
|
}
|
3028
3049
|
var r = e.language, n;
|
3029
3050
|
r !== "root" && (n = e.maximize().region);
|
3030
|
-
var i =
|
3051
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
3031
3052
|
return i[0];
|
3032
3053
|
}
|
3033
|
-
var
|
3034
|
-
function
|
3054
|
+
var De, qn = new RegExp("^".concat(lr.source, "*")), Jn = new RegExp("".concat(lr.source, "*$"));
|
3055
|
+
function y(e, t) {
|
3035
3056
|
return { start: e, end: t };
|
3036
3057
|
}
|
3037
|
-
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) {
|
3038
3059
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3039
|
-
},
|
3060
|
+
}, Ke = !0;
|
3040
3061
|
try {
|
3041
|
-
var
|
3042
|
-
|
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";
|
3043
3064
|
} catch {
|
3044
|
-
|
3065
|
+
Ke = !1;
|
3045
3066
|
}
|
3046
|
-
var
|
3067
|
+
var Pt = Kn ? (
|
3047
3068
|
// Native
|
3048
3069
|
function(t, r, n) {
|
3049
3070
|
return t.startsWith(r, n);
|
@@ -3053,7 +3074,7 @@ var At = Jn ? (
|
|
3053
3074
|
function(t, r, n) {
|
3054
3075
|
return t.slice(n, n + r.length) === r;
|
3055
3076
|
}
|
3056
|
-
),
|
3077
|
+
), et = ei ? String.fromCodePoint : (
|
3057
3078
|
// IE11
|
3058
3079
|
function() {
|
3059
3080
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3065,9 +3086,9 @@ var At = Jn ? (
|
|
3065
3086
|
}
|
3066
3087
|
return n;
|
3067
3088
|
}
|
3068
|
-
),
|
3089
|
+
), Ot = (
|
3069
3090
|
// native
|
3070
|
-
|
3091
|
+
ti ? Object.fromEntries : (
|
3071
3092
|
// Ponyfill
|
3072
3093
|
function(t) {
|
3073
3094
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3077,7 +3098,7 @@ var At = Jn ? (
|
|
3077
3098
|
return r;
|
3078
3099
|
}
|
3079
3100
|
)
|
3080
|
-
), dr =
|
3101
|
+
), dr = ri ? (
|
3081
3102
|
// Native
|
3082
3103
|
function(t, r) {
|
3083
3104
|
return t.codePointAt(r);
|
@@ -3091,7 +3112,7 @@ var At = Jn ? (
|
|
3091
3112
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3092
3113
|
}
|
3093
3114
|
}
|
3094
|
-
),
|
3115
|
+
), ui = ni ? (
|
3095
3116
|
// Native
|
3096
3117
|
function(t) {
|
3097
3118
|
return t.trimStart();
|
@@ -3099,9 +3120,9 @@ var At = Jn ? (
|
|
3099
3120
|
) : (
|
3100
3121
|
// Ponyfill
|
3101
3122
|
function(t) {
|
3102
|
-
return t.replace(
|
3123
|
+
return t.replace(qn, "");
|
3103
3124
|
}
|
3104
|
-
),
|
3125
|
+
), hi = ii ? (
|
3105
3126
|
// Native
|
3106
3127
|
function(t) {
|
3107
3128
|
return t.trimEnd();
|
@@ -3109,32 +3130,32 @@ var At = Jn ? (
|
|
3109
3130
|
) : (
|
3110
3131
|
// Ponyfill
|
3111
3132
|
function(t) {
|
3112
|
-
return t.replace(
|
3133
|
+
return t.replace(Jn, "");
|
3113
3134
|
}
|
3114
3135
|
);
|
3115
3136
|
function br(e, t) {
|
3116
3137
|
return new RegExp(e, t);
|
3117
3138
|
}
|
3118
|
-
var
|
3119
|
-
if (
|
3139
|
+
var tt;
|
3140
|
+
if (Ke) {
|
3120
3141
|
var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3121
|
-
|
3142
|
+
tt = function(t, r) {
|
3122
3143
|
var n;
|
3123
3144
|
Nt.lastIndex = r;
|
3124
3145
|
var i = Nt.exec(t);
|
3125
3146
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3126
3147
|
};
|
3127
3148
|
} else
|
3128
|
-
|
3149
|
+
tt = function(t, r) {
|
3129
3150
|
for (var n = []; ; ) {
|
3130
3151
|
var i = dr(t, r);
|
3131
|
-
if (i === void 0 || pr(i) ||
|
3152
|
+
if (i === void 0 || pr(i) || mi(i))
|
3132
3153
|
break;
|
3133
3154
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3134
3155
|
}
|
3135
|
-
return
|
3156
|
+
return et.apply(void 0, n);
|
3136
3157
|
};
|
3137
|
-
var
|
3158
|
+
var li = (
|
3138
3159
|
/** @class */
|
3139
3160
|
function() {
|
3140
3161
|
function e(t, r) {
|
@@ -3158,14 +3179,14 @@ var hi = (
|
|
3158
3179
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3159
3180
|
var a = this.clonePosition();
|
3160
3181
|
this.bump(), i.push({
|
3161
|
-
type:
|
3162
|
-
location:
|
3182
|
+
type: E.pound,
|
3183
|
+
location: y(a, this.clonePosition())
|
3163
3184
|
});
|
3164
3185
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3165
3186
|
if (n)
|
3166
3187
|
break;
|
3167
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
3168
|
-
} 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)) {
|
3169
3190
|
var o = this.parseTag(t, r);
|
3170
3191
|
if (o.err)
|
3171
3192
|
return o;
|
@@ -3186,9 +3207,9 @@ var hi = (
|
|
3186
3207
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3187
3208
|
return {
|
3188
3209
|
val: {
|
3189
|
-
type:
|
3210
|
+
type: E.literal,
|
3190
3211
|
value: "<".concat(i, "/>"),
|
3191
|
-
location:
|
3212
|
+
location: y(n, this.clonePosition())
|
3192
3213
|
},
|
3193
3214
|
err: null
|
3194
3215
|
};
|
@@ -3198,25 +3219,25 @@ var hi = (
|
|
3198
3219
|
return s;
|
3199
3220
|
var o = s.val, a = this.clonePosition();
|
3200
3221
|
if (this.bumpIf("</")) {
|
3201
|
-
if (this.isEOF() || !
|
3202
|
-
return this.error(p.INVALID_TAG,
|
3222
|
+
if (this.isEOF() || !rt(this.char()))
|
3223
|
+
return this.error(p.INVALID_TAG, y(a, this.clonePosition()));
|
3203
3224
|
var h = this.clonePosition(), u = this.parseTagName();
|
3204
|
-
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(">") ? {
|
3205
3226
|
val: {
|
3206
|
-
type:
|
3227
|
+
type: E.tag,
|
3207
3228
|
value: i,
|
3208
3229
|
children: o,
|
3209
|
-
location:
|
3230
|
+
location: y(n, this.clonePosition())
|
3210
3231
|
},
|
3211
3232
|
err: null
|
3212
|
-
} : this.error(p.INVALID_TAG,
|
3233
|
+
} : this.error(p.INVALID_TAG, y(a, this.clonePosition())));
|
3213
3234
|
} else
|
3214
|
-
return this.error(p.UNCLOSED_TAG,
|
3235
|
+
return this.error(p.UNCLOSED_TAG, y(n, this.clonePosition()));
|
3215
3236
|
} else
|
3216
|
-
return this.error(p.INVALID_TAG,
|
3237
|
+
return this.error(p.INVALID_TAG, y(n, this.clonePosition()));
|
3217
3238
|
}, e.prototype.parseTagName = function() {
|
3218
3239
|
var t = this.offset();
|
3219
|
-
for (this.bump(); !this.isEOF() &&
|
3240
|
+
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
3220
3241
|
this.bump();
|
3221
3242
|
return this.message.slice(t, this.offset());
|
3222
3243
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3238,14 +3259,14 @@ var hi = (
|
|
3238
3259
|
}
|
3239
3260
|
break;
|
3240
3261
|
}
|
3241
|
-
var h =
|
3262
|
+
var h = y(n, this.clonePosition());
|
3242
3263
|
return {
|
3243
|
-
val: { type:
|
3264
|
+
val: { type: E.literal, value: i, location: h },
|
3244
3265
|
err: null
|
3245
3266
|
};
|
3246
3267
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3247
3268
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3248
|
-
!
|
3269
|
+
!ci(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3249
3270
|
}, e.prototype.tryParseQuote = function(t) {
|
3250
3271
|
if (this.isEOF() || this.char() !== 39)
|
3251
3272
|
return null;
|
@@ -3279,49 +3300,49 @@ var hi = (
|
|
3279
3300
|
r.push(n);
|
3280
3301
|
this.bump();
|
3281
3302
|
}
|
3282
|
-
return
|
3303
|
+
return et.apply(void 0, r);
|
3283
3304
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3284
3305
|
if (this.isEOF())
|
3285
3306
|
return null;
|
3286
3307
|
var n = this.char();
|
3287
|
-
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));
|
3288
3309
|
}, e.prototype.parseArgument = function(t, r) {
|
3289
3310
|
var n = this.clonePosition();
|
3290
3311
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3291
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3312
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
3292
3313
|
if (this.char() === 125)
|
3293
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
3314
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
3294
3315
|
var i = this.parseIdentifierIfPossible().value;
|
3295
3316
|
if (!i)
|
3296
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3317
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
3297
3318
|
if (this.bumpSpace(), this.isEOF())
|
3298
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3319
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
3299
3320
|
switch (this.char()) {
|
3300
3321
|
case 125:
|
3301
3322
|
return this.bump(), {
|
3302
3323
|
val: {
|
3303
|
-
type:
|
3324
|
+
type: E.argument,
|
3304
3325
|
// value does not include the opening and closing braces.
|
3305
3326
|
value: i,
|
3306
|
-
location:
|
3327
|
+
location: y(n, this.clonePosition())
|
3307
3328
|
},
|
3308
3329
|
err: null
|
3309
3330
|
};
|
3310
3331
|
case 44:
|
3311
|
-
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);
|
3312
3333
|
default:
|
3313
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3334
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
3314
3335
|
}
|
3315
3336
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3316
|
-
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;
|
3317
3338
|
this.bumpTo(i);
|
3318
|
-
var s = this.clonePosition(), o =
|
3339
|
+
var s = this.clonePosition(), o = y(t, s);
|
3319
3340
|
return { value: n, location: o };
|
3320
3341
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3321
3342
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
3322
3343
|
switch (a) {
|
3323
3344
|
case "":
|
3324
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
3345
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, y(o, h));
|
3325
3346
|
case "number":
|
3326
3347
|
case "date":
|
3327
3348
|
case "time": {
|
@@ -3332,46 +3353,46 @@ var hi = (
|
|
3332
3353
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3333
3354
|
if (m.err)
|
3334
3355
|
return m;
|
3335
|
-
var c =
|
3356
|
+
var c = hi(m.val);
|
3336
3357
|
if (c.length === 0)
|
3337
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
3338
|
-
var d =
|
3358
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
3359
|
+
var d = y(l, this.clonePosition());
|
3339
3360
|
u = { style: c, styleLocation: d };
|
3340
3361
|
}
|
3341
3362
|
var b = this.tryParseArgumentClose(i);
|
3342
3363
|
if (b.err)
|
3343
3364
|
return b;
|
3344
|
-
var
|
3345
|
-
if (u &&
|
3346
|
-
var T =
|
3365
|
+
var g = y(i, this.clonePosition());
|
3366
|
+
if (u && Pt(u?.style, "::", 0)) {
|
3367
|
+
var T = ui(u.style.slice(2));
|
3347
3368
|
if (a === "number") {
|
3348
3369
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3349
3370
|
return m.err ? m : {
|
3350
|
-
val: { type:
|
3371
|
+
val: { type: E.number, value: n, location: g, style: m.val },
|
3351
3372
|
err: null
|
3352
3373
|
};
|
3353
3374
|
} else {
|
3354
3375
|
if (T.length === 0)
|
3355
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
3356
|
-
var
|
3357
|
-
this.locale && (
|
3376
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
|
3377
|
+
var C = T;
|
3378
|
+
this.locale && (C = Qn(T, this.locale));
|
3358
3379
|
var c = {
|
3359
|
-
type:
|
3360
|
-
pattern:
|
3380
|
+
type: J.dateTime,
|
3381
|
+
pattern: C,
|
3361
3382
|
location: u.styleLocation,
|
3362
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3363
|
-
}, P = a === "date" ?
|
3383
|
+
parsedOptions: this.shouldParseSkeletons ? jn(C) : {}
|
3384
|
+
}, P = a === "date" ? E.date : E.time;
|
3364
3385
|
return {
|
3365
|
-
val: { type: P, value: n, location:
|
3386
|
+
val: { type: P, value: n, location: g, style: c },
|
3366
3387
|
err: null
|
3367
3388
|
};
|
3368
3389
|
}
|
3369
3390
|
}
|
3370
3391
|
return {
|
3371
3392
|
val: {
|
3372
|
-
type: a === "number" ?
|
3393
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
3373
3394
|
value: n,
|
3374
|
-
location:
|
3395
|
+
location: g,
|
3375
3396
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
3376
3397
|
},
|
3377
3398
|
err: null
|
@@ -3382,50 +3403,50 @@ var hi = (
|
|
3382
3403
|
case "select": {
|
3383
3404
|
var w = this.clonePosition();
|
3384
3405
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3385
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
3406
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Se({}, w)));
|
3386
3407
|
this.bumpSpace();
|
3387
|
-
var
|
3388
|
-
if (a !== "select" &&
|
3408
|
+
var O = this.parseIdentifierIfPossible(), N = 0;
|
3409
|
+
if (a !== "select" && O.value === "offset") {
|
3389
3410
|
if (!this.bumpIf(":"))
|
3390
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
3411
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
3391
3412
|
this.bumpSpace();
|
3392
3413
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3393
3414
|
if (m.err)
|
3394
3415
|
return m;
|
3395
|
-
this.bumpSpace(),
|
3416
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
|
3396
3417
|
}
|
3397
|
-
var
|
3398
|
-
if (
|
3399
|
-
return
|
3418
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
3419
|
+
if (M.err)
|
3420
|
+
return M;
|
3400
3421
|
var b = this.tryParseArgumentClose(i);
|
3401
3422
|
if (b.err)
|
3402
3423
|
return b;
|
3403
|
-
var
|
3424
|
+
var _ = y(i, this.clonePosition());
|
3404
3425
|
return a === "select" ? {
|
3405
3426
|
val: {
|
3406
|
-
type:
|
3427
|
+
type: E.select,
|
3407
3428
|
value: n,
|
3408
|
-
options:
|
3409
|
-
location:
|
3429
|
+
options: Ot(M.val),
|
3430
|
+
location: _
|
3410
3431
|
},
|
3411
3432
|
err: null
|
3412
3433
|
} : {
|
3413
3434
|
val: {
|
3414
|
-
type:
|
3435
|
+
type: E.plural,
|
3415
3436
|
value: n,
|
3416
|
-
options:
|
3417
|
-
offset:
|
3437
|
+
options: Ot(M.val),
|
3438
|
+
offset: N,
|
3418
3439
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3419
|
-
location:
|
3440
|
+
location: _
|
3420
3441
|
},
|
3421
3442
|
err: null
|
3422
3443
|
};
|
3423
3444
|
}
|
3424
3445
|
default:
|
3425
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
3446
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, y(o, h));
|
3426
3447
|
}
|
3427
3448
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3428
|
-
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 });
|
3429
3450
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3430
3451
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3431
3452
|
var n = this.char();
|
@@ -3434,7 +3455,7 @@ var hi = (
|
|
3434
3455
|
this.bump();
|
3435
3456
|
var i = this.clonePosition();
|
3436
3457
|
if (!this.bumpUntil("'"))
|
3437
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
3458
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
3438
3459
|
this.bump();
|
3439
3460
|
break;
|
3440
3461
|
}
|
@@ -3464,16 +3485,16 @@ var hi = (
|
|
3464
3485
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3465
3486
|
var n = [];
|
3466
3487
|
try {
|
3467
|
-
n =
|
3488
|
+
n = Vn(t);
|
3468
3489
|
} catch {
|
3469
3490
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3470
3491
|
}
|
3471
3492
|
return {
|
3472
3493
|
val: {
|
3473
|
-
type:
|
3494
|
+
type: J.number,
|
3474
3495
|
tokens: n,
|
3475
3496
|
location: r,
|
3476
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3497
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
|
3477
3498
|
},
|
3478
3499
|
err: null
|
3479
3500
|
};
|
@@ -3485,7 +3506,7 @@ var hi = (
|
|
3485
3506
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3486
3507
|
if (c.err)
|
3487
3508
|
return c;
|
3488
|
-
l =
|
3509
|
+
l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
3489
3510
|
} else
|
3490
3511
|
break;
|
3491
3512
|
}
|
@@ -3494,22 +3515,22 @@ var hi = (
|
|
3494
3515
|
u === "other" && (o = !0), this.bumpSpace();
|
3495
3516
|
var d = this.clonePosition();
|
3496
3517
|
if (!this.bumpIf("{"))
|
3497
|
-
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()));
|
3498
3519
|
var b = this.parseMessage(t + 1, r, n);
|
3499
3520
|
if (b.err)
|
3500
3521
|
return b;
|
3501
|
-
var
|
3502
|
-
if (
|
3503
|
-
return
|
3522
|
+
var g = this.tryParseArgumentClose(d);
|
3523
|
+
if (g.err)
|
3524
|
+
return g;
|
3504
3525
|
a.push([
|
3505
3526
|
u,
|
3506
3527
|
{
|
3507
3528
|
value: b.val,
|
3508
|
-
location:
|
3529
|
+
location: y(d, this.clonePosition())
|
3509
3530
|
}
|
3510
3531
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
3511
3532
|
}
|
3512
|
-
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 };
|
3513
3534
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3514
3535
|
var n = 1, i = this.clonePosition();
|
3515
3536
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3520,8 +3541,8 @@ var hi = (
|
|
3520
3541
|
else
|
3521
3542
|
break;
|
3522
3543
|
}
|
3523
|
-
var h =
|
3524
|
-
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);
|
3525
3546
|
}, e.prototype.offset = function() {
|
3526
3547
|
return this.position.offset;
|
3527
3548
|
}, e.prototype.isEOF = function() {
|
@@ -3555,7 +3576,7 @@ var hi = (
|
|
3555
3576
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3556
3577
|
}
|
3557
3578
|
}, e.prototype.bumpIf = function(t) {
|
3558
|
-
if (
|
3579
|
+
if (Pt(this.message, t, this.offset())) {
|
3559
3580
|
for (var r = 0; r < t.length; r++)
|
3560
3581
|
this.bump();
|
3561
3582
|
return !0;
|
@@ -3587,47 +3608,47 @@ var hi = (
|
|
3587
3608
|
}, e;
|
3588
3609
|
}()
|
3589
3610
|
);
|
3590
|
-
function
|
3611
|
+
function rt(e) {
|
3591
3612
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3592
3613
|
}
|
3593
|
-
function li(e) {
|
3594
|
-
return Je(e) || e === 47;
|
3595
|
-
}
|
3596
3614
|
function ci(e) {
|
3615
|
+
return rt(e) || e === 47;
|
3616
|
+
}
|
3617
|
+
function fi(e) {
|
3597
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;
|
3598
3619
|
}
|
3599
3620
|
function pr(e) {
|
3600
3621
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3601
3622
|
}
|
3602
|
-
function
|
3623
|
+
function mi(e) {
|
3603
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;
|
3604
3625
|
}
|
3605
|
-
function
|
3626
|
+
function nt(e) {
|
3606
3627
|
e.forEach(function(t) {
|
3607
3628
|
if (delete t.location, or(t) || ar(t))
|
3608
3629
|
for (var r in t.options)
|
3609
|
-
delete t.options[r].location,
|
3630
|
+
delete t.options[r].location, nt(t.options[r].value);
|
3610
3631
|
else
|
3611
|
-
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);
|
3612
3633
|
});
|
3613
3634
|
}
|
3614
|
-
function
|
3615
|
-
t === void 0 && (t = {}), t =
|
3616
|
-
var r = new
|
3635
|
+
function di(e, t) {
|
3636
|
+
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3637
|
+
var r = new li(e, t).parse();
|
3617
3638
|
if (r.err) {
|
3618
3639
|
var n = SyntaxError(p[r.err.kind]);
|
3619
3640
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3620
3641
|
}
|
3621
|
-
return t?.captureLocation ||
|
3642
|
+
return t?.captureLocation || nt(r.val), r.val;
|
3622
3643
|
}
|
3623
|
-
var
|
3644
|
+
var K;
|
3624
3645
|
(function(e) {
|
3625
3646
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3626
|
-
})(
|
3627
|
-
var
|
3647
|
+
})(K || (K = {}));
|
3648
|
+
var Pe = (
|
3628
3649
|
/** @class */
|
3629
3650
|
function(e) {
|
3630
|
-
|
3651
|
+
Be(t, e);
|
3631
3652
|
function t(r, n, i) {
|
3632
3653
|
var s = e.call(this, r) || this;
|
3633
3654
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3636,38 +3657,38 @@ var Be = (
|
|
3636
3657
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3637
3658
|
}, t;
|
3638
3659
|
}(Error)
|
3639
|
-
),
|
3660
|
+
), Lt = (
|
3640
3661
|
/** @class */
|
3641
3662
|
function(e) {
|
3642
|
-
|
3663
|
+
Be(t, e);
|
3643
3664
|
function t(r, n, i, s) {
|
3644
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3665
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
3645
3666
|
}
|
3646
3667
|
return t;
|
3647
|
-
}(
|
3648
|
-
),
|
3668
|
+
}(Pe)
|
3669
|
+
), bi = (
|
3649
3670
|
/** @class */
|
3650
3671
|
function(e) {
|
3651
|
-
|
3672
|
+
Be(t, e);
|
3652
3673
|
function t(r, n, i) {
|
3653
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3674
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
3654
3675
|
}
|
3655
3676
|
return t;
|
3656
|
-
}(
|
3657
|
-
),
|
3677
|
+
}(Pe)
|
3678
|
+
), pi = (
|
3658
3679
|
/** @class */
|
3659
3680
|
function(e) {
|
3660
|
-
|
3681
|
+
Be(t, e);
|
3661
3682
|
function t(r, n) {
|
3662
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
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;
|
3663
3684
|
}
|
3664
3685
|
return t;
|
3665
|
-
}(
|
3686
|
+
}(Pe)
|
3666
3687
|
), H;
|
3667
3688
|
(function(e) {
|
3668
3689
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3669
3690
|
})(H || (H = {}));
|
3670
|
-
function
|
3691
|
+
function yi(e) {
|
3671
3692
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3672
3693
|
var n = t[t.length - 1];
|
3673
3694
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
@@ -3677,7 +3698,7 @@ function gi(e) {
|
|
3677
3698
|
return typeof e == "function";
|
3678
3699
|
}
|
3679
3700
|
function Ee(e, t, r, n, i, s, o) {
|
3680
|
-
if (e.length === 1 &&
|
3701
|
+
if (e.length === 1 && Tt(e[0]))
|
3681
3702
|
return [
|
3682
3703
|
{
|
3683
3704
|
type: H.literal,
|
@@ -3686,14 +3707,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3686
3707
|
];
|
3687
3708
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3688
3709
|
var l = u[h];
|
3689
|
-
if (
|
3710
|
+
if (Tt(l)) {
|
3690
3711
|
a.push({
|
3691
3712
|
type: H.literal,
|
3692
3713
|
value: l.value
|
3693
3714
|
});
|
3694
3715
|
continue;
|
3695
3716
|
}
|
3696
|
-
if (
|
3717
|
+
if ($n(l)) {
|
3697
3718
|
typeof s == "number" && a.push({
|
3698
3719
|
type: H.literal,
|
3699
3720
|
value: r.getNumberFormat(t).format(s)
|
@@ -3702,9 +3723,9 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3702
3723
|
}
|
3703
3724
|
var m = l.value;
|
3704
3725
|
if (!(i && m in i))
|
3705
|
-
throw new
|
3726
|
+
throw new pi(m, o);
|
3706
3727
|
var c = i[m];
|
3707
|
-
if (
|
3728
|
+
if (Dn(l)) {
|
3708
3729
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3709
3730
|
type: typeof c == "string" ? H.literal : H.object,
|
3710
3731
|
value: c
|
@@ -3712,7 +3733,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3712
3733
|
continue;
|
3713
3734
|
}
|
3714
3735
|
if (ir(l)) {
|
3715
|
-
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;
|
3716
3737
|
a.push({
|
3717
3738
|
type: H.literal,
|
3718
3739
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3720,7 +3741,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3720
3741
|
continue;
|
3721
3742
|
}
|
3722
3743
|
if (sr(l)) {
|
3723
|
-
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;
|
3724
3745
|
a.push({
|
3725
3746
|
type: H.literal,
|
3726
3747
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3736,23 +3757,23 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3736
3757
|
continue;
|
3737
3758
|
}
|
3738
3759
|
if (ur(l)) {
|
3739
|
-
var b = l.children,
|
3760
|
+
var b = l.children, g = l.value, T = i[g];
|
3740
3761
|
if (!gi(T))
|
3741
|
-
throw new
|
3742
|
-
var
|
3743
|
-
return
|
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;
|
3744
3765
|
}));
|
3745
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
3766
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
|
3746
3767
|
return {
|
3747
|
-
type: typeof
|
3748
|
-
value:
|
3768
|
+
type: typeof N == "string" ? H.literal : H.object,
|
3769
|
+
value: N
|
3749
3770
|
};
|
3750
3771
|
}));
|
3751
3772
|
}
|
3752
3773
|
if (or(l)) {
|
3753
3774
|
var w = l.options[c] || l.options.other;
|
3754
3775
|
if (!w)
|
3755
|
-
throw new
|
3776
|
+
throw new Lt(l.value, c, Object.keys(l.options), o);
|
3756
3777
|
a.push.apply(a, Ee(w.value, t, r, n, i));
|
3757
3778
|
continue;
|
3758
3779
|
}
|
@@ -3760,31 +3781,31 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3760
3781
|
var w = l.options["=".concat(c)];
|
3761
3782
|
if (!w) {
|
3762
3783
|
if (!Intl.PluralRules)
|
3763
|
-
throw new
|
3784
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3764
3785
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3765
|
-
`,
|
3766
|
-
var
|
3767
|
-
w = l.options[
|
3786
|
+
`, K.MISSING_INTL_API, o);
|
3787
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3788
|
+
w = l.options[O] || l.options.other;
|
3768
3789
|
}
|
3769
3790
|
if (!w)
|
3770
|
-
throw new
|
3791
|
+
throw new Lt(l.value, c, Object.keys(l.options), o);
|
3771
3792
|
a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
|
3772
3793
|
continue;
|
3773
3794
|
}
|
3774
3795
|
}
|
3775
|
-
return
|
3796
|
+
return yi(a);
|
3776
3797
|
}
|
3777
|
-
function
|
3778
|
-
return t ?
|
3779
|
-
return r[n] =
|
3798
|
+
function vi(e, t) {
|
3799
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3800
|
+
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
3780
3801
|
}, {})) : e;
|
3781
3802
|
}
|
3782
|
-
function
|
3803
|
+
function _i(e, t) {
|
3783
3804
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3784
|
-
return r[n] =
|
3785
|
-
},
|
3805
|
+
return r[n] = vi(e[n], t[n]), r;
|
3806
|
+
}, R({}, e)) : e;
|
3786
3807
|
}
|
3787
|
-
function
|
3808
|
+
function $e(e) {
|
3788
3809
|
return {
|
3789
3810
|
create: function() {
|
3790
3811
|
return {
|
@@ -3798,39 +3819,39 @@ function Ue(e) {
|
|
3798
3819
|
}
|
3799
3820
|
};
|
3800
3821
|
}
|
3801
|
-
function
|
3822
|
+
function Ei(e) {
|
3802
3823
|
return e === void 0 && (e = {
|
3803
3824
|
number: {},
|
3804
3825
|
dateTime: {},
|
3805
3826
|
pluralRules: {}
|
3806
3827
|
}), {
|
3807
|
-
getNumberFormat:
|
3828
|
+
getNumberFormat: Ge(function() {
|
3808
3829
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3809
3830
|
r[n] = arguments[n];
|
3810
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3831
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
3811
3832
|
}, {
|
3812
|
-
cache:
|
3813
|
-
strategy:
|
3833
|
+
cache: $e(e.number),
|
3834
|
+
strategy: Ue.variadic
|
3814
3835
|
}),
|
3815
|
-
getDateTimeFormat:
|
3836
|
+
getDateTimeFormat: Ge(function() {
|
3816
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3817
3838
|
r[n] = arguments[n];
|
3818
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3839
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
3819
3840
|
}, {
|
3820
|
-
cache:
|
3821
|
-
strategy:
|
3841
|
+
cache: $e(e.dateTime),
|
3842
|
+
strategy: Ue.variadic
|
3822
3843
|
}),
|
3823
|
-
getPluralRules:
|
3844
|
+
getPluralRules: Ge(function() {
|
3824
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3825
3846
|
r[n] = arguments[n];
|
3826
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3847
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
3827
3848
|
}, {
|
3828
|
-
cache:
|
3829
|
-
strategy:
|
3849
|
+
cache: $e(e.pluralRules),
|
3850
|
+
strategy: Ue.variadic
|
3830
3851
|
})
|
3831
3852
|
};
|
3832
3853
|
}
|
3833
|
-
var
|
3854
|
+
var xi = (
|
3834
3855
|
/** @class */
|
3835
3856
|
function() {
|
3836
3857
|
function e(t, r, n, i) {
|
@@ -3862,13 +3883,13 @@ var Ei = (
|
|
3862
3883
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3863
3884
|
var o = i || {};
|
3864
3885
|
o.formatters;
|
3865
|
-
var a =
|
3866
|
-
this.ast = e.__parse(t,
|
3886
|
+
var a = Nn(o, ["formatters"]);
|
3887
|
+
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
3867
3888
|
} else
|
3868
3889
|
this.ast = t;
|
3869
3890
|
if (!Array.isArray(this.ast))
|
3870
3891
|
throw new TypeError("A message must be provided as a String or AST.");
|
3871
|
-
this.formats =
|
3892
|
+
this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
|
3872
3893
|
}
|
3873
3894
|
return Object.defineProperty(e, "defaultLocale", {
|
3874
3895
|
get: function() {
|
@@ -3881,7 +3902,7 @@ var Ei = (
|
|
3881
3902
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3882
3903
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3883
3904
|
}
|
3884
|
-
}, e.__parse =
|
3905
|
+
}, e.__parse = di, e.formats = {
|
3885
3906
|
number: {
|
3886
3907
|
integer: {
|
3887
3908
|
maximumFractionDigits: 0
|
@@ -3942,7 +3963,7 @@ var Ei = (
|
|
3942
3963
|
}, e;
|
3943
3964
|
}()
|
3944
3965
|
);
|
3945
|
-
function
|
3966
|
+
function Si(e, t) {
|
3946
3967
|
if (t == null)
|
3947
3968
|
return;
|
3948
3969
|
if (t in e)
|
@@ -3963,50 +3984,50 @@ function xi(e, t) {
|
|
3963
3984
|
n = void 0;
|
3964
3985
|
return n;
|
3965
3986
|
}
|
3966
|
-
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) => {
|
3967
3988
|
if (t == null)
|
3968
3989
|
return;
|
3969
3990
|
if (t in D && e in D[t])
|
3970
3991
|
return D[t][e];
|
3971
|
-
const r =
|
3992
|
+
const r = Oe(t);
|
3972
3993
|
for (let n = 0; n < r.length; n++) {
|
3973
|
-
const i = r[n], s =
|
3994
|
+
const i = r[n], s = Hi(i, e);
|
3974
3995
|
if (s)
|
3975
|
-
return
|
3996
|
+
return wi(e, t, s);
|
3976
3997
|
}
|
3977
3998
|
};
|
3978
|
-
let
|
3979
|
-
const me =
|
3980
|
-
function
|
3981
|
-
return
|
3999
|
+
let ut;
|
4000
|
+
const me = Ae({});
|
4001
|
+
function Ti(e) {
|
4002
|
+
return ut[e] || null;
|
3982
4003
|
}
|
3983
|
-
function
|
3984
|
-
return e in
|
4004
|
+
function gr(e) {
|
4005
|
+
return e in ut;
|
3985
4006
|
}
|
3986
|
-
function
|
3987
|
-
if (!
|
4007
|
+
function Hi(e, t) {
|
4008
|
+
if (!gr(e))
|
3988
4009
|
return null;
|
3989
|
-
const r =
|
3990
|
-
return
|
4010
|
+
const r = Ti(e);
|
4011
|
+
return Si(r, t);
|
3991
4012
|
}
|
3992
|
-
function
|
4013
|
+
function Ai(e) {
|
3993
4014
|
if (e == null)
|
3994
4015
|
return;
|
3995
|
-
const t =
|
4016
|
+
const t = Oe(e);
|
3996
4017
|
for (let r = 0; r < t.length; r++) {
|
3997
4018
|
const n = t[r];
|
3998
|
-
if (
|
4019
|
+
if (gr(n))
|
3999
4020
|
return n;
|
4000
4021
|
}
|
4001
4022
|
}
|
4002
4023
|
function vr(e, ...t) {
|
4003
4024
|
delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
4004
4025
|
}
|
4005
|
-
|
4026
|
+
ne(
|
4006
4027
|
[me],
|
4007
4028
|
([e]) => Object.keys(e)
|
4008
4029
|
);
|
4009
|
-
me.subscribe((e) =>
|
4030
|
+
me.subscribe((e) => ut = e);
|
4010
4031
|
const xe = {};
|
4011
4032
|
function Bi(e, t) {
|
4012
4033
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
@@ -4014,39 +4035,39 @@ function Bi(e, t) {
|
|
4014
4035
|
function _r(e) {
|
4015
4036
|
return xe[e];
|
4016
4037
|
}
|
4017
|
-
function
|
4018
|
-
return
|
4038
|
+
function Pi(e) {
|
4039
|
+
return Oe(e).map((t) => {
|
4019
4040
|
const r = _r(t);
|
4020
4041
|
return [t, r ? [...r] : []];
|
4021
4042
|
}).filter(([, t]) => t.length > 0);
|
4022
4043
|
}
|
4023
|
-
function
|
4024
|
-
return e == null ? !1 :
|
4044
|
+
function it(e) {
|
4045
|
+
return e == null ? !1 : Oe(e).some(
|
4025
4046
|
(t) => {
|
4026
4047
|
var r;
|
4027
4048
|
return (r = _r(t)) == null ? void 0 : r.size;
|
4028
4049
|
}
|
4029
4050
|
);
|
4030
4051
|
}
|
4031
|
-
function
|
4052
|
+
function Oi(e, t) {
|
4032
4053
|
return Promise.all(
|
4033
4054
|
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
4034
4055
|
).then((n) => vr(e, ...n));
|
4035
4056
|
}
|
4036
|
-
const
|
4057
|
+
const se = {};
|
4037
4058
|
function Er(e) {
|
4038
|
-
if (!
|
4039
|
-
return e in
|
4040
|
-
const t =
|
4041
|
-
return
|
4059
|
+
if (!it(e))
|
4060
|
+
return e in se ? se[e] : Promise.resolve();
|
4061
|
+
const t = Pi(e);
|
4062
|
+
return se[e] = Promise.all(
|
4042
4063
|
t.map(
|
4043
|
-
([r, n]) =>
|
4064
|
+
([r, n]) => Oi(r, n)
|
4044
4065
|
)
|
4045
4066
|
).then(() => {
|
4046
|
-
if (
|
4067
|
+
if (it(e))
|
4047
4068
|
return Er(e);
|
4048
|
-
delete
|
4049
|
-
}),
|
4069
|
+
delete se[e];
|
4070
|
+
}), se[e];
|
4050
4071
|
}
|
4051
4072
|
const Ni = {
|
4052
4073
|
number: {
|
@@ -4077,135 +4098,135 @@ const Ni = {
|
|
4077
4098
|
timeZoneName: "short"
|
4078
4099
|
}
|
4079
4100
|
}
|
4080
|
-
},
|
4101
|
+
}, Li = {
|
4081
4102
|
fallbackLocale: null,
|
4082
4103
|
loadingDelay: 200,
|
4083
4104
|
formats: Ni,
|
4084
4105
|
warnOnMissingMessages: !0,
|
4085
4106
|
handleMissingMessage: void 0,
|
4086
4107
|
ignoreTag: !0
|
4087
|
-
},
|
4088
|
-
function
|
4089
|
-
return
|
4108
|
+
}, Ii = Li;
|
4109
|
+
function ee() {
|
4110
|
+
return Ii;
|
4090
4111
|
}
|
4091
|
-
const
|
4092
|
-
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) => {
|
4093
4114
|
for (var r in t || (t = {}))
|
4094
|
-
|
4095
|
-
if (
|
4096
|
-
for (var r of
|
4097
|
-
|
4115
|
+
Gi.call(t, r) && Ct(e, r, t[r]);
|
4116
|
+
if (It)
|
4117
|
+
for (var r of It(t))
|
4118
|
+
Ui.call(t, r) && Ct(e, r, t[r]);
|
4098
4119
|
return e;
|
4099
|
-
},
|
4100
|
-
let
|
4101
|
-
const
|
4120
|
+
}, $i = (e, t) => Mi(e, Ri(t));
|
4121
|
+
let st;
|
4122
|
+
const we = Ae(null);
|
4102
4123
|
function Mt(e) {
|
4103
4124
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4104
4125
|
}
|
4105
|
-
function
|
4126
|
+
function Oe(e, t = ee().fallbackLocale) {
|
4106
4127
|
const r = Mt(e);
|
4107
4128
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
4108
4129
|
}
|
4109
4130
|
function V() {
|
4110
|
-
return
|
4131
|
+
return st ?? void 0;
|
4111
4132
|
}
|
4112
|
-
|
4113
|
-
|
4133
|
+
we.subscribe((e) => {
|
4134
|
+
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4114
4135
|
});
|
4115
4136
|
const Fi = (e) => {
|
4116
|
-
if (e &&
|
4117
|
-
const { loadingDelay: t } =
|
4137
|
+
if (e && Ai(e) && it(e)) {
|
4138
|
+
const { loadingDelay: t } = ee();
|
4118
4139
|
let r;
|
4119
4140
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4120
|
-
() =>
|
4141
|
+
() => Fe.set(!0),
|
4121
4142
|
t
|
4122
|
-
) :
|
4123
|
-
|
4143
|
+
) : Fe.set(!0), Er(e).then(() => {
|
4144
|
+
we.set(e);
|
4124
4145
|
}).finally(() => {
|
4125
|
-
clearTimeout(r),
|
4146
|
+
clearTimeout(r), Fe.set(!1);
|
4126
4147
|
});
|
4127
4148
|
}
|
4128
|
-
return
|
4129
|
-
}, de = Di(
|
4149
|
+
return we.set(e);
|
4150
|
+
}, de = $i(Di({}, we), {
|
4130
4151
|
set: Fi
|
4131
|
-
}),
|
4152
|
+
}), Ne = (e) => {
|
4132
4153
|
const t = /* @__PURE__ */ Object.create(null);
|
4133
4154
|
return (n) => {
|
4134
4155
|
const i = JSON.stringify(n);
|
4135
4156
|
return i in t ? t[i] : t[i] = e(n);
|
4136
4157
|
};
|
4137
4158
|
};
|
4138
|
-
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) => {
|
4139
4160
|
for (var r in t || (t = {}))
|
4140
|
-
xr.call(t, r) &&
|
4141
|
-
if (
|
4142
|
-
for (var r of
|
4143
|
-
Sr.call(t, r) &&
|
4161
|
+
xr.call(t, r) && Rt(e, r, t[r]);
|
4162
|
+
if (Te)
|
4163
|
+
for (var r of Te(t))
|
4164
|
+
Sr.call(t, r) && Rt(e, r, t[r]);
|
4144
4165
|
return e;
|
4145
|
-
},
|
4166
|
+
}, ie = (e, t) => {
|
4146
4167
|
var r = {};
|
4147
4168
|
for (var n in e)
|
4148
4169
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4149
|
-
if (e != null &&
|
4150
|
-
for (var n of
|
4170
|
+
if (e != null && Te)
|
4171
|
+
for (var n of Te(e))
|
4151
4172
|
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
4152
4173
|
return r;
|
4153
4174
|
};
|
4154
|
-
const
|
4155
|
-
const { formats: r } =
|
4175
|
+
const he = (e, t) => {
|
4176
|
+
const { formats: r } = ee();
|
4156
4177
|
if (e in r && t in r[e])
|
4157
4178
|
return r[e][t];
|
4158
4179
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4159
|
-
},
|
4180
|
+
}, ki = Ne(
|
4160
4181
|
(e) => {
|
4161
|
-
var t = e, { locale: r, format: n } = t, i =
|
4182
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4162
4183
|
if (r == null)
|
4163
4184
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4164
|
-
return n && (i =
|
4185
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
4165
4186
|
}
|
4166
|
-
),
|
4187
|
+
), Vi = Ne(
|
4167
4188
|
(e) => {
|
4168
|
-
var t = e, { locale: r, format: n } = t, i =
|
4189
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4169
4190
|
if (r == null)
|
4170
4191
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4171
|
-
return n ? i =
|
4192
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
4172
4193
|
}
|
4173
|
-
),
|
4194
|
+
), Xi = Ne(
|
4174
4195
|
(e) => {
|
4175
|
-
var t = e, { locale: r, format: n } = t, i =
|
4196
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4176
4197
|
if (r == null)
|
4177
4198
|
throw new Error(
|
4178
4199
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4179
4200
|
);
|
4180
|
-
return n ? i =
|
4201
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
4181
4202
|
}
|
4182
|
-
),
|
4203
|
+
), Wi = (e = {}) => {
|
4183
4204
|
var t = e, {
|
4184
4205
|
locale: r = V()
|
4185
|
-
} = t, n =
|
4206
|
+
} = t, n = ie(t, [
|
4186
4207
|
"locale"
|
4187
4208
|
]);
|
4188
|
-
return
|
4189
|
-
},
|
4209
|
+
return ki(ht({ locale: r }, n));
|
4210
|
+
}, zi = (e = {}) => {
|
4190
4211
|
var t = e, {
|
4191
4212
|
locale: r = V()
|
4192
|
-
} = t, n =
|
4213
|
+
} = t, n = ie(t, [
|
4193
4214
|
"locale"
|
4194
4215
|
]);
|
4195
|
-
return
|
4196
|
-
},
|
4216
|
+
return Vi(ht({ locale: r }, n));
|
4217
|
+
}, Zi = (e = {}) => {
|
4197
4218
|
var t = e, {
|
4198
4219
|
locale: r = V()
|
4199
|
-
} = t, n =
|
4220
|
+
} = t, n = ie(t, [
|
4200
4221
|
"locale"
|
4201
4222
|
]);
|
4202
|
-
return
|
4203
|
-
},
|
4223
|
+
return Xi(ht({ locale: r }, n));
|
4224
|
+
}, Qi = Ne(
|
4204
4225
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4205
|
-
(e, t = V()) => new
|
4206
|
-
ignoreTag:
|
4226
|
+
(e, t = V()) => new xi(e, t, ee().formats, {
|
4227
|
+
ignoreTag: ee().ignoreTag
|
4207
4228
|
})
|
4208
|
-
),
|
4229
|
+
), Yi = (e, t = {}) => {
|
4209
4230
|
var r, n, i, s;
|
4210
4231
|
let o = t;
|
4211
4232
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4218,9 +4239,9 @@ const le = (e, t) => {
|
|
4218
4239
|
throw new Error(
|
4219
4240
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4220
4241
|
);
|
4221
|
-
let l =
|
4242
|
+
let l = yr(e, h);
|
4222
4243
|
if (!l)
|
4223
|
-
l = (s = (i = (n = (r =
|
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;
|
4224
4245
|
else if (typeof l != "string")
|
4225
4246
|
return console.warn(
|
4226
4247
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4229,7 +4250,7 @@ const le = (e, t) => {
|
|
4229
4250
|
return l;
|
4230
4251
|
let m = l;
|
4231
4252
|
try {
|
4232
|
-
m =
|
4253
|
+
m = Qi(l, h).format(a);
|
4233
4254
|
} catch (c) {
|
4234
4255
|
c instanceof Error && console.warn(
|
4235
4256
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4237,20 +4258,20 @@ const le = (e, t) => {
|
|
4237
4258
|
);
|
4238
4259
|
}
|
4239
4260
|
return m;
|
4240
|
-
},
|
4241
|
-
|
4242
|
-
|
4243
|
-
|
4244
|
-
|
4245
|
-
window.emWidgets = { topic:
|
4246
|
-
const
|
4247
|
-
function
|
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);
|
4263
|
+
ne([de], () => Ji);
|
4264
|
+
ne([de], () => Ki);
|
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) {
|
4248
4269
|
if (e) {
|
4249
4270
|
const r = document.createElement("style");
|
4250
4271
|
r.innerHTML = t, e.appendChild(r);
|
4251
4272
|
}
|
4252
4273
|
}
|
4253
|
-
function
|
4274
|
+
function is(e, t) {
|
4254
4275
|
const r = new URL(t);
|
4255
4276
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4256
4277
|
const i = document.createElement("style");
|
@@ -4259,7 +4280,7 @@ function ns(e, t) {
|
|
4259
4280
|
console.error("There was an error while trying to load client styling from URL", n);
|
4260
4281
|
});
|
4261
4282
|
}
|
4262
|
-
function
|
4283
|
+
function ss(e, t, r) {
|
4263
4284
|
if (window.emMessageBus) {
|
4264
4285
|
const n = document.createElement("style");
|
4265
4286
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4267,10 +4288,10 @@ function is(e, t, r) {
|
|
4267
4288
|
});
|
4268
4289
|
}
|
4269
4290
|
}
|
4270
|
-
function
|
4291
|
+
function Gt(e, t) {
|
4271
4292
|
vr(e, t);
|
4272
4293
|
}
|
4273
|
-
const
|
4294
|
+
const Ut = {
|
4274
4295
|
en: {
|
4275
4296
|
lobbyName: "Lobby",
|
4276
4297
|
myGamesName: "My games"
|
@@ -4356,173 +4377,173 @@ if (typeof window < "u") {
|
|
4356
4377
|
}
|
4357
4378
|
};
|
4358
4379
|
};
|
4359
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4380
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-BCZsEGOH.js").then(({ default: t }) => {
|
4360
4381
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4361
4382
|
});
|
4362
4383
|
}
|
4363
|
-
function ss(e) {
|
4364
|
-
Cr(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))}");
|
4365
|
-
}
|
4366
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))}");
|
4386
|
+
}
|
4387
|
+
function as(e) {
|
4367
4388
|
let t, r;
|
4368
4389
|
return {
|
4369
4390
|
c() {
|
4370
|
-
t = k("div"), r = k("casino-slider"),
|
4391
|
+
t = k("div"), r = k("casino-slider"), v(
|
4371
4392
|
r,
|
4372
4393
|
"lang",
|
4373
4394
|
/*lang*/
|
4374
4395
|
e[3]
|
4375
|
-
),
|
4396
|
+
), v(
|
4376
4397
|
r,
|
4377
4398
|
"datasource",
|
4378
4399
|
/*datasource*/
|
4379
4400
|
e[2]
|
4380
|
-
),
|
4401
|
+
), v(
|
4381
4402
|
r,
|
4382
4403
|
"endpoint",
|
4383
4404
|
/*endpoint*/
|
4384
4405
|
e[1]
|
4385
|
-
),
|
4406
|
+
), v(r, "identity", ot), v(
|
4386
4407
|
r,
|
4387
4408
|
"favoritesnumber",
|
4388
4409
|
/*numberOfFavoredGames*/
|
4389
4410
|
e[16]
|
4390
|
-
),
|
4411
|
+
), v(
|
4391
4412
|
r,
|
4392
4413
|
"showsubgroups",
|
4393
4414
|
/*showsubgroups*/
|
4394
4415
|
e[8]
|
4395
|
-
),
|
4416
|
+
), v(
|
4396
4417
|
r,
|
4397
4418
|
"clientstyling",
|
4398
4419
|
/*clientstyling*/
|
4399
4420
|
e[4]
|
4400
|
-
),
|
4421
|
+
), v(
|
4401
4422
|
r,
|
4402
4423
|
"clientstylingurl",
|
4403
4424
|
/*clientstylingurl*/
|
4404
4425
|
e[5]
|
4405
|
-
),
|
4426
|
+
), v(
|
4406
4427
|
r,
|
4407
4428
|
"mbsource",
|
4408
4429
|
/*mbsource*/
|
4409
4430
|
e[12]
|
4410
|
-
),
|
4431
|
+
), v(
|
4411
4432
|
r,
|
4412
4433
|
"activeindex",
|
4413
4434
|
/*activecategory*/
|
4414
4435
|
e[0]
|
4415
|
-
),
|
4436
|
+
), v(
|
4416
4437
|
r,
|
4417
4438
|
"actionevent",
|
4418
4439
|
/*actionevent*/
|
4419
4440
|
e[6]
|
4420
|
-
),
|
4441
|
+
), v(
|
4421
4442
|
r,
|
4422
4443
|
"location",
|
4423
4444
|
/*location*/
|
4424
4445
|
e[7]
|
4425
|
-
),
|
4446
|
+
), v(
|
4426
4447
|
r,
|
4427
4448
|
"categoriesicon",
|
4428
4449
|
/*categoriesicon*/
|
4429
4450
|
e[9]
|
4430
|
-
),
|
4451
|
+
), v(
|
4431
4452
|
r,
|
4432
4453
|
"lobbyiconimage",
|
4433
4454
|
/*lobbyiconimage*/
|
4434
4455
|
e[10]
|
4435
|
-
),
|
4456
|
+
), v(
|
4436
4457
|
r,
|
4437
4458
|
"mygamesiconimage",
|
4438
4459
|
/*mygamesiconimage*/
|
4439
4460
|
e[11]
|
4440
|
-
),
|
4461
|
+
), ce(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4441
4462
|
},
|
4442
4463
|
m(n, i) {
|
4443
|
-
|
4464
|
+
le(n, t, i), jt(t, r);
|
4444
4465
|
},
|
4445
4466
|
p(n, i) {
|
4446
4467
|
i[0] & /*lang*/
|
4447
|
-
8 &&
|
4468
|
+
8 && v(
|
4448
4469
|
r,
|
4449
4470
|
"lang",
|
4450
4471
|
/*lang*/
|
4451
4472
|
n[3]
|
4452
4473
|
), i[0] & /*datasource*/
|
4453
|
-
4 &&
|
4474
|
+
4 && v(
|
4454
4475
|
r,
|
4455
4476
|
"datasource",
|
4456
4477
|
/*datasource*/
|
4457
4478
|
n[2]
|
4458
4479
|
), i[0] & /*endpoint*/
|
4459
|
-
2 &&
|
4480
|
+
2 && v(
|
4460
4481
|
r,
|
4461
4482
|
"endpoint",
|
4462
4483
|
/*endpoint*/
|
4463
4484
|
n[1]
|
4464
4485
|
), i[0] & /*numberOfFavoredGames*/
|
4465
|
-
65536 &&
|
4486
|
+
65536 && v(
|
4466
4487
|
r,
|
4467
4488
|
"favoritesnumber",
|
4468
4489
|
/*numberOfFavoredGames*/
|
4469
4490
|
n[16]
|
4470
4491
|
), i[0] & /*showsubgroups*/
|
4471
|
-
256 &&
|
4492
|
+
256 && v(
|
4472
4493
|
r,
|
4473
4494
|
"showsubgroups",
|
4474
4495
|
/*showsubgroups*/
|
4475
4496
|
n[8]
|
4476
4497
|
), i[0] & /*clientstyling*/
|
4477
|
-
16 &&
|
4498
|
+
16 && v(
|
4478
4499
|
r,
|
4479
4500
|
"clientstyling",
|
4480
4501
|
/*clientstyling*/
|
4481
4502
|
n[4]
|
4482
4503
|
), i[0] & /*clientstylingurl*/
|
4483
|
-
32 &&
|
4504
|
+
32 && v(
|
4484
4505
|
r,
|
4485
4506
|
"clientstylingurl",
|
4486
4507
|
/*clientstylingurl*/
|
4487
4508
|
n[5]
|
4488
4509
|
), i[0] & /*mbsource*/
|
4489
|
-
4096 &&
|
4510
|
+
4096 && v(
|
4490
4511
|
r,
|
4491
4512
|
"mbsource",
|
4492
4513
|
/*mbsource*/
|
4493
4514
|
n[12]
|
4494
4515
|
), i[0] & /*activecategory*/
|
4495
|
-
1 &&
|
4516
|
+
1 && v(
|
4496
4517
|
r,
|
4497
4518
|
"activeindex",
|
4498
4519
|
/*activecategory*/
|
4499
4520
|
n[0]
|
4500
4521
|
), i[0] & /*actionevent*/
|
4501
|
-
64 &&
|
4522
|
+
64 && v(
|
4502
4523
|
r,
|
4503
4524
|
"actionevent",
|
4504
4525
|
/*actionevent*/
|
4505
4526
|
n[6]
|
4506
4527
|
), i[0] & /*location*/
|
4507
|
-
128 &&
|
4528
|
+
128 && v(
|
4508
4529
|
r,
|
4509
4530
|
"location",
|
4510
4531
|
/*location*/
|
4511
4532
|
n[7]
|
4512
4533
|
), i[0] & /*categoriesicon*/
|
4513
|
-
512 &&
|
4534
|
+
512 && v(
|
4514
4535
|
r,
|
4515
4536
|
"categoriesicon",
|
4516
4537
|
/*categoriesicon*/
|
4517
4538
|
n[9]
|
4518
4539
|
), i[0] & /*lobbyiconimage*/
|
4519
|
-
1024 &&
|
4540
|
+
1024 && v(
|
4520
4541
|
r,
|
4521
4542
|
"lobbyiconimage",
|
4522
4543
|
/*lobbyiconimage*/
|
4523
4544
|
n[10]
|
4524
4545
|
), i[0] & /*mygamesiconimage*/
|
4525
|
-
2048 &&
|
4546
|
+
2048 && v(
|
4526
4547
|
r,
|
4527
4548
|
"mygamesiconimage",
|
4528
4549
|
/*mygamesiconimage*/
|
@@ -4530,48 +4551,48 @@ function os(e) {
|
|
4530
4551
|
);
|
4531
4552
|
},
|
4532
4553
|
d(n) {
|
4533
|
-
n &&
|
4554
|
+
n && re(t);
|
4534
4555
|
}
|
4535
4556
|
};
|
4536
4557
|
}
|
4537
|
-
function
|
4558
|
+
function us(e) {
|
4538
4559
|
let t;
|
4539
4560
|
return {
|
4540
4561
|
c() {
|
4541
|
-
t = k("p"), t.textContent = "500 Error - Internal Server Error.",
|
4562
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", ce(t, "class", "SearchLoading svelte-1my2wow");
|
4542
4563
|
},
|
4543
4564
|
m(r, n) {
|
4544
|
-
|
4565
|
+
le(r, t, n);
|
4545
4566
|
},
|
4546
4567
|
p: I,
|
4547
4568
|
d(r) {
|
4548
|
-
r &&
|
4569
|
+
r && re(t);
|
4549
4570
|
}
|
4550
4571
|
};
|
4551
4572
|
}
|
4552
|
-
function
|
4573
|
+
function hs(e) {
|
4553
4574
|
let t;
|
4554
4575
|
return {
|
4555
4576
|
c() {
|
4556
|
-
t = k("div"),
|
4577
|
+
t = k("div"), ce(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4557
4578
|
},
|
4558
4579
|
m(r, n) {
|
4559
|
-
|
4580
|
+
le(r, t, n);
|
4560
4581
|
},
|
4561
4582
|
p: I,
|
4562
4583
|
d(r) {
|
4563
|
-
r &&
|
4584
|
+
r && re(t);
|
4564
4585
|
}
|
4565
4586
|
};
|
4566
4587
|
}
|
4567
|
-
function
|
4588
|
+
function ls(e) {
|
4568
4589
|
let t;
|
4569
4590
|
function r(s, o) {
|
4570
4591
|
return (
|
4571
4592
|
/*isLoading*/
|
4572
|
-
s[13] ||
|
4593
|
+
s[13] || cs || fs ? hs : (
|
4573
4594
|
/*hasErrors*/
|
4574
|
-
s[15] ?
|
4595
|
+
s[15] ? us : as
|
4575
4596
|
)
|
4576
4597
|
);
|
4577
4598
|
}
|
@@ -4581,7 +4602,7 @@ function hs(e) {
|
|
4581
4602
|
t = k("div"), i.c();
|
4582
4603
|
},
|
4583
4604
|
m(s, o) {
|
4584
|
-
|
4605
|
+
le(s, t, o), i.m(t, null), e[26](t);
|
4585
4606
|
},
|
4586
4607
|
p(s, o) {
|
4587
4608
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4589,114 +4610,114 @@ function hs(e) {
|
|
4589
4610
|
i: I,
|
4590
4611
|
o: I,
|
4591
4612
|
d(s) {
|
4592
|
-
s &&
|
4613
|
+
s && re(t), i.d(), e[26](null);
|
4593
4614
|
}
|
4594
4615
|
};
|
4595
4616
|
}
|
4596
|
-
let
|
4597
|
-
function
|
4617
|
+
let ot = "CasinoSliderData", cs = !1, fs = !1;
|
4618
|
+
function ms(e, t, r) {
|
4598
4619
|
let n;
|
4599
|
-
|
4600
|
-
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;
|
4601
4622
|
const Tr = () => {
|
4602
|
-
fetch(
|
4603
|
-
Object.keys(
|
4604
|
-
|
4623
|
+
fetch(O).then((B) => B.json()).then((B) => {
|
4624
|
+
Object.keys(B).forEach((be) => {
|
4625
|
+
Gt(be, B[be]);
|
4605
4626
|
});
|
4606
|
-
}).catch((
|
4607
|
-
console.log(
|
4627
|
+
}).catch((B) => {
|
4628
|
+
console.log(B);
|
4608
4629
|
});
|
4609
4630
|
};
|
4610
|
-
Object.keys(
|
4611
|
-
|
4631
|
+
Object.keys(Ut).forEach((f) => {
|
4632
|
+
Gt(f, Ut[f]);
|
4612
4633
|
});
|
4613
4634
|
const Hr = () => {
|
4614
|
-
|
4635
|
+
ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4615
4636
|
// @ts-ignore
|
4616
4637
|
id: "MYGAMES",
|
4617
|
-
name:
|
4638
|
+
name: L,
|
4618
4639
|
href: "",
|
4619
4640
|
games: []
|
4620
|
-
}), jr(),
|
4621
|
-
},
|
4622
|
-
if (
|
4641
|
+
}), jr(), ct = !0, r(25, Le = !0), ft();
|
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 = () => {
|
4643
|
+
if (L = n("myGamesName"), $ = n("lobbyName"), !Ar()) {
|
4623
4644
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4624
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4625
|
-
(
|
4626
|
-
let be = w.split(","),
|
4627
|
-
let
|
4628
|
-
if (
|
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(
|
4646
|
+
(B) => {
|
4647
|
+
let be = w.split(","), Nr = B.items.filter((dt) => {
|
4648
|
+
let Ie = !1;
|
4649
|
+
if (dt.games.total > 0 && (Ie = !0, w))
|
4629
4650
|
for (let Lr of be)
|
4630
|
-
|
4631
|
-
return
|
4651
|
+
dt.flags == Lr && (Ie = !1);
|
4652
|
+
return Ie;
|
4632
4653
|
});
|
4633
|
-
W = [], W = W.concat(
|
4654
|
+
W = [], W = W.concat(Nr), W.unshift({
|
4634
4655
|
// @ts-ignore
|
4635
4656
|
id: "LOBBY",
|
4636
|
-
name:
|
4657
|
+
name: $,
|
4637
4658
|
href: "",
|
4638
4659
|
games: []
|
4639
|
-
}), r(13,
|
4660
|
+
}), r(13, F = !1);
|
4640
4661
|
},
|
4641
|
-
(
|
4642
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
4662
|
+
(B) => {
|
4663
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
4643
4664
|
}
|
4644
|
-
).catch((
|
4645
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
4665
|
+
).catch((B) => {
|
4666
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
4646
4667
|
});
|
4647
4668
|
}
|
4648
4669
|
}, Pr = () => {
|
4649
4670
|
let f = b.split("$");
|
4650
4671
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4651
|
-
},
|
4672
|
+
}, ft = () => {
|
4652
4673
|
window.postMessage(
|
4653
4674
|
{
|
4654
4675
|
type: "SliderData",
|
4655
|
-
identity:
|
4676
|
+
identity: ot,
|
4656
4677
|
data: W
|
4657
4678
|
},
|
4658
4679
|
window.location.href
|
4659
4680
|
);
|
4660
|
-
},
|
4661
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4681
|
+
}, mt = (f) => {
|
4682
|
+
f.data && f.data.type == "SliderLoaded" && ot == f.data.identity && ft();
|
4662
4683
|
};
|
4663
|
-
|
4664
|
-
window.
|
4684
|
+
Fr(() => (window.addEventListener("message", mt, !1), () => {
|
4685
|
+
window.removeEventListener("message", mt);
|
4665
4686
|
}));
|
4666
|
-
function
|
4667
|
-
|
4668
|
-
|
4687
|
+
function Or(f) {
|
4688
|
+
je[f ? "unshift" : "push"](() => {
|
4689
|
+
G = f, r(14, G);
|
4669
4690
|
});
|
4670
4691
|
}
|
4671
4692
|
return e.$$set = (f) => {
|
4672
|
-
"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,
|
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);
|
4673
4694
|
}, e.$$.update = () => {
|
4674
4695
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4675
|
-
14 && i && s && o &&
|
4676
|
-
3940354 && i && h && (u || l || m) &&
|
4677
|
-
33824769 &&
|
4678
|
-
16777216 &&
|
4679
|
-
16400 && c &&
|
4680
|
-
16416 && d &&
|
4681
|
-
20480 &&
|
4682
|
-
}, r(16,
|
4696
|
+
14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
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), [
|
4683
4704
|
b,
|
4684
4705
|
i,
|
4685
4706
|
s,
|
4686
4707
|
o,
|
4687
4708
|
c,
|
4688
4709
|
d,
|
4689
|
-
|
4690
|
-
M,
|
4691
|
-
P,
|
4692
|
-
O,
|
4710
|
+
g,
|
4693
4711
|
C,
|
4694
|
-
|
4695
|
-
|
4696
|
-
|
4697
|
-
|
4712
|
+
P,
|
4713
|
+
N,
|
4714
|
+
M,
|
4715
|
+
_,
|
4716
|
+
A,
|
4717
|
+
F,
|
4718
|
+
G,
|
4698
4719
|
j,
|
4699
|
-
|
4720
|
+
lt,
|
4700
4721
|
a,
|
4701
4722
|
h,
|
4702
4723
|
u,
|
@@ -4704,19 +4725,19 @@ function fs(e, t, r) {
|
|
4704
4725
|
m,
|
4705
4726
|
T,
|
4706
4727
|
w,
|
4707
|
-
|
4708
|
-
|
4709
|
-
|
4728
|
+
O,
|
4729
|
+
Le,
|
4730
|
+
Or
|
4710
4731
|
];
|
4711
4732
|
}
|
4712
|
-
class
|
4733
|
+
class ds extends qr {
|
4713
4734
|
constructor(t) {
|
4714
4735
|
super(), Qr(
|
4715
4736
|
this,
|
4716
4737
|
t,
|
4717
|
-
|
4718
|
-
|
4719
|
-
|
4738
|
+
ms,
|
4739
|
+
ls,
|
4740
|
+
$t,
|
4720
4741
|
{
|
4721
4742
|
endpoint: 1,
|
4722
4743
|
datasource: 2,
|
@@ -4740,7 +4761,7 @@ class ms extends qr {
|
|
4740
4761
|
mygamesiconimage: 11,
|
4741
4762
|
mbsource: 12
|
4742
4763
|
},
|
4743
|
-
|
4764
|
+
os,
|
4744
4765
|
[-1, -1]
|
4745
4766
|
);
|
4746
4767
|
}
|
@@ -4748,161 +4769,161 @@ class ms extends qr {
|
|
4748
4769
|
return this.$$.ctx[1];
|
4749
4770
|
}
|
4750
4771
|
set endpoint(t) {
|
4751
|
-
this.$$set({ endpoint: t }),
|
4772
|
+
this.$$set({ endpoint: t }), x();
|
4752
4773
|
}
|
4753
4774
|
get datasource() {
|
4754
4775
|
return this.$$.ctx[2];
|
4755
4776
|
}
|
4756
4777
|
set datasource(t) {
|
4757
|
-
this.$$set({ datasource: t }),
|
4778
|
+
this.$$set({ datasource: t }), x();
|
4758
4779
|
}
|
4759
4780
|
get lang() {
|
4760
4781
|
return this.$$.ctx[3];
|
4761
4782
|
}
|
4762
4783
|
set lang(t) {
|
4763
|
-
this.$$set({ lang: t }),
|
4784
|
+
this.$$set({ lang: t }), x();
|
4764
4785
|
}
|
4765
4786
|
get userid() {
|
4766
4787
|
return this.$$.ctx[17];
|
4767
4788
|
}
|
4768
4789
|
set userid(t) {
|
4769
|
-
this.$$set({ userid: t }),
|
4790
|
+
this.$$set({ userid: t }), x();
|
4770
4791
|
}
|
4771
4792
|
get session() {
|
4772
4793
|
return this.$$.ctx[18];
|
4773
4794
|
}
|
4774
4795
|
set session(t) {
|
4775
|
-
this.$$set({ session: t }),
|
4796
|
+
this.$$set({ session: t }), x();
|
4776
4797
|
}
|
4777
4798
|
get mostplayed() {
|
4778
4799
|
return this.$$.ctx[19];
|
4779
4800
|
}
|
4780
4801
|
set mostplayed(t) {
|
4781
|
-
this.$$set({ mostplayed: t }),
|
4802
|
+
this.$$set({ mostplayed: t }), x();
|
4782
4803
|
}
|
4783
4804
|
get lastplayed() {
|
4784
4805
|
return this.$$.ctx[20];
|
4785
4806
|
}
|
4786
4807
|
set lastplayed(t) {
|
4787
|
-
this.$$set({ lastplayed: t }),
|
4808
|
+
this.$$set({ lastplayed: t }), x();
|
4788
4809
|
}
|
4789
4810
|
get favorites() {
|
4790
4811
|
return this.$$.ctx[21];
|
4791
4812
|
}
|
4792
4813
|
set favorites(t) {
|
4793
|
-
this.$$set({ favorites: t }),
|
4814
|
+
this.$$set({ favorites: t }), x();
|
4794
4815
|
}
|
4795
4816
|
get clientstyling() {
|
4796
4817
|
return this.$$.ctx[4];
|
4797
4818
|
}
|
4798
4819
|
set clientstyling(t) {
|
4799
|
-
this.$$set({ clientstyling: t }),
|
4820
|
+
this.$$set({ clientstyling: t }), x();
|
4800
4821
|
}
|
4801
4822
|
get clientstylingurl() {
|
4802
4823
|
return this.$$.ctx[5];
|
4803
4824
|
}
|
4804
4825
|
set clientstylingurl(t) {
|
4805
|
-
this.$$set({ clientstylingurl: t }),
|
4826
|
+
this.$$set({ clientstylingurl: t }), x();
|
4806
4827
|
}
|
4807
4828
|
get activecategory() {
|
4808
4829
|
return this.$$.ctx[0];
|
4809
4830
|
}
|
4810
4831
|
set activecategory(t) {
|
4811
|
-
this.$$set({ activecategory: t }),
|
4832
|
+
this.$$set({ activecategory: t }), x();
|
4812
4833
|
}
|
4813
4834
|
get actionevent() {
|
4814
4835
|
return this.$$.ctx[6];
|
4815
4836
|
}
|
4816
4837
|
set actionevent(t) {
|
4817
|
-
this.$$set({ actionevent: t }),
|
4838
|
+
this.$$set({ actionevent: t }), x();
|
4818
4839
|
}
|
4819
4840
|
get sessioncheck() {
|
4820
4841
|
return this.$$.ctx[22];
|
4821
4842
|
}
|
4822
4843
|
set sessioncheck(t) {
|
4823
|
-
this.$$set({ sessioncheck: t }),
|
4844
|
+
this.$$set({ sessioncheck: t }), x();
|
4824
4845
|
}
|
4825
4846
|
get location() {
|
4826
4847
|
return this.$$.ctx[7];
|
4827
4848
|
}
|
4828
4849
|
set location(t) {
|
4829
|
-
this.$$set({ location: t }),
|
4850
|
+
this.$$set({ location: t }), x();
|
4830
4851
|
}
|
4831
4852
|
get showsubgroups() {
|
4832
4853
|
return this.$$.ctx[8];
|
4833
4854
|
}
|
4834
4855
|
set showsubgroups(t) {
|
4835
|
-
this.$$set({ showsubgroups: t }),
|
4856
|
+
this.$$set({ showsubgroups: t }), x();
|
4836
4857
|
}
|
4837
4858
|
get filteredcategories() {
|
4838
4859
|
return this.$$.ctx[23];
|
4839
4860
|
}
|
4840
4861
|
set filteredcategories(t) {
|
4841
|
-
this.$$set({ filteredcategories: t }),
|
4862
|
+
this.$$set({ filteredcategories: t }), x();
|
4842
4863
|
}
|
4843
4864
|
get translationurl() {
|
4844
4865
|
return this.$$.ctx[24];
|
4845
4866
|
}
|
4846
4867
|
set translationurl(t) {
|
4847
|
-
this.$$set({ translationurl: t }),
|
4868
|
+
this.$$set({ translationurl: t }), x();
|
4848
4869
|
}
|
4849
4870
|
get categoriesicon() {
|
4850
4871
|
return this.$$.ctx[9];
|
4851
4872
|
}
|
4852
4873
|
set categoriesicon(t) {
|
4853
|
-
this.$$set({ categoriesicon: t }),
|
4874
|
+
this.$$set({ categoriesicon: t }), x();
|
4854
4875
|
}
|
4855
4876
|
get lobbyiconimage() {
|
4856
4877
|
return this.$$.ctx[10];
|
4857
4878
|
}
|
4858
4879
|
set lobbyiconimage(t) {
|
4859
|
-
this.$$set({ lobbyiconimage: t }),
|
4880
|
+
this.$$set({ lobbyiconimage: t }), x();
|
4860
4881
|
}
|
4861
4882
|
get mygamesiconimage() {
|
4862
4883
|
return this.$$.ctx[11];
|
4863
4884
|
}
|
4864
4885
|
set mygamesiconimage(t) {
|
4865
|
-
this.$$set({ mygamesiconimage: t }),
|
4886
|
+
this.$$set({ mygamesiconimage: t }), x();
|
4866
4887
|
}
|
4867
4888
|
get mbsource() {
|
4868
4889
|
return this.$$.ctx[12];
|
4869
4890
|
}
|
4870
4891
|
set mbsource(t) {
|
4871
|
-
this.$$set({ mbsource: t }),
|
4892
|
+
this.$$set({ mbsource: t }), x();
|
4872
4893
|
}
|
4873
4894
|
}
|
4874
|
-
Yr(
|
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);
|
4875
4896
|
export {
|
4876
4897
|
de as $,
|
4877
|
-
|
4878
|
-
|
4879
|
-
|
4880
|
-
|
4898
|
+
ns as A,
|
4899
|
+
is as B,
|
4900
|
+
ss as C,
|
4901
|
+
ds as D,
|
4881
4902
|
qr as S,
|
4882
4903
|
me as a,
|
4883
4904
|
vr as b,
|
4884
4905
|
Yr as c,
|
4885
|
-
|
4886
|
-
|
4887
|
-
|
4888
|
-
|
4889
|
-
|
4906
|
+
Mr as d,
|
4907
|
+
re as e,
|
4908
|
+
x as f,
|
4909
|
+
ce as g,
|
4910
|
+
le as h,
|
4890
4911
|
Qr as i,
|
4891
|
-
|
4892
|
-
|
4893
|
-
|
4894
|
-
|
4912
|
+
jt as j,
|
4913
|
+
k,
|
4914
|
+
vs as l,
|
4915
|
+
ys as m,
|
4895
4916
|
I as n,
|
4896
|
-
|
4897
|
-
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4917
|
+
Fr as o,
|
4918
|
+
Es as p,
|
4919
|
+
gs as q,
|
4920
|
+
te as r,
|
4921
|
+
$t as s,
|
4922
|
+
je as t,
|
4923
|
+
Ss as u,
|
4924
|
+
bs as v,
|
4925
|
+
_s as w,
|
4926
|
+
kt as x,
|
4927
|
+
ps as y,
|
4928
|
+
xs as z
|
4908
4929
|
};
|