@everymatrix/casino-collections-providers 1.55.0 → 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-B8bXcXAF.cjs +5 -0
- package/components/{CasinoCollectionsProviders-ngiem2Pa.js → CasinoCollectionsProviders-D1ouM50A.js} +580 -602
- package/components/{CasinoCollectionsProviders-DQ0BSsTZ.js → CasinoCollectionsProviders-DbC21yJP.js} +554 -576
- 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-c3NyyyP_.cjs +0 -5
package/components/{CasinoCollectionsProviders-ngiem2Pa.js → CasinoCollectionsProviders-D1ouM50A.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Le = (e, t, r) => t in e ?
|
1
|
+
var kr = Object.defineProperty, Vr = Object.defineProperties;
|
2
|
+
var Xr = Object.getOwnPropertyDescriptors;
|
3
|
+
var bt = Object.getOwnPropertySymbols;
|
4
|
+
var Wr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Le = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Wr.call(t, r) && Le(e, r, t[r]);
|
8
|
+
if (bt)
|
9
|
+
for (var r of bt(t))
|
10
|
+
zr.call(t, r) && Le(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, vt = (e, t) => Vr(e, Xr(t));
|
13
13
|
var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var
|
14
|
+
var yt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (l) => {
|
16
16
|
try {
|
17
17
|
a(r.next(l));
|
@@ -29,29 +29,29 @@ var xt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function L() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Jt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function _t() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function te(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Jt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function rt(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function qt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let de;
|
48
|
-
function
|
48
|
+
function xe(e, t) {
|
49
49
|
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Zr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function Yt(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -60,20 +60,20 @@ function tr(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function Qr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(Yt(t, r));
|
65
65
|
}
|
66
66
|
function C(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function Jr(e, t, r) {
|
70
|
+
const n = qr(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
72
|
const i = P("style");
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, Yr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function qr(e) {
|
77
77
|
if (!e) return document;
|
78
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
79
79
|
return t && /** @type {ShadowRoot} */
|
@@ -82,7 +82,7 @@ function tn(e) {
|
|
82
82
|
t
|
83
83
|
) : e.ownerDocument;
|
84
84
|
}
|
85
|
-
function
|
85
|
+
function Yr(e, t) {
|
86
86
|
return C(
|
87
87
|
/** @type {Document} */
|
88
88
|
e.head || e,
|
@@ -95,7 +95,7 @@ function U(e, t, r) {
|
|
95
95
|
function $(e) {
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
97
97
|
}
|
98
|
-
function
|
98
|
+
function Kt(e, t) {
|
99
99
|
for (let r = 0; r < e.length; r += 1)
|
100
100
|
e[r] && e[r].d(t);
|
101
101
|
}
|
@@ -111,18 +111,18 @@ function k() {
|
|
111
111
|
function J(e, t, r, n) {
|
112
112
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
113
113
|
}
|
114
|
-
function
|
114
|
+
function Kr(e) {
|
115
115
|
return function(t) {
|
116
116
|
return t.stopPropagation(), e.call(this, t);
|
117
117
|
};
|
118
118
|
}
|
119
|
-
function
|
119
|
+
function E(e, t, r) {
|
120
120
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
121
121
|
}
|
122
|
-
function
|
122
|
+
function en(e) {
|
123
123
|
return Array.from(e.childNodes);
|
124
124
|
}
|
125
|
-
function
|
125
|
+
function nt(e, t) {
|
126
126
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
127
127
|
t);
|
128
128
|
}
|
@@ -130,7 +130,7 @@ function Ne(e, t, r, n) {
|
|
130
130
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
131
131
|
}
|
132
132
|
let pe;
|
133
|
-
function
|
133
|
+
function tn() {
|
134
134
|
if (pe === void 0) {
|
135
135
|
pe = !1;
|
136
136
|
try {
|
@@ -141,14 +141,14 @@ function sn() {
|
|
141
141
|
}
|
142
142
|
return pe;
|
143
143
|
}
|
144
|
-
function
|
144
|
+
function rn(e, t) {
|
145
145
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
146
146
|
const n = P("iframe");
|
147
147
|
n.setAttribute(
|
148
148
|
"style",
|
149
149
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
150
150
|
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
151
|
-
const i =
|
151
|
+
const i = tn();
|
152
152
|
let o;
|
153
153
|
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
|
154
154
|
window,
|
@@ -163,7 +163,7 @@ function an(e, t) {
|
|
163
163
|
(i || o && n.contentWindow) && o(), $(n);
|
164
164
|
};
|
165
165
|
}
|
166
|
-
function
|
166
|
+
function nn(e) {
|
167
167
|
const t = {};
|
168
168
|
return e.childNodes.forEach(
|
169
169
|
/** @param {Element} node */
|
@@ -176,19 +176,19 @@ let le;
|
|
176
176
|
function ae(e) {
|
177
177
|
le = e;
|
178
178
|
}
|
179
|
-
function
|
179
|
+
function on() {
|
180
180
|
if (!le) throw new Error("Function called outside component initialization");
|
181
181
|
return le;
|
182
182
|
}
|
183
|
-
function
|
184
|
-
|
183
|
+
function sn(e) {
|
184
|
+
on().$$.on_mount.push(e);
|
185
185
|
}
|
186
|
-
const
|
186
|
+
const z = [], Ee = [];
|
187
187
|
let Z = [];
|
188
|
-
const
|
189
|
-
let
|
190
|
-
function
|
191
|
-
|
188
|
+
const xt = [], an = /* @__PURE__ */ Promise.resolve();
|
189
|
+
let je = !1;
|
190
|
+
function ln() {
|
191
|
+
je || (je = !0, an.then(R));
|
192
192
|
}
|
193
193
|
function Se(e) {
|
194
194
|
Z.push(e);
|
@@ -201,57 +201,57 @@ function R() {
|
|
201
201
|
const e = le;
|
202
202
|
do {
|
203
203
|
try {
|
204
|
-
for (; X <
|
205
|
-
const t =
|
206
|
-
X++, ae(t),
|
204
|
+
for (; X < z.length; ) {
|
205
|
+
const t = z[X];
|
206
|
+
X++, ae(t), un(t.$$);
|
207
207
|
}
|
208
208
|
} catch (t) {
|
209
|
-
throw
|
209
|
+
throw z.length = 0, X = 0, t;
|
210
210
|
}
|
211
|
-
for (ae(null),
|
211
|
+
for (ae(null), z.length = 0, X = 0; Ee.length; ) Ee.pop()();
|
212
212
|
for (let t = 0; t < Z.length; t += 1) {
|
213
213
|
const r = Z[t];
|
214
214
|
Me.has(r) || (Me.add(r), r());
|
215
215
|
}
|
216
216
|
Z.length = 0;
|
217
|
-
} while (
|
218
|
-
for (;
|
219
|
-
|
220
|
-
|
217
|
+
} while (z.length);
|
218
|
+
for (; xt.length; )
|
219
|
+
xt.pop()();
|
220
|
+
je = !1, Me.clear(), ae(e);
|
221
221
|
}
|
222
|
-
function
|
222
|
+
function un(e) {
|
223
223
|
if (e.fragment !== null) {
|
224
224
|
e.update(), te(e.before_update);
|
225
225
|
const t = e.dirty;
|
226
226
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
227
227
|
}
|
228
228
|
}
|
229
|
-
function
|
229
|
+
function hn(e) {
|
230
230
|
const t = [], r = [];
|
231
231
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
232
232
|
}
|
233
|
-
const
|
234
|
-
function
|
235
|
-
e && e.i && (
|
233
|
+
const cn = /* @__PURE__ */ new Set();
|
234
|
+
function fn(e, t) {
|
235
|
+
e && e.i && (cn.delete(e), e.i(t));
|
236
236
|
}
|
237
237
|
function we(e) {
|
238
238
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
239
239
|
}
|
240
|
-
function
|
240
|
+
function dn(e, t, r) {
|
241
241
|
const { fragment: n, after_update: i } = e.$$;
|
242
242
|
n && n.m(t, r), Se(() => {
|
243
|
-
const o = e.$$.on_mount.map(
|
243
|
+
const o = e.$$.on_mount.map(Jt).filter(rt);
|
244
244
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
245
245
|
}), i.forEach(Se);
|
246
246
|
}
|
247
|
-
function
|
247
|
+
function pn(e, t) {
|
248
248
|
const r = e.$$;
|
249
|
-
r.fragment !== null && (
|
249
|
+
r.fragment !== null && (hn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
250
250
|
}
|
251
|
-
function
|
252
|
-
e.$$.dirty[0] === -1 && (
|
251
|
+
function mn(e, t) {
|
252
|
+
e.$$.dirty[0] === -1 && (z.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
253
253
|
}
|
254
|
-
function
|
254
|
+
function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
255
255
|
const l = le;
|
256
256
|
ae(e);
|
257
257
|
const u = e.$$ = {
|
@@ -261,7 +261,7 @@ function _n(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
261
|
props: o,
|
262
262
|
update: L,
|
263
263
|
not_equal: i,
|
264
|
-
bound:
|
264
|
+
bound: _t(),
|
265
265
|
// lifecycle
|
266
266
|
on_mount: [],
|
267
267
|
on_destroy: [],
|
@@ -270,7 +270,7 @@ function _n(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
270
|
after_update: [],
|
271
271
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
272
272
|
// everything else
|
273
|
-
callbacks:
|
273
|
+
callbacks: _t(),
|
274
274
|
dirty: a,
|
275
275
|
skip_bound: !1,
|
276
276
|
root: t.target || l.$$.root
|
@@ -279,19 +279,19 @@ function _n(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
279
279
|
let h = !1;
|
280
280
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
281
281
|
const d = p.length ? p[0] : f;
|
282
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
282
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && mn(e, c)), f;
|
283
283
|
}) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
284
284
|
if (t.hydrate) {
|
285
|
-
const c =
|
285
|
+
const c = en(t.target);
|
286
286
|
u.fragment && u.fragment.l(c), c.forEach($);
|
287
287
|
} else
|
288
288
|
u.fragment && u.fragment.c();
|
289
|
-
t.intro &&
|
289
|
+
t.intro && fn(e.$$.fragment), dn(e, t.target, t.anchor), R();
|
290
290
|
}
|
291
291
|
ae(l);
|
292
292
|
}
|
293
|
-
let
|
294
|
-
typeof HTMLElement == "function" && (
|
293
|
+
let er;
|
294
|
+
typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
295
295
|
constructor(t, r, n) {
|
296
296
|
super();
|
297
297
|
/** The Svelte component constructor */
|
@@ -328,14 +328,14 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
328
328
|
}
|
329
329
|
}
|
330
330
|
connectedCallback() {
|
331
|
-
return
|
331
|
+
return yt(this, null, function* () {
|
332
332
|
if (this.$$cn = !0, !this.$$c) {
|
333
333
|
let t = function(o) {
|
334
334
|
return () => {
|
335
335
|
let s;
|
336
336
|
return {
|
337
337
|
c: function() {
|
338
|
-
s = P("slot"), o !== "default" &&
|
338
|
+
s = P("slot"), o !== "default" && E(s, "name", o);
|
339
339
|
},
|
340
340
|
/**
|
341
341
|
* @param {HTMLElement} target
|
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
352
352
|
};
|
353
353
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
354
354
|
return;
|
355
|
-
const r = {}, n =
|
355
|
+
const r = {}, n = nn(this);
|
356
356
|
for (const o of this.$$s)
|
357
357
|
o in n && (r[o] = [t(o)]);
|
358
358
|
for (const o of this.attributes) {
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
363
363
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
364
364
|
this.$$c = new this.$$ctor({
|
365
365
|
target: this.shadowRoot || this,
|
366
|
-
props:
|
366
|
+
props: vt(gt({}, this.$$d), {
|
367
367
|
$$slots: r,
|
368
368
|
$$scope: {
|
369
369
|
ctx: []
|
@@ -441,8 +441,8 @@ function ge(e, t, r, n) {
|
|
441
441
|
return t;
|
442
442
|
}
|
443
443
|
}
|
444
|
-
function
|
445
|
-
let s = class extends
|
444
|
+
function gn(e, t, r, n, i, o) {
|
445
|
+
let s = class extends er {
|
446
446
|
constructor() {
|
447
447
|
super(e, r, i), this.$$p_d = t;
|
448
448
|
}
|
@@ -472,7 +472,7 @@ function En(e, t, r, n, i, o) {
|
|
472
472
|
}), e.element = /** @type {any} */
|
473
473
|
s, s;
|
474
474
|
}
|
475
|
-
class
|
475
|
+
class vn {
|
476
476
|
constructor() {
|
477
477
|
/**
|
478
478
|
* ### PRIVATE API
|
@@ -493,7 +493,7 @@ class xn {
|
|
493
493
|
}
|
494
494
|
/** @returns {void} */
|
495
495
|
$destroy() {
|
496
|
-
|
496
|
+
pn(this, 1), this.$destroy = L;
|
497
497
|
}
|
498
498
|
/**
|
499
499
|
* @template {Extract<keyof Events, string>} K
|
@@ -502,7 +502,7 @@ class xn {
|
|
502
502
|
* @returns {() => void}
|
503
503
|
*/
|
504
504
|
$on(t, r) {
|
505
|
-
if (!
|
505
|
+
if (!rt(r))
|
506
506
|
return L;
|
507
507
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
508
508
|
return n.push(r), () => {
|
@@ -515,13 +515,13 @@ class xn {
|
|
515
515
|
* @returns {void}
|
516
516
|
*/
|
517
517
|
$set(t) {
|
518
|
-
this.$$set && !
|
518
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
519
519
|
}
|
520
520
|
}
|
521
|
-
const
|
522
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
523
|
-
const
|
524
|
-
function
|
521
|
+
const yn = "4";
|
522
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
523
|
+
const W = [];
|
524
|
+
function _n(e, t) {
|
525
525
|
return {
|
526
526
|
subscribe: Pe(e, t).subscribe
|
527
527
|
};
|
@@ -530,14 +530,14 @@ function Pe(e, t = L) {
|
|
530
530
|
let r;
|
531
531
|
const n = /* @__PURE__ */ new Set();
|
532
532
|
function i(a) {
|
533
|
-
if (
|
534
|
-
const l = !
|
533
|
+
if (qt(e, a) && (e = a, r)) {
|
534
|
+
const l = !W.length;
|
535
535
|
for (const u of n)
|
536
|
-
u[1](),
|
536
|
+
u[1](), W.push(u, e);
|
537
537
|
if (l) {
|
538
|
-
for (let u = 0; u <
|
539
|
-
|
540
|
-
|
538
|
+
for (let u = 0; u < W.length; u += 2)
|
539
|
+
W[u][0](W[u + 1]);
|
540
|
+
W.length = 0;
|
541
541
|
}
|
542
542
|
}
|
543
543
|
}
|
@@ -557,7 +557,7 @@ function re(e, t, r) {
|
|
557
557
|
if (!i.every(Boolean))
|
558
558
|
throw new Error("derived() expects stores as input, got a falsy value");
|
559
559
|
const o = t.length < 2;
|
560
|
-
return
|
560
|
+
return _n(r, (s, a) => {
|
561
561
|
let l = !1;
|
562
562
|
const u = [];
|
563
563
|
let h = 0, c = L;
|
@@ -566,9 +566,9 @@ function re(e, t, r) {
|
|
566
566
|
return;
|
567
567
|
c();
|
568
568
|
const d = t(n ? u[0] : u, s, a);
|
569
|
-
o ? s(d) : c =
|
569
|
+
o ? s(d) : c = rt(d) ? d : L;
|
570
570
|
}, p = i.map(
|
571
|
-
(d, g) =>
|
571
|
+
(d, g) => Yt(
|
572
572
|
d,
|
573
573
|
(m) => {
|
574
574
|
u[g] = m, h &= ~(1 << g), l && f();
|
@@ -583,106 +583,106 @@ function re(e, t, r) {
|
|
583
583
|
};
|
584
584
|
});
|
585
585
|
}
|
586
|
-
function
|
586
|
+
function xn(e) {
|
587
587
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
588
588
|
}
|
589
|
-
var
|
590
|
-
return
|
589
|
+
var En = function(t) {
|
590
|
+
return Sn(t) && !wn(t);
|
591
591
|
};
|
592
|
-
function
|
592
|
+
function Sn(e) {
|
593
593
|
return !!e && typeof e == "object";
|
594
594
|
}
|
595
|
-
function
|
595
|
+
function wn(e) {
|
596
596
|
var t = Object.prototype.toString.call(e);
|
597
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
597
|
+
return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
|
598
598
|
}
|
599
|
-
var
|
600
|
-
function
|
601
|
-
return e.$$typeof ===
|
599
|
+
var Tn = typeof Symbol == "function" && Symbol.for, Hn = Tn ? Symbol.for("react.element") : 60103;
|
600
|
+
function Cn(e) {
|
601
|
+
return e.$$typeof === Hn;
|
602
602
|
}
|
603
|
-
function
|
603
|
+
function Pn(e) {
|
604
604
|
return Array.isArray(e) ? [] : {};
|
605
605
|
}
|
606
606
|
function ue(e, t) {
|
607
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
607
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Pn(e), e, t) : e;
|
608
608
|
}
|
609
|
-
function
|
609
|
+
function Bn(e, t, r) {
|
610
610
|
return e.concat(t).map(function(n) {
|
611
611
|
return ue(n, r);
|
612
612
|
});
|
613
613
|
}
|
614
|
-
function
|
614
|
+
function An(e, t) {
|
615
615
|
if (!t.customMerge)
|
616
|
-
return
|
616
|
+
return q;
|
617
617
|
var r = t.customMerge(e);
|
618
|
-
return typeof r == "function" ? r :
|
618
|
+
return typeof r == "function" ? r : q;
|
619
619
|
}
|
620
|
-
function
|
620
|
+
function On(e) {
|
621
621
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
622
622
|
return Object.propertyIsEnumerable.call(e, t);
|
623
623
|
}) : [];
|
624
624
|
}
|
625
|
-
function
|
626
|
-
return Object.keys(e).concat(
|
625
|
+
function Et(e) {
|
626
|
+
return Object.keys(e).concat(On(e));
|
627
627
|
}
|
628
|
-
function
|
628
|
+
function tr(e, t) {
|
629
629
|
try {
|
630
630
|
return t in e;
|
631
631
|
} catch (r) {
|
632
632
|
return !1;
|
633
633
|
}
|
634
634
|
}
|
635
|
-
function
|
636
|
-
return
|
635
|
+
function In(e, t) {
|
636
|
+
return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
637
637
|
}
|
638
|
-
function
|
638
|
+
function Ln(e, t, r) {
|
639
639
|
var n = {};
|
640
|
-
return r.isMergeableObject(e) &&
|
640
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
641
641
|
n[i] = ue(e[i], r);
|
642
|
-
}),
|
643
|
-
|
642
|
+
}), Et(t).forEach(function(i) {
|
643
|
+
In(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
644
644
|
}), n;
|
645
645
|
}
|
646
|
-
function
|
647
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
646
|
+
function q(e, t, r) {
|
647
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = ue;
|
648
648
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
649
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
649
|
+
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : ue(t, r);
|
650
650
|
}
|
651
|
-
|
651
|
+
q.all = function(t, r) {
|
652
652
|
if (!Array.isArray(t))
|
653
653
|
throw new Error("first argument should be an array");
|
654
654
|
return t.reduce(function(n, i) {
|
655
|
-
return
|
655
|
+
return q(n, i, r);
|
656
656
|
}, {});
|
657
657
|
};
|
658
|
-
var
|
659
|
-
const
|
660
|
-
var
|
661
|
-
return
|
658
|
+
var Nn = q, Mn = Nn;
|
659
|
+
const Rn = /* @__PURE__ */ xn(Mn);
|
660
|
+
var ke = function(e, t) {
|
661
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
662
662
|
r.__proto__ = n;
|
663
663
|
} || function(r, n) {
|
664
664
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
665
|
-
},
|
665
|
+
}, ke(e, t);
|
666
666
|
};
|
667
667
|
function F(e, t) {
|
668
668
|
if (typeof t != "function" && t !== null)
|
669
669
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
670
|
-
|
670
|
+
ke(e, t);
|
671
671
|
function r() {
|
672
672
|
this.constructor = e;
|
673
673
|
}
|
674
674
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
675
675
|
}
|
676
|
-
var
|
677
|
-
return
|
676
|
+
var x = function() {
|
677
|
+
return x = Object.assign || function(t) {
|
678
678
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
679
679
|
r = arguments[n];
|
680
680
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
681
681
|
}
|
682
682
|
return t;
|
683
|
-
},
|
683
|
+
}, x.apply(this, arguments);
|
684
684
|
};
|
685
|
-
function
|
685
|
+
function $n(e, t) {
|
686
686
|
var r = {};
|
687
687
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
688
688
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -690,7 +690,7 @@ function Fn(e, t) {
|
|
690
690
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
691
691
|
return r;
|
692
692
|
}
|
693
|
-
function
|
693
|
+
function Ve(e) {
|
694
694
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
695
695
|
if (r) return r.call(e);
|
696
696
|
if (e && typeof e.length == "number") return {
|
@@ -700,7 +700,7 @@ function Xe(e) {
|
|
700
700
|
};
|
701
701
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
702
702
|
}
|
703
|
-
function
|
703
|
+
function Xe(e, t) {
|
704
704
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
705
705
|
if (!r) return e;
|
706
706
|
var n = r.call(e), i, o = [], s;
|
@@ -723,55 +723,53 @@ function Q(e, t, r) {
|
|
723
723
|
return e.concat(o || Array.prototype.slice.call(t));
|
724
724
|
}
|
725
725
|
function Re(e, t) {
|
726
|
-
var r = t && t.cache ? t.cache :
|
726
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Dn;
|
727
727
|
return i(e, {
|
728
728
|
cache: r,
|
729
729
|
serializer: n
|
730
730
|
});
|
731
731
|
}
|
732
|
-
function
|
732
|
+
function Gn(e) {
|
733
733
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
734
734
|
}
|
735
|
-
function
|
736
|
-
var i =
|
735
|
+
function Un(e, t, r, n) {
|
736
|
+
var i = Gn(n) ? n : r(n), o = t.get(i);
|
737
737
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
738
738
|
}
|
739
|
-
function
|
739
|
+
function rr(e, t, r) {
|
740
740
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
741
741
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
742
742
|
}
|
743
|
-
function
|
743
|
+
function nr(e, t, r, n, i) {
|
744
744
|
return r.bind(t, e, n, i);
|
745
745
|
}
|
746
|
-
function
|
747
|
-
var r = e.length === 1 ?
|
748
|
-
return
|
749
|
-
}
|
750
|
-
function Vn(e, t) {
|
751
|
-
return ot(e, this, sr, t.cache.create(), t.serializer);
|
746
|
+
function Dn(e, t) {
|
747
|
+
var r = e.length === 1 ? Un : rr;
|
748
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
752
749
|
}
|
753
|
-
function
|
754
|
-
return
|
750
|
+
function Fn(e, t) {
|
751
|
+
return nr(e, this, rr, t.cache.create(), t.serializer);
|
755
752
|
}
|
756
|
-
var
|
753
|
+
var jn = function() {
|
757
754
|
return JSON.stringify(arguments);
|
758
|
-
}
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
755
|
+
}, kn = (
|
756
|
+
/** @class */
|
757
|
+
function() {
|
758
|
+
function e() {
|
759
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
760
|
+
}
|
761
|
+
return e.prototype.get = function(t) {
|
762
|
+
return this.cache[t];
|
763
|
+
}, e.prototype.set = function(t, r) {
|
764
|
+
this.cache[t] = r;
|
765
|
+
}, e;
|
766
|
+
}()
|
767
|
+
), Vn = {
|
769
768
|
create: function() {
|
770
|
-
return new
|
769
|
+
return new kn();
|
771
770
|
}
|
772
771
|
}, $e = {
|
773
|
-
variadic:
|
774
|
-
monadic: Xn
|
772
|
+
variadic: Fn
|
775
773
|
}, v;
|
776
774
|
(function(e) {
|
777
775
|
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";
|
@@ -780,47 +778,47 @@ var w;
|
|
780
778
|
(function(e) {
|
781
779
|
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";
|
782
780
|
})(w || (w = {}));
|
783
|
-
var
|
781
|
+
var Y;
|
784
782
|
(function(e) {
|
785
783
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
786
|
-
})(
|
787
|
-
function
|
784
|
+
})(Y || (Y = {}));
|
785
|
+
function St(e) {
|
788
786
|
return e.type === w.literal;
|
789
787
|
}
|
790
|
-
function
|
788
|
+
function Xn(e) {
|
791
789
|
return e.type === w.argument;
|
792
790
|
}
|
793
|
-
function
|
791
|
+
function ir(e) {
|
794
792
|
return e.type === w.number;
|
795
793
|
}
|
796
|
-
function
|
794
|
+
function or(e) {
|
797
795
|
return e.type === w.date;
|
798
796
|
}
|
799
|
-
function
|
797
|
+
function sr(e) {
|
800
798
|
return e.type === w.time;
|
801
799
|
}
|
802
|
-
function
|
800
|
+
function ar(e) {
|
803
801
|
return e.type === w.select;
|
804
802
|
}
|
805
|
-
function
|
803
|
+
function lr(e) {
|
806
804
|
return e.type === w.plural;
|
807
805
|
}
|
808
|
-
function
|
806
|
+
function Wn(e) {
|
809
807
|
return e.type === w.pound;
|
810
808
|
}
|
811
|
-
function
|
809
|
+
function ur(e) {
|
812
810
|
return e.type === w.tag;
|
813
811
|
}
|
814
|
-
function
|
815
|
-
return !!(e && typeof e == "object" && e.type ===
|
812
|
+
function hr(e) {
|
813
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
816
814
|
}
|
817
815
|
function We(e) {
|
818
|
-
return !!(e && typeof e == "object" && e.type ===
|
816
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
819
817
|
}
|
820
|
-
var
|
821
|
-
function
|
818
|
+
var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
|
819
|
+
function Zn(e) {
|
822
820
|
var t = {};
|
823
|
-
return e.replace(
|
821
|
+
return e.replace(zn, function(r) {
|
824
822
|
var n = r.length;
|
825
823
|
switch (r[0]) {
|
826
824
|
case "G":
|
@@ -909,11 +907,11 @@ function Yn(e) {
|
|
909
907
|
return "";
|
910
908
|
}), t;
|
911
909
|
}
|
912
|
-
var
|
913
|
-
function
|
910
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
911
|
+
function Jn(e) {
|
914
912
|
if (e.length === 0)
|
915
913
|
throw new Error("Number skeleton cannot be empty");
|
916
|
-
for (var t = e.split(
|
914
|
+
for (var t = e.split(Qn).filter(function(f) {
|
917
915
|
return f.length > 0;
|
918
916
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
919
917
|
var o = i[n], s = o.split("/");
|
@@ -928,17 +926,17 @@ function Kn(e) {
|
|
928
926
|
}
|
929
927
|
return r;
|
930
928
|
}
|
931
|
-
function
|
929
|
+
function qn(e) {
|
932
930
|
return e.replace(/^(.*?)-/, "");
|
933
931
|
}
|
934
|
-
var
|
935
|
-
function
|
932
|
+
var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
933
|
+
function Tt(e) {
|
936
934
|
var t = {};
|
937
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
935
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
|
938
936
|
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)), "";
|
939
937
|
}), t;
|
940
938
|
}
|
941
|
-
function
|
939
|
+
function pr(e) {
|
942
940
|
switch (e) {
|
943
941
|
case "sign-auto":
|
944
942
|
return {
|
@@ -978,7 +976,7 @@ function gr(e) {
|
|
978
976
|
};
|
979
977
|
}
|
980
978
|
}
|
981
|
-
function
|
979
|
+
function Kn(e) {
|
982
980
|
var t;
|
983
981
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
984
982
|
notation: "engineering"
|
@@ -986,17 +984,17 @@ function ri(e) {
|
|
986
984
|
notation: "scientific"
|
987
985
|
}, e = e.slice(1)), t) {
|
988
986
|
var r = e.slice(0, 2);
|
989
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
987
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
|
990
988
|
throw new Error("Malformed concise eng/scientific notation");
|
991
989
|
t.minimumIntegerDigits = e.length;
|
992
990
|
}
|
993
991
|
return t;
|
994
992
|
}
|
995
|
-
function
|
996
|
-
var t = {}, r =
|
993
|
+
function Ht(e) {
|
994
|
+
var t = {}, r = pr(e);
|
997
995
|
return r || t;
|
998
996
|
}
|
999
|
-
function
|
997
|
+
function ei(e) {
|
1000
998
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1001
999
|
var i = n[r];
|
1002
1000
|
switch (i.stem) {
|
@@ -1020,7 +1018,7 @@ function ni(e) {
|
|
1020
1018
|
continue;
|
1021
1019
|
case "measure-unit":
|
1022
1020
|
case "unit":
|
1023
|
-
t.style = "unit", t.unit =
|
1021
|
+
t.style = "unit", t.unit = qn(i.options[0]);
|
1024
1022
|
continue;
|
1025
1023
|
case "compact-short":
|
1026
1024
|
case "K":
|
@@ -1031,13 +1029,13 @@ function ni(e) {
|
|
1031
1029
|
t.notation = "compact", t.compactDisplay = "long";
|
1032
1030
|
continue;
|
1033
1031
|
case "scientific":
|
1034
|
-
t =
|
1035
|
-
return
|
1032
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
1033
|
+
return x(x({}, l), Ht(u));
|
1036
1034
|
}, {}));
|
1037
1035
|
continue;
|
1038
1036
|
case "engineering":
|
1039
|
-
t =
|
1040
|
-
return
|
1037
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
1038
|
+
return x(x({}, l), Ht(u));
|
1041
1039
|
}, {}));
|
1042
1040
|
continue;
|
1043
1041
|
case "notation-simple":
|
@@ -1082,7 +1080,7 @@ function ni(e) {
|
|
1082
1080
|
case "integer-width":
|
1083
1081
|
if (i.options.length > 1)
|
1084
1082
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1085
|
-
i.options[0].replace(
|
1083
|
+
i.options[0].replace(Yn, function(l, u, h, c, f, p) {
|
1086
1084
|
if (u)
|
1087
1085
|
t.minimumIntegerDigits = h.length;
|
1088
1086
|
else {
|
@@ -1095,28 +1093,28 @@ function ni(e) {
|
|
1095
1093
|
});
|
1096
1094
|
continue;
|
1097
1095
|
}
|
1098
|
-
if (
|
1096
|
+
if (dr.test(i.stem)) {
|
1099
1097
|
t.minimumIntegerDigits = i.stem.length;
|
1100
1098
|
continue;
|
1101
1099
|
}
|
1102
|
-
if (
|
1100
|
+
if (wt.test(i.stem)) {
|
1103
1101
|
if (i.options.length > 1)
|
1104
1102
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1105
|
-
i.stem.replace(
|
1103
|
+
i.stem.replace(wt, function(l, u, h, c, f, p) {
|
1106
1104
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1107
1105
|
});
|
1108
1106
|
var o = i.options[0];
|
1109
|
-
o === "w" ? t =
|
1107
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Tt(o)));
|
1110
1108
|
continue;
|
1111
1109
|
}
|
1112
|
-
if (
|
1113
|
-
t =
|
1110
|
+
if (fr.test(i.stem)) {
|
1111
|
+
t = x(x({}, t), Tt(i.stem));
|
1114
1112
|
continue;
|
1115
1113
|
}
|
1116
|
-
var s =
|
1117
|
-
s && (t =
|
1118
|
-
var a =
|
1119
|
-
a && (t =
|
1114
|
+
var s = pr(i.stem);
|
1115
|
+
s && (t = x(x({}, t), s));
|
1116
|
+
var a = Kn(i.stem);
|
1117
|
+
a && (t = x(x({}, t), a));
|
1120
1118
|
}
|
1121
1119
|
return t;
|
1122
1120
|
}
|
@@ -2535,13 +2533,13 @@ var me = {
|
|
2535
2533
|
"h"
|
2536
2534
|
]
|
2537
2535
|
};
|
2538
|
-
function
|
2536
|
+
function ti(e, t) {
|
2539
2537
|
for (var r = "", n = 0; n < e.length; n++) {
|
2540
2538
|
var i = e.charAt(n);
|
2541
2539
|
if (i === "j") {
|
2542
2540
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2543
2541
|
o++, n++;
|
2544
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
2542
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
|
2545
2543
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2546
2544
|
r += l;
|
2547
2545
|
for (; s-- > 0; )
|
@@ -2550,7 +2548,7 @@ function ii(e, t) {
|
|
2550
2548
|
}
|
2551
2549
|
return r;
|
2552
2550
|
}
|
2553
|
-
function
|
2551
|
+
function ri(e) {
|
2554
2552
|
var t = e.hourCycle;
|
2555
2553
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2556
2554
|
e.hourCycles && // @ts-ignore
|
@@ -2572,20 +2570,20 @@ function oi(e) {
|
|
2572
2570
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
2573
2571
|
return i[0];
|
2574
2572
|
}
|
2575
|
-
var Ge,
|
2573
|
+
var Ge, ni = new RegExp("^".concat(cr.source, "*")), ii = new RegExp("".concat(cr.source, "*$"));
|
2576
2574
|
function y(e, t) {
|
2577
2575
|
return { start: e, end: t };
|
2578
2576
|
}
|
2579
|
-
var
|
2577
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
2580
2578
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2581
|
-
},
|
2579
|
+
}, ze = !0;
|
2582
2580
|
try {
|
2583
|
-
var
|
2584
|
-
|
2581
|
+
var di = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2582
|
+
ze = ((Ge = di.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2585
2583
|
} catch (e) {
|
2586
|
-
|
2584
|
+
ze = !1;
|
2587
2585
|
}
|
2588
|
-
var
|
2586
|
+
var Ct = oi ? (
|
2589
2587
|
// Native
|
2590
2588
|
function(t, r, n) {
|
2591
2589
|
return t.startsWith(r, n);
|
@@ -2595,7 +2593,7 @@ var At = li ? (
|
|
2595
2593
|
function(t, r, n) {
|
2596
2594
|
return t.slice(n, n + r.length) === r;
|
2597
2595
|
}
|
2598
|
-
),
|
2596
|
+
), Ze = si ? String.fromCodePoint : (
|
2599
2597
|
// IE11
|
2600
2598
|
function() {
|
2601
2599
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2607,9 +2605,9 @@ var At = li ? (
|
|
2607
2605
|
}
|
2608
2606
|
return n;
|
2609
2607
|
}
|
2610
|
-
),
|
2608
|
+
), Pt = (
|
2611
2609
|
// native
|
2612
|
-
|
2610
|
+
ai ? Object.fromEntries : (
|
2613
2611
|
// Ponyfill
|
2614
2612
|
function(t) {
|
2615
2613
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2619,7 +2617,7 @@ var At = li ? (
|
|
2619
2617
|
return r;
|
2620
2618
|
}
|
2621
2619
|
)
|
2622
|
-
),
|
2620
|
+
), mr = li ? (
|
2623
2621
|
// Native
|
2624
2622
|
function(t, r) {
|
2625
2623
|
return t.codePointAt(r);
|
@@ -2633,7 +2631,7 @@ var At = li ? (
|
|
2633
2631
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2634
2632
|
}
|
2635
2633
|
}
|
2636
|
-
),
|
2634
|
+
), pi = ui ? (
|
2637
2635
|
// Native
|
2638
2636
|
function(t) {
|
2639
2637
|
return t.trimStart();
|
@@ -2641,9 +2639,9 @@ var At = li ? (
|
|
2641
2639
|
) : (
|
2642
2640
|
// Ponyfill
|
2643
2641
|
function(t) {
|
2644
|
-
return t.replace(
|
2642
|
+
return t.replace(ni, "");
|
2645
2643
|
}
|
2646
|
-
),
|
2644
|
+
), mi = hi ? (
|
2647
2645
|
// Native
|
2648
2646
|
function(t) {
|
2649
2647
|
return t.trimEnd();
|
@@ -2651,32 +2649,32 @@ var At = li ? (
|
|
2651
2649
|
) : (
|
2652
2650
|
// Ponyfill
|
2653
2651
|
function(t) {
|
2654
|
-
return t.replace(
|
2652
|
+
return t.replace(ii, "");
|
2655
2653
|
}
|
2656
2654
|
);
|
2657
|
-
function
|
2655
|
+
function br(e, t) {
|
2658
2656
|
return new RegExp(e, t);
|
2659
2657
|
}
|
2660
|
-
var
|
2661
|
-
if (
|
2662
|
-
var
|
2663
|
-
|
2658
|
+
var Qe;
|
2659
|
+
if (ze) {
|
2660
|
+
var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2661
|
+
Qe = function(t, r) {
|
2664
2662
|
var n;
|
2665
|
-
|
2666
|
-
var i =
|
2663
|
+
Bt.lastIndex = r;
|
2664
|
+
var i = Bt.exec(t);
|
2667
2665
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2668
2666
|
};
|
2669
2667
|
} else
|
2670
|
-
|
2668
|
+
Qe = function(t, r) {
|
2671
2669
|
for (var n = []; ; ) {
|
2672
|
-
var i =
|
2673
|
-
if (i === void 0 ||
|
2670
|
+
var i = mr(t, r);
|
2671
|
+
if (i === void 0 || gr(i) || yi(i))
|
2674
2672
|
break;
|
2675
2673
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2676
2674
|
}
|
2677
|
-
return
|
2675
|
+
return Ze.apply(void 0, n);
|
2678
2676
|
};
|
2679
|
-
var
|
2677
|
+
var bi = (
|
2680
2678
|
/** @class */
|
2681
2679
|
function() {
|
2682
2680
|
function e(t, r) {
|
@@ -2707,7 +2705,7 @@ var yi = (
|
|
2707
2705
|
if (n)
|
2708
2706
|
break;
|
2709
2707
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2710
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2708
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
2711
2709
|
var s = this.parseTag(t, r);
|
2712
2710
|
if (s.err)
|
2713
2711
|
return s;
|
@@ -2740,7 +2738,7 @@ var yi = (
|
|
2740
2738
|
return o;
|
2741
2739
|
var s = o.val, a = this.clonePosition();
|
2742
2740
|
if (this.bumpIf("</")) {
|
2743
|
-
if (this.isEOF() || !
|
2741
|
+
if (this.isEOF() || !Je(this.char()))
|
2744
2742
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2745
2743
|
var l = this.clonePosition(), u = this.parseTagName();
|
2746
2744
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2758,7 +2756,7 @@ var yi = (
|
|
2758
2756
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2759
2757
|
}, e.prototype.parseTagName = function() {
|
2760
2758
|
var t = this.offset();
|
2761
|
-
for (this.bump(); !this.isEOF() &&
|
2759
|
+
for (this.bump(); !this.isEOF() && vi(this.char()); )
|
2762
2760
|
this.bump();
|
2763
2761
|
return this.message.slice(t, this.offset());
|
2764
2762
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2787,7 +2785,7 @@ var yi = (
|
|
2787
2785
|
};
|
2788
2786
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2789
2787
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2790
|
-
!
|
2788
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2791
2789
|
}, e.prototype.tryParseQuote = function(t) {
|
2792
2790
|
if (this.isEOF() || this.char() !== 39)
|
2793
2791
|
return null;
|
@@ -2821,12 +2819,12 @@ var yi = (
|
|
2821
2819
|
r.push(n);
|
2822
2820
|
this.bump();
|
2823
2821
|
}
|
2824
|
-
return
|
2822
|
+
return Ze.apply(void 0, r);
|
2825
2823
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2826
2824
|
if (this.isEOF())
|
2827
2825
|
return null;
|
2828
2826
|
var n = this.char();
|
2829
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2827
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
2830
2828
|
}, e.prototype.parseArgument = function(t, r) {
|
2831
2829
|
var n = this.clonePosition();
|
2832
2830
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2855,7 +2853,7 @@ var yi = (
|
|
2855
2853
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2856
2854
|
}
|
2857
2855
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2858
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2856
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
2859
2857
|
this.bumpTo(i);
|
2860
2858
|
var o = this.clonePosition(), s = y(t, o);
|
2861
2859
|
return { value: n, location: s };
|
@@ -2874,7 +2872,7 @@ var yi = (
|
|
2874
2872
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2875
2873
|
if (c.err)
|
2876
2874
|
return c;
|
2877
|
-
var f =
|
2875
|
+
var f = mi(c.val);
|
2878
2876
|
if (f.length === 0)
|
2879
2877
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2880
2878
|
var p = y(h, this.clonePosition());
|
@@ -2884,8 +2882,8 @@ var yi = (
|
|
2884
2882
|
if (d.err)
|
2885
2883
|
return d;
|
2886
2884
|
var g = y(i, this.clonePosition());
|
2887
|
-
if (u &&
|
2888
|
-
var m =
|
2885
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
2886
|
+
var m = pi(u.style.slice(2));
|
2889
2887
|
if (a === "number") {
|
2890
2888
|
var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2891
2889
|
return c.err ? c : {
|
@@ -2896,12 +2894,12 @@ var yi = (
|
|
2896
2894
|
if (m.length === 0)
|
2897
2895
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
2898
2896
|
var _ = m;
|
2899
|
-
this.locale && (_ =
|
2897
|
+
this.locale && (_ = ti(m, this.locale));
|
2900
2898
|
var f = {
|
2901
|
-
type:
|
2899
|
+
type: Y.dateTime,
|
2902
2900
|
pattern: _,
|
2903
2901
|
location: u.styleLocation,
|
2904
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2902
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(_) : {}
|
2905
2903
|
}, S = a === "date" ? w.date : w.time;
|
2906
2904
|
return {
|
2907
2905
|
val: { type: S, value: n, location: g, style: f },
|
@@ -2924,7 +2922,7 @@ var yi = (
|
|
2924
2922
|
case "select": {
|
2925
2923
|
var T = this.clonePosition();
|
2926
2924
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2927
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T,
|
2925
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, x({}, T)));
|
2928
2926
|
this.bumpSpace();
|
2929
2927
|
var H = this.parseIdentifierIfPossible(), A = 0;
|
2930
2928
|
if (a !== "select" && H.value === "offset") {
|
@@ -2947,7 +2945,7 @@ var yi = (
|
|
2947
2945
|
val: {
|
2948
2946
|
type: w.select,
|
2949
2947
|
value: n,
|
2950
|
-
options:
|
2948
|
+
options: Pt(O.val),
|
2951
2949
|
location: fe
|
2952
2950
|
},
|
2953
2951
|
err: null
|
@@ -2955,7 +2953,7 @@ var yi = (
|
|
2955
2953
|
val: {
|
2956
2954
|
type: w.plural,
|
2957
2955
|
value: n,
|
2958
|
-
options:
|
2956
|
+
options: Pt(O.val),
|
2959
2957
|
offset: A,
|
2960
2958
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2961
2959
|
location: fe
|
@@ -3006,16 +3004,16 @@ var yi = (
|
|
3006
3004
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3007
3005
|
var n = [];
|
3008
3006
|
try {
|
3009
|
-
n =
|
3007
|
+
n = Jn(t);
|
3010
3008
|
} catch (i) {
|
3011
3009
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3012
3010
|
}
|
3013
3011
|
return {
|
3014
3012
|
val: {
|
3015
|
-
type:
|
3013
|
+
type: Y.number,
|
3016
3014
|
tokens: n,
|
3017
3015
|
location: r,
|
3018
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3016
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
3019
3017
|
},
|
3020
3018
|
err: null
|
3021
3019
|
};
|
@@ -3063,7 +3061,7 @@ var yi = (
|
|
3063
3061
|
break;
|
3064
3062
|
}
|
3065
3063
|
var l = y(i, this.clonePosition());
|
3066
|
-
return o ? (s *= n,
|
3064
|
+
return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
3067
3065
|
}, e.prototype.offset = function() {
|
3068
3066
|
return this.position.offset;
|
3069
3067
|
}, e.prototype.isEOF = function() {
|
@@ -3078,7 +3076,7 @@ var yi = (
|
|
3078
3076
|
var t = this.position.offset;
|
3079
3077
|
if (t >= this.message.length)
|
3080
3078
|
throw Error("out of bound");
|
3081
|
-
var r =
|
3079
|
+
var r = mr(this.message, t);
|
3082
3080
|
if (r === void 0)
|
3083
3081
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3084
3082
|
return r;
|
@@ -3097,7 +3095,7 @@ var yi = (
|
|
3097
3095
|
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);
|
3098
3096
|
}
|
3099
3097
|
}, e.prototype.bumpIf = function(t) {
|
3100
|
-
if (
|
3098
|
+
if (Ct(this.message, t, this.offset())) {
|
3101
3099
|
for (var r = 0; r < t.length; r++)
|
3102
3100
|
this.bump();
|
3103
3101
|
return !0;
|
@@ -3119,7 +3117,7 @@ var yi = (
|
|
3119
3117
|
break;
|
3120
3118
|
}
|
3121
3119
|
}, e.prototype.bumpSpace = function() {
|
3122
|
-
for (; !this.isEOF() &&
|
3120
|
+
for (; !this.isEOF() && gr(this.char()); )
|
3123
3121
|
this.bump();
|
3124
3122
|
}, e.prototype.peek = function() {
|
3125
3123
|
if (this.isEOF())
|
@@ -3129,32 +3127,32 @@ var yi = (
|
|
3129
3127
|
}, e;
|
3130
3128
|
}()
|
3131
3129
|
);
|
3132
|
-
function
|
3130
|
+
function Je(e) {
|
3133
3131
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3134
3132
|
}
|
3135
|
-
function
|
3136
|
-
return
|
3133
|
+
function gi(e) {
|
3134
|
+
return Je(e) || e === 47;
|
3137
3135
|
}
|
3138
|
-
function
|
3136
|
+
function vi(e) {
|
3139
3137
|
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;
|
3140
3138
|
}
|
3141
|
-
function
|
3139
|
+
function gr(e) {
|
3142
3140
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3143
3141
|
}
|
3144
|
-
function
|
3142
|
+
function yi(e) {
|
3145
3143
|
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;
|
3146
3144
|
}
|
3147
3145
|
function qe(e) {
|
3148
3146
|
e.forEach(function(t) {
|
3149
|
-
if (delete t.location,
|
3147
|
+
if (delete t.location, ar(t) || lr(t))
|
3150
3148
|
for (var r in t.options)
|
3151
3149
|
delete t.options[r].location, qe(t.options[r].value);
|
3152
|
-
else
|
3150
|
+
else ir(t) && hr(t.style) || (or(t) || sr(t)) && We(t.style) ? delete t.style.location : ur(t) && qe(t.children);
|
3153
3151
|
});
|
3154
3152
|
}
|
3155
|
-
function
|
3156
|
-
t === void 0 && (t = {}), t =
|
3157
|
-
var r = new
|
3153
|
+
function _i(e, t) {
|
3154
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3155
|
+
var r = new bi(e, t).parse();
|
3158
3156
|
if (r.err) {
|
3159
3157
|
var n = SyntaxError(v[r.err.kind]);
|
3160
3158
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3177,7 +3175,7 @@ var Be = (
|
|
3177
3175
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3178
3176
|
}, t;
|
3179
3177
|
}(Error)
|
3180
|
-
),
|
3178
|
+
), At = (
|
3181
3179
|
/** @class */
|
3182
3180
|
function(e) {
|
3183
3181
|
F(t, e);
|
@@ -3186,7 +3184,7 @@ var Be = (
|
|
3186
3184
|
}
|
3187
3185
|
return t;
|
3188
3186
|
}(Be)
|
3189
|
-
),
|
3187
|
+
), xi = (
|
3190
3188
|
/** @class */
|
3191
3189
|
function(e) {
|
3192
3190
|
F(t, e);
|
@@ -3195,7 +3193,7 @@ var Be = (
|
|
3195
3193
|
}
|
3196
3194
|
return t;
|
3197
3195
|
}(Be)
|
3198
|
-
),
|
3196
|
+
), Ei = (
|
3199
3197
|
/** @class */
|
3200
3198
|
function(e) {
|
3201
3199
|
F(t, e);
|
@@ -3208,17 +3206,17 @@ var Be = (
|
|
3208
3206
|
(function(e) {
|
3209
3207
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3210
3208
|
})(B || (B = {}));
|
3211
|
-
function
|
3209
|
+
function Si(e) {
|
3212
3210
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3213
3211
|
var n = t[t.length - 1];
|
3214
3212
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
3215
3213
|
}, []);
|
3216
3214
|
}
|
3217
|
-
function
|
3215
|
+
function wi(e) {
|
3218
3216
|
return typeof e == "function";
|
3219
3217
|
}
|
3220
3218
|
function ve(e, t, r, n, i, o, s) {
|
3221
|
-
if (e.length === 1 &&
|
3219
|
+
if (e.length === 1 && St(e[0]))
|
3222
3220
|
return [
|
3223
3221
|
{
|
3224
3222
|
type: B.literal,
|
@@ -3227,14 +3225,14 @@ function ve(e, t, r, n, i, o, s) {
|
|
3227
3225
|
];
|
3228
3226
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
3229
3227
|
var h = u[l];
|
3230
|
-
if (
|
3228
|
+
if (St(h)) {
|
3231
3229
|
a.push({
|
3232
3230
|
type: B.literal,
|
3233
3231
|
value: h.value
|
3234
3232
|
});
|
3235
3233
|
continue;
|
3236
3234
|
}
|
3237
|
-
if (
|
3235
|
+
if (Wn(h)) {
|
3238
3236
|
typeof o == "number" && a.push({
|
3239
3237
|
type: B.literal,
|
3240
3238
|
value: r.getNumberFormat(t).format(o)
|
@@ -3243,16 +3241,16 @@ function ve(e, t, r, n, i, o, s) {
|
|
3243
3241
|
}
|
3244
3242
|
var c = h.value;
|
3245
3243
|
if (!(i && c in i))
|
3246
|
-
throw new
|
3244
|
+
throw new Ei(c, s);
|
3247
3245
|
var f = i[c];
|
3248
|
-
if (
|
3246
|
+
if (Xn(h)) {
|
3249
3247
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3250
3248
|
type: typeof f == "string" ? B.literal : B.object,
|
3251
3249
|
value: f
|
3252
3250
|
});
|
3253
3251
|
continue;
|
3254
3252
|
}
|
3255
|
-
if (
|
3253
|
+
if (or(h)) {
|
3256
3254
|
var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
3257
3255
|
a.push({
|
3258
3256
|
type: B.literal,
|
@@ -3260,7 +3258,7 @@ function ve(e, t, r, n, i, o, s) {
|
|
3260
3258
|
});
|
3261
3259
|
continue;
|
3262
3260
|
}
|
3263
|
-
if (
|
3261
|
+
if (sr(h)) {
|
3264
3262
|
var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
3265
3263
|
a.push({
|
3266
3264
|
type: B.literal,
|
@@ -3268,18 +3266,18 @@ function ve(e, t, r, n, i, o, s) {
|
|
3268
3266
|
});
|
3269
3267
|
continue;
|
3270
3268
|
}
|
3271
|
-
if (
|
3272
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3269
|
+
if (ir(h)) {
|
3270
|
+
var p = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
|
3273
3271
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3274
3272
|
type: B.literal,
|
3275
3273
|
value: r.getNumberFormat(t, p).format(f)
|
3276
3274
|
});
|
3277
3275
|
continue;
|
3278
3276
|
}
|
3279
|
-
if (
|
3277
|
+
if (ur(h)) {
|
3280
3278
|
var d = h.children, g = h.value, m = i[g];
|
3281
|
-
if (!
|
3282
|
-
throw new
|
3279
|
+
if (!wi(m))
|
3280
|
+
throw new xi(g, "function", s);
|
3283
3281
|
var _ = ve(d, t, r, n, i, o), S = m(_.map(function(A) {
|
3284
3282
|
return A.value;
|
3285
3283
|
}));
|
@@ -3290,14 +3288,14 @@ function ve(e, t, r, n, i, o, s) {
|
|
3290
3288
|
};
|
3291
3289
|
}));
|
3292
3290
|
}
|
3293
|
-
if (
|
3291
|
+
if (ar(h)) {
|
3294
3292
|
var T = h.options[f] || h.options.other;
|
3295
3293
|
if (!T)
|
3296
|
-
throw new
|
3294
|
+
throw new At(h.value, f, Object.keys(h.options), s);
|
3297
3295
|
a.push.apply(a, ve(T.value, t, r, n, i));
|
3298
3296
|
continue;
|
3299
3297
|
}
|
3300
|
-
if (
|
3298
|
+
if (lr(h)) {
|
3301
3299
|
var T = h.options["=".concat(f)];
|
3302
3300
|
if (!T) {
|
3303
3301
|
if (!Intl.PluralRules)
|
@@ -3308,22 +3306,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3308
3306
|
T = h.options[H] || h.options.other;
|
3309
3307
|
}
|
3310
3308
|
if (!T)
|
3311
|
-
throw new
|
3309
|
+
throw new At(h.value, f, Object.keys(h.options), s);
|
3312
3310
|
a.push.apply(a, ve(T.value, t, r, n, i, f - (h.offset || 0)));
|
3313
3311
|
continue;
|
3314
3312
|
}
|
3315
3313
|
}
|
3316
|
-
return
|
3314
|
+
return Si(a);
|
3317
3315
|
}
|
3318
|
-
function
|
3319
|
-
return t ?
|
3320
|
-
return r[n] =
|
3316
|
+
function Ti(e, t) {
|
3317
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3318
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
3321
3319
|
}, {})) : e;
|
3322
3320
|
}
|
3323
|
-
function
|
3321
|
+
function Hi(e, t) {
|
3324
3322
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3325
|
-
return r[n] =
|
3326
|
-
},
|
3323
|
+
return r[n] = Ti(e[n], t[n]), r;
|
3324
|
+
}, x({}, e)) : e;
|
3327
3325
|
}
|
3328
3326
|
function Ue(e) {
|
3329
3327
|
return {
|
@@ -3339,7 +3337,7 @@ function Ue(e) {
|
|
3339
3337
|
}
|
3340
3338
|
};
|
3341
3339
|
}
|
3342
|
-
function
|
3340
|
+
function Ci(e) {
|
3343
3341
|
return e === void 0 && (e = {
|
3344
3342
|
number: {},
|
3345
3343
|
dateTime: {},
|
@@ -3371,7 +3369,7 @@ function Ai(e) {
|
|
3371
3369
|
})
|
3372
3370
|
};
|
3373
3371
|
}
|
3374
|
-
var
|
3372
|
+
var Pi = (
|
3375
3373
|
/** @class */
|
3376
3374
|
function() {
|
3377
3375
|
function e(t, r, n, i) {
|
@@ -3403,13 +3401,13 @@ var Oi = (
|
|
3403
3401
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3404
3402
|
var s = i || {};
|
3405
3403
|
s.formatters;
|
3406
|
-
var a =
|
3407
|
-
this.ast = e.__parse(t,
|
3404
|
+
var a = $n(s, ["formatters"]);
|
3405
|
+
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
3408
3406
|
} else
|
3409
3407
|
this.ast = t;
|
3410
3408
|
if (!Array.isArray(this.ast))
|
3411
3409
|
throw new TypeError("A message must be provided as a String or AST.");
|
3412
|
-
this.formats =
|
3410
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
3413
3411
|
}
|
3414
3412
|
return Object.defineProperty(e, "defaultLocale", {
|
3415
3413
|
get: function() {
|
@@ -3422,7 +3420,7 @@ var Oi = (
|
|
3422
3420
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3423
3421
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3424
3422
|
}
|
3425
|
-
}, e.__parse =
|
3423
|
+
}, e.__parse = _i, e.formats = {
|
3426
3424
|
number: {
|
3427
3425
|
integer: {
|
3428
3426
|
maximumFractionDigits: 0
|
@@ -3483,7 +3481,7 @@ var Oi = (
|
|
3483
3481
|
}, e;
|
3484
3482
|
}()
|
3485
3483
|
);
|
3486
|
-
function
|
3484
|
+
function Bi(e, t) {
|
3487
3485
|
if (t == null)
|
3488
3486
|
return;
|
3489
3487
|
if (t in e)
|
@@ -3504,92 +3502,92 @@ function Ii(e, t) {
|
|
3504
3502
|
n = void 0;
|
3505
3503
|
return n;
|
3506
3504
|
}
|
3507
|
-
const j = {},
|
3505
|
+
const j = {}, Ai = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
|
3508
3506
|
if (t == null)
|
3509
3507
|
return;
|
3510
3508
|
if (t in j && e in j[t])
|
3511
3509
|
return j[t][e];
|
3512
3510
|
const r = Ae(t);
|
3513
3511
|
for (let n = 0; n < r.length; n++) {
|
3514
|
-
const i = r[n], o =
|
3512
|
+
const i = r[n], o = Ii(i, e);
|
3515
3513
|
if (o)
|
3516
|
-
return
|
3514
|
+
return Ai(e, t, o);
|
3517
3515
|
}
|
3518
3516
|
};
|
3519
|
-
let
|
3517
|
+
let it;
|
3520
3518
|
const ce = Pe({});
|
3521
|
-
function
|
3522
|
-
return
|
3519
|
+
function Oi(e) {
|
3520
|
+
return it[e] || null;
|
3523
3521
|
}
|
3524
|
-
function
|
3525
|
-
return e in
|
3522
|
+
function yr(e) {
|
3523
|
+
return e in it;
|
3526
3524
|
}
|
3527
|
-
function
|
3528
|
-
if (!
|
3525
|
+
function Ii(e, t) {
|
3526
|
+
if (!yr(e))
|
3529
3527
|
return null;
|
3530
|
-
const r =
|
3531
|
-
return
|
3528
|
+
const r = Oi(e);
|
3529
|
+
return Bi(r, t);
|
3532
3530
|
}
|
3533
|
-
function
|
3531
|
+
function Li(e) {
|
3534
3532
|
if (e == null)
|
3535
3533
|
return;
|
3536
3534
|
const t = Ae(e);
|
3537
3535
|
for (let r = 0; r < t.length; r++) {
|
3538
3536
|
const n = t[r];
|
3539
|
-
if (
|
3537
|
+
if (yr(n))
|
3540
3538
|
return n;
|
3541
3539
|
}
|
3542
3540
|
}
|
3543
|
-
function
|
3544
|
-
delete j[e], ce.update((r) => (r[e] =
|
3541
|
+
function _r(e, ...t) {
|
3542
|
+
delete j[e], ce.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
|
3545
3543
|
}
|
3546
3544
|
re(
|
3547
3545
|
[ce],
|
3548
3546
|
([e]) => Object.keys(e)
|
3549
3547
|
);
|
3550
|
-
ce.subscribe((e) =>
|
3548
|
+
ce.subscribe((e) => it = e);
|
3551
3549
|
const ye = {};
|
3552
|
-
function
|
3550
|
+
function Ni(e, t) {
|
3553
3551
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
3554
3552
|
}
|
3555
|
-
function
|
3553
|
+
function xr(e) {
|
3556
3554
|
return ye[e];
|
3557
3555
|
}
|
3558
|
-
function
|
3556
|
+
function Mi(e) {
|
3559
3557
|
return Ae(e).map((t) => {
|
3560
|
-
const r =
|
3558
|
+
const r = xr(t);
|
3561
3559
|
return [t, r ? [...r] : []];
|
3562
3560
|
}).filter(([, t]) => t.length > 0);
|
3563
3561
|
}
|
3564
|
-
function
|
3562
|
+
function Ye(e) {
|
3565
3563
|
return e == null ? !1 : Ae(e).some(
|
3566
3564
|
(t) => {
|
3567
3565
|
var r;
|
3568
|
-
return (r =
|
3566
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
3569
3567
|
}
|
3570
3568
|
);
|
3571
3569
|
}
|
3572
|
-
function
|
3570
|
+
function Ri(e, t) {
|
3573
3571
|
return Promise.all(
|
3574
|
-
t.map((n) => (
|
3575
|
-
).then((n) =>
|
3572
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
3573
|
+
).then((n) => _r(e, ...n));
|
3576
3574
|
}
|
3577
3575
|
const se = {};
|
3578
|
-
function
|
3579
|
-
if (!
|
3576
|
+
function Er(e) {
|
3577
|
+
if (!Ye(e))
|
3580
3578
|
return e in se ? se[e] : Promise.resolve();
|
3581
|
-
const t =
|
3579
|
+
const t = Mi(e);
|
3582
3580
|
return se[e] = Promise.all(
|
3583
3581
|
t.map(
|
3584
|
-
([r, n]) =>
|
3582
|
+
([r, n]) => Ri(r, n)
|
3585
3583
|
)
|
3586
3584
|
).then(() => {
|
3587
|
-
if (
|
3588
|
-
return
|
3585
|
+
if (Ye(e))
|
3586
|
+
return Er(e);
|
3589
3587
|
delete se[e];
|
3590
3588
|
}), se[e];
|
3591
3589
|
}
|
3592
|
-
const
|
3590
|
+
const $i = {
|
3593
3591
|
number: {
|
3594
3592
|
scientific: { notation: "scientific" },
|
3595
3593
|
engineering: { notation: "engineering" },
|
@@ -3618,57 +3616,57 @@ const Di = {
|
|
3618
3616
|
timeZoneName: "short"
|
3619
3617
|
}
|
3620
3618
|
}
|
3621
|
-
},
|
3619
|
+
}, Gi = {
|
3622
3620
|
fallbackLocale: null,
|
3623
3621
|
loadingDelay: 200,
|
3624
|
-
formats:
|
3622
|
+
formats: $i,
|
3625
3623
|
warnOnMissingMessages: !0,
|
3626
3624
|
handleMissingMessage: void 0,
|
3627
3625
|
ignoreTag: !0
|
3628
|
-
},
|
3626
|
+
}, Ui = Gi;
|
3629
3627
|
function ee() {
|
3630
|
-
return
|
3628
|
+
return Ui;
|
3631
3629
|
}
|
3632
3630
|
const De = Pe(!1);
|
3633
|
-
var
|
3631
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
3634
3632
|
for (var r in t || (t = {}))
|
3635
|
-
|
3636
|
-
if (
|
3637
|
-
for (var r of
|
3638
|
-
|
3633
|
+
ki.call(t, r) && It(e, r, t[r]);
|
3634
|
+
if (Ot)
|
3635
|
+
for (var r of Ot(t))
|
3636
|
+
Vi.call(t, r) && It(e, r, t[r]);
|
3639
3637
|
return e;
|
3640
|
-
},
|
3641
|
-
let
|
3638
|
+
}, Wi = (e, t) => Fi(e, ji(t));
|
3639
|
+
let Ke;
|
3642
3640
|
const Te = Pe(null);
|
3643
|
-
function
|
3641
|
+
function Lt(e) {
|
3644
3642
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3645
3643
|
}
|
3646
3644
|
function Ae(e, t = ee().fallbackLocale) {
|
3647
|
-
const r =
|
3648
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3645
|
+
const r = Lt(e);
|
3646
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
3649
3647
|
}
|
3650
3648
|
function V() {
|
3651
|
-
return
|
3649
|
+
return Ke != null ? Ke : void 0;
|
3652
3650
|
}
|
3653
3651
|
Te.subscribe((e) => {
|
3654
|
-
|
3652
|
+
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3655
3653
|
});
|
3656
|
-
const
|
3657
|
-
if (e &&
|
3654
|
+
const zi = (e) => {
|
3655
|
+
if (e && Li(e) && Ye(e)) {
|
3658
3656
|
const { loadingDelay: t } = ee();
|
3659
3657
|
let r;
|
3660
3658
|
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
3661
3659
|
() => De.set(!0),
|
3662
3660
|
t
|
3663
|
-
) : De.set(!0),
|
3661
|
+
) : De.set(!0), Er(e).then(() => {
|
3664
3662
|
Te.set(e);
|
3665
3663
|
}).finally(() => {
|
3666
3664
|
clearTimeout(r), De.set(!1);
|
3667
3665
|
});
|
3668
3666
|
}
|
3669
3667
|
return Te.set(e);
|
3670
|
-
}, ne =
|
3671
|
-
set:
|
3668
|
+
}, ne = Wi(Xi({}, Te), {
|
3669
|
+
set: zi
|
3672
3670
|
}), Oe = (e) => {
|
3673
3671
|
const t = /* @__PURE__ */ Object.create(null);
|
3674
3672
|
return (n) => {
|
@@ -3676,20 +3674,20 @@ const Ji = (e) => {
|
|
3676
3674
|
return i in t ? t[i] : t[i] = e(n);
|
3677
3675
|
};
|
3678
3676
|
};
|
3679
|
-
var
|
3677
|
+
var Zi = Object.defineProperty, He = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
3680
3678
|
for (var r in t || (t = {}))
|
3681
|
-
|
3679
|
+
Sr.call(t, r) && Nt(e, r, t[r]);
|
3682
3680
|
if (He)
|
3683
3681
|
for (var r of He(t))
|
3684
|
-
|
3682
|
+
wr.call(t, r) && Nt(e, r, t[r]);
|
3685
3683
|
return e;
|
3686
3684
|
}, ie = (e, t) => {
|
3687
3685
|
var r = {};
|
3688
3686
|
for (var n in e)
|
3689
|
-
|
3687
|
+
Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3690
3688
|
if (e != null && He)
|
3691
3689
|
for (var n of He(e))
|
3692
|
-
t.indexOf(n) < 0 &&
|
3690
|
+
t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
|
3693
3691
|
return r;
|
3694
3692
|
};
|
3695
3693
|
const he = (e, t) => {
|
@@ -3697,21 +3695,21 @@ const he = (e, t) => {
|
|
3697
3695
|
if (e in r && t in r[e])
|
3698
3696
|
return r[e][t];
|
3699
3697
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3700
|
-
},
|
3698
|
+
}, Qi = Oe(
|
3701
3699
|
(e) => {
|
3702
3700
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3703
3701
|
if (r == null)
|
3704
3702
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3705
3703
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3706
3704
|
}
|
3707
|
-
),
|
3705
|
+
), Ji = Oe(
|
3708
3706
|
(e) => {
|
3709
3707
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3710
3708
|
if (r == null)
|
3711
3709
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3712
3710
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3713
3711
|
}
|
3714
|
-
),
|
3712
|
+
), qi = Oe(
|
3715
3713
|
(e) => {
|
3716
3714
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3717
3715
|
if (r == null)
|
@@ -3720,33 +3718,33 @@ const he = (e, t) => {
|
|
3720
3718
|
);
|
3721
3719
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3722
3720
|
}
|
3723
|
-
),
|
3721
|
+
), Yi = (e = {}) => {
|
3724
3722
|
var t = e, {
|
3725
3723
|
locale: r = V()
|
3726
3724
|
} = t, n = ie(t, [
|
3727
3725
|
"locale"
|
3728
3726
|
]);
|
3729
|
-
return
|
3730
|
-
},
|
3727
|
+
return Qi(ot({ locale: r }, n));
|
3728
|
+
}, Ki = (e = {}) => {
|
3731
3729
|
var t = e, {
|
3732
3730
|
locale: r = V()
|
3733
3731
|
} = t, n = ie(t, [
|
3734
3732
|
"locale"
|
3735
3733
|
]);
|
3736
|
-
return
|
3737
|
-
},
|
3734
|
+
return Ji(ot({ locale: r }, n));
|
3735
|
+
}, eo = (e = {}) => {
|
3738
3736
|
var t = e, {
|
3739
3737
|
locale: r = V()
|
3740
3738
|
} = t, n = ie(t, [
|
3741
3739
|
"locale"
|
3742
3740
|
]);
|
3743
|
-
return
|
3744
|
-
},
|
3741
|
+
return qi(ot({ locale: r }, n));
|
3742
|
+
}, to = Oe(
|
3745
3743
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3746
|
-
(e, t = V()) => new
|
3744
|
+
(e, t = V()) => new Pi(e, t, ee().formats, {
|
3747
3745
|
ignoreTag: ee().ignoreTag
|
3748
3746
|
})
|
3749
|
-
),
|
3747
|
+
), ro = (e, t = {}) => {
|
3750
3748
|
var r, n, i, o;
|
3751
3749
|
let s = t;
|
3752
3750
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3759,7 +3757,7 @@ const he = (e, t) => {
|
|
3759
3757
|
throw new Error(
|
3760
3758
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3761
3759
|
);
|
3762
|
-
let h =
|
3760
|
+
let h = vr(e, l);
|
3763
3761
|
if (!h)
|
3764
3762
|
h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3765
3763
|
else if (typeof h != "string")
|
@@ -3770,7 +3768,7 @@ const he = (e, t) => {
|
|
3770
3768
|
return h;
|
3771
3769
|
let c = h;
|
3772
3770
|
try {
|
3773
|
-
c =
|
3771
|
+
c = to(h, l).format(a);
|
3774
3772
|
} catch (f) {
|
3775
3773
|
f instanceof Error && console.warn(
|
3776
3774
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3778,18 +3776,18 @@ const he = (e, t) => {
|
|
3778
3776
|
);
|
3779
3777
|
}
|
3780
3778
|
return c;
|
3781
|
-
},
|
3782
|
-
re([ne], () =>
|
3783
|
-
re([ne], () =>
|
3784
|
-
re([ne], () =>
|
3785
|
-
re([ne, ce], () =>
|
3786
|
-
function
|
3787
|
-
|
3788
|
-
}
|
3789
|
-
function
|
3779
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = V()) => vr(e, t), ao = re([ne, ce], () => ro);
|
3780
|
+
re([ne], () => no);
|
3781
|
+
re([ne], () => io);
|
3782
|
+
re([ne], () => oo);
|
3783
|
+
re([ne, ce], () => so);
|
3784
|
+
function Mt(e, t) {
|
3785
|
+
_r(e, t);
|
3786
|
+
}
|
3787
|
+
function lo(e) {
|
3790
3788
|
ne.set(e);
|
3791
3789
|
}
|
3792
|
-
const
|
3790
|
+
const Rt = {
|
3793
3791
|
en: {
|
3794
3792
|
collections: "Game Collections",
|
3795
3793
|
providers: "Game Providers",
|
@@ -3889,13 +3887,13 @@ const Ut = {
|
|
3889
3887
|
function D(e) {
|
3890
3888
|
return typeof e == "function";
|
3891
3889
|
}
|
3892
|
-
function
|
3890
|
+
function Tr(e) {
|
3893
3891
|
var t = function(n) {
|
3894
3892
|
Error.call(n), n.stack = new Error().stack;
|
3895
3893
|
}, r = e(t);
|
3896
3894
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3897
3895
|
}
|
3898
|
-
var Fe =
|
3896
|
+
var Fe = Tr(function(e) {
|
3899
3897
|
return function(r) {
|
3900
3898
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3901
3899
|
` + r.map(function(n, i) {
|
@@ -3904,7 +3902,7 @@ var Fe = Pr(function(e) {
|
|
3904
3902
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3905
3903
|
};
|
3906
3904
|
});
|
3907
|
-
function
|
3905
|
+
function et(e, t) {
|
3908
3906
|
if (e) {
|
3909
3907
|
var r = e.indexOf(t);
|
3910
3908
|
0 <= r && e.splice(r, 1);
|
@@ -3922,7 +3920,7 @@ var Ie = function() {
|
|
3922
3920
|
if (s)
|
3923
3921
|
if (this._parentage = null, Array.isArray(s))
|
3924
3922
|
try {
|
3925
|
-
for (var a =
|
3923
|
+
for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
|
3926
3924
|
var u = l.value;
|
3927
3925
|
u.remove(this);
|
3928
3926
|
}
|
@@ -3948,12 +3946,12 @@ var Ie = function() {
|
|
3948
3946
|
if (c) {
|
3949
3947
|
this._finalizers = null;
|
3950
3948
|
try {
|
3951
|
-
for (var f =
|
3949
|
+
for (var f = Ve(c), p = f.next(); !p.done; p = f.next()) {
|
3952
3950
|
var d = p.value;
|
3953
3951
|
try {
|
3954
|
-
|
3952
|
+
$t(d);
|
3955
3953
|
} catch (g) {
|
3956
|
-
o = o != null ? o : [], g instanceof Fe ? o = Q(Q([],
|
3954
|
+
o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], Xe(o)), Xe(g.errors)) : o.push(g);
|
3957
3955
|
}
|
3958
3956
|
}
|
3959
3957
|
} catch (g) {
|
@@ -3973,7 +3971,7 @@ var Ie = function() {
|
|
3973
3971
|
var r;
|
3974
3972
|
if (t && t !== this)
|
3975
3973
|
if (this.closed)
|
3976
|
-
|
3974
|
+
$t(t);
|
3977
3975
|
else {
|
3978
3976
|
if (t instanceof e) {
|
3979
3977
|
if (t.closed || t._hasParent(this))
|
@@ -3990,56 +3988,52 @@ var Ie = function() {
|
|
3990
3988
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3991
3989
|
}, e.prototype._removeParent = function(t) {
|
3992
3990
|
var r = this._parentage;
|
3993
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3991
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
3994
3992
|
}, e.prototype.remove = function(t) {
|
3995
3993
|
var r = this._finalizers;
|
3996
|
-
r &&
|
3994
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
3997
3995
|
}, e.EMPTY = function() {
|
3998
3996
|
var t = new e();
|
3999
3997
|
return t.closed = !0, t;
|
4000
3998
|
}(), e;
|
4001
|
-
}(),
|
4002
|
-
function
|
3999
|
+
}(), Hr = Ie.EMPTY;
|
4000
|
+
function Cr(e) {
|
4003
4001
|
return e instanceof Ie || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
4004
4002
|
}
|
4005
|
-
function
|
4003
|
+
function $t(e) {
|
4006
4004
|
D(e) ? e() : e.unsubscribe();
|
4007
4005
|
}
|
4008
|
-
var
|
4009
|
-
|
4010
|
-
|
4011
|
-
Promise: void 0,
|
4012
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
4013
|
-
useDeprecatedNextContext: !1
|
4014
|
-
}, fo = {
|
4006
|
+
var uo = {
|
4007
|
+
Promise: void 0
|
4008
|
+
}, ho = {
|
4015
4009
|
setTimeout: function(e, t) {
|
4016
4010
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4017
4011
|
r[n - 2] = arguments[n];
|
4018
|
-
return setTimeout.apply(void 0, Q([e, t],
|
4012
|
+
return setTimeout.apply(void 0, Q([e, t], Xe(r)));
|
4019
4013
|
},
|
4020
4014
|
clearTimeout: function(e) {
|
4021
4015
|
return clearTimeout(e);
|
4022
4016
|
},
|
4023
4017
|
delegate: void 0
|
4024
4018
|
};
|
4025
|
-
function
|
4026
|
-
|
4019
|
+
function co(e) {
|
4020
|
+
ho.setTimeout(function() {
|
4027
4021
|
throw e;
|
4028
4022
|
});
|
4029
4023
|
}
|
4030
|
-
function
|
4024
|
+
function Gt() {
|
4031
4025
|
}
|
4032
4026
|
function _e(e) {
|
4033
4027
|
e();
|
4034
4028
|
}
|
4035
|
-
var
|
4029
|
+
var Pr = function(e) {
|
4036
4030
|
F(t, e);
|
4037
4031
|
function t(r) {
|
4038
4032
|
var n = e.call(this) || this;
|
4039
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4033
|
+
return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = mo, n;
|
4040
4034
|
}
|
4041
4035
|
return t.create = function(r, n, i) {
|
4042
|
-
return new
|
4036
|
+
return new tt(r, n, i);
|
4043
4037
|
}, t.prototype.next = function(r) {
|
4044
4038
|
this.isStopped || this._next(r);
|
4045
4039
|
}, t.prototype.error = function(r) {
|
@@ -4063,11 +4057,7 @@ var Ir = function(e) {
|
|
4063
4057
|
this.unsubscribe();
|
4064
4058
|
}
|
4065
4059
|
}, t;
|
4066
|
-
}(Ie),
|
4067
|
-
function je(e, t) {
|
4068
|
-
return mo.call(e, t);
|
4069
|
-
}
|
4070
|
-
var bo = function() {
|
4060
|
+
}(Ie), fo = function() {
|
4071
4061
|
function e(t) {
|
4072
4062
|
this.partialObserver = t;
|
4073
4063
|
}
|
@@ -4098,55 +4088,43 @@ var bo = function() {
|
|
4098
4088
|
be(r);
|
4099
4089
|
}
|
4100
4090
|
}, e;
|
4101
|
-
}(),
|
4091
|
+
}(), tt = function(e) {
|
4102
4092
|
F(t, e);
|
4103
4093
|
function t(r, n, i) {
|
4104
4094
|
var o = e.call(this) || this, s;
|
4105
|
-
|
4106
|
-
|
4107
|
-
|
4108
|
-
|
4109
|
-
|
4110
|
-
};
|
4111
|
-
else {
|
4112
|
-
var a;
|
4113
|
-
o && Or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4114
|
-
return o.unsubscribe();
|
4115
|
-
}, s = {
|
4116
|
-
next: r.next && je(r.next, a),
|
4117
|
-
error: r.error && je(r.error, a),
|
4118
|
-
complete: r.complete && je(r.complete, a)
|
4119
|
-
}) : s = r;
|
4120
|
-
}
|
4121
|
-
return o.destination = new bo(s), o;
|
4095
|
+
return D(r) || !r ? s = {
|
4096
|
+
next: r != null ? r : void 0,
|
4097
|
+
error: n != null ? n : void 0,
|
4098
|
+
complete: i != null ? i : void 0
|
4099
|
+
} : s = r, o.destination = new fo(s), o;
|
4122
4100
|
}
|
4123
4101
|
return t;
|
4124
|
-
}(
|
4102
|
+
}(Pr);
|
4125
4103
|
function be(e) {
|
4126
|
-
|
4104
|
+
co(e);
|
4127
4105
|
}
|
4128
|
-
function
|
4106
|
+
function po(e) {
|
4129
4107
|
throw e;
|
4130
4108
|
}
|
4131
|
-
var
|
4109
|
+
var mo = {
|
4132
4110
|
closed: !0,
|
4133
|
-
next:
|
4134
|
-
error:
|
4135
|
-
complete:
|
4136
|
-
},
|
4111
|
+
next: Gt,
|
4112
|
+
error: po,
|
4113
|
+
complete: Gt
|
4114
|
+
}, bo = function() {
|
4137
4115
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4138
4116
|
}();
|
4139
|
-
function
|
4117
|
+
function go(e) {
|
4140
4118
|
return e;
|
4141
4119
|
}
|
4142
|
-
function
|
4143
|
-
return e.length === 0 ?
|
4120
|
+
function vo(e) {
|
4121
|
+
return e.length === 0 ? go : e.length === 1 ? e[0] : function(r) {
|
4144
4122
|
return e.reduce(function(n, i) {
|
4145
4123
|
return i(n);
|
4146
4124
|
}, r);
|
4147
4125
|
};
|
4148
4126
|
}
|
4149
|
-
var
|
4127
|
+
var Ut = function() {
|
4150
4128
|
function e(t) {
|
4151
4129
|
t && (this._subscribe = t);
|
4152
4130
|
}
|
@@ -4154,7 +4132,7 @@ var jt = function() {
|
|
4154
4132
|
var r = new e();
|
4155
4133
|
return r.source = this, r.operator = t, r;
|
4156
4134
|
}, e.prototype.subscribe = function(t, r, n) {
|
4157
|
-
var i = this, o =
|
4135
|
+
var i = this, o = _o(t) ? t : new tt(t, r, n);
|
4158
4136
|
return _e(function() {
|
4159
4137
|
var s = i, a = s.operator, l = s.source;
|
4160
4138
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4167,8 +4145,8 @@ var jt = function() {
|
|
4167
4145
|
}
|
4168
4146
|
}, e.prototype.forEach = function(t, r) {
|
4169
4147
|
var n = this;
|
4170
|
-
return r =
|
4171
|
-
var s = new
|
4148
|
+
return r = Dt(r), new r(function(i, o) {
|
4149
|
+
var s = new tt({
|
4172
4150
|
next: function(a) {
|
4173
4151
|
try {
|
4174
4152
|
t(a);
|
@@ -4184,15 +4162,15 @@ var jt = function() {
|
|
4184
4162
|
}, e.prototype._subscribe = function(t) {
|
4185
4163
|
var r;
|
4186
4164
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4187
|
-
}, e.prototype[
|
4165
|
+
}, e.prototype[bo] = function() {
|
4188
4166
|
return this;
|
4189
4167
|
}, e.prototype.pipe = function() {
|
4190
4168
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4191
4169
|
t[r] = arguments[r];
|
4192
|
-
return
|
4170
|
+
return vo(t)(this);
|
4193
4171
|
}, e.prototype.toPromise = function(t) {
|
4194
4172
|
var r = this;
|
4195
|
-
return t =
|
4173
|
+
return t = Dt(t), new t(function(n, i) {
|
4196
4174
|
var o;
|
4197
4175
|
r.subscribe(function(s) {
|
4198
4176
|
return o = s;
|
@@ -4206,32 +4184,32 @@ var jt = function() {
|
|
4206
4184
|
return new e(t);
|
4207
4185
|
}, e;
|
4208
4186
|
}();
|
4209
|
-
function
|
4187
|
+
function Dt(e) {
|
4210
4188
|
var t;
|
4211
|
-
return (t = e != null ? e :
|
4189
|
+
return (t = e != null ? e : uo.Promise) !== null && t !== void 0 ? t : Promise;
|
4212
4190
|
}
|
4213
|
-
function
|
4191
|
+
function yo(e) {
|
4214
4192
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
4215
4193
|
}
|
4216
|
-
function
|
4217
|
-
return e && e instanceof
|
4194
|
+
function _o(e) {
|
4195
|
+
return e && e instanceof Pr || yo(e) && Cr(e);
|
4218
4196
|
}
|
4219
|
-
var
|
4197
|
+
var xo = Tr(function(e) {
|
4220
4198
|
return function() {
|
4221
4199
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4222
4200
|
};
|
4223
|
-
}),
|
4201
|
+
}), Br = function(e) {
|
4224
4202
|
F(t, e);
|
4225
4203
|
function t() {
|
4226
4204
|
var r = e.call(this) || this;
|
4227
4205
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4228
4206
|
}
|
4229
4207
|
return t.prototype.lift = function(r) {
|
4230
|
-
var n = new
|
4208
|
+
var n = new Ft(this, this);
|
4231
4209
|
return n.operator = r, n;
|
4232
4210
|
}, t.prototype._throwIfClosed = function() {
|
4233
4211
|
if (this.closed)
|
4234
|
-
throw new
|
4212
|
+
throw new xo();
|
4235
4213
|
}, t.prototype.next = function(r) {
|
4236
4214
|
var n = this;
|
4237
4215
|
_e(function() {
|
@@ -4239,7 +4217,7 @@ var wo = Pr(function(e) {
|
|
4239
4217
|
if (n._throwIfClosed(), !n.isStopped) {
|
4240
4218
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4241
4219
|
try {
|
4242
|
-
for (var s =
|
4220
|
+
for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4243
4221
|
var l = a.value;
|
4244
4222
|
l.next(r);
|
4245
4223
|
}
|
@@ -4287,19 +4265,19 @@ var wo = Pr(function(e) {
|
|
4287
4265
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4288
4266
|
}, t.prototype._innerSubscribe = function(r) {
|
4289
4267
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4290
|
-
return o || s ?
|
4291
|
-
n.currentObservers = null,
|
4268
|
+
return o || s ? Hr : (this.currentObservers = null, a.push(r), new Ie(function() {
|
4269
|
+
n.currentObservers = null, et(a, r);
|
4292
4270
|
}));
|
4293
4271
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4294
4272
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4295
4273
|
i ? r.error(o) : s && r.complete();
|
4296
4274
|
}, t.prototype.asObservable = function() {
|
4297
|
-
var r = new
|
4275
|
+
var r = new Ut();
|
4298
4276
|
return r.source = this, r;
|
4299
4277
|
}, t.create = function(r, n) {
|
4300
|
-
return new
|
4278
|
+
return new Ft(r, n);
|
4301
4279
|
}, t;
|
4302
|
-
}(
|
4280
|
+
}(Ut), Ft = function(e) {
|
4303
4281
|
F(t, e);
|
4304
4282
|
function t(r, n) {
|
4305
4283
|
var i = e.call(this) || this;
|
@@ -4316,17 +4294,17 @@ var wo = Pr(function(e) {
|
|
4316
4294
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4317
4295
|
}, t.prototype._subscribe = function(r) {
|
4318
4296
|
var n, i;
|
4319
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4297
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
|
4320
4298
|
}, t;
|
4321
|
-
}(
|
4299
|
+
}(Br), Ar = {
|
4322
4300
|
now: function() {
|
4323
|
-
return (
|
4301
|
+
return (Ar.delegate || Date).now();
|
4324
4302
|
},
|
4325
4303
|
delegate: void 0
|
4326
|
-
},
|
4304
|
+
}, Eo = function(e) {
|
4327
4305
|
F(t, e);
|
4328
4306
|
function t(r, n, i) {
|
4329
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4307
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
|
4330
4308
|
var o = e.call(this) || this;
|
4331
4309
|
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;
|
4332
4310
|
}
|
@@ -4346,23 +4324,23 @@ var wo = Pr(function(e) {
|
|
4346
4324
|
u && o.splice(0, u + 1);
|
4347
4325
|
}
|
4348
4326
|
}, t;
|
4349
|
-
}(
|
4350
|
-
const
|
4351
|
-
if (
|
4352
|
-
const r = new
|
4353
|
-
|
4327
|
+
}(Br);
|
4328
|
+
const jt = [], kt = {}, So = (e, t = 0) => {
|
4329
|
+
if (jt.indexOf(e) == -1) {
|
4330
|
+
const r = new Eo(t);
|
4331
|
+
kt[e] = r, jt.push(e);
|
4354
4332
|
}
|
4355
|
-
return
|
4333
|
+
return kt[e];
|
4356
4334
|
};
|
4357
|
-
window.emWidgets = { topic:
|
4358
|
-
const
|
4359
|
-
function
|
4335
|
+
window.emWidgets = { topic: So };
|
4336
|
+
const wo = (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));
|
4337
|
+
function To(e, t) {
|
4360
4338
|
if (e) {
|
4361
4339
|
const r = document.createElement("style");
|
4362
4340
|
r.innerHTML = t, e.appendChild(r);
|
4363
4341
|
}
|
4364
4342
|
}
|
4365
|
-
function
|
4343
|
+
function Ho(e, t) {
|
4366
4344
|
const r = new URL(t);
|
4367
4345
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4368
4346
|
const i = document.createElement("style");
|
@@ -4371,7 +4349,7 @@ function Bo(e, t) {
|
|
4371
4349
|
console.error("There was an error while trying to load client styling from URL", n);
|
4372
4350
|
});
|
4373
4351
|
}
|
4374
|
-
function
|
4352
|
+
function Co(e, t, r) {
|
4375
4353
|
if (window.emMessageBus) {
|
4376
4354
|
const n = document.createElement("style");
|
4377
4355
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4379,18 +4357,18 @@ function Ao(e, t, r) {
|
|
4379
4357
|
});
|
4380
4358
|
}
|
4381
4359
|
}
|
4382
|
-
function
|
4383
|
-
|
4360
|
+
function Po(e) {
|
4361
|
+
Jr(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)}}');
|
4384
4362
|
}
|
4385
|
-
function
|
4363
|
+
function Vt(e, t, r) {
|
4386
4364
|
const n = e.slice();
|
4387
4365
|
return n[41] = t[r], n;
|
4388
4366
|
}
|
4389
|
-
function
|
4367
|
+
function Xt(e, t, r) {
|
4390
4368
|
const n = e.slice();
|
4391
4369
|
return n[44] = t[r], n;
|
4392
4370
|
}
|
4393
|
-
function
|
4371
|
+
function Bo(e) {
|
4394
4372
|
let t, r, n, i = (
|
4395
4373
|
/*type*/
|
4396
4374
|
(e[0] == "vendor" ? (
|
@@ -4403,22 +4381,22 @@ function Io(e) {
|
|
4403
4381
|
), o, s, a, l, u, h, c = (
|
4404
4382
|
/*numberOfSlides*/
|
4405
4383
|
e[8] > /*numberOfVisibleSlides*/
|
4406
|
-
e[9] &&
|
4384
|
+
e[9] && Wt(e)
|
4407
4385
|
), f = we(
|
4408
4386
|
/*gameCategories*/
|
4409
4387
|
e[3]
|
4410
4388
|
), p = [];
|
4411
4389
|
for (let d = 0; d < f.length; d += 1)
|
4412
|
-
p[d] =
|
4390
|
+
p[d] = Qt(Vt(e, f, d));
|
4413
4391
|
return {
|
4414
4392
|
c() {
|
4415
4393
|
t = P("div"), r = P("div"), n = P("p"), o = Ce(i), s = k(), c && c.c(), a = k(), l = P("div");
|
4416
4394
|
for (let d = 0; d < p.length; d += 1)
|
4417
4395
|
p[d].c();
|
4418
|
-
|
4396
|
+
E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(l, "class", "CategoriesSlider"), Se(() => (
|
4419
4397
|
/*div1_elementresize_handler*/
|
4420
4398
|
e[28].call(l)
|
4421
|
-
)),
|
4399
|
+
)), E(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
|
4422
4400
|
(e[10] ? "Mobile" : "") + " " + /*type*/
|
4423
4401
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4424
4402
|
},
|
@@ -4426,7 +4404,7 @@ function Io(e) {
|
|
4426
4404
|
U(d, t, g), C(t, r), C(r, n), C(n, o), C(r, s), c && c.m(r, null), C(t, a), C(t, l);
|
4427
4405
|
for (let m = 0; m < p.length; m += 1)
|
4428
4406
|
p[m] && p[m].m(l, null);
|
4429
|
-
e[27](l), u =
|
4407
|
+
e[27](l), u = rn(
|
4430
4408
|
l,
|
4431
4409
|
/*div1_elementresize_handler*/
|
4432
4410
|
e[28].bind(l)
|
@@ -4441,9 +4419,9 @@ function Io(e) {
|
|
4441
4419
|
) : (
|
4442
4420
|
/*$_*/
|
4443
4421
|
d[11]("collections")
|
4444
|
-
)) + "") &&
|
4422
|
+
)) + "") && nt(o, i), /*numberOfSlides*/
|
4445
4423
|
d[8] > /*numberOfVisibleSlides*/
|
4446
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4424
|
+
d[9] ? c ? c.p(d, g) : (c = Wt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4447
4425
|
49166) {
|
4448
4426
|
f = we(
|
4449
4427
|
/*gameCategories*/
|
@@ -4451,8 +4429,8 @@ function Io(e) {
|
|
4451
4429
|
);
|
4452
4430
|
let m;
|
4453
4431
|
for (m = 0; m < f.length; m += 1) {
|
4454
|
-
const _ =
|
4455
|
-
p[m] ? p[m].p(_, g) : (p[m] =
|
4432
|
+
const _ = Vt(d, f, m);
|
4433
|
+
p[m] ? p[m].p(_, g) : (p[m] = Qt(_), p[m].c(), p[m].m(l, null));
|
4456
4434
|
}
|
4457
4435
|
for (; m < p.length; m += 1)
|
4458
4436
|
p[m].d(1);
|
@@ -4461,18 +4439,18 @@ function Io(e) {
|
|
4461
4439
|
g[0] & /*mobile, type*/
|
4462
4440
|
1025 && h !== (h = "CasinoCollectionsProviders " + /*mobile*/
|
4463
4441
|
(d[10] ? "Mobile" : "") + " " + /*type*/
|
4464
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4442
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", h);
|
4465
4443
|
},
|
4466
4444
|
d(d) {
|
4467
|
-
d && $(t), c && c.d(),
|
4445
|
+
d && $(t), c && c.d(), Kt(p, d), e[27](null), u();
|
4468
4446
|
}
|
4469
4447
|
};
|
4470
4448
|
}
|
4471
|
-
function
|
4449
|
+
function Ao(e) {
|
4472
4450
|
let t;
|
4473
4451
|
return {
|
4474
4452
|
c() {
|
4475
|
-
t = P("div"),
|
4453
|
+
t = P("div"), E(t, "class", "LoadingSpinner");
|
4476
4454
|
},
|
4477
4455
|
m(r, n) {
|
4478
4456
|
U(r, t, n);
|
@@ -4483,11 +4461,11 @@ function Lo(e) {
|
|
4483
4461
|
}
|
4484
4462
|
};
|
4485
4463
|
}
|
4486
|
-
function
|
4464
|
+
function Wt(e) {
|
4487
4465
|
let t, r, n, i, o, s;
|
4488
4466
|
return {
|
4489
4467
|
c() {
|
4490
|
-
t = P("div"), r = P("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 = P("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>',
|
4468
|
+
t = P("div"), r = P("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 = P("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>', E(t, "class", "ButtonsContainer");
|
4491
4469
|
},
|
4492
4470
|
m(a, l) {
|
4493
4471
|
U(a, t, l), C(t, r), C(t, n), C(t, i), o || (s = [
|
@@ -4511,14 +4489,14 @@ function Qt(e) {
|
|
4511
4489
|
}
|
4512
4490
|
};
|
4513
4491
|
}
|
4514
|
-
function
|
4492
|
+
function Oo(e) {
|
4515
4493
|
let t, r = (
|
4516
4494
|
/*category*/
|
4517
4495
|
e[41].name + ""
|
4518
4496
|
), n;
|
4519
4497
|
return {
|
4520
4498
|
c() {
|
4521
|
-
t = P("p"), n = Ce(r),
|
4499
|
+
t = P("p"), n = Ce(r), E(t, "class", "CategorySlideTitle");
|
4522
4500
|
},
|
4523
4501
|
m(i, o) {
|
4524
4502
|
U(i, t, o), C(t, n);
|
@@ -4526,19 +4504,19 @@ function No(e) {
|
|
4526
4504
|
p(i, o) {
|
4527
4505
|
o[0] & /*gameCategories*/
|
4528
4506
|
8 && r !== (r = /*category*/
|
4529
|
-
i[41].name + "") &&
|
4507
|
+
i[41].name + "") && nt(n, r);
|
4530
4508
|
},
|
4531
4509
|
d(i) {
|
4532
4510
|
i && $(t);
|
4533
4511
|
}
|
4534
4512
|
};
|
4535
4513
|
}
|
4536
|
-
function
|
4514
|
+
function Io(e) {
|
4537
4515
|
let t, r, n;
|
4538
4516
|
return {
|
4539
4517
|
c() {
|
4540
|
-
t = P("img"),
|
4541
|
-
e[41].icon) ||
|
4518
|
+
t = P("img"), E(t, "class", "CategorySlideLogo"), xe(t.src, r = /*category*/
|
4519
|
+
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4542
4520
|
e[41].name + " icon");
|
4543
4521
|
},
|
4544
4522
|
m(i, o) {
|
@@ -4546,24 +4524,24 @@ function Mo(e) {
|
|
4546
4524
|
},
|
4547
4525
|
p(i, o) {
|
4548
4526
|
o[0] & /*gameCategories*/
|
4549
|
-
8 && !
|
4550
|
-
i[41].icon) &&
|
4527
|
+
8 && !xe(t.src, r = /*category*/
|
4528
|
+
i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
|
4551
4529
|
8 && n !== (n = /*category*/
|
4552
|
-
i[41].name + " icon") &&
|
4530
|
+
i[41].name + " icon") && E(t, "alt", n);
|
4553
4531
|
},
|
4554
4532
|
d(i) {
|
4555
4533
|
i && $(t);
|
4556
4534
|
}
|
4557
4535
|
};
|
4558
4536
|
}
|
4559
|
-
function
|
4537
|
+
function zt(e) {
|
4560
4538
|
let t, r = (
|
4561
4539
|
/*game*/
|
4562
4540
|
e[44].name + ""
|
4563
4541
|
), n, i;
|
4564
4542
|
return {
|
4565
4543
|
c() {
|
4566
|
-
t = P("p"), n = Ce(r),
|
4544
|
+
t = P("p"), n = Ce(r), E(t, "title", i = /*game*/
|
4567
4545
|
e[44].name);
|
4568
4546
|
},
|
4569
4547
|
m(o, s) {
|
@@ -4572,16 +4550,16 @@ function Jt(e) {
|
|
4572
4550
|
p(o, s) {
|
4573
4551
|
s[0] & /*gameCategories*/
|
4574
4552
|
8 && r !== (r = /*game*/
|
4575
|
-
o[44].name + "") &&
|
4553
|
+
o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
|
4576
4554
|
8 && i !== (i = /*game*/
|
4577
|
-
o[44].name) &&
|
4555
|
+
o[44].name) && E(t, "title", i);
|
4578
4556
|
},
|
4579
4557
|
d(o) {
|
4580
4558
|
o && $(t);
|
4581
4559
|
}
|
4582
4560
|
};
|
4583
4561
|
}
|
4584
|
-
function
|
4562
|
+
function Zt(e) {
|
4585
4563
|
let t, r, n, i, o, s, a, l;
|
4586
4564
|
function u() {
|
4587
4565
|
return (
|
@@ -4594,48 +4572,48 @@ function Yt(e) {
|
|
4594
4572
|
}
|
4595
4573
|
let h = (
|
4596
4574
|
/*collectionprovidersgamenames*/
|
4597
|
-
e[2] == "true" &&
|
4575
|
+
e[2] == "true" && zt(e)
|
4598
4576
|
);
|
4599
4577
|
return {
|
4600
4578
|
c() {
|
4601
|
-
t = P("div"), r = P("img"), o = k(), h && h.c(), s = k(),
|
4602
|
-
e[44].defaultThumbnail) ||
|
4603
|
-
e[44].name),
|
4579
|
+
t = P("div"), r = P("img"), o = k(), h && h.c(), s = k(), E(r, "class", "CategorySlideGameImage"), xe(r.src, n = /*game*/
|
4580
|
+
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4581
|
+
e[44].name), E(t, "class", "CategorySlideGames");
|
4604
4582
|
},
|
4605
4583
|
m(c, f) {
|
4606
|
-
U(c, t, f), C(t, r), C(t, o), h && h.m(t, null), C(t, s), a || (l = J(r, "click",
|
4584
|
+
U(c, t, f), C(t, r), C(t, o), h && h.m(t, null), C(t, s), a || (l = J(r, "click", Kr(u)), a = !0);
|
4607
4585
|
},
|
4608
4586
|
p(c, f) {
|
4609
4587
|
e = c, f[0] & /*gameCategories*/
|
4610
|
-
8 && !
|
4611
|
-
e[44].defaultThumbnail) &&
|
4588
|
+
8 && !xe(r.src, n = /*game*/
|
4589
|
+
e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
|
4612
4590
|
8 && i !== (i = /*game*/
|
4613
|
-
e[44].name) &&
|
4614
|
-
e[2] == "true" ? h ? h.p(e, f) : (h =
|
4591
|
+
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4592
|
+
e[2] == "true" ? h ? h.p(e, f) : (h = zt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
|
4615
4593
|
},
|
4616
4594
|
d(c) {
|
4617
4595
|
c && $(t), h && h.d(), a = !1, l();
|
4618
4596
|
}
|
4619
4597
|
};
|
4620
4598
|
}
|
4621
|
-
function
|
4599
|
+
function Qt(e) {
|
4622
4600
|
let t, r, n, i, o, s, a, l, u;
|
4623
4601
|
function h(m, _) {
|
4624
4602
|
if (
|
4625
4603
|
/*titletype*/
|
4626
4604
|
m[1] == "logo"
|
4627
|
-
) return
|
4605
|
+
) return Io;
|
4628
4606
|
if (
|
4629
4607
|
/*titletype*/
|
4630
4608
|
m[1] == "title"
|
4631
|
-
) return
|
4609
|
+
) return Oo;
|
4632
4610
|
}
|
4633
4611
|
let c = h(e), f = c && c(e), p = we(
|
4634
4612
|
/*category*/
|
4635
4613
|
e[41].games
|
4636
4614
|
), d = [];
|
4637
4615
|
for (let m = 0; m < p.length; m += 1)
|
4638
|
-
d[m] =
|
4616
|
+
d[m] = Zt(Xt(e, p, m));
|
4639
4617
|
function g() {
|
4640
4618
|
return (
|
4641
4619
|
/*click_handler_3*/
|
@@ -4651,9 +4629,9 @@ function qt(e) {
|
|
4651
4629
|
t = P("div"), r = P("div"), n = P("div"), f && f.c(), i = k(), o = P("div");
|
4652
4630
|
for (let S = 0; S < d.length; S += 1)
|
4653
4631
|
d[S].c();
|
4654
|
-
a = k(),
|
4632
|
+
a = k(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
|
4655
4633
|
(((m = e[41]) == null ? void 0 : m.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
|
4656
|
-
((_ = e[41]) == null ? void 0 : _.background) + ")"), Ne(r, "background-size", "cover"),
|
4634
|
+
((_ = e[41]) == null ? void 0 : _.background) + ")"), Ne(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
|
4657
4635
|
},
|
4658
4636
|
m(m, _) {
|
4659
4637
|
U(m, t, _), C(t, r), C(r, n), f && f.m(n, null), C(r, i), C(r, o);
|
@@ -4671,8 +4649,8 @@ function qt(e) {
|
|
4671
4649
|
);
|
4672
4650
|
let H;
|
4673
4651
|
for (H = 0; H < p.length; H += 1) {
|
4674
|
-
const A =
|
4675
|
-
d[H] ? d[H].p(A, _) : (d[H] =
|
4652
|
+
const A = Xt(e, p, H);
|
4653
|
+
d[H] ? d[H].p(A, _) : (d[H] = Zt(A), d[H].c(), d[H].m(o, null));
|
4676
4654
|
}
|
4677
4655
|
for (; H < d.length; H += 1)
|
4678
4656
|
d[H].d(1);
|
@@ -4680,21 +4658,21 @@ function qt(e) {
|
|
4680
4658
|
}
|
4681
4659
|
_[0] & /*gameCategories*/
|
4682
4660
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4683
|
-
(((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4661
|
+
(((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), _[0] & /*gameCategories*/
|
4684
4662
|
8 && Ne(r, "background-image", "url(" + /*category*/
|
4685
4663
|
((T = e[41]) == null ? void 0 : T.background) + ")");
|
4686
4664
|
},
|
4687
4665
|
d(m) {
|
4688
|
-
m && $(t), f && f.d(),
|
4666
|
+
m && $(t), f && f.d(), Kt(d, m), l = !1, u();
|
4689
4667
|
}
|
4690
4668
|
};
|
4691
4669
|
}
|
4692
|
-
function
|
4670
|
+
function Lo(e) {
|
4693
4671
|
let t;
|
4694
4672
|
function r(o, s) {
|
4695
4673
|
return (
|
4696
4674
|
/*isLoading*/
|
4697
|
-
o[7] ?
|
4675
|
+
o[7] ? Ao : Bo
|
4698
4676
|
);
|
4699
4677
|
}
|
4700
4678
|
let n = r(e), i = n(e);
|
@@ -4715,52 +4693,52 @@ function Ro(e) {
|
|
4715
4693
|
}
|
4716
4694
|
};
|
4717
4695
|
}
|
4718
|
-
function
|
4696
|
+
function No(e, t, r) {
|
4719
4697
|
let n;
|
4720
|
-
|
4721
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, _ = 0, S = 0, T = 0, H, A, O, fe = window.navigator.userAgent,
|
4722
|
-
const
|
4698
|
+
Qr(e, ao, (b) => r(11, n = b));
|
4699
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, _ = 0, S = 0, T = 0, H, A, O, fe = window.navigator.userAgent, st, oe = 0;
|
4700
|
+
const Or = () => {
|
4723
4701
|
fetch(c).then((I) => I.json()).then((I) => {
|
4724
4702
|
Object.keys(I).forEach((G) => {
|
4725
|
-
|
4703
|
+
Mt(G, I[G]);
|
4726
4704
|
});
|
4727
4705
|
}).catch((I) => {
|
4728
4706
|
console.log(I);
|
4729
4707
|
});
|
4730
4708
|
};
|
4731
|
-
Object.keys(
|
4732
|
-
|
4709
|
+
Object.keys(Rt).forEach((b) => {
|
4710
|
+
Mt(b, Rt[b]);
|
4733
4711
|
});
|
4734
|
-
const
|
4712
|
+
const Ir = () => {
|
4735
4713
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4736
4714
|
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((I) => I.json()).then((I) => {
|
4737
4715
|
r(7, g = !1);
|
4738
4716
|
let G = I.items.filter((N) => N.flags == a);
|
4739
4717
|
r(3, d = G.map((N) => {
|
4740
|
-
var
|
4718
|
+
var dt, pt, mt;
|
4741
4719
|
return {
|
4742
4720
|
id: N.id,
|
4743
4721
|
name: N.name,
|
4744
|
-
icon: N.icon ? N.icon : (
|
4745
|
-
games: N.games.items.slice(0, 4).map((
|
4722
|
+
icon: N.icon ? N.icon : (mt = (pt = (dt = N.vendors) == null ? void 0 : dt.items[0]) == null ? void 0 : pt.subVendors[0]) == null ? void 0 : mt.logo,
|
4723
|
+
games: N.games.items.slice(0, 4).map((jr) => jr),
|
4746
4724
|
background: N.background,
|
4747
4725
|
flag: N.flags
|
4748
4726
|
};
|
4749
4727
|
})), r(8, S = d.length);
|
4750
4728
|
});
|
4751
|
-
},
|
4729
|
+
}, at = (b) => {
|
4752
4730
|
A = [...m.children], A.forEach((I, G) => {
|
4753
4731
|
I.style.transform = `translateX(${100 * (b ? G - b : G)}%)`;
|
4754
|
-
}), H = A[0].getBoundingClientRect().width,
|
4755
|
-
},
|
4732
|
+
}), H = A[0].getBoundingClientRect().width, Lr();
|
4733
|
+
}, Lr = () => {
|
4756
4734
|
r(9, T = Math.floor(oe / H));
|
4757
|
-
},
|
4758
|
-
|
4759
|
-
},
|
4760
|
-
_ === 0 ? _ = S - T : _ - T < -1 ? _ = 0 : _--,
|
4761
|
-
},
|
4762
|
-
_ === S - T ? _ = 0 : S - T < _ + 1 ? _ = S - T : _++,
|
4763
|
-
},
|
4735
|
+
}, lt = () => {
|
4736
|
+
at(_);
|
4737
|
+
}, ut = () => {
|
4738
|
+
_ === 0 ? _ = S - T : _ - T < -1 ? _ = 0 : _--, lt();
|
4739
|
+
}, ht = () => {
|
4740
|
+
_ === S - T ? _ = 0 : S - T < _ + 1 ? _ = S - T : _++, lt();
|
4741
|
+
}, ct = (b, I, G, N) => {
|
4764
4742
|
window.postMessage(
|
4765
4743
|
{
|
4766
4744
|
type: "OpenCollectionsProvidersGame",
|
@@ -4774,7 +4752,7 @@ function $o(e, t, r) {
|
|
4774
4752
|
context: "CollectionsProviders",
|
4775
4753
|
gameName: `${G}`
|
4776
4754
|
});
|
4777
|
-
},
|
4755
|
+
}, ft = (b) => {
|
4778
4756
|
window.postMessage(
|
4779
4757
|
{
|
4780
4758
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4782,22 +4760,22 @@ function $o(e, t, r) {
|
|
4782
4760
|
},
|
4783
4761
|
window.location.href
|
4784
4762
|
);
|
4785
|
-
},
|
4786
|
-
|
4763
|
+
}, Nr = () => {
|
4764
|
+
lo(s);
|
4787
4765
|
};
|
4788
|
-
|
4766
|
+
sn(() => (r(10, st = wo(fe)), () => {
|
4789
4767
|
}));
|
4790
|
-
const
|
4791
|
-
function
|
4792
|
-
|
4768
|
+
const Mr = () => ut(), Rr = () => ht(), $r = (b) => ct(b.gameId, b.launchUrl, b.name, b.subVendor), Gr = (b) => ft(b.id);
|
4769
|
+
function Ur(b) {
|
4770
|
+
Ee[b ? "unshift" : "push"](() => {
|
4793
4771
|
m = b, r(4, m);
|
4794
4772
|
});
|
4795
4773
|
}
|
4796
|
-
function
|
4774
|
+
function Dr() {
|
4797
4775
|
oe = this.clientWidth, r(6, oe);
|
4798
4776
|
}
|
4799
|
-
function
|
4800
|
-
|
4777
|
+
function Fr(b) {
|
4778
|
+
Ee[b ? "unshift" : "push"](() => {
|
4801
4779
|
O = b, r(5, O);
|
4802
4780
|
});
|
4803
4781
|
}
|
@@ -4805,13 +4783,13 @@ function $o(e, t, r) {
|
|
4805
4783
|
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = 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);
|
4806
4784
|
}, e.$$.update = () => {
|
4807
4785
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4808
|
-
458752 && i && o && s &&
|
4809
|
-
88 && oe && d && m &&
|
4810
|
-
262144 && s &&
|
4811
|
-
524320 && u && O &&
|
4812
|
-
1048608 && h && O &&
|
4813
|
-
4194336 && O &&
|
4814
|
-
2097152 && c &&
|
4786
|
+
458752 && i && o && s && Ir(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4787
|
+
88 && oe && d && m && at(), e.$$.dirty[0] & /*lang*/
|
4788
|
+
262144 && s && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4789
|
+
524320 && u && O && To(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4790
|
+
1048608 && h && O && Ho(O, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4791
|
+
4194336 && O && Co(O, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4792
|
+
2097152 && c && Or();
|
4815
4793
|
}, [
|
4816
4794
|
a,
|
4817
4795
|
l,
|
@@ -4823,12 +4801,12 @@ function $o(e, t, r) {
|
|
4823
4801
|
g,
|
4824
4802
|
S,
|
4825
4803
|
T,
|
4826
|
-
|
4804
|
+
st,
|
4827
4805
|
n,
|
4806
|
+
ut,
|
4807
|
+
ht,
|
4808
|
+
ct,
|
4828
4809
|
ft,
|
4829
|
-
dt,
|
4830
|
-
pt,
|
4831
|
-
mt,
|
4832
4810
|
i,
|
4833
4811
|
o,
|
4834
4812
|
s,
|
@@ -4836,23 +4814,23 @@ function $o(e, t, r) {
|
|
4836
4814
|
h,
|
4837
4815
|
c,
|
4838
4816
|
p,
|
4817
|
+
Mr,
|
4818
|
+
Rr,
|
4819
|
+
$r,
|
4820
|
+
Gr,
|
4839
4821
|
Ur,
|
4840
4822
|
Dr,
|
4841
|
-
Fr
|
4842
|
-
jr,
|
4843
|
-
kr,
|
4844
|
-
Vr,
|
4845
|
-
Xr
|
4823
|
+
Fr
|
4846
4824
|
];
|
4847
4825
|
}
|
4848
|
-
class
|
4826
|
+
class Mo extends vn {
|
4849
4827
|
constructor(t) {
|
4850
|
-
super(),
|
4828
|
+
super(), bn(
|
4851
4829
|
this,
|
4852
4830
|
t,
|
4853
|
-
|
4854
|
-
|
4855
|
-
|
4831
|
+
No,
|
4832
|
+
Lo,
|
4833
|
+
qt,
|
4856
4834
|
{
|
4857
4835
|
endpoint: 16,
|
4858
4836
|
datasource: 17,
|
@@ -4865,7 +4843,7 @@ class Go extends xn {
|
|
4865
4843
|
collectionprovidersgamenames: 2,
|
4866
4844
|
mbsource: 22
|
4867
4845
|
},
|
4868
|
-
|
4846
|
+
Po,
|
4869
4847
|
[-1, -1]
|
4870
4848
|
);
|
4871
4849
|
}
|
@@ -4930,7 +4908,7 @@ class Go extends xn {
|
|
4930
4908
|
this.$$set({ mbsource: t }), R();
|
4931
4909
|
}
|
4932
4910
|
}
|
4933
|
-
|
4911
|
+
gn(Mo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4934
4912
|
export {
|
4935
|
-
|
4913
|
+
Mo as default
|
4936
4914
|
};
|