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