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