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