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