@everymatrix/casino-collections-providers 1.60.0 → 1.60.2
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-Dn7FC6Kf.js → CasinoCollectionsProviders-DzoJQIXN.js} +551 -573
- package/components/CasinoCollectionsProviders-JQuofl74.cjs +18 -0
- package/components/{CasinoCollectionsProviders-k8QCmH9I.js → CasinoCollectionsProviders-N7f3lcMy.js} +635 -656
- 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-CDaQa5AB.cjs +0 -18
package/components/{CasinoCollectionsProviders-k8QCmH9I.js → CasinoCollectionsProviders-N7f3lcMy.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 jr = Object.defineProperty, kr = Object.defineProperties;
|
2
|
+
var Vr = Object.getOwnPropertyDescriptors;
|
3
|
+
var mt = Object.getOwnPropertySymbols;
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Le = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Xr.call(t, r) && Le(e, r, t[r]);
|
8
|
+
if (mt)
|
9
|
+
for (var r of mt(t))
|
10
|
+
Wr.call(t, r) && Le(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
12
|
+
}, gt = (e, t) => kr(e, Vr(t));
|
13
|
+
var N = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var vt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -27,53 +27,53 @@ var Et = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
function
|
30
|
+
function I() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Qt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function yt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function re(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Qt);
|
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 fe;
|
48
48
|
function ye(e, t) {
|
49
49
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function zr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function Jt(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
58
|
-
return
|
58
|
+
return I;
|
59
59
|
}
|
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 Zr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(Jt(t, r));
|
65
65
|
}
|
66
66
|
function C(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function Qr(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, Jr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function qr(e) {
|
77
77
|
if (!e)
|
78
78
|
return document;
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,20 +83,20 @@ function en(e) {
|
|
83
83
|
t
|
84
84
|
) : e.ownerDocument;
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function Jr(e, t) {
|
87
87
|
return C(
|
88
88
|
/** @type {Document} */
|
89
89
|
e.head || e,
|
90
90
|
t
|
91
91
|
), t.sheet;
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function G(e, t, r) {
|
94
94
|
e.insertBefore(t, r || null);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function R(e) {
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function Yt(e, t) {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r] && e[r].d(t);
|
102
102
|
}
|
@@ -112,25 +112,25 @@ function V() {
|
|
112
112
|
function _e(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Yr(e) {
|
116
116
|
return function(t) {
|
117
117
|
return t.stopPropagation(), e.call(this, t);
|
118
118
|
};
|
119
119
|
}
|
120
|
-
function
|
120
|
+
function E(e, t, r) {
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
122
|
}
|
123
|
-
function
|
123
|
+
function Kr(e) {
|
124
124
|
return Array.from(e.childNodes);
|
125
125
|
}
|
126
|
-
function
|
126
|
+
function nt(e, t) {
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
128
128
|
t);
|
129
129
|
}
|
130
130
|
function Ie(e, t, r, n) {
|
131
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
132
132
|
}
|
133
|
-
function
|
133
|
+
function en(e) {
|
134
134
|
const t = {};
|
135
135
|
return e.childNodes.forEach(
|
136
136
|
/** @param {Element} node */
|
@@ -143,27 +143,27 @@ let le;
|
|
143
143
|
function ae(e) {
|
144
144
|
le = e;
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function tn() {
|
147
147
|
if (!le)
|
148
148
|
throw new Error("Function called outside component initialization");
|
149
149
|
return le;
|
150
150
|
}
|
151
|
-
function
|
152
|
-
|
151
|
+
function rn(e) {
|
152
|
+
tn().$$.on_mount.push(e);
|
153
153
|
}
|
154
|
-
const Q = [],
|
154
|
+
const Q = [], xe = [];
|
155
155
|
let q = [];
|
156
|
-
const
|
157
|
-
let
|
158
|
-
function
|
159
|
-
|
156
|
+
const _t = [], nn = /* @__PURE__ */ Promise.resolve();
|
157
|
+
let Fe = !1;
|
158
|
+
function on() {
|
159
|
+
Fe || (Fe = !0, nn.then(M));
|
160
160
|
}
|
161
|
-
function
|
161
|
+
function je(e) {
|
162
162
|
q.push(e);
|
163
163
|
}
|
164
164
|
const Ne = /* @__PURE__ */ new Set();
|
165
165
|
let z = 0;
|
166
|
-
function
|
166
|
+
function M() {
|
167
167
|
if (z !== 0)
|
168
168
|
return;
|
169
169
|
const e = le;
|
@@ -171,56 +171,56 @@ function N() {
|
|
171
171
|
try {
|
172
172
|
for (; z < Q.length; ) {
|
173
173
|
const t = Q[z];
|
174
|
-
z++, ae(t),
|
174
|
+
z++, ae(t), sn(t.$$);
|
175
175
|
}
|
176
176
|
} catch (t) {
|
177
177
|
throw Q.length = 0, z = 0, t;
|
178
178
|
}
|
179
|
-
for (ae(null), Q.length = 0, z = 0;
|
180
|
-
|
179
|
+
for (ae(null), Q.length = 0, z = 0; xe.length; )
|
180
|
+
xe.pop()();
|
181
181
|
for (let t = 0; t < q.length; t += 1) {
|
182
182
|
const r = q[t];
|
183
183
|
Ne.has(r) || (Ne.add(r), r());
|
184
184
|
}
|
185
185
|
q.length = 0;
|
186
186
|
} while (Q.length);
|
187
|
-
for (;
|
188
|
-
|
189
|
-
|
187
|
+
for (; _t.length; )
|
188
|
+
_t.pop()();
|
189
|
+
Fe = !1, Ne.clear(), ae(e);
|
190
190
|
}
|
191
|
-
function
|
191
|
+
function sn(e) {
|
192
192
|
if (e.fragment !== null) {
|
193
193
|
e.update(), re(e.before_update);
|
194
194
|
const t = e.dirty;
|
195
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
195
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
|
196
196
|
}
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function an(e) {
|
199
199
|
const t = [], r = [];
|
200
200
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
201
201
|
}
|
202
|
-
const
|
203
|
-
function
|
204
|
-
e && e.i && (
|
202
|
+
const ln = /* @__PURE__ */ new Set();
|
203
|
+
function un(e, t) {
|
204
|
+
e && e.i && (ln.delete(e), e.i(t));
|
205
205
|
}
|
206
|
-
function
|
206
|
+
function Ee(e) {
|
207
207
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
208
208
|
}
|
209
|
-
function
|
209
|
+
function hn(e, t, r) {
|
210
210
|
const { fragment: n, after_update: i } = e.$$;
|
211
|
-
n && n.m(t, r),
|
212
|
-
const o = e.$$.on_mount.map(
|
211
|
+
n && n.m(t, r), je(() => {
|
212
|
+
const o = e.$$.on_mount.map(Qt).filter(rt);
|
213
213
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
214
|
-
}), i.forEach(
|
214
|
+
}), i.forEach(je);
|
215
215
|
}
|
216
|
-
function
|
216
|
+
function cn(e, t) {
|
217
217
|
const r = e.$$;
|
218
|
-
r.fragment !== null && (
|
218
|
+
r.fragment !== null && (an(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
219
219
|
}
|
220
|
-
function
|
221
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
220
|
+
function fn(e, t) {
|
221
|
+
e.$$.dirty[0] === -1 && (Q.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
222
222
|
}
|
223
|
-
function
|
223
|
+
function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
224
224
|
const h = le;
|
225
225
|
ae(e);
|
226
226
|
const u = e.$$ = {
|
@@ -228,9 +228,9 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
228
228
|
ctx: [],
|
229
229
|
// state
|
230
230
|
props: o,
|
231
|
-
update:
|
231
|
+
update: I,
|
232
232
|
not_equal: i,
|
233
|
-
bound:
|
233
|
+
bound: yt(),
|
234
234
|
// lifecycle
|
235
235
|
on_mount: [],
|
236
236
|
on_destroy: [],
|
@@ -239,7 +239,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
239
239
|
after_update: [],
|
240
240
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
241
241
|
// everything else
|
242
|
-
callbacks:
|
242
|
+
callbacks: yt(),
|
243
243
|
dirty: a,
|
244
244
|
skip_bound: !1,
|
245
245
|
root: t.target || h.$$.root
|
@@ -248,39 +248,39 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
248
248
|
let l = !1;
|
249
249
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
250
250
|
const m = d.length ? d[0] : c;
|
251
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l &&
|
251
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && fn(e, f)), c;
|
252
252
|
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
253
253
|
if (t.hydrate) {
|
254
|
-
const f =
|
255
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
254
|
+
const f = Kr(t.target);
|
255
|
+
u.fragment && u.fragment.l(f), f.forEach(R);
|
256
256
|
} else
|
257
257
|
u.fragment && u.fragment.c();
|
258
|
-
t.intro &&
|
258
|
+
t.intro && un(e.$$.fragment), hn(e, t.target, t.anchor), M();
|
259
259
|
}
|
260
260
|
ae(h);
|
261
261
|
}
|
262
|
-
let
|
263
|
-
typeof HTMLElement == "function" && (
|
262
|
+
let Kt;
|
263
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
264
264
|
constructor(t, r, n) {
|
265
265
|
super();
|
266
266
|
/** The Svelte component constructor */
|
267
|
-
|
267
|
+
N(this, "$$ctor");
|
268
268
|
/** Slots */
|
269
|
-
|
269
|
+
N(this, "$$s");
|
270
270
|
/** The Svelte component instance */
|
271
|
-
|
271
|
+
N(this, "$$c");
|
272
272
|
/** Whether or not the custom element is connected */
|
273
|
-
|
273
|
+
N(this, "$$cn", !1);
|
274
274
|
/** Component props data */
|
275
|
-
|
275
|
+
N(this, "$$d", {});
|
276
276
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
277
|
-
|
277
|
+
N(this, "$$r", !1);
|
278
278
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
279
|
-
|
279
|
+
N(this, "$$p_d", {});
|
280
280
|
/** @type {Record<string, Function[]>} Event listeners */
|
281
|
-
|
281
|
+
N(this, "$$l", {});
|
282
282
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
283
|
-
|
283
|
+
N(this, "$$l_u", /* @__PURE__ */ new Map());
|
284
284
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
285
285
|
}
|
286
286
|
addEventListener(t, r, n) {
|
@@ -297,31 +297,31 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
|
297
297
|
}
|
298
298
|
}
|
299
299
|
connectedCallback() {
|
300
|
-
return
|
300
|
+
return vt(this, null, function* () {
|
301
301
|
if (this.$$cn = !0, !this.$$c) {
|
302
302
|
let t = function(o) {
|
303
303
|
return () => {
|
304
304
|
let s;
|
305
305
|
return {
|
306
306
|
c: function() {
|
307
|
-
s = P("slot"), o !== "default" &&
|
307
|
+
s = P("slot"), o !== "default" && E(s, "name", o);
|
308
308
|
},
|
309
309
|
/**
|
310
310
|
* @param {HTMLElement} target
|
311
311
|
* @param {HTMLElement} [anchor]
|
312
312
|
*/
|
313
313
|
m: function(u, l) {
|
314
|
-
|
314
|
+
G(u, s, l);
|
315
315
|
},
|
316
316
|
d: function(u) {
|
317
|
-
u &&
|
317
|
+
u && R(s);
|
318
318
|
}
|
319
319
|
};
|
320
320
|
};
|
321
321
|
};
|
322
322
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
323
323
|
return;
|
324
|
-
const r = {}, n =
|
324
|
+
const r = {}, n = en(this);
|
325
325
|
for (const o of this.$$s)
|
326
326
|
o in n && (r[o] = [t(o)]);
|
327
327
|
for (const o of this.attributes) {
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
|
332
332
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
333
333
|
this.$$c = new this.$$ctor({
|
334
334
|
target: this.shadowRoot || this,
|
335
|
-
props:
|
335
|
+
props: gt(bt({}, this.$$d), {
|
336
336
|
$$slots: r,
|
337
337
|
$$scope: {
|
338
338
|
ctx: []
|
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
|
|
410
410
|
return t;
|
411
411
|
}
|
412
412
|
}
|
413
|
-
function
|
414
|
-
let s = class extends
|
413
|
+
function pn(e, t, r, n, i, o) {
|
414
|
+
let s = class extends Kt {
|
415
415
|
constructor() {
|
416
416
|
super(e, r, i), this.$$p_d = t;
|
417
417
|
}
|
@@ -441,7 +441,7 @@ function vn(e, t, r, n, i, o) {
|
|
441
441
|
}), e.element = /** @type {any} */
|
442
442
|
s, s;
|
443
443
|
}
|
444
|
-
class
|
444
|
+
class mn {
|
445
445
|
constructor() {
|
446
446
|
/**
|
447
447
|
* ### PRIVATE API
|
@@ -450,7 +450,7 @@ class yn {
|
|
450
450
|
*
|
451
451
|
* @type {any}
|
452
452
|
*/
|
453
|
-
|
453
|
+
N(this, "$$");
|
454
454
|
/**
|
455
455
|
* ### PRIVATE API
|
456
456
|
*
|
@@ -458,11 +458,11 @@ class yn {
|
|
458
458
|
*
|
459
459
|
* @type {any}
|
460
460
|
*/
|
461
|
-
|
461
|
+
N(this, "$$set");
|
462
462
|
}
|
463
463
|
/** @returns {void} */
|
464
464
|
$destroy() {
|
465
|
-
|
465
|
+
cn(this, 1), this.$destroy = I;
|
466
466
|
}
|
467
467
|
/**
|
468
468
|
* @template {Extract<keyof Events, string>} K
|
@@ -471,8 +471,8 @@ class yn {
|
|
471
471
|
* @returns {() => void}
|
472
472
|
*/
|
473
473
|
$on(t, r) {
|
474
|
-
if (!
|
475
|
-
return
|
474
|
+
if (!rt(r))
|
475
|
+
return I;
|
476
476
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
477
477
|
return n.push(r), () => {
|
478
478
|
const i = n.indexOf(r);
|
@@ -484,22 +484,22 @@ class yn {
|
|
484
484
|
* @returns {void}
|
485
485
|
*/
|
486
486
|
$set(t) {
|
487
|
-
this.$$set && !
|
487
|
+
this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
488
488
|
}
|
489
489
|
}
|
490
|
-
const
|
491
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
490
|
+
const bn = "4";
|
491
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
|
492
492
|
const Z = [];
|
493
|
-
function
|
493
|
+
function gn(e, t) {
|
494
494
|
return {
|
495
495
|
subscribe: He(e, t).subscribe
|
496
496
|
};
|
497
497
|
}
|
498
|
-
function He(e, t =
|
498
|
+
function He(e, t = I) {
|
499
499
|
let r;
|
500
500
|
const n = /* @__PURE__ */ new Set();
|
501
501
|
function i(a) {
|
502
|
-
if (
|
502
|
+
if (qt(e, a) && (e = a, r)) {
|
503
503
|
const h = !Z.length;
|
504
504
|
for (const u of n)
|
505
505
|
u[1](), Z.push(u, e);
|
@@ -513,9 +513,9 @@ function He(e, t = L) {
|
|
513
513
|
function o(a) {
|
514
514
|
i(a(e));
|
515
515
|
}
|
516
|
-
function s(a, h =
|
516
|
+
function s(a, h = I) {
|
517
517
|
const u = [a, h];
|
518
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
518
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
519
519
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
520
520
|
};
|
521
521
|
}
|
@@ -526,18 +526,18 @@ function ne(e, t, r) {
|
|
526
526
|
if (!i.every(Boolean))
|
527
527
|
throw new Error("derived() expects stores as input, got a falsy value");
|
528
528
|
const o = t.length < 2;
|
529
|
-
return
|
529
|
+
return gn(r, (s, a) => {
|
530
530
|
let h = !1;
|
531
531
|
const u = [];
|
532
|
-
let l = 0, f =
|
532
|
+
let l = 0, f = I;
|
533
533
|
const c = () => {
|
534
534
|
if (l)
|
535
535
|
return;
|
536
536
|
f();
|
537
537
|
const m = t(n ? u[0] : u, s, a);
|
538
|
-
o ? s(m) : f =
|
538
|
+
o ? s(m) : f = rt(m) ? m : I;
|
539
539
|
}, d = i.map(
|
540
|
-
(m, b) =>
|
540
|
+
(m, b) => Jt(
|
541
541
|
m,
|
542
542
|
(g) => {
|
543
543
|
u[b] = g, l &= ~(1 << b), h && c();
|
@@ -552,70 +552,70 @@ function ne(e, t, r) {
|
|
552
552
|
};
|
553
553
|
});
|
554
554
|
}
|
555
|
-
function
|
555
|
+
function vn(e) {
|
556
556
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
557
557
|
}
|
558
|
-
var
|
559
|
-
return
|
558
|
+
var yn = function(t) {
|
559
|
+
return _n(t) && !xn(t);
|
560
560
|
};
|
561
|
-
function
|
561
|
+
function _n(e) {
|
562
562
|
return !!e && typeof e == "object";
|
563
563
|
}
|
564
|
-
function
|
564
|
+
function xn(e) {
|
565
565
|
var t = Object.prototype.toString.call(e);
|
566
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
566
|
+
return t === "[object RegExp]" || t === "[object Date]" || wn(e);
|
567
567
|
}
|
568
|
-
var
|
569
|
-
function
|
570
|
-
return e.$$typeof ===
|
568
|
+
var En = typeof Symbol == "function" && Symbol.for, Sn = En ? Symbol.for("react.element") : 60103;
|
569
|
+
function wn(e) {
|
570
|
+
return e.$$typeof === Sn;
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function Tn(e) {
|
573
573
|
return Array.isArray(e) ? [] : {};
|
574
574
|
}
|
575
575
|
function ue(e, t) {
|
576
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Y(
|
576
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(Tn(e), e, t) : e;
|
577
577
|
}
|
578
|
-
function
|
578
|
+
function Hn(e, t, r) {
|
579
579
|
return e.concat(t).map(function(n) {
|
580
580
|
return ue(n, r);
|
581
581
|
});
|
582
582
|
}
|
583
|
-
function
|
583
|
+
function Cn(e, t) {
|
584
584
|
if (!t.customMerge)
|
585
585
|
return Y;
|
586
586
|
var r = t.customMerge(e);
|
587
587
|
return typeof r == "function" ? r : Y;
|
588
588
|
}
|
589
|
-
function
|
589
|
+
function Pn(e) {
|
590
590
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
591
591
|
return Object.propertyIsEnumerable.call(e, t);
|
592
592
|
}) : [];
|
593
593
|
}
|
594
|
-
function
|
595
|
-
return Object.keys(e).concat(
|
594
|
+
function xt(e) {
|
595
|
+
return Object.keys(e).concat(Pn(e));
|
596
596
|
}
|
597
|
-
function
|
597
|
+
function er(e, t) {
|
598
598
|
try {
|
599
599
|
return t in e;
|
600
600
|
} catch (r) {
|
601
601
|
return !1;
|
602
602
|
}
|
603
603
|
}
|
604
|
-
function
|
605
|
-
return
|
604
|
+
function Bn(e, t) {
|
605
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
606
606
|
}
|
607
|
-
function
|
607
|
+
function An(e, t, r) {
|
608
608
|
var n = {};
|
609
|
-
return r.isMergeableObject(e) &&
|
609
|
+
return r.isMergeableObject(e) && xt(e).forEach(function(i) {
|
610
610
|
n[i] = ue(e[i], r);
|
611
|
-
}),
|
612
|
-
|
611
|
+
}), xt(t).forEach(function(i) {
|
612
|
+
Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
613
613
|
}), n;
|
614
614
|
}
|
615
615
|
function Y(e, t, r) {
|
616
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
616
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = ue;
|
617
617
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
618
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
618
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ue(t, r);
|
619
619
|
}
|
620
620
|
Y.all = function(t, r) {
|
621
621
|
if (!Array.isArray(t))
|
@@ -624,8 +624,8 @@ Y.all = function(t, r) {
|
|
624
624
|
return Y(n, i, r);
|
625
625
|
}, {});
|
626
626
|
};
|
627
|
-
var
|
628
|
-
const
|
627
|
+
var On = Y, Ln = On;
|
628
|
+
const In = /* @__PURE__ */ vn(Ln);
|
629
629
|
/*! *****************************************************************************
|
630
630
|
Copyright (c) Microsoft Corporation.
|
631
631
|
|
@@ -640,18 +640,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
640
640
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
641
641
|
PERFORMANCE OF THIS SOFTWARE.
|
642
642
|
***************************************************************************** */
|
643
|
-
var
|
644
|
-
return
|
643
|
+
var ke = function(e, t) {
|
644
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
645
645
|
r.__proto__ = n;
|
646
646
|
} || function(r, n) {
|
647
647
|
for (var i in n)
|
648
648
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
649
|
-
},
|
649
|
+
}, ke(e, t);
|
650
650
|
};
|
651
651
|
function F(e, t) {
|
652
652
|
if (typeof t != "function" && t !== null)
|
653
653
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
654
|
-
|
654
|
+
ke(e, t);
|
655
655
|
function r() {
|
656
656
|
this.constructor = e;
|
657
657
|
}
|
@@ -667,7 +667,7 @@ var _ = function() {
|
|
667
667
|
return t;
|
668
668
|
}, _.apply(this, arguments);
|
669
669
|
};
|
670
|
-
function
|
670
|
+
function Nn(e, t) {
|
671
671
|
var r = {};
|
672
672
|
for (var n in e)
|
673
673
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -676,7 +676,7 @@ function Gn(e, t) {
|
|
676
676
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
677
677
|
return r;
|
678
678
|
}
|
679
|
-
function
|
679
|
+
function Ve(e) {
|
680
680
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
681
681
|
if (r)
|
682
682
|
return r.call(e);
|
@@ -688,7 +688,7 @@ function Xe(e) {
|
|
688
688
|
};
|
689
689
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
690
690
|
}
|
691
|
-
function
|
691
|
+
function Xe(e, t) {
|
692
692
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
693
693
|
if (!r)
|
694
694
|
return e;
|
@@ -715,55 +715,53 @@ function J(e, t, r) {
|
|
715
715
|
return e.concat(o || t);
|
716
716
|
}
|
717
717
|
function Me(e, t) {
|
718
|
-
var r = t && t.cache ? t.cache :
|
718
|
+
var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : $n;
|
719
719
|
return i(e, {
|
720
720
|
cache: r,
|
721
721
|
serializer: n
|
722
722
|
});
|
723
723
|
}
|
724
|
-
function
|
724
|
+
function Mn(e) {
|
725
725
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
726
726
|
}
|
727
|
-
function
|
728
|
-
var i =
|
727
|
+
function Rn(e, t, r, n) {
|
728
|
+
var i = Mn(n) ? n : r(n), o = t.get(i);
|
729
729
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
730
730
|
}
|
731
|
-
function
|
731
|
+
function tr(e, t, r) {
|
732
732
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
733
733
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
734
734
|
}
|
735
|
-
function
|
735
|
+
function rr(e, t, r, n, i) {
|
736
736
|
return r.bind(t, e, n, i);
|
737
737
|
}
|
738
|
-
function
|
739
|
-
var r = e.length === 1 ?
|
740
|
-
return
|
741
|
-
}
|
742
|
-
function Fn(e, t) {
|
743
|
-
return ot(e, this, or, t.cache.create(), t.serializer);
|
738
|
+
function $n(e, t) {
|
739
|
+
var r = e.length === 1 ? Rn : tr;
|
740
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
744
741
|
}
|
745
|
-
function
|
746
|
-
return
|
742
|
+
function Gn(e, t) {
|
743
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
747
744
|
}
|
748
|
-
var
|
745
|
+
var Un = function() {
|
749
746
|
return JSON.stringify(arguments);
|
750
|
-
}
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
747
|
+
}, Dn = (
|
748
|
+
/** @class */
|
749
|
+
function() {
|
750
|
+
function e() {
|
751
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
752
|
+
}
|
753
|
+
return e.prototype.get = function(t) {
|
754
|
+
return this.cache[t];
|
755
|
+
}, e.prototype.set = function(t, r) {
|
756
|
+
this.cache[t] = r;
|
757
|
+
}, e;
|
758
|
+
}()
|
759
|
+
), Fn = {
|
761
760
|
create: function() {
|
762
|
-
return new
|
761
|
+
return new Dn();
|
763
762
|
}
|
764
763
|
}, Re = {
|
765
|
-
variadic:
|
766
|
-
monadic: jn
|
764
|
+
variadic: Gn
|
767
765
|
}, v;
|
768
766
|
(function(e) {
|
769
767
|
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";
|
@@ -776,43 +774,43 @@ var K;
|
|
776
774
|
(function(e) {
|
777
775
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
778
776
|
})(K || (K = {}));
|
779
|
-
function
|
777
|
+
function Et(e) {
|
780
778
|
return e.type === w.literal;
|
781
779
|
}
|
782
|
-
function
|
780
|
+
function jn(e) {
|
783
781
|
return e.type === w.argument;
|
784
782
|
}
|
785
|
-
function
|
783
|
+
function nr(e) {
|
786
784
|
return e.type === w.number;
|
787
785
|
}
|
788
|
-
function
|
786
|
+
function ir(e) {
|
789
787
|
return e.type === w.date;
|
790
788
|
}
|
791
|
-
function
|
789
|
+
function or(e) {
|
792
790
|
return e.type === w.time;
|
793
791
|
}
|
794
|
-
function
|
792
|
+
function sr(e) {
|
795
793
|
return e.type === w.select;
|
796
794
|
}
|
797
|
-
function
|
795
|
+
function ar(e) {
|
798
796
|
return e.type === w.plural;
|
799
797
|
}
|
800
|
-
function
|
798
|
+
function kn(e) {
|
801
799
|
return e.type === w.pound;
|
802
800
|
}
|
803
|
-
function
|
801
|
+
function lr(e) {
|
804
802
|
return e.type === w.tag;
|
805
803
|
}
|
806
|
-
function
|
804
|
+
function ur(e) {
|
807
805
|
return !!(e && typeof e == "object" && e.type === K.number);
|
808
806
|
}
|
809
|
-
function
|
807
|
+
function We(e) {
|
810
808
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
811
809
|
}
|
812
|
-
var
|
813
|
-
function
|
810
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
|
811
|
+
function Xn(e) {
|
814
812
|
var t = {};
|
815
|
-
return e.replace(
|
813
|
+
return e.replace(Vn, function(r) {
|
816
814
|
var n = r.length;
|
817
815
|
switch (r[0]) {
|
818
816
|
case "G":
|
@@ -901,11 +899,11 @@ function Zn(e) {
|
|
901
899
|
return "";
|
902
900
|
}), t;
|
903
901
|
}
|
904
|
-
var
|
905
|
-
function
|
902
|
+
var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
903
|
+
function zn(e) {
|
906
904
|
if (e.length === 0)
|
907
905
|
throw new Error("Number skeleton cannot be empty");
|
908
|
-
for (var t = e.split(
|
906
|
+
for (var t = e.split(Wn).filter(function(c) {
|
909
907
|
return c.length > 0;
|
910
908
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
911
909
|
var o = i[n], s = o.split("/");
|
@@ -920,17 +918,17 @@ function qn(e) {
|
|
920
918
|
}
|
921
919
|
return r;
|
922
920
|
}
|
923
|
-
function
|
921
|
+
function Zn(e) {
|
924
922
|
return e.replace(/^(.*?)-/, "");
|
925
923
|
}
|
926
|
-
var
|
927
|
-
function
|
924
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
925
|
+
function wt(e) {
|
928
926
|
var t = {};
|
929
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
927
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
930
928
|
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)), "";
|
931
929
|
}), t;
|
932
930
|
}
|
933
|
-
function
|
931
|
+
function dr(e) {
|
934
932
|
switch (e) {
|
935
933
|
case "sign-auto":
|
936
934
|
return {
|
@@ -970,7 +968,7 @@ function br(e) {
|
|
970
968
|
};
|
971
969
|
}
|
972
970
|
}
|
973
|
-
function
|
971
|
+
function qn(e) {
|
974
972
|
var t;
|
975
973
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
976
974
|
notation: "engineering"
|
@@ -978,17 +976,17 @@ function Kn(e) {
|
|
978
976
|
notation: "scientific"
|
979
977
|
}, e = e.slice(1)), t) {
|
980
978
|
var r = e.slice(0, 2);
|
981
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
979
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
982
980
|
throw new Error("Malformed concise eng/scientific notation");
|
983
981
|
t.minimumIntegerDigits = e.length;
|
984
982
|
}
|
985
983
|
return t;
|
986
984
|
}
|
987
|
-
function
|
988
|
-
var t = {}, r =
|
985
|
+
function Tt(e) {
|
986
|
+
var t = {}, r = dr(e);
|
989
987
|
return r || t;
|
990
988
|
}
|
991
|
-
function
|
989
|
+
function Jn(e) {
|
992
990
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
993
991
|
var i = n[r];
|
994
992
|
switch (i.stem) {
|
@@ -1012,7 +1010,7 @@ function ei(e) {
|
|
1012
1010
|
continue;
|
1013
1011
|
case "measure-unit":
|
1014
1012
|
case "unit":
|
1015
|
-
t.style = "unit", t.unit =
|
1013
|
+
t.style = "unit", t.unit = Zn(i.options[0]);
|
1016
1014
|
continue;
|
1017
1015
|
case "compact-short":
|
1018
1016
|
case "K":
|
@@ -1024,12 +1022,12 @@ function ei(e) {
|
|
1024
1022
|
continue;
|
1025
1023
|
case "scientific":
|
1026
1024
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1027
|
-
return _(_({}, h),
|
1025
|
+
return _(_({}, h), Tt(u));
|
1028
1026
|
}, {}));
|
1029
1027
|
continue;
|
1030
1028
|
case "engineering":
|
1031
1029
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1032
|
-
return _(_({}, h),
|
1030
|
+
return _(_({}, h), Tt(u));
|
1033
1031
|
}, {}));
|
1034
1032
|
continue;
|
1035
1033
|
case "notation-simple":
|
@@ -1074,7 +1072,7 @@ function ei(e) {
|
|
1074
1072
|
case "integer-width":
|
1075
1073
|
if (i.options.length > 1)
|
1076
1074
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1077
|
-
i.options[0].replace(
|
1075
|
+
i.options[0].replace(Qn, function(h, u, l, f, c, d) {
|
1078
1076
|
if (u)
|
1079
1077
|
t.minimumIntegerDigits = l.length;
|
1080
1078
|
else {
|
@@ -1087,27 +1085,27 @@ function ei(e) {
|
|
1087
1085
|
});
|
1088
1086
|
continue;
|
1089
1087
|
}
|
1090
|
-
if (
|
1088
|
+
if (fr.test(i.stem)) {
|
1091
1089
|
t.minimumIntegerDigits = i.stem.length;
|
1092
1090
|
continue;
|
1093
1091
|
}
|
1094
|
-
if (
|
1092
|
+
if (St.test(i.stem)) {
|
1095
1093
|
if (i.options.length > 1)
|
1096
1094
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1097
|
-
i.stem.replace(
|
1095
|
+
i.stem.replace(St, function(h, u, l, f, c, d) {
|
1098
1096
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1099
1097
|
});
|
1100
1098
|
var o = i.options[0];
|
1101
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1099
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
|
1102
1100
|
continue;
|
1103
1101
|
}
|
1104
|
-
if (
|
1105
|
-
t = _(_({}, t),
|
1102
|
+
if (cr.test(i.stem)) {
|
1103
|
+
t = _(_({}, t), wt(i.stem));
|
1106
1104
|
continue;
|
1107
1105
|
}
|
1108
|
-
var s =
|
1106
|
+
var s = dr(i.stem);
|
1109
1107
|
s && (t = _(_({}, t), s));
|
1110
|
-
var a =
|
1108
|
+
var a = qn(i.stem);
|
1111
1109
|
a && (t = _(_({}, t), a));
|
1112
1110
|
}
|
1113
1111
|
return t;
|
@@ -2527,13 +2525,13 @@ var de = {
|
|
2527
2525
|
"h"
|
2528
2526
|
]
|
2529
2527
|
};
|
2530
|
-
function
|
2528
|
+
function Yn(e, t) {
|
2531
2529
|
for (var r = "", n = 0; n < e.length; n++) {
|
2532
2530
|
var i = e.charAt(n);
|
2533
2531
|
if (i === "j") {
|
2534
2532
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2535
2533
|
o++, n++;
|
2536
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
2534
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Kn(t);
|
2537
2535
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2538
2536
|
r += h;
|
2539
2537
|
for (; s-- > 0; )
|
@@ -2543,7 +2541,7 @@ function ti(e, t) {
|
|
2543
2541
|
}
|
2544
2542
|
return r;
|
2545
2543
|
}
|
2546
|
-
function
|
2544
|
+
function Kn(e) {
|
2547
2545
|
var t = e.hourCycle;
|
2548
2546
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2549
2547
|
e.hourCycles && // @ts-ignore
|
@@ -2565,20 +2563,20 @@ function ri(e) {
|
|
2565
2563
|
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
2566
2564
|
return i[0];
|
2567
2565
|
}
|
2568
|
-
var $e,
|
2566
|
+
var $e, ei = new RegExp("^".concat(hr.source, "*")), ti = new RegExp("".concat(hr.source, "*$"));
|
2569
2567
|
function y(e, t) {
|
2570
2568
|
return { start: e, end: t };
|
2571
2569
|
}
|
2572
|
-
var
|
2570
|
+
var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ui = li ? Number.isSafeInteger : function(e) {
|
2573
2571
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2574
|
-
},
|
2572
|
+
}, ze = !0;
|
2575
2573
|
try {
|
2576
|
-
var
|
2577
|
-
|
2574
|
+
var hi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2575
|
+
ze = (($e = hi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
2578
2576
|
} catch (e) {
|
2579
|
-
|
2577
|
+
ze = !1;
|
2580
2578
|
}
|
2581
|
-
var
|
2579
|
+
var Ht = ri ? (
|
2582
2580
|
// Native
|
2583
2581
|
function(t, r, n) {
|
2584
2582
|
return t.startsWith(r, n);
|
@@ -2588,7 +2586,7 @@ var Bt = oi ? (
|
|
2588
2586
|
function(t, r, n) {
|
2589
2587
|
return t.slice(n, n + r.length) === r;
|
2590
2588
|
}
|
2591
|
-
),
|
2589
|
+
), Ze = ni ? String.fromCodePoint : (
|
2592
2590
|
// IE11
|
2593
2591
|
function() {
|
2594
2592
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2600,9 +2598,9 @@ var Bt = oi ? (
|
|
2600
2598
|
}
|
2601
2599
|
return n;
|
2602
2600
|
}
|
2603
|
-
),
|
2601
|
+
), Ct = (
|
2604
2602
|
// native
|
2605
|
-
|
2603
|
+
ii ? Object.fromEntries : (
|
2606
2604
|
// Ponyfill
|
2607
2605
|
function(t) {
|
2608
2606
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2612,7 +2610,7 @@ var Bt = oi ? (
|
|
2612
2610
|
return r;
|
2613
2611
|
}
|
2614
2612
|
)
|
2615
|
-
),
|
2613
|
+
), pr = oi ? (
|
2616
2614
|
// Native
|
2617
2615
|
function(t, r) {
|
2618
2616
|
return t.codePointAt(r);
|
@@ -2626,7 +2624,7 @@ var Bt = oi ? (
|
|
2626
2624
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2627
2625
|
}
|
2628
2626
|
}
|
2629
|
-
),
|
2627
|
+
), ci = si ? (
|
2630
2628
|
// Native
|
2631
2629
|
function(t) {
|
2632
2630
|
return t.trimStart();
|
@@ -2634,9 +2632,9 @@ var Bt = oi ? (
|
|
2634
2632
|
) : (
|
2635
2633
|
// Ponyfill
|
2636
2634
|
function(t) {
|
2637
|
-
return t.replace(
|
2635
|
+
return t.replace(ei, "");
|
2638
2636
|
}
|
2639
|
-
),
|
2637
|
+
), fi = ai ? (
|
2640
2638
|
// Native
|
2641
2639
|
function(t) {
|
2642
2640
|
return t.trimEnd();
|
@@ -2644,32 +2642,32 @@ var Bt = oi ? (
|
|
2644
2642
|
) : (
|
2645
2643
|
// Ponyfill
|
2646
2644
|
function(t) {
|
2647
|
-
return t.replace(
|
2645
|
+
return t.replace(ti, "");
|
2648
2646
|
}
|
2649
2647
|
);
|
2650
|
-
function
|
2648
|
+
function mr(e, t) {
|
2651
2649
|
return new RegExp(e, t);
|
2652
2650
|
}
|
2653
|
-
var
|
2654
|
-
if (
|
2655
|
-
var
|
2656
|
-
|
2651
|
+
var Qe;
|
2652
|
+
if (ze) {
|
2653
|
+
var Pt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2654
|
+
Qe = function(t, r) {
|
2657
2655
|
var n;
|
2658
|
-
|
2659
|
-
var i =
|
2656
|
+
Pt.lastIndex = r;
|
2657
|
+
var i = Pt.exec(t);
|
2660
2658
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2661
2659
|
};
|
2662
2660
|
} else
|
2663
|
-
|
2661
|
+
Qe = function(t, r) {
|
2664
2662
|
for (var n = []; ; ) {
|
2665
|
-
var i =
|
2666
|
-
if (i === void 0 ||
|
2663
|
+
var i = pr(t, r);
|
2664
|
+
if (i === void 0 || br(i) || bi(i))
|
2667
2665
|
break;
|
2668
2666
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2669
2667
|
}
|
2670
|
-
return
|
2668
|
+
return Ze.apply(void 0, n);
|
2671
2669
|
};
|
2672
|
-
var
|
2670
|
+
var di = (
|
2673
2671
|
/** @class */
|
2674
2672
|
function() {
|
2675
2673
|
function e(t, r) {
|
@@ -2700,7 +2698,7 @@ var bi = (
|
|
2700
2698
|
if (n)
|
2701
2699
|
break;
|
2702
2700
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2703
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2701
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
2704
2702
|
var s = this.parseTag(t, r);
|
2705
2703
|
if (s.err)
|
2706
2704
|
return s;
|
@@ -2733,7 +2731,7 @@ var bi = (
|
|
2733
2731
|
return o;
|
2734
2732
|
var s = o.val, a = this.clonePosition();
|
2735
2733
|
if (this.bumpIf("</")) {
|
2736
|
-
if (this.isEOF() || !
|
2734
|
+
if (this.isEOF() || !qe(this.char()))
|
2737
2735
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2738
2736
|
var h = this.clonePosition(), u = this.parseTagName();
|
2739
2737
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2751,7 +2749,7 @@ var bi = (
|
|
2751
2749
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2752
2750
|
}, e.prototype.parseTagName = function() {
|
2753
2751
|
var t = this.offset();
|
2754
|
-
for (this.bump(); !this.isEOF() &&
|
2752
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
2755
2753
|
this.bump();
|
2756
2754
|
return this.message.slice(t, this.offset());
|
2757
2755
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2780,7 +2778,7 @@ var bi = (
|
|
2780
2778
|
};
|
2781
2779
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2782
2780
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2783
|
-
!
|
2781
|
+
!pi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2784
2782
|
}, e.prototype.tryParseQuote = function(t) {
|
2785
2783
|
if (this.isEOF() || this.char() !== 39)
|
2786
2784
|
return null;
|
@@ -2814,12 +2812,12 @@ var bi = (
|
|
2814
2812
|
r.push(n);
|
2815
2813
|
this.bump();
|
2816
2814
|
}
|
2817
|
-
return
|
2815
|
+
return Ze.apply(void 0, r);
|
2818
2816
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2819
2817
|
if (this.isEOF())
|
2820
2818
|
return null;
|
2821
2819
|
var n = this.char();
|
2822
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2820
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
2823
2821
|
}, e.prototype.parseArgument = function(t, r) {
|
2824
2822
|
var n = this.clonePosition();
|
2825
2823
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2848,7 +2846,7 @@ var bi = (
|
|
2848
2846
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2849
2847
|
}
|
2850
2848
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2851
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2849
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
2852
2850
|
this.bumpTo(i);
|
2853
2851
|
var o = this.clonePosition(), s = y(t, o);
|
2854
2852
|
return { value: n, location: s };
|
@@ -2867,7 +2865,7 @@ var bi = (
|
|
2867
2865
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2868
2866
|
if (f.err)
|
2869
2867
|
return f;
|
2870
|
-
var c =
|
2868
|
+
var c = fi(f.val);
|
2871
2869
|
if (c.length === 0)
|
2872
2870
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2873
2871
|
var d = y(l, this.clonePosition());
|
@@ -2877,8 +2875,8 @@ var bi = (
|
|
2877
2875
|
if (m.err)
|
2878
2876
|
return m;
|
2879
2877
|
var b = y(i, this.clonePosition());
|
2880
|
-
if (u &&
|
2881
|
-
var g =
|
2878
|
+
if (u && Ht(u == null ? void 0 : u.style, "::", 0)) {
|
2879
|
+
var g = ci(u.style.slice(2));
|
2882
2880
|
if (a === "number") {
|
2883
2881
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2884
2882
|
return f.err ? f : {
|
@@ -2888,13 +2886,13 @@ var bi = (
|
|
2888
2886
|
} else {
|
2889
2887
|
if (g.length === 0)
|
2890
2888
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2891
|
-
var
|
2892
|
-
this.locale && (
|
2889
|
+
var x = g;
|
2890
|
+
this.locale && (x = Yn(g, this.locale));
|
2893
2891
|
var c = {
|
2894
2892
|
type: K.dateTime,
|
2895
|
-
pattern:
|
2893
|
+
pattern: x,
|
2896
2894
|
location: u.styleLocation,
|
2897
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2895
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(x) : {}
|
2898
2896
|
}, S = a === "date" ? w.date : w.time;
|
2899
2897
|
return {
|
2900
2898
|
val: { type: S, value: n, location: b, style: c },
|
@@ -2940,7 +2938,7 @@ var bi = (
|
|
2940
2938
|
val: {
|
2941
2939
|
type: w.select,
|
2942
2940
|
value: n,
|
2943
|
-
options:
|
2941
|
+
options: Ct(k.val),
|
2944
2942
|
location: W
|
2945
2943
|
},
|
2946
2944
|
err: null
|
@@ -2948,7 +2946,7 @@ var bi = (
|
|
2948
2946
|
val: {
|
2949
2947
|
type: w.plural,
|
2950
2948
|
value: n,
|
2951
|
-
options:
|
2949
|
+
options: Ct(k.val),
|
2952
2950
|
offset: O,
|
2953
2951
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2954
2952
|
location: W
|
@@ -2999,7 +2997,7 @@ var bi = (
|
|
2999
2997
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3000
2998
|
var n = [];
|
3001
2999
|
try {
|
3002
|
-
n =
|
3000
|
+
n = zn(t);
|
3003
3001
|
} catch (i) {
|
3004
3002
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3005
3003
|
}
|
@@ -3008,7 +3006,7 @@ var bi = (
|
|
3008
3006
|
type: K.number,
|
3009
3007
|
tokens: n,
|
3010
3008
|
location: r,
|
3011
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3009
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
|
3012
3010
|
},
|
3013
3011
|
err: null
|
3014
3012
|
};
|
@@ -3056,7 +3054,7 @@ var bi = (
|
|
3056
3054
|
break;
|
3057
3055
|
}
|
3058
3056
|
var h = y(i, this.clonePosition());
|
3059
|
-
return o ? (s *= n,
|
3057
|
+
return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3060
3058
|
}, e.prototype.offset = function() {
|
3061
3059
|
return this.position.offset;
|
3062
3060
|
}, e.prototype.isEOF = function() {
|
@@ -3071,7 +3069,7 @@ var bi = (
|
|
3071
3069
|
var t = this.position.offset;
|
3072
3070
|
if (t >= this.message.length)
|
3073
3071
|
throw Error("out of bound");
|
3074
|
-
var r =
|
3072
|
+
var r = pr(this.message, t);
|
3075
3073
|
if (r === void 0)
|
3076
3074
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3077
3075
|
return r;
|
@@ -3090,7 +3088,7 @@ var bi = (
|
|
3090
3088
|
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);
|
3091
3089
|
}
|
3092
3090
|
}, e.prototype.bumpIf = function(t) {
|
3093
|
-
if (
|
3091
|
+
if (Ht(this.message, t, this.offset())) {
|
3094
3092
|
for (var r = 0; r < t.length; r++)
|
3095
3093
|
this.bump();
|
3096
3094
|
return !0;
|
@@ -3112,7 +3110,7 @@ var bi = (
|
|
3112
3110
|
break;
|
3113
3111
|
}
|
3114
3112
|
}, e.prototype.bumpSpace = function() {
|
3115
|
-
for (; !this.isEOF() &&
|
3113
|
+
for (; !this.isEOF() && br(this.char()); )
|
3116
3114
|
this.bump();
|
3117
3115
|
}, e.prototype.peek = function() {
|
3118
3116
|
if (this.isEOF())
|
@@ -3122,38 +3120,38 @@ var bi = (
|
|
3122
3120
|
}, e;
|
3123
3121
|
}()
|
3124
3122
|
);
|
3125
|
-
function
|
3123
|
+
function qe(e) {
|
3126
3124
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3127
3125
|
}
|
3128
|
-
function
|
3129
|
-
return
|
3126
|
+
function pi(e) {
|
3127
|
+
return qe(e) || e === 47;
|
3130
3128
|
}
|
3131
|
-
function
|
3129
|
+
function mi(e) {
|
3132
3130
|
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;
|
3133
3131
|
}
|
3134
|
-
function
|
3132
|
+
function br(e) {
|
3135
3133
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3136
3134
|
}
|
3137
|
-
function
|
3135
|
+
function bi(e) {
|
3138
3136
|
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;
|
3139
3137
|
}
|
3140
|
-
function
|
3138
|
+
function Je(e) {
|
3141
3139
|
e.forEach(function(t) {
|
3142
|
-
if (delete t.location,
|
3140
|
+
if (delete t.location, sr(t) || ar(t))
|
3143
3141
|
for (var r in t.options)
|
3144
|
-
delete t.options[r].location,
|
3142
|
+
delete t.options[r].location, Je(t.options[r].value);
|
3145
3143
|
else
|
3146
|
-
|
3144
|
+
nr(t) && ur(t.style) || (ir(t) || or(t)) && We(t.style) ? delete t.style.location : lr(t) && Je(t.children);
|
3147
3145
|
});
|
3148
3146
|
}
|
3149
|
-
function
|
3147
|
+
function gi(e, t) {
|
3150
3148
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3151
|
-
var r = new
|
3149
|
+
var r = new di(e, t).parse();
|
3152
3150
|
if (r.err) {
|
3153
3151
|
var n = SyntaxError(v[r.err.kind]);
|
3154
3152
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3155
3153
|
}
|
3156
|
-
return t != null && t.captureLocation ||
|
3154
|
+
return t != null && t.captureLocation || Je(r.val), r.val;
|
3157
3155
|
}
|
3158
3156
|
var ee;
|
3159
3157
|
(function(e) {
|
@@ -3171,7 +3169,7 @@ var Ce = (
|
|
3171
3169
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3172
3170
|
}, t;
|
3173
3171
|
}(Error)
|
3174
|
-
),
|
3172
|
+
), Bt = (
|
3175
3173
|
/** @class */
|
3176
3174
|
function(e) {
|
3177
3175
|
F(t, e);
|
@@ -3180,7 +3178,7 @@ var Ce = (
|
|
3180
3178
|
}
|
3181
3179
|
return t;
|
3182
3180
|
}(Ce)
|
3183
|
-
),
|
3181
|
+
), vi = (
|
3184
3182
|
/** @class */
|
3185
3183
|
function(e) {
|
3186
3184
|
F(t, e);
|
@@ -3189,7 +3187,7 @@ var Ce = (
|
|
3189
3187
|
}
|
3190
3188
|
return t;
|
3191
3189
|
}(Ce)
|
3192
|
-
),
|
3190
|
+
), yi = (
|
3193
3191
|
/** @class */
|
3194
3192
|
function(e) {
|
3195
3193
|
F(t, e);
|
@@ -3202,17 +3200,17 @@ var Ce = (
|
|
3202
3200
|
(function(e) {
|
3203
3201
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3204
3202
|
})(A || (A = {}));
|
3205
|
-
function
|
3203
|
+
function _i(e) {
|
3206
3204
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3207
3205
|
var n = t[t.length - 1];
|
3208
3206
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3209
3207
|
}, []);
|
3210
3208
|
}
|
3211
|
-
function
|
3209
|
+
function xi(e) {
|
3212
3210
|
return typeof e == "function";
|
3213
3211
|
}
|
3214
3212
|
function be(e, t, r, n, i, o, s) {
|
3215
|
-
if (e.length === 1 &&
|
3213
|
+
if (e.length === 1 && Et(e[0]))
|
3216
3214
|
return [
|
3217
3215
|
{
|
3218
3216
|
type: A.literal,
|
@@ -3221,14 +3219,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3221
3219
|
];
|
3222
3220
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3223
3221
|
var l = u[h];
|
3224
|
-
if (
|
3222
|
+
if (Et(l)) {
|
3225
3223
|
a.push({
|
3226
3224
|
type: A.literal,
|
3227
3225
|
value: l.value
|
3228
3226
|
});
|
3229
3227
|
continue;
|
3230
3228
|
}
|
3231
|
-
if (
|
3229
|
+
if (kn(l)) {
|
3232
3230
|
typeof o == "number" && a.push({
|
3233
3231
|
type: A.literal,
|
3234
3232
|
value: r.getNumberFormat(t).format(o)
|
@@ -3237,44 +3235,44 @@ function be(e, t, r, n, i, o, s) {
|
|
3237
3235
|
}
|
3238
3236
|
var f = l.value;
|
3239
3237
|
if (!(i && f in i))
|
3240
|
-
throw new
|
3238
|
+
throw new yi(f, s);
|
3241
3239
|
var c = i[f];
|
3242
|
-
if (
|
3240
|
+
if (jn(l)) {
|
3243
3241
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3244
3242
|
type: typeof c == "string" ? A.literal : A.object,
|
3245
3243
|
value: c
|
3246
3244
|
});
|
3247
3245
|
continue;
|
3248
3246
|
}
|
3249
|
-
if (
|
3250
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3247
|
+
if (ir(l)) {
|
3248
|
+
var d = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
|
3251
3249
|
a.push({
|
3252
3250
|
type: A.literal,
|
3253
3251
|
value: r.getDateTimeFormat(t, d).format(c)
|
3254
3252
|
});
|
3255
3253
|
continue;
|
3256
3254
|
}
|
3257
|
-
if (
|
3258
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3255
|
+
if (or(l)) {
|
3256
|
+
var d = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
|
3259
3257
|
a.push({
|
3260
3258
|
type: A.literal,
|
3261
3259
|
value: r.getDateTimeFormat(t, d).format(c)
|
3262
3260
|
});
|
3263
3261
|
continue;
|
3264
3262
|
}
|
3265
|
-
if (
|
3266
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3263
|
+
if (nr(l)) {
|
3264
|
+
var d = typeof l.style == "string" ? n.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
|
3267
3265
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3268
3266
|
type: A.literal,
|
3269
3267
|
value: r.getNumberFormat(t, d).format(c)
|
3270
3268
|
});
|
3271
3269
|
continue;
|
3272
3270
|
}
|
3273
|
-
if (
|
3271
|
+
if (lr(l)) {
|
3274
3272
|
var m = l.children, b = l.value, g = i[b];
|
3275
|
-
if (!
|
3276
|
-
throw new
|
3277
|
-
var
|
3273
|
+
if (!xi(g))
|
3274
|
+
throw new vi(b, "function", s);
|
3275
|
+
var x = be(m, t, r, n, i, o), S = g(x.map(function(O) {
|
3278
3276
|
return O.value;
|
3279
3277
|
}));
|
3280
3278
|
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(O) {
|
@@ -3284,14 +3282,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3284
3282
|
};
|
3285
3283
|
}));
|
3286
3284
|
}
|
3287
|
-
if (
|
3285
|
+
if (sr(l)) {
|
3288
3286
|
var T = l.options[c] || l.options.other;
|
3289
3287
|
if (!T)
|
3290
|
-
throw new
|
3288
|
+
throw new Bt(l.value, c, Object.keys(l.options), s);
|
3291
3289
|
a.push.apply(a, be(T.value, t, r, n, i));
|
3292
3290
|
continue;
|
3293
3291
|
}
|
3294
|
-
if (
|
3292
|
+
if (ar(l)) {
|
3295
3293
|
var T = l.options["=".concat(c)];
|
3296
3294
|
if (!T) {
|
3297
3295
|
if (!Intl.PluralRules)
|
@@ -3302,21 +3300,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3302
3300
|
T = l.options[H] || l.options.other;
|
3303
3301
|
}
|
3304
3302
|
if (!T)
|
3305
|
-
throw new
|
3303
|
+
throw new Bt(l.value, c, Object.keys(l.options), s);
|
3306
3304
|
a.push.apply(a, be(T.value, t, r, n, i, c - (l.offset || 0)));
|
3307
3305
|
continue;
|
3308
3306
|
}
|
3309
3307
|
}
|
3310
|
-
return
|
3308
|
+
return _i(a);
|
3311
3309
|
}
|
3312
|
-
function
|
3310
|
+
function Ei(e, t) {
|
3313
3311
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3314
3312
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3315
3313
|
}, {})) : e;
|
3316
3314
|
}
|
3317
|
-
function
|
3315
|
+
function Si(e, t) {
|
3318
3316
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3319
|
-
return r[n] =
|
3317
|
+
return r[n] = Ei(e[n], t[n]), r;
|
3320
3318
|
}, _({}, e)) : e;
|
3321
3319
|
}
|
3322
3320
|
function Ge(e) {
|
@@ -3333,7 +3331,7 @@ function Ge(e) {
|
|
3333
3331
|
}
|
3334
3332
|
};
|
3335
3333
|
}
|
3336
|
-
function
|
3334
|
+
function wi(e) {
|
3337
3335
|
return e === void 0 && (e = {
|
3338
3336
|
number: {},
|
3339
3337
|
dateTime: {},
|
@@ -3365,7 +3363,7 @@ function Ci(e) {
|
|
3365
3363
|
})
|
3366
3364
|
};
|
3367
3365
|
}
|
3368
|
-
var
|
3366
|
+
var Ti = (
|
3369
3367
|
/** @class */
|
3370
3368
|
function() {
|
3371
3369
|
function e(t, r, n, i) {
|
@@ -3397,13 +3395,13 @@ var Pi = (
|
|
3397
3395
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3398
3396
|
var s = i || {};
|
3399
3397
|
s.formatters;
|
3400
|
-
var a =
|
3398
|
+
var a = Nn(s, ["formatters"]);
|
3401
3399
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3402
3400
|
} else
|
3403
3401
|
this.ast = t;
|
3404
3402
|
if (!Array.isArray(this.ast))
|
3405
3403
|
throw new TypeError("A message must be provided as a String or AST.");
|
3406
|
-
this.formats =
|
3404
|
+
this.formats = Si(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
|
3407
3405
|
}
|
3408
3406
|
return Object.defineProperty(e, "defaultLocale", {
|
3409
3407
|
get: function() {
|
@@ -3416,7 +3414,7 @@ var Pi = (
|
|
3416
3414
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3417
3415
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3418
3416
|
}
|
3419
|
-
}, e.__parse =
|
3417
|
+
}, e.__parse = gi, e.formats = {
|
3420
3418
|
number: {
|
3421
3419
|
integer: {
|
3422
3420
|
maximumFractionDigits: 0
|
@@ -3477,7 +3475,7 @@ var Pi = (
|
|
3477
3475
|
}, e;
|
3478
3476
|
}()
|
3479
3477
|
);
|
3480
|
-
function
|
3478
|
+
function Hi(e, t) {
|
3481
3479
|
if (t == null)
|
3482
3480
|
return;
|
3483
3481
|
if (t in e)
|
@@ -3498,92 +3496,92 @@ function Bi(e, t) {
|
|
3498
3496
|
n = void 0;
|
3499
3497
|
return n;
|
3500
3498
|
}
|
3501
|
-
const j = {},
|
3499
|
+
const j = {}, Ci = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), gr = (e, t) => {
|
3502
3500
|
if (t == null)
|
3503
3501
|
return;
|
3504
3502
|
if (t in j && e in j[t])
|
3505
3503
|
return j[t][e];
|
3506
3504
|
const r = Pe(t);
|
3507
3505
|
for (let n = 0; n < r.length; n++) {
|
3508
|
-
const i = r[n], o =
|
3506
|
+
const i = r[n], o = Bi(i, e);
|
3509
3507
|
if (o)
|
3510
|
-
return
|
3508
|
+
return Ci(e, t, o);
|
3511
3509
|
}
|
3512
3510
|
};
|
3513
|
-
let
|
3511
|
+
let it;
|
3514
3512
|
const ce = He({});
|
3515
|
-
function
|
3516
|
-
return
|
3513
|
+
function Pi(e) {
|
3514
|
+
return it[e] || null;
|
3517
3515
|
}
|
3518
|
-
function
|
3519
|
-
return e in
|
3516
|
+
function vr(e) {
|
3517
|
+
return e in it;
|
3520
3518
|
}
|
3521
|
-
function
|
3522
|
-
if (!
|
3519
|
+
function Bi(e, t) {
|
3520
|
+
if (!vr(e))
|
3523
3521
|
return null;
|
3524
|
-
const r =
|
3525
|
-
return
|
3522
|
+
const r = Pi(e);
|
3523
|
+
return Hi(r, t);
|
3526
3524
|
}
|
3527
|
-
function
|
3525
|
+
function Ai(e) {
|
3528
3526
|
if (e == null)
|
3529
3527
|
return;
|
3530
3528
|
const t = Pe(e);
|
3531
3529
|
for (let r = 0; r < t.length; r++) {
|
3532
3530
|
const n = t[r];
|
3533
|
-
if (
|
3531
|
+
if (vr(n))
|
3534
3532
|
return n;
|
3535
3533
|
}
|
3536
3534
|
}
|
3537
|
-
function
|
3538
|
-
delete j[e], ce.update((r) => (r[e] =
|
3535
|
+
function yr(e, ...t) {
|
3536
|
+
delete j[e], ce.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
|
3539
3537
|
}
|
3540
3538
|
ne(
|
3541
3539
|
[ce],
|
3542
3540
|
([e]) => Object.keys(e)
|
3543
3541
|
);
|
3544
|
-
ce.subscribe((e) =>
|
3542
|
+
ce.subscribe((e) => it = e);
|
3545
3543
|
const ge = {};
|
3546
|
-
function
|
3544
|
+
function Oi(e, t) {
|
3547
3545
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
3548
3546
|
}
|
3549
|
-
function
|
3547
|
+
function _r(e) {
|
3550
3548
|
return ge[e];
|
3551
3549
|
}
|
3552
|
-
function
|
3550
|
+
function Li(e) {
|
3553
3551
|
return Pe(e).map((t) => {
|
3554
|
-
const r =
|
3552
|
+
const r = _r(t);
|
3555
3553
|
return [t, r ? [...r] : []];
|
3556
3554
|
}).filter(([, t]) => t.length > 0);
|
3557
3555
|
}
|
3558
|
-
function
|
3556
|
+
function Ye(e) {
|
3559
3557
|
return e == null ? !1 : Pe(e).some(
|
3560
3558
|
(t) => {
|
3561
3559
|
var r;
|
3562
|
-
return (r =
|
3560
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
3563
3561
|
}
|
3564
3562
|
);
|
3565
3563
|
}
|
3566
|
-
function
|
3564
|
+
function Ii(e, t) {
|
3567
3565
|
return Promise.all(
|
3568
|
-
t.map((n) => (
|
3569
|
-
).then((n) =>
|
3566
|
+
t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
|
3567
|
+
).then((n) => yr(e, ...n));
|
3570
3568
|
}
|
3571
3569
|
const se = {};
|
3572
|
-
function
|
3573
|
-
if (!
|
3570
|
+
function xr(e) {
|
3571
|
+
if (!Ye(e))
|
3574
3572
|
return e in se ? se[e] : Promise.resolve();
|
3575
|
-
const t =
|
3573
|
+
const t = Li(e);
|
3576
3574
|
return se[e] = Promise.all(
|
3577
3575
|
t.map(
|
3578
|
-
([r, n]) =>
|
3576
|
+
([r, n]) => Ii(r, n)
|
3579
3577
|
)
|
3580
3578
|
).then(() => {
|
3581
|
-
if (
|
3582
|
-
return
|
3579
|
+
if (Ye(e))
|
3580
|
+
return xr(e);
|
3583
3581
|
delete se[e];
|
3584
3582
|
}), se[e];
|
3585
3583
|
}
|
3586
|
-
const
|
3584
|
+
const Ni = {
|
3587
3585
|
number: {
|
3588
3586
|
scientific: { notation: "scientific" },
|
3589
3587
|
engineering: { notation: "engineering" },
|
@@ -3612,57 +3610,57 @@ const $i = {
|
|
3612
3610
|
timeZoneName: "short"
|
3613
3611
|
}
|
3614
3612
|
}
|
3615
|
-
},
|
3613
|
+
}, Mi = {
|
3616
3614
|
fallbackLocale: null,
|
3617
3615
|
loadingDelay: 200,
|
3618
|
-
formats:
|
3616
|
+
formats: Ni,
|
3619
3617
|
warnOnMissingMessages: !0,
|
3620
3618
|
handleMissingMessage: void 0,
|
3621
3619
|
ignoreTag: !0
|
3622
|
-
},
|
3620
|
+
}, Ri = Mi;
|
3623
3621
|
function te() {
|
3624
|
-
return
|
3622
|
+
return Ri;
|
3625
3623
|
}
|
3626
3624
|
const Ue = He(!1);
|
3627
|
-
var
|
3625
|
+
var $i = Object.defineProperty, Gi = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ji = (e, t) => {
|
3628
3626
|
for (var r in t || (t = {}))
|
3629
|
-
|
3630
|
-
if (
|
3631
|
-
for (var r of
|
3632
|
-
|
3627
|
+
Di.call(t, r) && Ot(e, r, t[r]);
|
3628
|
+
if (At)
|
3629
|
+
for (var r of At(t))
|
3630
|
+
Fi.call(t, r) && Ot(e, r, t[r]);
|
3633
3631
|
return e;
|
3634
|
-
},
|
3635
|
-
let
|
3632
|
+
}, ki = (e, t) => Gi(e, Ui(t));
|
3633
|
+
let Ke;
|
3636
3634
|
const Se = He(null);
|
3637
|
-
function
|
3635
|
+
function Lt(e) {
|
3638
3636
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3639
3637
|
}
|
3640
3638
|
function Pe(e, t = te().fallbackLocale) {
|
3641
|
-
const r =
|
3642
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3639
|
+
const r = Lt(e);
|
3640
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
3643
3641
|
}
|
3644
3642
|
function X() {
|
3645
|
-
return
|
3643
|
+
return Ke != null ? Ke : void 0;
|
3646
3644
|
}
|
3647
3645
|
Se.subscribe((e) => {
|
3648
|
-
|
3646
|
+
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3649
3647
|
});
|
3650
|
-
const
|
3651
|
-
if (e &&
|
3648
|
+
const Vi = (e) => {
|
3649
|
+
if (e && Ai(e) && Ye(e)) {
|
3652
3650
|
const { loadingDelay: t } = te();
|
3653
3651
|
let r;
|
3654
3652
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
3655
3653
|
() => Ue.set(!0),
|
3656
3654
|
t
|
3657
|
-
) : Ue.set(!0),
|
3655
|
+
) : Ue.set(!0), xr(e).then(() => {
|
3658
3656
|
Se.set(e);
|
3659
3657
|
}).finally(() => {
|
3660
3658
|
clearTimeout(r), Ue.set(!1);
|
3661
3659
|
});
|
3662
3660
|
}
|
3663
3661
|
return Se.set(e);
|
3664
|
-
}, ie =
|
3665
|
-
set:
|
3662
|
+
}, ie = ki(ji({}, Se), {
|
3663
|
+
set: Vi
|
3666
3664
|
}), Be = (e) => {
|
3667
3665
|
const t = /* @__PURE__ */ Object.create(null);
|
3668
3666
|
return (n) => {
|
@@ -3670,20 +3668,20 @@ const zi = (e) => {
|
|
3670
3668
|
return i in t ? t[i] : t[i] = e(n);
|
3671
3669
|
};
|
3672
3670
|
};
|
3673
|
-
var
|
3671
|
+
var Xi = Object.defineProperty, we = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
3674
3672
|
for (var r in t || (t = {}))
|
3675
|
-
|
3673
|
+
Er.call(t, r) && It(e, r, t[r]);
|
3676
3674
|
if (we)
|
3677
3675
|
for (var r of we(t))
|
3678
|
-
|
3676
|
+
Sr.call(t, r) && It(e, r, t[r]);
|
3679
3677
|
return e;
|
3680
3678
|
}, oe = (e, t) => {
|
3681
3679
|
var r = {};
|
3682
3680
|
for (var n in e)
|
3683
|
-
|
3681
|
+
Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3684
3682
|
if (e != null && we)
|
3685
3683
|
for (var n of we(e))
|
3686
|
-
t.indexOf(n) < 0 &&
|
3684
|
+
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
3687
3685
|
return r;
|
3688
3686
|
};
|
3689
3687
|
const he = (e, t) => {
|
@@ -3691,21 +3689,21 @@ const he = (e, t) => {
|
|
3691
3689
|
if (e in r && t in r[e])
|
3692
3690
|
return r[e][t];
|
3693
3691
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3694
|
-
},
|
3692
|
+
}, Wi = Be(
|
3695
3693
|
(e) => {
|
3696
3694
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3697
3695
|
if (r == null)
|
3698
3696
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3699
3697
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3700
3698
|
}
|
3701
|
-
),
|
3699
|
+
), zi = Be(
|
3702
3700
|
(e) => {
|
3703
3701
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3704
3702
|
if (r == null)
|
3705
3703
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3706
3704
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3707
3705
|
}
|
3708
|
-
),
|
3706
|
+
), Zi = Be(
|
3709
3707
|
(e) => {
|
3710
3708
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3711
3709
|
if (r == null)
|
@@ -3714,33 +3712,33 @@ const he = (e, t) => {
|
|
3714
3712
|
);
|
3715
3713
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3716
3714
|
}
|
3717
|
-
),
|
3715
|
+
), Qi = (e = {}) => {
|
3718
3716
|
var t = e, {
|
3719
3717
|
locale: r = X()
|
3720
3718
|
} = t, n = oe(t, [
|
3721
3719
|
"locale"
|
3722
3720
|
]);
|
3723
|
-
return
|
3724
|
-
},
|
3721
|
+
return Wi(ot({ locale: r }, n));
|
3722
|
+
}, qi = (e = {}) => {
|
3725
3723
|
var t = e, {
|
3726
3724
|
locale: r = X()
|
3727
3725
|
} = t, n = oe(t, [
|
3728
3726
|
"locale"
|
3729
3727
|
]);
|
3730
|
-
return
|
3731
|
-
},
|
3728
|
+
return zi(ot({ locale: r }, n));
|
3729
|
+
}, Ji = (e = {}) => {
|
3732
3730
|
var t = e, {
|
3733
3731
|
locale: r = X()
|
3734
3732
|
} = t, n = oe(t, [
|
3735
3733
|
"locale"
|
3736
3734
|
]);
|
3737
|
-
return
|
3738
|
-
},
|
3735
|
+
return Zi(ot({ locale: r }, n));
|
3736
|
+
}, Yi = Be(
|
3739
3737
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3740
|
-
(e, t = X()) => new
|
3738
|
+
(e, t = X()) => new Ti(e, t, te().formats, {
|
3741
3739
|
ignoreTag: te().ignoreTag
|
3742
3740
|
})
|
3743
|
-
),
|
3741
|
+
), Ki = (e, t = {}) => {
|
3744
3742
|
var r, n, i, o;
|
3745
3743
|
let s = t;
|
3746
3744
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3753,7 +3751,7 @@ const he = (e, t) => {
|
|
3753
3751
|
throw new Error(
|
3754
3752
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3755
3753
|
);
|
3756
|
-
let l =
|
3754
|
+
let l = gr(e, h);
|
3757
3755
|
if (!l)
|
3758
3756
|
l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3759
3757
|
else if (typeof l != "string")
|
@@ -3764,7 +3762,7 @@ const he = (e, t) => {
|
|
3764
3762
|
return l;
|
3765
3763
|
let f = l;
|
3766
3764
|
try {
|
3767
|
-
f =
|
3765
|
+
f = Yi(l, h).format(a);
|
3768
3766
|
} catch (c) {
|
3769
3767
|
c instanceof Error && console.warn(
|
3770
3768
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3772,18 +3770,18 @@ const he = (e, t) => {
|
|
3772
3770
|
);
|
3773
3771
|
}
|
3774
3772
|
return f;
|
3775
|
-
},
|
3776
|
-
ne([ie], () =>
|
3777
|
-
ne([ie], () =>
|
3778
|
-
ne([ie], () =>
|
3779
|
-
ne([ie, ce], () =>
|
3780
|
-
function
|
3781
|
-
|
3782
|
-
}
|
3783
|
-
function
|
3773
|
+
}, eo = (e, t) => Ji(t).format(e), to = (e, t) => qi(t).format(e), ro = (e, t) => Qi(t).format(e), no = (e, t = X()) => gr(e, t), io = ne([ie, ce], () => Ki);
|
3774
|
+
ne([ie], () => eo);
|
3775
|
+
ne([ie], () => to);
|
3776
|
+
ne([ie], () => ro);
|
3777
|
+
ne([ie, ce], () => no);
|
3778
|
+
function Nt(e, t) {
|
3779
|
+
yr(e, t);
|
3780
|
+
}
|
3781
|
+
function oo(e) {
|
3784
3782
|
ie.set(e);
|
3785
3783
|
}
|
3786
|
-
const
|
3784
|
+
const Mt = {
|
3787
3785
|
en: {
|
3788
3786
|
collections: "Game Collections",
|
3789
3787
|
providers: "Game Providers",
|
@@ -3883,13 +3881,13 @@ const Gt = {
|
|
3883
3881
|
function D(e) {
|
3884
3882
|
return typeof e == "function";
|
3885
3883
|
}
|
3886
|
-
function
|
3884
|
+
function wr(e) {
|
3887
3885
|
var t = function(n) {
|
3888
3886
|
Error.call(n), n.stack = new Error().stack;
|
3889
3887
|
}, r = e(t);
|
3890
3888
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3891
3889
|
}
|
3892
|
-
var De =
|
3890
|
+
var De = wr(function(e) {
|
3893
3891
|
return function(r) {
|
3894
3892
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3895
3893
|
` + r.map(function(n, i) {
|
@@ -3898,7 +3896,7 @@ var De = Cr(function(e) {
|
|
3898
3896
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3899
3897
|
};
|
3900
3898
|
});
|
3901
|
-
function
|
3899
|
+
function et(e, t) {
|
3902
3900
|
if (e) {
|
3903
3901
|
var r = e.indexOf(t);
|
3904
3902
|
0 <= r && e.splice(r, 1);
|
@@ -3916,7 +3914,7 @@ var Ae = function() {
|
|
3916
3914
|
if (s)
|
3917
3915
|
if (this._parentage = null, Array.isArray(s))
|
3918
3916
|
try {
|
3919
|
-
for (var a =
|
3917
|
+
for (var a = Ve(s), h = a.next(); !h.done; h = a.next()) {
|
3920
3918
|
var u = h.value;
|
3921
3919
|
u.remove(this);
|
3922
3920
|
}
|
@@ -3943,12 +3941,12 @@ var Ae = function() {
|
|
3943
3941
|
if (f) {
|
3944
3942
|
this._finalizers = null;
|
3945
3943
|
try {
|
3946
|
-
for (var c =
|
3944
|
+
for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
|
3947
3945
|
var m = d.value;
|
3948
3946
|
try {
|
3949
|
-
|
3947
|
+
Rt(m);
|
3950
3948
|
} catch (b) {
|
3951
|
-
o = o != null ? o : [], b instanceof De ? o = J(J([],
|
3949
|
+
o = o != null ? o : [], b instanceof De ? o = J(J([], Xe(o)), Xe(b.errors)) : o.push(b);
|
3952
3950
|
}
|
3953
3951
|
}
|
3954
3952
|
} catch (b) {
|
@@ -3969,7 +3967,7 @@ var Ae = function() {
|
|
3969
3967
|
var r;
|
3970
3968
|
if (t && t !== this)
|
3971
3969
|
if (this.closed)
|
3972
|
-
|
3970
|
+
Rt(t);
|
3973
3971
|
else {
|
3974
3972
|
if (t instanceof e) {
|
3975
3973
|
if (t.closed || t._hasParent(this))
|
@@ -3986,56 +3984,52 @@ var Ae = function() {
|
|
3986
3984
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3987
3985
|
}, e.prototype._removeParent = function(t) {
|
3988
3986
|
var r = this._parentage;
|
3989
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3987
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
3990
3988
|
}, e.prototype.remove = function(t) {
|
3991
3989
|
var r = this._finalizers;
|
3992
|
-
r &&
|
3990
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
3993
3991
|
}, e.EMPTY = function() {
|
3994
3992
|
var t = new e();
|
3995
3993
|
return t.closed = !0, t;
|
3996
3994
|
}(), e;
|
3997
|
-
}(),
|
3998
|
-
function
|
3995
|
+
}(), Tr = Ae.EMPTY;
|
3996
|
+
function Hr(e) {
|
3999
3997
|
return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
4000
3998
|
}
|
4001
|
-
function
|
3999
|
+
function Rt(e) {
|
4002
4000
|
D(e) ? e() : e.unsubscribe();
|
4003
4001
|
}
|
4004
|
-
var
|
4005
|
-
|
4006
|
-
|
4007
|
-
Promise: void 0,
|
4008
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
4009
|
-
useDeprecatedNextContext: !1
|
4010
|
-
}, uo = {
|
4002
|
+
var so = {
|
4003
|
+
Promise: void 0
|
4004
|
+
}, ao = {
|
4011
4005
|
setTimeout: function(e, t) {
|
4012
4006
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4013
4007
|
r[n - 2] = arguments[n];
|
4014
|
-
return setTimeout.apply(void 0, J([e, t],
|
4008
|
+
return setTimeout.apply(void 0, J([e, t], Xe(r)));
|
4015
4009
|
},
|
4016
4010
|
clearTimeout: function(e) {
|
4017
4011
|
return clearTimeout(e);
|
4018
4012
|
},
|
4019
4013
|
delegate: void 0
|
4020
4014
|
};
|
4021
|
-
function
|
4022
|
-
|
4015
|
+
function lo(e) {
|
4016
|
+
ao.setTimeout(function() {
|
4023
4017
|
throw e;
|
4024
4018
|
});
|
4025
4019
|
}
|
4026
|
-
function
|
4020
|
+
function $t() {
|
4027
4021
|
}
|
4028
4022
|
function ve(e) {
|
4029
4023
|
e();
|
4030
4024
|
}
|
4031
|
-
var
|
4025
|
+
var Cr = function(e) {
|
4032
4026
|
F(t, e);
|
4033
4027
|
function t(r) {
|
4034
4028
|
var n = e.call(this) || this;
|
4035
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4029
|
+
return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = co, n;
|
4036
4030
|
}
|
4037
4031
|
return t.create = function(r, n, i) {
|
4038
|
-
return new
|
4032
|
+
return new tt(r, n, i);
|
4039
4033
|
}, t.prototype.next = function(r) {
|
4040
4034
|
this.isStopped || this._next(r);
|
4041
4035
|
}, t.prototype.error = function(r) {
|
@@ -4059,11 +4053,7 @@ var Or = function(e) {
|
|
4059
4053
|
this.unsubscribe();
|
4060
4054
|
}
|
4061
4055
|
}, t;
|
4062
|
-
}(Ae),
|
4063
|
-
function Fe(e, t) {
|
4064
|
-
return co.call(e, t);
|
4065
|
-
}
|
4066
|
-
var fo = function() {
|
4056
|
+
}(Ae), uo = function() {
|
4067
4057
|
function e(t) {
|
4068
4058
|
this.partialObserver = t;
|
4069
4059
|
}
|
@@ -4094,55 +4084,43 @@ var fo = function() {
|
|
4094
4084
|
pe(r);
|
4095
4085
|
}
|
4096
4086
|
}, e;
|
4097
|
-
}(),
|
4087
|
+
}(), tt = function(e) {
|
4098
4088
|
F(t, e);
|
4099
4089
|
function t(r, n, i) {
|
4100
4090
|
var o = e.call(this) || this, s;
|
4101
|
-
|
4102
|
-
|
4103
|
-
|
4104
|
-
|
4105
|
-
|
4106
|
-
};
|
4107
|
-
else {
|
4108
|
-
var a;
|
4109
|
-
o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4110
|
-
return o.unsubscribe();
|
4111
|
-
}, s = {
|
4112
|
-
next: r.next && Fe(r.next, a),
|
4113
|
-
error: r.error && Fe(r.error, a),
|
4114
|
-
complete: r.complete && Fe(r.complete, a)
|
4115
|
-
}) : s = r;
|
4116
|
-
}
|
4117
|
-
return o.destination = new fo(s), o;
|
4091
|
+
return D(r) || !r ? s = {
|
4092
|
+
next: r != null ? r : void 0,
|
4093
|
+
error: n != null ? n : void 0,
|
4094
|
+
complete: i != null ? i : void 0
|
4095
|
+
} : s = r, o.destination = new uo(s), o;
|
4118
4096
|
}
|
4119
4097
|
return t;
|
4120
|
-
}(
|
4098
|
+
}(Cr);
|
4121
4099
|
function pe(e) {
|
4122
|
-
|
4100
|
+
lo(e);
|
4123
4101
|
}
|
4124
|
-
function
|
4102
|
+
function ho(e) {
|
4125
4103
|
throw e;
|
4126
4104
|
}
|
4127
|
-
var
|
4105
|
+
var co = {
|
4128
4106
|
closed: !0,
|
4129
|
-
next:
|
4130
|
-
error:
|
4131
|
-
complete:
|
4132
|
-
},
|
4107
|
+
next: $t,
|
4108
|
+
error: ho,
|
4109
|
+
complete: $t
|
4110
|
+
}, fo = function() {
|
4133
4111
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4134
4112
|
}();
|
4135
|
-
function
|
4113
|
+
function po(e) {
|
4136
4114
|
return e;
|
4137
4115
|
}
|
4138
|
-
function
|
4139
|
-
return e.length === 0 ?
|
4116
|
+
function mo(e) {
|
4117
|
+
return e.length === 0 ? po : e.length === 1 ? e[0] : function(r) {
|
4140
4118
|
return e.reduce(function(n, i) {
|
4141
4119
|
return i(n);
|
4142
4120
|
}, r);
|
4143
4121
|
};
|
4144
4122
|
}
|
4145
|
-
var
|
4123
|
+
var Gt = function() {
|
4146
4124
|
function e(t) {
|
4147
4125
|
t && (this._subscribe = t);
|
4148
4126
|
}
|
@@ -4150,7 +4128,7 @@ var Ft = function() {
|
|
4150
4128
|
var r = new e();
|
4151
4129
|
return r.source = this, r.operator = t, r;
|
4152
4130
|
}, e.prototype.subscribe = function(t, r, n) {
|
4153
|
-
var i = this, o =
|
4131
|
+
var i = this, o = go(t) ? t : new tt(t, r, n);
|
4154
4132
|
return ve(function() {
|
4155
4133
|
var s = i, a = s.operator, h = s.source;
|
4156
4134
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4163,8 +4141,8 @@ var Ft = function() {
|
|
4163
4141
|
}
|
4164
4142
|
}, e.prototype.forEach = function(t, r) {
|
4165
4143
|
var n = this;
|
4166
|
-
return r =
|
4167
|
-
var s = new
|
4144
|
+
return r = Ut(r), new r(function(i, o) {
|
4145
|
+
var s = new tt({
|
4168
4146
|
next: function(a) {
|
4169
4147
|
try {
|
4170
4148
|
t(a);
|
@@ -4180,15 +4158,15 @@ var Ft = function() {
|
|
4180
4158
|
}, e.prototype._subscribe = function(t) {
|
4181
4159
|
var r;
|
4182
4160
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4183
|
-
}, e.prototype[
|
4161
|
+
}, e.prototype[fo] = function() {
|
4184
4162
|
return this;
|
4185
4163
|
}, e.prototype.pipe = function() {
|
4186
4164
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4187
4165
|
t[r] = arguments[r];
|
4188
|
-
return
|
4166
|
+
return mo(t)(this);
|
4189
4167
|
}, e.prototype.toPromise = function(t) {
|
4190
4168
|
var r = this;
|
4191
|
-
return t =
|
4169
|
+
return t = Ut(t), new t(function(n, i) {
|
4192
4170
|
var o;
|
4193
4171
|
r.subscribe(function(s) {
|
4194
4172
|
return o = s;
|
@@ -4202,32 +4180,32 @@ var Ft = function() {
|
|
4202
4180
|
return new e(t);
|
4203
4181
|
}, e;
|
4204
4182
|
}();
|
4205
|
-
function
|
4183
|
+
function Ut(e) {
|
4206
4184
|
var t;
|
4207
|
-
return (t = e != null ? e :
|
4185
|
+
return (t = e != null ? e : so.Promise) !== null && t !== void 0 ? t : Promise;
|
4208
4186
|
}
|
4209
|
-
function
|
4187
|
+
function bo(e) {
|
4210
4188
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
4211
4189
|
}
|
4212
|
-
function
|
4213
|
-
return e && e instanceof
|
4190
|
+
function go(e) {
|
4191
|
+
return e && e instanceof Cr || bo(e) && Hr(e);
|
4214
4192
|
}
|
4215
|
-
var
|
4193
|
+
var vo = wr(function(e) {
|
4216
4194
|
return function() {
|
4217
4195
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4218
4196
|
};
|
4219
|
-
}),
|
4197
|
+
}), Pr = function(e) {
|
4220
4198
|
F(t, e);
|
4221
4199
|
function t() {
|
4222
4200
|
var r = e.call(this) || this;
|
4223
4201
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4224
4202
|
}
|
4225
4203
|
return t.prototype.lift = function(r) {
|
4226
|
-
var n = new
|
4204
|
+
var n = new Dt(this, this);
|
4227
4205
|
return n.operator = r, n;
|
4228
4206
|
}, t.prototype._throwIfClosed = function() {
|
4229
4207
|
if (this.closed)
|
4230
|
-
throw new
|
4208
|
+
throw new vo();
|
4231
4209
|
}, t.prototype.next = function(r) {
|
4232
4210
|
var n = this;
|
4233
4211
|
ve(function() {
|
@@ -4235,7 +4213,7 @@ var Eo = Cr(function(e) {
|
|
4235
4213
|
if (n._throwIfClosed(), !n.isStopped) {
|
4236
4214
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4237
4215
|
try {
|
4238
|
-
for (var s =
|
4216
|
+
for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4239
4217
|
var h = a.value;
|
4240
4218
|
h.next(r);
|
4241
4219
|
}
|
@@ -4284,19 +4262,19 @@ var Eo = Cr(function(e) {
|
|
4284
4262
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4285
4263
|
}, t.prototype._innerSubscribe = function(r) {
|
4286
4264
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4287
|
-
return o || s ?
|
4288
|
-
n.currentObservers = null,
|
4265
|
+
return o || s ? Tr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
4266
|
+
n.currentObservers = null, et(a, r);
|
4289
4267
|
}));
|
4290
4268
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4291
4269
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4292
4270
|
i ? r.error(o) : s && r.complete();
|
4293
4271
|
}, t.prototype.asObservable = function() {
|
4294
|
-
var r = new
|
4272
|
+
var r = new Gt();
|
4295
4273
|
return r.source = this, r;
|
4296
4274
|
}, t.create = function(r, n) {
|
4297
|
-
return new
|
4275
|
+
return new Dt(r, n);
|
4298
4276
|
}, t;
|
4299
|
-
}(
|
4277
|
+
}(Gt), Dt = function(e) {
|
4300
4278
|
F(t, e);
|
4301
4279
|
function t(r, n) {
|
4302
4280
|
var i = e.call(this) || this;
|
@@ -4313,17 +4291,17 @@ var Eo = Cr(function(e) {
|
|
4313
4291
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4314
4292
|
}, t.prototype._subscribe = function(r) {
|
4315
4293
|
var n, i;
|
4316
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4294
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
|
4317
4295
|
}, t;
|
4318
|
-
}(
|
4296
|
+
}(Pr), Br = {
|
4319
4297
|
now: function() {
|
4320
|
-
return (
|
4298
|
+
return (Br.delegate || Date).now();
|
4321
4299
|
},
|
4322
4300
|
delegate: void 0
|
4323
|
-
},
|
4301
|
+
}, yo = function(e) {
|
4324
4302
|
F(t, e);
|
4325
4303
|
function t(r, n, i) {
|
4326
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4304
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
|
4327
4305
|
var o = e.call(this) || this;
|
4328
4306
|
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;
|
4329
4307
|
}
|
@@ -4343,23 +4321,23 @@ var Eo = Cr(function(e) {
|
|
4343
4321
|
u && o.splice(0, u + 1);
|
4344
4322
|
}
|
4345
4323
|
}, t;
|
4346
|
-
}(
|
4347
|
-
const
|
4348
|
-
if (
|
4349
|
-
const r = new
|
4350
|
-
|
4324
|
+
}(Pr);
|
4325
|
+
const Ft = [], jt = {}, _o = (e, t = 0) => {
|
4326
|
+
if (Ft.indexOf(e) == -1) {
|
4327
|
+
const r = new yo(t);
|
4328
|
+
jt[e] = r, Ft.push(e);
|
4351
4329
|
}
|
4352
|
-
return
|
4330
|
+
return jt[e];
|
4353
4331
|
};
|
4354
|
-
window.emWidgets = { topic:
|
4355
|
-
const
|
4356
|
-
function
|
4332
|
+
window.emWidgets = { topic: _o };
|
4333
|
+
const xo = (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));
|
4334
|
+
function Eo(e, t) {
|
4357
4335
|
if (e) {
|
4358
4336
|
const r = document.createElement("style");
|
4359
4337
|
r.innerHTML = t, e.appendChild(r);
|
4360
4338
|
}
|
4361
4339
|
}
|
4362
|
-
function
|
4340
|
+
function So(e, t) {
|
4363
4341
|
const r = new URL(t);
|
4364
4342
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4365
4343
|
const i = document.createElement("style");
|
@@ -4368,7 +4346,7 @@ function Ho(e, t) {
|
|
4368
4346
|
console.error("There was an error while trying to load client styling from URL", n);
|
4369
4347
|
});
|
4370
4348
|
}
|
4371
|
-
function
|
4349
|
+
function wo(e, t, r) {
|
4372
4350
|
if (window.emMessageBus) {
|
4373
4351
|
const n = document.createElement("style");
|
4374
4352
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4376,18 +4354,18 @@ function Co(e, t, r) {
|
|
4376
4354
|
});
|
4377
4355
|
}
|
4378
4356
|
}
|
4379
|
-
function
|
4380
|
-
|
4357
|
+
function To(e) {
|
4358
|
+
Qr(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)}}');
|
4381
4359
|
}
|
4382
|
-
function
|
4360
|
+
function kt(e, t, r) {
|
4383
4361
|
const n = e.slice();
|
4384
4362
|
return n[41] = t[r], n;
|
4385
4363
|
}
|
4386
|
-
function
|
4364
|
+
function Vt(e, t, r) {
|
4387
4365
|
const n = e.slice();
|
4388
4366
|
return n[44] = t[r], n;
|
4389
4367
|
}
|
4390
|
-
function
|
4368
|
+
function Ho(e) {
|
4391
4369
|
let t, r, n, i = (
|
4392
4370
|
/*type*/
|
4393
4371
|
(e[0] === "vendor" ? (
|
@@ -4400,24 +4378,24 @@ function Bo(e) {
|
|
4400
4378
|
), o, s, a, h, u, l = (
|
4401
4379
|
/*numberOfSlides*/
|
4402
4380
|
e[7] > /*numberOfVisibleSlides*/
|
4403
|
-
e[8] &&
|
4404
|
-
), f =
|
4381
|
+
e[8] && Xt(e)
|
4382
|
+
), f = Ee(
|
4405
4383
|
/*gameCategories*/
|
4406
4384
|
e[3]
|
4407
4385
|
), c = [];
|
4408
4386
|
for (let d = 0; d < f.length; d += 1)
|
4409
|
-
c[d] =
|
4387
|
+
c[d] = Zt(kt(e, f, d));
|
4410
4388
|
return {
|
4411
4389
|
c() {
|
4412
4390
|
t = P("div"), r = P("div"), n = P("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = P("div");
|
4413
4391
|
for (let d = 0; d < c.length; d += 1)
|
4414
4392
|
c[d].c();
|
4415
|
-
|
4393
|
+
E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4416
4394
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4417
4395
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4418
4396
|
},
|
4419
4397
|
m(d, m) {
|
4420
|
-
|
4398
|
+
G(d, t, m), C(t, r), C(r, n), C(n, o), C(r, s), l && l.m(r, null), C(t, a), C(t, h);
|
4421
4399
|
for (let b = 0; b < c.length; b += 1)
|
4422
4400
|
c[b] && c[b].m(h, null);
|
4423
4401
|
e[25](h);
|
@@ -4431,18 +4409,18 @@ function Bo(e) {
|
|
4431
4409
|
) : (
|
4432
4410
|
/*$_*/
|
4433
4411
|
d[10]("collections")
|
4434
|
-
)) + "") &&
|
4412
|
+
)) + "") && nt(o, i), /*numberOfSlides*/
|
4435
4413
|
d[7] > /*numberOfVisibleSlides*/
|
4436
|
-
d[8] ? l ? l.p(d, m) : (l =
|
4414
|
+
d[8] ? l ? l.p(d, m) : (l = Xt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4437
4415
|
24590) {
|
4438
|
-
f =
|
4416
|
+
f = Ee(
|
4439
4417
|
/*gameCategories*/
|
4440
4418
|
d[3]
|
4441
4419
|
);
|
4442
4420
|
let b;
|
4443
4421
|
for (b = 0; b < f.length; b += 1) {
|
4444
|
-
const g =
|
4445
|
-
c[b] ? c[b].p(g, m) : (c[b] =
|
4422
|
+
const g = kt(d, f, b);
|
4423
|
+
c[b] ? c[b].p(g, m) : (c[b] = Zt(g), c[b].c(), c[b].m(h, null));
|
4446
4424
|
}
|
4447
4425
|
for (; b < c.length; b += 1)
|
4448
4426
|
c[b].d(1);
|
@@ -4451,36 +4429,36 @@ function Bo(e) {
|
|
4451
4429
|
m[0] & /*mobile, type*/
|
4452
4430
|
513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4453
4431
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4454
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4432
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
|
4455
4433
|
},
|
4456
4434
|
d(d) {
|
4457
|
-
d &&
|
4435
|
+
d && R(t), l && l.d(), Yt(c, d), e[25](null);
|
4458
4436
|
}
|
4459
4437
|
};
|
4460
4438
|
}
|
4461
|
-
function
|
4439
|
+
function Co(e) {
|
4462
4440
|
let t;
|
4463
4441
|
return {
|
4464
4442
|
c() {
|
4465
|
-
t = P("div"),
|
4443
|
+
t = P("div"), E(t, "class", "LoadingSpinner");
|
4466
4444
|
},
|
4467
4445
|
m(r, n) {
|
4468
|
-
|
4446
|
+
G(r, t, n);
|
4469
4447
|
},
|
4470
|
-
p:
|
4448
|
+
p: I,
|
4471
4449
|
d(r) {
|
4472
|
-
r &&
|
4450
|
+
r && R(t);
|
4473
4451
|
}
|
4474
4452
|
};
|
4475
4453
|
}
|
4476
|
-
function
|
4454
|
+
function Xt(e) {
|
4477
4455
|
let t, r, n, i, o, s;
|
4478
4456
|
return {
|
4479
4457
|
c() {
|
4480
|
-
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 = V(), 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>',
|
4458
|
+
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 = V(), 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");
|
4481
4459
|
},
|
4482
4460
|
m(a, h) {
|
4483
|
-
|
4461
|
+
G(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
|
4484
4462
|
_e(
|
4485
4463
|
r,
|
4486
4464
|
"click",
|
@@ -4495,83 +4473,83 @@ function Zt(e) {
|
|
4495
4473
|
)
|
4496
4474
|
], o = !0);
|
4497
4475
|
},
|
4498
|
-
p:
|
4476
|
+
p: I,
|
4499
4477
|
d(a) {
|
4500
|
-
a &&
|
4478
|
+
a && R(t), o = !1, re(s);
|
4501
4479
|
}
|
4502
4480
|
};
|
4503
4481
|
}
|
4504
|
-
function
|
4482
|
+
function Po(e) {
|
4505
4483
|
let t, r = (
|
4506
4484
|
/*category*/
|
4507
4485
|
e[41].name + ""
|
4508
4486
|
), n;
|
4509
4487
|
return {
|
4510
4488
|
c() {
|
4511
|
-
t = P("p"), n = Te(r),
|
4489
|
+
t = P("p"), n = Te(r), E(t, "class", "CategorySlideTitle");
|
4512
4490
|
},
|
4513
4491
|
m(i, o) {
|
4514
|
-
|
4492
|
+
G(i, t, o), C(t, n);
|
4515
4493
|
},
|
4516
4494
|
p(i, o) {
|
4517
4495
|
o[0] & /*gameCategories*/
|
4518
4496
|
8 && r !== (r = /*category*/
|
4519
|
-
i[41].name + "") &&
|
4497
|
+
i[41].name + "") && nt(n, r);
|
4520
4498
|
},
|
4521
4499
|
d(i) {
|
4522
|
-
i &&
|
4500
|
+
i && R(t);
|
4523
4501
|
}
|
4524
4502
|
};
|
4525
4503
|
}
|
4526
|
-
function
|
4504
|
+
function Bo(e) {
|
4527
4505
|
let t, r, n;
|
4528
4506
|
return {
|
4529
4507
|
c() {
|
4530
|
-
t = P("img"),
|
4531
|
-
e[41].icon) ||
|
4508
|
+
t = P("img"), E(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
|
4509
|
+
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4532
4510
|
e[41].name + " icon");
|
4533
4511
|
},
|
4534
4512
|
m(i, o) {
|
4535
|
-
|
4513
|
+
G(i, t, o);
|
4536
4514
|
},
|
4537
4515
|
p(i, o) {
|
4538
4516
|
o[0] & /*gameCategories*/
|
4539
4517
|
8 && !ye(t.src, r = /*category*/
|
4540
|
-
i[41].icon) &&
|
4518
|
+
i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
|
4541
4519
|
8 && n !== (n = /*category*/
|
4542
|
-
i[41].name + " icon") &&
|
4520
|
+
i[41].name + " icon") && E(t, "alt", n);
|
4543
4521
|
},
|
4544
4522
|
d(i) {
|
4545
|
-
i &&
|
4523
|
+
i && R(t);
|
4546
4524
|
}
|
4547
4525
|
};
|
4548
4526
|
}
|
4549
|
-
function
|
4527
|
+
function Wt(e) {
|
4550
4528
|
let t, r = (
|
4551
4529
|
/*game*/
|
4552
4530
|
e[44].name + ""
|
4553
4531
|
), n, i;
|
4554
4532
|
return {
|
4555
4533
|
c() {
|
4556
|
-
t = P("p"), n = Te(r),
|
4534
|
+
t = P("p"), n = Te(r), E(t, "title", i = /*game*/
|
4557
4535
|
e[44].name);
|
4558
4536
|
},
|
4559
4537
|
m(o, s) {
|
4560
|
-
|
4538
|
+
G(o, t, s), C(t, n);
|
4561
4539
|
},
|
4562
4540
|
p(o, s) {
|
4563
4541
|
s[0] & /*gameCategories*/
|
4564
4542
|
8 && r !== (r = /*game*/
|
4565
|
-
o[44].name + "") &&
|
4543
|
+
o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
|
4566
4544
|
8 && i !== (i = /*game*/
|
4567
|
-
o[44].name) &&
|
4545
|
+
o[44].name) && E(t, "title", i);
|
4568
4546
|
},
|
4569
4547
|
d(o) {
|
4570
|
-
o &&
|
4548
|
+
o && R(t);
|
4571
4549
|
}
|
4572
4550
|
};
|
4573
4551
|
}
|
4574
|
-
function
|
4552
|
+
function zt(e) {
|
4575
4553
|
let t, r, n, i, o, s, a, h;
|
4576
4554
|
function u() {
|
4577
4555
|
return (
|
@@ -4584,50 +4562,50 @@ function qt(e) {
|
|
4584
4562
|
}
|
4585
4563
|
let l = (
|
4586
4564
|
/*collectionprovidersgamenames*/
|
4587
|
-
e[2] == "true" &&
|
4565
|
+
e[2] == "true" && Wt(e)
|
4588
4566
|
);
|
4589
4567
|
return {
|
4590
4568
|
c() {
|
4591
|
-
t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(),
|
4592
|
-
e[44].defaultThumbnail) ||
|
4593
|
-
e[44].name),
|
4569
|
+
t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(), E(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
|
4570
|
+
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4571
|
+
e[44].name), E(t, "class", "CategorySlideGames");
|
4594
4572
|
},
|
4595
4573
|
m(f, c) {
|
4596
|
-
|
4574
|
+
G(f, t, c), C(t, r), C(t, o), l && l.m(t, null), C(t, s), a || (h = _e(r, "click", Yr(u)), a = !0);
|
4597
4575
|
},
|
4598
4576
|
p(f, c) {
|
4599
4577
|
e = f, c[0] & /*gameCategories*/
|
4600
4578
|
8 && !ye(r.src, n = /*game*/
|
4601
|
-
e[44].defaultThumbnail) &&
|
4579
|
+
e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
|
4602
4580
|
8 && i !== (i = /*game*/
|
4603
|
-
e[44].name) &&
|
4604
|
-
e[2] == "true" ? l ? l.p(e, c) : (l =
|
4581
|
+
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4582
|
+
e[2] == "true" ? l ? l.p(e, c) : (l = Wt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4605
4583
|
},
|
4606
4584
|
d(f) {
|
4607
|
-
f &&
|
4585
|
+
f && R(t), l && l.d(), a = !1, h();
|
4608
4586
|
}
|
4609
4587
|
};
|
4610
4588
|
}
|
4611
|
-
function
|
4589
|
+
function Zt(e) {
|
4612
4590
|
let t, r, n, i, o, s, a, h, u;
|
4613
|
-
function l(g,
|
4591
|
+
function l(g, x) {
|
4614
4592
|
if (
|
4615
4593
|
/*titletype*/
|
4616
4594
|
g[1] === "logo"
|
4617
4595
|
)
|
4618
|
-
return
|
4596
|
+
return Bo;
|
4619
4597
|
if (
|
4620
4598
|
/*titletype*/
|
4621
4599
|
g[1] === "title"
|
4622
4600
|
)
|
4623
|
-
return
|
4601
|
+
return Po;
|
4624
4602
|
}
|
4625
|
-
let f = l(e), c = f && f(e), d =
|
4603
|
+
let f = l(e), c = f && f(e), d = Ee(
|
4626
4604
|
/*category*/
|
4627
4605
|
e[41].games
|
4628
4606
|
), m = [];
|
4629
4607
|
for (let g = 0; g < d.length; g += 1)
|
4630
|
-
m[g] =
|
4608
|
+
m[g] = zt(Vt(e, d, g));
|
4631
4609
|
function b() {
|
4632
4610
|
return (
|
4633
4611
|
/*click_handler_1*/
|
@@ -4639,54 +4617,54 @@ function Jt(e) {
|
|
4639
4617
|
}
|
4640
4618
|
return {
|
4641
4619
|
c() {
|
4642
|
-
var g,
|
4620
|
+
var g, x;
|
4643
4621
|
t = P("div"), r = P("div"), n = P("div"), c && c.c(), i = V(), o = P("div");
|
4644
4622
|
for (let S = 0; S < m.length; S += 1)
|
4645
4623
|
m[S].c();
|
4646
|
-
a = V(),
|
4624
|
+
a = V(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
|
4647
4625
|
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4648
|
-
((
|
4626
|
+
((x = e[41]) == null ? void 0 : x.background) + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
|
4649
4627
|
},
|
4650
|
-
m(g,
|
4651
|
-
|
4628
|
+
m(g, x) {
|
4629
|
+
G(g, t, x), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
|
4652
4630
|
for (let S = 0; S < m.length; S += 1)
|
4653
4631
|
m[S] && m[S].m(o, null);
|
4654
4632
|
C(t, a), h || (u = _e(r, "click", b), h = !0);
|
4655
4633
|
},
|
4656
|
-
p(g,
|
4634
|
+
p(g, x) {
|
4657
4635
|
var S, T;
|
4658
|
-
if (e = g, f === (f = l(e)) && c ? c.p(e,
|
4636
|
+
if (e = g, f === (f = l(e)) && c ? c.p(e, x) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4659
4637
|
8204) {
|
4660
|
-
d =
|
4638
|
+
d = Ee(
|
4661
4639
|
/*category*/
|
4662
4640
|
e[41].games
|
4663
4641
|
);
|
4664
4642
|
let H;
|
4665
4643
|
for (H = 0; H < d.length; H += 1) {
|
4666
|
-
const O =
|
4667
|
-
m[H] ? m[H].p(O,
|
4644
|
+
const O = Vt(e, d, H);
|
4645
|
+
m[H] ? m[H].p(O, x) : (m[H] = zt(O), m[H].c(), m[H].m(o, null));
|
4668
4646
|
}
|
4669
4647
|
for (; H < m.length; H += 1)
|
4670
4648
|
m[H].d(1);
|
4671
4649
|
m.length = d.length;
|
4672
4650
|
}
|
4673
|
-
|
4651
|
+
x[0] & /*gameCategories*/
|
4674
4652
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4675
|
-
(((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4653
|
+
(((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
|
4676
4654
|
8 && Ie(r, "background-image", "url(" + /*category*/
|
4677
4655
|
((T = e[41]) == null ? void 0 : T.background) + ")");
|
4678
4656
|
},
|
4679
4657
|
d(g) {
|
4680
|
-
g &&
|
4658
|
+
g && R(t), c && c.d(), Yt(m, g), h = !1, u();
|
4681
4659
|
}
|
4682
4660
|
};
|
4683
4661
|
}
|
4684
|
-
function
|
4662
|
+
function Ao(e) {
|
4685
4663
|
let t;
|
4686
4664
|
function r(o, s) {
|
4687
4665
|
return (
|
4688
4666
|
/*isLoading*/
|
4689
|
-
o[6] ?
|
4667
|
+
o[6] ? Co : Ho
|
4690
4668
|
);
|
4691
4669
|
}
|
4692
4670
|
let n = r(e), i = n(e);
|
@@ -4695,81 +4673,82 @@ function Io(e) {
|
|
4695
4673
|
t = P("div"), i.c();
|
4696
4674
|
},
|
4697
4675
|
m(o, s) {
|
4698
|
-
|
4676
|
+
G(o, t, s), i.m(t, null), e[26](t);
|
4699
4677
|
},
|
4700
4678
|
p(o, s) {
|
4701
4679
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
4702
4680
|
},
|
4703
|
-
i:
|
4704
|
-
o:
|
4681
|
+
i: I,
|
4682
|
+
o: I,
|
4705
4683
|
d(o) {
|
4706
|
-
o &&
|
4684
|
+
o && R(t), i.d(), e[26](null);
|
4707
4685
|
}
|
4708
4686
|
};
|
4709
4687
|
}
|
4710
|
-
function
|
4688
|
+
function Oo(e, t, r) {
|
4711
4689
|
let n;
|
4712
|
-
|
4713
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g,
|
4714
|
-
const
|
4690
|
+
Zr(e, io, (p) => r(10, n = p));
|
4691
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0, S = 0, T = 0, H, O, k = 0, W = 50, Oe = !1, $, Ar = window.navigator.userAgent, st;
|
4692
|
+
const Or = () => {
|
4715
4693
|
fetch(f).then((B) => B.json()).then((B) => {
|
4716
|
-
Object.keys(B).forEach((
|
4717
|
-
|
4694
|
+
Object.keys(B).forEach((U) => {
|
4695
|
+
Nt(U, B[U]);
|
4718
4696
|
});
|
4719
4697
|
}).catch((B) => {
|
4720
4698
|
console.log(B);
|
4721
4699
|
});
|
4722
4700
|
};
|
4723
|
-
Object.keys(
|
4724
|
-
|
4701
|
+
Object.keys(Mt).forEach((p) => {
|
4702
|
+
Nt(p, Mt[p]);
|
4725
4703
|
});
|
4726
|
-
const
|
4704
|
+
const at = () => {
|
4727
4705
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4728
4706
|
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((B) => B.json()).then((B) => {
|
4729
4707
|
r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Oe = !0));
|
4730
|
-
let
|
4731
|
-
var
|
4708
|
+
let U = B.items.map((L) => {
|
4709
|
+
var ft, dt, pt;
|
4732
4710
|
return {
|
4733
|
-
id:
|
4734
|
-
name:
|
4735
|
-
icon:
|
4736
|
-
games:
|
4737
|
-
background:
|
4738
|
-
flag:
|
4711
|
+
id: L.id,
|
4712
|
+
name: L.name,
|
4713
|
+
icon: L.icon ? L.icon : (pt = (dt = (ft = L.vendors) == null ? void 0 : ft.items[0]) == null ? void 0 : dt.subVendors[0]) == null ? void 0 : pt.logo,
|
4714
|
+
games: L.games.items.slice(0, 4).map((Fr) => Fr),
|
4715
|
+
background: L.background,
|
4716
|
+
flag: L.flags
|
4739
4717
|
};
|
4740
4718
|
});
|
4741
|
-
r(3, m = [...m,
|
4719
|
+
r(3, m = [...m, ...U]), r(7, S = m.length), Lr();
|
4742
4720
|
});
|
4743
|
-
},
|
4744
|
-
const p =
|
4721
|
+
}, Lr = () => {
|
4722
|
+
const p = $.getRootNode().host;
|
4745
4723
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4746
|
-
},
|
4747
|
-
|
4748
|
-
|
4749
|
-
|
4750
|
-
|
4724
|
+
}, lt = (p) => {
|
4725
|
+
var B;
|
4726
|
+
O = [...g.children], O.forEach((U, L) => {
|
4727
|
+
U.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
|
4728
|
+
}), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Ir();
|
4729
|
+
}, Ir = () => {
|
4751
4730
|
r(8, T = Math.floor(g.clientWidth / H));
|
4752
|
-
},
|
4753
|
-
|
4754
|
-
},
|
4755
|
-
|
4756
|
-
},
|
4757
|
-
|
4758
|
-
},
|
4731
|
+
}, ut = () => {
|
4732
|
+
lt(x);
|
4733
|
+
}, Nr = () => {
|
4734
|
+
x === 0 ? x = S - T : x - T < -1 ? x = 0 : x--, ut();
|
4735
|
+
}, Mr = () => {
|
4736
|
+
x === S - T ? x = 0 : S - T < x + 1 ? x = S - T : x++, ut();
|
4737
|
+
}, ht = (p, B, U, L) => {
|
4759
4738
|
window.postMessage(
|
4760
4739
|
{
|
4761
4740
|
type: "OpenCollectionsProvidersGame",
|
4762
4741
|
gameId: p,
|
4763
4742
|
launchUrl: B,
|
4764
|
-
gameName:
|
4765
|
-
subVendor:
|
4743
|
+
gameName: U,
|
4744
|
+
subVendor: L
|
4766
4745
|
},
|
4767
4746
|
window.location.href
|
4768
4747
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4769
4748
|
context: "CollectionsProviders",
|
4770
|
-
gameName: `${
|
4749
|
+
gameName: `${U}`
|
4771
4750
|
});
|
4772
|
-
},
|
4751
|
+
}, ct = (p) => {
|
4773
4752
|
window.postMessage(
|
4774
4753
|
{
|
4775
4754
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4777,50 +4756,50 @@ function No(e, t, r) {
|
|
4777
4756
|
},
|
4778
4757
|
window.location.href
|
4779
4758
|
);
|
4780
|
-
},
|
4781
|
-
|
4759
|
+
}, Rr = () => {
|
4760
|
+
oo(s);
|
4782
4761
|
};
|
4783
|
-
|
4762
|
+
rn(() => (r(9, st = xo(Ar)), () => {
|
4784
4763
|
}));
|
4785
|
-
const
|
4786
|
-
function
|
4787
|
-
|
4764
|
+
const $r = (p) => ht(p.gameId, p.launchUrl, p.name, p.subVendor), Gr = (p) => ct(p.id);
|
4765
|
+
function Ur(p) {
|
4766
|
+
xe[p ? "unshift" : "push"](() => {
|
4788
4767
|
g = p, r(4, g);
|
4789
4768
|
});
|
4790
4769
|
}
|
4791
|
-
function
|
4792
|
-
|
4793
|
-
|
4770
|
+
function Dr(p) {
|
4771
|
+
xe[p ? "unshift" : "push"](() => {
|
4772
|
+
$ = p, r(5, $);
|
4794
4773
|
});
|
4795
4774
|
}
|
4796
4775
|
return e.$$set = (p) => {
|
4797
4776
|
"endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
|
4798
4777
|
}, e.$$.update = () => {
|
4799
4778
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4800
|
-
229376 && i && o && s &&
|
4801
|
-
24 && m && g &&
|
4802
|
-
131072 && s &&
|
4803
|
-
262176 && u &&
|
4804
|
-
524320 && l &&
|
4805
|
-
2097184 &&
|
4806
|
-
1048576 && f &&
|
4807
|
-
4194304 && Oe &&
|
4779
|
+
229376 && i && o && s && at(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4780
|
+
24 && m && g && lt(), e.$$.dirty[0] & /*lang*/
|
4781
|
+
131072 && s && Rr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4782
|
+
262176 && u && $ && Eo($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4783
|
+
524320 && l && $ && So($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4784
|
+
2097184 && $ && wo($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4785
|
+
1048576 && f && Or(), e.$$.dirty[0] & /*paginationrequired*/
|
4786
|
+
4194304 && Oe && at();
|
4808
4787
|
}, [
|
4809
4788
|
a,
|
4810
4789
|
h,
|
4811
4790
|
c,
|
4812
4791
|
m,
|
4813
4792
|
g,
|
4814
|
-
|
4793
|
+
$,
|
4815
4794
|
b,
|
4816
4795
|
S,
|
4817
4796
|
T,
|
4818
|
-
|
4797
|
+
st,
|
4819
4798
|
n,
|
4820
|
-
|
4821
|
-
|
4822
|
-
|
4823
|
-
|
4799
|
+
Nr,
|
4800
|
+
Mr,
|
4801
|
+
ht,
|
4802
|
+
ct,
|
4824
4803
|
i,
|
4825
4804
|
o,
|
4826
4805
|
s,
|
@@ -4829,20 +4808,20 @@ function No(e, t, r) {
|
|
4829
4808
|
f,
|
4830
4809
|
d,
|
4831
4810
|
Oe,
|
4832
|
-
|
4833
|
-
|
4834
|
-
|
4835
|
-
|
4811
|
+
$r,
|
4812
|
+
Gr,
|
4813
|
+
Ur,
|
4814
|
+
Dr
|
4836
4815
|
];
|
4837
4816
|
}
|
4838
|
-
class
|
4817
|
+
class Lo extends mn {
|
4839
4818
|
constructor(t) {
|
4840
|
-
super(),
|
4819
|
+
super(), dn(
|
4841
4820
|
this,
|
4842
4821
|
t,
|
4843
|
-
|
4844
|
-
|
4845
|
-
|
4822
|
+
Oo,
|
4823
|
+
Ao,
|
4824
|
+
qt,
|
4846
4825
|
{
|
4847
4826
|
endpoint: 15,
|
4848
4827
|
datasource: 16,
|
@@ -4855,7 +4834,7 @@ class Mo extends yn {
|
|
4855
4834
|
collectionprovidersgamenames: 2,
|
4856
4835
|
mbsource: 21
|
4857
4836
|
},
|
4858
|
-
|
4837
|
+
To,
|
4859
4838
|
[-1, -1]
|
4860
4839
|
);
|
4861
4840
|
}
|
@@ -4863,64 +4842,64 @@ class Mo extends yn {
|
|
4863
4842
|
return this.$$.ctx[15];
|
4864
4843
|
}
|
4865
4844
|
set endpoint(t) {
|
4866
|
-
this.$$set({ endpoint: t }),
|
4845
|
+
this.$$set({ endpoint: t }), M();
|
4867
4846
|
}
|
4868
4847
|
get datasource() {
|
4869
4848
|
return this.$$.ctx[16];
|
4870
4849
|
}
|
4871
4850
|
set datasource(t) {
|
4872
|
-
this.$$set({ datasource: t }),
|
4851
|
+
this.$$set({ datasource: t }), M();
|
4873
4852
|
}
|
4874
4853
|
get lang() {
|
4875
4854
|
return this.$$.ctx[17];
|
4876
4855
|
}
|
4877
4856
|
set lang(t) {
|
4878
|
-
this.$$set({ lang: t }),
|
4857
|
+
this.$$set({ lang: t }), M();
|
4879
4858
|
}
|
4880
4859
|
get type() {
|
4881
4860
|
return this.$$.ctx[0];
|
4882
4861
|
}
|
4883
4862
|
set type(t) {
|
4884
|
-
this.$$set({ type: t }),
|
4863
|
+
this.$$set({ type: t }), M();
|
4885
4864
|
}
|
4886
4865
|
get titletype() {
|
4887
4866
|
return this.$$.ctx[1];
|
4888
4867
|
}
|
4889
4868
|
set titletype(t) {
|
4890
|
-
this.$$set({ titletype: t }),
|
4869
|
+
this.$$set({ titletype: t }), M();
|
4891
4870
|
}
|
4892
4871
|
get clientstyling() {
|
4893
4872
|
return this.$$.ctx[18];
|
4894
4873
|
}
|
4895
4874
|
set clientstyling(t) {
|
4896
|
-
this.$$set({ clientstyling: t }),
|
4875
|
+
this.$$set({ clientstyling: t }), M();
|
4897
4876
|
}
|
4898
4877
|
get clientstylingurl() {
|
4899
4878
|
return this.$$.ctx[19];
|
4900
4879
|
}
|
4901
4880
|
set clientstylingurl(t) {
|
4902
|
-
this.$$set({ clientstylingurl: t }),
|
4881
|
+
this.$$set({ clientstylingurl: t }), M();
|
4903
4882
|
}
|
4904
4883
|
get translationurl() {
|
4905
4884
|
return this.$$.ctx[20];
|
4906
4885
|
}
|
4907
4886
|
set translationurl(t) {
|
4908
|
-
this.$$set({ translationurl: t }),
|
4887
|
+
this.$$set({ translationurl: t }), M();
|
4909
4888
|
}
|
4910
4889
|
get collectionprovidersgamenames() {
|
4911
4890
|
return this.$$.ctx[2];
|
4912
4891
|
}
|
4913
4892
|
set collectionprovidersgamenames(t) {
|
4914
|
-
this.$$set({ collectionprovidersgamenames: t }),
|
4893
|
+
this.$$set({ collectionprovidersgamenames: t }), M();
|
4915
4894
|
}
|
4916
4895
|
get mbsource() {
|
4917
4896
|
return this.$$.ctx[21];
|
4918
4897
|
}
|
4919
4898
|
set mbsource(t) {
|
4920
|
-
this.$$set({ mbsource: t }),
|
4899
|
+
this.$$set({ mbsource: t }), M();
|
4921
4900
|
}
|
4922
4901
|
}
|
4923
|
-
|
4902
|
+
pn(Lo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4924
4903
|
export {
|
4925
|
-
|
4904
|
+
Lo as default
|
4926
4905
|
};
|