@everymatrix/casino-categories-slider 1.74.3 → 1.74.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSlider-BWerxhh-.js → CasinoCategoriesSlider-BRY6E3Y6.js} +650 -625
- package/components/{CasinoCategoriesSlider-lUQbmZn9.js → CasinoCategoriesSlider-C0w1Umr-.js} +599 -574
- package/components/CasinoCategoriesSlider-DBfAg0XM.cjs +18 -0
- package/components/{CasinoSlider-C2dsDPpR.js → CasinoSlider-C-cgIoQZ.js} +418 -362
- package/components/CasinoSlider-CVoXWyzE.cjs +1 -0
- package/components/{CasinoSlider-DoAKa6rO.js → CasinoSlider-DJ15xmwN.js} +348 -305
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-3NEy5qU2.cjs +0 -18
- package/components/CasinoSlider-CrbzADcf.cjs +0 -1
package/components/{CasinoCategoriesSlider-BWerxhh-.js → CasinoCategoriesSlider-BRY6E3Y6.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Ie = (e, t, r) => t in e ?
|
1
|
+
var Fr = Object.defineProperty, $r = Object.defineProperties;
|
2
|
+
var jr = Object.getOwnPropertyDescriptors;
|
3
|
+
var pt = Object.getOwnPropertySymbols;
|
4
|
+
var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ie = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
kr.call(t, r) && Ie(e, r, t[r]);
|
8
|
+
if (pt)
|
9
|
+
for (var r of pt(t))
|
10
|
+
Vr.call(t, r) && Ie(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, yt = (e, t) => $r(e, jr(t));
|
13
13
|
var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
-
var
|
14
|
+
var vt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -29,29 +29,29 @@ var pt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function I() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Vt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function Et() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function ne(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Vt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function st(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Xt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let ge;
|
48
|
-
function
|
48
|
+
function Hs(e, t) {
|
49
49
|
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Xr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function Wt(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -60,20 +60,20 @@ function kt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function Wr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(Wt(t, r));
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function zt(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function zr(e, t, r) {
|
70
|
+
const n = Zr(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
72
|
const i = V("style");
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, Qr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function Zr(e) {
|
77
77
|
if (!e)
|
78
78
|
return document;
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,8 +83,8 @@ function Vr(e) {
|
|
83
83
|
t
|
84
84
|
) : e.ownerDocument;
|
85
85
|
}
|
86
|
-
function
|
87
|
-
return
|
86
|
+
function Qr(e, t) {
|
87
|
+
return zt(
|
88
88
|
/** @type {Document} */
|
89
89
|
e.head || e,
|
90
90
|
t
|
@@ -96,40 +96,45 @@ function fe(e, t, r) {
|
|
96
96
|
function ie(e) {
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function Bs(e, t) {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r] && e[r].d(t);
|
102
102
|
}
|
103
103
|
function V(e) {
|
104
104
|
return document.createElement(e);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function Zt(e) {
|
107
107
|
return document.createTextNode(e);
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function As() {
|
110
|
+
return Zt(" ");
|
111
111
|
}
|
112
|
-
function
|
113
|
-
return
|
112
|
+
function Ps() {
|
113
|
+
return Zt("");
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Ns(e, t, r, n) {
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
117
117
|
}
|
118
|
+
function Os(e) {
|
119
|
+
return function(t) {
|
120
|
+
return t.preventDefault(), e.call(this, t);
|
121
|
+
};
|
122
|
+
}
|
118
123
|
function me(e, t, r) {
|
119
124
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
120
125
|
}
|
121
|
-
function
|
126
|
+
function E(e, t, r) {
|
122
127
|
const n = t.toLowerCase();
|
123
128
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
|
124
129
|
}
|
125
|
-
function
|
130
|
+
function Yr(e) {
|
126
131
|
return Array.from(e.childNodes);
|
127
132
|
}
|
128
|
-
function
|
133
|
+
function Ls(e, t) {
|
129
134
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
130
135
|
t);
|
131
136
|
}
|
132
|
-
function
|
137
|
+
function qr(e) {
|
133
138
|
const t = {};
|
134
139
|
return e.childNodes.forEach(
|
135
140
|
/** @param {Element} node */
|
@@ -142,25 +147,29 @@ let he;
|
|
142
147
|
function ue(e) {
|
143
148
|
he = e;
|
144
149
|
}
|
145
|
-
function
|
150
|
+
function Jr() {
|
146
151
|
if (!he)
|
147
152
|
throw new Error("Function called outside component initialization");
|
148
153
|
return he;
|
149
154
|
}
|
150
|
-
function
|
151
|
-
|
155
|
+
function Kr(e) {
|
156
|
+
Jr().$$.on_mount.push(e);
|
152
157
|
}
|
153
|
-
|
158
|
+
function Is(e, t) {
|
159
|
+
const r = e.$$.callbacks[t.type];
|
160
|
+
r && r.slice().forEach((n) => n.call(this, t));
|
161
|
+
}
|
162
|
+
const Y = [], je = [];
|
154
163
|
let q = [];
|
155
|
-
const
|
156
|
-
let
|
157
|
-
function
|
158
|
-
|
164
|
+
const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
|
165
|
+
let ke = !1;
|
166
|
+
function Yt() {
|
167
|
+
ke || (ke = !0, Qt.then(S));
|
159
168
|
}
|
160
|
-
function
|
161
|
-
return
|
169
|
+
function en() {
|
170
|
+
return Yt(), Qt;
|
162
171
|
}
|
163
|
-
function
|
172
|
+
function Ve(e) {
|
164
173
|
q.push(e);
|
165
174
|
}
|
166
175
|
const Ce = /* @__PURE__ */ new Set();
|
@@ -173,86 +182,86 @@ function S() {
|
|
173
182
|
try {
|
174
183
|
for (; Z < Y.length; ) {
|
175
184
|
const t = Y[Z];
|
176
|
-
Z++, ue(t),
|
185
|
+
Z++, ue(t), tn(t.$$);
|
177
186
|
}
|
178
187
|
} catch (t) {
|
179
188
|
throw Y.length = 0, Z = 0, t;
|
180
189
|
}
|
181
|
-
for (ue(null), Y.length = 0, Z = 0;
|
182
|
-
|
190
|
+
for (ue(null), Y.length = 0, Z = 0; je.length; )
|
191
|
+
je.pop()();
|
183
192
|
for (let t = 0; t < q.length; t += 1) {
|
184
193
|
const r = q[t];
|
185
194
|
Ce.has(r) || (Ce.add(r), r());
|
186
195
|
}
|
187
196
|
q.length = 0;
|
188
197
|
} while (Y.length);
|
189
|
-
for (;
|
190
|
-
|
191
|
-
|
198
|
+
for (; _t.length; )
|
199
|
+
_t.pop()();
|
200
|
+
ke = !1, Ce.clear(), ue(e);
|
192
201
|
}
|
193
|
-
function
|
202
|
+
function tn(e) {
|
194
203
|
if (e.fragment !== null) {
|
195
204
|
e.update(), ne(e.before_update);
|
196
205
|
const t = e.dirty;
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
206
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
198
207
|
}
|
199
208
|
}
|
200
|
-
function
|
209
|
+
function rn(e) {
|
201
210
|
const t = [], r = [];
|
202
211
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
203
212
|
}
|
204
|
-
const
|
205
|
-
function
|
206
|
-
e && e.i && (
|
213
|
+
const nn = /* @__PURE__ */ new Set();
|
214
|
+
function qt(e, t) {
|
215
|
+
e && e.i && (nn.delete(e), e.i(t));
|
207
216
|
}
|
208
|
-
function
|
217
|
+
function Cs(e) {
|
209
218
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
210
219
|
}
|
211
|
-
function
|
220
|
+
function Ms(e, t) {
|
212
221
|
e.d(1), t.delete(e.key);
|
213
222
|
}
|
214
|
-
function
|
223
|
+
function Rs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
215
224
|
let c = e.length, d = s.length, b = c;
|
216
225
|
const y = {};
|
217
226
|
for (; b--; )
|
218
227
|
y[e[b].key] = b;
|
219
228
|
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
220
229
|
for (b = d; b--; ) {
|
221
|
-
const
|
222
|
-
let L = o.get(
|
223
|
-
L ? w.push(() => L.p(
|
230
|
+
const _ = m(i, s, b), B = r(_);
|
231
|
+
let L = o.get(B);
|
232
|
+
L ? w.push(() => L.p(_, t)) : (L = u(B, _), L.c()), C.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
|
224
233
|
}
|
225
234
|
const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
226
|
-
function R(
|
227
|
-
|
235
|
+
function R(_) {
|
236
|
+
qt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
228
237
|
}
|
229
238
|
for (; c && d; ) {
|
230
|
-
const
|
231
|
-
|
239
|
+
const _ = T[d - 1], B = e[c - 1], L = _.key, $ = B.key;
|
240
|
+
_ === B ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(_)) : (N.add($), c--) : (h(B, o), c--);
|
232
241
|
}
|
233
242
|
for (; c--; ) {
|
234
|
-
const
|
235
|
-
C.has(
|
243
|
+
const _ = e[c];
|
244
|
+
C.has(_.key) || h(_, o);
|
236
245
|
}
|
237
246
|
for (; d; )
|
238
247
|
R(T[d - 1]);
|
239
248
|
return ne(w), T;
|
240
249
|
}
|
241
|
-
function
|
250
|
+
function sn(e, t, r) {
|
242
251
|
const { fragment: n, after_update: i } = e.$$;
|
243
|
-
n && n.m(t, r),
|
244
|
-
const s = e.$$.on_mount.map(
|
252
|
+
n && n.m(t, r), Ve(() => {
|
253
|
+
const s = e.$$.on_mount.map(Vt).filter(st);
|
245
254
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
246
|
-
}), i.forEach(
|
255
|
+
}), i.forEach(Ve);
|
247
256
|
}
|
248
|
-
function
|
257
|
+
function on(e, t) {
|
249
258
|
const r = e.$$;
|
250
|
-
r.fragment !== null && (
|
259
|
+
r.fragment !== null && (rn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
251
260
|
}
|
252
|
-
function
|
253
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
261
|
+
function an(e, t) {
|
262
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
254
263
|
}
|
255
|
-
function
|
264
|
+
function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
256
265
|
const h = he;
|
257
266
|
ue(e);
|
258
267
|
const u = e.$$ = {
|
@@ -262,7 +271,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
262
271
|
props: s,
|
263
272
|
update: I,
|
264
273
|
not_equal: i,
|
265
|
-
bound:
|
274
|
+
bound: Et(),
|
266
275
|
// lifecycle
|
267
276
|
on_mount: [],
|
268
277
|
on_destroy: [],
|
@@ -271,7 +280,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
271
280
|
after_update: [],
|
272
281
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
273
282
|
// everything else
|
274
|
-
callbacks:
|
283
|
+
callbacks: Et(),
|
275
284
|
dirty: a,
|
276
285
|
skip_bound: !1,
|
277
286
|
root: t.target || h.$$.root
|
@@ -280,19 +289,19 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
280
289
|
let l = !1;
|
281
290
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
282
291
|
const b = d.length ? d[0] : c;
|
283
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
292
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && an(e, m)), c;
|
284
293
|
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
285
294
|
if (t.hydrate) {
|
286
|
-
const m =
|
295
|
+
const m = Yr(t.target);
|
287
296
|
u.fragment && u.fragment.l(m), m.forEach(ie);
|
288
297
|
} else
|
289
298
|
u.fragment && u.fragment.c();
|
290
|
-
t.intro &&
|
299
|
+
t.intro && qt(e.$$.fragment), sn(e, t.target, t.anchor), S();
|
291
300
|
}
|
292
301
|
ue(h);
|
293
302
|
}
|
294
|
-
let
|
295
|
-
typeof HTMLElement == "function" && (
|
303
|
+
let Jt;
|
304
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
296
305
|
constructor(t, r, n) {
|
297
306
|
super();
|
298
307
|
/** The Svelte component constructor */
|
@@ -329,7 +338,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
329
338
|
}
|
330
339
|
}
|
331
340
|
connectedCallback() {
|
332
|
-
return
|
341
|
+
return vt(this, null, function* () {
|
333
342
|
if (this.$$cn = !0, !this.$$c) {
|
334
343
|
let t = function(s) {
|
335
344
|
return () => {
|
@@ -353,18 +362,18 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
353
362
|
};
|
354
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
355
364
|
return;
|
356
|
-
const r = {}, n =
|
365
|
+
const r = {}, n = qr(this);
|
357
366
|
for (const s of this.$$s)
|
358
367
|
s in n && (r[s] = [t(s)]);
|
359
368
|
for (const s of this.attributes) {
|
360
369
|
const o = this.$$g_p(s.name);
|
361
|
-
o in this.$$d || (this.$$d[o] =
|
370
|
+
o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
|
362
371
|
}
|
363
372
|
for (const s in this.$$p_d)
|
364
373
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
365
374
|
this.$$c = new this.$$ctor({
|
366
375
|
target: this.shadowRoot || this,
|
367
|
-
props:
|
376
|
+
props: yt(gt({}, this.$$d), {
|
368
377
|
$$slots: r,
|
369
378
|
$$scope: {
|
370
379
|
ctx: []
|
@@ -375,7 +384,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
375
384
|
this.$$r = !0;
|
376
385
|
for (const s in this.$$p_d)
|
377
386
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
378
|
-
const o =
|
387
|
+
const o = Ee(
|
379
388
|
s,
|
380
389
|
this.$$d[s],
|
381
390
|
this.$$p_d,
|
@@ -399,7 +408,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
399
408
|
// and setting attributes through setAttribute etc, this is helpful
|
400
409
|
attributeChangedCallback(t, r, n) {
|
401
410
|
var i;
|
402
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
411
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
403
412
|
}
|
404
413
|
disconnectedCallback() {
|
405
414
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -412,7 +421,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
412
421
|
) || t;
|
413
422
|
}
|
414
423
|
});
|
415
|
-
function
|
424
|
+
function Ee(e, t, r, n) {
|
416
425
|
var s;
|
417
426
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
418
427
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -442,8 +451,8 @@ function _e(e, t, r, n) {
|
|
442
451
|
return t;
|
443
452
|
}
|
444
453
|
}
|
445
|
-
function
|
446
|
-
let o = class extends
|
454
|
+
function hn(e, t, r, n, i, s) {
|
455
|
+
let o = class extends Jt {
|
447
456
|
constructor() {
|
448
457
|
super(e, r, i), this.$$p_d = t;
|
449
458
|
}
|
@@ -460,7 +469,7 @@ function sn(e, t, r, n, i, s) {
|
|
460
469
|
},
|
461
470
|
set(h) {
|
462
471
|
var u;
|
463
|
-
h =
|
472
|
+
h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
464
473
|
}
|
465
474
|
});
|
466
475
|
}), n.forEach((a) => {
|
@@ -473,7 +482,7 @@ function sn(e, t, r, n, i, s) {
|
|
473
482
|
}), e.element = /** @type {any} */
|
474
483
|
o, o;
|
475
484
|
}
|
476
|
-
class
|
485
|
+
class ln {
|
477
486
|
constructor() {
|
478
487
|
/**
|
479
488
|
* ### PRIVATE API
|
@@ -494,7 +503,7 @@ class on {
|
|
494
503
|
}
|
495
504
|
/** @returns {void} */
|
496
505
|
$destroy() {
|
497
|
-
|
506
|
+
on(this, 1), this.$destroy = I;
|
498
507
|
}
|
499
508
|
/**
|
500
509
|
* @template {Extract<keyof Events, string>} K
|
@@ -503,7 +512,7 @@ class on {
|
|
503
512
|
* @returns {() => void}
|
504
513
|
*/
|
505
514
|
$on(t, r) {
|
506
|
-
if (!
|
515
|
+
if (!st(r))
|
507
516
|
return I;
|
508
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
509
518
|
return n.push(r), () => {
|
@@ -516,11 +525,11 @@ class on {
|
|
516
525
|
* @returns {void}
|
517
526
|
*/
|
518
527
|
$set(t) {
|
519
|
-
this.$$set &&
|
528
|
+
this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
520
529
|
}
|
521
530
|
}
|
522
|
-
const
|
523
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
531
|
+
const cn = "4";
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
|
524
533
|
/*! *****************************************************************************
|
525
534
|
Copyright (c) Microsoft Corporation.
|
526
535
|
|
@@ -535,18 +544,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
535
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
536
545
|
PERFORMANCE OF THIS SOFTWARE.
|
537
546
|
***************************************************************************** */
|
538
|
-
var
|
539
|
-
return
|
547
|
+
var Xe = function(e, t) {
|
548
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
540
549
|
r.__proto__ = n;
|
541
550
|
} || function(r, n) {
|
542
551
|
for (var i in n)
|
543
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
544
|
-
},
|
553
|
+
}, Xe(e, t);
|
545
554
|
};
|
546
555
|
function D(e, t) {
|
547
556
|
if (typeof t != "function" && t !== null)
|
548
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
549
|
-
|
558
|
+
Xe(e, t);
|
550
559
|
function r() {
|
551
560
|
this.constructor = e;
|
552
561
|
}
|
@@ -562,7 +571,7 @@ var v = function() {
|
|
562
571
|
return t;
|
563
572
|
}, v.apply(this, arguments);
|
564
573
|
};
|
565
|
-
function
|
574
|
+
function fn(e, t) {
|
566
575
|
var r = {};
|
567
576
|
for (var n in e)
|
568
577
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -571,7 +580,7 @@ function un(e, t) {
|
|
571
580
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
572
581
|
return r;
|
573
582
|
}
|
574
|
-
function
|
583
|
+
function We(e) {
|
575
584
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
576
585
|
if (r)
|
577
586
|
return r.call(e);
|
@@ -583,7 +592,7 @@ function Xe(e) {
|
|
583
592
|
};
|
584
593
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
585
594
|
}
|
586
|
-
function
|
595
|
+
function ze(e, t) {
|
587
596
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
588
597
|
if (!r)
|
589
598
|
return e;
|
@@ -612,13 +621,13 @@ function J(e, t, r) {
|
|
612
621
|
function U(e) {
|
613
622
|
return typeof e == "function";
|
614
623
|
}
|
615
|
-
function
|
624
|
+
function Kt(e) {
|
616
625
|
var t = function(n) {
|
617
626
|
Error.call(n), n.stack = new Error().stack;
|
618
627
|
}, r = e(t);
|
619
628
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
620
629
|
}
|
621
|
-
var Me =
|
630
|
+
var Me = Kt(function(e) {
|
622
631
|
return function(r) {
|
623
632
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
624
633
|
` + r.map(function(n, i) {
|
@@ -627,7 +636,7 @@ var Me = Yt(function(e) {
|
|
627
636
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
628
637
|
};
|
629
638
|
});
|
630
|
-
function
|
639
|
+
function Ze(e, t) {
|
631
640
|
if (e) {
|
632
641
|
var r = e.indexOf(t);
|
633
642
|
0 <= r && e.splice(r, 1);
|
@@ -645,7 +654,7 @@ var He = function() {
|
|
645
654
|
if (o)
|
646
655
|
if (this._parentage = null, Array.isArray(o))
|
647
656
|
try {
|
648
|
-
for (var a =
|
657
|
+
for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
|
649
658
|
var u = h.value;
|
650
659
|
u.remove(this);
|
651
660
|
}
|
@@ -672,12 +681,12 @@ var He = function() {
|
|
672
681
|
if (m) {
|
673
682
|
this._finalizers = null;
|
674
683
|
try {
|
675
|
-
for (var c =
|
684
|
+
for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
|
676
685
|
var b = d.value;
|
677
686
|
try {
|
678
|
-
|
687
|
+
xt(b);
|
679
688
|
} catch (y) {
|
680
|
-
s = s != null ? s : [], y instanceof Me ? s = J(J([],
|
689
|
+
s = s != null ? s : [], y instanceof Me ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
|
681
690
|
}
|
682
691
|
}
|
683
692
|
} catch (y) {
|
@@ -698,7 +707,7 @@ var He = function() {
|
|
698
707
|
var r;
|
699
708
|
if (t && t !== this)
|
700
709
|
if (this.closed)
|
701
|
-
|
710
|
+
xt(t);
|
702
711
|
else {
|
703
712
|
if (t instanceof e) {
|
704
713
|
if (t.closed || t._hasParent(this))
|
@@ -715,56 +724,56 @@ var He = function() {
|
|
715
724
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
716
725
|
}, e.prototype._removeParent = function(t) {
|
717
726
|
var r = this._parentage;
|
718
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
727
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
719
728
|
}, e.prototype.remove = function(t) {
|
720
729
|
var r = this._finalizers;
|
721
|
-
r &&
|
730
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
722
731
|
}, e.EMPTY = function() {
|
723
732
|
var t = new e();
|
724
733
|
return t.closed = !0, t;
|
725
734
|
}(), e;
|
726
|
-
}(),
|
727
|
-
function
|
735
|
+
}(), er = He.EMPTY;
|
736
|
+
function tr(e) {
|
728
737
|
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
729
738
|
}
|
730
|
-
function
|
739
|
+
function xt(e) {
|
731
740
|
U(e) ? e() : e.unsubscribe();
|
732
741
|
}
|
733
|
-
var
|
742
|
+
var rr = {
|
734
743
|
onUnhandledError: null,
|
735
744
|
onStoppedNotification: null,
|
736
745
|
Promise: void 0,
|
737
746
|
useDeprecatedSynchronousErrorHandling: !1,
|
738
747
|
useDeprecatedNextContext: !1
|
739
|
-
},
|
748
|
+
}, mn = {
|
740
749
|
setTimeout: function(e, t) {
|
741
750
|
for (var r = [], n = 2; n < arguments.length; n++)
|
742
751
|
r[n - 2] = arguments[n];
|
743
|
-
return setTimeout.apply(void 0, J([e, t],
|
752
|
+
return setTimeout.apply(void 0, J([e, t], ze(r)));
|
744
753
|
},
|
745
754
|
clearTimeout: function(e) {
|
746
755
|
return clearTimeout(e);
|
747
756
|
},
|
748
757
|
delegate: void 0
|
749
758
|
};
|
750
|
-
function
|
751
|
-
|
759
|
+
function dn(e) {
|
760
|
+
mn.setTimeout(function() {
|
752
761
|
throw e;
|
753
762
|
});
|
754
763
|
}
|
755
|
-
function
|
764
|
+
function St() {
|
756
765
|
}
|
757
|
-
function
|
766
|
+
function _e(e) {
|
758
767
|
e();
|
759
768
|
}
|
760
|
-
var
|
769
|
+
var nr = function(e) {
|
761
770
|
D(t, e);
|
762
771
|
function t(r) {
|
763
772
|
var n = e.call(this) || this;
|
764
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
773
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = yn, n;
|
765
774
|
}
|
766
775
|
return t.create = function(r, n, i) {
|
767
|
-
return new
|
776
|
+
return new Qe(r, n, i);
|
768
777
|
}, t.prototype.next = function(r) {
|
769
778
|
this.isStopped || this._next(r);
|
770
779
|
}, t.prototype.error = function(r) {
|
@@ -788,7 +797,11 @@ var Kt = function(e) {
|
|
788
797
|
this.unsubscribe();
|
789
798
|
}
|
790
799
|
}, t;
|
791
|
-
}(He),
|
800
|
+
}(He), bn = Function.prototype.bind;
|
801
|
+
function Re(e, t) {
|
802
|
+
return bn.call(e, t);
|
803
|
+
}
|
804
|
+
var pn = function() {
|
792
805
|
function e(t) {
|
793
806
|
this.partialObserver = t;
|
794
807
|
}
|
@@ -819,43 +832,55 @@ var Kt = function(e) {
|
|
819
832
|
ye(r);
|
820
833
|
}
|
821
834
|
}, e;
|
822
|
-
}(),
|
835
|
+
}(), Qe = function(e) {
|
823
836
|
D(t, e);
|
824
837
|
function t(r, n, i) {
|
825
838
|
var s = e.call(this) || this, o;
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
839
|
+
if (U(r) || !r)
|
840
|
+
o = {
|
841
|
+
next: r != null ? r : void 0,
|
842
|
+
error: n != null ? n : void 0,
|
843
|
+
complete: i != null ? i : void 0
|
844
|
+
};
|
845
|
+
else {
|
846
|
+
var a;
|
847
|
+
s && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
848
|
+
return s.unsubscribe();
|
849
|
+
}, o = {
|
850
|
+
next: r.next && Re(r.next, a),
|
851
|
+
error: r.error && Re(r.error, a),
|
852
|
+
complete: r.complete && Re(r.complete, a)
|
853
|
+
}) : o = r;
|
854
|
+
}
|
855
|
+
return s.destination = new pn(o), s;
|
831
856
|
}
|
832
857
|
return t;
|
833
|
-
}(
|
858
|
+
}(nr);
|
834
859
|
function ye(e) {
|
835
|
-
|
860
|
+
dn(e);
|
836
861
|
}
|
837
|
-
function
|
862
|
+
function gn(e) {
|
838
863
|
throw e;
|
839
864
|
}
|
840
|
-
var
|
865
|
+
var yn = {
|
841
866
|
closed: !0,
|
842
|
-
next:
|
843
|
-
error:
|
844
|
-
complete:
|
845
|
-
},
|
867
|
+
next: St,
|
868
|
+
error: gn,
|
869
|
+
complete: St
|
870
|
+
}, vn = function() {
|
846
871
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
847
872
|
}();
|
848
|
-
function
|
873
|
+
function En(e) {
|
849
874
|
return e;
|
850
875
|
}
|
851
|
-
function
|
852
|
-
return e.length === 0 ?
|
876
|
+
function _n(e) {
|
877
|
+
return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
|
853
878
|
return e.reduce(function(n, i) {
|
854
879
|
return i(n);
|
855
880
|
}, r);
|
856
881
|
};
|
857
882
|
}
|
858
|
-
var
|
883
|
+
var wt = function() {
|
859
884
|
function e(t) {
|
860
885
|
t && (this._subscribe = t);
|
861
886
|
}
|
@@ -863,8 +888,8 @@ var Et = function() {
|
|
863
888
|
var r = new e();
|
864
889
|
return r.source = this, r.operator = t, r;
|
865
890
|
}, e.prototype.subscribe = function(t, r, n) {
|
866
|
-
var i = this, s =
|
867
|
-
return
|
891
|
+
var i = this, s = Sn(t) ? t : new Qe(t, r, n);
|
892
|
+
return _e(function() {
|
868
893
|
var o = i, a = o.operator, h = o.source;
|
869
894
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
870
895
|
}), s;
|
@@ -876,8 +901,8 @@ var Et = function() {
|
|
876
901
|
}
|
877
902
|
}, e.prototype.forEach = function(t, r) {
|
878
903
|
var n = this;
|
879
|
-
return r =
|
880
|
-
var o = new
|
904
|
+
return r = Tt(r), new r(function(i, s) {
|
905
|
+
var o = new Qe({
|
881
906
|
next: function(a) {
|
882
907
|
try {
|
883
908
|
t(a);
|
@@ -893,15 +918,15 @@ var Et = function() {
|
|
893
918
|
}, e.prototype._subscribe = function(t) {
|
894
919
|
var r;
|
895
920
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
896
|
-
}, e.prototype[
|
921
|
+
}, e.prototype[vn] = function() {
|
897
922
|
return this;
|
898
923
|
}, e.prototype.pipe = function() {
|
899
924
|
for (var t = [], r = 0; r < arguments.length; r++)
|
900
925
|
t[r] = arguments[r];
|
901
|
-
return
|
926
|
+
return _n(t)(this);
|
902
927
|
}, e.prototype.toPromise = function(t) {
|
903
928
|
var r = this;
|
904
|
-
return t =
|
929
|
+
return t = Tt(t), new t(function(n, i) {
|
905
930
|
var s;
|
906
931
|
r.subscribe(function(o) {
|
907
932
|
return s = o;
|
@@ -915,40 +940,40 @@ var Et = function() {
|
|
915
940
|
return new e(t);
|
916
941
|
}, e;
|
917
942
|
}();
|
918
|
-
function
|
943
|
+
function Tt(e) {
|
919
944
|
var t;
|
920
|
-
return (t = e != null ? e :
|
945
|
+
return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
|
921
946
|
}
|
922
|
-
function
|
947
|
+
function xn(e) {
|
923
948
|
return e && U(e.next) && U(e.error) && U(e.complete);
|
924
949
|
}
|
925
|
-
function
|
926
|
-
return e && e instanceof
|
950
|
+
function Sn(e) {
|
951
|
+
return e && e instanceof nr || xn(e) && tr(e);
|
927
952
|
}
|
928
|
-
var
|
953
|
+
var wn = Kt(function(e) {
|
929
954
|
return function() {
|
930
955
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
931
956
|
};
|
932
|
-
}),
|
957
|
+
}), ir = function(e) {
|
933
958
|
D(t, e);
|
934
959
|
function t() {
|
935
960
|
var r = e.call(this) || this;
|
936
961
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
937
962
|
}
|
938
963
|
return t.prototype.lift = function(r) {
|
939
|
-
var n = new
|
964
|
+
var n = new Ht(this, this);
|
940
965
|
return n.operator = r, n;
|
941
966
|
}, t.prototype._throwIfClosed = function() {
|
942
967
|
if (this.closed)
|
943
|
-
throw new
|
968
|
+
throw new wn();
|
944
969
|
}, t.prototype.next = function(r) {
|
945
970
|
var n = this;
|
946
|
-
|
971
|
+
_e(function() {
|
947
972
|
var i, s;
|
948
973
|
if (n._throwIfClosed(), !n.isStopped) {
|
949
974
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
950
975
|
try {
|
951
|
-
for (var o =
|
976
|
+
for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
952
977
|
var h = a.value;
|
953
978
|
h.next(r);
|
954
979
|
}
|
@@ -966,7 +991,7 @@ var _n = Yt(function(e) {
|
|
966
991
|
});
|
967
992
|
}, t.prototype.error = function(r) {
|
968
993
|
var n = this;
|
969
|
-
|
994
|
+
_e(function() {
|
970
995
|
if (n._throwIfClosed(), !n.isStopped) {
|
971
996
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
972
997
|
for (var i = n.observers; i.length; )
|
@@ -975,7 +1000,7 @@ var _n = Yt(function(e) {
|
|
975
1000
|
});
|
976
1001
|
}, t.prototype.complete = function() {
|
977
1002
|
var r = this;
|
978
|
-
|
1003
|
+
_e(function() {
|
979
1004
|
if (r._throwIfClosed(), !r.isStopped) {
|
980
1005
|
r.isStopped = !0;
|
981
1006
|
for (var n = r.observers; n.length; )
|
@@ -997,19 +1022,19 @@ var _n = Yt(function(e) {
|
|
997
1022
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
998
1023
|
}, t.prototype._innerSubscribe = function(r) {
|
999
1024
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
1000
|
-
return s || o ?
|
1001
|
-
n.currentObservers = null,
|
1025
|
+
return s || o ? er : (this.currentObservers = null, a.push(r), new He(function() {
|
1026
|
+
n.currentObservers = null, Ze(a, r);
|
1002
1027
|
}));
|
1003
1028
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1004
1029
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
1005
1030
|
i ? r.error(s) : o && r.complete();
|
1006
1031
|
}, t.prototype.asObservable = function() {
|
1007
|
-
var r = new
|
1032
|
+
var r = new wt();
|
1008
1033
|
return r.source = this, r;
|
1009
1034
|
}, t.create = function(r, n) {
|
1010
|
-
return new
|
1035
|
+
return new Ht(r, n);
|
1011
1036
|
}, t;
|
1012
|
-
}(
|
1037
|
+
}(wt), Ht = function(e) {
|
1013
1038
|
D(t, e);
|
1014
1039
|
function t(r, n) {
|
1015
1040
|
var i = e.call(this) || this;
|
@@ -1026,17 +1051,17 @@ var _n = Yt(function(e) {
|
|
1026
1051
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1027
1052
|
}, t.prototype._subscribe = function(r) {
|
1028
1053
|
var n, i;
|
1029
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1054
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
1030
1055
|
}, t;
|
1031
|
-
}(
|
1056
|
+
}(ir), sr = {
|
1032
1057
|
now: function() {
|
1033
|
-
return (
|
1058
|
+
return (sr.delegate || Date).now();
|
1034
1059
|
},
|
1035
1060
|
delegate: void 0
|
1036
|
-
},
|
1061
|
+
}, Tn = function(e) {
|
1037
1062
|
D(t, e);
|
1038
1063
|
function t(r, n, i) {
|
1039
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1064
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
1040
1065
|
var s = e.call(this) || this;
|
1041
1066
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
1042
1067
|
}
|
@@ -1056,24 +1081,24 @@ var _n = Yt(function(e) {
|
|
1056
1081
|
u && s.splice(0, u + 1);
|
1057
1082
|
}
|
1058
1083
|
}, t;
|
1059
|
-
}(
|
1060
|
-
const
|
1061
|
-
if (
|
1062
|
-
const r = new
|
1063
|
-
|
1084
|
+
}(ir);
|
1085
|
+
const Bt = [], At = {}, Hn = (e, t = 0) => {
|
1086
|
+
if (Bt.indexOf(e) == -1) {
|
1087
|
+
const r = new Tn(t);
|
1088
|
+
At[e] = r, Bt.push(e);
|
1064
1089
|
}
|
1065
|
-
return
|
1090
|
+
return At[e];
|
1066
1091
|
}, Q = [];
|
1067
|
-
function
|
1092
|
+
function Bn(e, t) {
|
1068
1093
|
return {
|
1069
|
-
subscribe:
|
1094
|
+
subscribe: Be(e, t).subscribe
|
1070
1095
|
};
|
1071
1096
|
}
|
1072
|
-
function
|
1097
|
+
function Be(e, t = I) {
|
1073
1098
|
let r;
|
1074
1099
|
const n = /* @__PURE__ */ new Set();
|
1075
1100
|
function i(a) {
|
1076
|
-
if (
|
1101
|
+
if (Xt(e, a) && (e = a, r)) {
|
1077
1102
|
const h = !Q.length;
|
1078
1103
|
for (const u of n)
|
1079
1104
|
u[1](), Q.push(u, e);
|
@@ -1100,7 +1125,7 @@ function se(e, t, r) {
|
|
1100
1125
|
if (!i.every(Boolean))
|
1101
1126
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1102
1127
|
const s = t.length < 2;
|
1103
|
-
return
|
1128
|
+
return Bn(r, (o, a) => {
|
1104
1129
|
let h = !1;
|
1105
1130
|
const u = [];
|
1106
1131
|
let l = 0, m = I;
|
@@ -1109,9 +1134,9 @@ function se(e, t, r) {
|
|
1109
1134
|
return;
|
1110
1135
|
m();
|
1111
1136
|
const b = t(n ? u[0] : u, o, a);
|
1112
|
-
s ? o(b) : m =
|
1137
|
+
s ? o(b) : m = st(b) ? b : I;
|
1113
1138
|
}, d = i.map(
|
1114
|
-
(b, y) =>
|
1139
|
+
(b, y) => Wt(
|
1115
1140
|
b,
|
1116
1141
|
(T) => {
|
1117
1142
|
u[y] = T, l &= ~(1 << y), h && c();
|
@@ -1126,70 +1151,70 @@ function se(e, t, r) {
|
|
1126
1151
|
};
|
1127
1152
|
});
|
1128
1153
|
}
|
1129
|
-
function
|
1130
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1154
|
+
function An(e) {
|
1155
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1131
1156
|
}
|
1132
|
-
var
|
1133
|
-
return
|
1157
|
+
var Pn = function(t) {
|
1158
|
+
return Nn(t) && !On(t);
|
1134
1159
|
};
|
1135
|
-
function
|
1160
|
+
function Nn(e) {
|
1136
1161
|
return !!e && typeof e == "object";
|
1137
1162
|
}
|
1138
|
-
function
|
1163
|
+
function On(e) {
|
1139
1164
|
var t = Object.prototype.toString.call(e);
|
1140
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1165
|
+
return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
|
1141
1166
|
}
|
1142
|
-
var
|
1143
|
-
function
|
1144
|
-
return e.$$typeof ===
|
1167
|
+
var Ln = typeof Symbol == "function" && Symbol.for, In = Ln ? Symbol.for("react.element") : 60103;
|
1168
|
+
function Cn(e) {
|
1169
|
+
return e.$$typeof === In;
|
1145
1170
|
}
|
1146
|
-
function
|
1171
|
+
function Mn(e) {
|
1147
1172
|
return Array.isArray(e) ? [] : {};
|
1148
1173
|
}
|
1149
1174
|
function le(e, t) {
|
1150
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
1175
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Mn(e), e, t) : e;
|
1151
1176
|
}
|
1152
|
-
function
|
1177
|
+
function Rn(e, t, r) {
|
1153
1178
|
return e.concat(t).map(function(n) {
|
1154
1179
|
return le(n, r);
|
1155
1180
|
});
|
1156
1181
|
}
|
1157
|
-
function
|
1182
|
+
function Gn(e, t) {
|
1158
1183
|
if (!t.customMerge)
|
1159
1184
|
return K;
|
1160
1185
|
var r = t.customMerge(e);
|
1161
1186
|
return typeof r == "function" ? r : K;
|
1162
1187
|
}
|
1163
|
-
function
|
1188
|
+
function Un(e) {
|
1164
1189
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1165
1190
|
return Object.propertyIsEnumerable.call(e, t);
|
1166
1191
|
}) : [];
|
1167
1192
|
}
|
1168
|
-
function
|
1169
|
-
return Object.keys(e).concat(
|
1193
|
+
function Pt(e) {
|
1194
|
+
return Object.keys(e).concat(Un(e));
|
1170
1195
|
}
|
1171
|
-
function
|
1196
|
+
function or(e, t) {
|
1172
1197
|
try {
|
1173
1198
|
return t in e;
|
1174
1199
|
} catch (r) {
|
1175
1200
|
return !1;
|
1176
1201
|
}
|
1177
1202
|
}
|
1178
|
-
function
|
1179
|
-
return
|
1203
|
+
function Dn(e, t) {
|
1204
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1180
1205
|
}
|
1181
|
-
function
|
1206
|
+
function Fn(e, t, r) {
|
1182
1207
|
var n = {};
|
1183
|
-
return r.isMergeableObject(e) &&
|
1208
|
+
return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
|
1184
1209
|
n[i] = le(e[i], r);
|
1185
|
-
}),
|
1186
|
-
|
1210
|
+
}), Pt(t).forEach(function(i) {
|
1211
|
+
Dn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
1187
1212
|
}), n;
|
1188
1213
|
}
|
1189
1214
|
function K(e, t, r) {
|
1190
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1215
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = le;
|
1191
1216
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1192
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1217
|
+
return s ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : le(t, r);
|
1193
1218
|
}
|
1194
1219
|
K.all = function(t, r) {
|
1195
1220
|
if (!Array.isArray(t))
|
@@ -1198,60 +1223,58 @@ K.all = function(t, r) {
|
|
1198
1223
|
return K(n, i, r);
|
1199
1224
|
}, {});
|
1200
1225
|
};
|
1201
|
-
var
|
1202
|
-
const
|
1203
|
-
function
|
1204
|
-
var r = t && t.cache ? t.cache :
|
1226
|
+
var $n = K, jn = $n;
|
1227
|
+
const kn = /* @__PURE__ */ An(jn);
|
1228
|
+
function Ge(e, t) {
|
1229
|
+
var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
|
1205
1230
|
return i(e, {
|
1206
1231
|
cache: r,
|
1207
1232
|
serializer: n
|
1208
1233
|
});
|
1209
1234
|
}
|
1210
|
-
function
|
1235
|
+
function Vn(e) {
|
1211
1236
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1212
1237
|
}
|
1213
|
-
function
|
1214
|
-
var i =
|
1238
|
+
function ar(e, t, r, n) {
|
1239
|
+
var i = Vn(n) ? n : r(n), s = t.get(i);
|
1215
1240
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
1216
1241
|
}
|
1217
|
-
function
|
1242
|
+
function ur(e, t, r) {
|
1218
1243
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1219
1244
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
1220
1245
|
}
|
1221
|
-
function
|
1246
|
+
function ot(e, t, r, n, i) {
|
1222
1247
|
return r.bind(t, e, n, i);
|
1223
1248
|
}
|
1224
|
-
function
|
1225
|
-
var r = e.length === 1 ?
|
1226
|
-
return
|
1249
|
+
function Xn(e, t) {
|
1250
|
+
var r = e.length === 1 ? ar : ur;
|
1251
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
1227
1252
|
}
|
1228
|
-
function
|
1229
|
-
return
|
1253
|
+
function Wn(e, t) {
|
1254
|
+
return ot(e, this, ur, t.cache.create(), t.serializer);
|
1230
1255
|
}
|
1231
|
-
function
|
1232
|
-
return
|
1256
|
+
function zn(e, t) {
|
1257
|
+
return ot(e, this, ar, t.cache.create(), t.serializer);
|
1233
1258
|
}
|
1234
|
-
var
|
1259
|
+
var Zn = function() {
|
1235
1260
|
return JSON.stringify(arguments);
|
1236
|
-
}
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
}()
|
1248
|
-
), Wn = {
|
1261
|
+
};
|
1262
|
+
function at() {
|
1263
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1264
|
+
}
|
1265
|
+
at.prototype.get = function(e) {
|
1266
|
+
return this.cache[e];
|
1267
|
+
};
|
1268
|
+
at.prototype.set = function(e, t) {
|
1269
|
+
this.cache[e] = t;
|
1270
|
+
};
|
1271
|
+
var Qn = {
|
1249
1272
|
create: function() {
|
1250
|
-
return new
|
1273
|
+
return new at();
|
1251
1274
|
}
|
1252
|
-
},
|
1253
|
-
variadic:
|
1254
|
-
monadic:
|
1275
|
+
}, Ue = {
|
1276
|
+
variadic: Wn,
|
1277
|
+
monadic: zn
|
1255
1278
|
}, p;
|
1256
1279
|
(function(e) {
|
1257
1280
|
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";
|
@@ -1264,43 +1287,43 @@ var ee;
|
|
1264
1287
|
(function(e) {
|
1265
1288
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1266
1289
|
})(ee || (ee = {}));
|
1267
|
-
function
|
1290
|
+
function Nt(e) {
|
1268
1291
|
return e.type === x.literal;
|
1269
1292
|
}
|
1270
|
-
function
|
1293
|
+
function Yn(e) {
|
1271
1294
|
return e.type === x.argument;
|
1272
1295
|
}
|
1273
|
-
function
|
1296
|
+
function hr(e) {
|
1274
1297
|
return e.type === x.number;
|
1275
1298
|
}
|
1276
|
-
function
|
1299
|
+
function lr(e) {
|
1277
1300
|
return e.type === x.date;
|
1278
1301
|
}
|
1279
|
-
function
|
1302
|
+
function cr(e) {
|
1280
1303
|
return e.type === x.time;
|
1281
1304
|
}
|
1282
|
-
function
|
1305
|
+
function fr(e) {
|
1283
1306
|
return e.type === x.select;
|
1284
1307
|
}
|
1285
|
-
function
|
1308
|
+
function mr(e) {
|
1286
1309
|
return e.type === x.plural;
|
1287
1310
|
}
|
1288
|
-
function
|
1311
|
+
function qn(e) {
|
1289
1312
|
return e.type === x.pound;
|
1290
1313
|
}
|
1291
|
-
function
|
1314
|
+
function dr(e) {
|
1292
1315
|
return e.type === x.tag;
|
1293
1316
|
}
|
1294
|
-
function
|
1317
|
+
function br(e) {
|
1295
1318
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
1296
1319
|
}
|
1297
|
-
function
|
1320
|
+
function Ye(e) {
|
1298
1321
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
1299
1322
|
}
|
1300
|
-
var
|
1301
|
-
function
|
1323
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
|
1324
|
+
function Kn(e) {
|
1302
1325
|
var t = {};
|
1303
|
-
return e.replace(
|
1326
|
+
return e.replace(Jn, function(r) {
|
1304
1327
|
var n = r.length;
|
1305
1328
|
switch (r[0]) {
|
1306
1329
|
case "G":
|
@@ -1389,11 +1412,11 @@ function Yn(e) {
|
|
1389
1412
|
return "";
|
1390
1413
|
}), t;
|
1391
1414
|
}
|
1392
|
-
var
|
1393
|
-
function
|
1415
|
+
var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1416
|
+
function ti(e) {
|
1394
1417
|
if (e.length === 0)
|
1395
1418
|
throw new Error("Number skeleton cannot be empty");
|
1396
|
-
for (var t = e.split(
|
1419
|
+
for (var t = e.split(ei).filter(function(c) {
|
1397
1420
|
return c.length > 0;
|
1398
1421
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1399
1422
|
var s = i[n], o = s.split("/");
|
@@ -1408,17 +1431,17 @@ function Jn(e) {
|
|
1408
1431
|
}
|
1409
1432
|
return r;
|
1410
1433
|
}
|
1411
|
-
function
|
1434
|
+
function ri(e) {
|
1412
1435
|
return e.replace(/^(.*?)-/, "");
|
1413
1436
|
}
|
1414
|
-
var
|
1415
|
-
function
|
1437
|
+
var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
1438
|
+
function Lt(e) {
|
1416
1439
|
var t = {};
|
1417
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1440
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
1418
1441
|
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)), "";
|
1419
1442
|
}), t;
|
1420
1443
|
}
|
1421
|
-
function
|
1444
|
+
function vr(e) {
|
1422
1445
|
switch (e) {
|
1423
1446
|
case "sign-auto":
|
1424
1447
|
return {
|
@@ -1458,7 +1481,7 @@ function br(e) {
|
|
1458
1481
|
};
|
1459
1482
|
}
|
1460
1483
|
}
|
1461
|
-
function
|
1484
|
+
function ii(e) {
|
1462
1485
|
var t;
|
1463
1486
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1464
1487
|
notation: "engineering"
|
@@ -1466,17 +1489,17 @@ function ti(e) {
|
|
1466
1489
|
notation: "scientific"
|
1467
1490
|
}, e = e.slice(1)), t) {
|
1468
1491
|
var r = e.slice(0, 2);
|
1469
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1492
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
1470
1493
|
throw new Error("Malformed concise eng/scientific notation");
|
1471
1494
|
t.minimumIntegerDigits = e.length;
|
1472
1495
|
}
|
1473
1496
|
return t;
|
1474
1497
|
}
|
1475
|
-
function
|
1476
|
-
var t = {}, r =
|
1498
|
+
function It(e) {
|
1499
|
+
var t = {}, r = vr(e);
|
1477
1500
|
return r || t;
|
1478
1501
|
}
|
1479
|
-
function
|
1502
|
+
function si(e) {
|
1480
1503
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1481
1504
|
var i = n[r];
|
1482
1505
|
switch (i.stem) {
|
@@ -1500,7 +1523,7 @@ function ri(e) {
|
|
1500
1523
|
continue;
|
1501
1524
|
case "measure-unit":
|
1502
1525
|
case "unit":
|
1503
|
-
t.style = "unit", t.unit =
|
1526
|
+
t.style = "unit", t.unit = ri(i.options[0]);
|
1504
1527
|
continue;
|
1505
1528
|
case "compact-short":
|
1506
1529
|
case "K":
|
@@ -1512,12 +1535,12 @@ function ri(e) {
|
|
1512
1535
|
continue;
|
1513
1536
|
case "scientific":
|
1514
1537
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1515
|
-
return v(v({}, h),
|
1538
|
+
return v(v({}, h), It(u));
|
1516
1539
|
}, {}));
|
1517
1540
|
continue;
|
1518
1541
|
case "engineering":
|
1519
1542
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1520
|
-
return v(v({}, h),
|
1543
|
+
return v(v({}, h), It(u));
|
1521
1544
|
}, {}));
|
1522
1545
|
continue;
|
1523
1546
|
case "notation-simple":
|
@@ -1562,7 +1585,7 @@ function ri(e) {
|
|
1562
1585
|
case "integer-width":
|
1563
1586
|
if (i.options.length > 1)
|
1564
1587
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1565
|
-
i.options[0].replace(
|
1588
|
+
i.options[0].replace(ni, function(h, u, l, m, c, d) {
|
1566
1589
|
if (u)
|
1567
1590
|
t.minimumIntegerDigits = l.length;
|
1568
1591
|
else {
|
@@ -1575,27 +1598,27 @@ function ri(e) {
|
|
1575
1598
|
});
|
1576
1599
|
continue;
|
1577
1600
|
}
|
1578
|
-
if (
|
1601
|
+
if (yr.test(i.stem)) {
|
1579
1602
|
t.minimumIntegerDigits = i.stem.length;
|
1580
1603
|
continue;
|
1581
1604
|
}
|
1582
|
-
if (
|
1605
|
+
if (Ot.test(i.stem)) {
|
1583
1606
|
if (i.options.length > 1)
|
1584
1607
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1585
|
-
i.stem.replace(
|
1608
|
+
i.stem.replace(Ot, function(h, u, l, m, c, d) {
|
1586
1609
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1587
1610
|
});
|
1588
1611
|
var s = i.options[0];
|
1589
|
-
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t),
|
1612
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Lt(s)));
|
1590
1613
|
continue;
|
1591
1614
|
}
|
1592
|
-
if (
|
1593
|
-
t = v(v({}, t),
|
1615
|
+
if (gr.test(i.stem)) {
|
1616
|
+
t = v(v({}, t), Lt(i.stem));
|
1594
1617
|
continue;
|
1595
1618
|
}
|
1596
|
-
var o =
|
1619
|
+
var o = vr(i.stem);
|
1597
1620
|
o && (t = v(v({}, t), o));
|
1598
|
-
var a =
|
1621
|
+
var a = ii(i.stem);
|
1599
1622
|
a && (t = v(v({}, t), a));
|
1600
1623
|
}
|
1601
1624
|
return t;
|
@@ -3015,13 +3038,13 @@ var ve = {
|
|
3015
3038
|
"h"
|
3016
3039
|
]
|
3017
3040
|
};
|
3018
|
-
function
|
3041
|
+
function oi(e, t) {
|
3019
3042
|
for (var r = "", n = 0; n < e.length; n++) {
|
3020
3043
|
var i = e.charAt(n);
|
3021
3044
|
if (i === "j") {
|
3022
3045
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3023
3046
|
s++, n++;
|
3024
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3047
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ai(t);
|
3025
3048
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3026
3049
|
r += h;
|
3027
3050
|
for (; o-- > 0; )
|
@@ -3031,7 +3054,7 @@ function ni(e, t) {
|
|
3031
3054
|
}
|
3032
3055
|
return r;
|
3033
3056
|
}
|
3034
|
-
function
|
3057
|
+
function ai(e) {
|
3035
3058
|
var t = e.hourCycle;
|
3036
3059
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3037
3060
|
e.hourCycles && // @ts-ignore
|
@@ -3053,20 +3076,20 @@ function ii(e) {
|
|
3053
3076
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
3054
3077
|
return i[0];
|
3055
3078
|
}
|
3056
|
-
var
|
3079
|
+
var De, ui = new RegExp("^".concat(pr.source, "*")), hi = new RegExp("".concat(pr.source, "*$"));
|
3057
3080
|
function g(e, t) {
|
3058
3081
|
return { start: e, end: t };
|
3059
3082
|
}
|
3060
|
-
var
|
3083
|
+
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, gi = pi ? Number.isSafeInteger : function(e) {
|
3061
3084
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3062
|
-
},
|
3085
|
+
}, qe = !0;
|
3063
3086
|
try {
|
3064
|
-
var
|
3065
|
-
|
3087
|
+
var yi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3088
|
+
qe = ((De = yi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
3066
3089
|
} catch (e) {
|
3067
|
-
|
3090
|
+
qe = !1;
|
3068
3091
|
}
|
3069
|
-
var
|
3092
|
+
var Ct = li ? (
|
3070
3093
|
// Native
|
3071
3094
|
function(t, r, n) {
|
3072
3095
|
return t.startsWith(r, n);
|
@@ -3076,7 +3099,7 @@ var Ot = ai ? (
|
|
3076
3099
|
function(t, r, n) {
|
3077
3100
|
return t.slice(n, n + r.length) === r;
|
3078
3101
|
}
|
3079
|
-
),
|
3102
|
+
), Je = ci ? String.fromCodePoint : (
|
3080
3103
|
// IE11
|
3081
3104
|
function() {
|
3082
3105
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3088,9 +3111,9 @@ var Ot = ai ? (
|
|
3088
3111
|
}
|
3089
3112
|
return n;
|
3090
3113
|
}
|
3091
|
-
),
|
3114
|
+
), Mt = (
|
3092
3115
|
// native
|
3093
|
-
|
3116
|
+
fi ? Object.fromEntries : (
|
3094
3117
|
// Ponyfill
|
3095
3118
|
function(t) {
|
3096
3119
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3100,7 +3123,7 @@ var Ot = ai ? (
|
|
3100
3123
|
return r;
|
3101
3124
|
}
|
3102
3125
|
)
|
3103
|
-
),
|
3126
|
+
), Er = mi ? (
|
3104
3127
|
// Native
|
3105
3128
|
function(t, r) {
|
3106
3129
|
return t.codePointAt(r);
|
@@ -3114,7 +3137,7 @@ var Ot = ai ? (
|
|
3114
3137
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3115
3138
|
}
|
3116
3139
|
}
|
3117
|
-
),
|
3140
|
+
), vi = di ? (
|
3118
3141
|
// Native
|
3119
3142
|
function(t) {
|
3120
3143
|
return t.trimStart();
|
@@ -3122,9 +3145,9 @@ var Ot = ai ? (
|
|
3122
3145
|
) : (
|
3123
3146
|
// Ponyfill
|
3124
3147
|
function(t) {
|
3125
|
-
return t.replace(
|
3148
|
+
return t.replace(ui, "");
|
3126
3149
|
}
|
3127
|
-
),
|
3150
|
+
), Ei = bi ? (
|
3128
3151
|
// Native
|
3129
3152
|
function(t) {
|
3130
3153
|
return t.trimEnd();
|
@@ -3132,32 +3155,32 @@ var Ot = ai ? (
|
|
3132
3155
|
) : (
|
3133
3156
|
// Ponyfill
|
3134
3157
|
function(t) {
|
3135
|
-
return t.replace(
|
3158
|
+
return t.replace(hi, "");
|
3136
3159
|
}
|
3137
3160
|
);
|
3138
|
-
function
|
3161
|
+
function _r(e, t) {
|
3139
3162
|
return new RegExp(e, t);
|
3140
3163
|
}
|
3141
|
-
var
|
3142
|
-
if (
|
3143
|
-
var
|
3144
|
-
|
3164
|
+
var Ke;
|
3165
|
+
if (qe) {
|
3166
|
+
var Rt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3167
|
+
Ke = function(t, r) {
|
3145
3168
|
var n;
|
3146
|
-
|
3147
|
-
var i =
|
3169
|
+
Rt.lastIndex = r;
|
3170
|
+
var i = Rt.exec(t);
|
3148
3171
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3149
3172
|
};
|
3150
3173
|
} else
|
3151
|
-
|
3174
|
+
Ke = function(t, r) {
|
3152
3175
|
for (var n = []; ; ) {
|
3153
|
-
var i =
|
3154
|
-
if (i === void 0 ||
|
3176
|
+
var i = Er(t, r);
|
3177
|
+
if (i === void 0 || xr(i) || wi(i))
|
3155
3178
|
break;
|
3156
3179
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3157
3180
|
}
|
3158
|
-
return
|
3181
|
+
return Je.apply(void 0, n);
|
3159
3182
|
};
|
3160
|
-
var
|
3183
|
+
var _i = (
|
3161
3184
|
/** @class */
|
3162
3185
|
function() {
|
3163
3186
|
function e(t, r) {
|
@@ -3188,7 +3211,7 @@ var yi = (
|
|
3188
3211
|
if (n)
|
3189
3212
|
break;
|
3190
3213
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3191
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3214
|
+
} else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
3192
3215
|
var o = this.parseTag(t, r);
|
3193
3216
|
if (o.err)
|
3194
3217
|
return o;
|
@@ -3221,7 +3244,7 @@ var yi = (
|
|
3221
3244
|
return s;
|
3222
3245
|
var o = s.val, a = this.clonePosition();
|
3223
3246
|
if (this.bumpIf("</")) {
|
3224
|
-
if (this.isEOF() || !
|
3247
|
+
if (this.isEOF() || !et(this.char()))
|
3225
3248
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3226
3249
|
var h = this.clonePosition(), u = this.parseTagName();
|
3227
3250
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -3239,7 +3262,7 @@ var yi = (
|
|
3239
3262
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3240
3263
|
}, e.prototype.parseTagName = function() {
|
3241
3264
|
var t = this.offset();
|
3242
|
-
for (this.bump(); !this.isEOF() &&
|
3265
|
+
for (this.bump(); !this.isEOF() && Si(this.char()); )
|
3243
3266
|
this.bump();
|
3244
3267
|
return this.message.slice(t, this.offset());
|
3245
3268
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3268,7 +3291,7 @@ var yi = (
|
|
3268
3291
|
};
|
3269
3292
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3270
3293
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3271
|
-
!
|
3294
|
+
!xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3272
3295
|
}, e.prototype.tryParseQuote = function(t) {
|
3273
3296
|
if (this.isEOF() || this.char() !== 39)
|
3274
3297
|
return null;
|
@@ -3302,12 +3325,12 @@ var yi = (
|
|
3302
3325
|
r.push(n);
|
3303
3326
|
this.bump();
|
3304
3327
|
}
|
3305
|
-
return
|
3328
|
+
return Je.apply(void 0, r);
|
3306
3329
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3307
3330
|
if (this.isEOF())
|
3308
3331
|
return null;
|
3309
3332
|
var n = this.char();
|
3310
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3333
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
3311
3334
|
}, e.prototype.parseArgument = function(t, r) {
|
3312
3335
|
var n = this.clonePosition();
|
3313
3336
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3336,7 +3359,7 @@ var yi = (
|
|
3336
3359
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3337
3360
|
}
|
3338
3361
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3339
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3362
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
3340
3363
|
this.bumpTo(i);
|
3341
3364
|
var s = this.clonePosition(), o = g(t, s);
|
3342
3365
|
return { value: n, location: o };
|
@@ -3355,7 +3378,7 @@ var yi = (
|
|
3355
3378
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3356
3379
|
if (m.err)
|
3357
3380
|
return m;
|
3358
|
-
var c =
|
3381
|
+
var c = Ei(m.val);
|
3359
3382
|
if (c.length === 0)
|
3360
3383
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3361
3384
|
var d = g(l, this.clonePosition());
|
@@ -3365,8 +3388,8 @@ var yi = (
|
|
3365
3388
|
if (b.err)
|
3366
3389
|
return b;
|
3367
3390
|
var y = g(i, this.clonePosition());
|
3368
|
-
if (u &&
|
3369
|
-
var T =
|
3391
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
3392
|
+
var T = vi(u.style.slice(2));
|
3370
3393
|
if (a === "number") {
|
3371
3394
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3372
3395
|
return m.err ? m : {
|
@@ -3377,12 +3400,12 @@ var yi = (
|
|
3377
3400
|
if (T.length === 0)
|
3378
3401
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3379
3402
|
var C = T;
|
3380
|
-
this.locale && (C =
|
3403
|
+
this.locale && (C = oi(T, this.locale));
|
3381
3404
|
var c = {
|
3382
3405
|
type: ee.dateTime,
|
3383
3406
|
pattern: C,
|
3384
3407
|
location: u.styleLocation,
|
3385
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3408
|
+
parsedOptions: this.shouldParseSkeletons ? Kn(C) : {}
|
3386
3409
|
}, P = a === "date" ? x.date : x.time;
|
3387
3410
|
return {
|
3388
3411
|
val: { type: P, value: n, location: y, style: c },
|
@@ -3423,23 +3446,23 @@ var yi = (
|
|
3423
3446
|
var b = this.tryParseArgumentClose(i);
|
3424
3447
|
if (b.err)
|
3425
3448
|
return b;
|
3426
|
-
var
|
3449
|
+
var _ = g(i, this.clonePosition());
|
3427
3450
|
return a === "select" ? {
|
3428
3451
|
val: {
|
3429
3452
|
type: x.select,
|
3430
3453
|
value: n,
|
3431
|
-
options:
|
3432
|
-
location:
|
3454
|
+
options: Mt(R.val),
|
3455
|
+
location: _
|
3433
3456
|
},
|
3434
3457
|
err: null
|
3435
3458
|
} : {
|
3436
3459
|
val: {
|
3437
3460
|
type: x.plural,
|
3438
3461
|
value: n,
|
3439
|
-
options:
|
3462
|
+
options: Mt(R.val),
|
3440
3463
|
offset: O,
|
3441
3464
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3442
|
-
location:
|
3465
|
+
location: _
|
3443
3466
|
},
|
3444
3467
|
err: null
|
3445
3468
|
};
|
@@ -3487,7 +3510,7 @@ var yi = (
|
|
3487
3510
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3488
3511
|
var n = [];
|
3489
3512
|
try {
|
3490
|
-
n =
|
3513
|
+
n = ti(t);
|
3491
3514
|
} catch (i) {
|
3492
3515
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3493
3516
|
}
|
@@ -3496,7 +3519,7 @@ var yi = (
|
|
3496
3519
|
type: ee.number,
|
3497
3520
|
tokens: n,
|
3498
3521
|
location: r,
|
3499
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3522
|
+
parsedOptions: this.shouldParseSkeletons ? si(n) : {}
|
3500
3523
|
},
|
3501
3524
|
err: null
|
3502
3525
|
};
|
@@ -3544,7 +3567,7 @@ var yi = (
|
|
3544
3567
|
break;
|
3545
3568
|
}
|
3546
3569
|
var h = g(i, this.clonePosition());
|
3547
|
-
return s ? (o *= n,
|
3570
|
+
return s ? (o *= n, gi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3548
3571
|
}, e.prototype.offset = function() {
|
3549
3572
|
return this.position.offset;
|
3550
3573
|
}, e.prototype.isEOF = function() {
|
@@ -3559,7 +3582,7 @@ var yi = (
|
|
3559
3582
|
var t = this.position.offset;
|
3560
3583
|
if (t >= this.message.length)
|
3561
3584
|
throw Error("out of bound");
|
3562
|
-
var r =
|
3585
|
+
var r = Er(this.message, t);
|
3563
3586
|
if (r === void 0)
|
3564
3587
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3565
3588
|
return r;
|
@@ -3578,7 +3601,7 @@ var yi = (
|
|
3578
3601
|
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);
|
3579
3602
|
}
|
3580
3603
|
}, e.prototype.bumpIf = function(t) {
|
3581
|
-
if (
|
3604
|
+
if (Ct(this.message, t, this.offset())) {
|
3582
3605
|
for (var r = 0; r < t.length; r++)
|
3583
3606
|
this.bump();
|
3584
3607
|
return !0;
|
@@ -3600,7 +3623,7 @@ var yi = (
|
|
3600
3623
|
break;
|
3601
3624
|
}
|
3602
3625
|
}, e.prototype.bumpSpace = function() {
|
3603
|
-
for (; !this.isEOF() &&
|
3626
|
+
for (; !this.isEOF() && xr(this.char()); )
|
3604
3627
|
this.bump();
|
3605
3628
|
}, e.prototype.peek = function() {
|
3606
3629
|
if (this.isEOF())
|
@@ -3610,44 +3633,44 @@ var yi = (
|
|
3610
3633
|
}, e;
|
3611
3634
|
}()
|
3612
3635
|
);
|
3613
|
-
function
|
3636
|
+
function et(e) {
|
3614
3637
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3615
3638
|
}
|
3616
|
-
function
|
3617
|
-
return
|
3639
|
+
function xi(e) {
|
3640
|
+
return et(e) || e === 47;
|
3618
3641
|
}
|
3619
|
-
function
|
3642
|
+
function Si(e) {
|
3620
3643
|
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;
|
3621
3644
|
}
|
3622
|
-
function
|
3645
|
+
function xr(e) {
|
3623
3646
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3624
3647
|
}
|
3625
|
-
function
|
3648
|
+
function wi(e) {
|
3626
3649
|
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;
|
3627
3650
|
}
|
3628
|
-
function
|
3651
|
+
function tt(e) {
|
3629
3652
|
e.forEach(function(t) {
|
3630
|
-
if (delete t.location,
|
3653
|
+
if (delete t.location, fr(t) || mr(t))
|
3631
3654
|
for (var r in t.options)
|
3632
|
-
delete t.options[r].location,
|
3655
|
+
delete t.options[r].location, tt(t.options[r].value);
|
3633
3656
|
else
|
3634
|
-
|
3657
|
+
hr(t) && br(t.style) || (lr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : dr(t) && tt(t.children);
|
3635
3658
|
});
|
3636
3659
|
}
|
3637
|
-
function
|
3660
|
+
function Ti(e, t) {
|
3638
3661
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3639
|
-
var r = new
|
3662
|
+
var r = new _i(e, t).parse();
|
3640
3663
|
if (r.err) {
|
3641
3664
|
var n = SyntaxError(p[r.err.kind]);
|
3642
3665
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3643
3666
|
}
|
3644
|
-
return t != null && t.captureLocation ||
|
3667
|
+
return t != null && t.captureLocation || tt(r.val), r.val;
|
3645
3668
|
}
|
3646
3669
|
var te;
|
3647
3670
|
(function(e) {
|
3648
3671
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3649
3672
|
})(te || (te = {}));
|
3650
|
-
var
|
3673
|
+
var Ae = (
|
3651
3674
|
/** @class */
|
3652
3675
|
function(e) {
|
3653
3676
|
D(t, e);
|
@@ -3659,7 +3682,7 @@ var Be = (
|
|
3659
3682
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3660
3683
|
}, t;
|
3661
3684
|
}(Error)
|
3662
|
-
),
|
3685
|
+
), Gt = (
|
3663
3686
|
/** @class */
|
3664
3687
|
function(e) {
|
3665
3688
|
D(t, e);
|
@@ -3667,8 +3690,8 @@ var Be = (
|
|
3667
3690
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
|
3668
3691
|
}
|
3669
3692
|
return t;
|
3670
|
-
}(
|
3671
|
-
),
|
3693
|
+
}(Ae)
|
3694
|
+
), Hi = (
|
3672
3695
|
/** @class */
|
3673
3696
|
function(e) {
|
3674
3697
|
D(t, e);
|
@@ -3676,8 +3699,8 @@ var Be = (
|
|
3676
3699
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
3677
3700
|
}
|
3678
3701
|
return t;
|
3679
|
-
}(
|
3680
|
-
),
|
3702
|
+
}(Ae)
|
3703
|
+
), Bi = (
|
3681
3704
|
/** @class */
|
3682
3705
|
function(e) {
|
3683
3706
|
D(t, e);
|
@@ -3685,22 +3708,22 @@ var Be = (
|
|
3685
3708
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
3686
3709
|
}
|
3687
3710
|
return t;
|
3688
|
-
}(
|
3711
|
+
}(Ae)
|
3689
3712
|
), H;
|
3690
3713
|
(function(e) {
|
3691
3714
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3692
3715
|
})(H || (H = {}));
|
3693
|
-
function
|
3716
|
+
function Ai(e) {
|
3694
3717
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3695
3718
|
var n = t[t.length - 1];
|
3696
3719
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3697
3720
|
}, []);
|
3698
3721
|
}
|
3699
|
-
function
|
3722
|
+
function Pi(e) {
|
3700
3723
|
return typeof e == "function";
|
3701
3724
|
}
|
3702
3725
|
function xe(e, t, r, n, i, s, o) {
|
3703
|
-
if (e.length === 1 &&
|
3726
|
+
if (e.length === 1 && Nt(e[0]))
|
3704
3727
|
return [
|
3705
3728
|
{
|
3706
3729
|
type: H.literal,
|
@@ -3709,14 +3732,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
3709
3732
|
];
|
3710
3733
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3711
3734
|
var l = u[h];
|
3712
|
-
if (
|
3735
|
+
if (Nt(l)) {
|
3713
3736
|
a.push({
|
3714
3737
|
type: H.literal,
|
3715
3738
|
value: l.value
|
3716
3739
|
});
|
3717
3740
|
continue;
|
3718
3741
|
}
|
3719
|
-
if (
|
3742
|
+
if (qn(l)) {
|
3720
3743
|
typeof s == "number" && a.push({
|
3721
3744
|
type: H.literal,
|
3722
3745
|
value: r.getNumberFormat(t).format(s)
|
@@ -3725,43 +3748,43 @@ function xe(e, t, r, n, i, s, o) {
|
|
3725
3748
|
}
|
3726
3749
|
var m = l.value;
|
3727
3750
|
if (!(i && m in i))
|
3728
|
-
throw new
|
3751
|
+
throw new Bi(m, o);
|
3729
3752
|
var c = i[m];
|
3730
|
-
if (
|
3753
|
+
if (Yn(l)) {
|
3731
3754
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3732
3755
|
type: typeof c == "string" ? H.literal : H.object,
|
3733
3756
|
value: c
|
3734
3757
|
});
|
3735
3758
|
continue;
|
3736
3759
|
}
|
3737
|
-
if (
|
3738
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3760
|
+
if (lr(l)) {
|
3761
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
|
3739
3762
|
a.push({
|
3740
3763
|
type: H.literal,
|
3741
3764
|
value: r.getDateTimeFormat(t, d).format(c)
|
3742
3765
|
});
|
3743
3766
|
continue;
|
3744
3767
|
}
|
3745
|
-
if (
|
3746
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3768
|
+
if (cr(l)) {
|
3769
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
|
3747
3770
|
a.push({
|
3748
3771
|
type: H.literal,
|
3749
3772
|
value: r.getDateTimeFormat(t, d).format(c)
|
3750
3773
|
});
|
3751
3774
|
continue;
|
3752
3775
|
}
|
3753
|
-
if (
|
3754
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3776
|
+
if (hr(l)) {
|
3777
|
+
var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
|
3755
3778
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3756
3779
|
type: H.literal,
|
3757
3780
|
value: r.getNumberFormat(t, d).format(c)
|
3758
3781
|
});
|
3759
3782
|
continue;
|
3760
3783
|
}
|
3761
|
-
if (
|
3784
|
+
if (dr(l)) {
|
3762
3785
|
var b = l.children, y = l.value, T = i[y];
|
3763
|
-
if (!
|
3764
|
-
throw new
|
3786
|
+
if (!Pi(T))
|
3787
|
+
throw new Hi(y, "function", o);
|
3765
3788
|
var C = xe(b, t, r, n, i, s), P = T(C.map(function(O) {
|
3766
3789
|
return O.value;
|
3767
3790
|
}));
|
@@ -3772,42 +3795,42 @@ function xe(e, t, r, n, i, s, o) {
|
|
3772
3795
|
};
|
3773
3796
|
}));
|
3774
3797
|
}
|
3775
|
-
if (
|
3798
|
+
if (fr(l)) {
|
3776
3799
|
var w = l.options[c] || l.options.other;
|
3777
3800
|
if (!w)
|
3778
|
-
throw new
|
3801
|
+
throw new Gt(l.value, c, Object.keys(l.options), o);
|
3779
3802
|
a.push.apply(a, xe(w.value, t, r, n, i));
|
3780
3803
|
continue;
|
3781
3804
|
}
|
3782
|
-
if (
|
3805
|
+
if (mr(l)) {
|
3783
3806
|
var w = l.options["=".concat(c)];
|
3784
3807
|
if (!w) {
|
3785
3808
|
if (!Intl.PluralRules)
|
3786
|
-
throw new
|
3809
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
3787
3810
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3788
3811
|
`, te.MISSING_INTL_API, o);
|
3789
3812
|
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3790
3813
|
w = l.options[N] || l.options.other;
|
3791
3814
|
}
|
3792
3815
|
if (!w)
|
3793
|
-
throw new
|
3816
|
+
throw new Gt(l.value, c, Object.keys(l.options), o);
|
3794
3817
|
a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
|
3795
3818
|
continue;
|
3796
3819
|
}
|
3797
3820
|
}
|
3798
|
-
return
|
3821
|
+
return Ai(a);
|
3799
3822
|
}
|
3800
|
-
function
|
3823
|
+
function Ni(e, t) {
|
3801
3824
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3802
3825
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
3803
3826
|
}, {})) : e;
|
3804
3827
|
}
|
3805
|
-
function
|
3828
|
+
function Oi(e, t) {
|
3806
3829
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3807
|
-
return r[n] =
|
3830
|
+
return r[n] = Ni(e[n], t[n]), r;
|
3808
3831
|
}, v({}, e)) : e;
|
3809
3832
|
}
|
3810
|
-
function
|
3833
|
+
function Fe(e) {
|
3811
3834
|
return {
|
3812
3835
|
create: function() {
|
3813
3836
|
return {
|
@@ -3821,39 +3844,39 @@ function De(e) {
|
|
3821
3844
|
}
|
3822
3845
|
};
|
3823
3846
|
}
|
3824
|
-
function
|
3847
|
+
function Li(e) {
|
3825
3848
|
return e === void 0 && (e = {
|
3826
3849
|
number: {},
|
3827
3850
|
dateTime: {},
|
3828
3851
|
pluralRules: {}
|
3829
3852
|
}), {
|
3830
|
-
getNumberFormat:
|
3853
|
+
getNumberFormat: Ge(function() {
|
3831
3854
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3832
3855
|
r[n] = arguments[n];
|
3833
3856
|
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
3834
3857
|
}, {
|
3835
|
-
cache:
|
3836
|
-
strategy:
|
3858
|
+
cache: Fe(e.number),
|
3859
|
+
strategy: Ue.variadic
|
3837
3860
|
}),
|
3838
|
-
getDateTimeFormat:
|
3861
|
+
getDateTimeFormat: Ge(function() {
|
3839
3862
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3840
3863
|
r[n] = arguments[n];
|
3841
3864
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
3842
3865
|
}, {
|
3843
|
-
cache:
|
3844
|
-
strategy:
|
3866
|
+
cache: Fe(e.dateTime),
|
3867
|
+
strategy: Ue.variadic
|
3845
3868
|
}),
|
3846
|
-
getPluralRules:
|
3869
|
+
getPluralRules: Ge(function() {
|
3847
3870
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3848
3871
|
r[n] = arguments[n];
|
3849
3872
|
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
3850
3873
|
}, {
|
3851
|
-
cache:
|
3852
|
-
strategy:
|
3874
|
+
cache: Fe(e.pluralRules),
|
3875
|
+
strategy: Ue.variadic
|
3853
3876
|
})
|
3854
3877
|
};
|
3855
3878
|
}
|
3856
|
-
var
|
3879
|
+
var Ii = (
|
3857
3880
|
/** @class */
|
3858
3881
|
function() {
|
3859
3882
|
function e(t, r, n, i) {
|
@@ -3885,13 +3908,13 @@ var Ni = (
|
|
3885
3908
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3886
3909
|
var o = i || {};
|
3887
3910
|
o.formatters;
|
3888
|
-
var a =
|
3911
|
+
var a = fn(o, ["formatters"]);
|
3889
3912
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
3890
3913
|
} else
|
3891
3914
|
this.ast = t;
|
3892
3915
|
if (!Array.isArray(this.ast))
|
3893
3916
|
throw new TypeError("A message must be provided as a String or AST.");
|
3894
|
-
this.formats =
|
3917
|
+
this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
|
3895
3918
|
}
|
3896
3919
|
return Object.defineProperty(e, "defaultLocale", {
|
3897
3920
|
get: function() {
|
@@ -3904,7 +3927,7 @@ var Ni = (
|
|
3904
3927
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3905
3928
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3906
3929
|
}
|
3907
|
-
}, e.__parse =
|
3930
|
+
}, e.__parse = Ti, e.formats = {
|
3908
3931
|
number: {
|
3909
3932
|
integer: {
|
3910
3933
|
maximumFractionDigits: 0
|
@@ -3965,7 +3988,7 @@ var Ni = (
|
|
3965
3988
|
}, e;
|
3966
3989
|
}()
|
3967
3990
|
);
|
3968
|
-
function
|
3991
|
+
function Ci(e, t) {
|
3969
3992
|
if (t == null)
|
3970
3993
|
return;
|
3971
3994
|
if (t in e)
|
@@ -3986,92 +4009,92 @@ function Oi(e, t) {
|
|
3986
4009
|
n = void 0;
|
3987
4010
|
return n;
|
3988
4011
|
}
|
3989
|
-
const F = {},
|
4012
|
+
const F = {}, Mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Sr = (e, t) => {
|
3990
4013
|
if (t == null)
|
3991
4014
|
return;
|
3992
4015
|
if (t in F && e in F[t])
|
3993
4016
|
return F[t][e];
|
3994
4017
|
const r = Pe(t);
|
3995
4018
|
for (let n = 0; n < r.length; n++) {
|
3996
|
-
const i = r[n], s =
|
4019
|
+
const i = r[n], s = Gi(i, e);
|
3997
4020
|
if (s)
|
3998
|
-
return
|
4021
|
+
return Mi(e, t, s);
|
3999
4022
|
}
|
4000
4023
|
};
|
4001
|
-
let
|
4002
|
-
const de =
|
4003
|
-
function
|
4004
|
-
return
|
4024
|
+
let ut;
|
4025
|
+
const de = Be({});
|
4026
|
+
function Ri(e) {
|
4027
|
+
return ut[e] || null;
|
4005
4028
|
}
|
4006
|
-
function
|
4007
|
-
return e in
|
4029
|
+
function wr(e) {
|
4030
|
+
return e in ut;
|
4008
4031
|
}
|
4009
|
-
function
|
4010
|
-
if (!
|
4032
|
+
function Gi(e, t) {
|
4033
|
+
if (!wr(e))
|
4011
4034
|
return null;
|
4012
|
-
const r =
|
4013
|
-
return
|
4035
|
+
const r = Ri(e);
|
4036
|
+
return Ci(r, t);
|
4014
4037
|
}
|
4015
|
-
function
|
4038
|
+
function Ui(e) {
|
4016
4039
|
if (e == null)
|
4017
4040
|
return;
|
4018
4041
|
const t = Pe(e);
|
4019
4042
|
for (let r = 0; r < t.length; r++) {
|
4020
4043
|
const n = t[r];
|
4021
|
-
if (
|
4044
|
+
if (wr(n))
|
4022
4045
|
return n;
|
4023
4046
|
}
|
4024
4047
|
}
|
4025
|
-
function
|
4026
|
-
delete F[e], de.update((r) => (r[e] =
|
4048
|
+
function Tr(e, ...t) {
|
4049
|
+
delete F[e], de.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
|
4027
4050
|
}
|
4028
4051
|
se(
|
4029
4052
|
[de],
|
4030
4053
|
([e]) => Object.keys(e)
|
4031
4054
|
);
|
4032
|
-
de.subscribe((e) =>
|
4055
|
+
de.subscribe((e) => ut = e);
|
4033
4056
|
const Se = {};
|
4034
|
-
function
|
4057
|
+
function Di(e, t) {
|
4035
4058
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
4036
4059
|
}
|
4037
|
-
function
|
4060
|
+
function Hr(e) {
|
4038
4061
|
return Se[e];
|
4039
4062
|
}
|
4040
|
-
function
|
4063
|
+
function Fi(e) {
|
4041
4064
|
return Pe(e).map((t) => {
|
4042
|
-
const r =
|
4065
|
+
const r = Hr(t);
|
4043
4066
|
return [t, r ? [...r] : []];
|
4044
4067
|
}).filter(([, t]) => t.length > 0);
|
4045
4068
|
}
|
4046
|
-
function
|
4069
|
+
function rt(e) {
|
4047
4070
|
return e == null ? !1 : Pe(e).some(
|
4048
4071
|
(t) => {
|
4049
4072
|
var r;
|
4050
|
-
return (r =
|
4073
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
4051
4074
|
}
|
4052
4075
|
);
|
4053
4076
|
}
|
4054
|
-
function
|
4077
|
+
function $i(e, t) {
|
4055
4078
|
return Promise.all(
|
4056
|
-
t.map((n) => (
|
4057
|
-
).then((n) =>
|
4079
|
+
t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
|
4080
|
+
).then((n) => Tr(e, ...n));
|
4058
4081
|
}
|
4059
4082
|
const ae = {};
|
4060
|
-
function
|
4061
|
-
if (!
|
4083
|
+
function Br(e) {
|
4084
|
+
if (!rt(e))
|
4062
4085
|
return e in ae ? ae[e] : Promise.resolve();
|
4063
|
-
const t =
|
4086
|
+
const t = Fi(e);
|
4064
4087
|
return ae[e] = Promise.all(
|
4065
4088
|
t.map(
|
4066
|
-
([r, n]) =>
|
4089
|
+
([r, n]) => $i(r, n)
|
4067
4090
|
)
|
4068
4091
|
).then(() => {
|
4069
|
-
if (
|
4070
|
-
return
|
4092
|
+
if (rt(e))
|
4093
|
+
return Br(e);
|
4071
4094
|
delete ae[e];
|
4072
4095
|
}), ae[e];
|
4073
4096
|
}
|
4074
|
-
const
|
4097
|
+
const ji = {
|
4075
4098
|
number: {
|
4076
4099
|
scientific: { notation: "scientific" },
|
4077
4100
|
engineering: { notation: "engineering" },
|
@@ -4100,57 +4123,57 @@ const Di = {
|
|
4100
4123
|
timeZoneName: "short"
|
4101
4124
|
}
|
4102
4125
|
}
|
4103
|
-
},
|
4126
|
+
}, ki = {
|
4104
4127
|
fallbackLocale: null,
|
4105
4128
|
loadingDelay: 200,
|
4106
|
-
formats:
|
4129
|
+
formats: ji,
|
4107
4130
|
warnOnMissingMessages: !0,
|
4108
4131
|
handleMissingMessage: void 0,
|
4109
4132
|
ignoreTag: !0
|
4110
|
-
},
|
4133
|
+
}, Vi = ki;
|
4111
4134
|
function re() {
|
4112
|
-
return
|
4113
|
-
}
|
4114
|
-
const
|
4115
|
-
var
|
4116
|
-
for (var r in t)
|
4117
|
-
|
4118
|
-
if (
|
4119
|
-
for (var r of
|
4120
|
-
|
4135
|
+
return Vi;
|
4136
|
+
}
|
4137
|
+
const $e = Be(!1);
|
4138
|
+
var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
|
4139
|
+
for (var r in t || (t = {}))
|
4140
|
+
Zi.call(t, r) && Dt(e, r, t[r]);
|
4141
|
+
if (Ut)
|
4142
|
+
for (var r of Ut(t))
|
4143
|
+
Qi.call(t, r) && Dt(e, r, t[r]);
|
4121
4144
|
return e;
|
4122
|
-
},
|
4123
|
-
let
|
4124
|
-
const we =
|
4125
|
-
function
|
4145
|
+
}, qi = (e, t) => Wi(e, zi(t));
|
4146
|
+
let nt;
|
4147
|
+
const we = Be(null);
|
4148
|
+
function Ft(e) {
|
4126
4149
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4127
4150
|
}
|
4128
4151
|
function Pe(e, t = re().fallbackLocale) {
|
4129
|
-
const r =
|
4130
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4152
|
+
const r = Ft(e);
|
4153
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
|
4131
4154
|
}
|
4132
4155
|
function X() {
|
4133
|
-
return
|
4156
|
+
return nt != null ? nt : void 0;
|
4134
4157
|
}
|
4135
4158
|
we.subscribe((e) => {
|
4136
|
-
|
4159
|
+
nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4137
4160
|
});
|
4138
|
-
const
|
4139
|
-
if (e &&
|
4161
|
+
const Ji = (e) => {
|
4162
|
+
if (e && Ui(e) && rt(e)) {
|
4140
4163
|
const { loadingDelay: t } = re();
|
4141
4164
|
let r;
|
4142
4165
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
4143
|
-
() =>
|
4166
|
+
() => $e.set(!0),
|
4144
4167
|
t
|
4145
|
-
) :
|
4168
|
+
) : $e.set(!0), Br(e).then(() => {
|
4146
4169
|
we.set(e);
|
4147
4170
|
}).finally(() => {
|
4148
|
-
clearTimeout(r),
|
4171
|
+
clearTimeout(r), $e.set(!1);
|
4149
4172
|
});
|
4150
4173
|
}
|
4151
4174
|
return we.set(e);
|
4152
|
-
}, be =
|
4153
|
-
set:
|
4175
|
+
}, be = qi(Yi({}, we), {
|
4176
|
+
set: Ji
|
4154
4177
|
}), Ne = (e) => {
|
4155
4178
|
const t = /* @__PURE__ */ Object.create(null);
|
4156
4179
|
return (n) => {
|
@@ -4158,20 +4181,20 @@ const Qi = (e) => {
|
|
4158
4181
|
return i in t ? t[i] : t[i] = e(n);
|
4159
4182
|
};
|
4160
4183
|
};
|
4161
|
-
var
|
4184
|
+
var Ki = Object.defineProperty, Te = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
4162
4185
|
for (var r in t || (t = {}))
|
4163
|
-
|
4186
|
+
Ar.call(t, r) && $t(e, r, t[r]);
|
4164
4187
|
if (Te)
|
4165
4188
|
for (var r of Te(t))
|
4166
|
-
|
4189
|
+
Pr.call(t, r) && $t(e, r, t[r]);
|
4167
4190
|
return e;
|
4168
4191
|
}, oe = (e, t) => {
|
4169
4192
|
var r = {};
|
4170
4193
|
for (var n in e)
|
4171
|
-
|
4194
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4172
4195
|
if (e != null && Te)
|
4173
4196
|
for (var n of Te(e))
|
4174
|
-
t.indexOf(n) < 0 &&
|
4197
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
4175
4198
|
return r;
|
4176
4199
|
};
|
4177
4200
|
const ce = (e, t) => {
|
@@ -4179,21 +4202,21 @@ const ce = (e, t) => {
|
|
4179
4202
|
if (e in r && t in r[e])
|
4180
4203
|
return r[e][t];
|
4181
4204
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4182
|
-
},
|
4205
|
+
}, es = Ne(
|
4183
4206
|
(e) => {
|
4184
4207
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4185
4208
|
if (r == null)
|
4186
4209
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4187
4210
|
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
4188
4211
|
}
|
4189
|
-
),
|
4212
|
+
), ts = Ne(
|
4190
4213
|
(e) => {
|
4191
4214
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4192
4215
|
if (r == null)
|
4193
4216
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4194
4217
|
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
4195
4218
|
}
|
4196
|
-
),
|
4219
|
+
), rs = Ne(
|
4197
4220
|
(e) => {
|
4198
4221
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4199
4222
|
if (r == null)
|
@@ -4202,33 +4225,33 @@ const ce = (e, t) => {
|
|
4202
4225
|
);
|
4203
4226
|
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
4204
4227
|
}
|
4205
|
-
),
|
4228
|
+
), ns = (e = {}) => {
|
4206
4229
|
var t = e, {
|
4207
4230
|
locale: r = X()
|
4208
4231
|
} = t, n = oe(t, [
|
4209
4232
|
"locale"
|
4210
4233
|
]);
|
4211
|
-
return
|
4212
|
-
},
|
4234
|
+
return es(ht({ locale: r }, n));
|
4235
|
+
}, is = (e = {}) => {
|
4213
4236
|
var t = e, {
|
4214
4237
|
locale: r = X()
|
4215
4238
|
} = t, n = oe(t, [
|
4216
4239
|
"locale"
|
4217
4240
|
]);
|
4218
|
-
return
|
4219
|
-
},
|
4241
|
+
return ts(ht({ locale: r }, n));
|
4242
|
+
}, ss = (e = {}) => {
|
4220
4243
|
var t = e, {
|
4221
4244
|
locale: r = X()
|
4222
4245
|
} = t, n = oe(t, [
|
4223
4246
|
"locale"
|
4224
4247
|
]);
|
4225
|
-
return
|
4226
|
-
},
|
4248
|
+
return rs(ht({ locale: r }, n));
|
4249
|
+
}, os = Ne(
|
4227
4250
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4228
|
-
(e, t = X()) => new
|
4251
|
+
(e, t = X()) => new Ii(e, t, re().formats, {
|
4229
4252
|
ignoreTag: re().ignoreTag
|
4230
4253
|
})
|
4231
|
-
),
|
4254
|
+
), as = (e, t = {}) => {
|
4232
4255
|
var r, n, i, s;
|
4233
4256
|
let o = t;
|
4234
4257
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4241,7 +4264,7 @@ const ce = (e, t) => {
|
|
4241
4264
|
throw new Error(
|
4242
4265
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4243
4266
|
);
|
4244
|
-
let l =
|
4267
|
+
let l = Sr(e, h);
|
4245
4268
|
if (!l)
|
4246
4269
|
l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4247
4270
|
else if (typeof l != "string")
|
@@ -4252,7 +4275,7 @@ const ce = (e, t) => {
|
|
4252
4275
|
return l;
|
4253
4276
|
let m = l;
|
4254
4277
|
try {
|
4255
|
-
m =
|
4278
|
+
m = os(l, h).format(a);
|
4256
4279
|
} catch (c) {
|
4257
4280
|
c instanceof Error && console.warn(
|
4258
4281
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4260,20 +4283,20 @@ const ce = (e, t) => {
|
|
4260
4283
|
);
|
4261
4284
|
}
|
4262
4285
|
return m;
|
4263
|
-
},
|
4264
|
-
se([be], () =>
|
4265
|
-
se([be], () =>
|
4266
|
-
se([be], () =>
|
4267
|
-
se([be, de], () =>
|
4268
|
-
window.emWidgets = { topic:
|
4269
|
-
const
|
4270
|
-
function
|
4286
|
+
}, us = (e, t) => ss(t).format(e), hs = (e, t) => is(t).format(e), ls = (e, t) => ns(t).format(e), cs = (e, t = X()) => Sr(e, t), fs = se([be, de], () => as);
|
4287
|
+
se([be], () => us);
|
4288
|
+
se([be], () => hs);
|
4289
|
+
se([be], () => ls);
|
4290
|
+
se([be, de], () => cs);
|
4291
|
+
window.emWidgets = { topic: Hn };
|
4292
|
+
const ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4293
|
+
function ds(e, t) {
|
4271
4294
|
if (e) {
|
4272
4295
|
const r = document.createElement("style");
|
4273
4296
|
r.innerHTML = t, e.appendChild(r);
|
4274
4297
|
}
|
4275
4298
|
}
|
4276
|
-
function
|
4299
|
+
function bs(e, t) {
|
4277
4300
|
const r = new URL(t);
|
4278
4301
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4279
4302
|
const i = document.createElement("style");
|
@@ -4282,7 +4305,7 @@ function fs(e, t) {
|
|
4282
4305
|
console.error("There was an error while trying to load client styling from URL", n);
|
4283
4306
|
});
|
4284
4307
|
}
|
4285
|
-
function
|
4308
|
+
function ps(e, t, r) {
|
4286
4309
|
if (window.emMessageBus) {
|
4287
4310
|
const n = document.createElement("style");
|
4288
4311
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4290,10 +4313,10 @@ function ms(e, t, r) {
|
|
4290
4313
|
});
|
4291
4314
|
}
|
4292
4315
|
}
|
4293
|
-
function
|
4294
|
-
|
4316
|
+
function jt(e, t) {
|
4317
|
+
Tr(e, t);
|
4295
4318
|
}
|
4296
|
-
const
|
4319
|
+
const kt = {
|
4297
4320
|
en: {
|
4298
4321
|
lobbyName: "Lobby",
|
4299
4322
|
myGamesName: "My games"
|
@@ -4379,83 +4402,83 @@ if (typeof window != "undefined") {
|
|
4379
4402
|
}
|
4380
4403
|
};
|
4381
4404
|
};
|
4382
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4405
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-C-cgIoQZ.js").then(({ default: t }) => {
|
4383
4406
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4384
4407
|
});
|
4385
4408
|
}
|
4386
|
-
function
|
4387
|
-
|
4409
|
+
function gs(e) {
|
4410
|
+
zr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
4388
4411
|
}
|
4389
|
-
function
|
4412
|
+
function ys(e) {
|
4390
4413
|
let t, r;
|
4391
4414
|
return {
|
4392
4415
|
c() {
|
4393
|
-
t = V("div"), r = V("casino-slider"),
|
4416
|
+
t = V("div"), r = V("casino-slider"), E(
|
4394
4417
|
r,
|
4395
4418
|
"lang",
|
4396
4419
|
/*lang*/
|
4397
4420
|
e[3]
|
4398
|
-
),
|
4421
|
+
), E(
|
4399
4422
|
r,
|
4400
4423
|
"datasource",
|
4401
4424
|
/*datasource*/
|
4402
4425
|
e[2]
|
4403
|
-
),
|
4426
|
+
), E(
|
4404
4427
|
r,
|
4405
4428
|
"endpoint",
|
4406
4429
|
/*endpoint*/
|
4407
4430
|
e[1]
|
4408
|
-
),
|
4431
|
+
), E(r, "identity", it), E(
|
4409
4432
|
r,
|
4410
4433
|
"favoritesnumber",
|
4411
4434
|
/*numberOfFavoredGames*/
|
4412
4435
|
e[16]
|
4413
|
-
),
|
4436
|
+
), E(
|
4414
4437
|
r,
|
4415
4438
|
"showsubgroups",
|
4416
4439
|
/*showsubgroups*/
|
4417
4440
|
e[8]
|
4418
|
-
),
|
4441
|
+
), E(
|
4419
4442
|
r,
|
4420
4443
|
"clientstyling",
|
4421
4444
|
/*clientstyling*/
|
4422
4445
|
e[4]
|
4423
|
-
),
|
4446
|
+
), E(
|
4424
4447
|
r,
|
4425
4448
|
"clientstylingurl",
|
4426
4449
|
/*clientstylingurl*/
|
4427
4450
|
e[5]
|
4428
|
-
),
|
4451
|
+
), E(
|
4429
4452
|
r,
|
4430
4453
|
"mbsource",
|
4431
4454
|
/*mbsource*/
|
4432
4455
|
e[12]
|
4433
|
-
),
|
4456
|
+
), E(
|
4434
4457
|
r,
|
4435
4458
|
"activeindex",
|
4436
4459
|
/*activecategory*/
|
4437
4460
|
e[0]
|
4438
|
-
),
|
4461
|
+
), E(
|
4439
4462
|
r,
|
4440
4463
|
"actionevent",
|
4441
4464
|
/*actionevent*/
|
4442
4465
|
e[6]
|
4443
|
-
),
|
4466
|
+
), E(
|
4444
4467
|
r,
|
4445
4468
|
"location",
|
4446
4469
|
/*location*/
|
4447
4470
|
e[7]
|
4448
|
-
),
|
4471
|
+
), E(
|
4449
4472
|
r,
|
4450
4473
|
"categoriesicon",
|
4451
4474
|
/*categoriesicon*/
|
4452
4475
|
e[9]
|
4453
|
-
),
|
4476
|
+
), E(
|
4454
4477
|
r,
|
4455
4478
|
"lobbyiconimage",
|
4456
4479
|
/*lobbyiconimage*/
|
4457
4480
|
e[10]
|
4458
|
-
),
|
4481
|
+
), E(
|
4459
4482
|
r,
|
4460
4483
|
"mygamesiconimage",
|
4461
4484
|
/*mygamesiconimage*/
|
@@ -4463,89 +4486,89 @@ function bs(e) {
|
|
4463
4486
|
), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4464
4487
|
},
|
4465
4488
|
m(n, i) {
|
4466
|
-
fe(n, t, i),
|
4489
|
+
fe(n, t, i), zt(t, r);
|
4467
4490
|
},
|
4468
4491
|
p(n, i) {
|
4469
4492
|
i[0] & /*lang*/
|
4470
|
-
8 &&
|
4493
|
+
8 && E(
|
4471
4494
|
r,
|
4472
4495
|
"lang",
|
4473
4496
|
/*lang*/
|
4474
4497
|
n[3]
|
4475
4498
|
), i[0] & /*datasource*/
|
4476
|
-
4 &&
|
4499
|
+
4 && E(
|
4477
4500
|
r,
|
4478
4501
|
"datasource",
|
4479
4502
|
/*datasource*/
|
4480
4503
|
n[2]
|
4481
4504
|
), i[0] & /*endpoint*/
|
4482
|
-
2 &&
|
4505
|
+
2 && E(
|
4483
4506
|
r,
|
4484
4507
|
"endpoint",
|
4485
4508
|
/*endpoint*/
|
4486
4509
|
n[1]
|
4487
4510
|
), i[0] & /*numberOfFavoredGames*/
|
4488
|
-
65536 &&
|
4511
|
+
65536 && E(
|
4489
4512
|
r,
|
4490
4513
|
"favoritesnumber",
|
4491
4514
|
/*numberOfFavoredGames*/
|
4492
4515
|
n[16]
|
4493
4516
|
), i[0] & /*showsubgroups*/
|
4494
|
-
256 &&
|
4517
|
+
256 && E(
|
4495
4518
|
r,
|
4496
4519
|
"showsubgroups",
|
4497
4520
|
/*showsubgroups*/
|
4498
4521
|
n[8]
|
4499
4522
|
), i[0] & /*clientstyling*/
|
4500
|
-
16 &&
|
4523
|
+
16 && E(
|
4501
4524
|
r,
|
4502
4525
|
"clientstyling",
|
4503
4526
|
/*clientstyling*/
|
4504
4527
|
n[4]
|
4505
4528
|
), i[0] & /*clientstylingurl*/
|
4506
|
-
32 &&
|
4529
|
+
32 && E(
|
4507
4530
|
r,
|
4508
4531
|
"clientstylingurl",
|
4509
4532
|
/*clientstylingurl*/
|
4510
4533
|
n[5]
|
4511
4534
|
), i[0] & /*mbsource*/
|
4512
|
-
4096 &&
|
4535
|
+
4096 && E(
|
4513
4536
|
r,
|
4514
4537
|
"mbsource",
|
4515
4538
|
/*mbsource*/
|
4516
4539
|
n[12]
|
4517
4540
|
), i[0] & /*activecategory*/
|
4518
|
-
1 &&
|
4541
|
+
1 && E(
|
4519
4542
|
r,
|
4520
4543
|
"activeindex",
|
4521
4544
|
/*activecategory*/
|
4522
4545
|
n[0]
|
4523
4546
|
), i[0] & /*actionevent*/
|
4524
|
-
64 &&
|
4547
|
+
64 && E(
|
4525
4548
|
r,
|
4526
4549
|
"actionevent",
|
4527
4550
|
/*actionevent*/
|
4528
4551
|
n[6]
|
4529
4552
|
), i[0] & /*location*/
|
4530
|
-
128 &&
|
4553
|
+
128 && E(
|
4531
4554
|
r,
|
4532
4555
|
"location",
|
4533
4556
|
/*location*/
|
4534
4557
|
n[7]
|
4535
4558
|
), i[0] & /*categoriesicon*/
|
4536
|
-
512 &&
|
4559
|
+
512 && E(
|
4537
4560
|
r,
|
4538
4561
|
"categoriesicon",
|
4539
4562
|
/*categoriesicon*/
|
4540
4563
|
n[9]
|
4541
4564
|
), i[0] & /*lobbyiconimage*/
|
4542
|
-
1024 &&
|
4565
|
+
1024 && E(
|
4543
4566
|
r,
|
4544
4567
|
"lobbyiconimage",
|
4545
4568
|
/*lobbyiconimage*/
|
4546
4569
|
n[10]
|
4547
4570
|
), i[0] & /*mygamesiconimage*/
|
4548
|
-
2048 &&
|
4571
|
+
2048 && E(
|
4549
4572
|
r,
|
4550
4573
|
"mygamesiconimage",
|
4551
4574
|
/*mygamesiconimage*/
|
@@ -4557,7 +4580,7 @@ function bs(e) {
|
|
4557
4580
|
}
|
4558
4581
|
};
|
4559
4582
|
}
|
4560
|
-
function
|
4583
|
+
function vs(e) {
|
4561
4584
|
let t;
|
4562
4585
|
return {
|
4563
4586
|
c() {
|
@@ -4572,7 +4595,7 @@ function ps(e) {
|
|
4572
4595
|
}
|
4573
4596
|
};
|
4574
4597
|
}
|
4575
|
-
function
|
4598
|
+
function Es(e) {
|
4576
4599
|
let t;
|
4577
4600
|
return {
|
4578
4601
|
c() {
|
@@ -4587,14 +4610,14 @@ function gs(e) {
|
|
4587
4610
|
}
|
4588
4611
|
};
|
4589
4612
|
}
|
4590
|
-
function
|
4613
|
+
function _s(e) {
|
4591
4614
|
let t;
|
4592
4615
|
function r(s, o) {
|
4593
4616
|
return (
|
4594
4617
|
/*isLoading*/
|
4595
|
-
s[13] ||
|
4618
|
+
s[13] || xs || Ss ? Es : (
|
4596
4619
|
/*hasErrors*/
|
4597
|
-
s[15] ?
|
4620
|
+
s[15] ? vs : ys
|
4598
4621
|
)
|
4599
4622
|
);
|
4600
4623
|
}
|
@@ -4616,93 +4639,93 @@ function ys(e) {
|
|
4616
4639
|
}
|
4617
4640
|
};
|
4618
4641
|
}
|
4619
|
-
let
|
4620
|
-
function
|
4642
|
+
let it = "CasinoSliderData", xs = !1, Ss = !1;
|
4643
|
+
function ws(e, t, r) {
|
4621
4644
|
let n;
|
4622
|
-
|
4623
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage:
|
4624
|
-
const
|
4625
|
-
fetch(N).then((
|
4626
|
-
Object.keys(
|
4627
|
-
|
4645
|
+
Wr(e, fs, (f) => r(32, n = f));
|
4646
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: B } = t, L, $, lt, j = !0, W, z = [], k = !1, Or = window.navigator.userAgent, G, ct, ft = !1, Oe = !1;
|
4647
|
+
const Lr = () => {
|
4648
|
+
fetch(N).then((A) => A.json()).then((A) => {
|
4649
|
+
Object.keys(A).forEach((pe) => {
|
4650
|
+
jt(pe, A[pe]);
|
4628
4651
|
});
|
4629
|
-
}).catch((
|
4630
|
-
console.log(
|
4652
|
+
}).catch((A) => {
|
4653
|
+
console.log(A);
|
4631
4654
|
});
|
4632
4655
|
};
|
4633
|
-
Object.keys(
|
4634
|
-
|
4656
|
+
Object.keys(kt).forEach((f) => {
|
4657
|
+
jt(f, kt[f]);
|
4635
4658
|
});
|
4636
|
-
const
|
4637
|
-
|
4659
|
+
const Ir = () => {
|
4660
|
+
ft == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
4638
4661
|
// @ts-ignore
|
4639
4662
|
id: "MYGAMES",
|
4640
|
-
name:
|
4663
|
+
name: $,
|
4641
4664
|
href: "",
|
4642
4665
|
games: []
|
4643
|
-
}),
|
4644
|
-
},
|
4645
|
-
if (
|
4666
|
+
}), en(), ft = !0, r(25, Oe = !0), mt();
|
4667
|
+
}, Cr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
|
4668
|
+
if ($ = n("myGamesName"), lt = n("lobbyName"), !Cr()) {
|
4646
4669
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4647
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4648
|
-
(
|
4649
|
-
let pe = w.split(","),
|
4670
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ms(Or)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
|
4671
|
+
(A) => {
|
4672
|
+
let pe = w.split(","), Ur = A.items.filter((bt) => {
|
4650
4673
|
let Le = !1;
|
4651
|
-
if (
|
4652
|
-
for (let
|
4653
|
-
|
4674
|
+
if (bt.games.total > 0 && (Le = !0, w))
|
4675
|
+
for (let Dr of pe)
|
4676
|
+
bt.flags == Dr && (Le = !1);
|
4654
4677
|
return Le;
|
4655
4678
|
});
|
4656
|
-
z = [], z = z.concat(
|
4679
|
+
z = [], z = z.concat(Ur), z.unshift({
|
4657
4680
|
// @ts-ignore
|
4658
4681
|
id: "LOBBY",
|
4659
|
-
name:
|
4682
|
+
name: lt,
|
4660
4683
|
href: "",
|
4661
4684
|
games: []
|
4662
4685
|
}), r(13, j = !1);
|
4663
4686
|
},
|
4664
|
-
(
|
4665
|
-
r(15, k = !0), console.error("There was an error while fetching the categories",
|
4687
|
+
(A) => {
|
4688
|
+
r(15, k = !0), console.error("There was an error while fetching the categories", A);
|
4666
4689
|
}
|
4667
|
-
).catch((
|
4668
|
-
r(15, k = !0), console.error("There was an error while fetching the categories",
|
4690
|
+
).catch((A) => {
|
4691
|
+
r(15, k = !0), console.error("There was an error while fetching the categories", A);
|
4669
4692
|
});
|
4670
4693
|
}
|
4671
|
-
},
|
4694
|
+
}, Rr = () => {
|
4672
4695
|
let f = b.split("$");
|
4673
4696
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4674
|
-
},
|
4697
|
+
}, mt = () => {
|
4675
4698
|
window.postMessage(
|
4676
4699
|
{
|
4677
4700
|
type: "SliderData",
|
4678
|
-
identity:
|
4701
|
+
identity: it,
|
4679
4702
|
data: z
|
4680
4703
|
},
|
4681
4704
|
window.location.href
|
4682
4705
|
);
|
4683
|
-
},
|
4684
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4706
|
+
}, dt = (f) => {
|
4707
|
+
f.data && f.data.type == "SliderLoaded" && it == f.data.identity && mt();
|
4685
4708
|
};
|
4686
|
-
|
4687
|
-
window.removeEventListener("message",
|
4709
|
+
Kr(() => (window.addEventListener("message", dt, !1), () => {
|
4710
|
+
window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", dt);
|
4688
4711
|
}));
|
4689
|
-
function
|
4690
|
-
|
4712
|
+
function Gr(f) {
|
4713
|
+
je[f ? "unshift" : "push"](() => {
|
4691
4714
|
G = f, r(14, G);
|
4692
4715
|
});
|
4693
4716
|
}
|
4694
4717
|
return e.$$set = (f) => {
|
4695
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11,
|
4718
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
|
4696
4719
|
}, e.$$.update = () => {
|
4697
4720
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4698
|
-
14 && i && s && o &&
|
4699
|
-
3940354 && i && h && (u || l || m) && !j &&
|
4700
|
-
33824769 && !j && b && (!h || Oe) &&
|
4701
|
-
16777216 && N &&
|
4702
|
-
16400 && c && G &&
|
4703
|
-
16416 && d && G &&
|
4704
|
-
20480 && G &&
|
4705
|
-
}, r(16,
|
4721
|
+
14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4722
|
+
3940354 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4723
|
+
33824769 && !j && b && (!h || Oe) && Rr(), e.$$.dirty[0] & /*translationurl*/
|
4724
|
+
16777216 && N && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4725
|
+
16400 && c && G && ds(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4726
|
+
16416 && d && G && bs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4727
|
+
20480 && G && ps(G, `${B}.Style`);
|
4728
|
+
}, r(16, ct = 0), [
|
4706
4729
|
b,
|
4707
4730
|
i,
|
4708
4731
|
s,
|
@@ -4714,12 +4737,12 @@ function Es(e, t, r) {
|
|
4714
4737
|
P,
|
4715
4738
|
O,
|
4716
4739
|
R,
|
4717
|
-
|
4718
|
-
|
4740
|
+
_,
|
4741
|
+
B,
|
4719
4742
|
j,
|
4720
4743
|
G,
|
4721
4744
|
k,
|
4722
|
-
|
4745
|
+
ct,
|
4723
4746
|
a,
|
4724
4747
|
h,
|
4725
4748
|
u,
|
@@ -4729,17 +4752,17 @@ function Es(e, t, r) {
|
|
4729
4752
|
w,
|
4730
4753
|
N,
|
4731
4754
|
Oe,
|
4732
|
-
|
4755
|
+
Gr
|
4733
4756
|
];
|
4734
4757
|
}
|
4735
|
-
class
|
4758
|
+
class Nr extends ln {
|
4736
4759
|
constructor(t) {
|
4737
|
-
super(),
|
4760
|
+
super(), un(
|
4738
4761
|
this,
|
4739
4762
|
t,
|
4740
|
-
|
4741
|
-
|
4742
|
-
|
4763
|
+
ws,
|
4764
|
+
_s,
|
4765
|
+
Xt,
|
4743
4766
|
{
|
4744
4767
|
endpoint: 1,
|
4745
4768
|
datasource: 2,
|
@@ -4763,7 +4786,7 @@ class Hr extends on {
|
|
4763
4786
|
mygamesiconimage: 11,
|
4764
4787
|
mbsource: 12
|
4765
4788
|
},
|
4766
|
-
|
4789
|
+
gs,
|
4767
4790
|
[-1, -1]
|
4768
4791
|
);
|
4769
4792
|
}
|
@@ -4894,42 +4917,44 @@ class Hr extends on {
|
|
4894
4917
|
this.$$set({ mbsource: t }), S();
|
4895
4918
|
}
|
4896
4919
|
}
|
4897
|
-
|
4898
|
-
const
|
4920
|
+
hn(Nr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4921
|
+
const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4899
4922
|
__proto__: null,
|
4900
|
-
default:
|
4923
|
+
default: Nr
|
4901
4924
|
}, Symbol.toStringTag, { value: "Module" }));
|
4902
4925
|
export {
|
4903
4926
|
be as $,
|
4904
|
-
|
4905
|
-
|
4927
|
+
ds as A,
|
4928
|
+
Ms as B,
|
4906
4929
|
Bs as C,
|
4907
|
-
|
4908
|
-
|
4930
|
+
Zt as D,
|
4931
|
+
Ls as E,
|
4932
|
+
Gs as F,
|
4933
|
+
ln as S,
|
4909
4934
|
de as a,
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4935
|
+
Tr as b,
|
4936
|
+
hn as c,
|
4937
|
+
zr as d,
|
4913
4938
|
V as e,
|
4914
4939
|
S as f,
|
4915
|
-
|
4940
|
+
As as g,
|
4916
4941
|
me as h,
|
4917
|
-
|
4942
|
+
un as i,
|
4918
4943
|
fe as j,
|
4919
|
-
|
4920
|
-
|
4944
|
+
zt as k,
|
4945
|
+
Ns as l,
|
4921
4946
|
ie as m,
|
4922
4947
|
I as n,
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4948
|
+
Kr as o,
|
4949
|
+
Os as p,
|
4950
|
+
bs as q,
|
4926
4951
|
ne as r,
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
|
4952
|
+
Xt as s,
|
4953
|
+
ps as t,
|
4954
|
+
Cs as u,
|
4955
|
+
Ps as v,
|
4956
|
+
Rs as w,
|
4957
|
+
Hs as x,
|
4958
|
+
Is as y,
|
4959
|
+
je as z
|
4935
4960
|
};
|