@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,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-CYuYAlOX.js";
|
|
2
2
|
function N() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function pt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Ze() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
10
|
function ae(e) {
|
|
11
|
-
e.forEach(
|
|
11
|
+
e.forEach(pt);
|
|
12
12
|
}
|
|
13
13
|
function ke(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function bt(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let le;
|
|
20
|
-
function
|
|
20
|
+
function pe(e, t) {
|
|
21
21
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Zt(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function _t(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -32,20 +32,20 @@ function yt(e, ...t) {
|
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
e.$$.on_destroy.push(
|
|
35
|
+
function Qt(e, t, r) {
|
|
36
|
+
e.$$.on_destroy.push(_t(t, r));
|
|
37
37
|
}
|
|
38
38
|
function v(e, t) {
|
|
39
39
|
e.appendChild(t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const n =
|
|
41
|
+
function qt(e, t, r) {
|
|
42
|
+
const n = Jt(e);
|
|
43
43
|
if (!n.getElementById(t)) {
|
|
44
44
|
const i = S("style");
|
|
45
|
-
i.id = t, i.textContent = r,
|
|
45
|
+
i.id = t, i.textContent = r, Yt(n, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Jt(e) {
|
|
49
49
|
if (!e)
|
|
50
50
|
return document;
|
|
51
51
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -55,7 +55,7 @@ function Yt(e) {
|
|
|
55
55
|
t
|
|
56
56
|
) : e.ownerDocument;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Yt(e, t) {
|
|
59
59
|
return v(
|
|
60
60
|
/** @type {Document} */
|
|
61
61
|
e.head || e,
|
|
@@ -68,7 +68,7 @@ function Y(e, t, r) {
|
|
|
68
68
|
function j(e) {
|
|
69
69
|
e.parentNode && e.parentNode.removeChild(e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Qe(e, t) {
|
|
72
72
|
for (let r = 0; r < e.length; r += 1)
|
|
73
73
|
e[r] && e[r].d(t);
|
|
74
74
|
}
|
|
@@ -81,10 +81,10 @@ function U(e) {
|
|
|
81
81
|
function R() {
|
|
82
82
|
return U(" ");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function di() {
|
|
85
85
|
return U("");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function yt(e, t, r, n) {
|
|
88
88
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
89
89
|
}
|
|
90
90
|
function L(e, t, r) {
|
|
@@ -94,14 +94,14 @@ function $(e, t, r) {
|
|
|
94
94
|
const n = t.toLowerCase();
|
|
95
95
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Kt(e) {
|
|
98
98
|
return Array.from(e.childNodes);
|
|
99
99
|
}
|
|
100
100
|
function G(e, t) {
|
|
101
101
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
102
102
|
t);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function er(e) {
|
|
105
105
|
const t = {};
|
|
106
106
|
return e.childNodes.forEach(
|
|
107
107
|
/** @param {Element} node */
|
|
@@ -114,20 +114,20 @@ let ie;
|
|
|
114
114
|
function ne(e) {
|
|
115
115
|
ie = e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function tr() {
|
|
118
118
|
if (!ie)
|
|
119
119
|
throw new Error("Function called outside component initialization");
|
|
120
120
|
return ie;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function rr(e) {
|
|
123
|
+
tr().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
125
|
const z = [], Pe = [];
|
|
126
126
|
let W = [];
|
|
127
|
-
const
|
|
127
|
+
const qe = [], nr = /* @__PURE__ */ Promise.resolve();
|
|
128
128
|
let Ne = !1;
|
|
129
|
-
function
|
|
130
|
-
Ne || (Ne = !0,
|
|
129
|
+
function ir() {
|
|
130
|
+
Ne || (Ne = !0, nr.then(I));
|
|
131
131
|
}
|
|
132
132
|
function Le(e) {
|
|
133
133
|
W.push(e);
|
|
@@ -142,7 +142,7 @@ function I() {
|
|
|
142
142
|
try {
|
|
143
143
|
for (; V < z.length; ) {
|
|
144
144
|
const t = z[V];
|
|
145
|
-
V++, ne(t),
|
|
145
|
+
V++, ne(t), sr(t.$$);
|
|
146
146
|
}
|
|
147
147
|
} catch (t) {
|
|
148
148
|
throw z.length = 0, V = 0, t;
|
|
@@ -155,43 +155,43 @@ function I() {
|
|
|
155
155
|
}
|
|
156
156
|
W.length = 0;
|
|
157
157
|
} while (z.length);
|
|
158
|
-
for (;
|
|
159
|
-
|
|
158
|
+
for (; qe.length; )
|
|
159
|
+
qe.pop()();
|
|
160
160
|
Ne = !1, Ce.clear(), ne(e);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function sr(e) {
|
|
163
163
|
if (e.fragment !== null) {
|
|
164
164
|
e.update(), ae(e.before_update);
|
|
165
165
|
const t = e.dirty;
|
|
166
166
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function or(e) {
|
|
170
170
|
const t = [], r = [];
|
|
171
171
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
172
172
|
}
|
|
173
|
-
const
|
|
174
|
-
function
|
|
175
|
-
e && e.i && (
|
|
173
|
+
const ar = /* @__PURE__ */ new Set();
|
|
174
|
+
function ur(e, t) {
|
|
175
|
+
e && e.i && (ar.delete(e), e.i(t));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function fe(e) {
|
|
178
178
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function hr(e, t, r) {
|
|
181
181
|
const { fragment: n, after_update: i } = e.$$;
|
|
182
182
|
n && n.m(t, r), Le(() => {
|
|
183
|
-
const s = e.$$.on_mount.map(
|
|
183
|
+
const s = e.$$.on_mount.map(pt).filter(ke);
|
|
184
184
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
|
|
185
185
|
}), i.forEach(Le);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function lr(e, t) {
|
|
188
188
|
const r = e.$$;
|
|
189
|
-
r.fragment !== null && (
|
|
189
|
+
r.fragment !== null && (or(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
190
190
|
}
|
|
191
191
|
function fr(e, t) {
|
|
192
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
|
192
|
+
e.$$.dirty[0] === -1 && (z.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function cr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
195
195
|
const l = ie;
|
|
196
196
|
ne(e);
|
|
197
197
|
const a = e.$$ = {
|
|
@@ -201,7 +201,7 @@ function gr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
201
201
|
props: s,
|
|
202
202
|
update: N,
|
|
203
203
|
not_equal: i,
|
|
204
|
-
bound:
|
|
204
|
+
bound: Ze(),
|
|
205
205
|
// lifecycle
|
|
206
206
|
on_mount: [],
|
|
207
207
|
on_destroy: [],
|
|
@@ -210,28 +210,28 @@ function gr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
210
210
|
after_update: [],
|
|
211
211
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
212
212
|
// everything else
|
|
213
|
-
callbacks:
|
|
213
|
+
callbacks: Ze(),
|
|
214
214
|
dirty: u,
|
|
215
215
|
skip_bound: !1,
|
|
216
216
|
root: t.target || l.$$.root
|
|
217
217
|
};
|
|
218
218
|
o && o(a.root);
|
|
219
219
|
let h = !1;
|
|
220
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
|
221
|
-
const
|
|
222
|
-
return a.ctx && i(a.ctx[
|
|
220
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
221
|
+
const p = d.length ? d[0] : f;
|
|
222
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), h && fr(e, c)), f;
|
|
223
223
|
}) : [], a.update(), h = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
224
224
|
if (t.hydrate) {
|
|
225
|
-
const
|
|
226
|
-
a.fragment && a.fragment.l(
|
|
225
|
+
const c = Kt(t.target);
|
|
226
|
+
a.fragment && a.fragment.l(c), c.forEach(j);
|
|
227
227
|
} else
|
|
228
228
|
a.fragment && a.fragment.c();
|
|
229
|
-
t.intro &&
|
|
229
|
+
t.intro && ur(e.$$.fragment), hr(e, t.target, t.anchor), I();
|
|
230
230
|
}
|
|
231
231
|
ne(l);
|
|
232
232
|
}
|
|
233
|
-
let
|
|
234
|
-
typeof HTMLElement == "function" && (
|
|
233
|
+
let xt;
|
|
234
|
+
typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
235
235
|
/** The Svelte component constructor */
|
|
236
236
|
$$ctor;
|
|
237
237
|
/** Slots */
|
|
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
|
|
|
290
290
|
};
|
|
291
291
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
292
292
|
return;
|
|
293
|
-
const t = {}, r =
|
|
293
|
+
const t = {}, r = er(this);
|
|
294
294
|
for (const i of this.$$s)
|
|
295
295
|
i in r && (t[i] = [e(i)]);
|
|
296
296
|
for (const i of this.attributes) {
|
|
@@ -377,8 +377,8 @@ function ge(e, t, r, n) {
|
|
|
377
377
|
return t;
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
-
function
|
|
381
|
-
let o = class extends
|
|
380
|
+
function gr(e, t, r, n, i, s) {
|
|
381
|
+
let o = class extends xt {
|
|
382
382
|
constructor() {
|
|
383
383
|
super(e, r, i), this.$$p_d = t;
|
|
384
384
|
}
|
|
@@ -406,7 +406,7 @@ function mr(e, t, r, n, i, s) {
|
|
|
406
406
|
}), e.element = /** @type {any} */
|
|
407
407
|
o, o;
|
|
408
408
|
}
|
|
409
|
-
class
|
|
409
|
+
class mr {
|
|
410
410
|
/**
|
|
411
411
|
* ### PRIVATE API
|
|
412
412
|
*
|
|
@@ -425,7 +425,7 @@ class pr {
|
|
|
425
425
|
$$set = void 0;
|
|
426
426
|
/** @returns {void} */
|
|
427
427
|
$destroy() {
|
|
428
|
-
|
|
428
|
+
lr(this, 1), this.$destroy = N;
|
|
429
429
|
}
|
|
430
430
|
/**
|
|
431
431
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -447,13 +447,13 @@ class pr {
|
|
|
447
447
|
* @returns {void}
|
|
448
448
|
*/
|
|
449
449
|
$set(t) {
|
|
450
|
-
this.$$set && !
|
|
450
|
+
this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
const dr = "4";
|
|
454
454
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
|
|
455
455
|
const X = [];
|
|
456
|
-
function
|
|
456
|
+
function pr(e, t) {
|
|
457
457
|
return {
|
|
458
458
|
subscribe: ye(e, t).subscribe
|
|
459
459
|
};
|
|
@@ -462,7 +462,7 @@ function ye(e, t = N) {
|
|
|
462
462
|
let r;
|
|
463
463
|
const n = /* @__PURE__ */ new Set();
|
|
464
464
|
function i(u) {
|
|
465
|
-
if (
|
|
465
|
+
if (bt(e, u) && (e = u, r)) {
|
|
466
466
|
const l = !X.length;
|
|
467
467
|
for (const a of n)
|
|
468
468
|
a[1](), X.push(a, e);
|
|
@@ -489,94 +489,94 @@ function K(e, t, r) {
|
|
|
489
489
|
if (!i.every(Boolean))
|
|
490
490
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
491
491
|
const s = t.length < 2;
|
|
492
|
-
return
|
|
492
|
+
return pr(r, (o, u) => {
|
|
493
493
|
let l = !1;
|
|
494
494
|
const a = [];
|
|
495
|
-
let h = 0,
|
|
496
|
-
const
|
|
495
|
+
let h = 0, c = N;
|
|
496
|
+
const f = () => {
|
|
497
497
|
if (h)
|
|
498
498
|
return;
|
|
499
|
-
|
|
500
|
-
const
|
|
501
|
-
s ? o(
|
|
502
|
-
},
|
|
503
|
-
(
|
|
504
|
-
|
|
499
|
+
c();
|
|
500
|
+
const p = t(n ? a[0] : a, o, u);
|
|
501
|
+
s ? o(p) : c = ke(p) ? p : N;
|
|
502
|
+
}, d = i.map(
|
|
503
|
+
(p, g) => _t(
|
|
504
|
+
p,
|
|
505
505
|
(E) => {
|
|
506
|
-
a[g] = E, h &= ~(1 << g), l &&
|
|
506
|
+
a[g] = E, h &= ~(1 << g), l && f();
|
|
507
507
|
},
|
|
508
508
|
() => {
|
|
509
509
|
h |= 1 << g;
|
|
510
510
|
}
|
|
511
511
|
)
|
|
512
512
|
);
|
|
513
|
-
return l = !0,
|
|
514
|
-
ae(
|
|
513
|
+
return l = !0, f(), function() {
|
|
514
|
+
ae(d), c(), l = !1;
|
|
515
515
|
};
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
function
|
|
519
|
-
return e
|
|
518
|
+
function br(e) {
|
|
519
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
520
520
|
}
|
|
521
|
-
var
|
|
522
|
-
return
|
|
521
|
+
var _r = function(t) {
|
|
522
|
+
return yr(t) && !xr(t);
|
|
523
523
|
};
|
|
524
|
-
function
|
|
524
|
+
function yr(e) {
|
|
525
525
|
return !!e && typeof e == "object";
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function xr(e) {
|
|
528
528
|
var t = Object.prototype.toString.call(e);
|
|
529
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
529
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
|
|
530
530
|
}
|
|
531
|
-
var
|
|
532
|
-
function
|
|
533
|
-
return e.$$typeof ===
|
|
531
|
+
var Er = typeof Symbol == "function" && Symbol.for, vr = Er ? Symbol.for("react.element") : 60103;
|
|
532
|
+
function Tr(e) {
|
|
533
|
+
return e.$$typeof === vr;
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Cr(e) {
|
|
536
536
|
return Array.isArray(e) ? [] : {};
|
|
537
537
|
}
|
|
538
538
|
function se(e, t) {
|
|
539
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
539
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Cr(e), e, t) : e;
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function Hr(e, t, r) {
|
|
542
542
|
return e.concat(t).map(function(n) {
|
|
543
543
|
return se(n, r);
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Ar(e, t) {
|
|
547
547
|
if (!t.customMerge)
|
|
548
548
|
return Z;
|
|
549
549
|
var r = t.customMerge(e);
|
|
550
550
|
return typeof r == "function" ? r : Z;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Br(e) {
|
|
553
553
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
554
554
|
return Object.propertyIsEnumerable.call(e, t);
|
|
555
555
|
}) : [];
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
return Object.keys(e).concat(
|
|
557
|
+
function Je(e) {
|
|
558
|
+
return Object.keys(e).concat(Br(e));
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Et(e, t) {
|
|
561
561
|
try {
|
|
562
562
|
return t in e;
|
|
563
563
|
} catch {
|
|
564
564
|
return !1;
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function
|
|
568
|
-
return
|
|
567
|
+
function Sr(e, t) {
|
|
568
|
+
return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
569
569
|
}
|
|
570
570
|
function Or(e, t, r) {
|
|
571
571
|
var n = {};
|
|
572
|
-
return r.isMergeableObject(e) &&
|
|
572
|
+
return r.isMergeableObject(e) && Je(e).forEach(function(i) {
|
|
573
573
|
n[i] = se(e[i], r);
|
|
574
|
-
}),
|
|
575
|
-
|
|
574
|
+
}), Je(t).forEach(function(i) {
|
|
575
|
+
Sr(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ar(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
576
576
|
}), n;
|
|
577
577
|
}
|
|
578
578
|
function Z(e, t, r) {
|
|
579
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
579
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || _r, r.cloneUnlessOtherwiseSpecified = se;
|
|
580
580
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
581
581
|
return s ? n ? r.arrayMerge(e, t, r) : Or(e, t, r) : se(t, r);
|
|
582
582
|
}
|
|
@@ -587,8 +587,8 @@ Z.all = function(t, r) {
|
|
|
587
587
|
return Z(n, i, r);
|
|
588
588
|
}, {});
|
|
589
589
|
};
|
|
590
|
-
var
|
|
591
|
-
const
|
|
590
|
+
var wr = Z, Pr = wr;
|
|
591
|
+
const Nr = /* @__PURE__ */ br(Pr);
|
|
592
592
|
/*! *****************************************************************************
|
|
593
593
|
Copyright (c) Microsoft Corporation.
|
|
594
594
|
|
|
@@ -630,7 +630,7 @@ var x = function() {
|
|
|
630
630
|
return t;
|
|
631
631
|
}, x.apply(this, arguments);
|
|
632
632
|
};
|
|
633
|
-
function
|
|
633
|
+
function Lr(e, t) {
|
|
634
634
|
var r = {};
|
|
635
635
|
for (var n in e)
|
|
636
636
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -646,55 +646,57 @@ function He(e, t, r) {
|
|
|
646
646
|
return e.concat(s || t);
|
|
647
647
|
}
|
|
648
648
|
function Ae(e, t) {
|
|
649
|
-
var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer :
|
|
649
|
+
var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : Mr;
|
|
650
650
|
return i(e, {
|
|
651
651
|
cache: r,
|
|
652
652
|
serializer: n
|
|
653
653
|
});
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Ir(e) {
|
|
656
656
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
657
657
|
}
|
|
658
|
-
function
|
|
659
|
-
var i =
|
|
658
|
+
function vt(e, t, r, n) {
|
|
659
|
+
var i = Ir(n) ? n : r(n), s = t.get(i);
|
|
660
660
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Tt(e, t, r) {
|
|
663
663
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
664
664
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
665
665
|
}
|
|
666
666
|
function Ve(e, t, r, n, i) {
|
|
667
667
|
return r.bind(t, e, n, i);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
670
|
-
var r = e.length === 1 ?
|
|
669
|
+
function Mr(e, t) {
|
|
670
|
+
var r = e.length === 1 ? vt : Tt;
|
|
671
671
|
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
672
672
|
}
|
|
673
|
-
function
|
|
674
|
-
return Ve(e, this, Ct, t.cache.create(), t.serializer);
|
|
675
|
-
}
|
|
676
|
-
function Ur(e, t) {
|
|
673
|
+
function $r(e, t) {
|
|
677
674
|
return Ve(e, this, Tt, t.cache.create(), t.serializer);
|
|
678
675
|
}
|
|
679
|
-
|
|
680
|
-
return
|
|
681
|
-
};
|
|
682
|
-
function Xe() {
|
|
683
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
676
|
+
function Rr(e, t) {
|
|
677
|
+
return Ve(e, this, vt, t.cache.create(), t.serializer);
|
|
684
678
|
}
|
|
685
|
-
|
|
686
|
-
return
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
679
|
+
var Ur = function() {
|
|
680
|
+
return JSON.stringify(arguments);
|
|
681
|
+
}, Dr = (
|
|
682
|
+
/** @class */
|
|
683
|
+
function() {
|
|
684
|
+
function e() {
|
|
685
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
686
|
+
}
|
|
687
|
+
return e.prototype.get = function(t) {
|
|
688
|
+
return this.cache[t];
|
|
689
|
+
}, e.prototype.set = function(t, r) {
|
|
690
|
+
this.cache[t] = r;
|
|
691
|
+
}, e;
|
|
692
|
+
}()
|
|
693
|
+
), Gr = {
|
|
692
694
|
create: function() {
|
|
693
|
-
return new
|
|
695
|
+
return new Dr();
|
|
694
696
|
}
|
|
695
697
|
}, Be = {
|
|
696
|
-
variadic:
|
|
697
|
-
monadic:
|
|
698
|
+
variadic: $r,
|
|
699
|
+
monadic: Rr
|
|
698
700
|
}, _;
|
|
699
701
|
(function(e) {
|
|
700
702
|
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";
|
|
@@ -707,25 +709,25 @@ var Q;
|
|
|
707
709
|
(function(e) {
|
|
708
710
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
709
711
|
})(Q || (Q = {}));
|
|
710
|
-
function
|
|
712
|
+
function Ye(e) {
|
|
711
713
|
return e.type === T.literal;
|
|
712
714
|
}
|
|
713
715
|
function Fr(e) {
|
|
714
716
|
return e.type === T.argument;
|
|
715
717
|
}
|
|
716
|
-
function
|
|
718
|
+
function Ct(e) {
|
|
717
719
|
return e.type === T.number;
|
|
718
720
|
}
|
|
719
|
-
function
|
|
721
|
+
function Ht(e) {
|
|
720
722
|
return e.type === T.date;
|
|
721
723
|
}
|
|
722
|
-
function
|
|
724
|
+
function At(e) {
|
|
723
725
|
return e.type === T.time;
|
|
724
726
|
}
|
|
725
|
-
function
|
|
727
|
+
function Bt(e) {
|
|
726
728
|
return e.type === T.select;
|
|
727
729
|
}
|
|
728
|
-
function
|
|
730
|
+
function St(e) {
|
|
729
731
|
return e.type === T.plural;
|
|
730
732
|
}
|
|
731
733
|
function jr(e) {
|
|
@@ -734,13 +736,13 @@ function jr(e) {
|
|
|
734
736
|
function Ot(e) {
|
|
735
737
|
return e.type === T.tag;
|
|
736
738
|
}
|
|
737
|
-
function
|
|
739
|
+
function wt(e) {
|
|
738
740
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
739
741
|
}
|
|
740
742
|
function Me(e) {
|
|
741
743
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
742
744
|
}
|
|
743
|
-
var
|
|
745
|
+
var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
|
|
744
746
|
function Vr(e) {
|
|
745
747
|
var t = {};
|
|
746
748
|
return e.replace(kr, function(r) {
|
|
@@ -836,15 +838,15 @@ var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
836
838
|
function zr(e) {
|
|
837
839
|
if (e.length === 0)
|
|
838
840
|
throw new Error("Number skeleton cannot be empty");
|
|
839
|
-
for (var t = e.split(Xr).filter(function(
|
|
840
|
-
return
|
|
841
|
+
for (var t = e.split(Xr).filter(function(f) {
|
|
842
|
+
return f.length > 0;
|
|
841
843
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
842
844
|
var s = i[n], o = s.split("/");
|
|
843
845
|
if (o.length === 0)
|
|
844
846
|
throw new Error("Invalid number skeleton");
|
|
845
847
|
for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
|
|
846
|
-
var
|
|
847
|
-
if (
|
|
848
|
+
var c = h[a];
|
|
849
|
+
if (c.length === 0)
|
|
848
850
|
throw new Error("Invalid number skeleton");
|
|
849
851
|
}
|
|
850
852
|
r.push({ stem: u, options: l });
|
|
@@ -854,14 +856,14 @@ function zr(e) {
|
|
|
854
856
|
function Wr(e) {
|
|
855
857
|
return e.replace(/^(.*?)-/, "");
|
|
856
858
|
}
|
|
857
|
-
var
|
|
858
|
-
function
|
|
859
|
+
var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Lt = /^(0+)$/;
|
|
860
|
+
function et(e) {
|
|
859
861
|
var t = {};
|
|
860
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
862
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
|
|
861
863
|
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)), "";
|
|
862
864
|
}), t;
|
|
863
865
|
}
|
|
864
|
-
function
|
|
866
|
+
function It(e) {
|
|
865
867
|
switch (e) {
|
|
866
868
|
case "sign-auto":
|
|
867
869
|
return {
|
|
@@ -909,14 +911,14 @@ function Qr(e) {
|
|
|
909
911
|
notation: "scientific"
|
|
910
912
|
}, e = e.slice(1)), t) {
|
|
911
913
|
var r = e.slice(0, 2);
|
|
912
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
914
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lt.test(e))
|
|
913
915
|
throw new Error("Malformed concise eng/scientific notation");
|
|
914
916
|
t.minimumIntegerDigits = e.length;
|
|
915
917
|
}
|
|
916
918
|
return t;
|
|
917
919
|
}
|
|
918
|
-
function
|
|
919
|
-
var t = {}, r =
|
|
920
|
+
function tt(e) {
|
|
921
|
+
var t = {}, r = It(e);
|
|
920
922
|
return r || t;
|
|
921
923
|
}
|
|
922
924
|
function qr(e) {
|
|
@@ -955,12 +957,12 @@ function qr(e) {
|
|
|
955
957
|
continue;
|
|
956
958
|
case "scientific":
|
|
957
959
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
958
|
-
return x(x({}, l),
|
|
960
|
+
return x(x({}, l), tt(a));
|
|
959
961
|
}, {}));
|
|
960
962
|
continue;
|
|
961
963
|
case "engineering":
|
|
962
964
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
963
|
-
return x(x({}, l),
|
|
965
|
+
return x(x({}, l), tt(a));
|
|
964
966
|
}, {}));
|
|
965
967
|
continue;
|
|
966
968
|
case "notation-simple":
|
|
@@ -1005,45 +1007,45 @@ function qr(e) {
|
|
|
1005
1007
|
case "integer-width":
|
|
1006
1008
|
if (i.options.length > 1)
|
|
1007
1009
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1008
|
-
i.options[0].replace(Zr, function(l, a, h,
|
|
1010
|
+
i.options[0].replace(Zr, function(l, a, h, c, f, d) {
|
|
1009
1011
|
if (a)
|
|
1010
1012
|
t.minimumIntegerDigits = h.length;
|
|
1011
1013
|
else {
|
|
1012
|
-
if (
|
|
1014
|
+
if (c && f)
|
|
1013
1015
|
throw new Error("We currently do not support maximum integer digits");
|
|
1014
|
-
if (
|
|
1016
|
+
if (d)
|
|
1015
1017
|
throw new Error("We currently do not support exact integer digits");
|
|
1016
1018
|
}
|
|
1017
1019
|
return "";
|
|
1018
1020
|
});
|
|
1019
1021
|
continue;
|
|
1020
1022
|
}
|
|
1021
|
-
if (
|
|
1023
|
+
if (Lt.test(i.stem)) {
|
|
1022
1024
|
t.minimumIntegerDigits = i.stem.length;
|
|
1023
1025
|
continue;
|
|
1024
1026
|
}
|
|
1025
|
-
if (
|
|
1027
|
+
if (Ke.test(i.stem)) {
|
|
1026
1028
|
if (i.options.length > 1)
|
|
1027
1029
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1028
|
-
i.stem.replace(
|
|
1029
|
-
return h === "*" ? t.minimumFractionDigits = a.length :
|
|
1030
|
+
i.stem.replace(Ke, function(l, a, h, c, f, d) {
|
|
1031
|
+
return h === "*" ? 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), "";
|
|
1030
1032
|
});
|
|
1031
1033
|
var s = i.options[0];
|
|
1032
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1034
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), et(s)));
|
|
1033
1035
|
continue;
|
|
1034
1036
|
}
|
|
1035
|
-
if (
|
|
1036
|
-
t = x(x({}, t),
|
|
1037
|
+
if (Nt.test(i.stem)) {
|
|
1038
|
+
t = x(x({}, t), et(i.stem));
|
|
1037
1039
|
continue;
|
|
1038
1040
|
}
|
|
1039
|
-
var o =
|
|
1041
|
+
var o = It(i.stem);
|
|
1040
1042
|
o && (t = x(x({}, t), o));
|
|
1041
1043
|
var u = Qr(i.stem);
|
|
1042
1044
|
u && (t = x(x({}, t), u));
|
|
1043
1045
|
}
|
|
1044
1046
|
return t;
|
|
1045
1047
|
}
|
|
1046
|
-
var
|
|
1048
|
+
var ce = {
|
|
1047
1049
|
"001": [
|
|
1048
1050
|
"H",
|
|
1049
1051
|
"h"
|
|
@@ -2493,10 +2495,10 @@ function Yr(e) {
|
|
|
2493
2495
|
}
|
|
2494
2496
|
var r = e.language, n;
|
|
2495
2497
|
r !== "root" && (n = e.maximize().region);
|
|
2496
|
-
var i =
|
|
2498
|
+
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
2497
2499
|
return i[0];
|
|
2498
2500
|
}
|
|
2499
|
-
var Se, Kr = new RegExp("^".concat(
|
|
2501
|
+
var Se, Kr = new RegExp("^".concat(Pt.source, "*")), en = new RegExp("".concat(Pt.source, "*$"));
|
|
2500
2502
|
function y(e, t) {
|
|
2501
2503
|
return { start: e, end: t };
|
|
2502
2504
|
}
|
|
@@ -2504,12 +2506,12 @@ var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String
|
|
|
2504
2506
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2505
2507
|
}, $e = !0;
|
|
2506
2508
|
try {
|
|
2507
|
-
var ln =
|
|
2509
|
+
var ln = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2508
2510
|
$e = ((Se = ln.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
|
|
2509
2511
|
} catch {
|
|
2510
2512
|
$e = !1;
|
|
2511
2513
|
}
|
|
2512
|
-
var
|
|
2514
|
+
var rt = tn ? (
|
|
2513
2515
|
// Native
|
|
2514
2516
|
function(t, r, n) {
|
|
2515
2517
|
return t.startsWith(r, n);
|
|
@@ -2531,7 +2533,7 @@ var nt = tn ? (
|
|
|
2531
2533
|
}
|
|
2532
2534
|
return n;
|
|
2533
2535
|
}
|
|
2534
|
-
),
|
|
2536
|
+
), nt = (
|
|
2535
2537
|
// native
|
|
2536
2538
|
nn ? Object.fromEntries : (
|
|
2537
2539
|
// Ponyfill
|
|
@@ -2543,7 +2545,7 @@ var nt = tn ? (
|
|
|
2543
2545
|
return r;
|
|
2544
2546
|
}
|
|
2545
2547
|
)
|
|
2546
|
-
),
|
|
2548
|
+
), Mt = sn ? (
|
|
2547
2549
|
// Native
|
|
2548
2550
|
function(t, r) {
|
|
2549
2551
|
return t.codePointAt(r);
|
|
@@ -2557,7 +2559,7 @@ var nt = tn ? (
|
|
|
2557
2559
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2558
2560
|
}
|
|
2559
2561
|
}
|
|
2560
|
-
),
|
|
2562
|
+
), fn = on ? (
|
|
2561
2563
|
// Native
|
|
2562
2564
|
function(t) {
|
|
2563
2565
|
return t.trimStart();
|
|
@@ -2567,7 +2569,7 @@ var nt = tn ? (
|
|
|
2567
2569
|
function(t) {
|
|
2568
2570
|
return t.replace(Kr, "");
|
|
2569
2571
|
}
|
|
2570
|
-
),
|
|
2572
|
+
), cn = an ? (
|
|
2571
2573
|
// Native
|
|
2572
2574
|
function(t) {
|
|
2573
2575
|
return t.trimEnd();
|
|
@@ -2578,23 +2580,23 @@ var nt = tn ? (
|
|
|
2578
2580
|
return t.replace(en, "");
|
|
2579
2581
|
}
|
|
2580
2582
|
);
|
|
2581
|
-
function
|
|
2583
|
+
function $t(e, t) {
|
|
2582
2584
|
return new RegExp(e, t);
|
|
2583
2585
|
}
|
|
2584
2586
|
var Ue;
|
|
2585
2587
|
if ($e) {
|
|
2586
|
-
var
|
|
2588
|
+
var it = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2587
2589
|
Ue = function(t, r) {
|
|
2588
2590
|
var n;
|
|
2589
|
-
|
|
2590
|
-
var i =
|
|
2591
|
+
it.lastIndex = r;
|
|
2592
|
+
var i = it.exec(t);
|
|
2591
2593
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2592
2594
|
};
|
|
2593
2595
|
} else
|
|
2594
2596
|
Ue = function(t, r) {
|
|
2595
2597
|
for (var n = []; ; ) {
|
|
2596
|
-
var i =
|
|
2597
|
-
if (i === void 0 ||
|
|
2598
|
+
var i = Mt(t, r);
|
|
2599
|
+
if (i === void 0 || Rt(i) || pn(i))
|
|
2598
2600
|
break;
|
|
2599
2601
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2600
2602
|
}
|
|
@@ -2682,7 +2684,7 @@ var gn = (
|
|
|
2682
2684
|
return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
|
|
2683
2685
|
}, e.prototype.parseTagName = function() {
|
|
2684
2686
|
var t = this.offset();
|
|
2685
|
-
for (this.bump(); !this.isEOF() &&
|
|
2687
|
+
for (this.bump(); !this.isEOF() && dn(this.char()); )
|
|
2686
2688
|
this.bump();
|
|
2687
2689
|
return this.message.slice(t, this.offset());
|
|
2688
2690
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2795,25 +2797,25 @@ var gn = (
|
|
|
2795
2797
|
var a = null;
|
|
2796
2798
|
if (this.bumpIf(",")) {
|
|
2797
2799
|
this.bumpSpace();
|
|
2798
|
-
var h = this.clonePosition(),
|
|
2799
|
-
if (
|
|
2800
|
-
return
|
|
2801
|
-
var
|
|
2802
|
-
if (
|
|
2800
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2801
|
+
if (c.err)
|
|
2802
|
+
return c;
|
|
2803
|
+
var f = cn(c.val);
|
|
2804
|
+
if (f.length === 0)
|
|
2803
2805
|
return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
2804
|
-
var
|
|
2805
|
-
a = { style:
|
|
2806
|
+
var d = y(h, this.clonePosition());
|
|
2807
|
+
a = { style: f, styleLocation: d };
|
|
2806
2808
|
}
|
|
2807
|
-
var
|
|
2808
|
-
if (
|
|
2809
|
-
return
|
|
2809
|
+
var p = this.tryParseArgumentClose(i);
|
|
2810
|
+
if (p.err)
|
|
2811
|
+
return p;
|
|
2810
2812
|
var g = y(i, this.clonePosition());
|
|
2811
|
-
if (a &&
|
|
2812
|
-
var E =
|
|
2813
|
+
if (a && rt(a?.style, "::", 0)) {
|
|
2814
|
+
var E = fn(a.style.slice(2));
|
|
2813
2815
|
if (u === "number") {
|
|
2814
|
-
var
|
|
2815
|
-
return
|
|
2816
|
-
val: { type: T.number, value: n, location: g, style:
|
|
2816
|
+
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2817
|
+
return c.err ? c : {
|
|
2818
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2817
2819
|
err: null
|
|
2818
2820
|
};
|
|
2819
2821
|
} else {
|
|
@@ -2821,14 +2823,14 @@ var gn = (
|
|
|
2821
2823
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
2822
2824
|
var m = E;
|
|
2823
2825
|
this.locale && (m = Jr(E, this.locale));
|
|
2824
|
-
var
|
|
2826
|
+
var f = {
|
|
2825
2827
|
type: Q.dateTime,
|
|
2826
2828
|
pattern: m,
|
|
2827
2829
|
location: a.styleLocation,
|
|
2828
2830
|
parsedOptions: this.shouldParseSkeletons ? Vr(m) : {}
|
|
2829
2831
|
}, C = u === "date" ? T.date : T.time;
|
|
2830
2832
|
return {
|
|
2831
|
-
val: { type: C, value: n, location: g, style:
|
|
2833
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2832
2834
|
err: null
|
|
2833
2835
|
};
|
|
2834
2836
|
}
|
|
@@ -2850,28 +2852,28 @@ var gn = (
|
|
|
2850
2852
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2851
2853
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, x({}, A)));
|
|
2852
2854
|
this.bumpSpace();
|
|
2853
|
-
var
|
|
2854
|
-
if (u !== "select" &&
|
|
2855
|
+
var w = this.parseIdentifierIfPossible(), B = 0;
|
|
2856
|
+
if (u !== "select" && w.value === "offset") {
|
|
2855
2857
|
if (!this.bumpIf(":"))
|
|
2856
2858
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
2857
2859
|
this.bumpSpace();
|
|
2858
|
-
var
|
|
2859
|
-
if (
|
|
2860
|
-
return
|
|
2861
|
-
this.bumpSpace(),
|
|
2860
|
+
var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2861
|
+
if (c.err)
|
|
2862
|
+
return c;
|
|
2863
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), B = c.val;
|
|
2862
2864
|
}
|
|
2863
|
-
var H = this.tryParsePluralOrSelectOptions(t, u, r,
|
|
2865
|
+
var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
|
|
2864
2866
|
if (H.err)
|
|
2865
2867
|
return H;
|
|
2866
|
-
var
|
|
2867
|
-
if (
|
|
2868
|
-
return
|
|
2868
|
+
var p = this.tryParseArgumentClose(i);
|
|
2869
|
+
if (p.err)
|
|
2870
|
+
return p;
|
|
2869
2871
|
var P = y(i, this.clonePosition());
|
|
2870
2872
|
return u === "select" ? {
|
|
2871
2873
|
val: {
|
|
2872
2874
|
type: T.select,
|
|
2873
2875
|
value: n,
|
|
2874
|
-
options:
|
|
2876
|
+
options: nt(H.val),
|
|
2875
2877
|
location: P
|
|
2876
2878
|
},
|
|
2877
2879
|
err: null
|
|
@@ -2879,7 +2881,7 @@ var gn = (
|
|
|
2879
2881
|
val: {
|
|
2880
2882
|
type: T.plural,
|
|
2881
2883
|
value: n,
|
|
2882
|
-
options:
|
|
2884
|
+
options: nt(H.val),
|
|
2883
2885
|
offset: B,
|
|
2884
2886
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2885
2887
|
location: P
|
|
@@ -2946,32 +2948,32 @@ var gn = (
|
|
|
2946
2948
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2947
2949
|
for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
2948
2950
|
if (a.length === 0) {
|
|
2949
|
-
var
|
|
2951
|
+
var c = this.clonePosition();
|
|
2950
2952
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2951
|
-
var
|
|
2952
|
-
if (
|
|
2953
|
-
return
|
|
2954
|
-
h = y(
|
|
2953
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2954
|
+
if (f.err)
|
|
2955
|
+
return f;
|
|
2956
|
+
h = y(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2955
2957
|
} else
|
|
2956
2958
|
break;
|
|
2957
2959
|
}
|
|
2958
2960
|
if (l.has(a))
|
|
2959
2961
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2960
2962
|
a === "other" && (o = !0), this.bumpSpace();
|
|
2961
|
-
var
|
|
2963
|
+
var d = this.clonePosition();
|
|
2962
2964
|
if (!this.bumpIf("{"))
|
|
2963
2965
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
2964
|
-
var
|
|
2965
|
-
if (
|
|
2966
|
-
return
|
|
2967
|
-
var g = this.tryParseArgumentClose(
|
|
2966
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
2967
|
+
if (p.err)
|
|
2968
|
+
return p;
|
|
2969
|
+
var g = this.tryParseArgumentClose(d);
|
|
2968
2970
|
if (g.err)
|
|
2969
2971
|
return g;
|
|
2970
2972
|
u.push([
|
|
2971
2973
|
a,
|
|
2972
2974
|
{
|
|
2973
|
-
value:
|
|
2974
|
-
location: y(
|
|
2975
|
+
value: p.val,
|
|
2976
|
+
location: y(d, this.clonePosition())
|
|
2975
2977
|
}
|
|
2976
2978
|
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
2977
2979
|
}
|
|
@@ -3002,7 +3004,7 @@ var gn = (
|
|
|
3002
3004
|
var t = this.position.offset;
|
|
3003
3005
|
if (t >= this.message.length)
|
|
3004
3006
|
throw Error("out of bound");
|
|
3005
|
-
var r =
|
|
3007
|
+
var r = Mt(this.message, t);
|
|
3006
3008
|
if (r === void 0)
|
|
3007
3009
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3008
3010
|
return r;
|
|
@@ -3021,7 +3023,7 @@ var gn = (
|
|
|
3021
3023
|
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);
|
|
3022
3024
|
}
|
|
3023
3025
|
}, e.prototype.bumpIf = function(t) {
|
|
3024
|
-
if (
|
|
3026
|
+
if (rt(this.message, t, this.offset())) {
|
|
3025
3027
|
for (var r = 0; r < t.length; r++)
|
|
3026
3028
|
this.bump();
|
|
3027
3029
|
return !0;
|
|
@@ -3043,7 +3045,7 @@ var gn = (
|
|
|
3043
3045
|
break;
|
|
3044
3046
|
}
|
|
3045
3047
|
}, e.prototype.bumpSpace = function() {
|
|
3046
|
-
for (; !this.isEOF() &&
|
|
3048
|
+
for (; !this.isEOF() && Rt(this.char()); )
|
|
3047
3049
|
this.bump();
|
|
3048
3050
|
}, e.prototype.peek = function() {
|
|
3049
3051
|
if (this.isEOF())
|
|
@@ -3059,22 +3061,22 @@ function De(e) {
|
|
|
3059
3061
|
function mn(e) {
|
|
3060
3062
|
return De(e) || e === 47;
|
|
3061
3063
|
}
|
|
3062
|
-
function
|
|
3064
|
+
function dn(e) {
|
|
3063
3065
|
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;
|
|
3064
3066
|
}
|
|
3065
|
-
function
|
|
3067
|
+
function Rt(e) {
|
|
3066
3068
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3067
3069
|
}
|
|
3068
|
-
function
|
|
3070
|
+
function pn(e) {
|
|
3069
3071
|
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;
|
|
3070
3072
|
}
|
|
3071
3073
|
function Ge(e) {
|
|
3072
3074
|
e.forEach(function(t) {
|
|
3073
|
-
if (delete t.location,
|
|
3075
|
+
if (delete t.location, Bt(t) || St(t))
|
|
3074
3076
|
for (var r in t.options)
|
|
3075
3077
|
delete t.options[r].location, Ge(t.options[r].value);
|
|
3076
3078
|
else
|
|
3077
|
-
|
|
3079
|
+
Ct(t) && wt(t.style) || (Ht(t) || At(t)) && Me(t.style) ? delete t.style.location : Ot(t) && Ge(t.children);
|
|
3078
3080
|
});
|
|
3079
3081
|
}
|
|
3080
3082
|
function bn(e, t) {
|
|
@@ -3102,7 +3104,7 @@ var Ee = (
|
|
|
3102
3104
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3103
3105
|
}, t;
|
|
3104
3106
|
}(Error)
|
|
3105
|
-
),
|
|
3107
|
+
), st = (
|
|
3106
3108
|
/** @class */
|
|
3107
3109
|
function(e) {
|
|
3108
3110
|
xe(t, e);
|
|
@@ -3129,112 +3131,112 @@ var Ee = (
|
|
|
3129
3131
|
}
|
|
3130
3132
|
return t;
|
|
3131
3133
|
}(Ee)
|
|
3132
|
-
),
|
|
3134
|
+
), O;
|
|
3133
3135
|
(function(e) {
|
|
3134
3136
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3135
|
-
})(
|
|
3137
|
+
})(O || (O = {}));
|
|
3136
3138
|
function xn(e) {
|
|
3137
3139
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3138
3140
|
var n = t[t.length - 1];
|
|
3139
|
-
return !n || n.type !==
|
|
3141
|
+
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3140
3142
|
}, []);
|
|
3141
3143
|
}
|
|
3142
3144
|
function En(e) {
|
|
3143
3145
|
return typeof e == "function";
|
|
3144
3146
|
}
|
|
3145
3147
|
function me(e, t, r, n, i, s, o) {
|
|
3146
|
-
if (e.length === 1 &&
|
|
3148
|
+
if (e.length === 1 && Ye(e[0]))
|
|
3147
3149
|
return [
|
|
3148
3150
|
{
|
|
3149
|
-
type:
|
|
3151
|
+
type: O.literal,
|
|
3150
3152
|
value: e[0].value
|
|
3151
3153
|
}
|
|
3152
3154
|
];
|
|
3153
3155
|
for (var u = [], l = 0, a = e; l < a.length; l++) {
|
|
3154
3156
|
var h = a[l];
|
|
3155
|
-
if (
|
|
3157
|
+
if (Ye(h)) {
|
|
3156
3158
|
u.push({
|
|
3157
|
-
type:
|
|
3159
|
+
type: O.literal,
|
|
3158
3160
|
value: h.value
|
|
3159
3161
|
});
|
|
3160
3162
|
continue;
|
|
3161
3163
|
}
|
|
3162
3164
|
if (jr(h)) {
|
|
3163
3165
|
typeof s == "number" && u.push({
|
|
3164
|
-
type:
|
|
3166
|
+
type: O.literal,
|
|
3165
3167
|
value: r.getNumberFormat(t).format(s)
|
|
3166
3168
|
});
|
|
3167
3169
|
continue;
|
|
3168
3170
|
}
|
|
3169
|
-
var
|
|
3170
|
-
if (!(i &&
|
|
3171
|
-
throw new yn(
|
|
3172
|
-
var
|
|
3171
|
+
var c = h.value;
|
|
3172
|
+
if (!(i && c in i))
|
|
3173
|
+
throw new yn(c, o);
|
|
3174
|
+
var f = i[c];
|
|
3173
3175
|
if (Fr(h)) {
|
|
3174
|
-
(!
|
|
3175
|
-
type: typeof
|
|
3176
|
-
value:
|
|
3176
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3177
|
+
type: typeof f == "string" ? O.literal : O.object,
|
|
3178
|
+
value: f
|
|
3177
3179
|
});
|
|
3178
3180
|
continue;
|
|
3179
3181
|
}
|
|
3180
|
-
if (
|
|
3181
|
-
var
|
|
3182
|
+
if (Ht(h)) {
|
|
3183
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
|
|
3182
3184
|
u.push({
|
|
3183
|
-
type:
|
|
3184
|
-
value: r.getDateTimeFormat(t,
|
|
3185
|
+
type: O.literal,
|
|
3186
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3185
3187
|
});
|
|
3186
3188
|
continue;
|
|
3187
3189
|
}
|
|
3188
|
-
if (
|
|
3189
|
-
var
|
|
3190
|
+
if (At(h)) {
|
|
3191
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3190
3192
|
u.push({
|
|
3191
|
-
type:
|
|
3192
|
-
value: r.getDateTimeFormat(t,
|
|
3193
|
+
type: O.literal,
|
|
3194
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3193
3195
|
});
|
|
3194
3196
|
continue;
|
|
3195
3197
|
}
|
|
3196
|
-
if (
|
|
3197
|
-
var
|
|
3198
|
-
|
|
3199
|
-
type:
|
|
3200
|
-
value: r.getNumberFormat(t,
|
|
3198
|
+
if (Ct(h)) {
|
|
3199
|
+
var d = typeof h.style == "string" ? n.number[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
|
|
3200
|
+
d && d.scale && (f = f * (d.scale || 1)), u.push({
|
|
3201
|
+
type: O.literal,
|
|
3202
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3201
3203
|
});
|
|
3202
3204
|
continue;
|
|
3203
3205
|
}
|
|
3204
3206
|
if (Ot(h)) {
|
|
3205
|
-
var
|
|
3207
|
+
var p = h.children, g = h.value, E = i[g];
|
|
3206
3208
|
if (!En(E))
|
|
3207
3209
|
throw new _n(g, "function", o);
|
|
3208
|
-
var m = me(
|
|
3210
|
+
var m = me(p, t, r, n, i, s), C = E(m.map(function(B) {
|
|
3209
3211
|
return B.value;
|
|
3210
3212
|
}));
|
|
3211
3213
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
3212
3214
|
return {
|
|
3213
|
-
type: typeof B == "string" ?
|
|
3215
|
+
type: typeof B == "string" ? O.literal : O.object,
|
|
3214
3216
|
value: B
|
|
3215
3217
|
};
|
|
3216
3218
|
}));
|
|
3217
3219
|
}
|
|
3218
|
-
if (
|
|
3219
|
-
var A = h.options[
|
|
3220
|
+
if (Bt(h)) {
|
|
3221
|
+
var A = h.options[f] || h.options.other;
|
|
3220
3222
|
if (!A)
|
|
3221
|
-
throw new
|
|
3223
|
+
throw new st(h.value, f, Object.keys(h.options), o);
|
|
3222
3224
|
u.push.apply(u, me(A.value, t, r, n, i));
|
|
3223
3225
|
continue;
|
|
3224
3226
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var A = h.options["=".concat(
|
|
3227
|
+
if (St(h)) {
|
|
3228
|
+
var A = h.options["=".concat(f)];
|
|
3227
3229
|
if (!A) {
|
|
3228
3230
|
if (!Intl.PluralRules)
|
|
3229
3231
|
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3230
3232
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3231
3233
|
`, q.MISSING_INTL_API, o);
|
|
3232
|
-
var
|
|
3233
|
-
A = h.options[
|
|
3234
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3235
|
+
A = h.options[w] || h.options.other;
|
|
3234
3236
|
}
|
|
3235
3237
|
if (!A)
|
|
3236
|
-
throw new
|
|
3237
|
-
u.push.apply(u, me(A.value, t, r, n, i,
|
|
3238
|
+
throw new st(h.value, f, Object.keys(h.options), o);
|
|
3239
|
+
u.push.apply(u, me(A.value, t, r, n, i, f - (h.offset || 0)));
|
|
3238
3240
|
continue;
|
|
3239
3241
|
}
|
|
3240
3242
|
}
|
|
@@ -3250,7 +3252,7 @@ function Tn(e, t) {
|
|
|
3250
3252
|
return r[n] = vn(e[n], t[n]), r;
|
|
3251
3253
|
}, x({}, e)) : e;
|
|
3252
3254
|
}
|
|
3253
|
-
function
|
|
3255
|
+
function Oe(e) {
|
|
3254
3256
|
return {
|
|
3255
3257
|
create: function() {
|
|
3256
3258
|
return {
|
|
@@ -3275,7 +3277,7 @@ function Cn(e) {
|
|
|
3275
3277
|
r[n] = arguments[n];
|
|
3276
3278
|
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3277
3279
|
}, {
|
|
3278
|
-
cache:
|
|
3280
|
+
cache: Oe(e.number),
|
|
3279
3281
|
strategy: Be.variadic
|
|
3280
3282
|
}),
|
|
3281
3283
|
getDateTimeFormat: Ae(function() {
|
|
@@ -3283,7 +3285,7 @@ function Cn(e) {
|
|
|
3283
3285
|
r[n] = arguments[n];
|
|
3284
3286
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3285
3287
|
}, {
|
|
3286
|
-
cache:
|
|
3288
|
+
cache: Oe(e.dateTime),
|
|
3287
3289
|
strategy: Be.variadic
|
|
3288
3290
|
}),
|
|
3289
3291
|
getPluralRules: Ae(function() {
|
|
@@ -3291,7 +3293,7 @@ function Cn(e) {
|
|
|
3291
3293
|
r[n] = arguments[n];
|
|
3292
3294
|
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3293
3295
|
}, {
|
|
3294
|
-
cache:
|
|
3296
|
+
cache: Oe(e.pluralRules),
|
|
3295
3297
|
strategy: Be.variadic
|
|
3296
3298
|
})
|
|
3297
3299
|
};
|
|
@@ -3310,8 +3312,8 @@ var Hn = (
|
|
|
3310
3312
|
var a = s.formatToParts(l);
|
|
3311
3313
|
if (a.length === 1)
|
|
3312
3314
|
return a[0].value;
|
|
3313
|
-
var h = a.reduce(function(
|
|
3314
|
-
return !
|
|
3315
|
+
var h = a.reduce(function(c, f) {
|
|
3316
|
+
return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3315
3317
|
}, []);
|
|
3316
3318
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3317
3319
|
}, this.formatToParts = function(l) {
|
|
@@ -3328,7 +3330,7 @@ var Hn = (
|
|
|
3328
3330
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3329
3331
|
var o = i || {};
|
|
3330
3332
|
o.formatters;
|
|
3331
|
-
var u =
|
|
3333
|
+
var u = Lr(o, ["formatters"]);
|
|
3332
3334
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3333
3335
|
} else
|
|
3334
3336
|
this.ast = t;
|
|
@@ -3429,60 +3431,60 @@ function An(e, t) {
|
|
|
3429
3431
|
n = void 0;
|
|
3430
3432
|
return n;
|
|
3431
3433
|
}
|
|
3432
|
-
const D = {}, Bn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
3434
|
+
const D = {}, Bn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Ut = (e, t) => {
|
|
3433
3435
|
if (t == null)
|
|
3434
3436
|
return;
|
|
3435
3437
|
if (t in D && e in D[t])
|
|
3436
3438
|
return D[t][e];
|
|
3437
3439
|
const r = ve(t);
|
|
3438
3440
|
for (let n = 0; n < r.length; n++) {
|
|
3439
|
-
const i = r[n], s =
|
|
3441
|
+
const i = r[n], s = On(i, e);
|
|
3440
3442
|
if (s)
|
|
3441
3443
|
return Bn(e, t, s);
|
|
3442
3444
|
}
|
|
3443
3445
|
};
|
|
3444
|
-
let
|
|
3446
|
+
let Xe;
|
|
3445
3447
|
const ue = ye({});
|
|
3446
3448
|
function Sn(e) {
|
|
3447
|
-
return
|
|
3449
|
+
return Xe[e] || null;
|
|
3448
3450
|
}
|
|
3449
|
-
function
|
|
3450
|
-
return e in
|
|
3451
|
+
function Dt(e) {
|
|
3452
|
+
return e in Xe;
|
|
3451
3453
|
}
|
|
3452
|
-
function
|
|
3453
|
-
if (!
|
|
3454
|
+
function On(e, t) {
|
|
3455
|
+
if (!Dt(e))
|
|
3454
3456
|
return null;
|
|
3455
3457
|
const r = Sn(e);
|
|
3456
3458
|
return An(r, t);
|
|
3457
3459
|
}
|
|
3458
|
-
function
|
|
3460
|
+
function wn(e) {
|
|
3459
3461
|
if (e == null)
|
|
3460
3462
|
return;
|
|
3461
3463
|
const t = ve(e);
|
|
3462
3464
|
for (let r = 0; r < t.length; r++) {
|
|
3463
3465
|
const n = t[r];
|
|
3464
|
-
if (
|
|
3466
|
+
if (Dt(n))
|
|
3465
3467
|
return n;
|
|
3466
3468
|
}
|
|
3467
3469
|
}
|
|
3468
|
-
function
|
|
3469
|
-
delete D[e], ue.update((r) => (r[e] =
|
|
3470
|
+
function Gt(e, ...t) {
|
|
3471
|
+
delete D[e], ue.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
|
|
3470
3472
|
}
|
|
3471
3473
|
K(
|
|
3472
3474
|
[ue],
|
|
3473
3475
|
([e]) => Object.keys(e)
|
|
3474
3476
|
);
|
|
3475
|
-
ue.subscribe((e) =>
|
|
3476
|
-
const
|
|
3477
|
+
ue.subscribe((e) => Xe = e);
|
|
3478
|
+
const de = {};
|
|
3477
3479
|
function Pn(e, t) {
|
|
3478
|
-
|
|
3480
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3479
3481
|
}
|
|
3480
|
-
function
|
|
3481
|
-
return
|
|
3482
|
+
function Ft(e) {
|
|
3483
|
+
return de[e];
|
|
3482
3484
|
}
|
|
3483
3485
|
function Nn(e) {
|
|
3484
3486
|
return ve(e).map((t) => {
|
|
3485
|
-
const r =
|
|
3487
|
+
const r = Ft(t);
|
|
3486
3488
|
return [t, r ? [...r] : []];
|
|
3487
3489
|
}).filter(([, t]) => t.length > 0);
|
|
3488
3490
|
}
|
|
@@ -3490,17 +3492,17 @@ function Fe(e) {
|
|
|
3490
3492
|
return e == null ? !1 : ve(e).some(
|
|
3491
3493
|
(t) => {
|
|
3492
3494
|
var r;
|
|
3493
|
-
return (r =
|
|
3495
|
+
return (r = Ft(t)) == null ? void 0 : r.size;
|
|
3494
3496
|
}
|
|
3495
3497
|
);
|
|
3496
3498
|
}
|
|
3497
3499
|
function Ln(e, t) {
|
|
3498
3500
|
return Promise.all(
|
|
3499
3501
|
t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
|
|
3500
|
-
).then((n) =>
|
|
3502
|
+
).then((n) => Gt(e, ...n));
|
|
3501
3503
|
}
|
|
3502
3504
|
const re = {};
|
|
3503
|
-
function
|
|
3505
|
+
function jt(e) {
|
|
3504
3506
|
if (!Fe(e))
|
|
3505
3507
|
return e in re ? re[e] : Promise.resolve();
|
|
3506
3508
|
const t = Nn(e);
|
|
@@ -3510,7 +3512,7 @@ function kt(e) {
|
|
|
3510
3512
|
)
|
|
3511
3513
|
).then(() => {
|
|
3512
3514
|
if (Fe(e))
|
|
3513
|
-
return
|
|
3515
|
+
return jt(e);
|
|
3514
3516
|
delete re[e];
|
|
3515
3517
|
}), re[e];
|
|
3516
3518
|
}
|
|
@@ -3554,23 +3556,23 @@ const In = {
|
|
|
3554
3556
|
function J() {
|
|
3555
3557
|
return $n;
|
|
3556
3558
|
}
|
|
3557
|
-
const
|
|
3558
|
-
var Rn = Object.defineProperty, Un = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors,
|
|
3559
|
-
for (var r in t
|
|
3560
|
-
Gn.call(t, r) &&
|
|
3561
|
-
if (
|
|
3562
|
-
for (var r of
|
|
3563
|
-
Fn.call(t, r) &&
|
|
3559
|
+
const we = ye(!1);
|
|
3560
|
+
var Rn = Object.defineProperty, Un = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
|
|
3561
|
+
for (var r in t)
|
|
3562
|
+
Gn.call(t, r) && at(e, r, t[r]);
|
|
3563
|
+
if (ot)
|
|
3564
|
+
for (var r of ot(t))
|
|
3565
|
+
Fn.call(t, r) && at(e, r, t[r]);
|
|
3564
3566
|
return e;
|
|
3565
3567
|
}, kn = (e, t) => Un(e, Dn(t));
|
|
3566
3568
|
let je;
|
|
3567
3569
|
const be = ye(null);
|
|
3568
|
-
function
|
|
3570
|
+
function ut(e) {
|
|
3569
3571
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3570
3572
|
}
|
|
3571
3573
|
function ve(e, t = J().fallbackLocale) {
|
|
3572
|
-
const r =
|
|
3573
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3574
|
+
const r = ut(e);
|
|
3575
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
|
|
3574
3576
|
}
|
|
3575
3577
|
function k() {
|
|
3576
3578
|
return je ?? void 0;
|
|
@@ -3579,16 +3581,16 @@ be.subscribe((e) => {
|
|
|
3579
3581
|
je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3580
3582
|
});
|
|
3581
3583
|
const Vn = (e) => {
|
|
3582
|
-
if (e &&
|
|
3584
|
+
if (e && wn(e) && Fe(e)) {
|
|
3583
3585
|
const { loadingDelay: t } = J();
|
|
3584
3586
|
let r;
|
|
3585
3587
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3586
|
-
() =>
|
|
3588
|
+
() => we.set(!0),
|
|
3587
3589
|
t
|
|
3588
|
-
) :
|
|
3590
|
+
) : we.set(!0), jt(e).then(() => {
|
|
3589
3591
|
be.set(e);
|
|
3590
3592
|
}).finally(() => {
|
|
3591
|
-
clearTimeout(r),
|
|
3593
|
+
clearTimeout(r), we.set(!1);
|
|
3592
3594
|
});
|
|
3593
3595
|
}
|
|
3594
3596
|
return be.set(e);
|
|
@@ -3601,20 +3603,20 @@ const Vn = (e) => {
|
|
|
3601
3603
|
return i in t ? t[i] : t[i] = e(n);
|
|
3602
3604
|
};
|
|
3603
3605
|
};
|
|
3604
|
-
var Xn = Object.defineProperty, _e = Object.getOwnPropertySymbols,
|
|
3606
|
+
var Xn = Object.defineProperty, _e = Object.getOwnPropertySymbols, kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
3605
3607
|
for (var r in t || (t = {}))
|
|
3606
|
-
|
|
3608
|
+
kt.call(t, r) && ht(e, r, t[r]);
|
|
3607
3609
|
if (_e)
|
|
3608
3610
|
for (var r of _e(t))
|
|
3609
|
-
|
|
3611
|
+
Vt.call(t, r) && ht(e, r, t[r]);
|
|
3610
3612
|
return e;
|
|
3611
3613
|
}, te = (e, t) => {
|
|
3612
3614
|
var r = {};
|
|
3613
3615
|
for (var n in e)
|
|
3614
|
-
|
|
3616
|
+
kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3615
3617
|
if (e != null && _e)
|
|
3616
3618
|
for (var n of _e(e))
|
|
3617
|
-
t.indexOf(n) < 0 &&
|
|
3619
|
+
t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
|
|
3618
3620
|
return r;
|
|
3619
3621
|
};
|
|
3620
3622
|
const oe = (e, t) => {
|
|
@@ -3651,21 +3653,21 @@ const oe = (e, t) => {
|
|
|
3651
3653
|
} = t, n = te(t, [
|
|
3652
3654
|
"locale"
|
|
3653
3655
|
]);
|
|
3654
|
-
return zn(
|
|
3656
|
+
return zn(ze({ locale: r }, n));
|
|
3655
3657
|
}, qn = (e = {}) => {
|
|
3656
3658
|
var t = e, {
|
|
3657
3659
|
locale: r = k()
|
|
3658
3660
|
} = t, n = te(t, [
|
|
3659
3661
|
"locale"
|
|
3660
3662
|
]);
|
|
3661
|
-
return Wn(
|
|
3663
|
+
return Wn(ze({ locale: r }, n));
|
|
3662
3664
|
}, Jn = (e = {}) => {
|
|
3663
3665
|
var t = e, {
|
|
3664
3666
|
locale: r = k()
|
|
3665
3667
|
} = t, n = te(t, [
|
|
3666
3668
|
"locale"
|
|
3667
3669
|
]);
|
|
3668
|
-
return Zn(
|
|
3670
|
+
return Zn(ze({ locale: r }, n));
|
|
3669
3671
|
}, Yn = Te(
|
|
3670
3672
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3671
3673
|
(e, t = k()) => new Hn(e, t, J().formats, {
|
|
@@ -3684,7 +3686,7 @@ const oe = (e, t) => {
|
|
|
3684
3686
|
throw new Error(
|
|
3685
3687
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3686
3688
|
);
|
|
3687
|
-
let h =
|
|
3689
|
+
let h = Ut(e, l);
|
|
3688
3690
|
if (!h)
|
|
3689
3691
|
h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3690
3692
|
else if (typeof h != "string")
|
|
@@ -3693,17 +3695,17 @@ const oe = (e, t) => {
|
|
|
3693
3695
|
), h;
|
|
3694
3696
|
if (!u)
|
|
3695
3697
|
return h;
|
|
3696
|
-
let
|
|
3698
|
+
let c = h;
|
|
3697
3699
|
try {
|
|
3698
|
-
|
|
3699
|
-
} catch (
|
|
3700
|
-
|
|
3700
|
+
c = Yn(h, l).format(u);
|
|
3701
|
+
} catch (f) {
|
|
3702
|
+
f instanceof Error && console.warn(
|
|
3701
3703
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3702
|
-
|
|
3704
|
+
f.message
|
|
3703
3705
|
);
|
|
3704
3706
|
}
|
|
3705
|
-
return
|
|
3706
|
-
}, ei = (e, t) => Jn(t).format(e), ti = (e, t) => qn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = k()) =>
|
|
3707
|
+
return c;
|
|
3708
|
+
}, ei = (e, t) => Jn(t).format(e), ti = (e, t) => qn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = k()) => Ut(e, t), ii = K([ee, ue], () => Kn);
|
|
3707
3709
|
K([ee], () => ei);
|
|
3708
3710
|
K([ee], () => ti);
|
|
3709
3711
|
K([ee], () => ri);
|
|
@@ -3731,8 +3733,8 @@ function ai(e, t, r) {
|
|
|
3731
3733
|
});
|
|
3732
3734
|
}
|
|
3733
3735
|
}
|
|
3734
|
-
function
|
|
3735
|
-
|
|
3736
|
+
function lt(e, t) {
|
|
3737
|
+
Gt(e, t);
|
|
3736
3738
|
}
|
|
3737
3739
|
function ui(e) {
|
|
3738
3740
|
ee.set(e);
|
|
@@ -3848,13 +3850,13 @@ const ft = {
|
|
|
3848
3850
|
}
|
|
3849
3851
|
};
|
|
3850
3852
|
function hi(e) {
|
|
3851
|
-
|
|
3853
|
+
qt(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}");
|
|
3852
3854
|
}
|
|
3853
|
-
function
|
|
3855
|
+
function ct(e, t, r) {
|
|
3854
3856
|
const n = e.slice();
|
|
3855
3857
|
return n[23] = t[r], n;
|
|
3856
3858
|
}
|
|
3857
|
-
function
|
|
3859
|
+
function gt(e, t, r) {
|
|
3858
3860
|
const n = e.slice();
|
|
3859
3861
|
return n[23] = t[r], n;
|
|
3860
3862
|
}
|
|
@@ -3865,78 +3867,78 @@ function li(e) {
|
|
|
3865
3867
|
), i, s, o, u, l = (
|
|
3866
3868
|
/*$_*/
|
|
3867
3869
|
e[5]("otherCategories") + ""
|
|
3868
|
-
), a, h,
|
|
3870
|
+
), a, h, c = fe(
|
|
3869
3871
|
/*topCategories*/
|
|
3870
3872
|
e[3]
|
|
3871
|
-
),
|
|
3872
|
-
for (let g = 0; g <
|
|
3873
|
-
|
|
3874
|
-
let
|
|
3873
|
+
), f = [];
|
|
3874
|
+
for (let g = 0; g < c.length; g += 1)
|
|
3875
|
+
f[g] = mt(gt(e, c, g));
|
|
3876
|
+
let d = fe(
|
|
3875
3877
|
/*otherCategories*/
|
|
3876
3878
|
e[4]
|
|
3877
|
-
),
|
|
3878
|
-
for (let g = 0; g <
|
|
3879
|
-
|
|
3879
|
+
), p = [];
|
|
3880
|
+
for (let g = 0; g < d.length; g += 1)
|
|
3881
|
+
p[g] = dt(ct(e, d, g));
|
|
3880
3882
|
return {
|
|
3881
3883
|
c() {
|
|
3882
3884
|
t = S("div"), r = S("h4"), i = U(n), s = R();
|
|
3883
|
-
for (let g = 0; g <
|
|
3884
|
-
|
|
3885
|
+
for (let g = 0; g < f.length; g += 1)
|
|
3886
|
+
f[g].c();
|
|
3885
3887
|
o = R(), u = S("h4"), a = U(l), h = R();
|
|
3886
|
-
for (let g = 0; g <
|
|
3887
|
-
|
|
3888
|
+
for (let g = 0; g < p.length; g += 1)
|
|
3889
|
+
p[g].c();
|
|
3888
3890
|
L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
|
|
3889
3891
|
},
|
|
3890
3892
|
m(g, E) {
|
|
3891
3893
|
Y(g, t, E), v(t, r), v(r, i), v(t, s);
|
|
3892
|
-
for (let m = 0; m <
|
|
3893
|
-
|
|
3894
|
+
for (let m = 0; m < f.length; m += 1)
|
|
3895
|
+
f[m] && f[m].m(t, null);
|
|
3894
3896
|
v(t, o), v(t, u), v(u, a), v(t, h);
|
|
3895
|
-
for (let m = 0; m <
|
|
3896
|
-
|
|
3897
|
+
for (let m = 0; m < p.length; m += 1)
|
|
3898
|
+
p[m] && p[m].m(t, null);
|
|
3897
3899
|
},
|
|
3898
3900
|
p(g, E) {
|
|
3899
3901
|
if (E & /*$_*/
|
|
3900
3902
|
32 && n !== (n = /*$_*/
|
|
3901
3903
|
g[5]("topCategories") + "") && G(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3902
3904
|
105) {
|
|
3903
|
-
|
|
3905
|
+
c = fe(
|
|
3904
3906
|
/*topCategories*/
|
|
3905
3907
|
g[3]
|
|
3906
3908
|
);
|
|
3907
3909
|
let m;
|
|
3908
|
-
for (m = 0; m <
|
|
3909
|
-
const C =
|
|
3910
|
-
|
|
3910
|
+
for (m = 0; m < c.length; m += 1) {
|
|
3911
|
+
const C = gt(g, c, m);
|
|
3912
|
+
f[m] ? f[m].p(C, E) : (f[m] = mt(C), f[m].c(), f[m].m(t, o));
|
|
3911
3913
|
}
|
|
3912
|
-
for (; m <
|
|
3913
|
-
|
|
3914
|
-
|
|
3914
|
+
for (; m < f.length; m += 1)
|
|
3915
|
+
f[m].d(1);
|
|
3916
|
+
f.length = c.length;
|
|
3915
3917
|
}
|
|
3916
3918
|
if (E & /*$_*/
|
|
3917
3919
|
32 && l !== (l = /*$_*/
|
|
3918
3920
|
g[5]("otherCategories") + "") && G(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3919
3921
|
113) {
|
|
3920
|
-
|
|
3922
|
+
d = fe(
|
|
3921
3923
|
/*otherCategories*/
|
|
3922
3924
|
g[4]
|
|
3923
3925
|
);
|
|
3924
3926
|
let m;
|
|
3925
|
-
for (m = 0; m <
|
|
3926
|
-
const C =
|
|
3927
|
-
|
|
3927
|
+
for (m = 0; m < d.length; m += 1) {
|
|
3928
|
+
const C = ct(g, d, m);
|
|
3929
|
+
p[m] ? p[m].p(C, E) : (p[m] = dt(C), p[m].c(), p[m].m(t, null));
|
|
3928
3930
|
}
|
|
3929
|
-
for (; m <
|
|
3930
|
-
|
|
3931
|
-
|
|
3931
|
+
for (; m < p.length; m += 1)
|
|
3932
|
+
p[m].d(1);
|
|
3933
|
+
p.length = d.length;
|
|
3932
3934
|
}
|
|
3933
3935
|
},
|
|
3934
3936
|
d(g) {
|
|
3935
|
-
g && j(t),
|
|
3937
|
+
g && j(t), Qe(f, g), Qe(p, g);
|
|
3936
3938
|
}
|
|
3937
3939
|
};
|
|
3938
3940
|
}
|
|
3939
|
-
function
|
|
3941
|
+
function fi(e) {
|
|
3940
3942
|
let t;
|
|
3941
3943
|
return {
|
|
3942
3944
|
c() {
|
|
@@ -3951,18 +3953,18 @@ function ci(e) {
|
|
|
3951
3953
|
}
|
|
3952
3954
|
};
|
|
3953
3955
|
}
|
|
3954
|
-
function
|
|
3956
|
+
function mt(e) {
|
|
3955
3957
|
let t, r, n, i, s, o, u, l = (
|
|
3956
3958
|
/*category*/
|
|
3957
3959
|
e[23].name + ""
|
|
3958
|
-
), a, h,
|
|
3960
|
+
), a, h, c, f = (
|
|
3959
3961
|
/*category*/
|
|
3960
3962
|
e[23].games.count + ""
|
|
3961
|
-
),
|
|
3963
|
+
), d, p, g = (
|
|
3962
3964
|
/*$_*/
|
|
3963
3965
|
e[5]("games") + ""
|
|
3964
3966
|
), E, m, C, A;
|
|
3965
|
-
function
|
|
3967
|
+
function w() {
|
|
3966
3968
|
return (
|
|
3967
3969
|
/*click_handler*/
|
|
3968
3970
|
e[15](
|
|
@@ -3973,25 +3975,25 @@ function pt(e) {
|
|
|
3973
3975
|
}
|
|
3974
3976
|
return {
|
|
3975
3977
|
c() {
|
|
3976
|
-
t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(),
|
|
3978
|
+
t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), d = U(f), p = R(), E = U(g), pe(r.src, n = /*category*/
|
|
3977
3979
|
e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
|
|
3978
3980
|
e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
|
|
3979
3981
|
(e[0] === /*category*/
|
|
3980
3982
|
e[23].id ? "Active" : ""));
|
|
3981
3983
|
},
|
|
3982
3984
|
m(B, H) {
|
|
3983
|
-
Y(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o,
|
|
3985
|
+
Y(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), C || (A = yt(t, "click", w), C = !0);
|
|
3984
3986
|
},
|
|
3985
3987
|
p(B, H) {
|
|
3986
3988
|
e = B, H & /*topCategories*/
|
|
3987
|
-
8 && !
|
|
3989
|
+
8 && !pe(r.src, n = /*category*/
|
|
3988
3990
|
e[23].icon) && $(r, "src", n), H & /*topCategories*/
|
|
3989
3991
|
8 && i !== (i = /*category*/
|
|
3990
3992
|
e[23].name) && $(r, "alt", i), H & /*topCategories*/
|
|
3991
3993
|
8 && l !== (l = /*category*/
|
|
3992
3994
|
e[23].name + "") && G(a, l), H & /*topCategories*/
|
|
3993
|
-
8 &&
|
|
3994
|
-
e[23].games.count + "") && G(
|
|
3995
|
+
8 && f !== (f = /*category*/
|
|
3996
|
+
e[23].games.count + "") && G(d, f), H & /*$_*/
|
|
3995
3997
|
32 && g !== (g = /*$_*/
|
|
3996
3998
|
e[5]("games") + "") && G(E, g), H & /*activecategory, topCategories*/
|
|
3997
3999
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4007,13 +4009,13 @@ function dt(e) {
|
|
|
4007
4009
|
let t, r, n, i, s, o, u, l = (
|
|
4008
4010
|
/*category*/
|
|
4009
4011
|
e[23].name + ""
|
|
4010
|
-
), a, h,
|
|
4012
|
+
), a, h, c, f = (
|
|
4011
4013
|
/*category*/
|
|
4012
4014
|
e[23].games.count + ""
|
|
4013
|
-
),
|
|
4015
|
+
), d, p, g = (
|
|
4014
4016
|
/*$_*/
|
|
4015
4017
|
e[5]("games") + ""
|
|
4016
|
-
), E, m, C, A,
|
|
4018
|
+
), E, m, C, A, w;
|
|
4017
4019
|
function B() {
|
|
4018
4020
|
return (
|
|
4019
4021
|
/*click_handler_1*/
|
|
@@ -4025,25 +4027,25 @@ function dt(e) {
|
|
|
4025
4027
|
}
|
|
4026
4028
|
return {
|
|
4027
4029
|
c() {
|
|
4028
|
-
t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(),
|
|
4030
|
+
t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), d = U(f), p = R(), E = U(g), m = R(), pe(r.src, n = /*category*/
|
|
4029
4031
|
e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
|
|
4030
4032
|
e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", C = "Category " + /*activecategory*/
|
|
4031
4033
|
(e[0] === /*category*/
|
|
4032
4034
|
e[23].id ? "Active" : ""));
|
|
4033
4035
|
},
|
|
4034
4036
|
m(H, P) {
|
|
4035
|
-
Y(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o,
|
|
4037
|
+
Y(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), A || (w = yt(t, "click", B), A = !0);
|
|
4036
4038
|
},
|
|
4037
4039
|
p(H, P) {
|
|
4038
4040
|
e = H, P & /*otherCategories*/
|
|
4039
|
-
16 && !
|
|
4041
|
+
16 && !pe(r.src, n = /*category*/
|
|
4040
4042
|
e[23].icon) && $(r, "src", n), P & /*otherCategories*/
|
|
4041
4043
|
16 && i !== (i = /*category*/
|
|
4042
4044
|
e[23].name) && $(r, "alt", i), P & /*otherCategories*/
|
|
4043
4045
|
16 && l !== (l = /*category*/
|
|
4044
4046
|
e[23].name + "") && G(a, l), P & /*otherCategories*/
|
|
4045
|
-
16 &&
|
|
4046
|
-
e[23].games.count + "") && G(
|
|
4047
|
+
16 && f !== (f = /*category*/
|
|
4048
|
+
e[23].games.count + "") && G(d, f), P & /*$_*/
|
|
4047
4049
|
32 && g !== (g = /*$_*/
|
|
4048
4050
|
e[5]("games") + "") && G(E, g), P & /*activecategory, otherCategories*/
|
|
4049
4051
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4051,16 +4053,16 @@ function dt(e) {
|
|
|
4051
4053
|
e[23].id ? "Active" : "")) && L(t, "class", C);
|
|
4052
4054
|
},
|
|
4053
4055
|
d(H) {
|
|
4054
|
-
H && j(t), A = !1,
|
|
4056
|
+
H && j(t), A = !1, w();
|
|
4055
4057
|
}
|
|
4056
4058
|
};
|
|
4057
4059
|
}
|
|
4058
|
-
function
|
|
4060
|
+
function ci(e) {
|
|
4059
4061
|
let t;
|
|
4060
4062
|
function r(s, o) {
|
|
4061
4063
|
return (
|
|
4062
4064
|
/*isLoading*/
|
|
4063
|
-
s[2] ?
|
|
4065
|
+
s[2] ? fi : li
|
|
4064
4066
|
);
|
|
4065
4067
|
}
|
|
4066
4068
|
let n = r(e), i = n(e);
|
|
@@ -4083,83 +4085,83 @@ function fi(e) {
|
|
|
4083
4085
|
}
|
|
4084
4086
|
function gi(e, t, r) {
|
|
4085
4087
|
let n;
|
|
4086
|
-
|
|
4087
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl:
|
|
4088
|
+
Qt(e, ii, (b) => r(5, n = b));
|
|
4089
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
|
|
4088
4090
|
const g = [];
|
|
4089
4091
|
let E = [], m = [];
|
|
4090
4092
|
Object.keys(ft).forEach((b) => {
|
|
4091
|
-
|
|
4093
|
+
lt(b, ft[b]);
|
|
4092
4094
|
});
|
|
4093
4095
|
const C = () => {
|
|
4094
|
-
fetch(
|
|
4096
|
+
fetch(c).then((M) => M.json()).then((M) => {
|
|
4095
4097
|
Object.keys(M).forEach((he) => {
|
|
4096
|
-
|
|
4098
|
+
lt(he, M[he]);
|
|
4097
4099
|
});
|
|
4098
4100
|
}).catch((M) => {
|
|
4099
4101
|
console.log(M);
|
|
4100
4102
|
});
|
|
4101
4103
|
}, A = () => {
|
|
4102
|
-
r(2,
|
|
4104
|
+
r(2, p = !0);
|
|
4103
4105
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4104
4106
|
b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
|
|
4105
|
-
r(2,
|
|
4107
|
+
r(2, p = !1);
|
|
4106
4108
|
const he = l.split(",").map((F) => F.trim());
|
|
4107
4109
|
g.push(...M.items);
|
|
4108
|
-
const
|
|
4109
|
-
r(3, E =
|
|
4110
|
+
const We = g.filter((F) => !he.some((Wt) => F.flags?.indexOf(Wt) >= 0));
|
|
4111
|
+
r(3, E = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
|
|
4110
4112
|
});
|
|
4111
|
-
},
|
|
4113
|
+
}, w = (b) => {
|
|
4112
4114
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4113
4115
|
}, B = () => {
|
|
4114
4116
|
ui(o);
|
|
4115
4117
|
};
|
|
4116
|
-
|
|
4118
|
+
rr(() => () => {
|
|
4117
4119
|
});
|
|
4118
|
-
const H = (b) =>
|
|
4119
|
-
function
|
|
4120
|
+
const H = (b) => w(b.id), P = (b) => w(b.id);
|
|
4121
|
+
function zt(b) {
|
|
4120
4122
|
Pe[b ? "unshift" : "push"](() => {
|
|
4121
|
-
|
|
4123
|
+
d = b, r(1, d);
|
|
4122
4124
|
});
|
|
4123
4125
|
}
|
|
4124
4126
|
return e.$$set = (b) => {
|
|
4125
|
-
"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, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13,
|
|
4127
|
+
"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, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4126
4128
|
}, e.$$.update = () => {
|
|
4127
4129
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4128
4130
|
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4129
|
-
8192 &&
|
|
4131
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4130
4132
|
512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4131
|
-
2050 && a &&
|
|
4132
|
-
4098 && h &&
|
|
4133
|
-
16386 &&
|
|
4133
|
+
2050 && a && d && si(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4134
|
+
4098 && h && d && oi(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4135
|
+
16386 && f && d && ai(d, `${f}.Style`);
|
|
4134
4136
|
}, [
|
|
4135
4137
|
u,
|
|
4136
|
-
p,
|
|
4137
4138
|
d,
|
|
4139
|
+
p,
|
|
4138
4140
|
E,
|
|
4139
4141
|
m,
|
|
4140
4142
|
n,
|
|
4141
|
-
|
|
4143
|
+
w,
|
|
4142
4144
|
i,
|
|
4143
4145
|
s,
|
|
4144
4146
|
o,
|
|
4145
4147
|
l,
|
|
4146
4148
|
a,
|
|
4147
4149
|
h,
|
|
4148
|
-
f,
|
|
4149
4150
|
c,
|
|
4151
|
+
f,
|
|
4150
4152
|
H,
|
|
4151
4153
|
P,
|
|
4152
|
-
|
|
4154
|
+
zt
|
|
4153
4155
|
];
|
|
4154
4156
|
}
|
|
4155
|
-
class
|
|
4157
|
+
class Xt extends mr {
|
|
4156
4158
|
constructor(t) {
|
|
4157
|
-
super(),
|
|
4159
|
+
super(), cr(
|
|
4158
4160
|
this,
|
|
4159
4161
|
t,
|
|
4160
4162
|
gi,
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
+
ci,
|
|
4164
|
+
bt,
|
|
4163
4165
|
{
|
|
4164
4166
|
endpoint: 7,
|
|
4165
4167
|
datasource: 8,
|
|
@@ -4229,42 +4231,42 @@ class zt extends pr {
|
|
|
4229
4231
|
this.$$set({ mbsource: t }), I();
|
|
4230
4232
|
}
|
|
4231
4233
|
}
|
|
4232
|
-
|
|
4233
|
-
const
|
|
4234
|
+
gr(Xt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4235
|
+
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4234
4236
|
__proto__: null,
|
|
4235
|
-
default:
|
|
4237
|
+
default: Xt
|
|
4236
4238
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4237
4239
|
export {
|
|
4238
4240
|
ee as $,
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4241
|
+
di as A,
|
|
4242
|
+
Qe as B,
|
|
4243
|
+
pe as C,
|
|
4244
|
+
pi as D,
|
|
4245
|
+
mr as S,
|
|
4246
|
+
Gt as a,
|
|
4247
|
+
qt as b,
|
|
4248
|
+
gr as c,
|
|
4247
4249
|
R as d,
|
|
4248
4250
|
S as e,
|
|
4249
4251
|
I as f,
|
|
4250
4252
|
L as g,
|
|
4251
4253
|
$ as h,
|
|
4252
|
-
|
|
4254
|
+
cr as i,
|
|
4253
4255
|
Y as j,
|
|
4254
4256
|
v as k,
|
|
4255
|
-
|
|
4257
|
+
yt as l,
|
|
4256
4258
|
G as m,
|
|
4257
4259
|
N as n,
|
|
4258
4260
|
j as o,
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
+
Qt as p,
|
|
4262
|
+
rr as q,
|
|
4261
4263
|
ae as r,
|
|
4262
|
-
|
|
4264
|
+
bt as s,
|
|
4263
4265
|
U as t,
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4266
|
+
Pe as u,
|
|
4267
|
+
si as v,
|
|
4268
|
+
oi as w,
|
|
4269
|
+
ai as x,
|
|
4268
4270
|
ii as y,
|
|
4269
|
-
|
|
4271
|
+
fe as z
|
|
4270
4272
|
};
|