@everymatrix/casino-collections-providers 1.54.12 → 1.56.0
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-BD2iWN3b.cjs → CasinoCollectionsProviders-B8bXcXAF.cjs} +3 -3
- package/components/{CasinoCollectionsProviders-CNIQdIJc.js → CasinoCollectionsProviders-D1ouM50A.js} +673 -655
- package/components/{CasinoCollectionsProviders-WYV9fhve.js → CasinoCollectionsProviders-DbC21yJP.js} +711 -693
- package/es2015/casino-collections-providers.cjs +1 -1
- package/es2015/casino-collections-providers.js +1 -1
- package/esnext/casino-collections-providers.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCollectionsProviders-WYV9fhve.js → CasinoCollectionsProviders-DbC21yJP.js}
RENAMED
@@ -1,50 +1,50 @@
|
|
1
|
-
function
|
1
|
+
function O() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Ft(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function ct() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function ee(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Ft);
|
11
11
|
}
|
12
12
|
function et(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function kt(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 Nr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function jt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
29
|
-
return
|
29
|
+
return O;
|
30
30
|
}
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Mr(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(jt(t, r));
|
36
36
|
}
|
37
|
-
function
|
37
|
+
function H(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
41
|
-
const n =
|
40
|
+
function Rr(e, t, r) {
|
41
|
+
const n = $r(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
|
-
const i =
|
44
|
-
i.id = t, i.textContent = r,
|
43
|
+
const i = C("style");
|
44
|
+
i.id = t, i.textContent = r, Gr(n, i);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function $r(e) {
|
48
48
|
if (!e) return document;
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
50
50
|
return t && /** @type {ShadowRoot} */
|
@@ -53,44 +53,44 @@ function Gr(e) {
|
|
53
53
|
t
|
54
54
|
) : e.ownerDocument;
|
55
55
|
}
|
56
|
-
function
|
57
|
-
return
|
56
|
+
function Gr(e, t) {
|
57
|
+
return H(
|
58
58
|
/** @type {Document} */
|
59
59
|
e.head || e,
|
60
60
|
t
|
61
61
|
), t.sheet;
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function $(e, t, r) {
|
64
64
|
e.insertBefore(t, r || null);
|
65
65
|
}
|
66
66
|
function N(e) {
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function Vt(e, t) {
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
71
71
|
e[r] && e[r].d(t);
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function C(e) {
|
74
74
|
return document.createElement(e);
|
75
75
|
}
|
76
76
|
function He(e) {
|
77
77
|
return document.createTextNode(e);
|
78
78
|
}
|
79
|
-
function
|
79
|
+
function k() {
|
80
80
|
return He(" ");
|
81
81
|
}
|
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 Ur(e) {
|
86
86
|
return function(t) {
|
87
87
|
return t.stopPropagation(), e.call(this, t);
|
88
88
|
};
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function S(e, t, r) {
|
91
91
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function Dr(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 Fr() {
|
105
105
|
if (de === void 0) {
|
106
106
|
de = !1;
|
107
107
|
try {
|
@@ -112,14 +112,14 @@ function kr() {
|
|
112
112
|
}
|
113
113
|
return de;
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function kr(e, t) {
|
116
116
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
117
|
-
const n =
|
117
|
+
const n = C("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 = Fr();
|
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,
|
@@ -130,11 +130,11 @@ function jr(e, t) {
|
|
130
130
|
}
|
131
131
|
)) : (n.src = "about:blank", n.onload = () => {
|
132
132
|
o = Q(n.contentWindow, "resize", t), t();
|
133
|
-
}),
|
133
|
+
}), H(e, n), () => {
|
134
134
|
(i || o && n.contentWindow) && o(), N(n);
|
135
135
|
};
|
136
136
|
}
|
137
|
-
function
|
137
|
+
function jr(e) {
|
138
138
|
const t = {};
|
139
139
|
return e.childNodes.forEach(
|
140
140
|
/** @param {Element} node */
|
@@ -143,96 +143,96 @@ function Vr(e) {
|
|
143
143
|
}
|
144
144
|
), t;
|
145
145
|
}
|
146
|
-
let
|
147
|
-
function
|
148
|
-
|
146
|
+
let ae;
|
147
|
+
function se(e) {
|
148
|
+
ae = e;
|
149
149
|
}
|
150
|
-
function
|
151
|
-
if (!
|
152
|
-
return
|
150
|
+
function Vr() {
|
151
|
+
if (!ae) throw new Error("Function called outside component initialization");
|
152
|
+
return ae;
|
153
153
|
}
|
154
|
-
function
|
155
|
-
|
154
|
+
function Xr(e) {
|
155
|
+
Vr().$$.on_mount.push(e);
|
156
156
|
}
|
157
157
|
const W = [], xe = [];
|
158
158
|
let z = [];
|
159
|
-
const
|
159
|
+
const ft = [], Wr = /* @__PURE__ */ Promise.resolve();
|
160
160
|
let De = !1;
|
161
|
-
function
|
162
|
-
De || (De = !0,
|
161
|
+
function zr() {
|
162
|
+
De || (De = !0, Wr.then(L));
|
163
163
|
}
|
164
164
|
function Ee(e) {
|
165
165
|
z.push(e);
|
166
166
|
}
|
167
167
|
const Le = /* @__PURE__ */ new Set();
|
168
168
|
let V = 0;
|
169
|
-
function
|
169
|
+
function L() {
|
170
170
|
if (V !== 0)
|
171
171
|
return;
|
172
|
-
const e =
|
172
|
+
const e = ae;
|
173
173
|
do {
|
174
174
|
try {
|
175
175
|
for (; V < W.length; ) {
|
176
176
|
const t = W[V];
|
177
|
-
V++,
|
177
|
+
V++, se(t), Zr(t.$$);
|
178
178
|
}
|
179
179
|
} catch (t) {
|
180
180
|
throw W.length = 0, V = 0, t;
|
181
181
|
}
|
182
|
-
for (
|
182
|
+
for (se(null), W.length = 0, V = 0; xe.length; ) xe.pop()();
|
183
183
|
for (let t = 0; t < z.length; t += 1) {
|
184
184
|
const r = z[t];
|
185
185
|
Le.has(r) || (Le.add(r), r());
|
186
186
|
}
|
187
187
|
z.length = 0;
|
188
188
|
} while (W.length);
|
189
|
-
for (;
|
190
|
-
|
191
|
-
De = !1, Le.clear(),
|
189
|
+
for (; ft.length; )
|
190
|
+
ft.pop()();
|
191
|
+
De = !1, Le.clear(), se(e);
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function Zr(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 Qr(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
|
204
|
+
const Jr = /* @__PURE__ */ new Set();
|
205
205
|
function qr(e, t) {
|
206
|
-
e && e.i && (
|
206
|
+
e && e.i && (Jr.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 Yr(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(Ft).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 Kr(e, t) {
|
219
219
|
const r = e.$$;
|
220
|
-
r.fragment !== null && (
|
220
|
+
r.fragment !== null && (Qr(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 en(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
|
226
|
-
const u =
|
227
|
-
|
225
|
+
function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
226
|
+
const u = ae;
|
227
|
+
se(e);
|
228
228
|
const h = e.$$ = {
|
229
229
|
fragment: null,
|
230
230
|
ctx: [],
|
231
231
|
// state
|
232
232
|
props: o,
|
233
|
-
update:
|
233
|
+
update: O,
|
234
234
|
not_equal: i,
|
235
|
-
bound:
|
235
|
+
bound: ct(),
|
236
236
|
// lifecycle
|
237
237
|
on_mount: [],
|
238
238
|
on_destroy: [],
|
@@ -241,28 +241,28 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
241
241
|
after_update: [],
|
242
242
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
243
243
|
// everything else
|
244
|
-
callbacks:
|
244
|
+
callbacks: ct(),
|
245
245
|
dirty: a,
|
246
246
|
skip_bound: !1,
|
247
247
|
root: t.target || u.$$.root
|
248
248
|
};
|
249
249
|
s && s(h.root);
|
250
250
|
let l = !1;
|
251
|
-
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...
|
252
|
-
const d =
|
253
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l &&
|
251
|
+
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
252
|
+
const d = p.length ? p[0] : f;
|
253
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && en(e, c)), f;
|
254
254
|
}) : [], h.update(), l = !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 = Dr(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 && qr(e.$$.fragment),
|
260
|
+
t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), L();
|
261
261
|
}
|
262
|
-
|
262
|
+
se(u);
|
263
263
|
}
|
264
|
-
let
|
265
|
-
typeof HTMLElement == "function" && (
|
264
|
+
let Xt;
|
265
|
+
typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
266
266
|
/** The Svelte component constructor */
|
267
267
|
$$ctor;
|
268
268
|
/** Slots */
|
@@ -304,14 +304,14 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
304
304
|
let o;
|
305
305
|
return {
|
306
306
|
c: function() {
|
307
|
-
o =
|
307
|
+
o = C("slot"), i !== "default" && S(o, "name", i);
|
308
308
|
},
|
309
309
|
/**
|
310
310
|
* @param {HTMLElement} target
|
311
311
|
* @param {HTMLElement} [anchor]
|
312
312
|
*/
|
313
313
|
m: function(u, h) {
|
314
|
-
|
314
|
+
$(u, o, h);
|
315
315
|
},
|
316
316
|
d: function(u) {
|
317
317
|
u && N(o);
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Vt = 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 = jr(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 rn(e, t, r, n, i, o) {
|
412
|
+
let s = class extends Xt {
|
413
413
|
constructor() {
|
414
414
|
super(e, r, i), this.$$p_d = t;
|
415
415
|
}
|
@@ -437,7 +437,7 @@ function nn(e, t, r, n, i, o) {
|
|
437
437
|
}), e.element = /** @type {any} */
|
438
438
|
s, s;
|
439
439
|
}
|
440
|
-
class
|
440
|
+
class nn {
|
441
441
|
/**
|
442
442
|
* ### PRIVATE API
|
443
443
|
*
|
@@ -456,7 +456,7 @@ class on {
|
|
456
456
|
$$set = void 0;
|
457
457
|
/** @returns {void} */
|
458
458
|
$destroy() {
|
459
|
-
|
459
|
+
Kr(this, 1), this.$destroy = O;
|
460
460
|
}
|
461
461
|
/**
|
462
462
|
* @template {Extract<keyof Events, string>} K
|
@@ -466,7 +466,7 @@ class on {
|
|
466
466
|
*/
|
467
467
|
$on(t, r) {
|
468
468
|
if (!et(r))
|
469
|
-
return
|
469
|
+
return O;
|
470
470
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
471
471
|
return n.push(r), () => {
|
472
472
|
const i = n.indexOf(r);
|
@@ -478,22 +478,22 @@ class on {
|
|
478
478
|
* @returns {void}
|
479
479
|
*/
|
480
480
|
$set(t) {
|
481
|
-
this.$$set && !
|
481
|
+
this.$$set && !Nr(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 on = "4";
|
485
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
486
486
|
const X = [];
|
487
|
-
function
|
487
|
+
function sn(e, t) {
|
488
488
|
return {
|
489
489
|
subscribe: Ce(e, t).subscribe
|
490
490
|
};
|
491
491
|
}
|
492
|
-
function Ce(e, t =
|
492
|
+
function Ce(e, t = O) {
|
493
493
|
let r;
|
494
494
|
const n = /* @__PURE__ */ new Set();
|
495
495
|
function i(a) {
|
496
|
-
if (
|
496
|
+
if (kt(e, a) && (e = a, r)) {
|
497
497
|
const u = !X.length;
|
498
498
|
for (const h of n)
|
499
499
|
h[1](), X.push(h, e);
|
@@ -507,9 +507,9 @@ function Ce(e, t = I) {
|
|
507
507
|
function o(a) {
|
508
508
|
i(a(e));
|
509
509
|
}
|
510
|
-
function s(a, u =
|
510
|
+
function s(a, u = O) {
|
511
511
|
const h = [a, u];
|
512
|
-
return n.add(h), n.size === 1 && (r = t(i, o) ||
|
512
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || O), a(e), () => {
|
513
513
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
514
514
|
};
|
515
515
|
}
|
@@ -520,21 +520,21 @@ 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 sn(r, (s, a) => {
|
524
524
|
let u = !1;
|
525
525
|
const h = [];
|
526
|
-
let l = 0, c =
|
526
|
+
let l = 0, c = O;
|
527
527
|
const f = () => {
|
528
528
|
if (l)
|
529
529
|
return;
|
530
530
|
c();
|
531
531
|
const d = t(n ? h[0] : h, s, a);
|
532
|
-
o ? s(d) : c = et(d) ? d :
|
533
|
-
},
|
534
|
-
(d, g) =>
|
532
|
+
o ? s(d) : c = et(d) ? d : O;
|
533
|
+
}, p = i.map(
|
534
|
+
(d, g) => jt(
|
535
535
|
d,
|
536
|
-
(
|
537
|
-
h[g] =
|
536
|
+
(m) => {
|
537
|
+
h[g] = m, l &= ~(1 << g), u && f();
|
538
538
|
},
|
539
539
|
() => {
|
540
540
|
l |= 1 << g;
|
@@ -542,74 +542,74 @@ function te(e, t, r) {
|
|
542
542
|
)
|
543
543
|
);
|
544
544
|
return u = !0, f(), function() {
|
545
|
-
ee(
|
545
|
+
ee(p), c(), u = !1;
|
546
546
|
};
|
547
547
|
});
|
548
548
|
}
|
549
|
-
function
|
549
|
+
function an(e) {
|
550
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 un(t) && !hn(t);
|
554
554
|
};
|
555
|
-
function
|
555
|
+
function un(e) {
|
556
556
|
return !!e && typeof e == "object";
|
557
557
|
}
|
558
|
-
function
|
558
|
+
function hn(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]" || dn(e);
|
561
561
|
}
|
562
|
-
var
|
563
|
-
function
|
564
|
-
return e.$$typeof ===
|
562
|
+
var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
|
563
|
+
function dn(e) {
|
564
|
+
return e.$$typeof === fn;
|
565
565
|
}
|
566
|
-
function
|
566
|
+
function pn(e) {
|
567
567
|
return Array.isArray(e) ? [] : {};
|
568
568
|
}
|
569
|
-
function
|
570
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
569
|
+
function le(e, t) {
|
570
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(pn(e), e, t) : e;
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function mn(e, t, r) {
|
573
573
|
return e.concat(t).map(function(n) {
|
574
|
-
return
|
574
|
+
return le(n, r);
|
575
575
|
});
|
576
576
|
}
|
577
|
-
function
|
577
|
+
function bn(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 gn(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 dt(e) {
|
589
|
+
return Object.keys(e).concat(gn(e));
|
590
590
|
}
|
591
|
-
function
|
591
|
+
function Wt(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 Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
600
600
|
}
|
601
|
-
function
|
601
|
+
function yn(e, t, r) {
|
602
602
|
var n = {};
|
603
|
-
return r.isMergeableObject(e) &&
|
604
|
-
n[i] =
|
605
|
-
}),
|
606
|
-
|
603
|
+
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
604
|
+
n[i] = le(e[i], r);
|
605
|
+
}), dt(t).forEach(function(i) {
|
606
|
+
vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(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 || mn, 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) : yn(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 _n = J, xn = _n;
|
622
|
+
const En = /* @__PURE__ */ an(xn);
|
623
623
|
var Fe = function(e, t) {
|
624
624
|
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
625
625
|
r.__proto__ = n;
|
@@ -636,16 +636,16 @@ function U(e, t) {
|
|
636
636
|
}
|
637
637
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
638
638
|
}
|
639
|
-
var
|
640
|
-
return
|
639
|
+
var _ = function() {
|
640
|
+
return _ = Object.assign || function(t) {
|
641
641
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
642
642
|
r = arguments[n];
|
643
643
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
644
644
|
}
|
645
645
|
return t;
|
646
|
-
},
|
646
|
+
}, _.apply(this, arguments);
|
647
647
|
};
|
648
|
-
function
|
648
|
+
function Sn(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,36 +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 : An, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : Hn;
|
690
690
|
return i(e, {
|
691
691
|
cache: r,
|
692
692
|
serializer: n
|
693
693
|
});
|
694
694
|
}
|
695
|
-
function
|
695
|
+
function wn(e) {
|
696
696
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
697
697
|
}
|
698
|
-
function
|
699
|
-
var i =
|
698
|
+
function Tn(e, t, r, n) {
|
699
|
+
var i = wn(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 zt(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
|
-
function
|
710
|
-
var r = e.length === 1 ?
|
711
|
-
return
|
709
|
+
function Hn(e, t) {
|
710
|
+
var r = e.length === 1 ? Tn : zt;
|
711
|
+
return Zt(e, this, r, t.cache.create(), t.serializer);
|
712
712
|
}
|
713
|
-
function
|
714
|
-
return
|
713
|
+
function Cn(e, t) {
|
714
|
+
return Zt(e, this, zt, t.cache.create(), t.serializer);
|
715
715
|
}
|
716
|
-
var
|
716
|
+
var Pn = function() {
|
717
717
|
return JSON.stringify(arguments);
|
718
|
-
},
|
718
|
+
}, Bn = (
|
719
719
|
/** @class */
|
720
720
|
function() {
|
721
721
|
function e() {
|
@@ -727,12 +727,12 @@ var Bn = function() {
|
|
727
727
|
this.cache[t] = r;
|
728
728
|
}, e;
|
729
729
|
}()
|
730
|
-
),
|
730
|
+
), An = {
|
731
731
|
create: function() {
|
732
|
-
return new
|
732
|
+
return new Bn();
|
733
733
|
}
|
734
734
|
}, Me = {
|
735
|
-
variadic:
|
735
|
+
variadic: Cn
|
736
736
|
}, v;
|
737
737
|
(function(e) {
|
738
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";
|
@@ -741,47 +741,47 @@ var w;
|
|
741
741
|
(function(e) {
|
742
742
|
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";
|
743
743
|
})(w || (w = {}));
|
744
|
-
var
|
744
|
+
var q;
|
745
745
|
(function(e) {
|
746
746
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
747
|
-
})(
|
748
|
-
function
|
747
|
+
})(q || (q = {}));
|
748
|
+
function pt(e) {
|
749
749
|
return e.type === w.literal;
|
750
750
|
}
|
751
|
-
function
|
751
|
+
function On(e) {
|
752
752
|
return e.type === w.argument;
|
753
753
|
}
|
754
|
-
function
|
754
|
+
function Qt(e) {
|
755
755
|
return e.type === w.number;
|
756
756
|
}
|
757
|
-
function
|
757
|
+
function Jt(e) {
|
758
758
|
return e.type === w.date;
|
759
759
|
}
|
760
|
-
function
|
760
|
+
function qt(e) {
|
761
761
|
return e.type === w.time;
|
762
762
|
}
|
763
763
|
function Yt(e) {
|
764
764
|
return e.type === w.select;
|
765
765
|
}
|
766
|
-
function
|
766
|
+
function Kt(e) {
|
767
767
|
return e.type === w.plural;
|
768
768
|
}
|
769
|
-
function
|
769
|
+
function In(e) {
|
770
770
|
return e.type === w.pound;
|
771
771
|
}
|
772
|
-
function
|
772
|
+
function er(e) {
|
773
773
|
return e.type === w.tag;
|
774
774
|
}
|
775
|
-
function
|
776
|
-
return !!(e && typeof e == "object" && e.type ===
|
775
|
+
function tr(e) {
|
776
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
777
777
|
}
|
778
778
|
function Ve(e) {
|
779
|
-
return !!(e && typeof e == "object" && e.type ===
|
779
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
780
780
|
}
|
781
|
-
var
|
782
|
-
function
|
781
|
+
var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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 Nn(e) {
|
783
783
|
var t = {};
|
784
|
-
return e.replace(
|
784
|
+
return e.replace(Ln, function(r) {
|
785
785
|
var n = r.length;
|
786
786
|
switch (r[0]) {
|
787
787
|
case "G":
|
@@ -870,11 +870,11 @@ function Mn(e) {
|
|
870
870
|
return "";
|
871
871
|
}), t;
|
872
872
|
}
|
873
|
-
var
|
874
|
-
function
|
873
|
+
var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
874
|
+
function Rn(e) {
|
875
875
|
if (e.length === 0)
|
876
876
|
throw new Error("Number skeleton cannot be empty");
|
877
|
-
for (var t = e.split(
|
877
|
+
for (var t = e.split(Mn).filter(function(f) {
|
878
878
|
return f.length > 0;
|
879
879
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
880
880
|
var o = i[n], s = o.split("/");
|
@@ -889,17 +889,17 @@ function $n(e) {
|
|
889
889
|
}
|
890
890
|
return r;
|
891
891
|
}
|
892
|
-
function
|
892
|
+
function $n(e) {
|
893
893
|
return e.replace(/^(.*?)-/, "");
|
894
894
|
}
|
895
|
-
var
|
896
|
-
function
|
895
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
|
896
|
+
function bt(e) {
|
897
897
|
var t = {};
|
898
|
-
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(nr, function(r, n, i) {
|
899
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)), "";
|
900
900
|
}), t;
|
901
901
|
}
|
902
|
-
function
|
902
|
+
function or(e) {
|
903
903
|
switch (e) {
|
904
904
|
case "sign-auto":
|
905
905
|
return {
|
@@ -939,7 +939,7 @@ function ir(e) {
|
|
939
939
|
};
|
940
940
|
}
|
941
941
|
}
|
942
|
-
function
|
942
|
+
function Un(e) {
|
943
943
|
var t;
|
944
944
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
945
945
|
notation: "engineering"
|
@@ -947,17 +947,17 @@ function Dn(e) {
|
|
947
947
|
notation: "scientific"
|
948
948
|
}, e = e.slice(1)), t) {
|
949
949
|
var r = e.slice(0, 2);
|
950
|
-
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)), !ir.test(e))
|
951
951
|
throw new Error("Malformed concise eng/scientific notation");
|
952
952
|
t.minimumIntegerDigits = e.length;
|
953
953
|
}
|
954
954
|
return t;
|
955
955
|
}
|
956
|
-
function
|
957
|
-
var t = {}, r =
|
956
|
+
function gt(e) {
|
957
|
+
var t = {}, r = or(e);
|
958
958
|
return r || t;
|
959
959
|
}
|
960
|
-
function
|
960
|
+
function Dn(e) {
|
961
961
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
962
962
|
var i = n[r];
|
963
963
|
switch (i.stem) {
|
@@ -981,7 +981,7 @@ function Fn(e) {
|
|
981
981
|
continue;
|
982
982
|
case "measure-unit":
|
983
983
|
case "unit":
|
984
|
-
t.style = "unit", t.unit =
|
984
|
+
t.style = "unit", t.unit = $n(i.options[0]);
|
985
985
|
continue;
|
986
986
|
case "compact-short":
|
987
987
|
case "K":
|
@@ -992,13 +992,13 @@ function Fn(e) {
|
|
992
992
|
t.notation = "compact", t.compactDisplay = "long";
|
993
993
|
continue;
|
994
994
|
case "scientific":
|
995
|
-
t =
|
996
|
-
return
|
995
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
996
|
+
return _(_({}, u), gt(h));
|
997
997
|
}, {}));
|
998
998
|
continue;
|
999
999
|
case "engineering":
|
1000
|
-
t =
|
1001
|
-
return
|
1000
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
1001
|
+
return _(_({}, u), gt(h));
|
1002
1002
|
}, {}));
|
1003
1003
|
continue;
|
1004
1004
|
case "notation-simple":
|
@@ -1043,41 +1043,41 @@ function Fn(e) {
|
|
1043
1043
|
case "integer-width":
|
1044
1044
|
if (i.options.length > 1)
|
1045
1045
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1046
|
-
i.options[0].replace(
|
1046
|
+
i.options[0].replace(Gn, function(u, h, l, c, f, p) {
|
1047
1047
|
if (h)
|
1048
1048
|
t.minimumIntegerDigits = l.length;
|
1049
1049
|
else {
|
1050
1050
|
if (c && f)
|
1051
1051
|
throw new Error("We currently do not support maximum integer digits");
|
1052
|
-
if (
|
1052
|
+
if (p)
|
1053
1053
|
throw new Error("We currently do not support exact integer digits");
|
1054
1054
|
}
|
1055
1055
|
return "";
|
1056
1056
|
});
|
1057
1057
|
continue;
|
1058
1058
|
}
|
1059
|
-
if (
|
1059
|
+
if (ir.test(i.stem)) {
|
1060
1060
|
t.minimumIntegerDigits = i.stem.length;
|
1061
1061
|
continue;
|
1062
1062
|
}
|
1063
|
-
if (
|
1063
|
+
if (mt.test(i.stem)) {
|
1064
1064
|
if (i.options.length > 1)
|
1065
1065
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1066
|
-
i.stem.replace(
|
1067
|
-
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
1066
|
+
i.stem.replace(mt, function(u, h, l, c, f, p) {
|
1067
|
+
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
1068
1068
|
});
|
1069
1069
|
var o = i.options[0];
|
1070
|
-
o === "w" ? t =
|
1070
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
|
1071
1071
|
continue;
|
1072
1072
|
}
|
1073
|
-
if (
|
1074
|
-
t =
|
1073
|
+
if (nr.test(i.stem)) {
|
1074
|
+
t = _(_({}, t), bt(i.stem));
|
1075
1075
|
continue;
|
1076
1076
|
}
|
1077
|
-
var s =
|
1078
|
-
s && (t =
|
1079
|
-
var a =
|
1080
|
-
a && (t =
|
1077
|
+
var s = or(i.stem);
|
1078
|
+
s && (t = _(_({}, t), s));
|
1079
|
+
var a = Un(i.stem);
|
1080
|
+
a && (t = _(_({}, t), a));
|
1081
1081
|
}
|
1082
1082
|
return t;
|
1083
1083
|
}
|
@@ -2496,13 +2496,13 @@ var pe = {
|
|
2496
2496
|
"h"
|
2497
2497
|
]
|
2498
2498
|
};
|
2499
|
-
function
|
2499
|
+
function Fn(e, t) {
|
2500
2500
|
for (var r = "", n = 0; n < e.length; n++) {
|
2501
2501
|
var i = e.charAt(n);
|
2502
2502
|
if (i === "j") {
|
2503
2503
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2504
2504
|
o++, n++;
|
2505
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
2505
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = kn(t);
|
2506
2506
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
2507
2507
|
r += u;
|
2508
2508
|
for (; s-- > 0; )
|
@@ -2511,7 +2511,7 @@ function kn(e, t) {
|
|
2511
2511
|
}
|
2512
2512
|
return r;
|
2513
2513
|
}
|
2514
|
-
function
|
2514
|
+
function kn(e) {
|
2515
2515
|
var t = e.hourCycle;
|
2516
2516
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2517
2517
|
e.hourCycles && // @ts-ignore
|
@@ -2533,20 +2533,20 @@ function jn(e) {
|
|
2533
2533
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2534
2534
|
return i[0];
|
2535
2535
|
}
|
2536
|
-
var Re,
|
2536
|
+
var Re, jn = new RegExp("^".concat(rr.source, "*")), Vn = new RegExp("".concat(rr.source, "*$"));
|
2537
2537
|
function y(e, t) {
|
2538
2538
|
return { start: e, end: t };
|
2539
2539
|
}
|
2540
|
-
var
|
2540
|
+
var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, Jn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Yn = qn ? Number.isSafeInteger : function(e) {
|
2541
2541
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2542
2542
|
}, Xe = !0;
|
2543
2543
|
try {
|
2544
|
-
var
|
2545
|
-
Xe = ((Re =
|
2544
|
+
var Kn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2545
|
+
Xe = ((Re = Kn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
2546
2546
|
} catch {
|
2547
2547
|
Xe = !1;
|
2548
2548
|
}
|
2549
|
-
var
|
2549
|
+
var vt = Xn ? (
|
2550
2550
|
// Native
|
2551
2551
|
function(t, r, n) {
|
2552
2552
|
return t.startsWith(r, n);
|
@@ -2556,7 +2556,7 @@ var gt = Wn ? (
|
|
2556
2556
|
function(t, r, n) {
|
2557
2557
|
return t.slice(n, n + r.length) === r;
|
2558
2558
|
}
|
2559
|
-
), We =
|
2559
|
+
), We = Wn ? String.fromCodePoint : (
|
2560
2560
|
// IE11
|
2561
2561
|
function() {
|
2562
2562
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2568,9 +2568,9 @@ var gt = Wn ? (
|
|
2568
2568
|
}
|
2569
2569
|
return n;
|
2570
2570
|
}
|
2571
|
-
),
|
2571
|
+
), yt = (
|
2572
2572
|
// native
|
2573
|
-
|
2573
|
+
zn ? Object.fromEntries : (
|
2574
2574
|
// Ponyfill
|
2575
2575
|
function(t) {
|
2576
2576
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2580,7 +2580,7 @@ var gt = Wn ? (
|
|
2580
2580
|
return r;
|
2581
2581
|
}
|
2582
2582
|
)
|
2583
|
-
),
|
2583
|
+
), sr = Zn ? (
|
2584
2584
|
// Native
|
2585
2585
|
function(t, r) {
|
2586
2586
|
return t.codePointAt(r);
|
@@ -2594,7 +2594,7 @@ var gt = Wn ? (
|
|
2594
2594
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2595
2595
|
}
|
2596
2596
|
}
|
2597
|
-
),
|
2597
|
+
), ei = Qn ? (
|
2598
2598
|
// Native
|
2599
2599
|
function(t) {
|
2600
2600
|
return t.trimStart();
|
@@ -2602,9 +2602,9 @@ var gt = Wn ? (
|
|
2602
2602
|
) : (
|
2603
2603
|
// Ponyfill
|
2604
2604
|
function(t) {
|
2605
|
-
return t.replace(
|
2605
|
+
return t.replace(jn, "");
|
2606
2606
|
}
|
2607
|
-
),
|
2607
|
+
), ti = Jn ? (
|
2608
2608
|
// Native
|
2609
2609
|
function(t) {
|
2610
2610
|
return t.trimEnd();
|
@@ -2612,32 +2612,32 @@ var gt = Wn ? (
|
|
2612
2612
|
) : (
|
2613
2613
|
// Ponyfill
|
2614
2614
|
function(t) {
|
2615
|
-
return t.replace(
|
2615
|
+
return t.replace(Vn, "");
|
2616
2616
|
}
|
2617
2617
|
);
|
2618
|
-
function
|
2618
|
+
function ar(e, t) {
|
2619
2619
|
return new RegExp(e, t);
|
2620
2620
|
}
|
2621
2621
|
var ze;
|
2622
2622
|
if (Xe) {
|
2623
|
-
var
|
2623
|
+
var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2624
2624
|
ze = function(t, r) {
|
2625
2625
|
var n;
|
2626
|
-
|
2627
|
-
var i =
|
2626
|
+
_t.lastIndex = r;
|
2627
|
+
var i = _t.exec(t);
|
2628
2628
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2629
2629
|
};
|
2630
2630
|
} else
|
2631
2631
|
ze = function(t, r) {
|
2632
2632
|
for (var n = []; ; ) {
|
2633
|
-
var i =
|
2634
|
-
if (i === void 0 ||
|
2633
|
+
var i = sr(t, r);
|
2634
|
+
if (i === void 0 || lr(i) || oi(i))
|
2635
2635
|
break;
|
2636
2636
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2637
2637
|
}
|
2638
2638
|
return We.apply(void 0, n);
|
2639
2639
|
};
|
2640
|
-
var
|
2640
|
+
var ri = (
|
2641
2641
|
/** @class */
|
2642
2642
|
function() {
|
2643
2643
|
function e(t, r) {
|
@@ -2719,7 +2719,7 @@ var ni = (
|
|
2719
2719
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2720
2720
|
}, e.prototype.parseTagName = function() {
|
2721
2721
|
var t = this.offset();
|
2722
|
-
for (this.bump(); !this.isEOF() &&
|
2722
|
+
for (this.bump(); !this.isEOF() && ii(this.char()); )
|
2723
2723
|
this.bump();
|
2724
2724
|
return this.message.slice(t, this.offset());
|
2725
2725
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2748,7 +2748,7 @@ var ni = (
|
|
2748
2748
|
};
|
2749
2749
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2750
2750
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2751
|
-
!
|
2751
|
+
!ni(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2752
2752
|
}, e.prototype.tryParseQuote = function(t) {
|
2753
2753
|
if (this.isEOF() || this.char() !== 39)
|
2754
2754
|
return null;
|
@@ -2835,37 +2835,37 @@ var ni = (
|
|
2835
2835
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2836
2836
|
if (c.err)
|
2837
2837
|
return c;
|
2838
|
-
var f =
|
2838
|
+
var f = ti(c.val);
|
2839
2839
|
if (f.length === 0)
|
2840
2840
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2841
|
-
var
|
2842
|
-
h = { style: f, styleLocation:
|
2841
|
+
var p = y(l, this.clonePosition());
|
2842
|
+
h = { style: f, styleLocation: p };
|
2843
2843
|
}
|
2844
2844
|
var d = this.tryParseArgumentClose(i);
|
2845
2845
|
if (d.err)
|
2846
2846
|
return d;
|
2847
2847
|
var g = y(i, this.clonePosition());
|
2848
|
-
if (h &&
|
2849
|
-
var
|
2848
|
+
if (h && vt(h?.style, "::", 0)) {
|
2849
|
+
var m = ei(h.style.slice(2));
|
2850
2850
|
if (a === "number") {
|
2851
|
-
var c = this.parseNumberSkeletonFromString(
|
2851
|
+
var c = this.parseNumberSkeletonFromString(m, h.styleLocation);
|
2852
2852
|
return c.err ? c : {
|
2853
2853
|
val: { type: w.number, value: n, location: g, style: c.val },
|
2854
2854
|
err: null
|
2855
2855
|
};
|
2856
2856
|
} else {
|
2857
|
-
if (
|
2857
|
+
if (m.length === 0)
|
2858
2858
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
2859
|
-
var
|
2860
|
-
this.locale && (
|
2859
|
+
var E = m;
|
2860
|
+
this.locale && (E = Fn(m, this.locale));
|
2861
2861
|
var f = {
|
2862
|
-
type:
|
2863
|
-
pattern:
|
2862
|
+
type: q.dateTime,
|
2863
|
+
pattern: E,
|
2864
2864
|
location: h.styleLocation,
|
2865
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2866
|
-
},
|
2865
|
+
parsedOptions: this.shouldParseSkeletons ? Nn(E) : {}
|
2866
|
+
}, x = a === "date" ? w.date : w.time;
|
2867
2867
|
return {
|
2868
|
-
val: { type:
|
2868
|
+
val: { type: x, value: n, location: g, style: f },
|
2869
2869
|
err: null
|
2870
2870
|
};
|
2871
2871
|
}
|
@@ -2883,43 +2883,43 @@ var ni = (
|
|
2883
2883
|
case "plural":
|
2884
2884
|
case "selectordinal":
|
2885
2885
|
case "select": {
|
2886
|
-
var
|
2886
|
+
var T = this.clonePosition();
|
2887
2887
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2888
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
2888
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, _({}, T)));
|
2889
2889
|
this.bumpSpace();
|
2890
|
-
var
|
2891
|
-
if (a !== "select" &&
|
2890
|
+
var D = this.parseIdentifierIfPossible(), M = 0;
|
2891
|
+
if (a !== "select" && D.value === "offset") {
|
2892
2892
|
if (!this.bumpIf(":"))
|
2893
2893
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
2894
2894
|
this.bumpSpace();
|
2895
2895
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2896
2896
|
if (c.err)
|
2897
2897
|
return c;
|
2898
|
-
this.bumpSpace(),
|
2898
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
|
2899
2899
|
}
|
2900
|
-
var
|
2901
|
-
if (
|
2902
|
-
return
|
2900
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, D);
|
2901
|
+
if (B.err)
|
2902
|
+
return B;
|
2903
2903
|
var d = this.tryParseArgumentClose(i);
|
2904
2904
|
if (d.err)
|
2905
2905
|
return d;
|
2906
|
-
var
|
2906
|
+
var ce = y(i, this.clonePosition());
|
2907
2907
|
return a === "select" ? {
|
2908
2908
|
val: {
|
2909
2909
|
type: w.select,
|
2910
2910
|
value: n,
|
2911
|
-
options:
|
2912
|
-
location:
|
2911
|
+
options: yt(B.val),
|
2912
|
+
location: ce
|
2913
2913
|
},
|
2914
2914
|
err: null
|
2915
2915
|
} : {
|
2916
2916
|
val: {
|
2917
2917
|
type: w.plural,
|
2918
2918
|
value: n,
|
2919
|
-
options:
|
2920
|
-
offset:
|
2919
|
+
options: yt(B.val),
|
2920
|
+
offset: M,
|
2921
2921
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2922
|
-
location:
|
2922
|
+
location: ce
|
2923
2923
|
},
|
2924
2924
|
err: null
|
2925
2925
|
};
|
@@ -2967,16 +2967,16 @@ var ni = (
|
|
2967
2967
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2968
2968
|
var n = [];
|
2969
2969
|
try {
|
2970
|
-
n =
|
2970
|
+
n = Rn(t);
|
2971
2971
|
} catch {
|
2972
2972
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
2973
2973
|
}
|
2974
2974
|
return {
|
2975
2975
|
val: {
|
2976
|
-
type:
|
2976
|
+
type: q.number,
|
2977
2977
|
tokens: n,
|
2978
2978
|
location: r,
|
2979
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2979
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
|
2980
2980
|
},
|
2981
2981
|
err: null
|
2982
2982
|
};
|
@@ -2995,20 +2995,20 @@ var ni = (
|
|
2995
2995
|
if (u.has(h))
|
2996
2996
|
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
2997
2997
|
h === "other" && (s = !0), this.bumpSpace();
|
2998
|
-
var
|
2998
|
+
var p = this.clonePosition();
|
2999
2999
|
if (!this.bumpIf("{"))
|
3000
3000
|
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
3001
3001
|
var d = this.parseMessage(t + 1, r, n);
|
3002
3002
|
if (d.err)
|
3003
3003
|
return d;
|
3004
|
-
var g = this.tryParseArgumentClose(
|
3004
|
+
var g = this.tryParseArgumentClose(p);
|
3005
3005
|
if (g.err)
|
3006
3006
|
return g;
|
3007
3007
|
a.push([
|
3008
3008
|
h,
|
3009
3009
|
{
|
3010
3010
|
value: d.val,
|
3011
|
-
location: y(
|
3011
|
+
location: y(p, this.clonePosition())
|
3012
3012
|
}
|
3013
3013
|
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
|
3014
3014
|
}
|
@@ -3024,7 +3024,7 @@ var ni = (
|
|
3024
3024
|
break;
|
3025
3025
|
}
|
3026
3026
|
var u = y(i, this.clonePosition());
|
3027
|
-
return o ? (s *= n,
|
3027
|
+
return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3028
3028
|
}, e.prototype.offset = function() {
|
3029
3029
|
return this.position.offset;
|
3030
3030
|
}, e.prototype.isEOF = function() {
|
@@ -3039,7 +3039,7 @@ var ni = (
|
|
3039
3039
|
var t = this.position.offset;
|
3040
3040
|
if (t >= this.message.length)
|
3041
3041
|
throw Error("out of bound");
|
3042
|
-
var r =
|
3042
|
+
var r = sr(this.message, t);
|
3043
3043
|
if (r === void 0)
|
3044
3044
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3045
3045
|
return r;
|
@@ -3058,7 +3058,7 @@ var ni = (
|
|
3058
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);
|
3059
3059
|
}
|
3060
3060
|
}, e.prototype.bumpIf = function(t) {
|
3061
|
-
if (
|
3061
|
+
if (vt(this.message, t, this.offset())) {
|
3062
3062
|
for (var r = 0; r < t.length; r++)
|
3063
3063
|
this.bump();
|
3064
3064
|
return !0;
|
@@ -3080,7 +3080,7 @@ var ni = (
|
|
3080
3080
|
break;
|
3081
3081
|
}
|
3082
3082
|
}, e.prototype.bumpSpace = function() {
|
3083
|
-
for (; !this.isEOF() &&
|
3083
|
+
for (; !this.isEOF() && lr(this.char()); )
|
3084
3084
|
this.bump();
|
3085
3085
|
}, e.prototype.peek = function() {
|
3086
3086
|
if (this.isEOF())
|
@@ -3093,39 +3093,39 @@ var ni = (
|
|
3093
3093
|
function Ze(e) {
|
3094
3094
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3095
3095
|
}
|
3096
|
-
function
|
3096
|
+
function ni(e) {
|
3097
3097
|
return Ze(e) || e === 47;
|
3098
3098
|
}
|
3099
|
-
function
|
3099
|
+
function ii(e) {
|
3100
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;
|
3101
3101
|
}
|
3102
|
-
function
|
3102
|
+
function lr(e) {
|
3103
3103
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3104
3104
|
}
|
3105
|
-
function
|
3105
|
+
function oi(e) {
|
3106
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;
|
3107
3107
|
}
|
3108
3108
|
function Qe(e) {
|
3109
3109
|
e.forEach(function(t) {
|
3110
|
-
if (delete t.location, Yt(t) ||
|
3110
|
+
if (delete t.location, Yt(t) || Kt(t))
|
3111
3111
|
for (var r in t.options)
|
3112
3112
|
delete t.options[r].location, Qe(t.options[r].value);
|
3113
|
-
else
|
3113
|
+
else Qt(t) && tr(t.style) || (Jt(t) || qt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
|
3114
3114
|
});
|
3115
3115
|
}
|
3116
|
-
function
|
3117
|
-
t === void 0 && (t = {}), t =
|
3118
|
-
var r = new
|
3116
|
+
function si(e, t) {
|
3117
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3118
|
+
var r = new ri(e, t).parse();
|
3119
3119
|
if (r.err) {
|
3120
3120
|
var n = SyntaxError(v[r.err.kind]);
|
3121
3121
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3122
3122
|
}
|
3123
3123
|
return t?.captureLocation || Qe(r.val), r.val;
|
3124
3124
|
}
|
3125
|
-
var
|
3125
|
+
var Y;
|
3126
3126
|
(function(e) {
|
3127
3127
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3128
|
-
})(
|
3128
|
+
})(Y || (Y = {}));
|
3129
3129
|
var Pe = (
|
3130
3130
|
/** @class */
|
3131
3131
|
function(e) {
|
@@ -3138,153 +3138,153 @@ var Pe = (
|
|
3138
3138
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3139
3139
|
}, t;
|
3140
3140
|
}(Error)
|
3141
|
-
),
|
3141
|
+
), xt = (
|
3142
3142
|
/** @class */
|
3143
3143
|
function(e) {
|
3144
3144
|
U(t, e);
|
3145
3145
|
function t(r, n, i, o) {
|
3146
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3146
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
3147
3147
|
}
|
3148
3148
|
return t;
|
3149
3149
|
}(Pe)
|
3150
|
-
),
|
3150
|
+
), ai = (
|
3151
3151
|
/** @class */
|
3152
3152
|
function(e) {
|
3153
3153
|
U(t, e);
|
3154
3154
|
function t(r, n, i) {
|
3155
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3155
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
3156
3156
|
}
|
3157
3157
|
return t;
|
3158
3158
|
}(Pe)
|
3159
|
-
),
|
3159
|
+
), li = (
|
3160
3160
|
/** @class */
|
3161
3161
|
function(e) {
|
3162
3162
|
U(t, e);
|
3163
3163
|
function t(r, n) {
|
3164
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3164
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
3165
3165
|
}
|
3166
3166
|
return t;
|
3167
3167
|
}(Pe)
|
3168
|
-
),
|
3168
|
+
), P;
|
3169
3169
|
(function(e) {
|
3170
3170
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3171
|
-
})(
|
3172
|
-
function
|
3171
|
+
})(P || (P = {}));
|
3172
|
+
function ui(e) {
|
3173
3173
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3174
3174
|
var n = t[t.length - 1];
|
3175
|
-
return !n || n.type !==
|
3175
|
+
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
3176
3176
|
}, []);
|
3177
3177
|
}
|
3178
|
-
function
|
3178
|
+
function hi(e) {
|
3179
3179
|
return typeof e == "function";
|
3180
3180
|
}
|
3181
3181
|
function ge(e, t, r, n, i, o, s) {
|
3182
|
-
if (e.length === 1 &&
|
3182
|
+
if (e.length === 1 && pt(e[0]))
|
3183
3183
|
return [
|
3184
3184
|
{
|
3185
|
-
type:
|
3185
|
+
type: P.literal,
|
3186
3186
|
value: e[0].value
|
3187
3187
|
}
|
3188
3188
|
];
|
3189
3189
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
3190
3190
|
var l = h[u];
|
3191
|
-
if (
|
3191
|
+
if (pt(l)) {
|
3192
3192
|
a.push({
|
3193
|
-
type:
|
3193
|
+
type: P.literal,
|
3194
3194
|
value: l.value
|
3195
3195
|
});
|
3196
3196
|
continue;
|
3197
3197
|
}
|
3198
|
-
if (
|
3198
|
+
if (In(l)) {
|
3199
3199
|
typeof o == "number" && a.push({
|
3200
|
-
type:
|
3200
|
+
type: P.literal,
|
3201
3201
|
value: r.getNumberFormat(t).format(o)
|
3202
3202
|
});
|
3203
3203
|
continue;
|
3204
3204
|
}
|
3205
3205
|
var c = l.value;
|
3206
3206
|
if (!(i && c in i))
|
3207
|
-
throw new
|
3207
|
+
throw new li(c, s);
|
3208
3208
|
var f = i[c];
|
3209
|
-
if (
|
3209
|
+
if (On(l)) {
|
3210
3210
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3211
|
-
type: typeof f == "string" ?
|
3211
|
+
type: typeof f == "string" ? P.literal : P.object,
|
3212
3212
|
value: f
|
3213
3213
|
});
|
3214
3214
|
continue;
|
3215
3215
|
}
|
3216
|
-
if (
|
3217
|
-
var
|
3216
|
+
if (Jt(l)) {
|
3217
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
|
3218
3218
|
a.push({
|
3219
|
-
type:
|
3220
|
-
value: r.getDateTimeFormat(t,
|
3219
|
+
type: P.literal,
|
3220
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
3221
3221
|
});
|
3222
3222
|
continue;
|
3223
3223
|
}
|
3224
|
-
if (
|
3225
|
-
var
|
3224
|
+
if (qt(l)) {
|
3225
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
|
3226
3226
|
a.push({
|
3227
|
-
type:
|
3228
|
-
value: r.getDateTimeFormat(t,
|
3227
|
+
type: P.literal,
|
3228
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
3229
3229
|
});
|
3230
3230
|
continue;
|
3231
3231
|
}
|
3232
|
-
if (
|
3233
|
-
var
|
3234
|
-
|
3235
|
-
type:
|
3236
|
-
value: r.getNumberFormat(t,
|
3232
|
+
if (Qt(l)) {
|
3233
|
+
var p = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
|
3234
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3235
|
+
type: P.literal,
|
3236
|
+
value: r.getNumberFormat(t, p).format(f)
|
3237
3237
|
});
|
3238
3238
|
continue;
|
3239
3239
|
}
|
3240
|
-
if (
|
3241
|
-
var d = l.children, g = l.value,
|
3242
|
-
if (!
|
3243
|
-
throw new
|
3244
|
-
var
|
3245
|
-
return
|
3240
|
+
if (er(l)) {
|
3241
|
+
var d = l.children, g = l.value, m = i[g];
|
3242
|
+
if (!hi(m))
|
3243
|
+
throw new ai(g, "function", s);
|
3244
|
+
var E = ge(d, t, r, n, i, o), x = m(E.map(function(M) {
|
3245
|
+
return M.value;
|
3246
3246
|
}));
|
3247
|
-
Array.isArray(
|
3247
|
+
Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(M) {
|
3248
3248
|
return {
|
3249
|
-
type: typeof
|
3250
|
-
value:
|
3249
|
+
type: typeof M == "string" ? P.literal : P.object,
|
3250
|
+
value: M
|
3251
3251
|
};
|
3252
3252
|
}));
|
3253
3253
|
}
|
3254
3254
|
if (Yt(l)) {
|
3255
|
-
var
|
3256
|
-
if (!
|
3257
|
-
throw new
|
3258
|
-
a.push.apply(a, ge(
|
3255
|
+
var T = l.options[f] || l.options.other;
|
3256
|
+
if (!T)
|
3257
|
+
throw new xt(l.value, f, Object.keys(l.options), s);
|
3258
|
+
a.push.apply(a, ge(T.value, t, r, n, i));
|
3259
3259
|
continue;
|
3260
3260
|
}
|
3261
|
-
if (
|
3262
|
-
var
|
3263
|
-
if (!
|
3261
|
+
if (Kt(l)) {
|
3262
|
+
var T = l.options["=".concat(f)];
|
3263
|
+
if (!T) {
|
3264
3264
|
if (!Intl.PluralRules)
|
3265
3265
|
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3266
3266
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3267
|
-
`,
|
3268
|
-
var
|
3269
|
-
|
3267
|
+
`, Y.MISSING_INTL_API, s);
|
3268
|
+
var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
3269
|
+
T = l.options[D] || l.options.other;
|
3270
3270
|
}
|
3271
|
-
if (!
|
3272
|
-
throw new
|
3273
|
-
a.push.apply(a, ge(
|
3271
|
+
if (!T)
|
3272
|
+
throw new xt(l.value, f, Object.keys(l.options), s);
|
3273
|
+
a.push.apply(a, ge(T.value, t, r, n, i, f - (l.offset || 0)));
|
3274
3274
|
continue;
|
3275
3275
|
}
|
3276
3276
|
}
|
3277
|
-
return
|
3277
|
+
return ui(a);
|
3278
3278
|
}
|
3279
|
-
function
|
3280
|
-
return t ?
|
3281
|
-
return r[n] =
|
3279
|
+
function ci(e, t) {
|
3280
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3281
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3282
3282
|
}, {})) : e;
|
3283
3283
|
}
|
3284
|
-
function
|
3284
|
+
function fi(e, t) {
|
3285
3285
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3286
|
-
return r[n] =
|
3287
|
-
},
|
3286
|
+
return r[n] = ci(e[n], t[n]), r;
|
3287
|
+
}, _({}, e)) : e;
|
3288
3288
|
}
|
3289
3289
|
function $e(e) {
|
3290
3290
|
return {
|
@@ -3300,7 +3300,7 @@ function $e(e) {
|
|
3300
3300
|
}
|
3301
3301
|
};
|
3302
3302
|
}
|
3303
|
-
function
|
3303
|
+
function di(e) {
|
3304
3304
|
return e === void 0 && (e = {
|
3305
3305
|
number: {},
|
3306
3306
|
dateTime: {},
|
@@ -3332,7 +3332,7 @@ function pi(e) {
|
|
3332
3332
|
})
|
3333
3333
|
};
|
3334
3334
|
}
|
3335
|
-
var
|
3335
|
+
var pi = (
|
3336
3336
|
/** @class */
|
3337
3337
|
function() {
|
3338
3338
|
function e(t, r, n, i) {
|
@@ -3347,7 +3347,7 @@ var mi = (
|
|
3347
3347
|
if (h.length === 1)
|
3348
3348
|
return h[0].value;
|
3349
3349
|
var l = h.reduce(function(c, f) {
|
3350
|
-
return !c.length || f.type !==
|
3350
|
+
return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3351
3351
|
}, []);
|
3352
3352
|
return l.length <= 1 ? l[0] || "" : l;
|
3353
3353
|
}, this.formatToParts = function(u) {
|
@@ -3364,13 +3364,13 @@ var mi = (
|
|
3364
3364
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3365
3365
|
var s = i || {};
|
3366
3366
|
s.formatters;
|
3367
|
-
var a =
|
3368
|
-
this.ast = e.__parse(t,
|
3367
|
+
var a = Sn(s, ["formatters"]);
|
3368
|
+
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3369
3369
|
} else
|
3370
3370
|
this.ast = t;
|
3371
3371
|
if (!Array.isArray(this.ast))
|
3372
3372
|
throw new TypeError("A message must be provided as a String or AST.");
|
3373
|
-
this.formats =
|
3373
|
+
this.formats = fi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
|
3374
3374
|
}
|
3375
3375
|
return Object.defineProperty(e, "defaultLocale", {
|
3376
3376
|
get: function() {
|
@@ -3383,7 +3383,7 @@ var mi = (
|
|
3383
3383
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3384
3384
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3385
3385
|
}
|
3386
|
-
}, e.__parse =
|
3386
|
+
}, e.__parse = si, e.formats = {
|
3387
3387
|
number: {
|
3388
3388
|
integer: {
|
3389
3389
|
maximumFractionDigits: 0
|
@@ -3444,7 +3444,7 @@ var mi = (
|
|
3444
3444
|
}, e;
|
3445
3445
|
}()
|
3446
3446
|
);
|
3447
|
-
function
|
3447
|
+
function mi(e, t) {
|
3448
3448
|
if (t == null)
|
3449
3449
|
return;
|
3450
3450
|
if (t in e)
|
@@ -3465,60 +3465,60 @@ function bi(e, t) {
|
|
3465
3465
|
n = void 0;
|
3466
3466
|
return n;
|
3467
3467
|
}
|
3468
|
-
const
|
3468
|
+
const F = {}, bi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
|
3469
3469
|
if (t == null)
|
3470
3470
|
return;
|
3471
|
-
if (t in
|
3472
|
-
return
|
3471
|
+
if (t in F && e in F[t])
|
3472
|
+
return F[t][e];
|
3473
3473
|
const r = Be(t);
|
3474
3474
|
for (let n = 0; n < r.length; n++) {
|
3475
|
-
const i = r[n], o =
|
3475
|
+
const i = r[n], o = vi(i, e);
|
3476
3476
|
if (o)
|
3477
|
-
return
|
3477
|
+
return bi(e, t, o);
|
3478
3478
|
}
|
3479
3479
|
};
|
3480
3480
|
let rt;
|
3481
|
-
const
|
3482
|
-
function
|
3481
|
+
const he = Ce({});
|
3482
|
+
function gi(e) {
|
3483
3483
|
return rt[e] || null;
|
3484
3484
|
}
|
3485
|
-
function
|
3485
|
+
function hr(e) {
|
3486
3486
|
return e in rt;
|
3487
3487
|
}
|
3488
|
-
function
|
3489
|
-
if (!
|
3488
|
+
function vi(e, t) {
|
3489
|
+
if (!hr(e))
|
3490
3490
|
return null;
|
3491
|
-
const r =
|
3492
|
-
return
|
3491
|
+
const r = gi(e);
|
3492
|
+
return mi(r, t);
|
3493
3493
|
}
|
3494
|
-
function
|
3494
|
+
function yi(e) {
|
3495
3495
|
if (e == null)
|
3496
3496
|
return;
|
3497
3497
|
const t = Be(e);
|
3498
3498
|
for (let r = 0; r < t.length; r++) {
|
3499
3499
|
const n = t[r];
|
3500
|
-
if (
|
3500
|
+
if (hr(n))
|
3501
3501
|
return n;
|
3502
3502
|
}
|
3503
3503
|
}
|
3504
|
-
function
|
3505
|
-
delete
|
3504
|
+
function cr(e, ...t) {
|
3505
|
+
delete F[e], he.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
|
3506
3506
|
}
|
3507
3507
|
te(
|
3508
|
-
[
|
3508
|
+
[he],
|
3509
3509
|
([e]) => Object.keys(e)
|
3510
3510
|
);
|
3511
|
-
|
3511
|
+
he.subscribe((e) => rt = e);
|
3512
3512
|
const ve = {};
|
3513
|
-
function
|
3513
|
+
function _i(e, t) {
|
3514
3514
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
3515
3515
|
}
|
3516
|
-
function
|
3516
|
+
function fr(e) {
|
3517
3517
|
return ve[e];
|
3518
3518
|
}
|
3519
|
-
function
|
3519
|
+
function xi(e) {
|
3520
3520
|
return Be(e).map((t) => {
|
3521
|
-
const r =
|
3521
|
+
const r = fr(t);
|
3522
3522
|
return [t, r ? [...r] : []];
|
3523
3523
|
}).filter(([, t]) => t.length > 0);
|
3524
3524
|
}
|
@@ -3526,31 +3526,31 @@ function Je(e) {
|
|
3526
3526
|
return e == null ? !1 : Be(e).some(
|
3527
3527
|
(t) => {
|
3528
3528
|
var r;
|
3529
|
-
return (r =
|
3529
|
+
return (r = fr(t)) == null ? void 0 : r.size;
|
3530
3530
|
}
|
3531
3531
|
);
|
3532
3532
|
}
|
3533
|
-
function
|
3533
|
+
function Ei(e, t) {
|
3534
3534
|
return Promise.all(
|
3535
|
-
t.map((n) => (
|
3536
|
-
).then((n) =>
|
3535
|
+
t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
|
3536
|
+
).then((n) => cr(e, ...n));
|
3537
3537
|
}
|
3538
|
-
const
|
3539
|
-
function
|
3538
|
+
const oe = {};
|
3539
|
+
function dr(e) {
|
3540
3540
|
if (!Je(e))
|
3541
|
-
return e in
|
3542
|
-
const t =
|
3543
|
-
return
|
3541
|
+
return e in oe ? oe[e] : Promise.resolve();
|
3542
|
+
const t = xi(e);
|
3543
|
+
return oe[e] = Promise.all(
|
3544
3544
|
t.map(
|
3545
|
-
([r, n]) =>
|
3545
|
+
([r, n]) => Ei(r, n)
|
3546
3546
|
)
|
3547
3547
|
).then(() => {
|
3548
3548
|
if (Je(e))
|
3549
|
-
return
|
3550
|
-
delete
|
3551
|
-
}),
|
3549
|
+
return dr(e);
|
3550
|
+
delete oe[e];
|
3551
|
+
}), oe[e];
|
3552
3552
|
}
|
3553
|
-
const
|
3553
|
+
const Si = {
|
3554
3554
|
number: {
|
3555
3555
|
scientific: { notation: "scientific" },
|
3556
3556
|
engineering: { notation: "engineering" },
|
@@ -3579,57 +3579,57 @@ const wi = {
|
|
3579
3579
|
timeZoneName: "short"
|
3580
3580
|
}
|
3581
3581
|
}
|
3582
|
-
},
|
3582
|
+
}, wi = {
|
3583
3583
|
fallbackLocale: null,
|
3584
3584
|
loadingDelay: 200,
|
3585
|
-
formats:
|
3585
|
+
formats: Si,
|
3586
3586
|
warnOnMissingMessages: !0,
|
3587
3587
|
handleMissingMessage: void 0,
|
3588
3588
|
ignoreTag: !0
|
3589
|
-
},
|
3589
|
+
}, Ti = wi;
|
3590
3590
|
function K() {
|
3591
|
-
return
|
3591
|
+
return Ti;
|
3592
3592
|
}
|
3593
3593
|
const Ge = Ce(!1);
|
3594
|
-
var
|
3594
|
+
var Hi = Object.defineProperty, Ci = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
|
3595
3595
|
for (var r in t || (t = {}))
|
3596
|
-
|
3597
|
-
if (
|
3598
|
-
for (var r of
|
3599
|
-
|
3596
|
+
Bi.call(t, r) && St(e, r, t[r]);
|
3597
|
+
if (Et)
|
3598
|
+
for (var r of Et(t))
|
3599
|
+
Ai.call(t, r) && St(e, r, t[r]);
|
3600
3600
|
return e;
|
3601
|
-
},
|
3602
|
-
let
|
3601
|
+
}, Ii = (e, t) => Ci(e, Pi(t));
|
3602
|
+
let qe;
|
3603
3603
|
const we = Ce(null);
|
3604
|
-
function
|
3604
|
+
function wt(e) {
|
3605
3605
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3606
3606
|
}
|
3607
3607
|
function Be(e, t = K().fallbackLocale) {
|
3608
|
-
const r =
|
3609
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3608
|
+
const r = wt(e);
|
3609
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
3610
3610
|
}
|
3611
|
-
function
|
3612
|
-
return
|
3611
|
+
function j() {
|
3612
|
+
return qe ?? void 0;
|
3613
3613
|
}
|
3614
3614
|
we.subscribe((e) => {
|
3615
|
-
|
3615
|
+
qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3616
3616
|
});
|
3617
|
-
const
|
3618
|
-
if (e &&
|
3617
|
+
const Li = (e) => {
|
3618
|
+
if (e && yi(e) && Je(e)) {
|
3619
3619
|
const { loadingDelay: t } = K();
|
3620
3620
|
let r;
|
3621
|
-
return typeof window < "u" &&
|
3621
|
+
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
3622
3622
|
() => Ge.set(!0),
|
3623
3623
|
t
|
3624
|
-
) : Ge.set(!0),
|
3624
|
+
) : Ge.set(!0), dr(e).then(() => {
|
3625
3625
|
we.set(e);
|
3626
3626
|
}).finally(() => {
|
3627
3627
|
clearTimeout(r), Ge.set(!1);
|
3628
3628
|
});
|
3629
3629
|
}
|
3630
3630
|
return we.set(e);
|
3631
|
-
}, re =
|
3632
|
-
set:
|
3631
|
+
}, re = Ii(Oi({}, we), {
|
3632
|
+
set: Li
|
3633
3633
|
}), Ae = (e) => {
|
3634
3634
|
const t = /* @__PURE__ */ Object.create(null);
|
3635
3635
|
return (n) => {
|
@@ -3637,90 +3637,90 @@ const Ni = (e) => {
|
|
3637
3637
|
return i in t ? t[i] : t[i] = e(n);
|
3638
3638
|
};
|
3639
3639
|
};
|
3640
|
-
var
|
3640
|
+
var Ni = Object.defineProperty, Te = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
3641
3641
|
for (var r in t || (t = {}))
|
3642
|
-
|
3642
|
+
pr.call(t, r) && Tt(e, r, t[r]);
|
3643
3643
|
if (Te)
|
3644
3644
|
for (var r of Te(t))
|
3645
|
-
|
3645
|
+
mr.call(t, r) && Tt(e, r, t[r]);
|
3646
3646
|
return e;
|
3647
3647
|
}, ne = (e, t) => {
|
3648
3648
|
var r = {};
|
3649
3649
|
for (var n in e)
|
3650
|
-
|
3650
|
+
pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3651
3651
|
if (e != null && Te)
|
3652
3652
|
for (var n of Te(e))
|
3653
|
-
t.indexOf(n) < 0 &&
|
3653
|
+
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
3654
3654
|
return r;
|
3655
3655
|
};
|
3656
|
-
const
|
3656
|
+
const ue = (e, t) => {
|
3657
3657
|
const { formats: r } = K();
|
3658
3658
|
if (e in r && t in r[e])
|
3659
3659
|
return r[e][t];
|
3660
3660
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3661
|
-
},
|
3661
|
+
}, Mi = Ae(
|
3662
3662
|
(e) => {
|
3663
3663
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3664
3664
|
if (r == null)
|
3665
3665
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3666
|
-
return n && (i =
|
3666
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
3667
3667
|
}
|
3668
|
-
),
|
3668
|
+
), Ri = Ae(
|
3669
3669
|
(e) => {
|
3670
3670
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3671
3671
|
if (r == null)
|
3672
3672
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3673
|
-
return n ? i =
|
3673
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
3674
3674
|
}
|
3675
|
-
),
|
3675
|
+
), $i = Ae(
|
3676
3676
|
(e) => {
|
3677
3677
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3678
3678
|
if (r == null)
|
3679
3679
|
throw new Error(
|
3680
3680
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3681
3681
|
);
|
3682
|
-
return n ? i =
|
3682
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
3683
3683
|
}
|
3684
|
-
),
|
3684
|
+
), Gi = (e = {}) => {
|
3685
3685
|
var t = e, {
|
3686
|
-
locale: r =
|
3686
|
+
locale: r = j()
|
3687
3687
|
} = t, n = ne(t, [
|
3688
3688
|
"locale"
|
3689
3689
|
]);
|
3690
|
-
return
|
3691
|
-
},
|
3690
|
+
return Mi(nt({ locale: r }, n));
|
3691
|
+
}, Ui = (e = {}) => {
|
3692
3692
|
var t = e, {
|
3693
|
-
locale: r =
|
3693
|
+
locale: r = j()
|
3694
3694
|
} = t, n = ne(t, [
|
3695
3695
|
"locale"
|
3696
3696
|
]);
|
3697
|
-
return
|
3698
|
-
},
|
3697
|
+
return Ri(nt({ locale: r }, n));
|
3698
|
+
}, Di = (e = {}) => {
|
3699
3699
|
var t = e, {
|
3700
|
-
locale: r =
|
3700
|
+
locale: r = j()
|
3701
3701
|
} = t, n = ne(t, [
|
3702
3702
|
"locale"
|
3703
3703
|
]);
|
3704
|
-
return
|
3705
|
-
},
|
3704
|
+
return $i(nt({ locale: r }, n));
|
3705
|
+
}, Fi = Ae(
|
3706
3706
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3707
|
-
(e, t =
|
3707
|
+
(e, t = j()) => new pi(e, t, K().formats, {
|
3708
3708
|
ignoreTag: K().ignoreTag
|
3709
3709
|
})
|
3710
|
-
),
|
3710
|
+
), ki = (e, t = {}) => {
|
3711
3711
|
var r, n, i, o;
|
3712
3712
|
let s = t;
|
3713
3713
|
typeof e == "object" && (s = e, e = s.id);
|
3714
3714
|
const {
|
3715
3715
|
values: a,
|
3716
|
-
locale: u =
|
3716
|
+
locale: u = j(),
|
3717
3717
|
default: h
|
3718
3718
|
} = s;
|
3719
3719
|
if (u == null)
|
3720
3720
|
throw new Error(
|
3721
3721
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3722
3722
|
);
|
3723
|
-
let l =
|
3723
|
+
let l = ur(e, u);
|
3724
3724
|
if (!l)
|
3725
3725
|
l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
3726
3726
|
else if (typeof l != "string")
|
@@ -3731,7 +3731,7 @@ const he = (e, t) => {
|
|
3731
3731
|
return l;
|
3732
3732
|
let c = l;
|
3733
3733
|
try {
|
3734
|
-
c =
|
3734
|
+
c = Fi(l, u).format(a);
|
3735
3735
|
} catch (f) {
|
3736
3736
|
f instanceof Error && console.warn(
|
3737
3737
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3739,18 +3739,18 @@ const he = (e, t) => {
|
|
3739
3739
|
);
|
3740
3740
|
}
|
3741
3741
|
return c;
|
3742
|
-
},
|
3742
|
+
}, ji = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => Gi(t).format(e), Wi = (e, t = j()) => ur(e, t), zi = te([re, he], () => ki);
|
3743
|
+
te([re], () => ji);
|
3743
3744
|
te([re], () => Vi);
|
3744
3745
|
te([re], () => Xi);
|
3745
|
-
te([re], () => Wi);
|
3746
|
-
|
3747
|
-
|
3748
|
-
hr(e, t);
|
3746
|
+
te([re, he], () => Wi);
|
3747
|
+
function Ht(e, t) {
|
3748
|
+
cr(e, t);
|
3749
3749
|
}
|
3750
|
-
function
|
3750
|
+
function Zi(e) {
|
3751
3751
|
re.set(e);
|
3752
3752
|
}
|
3753
|
-
const
|
3753
|
+
const Ct = {
|
3754
3754
|
en: {
|
3755
3755
|
collections: "Game Collections",
|
3756
3756
|
providers: "Game Providers",
|
@@ -3850,13 +3850,13 @@ const Ht = {
|
|
3850
3850
|
function G(e) {
|
3851
3851
|
return typeof e == "function";
|
3852
3852
|
}
|
3853
|
-
function
|
3853
|
+
function br(e) {
|
3854
3854
|
var t = function(n) {
|
3855
3855
|
Error.call(n), n.stack = new Error().stack;
|
3856
3856
|
}, r = e(t);
|
3857
3857
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3858
3858
|
}
|
3859
|
-
var Ue =
|
3859
|
+
var Ue = br(function(e) {
|
3860
3860
|
return function(r) {
|
3861
3861
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3862
3862
|
` + r.map(function(n, i) {
|
@@ -3865,7 +3865,7 @@ var Ue = mr(function(e) {
|
|
3865
3865
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3866
3866
|
};
|
3867
3867
|
});
|
3868
|
-
function
|
3868
|
+
function Ye(e, t) {
|
3869
3869
|
if (e) {
|
3870
3870
|
var r = e.indexOf(t);
|
3871
3871
|
0 <= r && e.splice(r, 1);
|
@@ -3909,10 +3909,10 @@ var Oe = function() {
|
|
3909
3909
|
if (c) {
|
3910
3910
|
this._finalizers = null;
|
3911
3911
|
try {
|
3912
|
-
for (var f = ke(c),
|
3913
|
-
var d =
|
3912
|
+
for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
|
3913
|
+
var d = p.value;
|
3914
3914
|
try {
|
3915
|
-
|
3915
|
+
Pt(d);
|
3916
3916
|
} catch (g) {
|
3917
3917
|
o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
|
3918
3918
|
}
|
@@ -3921,7 +3921,7 @@ var Oe = function() {
|
|
3921
3921
|
n = { error: g };
|
3922
3922
|
} finally {
|
3923
3923
|
try {
|
3924
|
-
|
3924
|
+
p && !p.done && (i = f.return) && i.call(f);
|
3925
3925
|
} finally {
|
3926
3926
|
if (n) throw n.error;
|
3927
3927
|
}
|
@@ -3934,7 +3934,7 @@ var Oe = function() {
|
|
3934
3934
|
var r;
|
3935
3935
|
if (t && t !== this)
|
3936
3936
|
if (this.closed)
|
3937
|
-
|
3937
|
+
Pt(t);
|
3938
3938
|
else {
|
3939
3939
|
if (t instanceof e) {
|
3940
3940
|
if (t.closed || t._hasParent(this))
|
@@ -3951,24 +3951,24 @@ var Oe = function() {
|
|
3951
3951
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3952
3952
|
}, e.prototype._removeParent = function(t) {
|
3953
3953
|
var r = this._parentage;
|
3954
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3954
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
|
3955
3955
|
}, e.prototype.remove = function(t) {
|
3956
3956
|
var r = this._finalizers;
|
3957
|
-
r &&
|
3957
|
+
r && Ye(r, t), t instanceof e && t._removeParent(this);
|
3958
3958
|
}, e.EMPTY = function() {
|
3959
3959
|
var t = new e();
|
3960
3960
|
return t.closed = !0, t;
|
3961
3961
|
}(), e;
|
3962
|
-
}(),
|
3963
|
-
function
|
3962
|
+
}(), gr = Oe.EMPTY;
|
3963
|
+
function vr(e) {
|
3964
3964
|
return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
3965
3965
|
}
|
3966
|
-
function
|
3966
|
+
function Pt(e) {
|
3967
3967
|
G(e) ? e() : e.unsubscribe();
|
3968
3968
|
}
|
3969
|
-
var
|
3969
|
+
var Qi = {
|
3970
3970
|
Promise: void 0
|
3971
|
-
},
|
3971
|
+
}, Ji = {
|
3972
3972
|
setTimeout: function(e, t) {
|
3973
3973
|
for (var r = [], n = 2; n < arguments.length; n++)
|
3974
3974
|
r[n - 2] = arguments[n];
|
@@ -3980,20 +3980,20 @@ var Ji = {
|
|
3980
3980
|
delegate: void 0
|
3981
3981
|
};
|
3982
3982
|
function qi(e) {
|
3983
|
-
|
3983
|
+
Ji.setTimeout(function() {
|
3984
3984
|
throw e;
|
3985
3985
|
});
|
3986
3986
|
}
|
3987
|
-
function
|
3987
|
+
function Bt() {
|
3988
3988
|
}
|
3989
3989
|
function ye(e) {
|
3990
3990
|
e();
|
3991
3991
|
}
|
3992
|
-
var
|
3992
|
+
var yr = function(e) {
|
3993
3993
|
U(t, e);
|
3994
3994
|
function t(r) {
|
3995
3995
|
var n = e.call(this) || this;
|
3996
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
3996
|
+
return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = eo, n;
|
3997
3997
|
}
|
3998
3998
|
return t.create = function(r, n, i) {
|
3999
3999
|
return new Ke(r, n, i);
|
@@ -4020,7 +4020,7 @@ var vr = function(e) {
|
|
4020
4020
|
this.unsubscribe();
|
4021
4021
|
}
|
4022
4022
|
}, t;
|
4023
|
-
}(Oe),
|
4023
|
+
}(Oe), Yi = function() {
|
4024
4024
|
function e(t) {
|
4025
4025
|
this.partialObserver = t;
|
4026
4026
|
}
|
@@ -4059,35 +4059,35 @@ var vr = function(e) {
|
|
4059
4059
|
next: r ?? void 0,
|
4060
4060
|
error: n ?? void 0,
|
4061
4061
|
complete: i ?? void 0
|
4062
|
-
} : s = r, o.destination = new
|
4062
|
+
} : s = r, o.destination = new Yi(s), o;
|
4063
4063
|
}
|
4064
4064
|
return t;
|
4065
|
-
}(
|
4065
|
+
}(yr);
|
4066
4066
|
function me(e) {
|
4067
4067
|
qi(e);
|
4068
4068
|
}
|
4069
|
-
function
|
4069
|
+
function Ki(e) {
|
4070
4070
|
throw e;
|
4071
4071
|
}
|
4072
|
-
var
|
4072
|
+
var eo = {
|
4073
4073
|
closed: !0,
|
4074
|
-
next:
|
4075
|
-
error:
|
4076
|
-
complete:
|
4077
|
-
},
|
4074
|
+
next: Bt,
|
4075
|
+
error: Ki,
|
4076
|
+
complete: Bt
|
4077
|
+
}, to = function() {
|
4078
4078
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4079
4079
|
}();
|
4080
|
-
function
|
4080
|
+
function ro(e) {
|
4081
4081
|
return e;
|
4082
4082
|
}
|
4083
|
-
function
|
4084
|
-
return e.length === 0 ?
|
4083
|
+
function no(e) {
|
4084
|
+
return e.length === 0 ? ro : e.length === 1 ? e[0] : function(r) {
|
4085
4085
|
return e.reduce(function(n, i) {
|
4086
4086
|
return i(n);
|
4087
4087
|
}, r);
|
4088
4088
|
};
|
4089
4089
|
}
|
4090
|
-
var
|
4090
|
+
var At = function() {
|
4091
4091
|
function e(t) {
|
4092
4092
|
t && (this._subscribe = t);
|
4093
4093
|
}
|
@@ -4095,7 +4095,7 @@ var Bt = function() {
|
|
4095
4095
|
var r = new e();
|
4096
4096
|
return r.source = this, r.operator = t, r;
|
4097
4097
|
}, e.prototype.subscribe = function(t, r, n) {
|
4098
|
-
var i = this, o =
|
4098
|
+
var i = this, o = oo(t) ? t : new Ke(t, r, n);
|
4099
4099
|
return ye(function() {
|
4100
4100
|
var s = i, a = s.operator, u = s.source;
|
4101
4101
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4108,7 +4108,7 @@ var Bt = function() {
|
|
4108
4108
|
}
|
4109
4109
|
}, e.prototype.forEach = function(t, r) {
|
4110
4110
|
var n = this;
|
4111
|
-
return r =
|
4111
|
+
return r = Ot(r), new r(function(i, o) {
|
4112
4112
|
var s = new Ke({
|
4113
4113
|
next: function(a) {
|
4114
4114
|
try {
|
@@ -4125,15 +4125,15 @@ var Bt = function() {
|
|
4125
4125
|
}, e.prototype._subscribe = function(t) {
|
4126
4126
|
var r;
|
4127
4127
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4128
|
-
}, e.prototype[
|
4128
|
+
}, e.prototype[to] = function() {
|
4129
4129
|
return this;
|
4130
4130
|
}, e.prototype.pipe = function() {
|
4131
4131
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4132
4132
|
t[r] = arguments[r];
|
4133
|
-
return
|
4133
|
+
return no(t)(this);
|
4134
4134
|
}, e.prototype.toPromise = function(t) {
|
4135
4135
|
var r = this;
|
4136
|
-
return t =
|
4136
|
+
return t = Ot(t), new t(function(n, i) {
|
4137
4137
|
var o;
|
4138
4138
|
r.subscribe(function(s) {
|
4139
4139
|
return o = s;
|
@@ -4147,32 +4147,32 @@ var Bt = function() {
|
|
4147
4147
|
return new e(t);
|
4148
4148
|
}, e;
|
4149
4149
|
}();
|
4150
|
-
function
|
4150
|
+
function Ot(e) {
|
4151
4151
|
var t;
|
4152
|
-
return (t = e ??
|
4152
|
+
return (t = e ?? Qi.Promise) !== null && t !== void 0 ? t : Promise;
|
4153
4153
|
}
|
4154
|
-
function
|
4154
|
+
function io(e) {
|
4155
4155
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
4156
4156
|
}
|
4157
|
-
function
|
4158
|
-
return e && e instanceof
|
4157
|
+
function oo(e) {
|
4158
|
+
return e && e instanceof yr || io(e) && vr(e);
|
4159
4159
|
}
|
4160
|
-
var
|
4160
|
+
var so = br(function(e) {
|
4161
4161
|
return function() {
|
4162
4162
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4163
4163
|
};
|
4164
|
-
}),
|
4164
|
+
}), _r = function(e) {
|
4165
4165
|
U(t, e);
|
4166
4166
|
function t() {
|
4167
4167
|
var r = e.call(this) || this;
|
4168
4168
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4169
4169
|
}
|
4170
4170
|
return t.prototype.lift = function(r) {
|
4171
|
-
var n = new
|
4171
|
+
var n = new It(this, this);
|
4172
4172
|
return n.operator = r, n;
|
4173
4173
|
}, t.prototype._throwIfClosed = function() {
|
4174
4174
|
if (this.closed)
|
4175
|
-
throw new
|
4175
|
+
throw new so();
|
4176
4176
|
}, t.prototype.next = function(r) {
|
4177
4177
|
var n = this;
|
4178
4178
|
ye(function() {
|
@@ -4228,19 +4228,19 @@ var ao = mr(function(e) {
|
|
4228
4228
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4229
4229
|
}, t.prototype._innerSubscribe = function(r) {
|
4230
4230
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4231
|
-
return o || s ?
|
4232
|
-
n.currentObservers = null,
|
4231
|
+
return o || s ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4232
|
+
n.currentObservers = null, Ye(a, r);
|
4233
4233
|
}));
|
4234
4234
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4235
4235
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4236
4236
|
i ? r.error(o) : s && r.complete();
|
4237
4237
|
}, t.prototype.asObservable = function() {
|
4238
|
-
var r = new
|
4238
|
+
var r = new At();
|
4239
4239
|
return r.source = this, r;
|
4240
4240
|
}, t.create = function(r, n) {
|
4241
|
-
return new
|
4241
|
+
return new It(r, n);
|
4242
4242
|
}, t;
|
4243
|
-
}(
|
4243
|
+
}(At), It = function(e) {
|
4244
4244
|
U(t, e);
|
4245
4245
|
function t(r, n) {
|
4246
4246
|
var i = e.call(this) || this;
|
@@ -4257,17 +4257,17 @@ var ao = mr(function(e) {
|
|
4257
4257
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4258
4258
|
}, t.prototype._subscribe = function(r) {
|
4259
4259
|
var n, i;
|
4260
|
-
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 : gr;
|
4261
4261
|
}, t;
|
4262
|
-
}(
|
4262
|
+
}(_r), xr = {
|
4263
4263
|
now: function() {
|
4264
|
-
return (
|
4264
|
+
return (xr.delegate || Date).now();
|
4265
4265
|
},
|
4266
4266
|
delegate: void 0
|
4267
|
-
},
|
4267
|
+
}, ao = function(e) {
|
4268
4268
|
U(t, e);
|
4269
4269
|
function t(r, n, i) {
|
4270
|
-
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 = xr);
|
4271
4271
|
var o = e.call(this) || this;
|
4272
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;
|
4273
4273
|
}
|
@@ -4287,28 +4287,51 @@ var ao = mr(function(e) {
|
|
4287
4287
|
h && o.splice(0, h + 1);
|
4288
4288
|
}
|
4289
4289
|
}, t;
|
4290
|
-
}(
|
4291
|
-
const
|
4292
|
-
if (
|
4293
|
-
const r = new
|
4294
|
-
|
4290
|
+
}(_r);
|
4291
|
+
const Lt = [], Nt = {}, lo = (e, t = 0) => {
|
4292
|
+
if (Lt.indexOf(e) == -1) {
|
4293
|
+
const r = new ao(t);
|
4294
|
+
Nt[e] = r, Lt.push(e);
|
4295
4295
|
}
|
4296
|
-
return
|
4296
|
+
return Nt[e];
|
4297
4297
|
};
|
4298
|
-
window.emWidgets = { topic:
|
4299
|
-
const
|
4300
|
-
function
|
4301
|
-
|
4298
|
+
window.emWidgets = { topic: lo };
|
4299
|
+
const uo = (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 ho(e, t) {
|
4301
|
+
if (e) {
|
4302
|
+
const r = document.createElement("style");
|
4303
|
+
r.innerHTML = t, e.appendChild(r);
|
4304
|
+
}
|
4305
|
+
}
|
4306
|
+
function co(e, t) {
|
4307
|
+
const r = new URL(t);
|
4308
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
4309
|
+
const i = document.createElement("style");
|
4310
|
+
i.innerHTML = n, e && e.appendChild(i);
|
4311
|
+
}).catch((n) => {
|
4312
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
4313
|
+
});
|
4314
|
+
}
|
4315
|
+
function fo(e, t, r) {
|
4316
|
+
if (window.emMessageBus) {
|
4317
|
+
const n = document.createElement("style");
|
4318
|
+
window.emMessageBus.subscribe(t, (i) => {
|
4319
|
+
n.innerHTML = i, e && e.appendChild(n);
|
4320
|
+
});
|
4321
|
+
}
|
4302
4322
|
}
|
4303
|
-
function
|
4323
|
+
function po(e) {
|
4324
|
+
Rr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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)}}');
|
4325
|
+
}
|
4326
|
+
function Mt(e, t, r) {
|
4304
4327
|
const n = e.slice();
|
4305
4328
|
return n[41] = t[r], n;
|
4306
4329
|
}
|
4307
|
-
function
|
4330
|
+
function Rt(e, t, r) {
|
4308
4331
|
const n = e.slice();
|
4309
4332
|
return n[44] = t[r], n;
|
4310
4333
|
}
|
4311
|
-
function
|
4334
|
+
function mo(e) {
|
4312
4335
|
let t, r, n, i = (
|
4313
4336
|
/*type*/
|
4314
4337
|
(e[0] == "vendor" ? (
|
@@ -4321,33 +4344,33 @@ function fo(e) {
|
|
4321
4344
|
), o, s, a, u, h, l, c = (
|
4322
4345
|
/*numberOfSlides*/
|
4323
4346
|
e[8] > /*numberOfVisibleSlides*/
|
4324
|
-
e[9] &&
|
4347
|
+
e[9] && $t(e)
|
4325
4348
|
), f = Se(
|
4326
4349
|
/*gameCategories*/
|
4327
4350
|
e[3]
|
4328
|
-
),
|
4351
|
+
), p = [];
|
4329
4352
|
for (let d = 0; d < f.length; d += 1)
|
4330
|
-
|
4353
|
+
p[d] = Dt(Mt(e, f, d));
|
4331
4354
|
return {
|
4332
4355
|
c() {
|
4333
|
-
t =
|
4334
|
-
for (let d = 0; d <
|
4335
|
-
|
4336
|
-
|
4356
|
+
t = C("div"), r = C("div"), n = C("p"), o = He(i), s = k(), c && c.c(), a = k(), u = C("div");
|
4357
|
+
for (let d = 0; d < p.length; d += 1)
|
4358
|
+
p[d].c();
|
4359
|
+
S(n, "class", "Title"), S(r, "class", "CategoriesHeader"), S(u, "class", "CategoriesSlider"), Ee(() => (
|
4337
4360
|
/*div1_elementresize_handler*/
|
4338
|
-
e[
|
4339
|
-
)),
|
4361
|
+
e[28].call(u)
|
4362
|
+
)), S(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
|
4340
4363
|
(e[10] ? "Mobile" : "") + " " + /*type*/
|
4341
4364
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4342
4365
|
},
|
4343
4366
|
m(d, g) {
|
4344
|
-
|
4345
|
-
for (let
|
4346
|
-
m
|
4347
|
-
e[
|
4367
|
+
$(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, u);
|
4368
|
+
for (let m = 0; m < p.length; m += 1)
|
4369
|
+
p[m] && p[m].m(u, null);
|
4370
|
+
e[27](u), h = kr(
|
4348
4371
|
u,
|
4349
4372
|
/*div1_elementresize_handler*/
|
4350
|
-
e[
|
4373
|
+
e[28].bind(u)
|
4351
4374
|
);
|
4352
4375
|
},
|
4353
4376
|
p(d, g) {
|
@@ -4361,85 +4384,85 @@ function fo(e) {
|
|
4361
4384
|
d[11]("collections")
|
4362
4385
|
)) + "") && tt(o, i), /*numberOfSlides*/
|
4363
4386
|
d[8] > /*numberOfVisibleSlides*/
|
4364
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4387
|
+
d[9] ? c ? c.p(d, g) : (c = $t(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4365
4388
|
49166) {
|
4366
4389
|
f = Se(
|
4367
4390
|
/*gameCategories*/
|
4368
4391
|
d[3]
|
4369
4392
|
);
|
4370
|
-
let
|
4371
|
-
for (
|
4372
|
-
const
|
4373
|
-
m
|
4393
|
+
let m;
|
4394
|
+
for (m = 0; m < f.length; m += 1) {
|
4395
|
+
const E = Mt(d, f, m);
|
4396
|
+
p[m] ? p[m].p(E, g) : (p[m] = Dt(E), p[m].c(), p[m].m(u, null));
|
4374
4397
|
}
|
4375
|
-
for (;
|
4376
|
-
m
|
4377
|
-
|
4398
|
+
for (; m < p.length; m += 1)
|
4399
|
+
p[m].d(1);
|
4400
|
+
p.length = f.length;
|
4378
4401
|
}
|
4379
4402
|
g[0] & /*mobile, type*/
|
4380
4403
|
1025 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
|
4381
4404
|
(d[10] ? "Mobile" : "") + " " + /*type*/
|
4382
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4405
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && S(t, "class", l);
|
4383
4406
|
},
|
4384
4407
|
d(d) {
|
4385
|
-
d && N(t), c && c.d(),
|
4408
|
+
d && N(t), c && c.d(), Vt(p, d), e[27](null), h();
|
4386
4409
|
}
|
4387
4410
|
};
|
4388
4411
|
}
|
4389
|
-
function
|
4412
|
+
function bo(e) {
|
4390
4413
|
let t;
|
4391
4414
|
return {
|
4392
4415
|
c() {
|
4393
|
-
t =
|
4416
|
+
t = C("div"), S(t, "class", "LoadingSpinner");
|
4394
4417
|
},
|
4395
4418
|
m(r, n) {
|
4396
|
-
|
4419
|
+
$(r, t, n);
|
4397
4420
|
},
|
4398
|
-
p:
|
4421
|
+
p: O,
|
4399
4422
|
d(r) {
|
4400
4423
|
r && N(t);
|
4401
4424
|
}
|
4402
4425
|
};
|
4403
4426
|
}
|
4404
|
-
function
|
4427
|
+
function $t(e) {
|
4405
4428
|
let t, r, n, i, o, s;
|
4406
4429
|
return {
|
4407
4430
|
c() {
|
4408
|
-
t =
|
4431
|
+
t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', S(t, "class", "ButtonsContainer");
|
4409
4432
|
},
|
4410
4433
|
m(a, u) {
|
4411
|
-
|
4434
|
+
$(a, t, u), H(t, r), H(t, n), H(t, i), o || (s = [
|
4412
4435
|
Q(
|
4413
4436
|
r,
|
4414
4437
|
"click",
|
4415
4438
|
/*click_handler*/
|
4416
|
-
e[
|
4439
|
+
e[23]
|
4417
4440
|
),
|
4418
4441
|
Q(
|
4419
4442
|
i,
|
4420
4443
|
"click",
|
4421
4444
|
/*click_handler_1*/
|
4422
|
-
e[
|
4445
|
+
e[24]
|
4423
4446
|
)
|
4424
4447
|
], o = !0);
|
4425
4448
|
},
|
4426
|
-
p:
|
4449
|
+
p: O,
|
4427
4450
|
d(a) {
|
4428
4451
|
a && N(t), o = !1, ee(s);
|
4429
4452
|
}
|
4430
4453
|
};
|
4431
4454
|
}
|
4432
|
-
function
|
4455
|
+
function go(e) {
|
4433
4456
|
let t, r = (
|
4434
4457
|
/*category*/
|
4435
4458
|
e[41].name + ""
|
4436
4459
|
), n;
|
4437
4460
|
return {
|
4438
4461
|
c() {
|
4439
|
-
t =
|
4462
|
+
t = C("p"), n = He(r), S(t, "class", "CategorySlideTitle");
|
4440
4463
|
},
|
4441
4464
|
m(i, o) {
|
4442
|
-
|
4465
|
+
$(i, t, o), H(t, n);
|
4443
4466
|
},
|
4444
4467
|
p(i, o) {
|
4445
4468
|
o[0] & /*gameCategories*/
|
@@ -4451,60 +4474,60 @@ function mo(e) {
|
|
4451
4474
|
}
|
4452
4475
|
};
|
4453
4476
|
}
|
4454
|
-
function
|
4477
|
+
function vo(e) {
|
4455
4478
|
let t, r, n;
|
4456
4479
|
return {
|
4457
4480
|
c() {
|
4458
|
-
t =
|
4459
|
-
e[41].icon) ||
|
4481
|
+
t = C("img"), S(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
|
4482
|
+
e[41].icon) || S(t, "src", r), S(t, "alt", n = /*category*/
|
4460
4483
|
e[41].name + " icon");
|
4461
4484
|
},
|
4462
4485
|
m(i, o) {
|
4463
|
-
|
4486
|
+
$(i, t, o);
|
4464
4487
|
},
|
4465
4488
|
p(i, o) {
|
4466
4489
|
o[0] & /*gameCategories*/
|
4467
4490
|
8 && !_e(t.src, r = /*category*/
|
4468
|
-
i[41].icon) &&
|
4491
|
+
i[41].icon) && S(t, "src", r), o[0] & /*gameCategories*/
|
4469
4492
|
8 && n !== (n = /*category*/
|
4470
|
-
i[41].name + " icon") &&
|
4493
|
+
i[41].name + " icon") && S(t, "alt", n);
|
4471
4494
|
},
|
4472
4495
|
d(i) {
|
4473
4496
|
i && N(t);
|
4474
4497
|
}
|
4475
4498
|
};
|
4476
4499
|
}
|
4477
|
-
function
|
4500
|
+
function Gt(e) {
|
4478
4501
|
let t, r = (
|
4479
4502
|
/*game*/
|
4480
4503
|
e[44].name + ""
|
4481
4504
|
), n, i;
|
4482
4505
|
return {
|
4483
4506
|
c() {
|
4484
|
-
t =
|
4507
|
+
t = C("p"), n = He(r), S(t, "title", i = /*game*/
|
4485
4508
|
e[44].name);
|
4486
4509
|
},
|
4487
4510
|
m(o, s) {
|
4488
|
-
|
4511
|
+
$(o, t, s), H(t, n);
|
4489
4512
|
},
|
4490
4513
|
p(o, s) {
|
4491
4514
|
s[0] & /*gameCategories*/
|
4492
4515
|
8 && r !== (r = /*game*/
|
4493
4516
|
o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
|
4494
4517
|
8 && i !== (i = /*game*/
|
4495
|
-
o[44].name) &&
|
4518
|
+
o[44].name) && S(t, "title", i);
|
4496
4519
|
},
|
4497
4520
|
d(o) {
|
4498
4521
|
o && N(t);
|
4499
4522
|
}
|
4500
4523
|
};
|
4501
4524
|
}
|
4502
|
-
function
|
4525
|
+
function Ut(e) {
|
4503
4526
|
let t, r, n, i, o, s, a, u;
|
4504
4527
|
function h() {
|
4505
4528
|
return (
|
4506
4529
|
/*click_handler_2*/
|
4507
|
-
e[
|
4530
|
+
e[25](
|
4508
4531
|
/*game*/
|
4509
4532
|
e[44]
|
4510
4533
|
)
|
@@ -4512,52 +4535,52 @@ function Gt(e) {
|
|
4512
4535
|
}
|
4513
4536
|
let l = (
|
4514
4537
|
/*collectionprovidersgamenames*/
|
4515
|
-
e[2] == "true" &&
|
4538
|
+
e[2] == "true" && Gt(e)
|
4516
4539
|
);
|
4517
4540
|
return {
|
4518
4541
|
c() {
|
4519
|
-
t =
|
4520
|
-
e[44].defaultThumbnail) ||
|
4521
|
-
e[44].name),
|
4542
|
+
t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), S(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
|
4543
|
+
e[44].defaultThumbnail) || S(r, "src", n), S(r, "alt", i = /*game*/
|
4544
|
+
e[44].name), S(t, "class", "CategorySlideGames");
|
4522
4545
|
},
|
4523
4546
|
m(c, f) {
|
4524
|
-
|
4547
|
+
$(c, t, f), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (u = Q(r, "click", Ur(h)), a = !0);
|
4525
4548
|
},
|
4526
4549
|
p(c, f) {
|
4527
4550
|
e = c, f[0] & /*gameCategories*/
|
4528
4551
|
8 && !_e(r.src, n = /*game*/
|
4529
|
-
e[44].defaultThumbnail) &&
|
4552
|
+
e[44].defaultThumbnail) && S(r, "src", n), f[0] & /*gameCategories*/
|
4530
4553
|
8 && i !== (i = /*game*/
|
4531
|
-
e[44].name) &&
|
4532
|
-
e[2] == "true" ? l ? l.p(e, f) : (l =
|
4554
|
+
e[44].name) && S(r, "alt", i), /*collectionprovidersgamenames*/
|
4555
|
+
e[2] == "true" ? l ? l.p(e, f) : (l = Gt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4533
4556
|
},
|
4534
4557
|
d(c) {
|
4535
4558
|
c && N(t), l && l.d(), a = !1, u();
|
4536
4559
|
}
|
4537
4560
|
};
|
4538
4561
|
}
|
4539
|
-
function
|
4562
|
+
function Dt(e) {
|
4540
4563
|
let t, r, n, i, o, s, a, u, h;
|
4541
|
-
function l(
|
4564
|
+
function l(m, E) {
|
4542
4565
|
if (
|
4543
4566
|
/*titletype*/
|
4544
|
-
|
4545
|
-
) return
|
4567
|
+
m[1] == "logo"
|
4568
|
+
) return vo;
|
4546
4569
|
if (
|
4547
4570
|
/*titletype*/
|
4548
|
-
|
4549
|
-
) return
|
4571
|
+
m[1] == "title"
|
4572
|
+
) return go;
|
4550
4573
|
}
|
4551
|
-
let c = l(e), f = c && c(e),
|
4574
|
+
let c = l(e), f = c && c(e), p = Se(
|
4552
4575
|
/*category*/
|
4553
4576
|
e[41].games
|
4554
4577
|
), d = [];
|
4555
|
-
for (let
|
4556
|
-
d[
|
4578
|
+
for (let m = 0; m < p.length; m += 1)
|
4579
|
+
d[m] = Ut(Rt(e, p, m));
|
4557
4580
|
function g() {
|
4558
4581
|
return (
|
4559
4582
|
/*click_handler_3*/
|
4560
|
-
e[
|
4583
|
+
e[26](
|
4561
4584
|
/*category*/
|
4562
4585
|
e[41]
|
4563
4586
|
)
|
@@ -4565,129 +4588,129 @@ function Ut(e) {
|
|
4565
4588
|
}
|
4566
4589
|
return {
|
4567
4590
|
c() {
|
4568
|
-
t =
|
4569
|
-
for (let
|
4570
|
-
d[
|
4571
|
-
a =
|
4591
|
+
t = C("div"), r = C("div"), n = C("div"), f && f.c(), i = k(), o = C("div");
|
4592
|
+
for (let m = 0; m < d.length; m += 1)
|
4593
|
+
d[m].c();
|
4594
|
+
a = k(), S(n, "class", "CategorySlideTopContainer"), S(o, "class", "CategorySlideGameContainer"), S(r, "class", s = "CategorySlide " + /*category*/
|
4572
4595
|
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4573
|
-
e[41]?.background + ")"), Ie(r, "background-size", "cover"),
|
4596
|
+
e[41]?.background + ")"), Ie(r, "background-size", "cover"), S(t, "class", "CategoriesSliderWrapper Animation");
|
4574
4597
|
},
|
4575
|
-
m(
|
4576
|
-
|
4577
|
-
for (let
|
4578
|
-
d[
|
4579
|
-
|
4598
|
+
m(m, E) {
|
4599
|
+
$(m, t, E), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
|
4600
|
+
for (let x = 0; x < d.length; x += 1)
|
4601
|
+
d[x] && d[x].m(o, null);
|
4602
|
+
H(t, a), u || (h = Q(r, "click", g), u = !0);
|
4580
4603
|
},
|
4581
|
-
p(
|
4582
|
-
if (e =
|
4604
|
+
p(m, E) {
|
4605
|
+
if (e = m, c === (c = l(e)) && f ? f.p(e, E) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4583
4606
|
16396) {
|
4584
|
-
|
4607
|
+
p = Se(
|
4585
4608
|
/*category*/
|
4586
4609
|
e[41].games
|
4587
4610
|
);
|
4588
|
-
let
|
4589
|
-
for (
|
4590
|
-
const
|
4591
|
-
d[
|
4611
|
+
let x;
|
4612
|
+
for (x = 0; x < p.length; x += 1) {
|
4613
|
+
const T = Rt(e, p, x);
|
4614
|
+
d[x] ? d[x].p(T, E) : (d[x] = Ut(T), d[x].c(), d[x].m(o, null));
|
4592
4615
|
}
|
4593
|
-
for (;
|
4594
|
-
d[
|
4595
|
-
d.length =
|
4616
|
+
for (; x < d.length; x += 1)
|
4617
|
+
d[x].d(1);
|
4618
|
+
d.length = p.length;
|
4596
4619
|
}
|
4597
|
-
|
4620
|
+
E[0] & /*gameCategories*/
|
4598
4621
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4599
|
-
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4622
|
+
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && S(r, "class", s), E[0] & /*gameCategories*/
|
4600
4623
|
8 && Ie(r, "background-image", "url(" + /*category*/
|
4601
4624
|
e[41]?.background + ")");
|
4602
4625
|
},
|
4603
|
-
d(
|
4604
|
-
|
4626
|
+
d(m) {
|
4627
|
+
m && N(t), f && f.d(), Vt(d, m), u = !1, h();
|
4605
4628
|
}
|
4606
4629
|
};
|
4607
4630
|
}
|
4608
|
-
function
|
4631
|
+
function yo(e) {
|
4609
4632
|
let t;
|
4610
4633
|
function r(o, s) {
|
4611
4634
|
return (
|
4612
4635
|
/*isLoading*/
|
4613
|
-
o[7] ?
|
4636
|
+
o[7] ? bo : mo
|
4614
4637
|
);
|
4615
4638
|
}
|
4616
4639
|
let n = r(e), i = n(e);
|
4617
4640
|
return {
|
4618
4641
|
c() {
|
4619
|
-
t =
|
4642
|
+
t = C("div"), i.c();
|
4620
4643
|
},
|
4621
4644
|
m(o, s) {
|
4622
|
-
|
4645
|
+
$(o, t, s), i.m(t, null), e[29](t);
|
4623
4646
|
},
|
4624
4647
|
p(o, s) {
|
4625
4648
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
4626
4649
|
},
|
4627
|
-
i:
|
4628
|
-
o:
|
4650
|
+
i: O,
|
4651
|
+
o: O,
|
4629
4652
|
d(o) {
|
4630
|
-
o && N(t), i.d(), e[
|
4653
|
+
o && N(t), i.d(), e[29](null);
|
4631
4654
|
}
|
4632
4655
|
};
|
4633
4656
|
}
|
4634
|
-
function
|
4657
|
+
function _o(e, t, r) {
|
4635
4658
|
let n;
|
4636
|
-
|
4637
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t,
|
4638
|
-
const
|
4639
|
-
fetch(c).then((
|
4640
|
-
Object.keys(
|
4641
|
-
|
4659
|
+
Mr(e, zi, (b) => r(11, n = b));
|
4660
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, E = 0, x = 0, T = 0, D, M, B, ce = window.navigator.userAgent, it, ie = 0;
|
4661
|
+
const Er = () => {
|
4662
|
+
fetch(c).then((A) => A.json()).then((A) => {
|
4663
|
+
Object.keys(A).forEach((R) => {
|
4664
|
+
Ht(R, A[R]);
|
4642
4665
|
});
|
4643
|
-
}).catch((
|
4644
|
-
console.log(
|
4666
|
+
}).catch((A) => {
|
4667
|
+
console.log(A);
|
4645
4668
|
});
|
4646
4669
|
};
|
4647
|
-
Object.keys(
|
4648
|
-
|
4670
|
+
Object.keys(Ct).forEach((b) => {
|
4671
|
+
Ht(b, Ct[b]);
|
4649
4672
|
});
|
4650
|
-
const
|
4673
|
+
const Sr = () => {
|
4651
4674
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4652
|
-
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((
|
4653
|
-
r(7,
|
4654
|
-
let
|
4655
|
-
r(3,
|
4656
|
-
id:
|
4657
|
-
name:
|
4658
|
-
icon:
|
4659
|
-
games:
|
4660
|
-
background:
|
4661
|
-
flag:
|
4662
|
-
}))), r(8,
|
4675
|
+
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((A) => A.json()).then((A) => {
|
4676
|
+
r(7, g = !1);
|
4677
|
+
let R = A.items.filter((I) => I.flags == a);
|
4678
|
+
r(3, d = R.map((I) => ({
|
4679
|
+
id: I.id,
|
4680
|
+
name: I.name,
|
4681
|
+
icon: I.icon ? I.icon : I.vendors?.items[0]?.subVendors[0]?.logo,
|
4682
|
+
games: I.games.items.slice(0, 4).map((Lr) => Lr),
|
4683
|
+
background: I.background,
|
4684
|
+
flag: I.flags
|
4685
|
+
}))), r(8, x = d.length);
|
4663
4686
|
});
|
4664
|
-
},
|
4665
|
-
|
4666
|
-
|
4667
|
-
}),
|
4668
|
-
},
|
4669
|
-
r(9,
|
4670
|
-
}, ot = () => {
|
4671
|
-
it(p);
|
4687
|
+
}, ot = (b) => {
|
4688
|
+
M = [...m.children], M.forEach((A, R) => {
|
4689
|
+
A.style.transform = `translateX(${100 * (b ? R - b : R)}%)`;
|
4690
|
+
}), D = M[0].getBoundingClientRect().width, wr();
|
4691
|
+
}, wr = () => {
|
4692
|
+
r(9, T = Math.floor(ie / D));
|
4672
4693
|
}, st = () => {
|
4673
|
-
|
4694
|
+
ot(E);
|
4674
4695
|
}, at = () => {
|
4675
|
-
|
4676
|
-
}, lt = (
|
4696
|
+
E === 0 ? E = x - T : E - T < -1 ? E = 0 : E--, st();
|
4697
|
+
}, lt = () => {
|
4698
|
+
E === x - T ? E = 0 : x - T < E + 1 ? E = x - T : E++, st();
|
4699
|
+
}, ut = (b, A, R, I) => {
|
4677
4700
|
window.postMessage(
|
4678
4701
|
{
|
4679
4702
|
type: "OpenCollectionsProvidersGame",
|
4680
4703
|
gameId: b,
|
4681
|
-
launchUrl:
|
4682
|
-
gameName:
|
4683
|
-
subVendor:
|
4704
|
+
launchUrl: A,
|
4705
|
+
gameName: R,
|
4706
|
+
subVendor: I
|
4684
4707
|
},
|
4685
4708
|
window.location.href
|
4686
4709
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4687
4710
|
context: "CollectionsProviders",
|
4688
|
-
gameName: `${
|
4711
|
+
gameName: `${R}`
|
4689
4712
|
});
|
4690
|
-
},
|
4713
|
+
}, ht = (b) => {
|
4691
4714
|
window.postMessage(
|
4692
4715
|
{
|
4693
4716
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4695,89 +4718,77 @@ function vo(e, t, r) {
|
|
4695
4718
|
},
|
4696
4719
|
window.location.href
|
4697
4720
|
);
|
4698
|
-
}, wr = () => {
|
4699
|
-
Qi(s);
|
4700
4721
|
}, Tr = () => {
|
4701
|
-
|
4702
|
-
b.innerHTML = h, B.appendChild(b);
|
4703
|
-
}, Hr = () => {
|
4704
|
-
let b = new URL(l), C = document.createElement("style");
|
4705
|
-
fetch(b.href).then((O) => O.text()).then((O) => {
|
4706
|
-
C.innerHTML = O, setTimeout(
|
4707
|
-
() => {
|
4708
|
-
B.appendChild(C);
|
4709
|
-
},
|
4710
|
-
1
|
4711
|
-
);
|
4712
|
-
});
|
4722
|
+
Zi(s);
|
4713
4723
|
};
|
4714
|
-
|
4715
|
-
|
4716
|
-
|
4717
|
-
|
4718
|
-
function Or(b) {
|
4724
|
+
Xr(() => (r(10, it = uo(ce)), () => {
|
4725
|
+
}));
|
4726
|
+
const Hr = () => at(), Cr = () => lt(), Pr = (b) => ut(b.gameId, b.launchUrl, b.name, b.subVendor), Br = (b) => ht(b.id);
|
4727
|
+
function Ar(b) {
|
4719
4728
|
xe[b ? "unshift" : "push"](() => {
|
4720
|
-
|
4729
|
+
m = b, r(4, m);
|
4721
4730
|
});
|
4722
4731
|
}
|
4723
|
-
function
|
4724
|
-
|
4732
|
+
function Or() {
|
4733
|
+
ie = this.clientWidth, r(6, ie);
|
4725
4734
|
}
|
4726
|
-
function
|
4735
|
+
function Ir(b) {
|
4727
4736
|
xe[b ? "unshift" : "push"](() => {
|
4728
4737
|
B = b, r(5, B);
|
4729
4738
|
});
|
4730
4739
|
}
|
4731
4740
|
return e.$$set = (b) => {
|
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, u = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, l = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
|
4741
|
+
"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, u = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, l = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames), "mbsource" in b && r(22, p = b.mbsource);
|
4733
4742
|
}, e.$$.update = () => {
|
4734
4743
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4735
|
-
458752 && i && o && s &&
|
4736
|
-
88 &&
|
4737
|
-
262144 && s &&
|
4738
|
-
524320 && h && B &&
|
4739
|
-
1048608 && l && B &&
|
4740
|
-
|
4744
|
+
458752 && i && o && s && Sr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4745
|
+
88 && ie && d && m && ot(), e.$$.dirty[0] & /*lang*/
|
4746
|
+
262144 && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4747
|
+
524320 && h && B && ho(B, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4748
|
+
1048608 && l && B && co(B, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4749
|
+
4194336 && B && fo(B, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4750
|
+
2097152 && c && Er();
|
4741
4751
|
}, [
|
4742
4752
|
a,
|
4743
4753
|
u,
|
4744
4754
|
f,
|
4755
|
+
d,
|
4745
4756
|
m,
|
4746
|
-
g,
|
4747
4757
|
B,
|
4748
|
-
oe,
|
4749
|
-
d,
|
4750
|
-
S,
|
4751
|
-
_,
|
4752
4758
|
ie,
|
4759
|
+
g,
|
4760
|
+
x,
|
4761
|
+
T,
|
4762
|
+
it,
|
4753
4763
|
n,
|
4754
|
-
st,
|
4755
4764
|
at,
|
4756
4765
|
lt,
|
4757
4766
|
ut,
|
4767
|
+
ht,
|
4758
4768
|
i,
|
4759
4769
|
o,
|
4760
4770
|
s,
|
4761
4771
|
h,
|
4762
4772
|
l,
|
4763
4773
|
c,
|
4774
|
+
p,
|
4775
|
+
Hr,
|
4764
4776
|
Cr,
|
4765
4777
|
Pr,
|
4766
4778
|
Br,
|
4767
4779
|
Ar,
|
4768
4780
|
Or,
|
4769
|
-
Ir
|
4770
|
-
Lr
|
4781
|
+
Ir
|
4771
4782
|
];
|
4772
4783
|
}
|
4773
|
-
class
|
4784
|
+
class xo extends nn {
|
4774
4785
|
constructor(t) {
|
4775
|
-
super(),
|
4786
|
+
super(), tn(
|
4776
4787
|
this,
|
4777
4788
|
t,
|
4778
|
-
|
4779
|
-
|
4780
|
-
|
4789
|
+
_o,
|
4790
|
+
yo,
|
4791
|
+
kt,
|
4781
4792
|
{
|
4782
4793
|
endpoint: 16,
|
4783
4794
|
datasource: 17,
|
@@ -4787,9 +4798,10 @@ class yo extends on {
|
|
4787
4798
|
clientstyling: 19,
|
4788
4799
|
clientstylingurl: 20,
|
4789
4800
|
translationurl: 21,
|
4790
|
-
collectionprovidersgamenames: 2
|
4801
|
+
collectionprovidersgamenames: 2,
|
4802
|
+
mbsource: 22
|
4791
4803
|
},
|
4792
|
-
|
4804
|
+
po,
|
4793
4805
|
[-1, -1]
|
4794
4806
|
);
|
4795
4807
|
}
|
@@ -4797,58 +4809,64 @@ class yo extends on {
|
|
4797
4809
|
return this.$$.ctx[16];
|
4798
4810
|
}
|
4799
4811
|
set endpoint(t) {
|
4800
|
-
this.$$set({ endpoint: t }),
|
4812
|
+
this.$$set({ endpoint: t }), L();
|
4801
4813
|
}
|
4802
4814
|
get datasource() {
|
4803
4815
|
return this.$$.ctx[17];
|
4804
4816
|
}
|
4805
4817
|
set datasource(t) {
|
4806
|
-
this.$$set({ datasource: t }),
|
4818
|
+
this.$$set({ datasource: t }), L();
|
4807
4819
|
}
|
4808
4820
|
get lang() {
|
4809
4821
|
return this.$$.ctx[18];
|
4810
4822
|
}
|
4811
4823
|
set lang(t) {
|
4812
|
-
this.$$set({ lang: t }),
|
4824
|
+
this.$$set({ lang: t }), L();
|
4813
4825
|
}
|
4814
4826
|
get type() {
|
4815
4827
|
return this.$$.ctx[0];
|
4816
4828
|
}
|
4817
4829
|
set type(t) {
|
4818
|
-
this.$$set({ type: t }),
|
4830
|
+
this.$$set({ type: t }), L();
|
4819
4831
|
}
|
4820
4832
|
get titletype() {
|
4821
4833
|
return this.$$.ctx[1];
|
4822
4834
|
}
|
4823
4835
|
set titletype(t) {
|
4824
|
-
this.$$set({ titletype: t }),
|
4836
|
+
this.$$set({ titletype: t }), L();
|
4825
4837
|
}
|
4826
4838
|
get clientstyling() {
|
4827
4839
|
return this.$$.ctx[19];
|
4828
4840
|
}
|
4829
4841
|
set clientstyling(t) {
|
4830
|
-
this.$$set({ clientstyling: t }),
|
4842
|
+
this.$$set({ clientstyling: t }), L();
|
4831
4843
|
}
|
4832
4844
|
get clientstylingurl() {
|
4833
4845
|
return this.$$.ctx[20];
|
4834
4846
|
}
|
4835
4847
|
set clientstylingurl(t) {
|
4836
|
-
this.$$set({ clientstylingurl: t }),
|
4848
|
+
this.$$set({ clientstylingurl: t }), L();
|
4837
4849
|
}
|
4838
4850
|
get translationurl() {
|
4839
4851
|
return this.$$.ctx[21];
|
4840
4852
|
}
|
4841
4853
|
set translationurl(t) {
|
4842
|
-
this.$$set({ translationurl: t }),
|
4854
|
+
this.$$set({ translationurl: t }), L();
|
4843
4855
|
}
|
4844
4856
|
get collectionprovidersgamenames() {
|
4845
4857
|
return this.$$.ctx[2];
|
4846
4858
|
}
|
4847
4859
|
set collectionprovidersgamenames(t) {
|
4848
|
-
this.$$set({ collectionprovidersgamenames: t }),
|
4860
|
+
this.$$set({ collectionprovidersgamenames: t }), L();
|
4861
|
+
}
|
4862
|
+
get mbsource() {
|
4863
|
+
return this.$$.ctx[22];
|
4864
|
+
}
|
4865
|
+
set mbsource(t) {
|
4866
|
+
this.$$set({ mbsource: t }), L();
|
4849
4867
|
}
|
4850
4868
|
}
|
4851
|
-
|
4869
|
+
rn(xo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4852
4870
|
export {
|
4853
|
-
|
4871
|
+
xo as C
|
4854
4872
|
};
|