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