@everymatrix/casino-collections-providers 1.60.2 → 1.61.1
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-N7f3lcMy.js → CasinoCollectionsProviders-CvZkMD5L.js} +805 -800
- package/components/CasinoCollectionsProviders-CxRm-bwJ.cjs +18 -0
- package/components/{CasinoCollectionsProviders-DzoJQIXN.js → CasinoCollectionsProviders-D5btJk9X.js} +777 -772
- 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/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CasinoCollectionsProviders-JQuofl74.cjs +0 -18
package/components/{CasinoCollectionsProviders-DzoJQIXN.js → CasinoCollectionsProviders-D5btJk9X.js}
RENAMED
@@ -1,28 +1,29 @@
|
|
1
|
+
import "../stencil/ui-image-BNrzgSpe.js";
|
1
2
|
function A() {
|
2
3
|
}
|
3
|
-
function
|
4
|
+
function Ft(e) {
|
4
5
|
return e();
|
5
6
|
}
|
6
|
-
function
|
7
|
+
function ct() {
|
7
8
|
return /* @__PURE__ */ Object.create(null);
|
8
9
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
10
|
+
function re(e) {
|
11
|
+
e.forEach(Ft);
|
11
12
|
}
|
12
|
-
function
|
13
|
+
function tt(e) {
|
13
14
|
return typeof e == "function";
|
14
15
|
}
|
15
|
-
function
|
16
|
+
function jt(e, t) {
|
16
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
18
|
}
|
18
|
-
let
|
19
|
-
function
|
20
|
-
return e === t ? !0 : (
|
19
|
+
let fe;
|
20
|
+
function ye(e, t) {
|
21
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
21
22
|
}
|
22
|
-
function
|
23
|
+
function Nr(e) {
|
23
24
|
return Object.keys(e).length === 0;
|
24
25
|
}
|
25
|
-
function
|
26
|
+
function kt(e, ...t) {
|
26
27
|
if (e == null) {
|
27
28
|
for (const n of t)
|
28
29
|
n(void 0);
|
@@ -31,20 +32,20 @@ function jt(e, ...t) {
|
|
31
32
|
const r = e.subscribe(...t);
|
32
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
34
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
35
|
+
function Mr(e, t, r) {
|
36
|
+
e.$$.on_destroy.push(kt(t, r));
|
36
37
|
}
|
37
|
-
function
|
38
|
+
function T(e, t) {
|
38
39
|
e.appendChild(t);
|
39
40
|
}
|
40
|
-
function
|
41
|
-
const n =
|
41
|
+
function Rr(e, t, r) {
|
42
|
+
const n = $r(e);
|
42
43
|
if (!n.getElementById(t)) {
|
43
|
-
const i =
|
44
|
-
i.id = t, i.textContent = r,
|
44
|
+
const i = H("style");
|
45
|
+
i.id = t, i.textContent = r, Gr(n, i);
|
45
46
|
}
|
46
47
|
}
|
47
|
-
function
|
48
|
+
function $r(e) {
|
48
49
|
if (!e)
|
49
50
|
return document;
|
50
51
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -54,54 +55,58 @@ function Rr(e) {
|
|
54
55
|
t
|
55
56
|
) : e.ownerDocument;
|
56
57
|
}
|
57
|
-
function
|
58
|
-
return
|
58
|
+
function Gr(e, t) {
|
59
|
+
return T(
|
59
60
|
/** @type {Document} */
|
60
61
|
e.head || e,
|
61
62
|
t
|
62
63
|
), t.sheet;
|
63
64
|
}
|
64
|
-
function
|
65
|
+
function G(e, t, r) {
|
65
66
|
e.insertBefore(t, r || null);
|
66
67
|
}
|
67
68
|
function I(e) {
|
68
69
|
e.parentNode && e.parentNode.removeChild(e);
|
69
70
|
}
|
70
|
-
function
|
71
|
+
function Vt(e, t) {
|
71
72
|
for (let r = 0; r < e.length; r += 1)
|
72
73
|
e[r] && e[r].d(t);
|
73
74
|
}
|
74
|
-
function
|
75
|
+
function H(e) {
|
75
76
|
return document.createElement(e);
|
76
77
|
}
|
77
|
-
function
|
78
|
+
function Te(e) {
|
78
79
|
return document.createTextNode(e);
|
79
80
|
}
|
80
|
-
function
|
81
|
-
return
|
81
|
+
function V() {
|
82
|
+
return Te(" ");
|
82
83
|
}
|
83
|
-
function
|
84
|
+
function _e(e, t, r, n) {
|
84
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
85
86
|
}
|
86
|
-
function
|
87
|
+
function Ur(e) {
|
87
88
|
return function(t) {
|
88
89
|
return t.stopPropagation(), e.call(this, t);
|
89
90
|
};
|
90
91
|
}
|
91
|
-
function
|
92
|
+
function C(e, t, r) {
|
92
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
93
94
|
}
|
94
|
-
function
|
95
|
+
function $(e, t, r) {
|
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 Dr(e) {
|
95
100
|
return Array.from(e.childNodes);
|
96
101
|
}
|
97
|
-
function
|
102
|
+
function rt(e, t) {
|
98
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
99
104
|
t);
|
100
105
|
}
|
101
|
-
function
|
106
|
+
function Le(e, t, r, n) {
|
102
107
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
103
108
|
}
|
104
|
-
function
|
109
|
+
function Fr(e) {
|
105
110
|
const t = {};
|
106
111
|
return e.childNodes.forEach(
|
107
112
|
/** @param {Element} node */
|
@@ -110,90 +115,90 @@ function Dr(e) {
|
|
110
115
|
}
|
111
116
|
), t;
|
112
117
|
}
|
113
|
-
let
|
114
|
-
function
|
115
|
-
|
118
|
+
let le;
|
119
|
+
function ae(e) {
|
120
|
+
le = e;
|
116
121
|
}
|
117
|
-
function
|
118
|
-
if (!
|
122
|
+
function jr() {
|
123
|
+
if (!le)
|
119
124
|
throw new Error("Function called outside component initialization");
|
120
|
-
return
|
125
|
+
return le;
|
121
126
|
}
|
122
|
-
function
|
123
|
-
|
127
|
+
function kr(e) {
|
128
|
+
jr().$$.on_mount.push(e);
|
124
129
|
}
|
125
|
-
const
|
126
|
-
let
|
127
|
-
const
|
128
|
-
let
|
129
|
-
function
|
130
|
-
|
130
|
+
const Q = [], xe = [];
|
131
|
+
let q = [];
|
132
|
+
const ft = [], Vr = /* @__PURE__ */ Promise.resolve();
|
133
|
+
let De = !1;
|
134
|
+
function Xr() {
|
135
|
+
De || (De = !0, Vr.then(O));
|
131
136
|
}
|
132
|
-
function
|
133
|
-
|
137
|
+
function Fe(e) {
|
138
|
+
q.push(e);
|
134
139
|
}
|
135
|
-
const
|
136
|
-
let
|
140
|
+
const Ie = /* @__PURE__ */ new Set();
|
141
|
+
let z = 0;
|
137
142
|
function O() {
|
138
|
-
if (
|
143
|
+
if (z !== 0)
|
139
144
|
return;
|
140
|
-
const e =
|
145
|
+
const e = le;
|
141
146
|
do {
|
142
147
|
try {
|
143
|
-
for (;
|
144
|
-
const t =
|
145
|
-
|
148
|
+
for (; z < Q.length; ) {
|
149
|
+
const t = Q[z];
|
150
|
+
z++, ae(t), Wr(t.$$);
|
146
151
|
}
|
147
152
|
} catch (t) {
|
148
|
-
throw
|
153
|
+
throw Q.length = 0, z = 0, t;
|
149
154
|
}
|
150
|
-
for (
|
151
|
-
|
152
|
-
for (let t = 0; t <
|
153
|
-
const r =
|
154
|
-
|
155
|
+
for (ae(null), Q.length = 0, z = 0; xe.length; )
|
156
|
+
xe.pop()();
|
157
|
+
for (let t = 0; t < q.length; t += 1) {
|
158
|
+
const r = q[t];
|
159
|
+
Ie.has(r) || (Ie.add(r), r());
|
155
160
|
}
|
156
|
-
|
157
|
-
} while (
|
158
|
-
for (;
|
159
|
-
|
160
|
-
|
161
|
+
q.length = 0;
|
162
|
+
} while (Q.length);
|
163
|
+
for (; ft.length; )
|
164
|
+
ft.pop()();
|
165
|
+
De = !1, Ie.clear(), ae(e);
|
161
166
|
}
|
162
|
-
function
|
167
|
+
function Wr(e) {
|
163
168
|
if (e.fragment !== null) {
|
164
|
-
e.update(),
|
169
|
+
e.update(), re(e.before_update);
|
165
170
|
const t = e.dirty;
|
166
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
171
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
|
167
172
|
}
|
168
173
|
}
|
169
|
-
function
|
174
|
+
function zr(e) {
|
170
175
|
const t = [], r = [];
|
171
|
-
|
176
|
+
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
172
177
|
}
|
173
|
-
const
|
174
|
-
function
|
175
|
-
e && e.i && (
|
178
|
+
const Zr = /* @__PURE__ */ new Set();
|
179
|
+
function Qr(e, t) {
|
180
|
+
e && e.i && (Zr.delete(e), e.i(t));
|
176
181
|
}
|
177
|
-
function
|
182
|
+
function Ee(e) {
|
178
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
179
184
|
}
|
180
|
-
function
|
185
|
+
function qr(e, t, r) {
|
181
186
|
const { fragment: n, after_update: i } = e.$$;
|
182
|
-
n && n.m(t, r),
|
183
|
-
const o = e.$$.on_mount.map(
|
184
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
185
|
-
}), i.forEach(
|
187
|
+
n && n.m(t, r), Fe(() => {
|
188
|
+
const o = e.$$.on_mount.map(Ft).filter(tt);
|
189
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
190
|
+
}), i.forEach(Fe);
|
186
191
|
}
|
187
|
-
function
|
192
|
+
function Jr(e, t) {
|
188
193
|
const r = e.$$;
|
189
|
-
r.fragment !== null && (
|
194
|
+
r.fragment !== null && (zr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
190
195
|
}
|
191
|
-
function
|
192
|
-
e.$$.dirty[0] === -1 && (
|
196
|
+
function Yr(e, t) {
|
197
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
193
198
|
}
|
194
|
-
function
|
195
|
-
const h =
|
196
|
-
|
199
|
+
function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
|
200
|
+
const h = le;
|
201
|
+
ae(e);
|
197
202
|
const u = e.$$ = {
|
198
203
|
fragment: null,
|
199
204
|
ctx: [],
|
@@ -201,7 +206,7 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
201
206
|
props: o,
|
202
207
|
update: A,
|
203
208
|
not_equal: i,
|
204
|
-
bound:
|
209
|
+
bound: ct(),
|
205
210
|
// lifecycle
|
206
211
|
on_mount: [],
|
207
212
|
on_destroy: [],
|
@@ -210,7 +215,7 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
210
215
|
after_update: [],
|
211
216
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
212
217
|
// everything else
|
213
|
-
callbacks:
|
218
|
+
callbacks: ct(),
|
214
219
|
dirty: a,
|
215
220
|
skip_bound: !1,
|
216
221
|
root: t.target || h.$$.root
|
@@ -219,19 +224,19 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
219
224
|
let l = !1;
|
220
225
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
221
226
|
const m = d.length ? d[0] : c;
|
222
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l &&
|
223
|
-
}) : [], u.update(), l = !0,
|
227
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Yr(e, f)), c;
|
228
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
224
229
|
if (t.hydrate) {
|
225
|
-
const f =
|
230
|
+
const f = Dr(t.target);
|
226
231
|
u.fragment && u.fragment.l(f), f.forEach(I);
|
227
232
|
} else
|
228
233
|
u.fragment && u.fragment.c();
|
229
|
-
t.intro &&
|
234
|
+
t.intro && Qr(e.$$.fragment), qr(e, t.target, t.anchor), O();
|
230
235
|
}
|
231
|
-
|
236
|
+
ae(h);
|
232
237
|
}
|
233
|
-
let
|
234
|
-
typeof HTMLElement == "function" && (
|
238
|
+
let Xt;
|
239
|
+
typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
235
240
|
/** The Svelte component constructor */
|
236
241
|
$$ctor;
|
237
242
|
/** Slots */
|
@@ -273,14 +278,14 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
273
278
|
let o;
|
274
279
|
return {
|
275
280
|
c: function() {
|
276
|
-
o =
|
281
|
+
o = H("slot"), i !== "default" && C(o, "name", i);
|
277
282
|
},
|
278
283
|
/**
|
279
284
|
* @param {HTMLElement} target
|
280
285
|
* @param {HTMLElement} [anchor]
|
281
286
|
*/
|
282
287
|
m: function(h, u) {
|
283
|
-
|
288
|
+
G(h, o, u);
|
284
289
|
},
|
285
290
|
d: function(h) {
|
286
291
|
h && I(o);
|
@@ -290,12 +295,12 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
290
295
|
};
|
291
296
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
292
297
|
return;
|
293
|
-
const t = {}, r =
|
298
|
+
const t = {}, r = Fr(this);
|
294
299
|
for (const i of this.$$s)
|
295
300
|
i in r && (t[i] = [e(i)]);
|
296
301
|
for (const i of this.attributes) {
|
297
302
|
const o = this.$$g_p(i.name);
|
298
|
-
o in this.$$d || (this.$$d[o] =
|
303
|
+
o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
|
299
304
|
}
|
300
305
|
for (const i in this.$$p_d)
|
301
306
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -313,7 +318,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
313
318
|
this.$$r = !0;
|
314
319
|
for (const i in this.$$p_d)
|
315
320
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
316
|
-
const o =
|
321
|
+
const o = me(
|
317
322
|
i,
|
318
323
|
this.$$d[i],
|
319
324
|
this.$$p_d,
|
@@ -335,7 +340,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
335
340
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
336
341
|
// and setting attributes through setAttribute etc, this is helpful
|
337
342
|
attributeChangedCallback(e, t, r) {
|
338
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
343
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
339
344
|
}
|
340
345
|
disconnectedCallback() {
|
341
346
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -348,7 +353,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
348
353
|
) || e;
|
349
354
|
}
|
350
355
|
});
|
351
|
-
function
|
356
|
+
function me(e, t, r, n) {
|
352
357
|
const i = r[e]?.type;
|
353
358
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
354
359
|
return t;
|
@@ -377,8 +382,8 @@ function pe(e, t, r, n) {
|
|
377
382
|
return t;
|
378
383
|
}
|
379
384
|
}
|
380
|
-
function
|
381
|
-
let s = class extends
|
385
|
+
function en(e, t, r, n, i, o) {
|
386
|
+
let s = class extends Xt {
|
382
387
|
constructor() {
|
383
388
|
super(e, r, i), this.$$p_d = t;
|
384
389
|
}
|
@@ -394,7 +399,7 @@ function Kr(e, t, r, n, i, o) {
|
|
394
399
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
395
400
|
},
|
396
401
|
set(h) {
|
397
|
-
h =
|
402
|
+
h = me(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
398
403
|
}
|
399
404
|
});
|
400
405
|
}), n.forEach((a) => {
|
@@ -406,7 +411,7 @@ function Kr(e, t, r, n, i, o) {
|
|
406
411
|
}), e.element = /** @type {any} */
|
407
412
|
s, s;
|
408
413
|
}
|
409
|
-
class
|
414
|
+
class tn {
|
410
415
|
/**
|
411
416
|
* ### PRIVATE API
|
412
417
|
*
|
@@ -425,7 +430,7 @@ class en {
|
|
425
430
|
$$set = void 0;
|
426
431
|
/** @returns {void} */
|
427
432
|
$destroy() {
|
428
|
-
|
433
|
+
Jr(this, 1), this.$destroy = A;
|
429
434
|
}
|
430
435
|
/**
|
431
436
|
* @template {Extract<keyof Events, string>} K
|
@@ -434,7 +439,7 @@ class en {
|
|
434
439
|
* @returns {() => void}
|
435
440
|
*/
|
436
441
|
$on(t, r) {
|
437
|
-
if (!
|
442
|
+
if (!tt(r))
|
438
443
|
return A;
|
439
444
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
440
445
|
return n.push(r), () => {
|
@@ -447,29 +452,29 @@ class en {
|
|
447
452
|
* @returns {void}
|
448
453
|
*/
|
449
454
|
$set(t) {
|
450
|
-
this.$$set && !
|
455
|
+
this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
451
456
|
}
|
452
457
|
}
|
453
|
-
const
|
454
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
455
|
-
const
|
456
|
-
function
|
458
|
+
const rn = "4";
|
459
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
|
460
|
+
const Z = [];
|
461
|
+
function nn(e, t) {
|
457
462
|
return {
|
458
|
-
subscribe:
|
463
|
+
subscribe: He(e, t).subscribe
|
459
464
|
};
|
460
465
|
}
|
461
|
-
function
|
466
|
+
function He(e, t = A) {
|
462
467
|
let r;
|
463
468
|
const n = /* @__PURE__ */ new Set();
|
464
469
|
function i(a) {
|
465
|
-
if (
|
466
|
-
const h = !
|
470
|
+
if (jt(e, a) && (e = a, r)) {
|
471
|
+
const h = !Z.length;
|
467
472
|
for (const u of n)
|
468
|
-
u[1](),
|
473
|
+
u[1](), Z.push(u, e);
|
469
474
|
if (h) {
|
470
|
-
for (let u = 0; u <
|
471
|
-
|
472
|
-
|
475
|
+
for (let u = 0; u < Z.length; u += 2)
|
476
|
+
Z[u][0](Z[u + 1]);
|
477
|
+
Z.length = 0;
|
473
478
|
}
|
474
479
|
}
|
475
480
|
}
|
@@ -484,12 +489,12 @@ function Te(e, t = A) {
|
|
484
489
|
}
|
485
490
|
return { set: i, update: o, subscribe: s };
|
486
491
|
}
|
487
|
-
function
|
492
|
+
function ne(e, t, r) {
|
488
493
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
489
494
|
if (!i.every(Boolean))
|
490
495
|
throw new Error("derived() expects stores as input, got a falsy value");
|
491
496
|
const o = t.length < 2;
|
492
|
-
return
|
497
|
+
return nn(r, (s, a) => {
|
493
498
|
let h = !1;
|
494
499
|
const u = [];
|
495
500
|
let l = 0, f = A;
|
@@ -498,9 +503,9 @@ function re(e, t, r) {
|
|
498
503
|
return;
|
499
504
|
f();
|
500
505
|
const m = t(n ? u[0] : u, s, a);
|
501
|
-
o ? s(m) : f =
|
506
|
+
o ? s(m) : f = tt(m) ? m : A;
|
502
507
|
}, d = i.map(
|
503
|
-
(m, b) =>
|
508
|
+
(m, b) => kt(
|
504
509
|
m,
|
505
510
|
(g) => {
|
506
511
|
u[b] = g, l &= ~(1 << b), h && c();
|
@@ -511,84 +516,84 @@ function re(e, t, r) {
|
|
511
516
|
)
|
512
517
|
);
|
513
518
|
return h = !0, c(), function() {
|
514
|
-
|
519
|
+
re(d), f(), h = !1;
|
515
520
|
};
|
516
521
|
});
|
517
522
|
}
|
518
|
-
function
|
523
|
+
function on(e) {
|
519
524
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
520
525
|
}
|
521
|
-
var
|
522
|
-
return
|
526
|
+
var sn = function(t) {
|
527
|
+
return an(t) && !ln(t);
|
523
528
|
};
|
524
|
-
function
|
529
|
+
function an(e) {
|
525
530
|
return !!e && typeof e == "object";
|
526
531
|
}
|
527
|
-
function
|
532
|
+
function ln(e) {
|
528
533
|
var t = Object.prototype.toString.call(e);
|
529
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
530
|
-
}
|
531
|
-
var ln = typeof Symbol == "function" && Symbol.for, un = ln ? Symbol.for("react.element") : 60103;
|
532
|
-
function hn(e) {
|
533
|
-
return e.$$typeof === un;
|
534
|
+
return t === "[object RegExp]" || t === "[object Date]" || cn(e);
|
534
535
|
}
|
536
|
+
var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
|
535
537
|
function cn(e) {
|
538
|
+
return e.$$typeof === hn;
|
539
|
+
}
|
540
|
+
function fn(e) {
|
536
541
|
return Array.isArray(e) ? [] : {};
|
537
542
|
}
|
538
|
-
function
|
539
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
543
|
+
function ue(e, t) {
|
544
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(fn(e), e, t) : e;
|
540
545
|
}
|
541
|
-
function
|
546
|
+
function dn(e, t, r) {
|
542
547
|
return e.concat(t).map(function(n) {
|
543
|
-
return
|
548
|
+
return ue(n, r);
|
544
549
|
});
|
545
550
|
}
|
546
|
-
function
|
551
|
+
function pn(e, t) {
|
547
552
|
if (!t.customMerge)
|
548
|
-
return
|
553
|
+
return Y;
|
549
554
|
var r = t.customMerge(e);
|
550
|
-
return typeof r == "function" ? r :
|
555
|
+
return typeof r == "function" ? r : Y;
|
551
556
|
}
|
552
|
-
function
|
557
|
+
function mn(e) {
|
553
558
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
554
559
|
return Object.propertyIsEnumerable.call(e, t);
|
555
560
|
}) : [];
|
556
561
|
}
|
557
|
-
function
|
558
|
-
return Object.keys(e).concat(
|
562
|
+
function dt(e) {
|
563
|
+
return Object.keys(e).concat(mn(e));
|
559
564
|
}
|
560
|
-
function
|
565
|
+
function Wt(e, t) {
|
561
566
|
try {
|
562
567
|
return t in e;
|
563
568
|
} catch {
|
564
569
|
return !1;
|
565
570
|
}
|
566
571
|
}
|
567
|
-
function
|
568
|
-
return
|
572
|
+
function bn(e, t) {
|
573
|
+
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
569
574
|
}
|
570
|
-
function
|
575
|
+
function gn(e, t, r) {
|
571
576
|
var n = {};
|
572
|
-
return r.isMergeableObject(e) &&
|
573
|
-
n[i] =
|
574
|
-
}),
|
575
|
-
|
577
|
+
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
578
|
+
n[i] = ue(e[i], r);
|
579
|
+
}), dt(t).forEach(function(i) {
|
580
|
+
bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
576
581
|
}), n;
|
577
582
|
}
|
578
|
-
function
|
579
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
583
|
+
function Y(e, t, r) {
|
584
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ue;
|
580
585
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
581
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
586
|
+
return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
|
582
587
|
}
|
583
|
-
|
588
|
+
Y.all = function(t, r) {
|
584
589
|
if (!Array.isArray(t))
|
585
590
|
throw new Error("first argument should be an array");
|
586
591
|
return t.reduce(function(n, i) {
|
587
|
-
return
|
592
|
+
return Y(n, i, r);
|
588
593
|
}, {});
|
589
594
|
};
|
590
|
-
var
|
591
|
-
const
|
595
|
+
var vn = Y, yn = vn;
|
596
|
+
const _n = /* @__PURE__ */ on(yn);
|
592
597
|
/*! *****************************************************************************
|
593
598
|
Copyright (c) Microsoft Corporation.
|
594
599
|
|
@@ -603,18 +608,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
603
608
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
604
609
|
PERFORMANCE OF THIS SOFTWARE.
|
605
610
|
***************************************************************************** */
|
606
|
-
var
|
607
|
-
return
|
611
|
+
var je = function(e, t) {
|
612
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
608
613
|
r.__proto__ = n;
|
609
614
|
} || function(r, n) {
|
610
615
|
for (var i in n)
|
611
616
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
612
|
-
},
|
617
|
+
}, je(e, t);
|
613
618
|
};
|
614
|
-
function
|
619
|
+
function D(e, t) {
|
615
620
|
if (typeof t != "function" && t !== null)
|
616
621
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
617
|
-
|
622
|
+
je(e, t);
|
618
623
|
function r() {
|
619
624
|
this.constructor = e;
|
620
625
|
}
|
@@ -630,7 +635,7 @@ var _ = function() {
|
|
630
635
|
return t;
|
631
636
|
}, _.apply(this, arguments);
|
632
637
|
};
|
633
|
-
function
|
638
|
+
function xn(e, t) {
|
634
639
|
var r = {};
|
635
640
|
for (var n in e)
|
636
641
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -639,7 +644,7 @@ function _n(e, t) {
|
|
639
644
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
640
645
|
return r;
|
641
646
|
}
|
642
|
-
function
|
647
|
+
function ke(e) {
|
643
648
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
644
649
|
if (r)
|
645
650
|
return r.call(e);
|
@@ -651,7 +656,7 @@ function je(e) {
|
|
651
656
|
};
|
652
657
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
653
658
|
}
|
654
|
-
function
|
659
|
+
function Ve(e, t) {
|
655
660
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
656
661
|
if (!r)
|
657
662
|
return e;
|
@@ -671,43 +676,43 @@ function ke(e, t) {
|
|
671
676
|
}
|
672
677
|
return o;
|
673
678
|
}
|
674
|
-
function
|
679
|
+
function J(e, t, r) {
|
675
680
|
if (r || arguments.length === 2)
|
676
681
|
for (var n = 0, i = t.length, o; n < i; n++)
|
677
682
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
678
683
|
return e.concat(o || t);
|
679
684
|
}
|
680
|
-
function
|
681
|
-
var r = t && t.cache ? t.cache :
|
685
|
+
function Ne(e, t) {
|
686
|
+
var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
|
682
687
|
return i(e, {
|
683
688
|
cache: r,
|
684
689
|
serializer: n
|
685
690
|
});
|
686
691
|
}
|
687
|
-
function
|
692
|
+
function En(e) {
|
688
693
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
689
694
|
}
|
690
|
-
function
|
691
|
-
var i =
|
695
|
+
function Sn(e, t, r, n) {
|
696
|
+
var i = En(n) ? n : r(n), o = t.get(i);
|
692
697
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
693
698
|
}
|
694
|
-
function
|
699
|
+
function zt(e, t, r) {
|
695
700
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
696
701
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
697
702
|
}
|
698
|
-
function
|
703
|
+
function Zt(e, t, r, n, i) {
|
699
704
|
return r.bind(t, e, n, i);
|
700
705
|
}
|
701
|
-
function Sn(e, t) {
|
702
|
-
var r = e.length === 1 ? En : Wt;
|
703
|
-
return zt(e, this, r, t.cache.create(), t.serializer);
|
704
|
-
}
|
705
706
|
function wn(e, t) {
|
706
|
-
|
707
|
+
var r = e.length === 1 ? Sn : zt;
|
708
|
+
return Zt(e, this, r, t.cache.create(), t.serializer);
|
709
|
+
}
|
710
|
+
function Tn(e, t) {
|
711
|
+
return Zt(e, this, zt, t.cache.create(), t.serializer);
|
707
712
|
}
|
708
|
-
var
|
713
|
+
var Hn = function() {
|
709
714
|
return JSON.stringify(arguments);
|
710
|
-
},
|
715
|
+
}, Cn = (
|
711
716
|
/** @class */
|
712
717
|
function() {
|
713
718
|
function e() {
|
@@ -719,61 +724,61 @@ var Tn = function() {
|
|
719
724
|
this.cache[t] = r;
|
720
725
|
}, e;
|
721
726
|
}()
|
722
|
-
),
|
727
|
+
), Pn = {
|
723
728
|
create: function() {
|
724
|
-
return new
|
729
|
+
return new Cn();
|
725
730
|
}
|
726
|
-
},
|
727
|
-
variadic:
|
731
|
+
}, Me = {
|
732
|
+
variadic: Tn
|
728
733
|
}, v;
|
729
734
|
(function(e) {
|
730
735
|
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";
|
731
736
|
})(v || (v = {}));
|
732
|
-
var
|
737
|
+
var S;
|
733
738
|
(function(e) {
|
734
739
|
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";
|
735
|
-
})(
|
736
|
-
var
|
740
|
+
})(S || (S = {}));
|
741
|
+
var K;
|
737
742
|
(function(e) {
|
738
743
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
739
|
-
})(
|
740
|
-
function
|
741
|
-
return e.type ===
|
742
|
-
}
|
743
|
-
function Pn(e) {
|
744
|
-
return e.type === w.argument;
|
744
|
+
})(K || (K = {}));
|
745
|
+
function pt(e) {
|
746
|
+
return e.type === S.literal;
|
745
747
|
}
|
746
|
-
function
|
747
|
-
return e.type ===
|
748
|
+
function Bn(e) {
|
749
|
+
return e.type === S.argument;
|
748
750
|
}
|
749
751
|
function Qt(e) {
|
750
|
-
return e.type ===
|
752
|
+
return e.type === S.number;
|
751
753
|
}
|
752
754
|
function qt(e) {
|
753
|
-
return e.type ===
|
755
|
+
return e.type === S.date;
|
754
756
|
}
|
755
757
|
function Jt(e) {
|
756
|
-
return e.type ===
|
758
|
+
return e.type === S.time;
|
757
759
|
}
|
758
760
|
function Yt(e) {
|
759
|
-
return e.type ===
|
760
|
-
}
|
761
|
-
function Bn(e) {
|
762
|
-
return e.type === w.pound;
|
761
|
+
return e.type === S.select;
|
763
762
|
}
|
764
763
|
function Kt(e) {
|
765
|
-
return e.type ===
|
764
|
+
return e.type === S.plural;
|
765
|
+
}
|
766
|
+
function An(e) {
|
767
|
+
return e.type === S.pound;
|
766
768
|
}
|
767
769
|
function er(e) {
|
768
|
-
return
|
770
|
+
return e.type === S.tag;
|
771
|
+
}
|
772
|
+
function tr(e) {
|
773
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
769
774
|
}
|
770
|
-
function
|
771
|
-
return !!(e && typeof e == "object" && e.type ===
|
775
|
+
function Xe(e) {
|
776
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
772
777
|
}
|
773
|
-
var
|
774
|
-
function
|
778
|
+
var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
|
779
|
+
function Ln(e) {
|
775
780
|
var t = {};
|
776
|
-
return e.replace(
|
781
|
+
return e.replace(On, function(r) {
|
777
782
|
var n = r.length;
|
778
783
|
switch (r[0]) {
|
779
784
|
case "G":
|
@@ -862,11 +867,11 @@ function On(e) {
|
|
862
867
|
return "";
|
863
868
|
}), t;
|
864
869
|
}
|
865
|
-
var
|
866
|
-
function
|
870
|
+
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
871
|
+
function Nn(e) {
|
867
872
|
if (e.length === 0)
|
868
873
|
throw new Error("Number skeleton cannot be empty");
|
869
|
-
for (var t = e.split(
|
874
|
+
for (var t = e.split(In).filter(function(c) {
|
870
875
|
return c.length > 0;
|
871
876
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
872
877
|
var o = i[n], s = o.split("/");
|
@@ -881,17 +886,17 @@ function In(e) {
|
|
881
886
|
}
|
882
887
|
return r;
|
883
888
|
}
|
884
|
-
function
|
889
|
+
function Mn(e) {
|
885
890
|
return e.replace(/^(.*?)-/, "");
|
886
891
|
}
|
887
|
-
var
|
888
|
-
function
|
892
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
|
893
|
+
function bt(e) {
|
889
894
|
var t = {};
|
890
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
895
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
|
891
896
|
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)), "";
|
892
897
|
}), t;
|
893
898
|
}
|
894
|
-
function
|
899
|
+
function or(e) {
|
895
900
|
switch (e) {
|
896
901
|
case "sign-auto":
|
897
902
|
return {
|
@@ -931,7 +936,7 @@ function ir(e) {
|
|
931
936
|
};
|
932
937
|
}
|
933
938
|
}
|
934
|
-
function
|
939
|
+
function $n(e) {
|
935
940
|
var t;
|
936
941
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
937
942
|
notation: "engineering"
|
@@ -939,17 +944,17 @@ function Rn(e) {
|
|
939
944
|
notation: "scientific"
|
940
945
|
}, e = e.slice(1)), t) {
|
941
946
|
var r = e.slice(0, 2);
|
942
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
947
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
|
943
948
|
throw new Error("Malformed concise eng/scientific notation");
|
944
949
|
t.minimumIntegerDigits = e.length;
|
945
950
|
}
|
946
951
|
return t;
|
947
952
|
}
|
948
|
-
function
|
949
|
-
var t = {}, r =
|
953
|
+
function gt(e) {
|
954
|
+
var t = {}, r = or(e);
|
950
955
|
return r || t;
|
951
956
|
}
|
952
|
-
function
|
957
|
+
function Gn(e) {
|
953
958
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
954
959
|
var i = n[r];
|
955
960
|
switch (i.stem) {
|
@@ -973,7 +978,7 @@ function $n(e) {
|
|
973
978
|
continue;
|
974
979
|
case "measure-unit":
|
975
980
|
case "unit":
|
976
|
-
t.style = "unit", t.unit =
|
981
|
+
t.style = "unit", t.unit = Mn(i.options[0]);
|
977
982
|
continue;
|
978
983
|
case "compact-short":
|
979
984
|
case "K":
|
@@ -985,12 +990,12 @@ function $n(e) {
|
|
985
990
|
continue;
|
986
991
|
case "scientific":
|
987
992
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
988
|
-
return _(_({}, h),
|
993
|
+
return _(_({}, h), gt(u));
|
989
994
|
}, {}));
|
990
995
|
continue;
|
991
996
|
case "engineering":
|
992
997
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
993
|
-
return _(_({}, h),
|
998
|
+
return _(_({}, h), gt(u));
|
994
999
|
}, {}));
|
995
1000
|
continue;
|
996
1001
|
case "notation-simple":
|
@@ -1035,7 +1040,7 @@ function $n(e) {
|
|
1035
1040
|
case "integer-width":
|
1036
1041
|
if (i.options.length > 1)
|
1037
1042
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1038
|
-
i.options[0].replace(
|
1043
|
+
i.options[0].replace(Rn, function(h, u, l, f, c, d) {
|
1039
1044
|
if (u)
|
1040
1045
|
t.minimumIntegerDigits = l.length;
|
1041
1046
|
else {
|
@@ -1048,32 +1053,32 @@ function $n(e) {
|
|
1048
1053
|
});
|
1049
1054
|
continue;
|
1050
1055
|
}
|
1051
|
-
if (
|
1056
|
+
if (ir.test(i.stem)) {
|
1052
1057
|
t.minimumIntegerDigits = i.stem.length;
|
1053
1058
|
continue;
|
1054
1059
|
}
|
1055
|
-
if (
|
1060
|
+
if (mt.test(i.stem)) {
|
1056
1061
|
if (i.options.length > 1)
|
1057
1062
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1058
|
-
i.stem.replace(
|
1063
|
+
i.stem.replace(mt, function(h, u, l, f, c, d) {
|
1059
1064
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1060
1065
|
});
|
1061
1066
|
var o = i.options[0];
|
1062
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1067
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
|
1063
1068
|
continue;
|
1064
1069
|
}
|
1065
|
-
if (
|
1066
|
-
t = _(_({}, t),
|
1070
|
+
if (nr.test(i.stem)) {
|
1071
|
+
t = _(_({}, t), bt(i.stem));
|
1067
1072
|
continue;
|
1068
1073
|
}
|
1069
|
-
var s =
|
1074
|
+
var s = or(i.stem);
|
1070
1075
|
s && (t = _(_({}, t), s));
|
1071
|
-
var a =
|
1076
|
+
var a = $n(i.stem);
|
1072
1077
|
a && (t = _(_({}, t), a));
|
1073
1078
|
}
|
1074
1079
|
return t;
|
1075
1080
|
}
|
1076
|
-
var
|
1081
|
+
var de = {
|
1077
1082
|
"001": [
|
1078
1083
|
"H",
|
1079
1084
|
"h"
|
@@ -2488,13 +2493,13 @@ var fe = {
|
|
2488
2493
|
"h"
|
2489
2494
|
]
|
2490
2495
|
};
|
2491
|
-
function
|
2496
|
+
function Un(e, t) {
|
2492
2497
|
for (var r = "", n = 0; n < e.length; n++) {
|
2493
2498
|
var i = e.charAt(n);
|
2494
2499
|
if (i === "j") {
|
2495
2500
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2496
2501
|
o++, n++;
|
2497
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
2502
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Dn(t);
|
2498
2503
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2499
2504
|
r += h;
|
2500
2505
|
for (; s-- > 0; )
|
@@ -2504,7 +2509,7 @@ function Gn(e, t) {
|
|
2504
2509
|
}
|
2505
2510
|
return r;
|
2506
2511
|
}
|
2507
|
-
function
|
2512
|
+
function Dn(e) {
|
2508
2513
|
var t = e.hourCycle;
|
2509
2514
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2510
2515
|
e.hourCycles && // @ts-ignore
|
@@ -2523,23 +2528,23 @@ function Un(e) {
|
|
2523
2528
|
}
|
2524
2529
|
var r = e.language, n;
|
2525
2530
|
r !== "root" && (n = e.maximize().region);
|
2526
|
-
var i =
|
2531
|
+
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
2527
2532
|
return i[0];
|
2528
2533
|
}
|
2529
|
-
var
|
2534
|
+
var Re, Fn = new RegExp("^".concat(rr.source, "*")), jn = new RegExp("".concat(rr.source, "*$"));
|
2530
2535
|
function y(e, t) {
|
2531
2536
|
return { start: e, end: t };
|
2532
2537
|
}
|
2533
|
-
var
|
2538
|
+
var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
|
2534
2539
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2535
|
-
},
|
2540
|
+
}, We = !0;
|
2536
2541
|
try {
|
2537
|
-
var
|
2538
|
-
|
2542
|
+
var Jn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2543
|
+
We = ((Re = Jn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
2539
2544
|
} catch {
|
2540
|
-
|
2545
|
+
We = !1;
|
2541
2546
|
}
|
2542
|
-
var
|
2547
|
+
var vt = kn ? (
|
2543
2548
|
// Native
|
2544
2549
|
function(t, r, n) {
|
2545
2550
|
return t.startsWith(r, n);
|
@@ -2549,7 +2554,7 @@ var gt = jn ? (
|
|
2549
2554
|
function(t, r, n) {
|
2550
2555
|
return t.slice(n, n + r.length) === r;
|
2551
2556
|
}
|
2552
|
-
),
|
2557
|
+
), ze = Vn ? String.fromCodePoint : (
|
2553
2558
|
// IE11
|
2554
2559
|
function() {
|
2555
2560
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2561,9 +2566,9 @@ var gt = jn ? (
|
|
2561
2566
|
}
|
2562
2567
|
return n;
|
2563
2568
|
}
|
2564
|
-
),
|
2569
|
+
), yt = (
|
2565
2570
|
// native
|
2566
|
-
|
2571
|
+
Xn ? Object.fromEntries : (
|
2567
2572
|
// Ponyfill
|
2568
2573
|
function(t) {
|
2569
2574
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2573,7 +2578,7 @@ var gt = jn ? (
|
|
2573
2578
|
return r;
|
2574
2579
|
}
|
2575
2580
|
)
|
2576
|
-
),
|
2581
|
+
), sr = Wn ? (
|
2577
2582
|
// Native
|
2578
2583
|
function(t, r) {
|
2579
2584
|
return t.codePointAt(r);
|
@@ -2587,7 +2592,7 @@ var gt = jn ? (
|
|
2587
2592
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2588
2593
|
}
|
2589
2594
|
}
|
2590
|
-
),
|
2595
|
+
), Yn = zn ? (
|
2591
2596
|
// Native
|
2592
2597
|
function(t) {
|
2593
2598
|
return t.trimStart();
|
@@ -2595,9 +2600,9 @@ var gt = jn ? (
|
|
2595
2600
|
) : (
|
2596
2601
|
// Ponyfill
|
2597
2602
|
function(t) {
|
2598
|
-
return t.replace(
|
2603
|
+
return t.replace(Fn, "");
|
2599
2604
|
}
|
2600
|
-
),
|
2605
|
+
), Kn = Zn ? (
|
2601
2606
|
// Native
|
2602
2607
|
function(t) {
|
2603
2608
|
return t.trimEnd();
|
@@ -2605,32 +2610,32 @@ var gt = jn ? (
|
|
2605
2610
|
) : (
|
2606
2611
|
// Ponyfill
|
2607
2612
|
function(t) {
|
2608
|
-
return t.replace(
|
2613
|
+
return t.replace(jn, "");
|
2609
2614
|
}
|
2610
2615
|
);
|
2611
|
-
function
|
2616
|
+
function ar(e, t) {
|
2612
2617
|
return new RegExp(e, t);
|
2613
2618
|
}
|
2614
|
-
var
|
2615
|
-
if (
|
2616
|
-
var
|
2617
|
-
|
2619
|
+
var Ze;
|
2620
|
+
if (We) {
|
2621
|
+
var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2622
|
+
Ze = function(t, r) {
|
2618
2623
|
var n;
|
2619
|
-
|
2620
|
-
var i =
|
2624
|
+
_t.lastIndex = r;
|
2625
|
+
var i = _t.exec(t);
|
2621
2626
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2622
2627
|
};
|
2623
2628
|
} else
|
2624
|
-
|
2629
|
+
Ze = function(t, r) {
|
2625
2630
|
for (var n = []; ; ) {
|
2626
|
-
var i =
|
2627
|
-
if (i === void 0 ||
|
2631
|
+
var i = sr(t, r);
|
2632
|
+
if (i === void 0 || lr(i) || ni(i))
|
2628
2633
|
break;
|
2629
2634
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2630
2635
|
}
|
2631
|
-
return
|
2636
|
+
return ze.apply(void 0, n);
|
2632
2637
|
};
|
2633
|
-
var
|
2638
|
+
var ei = (
|
2634
2639
|
/** @class */
|
2635
2640
|
function() {
|
2636
2641
|
function e(t, r) {
|
@@ -2654,14 +2659,14 @@ var Kn = (
|
|
2654
2659
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2655
2660
|
var a = this.clonePosition();
|
2656
2661
|
this.bump(), i.push({
|
2657
|
-
type:
|
2662
|
+
type: S.pound,
|
2658
2663
|
location: y(a, this.clonePosition())
|
2659
2664
|
});
|
2660
2665
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2661
2666
|
if (n)
|
2662
2667
|
break;
|
2663
2668
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2664
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2669
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
2665
2670
|
var s = this.parseTag(t, r);
|
2666
2671
|
if (s.err)
|
2667
2672
|
return s;
|
@@ -2682,7 +2687,7 @@ var Kn = (
|
|
2682
2687
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2683
2688
|
return {
|
2684
2689
|
val: {
|
2685
|
-
type:
|
2690
|
+
type: S.literal,
|
2686
2691
|
value: "<".concat(i, "/>"),
|
2687
2692
|
location: y(n, this.clonePosition())
|
2688
2693
|
},
|
@@ -2694,12 +2699,12 @@ var Kn = (
|
|
2694
2699
|
return o;
|
2695
2700
|
var s = o.val, a = this.clonePosition();
|
2696
2701
|
if (this.bumpIf("</")) {
|
2697
|
-
if (this.isEOF() || !
|
2702
|
+
if (this.isEOF() || !Qe(this.char()))
|
2698
2703
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2699
2704
|
var h = this.clonePosition(), u = this.parseTagName();
|
2700
2705
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2701
2706
|
val: {
|
2702
|
-
type:
|
2707
|
+
type: S.tag,
|
2703
2708
|
value: i,
|
2704
2709
|
children: s,
|
2705
2710
|
location: y(n, this.clonePosition())
|
@@ -2712,7 +2717,7 @@ var Kn = (
|
|
2712
2717
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2713
2718
|
}, e.prototype.parseTagName = function() {
|
2714
2719
|
var t = this.offset();
|
2715
|
-
for (this.bump(); !this.isEOF() &&
|
2720
|
+
for (this.bump(); !this.isEOF() && ri(this.char()); )
|
2716
2721
|
this.bump();
|
2717
2722
|
return this.message.slice(t, this.offset());
|
2718
2723
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2736,12 +2741,12 @@ var Kn = (
|
|
2736
2741
|
}
|
2737
2742
|
var h = y(n, this.clonePosition());
|
2738
2743
|
return {
|
2739
|
-
val: { type:
|
2744
|
+
val: { type: S.literal, value: i, location: h },
|
2740
2745
|
err: null
|
2741
2746
|
};
|
2742
2747
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2743
2748
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2744
|
-
!
|
2749
|
+
!ti(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2745
2750
|
}, e.prototype.tryParseQuote = function(t) {
|
2746
2751
|
if (this.isEOF() || this.char() !== 39)
|
2747
2752
|
return null;
|
@@ -2775,12 +2780,12 @@ var Kn = (
|
|
2775
2780
|
r.push(n);
|
2776
2781
|
this.bump();
|
2777
2782
|
}
|
2778
|
-
return
|
2783
|
+
return ze.apply(void 0, r);
|
2779
2784
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2780
2785
|
if (this.isEOF())
|
2781
2786
|
return null;
|
2782
2787
|
var n = this.char();
|
2783
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2788
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
2784
2789
|
}, e.prototype.parseArgument = function(t, r) {
|
2785
2790
|
var n = this.clonePosition();
|
2786
2791
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2796,7 +2801,7 @@ var Kn = (
|
|
2796
2801
|
case 125:
|
2797
2802
|
return this.bump(), {
|
2798
2803
|
val: {
|
2799
|
-
type:
|
2804
|
+
type: S.argument,
|
2800
2805
|
// value does not include the opening and closing braces.
|
2801
2806
|
value: i,
|
2802
2807
|
location: y(n, this.clonePosition())
|
@@ -2809,7 +2814,7 @@ var Kn = (
|
|
2809
2814
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2810
2815
|
}
|
2811
2816
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2812
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2817
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
2813
2818
|
this.bumpTo(i);
|
2814
2819
|
var o = this.clonePosition(), s = y(t, o);
|
2815
2820
|
return { value: n, location: s };
|
@@ -2828,7 +2833,7 @@ var Kn = (
|
|
2828
2833
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2829
2834
|
if (f.err)
|
2830
2835
|
return f;
|
2831
|
-
var c =
|
2836
|
+
var c = Kn(f.val);
|
2832
2837
|
if (c.length === 0)
|
2833
2838
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2834
2839
|
var d = y(l, this.clonePosition());
|
@@ -2838,25 +2843,25 @@ var Kn = (
|
|
2838
2843
|
if (m.err)
|
2839
2844
|
return m;
|
2840
2845
|
var b = y(i, this.clonePosition());
|
2841
|
-
if (u &&
|
2842
|
-
var g =
|
2846
|
+
if (u && vt(u?.style, "::", 0)) {
|
2847
|
+
var g = Yn(u.style.slice(2));
|
2843
2848
|
if (a === "number") {
|
2844
2849
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2845
2850
|
return f.err ? f : {
|
2846
|
-
val: { type:
|
2851
|
+
val: { type: S.number, value: n, location: b, style: f.val },
|
2847
2852
|
err: null
|
2848
2853
|
};
|
2849
2854
|
} else {
|
2850
2855
|
if (g.length === 0)
|
2851
2856
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2852
|
-
var
|
2853
|
-
this.locale && (
|
2857
|
+
var E = g;
|
2858
|
+
this.locale && (E = Un(g, this.locale));
|
2854
2859
|
var c = {
|
2855
|
-
type:
|
2856
|
-
pattern:
|
2860
|
+
type: K.dateTime,
|
2861
|
+
pattern: E,
|
2857
2862
|
location: u.styleLocation,
|
2858
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2859
|
-
}, x = a === "date" ?
|
2863
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(E) : {}
|
2864
|
+
}, x = a === "date" ? S.date : S.time;
|
2860
2865
|
return {
|
2861
2866
|
val: { type: x, value: n, location: b, style: c },
|
2862
2867
|
err: null
|
@@ -2865,7 +2870,7 @@ var Kn = (
|
|
2865
2870
|
}
|
2866
2871
|
return {
|
2867
2872
|
val: {
|
2868
|
-
type: a === "number" ?
|
2873
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2869
2874
|
value: n,
|
2870
2875
|
location: b,
|
2871
2876
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
@@ -2876,43 +2881,43 @@ var Kn = (
|
|
2876
2881
|
case "plural":
|
2877
2882
|
case "selectordinal":
|
2878
2883
|
case "select": {
|
2879
|
-
var
|
2884
|
+
var w = this.clonePosition();
|
2880
2885
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2881
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
2886
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, _({}, w)));
|
2882
2887
|
this.bumpSpace();
|
2883
|
-
var
|
2884
|
-
if (a !== "select" &&
|
2888
|
+
var F = this.parseIdentifierIfPossible(), L = 0;
|
2889
|
+
if (a !== "select" && F.value === "offset") {
|
2885
2890
|
if (!this.bumpIf(":"))
|
2886
2891
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
2887
2892
|
this.bumpSpace();
|
2888
2893
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2889
2894
|
if (f.err)
|
2890
2895
|
return f;
|
2891
|
-
this.bumpSpace(),
|
2896
|
+
this.bumpSpace(), F = this.parseIdentifierIfPossible(), L = f.val;
|
2892
2897
|
}
|
2893
|
-
var
|
2894
|
-
if (
|
2895
|
-
return
|
2898
|
+
var k = this.tryParsePluralOrSelectOptions(t, a, r, F);
|
2899
|
+
if (k.err)
|
2900
|
+
return k;
|
2896
2901
|
var m = this.tryParseArgumentClose(i);
|
2897
2902
|
if (m.err)
|
2898
2903
|
return m;
|
2899
|
-
var
|
2904
|
+
var W = y(i, this.clonePosition());
|
2900
2905
|
return a === "select" ? {
|
2901
2906
|
val: {
|
2902
|
-
type:
|
2907
|
+
type: S.select,
|
2903
2908
|
value: n,
|
2904
|
-
options:
|
2905
|
-
location:
|
2909
|
+
options: yt(k.val),
|
2910
|
+
location: W
|
2906
2911
|
},
|
2907
2912
|
err: null
|
2908
2913
|
} : {
|
2909
2914
|
val: {
|
2910
|
-
type:
|
2915
|
+
type: S.plural,
|
2911
2916
|
value: n,
|
2912
|
-
options:
|
2917
|
+
options: yt(k.val),
|
2913
2918
|
offset: L,
|
2914
2919
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2915
|
-
location:
|
2920
|
+
location: W
|
2916
2921
|
},
|
2917
2922
|
err: null
|
2918
2923
|
};
|
@@ -2960,16 +2965,16 @@ var Kn = (
|
|
2960
2965
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2961
2966
|
var n = [];
|
2962
2967
|
try {
|
2963
|
-
n =
|
2968
|
+
n = Nn(t);
|
2964
2969
|
} catch {
|
2965
2970
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
2966
2971
|
}
|
2967
2972
|
return {
|
2968
2973
|
val: {
|
2969
|
-
type:
|
2974
|
+
type: K.number,
|
2970
2975
|
tokens: n,
|
2971
2976
|
location: r,
|
2972
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
|
2973
2978
|
},
|
2974
2979
|
err: null
|
2975
2980
|
};
|
@@ -3017,7 +3022,7 @@ var Kn = (
|
|
3017
3022
|
break;
|
3018
3023
|
}
|
3019
3024
|
var h = y(i, this.clonePosition());
|
3020
|
-
return o ? (s *= n,
|
3025
|
+
return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3021
3026
|
}, e.prototype.offset = function() {
|
3022
3027
|
return this.position.offset;
|
3023
3028
|
}, e.prototype.isEOF = function() {
|
@@ -3032,7 +3037,7 @@ var Kn = (
|
|
3032
3037
|
var t = this.position.offset;
|
3033
3038
|
if (t >= this.message.length)
|
3034
3039
|
throw Error("out of bound");
|
3035
|
-
var r =
|
3040
|
+
var r = sr(this.message, t);
|
3036
3041
|
if (r === void 0)
|
3037
3042
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3038
3043
|
return r;
|
@@ -3051,7 +3056,7 @@ var Kn = (
|
|
3051
3056
|
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);
|
3052
3057
|
}
|
3053
3058
|
}, e.prototype.bumpIf = function(t) {
|
3054
|
-
if (
|
3059
|
+
if (vt(this.message, t, this.offset())) {
|
3055
3060
|
for (var r = 0; r < t.length; r++)
|
3056
3061
|
this.bump();
|
3057
3062
|
return !0;
|
@@ -3073,7 +3078,7 @@ var Kn = (
|
|
3073
3078
|
break;
|
3074
3079
|
}
|
3075
3080
|
}, e.prototype.bumpSpace = function() {
|
3076
|
-
for (; !this.isEOF() &&
|
3081
|
+
for (; !this.isEOF() && lr(this.char()); )
|
3077
3082
|
this.bump();
|
3078
3083
|
}, e.prototype.peek = function() {
|
3079
3084
|
if (this.isEOF())
|
@@ -3083,47 +3088,47 @@ var Kn = (
|
|
3083
3088
|
}, e;
|
3084
3089
|
}()
|
3085
3090
|
);
|
3086
|
-
function
|
3091
|
+
function Qe(e) {
|
3087
3092
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3088
3093
|
}
|
3089
|
-
function ei(e) {
|
3090
|
-
return Ze(e) || e === 47;
|
3091
|
-
}
|
3092
3094
|
function ti(e) {
|
3095
|
+
return Qe(e) || e === 47;
|
3096
|
+
}
|
3097
|
+
function ri(e) {
|
3093
3098
|
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;
|
3094
3099
|
}
|
3095
|
-
function
|
3100
|
+
function lr(e) {
|
3096
3101
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3097
3102
|
}
|
3098
|
-
function
|
3103
|
+
function ni(e) {
|
3099
3104
|
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;
|
3100
3105
|
}
|
3101
|
-
function
|
3106
|
+
function qe(e) {
|
3102
3107
|
e.forEach(function(t) {
|
3103
|
-
if (delete t.location,
|
3108
|
+
if (delete t.location, Yt(t) || Kt(t))
|
3104
3109
|
for (var r in t.options)
|
3105
|
-
delete t.options[r].location,
|
3110
|
+
delete t.options[r].location, qe(t.options[r].value);
|
3106
3111
|
else
|
3107
|
-
|
3112
|
+
Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Xe(t.style) ? delete t.style.location : er(t) && qe(t.children);
|
3108
3113
|
});
|
3109
3114
|
}
|
3110
|
-
function
|
3115
|
+
function ii(e, t) {
|
3111
3116
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3112
|
-
var r = new
|
3117
|
+
var r = new ei(e, t).parse();
|
3113
3118
|
if (r.err) {
|
3114
3119
|
var n = SyntaxError(v[r.err.kind]);
|
3115
3120
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3116
3121
|
}
|
3117
|
-
return t?.captureLocation ||
|
3122
|
+
return t?.captureLocation || qe(r.val), r.val;
|
3118
3123
|
}
|
3119
|
-
var
|
3124
|
+
var ee;
|
3120
3125
|
(function(e) {
|
3121
3126
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3122
|
-
})(
|
3123
|
-
var
|
3127
|
+
})(ee || (ee = {}));
|
3128
|
+
var Ce = (
|
3124
3129
|
/** @class */
|
3125
3130
|
function(e) {
|
3126
|
-
|
3131
|
+
D(t, e);
|
3127
3132
|
function t(r, n, i) {
|
3128
3133
|
var o = e.call(this, r) || this;
|
3129
3134
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3132,48 +3137,48 @@ var He = (
|
|
3132
3137
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3133
3138
|
}, t;
|
3134
3139
|
}(Error)
|
3135
|
-
),
|
3140
|
+
), xt = (
|
3136
3141
|
/** @class */
|
3137
3142
|
function(e) {
|
3138
|
-
|
3143
|
+
D(t, e);
|
3139
3144
|
function t(r, n, i, o) {
|
3140
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3145
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
3141
3146
|
}
|
3142
3147
|
return t;
|
3143
|
-
}(
|
3144
|
-
),
|
3148
|
+
}(Ce)
|
3149
|
+
), oi = (
|
3145
3150
|
/** @class */
|
3146
3151
|
function(e) {
|
3147
|
-
|
3152
|
+
D(t, e);
|
3148
3153
|
function t(r, n, i) {
|
3149
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3154
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
3150
3155
|
}
|
3151
3156
|
return t;
|
3152
|
-
}(
|
3153
|
-
),
|
3157
|
+
}(Ce)
|
3158
|
+
), si = (
|
3154
3159
|
/** @class */
|
3155
3160
|
function(e) {
|
3156
|
-
|
3161
|
+
D(t, e);
|
3157
3162
|
function t(r, n) {
|
3158
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3163
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
3159
3164
|
}
|
3160
3165
|
return t;
|
3161
|
-
}(
|
3166
|
+
}(Ce)
|
3162
3167
|
), B;
|
3163
3168
|
(function(e) {
|
3164
3169
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3165
3170
|
})(B || (B = {}));
|
3166
|
-
function
|
3171
|
+
function ai(e) {
|
3167
3172
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3168
3173
|
var n = t[t.length - 1];
|
3169
3174
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
3170
3175
|
}, []);
|
3171
3176
|
}
|
3172
|
-
function
|
3177
|
+
function li(e) {
|
3173
3178
|
return typeof e == "function";
|
3174
3179
|
}
|
3175
|
-
function
|
3176
|
-
if (e.length === 1 &&
|
3180
|
+
function be(e, t, r, n, i, o, s) {
|
3181
|
+
if (e.length === 1 && pt(e[0]))
|
3177
3182
|
return [
|
3178
3183
|
{
|
3179
3184
|
type: B.literal,
|
@@ -3182,14 +3187,14 @@ function me(e, t, r, n, i, o, s) {
|
|
3182
3187
|
];
|
3183
3188
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3184
3189
|
var l = u[h];
|
3185
|
-
if (
|
3190
|
+
if (pt(l)) {
|
3186
3191
|
a.push({
|
3187
3192
|
type: B.literal,
|
3188
3193
|
value: l.value
|
3189
3194
|
});
|
3190
3195
|
continue;
|
3191
3196
|
}
|
3192
|
-
if (
|
3197
|
+
if (An(l)) {
|
3193
3198
|
typeof o == "number" && a.push({
|
3194
3199
|
type: B.literal,
|
3195
3200
|
value: r.getNumberFormat(t).format(o)
|
@@ -3198,44 +3203,44 @@ function me(e, t, r, n, i, o, s) {
|
|
3198
3203
|
}
|
3199
3204
|
var f = l.value;
|
3200
3205
|
if (!(i && f in i))
|
3201
|
-
throw new
|
3206
|
+
throw new si(f, s);
|
3202
3207
|
var c = i[f];
|
3203
|
-
if (
|
3208
|
+
if (Bn(l)) {
|
3204
3209
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3205
3210
|
type: typeof c == "string" ? B.literal : B.object,
|
3206
3211
|
value: c
|
3207
3212
|
});
|
3208
3213
|
continue;
|
3209
3214
|
}
|
3210
|
-
if (
|
3211
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3215
|
+
if (qt(l)) {
|
3216
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
|
3212
3217
|
a.push({
|
3213
3218
|
type: B.literal,
|
3214
3219
|
value: r.getDateTimeFormat(t, d).format(c)
|
3215
3220
|
});
|
3216
3221
|
continue;
|
3217
3222
|
}
|
3218
|
-
if (
|
3219
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3223
|
+
if (Jt(l)) {
|
3224
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
|
3220
3225
|
a.push({
|
3221
3226
|
type: B.literal,
|
3222
3227
|
value: r.getDateTimeFormat(t, d).format(c)
|
3223
3228
|
});
|
3224
3229
|
continue;
|
3225
3230
|
}
|
3226
|
-
if (
|
3227
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3231
|
+
if (Qt(l)) {
|
3232
|
+
var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
|
3228
3233
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3229
3234
|
type: B.literal,
|
3230
3235
|
value: r.getNumberFormat(t, d).format(c)
|
3231
3236
|
});
|
3232
3237
|
continue;
|
3233
3238
|
}
|
3234
|
-
if (
|
3239
|
+
if (er(l)) {
|
3235
3240
|
var m = l.children, b = l.value, g = i[b];
|
3236
|
-
if (!
|
3237
|
-
throw new
|
3238
|
-
var
|
3241
|
+
if (!li(g))
|
3242
|
+
throw new oi(b, "function", s);
|
3243
|
+
var E = be(m, t, r, n, i, o), x = g(E.map(function(L) {
|
3239
3244
|
return L.value;
|
3240
3245
|
}));
|
3241
3246
|
Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
|
@@ -3245,42 +3250,42 @@ function me(e, t, r, n, i, o, s) {
|
|
3245
3250
|
};
|
3246
3251
|
}));
|
3247
3252
|
}
|
3248
|
-
if (
|
3249
|
-
var
|
3250
|
-
if (!
|
3251
|
-
throw new
|
3252
|
-
a.push.apply(a,
|
3253
|
+
if (Yt(l)) {
|
3254
|
+
var w = l.options[c] || l.options.other;
|
3255
|
+
if (!w)
|
3256
|
+
throw new xt(l.value, c, Object.keys(l.options), s);
|
3257
|
+
a.push.apply(a, be(w.value, t, r, n, i));
|
3253
3258
|
continue;
|
3254
3259
|
}
|
3255
|
-
if (
|
3256
|
-
var
|
3257
|
-
if (!
|
3260
|
+
if (Kt(l)) {
|
3261
|
+
var w = l.options["=".concat(c)];
|
3262
|
+
if (!w) {
|
3258
3263
|
if (!Intl.PluralRules)
|
3259
|
-
throw new
|
3264
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
3260
3265
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3261
|
-
`,
|
3262
|
-
var
|
3263
|
-
|
3266
|
+
`, ee.MISSING_INTL_API, s);
|
3267
|
+
var F = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3268
|
+
w = l.options[F] || l.options.other;
|
3264
3269
|
}
|
3265
|
-
if (!
|
3266
|
-
throw new
|
3267
|
-
a.push.apply(a,
|
3270
|
+
if (!w)
|
3271
|
+
throw new xt(l.value, c, Object.keys(l.options), s);
|
3272
|
+
a.push.apply(a, be(w.value, t, r, n, i, c - (l.offset || 0)));
|
3268
3273
|
continue;
|
3269
3274
|
}
|
3270
3275
|
}
|
3271
|
-
return
|
3276
|
+
return ai(a);
|
3272
3277
|
}
|
3273
|
-
function
|
3278
|
+
function ui(e, t) {
|
3274
3279
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3275
3280
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3276
3281
|
}, {})) : e;
|
3277
3282
|
}
|
3278
|
-
function
|
3283
|
+
function hi(e, t) {
|
3279
3284
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3280
|
-
return r[n] =
|
3285
|
+
return r[n] = ui(e[n], t[n]), r;
|
3281
3286
|
}, _({}, e)) : e;
|
3282
3287
|
}
|
3283
|
-
function
|
3288
|
+
function $e(e) {
|
3284
3289
|
return {
|
3285
3290
|
create: function() {
|
3286
3291
|
return {
|
@@ -3294,39 +3299,39 @@ function Re(e) {
|
|
3294
3299
|
}
|
3295
3300
|
};
|
3296
3301
|
}
|
3297
|
-
function
|
3302
|
+
function ci(e) {
|
3298
3303
|
return e === void 0 && (e = {
|
3299
3304
|
number: {},
|
3300
3305
|
dateTime: {},
|
3301
3306
|
pluralRules: {}
|
3302
3307
|
}), {
|
3303
|
-
getNumberFormat:
|
3308
|
+
getNumberFormat: Ne(function() {
|
3304
3309
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3305
3310
|
r[n] = arguments[n];
|
3306
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3311
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
3307
3312
|
}, {
|
3308
|
-
cache:
|
3309
|
-
strategy:
|
3313
|
+
cache: $e(e.number),
|
3314
|
+
strategy: Me.variadic
|
3310
3315
|
}),
|
3311
|
-
getDateTimeFormat:
|
3316
|
+
getDateTimeFormat: Ne(function() {
|
3312
3317
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3313
3318
|
r[n] = arguments[n];
|
3314
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3319
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
3315
3320
|
}, {
|
3316
|
-
cache:
|
3317
|
-
strategy:
|
3321
|
+
cache: $e(e.dateTime),
|
3322
|
+
strategy: Me.variadic
|
3318
3323
|
}),
|
3319
|
-
getPluralRules:
|
3324
|
+
getPluralRules: Ne(function() {
|
3320
3325
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3321
3326
|
r[n] = arguments[n];
|
3322
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3327
|
+
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
3323
3328
|
}, {
|
3324
|
-
cache:
|
3325
|
-
strategy:
|
3329
|
+
cache: $e(e.pluralRules),
|
3330
|
+
strategy: Me.variadic
|
3326
3331
|
})
|
3327
3332
|
};
|
3328
3333
|
}
|
3329
|
-
var
|
3334
|
+
var fi = (
|
3330
3335
|
/** @class */
|
3331
3336
|
function() {
|
3332
3337
|
function e(t, r, n, i) {
|
@@ -3345,7 +3350,7 @@ var ci = (
|
|
3345
3350
|
}, []);
|
3346
3351
|
return l.length <= 1 ? l[0] || "" : l;
|
3347
3352
|
}, this.formatToParts = function(h) {
|
3348
|
-
return
|
3353
|
+
return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3349
3354
|
}, this.resolvedOptions = function() {
|
3350
3355
|
var h;
|
3351
3356
|
return {
|
@@ -3358,13 +3363,13 @@ var ci = (
|
|
3358
3363
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3359
3364
|
var s = i || {};
|
3360
3365
|
s.formatters;
|
3361
|
-
var a =
|
3366
|
+
var a = xn(s, ["formatters"]);
|
3362
3367
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3363
3368
|
} else
|
3364
3369
|
this.ast = t;
|
3365
3370
|
if (!Array.isArray(this.ast))
|
3366
3371
|
throw new TypeError("A message must be provided as a String or AST.");
|
3367
|
-
this.formats =
|
3372
|
+
this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
|
3368
3373
|
}
|
3369
3374
|
return Object.defineProperty(e, "defaultLocale", {
|
3370
3375
|
get: function() {
|
@@ -3377,7 +3382,7 @@ var ci = (
|
|
3377
3382
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3378
3383
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3379
3384
|
}
|
3380
|
-
}, e.__parse =
|
3385
|
+
}, e.__parse = ii, e.formats = {
|
3381
3386
|
number: {
|
3382
3387
|
integer: {
|
3383
3388
|
maximumFractionDigits: 0
|
@@ -3438,7 +3443,7 @@ var ci = (
|
|
3438
3443
|
}, e;
|
3439
3444
|
}()
|
3440
3445
|
);
|
3441
|
-
function
|
3446
|
+
function di(e, t) {
|
3442
3447
|
if (t == null)
|
3443
3448
|
return;
|
3444
3449
|
if (t in e)
|
@@ -3459,92 +3464,92 @@ function fi(e, t) {
|
|
3459
3464
|
n = void 0;
|
3460
3465
|
return n;
|
3461
3466
|
}
|
3462
|
-
const
|
3467
|
+
const j = {}, pi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), ur = (e, t) => {
|
3463
3468
|
if (t == null)
|
3464
3469
|
return;
|
3465
|
-
if (t in
|
3466
|
-
return
|
3467
|
-
const r =
|
3470
|
+
if (t in j && e in j[t])
|
3471
|
+
return j[t][e];
|
3472
|
+
const r = Pe(t);
|
3468
3473
|
for (let n = 0; n < r.length; n++) {
|
3469
|
-
const i = r[n], o =
|
3474
|
+
const i = r[n], o = bi(i, e);
|
3470
3475
|
if (o)
|
3471
|
-
return
|
3476
|
+
return pi(e, t, o);
|
3472
3477
|
}
|
3473
3478
|
};
|
3474
|
-
let
|
3475
|
-
const
|
3476
|
-
function
|
3477
|
-
return
|
3479
|
+
let nt;
|
3480
|
+
const ce = He({});
|
3481
|
+
function mi(e) {
|
3482
|
+
return nt[e] || null;
|
3478
3483
|
}
|
3479
|
-
function
|
3480
|
-
return e in
|
3484
|
+
function hr(e) {
|
3485
|
+
return e in nt;
|
3481
3486
|
}
|
3482
|
-
function
|
3483
|
-
if (!
|
3487
|
+
function bi(e, t) {
|
3488
|
+
if (!hr(e))
|
3484
3489
|
return null;
|
3485
|
-
const r =
|
3486
|
-
return
|
3490
|
+
const r = mi(e);
|
3491
|
+
return di(r, t);
|
3487
3492
|
}
|
3488
|
-
function
|
3493
|
+
function gi(e) {
|
3489
3494
|
if (e == null)
|
3490
3495
|
return;
|
3491
|
-
const t =
|
3496
|
+
const t = Pe(e);
|
3492
3497
|
for (let r = 0; r < t.length; r++) {
|
3493
3498
|
const n = t[r];
|
3494
|
-
if (
|
3499
|
+
if (hr(n))
|
3495
3500
|
return n;
|
3496
3501
|
}
|
3497
3502
|
}
|
3498
|
-
function
|
3499
|
-
delete
|
3503
|
+
function cr(e, ...t) {
|
3504
|
+
delete j[e], ce.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
|
3500
3505
|
}
|
3501
|
-
|
3502
|
-
[
|
3506
|
+
ne(
|
3507
|
+
[ce],
|
3503
3508
|
([e]) => Object.keys(e)
|
3504
3509
|
);
|
3505
|
-
|
3506
|
-
const
|
3507
|
-
function
|
3508
|
-
|
3510
|
+
ce.subscribe((e) => nt = e);
|
3511
|
+
const ge = {};
|
3512
|
+
function vi(e, t) {
|
3513
|
+
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
3509
3514
|
}
|
3510
|
-
function
|
3511
|
-
return
|
3515
|
+
function fr(e) {
|
3516
|
+
return ge[e];
|
3512
3517
|
}
|
3513
|
-
function
|
3514
|
-
return
|
3515
|
-
const r =
|
3518
|
+
function yi(e) {
|
3519
|
+
return Pe(e).map((t) => {
|
3520
|
+
const r = fr(t);
|
3516
3521
|
return [t, r ? [...r] : []];
|
3517
3522
|
}).filter(([, t]) => t.length > 0);
|
3518
3523
|
}
|
3519
|
-
function
|
3520
|
-
return e == null ? !1 :
|
3524
|
+
function Je(e) {
|
3525
|
+
return e == null ? !1 : Pe(e).some(
|
3521
3526
|
(t) => {
|
3522
3527
|
var r;
|
3523
|
-
return (r =
|
3528
|
+
return (r = fr(t)) == null ? void 0 : r.size;
|
3524
3529
|
}
|
3525
3530
|
);
|
3526
3531
|
}
|
3527
|
-
function
|
3532
|
+
function _i(e, t) {
|
3528
3533
|
return Promise.all(
|
3529
|
-
t.map((n) => (
|
3530
|
-
).then((n) =>
|
3531
|
-
}
|
3532
|
-
const
|
3533
|
-
function
|
3534
|
-
if (!
|
3535
|
-
return e in
|
3536
|
-
const t =
|
3537
|
-
return
|
3534
|
+
t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
|
3535
|
+
).then((n) => cr(e, ...n));
|
3536
|
+
}
|
3537
|
+
const se = {};
|
3538
|
+
function dr(e) {
|
3539
|
+
if (!Je(e))
|
3540
|
+
return e in se ? se[e] : Promise.resolve();
|
3541
|
+
const t = yi(e);
|
3542
|
+
return se[e] = Promise.all(
|
3538
3543
|
t.map(
|
3539
|
-
([r, n]) =>
|
3544
|
+
([r, n]) => _i(r, n)
|
3540
3545
|
)
|
3541
3546
|
).then(() => {
|
3542
|
-
if (
|
3543
|
-
return
|
3544
|
-
delete
|
3545
|
-
}),
|
3547
|
+
if (Je(e))
|
3548
|
+
return dr(e);
|
3549
|
+
delete se[e];
|
3550
|
+
}), se[e];
|
3546
3551
|
}
|
3547
|
-
const
|
3552
|
+
const xi = {
|
3548
3553
|
number: {
|
3549
3554
|
scientific: { notation: "scientific" },
|
3550
3555
|
engineering: { notation: "engineering" },
|
@@ -3573,150 +3578,150 @@ const _i = {
|
|
3573
3578
|
timeZoneName: "short"
|
3574
3579
|
}
|
3575
3580
|
}
|
3576
|
-
},
|
3581
|
+
}, Ei = {
|
3577
3582
|
fallbackLocale: null,
|
3578
3583
|
loadingDelay: 200,
|
3579
|
-
formats:
|
3584
|
+
formats: xi,
|
3580
3585
|
warnOnMissingMessages: !0,
|
3581
3586
|
handleMissingMessage: void 0,
|
3582
3587
|
ignoreTag: !0
|
3583
|
-
},
|
3584
|
-
function
|
3585
|
-
return
|
3588
|
+
}, Si = Ei;
|
3589
|
+
function te() {
|
3590
|
+
return Si;
|
3586
3591
|
}
|
3587
|
-
const
|
3588
|
-
var
|
3592
|
+
const Ge = He(!1);
|
3593
|
+
var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
|
3589
3594
|
for (var r in t || (t = {}))
|
3590
|
-
|
3591
|
-
if (
|
3592
|
-
for (var r of
|
3593
|
-
|
3595
|
+
Ci.call(t, r) && St(e, r, t[r]);
|
3596
|
+
if (Et)
|
3597
|
+
for (var r of Et(t))
|
3598
|
+
Pi.call(t, r) && St(e, r, t[r]);
|
3594
3599
|
return e;
|
3595
|
-
},
|
3596
|
-
let
|
3597
|
-
const
|
3598
|
-
function
|
3600
|
+
}, Ai = (e, t) => Ti(e, Hi(t));
|
3601
|
+
let Ye;
|
3602
|
+
const Se = He(null);
|
3603
|
+
function wt(e) {
|
3599
3604
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3600
3605
|
}
|
3601
|
-
function
|
3602
|
-
const r =
|
3603
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3606
|
+
function Pe(e, t = te().fallbackLocale) {
|
3607
|
+
const r = wt(e);
|
3608
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
3604
3609
|
}
|
3605
|
-
function
|
3606
|
-
return
|
3610
|
+
function X() {
|
3611
|
+
return Ye ?? void 0;
|
3607
3612
|
}
|
3608
|
-
|
3609
|
-
|
3613
|
+
Se.subscribe((e) => {
|
3614
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3610
3615
|
});
|
3611
|
-
const
|
3612
|
-
if (e &&
|
3613
|
-
const { loadingDelay: t } =
|
3616
|
+
const Oi = (e) => {
|
3617
|
+
if (e && gi(e) && Je(e)) {
|
3618
|
+
const { loadingDelay: t } = te();
|
3614
3619
|
let r;
|
3615
|
-
return typeof window < "u" &&
|
3616
|
-
() =>
|
3620
|
+
return typeof window < "u" && X() != null && t ? r = window.setTimeout(
|
3621
|
+
() => Ge.set(!0),
|
3617
3622
|
t
|
3618
|
-
) :
|
3619
|
-
|
3623
|
+
) : Ge.set(!0), dr(e).then(() => {
|
3624
|
+
Se.set(e);
|
3620
3625
|
}).finally(() => {
|
3621
|
-
clearTimeout(r),
|
3626
|
+
clearTimeout(r), Ge.set(!1);
|
3622
3627
|
});
|
3623
3628
|
}
|
3624
|
-
return
|
3625
|
-
},
|
3626
|
-
set:
|
3627
|
-
}),
|
3629
|
+
return Se.set(e);
|
3630
|
+
}, ie = Ai(Bi({}, Se), {
|
3631
|
+
set: Oi
|
3632
|
+
}), Be = (e) => {
|
3628
3633
|
const t = /* @__PURE__ */ Object.create(null);
|
3629
3634
|
return (n) => {
|
3630
3635
|
const i = JSON.stringify(n);
|
3631
3636
|
return i in t ? t[i] : t[i] = e(n);
|
3632
3637
|
};
|
3633
3638
|
};
|
3634
|
-
var
|
3639
|
+
var Li = Object.defineProperty, we = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
3635
3640
|
for (var r in t || (t = {}))
|
3636
|
-
|
3637
|
-
if (
|
3638
|
-
for (var r of
|
3639
|
-
|
3641
|
+
pr.call(t, r) && Tt(e, r, t[r]);
|
3642
|
+
if (we)
|
3643
|
+
for (var r of we(t))
|
3644
|
+
mr.call(t, r) && Tt(e, r, t[r]);
|
3640
3645
|
return e;
|
3641
|
-
},
|
3646
|
+
}, oe = (e, t) => {
|
3642
3647
|
var r = {};
|
3643
3648
|
for (var n in e)
|
3644
|
-
|
3645
|
-
if (e != null &&
|
3646
|
-
for (var n of
|
3647
|
-
t.indexOf(n) < 0 &&
|
3649
|
+
pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3650
|
+
if (e != null && we)
|
3651
|
+
for (var n of we(e))
|
3652
|
+
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
3648
3653
|
return r;
|
3649
3654
|
};
|
3650
|
-
const
|
3651
|
-
const { formats: r } =
|
3655
|
+
const he = (e, t) => {
|
3656
|
+
const { formats: r } = te();
|
3652
3657
|
if (e in r && t in r[e])
|
3653
3658
|
return r[e][t];
|
3654
3659
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3655
|
-
},
|
3660
|
+
}, Ii = Be(
|
3656
3661
|
(e) => {
|
3657
|
-
var t = e, { locale: r, format: n } = t, i =
|
3662
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3658
3663
|
if (r == null)
|
3659
3664
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3660
|
-
return n && (i =
|
3665
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3661
3666
|
}
|
3662
|
-
),
|
3667
|
+
), Ni = Be(
|
3663
3668
|
(e) => {
|
3664
|
-
var t = e, { locale: r, format: n } = t, i =
|
3669
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3665
3670
|
if (r == null)
|
3666
3671
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3667
|
-
return n ? i =
|
3672
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3668
3673
|
}
|
3669
|
-
),
|
3674
|
+
), Mi = Be(
|
3670
3675
|
(e) => {
|
3671
|
-
var t = e, { locale: r, format: n } = t, i =
|
3676
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3672
3677
|
if (r == null)
|
3673
3678
|
throw new Error(
|
3674
3679
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3675
3680
|
);
|
3676
|
-
return n ? i =
|
3681
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3677
3682
|
}
|
3678
|
-
),
|
3683
|
+
), Ri = (e = {}) => {
|
3679
3684
|
var t = e, {
|
3680
|
-
locale: r =
|
3681
|
-
} = t, n =
|
3685
|
+
locale: r = X()
|
3686
|
+
} = t, n = oe(t, [
|
3682
3687
|
"locale"
|
3683
3688
|
]);
|
3684
|
-
return
|
3685
|
-
},
|
3689
|
+
return Ii(it({ locale: r }, n));
|
3690
|
+
}, $i = (e = {}) => {
|
3686
3691
|
var t = e, {
|
3687
|
-
locale: r =
|
3688
|
-
} = t, n =
|
3692
|
+
locale: r = X()
|
3693
|
+
} = t, n = oe(t, [
|
3689
3694
|
"locale"
|
3690
3695
|
]);
|
3691
|
-
return
|
3692
|
-
},
|
3696
|
+
return Ni(it({ locale: r }, n));
|
3697
|
+
}, Gi = (e = {}) => {
|
3693
3698
|
var t = e, {
|
3694
|
-
locale: r =
|
3695
|
-
} = t, n =
|
3699
|
+
locale: r = X()
|
3700
|
+
} = t, n = oe(t, [
|
3696
3701
|
"locale"
|
3697
3702
|
]);
|
3698
|
-
return
|
3699
|
-
},
|
3703
|
+
return Mi(it({ locale: r }, n));
|
3704
|
+
}, Ui = Be(
|
3700
3705
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3701
|
-
(e, t =
|
3702
|
-
ignoreTag:
|
3706
|
+
(e, t = X()) => new fi(e, t, te().formats, {
|
3707
|
+
ignoreTag: te().ignoreTag
|
3703
3708
|
})
|
3704
|
-
),
|
3709
|
+
), Di = (e, t = {}) => {
|
3705
3710
|
var r, n, i, o;
|
3706
3711
|
let s = t;
|
3707
3712
|
typeof e == "object" && (s = e, e = s.id);
|
3708
3713
|
const {
|
3709
3714
|
values: a,
|
3710
|
-
locale: h =
|
3715
|
+
locale: h = X(),
|
3711
3716
|
default: u
|
3712
3717
|
} = s;
|
3713
3718
|
if (h == null)
|
3714
3719
|
throw new Error(
|
3715
3720
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3716
3721
|
);
|
3717
|
-
let l =
|
3722
|
+
let l = ur(e, h);
|
3718
3723
|
if (!l)
|
3719
|
-
l = (o = (i = (n = (r =
|
3724
|
+
l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3720
3725
|
else if (typeof l != "string")
|
3721
3726
|
return console.warn(
|
3722
3727
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3725,7 +3730,7 @@ const ue = (e, t) => {
|
|
3725
3730
|
return l;
|
3726
3731
|
let f = l;
|
3727
3732
|
try {
|
3728
|
-
f =
|
3733
|
+
f = Ui(l, h).format(a);
|
3729
3734
|
} catch (c) {
|
3730
3735
|
c instanceof Error && console.warn(
|
3731
3736
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3733,18 +3738,18 @@ const ue = (e, t) => {
|
|
3733
3738
|
);
|
3734
3739
|
}
|
3735
3740
|
return f;
|
3736
|
-
},
|
3737
|
-
|
3738
|
-
|
3739
|
-
|
3740
|
-
|
3741
|
-
function
|
3742
|
-
|
3743
|
-
}
|
3744
|
-
function
|
3745
|
-
|
3746
|
-
}
|
3747
|
-
const
|
3741
|
+
}, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = X()) => ur(e, t), Xi = ne([ie, ce], () => Di);
|
3742
|
+
ne([ie], () => Fi);
|
3743
|
+
ne([ie], () => ji);
|
3744
|
+
ne([ie], () => ki);
|
3745
|
+
ne([ie, ce], () => Vi);
|
3746
|
+
function Ht(e, t) {
|
3747
|
+
cr(e, t);
|
3748
|
+
}
|
3749
|
+
function Wi(e) {
|
3750
|
+
ie.set(e);
|
3751
|
+
}
|
3752
|
+
const Ct = {
|
3748
3753
|
en: {
|
3749
3754
|
collections: "Game Collections",
|
3750
3755
|
providers: "Game Providers",
|
@@ -3841,16 +3846,16 @@ const Ht = {
|
|
3841
3846
|
loading: "Loading, please wait ..."
|
3842
3847
|
}
|
3843
3848
|
};
|
3844
|
-
function
|
3849
|
+
function U(e) {
|
3845
3850
|
return typeof e == "function";
|
3846
3851
|
}
|
3847
|
-
function
|
3852
|
+
function br(e) {
|
3848
3853
|
var t = function(n) {
|
3849
3854
|
Error.call(n), n.stack = new Error().stack;
|
3850
3855
|
}, r = e(t);
|
3851
3856
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3852
3857
|
}
|
3853
|
-
var
|
3858
|
+
var Ue = br(function(e) {
|
3854
3859
|
return function(r) {
|
3855
3860
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3856
3861
|
` + r.map(function(n, i) {
|
@@ -3859,13 +3864,13 @@ var Ge = mr(function(e) {
|
|
3859
3864
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3860
3865
|
};
|
3861
3866
|
});
|
3862
|
-
function
|
3867
|
+
function Ke(e, t) {
|
3863
3868
|
if (e) {
|
3864
3869
|
var r = e.indexOf(t);
|
3865
3870
|
0 <= r && e.splice(r, 1);
|
3866
3871
|
}
|
3867
3872
|
}
|
3868
|
-
var
|
3873
|
+
var Ae = function() {
|
3869
3874
|
function e(t) {
|
3870
3875
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3871
3876
|
}
|
@@ -3877,7 +3882,7 @@ var Be = function() {
|
|
3877
3882
|
if (s)
|
3878
3883
|
if (this._parentage = null, Array.isArray(s))
|
3879
3884
|
try {
|
3880
|
-
for (var a =
|
3885
|
+
for (var a = ke(s), h = a.next(); !h.done; h = a.next()) {
|
3881
3886
|
var u = h.value;
|
3882
3887
|
u.remove(this);
|
3883
3888
|
}
|
@@ -3894,22 +3899,22 @@ var Be = function() {
|
|
3894
3899
|
else
|
3895
3900
|
s.remove(this);
|
3896
3901
|
var l = this.initialTeardown;
|
3897
|
-
if (
|
3902
|
+
if (U(l))
|
3898
3903
|
try {
|
3899
3904
|
l();
|
3900
3905
|
} catch (b) {
|
3901
|
-
o = b instanceof
|
3906
|
+
o = b instanceof Ue ? b.errors : [b];
|
3902
3907
|
}
|
3903
3908
|
var f = this._finalizers;
|
3904
3909
|
if (f) {
|
3905
3910
|
this._finalizers = null;
|
3906
3911
|
try {
|
3907
|
-
for (var c =
|
3912
|
+
for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
|
3908
3913
|
var m = d.value;
|
3909
3914
|
try {
|
3910
|
-
|
3915
|
+
Pt(m);
|
3911
3916
|
} catch (b) {
|
3912
|
-
o = o ?? [], b instanceof
|
3917
|
+
o = o ?? [], b instanceof Ue ? o = J(J([], Ve(o)), Ve(b.errors)) : o.push(b);
|
3913
3918
|
}
|
3914
3919
|
}
|
3915
3920
|
} catch (b) {
|
@@ -3924,13 +3929,13 @@ var Be = function() {
|
|
3924
3929
|
}
|
3925
3930
|
}
|
3926
3931
|
if (o)
|
3927
|
-
throw new
|
3932
|
+
throw new Ue(o);
|
3928
3933
|
}
|
3929
3934
|
}, e.prototype.add = function(t) {
|
3930
3935
|
var r;
|
3931
3936
|
if (t && t !== this)
|
3932
3937
|
if (this.closed)
|
3933
|
-
|
3938
|
+
Pt(t);
|
3934
3939
|
else {
|
3935
3940
|
if (t instanceof e) {
|
3936
3941
|
if (t.closed || t._hasParent(this))
|
@@ -3947,52 +3952,52 @@ var Be = function() {
|
|
3947
3952
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3948
3953
|
}, e.prototype._removeParent = function(t) {
|
3949
3954
|
var r = this._parentage;
|
3950
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3955
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
|
3951
3956
|
}, e.prototype.remove = function(t) {
|
3952
3957
|
var r = this._finalizers;
|
3953
|
-
r &&
|
3958
|
+
r && Ke(r, t), t instanceof e && t._removeParent(this);
|
3954
3959
|
}, e.EMPTY = function() {
|
3955
3960
|
var t = new e();
|
3956
3961
|
return t.closed = !0, t;
|
3957
3962
|
}(), e;
|
3958
|
-
}(),
|
3959
|
-
function
|
3960
|
-
return e instanceof
|
3963
|
+
}(), gr = Ae.EMPTY;
|
3964
|
+
function vr(e) {
|
3965
|
+
return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
3961
3966
|
}
|
3962
|
-
function
|
3963
|
-
|
3967
|
+
function Pt(e) {
|
3968
|
+
U(e) ? e() : e.unsubscribe();
|
3964
3969
|
}
|
3965
|
-
var
|
3970
|
+
var zi = {
|
3966
3971
|
Promise: void 0
|
3967
|
-
},
|
3972
|
+
}, Zi = {
|
3968
3973
|
setTimeout: function(e, t) {
|
3969
3974
|
for (var r = [], n = 2; n < arguments.length; n++)
|
3970
3975
|
r[n - 2] = arguments[n];
|
3971
|
-
return setTimeout.apply(void 0,
|
3976
|
+
return setTimeout.apply(void 0, J([e, t], Ve(r)));
|
3972
3977
|
},
|
3973
3978
|
clearTimeout: function(e) {
|
3974
3979
|
return clearTimeout(e);
|
3975
3980
|
},
|
3976
3981
|
delegate: void 0
|
3977
3982
|
};
|
3978
|
-
function
|
3979
|
-
|
3983
|
+
function Qi(e) {
|
3984
|
+
Zi.setTimeout(function() {
|
3980
3985
|
throw e;
|
3981
3986
|
});
|
3982
3987
|
}
|
3983
|
-
function
|
3988
|
+
function Bt() {
|
3984
3989
|
}
|
3985
|
-
function
|
3990
|
+
function ve(e) {
|
3986
3991
|
e();
|
3987
3992
|
}
|
3988
|
-
var
|
3989
|
-
|
3993
|
+
var yr = function(e) {
|
3994
|
+
D(t, e);
|
3990
3995
|
function t(r) {
|
3991
3996
|
var n = e.call(this) || this;
|
3992
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
3997
|
+
return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = Yi, n;
|
3993
3998
|
}
|
3994
3999
|
return t.create = function(r, n, i) {
|
3995
|
-
return new
|
4000
|
+
return new et(r, n, i);
|
3996
4001
|
}, t.prototype.next = function(r) {
|
3997
4002
|
this.isStopped || this._next(r);
|
3998
4003
|
}, t.prototype.error = function(r) {
|
@@ -4016,7 +4021,7 @@ var vr = function(e) {
|
|
4016
4021
|
this.unsubscribe();
|
4017
4022
|
}
|
4018
4023
|
}, t;
|
4019
|
-
}(
|
4024
|
+
}(Ae), qi = function() {
|
4020
4025
|
function e(t) {
|
4021
4026
|
this.partialObserver = t;
|
4022
4027
|
}
|
@@ -4026,7 +4031,7 @@ var vr = function(e) {
|
|
4026
4031
|
try {
|
4027
4032
|
r.next(t);
|
4028
4033
|
} catch (n) {
|
4029
|
-
|
4034
|
+
pe(n);
|
4030
4035
|
}
|
4031
4036
|
}, e.prototype.error = function(t) {
|
4032
4037
|
var r = this.partialObserver;
|
@@ -4034,56 +4039,56 @@ var vr = function(e) {
|
|
4034
4039
|
try {
|
4035
4040
|
r.error(t);
|
4036
4041
|
} catch (n) {
|
4037
|
-
|
4042
|
+
pe(n);
|
4038
4043
|
}
|
4039
4044
|
else
|
4040
|
-
|
4045
|
+
pe(t);
|
4041
4046
|
}, e.prototype.complete = function() {
|
4042
4047
|
var t = this.partialObserver;
|
4043
4048
|
if (t.complete)
|
4044
4049
|
try {
|
4045
4050
|
t.complete();
|
4046
4051
|
} catch (r) {
|
4047
|
-
|
4052
|
+
pe(r);
|
4048
4053
|
}
|
4049
4054
|
}, e;
|
4050
|
-
}(),
|
4051
|
-
|
4055
|
+
}(), et = function(e) {
|
4056
|
+
D(t, e);
|
4052
4057
|
function t(r, n, i) {
|
4053
4058
|
var o = e.call(this) || this, s;
|
4054
|
-
return
|
4059
|
+
return U(r) || !r ? s = {
|
4055
4060
|
next: r ?? void 0,
|
4056
4061
|
error: n ?? void 0,
|
4057
4062
|
complete: i ?? void 0
|
4058
|
-
} : s = r, o.destination = new
|
4063
|
+
} : s = r, o.destination = new qi(s), o;
|
4059
4064
|
}
|
4060
4065
|
return t;
|
4061
|
-
}(
|
4062
|
-
function
|
4063
|
-
|
4066
|
+
}(yr);
|
4067
|
+
function pe(e) {
|
4068
|
+
Qi(e);
|
4064
4069
|
}
|
4065
|
-
function
|
4070
|
+
function Ji(e) {
|
4066
4071
|
throw e;
|
4067
4072
|
}
|
4068
|
-
var
|
4073
|
+
var Yi = {
|
4069
4074
|
closed: !0,
|
4070
|
-
next:
|
4071
|
-
error:
|
4072
|
-
complete:
|
4073
|
-
},
|
4075
|
+
next: Bt,
|
4076
|
+
error: Ji,
|
4077
|
+
complete: Bt
|
4078
|
+
}, Ki = function() {
|
4074
4079
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4075
4080
|
}();
|
4076
|
-
function
|
4081
|
+
function eo(e) {
|
4077
4082
|
return e;
|
4078
4083
|
}
|
4079
|
-
function
|
4080
|
-
return e.length === 0 ?
|
4084
|
+
function to(e) {
|
4085
|
+
return e.length === 0 ? eo : e.length === 1 ? e[0] : function(r) {
|
4081
4086
|
return e.reduce(function(n, i) {
|
4082
4087
|
return i(n);
|
4083
4088
|
}, r);
|
4084
4089
|
};
|
4085
4090
|
}
|
4086
|
-
var
|
4091
|
+
var At = function() {
|
4087
4092
|
function e(t) {
|
4088
4093
|
t && (this._subscribe = t);
|
4089
4094
|
}
|
@@ -4091,8 +4096,8 @@ var Bt = function() {
|
|
4091
4096
|
var r = new e();
|
4092
4097
|
return r.source = this, r.operator = t, r;
|
4093
4098
|
}, e.prototype.subscribe = function(t, r, n) {
|
4094
|
-
var i = this, o =
|
4095
|
-
return
|
4099
|
+
var i = this, o = no(t) ? t : new et(t, r, n);
|
4100
|
+
return ve(function() {
|
4096
4101
|
var s = i, a = s.operator, h = s.source;
|
4097
4102
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
4098
4103
|
}), o;
|
@@ -4104,8 +4109,8 @@ var Bt = function() {
|
|
4104
4109
|
}
|
4105
4110
|
}, e.prototype.forEach = function(t, r) {
|
4106
4111
|
var n = this;
|
4107
|
-
return r =
|
4108
|
-
var s = new
|
4112
|
+
return r = Ot(r), new r(function(i, o) {
|
4113
|
+
var s = new et({
|
4109
4114
|
next: function(a) {
|
4110
4115
|
try {
|
4111
4116
|
t(a);
|
@@ -4121,15 +4126,15 @@ var Bt = function() {
|
|
4121
4126
|
}, e.prototype._subscribe = function(t) {
|
4122
4127
|
var r;
|
4123
4128
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4124
|
-
}, e.prototype[
|
4129
|
+
}, e.prototype[Ki] = function() {
|
4125
4130
|
return this;
|
4126
4131
|
}, e.prototype.pipe = function() {
|
4127
4132
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4128
4133
|
t[r] = arguments[r];
|
4129
|
-
return
|
4134
|
+
return to(t)(this);
|
4130
4135
|
}, e.prototype.toPromise = function(t) {
|
4131
4136
|
var r = this;
|
4132
|
-
return t =
|
4137
|
+
return t = Ot(t), new t(function(n, i) {
|
4133
4138
|
var o;
|
4134
4139
|
r.subscribe(function(s) {
|
4135
4140
|
return o = s;
|
@@ -4143,40 +4148,40 @@ var Bt = function() {
|
|
4143
4148
|
return new e(t);
|
4144
4149
|
}, e;
|
4145
4150
|
}();
|
4146
|
-
function
|
4151
|
+
function Ot(e) {
|
4147
4152
|
var t;
|
4148
|
-
return (t = e ??
|
4149
|
-
}
|
4150
|
-
function to(e) {
|
4151
|
-
return e && G(e.next) && G(e.error) && G(e.complete);
|
4153
|
+
return (t = e ?? zi.Promise) !== null && t !== void 0 ? t : Promise;
|
4152
4154
|
}
|
4153
4155
|
function ro(e) {
|
4154
|
-
return e && e
|
4156
|
+
return e && U(e.next) && U(e.error) && U(e.complete);
|
4157
|
+
}
|
4158
|
+
function no(e) {
|
4159
|
+
return e && e instanceof yr || ro(e) && vr(e);
|
4155
4160
|
}
|
4156
|
-
var
|
4161
|
+
var io = br(function(e) {
|
4157
4162
|
return function() {
|
4158
4163
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4159
4164
|
};
|
4160
|
-
}),
|
4161
|
-
|
4165
|
+
}), _r = function(e) {
|
4166
|
+
D(t, e);
|
4162
4167
|
function t() {
|
4163
4168
|
var r = e.call(this) || this;
|
4164
4169
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4165
4170
|
}
|
4166
4171
|
return t.prototype.lift = function(r) {
|
4167
|
-
var n = new
|
4172
|
+
var n = new Lt(this, this);
|
4168
4173
|
return n.operator = r, n;
|
4169
4174
|
}, t.prototype._throwIfClosed = function() {
|
4170
4175
|
if (this.closed)
|
4171
|
-
throw new
|
4176
|
+
throw new io();
|
4172
4177
|
}, t.prototype.next = function(r) {
|
4173
4178
|
var n = this;
|
4174
|
-
|
4179
|
+
ve(function() {
|
4175
4180
|
var i, o;
|
4176
4181
|
if (n._throwIfClosed(), !n.isStopped) {
|
4177
4182
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4178
4183
|
try {
|
4179
|
-
for (var s =
|
4184
|
+
for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4180
4185
|
var h = a.value;
|
4181
4186
|
h.next(r);
|
4182
4187
|
}
|
@@ -4194,7 +4199,7 @@ var no = mr(function(e) {
|
|
4194
4199
|
});
|
4195
4200
|
}, t.prototype.error = function(r) {
|
4196
4201
|
var n = this;
|
4197
|
-
|
4202
|
+
ve(function() {
|
4198
4203
|
if (n._throwIfClosed(), !n.isStopped) {
|
4199
4204
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
4200
4205
|
for (var i = n.observers; i.length; )
|
@@ -4203,7 +4208,7 @@ var no = mr(function(e) {
|
|
4203
4208
|
});
|
4204
4209
|
}, t.prototype.complete = function() {
|
4205
4210
|
var r = this;
|
4206
|
-
|
4211
|
+
ve(function() {
|
4207
4212
|
if (r._throwIfClosed(), !r.isStopped) {
|
4208
4213
|
r.isStopped = !0;
|
4209
4214
|
for (var n = r.observers; n.length; )
|
@@ -4225,20 +4230,20 @@ var no = mr(function(e) {
|
|
4225
4230
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4226
4231
|
}, t.prototype._innerSubscribe = function(r) {
|
4227
4232
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4228
|
-
return o || s ?
|
4229
|
-
n.currentObservers = null,
|
4233
|
+
return o || s ? gr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
4234
|
+
n.currentObservers = null, Ke(a, r);
|
4230
4235
|
}));
|
4231
4236
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4232
4237
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4233
4238
|
i ? r.error(o) : s && r.complete();
|
4234
4239
|
}, t.prototype.asObservable = function() {
|
4235
|
-
var r = new
|
4240
|
+
var r = new At();
|
4236
4241
|
return r.source = this, r;
|
4237
4242
|
}, t.create = function(r, n) {
|
4238
|
-
return new
|
4243
|
+
return new Lt(r, n);
|
4239
4244
|
}, t;
|
4240
|
-
}(
|
4241
|
-
|
4245
|
+
}(At), Lt = function(e) {
|
4246
|
+
D(t, e);
|
4242
4247
|
function t(r, n) {
|
4243
4248
|
var i = e.call(this) || this;
|
4244
4249
|
return i.destination = r, i.source = n, i;
|
@@ -4254,17 +4259,17 @@ var no = mr(function(e) {
|
|
4254
4259
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4255
4260
|
}, t.prototype._subscribe = function(r) {
|
4256
4261
|
var n, i;
|
4257
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4262
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
|
4258
4263
|
}, t;
|
4259
|
-
}(
|
4264
|
+
}(_r), xr = {
|
4260
4265
|
now: function() {
|
4261
|
-
return (
|
4266
|
+
return (xr.delegate || Date).now();
|
4262
4267
|
},
|
4263
4268
|
delegate: void 0
|
4264
|
-
},
|
4265
|
-
|
4269
|
+
}, oo = function(e) {
|
4270
|
+
D(t, e);
|
4266
4271
|
function t(r, n, i) {
|
4267
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4272
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
|
4268
4273
|
var o = e.call(this) || this;
|
4269
4274
|
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;
|
4270
4275
|
}
|
@@ -4284,23 +4289,23 @@ var no = mr(function(e) {
|
|
4284
4289
|
u && o.splice(0, u + 1);
|
4285
4290
|
}
|
4286
4291
|
}, t;
|
4287
|
-
}(
|
4288
|
-
const
|
4289
|
-
if (
|
4290
|
-
const r = new
|
4291
|
-
|
4292
|
+
}(_r);
|
4293
|
+
const It = [], Nt = {}, so = (e, t = 0) => {
|
4294
|
+
if (It.indexOf(e) == -1) {
|
4295
|
+
const r = new oo(t);
|
4296
|
+
Nt[e] = r, It.push(e);
|
4292
4297
|
}
|
4293
|
-
return
|
4298
|
+
return Nt[e];
|
4294
4299
|
};
|
4295
|
-
window.emWidgets = { topic:
|
4296
|
-
const
|
4297
|
-
function
|
4300
|
+
window.emWidgets = { topic: so };
|
4301
|
+
const ao = (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));
|
4302
|
+
function lo(e, t) {
|
4298
4303
|
if (e) {
|
4299
4304
|
const r = document.createElement("style");
|
4300
4305
|
r.innerHTML = t, e.appendChild(r);
|
4301
4306
|
}
|
4302
4307
|
}
|
4303
|
-
function
|
4308
|
+
function uo(e, t) {
|
4304
4309
|
const r = new URL(t);
|
4305
4310
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4306
4311
|
const i = document.createElement("style");
|
@@ -4309,7 +4314,7 @@ function lo(e, t) {
|
|
4309
4314
|
console.error("There was an error while trying to load client styling from URL", n);
|
4310
4315
|
});
|
4311
4316
|
}
|
4312
|
-
function
|
4317
|
+
function ho(e, t, r) {
|
4313
4318
|
if (window.emMessageBus) {
|
4314
4319
|
const n = document.createElement("style");
|
4315
4320
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4317,18 +4322,18 @@ function uo(e, t, r) {
|
|
4317
4322
|
});
|
4318
4323
|
}
|
4319
4324
|
}
|
4320
|
-
function
|
4321
|
-
|
4325
|
+
function co(e) {
|
4326
|
+
Rr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
4322
4327
|
}
|
4323
|
-
function
|
4328
|
+
function Mt(e, t, r) {
|
4324
4329
|
const n = e.slice();
|
4325
4330
|
return n[41] = t[r], n;
|
4326
4331
|
}
|
4327
|
-
function
|
4332
|
+
function Rt(e, t, r) {
|
4328
4333
|
const n = e.slice();
|
4329
4334
|
return n[44] = t[r], n;
|
4330
4335
|
}
|
4331
|
-
function
|
4336
|
+
function fo(e) {
|
4332
4337
|
let t, r, n, i = (
|
4333
4338
|
/*type*/
|
4334
4339
|
(e[0] === "vendor" ? (
|
@@ -4341,24 +4346,24 @@ function co(e) {
|
|
4341
4346
|
), o, s, a, h, u, l = (
|
4342
4347
|
/*numberOfSlides*/
|
4343
4348
|
e[7] > /*numberOfVisibleSlides*/
|
4344
|
-
e[8] &&
|
4345
|
-
), f =
|
4349
|
+
e[8] && $t(e)
|
4350
|
+
), f = Ee(
|
4346
4351
|
/*gameCategories*/
|
4347
4352
|
e[3]
|
4348
4353
|
), c = [];
|
4349
4354
|
for (let d = 0; d < f.length; d += 1)
|
4350
|
-
c[d] =
|
4355
|
+
c[d] = Dt(Mt(e, f, d));
|
4351
4356
|
return {
|
4352
4357
|
c() {
|
4353
|
-
t =
|
4358
|
+
t = H("div"), r = H("div"), n = H("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = H("div");
|
4354
4359
|
for (let d = 0; d < c.length; d += 1)
|
4355
4360
|
c[d].c();
|
4356
|
-
|
4361
|
+
C(n, "class", "Title"), C(r, "class", "CategoriesHeader"), C(h, "class", "CategoriesSlider"), C(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4357
4362
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4358
4363
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4359
4364
|
},
|
4360
4365
|
m(d, m) {
|
4361
|
-
|
4366
|
+
G(d, t, m), T(t, r), T(r, n), T(n, o), T(r, s), l && l.m(r, null), T(t, a), T(t, h);
|
4362
4367
|
for (let b = 0; b < c.length; b += 1)
|
4363
4368
|
c[b] && c[b].m(h, null);
|
4364
4369
|
e[25](h);
|
@@ -4372,18 +4377,18 @@ function co(e) {
|
|
4372
4377
|
) : (
|
4373
4378
|
/*$_*/
|
4374
4379
|
d[10]("collections")
|
4375
|
-
)) + "") &&
|
4380
|
+
)) + "") && rt(o, i), /*numberOfSlides*/
|
4376
4381
|
d[7] > /*numberOfVisibleSlides*/
|
4377
|
-
d[8] ? l ? l.p(d, m) : (l =
|
4382
|
+
d[8] ? l ? l.p(d, m) : (l = $t(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4378
4383
|
24590) {
|
4379
|
-
f =
|
4384
|
+
f = Ee(
|
4380
4385
|
/*gameCategories*/
|
4381
4386
|
d[3]
|
4382
4387
|
);
|
4383
4388
|
let b;
|
4384
4389
|
for (b = 0; b < f.length; b += 1) {
|
4385
|
-
const g =
|
4386
|
-
c[b] ? c[b].p(g, m) : (c[b] =
|
4390
|
+
const g = Mt(d, f, b);
|
4391
|
+
c[b] ? c[b].p(g, m) : (c[b] = Dt(g), c[b].c(), c[b].m(h, null));
|
4387
4392
|
}
|
4388
4393
|
for (; b < c.length; b += 1)
|
4389
4394
|
c[b].d(1);
|
@@ -4392,21 +4397,21 @@ function co(e) {
|
|
4392
4397
|
m[0] & /*mobile, type*/
|
4393
4398
|
513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4394
4399
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4395
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4400
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && C(t, "class", u);
|
4396
4401
|
},
|
4397
4402
|
d(d) {
|
4398
|
-
d && I(t), l && l.d(),
|
4403
|
+
d && I(t), l && l.d(), Vt(c, d), e[25](null);
|
4399
4404
|
}
|
4400
4405
|
};
|
4401
4406
|
}
|
4402
|
-
function
|
4407
|
+
function po(e) {
|
4403
4408
|
let t;
|
4404
4409
|
return {
|
4405
4410
|
c() {
|
4406
|
-
t =
|
4411
|
+
t = H("div"), C(t, "class", "LoadingSpinner");
|
4407
4412
|
},
|
4408
4413
|
m(r, n) {
|
4409
|
-
|
4414
|
+
G(r, t, n);
|
4410
4415
|
},
|
4411
4416
|
p: A,
|
4412
4417
|
d(r) {
|
@@ -4414,21 +4419,21 @@ function fo(e) {
|
|
4414
4419
|
}
|
4415
4420
|
};
|
4416
4421
|
}
|
4417
|
-
function
|
4422
|
+
function $t(e) {
|
4418
4423
|
let t, r, n, i, o, s;
|
4419
4424
|
return {
|
4420
4425
|
c() {
|
4421
|
-
t =
|
4426
|
+
t = H("div"), r = H("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = V(), i = H("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>', C(t, "class", "ButtonsContainer");
|
4422
4427
|
},
|
4423
4428
|
m(a, h) {
|
4424
|
-
|
4425
|
-
|
4429
|
+
G(a, t, h), T(t, r), T(t, n), T(t, i), o || (s = [
|
4430
|
+
_e(
|
4426
4431
|
r,
|
4427
4432
|
"click",
|
4428
4433
|
/*sliderScrollLeft*/
|
4429
4434
|
e[11]
|
4430
4435
|
),
|
4431
|
-
|
4436
|
+
_e(
|
4432
4437
|
i,
|
4433
4438
|
"click",
|
4434
4439
|
/*sliderScrollRight*/
|
@@ -4438,81 +4443,81 @@ function Rt(e) {
|
|
4438
4443
|
},
|
4439
4444
|
p: A,
|
4440
4445
|
d(a) {
|
4441
|
-
a && I(t), o = !1,
|
4446
|
+
a && I(t), o = !1, re(s);
|
4442
4447
|
}
|
4443
4448
|
};
|
4444
4449
|
}
|
4445
|
-
function
|
4450
|
+
function mo(e) {
|
4446
4451
|
let t, r = (
|
4447
4452
|
/*category*/
|
4448
4453
|
e[41].name + ""
|
4449
4454
|
), n;
|
4450
4455
|
return {
|
4451
4456
|
c() {
|
4452
|
-
t =
|
4457
|
+
t = H("p"), n = Te(r), C(t, "class", "CategorySlideTitle");
|
4453
4458
|
},
|
4454
4459
|
m(i, o) {
|
4455
|
-
|
4460
|
+
G(i, t, o), T(t, n);
|
4456
4461
|
},
|
4457
4462
|
p(i, o) {
|
4458
4463
|
o[0] & /*gameCategories*/
|
4459
4464
|
8 && r !== (r = /*category*/
|
4460
|
-
i[41].name + "") &&
|
4465
|
+
i[41].name + "") && rt(n, r);
|
4461
4466
|
},
|
4462
4467
|
d(i) {
|
4463
4468
|
i && I(t);
|
4464
4469
|
}
|
4465
4470
|
};
|
4466
4471
|
}
|
4467
|
-
function
|
4472
|
+
function bo(e) {
|
4468
4473
|
let t, r, n;
|
4469
4474
|
return {
|
4470
4475
|
c() {
|
4471
|
-
t =
|
4472
|
-
e[41].icon) ||
|
4476
|
+
t = H("ui-image"), $(t, "imgClass", "CategorySlideLogo"), ye(t.src, r = /*category*/
|
4477
|
+
e[41].icon) || $(t, "src", r), $(t, "alt", n = /*category*/
|
4473
4478
|
e[41].name + " icon");
|
4474
4479
|
},
|
4475
4480
|
m(i, o) {
|
4476
|
-
|
4481
|
+
G(i, t, o);
|
4477
4482
|
},
|
4478
4483
|
p(i, o) {
|
4479
4484
|
o[0] & /*gameCategories*/
|
4480
|
-
8 && !
|
4481
|
-
i[41].icon) &&
|
4485
|
+
8 && !ye(t.src, r = /*category*/
|
4486
|
+
i[41].icon) && $(t, "src", r), o[0] & /*gameCategories*/
|
4482
4487
|
8 && n !== (n = /*category*/
|
4483
|
-
i[41].name + " icon") &&
|
4488
|
+
i[41].name + " icon") && $(t, "alt", n);
|
4484
4489
|
},
|
4485
4490
|
d(i) {
|
4486
4491
|
i && I(t);
|
4487
4492
|
}
|
4488
4493
|
};
|
4489
4494
|
}
|
4490
|
-
function
|
4495
|
+
function Gt(e) {
|
4491
4496
|
let t, r = (
|
4492
4497
|
/*game*/
|
4493
4498
|
e[44].name + ""
|
4494
4499
|
), n, i;
|
4495
4500
|
return {
|
4496
4501
|
c() {
|
4497
|
-
t =
|
4502
|
+
t = H("p"), n = Te(r), C(t, "title", i = /*game*/
|
4498
4503
|
e[44].name);
|
4499
4504
|
},
|
4500
4505
|
m(o, s) {
|
4501
|
-
|
4506
|
+
G(o, t, s), T(t, n);
|
4502
4507
|
},
|
4503
4508
|
p(o, s) {
|
4504
4509
|
s[0] & /*gameCategories*/
|
4505
4510
|
8 && r !== (r = /*game*/
|
4506
|
-
o[44].name + "") &&
|
4511
|
+
o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
|
4507
4512
|
8 && i !== (i = /*game*/
|
4508
|
-
o[44].name) &&
|
4513
|
+
o[44].name) && C(t, "title", i);
|
4509
4514
|
},
|
4510
4515
|
d(o) {
|
4511
4516
|
o && I(t);
|
4512
4517
|
}
|
4513
4518
|
};
|
4514
4519
|
}
|
4515
|
-
function
|
4520
|
+
function Ut(e) {
|
4516
4521
|
let t, r, n, i, o, s, a, h;
|
4517
4522
|
function u() {
|
4518
4523
|
return (
|
@@ -4525,50 +4530,50 @@ function Gt(e) {
|
|
4525
4530
|
}
|
4526
4531
|
let l = (
|
4527
4532
|
/*collectionprovidersgamenames*/
|
4528
|
-
e[2] == "true" &&
|
4533
|
+
e[2] == "true" && Gt(e)
|
4529
4534
|
);
|
4530
4535
|
return {
|
4531
4536
|
c() {
|
4532
|
-
t =
|
4533
|
-
e[44].defaultThumbnail) ||
|
4534
|
-
e[44].name),
|
4537
|
+
t = H("div"), r = H("ui-image"), o = V(), l && l.c(), s = V(), $(r, "imgClass", "CategorySlideGameImage"), ye(r.src, n = /*game*/
|
4538
|
+
e[44].defaultThumbnail) || $(r, "src", n), $(r, "alt", i = /*game*/
|
4539
|
+
e[44].name), C(t, "class", "CategorySlideGames");
|
4535
4540
|
},
|
4536
4541
|
m(f, c) {
|
4537
|
-
|
4542
|
+
G(f, t, c), T(t, r), T(t, o), l && l.m(t, null), T(t, s), a || (h = _e(r, "click", Ur(u)), a = !0);
|
4538
4543
|
},
|
4539
4544
|
p(f, c) {
|
4540
4545
|
e = f, c[0] & /*gameCategories*/
|
4541
|
-
8 && !
|
4542
|
-
e[44].defaultThumbnail) &&
|
4546
|
+
8 && !ye(r.src, n = /*game*/
|
4547
|
+
e[44].defaultThumbnail) && $(r, "src", n), c[0] & /*gameCategories*/
|
4543
4548
|
8 && i !== (i = /*game*/
|
4544
|
-
e[44].name) &&
|
4545
|
-
e[2] == "true" ? l ? l.p(e, c) : (l =
|
4549
|
+
e[44].name) && $(r, "alt", i), /*collectionprovidersgamenames*/
|
4550
|
+
e[2] == "true" ? l ? l.p(e, c) : (l = Gt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4546
4551
|
},
|
4547
4552
|
d(f) {
|
4548
4553
|
f && I(t), l && l.d(), a = !1, h();
|
4549
4554
|
}
|
4550
4555
|
};
|
4551
4556
|
}
|
4552
|
-
function
|
4557
|
+
function Dt(e) {
|
4553
4558
|
let t, r, n, i, o, s, a, h, u;
|
4554
|
-
function l(g,
|
4559
|
+
function l(g, E) {
|
4555
4560
|
if (
|
4556
4561
|
/*titletype*/
|
4557
4562
|
g[1] === "logo"
|
4558
4563
|
)
|
4559
|
-
return
|
4564
|
+
return bo;
|
4560
4565
|
if (
|
4561
4566
|
/*titletype*/
|
4562
4567
|
g[1] === "title"
|
4563
4568
|
)
|
4564
|
-
return
|
4569
|
+
return mo;
|
4565
4570
|
}
|
4566
|
-
let f = l(e), c = f && f(e), d =
|
4571
|
+
let f = l(e), c = f && f(e), d = Ee(
|
4567
4572
|
/*category*/
|
4568
4573
|
e[41].games
|
4569
4574
|
), m = [];
|
4570
4575
|
for (let g = 0; g < d.length; g += 1)
|
4571
|
-
m[g] =
|
4576
|
+
m[g] = Ut(Rt(e, d, g));
|
4572
4577
|
function b() {
|
4573
4578
|
return (
|
4574
4579
|
/*click_handler_1*/
|
@@ -4580,61 +4585,61 @@ function Ut(e) {
|
|
4580
4585
|
}
|
4581
4586
|
return {
|
4582
4587
|
c() {
|
4583
|
-
t =
|
4588
|
+
t = H("div"), r = H("div"), n = H("div"), c && c.c(), i = V(), o = H("div");
|
4584
4589
|
for (let g = 0; g < m.length; g += 1)
|
4585
4590
|
m[g].c();
|
4586
|
-
a =
|
4587
|
-
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")),
|
4588
|
-
e[41]?.background + ")"),
|
4591
|
+
a = V(), C(n, "class", "CategorySlideTopContainer"), C(o, "class", "CategorySlideGameContainer"), C(r, "class", s = "CategorySlide " + /*category*/
|
4592
|
+
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Le(r, "background-image", "url(" + /*category*/
|
4593
|
+
e[41]?.background + ")"), Le(r, "background-size", "cover"), C(t, "class", "CategoriesSliderWrapper Animation");
|
4589
4594
|
},
|
4590
|
-
m(g,
|
4591
|
-
|
4595
|
+
m(g, E) {
|
4596
|
+
G(g, t, E), T(t, r), T(r, n), c && c.m(n, null), T(r, i), T(r, o);
|
4592
4597
|
for (let x = 0; x < m.length; x += 1)
|
4593
4598
|
m[x] && m[x].m(o, null);
|
4594
|
-
|
4599
|
+
T(t, a), h || (u = _e(r, "click", b), h = !0);
|
4595
4600
|
},
|
4596
|
-
p(g,
|
4597
|
-
if (e = g, f === (f = l(e)) && c ? c.p(e,
|
4601
|
+
p(g, E) {
|
4602
|
+
if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4598
4603
|
8204) {
|
4599
|
-
d =
|
4604
|
+
d = Ee(
|
4600
4605
|
/*category*/
|
4601
4606
|
e[41].games
|
4602
4607
|
);
|
4603
4608
|
let x;
|
4604
4609
|
for (x = 0; x < d.length; x += 1) {
|
4605
|
-
const
|
4606
|
-
m[x] ? m[x].p(
|
4610
|
+
const w = Rt(e, d, x);
|
4611
|
+
m[x] ? m[x].p(w, E) : (m[x] = Ut(w), m[x].c(), m[x].m(o, null));
|
4607
4612
|
}
|
4608
4613
|
for (; x < m.length; x += 1)
|
4609
4614
|
m[x].d(1);
|
4610
4615
|
m.length = d.length;
|
4611
4616
|
}
|
4612
|
-
|
4617
|
+
E[0] & /*gameCategories*/
|
4613
4618
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4614
|
-
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4615
|
-
8 &&
|
4619
|
+
(e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && C(r, "class", s), E[0] & /*gameCategories*/
|
4620
|
+
8 && Le(r, "background-image", "url(" + /*category*/
|
4616
4621
|
e[41]?.background + ")");
|
4617
4622
|
},
|
4618
4623
|
d(g) {
|
4619
|
-
g && I(t), c && c.d(),
|
4624
|
+
g && I(t), c && c.d(), Vt(m, g), h = !1, u();
|
4620
4625
|
}
|
4621
4626
|
};
|
4622
4627
|
}
|
4623
|
-
function
|
4628
|
+
function go(e) {
|
4624
4629
|
let t;
|
4625
4630
|
function r(o, s) {
|
4626
4631
|
return (
|
4627
4632
|
/*isLoading*/
|
4628
|
-
o[6] ?
|
4633
|
+
o[6] ? po : fo
|
4629
4634
|
);
|
4630
4635
|
}
|
4631
4636
|
let n = r(e), i = n(e);
|
4632
4637
|
return {
|
4633
4638
|
c() {
|
4634
|
-
t =
|
4639
|
+
t = H("div"), i.c();
|
4635
4640
|
},
|
4636
4641
|
m(o, s) {
|
4637
|
-
|
4642
|
+
G(o, t, s), i.m(t, null), e[26](t);
|
4638
4643
|
},
|
4639
4644
|
p(o, s) {
|
4640
4645
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
@@ -4646,52 +4651,52 @@ function bo(e) {
|
|
4646
4651
|
}
|
4647
4652
|
};
|
4648
4653
|
}
|
4649
|
-
function
|
4654
|
+
function vo(e, t, r) {
|
4650
4655
|
let n;
|
4651
|
-
|
4652
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g,
|
4653
|
-
const
|
4656
|
+
Mr(e, Xi, (p) => r(10, n = p));
|
4657
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, x = 0, w = 0, F, L, k = 0, W = 50, Oe = !1, N, Er = window.navigator.userAgent, ot;
|
4658
|
+
const Sr = () => {
|
4654
4659
|
fetch(f).then((P) => P.json()).then((P) => {
|
4655
4660
|
Object.keys(P).forEach((M) => {
|
4656
|
-
|
4661
|
+
Ht(M, P[M]);
|
4657
4662
|
});
|
4658
4663
|
}).catch((P) => {
|
4659
4664
|
console.log(P);
|
4660
4665
|
});
|
4661
4666
|
};
|
4662
|
-
Object.keys(
|
4663
|
-
|
4667
|
+
Object.keys(Ct).forEach((p) => {
|
4668
|
+
Ht(p, Ct[p]);
|
4664
4669
|
});
|
4665
|
-
const
|
4670
|
+
const st = () => {
|
4666
4671
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4667
|
-
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${
|
4668
|
-
r(6, b = !1), P.total >
|
4672
|
+
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((P) => P.json()).then((P) => {
|
4673
|
+
r(6, b = !1), P.total > W && (k += 50, W += 50, r(22, Oe = !0));
|
4669
4674
|
let M = P.items.map((R) => ({
|
4670
4675
|
id: R.id,
|
4671
4676
|
name: R.name,
|
4672
4677
|
icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
|
4673
|
-
games: R.games.items.slice(0, 4).map((
|
4678
|
+
games: R.games.items.slice(0, 4).map((Ir) => Ir),
|
4674
4679
|
background: R.background,
|
4675
4680
|
flag: R.flags
|
4676
4681
|
}));
|
4677
|
-
r(3, m = [...m, ...M]), r(7, x = m.length),
|
4682
|
+
r(3, m = [...m, ...M]), r(7, x = m.length), wr();
|
4678
4683
|
});
|
4679
|
-
},
|
4684
|
+
}, wr = () => {
|
4680
4685
|
const p = N.getRootNode().host;
|
4681
4686
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4682
|
-
},
|
4687
|
+
}, at = (p) => {
|
4683
4688
|
L = [...g.children], L.forEach((P, M) => {
|
4684
4689
|
P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
|
4685
|
-
}),
|
4686
|
-
}, wr = () => {
|
4687
|
-
r(8, T = Math.floor(g.clientWidth / D));
|
4688
|
-
}, at = () => {
|
4689
|
-
st(S);
|
4690
|
+
}), F = L[0]?.getBoundingClientRect().width, Tr();
|
4690
4691
|
}, Tr = () => {
|
4691
|
-
|
4692
|
+
r(8, w = Math.floor(g.clientWidth / F));
|
4693
|
+
}, lt = () => {
|
4694
|
+
at(E);
|
4692
4695
|
}, Hr = () => {
|
4693
|
-
|
4694
|
-
},
|
4696
|
+
E === 0 ? E = x - w : E - w < -1 ? E = 0 : E--, lt();
|
4697
|
+
}, Cr = () => {
|
4698
|
+
E === x - w ? E = 0 : x - w < E + 1 ? E = x - w : E++, lt();
|
4699
|
+
}, ut = (p, P, M, R) => {
|
4695
4700
|
window.postMessage(
|
4696
4701
|
{
|
4697
4702
|
type: "OpenCollectionsProvidersGame",
|
@@ -4705,7 +4710,7 @@ function go(e, t, r) {
|
|
4705
4710
|
context: "CollectionsProviders",
|
4706
4711
|
gameName: `${M}`
|
4707
4712
|
});
|
4708
|
-
},
|
4713
|
+
}, ht = (p) => {
|
4709
4714
|
window.postMessage(
|
4710
4715
|
{
|
4711
4716
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4713,19 +4718,19 @@ function go(e, t, r) {
|
|
4713
4718
|
},
|
4714
4719
|
window.location.href
|
4715
4720
|
);
|
4716
|
-
},
|
4717
|
-
|
4721
|
+
}, Pr = () => {
|
4722
|
+
Wi(s);
|
4718
4723
|
};
|
4719
|
-
|
4724
|
+
kr(() => (r(9, ot = ao(Er)), () => {
|
4720
4725
|
}));
|
4721
|
-
const
|
4722
|
-
function
|
4723
|
-
|
4726
|
+
const Br = (p) => ut(p.gameId, p.launchUrl, p.name, p.subVendor), Ar = (p) => ht(p.id);
|
4727
|
+
function Or(p) {
|
4728
|
+
xe[p ? "unshift" : "push"](() => {
|
4724
4729
|
g = p, r(4, g);
|
4725
4730
|
});
|
4726
4731
|
}
|
4727
|
-
function
|
4728
|
-
|
4732
|
+
function Lr(p) {
|
4733
|
+
xe[p ? "unshift" : "push"](() => {
|
4729
4734
|
N = p, r(5, N);
|
4730
4735
|
});
|
4731
4736
|
}
|
@@ -4733,14 +4738,14 @@ function go(e, t, r) {
|
|
4733
4738
|
"endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
|
4734
4739
|
}, e.$$.update = () => {
|
4735
4740
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4736
|
-
229376 && i && o && s &&
|
4737
|
-
24 && m && g &&
|
4738
|
-
131072 && s &&
|
4739
|
-
262176 && u && N &&
|
4740
|
-
524320 && l && N &&
|
4741
|
-
2097184 && N &&
|
4742
|
-
1048576 && f &&
|
4743
|
-
4194304 &&
|
4741
|
+
229376 && i && o && s && st(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4742
|
+
24 && m && g && at(), e.$$.dirty[0] & /*lang*/
|
4743
|
+
131072 && s && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4744
|
+
262176 && u && N && lo(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4745
|
+
524320 && l && N && uo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4746
|
+
2097184 && N && ho(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4747
|
+
1048576 && f && Sr(), e.$$.dirty[0] & /*paginationrequired*/
|
4748
|
+
4194304 && Oe && st();
|
4744
4749
|
}, [
|
4745
4750
|
a,
|
4746
4751
|
h,
|
@@ -4750,13 +4755,13 @@ function go(e, t, r) {
|
|
4750
4755
|
N,
|
4751
4756
|
b,
|
4752
4757
|
x,
|
4753
|
-
|
4754
|
-
|
4758
|
+
w,
|
4759
|
+
ot,
|
4755
4760
|
n,
|
4756
|
-
Tr,
|
4757
4761
|
Hr,
|
4758
|
-
|
4762
|
+
Cr,
|
4759
4763
|
ut,
|
4764
|
+
ht,
|
4760
4765
|
i,
|
4761
4766
|
o,
|
4762
4767
|
s,
|
@@ -4764,21 +4769,21 @@ function go(e, t, r) {
|
|
4764
4769
|
l,
|
4765
4770
|
f,
|
4766
4771
|
d,
|
4767
|
-
|
4768
|
-
Pr,
|
4772
|
+
Oe,
|
4769
4773
|
Br,
|
4770
4774
|
Ar,
|
4771
|
-
Or
|
4775
|
+
Or,
|
4776
|
+
Lr
|
4772
4777
|
];
|
4773
4778
|
}
|
4774
|
-
class
|
4779
|
+
class yo extends tn {
|
4775
4780
|
constructor(t) {
|
4776
|
-
super(),
|
4781
|
+
super(), Kr(
|
4777
4782
|
this,
|
4778
4783
|
t,
|
4784
|
+
vo,
|
4779
4785
|
go,
|
4780
|
-
|
4781
|
-
Ft,
|
4786
|
+
jt,
|
4782
4787
|
{
|
4783
4788
|
endpoint: 15,
|
4784
4789
|
datasource: 16,
|
@@ -4791,7 +4796,7 @@ class vo extends en {
|
|
4791
4796
|
collectionprovidersgamenames: 2,
|
4792
4797
|
mbsource: 21
|
4793
4798
|
},
|
4794
|
-
|
4799
|
+
co,
|
4795
4800
|
[-1, -1]
|
4796
4801
|
);
|
4797
4802
|
}
|
@@ -4856,7 +4861,7 @@ class vo extends en {
|
|
4856
4861
|
this.$$set({ mbsource: t }), O();
|
4857
4862
|
}
|
4858
4863
|
}
|
4859
|
-
|
4864
|
+
en(yo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4860
4865
|
export {
|
4861
|
-
|
4866
|
+
yo as C
|
4862
4867
|
};
|