@everymatrix/casino-navigation-search 1.54.12 → 1.55.0
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-Bk11_ZQI.js → CasinoCategories-BM4teKvy.js} +430 -428
- package/components/CasinoCategories-CZrJXplp.cjs +3 -0
- package/components/{CasinoCategories-DA4-2G1E.js → CasinoCategories-DYYvS32-.js} +411 -409
- package/components/{CasinoCategoriesProviders-D_NhAwmg.cjs → CasinoCategoriesProviders-1240WugE.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-CeW7S-TQ.js → CasinoCategoriesProviders-B7UsCBwb.js} +17 -17
- package/components/{CasinoCategoriesProviders-Bcv38KlR.js → CasinoCategoriesProviders-BXWH4kbG.js} +17 -17
- package/components/CasinoGameThumbnail-CCM2mp5e.cjs +49 -0
- package/components/CasinoGameThumbnail-CqHxa6sn.js +4908 -0
- package/components/CasinoGameThumbnail-eK6MqjYO.js +4924 -0
- package/components/{CasinoNavigationSearch-CONbhcps.js → CasinoNavigationSearch-BMtFJUlN.js} +12 -12
- package/components/{CasinoNavigationSearch-BVqnI5qj.js → CasinoNavigationSearch-CQxSykvR.js} +10 -10
- package/components/{CasinoNavigationSearch-CBEaFaeP.cjs → CasinoNavigationSearch-FrubT_NM.cjs} +1 -1
- package/components/{CasinoProviders-zmnj7HBd.cjs → CasinoProviders-Cy9_mV6I.cjs} +1 -1
- package/components/{CasinoProviders-BtLBzyuB.js → CasinoProviders-DJ0CrVwX.js} +33 -33
- package/components/{CasinoProviders-DN_d75BR.js → CasinoProviders-D_mfF535.js} +33 -33
- package/components/{CasinoSearch-B7ipG2KH.js → CasinoSearch-CRDWHCwK.js} +432 -425
- package/components/{CasinoSearch-CQ--Zb89.js → CasinoSearch-DaYrHLzZ.js} +376 -369
- package/components/CasinoSearch-siqn_ag0.cjs +1 -0
- package/es2015/casino-navigation-search.cjs +1 -1
- package/es2015/casino-navigation-search.js +1 -1
- package/esnext/casino-navigation-search.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategories-BjWtZctN.cjs +0 -3
- package/components/CasinoGameThumbnail-BPQ5fdzA.js +0 -4883
- package/components/CasinoGameThumbnail-D9ZeYlTQ.js +0 -4867
- package/components/CasinoGameThumbnail-z7iJJqOL.cjs +0 -49
- package/components/CasinoSearch-BCNZ0iVg.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ce = (e, t, r) => t in e ?
|
|
1
|
+
var ir = Object.defineProperty, sr = Object.defineProperties;
|
|
2
|
+
var or = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ce = (e, t, r) => t in e ? ir(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
|
+
ar.call(t, r) && Ce(e, r, t[r]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var r of Je(t))
|
|
10
|
+
ur.call(t, r) && Ce(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ke = (e, t) => sr(e, or(t));
|
|
13
13
|
var O = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, 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 M() {
|
|
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 ue(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 hr(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 lr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function v(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function fr(e, t, r) {
|
|
70
|
+
const n = cr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = B("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, gr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function cr(e) {
|
|
77
77
|
if (!e) return document;
|
|
78
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
79
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,8 +82,8 @@ function lr(e) {
|
|
|
82
82
|
t
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function gr(e, t) {
|
|
86
|
+
return v(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
89
89
|
t
|
|
@@ -95,14 +95,14 @@ function V(e, t, r) {
|
|
|
95
95
|
function j(e) {
|
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function rt(e, t) {
|
|
99
99
|
for (let r = 0; r < e.length; r += 1)
|
|
100
100
|
e[r] && e[r].d(t);
|
|
101
101
|
}
|
|
102
102
|
function B(e) {
|
|
103
103
|
return document.createElement(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function mr(e) {
|
|
106
106
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
107
|
}
|
|
108
108
|
function U(e) {
|
|
@@ -111,33 +111,33 @@ function U(e) {
|
|
|
111
111
|
function R() {
|
|
112
112
|
return U(" ");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Ci() {
|
|
115
115
|
return U("");
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function At(e, t, r, n) {
|
|
118
118
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
119
119
|
}
|
|
120
120
|
function H(e, t, r) {
|
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Hi(e, t, r) {
|
|
124
124
|
const n = t.toLowerCase();
|
|
125
125
|
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);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function pr(e) {
|
|
128
128
|
return Array.from(e.childNodes);
|
|
129
129
|
}
|
|
130
130
|
function F(e, t) {
|
|
131
131
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
132
|
t);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Ai(e, t) {
|
|
135
135
|
e.value = t == null ? "" : t;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Si(e, t, r) {
|
|
138
138
|
e.classList.toggle(t, !!r);
|
|
139
139
|
}
|
|
140
|
-
class
|
|
140
|
+
class Bi {
|
|
141
141
|
constructor(t = !1) {
|
|
142
142
|
/**
|
|
143
143
|
* @private
|
|
@@ -168,7 +168,7 @@ class Si {
|
|
|
168
168
|
* @returns {void}
|
|
169
169
|
*/
|
|
170
170
|
m(t, r, n = null) {
|
|
171
|
-
this.e || (this.is_svg ? this.e =
|
|
171
|
+
this.e || (this.is_svg ? this.e = mr(
|
|
172
172
|
/** @type {keyof SVGElementTagNameMap} */
|
|
173
173
|
r.nodeName
|
|
174
174
|
) : this.e = B(
|
|
@@ -207,7 +207,7 @@ class Si {
|
|
|
207
207
|
this.n.forEach(j);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function dr(e) {
|
|
211
211
|
const t = {};
|
|
212
212
|
return e.childNodes.forEach(
|
|
213
213
|
/** @param {Element} node */
|
|
@@ -220,22 +220,22 @@ let se;
|
|
|
220
220
|
function ie(e) {
|
|
221
221
|
se = e;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function br() {
|
|
224
224
|
if (!se) throw new Error("Function called outside component initialization");
|
|
225
225
|
return se;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
|
|
227
|
+
function wi(e) {
|
|
228
|
+
br().$$.on_mount.push(e);
|
|
229
229
|
}
|
|
230
230
|
const Z = [], Ne = [];
|
|
231
231
|
let Q = [];
|
|
232
|
-
const
|
|
232
|
+
const nt = [], St = /* @__PURE__ */ Promise.resolve();
|
|
233
233
|
let Le = !1;
|
|
234
|
-
function
|
|
235
|
-
Le || (Le = !0,
|
|
234
|
+
function Bt() {
|
|
235
|
+
Le || (Le = !0, St.then($));
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
return
|
|
237
|
+
function Oi() {
|
|
238
|
+
return Bt(), St;
|
|
239
239
|
}
|
|
240
240
|
function Ie(e) {
|
|
241
241
|
Q.push(e);
|
|
@@ -250,7 +250,7 @@ function $() {
|
|
|
250
250
|
try {
|
|
251
251
|
for (; z < Z.length; ) {
|
|
252
252
|
const t = Z[z];
|
|
253
|
-
z++, ie(t),
|
|
253
|
+
z++, ie(t), yr(t.$$);
|
|
254
254
|
}
|
|
255
255
|
} catch (t) {
|
|
256
256
|
throw Z.length = 0, z = 0, t;
|
|
@@ -262,43 +262,43 @@ function $() {
|
|
|
262
262
|
}
|
|
263
263
|
Q.length = 0;
|
|
264
264
|
} while (Z.length);
|
|
265
|
-
for (;
|
|
266
|
-
|
|
265
|
+
for (; nt.length; )
|
|
266
|
+
nt.pop()();
|
|
267
267
|
Le = !1, He.clear(), ie(e);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function yr(e) {
|
|
270
270
|
if (e.fragment !== null) {
|
|
271
271
|
e.update(), ue(e.before_update);
|
|
272
272
|
const t = e.dirty;
|
|
273
273
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function _r(e) {
|
|
277
277
|
const t = [], r = [];
|
|
278
278
|
Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
|
|
279
279
|
}
|
|
280
|
-
const
|
|
281
|
-
function
|
|
282
|
-
e && e.i && (
|
|
280
|
+
const Er = /* @__PURE__ */ new Set();
|
|
281
|
+
function xr(e, t) {
|
|
282
|
+
e && e.i && (Er.delete(e), e.i(t));
|
|
283
283
|
}
|
|
284
284
|
function fe(e) {
|
|
285
285
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function vr(e, t, r) {
|
|
288
288
|
const { fragment: n, after_update: i } = e.$$;
|
|
289
289
|
n && n.m(t, r), Ie(() => {
|
|
290
|
-
const s = e.$$.on_mount.map(
|
|
290
|
+
const s = e.$$.on_mount.map(Tt).filter(Ve);
|
|
291
291
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
|
|
292
292
|
}), i.forEach(Ie);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Tr(e, t) {
|
|
295
295
|
const r = e.$$;
|
|
296
|
-
r.fragment !== null && (
|
|
296
|
+
r.fragment !== null && (_r(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
e.$$.dirty[0] === -1 && (Z.push(e),
|
|
298
|
+
function Cr(e, t) {
|
|
299
|
+
e.$$.dirty[0] === -1 && (Z.push(e), Bt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
302
302
|
const h = se;
|
|
303
303
|
ie(e);
|
|
304
304
|
const a = e.$$ = {
|
|
@@ -308,7 +308,7 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
308
308
|
props: s,
|
|
309
309
|
update: M,
|
|
310
310
|
not_equal: i,
|
|
311
|
-
bound:
|
|
311
|
+
bound: tt(),
|
|
312
312
|
// lifecycle
|
|
313
313
|
on_mount: [],
|
|
314
314
|
on_destroy: [],
|
|
@@ -317,7 +317,7 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
317
317
|
after_update: [],
|
|
318
318
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
319
319
|
// everything else
|
|
320
|
-
callbacks:
|
|
320
|
+
callbacks: tt(),
|
|
321
321
|
dirty: u,
|
|
322
322
|
skip_bound: !1,
|
|
323
323
|
root: t.target || h.$$.root
|
|
@@ -326,19 +326,19 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
326
326
|
let l = !1;
|
|
327
327
|
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
328
328
|
const p = d.length ? d[0] : f;
|
|
329
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l &&
|
|
329
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && Cr(e, c)), f;
|
|
330
330
|
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
331
331
|
if (t.hydrate) {
|
|
332
|
-
const c =
|
|
332
|
+
const c = pr(t.target);
|
|
333
333
|
a.fragment && a.fragment.l(c), c.forEach(j);
|
|
334
334
|
} else
|
|
335
335
|
a.fragment && a.fragment.c();
|
|
336
|
-
t.intro &&
|
|
336
|
+
t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), $();
|
|
337
337
|
}
|
|
338
338
|
ie(h);
|
|
339
339
|
}
|
|
340
|
-
let
|
|
341
|
-
typeof HTMLElement == "function" && (
|
|
340
|
+
let wt;
|
|
341
|
+
typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
342
342
|
constructor(t, r, n) {
|
|
343
343
|
super();
|
|
344
344
|
/** The Svelte component constructor */
|
|
@@ -375,7 +375,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
connectedCallback() {
|
|
378
|
-
return
|
|
378
|
+
return et(this, null, function* () {
|
|
379
379
|
if (this.$$cn = !0, !this.$$c) {
|
|
380
380
|
let t = function(s) {
|
|
381
381
|
return () => {
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
399
399
|
};
|
|
400
400
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
401
401
|
return;
|
|
402
|
-
const r = {}, n =
|
|
402
|
+
const r = {}, n = dr(this);
|
|
403
403
|
for (const s of this.$$s)
|
|
404
404
|
s in n && (r[s] = [t(s)]);
|
|
405
405
|
for (const s of this.attributes) {
|
|
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
410
410
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
411
411
|
this.$$c = new this.$$ctor({
|
|
412
412
|
target: this.shadowRoot || this,
|
|
413
|
-
props:
|
|
413
|
+
props: Ke(Ye({}, this.$$d), {
|
|
414
414
|
$$slots: r,
|
|
415
415
|
$$scope: {
|
|
416
416
|
ctx: []
|
|
@@ -488,8 +488,8 @@ function ge(e, t, r, n) {
|
|
|
488
488
|
return t;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
492
|
-
let o = class extends
|
|
491
|
+
function Ar(e, t, r, n, i, s) {
|
|
492
|
+
let o = class extends wt {
|
|
493
493
|
constructor() {
|
|
494
494
|
super(e, r, i), this.$$p_d = t;
|
|
495
495
|
}
|
|
@@ -519,7 +519,7 @@ function Cr(e, t, r, n, i, s) {
|
|
|
519
519
|
}), e.element = /** @type {any} */
|
|
520
520
|
o, o;
|
|
521
521
|
}
|
|
522
|
-
class
|
|
522
|
+
class Sr {
|
|
523
523
|
constructor() {
|
|
524
524
|
/**
|
|
525
525
|
* ### PRIVATE API
|
|
@@ -540,7 +540,7 @@ class Hr {
|
|
|
540
540
|
}
|
|
541
541
|
/** @returns {void} */
|
|
542
542
|
$destroy() {
|
|
543
|
-
|
|
543
|
+
Tr(this, 1), this.$destroy = M;
|
|
544
544
|
}
|
|
545
545
|
/**
|
|
546
546
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -562,13 +562,13 @@ class Hr {
|
|
|
562
562
|
* @returns {void}
|
|
563
563
|
*/
|
|
564
564
|
$set(t) {
|
|
565
|
-
this.$$set && !
|
|
565
|
+
this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
const
|
|
569
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
568
|
+
const Br = "4";
|
|
569
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
|
|
570
570
|
const W = [];
|
|
571
|
-
function
|
|
571
|
+
function wr(e, t) {
|
|
572
572
|
return {
|
|
573
573
|
subscribe: _e(e, t).subscribe
|
|
574
574
|
};
|
|
@@ -577,7 +577,7 @@ function _e(e, t = M) {
|
|
|
577
577
|
let r;
|
|
578
578
|
const n = /* @__PURE__ */ new Set();
|
|
579
579
|
function i(u) {
|
|
580
|
-
if (
|
|
580
|
+
if (Ct(e, u) && (e = u, r)) {
|
|
581
581
|
const h = !W.length;
|
|
582
582
|
for (const a of n)
|
|
583
583
|
a[1](), W.push(a, e);
|
|
@@ -604,7 +604,7 @@ function ee(e, t, r) {
|
|
|
604
604
|
if (!i.every(Boolean))
|
|
605
605
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
606
606
|
const s = t.length < 2;
|
|
607
|
-
return
|
|
607
|
+
return wr(r, (o, u) => {
|
|
608
608
|
let h = !1;
|
|
609
609
|
const a = [];
|
|
610
610
|
let l = 0, c = M;
|
|
@@ -615,10 +615,10 @@ function ee(e, t, r) {
|
|
|
615
615
|
const p = t(n ? a[0] : a, o, u);
|
|
616
616
|
s ? o(p) : c = Ve(p) ? p : M;
|
|
617
617
|
}, d = i.map(
|
|
618
|
-
(p, g) =>
|
|
618
|
+
(p, g) => Ht(
|
|
619
619
|
p,
|
|
620
|
-
(
|
|
621
|
-
a[g] =
|
|
620
|
+
(x) => {
|
|
621
|
+
a[g] = x, l &= ~(1 << g), h && f();
|
|
622
622
|
},
|
|
623
623
|
() => {
|
|
624
624
|
l |= 1 << g;
|
|
@@ -630,70 +630,70 @@ function ee(e, t, r) {
|
|
|
630
630
|
};
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Or(e) {
|
|
634
634
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
return
|
|
636
|
+
var Pr = function(t) {
|
|
637
|
+
return Nr(t) && !Lr(t);
|
|
638
638
|
};
|
|
639
|
-
function
|
|
639
|
+
function Nr(e) {
|
|
640
640
|
return !!e && typeof e == "object";
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Lr(e) {
|
|
643
643
|
var t = Object.prototype.toString.call(e);
|
|
644
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
644
|
+
return t === "[object RegExp]" || t === "[object Date]" || $r(e);
|
|
645
645
|
}
|
|
646
|
-
var
|
|
647
|
-
function
|
|
648
|
-
return e.$$typeof ===
|
|
646
|
+
var Ir = typeof Symbol == "function" && Symbol.for, Mr = Ir ? Symbol.for("react.element") : 60103;
|
|
647
|
+
function $r(e) {
|
|
648
|
+
return e.$$typeof === Mr;
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Rr(e) {
|
|
651
651
|
return Array.isArray(e) ? [] : {};
|
|
652
652
|
}
|
|
653
653
|
function oe(e, t) {
|
|
654
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? q(
|
|
654
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Rr(e), e, t) : e;
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function Ur(e, t, r) {
|
|
657
657
|
return e.concat(t).map(function(n) {
|
|
658
658
|
return oe(n, r);
|
|
659
659
|
});
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Gr(e, t) {
|
|
662
662
|
if (!t.customMerge)
|
|
663
663
|
return q;
|
|
664
664
|
var r = t.customMerge(e);
|
|
665
665
|
return typeof r == "function" ? r : q;
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function Dr(e) {
|
|
668
668
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
669
669
|
return Object.propertyIsEnumerable.call(e, t);
|
|
670
670
|
}) : [];
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
return Object.keys(e).concat(
|
|
672
|
+
function it(e) {
|
|
673
|
+
return Object.keys(e).concat(Dr(e));
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function Ot(e, t) {
|
|
676
676
|
try {
|
|
677
677
|
return t in e;
|
|
678
678
|
} catch (r) {
|
|
679
679
|
return !1;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
-
function
|
|
683
|
-
return
|
|
682
|
+
function Fr(e, t) {
|
|
683
|
+
return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function jr(e, t, r) {
|
|
686
686
|
var n = {};
|
|
687
|
-
return r.isMergeableObject(e) &&
|
|
687
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
688
688
|
n[i] = oe(e[i], r);
|
|
689
|
-
}),
|
|
690
|
-
|
|
689
|
+
}), it(t).forEach(function(i) {
|
|
690
|
+
Fr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
691
691
|
}), n;
|
|
692
692
|
}
|
|
693
693
|
function q(e, t, r) {
|
|
694
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
694
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = oe;
|
|
695
695
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
696
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
696
|
+
return s ? n ? r.arrayMerge(e, t, r) : jr(e, t, r) : oe(t, r);
|
|
697
697
|
}
|
|
698
698
|
q.all = function(t, r) {
|
|
699
699
|
if (!Array.isArray(t))
|
|
@@ -702,8 +702,8 @@ q.all = function(t, r) {
|
|
|
702
702
|
return q(n, i, r);
|
|
703
703
|
}, {});
|
|
704
704
|
};
|
|
705
|
-
var
|
|
706
|
-
const
|
|
705
|
+
var kr = q, Vr = kr;
|
|
706
|
+
const Xr = /* @__PURE__ */ Or(Vr);
|
|
707
707
|
var Me = function(e, t) {
|
|
708
708
|
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
709
709
|
r.__proto__ = n;
|
|
@@ -729,7 +729,7 @@ var E = function() {
|
|
|
729
729
|
return t;
|
|
730
730
|
}, E.apply(this, arguments);
|
|
731
731
|
};
|
|
732
|
-
function
|
|
732
|
+
function zr(e, t) {
|
|
733
733
|
var r = {};
|
|
734
734
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
735
735
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -737,7 +737,7 @@ function Vr(e, t) {
|
|
|
737
737
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
738
738
|
return r;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function Pi(e) {
|
|
741
741
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
742
742
|
if (r) return r.call(e);
|
|
743
743
|
if (e && typeof e.length == "number") return {
|
|
@@ -747,7 +747,7 @@ function Oi(e) {
|
|
|
747
747
|
};
|
|
748
748
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Ni(e, t) {
|
|
751
751
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
752
752
|
if (!r) return e;
|
|
753
753
|
var n = r.call(e), i, s = [], o;
|
|
@@ -770,53 +770,55 @@ function Ae(e, t, r) {
|
|
|
770
770
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
771
771
|
}
|
|
772
772
|
function Se(e, t) {
|
|
773
|
-
var r = t && t.cache ? t.cache :
|
|
773
|
+
var r = t && t.cache ? t.cache : Yr, n = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Zr;
|
|
774
774
|
return i(e, {
|
|
775
775
|
cache: r,
|
|
776
776
|
serializer: n
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Wr(e) {
|
|
780
780
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
781
781
|
}
|
|
782
|
-
function
|
|
783
|
-
var i =
|
|
782
|
+
function Pt(e, t, r, n) {
|
|
783
|
+
var i = Wr(n) ? n : r(n), s = t.get(i);
|
|
784
784
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function Nt(e, t, r) {
|
|
787
787
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
788
788
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Xe(e, t, r, n, i) {
|
|
791
791
|
return r.bind(t, e, n, i);
|
|
792
792
|
}
|
|
793
|
-
function Wr(e, t) {
|
|
794
|
-
var r = e.length === 1 ? zr : wt;
|
|
795
|
-
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
796
|
-
}
|
|
797
793
|
function Zr(e, t) {
|
|
798
|
-
|
|
794
|
+
var r = e.length === 1 ? Pt : Nt;
|
|
795
|
+
return Xe(e, this, r, t.cache.create(), t.serializer);
|
|
799
796
|
}
|
|
800
|
-
|
|
797
|
+
function Qr(e, t) {
|
|
798
|
+
return Xe(e, this, Nt, t.cache.create(), t.serializer);
|
|
799
|
+
}
|
|
800
|
+
function qr(e, t) {
|
|
801
|
+
return Xe(e, this, Pt, t.cache.create(), t.serializer);
|
|
802
|
+
}
|
|
803
|
+
var Jr = function() {
|
|
801
804
|
return JSON.stringify(arguments);
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
}()
|
|
814
|
-
), Jr = {
|
|
805
|
+
};
|
|
806
|
+
function ze() {
|
|
807
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
808
|
+
}
|
|
809
|
+
ze.prototype.get = function(e) {
|
|
810
|
+
return this.cache[e];
|
|
811
|
+
};
|
|
812
|
+
ze.prototype.set = function(e, t) {
|
|
813
|
+
this.cache[e] = t;
|
|
814
|
+
};
|
|
815
|
+
var Yr = {
|
|
815
816
|
create: function() {
|
|
816
|
-
return new
|
|
817
|
+
return new ze();
|
|
817
818
|
}
|
|
818
819
|
}, Be = {
|
|
819
|
-
variadic:
|
|
820
|
+
variadic: Qr,
|
|
821
|
+
monadic: qr
|
|
820
822
|
}, y;
|
|
821
823
|
(function(e) {
|
|
822
824
|
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";
|
|
@@ -829,43 +831,43 @@ var J;
|
|
|
829
831
|
(function(e) {
|
|
830
832
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
831
833
|
})(J || (J = {}));
|
|
832
|
-
function
|
|
834
|
+
function st(e) {
|
|
833
835
|
return e.type === T.literal;
|
|
834
836
|
}
|
|
835
|
-
function
|
|
837
|
+
function Kr(e) {
|
|
836
838
|
return e.type === T.argument;
|
|
837
839
|
}
|
|
838
|
-
function
|
|
840
|
+
function Lt(e) {
|
|
839
841
|
return e.type === T.number;
|
|
840
842
|
}
|
|
841
|
-
function
|
|
843
|
+
function It(e) {
|
|
842
844
|
return e.type === T.date;
|
|
843
845
|
}
|
|
844
|
-
function
|
|
846
|
+
function Mt(e) {
|
|
845
847
|
return e.type === T.time;
|
|
846
848
|
}
|
|
847
|
-
function
|
|
849
|
+
function $t(e) {
|
|
848
850
|
return e.type === T.select;
|
|
849
851
|
}
|
|
850
|
-
function
|
|
852
|
+
function Rt(e) {
|
|
851
853
|
return e.type === T.plural;
|
|
852
854
|
}
|
|
853
|
-
function
|
|
855
|
+
function en(e) {
|
|
854
856
|
return e.type === T.pound;
|
|
855
857
|
}
|
|
856
|
-
function
|
|
858
|
+
function Ut(e) {
|
|
857
859
|
return e.type === T.tag;
|
|
858
860
|
}
|
|
859
|
-
function
|
|
861
|
+
function Gt(e) {
|
|
860
862
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
861
863
|
}
|
|
862
864
|
function $e(e) {
|
|
863
865
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
864
866
|
}
|
|
865
|
-
var
|
|
866
|
-
function
|
|
867
|
+
var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
868
|
+
function rn(e) {
|
|
867
869
|
var t = {};
|
|
868
|
-
return e.replace(
|
|
870
|
+
return e.replace(tn, function(r) {
|
|
869
871
|
var n = r.length;
|
|
870
872
|
switch (r[0]) {
|
|
871
873
|
case "G":
|
|
@@ -954,11 +956,11 @@ function tn(e) {
|
|
|
954
956
|
return "";
|
|
955
957
|
}), t;
|
|
956
958
|
}
|
|
957
|
-
var
|
|
958
|
-
function
|
|
959
|
+
var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
960
|
+
function sn(e) {
|
|
959
961
|
if (e.length === 0)
|
|
960
962
|
throw new Error("Number skeleton cannot be empty");
|
|
961
|
-
for (var t = e.split(
|
|
963
|
+
for (var t = e.split(nn).filter(function(f) {
|
|
962
964
|
return f.length > 0;
|
|
963
965
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
964
966
|
var s = i[n], o = s.split("/");
|
|
@@ -973,17 +975,17 @@ function nn(e) {
|
|
|
973
975
|
}
|
|
974
976
|
return r;
|
|
975
977
|
}
|
|
976
|
-
function
|
|
978
|
+
function on(e) {
|
|
977
979
|
return e.replace(/^(.*?)-/, "");
|
|
978
980
|
}
|
|
979
|
-
var
|
|
980
|
-
function
|
|
981
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, an = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
982
|
+
function at(e) {
|
|
981
983
|
var t = {};
|
|
982
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
984
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
983
985
|
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)), "";
|
|
984
986
|
}), t;
|
|
985
987
|
}
|
|
986
|
-
function
|
|
988
|
+
function kt(e) {
|
|
987
989
|
switch (e) {
|
|
988
990
|
case "sign-auto":
|
|
989
991
|
return {
|
|
@@ -1023,7 +1025,7 @@ function Ft(e) {
|
|
|
1023
1025
|
};
|
|
1024
1026
|
}
|
|
1025
1027
|
}
|
|
1026
|
-
function
|
|
1028
|
+
function un(e) {
|
|
1027
1029
|
var t;
|
|
1028
1030
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1029
1031
|
notation: "engineering"
|
|
@@ -1031,17 +1033,17 @@ function an(e) {
|
|
|
1031
1033
|
notation: "scientific"
|
|
1032
1034
|
}, e = e.slice(1)), t) {
|
|
1033
1035
|
var r = e.slice(0, 2);
|
|
1034
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1036
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1035
1037
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1036
1038
|
t.minimumIntegerDigits = e.length;
|
|
1037
1039
|
}
|
|
1038
1040
|
return t;
|
|
1039
1041
|
}
|
|
1040
|
-
function
|
|
1041
|
-
var t = {}, r =
|
|
1042
|
+
function ut(e) {
|
|
1043
|
+
var t = {}, r = kt(e);
|
|
1042
1044
|
return r || t;
|
|
1043
1045
|
}
|
|
1044
|
-
function
|
|
1046
|
+
function hn(e) {
|
|
1045
1047
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1046
1048
|
var i = n[r];
|
|
1047
1049
|
switch (i.stem) {
|
|
@@ -1065,7 +1067,7 @@ function un(e) {
|
|
|
1065
1067
|
continue;
|
|
1066
1068
|
case "measure-unit":
|
|
1067
1069
|
case "unit":
|
|
1068
|
-
t.style = "unit", t.unit =
|
|
1070
|
+
t.style = "unit", t.unit = on(i.options[0]);
|
|
1069
1071
|
continue;
|
|
1070
1072
|
case "compact-short":
|
|
1071
1073
|
case "K":
|
|
@@ -1077,12 +1079,12 @@ function un(e) {
|
|
|
1077
1079
|
continue;
|
|
1078
1080
|
case "scientific":
|
|
1079
1081
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1080
|
-
return E(E({}, h),
|
|
1082
|
+
return E(E({}, h), ut(a));
|
|
1081
1083
|
}, {}));
|
|
1082
1084
|
continue;
|
|
1083
1085
|
case "engineering":
|
|
1084
1086
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1085
|
-
return E(E({}, h),
|
|
1087
|
+
return E(E({}, h), ut(a));
|
|
1086
1088
|
}, {}));
|
|
1087
1089
|
continue;
|
|
1088
1090
|
case "notation-simple":
|
|
@@ -1127,7 +1129,7 @@ function un(e) {
|
|
|
1127
1129
|
case "integer-width":
|
|
1128
1130
|
if (i.options.length > 1)
|
|
1129
1131
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1130
|
-
i.options[0].replace(
|
|
1132
|
+
i.options[0].replace(an, function(h, a, l, c, f, d) {
|
|
1131
1133
|
if (a)
|
|
1132
1134
|
t.minimumIntegerDigits = l.length;
|
|
1133
1135
|
else {
|
|
@@ -1140,27 +1142,27 @@ function un(e) {
|
|
|
1140
1142
|
});
|
|
1141
1143
|
continue;
|
|
1142
1144
|
}
|
|
1143
|
-
if (
|
|
1145
|
+
if (jt.test(i.stem)) {
|
|
1144
1146
|
t.minimumIntegerDigits = i.stem.length;
|
|
1145
1147
|
continue;
|
|
1146
1148
|
}
|
|
1147
|
-
if (
|
|
1149
|
+
if (ot.test(i.stem)) {
|
|
1148
1150
|
if (i.options.length > 1)
|
|
1149
1151
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1150
|
-
i.stem.replace(
|
|
1152
|
+
i.stem.replace(ot, function(h, a, l, c, f, d) {
|
|
1151
1153
|
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1152
1154
|
});
|
|
1153
1155
|
var s = i.options[0];
|
|
1154
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1156
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
|
|
1155
1157
|
continue;
|
|
1156
1158
|
}
|
|
1157
|
-
if (
|
|
1158
|
-
t = E(E({}, t),
|
|
1159
|
+
if (Ft.test(i.stem)) {
|
|
1160
|
+
t = E(E({}, t), at(i.stem));
|
|
1159
1161
|
continue;
|
|
1160
1162
|
}
|
|
1161
|
-
var o =
|
|
1163
|
+
var o = kt(i.stem);
|
|
1162
1164
|
o && (t = E(E({}, t), o));
|
|
1163
|
-
var u =
|
|
1165
|
+
var u = un(i.stem);
|
|
1164
1166
|
u && (t = E(E({}, t), u));
|
|
1165
1167
|
}
|
|
1166
1168
|
return t;
|
|
@@ -2580,13 +2582,13 @@ var ce = {
|
|
|
2580
2582
|
"h"
|
|
2581
2583
|
]
|
|
2582
2584
|
};
|
|
2583
|
-
function
|
|
2585
|
+
function ln(e, t) {
|
|
2584
2586
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2585
2587
|
var i = e.charAt(n);
|
|
2586
2588
|
if (i === "j") {
|
|
2587
2589
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2588
2590
|
s++, n++;
|
|
2589
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a =
|
|
2591
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = fn(t);
|
|
2590
2592
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2591
2593
|
r += h;
|
|
2592
2594
|
for (; o-- > 0; )
|
|
@@ -2595,7 +2597,7 @@ function hn(e, t) {
|
|
|
2595
2597
|
}
|
|
2596
2598
|
return r;
|
|
2597
2599
|
}
|
|
2598
|
-
function
|
|
2600
|
+
function fn(e) {
|
|
2599
2601
|
var t = e.hourCycle;
|
|
2600
2602
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2601
2603
|
e.hourCycles && // @ts-ignore
|
|
@@ -2617,20 +2619,20 @@ function ln(e) {
|
|
|
2617
2619
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
2618
2620
|
return i[0];
|
|
2619
2621
|
}
|
|
2620
|
-
var we,
|
|
2622
|
+
var we, cn = new RegExp("^".concat(Dt.source, "*")), gn = new RegExp("".concat(Dt.source, "*$"));
|
|
2621
2623
|
function _(e, t) {
|
|
2622
2624
|
return { start: e, end: t };
|
|
2623
2625
|
}
|
|
2624
|
-
var
|
|
2626
|
+
var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), pn = !!String.fromCodePoint, dn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, yn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, En = !!Number.isSafeInteger, xn = En ? Number.isSafeInteger : function(e) {
|
|
2625
2627
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2626
2628
|
}, Re = !0;
|
|
2627
2629
|
try {
|
|
2628
|
-
var vn =
|
|
2630
|
+
var vn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2629
2631
|
Re = ((we = vn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2630
2632
|
} catch (e) {
|
|
2631
2633
|
Re = !1;
|
|
2632
2634
|
}
|
|
2633
|
-
var
|
|
2635
|
+
var ht = mn ? (
|
|
2634
2636
|
// Native
|
|
2635
2637
|
function(t, r, n) {
|
|
2636
2638
|
return t.startsWith(r, n);
|
|
@@ -2640,7 +2642,7 @@ var at = gn ? (
|
|
|
2640
2642
|
function(t, r, n) {
|
|
2641
2643
|
return t.slice(n, n + r.length) === r;
|
|
2642
2644
|
}
|
|
2643
|
-
), Ue =
|
|
2645
|
+
), Ue = pn ? String.fromCodePoint : (
|
|
2644
2646
|
// IE11
|
|
2645
2647
|
function() {
|
|
2646
2648
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2652,9 +2654,9 @@ var at = gn ? (
|
|
|
2652
2654
|
}
|
|
2653
2655
|
return n;
|
|
2654
2656
|
}
|
|
2655
|
-
),
|
|
2657
|
+
), lt = (
|
|
2656
2658
|
// native
|
|
2657
|
-
|
|
2659
|
+
dn ? Object.fromEntries : (
|
|
2658
2660
|
// Ponyfill
|
|
2659
2661
|
function(t) {
|
|
2660
2662
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2664,7 +2666,7 @@ var at = gn ? (
|
|
|
2664
2666
|
return r;
|
|
2665
2667
|
}
|
|
2666
2668
|
)
|
|
2667
|
-
),
|
|
2669
|
+
), Vt = bn ? (
|
|
2668
2670
|
// Native
|
|
2669
2671
|
function(t, r) {
|
|
2670
2672
|
return t.codePointAt(r);
|
|
@@ -2678,7 +2680,7 @@ var at = gn ? (
|
|
|
2678
2680
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2679
2681
|
}
|
|
2680
2682
|
}
|
|
2681
|
-
),
|
|
2683
|
+
), Tn = yn ? (
|
|
2682
2684
|
// Native
|
|
2683
2685
|
function(t) {
|
|
2684
2686
|
return t.trimStart();
|
|
@@ -2686,9 +2688,9 @@ var at = gn ? (
|
|
|
2686
2688
|
) : (
|
|
2687
2689
|
// Ponyfill
|
|
2688
2690
|
function(t) {
|
|
2689
|
-
return t.replace(
|
|
2691
|
+
return t.replace(cn, "");
|
|
2690
2692
|
}
|
|
2691
|
-
),
|
|
2693
|
+
), Cn = _n ? (
|
|
2692
2694
|
// Native
|
|
2693
2695
|
function(t) {
|
|
2694
2696
|
return t.trimEnd();
|
|
@@ -2696,32 +2698,32 @@ var at = gn ? (
|
|
|
2696
2698
|
) : (
|
|
2697
2699
|
// Ponyfill
|
|
2698
2700
|
function(t) {
|
|
2699
|
-
return t.replace(
|
|
2701
|
+
return t.replace(gn, "");
|
|
2700
2702
|
}
|
|
2701
2703
|
);
|
|
2702
|
-
function
|
|
2704
|
+
function Xt(e, t) {
|
|
2703
2705
|
return new RegExp(e, t);
|
|
2704
2706
|
}
|
|
2705
2707
|
var Ge;
|
|
2706
2708
|
if (Re) {
|
|
2707
|
-
var
|
|
2709
|
+
var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2708
2710
|
Ge = function(t, r) {
|
|
2709
2711
|
var n;
|
|
2710
|
-
|
|
2711
|
-
var i =
|
|
2712
|
+
ft.lastIndex = r;
|
|
2713
|
+
var i = ft.exec(t);
|
|
2712
2714
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2713
2715
|
};
|
|
2714
2716
|
} else
|
|
2715
2717
|
Ge = function(t, r) {
|
|
2716
2718
|
for (var n = []; ; ) {
|
|
2717
|
-
var i =
|
|
2718
|
-
if (i === void 0 ||
|
|
2719
|
+
var i = Vt(t, r);
|
|
2720
|
+
if (i === void 0 || zt(i) || Bn(i))
|
|
2719
2721
|
break;
|
|
2720
2722
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2721
2723
|
}
|
|
2722
2724
|
return Ue.apply(void 0, n);
|
|
2723
2725
|
};
|
|
2724
|
-
var
|
|
2726
|
+
var Hn = (
|
|
2725
2727
|
/** @class */
|
|
2726
2728
|
function() {
|
|
2727
2729
|
function e(t, r) {
|
|
@@ -2803,7 +2805,7 @@ var Cn = (
|
|
|
2803
2805
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2804
2806
|
}, e.prototype.parseTagName = function() {
|
|
2805
2807
|
var t = this.offset();
|
|
2806
|
-
for (this.bump(); !this.isEOF() &&
|
|
2808
|
+
for (this.bump(); !this.isEOF() && Sn(this.char()); )
|
|
2807
2809
|
this.bump();
|
|
2808
2810
|
return this.message.slice(t, this.offset());
|
|
2809
2811
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2832,7 +2834,7 @@ var Cn = (
|
|
|
2832
2834
|
};
|
|
2833
2835
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2834
2836
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2835
|
-
!
|
|
2837
|
+
!An(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2836
2838
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2837
2839
|
if (this.isEOF() || this.char() !== 39)
|
|
2838
2840
|
return null;
|
|
@@ -2919,7 +2921,7 @@ var Cn = (
|
|
|
2919
2921
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2920
2922
|
if (c.err)
|
|
2921
2923
|
return c;
|
|
2922
|
-
var f =
|
|
2924
|
+
var f = Cn(c.val);
|
|
2923
2925
|
if (f.length === 0)
|
|
2924
2926
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2925
2927
|
var d = _(l, this.clonePosition());
|
|
@@ -2929,24 +2931,24 @@ var Cn = (
|
|
|
2929
2931
|
if (p.err)
|
|
2930
2932
|
return p;
|
|
2931
2933
|
var g = _(i, this.clonePosition());
|
|
2932
|
-
if (a &&
|
|
2933
|
-
var
|
|
2934
|
+
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2935
|
+
var x = Tn(a.style.slice(2));
|
|
2934
2936
|
if (u === "number") {
|
|
2935
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2937
|
+
var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
|
|
2936
2938
|
return c.err ? c : {
|
|
2937
2939
|
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2938
2940
|
err: null
|
|
2939
2941
|
};
|
|
2940
2942
|
} else {
|
|
2941
|
-
if (
|
|
2943
|
+
if (x.length === 0)
|
|
2942
2944
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2943
|
-
var m =
|
|
2944
|
-
this.locale && (m =
|
|
2945
|
+
var m = x;
|
|
2946
|
+
this.locale && (m = ln(x, this.locale));
|
|
2945
2947
|
var f = {
|
|
2946
2948
|
type: J.dateTime,
|
|
2947
2949
|
pattern: m,
|
|
2948
2950
|
location: a.styleLocation,
|
|
2949
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2951
|
+
parsedOptions: this.shouldParseSkeletons ? rn(m) : {}
|
|
2950
2952
|
}, C = u === "date" ? T.date : T.time;
|
|
2951
2953
|
return {
|
|
2952
2954
|
val: { type: C, value: n, location: g, style: f },
|
|
@@ -2992,7 +2994,7 @@ var Cn = (
|
|
|
2992
2994
|
val: {
|
|
2993
2995
|
type: T.select,
|
|
2994
2996
|
value: n,
|
|
2995
|
-
options:
|
|
2997
|
+
options: lt(S.val),
|
|
2996
2998
|
location: N
|
|
2997
2999
|
},
|
|
2998
3000
|
err: null
|
|
@@ -3000,7 +3002,7 @@ var Cn = (
|
|
|
3000
3002
|
val: {
|
|
3001
3003
|
type: T.plural,
|
|
3002
3004
|
value: n,
|
|
3003
|
-
options:
|
|
3005
|
+
options: lt(S.val),
|
|
3004
3006
|
offset: w,
|
|
3005
3007
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3006
3008
|
location: N
|
|
@@ -3051,7 +3053,7 @@ var Cn = (
|
|
|
3051
3053
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3052
3054
|
var n = [];
|
|
3053
3055
|
try {
|
|
3054
|
-
n =
|
|
3056
|
+
n = sn(t);
|
|
3055
3057
|
} catch (i) {
|
|
3056
3058
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3057
3059
|
}
|
|
@@ -3060,7 +3062,7 @@ var Cn = (
|
|
|
3060
3062
|
type: J.number,
|
|
3061
3063
|
tokens: n,
|
|
3062
3064
|
location: r,
|
|
3063
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3065
|
+
parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
|
|
3064
3066
|
},
|
|
3065
3067
|
err: null
|
|
3066
3068
|
};
|
|
@@ -3108,7 +3110,7 @@ var Cn = (
|
|
|
3108
3110
|
break;
|
|
3109
3111
|
}
|
|
3110
3112
|
var h = _(i, this.clonePosition());
|
|
3111
|
-
return s ? (o *= n,
|
|
3113
|
+
return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3112
3114
|
}, e.prototype.offset = function() {
|
|
3113
3115
|
return this.position.offset;
|
|
3114
3116
|
}, e.prototype.isEOF = function() {
|
|
@@ -3123,7 +3125,7 @@ var Cn = (
|
|
|
3123
3125
|
var t = this.position.offset;
|
|
3124
3126
|
if (t >= this.message.length)
|
|
3125
3127
|
throw Error("out of bound");
|
|
3126
|
-
var r =
|
|
3128
|
+
var r = Vt(this.message, t);
|
|
3127
3129
|
if (r === void 0)
|
|
3128
3130
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3129
3131
|
return r;
|
|
@@ -3142,7 +3144,7 @@ var Cn = (
|
|
|
3142
3144
|
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);
|
|
3143
3145
|
}
|
|
3144
3146
|
}, e.prototype.bumpIf = function(t) {
|
|
3145
|
-
if (
|
|
3147
|
+
if (ht(this.message, t, this.offset())) {
|
|
3146
3148
|
for (var r = 0; r < t.length; r++)
|
|
3147
3149
|
this.bump();
|
|
3148
3150
|
return !0;
|
|
@@ -3164,7 +3166,7 @@ var Cn = (
|
|
|
3164
3166
|
break;
|
|
3165
3167
|
}
|
|
3166
3168
|
}, e.prototype.bumpSpace = function() {
|
|
3167
|
-
for (; !this.isEOF() &&
|
|
3169
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3168
3170
|
this.bump();
|
|
3169
3171
|
}, e.prototype.peek = function() {
|
|
3170
3172
|
if (this.isEOF())
|
|
@@ -3177,29 +3179,29 @@ var Cn = (
|
|
|
3177
3179
|
function De(e) {
|
|
3178
3180
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3179
3181
|
}
|
|
3180
|
-
function
|
|
3182
|
+
function An(e) {
|
|
3181
3183
|
return De(e) || e === 47;
|
|
3182
3184
|
}
|
|
3183
|
-
function
|
|
3185
|
+
function Sn(e) {
|
|
3184
3186
|
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;
|
|
3185
3187
|
}
|
|
3186
|
-
function
|
|
3188
|
+
function zt(e) {
|
|
3187
3189
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3188
3190
|
}
|
|
3189
|
-
function
|
|
3191
|
+
function Bn(e) {
|
|
3190
3192
|
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;
|
|
3191
3193
|
}
|
|
3192
3194
|
function Fe(e) {
|
|
3193
3195
|
e.forEach(function(t) {
|
|
3194
|
-
if (delete t.location,
|
|
3196
|
+
if (delete t.location, $t(t) || Rt(t))
|
|
3195
3197
|
for (var r in t.options)
|
|
3196
3198
|
delete t.options[r].location, Fe(t.options[r].value);
|
|
3197
|
-
else
|
|
3199
|
+
else Lt(t) && Gt(t.style) || (It(t) || Mt(t)) && $e(t.style) ? delete t.style.location : Ut(t) && Fe(t.children);
|
|
3198
3200
|
});
|
|
3199
3201
|
}
|
|
3200
|
-
function
|
|
3202
|
+
function wn(e, t) {
|
|
3201
3203
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3202
|
-
var r = new
|
|
3204
|
+
var r = new Hn(e, t).parse();
|
|
3203
3205
|
if (r.err) {
|
|
3204
3206
|
var n = SyntaxError(y[r.err.kind]);
|
|
3205
3207
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3210,7 +3212,7 @@ var Y;
|
|
|
3210
3212
|
(function(e) {
|
|
3211
3213
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3212
3214
|
})(Y || (Y = {}));
|
|
3213
|
-
var
|
|
3215
|
+
var xe = (
|
|
3214
3216
|
/** @class */
|
|
3215
3217
|
function(e) {
|
|
3216
3218
|
Ee(t, e);
|
|
@@ -3222,7 +3224,7 @@ var ve = (
|
|
|
3222
3224
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3223
3225
|
}, t;
|
|
3224
3226
|
}(Error)
|
|
3225
|
-
),
|
|
3227
|
+
), ct = (
|
|
3226
3228
|
/** @class */
|
|
3227
3229
|
function(e) {
|
|
3228
3230
|
Ee(t, e);
|
|
@@ -3230,8 +3232,8 @@ var ve = (
|
|
|
3230
3232
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
|
|
3231
3233
|
}
|
|
3232
3234
|
return t;
|
|
3233
|
-
}(
|
|
3234
|
-
),
|
|
3235
|
+
}(xe)
|
|
3236
|
+
), On = (
|
|
3235
3237
|
/** @class */
|
|
3236
3238
|
function(e) {
|
|
3237
3239
|
Ee(t, e);
|
|
@@ -3239,8 +3241,8 @@ var ve = (
|
|
|
3239
3241
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3240
3242
|
}
|
|
3241
3243
|
return t;
|
|
3242
|
-
}(
|
|
3243
|
-
),
|
|
3244
|
+
}(xe)
|
|
3245
|
+
), Pn = (
|
|
3244
3246
|
/** @class */
|
|
3245
3247
|
function(e) {
|
|
3246
3248
|
Ee(t, e);
|
|
@@ -3248,22 +3250,22 @@ var ve = (
|
|
|
3248
3250
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3249
3251
|
}
|
|
3250
3252
|
return t;
|
|
3251
|
-
}(
|
|
3253
|
+
}(xe)
|
|
3252
3254
|
), P;
|
|
3253
3255
|
(function(e) {
|
|
3254
3256
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3255
3257
|
})(P || (P = {}));
|
|
3256
|
-
function
|
|
3258
|
+
function Nn(e) {
|
|
3257
3259
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3258
3260
|
var n = t[t.length - 1];
|
|
3259
3261
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3260
3262
|
}, []);
|
|
3261
3263
|
}
|
|
3262
|
-
function
|
|
3264
|
+
function Ln(e) {
|
|
3263
3265
|
return typeof e == "function";
|
|
3264
3266
|
}
|
|
3265
3267
|
function me(e, t, r, n, i, s, o) {
|
|
3266
|
-
if (e.length === 1 &&
|
|
3268
|
+
if (e.length === 1 && st(e[0]))
|
|
3267
3269
|
return [
|
|
3268
3270
|
{
|
|
3269
3271
|
type: P.literal,
|
|
@@ -3272,14 +3274,14 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3272
3274
|
];
|
|
3273
3275
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3274
3276
|
var l = a[h];
|
|
3275
|
-
if (
|
|
3277
|
+
if (st(l)) {
|
|
3276
3278
|
u.push({
|
|
3277
3279
|
type: P.literal,
|
|
3278
3280
|
value: l.value
|
|
3279
3281
|
});
|
|
3280
3282
|
continue;
|
|
3281
3283
|
}
|
|
3282
|
-
if (
|
|
3284
|
+
if (en(l)) {
|
|
3283
3285
|
typeof s == "number" && u.push({
|
|
3284
3286
|
type: P.literal,
|
|
3285
3287
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3288,16 +3290,16 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3288
3290
|
}
|
|
3289
3291
|
var c = l.value;
|
|
3290
3292
|
if (!(i && c in i))
|
|
3291
|
-
throw new
|
|
3293
|
+
throw new Pn(c, o);
|
|
3292
3294
|
var f = i[c];
|
|
3293
|
-
if (
|
|
3295
|
+
if (Kr(l)) {
|
|
3294
3296
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3295
3297
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3296
3298
|
value: f
|
|
3297
3299
|
});
|
|
3298
3300
|
continue;
|
|
3299
3301
|
}
|
|
3300
|
-
if (
|
|
3302
|
+
if (It(l)) {
|
|
3301
3303
|
var d = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
|
|
3302
3304
|
u.push({
|
|
3303
3305
|
type: P.literal,
|
|
@@ -3305,7 +3307,7 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3305
3307
|
});
|
|
3306
3308
|
continue;
|
|
3307
3309
|
}
|
|
3308
|
-
if (
|
|
3310
|
+
if (Mt(l)) {
|
|
3309
3311
|
var d = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3310
3312
|
u.push({
|
|
3311
3313
|
type: P.literal,
|
|
@@ -3313,19 +3315,19 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3313
3315
|
});
|
|
3314
3316
|
continue;
|
|
3315
3317
|
}
|
|
3316
|
-
if (
|
|
3317
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3318
|
+
if (Lt(l)) {
|
|
3319
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3318
3320
|
d && d.scale && (f = f * (d.scale || 1)), u.push({
|
|
3319
3321
|
type: P.literal,
|
|
3320
3322
|
value: r.getNumberFormat(t, d).format(f)
|
|
3321
3323
|
});
|
|
3322
3324
|
continue;
|
|
3323
3325
|
}
|
|
3324
|
-
if (
|
|
3325
|
-
var p = l.children, g = l.value,
|
|
3326
|
-
if (!
|
|
3327
|
-
throw new
|
|
3328
|
-
var m = me(p, t, r, n, i, s), C =
|
|
3326
|
+
if (Ut(l)) {
|
|
3327
|
+
var p = l.children, g = l.value, x = i[g];
|
|
3328
|
+
if (!Ln(x))
|
|
3329
|
+
throw new On(g, "function", o);
|
|
3330
|
+
var m = me(p, t, r, n, i, s), C = x(m.map(function(w) {
|
|
3329
3331
|
return w.value;
|
|
3330
3332
|
}));
|
|
3331
3333
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(w) {
|
|
@@ -3335,39 +3337,39 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3335
3337
|
};
|
|
3336
3338
|
}));
|
|
3337
3339
|
}
|
|
3338
|
-
if (
|
|
3340
|
+
if ($t(l)) {
|
|
3339
3341
|
var A = l.options[f] || l.options.other;
|
|
3340
3342
|
if (!A)
|
|
3341
|
-
throw new
|
|
3343
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3342
3344
|
u.push.apply(u, me(A.value, t, r, n, i));
|
|
3343
3345
|
continue;
|
|
3344
3346
|
}
|
|
3345
|
-
if (
|
|
3347
|
+
if (Rt(l)) {
|
|
3346
3348
|
var A = l.options["=".concat(f)];
|
|
3347
3349
|
if (!A) {
|
|
3348
3350
|
if (!Intl.PluralRules)
|
|
3349
|
-
throw new
|
|
3351
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3350
3352
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3351
3353
|
`, Y.MISSING_INTL_API, o);
|
|
3352
3354
|
var I = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3353
3355
|
A = l.options[I] || l.options.other;
|
|
3354
3356
|
}
|
|
3355
3357
|
if (!A)
|
|
3356
|
-
throw new
|
|
3358
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3357
3359
|
u.push.apply(u, me(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3358
3360
|
continue;
|
|
3359
3361
|
}
|
|
3360
3362
|
}
|
|
3361
|
-
return
|
|
3363
|
+
return Nn(u);
|
|
3362
3364
|
}
|
|
3363
|
-
function
|
|
3365
|
+
function In(e, t) {
|
|
3364
3366
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3365
3367
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3366
3368
|
}, {})) : e;
|
|
3367
3369
|
}
|
|
3368
|
-
function
|
|
3370
|
+
function Mn(e, t) {
|
|
3369
3371
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3370
|
-
return r[n] =
|
|
3372
|
+
return r[n] = In(e[n], t[n]), r;
|
|
3371
3373
|
}, E({}, e)) : e;
|
|
3372
3374
|
}
|
|
3373
3375
|
function Oe(e) {
|
|
@@ -3384,7 +3386,7 @@ function Oe(e) {
|
|
|
3384
3386
|
}
|
|
3385
3387
|
};
|
|
3386
3388
|
}
|
|
3387
|
-
function
|
|
3389
|
+
function $n(e) {
|
|
3388
3390
|
return e === void 0 && (e = {
|
|
3389
3391
|
number: {},
|
|
3390
3392
|
dateTime: {},
|
|
@@ -3416,7 +3418,7 @@ function Mn(e) {
|
|
|
3416
3418
|
})
|
|
3417
3419
|
};
|
|
3418
3420
|
}
|
|
3419
|
-
var
|
|
3421
|
+
var Rn = (
|
|
3420
3422
|
/** @class */
|
|
3421
3423
|
function() {
|
|
3422
3424
|
function e(t, r, n, i) {
|
|
@@ -3448,13 +3450,13 @@ var $n = (
|
|
|
3448
3450
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3449
3451
|
var o = i || {};
|
|
3450
3452
|
o.formatters;
|
|
3451
|
-
var u =
|
|
3453
|
+
var u = zr(o, ["formatters"]);
|
|
3452
3454
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3453
3455
|
} else
|
|
3454
3456
|
this.ast = t;
|
|
3455
3457
|
if (!Array.isArray(this.ast))
|
|
3456
3458
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3457
|
-
this.formats =
|
|
3459
|
+
this.formats = Mn(e.formats, n), this.formatters = i && i.formatters || $n(this.formatterCache);
|
|
3458
3460
|
}
|
|
3459
3461
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3460
3462
|
get: function() {
|
|
@@ -3467,7 +3469,7 @@ var $n = (
|
|
|
3467
3469
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3468
3470
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3469
3471
|
}
|
|
3470
|
-
}, e.__parse =
|
|
3472
|
+
}, e.__parse = wn, e.formats = {
|
|
3471
3473
|
number: {
|
|
3472
3474
|
integer: {
|
|
3473
3475
|
maximumFractionDigits: 0
|
|
@@ -3528,7 +3530,7 @@ var $n = (
|
|
|
3528
3530
|
}, e;
|
|
3529
3531
|
}()
|
|
3530
3532
|
);
|
|
3531
|
-
function
|
|
3533
|
+
function Un(e, t) {
|
|
3532
3534
|
if (t == null)
|
|
3533
3535
|
return;
|
|
3534
3536
|
if (t in e)
|
|
@@ -3549,92 +3551,92 @@ function Rn(e, t) {
|
|
|
3549
3551
|
n = void 0;
|
|
3550
3552
|
return n;
|
|
3551
3553
|
}
|
|
3552
|
-
const D = {},
|
|
3554
|
+
const D = {}, Gn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Wt = (e, t) => {
|
|
3553
3555
|
if (t == null)
|
|
3554
3556
|
return;
|
|
3555
3557
|
if (t in D && e in D[t])
|
|
3556
3558
|
return D[t][e];
|
|
3557
|
-
const r =
|
|
3559
|
+
const r = ve(t);
|
|
3558
3560
|
for (let n = 0; n < r.length; n++) {
|
|
3559
|
-
const i = r[n], s =
|
|
3561
|
+
const i = r[n], s = Fn(i, e);
|
|
3560
3562
|
if (s)
|
|
3561
|
-
return
|
|
3563
|
+
return Gn(e, t, s);
|
|
3562
3564
|
}
|
|
3563
3565
|
};
|
|
3564
|
-
let
|
|
3566
|
+
let We;
|
|
3565
3567
|
const he = _e({});
|
|
3566
|
-
function
|
|
3567
|
-
return
|
|
3568
|
+
function Dn(e) {
|
|
3569
|
+
return We[e] || null;
|
|
3568
3570
|
}
|
|
3569
|
-
function
|
|
3570
|
-
return e in
|
|
3571
|
+
function Zt(e) {
|
|
3572
|
+
return e in We;
|
|
3571
3573
|
}
|
|
3572
|
-
function
|
|
3573
|
-
if (!
|
|
3574
|
+
function Fn(e, t) {
|
|
3575
|
+
if (!Zt(e))
|
|
3574
3576
|
return null;
|
|
3575
|
-
const r =
|
|
3576
|
-
return
|
|
3577
|
+
const r = Dn(e);
|
|
3578
|
+
return Un(r, t);
|
|
3577
3579
|
}
|
|
3578
|
-
function
|
|
3580
|
+
function jn(e) {
|
|
3579
3581
|
if (e == null)
|
|
3580
3582
|
return;
|
|
3581
|
-
const t =
|
|
3583
|
+
const t = ve(e);
|
|
3582
3584
|
for (let r = 0; r < t.length; r++) {
|
|
3583
3585
|
const n = t[r];
|
|
3584
|
-
if (
|
|
3586
|
+
if (Zt(n))
|
|
3585
3587
|
return n;
|
|
3586
3588
|
}
|
|
3587
3589
|
}
|
|
3588
|
-
function
|
|
3589
|
-
delete D[e], he.update((r) => (r[e] =
|
|
3590
|
+
function Qt(e, ...t) {
|
|
3591
|
+
delete D[e], he.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
|
|
3590
3592
|
}
|
|
3591
3593
|
ee(
|
|
3592
3594
|
[he],
|
|
3593
3595
|
([e]) => Object.keys(e)
|
|
3594
3596
|
);
|
|
3595
|
-
he.subscribe((e) =>
|
|
3597
|
+
he.subscribe((e) => We = e);
|
|
3596
3598
|
const pe = {};
|
|
3597
|
-
function
|
|
3599
|
+
function kn(e, t) {
|
|
3598
3600
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3599
3601
|
}
|
|
3600
|
-
function
|
|
3602
|
+
function qt(e) {
|
|
3601
3603
|
return pe[e];
|
|
3602
3604
|
}
|
|
3603
|
-
function
|
|
3604
|
-
return
|
|
3605
|
-
const r =
|
|
3605
|
+
function Vn(e) {
|
|
3606
|
+
return ve(e).map((t) => {
|
|
3607
|
+
const r = qt(t);
|
|
3606
3608
|
return [t, r ? [...r] : []];
|
|
3607
3609
|
}).filter(([, t]) => t.length > 0);
|
|
3608
3610
|
}
|
|
3609
3611
|
function je(e) {
|
|
3610
|
-
return e == null ? !1 :
|
|
3612
|
+
return e == null ? !1 : ve(e).some(
|
|
3611
3613
|
(t) => {
|
|
3612
3614
|
var r;
|
|
3613
|
-
return (r =
|
|
3615
|
+
return (r = qt(t)) == null ? void 0 : r.size;
|
|
3614
3616
|
}
|
|
3615
3617
|
);
|
|
3616
3618
|
}
|
|
3617
|
-
function
|
|
3619
|
+
function Xn(e, t) {
|
|
3618
3620
|
return Promise.all(
|
|
3619
|
-
t.map((n) => (
|
|
3620
|
-
).then((n) =>
|
|
3621
|
+
t.map((n) => (kn(e, n), n().then((i) => i.default || i)))
|
|
3622
|
+
).then((n) => Qt(e, ...n));
|
|
3621
3623
|
}
|
|
3622
3624
|
const ne = {};
|
|
3623
|
-
function
|
|
3625
|
+
function Jt(e) {
|
|
3624
3626
|
if (!je(e))
|
|
3625
3627
|
return e in ne ? ne[e] : Promise.resolve();
|
|
3626
|
-
const t =
|
|
3628
|
+
const t = Vn(e);
|
|
3627
3629
|
return ne[e] = Promise.all(
|
|
3628
3630
|
t.map(
|
|
3629
|
-
([r, n]) =>
|
|
3631
|
+
([r, n]) => Xn(r, n)
|
|
3630
3632
|
)
|
|
3631
3633
|
).then(() => {
|
|
3632
3634
|
if (je(e))
|
|
3633
|
-
return
|
|
3635
|
+
return Jt(e);
|
|
3634
3636
|
delete ne[e];
|
|
3635
3637
|
}), ne[e];
|
|
3636
3638
|
}
|
|
3637
|
-
const
|
|
3639
|
+
const zn = {
|
|
3638
3640
|
number: {
|
|
3639
3641
|
scientific: { notation: "scientific" },
|
|
3640
3642
|
engineering: { notation: "engineering" },
|
|
@@ -3663,34 +3665,34 @@ const Xn = {
|
|
|
3663
3665
|
timeZoneName: "short"
|
|
3664
3666
|
}
|
|
3665
3667
|
}
|
|
3666
|
-
},
|
|
3668
|
+
}, Wn = {
|
|
3667
3669
|
fallbackLocale: null,
|
|
3668
3670
|
loadingDelay: 200,
|
|
3669
|
-
formats:
|
|
3671
|
+
formats: zn,
|
|
3670
3672
|
warnOnMissingMessages: !0,
|
|
3671
3673
|
handleMissingMessage: void 0,
|
|
3672
3674
|
ignoreTag: !0
|
|
3673
|
-
},
|
|
3675
|
+
}, Zn = Wn;
|
|
3674
3676
|
function K() {
|
|
3675
|
-
return
|
|
3677
|
+
return Zn;
|
|
3676
3678
|
}
|
|
3677
3679
|
const Pe = _e(!1);
|
|
3678
|
-
var
|
|
3680
|
+
var Qn = Object.defineProperty, qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ei = (e, t) => {
|
|
3679
3681
|
for (var r in t || (t = {}))
|
|
3680
|
-
|
|
3681
|
-
if (
|
|
3682
|
-
for (var r of
|
|
3683
|
-
|
|
3682
|
+
Yn.call(t, r) && mt(e, r, t[r]);
|
|
3683
|
+
if (gt)
|
|
3684
|
+
for (var r of gt(t))
|
|
3685
|
+
Kn.call(t, r) && mt(e, r, t[r]);
|
|
3684
3686
|
return e;
|
|
3685
|
-
},
|
|
3687
|
+
}, ti = (e, t) => qn(e, Jn(t));
|
|
3686
3688
|
let ke;
|
|
3687
3689
|
const be = _e(null);
|
|
3688
|
-
function
|
|
3690
|
+
function pt(e) {
|
|
3689
3691
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3690
3692
|
}
|
|
3691
|
-
function
|
|
3692
|
-
const r =
|
|
3693
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3693
|
+
function ve(e, t = K().fallbackLocale) {
|
|
3694
|
+
const r = pt(e);
|
|
3695
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
3694
3696
|
}
|
|
3695
3697
|
function X() {
|
|
3696
3698
|
return ke != null ? ke : void 0;
|
|
@@ -3698,22 +3700,22 @@ function X() {
|
|
|
3698
3700
|
be.subscribe((e) => {
|
|
3699
3701
|
ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3700
3702
|
});
|
|
3701
|
-
const
|
|
3702
|
-
if (e &&
|
|
3703
|
+
const ri = (e) => {
|
|
3704
|
+
if (e && jn(e) && je(e)) {
|
|
3703
3705
|
const { loadingDelay: t } = K();
|
|
3704
3706
|
let r;
|
|
3705
3707
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
|
3706
3708
|
() => Pe.set(!0),
|
|
3707
3709
|
t
|
|
3708
|
-
) : Pe.set(!0),
|
|
3710
|
+
) : Pe.set(!0), Jt(e).then(() => {
|
|
3709
3711
|
be.set(e);
|
|
3710
3712
|
}).finally(() => {
|
|
3711
3713
|
clearTimeout(r), Pe.set(!1);
|
|
3712
3714
|
});
|
|
3713
3715
|
}
|
|
3714
3716
|
return be.set(e);
|
|
3715
|
-
}, te = ei(
|
|
3716
|
-
set:
|
|
3717
|
+
}, te = ti(ei({}, be), {
|
|
3718
|
+
set: ri
|
|
3717
3719
|
}), Te = (e) => {
|
|
3718
3720
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3719
3721
|
return (n) => {
|
|
@@ -3721,20 +3723,20 @@ const ti = (e) => {
|
|
|
3721
3723
|
return i in t ? t[i] : t[i] = e(n);
|
|
3722
3724
|
};
|
|
3723
3725
|
};
|
|
3724
|
-
var
|
|
3726
|
+
var ni = Object.defineProperty, ye = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
3725
3727
|
for (var r in t || (t = {}))
|
|
3726
|
-
|
|
3728
|
+
Yt.call(t, r) && dt(e, r, t[r]);
|
|
3727
3729
|
if (ye)
|
|
3728
3730
|
for (var r of ye(t))
|
|
3729
|
-
|
|
3731
|
+
Kt.call(t, r) && dt(e, r, t[r]);
|
|
3730
3732
|
return e;
|
|
3731
3733
|
}, re = (e, t) => {
|
|
3732
3734
|
var r = {};
|
|
3733
3735
|
for (var n in e)
|
|
3734
|
-
|
|
3736
|
+
Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3735
3737
|
if (e != null && ye)
|
|
3736
3738
|
for (var n of ye(e))
|
|
3737
|
-
t.indexOf(n) < 0 &&
|
|
3739
|
+
t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
|
|
3738
3740
|
return r;
|
|
3739
3741
|
};
|
|
3740
3742
|
const ae = (e, t) => {
|
|
@@ -3742,21 +3744,21 @@ const ae = (e, t) => {
|
|
|
3742
3744
|
if (e in r && t in r[e])
|
|
3743
3745
|
return r[e][t];
|
|
3744
3746
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3745
|
-
},
|
|
3747
|
+
}, ii = Te(
|
|
3746
3748
|
(e) => {
|
|
3747
3749
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3748
3750
|
if (r == null)
|
|
3749
3751
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3750
3752
|
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3751
3753
|
}
|
|
3752
|
-
),
|
|
3754
|
+
), si = Te(
|
|
3753
3755
|
(e) => {
|
|
3754
3756
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3755
3757
|
if (r == null)
|
|
3756
3758
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3757
3759
|
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3758
3760
|
}
|
|
3759
|
-
),
|
|
3761
|
+
), oi = Te(
|
|
3760
3762
|
(e) => {
|
|
3761
3763
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3762
3764
|
if (r == null)
|
|
@@ -3765,33 +3767,33 @@ const ae = (e, t) => {
|
|
|
3765
3767
|
);
|
|
3766
3768
|
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3767
3769
|
}
|
|
3768
|
-
),
|
|
3770
|
+
), ai = (e = {}) => {
|
|
3769
3771
|
var t = e, {
|
|
3770
3772
|
locale: r = X()
|
|
3771
3773
|
} = t, n = re(t, [
|
|
3772
3774
|
"locale"
|
|
3773
3775
|
]);
|
|
3774
|
-
return
|
|
3775
|
-
},
|
|
3776
|
+
return ii(Ze({ locale: r }, n));
|
|
3777
|
+
}, ui = (e = {}) => {
|
|
3776
3778
|
var t = e, {
|
|
3777
3779
|
locale: r = X()
|
|
3778
3780
|
} = t, n = re(t, [
|
|
3779
3781
|
"locale"
|
|
3780
3782
|
]);
|
|
3781
|
-
return
|
|
3782
|
-
},
|
|
3783
|
+
return si(Ze({ locale: r }, n));
|
|
3784
|
+
}, hi = (e = {}) => {
|
|
3783
3785
|
var t = e, {
|
|
3784
3786
|
locale: r = X()
|
|
3785
3787
|
} = t, n = re(t, [
|
|
3786
3788
|
"locale"
|
|
3787
3789
|
]);
|
|
3788
|
-
return
|
|
3789
|
-
},
|
|
3790
|
+
return oi(Ze({ locale: r }, n));
|
|
3791
|
+
}, li = Te(
|
|
3790
3792
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3791
|
-
(e, t = X()) => new
|
|
3793
|
+
(e, t = X()) => new Rn(e, t, K().formats, {
|
|
3792
3794
|
ignoreTag: K().ignoreTag
|
|
3793
3795
|
})
|
|
3794
|
-
),
|
|
3796
|
+
), fi = (e, t = {}) => {
|
|
3795
3797
|
var r, n, i, s;
|
|
3796
3798
|
let o = t;
|
|
3797
3799
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3804,7 +3806,7 @@ const ae = (e, t) => {
|
|
|
3804
3806
|
throw new Error(
|
|
3805
3807
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3806
3808
|
);
|
|
3807
|
-
let l =
|
|
3809
|
+
let l = Wt(e, h);
|
|
3808
3810
|
if (!l)
|
|
3809
3811
|
l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3810
3812
|
else if (typeof l != "string")
|
|
@@ -3815,7 +3817,7 @@ const ae = (e, t) => {
|
|
|
3815
3817
|
return l;
|
|
3816
3818
|
let c = l;
|
|
3817
3819
|
try {
|
|
3818
|
-
c =
|
|
3820
|
+
c = li(l, h).format(u);
|
|
3819
3821
|
} catch (f) {
|
|
3820
3822
|
f instanceof Error && console.warn(
|
|
3821
3823
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3823,18 +3825,18 @@ const ae = (e, t) => {
|
|
|
3823
3825
|
);
|
|
3824
3826
|
}
|
|
3825
3827
|
return c;
|
|
3826
|
-
},
|
|
3827
|
-
ee([te], () => fi);
|
|
3828
|
+
}, ci = (e, t) => hi(t).format(e), gi = (e, t) => ui(t).format(e), mi = (e, t) => ai(t).format(e), pi = (e, t = X()) => Wt(e, t), di = ee([te, he], () => fi);
|
|
3828
3829
|
ee([te], () => ci);
|
|
3829
3830
|
ee([te], () => gi);
|
|
3830
|
-
ee([te
|
|
3831
|
-
|
|
3832
|
-
|
|
3831
|
+
ee([te], () => mi);
|
|
3832
|
+
ee([te, he], () => pi);
|
|
3833
|
+
function bt(e, t) {
|
|
3834
|
+
Qt(e, t);
|
|
3833
3835
|
}
|
|
3834
|
-
function
|
|
3836
|
+
function bi(e) {
|
|
3835
3837
|
te.set(e);
|
|
3836
3838
|
}
|
|
3837
|
-
const
|
|
3839
|
+
const yt = {
|
|
3838
3840
|
en: {
|
|
3839
3841
|
topCategories: "Top Categories",
|
|
3840
3842
|
otherCategories: "Other Categories",
|
|
@@ -3944,18 +3946,18 @@ const dt = {
|
|
|
3944
3946
|
games: "games"
|
|
3945
3947
|
}
|
|
3946
3948
|
};
|
|
3947
|
-
function
|
|
3948
|
-
|
|
3949
|
+
function yi(e) {
|
|
3950
|
+
fr(e, "svelte-131a9uf", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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}");
|
|
3949
3951
|
}
|
|
3950
|
-
function
|
|
3952
|
+
function _t(e, t, r) {
|
|
3951
3953
|
const n = e.slice();
|
|
3952
3954
|
return n[24] = t[r], n;
|
|
3953
3955
|
}
|
|
3954
|
-
function
|
|
3956
|
+
function Et(e, t, r) {
|
|
3955
3957
|
const n = e.slice();
|
|
3956
3958
|
return n[24] = t[r], n;
|
|
3957
3959
|
}
|
|
3958
|
-
function
|
|
3960
|
+
function _i(e) {
|
|
3959
3961
|
let t, r, n = (
|
|
3960
3962
|
/*$_*/
|
|
3961
3963
|
e[5]("topCategories") + ""
|
|
@@ -3967,13 +3969,13 @@ function yi(e) {
|
|
|
3967
3969
|
e[3]
|
|
3968
3970
|
), f = [];
|
|
3969
3971
|
for (let g = 0; g < c.length; g += 1)
|
|
3970
|
-
f[g] =
|
|
3972
|
+
f[g] = xt(Et(e, c, g));
|
|
3971
3973
|
let d = fe(
|
|
3972
3974
|
/*otherCategories*/
|
|
3973
3975
|
e[4]
|
|
3974
3976
|
), p = [];
|
|
3975
3977
|
for (let g = 0; g < d.length; g += 1)
|
|
3976
|
-
p[g] =
|
|
3978
|
+
p[g] = vt(_t(e, d, g));
|
|
3977
3979
|
return {
|
|
3978
3980
|
c() {
|
|
3979
3981
|
t = B("div"), r = B("h4"), i = U(n), s = R();
|
|
@@ -3984,18 +3986,18 @@ function yi(e) {
|
|
|
3984
3986
|
p[g].c();
|
|
3985
3987
|
H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
|
|
3986
3988
|
},
|
|
3987
|
-
m(g,
|
|
3988
|
-
V(g, t,
|
|
3989
|
+
m(g, x) {
|
|
3990
|
+
V(g, t, x), v(t, r), v(r, i), v(t, s);
|
|
3989
3991
|
for (let m = 0; m < f.length; m += 1)
|
|
3990
3992
|
f[m] && f[m].m(t, null);
|
|
3991
|
-
|
|
3993
|
+
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
3992
3994
|
for (let m = 0; m < p.length; m += 1)
|
|
3993
3995
|
p[m] && p[m].m(t, null);
|
|
3994
3996
|
},
|
|
3995
|
-
p(g,
|
|
3996
|
-
if (
|
|
3997
|
+
p(g, x) {
|
|
3998
|
+
if (x & /*$_*/
|
|
3997
3999
|
32 && n !== (n = /*$_*/
|
|
3998
|
-
g[5]("topCategories") + "") && F(i, n),
|
|
4000
|
+
g[5]("topCategories") + "") && F(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3999
4001
|
105) {
|
|
4000
4002
|
c = fe(
|
|
4001
4003
|
/*topCategories*/
|
|
@@ -4003,16 +4005,16 @@ function yi(e) {
|
|
|
4003
4005
|
);
|
|
4004
4006
|
let m;
|
|
4005
4007
|
for (m = 0; m < c.length; m += 1) {
|
|
4006
|
-
const C =
|
|
4007
|
-
f[m] ? f[m].p(C,
|
|
4008
|
+
const C = Et(g, c, m);
|
|
4009
|
+
f[m] ? f[m].p(C, x) : (f[m] = xt(C), f[m].c(), f[m].m(t, o));
|
|
4008
4010
|
}
|
|
4009
4011
|
for (; m < f.length; m += 1)
|
|
4010
4012
|
f[m].d(1);
|
|
4011
4013
|
f.length = c.length;
|
|
4012
4014
|
}
|
|
4013
|
-
if (
|
|
4015
|
+
if (x & /*$_*/
|
|
4014
4016
|
32 && h !== (h = /*$_*/
|
|
4015
|
-
g[5]("otherCategories") + "") && F(a, h),
|
|
4017
|
+
g[5]("otherCategories") + "") && F(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
4016
4018
|
113) {
|
|
4017
4019
|
d = fe(
|
|
4018
4020
|
/*otherCategories*/
|
|
@@ -4020,8 +4022,8 @@ function yi(e) {
|
|
|
4020
4022
|
);
|
|
4021
4023
|
let m;
|
|
4022
4024
|
for (m = 0; m < d.length; m += 1) {
|
|
4023
|
-
const C =
|
|
4024
|
-
p[m] ? p[m].p(C,
|
|
4025
|
+
const C = _t(g, d, m);
|
|
4026
|
+
p[m] ? p[m].p(C, x) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
|
|
4025
4027
|
}
|
|
4026
4028
|
for (; m < p.length; m += 1)
|
|
4027
4029
|
p[m].d(1);
|
|
@@ -4029,11 +4031,11 @@ function yi(e) {
|
|
|
4029
4031
|
}
|
|
4030
4032
|
},
|
|
4031
4033
|
d(g) {
|
|
4032
|
-
g && j(t),
|
|
4034
|
+
g && j(t), rt(f, g), rt(p, g);
|
|
4033
4035
|
}
|
|
4034
4036
|
};
|
|
4035
4037
|
}
|
|
4036
|
-
function
|
|
4038
|
+
function Ei(e) {
|
|
4037
4039
|
let t;
|
|
4038
4040
|
return {
|
|
4039
4041
|
c() {
|
|
@@ -4048,7 +4050,7 @@ function _i(e) {
|
|
|
4048
4050
|
}
|
|
4049
4051
|
};
|
|
4050
4052
|
}
|
|
4051
|
-
function
|
|
4053
|
+
function xt(e) {
|
|
4052
4054
|
let t, r, n, i, s, o, u, h = (
|
|
4053
4055
|
/*category*/
|
|
4054
4056
|
e[24].name + ""
|
|
@@ -4058,7 +4060,7 @@ function _t(e) {
|
|
|
4058
4060
|
), d, p, g = (
|
|
4059
4061
|
/*$_*/
|
|
4060
4062
|
e[5]("games") + ""
|
|
4061
|
-
),
|
|
4063
|
+
), x, m, C, A;
|
|
4062
4064
|
function I() {
|
|
4063
4065
|
return (
|
|
4064
4066
|
/*click_handler*/
|
|
@@ -4070,14 +4072,14 @@ function _t(e) {
|
|
|
4070
4072
|
}
|
|
4071
4073
|
return {
|
|
4072
4074
|
c() {
|
|
4073
|
-
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"), d = U(f), p = R(),
|
|
4075
|
+
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"), d = U(f), p = R(), x = U(g), de(r.src, n = /*category*/
|
|
4074
4076
|
e[24].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4075
4077
|
e[24].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
|
|
4076
4078
|
(e[0] === /*category*/
|
|
4077
4079
|
e[24].id ? "Active" : ""));
|
|
4078
4080
|
},
|
|
4079
4081
|
m(w, S) {
|
|
4080
|
-
V(w, t, S),
|
|
4082
|
+
V(w, t, S), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), C || (A = At(t, "click", I), C = !0);
|
|
4081
4083
|
},
|
|
4082
4084
|
p(w, S) {
|
|
4083
4085
|
e = w, S & /*topCategories*/
|
|
@@ -4090,7 +4092,7 @@ function _t(e) {
|
|
|
4090
4092
|
8 && f !== (f = /*category*/
|
|
4091
4093
|
e[24].games.count + "") && F(d, f), S & /*$_*/
|
|
4092
4094
|
32 && g !== (g = /*$_*/
|
|
4093
|
-
e[5]("games") + "") && F(
|
|
4095
|
+
e[5]("games") + "") && F(x, g), S & /*activecategory, topCategories*/
|
|
4094
4096
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4095
4097
|
(e[0] === /*category*/
|
|
4096
4098
|
e[24].id ? "Active" : "")) && H(t, "class", m);
|
|
@@ -4100,7 +4102,7 @@ function _t(e) {
|
|
|
4100
4102
|
}
|
|
4101
4103
|
};
|
|
4102
4104
|
}
|
|
4103
|
-
function
|
|
4105
|
+
function vt(e) {
|
|
4104
4106
|
let t, r, n, i, s, o, u, h = (
|
|
4105
4107
|
/*category*/
|
|
4106
4108
|
e[24].name + ""
|
|
@@ -4110,7 +4112,7 @@ function Et(e) {
|
|
|
4110
4112
|
), d, p, g = (
|
|
4111
4113
|
/*$_*/
|
|
4112
4114
|
e[5]("games") + ""
|
|
4113
|
-
),
|
|
4115
|
+
), x, m, C, A, I;
|
|
4114
4116
|
function w() {
|
|
4115
4117
|
return (
|
|
4116
4118
|
/*click_handler_1*/
|
|
@@ -4122,14 +4124,14 @@ function Et(e) {
|
|
|
4122
4124
|
}
|
|
4123
4125
|
return {
|
|
4124
4126
|
c() {
|
|
4125
|
-
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"), d = U(f), p = R(),
|
|
4127
|
+
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"), d = U(f), p = R(), x = U(g), m = R(), de(r.src, n = /*category*/
|
|
4126
4128
|
e[24].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4127
4129
|
e[24].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
|
|
4128
4130
|
(e[0] === /*category*/
|
|
4129
4131
|
e[24].id ? "Active" : ""));
|
|
4130
4132
|
},
|
|
4131
4133
|
m(S, N) {
|
|
4132
|
-
V(S, t, N),
|
|
4134
|
+
V(S, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), v(t, m), A || (I = At(t, "click", w), A = !0);
|
|
4133
4135
|
},
|
|
4134
4136
|
p(S, N) {
|
|
4135
4137
|
e = S, N & /*otherCategories*/
|
|
@@ -4142,7 +4144,7 @@ function Et(e) {
|
|
|
4142
4144
|
16 && f !== (f = /*category*/
|
|
4143
4145
|
e[24].games.count + "") && F(d, f), N & /*$_*/
|
|
4144
4146
|
32 && g !== (g = /*$_*/
|
|
4145
|
-
e[5]("games") + "") && F(
|
|
4147
|
+
e[5]("games") + "") && F(x, g), N & /*activecategory, otherCategories*/
|
|
4146
4148
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
4147
4149
|
(e[0] === /*category*/
|
|
4148
4150
|
e[24].id ? "Active" : "")) && H(t, "class", C);
|
|
@@ -4152,12 +4154,12 @@ function Et(e) {
|
|
|
4152
4154
|
}
|
|
4153
4155
|
};
|
|
4154
4156
|
}
|
|
4155
|
-
function
|
|
4157
|
+
function xi(e) {
|
|
4156
4158
|
let t;
|
|
4157
4159
|
function r(s, o) {
|
|
4158
4160
|
return (
|
|
4159
4161
|
/*isLoading*/
|
|
4160
|
-
s[2] ?
|
|
4162
|
+
s[2] ? Ei : _i
|
|
4161
4163
|
);
|
|
4162
4164
|
}
|
|
4163
4165
|
let n = r(e), i = n(e);
|
|
@@ -4180,17 +4182,17 @@ function Ei(e) {
|
|
|
4180
4182
|
}
|
|
4181
4183
|
function vi(e, t, r) {
|
|
4182
4184
|
let n;
|
|
4183
|
-
|
|
4185
|
+
lr(e, di, (b) => r(5, n = b));
|
|
4184
4186
|
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f, d = !1;
|
|
4185
4187
|
const p = [];
|
|
4186
|
-
let g = [],
|
|
4187
|
-
Object.keys(
|
|
4188
|
-
|
|
4188
|
+
let g = [], x = [];
|
|
4189
|
+
Object.keys(yt).forEach((b) => {
|
|
4190
|
+
bt(b, yt[b]);
|
|
4189
4191
|
});
|
|
4190
4192
|
const m = () => {
|
|
4191
4193
|
fetch(c).then((L) => L.json()).then((L) => {
|
|
4192
4194
|
Object.keys(L).forEach((G) => {
|
|
4193
|
-
|
|
4195
|
+
bt(G, L[G]);
|
|
4194
4196
|
});
|
|
4195
4197
|
}).catch((L) => {
|
|
4196
4198
|
console.log(L);
|
|
@@ -4202,16 +4204,16 @@ function vi(e, t, r) {
|
|
|
4202
4204
|
r(2, d = !1);
|
|
4203
4205
|
const G = h.split(",").map((k) => k.trim());
|
|
4204
4206
|
p.push(...L.items);
|
|
4205
|
-
const
|
|
4206
|
-
var
|
|
4207
|
-
return ((
|
|
4207
|
+
const Qe = p.filter((k) => !G.some((nr) => {
|
|
4208
|
+
var qe;
|
|
4209
|
+
return ((qe = k.flags) == null ? void 0 : qe.indexOf(nr)) >= 0;
|
|
4208
4210
|
}));
|
|
4209
|
-
r(3, g =
|
|
4211
|
+
r(3, g = Qe.filter((k) => k.isTopCategory === !0)), r(4, x = Qe.filter((k) => k.isTopCategory === !1));
|
|
4210
4212
|
});
|
|
4211
4213
|
}, A = (b) => {
|
|
4212
4214
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4213
4215
|
}, I = () => {
|
|
4214
|
-
|
|
4216
|
+
bi(o);
|
|
4215
4217
|
}, w = () => {
|
|
4216
4218
|
let b = document.createElement("style");
|
|
4217
4219
|
b.innerHTML = a, f.appendChild(b);
|
|
@@ -4229,8 +4231,8 @@ function vi(e, t, r) {
|
|
|
4229
4231
|
500
|
|
4230
4232
|
);
|
|
4231
4233
|
});
|
|
4232
|
-
}, N = (b) => A(b.id),
|
|
4233
|
-
function
|
|
4234
|
+
}, N = (b) => A(b.id), tr = (b) => A(b.id);
|
|
4235
|
+
function rr(b) {
|
|
4234
4236
|
Ne[b ? "unshift" : "push"](() => {
|
|
4235
4237
|
f = b, r(1, f);
|
|
4236
4238
|
});
|
|
@@ -4249,7 +4251,7 @@ function vi(e, t, r) {
|
|
|
4249
4251
|
f,
|
|
4250
4252
|
d,
|
|
4251
4253
|
g,
|
|
4252
|
-
|
|
4254
|
+
x,
|
|
4253
4255
|
n,
|
|
4254
4256
|
A,
|
|
4255
4257
|
i,
|
|
@@ -4260,18 +4262,18 @@ function vi(e, t, r) {
|
|
|
4260
4262
|
l,
|
|
4261
4263
|
c,
|
|
4262
4264
|
N,
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
+
tr,
|
|
4266
|
+
rr
|
|
4265
4267
|
];
|
|
4266
4268
|
}
|
|
4267
|
-
class
|
|
4269
|
+
class er extends Sr {
|
|
4268
4270
|
constructor(t) {
|
|
4269
|
-
super(),
|
|
4271
|
+
super(), Hr(
|
|
4270
4272
|
this,
|
|
4271
4273
|
t,
|
|
4272
4274
|
vi,
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
+
xi,
|
|
4276
|
+
Ct,
|
|
4275
4277
|
{
|
|
4276
4278
|
endpoint: 7,
|
|
4277
4279
|
datasource: 8,
|
|
@@ -4282,7 +4284,7 @@ class Yt extends Hr {
|
|
|
4282
4284
|
clientstylingurl: 12,
|
|
4283
4285
|
translationurl: 13
|
|
4284
4286
|
},
|
|
4285
|
-
|
|
4287
|
+
yi
|
|
4286
4288
|
);
|
|
4287
4289
|
}
|
|
4288
4290
|
get endpoint() {
|
|
@@ -4334,48 +4336,48 @@ class Yt extends Hr {
|
|
|
4334
4336
|
this.$$set({ translationurl: t }), $();
|
|
4335
4337
|
}
|
|
4336
4338
|
}
|
|
4337
|
-
|
|
4338
|
-
const
|
|
4339
|
+
Ar(er, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4340
|
+
const Li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4339
4341
|
__proto__: null,
|
|
4340
|
-
default:
|
|
4342
|
+
default: er
|
|
4341
4343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4342
4344
|
export {
|
|
4343
4345
|
te as $,
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
+
wi as A,
|
|
4347
|
+
Ci as B,
|
|
4346
4348
|
fe as C,
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4349
|
+
rt as D,
|
|
4350
|
+
Oi as E,
|
|
4351
|
+
mr as F,
|
|
4352
|
+
Ai as G,
|
|
4353
|
+
Bi as H,
|
|
4354
|
+
Li as I,
|
|
4355
|
+
Sr as S,
|
|
4356
|
+
Pi as _,
|
|
4357
|
+
Qt as a,
|
|
4358
|
+
fr as b,
|
|
4359
|
+
Ar as c,
|
|
4360
|
+
R as d,
|
|
4361
|
+
B as e,
|
|
4360
4362
|
$ as f,
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4363
|
+
H as g,
|
|
4364
|
+
Hi as h,
|
|
4365
|
+
Hr as i,
|
|
4366
|
+
V as j,
|
|
4367
|
+
v as k,
|
|
4368
|
+
At as l,
|
|
4369
|
+
F as m,
|
|
4368
4370
|
M as n,
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4371
|
+
j as o,
|
|
4372
|
+
lr as p,
|
|
4373
|
+
Ne as q,
|
|
4372
4374
|
ue as r,
|
|
4373
|
-
|
|
4375
|
+
Ct as s,
|
|
4374
4376
|
U as t,
|
|
4375
|
-
|
|
4377
|
+
di as u,
|
|
4376
4378
|
Ae as v,
|
|
4377
|
-
|
|
4379
|
+
Ni as w,
|
|
4378
4380
|
Ee as x,
|
|
4379
4381
|
de as y,
|
|
4380
|
-
|
|
4382
|
+
Si as z
|
|
4381
4383
|
};
|