@everymatrix/casino-categories-slider 1.65.3 → 1.66.1
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-Bd1R0RB0.cjs +18 -0
- package/components/{CasinoCategoriesSlider-lUQbmZn9.js → CasinoCategoriesSlider-DMC9CFDg.js} +891 -856
- package/components/{CasinoCategoriesSlider-BWerxhh-.js → CasinoCategoriesSlider-Qhx13ZiU.js} +850 -815
- package/components/{CasinoSlider-DoAKa6rO.js → CasinoSlider-4oZFStFQ.js} +31 -31
- package/components/{CasinoSlider-C2dsDPpR.js → CasinoSlider-BCZsEGOH.js} +32 -32
- package/components/{CasinoSlider-CrbzADcf.cjs → CasinoSlider-BViBOG_Y.cjs} +1 -1
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-3NEy5qU2.cjs +0 -18
package/components/{CasinoCategoriesSlider-BWerxhh-.js → CasinoCategoriesSlider-Qhx13ZiU.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var $r = Object.defineProperty, Fr = Object.defineProperties;
|
2
|
+
var jr = Object.getOwnPropertyDescriptors;
|
3
|
+
var gt = Object.getOwnPropertySymbols;
|
4
|
+
var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Me = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (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 (gt)
|
9
|
+
for (var r of gt(t))
|
10
|
+
Vr.call(t, r) && Me(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var M = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, vt = (e, t) => Fr(e, jr(t));
|
13
|
+
var M = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var _t = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -29,29 +29,29 @@ var pt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function I() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Xt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function Et() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function re(e) {
|
39
|
+
e.forEach(Xt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function ht(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Wt(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 zt(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -60,20 +60,20 @@ function kt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function Wr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(zt(t, r));
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function Zt(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function zr(e, t, r) {
|
70
|
+
const n = Zr(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
72
|
const i = V("style");
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, Qr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function Zr(e) {
|
77
77
|
if (!e)
|
78
78
|
return document;
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,53 +83,53 @@ function Vr(e) {
|
|
83
83
|
t
|
84
84
|
) : e.ownerDocument;
|
85
85
|
}
|
86
|
-
function
|
87
|
-
return
|
86
|
+
function Qr(e, t) {
|
87
|
+
return Zt(
|
88
88
|
/** @type {Document} */
|
89
89
|
e.head || e,
|
90
90
|
t
|
91
91
|
), t.sheet;
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function ce(e, t, r) {
|
94
94
|
e.insertBefore(t, r || null);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function ne(e) {
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function Bs(e, t) {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r] && e[r].d(t);
|
102
102
|
}
|
103
103
|
function V(e) {
|
104
104
|
return document.createElement(e);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function Qt(e) {
|
107
107
|
return document.createTextNode(e);
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function Ps() {
|
110
|
+
return Qt(" ");
|
111
111
|
}
|
112
|
-
function
|
113
|
-
return
|
112
|
+
function Os() {
|
113
|
+
return Qt("");
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Ns(e, t, r, n) {
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
117
117
|
}
|
118
|
-
function
|
118
|
+
function fe(e, t, r) {
|
119
119
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
120
120
|
}
|
121
|
-
function
|
121
|
+
function v(e, t, r) {
|
122
122
|
const n = t.toLowerCase();
|
123
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
123
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
|
124
124
|
}
|
125
|
-
function
|
125
|
+
function Yr(e) {
|
126
126
|
return Array.from(e.childNodes);
|
127
127
|
}
|
128
|
-
function
|
128
|
+
function Ls(e, t) {
|
129
129
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
130
130
|
t);
|
131
131
|
}
|
132
|
-
function
|
132
|
+
function qr(e) {
|
133
133
|
const t = {};
|
134
134
|
return e.childNodes.forEach(
|
135
135
|
/** @param {Element} node */
|
@@ -138,123 +138,123 @@ function zr(e) {
|
|
138
138
|
}
|
139
139
|
), t;
|
140
140
|
}
|
141
|
-
let
|
142
|
-
function
|
143
|
-
|
141
|
+
let ue;
|
142
|
+
function ae(e) {
|
143
|
+
ue = e;
|
144
144
|
}
|
145
|
-
function
|
146
|
-
if (!
|
145
|
+
function Jr() {
|
146
|
+
if (!ue)
|
147
147
|
throw new Error("Function called outside component initialization");
|
148
|
-
return
|
148
|
+
return ue;
|
149
149
|
}
|
150
|
-
function
|
151
|
-
|
150
|
+
function Kr(e) {
|
151
|
+
Jr().$$.on_mount.push(e);
|
152
152
|
}
|
153
|
-
const Y = [],
|
153
|
+
const Y = [], Ve = [];
|
154
154
|
let q = [];
|
155
|
-
const
|
156
|
-
let
|
157
|
-
function
|
158
|
-
|
155
|
+
const xt = [], Yt = /* @__PURE__ */ Promise.resolve();
|
156
|
+
let Xe = !1;
|
157
|
+
function qt() {
|
158
|
+
Xe || (Xe = !0, Yt.then(x));
|
159
159
|
}
|
160
|
-
function
|
161
|
-
return
|
160
|
+
function en() {
|
161
|
+
return qt(), Yt;
|
162
162
|
}
|
163
|
-
function
|
163
|
+
function We(e) {
|
164
164
|
q.push(e);
|
165
165
|
}
|
166
|
-
const
|
166
|
+
const Re = /* @__PURE__ */ new Set();
|
167
167
|
let Z = 0;
|
168
|
-
function
|
168
|
+
function x() {
|
169
169
|
if (Z !== 0)
|
170
170
|
return;
|
171
|
-
const e =
|
171
|
+
const e = ue;
|
172
172
|
do {
|
173
173
|
try {
|
174
174
|
for (; Z < Y.length; ) {
|
175
175
|
const t = Y[Z];
|
176
|
-
Z++,
|
176
|
+
Z++, ae(t), tn(t.$$);
|
177
177
|
}
|
178
178
|
} catch (t) {
|
179
179
|
throw Y.length = 0, Z = 0, t;
|
180
180
|
}
|
181
|
-
for (
|
182
|
-
|
181
|
+
for (ae(null), Y.length = 0, Z = 0; Ve.length; )
|
182
|
+
Ve.pop()();
|
183
183
|
for (let t = 0; t < q.length; t += 1) {
|
184
184
|
const r = q[t];
|
185
|
-
|
185
|
+
Re.has(r) || (Re.add(r), r());
|
186
186
|
}
|
187
187
|
q.length = 0;
|
188
188
|
} while (Y.length);
|
189
|
-
for (;
|
190
|
-
|
191
|
-
|
189
|
+
for (; xt.length; )
|
190
|
+
xt.pop()();
|
191
|
+
Xe = !1, Re.clear(), ae(e);
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function tn(e) {
|
194
194
|
if (e.fragment !== null) {
|
195
|
-
e.update(),
|
195
|
+
e.update(), re(e.before_update);
|
196
196
|
const t = e.dirty;
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
197
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
198
198
|
}
|
199
199
|
}
|
200
|
-
function
|
200
|
+
function rn(e) {
|
201
201
|
const t = [], r = [];
|
202
202
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
203
203
|
}
|
204
|
-
const
|
205
|
-
function
|
206
|
-
e && e.i && (
|
204
|
+
const nn = /* @__PURE__ */ new Set();
|
205
|
+
function Jt(e, t) {
|
206
|
+
e && e.i && (nn.delete(e), e.i(t));
|
207
207
|
}
|
208
|
-
function
|
208
|
+
function Is(e) {
|
209
209
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
210
210
|
}
|
211
|
-
function
|
211
|
+
function Cs(e, t) {
|
212
212
|
e.d(1), t.delete(e.key);
|
213
213
|
}
|
214
|
-
function
|
214
|
+
function Ms(e, t, r, n, i, s, o, a, h, u, l, m) {
|
215
215
|
let c = e.length, d = s.length, b = c;
|
216
216
|
const y = {};
|
217
217
|
for (; b--; )
|
218
218
|
y[e[b].key] = b;
|
219
219
|
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
220
220
|
for (b = d; b--; ) {
|
221
|
-
const
|
221
|
+
const _ = m(i, s, b), A = r(_);
|
222
222
|
let L = o.get(A);
|
223
|
-
L ? w.push(() => L.p(
|
223
|
+
L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
|
224
224
|
}
|
225
|
-
const
|
226
|
-
function R(
|
227
|
-
|
225
|
+
const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
226
|
+
function R(_) {
|
227
|
+
Jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
228
228
|
}
|
229
229
|
for (; c && d; ) {
|
230
|
-
const
|
231
|
-
|
230
|
+
const _ = T[d - 1], A = e[c - 1], L = _.key, F = A.key;
|
231
|
+
_ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(L) || O.has(L) ? R(_) : N.has(F) ? c-- : P.get(L) > P.get(F) ? (N.add(L), R(_)) : (O.add(F), c--) : (h(A, o), c--);
|
232
232
|
}
|
233
233
|
for (; c--; ) {
|
234
|
-
const
|
235
|
-
C.has(
|
234
|
+
const _ = e[c];
|
235
|
+
C.has(_.key) || h(_, o);
|
236
236
|
}
|
237
237
|
for (; d; )
|
238
238
|
R(T[d - 1]);
|
239
|
-
return
|
239
|
+
return re(w), T;
|
240
240
|
}
|
241
|
-
function
|
241
|
+
function sn(e, t, r) {
|
242
242
|
const { fragment: n, after_update: i } = e.$$;
|
243
|
-
n && n.m(t, r),
|
244
|
-
const s = e.$$.on_mount.map(
|
245
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
246
|
-
}), i.forEach(
|
243
|
+
n && n.m(t, r), We(() => {
|
244
|
+
const s = e.$$.on_mount.map(Xt).filter(ht);
|
245
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
246
|
+
}), i.forEach(We);
|
247
247
|
}
|
248
|
-
function
|
248
|
+
function on(e, t) {
|
249
249
|
const r = e.$$;
|
250
|
-
r.fragment !== null && (
|
250
|
+
r.fragment !== null && (rn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
251
251
|
}
|
252
|
-
function
|
253
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
252
|
+
function an(e, t) {
|
253
|
+
e.$$.dirty[0] === -1 && (Y.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
254
254
|
}
|
255
|
-
function
|
256
|
-
const h =
|
257
|
-
|
255
|
+
function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
256
|
+
const h = ue;
|
257
|
+
ae(e);
|
258
258
|
const u = e.$$ = {
|
259
259
|
fragment: null,
|
260
260
|
ctx: [],
|
@@ -262,7 +262,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
262
262
|
props: s,
|
263
263
|
update: I,
|
264
264
|
not_equal: i,
|
265
|
-
bound:
|
265
|
+
bound: Et(),
|
266
266
|
// lifecycle
|
267
267
|
on_mount: [],
|
268
268
|
on_destroy: [],
|
@@ -271,7 +271,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
271
271
|
after_update: [],
|
272
272
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
273
273
|
// everything else
|
274
|
-
callbacks:
|
274
|
+
callbacks: Et(),
|
275
275
|
dirty: a,
|
276
276
|
skip_bound: !1,
|
277
277
|
root: t.target || h.$$.root
|
@@ -280,19 +280,19 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
280
280
|
let l = !1;
|
281
281
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
282
282
|
const b = d.length ? d[0] : c;
|
283
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
284
|
-
}) : [], u.update(), l = !0,
|
283
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && an(e, m)), c;
|
284
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
285
285
|
if (t.hydrate) {
|
286
|
-
const m =
|
287
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
286
|
+
const m = Yr(t.target);
|
287
|
+
u.fragment && u.fragment.l(m), m.forEach(ne);
|
288
288
|
} else
|
289
289
|
u.fragment && u.fragment.c();
|
290
|
-
t.intro &&
|
290
|
+
t.intro && Jt(e.$$.fragment), sn(e, t.target, t.anchor), x();
|
291
291
|
}
|
292
|
-
|
292
|
+
ae(h);
|
293
293
|
}
|
294
|
-
let
|
295
|
-
typeof HTMLElement == "function" && (
|
294
|
+
let Kt;
|
295
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
296
296
|
constructor(t, r, n) {
|
297
297
|
super();
|
298
298
|
/** The Svelte component constructor */
|
@@ -329,31 +329,31 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
329
329
|
}
|
330
330
|
}
|
331
331
|
connectedCallback() {
|
332
|
-
return
|
332
|
+
return _t(this, null, function* () {
|
333
333
|
if (this.$$cn = !0, !this.$$c) {
|
334
334
|
let t = function(s) {
|
335
335
|
return () => {
|
336
336
|
let o;
|
337
337
|
return {
|
338
338
|
c: function() {
|
339
|
-
o = V("slot"), s !== "default" &&
|
339
|
+
o = V("slot"), s !== "default" && fe(o, "name", s);
|
340
340
|
},
|
341
341
|
/**
|
342
342
|
* @param {HTMLElement} target
|
343
343
|
* @param {HTMLElement} [anchor]
|
344
344
|
*/
|
345
345
|
m: function(u, l) {
|
346
|
-
|
346
|
+
ce(u, o, l);
|
347
347
|
},
|
348
348
|
d: function(u) {
|
349
|
-
u &&
|
349
|
+
u && ne(o);
|
350
350
|
}
|
351
351
|
};
|
352
352
|
};
|
353
353
|
};
|
354
354
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
355
355
|
return;
|
356
|
-
const r = {}, n =
|
356
|
+
const r = {}, n = qr(this);
|
357
357
|
for (const s of this.$$s)
|
358
358
|
s in n && (r[s] = [t(s)]);
|
359
359
|
for (const s of this.attributes) {
|
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
364
364
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
365
365
|
this.$$c = new this.$$ctor({
|
366
366
|
target: this.shadowRoot || this,
|
367
|
-
props:
|
367
|
+
props: vt(yt({}, this.$$d), {
|
368
368
|
$$slots: r,
|
369
369
|
$$scope: {
|
370
370
|
ctx: []
|
@@ -442,8 +442,8 @@ function _e(e, t, r, n) {
|
|
442
442
|
return t;
|
443
443
|
}
|
444
444
|
}
|
445
|
-
function
|
446
|
-
let o = class extends
|
445
|
+
function hn(e, t, r, n, i, s) {
|
446
|
+
let o = class extends Kt {
|
447
447
|
constructor() {
|
448
448
|
super(e, r, i), this.$$p_d = t;
|
449
449
|
}
|
@@ -473,7 +473,7 @@ function sn(e, t, r, n, i, s) {
|
|
473
473
|
}), e.element = /** @type {any} */
|
474
474
|
o, o;
|
475
475
|
}
|
476
|
-
class
|
476
|
+
class ln {
|
477
477
|
constructor() {
|
478
478
|
/**
|
479
479
|
* ### PRIVATE API
|
@@ -494,7 +494,7 @@ class on {
|
|
494
494
|
}
|
495
495
|
/** @returns {void} */
|
496
496
|
$destroy() {
|
497
|
-
|
497
|
+
on(this, 1), this.$destroy = I;
|
498
498
|
}
|
499
499
|
/**
|
500
500
|
* @template {Extract<keyof Events, string>} K
|
@@ -503,7 +503,7 @@ class on {
|
|
503
503
|
* @returns {() => void}
|
504
504
|
*/
|
505
505
|
$on(t, r) {
|
506
|
-
if (!
|
506
|
+
if (!ht(r))
|
507
507
|
return I;
|
508
508
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
509
509
|
return n.push(r), () => {
|
@@ -516,11 +516,11 @@ class on {
|
|
516
516
|
* @returns {void}
|
517
517
|
*/
|
518
518
|
$set(t) {
|
519
|
-
this.$$set &&
|
519
|
+
this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
520
520
|
}
|
521
521
|
}
|
522
|
-
const
|
523
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
522
|
+
const cn = "4";
|
523
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
|
524
524
|
/*! *****************************************************************************
|
525
525
|
Copyright (c) Microsoft Corporation.
|
526
526
|
|
@@ -535,43 +535,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
535
535
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
536
536
|
PERFORMANCE OF THIS SOFTWARE.
|
537
537
|
***************************************************************************** */
|
538
|
-
var
|
539
|
-
return
|
538
|
+
var ze = function(e, t) {
|
539
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
540
540
|
r.__proto__ = n;
|
541
541
|
} || function(r, n) {
|
542
542
|
for (var i in n)
|
543
543
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
544
|
-
},
|
544
|
+
}, ze(e, t);
|
545
545
|
};
|
546
|
-
function
|
546
|
+
function me(e, t) {
|
547
547
|
if (typeof t != "function" && t !== null)
|
548
548
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
549
|
-
|
549
|
+
ze(e, t);
|
550
550
|
function r() {
|
551
551
|
this.constructor = e;
|
552
552
|
}
|
553
553
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
554
554
|
}
|
555
|
-
|
556
|
-
return v = Object.assign || function(t) {
|
557
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
558
|
-
r = arguments[n];
|
559
|
-
for (var s in r)
|
560
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
561
|
-
}
|
562
|
-
return t;
|
563
|
-
}, v.apply(this, arguments);
|
564
|
-
};
|
565
|
-
function un(e, t) {
|
566
|
-
var r = {};
|
567
|
-
for (var n in e)
|
568
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
569
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
570
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
571
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
572
|
-
return r;
|
573
|
-
}
|
574
|
-
function Xe(e) {
|
555
|
+
function Ze(e) {
|
575
556
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
576
557
|
if (r)
|
577
558
|
return r.call(e);
|
@@ -583,7 +564,7 @@ function Xe(e) {
|
|
583
564
|
};
|
584
565
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
585
566
|
}
|
586
|
-
function
|
567
|
+
function Qe(e, t) {
|
587
568
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
588
569
|
if (!r)
|
589
570
|
return e;
|
@@ -603,22 +584,22 @@ function We(e, t) {
|
|
603
584
|
}
|
604
585
|
return s;
|
605
586
|
}
|
606
|
-
function
|
607
|
-
if (
|
587
|
+
function Ye(e, t, r) {
|
588
|
+
if (arguments.length === 2)
|
608
589
|
for (var n = 0, i = t.length, s; n < i; n++)
|
609
590
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
610
591
|
return e.concat(s || t);
|
611
592
|
}
|
612
|
-
function
|
593
|
+
function D(e) {
|
613
594
|
return typeof e == "function";
|
614
595
|
}
|
615
|
-
function
|
596
|
+
function er(e) {
|
616
597
|
var t = function(n) {
|
617
598
|
Error.call(n), n.stack = new Error().stack;
|
618
599
|
}, r = e(t);
|
619
600
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
620
601
|
}
|
621
|
-
var
|
602
|
+
var Ge = er(function(e) {
|
622
603
|
return function(r) {
|
623
604
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
624
605
|
` + r.map(function(n, i) {
|
@@ -627,13 +608,13 @@ var Me = Yt(function(e) {
|
|
627
608
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
628
609
|
};
|
629
610
|
});
|
630
|
-
function
|
611
|
+
function qe(e, t) {
|
631
612
|
if (e) {
|
632
613
|
var r = e.indexOf(t);
|
633
614
|
0 <= r && e.splice(r, 1);
|
634
615
|
}
|
635
616
|
}
|
636
|
-
var
|
617
|
+
var Ae = function() {
|
637
618
|
function e(t) {
|
638
619
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
639
620
|
}
|
@@ -645,7 +626,7 @@ var He = function() {
|
|
645
626
|
if (o)
|
646
627
|
if (this._parentage = null, Array.isArray(o))
|
647
628
|
try {
|
648
|
-
for (var a =
|
629
|
+
for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
|
649
630
|
var u = h.value;
|
650
631
|
u.remove(this);
|
651
632
|
}
|
@@ -662,22 +643,22 @@ var He = function() {
|
|
662
643
|
else
|
663
644
|
o.remove(this);
|
664
645
|
var l = this.initialTeardown;
|
665
|
-
if (
|
646
|
+
if (D(l))
|
666
647
|
try {
|
667
648
|
l();
|
668
649
|
} catch (y) {
|
669
|
-
s = y instanceof
|
650
|
+
s = y instanceof Ge ? y.errors : [y];
|
670
651
|
}
|
671
652
|
var m = this._finalizers;
|
672
653
|
if (m) {
|
673
654
|
this._finalizers = null;
|
674
655
|
try {
|
675
|
-
for (var c =
|
656
|
+
for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
|
676
657
|
var b = d.value;
|
677
658
|
try {
|
678
|
-
|
659
|
+
St(b);
|
679
660
|
} catch (y) {
|
680
|
-
s = s != null ? s : [], y instanceof
|
661
|
+
s = s != null ? s : [], y instanceof Ge ? s = Ye(Ye([], Qe(s)), Qe(y.errors)) : s.push(y);
|
681
662
|
}
|
682
663
|
}
|
683
664
|
} catch (y) {
|
@@ -692,13 +673,13 @@ var He = function() {
|
|
692
673
|
}
|
693
674
|
}
|
694
675
|
if (s)
|
695
|
-
throw new
|
676
|
+
throw new Ge(s);
|
696
677
|
}
|
697
678
|
}, e.prototype.add = function(t) {
|
698
679
|
var r;
|
699
680
|
if (t && t !== this)
|
700
681
|
if (this.closed)
|
701
|
-
|
682
|
+
St(t);
|
702
683
|
else {
|
703
684
|
if (t instanceof e) {
|
704
685
|
if (t.closed || t._hasParent(this))
|
@@ -715,56 +696,52 @@ var He = function() {
|
|
715
696
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
716
697
|
}, e.prototype._removeParent = function(t) {
|
717
698
|
var r = this._parentage;
|
718
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
699
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
719
700
|
}, e.prototype.remove = function(t) {
|
720
701
|
var r = this._finalizers;
|
721
|
-
r &&
|
702
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
722
703
|
}, e.EMPTY = function() {
|
723
704
|
var t = new e();
|
724
705
|
return t.closed = !0, t;
|
725
706
|
}(), e;
|
726
|
-
}(),
|
727
|
-
function
|
728
|
-
return e instanceof
|
729
|
-
}
|
730
|
-
function
|
731
|
-
|
732
|
-
}
|
733
|
-
var
|
734
|
-
|
735
|
-
|
736
|
-
Promise: void 0,
|
737
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
738
|
-
useDeprecatedNextContext: !1
|
739
|
-
}, ln = {
|
707
|
+
}(), tr = Ae.EMPTY;
|
708
|
+
function rr(e) {
|
709
|
+
return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
710
|
+
}
|
711
|
+
function St(e) {
|
712
|
+
D(e) ? e() : e.unsubscribe();
|
713
|
+
}
|
714
|
+
var fn = {
|
715
|
+
Promise: void 0
|
716
|
+
}, mn = {
|
740
717
|
setTimeout: function(e, t) {
|
741
718
|
for (var r = [], n = 2; n < arguments.length; n++)
|
742
719
|
r[n - 2] = arguments[n];
|
743
|
-
return setTimeout.apply(void 0,
|
720
|
+
return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
|
744
721
|
},
|
745
722
|
clearTimeout: function(e) {
|
746
723
|
return clearTimeout(e);
|
747
724
|
},
|
748
725
|
delegate: void 0
|
749
726
|
};
|
750
|
-
function
|
751
|
-
|
727
|
+
function dn(e) {
|
728
|
+
mn.setTimeout(function() {
|
752
729
|
throw e;
|
753
730
|
});
|
754
731
|
}
|
755
|
-
function
|
732
|
+
function wt() {
|
756
733
|
}
|
757
734
|
function Ee(e) {
|
758
735
|
e();
|
759
736
|
}
|
760
|
-
var
|
761
|
-
|
737
|
+
var nr = function(e) {
|
738
|
+
me(t, e);
|
762
739
|
function t(r) {
|
763
740
|
var n = e.call(this) || this;
|
764
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
741
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = gn, n;
|
765
742
|
}
|
766
743
|
return t.create = function(r, n, i) {
|
767
|
-
return new
|
744
|
+
return new Je(r, n, i);
|
768
745
|
}, t.prototype.next = function(r) {
|
769
746
|
this.isStopped || this._next(r);
|
770
747
|
}, t.prototype.error = function(r) {
|
@@ -788,7 +765,7 @@ var Kt = function(e) {
|
|
788
765
|
this.unsubscribe();
|
789
766
|
}
|
790
767
|
}, t;
|
791
|
-
}(
|
768
|
+
}(Ae), bn = function() {
|
792
769
|
function e(t) {
|
793
770
|
this.partialObserver = t;
|
794
771
|
}
|
@@ -819,43 +796,43 @@ var Kt = function(e) {
|
|
819
796
|
ye(r);
|
820
797
|
}
|
821
798
|
}, e;
|
822
|
-
}(),
|
823
|
-
|
799
|
+
}(), Je = function(e) {
|
800
|
+
me(t, e);
|
824
801
|
function t(r, n, i) {
|
825
802
|
var s = e.call(this) || this, o;
|
826
|
-
return
|
803
|
+
return D(r) || !r ? o = {
|
827
804
|
next: r != null ? r : void 0,
|
828
805
|
error: n != null ? n : void 0,
|
829
806
|
complete: i != null ? i : void 0
|
830
|
-
} : o = r, s.destination = new
|
807
|
+
} : o = r, s.destination = new bn(o), s;
|
831
808
|
}
|
832
809
|
return t;
|
833
|
-
}(
|
810
|
+
}(nr);
|
834
811
|
function ye(e) {
|
835
|
-
|
812
|
+
dn(e);
|
836
813
|
}
|
837
|
-
function
|
814
|
+
function pn(e) {
|
838
815
|
throw e;
|
839
816
|
}
|
840
|
-
var
|
817
|
+
var gn = {
|
841
818
|
closed: !0,
|
842
|
-
next:
|
843
|
-
error:
|
844
|
-
complete:
|
845
|
-
},
|
819
|
+
next: wt,
|
820
|
+
error: pn,
|
821
|
+
complete: wt
|
822
|
+
}, yn = function() {
|
846
823
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
847
824
|
}();
|
848
|
-
function
|
825
|
+
function vn(e) {
|
849
826
|
return e;
|
850
827
|
}
|
851
|
-
function
|
852
|
-
return e.length === 0 ?
|
828
|
+
function _n(e) {
|
829
|
+
return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
|
853
830
|
return e.reduce(function(n, i) {
|
854
831
|
return i(n);
|
855
832
|
}, r);
|
856
833
|
};
|
857
834
|
}
|
858
|
-
var
|
835
|
+
var Tt = function() {
|
859
836
|
function e(t) {
|
860
837
|
t && (this._subscribe = t);
|
861
838
|
}
|
@@ -863,7 +840,7 @@ var Et = function() {
|
|
863
840
|
var r = new e();
|
864
841
|
return r.source = this, r.operator = t, r;
|
865
842
|
}, e.prototype.subscribe = function(t, r, n) {
|
866
|
-
var i = this, s =
|
843
|
+
var i = this, s = xn(t) ? t : new Je(t, r, n);
|
867
844
|
return Ee(function() {
|
868
845
|
var o = i, a = o.operator, h = o.source;
|
869
846
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -876,8 +853,8 @@ var Et = function() {
|
|
876
853
|
}
|
877
854
|
}, e.prototype.forEach = function(t, r) {
|
878
855
|
var n = this;
|
879
|
-
return r =
|
880
|
-
var o = new
|
856
|
+
return r = Ht(r), new r(function(i, s) {
|
857
|
+
var o = new Je({
|
881
858
|
next: function(a) {
|
882
859
|
try {
|
883
860
|
t(a);
|
@@ -893,15 +870,15 @@ var Et = function() {
|
|
893
870
|
}, e.prototype._subscribe = function(t) {
|
894
871
|
var r;
|
895
872
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
896
|
-
}, e.prototype[
|
873
|
+
}, e.prototype[yn] = function() {
|
897
874
|
return this;
|
898
875
|
}, e.prototype.pipe = function() {
|
899
876
|
for (var t = [], r = 0; r < arguments.length; r++)
|
900
877
|
t[r] = arguments[r];
|
901
|
-
return
|
878
|
+
return _n(t)(this);
|
902
879
|
}, e.prototype.toPromise = function(t) {
|
903
880
|
var r = this;
|
904
|
-
return t =
|
881
|
+
return t = Ht(t), new t(function(n, i) {
|
905
882
|
var s;
|
906
883
|
r.subscribe(function(o) {
|
907
884
|
return s = o;
|
@@ -915,32 +892,32 @@ var Et = function() {
|
|
915
892
|
return new e(t);
|
916
893
|
}, e;
|
917
894
|
}();
|
918
|
-
function
|
895
|
+
function Ht(e) {
|
919
896
|
var t;
|
920
|
-
return (t = e != null ? e :
|
897
|
+
return (t = e != null ? e : fn.Promise) !== null && t !== void 0 ? t : Promise;
|
921
898
|
}
|
922
|
-
function
|
923
|
-
return e &&
|
899
|
+
function En(e) {
|
900
|
+
return e && D(e.next) && D(e.error) && D(e.complete);
|
924
901
|
}
|
925
|
-
function
|
926
|
-
return e && e instanceof
|
902
|
+
function xn(e) {
|
903
|
+
return e && e instanceof nr || En(e) && rr(e);
|
927
904
|
}
|
928
|
-
var
|
905
|
+
var Sn = er(function(e) {
|
929
906
|
return function() {
|
930
907
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
931
908
|
};
|
932
|
-
}),
|
933
|
-
|
909
|
+
}), ir = function(e) {
|
910
|
+
me(t, e);
|
934
911
|
function t() {
|
935
912
|
var r = e.call(this) || this;
|
936
913
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
937
914
|
}
|
938
915
|
return t.prototype.lift = function(r) {
|
939
|
-
var n = new
|
916
|
+
var n = new At(this, this);
|
940
917
|
return n.operator = r, n;
|
941
918
|
}, t.prototype._throwIfClosed = function() {
|
942
919
|
if (this.closed)
|
943
|
-
throw new
|
920
|
+
throw new Sn();
|
944
921
|
}, t.prototype.next = function(r) {
|
945
922
|
var n = this;
|
946
923
|
Ee(function() {
|
@@ -948,7 +925,7 @@ var _n = Yt(function(e) {
|
|
948
925
|
if (n._throwIfClosed(), !n.isStopped) {
|
949
926
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
950
927
|
try {
|
951
|
-
for (var o =
|
928
|
+
for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
952
929
|
var h = a.value;
|
953
930
|
h.next(r);
|
954
931
|
}
|
@@ -997,20 +974,20 @@ var _n = Yt(function(e) {
|
|
997
974
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
998
975
|
}, t.prototype._innerSubscribe = function(r) {
|
999
976
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
1000
|
-
return s || o ?
|
1001
|
-
n.currentObservers = null,
|
977
|
+
return s || o ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
978
|
+
n.currentObservers = null, qe(a, r);
|
1002
979
|
}));
|
1003
980
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1004
981
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
1005
982
|
i ? r.error(s) : o && r.complete();
|
1006
983
|
}, t.prototype.asObservable = function() {
|
1007
|
-
var r = new
|
984
|
+
var r = new Tt();
|
1008
985
|
return r.source = this, r;
|
1009
986
|
}, t.create = function(r, n) {
|
1010
|
-
return new
|
987
|
+
return new At(r, n);
|
1011
988
|
}, t;
|
1012
|
-
}(
|
1013
|
-
|
989
|
+
}(Tt), At = function(e) {
|
990
|
+
me(t, e);
|
1014
991
|
function t(r, n) {
|
1015
992
|
var i = e.call(this) || this;
|
1016
993
|
return i.destination = r, i.source = n, i;
|
@@ -1026,17 +1003,17 @@ var _n = Yt(function(e) {
|
|
1026
1003
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1027
1004
|
}, t.prototype._subscribe = function(r) {
|
1028
1005
|
var n, i;
|
1029
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1006
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
1030
1007
|
}, t;
|
1031
|
-
}(
|
1008
|
+
}(ir), sr = {
|
1032
1009
|
now: function() {
|
1033
|
-
return (
|
1010
|
+
return (sr.delegate || Date).now();
|
1034
1011
|
},
|
1035
1012
|
delegate: void 0
|
1036
|
-
},
|
1037
|
-
|
1013
|
+
}, wn = function(e) {
|
1014
|
+
me(t, e);
|
1038
1015
|
function t(r, n, i) {
|
1039
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1016
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
1040
1017
|
var s = e.call(this) || this;
|
1041
1018
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
1042
1019
|
}
|
@@ -1056,24 +1033,24 @@ var _n = Yt(function(e) {
|
|
1056
1033
|
u && s.splice(0, u + 1);
|
1057
1034
|
}
|
1058
1035
|
}, t;
|
1059
|
-
}(
|
1060
|
-
const
|
1061
|
-
if (
|
1062
|
-
const r = new
|
1063
|
-
|
1036
|
+
}(ir);
|
1037
|
+
const Bt = [], Pt = {}, Tn = (e, t = 0) => {
|
1038
|
+
if (Bt.indexOf(e) == -1) {
|
1039
|
+
const r = new wn(t);
|
1040
|
+
Pt[e] = r, Bt.push(e);
|
1064
1041
|
}
|
1065
|
-
return
|
1042
|
+
return Pt[e];
|
1066
1043
|
}, Q = [];
|
1067
|
-
function
|
1044
|
+
function Hn(e, t) {
|
1068
1045
|
return {
|
1069
|
-
subscribe:
|
1046
|
+
subscribe: Be(e, t).subscribe
|
1070
1047
|
};
|
1071
1048
|
}
|
1072
|
-
function
|
1049
|
+
function Be(e, t = I) {
|
1073
1050
|
let r;
|
1074
1051
|
const n = /* @__PURE__ */ new Set();
|
1075
1052
|
function i(a) {
|
1076
|
-
if (
|
1053
|
+
if (Wt(e, a) && (e = a, r)) {
|
1077
1054
|
const h = !Q.length;
|
1078
1055
|
for (const u of n)
|
1079
1056
|
u[1](), Q.push(u, e);
|
@@ -1095,12 +1072,12 @@ function Ae(e, t = I) {
|
|
1095
1072
|
}
|
1096
1073
|
return { set: i, update: s, subscribe: o };
|
1097
1074
|
}
|
1098
|
-
function
|
1075
|
+
function ie(e, t, r) {
|
1099
1076
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1100
1077
|
if (!i.every(Boolean))
|
1101
1078
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1102
1079
|
const s = t.length < 2;
|
1103
|
-
return
|
1080
|
+
return Hn(r, (o, a) => {
|
1104
1081
|
let h = !1;
|
1105
1082
|
const u = [];
|
1106
1083
|
let l = 0, m = I;
|
@@ -1109,9 +1086,9 @@ function se(e, t, r) {
|
|
1109
1086
|
return;
|
1110
1087
|
m();
|
1111
1088
|
const b = t(n ? u[0] : u, o, a);
|
1112
|
-
s ? o(b) : m =
|
1089
|
+
s ? o(b) : m = ht(b) ? b : I;
|
1113
1090
|
}, d = i.map(
|
1114
|
-
(b, y) =>
|
1091
|
+
(b, y) => zt(
|
1115
1092
|
b,
|
1116
1093
|
(T) => {
|
1117
1094
|
u[y] = T, l &= ~(1 << y), h && c();
|
@@ -1122,118 +1099,157 @@ function se(e, t, r) {
|
|
1122
1099
|
)
|
1123
1100
|
);
|
1124
1101
|
return h = !0, c(), function() {
|
1125
|
-
|
1102
|
+
re(d), m(), h = !1;
|
1126
1103
|
};
|
1127
1104
|
});
|
1128
1105
|
}
|
1129
|
-
function
|
1130
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1106
|
+
function An(e) {
|
1107
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1131
1108
|
}
|
1132
|
-
var
|
1133
|
-
return
|
1109
|
+
var Bn = function(t) {
|
1110
|
+
return Pn(t) && !On(t);
|
1134
1111
|
};
|
1135
|
-
function
|
1112
|
+
function Pn(e) {
|
1136
1113
|
return !!e && typeof e == "object";
|
1137
1114
|
}
|
1138
|
-
function
|
1115
|
+
function On(e) {
|
1139
1116
|
var t = Object.prototype.toString.call(e);
|
1140
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1117
|
+
return t === "[object RegExp]" || t === "[object Date]" || In(e);
|
1141
1118
|
}
|
1142
|
-
var
|
1143
|
-
function
|
1144
|
-
return e.$$typeof ===
|
1119
|
+
var Nn = typeof Symbol == "function" && Symbol.for, Ln = Nn ? Symbol.for("react.element") : 60103;
|
1120
|
+
function In(e) {
|
1121
|
+
return e.$$typeof === Ln;
|
1145
1122
|
}
|
1146
|
-
function
|
1123
|
+
function Cn(e) {
|
1147
1124
|
return Array.isArray(e) ? [] : {};
|
1148
1125
|
}
|
1149
|
-
function
|
1150
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1126
|
+
function he(e, t) {
|
1127
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(Cn(e), e, t) : e;
|
1151
1128
|
}
|
1152
|
-
function
|
1129
|
+
function Mn(e, t, r) {
|
1153
1130
|
return e.concat(t).map(function(n) {
|
1154
|
-
return
|
1131
|
+
return he(n, r);
|
1155
1132
|
});
|
1156
1133
|
}
|
1157
|
-
function
|
1134
|
+
function Rn(e, t) {
|
1158
1135
|
if (!t.customMerge)
|
1159
|
-
return
|
1136
|
+
return J;
|
1160
1137
|
var r = t.customMerge(e);
|
1161
|
-
return typeof r == "function" ? r :
|
1138
|
+
return typeof r == "function" ? r : J;
|
1162
1139
|
}
|
1163
|
-
function
|
1140
|
+
function Gn(e) {
|
1164
1141
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1165
1142
|
return Object.propertyIsEnumerable.call(e, t);
|
1166
1143
|
}) : [];
|
1167
1144
|
}
|
1168
|
-
function
|
1169
|
-
return Object.keys(e).concat(
|
1145
|
+
function Ot(e) {
|
1146
|
+
return Object.keys(e).concat(Gn(e));
|
1170
1147
|
}
|
1171
|
-
function
|
1148
|
+
function or(e, t) {
|
1172
1149
|
try {
|
1173
1150
|
return t in e;
|
1174
1151
|
} catch (r) {
|
1175
1152
|
return !1;
|
1176
1153
|
}
|
1177
1154
|
}
|
1178
|
-
function
|
1179
|
-
return
|
1155
|
+
function Un(e, t) {
|
1156
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1180
1157
|
}
|
1181
|
-
function
|
1158
|
+
function Dn(e, t, r) {
|
1182
1159
|
var n = {};
|
1183
|
-
return r.isMergeableObject(e) &&
|
1184
|
-
n[i] =
|
1185
|
-
}),
|
1186
|
-
|
1160
|
+
return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
|
1161
|
+
n[i] = he(e[i], r);
|
1162
|
+
}), Ot(t).forEach(function(i) {
|
1163
|
+
Un(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
1187
1164
|
}), n;
|
1188
1165
|
}
|
1189
|
-
function
|
1190
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1166
|
+
function J(e, t, r) {
|
1167
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = he;
|
1191
1168
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1192
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1169
|
+
return s ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : he(t, r);
|
1193
1170
|
}
|
1194
|
-
|
1171
|
+
J.all = function(t, r) {
|
1195
1172
|
if (!Array.isArray(t))
|
1196
1173
|
throw new Error("first argument should be an array");
|
1197
1174
|
return t.reduce(function(n, i) {
|
1198
|
-
return
|
1175
|
+
return J(n, i, r);
|
1199
1176
|
}, {});
|
1200
1177
|
};
|
1201
|
-
var
|
1202
|
-
const
|
1203
|
-
function
|
1204
|
-
|
1178
|
+
var $n = J, Fn = $n;
|
1179
|
+
const jn = /* @__PURE__ */ An(Fn);
|
1180
|
+
var Ke = function(e, t) {
|
1181
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
1182
|
+
r.__proto__ = n;
|
1183
|
+
} || function(r, n) {
|
1184
|
+
for (var i in n)
|
1185
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1186
|
+
}, Ke(e, t);
|
1187
|
+
};
|
1188
|
+
function Pe(e, t) {
|
1189
|
+
if (typeof t != "function" && t !== null)
|
1190
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1191
|
+
Ke(e, t);
|
1192
|
+
function r() {
|
1193
|
+
this.constructor = e;
|
1194
|
+
}
|
1195
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1196
|
+
}
|
1197
|
+
var G = function() {
|
1198
|
+
return G = Object.assign || function(t) {
|
1199
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1200
|
+
r = arguments[n];
|
1201
|
+
for (var s in r)
|
1202
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1203
|
+
}
|
1204
|
+
return t;
|
1205
|
+
}, G.apply(this, arguments);
|
1206
|
+
};
|
1207
|
+
function kn(e, t) {
|
1208
|
+
var r = {};
|
1209
|
+
for (var n in e)
|
1210
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1211
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1212
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1213
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1214
|
+
return r;
|
1215
|
+
}
|
1216
|
+
function Ue(e, t, r) {
|
1217
|
+
if (r || arguments.length === 2)
|
1218
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
1219
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1220
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
1221
|
+
}
|
1222
|
+
function De(e, t) {
|
1223
|
+
var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Wn;
|
1205
1224
|
return i(e, {
|
1206
1225
|
cache: r,
|
1207
1226
|
serializer: n
|
1208
1227
|
});
|
1209
1228
|
}
|
1210
|
-
function
|
1229
|
+
function Vn(e) {
|
1211
1230
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1212
1231
|
}
|
1213
|
-
function
|
1214
|
-
var i =
|
1232
|
+
function Xn(e, t, r, n) {
|
1233
|
+
var i = Vn(n) ? n : r(n), s = t.get(i);
|
1215
1234
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
1216
1235
|
}
|
1217
|
-
function
|
1236
|
+
function ar(e, t, r) {
|
1218
1237
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1219
1238
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
1220
1239
|
}
|
1221
|
-
function
|
1240
|
+
function ur(e, t, r, n, i) {
|
1222
1241
|
return r.bind(t, e, n, i);
|
1223
1242
|
}
|
1224
|
-
function
|
1225
|
-
var r = e.length === 1 ?
|
1226
|
-
return
|
1243
|
+
function Wn(e, t) {
|
1244
|
+
var r = e.length === 1 ? Xn : ar;
|
1245
|
+
return ur(e, this, r, t.cache.create(), t.serializer);
|
1227
1246
|
}
|
1228
|
-
function
|
1229
|
-
return
|
1230
|
-
}
|
1231
|
-
function kn(e, t) {
|
1232
|
-
return st(e, this, nr, t.cache.create(), t.serializer);
|
1247
|
+
function zn(e, t) {
|
1248
|
+
return ur(e, this, ar, t.cache.create(), t.serializer);
|
1233
1249
|
}
|
1234
|
-
var
|
1250
|
+
var Zn = function() {
|
1235
1251
|
return JSON.stringify(arguments);
|
1236
|
-
},
|
1252
|
+
}, Qn = (
|
1237
1253
|
/** @class */
|
1238
1254
|
function() {
|
1239
1255
|
function e() {
|
@@ -1245,62 +1261,71 @@ var Vn = function() {
|
|
1245
1261
|
this.cache[t] = r;
|
1246
1262
|
}, e;
|
1247
1263
|
}()
|
1248
|
-
),
|
1264
|
+
), Yn = {
|
1249
1265
|
create: function() {
|
1250
|
-
return new
|
1266
|
+
return new Qn();
|
1251
1267
|
}
|
1252
|
-
},
|
1253
|
-
variadic:
|
1254
|
-
|
1255
|
-
|
1268
|
+
}, $e = {
|
1269
|
+
variadic: zn
|
1270
|
+
}, we = function() {
|
1271
|
+
return we = Object.assign || function(t) {
|
1272
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1273
|
+
r = arguments[n];
|
1274
|
+
for (var s in r)
|
1275
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1276
|
+
}
|
1277
|
+
return t;
|
1278
|
+
}, we.apply(this, arguments);
|
1279
|
+
};
|
1280
|
+
var p;
|
1256
1281
|
(function(e) {
|
1257
1282
|
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";
|
1258
1283
|
})(p || (p = {}));
|
1259
|
-
var
|
1284
|
+
var E;
|
1260
1285
|
(function(e) {
|
1261
1286
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1262
|
-
})(
|
1263
|
-
var
|
1287
|
+
})(E || (E = {}));
|
1288
|
+
var K;
|
1264
1289
|
(function(e) {
|
1265
1290
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1266
|
-
})(
|
1267
|
-
function
|
1268
|
-
return e.type ===
|
1291
|
+
})(K || (K = {}));
|
1292
|
+
function Nt(e) {
|
1293
|
+
return e.type === E.literal;
|
1269
1294
|
}
|
1270
|
-
function
|
1271
|
-
return e.type ===
|
1295
|
+
function qn(e) {
|
1296
|
+
return e.type === E.argument;
|
1272
1297
|
}
|
1273
|
-
function
|
1274
|
-
return e.type ===
|
1298
|
+
function hr(e) {
|
1299
|
+
return e.type === E.number;
|
1275
1300
|
}
|
1276
|
-
function
|
1277
|
-
return e.type ===
|
1301
|
+
function lr(e) {
|
1302
|
+
return e.type === E.date;
|
1278
1303
|
}
|
1279
|
-
function
|
1280
|
-
return e.type ===
|
1304
|
+
function cr(e) {
|
1305
|
+
return e.type === E.time;
|
1281
1306
|
}
|
1282
|
-
function
|
1283
|
-
return e.type ===
|
1307
|
+
function fr(e) {
|
1308
|
+
return e.type === E.select;
|
1284
1309
|
}
|
1285
|
-
function
|
1286
|
-
return e.type ===
|
1310
|
+
function mr(e) {
|
1311
|
+
return e.type === E.plural;
|
1287
1312
|
}
|
1288
|
-
function
|
1289
|
-
return e.type ===
|
1313
|
+
function Jn(e) {
|
1314
|
+
return e.type === E.pound;
|
1290
1315
|
}
|
1291
|
-
function
|
1292
|
-
return e.type ===
|
1316
|
+
function dr(e) {
|
1317
|
+
return e.type === E.tag;
|
1293
1318
|
}
|
1294
|
-
function
|
1295
|
-
return !!(e && typeof e == "object" && e.type ===
|
1319
|
+
function br(e) {
|
1320
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
1296
1321
|
}
|
1297
|
-
function
|
1298
|
-
return !!(e && typeof e == "object" && e.type ===
|
1322
|
+
function et(e) {
|
1323
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
1299
1324
|
}
|
1300
|
-
var
|
1301
|
-
function
|
1325
|
+
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;
|
1326
|
+
function ei(e) {
|
1302
1327
|
var t = {};
|
1303
|
-
return e.replace(
|
1328
|
+
return e.replace(Kn, function(r) {
|
1304
1329
|
var n = r.length;
|
1305
1330
|
switch (r[0]) {
|
1306
1331
|
case "G":
|
@@ -1389,11 +1414,21 @@ function Yn(e) {
|
|
1389
1414
|
return "";
|
1390
1415
|
}), t;
|
1391
1416
|
}
|
1392
|
-
var
|
1393
|
-
function
|
1417
|
+
var S = function() {
|
1418
|
+
return S = Object.assign || function(t) {
|
1419
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1420
|
+
r = arguments[n];
|
1421
|
+
for (var s in r)
|
1422
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1423
|
+
}
|
1424
|
+
return t;
|
1425
|
+
}, S.apply(this, arguments);
|
1426
|
+
};
|
1427
|
+
var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1428
|
+
function ri(e) {
|
1394
1429
|
if (e.length === 0)
|
1395
1430
|
throw new Error("Number skeleton cannot be empty");
|
1396
|
-
for (var t = e.split(
|
1431
|
+
for (var t = e.split(ti).filter(function(c) {
|
1397
1432
|
return c.length > 0;
|
1398
1433
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1399
1434
|
var s = i[n], o = s.split("/");
|
@@ -1408,17 +1443,17 @@ function Jn(e) {
|
|
1408
1443
|
}
|
1409
1444
|
return r;
|
1410
1445
|
}
|
1411
|
-
function
|
1446
|
+
function ni(e) {
|
1412
1447
|
return e.replace(/^(.*?)-/, "");
|
1413
1448
|
}
|
1414
|
-
var
|
1415
|
-
function
|
1449
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
1450
|
+
function It(e) {
|
1416
1451
|
var t = {};
|
1417
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1452
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
1418
1453
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
1419
1454
|
}), t;
|
1420
1455
|
}
|
1421
|
-
function
|
1456
|
+
function vr(e) {
|
1422
1457
|
switch (e) {
|
1423
1458
|
case "sign-auto":
|
1424
1459
|
return {
|
@@ -1458,7 +1493,7 @@ function br(e) {
|
|
1458
1493
|
};
|
1459
1494
|
}
|
1460
1495
|
}
|
1461
|
-
function
|
1496
|
+
function si(e) {
|
1462
1497
|
var t;
|
1463
1498
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1464
1499
|
notation: "engineering"
|
@@ -1466,17 +1501,17 @@ function ti(e) {
|
|
1466
1501
|
notation: "scientific"
|
1467
1502
|
}, e = e.slice(1)), t) {
|
1468
1503
|
var r = e.slice(0, 2);
|
1469
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1504
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
1470
1505
|
throw new Error("Malformed concise eng/scientific notation");
|
1471
1506
|
t.minimumIntegerDigits = e.length;
|
1472
1507
|
}
|
1473
1508
|
return t;
|
1474
1509
|
}
|
1475
|
-
function
|
1476
|
-
var t = {}, r =
|
1510
|
+
function Ct(e) {
|
1511
|
+
var t = {}, r = vr(e);
|
1477
1512
|
return r || t;
|
1478
1513
|
}
|
1479
|
-
function
|
1514
|
+
function oi(e) {
|
1480
1515
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1481
1516
|
var i = n[r];
|
1482
1517
|
switch (i.stem) {
|
@@ -1500,7 +1535,7 @@ function ri(e) {
|
|
1500
1535
|
continue;
|
1501
1536
|
case "measure-unit":
|
1502
1537
|
case "unit":
|
1503
|
-
t.style = "unit", t.unit =
|
1538
|
+
t.style = "unit", t.unit = ni(i.options[0]);
|
1504
1539
|
continue;
|
1505
1540
|
case "compact-short":
|
1506
1541
|
case "K":
|
@@ -1511,13 +1546,13 @@ function ri(e) {
|
|
1511
1546
|
t.notation = "compact", t.compactDisplay = "long";
|
1512
1547
|
continue;
|
1513
1548
|
case "scientific":
|
1514
|
-
t =
|
1515
|
-
return
|
1549
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1550
|
+
return S(S({}, h), Ct(u));
|
1516
1551
|
}, {}));
|
1517
1552
|
continue;
|
1518
1553
|
case "engineering":
|
1519
|
-
t =
|
1520
|
-
return
|
1554
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1555
|
+
return S(S({}, h), Ct(u));
|
1521
1556
|
}, {}));
|
1522
1557
|
continue;
|
1523
1558
|
case "notation-simple":
|
@@ -1562,7 +1597,7 @@ function ri(e) {
|
|
1562
1597
|
case "integer-width":
|
1563
1598
|
if (i.options.length > 1)
|
1564
1599
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1565
|
-
i.options[0].replace(
|
1600
|
+
i.options[0].replace(ii, function(h, u, l, m, c, d) {
|
1566
1601
|
if (u)
|
1567
1602
|
t.minimumIntegerDigits = l.length;
|
1568
1603
|
else {
|
@@ -1575,28 +1610,28 @@ function ri(e) {
|
|
1575
1610
|
});
|
1576
1611
|
continue;
|
1577
1612
|
}
|
1578
|
-
if (
|
1613
|
+
if (yr.test(i.stem)) {
|
1579
1614
|
t.minimumIntegerDigits = i.stem.length;
|
1580
1615
|
continue;
|
1581
1616
|
}
|
1582
|
-
if (
|
1617
|
+
if (Lt.test(i.stem)) {
|
1583
1618
|
if (i.options.length > 1)
|
1584
1619
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1585
|
-
i.stem.replace(
|
1620
|
+
i.stem.replace(Lt, function(h, u, l, m, c, d) {
|
1586
1621
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1587
1622
|
});
|
1588
1623
|
var s = i.options[0];
|
1589
|
-
s === "w" ? t =
|
1624
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), It(s)));
|
1590
1625
|
continue;
|
1591
1626
|
}
|
1592
|
-
if (
|
1593
|
-
t =
|
1627
|
+
if (gr.test(i.stem)) {
|
1628
|
+
t = S(S({}, t), It(i.stem));
|
1594
1629
|
continue;
|
1595
1630
|
}
|
1596
|
-
var o =
|
1597
|
-
o && (t =
|
1598
|
-
var a =
|
1599
|
-
a && (t =
|
1631
|
+
var o = vr(i.stem);
|
1632
|
+
o && (t = S(S({}, t), o));
|
1633
|
+
var a = si(i.stem);
|
1634
|
+
a && (t = S(S({}, t), a));
|
1600
1635
|
}
|
1601
1636
|
return t;
|
1602
1637
|
}
|
@@ -3015,13 +3050,13 @@ var ve = {
|
|
3015
3050
|
"h"
|
3016
3051
|
]
|
3017
3052
|
};
|
3018
|
-
function
|
3053
|
+
function ai(e, t) {
|
3019
3054
|
for (var r = "", n = 0; n < e.length; n++) {
|
3020
3055
|
var i = e.charAt(n);
|
3021
3056
|
if (i === "j") {
|
3022
3057
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3023
3058
|
s++, n++;
|
3024
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3059
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ui(t);
|
3025
3060
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3026
3061
|
r += h;
|
3027
3062
|
for (; o-- > 0; )
|
@@ -3031,7 +3066,7 @@ function ni(e, t) {
|
|
3031
3066
|
}
|
3032
3067
|
return r;
|
3033
3068
|
}
|
3034
|
-
function
|
3069
|
+
function ui(e) {
|
3035
3070
|
var t = e.hourCycle;
|
3036
3071
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3037
3072
|
e.hourCycles && // @ts-ignore
|
@@ -3053,20 +3088,20 @@ function ii(e) {
|
|
3053
3088
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
3054
3089
|
return i[0];
|
3055
3090
|
}
|
3056
|
-
var
|
3091
|
+
var Fe, hi = new RegExp("^".concat(pr.source, "*")), li = new RegExp("".concat(pr.source, "*$"));
|
3057
3092
|
function g(e, t) {
|
3058
3093
|
return { start: e, end: t };
|
3059
3094
|
}
|
3060
|
-
var
|
3095
|
+
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) {
|
3061
3096
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3062
|
-
},
|
3097
|
+
}, tt = !0;
|
3063
3098
|
try {
|
3064
|
-
var
|
3065
|
-
|
3099
|
+
var vi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3100
|
+
tt = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
3066
3101
|
} catch (e) {
|
3067
|
-
|
3102
|
+
tt = !1;
|
3068
3103
|
}
|
3069
|
-
var
|
3104
|
+
var Mt = ci ? (
|
3070
3105
|
// Native
|
3071
3106
|
function(t, r, n) {
|
3072
3107
|
return t.startsWith(r, n);
|
@@ -3076,7 +3111,7 @@ var Ot = ai ? (
|
|
3076
3111
|
function(t, r, n) {
|
3077
3112
|
return t.slice(n, n + r.length) === r;
|
3078
3113
|
}
|
3079
|
-
),
|
3114
|
+
), rt = fi ? String.fromCodePoint : (
|
3080
3115
|
// IE11
|
3081
3116
|
function() {
|
3082
3117
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3088,9 +3123,9 @@ var Ot = ai ? (
|
|
3088
3123
|
}
|
3089
3124
|
return n;
|
3090
3125
|
}
|
3091
|
-
),
|
3126
|
+
), Rt = (
|
3092
3127
|
// native
|
3093
|
-
|
3128
|
+
mi ? Object.fromEntries : (
|
3094
3129
|
// Ponyfill
|
3095
3130
|
function(t) {
|
3096
3131
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3100,7 +3135,7 @@ var Ot = ai ? (
|
|
3100
3135
|
return r;
|
3101
3136
|
}
|
3102
3137
|
)
|
3103
|
-
),
|
3138
|
+
), _r = di ? (
|
3104
3139
|
// Native
|
3105
3140
|
function(t, r) {
|
3106
3141
|
return t.codePointAt(r);
|
@@ -3114,7 +3149,7 @@ var Ot = ai ? (
|
|
3114
3149
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3115
3150
|
}
|
3116
3151
|
}
|
3117
|
-
),
|
3152
|
+
), _i = bi ? (
|
3118
3153
|
// Native
|
3119
3154
|
function(t) {
|
3120
3155
|
return t.trimStart();
|
@@ -3122,9 +3157,9 @@ var Ot = ai ? (
|
|
3122
3157
|
) : (
|
3123
3158
|
// Ponyfill
|
3124
3159
|
function(t) {
|
3125
|
-
return t.replace(
|
3160
|
+
return t.replace(hi, "");
|
3126
3161
|
}
|
3127
|
-
),
|
3162
|
+
), Ei = pi ? (
|
3128
3163
|
// Native
|
3129
3164
|
function(t) {
|
3130
3165
|
return t.trimEnd();
|
@@ -3132,32 +3167,32 @@ var Ot = ai ? (
|
|
3132
3167
|
) : (
|
3133
3168
|
// Ponyfill
|
3134
3169
|
function(t) {
|
3135
|
-
return t.replace(
|
3170
|
+
return t.replace(li, "");
|
3136
3171
|
}
|
3137
3172
|
);
|
3138
|
-
function
|
3173
|
+
function Er(e, t) {
|
3139
3174
|
return new RegExp(e, t);
|
3140
3175
|
}
|
3141
|
-
var
|
3142
|
-
if (
|
3143
|
-
var
|
3144
|
-
|
3176
|
+
var nt;
|
3177
|
+
if (tt) {
|
3178
|
+
var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3179
|
+
nt = function(t, r) {
|
3145
3180
|
var n;
|
3146
|
-
|
3147
|
-
var i =
|
3181
|
+
Gt.lastIndex = r;
|
3182
|
+
var i = Gt.exec(t);
|
3148
3183
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3149
3184
|
};
|
3150
3185
|
} else
|
3151
|
-
|
3186
|
+
nt = function(t, r) {
|
3152
3187
|
for (var n = []; ; ) {
|
3153
|
-
var i =
|
3154
|
-
if (i === void 0 ||
|
3188
|
+
var i = _r(t, r);
|
3189
|
+
if (i === void 0 || xr(i) || Ti(i))
|
3155
3190
|
break;
|
3156
3191
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3157
3192
|
}
|
3158
|
-
return
|
3193
|
+
return rt.apply(void 0, n);
|
3159
3194
|
};
|
3160
|
-
var
|
3195
|
+
var xi = (
|
3161
3196
|
/** @class */
|
3162
3197
|
function() {
|
3163
3198
|
function e(t, r) {
|
@@ -3181,14 +3216,14 @@ var yi = (
|
|
3181
3216
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3182
3217
|
var a = this.clonePosition();
|
3183
3218
|
this.bump(), i.push({
|
3184
|
-
type:
|
3219
|
+
type: E.pound,
|
3185
3220
|
location: g(a, this.clonePosition())
|
3186
3221
|
});
|
3187
3222
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3188
3223
|
if (n)
|
3189
3224
|
break;
|
3190
3225
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3191
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3226
|
+
} else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
|
3192
3227
|
var o = this.parseTag(t, r);
|
3193
3228
|
if (o.err)
|
3194
3229
|
return o;
|
@@ -3209,7 +3244,7 @@ var yi = (
|
|
3209
3244
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3210
3245
|
return {
|
3211
3246
|
val: {
|
3212
|
-
type:
|
3247
|
+
type: E.literal,
|
3213
3248
|
value: "<".concat(i, "/>"),
|
3214
3249
|
location: g(n, this.clonePosition())
|
3215
3250
|
},
|
@@ -3221,12 +3256,12 @@ var yi = (
|
|
3221
3256
|
return s;
|
3222
3257
|
var o = s.val, a = this.clonePosition();
|
3223
3258
|
if (this.bumpIf("</")) {
|
3224
|
-
if (this.isEOF() || !
|
3259
|
+
if (this.isEOF() || !it(this.char()))
|
3225
3260
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3226
3261
|
var h = this.clonePosition(), u = this.parseTagName();
|
3227
3262
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3228
3263
|
val: {
|
3229
|
-
type:
|
3264
|
+
type: E.tag,
|
3230
3265
|
value: i,
|
3231
3266
|
children: o,
|
3232
3267
|
location: g(n, this.clonePosition())
|
@@ -3239,7 +3274,7 @@ var yi = (
|
|
3239
3274
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3240
3275
|
}, e.prototype.parseTagName = function() {
|
3241
3276
|
var t = this.offset();
|
3242
|
-
for (this.bump(); !this.isEOF() &&
|
3277
|
+
for (this.bump(); !this.isEOF() && wi(this.char()); )
|
3243
3278
|
this.bump();
|
3244
3279
|
return this.message.slice(t, this.offset());
|
3245
3280
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3263,12 +3298,12 @@ var yi = (
|
|
3263
3298
|
}
|
3264
3299
|
var h = g(n, this.clonePosition());
|
3265
3300
|
return {
|
3266
|
-
val: { type:
|
3301
|
+
val: { type: E.literal, value: i, location: h },
|
3267
3302
|
err: null
|
3268
3303
|
};
|
3269
3304
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3270
3305
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3271
|
-
!
|
3306
|
+
!Si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3272
3307
|
}, e.prototype.tryParseQuote = function(t) {
|
3273
3308
|
if (this.isEOF() || this.char() !== 39)
|
3274
3309
|
return null;
|
@@ -3302,12 +3337,12 @@ var yi = (
|
|
3302
3337
|
r.push(n);
|
3303
3338
|
this.bump();
|
3304
3339
|
}
|
3305
|
-
return
|
3340
|
+
return rt.apply(void 0, r);
|
3306
3341
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3307
3342
|
if (this.isEOF())
|
3308
3343
|
return null;
|
3309
3344
|
var n = this.char();
|
3310
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3345
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
|
3311
3346
|
}, e.prototype.parseArgument = function(t, r) {
|
3312
3347
|
var n = this.clonePosition();
|
3313
3348
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3323,7 +3358,7 @@ var yi = (
|
|
3323
3358
|
case 125:
|
3324
3359
|
return this.bump(), {
|
3325
3360
|
val: {
|
3326
|
-
type:
|
3361
|
+
type: E.argument,
|
3327
3362
|
// value does not include the opening and closing braces.
|
3328
3363
|
value: i,
|
3329
3364
|
location: g(n, this.clonePosition())
|
@@ -3336,7 +3371,7 @@ var yi = (
|
|
3336
3371
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3337
3372
|
}
|
3338
3373
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3339
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3374
|
+
var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
|
3340
3375
|
this.bumpTo(i);
|
3341
3376
|
var s = this.clonePosition(), o = g(t, s);
|
3342
3377
|
return { value: n, location: o };
|
@@ -3355,7 +3390,7 @@ var yi = (
|
|
3355
3390
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3356
3391
|
if (m.err)
|
3357
3392
|
return m;
|
3358
|
-
var c =
|
3393
|
+
var c = Ei(m.val);
|
3359
3394
|
if (c.length === 0)
|
3360
3395
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3361
3396
|
var d = g(l, this.clonePosition());
|
@@ -3365,25 +3400,25 @@ var yi = (
|
|
3365
3400
|
if (b.err)
|
3366
3401
|
return b;
|
3367
3402
|
var y = g(i, this.clonePosition());
|
3368
|
-
if (u &&
|
3369
|
-
var T =
|
3403
|
+
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
3404
|
+
var T = _i(u.style.slice(2));
|
3370
3405
|
if (a === "number") {
|
3371
3406
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3372
3407
|
return m.err ? m : {
|
3373
|
-
val: { type:
|
3408
|
+
val: { type: E.number, value: n, location: y, style: m.val },
|
3374
3409
|
err: null
|
3375
3410
|
};
|
3376
3411
|
} else {
|
3377
3412
|
if (T.length === 0)
|
3378
3413
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3379
3414
|
var C = T;
|
3380
|
-
this.locale && (C =
|
3415
|
+
this.locale && (C = ai(T, this.locale));
|
3381
3416
|
var c = {
|
3382
|
-
type:
|
3417
|
+
type: K.dateTime,
|
3383
3418
|
pattern: C,
|
3384
3419
|
location: u.styleLocation,
|
3385
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3386
|
-
}, P = a === "date" ?
|
3420
|
+
parsedOptions: this.shouldParseSkeletons ? ei(C) : {}
|
3421
|
+
}, P = a === "date" ? E.date : E.time;
|
3387
3422
|
return {
|
3388
3423
|
val: { type: P, value: n, location: y, style: c },
|
3389
3424
|
err: null
|
@@ -3392,7 +3427,7 @@ var yi = (
|
|
3392
3427
|
}
|
3393
3428
|
return {
|
3394
3429
|
val: {
|
3395
|
-
type: a === "number" ?
|
3430
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
3396
3431
|
value: n,
|
3397
3432
|
location: y,
|
3398
3433
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
@@ -3405,41 +3440,41 @@ var yi = (
|
|
3405
3440
|
case "select": {
|
3406
3441
|
var w = this.clonePosition();
|
3407
3442
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3408
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w,
|
3443
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, we({}, w)));
|
3409
3444
|
this.bumpSpace();
|
3410
|
-
var
|
3411
|
-
if (a !== "select" &&
|
3445
|
+
var O = this.parseIdentifierIfPossible(), N = 0;
|
3446
|
+
if (a !== "select" && O.value === "offset") {
|
3412
3447
|
if (!this.bumpIf(":"))
|
3413
3448
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3414
3449
|
this.bumpSpace();
|
3415
3450
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3416
3451
|
if (m.err)
|
3417
3452
|
return m;
|
3418
|
-
this.bumpSpace(),
|
3453
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
|
3419
3454
|
}
|
3420
|
-
var R = this.tryParsePluralOrSelectOptions(t, a, r,
|
3455
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
3421
3456
|
if (R.err)
|
3422
3457
|
return R;
|
3423
3458
|
var b = this.tryParseArgumentClose(i);
|
3424
3459
|
if (b.err)
|
3425
3460
|
return b;
|
3426
|
-
var
|
3461
|
+
var _ = g(i, this.clonePosition());
|
3427
3462
|
return a === "select" ? {
|
3428
3463
|
val: {
|
3429
|
-
type:
|
3464
|
+
type: E.select,
|
3430
3465
|
value: n,
|
3431
|
-
options:
|
3432
|
-
location:
|
3466
|
+
options: Rt(R.val),
|
3467
|
+
location: _
|
3433
3468
|
},
|
3434
3469
|
err: null
|
3435
3470
|
} : {
|
3436
3471
|
val: {
|
3437
|
-
type:
|
3472
|
+
type: E.plural,
|
3438
3473
|
value: n,
|
3439
|
-
options:
|
3440
|
-
offset:
|
3474
|
+
options: Rt(R.val),
|
3475
|
+
offset: N,
|
3441
3476
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3442
|
-
location:
|
3477
|
+
location: _
|
3443
3478
|
},
|
3444
3479
|
err: null
|
3445
3480
|
};
|
@@ -3487,16 +3522,16 @@ var yi = (
|
|
3487
3522
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3488
3523
|
var n = [];
|
3489
3524
|
try {
|
3490
|
-
n =
|
3525
|
+
n = ri(t);
|
3491
3526
|
} catch (i) {
|
3492
3527
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3493
3528
|
}
|
3494
3529
|
return {
|
3495
3530
|
val: {
|
3496
|
-
type:
|
3531
|
+
type: K.number,
|
3497
3532
|
tokens: n,
|
3498
3533
|
location: r,
|
3499
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3534
|
+
parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
|
3500
3535
|
},
|
3501
3536
|
err: null
|
3502
3537
|
};
|
@@ -3544,7 +3579,7 @@ var yi = (
|
|
3544
3579
|
break;
|
3545
3580
|
}
|
3546
3581
|
var h = g(i, this.clonePosition());
|
3547
|
-
return s ? (o *= n,
|
3582
|
+
return s ? (o *= n, yi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3548
3583
|
}, e.prototype.offset = function() {
|
3549
3584
|
return this.position.offset;
|
3550
3585
|
}, e.prototype.isEOF = function() {
|
@@ -3559,7 +3594,7 @@ var yi = (
|
|
3559
3594
|
var t = this.position.offset;
|
3560
3595
|
if (t >= this.message.length)
|
3561
3596
|
throw Error("out of bound");
|
3562
|
-
var r =
|
3597
|
+
var r = _r(this.message, t);
|
3563
3598
|
if (r === void 0)
|
3564
3599
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3565
3600
|
return r;
|
@@ -3578,7 +3613,7 @@ var yi = (
|
|
3578
3613
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3579
3614
|
}
|
3580
3615
|
}, e.prototype.bumpIf = function(t) {
|
3581
|
-
if (
|
3616
|
+
if (Mt(this.message, t, this.offset())) {
|
3582
3617
|
for (var r = 0; r < t.length; r++)
|
3583
3618
|
this.bump();
|
3584
3619
|
return !0;
|
@@ -3600,7 +3635,7 @@ var yi = (
|
|
3600
3635
|
break;
|
3601
3636
|
}
|
3602
3637
|
}, e.prototype.bumpSpace = function() {
|
3603
|
-
for (; !this.isEOF() &&
|
3638
|
+
for (; !this.isEOF() && xr(this.char()); )
|
3604
3639
|
this.bump();
|
3605
3640
|
}, e.prototype.peek = function() {
|
3606
3641
|
if (this.isEOF())
|
@@ -3610,47 +3645,47 @@ var yi = (
|
|
3610
3645
|
}, e;
|
3611
3646
|
}()
|
3612
3647
|
);
|
3613
|
-
function
|
3648
|
+
function it(e) {
|
3614
3649
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3615
3650
|
}
|
3616
|
-
function
|
3617
|
-
return
|
3651
|
+
function Si(e) {
|
3652
|
+
return it(e) || e === 47;
|
3618
3653
|
}
|
3619
|
-
function
|
3654
|
+
function wi(e) {
|
3620
3655
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3621
3656
|
}
|
3622
|
-
function
|
3657
|
+
function xr(e) {
|
3623
3658
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3624
3659
|
}
|
3625
|
-
function
|
3660
|
+
function Ti(e) {
|
3626
3661
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3627
3662
|
}
|
3628
|
-
function
|
3663
|
+
function st(e) {
|
3629
3664
|
e.forEach(function(t) {
|
3630
|
-
if (delete t.location,
|
3665
|
+
if (delete t.location, fr(t) || mr(t))
|
3631
3666
|
for (var r in t.options)
|
3632
|
-
delete t.options[r].location,
|
3667
|
+
delete t.options[r].location, st(t.options[r].value);
|
3633
3668
|
else
|
3634
|
-
|
3669
|
+
hr(t) && br(t.style) || (lr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && st(t.children);
|
3635
3670
|
});
|
3636
3671
|
}
|
3637
|
-
function
|
3638
|
-
t === void 0 && (t = {}), t =
|
3639
|
-
var r = new
|
3672
|
+
function Hi(e, t) {
|
3673
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3674
|
+
var r = new xi(e, t).parse();
|
3640
3675
|
if (r.err) {
|
3641
3676
|
var n = SyntaxError(p[r.err.kind]);
|
3642
3677
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3643
3678
|
}
|
3644
|
-
return t != null && t.captureLocation ||
|
3679
|
+
return t != null && t.captureLocation || st(r.val), r.val;
|
3645
3680
|
}
|
3646
|
-
var
|
3681
|
+
var ee;
|
3647
3682
|
(function(e) {
|
3648
3683
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3649
|
-
})(
|
3650
|
-
var
|
3684
|
+
})(ee || (ee = {}));
|
3685
|
+
var Oe = (
|
3651
3686
|
/** @class */
|
3652
3687
|
function(e) {
|
3653
|
-
|
3688
|
+
Pe(t, e);
|
3654
3689
|
function t(r, n, i) {
|
3655
3690
|
var s = e.call(this, r) || this;
|
3656
3691
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3659,48 +3694,48 @@ var Be = (
|
|
3659
3694
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3660
3695
|
}, t;
|
3661
3696
|
}(Error)
|
3662
|
-
),
|
3697
|
+
), Ut = (
|
3663
3698
|
/** @class */
|
3664
3699
|
function(e) {
|
3665
|
-
|
3700
|
+
Pe(t, e);
|
3666
3701
|
function t(r, n, i, s) {
|
3667
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3702
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
3668
3703
|
}
|
3669
3704
|
return t;
|
3670
|
-
}(
|
3671
|
-
),
|
3705
|
+
}(Oe)
|
3706
|
+
), Ai = (
|
3672
3707
|
/** @class */
|
3673
3708
|
function(e) {
|
3674
|
-
|
3709
|
+
Pe(t, e);
|
3675
3710
|
function t(r, n, i) {
|
3676
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3711
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
3677
3712
|
}
|
3678
3713
|
return t;
|
3679
|
-
}(
|
3680
|
-
),
|
3714
|
+
}(Oe)
|
3715
|
+
), Bi = (
|
3681
3716
|
/** @class */
|
3682
3717
|
function(e) {
|
3683
|
-
|
3718
|
+
Pe(t, e);
|
3684
3719
|
function t(r, n) {
|
3685
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3720
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
3686
3721
|
}
|
3687
3722
|
return t;
|
3688
|
-
}(
|
3723
|
+
}(Oe)
|
3689
3724
|
), H;
|
3690
3725
|
(function(e) {
|
3691
3726
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3692
3727
|
})(H || (H = {}));
|
3693
|
-
function
|
3728
|
+
function Pi(e) {
|
3694
3729
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3695
3730
|
var n = t[t.length - 1];
|
3696
3731
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3697
3732
|
}, []);
|
3698
3733
|
}
|
3699
|
-
function
|
3734
|
+
function Oi(e) {
|
3700
3735
|
return typeof e == "function";
|
3701
3736
|
}
|
3702
3737
|
function xe(e, t, r, n, i, s, o) {
|
3703
|
-
if (e.length === 1 &&
|
3738
|
+
if (e.length === 1 && Nt(e[0]))
|
3704
3739
|
return [
|
3705
3740
|
{
|
3706
3741
|
type: H.literal,
|
@@ -3709,14 +3744,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
3709
3744
|
];
|
3710
3745
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3711
3746
|
var l = u[h];
|
3712
|
-
if (
|
3747
|
+
if (Nt(l)) {
|
3713
3748
|
a.push({
|
3714
3749
|
type: H.literal,
|
3715
3750
|
value: l.value
|
3716
3751
|
});
|
3717
3752
|
continue;
|
3718
3753
|
}
|
3719
|
-
if (
|
3754
|
+
if (Jn(l)) {
|
3720
3755
|
typeof s == "number" && a.push({
|
3721
3756
|
type: H.literal,
|
3722
3757
|
value: r.getNumberFormat(t).format(s)
|
@@ -3725,89 +3760,89 @@ function xe(e, t, r, n, i, s, o) {
|
|
3725
3760
|
}
|
3726
3761
|
var m = l.value;
|
3727
3762
|
if (!(i && m in i))
|
3728
|
-
throw new
|
3763
|
+
throw new Bi(m, o);
|
3729
3764
|
var c = i[m];
|
3730
|
-
if (
|
3765
|
+
if (qn(l)) {
|
3731
3766
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3732
3767
|
type: typeof c == "string" ? H.literal : H.object,
|
3733
3768
|
value: c
|
3734
3769
|
});
|
3735
3770
|
continue;
|
3736
3771
|
}
|
3737
|
-
if (
|
3738
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3772
|
+
if (lr(l)) {
|
3773
|
+
var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
|
3739
3774
|
a.push({
|
3740
3775
|
type: H.literal,
|
3741
3776
|
value: r.getDateTimeFormat(t, d).format(c)
|
3742
3777
|
});
|
3743
3778
|
continue;
|
3744
3779
|
}
|
3745
|
-
if (
|
3746
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3780
|
+
if (cr(l)) {
|
3781
|
+
var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
|
3747
3782
|
a.push({
|
3748
3783
|
type: H.literal,
|
3749
3784
|
value: r.getDateTimeFormat(t, d).format(c)
|
3750
3785
|
});
|
3751
3786
|
continue;
|
3752
3787
|
}
|
3753
|
-
if (
|
3754
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3788
|
+
if (hr(l)) {
|
3789
|
+
var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
|
3755
3790
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3756
3791
|
type: H.literal,
|
3757
3792
|
value: r.getNumberFormat(t, d).format(c)
|
3758
3793
|
});
|
3759
3794
|
continue;
|
3760
3795
|
}
|
3761
|
-
if (
|
3796
|
+
if (dr(l)) {
|
3762
3797
|
var b = l.children, y = l.value, T = i[y];
|
3763
|
-
if (!
|
3764
|
-
throw new
|
3765
|
-
var C = xe(b, t, r, n, i, s), P = T(C.map(function(
|
3766
|
-
return
|
3798
|
+
if (!Oi(T))
|
3799
|
+
throw new Ai(y, "function", o);
|
3800
|
+
var C = xe(b, t, r, n, i, s), P = T(C.map(function(N) {
|
3801
|
+
return N.value;
|
3767
3802
|
}));
|
3768
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
3803
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
|
3769
3804
|
return {
|
3770
|
-
type: typeof
|
3771
|
-
value:
|
3805
|
+
type: typeof N == "string" ? H.literal : H.object,
|
3806
|
+
value: N
|
3772
3807
|
};
|
3773
3808
|
}));
|
3774
3809
|
}
|
3775
|
-
if (
|
3810
|
+
if (fr(l)) {
|
3776
3811
|
var w = l.options[c] || l.options.other;
|
3777
3812
|
if (!w)
|
3778
|
-
throw new
|
3813
|
+
throw new Ut(l.value, c, Object.keys(l.options), o);
|
3779
3814
|
a.push.apply(a, xe(w.value, t, r, n, i));
|
3780
3815
|
continue;
|
3781
3816
|
}
|
3782
|
-
if (
|
3817
|
+
if (mr(l)) {
|
3783
3818
|
var w = l.options["=".concat(c)];
|
3784
3819
|
if (!w) {
|
3785
3820
|
if (!Intl.PluralRules)
|
3786
|
-
throw new
|
3821
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
3787
3822
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3788
|
-
`,
|
3789
|
-
var
|
3790
|
-
w = l.options[
|
3823
|
+
`, ee.MISSING_INTL_API, o);
|
3824
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3825
|
+
w = l.options[O] || l.options.other;
|
3791
3826
|
}
|
3792
3827
|
if (!w)
|
3793
|
-
throw new
|
3828
|
+
throw new Ut(l.value, c, Object.keys(l.options), o);
|
3794
3829
|
a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
|
3795
3830
|
continue;
|
3796
3831
|
}
|
3797
3832
|
}
|
3798
|
-
return
|
3833
|
+
return Pi(a);
|
3799
3834
|
}
|
3800
|
-
function
|
3801
|
-
return t ?
|
3802
|
-
return r[n] =
|
3835
|
+
function Ni(e, t) {
|
3836
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3837
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
3803
3838
|
}, {})) : e;
|
3804
3839
|
}
|
3805
|
-
function
|
3840
|
+
function Li(e, t) {
|
3806
3841
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3807
|
-
return r[n] =
|
3808
|
-
},
|
3842
|
+
return r[n] = Ni(e[n], t[n]), r;
|
3843
|
+
}, G({}, e)) : e;
|
3809
3844
|
}
|
3810
|
-
function
|
3845
|
+
function je(e) {
|
3811
3846
|
return {
|
3812
3847
|
create: function() {
|
3813
3848
|
return {
|
@@ -3821,39 +3856,39 @@ function De(e) {
|
|
3821
3856
|
}
|
3822
3857
|
};
|
3823
3858
|
}
|
3824
|
-
function
|
3859
|
+
function Ii(e) {
|
3825
3860
|
return e === void 0 && (e = {
|
3826
3861
|
number: {},
|
3827
3862
|
dateTime: {},
|
3828
3863
|
pluralRules: {}
|
3829
3864
|
}), {
|
3830
|
-
getNumberFormat:
|
3865
|
+
getNumberFormat: De(function() {
|
3831
3866
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3832
3867
|
r[n] = arguments[n];
|
3833
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3868
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3834
3869
|
}, {
|
3835
|
-
cache:
|
3836
|
-
strategy:
|
3870
|
+
cache: je(e.number),
|
3871
|
+
strategy: $e.variadic
|
3837
3872
|
}),
|
3838
|
-
getDateTimeFormat:
|
3873
|
+
getDateTimeFormat: De(function() {
|
3839
3874
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3840
3875
|
r[n] = arguments[n];
|
3841
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3876
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3842
3877
|
}, {
|
3843
|
-
cache:
|
3844
|
-
strategy:
|
3878
|
+
cache: je(e.dateTime),
|
3879
|
+
strategy: $e.variadic
|
3845
3880
|
}),
|
3846
|
-
getPluralRules:
|
3881
|
+
getPluralRules: De(function() {
|
3847
3882
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3848
3883
|
r[n] = arguments[n];
|
3849
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3884
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
|
3850
3885
|
}, {
|
3851
|
-
cache:
|
3852
|
-
strategy:
|
3886
|
+
cache: je(e.pluralRules),
|
3887
|
+
strategy: $e.variadic
|
3853
3888
|
})
|
3854
3889
|
};
|
3855
3890
|
}
|
3856
|
-
var
|
3891
|
+
var Ci = (
|
3857
3892
|
/** @class */
|
3858
3893
|
function() {
|
3859
3894
|
function e(t, r, n, i) {
|
@@ -3885,13 +3920,13 @@ var Ni = (
|
|
3885
3920
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3886
3921
|
var o = i || {};
|
3887
3922
|
o.formatters;
|
3888
|
-
var a =
|
3889
|
-
this.ast = e.__parse(t,
|
3923
|
+
var a = kn(o, ["formatters"]);
|
3924
|
+
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
3890
3925
|
} else
|
3891
3926
|
this.ast = t;
|
3892
3927
|
if (!Array.isArray(this.ast))
|
3893
3928
|
throw new TypeError("A message must be provided as a String or AST.");
|
3894
|
-
this.formats =
|
3929
|
+
this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
|
3895
3930
|
}
|
3896
3931
|
return Object.defineProperty(e, "defaultLocale", {
|
3897
3932
|
get: function() {
|
@@ -3904,7 +3939,7 @@ var Ni = (
|
|
3904
3939
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3905
3940
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3906
3941
|
}
|
3907
|
-
}, e.__parse =
|
3942
|
+
}, e.__parse = Hi, e.formats = {
|
3908
3943
|
number: {
|
3909
3944
|
integer: {
|
3910
3945
|
maximumFractionDigits: 0
|
@@ -3965,7 +4000,7 @@ var Ni = (
|
|
3965
4000
|
}, e;
|
3966
4001
|
}()
|
3967
4002
|
);
|
3968
|
-
function
|
4003
|
+
function Mi(e, t) {
|
3969
4004
|
if (t == null)
|
3970
4005
|
return;
|
3971
4006
|
if (t in e)
|
@@ -3986,92 +4021,92 @@ function Oi(e, t) {
|
|
3986
4021
|
n = void 0;
|
3987
4022
|
return n;
|
3988
4023
|
}
|
3989
|
-
const
|
4024
|
+
const $ = {}, Ri = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Sr = (e, t) => {
|
3990
4025
|
if (t == null)
|
3991
4026
|
return;
|
3992
|
-
if (t in
|
3993
|
-
return
|
3994
|
-
const r =
|
4027
|
+
if (t in $ && e in $[t])
|
4028
|
+
return $[t][e];
|
4029
|
+
const r = Ne(t);
|
3995
4030
|
for (let n = 0; n < r.length; n++) {
|
3996
|
-
const i = r[n], s =
|
4031
|
+
const i = r[n], s = Ui(i, e);
|
3997
4032
|
if (s)
|
3998
|
-
return
|
4033
|
+
return Ri(e, t, s);
|
3999
4034
|
}
|
4000
4035
|
};
|
4001
|
-
let
|
4002
|
-
const de =
|
4003
|
-
function
|
4004
|
-
return
|
4036
|
+
let lt;
|
4037
|
+
const de = Be({});
|
4038
|
+
function Gi(e) {
|
4039
|
+
return lt[e] || null;
|
4005
4040
|
}
|
4006
|
-
function
|
4007
|
-
return e in
|
4041
|
+
function wr(e) {
|
4042
|
+
return e in lt;
|
4008
4043
|
}
|
4009
|
-
function
|
4010
|
-
if (!
|
4044
|
+
function Ui(e, t) {
|
4045
|
+
if (!wr(e))
|
4011
4046
|
return null;
|
4012
|
-
const r =
|
4013
|
-
return
|
4047
|
+
const r = Gi(e);
|
4048
|
+
return Mi(r, t);
|
4014
4049
|
}
|
4015
|
-
function
|
4050
|
+
function Di(e) {
|
4016
4051
|
if (e == null)
|
4017
4052
|
return;
|
4018
|
-
const t =
|
4053
|
+
const t = Ne(e);
|
4019
4054
|
for (let r = 0; r < t.length; r++) {
|
4020
4055
|
const n = t[r];
|
4021
|
-
if (
|
4056
|
+
if (wr(n))
|
4022
4057
|
return n;
|
4023
4058
|
}
|
4024
4059
|
}
|
4025
|
-
function
|
4026
|
-
delete
|
4060
|
+
function Tr(e, ...t) {
|
4061
|
+
delete $[e], de.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
|
4027
4062
|
}
|
4028
|
-
|
4063
|
+
ie(
|
4029
4064
|
[de],
|
4030
4065
|
([e]) => Object.keys(e)
|
4031
4066
|
);
|
4032
|
-
de.subscribe((e) =>
|
4067
|
+
de.subscribe((e) => lt = e);
|
4033
4068
|
const Se = {};
|
4034
|
-
function
|
4069
|
+
function $i(e, t) {
|
4035
4070
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
4036
4071
|
}
|
4037
|
-
function
|
4072
|
+
function Hr(e) {
|
4038
4073
|
return Se[e];
|
4039
4074
|
}
|
4040
|
-
function
|
4041
|
-
return
|
4042
|
-
const r =
|
4075
|
+
function Fi(e) {
|
4076
|
+
return Ne(e).map((t) => {
|
4077
|
+
const r = Hr(t);
|
4043
4078
|
return [t, r ? [...r] : []];
|
4044
4079
|
}).filter(([, t]) => t.length > 0);
|
4045
4080
|
}
|
4046
|
-
function
|
4047
|
-
return e == null ? !1 :
|
4081
|
+
function ot(e) {
|
4082
|
+
return e == null ? !1 : Ne(e).some(
|
4048
4083
|
(t) => {
|
4049
4084
|
var r;
|
4050
|
-
return (r =
|
4085
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
4051
4086
|
}
|
4052
4087
|
);
|
4053
4088
|
}
|
4054
|
-
function
|
4089
|
+
function ji(e, t) {
|
4055
4090
|
return Promise.all(
|
4056
|
-
t.map((n) => (
|
4057
|
-
).then((n) =>
|
4058
|
-
}
|
4059
|
-
const
|
4060
|
-
function
|
4061
|
-
if (!
|
4062
|
-
return e in
|
4063
|
-
const t =
|
4064
|
-
return
|
4091
|
+
t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
|
4092
|
+
).then((n) => Tr(e, ...n));
|
4093
|
+
}
|
4094
|
+
const oe = {};
|
4095
|
+
function Ar(e) {
|
4096
|
+
if (!ot(e))
|
4097
|
+
return e in oe ? oe[e] : Promise.resolve();
|
4098
|
+
const t = Fi(e);
|
4099
|
+
return oe[e] = Promise.all(
|
4065
4100
|
t.map(
|
4066
|
-
([r, n]) =>
|
4101
|
+
([r, n]) => ji(r, n)
|
4067
4102
|
)
|
4068
4103
|
).then(() => {
|
4069
|
-
if (
|
4070
|
-
return
|
4071
|
-
delete
|
4072
|
-
}),
|
4104
|
+
if (ot(e))
|
4105
|
+
return Ar(e);
|
4106
|
+
delete oe[e];
|
4107
|
+
}), oe[e];
|
4073
4108
|
}
|
4074
|
-
const
|
4109
|
+
const ki = {
|
4075
4110
|
number: {
|
4076
4111
|
scientific: { notation: "scientific" },
|
4077
4112
|
engineering: { notation: "engineering" },
|
@@ -4100,135 +4135,135 @@ const Di = {
|
|
4100
4135
|
timeZoneName: "short"
|
4101
4136
|
}
|
4102
4137
|
}
|
4103
|
-
},
|
4138
|
+
}, Vi = {
|
4104
4139
|
fallbackLocale: null,
|
4105
4140
|
loadingDelay: 200,
|
4106
|
-
formats:
|
4141
|
+
formats: ki,
|
4107
4142
|
warnOnMissingMessages: !0,
|
4108
4143
|
handleMissingMessage: void 0,
|
4109
4144
|
ignoreTag: !0
|
4110
|
-
},
|
4111
|
-
function
|
4112
|
-
return
|
4113
|
-
}
|
4114
|
-
const
|
4115
|
-
var
|
4116
|
-
for (var r in t)
|
4117
|
-
|
4118
|
-
if (
|
4119
|
-
for (var r of
|
4120
|
-
|
4145
|
+
}, Xi = Vi;
|
4146
|
+
function te() {
|
4147
|
+
return Xi;
|
4148
|
+
}
|
4149
|
+
const ke = Be(!1);
|
4150
|
+
var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
|
4151
|
+
for (var r in t || (t = {}))
|
4152
|
+
Qi.call(t, r) && $t(e, r, t[r]);
|
4153
|
+
if (Dt)
|
4154
|
+
for (var r of Dt(t))
|
4155
|
+
Yi.call(t, r) && $t(e, r, t[r]);
|
4121
4156
|
return e;
|
4122
|
-
},
|
4123
|
-
let
|
4124
|
-
const
|
4125
|
-
function
|
4157
|
+
}, Ji = (e, t) => zi(e, Zi(t));
|
4158
|
+
let at;
|
4159
|
+
const Te = Be(null);
|
4160
|
+
function Ft(e) {
|
4126
4161
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4127
4162
|
}
|
4128
|
-
function
|
4129
|
-
const r =
|
4130
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4163
|
+
function Ne(e, t = te().fallbackLocale) {
|
4164
|
+
const r = Ft(e);
|
4165
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
|
4131
4166
|
}
|
4132
4167
|
function X() {
|
4133
|
-
return
|
4168
|
+
return at != null ? at : void 0;
|
4134
4169
|
}
|
4135
|
-
|
4136
|
-
|
4170
|
+
Te.subscribe((e) => {
|
4171
|
+
at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4137
4172
|
});
|
4138
|
-
const
|
4139
|
-
if (e &&
|
4140
|
-
const { loadingDelay: t } =
|
4173
|
+
const Ki = (e) => {
|
4174
|
+
if (e && Di(e) && ot(e)) {
|
4175
|
+
const { loadingDelay: t } = te();
|
4141
4176
|
let r;
|
4142
4177
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
4143
|
-
() =>
|
4178
|
+
() => ke.set(!0),
|
4144
4179
|
t
|
4145
|
-
) :
|
4146
|
-
|
4180
|
+
) : ke.set(!0), Ar(e).then(() => {
|
4181
|
+
Te.set(e);
|
4147
4182
|
}).finally(() => {
|
4148
|
-
clearTimeout(r),
|
4183
|
+
clearTimeout(r), ke.set(!1);
|
4149
4184
|
});
|
4150
4185
|
}
|
4151
|
-
return
|
4152
|
-
}, be =
|
4153
|
-
set:
|
4154
|
-
}),
|
4186
|
+
return Te.set(e);
|
4187
|
+
}, be = Ji(qi({}, Te), {
|
4188
|
+
set: Ki
|
4189
|
+
}), Le = (e) => {
|
4155
4190
|
const t = /* @__PURE__ */ Object.create(null);
|
4156
4191
|
return (n) => {
|
4157
4192
|
const i = JSON.stringify(n);
|
4158
4193
|
return i in t ? t[i] : t[i] = e(n);
|
4159
4194
|
};
|
4160
4195
|
};
|
4161
|
-
var
|
4196
|
+
var es = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
4162
4197
|
for (var r in t || (t = {}))
|
4163
|
-
|
4164
|
-
if (
|
4165
|
-
for (var r of
|
4166
|
-
|
4198
|
+
Br.call(t, r) && jt(e, r, t[r]);
|
4199
|
+
if (He)
|
4200
|
+
for (var r of He(t))
|
4201
|
+
Pr.call(t, r) && jt(e, r, t[r]);
|
4167
4202
|
return e;
|
4168
|
-
},
|
4203
|
+
}, se = (e, t) => {
|
4169
4204
|
var r = {};
|
4170
4205
|
for (var n in e)
|
4171
|
-
|
4172
|
-
if (e != null &&
|
4173
|
-
for (var n of
|
4174
|
-
t.indexOf(n) < 0 &&
|
4206
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4207
|
+
if (e != null && He)
|
4208
|
+
for (var n of He(e))
|
4209
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
4175
4210
|
return r;
|
4176
4211
|
};
|
4177
|
-
const
|
4178
|
-
const { formats: r } =
|
4212
|
+
const le = (e, t) => {
|
4213
|
+
const { formats: r } = te();
|
4179
4214
|
if (e in r && t in r[e])
|
4180
4215
|
return r[e][t];
|
4181
4216
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4182
|
-
},
|
4217
|
+
}, ts = Le(
|
4183
4218
|
(e) => {
|
4184
|
-
var t = e, { locale: r, format: n } = t, i =
|
4219
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4185
4220
|
if (r == null)
|
4186
4221
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4187
|
-
return n && (i =
|
4222
|
+
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
4188
4223
|
}
|
4189
|
-
),
|
4224
|
+
), rs = Le(
|
4190
4225
|
(e) => {
|
4191
|
-
var t = e, { locale: r, format: n } = t, i =
|
4226
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4192
4227
|
if (r == null)
|
4193
4228
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4194
|
-
return n ? i =
|
4229
|
+
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
4195
4230
|
}
|
4196
|
-
),
|
4231
|
+
), ns = Le(
|
4197
4232
|
(e) => {
|
4198
|
-
var t = e, { locale: r, format: n } = t, i =
|
4233
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4199
4234
|
if (r == null)
|
4200
4235
|
throw new Error(
|
4201
4236
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4202
4237
|
);
|
4203
|
-
return n ? i =
|
4238
|
+
return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
|
4204
4239
|
}
|
4205
|
-
),
|
4240
|
+
), is = (e = {}) => {
|
4206
4241
|
var t = e, {
|
4207
4242
|
locale: r = X()
|
4208
|
-
} = t, n =
|
4243
|
+
} = t, n = se(t, [
|
4209
4244
|
"locale"
|
4210
4245
|
]);
|
4211
|
-
return
|
4212
|
-
},
|
4246
|
+
return ts(ct({ locale: r }, n));
|
4247
|
+
}, ss = (e = {}) => {
|
4213
4248
|
var t = e, {
|
4214
4249
|
locale: r = X()
|
4215
|
-
} = t, n =
|
4250
|
+
} = t, n = se(t, [
|
4216
4251
|
"locale"
|
4217
4252
|
]);
|
4218
|
-
return
|
4219
|
-
},
|
4253
|
+
return rs(ct({ locale: r }, n));
|
4254
|
+
}, os = (e = {}) => {
|
4220
4255
|
var t = e, {
|
4221
4256
|
locale: r = X()
|
4222
|
-
} = t, n =
|
4257
|
+
} = t, n = se(t, [
|
4223
4258
|
"locale"
|
4224
4259
|
]);
|
4225
|
-
return
|
4226
|
-
},
|
4260
|
+
return ns(ct({ locale: r }, n));
|
4261
|
+
}, as = Le(
|
4227
4262
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4228
|
-
(e, t = X()) => new
|
4229
|
-
ignoreTag:
|
4263
|
+
(e, t = X()) => new Ci(e, t, te().formats, {
|
4264
|
+
ignoreTag: te().ignoreTag
|
4230
4265
|
})
|
4231
|
-
),
|
4266
|
+
), us = (e, t = {}) => {
|
4232
4267
|
var r, n, i, s;
|
4233
4268
|
let o = t;
|
4234
4269
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4241,9 +4276,9 @@ const ce = (e, t) => {
|
|
4241
4276
|
throw new Error(
|
4242
4277
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4243
4278
|
);
|
4244
|
-
let l =
|
4279
|
+
let l = Sr(e, h);
|
4245
4280
|
if (!l)
|
4246
|
-
l = (s = (i = (n = (r =
|
4281
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4247
4282
|
else if (typeof l != "string")
|
4248
4283
|
return console.warn(
|
4249
4284
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4252,7 +4287,7 @@ const ce = (e, t) => {
|
|
4252
4287
|
return l;
|
4253
4288
|
let m = l;
|
4254
4289
|
try {
|
4255
|
-
m =
|
4290
|
+
m = as(l, h).format(a);
|
4256
4291
|
} catch (c) {
|
4257
4292
|
c instanceof Error && console.warn(
|
4258
4293
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4260,20 +4295,20 @@ const ce = (e, t) => {
|
|
4260
4295
|
);
|
4261
4296
|
}
|
4262
4297
|
return m;
|
4263
|
-
},
|
4264
|
-
|
4265
|
-
|
4266
|
-
|
4267
|
-
|
4268
|
-
window.emWidgets = { topic:
|
4269
|
-
const
|
4270
|
-
function
|
4298
|
+
}, 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 = ie([be, de], () => us);
|
4299
|
+
ie([be], () => hs);
|
4300
|
+
ie([be], () => ls);
|
4301
|
+
ie([be], () => cs);
|
4302
|
+
ie([be, de], () => fs);
|
4303
|
+
window.emWidgets = { topic: Tn };
|
4304
|
+
const ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4305
|
+
function bs(e, t) {
|
4271
4306
|
if (e) {
|
4272
4307
|
const r = document.createElement("style");
|
4273
4308
|
r.innerHTML = t, e.appendChild(r);
|
4274
4309
|
}
|
4275
4310
|
}
|
4276
|
-
function
|
4311
|
+
function ps(e, t) {
|
4277
4312
|
const r = new URL(t);
|
4278
4313
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4279
4314
|
const i = document.createElement("style");
|
@@ -4282,7 +4317,7 @@ function fs(e, t) {
|
|
4282
4317
|
console.error("There was an error while trying to load client styling from URL", n);
|
4283
4318
|
});
|
4284
4319
|
}
|
4285
|
-
function
|
4320
|
+
function gs(e, t, r) {
|
4286
4321
|
if (window.emMessageBus) {
|
4287
4322
|
const n = document.createElement("style");
|
4288
4323
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4290,10 +4325,10 @@ function ms(e, t, r) {
|
|
4290
4325
|
});
|
4291
4326
|
}
|
4292
4327
|
}
|
4293
|
-
function
|
4294
|
-
|
4328
|
+
function kt(e, t) {
|
4329
|
+
Tr(e, t);
|
4295
4330
|
}
|
4296
|
-
const
|
4331
|
+
const Vt = {
|
4297
4332
|
en: {
|
4298
4333
|
lobbyName: "Lobby",
|
4299
4334
|
myGamesName: "My games"
|
@@ -4379,173 +4414,173 @@ if (typeof window != "undefined") {
|
|
4379
4414
|
}
|
4380
4415
|
};
|
4381
4416
|
};
|
4382
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4417
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-4oZFStFQ.js").then(({ default: t }) => {
|
4383
4418
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4384
4419
|
});
|
4385
4420
|
}
|
4386
|
-
function
|
4387
|
-
|
4421
|
+
function ys(e) {
|
4422
|
+
zr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
4388
4423
|
}
|
4389
|
-
function
|
4424
|
+
function vs(e) {
|
4390
4425
|
let t, r;
|
4391
4426
|
return {
|
4392
4427
|
c() {
|
4393
|
-
t = V("div"), r = V("casino-slider"),
|
4428
|
+
t = V("div"), r = V("casino-slider"), v(
|
4394
4429
|
r,
|
4395
4430
|
"lang",
|
4396
4431
|
/*lang*/
|
4397
4432
|
e[3]
|
4398
|
-
),
|
4433
|
+
), v(
|
4399
4434
|
r,
|
4400
4435
|
"datasource",
|
4401
4436
|
/*datasource*/
|
4402
4437
|
e[2]
|
4403
|
-
),
|
4438
|
+
), v(
|
4404
4439
|
r,
|
4405
4440
|
"endpoint",
|
4406
4441
|
/*endpoint*/
|
4407
4442
|
e[1]
|
4408
|
-
),
|
4443
|
+
), v(r, "identity", ut), v(
|
4409
4444
|
r,
|
4410
4445
|
"favoritesnumber",
|
4411
4446
|
/*numberOfFavoredGames*/
|
4412
4447
|
e[16]
|
4413
|
-
),
|
4448
|
+
), v(
|
4414
4449
|
r,
|
4415
4450
|
"showsubgroups",
|
4416
4451
|
/*showsubgroups*/
|
4417
4452
|
e[8]
|
4418
|
-
),
|
4453
|
+
), v(
|
4419
4454
|
r,
|
4420
4455
|
"clientstyling",
|
4421
4456
|
/*clientstyling*/
|
4422
4457
|
e[4]
|
4423
|
-
),
|
4458
|
+
), v(
|
4424
4459
|
r,
|
4425
4460
|
"clientstylingurl",
|
4426
4461
|
/*clientstylingurl*/
|
4427
4462
|
e[5]
|
4428
|
-
),
|
4463
|
+
), v(
|
4429
4464
|
r,
|
4430
4465
|
"mbsource",
|
4431
4466
|
/*mbsource*/
|
4432
4467
|
e[12]
|
4433
|
-
),
|
4468
|
+
), v(
|
4434
4469
|
r,
|
4435
4470
|
"activeindex",
|
4436
4471
|
/*activecategory*/
|
4437
4472
|
e[0]
|
4438
|
-
),
|
4473
|
+
), v(
|
4439
4474
|
r,
|
4440
4475
|
"actionevent",
|
4441
4476
|
/*actionevent*/
|
4442
4477
|
e[6]
|
4443
|
-
),
|
4478
|
+
), v(
|
4444
4479
|
r,
|
4445
4480
|
"location",
|
4446
4481
|
/*location*/
|
4447
4482
|
e[7]
|
4448
|
-
),
|
4483
|
+
), v(
|
4449
4484
|
r,
|
4450
4485
|
"categoriesicon",
|
4451
4486
|
/*categoriesicon*/
|
4452
4487
|
e[9]
|
4453
|
-
),
|
4488
|
+
), v(
|
4454
4489
|
r,
|
4455
4490
|
"lobbyiconimage",
|
4456
4491
|
/*lobbyiconimage*/
|
4457
4492
|
e[10]
|
4458
|
-
),
|
4493
|
+
), v(
|
4459
4494
|
r,
|
4460
4495
|
"mygamesiconimage",
|
4461
4496
|
/*mygamesiconimage*/
|
4462
4497
|
e[11]
|
4463
|
-
),
|
4498
|
+
), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4464
4499
|
},
|
4465
4500
|
m(n, i) {
|
4466
|
-
|
4501
|
+
ce(n, t, i), Zt(t, r);
|
4467
4502
|
},
|
4468
4503
|
p(n, i) {
|
4469
4504
|
i[0] & /*lang*/
|
4470
|
-
8 &&
|
4505
|
+
8 && v(
|
4471
4506
|
r,
|
4472
4507
|
"lang",
|
4473
4508
|
/*lang*/
|
4474
4509
|
n[3]
|
4475
4510
|
), i[0] & /*datasource*/
|
4476
|
-
4 &&
|
4511
|
+
4 && v(
|
4477
4512
|
r,
|
4478
4513
|
"datasource",
|
4479
4514
|
/*datasource*/
|
4480
4515
|
n[2]
|
4481
4516
|
), i[0] & /*endpoint*/
|
4482
|
-
2 &&
|
4517
|
+
2 && v(
|
4483
4518
|
r,
|
4484
4519
|
"endpoint",
|
4485
4520
|
/*endpoint*/
|
4486
4521
|
n[1]
|
4487
4522
|
), i[0] & /*numberOfFavoredGames*/
|
4488
|
-
65536 &&
|
4523
|
+
65536 && v(
|
4489
4524
|
r,
|
4490
4525
|
"favoritesnumber",
|
4491
4526
|
/*numberOfFavoredGames*/
|
4492
4527
|
n[16]
|
4493
4528
|
), i[0] & /*showsubgroups*/
|
4494
|
-
256 &&
|
4529
|
+
256 && v(
|
4495
4530
|
r,
|
4496
4531
|
"showsubgroups",
|
4497
4532
|
/*showsubgroups*/
|
4498
4533
|
n[8]
|
4499
4534
|
), i[0] & /*clientstyling*/
|
4500
|
-
16 &&
|
4535
|
+
16 && v(
|
4501
4536
|
r,
|
4502
4537
|
"clientstyling",
|
4503
4538
|
/*clientstyling*/
|
4504
4539
|
n[4]
|
4505
4540
|
), i[0] & /*clientstylingurl*/
|
4506
|
-
32 &&
|
4541
|
+
32 && v(
|
4507
4542
|
r,
|
4508
4543
|
"clientstylingurl",
|
4509
4544
|
/*clientstylingurl*/
|
4510
4545
|
n[5]
|
4511
4546
|
), i[0] & /*mbsource*/
|
4512
|
-
4096 &&
|
4547
|
+
4096 && v(
|
4513
4548
|
r,
|
4514
4549
|
"mbsource",
|
4515
4550
|
/*mbsource*/
|
4516
4551
|
n[12]
|
4517
4552
|
), i[0] & /*activecategory*/
|
4518
|
-
1 &&
|
4553
|
+
1 && v(
|
4519
4554
|
r,
|
4520
4555
|
"activeindex",
|
4521
4556
|
/*activecategory*/
|
4522
4557
|
n[0]
|
4523
4558
|
), i[0] & /*actionevent*/
|
4524
|
-
64 &&
|
4559
|
+
64 && v(
|
4525
4560
|
r,
|
4526
4561
|
"actionevent",
|
4527
4562
|
/*actionevent*/
|
4528
4563
|
n[6]
|
4529
4564
|
), i[0] & /*location*/
|
4530
|
-
128 &&
|
4565
|
+
128 && v(
|
4531
4566
|
r,
|
4532
4567
|
"location",
|
4533
4568
|
/*location*/
|
4534
4569
|
n[7]
|
4535
4570
|
), i[0] & /*categoriesicon*/
|
4536
|
-
512 &&
|
4571
|
+
512 && v(
|
4537
4572
|
r,
|
4538
4573
|
"categoriesicon",
|
4539
4574
|
/*categoriesicon*/
|
4540
4575
|
n[9]
|
4541
4576
|
), i[0] & /*lobbyiconimage*/
|
4542
|
-
1024 &&
|
4577
|
+
1024 && v(
|
4543
4578
|
r,
|
4544
4579
|
"lobbyiconimage",
|
4545
4580
|
/*lobbyiconimage*/
|
4546
4581
|
n[10]
|
4547
4582
|
), i[0] & /*mygamesiconimage*/
|
4548
|
-
2048 &&
|
4583
|
+
2048 && v(
|
4549
4584
|
r,
|
4550
4585
|
"mygamesiconimage",
|
4551
4586
|
/*mygamesiconimage*/
|
@@ -4553,48 +4588,48 @@ function bs(e) {
|
|
4553
4588
|
);
|
4554
4589
|
},
|
4555
4590
|
d(n) {
|
4556
|
-
n &&
|
4591
|
+
n && ne(t);
|
4557
4592
|
}
|
4558
4593
|
};
|
4559
4594
|
}
|
4560
|
-
function
|
4595
|
+
function _s(e) {
|
4561
4596
|
let t;
|
4562
4597
|
return {
|
4563
4598
|
c() {
|
4564
|
-
t = V("p"), t.textContent = "500 Error - Internal Server Error.",
|
4599
|
+
t = V("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
|
4565
4600
|
},
|
4566
4601
|
m(r, n) {
|
4567
|
-
|
4602
|
+
ce(r, t, n);
|
4568
4603
|
},
|
4569
4604
|
p: I,
|
4570
4605
|
d(r) {
|
4571
|
-
r &&
|
4606
|
+
r && ne(t);
|
4572
4607
|
}
|
4573
4608
|
};
|
4574
4609
|
}
|
4575
|
-
function
|
4610
|
+
function Es(e) {
|
4576
4611
|
let t;
|
4577
4612
|
return {
|
4578
4613
|
c() {
|
4579
|
-
t = V("div"),
|
4614
|
+
t = V("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4580
4615
|
},
|
4581
4616
|
m(r, n) {
|
4582
|
-
|
4617
|
+
ce(r, t, n);
|
4583
4618
|
},
|
4584
4619
|
p: I,
|
4585
4620
|
d(r) {
|
4586
|
-
r &&
|
4621
|
+
r && ne(t);
|
4587
4622
|
}
|
4588
4623
|
};
|
4589
4624
|
}
|
4590
|
-
function
|
4625
|
+
function xs(e) {
|
4591
4626
|
let t;
|
4592
4627
|
function r(s, o) {
|
4593
4628
|
return (
|
4594
4629
|
/*isLoading*/
|
4595
|
-
s[13] ||
|
4630
|
+
s[13] || Ss || ws ? Es : (
|
4596
4631
|
/*hasErrors*/
|
4597
|
-
s[15] ?
|
4632
|
+
s[15] ? _s : vs
|
4598
4633
|
)
|
4599
4634
|
);
|
4600
4635
|
}
|
@@ -4604,7 +4639,7 @@ function ys(e) {
|
|
4604
4639
|
t = V("div"), i.c();
|
4605
4640
|
},
|
4606
4641
|
m(s, o) {
|
4607
|
-
|
4642
|
+
ce(s, t, o), i.m(t, null), e[26](t);
|
4608
4643
|
},
|
4609
4644
|
p(s, o) {
|
4610
4645
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4612,51 +4647,51 @@ function ys(e) {
|
|
4612
4647
|
i: I,
|
4613
4648
|
o: I,
|
4614
4649
|
d(s) {
|
4615
|
-
s &&
|
4650
|
+
s && ne(t), i.d(), e[26](null);
|
4616
4651
|
}
|
4617
4652
|
};
|
4618
4653
|
}
|
4619
|
-
let
|
4620
|
-
function
|
4654
|
+
let ut = "CasinoSliderData", Ss = !1, ws = !1;
|
4655
|
+
function Ts(e, t, r) {
|
4621
4656
|
let n;
|
4622
|
-
|
4623
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl:
|
4624
|
-
const
|
4625
|
-
fetch(
|
4657
|
+
Wr(e, ms, (f) => r(32, n = f));
|
4658
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, F, j = !0, W, z = [], k = !1, Nr = window.navigator.userAgent, U, ft, mt = !1, Ie = !1;
|
4659
|
+
const Lr = () => {
|
4660
|
+
fetch(O).then((B) => B.json()).then((B) => {
|
4626
4661
|
Object.keys(B).forEach((pe) => {
|
4627
|
-
|
4662
|
+
kt(pe, B[pe]);
|
4628
4663
|
});
|
4629
4664
|
}).catch((B) => {
|
4630
4665
|
console.log(B);
|
4631
4666
|
});
|
4632
4667
|
};
|
4633
|
-
Object.keys(
|
4634
|
-
|
4668
|
+
Object.keys(Vt).forEach((f) => {
|
4669
|
+
kt(f, Vt[f]);
|
4635
4670
|
});
|
4636
|
-
const
|
4637
|
-
|
4671
|
+
const Ir = () => {
|
4672
|
+
mt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
4638
4673
|
// @ts-ignore
|
4639
4674
|
id: "MYGAMES",
|
4640
4675
|
name: L,
|
4641
4676
|
href: "",
|
4642
4677
|
games: []
|
4643
|
-
}),
|
4644
|
-
},
|
4645
|
-
if (L = n("myGamesName"),
|
4678
|
+
}), en(), mt = !0, r(25, Ie = !0), dt();
|
4679
|
+
}, 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 = () => {
|
4680
|
+
if (L = n("myGamesName"), F = n("lobbyName"), !Cr()) {
|
4646
4681
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4647
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4682
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ds(Nr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4648
4683
|
(B) => {
|
4649
|
-
let pe = w.split(","),
|
4650
|
-
let
|
4651
|
-
if (
|
4652
|
-
for (let
|
4653
|
-
|
4654
|
-
return
|
4684
|
+
let pe = w.split(","), Ur = B.items.filter((pt) => {
|
4685
|
+
let Ce = !1;
|
4686
|
+
if (pt.games.total > 0 && (Ce = !0, w))
|
4687
|
+
for (let Dr of pe)
|
4688
|
+
pt.flags == Dr && (Ce = !1);
|
4689
|
+
return Ce;
|
4655
4690
|
});
|
4656
|
-
z = [], z = z.concat(
|
4691
|
+
z = [], z = z.concat(Ur), z.unshift({
|
4657
4692
|
// @ts-ignore
|
4658
4693
|
id: "LOBBY",
|
4659
|
-
name:
|
4694
|
+
name: F,
|
4660
4695
|
href: "",
|
4661
4696
|
games: []
|
4662
4697
|
}), r(13, j = !1);
|
@@ -4668,41 +4703,41 @@ function Es(e, t, r) {
|
|
4668
4703
|
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
4669
4704
|
});
|
4670
4705
|
}
|
4671
|
-
},
|
4706
|
+
}, Rr = () => {
|
4672
4707
|
let f = b.split("$");
|
4673
4708
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4674
|
-
},
|
4709
|
+
}, dt = () => {
|
4675
4710
|
window.postMessage(
|
4676
4711
|
{
|
4677
4712
|
type: "SliderData",
|
4678
|
-
identity:
|
4713
|
+
identity: ut,
|
4679
4714
|
data: z
|
4680
4715
|
},
|
4681
4716
|
window.location.href
|
4682
4717
|
);
|
4683
|
-
},
|
4684
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4718
|
+
}, bt = (f) => {
|
4719
|
+
f.data && f.data.type == "SliderLoaded" && ut == f.data.identity && dt();
|
4685
4720
|
};
|
4686
|
-
|
4687
|
-
window.removeEventListener("message",
|
4721
|
+
Kr(() => (window.addEventListener("message", bt, !1), () => {
|
4722
|
+
window.removeEventListener("message", bt);
|
4688
4723
|
}));
|
4689
|
-
function
|
4690
|
-
|
4691
|
-
|
4724
|
+
function Gr(f) {
|
4725
|
+
Ve[f ? "unshift" : "push"](() => {
|
4726
|
+
U = f, r(14, U);
|
4692
4727
|
});
|
4693
4728
|
}
|
4694
4729
|
return e.$$set = (f) => {
|
4695
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24,
|
4730
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = 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);
|
4696
4731
|
}, e.$$.update = () => {
|
4697
4732
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4698
|
-
14 && i && s && o &&
|
4699
|
-
3940354 && i && h && (u || l || m) && !j &&
|
4700
|
-
33824769 && !j && b && (!h ||
|
4701
|
-
16777216 &&
|
4702
|
-
16400 && c &&
|
4703
|
-
16416 && d &&
|
4704
|
-
20480 &&
|
4705
|
-
}, r(16,
|
4733
|
+
14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4734
|
+
3940354 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4735
|
+
33824769 && !j && b && (!h || Ie) && Rr(), e.$$.dirty[0] & /*translationurl*/
|
4736
|
+
16777216 && O && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4737
|
+
16400 && c && U && bs(U, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4738
|
+
16416 && d && U && ps(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4739
|
+
20480 && U && gs(U, `${A}.Style`);
|
4740
|
+
}, r(16, ft = 0), [
|
4706
4741
|
b,
|
4707
4742
|
i,
|
4708
4743
|
s,
|
@@ -4712,14 +4747,14 @@ function Es(e, t, r) {
|
|
4712
4747
|
y,
|
4713
4748
|
C,
|
4714
4749
|
P,
|
4715
|
-
|
4750
|
+
N,
|
4716
4751
|
R,
|
4717
|
-
|
4752
|
+
_,
|
4718
4753
|
A,
|
4719
4754
|
j,
|
4720
|
-
|
4755
|
+
U,
|
4721
4756
|
k,
|
4722
|
-
|
4757
|
+
ft,
|
4723
4758
|
a,
|
4724
4759
|
h,
|
4725
4760
|
u,
|
@@ -4727,19 +4762,19 @@ function Es(e, t, r) {
|
|
4727
4762
|
m,
|
4728
4763
|
T,
|
4729
4764
|
w,
|
4730
|
-
|
4731
|
-
|
4732
|
-
|
4765
|
+
O,
|
4766
|
+
Ie,
|
4767
|
+
Gr
|
4733
4768
|
];
|
4734
4769
|
}
|
4735
|
-
class
|
4770
|
+
class Or extends ln {
|
4736
4771
|
constructor(t) {
|
4737
|
-
super(),
|
4772
|
+
super(), un(
|
4738
4773
|
this,
|
4739
4774
|
t,
|
4740
|
-
|
4741
|
-
|
4742
|
-
|
4775
|
+
Ts,
|
4776
|
+
xs,
|
4777
|
+
Wt,
|
4743
4778
|
{
|
4744
4779
|
endpoint: 1,
|
4745
4780
|
datasource: 2,
|
@@ -4763,7 +4798,7 @@ class Hr extends on {
|
|
4763
4798
|
mygamesiconimage: 11,
|
4764
4799
|
mbsource: 12
|
4765
4800
|
},
|
4766
|
-
|
4801
|
+
ys,
|
4767
4802
|
[-1, -1]
|
4768
4803
|
);
|
4769
4804
|
}
|
@@ -4771,165 +4806,165 @@ class Hr extends on {
|
|
4771
4806
|
return this.$$.ctx[1];
|
4772
4807
|
}
|
4773
4808
|
set endpoint(t) {
|
4774
|
-
this.$$set({ endpoint: t }),
|
4809
|
+
this.$$set({ endpoint: t }), x();
|
4775
4810
|
}
|
4776
4811
|
get datasource() {
|
4777
4812
|
return this.$$.ctx[2];
|
4778
4813
|
}
|
4779
4814
|
set datasource(t) {
|
4780
|
-
this.$$set({ datasource: t }),
|
4815
|
+
this.$$set({ datasource: t }), x();
|
4781
4816
|
}
|
4782
4817
|
get lang() {
|
4783
4818
|
return this.$$.ctx[3];
|
4784
4819
|
}
|
4785
4820
|
set lang(t) {
|
4786
|
-
this.$$set({ lang: t }),
|
4821
|
+
this.$$set({ lang: t }), x();
|
4787
4822
|
}
|
4788
4823
|
get userid() {
|
4789
4824
|
return this.$$.ctx[17];
|
4790
4825
|
}
|
4791
4826
|
set userid(t) {
|
4792
|
-
this.$$set({ userid: t }),
|
4827
|
+
this.$$set({ userid: t }), x();
|
4793
4828
|
}
|
4794
4829
|
get session() {
|
4795
4830
|
return this.$$.ctx[18];
|
4796
4831
|
}
|
4797
4832
|
set session(t) {
|
4798
|
-
this.$$set({ session: t }),
|
4833
|
+
this.$$set({ session: t }), x();
|
4799
4834
|
}
|
4800
4835
|
get mostplayed() {
|
4801
4836
|
return this.$$.ctx[19];
|
4802
4837
|
}
|
4803
4838
|
set mostplayed(t) {
|
4804
|
-
this.$$set({ mostplayed: t }),
|
4839
|
+
this.$$set({ mostplayed: t }), x();
|
4805
4840
|
}
|
4806
4841
|
get lastplayed() {
|
4807
4842
|
return this.$$.ctx[20];
|
4808
4843
|
}
|
4809
4844
|
set lastplayed(t) {
|
4810
|
-
this.$$set({ lastplayed: t }),
|
4845
|
+
this.$$set({ lastplayed: t }), x();
|
4811
4846
|
}
|
4812
4847
|
get favorites() {
|
4813
4848
|
return this.$$.ctx[21];
|
4814
4849
|
}
|
4815
4850
|
set favorites(t) {
|
4816
|
-
this.$$set({ favorites: t }),
|
4851
|
+
this.$$set({ favorites: t }), x();
|
4817
4852
|
}
|
4818
4853
|
get clientstyling() {
|
4819
4854
|
return this.$$.ctx[4];
|
4820
4855
|
}
|
4821
4856
|
set clientstyling(t) {
|
4822
|
-
this.$$set({ clientstyling: t }),
|
4857
|
+
this.$$set({ clientstyling: t }), x();
|
4823
4858
|
}
|
4824
4859
|
get clientstylingurl() {
|
4825
4860
|
return this.$$.ctx[5];
|
4826
4861
|
}
|
4827
4862
|
set clientstylingurl(t) {
|
4828
|
-
this.$$set({ clientstylingurl: t }),
|
4863
|
+
this.$$set({ clientstylingurl: t }), x();
|
4829
4864
|
}
|
4830
4865
|
get activecategory() {
|
4831
4866
|
return this.$$.ctx[0];
|
4832
4867
|
}
|
4833
4868
|
set activecategory(t) {
|
4834
|
-
this.$$set({ activecategory: t }),
|
4869
|
+
this.$$set({ activecategory: t }), x();
|
4835
4870
|
}
|
4836
4871
|
get actionevent() {
|
4837
4872
|
return this.$$.ctx[6];
|
4838
4873
|
}
|
4839
4874
|
set actionevent(t) {
|
4840
|
-
this.$$set({ actionevent: t }),
|
4875
|
+
this.$$set({ actionevent: t }), x();
|
4841
4876
|
}
|
4842
4877
|
get sessioncheck() {
|
4843
4878
|
return this.$$.ctx[22];
|
4844
4879
|
}
|
4845
4880
|
set sessioncheck(t) {
|
4846
|
-
this.$$set({ sessioncheck: t }),
|
4881
|
+
this.$$set({ sessioncheck: t }), x();
|
4847
4882
|
}
|
4848
4883
|
get location() {
|
4849
4884
|
return this.$$.ctx[7];
|
4850
4885
|
}
|
4851
4886
|
set location(t) {
|
4852
|
-
this.$$set({ location: t }),
|
4887
|
+
this.$$set({ location: t }), x();
|
4853
4888
|
}
|
4854
4889
|
get showsubgroups() {
|
4855
4890
|
return this.$$.ctx[8];
|
4856
4891
|
}
|
4857
4892
|
set showsubgroups(t) {
|
4858
|
-
this.$$set({ showsubgroups: t }),
|
4893
|
+
this.$$set({ showsubgroups: t }), x();
|
4859
4894
|
}
|
4860
4895
|
get filteredcategories() {
|
4861
4896
|
return this.$$.ctx[23];
|
4862
4897
|
}
|
4863
4898
|
set filteredcategories(t) {
|
4864
|
-
this.$$set({ filteredcategories: t }),
|
4899
|
+
this.$$set({ filteredcategories: t }), x();
|
4865
4900
|
}
|
4866
4901
|
get translationurl() {
|
4867
4902
|
return this.$$.ctx[24];
|
4868
4903
|
}
|
4869
4904
|
set translationurl(t) {
|
4870
|
-
this.$$set({ translationurl: t }),
|
4905
|
+
this.$$set({ translationurl: t }), x();
|
4871
4906
|
}
|
4872
4907
|
get categoriesicon() {
|
4873
4908
|
return this.$$.ctx[9];
|
4874
4909
|
}
|
4875
4910
|
set categoriesicon(t) {
|
4876
|
-
this.$$set({ categoriesicon: t }),
|
4911
|
+
this.$$set({ categoriesicon: t }), x();
|
4877
4912
|
}
|
4878
4913
|
get lobbyiconimage() {
|
4879
4914
|
return this.$$.ctx[10];
|
4880
4915
|
}
|
4881
4916
|
set lobbyiconimage(t) {
|
4882
|
-
this.$$set({ lobbyiconimage: t }),
|
4917
|
+
this.$$set({ lobbyiconimage: t }), x();
|
4883
4918
|
}
|
4884
4919
|
get mygamesiconimage() {
|
4885
4920
|
return this.$$.ctx[11];
|
4886
4921
|
}
|
4887
4922
|
set mygamesiconimage(t) {
|
4888
|
-
this.$$set({ mygamesiconimage: t }),
|
4923
|
+
this.$$set({ mygamesiconimage: t }), x();
|
4889
4924
|
}
|
4890
4925
|
get mbsource() {
|
4891
4926
|
return this.$$.ctx[12];
|
4892
4927
|
}
|
4893
4928
|
set mbsource(t) {
|
4894
|
-
this.$$set({ mbsource: t }),
|
4929
|
+
this.$$set({ mbsource: t }), x();
|
4895
4930
|
}
|
4896
4931
|
}
|
4897
|
-
|
4898
|
-
const
|
4932
|
+
hn(Or, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4933
|
+
const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4899
4934
|
__proto__: null,
|
4900
|
-
default:
|
4935
|
+
default: Or
|
4901
4936
|
}, Symbol.toStringTag, { value: "Module" }));
|
4902
4937
|
export {
|
4903
4938
|
be as $,
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4939
|
+
ps as A,
|
4940
|
+
gs as B,
|
4941
|
+
hn as C,
|
4942
|
+
Rs as D,
|
4943
|
+
ln as S,
|
4909
4944
|
de as a,
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
|
4916
|
-
|
4917
|
-
|
4918
|
-
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4945
|
+
Tr as b,
|
4946
|
+
zr as c,
|
4947
|
+
ne as d,
|
4948
|
+
fe as e,
|
4949
|
+
x as f,
|
4950
|
+
ce as g,
|
4951
|
+
Zt as h,
|
4952
|
+
un as i,
|
4953
|
+
V as j,
|
4954
|
+
Ps as k,
|
4955
|
+
Ns as l,
|
4956
|
+
Is as m,
|
4922
4957
|
I as n,
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
|
4958
|
+
Kr as o,
|
4959
|
+
Os as p,
|
4960
|
+
Ve as q,
|
4961
|
+
re as r,
|
4962
|
+
Wt as s,
|
4963
|
+
As as t,
|
4964
|
+
Ms as u,
|
4965
|
+
Ls as v,
|
4966
|
+
Qt as w,
|
4967
|
+
Bs as x,
|
4968
|
+
Cs as y,
|
4969
|
+
bs as z
|
4935
4970
|
};
|