@everymatrix/casino-categories-slider 1.67.0 → 1.67.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-Qhx13ZiU.js → CasinoCategoriesSlider-BWerxhh-.js} +815 -850
- package/components/{CasinoCategoriesSlider-DMC9CFDg.js → CasinoCategoriesSlider-lUQbmZn9.js} +856 -891
- package/components/{CasinoSlider-BCZsEGOH.js → CasinoSlider-C2dsDPpR.js} +32 -32
- package/components/{CasinoSlider-BViBOG_Y.cjs → CasinoSlider-CrbzADcf.cjs} +1 -1
- package/components/{CasinoSlider-4oZFStFQ.js → CasinoSlider-DoAKa6rO.js} +31 -31
- 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-Bd1R0RB0.cjs +0 -18
package/components/{CasinoCategoriesSlider-DMC9CFDg.js → CasinoCategoriesSlider-lUQbmZn9.js}
RENAMED
@@ -1,28 +1,28 @@
|
|
1
1
|
function I() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Mt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function ct() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function re(e) {
|
10
|
+
e.forEach(Mt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function rt(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Rt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let pe;
|
19
|
-
function
|
19
|
+
function cs(e, t) {
|
20
20
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Pr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Gt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -31,20 +31,20 @@ function Ft(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Nr(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(Gt(t, r));
|
36
36
|
}
|
37
|
-
function
|
37
|
+
function Ut(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
41
|
-
const n =
|
40
|
+
function Or(e, t, r) {
|
41
|
+
const n = Lr(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = k("style");
|
44
|
-
i.id = t, i.textContent = r,
|
44
|
+
i.id = t, i.textContent = r, Ir(n, i);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function Lr(e) {
|
48
48
|
if (!e)
|
49
49
|
return document;
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -54,53 +54,53 @@ function Rr(e) {
|
|
54
54
|
t
|
55
55
|
) : e.ownerDocument;
|
56
56
|
}
|
57
|
-
function
|
58
|
-
return
|
57
|
+
function Ir(e, t) {
|
58
|
+
return Ut(
|
59
59
|
/** @type {Document} */
|
60
60
|
e.head || e,
|
61
61
|
t
|
62
62
|
), t.sheet;
|
63
63
|
}
|
64
|
-
function
|
64
|
+
function ce(e, t, r) {
|
65
65
|
e.insertBefore(t, r || null);
|
66
66
|
}
|
67
|
-
function
|
67
|
+
function ne(e) {
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
69
69
|
}
|
70
|
-
function
|
70
|
+
function fs(e, t) {
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
72
72
|
e[r] && e[r].d(t);
|
73
73
|
}
|
74
74
|
function k(e) {
|
75
75
|
return document.createElement(e);
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function Dt(e) {
|
78
78
|
return document.createTextNode(e);
|
79
79
|
}
|
80
|
-
function
|
81
|
-
return
|
80
|
+
function ms() {
|
81
|
+
return Dt(" ");
|
82
82
|
}
|
83
|
-
function
|
84
|
-
return
|
83
|
+
function ds() {
|
84
|
+
return Dt("");
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function bs(e, t, r, n) {
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function fe(e, t, r) {
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function _(e, t, r) {
|
93
93
|
const n = t.toLowerCase();
|
94
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
94
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function Cr(e) {
|
97
97
|
return Array.from(e.childNodes);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function ps(e, t) {
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
101
101
|
t);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function Mr(e) {
|
104
104
|
const t = {};
|
105
105
|
return e.childNodes.forEach(
|
106
106
|
/** @param {Element} node */
|
@@ -109,123 +109,123 @@ function Dr(e) {
|
|
109
109
|
}
|
110
110
|
), t;
|
111
111
|
}
|
112
|
-
let
|
113
|
-
function
|
114
|
-
|
112
|
+
let ue;
|
113
|
+
function ae(e) {
|
114
|
+
ue = e;
|
115
115
|
}
|
116
|
-
function
|
117
|
-
if (!
|
116
|
+
function Rr() {
|
117
|
+
if (!ue)
|
118
118
|
throw new Error("Function called outside component initialization");
|
119
|
-
return
|
119
|
+
return ue;
|
120
120
|
}
|
121
|
-
function
|
122
|
-
|
121
|
+
function Gr(e) {
|
122
|
+
Rr().$$.on_mount.push(e);
|
123
123
|
}
|
124
|
-
const Q = [],
|
124
|
+
const Q = [], De = [];
|
125
125
|
let Y = [];
|
126
|
-
const
|
127
|
-
let
|
128
|
-
function
|
129
|
-
|
126
|
+
const ft = [], Ft = /* @__PURE__ */ Promise.resolve();
|
127
|
+
let Fe = !1;
|
128
|
+
function $t() {
|
129
|
+
Fe || (Fe = !0, Ft.then(S));
|
130
130
|
}
|
131
|
-
function
|
132
|
-
return
|
131
|
+
function Ur() {
|
132
|
+
return $t(), Ft;
|
133
133
|
}
|
134
|
-
function
|
134
|
+
function $e(e) {
|
135
135
|
Y.push(e);
|
136
136
|
}
|
137
|
-
const
|
137
|
+
const Le = /* @__PURE__ */ new Set();
|
138
138
|
let z = 0;
|
139
|
-
function
|
139
|
+
function S() {
|
140
140
|
if (z !== 0)
|
141
141
|
return;
|
142
|
-
const e =
|
142
|
+
const e = ue;
|
143
143
|
do {
|
144
144
|
try {
|
145
145
|
for (; z < Q.length; ) {
|
146
146
|
const t = Q[z];
|
147
|
-
z++,
|
147
|
+
z++, ae(t), Dr(t.$$);
|
148
148
|
}
|
149
149
|
} catch (t) {
|
150
150
|
throw Q.length = 0, z = 0, t;
|
151
151
|
}
|
152
|
-
for (
|
153
|
-
|
152
|
+
for (ae(null), Q.length = 0, z = 0; De.length; )
|
153
|
+
De.pop()();
|
154
154
|
for (let t = 0; t < Y.length; t += 1) {
|
155
155
|
const r = Y[t];
|
156
|
-
|
156
|
+
Le.has(r) || (Le.add(r), r());
|
157
157
|
}
|
158
158
|
Y.length = 0;
|
159
159
|
} while (Q.length);
|
160
|
-
for (;
|
161
|
-
|
162
|
-
|
160
|
+
for (; ft.length; )
|
161
|
+
ft.pop()();
|
162
|
+
Fe = !1, Le.clear(), ae(e);
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function Dr(e) {
|
165
165
|
if (e.fragment !== null) {
|
166
|
-
e.update(),
|
166
|
+
e.update(), re(e.before_update);
|
167
167
|
const t = e.dirty;
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
169
169
|
}
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function Fr(e) {
|
172
172
|
const t = [], r = [];
|
173
173
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
174
174
|
}
|
175
|
-
const
|
176
|
-
function
|
177
|
-
e && e.i && (
|
175
|
+
const $r = /* @__PURE__ */ new Set();
|
176
|
+
function jt(e, t) {
|
177
|
+
e && e.i && ($r.delete(e), e.i(t));
|
178
178
|
}
|
179
|
-
function
|
179
|
+
function gs(e) {
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
181
181
|
}
|
182
|
-
function
|
182
|
+
function ys(e, t) {
|
183
183
|
e.d(1), t.delete(e.key);
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function vs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
186
186
|
let c = e.length, d = s.length, b = c;
|
187
|
-
const
|
187
|
+
const y = {};
|
188
188
|
for (; b--; )
|
189
|
-
|
189
|
+
y[e[b].key] = b;
|
190
190
|
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
191
191
|
for (b = d; b--; ) {
|
192
|
-
const
|
192
|
+
const E = m(i, s, b), A = r(E);
|
193
193
|
let L = o.get(A);
|
194
|
-
L ? w.push(() => L.p(
|
194
|
+
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]));
|
195
195
|
}
|
196
|
-
const
|
197
|
-
function M(
|
198
|
-
|
196
|
+
const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
197
|
+
function M(E) {
|
198
|
+
jt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
|
199
199
|
}
|
200
200
|
for (; c && d; ) {
|
201
|
-
const
|
202
|
-
|
201
|
+
const E = T[d - 1], A = e[c - 1], L = E.key, F = A.key;
|
202
|
+
E === A ? (l = E.first, c--, d--) : C.has(F) ? !o.has(L) || N.has(L) ? M(E) : O.has(F) ? c-- : P.get(L) > P.get(F) ? (O.add(L), M(E)) : (N.add(F), c--) : (h(A, o), c--);
|
203
203
|
}
|
204
204
|
for (; c--; ) {
|
205
|
-
const
|
206
|
-
C.has(
|
205
|
+
const E = e[c];
|
206
|
+
C.has(E.key) || h(E, o);
|
207
207
|
}
|
208
208
|
for (; d; )
|
209
209
|
M(T[d - 1]);
|
210
|
-
return
|
210
|
+
return re(w), T;
|
211
211
|
}
|
212
|
-
function
|
212
|
+
function jr(e, t, r) {
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
214
|
-
n && n.m(t, r),
|
215
|
-
const s = e.$$.on_mount.map(
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
217
|
-
}), i.forEach(
|
214
|
+
n && n.m(t, r), $e(() => {
|
215
|
+
const s = e.$$.on_mount.map(Mt).filter(rt);
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
217
|
+
}), i.forEach($e);
|
218
218
|
}
|
219
|
-
function
|
219
|
+
function kr(e, t) {
|
220
220
|
const r = e.$$;
|
221
|
-
r.fragment !== null && (
|
221
|
+
r.fragment !== null && (Fr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
222
222
|
}
|
223
|
-
function
|
224
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
223
|
+
function Vr(e, t) {
|
224
|
+
e.$$.dirty[0] === -1 && (Q.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
225
225
|
}
|
226
|
-
function
|
227
|
-
const h =
|
228
|
-
|
226
|
+
function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
227
|
+
const h = ue;
|
228
|
+
ae(e);
|
229
229
|
const u = e.$$ = {
|
230
230
|
fragment: null,
|
231
231
|
ctx: [],
|
@@ -233,7 +233,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
233
233
|
props: s,
|
234
234
|
update: I,
|
235
235
|
not_equal: i,
|
236
|
-
bound:
|
236
|
+
bound: ct(),
|
237
237
|
// lifecycle
|
238
238
|
on_mount: [],
|
239
239
|
on_destroy: [],
|
@@ -242,7 +242,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
242
242
|
after_update: [],
|
243
243
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
244
244
|
// everything else
|
245
|
-
callbacks:
|
245
|
+
callbacks: ct(),
|
246
246
|
dirty: a,
|
247
247
|
skip_bound: !1,
|
248
248
|
root: t.target || h.$$.root
|
@@ -251,19 +251,19 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
251
251
|
let l = !1;
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
253
253
|
const b = d.length ? d[0] : c;
|
254
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
255
|
-
}) : [], u.update(), l = !0,
|
254
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
|
255
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
256
256
|
if (t.hydrate) {
|
257
|
-
const m =
|
258
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
257
|
+
const m = Cr(t.target);
|
258
|
+
u.fragment && u.fragment.l(m), m.forEach(ne);
|
259
259
|
} else
|
260
260
|
u.fragment && u.fragment.c();
|
261
|
-
t.intro &&
|
261
|
+
t.intro && jt(e.$$.fragment), jr(e, t.target, t.anchor), S();
|
262
262
|
}
|
263
|
-
|
263
|
+
ae(h);
|
264
264
|
}
|
265
|
-
let
|
266
|
-
typeof HTMLElement == "function" && (
|
265
|
+
let kt;
|
266
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
267
267
|
/** The Svelte component constructor */
|
268
268
|
$$ctor;
|
269
269
|
/** Slots */
|
@@ -305,24 +305,24 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
305
305
|
let s;
|
306
306
|
return {
|
307
307
|
c: function() {
|
308
|
-
s = k("slot"), i !== "default" &&
|
308
|
+
s = k("slot"), i !== "default" && fe(s, "name", i);
|
309
309
|
},
|
310
310
|
/**
|
311
311
|
* @param {HTMLElement} target
|
312
312
|
* @param {HTMLElement} [anchor]
|
313
313
|
*/
|
314
314
|
m: function(h, u) {
|
315
|
-
|
315
|
+
ce(h, s, u);
|
316
316
|
},
|
317
317
|
d: function(h) {
|
318
|
-
h &&
|
318
|
+
h && ne(s);
|
319
319
|
}
|
320
320
|
};
|
321
321
|
};
|
322
322
|
};
|
323
323
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
324
324
|
return;
|
325
|
-
const t = {}, r =
|
325
|
+
const t = {}, r = Mr(this);
|
326
326
|
for (const i of this.$$s)
|
327
327
|
i in r && (t[i] = [e(i)]);
|
328
328
|
for (const i of this.attributes) {
|
@@ -409,8 +409,8 @@ function ve(e, t, r, n) {
|
|
409
409
|
return t;
|
410
410
|
}
|
411
411
|
}
|
412
|
-
function
|
413
|
-
let o = class extends
|
412
|
+
function Wr(e, t, r, n, i, s) {
|
413
|
+
let o = class extends kt {
|
414
414
|
constructor() {
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
416
416
|
}
|
@@ -438,7 +438,7 @@ function Yr(e, t, r, n, i, s) {
|
|
438
438
|
}), e.element = /** @type {any} */
|
439
439
|
o, o;
|
440
440
|
}
|
441
|
-
class
|
441
|
+
class zr {
|
442
442
|
/**
|
443
443
|
* ### PRIVATE API
|
444
444
|
*
|
@@ -457,7 +457,7 @@ class qr {
|
|
457
457
|
$$set = void 0;
|
458
458
|
/** @returns {void} */
|
459
459
|
$destroy() {
|
460
|
-
|
460
|
+
kr(this, 1), this.$destroy = I;
|
461
461
|
}
|
462
462
|
/**
|
463
463
|
* @template {Extract<keyof Events, string>} K
|
@@ -466,7 +466,7 @@ class qr {
|
|
466
466
|
* @returns {() => void}
|
467
467
|
*/
|
468
468
|
$on(t, r) {
|
469
|
-
if (!
|
469
|
+
if (!rt(r))
|
470
470
|
return I;
|
471
471
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
472
472
|
return n.push(r), () => {
|
@@ -479,11 +479,11 @@ class qr {
|
|
479
479
|
* @returns {void}
|
480
480
|
*/
|
481
481
|
$set(t) {
|
482
|
-
this.$$set && !
|
482
|
+
this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
483
483
|
}
|
484
484
|
}
|
485
|
-
const
|
486
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
485
|
+
const Zr = "4";
|
486
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
|
487
487
|
/*! *****************************************************************************
|
488
488
|
Copyright (c) Microsoft Corporation.
|
489
489
|
|
@@ -498,24 +498,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
498
498
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
499
499
|
PERFORMANCE OF THIS SOFTWARE.
|
500
500
|
***************************************************************************** */
|
501
|
-
var
|
502
|
-
return
|
501
|
+
var je = function(e, t) {
|
502
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
503
503
|
r.__proto__ = n;
|
504
504
|
} || function(r, n) {
|
505
505
|
for (var i in n)
|
506
506
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
507
|
-
},
|
507
|
+
}, je(e, t);
|
508
508
|
};
|
509
|
-
function
|
509
|
+
function U(e, t) {
|
510
510
|
if (typeof t != "function" && t !== null)
|
511
511
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
512
|
-
|
512
|
+
je(e, t);
|
513
513
|
function r() {
|
514
514
|
this.constructor = e;
|
515
515
|
}
|
516
516
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
517
517
|
}
|
518
|
-
function
|
518
|
+
var v = function() {
|
519
|
+
return v = Object.assign || function(t) {
|
520
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
521
|
+
r = arguments[n];
|
522
|
+
for (var s in r)
|
523
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
524
|
+
}
|
525
|
+
return t;
|
526
|
+
}, v.apply(this, arguments);
|
527
|
+
};
|
528
|
+
function Qr(e, t) {
|
529
|
+
var r = {};
|
530
|
+
for (var n in e)
|
531
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
532
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
533
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
534
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
535
|
+
return r;
|
536
|
+
}
|
537
|
+
function ke(e) {
|
519
538
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
520
539
|
if (r)
|
521
540
|
return r.call(e);
|
@@ -527,7 +546,7 @@ function We(e) {
|
|
527
546
|
};
|
528
547
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
529
548
|
}
|
530
|
-
function
|
549
|
+
function Ve(e, t) {
|
531
550
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
532
551
|
if (!r)
|
533
552
|
return e;
|
@@ -547,22 +566,22 @@ function ze(e, t) {
|
|
547
566
|
}
|
548
567
|
return s;
|
549
568
|
}
|
550
|
-
function
|
551
|
-
if (arguments.length === 2)
|
569
|
+
function q(e, t, r) {
|
570
|
+
if (r || arguments.length === 2)
|
552
571
|
for (var n = 0, i = t.length, s; n < i; n++)
|
553
572
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
554
573
|
return e.concat(s || t);
|
555
574
|
}
|
556
|
-
function
|
575
|
+
function G(e) {
|
557
576
|
return typeof e == "function";
|
558
577
|
}
|
559
|
-
function
|
578
|
+
function Vt(e) {
|
560
579
|
var t = function(n) {
|
561
580
|
Error.call(n), n.stack = new Error().stack;
|
562
581
|
}, r = e(t);
|
563
582
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
564
583
|
}
|
565
|
-
var
|
584
|
+
var Ie = Vt(function(e) {
|
566
585
|
return function(r) {
|
567
586
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
568
587
|
` + r.map(function(n, i) {
|
@@ -571,13 +590,13 @@ var Me = Zt(function(e) {
|
|
571
590
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
572
591
|
};
|
573
592
|
});
|
574
|
-
function
|
593
|
+
function Xe(e, t) {
|
575
594
|
if (e) {
|
576
595
|
var r = e.indexOf(t);
|
577
596
|
0 <= r && e.splice(r, 1);
|
578
597
|
}
|
579
598
|
}
|
580
|
-
var
|
599
|
+
var Te = function() {
|
581
600
|
function e(t) {
|
582
601
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
583
602
|
}
|
@@ -589,12 +608,12 @@ var He = function() {
|
|
589
608
|
if (o)
|
590
609
|
if (this._parentage = null, Array.isArray(o))
|
591
610
|
try {
|
592
|
-
for (var a =
|
611
|
+
for (var a = ke(o), h = a.next(); !h.done; h = a.next()) {
|
593
612
|
var u = h.value;
|
594
613
|
u.remove(this);
|
595
614
|
}
|
596
|
-
} catch (
|
597
|
-
t = { error:
|
615
|
+
} catch (y) {
|
616
|
+
t = { error: y };
|
598
617
|
} finally {
|
599
618
|
try {
|
600
619
|
h && !h.done && (r = a.return) && r.call(a);
|
@@ -606,26 +625,26 @@ var He = function() {
|
|
606
625
|
else
|
607
626
|
o.remove(this);
|
608
627
|
var l = this.initialTeardown;
|
609
|
-
if (
|
628
|
+
if (G(l))
|
610
629
|
try {
|
611
630
|
l();
|
612
|
-
} catch (
|
613
|
-
s =
|
631
|
+
} catch (y) {
|
632
|
+
s = y instanceof Ie ? y.errors : [y];
|
614
633
|
}
|
615
634
|
var m = this._finalizers;
|
616
635
|
if (m) {
|
617
636
|
this._finalizers = null;
|
618
637
|
try {
|
619
|
-
for (var c =
|
638
|
+
for (var c = ke(m), d = c.next(); !d.done; d = c.next()) {
|
620
639
|
var b = d.value;
|
621
640
|
try {
|
622
|
-
|
623
|
-
} catch (
|
624
|
-
s = s ?? [],
|
641
|
+
mt(b);
|
642
|
+
} catch (y) {
|
643
|
+
s = s ?? [], y instanceof Ie ? s = q(q([], Ve(s)), Ve(y.errors)) : s.push(y);
|
625
644
|
}
|
626
645
|
}
|
627
|
-
} catch (
|
628
|
-
n = { error:
|
646
|
+
} catch (y) {
|
647
|
+
n = { error: y };
|
629
648
|
} finally {
|
630
649
|
try {
|
631
650
|
d && !d.done && (i = c.return) && i.call(c);
|
@@ -636,13 +655,13 @@ var He = function() {
|
|
636
655
|
}
|
637
656
|
}
|
638
657
|
if (s)
|
639
|
-
throw new
|
658
|
+
throw new Ie(s);
|
640
659
|
}
|
641
660
|
}, e.prototype.add = function(t) {
|
642
661
|
var r;
|
643
662
|
if (t && t !== this)
|
644
663
|
if (this.closed)
|
645
|
-
|
664
|
+
mt(t);
|
646
665
|
else {
|
647
666
|
if (t instanceof e) {
|
648
667
|
if (t.closed || t._hasParent(this))
|
@@ -659,52 +678,56 @@ var He = function() {
|
|
659
678
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
660
679
|
}, e.prototype._removeParent = function(t) {
|
661
680
|
var r = this._parentage;
|
662
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
681
|
+
r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
|
663
682
|
}, e.prototype.remove = function(t) {
|
664
683
|
var r = this._finalizers;
|
665
|
-
r &&
|
684
|
+
r && Xe(r, t), t instanceof e && t._removeParent(this);
|
666
685
|
}, e.EMPTY = function() {
|
667
686
|
var t = new e();
|
668
687
|
return t.closed = !0, t;
|
669
688
|
}(), e;
|
670
|
-
}(),
|
671
|
-
function
|
672
|
-
return e instanceof
|
673
|
-
}
|
674
|
-
function
|
675
|
-
|
676
|
-
}
|
677
|
-
var
|
678
|
-
|
679
|
-
|
689
|
+
}(), Xt = Te.EMPTY;
|
690
|
+
function Wt(e) {
|
691
|
+
return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
692
|
+
}
|
693
|
+
function mt(e) {
|
694
|
+
G(e) ? e() : e.unsubscribe();
|
695
|
+
}
|
696
|
+
var Yr = {
|
697
|
+
onUnhandledError: null,
|
698
|
+
onStoppedNotification: null,
|
699
|
+
Promise: void 0,
|
700
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
701
|
+
useDeprecatedNextContext: !1
|
702
|
+
}, qr = {
|
680
703
|
setTimeout: function(e, t) {
|
681
704
|
for (var r = [], n = 2; n < arguments.length; n++)
|
682
705
|
r[n - 2] = arguments[n];
|
683
|
-
return setTimeout.apply(void 0,
|
706
|
+
return setTimeout.apply(void 0, q([e, t], Ve(r)));
|
684
707
|
},
|
685
708
|
clearTimeout: function(e) {
|
686
709
|
return clearTimeout(e);
|
687
710
|
},
|
688
711
|
delegate: void 0
|
689
712
|
};
|
690
|
-
function
|
691
|
-
|
713
|
+
function Jr(e) {
|
714
|
+
qr.setTimeout(function() {
|
692
715
|
throw e;
|
693
716
|
});
|
694
717
|
}
|
695
|
-
function
|
718
|
+
function dt() {
|
696
719
|
}
|
697
720
|
function _e(e) {
|
698
721
|
e();
|
699
722
|
}
|
700
|
-
var
|
701
|
-
|
723
|
+
var zt = function(e) {
|
724
|
+
U(t, e);
|
702
725
|
function t(r) {
|
703
726
|
var n = e.call(this) || this;
|
704
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
727
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
|
705
728
|
}
|
706
729
|
return t.create = function(r, n, i) {
|
707
|
-
return new
|
730
|
+
return new We(r, n, i);
|
708
731
|
}, t.prototype.next = function(r) {
|
709
732
|
this.isStopped || this._next(r);
|
710
733
|
}, t.prototype.error = function(r) {
|
@@ -728,7 +751,7 @@ var qt = function(e) {
|
|
728
751
|
this.unsubscribe();
|
729
752
|
}
|
730
753
|
}, t;
|
731
|
-
}(
|
754
|
+
}(Te), Kr = function() {
|
732
755
|
function e(t) {
|
733
756
|
this.partialObserver = t;
|
734
757
|
}
|
@@ -738,7 +761,7 @@ var qt = function(e) {
|
|
738
761
|
try {
|
739
762
|
r.next(t);
|
740
763
|
} catch (n) {
|
741
|
-
|
764
|
+
ge(n);
|
742
765
|
}
|
743
766
|
}, e.prototype.error = function(t) {
|
744
767
|
var r = this.partialObserver;
|
@@ -746,56 +769,56 @@ var qt = function(e) {
|
|
746
769
|
try {
|
747
770
|
r.error(t);
|
748
771
|
} catch (n) {
|
749
|
-
|
772
|
+
ge(n);
|
750
773
|
}
|
751
774
|
else
|
752
|
-
|
775
|
+
ge(t);
|
753
776
|
}, e.prototype.complete = function() {
|
754
777
|
var t = this.partialObserver;
|
755
778
|
if (t.complete)
|
756
779
|
try {
|
757
780
|
t.complete();
|
758
781
|
} catch (r) {
|
759
|
-
|
782
|
+
ge(r);
|
760
783
|
}
|
761
784
|
}, e;
|
762
|
-
}(),
|
763
|
-
|
785
|
+
}(), We = function(e) {
|
786
|
+
U(t, e);
|
764
787
|
function t(r, n, i) {
|
765
788
|
var s = e.call(this) || this, o;
|
766
|
-
return
|
789
|
+
return G(r) || !r ? o = {
|
767
790
|
next: r ?? void 0,
|
768
791
|
error: n ?? void 0,
|
769
792
|
complete: i ?? void 0
|
770
|
-
} : o = r, s.destination = new
|
793
|
+
} : o = r, s.destination = new Kr(o), s;
|
771
794
|
}
|
772
795
|
return t;
|
773
|
-
}(
|
774
|
-
function
|
775
|
-
|
796
|
+
}(zt);
|
797
|
+
function ge(e) {
|
798
|
+
Jr(e);
|
776
799
|
}
|
777
|
-
function
|
800
|
+
function en(e) {
|
778
801
|
throw e;
|
779
802
|
}
|
780
|
-
var
|
803
|
+
var tn = {
|
781
804
|
closed: !0,
|
782
|
-
next:
|
783
|
-
error:
|
784
|
-
complete:
|
785
|
-
},
|
805
|
+
next: dt,
|
806
|
+
error: en,
|
807
|
+
complete: dt
|
808
|
+
}, rn = function() {
|
786
809
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
787
810
|
}();
|
788
|
-
function
|
811
|
+
function nn(e) {
|
789
812
|
return e;
|
790
813
|
}
|
791
|
-
function
|
792
|
-
return e.length === 0 ?
|
814
|
+
function sn(e) {
|
815
|
+
return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
|
793
816
|
return e.reduce(function(n, i) {
|
794
817
|
return i(n);
|
795
818
|
}, r);
|
796
819
|
};
|
797
820
|
}
|
798
|
-
var
|
821
|
+
var bt = function() {
|
799
822
|
function e(t) {
|
800
823
|
t && (this._subscribe = t);
|
801
824
|
}
|
@@ -803,7 +826,7 @@ var vt = function() {
|
|
803
826
|
var r = new e();
|
804
827
|
return r.source = this, r.operator = t, r;
|
805
828
|
}, e.prototype.subscribe = function(t, r, n) {
|
806
|
-
var i = this, s =
|
829
|
+
var i = this, s = an(t) ? t : new We(t, r, n);
|
807
830
|
return _e(function() {
|
808
831
|
var o = i, a = o.operator, h = o.source;
|
809
832
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -816,8 +839,8 @@ var vt = function() {
|
|
816
839
|
}
|
817
840
|
}, e.prototype.forEach = function(t, r) {
|
818
841
|
var n = this;
|
819
|
-
return r =
|
820
|
-
var o = new
|
842
|
+
return r = pt(r), new r(function(i, s) {
|
843
|
+
var o = new We({
|
821
844
|
next: function(a) {
|
822
845
|
try {
|
823
846
|
t(a);
|
@@ -833,15 +856,15 @@ var vt = function() {
|
|
833
856
|
}, e.prototype._subscribe = function(t) {
|
834
857
|
var r;
|
835
858
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
836
|
-
}, e.prototype[
|
859
|
+
}, e.prototype[rn] = function() {
|
837
860
|
return this;
|
838
861
|
}, e.prototype.pipe = function() {
|
839
862
|
for (var t = [], r = 0; r < arguments.length; r++)
|
840
863
|
t[r] = arguments[r];
|
841
|
-
return
|
864
|
+
return sn(t)(this);
|
842
865
|
}, e.prototype.toPromise = function(t) {
|
843
866
|
var r = this;
|
844
|
-
return t =
|
867
|
+
return t = pt(t), new t(function(n, i) {
|
845
868
|
var s;
|
846
869
|
r.subscribe(function(o) {
|
847
870
|
return s = o;
|
@@ -855,32 +878,32 @@ var vt = function() {
|
|
855
878
|
return new e(t);
|
856
879
|
}, e;
|
857
880
|
}();
|
858
|
-
function
|
881
|
+
function pt(e) {
|
859
882
|
var t;
|
860
|
-
return (t = e ??
|
883
|
+
return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
|
861
884
|
}
|
862
|
-
function
|
863
|
-
return e &&
|
885
|
+
function on(e) {
|
886
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
864
887
|
}
|
865
|
-
function
|
866
|
-
return e && e instanceof
|
888
|
+
function an(e) {
|
889
|
+
return e && e instanceof zt || on(e) && Wt(e);
|
867
890
|
}
|
868
|
-
var
|
891
|
+
var un = Vt(function(e) {
|
869
892
|
return function() {
|
870
893
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
871
894
|
};
|
872
|
-
}),
|
873
|
-
|
895
|
+
}), Zt = function(e) {
|
896
|
+
U(t, e);
|
874
897
|
function t() {
|
875
898
|
var r = e.call(this) || this;
|
876
899
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
877
900
|
}
|
878
901
|
return t.prototype.lift = function(r) {
|
879
|
-
var n = new
|
902
|
+
var n = new gt(this, this);
|
880
903
|
return n.operator = r, n;
|
881
904
|
}, t.prototype._throwIfClosed = function() {
|
882
905
|
if (this.closed)
|
883
|
-
throw new
|
906
|
+
throw new un();
|
884
907
|
}, t.prototype.next = function(r) {
|
885
908
|
var n = this;
|
886
909
|
_e(function() {
|
@@ -888,7 +911,7 @@ var cn = Zt(function(e) {
|
|
888
911
|
if (n._throwIfClosed(), !n.isStopped) {
|
889
912
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
890
913
|
try {
|
891
|
-
for (var o =
|
914
|
+
for (var o = ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
892
915
|
var h = a.value;
|
893
916
|
h.next(r);
|
894
917
|
}
|
@@ -937,20 +960,20 @@ var cn = Zt(function(e) {
|
|
937
960
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
938
961
|
}, t.prototype._innerSubscribe = function(r) {
|
939
962
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
940
|
-
return s || o ?
|
941
|
-
n.currentObservers = null,
|
963
|
+
return s || o ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
|
964
|
+
n.currentObservers = null, Xe(a, r);
|
942
965
|
}));
|
943
966
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
944
967
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
945
968
|
i ? r.error(s) : o && r.complete();
|
946
969
|
}, t.prototype.asObservable = function() {
|
947
|
-
var r = new
|
970
|
+
var r = new bt();
|
948
971
|
return r.source = this, r;
|
949
972
|
}, t.create = function(r, n) {
|
950
|
-
return new
|
973
|
+
return new gt(r, n);
|
951
974
|
}, t;
|
952
|
-
}(
|
953
|
-
|
975
|
+
}(bt), gt = function(e) {
|
976
|
+
U(t, e);
|
954
977
|
function t(r, n) {
|
955
978
|
var i = e.call(this) || this;
|
956
979
|
return i.destination = r, i.source = n, i;
|
@@ -966,17 +989,17 @@ var cn = Zt(function(e) {
|
|
966
989
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
967
990
|
}, t.prototype._subscribe = function(r) {
|
968
991
|
var n, i;
|
969
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
992
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
|
970
993
|
}, t;
|
971
|
-
}(
|
994
|
+
}(Zt), Qt = {
|
972
995
|
now: function() {
|
973
|
-
return (
|
996
|
+
return (Qt.delegate || Date).now();
|
974
997
|
},
|
975
998
|
delegate: void 0
|
976
|
-
},
|
977
|
-
|
999
|
+
}, hn = function(e) {
|
1000
|
+
U(t, e);
|
978
1001
|
function t(r, n, i) {
|
979
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1002
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
|
980
1003
|
var s = e.call(this) || this;
|
981
1004
|
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;
|
982
1005
|
}
|
@@ -996,24 +1019,24 @@ var cn = Zt(function(e) {
|
|
996
1019
|
u && s.splice(0, u + 1);
|
997
1020
|
}
|
998
1021
|
}, t;
|
999
|
-
}(
|
1000
|
-
const
|
1001
|
-
if (
|
1002
|
-
const r = new
|
1003
|
-
|
1022
|
+
}(Zt);
|
1023
|
+
const yt = [], vt = {}, ln = (e, t = 0) => {
|
1024
|
+
if (yt.indexOf(e) == -1) {
|
1025
|
+
const r = new hn(t);
|
1026
|
+
vt[e] = r, yt.push(e);
|
1004
1027
|
}
|
1005
|
-
return
|
1028
|
+
return vt[e];
|
1006
1029
|
}, Z = [];
|
1007
|
-
function
|
1030
|
+
function cn(e, t) {
|
1008
1031
|
return {
|
1009
|
-
subscribe:
|
1032
|
+
subscribe: He(e, t).subscribe
|
1010
1033
|
};
|
1011
1034
|
}
|
1012
|
-
function
|
1035
|
+
function He(e, t = I) {
|
1013
1036
|
let r;
|
1014
1037
|
const n = /* @__PURE__ */ new Set();
|
1015
1038
|
function i(a) {
|
1016
|
-
if (
|
1039
|
+
if (Rt(e, a) && (e = a, r)) {
|
1017
1040
|
const h = !Z.length;
|
1018
1041
|
for (const u of n)
|
1019
1042
|
u[1](), Z.push(u, e);
|
@@ -1035,12 +1058,12 @@ function Ae(e, t = I) {
|
|
1035
1058
|
}
|
1036
1059
|
return { set: i, update: s, subscribe: o };
|
1037
1060
|
}
|
1038
|
-
function
|
1061
|
+
function ie(e, t, r) {
|
1039
1062
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1040
1063
|
if (!i.every(Boolean))
|
1041
1064
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1042
1065
|
const s = t.length < 2;
|
1043
|
-
return
|
1066
|
+
return cn(r, (o, a) => {
|
1044
1067
|
let h = !1;
|
1045
1068
|
const u = [];
|
1046
1069
|
let l = 0, m = I;
|
@@ -1049,170 +1072,131 @@ function ne(e, t, r) {
|
|
1049
1072
|
return;
|
1050
1073
|
m();
|
1051
1074
|
const b = t(n ? u[0] : u, o, a);
|
1052
|
-
s ? o(b) : m =
|
1075
|
+
s ? o(b) : m = rt(b) ? b : I;
|
1053
1076
|
}, d = i.map(
|
1054
|
-
(b,
|
1077
|
+
(b, y) => Gt(
|
1055
1078
|
b,
|
1056
1079
|
(T) => {
|
1057
|
-
u[
|
1080
|
+
u[y] = T, l &= ~(1 << y), h && c();
|
1058
1081
|
},
|
1059
1082
|
() => {
|
1060
|
-
l |= 1 <<
|
1083
|
+
l |= 1 << y;
|
1061
1084
|
}
|
1062
1085
|
)
|
1063
1086
|
);
|
1064
1087
|
return h = !0, c(), function() {
|
1065
|
-
|
1088
|
+
re(d), m(), h = !1;
|
1066
1089
|
};
|
1067
1090
|
});
|
1068
1091
|
}
|
1069
|
-
function
|
1070
|
-
return e
|
1092
|
+
function fn(e) {
|
1093
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1071
1094
|
}
|
1072
|
-
var
|
1073
|
-
return
|
1095
|
+
var mn = function(t) {
|
1096
|
+
return dn(t) && !bn(t);
|
1074
1097
|
};
|
1075
|
-
function
|
1098
|
+
function dn(e) {
|
1076
1099
|
return !!e && typeof e == "object";
|
1077
1100
|
}
|
1078
|
-
function
|
1101
|
+
function bn(e) {
|
1079
1102
|
var t = Object.prototype.toString.call(e);
|
1080
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1103
|
+
return t === "[object RegExp]" || t === "[object Date]" || yn(e);
|
1081
1104
|
}
|
1082
|
-
var
|
1083
|
-
function
|
1084
|
-
return e.$$typeof ===
|
1105
|
+
var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
|
1106
|
+
function yn(e) {
|
1107
|
+
return e.$$typeof === gn;
|
1085
1108
|
}
|
1086
|
-
function
|
1109
|
+
function vn(e) {
|
1087
1110
|
return Array.isArray(e) ? [] : {};
|
1088
1111
|
}
|
1089
|
-
function
|
1090
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1112
|
+
function he(e, t) {
|
1113
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
|
1091
1114
|
}
|
1092
|
-
function
|
1115
|
+
function _n(e, t, r) {
|
1093
1116
|
return e.concat(t).map(function(n) {
|
1094
|
-
return
|
1117
|
+
return he(n, r);
|
1095
1118
|
});
|
1096
1119
|
}
|
1097
|
-
function
|
1120
|
+
function En(e, t) {
|
1098
1121
|
if (!t.customMerge)
|
1099
|
-
return
|
1122
|
+
return J;
|
1100
1123
|
var r = t.customMerge(e);
|
1101
|
-
return typeof r == "function" ? r :
|
1124
|
+
return typeof r == "function" ? r : J;
|
1102
1125
|
}
|
1103
|
-
function
|
1126
|
+
function xn(e) {
|
1104
1127
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1105
1128
|
return Object.propertyIsEnumerable.call(e, t);
|
1106
1129
|
}) : [];
|
1107
1130
|
}
|
1108
|
-
function
|
1109
|
-
return Object.keys(e).concat(
|
1131
|
+
function _t(e) {
|
1132
|
+
return Object.keys(e).concat(xn(e));
|
1110
1133
|
}
|
1111
|
-
function
|
1134
|
+
function Yt(e, t) {
|
1112
1135
|
try {
|
1113
1136
|
return t in e;
|
1114
1137
|
} catch {
|
1115
1138
|
return !1;
|
1116
1139
|
}
|
1117
1140
|
}
|
1118
|
-
function
|
1119
|
-
return
|
1141
|
+
function Sn(e, t) {
|
1142
|
+
return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1120
1143
|
}
|
1121
|
-
function
|
1144
|
+
function wn(e, t, r) {
|
1122
1145
|
var n = {};
|
1123
|
-
return r.isMergeableObject(e) &&
|
1124
|
-
n[i] =
|
1125
|
-
}),
|
1126
|
-
|
1146
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
1147
|
+
n[i] = he(e[i], r);
|
1148
|
+
}), _t(t).forEach(function(i) {
|
1149
|
+
Sn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
1127
1150
|
}), n;
|
1128
1151
|
}
|
1129
|
-
function
|
1130
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1152
|
+
function J(e, t, r) {
|
1153
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = he;
|
1131
1154
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1132
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1155
|
+
return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : he(t, r);
|
1133
1156
|
}
|
1134
|
-
|
1157
|
+
J.all = function(t, r) {
|
1135
1158
|
if (!Array.isArray(t))
|
1136
1159
|
throw new Error("first argument should be an array");
|
1137
1160
|
return t.reduce(function(n, i) {
|
1138
|
-
return
|
1161
|
+
return J(n, i, r);
|
1139
1162
|
}, {});
|
1140
1163
|
};
|
1141
|
-
var
|
1142
|
-
const
|
1143
|
-
|
1144
|
-
|
1145
|
-
r.__proto__ = n;
|
1146
|
-
} || function(r, n) {
|
1147
|
-
for (var i in n)
|
1148
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1149
|
-
}, qe(e, t);
|
1150
|
-
};
|
1151
|
-
function Be(e, t) {
|
1152
|
-
if (typeof t != "function" && t !== null)
|
1153
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1154
|
-
qe(e, t);
|
1155
|
-
function r() {
|
1156
|
-
this.constructor = e;
|
1157
|
-
}
|
1158
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1159
|
-
}
|
1160
|
-
var R = function() {
|
1161
|
-
return R = Object.assign || function(t) {
|
1162
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1163
|
-
r = arguments[n];
|
1164
|
-
for (var s in r)
|
1165
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1166
|
-
}
|
1167
|
-
return t;
|
1168
|
-
}, R.apply(this, arguments);
|
1169
|
-
};
|
1170
|
-
function Nn(e, t) {
|
1171
|
-
var r = {};
|
1172
|
-
for (var n in e)
|
1173
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1174
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1175
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1176
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1177
|
-
return r;
|
1178
|
-
}
|
1179
|
-
function Re(e, t, r) {
|
1180
|
-
if (r || arguments.length === 2)
|
1181
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
1182
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1183
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
1184
|
-
}
|
1185
|
-
function Ge(e, t) {
|
1186
|
-
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Cn;
|
1164
|
+
var Tn = J, Hn = Tn;
|
1165
|
+
const An = /* @__PURE__ */ fn(Hn);
|
1166
|
+
function Ce(e, t) {
|
1167
|
+
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Pn;
|
1187
1168
|
return i(e, {
|
1188
1169
|
cache: r,
|
1189
1170
|
serializer: n
|
1190
1171
|
});
|
1191
1172
|
}
|
1192
|
-
function
|
1173
|
+
function Bn(e) {
|
1193
1174
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1194
1175
|
}
|
1195
|
-
function
|
1196
|
-
var i =
|
1176
|
+
function qt(e, t, r, n) {
|
1177
|
+
var i = Bn(n) ? n : r(n), s = t.get(i);
|
1197
1178
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1198
1179
|
}
|
1199
|
-
function
|
1180
|
+
function Jt(e, t, r) {
|
1200
1181
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1201
1182
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
1202
1183
|
}
|
1203
|
-
function
|
1184
|
+
function nt(e, t, r, n, i) {
|
1204
1185
|
return r.bind(t, e, n, i);
|
1205
1186
|
}
|
1206
|
-
function
|
1207
|
-
var r = e.length === 1 ?
|
1208
|
-
return
|
1187
|
+
function Pn(e, t) {
|
1188
|
+
var r = e.length === 1 ? qt : Jt;
|
1189
|
+
return nt(e, this, r, t.cache.create(), t.serializer);
|
1190
|
+
}
|
1191
|
+
function Nn(e, t) {
|
1192
|
+
return nt(e, this, Jt, t.cache.create(), t.serializer);
|
1209
1193
|
}
|
1210
|
-
function
|
1211
|
-
return
|
1194
|
+
function On(e, t) {
|
1195
|
+
return nt(e, this, qt, t.cache.create(), t.serializer);
|
1212
1196
|
}
|
1213
|
-
var
|
1197
|
+
var Ln = function() {
|
1214
1198
|
return JSON.stringify(arguments);
|
1215
|
-
},
|
1199
|
+
}, In = (
|
1216
1200
|
/** @class */
|
1217
1201
|
function() {
|
1218
1202
|
function e() {
|
@@ -1224,71 +1208,62 @@ var Rn = function() {
|
|
1224
1208
|
this.cache[t] = r;
|
1225
1209
|
}, e;
|
1226
1210
|
}()
|
1227
|
-
),
|
1211
|
+
), Cn = {
|
1228
1212
|
create: function() {
|
1229
|
-
return new
|
1213
|
+
return new In();
|
1230
1214
|
}
|
1231
|
-
},
|
1232
|
-
variadic:
|
1233
|
-
|
1234
|
-
|
1235
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1236
|
-
r = arguments[n];
|
1237
|
-
for (var s in r)
|
1238
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1239
|
-
}
|
1240
|
-
return t;
|
1241
|
-
}, Se.apply(this, arguments);
|
1242
|
-
};
|
1243
|
-
var p;
|
1215
|
+
}, Me = {
|
1216
|
+
variadic: Nn,
|
1217
|
+
monadic: On
|
1218
|
+
}, p;
|
1244
1219
|
(function(e) {
|
1245
1220
|
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";
|
1246
1221
|
})(p || (p = {}));
|
1247
|
-
var
|
1222
|
+
var x;
|
1248
1223
|
(function(e) {
|
1249
1224
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1250
|
-
})(
|
1251
|
-
var
|
1225
|
+
})(x || (x = {}));
|
1226
|
+
var K;
|
1252
1227
|
(function(e) {
|
1253
1228
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1254
|
-
})(
|
1255
|
-
function
|
1256
|
-
return e.type ===
|
1229
|
+
})(K || (K = {}));
|
1230
|
+
function Et(e) {
|
1231
|
+
return e.type === x.literal;
|
1257
1232
|
}
|
1258
|
-
function
|
1259
|
-
return e.type ===
|
1233
|
+
function Mn(e) {
|
1234
|
+
return e.type === x.argument;
|
1260
1235
|
}
|
1261
|
-
function
|
1262
|
-
return e.type ===
|
1236
|
+
function Kt(e) {
|
1237
|
+
return e.type === x.number;
|
1263
1238
|
}
|
1264
|
-
function
|
1265
|
-
return e.type ===
|
1239
|
+
function er(e) {
|
1240
|
+
return e.type === x.date;
|
1266
1241
|
}
|
1267
|
-
function
|
1268
|
-
return e.type ===
|
1242
|
+
function tr(e) {
|
1243
|
+
return e.type === x.time;
|
1269
1244
|
}
|
1270
|
-
function
|
1271
|
-
return e.type ===
|
1245
|
+
function rr(e) {
|
1246
|
+
return e.type === x.select;
|
1272
1247
|
}
|
1273
|
-
function
|
1274
|
-
return e.type ===
|
1248
|
+
function nr(e) {
|
1249
|
+
return e.type === x.plural;
|
1275
1250
|
}
|
1276
|
-
function
|
1277
|
-
return e.type ===
|
1251
|
+
function Rn(e) {
|
1252
|
+
return e.type === x.pound;
|
1278
1253
|
}
|
1279
|
-
function
|
1280
|
-
return e.type ===
|
1254
|
+
function ir(e) {
|
1255
|
+
return e.type === x.tag;
|
1281
1256
|
}
|
1282
|
-
function
|
1283
|
-
return !!(e && typeof e == "object" && e.type ===
|
1257
|
+
function sr(e) {
|
1258
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
1284
1259
|
}
|
1285
|
-
function
|
1286
|
-
return !!(e && typeof e == "object" && e.type ===
|
1260
|
+
function ze(e) {
|
1261
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
1287
1262
|
}
|
1288
|
-
var
|
1289
|
-
function
|
1263
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
|
1264
|
+
function Un(e) {
|
1290
1265
|
var t = {};
|
1291
|
-
return e.replace(
|
1266
|
+
return e.replace(Gn, function(r) {
|
1292
1267
|
var n = r.length;
|
1293
1268
|
switch (r[0]) {
|
1294
1269
|
case "G":
|
@@ -1377,21 +1352,11 @@ function jn(e) {
|
|
1377
1352
|
return "";
|
1378
1353
|
}), t;
|
1379
1354
|
}
|
1380
|
-
var
|
1381
|
-
|
1382
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1383
|
-
r = arguments[n];
|
1384
|
-
for (var s in r)
|
1385
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1386
|
-
}
|
1387
|
-
return t;
|
1388
|
-
}, S.apply(this, arguments);
|
1389
|
-
};
|
1390
|
-
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1391
|
-
function Vn(e) {
|
1355
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1356
|
+
function Fn(e) {
|
1392
1357
|
if (e.length === 0)
|
1393
1358
|
throw new Error("Number skeleton cannot be empty");
|
1394
|
-
for (var t = e.split(
|
1359
|
+
for (var t = e.split(Dn).filter(function(c) {
|
1395
1360
|
return c.length > 0;
|
1396
1361
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1397
1362
|
var s = i[n], o = s.split("/");
|
@@ -1406,17 +1371,17 @@ function Vn(e) {
|
|
1406
1371
|
}
|
1407
1372
|
return r;
|
1408
1373
|
}
|
1409
|
-
function
|
1374
|
+
function $n(e) {
|
1410
1375
|
return e.replace(/^(.*?)-/, "");
|
1411
1376
|
}
|
1412
|
-
var
|
1413
|
-
function
|
1377
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
1378
|
+
function St(e) {
|
1414
1379
|
var t = {};
|
1415
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1380
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
1416
1381
|
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)), "";
|
1417
1382
|
}), t;
|
1418
1383
|
}
|
1419
|
-
function
|
1384
|
+
function hr(e) {
|
1420
1385
|
switch (e) {
|
1421
1386
|
case "sign-auto":
|
1422
1387
|
return {
|
@@ -1456,7 +1421,7 @@ function mr(e) {
|
|
1456
1421
|
};
|
1457
1422
|
}
|
1458
1423
|
}
|
1459
|
-
function
|
1424
|
+
function kn(e) {
|
1460
1425
|
var t;
|
1461
1426
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1462
1427
|
notation: "engineering"
|
@@ -1464,17 +1429,17 @@ function zn(e) {
|
|
1464
1429
|
notation: "scientific"
|
1465
1430
|
}, e = e.slice(1)), t) {
|
1466
1431
|
var r = e.slice(0, 2);
|
1467
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1432
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
|
1468
1433
|
throw new Error("Malformed concise eng/scientific notation");
|
1469
1434
|
t.minimumIntegerDigits = e.length;
|
1470
1435
|
}
|
1471
1436
|
return t;
|
1472
1437
|
}
|
1473
|
-
function
|
1474
|
-
var t = {}, r =
|
1438
|
+
function wt(e) {
|
1439
|
+
var t = {}, r = hr(e);
|
1475
1440
|
return r || t;
|
1476
1441
|
}
|
1477
|
-
function
|
1442
|
+
function Vn(e) {
|
1478
1443
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1479
1444
|
var i = n[r];
|
1480
1445
|
switch (i.stem) {
|
@@ -1498,7 +1463,7 @@ function Zn(e) {
|
|
1498
1463
|
continue;
|
1499
1464
|
case "measure-unit":
|
1500
1465
|
case "unit":
|
1501
|
-
t.style = "unit", t.unit =
|
1466
|
+
t.style = "unit", t.unit = $n(i.options[0]);
|
1502
1467
|
continue;
|
1503
1468
|
case "compact-short":
|
1504
1469
|
case "K":
|
@@ -1509,13 +1474,13 @@ function Zn(e) {
|
|
1509
1474
|
t.notation = "compact", t.compactDisplay = "long";
|
1510
1475
|
continue;
|
1511
1476
|
case "scientific":
|
1512
|
-
t =
|
1513
|
-
return
|
1477
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1478
|
+
return v(v({}, h), wt(u));
|
1514
1479
|
}, {}));
|
1515
1480
|
continue;
|
1516
1481
|
case "engineering":
|
1517
|
-
t =
|
1518
|
-
return
|
1482
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1483
|
+
return v(v({}, h), wt(u));
|
1519
1484
|
}, {}));
|
1520
1485
|
continue;
|
1521
1486
|
case "notation-simple":
|
@@ -1560,7 +1525,7 @@ function Zn(e) {
|
|
1560
1525
|
case "integer-width":
|
1561
1526
|
if (i.options.length > 1)
|
1562
1527
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1563
|
-
i.options[0].replace(
|
1528
|
+
i.options[0].replace(jn, function(h, u, l, m, c, d) {
|
1564
1529
|
if (u)
|
1565
1530
|
t.minimumIntegerDigits = l.length;
|
1566
1531
|
else {
|
@@ -1573,32 +1538,32 @@ function Zn(e) {
|
|
1573
1538
|
});
|
1574
1539
|
continue;
|
1575
1540
|
}
|
1576
|
-
if (
|
1541
|
+
if (ur.test(i.stem)) {
|
1577
1542
|
t.minimumIntegerDigits = i.stem.length;
|
1578
1543
|
continue;
|
1579
1544
|
}
|
1580
|
-
if (
|
1545
|
+
if (xt.test(i.stem)) {
|
1581
1546
|
if (i.options.length > 1)
|
1582
1547
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1583
|
-
i.stem.replace(
|
1548
|
+
i.stem.replace(xt, function(h, u, l, m, c, d) {
|
1584
1549
|
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), "";
|
1585
1550
|
});
|
1586
1551
|
var s = i.options[0];
|
1587
|
-
s === "w" ? t =
|
1552
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
|
1588
1553
|
continue;
|
1589
1554
|
}
|
1590
|
-
if (
|
1591
|
-
t =
|
1555
|
+
if (ar.test(i.stem)) {
|
1556
|
+
t = v(v({}, t), St(i.stem));
|
1592
1557
|
continue;
|
1593
1558
|
}
|
1594
|
-
var o =
|
1595
|
-
o && (t =
|
1596
|
-
var a =
|
1597
|
-
a && (t =
|
1559
|
+
var o = hr(i.stem);
|
1560
|
+
o && (t = v(v({}, t), o));
|
1561
|
+
var a = kn(i.stem);
|
1562
|
+
a && (t = v(v({}, t), a));
|
1598
1563
|
}
|
1599
1564
|
return t;
|
1600
1565
|
}
|
1601
|
-
var
|
1566
|
+
var ye = {
|
1602
1567
|
"001": [
|
1603
1568
|
"H",
|
1604
1569
|
"h"
|
@@ -3013,13 +2978,13 @@ var ge = {
|
|
3013
2978
|
"h"
|
3014
2979
|
]
|
3015
2980
|
};
|
3016
|
-
function
|
2981
|
+
function Xn(e, t) {
|
3017
2982
|
for (var r = "", n = 0; n < e.length; n++) {
|
3018
2983
|
var i = e.charAt(n);
|
3019
2984
|
if (i === "j") {
|
3020
2985
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3021
2986
|
s++, n++;
|
3022
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
2987
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
|
3023
2988
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3024
2989
|
r += h;
|
3025
2990
|
for (; o-- > 0; )
|
@@ -3029,7 +2994,7 @@ function Qn(e, t) {
|
|
3029
2994
|
}
|
3030
2995
|
return r;
|
3031
2996
|
}
|
3032
|
-
function
|
2997
|
+
function Wn(e) {
|
3033
2998
|
var t = e.hourCycle;
|
3034
2999
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3035
3000
|
e.hourCycles && // @ts-ignore
|
@@ -3048,23 +3013,23 @@ function Yn(e) {
|
|
3048
3013
|
}
|
3049
3014
|
var r = e.language, n;
|
3050
3015
|
r !== "root" && (n = e.maximize().region);
|
3051
|
-
var i =
|
3016
|
+
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
3052
3017
|
return i[0];
|
3053
3018
|
}
|
3054
|
-
var
|
3055
|
-
function
|
3019
|
+
var Re, zn = new RegExp("^".concat(or.source, "*")), Zn = new RegExp("".concat(or.source, "*$"));
|
3020
|
+
function g(e, t) {
|
3056
3021
|
return { start: e, end: t };
|
3057
3022
|
}
|
3058
|
-
var
|
3023
|
+
var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
|
3059
3024
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3060
|
-
},
|
3025
|
+
}, Ze = !0;
|
3061
3026
|
try {
|
3062
|
-
var
|
3063
|
-
|
3027
|
+
var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3028
|
+
Ze = ((Re = ni.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
3064
3029
|
} catch {
|
3065
|
-
|
3030
|
+
Ze = !1;
|
3066
3031
|
}
|
3067
|
-
var
|
3032
|
+
var Tt = Qn ? (
|
3068
3033
|
// Native
|
3069
3034
|
function(t, r, n) {
|
3070
3035
|
return t.startsWith(r, n);
|
@@ -3074,7 +3039,7 @@ var Pt = Kn ? (
|
|
3074
3039
|
function(t, r, n) {
|
3075
3040
|
return t.slice(n, n + r.length) === r;
|
3076
3041
|
}
|
3077
|
-
),
|
3042
|
+
), Qe = Yn ? String.fromCodePoint : (
|
3078
3043
|
// IE11
|
3079
3044
|
function() {
|
3080
3045
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3086,9 +3051,9 @@ var Pt = Kn ? (
|
|
3086
3051
|
}
|
3087
3052
|
return n;
|
3088
3053
|
}
|
3089
|
-
),
|
3054
|
+
), Ht = (
|
3090
3055
|
// native
|
3091
|
-
|
3056
|
+
qn ? Object.fromEntries : (
|
3092
3057
|
// Ponyfill
|
3093
3058
|
function(t) {
|
3094
3059
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3098,7 +3063,7 @@ var Pt = Kn ? (
|
|
3098
3063
|
return r;
|
3099
3064
|
}
|
3100
3065
|
)
|
3101
|
-
),
|
3066
|
+
), lr = Jn ? (
|
3102
3067
|
// Native
|
3103
3068
|
function(t, r) {
|
3104
3069
|
return t.codePointAt(r);
|
@@ -3112,7 +3077,7 @@ var Pt = Kn ? (
|
|
3112
3077
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3113
3078
|
}
|
3114
3079
|
}
|
3115
|
-
),
|
3080
|
+
), ii = Kn ? (
|
3116
3081
|
// Native
|
3117
3082
|
function(t) {
|
3118
3083
|
return t.trimStart();
|
@@ -3120,9 +3085,9 @@ var Pt = Kn ? (
|
|
3120
3085
|
) : (
|
3121
3086
|
// Ponyfill
|
3122
3087
|
function(t) {
|
3123
|
-
return t.replace(
|
3088
|
+
return t.replace(zn, "");
|
3124
3089
|
}
|
3125
|
-
),
|
3090
|
+
), si = ei ? (
|
3126
3091
|
// Native
|
3127
3092
|
function(t) {
|
3128
3093
|
return t.trimEnd();
|
@@ -3130,32 +3095,32 @@ var Pt = Kn ? (
|
|
3130
3095
|
) : (
|
3131
3096
|
// Ponyfill
|
3132
3097
|
function(t) {
|
3133
|
-
return t.replace(
|
3098
|
+
return t.replace(Zn, "");
|
3134
3099
|
}
|
3135
3100
|
);
|
3136
|
-
function
|
3101
|
+
function cr(e, t) {
|
3137
3102
|
return new RegExp(e, t);
|
3138
3103
|
}
|
3139
|
-
var
|
3140
|
-
if (
|
3141
|
-
var
|
3142
|
-
|
3104
|
+
var Ye;
|
3105
|
+
if (Ze) {
|
3106
|
+
var At = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3107
|
+
Ye = function(t, r) {
|
3143
3108
|
var n;
|
3144
|
-
|
3145
|
-
var i =
|
3109
|
+
At.lastIndex = r;
|
3110
|
+
var i = At.exec(t);
|
3146
3111
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3147
3112
|
};
|
3148
3113
|
} else
|
3149
|
-
|
3114
|
+
Ye = function(t, r) {
|
3150
3115
|
for (var n = []; ; ) {
|
3151
|
-
var i =
|
3152
|
-
if (i === void 0 ||
|
3116
|
+
var i = lr(t, r);
|
3117
|
+
if (i === void 0 || fr(i) || hi(i))
|
3153
3118
|
break;
|
3154
3119
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3155
3120
|
}
|
3156
|
-
return
|
3121
|
+
return Qe.apply(void 0, n);
|
3157
3122
|
};
|
3158
|
-
var
|
3123
|
+
var oi = (
|
3159
3124
|
/** @class */
|
3160
3125
|
function() {
|
3161
3126
|
function e(t, r) {
|
@@ -3179,14 +3144,14 @@ var li = (
|
|
3179
3144
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3180
3145
|
var a = this.clonePosition();
|
3181
3146
|
this.bump(), i.push({
|
3182
|
-
type:
|
3183
|
-
location:
|
3147
|
+
type: x.pound,
|
3148
|
+
location: g(a, this.clonePosition())
|
3184
3149
|
});
|
3185
3150
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3186
3151
|
if (n)
|
3187
3152
|
break;
|
3188
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
3189
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3153
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3154
|
+
} else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
3190
3155
|
var o = this.parseTag(t, r);
|
3191
3156
|
if (o.err)
|
3192
3157
|
return o;
|
@@ -3207,9 +3172,9 @@ var li = (
|
|
3207
3172
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3208
3173
|
return {
|
3209
3174
|
val: {
|
3210
|
-
type:
|
3175
|
+
type: x.literal,
|
3211
3176
|
value: "<".concat(i, "/>"),
|
3212
|
-
location:
|
3177
|
+
location: g(n, this.clonePosition())
|
3213
3178
|
},
|
3214
3179
|
err: null
|
3215
3180
|
};
|
@@ -3219,25 +3184,25 @@ var li = (
|
|
3219
3184
|
return s;
|
3220
3185
|
var o = s.val, a = this.clonePosition();
|
3221
3186
|
if (this.bumpIf("</")) {
|
3222
|
-
if (this.isEOF() || !
|
3223
|
-
return this.error(p.INVALID_TAG,
|
3187
|
+
if (this.isEOF() || !qe(this.char()))
|
3188
|
+
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3224
3189
|
var h = this.clonePosition(), u = this.parseTagName();
|
3225
|
-
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG,
|
3190
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3226
3191
|
val: {
|
3227
|
-
type:
|
3192
|
+
type: x.tag,
|
3228
3193
|
value: i,
|
3229
3194
|
children: o,
|
3230
|
-
location:
|
3195
|
+
location: g(n, this.clonePosition())
|
3231
3196
|
},
|
3232
3197
|
err: null
|
3233
|
-
} : this.error(p.INVALID_TAG,
|
3198
|
+
} : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
|
3234
3199
|
} else
|
3235
|
-
return this.error(p.UNCLOSED_TAG,
|
3200
|
+
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
3236
3201
|
} else
|
3237
|
-
return this.error(p.INVALID_TAG,
|
3202
|
+
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3238
3203
|
}, e.prototype.parseTagName = function() {
|
3239
3204
|
var t = this.offset();
|
3240
|
-
for (this.bump(); !this.isEOF() &&
|
3205
|
+
for (this.bump(); !this.isEOF() && ui(this.char()); )
|
3241
3206
|
this.bump();
|
3242
3207
|
return this.message.slice(t, this.offset());
|
3243
3208
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3259,14 +3224,14 @@ var li = (
|
|
3259
3224
|
}
|
3260
3225
|
break;
|
3261
3226
|
}
|
3262
|
-
var h =
|
3227
|
+
var h = g(n, this.clonePosition());
|
3263
3228
|
return {
|
3264
|
-
val: { type:
|
3229
|
+
val: { type: x.literal, value: i, location: h },
|
3265
3230
|
err: null
|
3266
3231
|
};
|
3267
3232
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3268
3233
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3269
|
-
!
|
3234
|
+
!ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3270
3235
|
}, e.prototype.tryParseQuote = function(t) {
|
3271
3236
|
if (this.isEOF() || this.char() !== 39)
|
3272
3237
|
return null;
|
@@ -3300,49 +3265,49 @@ var li = (
|
|
3300
3265
|
r.push(n);
|
3301
3266
|
this.bump();
|
3302
3267
|
}
|
3303
|
-
return
|
3268
|
+
return Qe.apply(void 0, r);
|
3304
3269
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3305
3270
|
if (this.isEOF())
|
3306
3271
|
return null;
|
3307
3272
|
var n = this.char();
|
3308
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3273
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
3309
3274
|
}, e.prototype.parseArgument = function(t, r) {
|
3310
3275
|
var n = this.clonePosition();
|
3311
3276
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3312
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3277
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
3313
3278
|
if (this.char() === 125)
|
3314
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
3279
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
3315
3280
|
var i = this.parseIdentifierIfPossible().value;
|
3316
3281
|
if (!i)
|
3317
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3282
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3318
3283
|
if (this.bumpSpace(), this.isEOF())
|
3319
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3284
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
3320
3285
|
switch (this.char()) {
|
3321
3286
|
case 125:
|
3322
3287
|
return this.bump(), {
|
3323
3288
|
val: {
|
3324
|
-
type:
|
3289
|
+
type: x.argument,
|
3325
3290
|
// value does not include the opening and closing braces.
|
3326
3291
|
value: i,
|
3327
|
-
location:
|
3292
|
+
location: g(n, this.clonePosition())
|
3328
3293
|
},
|
3329
3294
|
err: null
|
3330
3295
|
};
|
3331
3296
|
case 44:
|
3332
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3297
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
3333
3298
|
default:
|
3334
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3299
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3335
3300
|
}
|
3336
3301
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3337
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3302
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
3338
3303
|
this.bumpTo(i);
|
3339
|
-
var s = this.clonePosition(), o =
|
3304
|
+
var s = this.clonePosition(), o = g(t, s);
|
3340
3305
|
return { value: n, location: o };
|
3341
3306
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3342
3307
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
3343
3308
|
switch (a) {
|
3344
3309
|
case "":
|
3345
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
3310
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(o, h));
|
3346
3311
|
case "number":
|
3347
3312
|
case "date":
|
3348
3313
|
case "time": {
|
@@ -3353,46 +3318,46 @@ var li = (
|
|
3353
3318
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3354
3319
|
if (m.err)
|
3355
3320
|
return m;
|
3356
|
-
var c =
|
3321
|
+
var c = si(m.val);
|
3357
3322
|
if (c.length === 0)
|
3358
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
3359
|
-
var d =
|
3323
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3324
|
+
var d = g(l, this.clonePosition());
|
3360
3325
|
u = { style: c, styleLocation: d };
|
3361
3326
|
}
|
3362
3327
|
var b = this.tryParseArgumentClose(i);
|
3363
3328
|
if (b.err)
|
3364
3329
|
return b;
|
3365
|
-
var
|
3366
|
-
if (u &&
|
3367
|
-
var T =
|
3330
|
+
var y = g(i, this.clonePosition());
|
3331
|
+
if (u && Tt(u?.style, "::", 0)) {
|
3332
|
+
var T = ii(u.style.slice(2));
|
3368
3333
|
if (a === "number") {
|
3369
3334
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3370
3335
|
return m.err ? m : {
|
3371
|
-
val: { type:
|
3336
|
+
val: { type: x.number, value: n, location: y, style: m.val },
|
3372
3337
|
err: null
|
3373
3338
|
};
|
3374
3339
|
} else {
|
3375
3340
|
if (T.length === 0)
|
3376
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
3341
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3377
3342
|
var C = T;
|
3378
|
-
this.locale && (C =
|
3343
|
+
this.locale && (C = Xn(T, this.locale));
|
3379
3344
|
var c = {
|
3380
|
-
type:
|
3345
|
+
type: K.dateTime,
|
3381
3346
|
pattern: C,
|
3382
3347
|
location: u.styleLocation,
|
3383
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3384
|
-
}, P = a === "date" ?
|
3348
|
+
parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
|
3349
|
+
}, P = a === "date" ? x.date : x.time;
|
3385
3350
|
return {
|
3386
|
-
val: { type: P, value: n, location:
|
3351
|
+
val: { type: P, value: n, location: y, style: c },
|
3387
3352
|
err: null
|
3388
3353
|
};
|
3389
3354
|
}
|
3390
3355
|
}
|
3391
3356
|
return {
|
3392
3357
|
val: {
|
3393
|
-
type: a === "number" ?
|
3358
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
3394
3359
|
value: n,
|
3395
|
-
location:
|
3360
|
+
location: y,
|
3396
3361
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
3397
3362
|
},
|
3398
3363
|
err: null
|
@@ -3403,50 +3368,50 @@ var li = (
|
|
3403
3368
|
case "select": {
|
3404
3369
|
var w = this.clonePosition();
|
3405
3370
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3406
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
3371
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
|
3407
3372
|
this.bumpSpace();
|
3408
|
-
var
|
3409
|
-
if (a !== "select" &&
|
3373
|
+
var N = this.parseIdentifierIfPossible(), O = 0;
|
3374
|
+
if (a !== "select" && N.value === "offset") {
|
3410
3375
|
if (!this.bumpIf(":"))
|
3411
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
3376
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3412
3377
|
this.bumpSpace();
|
3413
3378
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3414
3379
|
if (m.err)
|
3415
3380
|
return m;
|
3416
|
-
this.bumpSpace(),
|
3381
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
|
3417
3382
|
}
|
3418
|
-
var M = this.tryParsePluralOrSelectOptions(t, a, r,
|
3383
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
3419
3384
|
if (M.err)
|
3420
3385
|
return M;
|
3421
3386
|
var b = this.tryParseArgumentClose(i);
|
3422
3387
|
if (b.err)
|
3423
3388
|
return b;
|
3424
|
-
var
|
3389
|
+
var E = g(i, this.clonePosition());
|
3425
3390
|
return a === "select" ? {
|
3426
3391
|
val: {
|
3427
|
-
type:
|
3392
|
+
type: x.select,
|
3428
3393
|
value: n,
|
3429
|
-
options:
|
3430
|
-
location:
|
3394
|
+
options: Ht(M.val),
|
3395
|
+
location: E
|
3431
3396
|
},
|
3432
3397
|
err: null
|
3433
3398
|
} : {
|
3434
3399
|
val: {
|
3435
|
-
type:
|
3400
|
+
type: x.plural,
|
3436
3401
|
value: n,
|
3437
|
-
options:
|
3438
|
-
offset:
|
3402
|
+
options: Ht(M.val),
|
3403
|
+
offset: O,
|
3439
3404
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3440
|
-
location:
|
3405
|
+
location: E
|
3441
3406
|
},
|
3442
3407
|
err: null
|
3443
3408
|
};
|
3444
3409
|
}
|
3445
3410
|
default:
|
3446
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
3411
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(o, h));
|
3447
3412
|
}
|
3448
3413
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3449
|
-
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3414
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
3450
3415
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3451
3416
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3452
3417
|
var n = this.char();
|
@@ -3455,7 +3420,7 @@ var li = (
|
|
3455
3420
|
this.bump();
|
3456
3421
|
var i = this.clonePosition();
|
3457
3422
|
if (!this.bumpUntil("'"))
|
3458
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
3423
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
3459
3424
|
this.bump();
|
3460
3425
|
break;
|
3461
3426
|
}
|
@@ -3485,16 +3450,16 @@ var li = (
|
|
3485
3450
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3486
3451
|
var n = [];
|
3487
3452
|
try {
|
3488
|
-
n =
|
3453
|
+
n = Fn(t);
|
3489
3454
|
} catch {
|
3490
3455
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3491
3456
|
}
|
3492
3457
|
return {
|
3493
3458
|
val: {
|
3494
|
-
type:
|
3459
|
+
type: K.number,
|
3495
3460
|
tokens: n,
|
3496
3461
|
location: r,
|
3497
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3462
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
|
3498
3463
|
},
|
3499
3464
|
err: null
|
3500
3465
|
};
|
@@ -3506,7 +3471,7 @@ var li = (
|
|
3506
3471
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3507
3472
|
if (c.err)
|
3508
3473
|
return c;
|
3509
|
-
l =
|
3474
|
+
l = g(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
3510
3475
|
} else
|
3511
3476
|
break;
|
3512
3477
|
}
|
@@ -3515,22 +3480,22 @@ var li = (
|
|
3515
3480
|
u === "other" && (o = !0), this.bumpSpace();
|
3516
3481
|
var d = this.clonePosition();
|
3517
3482
|
if (!this.bumpIf("{"))
|
3518
|
-
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3483
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
3519
3484
|
var b = this.parseMessage(t + 1, r, n);
|
3520
3485
|
if (b.err)
|
3521
3486
|
return b;
|
3522
|
-
var
|
3523
|
-
if (
|
3524
|
-
return
|
3487
|
+
var y = this.tryParseArgumentClose(d);
|
3488
|
+
if (y.err)
|
3489
|
+
return y;
|
3525
3490
|
a.push([
|
3526
3491
|
u,
|
3527
3492
|
{
|
3528
3493
|
value: b.val,
|
3529
|
-
location:
|
3494
|
+
location: g(d, this.clonePosition())
|
3530
3495
|
}
|
3531
3496
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
3532
3497
|
}
|
3533
|
-
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3498
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3534
3499
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3535
3500
|
var n = 1, i = this.clonePosition();
|
3536
3501
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3541,8 +3506,8 @@ var li = (
|
|
3541
3506
|
else
|
3542
3507
|
break;
|
3543
3508
|
}
|
3544
|
-
var h =
|
3545
|
-
return s ? (o *= n,
|
3509
|
+
var h = g(i, this.clonePosition());
|
3510
|
+
return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3546
3511
|
}, e.prototype.offset = function() {
|
3547
3512
|
return this.position.offset;
|
3548
3513
|
}, e.prototype.isEOF = function() {
|
@@ -3557,7 +3522,7 @@ var li = (
|
|
3557
3522
|
var t = this.position.offset;
|
3558
3523
|
if (t >= this.message.length)
|
3559
3524
|
throw Error("out of bound");
|
3560
|
-
var r =
|
3525
|
+
var r = lr(this.message, t);
|
3561
3526
|
if (r === void 0)
|
3562
3527
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3563
3528
|
return r;
|
@@ -3576,7 +3541,7 @@ var li = (
|
|
3576
3541
|
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);
|
3577
3542
|
}
|
3578
3543
|
}, e.prototype.bumpIf = function(t) {
|
3579
|
-
if (
|
3544
|
+
if (Tt(this.message, t, this.offset())) {
|
3580
3545
|
for (var r = 0; r < t.length; r++)
|
3581
3546
|
this.bump();
|
3582
3547
|
return !0;
|
@@ -3598,7 +3563,7 @@ var li = (
|
|
3598
3563
|
break;
|
3599
3564
|
}
|
3600
3565
|
}, e.prototype.bumpSpace = function() {
|
3601
|
-
for (; !this.isEOF() &&
|
3566
|
+
for (; !this.isEOF() && fr(this.char()); )
|
3602
3567
|
this.bump();
|
3603
3568
|
}, e.prototype.peek = function() {
|
3604
3569
|
if (this.isEOF())
|
@@ -3608,47 +3573,47 @@ var li = (
|
|
3608
3573
|
}, e;
|
3609
3574
|
}()
|
3610
3575
|
);
|
3611
|
-
function
|
3576
|
+
function qe(e) {
|
3612
3577
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3613
3578
|
}
|
3614
|
-
function
|
3615
|
-
return
|
3579
|
+
function ai(e) {
|
3580
|
+
return qe(e) || e === 47;
|
3616
3581
|
}
|
3617
|
-
function
|
3582
|
+
function ui(e) {
|
3618
3583
|
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;
|
3619
3584
|
}
|
3620
|
-
function
|
3585
|
+
function fr(e) {
|
3621
3586
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3622
3587
|
}
|
3623
|
-
function
|
3588
|
+
function hi(e) {
|
3624
3589
|
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;
|
3625
3590
|
}
|
3626
|
-
function
|
3591
|
+
function Je(e) {
|
3627
3592
|
e.forEach(function(t) {
|
3628
|
-
if (delete t.location,
|
3593
|
+
if (delete t.location, rr(t) || nr(t))
|
3629
3594
|
for (var r in t.options)
|
3630
|
-
delete t.options[r].location,
|
3595
|
+
delete t.options[r].location, Je(t.options[r].value);
|
3631
3596
|
else
|
3632
|
-
|
3597
|
+
Kt(t) && sr(t.style) || (er(t) || tr(t)) && ze(t.style) ? delete t.style.location : ir(t) && Je(t.children);
|
3633
3598
|
});
|
3634
3599
|
}
|
3635
|
-
function
|
3636
|
-
t === void 0 && (t = {}), t =
|
3637
|
-
var r = new
|
3600
|
+
function li(e, t) {
|
3601
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3602
|
+
var r = new oi(e, t).parse();
|
3638
3603
|
if (r.err) {
|
3639
3604
|
var n = SyntaxError(p[r.err.kind]);
|
3640
3605
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3641
3606
|
}
|
3642
|
-
return t?.captureLocation ||
|
3607
|
+
return t?.captureLocation || Je(r.val), r.val;
|
3643
3608
|
}
|
3644
|
-
var
|
3609
|
+
var ee;
|
3645
3610
|
(function(e) {
|
3646
3611
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3647
|
-
})(
|
3648
|
-
var
|
3612
|
+
})(ee || (ee = {}));
|
3613
|
+
var Ae = (
|
3649
3614
|
/** @class */
|
3650
3615
|
function(e) {
|
3651
|
-
|
3616
|
+
U(t, e);
|
3652
3617
|
function t(r, n, i) {
|
3653
3618
|
var s = e.call(this, r) || this;
|
3654
3619
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3657,48 +3622,48 @@ var Pe = (
|
|
3657
3622
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3658
3623
|
}, t;
|
3659
3624
|
}(Error)
|
3660
|
-
),
|
3625
|
+
), Bt = (
|
3661
3626
|
/** @class */
|
3662
3627
|
function(e) {
|
3663
|
-
|
3628
|
+
U(t, e);
|
3664
3629
|
function t(r, n, i, s) {
|
3665
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3630
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
3666
3631
|
}
|
3667
3632
|
return t;
|
3668
|
-
}(
|
3669
|
-
),
|
3633
|
+
}(Ae)
|
3634
|
+
), ci = (
|
3670
3635
|
/** @class */
|
3671
3636
|
function(e) {
|
3672
|
-
|
3637
|
+
U(t, e);
|
3673
3638
|
function t(r, n, i) {
|
3674
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3639
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
3675
3640
|
}
|
3676
3641
|
return t;
|
3677
|
-
}(
|
3678
|
-
),
|
3642
|
+
}(Ae)
|
3643
|
+
), fi = (
|
3679
3644
|
/** @class */
|
3680
3645
|
function(e) {
|
3681
|
-
|
3646
|
+
U(t, e);
|
3682
3647
|
function t(r, n) {
|
3683
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3648
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
3684
3649
|
}
|
3685
3650
|
return t;
|
3686
|
-
}(
|
3651
|
+
}(Ae)
|
3687
3652
|
), H;
|
3688
3653
|
(function(e) {
|
3689
3654
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3690
3655
|
})(H || (H = {}));
|
3691
|
-
function
|
3656
|
+
function mi(e) {
|
3692
3657
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3693
3658
|
var n = t[t.length - 1];
|
3694
3659
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3695
3660
|
}, []);
|
3696
3661
|
}
|
3697
|
-
function
|
3662
|
+
function di(e) {
|
3698
3663
|
return typeof e == "function";
|
3699
3664
|
}
|
3700
3665
|
function Ee(e, t, r, n, i, s, o) {
|
3701
|
-
if (e.length === 1 &&
|
3666
|
+
if (e.length === 1 && Et(e[0]))
|
3702
3667
|
return [
|
3703
3668
|
{
|
3704
3669
|
type: H.literal,
|
@@ -3707,14 +3672,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3707
3672
|
];
|
3708
3673
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3709
3674
|
var l = u[h];
|
3710
|
-
if (
|
3675
|
+
if (Et(l)) {
|
3711
3676
|
a.push({
|
3712
3677
|
type: H.literal,
|
3713
3678
|
value: l.value
|
3714
3679
|
});
|
3715
3680
|
continue;
|
3716
3681
|
}
|
3717
|
-
if (
|
3682
|
+
if (Rn(l)) {
|
3718
3683
|
typeof s == "number" && a.push({
|
3719
3684
|
type: H.literal,
|
3720
3685
|
value: r.getNumberFormat(t).format(s)
|
@@ -3723,89 +3688,89 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3723
3688
|
}
|
3724
3689
|
var m = l.value;
|
3725
3690
|
if (!(i && m in i))
|
3726
|
-
throw new
|
3691
|
+
throw new fi(m, o);
|
3727
3692
|
var c = i[m];
|
3728
|
-
if (
|
3693
|
+
if (Mn(l)) {
|
3729
3694
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3730
3695
|
type: typeof c == "string" ? H.literal : H.object,
|
3731
3696
|
value: c
|
3732
3697
|
});
|
3733
3698
|
continue;
|
3734
3699
|
}
|
3735
|
-
if (
|
3736
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3700
|
+
if (er(l)) {
|
3701
|
+
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
3737
3702
|
a.push({
|
3738
3703
|
type: H.literal,
|
3739
3704
|
value: r.getDateTimeFormat(t, d).format(c)
|
3740
3705
|
});
|
3741
3706
|
continue;
|
3742
3707
|
}
|
3743
|
-
if (
|
3744
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3708
|
+
if (tr(l)) {
|
3709
|
+
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
3745
3710
|
a.push({
|
3746
3711
|
type: H.literal,
|
3747
3712
|
value: r.getDateTimeFormat(t, d).format(c)
|
3748
3713
|
});
|
3749
3714
|
continue;
|
3750
3715
|
}
|
3751
|
-
if (
|
3752
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3716
|
+
if (Kt(l)) {
|
3717
|
+
var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
|
3753
3718
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3754
3719
|
type: H.literal,
|
3755
3720
|
value: r.getNumberFormat(t, d).format(c)
|
3756
3721
|
});
|
3757
3722
|
continue;
|
3758
3723
|
}
|
3759
|
-
if (
|
3760
|
-
var b = l.children,
|
3761
|
-
if (!
|
3762
|
-
throw new
|
3763
|
-
var C = Ee(b, t, r, n, i, s), P = T(C.map(function(
|
3764
|
-
return
|
3724
|
+
if (ir(l)) {
|
3725
|
+
var b = l.children, y = l.value, T = i[y];
|
3726
|
+
if (!di(T))
|
3727
|
+
throw new ci(y, "function", o);
|
3728
|
+
var C = Ee(b, t, r, n, i, s), P = T(C.map(function(O) {
|
3729
|
+
return O.value;
|
3765
3730
|
}));
|
3766
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
3731
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
|
3767
3732
|
return {
|
3768
|
-
type: typeof
|
3769
|
-
value:
|
3733
|
+
type: typeof O == "string" ? H.literal : H.object,
|
3734
|
+
value: O
|
3770
3735
|
};
|
3771
3736
|
}));
|
3772
3737
|
}
|
3773
|
-
if (
|
3738
|
+
if (rr(l)) {
|
3774
3739
|
var w = l.options[c] || l.options.other;
|
3775
3740
|
if (!w)
|
3776
|
-
throw new
|
3741
|
+
throw new Bt(l.value, c, Object.keys(l.options), o);
|
3777
3742
|
a.push.apply(a, Ee(w.value, t, r, n, i));
|
3778
3743
|
continue;
|
3779
3744
|
}
|
3780
|
-
if (
|
3745
|
+
if (nr(l)) {
|
3781
3746
|
var w = l.options["=".concat(c)];
|
3782
3747
|
if (!w) {
|
3783
3748
|
if (!Intl.PluralRules)
|
3784
|
-
throw new
|
3749
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
3785
3750
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3786
|
-
`,
|
3787
|
-
var
|
3788
|
-
w = l.options[
|
3751
|
+
`, ee.MISSING_INTL_API, o);
|
3752
|
+
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3753
|
+
w = l.options[N] || l.options.other;
|
3789
3754
|
}
|
3790
3755
|
if (!w)
|
3791
|
-
throw new
|
3756
|
+
throw new Bt(l.value, c, Object.keys(l.options), o);
|
3792
3757
|
a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
|
3793
3758
|
continue;
|
3794
3759
|
}
|
3795
3760
|
}
|
3796
|
-
return
|
3761
|
+
return mi(a);
|
3797
3762
|
}
|
3798
|
-
function
|
3799
|
-
return t ?
|
3800
|
-
return r[n] =
|
3763
|
+
function bi(e, t) {
|
3764
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3765
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
3801
3766
|
}, {})) : e;
|
3802
3767
|
}
|
3803
|
-
function
|
3768
|
+
function pi(e, t) {
|
3804
3769
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3805
|
-
return r[n] =
|
3806
|
-
},
|
3770
|
+
return r[n] = bi(e[n], t[n]), r;
|
3771
|
+
}, v({}, e)) : e;
|
3807
3772
|
}
|
3808
|
-
function
|
3773
|
+
function Ge(e) {
|
3809
3774
|
return {
|
3810
3775
|
create: function() {
|
3811
3776
|
return {
|
@@ -3819,39 +3784,39 @@ function $e(e) {
|
|
3819
3784
|
}
|
3820
3785
|
};
|
3821
3786
|
}
|
3822
|
-
function
|
3787
|
+
function gi(e) {
|
3823
3788
|
return e === void 0 && (e = {
|
3824
3789
|
number: {},
|
3825
3790
|
dateTime: {},
|
3826
3791
|
pluralRules: {}
|
3827
3792
|
}), {
|
3828
|
-
getNumberFormat:
|
3793
|
+
getNumberFormat: Ce(function() {
|
3829
3794
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3830
3795
|
r[n] = arguments[n];
|
3831
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3796
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
3832
3797
|
}, {
|
3833
|
-
cache:
|
3834
|
-
strategy:
|
3798
|
+
cache: Ge(e.number),
|
3799
|
+
strategy: Me.variadic
|
3835
3800
|
}),
|
3836
|
-
getDateTimeFormat:
|
3801
|
+
getDateTimeFormat: Ce(function() {
|
3837
3802
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3838
3803
|
r[n] = arguments[n];
|
3839
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3804
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
3840
3805
|
}, {
|
3841
|
-
cache:
|
3842
|
-
strategy:
|
3806
|
+
cache: Ge(e.dateTime),
|
3807
|
+
strategy: Me.variadic
|
3843
3808
|
}),
|
3844
|
-
getPluralRules:
|
3809
|
+
getPluralRules: Ce(function() {
|
3845
3810
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3846
3811
|
r[n] = arguments[n];
|
3847
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3812
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
3848
3813
|
}, {
|
3849
|
-
cache:
|
3850
|
-
strategy:
|
3814
|
+
cache: Ge(e.pluralRules),
|
3815
|
+
strategy: Me.variadic
|
3851
3816
|
})
|
3852
3817
|
};
|
3853
3818
|
}
|
3854
|
-
var
|
3819
|
+
var yi = (
|
3855
3820
|
/** @class */
|
3856
3821
|
function() {
|
3857
3822
|
function e(t, r, n, i) {
|
@@ -3883,13 +3848,13 @@ var xi = (
|
|
3883
3848
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3884
3849
|
var o = i || {};
|
3885
3850
|
o.formatters;
|
3886
|
-
var a =
|
3887
|
-
this.ast = e.__parse(t,
|
3851
|
+
var a = Qr(o, ["formatters"]);
|
3852
|
+
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
3888
3853
|
} else
|
3889
3854
|
this.ast = t;
|
3890
3855
|
if (!Array.isArray(this.ast))
|
3891
3856
|
throw new TypeError("A message must be provided as a String or AST.");
|
3892
|
-
this.formats =
|
3857
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
3893
3858
|
}
|
3894
3859
|
return Object.defineProperty(e, "defaultLocale", {
|
3895
3860
|
get: function() {
|
@@ -3902,7 +3867,7 @@ var xi = (
|
|
3902
3867
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3903
3868
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3904
3869
|
}
|
3905
|
-
}, e.__parse =
|
3870
|
+
}, e.__parse = li, e.formats = {
|
3906
3871
|
number: {
|
3907
3872
|
integer: {
|
3908
3873
|
maximumFractionDigits: 0
|
@@ -3963,7 +3928,7 @@ var xi = (
|
|
3963
3928
|
}, e;
|
3964
3929
|
}()
|
3965
3930
|
);
|
3966
|
-
function
|
3931
|
+
function vi(e, t) {
|
3967
3932
|
if (t == null)
|
3968
3933
|
return;
|
3969
3934
|
if (t in e)
|
@@ -3984,92 +3949,92 @@ function Si(e, t) {
|
|
3984
3949
|
n = void 0;
|
3985
3950
|
return n;
|
3986
3951
|
}
|
3987
|
-
const D = {},
|
3952
|
+
const D = {}, _i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), mr = (e, t) => {
|
3988
3953
|
if (t == null)
|
3989
3954
|
return;
|
3990
3955
|
if (t in D && e in D[t])
|
3991
3956
|
return D[t][e];
|
3992
|
-
const r =
|
3957
|
+
const r = Be(t);
|
3993
3958
|
for (let n = 0; n < r.length; n++) {
|
3994
|
-
const i = r[n], s =
|
3959
|
+
const i = r[n], s = xi(i, e);
|
3995
3960
|
if (s)
|
3996
|
-
return
|
3961
|
+
return _i(e, t, s);
|
3997
3962
|
}
|
3998
3963
|
};
|
3999
|
-
let
|
4000
|
-
const me =
|
4001
|
-
function
|
4002
|
-
return
|
3964
|
+
let it;
|
3965
|
+
const me = He({});
|
3966
|
+
function Ei(e) {
|
3967
|
+
return it[e] || null;
|
4003
3968
|
}
|
4004
|
-
function
|
4005
|
-
return e in
|
3969
|
+
function dr(e) {
|
3970
|
+
return e in it;
|
4006
3971
|
}
|
4007
|
-
function
|
4008
|
-
if (!
|
3972
|
+
function xi(e, t) {
|
3973
|
+
if (!dr(e))
|
4009
3974
|
return null;
|
4010
|
-
const r =
|
4011
|
-
return
|
3975
|
+
const r = Ei(e);
|
3976
|
+
return vi(r, t);
|
4012
3977
|
}
|
4013
|
-
function
|
3978
|
+
function Si(e) {
|
4014
3979
|
if (e == null)
|
4015
3980
|
return;
|
4016
|
-
const t =
|
3981
|
+
const t = Be(e);
|
4017
3982
|
for (let r = 0; r < t.length; r++) {
|
4018
3983
|
const n = t[r];
|
4019
|
-
if (
|
3984
|
+
if (dr(n))
|
4020
3985
|
return n;
|
4021
3986
|
}
|
4022
3987
|
}
|
4023
|
-
function
|
4024
|
-
delete D[e], me.update((r) => (r[e] =
|
3988
|
+
function br(e, ...t) {
|
3989
|
+
delete D[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
|
4025
3990
|
}
|
4026
|
-
|
3991
|
+
ie(
|
4027
3992
|
[me],
|
4028
3993
|
([e]) => Object.keys(e)
|
4029
3994
|
);
|
4030
|
-
me.subscribe((e) =>
|
3995
|
+
me.subscribe((e) => it = e);
|
4031
3996
|
const xe = {};
|
4032
|
-
function
|
3997
|
+
function wi(e, t) {
|
4033
3998
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
4034
3999
|
}
|
4035
|
-
function
|
4000
|
+
function pr(e) {
|
4036
4001
|
return xe[e];
|
4037
4002
|
}
|
4038
|
-
function
|
4039
|
-
return
|
4040
|
-
const r =
|
4003
|
+
function Ti(e) {
|
4004
|
+
return Be(e).map((t) => {
|
4005
|
+
const r = pr(t);
|
4041
4006
|
return [t, r ? [...r] : []];
|
4042
4007
|
}).filter(([, t]) => t.length > 0);
|
4043
4008
|
}
|
4044
|
-
function
|
4045
|
-
return e == null ? !1 :
|
4009
|
+
function Ke(e) {
|
4010
|
+
return e == null ? !1 : Be(e).some(
|
4046
4011
|
(t) => {
|
4047
4012
|
var r;
|
4048
|
-
return (r =
|
4013
|
+
return (r = pr(t)) == null ? void 0 : r.size;
|
4049
4014
|
}
|
4050
4015
|
);
|
4051
4016
|
}
|
4052
|
-
function
|
4017
|
+
function Hi(e, t) {
|
4053
4018
|
return Promise.all(
|
4054
|
-
t.map((n) => (
|
4055
|
-
).then((n) =>
|
4056
|
-
}
|
4057
|
-
const
|
4058
|
-
function
|
4059
|
-
if (!
|
4060
|
-
return e in
|
4061
|
-
const t =
|
4062
|
-
return
|
4019
|
+
t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
|
4020
|
+
).then((n) => br(e, ...n));
|
4021
|
+
}
|
4022
|
+
const oe = {};
|
4023
|
+
function gr(e) {
|
4024
|
+
if (!Ke(e))
|
4025
|
+
return e in oe ? oe[e] : Promise.resolve();
|
4026
|
+
const t = Ti(e);
|
4027
|
+
return oe[e] = Promise.all(
|
4063
4028
|
t.map(
|
4064
|
-
([r, n]) =>
|
4029
|
+
([r, n]) => Hi(r, n)
|
4065
4030
|
)
|
4066
4031
|
).then(() => {
|
4067
|
-
if (
|
4068
|
-
return
|
4069
|
-
delete
|
4070
|
-
}),
|
4032
|
+
if (Ke(e))
|
4033
|
+
return gr(e);
|
4034
|
+
delete oe[e];
|
4035
|
+
}), oe[e];
|
4071
4036
|
}
|
4072
|
-
const
|
4037
|
+
const Ai = {
|
4073
4038
|
number: {
|
4074
4039
|
scientific: { notation: "scientific" },
|
4075
4040
|
engineering: { notation: "engineering" },
|
@@ -4098,135 +4063,135 @@ const Ni = {
|
|
4098
4063
|
timeZoneName: "short"
|
4099
4064
|
}
|
4100
4065
|
}
|
4101
|
-
},
|
4066
|
+
}, Bi = {
|
4102
4067
|
fallbackLocale: null,
|
4103
4068
|
loadingDelay: 200,
|
4104
|
-
formats:
|
4069
|
+
formats: Ai,
|
4105
4070
|
warnOnMissingMessages: !0,
|
4106
4071
|
handleMissingMessage: void 0,
|
4107
4072
|
ignoreTag: !0
|
4108
|
-
},
|
4109
|
-
function
|
4110
|
-
return
|
4111
|
-
}
|
4112
|
-
const
|
4113
|
-
var
|
4114
|
-
for (var r in t
|
4115
|
-
|
4116
|
-
if (
|
4117
|
-
for (var r of
|
4118
|
-
|
4073
|
+
}, Pi = Bi;
|
4074
|
+
function te() {
|
4075
|
+
return Pi;
|
4076
|
+
}
|
4077
|
+
const Ue = He(!1);
|
4078
|
+
var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
4079
|
+
for (var r in t)
|
4080
|
+
Ii.call(t, r) && Nt(e, r, t[r]);
|
4081
|
+
if (Pt)
|
4082
|
+
for (var r of Pt(t))
|
4083
|
+
Ci.call(t, r) && Nt(e, r, t[r]);
|
4119
4084
|
return e;
|
4120
|
-
},
|
4121
|
-
let
|
4122
|
-
const
|
4123
|
-
function
|
4085
|
+
}, Ri = (e, t) => Oi(e, Li(t));
|
4086
|
+
let et;
|
4087
|
+
const Se = He(null);
|
4088
|
+
function Ot(e) {
|
4124
4089
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4125
4090
|
}
|
4126
|
-
function
|
4127
|
-
const r =
|
4128
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4091
|
+
function Be(e, t = te().fallbackLocale) {
|
4092
|
+
const r = Ot(e);
|
4093
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
4129
4094
|
}
|
4130
4095
|
function V() {
|
4131
|
-
return
|
4096
|
+
return et ?? void 0;
|
4132
4097
|
}
|
4133
|
-
|
4134
|
-
|
4098
|
+
Se.subscribe((e) => {
|
4099
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4135
4100
|
});
|
4136
|
-
const
|
4137
|
-
if (e &&
|
4138
|
-
const { loadingDelay: t } =
|
4101
|
+
const Gi = (e) => {
|
4102
|
+
if (e && Si(e) && Ke(e)) {
|
4103
|
+
const { loadingDelay: t } = te();
|
4139
4104
|
let r;
|
4140
4105
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4141
|
-
() =>
|
4106
|
+
() => Ue.set(!0),
|
4142
4107
|
t
|
4143
|
-
) :
|
4144
|
-
|
4108
|
+
) : Ue.set(!0), gr(e).then(() => {
|
4109
|
+
Se.set(e);
|
4145
4110
|
}).finally(() => {
|
4146
|
-
clearTimeout(r),
|
4111
|
+
clearTimeout(r), Ue.set(!1);
|
4147
4112
|
});
|
4148
4113
|
}
|
4149
|
-
return
|
4150
|
-
}, de =
|
4151
|
-
set:
|
4152
|
-
}),
|
4114
|
+
return Se.set(e);
|
4115
|
+
}, de = Ri(Mi({}, Se), {
|
4116
|
+
set: Gi
|
4117
|
+
}), Pe = (e) => {
|
4153
4118
|
const t = /* @__PURE__ */ Object.create(null);
|
4154
4119
|
return (n) => {
|
4155
4120
|
const i = JSON.stringify(n);
|
4156
4121
|
return i in t ? t[i] : t[i] = e(n);
|
4157
4122
|
};
|
4158
4123
|
};
|
4159
|
-
var
|
4124
|
+
var Ui = Object.defineProperty, we = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
4160
4125
|
for (var r in t || (t = {}))
|
4161
|
-
|
4162
|
-
if (
|
4163
|
-
for (var r of
|
4164
|
-
|
4126
|
+
yr.call(t, r) && Lt(e, r, t[r]);
|
4127
|
+
if (we)
|
4128
|
+
for (var r of we(t))
|
4129
|
+
vr.call(t, r) && Lt(e, r, t[r]);
|
4165
4130
|
return e;
|
4166
|
-
},
|
4131
|
+
}, se = (e, t) => {
|
4167
4132
|
var r = {};
|
4168
4133
|
for (var n in e)
|
4169
|
-
|
4170
|
-
if (e != null &&
|
4171
|
-
for (var n of
|
4172
|
-
t.indexOf(n) < 0 &&
|
4134
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4135
|
+
if (e != null && we)
|
4136
|
+
for (var n of we(e))
|
4137
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
4173
4138
|
return r;
|
4174
4139
|
};
|
4175
|
-
const
|
4176
|
-
const { formats: r } =
|
4140
|
+
const le = (e, t) => {
|
4141
|
+
const { formats: r } = te();
|
4177
4142
|
if (e in r && t in r[e])
|
4178
4143
|
return r[e][t];
|
4179
4144
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4180
|
-
},
|
4145
|
+
}, Di = Pe(
|
4181
4146
|
(e) => {
|
4182
|
-
var t = e, { locale: r, format: n } = t, i =
|
4147
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4183
4148
|
if (r == null)
|
4184
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4185
|
-
return n && (i =
|
4150
|
+
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
4186
4151
|
}
|
4187
|
-
),
|
4152
|
+
), Fi = Pe(
|
4188
4153
|
(e) => {
|
4189
|
-
var t = e, { locale: r, format: n } = t, i =
|
4154
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4190
4155
|
if (r == null)
|
4191
4156
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4192
|
-
return n ? i =
|
4157
|
+
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
4193
4158
|
}
|
4194
|
-
),
|
4159
|
+
), $i = Pe(
|
4195
4160
|
(e) => {
|
4196
|
-
var t = e, { locale: r, format: n } = t, i =
|
4161
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4197
4162
|
if (r == null)
|
4198
4163
|
throw new Error(
|
4199
4164
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4200
4165
|
);
|
4201
|
-
return n ? i =
|
4166
|
+
return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
|
4202
4167
|
}
|
4203
|
-
),
|
4168
|
+
), ji = (e = {}) => {
|
4204
4169
|
var t = e, {
|
4205
4170
|
locale: r = V()
|
4206
|
-
} = t, n =
|
4171
|
+
} = t, n = se(t, [
|
4207
4172
|
"locale"
|
4208
4173
|
]);
|
4209
|
-
return
|
4210
|
-
},
|
4174
|
+
return Di(st({ locale: r }, n));
|
4175
|
+
}, ki = (e = {}) => {
|
4211
4176
|
var t = e, {
|
4212
4177
|
locale: r = V()
|
4213
|
-
} = t, n =
|
4178
|
+
} = t, n = se(t, [
|
4214
4179
|
"locale"
|
4215
4180
|
]);
|
4216
|
-
return
|
4217
|
-
},
|
4181
|
+
return Fi(st({ locale: r }, n));
|
4182
|
+
}, Vi = (e = {}) => {
|
4218
4183
|
var t = e, {
|
4219
4184
|
locale: r = V()
|
4220
|
-
} = t, n =
|
4185
|
+
} = t, n = se(t, [
|
4221
4186
|
"locale"
|
4222
4187
|
]);
|
4223
|
-
return
|
4224
|
-
},
|
4188
|
+
return $i(st({ locale: r }, n));
|
4189
|
+
}, Xi = Pe(
|
4225
4190
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4226
|
-
(e, t = V()) => new
|
4227
|
-
ignoreTag:
|
4191
|
+
(e, t = V()) => new yi(e, t, te().formats, {
|
4192
|
+
ignoreTag: te().ignoreTag
|
4228
4193
|
})
|
4229
|
-
),
|
4194
|
+
), Wi = (e, t = {}) => {
|
4230
4195
|
var r, n, i, s;
|
4231
4196
|
let o = t;
|
4232
4197
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4239,9 +4204,9 @@ const he = (e, t) => {
|
|
4239
4204
|
throw new Error(
|
4240
4205
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4241
4206
|
);
|
4242
|
-
let l =
|
4207
|
+
let l = mr(e, h);
|
4243
4208
|
if (!l)
|
4244
|
-
l = (s = (i = (n = (r =
|
4209
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4245
4210
|
else if (typeof l != "string")
|
4246
4211
|
return console.warn(
|
4247
4212
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4250,7 +4215,7 @@ const he = (e, t) => {
|
|
4250
4215
|
return l;
|
4251
4216
|
let m = l;
|
4252
4217
|
try {
|
4253
|
-
m =
|
4218
|
+
m = Xi(l, h).format(a);
|
4254
4219
|
} catch (c) {
|
4255
4220
|
c instanceof Error && console.warn(
|
4256
4221
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4258,20 +4223,20 @@ const he = (e, t) => {
|
|
4258
4223
|
);
|
4259
4224
|
}
|
4260
4225
|
return m;
|
4261
|
-
},
|
4262
|
-
|
4263
|
-
|
4264
|
-
|
4265
|
-
|
4266
|
-
window.emWidgets = { topic:
|
4267
|
-
const
|
4268
|
-
function
|
4226
|
+
}, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => mr(e, t), qi = ie([de, me], () => Wi);
|
4227
|
+
ie([de], () => zi);
|
4228
|
+
ie([de], () => Zi);
|
4229
|
+
ie([de], () => Qi);
|
4230
|
+
ie([de, me], () => Yi);
|
4231
|
+
window.emWidgets = { topic: ln };
|
4232
|
+
const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4233
|
+
function Ki(e, t) {
|
4269
4234
|
if (e) {
|
4270
4235
|
const r = document.createElement("style");
|
4271
4236
|
r.innerHTML = t, e.appendChild(r);
|
4272
4237
|
}
|
4273
4238
|
}
|
4274
|
-
function
|
4239
|
+
function es(e, t) {
|
4275
4240
|
const r = new URL(t);
|
4276
4241
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4277
4242
|
const i = document.createElement("style");
|
@@ -4280,7 +4245,7 @@ function is(e, t) {
|
|
4280
4245
|
console.error("There was an error while trying to load client styling from URL", n);
|
4281
4246
|
});
|
4282
4247
|
}
|
4283
|
-
function
|
4248
|
+
function ts(e, t, r) {
|
4284
4249
|
if (window.emMessageBus) {
|
4285
4250
|
const n = document.createElement("style");
|
4286
4251
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4288,10 +4253,10 @@ function ss(e, t, r) {
|
|
4288
4253
|
});
|
4289
4254
|
}
|
4290
4255
|
}
|
4291
|
-
function
|
4292
|
-
|
4256
|
+
function It(e, t) {
|
4257
|
+
br(e, t);
|
4293
4258
|
}
|
4294
|
-
const
|
4259
|
+
const Ct = {
|
4295
4260
|
en: {
|
4296
4261
|
lobbyName: "Lobby",
|
4297
4262
|
myGamesName: "My games"
|
@@ -4377,173 +4342,173 @@ if (typeof window < "u") {
|
|
4377
4342
|
}
|
4378
4343
|
};
|
4379
4344
|
};
|
4380
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4345
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-C2dsDPpR.js").then(({ default: t }) => {
|
4381
4346
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4382
4347
|
});
|
4383
4348
|
}
|
4384
|
-
function
|
4385
|
-
|
4349
|
+
function rs(e) {
|
4350
|
+
Or(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))}");
|
4386
4351
|
}
|
4387
|
-
function
|
4352
|
+
function ns(e) {
|
4388
4353
|
let t, r;
|
4389
4354
|
return {
|
4390
4355
|
c() {
|
4391
|
-
t = k("div"), r = k("casino-slider"),
|
4356
|
+
t = k("div"), r = k("casino-slider"), _(
|
4392
4357
|
r,
|
4393
4358
|
"lang",
|
4394
4359
|
/*lang*/
|
4395
4360
|
e[3]
|
4396
|
-
),
|
4361
|
+
), _(
|
4397
4362
|
r,
|
4398
4363
|
"datasource",
|
4399
4364
|
/*datasource*/
|
4400
4365
|
e[2]
|
4401
|
-
),
|
4366
|
+
), _(
|
4402
4367
|
r,
|
4403
4368
|
"endpoint",
|
4404
4369
|
/*endpoint*/
|
4405
4370
|
e[1]
|
4406
|
-
),
|
4371
|
+
), _(r, "identity", tt), _(
|
4407
4372
|
r,
|
4408
4373
|
"favoritesnumber",
|
4409
4374
|
/*numberOfFavoredGames*/
|
4410
4375
|
e[16]
|
4411
|
-
),
|
4376
|
+
), _(
|
4412
4377
|
r,
|
4413
4378
|
"showsubgroups",
|
4414
4379
|
/*showsubgroups*/
|
4415
4380
|
e[8]
|
4416
|
-
),
|
4381
|
+
), _(
|
4417
4382
|
r,
|
4418
4383
|
"clientstyling",
|
4419
4384
|
/*clientstyling*/
|
4420
4385
|
e[4]
|
4421
|
-
),
|
4386
|
+
), _(
|
4422
4387
|
r,
|
4423
4388
|
"clientstylingurl",
|
4424
4389
|
/*clientstylingurl*/
|
4425
4390
|
e[5]
|
4426
|
-
),
|
4391
|
+
), _(
|
4427
4392
|
r,
|
4428
4393
|
"mbsource",
|
4429
4394
|
/*mbsource*/
|
4430
4395
|
e[12]
|
4431
|
-
),
|
4396
|
+
), _(
|
4432
4397
|
r,
|
4433
4398
|
"activeindex",
|
4434
4399
|
/*activecategory*/
|
4435
4400
|
e[0]
|
4436
|
-
),
|
4401
|
+
), _(
|
4437
4402
|
r,
|
4438
4403
|
"actionevent",
|
4439
4404
|
/*actionevent*/
|
4440
4405
|
e[6]
|
4441
|
-
),
|
4406
|
+
), _(
|
4442
4407
|
r,
|
4443
4408
|
"location",
|
4444
4409
|
/*location*/
|
4445
4410
|
e[7]
|
4446
|
-
),
|
4411
|
+
), _(
|
4447
4412
|
r,
|
4448
4413
|
"categoriesicon",
|
4449
4414
|
/*categoriesicon*/
|
4450
4415
|
e[9]
|
4451
|
-
),
|
4416
|
+
), _(
|
4452
4417
|
r,
|
4453
4418
|
"lobbyiconimage",
|
4454
4419
|
/*lobbyiconimage*/
|
4455
4420
|
e[10]
|
4456
|
-
),
|
4421
|
+
), _(
|
4457
4422
|
r,
|
4458
4423
|
"mygamesiconimage",
|
4459
4424
|
/*mygamesiconimage*/
|
4460
4425
|
e[11]
|
4461
|
-
),
|
4426
|
+
), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4462
4427
|
},
|
4463
4428
|
m(n, i) {
|
4464
|
-
|
4429
|
+
ce(n, t, i), Ut(t, r);
|
4465
4430
|
},
|
4466
4431
|
p(n, i) {
|
4467
4432
|
i[0] & /*lang*/
|
4468
|
-
8 &&
|
4433
|
+
8 && _(
|
4469
4434
|
r,
|
4470
4435
|
"lang",
|
4471
4436
|
/*lang*/
|
4472
4437
|
n[3]
|
4473
4438
|
), i[0] & /*datasource*/
|
4474
|
-
4 &&
|
4439
|
+
4 && _(
|
4475
4440
|
r,
|
4476
4441
|
"datasource",
|
4477
4442
|
/*datasource*/
|
4478
4443
|
n[2]
|
4479
4444
|
), i[0] & /*endpoint*/
|
4480
|
-
2 &&
|
4445
|
+
2 && _(
|
4481
4446
|
r,
|
4482
4447
|
"endpoint",
|
4483
4448
|
/*endpoint*/
|
4484
4449
|
n[1]
|
4485
4450
|
), i[0] & /*numberOfFavoredGames*/
|
4486
|
-
65536 &&
|
4451
|
+
65536 && _(
|
4487
4452
|
r,
|
4488
4453
|
"favoritesnumber",
|
4489
4454
|
/*numberOfFavoredGames*/
|
4490
4455
|
n[16]
|
4491
4456
|
), i[0] & /*showsubgroups*/
|
4492
|
-
256 &&
|
4457
|
+
256 && _(
|
4493
4458
|
r,
|
4494
4459
|
"showsubgroups",
|
4495
4460
|
/*showsubgroups*/
|
4496
4461
|
n[8]
|
4497
4462
|
), i[0] & /*clientstyling*/
|
4498
|
-
16 &&
|
4463
|
+
16 && _(
|
4499
4464
|
r,
|
4500
4465
|
"clientstyling",
|
4501
4466
|
/*clientstyling*/
|
4502
4467
|
n[4]
|
4503
4468
|
), i[0] & /*clientstylingurl*/
|
4504
|
-
32 &&
|
4469
|
+
32 && _(
|
4505
4470
|
r,
|
4506
4471
|
"clientstylingurl",
|
4507
4472
|
/*clientstylingurl*/
|
4508
4473
|
n[5]
|
4509
4474
|
), i[0] & /*mbsource*/
|
4510
|
-
4096 &&
|
4475
|
+
4096 && _(
|
4511
4476
|
r,
|
4512
4477
|
"mbsource",
|
4513
4478
|
/*mbsource*/
|
4514
4479
|
n[12]
|
4515
4480
|
), i[0] & /*activecategory*/
|
4516
|
-
1 &&
|
4481
|
+
1 && _(
|
4517
4482
|
r,
|
4518
4483
|
"activeindex",
|
4519
4484
|
/*activecategory*/
|
4520
4485
|
n[0]
|
4521
4486
|
), i[0] & /*actionevent*/
|
4522
|
-
64 &&
|
4487
|
+
64 && _(
|
4523
4488
|
r,
|
4524
4489
|
"actionevent",
|
4525
4490
|
/*actionevent*/
|
4526
4491
|
n[6]
|
4527
4492
|
), i[0] & /*location*/
|
4528
|
-
128 &&
|
4493
|
+
128 && _(
|
4529
4494
|
r,
|
4530
4495
|
"location",
|
4531
4496
|
/*location*/
|
4532
4497
|
n[7]
|
4533
4498
|
), i[0] & /*categoriesicon*/
|
4534
|
-
512 &&
|
4499
|
+
512 && _(
|
4535
4500
|
r,
|
4536
4501
|
"categoriesicon",
|
4537
4502
|
/*categoriesicon*/
|
4538
4503
|
n[9]
|
4539
4504
|
), i[0] & /*lobbyiconimage*/
|
4540
|
-
1024 &&
|
4505
|
+
1024 && _(
|
4541
4506
|
r,
|
4542
4507
|
"lobbyiconimage",
|
4543
4508
|
/*lobbyiconimage*/
|
4544
4509
|
n[10]
|
4545
4510
|
), i[0] & /*mygamesiconimage*/
|
4546
|
-
2048 &&
|
4511
|
+
2048 && _(
|
4547
4512
|
r,
|
4548
4513
|
"mygamesiconimage",
|
4549
4514
|
/*mygamesiconimage*/
|
@@ -4551,48 +4516,48 @@ function as(e) {
|
|
4551
4516
|
);
|
4552
4517
|
},
|
4553
4518
|
d(n) {
|
4554
|
-
n &&
|
4519
|
+
n && ne(t);
|
4555
4520
|
}
|
4556
4521
|
};
|
4557
4522
|
}
|
4558
|
-
function
|
4523
|
+
function is(e) {
|
4559
4524
|
let t;
|
4560
4525
|
return {
|
4561
4526
|
c() {
|
4562
|
-
t = k("p"), t.textContent = "500 Error - Internal Server Error.",
|
4527
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
|
4563
4528
|
},
|
4564
4529
|
m(r, n) {
|
4565
|
-
|
4530
|
+
ce(r, t, n);
|
4566
4531
|
},
|
4567
4532
|
p: I,
|
4568
4533
|
d(r) {
|
4569
|
-
r &&
|
4534
|
+
r && ne(t);
|
4570
4535
|
}
|
4571
4536
|
};
|
4572
4537
|
}
|
4573
|
-
function
|
4538
|
+
function ss(e) {
|
4574
4539
|
let t;
|
4575
4540
|
return {
|
4576
4541
|
c() {
|
4577
|
-
t = k("div"),
|
4542
|
+
t = k("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4578
4543
|
},
|
4579
4544
|
m(r, n) {
|
4580
|
-
|
4545
|
+
ce(r, t, n);
|
4581
4546
|
},
|
4582
4547
|
p: I,
|
4583
4548
|
d(r) {
|
4584
|
-
r &&
|
4549
|
+
r && ne(t);
|
4585
4550
|
}
|
4586
4551
|
};
|
4587
4552
|
}
|
4588
|
-
function
|
4553
|
+
function os(e) {
|
4589
4554
|
let t;
|
4590
4555
|
function r(s, o) {
|
4591
4556
|
return (
|
4592
4557
|
/*isLoading*/
|
4593
|
-
s[13] ||
|
4558
|
+
s[13] || as || us ? ss : (
|
4594
4559
|
/*hasErrors*/
|
4595
|
-
s[15] ?
|
4560
|
+
s[15] ? is : ns
|
4596
4561
|
)
|
4597
4562
|
);
|
4598
4563
|
}
|
@@ -4602,7 +4567,7 @@ function ls(e) {
|
|
4602
4567
|
t = k("div"), i.c();
|
4603
4568
|
},
|
4604
4569
|
m(s, o) {
|
4605
|
-
|
4570
|
+
ce(s, t, o), i.m(t, null), e[26](t);
|
4606
4571
|
},
|
4607
4572
|
p(s, o) {
|
4608
4573
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4610,54 +4575,54 @@ function ls(e) {
|
|
4610
4575
|
i: I,
|
4611
4576
|
o: I,
|
4612
4577
|
d(s) {
|
4613
|
-
s &&
|
4578
|
+
s && ne(t), i.d(), e[26](null);
|
4614
4579
|
}
|
4615
4580
|
};
|
4616
4581
|
}
|
4617
|
-
let
|
4618
|
-
function
|
4582
|
+
let tt = "CasinoSliderData", as = !1, us = !1;
|
4583
|
+
function hs(e, t, r) {
|
4619
4584
|
let n;
|
4620
|
-
|
4621
|
-
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:
|
4622
|
-
const
|
4623
|
-
fetch(
|
4585
|
+
Nr(e, qi, (f) => r(32, n = f));
|
4586
|
+
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: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, L, F, $ = !0, X, W = [], j = !1, _r = window.navigator.userAgent, R, ot, at = !1, Ne = !1;
|
4587
|
+
const Er = () => {
|
4588
|
+
fetch(N).then((B) => B.json()).then((B) => {
|
4624
4589
|
Object.keys(B).forEach((be) => {
|
4625
|
-
|
4590
|
+
It(be, B[be]);
|
4626
4591
|
});
|
4627
4592
|
}).catch((B) => {
|
4628
4593
|
console.log(B);
|
4629
4594
|
});
|
4630
4595
|
};
|
4631
|
-
Object.keys(
|
4632
|
-
|
4596
|
+
Object.keys(Ct).forEach((f) => {
|
4597
|
+
It(f, Ct[f]);
|
4633
4598
|
});
|
4634
|
-
const
|
4635
|
-
|
4599
|
+
const xr = () => {
|
4600
|
+
at == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4636
4601
|
// @ts-ignore
|
4637
4602
|
id: "MYGAMES",
|
4638
4603
|
name: L,
|
4639
4604
|
href: "",
|
4640
4605
|
games: []
|
4641
|
-
}),
|
4642
|
-
},
|
4643
|
-
if (L = n("myGamesName"),
|
4606
|
+
}), Ur(), at = !0, r(25, Ne = !0), ut();
|
4607
|
+
}, Sr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), wr = () => {
|
4608
|
+
if (L = n("myGamesName"), F = n("lobbyName"), !Sr()) {
|
4644
4609
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4645
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4610
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", Ji(_r)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4646
4611
|
(B) => {
|
4647
|
-
let be = w.split(","),
|
4648
|
-
let
|
4649
|
-
if (
|
4650
|
-
for (let
|
4651
|
-
|
4652
|
-
return
|
4612
|
+
let be = w.split(","), Ar = B.items.filter((lt) => {
|
4613
|
+
let Oe = !1;
|
4614
|
+
if (lt.games.total > 0 && (Oe = !0, w))
|
4615
|
+
for (let Br of be)
|
4616
|
+
lt.flags == Br && (Oe = !1);
|
4617
|
+
return Oe;
|
4653
4618
|
});
|
4654
|
-
W = [], W = W.concat(
|
4619
|
+
W = [], W = W.concat(Ar), W.unshift({
|
4655
4620
|
// @ts-ignore
|
4656
4621
|
id: "LOBBY",
|
4657
|
-
name:
|
4622
|
+
name: F,
|
4658
4623
|
href: "",
|
4659
4624
|
games: []
|
4660
|
-
}), r(13,
|
4625
|
+
}), r(13, $ = !1);
|
4661
4626
|
},
|
4662
4627
|
(B) => {
|
4663
4628
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
@@ -4666,58 +4631,58 @@ function ms(e, t, r) {
|
|
4666
4631
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
4667
4632
|
});
|
4668
4633
|
}
|
4669
|
-
},
|
4634
|
+
}, Tr = () => {
|
4670
4635
|
let f = b.split("$");
|
4671
4636
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4672
|
-
},
|
4637
|
+
}, ut = () => {
|
4673
4638
|
window.postMessage(
|
4674
4639
|
{
|
4675
4640
|
type: "SliderData",
|
4676
|
-
identity:
|
4641
|
+
identity: tt,
|
4677
4642
|
data: W
|
4678
4643
|
},
|
4679
4644
|
window.location.href
|
4680
4645
|
);
|
4681
|
-
},
|
4682
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4646
|
+
}, ht = (f) => {
|
4647
|
+
f.data && f.data.type == "SliderLoaded" && tt == f.data.identity && ut();
|
4683
4648
|
};
|
4684
|
-
|
4685
|
-
window.removeEventListener("message",
|
4649
|
+
Gr(() => (window.addEventListener("message", ht, !1), () => {
|
4650
|
+
window.removeEventListener("message", ht);
|
4686
4651
|
}));
|
4687
|
-
function
|
4688
|
-
|
4689
|
-
|
4652
|
+
function Hr(f) {
|
4653
|
+
De[f ? "unshift" : "push"](() => {
|
4654
|
+
R = f, r(14, R);
|
4690
4655
|
});
|
4691
4656
|
}
|
4692
4657
|
return e.$$set = (f) => {
|
4693
|
-
"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,
|
4658
|
+
"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, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4694
4659
|
}, e.$$.update = () => {
|
4695
4660
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4696
|
-
14 && i && s && o &&
|
4697
|
-
3940354 && i && h && (u || l || m) &&
|
4698
|
-
33824769 &&
|
4699
|
-
16777216 &&
|
4700
|
-
16400 && c &&
|
4701
|
-
16416 && d &&
|
4702
|
-
20480 &&
|
4703
|
-
}, r(16,
|
4661
|
+
14 && i && s && o && wr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4662
|
+
3940354 && i && h && (u || l || m) && !$ && xr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4663
|
+
33824769 && !$ && b && (!h || Ne) && Tr(), e.$$.dirty[0] & /*translationurl*/
|
4664
|
+
16777216 && N && Er(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4665
|
+
16400 && c && R && Ki(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4666
|
+
16416 && d && R && es(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4667
|
+
20480 && R && ts(R, `${A}.Style`);
|
4668
|
+
}, r(16, ot = 0), [
|
4704
4669
|
b,
|
4705
4670
|
i,
|
4706
4671
|
s,
|
4707
4672
|
o,
|
4708
4673
|
c,
|
4709
4674
|
d,
|
4710
|
-
|
4675
|
+
y,
|
4711
4676
|
C,
|
4712
4677
|
P,
|
4713
|
-
|
4678
|
+
O,
|
4714
4679
|
M,
|
4715
|
-
|
4680
|
+
E,
|
4716
4681
|
A,
|
4717
|
-
|
4718
|
-
|
4682
|
+
$,
|
4683
|
+
R,
|
4719
4684
|
j,
|
4720
|
-
|
4685
|
+
ot,
|
4721
4686
|
a,
|
4722
4687
|
h,
|
4723
4688
|
u,
|
@@ -4725,19 +4690,19 @@ function ms(e, t, r) {
|
|
4725
4690
|
m,
|
4726
4691
|
T,
|
4727
4692
|
w,
|
4728
|
-
|
4729
|
-
|
4730
|
-
|
4693
|
+
N,
|
4694
|
+
Ne,
|
4695
|
+
Hr
|
4731
4696
|
];
|
4732
4697
|
}
|
4733
|
-
class
|
4698
|
+
class ls extends zr {
|
4734
4699
|
constructor(t) {
|
4735
|
-
super(),
|
4700
|
+
super(), Xr(
|
4736
4701
|
this,
|
4737
4702
|
t,
|
4738
|
-
|
4739
|
-
|
4740
|
-
|
4703
|
+
hs,
|
4704
|
+
os,
|
4705
|
+
Rt,
|
4741
4706
|
{
|
4742
4707
|
endpoint: 1,
|
4743
4708
|
datasource: 2,
|
@@ -4761,7 +4726,7 @@ class ds extends qr {
|
|
4761
4726
|
mygamesiconimage: 11,
|
4762
4727
|
mbsource: 12
|
4763
4728
|
},
|
4764
|
-
|
4729
|
+
rs,
|
4765
4730
|
[-1, -1]
|
4766
4731
|
);
|
4767
4732
|
}
|
@@ -4769,161 +4734,161 @@ class ds extends qr {
|
|
4769
4734
|
return this.$$.ctx[1];
|
4770
4735
|
}
|
4771
4736
|
set endpoint(t) {
|
4772
|
-
this.$$set({ endpoint: t }),
|
4737
|
+
this.$$set({ endpoint: t }), S();
|
4773
4738
|
}
|
4774
4739
|
get datasource() {
|
4775
4740
|
return this.$$.ctx[2];
|
4776
4741
|
}
|
4777
4742
|
set datasource(t) {
|
4778
|
-
this.$$set({ datasource: t }),
|
4743
|
+
this.$$set({ datasource: t }), S();
|
4779
4744
|
}
|
4780
4745
|
get lang() {
|
4781
4746
|
return this.$$.ctx[3];
|
4782
4747
|
}
|
4783
4748
|
set lang(t) {
|
4784
|
-
this.$$set({ lang: t }),
|
4749
|
+
this.$$set({ lang: t }), S();
|
4785
4750
|
}
|
4786
4751
|
get userid() {
|
4787
4752
|
return this.$$.ctx[17];
|
4788
4753
|
}
|
4789
4754
|
set userid(t) {
|
4790
|
-
this.$$set({ userid: t }),
|
4755
|
+
this.$$set({ userid: t }), S();
|
4791
4756
|
}
|
4792
4757
|
get session() {
|
4793
4758
|
return this.$$.ctx[18];
|
4794
4759
|
}
|
4795
4760
|
set session(t) {
|
4796
|
-
this.$$set({ session: t }),
|
4761
|
+
this.$$set({ session: t }), S();
|
4797
4762
|
}
|
4798
4763
|
get mostplayed() {
|
4799
4764
|
return this.$$.ctx[19];
|
4800
4765
|
}
|
4801
4766
|
set mostplayed(t) {
|
4802
|
-
this.$$set({ mostplayed: t }),
|
4767
|
+
this.$$set({ mostplayed: t }), S();
|
4803
4768
|
}
|
4804
4769
|
get lastplayed() {
|
4805
4770
|
return this.$$.ctx[20];
|
4806
4771
|
}
|
4807
4772
|
set lastplayed(t) {
|
4808
|
-
this.$$set({ lastplayed: t }),
|
4773
|
+
this.$$set({ lastplayed: t }), S();
|
4809
4774
|
}
|
4810
4775
|
get favorites() {
|
4811
4776
|
return this.$$.ctx[21];
|
4812
4777
|
}
|
4813
4778
|
set favorites(t) {
|
4814
|
-
this.$$set({ favorites: t }),
|
4779
|
+
this.$$set({ favorites: t }), S();
|
4815
4780
|
}
|
4816
4781
|
get clientstyling() {
|
4817
4782
|
return this.$$.ctx[4];
|
4818
4783
|
}
|
4819
4784
|
set clientstyling(t) {
|
4820
|
-
this.$$set({ clientstyling: t }),
|
4785
|
+
this.$$set({ clientstyling: t }), S();
|
4821
4786
|
}
|
4822
4787
|
get clientstylingurl() {
|
4823
4788
|
return this.$$.ctx[5];
|
4824
4789
|
}
|
4825
4790
|
set clientstylingurl(t) {
|
4826
|
-
this.$$set({ clientstylingurl: t }),
|
4791
|
+
this.$$set({ clientstylingurl: t }), S();
|
4827
4792
|
}
|
4828
4793
|
get activecategory() {
|
4829
4794
|
return this.$$.ctx[0];
|
4830
4795
|
}
|
4831
4796
|
set activecategory(t) {
|
4832
|
-
this.$$set({ activecategory: t }),
|
4797
|
+
this.$$set({ activecategory: t }), S();
|
4833
4798
|
}
|
4834
4799
|
get actionevent() {
|
4835
4800
|
return this.$$.ctx[6];
|
4836
4801
|
}
|
4837
4802
|
set actionevent(t) {
|
4838
|
-
this.$$set({ actionevent: t }),
|
4803
|
+
this.$$set({ actionevent: t }), S();
|
4839
4804
|
}
|
4840
4805
|
get sessioncheck() {
|
4841
4806
|
return this.$$.ctx[22];
|
4842
4807
|
}
|
4843
4808
|
set sessioncheck(t) {
|
4844
|
-
this.$$set({ sessioncheck: t }),
|
4809
|
+
this.$$set({ sessioncheck: t }), S();
|
4845
4810
|
}
|
4846
4811
|
get location() {
|
4847
4812
|
return this.$$.ctx[7];
|
4848
4813
|
}
|
4849
4814
|
set location(t) {
|
4850
|
-
this.$$set({ location: t }),
|
4815
|
+
this.$$set({ location: t }), S();
|
4851
4816
|
}
|
4852
4817
|
get showsubgroups() {
|
4853
4818
|
return this.$$.ctx[8];
|
4854
4819
|
}
|
4855
4820
|
set showsubgroups(t) {
|
4856
|
-
this.$$set({ showsubgroups: t }),
|
4821
|
+
this.$$set({ showsubgroups: t }), S();
|
4857
4822
|
}
|
4858
4823
|
get filteredcategories() {
|
4859
4824
|
return this.$$.ctx[23];
|
4860
4825
|
}
|
4861
4826
|
set filteredcategories(t) {
|
4862
|
-
this.$$set({ filteredcategories: t }),
|
4827
|
+
this.$$set({ filteredcategories: t }), S();
|
4863
4828
|
}
|
4864
4829
|
get translationurl() {
|
4865
4830
|
return this.$$.ctx[24];
|
4866
4831
|
}
|
4867
4832
|
set translationurl(t) {
|
4868
|
-
this.$$set({ translationurl: t }),
|
4833
|
+
this.$$set({ translationurl: t }), S();
|
4869
4834
|
}
|
4870
4835
|
get categoriesicon() {
|
4871
4836
|
return this.$$.ctx[9];
|
4872
4837
|
}
|
4873
4838
|
set categoriesicon(t) {
|
4874
|
-
this.$$set({ categoriesicon: t }),
|
4839
|
+
this.$$set({ categoriesicon: t }), S();
|
4875
4840
|
}
|
4876
4841
|
get lobbyiconimage() {
|
4877
4842
|
return this.$$.ctx[10];
|
4878
4843
|
}
|
4879
4844
|
set lobbyiconimage(t) {
|
4880
|
-
this.$$set({ lobbyiconimage: t }),
|
4845
|
+
this.$$set({ lobbyiconimage: t }), S();
|
4881
4846
|
}
|
4882
4847
|
get mygamesiconimage() {
|
4883
4848
|
return this.$$.ctx[11];
|
4884
4849
|
}
|
4885
4850
|
set mygamesiconimage(t) {
|
4886
|
-
this.$$set({ mygamesiconimage: t }),
|
4851
|
+
this.$$set({ mygamesiconimage: t }), S();
|
4887
4852
|
}
|
4888
4853
|
get mbsource() {
|
4889
4854
|
return this.$$.ctx[12];
|
4890
4855
|
}
|
4891
4856
|
set mbsource(t) {
|
4892
|
-
this.$$set({ mbsource: t }),
|
4857
|
+
this.$$set({ mbsource: t }), S();
|
4893
4858
|
}
|
4894
4859
|
}
|
4895
|
-
|
4860
|
+
Wr(ls, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4896
4861
|
export {
|
4897
4862
|
de as $,
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4863
|
+
fs as A,
|
4864
|
+
Dt as B,
|
4865
|
+
ps as C,
|
4866
|
+
ls as D,
|
4867
|
+
zr as S,
|
4903
4868
|
me as a,
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
k,
|
4914
|
-
|
4915
|
-
|
4869
|
+
br as b,
|
4870
|
+
Wr as c,
|
4871
|
+
Or as d,
|
4872
|
+
k as e,
|
4873
|
+
S as f,
|
4874
|
+
ms as g,
|
4875
|
+
fe as h,
|
4876
|
+
Xr as i,
|
4877
|
+
ce as j,
|
4878
|
+
Ut as k,
|
4879
|
+
bs as l,
|
4880
|
+
ne as m,
|
4916
4881
|
I as n,
|
4917
|
-
|
4918
|
-
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4882
|
+
Gr as o,
|
4883
|
+
gs as p,
|
4884
|
+
ds as q,
|
4885
|
+
re as r,
|
4886
|
+
Rt as s,
|
4887
|
+
cs as t,
|
4888
|
+
vs as u,
|
4889
|
+
De as v,
|
4890
|
+
Ki as w,
|
4891
|
+
es as x,
|
4892
|
+
ts as y,
|
4893
|
+
ys as z
|
4929
4894
|
};
|