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