@everymatrix/casino-categories-providers 1.59.3 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategories-GrgaECxI.js → CasinoCategories-CkBZnT1R.js} +491 -489
- package/components/{CasinoCategories-Cl1vb7Iw.js → CasinoCategories-CpYuQZ7U.js} +476 -474
- package/components/CasinoCategories-DqO2b02B.cjs +16 -0
- package/components/{CasinoCategoriesProviders-D4jrn9wT.js → CasinoCategoriesProviders-BDw-rk5g.js} +17 -17
- package/components/{CasinoCategoriesProviders-8HyBL4Bw.cjs → CasinoCategoriesProviders-BG-FGTs-.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-CXpOIgNg.js → CasinoCategoriesProviders-De_6ATE1.js} +19 -19
- package/components/{CasinoProviders-C4awh8Q2.js → CasinoProviders-Cm7soutR.js} +36 -36
- package/components/{CasinoProviders-CHLIrxIw.cjs → CasinoProviders-DJlmVQlk.cjs} +1 -1
- package/components/{CasinoProviders-DMLkADjv.js → CasinoProviders-DsL3JzjC.js} +36 -36
- 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/components/CasinoCategories-BLC8WVao.cjs +0 -16
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ce = (e, t, r) => t in e ?
|
|
1
|
+
var tr = Object.defineProperty, rr = Object.defineProperties;
|
|
2
|
+
var nr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ce = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ir.call(t, r) && Ce(e, r, t[r]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var r of Je(t))
|
|
10
|
+
sr.call(t, r) && Ce(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ke = (e, t) => rr(e, nr(t));
|
|
13
13
|
var L = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -29,29 +29,29 @@ var Ye = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function I() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Tt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function tt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ae(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Tt);
|
|
40
40
|
}
|
|
41
41
|
function Ve(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ct(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let le;
|
|
48
48
|
function de(e, t) {
|
|
49
49
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function or(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Ht(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Tt(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function ar(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
65
65
|
}
|
|
66
66
|
function v(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function ur(e, t, r) {
|
|
70
|
+
const n = hr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = w("style");
|
|
73
|
+
i.id = t, i.textContent = r, lr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function hr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function ar(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function lr(e, t) {
|
|
87
87
|
return v(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -96,11 +96,11 @@ function Y(e, t, r) {
|
|
|
96
96
|
function j(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function rt(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function w(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
106
|
function U(e) {
|
|
@@ -109,27 +109,27 @@ function U(e) {
|
|
|
109
109
|
function R() {
|
|
110
110
|
return U(" ");
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Ai() {
|
|
113
113
|
return U("");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function At(e, t, r, n) {
|
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
117
117
|
}
|
|
118
118
|
function H(e, t, r) {
|
|
119
119
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Bi(e, t, r) {
|
|
122
122
|
const n = t.toLowerCase();
|
|
123
123
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function cr(e) {
|
|
126
126
|
return Array.from(e.childNodes);
|
|
127
127
|
}
|
|
128
128
|
function G(e, t) {
|
|
129
129
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
130
130
|
t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function fr(e) {
|
|
133
133
|
const t = {};
|
|
134
134
|
return e.childNodes.forEach(
|
|
135
135
|
/** @param {Element} node */
|
|
@@ -142,20 +142,20 @@ let ie;
|
|
|
142
142
|
function ne(e) {
|
|
143
143
|
ie = e;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function gr() {
|
|
146
146
|
if (!ie)
|
|
147
147
|
throw new Error("Function called outside component initialization");
|
|
148
148
|
return ie;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
150
|
+
function mr(e) {
|
|
151
|
+
gr().$$.on_mount.push(e);
|
|
152
152
|
}
|
|
153
153
|
const z = [], Ne = [];
|
|
154
154
|
let W = [];
|
|
155
|
-
const
|
|
155
|
+
const nt = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
156
156
|
let Le = !1;
|
|
157
|
-
function
|
|
158
|
-
Le || (Le = !0,
|
|
157
|
+
function dr() {
|
|
158
|
+
Le || (Le = !0, pr.then(M));
|
|
159
159
|
}
|
|
160
160
|
function Ie(e) {
|
|
161
161
|
W.push(e);
|
|
@@ -170,7 +170,7 @@ function M() {
|
|
|
170
170
|
try {
|
|
171
171
|
for (; V < z.length; ) {
|
|
172
172
|
const t = z[V];
|
|
173
|
-
V++, ne(t),
|
|
173
|
+
V++, ne(t), br(t.$$);
|
|
174
174
|
}
|
|
175
175
|
} catch (t) {
|
|
176
176
|
throw z.length = 0, V = 0, t;
|
|
@@ -183,43 +183,43 @@ function M() {
|
|
|
183
183
|
}
|
|
184
184
|
W.length = 0;
|
|
185
185
|
} while (z.length);
|
|
186
|
-
for (;
|
|
187
|
-
|
|
186
|
+
for (; nt.length; )
|
|
187
|
+
nt.pop()();
|
|
188
188
|
Le = !1, He.clear(), ne(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function br(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
192
|
e.update(), ae(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
194
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function yr(e) {
|
|
198
198
|
const t = [], r = [];
|
|
199
199
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const _r = /* @__PURE__ */ new Set();
|
|
202
|
+
function xr(e, t) {
|
|
203
|
+
e && e.i && (_r.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function ce(e) {
|
|
206
206
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Er(e, t, r) {
|
|
209
209
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
210
|
n && n.m(t, r), Ie(() => {
|
|
211
|
-
const s = e.$$.on_mount.map(
|
|
211
|
+
const s = e.$$.on_mount.map(Tt).filter(Ve);
|
|
212
212
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
|
|
213
213
|
}), i.forEach(Ie);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function vr(e, t) {
|
|
216
216
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
217
|
+
r.fragment !== null && (yr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
|
219
|
+
function Tr(e, t) {
|
|
220
|
+
e.$$.dirty[0] === -1 && (z.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
223
223
|
const h = ie;
|
|
224
224
|
ne(e);
|
|
225
225
|
const a = e.$$ = {
|
|
@@ -229,7 +229,7 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
229
229
|
props: s,
|
|
230
230
|
update: I,
|
|
231
231
|
not_equal: i,
|
|
232
|
-
bound:
|
|
232
|
+
bound: tt(),
|
|
233
233
|
// lifecycle
|
|
234
234
|
on_mount: [],
|
|
235
235
|
on_destroy: [],
|
|
@@ -238,28 +238,28 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
238
238
|
after_update: [],
|
|
239
239
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
240
240
|
// everything else
|
|
241
|
-
callbacks:
|
|
241
|
+
callbacks: tt(),
|
|
242
242
|
dirty: u,
|
|
243
243
|
skip_bound: !1,
|
|
244
244
|
root: t.target || h.$$.root
|
|
245
245
|
};
|
|
246
246
|
o && o(a.root);
|
|
247
247
|
let l = !1;
|
|
248
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
|
249
|
-
const d = p.length ? p[0] :
|
|
250
|
-
return a.ctx && i(a.ctx[
|
|
248
|
+
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
249
|
+
const d = p.length ? p[0] : c;
|
|
250
|
+
return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), l && Tr(e, f)), c;
|
|
251
251
|
}) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
252
252
|
if (t.hydrate) {
|
|
253
|
-
const
|
|
254
|
-
a.fragment && a.fragment.l(
|
|
253
|
+
const f = cr(t.target);
|
|
254
|
+
a.fragment && a.fragment.l(f), f.forEach(j);
|
|
255
255
|
} else
|
|
256
256
|
a.fragment && a.fragment.c();
|
|
257
|
-
t.intro &&
|
|
257
|
+
t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
|
|
258
258
|
}
|
|
259
259
|
ne(h);
|
|
260
260
|
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
261
|
+
let Bt;
|
|
262
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
263
263
|
constructor(t, r, n) {
|
|
264
264
|
super();
|
|
265
265
|
/** The Svelte component constructor */
|
|
@@ -296,14 +296,14 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
connectedCallback() {
|
|
299
|
-
return
|
|
299
|
+
return et(this, null, function* () {
|
|
300
300
|
if (this.$$cn = !0, !this.$$c) {
|
|
301
301
|
let t = function(s) {
|
|
302
302
|
return () => {
|
|
303
303
|
let o;
|
|
304
304
|
return {
|
|
305
305
|
c: function() {
|
|
306
|
-
o =
|
|
306
|
+
o = w("slot"), s !== "default" && H(o, "name", s);
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
309
|
* @param {HTMLElement} target
|
|
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
320
320
|
};
|
|
321
321
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
322
322
|
return;
|
|
323
|
-
const r = {}, n =
|
|
323
|
+
const r = {}, n = fr(this);
|
|
324
324
|
for (const s of this.$$s)
|
|
325
325
|
s in n && (r[s] = [t(s)]);
|
|
326
326
|
for (const s of this.attributes) {
|
|
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
331
331
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
332
332
|
this.$$c = new this.$$ctor({
|
|
333
333
|
target: this.shadowRoot || this,
|
|
334
|
-
props:
|
|
334
|
+
props: Ke(Ye({}, this.$$d), {
|
|
335
335
|
$$slots: r,
|
|
336
336
|
$$scope: {
|
|
337
337
|
ctx: []
|
|
@@ -409,8 +409,8 @@ function ge(e, t, r, n) {
|
|
|
409
409
|
return t;
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
413
|
-
let o = class extends
|
|
412
|
+
function Hr(e, t, r, n, i, s) {
|
|
413
|
+
let o = class extends Bt {
|
|
414
414
|
constructor() {
|
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
|
416
416
|
}
|
|
@@ -440,7 +440,7 @@ function Tr(e, t, r, n, i, s) {
|
|
|
440
440
|
}), e.element = /** @type {any} */
|
|
441
441
|
o, o;
|
|
442
442
|
}
|
|
443
|
-
class
|
|
443
|
+
class Ar {
|
|
444
444
|
constructor() {
|
|
445
445
|
/**
|
|
446
446
|
* ### PRIVATE API
|
|
@@ -461,7 +461,7 @@ class Cr {
|
|
|
461
461
|
}
|
|
462
462
|
/** @returns {void} */
|
|
463
463
|
$destroy() {
|
|
464
|
-
|
|
464
|
+
vr(this, 1), this.$destroy = I;
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -483,13 +483,13 @@ class Cr {
|
|
|
483
483
|
* @returns {void}
|
|
484
484
|
*/
|
|
485
485
|
$set(t) {
|
|
486
|
-
this.$$set && !
|
|
486
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
489
|
+
const Br = "4";
|
|
490
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
|
|
491
491
|
const X = [];
|
|
492
|
-
function
|
|
492
|
+
function Sr(e, t) {
|
|
493
493
|
return {
|
|
494
494
|
subscribe: _e(e, t).subscribe
|
|
495
495
|
};
|
|
@@ -498,7 +498,7 @@ function _e(e, t = I) {
|
|
|
498
498
|
let r;
|
|
499
499
|
const n = /* @__PURE__ */ new Set();
|
|
500
500
|
function i(u) {
|
|
501
|
-
if (
|
|
501
|
+
if (Ct(e, u) && (e = u, r)) {
|
|
502
502
|
const h = !X.length;
|
|
503
503
|
for (const a of n)
|
|
504
504
|
a[1](), X.push(a, e);
|
|
@@ -525,96 +525,96 @@ function K(e, t, r) {
|
|
|
525
525
|
if (!i.every(Boolean))
|
|
526
526
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
527
527
|
const s = t.length < 2;
|
|
528
|
-
return
|
|
528
|
+
return Sr(r, (o, u) => {
|
|
529
529
|
let h = !1;
|
|
530
530
|
const a = [];
|
|
531
|
-
let l = 0,
|
|
532
|
-
const
|
|
531
|
+
let l = 0, f = I;
|
|
532
|
+
const c = () => {
|
|
533
533
|
if (l)
|
|
534
534
|
return;
|
|
535
|
-
|
|
535
|
+
f();
|
|
536
536
|
const d = t(n ? a[0] : a, o, u);
|
|
537
|
-
s ? o(d) :
|
|
537
|
+
s ? o(d) : f = Ve(d) ? d : I;
|
|
538
538
|
}, p = i.map(
|
|
539
|
-
(d, g) =>
|
|
539
|
+
(d, g) => Ht(
|
|
540
540
|
d,
|
|
541
541
|
(E) => {
|
|
542
|
-
a[g] = E, l &= ~(1 << g), h &&
|
|
542
|
+
a[g] = E, l &= ~(1 << g), h && c();
|
|
543
543
|
},
|
|
544
544
|
() => {
|
|
545
545
|
l |= 1 << g;
|
|
546
546
|
}
|
|
547
547
|
)
|
|
548
548
|
);
|
|
549
|
-
return h = !0,
|
|
550
|
-
ae(p),
|
|
549
|
+
return h = !0, c(), function() {
|
|
550
|
+
ae(p), f(), h = !1;
|
|
551
551
|
};
|
|
552
552
|
});
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function wr(e) {
|
|
555
555
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
556
556
|
}
|
|
557
|
-
var
|
|
558
|
-
return
|
|
557
|
+
var Or = function(t) {
|
|
558
|
+
return Pr(t) && !Nr(t);
|
|
559
559
|
};
|
|
560
|
-
function
|
|
560
|
+
function Pr(e) {
|
|
561
561
|
return !!e && typeof e == "object";
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Nr(e) {
|
|
564
564
|
var t = Object.prototype.toString.call(e);
|
|
565
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
565
|
+
return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
|
|
566
566
|
}
|
|
567
|
-
var
|
|
568
|
-
function
|
|
569
|
-
return e.$$typeof ===
|
|
567
|
+
var Lr = typeof Symbol == "function" && Symbol.for, Ir = Lr ? Symbol.for("react.element") : 60103;
|
|
568
|
+
function Mr(e) {
|
|
569
|
+
return e.$$typeof === Ir;
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function $r(e) {
|
|
572
572
|
return Array.isArray(e) ? [] : {};
|
|
573
573
|
}
|
|
574
574
|
function se(e, t) {
|
|
575
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
575
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z($r(e), e, t) : e;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function Rr(e, t, r) {
|
|
578
578
|
return e.concat(t).map(function(n) {
|
|
579
579
|
return se(n, r);
|
|
580
580
|
});
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function Ur(e, t) {
|
|
583
583
|
if (!t.customMerge)
|
|
584
584
|
return Z;
|
|
585
585
|
var r = t.customMerge(e);
|
|
586
586
|
return typeof r == "function" ? r : Z;
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Dr(e) {
|
|
589
589
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
590
590
|
return Object.propertyIsEnumerable.call(e, t);
|
|
591
591
|
}) : [];
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
return Object.keys(e).concat(
|
|
593
|
+
function it(e) {
|
|
594
|
+
return Object.keys(e).concat(Dr(e));
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function St(e, t) {
|
|
597
597
|
try {
|
|
598
598
|
return t in e;
|
|
599
599
|
} catch (r) {
|
|
600
600
|
return !1;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
603
|
+
function Gr(e, t) {
|
|
604
|
+
return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Fr(e, t, r) {
|
|
607
607
|
var n = {};
|
|
608
|
-
return r.isMergeableObject(e) &&
|
|
608
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
609
609
|
n[i] = se(e[i], r);
|
|
610
|
-
}),
|
|
611
|
-
|
|
610
|
+
}), it(t).forEach(function(i) {
|
|
611
|
+
Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
612
612
|
}), n;
|
|
613
613
|
}
|
|
614
614
|
function Z(e, t, r) {
|
|
615
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
615
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Rr, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = se;
|
|
616
616
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
617
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
617
|
+
return s ? n ? r.arrayMerge(e, t, r) : Fr(e, t, r) : se(t, r);
|
|
618
618
|
}
|
|
619
619
|
Z.all = function(t, r) {
|
|
620
620
|
if (!Array.isArray(t))
|
|
@@ -623,8 +623,8 @@ Z.all = function(t, r) {
|
|
|
623
623
|
return Z(n, i, r);
|
|
624
624
|
}, {});
|
|
625
625
|
};
|
|
626
|
-
var
|
|
627
|
-
const
|
|
626
|
+
var jr = Z, kr = jr;
|
|
627
|
+
const Vr = /* @__PURE__ */ wr(kr);
|
|
628
628
|
/*! *****************************************************************************
|
|
629
629
|
Copyright (c) Microsoft Corporation.
|
|
630
630
|
|
|
@@ -666,7 +666,7 @@ var x = function() {
|
|
|
666
666
|
return t;
|
|
667
667
|
}, x.apply(this, arguments);
|
|
668
668
|
};
|
|
669
|
-
function
|
|
669
|
+
function Xr(e, t) {
|
|
670
670
|
var r = {};
|
|
671
671
|
for (var n in e)
|
|
672
672
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -682,53 +682,55 @@ function Ae(e, t, r) {
|
|
|
682
682
|
return e.concat(s || t);
|
|
683
683
|
}
|
|
684
684
|
function Be(e, t) {
|
|
685
|
-
var r = t && t.cache ? t.cache :
|
|
685
|
+
var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : qr, i = t && t.strategy ? t.strategy : Wr;
|
|
686
686
|
return i(e, {
|
|
687
687
|
cache: r,
|
|
688
688
|
serializer: n
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function zr(e) {
|
|
692
692
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
var i =
|
|
694
|
+
function wt(e, t, r, n) {
|
|
695
|
+
var i = zr(n) ? n : r(n), s = t.get(i);
|
|
696
696
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function Ot(e, t, r) {
|
|
699
699
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
700
700
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function Xe(e, t, r, n, i) {
|
|
703
703
|
return r.bind(t, e, n, i);
|
|
704
704
|
}
|
|
705
|
-
function zr(e, t) {
|
|
706
|
-
var r = e.length === 1 ? Xr : Bt;
|
|
707
|
-
return St(e, this, r, t.cache.create(), t.serializer);
|
|
708
|
-
}
|
|
709
705
|
function Wr(e, t) {
|
|
710
|
-
|
|
706
|
+
var r = e.length === 1 ? wt : Ot;
|
|
707
|
+
return Xe(e, this, r, t.cache.create(), t.serializer);
|
|
708
|
+
}
|
|
709
|
+
function Zr(e, t) {
|
|
710
|
+
return Xe(e, this, Ot, t.cache.create(), t.serializer);
|
|
711
711
|
}
|
|
712
|
-
|
|
712
|
+
function Qr(e, t) {
|
|
713
|
+
return Xe(e, this, wt, t.cache.create(), t.serializer);
|
|
714
|
+
}
|
|
715
|
+
var qr = function() {
|
|
713
716
|
return JSON.stringify(arguments);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}()
|
|
726
|
-
), qr = {
|
|
717
|
+
};
|
|
718
|
+
function ze() {
|
|
719
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
720
|
+
}
|
|
721
|
+
ze.prototype.get = function(e) {
|
|
722
|
+
return this.cache[e];
|
|
723
|
+
};
|
|
724
|
+
ze.prototype.set = function(e, t) {
|
|
725
|
+
this.cache[e] = t;
|
|
726
|
+
};
|
|
727
|
+
var Jr = {
|
|
727
728
|
create: function() {
|
|
728
|
-
return new
|
|
729
|
+
return new ze();
|
|
729
730
|
}
|
|
730
731
|
}, Se = {
|
|
731
|
-
variadic:
|
|
732
|
+
variadic: Zr,
|
|
733
|
+
monadic: Qr
|
|
732
734
|
}, y;
|
|
733
735
|
(function(e) {
|
|
734
736
|
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";
|
|
@@ -741,43 +743,43 @@ var Q;
|
|
|
741
743
|
(function(e) {
|
|
742
744
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
743
745
|
})(Q || (Q = {}));
|
|
744
|
-
function
|
|
746
|
+
function st(e) {
|
|
745
747
|
return e.type === T.literal;
|
|
746
748
|
}
|
|
747
|
-
function
|
|
749
|
+
function Yr(e) {
|
|
748
750
|
return e.type === T.argument;
|
|
749
751
|
}
|
|
750
|
-
function
|
|
752
|
+
function Pt(e) {
|
|
751
753
|
return e.type === T.number;
|
|
752
754
|
}
|
|
753
|
-
function
|
|
755
|
+
function Nt(e) {
|
|
754
756
|
return e.type === T.date;
|
|
755
757
|
}
|
|
756
|
-
function
|
|
758
|
+
function Lt(e) {
|
|
757
759
|
return e.type === T.time;
|
|
758
760
|
}
|
|
759
|
-
function
|
|
761
|
+
function It(e) {
|
|
760
762
|
return e.type === T.select;
|
|
761
763
|
}
|
|
762
|
-
function
|
|
764
|
+
function Mt(e) {
|
|
763
765
|
return e.type === T.plural;
|
|
764
766
|
}
|
|
765
|
-
function
|
|
767
|
+
function Kr(e) {
|
|
766
768
|
return e.type === T.pound;
|
|
767
769
|
}
|
|
768
|
-
function
|
|
770
|
+
function $t(e) {
|
|
769
771
|
return e.type === T.tag;
|
|
770
772
|
}
|
|
771
|
-
function
|
|
773
|
+
function Rt(e) {
|
|
772
774
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
773
775
|
}
|
|
774
776
|
function $e(e) {
|
|
775
777
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
776
778
|
}
|
|
777
|
-
var
|
|
778
|
-
function
|
|
779
|
+
var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
|
|
780
|
+
function tn(e) {
|
|
779
781
|
var t = {};
|
|
780
|
-
return e.replace(
|
|
782
|
+
return e.replace(en, function(r) {
|
|
781
783
|
var n = r.length;
|
|
782
784
|
switch (r[0]) {
|
|
783
785
|
case "G":
|
|
@@ -866,36 +868,36 @@ function en(e) {
|
|
|
866
868
|
return "";
|
|
867
869
|
}), t;
|
|
868
870
|
}
|
|
869
|
-
var
|
|
870
|
-
function
|
|
871
|
+
var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
872
|
+
function nn(e) {
|
|
871
873
|
if (e.length === 0)
|
|
872
874
|
throw new Error("Number skeleton cannot be empty");
|
|
873
|
-
for (var t = e.split(
|
|
874
|
-
return
|
|
875
|
+
for (var t = e.split(rn).filter(function(c) {
|
|
876
|
+
return c.length > 0;
|
|
875
877
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
876
878
|
var s = i[n], o = s.split("/");
|
|
877
879
|
if (o.length === 0)
|
|
878
880
|
throw new Error("Invalid number skeleton");
|
|
879
881
|
for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
|
|
880
|
-
var
|
|
881
|
-
if (
|
|
882
|
+
var f = l[a];
|
|
883
|
+
if (f.length === 0)
|
|
882
884
|
throw new Error("Invalid number skeleton");
|
|
883
885
|
}
|
|
884
886
|
r.push({ stem: u, options: h });
|
|
885
887
|
}
|
|
886
888
|
return r;
|
|
887
889
|
}
|
|
888
|
-
function
|
|
890
|
+
function sn(e) {
|
|
889
891
|
return e.replace(/^(.*?)-/, "");
|
|
890
892
|
}
|
|
891
|
-
var
|
|
892
|
-
function
|
|
893
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
|
|
894
|
+
function at(e) {
|
|
893
895
|
var t = {};
|
|
894
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
896
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
|
|
895
897
|
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)), "";
|
|
896
898
|
}), t;
|
|
897
899
|
}
|
|
898
|
-
function
|
|
900
|
+
function Ft(e) {
|
|
899
901
|
switch (e) {
|
|
900
902
|
case "sign-auto":
|
|
901
903
|
return {
|
|
@@ -935,7 +937,7 @@ function Dt(e) {
|
|
|
935
937
|
};
|
|
936
938
|
}
|
|
937
939
|
}
|
|
938
|
-
function
|
|
940
|
+
function an(e) {
|
|
939
941
|
var t;
|
|
940
942
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
941
943
|
notation: "engineering"
|
|
@@ -943,17 +945,17 @@ function on(e) {
|
|
|
943
945
|
notation: "scientific"
|
|
944
946
|
}, e = e.slice(1)), t) {
|
|
945
947
|
var r = e.slice(0, 2);
|
|
946
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
948
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
|
|
947
949
|
throw new Error("Malformed concise eng/scientific notation");
|
|
948
950
|
t.minimumIntegerDigits = e.length;
|
|
949
951
|
}
|
|
950
952
|
return t;
|
|
951
953
|
}
|
|
952
|
-
function
|
|
953
|
-
var t = {}, r =
|
|
954
|
+
function ut(e) {
|
|
955
|
+
var t = {}, r = Ft(e);
|
|
954
956
|
return r || t;
|
|
955
957
|
}
|
|
956
|
-
function
|
|
958
|
+
function un(e) {
|
|
957
959
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
958
960
|
var i = n[r];
|
|
959
961
|
switch (i.stem) {
|
|
@@ -977,7 +979,7 @@ function an(e) {
|
|
|
977
979
|
continue;
|
|
978
980
|
case "measure-unit":
|
|
979
981
|
case "unit":
|
|
980
|
-
t.style = "unit", t.unit =
|
|
982
|
+
t.style = "unit", t.unit = sn(i.options[0]);
|
|
981
983
|
continue;
|
|
982
984
|
case "compact-short":
|
|
983
985
|
case "K":
|
|
@@ -989,12 +991,12 @@ function an(e) {
|
|
|
989
991
|
continue;
|
|
990
992
|
case "scientific":
|
|
991
993
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
992
|
-
return x(x({}, h),
|
|
994
|
+
return x(x({}, h), ut(a));
|
|
993
995
|
}, {}));
|
|
994
996
|
continue;
|
|
995
997
|
case "engineering":
|
|
996
998
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
997
|
-
return x(x({}, h),
|
|
999
|
+
return x(x({}, h), ut(a));
|
|
998
1000
|
}, {}));
|
|
999
1001
|
continue;
|
|
1000
1002
|
case "notation-simple":
|
|
@@ -1039,11 +1041,11 @@ function an(e) {
|
|
|
1039
1041
|
case "integer-width":
|
|
1040
1042
|
if (i.options.length > 1)
|
|
1041
1043
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1042
|
-
i.options[0].replace(
|
|
1044
|
+
i.options[0].replace(on, function(h, a, l, f, c, p) {
|
|
1043
1045
|
if (a)
|
|
1044
1046
|
t.minimumIntegerDigits = l.length;
|
|
1045
1047
|
else {
|
|
1046
|
-
if (
|
|
1048
|
+
if (f && c)
|
|
1047
1049
|
throw new Error("We currently do not support maximum integer digits");
|
|
1048
1050
|
if (p)
|
|
1049
1051
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1052,32 +1054,32 @@ function an(e) {
|
|
|
1052
1054
|
});
|
|
1053
1055
|
continue;
|
|
1054
1056
|
}
|
|
1055
|
-
if (
|
|
1057
|
+
if (Gt.test(i.stem)) {
|
|
1056
1058
|
t.minimumIntegerDigits = i.stem.length;
|
|
1057
1059
|
continue;
|
|
1058
1060
|
}
|
|
1059
|
-
if (
|
|
1061
|
+
if (ot.test(i.stem)) {
|
|
1060
1062
|
if (i.options.length > 1)
|
|
1061
1063
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1062
|
-
i.stem.replace(
|
|
1063
|
-
return l === "*" ? t.minimumFractionDigits = a.length :
|
|
1064
|
+
i.stem.replace(ot, function(h, a, l, f, c, p) {
|
|
1065
|
+
return l === "*" ? 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), "";
|
|
1064
1066
|
});
|
|
1065
1067
|
var s = i.options[0];
|
|
1066
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1068
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), at(s)));
|
|
1067
1069
|
continue;
|
|
1068
1070
|
}
|
|
1069
|
-
if (
|
|
1070
|
-
t = x(x({}, t),
|
|
1071
|
+
if (Dt.test(i.stem)) {
|
|
1072
|
+
t = x(x({}, t), at(i.stem));
|
|
1071
1073
|
continue;
|
|
1072
1074
|
}
|
|
1073
|
-
var o =
|
|
1075
|
+
var o = Ft(i.stem);
|
|
1074
1076
|
o && (t = x(x({}, t), o));
|
|
1075
|
-
var u =
|
|
1077
|
+
var u = an(i.stem);
|
|
1076
1078
|
u && (t = x(x({}, t), u));
|
|
1077
1079
|
}
|
|
1078
1080
|
return t;
|
|
1079
1081
|
}
|
|
1080
|
-
var
|
|
1082
|
+
var fe = {
|
|
1081
1083
|
"001": [
|
|
1082
1084
|
"H",
|
|
1083
1085
|
"h"
|
|
@@ -2492,13 +2494,13 @@ var ce = {
|
|
|
2492
2494
|
"h"
|
|
2493
2495
|
]
|
|
2494
2496
|
};
|
|
2495
|
-
function
|
|
2497
|
+
function hn(e, t) {
|
|
2496
2498
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2497
2499
|
var i = e.charAt(n);
|
|
2498
2500
|
if (i === "j") {
|
|
2499
2501
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2500
2502
|
s++, n++;
|
|
2501
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a =
|
|
2503
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = ln(t);
|
|
2502
2504
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2503
2505
|
r += h;
|
|
2504
2506
|
for (; o-- > 0; )
|
|
@@ -2508,7 +2510,7 @@ function un(e, t) {
|
|
|
2508
2510
|
}
|
|
2509
2511
|
return r;
|
|
2510
2512
|
}
|
|
2511
|
-
function
|
|
2513
|
+
function ln(e) {
|
|
2512
2514
|
var t = e.hourCycle;
|
|
2513
2515
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2514
2516
|
e.hourCycles && // @ts-ignore
|
|
@@ -2527,23 +2529,23 @@ function hn(e) {
|
|
|
2527
2529
|
}
|
|
2528
2530
|
var r = e.language, n;
|
|
2529
2531
|
r !== "root" && (n = e.maximize().region);
|
|
2530
|
-
var i =
|
|
2532
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2531
2533
|
return i[0];
|
|
2532
2534
|
}
|
|
2533
|
-
var
|
|
2535
|
+
var we, cn = new RegExp("^".concat(Ut.source, "*")), fn = new RegExp("".concat(Ut.source, "*$"));
|
|
2534
2536
|
function _(e, t) {
|
|
2535
2537
|
return { start: e, end: t };
|
|
2536
2538
|
}
|
|
2537
|
-
var
|
|
2539
|
+
var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, pn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
|
|
2538
2540
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2539
2541
|
}, Re = !0;
|
|
2540
2542
|
try {
|
|
2541
|
-
var
|
|
2542
|
-
Re = ((
|
|
2543
|
+
var En = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2544
|
+
Re = ((we = En.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2543
2545
|
} catch (e) {
|
|
2544
2546
|
Re = !1;
|
|
2545
2547
|
}
|
|
2546
|
-
var
|
|
2548
|
+
var ht = gn ? (
|
|
2547
2549
|
// Native
|
|
2548
2550
|
function(t, r, n) {
|
|
2549
2551
|
return t.startsWith(r, n);
|
|
@@ -2553,7 +2555,7 @@ var at = cn ? (
|
|
|
2553
2555
|
function(t, r, n) {
|
|
2554
2556
|
return t.slice(n, n + r.length) === r;
|
|
2555
2557
|
}
|
|
2556
|
-
), Ue =
|
|
2558
|
+
), Ue = mn ? String.fromCodePoint : (
|
|
2557
2559
|
// IE11
|
|
2558
2560
|
function() {
|
|
2559
2561
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2565,9 +2567,9 @@ var at = cn ? (
|
|
|
2565
2567
|
}
|
|
2566
2568
|
return n;
|
|
2567
2569
|
}
|
|
2568
|
-
),
|
|
2570
|
+
), lt = (
|
|
2569
2571
|
// native
|
|
2570
|
-
|
|
2572
|
+
pn ? Object.fromEntries : (
|
|
2571
2573
|
// Ponyfill
|
|
2572
2574
|
function(t) {
|
|
2573
2575
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2577,7 +2579,7 @@ var at = cn ? (
|
|
|
2577
2579
|
return r;
|
|
2578
2580
|
}
|
|
2579
2581
|
)
|
|
2580
|
-
),
|
|
2582
|
+
), jt = dn ? (
|
|
2581
2583
|
// Native
|
|
2582
2584
|
function(t, r) {
|
|
2583
2585
|
return t.codePointAt(r);
|
|
@@ -2591,7 +2593,7 @@ var at = cn ? (
|
|
|
2591
2593
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2592
2594
|
}
|
|
2593
2595
|
}
|
|
2594
|
-
),
|
|
2596
|
+
), vn = bn ? (
|
|
2595
2597
|
// Native
|
|
2596
2598
|
function(t) {
|
|
2597
2599
|
return t.trimStart();
|
|
@@ -2599,9 +2601,9 @@ var at = cn ? (
|
|
|
2599
2601
|
) : (
|
|
2600
2602
|
// Ponyfill
|
|
2601
2603
|
function(t) {
|
|
2602
|
-
return t.replace(
|
|
2604
|
+
return t.replace(cn, "");
|
|
2603
2605
|
}
|
|
2604
|
-
),
|
|
2606
|
+
), Tn = yn ? (
|
|
2605
2607
|
// Native
|
|
2606
2608
|
function(t) {
|
|
2607
2609
|
return t.trimEnd();
|
|
@@ -2612,29 +2614,29 @@ var at = cn ? (
|
|
|
2612
2614
|
return t.replace(fn, "");
|
|
2613
2615
|
}
|
|
2614
2616
|
);
|
|
2615
|
-
function
|
|
2617
|
+
function kt(e, t) {
|
|
2616
2618
|
return new RegExp(e, t);
|
|
2617
2619
|
}
|
|
2618
2620
|
var De;
|
|
2619
2621
|
if (Re) {
|
|
2620
|
-
var
|
|
2622
|
+
var ct = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2621
2623
|
De = function(t, r) {
|
|
2622
2624
|
var n;
|
|
2623
|
-
|
|
2624
|
-
var i =
|
|
2625
|
+
ct.lastIndex = r;
|
|
2626
|
+
var i = ct.exec(t);
|
|
2625
2627
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2626
2628
|
};
|
|
2627
2629
|
} else
|
|
2628
2630
|
De = function(t, r) {
|
|
2629
2631
|
for (var n = []; ; ) {
|
|
2630
|
-
var i =
|
|
2631
|
-
if (i === void 0 ||
|
|
2632
|
+
var i = jt(t, r);
|
|
2633
|
+
if (i === void 0 || Vt(i) || Bn(i))
|
|
2632
2634
|
break;
|
|
2633
2635
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2634
2636
|
}
|
|
2635
2637
|
return Ue.apply(void 0, n);
|
|
2636
2638
|
};
|
|
2637
|
-
var
|
|
2639
|
+
var Cn = (
|
|
2638
2640
|
/** @class */
|
|
2639
2641
|
function() {
|
|
2640
2642
|
function e(t, r) {
|
|
@@ -2716,7 +2718,7 @@ var Tn = (
|
|
|
2716
2718
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2717
2719
|
}, e.prototype.parseTagName = function() {
|
|
2718
2720
|
var t = this.offset();
|
|
2719
|
-
for (this.bump(); !this.isEOF() &&
|
|
2721
|
+
for (this.bump(); !this.isEOF() && An(this.char()); )
|
|
2720
2722
|
this.bump();
|
|
2721
2723
|
return this.message.slice(t, this.offset());
|
|
2722
2724
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2745,7 +2747,7 @@ var Tn = (
|
|
|
2745
2747
|
};
|
|
2746
2748
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2747
2749
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2748
|
-
!
|
|
2750
|
+
!Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2749
2751
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2750
2752
|
if (this.isEOF() || this.char() !== 39)
|
|
2751
2753
|
return null;
|
|
@@ -2829,40 +2831,40 @@ var Tn = (
|
|
|
2829
2831
|
var a = null;
|
|
2830
2832
|
if (this.bumpIf(",")) {
|
|
2831
2833
|
this.bumpSpace();
|
|
2832
|
-
var l = this.clonePosition(),
|
|
2833
|
-
if (
|
|
2834
|
-
return
|
|
2835
|
-
var
|
|
2836
|
-
if (
|
|
2834
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2835
|
+
if (f.err)
|
|
2836
|
+
return f;
|
|
2837
|
+
var c = Tn(f.val);
|
|
2838
|
+
if (c.length === 0)
|
|
2837
2839
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2838
2840
|
var p = _(l, this.clonePosition());
|
|
2839
|
-
a = { style:
|
|
2841
|
+
a = { style: c, styleLocation: p };
|
|
2840
2842
|
}
|
|
2841
2843
|
var d = this.tryParseArgumentClose(i);
|
|
2842
2844
|
if (d.err)
|
|
2843
2845
|
return d;
|
|
2844
2846
|
var g = _(i, this.clonePosition());
|
|
2845
|
-
if (a &&
|
|
2846
|
-
var E =
|
|
2847
|
+
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2848
|
+
var E = vn(a.style.slice(2));
|
|
2847
2849
|
if (u === "number") {
|
|
2848
|
-
var
|
|
2849
|
-
return
|
|
2850
|
-
val: { type: T.number, value: n, location: g, style:
|
|
2850
|
+
var f = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2851
|
+
return f.err ? f : {
|
|
2852
|
+
val: { type: T.number, value: n, location: g, style: f.val },
|
|
2851
2853
|
err: null
|
|
2852
2854
|
};
|
|
2853
2855
|
} else {
|
|
2854
2856
|
if (E.length === 0)
|
|
2855
2857
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2856
2858
|
var m = E;
|
|
2857
|
-
this.locale && (m =
|
|
2858
|
-
var
|
|
2859
|
+
this.locale && (m = hn(E, this.locale));
|
|
2860
|
+
var c = {
|
|
2859
2861
|
type: Q.dateTime,
|
|
2860
2862
|
pattern: m,
|
|
2861
2863
|
location: a.styleLocation,
|
|
2862
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2864
|
+
parsedOptions: this.shouldParseSkeletons ? tn(m) : {}
|
|
2863
2865
|
}, C = u === "date" ? T.date : T.time;
|
|
2864
2866
|
return {
|
|
2865
|
-
val: { type: C, value: n, location: g, style:
|
|
2867
|
+
val: { type: C, value: n, location: g, style: c },
|
|
2866
2868
|
err: null
|
|
2867
2869
|
};
|
|
2868
2870
|
}
|
|
@@ -2889,10 +2891,10 @@ var Tn = (
|
|
|
2889
2891
|
if (!this.bumpIf(":"))
|
|
2890
2892
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2891
2893
|
this.bumpSpace();
|
|
2892
|
-
var
|
|
2893
|
-
if (
|
|
2894
|
-
return
|
|
2895
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(), S =
|
|
2894
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2895
|
+
if (f.err)
|
|
2896
|
+
return f;
|
|
2897
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = f.val;
|
|
2896
2898
|
}
|
|
2897
2899
|
var A = this.tryParsePluralOrSelectOptions(t, u, r, P);
|
|
2898
2900
|
if (A.err)
|
|
@@ -2905,7 +2907,7 @@ var Tn = (
|
|
|
2905
2907
|
val: {
|
|
2906
2908
|
type: T.select,
|
|
2907
2909
|
value: n,
|
|
2908
|
-
options:
|
|
2910
|
+
options: lt(A.val),
|
|
2909
2911
|
location: N
|
|
2910
2912
|
},
|
|
2911
2913
|
err: null
|
|
@@ -2913,7 +2915,7 @@ var Tn = (
|
|
|
2913
2915
|
val: {
|
|
2914
2916
|
type: T.plural,
|
|
2915
2917
|
value: n,
|
|
2916
|
-
options:
|
|
2918
|
+
options: lt(A.val),
|
|
2917
2919
|
offset: S,
|
|
2918
2920
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2919
2921
|
location: N
|
|
@@ -2964,7 +2966,7 @@ var Tn = (
|
|
|
2964
2966
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2965
2967
|
var n = [];
|
|
2966
2968
|
try {
|
|
2967
|
-
n =
|
|
2969
|
+
n = nn(t);
|
|
2968
2970
|
} catch (i) {
|
|
2969
2971
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2970
2972
|
}
|
|
@@ -2973,19 +2975,19 @@ var Tn = (
|
|
|
2973
2975
|
type: Q.number,
|
|
2974
2976
|
tokens: n,
|
|
2975
2977
|
location: r,
|
|
2976
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2978
|
+
parsedOptions: this.shouldParseSkeletons ? un(n) : {}
|
|
2977
2979
|
},
|
|
2978
2980
|
err: null
|
|
2979
2981
|
};
|
|
2980
2982
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2981
2983
|
for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
|
|
2982
2984
|
if (a.length === 0) {
|
|
2983
|
-
var
|
|
2985
|
+
var f = this.clonePosition();
|
|
2984
2986
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2985
|
-
var
|
|
2986
|
-
if (
|
|
2987
|
-
return
|
|
2988
|
-
l = _(
|
|
2987
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2988
|
+
if (c.err)
|
|
2989
|
+
return c;
|
|
2990
|
+
l = _(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
|
|
2989
2991
|
} else
|
|
2990
2992
|
break;
|
|
2991
2993
|
}
|
|
@@ -3021,7 +3023,7 @@ var Tn = (
|
|
|
3021
3023
|
break;
|
|
3022
3024
|
}
|
|
3023
3025
|
var h = _(i, this.clonePosition());
|
|
3024
|
-
return s ? (o *= n,
|
|
3026
|
+
return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3025
3027
|
}, e.prototype.offset = function() {
|
|
3026
3028
|
return this.position.offset;
|
|
3027
3029
|
}, e.prototype.isEOF = function() {
|
|
@@ -3036,7 +3038,7 @@ var Tn = (
|
|
|
3036
3038
|
var t = this.position.offset;
|
|
3037
3039
|
if (t >= this.message.length)
|
|
3038
3040
|
throw Error("out of bound");
|
|
3039
|
-
var r =
|
|
3041
|
+
var r = jt(this.message, t);
|
|
3040
3042
|
if (r === void 0)
|
|
3041
3043
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3042
3044
|
return r;
|
|
@@ -3055,7 +3057,7 @@ var Tn = (
|
|
|
3055
3057
|
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);
|
|
3056
3058
|
}
|
|
3057
3059
|
}, e.prototype.bumpIf = function(t) {
|
|
3058
|
-
if (
|
|
3060
|
+
if (ht(this.message, t, this.offset())) {
|
|
3059
3061
|
for (var r = 0; r < t.length; r++)
|
|
3060
3062
|
this.bump();
|
|
3061
3063
|
return !0;
|
|
@@ -3077,7 +3079,7 @@ var Tn = (
|
|
|
3077
3079
|
break;
|
|
3078
3080
|
}
|
|
3079
3081
|
}, e.prototype.bumpSpace = function() {
|
|
3080
|
-
for (; !this.isEOF() &&
|
|
3082
|
+
for (; !this.isEOF() && Vt(this.char()); )
|
|
3081
3083
|
this.bump();
|
|
3082
3084
|
}, e.prototype.peek = function() {
|
|
3083
3085
|
if (this.isEOF())
|
|
@@ -3090,30 +3092,30 @@ var Tn = (
|
|
|
3090
3092
|
function Ge(e) {
|
|
3091
3093
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3092
3094
|
}
|
|
3093
|
-
function
|
|
3095
|
+
function Hn(e) {
|
|
3094
3096
|
return Ge(e) || e === 47;
|
|
3095
3097
|
}
|
|
3096
|
-
function
|
|
3098
|
+
function An(e) {
|
|
3097
3099
|
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;
|
|
3098
3100
|
}
|
|
3099
|
-
function
|
|
3101
|
+
function Vt(e) {
|
|
3100
3102
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3101
3103
|
}
|
|
3102
|
-
function
|
|
3104
|
+
function Bn(e) {
|
|
3103
3105
|
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;
|
|
3104
3106
|
}
|
|
3105
3107
|
function Fe(e) {
|
|
3106
3108
|
e.forEach(function(t) {
|
|
3107
|
-
if (delete t.location,
|
|
3109
|
+
if (delete t.location, It(t) || Mt(t))
|
|
3108
3110
|
for (var r in t.options)
|
|
3109
3111
|
delete t.options[r].location, Fe(t.options[r].value);
|
|
3110
3112
|
else
|
|
3111
|
-
|
|
3113
|
+
Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : $t(t) && Fe(t.children);
|
|
3112
3114
|
});
|
|
3113
3115
|
}
|
|
3114
|
-
function
|
|
3116
|
+
function Sn(e, t) {
|
|
3115
3117
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3116
|
-
var r = new
|
|
3118
|
+
var r = new Cn(e, t).parse();
|
|
3117
3119
|
if (r.err) {
|
|
3118
3120
|
var n = SyntaxError(y[r.err.kind]);
|
|
3119
3121
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3136,7 +3138,7 @@ var Ee = (
|
|
|
3136
3138
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3137
3139
|
}, t;
|
|
3138
3140
|
}(Error)
|
|
3139
|
-
),
|
|
3141
|
+
), ft = (
|
|
3140
3142
|
/** @class */
|
|
3141
3143
|
function(e) {
|
|
3142
3144
|
xe(t, e);
|
|
@@ -3145,7 +3147,7 @@ var Ee = (
|
|
|
3145
3147
|
}
|
|
3146
3148
|
return t;
|
|
3147
3149
|
}(Ee)
|
|
3148
|
-
),
|
|
3150
|
+
), wn = (
|
|
3149
3151
|
/** @class */
|
|
3150
3152
|
function(e) {
|
|
3151
3153
|
xe(t, e);
|
|
@@ -3163,128 +3165,128 @@ var Ee = (
|
|
|
3163
3165
|
}
|
|
3164
3166
|
return t;
|
|
3165
3167
|
}(Ee)
|
|
3166
|
-
),
|
|
3168
|
+
), O;
|
|
3167
3169
|
(function(e) {
|
|
3168
3170
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3169
|
-
})(
|
|
3170
|
-
function
|
|
3171
|
+
})(O || (O = {}));
|
|
3172
|
+
function Pn(e) {
|
|
3171
3173
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3172
3174
|
var n = t[t.length - 1];
|
|
3173
|
-
return !n || n.type !==
|
|
3175
|
+
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3174
3176
|
}, []);
|
|
3175
3177
|
}
|
|
3176
|
-
function
|
|
3178
|
+
function Nn(e) {
|
|
3177
3179
|
return typeof e == "function";
|
|
3178
3180
|
}
|
|
3179
3181
|
function me(e, t, r, n, i, s, o) {
|
|
3180
|
-
if (e.length === 1 &&
|
|
3182
|
+
if (e.length === 1 && st(e[0]))
|
|
3181
3183
|
return [
|
|
3182
3184
|
{
|
|
3183
|
-
type:
|
|
3185
|
+
type: O.literal,
|
|
3184
3186
|
value: e[0].value
|
|
3185
3187
|
}
|
|
3186
3188
|
];
|
|
3187
3189
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3188
3190
|
var l = a[h];
|
|
3189
|
-
if (
|
|
3191
|
+
if (st(l)) {
|
|
3190
3192
|
u.push({
|
|
3191
|
-
type:
|
|
3193
|
+
type: O.literal,
|
|
3192
3194
|
value: l.value
|
|
3193
3195
|
});
|
|
3194
3196
|
continue;
|
|
3195
3197
|
}
|
|
3196
|
-
if (
|
|
3198
|
+
if (Kr(l)) {
|
|
3197
3199
|
typeof s == "number" && u.push({
|
|
3198
|
-
type:
|
|
3200
|
+
type: O.literal,
|
|
3199
3201
|
value: r.getNumberFormat(t).format(s)
|
|
3200
3202
|
});
|
|
3201
3203
|
continue;
|
|
3202
3204
|
}
|
|
3203
|
-
var
|
|
3204
|
-
if (!(i &&
|
|
3205
|
-
throw new On(
|
|
3206
|
-
var
|
|
3207
|
-
if (
|
|
3208
|
-
(!
|
|
3209
|
-
type: typeof
|
|
3210
|
-
value:
|
|
3205
|
+
var f = l.value;
|
|
3206
|
+
if (!(i && f in i))
|
|
3207
|
+
throw new On(f, o);
|
|
3208
|
+
var c = i[f];
|
|
3209
|
+
if (Yr(l)) {
|
|
3210
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
|
|
3211
|
+
type: typeof c == "string" ? O.literal : O.object,
|
|
3212
|
+
value: c
|
|
3211
3213
|
});
|
|
3212
3214
|
continue;
|
|
3213
3215
|
}
|
|
3214
|
-
if (
|
|
3216
|
+
if (Nt(l)) {
|
|
3215
3217
|
var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
|
|
3216
3218
|
u.push({
|
|
3217
|
-
type:
|
|
3218
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3219
|
+
type: O.literal,
|
|
3220
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3219
3221
|
});
|
|
3220
3222
|
continue;
|
|
3221
3223
|
}
|
|
3222
|
-
if (
|
|
3224
|
+
if (Lt(l)) {
|
|
3223
3225
|
var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3224
3226
|
u.push({
|
|
3225
|
-
type:
|
|
3226
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3227
|
+
type: O.literal,
|
|
3228
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3227
3229
|
});
|
|
3228
3230
|
continue;
|
|
3229
3231
|
}
|
|
3230
|
-
if (
|
|
3231
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3232
|
-
p && p.scale && (
|
|
3233
|
-
type:
|
|
3234
|
-
value: r.getNumberFormat(t, p).format(
|
|
3232
|
+
if (Pt(l)) {
|
|
3233
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
|
|
3234
|
+
p && p.scale && (c = c * (p.scale || 1)), u.push({
|
|
3235
|
+
type: O.literal,
|
|
3236
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3235
3237
|
});
|
|
3236
3238
|
continue;
|
|
3237
3239
|
}
|
|
3238
|
-
if (
|
|
3240
|
+
if ($t(l)) {
|
|
3239
3241
|
var d = l.children, g = l.value, E = i[g];
|
|
3240
|
-
if (!
|
|
3241
|
-
throw new
|
|
3242
|
+
if (!Nn(E))
|
|
3243
|
+
throw new wn(g, "function", o);
|
|
3242
3244
|
var m = me(d, t, r, n, i, s), C = E(m.map(function(S) {
|
|
3243
3245
|
return S.value;
|
|
3244
3246
|
}));
|
|
3245
3247
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
|
|
3246
3248
|
return {
|
|
3247
|
-
type: typeof S == "string" ?
|
|
3249
|
+
type: typeof S == "string" ? O.literal : O.object,
|
|
3248
3250
|
value: S
|
|
3249
3251
|
};
|
|
3250
3252
|
}));
|
|
3251
3253
|
}
|
|
3252
|
-
if (
|
|
3253
|
-
var B = l.options[
|
|
3254
|
+
if (It(l)) {
|
|
3255
|
+
var B = l.options[c] || l.options.other;
|
|
3254
3256
|
if (!B)
|
|
3255
|
-
throw new
|
|
3257
|
+
throw new ft(l.value, c, Object.keys(l.options), o);
|
|
3256
3258
|
u.push.apply(u, me(B.value, t, r, n, i));
|
|
3257
3259
|
continue;
|
|
3258
3260
|
}
|
|
3259
|
-
if (
|
|
3260
|
-
var B = l.options["=".concat(
|
|
3261
|
+
if (Mt(l)) {
|
|
3262
|
+
var B = l.options["=".concat(c)];
|
|
3261
3263
|
if (!B) {
|
|
3262
3264
|
if (!Intl.PluralRules)
|
|
3263
3265
|
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3264
3266
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3265
3267
|
`, q.MISSING_INTL_API, o);
|
|
3266
|
-
var P = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3268
|
+
var P = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3267
3269
|
B = l.options[P] || l.options.other;
|
|
3268
3270
|
}
|
|
3269
3271
|
if (!B)
|
|
3270
|
-
throw new
|
|
3271
|
-
u.push.apply(u, me(B.value, t, r, n, i,
|
|
3272
|
+
throw new ft(l.value, c, Object.keys(l.options), o);
|
|
3273
|
+
u.push.apply(u, me(B.value, t, r, n, i, c - (l.offset || 0)));
|
|
3272
3274
|
continue;
|
|
3273
3275
|
}
|
|
3274
3276
|
}
|
|
3275
|
-
return
|
|
3277
|
+
return Pn(u);
|
|
3276
3278
|
}
|
|
3277
|
-
function
|
|
3279
|
+
function Ln(e, t) {
|
|
3278
3280
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3279
3281
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3280
3282
|
}, {})) : e;
|
|
3281
3283
|
}
|
|
3282
|
-
function
|
|
3284
|
+
function In(e, t) {
|
|
3283
3285
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3284
|
-
return r[n] =
|
|
3286
|
+
return r[n] = Ln(e[n], t[n]), r;
|
|
3285
3287
|
}, x({}, e)) : e;
|
|
3286
3288
|
}
|
|
3287
|
-
function
|
|
3289
|
+
function Oe(e) {
|
|
3288
3290
|
return {
|
|
3289
3291
|
create: function() {
|
|
3290
3292
|
return {
|
|
@@ -3298,7 +3300,7 @@ function we(e) {
|
|
|
3298
3300
|
}
|
|
3299
3301
|
};
|
|
3300
3302
|
}
|
|
3301
|
-
function
|
|
3303
|
+
function Mn(e) {
|
|
3302
3304
|
return e === void 0 && (e = {
|
|
3303
3305
|
number: {},
|
|
3304
3306
|
dateTime: {},
|
|
@@ -3309,7 +3311,7 @@ function In(e) {
|
|
|
3309
3311
|
r[n] = arguments[n];
|
|
3310
3312
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3311
3313
|
}, {
|
|
3312
|
-
cache:
|
|
3314
|
+
cache: Oe(e.number),
|
|
3313
3315
|
strategy: Se.variadic
|
|
3314
3316
|
}),
|
|
3315
3317
|
getDateTimeFormat: Be(function() {
|
|
@@ -3317,7 +3319,7 @@ function In(e) {
|
|
|
3317
3319
|
r[n] = arguments[n];
|
|
3318
3320
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3319
3321
|
}, {
|
|
3320
|
-
cache:
|
|
3322
|
+
cache: Oe(e.dateTime),
|
|
3321
3323
|
strategy: Se.variadic
|
|
3322
3324
|
}),
|
|
3323
3325
|
getPluralRules: Be(function() {
|
|
@@ -3325,12 +3327,12 @@ function In(e) {
|
|
|
3325
3327
|
r[n] = arguments[n];
|
|
3326
3328
|
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3327
3329
|
}, {
|
|
3328
|
-
cache:
|
|
3330
|
+
cache: Oe(e.pluralRules),
|
|
3329
3331
|
strategy: Se.variadic
|
|
3330
3332
|
})
|
|
3331
3333
|
};
|
|
3332
3334
|
}
|
|
3333
|
-
var
|
|
3335
|
+
var $n = (
|
|
3334
3336
|
/** @class */
|
|
3335
3337
|
function() {
|
|
3336
3338
|
function e(t, r, n, i) {
|
|
@@ -3344,8 +3346,8 @@ var Mn = (
|
|
|
3344
3346
|
var a = s.formatToParts(h);
|
|
3345
3347
|
if (a.length === 1)
|
|
3346
3348
|
return a[0].value;
|
|
3347
|
-
var l = a.reduce(function(
|
|
3348
|
-
return !
|
|
3349
|
+
var l = a.reduce(function(f, c) {
|
|
3350
|
+
return !f.length || c.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3349
3351
|
}, []);
|
|
3350
3352
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3351
3353
|
}, this.formatToParts = function(h) {
|
|
@@ -3362,13 +3364,13 @@ var Mn = (
|
|
|
3362
3364
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3363
3365
|
var o = i || {};
|
|
3364
3366
|
o.formatters;
|
|
3365
|
-
var u =
|
|
3367
|
+
var u = Xr(o, ["formatters"]);
|
|
3366
3368
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3367
3369
|
} else
|
|
3368
3370
|
this.ast = t;
|
|
3369
3371
|
if (!Array.isArray(this.ast))
|
|
3370
3372
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3371
|
-
this.formats =
|
|
3373
|
+
this.formats = In(e.formats, n), this.formatters = i && i.formatters || Mn(this.formatterCache);
|
|
3372
3374
|
}
|
|
3373
3375
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3374
3376
|
get: function() {
|
|
@@ -3381,7 +3383,7 @@ var Mn = (
|
|
|
3381
3383
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3382
3384
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3383
3385
|
}
|
|
3384
|
-
}, e.__parse =
|
|
3386
|
+
}, e.__parse = Sn, e.formats = {
|
|
3385
3387
|
number: {
|
|
3386
3388
|
integer: {
|
|
3387
3389
|
maximumFractionDigits: 0
|
|
@@ -3442,7 +3444,7 @@ var Mn = (
|
|
|
3442
3444
|
}, e;
|
|
3443
3445
|
}()
|
|
3444
3446
|
);
|
|
3445
|
-
function
|
|
3447
|
+
function Rn(e, t) {
|
|
3446
3448
|
if (t == null)
|
|
3447
3449
|
return;
|
|
3448
3450
|
if (t in e)
|
|
@@ -3463,60 +3465,60 @@ function $n(e, t) {
|
|
|
3463
3465
|
n = void 0;
|
|
3464
3466
|
return n;
|
|
3465
3467
|
}
|
|
3466
|
-
const D = {},
|
|
3468
|
+
const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
|
|
3467
3469
|
if (t == null)
|
|
3468
3470
|
return;
|
|
3469
3471
|
if (t in D && e in D[t])
|
|
3470
3472
|
return D[t][e];
|
|
3471
3473
|
const r = ve(t);
|
|
3472
3474
|
for (let n = 0; n < r.length; n++) {
|
|
3473
|
-
const i = r[n], s =
|
|
3475
|
+
const i = r[n], s = Gn(i, e);
|
|
3474
3476
|
if (s)
|
|
3475
|
-
return
|
|
3477
|
+
return Un(e, t, s);
|
|
3476
3478
|
}
|
|
3477
3479
|
};
|
|
3478
|
-
let
|
|
3480
|
+
let We;
|
|
3479
3481
|
const ue = _e({});
|
|
3480
|
-
function
|
|
3481
|
-
return
|
|
3482
|
+
function Dn(e) {
|
|
3483
|
+
return We[e] || null;
|
|
3482
3484
|
}
|
|
3483
|
-
function
|
|
3484
|
-
return e in
|
|
3485
|
+
function zt(e) {
|
|
3486
|
+
return e in We;
|
|
3485
3487
|
}
|
|
3486
|
-
function
|
|
3487
|
-
if (!
|
|
3488
|
+
function Gn(e, t) {
|
|
3489
|
+
if (!zt(e))
|
|
3488
3490
|
return null;
|
|
3489
|
-
const r =
|
|
3490
|
-
return
|
|
3491
|
+
const r = Dn(e);
|
|
3492
|
+
return Rn(r, t);
|
|
3491
3493
|
}
|
|
3492
|
-
function
|
|
3494
|
+
function Fn(e) {
|
|
3493
3495
|
if (e == null)
|
|
3494
3496
|
return;
|
|
3495
3497
|
const t = ve(e);
|
|
3496
3498
|
for (let r = 0; r < t.length; r++) {
|
|
3497
3499
|
const n = t[r];
|
|
3498
|
-
if (
|
|
3500
|
+
if (zt(n))
|
|
3499
3501
|
return n;
|
|
3500
3502
|
}
|
|
3501
3503
|
}
|
|
3502
|
-
function
|
|
3503
|
-
delete D[e], ue.update((r) => (r[e] =
|
|
3504
|
+
function Wt(e, ...t) {
|
|
3505
|
+
delete D[e], ue.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
|
|
3504
3506
|
}
|
|
3505
3507
|
K(
|
|
3506
3508
|
[ue],
|
|
3507
3509
|
([e]) => Object.keys(e)
|
|
3508
3510
|
);
|
|
3509
|
-
ue.subscribe((e) =>
|
|
3511
|
+
ue.subscribe((e) => We = e);
|
|
3510
3512
|
const pe = {};
|
|
3511
|
-
function
|
|
3513
|
+
function jn(e, t) {
|
|
3512
3514
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3513
3515
|
}
|
|
3514
|
-
function
|
|
3516
|
+
function Zt(e) {
|
|
3515
3517
|
return pe[e];
|
|
3516
3518
|
}
|
|
3517
|
-
function
|
|
3519
|
+
function kn(e) {
|
|
3518
3520
|
return ve(e).map((t) => {
|
|
3519
|
-
const r =
|
|
3521
|
+
const r = Zt(t);
|
|
3520
3522
|
return [t, r ? [...r] : []];
|
|
3521
3523
|
}).filter(([, t]) => t.length > 0);
|
|
3522
3524
|
}
|
|
@@ -3524,31 +3526,31 @@ function je(e) {
|
|
|
3524
3526
|
return e == null ? !1 : ve(e).some(
|
|
3525
3527
|
(t) => {
|
|
3526
3528
|
var r;
|
|
3527
|
-
return (r =
|
|
3529
|
+
return (r = Zt(t)) == null ? void 0 : r.size;
|
|
3528
3530
|
}
|
|
3529
3531
|
);
|
|
3530
3532
|
}
|
|
3531
|
-
function
|
|
3533
|
+
function Vn(e, t) {
|
|
3532
3534
|
return Promise.all(
|
|
3533
|
-
t.map((n) => (
|
|
3534
|
-
).then((n) =>
|
|
3535
|
+
t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
|
|
3536
|
+
).then((n) => Wt(e, ...n));
|
|
3535
3537
|
}
|
|
3536
3538
|
const re = {};
|
|
3537
|
-
function
|
|
3539
|
+
function Qt(e) {
|
|
3538
3540
|
if (!je(e))
|
|
3539
3541
|
return e in re ? re[e] : Promise.resolve();
|
|
3540
|
-
const t =
|
|
3542
|
+
const t = kn(e);
|
|
3541
3543
|
return re[e] = Promise.all(
|
|
3542
3544
|
t.map(
|
|
3543
|
-
([r, n]) =>
|
|
3545
|
+
([r, n]) => Vn(r, n)
|
|
3544
3546
|
)
|
|
3545
3547
|
).then(() => {
|
|
3546
3548
|
if (je(e))
|
|
3547
|
-
return
|
|
3549
|
+
return Qt(e);
|
|
3548
3550
|
delete re[e];
|
|
3549
3551
|
}), re[e];
|
|
3550
3552
|
}
|
|
3551
|
-
const
|
|
3553
|
+
const Xn = {
|
|
3552
3554
|
number: {
|
|
3553
3555
|
scientific: { notation: "scientific" },
|
|
3554
3556
|
engineering: { notation: "engineering" },
|
|
@@ -3577,34 +3579,34 @@ const Vn = {
|
|
|
3577
3579
|
timeZoneName: "short"
|
|
3578
3580
|
}
|
|
3579
3581
|
}
|
|
3580
|
-
},
|
|
3582
|
+
}, zn = {
|
|
3581
3583
|
fallbackLocale: null,
|
|
3582
3584
|
loadingDelay: 200,
|
|
3583
|
-
formats:
|
|
3585
|
+
formats: Xn,
|
|
3584
3586
|
warnOnMissingMessages: !0,
|
|
3585
3587
|
handleMissingMessage: void 0,
|
|
3586
3588
|
ignoreTag: !0
|
|
3587
|
-
},
|
|
3589
|
+
}, Wn = zn;
|
|
3588
3590
|
function J() {
|
|
3589
|
-
return
|
|
3591
|
+
return Wn;
|
|
3590
3592
|
}
|
|
3591
3593
|
const Pe = _e(!1);
|
|
3592
|
-
var
|
|
3594
|
+
var Zn = Object.defineProperty, Qn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
|
|
3593
3595
|
for (var r in t || (t = {}))
|
|
3594
|
-
|
|
3595
|
-
if (
|
|
3596
|
-
for (var r of
|
|
3597
|
-
|
|
3596
|
+
Jn.call(t, r) && mt(e, r, t[r]);
|
|
3597
|
+
if (gt)
|
|
3598
|
+
for (var r of gt(t))
|
|
3599
|
+
Yn.call(t, r) && mt(e, r, t[r]);
|
|
3598
3600
|
return e;
|
|
3599
|
-
},
|
|
3601
|
+
}, ei = (e, t) => Qn(e, qn(t));
|
|
3600
3602
|
let ke;
|
|
3601
3603
|
const be = _e(null);
|
|
3602
|
-
function
|
|
3604
|
+
function pt(e) {
|
|
3603
3605
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3604
3606
|
}
|
|
3605
3607
|
function ve(e, t = J().fallbackLocale) {
|
|
3606
|
-
const r =
|
|
3607
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3608
|
+
const r = pt(e);
|
|
3609
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
3608
3610
|
}
|
|
3609
3611
|
function k() {
|
|
3610
3612
|
return ke != null ? ke : void 0;
|
|
@@ -3612,22 +3614,22 @@ function k() {
|
|
|
3612
3614
|
be.subscribe((e) => {
|
|
3613
3615
|
ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3614
3616
|
});
|
|
3615
|
-
const
|
|
3616
|
-
if (e &&
|
|
3617
|
+
const ti = (e) => {
|
|
3618
|
+
if (e && Fn(e) && je(e)) {
|
|
3617
3619
|
const { loadingDelay: t } = J();
|
|
3618
3620
|
let r;
|
|
3619
3621
|
return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
|
|
3620
3622
|
() => Pe.set(!0),
|
|
3621
3623
|
t
|
|
3622
|
-
) : Pe.set(!0),
|
|
3624
|
+
) : Pe.set(!0), Qt(e).then(() => {
|
|
3623
3625
|
be.set(e);
|
|
3624
3626
|
}).finally(() => {
|
|
3625
3627
|
clearTimeout(r), Pe.set(!1);
|
|
3626
3628
|
});
|
|
3627
3629
|
}
|
|
3628
3630
|
return be.set(e);
|
|
3629
|
-
}, ee = Kn(
|
|
3630
|
-
set:
|
|
3631
|
+
}, ee = ei(Kn({}, be), {
|
|
3632
|
+
set: ti
|
|
3631
3633
|
}), Te = (e) => {
|
|
3632
3634
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3633
3635
|
return (n) => {
|
|
@@ -3635,20 +3637,20 @@ const ei = (e) => {
|
|
|
3635
3637
|
return i in t ? t[i] : t[i] = e(n);
|
|
3636
3638
|
};
|
|
3637
3639
|
};
|
|
3638
|
-
var
|
|
3640
|
+
var ri = Object.defineProperty, ye = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
3639
3641
|
for (var r in t || (t = {}))
|
|
3640
|
-
|
|
3642
|
+
qt.call(t, r) && dt(e, r, t[r]);
|
|
3641
3643
|
if (ye)
|
|
3642
3644
|
for (var r of ye(t))
|
|
3643
|
-
|
|
3645
|
+
Jt.call(t, r) && dt(e, r, t[r]);
|
|
3644
3646
|
return e;
|
|
3645
3647
|
}, te = (e, t) => {
|
|
3646
3648
|
var r = {};
|
|
3647
3649
|
for (var n in e)
|
|
3648
|
-
|
|
3650
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3649
3651
|
if (e != null && ye)
|
|
3650
3652
|
for (var n of ye(e))
|
|
3651
|
-
t.indexOf(n) < 0 &&
|
|
3653
|
+
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
3652
3654
|
return r;
|
|
3653
3655
|
};
|
|
3654
3656
|
const oe = (e, t) => {
|
|
@@ -3656,21 +3658,21 @@ const oe = (e, t) => {
|
|
|
3656
3658
|
if (e in r && t in r[e])
|
|
3657
3659
|
return r[e][t];
|
|
3658
3660
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3659
|
-
},
|
|
3661
|
+
}, ni = Te(
|
|
3660
3662
|
(e) => {
|
|
3661
3663
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3662
3664
|
if (r == null)
|
|
3663
3665
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3664
3666
|
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
3665
3667
|
}
|
|
3666
|
-
),
|
|
3668
|
+
), ii = Te(
|
|
3667
3669
|
(e) => {
|
|
3668
3670
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3669
3671
|
if (r == null)
|
|
3670
3672
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3671
3673
|
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3672
3674
|
}
|
|
3673
|
-
),
|
|
3675
|
+
), si = Te(
|
|
3674
3676
|
(e) => {
|
|
3675
3677
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3676
3678
|
if (r == null)
|
|
@@ -3679,33 +3681,33 @@ const oe = (e, t) => {
|
|
|
3679
3681
|
);
|
|
3680
3682
|
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3681
3683
|
}
|
|
3682
|
-
),
|
|
3684
|
+
), oi = (e = {}) => {
|
|
3683
3685
|
var t = e, {
|
|
3684
3686
|
locale: r = k()
|
|
3685
3687
|
} = t, n = te(t, [
|
|
3686
3688
|
"locale"
|
|
3687
3689
|
]);
|
|
3688
|
-
return
|
|
3689
|
-
},
|
|
3690
|
+
return ni(Ze({ locale: r }, n));
|
|
3691
|
+
}, ai = (e = {}) => {
|
|
3690
3692
|
var t = e, {
|
|
3691
3693
|
locale: r = k()
|
|
3692
3694
|
} = t, n = te(t, [
|
|
3693
3695
|
"locale"
|
|
3694
3696
|
]);
|
|
3695
|
-
return
|
|
3696
|
-
},
|
|
3697
|
+
return ii(Ze({ locale: r }, n));
|
|
3698
|
+
}, ui = (e = {}) => {
|
|
3697
3699
|
var t = e, {
|
|
3698
3700
|
locale: r = k()
|
|
3699
3701
|
} = t, n = te(t, [
|
|
3700
3702
|
"locale"
|
|
3701
3703
|
]);
|
|
3702
|
-
return
|
|
3703
|
-
},
|
|
3704
|
+
return si(Ze({ locale: r }, n));
|
|
3705
|
+
}, hi = Te(
|
|
3704
3706
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3705
|
-
(e, t = k()) => new
|
|
3707
|
+
(e, t = k()) => new $n(e, t, J().formats, {
|
|
3706
3708
|
ignoreTag: J().ignoreTag
|
|
3707
3709
|
})
|
|
3708
|
-
),
|
|
3710
|
+
), li = (e, t = {}) => {
|
|
3709
3711
|
var r, n, i, s;
|
|
3710
3712
|
let o = t;
|
|
3711
3713
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3718,7 +3720,7 @@ const oe = (e, t) => {
|
|
|
3718
3720
|
throw new Error(
|
|
3719
3721
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3720
3722
|
);
|
|
3721
|
-
let l =
|
|
3723
|
+
let l = Xt(e, h);
|
|
3722
3724
|
if (!l)
|
|
3723
3725
|
l = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3724
3726
|
else if (typeof l != "string")
|
|
@@ -3727,28 +3729,28 @@ const oe = (e, t) => {
|
|
|
3727
3729
|
), l;
|
|
3728
3730
|
if (!u)
|
|
3729
3731
|
return l;
|
|
3730
|
-
let
|
|
3732
|
+
let f = l;
|
|
3731
3733
|
try {
|
|
3732
|
-
|
|
3733
|
-
} catch (
|
|
3734
|
-
|
|
3734
|
+
f = hi(l, h).format(u);
|
|
3735
|
+
} catch (c) {
|
|
3736
|
+
c instanceof Error && console.warn(
|
|
3735
3737
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3736
|
-
|
|
3738
|
+
c.message
|
|
3737
3739
|
);
|
|
3738
3740
|
}
|
|
3739
|
-
return
|
|
3740
|
-
},
|
|
3741
|
-
K([ee], () => li);
|
|
3742
|
-
K([ee], () => fi);
|
|
3741
|
+
return f;
|
|
3742
|
+
}, ci = (e, t) => ui(t).format(e), fi = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = k()) => Xt(e, t), pi = K([ee, ue], () => li);
|
|
3743
3743
|
K([ee], () => ci);
|
|
3744
|
-
K([ee
|
|
3745
|
-
|
|
3744
|
+
K([ee], () => fi);
|
|
3745
|
+
K([ee], () => gi);
|
|
3746
|
+
K([ee, ue], () => mi);
|
|
3747
|
+
function di(e, t) {
|
|
3746
3748
|
if (e) {
|
|
3747
3749
|
const r = document.createElement("style");
|
|
3748
3750
|
r.innerHTML = t, e.appendChild(r);
|
|
3749
3751
|
}
|
|
3750
3752
|
}
|
|
3751
|
-
function
|
|
3753
|
+
function bi(e, t) {
|
|
3752
3754
|
const r = new URL(t);
|
|
3753
3755
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3754
3756
|
const i = document.createElement("style");
|
|
@@ -3757,7 +3759,7 @@ function di(e, t) {
|
|
|
3757
3759
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3758
3760
|
});
|
|
3759
3761
|
}
|
|
3760
|
-
function
|
|
3762
|
+
function yi(e, t, r) {
|
|
3761
3763
|
if (window.emMessageBus) {
|
|
3762
3764
|
const n = document.createElement("style");
|
|
3763
3765
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3765,13 +3767,13 @@ function bi(e, t, r) {
|
|
|
3765
3767
|
});
|
|
3766
3768
|
}
|
|
3767
3769
|
}
|
|
3768
|
-
function
|
|
3769
|
-
|
|
3770
|
+
function bt(e, t) {
|
|
3771
|
+
Wt(e, t);
|
|
3770
3772
|
}
|
|
3771
|
-
function
|
|
3773
|
+
function _i(e) {
|
|
3772
3774
|
ee.set(e);
|
|
3773
3775
|
}
|
|
3774
|
-
const
|
|
3776
|
+
const yt = {
|
|
3775
3777
|
en: {
|
|
3776
3778
|
topCategories: "Top Categories",
|
|
3777
3779
|
otherCategories: "Other Categories",
|
|
@@ -3881,50 +3883,50 @@ const dt = {
|
|
|
3881
3883
|
games: "games"
|
|
3882
3884
|
}
|
|
3883
3885
|
};
|
|
3884
|
-
function
|
|
3885
|
-
|
|
3886
|
+
function xi(e) {
|
|
3887
|
+
ur(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3886
3888
|
}
|
|
3887
|
-
function
|
|
3889
|
+
function _t(e, t, r) {
|
|
3888
3890
|
const n = e.slice();
|
|
3889
3891
|
return n[23] = t[r], n;
|
|
3890
3892
|
}
|
|
3891
|
-
function
|
|
3893
|
+
function xt(e, t, r) {
|
|
3892
3894
|
const n = e.slice();
|
|
3893
3895
|
return n[23] = t[r], n;
|
|
3894
3896
|
}
|
|
3895
|
-
function
|
|
3897
|
+
function Ei(e) {
|
|
3896
3898
|
let t, r, n = (
|
|
3897
3899
|
/*$_*/
|
|
3898
3900
|
e[5]("topCategories") + ""
|
|
3899
3901
|
), i, s, o, u, h = (
|
|
3900
3902
|
/*$_*/
|
|
3901
3903
|
e[5]("otherCategories") + ""
|
|
3902
|
-
), a, l,
|
|
3904
|
+
), a, l, f = ce(
|
|
3903
3905
|
/*topCategories*/
|
|
3904
3906
|
e[3]
|
|
3905
|
-
),
|
|
3906
|
-
for (let g = 0; g <
|
|
3907
|
-
|
|
3908
|
-
let p =
|
|
3907
|
+
), c = [];
|
|
3908
|
+
for (let g = 0; g < f.length; g += 1)
|
|
3909
|
+
c[g] = Et(xt(e, f, g));
|
|
3910
|
+
let p = ce(
|
|
3909
3911
|
/*otherCategories*/
|
|
3910
3912
|
e[4]
|
|
3911
3913
|
), d = [];
|
|
3912
3914
|
for (let g = 0; g < p.length; g += 1)
|
|
3913
|
-
d[g] =
|
|
3915
|
+
d[g] = vt(_t(e, p, g));
|
|
3914
3916
|
return {
|
|
3915
3917
|
c() {
|
|
3916
|
-
t =
|
|
3917
|
-
for (let g = 0; g <
|
|
3918
|
-
|
|
3919
|
-
o = R(), u =
|
|
3918
|
+
t = w("div"), r = w("h4"), i = U(n), s = R();
|
|
3919
|
+
for (let g = 0; g < c.length; g += 1)
|
|
3920
|
+
c[g].c();
|
|
3921
|
+
o = R(), u = w("h4"), a = U(h), l = R();
|
|
3920
3922
|
for (let g = 0; g < d.length; g += 1)
|
|
3921
3923
|
d[g].c();
|
|
3922
3924
|
H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
|
|
3923
3925
|
},
|
|
3924
3926
|
m(g, E) {
|
|
3925
3927
|
Y(g, t, E), v(t, r), v(r, i), v(t, s);
|
|
3926
|
-
for (let m = 0; m <
|
|
3927
|
-
|
|
3928
|
+
for (let m = 0; m < c.length; m += 1)
|
|
3929
|
+
c[m] && c[m].m(t, null);
|
|
3928
3930
|
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
3929
3931
|
for (let m = 0; m < d.length; m += 1)
|
|
3930
3932
|
d[m] && d[m].m(t, null);
|
|
@@ -3934,31 +3936,31 @@ function xi(e) {
|
|
|
3934
3936
|
32 && n !== (n = /*$_*/
|
|
3935
3937
|
g[5]("topCategories") + "") && G(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3936
3938
|
105) {
|
|
3937
|
-
|
|
3939
|
+
f = ce(
|
|
3938
3940
|
/*topCategories*/
|
|
3939
3941
|
g[3]
|
|
3940
3942
|
);
|
|
3941
3943
|
let m;
|
|
3942
|
-
for (m = 0; m <
|
|
3943
|
-
const C =
|
|
3944
|
-
|
|
3944
|
+
for (m = 0; m < f.length; m += 1) {
|
|
3945
|
+
const C = xt(g, f, m);
|
|
3946
|
+
c[m] ? c[m].p(C, E) : (c[m] = Et(C), c[m].c(), c[m].m(t, o));
|
|
3945
3947
|
}
|
|
3946
|
-
for (; m <
|
|
3947
|
-
|
|
3948
|
-
|
|
3948
|
+
for (; m < c.length; m += 1)
|
|
3949
|
+
c[m].d(1);
|
|
3950
|
+
c.length = f.length;
|
|
3949
3951
|
}
|
|
3950
3952
|
if (E & /*$_*/
|
|
3951
3953
|
32 && h !== (h = /*$_*/
|
|
3952
3954
|
g[5]("otherCategories") + "") && G(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3953
3955
|
113) {
|
|
3954
|
-
p =
|
|
3956
|
+
p = ce(
|
|
3955
3957
|
/*otherCategories*/
|
|
3956
3958
|
g[4]
|
|
3957
3959
|
);
|
|
3958
3960
|
let m;
|
|
3959
3961
|
for (m = 0; m < p.length; m += 1) {
|
|
3960
|
-
const C =
|
|
3961
|
-
d[m] ? d[m].p(C, E) : (d[m] =
|
|
3962
|
+
const C = _t(g, p, m);
|
|
3963
|
+
d[m] ? d[m].p(C, E) : (d[m] = vt(C), d[m].c(), d[m].m(t, null));
|
|
3962
3964
|
}
|
|
3963
3965
|
for (; m < d.length; m += 1)
|
|
3964
3966
|
d[m].d(1);
|
|
@@ -3966,15 +3968,15 @@ function xi(e) {
|
|
|
3966
3968
|
}
|
|
3967
3969
|
},
|
|
3968
3970
|
d(g) {
|
|
3969
|
-
g && j(t),
|
|
3971
|
+
g && j(t), rt(c, g), rt(d, g);
|
|
3970
3972
|
}
|
|
3971
3973
|
};
|
|
3972
3974
|
}
|
|
3973
|
-
function
|
|
3975
|
+
function vi(e) {
|
|
3974
3976
|
let t;
|
|
3975
3977
|
return {
|
|
3976
3978
|
c() {
|
|
3977
|
-
t =
|
|
3979
|
+
t = w("p"), t.textContent = "Loading, please wait...", H(t, "class", "Message");
|
|
3978
3980
|
},
|
|
3979
3981
|
m(r, n) {
|
|
3980
3982
|
Y(r, t, n);
|
|
@@ -3985,11 +3987,11 @@ function Ei(e) {
|
|
|
3985
3987
|
}
|
|
3986
3988
|
};
|
|
3987
3989
|
}
|
|
3988
|
-
function
|
|
3990
|
+
function Et(e) {
|
|
3989
3991
|
let t, r, n, i, s, o, u, h = (
|
|
3990
3992
|
/*category*/
|
|
3991
3993
|
e[23].name + ""
|
|
3992
|
-
), a, l,
|
|
3994
|
+
), a, l, f, c = (
|
|
3993
3995
|
/*category*/
|
|
3994
3996
|
e[23].games.count + ""
|
|
3995
3997
|
), p, d, g = (
|
|
@@ -4007,14 +4009,14 @@ function _t(e) {
|
|
|
4007
4009
|
}
|
|
4008
4010
|
return {
|
|
4009
4011
|
c() {
|
|
4010
|
-
t =
|
|
4012
|
+
t = w("div"), r = w("img"), s = R(), o = w("div"), u = w("p"), a = U(h), l = R(), f = w("p"), p = U(c), d = R(), E = U(g), de(r.src, n = /*category*/
|
|
4011
4013
|
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4012
4014
|
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
|
|
4013
4015
|
(e[0] === /*category*/
|
|
4014
4016
|
e[23].id ? "Active" : ""));
|
|
4015
4017
|
},
|
|
4016
4018
|
m(S, A) {
|
|
4017
|
-
Y(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o,
|
|
4019
|
+
Y(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, E), C || (B = At(t, "click", P), C = !0);
|
|
4018
4020
|
},
|
|
4019
4021
|
p(S, A) {
|
|
4020
4022
|
e = S, A & /*topCategories*/
|
|
@@ -4024,8 +4026,8 @@ function _t(e) {
|
|
|
4024
4026
|
e[23].name) && H(r, "alt", i), A & /*topCategories*/
|
|
4025
4027
|
8 && h !== (h = /*category*/
|
|
4026
4028
|
e[23].name + "") && G(a, h), A & /*topCategories*/
|
|
4027
|
-
8 &&
|
|
4028
|
-
e[23].games.count + "") && G(p,
|
|
4029
|
+
8 && c !== (c = /*category*/
|
|
4030
|
+
e[23].games.count + "") && G(p, c), A & /*$_*/
|
|
4029
4031
|
32 && g !== (g = /*$_*/
|
|
4030
4032
|
e[5]("games") + "") && G(E, g), A & /*activecategory, topCategories*/
|
|
4031
4033
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4037,11 +4039,11 @@ function _t(e) {
|
|
|
4037
4039
|
}
|
|
4038
4040
|
};
|
|
4039
4041
|
}
|
|
4040
|
-
function
|
|
4042
|
+
function vt(e) {
|
|
4041
4043
|
let t, r, n, i, s, o, u, h = (
|
|
4042
4044
|
/*category*/
|
|
4043
4045
|
e[23].name + ""
|
|
4044
|
-
), a, l,
|
|
4046
|
+
), a, l, f, c = (
|
|
4045
4047
|
/*category*/
|
|
4046
4048
|
e[23].games.count + ""
|
|
4047
4049
|
), p, d, g = (
|
|
@@ -4059,14 +4061,14 @@ function xt(e) {
|
|
|
4059
4061
|
}
|
|
4060
4062
|
return {
|
|
4061
4063
|
c() {
|
|
4062
|
-
t =
|
|
4064
|
+
t = w("div"), r = w("img"), s = R(), o = w("div"), u = w("p"), a = U(h), l = R(), f = w("p"), p = U(c), d = R(), E = U(g), m = R(), de(r.src, n = /*category*/
|
|
4063
4065
|
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4064
4066
|
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
|
|
4065
4067
|
(e[0] === /*category*/
|
|
4066
4068
|
e[23].id ? "Active" : ""));
|
|
4067
4069
|
},
|
|
4068
4070
|
m(A, N) {
|
|
4069
|
-
Y(A, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o,
|
|
4071
|
+
Y(A, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, E), v(t, m), B || (P = At(t, "click", S), B = !0);
|
|
4070
4072
|
},
|
|
4071
4073
|
p(A, N) {
|
|
4072
4074
|
e = A, N & /*otherCategories*/
|
|
@@ -4076,8 +4078,8 @@ function xt(e) {
|
|
|
4076
4078
|
e[23].name) && H(r, "alt", i), N & /*otherCategories*/
|
|
4077
4079
|
16 && h !== (h = /*category*/
|
|
4078
4080
|
e[23].name + "") && G(a, h), N & /*otherCategories*/
|
|
4079
|
-
16 &&
|
|
4080
|
-
e[23].games.count + "") && G(p,
|
|
4081
|
+
16 && c !== (c = /*category*/
|
|
4082
|
+
e[23].games.count + "") && G(p, c), N & /*$_*/
|
|
4081
4083
|
32 && g !== (g = /*$_*/
|
|
4082
4084
|
e[5]("games") + "") && G(E, g), N & /*activecategory, otherCategories*/
|
|
4083
4085
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4089,18 +4091,18 @@ function xt(e) {
|
|
|
4089
4091
|
}
|
|
4090
4092
|
};
|
|
4091
4093
|
}
|
|
4092
|
-
function
|
|
4094
|
+
function Ti(e) {
|
|
4093
4095
|
let t;
|
|
4094
4096
|
function r(s, o) {
|
|
4095
4097
|
return (
|
|
4096
4098
|
/*isLoading*/
|
|
4097
|
-
s[2] ?
|
|
4099
|
+
s[2] ? vi : Ei
|
|
4098
4100
|
);
|
|
4099
4101
|
}
|
|
4100
4102
|
let n = r(e), i = n(e);
|
|
4101
4103
|
return {
|
|
4102
4104
|
c() {
|
|
4103
|
-
t =
|
|
4105
|
+
t = w("div"), i.c();
|
|
4104
4106
|
},
|
|
4105
4107
|
m(s, o) {
|
|
4106
4108
|
Y(s, t, o), i.m(t, null), e[17](t);
|
|
@@ -4115,19 +4117,19 @@ function vi(e) {
|
|
|
4115
4117
|
}
|
|
4116
4118
|
};
|
|
4117
4119
|
}
|
|
4118
|
-
function
|
|
4120
|
+
function Ci(e, t, r) {
|
|
4119
4121
|
let n;
|
|
4120
|
-
|
|
4121
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl:
|
|
4122
|
+
ar(e, pi, (b) => r(5, n = b));
|
|
4123
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
|
|
4122
4124
|
const g = [];
|
|
4123
4125
|
let E = [], m = [];
|
|
4124
|
-
Object.keys(
|
|
4125
|
-
|
|
4126
|
+
Object.keys(yt).forEach((b) => {
|
|
4127
|
+
bt(b, yt[b]);
|
|
4126
4128
|
});
|
|
4127
4129
|
const C = () => {
|
|
4128
|
-
fetch(
|
|
4130
|
+
fetch(f).then(($) => $.json()).then(($) => {
|
|
4129
4131
|
Object.keys($).forEach((he) => {
|
|
4130
|
-
|
|
4132
|
+
bt(he, $[he]);
|
|
4131
4133
|
});
|
|
4132
4134
|
}).catch(($) => {
|
|
4133
4135
|
console.log($);
|
|
@@ -4139,35 +4141,35 @@ function Ti(e, t, r) {
|
|
|
4139
4141
|
r(2, d = !1);
|
|
4140
4142
|
const he = h.split(",").map((F) => F.trim());
|
|
4141
4143
|
g.push(...$.items);
|
|
4142
|
-
const
|
|
4143
|
-
var
|
|
4144
|
-
return ((
|
|
4144
|
+
const Qe = g.filter((F) => !he.some((er) => {
|
|
4145
|
+
var qe;
|
|
4146
|
+
return ((qe = F.flags) == null ? void 0 : qe.indexOf(er)) >= 0;
|
|
4145
4147
|
}));
|
|
4146
|
-
r(3, E =
|
|
4148
|
+
r(3, E = Qe.filter((F) => F.isTopCategory === !0)), r(4, m = Qe.filter((F) => F.isTopCategory === !1));
|
|
4147
4149
|
});
|
|
4148
4150
|
}, P = (b) => {
|
|
4149
4151
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4150
4152
|
}, S = () => {
|
|
4151
|
-
|
|
4153
|
+
_i(o);
|
|
4152
4154
|
};
|
|
4153
|
-
|
|
4155
|
+
mr(() => () => {
|
|
4154
4156
|
});
|
|
4155
4157
|
const A = (b) => P(b.id), N = (b) => P(b.id);
|
|
4156
|
-
function
|
|
4158
|
+
function Kt(b) {
|
|
4157
4159
|
Ne[b ? "unshift" : "push"](() => {
|
|
4158
4160
|
p = b, r(1, p);
|
|
4159
4161
|
});
|
|
4160
4162
|
}
|
|
4161
4163
|
return e.$$set = (b) => {
|
|
4162
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13,
|
|
4164
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
|
|
4163
4165
|
}, e.$$.update = () => {
|
|
4164
4166
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4165
4167
|
384 && i && s && B(), e.$$.dirty & /*translationurl*/
|
|
4166
|
-
8192 &&
|
|
4168
|
+
8192 && f && C(), e.$$.dirty & /*lang*/
|
|
4167
4169
|
512 && o && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4168
|
-
2050 && a && p &&
|
|
4169
|
-
4098 && l && p &&
|
|
4170
|
-
16386 &&
|
|
4170
|
+
2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4171
|
+
4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4172
|
+
16386 && c && p && yi(p, `${c}.Style`);
|
|
4171
4173
|
}, [
|
|
4172
4174
|
u,
|
|
4173
4175
|
p,
|
|
@@ -4182,21 +4184,21 @@ function Ti(e, t, r) {
|
|
|
4182
4184
|
h,
|
|
4183
4185
|
a,
|
|
4184
4186
|
l,
|
|
4185
|
-
c,
|
|
4186
4187
|
f,
|
|
4188
|
+
c,
|
|
4187
4189
|
A,
|
|
4188
4190
|
N,
|
|
4189
|
-
|
|
4191
|
+
Kt
|
|
4190
4192
|
];
|
|
4191
4193
|
}
|
|
4192
|
-
class
|
|
4194
|
+
class Yt extends Ar {
|
|
4193
4195
|
constructor(t) {
|
|
4194
|
-
super(),
|
|
4196
|
+
super(), Cr(
|
|
4195
4197
|
this,
|
|
4196
4198
|
t,
|
|
4199
|
+
Ci,
|
|
4197
4200
|
Ti,
|
|
4198
|
-
|
|
4199
|
-
vt,
|
|
4201
|
+
Ct,
|
|
4200
4202
|
{
|
|
4201
4203
|
endpoint: 7,
|
|
4202
4204
|
datasource: 8,
|
|
@@ -4208,7 +4210,7 @@ class qt extends Cr {
|
|
|
4208
4210
|
translationurl: 13,
|
|
4209
4211
|
mbsource: 14
|
|
4210
4212
|
},
|
|
4211
|
-
|
|
4213
|
+
xi
|
|
4212
4214
|
);
|
|
4213
4215
|
}
|
|
4214
4216
|
get endpoint() {
|
|
@@ -4266,42 +4268,42 @@ class qt extends Cr {
|
|
|
4266
4268
|
this.$$set({ mbsource: t }), M();
|
|
4267
4269
|
}
|
|
4268
4270
|
}
|
|
4269
|
-
|
|
4270
|
-
const
|
|
4271
|
+
Hr(Yt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4272
|
+
const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4271
4273
|
__proto__: null,
|
|
4272
|
-
default:
|
|
4274
|
+
default: Yt
|
|
4273
4275
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4274
4276
|
export {
|
|
4275
4277
|
ee as $,
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
+
Ai as A,
|
|
4279
|
+
rt as B,
|
|
4278
4280
|
de as C,
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4281
|
+
Si as D,
|
|
4282
|
+
Ar as S,
|
|
4283
|
+
Wt as a,
|
|
4284
|
+
ur as b,
|
|
4285
|
+
Hr as c,
|
|
4286
|
+
R as d,
|
|
4287
|
+
w as e,
|
|
4286
4288
|
M as f,
|
|
4287
4289
|
H as g,
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
+
Bi as h,
|
|
4291
|
+
Cr as i,
|
|
4290
4292
|
Y as j,
|
|
4291
4293
|
v as k,
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
+
At as l,
|
|
4295
|
+
G as m,
|
|
4294
4296
|
I as n,
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4297
|
+
j as o,
|
|
4298
|
+
ar as p,
|
|
4299
|
+
mr as q,
|
|
4298
4300
|
ae as r,
|
|
4299
|
-
|
|
4301
|
+
Ct as s,
|
|
4300
4302
|
U as t,
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4303
|
+
bi as u,
|
|
4304
|
+
yi as v,
|
|
4305
|
+
Ne as w,
|
|
4304
4306
|
di as x,
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
+
pi as y,
|
|
4308
|
+
ce as z
|
|
4307
4309
|
};
|