@everymatrix/casino-collections-providers 1.54.6 → 1.54.8
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/CasinoCollectionsProviders-Cr6gW2vx.cjs +5 -0
- package/components/CasinoCollectionsProviders-Cx21eySK.js +4896 -0
- package/components/{CasinoCollectionsProviders-BnM-htYb.js → CasinoCollectionsProviders-DUYpVZmi.js} +427 -435
- package/es2015/casino-collections-providers.cjs +1 -0
- package/es2015/casino-collections-providers.js +16 -0
- package/esnext/casino-collections-providers.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCollectionsProviders-BnM-htYb.js → CasinoCollectionsProviders-DUYpVZmi.js}
RENAMED
@@ -1,28 +1,28 @@
|
|
1
1
|
function I() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Dt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function ht() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function ee(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Dt);
|
11
11
|
}
|
12
12
|
function et(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Ft(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let fe;
|
19
19
|
function _e(e, t) {
|
20
20
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Mr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function kt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -31,20 +31,20 @@ function jt(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Rr(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(kt(t, r));
|
36
36
|
}
|
37
37
|
function T(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
41
|
-
const n =
|
40
|
+
function $r(e, t, r) {
|
41
|
+
const n = Gr(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = H("style");
|
44
|
-
i.id = t, i.textContent = r,
|
44
|
+
i.id = t, i.textContent = r, Ur(n, i);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function Gr(e) {
|
48
48
|
if (!e) return document;
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
50
50
|
return t && /** @type {ShadowRoot} */
|
@@ -53,7 +53,7 @@ function Ur(e) {
|
|
53
53
|
t
|
54
54
|
) : e.ownerDocument;
|
55
55
|
}
|
56
|
-
function
|
56
|
+
function Ur(e, t) {
|
57
57
|
return T(
|
58
58
|
/** @type {Document} */
|
59
59
|
e.head || e,
|
@@ -66,7 +66,7 @@ function R(e, t, r) {
|
|
66
66
|
function N(e) {
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function jt(e, t) {
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
71
71
|
e[r] && e[r].d(t);
|
72
72
|
}
|
@@ -82,7 +82,7 @@ function F() {
|
|
82
82
|
function Q(e, t, r, n) {
|
83
83
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
84
84
|
}
|
85
|
-
function
|
85
|
+
function Dr(e) {
|
86
86
|
return function(t) {
|
87
87
|
return t.stopPropagation(), e.call(this, t);
|
88
88
|
};
|
@@ -90,7 +90,7 @@ function Fr(e) {
|
|
90
90
|
function E(e, t, r) {
|
91
91
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function Fr(e) {
|
94
94
|
return Array.from(e.childNodes);
|
95
95
|
}
|
96
96
|
function tt(e, t) {
|
@@ -101,7 +101,7 @@ function Ie(e, t, r, n) {
|
|
101
101
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
102
102
|
}
|
103
103
|
let de;
|
104
|
-
function
|
104
|
+
function kr() {
|
105
105
|
if (de === void 0) {
|
106
106
|
de = !1;
|
107
107
|
try {
|
@@ -112,14 +112,14 @@ function jr() {
|
|
112
112
|
}
|
113
113
|
return de;
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function jr(e, t) {
|
116
116
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
117
117
|
const n = H("iframe");
|
118
118
|
n.setAttribute(
|
119
119
|
"style",
|
120
120
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
121
121
|
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
122
|
-
const i =
|
122
|
+
const i = kr();
|
123
123
|
let o;
|
124
124
|
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
|
125
125
|
window,
|
@@ -134,7 +134,7 @@ function Vr(e, t) {
|
|
134
134
|
(i || o && n.contentWindow) && o(), N(n);
|
135
135
|
};
|
136
136
|
}
|
137
|
-
function
|
137
|
+
function Vr(e) {
|
138
138
|
const t = {};
|
139
139
|
return e.childNodes.forEach(
|
140
140
|
/** @param {Element} node */
|
@@ -147,19 +147,19 @@ let ue;
|
|
147
147
|
function ae(e) {
|
148
148
|
ue = e;
|
149
149
|
}
|
150
|
-
function
|
150
|
+
function Xr() {
|
151
151
|
if (!ue) throw new Error("Function called outside component initialization");
|
152
152
|
return ue;
|
153
153
|
}
|
154
|
-
function
|
155
|
-
|
154
|
+
function Wr(e) {
|
155
|
+
Xr().$$.on_mount.push(e);
|
156
156
|
}
|
157
157
|
const W = [], xe = [];
|
158
158
|
let z = [];
|
159
|
-
const
|
159
|
+
const ct = [], zr = /* @__PURE__ */ Promise.resolve();
|
160
160
|
let De = !1;
|
161
|
-
function
|
162
|
-
De || (De = !0,
|
161
|
+
function Zr() {
|
162
|
+
De || (De = !0, zr.then(M));
|
163
163
|
}
|
164
164
|
function Ee(e) {
|
165
165
|
z.push(e);
|
@@ -174,7 +174,7 @@ function M() {
|
|
174
174
|
try {
|
175
175
|
for (; V < W.length; ) {
|
176
176
|
const t = W[V];
|
177
|
-
V++, ae(t),
|
177
|
+
V++, ae(t), Qr(t.$$);
|
178
178
|
}
|
179
179
|
} catch (t) {
|
180
180
|
throw W.length = 0, V = 0, t;
|
@@ -186,43 +186,43 @@ function M() {
|
|
186
186
|
}
|
187
187
|
z.length = 0;
|
188
188
|
} while (W.length);
|
189
|
-
for (;
|
190
|
-
|
189
|
+
for (; ct.length; )
|
190
|
+
ct.pop()();
|
191
191
|
De = !1, Le.clear(), ae(e);
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function Qr(e) {
|
194
194
|
if (e.fragment !== null) {
|
195
195
|
e.update(), ee(e.before_update);
|
196
196
|
const t = e.dirty;
|
197
197
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
198
198
|
}
|
199
199
|
}
|
200
|
-
function
|
200
|
+
function Jr(e) {
|
201
201
|
const t = [], r = [];
|
202
202
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
203
203
|
}
|
204
|
-
const
|
205
|
-
function
|
206
|
-
e && e.i && (
|
204
|
+
const Yr = /* @__PURE__ */ new Set();
|
205
|
+
function qr(e, t) {
|
206
|
+
e && e.i && (Yr.delete(e), e.i(t));
|
207
207
|
}
|
208
208
|
function Se(e) {
|
209
209
|
return e?.length !== void 0 ? e : Array.from(e);
|
210
210
|
}
|
211
|
-
function
|
211
|
+
function Kr(e, t, r) {
|
212
212
|
const { fragment: n, after_update: i } = e.$$;
|
213
213
|
n && n.m(t, r), Ee(() => {
|
214
|
-
const o = e.$$.on_mount.map(
|
214
|
+
const o = e.$$.on_mount.map(Dt).filter(et);
|
215
215
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
216
216
|
}), i.forEach(Ee);
|
217
217
|
}
|
218
|
-
function
|
218
|
+
function en(e, t) {
|
219
219
|
const r = e.$$;
|
220
|
-
r.fragment !== null && (
|
220
|
+
r.fragment !== null && (Jr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
221
221
|
}
|
222
|
-
function
|
223
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
222
|
+
function tn(e, t) {
|
223
|
+
e.$$.dirty[0] === -1 && (W.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
224
224
|
}
|
225
|
-
function
|
225
|
+
function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
226
226
|
const l = ue;
|
227
227
|
ae(e);
|
228
228
|
const h = e.$$ = {
|
@@ -232,7 +232,7 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
232
232
|
props: o,
|
233
233
|
update: I,
|
234
234
|
not_equal: i,
|
235
|
-
bound:
|
235
|
+
bound: ht(),
|
236
236
|
// lifecycle
|
237
237
|
on_mount: [],
|
238
238
|
on_destroy: [],
|
@@ -241,28 +241,28 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
241
241
|
after_update: [],
|
242
242
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
243
243
|
// everything else
|
244
|
-
callbacks:
|
244
|
+
callbacks: ht(),
|
245
245
|
dirty: a,
|
246
246
|
skip_bound: !1,
|
247
247
|
root: t.target || l.$$.root
|
248
248
|
};
|
249
249
|
s && s(h.root);
|
250
250
|
let u = !1;
|
251
|
-
if (h.ctx = r(e, t.props || {}, (c, f, ...m) => {
|
251
|
+
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
252
252
|
const d = m.length ? m[0] : f;
|
253
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), u &&
|
254
|
-
}), h.update(), u = !0, ee(h.before_update), h.fragment = n(h.ctx), t.target) {
|
253
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), u && tn(e, c)), f;
|
254
|
+
}) : [], h.update(), u = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
255
255
|
if (t.hydrate) {
|
256
|
-
const c =
|
256
|
+
const c = Fr(t.target);
|
257
257
|
h.fragment && h.fragment.l(c), c.forEach(N);
|
258
258
|
} else
|
259
259
|
h.fragment && h.fragment.c();
|
260
|
-
t.intro &&
|
260
|
+
t.intro && qr(e.$$.fragment), Kr(e, t.target, t.anchor), M();
|
261
261
|
}
|
262
262
|
ae(l);
|
263
263
|
}
|
264
|
-
let
|
265
|
-
typeof HTMLElement == "function" && (
|
264
|
+
let Vt;
|
265
|
+
typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
266
266
|
/** The Svelte component constructor */
|
267
267
|
$$ctor;
|
268
268
|
/** Slots */
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
321
321
|
};
|
322
322
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
323
323
|
return;
|
324
|
-
const t = {}, r =
|
324
|
+
const t = {}, r = Vr(this);
|
325
325
|
for (const i of this.$$s)
|
326
326
|
i in r && (t[i] = [e(i)]);
|
327
327
|
for (const i of this.attributes) {
|
@@ -408,8 +408,8 @@ function be(e, t, r, n) {
|
|
408
408
|
return t;
|
409
409
|
}
|
410
410
|
}
|
411
|
-
function
|
412
|
-
let s = class extends
|
411
|
+
function nn(e, t, r, n, i, o) {
|
412
|
+
let s = class extends Vt {
|
413
413
|
constructor() {
|
414
414
|
super(e, r, i), this.$$p_d = t;
|
415
415
|
}
|
@@ -437,7 +437,7 @@ function on(e, t, r, n, i, o) {
|
|
437
437
|
}), e.element = /** @type {any} */
|
438
438
|
s, s;
|
439
439
|
}
|
440
|
-
class
|
440
|
+
class on {
|
441
441
|
/**
|
442
442
|
* ### PRIVATE API
|
443
443
|
*
|
@@ -456,7 +456,7 @@ class sn {
|
|
456
456
|
$$set = void 0;
|
457
457
|
/** @returns {void} */
|
458
458
|
$destroy() {
|
459
|
-
|
459
|
+
en(this, 1), this.$destroy = I;
|
460
460
|
}
|
461
461
|
/**
|
462
462
|
* @template {Extract<keyof Events, string>} K
|
@@ -478,13 +478,13 @@ class sn {
|
|
478
478
|
* @returns {void}
|
479
479
|
*/
|
480
480
|
$set(t) {
|
481
|
-
this.$$set && !
|
481
|
+
this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
482
482
|
}
|
483
483
|
}
|
484
|
-
const
|
485
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
484
|
+
const sn = "4";
|
485
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
|
486
486
|
const X = [];
|
487
|
-
function
|
487
|
+
function an(e, t) {
|
488
488
|
return {
|
489
489
|
subscribe: Ce(e, t).subscribe
|
490
490
|
};
|
@@ -493,7 +493,7 @@ function Ce(e, t = I) {
|
|
493
493
|
let r;
|
494
494
|
const n = /* @__PURE__ */ new Set();
|
495
495
|
function i(a) {
|
496
|
-
if (
|
496
|
+
if (Ft(e, a) && (e = a, r)) {
|
497
497
|
const l = !X.length;
|
498
498
|
for (const h of n)
|
499
499
|
h[1](), X.push(h, e);
|
@@ -520,7 +520,7 @@ function te(e, t, r) {
|
|
520
520
|
if (!i.every(Boolean))
|
521
521
|
throw new Error("derived() expects stores as input, got a falsy value");
|
522
522
|
const o = t.length < 2;
|
523
|
-
return
|
523
|
+
return an(r, (s, a) => {
|
524
524
|
let l = !1;
|
525
525
|
const h = [];
|
526
526
|
let u = 0, c = I;
|
@@ -531,7 +531,7 @@ function te(e, t, r) {
|
|
531
531
|
const d = t(n ? h[0] : h, s, a);
|
532
532
|
o ? s(d) : c = et(d) ? d : I;
|
533
533
|
}, m = i.map(
|
534
|
-
(d, g) =>
|
534
|
+
(d, g) => kt(
|
535
535
|
d,
|
536
536
|
(p) => {
|
537
537
|
h[g] = p, u &= ~(1 << g), l && f();
|
@@ -546,70 +546,70 @@ function te(e, t, r) {
|
|
546
546
|
};
|
547
547
|
});
|
548
548
|
}
|
549
|
-
function
|
550
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
549
|
+
function un(e) {
|
550
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
551
551
|
}
|
552
|
-
var
|
553
|
-
return
|
552
|
+
var ln = function(t) {
|
553
|
+
return hn(t) && !cn(t);
|
554
554
|
};
|
555
|
-
function
|
555
|
+
function hn(e) {
|
556
556
|
return !!e && typeof e == "object";
|
557
557
|
}
|
558
|
-
function
|
558
|
+
function cn(e) {
|
559
559
|
var t = Object.prototype.toString.call(e);
|
560
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
560
|
+
return t === "[object RegExp]" || t === "[object Date]" || pn(e);
|
561
561
|
}
|
562
|
-
var
|
563
|
-
function
|
564
|
-
return e.$$typeof ===
|
562
|
+
var fn = typeof Symbol == "function" && Symbol.for, dn = fn ? Symbol.for("react.element") : 60103;
|
563
|
+
function pn(e) {
|
564
|
+
return e.$$typeof === dn;
|
565
565
|
}
|
566
|
-
function
|
566
|
+
function mn(e) {
|
567
567
|
return Array.isArray(e) ? [] : {};
|
568
568
|
}
|
569
569
|
function le(e, t) {
|
570
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
570
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(mn(e), e, t) : e;
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function bn(e, t, r) {
|
573
573
|
return e.concat(t).map(function(n) {
|
574
574
|
return le(n, r);
|
575
575
|
});
|
576
576
|
}
|
577
|
-
function
|
577
|
+
function gn(e, t) {
|
578
578
|
if (!t.customMerge)
|
579
579
|
return J;
|
580
580
|
var r = t.customMerge(e);
|
581
581
|
return typeof r == "function" ? r : J;
|
582
582
|
}
|
583
|
-
function
|
583
|
+
function yn(e) {
|
584
584
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
585
585
|
return Object.propertyIsEnumerable.call(e, t);
|
586
586
|
}) : [];
|
587
587
|
}
|
588
|
-
function
|
589
|
-
return Object.keys(e).concat(
|
588
|
+
function ft(e) {
|
589
|
+
return Object.keys(e).concat(yn(e));
|
590
590
|
}
|
591
|
-
function
|
591
|
+
function Xt(e, t) {
|
592
592
|
try {
|
593
593
|
return t in e;
|
594
594
|
} catch {
|
595
595
|
return !1;
|
596
596
|
}
|
597
597
|
}
|
598
|
-
function
|
599
|
-
return
|
598
|
+
function vn(e, t) {
|
599
|
+
return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
600
600
|
}
|
601
|
-
function
|
601
|
+
function _n(e, t, r) {
|
602
602
|
var n = {};
|
603
|
-
return r.isMergeableObject(e) &&
|
603
|
+
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
604
604
|
n[i] = le(e[i], r);
|
605
|
-
}),
|
606
|
-
|
605
|
+
}), ft(t).forEach(function(i) {
|
606
|
+
vn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
607
607
|
}), n;
|
608
608
|
}
|
609
609
|
function J(e, t, r) {
|
610
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
610
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = le;
|
611
611
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
612
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
612
|
+
return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : le(t, r);
|
613
613
|
}
|
614
614
|
J.all = function(t, r) {
|
615
615
|
if (!Array.isArray(t))
|
@@ -618,8 +618,8 @@ J.all = function(t, r) {
|
|
618
618
|
return J(n, i, r);
|
619
619
|
}, {});
|
620
620
|
};
|
621
|
-
var
|
622
|
-
const
|
621
|
+
var xn = J, En = xn;
|
622
|
+
const Sn = /* @__PURE__ */ un(En);
|
623
623
|
var Fe = function(e, t) {
|
624
624
|
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
625
625
|
r.__proto__ = n;
|
@@ -645,7 +645,7 @@ var x = function() {
|
|
645
645
|
return t;
|
646
646
|
}, x.apply(this, arguments);
|
647
647
|
};
|
648
|
-
function
|
648
|
+
function wn(e, t) {
|
649
649
|
var r = {};
|
650
650
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
651
651
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -686,39 +686,36 @@ function Z(e, t, r) {
|
|
686
686
|
return e.concat(o || Array.prototype.slice.call(t));
|
687
687
|
}
|
688
688
|
function Ne(e, t) {
|
689
|
-
var r = t && t.cache ? t.cache :
|
689
|
+
var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Cn;
|
690
690
|
return i(e, {
|
691
691
|
cache: r,
|
692
692
|
serializer: n
|
693
693
|
});
|
694
694
|
}
|
695
|
-
function
|
695
|
+
function Tn(e) {
|
696
696
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
697
697
|
}
|
698
|
-
function
|
699
|
-
var i =
|
698
|
+
function Hn(e, t, r, n) {
|
699
|
+
var i = Tn(n) ? n : r(n), o = t.get(i);
|
700
700
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
701
701
|
}
|
702
|
-
function
|
702
|
+
function Wt(e, t, r) {
|
703
703
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
704
704
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
705
705
|
}
|
706
|
-
function
|
706
|
+
function zt(e, t, r, n, i) {
|
707
707
|
return r.bind(t, e, n, i);
|
708
708
|
}
|
709
709
|
function Cn(e, t) {
|
710
|
-
var r = e.length === 1 ?
|
711
|
-
return
|
710
|
+
var r = e.length === 1 ? Hn : Wt;
|
711
|
+
return zt(e, this, r, t.cache.create(), t.serializer);
|
712
712
|
}
|
713
713
|
function Pn(e, t) {
|
714
|
-
return
|
714
|
+
return zt(e, this, Wt, t.cache.create(), t.serializer);
|
715
715
|
}
|
716
|
-
|
717
|
-
return rt(e, this, zt, t.cache.create(), t.serializer);
|
718
|
-
}
|
719
|
-
var An = function() {
|
716
|
+
var Bn = function() {
|
720
717
|
return JSON.stringify(arguments);
|
721
|
-
},
|
718
|
+
}, An = (
|
722
719
|
/** @class */
|
723
720
|
function() {
|
724
721
|
function e() {
|
@@ -730,13 +727,12 @@ var An = function() {
|
|
730
727
|
this.cache[t] = r;
|
731
728
|
}, e;
|
732
729
|
}()
|
733
|
-
),
|
730
|
+
), On = {
|
734
731
|
create: function() {
|
735
|
-
return new
|
732
|
+
return new An();
|
736
733
|
}
|
737
734
|
}, Me = {
|
738
|
-
variadic: Pn
|
739
|
-
monadic: Bn
|
735
|
+
variadic: Pn
|
740
736
|
}, y;
|
741
737
|
(function(e) {
|
742
738
|
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";
|
@@ -749,43 +745,43 @@ var Y;
|
|
749
745
|
(function(e) {
|
750
746
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
751
747
|
})(Y || (Y = {}));
|
752
|
-
function
|
748
|
+
function dt(e) {
|
753
749
|
return e.type === w.literal;
|
754
750
|
}
|
755
|
-
function
|
751
|
+
function In(e) {
|
756
752
|
return e.type === w.argument;
|
757
753
|
}
|
758
|
-
function
|
754
|
+
function Zt(e) {
|
759
755
|
return e.type === w.number;
|
760
756
|
}
|
761
|
-
function
|
757
|
+
function Qt(e) {
|
762
758
|
return e.type === w.date;
|
763
759
|
}
|
764
|
-
function
|
760
|
+
function Jt(e) {
|
765
761
|
return e.type === w.time;
|
766
762
|
}
|
767
|
-
function
|
763
|
+
function Yt(e) {
|
768
764
|
return e.type === w.select;
|
769
765
|
}
|
770
|
-
function
|
766
|
+
function qt(e) {
|
771
767
|
return e.type === w.plural;
|
772
768
|
}
|
773
|
-
function
|
769
|
+
function Ln(e) {
|
774
770
|
return e.type === w.pound;
|
775
771
|
}
|
776
|
-
function
|
772
|
+
function Kt(e) {
|
777
773
|
return e.type === w.tag;
|
778
774
|
}
|
779
|
-
function
|
775
|
+
function er(e) {
|
780
776
|
return !!(e && typeof e == "object" && e.type === Y.number);
|
781
777
|
}
|
782
778
|
function Ve(e) {
|
783
779
|
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
784
780
|
}
|
785
|
-
var
|
786
|
-
function
|
781
|
+
var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[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;
|
782
|
+
function Mn(e) {
|
787
783
|
var t = {};
|
788
|
-
return e.replace(
|
784
|
+
return e.replace(Nn, function(r) {
|
789
785
|
var n = r.length;
|
790
786
|
switch (r[0]) {
|
791
787
|
case "G":
|
@@ -874,11 +870,11 @@ function Rn(e) {
|
|
874
870
|
return "";
|
875
871
|
}), t;
|
876
872
|
}
|
877
|
-
var
|
878
|
-
function
|
873
|
+
var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
874
|
+
function $n(e) {
|
879
875
|
if (e.length === 0)
|
880
876
|
throw new Error("Number skeleton cannot be empty");
|
881
|
-
for (var t = e.split(
|
877
|
+
for (var t = e.split(Rn).filter(function(f) {
|
882
878
|
return f.length > 0;
|
883
879
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
884
880
|
var o = i[n], s = o.split("/");
|
@@ -893,17 +889,17 @@ function Gn(e) {
|
|
893
889
|
}
|
894
890
|
return r;
|
895
891
|
}
|
896
|
-
function
|
892
|
+
function Gn(e) {
|
897
893
|
return e.replace(/^(.*?)-/, "");
|
898
894
|
}
|
899
|
-
var
|
900
|
-
function
|
895
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
|
896
|
+
function mt(e) {
|
901
897
|
var t = {};
|
902
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
898
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
|
903
899
|
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)), "";
|
904
900
|
}), t;
|
905
901
|
}
|
906
|
-
function
|
902
|
+
function ir(e) {
|
907
903
|
switch (e) {
|
908
904
|
case "sign-auto":
|
909
905
|
return {
|
@@ -943,7 +939,7 @@ function or(e) {
|
|
943
939
|
};
|
944
940
|
}
|
945
941
|
}
|
946
|
-
function
|
942
|
+
function Dn(e) {
|
947
943
|
var t;
|
948
944
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
949
945
|
notation: "engineering"
|
@@ -951,17 +947,17 @@ function Fn(e) {
|
|
951
947
|
notation: "scientific"
|
952
948
|
}, e = e.slice(1)), t) {
|
953
949
|
var r = e.slice(0, 2);
|
954
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
950
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
|
955
951
|
throw new Error("Malformed concise eng/scientific notation");
|
956
952
|
t.minimumIntegerDigits = e.length;
|
957
953
|
}
|
958
954
|
return t;
|
959
955
|
}
|
960
|
-
function
|
961
|
-
var t = {}, r =
|
956
|
+
function bt(e) {
|
957
|
+
var t = {}, r = ir(e);
|
962
958
|
return r || t;
|
963
959
|
}
|
964
|
-
function
|
960
|
+
function Fn(e) {
|
965
961
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
966
962
|
var i = n[r];
|
967
963
|
switch (i.stem) {
|
@@ -985,7 +981,7 @@ function kn(e) {
|
|
985
981
|
continue;
|
986
982
|
case "measure-unit":
|
987
983
|
case "unit":
|
988
|
-
t.style = "unit", t.unit =
|
984
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
989
985
|
continue;
|
990
986
|
case "compact-short":
|
991
987
|
case "K":
|
@@ -997,12 +993,12 @@ function kn(e) {
|
|
997
993
|
continue;
|
998
994
|
case "scientific":
|
999
995
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
|
1000
|
-
return x(x({}, l),
|
996
|
+
return x(x({}, l), bt(h));
|
1001
997
|
}, {}));
|
1002
998
|
continue;
|
1003
999
|
case "engineering":
|
1004
1000
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
|
1005
|
-
return x(x({}, l),
|
1001
|
+
return x(x({}, l), bt(h));
|
1006
1002
|
}, {}));
|
1007
1003
|
continue;
|
1008
1004
|
case "notation-simple":
|
@@ -1047,7 +1043,7 @@ function kn(e) {
|
|
1047
1043
|
case "integer-width":
|
1048
1044
|
if (i.options.length > 1)
|
1049
1045
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1050
|
-
i.options[0].replace(
|
1046
|
+
i.options[0].replace(Un, function(l, h, u, c, f, m) {
|
1051
1047
|
if (h)
|
1052
1048
|
t.minimumIntegerDigits = u.length;
|
1053
1049
|
else {
|
@@ -1060,27 +1056,27 @@ function kn(e) {
|
|
1060
1056
|
});
|
1061
1057
|
continue;
|
1062
1058
|
}
|
1063
|
-
if (
|
1059
|
+
if (nr.test(i.stem)) {
|
1064
1060
|
t.minimumIntegerDigits = i.stem.length;
|
1065
1061
|
continue;
|
1066
1062
|
}
|
1067
|
-
if (
|
1063
|
+
if (pt.test(i.stem)) {
|
1068
1064
|
if (i.options.length > 1)
|
1069
1065
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1070
|
-
i.stem.replace(
|
1066
|
+
i.stem.replace(pt, function(l, h, u, c, f, m) {
|
1071
1067
|
return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
1072
1068
|
});
|
1073
1069
|
var o = i.options[0];
|
1074
|
-
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t),
|
1070
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), mt(o)));
|
1075
1071
|
continue;
|
1076
1072
|
}
|
1077
|
-
if (
|
1078
|
-
t = x(x({}, t),
|
1073
|
+
if (rr.test(i.stem)) {
|
1074
|
+
t = x(x({}, t), mt(i.stem));
|
1079
1075
|
continue;
|
1080
1076
|
}
|
1081
|
-
var s =
|
1077
|
+
var s = ir(i.stem);
|
1082
1078
|
s && (t = x(x({}, t), s));
|
1083
|
-
var a =
|
1079
|
+
var a = Dn(i.stem);
|
1084
1080
|
a && (t = x(x({}, t), a));
|
1085
1081
|
}
|
1086
1082
|
return t;
|
@@ -2500,13 +2496,13 @@ var pe = {
|
|
2500
2496
|
"h"
|
2501
2497
|
]
|
2502
2498
|
};
|
2503
|
-
function
|
2499
|
+
function kn(e, t) {
|
2504
2500
|
for (var r = "", n = 0; n < e.length; n++) {
|
2505
2501
|
var i = e.charAt(n);
|
2506
2502
|
if (i === "j") {
|
2507
2503
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2508
2504
|
o++, n++;
|
2509
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h =
|
2505
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = jn(t);
|
2510
2506
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
2511
2507
|
r += l;
|
2512
2508
|
for (; s-- > 0; )
|
@@ -2515,7 +2511,7 @@ function jn(e, t) {
|
|
2515
2511
|
}
|
2516
2512
|
return r;
|
2517
2513
|
}
|
2518
|
-
function
|
2514
|
+
function jn(e) {
|
2519
2515
|
var t = e.hourCycle;
|
2520
2516
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2521
2517
|
e.hourCycles && // @ts-ignore
|
@@ -2537,20 +2533,20 @@ function Vn(e) {
|
|
2537
2533
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2538
2534
|
return i[0];
|
2539
2535
|
}
|
2540
|
-
var Re,
|
2536
|
+
var Re, Vn = new RegExp("^".concat(tr.source, "*")), Xn = new RegExp("".concat(tr.source, "*$"));
|
2541
2537
|
function v(e, t) {
|
2542
2538
|
return { start: e, end: t };
|
2543
2539
|
}
|
2544
|
-
var
|
2540
|
+
var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Kn = qn ? Number.isSafeInteger : function(e) {
|
2545
2541
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2546
2542
|
}, Xe = !0;
|
2547
2543
|
try {
|
2548
|
-
var
|
2549
|
-
Xe = ((Re =
|
2544
|
+
var ei = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2545
|
+
Xe = ((Re = ei.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
2550
2546
|
} catch {
|
2551
2547
|
Xe = !1;
|
2552
2548
|
}
|
2553
|
-
var
|
2549
|
+
var gt = Wn ? (
|
2554
2550
|
// Native
|
2555
2551
|
function(t, r, n) {
|
2556
2552
|
return t.startsWith(r, n);
|
@@ -2560,7 +2556,7 @@ var yt = zn ? (
|
|
2560
2556
|
function(t, r, n) {
|
2561
2557
|
return t.slice(n, n + r.length) === r;
|
2562
2558
|
}
|
2563
|
-
), We =
|
2559
|
+
), We = zn ? String.fromCodePoint : (
|
2564
2560
|
// IE11
|
2565
2561
|
function() {
|
2566
2562
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2572,9 +2568,9 @@ var yt = zn ? (
|
|
2572
2568
|
}
|
2573
2569
|
return n;
|
2574
2570
|
}
|
2575
|
-
),
|
2571
|
+
), yt = (
|
2576
2572
|
// native
|
2577
|
-
|
2573
|
+
Zn ? Object.fromEntries : (
|
2578
2574
|
// Ponyfill
|
2579
2575
|
function(t) {
|
2580
2576
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2584,7 +2580,7 @@ var yt = zn ? (
|
|
2584
2580
|
return r;
|
2585
2581
|
}
|
2586
2582
|
)
|
2587
|
-
),
|
2583
|
+
), or = Qn ? (
|
2588
2584
|
// Native
|
2589
2585
|
function(t, r) {
|
2590
2586
|
return t.codePointAt(r);
|
@@ -2598,7 +2594,7 @@ var yt = zn ? (
|
|
2598
2594
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2599
2595
|
}
|
2600
2596
|
}
|
2601
|
-
),
|
2597
|
+
), ti = Jn ? (
|
2602
2598
|
// Native
|
2603
2599
|
function(t) {
|
2604
2600
|
return t.trimStart();
|
@@ -2606,9 +2602,9 @@ var yt = zn ? (
|
|
2606
2602
|
) : (
|
2607
2603
|
// Ponyfill
|
2608
2604
|
function(t) {
|
2609
|
-
return t.replace(
|
2605
|
+
return t.replace(Vn, "");
|
2610
2606
|
}
|
2611
|
-
),
|
2607
|
+
), ri = Yn ? (
|
2612
2608
|
// Native
|
2613
2609
|
function(t) {
|
2614
2610
|
return t.trimEnd();
|
@@ -2616,32 +2612,32 @@ var yt = zn ? (
|
|
2616
2612
|
) : (
|
2617
2613
|
// Ponyfill
|
2618
2614
|
function(t) {
|
2619
|
-
return t.replace(
|
2615
|
+
return t.replace(Xn, "");
|
2620
2616
|
}
|
2621
2617
|
);
|
2622
|
-
function
|
2618
|
+
function sr(e, t) {
|
2623
2619
|
return new RegExp(e, t);
|
2624
2620
|
}
|
2625
2621
|
var ze;
|
2626
2622
|
if (Xe) {
|
2627
|
-
var
|
2623
|
+
var vt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2628
2624
|
ze = function(t, r) {
|
2629
2625
|
var n;
|
2630
|
-
|
2631
|
-
var i =
|
2626
|
+
vt.lastIndex = r;
|
2627
|
+
var i = vt.exec(t);
|
2632
2628
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2633
2629
|
};
|
2634
2630
|
} else
|
2635
2631
|
ze = function(t, r) {
|
2636
2632
|
for (var n = []; ; ) {
|
2637
|
-
var i =
|
2638
|
-
if (i === void 0 ||
|
2633
|
+
var i = or(t, r);
|
2634
|
+
if (i === void 0 || ar(i) || si(i))
|
2639
2635
|
break;
|
2640
2636
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2641
2637
|
}
|
2642
2638
|
return We.apply(void 0, n);
|
2643
2639
|
};
|
2644
|
-
var
|
2640
|
+
var ni = (
|
2645
2641
|
/** @class */
|
2646
2642
|
function() {
|
2647
2643
|
function e(t, r) {
|
@@ -2723,7 +2719,7 @@ var ii = (
|
|
2723
2719
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2724
2720
|
}, e.prototype.parseTagName = function() {
|
2725
2721
|
var t = this.offset();
|
2726
|
-
for (this.bump(); !this.isEOF() &&
|
2722
|
+
for (this.bump(); !this.isEOF() && oi(this.char()); )
|
2727
2723
|
this.bump();
|
2728
2724
|
return this.message.slice(t, this.offset());
|
2729
2725
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2752,7 +2748,7 @@ var ii = (
|
|
2752
2748
|
};
|
2753
2749
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2754
2750
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2755
|
-
!
|
2751
|
+
!ii(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2756
2752
|
}, e.prototype.tryParseQuote = function(t) {
|
2757
2753
|
if (this.isEOF() || this.char() !== 39)
|
2758
2754
|
return null;
|
@@ -2839,7 +2835,7 @@ var ii = (
|
|
2839
2835
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2840
2836
|
if (c.err)
|
2841
2837
|
return c;
|
2842
|
-
var f =
|
2838
|
+
var f = ri(c.val);
|
2843
2839
|
if (f.length === 0)
|
2844
2840
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2845
2841
|
var m = v(u, this.clonePosition());
|
@@ -2849,8 +2845,8 @@ var ii = (
|
|
2849
2845
|
if (d.err)
|
2850
2846
|
return d;
|
2851
2847
|
var g = v(i, this.clonePosition());
|
2852
|
-
if (h &&
|
2853
|
-
var p =
|
2848
|
+
if (h && gt(h?.style, "::", 0)) {
|
2849
|
+
var p = ti(h.style.slice(2));
|
2854
2850
|
if (a === "number") {
|
2855
2851
|
var c = this.parseNumberSkeletonFromString(p, h.styleLocation);
|
2856
2852
|
return c.err ? c : {
|
@@ -2861,12 +2857,12 @@ var ii = (
|
|
2861
2857
|
if (p.length === 0)
|
2862
2858
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
2863
2859
|
var S = p;
|
2864
|
-
this.locale && (S =
|
2860
|
+
this.locale && (S = kn(p, this.locale));
|
2865
2861
|
var f = {
|
2866
2862
|
type: Y.dateTime,
|
2867
2863
|
pattern: S,
|
2868
2864
|
location: h.styleLocation,
|
2869
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2865
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(S) : {}
|
2870
2866
|
}, _ = a === "date" ? w.date : w.time;
|
2871
2867
|
return {
|
2872
2868
|
val: { type: _, value: n, location: g, style: f },
|
@@ -2912,7 +2908,7 @@ var ii = (
|
|
2912
2908
|
val: {
|
2913
2909
|
type: w.select,
|
2914
2910
|
value: n,
|
2915
|
-
options:
|
2911
|
+
options: yt(j.val),
|
2916
2912
|
location: ie
|
2917
2913
|
},
|
2918
2914
|
err: null
|
@@ -2920,7 +2916,7 @@ var ii = (
|
|
2920
2916
|
val: {
|
2921
2917
|
type: w.plural,
|
2922
2918
|
value: n,
|
2923
|
-
options:
|
2919
|
+
options: yt(j.val),
|
2924
2920
|
offset: B,
|
2925
2921
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2926
2922
|
location: ie
|
@@ -2971,7 +2967,7 @@ var ii = (
|
|
2971
2967
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2972
2968
|
var n = [];
|
2973
2969
|
try {
|
2974
|
-
n =
|
2970
|
+
n = $n(t);
|
2975
2971
|
} catch {
|
2976
2972
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
2977
2973
|
}
|
@@ -2980,7 +2976,7 @@ var ii = (
|
|
2980
2976
|
type: Y.number,
|
2981
2977
|
tokens: n,
|
2982
2978
|
location: r,
|
2983
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2979
|
+
parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
|
2984
2980
|
},
|
2985
2981
|
err: null
|
2986
2982
|
};
|
@@ -3028,7 +3024,7 @@ var ii = (
|
|
3028
3024
|
break;
|
3029
3025
|
}
|
3030
3026
|
var l = v(i, this.clonePosition());
|
3031
|
-
return o ? (s *= n,
|
3027
|
+
return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
3032
3028
|
}, e.prototype.offset = function() {
|
3033
3029
|
return this.position.offset;
|
3034
3030
|
}, e.prototype.isEOF = function() {
|
@@ -3043,7 +3039,7 @@ var ii = (
|
|
3043
3039
|
var t = this.position.offset;
|
3044
3040
|
if (t >= this.message.length)
|
3045
3041
|
throw Error("out of bound");
|
3046
|
-
var r =
|
3042
|
+
var r = or(this.message, t);
|
3047
3043
|
if (r === void 0)
|
3048
3044
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3049
3045
|
return r;
|
@@ -3062,7 +3058,7 @@ var ii = (
|
|
3062
3058
|
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);
|
3063
3059
|
}
|
3064
3060
|
}, e.prototype.bumpIf = function(t) {
|
3065
|
-
if (
|
3061
|
+
if (gt(this.message, t, this.offset())) {
|
3066
3062
|
for (var r = 0; r < t.length; r++)
|
3067
3063
|
this.bump();
|
3068
3064
|
return !0;
|
@@ -3084,7 +3080,7 @@ var ii = (
|
|
3084
3080
|
break;
|
3085
3081
|
}
|
3086
3082
|
}, e.prototype.bumpSpace = function() {
|
3087
|
-
for (; !this.isEOF() &&
|
3083
|
+
for (; !this.isEOF() && ar(this.char()); )
|
3088
3084
|
this.bump();
|
3089
3085
|
}, e.prototype.peek = function() {
|
3090
3086
|
if (this.isEOF())
|
@@ -3097,29 +3093,29 @@ var ii = (
|
|
3097
3093
|
function Ze(e) {
|
3098
3094
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3099
3095
|
}
|
3100
|
-
function
|
3096
|
+
function ii(e) {
|
3101
3097
|
return Ze(e) || e === 47;
|
3102
3098
|
}
|
3103
|
-
function
|
3099
|
+
function oi(e) {
|
3104
3100
|
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;
|
3105
3101
|
}
|
3106
|
-
function
|
3102
|
+
function ar(e) {
|
3107
3103
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3108
3104
|
}
|
3109
|
-
function
|
3105
|
+
function si(e) {
|
3110
3106
|
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;
|
3111
3107
|
}
|
3112
3108
|
function Qe(e) {
|
3113
3109
|
e.forEach(function(t) {
|
3114
|
-
if (delete t.location,
|
3110
|
+
if (delete t.location, Yt(t) || qt(t))
|
3115
3111
|
for (var r in t.options)
|
3116
3112
|
delete t.options[r].location, Qe(t.options[r].value);
|
3117
|
-
else
|
3113
|
+
else Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
|
3118
3114
|
});
|
3119
3115
|
}
|
3120
|
-
function
|
3116
|
+
function ai(e, t) {
|
3121
3117
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3122
|
-
var r = new
|
3118
|
+
var r = new ni(e, t).parse();
|
3123
3119
|
if (r.err) {
|
3124
3120
|
var n = SyntaxError(y[r.err.kind]);
|
3125
3121
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3142,7 +3138,7 @@ var Pe = (
|
|
3142
3138
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3143
3139
|
}, t;
|
3144
3140
|
}(Error)
|
3145
|
-
),
|
3141
|
+
), _t = (
|
3146
3142
|
/** @class */
|
3147
3143
|
function(e) {
|
3148
3144
|
U(t, e);
|
@@ -3151,7 +3147,7 @@ var Pe = (
|
|
3151
3147
|
}
|
3152
3148
|
return t;
|
3153
3149
|
}(Pe)
|
3154
|
-
),
|
3150
|
+
), ui = (
|
3155
3151
|
/** @class */
|
3156
3152
|
function(e) {
|
3157
3153
|
U(t, e);
|
@@ -3160,7 +3156,7 @@ var Pe = (
|
|
3160
3156
|
}
|
3161
3157
|
return t;
|
3162
3158
|
}(Pe)
|
3163
|
-
),
|
3159
|
+
), li = (
|
3164
3160
|
/** @class */
|
3165
3161
|
function(e) {
|
3166
3162
|
U(t, e);
|
@@ -3173,17 +3169,17 @@ var Pe = (
|
|
3173
3169
|
(function(e) {
|
3174
3170
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3175
3171
|
})(A || (A = {}));
|
3176
|
-
function
|
3172
|
+
function hi(e) {
|
3177
3173
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3178
3174
|
var n = t[t.length - 1];
|
3179
3175
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3180
3176
|
}, []);
|
3181
3177
|
}
|
3182
|
-
function
|
3178
|
+
function ci(e) {
|
3183
3179
|
return typeof e == "function";
|
3184
3180
|
}
|
3185
3181
|
function ge(e, t, r, n, i, o, s) {
|
3186
|
-
if (e.length === 1 &&
|
3182
|
+
if (e.length === 1 && dt(e[0]))
|
3187
3183
|
return [
|
3188
3184
|
{
|
3189
3185
|
type: A.literal,
|
@@ -3192,14 +3188,14 @@ function ge(e, t, r, n, i, o, s) {
|
|
3192
3188
|
];
|
3193
3189
|
for (var a = [], l = 0, h = e; l < h.length; l++) {
|
3194
3190
|
var u = h[l];
|
3195
|
-
if (
|
3191
|
+
if (dt(u)) {
|
3196
3192
|
a.push({
|
3197
3193
|
type: A.literal,
|
3198
3194
|
value: u.value
|
3199
3195
|
});
|
3200
3196
|
continue;
|
3201
3197
|
}
|
3202
|
-
if (
|
3198
|
+
if (Ln(u)) {
|
3203
3199
|
typeof o == "number" && a.push({
|
3204
3200
|
type: A.literal,
|
3205
3201
|
value: r.getNumberFormat(t).format(o)
|
@@ -3208,16 +3204,16 @@ function ge(e, t, r, n, i, o, s) {
|
|
3208
3204
|
}
|
3209
3205
|
var c = u.value;
|
3210
3206
|
if (!(i && c in i))
|
3211
|
-
throw new
|
3207
|
+
throw new li(c, s);
|
3212
3208
|
var f = i[c];
|
3213
|
-
if (
|
3209
|
+
if (In(u)) {
|
3214
3210
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3215
3211
|
type: typeof f == "string" ? A.literal : A.object,
|
3216
3212
|
value: f
|
3217
3213
|
});
|
3218
3214
|
continue;
|
3219
3215
|
}
|
3220
|
-
if (
|
3216
|
+
if (Qt(u)) {
|
3221
3217
|
var m = typeof u.style == "string" ? n.date[u.style] : Ve(u.style) ? u.style.parsedOptions : void 0;
|
3222
3218
|
a.push({
|
3223
3219
|
type: A.literal,
|
@@ -3225,7 +3221,7 @@ function ge(e, t, r, n, i, o, s) {
|
|
3225
3221
|
});
|
3226
3222
|
continue;
|
3227
3223
|
}
|
3228
|
-
if (
|
3224
|
+
if (Jt(u)) {
|
3229
3225
|
var m = typeof u.style == "string" ? n.time[u.style] : Ve(u.style) ? u.style.parsedOptions : n.time.medium;
|
3230
3226
|
a.push({
|
3231
3227
|
type: A.literal,
|
@@ -3233,18 +3229,18 @@ function ge(e, t, r, n, i, o, s) {
|
|
3233
3229
|
});
|
3234
3230
|
continue;
|
3235
3231
|
}
|
3236
|
-
if (
|
3237
|
-
var m = typeof u.style == "string" ? n.number[u.style] :
|
3232
|
+
if (Zt(u)) {
|
3233
|
+
var m = typeof u.style == "string" ? n.number[u.style] : er(u.style) ? u.style.parsedOptions : void 0;
|
3238
3234
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
3239
3235
|
type: A.literal,
|
3240
3236
|
value: r.getNumberFormat(t, m).format(f)
|
3241
3237
|
});
|
3242
3238
|
continue;
|
3243
3239
|
}
|
3244
|
-
if (
|
3240
|
+
if (Kt(u)) {
|
3245
3241
|
var d = u.children, g = u.value, p = i[g];
|
3246
|
-
if (!
|
3247
|
-
throw new
|
3242
|
+
if (!ci(p))
|
3243
|
+
throw new ui(g, "function", s);
|
3248
3244
|
var S = ge(d, t, r, n, i, o), _ = p(S.map(function(B) {
|
3249
3245
|
return B.value;
|
3250
3246
|
}));
|
@@ -3255,14 +3251,14 @@ function ge(e, t, r, n, i, o, s) {
|
|
3255
3251
|
};
|
3256
3252
|
}));
|
3257
3253
|
}
|
3258
|
-
if (
|
3254
|
+
if (Yt(u)) {
|
3259
3255
|
var P = u.options[f] || u.options.other;
|
3260
3256
|
if (!P)
|
3261
|
-
throw new
|
3257
|
+
throw new _t(u.value, f, Object.keys(u.options), s);
|
3262
3258
|
a.push.apply(a, ge(P.value, t, r, n, i));
|
3263
3259
|
continue;
|
3264
3260
|
}
|
3265
|
-
if (
|
3261
|
+
if (qt(u)) {
|
3266
3262
|
var P = u.options["=".concat(f)];
|
3267
3263
|
if (!P) {
|
3268
3264
|
if (!Intl.PluralRules)
|
@@ -3273,21 +3269,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3273
3269
|
P = u.options[$] || u.options.other;
|
3274
3270
|
}
|
3275
3271
|
if (!P)
|
3276
|
-
throw new
|
3272
|
+
throw new _t(u.value, f, Object.keys(u.options), s);
|
3277
3273
|
a.push.apply(a, ge(P.value, t, r, n, i, f - (u.offset || 0)));
|
3278
3274
|
continue;
|
3279
3275
|
}
|
3280
3276
|
}
|
3281
|
-
return
|
3277
|
+
return hi(a);
|
3282
3278
|
}
|
3283
|
-
function
|
3279
|
+
function fi(e, t) {
|
3284
3280
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3285
3281
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
3286
3282
|
}, {})) : e;
|
3287
3283
|
}
|
3288
|
-
function
|
3284
|
+
function di(e, t) {
|
3289
3285
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3290
|
-
return r[n] =
|
3286
|
+
return r[n] = fi(e[n], t[n]), r;
|
3291
3287
|
}, x({}, e)) : e;
|
3292
3288
|
}
|
3293
3289
|
function $e(e) {
|
@@ -3304,7 +3300,7 @@ function $e(e) {
|
|
3304
3300
|
}
|
3305
3301
|
};
|
3306
3302
|
}
|
3307
|
-
function
|
3303
|
+
function pi(e) {
|
3308
3304
|
return e === void 0 && (e = {
|
3309
3305
|
number: {},
|
3310
3306
|
dateTime: {},
|
@@ -3336,7 +3332,7 @@ function mi(e) {
|
|
3336
3332
|
})
|
3337
3333
|
};
|
3338
3334
|
}
|
3339
|
-
var
|
3335
|
+
var mi = (
|
3340
3336
|
/** @class */
|
3341
3337
|
function() {
|
3342
3338
|
function e(t, r, n, i) {
|
@@ -3368,13 +3364,13 @@ var bi = (
|
|
3368
3364
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3369
3365
|
var s = i || {};
|
3370
3366
|
s.formatters;
|
3371
|
-
var a =
|
3367
|
+
var a = wn(s, ["formatters"]);
|
3372
3368
|
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
3373
3369
|
} else
|
3374
3370
|
this.ast = t;
|
3375
3371
|
if (!Array.isArray(this.ast))
|
3376
3372
|
throw new TypeError("A message must be provided as a String or AST.");
|
3377
|
-
this.formats =
|
3373
|
+
this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
|
3378
3374
|
}
|
3379
3375
|
return Object.defineProperty(e, "defaultLocale", {
|
3380
3376
|
get: function() {
|
@@ -3387,7 +3383,7 @@ var bi = (
|
|
3387
3383
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3388
3384
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3389
3385
|
}
|
3390
|
-
}, e.__parse =
|
3386
|
+
}, e.__parse = ai, e.formats = {
|
3391
3387
|
number: {
|
3392
3388
|
integer: {
|
3393
3389
|
maximumFractionDigits: 0
|
@@ -3448,7 +3444,7 @@ var bi = (
|
|
3448
3444
|
}, e;
|
3449
3445
|
}()
|
3450
3446
|
);
|
3451
|
-
function
|
3447
|
+
function bi(e, t) {
|
3452
3448
|
if (t == null)
|
3453
3449
|
return;
|
3454
3450
|
if (t in e)
|
@@ -3469,60 +3465,60 @@ function gi(e, t) {
|
|
3469
3465
|
n = void 0;
|
3470
3466
|
return n;
|
3471
3467
|
}
|
3472
|
-
const D = {},
|
3468
|
+
const D = {}, gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ur = (e, t) => {
|
3473
3469
|
if (t == null)
|
3474
3470
|
return;
|
3475
3471
|
if (t in D && e in D[t])
|
3476
3472
|
return D[t][e];
|
3477
3473
|
const r = Be(t);
|
3478
3474
|
for (let n = 0; n < r.length; n++) {
|
3479
|
-
const i = r[n], o =
|
3475
|
+
const i = r[n], o = vi(i, e);
|
3480
3476
|
if (o)
|
3481
|
-
return
|
3477
|
+
return gi(e, t, o);
|
3482
3478
|
}
|
3483
3479
|
};
|
3484
|
-
let
|
3480
|
+
let rt;
|
3485
3481
|
const ce = Ce({});
|
3486
|
-
function
|
3487
|
-
return
|
3482
|
+
function yi(e) {
|
3483
|
+
return rt[e] || null;
|
3488
3484
|
}
|
3489
|
-
function
|
3490
|
-
return e in
|
3485
|
+
function lr(e) {
|
3486
|
+
return e in rt;
|
3491
3487
|
}
|
3492
|
-
function
|
3493
|
-
if (!
|
3488
|
+
function vi(e, t) {
|
3489
|
+
if (!lr(e))
|
3494
3490
|
return null;
|
3495
|
-
const r =
|
3496
|
-
return
|
3491
|
+
const r = yi(e);
|
3492
|
+
return bi(r, t);
|
3497
3493
|
}
|
3498
|
-
function
|
3494
|
+
function _i(e) {
|
3499
3495
|
if (e == null)
|
3500
3496
|
return;
|
3501
3497
|
const t = Be(e);
|
3502
3498
|
for (let r = 0; r < t.length; r++) {
|
3503
3499
|
const n = t[r];
|
3504
|
-
if (
|
3500
|
+
if (lr(n))
|
3505
3501
|
return n;
|
3506
3502
|
}
|
3507
3503
|
}
|
3508
|
-
function
|
3509
|
-
delete D[e], ce.update((r) => (r[e] =
|
3504
|
+
function hr(e, ...t) {
|
3505
|
+
delete D[e], ce.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
3510
3506
|
}
|
3511
3507
|
te(
|
3512
3508
|
[ce],
|
3513
3509
|
([e]) => Object.keys(e)
|
3514
3510
|
);
|
3515
|
-
ce.subscribe((e) =>
|
3511
|
+
ce.subscribe((e) => rt = e);
|
3516
3512
|
const ye = {};
|
3517
|
-
function
|
3513
|
+
function xi(e, t) {
|
3518
3514
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
3519
3515
|
}
|
3520
|
-
function
|
3516
|
+
function cr(e) {
|
3521
3517
|
return ye[e];
|
3522
3518
|
}
|
3523
|
-
function
|
3519
|
+
function Ei(e) {
|
3524
3520
|
return Be(e).map((t) => {
|
3525
|
-
const r =
|
3521
|
+
const r = cr(t);
|
3526
3522
|
return [t, r ? [...r] : []];
|
3527
3523
|
}).filter(([, t]) => t.length > 0);
|
3528
3524
|
}
|
@@ -3530,31 +3526,31 @@ function Je(e) {
|
|
3530
3526
|
return e == null ? !1 : Be(e).some(
|
3531
3527
|
(t) => {
|
3532
3528
|
var r;
|
3533
|
-
return (r =
|
3529
|
+
return (r = cr(t)) == null ? void 0 : r.size;
|
3534
3530
|
}
|
3535
3531
|
);
|
3536
3532
|
}
|
3537
|
-
function
|
3533
|
+
function Si(e, t) {
|
3538
3534
|
return Promise.all(
|
3539
|
-
t.map((n) => (
|
3540
|
-
).then((n) =>
|
3535
|
+
t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
|
3536
|
+
).then((n) => hr(e, ...n));
|
3541
3537
|
}
|
3542
3538
|
const se = {};
|
3543
|
-
function
|
3539
|
+
function fr(e) {
|
3544
3540
|
if (!Je(e))
|
3545
3541
|
return e in se ? se[e] : Promise.resolve();
|
3546
|
-
const t =
|
3542
|
+
const t = Ei(e);
|
3547
3543
|
return se[e] = Promise.all(
|
3548
3544
|
t.map(
|
3549
|
-
([r, n]) =>
|
3545
|
+
([r, n]) => Si(r, n)
|
3550
3546
|
)
|
3551
3547
|
).then(() => {
|
3552
3548
|
if (Je(e))
|
3553
|
-
return
|
3549
|
+
return fr(e);
|
3554
3550
|
delete se[e];
|
3555
3551
|
}), se[e];
|
3556
3552
|
}
|
3557
|
-
const
|
3553
|
+
const wi = {
|
3558
3554
|
number: {
|
3559
3555
|
scientific: { notation: "scientific" },
|
3560
3556
|
engineering: { notation: "engineering" },
|
@@ -3583,34 +3579,34 @@ const Ti = {
|
|
3583
3579
|
timeZoneName: "short"
|
3584
3580
|
}
|
3585
3581
|
}
|
3586
|
-
},
|
3582
|
+
}, Ti = {
|
3587
3583
|
fallbackLocale: null,
|
3588
3584
|
loadingDelay: 200,
|
3589
|
-
formats:
|
3585
|
+
formats: wi,
|
3590
3586
|
warnOnMissingMessages: !0,
|
3591
3587
|
handleMissingMessage: void 0,
|
3592
3588
|
ignoreTag: !0
|
3593
|
-
},
|
3589
|
+
}, Hi = Ti;
|
3594
3590
|
function K() {
|
3595
|
-
return
|
3591
|
+
return Hi;
|
3596
3592
|
}
|
3597
3593
|
const Ge = Ce(!1);
|
3598
|
-
var
|
3599
|
-
for (var r in t)
|
3600
|
-
|
3601
|
-
if (
|
3602
|
-
for (var r of
|
3603
|
-
|
3594
|
+
var Ci = Object.defineProperty, Pi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
|
3595
|
+
for (var r in t || (t = {}))
|
3596
|
+
Ai.call(t, r) && Et(e, r, t[r]);
|
3597
|
+
if (xt)
|
3598
|
+
for (var r of xt(t))
|
3599
|
+
Oi.call(t, r) && Et(e, r, t[r]);
|
3604
3600
|
return e;
|
3605
|
-
},
|
3601
|
+
}, Li = (e, t) => Pi(e, Bi(t));
|
3606
3602
|
let Ye;
|
3607
3603
|
const we = Ce(null);
|
3608
|
-
function
|
3604
|
+
function St(e) {
|
3609
3605
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3610
3606
|
}
|
3611
3607
|
function Be(e, t = K().fallbackLocale) {
|
3612
|
-
const r =
|
3613
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3608
|
+
const r = St(e);
|
3609
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
|
3614
3610
|
}
|
3615
3611
|
function k() {
|
3616
3612
|
return Ye ?? void 0;
|
@@ -3618,22 +3614,22 @@ function k() {
|
|
3618
3614
|
we.subscribe((e) => {
|
3619
3615
|
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3620
3616
|
});
|
3621
|
-
const
|
3622
|
-
if (e &&
|
3617
|
+
const Ni = (e) => {
|
3618
|
+
if (e && _i(e) && Je(e)) {
|
3623
3619
|
const { loadingDelay: t } = K();
|
3624
3620
|
let r;
|
3625
3621
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
3626
3622
|
() => Ge.set(!0),
|
3627
3623
|
t
|
3628
|
-
) : Ge.set(!0),
|
3624
|
+
) : Ge.set(!0), fr(e).then(() => {
|
3629
3625
|
we.set(e);
|
3630
3626
|
}).finally(() => {
|
3631
3627
|
clearTimeout(r), Ge.set(!1);
|
3632
3628
|
});
|
3633
3629
|
}
|
3634
3630
|
return we.set(e);
|
3635
|
-
}, re =
|
3636
|
-
set:
|
3631
|
+
}, re = Li(Ii({}, we), {
|
3632
|
+
set: Ni
|
3637
3633
|
}), Ae = (e) => {
|
3638
3634
|
const t = /* @__PURE__ */ Object.create(null);
|
3639
3635
|
return (n) => {
|
@@ -3641,20 +3637,20 @@ const Mi = (e) => {
|
|
3641
3637
|
return i in t ? t[i] : t[i] = e(n);
|
3642
3638
|
};
|
3643
3639
|
};
|
3644
|
-
var
|
3640
|
+
var Mi = Object.defineProperty, Te = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
3645
3641
|
for (var r in t || (t = {}))
|
3646
|
-
|
3642
|
+
dr.call(t, r) && wt(e, r, t[r]);
|
3647
3643
|
if (Te)
|
3648
3644
|
for (var r of Te(t))
|
3649
|
-
|
3645
|
+
pr.call(t, r) && wt(e, r, t[r]);
|
3650
3646
|
return e;
|
3651
3647
|
}, ne = (e, t) => {
|
3652
3648
|
var r = {};
|
3653
3649
|
for (var n in e)
|
3654
|
-
|
3650
|
+
dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3655
3651
|
if (e != null && Te)
|
3656
3652
|
for (var n of Te(e))
|
3657
|
-
t.indexOf(n) < 0 &&
|
3653
|
+
t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
|
3658
3654
|
return r;
|
3659
3655
|
};
|
3660
3656
|
const he = (e, t) => {
|
@@ -3662,21 +3658,21 @@ const he = (e, t) => {
|
|
3662
3658
|
if (e in r && t in r[e])
|
3663
3659
|
return r[e][t];
|
3664
3660
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3665
|
-
},
|
3661
|
+
}, Ri = Ae(
|
3666
3662
|
(e) => {
|
3667
3663
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3668
3664
|
if (r == null)
|
3669
3665
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3670
3666
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3671
3667
|
}
|
3672
|
-
),
|
3668
|
+
), $i = Ae(
|
3673
3669
|
(e) => {
|
3674
3670
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3675
3671
|
if (r == null)
|
3676
3672
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3677
3673
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3678
3674
|
}
|
3679
|
-
),
|
3675
|
+
), Gi = Ae(
|
3680
3676
|
(e) => {
|
3681
3677
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3682
3678
|
if (r == null)
|
@@ -3685,33 +3681,33 @@ const he = (e, t) => {
|
|
3685
3681
|
);
|
3686
3682
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3687
3683
|
}
|
3688
|
-
),
|
3684
|
+
), Ui = (e = {}) => {
|
3689
3685
|
var t = e, {
|
3690
3686
|
locale: r = k()
|
3691
3687
|
} = t, n = ne(t, [
|
3692
3688
|
"locale"
|
3693
3689
|
]);
|
3694
|
-
return
|
3695
|
-
},
|
3690
|
+
return Ri(nt({ locale: r }, n));
|
3691
|
+
}, Di = (e = {}) => {
|
3696
3692
|
var t = e, {
|
3697
3693
|
locale: r = k()
|
3698
3694
|
} = t, n = ne(t, [
|
3699
3695
|
"locale"
|
3700
3696
|
]);
|
3701
|
-
return
|
3702
|
-
},
|
3697
|
+
return $i(nt({ locale: r }, n));
|
3698
|
+
}, Fi = (e = {}) => {
|
3703
3699
|
var t = e, {
|
3704
3700
|
locale: r = k()
|
3705
3701
|
} = t, n = ne(t, [
|
3706
3702
|
"locale"
|
3707
3703
|
]);
|
3708
|
-
return
|
3709
|
-
},
|
3704
|
+
return Gi(nt({ locale: r }, n));
|
3705
|
+
}, ki = Ae(
|
3710
3706
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3711
|
-
(e, t = k()) => new
|
3707
|
+
(e, t = k()) => new mi(e, t, K().formats, {
|
3712
3708
|
ignoreTag: K().ignoreTag
|
3713
3709
|
})
|
3714
|
-
),
|
3710
|
+
), ji = (e, t = {}) => {
|
3715
3711
|
var r, n, i, o;
|
3716
3712
|
let s = t;
|
3717
3713
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3724,7 +3720,7 @@ const he = (e, t) => {
|
|
3724
3720
|
throw new Error(
|
3725
3721
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3726
3722
|
);
|
3727
|
-
let u =
|
3723
|
+
let u = ur(e, l);
|
3728
3724
|
if (!u)
|
3729
3725
|
u = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
3730
3726
|
else if (typeof u != "string")
|
@@ -3735,7 +3731,7 @@ const he = (e, t) => {
|
|
3735
3731
|
return u;
|
3736
3732
|
let c = u;
|
3737
3733
|
try {
|
3738
|
-
c =
|
3734
|
+
c = ki(u, l).format(a);
|
3739
3735
|
} catch (f) {
|
3740
3736
|
f instanceof Error && console.warn(
|
3741
3737
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3743,18 +3739,18 @@ const he = (e, t) => {
|
|
3743
3739
|
);
|
3744
3740
|
}
|
3745
3741
|
return c;
|
3746
|
-
},
|
3742
|
+
}, Vi = (e, t) => Fi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t) => Ui(t).format(e), zi = (e, t = k()) => ur(e, t), Zi = te([re, ce], () => ji);
|
3743
|
+
te([re], () => Vi);
|
3747
3744
|
te([re], () => Xi);
|
3748
3745
|
te([re], () => Wi);
|
3749
|
-
te([re], () => zi);
|
3750
|
-
|
3751
|
-
|
3752
|
-
cr(e, t);
|
3746
|
+
te([re, ce], () => zi);
|
3747
|
+
function Tt(e, t) {
|
3748
|
+
hr(e, t);
|
3753
3749
|
}
|
3754
|
-
function
|
3750
|
+
function Qi(e) {
|
3755
3751
|
re.set(e);
|
3756
3752
|
}
|
3757
|
-
const
|
3753
|
+
const Ht = {
|
3758
3754
|
en: {
|
3759
3755
|
collections: "Game Collections",
|
3760
3756
|
providers: "Game Providers",
|
@@ -3854,13 +3850,13 @@ const Ct = {
|
|
3854
3850
|
function G(e) {
|
3855
3851
|
return typeof e == "function";
|
3856
3852
|
}
|
3857
|
-
function
|
3853
|
+
function mr(e) {
|
3858
3854
|
var t = function(n) {
|
3859
3855
|
Error.call(n), n.stack = new Error().stack;
|
3860
3856
|
}, r = e(t);
|
3861
3857
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3862
3858
|
}
|
3863
|
-
var Ue =
|
3859
|
+
var Ue = mr(function(e) {
|
3864
3860
|
return function(r) {
|
3865
3861
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3866
3862
|
` + r.map(function(n, i) {
|
@@ -3916,7 +3912,7 @@ var Oe = function() {
|
|
3916
3912
|
for (var f = ke(c), m = f.next(); !m.done; m = f.next()) {
|
3917
3913
|
var d = m.value;
|
3918
3914
|
try {
|
3919
|
-
|
3915
|
+
Ct(d);
|
3920
3916
|
} catch (g) {
|
3921
3917
|
o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
|
3922
3918
|
}
|
@@ -3938,7 +3934,7 @@ var Oe = function() {
|
|
3938
3934
|
var r;
|
3939
3935
|
if (t && t !== this)
|
3940
3936
|
if (this.closed)
|
3941
|
-
|
3937
|
+
Ct(t);
|
3942
3938
|
else {
|
3943
3939
|
if (t instanceof e) {
|
3944
3940
|
if (t.closed || t._hasParent(this))
|
@@ -3963,20 +3959,16 @@ var Oe = function() {
|
|
3963
3959
|
var t = new e();
|
3964
3960
|
return t.closed = !0, t;
|
3965
3961
|
}(), e;
|
3966
|
-
}(),
|
3967
|
-
function
|
3962
|
+
}(), br = Oe.EMPTY;
|
3963
|
+
function gr(e) {
|
3968
3964
|
return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
3969
3965
|
}
|
3970
|
-
function
|
3966
|
+
function Ct(e) {
|
3971
3967
|
G(e) ? e() : e.unsubscribe();
|
3972
3968
|
}
|
3973
|
-
var
|
3974
|
-
|
3975
|
-
|
3976
|
-
Promise: void 0,
|
3977
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
3978
|
-
useDeprecatedNextContext: !1
|
3979
|
-
}, qi = {
|
3969
|
+
var Ji = {
|
3970
|
+
Promise: void 0
|
3971
|
+
}, Yi = {
|
3980
3972
|
setTimeout: function(e, t) {
|
3981
3973
|
for (var r = [], n = 2; n < arguments.length; n++)
|
3982
3974
|
r[n - 2] = arguments[n];
|
@@ -3987,21 +3979,21 @@ var Yi = {
|
|
3987
3979
|
},
|
3988
3980
|
delegate: void 0
|
3989
3981
|
};
|
3990
|
-
function
|
3991
|
-
|
3982
|
+
function qi(e) {
|
3983
|
+
Yi.setTimeout(function() {
|
3992
3984
|
throw e;
|
3993
3985
|
});
|
3994
3986
|
}
|
3995
|
-
function
|
3987
|
+
function Pt() {
|
3996
3988
|
}
|
3997
3989
|
function ve(e) {
|
3998
3990
|
e();
|
3999
3991
|
}
|
4000
|
-
var
|
3992
|
+
var yr = function(e) {
|
4001
3993
|
U(t, e);
|
4002
3994
|
function t(r) {
|
4003
3995
|
var n = e.call(this) || this;
|
4004
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
3996
|
+
return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = to, n;
|
4005
3997
|
}
|
4006
3998
|
return t.create = function(r, n, i) {
|
4007
3999
|
return new Ke(r, n, i);
|
@@ -4028,7 +4020,7 @@ var vr = function(e) {
|
|
4028
4020
|
this.unsubscribe();
|
4029
4021
|
}
|
4030
4022
|
}, t;
|
4031
|
-
}(Oe),
|
4023
|
+
}(Oe), Ki = function() {
|
4032
4024
|
function e(t) {
|
4033
4025
|
this.partialObserver = t;
|
4034
4026
|
}
|
@@ -4067,35 +4059,35 @@ var vr = function(e) {
|
|
4067
4059
|
next: r ?? void 0,
|
4068
4060
|
error: n ?? void 0,
|
4069
4061
|
complete: i ?? void 0
|
4070
|
-
} : s = r, o.destination = new
|
4062
|
+
} : s = r, o.destination = new Ki(s), o;
|
4071
4063
|
}
|
4072
4064
|
return t;
|
4073
|
-
}(
|
4065
|
+
}(yr);
|
4074
4066
|
function me(e) {
|
4075
|
-
|
4067
|
+
qi(e);
|
4076
4068
|
}
|
4077
|
-
function
|
4069
|
+
function eo(e) {
|
4078
4070
|
throw e;
|
4079
4071
|
}
|
4080
|
-
var
|
4072
|
+
var to = {
|
4081
4073
|
closed: !0,
|
4082
|
-
next:
|
4083
|
-
error:
|
4084
|
-
complete:
|
4085
|
-
},
|
4074
|
+
next: Pt,
|
4075
|
+
error: eo,
|
4076
|
+
complete: Pt
|
4077
|
+
}, ro = function() {
|
4086
4078
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4087
4079
|
}();
|
4088
|
-
function
|
4080
|
+
function no(e) {
|
4089
4081
|
return e;
|
4090
4082
|
}
|
4091
|
-
function
|
4092
|
-
return e.length === 0 ?
|
4083
|
+
function io(e) {
|
4084
|
+
return e.length === 0 ? no : e.length === 1 ? e[0] : function(r) {
|
4093
4085
|
return e.reduce(function(n, i) {
|
4094
4086
|
return i(n);
|
4095
4087
|
}, r);
|
4096
4088
|
};
|
4097
4089
|
}
|
4098
|
-
var
|
4090
|
+
var Bt = function() {
|
4099
4091
|
function e(t) {
|
4100
4092
|
t && (this._subscribe = t);
|
4101
4093
|
}
|
@@ -4103,7 +4095,7 @@ var At = function() {
|
|
4103
4095
|
var r = new e();
|
4104
4096
|
return r.source = this, r.operator = t, r;
|
4105
4097
|
}, e.prototype.subscribe = function(t, r, n) {
|
4106
|
-
var i = this, o =
|
4098
|
+
var i = this, o = so(t) ? t : new Ke(t, r, n);
|
4107
4099
|
return ve(function() {
|
4108
4100
|
var s = i, a = s.operator, l = s.source;
|
4109
4101
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4116,7 +4108,7 @@ var At = function() {
|
|
4116
4108
|
}
|
4117
4109
|
}, e.prototype.forEach = function(t, r) {
|
4118
4110
|
var n = this;
|
4119
|
-
return r =
|
4111
|
+
return r = At(r), new r(function(i, o) {
|
4120
4112
|
var s = new Ke({
|
4121
4113
|
next: function(a) {
|
4122
4114
|
try {
|
@@ -4133,15 +4125,15 @@ var At = function() {
|
|
4133
4125
|
}, e.prototype._subscribe = function(t) {
|
4134
4126
|
var r;
|
4135
4127
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4136
|
-
}, e.prototype[
|
4128
|
+
}, e.prototype[ro] = function() {
|
4137
4129
|
return this;
|
4138
4130
|
}, e.prototype.pipe = function() {
|
4139
4131
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4140
4132
|
t[r] = arguments[r];
|
4141
|
-
return
|
4133
|
+
return io(t)(this);
|
4142
4134
|
}, e.prototype.toPromise = function(t) {
|
4143
4135
|
var r = this;
|
4144
|
-
return t =
|
4136
|
+
return t = At(t), new t(function(n, i) {
|
4145
4137
|
var o;
|
4146
4138
|
r.subscribe(function(s) {
|
4147
4139
|
return o = s;
|
@@ -4155,32 +4147,32 @@ var At = function() {
|
|
4155
4147
|
return new e(t);
|
4156
4148
|
}, e;
|
4157
4149
|
}();
|
4158
|
-
function
|
4150
|
+
function At(e) {
|
4159
4151
|
var t;
|
4160
|
-
return (t = e ??
|
4152
|
+
return (t = e ?? Ji.Promise) !== null && t !== void 0 ? t : Promise;
|
4161
4153
|
}
|
4162
|
-
function
|
4154
|
+
function oo(e) {
|
4163
4155
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
4164
4156
|
}
|
4165
|
-
function
|
4166
|
-
return e && e instanceof
|
4157
|
+
function so(e) {
|
4158
|
+
return e && e instanceof yr || oo(e) && gr(e);
|
4167
4159
|
}
|
4168
|
-
var
|
4160
|
+
var ao = mr(function(e) {
|
4169
4161
|
return function() {
|
4170
4162
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4171
4163
|
};
|
4172
|
-
}),
|
4164
|
+
}), vr = function(e) {
|
4173
4165
|
U(t, e);
|
4174
4166
|
function t() {
|
4175
4167
|
var r = e.call(this) || this;
|
4176
4168
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4177
4169
|
}
|
4178
4170
|
return t.prototype.lift = function(r) {
|
4179
|
-
var n = new
|
4171
|
+
var n = new Ot(this, this);
|
4180
4172
|
return n.operator = r, n;
|
4181
4173
|
}, t.prototype._throwIfClosed = function() {
|
4182
4174
|
if (this.closed)
|
4183
|
-
throw new
|
4175
|
+
throw new ao();
|
4184
4176
|
}, t.prototype.next = function(r) {
|
4185
4177
|
var n = this;
|
4186
4178
|
ve(function() {
|
@@ -4236,19 +4228,19 @@ var uo = br(function(e) {
|
|
4236
4228
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4237
4229
|
}, t.prototype._innerSubscribe = function(r) {
|
4238
4230
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4239
|
-
return o || s ?
|
4231
|
+
return o || s ? br : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4240
4232
|
n.currentObservers = null, qe(a, r);
|
4241
4233
|
}));
|
4242
4234
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4243
4235
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4244
4236
|
i ? r.error(o) : s && r.complete();
|
4245
4237
|
}, t.prototype.asObservable = function() {
|
4246
|
-
var r = new
|
4238
|
+
var r = new Bt();
|
4247
4239
|
return r.source = this, r;
|
4248
4240
|
}, t.create = function(r, n) {
|
4249
|
-
return new
|
4241
|
+
return new Ot(r, n);
|
4250
4242
|
}, t;
|
4251
|
-
}(
|
4243
|
+
}(Bt), Ot = function(e) {
|
4252
4244
|
U(t, e);
|
4253
4245
|
function t(r, n) {
|
4254
4246
|
var i = e.call(this) || this;
|
@@ -4265,17 +4257,17 @@ var uo = br(function(e) {
|
|
4265
4257
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4266
4258
|
}, t.prototype._subscribe = function(r) {
|
4267
4259
|
var n, i;
|
4268
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4260
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
|
4269
4261
|
}, t;
|
4270
|
-
}(
|
4262
|
+
}(vr), _r = {
|
4271
4263
|
now: function() {
|
4272
|
-
return (
|
4264
|
+
return (_r.delegate || Date).now();
|
4273
4265
|
},
|
4274
4266
|
delegate: void 0
|
4275
|
-
},
|
4267
|
+
}, uo = function(e) {
|
4276
4268
|
U(t, e);
|
4277
4269
|
function t(r, n, i) {
|
4278
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4270
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
|
4279
4271
|
var o = e.call(this) || this;
|
4280
4272
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
4281
4273
|
}
|
@@ -4295,28 +4287,28 @@ var uo = br(function(e) {
|
|
4295
4287
|
h && o.splice(0, h + 1);
|
4296
4288
|
}
|
4297
4289
|
}, t;
|
4298
|
-
}(
|
4299
|
-
const
|
4300
|
-
if (
|
4301
|
-
const r = new
|
4302
|
-
|
4290
|
+
}(vr);
|
4291
|
+
const It = [], Lt = {}, lo = (e, t = 0) => {
|
4292
|
+
if (It.indexOf(e) == -1) {
|
4293
|
+
const r = new uo(t);
|
4294
|
+
Lt[e] = r, It.push(e);
|
4303
4295
|
}
|
4304
|
-
return
|
4296
|
+
return Lt[e];
|
4305
4297
|
};
|
4306
|
-
window.emWidgets = { topic:
|
4307
|
-
const
|
4308
|
-
function
|
4309
|
-
|
4298
|
+
window.emWidgets = { topic: lo };
|
4299
|
+
const ho = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
4300
|
+
function co(e) {
|
4301
|
+
$r(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
4310
4302
|
}
|
4311
|
-
function
|
4303
|
+
function Nt(e, t, r) {
|
4312
4304
|
const n = e.slice();
|
4313
4305
|
return n[41] = t[r], n;
|
4314
4306
|
}
|
4315
|
-
function
|
4307
|
+
function Mt(e, t, r) {
|
4316
4308
|
const n = e.slice();
|
4317
4309
|
return n[44] = t[r], n;
|
4318
4310
|
}
|
4319
|
-
function
|
4311
|
+
function fo(e) {
|
4320
4312
|
let t, r, n, i = (
|
4321
4313
|
/*type*/
|
4322
4314
|
(e[0] == "vendor" ? (
|
@@ -4329,13 +4321,13 @@ function po(e) {
|
|
4329
4321
|
), o, s, a, l, h, u, c = (
|
4330
4322
|
/*numberOfSlides*/
|
4331
4323
|
e[8] > /*numberOfVisibleSlides*/
|
4332
|
-
e[9] &&
|
4324
|
+
e[9] && Rt(e)
|
4333
4325
|
), f = Se(
|
4334
4326
|
/*gameCategories*/
|
4335
4327
|
e[3]
|
4336
4328
|
), m = [];
|
4337
4329
|
for (let d = 0; d < f.length; d += 1)
|
4338
|
-
m[d] =
|
4330
|
+
m[d] = Ut(Nt(e, f, d));
|
4339
4331
|
return {
|
4340
4332
|
c() {
|
4341
4333
|
t = H("div"), r = H("div"), n = H("p"), o = He(i), s = F(), c && c.c(), a = F(), l = H("div");
|
@@ -4352,7 +4344,7 @@ function po(e) {
|
|
4352
4344
|
R(d, t, g), T(t, r), T(r, n), T(n, o), T(r, s), c && c.m(r, null), T(t, a), T(t, l);
|
4353
4345
|
for (let p = 0; p < m.length; p += 1)
|
4354
4346
|
m[p] && m[p].m(l, null);
|
4355
|
-
e[26](l), h =
|
4347
|
+
e[26](l), h = jr(
|
4356
4348
|
l,
|
4357
4349
|
/*div1_elementresize_handler*/
|
4358
4350
|
e[27].bind(l)
|
@@ -4369,7 +4361,7 @@ function po(e) {
|
|
4369
4361
|
d[11]("collections")
|
4370
4362
|
)) + "") && tt(o, i), /*numberOfSlides*/
|
4371
4363
|
d[8] > /*numberOfVisibleSlides*/
|
4372
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4364
|
+
d[9] ? c ? c.p(d, g) : (c = Rt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4373
4365
|
49166) {
|
4374
4366
|
f = Se(
|
4375
4367
|
/*gameCategories*/
|
@@ -4377,8 +4369,8 @@ function po(e) {
|
|
4377
4369
|
);
|
4378
4370
|
let p;
|
4379
4371
|
for (p = 0; p < f.length; p += 1) {
|
4380
|
-
const S =
|
4381
|
-
m[p] ? m[p].p(S, g) : (m[p] =
|
4372
|
+
const S = Nt(d, f, p);
|
4373
|
+
m[p] ? m[p].p(S, g) : (m[p] = Ut(S), m[p].c(), m[p].m(l, null));
|
4382
4374
|
}
|
4383
4375
|
for (; p < m.length; p += 1)
|
4384
4376
|
m[p].d(1);
|
@@ -4390,11 +4382,11 @@ function po(e) {
|
|
4390
4382
|
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
|
4391
4383
|
},
|
4392
4384
|
d(d) {
|
4393
|
-
d && N(t), c && c.d(),
|
4385
|
+
d && N(t), c && c.d(), jt(m, d), e[26](null), h();
|
4394
4386
|
}
|
4395
4387
|
};
|
4396
4388
|
}
|
4397
|
-
function
|
4389
|
+
function po(e) {
|
4398
4390
|
let t;
|
4399
4391
|
return {
|
4400
4392
|
c() {
|
@@ -4409,7 +4401,7 @@ function mo(e) {
|
|
4409
4401
|
}
|
4410
4402
|
};
|
4411
4403
|
}
|
4412
|
-
function
|
4404
|
+
function Rt(e) {
|
4413
4405
|
let t, r, n, i, o, s;
|
4414
4406
|
return {
|
4415
4407
|
c() {
|
@@ -4437,7 +4429,7 @@ function $t(e) {
|
|
4437
4429
|
}
|
4438
4430
|
};
|
4439
4431
|
}
|
4440
|
-
function
|
4432
|
+
function mo(e) {
|
4441
4433
|
let t, r = (
|
4442
4434
|
/*category*/
|
4443
4435
|
e[41].name + ""
|
@@ -4459,7 +4451,7 @@ function bo(e) {
|
|
4459
4451
|
}
|
4460
4452
|
};
|
4461
4453
|
}
|
4462
|
-
function
|
4454
|
+
function bo(e) {
|
4463
4455
|
let t, r, n;
|
4464
4456
|
return {
|
4465
4457
|
c() {
|
@@ -4482,7 +4474,7 @@ function go(e) {
|
|
4482
4474
|
}
|
4483
4475
|
};
|
4484
4476
|
}
|
4485
|
-
function
|
4477
|
+
function $t(e) {
|
4486
4478
|
let t, r = (
|
4487
4479
|
/*game*/
|
4488
4480
|
e[44].name + ""
|
@@ -4507,7 +4499,7 @@ function Gt(e) {
|
|
4507
4499
|
}
|
4508
4500
|
};
|
4509
4501
|
}
|
4510
|
-
function
|
4502
|
+
function Gt(e) {
|
4511
4503
|
let t, r, n, i, o, s, a, l;
|
4512
4504
|
function h() {
|
4513
4505
|
return (
|
@@ -4520,7 +4512,7 @@ function Ut(e) {
|
|
4520
4512
|
}
|
4521
4513
|
let u = (
|
4522
4514
|
/*collectionprovidersgamenames*/
|
4523
|
-
e[2] == "true" &&
|
4515
|
+
e[2] == "true" && $t(e)
|
4524
4516
|
);
|
4525
4517
|
return {
|
4526
4518
|
c() {
|
@@ -4529,7 +4521,7 @@ function Ut(e) {
|
|
4529
4521
|
e[44].name), E(t, "class", "CategorySlideGames");
|
4530
4522
|
},
|
4531
4523
|
m(c, f) {
|
4532
|
-
R(c, t, f), T(t, r), T(t, o), u && u.m(t, null), T(t, s), a || (l = Q(r, "click",
|
4524
|
+
R(c, t, f), T(t, r), T(t, o), u && u.m(t, null), T(t, s), a || (l = Q(r, "click", Dr(h)), a = !0);
|
4533
4525
|
},
|
4534
4526
|
p(c, f) {
|
4535
4527
|
e = c, f[0] & /*gameCategories*/
|
@@ -4537,31 +4529,31 @@ function Ut(e) {
|
|
4537
4529
|
e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
|
4538
4530
|
8 && i !== (i = /*game*/
|
4539
4531
|
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4540
|
-
e[2] == "true" ? u ? u.p(e, f) : (u =
|
4532
|
+
e[2] == "true" ? u ? u.p(e, f) : (u = $t(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
|
4541
4533
|
},
|
4542
4534
|
d(c) {
|
4543
4535
|
c && N(t), u && u.d(), a = !1, l();
|
4544
4536
|
}
|
4545
4537
|
};
|
4546
4538
|
}
|
4547
|
-
function
|
4539
|
+
function Ut(e) {
|
4548
4540
|
let t, r, n, i, o, s, a, l, h;
|
4549
4541
|
function u(p, S) {
|
4550
4542
|
if (
|
4551
4543
|
/*titletype*/
|
4552
4544
|
p[1] == "logo"
|
4553
|
-
) return
|
4545
|
+
) return bo;
|
4554
4546
|
if (
|
4555
4547
|
/*titletype*/
|
4556
4548
|
p[1] == "title"
|
4557
|
-
) return
|
4549
|
+
) return mo;
|
4558
4550
|
}
|
4559
4551
|
let c = u(e), f = c && c(e), m = Se(
|
4560
4552
|
/*category*/
|
4561
4553
|
e[41].games
|
4562
4554
|
), d = [];
|
4563
4555
|
for (let p = 0; p < m.length; p += 1)
|
4564
|
-
d[p] =
|
4556
|
+
d[p] = Gt(Mt(e, m, p));
|
4565
4557
|
function g() {
|
4566
4558
|
return (
|
4567
4559
|
/*click_handler_3*/
|
@@ -4595,8 +4587,8 @@ function Dt(e) {
|
|
4595
4587
|
);
|
4596
4588
|
let _;
|
4597
4589
|
for (_ = 0; _ < m.length; _ += 1) {
|
4598
|
-
const P =
|
4599
|
-
d[_] ? d[_].p(P, S) : (d[_] =
|
4590
|
+
const P = Mt(e, m, _);
|
4591
|
+
d[_] ? d[_].p(P, S) : (d[_] = Gt(P), d[_].c(), d[_].m(o, null));
|
4600
4592
|
}
|
4601
4593
|
for (; _ < d.length; _ += 1)
|
4602
4594
|
d[_].d(1);
|
@@ -4609,16 +4601,16 @@ function Dt(e) {
|
|
4609
4601
|
e[41]?.background + ")");
|
4610
4602
|
},
|
4611
4603
|
d(p) {
|
4612
|
-
p && N(t), f && f.d(),
|
4604
|
+
p && N(t), f && f.d(), jt(d, p), l = !1, h();
|
4613
4605
|
}
|
4614
4606
|
};
|
4615
4607
|
}
|
4616
|
-
function
|
4608
|
+
function go(e) {
|
4617
4609
|
let t;
|
4618
4610
|
function r(o, s) {
|
4619
4611
|
return (
|
4620
4612
|
/*isLoading*/
|
4621
|
-
o[7] ?
|
4613
|
+
o[7] ? po : fo
|
4622
4614
|
);
|
4623
4615
|
}
|
4624
4616
|
let n = r(e), i = n(e);
|
@@ -4639,23 +4631,23 @@ function yo(e) {
|
|
4639
4631
|
}
|
4640
4632
|
};
|
4641
4633
|
}
|
4642
|
-
function
|
4634
|
+
function yo(e, t, r) {
|
4643
4635
|
let n;
|
4644
|
-
|
4636
|
+
Rr(e, Zi, (b) => r(11, n = b));
|
4645
4637
|
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, m = [], d = !0, g, p = 0, S = 0, _ = 0, P, $, B, j = window.navigator.userAgent, ie, oe = 0;
|
4646
|
-
const
|
4638
|
+
const xr = () => {
|
4647
4639
|
fetch(c).then((C) => C.json()).then((C) => {
|
4648
4640
|
Object.keys(C).forEach((O) => {
|
4649
|
-
|
4641
|
+
Tt(O, C[O]);
|
4650
4642
|
});
|
4651
4643
|
}).catch((C) => {
|
4652
4644
|
console.log(C);
|
4653
4645
|
});
|
4654
4646
|
};
|
4655
|
-
Object.keys(
|
4656
|
-
|
4647
|
+
Object.keys(Ht).forEach((b) => {
|
4648
|
+
Tt(b, Ht[b]);
|
4657
4649
|
});
|
4658
|
-
const
|
4650
|
+
const Er = () => {
|
4659
4651
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4660
4652
|
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((C) => C.json()).then((C) => {
|
4661
4653
|
r(7, d = !1);
|
@@ -4664,24 +4656,24 @@ function vo(e, t, r) {
|
|
4664
4656
|
id: L.id,
|
4665
4657
|
name: L.name,
|
4666
4658
|
icon: L.icon ? L.icon : L.vendors?.items[0]?.subVendors[0]?.logo,
|
4667
|
-
games: L.games.items.slice(0, 4).map((
|
4659
|
+
games: L.games.items.slice(0, 4).map((Nr) => Nr),
|
4668
4660
|
background: L.background,
|
4669
4661
|
flag: L.flags
|
4670
4662
|
}))), r(8, S = m.length);
|
4671
4663
|
});
|
4672
|
-
},
|
4664
|
+
}, it = (b) => {
|
4673
4665
|
$ = [...g.children], $.forEach((C, O) => {
|
4674
4666
|
C.style.transform = `translateX(${100 * (b ? O - b : O)}%)`;
|
4675
|
-
}), P = $[0].getBoundingClientRect().width,
|
4676
|
-
},
|
4667
|
+
}), P = $[0].getBoundingClientRect().width, Sr();
|
4668
|
+
}, Sr = () => {
|
4677
4669
|
r(9, _ = Math.floor(oe / P));
|
4670
|
+
}, ot = () => {
|
4671
|
+
it(p);
|
4678
4672
|
}, st = () => {
|
4679
|
-
ot(
|
4673
|
+
p === 0 ? p = S - _ : p - _ < -1 ? p = 0 : p--, ot();
|
4680
4674
|
}, at = () => {
|
4681
|
-
p ===
|
4682
|
-
}, ut = () => {
|
4683
|
-
p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, st();
|
4684
|
-
}, lt = (b, C, O, L) => {
|
4675
|
+
p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, ot();
|
4676
|
+
}, ut = (b, C, O, L) => {
|
4685
4677
|
window.postMessage(
|
4686
4678
|
{
|
4687
4679
|
type: "OpenCollectionsProvidersGame",
|
@@ -4695,7 +4687,7 @@ function vo(e, t, r) {
|
|
4695
4687
|
context: "CollectionsProviders",
|
4696
4688
|
gameName: `${O}`
|
4697
4689
|
});
|
4698
|
-
},
|
4690
|
+
}, lt = (b) => {
|
4699
4691
|
window.postMessage(
|
4700
4692
|
{
|
4701
4693
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4703,12 +4695,12 @@ function vo(e, t, r) {
|
|
4703
4695
|
},
|
4704
4696
|
window.location.href
|
4705
4697
|
);
|
4698
|
+
}, wr = () => {
|
4699
|
+
Qi(s);
|
4706
4700
|
}, Tr = () => {
|
4707
|
-
Ji(s);
|
4708
|
-
}, Hr = () => {
|
4709
4701
|
let b = document.createElement("style");
|
4710
4702
|
b.innerHTML = h, B.appendChild(b);
|
4711
|
-
},
|
4703
|
+
}, Hr = () => {
|
4712
4704
|
let b = new URL(u), C = document.createElement("style");
|
4713
4705
|
fetch(b.href).then((O) => O.text()).then((O) => {
|
4714
4706
|
C.innerHTML = O, setTimeout(
|
@@ -4719,19 +4711,19 @@ function vo(e, t, r) {
|
|
4719
4711
|
);
|
4720
4712
|
});
|
4721
4713
|
};
|
4722
|
-
|
4723
|
-
r(10, ie =
|
4714
|
+
Wr(() => {
|
4715
|
+
r(10, ie = ho(j));
|
4724
4716
|
});
|
4725
|
-
const
|
4726
|
-
function
|
4717
|
+
const Cr = () => st(), Pr = () => at(), Br = (b) => ut(b.gameId, b.launchUrl, b.name, b.subVendor), Ar = (b) => lt(b.id);
|
4718
|
+
function Or(b) {
|
4727
4719
|
xe[b ? "unshift" : "push"](() => {
|
4728
4720
|
g = b, r(4, g);
|
4729
4721
|
});
|
4730
4722
|
}
|
4731
|
-
function
|
4723
|
+
function Ir() {
|
4732
4724
|
oe = this.clientWidth, r(6, oe);
|
4733
4725
|
}
|
4734
|
-
function
|
4726
|
+
function Lr(b) {
|
4735
4727
|
xe[b ? "unshift" : "push"](() => {
|
4736
4728
|
B = b, r(5, B);
|
4737
4729
|
});
|
@@ -4740,12 +4732,12 @@ function vo(e, t, r) {
|
|
4740
4732
|
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, u = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
|
4741
4733
|
}, e.$$.update = () => {
|
4742
4734
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4743
|
-
458752 && i && o && s &&
|
4744
|
-
88 && oe && m && g &&
|
4745
|
-
262144 && s &&
|
4746
|
-
524320 && h && B &&
|
4747
|
-
1048608 && u && B &&
|
4748
|
-
2097152 && c &&
|
4735
|
+
458752 && i && o && s && Er(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4736
|
+
88 && oe && m && g && it(), e.$$.dirty[0] & /*lang*/
|
4737
|
+
262144 && s && wr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4738
|
+
524320 && h && B && Tr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4739
|
+
1048608 && u && B && Hr(), e.$$.dirty[0] & /*translationurl*/
|
4740
|
+
2097152 && c && xr();
|
4749
4741
|
}, [
|
4750
4742
|
a,
|
4751
4743
|
l,
|
@@ -4759,33 +4751,33 @@ function vo(e, t, r) {
|
|
4759
4751
|
_,
|
4760
4752
|
ie,
|
4761
4753
|
n,
|
4754
|
+
st,
|
4762
4755
|
at,
|
4763
4756
|
ut,
|
4764
4757
|
lt,
|
4765
|
-
ht,
|
4766
4758
|
i,
|
4767
4759
|
o,
|
4768
4760
|
s,
|
4769
4761
|
h,
|
4770
4762
|
u,
|
4771
4763
|
c,
|
4764
|
+
Cr,
|
4772
4765
|
Pr,
|
4773
4766
|
Br,
|
4774
4767
|
Ar,
|
4775
4768
|
Or,
|
4776
4769
|
Ir,
|
4777
|
-
Lr
|
4778
|
-
Nr
|
4770
|
+
Lr
|
4779
4771
|
];
|
4780
4772
|
}
|
4781
|
-
class
|
4773
|
+
class vo extends on {
|
4782
4774
|
constructor(t) {
|
4783
|
-
super(),
|
4775
|
+
super(), rn(
|
4784
4776
|
this,
|
4785
4777
|
t,
|
4786
|
-
vo,
|
4787
4778
|
yo,
|
4788
|
-
|
4779
|
+
go,
|
4780
|
+
Ft,
|
4789
4781
|
{
|
4790
4782
|
endpoint: 16,
|
4791
4783
|
datasource: 17,
|
@@ -4797,7 +4789,7 @@ class _o extends sn {
|
|
4797
4789
|
translationurl: 21,
|
4798
4790
|
collectionprovidersgamenames: 2
|
4799
4791
|
},
|
4800
|
-
|
4792
|
+
co,
|
4801
4793
|
[-1, -1]
|
4802
4794
|
);
|
4803
4795
|
}
|
@@ -4856,7 +4848,7 @@ class _o extends sn {
|
|
4856
4848
|
this.$$set({ collectionprovidersgamenames: t }), M();
|
4857
4849
|
}
|
4858
4850
|
}
|
4859
|
-
|
4851
|
+
nn(vo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
|
4860
4852
|
export {
|
4861
|
-
|
4853
|
+
vo as C
|
4862
4854
|
};
|