@everymatrix/casino-navigation-search 1.76.0 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategories-BmFF08EW.js → CasinoCategories-C9scQU9K.js} +767 -733
- package/components/CasinoCategories-Duf-3h-n.cjs +16 -0
- package/components/{CasinoCategories-CLbdIbvq.js → CasinoCategories-qRL96KHo.js} +869 -835
- package/components/{CasinoCategoriesProviders-DB9rj59t.cjs → CasinoCategoriesProviders--yWqonUg.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-CwEU98wL.js → CasinoCategoriesProviders-DNSz_lXO.js} +28 -28
- package/components/{CasinoCategoriesProviders-B5srm74R.js → CasinoCategoriesProviders-kzTnQLLU.js} +28 -28
- package/components/{CasinoGameThumbnail-Cj9XIC4t.js → CasinoGameThumbnail-B_F6hQQb.js} +737 -786
- package/components/{CasinoGameThumbnail-CmsBpZJX.cjs → CasinoGameThumbnail-qJb8C4DF.cjs} +12 -25
- package/components/{CasinoGameThumbnail-DUd-Ei_w.js → CasinoGameThumbnail-y3OvroV1.js} +1175 -1256
- package/components/{CasinoNavigationSearch-BDIpZVk5.js → CasinoNavigationSearch-B6oP0PGi.js} +12 -12
- package/components/{CasinoNavigationSearch-DqkPfTpd.cjs → CasinoNavigationSearch-BWTNcs2J.cjs} +1 -1
- package/components/{CasinoNavigationSearch-B01Oghbi.js → CasinoNavigationSearch-CMb1R9Kv.js} +10 -10
- package/components/{CasinoProviders-BlDpLhc4.js → CasinoProviders-B3tQk_c3.js} +65 -65
- package/components/{CasinoProviders-PrRb69wR.js → CasinoProviders-B3zMxMDV.js} +65 -65
- package/components/{CasinoProviders-BMXinKGr.cjs → CasinoProviders-DQNWD94s.cjs} +1 -1
- package/components/{CasinoSearch-CcR_qysr.js → CasinoSearch-CMOtj3tV.js} +58 -58
- package/components/{CasinoSearch-CORBzunD.js → CasinoSearch-DSB7WwRH.js} +56 -56
- package/components/{CasinoSearch-qXrumbkR.cjs → CasinoSearch-PSn5VRm8.cjs} +1 -1
- 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/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-CYuYAlOX.js} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-D3_FGUyo.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJWD4G-S.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/components/CasinoCategories-DI_lt5L1.cjs +0 -3
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var nr = Object.defineProperty, ir = Object.defineProperties;
|
|
2
|
+
var sr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var qe = Object.getOwnPropertySymbols;
|
|
4
|
+
var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? nr(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
|
+
or.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (qe)
|
|
9
|
+
for (var r of qe(t))
|
|
10
|
+
ar.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var w = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Ke = (e, t) => ir(e, sr(t));
|
|
13
|
+
var w = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -27,32 +27,32 @@ var tt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-D3_FGUyo.js";
|
|
31
31
|
function L() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Tt(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function tt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function ue(e) {
|
|
40
|
+
e.forEach(Tt);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Xe(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ct(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
|
-
let
|
|
49
|
-
function
|
|
50
|
-
return e === t ? !0 : (
|
|
48
|
+
let fe;
|
|
49
|
+
function be(e, t) {
|
|
50
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function ur(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ht(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -61,20 +61,20 @@ function St(e, ...t) {
|
|
|
61
61
|
const r = e.subscribe(...t);
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
64
|
+
function hr(e, t, r) {
|
|
65
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
66
66
|
}
|
|
67
67
|
function v(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function lr(e, t, r) {
|
|
71
|
+
const n = fr(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
|
-
const i =
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
const i = S("style");
|
|
74
|
+
i.id = t, i.textContent = r, cr(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function fr(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,37 +84,37 @@ function cr(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function cr(e, t) {
|
|
88
88
|
return v(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
91
91
|
t
|
|
92
92
|
), t.sheet;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function V(e, t, r) {
|
|
95
95
|
e.insertBefore(t, r || null);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function j(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function rt(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function S(e) {
|
|
105
105
|
return document.createElement(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function gr(e) {
|
|
108
108
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function G(e) {
|
|
111
111
|
return document.createTextNode(e);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
113
|
+
function U() {
|
|
114
|
+
return G(" ");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
116
|
+
function wi() {
|
|
117
|
+
return G("");
|
|
118
118
|
}
|
|
119
119
|
function At(e, t, r, n) {
|
|
120
120
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -126,20 +126,20 @@ function R(e, t, r) {
|
|
|
126
126
|
const n = t.toLowerCase();
|
|
127
127
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function mr(e) {
|
|
130
130
|
return Array.from(e.childNodes);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function F(e, t) {
|
|
133
133
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
134
134
|
t);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Oi(e, t) {
|
|
137
137
|
e.value = t == null ? "" : t;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Pi(e, t, r) {
|
|
140
140
|
e.classList.toggle(t, !!r);
|
|
141
141
|
}
|
|
142
|
-
class
|
|
142
|
+
class Ni {
|
|
143
143
|
constructor(t = !1) {
|
|
144
144
|
/**
|
|
145
145
|
* @private
|
|
@@ -170,10 +170,10 @@ class Li {
|
|
|
170
170
|
* @returns {void}
|
|
171
171
|
*/
|
|
172
172
|
m(t, r, n = null) {
|
|
173
|
-
this.e || (this.is_svg ? this.e =
|
|
173
|
+
this.e || (this.is_svg ? this.e = gr(
|
|
174
174
|
/** @type {keyof SVGElementTagNameMap} */
|
|
175
175
|
r.nodeName
|
|
176
|
-
) : this.e =
|
|
176
|
+
) : this.e = S(
|
|
177
177
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
178
178
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
179
179
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -194,7 +194,7 @@ class Li {
|
|
|
194
194
|
* @returns {void} */
|
|
195
195
|
i(t) {
|
|
196
196
|
for (let r = 0; r < this.n.length; r += 1)
|
|
197
|
-
|
|
197
|
+
V(this.t, this.n[r], t);
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* @param {string} html
|
|
@@ -206,7 +206,7 @@ class Li {
|
|
|
206
206
|
/**
|
|
207
207
|
* @returns {void} */
|
|
208
208
|
d() {
|
|
209
|
-
this.n.forEach(
|
|
209
|
+
this.n.forEach(j);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
function dr(e) {
|
|
@@ -218,93 +218,93 @@ function dr(e) {
|
|
|
218
218
|
}
|
|
219
219
|
), t;
|
|
220
220
|
}
|
|
221
|
-
let
|
|
222
|
-
function
|
|
223
|
-
|
|
221
|
+
let se;
|
|
222
|
+
function ie(e) {
|
|
223
|
+
se = e;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
if (!
|
|
225
|
+
function pr() {
|
|
226
|
+
if (!se)
|
|
227
227
|
throw new Error("Function called outside component initialization");
|
|
228
|
-
return
|
|
228
|
+
return se;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
231
|
-
|
|
230
|
+
function br(e) {
|
|
231
|
+
pr().$$.on_mount.push(e);
|
|
232
232
|
}
|
|
233
|
-
const
|
|
234
|
-
let
|
|
235
|
-
const
|
|
236
|
-
let
|
|
237
|
-
function
|
|
238
|
-
|
|
233
|
+
const Z = [], Le = [];
|
|
234
|
+
let Q = [];
|
|
235
|
+
const nt = [], St = /* @__PURE__ */ Promise.resolve();
|
|
236
|
+
let Ie = !1;
|
|
237
|
+
function Bt() {
|
|
238
|
+
Ie || (Ie = !0, St.then(M));
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
return
|
|
240
|
+
function Li() {
|
|
241
|
+
return Bt(), St;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
|
|
243
|
+
function Me(e) {
|
|
244
|
+
Q.push(e);
|
|
245
245
|
}
|
|
246
|
-
const
|
|
247
|
-
let
|
|
246
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
247
|
+
let z = 0;
|
|
248
248
|
function M() {
|
|
249
|
-
if (
|
|
249
|
+
if (z !== 0)
|
|
250
250
|
return;
|
|
251
|
-
const e =
|
|
251
|
+
const e = se;
|
|
252
252
|
do {
|
|
253
253
|
try {
|
|
254
|
-
for (;
|
|
255
|
-
const t =
|
|
256
|
-
|
|
254
|
+
for (; z < Z.length; ) {
|
|
255
|
+
const t = Z[z];
|
|
256
|
+
z++, ie(t), yr(t.$$);
|
|
257
257
|
}
|
|
258
258
|
} catch (t) {
|
|
259
|
-
throw
|
|
259
|
+
throw Z.length = 0, z = 0, t;
|
|
260
260
|
}
|
|
261
|
-
for (
|
|
262
|
-
|
|
263
|
-
for (let t = 0; t <
|
|
264
|
-
const r =
|
|
265
|
-
|
|
261
|
+
for (ie(null), Z.length = 0, z = 0; Le.length; )
|
|
262
|
+
Le.pop()();
|
|
263
|
+
for (let t = 0; t < Q.length; t += 1) {
|
|
264
|
+
const r = Q[t];
|
|
265
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
266
266
|
}
|
|
267
|
-
|
|
268
|
-
} while (
|
|
269
|
-
for (;
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
Q.length = 0;
|
|
268
|
+
} while (Z.length);
|
|
269
|
+
for (; nt.length; )
|
|
270
|
+
nt.pop()();
|
|
271
|
+
Ie = !1, Ae.clear(), ie(e);
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function yr(e) {
|
|
274
274
|
if (e.fragment !== null) {
|
|
275
|
-
e.update(),
|
|
275
|
+
e.update(), ue(e.before_update);
|
|
276
276
|
const t = e.dirty;
|
|
277
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
277
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function _r(e) {
|
|
281
281
|
const t = [], r = [];
|
|
282
|
-
|
|
282
|
+
Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
|
|
283
283
|
}
|
|
284
|
-
const
|
|
284
|
+
const Er = /* @__PURE__ */ new Set();
|
|
285
285
|
function xr(e, t) {
|
|
286
|
-
e && e.i && (
|
|
286
|
+
e && e.i && (Er.delete(e), e.i(t));
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function ce(e) {
|
|
289
289
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function vr(e, t, r) {
|
|
292
292
|
const { fragment: n, after_update: i } = e.$$;
|
|
293
|
-
n && n.m(t, r),
|
|
294
|
-
const s = e.$$.on_mount.map(
|
|
295
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
296
|
-
}), i.forEach(
|
|
293
|
+
n && n.m(t, r), Me(() => {
|
|
294
|
+
const s = e.$$.on_mount.map(Tt).filter(Xe);
|
|
295
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
|
|
296
|
+
}), i.forEach(Me);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Tr(e, t) {
|
|
299
299
|
const r = e.$$;
|
|
300
|
-
r.fragment !== null && (
|
|
300
|
+
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 = []);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
e.$$.dirty[0] === -1 && (
|
|
302
|
+
function Cr(e, t) {
|
|
303
|
+
e.$$.dirty[0] === -1 && (Z.push(e), Bt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
const h =
|
|
307
|
-
|
|
305
|
+
function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
306
|
+
const h = se;
|
|
307
|
+
ie(e);
|
|
308
308
|
const a = e.$$ = {
|
|
309
309
|
fragment: null,
|
|
310
310
|
ctx: [],
|
|
@@ -312,7 +312,7 @@ function Sr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
312
312
|
props: s,
|
|
313
313
|
update: L,
|
|
314
314
|
not_equal: i,
|
|
315
|
-
bound:
|
|
315
|
+
bound: tt(),
|
|
316
316
|
// lifecycle
|
|
317
317
|
on_mount: [],
|
|
318
318
|
on_destroy: [],
|
|
@@ -321,28 +321,28 @@ function Sr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
321
321
|
after_update: [],
|
|
322
322
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
323
323
|
// everything else
|
|
324
|
-
callbacks:
|
|
324
|
+
callbacks: tt(),
|
|
325
325
|
dirty: u,
|
|
326
326
|
skip_bound: !1,
|
|
327
327
|
root: t.target || h.$$.root
|
|
328
328
|
};
|
|
329
329
|
o && o(a.root);
|
|
330
330
|
let l = !1;
|
|
331
|
-
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
332
|
-
const
|
|
333
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] =
|
|
334
|
-
}) : [], a.update(), l = !0,
|
|
331
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
332
|
+
const p = d.length ? d[0] : f;
|
|
333
|
+
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;
|
|
334
|
+
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
335
335
|
if (t.hydrate) {
|
|
336
|
-
const c =
|
|
337
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
336
|
+
const c = mr(t.target);
|
|
337
|
+
a.fragment && a.fragment.l(c), c.forEach(j);
|
|
338
338
|
} else
|
|
339
339
|
a.fragment && a.fragment.c();
|
|
340
|
-
t.intro && xr(e.$$.fragment),
|
|
340
|
+
t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), M();
|
|
341
341
|
}
|
|
342
|
-
|
|
342
|
+
ie(h);
|
|
343
343
|
}
|
|
344
|
-
let
|
|
345
|
-
typeof HTMLElement == "function" && (
|
|
344
|
+
let wt;
|
|
345
|
+
typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
346
346
|
constructor(t, r, n) {
|
|
347
347
|
super();
|
|
348
348
|
/** The Svelte component constructor */
|
|
@@ -379,24 +379,24 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
connectedCallback() {
|
|
382
|
-
return
|
|
382
|
+
return et(this, null, function* () {
|
|
383
383
|
if (this.$$cn = !0, !this.$$c) {
|
|
384
384
|
let t = function(s) {
|
|
385
385
|
return () => {
|
|
386
386
|
let o;
|
|
387
387
|
return {
|
|
388
388
|
c: function() {
|
|
389
|
-
o =
|
|
389
|
+
o = S("slot"), s !== "default" && I(o, "name", s);
|
|
390
390
|
},
|
|
391
391
|
/**
|
|
392
392
|
* @param {HTMLElement} target
|
|
393
393
|
* @param {HTMLElement} [anchor]
|
|
394
394
|
*/
|
|
395
395
|
m: function(a, l) {
|
|
396
|
-
|
|
396
|
+
V(a, o, l);
|
|
397
397
|
},
|
|
398
398
|
d: function(a) {
|
|
399
|
-
a &&
|
|
399
|
+
a && j(o);
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
402
|
};
|
|
@@ -408,13 +408,13 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
408
408
|
s in n && (r[s] = [t(s)]);
|
|
409
409
|
for (const s of this.attributes) {
|
|
410
410
|
const o = this.$$g_p(s.name);
|
|
411
|
-
o in this.$$d || (this.$$d[o] =
|
|
411
|
+
o in this.$$d || (this.$$d[o] = me(o, s.value, this.$$p_d, "toProp"));
|
|
412
412
|
}
|
|
413
413
|
for (const s in this.$$p_d)
|
|
414
414
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
415
415
|
this.$$c = new this.$$ctor({
|
|
416
416
|
target: this.shadowRoot || this,
|
|
417
|
-
props:
|
|
417
|
+
props: Ke(Ye({}, this.$$d), {
|
|
418
418
|
$$slots: r,
|
|
419
419
|
$$scope: {
|
|
420
420
|
ctx: []
|
|
@@ -425,7 +425,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
425
425
|
this.$$r = !0;
|
|
426
426
|
for (const s in this.$$p_d)
|
|
427
427
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
428
|
-
const o =
|
|
428
|
+
const o = me(
|
|
429
429
|
s,
|
|
430
430
|
this.$$d[s],
|
|
431
431
|
this.$$p_d,
|
|
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
449
449
|
// and setting attributes through setAttribute etc, this is helpful
|
|
450
450
|
attributeChangedCallback(t, r, n) {
|
|
451
451
|
var i;
|
|
452
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
452
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
453
453
|
}
|
|
454
454
|
disconnectedCallback() {
|
|
455
455
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
462
462
|
) || t;
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
|
-
function
|
|
465
|
+
function me(e, t, r, n) {
|
|
466
466
|
var s;
|
|
467
467
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
468
468
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -493,7 +493,7 @@ function pe(e, t, r, n) {
|
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
function Ar(e, t, r, n, i, s) {
|
|
496
|
-
let o = class extends
|
|
496
|
+
let o = class extends wt {
|
|
497
497
|
constructor() {
|
|
498
498
|
super(e, r, i), this.$$p_d = t;
|
|
499
499
|
}
|
|
@@ -510,7 +510,7 @@ function Ar(e, t, r, n, i, s) {
|
|
|
510
510
|
},
|
|
511
511
|
set(h) {
|
|
512
512
|
var a;
|
|
513
|
-
h =
|
|
513
|
+
h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
|
514
514
|
}
|
|
515
515
|
});
|
|
516
516
|
}), n.forEach((u) => {
|
|
@@ -523,7 +523,7 @@ function Ar(e, t, r, n, i, s) {
|
|
|
523
523
|
}), e.element = /** @type {any} */
|
|
524
524
|
o, o;
|
|
525
525
|
}
|
|
526
|
-
class
|
|
526
|
+
class Sr {
|
|
527
527
|
constructor() {
|
|
528
528
|
/**
|
|
529
529
|
* ### PRIVATE API
|
|
@@ -544,7 +544,7 @@ class Br {
|
|
|
544
544
|
}
|
|
545
545
|
/** @returns {void} */
|
|
546
546
|
$destroy() {
|
|
547
|
-
|
|
547
|
+
Tr(this, 1), this.$destroy = L;
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
550
550
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -553,7 +553,7 @@ class Br {
|
|
|
553
553
|
* @returns {() => void}
|
|
554
554
|
*/
|
|
555
555
|
$on(t, r) {
|
|
556
|
-
if (!
|
|
556
|
+
if (!Xe(r))
|
|
557
557
|
return L;
|
|
558
558
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
559
559
|
return n.push(r), () => {
|
|
@@ -566,18 +566,18 @@ class Br {
|
|
|
566
566
|
* @returns {void}
|
|
567
567
|
*/
|
|
568
568
|
$set(t) {
|
|
569
|
-
this.$$set && !
|
|
569
|
+
this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
const
|
|
573
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
574
|
-
function
|
|
572
|
+
const Br = "4";
|
|
573
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
|
|
574
|
+
function wr(e, t) {
|
|
575
575
|
if (e) {
|
|
576
576
|
const r = document.createElement("style");
|
|
577
577
|
r.innerHTML = t, e.appendChild(r);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Or(e, t) {
|
|
581
581
|
const r = new URL(t);
|
|
582
582
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
583
583
|
const i = document.createElement("style");
|
|
@@ -586,7 +586,7 @@ function Pr(e, t) {
|
|
|
586
586
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
587
587
|
});
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Pr(e, t, r) {
|
|
590
590
|
if (window.emMessageBus) {
|
|
591
591
|
const n = document.createElement("style");
|
|
592
592
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -594,24 +594,24 @@ function Nr(e, t, r) {
|
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
const
|
|
598
|
-
function
|
|
597
|
+
const W = [];
|
|
598
|
+
function Nr(e, t) {
|
|
599
599
|
return {
|
|
600
|
-
subscribe:
|
|
600
|
+
subscribe: Ee(e, t).subscribe
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Ee(e, t = L) {
|
|
604
604
|
let r;
|
|
605
605
|
const n = /* @__PURE__ */ new Set();
|
|
606
606
|
function i(u) {
|
|
607
|
-
if (
|
|
608
|
-
const h = !
|
|
607
|
+
if (Ct(e, u) && (e = u, r)) {
|
|
608
|
+
const h = !W.length;
|
|
609
609
|
for (const a of n)
|
|
610
|
-
a[1](),
|
|
610
|
+
a[1](), W.push(a, e);
|
|
611
611
|
if (h) {
|
|
612
|
-
for (let a = 0; a <
|
|
613
|
-
|
|
614
|
-
|
|
612
|
+
for (let a = 0; a < W.length; a += 2)
|
|
613
|
+
W[a][0](W[a + 1]);
|
|
614
|
+
W.length = 0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
}
|
|
@@ -626,12 +626,12 @@ function xe(e, t = L) {
|
|
|
626
626
|
}
|
|
627
627
|
return { set: i, update: s, subscribe: o };
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function ee(e, t, r) {
|
|
630
630
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
631
631
|
if (!i.every(Boolean))
|
|
632
632
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
633
633
|
const s = t.length < 2;
|
|
634
|
-
return
|
|
634
|
+
return Nr(r, (o, u) => {
|
|
635
635
|
let h = !1;
|
|
636
636
|
const a = [];
|
|
637
637
|
let l = 0, c = L;
|
|
@@ -639,13 +639,13 @@ function te(e, t, r) {
|
|
|
639
639
|
if (l)
|
|
640
640
|
return;
|
|
641
641
|
c();
|
|
642
|
-
const
|
|
643
|
-
s ? o(
|
|
644
|
-
},
|
|
645
|
-
(
|
|
646
|
-
|
|
647
|
-
(
|
|
648
|
-
a[g] =
|
|
642
|
+
const p = t(n ? a[0] : a, o, u);
|
|
643
|
+
s ? o(p) : c = Xe(p) ? p : L;
|
|
644
|
+
}, d = i.map(
|
|
645
|
+
(p, g) => Ht(
|
|
646
|
+
p,
|
|
647
|
+
(x) => {
|
|
648
|
+
a[g] = x, l &= ~(1 << g), h && f();
|
|
649
649
|
},
|
|
650
650
|
() => {
|
|
651
651
|
l |= 1 << g;
|
|
@@ -653,74 +653,74 @@ function te(e, t, r) {
|
|
|
653
653
|
)
|
|
654
654
|
);
|
|
655
655
|
return h = !0, f(), function() {
|
|
656
|
-
|
|
656
|
+
ue(d), c(), h = !1;
|
|
657
657
|
};
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
return e
|
|
660
|
+
function Lr(e) {
|
|
661
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
662
662
|
}
|
|
663
|
-
var
|
|
664
|
-
return
|
|
663
|
+
var Ir = function(t) {
|
|
664
|
+
return Mr(t) && !$r(t);
|
|
665
665
|
};
|
|
666
|
-
function
|
|
666
|
+
function Mr(e) {
|
|
667
667
|
return !!e && typeof e == "object";
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function $r(e) {
|
|
670
670
|
var t = Object.prototype.toString.call(e);
|
|
671
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
671
|
+
return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
674
|
-
function
|
|
675
|
-
return e.$$typeof ===
|
|
673
|
+
var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
|
|
674
|
+
function Gr(e) {
|
|
675
|
+
return e.$$typeof === Ur;
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function Dr(e) {
|
|
678
678
|
return Array.isArray(e) ? [] : {};
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
|
680
|
+
function oe(e, t) {
|
|
681
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(Dr(e), e, t) : e;
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Fr(e, t, r) {
|
|
684
684
|
return e.concat(t).map(function(n) {
|
|
685
|
-
return
|
|
685
|
+
return oe(n, r);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function jr(e, t) {
|
|
689
689
|
if (!t.customMerge)
|
|
690
690
|
return J;
|
|
691
691
|
var r = t.customMerge(e);
|
|
692
692
|
return typeof r == "function" ? r : J;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function kr(e) {
|
|
695
695
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
696
696
|
return Object.propertyIsEnumerable.call(e, t);
|
|
697
697
|
}) : [];
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
return Object.keys(e).concat(
|
|
699
|
+
function it(e) {
|
|
700
|
+
return Object.keys(e).concat(kr(e));
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function Ot(e, t) {
|
|
703
703
|
try {
|
|
704
704
|
return t in e;
|
|
705
705
|
} catch (r) {
|
|
706
706
|
return !1;
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
709
|
+
function Vr(e, t) {
|
|
710
|
+
return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Xr(e, t, r) {
|
|
713
713
|
var n = {};
|
|
714
|
-
return r.isMergeableObject(e) &&
|
|
715
|
-
n[i] =
|
|
716
|
-
}),
|
|
717
|
-
|
|
714
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
715
|
+
n[i] = oe(e[i], r);
|
|
716
|
+
}), it(t).forEach(function(i) {
|
|
717
|
+
Vr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
718
718
|
}), n;
|
|
719
719
|
}
|
|
720
720
|
function J(e, t, r) {
|
|
721
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
721
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = oe;
|
|
722
722
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
723
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
723
|
+
return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : oe(t, r);
|
|
724
724
|
}
|
|
725
725
|
J.all = function(t, r) {
|
|
726
726
|
if (!Array.isArray(t))
|
|
@@ -729,36 +729,50 @@ J.all = function(t, r) {
|
|
|
729
729
|
return J(n, i, r);
|
|
730
730
|
}, {});
|
|
731
731
|
};
|
|
732
|
-
var
|
|
733
|
-
const
|
|
734
|
-
|
|
735
|
-
|
|
732
|
+
var zr = J, Wr = zr;
|
|
733
|
+
const Zr = /* @__PURE__ */ Lr(Wr);
|
|
734
|
+
/*! *****************************************************************************
|
|
735
|
+
Copyright (c) Microsoft Corporation.
|
|
736
|
+
|
|
737
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
738
|
+
purpose with or without fee is hereby granted.
|
|
739
|
+
|
|
740
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
741
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
742
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
743
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
744
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
745
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
746
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
747
|
+
***************************************************************************** */
|
|
748
|
+
var $e = function(e, t) {
|
|
749
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
736
750
|
r.__proto__ = n;
|
|
737
751
|
} || function(r, n) {
|
|
738
752
|
for (var i in n)
|
|
739
753
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
740
|
-
},
|
|
754
|
+
}, $e(e, t);
|
|
741
755
|
};
|
|
742
|
-
function
|
|
756
|
+
function xe(e, t) {
|
|
743
757
|
if (typeof t != "function" && t !== null)
|
|
744
758
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
745
|
-
|
|
759
|
+
$e(e, t);
|
|
746
760
|
function r() {
|
|
747
761
|
this.constructor = e;
|
|
748
762
|
}
|
|
749
763
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
750
764
|
}
|
|
751
|
-
var
|
|
752
|
-
return
|
|
765
|
+
var E = function() {
|
|
766
|
+
return E = Object.assign || function(t) {
|
|
753
767
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
754
768
|
r = arguments[n];
|
|
755
769
|
for (var s in r)
|
|
756
770
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
757
771
|
}
|
|
758
772
|
return t;
|
|
759
|
-
},
|
|
773
|
+
}, E.apply(this, arguments);
|
|
760
774
|
};
|
|
761
|
-
function
|
|
775
|
+
function Qr(e, t) {
|
|
762
776
|
var r = {};
|
|
763
777
|
for (var n in e)
|
|
764
778
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -767,14 +781,46 @@ function qr(e, t) {
|
|
|
767
781
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
768
782
|
return r;
|
|
769
783
|
}
|
|
770
|
-
function
|
|
784
|
+
function Ii(e) {
|
|
785
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
786
|
+
if (r)
|
|
787
|
+
return r.call(e);
|
|
788
|
+
if (e && typeof e.length == "number")
|
|
789
|
+
return {
|
|
790
|
+
next: function() {
|
|
791
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
795
|
+
}
|
|
796
|
+
function Mi(e, t) {
|
|
797
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
798
|
+
if (!r)
|
|
799
|
+
return e;
|
|
800
|
+
var n = r.call(e), i, s = [], o;
|
|
801
|
+
try {
|
|
802
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
803
|
+
s.push(i.value);
|
|
804
|
+
} catch (u) {
|
|
805
|
+
o = { error: u };
|
|
806
|
+
} finally {
|
|
807
|
+
try {
|
|
808
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
809
|
+
} finally {
|
|
810
|
+
if (o)
|
|
811
|
+
throw o.error;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
return s;
|
|
815
|
+
}
|
|
816
|
+
function Se(e, t, r) {
|
|
771
817
|
if (r || arguments.length === 2)
|
|
772
818
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
773
819
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
774
|
-
return e.concat(s ||
|
|
820
|
+
return e.concat(s || t);
|
|
775
821
|
}
|
|
776
|
-
function
|
|
777
|
-
var r = t && t.cache ? t.cache :
|
|
822
|
+
function Be(e, t) {
|
|
823
|
+
var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
|
|
778
824
|
return i(e, {
|
|
779
825
|
cache: r,
|
|
780
826
|
serializer: n
|
|
@@ -783,7 +829,7 @@ function Oe(e, t) {
|
|
|
783
829
|
function Jr(e) {
|
|
784
830
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
785
831
|
}
|
|
786
|
-
function
|
|
832
|
+
function Pt(e, t, r, n) {
|
|
787
833
|
var i = Jr(n) ? n : r(n), s = t.get(i);
|
|
788
834
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
789
835
|
}
|
|
@@ -791,19 +837,22 @@ function Nt(e, t, r) {
|
|
|
791
837
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
792
838
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
793
839
|
}
|
|
794
|
-
function
|
|
840
|
+
function ze(e, t, r, n, i) {
|
|
795
841
|
return r.bind(t, e, n, i);
|
|
796
842
|
}
|
|
797
|
-
function
|
|
798
|
-
var r = e.length === 1 ?
|
|
799
|
-
return
|
|
843
|
+
function qr(e, t) {
|
|
844
|
+
var r = e.length === 1 ? Pt : Nt;
|
|
845
|
+
return ze(e, this, r, t.cache.create(), t.serializer);
|
|
800
846
|
}
|
|
801
|
-
function
|
|
802
|
-
return
|
|
847
|
+
function Yr(e, t) {
|
|
848
|
+
return ze(e, this, Nt, t.cache.create(), t.serializer);
|
|
803
849
|
}
|
|
804
|
-
|
|
850
|
+
function Kr(e, t) {
|
|
851
|
+
return ze(e, this, Pt, t.cache.create(), t.serializer);
|
|
852
|
+
}
|
|
853
|
+
var en = function() {
|
|
805
854
|
return JSON.stringify(arguments);
|
|
806
|
-
},
|
|
855
|
+
}, tn = (
|
|
807
856
|
/** @class */
|
|
808
857
|
function() {
|
|
809
858
|
function e() {
|
|
@@ -815,71 +864,62 @@ var tn = function() {
|
|
|
815
864
|
this.cache[t] = r;
|
|
816
865
|
}, e;
|
|
817
866
|
}()
|
|
818
|
-
),
|
|
867
|
+
), rn = {
|
|
819
868
|
create: function() {
|
|
820
|
-
return new
|
|
869
|
+
return new tn();
|
|
821
870
|
}
|
|
822
|
-
},
|
|
823
|
-
variadic:
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
827
|
-
r = arguments[n];
|
|
828
|
-
for (var s in r)
|
|
829
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
830
|
-
}
|
|
831
|
-
return t;
|
|
832
|
-
}, _e.apply(this, arguments);
|
|
833
|
-
};
|
|
834
|
-
var y;
|
|
871
|
+
}, we = {
|
|
872
|
+
variadic: Yr,
|
|
873
|
+
monadic: Kr
|
|
874
|
+
}, y;
|
|
835
875
|
(function(e) {
|
|
836
876
|
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";
|
|
837
877
|
})(y || (y = {}));
|
|
838
|
-
var
|
|
878
|
+
var T;
|
|
839
879
|
(function(e) {
|
|
840
880
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
841
|
-
})(
|
|
842
|
-
var
|
|
881
|
+
})(T || (T = {}));
|
|
882
|
+
var q;
|
|
843
883
|
(function(e) {
|
|
844
884
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
845
|
-
})(
|
|
846
|
-
function
|
|
847
|
-
return e.type ===
|
|
885
|
+
})(q || (q = {}));
|
|
886
|
+
function st(e) {
|
|
887
|
+
return e.type === T.literal;
|
|
848
888
|
}
|
|
849
|
-
function
|
|
850
|
-
return e.type ===
|
|
889
|
+
function nn(e) {
|
|
890
|
+
return e.type === T.argument;
|
|
891
|
+
}
|
|
892
|
+
function Lt(e) {
|
|
893
|
+
return e.type === T.number;
|
|
851
894
|
}
|
|
852
895
|
function It(e) {
|
|
853
|
-
return e.type ===
|
|
896
|
+
return e.type === T.date;
|
|
854
897
|
}
|
|
855
898
|
function Mt(e) {
|
|
856
|
-
return e.type ===
|
|
899
|
+
return e.type === T.time;
|
|
857
900
|
}
|
|
858
901
|
function $t(e) {
|
|
859
|
-
return e.type ===
|
|
902
|
+
return e.type === T.select;
|
|
860
903
|
}
|
|
861
904
|
function Rt(e) {
|
|
862
|
-
return e.type ===
|
|
905
|
+
return e.type === T.plural;
|
|
863
906
|
}
|
|
864
|
-
function
|
|
865
|
-
return e.type ===
|
|
907
|
+
function sn(e) {
|
|
908
|
+
return e.type === T.pound;
|
|
866
909
|
}
|
|
867
|
-
function
|
|
868
|
-
return e.type ===
|
|
910
|
+
function Ut(e) {
|
|
911
|
+
return e.type === T.tag;
|
|
869
912
|
}
|
|
870
913
|
function Gt(e) {
|
|
871
|
-
return e.type ===
|
|
872
|
-
}
|
|
873
|
-
function Dt(e) {
|
|
874
|
-
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
914
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
|
875
915
|
}
|
|
876
|
-
function
|
|
877
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
916
|
+
function Re(e) {
|
|
917
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
878
918
|
}
|
|
879
|
-
var
|
|
880
|
-
function
|
|
919
|
+
var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
|
|
920
|
+
function an(e) {
|
|
881
921
|
var t = {};
|
|
882
|
-
return e.replace(
|
|
922
|
+
return e.replace(on, function(r) {
|
|
883
923
|
var n = r.length;
|
|
884
924
|
switch (r[0]) {
|
|
885
925
|
case "G":
|
|
@@ -968,21 +1008,11 @@ function un(e) {
|
|
|
968
1008
|
return "";
|
|
969
1009
|
}), t;
|
|
970
1010
|
}
|
|
971
|
-
var
|
|
972
|
-
|
|
973
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
974
|
-
r = arguments[n];
|
|
975
|
-
for (var s in r)
|
|
976
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
977
|
-
}
|
|
978
|
-
return t;
|
|
979
|
-
}, C.apply(this, arguments);
|
|
980
|
-
};
|
|
981
|
-
var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
982
|
-
function ln(e) {
|
|
1011
|
+
var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1012
|
+
function hn(e) {
|
|
983
1013
|
if (e.length === 0)
|
|
984
1014
|
throw new Error("Number skeleton cannot be empty");
|
|
985
|
-
for (var t = e.split(
|
|
1015
|
+
for (var t = e.split(un).filter(function(f) {
|
|
986
1016
|
return f.length > 0;
|
|
987
1017
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
988
1018
|
var s = i[n], o = s.split("/");
|
|
@@ -997,17 +1027,17 @@ function ln(e) {
|
|
|
997
1027
|
}
|
|
998
1028
|
return r;
|
|
999
1029
|
}
|
|
1000
|
-
function
|
|
1030
|
+
function ln(e) {
|
|
1001
1031
|
return e.replace(/^(.*?)-/, "");
|
|
1002
1032
|
}
|
|
1003
|
-
var
|
|
1004
|
-
function
|
|
1033
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
1034
|
+
function at(e) {
|
|
1005
1035
|
var t = {};
|
|
1006
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1036
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
1007
1037
|
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)), "";
|
|
1008
1038
|
}), t;
|
|
1009
1039
|
}
|
|
1010
|
-
function
|
|
1040
|
+
function kt(e) {
|
|
1011
1041
|
switch (e) {
|
|
1012
1042
|
case "sign-auto":
|
|
1013
1043
|
return {
|
|
@@ -1047,7 +1077,7 @@ function Vt(e) {
|
|
|
1047
1077
|
};
|
|
1048
1078
|
}
|
|
1049
1079
|
}
|
|
1050
|
-
function
|
|
1080
|
+
function cn(e) {
|
|
1051
1081
|
var t;
|
|
1052
1082
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1053
1083
|
notation: "engineering"
|
|
@@ -1055,17 +1085,17 @@ function gn(e) {
|
|
|
1055
1085
|
notation: "scientific"
|
|
1056
1086
|
}, e = e.slice(1)), t) {
|
|
1057
1087
|
var r = e.slice(0, 2);
|
|
1058
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1088
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1059
1089
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1060
1090
|
t.minimumIntegerDigits = e.length;
|
|
1061
1091
|
}
|
|
1062
1092
|
return t;
|
|
1063
1093
|
}
|
|
1064
|
-
function
|
|
1065
|
-
var t = {}, r =
|
|
1094
|
+
function ut(e) {
|
|
1095
|
+
var t = {}, r = kt(e);
|
|
1066
1096
|
return r || t;
|
|
1067
1097
|
}
|
|
1068
|
-
function
|
|
1098
|
+
function gn(e) {
|
|
1069
1099
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1070
1100
|
var i = n[r];
|
|
1071
1101
|
switch (i.stem) {
|
|
@@ -1089,7 +1119,7 @@ function mn(e) {
|
|
|
1089
1119
|
continue;
|
|
1090
1120
|
case "measure-unit":
|
|
1091
1121
|
case "unit":
|
|
1092
|
-
t.style = "unit", t.unit =
|
|
1122
|
+
t.style = "unit", t.unit = ln(i.options[0]);
|
|
1093
1123
|
continue;
|
|
1094
1124
|
case "compact-short":
|
|
1095
1125
|
case "K":
|
|
@@ -1100,13 +1130,13 @@ function mn(e) {
|
|
|
1100
1130
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1101
1131
|
continue;
|
|
1102
1132
|
case "scientific":
|
|
1103
|
-
t =
|
|
1104
|
-
return
|
|
1133
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1134
|
+
return E(E({}, h), ut(a));
|
|
1105
1135
|
}, {}));
|
|
1106
1136
|
continue;
|
|
1107
1137
|
case "engineering":
|
|
1108
|
-
t =
|
|
1109
|
-
return
|
|
1138
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1139
|
+
return E(E({}, h), ut(a));
|
|
1110
1140
|
}, {}));
|
|
1111
1141
|
continue;
|
|
1112
1142
|
case "notation-simple":
|
|
@@ -1151,45 +1181,45 @@ function mn(e) {
|
|
|
1151
1181
|
case "integer-width":
|
|
1152
1182
|
if (i.options.length > 1)
|
|
1153
1183
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1154
|
-
i.options[0].replace(
|
|
1184
|
+
i.options[0].replace(fn, function(h, a, l, c, f, d) {
|
|
1155
1185
|
if (a)
|
|
1156
1186
|
t.minimumIntegerDigits = l.length;
|
|
1157
1187
|
else {
|
|
1158
1188
|
if (c && f)
|
|
1159
1189
|
throw new Error("We currently do not support maximum integer digits");
|
|
1160
|
-
if (
|
|
1190
|
+
if (d)
|
|
1161
1191
|
throw new Error("We currently do not support exact integer digits");
|
|
1162
1192
|
}
|
|
1163
1193
|
return "";
|
|
1164
1194
|
});
|
|
1165
1195
|
continue;
|
|
1166
1196
|
}
|
|
1167
|
-
if (
|
|
1197
|
+
if (jt.test(i.stem)) {
|
|
1168
1198
|
t.minimumIntegerDigits = i.stem.length;
|
|
1169
1199
|
continue;
|
|
1170
1200
|
}
|
|
1171
|
-
if (
|
|
1201
|
+
if (ot.test(i.stem)) {
|
|
1172
1202
|
if (i.options.length > 1)
|
|
1173
1203
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1174
|
-
i.stem.replace(
|
|
1175
|
-
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1204
|
+
i.stem.replace(ot, function(h, a, l, c, f, d) {
|
|
1205
|
+
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), "";
|
|
1176
1206
|
});
|
|
1177
1207
|
var s = i.options[0];
|
|
1178
|
-
s === "w" ? t =
|
|
1208
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
|
|
1179
1209
|
continue;
|
|
1180
1210
|
}
|
|
1181
|
-
if (
|
|
1182
|
-
t =
|
|
1211
|
+
if (Ft.test(i.stem)) {
|
|
1212
|
+
t = E(E({}, t), at(i.stem));
|
|
1183
1213
|
continue;
|
|
1184
1214
|
}
|
|
1185
|
-
var o =
|
|
1186
|
-
o && (t =
|
|
1187
|
-
var u =
|
|
1188
|
-
u && (t =
|
|
1215
|
+
var o = kt(i.stem);
|
|
1216
|
+
o && (t = E(E({}, t), o));
|
|
1217
|
+
var u = cn(i.stem);
|
|
1218
|
+
u && (t = E(E({}, t), u));
|
|
1189
1219
|
}
|
|
1190
1220
|
return t;
|
|
1191
1221
|
}
|
|
1192
|
-
var
|
|
1222
|
+
var ge = {
|
|
1193
1223
|
"001": [
|
|
1194
1224
|
"H",
|
|
1195
1225
|
"h"
|
|
@@ -2604,7 +2634,7 @@ var me = {
|
|
|
2604
2634
|
"h"
|
|
2605
2635
|
]
|
|
2606
2636
|
};
|
|
2607
|
-
function
|
|
2637
|
+
function mn(e, t) {
|
|
2608
2638
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2609
2639
|
var i = e.charAt(n);
|
|
2610
2640
|
if (i === "j") {
|
|
@@ -2639,23 +2669,23 @@ function dn(e) {
|
|
|
2639
2669
|
}
|
|
2640
2670
|
var r = e.language, n;
|
|
2641
2671
|
r !== "root" && (n = e.maximize().region);
|
|
2642
|
-
var i =
|
|
2672
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2643
2673
|
return i[0];
|
|
2644
2674
|
}
|
|
2645
|
-
var
|
|
2675
|
+
var Oe, pn = new RegExp("^".concat(Dt.source, "*")), bn = new RegExp("".concat(Dt.source, "*$"));
|
|
2646
2676
|
function _(e, t) {
|
|
2647
2677
|
return { start: e, end: t };
|
|
2648
2678
|
}
|
|
2649
|
-
var
|
|
2679
|
+
var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, xn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Hn = Cn ? Number.isSafeInteger : function(e) {
|
|
2650
2680
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2651
|
-
},
|
|
2681
|
+
}, Ue = !0;
|
|
2652
2682
|
try {
|
|
2653
|
-
var An =
|
|
2654
|
-
|
|
2683
|
+
var An = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2684
|
+
Ue = ((Oe = An.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2655
2685
|
} catch (e) {
|
|
2656
|
-
|
|
2686
|
+
Ue = !1;
|
|
2657
2687
|
}
|
|
2658
|
-
var
|
|
2688
|
+
var ht = yn ? (
|
|
2659
2689
|
// Native
|
|
2660
2690
|
function(t, r, n) {
|
|
2661
2691
|
return t.startsWith(r, n);
|
|
@@ -2665,7 +2695,7 @@ var lt = _n ? (
|
|
|
2665
2695
|
function(t, r, n) {
|
|
2666
2696
|
return t.slice(n, n + r.length) === r;
|
|
2667
2697
|
}
|
|
2668
|
-
),
|
|
2698
|
+
), Ge = _n ? String.fromCodePoint : (
|
|
2669
2699
|
// IE11
|
|
2670
2700
|
function() {
|
|
2671
2701
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2677,9 +2707,9 @@ var lt = _n ? (
|
|
|
2677
2707
|
}
|
|
2678
2708
|
return n;
|
|
2679
2709
|
}
|
|
2680
|
-
),
|
|
2710
|
+
), lt = (
|
|
2681
2711
|
// native
|
|
2682
|
-
|
|
2712
|
+
En ? Object.fromEntries : (
|
|
2683
2713
|
// Ponyfill
|
|
2684
2714
|
function(t) {
|
|
2685
2715
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2689,7 +2719,7 @@ var lt = _n ? (
|
|
|
2689
2719
|
return r;
|
|
2690
2720
|
}
|
|
2691
2721
|
)
|
|
2692
|
-
),
|
|
2722
|
+
), Vt = xn ? (
|
|
2693
2723
|
// Native
|
|
2694
2724
|
function(t, r) {
|
|
2695
2725
|
return t.codePointAt(r);
|
|
@@ -2703,7 +2733,7 @@ var lt = _n ? (
|
|
|
2703
2733
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2704
2734
|
}
|
|
2705
2735
|
}
|
|
2706
|
-
),
|
|
2736
|
+
), Sn = vn ? (
|
|
2707
2737
|
// Native
|
|
2708
2738
|
function(t) {
|
|
2709
2739
|
return t.trimStart();
|
|
@@ -2711,9 +2741,9 @@ var lt = _n ? (
|
|
|
2711
2741
|
) : (
|
|
2712
2742
|
// Ponyfill
|
|
2713
2743
|
function(t) {
|
|
2714
|
-
return t.replace(
|
|
2744
|
+
return t.replace(pn, "");
|
|
2715
2745
|
}
|
|
2716
|
-
),
|
|
2746
|
+
), Bn = Tn ? (
|
|
2717
2747
|
// Native
|
|
2718
2748
|
function(t) {
|
|
2719
2749
|
return t.trimEnd();
|
|
@@ -2721,32 +2751,32 @@ var lt = _n ? (
|
|
|
2721
2751
|
) : (
|
|
2722
2752
|
// Ponyfill
|
|
2723
2753
|
function(t) {
|
|
2724
|
-
return t.replace(
|
|
2754
|
+
return t.replace(bn, "");
|
|
2725
2755
|
}
|
|
2726
2756
|
);
|
|
2727
|
-
function
|
|
2757
|
+
function Xt(e, t) {
|
|
2728
2758
|
return new RegExp(e, t);
|
|
2729
2759
|
}
|
|
2730
|
-
var
|
|
2731
|
-
if (
|
|
2732
|
-
var
|
|
2733
|
-
|
|
2760
|
+
var De;
|
|
2761
|
+
if (Ue) {
|
|
2762
|
+
var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2763
|
+
De = function(t, r) {
|
|
2734
2764
|
var n;
|
|
2735
|
-
|
|
2736
|
-
var i =
|
|
2765
|
+
ft.lastIndex = r;
|
|
2766
|
+
var i = ft.exec(t);
|
|
2737
2767
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2738
2768
|
};
|
|
2739
2769
|
} else
|
|
2740
|
-
|
|
2770
|
+
De = function(t, r) {
|
|
2741
2771
|
for (var n = []; ; ) {
|
|
2742
|
-
var i =
|
|
2743
|
-
if (i === void 0 ||
|
|
2772
|
+
var i = Vt(t, r);
|
|
2773
|
+
if (i === void 0 || zt(i) || Nn(i))
|
|
2744
2774
|
break;
|
|
2745
2775
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2746
2776
|
}
|
|
2747
|
-
return
|
|
2777
|
+
return Ge.apply(void 0, n);
|
|
2748
2778
|
};
|
|
2749
|
-
var
|
|
2779
|
+
var wn = (
|
|
2750
2780
|
/** @class */
|
|
2751
2781
|
function() {
|
|
2752
2782
|
function e(t, r) {
|
|
@@ -2770,14 +2800,14 @@ var On = (
|
|
|
2770
2800
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2771
2801
|
var u = this.clonePosition();
|
|
2772
2802
|
this.bump(), i.push({
|
|
2773
|
-
type:
|
|
2803
|
+
type: T.pound,
|
|
2774
2804
|
location: _(u, this.clonePosition())
|
|
2775
2805
|
});
|
|
2776
2806
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2777
2807
|
if (n)
|
|
2778
2808
|
break;
|
|
2779
2809
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2780
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2810
|
+
} else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
2781
2811
|
var o = this.parseTag(t, r);
|
|
2782
2812
|
if (o.err)
|
|
2783
2813
|
return o;
|
|
@@ -2798,7 +2828,7 @@ var On = (
|
|
|
2798
2828
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2799
2829
|
return {
|
|
2800
2830
|
val: {
|
|
2801
|
-
type:
|
|
2831
|
+
type: T.literal,
|
|
2802
2832
|
value: "<".concat(i, "/>"),
|
|
2803
2833
|
location: _(n, this.clonePosition())
|
|
2804
2834
|
},
|
|
@@ -2810,12 +2840,12 @@ var On = (
|
|
|
2810
2840
|
return s;
|
|
2811
2841
|
var o = s.val, u = this.clonePosition();
|
|
2812
2842
|
if (this.bumpIf("</")) {
|
|
2813
|
-
if (this.isEOF() || !
|
|
2843
|
+
if (this.isEOF() || !Fe(this.char()))
|
|
2814
2844
|
return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
|
|
2815
2845
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2816
2846
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2817
2847
|
val: {
|
|
2818
|
-
type:
|
|
2848
|
+
type: T.tag,
|
|
2819
2849
|
value: i,
|
|
2820
2850
|
children: o,
|
|
2821
2851
|
location: _(n, this.clonePosition())
|
|
@@ -2828,7 +2858,7 @@ var On = (
|
|
|
2828
2858
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2829
2859
|
}, e.prototype.parseTagName = function() {
|
|
2830
2860
|
var t = this.offset();
|
|
2831
|
-
for (this.bump(); !this.isEOF() &&
|
|
2861
|
+
for (this.bump(); !this.isEOF() && Pn(this.char()); )
|
|
2832
2862
|
this.bump();
|
|
2833
2863
|
return this.message.slice(t, this.offset());
|
|
2834
2864
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2852,12 +2882,12 @@ var On = (
|
|
|
2852
2882
|
}
|
|
2853
2883
|
var h = _(n, this.clonePosition());
|
|
2854
2884
|
return {
|
|
2855
|
-
val: { type:
|
|
2885
|
+
val: { type: T.literal, value: i, location: h },
|
|
2856
2886
|
err: null
|
|
2857
2887
|
};
|
|
2858
2888
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2859
2889
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2860
|
-
!
|
|
2890
|
+
!On(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2861
2891
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2862
2892
|
if (this.isEOF() || this.char() !== 39)
|
|
2863
2893
|
return null;
|
|
@@ -2891,12 +2921,12 @@ var On = (
|
|
|
2891
2921
|
r.push(n);
|
|
2892
2922
|
this.bump();
|
|
2893
2923
|
}
|
|
2894
|
-
return
|
|
2924
|
+
return Ge.apply(void 0, r);
|
|
2895
2925
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2896
2926
|
if (this.isEOF())
|
|
2897
2927
|
return null;
|
|
2898
2928
|
var n = this.char();
|
|
2899
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2929
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
2900
2930
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2901
2931
|
var n = this.clonePosition();
|
|
2902
2932
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2912,7 +2942,7 @@ var On = (
|
|
|
2912
2942
|
case 125:
|
|
2913
2943
|
return this.bump(), {
|
|
2914
2944
|
val: {
|
|
2915
|
-
type:
|
|
2945
|
+
type: T.argument,
|
|
2916
2946
|
// value does not include the opening and closing braces.
|
|
2917
2947
|
value: i,
|
|
2918
2948
|
location: _(n, this.clonePosition())
|
|
@@ -2925,7 +2955,7 @@ var On = (
|
|
|
2925
2955
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2926
2956
|
}
|
|
2927
2957
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2928
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2958
|
+
var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
|
|
2929
2959
|
this.bumpTo(i);
|
|
2930
2960
|
var s = this.clonePosition(), o = _(t, s);
|
|
2931
2961
|
return { value: n, location: o };
|
|
@@ -2944,44 +2974,44 @@ var On = (
|
|
|
2944
2974
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2945
2975
|
if (c.err)
|
|
2946
2976
|
return c;
|
|
2947
|
-
var f =
|
|
2977
|
+
var f = Bn(c.val);
|
|
2948
2978
|
if (f.length === 0)
|
|
2949
2979
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2950
|
-
var
|
|
2951
|
-
a = { style: f, styleLocation:
|
|
2980
|
+
var d = _(l, this.clonePosition());
|
|
2981
|
+
a = { style: f, styleLocation: d };
|
|
2952
2982
|
}
|
|
2953
|
-
var
|
|
2954
|
-
if (
|
|
2955
|
-
return
|
|
2983
|
+
var p = this.tryParseArgumentClose(i);
|
|
2984
|
+
if (p.err)
|
|
2985
|
+
return p;
|
|
2956
2986
|
var g = _(i, this.clonePosition());
|
|
2957
|
-
if (a &&
|
|
2958
|
-
var
|
|
2987
|
+
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2988
|
+
var x = Sn(a.style.slice(2));
|
|
2959
2989
|
if (u === "number") {
|
|
2960
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2990
|
+
var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
|
|
2961
2991
|
return c.err ? c : {
|
|
2962
|
-
val: { type:
|
|
2992
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2963
2993
|
err: null
|
|
2964
2994
|
};
|
|
2965
2995
|
} else {
|
|
2966
|
-
if (
|
|
2996
|
+
if (x.length === 0)
|
|
2967
2997
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2968
|
-
var m =
|
|
2969
|
-
this.locale && (m =
|
|
2998
|
+
var m = x;
|
|
2999
|
+
this.locale && (m = mn(x, this.locale));
|
|
2970
3000
|
var f = {
|
|
2971
|
-
type:
|
|
3001
|
+
type: q.dateTime,
|
|
2972
3002
|
pattern: m,
|
|
2973
3003
|
location: a.styleLocation,
|
|
2974
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2975
|
-
},
|
|
3004
|
+
parsedOptions: this.shouldParseSkeletons ? an(m) : {}
|
|
3005
|
+
}, C = u === "date" ? T.date : T.time;
|
|
2976
3006
|
return {
|
|
2977
|
-
val: { type:
|
|
3007
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2978
3008
|
err: null
|
|
2979
3009
|
};
|
|
2980
3010
|
}
|
|
2981
3011
|
}
|
|
2982
3012
|
return {
|
|
2983
3013
|
val: {
|
|
2984
|
-
type: u === "number" ?
|
|
3014
|
+
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2985
3015
|
value: n,
|
|
2986
3016
|
location: g,
|
|
2987
3017
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
@@ -2992,9 +3022,9 @@ var On = (
|
|
|
2992
3022
|
case "plural":
|
|
2993
3023
|
case "selectordinal":
|
|
2994
3024
|
case "select": {
|
|
2995
|
-
var
|
|
3025
|
+
var A = this.clonePosition();
|
|
2996
3026
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2997
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3027
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, E({}, A)));
|
|
2998
3028
|
this.bumpSpace();
|
|
2999
3029
|
var P = this.parseIdentifierIfPossible(), B = 0;
|
|
3000
3030
|
if (u !== "select" && P.value === "offset") {
|
|
@@ -3009,23 +3039,23 @@ var On = (
|
|
|
3009
3039
|
var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
|
|
3010
3040
|
if (H.err)
|
|
3011
3041
|
return H;
|
|
3012
|
-
var
|
|
3013
|
-
if (
|
|
3014
|
-
return
|
|
3042
|
+
var p = this.tryParseArgumentClose(i);
|
|
3043
|
+
if (p.err)
|
|
3044
|
+
return p;
|
|
3015
3045
|
var N = _(i, this.clonePosition());
|
|
3016
3046
|
return u === "select" ? {
|
|
3017
3047
|
val: {
|
|
3018
|
-
type:
|
|
3048
|
+
type: T.select,
|
|
3019
3049
|
value: n,
|
|
3020
|
-
options:
|
|
3050
|
+
options: lt(H.val),
|
|
3021
3051
|
location: N
|
|
3022
3052
|
},
|
|
3023
3053
|
err: null
|
|
3024
3054
|
} : {
|
|
3025
3055
|
val: {
|
|
3026
|
-
type:
|
|
3056
|
+
type: T.plural,
|
|
3027
3057
|
value: n,
|
|
3028
|
-
options:
|
|
3058
|
+
options: lt(H.val),
|
|
3029
3059
|
offset: B,
|
|
3030
3060
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3031
3061
|
location: N
|
|
@@ -3076,16 +3106,16 @@ var On = (
|
|
|
3076
3106
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3077
3107
|
var n = [];
|
|
3078
3108
|
try {
|
|
3079
|
-
n =
|
|
3109
|
+
n = hn(t);
|
|
3080
3110
|
} catch (i) {
|
|
3081
3111
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3082
3112
|
}
|
|
3083
3113
|
return {
|
|
3084
3114
|
val: {
|
|
3085
|
-
type:
|
|
3115
|
+
type: q.number,
|
|
3086
3116
|
tokens: n,
|
|
3087
3117
|
location: r,
|
|
3088
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3118
|
+
parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
|
|
3089
3119
|
},
|
|
3090
3120
|
err: null
|
|
3091
3121
|
};
|
|
@@ -3104,20 +3134,20 @@ var On = (
|
|
|
3104
3134
|
if (h.has(a))
|
|
3105
3135
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3106
3136
|
a === "other" && (o = !0), this.bumpSpace();
|
|
3107
|
-
var
|
|
3137
|
+
var d = this.clonePosition();
|
|
3108
3138
|
if (!this.bumpIf("{"))
|
|
3109
3139
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
return
|
|
3113
|
-
var g = this.tryParseArgumentClose(
|
|
3140
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3141
|
+
if (p.err)
|
|
3142
|
+
return p;
|
|
3143
|
+
var g = this.tryParseArgumentClose(d);
|
|
3114
3144
|
if (g.err)
|
|
3115
3145
|
return g;
|
|
3116
3146
|
u.push([
|
|
3117
3147
|
a,
|
|
3118
3148
|
{
|
|
3119
|
-
value:
|
|
3120
|
-
location: _(
|
|
3149
|
+
value: p.val,
|
|
3150
|
+
location: _(d, this.clonePosition())
|
|
3121
3151
|
}
|
|
3122
3152
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3123
3153
|
}
|
|
@@ -3133,7 +3163,7 @@ var On = (
|
|
|
3133
3163
|
break;
|
|
3134
3164
|
}
|
|
3135
3165
|
var h = _(i, this.clonePosition());
|
|
3136
|
-
return s ? (o *= n,
|
|
3166
|
+
return s ? (o *= n, Hn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3137
3167
|
}, e.prototype.offset = function() {
|
|
3138
3168
|
return this.position.offset;
|
|
3139
3169
|
}, e.prototype.isEOF = function() {
|
|
@@ -3148,7 +3178,7 @@ var On = (
|
|
|
3148
3178
|
var t = this.position.offset;
|
|
3149
3179
|
if (t >= this.message.length)
|
|
3150
3180
|
throw Error("out of bound");
|
|
3151
|
-
var r =
|
|
3181
|
+
var r = Vt(this.message, t);
|
|
3152
3182
|
if (r === void 0)
|
|
3153
3183
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3154
3184
|
return r;
|
|
@@ -3167,7 +3197,7 @@ var On = (
|
|
|
3167
3197
|
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);
|
|
3168
3198
|
}
|
|
3169
3199
|
}, e.prototype.bumpIf = function(t) {
|
|
3170
|
-
if (
|
|
3200
|
+
if (ht(this.message, t, this.offset())) {
|
|
3171
3201
|
for (var r = 0; r < t.length; r++)
|
|
3172
3202
|
this.bump();
|
|
3173
3203
|
return !0;
|
|
@@ -3189,7 +3219,7 @@ var On = (
|
|
|
3189
3219
|
break;
|
|
3190
3220
|
}
|
|
3191
3221
|
}, e.prototype.bumpSpace = function() {
|
|
3192
|
-
for (; !this.isEOF() &&
|
|
3222
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3193
3223
|
this.bump();
|
|
3194
3224
|
}, e.prototype.peek = function() {
|
|
3195
3225
|
if (this.isEOF())
|
|
@@ -3199,47 +3229,47 @@ var On = (
|
|
|
3199
3229
|
}, e;
|
|
3200
3230
|
}()
|
|
3201
3231
|
);
|
|
3202
|
-
function
|
|
3232
|
+
function Fe(e) {
|
|
3203
3233
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3204
3234
|
}
|
|
3205
|
-
function
|
|
3206
|
-
return
|
|
3235
|
+
function On(e) {
|
|
3236
|
+
return Fe(e) || e === 47;
|
|
3207
3237
|
}
|
|
3208
|
-
function
|
|
3238
|
+
function Pn(e) {
|
|
3209
3239
|
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;
|
|
3210
3240
|
}
|
|
3211
|
-
function
|
|
3241
|
+
function zt(e) {
|
|
3212
3242
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3213
3243
|
}
|
|
3214
|
-
function
|
|
3244
|
+
function Nn(e) {
|
|
3215
3245
|
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;
|
|
3216
3246
|
}
|
|
3217
|
-
function
|
|
3247
|
+
function je(e) {
|
|
3218
3248
|
e.forEach(function(t) {
|
|
3219
|
-
if (delete t.location,
|
|
3249
|
+
if (delete t.location, $t(t) || Rt(t))
|
|
3220
3250
|
for (var r in t.options)
|
|
3221
|
-
delete t.options[r].location,
|
|
3251
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3222
3252
|
else
|
|
3223
|
-
|
|
3253
|
+
Lt(t) && Gt(t.style) || (It(t) || Mt(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
|
|
3224
3254
|
});
|
|
3225
3255
|
}
|
|
3226
|
-
function
|
|
3227
|
-
t === void 0 && (t = {}), t =
|
|
3228
|
-
var r = new
|
|
3256
|
+
function Ln(e, t) {
|
|
3257
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3258
|
+
var r = new wn(e, t).parse();
|
|
3229
3259
|
if (r.err) {
|
|
3230
3260
|
var n = SyntaxError(y[r.err.kind]);
|
|
3231
3261
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3232
3262
|
}
|
|
3233
|
-
return t != null && t.captureLocation ||
|
|
3263
|
+
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3234
3264
|
}
|
|
3235
|
-
var
|
|
3265
|
+
var Y;
|
|
3236
3266
|
(function(e) {
|
|
3237
3267
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3238
|
-
})(
|
|
3239
|
-
var
|
|
3268
|
+
})(Y || (Y = {}));
|
|
3269
|
+
var ve = (
|
|
3240
3270
|
/** @class */
|
|
3241
3271
|
function(e) {
|
|
3242
|
-
|
|
3272
|
+
xe(t, e);
|
|
3243
3273
|
function t(r, n, i) {
|
|
3244
3274
|
var s = e.call(this, r) || this;
|
|
3245
3275
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3248,48 +3278,48 @@ var Ce = (
|
|
|
3248
3278
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3249
3279
|
}, t;
|
|
3250
3280
|
}(Error)
|
|
3251
|
-
),
|
|
3281
|
+
), ct = (
|
|
3252
3282
|
/** @class */
|
|
3253
3283
|
function(e) {
|
|
3254
|
-
|
|
3284
|
+
xe(t, e);
|
|
3255
3285
|
function t(r, n, i, s) {
|
|
3256
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3286
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
|
|
3257
3287
|
}
|
|
3258
3288
|
return t;
|
|
3259
|
-
}(
|
|
3260
|
-
),
|
|
3289
|
+
}(ve)
|
|
3290
|
+
), In = (
|
|
3261
3291
|
/** @class */
|
|
3262
3292
|
function(e) {
|
|
3263
|
-
|
|
3293
|
+
xe(t, e);
|
|
3264
3294
|
function t(r, n, i) {
|
|
3265
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3295
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3266
3296
|
}
|
|
3267
3297
|
return t;
|
|
3268
|
-
}(
|
|
3269
|
-
),
|
|
3298
|
+
}(ve)
|
|
3299
|
+
), Mn = (
|
|
3270
3300
|
/** @class */
|
|
3271
3301
|
function(e) {
|
|
3272
|
-
|
|
3302
|
+
xe(t, e);
|
|
3273
3303
|
function t(r, n) {
|
|
3274
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3304
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3275
3305
|
}
|
|
3276
3306
|
return t;
|
|
3277
|
-
}(
|
|
3307
|
+
}(ve)
|
|
3278
3308
|
), O;
|
|
3279
3309
|
(function(e) {
|
|
3280
3310
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3281
3311
|
})(O || (O = {}));
|
|
3282
|
-
function
|
|
3312
|
+
function $n(e) {
|
|
3283
3313
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3284
3314
|
var n = t[t.length - 1];
|
|
3285
3315
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3286
3316
|
}, []);
|
|
3287
3317
|
}
|
|
3288
|
-
function
|
|
3318
|
+
function Rn(e) {
|
|
3289
3319
|
return typeof e == "function";
|
|
3290
3320
|
}
|
|
3291
3321
|
function de(e, t, r, n, i, s, o) {
|
|
3292
|
-
if (e.length === 1 &&
|
|
3322
|
+
if (e.length === 1 && st(e[0]))
|
|
3293
3323
|
return [
|
|
3294
3324
|
{
|
|
3295
3325
|
type: O.literal,
|
|
@@ -3298,14 +3328,14 @@ function de(e, t, r, n, i, s, o) {
|
|
|
3298
3328
|
];
|
|
3299
3329
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3300
3330
|
var l = a[h];
|
|
3301
|
-
if (
|
|
3331
|
+
if (st(l)) {
|
|
3302
3332
|
u.push({
|
|
3303
3333
|
type: O.literal,
|
|
3304
3334
|
value: l.value
|
|
3305
3335
|
});
|
|
3306
3336
|
continue;
|
|
3307
3337
|
}
|
|
3308
|
-
if (
|
|
3338
|
+
if (sn(l)) {
|
|
3309
3339
|
typeof s == "number" && u.push({
|
|
3310
3340
|
type: O.literal,
|
|
3311
3341
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3314,89 +3344,89 @@ function de(e, t, r, n, i, s, o) {
|
|
|
3314
3344
|
}
|
|
3315
3345
|
var c = l.value;
|
|
3316
3346
|
if (!(i && c in i))
|
|
3317
|
-
throw new
|
|
3347
|
+
throw new Mn(c, o);
|
|
3318
3348
|
var f = i[c];
|
|
3319
|
-
if (
|
|
3349
|
+
if (nn(l)) {
|
|
3320
3350
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3321
3351
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3322
3352
|
value: f
|
|
3323
3353
|
});
|
|
3324
3354
|
continue;
|
|
3325
3355
|
}
|
|
3326
|
-
if (
|
|
3327
|
-
var
|
|
3356
|
+
if (It(l)) {
|
|
3357
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3328
3358
|
u.push({
|
|
3329
3359
|
type: O.literal,
|
|
3330
|
-
value: r.getDateTimeFormat(t,
|
|
3360
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3331
3361
|
});
|
|
3332
3362
|
continue;
|
|
3333
3363
|
}
|
|
3334
|
-
if (
|
|
3335
|
-
var
|
|
3364
|
+
if (Mt(l)) {
|
|
3365
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3336
3366
|
u.push({
|
|
3337
3367
|
type: O.literal,
|
|
3338
|
-
value: r.getDateTimeFormat(t,
|
|
3368
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3339
3369
|
});
|
|
3340
3370
|
continue;
|
|
3341
3371
|
}
|
|
3342
|
-
if (
|
|
3343
|
-
var
|
|
3344
|
-
|
|
3372
|
+
if (Lt(l)) {
|
|
3373
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3374
|
+
d && d.scale && (f = f * (d.scale || 1)), u.push({
|
|
3345
3375
|
type: O.literal,
|
|
3346
|
-
value: r.getNumberFormat(t,
|
|
3376
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3347
3377
|
});
|
|
3348
3378
|
continue;
|
|
3349
3379
|
}
|
|
3350
|
-
if (
|
|
3351
|
-
var
|
|
3352
|
-
if (!
|
|
3353
|
-
throw new
|
|
3354
|
-
var m = de(
|
|
3380
|
+
if (Ut(l)) {
|
|
3381
|
+
var p = l.children, g = l.value, x = i[g];
|
|
3382
|
+
if (!Rn(x))
|
|
3383
|
+
throw new In(g, "function", o);
|
|
3384
|
+
var m = de(p, t, r, n, i, s), C = x(m.map(function(B) {
|
|
3355
3385
|
return B.value;
|
|
3356
3386
|
}));
|
|
3357
|
-
Array.isArray(
|
|
3387
|
+
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
3358
3388
|
return {
|
|
3359
3389
|
type: typeof B == "string" ? O.literal : O.object,
|
|
3360
3390
|
value: B
|
|
3361
3391
|
};
|
|
3362
3392
|
}));
|
|
3363
3393
|
}
|
|
3364
|
-
if (
|
|
3365
|
-
var
|
|
3366
|
-
if (!
|
|
3367
|
-
throw new
|
|
3368
|
-
u.push.apply(u, de(
|
|
3394
|
+
if ($t(l)) {
|
|
3395
|
+
var A = l.options[f] || l.options.other;
|
|
3396
|
+
if (!A)
|
|
3397
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3398
|
+
u.push.apply(u, de(A.value, t, r, n, i));
|
|
3369
3399
|
continue;
|
|
3370
3400
|
}
|
|
3371
|
-
if (
|
|
3372
|
-
var
|
|
3373
|
-
if (!
|
|
3401
|
+
if (Rt(l)) {
|
|
3402
|
+
var A = l.options["=".concat(f)];
|
|
3403
|
+
if (!A) {
|
|
3374
3404
|
if (!Intl.PluralRules)
|
|
3375
|
-
throw new
|
|
3405
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3376
3406
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3377
|
-
`,
|
|
3407
|
+
`, Y.MISSING_INTL_API, o);
|
|
3378
3408
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3379
|
-
|
|
3409
|
+
A = l.options[P] || l.options.other;
|
|
3380
3410
|
}
|
|
3381
|
-
if (!
|
|
3382
|
-
throw new
|
|
3383
|
-
u.push.apply(u, de(
|
|
3411
|
+
if (!A)
|
|
3412
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3413
|
+
u.push.apply(u, de(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3384
3414
|
continue;
|
|
3385
3415
|
}
|
|
3386
3416
|
}
|
|
3387
|
-
return
|
|
3417
|
+
return $n(u);
|
|
3388
3418
|
}
|
|
3389
|
-
function
|
|
3390
|
-
return t ?
|
|
3391
|
-
return r[n] =
|
|
3419
|
+
function Un(e, t) {
|
|
3420
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3421
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3392
3422
|
}, {})) : e;
|
|
3393
3423
|
}
|
|
3394
|
-
function
|
|
3424
|
+
function Gn(e, t) {
|
|
3395
3425
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3396
|
-
return r[n] =
|
|
3397
|
-
},
|
|
3426
|
+
return r[n] = Un(e[n], t[n]), r;
|
|
3427
|
+
}, E({}, e)) : e;
|
|
3398
3428
|
}
|
|
3399
|
-
function
|
|
3429
|
+
function Pe(e) {
|
|
3400
3430
|
return {
|
|
3401
3431
|
create: function() {
|
|
3402
3432
|
return {
|
|
@@ -3410,39 +3440,39 @@ function Le(e) {
|
|
|
3410
3440
|
}
|
|
3411
3441
|
};
|
|
3412
3442
|
}
|
|
3413
|
-
function
|
|
3443
|
+
function Dn(e) {
|
|
3414
3444
|
return e === void 0 && (e = {
|
|
3415
3445
|
number: {},
|
|
3416
3446
|
dateTime: {},
|
|
3417
3447
|
pluralRules: {}
|
|
3418
3448
|
}), {
|
|
3419
|
-
getNumberFormat:
|
|
3449
|
+
getNumberFormat: Be(function() {
|
|
3420
3450
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3421
3451
|
r[n] = arguments[n];
|
|
3422
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3452
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
|
|
3423
3453
|
}, {
|
|
3424
|
-
cache:
|
|
3425
|
-
strategy:
|
|
3454
|
+
cache: Pe(e.number),
|
|
3455
|
+
strategy: we.variadic
|
|
3426
3456
|
}),
|
|
3427
|
-
getDateTimeFormat:
|
|
3457
|
+
getDateTimeFormat: Be(function() {
|
|
3428
3458
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3429
3459
|
r[n] = arguments[n];
|
|
3430
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3460
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
|
|
3431
3461
|
}, {
|
|
3432
|
-
cache:
|
|
3433
|
-
strategy:
|
|
3462
|
+
cache: Pe(e.dateTime),
|
|
3463
|
+
strategy: we.variadic
|
|
3434
3464
|
}),
|
|
3435
|
-
getPluralRules:
|
|
3465
|
+
getPluralRules: Be(function() {
|
|
3436
3466
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3437
3467
|
r[n] = arguments[n];
|
|
3438
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3468
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
|
|
3439
3469
|
}, {
|
|
3440
|
-
cache:
|
|
3441
|
-
strategy:
|
|
3470
|
+
cache: Pe(e.pluralRules),
|
|
3471
|
+
strategy: we.variadic
|
|
3442
3472
|
})
|
|
3443
3473
|
};
|
|
3444
3474
|
}
|
|
3445
|
-
var
|
|
3475
|
+
var Fn = (
|
|
3446
3476
|
/** @class */
|
|
3447
3477
|
function() {
|
|
3448
3478
|
function e(t, r, n, i) {
|
|
@@ -3474,13 +3504,13 @@ var jn = (
|
|
|
3474
3504
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3475
3505
|
var o = i || {};
|
|
3476
3506
|
o.formatters;
|
|
3477
|
-
var u =
|
|
3478
|
-
this.ast = e.__parse(t,
|
|
3507
|
+
var u = Qr(o, ["formatters"]);
|
|
3508
|
+
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3479
3509
|
} else
|
|
3480
3510
|
this.ast = t;
|
|
3481
3511
|
if (!Array.isArray(this.ast))
|
|
3482
3512
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3483
|
-
this.formats =
|
|
3513
|
+
this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
|
|
3484
3514
|
}
|
|
3485
3515
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3486
3516
|
get: function() {
|
|
@@ -3493,7 +3523,7 @@ var jn = (
|
|
|
3493
3523
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3494
3524
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3495
3525
|
}
|
|
3496
|
-
}, e.__parse =
|
|
3526
|
+
}, e.__parse = Ln, e.formats = {
|
|
3497
3527
|
number: {
|
|
3498
3528
|
integer: {
|
|
3499
3529
|
maximumFractionDigits: 0
|
|
@@ -3554,7 +3584,7 @@ var jn = (
|
|
|
3554
3584
|
}, e;
|
|
3555
3585
|
}()
|
|
3556
3586
|
);
|
|
3557
|
-
function
|
|
3587
|
+
function jn(e, t) {
|
|
3558
3588
|
if (t == null)
|
|
3559
3589
|
return;
|
|
3560
3590
|
if (t in e)
|
|
@@ -3575,90 +3605,90 @@ function kn(e, t) {
|
|
|
3575
3605
|
n = void 0;
|
|
3576
3606
|
return n;
|
|
3577
3607
|
}
|
|
3578
|
-
const
|
|
3608
|
+
const D = {}, kn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Wt = (e, t) => {
|
|
3579
3609
|
if (t == null)
|
|
3580
3610
|
return;
|
|
3581
|
-
if (t in
|
|
3582
|
-
return
|
|
3583
|
-
const r =
|
|
3611
|
+
if (t in D && e in D[t])
|
|
3612
|
+
return D[t][e];
|
|
3613
|
+
const r = Te(t);
|
|
3584
3614
|
for (let n = 0; n < r.length; n++) {
|
|
3585
|
-
const i = r[n], s =
|
|
3615
|
+
const i = r[n], s = Xn(i, e);
|
|
3586
3616
|
if (s)
|
|
3587
|
-
return
|
|
3617
|
+
return kn(e, t, s);
|
|
3588
3618
|
}
|
|
3589
3619
|
};
|
|
3590
|
-
let
|
|
3591
|
-
const
|
|
3592
|
-
function
|
|
3593
|
-
return
|
|
3620
|
+
let We;
|
|
3621
|
+
const he = Ee({});
|
|
3622
|
+
function Vn(e) {
|
|
3623
|
+
return We[e] || null;
|
|
3594
3624
|
}
|
|
3595
|
-
function
|
|
3596
|
-
return e in
|
|
3625
|
+
function Zt(e) {
|
|
3626
|
+
return e in We;
|
|
3597
3627
|
}
|
|
3598
|
-
function
|
|
3599
|
-
if (!
|
|
3628
|
+
function Xn(e, t) {
|
|
3629
|
+
if (!Zt(e))
|
|
3600
3630
|
return null;
|
|
3601
|
-
const r =
|
|
3602
|
-
return
|
|
3631
|
+
const r = Vn(e);
|
|
3632
|
+
return jn(r, t);
|
|
3603
3633
|
}
|
|
3604
|
-
function
|
|
3634
|
+
function zn(e) {
|
|
3605
3635
|
if (e == null)
|
|
3606
3636
|
return;
|
|
3607
|
-
const t =
|
|
3637
|
+
const t = Te(e);
|
|
3608
3638
|
for (let r = 0; r < t.length; r++) {
|
|
3609
3639
|
const n = t[r];
|
|
3610
|
-
if (
|
|
3640
|
+
if (Zt(n))
|
|
3611
3641
|
return n;
|
|
3612
3642
|
}
|
|
3613
3643
|
}
|
|
3614
|
-
function
|
|
3615
|
-
delete
|
|
3644
|
+
function Qt(e, ...t) {
|
|
3645
|
+
delete D[e], he.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
|
|
3616
3646
|
}
|
|
3617
|
-
|
|
3618
|
-
[
|
|
3647
|
+
ee(
|
|
3648
|
+
[he],
|
|
3619
3649
|
([e]) => Object.keys(e)
|
|
3620
3650
|
);
|
|
3621
|
-
|
|
3622
|
-
const
|
|
3623
|
-
function
|
|
3624
|
-
|
|
3651
|
+
he.subscribe((e) => We = e);
|
|
3652
|
+
const pe = {};
|
|
3653
|
+
function Wn(e, t) {
|
|
3654
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3625
3655
|
}
|
|
3626
3656
|
function Jt(e) {
|
|
3627
|
-
return
|
|
3657
|
+
return pe[e];
|
|
3628
3658
|
}
|
|
3629
|
-
function
|
|
3630
|
-
return
|
|
3659
|
+
function Zn(e) {
|
|
3660
|
+
return Te(e).map((t) => {
|
|
3631
3661
|
const r = Jt(t);
|
|
3632
3662
|
return [t, r ? [...r] : []];
|
|
3633
3663
|
}).filter(([, t]) => t.length > 0);
|
|
3634
3664
|
}
|
|
3635
|
-
function
|
|
3636
|
-
return e == null ? !1 :
|
|
3665
|
+
function ke(e) {
|
|
3666
|
+
return e == null ? !1 : Te(e).some(
|
|
3637
3667
|
(t) => {
|
|
3638
3668
|
var r;
|
|
3639
3669
|
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
3640
3670
|
}
|
|
3641
3671
|
);
|
|
3642
3672
|
}
|
|
3643
|
-
function
|
|
3673
|
+
function Qn(e, t) {
|
|
3644
3674
|
return Promise.all(
|
|
3645
|
-
t.map((n) => (
|
|
3646
|
-
).then((n) =>
|
|
3647
|
-
}
|
|
3648
|
-
const
|
|
3649
|
-
function
|
|
3650
|
-
if (!
|
|
3651
|
-
return e in
|
|
3652
|
-
const t =
|
|
3653
|
-
return
|
|
3675
|
+
t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
|
|
3676
|
+
).then((n) => Qt(e, ...n));
|
|
3677
|
+
}
|
|
3678
|
+
const ne = {};
|
|
3679
|
+
function qt(e) {
|
|
3680
|
+
if (!ke(e))
|
|
3681
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
3682
|
+
const t = Zn(e);
|
|
3683
|
+
return ne[e] = Promise.all(
|
|
3654
3684
|
t.map(
|
|
3655
|
-
([r, n]) =>
|
|
3685
|
+
([r, n]) => Qn(r, n)
|
|
3656
3686
|
)
|
|
3657
3687
|
).then(() => {
|
|
3658
|
-
if (
|
|
3659
|
-
return
|
|
3660
|
-
delete
|
|
3661
|
-
}),
|
|
3688
|
+
if (ke(e))
|
|
3689
|
+
return qt(e);
|
|
3690
|
+
delete ne[e];
|
|
3691
|
+
}), ne[e];
|
|
3662
3692
|
}
|
|
3663
3693
|
const Jn = {
|
|
3664
3694
|
number: {
|
|
@@ -3689,133 +3719,133 @@ const Jn = {
|
|
|
3689
3719
|
timeZoneName: "short"
|
|
3690
3720
|
}
|
|
3691
3721
|
}
|
|
3692
|
-
},
|
|
3722
|
+
}, qn = {
|
|
3693
3723
|
fallbackLocale: null,
|
|
3694
3724
|
loadingDelay: 200,
|
|
3695
3725
|
formats: Jn,
|
|
3696
3726
|
warnOnMissingMessages: !0,
|
|
3697
3727
|
handleMissingMessage: void 0,
|
|
3698
3728
|
ignoreTag: !0
|
|
3699
|
-
},
|
|
3700
|
-
function
|
|
3701
|
-
return
|
|
3702
|
-
}
|
|
3703
|
-
const
|
|
3704
|
-
var
|
|
3705
|
-
for (var r in t
|
|
3706
|
-
|
|
3707
|
-
if (
|
|
3708
|
-
for (var r of
|
|
3709
|
-
|
|
3729
|
+
}, Yn = qn;
|
|
3730
|
+
function K() {
|
|
3731
|
+
return Yn;
|
|
3732
|
+
}
|
|
3733
|
+
const Ne = Ee(!1);
|
|
3734
|
+
var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
|
|
3735
|
+
for (var r in t)
|
|
3736
|
+
ri.call(t, r) && mt(e, r, t[r]);
|
|
3737
|
+
if (gt)
|
|
3738
|
+
for (var r of gt(t))
|
|
3739
|
+
ni.call(t, r) && mt(e, r, t[r]);
|
|
3710
3740
|
return e;
|
|
3711
|
-
},
|
|
3712
|
-
let
|
|
3713
|
-
const
|
|
3741
|
+
}, si = (e, t) => ei(e, ti(t));
|
|
3742
|
+
let Ve;
|
|
3743
|
+
const ye = Ee(null);
|
|
3714
3744
|
function dt(e) {
|
|
3715
3745
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3716
3746
|
}
|
|
3717
|
-
function
|
|
3747
|
+
function Te(e, t = K().fallbackLocale) {
|
|
3718
3748
|
const r = dt(e);
|
|
3719
3749
|
return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
|
|
3720
3750
|
}
|
|
3721
|
-
function
|
|
3722
|
-
return
|
|
3751
|
+
function X() {
|
|
3752
|
+
return Ve != null ? Ve : void 0;
|
|
3723
3753
|
}
|
|
3724
|
-
|
|
3725
|
-
|
|
3754
|
+
ye.subscribe((e) => {
|
|
3755
|
+
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3726
3756
|
});
|
|
3727
|
-
const
|
|
3728
|
-
if (e &&
|
|
3729
|
-
const { loadingDelay: t } =
|
|
3757
|
+
const oi = (e) => {
|
|
3758
|
+
if (e && zn(e) && ke(e)) {
|
|
3759
|
+
const { loadingDelay: t } = K();
|
|
3730
3760
|
let r;
|
|
3731
|
-
return typeof window != "undefined" &&
|
|
3732
|
-
() =>
|
|
3761
|
+
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
|
3762
|
+
() => Ne.set(!0),
|
|
3733
3763
|
t
|
|
3734
|
-
) :
|
|
3735
|
-
|
|
3764
|
+
) : Ne.set(!0), qt(e).then(() => {
|
|
3765
|
+
ye.set(e);
|
|
3736
3766
|
}).finally(() => {
|
|
3737
|
-
clearTimeout(r),
|
|
3767
|
+
clearTimeout(r), Ne.set(!1);
|
|
3738
3768
|
});
|
|
3739
3769
|
}
|
|
3740
|
-
return
|
|
3741
|
-
},
|
|
3742
|
-
set:
|
|
3743
|
-
}),
|
|
3770
|
+
return ye.set(e);
|
|
3771
|
+
}, te = si(ii({}, ye), {
|
|
3772
|
+
set: oi
|
|
3773
|
+
}), Ce = (e) => {
|
|
3744
3774
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3745
3775
|
return (n) => {
|
|
3746
3776
|
const i = JSON.stringify(n);
|
|
3747
3777
|
return i in t ? t[i] : t[i] = e(n);
|
|
3748
3778
|
};
|
|
3749
3779
|
};
|
|
3750
|
-
var
|
|
3780
|
+
var ai = Object.defineProperty, _e = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
3751
3781
|
for (var r in t || (t = {}))
|
|
3752
|
-
|
|
3753
|
-
if (
|
|
3754
|
-
for (var r of
|
|
3755
|
-
|
|
3782
|
+
Yt.call(t, r) && pt(e, r, t[r]);
|
|
3783
|
+
if (_e)
|
|
3784
|
+
for (var r of _e(t))
|
|
3785
|
+
Kt.call(t, r) && pt(e, r, t[r]);
|
|
3756
3786
|
return e;
|
|
3757
|
-
},
|
|
3787
|
+
}, re = (e, t) => {
|
|
3758
3788
|
var r = {};
|
|
3759
3789
|
for (var n in e)
|
|
3760
|
-
|
|
3761
|
-
if (e != null &&
|
|
3762
|
-
for (var n of
|
|
3763
|
-
t.indexOf(n) < 0 &&
|
|
3790
|
+
Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3791
|
+
if (e != null && _e)
|
|
3792
|
+
for (var n of _e(e))
|
|
3793
|
+
t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
|
|
3764
3794
|
return r;
|
|
3765
3795
|
};
|
|
3766
|
-
const
|
|
3767
|
-
const { formats: r } =
|
|
3796
|
+
const ae = (e, t) => {
|
|
3797
|
+
const { formats: r } = K();
|
|
3768
3798
|
if (e in r && t in r[e])
|
|
3769
3799
|
return r[e][t];
|
|
3770
3800
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3771
|
-
},
|
|
3801
|
+
}, ui = Ce(
|
|
3772
3802
|
(e) => {
|
|
3773
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3803
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3774
3804
|
if (r == null)
|
|
3775
3805
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3776
|
-
return n && (i =
|
|
3806
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3777
3807
|
}
|
|
3778
|
-
),
|
|
3808
|
+
), hi = Ce(
|
|
3779
3809
|
(e) => {
|
|
3780
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3810
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3781
3811
|
if (r == null)
|
|
3782
3812
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3783
|
-
return n ? i =
|
|
3813
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3784
3814
|
}
|
|
3785
|
-
),
|
|
3815
|
+
), li = Ce(
|
|
3786
3816
|
(e) => {
|
|
3787
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3817
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3788
3818
|
if (r == null)
|
|
3789
3819
|
throw new Error(
|
|
3790
3820
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3791
3821
|
);
|
|
3792
|
-
return n ? i =
|
|
3822
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3793
3823
|
}
|
|
3794
|
-
),
|
|
3824
|
+
), fi = (e = {}) => {
|
|
3795
3825
|
var t = e, {
|
|
3796
|
-
locale: r =
|
|
3797
|
-
} = t, n =
|
|
3826
|
+
locale: r = X()
|
|
3827
|
+
} = t, n = re(t, [
|
|
3798
3828
|
"locale"
|
|
3799
3829
|
]);
|
|
3800
|
-
return
|
|
3801
|
-
},
|
|
3830
|
+
return ui(Ze({ locale: r }, n));
|
|
3831
|
+
}, ci = (e = {}) => {
|
|
3802
3832
|
var t = e, {
|
|
3803
|
-
locale: r =
|
|
3804
|
-
} = t, n =
|
|
3833
|
+
locale: r = X()
|
|
3834
|
+
} = t, n = re(t, [
|
|
3805
3835
|
"locale"
|
|
3806
3836
|
]);
|
|
3807
|
-
return
|
|
3808
|
-
},
|
|
3837
|
+
return hi(Ze({ locale: r }, n));
|
|
3838
|
+
}, gi = (e = {}) => {
|
|
3809
3839
|
var t = e, {
|
|
3810
|
-
locale: r =
|
|
3811
|
-
} = t, n =
|
|
3840
|
+
locale: r = X()
|
|
3841
|
+
} = t, n = re(t, [
|
|
3812
3842
|
"locale"
|
|
3813
3843
|
]);
|
|
3814
|
-
return
|
|
3815
|
-
},
|
|
3844
|
+
return li(Ze({ locale: r }, n));
|
|
3845
|
+
}, mi = Ce(
|
|
3816
3846
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3817
|
-
(e, t =
|
|
3818
|
-
ignoreTag:
|
|
3847
|
+
(e, t = X()) => new Fn(e, t, K().formats, {
|
|
3848
|
+
ignoreTag: K().ignoreTag
|
|
3819
3849
|
})
|
|
3820
3850
|
), di = (e, t = {}) => {
|
|
3821
3851
|
var r, n, i, s;
|
|
@@ -3823,16 +3853,16 @@ const ue = (e, t) => {
|
|
|
3823
3853
|
typeof e == "object" && (o = e, e = o.id);
|
|
3824
3854
|
const {
|
|
3825
3855
|
values: u,
|
|
3826
|
-
locale: h =
|
|
3856
|
+
locale: h = X(),
|
|
3827
3857
|
default: a
|
|
3828
3858
|
} = o;
|
|
3829
3859
|
if (h == null)
|
|
3830
3860
|
throw new Error(
|
|
3831
3861
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3832
3862
|
);
|
|
3833
|
-
let l =
|
|
3863
|
+
let l = Wt(e, h);
|
|
3834
3864
|
if (!l)
|
|
3835
|
-
l = (s = (i = (n = (r =
|
|
3865
|
+
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;
|
|
3836
3866
|
else if (typeof l != "string")
|
|
3837
3867
|
return console.warn(
|
|
3838
3868
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3841,7 +3871,7 @@ const ue = (e, t) => {
|
|
|
3841
3871
|
return l;
|
|
3842
3872
|
let c = l;
|
|
3843
3873
|
try {
|
|
3844
|
-
c =
|
|
3874
|
+
c = mi(l, h).format(u);
|
|
3845
3875
|
} catch (f) {
|
|
3846
3876
|
f instanceof Error && console.warn(
|
|
3847
3877
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3849,18 +3879,18 @@ const ue = (e, t) => {
|
|
|
3849
3879
|
);
|
|
3850
3880
|
}
|
|
3851
3881
|
return c;
|
|
3852
|
-
},
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
function
|
|
3858
|
-
|
|
3882
|
+
}, pi = (e, t) => gi(t).format(e), bi = (e, t) => ci(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = X()) => Wt(e, t), Ei = ee([te, he], () => di);
|
|
3883
|
+
ee([te], () => pi);
|
|
3884
|
+
ee([te], () => bi);
|
|
3885
|
+
ee([te], () => yi);
|
|
3886
|
+
ee([te, he], () => _i);
|
|
3887
|
+
function bt(e, t) {
|
|
3888
|
+
Qt(e, t);
|
|
3859
3889
|
}
|
|
3860
3890
|
function xi(e) {
|
|
3861
|
-
|
|
3891
|
+
te.set(e);
|
|
3862
3892
|
}
|
|
3863
|
-
const
|
|
3893
|
+
const yt = {
|
|
3864
3894
|
en: {
|
|
3865
3895
|
topCategories: "Top Categories",
|
|
3866
3896
|
otherCategories: "Other Categories",
|
|
@@ -3970,107 +4000,107 @@ const _t = {
|
|
|
3970
4000
|
games: "games"
|
|
3971
4001
|
}
|
|
3972
4002
|
};
|
|
3973
|
-
function
|
|
3974
|
-
|
|
4003
|
+
function vi(e) {
|
|
4004
|
+
lr(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}");
|
|
3975
4005
|
}
|
|
3976
|
-
function
|
|
4006
|
+
function _t(e, t, r) {
|
|
3977
4007
|
const n = e.slice();
|
|
3978
4008
|
return n[23] = t[r], n;
|
|
3979
4009
|
}
|
|
3980
|
-
function
|
|
4010
|
+
function Et(e, t, r) {
|
|
3981
4011
|
const n = e.slice();
|
|
3982
4012
|
return n[23] = t[r], n;
|
|
3983
4013
|
}
|
|
3984
|
-
function
|
|
4014
|
+
function Ti(e) {
|
|
3985
4015
|
let t, r, n = (
|
|
3986
4016
|
/*$_*/
|
|
3987
4017
|
e[5]("topCategories") + ""
|
|
3988
4018
|
), i, s, o, u, h = (
|
|
3989
4019
|
/*$_*/
|
|
3990
4020
|
e[5]("otherCategories") + ""
|
|
3991
|
-
), a, l, c =
|
|
4021
|
+
), a, l, c = ce(
|
|
3992
4022
|
/*topCategories*/
|
|
3993
4023
|
e[3]
|
|
3994
4024
|
), f = [];
|
|
3995
4025
|
for (let g = 0; g < c.length; g += 1)
|
|
3996
|
-
f[g] = xt(
|
|
3997
|
-
let
|
|
4026
|
+
f[g] = xt(Et(e, c, g));
|
|
4027
|
+
let d = ce(
|
|
3998
4028
|
/*otherCategories*/
|
|
3999
4029
|
e[4]
|
|
4000
|
-
),
|
|
4001
|
-
for (let g = 0; g <
|
|
4002
|
-
|
|
4030
|
+
), p = [];
|
|
4031
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4032
|
+
p[g] = vt(_t(e, d, g));
|
|
4003
4033
|
return {
|
|
4004
4034
|
c() {
|
|
4005
|
-
t =
|
|
4035
|
+
t = S("div"), r = S("h4"), i = G(n), s = U();
|
|
4006
4036
|
for (let g = 0; g < f.length; g += 1)
|
|
4007
4037
|
f[g].c();
|
|
4008
|
-
o =
|
|
4009
|
-
for (let g = 0; g <
|
|
4010
|
-
|
|
4038
|
+
o = U(), u = S("h4"), a = G(h), l = U();
|
|
4039
|
+
for (let g = 0; g < p.length; g += 1)
|
|
4040
|
+
p[g].c();
|
|
4011
4041
|
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
4012
4042
|
},
|
|
4013
|
-
m(g,
|
|
4014
|
-
|
|
4043
|
+
m(g, x) {
|
|
4044
|
+
V(g, t, x), v(t, r), v(r, i), v(t, s);
|
|
4015
4045
|
for (let m = 0; m < f.length; m += 1)
|
|
4016
4046
|
f[m] && f[m].m(t, null);
|
|
4017
4047
|
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
4018
|
-
for (let m = 0; m <
|
|
4019
|
-
|
|
4048
|
+
for (let m = 0; m < p.length; m += 1)
|
|
4049
|
+
p[m] && p[m].m(t, null);
|
|
4020
4050
|
},
|
|
4021
|
-
p(g,
|
|
4022
|
-
if (
|
|
4051
|
+
p(g, x) {
|
|
4052
|
+
if (x & /*$_*/
|
|
4023
4053
|
32 && n !== (n = /*$_*/
|
|
4024
|
-
g[5]("topCategories") + "") &&
|
|
4054
|
+
g[5]("topCategories") + "") && F(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
|
|
4025
4055
|
105) {
|
|
4026
|
-
c =
|
|
4056
|
+
c = ce(
|
|
4027
4057
|
/*topCategories*/
|
|
4028
4058
|
g[3]
|
|
4029
4059
|
);
|
|
4030
4060
|
let m;
|
|
4031
4061
|
for (m = 0; m < c.length; m += 1) {
|
|
4032
|
-
const
|
|
4033
|
-
f[m] ? f[m].p(
|
|
4062
|
+
const C = Et(g, c, m);
|
|
4063
|
+
f[m] ? f[m].p(C, x) : (f[m] = xt(C), f[m].c(), f[m].m(t, o));
|
|
4034
4064
|
}
|
|
4035
4065
|
for (; m < f.length; m += 1)
|
|
4036
4066
|
f[m].d(1);
|
|
4037
4067
|
f.length = c.length;
|
|
4038
4068
|
}
|
|
4039
|
-
if (
|
|
4069
|
+
if (x & /*$_*/
|
|
4040
4070
|
32 && h !== (h = /*$_*/
|
|
4041
|
-
g[5]("otherCategories") + "") &&
|
|
4071
|
+
g[5]("otherCategories") + "") && F(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
4042
4072
|
113) {
|
|
4043
|
-
|
|
4073
|
+
d = ce(
|
|
4044
4074
|
/*otherCategories*/
|
|
4045
4075
|
g[4]
|
|
4046
4076
|
);
|
|
4047
4077
|
let m;
|
|
4048
|
-
for (m = 0; m <
|
|
4049
|
-
const
|
|
4050
|
-
|
|
4078
|
+
for (m = 0; m < d.length; m += 1) {
|
|
4079
|
+
const C = _t(g, d, m);
|
|
4080
|
+
p[m] ? p[m].p(C, x) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
|
|
4051
4081
|
}
|
|
4052
|
-
for (; m <
|
|
4053
|
-
|
|
4054
|
-
|
|
4082
|
+
for (; m < p.length; m += 1)
|
|
4083
|
+
p[m].d(1);
|
|
4084
|
+
p.length = d.length;
|
|
4055
4085
|
}
|
|
4056
4086
|
},
|
|
4057
4087
|
d(g) {
|
|
4058
|
-
g &&
|
|
4088
|
+
g && j(t), rt(f, g), rt(p, g);
|
|
4059
4089
|
}
|
|
4060
4090
|
};
|
|
4061
4091
|
}
|
|
4062
|
-
function
|
|
4092
|
+
function Ci(e) {
|
|
4063
4093
|
let t;
|
|
4064
4094
|
return {
|
|
4065
4095
|
c() {
|
|
4066
|
-
t =
|
|
4096
|
+
t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
|
|
4067
4097
|
},
|
|
4068
4098
|
m(r, n) {
|
|
4069
|
-
|
|
4099
|
+
V(r, t, n);
|
|
4070
4100
|
},
|
|
4071
4101
|
p: L,
|
|
4072
4102
|
d(r) {
|
|
4073
|
-
r &&
|
|
4103
|
+
r && j(t);
|
|
4074
4104
|
}
|
|
4075
4105
|
};
|
|
4076
4106
|
}
|
|
@@ -4081,10 +4111,10 @@ function xt(e) {
|
|
|
4081
4111
|
), a, l, c, f = (
|
|
4082
4112
|
/*category*/
|
|
4083
4113
|
e[23].games.count + ""
|
|
4084
|
-
),
|
|
4114
|
+
), d, p, g = (
|
|
4085
4115
|
/*$_*/
|
|
4086
4116
|
e[5]("games") + ""
|
|
4087
|
-
),
|
|
4117
|
+
), x, m, C, A;
|
|
4088
4118
|
function P() {
|
|
4089
4119
|
return (
|
|
4090
4120
|
/*click_handler*/
|
|
@@ -4096,47 +4126,47 @@ function xt(e) {
|
|
|
4096
4126
|
}
|
|
4097
4127
|
return {
|
|
4098
4128
|
c() {
|
|
4099
|
-
t =
|
|
4129
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), x = G(g), be(r.src, n = /*category*/
|
|
4100
4130
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4101
4131
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4102
4132
|
(e[0] === /*category*/
|
|
4103
4133
|
e[23].id ? "Active" : ""));
|
|
4104
4134
|
},
|
|
4105
4135
|
m(B, H) {
|
|
4106
|
-
|
|
4136
|
+
V(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), C || (A = At(t, "click", P), C = !0);
|
|
4107
4137
|
},
|
|
4108
4138
|
p(B, H) {
|
|
4109
4139
|
e = B, H & /*topCategories*/
|
|
4110
|
-
8 && !
|
|
4140
|
+
8 && !be(r.src, n = /*category*/
|
|
4111
4141
|
e[23].icon) && R(r, "src", n), H & /*topCategories*/
|
|
4112
4142
|
8 && i !== (i = /*category*/
|
|
4113
4143
|
e[23].name) && R(r, "alt", i), H & /*topCategories*/
|
|
4114
4144
|
8 && h !== (h = /*category*/
|
|
4115
|
-
e[23].name + "") &&
|
|
4145
|
+
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4116
4146
|
8 && f !== (f = /*category*/
|
|
4117
|
-
e[23].games.count + "") &&
|
|
4147
|
+
e[23].games.count + "") && F(d, f), H & /*$_*/
|
|
4118
4148
|
32 && g !== (g = /*$_*/
|
|
4119
|
-
e[5]("games") + "") &&
|
|
4149
|
+
e[5]("games") + "") && F(x, g), H & /*activecategory, topCategories*/
|
|
4120
4150
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4121
4151
|
(e[0] === /*category*/
|
|
4122
4152
|
e[23].id ? "Active" : "")) && I(t, "class", m);
|
|
4123
4153
|
},
|
|
4124
4154
|
d(B) {
|
|
4125
|
-
B &&
|
|
4155
|
+
B && j(t), C = !1, A();
|
|
4126
4156
|
}
|
|
4127
4157
|
};
|
|
4128
4158
|
}
|
|
4129
|
-
function
|
|
4159
|
+
function vt(e) {
|
|
4130
4160
|
let t, r, n, i, s, o, u, h = (
|
|
4131
4161
|
/*category*/
|
|
4132
4162
|
e[23].name + ""
|
|
4133
4163
|
), a, l, c, f = (
|
|
4134
4164
|
/*category*/
|
|
4135
4165
|
e[23].games.count + ""
|
|
4136
|
-
),
|
|
4166
|
+
), d, p, g = (
|
|
4137
4167
|
/*$_*/
|
|
4138
4168
|
e[5]("games") + ""
|
|
4139
|
-
),
|
|
4169
|
+
), x, m, C, A, P;
|
|
4140
4170
|
function B() {
|
|
4141
4171
|
return (
|
|
4142
4172
|
/*click_handler_1*/
|
|
@@ -4148,51 +4178,51 @@ function Tt(e) {
|
|
|
4148
4178
|
}
|
|
4149
4179
|
return {
|
|
4150
4180
|
c() {
|
|
4151
|
-
t =
|
|
4181
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), x = G(g), m = U(), be(r.src, n = /*category*/
|
|
4152
4182
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4153
|
-
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class",
|
|
4183
|
+
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
|
|
4154
4184
|
(e[0] === /*category*/
|
|
4155
4185
|
e[23].id ? "Active" : ""));
|
|
4156
4186
|
},
|
|
4157
4187
|
m(H, N) {
|
|
4158
|
-
|
|
4188
|
+
V(H, 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 || (P = At(t, "click", B), A = !0);
|
|
4159
4189
|
},
|
|
4160
4190
|
p(H, N) {
|
|
4161
4191
|
e = H, N & /*otherCategories*/
|
|
4162
|
-
16 && !
|
|
4192
|
+
16 && !be(r.src, n = /*category*/
|
|
4163
4193
|
e[23].icon) && R(r, "src", n), N & /*otherCategories*/
|
|
4164
4194
|
16 && i !== (i = /*category*/
|
|
4165
4195
|
e[23].name) && R(r, "alt", i), N & /*otherCategories*/
|
|
4166
4196
|
16 && h !== (h = /*category*/
|
|
4167
|
-
e[23].name + "") &&
|
|
4197
|
+
e[23].name + "") && F(a, h), N & /*otherCategories*/
|
|
4168
4198
|
16 && f !== (f = /*category*/
|
|
4169
|
-
e[23].games.count + "") &&
|
|
4199
|
+
e[23].games.count + "") && F(d, f), N & /*$_*/
|
|
4170
4200
|
32 && g !== (g = /*$_*/
|
|
4171
|
-
e[5]("games") + "") &&
|
|
4172
|
-
17 &&
|
|
4201
|
+
e[5]("games") + "") && F(x, g), N & /*activecategory, otherCategories*/
|
|
4202
|
+
17 && C !== (C = "Category " + /*activecategory*/
|
|
4173
4203
|
(e[0] === /*category*/
|
|
4174
|
-
e[23].id ? "Active" : "")) && I(t, "class",
|
|
4204
|
+
e[23].id ? "Active" : "")) && I(t, "class", C);
|
|
4175
4205
|
},
|
|
4176
4206
|
d(H) {
|
|
4177
|
-
H &&
|
|
4207
|
+
H && j(t), A = !1, P();
|
|
4178
4208
|
}
|
|
4179
4209
|
};
|
|
4180
4210
|
}
|
|
4181
|
-
function
|
|
4211
|
+
function Hi(e) {
|
|
4182
4212
|
let t;
|
|
4183
4213
|
function r(s, o) {
|
|
4184
4214
|
return (
|
|
4185
4215
|
/*isLoading*/
|
|
4186
|
-
s[2] ?
|
|
4216
|
+
s[2] ? Ci : Ti
|
|
4187
4217
|
);
|
|
4188
4218
|
}
|
|
4189
4219
|
let n = r(e), i = n(e);
|
|
4190
4220
|
return {
|
|
4191
4221
|
c() {
|
|
4192
|
-
t =
|
|
4222
|
+
t = S("div"), i.c();
|
|
4193
4223
|
},
|
|
4194
4224
|
m(s, o) {
|
|
4195
|
-
|
|
4225
|
+
V(s, t, o), i.m(t, null), e[17](t);
|
|
4196
4226
|
},
|
|
4197
4227
|
p(s, [o]) {
|
|
4198
4228
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
@@ -4200,68 +4230,68 @@ function Si(e) {
|
|
|
4200
4230
|
i: L,
|
|
4201
4231
|
o: L,
|
|
4202
4232
|
d(s) {
|
|
4203
|
-
s &&
|
|
4233
|
+
s && j(t), i.d(), e[17](null);
|
|
4204
4234
|
}
|
|
4205
4235
|
};
|
|
4206
4236
|
}
|
|
4207
4237
|
function Ai(e, t, r) {
|
|
4208
4238
|
let n;
|
|
4209
|
-
|
|
4210
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t,
|
|
4239
|
+
hr(e, Ei, (b) => r(5, n = b));
|
|
4240
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
|
|
4211
4241
|
const g = [];
|
|
4212
|
-
let
|
|
4213
|
-
Object.keys(
|
|
4214
|
-
|
|
4242
|
+
let x = [], m = [];
|
|
4243
|
+
Object.keys(yt).forEach((b) => {
|
|
4244
|
+
bt(b, yt[b]);
|
|
4215
4245
|
});
|
|
4216
|
-
const
|
|
4246
|
+
const C = () => {
|
|
4217
4247
|
fetch(c).then(($) => $.json()).then(($) => {
|
|
4218
|
-
Object.keys($).forEach((
|
|
4219
|
-
|
|
4248
|
+
Object.keys($).forEach((le) => {
|
|
4249
|
+
bt(le, $[le]);
|
|
4220
4250
|
});
|
|
4221
4251
|
}).catch(($) => {
|
|
4222
4252
|
console.log($);
|
|
4223
4253
|
});
|
|
4224
|
-
},
|
|
4225
|
-
r(2,
|
|
4254
|
+
}, A = () => {
|
|
4255
|
+
r(2, p = !0);
|
|
4226
4256
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4227
4257
|
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4228
|
-
r(2,
|
|
4229
|
-
const
|
|
4258
|
+
r(2, p = !1);
|
|
4259
|
+
const le = h.split(",").map((k) => k.trim());
|
|
4230
4260
|
g.push(...$.items);
|
|
4231
|
-
const
|
|
4261
|
+
const Qe = g.filter((k) => !le.some((rr) => {
|
|
4232
4262
|
var Je;
|
|
4233
|
-
return ((Je =
|
|
4263
|
+
return ((Je = k.flags) == null ? void 0 : Je.indexOf(rr)) >= 0;
|
|
4234
4264
|
}));
|
|
4235
|
-
r(3,
|
|
4265
|
+
r(3, x = Qe.filter((k) => k.isTopCategory === !0)), r(4, m = Qe.filter((k) => k.isTopCategory === !1));
|
|
4236
4266
|
});
|
|
4237
4267
|
}, P = (b) => {
|
|
4238
4268
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4239
4269
|
}, B = () => {
|
|
4240
4270
|
xi(o);
|
|
4241
4271
|
};
|
|
4242
|
-
|
|
4272
|
+
br(() => () => {
|
|
4243
4273
|
});
|
|
4244
4274
|
const H = (b) => P(b.id), N = (b) => P(b.id);
|
|
4245
|
-
function
|
|
4246
|
-
|
|
4247
|
-
|
|
4275
|
+
function tr(b) {
|
|
4276
|
+
Le[b ? "unshift" : "push"](() => {
|
|
4277
|
+
d = b, r(1, d);
|
|
4248
4278
|
});
|
|
4249
4279
|
}
|
|
4250
4280
|
return e.$$set = (b) => {
|
|
4251
4281
|
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4252
4282
|
}, e.$$.update = () => {
|
|
4253
4283
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4254
|
-
384 && i && s &&
|
|
4255
|
-
8192 && c &&
|
|
4284
|
+
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4285
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4256
4286
|
512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4257
|
-
2050 && a &&
|
|
4258
|
-
4098 && l &&
|
|
4259
|
-
16386 && f &&
|
|
4287
|
+
2050 && a && d && wr(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4288
|
+
4098 && l && d && Or(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4289
|
+
16386 && f && d && Pr(d, `${f}.Style`);
|
|
4260
4290
|
}, [
|
|
4261
4291
|
u,
|
|
4262
|
-
p,
|
|
4263
4292
|
d,
|
|
4264
|
-
|
|
4293
|
+
p,
|
|
4294
|
+
x,
|
|
4265
4295
|
m,
|
|
4266
4296
|
n,
|
|
4267
4297
|
P,
|
|
@@ -4275,17 +4305,17 @@ function Ai(e, t, r) {
|
|
|
4275
4305
|
f,
|
|
4276
4306
|
H,
|
|
4277
4307
|
N,
|
|
4278
|
-
|
|
4308
|
+
tr
|
|
4279
4309
|
];
|
|
4280
4310
|
}
|
|
4281
|
-
class
|
|
4311
|
+
class er extends Sr {
|
|
4282
4312
|
constructor(t) {
|
|
4283
|
-
super(),
|
|
4313
|
+
super(), Hr(
|
|
4284
4314
|
this,
|
|
4285
4315
|
t,
|
|
4286
4316
|
Ai,
|
|
4287
|
-
|
|
4288
|
-
|
|
4317
|
+
Hi,
|
|
4318
|
+
Ct,
|
|
4289
4319
|
{
|
|
4290
4320
|
endpoint: 7,
|
|
4291
4321
|
datasource: 8,
|
|
@@ -4297,7 +4327,7 @@ class tr extends Br {
|
|
|
4297
4327
|
translationurl: 13,
|
|
4298
4328
|
mbsource: 14
|
|
4299
4329
|
},
|
|
4300
|
-
|
|
4330
|
+
vi
|
|
4301
4331
|
);
|
|
4302
4332
|
}
|
|
4303
4333
|
get endpoint() {
|
|
@@ -4355,47 +4385,51 @@ class tr extends Br {
|
|
|
4355
4385
|
this.$$set({ mbsource: t }), M();
|
|
4356
4386
|
}
|
|
4357
4387
|
}
|
|
4358
|
-
Ar(
|
|
4359
|
-
const
|
|
4388
|
+
Ar(er, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4389
|
+
const $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4360
4390
|
__proto__: null,
|
|
4361
|
-
default:
|
|
4391
|
+
default: er
|
|
4362
4392
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4363
4393
|
export {
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4394
|
+
te as $,
|
|
4395
|
+
Mi as A,
|
|
4396
|
+
xe as B,
|
|
4397
|
+
be as C,
|
|
4398
|
+
Pi as D,
|
|
4399
|
+
wi as E,
|
|
4400
|
+
ce as F,
|
|
4401
|
+
rt as G,
|
|
4402
|
+
Ni as H,
|
|
4403
|
+
Li as I,
|
|
4404
|
+
gr as J,
|
|
4405
|
+
Oi as K,
|
|
4406
|
+
$i as L,
|
|
4407
|
+
Sr as S,
|
|
4408
|
+
Ii as _,
|
|
4409
|
+
Qt as a,
|
|
4410
|
+
lr as b,
|
|
4411
|
+
Ar as c,
|
|
4412
|
+
U as d,
|
|
4413
|
+
S as e,
|
|
4380
4414
|
M as f,
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4415
|
+
I as g,
|
|
4416
|
+
R as h,
|
|
4417
|
+
Hr as i,
|
|
4418
|
+
V as j,
|
|
4419
|
+
v as k,
|
|
4386
4420
|
At as l,
|
|
4387
|
-
|
|
4421
|
+
F as m,
|
|
4388
4422
|
L as n,
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4423
|
+
j as o,
|
|
4424
|
+
hr as p,
|
|
4425
|
+
br as q,
|
|
4426
|
+
ue as r,
|
|
4427
|
+
Ct as s,
|
|
4428
|
+
G as t,
|
|
4429
|
+
Le as u,
|
|
4430
|
+
wr as v,
|
|
4431
|
+
Or as w,
|
|
4432
|
+
Pr as x,
|
|
4433
|
+
Ei as y,
|
|
4434
|
+
Se as z
|
|
4401
4435
|
};
|