@everymatrix/casino-categories-providers 1.76.1 → 1.76.3
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/CasinoCategories-B97ZfU61.cjs +16 -0
- package/components/{CasinoCategories-DvGfMWW7.js → CasinoCategories-BImygVw4.js} +438 -436
- package/components/{CasinoCategories-CvOGGg1I.js → CasinoCategories-CwlYTalh.js} +428 -426
- package/components/{CasinoCategoriesProviders-CzXh24lS.cjs → CasinoCategoriesProviders-BHoYQ2ut.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-COGA7loG.js → CasinoCategoriesProviders-DzQk1OC-.js} +7 -7
- package/components/{CasinoCategoriesProviders-Bl62YIHb.js → CasinoCategoriesProviders-v9Vo-YFA.js} +7 -7
- package/components/{CasinoProviders-CFp8pSNe.js → CasinoProviders-BpSAc_EM.js} +5 -5
- package/components/{CasinoProviders-BCnyOI93.cjs → CasinoProviders-DNWL194W.cjs} +1 -1
- package/components/{CasinoProviders-DGKLKFB1.js → CasinoProviders-JB15M5Vn.js} +5 -5
- package/es2015/casino-categories-providers.cjs +1 -1
- package/es2015/casino-categories-providers.js +1 -1
- package/esnext/casino-categories-providers.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
- package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/components/CasinoCategories-BNeGOruX.cjs +0 -16
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
1
|
+
var tr = Object.defineProperty, rr = Object.defineProperties;
|
|
2
|
+
var nr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ir.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var r of Je(t))
|
|
10
|
+
sr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ke = (e, t) => rr(e, nr(t));
|
|
13
13
|
var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -27,32 +27,32 @@ var tt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-D3_FGUyo.js";
|
|
31
31
|
function L() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Tt(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function tt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
39
|
function ue(e) {
|
|
40
|
-
e.forEach(
|
|
40
|
+
e.forEach(Tt);
|
|
41
41
|
}
|
|
42
42
|
function Xe(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ct(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
|
-
let
|
|
48
|
+
let fe;
|
|
49
49
|
function be(e, t) {
|
|
50
|
-
return e === t ? !0 : (
|
|
50
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function or(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ht(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -61,20 +61,20 @@ function At(e, ...t) {
|
|
|
61
61
|
const r = e.subscribe(...t);
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
64
|
+
function ar(e, t, r) {
|
|
65
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
66
66
|
}
|
|
67
67
|
function v(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function ur(e, t, r) {
|
|
71
|
+
const n = hr(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
73
|
const i = S("style");
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
74
|
+
i.id = t, i.textContent = r, lr(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function hr(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,7 +84,7 @@ function lr(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function lr(e, t) {
|
|
88
88
|
return v(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
@@ -97,7 +97,7 @@ function K(e, t, r) {
|
|
|
97
97
|
function k(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function rt(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
@@ -113,7 +113,7 @@ function U() {
|
|
|
113
113
|
function Si() {
|
|
114
114
|
return D("");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function At(e, t, r, n) {
|
|
117
117
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
118
118
|
}
|
|
119
119
|
function I(e, t, r) {
|
|
@@ -130,7 +130,7 @@ function F(e, t) {
|
|
|
130
130
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
131
131
|
t);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function cr(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -143,19 +143,19 @@ let se;
|
|
|
143
143
|
function ie(e) {
|
|
144
144
|
se = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function gr() {
|
|
147
147
|
if (!se)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
149
|
return se;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function mr(e) {
|
|
152
|
+
gr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
154
|
const W = [], Le = [];
|
|
155
155
|
let Z = [];
|
|
156
|
-
const
|
|
156
|
+
const nt = [], dr = /* @__PURE__ */ Promise.resolve();
|
|
157
157
|
let Ie = !1;
|
|
158
|
-
function
|
|
158
|
+
function pr() {
|
|
159
159
|
Ie || (Ie = !0, dr.then(M));
|
|
160
160
|
}
|
|
161
161
|
function Me(e) {
|
|
@@ -171,7 +171,7 @@ function M() {
|
|
|
171
171
|
try {
|
|
172
172
|
for (; X < W.length; ) {
|
|
173
173
|
const t = W[X];
|
|
174
|
-
X++, ie(t),
|
|
174
|
+
X++, ie(t), br(t.$$);
|
|
175
175
|
}
|
|
176
176
|
} catch (t) {
|
|
177
177
|
throw W.length = 0, X = 0, t;
|
|
@@ -184,43 +184,43 @@ function M() {
|
|
|
184
184
|
}
|
|
185
185
|
Z.length = 0;
|
|
186
186
|
} while (W.length);
|
|
187
|
-
for (;
|
|
188
|
-
|
|
187
|
+
for (; nt.length; )
|
|
188
|
+
nt.pop()();
|
|
189
189
|
Ie = !1, Ae.clear(), ie(e);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function br(e) {
|
|
192
192
|
if (e.fragment !== null) {
|
|
193
193
|
e.update(), ue(e.before_update);
|
|
194
194
|
const t = e.dirty;
|
|
195
195
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function yr(e) {
|
|
199
199
|
const t = [], r = [];
|
|
200
200
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
201
201
|
}
|
|
202
|
-
const
|
|
203
|
-
function
|
|
204
|
-
e && e.i && (
|
|
202
|
+
const _r = /* @__PURE__ */ new Set();
|
|
203
|
+
function xr(e, t) {
|
|
204
|
+
e && e.i && (_r.delete(e), e.i(t));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function ce(e) {
|
|
207
207
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Er(e, t, r) {
|
|
210
210
|
const { fragment: n, after_update: i } = e.$$;
|
|
211
211
|
n && n.m(t, r), Me(() => {
|
|
212
|
-
const s = e.$$.on_mount.map(
|
|
212
|
+
const s = e.$$.on_mount.map(Tt).filter(Xe);
|
|
213
213
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
|
|
214
214
|
}), i.forEach(Me);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function vr(e, t) {
|
|
217
217
|
const r = e.$$;
|
|
218
|
-
r.fragment !== null && (
|
|
218
|
+
r.fragment !== null && (yr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
|
220
|
+
function Tr(e, t) {
|
|
221
|
+
e.$$.dirty[0] === -1 && (W.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
224
224
|
const h = se;
|
|
225
225
|
ie(e);
|
|
226
226
|
const a = e.$$ = {
|
|
@@ -230,7 +230,7 @@ function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
230
230
|
props: s,
|
|
231
231
|
update: L,
|
|
232
232
|
not_equal: i,
|
|
233
|
-
bound:
|
|
233
|
+
bound: tt(),
|
|
234
234
|
// lifecycle
|
|
235
235
|
on_mount: [],
|
|
236
236
|
on_destroy: [],
|
|
@@ -239,28 +239,28 @@ function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
239
239
|
after_update: [],
|
|
240
240
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
241
241
|
// everything else
|
|
242
|
-
callbacks:
|
|
242
|
+
callbacks: tt(),
|
|
243
243
|
dirty: u,
|
|
244
244
|
skip_bound: !1,
|
|
245
245
|
root: t.target || h.$$.root
|
|
246
246
|
};
|
|
247
247
|
o && o(a.root);
|
|
248
248
|
let l = !1;
|
|
249
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
|
250
|
-
const
|
|
251
|
-
return a.ctx && i(a.ctx[
|
|
249
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
250
|
+
const p = d.length ? d[0] : f;
|
|
251
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && Tr(e, c)), f;
|
|
252
252
|
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
253
253
|
if (t.hydrate) {
|
|
254
|
-
const
|
|
255
|
-
a.fragment && a.fragment.l(
|
|
254
|
+
const c = fr(t.target);
|
|
255
|
+
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
256
256
|
} else
|
|
257
257
|
a.fragment && a.fragment.c();
|
|
258
|
-
t.intro &&
|
|
258
|
+
t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
|
|
259
259
|
}
|
|
260
260
|
ie(h);
|
|
261
261
|
}
|
|
262
|
-
let
|
|
263
|
-
typeof HTMLElement == "function" && (
|
|
262
|
+
let Bt;
|
|
263
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
264
264
|
constructor(t, r, n) {
|
|
265
265
|
super();
|
|
266
266
|
/** The Svelte component constructor */
|
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
connectedCallback() {
|
|
300
|
-
return
|
|
300
|
+
return et(this, null, function* () {
|
|
301
301
|
if (this.$$cn = !0, !this.$$c) {
|
|
302
302
|
let t = function(s) {
|
|
303
303
|
return () => {
|
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
321
321
|
};
|
|
322
322
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
323
323
|
return;
|
|
324
|
-
const r = {}, n =
|
|
324
|
+
const r = {}, n = cr(this);
|
|
325
325
|
for (const s of this.$$s)
|
|
326
326
|
s in n && (r[s] = [t(s)]);
|
|
327
327
|
for (const s of this.attributes) {
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
332
332
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
333
333
|
this.$$c = new this.$$ctor({
|
|
334
334
|
target: this.shadowRoot || this,
|
|
335
|
-
props:
|
|
335
|
+
props: Ke(Ye({}, this.$$d), {
|
|
336
336
|
$$slots: r,
|
|
337
337
|
$$scope: {
|
|
338
338
|
ctx: []
|
|
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
|
|
|
410
410
|
return t;
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
function
|
|
414
|
-
let o = class extends
|
|
413
|
+
function Hr(e, t, r, n, i, s) {
|
|
414
|
+
let o = class extends Bt {
|
|
415
415
|
constructor() {
|
|
416
416
|
super(e, r, i), this.$$p_d = t;
|
|
417
417
|
}
|
|
@@ -441,7 +441,7 @@ function Ar(e, t, r, n, i, s) {
|
|
|
441
441
|
}), e.element = /** @type {any} */
|
|
442
442
|
o, o;
|
|
443
443
|
}
|
|
444
|
-
class
|
|
444
|
+
class Ar {
|
|
445
445
|
constructor() {
|
|
446
446
|
/**
|
|
447
447
|
* ### PRIVATE API
|
|
@@ -462,7 +462,7 @@ class Br {
|
|
|
462
462
|
}
|
|
463
463
|
/** @returns {void} */
|
|
464
464
|
$destroy() {
|
|
465
|
-
|
|
465
|
+
vr(this, 1), this.$destroy = L;
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -484,13 +484,13 @@ class Br {
|
|
|
484
484
|
* @returns {void}
|
|
485
485
|
*/
|
|
486
486
|
$set(t) {
|
|
487
|
-
this.$$set && !
|
|
487
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
const
|
|
491
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
490
|
+
const Br = "4";
|
|
491
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
|
|
492
492
|
const z = [];
|
|
493
|
-
function
|
|
493
|
+
function Sr(e, t) {
|
|
494
494
|
return {
|
|
495
495
|
subscribe: xe(e, t).subscribe
|
|
496
496
|
};
|
|
@@ -499,7 +499,7 @@ function xe(e, t = L) {
|
|
|
499
499
|
let r;
|
|
500
500
|
const n = /* @__PURE__ */ new Set();
|
|
501
501
|
function i(u) {
|
|
502
|
-
if (
|
|
502
|
+
if (Ct(e, u) && (e = u, r)) {
|
|
503
503
|
const h = !z.length;
|
|
504
504
|
for (const a of n)
|
|
505
505
|
a[1](), z.push(a, e);
|
|
@@ -526,96 +526,96 @@ function ee(e, t, r) {
|
|
|
526
526
|
if (!i.every(Boolean))
|
|
527
527
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
528
528
|
const s = t.length < 2;
|
|
529
|
-
return
|
|
529
|
+
return Sr(r, (o, u) => {
|
|
530
530
|
let h = !1;
|
|
531
531
|
const a = [];
|
|
532
|
-
let l = 0,
|
|
533
|
-
const
|
|
532
|
+
let l = 0, c = L;
|
|
533
|
+
const f = () => {
|
|
534
534
|
if (l)
|
|
535
535
|
return;
|
|
536
|
-
|
|
537
|
-
const
|
|
538
|
-
s ? o(
|
|
539
|
-
},
|
|
540
|
-
(
|
|
541
|
-
|
|
536
|
+
c();
|
|
537
|
+
const p = t(n ? a[0] : a, o, u);
|
|
538
|
+
s ? o(p) : c = Xe(p) ? p : L;
|
|
539
|
+
}, d = i.map(
|
|
540
|
+
(p, g) => Ht(
|
|
541
|
+
p,
|
|
542
542
|
(E) => {
|
|
543
|
-
a[g] = E, l &= ~(1 << g), h &&
|
|
543
|
+
a[g] = E, l &= ~(1 << g), h && f();
|
|
544
544
|
},
|
|
545
545
|
() => {
|
|
546
546
|
l |= 1 << g;
|
|
547
547
|
}
|
|
548
548
|
)
|
|
549
549
|
);
|
|
550
|
-
return h = !0,
|
|
551
|
-
ue(
|
|
550
|
+
return h = !0, f(), function() {
|
|
551
|
+
ue(d), c(), h = !1;
|
|
552
552
|
};
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
555
|
function Or(e) {
|
|
556
|
-
return e
|
|
556
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
return
|
|
558
|
+
var wr = function(t) {
|
|
559
|
+
return Pr(t) && !Nr(t);
|
|
560
560
|
};
|
|
561
|
-
function
|
|
561
|
+
function Pr(e) {
|
|
562
562
|
return !!e && typeof e == "object";
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Nr(e) {
|
|
565
565
|
var t = Object.prototype.toString.call(e);
|
|
566
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
566
|
+
return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
|
|
567
567
|
}
|
|
568
|
-
var
|
|
569
|
-
function
|
|
570
|
-
return e.$$typeof ===
|
|
568
|
+
var Lr = typeof Symbol == "function" && Symbol.for, Ir = Lr ? Symbol.for("react.element") : 60103;
|
|
569
|
+
function Mr(e) {
|
|
570
|
+
return e.$$typeof === Ir;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function $r(e) {
|
|
573
573
|
return Array.isArray(e) ? [] : {};
|
|
574
574
|
}
|
|
575
575
|
function oe(e, t) {
|
|
576
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Q(
|
|
576
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q($r(e), e, t) : e;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function Rr(e, t, r) {
|
|
579
579
|
return e.concat(t).map(function(n) {
|
|
580
580
|
return oe(n, r);
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function Ur(e, t) {
|
|
584
584
|
if (!t.customMerge)
|
|
585
585
|
return Q;
|
|
586
586
|
var r = t.customMerge(e);
|
|
587
587
|
return typeof r == "function" ? r : Q;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Dr(e) {
|
|
590
590
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
591
591
|
return Object.propertyIsEnumerable.call(e, t);
|
|
592
592
|
}) : [];
|
|
593
593
|
}
|
|
594
|
-
function
|
|
595
|
-
return Object.keys(e).concat(
|
|
594
|
+
function it(e) {
|
|
595
|
+
return Object.keys(e).concat(Dr(e));
|
|
596
596
|
}
|
|
597
|
-
function
|
|
597
|
+
function St(e, t) {
|
|
598
598
|
try {
|
|
599
599
|
return t in e;
|
|
600
600
|
} catch (r) {
|
|
601
601
|
return !1;
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
function
|
|
605
|
-
return
|
|
604
|
+
function Gr(e, t) {
|
|
605
|
+
return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Fr(e, t, r) {
|
|
608
608
|
var n = {};
|
|
609
|
-
return r.isMergeableObject(e) &&
|
|
609
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
610
610
|
n[i] = oe(e[i], r);
|
|
611
|
-
}),
|
|
612
|
-
|
|
611
|
+
}), it(t).forEach(function(i) {
|
|
612
|
+
Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
613
613
|
}), n;
|
|
614
614
|
}
|
|
615
615
|
function Q(e, t, r) {
|
|
616
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
616
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Rr, r.isMergeableObject = r.isMergeableObject || wr, r.cloneUnlessOtherwiseSpecified = oe;
|
|
617
617
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
618
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
618
|
+
return s ? n ? r.arrayMerge(e, t, r) : Fr(e, t, r) : oe(t, r);
|
|
619
619
|
}
|
|
620
620
|
Q.all = function(t, r) {
|
|
621
621
|
if (!Array.isArray(t))
|
|
@@ -624,8 +624,8 @@ Q.all = function(t, r) {
|
|
|
624
624
|
return Q(n, i, r);
|
|
625
625
|
}, {});
|
|
626
626
|
};
|
|
627
|
-
var
|
|
628
|
-
const
|
|
627
|
+
var jr = Q, kr = jr;
|
|
628
|
+
const Vr = /* @__PURE__ */ Or(kr);
|
|
629
629
|
/*! *****************************************************************************
|
|
630
630
|
Copyright (c) Microsoft Corporation.
|
|
631
631
|
|
|
@@ -667,7 +667,7 @@ var x = function() {
|
|
|
667
667
|
return t;
|
|
668
668
|
}, x.apply(this, arguments);
|
|
669
669
|
};
|
|
670
|
-
function
|
|
670
|
+
function Xr(e, t) {
|
|
671
671
|
var r = {};
|
|
672
672
|
for (var n in e)
|
|
673
673
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -683,55 +683,57 @@ function Be(e, t, r) {
|
|
|
683
683
|
return e.concat(s || t);
|
|
684
684
|
}
|
|
685
685
|
function Se(e, t) {
|
|
686
|
-
var r = t && t.cache ? t.cache : Yr, n = t && t.serializer ? t.serializer :
|
|
686
|
+
var r = t && t.cache ? t.cache : Yr, n = t && t.serializer ? t.serializer : qr, i = t && t.strategy ? t.strategy : Wr;
|
|
687
687
|
return i(e, {
|
|
688
688
|
cache: r,
|
|
689
689
|
serializer: n
|
|
690
690
|
});
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function zr(e) {
|
|
693
693
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
694
694
|
}
|
|
695
695
|
function Ot(e, t, r, n) {
|
|
696
|
-
var i =
|
|
696
|
+
var i = zr(n) ? n : r(n), s = t.get(i);
|
|
697
697
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function wt(e, t, r) {
|
|
700
700
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
701
701
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
702
702
|
}
|
|
703
703
|
function ze(e, t, r, n, i) {
|
|
704
704
|
return r.bind(t, e, n, i);
|
|
705
705
|
}
|
|
706
|
-
function
|
|
707
|
-
var r = e.length === 1 ? Ot :
|
|
706
|
+
function Wr(e, t) {
|
|
707
|
+
var r = e.length === 1 ? Ot : wt;
|
|
708
708
|
return ze(e, this, r, t.cache.create(), t.serializer);
|
|
709
709
|
}
|
|
710
|
-
function
|
|
711
|
-
return ze(e, this,
|
|
710
|
+
function Zr(e, t) {
|
|
711
|
+
return ze(e, this, wt, t.cache.create(), t.serializer);
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Qr(e, t) {
|
|
714
714
|
return ze(e, this, Ot, t.cache.create(), t.serializer);
|
|
715
715
|
}
|
|
716
|
-
var
|
|
716
|
+
var qr = function() {
|
|
717
717
|
return JSON.stringify(arguments);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
718
|
+
}, Jr = (
|
|
719
|
+
/** @class */
|
|
720
|
+
function() {
|
|
721
|
+
function e() {
|
|
722
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
723
|
+
}
|
|
724
|
+
return e.prototype.get = function(t) {
|
|
725
|
+
return this.cache[t];
|
|
726
|
+
}, e.prototype.set = function(t, r) {
|
|
727
|
+
this.cache[t] = r;
|
|
728
|
+
}, e;
|
|
729
|
+
}()
|
|
730
|
+
), Yr = {
|
|
729
731
|
create: function() {
|
|
730
|
-
return new
|
|
732
|
+
return new Jr();
|
|
731
733
|
}
|
|
732
|
-
},
|
|
733
|
-
variadic:
|
|
734
|
-
monadic:
|
|
734
|
+
}, Oe = {
|
|
735
|
+
variadic: Zr,
|
|
736
|
+
monadic: Qr
|
|
735
737
|
}, y;
|
|
736
738
|
(function(e) {
|
|
737
739
|
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";
|
|
@@ -744,40 +746,40 @@ var q;
|
|
|
744
746
|
(function(e) {
|
|
745
747
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
746
748
|
})(q || (q = {}));
|
|
747
|
-
function
|
|
749
|
+
function st(e) {
|
|
748
750
|
return e.type === T.literal;
|
|
749
751
|
}
|
|
750
752
|
function Kr(e) {
|
|
751
753
|
return e.type === T.argument;
|
|
752
754
|
}
|
|
753
|
-
function
|
|
755
|
+
function Pt(e) {
|
|
754
756
|
return e.type === T.number;
|
|
755
757
|
}
|
|
756
|
-
function
|
|
758
|
+
function Nt(e) {
|
|
757
759
|
return e.type === T.date;
|
|
758
760
|
}
|
|
759
|
-
function
|
|
761
|
+
function Lt(e) {
|
|
760
762
|
return e.type === T.time;
|
|
761
763
|
}
|
|
762
|
-
function
|
|
764
|
+
function It(e) {
|
|
763
765
|
return e.type === T.select;
|
|
764
766
|
}
|
|
765
|
-
function
|
|
767
|
+
function Mt(e) {
|
|
766
768
|
return e.type === T.plural;
|
|
767
769
|
}
|
|
768
770
|
function en(e) {
|
|
769
771
|
return e.type === T.pound;
|
|
770
772
|
}
|
|
771
|
-
function
|
|
773
|
+
function $t(e) {
|
|
772
774
|
return e.type === T.tag;
|
|
773
775
|
}
|
|
774
|
-
function
|
|
776
|
+
function Rt(e) {
|
|
775
777
|
return !!(e && typeof e == "object" && e.type === q.number);
|
|
776
778
|
}
|
|
777
779
|
function Re(e) {
|
|
778
780
|
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
779
781
|
}
|
|
780
|
-
var
|
|
782
|
+
var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[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;
|
|
781
783
|
function rn(e) {
|
|
782
784
|
var t = {};
|
|
783
785
|
return e.replace(tn, function(r) {
|
|
@@ -873,15 +875,15 @@ var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
873
875
|
function sn(e) {
|
|
874
876
|
if (e.length === 0)
|
|
875
877
|
throw new Error("Number skeleton cannot be empty");
|
|
876
|
-
for (var t = e.split(nn).filter(function(
|
|
877
|
-
return
|
|
878
|
+
for (var t = e.split(nn).filter(function(f) {
|
|
879
|
+
return f.length > 0;
|
|
878
880
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
879
881
|
var s = i[n], o = s.split("/");
|
|
880
882
|
if (o.length === 0)
|
|
881
883
|
throw new Error("Invalid number skeleton");
|
|
882
884
|
for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
|
|
883
|
-
var
|
|
884
|
-
if (
|
|
885
|
+
var c = l[a];
|
|
886
|
+
if (c.length === 0)
|
|
885
887
|
throw new Error("Invalid number skeleton");
|
|
886
888
|
}
|
|
887
889
|
r.push({ stem: u, options: h });
|
|
@@ -891,14 +893,14 @@ function sn(e) {
|
|
|
891
893
|
function on(e) {
|
|
892
894
|
return e.replace(/^(.*?)-/, "");
|
|
893
895
|
}
|
|
894
|
-
var
|
|
895
|
-
function
|
|
896
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, an = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
|
|
897
|
+
function at(e) {
|
|
896
898
|
var t = {};
|
|
897
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
899
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
|
|
898
900
|
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)), "";
|
|
899
901
|
}), t;
|
|
900
902
|
}
|
|
901
|
-
function
|
|
903
|
+
function Ft(e) {
|
|
902
904
|
switch (e) {
|
|
903
905
|
case "sign-auto":
|
|
904
906
|
return {
|
|
@@ -946,14 +948,14 @@ function un(e) {
|
|
|
946
948
|
notation: "scientific"
|
|
947
949
|
}, e = e.slice(1)), t) {
|
|
948
950
|
var r = e.slice(0, 2);
|
|
949
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
951
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
|
|
950
952
|
throw new Error("Malformed concise eng/scientific notation");
|
|
951
953
|
t.minimumIntegerDigits = e.length;
|
|
952
954
|
}
|
|
953
955
|
return t;
|
|
954
956
|
}
|
|
955
|
-
function
|
|
956
|
-
var t = {}, r =
|
|
957
|
+
function ut(e) {
|
|
958
|
+
var t = {}, r = Ft(e);
|
|
957
959
|
return r || t;
|
|
958
960
|
}
|
|
959
961
|
function hn(e) {
|
|
@@ -992,12 +994,12 @@ function hn(e) {
|
|
|
992
994
|
continue;
|
|
993
995
|
case "scientific":
|
|
994
996
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
995
|
-
return x(x({}, h),
|
|
997
|
+
return x(x({}, h), ut(a));
|
|
996
998
|
}, {}));
|
|
997
999
|
continue;
|
|
998
1000
|
case "engineering":
|
|
999
1001
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1000
|
-
return x(x({}, h),
|
|
1002
|
+
return x(x({}, h), ut(a));
|
|
1001
1003
|
}, {}));
|
|
1002
1004
|
continue;
|
|
1003
1005
|
case "notation-simple":
|
|
@@ -1042,38 +1044,38 @@ function hn(e) {
|
|
|
1042
1044
|
case "integer-width":
|
|
1043
1045
|
if (i.options.length > 1)
|
|
1044
1046
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1045
|
-
i.options[0].replace(an, function(h, a, l,
|
|
1047
|
+
i.options[0].replace(an, function(h, a, l, c, f, d) {
|
|
1046
1048
|
if (a)
|
|
1047
1049
|
t.minimumIntegerDigits = l.length;
|
|
1048
1050
|
else {
|
|
1049
|
-
if (
|
|
1051
|
+
if (c && f)
|
|
1050
1052
|
throw new Error("We currently do not support maximum integer digits");
|
|
1051
|
-
if (
|
|
1053
|
+
if (d)
|
|
1052
1054
|
throw new Error("We currently do not support exact integer digits");
|
|
1053
1055
|
}
|
|
1054
1056
|
return "";
|
|
1055
1057
|
});
|
|
1056
1058
|
continue;
|
|
1057
1059
|
}
|
|
1058
|
-
if (
|
|
1060
|
+
if (Gt.test(i.stem)) {
|
|
1059
1061
|
t.minimumIntegerDigits = i.stem.length;
|
|
1060
1062
|
continue;
|
|
1061
1063
|
}
|
|
1062
|
-
if (
|
|
1064
|
+
if (ot.test(i.stem)) {
|
|
1063
1065
|
if (i.options.length > 1)
|
|
1064
1066
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1065
|
-
i.stem.replace(
|
|
1066
|
-
return l === "*" ? t.minimumFractionDigits = a.length :
|
|
1067
|
+
i.stem.replace(ot, function(h, a, l, c, f, d) {
|
|
1068
|
+
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1067
1069
|
});
|
|
1068
1070
|
var s = i.options[0];
|
|
1069
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1071
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), at(s)));
|
|
1070
1072
|
continue;
|
|
1071
1073
|
}
|
|
1072
|
-
if (
|
|
1073
|
-
t = x(x({}, t),
|
|
1074
|
+
if (Dt.test(i.stem)) {
|
|
1075
|
+
t = x(x({}, t), at(i.stem));
|
|
1074
1076
|
continue;
|
|
1075
1077
|
}
|
|
1076
|
-
var o =
|
|
1078
|
+
var o = Ft(i.stem);
|
|
1077
1079
|
o && (t = x(x({}, t), o));
|
|
1078
1080
|
var u = un(i.stem);
|
|
1079
1081
|
u && (t = x(x({}, t), u));
|
|
@@ -2501,7 +2503,7 @@ function ln(e, t) {
|
|
|
2501
2503
|
if (i === "j") {
|
|
2502
2504
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2503
2505
|
s++, n++;
|
|
2504
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a =
|
|
2506
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = fn(t);
|
|
2505
2507
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2506
2508
|
r += h;
|
|
2507
2509
|
for (; o-- > 0; )
|
|
@@ -2511,7 +2513,7 @@ function ln(e, t) {
|
|
|
2511
2513
|
}
|
|
2512
2514
|
return r;
|
|
2513
2515
|
}
|
|
2514
|
-
function
|
|
2516
|
+
function fn(e) {
|
|
2515
2517
|
var t = e.hourCycle;
|
|
2516
2518
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2517
2519
|
e.hourCycles && // @ts-ignore
|
|
@@ -2533,20 +2535,20 @@ function cn(e) {
|
|
|
2533
2535
|
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2534
2536
|
return i[0];
|
|
2535
2537
|
}
|
|
2536
|
-
var
|
|
2538
|
+
var we, cn = new RegExp("^".concat(Ut.source, "*")), gn = new RegExp("".concat(Ut.source, "*$"));
|
|
2537
2539
|
function _(e, t) {
|
|
2538
2540
|
return { start: e, end: t };
|
|
2539
2541
|
}
|
|
2540
|
-
var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1),
|
|
2542
|
+
var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, pn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, yn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, En = xn ? Number.isSafeInteger : function(e) {
|
|
2541
2543
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2542
2544
|
}, Ue = !0;
|
|
2543
2545
|
try {
|
|
2544
|
-
var vn =
|
|
2545
|
-
Ue = ((
|
|
2546
|
+
var vn = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2547
|
+
Ue = ((we = vn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2546
2548
|
} catch (e) {
|
|
2547
2549
|
Ue = !1;
|
|
2548
2550
|
}
|
|
2549
|
-
var
|
|
2551
|
+
var ht = mn ? (
|
|
2550
2552
|
// Native
|
|
2551
2553
|
function(t, r, n) {
|
|
2552
2554
|
return t.startsWith(r, n);
|
|
@@ -2556,7 +2558,7 @@ var lt = mn ? (
|
|
|
2556
2558
|
function(t, r, n) {
|
|
2557
2559
|
return t.slice(n, n + r.length) === r;
|
|
2558
2560
|
}
|
|
2559
|
-
), De =
|
|
2561
|
+
), De = dn ? String.fromCodePoint : (
|
|
2560
2562
|
// IE11
|
|
2561
2563
|
function() {
|
|
2562
2564
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2568,9 +2570,9 @@ var lt = mn ? (
|
|
|
2568
2570
|
}
|
|
2569
2571
|
return n;
|
|
2570
2572
|
}
|
|
2571
|
-
),
|
|
2573
|
+
), lt = (
|
|
2572
2574
|
// native
|
|
2573
|
-
|
|
2575
|
+
pn ? Object.fromEntries : (
|
|
2574
2576
|
// Ponyfill
|
|
2575
2577
|
function(t) {
|
|
2576
2578
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2580,7 +2582,7 @@ var lt = mn ? (
|
|
|
2580
2582
|
return r;
|
|
2581
2583
|
}
|
|
2582
2584
|
)
|
|
2583
|
-
),
|
|
2585
|
+
), jt = bn ? (
|
|
2584
2586
|
// Native
|
|
2585
2587
|
function(t, r) {
|
|
2586
2588
|
return t.codePointAt(r);
|
|
@@ -2602,7 +2604,7 @@ var lt = mn ? (
|
|
|
2602
2604
|
) : (
|
|
2603
2605
|
// Ponyfill
|
|
2604
2606
|
function(t) {
|
|
2605
|
-
return t.replace(
|
|
2607
|
+
return t.replace(cn, "");
|
|
2606
2608
|
}
|
|
2607
2609
|
), Cn = _n ? (
|
|
2608
2610
|
// Native
|
|
@@ -2615,12 +2617,12 @@ var lt = mn ? (
|
|
|
2615
2617
|
return t.replace(gn, "");
|
|
2616
2618
|
}
|
|
2617
2619
|
);
|
|
2618
|
-
function
|
|
2620
|
+
function kt(e, t) {
|
|
2619
2621
|
return new RegExp(e, t);
|
|
2620
2622
|
}
|
|
2621
2623
|
var Ge;
|
|
2622
2624
|
if (Ue) {
|
|
2623
|
-
var ft =
|
|
2625
|
+
var ft = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2624
2626
|
Ge = function(t, r) {
|
|
2625
2627
|
var n;
|
|
2626
2628
|
ft.lastIndex = r;
|
|
@@ -2630,8 +2632,8 @@ if (Ue) {
|
|
|
2630
2632
|
} else
|
|
2631
2633
|
Ge = function(t, r) {
|
|
2632
2634
|
for (var n = []; ; ) {
|
|
2633
|
-
var i =
|
|
2634
|
-
if (i === void 0 ||
|
|
2635
|
+
var i = jt(t, r);
|
|
2636
|
+
if (i === void 0 || Vt(i) || Sn(i))
|
|
2635
2637
|
break;
|
|
2636
2638
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2637
2639
|
}
|
|
@@ -2832,25 +2834,25 @@ var Hn = (
|
|
|
2832
2834
|
var a = null;
|
|
2833
2835
|
if (this.bumpIf(",")) {
|
|
2834
2836
|
this.bumpSpace();
|
|
2835
|
-
var l = this.clonePosition(),
|
|
2836
|
-
if (
|
|
2837
|
-
return
|
|
2838
|
-
var
|
|
2839
|
-
if (
|
|
2837
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2838
|
+
if (c.err)
|
|
2839
|
+
return c;
|
|
2840
|
+
var f = Cn(c.val);
|
|
2841
|
+
if (f.length === 0)
|
|
2840
2842
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2841
|
-
var
|
|
2842
|
-
a = { style:
|
|
2843
|
+
var d = _(l, this.clonePosition());
|
|
2844
|
+
a = { style: f, styleLocation: d };
|
|
2843
2845
|
}
|
|
2844
|
-
var
|
|
2845
|
-
if (
|
|
2846
|
-
return
|
|
2846
|
+
var p = this.tryParseArgumentClose(i);
|
|
2847
|
+
if (p.err)
|
|
2848
|
+
return p;
|
|
2847
2849
|
var g = _(i, this.clonePosition());
|
|
2848
|
-
if (a &&
|
|
2850
|
+
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2849
2851
|
var E = Tn(a.style.slice(2));
|
|
2850
2852
|
if (u === "number") {
|
|
2851
|
-
var
|
|
2852
|
-
return
|
|
2853
|
-
val: { type: T.number, value: n, location: g, style:
|
|
2853
|
+
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2854
|
+
return c.err ? c : {
|
|
2855
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2854
2856
|
err: null
|
|
2855
2857
|
};
|
|
2856
2858
|
} else {
|
|
@@ -2858,14 +2860,14 @@ var Hn = (
|
|
|
2858
2860
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2859
2861
|
var m = E;
|
|
2860
2862
|
this.locale && (m = ln(E, this.locale));
|
|
2861
|
-
var
|
|
2863
|
+
var f = {
|
|
2862
2864
|
type: q.dateTime,
|
|
2863
2865
|
pattern: m,
|
|
2864
2866
|
location: a.styleLocation,
|
|
2865
2867
|
parsedOptions: this.shouldParseSkeletons ? rn(m) : {}
|
|
2866
2868
|
}, C = u === "date" ? T.date : T.time;
|
|
2867
2869
|
return {
|
|
2868
|
-
val: { type: C, value: n, location: g, style:
|
|
2870
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2869
2871
|
err: null
|
|
2870
2872
|
};
|
|
2871
2873
|
}
|
|
@@ -2887,28 +2889,28 @@ var Hn = (
|
|
|
2887
2889
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2888
2890
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
|
|
2889
2891
|
this.bumpSpace();
|
|
2890
|
-
var
|
|
2891
|
-
if (u !== "select" &&
|
|
2892
|
+
var w = this.parseIdentifierIfPossible(), B = 0;
|
|
2893
|
+
if (u !== "select" && w.value === "offset") {
|
|
2892
2894
|
if (!this.bumpIf(":"))
|
|
2893
2895
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2894
2896
|
this.bumpSpace();
|
|
2895
|
-
var
|
|
2896
|
-
if (
|
|
2897
|
-
return
|
|
2898
|
-
this.bumpSpace(),
|
|
2897
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2898
|
+
if (c.err)
|
|
2899
|
+
return c;
|
|
2900
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), B = c.val;
|
|
2899
2901
|
}
|
|
2900
|
-
var H = this.tryParsePluralOrSelectOptions(t, u, r,
|
|
2902
|
+
var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
|
|
2901
2903
|
if (H.err)
|
|
2902
2904
|
return H;
|
|
2903
|
-
var
|
|
2904
|
-
if (
|
|
2905
|
-
return
|
|
2905
|
+
var p = this.tryParseArgumentClose(i);
|
|
2906
|
+
if (p.err)
|
|
2907
|
+
return p;
|
|
2906
2908
|
var P = _(i, this.clonePosition());
|
|
2907
2909
|
return u === "select" ? {
|
|
2908
2910
|
val: {
|
|
2909
2911
|
type: T.select,
|
|
2910
2912
|
value: n,
|
|
2911
|
-
options:
|
|
2913
|
+
options: lt(H.val),
|
|
2912
2914
|
location: P
|
|
2913
2915
|
},
|
|
2914
2916
|
err: null
|
|
@@ -2916,7 +2918,7 @@ var Hn = (
|
|
|
2916
2918
|
val: {
|
|
2917
2919
|
type: T.plural,
|
|
2918
2920
|
value: n,
|
|
2919
|
-
options:
|
|
2921
|
+
options: lt(H.val),
|
|
2920
2922
|
offset: B,
|
|
2921
2923
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2922
2924
|
location: P
|
|
@@ -2983,32 +2985,32 @@ var Hn = (
|
|
|
2983
2985
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2984
2986
|
for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
|
|
2985
2987
|
if (a.length === 0) {
|
|
2986
|
-
var
|
|
2988
|
+
var c = this.clonePosition();
|
|
2987
2989
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2988
|
-
var
|
|
2989
|
-
if (
|
|
2990
|
-
return
|
|
2991
|
-
l = _(
|
|
2990
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2991
|
+
if (f.err)
|
|
2992
|
+
return f;
|
|
2993
|
+
l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2992
2994
|
} else
|
|
2993
2995
|
break;
|
|
2994
2996
|
}
|
|
2995
2997
|
if (h.has(a))
|
|
2996
2998
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2997
2999
|
a === "other" && (o = !0), this.bumpSpace();
|
|
2998
|
-
var
|
|
3000
|
+
var d = this.clonePosition();
|
|
2999
3001
|
if (!this.bumpIf("{"))
|
|
3000
3002
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3001
|
-
var
|
|
3002
|
-
if (
|
|
3003
|
-
return
|
|
3004
|
-
var g = this.tryParseArgumentClose(
|
|
3003
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3004
|
+
if (p.err)
|
|
3005
|
+
return p;
|
|
3006
|
+
var g = this.tryParseArgumentClose(d);
|
|
3005
3007
|
if (g.err)
|
|
3006
3008
|
return g;
|
|
3007
3009
|
u.push([
|
|
3008
3010
|
a,
|
|
3009
3011
|
{
|
|
3010
|
-
value:
|
|
3011
|
-
location: _(
|
|
3012
|
+
value: p.val,
|
|
3013
|
+
location: _(d, this.clonePosition())
|
|
3012
3014
|
}
|
|
3013
3015
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3014
3016
|
}
|
|
@@ -3039,7 +3041,7 @@ var Hn = (
|
|
|
3039
3041
|
var t = this.position.offset;
|
|
3040
3042
|
if (t >= this.message.length)
|
|
3041
3043
|
throw Error("out of bound");
|
|
3042
|
-
var r =
|
|
3044
|
+
var r = jt(this.message, t);
|
|
3043
3045
|
if (r === void 0)
|
|
3044
3046
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3045
3047
|
return r;
|
|
@@ -3058,7 +3060,7 @@ var Hn = (
|
|
|
3058
3060
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3059
3061
|
}
|
|
3060
3062
|
}, e.prototype.bumpIf = function(t) {
|
|
3061
|
-
if (
|
|
3063
|
+
if (ht(this.message, t, this.offset())) {
|
|
3062
3064
|
for (var r = 0; r < t.length; r++)
|
|
3063
3065
|
this.bump();
|
|
3064
3066
|
return !0;
|
|
@@ -3080,7 +3082,7 @@ var Hn = (
|
|
|
3080
3082
|
break;
|
|
3081
3083
|
}
|
|
3082
3084
|
}, e.prototype.bumpSpace = function() {
|
|
3083
|
-
for (; !this.isEOF() &&
|
|
3085
|
+
for (; !this.isEOF() && Vt(this.char()); )
|
|
3084
3086
|
this.bump();
|
|
3085
3087
|
}, e.prototype.peek = function() {
|
|
3086
3088
|
if (this.isEOF())
|
|
@@ -3099,7 +3101,7 @@ function An(e) {
|
|
|
3099
3101
|
function Bn(e) {
|
|
3100
3102
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3101
3103
|
}
|
|
3102
|
-
function
|
|
3104
|
+
function Vt(e) {
|
|
3103
3105
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3104
3106
|
}
|
|
3105
3107
|
function Sn(e) {
|
|
@@ -3107,14 +3109,14 @@ function Sn(e) {
|
|
|
3107
3109
|
}
|
|
3108
3110
|
function je(e) {
|
|
3109
3111
|
e.forEach(function(t) {
|
|
3110
|
-
if (delete t.location,
|
|
3112
|
+
if (delete t.location, It(t) || Mt(t))
|
|
3111
3113
|
for (var r in t.options)
|
|
3112
3114
|
delete t.options[r].location, je(t.options[r].value);
|
|
3113
3115
|
else
|
|
3114
|
-
|
|
3116
|
+
Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && Re(t.style) ? delete t.style.location : $t(t) && je(t.children);
|
|
3115
3117
|
});
|
|
3116
3118
|
}
|
|
3117
|
-
function
|
|
3119
|
+
function On(e, t) {
|
|
3118
3120
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3119
3121
|
var r = new Hn(e, t).parse();
|
|
3120
3122
|
if (r.err) {
|
|
@@ -3139,7 +3141,7 @@ var ve = (
|
|
|
3139
3141
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3140
3142
|
}, t;
|
|
3141
3143
|
}(Error)
|
|
3142
|
-
),
|
|
3144
|
+
), ct = (
|
|
3143
3145
|
/** @class */
|
|
3144
3146
|
function(e) {
|
|
3145
3147
|
Ee(t, e);
|
|
@@ -3148,7 +3150,7 @@ var ve = (
|
|
|
3148
3150
|
}
|
|
3149
3151
|
return t;
|
|
3150
3152
|
}(ve)
|
|
3151
|
-
),
|
|
3153
|
+
), wn = (
|
|
3152
3154
|
/** @class */
|
|
3153
3155
|
function(e) {
|
|
3154
3156
|
Ee(t, e);
|
|
@@ -3166,112 +3168,112 @@ var ve = (
|
|
|
3166
3168
|
}
|
|
3167
3169
|
return t;
|
|
3168
3170
|
}(ve)
|
|
3169
|
-
),
|
|
3171
|
+
), O;
|
|
3170
3172
|
(function(e) {
|
|
3171
3173
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3172
|
-
})(
|
|
3174
|
+
})(O || (O = {}));
|
|
3173
3175
|
function Nn(e) {
|
|
3174
3176
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3175
3177
|
var n = t[t.length - 1];
|
|
3176
|
-
return !n || n.type !==
|
|
3178
|
+
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3177
3179
|
}, []);
|
|
3178
3180
|
}
|
|
3179
3181
|
function Ln(e) {
|
|
3180
3182
|
return typeof e == "function";
|
|
3181
3183
|
}
|
|
3182
|
-
function
|
|
3183
|
-
if (e.length === 1 &&
|
|
3184
|
+
function de(e, t, r, n, i, s, o) {
|
|
3185
|
+
if (e.length === 1 && st(e[0]))
|
|
3184
3186
|
return [
|
|
3185
3187
|
{
|
|
3186
|
-
type:
|
|
3188
|
+
type: O.literal,
|
|
3187
3189
|
value: e[0].value
|
|
3188
3190
|
}
|
|
3189
3191
|
];
|
|
3190
3192
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3191
3193
|
var l = a[h];
|
|
3192
|
-
if (
|
|
3194
|
+
if (st(l)) {
|
|
3193
3195
|
u.push({
|
|
3194
|
-
type:
|
|
3196
|
+
type: O.literal,
|
|
3195
3197
|
value: l.value
|
|
3196
3198
|
});
|
|
3197
3199
|
continue;
|
|
3198
3200
|
}
|
|
3199
3201
|
if (en(l)) {
|
|
3200
3202
|
typeof s == "number" && u.push({
|
|
3201
|
-
type:
|
|
3203
|
+
type: O.literal,
|
|
3202
3204
|
value: r.getNumberFormat(t).format(s)
|
|
3203
3205
|
});
|
|
3204
3206
|
continue;
|
|
3205
3207
|
}
|
|
3206
|
-
var
|
|
3207
|
-
if (!(i &&
|
|
3208
|
-
throw new Pn(
|
|
3209
|
-
var
|
|
3208
|
+
var c = l.value;
|
|
3209
|
+
if (!(i && c in i))
|
|
3210
|
+
throw new Pn(c, o);
|
|
3211
|
+
var f = i[c];
|
|
3210
3212
|
if (Kr(l)) {
|
|
3211
|
-
(!
|
|
3212
|
-
type: typeof
|
|
3213
|
-
value:
|
|
3213
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3214
|
+
type: typeof f == "string" ? O.literal : O.object,
|
|
3215
|
+
value: f
|
|
3214
3216
|
});
|
|
3215
3217
|
continue;
|
|
3216
3218
|
}
|
|
3217
|
-
if (
|
|
3218
|
-
var
|
|
3219
|
+
if (Nt(l)) {
|
|
3220
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3219
3221
|
u.push({
|
|
3220
|
-
type:
|
|
3221
|
-
value: r.getDateTimeFormat(t,
|
|
3222
|
+
type: O.literal,
|
|
3223
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3222
3224
|
});
|
|
3223
3225
|
continue;
|
|
3224
3226
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var
|
|
3227
|
+
if (Lt(l)) {
|
|
3228
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3227
3229
|
u.push({
|
|
3228
|
-
type:
|
|
3229
|
-
value: r.getDateTimeFormat(t,
|
|
3230
|
+
type: O.literal,
|
|
3231
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3230
3232
|
});
|
|
3231
3233
|
continue;
|
|
3232
3234
|
}
|
|
3233
|
-
if (
|
|
3234
|
-
var
|
|
3235
|
-
|
|
3236
|
-
type:
|
|
3237
|
-
value: r.getNumberFormat(t,
|
|
3235
|
+
if (Pt(l)) {
|
|
3236
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
|
|
3237
|
+
d && d.scale && (f = f * (d.scale || 1)), u.push({
|
|
3238
|
+
type: O.literal,
|
|
3239
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3238
3240
|
});
|
|
3239
3241
|
continue;
|
|
3240
3242
|
}
|
|
3241
|
-
if (
|
|
3242
|
-
var
|
|
3243
|
+
if ($t(l)) {
|
|
3244
|
+
var p = l.children, g = l.value, E = i[g];
|
|
3243
3245
|
if (!Ln(E))
|
|
3244
|
-
throw new
|
|
3245
|
-
var m =
|
|
3246
|
+
throw new wn(g, "function", o);
|
|
3247
|
+
var m = de(p, t, r, n, i, s), C = E(m.map(function(B) {
|
|
3246
3248
|
return B.value;
|
|
3247
3249
|
}));
|
|
3248
3250
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
3249
3251
|
return {
|
|
3250
|
-
type: typeof B == "string" ?
|
|
3252
|
+
type: typeof B == "string" ? O.literal : O.object,
|
|
3251
3253
|
value: B
|
|
3252
3254
|
};
|
|
3253
3255
|
}));
|
|
3254
3256
|
}
|
|
3255
|
-
if (
|
|
3256
|
-
var A = l.options[
|
|
3257
|
+
if (It(l)) {
|
|
3258
|
+
var A = l.options[f] || l.options.other;
|
|
3257
3259
|
if (!A)
|
|
3258
|
-
throw new
|
|
3259
|
-
u.push.apply(u,
|
|
3260
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3261
|
+
u.push.apply(u, de(A.value, t, r, n, i));
|
|
3260
3262
|
continue;
|
|
3261
3263
|
}
|
|
3262
|
-
if (
|
|
3263
|
-
var A = l.options["=".concat(
|
|
3264
|
+
if (Mt(l)) {
|
|
3265
|
+
var A = l.options["=".concat(f)];
|
|
3264
3266
|
if (!A) {
|
|
3265
3267
|
if (!Intl.PluralRules)
|
|
3266
3268
|
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3267
3269
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3268
3270
|
`, J.MISSING_INTL_API, o);
|
|
3269
|
-
var
|
|
3270
|
-
A = l.options[
|
|
3271
|
+
var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3272
|
+
A = l.options[w] || l.options.other;
|
|
3271
3273
|
}
|
|
3272
3274
|
if (!A)
|
|
3273
|
-
throw new
|
|
3274
|
-
u.push.apply(u,
|
|
3275
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3276
|
+
u.push.apply(u, de(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3275
3277
|
continue;
|
|
3276
3278
|
}
|
|
3277
3279
|
}
|
|
@@ -3313,7 +3315,7 @@ function $n(e) {
|
|
|
3313
3315
|
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3314
3316
|
}, {
|
|
3315
3317
|
cache: Pe(e.number),
|
|
3316
|
-
strategy:
|
|
3318
|
+
strategy: Oe.variadic
|
|
3317
3319
|
}),
|
|
3318
3320
|
getDateTimeFormat: Se(function() {
|
|
3319
3321
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
@@ -3321,7 +3323,7 @@ function $n(e) {
|
|
|
3321
3323
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3322
3324
|
}, {
|
|
3323
3325
|
cache: Pe(e.dateTime),
|
|
3324
|
-
strategy:
|
|
3326
|
+
strategy: Oe.variadic
|
|
3325
3327
|
}),
|
|
3326
3328
|
getPluralRules: Se(function() {
|
|
3327
3329
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
@@ -3329,7 +3331,7 @@ function $n(e) {
|
|
|
3329
3331
|
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
3330
3332
|
}, {
|
|
3331
3333
|
cache: Pe(e.pluralRules),
|
|
3332
|
-
strategy:
|
|
3334
|
+
strategy: Oe.variadic
|
|
3333
3335
|
})
|
|
3334
3336
|
};
|
|
3335
3337
|
}
|
|
@@ -3347,12 +3349,12 @@ var Rn = (
|
|
|
3347
3349
|
var a = s.formatToParts(h);
|
|
3348
3350
|
if (a.length === 1)
|
|
3349
3351
|
return a[0].value;
|
|
3350
|
-
var l = a.reduce(function(
|
|
3351
|
-
return !
|
|
3352
|
+
var l = a.reduce(function(c, f) {
|
|
3353
|
+
return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3352
3354
|
}, []);
|
|
3353
3355
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3354
3356
|
}, this.formatToParts = function(h) {
|
|
3355
|
-
return
|
|
3357
|
+
return de(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3356
3358
|
}, this.resolvedOptions = function() {
|
|
3357
3359
|
var h;
|
|
3358
3360
|
return {
|
|
@@ -3365,7 +3367,7 @@ var Rn = (
|
|
|
3365
3367
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3366
3368
|
var o = i || {};
|
|
3367
3369
|
o.formatters;
|
|
3368
|
-
var u =
|
|
3370
|
+
var u = Xr(o, ["formatters"]);
|
|
3369
3371
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3370
3372
|
} else
|
|
3371
3373
|
this.ast = t;
|
|
@@ -3384,7 +3386,7 @@ var Rn = (
|
|
|
3384
3386
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3385
3387
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3386
3388
|
}
|
|
3387
|
-
}, e.__parse =
|
|
3389
|
+
}, e.__parse = On, e.formats = {
|
|
3388
3390
|
number: {
|
|
3389
3391
|
integer: {
|
|
3390
3392
|
maximumFractionDigits: 0
|
|
@@ -3466,7 +3468,7 @@ function Un(e, t) {
|
|
|
3466
3468
|
n = void 0;
|
|
3467
3469
|
return n;
|
|
3468
3470
|
}
|
|
3469
|
-
const G = {}, Dn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r),
|
|
3471
|
+
const G = {}, Dn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Xt = (e, t) => {
|
|
3470
3472
|
if (t == null)
|
|
3471
3473
|
return;
|
|
3472
3474
|
if (t in G && e in G[t])
|
|
@@ -3478,16 +3480,16 @@ const G = {}, Dn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][
|
|
|
3478
3480
|
return Dn(e, t, s);
|
|
3479
3481
|
}
|
|
3480
3482
|
};
|
|
3481
|
-
let
|
|
3483
|
+
let We;
|
|
3482
3484
|
const he = xe({});
|
|
3483
3485
|
function Gn(e) {
|
|
3484
|
-
return
|
|
3486
|
+
return We[e] || null;
|
|
3485
3487
|
}
|
|
3486
|
-
function
|
|
3487
|
-
return e in
|
|
3488
|
+
function zt(e) {
|
|
3489
|
+
return e in We;
|
|
3488
3490
|
}
|
|
3489
3491
|
function Fn(e, t) {
|
|
3490
|
-
if (!
|
|
3492
|
+
if (!zt(e))
|
|
3491
3493
|
return null;
|
|
3492
3494
|
const r = Gn(e);
|
|
3493
3495
|
return Un(r, t);
|
|
@@ -3498,28 +3500,28 @@ function jn(e) {
|
|
|
3498
3500
|
const t = Te(e);
|
|
3499
3501
|
for (let r = 0; r < t.length; r++) {
|
|
3500
3502
|
const n = t[r];
|
|
3501
|
-
if (
|
|
3503
|
+
if (zt(n))
|
|
3502
3504
|
return n;
|
|
3503
3505
|
}
|
|
3504
3506
|
}
|
|
3505
|
-
function
|
|
3506
|
-
delete G[e], he.update((r) => (r[e] =
|
|
3507
|
+
function Wt(e, ...t) {
|
|
3508
|
+
delete G[e], he.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
|
|
3507
3509
|
}
|
|
3508
3510
|
ee(
|
|
3509
3511
|
[he],
|
|
3510
3512
|
([e]) => Object.keys(e)
|
|
3511
3513
|
);
|
|
3512
|
-
he.subscribe((e) =>
|
|
3513
|
-
const
|
|
3514
|
+
he.subscribe((e) => We = e);
|
|
3515
|
+
const pe = {};
|
|
3514
3516
|
function kn(e, t) {
|
|
3515
|
-
|
|
3517
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3516
3518
|
}
|
|
3517
|
-
function
|
|
3518
|
-
return
|
|
3519
|
+
function Zt(e) {
|
|
3520
|
+
return pe[e];
|
|
3519
3521
|
}
|
|
3520
3522
|
function Vn(e) {
|
|
3521
3523
|
return Te(e).map((t) => {
|
|
3522
|
-
const r =
|
|
3524
|
+
const r = Zt(t);
|
|
3523
3525
|
return [t, r ? [...r] : []];
|
|
3524
3526
|
}).filter(([, t]) => t.length > 0);
|
|
3525
3527
|
}
|
|
@@ -3527,17 +3529,17 @@ function ke(e) {
|
|
|
3527
3529
|
return e == null ? !1 : Te(e).some(
|
|
3528
3530
|
(t) => {
|
|
3529
3531
|
var r;
|
|
3530
|
-
return (r =
|
|
3532
|
+
return (r = Zt(t)) == null ? void 0 : r.size;
|
|
3531
3533
|
}
|
|
3532
3534
|
);
|
|
3533
3535
|
}
|
|
3534
3536
|
function Xn(e, t) {
|
|
3535
3537
|
return Promise.all(
|
|
3536
3538
|
t.map((n) => (kn(e, n), n().then((i) => i.default || i)))
|
|
3537
|
-
).then((n) =>
|
|
3539
|
+
).then((n) => Wt(e, ...n));
|
|
3538
3540
|
}
|
|
3539
3541
|
const ne = {};
|
|
3540
|
-
function
|
|
3542
|
+
function Qt(e) {
|
|
3541
3543
|
if (!ke(e))
|
|
3542
3544
|
return e in ne ? ne[e] : Promise.resolve();
|
|
3543
3545
|
const t = Vn(e);
|
|
@@ -3547,7 +3549,7 @@ function qt(e) {
|
|
|
3547
3549
|
)
|
|
3548
3550
|
).then(() => {
|
|
3549
3551
|
if (ke(e))
|
|
3550
|
-
return
|
|
3552
|
+
return Qt(e);
|
|
3551
3553
|
delete ne[e];
|
|
3552
3554
|
}), ne[e];
|
|
3553
3555
|
}
|
|
@@ -3592,12 +3594,12 @@ function Y() {
|
|
|
3592
3594
|
return Zn;
|
|
3593
3595
|
}
|
|
3594
3596
|
const Ne = xe(!1);
|
|
3595
|
-
var Qn = Object.defineProperty, qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors,
|
|
3596
|
-
for (var r in t
|
|
3597
|
-
Yn.call(t, r) &&
|
|
3598
|
-
if (
|
|
3599
|
-
for (var r of
|
|
3600
|
-
Kn.call(t, r) &&
|
|
3597
|
+
var Qn = Object.defineProperty, qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ei = (e, t) => {
|
|
3598
|
+
for (var r in t)
|
|
3599
|
+
Yn.call(t, r) && mt(e, r, t[r]);
|
|
3600
|
+
if (gt)
|
|
3601
|
+
for (var r of gt(t))
|
|
3602
|
+
Kn.call(t, r) && mt(e, r, t[r]);
|
|
3601
3603
|
return e;
|
|
3602
3604
|
}, ti = (e, t) => qn(e, Jn(t));
|
|
3603
3605
|
let Ve;
|
|
@@ -3622,7 +3624,7 @@ const ri = (e) => {
|
|
|
3622
3624
|
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3623
3625
|
() => Ne.set(!0),
|
|
3624
3626
|
t
|
|
3625
|
-
) : Ne.set(!0),
|
|
3627
|
+
) : Ne.set(!0), Qt(e).then(() => {
|
|
3626
3628
|
ye.set(e);
|
|
3627
3629
|
}).finally(() => {
|
|
3628
3630
|
clearTimeout(r), Ne.set(!1);
|
|
@@ -3638,20 +3640,20 @@ const ri = (e) => {
|
|
|
3638
3640
|
return i in t ? t[i] : t[i] = e(n);
|
|
3639
3641
|
};
|
|
3640
3642
|
};
|
|
3641
|
-
var ni = Object.defineProperty, _e = Object.getOwnPropertySymbols,
|
|
3643
|
+
var ni = Object.defineProperty, _e = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
3642
3644
|
for (var r in t || (t = {}))
|
|
3643
|
-
|
|
3645
|
+
qt.call(t, r) && pt(e, r, t[r]);
|
|
3644
3646
|
if (_e)
|
|
3645
3647
|
for (var r of _e(t))
|
|
3646
|
-
|
|
3648
|
+
Jt.call(t, r) && pt(e, r, t[r]);
|
|
3647
3649
|
return e;
|
|
3648
3650
|
}, re = (e, t) => {
|
|
3649
3651
|
var r = {};
|
|
3650
3652
|
for (var n in e)
|
|
3651
|
-
|
|
3653
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3652
3654
|
if (e != null && _e)
|
|
3653
3655
|
for (var n of _e(e))
|
|
3654
|
-
t.indexOf(n) < 0 &&
|
|
3656
|
+
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
3655
3657
|
return r;
|
|
3656
3658
|
};
|
|
3657
3659
|
const ae = (e, t) => {
|
|
@@ -3688,27 +3690,27 @@ const ae = (e, t) => {
|
|
|
3688
3690
|
} = t, n = re(t, [
|
|
3689
3691
|
"locale"
|
|
3690
3692
|
]);
|
|
3691
|
-
return ii(
|
|
3693
|
+
return ii(Ze({ locale: r }, n));
|
|
3692
3694
|
}, ui = (e = {}) => {
|
|
3693
3695
|
var t = e, {
|
|
3694
3696
|
locale: r = V()
|
|
3695
3697
|
} = t, n = re(t, [
|
|
3696
3698
|
"locale"
|
|
3697
3699
|
]);
|
|
3698
|
-
return si(
|
|
3700
|
+
return si(Ze({ locale: r }, n));
|
|
3699
3701
|
}, hi = (e = {}) => {
|
|
3700
3702
|
var t = e, {
|
|
3701
3703
|
locale: r = V()
|
|
3702
3704
|
} = t, n = re(t, [
|
|
3703
3705
|
"locale"
|
|
3704
3706
|
]);
|
|
3705
|
-
return oi(
|
|
3707
|
+
return oi(Ze({ locale: r }, n));
|
|
3706
3708
|
}, li = Ce(
|
|
3707
3709
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3708
3710
|
(e, t = V()) => new Rn(e, t, Y().formats, {
|
|
3709
3711
|
ignoreTag: Y().ignoreTag
|
|
3710
3712
|
})
|
|
3711
|
-
),
|
|
3713
|
+
), fi = (e, t = {}) => {
|
|
3712
3714
|
var r, n, i, s;
|
|
3713
3715
|
let o = t;
|
|
3714
3716
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3721,7 +3723,7 @@ const ae = (e, t) => {
|
|
|
3721
3723
|
throw new Error(
|
|
3722
3724
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3723
3725
|
);
|
|
3724
|
-
let l =
|
|
3726
|
+
let l = Xt(e, h);
|
|
3725
3727
|
if (!l)
|
|
3726
3728
|
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3727
3729
|
else if (typeof l != "string")
|
|
@@ -3730,21 +3732,21 @@ const ae = (e, t) => {
|
|
|
3730
3732
|
), l;
|
|
3731
3733
|
if (!u)
|
|
3732
3734
|
return l;
|
|
3733
|
-
let
|
|
3735
|
+
let c = l;
|
|
3734
3736
|
try {
|
|
3735
|
-
|
|
3736
|
-
} catch (
|
|
3737
|
-
|
|
3737
|
+
c = li(l, h).format(u);
|
|
3738
|
+
} catch (f) {
|
|
3739
|
+
f instanceof Error && console.warn(
|
|
3738
3740
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3739
|
-
|
|
3741
|
+
f.message
|
|
3740
3742
|
);
|
|
3741
3743
|
}
|
|
3742
|
-
return
|
|
3743
|
-
},
|
|
3744
|
-
ee([te], () =>
|
|
3744
|
+
return c;
|
|
3745
|
+
}, ci = (e, t) => hi(t).format(e), gi = (e, t) => ui(t).format(e), mi = (e, t) => ai(t).format(e), di = (e, t = V()) => Xt(e, t), pi = ee([te, he], () => fi);
|
|
3746
|
+
ee([te], () => ci);
|
|
3745
3747
|
ee([te], () => gi);
|
|
3746
3748
|
ee([te], () => mi);
|
|
3747
|
-
ee([te, he], () =>
|
|
3749
|
+
ee([te, he], () => di);
|
|
3748
3750
|
function bi(e, t) {
|
|
3749
3751
|
if (e) {
|
|
3750
3752
|
const r = document.createElement("style");
|
|
@@ -3768,13 +3770,13 @@ function _i(e, t, r) {
|
|
|
3768
3770
|
});
|
|
3769
3771
|
}
|
|
3770
3772
|
}
|
|
3771
|
-
function
|
|
3772
|
-
|
|
3773
|
+
function bt(e, t) {
|
|
3774
|
+
Wt(e, t);
|
|
3773
3775
|
}
|
|
3774
3776
|
function xi(e) {
|
|
3775
3777
|
te.set(e);
|
|
3776
3778
|
}
|
|
3777
|
-
const
|
|
3779
|
+
const yt = {
|
|
3778
3780
|
en: {
|
|
3779
3781
|
topCategories: "Top Categories",
|
|
3780
3782
|
otherCategories: "Other Categories",
|
|
@@ -3885,13 +3887,13 @@ const _t = {
|
|
|
3885
3887
|
}
|
|
3886
3888
|
};
|
|
3887
3889
|
function Ei(e) {
|
|
3888
|
-
|
|
3890
|
+
ur(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3889
3891
|
}
|
|
3890
|
-
function
|
|
3892
|
+
function _t(e, t, r) {
|
|
3891
3893
|
const n = e.slice();
|
|
3892
3894
|
return n[23] = t[r], n;
|
|
3893
3895
|
}
|
|
3894
|
-
function
|
|
3896
|
+
function xt(e, t, r) {
|
|
3895
3897
|
const n = e.slice();
|
|
3896
3898
|
return n[23] = t[r], n;
|
|
3897
3899
|
}
|
|
@@ -3902,74 +3904,74 @@ function vi(e) {
|
|
|
3902
3904
|
), i, s, o, u, h = (
|
|
3903
3905
|
/*$_*/
|
|
3904
3906
|
e[5]("otherCategories") + ""
|
|
3905
|
-
), a, l,
|
|
3907
|
+
), a, l, c = ce(
|
|
3906
3908
|
/*topCategories*/
|
|
3907
3909
|
e[3]
|
|
3908
|
-
),
|
|
3909
|
-
for (let g = 0; g <
|
|
3910
|
-
|
|
3911
|
-
let
|
|
3910
|
+
), f = [];
|
|
3911
|
+
for (let g = 0; g < c.length; g += 1)
|
|
3912
|
+
f[g] = Et(xt(e, c, g));
|
|
3913
|
+
let d = ce(
|
|
3912
3914
|
/*otherCategories*/
|
|
3913
3915
|
e[4]
|
|
3914
|
-
),
|
|
3915
|
-
for (let g = 0; g <
|
|
3916
|
-
|
|
3916
|
+
), p = [];
|
|
3917
|
+
for (let g = 0; g < d.length; g += 1)
|
|
3918
|
+
p[g] = vt(_t(e, d, g));
|
|
3917
3919
|
return {
|
|
3918
3920
|
c() {
|
|
3919
3921
|
t = S("div"), r = S("h4"), i = D(n), s = U();
|
|
3920
|
-
for (let g = 0; g <
|
|
3921
|
-
|
|
3922
|
+
for (let g = 0; g < f.length; g += 1)
|
|
3923
|
+
f[g].c();
|
|
3922
3924
|
o = U(), u = S("h4"), a = D(h), l = U();
|
|
3923
|
-
for (let g = 0; g <
|
|
3924
|
-
|
|
3925
|
+
for (let g = 0; g < p.length; g += 1)
|
|
3926
|
+
p[g].c();
|
|
3925
3927
|
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
3926
3928
|
},
|
|
3927
3929
|
m(g, E) {
|
|
3928
3930
|
K(g, t, E), v(t, r), v(r, i), v(t, s);
|
|
3929
|
-
for (let m = 0; m <
|
|
3930
|
-
|
|
3931
|
+
for (let m = 0; m < f.length; m += 1)
|
|
3932
|
+
f[m] && f[m].m(t, null);
|
|
3931
3933
|
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
3932
|
-
for (let m = 0; m <
|
|
3933
|
-
|
|
3934
|
+
for (let m = 0; m < p.length; m += 1)
|
|
3935
|
+
p[m] && p[m].m(t, null);
|
|
3934
3936
|
},
|
|
3935
3937
|
p(g, E) {
|
|
3936
3938
|
if (E & /*$_*/
|
|
3937
3939
|
32 && n !== (n = /*$_*/
|
|
3938
3940
|
g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3939
3941
|
105) {
|
|
3940
|
-
|
|
3942
|
+
c = ce(
|
|
3941
3943
|
/*topCategories*/
|
|
3942
3944
|
g[3]
|
|
3943
3945
|
);
|
|
3944
3946
|
let m;
|
|
3945
|
-
for (m = 0; m <
|
|
3946
|
-
const C =
|
|
3947
|
-
|
|
3947
|
+
for (m = 0; m < c.length; m += 1) {
|
|
3948
|
+
const C = xt(g, c, m);
|
|
3949
|
+
f[m] ? f[m].p(C, E) : (f[m] = Et(C), f[m].c(), f[m].m(t, o));
|
|
3948
3950
|
}
|
|
3949
|
-
for (; m <
|
|
3950
|
-
|
|
3951
|
-
|
|
3951
|
+
for (; m < f.length; m += 1)
|
|
3952
|
+
f[m].d(1);
|
|
3953
|
+
f.length = c.length;
|
|
3952
3954
|
}
|
|
3953
3955
|
if (E & /*$_*/
|
|
3954
3956
|
32 && h !== (h = /*$_*/
|
|
3955
3957
|
g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3956
3958
|
113) {
|
|
3957
|
-
|
|
3959
|
+
d = ce(
|
|
3958
3960
|
/*otherCategories*/
|
|
3959
3961
|
g[4]
|
|
3960
3962
|
);
|
|
3961
3963
|
let m;
|
|
3962
|
-
for (m = 0; m <
|
|
3963
|
-
const C =
|
|
3964
|
-
|
|
3964
|
+
for (m = 0; m < d.length; m += 1) {
|
|
3965
|
+
const C = _t(g, d, m);
|
|
3966
|
+
p[m] ? p[m].p(C, E) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
|
|
3965
3967
|
}
|
|
3966
|
-
for (; m <
|
|
3967
|
-
|
|
3968
|
-
|
|
3968
|
+
for (; m < p.length; m += 1)
|
|
3969
|
+
p[m].d(1);
|
|
3970
|
+
p.length = d.length;
|
|
3969
3971
|
}
|
|
3970
3972
|
},
|
|
3971
3973
|
d(g) {
|
|
3972
|
-
g && k(t),
|
|
3974
|
+
g && k(t), rt(f, g), rt(p, g);
|
|
3973
3975
|
}
|
|
3974
3976
|
};
|
|
3975
3977
|
}
|
|
@@ -3988,18 +3990,18 @@ function Ti(e) {
|
|
|
3988
3990
|
}
|
|
3989
3991
|
};
|
|
3990
3992
|
}
|
|
3991
|
-
function
|
|
3993
|
+
function Et(e) {
|
|
3992
3994
|
let t, r, n, i, s, o, u, h = (
|
|
3993
3995
|
/*category*/
|
|
3994
3996
|
e[23].name + ""
|
|
3995
|
-
), a, l,
|
|
3997
|
+
), a, l, c, f = (
|
|
3996
3998
|
/*category*/
|
|
3997
3999
|
e[23].games.count + ""
|
|
3998
|
-
),
|
|
4000
|
+
), d, p, g = (
|
|
3999
4001
|
/*$_*/
|
|
4000
4002
|
e[5]("games") + ""
|
|
4001
4003
|
), E, m, C, A;
|
|
4002
|
-
function
|
|
4004
|
+
function w() {
|
|
4003
4005
|
return (
|
|
4004
4006
|
/*click_handler*/
|
|
4005
4007
|
e[15](
|
|
@@ -4010,14 +4012,14 @@ function vt(e) {
|
|
|
4010
4012
|
}
|
|
4011
4013
|
return {
|
|
4012
4014
|
c() {
|
|
4013
|
-
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(),
|
|
4015
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(), c = S("p"), d = D(f), p = U(), E = D(g), be(r.src, n = /*category*/
|
|
4014
4016
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4015
4017
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4016
4018
|
(e[0] === /*category*/
|
|
4017
4019
|
e[23].id ? "Active" : ""));
|
|
4018
4020
|
},
|
|
4019
4021
|
m(B, H) {
|
|
4020
|
-
K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o,
|
|
4022
|
+
K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, E), C || (A = At(t, "click", w), C = !0);
|
|
4021
4023
|
},
|
|
4022
4024
|
p(B, H) {
|
|
4023
4025
|
e = B, H & /*topCategories*/
|
|
@@ -4027,8 +4029,8 @@ function vt(e) {
|
|
|
4027
4029
|
e[23].name) && R(r, "alt", i), H & /*topCategories*/
|
|
4028
4030
|
8 && h !== (h = /*category*/
|
|
4029
4031
|
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4030
|
-
8 &&
|
|
4031
|
-
e[23].games.count + "") && F(
|
|
4032
|
+
8 && f !== (f = /*category*/
|
|
4033
|
+
e[23].games.count + "") && F(d, f), H & /*$_*/
|
|
4032
4034
|
32 && g !== (g = /*$_*/
|
|
4033
4035
|
e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
|
|
4034
4036
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4040,17 +4042,17 @@ function vt(e) {
|
|
|
4040
4042
|
}
|
|
4041
4043
|
};
|
|
4042
4044
|
}
|
|
4043
|
-
function
|
|
4045
|
+
function vt(e) {
|
|
4044
4046
|
let t, r, n, i, s, o, u, h = (
|
|
4045
4047
|
/*category*/
|
|
4046
4048
|
e[23].name + ""
|
|
4047
|
-
), a, l,
|
|
4049
|
+
), a, l, c, f = (
|
|
4048
4050
|
/*category*/
|
|
4049
4051
|
e[23].games.count + ""
|
|
4050
|
-
),
|
|
4052
|
+
), d, p, g = (
|
|
4051
4053
|
/*$_*/
|
|
4052
4054
|
e[5]("games") + ""
|
|
4053
|
-
), E, m, C, A,
|
|
4055
|
+
), E, m, C, A, w;
|
|
4054
4056
|
function B() {
|
|
4055
4057
|
return (
|
|
4056
4058
|
/*click_handler_1*/
|
|
@@ -4062,14 +4064,14 @@ function Tt(e) {
|
|
|
4062
4064
|
}
|
|
4063
4065
|
return {
|
|
4064
4066
|
c() {
|
|
4065
|
-
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(),
|
|
4067
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(), c = S("p"), d = D(f), p = U(), E = D(g), m = U(), be(r.src, n = /*category*/
|
|
4066
4068
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4067
4069
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
|
|
4068
4070
|
(e[0] === /*category*/
|
|
4069
4071
|
e[23].id ? "Active" : ""));
|
|
4070
4072
|
},
|
|
4071
4073
|
m(H, P) {
|
|
4072
|
-
K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o,
|
|
4074
|
+
K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), A || (w = At(t, "click", B), A = !0);
|
|
4073
4075
|
},
|
|
4074
4076
|
p(H, P) {
|
|
4075
4077
|
e = H, P & /*otherCategories*/
|
|
@@ -4079,8 +4081,8 @@ function Tt(e) {
|
|
|
4079
4081
|
e[23].name) && R(r, "alt", i), P & /*otherCategories*/
|
|
4080
4082
|
16 && h !== (h = /*category*/
|
|
4081
4083
|
e[23].name + "") && F(a, h), P & /*otherCategories*/
|
|
4082
|
-
16 &&
|
|
4083
|
-
e[23].games.count + "") && F(
|
|
4084
|
+
16 && f !== (f = /*category*/
|
|
4085
|
+
e[23].games.count + "") && F(d, f), P & /*$_*/
|
|
4084
4086
|
32 && g !== (g = /*$_*/
|
|
4085
4087
|
e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
|
|
4086
4088
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4088,7 +4090,7 @@ function Tt(e) {
|
|
|
4088
4090
|
e[23].id ? "Active" : "")) && I(t, "class", C);
|
|
4089
4091
|
},
|
|
4090
4092
|
d(H) {
|
|
4091
|
-
H && k(t), A = !1,
|
|
4093
|
+
H && k(t), A = !1, w();
|
|
4092
4094
|
}
|
|
4093
4095
|
};
|
|
4094
4096
|
}
|
|
@@ -4120,86 +4122,86 @@ function Ci(e) {
|
|
|
4120
4122
|
}
|
|
4121
4123
|
function Hi(e, t, r) {
|
|
4122
4124
|
let n;
|
|
4123
|
-
|
|
4124
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl:
|
|
4125
|
+
ar(e, pi, (b) => r(5, n = b));
|
|
4126
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
|
|
4125
4127
|
const g = [];
|
|
4126
4128
|
let E = [], m = [];
|
|
4127
|
-
Object.keys(
|
|
4128
|
-
|
|
4129
|
+
Object.keys(yt).forEach((b) => {
|
|
4130
|
+
bt(b, yt[b]);
|
|
4129
4131
|
});
|
|
4130
4132
|
const C = () => {
|
|
4131
|
-
fetch(
|
|
4133
|
+
fetch(c).then(($) => $.json()).then(($) => {
|
|
4132
4134
|
Object.keys($).forEach((le) => {
|
|
4133
|
-
|
|
4135
|
+
bt(le, $[le]);
|
|
4134
4136
|
});
|
|
4135
4137
|
}).catch(($) => {
|
|
4136
4138
|
console.log($);
|
|
4137
4139
|
});
|
|
4138
4140
|
}, A = () => {
|
|
4139
|
-
r(2,
|
|
4141
|
+
r(2, p = !0);
|
|
4140
4142
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4141
4143
|
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4142
|
-
r(2,
|
|
4144
|
+
r(2, p = !1);
|
|
4143
4145
|
const le = h.split(",").map((j) => j.trim());
|
|
4144
4146
|
g.push(...$.items);
|
|
4145
|
-
const
|
|
4146
|
-
var
|
|
4147
|
-
return ((
|
|
4147
|
+
const Qe = g.filter((j) => !le.some((er) => {
|
|
4148
|
+
var qe;
|
|
4149
|
+
return ((qe = j.flags) == null ? void 0 : qe.indexOf(er)) >= 0;
|
|
4148
4150
|
}));
|
|
4149
|
-
r(3, E =
|
|
4151
|
+
r(3, E = Qe.filter((j) => j.isTopCategory === !0)), r(4, m = Qe.filter((j) => j.isTopCategory === !1));
|
|
4150
4152
|
});
|
|
4151
|
-
},
|
|
4153
|
+
}, w = (b) => {
|
|
4152
4154
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4153
4155
|
}, B = () => {
|
|
4154
4156
|
xi(o);
|
|
4155
4157
|
};
|
|
4156
|
-
|
|
4158
|
+
mr(() => () => {
|
|
4157
4159
|
});
|
|
4158
|
-
const H = (b) =>
|
|
4159
|
-
function
|
|
4160
|
+
const H = (b) => w(b.id), P = (b) => w(b.id);
|
|
4161
|
+
function Kt(b) {
|
|
4160
4162
|
Le[b ? "unshift" : "push"](() => {
|
|
4161
|
-
|
|
4163
|
+
d = b, r(1, d);
|
|
4162
4164
|
});
|
|
4163
4165
|
}
|
|
4164
4166
|
return e.$$set = (b) => {
|
|
4165
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13,
|
|
4167
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4166
4168
|
}, e.$$.update = () => {
|
|
4167
4169
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4168
4170
|
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4169
|
-
8192 &&
|
|
4171
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4170
4172
|
512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4171
|
-
2050 && a &&
|
|
4172
|
-
4098 && l &&
|
|
4173
|
-
16386 &&
|
|
4173
|
+
2050 && a && d && bi(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4174
|
+
4098 && l && d && yi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4175
|
+
16386 && f && d && _i(d, `${f}.Style`);
|
|
4174
4176
|
}, [
|
|
4175
4177
|
u,
|
|
4176
|
-
p,
|
|
4177
4178
|
d,
|
|
4179
|
+
p,
|
|
4178
4180
|
E,
|
|
4179
4181
|
m,
|
|
4180
4182
|
n,
|
|
4181
|
-
|
|
4183
|
+
w,
|
|
4182
4184
|
i,
|
|
4183
4185
|
s,
|
|
4184
4186
|
o,
|
|
4185
4187
|
h,
|
|
4186
4188
|
a,
|
|
4187
4189
|
l,
|
|
4188
|
-
f,
|
|
4189
4190
|
c,
|
|
4191
|
+
f,
|
|
4190
4192
|
H,
|
|
4191
4193
|
P,
|
|
4192
|
-
|
|
4194
|
+
Kt
|
|
4193
4195
|
];
|
|
4194
4196
|
}
|
|
4195
|
-
class
|
|
4197
|
+
class Yt extends Ar {
|
|
4196
4198
|
constructor(t) {
|
|
4197
|
-
super(),
|
|
4199
|
+
super(), Cr(
|
|
4198
4200
|
this,
|
|
4199
4201
|
t,
|
|
4200
4202
|
Hi,
|
|
4201
4203
|
Ci,
|
|
4202
|
-
|
|
4204
|
+
Ct,
|
|
4203
4205
|
{
|
|
4204
4206
|
endpoint: 7,
|
|
4205
4207
|
datasource: 8,
|
|
@@ -4269,42 +4271,42 @@ class Kt extends Br {
|
|
|
4269
4271
|
this.$$set({ mbsource: t }), M();
|
|
4270
4272
|
}
|
|
4271
4273
|
}
|
|
4272
|
-
|
|
4273
|
-
const
|
|
4274
|
+
Hr(Yt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4275
|
+
const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4274
4276
|
__proto__: null,
|
|
4275
|
-
default:
|
|
4277
|
+
default: Yt
|
|
4276
4278
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4277
4279
|
export {
|
|
4278
4280
|
te as $,
|
|
4279
4281
|
Si as A,
|
|
4280
|
-
|
|
4282
|
+
rt as B,
|
|
4281
4283
|
be as C,
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4284
|
+
Oi as D,
|
|
4285
|
+
Ar as S,
|
|
4286
|
+
Wt as a,
|
|
4287
|
+
ur as b,
|
|
4288
|
+
Hr as c,
|
|
4287
4289
|
U as d,
|
|
4288
4290
|
S as e,
|
|
4289
4291
|
M as f,
|
|
4290
4292
|
I as g,
|
|
4291
4293
|
R as h,
|
|
4292
|
-
|
|
4294
|
+
Cr as i,
|
|
4293
4295
|
K as j,
|
|
4294
4296
|
v as k,
|
|
4295
|
-
|
|
4297
|
+
At as l,
|
|
4296
4298
|
F as m,
|
|
4297
4299
|
L as n,
|
|
4298
4300
|
k as o,
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
+
ar as p,
|
|
4302
|
+
mr as q,
|
|
4301
4303
|
ue as r,
|
|
4302
|
-
|
|
4304
|
+
Ct as s,
|
|
4303
4305
|
D as t,
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4306
|
+
Le as u,
|
|
4307
|
+
bi as v,
|
|
4308
|
+
yi as w,
|
|
4309
|
+
_i as x,
|
|
4310
|
+
pi as y,
|
|
4311
|
+
ce as z
|
|
4310
4312
|
};
|