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