@everymatrix/casino-collections-providers 1.63.2 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCollectionsProviders-BDhWKZsF.cjs +18 -0
- package/components/{CasinoCollectionsProviders-tpstUX6u.js → CasinoCollectionsProviders-Dk0oppKx.js} +796 -801
- package/components/{CasinoCollectionsProviders-B1VO9UIp.js → CasinoCollectionsProviders-Dr6Zug99.js} +824 -829
- 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-DCbQhqxv.cjs +0 -18
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-97d17652-B8yQdy7J.js +0 -542
- package/stencil/index-97d17652-C616IYj2.js +0 -558
- package/stencil/index-97d17652-C9Ph2JiE.cjs +0 -1
- package/stencil/ui-image-7da92f1f-26DzsVFt.js +0 -39
- package/stencil/ui-image-7da92f1f-BAghvEDf.js +0 -39
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
- package/stencil/ui-image-Bz0nQwNJ.cjs +0 -1
- package/stencil/ui-image-DX8NqsyA.js +0 -25
- package/stencil/ui-image-o9dMcntc.js +0 -7
- package/stencil/ui-image_2-BXgptLvl.js +0 -154
- package/stencil/ui-image_2-Cctik3aF.cjs +0 -73
- package/stencil/ui-image_2-Cyqb4u7k.js +0 -154
package/components/{CasinoCollectionsProviders-tpstUX6u.js → CasinoCollectionsProviders-Dk0oppKx.js}
RENAMED
@@ -1,29 +1,28 @@
|
|
1
|
-
import "../stencil/ui-image-o9dMcntc.js";
|
2
1
|
function A() {
|
3
2
|
}
|
4
|
-
function
|
3
|
+
function Xt(e) {
|
5
4
|
return e();
|
6
5
|
}
|
7
|
-
function
|
6
|
+
function mt() {
|
8
7
|
return /* @__PURE__ */ Object.create(null);
|
9
8
|
}
|
10
|
-
function
|
11
|
-
e.forEach(
|
9
|
+
function ee(e) {
|
10
|
+
e.forEach(Xt);
|
12
11
|
}
|
13
|
-
function
|
12
|
+
function ot(e) {
|
14
13
|
return typeof e == "function";
|
15
14
|
}
|
16
|
-
function
|
15
|
+
function Wt(e, t) {
|
17
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
18
17
|
}
|
19
|
-
let
|
20
|
-
function
|
21
|
-
return e === t ? !0 : (
|
18
|
+
let ce;
|
19
|
+
function ve(e, t) {
|
20
|
+
return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
|
22
21
|
}
|
23
|
-
function
|
22
|
+
function Gr(e) {
|
24
23
|
return Object.keys(e).length === 0;
|
25
24
|
}
|
26
|
-
function
|
25
|
+
function zt(e, ...t) {
|
27
26
|
if (e == null) {
|
28
27
|
for (const n of t)
|
29
28
|
n(void 0);
|
@@ -32,20 +31,20 @@ function Zt(e, ...t) {
|
|
32
31
|
const r = e.subscribe(...t);
|
33
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
34
33
|
}
|
35
|
-
function
|
36
|
-
e.$$.on_destroy.push(
|
34
|
+
function Ur(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(zt(t, r));
|
37
36
|
}
|
38
|
-
function
|
37
|
+
function H(e, t) {
|
39
38
|
e.appendChild(t);
|
40
39
|
}
|
41
|
-
function
|
42
|
-
const n =
|
40
|
+
function Dr(e, t, r) {
|
41
|
+
const n = Fr(e);
|
43
42
|
if (!n.getElementById(t)) {
|
44
|
-
const i =
|
45
|
-
i.id = t, i.textContent = r,
|
43
|
+
const i = C("style");
|
44
|
+
i.id = t, i.textContent = r, jr(n, i);
|
46
45
|
}
|
47
46
|
}
|
48
|
-
function
|
47
|
+
function Fr(e) {
|
49
48
|
if (!e)
|
50
49
|
return document;
|
51
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -55,58 +54,54 @@ function jr(e) {
|
|
55
54
|
t
|
56
55
|
) : e.ownerDocument;
|
57
56
|
}
|
58
|
-
function
|
59
|
-
return
|
57
|
+
function jr(e, t) {
|
58
|
+
return H(
|
60
59
|
/** @type {Document} */
|
61
60
|
e.head || e,
|
62
61
|
t
|
63
62
|
), t.sheet;
|
64
63
|
}
|
65
|
-
function
|
64
|
+
function G(e, t, r) {
|
66
65
|
e.insertBefore(t, r || null);
|
67
66
|
}
|
68
67
|
function I(e) {
|
69
68
|
e.parentNode && e.parentNode.removeChild(e);
|
70
69
|
}
|
71
|
-
function
|
70
|
+
function Zt(e, t) {
|
72
71
|
for (let r = 0; r < e.length; r += 1)
|
73
72
|
e[r] && e[r].d(t);
|
74
73
|
}
|
75
|
-
function
|
74
|
+
function C(e) {
|
76
75
|
return document.createElement(e);
|
77
76
|
}
|
78
|
-
function
|
77
|
+
function Te(e) {
|
79
78
|
return document.createTextNode(e);
|
80
79
|
}
|
81
|
-
function
|
82
|
-
return
|
80
|
+
function k() {
|
81
|
+
return Te(" ");
|
83
82
|
}
|
84
|
-
function
|
83
|
+
function ye(e, t, r, n) {
|
85
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
86
85
|
}
|
87
|
-
function
|
86
|
+
function kr(e) {
|
88
87
|
return function(t) {
|
89
88
|
return t.stopPropagation(), e.call(this, t);
|
90
89
|
};
|
91
90
|
}
|
92
|
-
function
|
91
|
+
function E(e, t, r) {
|
93
92
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
94
93
|
}
|
95
|
-
function
|
96
|
-
const n = t.toLowerCase();
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
|
98
|
-
}
|
99
|
-
function Xr(e) {
|
94
|
+
function Vr(e) {
|
100
95
|
return Array.from(e.childNodes);
|
101
96
|
}
|
102
|
-
function
|
97
|
+
function st(e, t) {
|
103
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
104
99
|
t);
|
105
100
|
}
|
106
|
-
function
|
101
|
+
function Ie(e, t, r, n) {
|
107
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
108
103
|
}
|
109
|
-
function
|
104
|
+
function Xr(e) {
|
110
105
|
const t = {};
|
111
106
|
return e.childNodes.forEach(
|
112
107
|
/** @param {Element} node */
|
@@ -115,90 +110,90 @@ function Wr(e) {
|
|
115
110
|
}
|
116
111
|
), t;
|
117
112
|
}
|
118
|
-
let
|
119
|
-
function
|
120
|
-
|
113
|
+
let se;
|
114
|
+
function oe(e) {
|
115
|
+
se = e;
|
121
116
|
}
|
122
|
-
function
|
123
|
-
if (!
|
117
|
+
function Wr() {
|
118
|
+
if (!se)
|
124
119
|
throw new Error("Function called outside component initialization");
|
125
|
-
return
|
120
|
+
return se;
|
126
121
|
}
|
127
|
-
function
|
128
|
-
|
122
|
+
function zr(e) {
|
123
|
+
Wr().$$.on_mount.push(e);
|
129
124
|
}
|
130
|
-
const
|
131
|
-
let
|
132
|
-
const
|
133
|
-
let
|
134
|
-
function
|
135
|
-
|
125
|
+
const Z = [], _e = [];
|
126
|
+
let Q = [];
|
127
|
+
const bt = [], Zr = /* @__PURE__ */ Promise.resolve();
|
128
|
+
let je = !1;
|
129
|
+
function Qr() {
|
130
|
+
je || (je = !0, Zr.then(O));
|
136
131
|
}
|
137
|
-
function
|
138
|
-
|
132
|
+
function ke(e) {
|
133
|
+
Q.push(e);
|
139
134
|
}
|
140
|
-
const
|
141
|
-
let
|
135
|
+
const Ne = /* @__PURE__ */ new Set();
|
136
|
+
let W = 0;
|
142
137
|
function O() {
|
143
|
-
if (
|
138
|
+
if (W !== 0)
|
144
139
|
return;
|
145
|
-
const e =
|
140
|
+
const e = se;
|
146
141
|
do {
|
147
142
|
try {
|
148
|
-
for (;
|
149
|
-
const t =
|
150
|
-
|
143
|
+
for (; W < Z.length; ) {
|
144
|
+
const t = Z[W];
|
145
|
+
W++, oe(t), Jr(t.$$);
|
151
146
|
}
|
152
147
|
} catch (t) {
|
153
|
-
throw
|
148
|
+
throw Z.length = 0, W = 0, t;
|
154
149
|
}
|
155
|
-
for (
|
156
|
-
|
157
|
-
for (let t = 0; t <
|
158
|
-
const r =
|
159
|
-
|
150
|
+
for (oe(null), Z.length = 0, W = 0; _e.length; )
|
151
|
+
_e.pop()();
|
152
|
+
for (let t = 0; t < Q.length; t += 1) {
|
153
|
+
const r = Q[t];
|
154
|
+
Ne.has(r) || (Ne.add(r), r());
|
160
155
|
}
|
161
|
-
|
162
|
-
} while (
|
163
|
-
for (;
|
164
|
-
|
165
|
-
|
156
|
+
Q.length = 0;
|
157
|
+
} while (Z.length);
|
158
|
+
for (; bt.length; )
|
159
|
+
bt.pop()();
|
160
|
+
je = !1, Ne.clear(), oe(e);
|
166
161
|
}
|
167
|
-
function
|
162
|
+
function Jr(e) {
|
168
163
|
if (e.fragment !== null) {
|
169
|
-
e.update(),
|
164
|
+
e.update(), ee(e.before_update);
|
170
165
|
const t = e.dirty;
|
171
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
166
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
172
167
|
}
|
173
168
|
}
|
174
|
-
function
|
169
|
+
function qr(e) {
|
175
170
|
const t = [], r = [];
|
176
|
-
|
171
|
+
Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
|
177
172
|
}
|
178
|
-
const
|
179
|
-
function
|
180
|
-
e && e.i && (
|
173
|
+
const Yr = /* @__PURE__ */ new Set();
|
174
|
+
function Kr(e, t) {
|
175
|
+
e && e.i && (Yr.delete(e), e.i(t));
|
181
176
|
}
|
182
|
-
function
|
177
|
+
function Ee(e) {
|
183
178
|
return e?.length !== void 0 ? e : Array.from(e);
|
184
179
|
}
|
185
|
-
function
|
180
|
+
function en(e, t, r) {
|
186
181
|
const { fragment: n, after_update: i } = e.$$;
|
187
|
-
n && n.m(t, r),
|
188
|
-
const o = e.$$.on_mount.map(
|
189
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
190
|
-
}), i.forEach(
|
182
|
+
n && n.m(t, r), ke(() => {
|
183
|
+
const o = e.$$.on_mount.map(Xt).filter(ot);
|
184
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
185
|
+
}), i.forEach(ke);
|
191
186
|
}
|
192
|
-
function
|
187
|
+
function tn(e, t) {
|
193
188
|
const r = e.$$;
|
194
|
-
r.fragment !== null && (
|
189
|
+
r.fragment !== null && (qr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
195
190
|
}
|
196
|
-
function
|
197
|
-
e.$$.dirty[0] === -1 && (
|
191
|
+
function rn(e, t) {
|
192
|
+
e.$$.dirty[0] === -1 && (Z.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
198
193
|
}
|
199
|
-
function
|
200
|
-
const h =
|
201
|
-
|
194
|
+
function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
195
|
+
const h = se;
|
196
|
+
oe(e);
|
202
197
|
const l = e.$$ = {
|
203
198
|
fragment: null,
|
204
199
|
ctx: [],
|
@@ -206,7 +201,7 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
206
201
|
props: o,
|
207
202
|
update: A,
|
208
203
|
not_equal: i,
|
209
|
-
bound:
|
204
|
+
bound: mt(),
|
210
205
|
// lifecycle
|
211
206
|
on_mount: [],
|
212
207
|
on_destroy: [],
|
@@ -215,7 +210,7 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
215
210
|
after_update: [],
|
216
211
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
217
212
|
// everything else
|
218
|
-
callbacks:
|
213
|
+
callbacks: mt(),
|
219
214
|
dirty: a,
|
220
215
|
skip_bound: !1,
|
221
216
|
root: t.target || h.$$.root
|
@@ -224,19 +219,19 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
224
219
|
let u = !1;
|
225
220
|
if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
226
221
|
const m = d.length ? d[0] : c;
|
227
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u &&
|
228
|
-
}) : [], l.update(), u = !0,
|
222
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && rn(e, f)), c;
|
223
|
+
}) : [], l.update(), u = !0, ee(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
229
224
|
if (t.hydrate) {
|
230
|
-
const f =
|
225
|
+
const f = Vr(t.target);
|
231
226
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
232
227
|
} else
|
233
228
|
l.fragment && l.fragment.c();
|
234
|
-
t.intro &&
|
229
|
+
t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), O();
|
235
230
|
}
|
236
|
-
|
231
|
+
oe(h);
|
237
232
|
}
|
238
|
-
let
|
239
|
-
typeof HTMLElement == "function" && (
|
233
|
+
let Qt;
|
234
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
240
235
|
/** The Svelte component constructor */
|
241
236
|
$$ctor;
|
242
237
|
/** Slots */
|
@@ -278,14 +273,14 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
278
273
|
let o;
|
279
274
|
return {
|
280
275
|
c: function() {
|
281
|
-
o =
|
276
|
+
o = C("slot"), i !== "default" && E(o, "name", i);
|
282
277
|
},
|
283
278
|
/**
|
284
279
|
* @param {HTMLElement} target
|
285
280
|
* @param {HTMLElement} [anchor]
|
286
281
|
*/
|
287
282
|
m: function(h, l) {
|
288
|
-
|
283
|
+
G(h, o, l);
|
289
284
|
},
|
290
285
|
d: function(h) {
|
291
286
|
h && I(o);
|
@@ -295,12 +290,12 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
295
290
|
};
|
296
291
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
297
292
|
return;
|
298
|
-
const t = {}, r =
|
293
|
+
const t = {}, r = Xr(this);
|
299
294
|
for (const i of this.$$s)
|
300
295
|
i in r && (t[i] = [e(i)]);
|
301
296
|
for (const i of this.attributes) {
|
302
297
|
const o = this.$$g_p(i.name);
|
303
|
-
o in this.$$d || (this.$$d[o] =
|
298
|
+
o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
|
304
299
|
}
|
305
300
|
for (const i in this.$$p_d)
|
306
301
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -318,7 +313,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
318
313
|
this.$$r = !0;
|
319
314
|
for (const i in this.$$p_d)
|
320
315
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
321
|
-
const o =
|
316
|
+
const o = pe(
|
322
317
|
i,
|
323
318
|
this.$$d[i],
|
324
319
|
this.$$p_d,
|
@@ -340,7 +335,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
340
335
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
341
336
|
// and setting attributes through setAttribute etc, this is helpful
|
342
337
|
attributeChangedCallback(e, t, r) {
|
343
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
338
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
344
339
|
}
|
345
340
|
disconnectedCallback() {
|
346
341
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -353,7 +348,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
353
348
|
) || e;
|
354
349
|
}
|
355
350
|
});
|
356
|
-
function
|
351
|
+
function pe(e, t, r, n) {
|
357
352
|
const i = r[e]?.type;
|
358
353
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
359
354
|
return t;
|
@@ -382,8 +377,8 @@ function me(e, t, r, n) {
|
|
382
377
|
return t;
|
383
378
|
}
|
384
379
|
}
|
385
|
-
function
|
386
|
-
let s = class extends
|
380
|
+
function on(e, t, r, n, i, o) {
|
381
|
+
let s = class extends Qt {
|
387
382
|
constructor() {
|
388
383
|
super(e, r, i), this.$$p_d = t;
|
389
384
|
}
|
@@ -399,7 +394,7 @@ function sn(e, t, r, n, i, o) {
|
|
399
394
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
400
395
|
},
|
401
396
|
set(h) {
|
402
|
-
h =
|
397
|
+
h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
403
398
|
}
|
404
399
|
});
|
405
400
|
}), n.forEach((a) => {
|
@@ -411,7 +406,7 @@ function sn(e, t, r, n, i, o) {
|
|
411
406
|
}), e.element = /** @type {any} */
|
412
407
|
s, s;
|
413
408
|
}
|
414
|
-
class
|
409
|
+
class sn {
|
415
410
|
/**
|
416
411
|
* ### PRIVATE API
|
417
412
|
*
|
@@ -430,7 +425,7 @@ class an {
|
|
430
425
|
$$set = void 0;
|
431
426
|
/** @returns {void} */
|
432
427
|
$destroy() {
|
433
|
-
|
428
|
+
tn(this, 1), this.$destroy = A;
|
434
429
|
}
|
435
430
|
/**
|
436
431
|
* @template {Extract<keyof Events, string>} K
|
@@ -439,7 +434,7 @@ class an {
|
|
439
434
|
* @returns {() => void}
|
440
435
|
*/
|
441
436
|
$on(t, r) {
|
442
|
-
if (!
|
437
|
+
if (!ot(r))
|
443
438
|
return A;
|
444
439
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
445
440
|
return n.push(r), () => {
|
@@ -452,29 +447,29 @@ class an {
|
|
452
447
|
* @returns {void}
|
453
448
|
*/
|
454
449
|
$set(t) {
|
455
|
-
this.$$set && !
|
450
|
+
this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
456
451
|
}
|
457
452
|
}
|
458
|
-
const
|
459
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
460
|
-
const
|
461
|
-
function
|
453
|
+
const an = "4";
|
454
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
|
455
|
+
const z = [];
|
456
|
+
function un(e, t) {
|
462
457
|
return {
|
463
|
-
subscribe:
|
458
|
+
subscribe: He(e, t).subscribe
|
464
459
|
};
|
465
460
|
}
|
466
|
-
function
|
461
|
+
function He(e, t = A) {
|
467
462
|
let r;
|
468
463
|
const n = /* @__PURE__ */ new Set();
|
469
464
|
function i(a) {
|
470
|
-
if (
|
471
|
-
const h = !
|
465
|
+
if (Wt(e, a) && (e = a, r)) {
|
466
|
+
const h = !z.length;
|
472
467
|
for (const l of n)
|
473
|
-
l[1](),
|
468
|
+
l[1](), z.push(l, e);
|
474
469
|
if (h) {
|
475
|
-
for (let l = 0; l <
|
476
|
-
|
477
|
-
|
470
|
+
for (let l = 0; l < z.length; l += 2)
|
471
|
+
z[l][0](z[l + 1]);
|
472
|
+
z.length = 0;
|
478
473
|
}
|
479
474
|
}
|
480
475
|
}
|
@@ -489,12 +484,12 @@ function Ce(e, t = A) {
|
|
489
484
|
}
|
490
485
|
return { set: i, update: o, subscribe: s };
|
491
486
|
}
|
492
|
-
function
|
487
|
+
function te(e, t, r) {
|
493
488
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
494
489
|
if (!i.every(Boolean))
|
495
490
|
throw new Error("derived() expects stores as input, got a falsy value");
|
496
491
|
const o = t.length < 2;
|
497
|
-
return
|
492
|
+
return un(r, (s, a) => {
|
498
493
|
let h = !1;
|
499
494
|
const l = [];
|
500
495
|
let u = 0, f = A;
|
@@ -503,9 +498,9 @@ function re(e, t, r) {
|
|
503
498
|
return;
|
504
499
|
f();
|
505
500
|
const m = t(n ? l[0] : l, s, a);
|
506
|
-
o ? s(m) : f =
|
501
|
+
o ? s(m) : f = ot(m) ? m : A;
|
507
502
|
}, d = i.map(
|
508
|
-
(m, b) =>
|
503
|
+
(m, b) => zt(
|
509
504
|
m,
|
510
505
|
(g) => {
|
511
506
|
l[b] = g, u &= ~(1 << b), h && c();
|
@@ -516,112 +511,112 @@ function re(e, t, r) {
|
|
516
511
|
)
|
517
512
|
);
|
518
513
|
return h = !0, c(), function() {
|
519
|
-
|
514
|
+
ee(d), f(), h = !1;
|
520
515
|
};
|
521
516
|
});
|
522
517
|
}
|
523
|
-
function
|
518
|
+
function ln(e) {
|
524
519
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
525
520
|
}
|
526
|
-
var
|
527
|
-
return
|
521
|
+
var hn = function(t) {
|
522
|
+
return cn(t) && !fn(t);
|
528
523
|
};
|
529
|
-
function
|
524
|
+
function cn(e) {
|
530
525
|
return !!e && typeof e == "object";
|
531
526
|
}
|
532
|
-
function
|
527
|
+
function fn(e) {
|
533
528
|
var t = Object.prototype.toString.call(e);
|
534
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
529
|
+
return t === "[object RegExp]" || t === "[object Date]" || mn(e);
|
535
530
|
}
|
536
|
-
var
|
537
|
-
function
|
538
|
-
return e.$$typeof ===
|
531
|
+
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
532
|
+
function mn(e) {
|
533
|
+
return e.$$typeof === pn;
|
539
534
|
}
|
540
|
-
function
|
535
|
+
function bn(e) {
|
541
536
|
return Array.isArray(e) ? [] : {};
|
542
537
|
}
|
543
|
-
function
|
544
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
538
|
+
function ae(e, t) {
|
539
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(bn(e), e, t) : e;
|
545
540
|
}
|
546
|
-
function
|
541
|
+
function gn(e, t, r) {
|
547
542
|
return e.concat(t).map(function(n) {
|
548
|
-
return
|
543
|
+
return ae(n, r);
|
549
544
|
});
|
550
545
|
}
|
551
|
-
function
|
546
|
+
function vn(e, t) {
|
552
547
|
if (!t.customMerge)
|
553
|
-
return
|
548
|
+
return J;
|
554
549
|
var r = t.customMerge(e);
|
555
|
-
return typeof r == "function" ? r :
|
550
|
+
return typeof r == "function" ? r : J;
|
556
551
|
}
|
557
|
-
function
|
552
|
+
function yn(e) {
|
558
553
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
559
554
|
return Object.propertyIsEnumerable.call(e, t);
|
560
555
|
}) : [];
|
561
556
|
}
|
562
|
-
function
|
563
|
-
return Object.keys(e).concat(
|
557
|
+
function gt(e) {
|
558
|
+
return Object.keys(e).concat(yn(e));
|
564
559
|
}
|
565
|
-
function
|
560
|
+
function Jt(e, t) {
|
566
561
|
try {
|
567
562
|
return t in e;
|
568
563
|
} catch {
|
569
564
|
return !1;
|
570
565
|
}
|
571
566
|
}
|
572
|
-
function
|
573
|
-
return
|
567
|
+
function _n(e, t) {
|
568
|
+
return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
574
569
|
}
|
575
|
-
function
|
570
|
+
function En(e, t, r) {
|
576
571
|
var n = {};
|
577
|
-
return r.isMergeableObject(e) &&
|
578
|
-
n[i] =
|
579
|
-
}),
|
580
|
-
|
572
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
573
|
+
n[i] = ae(e[i], r);
|
574
|
+
}), gt(t).forEach(function(i) {
|
575
|
+
_n(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
581
576
|
}), n;
|
582
577
|
}
|
583
|
-
function
|
584
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
578
|
+
function J(e, t, r) {
|
579
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = ae;
|
585
580
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
586
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
581
|
+
return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ae(t, r);
|
587
582
|
}
|
588
|
-
|
583
|
+
J.all = function(t, r) {
|
589
584
|
if (!Array.isArray(t))
|
590
585
|
throw new Error("first argument should be an array");
|
591
586
|
return t.reduce(function(n, i) {
|
592
|
-
return
|
587
|
+
return J(n, i, r);
|
593
588
|
}, {});
|
594
589
|
};
|
595
|
-
var
|
596
|
-
const
|
597
|
-
var
|
598
|
-
return
|
590
|
+
var xn = J, Sn = xn;
|
591
|
+
const wn = /* @__PURE__ */ ln(Sn);
|
592
|
+
var Ve = function(e, t) {
|
593
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
599
594
|
r.__proto__ = n;
|
600
595
|
} || function(r, n) {
|
601
596
|
for (var i in n)
|
602
597
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
603
|
-
},
|
598
|
+
}, Ve(e, t);
|
604
599
|
};
|
605
|
-
function
|
600
|
+
function Ce(e, t) {
|
606
601
|
if (typeof t != "function" && t !== null)
|
607
602
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
608
|
-
|
603
|
+
Ve(e, t);
|
609
604
|
function r() {
|
610
605
|
this.constructor = e;
|
611
606
|
}
|
612
607
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
613
608
|
}
|
614
|
-
var
|
615
|
-
return
|
609
|
+
var $ = function() {
|
610
|
+
return $ = Object.assign || function(t) {
|
616
611
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
617
612
|
r = arguments[n];
|
618
613
|
for (var o in r)
|
619
614
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
620
615
|
}
|
621
616
|
return t;
|
622
|
-
},
|
617
|
+
}, $.apply(this, arguments);
|
623
618
|
};
|
624
|
-
function
|
619
|
+
function Tn(e, t) {
|
625
620
|
var r = {};
|
626
621
|
for (var n in e)
|
627
622
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -630,43 +625,43 @@ function Hn(e, t) {
|
|
630
625
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
631
626
|
return r;
|
632
627
|
}
|
633
|
-
function
|
628
|
+
function Me(e, t, r) {
|
634
629
|
if (r || arguments.length === 2)
|
635
630
|
for (var n = 0, i = t.length, o; n < i; n++)
|
636
631
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
637
632
|
return e.concat(o || Array.prototype.slice.call(t));
|
638
633
|
}
|
639
|
-
function
|
640
|
-
var r = t && t.cache ? t.cache :
|
634
|
+
function Re(e, t) {
|
635
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Pn;
|
641
636
|
return i(e, {
|
642
637
|
cache: r,
|
643
638
|
serializer: n
|
644
639
|
});
|
645
640
|
}
|
646
|
-
function
|
641
|
+
function Hn(e) {
|
647
642
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
648
643
|
}
|
649
|
-
function
|
650
|
-
var i =
|
644
|
+
function Cn(e, t, r, n) {
|
645
|
+
var i = Hn(n) ? n : r(n), o = t.get(i);
|
651
646
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
652
647
|
}
|
653
|
-
function
|
648
|
+
function qt(e, t, r) {
|
654
649
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
655
650
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
656
651
|
}
|
657
|
-
function
|
652
|
+
function Yt(e, t, r, n, i) {
|
658
653
|
return r.bind(t, e, n, i);
|
659
654
|
}
|
660
|
-
function
|
661
|
-
var r = e.length === 1 ?
|
662
|
-
return
|
655
|
+
function Pn(e, t) {
|
656
|
+
var r = e.length === 1 ? Cn : qt;
|
657
|
+
return Yt(e, this, r, t.cache.create(), t.serializer);
|
663
658
|
}
|
664
|
-
function
|
665
|
-
return
|
659
|
+
function Bn(e, t) {
|
660
|
+
return Yt(e, this, qt, t.cache.create(), t.serializer);
|
666
661
|
}
|
667
|
-
var
|
662
|
+
var An = function() {
|
668
663
|
return JSON.stringify(arguments);
|
669
|
-
},
|
664
|
+
}, On = (
|
670
665
|
/** @class */
|
671
666
|
function() {
|
672
667
|
function e() {
|
@@ -678,71 +673,71 @@ var On = function() {
|
|
678
673
|
this.cache[t] = r;
|
679
674
|
}, e;
|
680
675
|
}()
|
681
|
-
),
|
676
|
+
), Ln = {
|
682
677
|
create: function() {
|
683
|
-
return new
|
678
|
+
return new On();
|
684
679
|
}
|
685
|
-
},
|
686
|
-
variadic:
|
687
|
-
},
|
688
|
-
return
|
680
|
+
}, $e = {
|
681
|
+
variadic: Bn
|
682
|
+
}, xe = function() {
|
683
|
+
return xe = Object.assign || function(t) {
|
689
684
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
690
685
|
r = arguments[n];
|
691
686
|
for (var o in r)
|
692
687
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
693
688
|
}
|
694
689
|
return t;
|
695
|
-
},
|
690
|
+
}, xe.apply(this, arguments);
|
696
691
|
};
|
697
692
|
var v;
|
698
693
|
(function(e) {
|
699
694
|
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";
|
700
695
|
})(v || (v = {}));
|
701
|
-
var
|
696
|
+
var S;
|
702
697
|
(function(e) {
|
703
698
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
704
|
-
})(
|
705
|
-
var
|
699
|
+
})(S || (S = {}));
|
700
|
+
var q;
|
706
701
|
(function(e) {
|
707
702
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
708
|
-
})(
|
709
|
-
function
|
710
|
-
return e.type ===
|
703
|
+
})(q || (q = {}));
|
704
|
+
function vt(e) {
|
705
|
+
return e.type === S.literal;
|
711
706
|
}
|
712
|
-
function
|
713
|
-
return e.type ===
|
707
|
+
function In(e) {
|
708
|
+
return e.type === S.argument;
|
709
|
+
}
|
710
|
+
function Kt(e) {
|
711
|
+
return e.type === S.number;
|
714
712
|
}
|
715
713
|
function er(e) {
|
716
|
-
return e.type ===
|
714
|
+
return e.type === S.date;
|
717
715
|
}
|
718
716
|
function tr(e) {
|
719
|
-
return e.type ===
|
717
|
+
return e.type === S.time;
|
720
718
|
}
|
721
719
|
function rr(e) {
|
722
|
-
return e.type ===
|
720
|
+
return e.type === S.select;
|
723
721
|
}
|
724
722
|
function nr(e) {
|
725
|
-
return e.type ===
|
723
|
+
return e.type === S.plural;
|
726
724
|
}
|
727
|
-
function
|
728
|
-
return e.type ===
|
725
|
+
function Nn(e) {
|
726
|
+
return e.type === S.pound;
|
729
727
|
}
|
730
|
-
function
|
731
|
-
return e.type ===
|
728
|
+
function ir(e) {
|
729
|
+
return e.type === S.tag;
|
732
730
|
}
|
733
731
|
function or(e) {
|
734
|
-
return e.type ===
|
732
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
735
733
|
}
|
736
|
-
function
|
737
|
-
return !!(e && typeof e == "object" && e.type ===
|
734
|
+
function Xe(e) {
|
735
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
738
736
|
}
|
739
|
-
|
740
|
-
|
741
|
-
}
|
742
|
-
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
743
|
-
function $n(e) {
|
737
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
|
738
|
+
function Rn(e) {
|
744
739
|
var t = {};
|
745
|
-
return e.replace(
|
740
|
+
return e.replace(Mn, function(r) {
|
746
741
|
var n = r.length;
|
747
742
|
switch (r[0]) {
|
748
743
|
case "G":
|
@@ -831,21 +826,21 @@ function $n(e) {
|
|
831
826
|
return "";
|
832
827
|
}), t;
|
833
828
|
}
|
834
|
-
var
|
835
|
-
return
|
829
|
+
var w = function() {
|
830
|
+
return w = Object.assign || function(t) {
|
836
831
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
837
832
|
r = arguments[n];
|
838
833
|
for (var o in r)
|
839
834
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
840
835
|
}
|
841
836
|
return t;
|
842
|
-
},
|
837
|
+
}, w.apply(this, arguments);
|
843
838
|
};
|
844
|
-
var
|
845
|
-
function
|
839
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
840
|
+
function Gn(e) {
|
846
841
|
if (e.length === 0)
|
847
842
|
throw new Error("Number skeleton cannot be empty");
|
848
|
-
for (var t = e.split(
|
843
|
+
for (var t = e.split($n).filter(function(c) {
|
849
844
|
return c.length > 0;
|
850
845
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
851
846
|
var o = i[n], s = o.split("/");
|
@@ -860,17 +855,17 @@ function Un(e) {
|
|
860
855
|
}
|
861
856
|
return r;
|
862
857
|
}
|
863
|
-
function
|
858
|
+
function Un(e) {
|
864
859
|
return e.replace(/^(.*?)-/, "");
|
865
860
|
}
|
866
|
-
var
|
867
|
-
function
|
861
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
862
|
+
function _t(e) {
|
868
863
|
var t = {};
|
869
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
864
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
870
865
|
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)), "";
|
871
866
|
}), t;
|
872
867
|
}
|
873
|
-
function
|
868
|
+
function lr(e) {
|
874
869
|
switch (e) {
|
875
870
|
case "sign-auto":
|
876
871
|
return {
|
@@ -910,7 +905,7 @@ function hr(e) {
|
|
910
905
|
};
|
911
906
|
}
|
912
907
|
}
|
913
|
-
function
|
908
|
+
function Fn(e) {
|
914
909
|
var t;
|
915
910
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
916
911
|
notation: "engineering"
|
@@ -918,17 +913,17 @@ function jn(e) {
|
|
918
913
|
notation: "scientific"
|
919
914
|
}, e = e.slice(1)), t) {
|
920
915
|
var r = e.slice(0, 2);
|
921
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
916
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
|
922
917
|
throw new Error("Malformed concise eng/scientific notation");
|
923
918
|
t.minimumIntegerDigits = e.length;
|
924
919
|
}
|
925
920
|
return t;
|
926
921
|
}
|
927
|
-
function
|
928
|
-
var t = {}, r =
|
922
|
+
function Et(e) {
|
923
|
+
var t = {}, r = lr(e);
|
929
924
|
return r || t;
|
930
925
|
}
|
931
|
-
function
|
926
|
+
function jn(e) {
|
932
927
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
933
928
|
var i = n[r];
|
934
929
|
switch (i.stem) {
|
@@ -952,7 +947,7 @@ function kn(e) {
|
|
952
947
|
continue;
|
953
948
|
case "measure-unit":
|
954
949
|
case "unit":
|
955
|
-
t.style = "unit", t.unit =
|
950
|
+
t.style = "unit", t.unit = Un(i.options[0]);
|
956
951
|
continue;
|
957
952
|
case "compact-short":
|
958
953
|
case "K":
|
@@ -963,13 +958,13 @@ function kn(e) {
|
|
963
958
|
t.notation = "compact", t.compactDisplay = "long";
|
964
959
|
continue;
|
965
960
|
case "scientific":
|
966
|
-
t =
|
967
|
-
return
|
961
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
962
|
+
return w(w({}, h), Et(l));
|
968
963
|
}, {}));
|
969
964
|
continue;
|
970
965
|
case "engineering":
|
971
|
-
t =
|
972
|
-
return
|
966
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
967
|
+
return w(w({}, h), Et(l));
|
973
968
|
}, {}));
|
974
969
|
continue;
|
975
970
|
case "notation-simple":
|
@@ -1014,7 +1009,7 @@ function kn(e) {
|
|
1014
1009
|
case "integer-width":
|
1015
1010
|
if (i.options.length > 1)
|
1016
1011
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1017
|
-
i.options[0].replace(
|
1012
|
+
i.options[0].replace(Dn, function(h, l, u, f, c, d) {
|
1018
1013
|
if (l)
|
1019
1014
|
t.minimumIntegerDigits = u.length;
|
1020
1015
|
else {
|
@@ -1027,32 +1022,32 @@ function kn(e) {
|
|
1027
1022
|
});
|
1028
1023
|
continue;
|
1029
1024
|
}
|
1030
|
-
if (
|
1025
|
+
if (ur.test(i.stem)) {
|
1031
1026
|
t.minimumIntegerDigits = i.stem.length;
|
1032
1027
|
continue;
|
1033
1028
|
}
|
1034
|
-
if (
|
1029
|
+
if (yt.test(i.stem)) {
|
1035
1030
|
if (i.options.length > 1)
|
1036
1031
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1037
|
-
i.stem.replace(
|
1032
|
+
i.stem.replace(yt, function(h, l, u, f, c, d) {
|
1038
1033
|
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1039
1034
|
});
|
1040
1035
|
var o = i.options[0];
|
1041
|
-
o === "w" ? t =
|
1036
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), _t(o)));
|
1042
1037
|
continue;
|
1043
1038
|
}
|
1044
|
-
if (
|
1045
|
-
t =
|
1039
|
+
if (ar.test(i.stem)) {
|
1040
|
+
t = w(w({}, t), _t(i.stem));
|
1046
1041
|
continue;
|
1047
1042
|
}
|
1048
|
-
var s =
|
1049
|
-
s && (t =
|
1050
|
-
var a =
|
1051
|
-
a && (t =
|
1043
|
+
var s = lr(i.stem);
|
1044
|
+
s && (t = w(w({}, t), s));
|
1045
|
+
var a = Fn(i.stem);
|
1046
|
+
a && (t = w(w({}, t), a));
|
1052
1047
|
}
|
1053
1048
|
return t;
|
1054
1049
|
}
|
1055
|
-
var
|
1050
|
+
var fe = {
|
1056
1051
|
"001": [
|
1057
1052
|
"H",
|
1058
1053
|
"h"
|
@@ -2467,13 +2462,13 @@ var de = {
|
|
2467
2462
|
"h"
|
2468
2463
|
]
|
2469
2464
|
};
|
2470
|
-
function
|
2465
|
+
function kn(e, t) {
|
2471
2466
|
for (var r = "", n = 0; n < e.length; n++) {
|
2472
2467
|
var i = e.charAt(n);
|
2473
2468
|
if (i === "j") {
|
2474
2469
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2475
2470
|
o++, n++;
|
2476
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
2471
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Vn(t);
|
2477
2472
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2478
2473
|
r += h;
|
2479
2474
|
for (; s-- > 0; )
|
@@ -2483,7 +2478,7 @@ function Vn(e, t) {
|
|
2483
2478
|
}
|
2484
2479
|
return r;
|
2485
2480
|
}
|
2486
|
-
function
|
2481
|
+
function Vn(e) {
|
2487
2482
|
var t = e.hourCycle;
|
2488
2483
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2489
2484
|
e.hourCycles && // @ts-ignore
|
@@ -2502,23 +2497,23 @@ function Xn(e) {
|
|
2502
2497
|
}
|
2503
2498
|
var r = e.language, n;
|
2504
2499
|
r !== "root" && (n = e.maximize().region);
|
2505
|
-
var i =
|
2500
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
2506
2501
|
return i[0];
|
2507
2502
|
}
|
2508
|
-
var
|
2503
|
+
var Ge, Xn = new RegExp("^".concat(sr.source, "*")), Wn = new RegExp("".concat(sr.source, "*$"));
|
2509
2504
|
function y(e, t) {
|
2510
2505
|
return { start: e, end: t };
|
2511
2506
|
}
|
2512
|
-
var
|
2507
|
+
var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
|
2513
2508
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2514
|
-
},
|
2509
|
+
}, We = !0;
|
2515
2510
|
try {
|
2516
|
-
var
|
2517
|
-
|
2511
|
+
var ti = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2512
|
+
We = ((Ge = ti.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2518
2513
|
} catch {
|
2519
|
-
|
2514
|
+
We = !1;
|
2520
2515
|
}
|
2521
|
-
var
|
2516
|
+
var xt = zn ? (
|
2522
2517
|
// Native
|
2523
2518
|
function(t, r, n) {
|
2524
2519
|
return t.startsWith(r, n);
|
@@ -2528,7 +2523,7 @@ var St = Zn ? (
|
|
2528
2523
|
function(t, r, n) {
|
2529
2524
|
return t.slice(n, n + r.length) === r;
|
2530
2525
|
}
|
2531
|
-
),
|
2526
|
+
), ze = Zn ? String.fromCodePoint : (
|
2532
2527
|
// IE11
|
2533
2528
|
function() {
|
2534
2529
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2540,9 +2535,9 @@ var St = Zn ? (
|
|
2540
2535
|
}
|
2541
2536
|
return n;
|
2542
2537
|
}
|
2543
|
-
),
|
2538
|
+
), St = (
|
2544
2539
|
// native
|
2545
|
-
|
2540
|
+
Qn ? Object.fromEntries : (
|
2546
2541
|
// Ponyfill
|
2547
2542
|
function(t) {
|
2548
2543
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2552,7 +2547,7 @@ var St = Zn ? (
|
|
2552
2547
|
return r;
|
2553
2548
|
}
|
2554
2549
|
)
|
2555
|
-
),
|
2550
|
+
), hr = Jn ? (
|
2556
2551
|
// Native
|
2557
2552
|
function(t, r) {
|
2558
2553
|
return t.codePointAt(r);
|
@@ -2566,7 +2561,7 @@ var St = Zn ? (
|
|
2566
2561
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2567
2562
|
}
|
2568
2563
|
}
|
2569
|
-
),
|
2564
|
+
), ri = qn ? (
|
2570
2565
|
// Native
|
2571
2566
|
function(t) {
|
2572
2567
|
return t.trimStart();
|
@@ -2574,9 +2569,9 @@ var St = Zn ? (
|
|
2574
2569
|
) : (
|
2575
2570
|
// Ponyfill
|
2576
2571
|
function(t) {
|
2577
|
-
return t.replace(
|
2572
|
+
return t.replace(Xn, "");
|
2578
2573
|
}
|
2579
|
-
),
|
2574
|
+
), ni = Yn ? (
|
2580
2575
|
// Native
|
2581
2576
|
function(t) {
|
2582
2577
|
return t.trimEnd();
|
@@ -2584,32 +2579,32 @@ var St = Zn ? (
|
|
2584
2579
|
) : (
|
2585
2580
|
// Ponyfill
|
2586
2581
|
function(t) {
|
2587
|
-
return t.replace(
|
2582
|
+
return t.replace(Wn, "");
|
2588
2583
|
}
|
2589
2584
|
);
|
2590
|
-
function
|
2585
|
+
function cr(e, t) {
|
2591
2586
|
return new RegExp(e, t);
|
2592
2587
|
}
|
2593
|
-
var
|
2594
|
-
if (
|
2595
|
-
var
|
2596
|
-
|
2588
|
+
var Ze;
|
2589
|
+
if (We) {
|
2590
|
+
var wt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2591
|
+
Ze = function(t, r) {
|
2597
2592
|
var n;
|
2598
|
-
|
2599
|
-
var i =
|
2593
|
+
wt.lastIndex = r;
|
2594
|
+
var i = wt.exec(t);
|
2600
2595
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2601
2596
|
};
|
2602
2597
|
} else
|
2603
|
-
|
2598
|
+
Ze = function(t, r) {
|
2604
2599
|
for (var n = []; ; ) {
|
2605
|
-
var i =
|
2606
|
-
if (i === void 0 ||
|
2600
|
+
var i = hr(t, r);
|
2601
|
+
if (i === void 0 || fr(i) || ai(i))
|
2607
2602
|
break;
|
2608
2603
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2609
2604
|
}
|
2610
|
-
return
|
2605
|
+
return ze.apply(void 0, n);
|
2611
2606
|
};
|
2612
|
-
var
|
2607
|
+
var ii = (
|
2613
2608
|
/** @class */
|
2614
2609
|
function() {
|
2615
2610
|
function e(t, r) {
|
@@ -2633,14 +2628,14 @@ var oi = (
|
|
2633
2628
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2634
2629
|
var a = this.clonePosition();
|
2635
2630
|
this.bump(), i.push({
|
2636
|
-
type:
|
2631
|
+
type: S.pound,
|
2637
2632
|
location: y(a, this.clonePosition())
|
2638
2633
|
});
|
2639
2634
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2640
2635
|
if (n)
|
2641
2636
|
break;
|
2642
2637
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2643
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2638
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
2644
2639
|
var s = this.parseTag(t, r);
|
2645
2640
|
if (s.err)
|
2646
2641
|
return s;
|
@@ -2661,7 +2656,7 @@ var oi = (
|
|
2661
2656
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2662
2657
|
return {
|
2663
2658
|
val: {
|
2664
|
-
type:
|
2659
|
+
type: S.literal,
|
2665
2660
|
value: "<".concat(i, "/>"),
|
2666
2661
|
location: y(n, this.clonePosition())
|
2667
2662
|
},
|
@@ -2673,12 +2668,12 @@ var oi = (
|
|
2673
2668
|
return o;
|
2674
2669
|
var s = o.val, a = this.clonePosition();
|
2675
2670
|
if (this.bumpIf("</")) {
|
2676
|
-
if (this.isEOF() || !
|
2671
|
+
if (this.isEOF() || !Qe(this.char()))
|
2677
2672
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2678
2673
|
var h = this.clonePosition(), l = this.parseTagName();
|
2679
2674
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2680
2675
|
val: {
|
2681
|
-
type:
|
2676
|
+
type: S.tag,
|
2682
2677
|
value: i,
|
2683
2678
|
children: s,
|
2684
2679
|
location: y(n, this.clonePosition())
|
@@ -2691,7 +2686,7 @@ var oi = (
|
|
2691
2686
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2692
2687
|
}, e.prototype.parseTagName = function() {
|
2693
2688
|
var t = this.offset();
|
2694
|
-
for (this.bump(); !this.isEOF() &&
|
2689
|
+
for (this.bump(); !this.isEOF() && si(this.char()); )
|
2695
2690
|
this.bump();
|
2696
2691
|
return this.message.slice(t, this.offset());
|
2697
2692
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2715,12 +2710,12 @@ var oi = (
|
|
2715
2710
|
}
|
2716
2711
|
var h = y(n, this.clonePosition());
|
2717
2712
|
return {
|
2718
|
-
val: { type:
|
2713
|
+
val: { type: S.literal, value: i, location: h },
|
2719
2714
|
err: null
|
2720
2715
|
};
|
2721
2716
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2722
2717
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2723
|
-
!
|
2718
|
+
!oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2724
2719
|
}, e.prototype.tryParseQuote = function(t) {
|
2725
2720
|
if (this.isEOF() || this.char() !== 39)
|
2726
2721
|
return null;
|
@@ -2754,12 +2749,12 @@ var oi = (
|
|
2754
2749
|
r.push(n);
|
2755
2750
|
this.bump();
|
2756
2751
|
}
|
2757
|
-
return
|
2752
|
+
return ze.apply(void 0, r);
|
2758
2753
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2759
2754
|
if (this.isEOF())
|
2760
2755
|
return null;
|
2761
2756
|
var n = this.char();
|
2762
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2757
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
2763
2758
|
}, e.prototype.parseArgument = function(t, r) {
|
2764
2759
|
var n = this.clonePosition();
|
2765
2760
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2775,7 +2770,7 @@ var oi = (
|
|
2775
2770
|
case 125:
|
2776
2771
|
return this.bump(), {
|
2777
2772
|
val: {
|
2778
|
-
type:
|
2773
|
+
type: S.argument,
|
2779
2774
|
// value does not include the opening and closing braces.
|
2780
2775
|
value: i,
|
2781
2776
|
location: y(n, this.clonePosition())
|
@@ -2788,7 +2783,7 @@ var oi = (
|
|
2788
2783
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2789
2784
|
}
|
2790
2785
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2791
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2786
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
2792
2787
|
this.bumpTo(i);
|
2793
2788
|
var o = this.clonePosition(), s = y(t, o);
|
2794
2789
|
return { value: n, location: s };
|
@@ -2807,7 +2802,7 @@ var oi = (
|
|
2807
2802
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2808
2803
|
if (f.err)
|
2809
2804
|
return f;
|
2810
|
-
var c =
|
2805
|
+
var c = ni(f.val);
|
2811
2806
|
if (c.length === 0)
|
2812
2807
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2813
2808
|
var d = y(u, this.clonePosition());
|
@@ -2817,25 +2812,25 @@ var oi = (
|
|
2817
2812
|
if (m.err)
|
2818
2813
|
return m;
|
2819
2814
|
var b = y(i, this.clonePosition());
|
2820
|
-
if (l &&
|
2821
|
-
var g =
|
2815
|
+
if (l && xt(l?.style, "::", 0)) {
|
2816
|
+
var g = ri(l.style.slice(2));
|
2822
2817
|
if (a === "number") {
|
2823
2818
|
var f = this.parseNumberSkeletonFromString(g, l.styleLocation);
|
2824
2819
|
return f.err ? f : {
|
2825
|
-
val: { type:
|
2820
|
+
val: { type: S.number, value: n, location: b, style: f.val },
|
2826
2821
|
err: null
|
2827
2822
|
};
|
2828
2823
|
} else {
|
2829
2824
|
if (g.length === 0)
|
2830
2825
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2831
|
-
var
|
2832
|
-
this.locale && (
|
2826
|
+
var x = g;
|
2827
|
+
this.locale && (x = kn(g, this.locale));
|
2833
2828
|
var c = {
|
2834
|
-
type:
|
2835
|
-
pattern:
|
2829
|
+
type: q.dateTime,
|
2830
|
+
pattern: x,
|
2836
2831
|
location: l.styleLocation,
|
2837
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2838
|
-
}, _ = a === "date" ?
|
2832
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(x) : {}
|
2833
|
+
}, _ = a === "date" ? S.date : S.time;
|
2839
2834
|
return {
|
2840
2835
|
val: { type: _, value: n, location: b, style: c },
|
2841
2836
|
err: null
|
@@ -2844,7 +2839,7 @@ var oi = (
|
|
2844
2839
|
}
|
2845
2840
|
return {
|
2846
2841
|
val: {
|
2847
|
-
type: a === "number" ?
|
2842
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2848
2843
|
value: n,
|
2849
2844
|
location: b,
|
2850
2845
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
@@ -2855,43 +2850,43 @@ var oi = (
|
|
2855
2850
|
case "plural":
|
2856
2851
|
case "selectordinal":
|
2857
2852
|
case "select": {
|
2858
|
-
var
|
2853
|
+
var T = this.clonePosition();
|
2859
2854
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2860
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
2855
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, xe({}, T)));
|
2861
2856
|
this.bumpSpace();
|
2862
|
-
var
|
2863
|
-
if (a !== "select" &&
|
2857
|
+
var D = this.parseIdentifierIfPossible(), L = 0;
|
2858
|
+
if (a !== "select" && D.value === "offset") {
|
2864
2859
|
if (!this.bumpIf(":"))
|
2865
2860
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
2866
2861
|
this.bumpSpace();
|
2867
2862
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2868
2863
|
if (f.err)
|
2869
2864
|
return f;
|
2870
|
-
this.bumpSpace(),
|
2865
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = f.val;
|
2871
2866
|
}
|
2872
|
-
var
|
2873
|
-
if (
|
2874
|
-
return
|
2867
|
+
var j = this.tryParsePluralOrSelectOptions(t, a, r, D);
|
2868
|
+
if (j.err)
|
2869
|
+
return j;
|
2875
2870
|
var m = this.tryParseArgumentClose(i);
|
2876
2871
|
if (m.err)
|
2877
2872
|
return m;
|
2878
|
-
var
|
2873
|
+
var X = y(i, this.clonePosition());
|
2879
2874
|
return a === "select" ? {
|
2880
2875
|
val: {
|
2881
|
-
type:
|
2876
|
+
type: S.select,
|
2882
2877
|
value: n,
|
2883
|
-
options:
|
2884
|
-
location:
|
2878
|
+
options: St(j.val),
|
2879
|
+
location: X
|
2885
2880
|
},
|
2886
2881
|
err: null
|
2887
2882
|
} : {
|
2888
2883
|
val: {
|
2889
|
-
type:
|
2884
|
+
type: S.plural,
|
2890
2885
|
value: n,
|
2891
|
-
options:
|
2886
|
+
options: St(j.val),
|
2892
2887
|
offset: L,
|
2893
2888
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2894
|
-
location:
|
2889
|
+
location: X
|
2895
2890
|
},
|
2896
2891
|
err: null
|
2897
2892
|
};
|
@@ -2939,16 +2934,16 @@ var oi = (
|
|
2939
2934
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2940
2935
|
var n = [];
|
2941
2936
|
try {
|
2942
|
-
n =
|
2937
|
+
n = Gn(t);
|
2943
2938
|
} catch {
|
2944
2939
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
2945
2940
|
}
|
2946
2941
|
return {
|
2947
2942
|
val: {
|
2948
|
-
type:
|
2943
|
+
type: q.number,
|
2949
2944
|
tokens: n,
|
2950
2945
|
location: r,
|
2951
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2946
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
2952
2947
|
},
|
2953
2948
|
err: null
|
2954
2949
|
};
|
@@ -2996,7 +2991,7 @@ var oi = (
|
|
2996
2991
|
break;
|
2997
2992
|
}
|
2998
2993
|
var h = y(i, this.clonePosition());
|
2999
|
-
return o ? (s *= n,
|
2994
|
+
return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3000
2995
|
}, e.prototype.offset = function() {
|
3001
2996
|
return this.position.offset;
|
3002
2997
|
}, e.prototype.isEOF = function() {
|
@@ -3011,7 +3006,7 @@ var oi = (
|
|
3011
3006
|
var t = this.position.offset;
|
3012
3007
|
if (t >= this.message.length)
|
3013
3008
|
throw Error("out of bound");
|
3014
|
-
var r =
|
3009
|
+
var r = hr(this.message, t);
|
3015
3010
|
if (r === void 0)
|
3016
3011
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3017
3012
|
return r;
|
@@ -3030,7 +3025,7 @@ var oi = (
|
|
3030
3025
|
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);
|
3031
3026
|
}
|
3032
3027
|
}, e.prototype.bumpIf = function(t) {
|
3033
|
-
if (
|
3028
|
+
if (xt(this.message, t, this.offset())) {
|
3034
3029
|
for (var r = 0; r < t.length; r++)
|
3035
3030
|
this.bump();
|
3036
3031
|
return !0;
|
@@ -3052,7 +3047,7 @@ var oi = (
|
|
3052
3047
|
break;
|
3053
3048
|
}
|
3054
3049
|
}, e.prototype.bumpSpace = function() {
|
3055
|
-
for (; !this.isEOF() &&
|
3050
|
+
for (; !this.isEOF() && fr(this.char()); )
|
3056
3051
|
this.bump();
|
3057
3052
|
}, e.prototype.peek = function() {
|
3058
3053
|
if (this.isEOF())
|
@@ -3062,47 +3057,47 @@ var oi = (
|
|
3062
3057
|
}, e;
|
3063
3058
|
}()
|
3064
3059
|
);
|
3065
|
-
function
|
3060
|
+
function Qe(e) {
|
3066
3061
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3067
3062
|
}
|
3068
|
-
function
|
3069
|
-
return
|
3063
|
+
function oi(e) {
|
3064
|
+
return Qe(e) || e === 47;
|
3070
3065
|
}
|
3071
|
-
function
|
3066
|
+
function si(e) {
|
3072
3067
|
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;
|
3073
3068
|
}
|
3074
|
-
function
|
3069
|
+
function fr(e) {
|
3075
3070
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3076
3071
|
}
|
3077
|
-
function
|
3072
|
+
function ai(e) {
|
3078
3073
|
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;
|
3079
3074
|
}
|
3080
|
-
function
|
3075
|
+
function Je(e) {
|
3081
3076
|
e.forEach(function(t) {
|
3082
|
-
if (delete t.location,
|
3077
|
+
if (delete t.location, rr(t) || nr(t))
|
3083
3078
|
for (var r in t.options)
|
3084
|
-
delete t.options[r].location,
|
3079
|
+
delete t.options[r].location, Je(t.options[r].value);
|
3085
3080
|
else
|
3086
|
-
|
3081
|
+
Kt(t) && or(t.style) || (er(t) || tr(t)) && Xe(t.style) ? delete t.style.location : ir(t) && Je(t.children);
|
3087
3082
|
});
|
3088
3083
|
}
|
3089
|
-
function
|
3090
|
-
t === void 0 && (t = {}), t =
|
3091
|
-
var r = new
|
3084
|
+
function ui(e, t) {
|
3085
|
+
t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3086
|
+
var r = new ii(e, t).parse();
|
3092
3087
|
if (r.err) {
|
3093
3088
|
var n = SyntaxError(v[r.err.kind]);
|
3094
3089
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3095
3090
|
}
|
3096
|
-
return t?.captureLocation ||
|
3091
|
+
return t?.captureLocation || Je(r.val), r.val;
|
3097
3092
|
}
|
3098
|
-
var
|
3093
|
+
var Y;
|
3099
3094
|
(function(e) {
|
3100
3095
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3101
|
-
})(
|
3102
|
-
var
|
3096
|
+
})(Y || (Y = {}));
|
3097
|
+
var Pe = (
|
3103
3098
|
/** @class */
|
3104
3099
|
function(e) {
|
3105
|
-
|
3100
|
+
Ce(t, e);
|
3106
3101
|
function t(r, n, i) {
|
3107
3102
|
var o = e.call(this, r) || this;
|
3108
3103
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3111,48 +3106,48 @@ var Be = (
|
|
3111
3106
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3112
3107
|
}, t;
|
3113
3108
|
}(Error)
|
3114
|
-
),
|
3109
|
+
), Tt = (
|
3115
3110
|
/** @class */
|
3116
3111
|
function(e) {
|
3117
|
-
|
3112
|
+
Ce(t, e);
|
3118
3113
|
function t(r, n, i, o) {
|
3119
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3114
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
3120
3115
|
}
|
3121
3116
|
return t;
|
3122
|
-
}(
|
3123
|
-
),
|
3117
|
+
}(Pe)
|
3118
|
+
), li = (
|
3124
3119
|
/** @class */
|
3125
3120
|
function(e) {
|
3126
|
-
|
3121
|
+
Ce(t, e);
|
3127
3122
|
function t(r, n, i) {
|
3128
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3123
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
3129
3124
|
}
|
3130
3125
|
return t;
|
3131
|
-
}(
|
3132
|
-
),
|
3126
|
+
}(Pe)
|
3127
|
+
), hi = (
|
3133
3128
|
/** @class */
|
3134
3129
|
function(e) {
|
3135
|
-
|
3130
|
+
Ce(t, e);
|
3136
3131
|
function t(r, n) {
|
3137
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3132
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
3138
3133
|
}
|
3139
3134
|
return t;
|
3140
|
-
}(
|
3135
|
+
}(Pe)
|
3141
3136
|
), B;
|
3142
3137
|
(function(e) {
|
3143
3138
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3144
3139
|
})(B || (B = {}));
|
3145
|
-
function
|
3140
|
+
function ci(e) {
|
3146
3141
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3147
3142
|
var n = t[t.length - 1];
|
3148
3143
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
3149
3144
|
}, []);
|
3150
3145
|
}
|
3151
|
-
function
|
3146
|
+
function fi(e) {
|
3152
3147
|
return typeof e == "function";
|
3153
3148
|
}
|
3154
|
-
function
|
3155
|
-
if (e.length === 1 &&
|
3149
|
+
function me(e, t, r, n, i, o, s) {
|
3150
|
+
if (e.length === 1 && vt(e[0]))
|
3156
3151
|
return [
|
3157
3152
|
{
|
3158
3153
|
type: B.literal,
|
@@ -3161,14 +3156,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3161
3156
|
];
|
3162
3157
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
3163
3158
|
var u = l[h];
|
3164
|
-
if (
|
3159
|
+
if (vt(u)) {
|
3165
3160
|
a.push({
|
3166
3161
|
type: B.literal,
|
3167
3162
|
value: u.value
|
3168
3163
|
});
|
3169
3164
|
continue;
|
3170
3165
|
}
|
3171
|
-
if (
|
3166
|
+
if (Nn(u)) {
|
3172
3167
|
typeof o == "number" && a.push({
|
3173
3168
|
type: B.literal,
|
3174
3169
|
value: r.getNumberFormat(t).format(o)
|
@@ -3177,44 +3172,44 @@ function be(e, t, r, n, i, o, s) {
|
|
3177
3172
|
}
|
3178
3173
|
var f = u.value;
|
3179
3174
|
if (!(i && f in i))
|
3180
|
-
throw new
|
3175
|
+
throw new hi(f, s);
|
3181
3176
|
var c = i[f];
|
3182
|
-
if (
|
3177
|
+
if (In(u)) {
|
3183
3178
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3184
3179
|
type: typeof c == "string" ? B.literal : B.object,
|
3185
3180
|
value: c
|
3186
3181
|
});
|
3187
3182
|
continue;
|
3188
3183
|
}
|
3189
|
-
if (
|
3190
|
-
var d = typeof u.style == "string" ? n.date[u.style] :
|
3184
|
+
if (er(u)) {
|
3185
|
+
var d = typeof u.style == "string" ? n.date[u.style] : Xe(u.style) ? u.style.parsedOptions : void 0;
|
3191
3186
|
a.push({
|
3192
3187
|
type: B.literal,
|
3193
3188
|
value: r.getDateTimeFormat(t, d).format(c)
|
3194
3189
|
});
|
3195
3190
|
continue;
|
3196
3191
|
}
|
3197
|
-
if (
|
3198
|
-
var d = typeof u.style == "string" ? n.time[u.style] :
|
3192
|
+
if (tr(u)) {
|
3193
|
+
var d = typeof u.style == "string" ? n.time[u.style] : Xe(u.style) ? u.style.parsedOptions : n.time.medium;
|
3199
3194
|
a.push({
|
3200
3195
|
type: B.literal,
|
3201
3196
|
value: r.getDateTimeFormat(t, d).format(c)
|
3202
3197
|
});
|
3203
3198
|
continue;
|
3204
3199
|
}
|
3205
|
-
if (
|
3206
|
-
var d = typeof u.style == "string" ? n.number[u.style] :
|
3200
|
+
if (Kt(u)) {
|
3201
|
+
var d = typeof u.style == "string" ? n.number[u.style] : or(u.style) ? u.style.parsedOptions : void 0;
|
3207
3202
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3208
3203
|
type: B.literal,
|
3209
3204
|
value: r.getNumberFormat(t, d).format(c)
|
3210
3205
|
});
|
3211
3206
|
continue;
|
3212
3207
|
}
|
3213
|
-
if (
|
3208
|
+
if (ir(u)) {
|
3214
3209
|
var m = u.children, b = u.value, g = i[b];
|
3215
|
-
if (!
|
3216
|
-
throw new
|
3217
|
-
var
|
3210
|
+
if (!fi(g))
|
3211
|
+
throw new li(b, "function", s);
|
3212
|
+
var x = me(m, t, r, n, i, o), _ = g(x.map(function(L) {
|
3218
3213
|
return L.value;
|
3219
3214
|
}));
|
3220
3215
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(L) {
|
@@ -3224,42 +3219,42 @@ function be(e, t, r, n, i, o, s) {
|
|
3224
3219
|
};
|
3225
3220
|
}));
|
3226
3221
|
}
|
3227
|
-
if (
|
3228
|
-
var
|
3229
|
-
if (!
|
3230
|
-
throw new
|
3231
|
-
a.push.apply(a,
|
3222
|
+
if (rr(u)) {
|
3223
|
+
var T = u.options[c] || u.options.other;
|
3224
|
+
if (!T)
|
3225
|
+
throw new Tt(u.value, c, Object.keys(u.options), s);
|
3226
|
+
a.push.apply(a, me(T.value, t, r, n, i));
|
3232
3227
|
continue;
|
3233
3228
|
}
|
3234
|
-
if (
|
3235
|
-
var
|
3236
|
-
if (!
|
3229
|
+
if (nr(u)) {
|
3230
|
+
var T = u.options["=".concat(c)];
|
3231
|
+
if (!T) {
|
3237
3232
|
if (!Intl.PluralRules)
|
3238
|
-
throw new
|
3233
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3239
3234
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3240
|
-
`,
|
3241
|
-
var
|
3242
|
-
|
3235
|
+
`, Y.MISSING_INTL_API, s);
|
3236
|
+
var D = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
3237
|
+
T = u.options[D] || u.options.other;
|
3243
3238
|
}
|
3244
|
-
if (!
|
3245
|
-
throw new
|
3246
|
-
a.push.apply(a,
|
3239
|
+
if (!T)
|
3240
|
+
throw new Tt(u.value, c, Object.keys(u.options), s);
|
3241
|
+
a.push.apply(a, me(T.value, t, r, n, i, c - (u.offset || 0)));
|
3247
3242
|
continue;
|
3248
3243
|
}
|
3249
3244
|
}
|
3250
|
-
return
|
3245
|
+
return ci(a);
|
3251
3246
|
}
|
3252
|
-
function
|
3253
|
-
return t ?
|
3254
|
-
return r[n] =
|
3247
|
+
function di(e, t) {
|
3248
|
+
return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3249
|
+
return r[n] = $($({}, e[n]), t[n] || {}), r;
|
3255
3250
|
}, {})) : e;
|
3256
3251
|
}
|
3257
|
-
function
|
3252
|
+
function pi(e, t) {
|
3258
3253
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3259
|
-
return r[n] =
|
3260
|
-
},
|
3254
|
+
return r[n] = di(e[n], t[n]), r;
|
3255
|
+
}, $({}, e)) : e;
|
3261
3256
|
}
|
3262
|
-
function
|
3257
|
+
function Ue(e) {
|
3263
3258
|
return {
|
3264
3259
|
create: function() {
|
3265
3260
|
return {
|
@@ -3273,39 +3268,39 @@ function De(e) {
|
|
3273
3268
|
}
|
3274
3269
|
};
|
3275
3270
|
}
|
3276
|
-
function
|
3271
|
+
function mi(e) {
|
3277
3272
|
return e === void 0 && (e = {
|
3278
3273
|
number: {},
|
3279
3274
|
dateTime: {},
|
3280
3275
|
pluralRules: {}
|
3281
3276
|
}), {
|
3282
|
-
getNumberFormat:
|
3277
|
+
getNumberFormat: Re(function() {
|
3283
3278
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3284
3279
|
r[n] = arguments[n];
|
3285
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3280
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
|
3286
3281
|
}, {
|
3287
|
-
cache:
|
3288
|
-
strategy:
|
3282
|
+
cache: Ue(e.number),
|
3283
|
+
strategy: $e.variadic
|
3289
3284
|
}),
|
3290
|
-
getDateTimeFormat:
|
3285
|
+
getDateTimeFormat: Re(function() {
|
3291
3286
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3292
3287
|
r[n] = arguments[n];
|
3293
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3288
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
|
3294
3289
|
}, {
|
3295
|
-
cache:
|
3296
|
-
strategy:
|
3290
|
+
cache: Ue(e.dateTime),
|
3291
|
+
strategy: $e.variadic
|
3297
3292
|
}),
|
3298
|
-
getPluralRules:
|
3293
|
+
getPluralRules: Re(function() {
|
3299
3294
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3300
3295
|
r[n] = arguments[n];
|
3301
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3296
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
|
3302
3297
|
}, {
|
3303
|
-
cache:
|
3304
|
-
strategy:
|
3298
|
+
cache: Ue(e.pluralRules),
|
3299
|
+
strategy: $e.variadic
|
3305
3300
|
})
|
3306
3301
|
};
|
3307
3302
|
}
|
3308
|
-
var
|
3303
|
+
var bi = (
|
3309
3304
|
/** @class */
|
3310
3305
|
function() {
|
3311
3306
|
function e(t, r, n, i) {
|
@@ -3324,7 +3319,7 @@ var gi = (
|
|
3324
3319
|
}, []);
|
3325
3320
|
return u.length <= 1 ? u[0] || "" : u;
|
3326
3321
|
}, this.formatToParts = function(h) {
|
3327
|
-
return
|
3322
|
+
return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3328
3323
|
}, this.resolvedOptions = function() {
|
3329
3324
|
var h;
|
3330
3325
|
return {
|
@@ -3337,13 +3332,13 @@ var gi = (
|
|
3337
3332
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3338
3333
|
var s = i || {};
|
3339
3334
|
s.formatters;
|
3340
|
-
var a =
|
3341
|
-
this.ast = e.__parse(t,
|
3335
|
+
var a = Tn(s, ["formatters"]);
|
3336
|
+
this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
|
3342
3337
|
} else
|
3343
3338
|
this.ast = t;
|
3344
3339
|
if (!Array.isArray(this.ast))
|
3345
3340
|
throw new TypeError("A message must be provided as a String or AST.");
|
3346
|
-
this.formats =
|
3341
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
|
3347
3342
|
}
|
3348
3343
|
return Object.defineProperty(e, "defaultLocale", {
|
3349
3344
|
get: function() {
|
@@ -3356,7 +3351,7 @@ var gi = (
|
|
3356
3351
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3357
3352
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3358
3353
|
}
|
3359
|
-
}, e.__parse =
|
3354
|
+
}, e.__parse = ui, e.formats = {
|
3360
3355
|
number: {
|
3361
3356
|
integer: {
|
3362
3357
|
maximumFractionDigits: 0
|
@@ -3417,7 +3412,7 @@ var gi = (
|
|
3417
3412
|
}, e;
|
3418
3413
|
}()
|
3419
3414
|
);
|
3420
|
-
function
|
3415
|
+
function gi(e, t) {
|
3421
3416
|
if (t == null)
|
3422
3417
|
return;
|
3423
3418
|
if (t in e)
|
@@ -3438,92 +3433,92 @@ function vi(e, t) {
|
|
3438
3433
|
n = void 0;
|
3439
3434
|
return n;
|
3440
3435
|
}
|
3441
|
-
const
|
3436
|
+
const F = {}, vi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), dr = (e, t) => {
|
3442
3437
|
if (t == null)
|
3443
3438
|
return;
|
3444
|
-
if (t in
|
3445
|
-
return
|
3446
|
-
const r =
|
3439
|
+
if (t in F && e in F[t])
|
3440
|
+
return F[t][e];
|
3441
|
+
const r = Be(t);
|
3447
3442
|
for (let n = 0; n < r.length; n++) {
|
3448
|
-
const i = r[n], o =
|
3443
|
+
const i = r[n], o = _i(i, e);
|
3449
3444
|
if (o)
|
3450
|
-
return
|
3445
|
+
return vi(e, t, o);
|
3451
3446
|
}
|
3452
3447
|
};
|
3453
|
-
let
|
3454
|
-
const
|
3455
|
-
function
|
3456
|
-
return
|
3448
|
+
let at;
|
3449
|
+
const le = He({});
|
3450
|
+
function yi(e) {
|
3451
|
+
return at[e] || null;
|
3457
3452
|
}
|
3458
|
-
function
|
3459
|
-
return e in
|
3453
|
+
function pr(e) {
|
3454
|
+
return e in at;
|
3460
3455
|
}
|
3461
|
-
function
|
3462
|
-
if (!
|
3456
|
+
function _i(e, t) {
|
3457
|
+
if (!pr(e))
|
3463
3458
|
return null;
|
3464
|
-
const r =
|
3465
|
-
return
|
3459
|
+
const r = yi(e);
|
3460
|
+
return gi(r, t);
|
3466
3461
|
}
|
3467
|
-
function
|
3462
|
+
function Ei(e) {
|
3468
3463
|
if (e == null)
|
3469
3464
|
return;
|
3470
|
-
const t =
|
3465
|
+
const t = Be(e);
|
3471
3466
|
for (let r = 0; r < t.length; r++) {
|
3472
3467
|
const n = t[r];
|
3473
|
-
if (
|
3468
|
+
if (pr(n))
|
3474
3469
|
return n;
|
3475
3470
|
}
|
3476
3471
|
}
|
3477
|
-
function
|
3478
|
-
delete
|
3472
|
+
function mr(e, ...t) {
|
3473
|
+
delete F[e], le.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
|
3479
3474
|
}
|
3480
|
-
|
3481
|
-
[
|
3475
|
+
te(
|
3476
|
+
[le],
|
3482
3477
|
([e]) => Object.keys(e)
|
3483
3478
|
);
|
3484
|
-
|
3485
|
-
const
|
3486
|
-
function
|
3487
|
-
|
3479
|
+
le.subscribe((e) => at = e);
|
3480
|
+
const be = {};
|
3481
|
+
function xi(e, t) {
|
3482
|
+
be[e].delete(t), be[e].size === 0 && delete be[e];
|
3488
3483
|
}
|
3489
|
-
function
|
3490
|
-
return
|
3484
|
+
function br(e) {
|
3485
|
+
return be[e];
|
3491
3486
|
}
|
3492
|
-
function
|
3493
|
-
return
|
3494
|
-
const r =
|
3487
|
+
function Si(e) {
|
3488
|
+
return Be(e).map((t) => {
|
3489
|
+
const r = br(t);
|
3495
3490
|
return [t, r ? [...r] : []];
|
3496
3491
|
}).filter(([, t]) => t.length > 0);
|
3497
3492
|
}
|
3498
|
-
function
|
3499
|
-
return e == null ? !1 :
|
3493
|
+
function qe(e) {
|
3494
|
+
return e == null ? !1 : Be(e).some(
|
3500
3495
|
(t) => {
|
3501
3496
|
var r;
|
3502
|
-
return (r =
|
3497
|
+
return (r = br(t)) == null ? void 0 : r.size;
|
3503
3498
|
}
|
3504
3499
|
);
|
3505
3500
|
}
|
3506
|
-
function
|
3501
|
+
function wi(e, t) {
|
3507
3502
|
return Promise.all(
|
3508
|
-
t.map((n) => (
|
3509
|
-
).then((n) =>
|
3510
|
-
}
|
3511
|
-
const
|
3512
|
-
function
|
3513
|
-
if (!
|
3514
|
-
return e in
|
3515
|
-
const t =
|
3516
|
-
return
|
3503
|
+
t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
|
3504
|
+
).then((n) => mr(e, ...n));
|
3505
|
+
}
|
3506
|
+
const ie = {};
|
3507
|
+
function gr(e) {
|
3508
|
+
if (!qe(e))
|
3509
|
+
return e in ie ? ie[e] : Promise.resolve();
|
3510
|
+
const t = Si(e);
|
3511
|
+
return ie[e] = Promise.all(
|
3517
3512
|
t.map(
|
3518
|
-
([r, n]) =>
|
3513
|
+
([r, n]) => wi(r, n)
|
3519
3514
|
)
|
3520
3515
|
).then(() => {
|
3521
|
-
if (
|
3522
|
-
return
|
3523
|
-
delete
|
3524
|
-
}),
|
3516
|
+
if (qe(e))
|
3517
|
+
return gr(e);
|
3518
|
+
delete ie[e];
|
3519
|
+
}), ie[e];
|
3525
3520
|
}
|
3526
|
-
const
|
3521
|
+
const Ti = {
|
3527
3522
|
number: {
|
3528
3523
|
scientific: { notation: "scientific" },
|
3529
3524
|
engineering: { notation: "engineering" },
|
@@ -3552,150 +3547,150 @@ const Hi = {
|
|
3552
3547
|
timeZoneName: "short"
|
3553
3548
|
}
|
3554
3549
|
}
|
3555
|
-
},
|
3550
|
+
}, Hi = {
|
3556
3551
|
fallbackLocale: null,
|
3557
3552
|
loadingDelay: 200,
|
3558
|
-
formats:
|
3553
|
+
formats: Ti,
|
3559
3554
|
warnOnMissingMessages: !0,
|
3560
3555
|
handleMissingMessage: void 0,
|
3561
3556
|
ignoreTag: !0
|
3562
|
-
},
|
3563
|
-
function
|
3564
|
-
return
|
3557
|
+
}, Ci = Hi;
|
3558
|
+
function K() {
|
3559
|
+
return Ci;
|
3565
3560
|
}
|
3566
|
-
const
|
3567
|
-
var
|
3561
|
+
const De = He(!1);
|
3562
|
+
var Pi = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
|
3568
3563
|
for (var r in t || (t = {}))
|
3569
|
-
|
3570
|
-
if (
|
3571
|
-
for (var r of
|
3572
|
-
|
3564
|
+
Oi.call(t, r) && Ct(e, r, t[r]);
|
3565
|
+
if (Ht)
|
3566
|
+
for (var r of Ht(t))
|
3567
|
+
Li.call(t, r) && Ct(e, r, t[r]);
|
3573
3568
|
return e;
|
3574
|
-
},
|
3575
|
-
let
|
3576
|
-
const
|
3577
|
-
function
|
3569
|
+
}, Ni = (e, t) => Bi(e, Ai(t));
|
3570
|
+
let Ye;
|
3571
|
+
const Se = He(null);
|
3572
|
+
function Pt(e) {
|
3578
3573
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3579
3574
|
}
|
3580
|
-
function
|
3581
|
-
const r =
|
3582
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3575
|
+
function Be(e, t = K().fallbackLocale) {
|
3576
|
+
const r = Pt(e);
|
3577
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
3583
3578
|
}
|
3584
|
-
function
|
3585
|
-
return
|
3579
|
+
function V() {
|
3580
|
+
return Ye ?? void 0;
|
3586
3581
|
}
|
3587
|
-
|
3588
|
-
|
3582
|
+
Se.subscribe((e) => {
|
3583
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3589
3584
|
});
|
3590
|
-
const
|
3591
|
-
if (e &&
|
3592
|
-
const { loadingDelay: t } =
|
3585
|
+
const Mi = (e) => {
|
3586
|
+
if (e && Ei(e) && qe(e)) {
|
3587
|
+
const { loadingDelay: t } = K();
|
3593
3588
|
let r;
|
3594
|
-
return typeof window < "u" &&
|
3595
|
-
() =>
|
3589
|
+
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
3590
|
+
() => De.set(!0),
|
3596
3591
|
t
|
3597
|
-
) :
|
3598
|
-
|
3592
|
+
) : De.set(!0), gr(e).then(() => {
|
3593
|
+
Se.set(e);
|
3599
3594
|
}).finally(() => {
|
3600
|
-
clearTimeout(r),
|
3595
|
+
clearTimeout(r), De.set(!1);
|
3601
3596
|
});
|
3602
3597
|
}
|
3603
|
-
return
|
3604
|
-
},
|
3605
|
-
set:
|
3606
|
-
}),
|
3598
|
+
return Se.set(e);
|
3599
|
+
}, re = Ni(Ii({}, Se), {
|
3600
|
+
set: Mi
|
3601
|
+
}), Ae = (e) => {
|
3607
3602
|
const t = /* @__PURE__ */ Object.create(null);
|
3608
3603
|
return (n) => {
|
3609
3604
|
const i = JSON.stringify(n);
|
3610
3605
|
return i in t ? t[i] : t[i] = e(n);
|
3611
3606
|
};
|
3612
3607
|
};
|
3613
|
-
var
|
3608
|
+
var Ri = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
3614
3609
|
for (var r in t || (t = {}))
|
3615
|
-
|
3616
|
-
if (
|
3617
|
-
for (var r of
|
3618
|
-
|
3610
|
+
vr.call(t, r) && Bt(e, r, t[r]);
|
3611
|
+
if (we)
|
3612
|
+
for (var r of we(t))
|
3613
|
+
yr.call(t, r) && Bt(e, r, t[r]);
|
3619
3614
|
return e;
|
3620
|
-
},
|
3615
|
+
}, ne = (e, t) => {
|
3621
3616
|
var r = {};
|
3622
3617
|
for (var n in e)
|
3623
|
-
|
3624
|
-
if (e != null &&
|
3625
|
-
for (var n of
|
3626
|
-
t.indexOf(n) < 0 &&
|
3618
|
+
vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3619
|
+
if (e != null && we)
|
3620
|
+
for (var n of we(e))
|
3621
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
3627
3622
|
return r;
|
3628
3623
|
};
|
3629
|
-
const
|
3630
|
-
const { formats: r } =
|
3624
|
+
const ue = (e, t) => {
|
3625
|
+
const { formats: r } = K();
|
3631
3626
|
if (e in r && t in r[e])
|
3632
3627
|
return r[e][t];
|
3633
3628
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3634
|
-
},
|
3629
|
+
}, $i = Ae(
|
3635
3630
|
(e) => {
|
3636
|
-
var t = e, { locale: r, format: n } = t, i =
|
3631
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3637
3632
|
if (r == null)
|
3638
3633
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3639
|
-
return n && (i =
|
3634
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
3640
3635
|
}
|
3641
|
-
),
|
3636
|
+
), Gi = Ae(
|
3642
3637
|
(e) => {
|
3643
|
-
var t = e, { locale: r, format: n } = t, i =
|
3638
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3644
3639
|
if (r == null)
|
3645
3640
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3646
|
-
return n ? i =
|
3641
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
3647
3642
|
}
|
3648
|
-
),
|
3643
|
+
), Ui = Ae(
|
3649
3644
|
(e) => {
|
3650
|
-
var t = e, { locale: r, format: n } = t, i =
|
3645
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3651
3646
|
if (r == null)
|
3652
3647
|
throw new Error(
|
3653
3648
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3654
3649
|
);
|
3655
|
-
return n ? i =
|
3650
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
3656
3651
|
}
|
3657
|
-
),
|
3652
|
+
), Di = (e = {}) => {
|
3658
3653
|
var t = e, {
|
3659
|
-
locale: r =
|
3660
|
-
} = t, n =
|
3654
|
+
locale: r = V()
|
3655
|
+
} = t, n = ne(t, [
|
3661
3656
|
"locale"
|
3662
3657
|
]);
|
3663
|
-
return
|
3664
|
-
},
|
3658
|
+
return $i(ut({ locale: r }, n));
|
3659
|
+
}, Fi = (e = {}) => {
|
3665
3660
|
var t = e, {
|
3666
|
-
locale: r =
|
3667
|
-
} = t, n =
|
3661
|
+
locale: r = V()
|
3662
|
+
} = t, n = ne(t, [
|
3668
3663
|
"locale"
|
3669
3664
|
]);
|
3670
|
-
return
|
3671
|
-
},
|
3665
|
+
return Gi(ut({ locale: r }, n));
|
3666
|
+
}, ji = (e = {}) => {
|
3672
3667
|
var t = e, {
|
3673
|
-
locale: r =
|
3674
|
-
} = t, n =
|
3668
|
+
locale: r = V()
|
3669
|
+
} = t, n = ne(t, [
|
3675
3670
|
"locale"
|
3676
3671
|
]);
|
3677
|
-
return
|
3678
|
-
},
|
3672
|
+
return Ui(ut({ locale: r }, n));
|
3673
|
+
}, ki = Ae(
|
3679
3674
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3680
|
-
(e, t =
|
3681
|
-
ignoreTag:
|
3675
|
+
(e, t = V()) => new bi(e, t, K().formats, {
|
3676
|
+
ignoreTag: K().ignoreTag
|
3682
3677
|
})
|
3683
|
-
),
|
3678
|
+
), Vi = (e, t = {}) => {
|
3684
3679
|
var r, n, i, o;
|
3685
3680
|
let s = t;
|
3686
3681
|
typeof e == "object" && (s = e, e = s.id);
|
3687
3682
|
const {
|
3688
3683
|
values: a,
|
3689
|
-
locale: h =
|
3684
|
+
locale: h = V(),
|
3690
3685
|
default: l
|
3691
3686
|
} = s;
|
3692
3687
|
if (h == null)
|
3693
3688
|
throw new Error(
|
3694
3689
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3695
3690
|
);
|
3696
|
-
let u =
|
3691
|
+
let u = dr(e, h);
|
3697
3692
|
if (!u)
|
3698
|
-
u = (o = (i = (n = (r =
|
3693
|
+
u = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3699
3694
|
else if (typeof u != "string")
|
3700
3695
|
return console.warn(
|
3701
3696
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3704,7 +3699,7 @@ const le = (e, t) => {
|
|
3704
3699
|
return u;
|
3705
3700
|
let f = u;
|
3706
3701
|
try {
|
3707
|
-
f =
|
3702
|
+
f = ki(u, h).format(a);
|
3708
3703
|
} catch (c) {
|
3709
3704
|
c instanceof Error && console.warn(
|
3710
3705
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3712,18 +3707,18 @@ const le = (e, t) => {
|
|
3712
3707
|
);
|
3713
3708
|
}
|
3714
3709
|
return f;
|
3715
|
-
},
|
3716
|
-
|
3717
|
-
|
3718
|
-
|
3719
|
-
|
3720
|
-
function
|
3721
|
-
|
3722
|
-
}
|
3723
|
-
function
|
3724
|
-
|
3725
|
-
}
|
3726
|
-
const
|
3710
|
+
}, Xi = (e, t) => ji(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = V()) => dr(e, t), Qi = te([re, le], () => Vi);
|
3711
|
+
te([re], () => Xi);
|
3712
|
+
te([re], () => Wi);
|
3713
|
+
te([re], () => zi);
|
3714
|
+
te([re, le], () => Zi);
|
3715
|
+
function At(e, t) {
|
3716
|
+
mr(e, t);
|
3717
|
+
}
|
3718
|
+
function Ji(e) {
|
3719
|
+
re.set(e);
|
3720
|
+
}
|
3721
|
+
const Ot = {
|
3727
3722
|
en: {
|
3728
3723
|
collections: "Game Collections",
|
3729
3724
|
providers: "Game Providers",
|
@@ -3834,24 +3829,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3834
3829
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
3835
3830
|
PERFORMANCE OF THIS SOFTWARE.
|
3836
3831
|
***************************************************************************** */
|
3837
|
-
var
|
3838
|
-
return
|
3832
|
+
var Ke = function(e, t) {
|
3833
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
3839
3834
|
r.__proto__ = n;
|
3840
3835
|
} || function(r, n) {
|
3841
3836
|
for (var i in n)
|
3842
3837
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
3843
|
-
},
|
3838
|
+
}, Ke(e, t);
|
3844
3839
|
};
|
3845
|
-
function
|
3840
|
+
function he(e, t) {
|
3846
3841
|
if (typeof t != "function" && t !== null)
|
3847
3842
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
3848
|
-
|
3843
|
+
Ke(e, t);
|
3849
3844
|
function r() {
|
3850
3845
|
this.constructor = e;
|
3851
3846
|
}
|
3852
3847
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
3853
3848
|
}
|
3854
|
-
function
|
3849
|
+
function et(e) {
|
3855
3850
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
3856
3851
|
if (r)
|
3857
3852
|
return r.call(e);
|
@@ -3863,7 +3858,7 @@ function tt(e) {
|
|
3863
3858
|
};
|
3864
3859
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
3865
3860
|
}
|
3866
|
-
function
|
3861
|
+
function tt(e, t) {
|
3867
3862
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
3868
3863
|
if (!r)
|
3869
3864
|
return e;
|
@@ -3883,22 +3878,22 @@ function rt(e, t) {
|
|
3883
3878
|
}
|
3884
3879
|
return o;
|
3885
3880
|
}
|
3886
|
-
function
|
3881
|
+
function rt(e, t, r) {
|
3887
3882
|
if (arguments.length === 2)
|
3888
3883
|
for (var n = 0, i = t.length, o; n < i; n++)
|
3889
3884
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
3890
3885
|
return e.concat(o || t);
|
3891
3886
|
}
|
3892
|
-
function
|
3887
|
+
function U(e) {
|
3893
3888
|
return typeof e == "function";
|
3894
3889
|
}
|
3895
|
-
function
|
3890
|
+
function _r(e) {
|
3896
3891
|
var t = function(n) {
|
3897
3892
|
Error.call(n), n.stack = new Error().stack;
|
3898
3893
|
}, r = e(t);
|
3899
3894
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3900
3895
|
}
|
3901
|
-
var
|
3896
|
+
var Fe = _r(function(e) {
|
3902
3897
|
return function(r) {
|
3903
3898
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3904
3899
|
` + r.map(function(n, i) {
|
@@ -3907,13 +3902,13 @@ var je = Er(function(e) {
|
|
3907
3902
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3908
3903
|
};
|
3909
3904
|
});
|
3910
|
-
function
|
3905
|
+
function nt(e, t) {
|
3911
3906
|
if (e) {
|
3912
3907
|
var r = e.indexOf(t);
|
3913
3908
|
0 <= r && e.splice(r, 1);
|
3914
3909
|
}
|
3915
3910
|
}
|
3916
|
-
var
|
3911
|
+
var Oe = function() {
|
3917
3912
|
function e(t) {
|
3918
3913
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3919
3914
|
}
|
@@ -3925,7 +3920,7 @@ var Le = function() {
|
|
3925
3920
|
if (s)
|
3926
3921
|
if (this._parentage = null, Array.isArray(s))
|
3927
3922
|
try {
|
3928
|
-
for (var a =
|
3923
|
+
for (var a = et(s), h = a.next(); !h.done; h = a.next()) {
|
3929
3924
|
var l = h.value;
|
3930
3925
|
l.remove(this);
|
3931
3926
|
}
|
@@ -3942,22 +3937,22 @@ var Le = function() {
|
|
3942
3937
|
else
|
3943
3938
|
s.remove(this);
|
3944
3939
|
var u = this.initialTeardown;
|
3945
|
-
if (
|
3940
|
+
if (U(u))
|
3946
3941
|
try {
|
3947
3942
|
u();
|
3948
3943
|
} catch (b) {
|
3949
|
-
o = b instanceof
|
3944
|
+
o = b instanceof Fe ? b.errors : [b];
|
3950
3945
|
}
|
3951
3946
|
var f = this._finalizers;
|
3952
3947
|
if (f) {
|
3953
3948
|
this._finalizers = null;
|
3954
3949
|
try {
|
3955
|
-
for (var c =
|
3950
|
+
for (var c = et(f), d = c.next(); !d.done; d = c.next()) {
|
3956
3951
|
var m = d.value;
|
3957
3952
|
try {
|
3958
|
-
|
3953
|
+
Lt(m);
|
3959
3954
|
} catch (b) {
|
3960
|
-
o = o ?? [], b instanceof
|
3955
|
+
o = o ?? [], b instanceof Fe ? o = rt(rt([], tt(o)), tt(b.errors)) : o.push(b);
|
3961
3956
|
}
|
3962
3957
|
}
|
3963
3958
|
} catch (b) {
|
@@ -3972,13 +3967,13 @@ var Le = function() {
|
|
3972
3967
|
}
|
3973
3968
|
}
|
3974
3969
|
if (o)
|
3975
|
-
throw new
|
3970
|
+
throw new Fe(o);
|
3976
3971
|
}
|
3977
3972
|
}, e.prototype.add = function(t) {
|
3978
3973
|
var r;
|
3979
3974
|
if (t && t !== this)
|
3980
3975
|
if (this.closed)
|
3981
|
-
|
3976
|
+
Lt(t);
|
3982
3977
|
else {
|
3983
3978
|
if (t instanceof e) {
|
3984
3979
|
if (t.closed || t._hasParent(this))
|
@@ -3995,52 +3990,52 @@ var Le = function() {
|
|
3995
3990
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3996
3991
|
}, e.prototype._removeParent = function(t) {
|
3997
3992
|
var r = this._parentage;
|
3998
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3993
|
+
r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
|
3999
3994
|
}, e.prototype.remove = function(t) {
|
4000
3995
|
var r = this._finalizers;
|
4001
|
-
r &&
|
3996
|
+
r && nt(r, t), t instanceof e && t._removeParent(this);
|
4002
3997
|
}, e.EMPTY = function() {
|
4003
3998
|
var t = new e();
|
4004
3999
|
return t.closed = !0, t;
|
4005
4000
|
}(), e;
|
4006
|
-
}(),
|
4007
|
-
function
|
4008
|
-
return e instanceof
|
4001
|
+
}(), Er = Oe.EMPTY;
|
4002
|
+
function xr(e) {
|
4003
|
+
return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
4009
4004
|
}
|
4010
|
-
function
|
4011
|
-
|
4005
|
+
function Lt(e) {
|
4006
|
+
U(e) ? e() : e.unsubscribe();
|
4012
4007
|
}
|
4013
|
-
var
|
4008
|
+
var qi = {
|
4014
4009
|
Promise: void 0
|
4015
|
-
},
|
4010
|
+
}, Yi = {
|
4016
4011
|
setTimeout: function(e, t) {
|
4017
4012
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4018
4013
|
r[n - 2] = arguments[n];
|
4019
|
-
return setTimeout.apply(void 0,
|
4014
|
+
return setTimeout.apply(void 0, rt([e, t], tt(r)));
|
4020
4015
|
},
|
4021
4016
|
clearTimeout: function(e) {
|
4022
4017
|
return clearTimeout(e);
|
4023
4018
|
},
|
4024
4019
|
delegate: void 0
|
4025
4020
|
};
|
4026
|
-
function
|
4027
|
-
|
4021
|
+
function Ki(e) {
|
4022
|
+
Yi.setTimeout(function() {
|
4028
4023
|
throw e;
|
4029
4024
|
});
|
4030
4025
|
}
|
4031
|
-
function
|
4026
|
+
function It() {
|
4032
4027
|
}
|
4033
|
-
function
|
4028
|
+
function ge(e) {
|
4034
4029
|
e();
|
4035
4030
|
}
|
4036
|
-
var
|
4037
|
-
|
4031
|
+
var Sr = function(e) {
|
4032
|
+
he(t, e);
|
4038
4033
|
function t(r) {
|
4039
4034
|
var n = e.call(this) || this;
|
4040
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4035
|
+
return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = ro, n;
|
4041
4036
|
}
|
4042
4037
|
return t.create = function(r, n, i) {
|
4043
|
-
return new
|
4038
|
+
return new it(r, n, i);
|
4044
4039
|
}, t.prototype.next = function(r) {
|
4045
4040
|
this.isStopped || this._next(r);
|
4046
4041
|
}, t.prototype.error = function(r) {
|
@@ -4064,7 +4059,7 @@ var wr = function(e) {
|
|
4064
4059
|
this.unsubscribe();
|
4065
4060
|
}
|
4066
4061
|
}, t;
|
4067
|
-
}(
|
4062
|
+
}(Oe), eo = function() {
|
4068
4063
|
function e(t) {
|
4069
4064
|
this.partialObserver = t;
|
4070
4065
|
}
|
@@ -4074,7 +4069,7 @@ var wr = function(e) {
|
|
4074
4069
|
try {
|
4075
4070
|
r.next(t);
|
4076
4071
|
} catch (n) {
|
4077
|
-
|
4072
|
+
de(n);
|
4078
4073
|
}
|
4079
4074
|
}, e.prototype.error = function(t) {
|
4080
4075
|
var r = this.partialObserver;
|
@@ -4082,56 +4077,56 @@ var wr = function(e) {
|
|
4082
4077
|
try {
|
4083
4078
|
r.error(t);
|
4084
4079
|
} catch (n) {
|
4085
|
-
|
4080
|
+
de(n);
|
4086
4081
|
}
|
4087
4082
|
else
|
4088
|
-
|
4083
|
+
de(t);
|
4089
4084
|
}, e.prototype.complete = function() {
|
4090
4085
|
var t = this.partialObserver;
|
4091
4086
|
if (t.complete)
|
4092
4087
|
try {
|
4093
4088
|
t.complete();
|
4094
4089
|
} catch (r) {
|
4095
|
-
|
4090
|
+
de(r);
|
4096
4091
|
}
|
4097
4092
|
}, e;
|
4098
|
-
}(),
|
4099
|
-
|
4093
|
+
}(), it = function(e) {
|
4094
|
+
he(t, e);
|
4100
4095
|
function t(r, n, i) {
|
4101
4096
|
var o = e.call(this) || this, s;
|
4102
|
-
return
|
4097
|
+
return U(r) || !r ? s = {
|
4103
4098
|
next: r ?? void 0,
|
4104
4099
|
error: n ?? void 0,
|
4105
4100
|
complete: i ?? void 0
|
4106
|
-
} : s = r, o.destination = new
|
4101
|
+
} : s = r, o.destination = new eo(s), o;
|
4107
4102
|
}
|
4108
4103
|
return t;
|
4109
|
-
}(
|
4110
|
-
function
|
4111
|
-
|
4104
|
+
}(Sr);
|
4105
|
+
function de(e) {
|
4106
|
+
Ki(e);
|
4112
4107
|
}
|
4113
|
-
function
|
4108
|
+
function to(e) {
|
4114
4109
|
throw e;
|
4115
4110
|
}
|
4116
|
-
var
|
4111
|
+
var ro = {
|
4117
4112
|
closed: !0,
|
4118
|
-
next:
|
4119
|
-
error:
|
4120
|
-
complete:
|
4121
|
-
},
|
4113
|
+
next: It,
|
4114
|
+
error: to,
|
4115
|
+
complete: It
|
4116
|
+
}, no = function() {
|
4122
4117
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4123
4118
|
}();
|
4124
|
-
function
|
4119
|
+
function io(e) {
|
4125
4120
|
return e;
|
4126
4121
|
}
|
4127
|
-
function
|
4128
|
-
return e.length === 0 ?
|
4122
|
+
function oo(e) {
|
4123
|
+
return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
|
4129
4124
|
return e.reduce(function(n, i) {
|
4130
4125
|
return i(n);
|
4131
4126
|
}, r);
|
4132
4127
|
};
|
4133
4128
|
}
|
4134
|
-
var
|
4129
|
+
var Nt = function() {
|
4135
4130
|
function e(t) {
|
4136
4131
|
t && (this._subscribe = t);
|
4137
4132
|
}
|
@@ -4139,8 +4134,8 @@ var Mt = function() {
|
|
4139
4134
|
var r = new e();
|
4140
4135
|
return r.source = this, r.operator = t, r;
|
4141
4136
|
}, e.prototype.subscribe = function(t, r, n) {
|
4142
|
-
var i = this, o =
|
4143
|
-
return
|
4137
|
+
var i = this, o = ao(t) ? t : new it(t, r, n);
|
4138
|
+
return ge(function() {
|
4144
4139
|
var s = i, a = s.operator, h = s.source;
|
4145
4140
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
4146
4141
|
}), o;
|
@@ -4152,8 +4147,8 @@ var Mt = function() {
|
|
4152
4147
|
}
|
4153
4148
|
}, e.prototype.forEach = function(t, r) {
|
4154
4149
|
var n = this;
|
4155
|
-
return r =
|
4156
|
-
var s = new
|
4150
|
+
return r = Mt(r), new r(function(i, o) {
|
4151
|
+
var s = new it({
|
4157
4152
|
next: function(a) {
|
4158
4153
|
try {
|
4159
4154
|
t(a);
|
@@ -4169,15 +4164,15 @@ var Mt = function() {
|
|
4169
4164
|
}, e.prototype._subscribe = function(t) {
|
4170
4165
|
var r;
|
4171
4166
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4172
|
-
}, e.prototype[
|
4167
|
+
}, e.prototype[no] = function() {
|
4173
4168
|
return this;
|
4174
4169
|
}, e.prototype.pipe = function() {
|
4175
4170
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4176
4171
|
t[r] = arguments[r];
|
4177
|
-
return
|
4172
|
+
return oo(t)(this);
|
4178
4173
|
}, e.prototype.toPromise = function(t) {
|
4179
4174
|
var r = this;
|
4180
|
-
return t =
|
4175
|
+
return t = Mt(t), new t(function(n, i) {
|
4181
4176
|
var o;
|
4182
4177
|
r.subscribe(function(s) {
|
4183
4178
|
return o = s;
|
@@ -4191,40 +4186,40 @@ var Mt = function() {
|
|
4191
4186
|
return new e(t);
|
4192
4187
|
}, e;
|
4193
4188
|
}();
|
4194
|
-
function
|
4189
|
+
function Mt(e) {
|
4195
4190
|
var t;
|
4196
|
-
return (t = e ??
|
4191
|
+
return (t = e ?? qi.Promise) !== null && t !== void 0 ? t : Promise;
|
4197
4192
|
}
|
4198
|
-
function
|
4199
|
-
return e &&
|
4193
|
+
function so(e) {
|
4194
|
+
return e && U(e.next) && U(e.error) && U(e.complete);
|
4200
4195
|
}
|
4201
|
-
function
|
4202
|
-
return e && e instanceof
|
4196
|
+
function ao(e) {
|
4197
|
+
return e && e instanceof Sr || so(e) && xr(e);
|
4203
4198
|
}
|
4204
|
-
var
|
4199
|
+
var uo = _r(function(e) {
|
4205
4200
|
return function() {
|
4206
4201
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4207
4202
|
};
|
4208
|
-
}),
|
4209
|
-
|
4203
|
+
}), wr = function(e) {
|
4204
|
+
he(t, e);
|
4210
4205
|
function t() {
|
4211
4206
|
var r = e.call(this) || this;
|
4212
4207
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4213
4208
|
}
|
4214
4209
|
return t.prototype.lift = function(r) {
|
4215
|
-
var n = new
|
4210
|
+
var n = new Rt(this, this);
|
4216
4211
|
return n.operator = r, n;
|
4217
4212
|
}, t.prototype._throwIfClosed = function() {
|
4218
4213
|
if (this.closed)
|
4219
|
-
throw new
|
4214
|
+
throw new uo();
|
4220
4215
|
}, t.prototype.next = function(r) {
|
4221
4216
|
var n = this;
|
4222
|
-
|
4217
|
+
ge(function() {
|
4223
4218
|
var i, o;
|
4224
4219
|
if (n._throwIfClosed(), !n.isStopped) {
|
4225
4220
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4226
4221
|
try {
|
4227
|
-
for (var s =
|
4222
|
+
for (var s = et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4228
4223
|
var h = a.value;
|
4229
4224
|
h.next(r);
|
4230
4225
|
}
|
@@ -4242,7 +4237,7 @@ var lo = Er(function(e) {
|
|
4242
4237
|
});
|
4243
4238
|
}, t.prototype.error = function(r) {
|
4244
4239
|
var n = this;
|
4245
|
-
|
4240
|
+
ge(function() {
|
4246
4241
|
if (n._throwIfClosed(), !n.isStopped) {
|
4247
4242
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
4248
4243
|
for (var i = n.observers; i.length; )
|
@@ -4251,7 +4246,7 @@ var lo = Er(function(e) {
|
|
4251
4246
|
});
|
4252
4247
|
}, t.prototype.complete = function() {
|
4253
4248
|
var r = this;
|
4254
|
-
|
4249
|
+
ge(function() {
|
4255
4250
|
if (r._throwIfClosed(), !r.isStopped) {
|
4256
4251
|
r.isStopped = !0;
|
4257
4252
|
for (var n = r.observers; n.length; )
|
@@ -4273,20 +4268,20 @@ var lo = Er(function(e) {
|
|
4273
4268
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4274
4269
|
}, t.prototype._innerSubscribe = function(r) {
|
4275
4270
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4276
|
-
return o || s ?
|
4277
|
-
n.currentObservers = null,
|
4271
|
+
return o || s ? Er : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4272
|
+
n.currentObservers = null, nt(a, r);
|
4278
4273
|
}));
|
4279
4274
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4280
4275
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4281
4276
|
i ? r.error(o) : s && r.complete();
|
4282
4277
|
}, t.prototype.asObservable = function() {
|
4283
|
-
var r = new
|
4278
|
+
var r = new Nt();
|
4284
4279
|
return r.source = this, r;
|
4285
4280
|
}, t.create = function(r, n) {
|
4286
|
-
return new
|
4281
|
+
return new Rt(r, n);
|
4287
4282
|
}, t;
|
4288
|
-
}(
|
4289
|
-
|
4283
|
+
}(Nt), Rt = function(e) {
|
4284
|
+
he(t, e);
|
4290
4285
|
function t(r, n) {
|
4291
4286
|
var i = e.call(this) || this;
|
4292
4287
|
return i.destination = r, i.source = n, i;
|
@@ -4302,17 +4297,17 @@ var lo = Er(function(e) {
|
|
4302
4297
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4303
4298
|
}, t.prototype._subscribe = function(r) {
|
4304
4299
|
var n, i;
|
4305
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4300
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Er;
|
4306
4301
|
}, t;
|
4307
|
-
}(
|
4302
|
+
}(wr), Tr = {
|
4308
4303
|
now: function() {
|
4309
|
-
return (
|
4304
|
+
return (Tr.delegate || Date).now();
|
4310
4305
|
},
|
4311
4306
|
delegate: void 0
|
4312
|
-
},
|
4313
|
-
|
4307
|
+
}, lo = function(e) {
|
4308
|
+
he(t, e);
|
4314
4309
|
function t(r, n, i) {
|
4315
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4310
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
|
4316
4311
|
var o = e.call(this) || this;
|
4317
4312
|
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;
|
4318
4313
|
}
|
@@ -4332,23 +4327,23 @@ var lo = Er(function(e) {
|
|
4332
4327
|
l && o.splice(0, l + 1);
|
4333
4328
|
}
|
4334
4329
|
}, t;
|
4335
|
-
}(
|
4336
|
-
const
|
4337
|
-
if (
|
4338
|
-
const r = new
|
4339
|
-
|
4330
|
+
}(wr);
|
4331
|
+
const $t = [], Gt = {}, ho = (e, t = 0) => {
|
4332
|
+
if ($t.indexOf(e) == -1) {
|
4333
|
+
const r = new lo(t);
|
4334
|
+
Gt[e] = r, $t.push(e);
|
4340
4335
|
}
|
4341
|
-
return
|
4336
|
+
return Gt[e];
|
4342
4337
|
};
|
4343
|
-
window.emWidgets = { topic:
|
4344
|
-
const
|
4345
|
-
function
|
4338
|
+
window.emWidgets = { topic: ho };
|
4339
|
+
const co = (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));
|
4340
|
+
function fo(e, t) {
|
4346
4341
|
if (e) {
|
4347
4342
|
const r = document.createElement("style");
|
4348
4343
|
r.innerHTML = t, e.appendChild(r);
|
4349
4344
|
}
|
4350
4345
|
}
|
4351
|
-
function
|
4346
|
+
function po(e, t) {
|
4352
4347
|
const r = new URL(t);
|
4353
4348
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4354
4349
|
const i = document.createElement("style");
|
@@ -4357,7 +4352,7 @@ function mo(e, t) {
|
|
4357
4352
|
console.error("There was an error while trying to load client styling from URL", n);
|
4358
4353
|
});
|
4359
4354
|
}
|
4360
|
-
function
|
4355
|
+
function mo(e, t, r) {
|
4361
4356
|
if (window.emMessageBus) {
|
4362
4357
|
const n = document.createElement("style");
|
4363
4358
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4365,18 +4360,18 @@ function bo(e, t, r) {
|
|
4365
4360
|
});
|
4366
4361
|
}
|
4367
4362
|
}
|
4368
|
-
function
|
4369
|
-
|
4363
|
+
function bo(e) {
|
4364
|
+
Dr(e, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
4370
4365
|
}
|
4371
|
-
function
|
4366
|
+
function Ut(e, t, r) {
|
4372
4367
|
const n = e.slice();
|
4373
4368
|
return n[41] = t[r], n;
|
4374
4369
|
}
|
4375
|
-
function
|
4370
|
+
function Dt(e, t, r) {
|
4376
4371
|
const n = e.slice();
|
4377
4372
|
return n[44] = t[r], n;
|
4378
4373
|
}
|
4379
|
-
function
|
4374
|
+
function go(e) {
|
4380
4375
|
let t, r, n, i = (
|
4381
4376
|
/*type*/
|
4382
4377
|
(e[0] === "vendor" ? (
|
@@ -4389,24 +4384,24 @@ function vo(e) {
|
|
4389
4384
|
), o, s, a, h, l, u = (
|
4390
4385
|
/*numberOfSlides*/
|
4391
4386
|
e[7] > /*numberOfVisibleSlides*/
|
4392
|
-
e[8] &&
|
4393
|
-
), f =
|
4387
|
+
e[8] && Ft(e)
|
4388
|
+
), f = Ee(
|
4394
4389
|
/*gameCategories*/
|
4395
4390
|
e[3]
|
4396
4391
|
), c = [];
|
4397
4392
|
for (let d = 0; d < f.length; d += 1)
|
4398
|
-
c[d] =
|
4393
|
+
c[d] = Vt(Ut(e, f, d));
|
4399
4394
|
return {
|
4400
4395
|
c() {
|
4401
|
-
t =
|
4396
|
+
t = C("div"), r = C("div"), n = C("p"), o = Te(i), s = k(), u && u.c(), a = k(), h = C("div");
|
4402
4397
|
for (let d = 0; d < c.length; d += 1)
|
4403
4398
|
c[d].c();
|
4404
|
-
|
4399
|
+
E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
|
4405
4400
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4406
4401
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4407
4402
|
},
|
4408
4403
|
m(d, m) {
|
4409
|
-
|
4404
|
+
G(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), u && u.m(r, null), H(t, a), H(t, h);
|
4410
4405
|
for (let b = 0; b < c.length; b += 1)
|
4411
4406
|
c[b] && c[b].m(h, null);
|
4412
4407
|
e[25](h);
|
@@ -4420,18 +4415,18 @@ function vo(e) {
|
|
4420
4415
|
) : (
|
4421
4416
|
/*$_*/
|
4422
4417
|
d[10]("collections")
|
4423
|
-
)) + "") &&
|
4418
|
+
)) + "") && st(o, i), /*numberOfSlides*/
|
4424
4419
|
d[7] > /*numberOfVisibleSlides*/
|
4425
|
-
d[8] ? u ? u.p(d, m) : (u =
|
4420
|
+
d[8] ? u ? u.p(d, m) : (u = Ft(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4426
4421
|
24590) {
|
4427
|
-
f =
|
4422
|
+
f = Ee(
|
4428
4423
|
/*gameCategories*/
|
4429
4424
|
d[3]
|
4430
4425
|
);
|
4431
4426
|
let b;
|
4432
4427
|
for (b = 0; b < f.length; b += 1) {
|
4433
|
-
const g =
|
4434
|
-
c[b] ? c[b].p(g, m) : (c[b] =
|
4428
|
+
const g = Ut(d, f, b);
|
4429
|
+
c[b] ? c[b].p(g, m) : (c[b] = Vt(g), c[b].c(), c[b].m(h, null));
|
4435
4430
|
}
|
4436
4431
|
for (; b < c.length; b += 1)
|
4437
4432
|
c[b].d(1);
|
@@ -4440,21 +4435,21 @@ function vo(e) {
|
|
4440
4435
|
m[0] & /*mobile, type*/
|
4441
4436
|
513 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
|
4442
4437
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4443
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4438
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", l);
|
4444
4439
|
},
|
4445
4440
|
d(d) {
|
4446
|
-
d && I(t), u && u.d(),
|
4441
|
+
d && I(t), u && u.d(), Zt(c, d), e[25](null);
|
4447
4442
|
}
|
4448
4443
|
};
|
4449
4444
|
}
|
4450
|
-
function
|
4445
|
+
function vo(e) {
|
4451
4446
|
let t;
|
4452
4447
|
return {
|
4453
4448
|
c() {
|
4454
|
-
t =
|
4449
|
+
t = C("div"), E(t, "class", "LoadingSpinner");
|
4455
4450
|
},
|
4456
4451
|
m(r, n) {
|
4457
|
-
|
4452
|
+
G(r, t, n);
|
4458
4453
|
},
|
4459
4454
|
p: A,
|
4460
4455
|
d(r) {
|
@@ -4462,21 +4457,21 @@ function yo(e) {
|
|
4462
4457
|
}
|
4463
4458
|
};
|
4464
4459
|
}
|
4465
|
-
function
|
4460
|
+
function Ft(e) {
|
4466
4461
|
let t, r, n, i, o, s;
|
4467
4462
|
return {
|
4468
4463
|
c() {
|
4469
|
-
t =
|
4464
|
+
t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
|
4470
4465
|
},
|
4471
4466
|
m(a, h) {
|
4472
|
-
|
4473
|
-
|
4467
|
+
G(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
|
4468
|
+
ye(
|
4474
4469
|
r,
|
4475
4470
|
"click",
|
4476
4471
|
/*sliderScrollLeft*/
|
4477
4472
|
e[11]
|
4478
4473
|
),
|
4479
|
-
|
4474
|
+
ye(
|
4480
4475
|
i,
|
4481
4476
|
"click",
|
4482
4477
|
/*sliderScrollRight*/
|
@@ -4486,81 +4481,81 @@ function jt(e) {
|
|
4486
4481
|
},
|
4487
4482
|
p: A,
|
4488
4483
|
d(a) {
|
4489
|
-
a && I(t), o = !1,
|
4484
|
+
a && I(t), o = !1, ee(s);
|
4490
4485
|
}
|
4491
4486
|
};
|
4492
4487
|
}
|
4493
|
-
function
|
4488
|
+
function yo(e) {
|
4494
4489
|
let t, r = (
|
4495
4490
|
/*category*/
|
4496
4491
|
e[41].name + ""
|
4497
4492
|
), n;
|
4498
4493
|
return {
|
4499
4494
|
c() {
|
4500
|
-
t =
|
4495
|
+
t = C("p"), n = Te(r), E(t, "class", "CategorySlideTitle");
|
4501
4496
|
},
|
4502
4497
|
m(i, o) {
|
4503
|
-
|
4498
|
+
G(i, t, o), H(t, n);
|
4504
4499
|
},
|
4505
4500
|
p(i, o) {
|
4506
4501
|
o[0] & /*gameCategories*/
|
4507
4502
|
8 && r !== (r = /*category*/
|
4508
|
-
i[41].name + "") &&
|
4503
|
+
i[41].name + "") && st(n, r);
|
4509
4504
|
},
|
4510
4505
|
d(i) {
|
4511
4506
|
i && I(t);
|
4512
4507
|
}
|
4513
4508
|
};
|
4514
4509
|
}
|
4515
|
-
function
|
4510
|
+
function _o(e) {
|
4516
4511
|
let t, r, n;
|
4517
4512
|
return {
|
4518
4513
|
c() {
|
4519
|
-
t =
|
4520
|
-
e[41].icon) ||
|
4514
|
+
t = C("img"), E(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
|
4515
|
+
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4521
4516
|
e[41].name + " icon");
|
4522
4517
|
},
|
4523
4518
|
m(i, o) {
|
4524
|
-
|
4519
|
+
G(i, t, o);
|
4525
4520
|
},
|
4526
4521
|
p(i, o) {
|
4527
4522
|
o[0] & /*gameCategories*/
|
4528
|
-
8 && !
|
4529
|
-
i[41].icon) &&
|
4523
|
+
8 && !ve(t.src, r = /*category*/
|
4524
|
+
i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
|
4530
4525
|
8 && n !== (n = /*category*/
|
4531
|
-
i[41].name + " icon") &&
|
4526
|
+
i[41].name + " icon") && E(t, "alt", n);
|
4532
4527
|
},
|
4533
4528
|
d(i) {
|
4534
4529
|
i && I(t);
|
4535
4530
|
}
|
4536
4531
|
};
|
4537
4532
|
}
|
4538
|
-
function
|
4533
|
+
function jt(e) {
|
4539
4534
|
let t, r = (
|
4540
4535
|
/*game*/
|
4541
4536
|
e[44].name + ""
|
4542
4537
|
), n, i;
|
4543
4538
|
return {
|
4544
4539
|
c() {
|
4545
|
-
t =
|
4540
|
+
t = C("p"), n = Te(r), E(t, "title", i = /*game*/
|
4546
4541
|
e[44].name);
|
4547
4542
|
},
|
4548
4543
|
m(o, s) {
|
4549
|
-
|
4544
|
+
G(o, t, s), H(t, n);
|
4550
4545
|
},
|
4551
4546
|
p(o, s) {
|
4552
4547
|
s[0] & /*gameCategories*/
|
4553
4548
|
8 && r !== (r = /*game*/
|
4554
|
-
o[44].name + "") &&
|
4549
|
+
o[44].name + "") && st(n, r), s[0] & /*gameCategories*/
|
4555
4550
|
8 && i !== (i = /*game*/
|
4556
|
-
o[44].name) &&
|
4551
|
+
o[44].name) && E(t, "title", i);
|
4557
4552
|
},
|
4558
4553
|
d(o) {
|
4559
4554
|
o && I(t);
|
4560
4555
|
}
|
4561
4556
|
};
|
4562
4557
|
}
|
4563
|
-
function
|
4558
|
+
function kt(e) {
|
4564
4559
|
let t, r, n, i, o, s, a, h;
|
4565
4560
|
function l() {
|
4566
4561
|
return (
|
@@ -4573,50 +4568,50 @@ function Vt(e) {
|
|
4573
4568
|
}
|
4574
4569
|
let u = (
|
4575
4570
|
/*collectionprovidersgamenames*/
|
4576
|
-
e[2] == "true" &&
|
4571
|
+
e[2] == "true" && jt(e)
|
4577
4572
|
);
|
4578
4573
|
return {
|
4579
4574
|
c() {
|
4580
|
-
t =
|
4581
|
-
e[44].defaultThumbnail) ||
|
4582
|
-
e[44].name),
|
4575
|
+
t = C("div"), r = C("img"), o = k(), u && u.c(), s = k(), E(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
|
4576
|
+
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4577
|
+
e[44].name), E(t, "class", "CategorySlideGames");
|
4583
4578
|
},
|
4584
4579
|
m(f, c) {
|
4585
|
-
|
4580
|
+
G(f, t, c), H(t, r), H(t, o), u && u.m(t, null), H(t, s), a || (h = ye(r, "click", kr(l)), a = !0);
|
4586
4581
|
},
|
4587
4582
|
p(f, c) {
|
4588
4583
|
e = f, c[0] & /*gameCategories*/
|
4589
|
-
8 && !
|
4590
|
-
e[44].defaultThumbnail) &&
|
4584
|
+
8 && !ve(r.src, n = /*game*/
|
4585
|
+
e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
|
4591
4586
|
8 && i !== (i = /*game*/
|
4592
|
-
e[44].name) &&
|
4593
|
-
e[2] == "true" ? u ? u.p(e, c) : (u =
|
4587
|
+
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4588
|
+
e[2] == "true" ? u ? u.p(e, c) : (u = jt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
|
4594
4589
|
},
|
4595
4590
|
d(f) {
|
4596
4591
|
f && I(t), u && u.d(), a = !1, h();
|
4597
4592
|
}
|
4598
4593
|
};
|
4599
4594
|
}
|
4600
|
-
function
|
4595
|
+
function Vt(e) {
|
4601
4596
|
let t, r, n, i, o, s, a, h, l;
|
4602
|
-
function u(g,
|
4597
|
+
function u(g, x) {
|
4603
4598
|
if (
|
4604
4599
|
/*titletype*/
|
4605
4600
|
g[1] === "logo"
|
4606
4601
|
)
|
4607
|
-
return
|
4602
|
+
return _o;
|
4608
4603
|
if (
|
4609
4604
|
/*titletype*/
|
4610
4605
|
g[1] === "title"
|
4611
4606
|
)
|
4612
|
-
return
|
4607
|
+
return yo;
|
4613
4608
|
}
|
4614
|
-
let f = u(e), c = f && f(e), d =
|
4609
|
+
let f = u(e), c = f && f(e), d = Ee(
|
4615
4610
|
/*category*/
|
4616
4611
|
e[41].games
|
4617
4612
|
), m = [];
|
4618
4613
|
for (let g = 0; g < d.length; g += 1)
|
4619
|
-
m[g] =
|
4614
|
+
m[g] = kt(Dt(e, d, g));
|
4620
4615
|
function b() {
|
4621
4616
|
return (
|
4622
4617
|
/*click_handler_1*/
|
@@ -4628,61 +4623,61 @@ function Xt(e) {
|
|
4628
4623
|
}
|
4629
4624
|
return {
|
4630
4625
|
c() {
|
4631
|
-
t =
|
4626
|
+
t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = k(), o = C("div");
|
4632
4627
|
for (let g = 0; g < m.length; g += 1)
|
4633
4628
|
m[g].c();
|
4634
|
-
a =
|
4635
|
-
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")),
|
4636
|
-
e[41]?.background + ")"),
|
4629
|
+
a = k(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
|
4630
|
+
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4631
|
+
e[41]?.background + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
|
4637
4632
|
},
|
4638
|
-
m(g,
|
4639
|
-
|
4633
|
+
m(g, x) {
|
4634
|
+
G(g, t, x), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
|
4640
4635
|
for (let _ = 0; _ < m.length; _ += 1)
|
4641
4636
|
m[_] && m[_].m(o, null);
|
4642
|
-
|
4637
|
+
H(t, a), h || (l = ye(r, "click", b), h = !0);
|
4643
4638
|
},
|
4644
|
-
p(g,
|
4645
|
-
if (e = g, f === (f = u(e)) && c ? c.p(e,
|
4639
|
+
p(g, x) {
|
4640
|
+
if (e = g, f === (f = u(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*/
|
4646
4641
|
8204) {
|
4647
|
-
d =
|
4642
|
+
d = Ee(
|
4648
4643
|
/*category*/
|
4649
4644
|
e[41].games
|
4650
4645
|
);
|
4651
4646
|
let _;
|
4652
4647
|
for (_ = 0; _ < d.length; _ += 1) {
|
4653
|
-
const
|
4654
|
-
m[_] ? m[_].p(
|
4648
|
+
const T = Dt(e, d, _);
|
4649
|
+
m[_] ? m[_].p(T, x) : (m[_] = kt(T), m[_].c(), m[_].m(o, null));
|
4655
4650
|
}
|
4656
4651
|
for (; _ < m.length; _ += 1)
|
4657
4652
|
m[_].d(1);
|
4658
4653
|
m.length = d.length;
|
4659
4654
|
}
|
4660
|
-
|
4655
|
+
x[0] & /*gameCategories*/
|
4661
4656
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4662
|
-
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4663
|
-
8 &&
|
4657
|
+
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
|
4658
|
+
8 && Ie(r, "background-image", "url(" + /*category*/
|
4664
4659
|
e[41]?.background + ")");
|
4665
4660
|
},
|
4666
4661
|
d(g) {
|
4667
|
-
g && I(t), c && c.d(),
|
4662
|
+
g && I(t), c && c.d(), Zt(m, g), h = !1, l();
|
4668
4663
|
}
|
4669
4664
|
};
|
4670
4665
|
}
|
4671
|
-
function
|
4666
|
+
function Eo(e) {
|
4672
4667
|
let t;
|
4673
4668
|
function r(o, s) {
|
4674
4669
|
return (
|
4675
4670
|
/*isLoading*/
|
4676
|
-
o[6] ?
|
4671
|
+
o[6] ? vo : go
|
4677
4672
|
);
|
4678
4673
|
}
|
4679
4674
|
let n = r(e), i = n(e);
|
4680
4675
|
return {
|
4681
4676
|
c() {
|
4682
|
-
t =
|
4677
|
+
t = C("div"), i.c();
|
4683
4678
|
},
|
4684
4679
|
m(o, s) {
|
4685
|
-
|
4680
|
+
G(o, t, s), i.m(t, null), e[26](t);
|
4686
4681
|
},
|
4687
4682
|
p(o, s) {
|
4688
4683
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
@@ -4694,52 +4689,52 @@ function xo(e) {
|
|
4694
4689
|
}
|
4695
4690
|
};
|
4696
4691
|
}
|
4697
|
-
function
|
4692
|
+
function xo(e, t, r) {
|
4698
4693
|
let n;
|
4699
|
-
|
4700
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g,
|
4701
|
-
const
|
4694
|
+
Ur(e, Qi, (p) => r(10, n = p));
|
4695
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0, _ = 0, T = 0, D, L, j = 0, X = 50, Le = !1, N, Hr = window.navigator.userAgent, lt;
|
4696
|
+
const Cr = () => {
|
4702
4697
|
fetch(f).then((P) => P.json()).then((P) => {
|
4703
4698
|
Object.keys(P).forEach((M) => {
|
4704
|
-
|
4699
|
+
At(M, P[M]);
|
4705
4700
|
});
|
4706
4701
|
}).catch((P) => {
|
4707
4702
|
console.log(P);
|
4708
4703
|
});
|
4709
4704
|
};
|
4710
|
-
Object.keys(
|
4711
|
-
|
4705
|
+
Object.keys(Ot).forEach((p) => {
|
4706
|
+
At(p, Ot[p]);
|
4712
4707
|
});
|
4713
|
-
const
|
4708
|
+
const ht = () => {
|
4714
4709
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4715
|
-
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${
|
4716
|
-
r(6, b = !1), P.total >
|
4710
|
+
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(p.href).then((P) => P.json()).then((P) => {
|
4711
|
+
r(6, b = !1), P.total > X && (j += 50, X += 50, r(22, Le = !0));
|
4717
4712
|
let M = P.items.map((R) => ({
|
4718
4713
|
id: R.id,
|
4719
4714
|
name: R.name,
|
4720
4715
|
icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
|
4721
|
-
games: R.games.items.slice(0, 4).map((
|
4716
|
+
games: R.games.items.slice(0, 4).map(($r) => $r),
|
4722
4717
|
background: R.background,
|
4723
4718
|
flag: R.flags
|
4724
4719
|
}));
|
4725
|
-
r(3, m = [...m, ...M]), r(7, _ = m.length),
|
4720
|
+
r(3, m = [...m, ...M]), r(7, _ = m.length), Pr();
|
4726
4721
|
});
|
4727
|
-
},
|
4722
|
+
}, Pr = () => {
|
4728
4723
|
const p = N.getRootNode().host;
|
4729
4724
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4730
|
-
},
|
4725
|
+
}, ct = (p) => {
|
4731
4726
|
L = [...g.children], L.forEach((P, M) => {
|
4732
4727
|
P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
|
4733
|
-
}),
|
4728
|
+
}), D = L[0]?.getBoundingClientRect().width, Br();
|
4729
|
+
}, Br = () => {
|
4730
|
+
r(8, T = Math.floor(g.clientWidth / D));
|
4731
|
+
}, ft = () => {
|
4732
|
+
ct(x);
|
4734
4733
|
}, Ar = () => {
|
4735
|
-
|
4736
|
-
}, dt = () => {
|
4737
|
-
ft(E);
|
4734
|
+
x === 0 ? x = _ - T : x - T < -1 ? x = 0 : x--, ft();
|
4738
4735
|
}, Or = () => {
|
4739
|
-
|
4740
|
-
},
|
4741
|
-
E === _ - w ? E = 0 : _ - w < E + 1 ? E = _ - w : E++, dt();
|
4742
|
-
}, pt = (p, P, M, R) => {
|
4736
|
+
x === _ - T ? x = 0 : _ - T < x + 1 ? x = _ - T : x++, ft();
|
4737
|
+
}, dt = (p, P, M, R) => {
|
4743
4738
|
window.postMessage(
|
4744
4739
|
{
|
4745
4740
|
type: "OpenCollectionsProvidersGame",
|
@@ -4753,7 +4748,7 @@ function So(e, t, r) {
|
|
4753
4748
|
context: "CollectionsProviders",
|
4754
4749
|
gameName: `${M}`
|
4755
4750
|
});
|
4756
|
-
},
|
4751
|
+
}, pt = (p) => {
|
4757
4752
|
window.postMessage(
|
4758
4753
|
{
|
4759
4754
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4761,19 +4756,19 @@ function So(e, t, r) {
|
|
4761
4756
|
},
|
4762
4757
|
window.location.href
|
4763
4758
|
);
|
4764
|
-
},
|
4765
|
-
|
4759
|
+
}, Lr = () => {
|
4760
|
+
Ji(s);
|
4766
4761
|
};
|
4767
|
-
|
4762
|
+
zr(() => (r(9, lt = co(Hr)), () => {
|
4768
4763
|
}));
|
4769
|
-
const
|
4770
|
-
function
|
4771
|
-
|
4764
|
+
const Ir = (p) => dt(p.gameId, p.launchUrl, p.name, p.subVendor), Nr = (p) => pt(p.id);
|
4765
|
+
function Mr(p) {
|
4766
|
+
_e[p ? "unshift" : "push"](() => {
|
4772
4767
|
g = p, r(4, g);
|
4773
4768
|
});
|
4774
4769
|
}
|
4775
|
-
function
|
4776
|
-
|
4770
|
+
function Rr(p) {
|
4771
|
+
_e[p ? "unshift" : "push"](() => {
|
4777
4772
|
N = p, r(5, N);
|
4778
4773
|
});
|
4779
4774
|
}
|
@@ -4781,14 +4776,14 @@ function So(e, t, r) {
|
|
4781
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, l = p.clientstyling), "clientstylingurl" in p && r(19, u = 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);
|
4782
4777
|
}, e.$$.update = () => {
|
4783
4778
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4784
|
-
229376 && i && o && s &&
|
4785
|
-
24 && m && g &&
|
4786
|
-
131072 && s &&
|
4787
|
-
262176 && l && N &&
|
4788
|
-
524320 && u && N &&
|
4789
|
-
2097184 && N &&
|
4790
|
-
1048576 && f &&
|
4791
|
-
4194304 &&
|
4779
|
+
229376 && i && o && s && ht(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4780
|
+
24 && m && g && ct(), e.$$.dirty[0] & /*lang*/
|
4781
|
+
131072 && s && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4782
|
+
262176 && l && N && fo(N, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4783
|
+
524320 && u && N && po(N, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4784
|
+
2097184 && N && mo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4785
|
+
1048576 && f && Cr(), e.$$.dirty[0] & /*paginationrequired*/
|
4786
|
+
4194304 && Le && ht();
|
4792
4787
|
}, [
|
4793
4788
|
a,
|
4794
4789
|
h,
|
@@ -4798,13 +4793,13 @@ function So(e, t, r) {
|
|
4798
4793
|
N,
|
4799
4794
|
b,
|
4800
4795
|
_,
|
4801
|
-
|
4802
|
-
|
4796
|
+
T,
|
4797
|
+
lt,
|
4803
4798
|
n,
|
4799
|
+
Ar,
|
4804
4800
|
Or,
|
4805
|
-
|
4801
|
+
dt,
|
4806
4802
|
pt,
|
4807
|
-
mt,
|
4808
4803
|
i,
|
4809
4804
|
o,
|
4810
4805
|
s,
|
@@ -4812,21 +4807,21 @@ function So(e, t, r) {
|
|
4812
4807
|
u,
|
4813
4808
|
f,
|
4814
4809
|
d,
|
4815
|
-
|
4810
|
+
Le,
|
4811
|
+
Ir,
|
4816
4812
|
Nr,
|
4817
4813
|
Mr,
|
4818
|
-
Rr
|
4819
|
-
$r
|
4814
|
+
Rr
|
4820
4815
|
];
|
4821
4816
|
}
|
4822
|
-
class
|
4817
|
+
class So extends sn {
|
4823
4818
|
constructor(t) {
|
4824
|
-
super(),
|
4819
|
+
super(), nn(
|
4825
4820
|
this,
|
4826
4821
|
t,
|
4827
|
-
So,
|
4828
4822
|
xo,
|
4829
|
-
|
4823
|
+
Eo,
|
4824
|
+
Wt,
|
4830
4825
|
{
|
4831
4826
|
endpoint: 15,
|
4832
4827
|
datasource: 16,
|
@@ -4839,7 +4834,7 @@ class wo extends an {
|
|
4839
4834
|
collectionprovidersgamenames: 2,
|
4840
4835
|
mbsource: 21
|
4841
4836
|
},
|
4842
|
-
|
4837
|
+
bo,
|
4843
4838
|
[-1, -1]
|
4844
4839
|
);
|
4845
4840
|
}
|
@@ -4904,7 +4899,7 @@ class wo extends an {
|
|
4904
4899
|
this.$$set({ mbsource: t }), O();
|
4905
4900
|
}
|
4906
4901
|
}
|
4907
|
-
|
4902
|
+
on(So, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4908
4903
|
export {
|
4909
|
-
|
4904
|
+
So as C
|
4910
4905
|
};
|