@everymatrix/casino-categories-slider-nd 1.61.0 → 1.62.0
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/{CasinoCategoriesSliderNd-CywY5PzC.js → CasinoCategoriesSliderNd-Ba4ieGK7.js} +612 -590
- package/components/{CasinoCategoriesSliderNd-DWYDL378.js → CasinoCategoriesSliderNd-CrEP6ZrE.js} +677 -655
- package/components/CasinoCategoriesSliderNd-qWEXF4W9.cjs +18 -0
- package/components/{CasinoSliderNd-TBy9ZrGz.cjs → CasinoSliderNd-BmbCWRVH.cjs} +1 -1
- package/components/{CasinoSliderNd-C5ZAaTq3.js → CasinoSliderNd-Bn5fbrqh.js} +62 -62
- package/components/{CasinoSliderNd-cJ6mJrcN.js → CasinoSliderNd-DJUM0aU_.js} +59 -59
- package/es2015/casino-categories-slider-nd.cjs +1 -1
- package/es2015/casino-categories-slider-nd.js +1 -1
- package/esnext/casino-categories-slider-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b7bbd57e-6KaMTlNN.js +534 -0
- package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
- package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
- package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
- package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
- package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
- package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
- package/components/CasinoCategoriesSliderNd-TjEc8juz.cjs +0 -18
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
package/components/{CasinoCategoriesSliderNd-CywY5PzC.js → CasinoCategoriesSliderNd-Ba4ieGK7.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function P() {
|
|
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
9
|
function re(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Mt);
|
|
11
11
|
}
|
|
12
12
|
function Te(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 ms(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 Or(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,23 +31,23 @@ function Ct(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 Lr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Ir(e) {
|
|
38
38
|
return e && Te(e.destroy) ? e.destroy : P;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Ut(e, t) {
|
|
41
41
|
e.appendChild(t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const n =
|
|
43
|
+
function Cr(e, t, r) {
|
|
44
|
+
const n = Mr(e);
|
|
45
45
|
if (!n.getElementById(t)) {
|
|
46
46
|
const i = k("style");
|
|
47
|
-
i.id = t, i.textContent = r,
|
|
47
|
+
i.id = t, i.textContent = r, Rr(n, i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Mr(e) {
|
|
51
51
|
if (!e)
|
|
52
52
|
return document;
|
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -57,8 +57,8 @@ function Or(e) {
|
|
|
57
57
|
t
|
|
58
58
|
) : e.ownerDocument;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function Rr(e, t) {
|
|
61
|
+
return Ut(
|
|
62
62
|
/** @type {Document} */
|
|
63
63
|
e.head || e,
|
|
64
64
|
t
|
|
@@ -70,26 +70,26 @@ function fe(e, t, r) {
|
|
|
70
70
|
function ne(e) {
|
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function ds(e, t) {
|
|
74
74
|
for (let r = 0; r < e.length; r += 1)
|
|
75
75
|
e[r] && e[r].d(t);
|
|
76
76
|
}
|
|
77
77
|
function k(e) {
|
|
78
78
|
return document.createElement(e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function bs(e) {
|
|
81
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Dt(e) {
|
|
84
84
|
return document.createTextNode(e);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function ps() {
|
|
87
|
+
return Dt(" ");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function gs() {
|
|
90
|
+
return Dt("");
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ys(e, t, r, n) {
|
|
93
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
94
94
|
}
|
|
95
95
|
function ie(e, t, r) {
|
|
@@ -99,14 +99,14 @@ function _(e, t, r) {
|
|
|
99
99
|
const n = t.toLowerCase();
|
|
100
100
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ie(e, t, r);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Gr(e) {
|
|
103
103
|
return Array.from(e.childNodes);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function vs(e, t) {
|
|
106
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
107
107
|
t);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Ur(e) {
|
|
110
110
|
const t = {};
|
|
111
111
|
return e.childNodes.forEach(
|
|
112
112
|
/** @param {Element} node */
|
|
@@ -119,25 +119,25 @@ let he;
|
|
|
119
119
|
function ue(e) {
|
|
120
120
|
he = e;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Dr() {
|
|
123
123
|
if (!he)
|
|
124
124
|
throw new Error("Function called outside component initialization");
|
|
125
125
|
return he;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
|
|
127
|
+
function Fr(e) {
|
|
128
|
+
Dr().$$.on_mount.push(e);
|
|
129
129
|
}
|
|
130
|
-
const Q = [],
|
|
130
|
+
const Q = [], $e = [];
|
|
131
131
|
let Y = [];
|
|
132
|
-
const
|
|
133
|
-
let
|
|
134
|
-
function
|
|
135
|
-
|
|
132
|
+
const ft = [], Ft = /* @__PURE__ */ Promise.resolve();
|
|
133
|
+
let je = !1;
|
|
134
|
+
function $t() {
|
|
135
|
+
je || (je = !0, Ft.then(S));
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
return
|
|
137
|
+
function $r() {
|
|
138
|
+
return $t(), Ft;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function ke(e) {
|
|
141
141
|
Y.push(e);
|
|
142
142
|
}
|
|
143
143
|
const Ie = /* @__PURE__ */ new Set();
|
|
@@ -150,86 +150,86 @@ function S() {
|
|
|
150
150
|
try {
|
|
151
151
|
for (; z < Q.length; ) {
|
|
152
152
|
const t = Q[z];
|
|
153
|
-
z++, ue(t),
|
|
153
|
+
z++, ue(t), jr(t.$$);
|
|
154
154
|
}
|
|
155
155
|
} catch (t) {
|
|
156
156
|
throw Q.length = 0, z = 0, t;
|
|
157
157
|
}
|
|
158
|
-
for (ue(null), Q.length = 0, z = 0;
|
|
159
|
-
|
|
158
|
+
for (ue(null), Q.length = 0, z = 0; $e.length; )
|
|
159
|
+
$e.pop()();
|
|
160
160
|
for (let t = 0; t < Y.length; t += 1) {
|
|
161
161
|
const r = Y[t];
|
|
162
162
|
Ie.has(r) || (Ie.add(r), r());
|
|
163
163
|
}
|
|
164
164
|
Y.length = 0;
|
|
165
165
|
} while (Q.length);
|
|
166
|
-
for (;
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
for (; ft.length; )
|
|
167
|
+
ft.pop()();
|
|
168
|
+
je = !1, Ie.clear(), ue(e);
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function jr(e) {
|
|
171
171
|
if (e.fragment !== null) {
|
|
172
172
|
e.update(), re(e.before_update);
|
|
173
173
|
const t = e.dirty;
|
|
174
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
174
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function kr(e) {
|
|
178
178
|
const t = [], r = [];
|
|
179
179
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
180
180
|
}
|
|
181
|
-
const
|
|
182
|
-
function
|
|
183
|
-
e && e.i && (
|
|
181
|
+
const Vr = /* @__PURE__ */ new Set();
|
|
182
|
+
function jt(e, t) {
|
|
183
|
+
e && e.i && (Vr.delete(e), e.i(t));
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function _s(e) {
|
|
186
186
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Es(e, t) {
|
|
189
189
|
e.d(1), t.delete(e.key);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
let c = e.length,
|
|
193
|
-
const
|
|
191
|
+
function xs(e, t, r, n, i, s, o, a, h, u, l, f) {
|
|
192
|
+
let c = e.length, d = s.length, p = c;
|
|
193
|
+
const b = {};
|
|
194
194
|
for (; p--; )
|
|
195
|
-
|
|
195
|
+
b[e[p].key] = p;
|
|
196
196
|
const w = [], C = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), T = [];
|
|
197
|
-
for (p =
|
|
197
|
+
for (p = d; p--; ) {
|
|
198
198
|
const E = f(i, s, p), L = r(E);
|
|
199
199
|
let I = o.get(L);
|
|
200
|
-
I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[p] = I), L in
|
|
200
|
+
I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[p] = I), L in b && N.set(L, Math.abs(p - b[L]));
|
|
201
201
|
}
|
|
202
202
|
const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
|
|
203
203
|
function M(E) {
|
|
204
|
-
|
|
204
|
+
jt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
|
|
205
205
|
}
|
|
206
|
-
for (; c &&
|
|
207
|
-
const E = w[
|
|
208
|
-
E === L ? (l = E.first, c--,
|
|
206
|
+
for (; c && d; ) {
|
|
207
|
+
const E = w[d - 1], L = e[c - 1], I = E.key, F = L.key;
|
|
208
|
+
E === L ? (l = E.first, c--, d--) : C.has(F) ? !o.has(I) || O.has(I) ? M(E) : H.has(F) ? c-- : N.get(I) > N.get(F) ? (H.add(I), M(E)) : (O.add(F), c--) : (h(L, o), c--);
|
|
209
209
|
}
|
|
210
210
|
for (; c--; ) {
|
|
211
211
|
const E = e[c];
|
|
212
212
|
C.has(E.key) || h(E, o);
|
|
213
213
|
}
|
|
214
|
-
for (;
|
|
215
|
-
M(w[
|
|
214
|
+
for (; d; )
|
|
215
|
+
M(w[d - 1]);
|
|
216
216
|
return re(T), w;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Xr(e, t, r) {
|
|
219
219
|
const { fragment: n, after_update: i } = e.$$;
|
|
220
|
-
n && n.m(t, r),
|
|
221
|
-
const s = e.$$.on_mount.map(
|
|
220
|
+
n && n.m(t, r), ke(() => {
|
|
221
|
+
const s = e.$$.on_mount.map(Mt).filter(Te);
|
|
222
222
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
223
|
-
}), i.forEach(
|
|
223
|
+
}), i.forEach(ke);
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Wr(e, t) {
|
|
226
226
|
const r = e.$$;
|
|
227
|
-
r.fragment !== null && (
|
|
227
|
+
r.fragment !== null && (kr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
|
229
|
+
function zr(e, t) {
|
|
230
|
+
e.$$.dirty[0] === -1 && (Q.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
233
233
|
const h = he;
|
|
234
234
|
ue(e);
|
|
235
235
|
const u = e.$$ = {
|
|
@@ -239,7 +239,7 @@ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
239
239
|
props: s,
|
|
240
240
|
update: P,
|
|
241
241
|
not_equal: i,
|
|
242
|
-
bound:
|
|
242
|
+
bound: ct(),
|
|
243
243
|
// lifecycle
|
|
244
244
|
on_mount: [],
|
|
245
245
|
on_destroy: [],
|
|
@@ -248,28 +248,28 @@ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
248
248
|
after_update: [],
|
|
249
249
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
250
250
|
// everything else
|
|
251
|
-
callbacks:
|
|
251
|
+
callbacks: ct(),
|
|
252
252
|
dirty: a,
|
|
253
253
|
skip_bound: !1,
|
|
254
254
|
root: t.target || h.$$.root
|
|
255
255
|
};
|
|
256
256
|
o && o(u.root);
|
|
257
257
|
let l = !1;
|
|
258
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
259
|
-
const p =
|
|
260
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l &&
|
|
258
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
259
|
+
const p = d.length ? d[0] : c;
|
|
260
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && zr(e, f)), c;
|
|
261
261
|
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
262
262
|
if (t.hydrate) {
|
|
263
|
-
const f =
|
|
263
|
+
const f = Gr(t.target);
|
|
264
264
|
u.fragment && u.fragment.l(f), f.forEach(ne);
|
|
265
265
|
} else
|
|
266
266
|
u.fragment && u.fragment.c();
|
|
267
|
-
t.intro &&
|
|
267
|
+
t.intro && jt(e.$$.fragment), Xr(e, t.target, t.anchor), S();
|
|
268
268
|
}
|
|
269
269
|
ue(h);
|
|
270
270
|
}
|
|
271
|
-
let
|
|
272
|
-
typeof HTMLElement == "function" && (
|
|
271
|
+
let kt;
|
|
272
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
273
273
|
/** The Svelte component constructor */
|
|
274
274
|
$$ctor;
|
|
275
275
|
/** Slots */
|
|
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
328
328
|
};
|
|
329
329
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
330
330
|
return;
|
|
331
|
-
const t = {}, r =
|
|
331
|
+
const t = {}, r = Ur(this);
|
|
332
332
|
for (const i of this.$$s)
|
|
333
333
|
i in r && (t[i] = [e(i)]);
|
|
334
334
|
for (const i of this.attributes) {
|
|
@@ -415,8 +415,8 @@ function ve(e, t, r, n) {
|
|
|
415
415
|
return t;
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
let o = class extends
|
|
418
|
+
function Qr(e, t, r, n, i, s) {
|
|
419
|
+
let o = class extends kt {
|
|
420
420
|
constructor() {
|
|
421
421
|
super(e, r, i), this.$$p_d = t;
|
|
422
422
|
}
|
|
@@ -444,7 +444,7 @@ function Xr(e, t, r, n, i, s) {
|
|
|
444
444
|
}), e.element = /** @type {any} */
|
|
445
445
|
o, o;
|
|
446
446
|
}
|
|
447
|
-
class
|
|
447
|
+
class Yr {
|
|
448
448
|
/**
|
|
449
449
|
* ### PRIVATE API
|
|
450
450
|
*
|
|
@@ -463,7 +463,7 @@ class Wr {
|
|
|
463
463
|
$$set = void 0;
|
|
464
464
|
/** @returns {void} */
|
|
465
465
|
$destroy() {
|
|
466
|
-
|
|
466
|
+
Wr(this, 1), this.$destroy = P;
|
|
467
467
|
}
|
|
468
468
|
/**
|
|
469
469
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -485,11 +485,11 @@ class Wr {
|
|
|
485
485
|
* @returns {void}
|
|
486
486
|
*/
|
|
487
487
|
$set(t) {
|
|
488
|
-
this.$$set && !
|
|
488
|
+
this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
const
|
|
492
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
491
|
+
const qr = "4";
|
|
492
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qr);
|
|
493
493
|
/*! *****************************************************************************
|
|
494
494
|
Copyright (c) Microsoft Corporation.
|
|
495
495
|
|
|
@@ -504,18 +504,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
504
504
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
505
505
|
PERFORMANCE OF THIS SOFTWARE.
|
|
506
506
|
***************************************************************************** */
|
|
507
|
-
var
|
|
508
|
-
return
|
|
507
|
+
var Ve = function(e, t) {
|
|
508
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
509
509
|
r.__proto__ = n;
|
|
510
510
|
} || function(r, n) {
|
|
511
511
|
for (var i in n)
|
|
512
512
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
513
|
-
},
|
|
513
|
+
}, Ve(e, t);
|
|
514
514
|
};
|
|
515
515
|
function U(e, t) {
|
|
516
516
|
if (typeof t != "function" && t !== null)
|
|
517
517
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
518
|
-
|
|
518
|
+
Ve(e, t);
|
|
519
519
|
function r() {
|
|
520
520
|
this.constructor = e;
|
|
521
521
|
}
|
|
@@ -531,7 +531,7 @@ var v = function() {
|
|
|
531
531
|
return t;
|
|
532
532
|
}, v.apply(this, arguments);
|
|
533
533
|
};
|
|
534
|
-
function
|
|
534
|
+
function Jr(e, t) {
|
|
535
535
|
var r = {};
|
|
536
536
|
for (var n in e)
|
|
537
537
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -540,7 +540,7 @@ function Zr(e, t) {
|
|
|
540
540
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
541
541
|
return r;
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function Xe(e) {
|
|
544
544
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
545
545
|
if (r)
|
|
546
546
|
return r.call(e);
|
|
@@ -552,7 +552,7 @@ function Ve(e) {
|
|
|
552
552
|
};
|
|
553
553
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function We(e, t) {
|
|
556
556
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
557
557
|
if (!r)
|
|
558
558
|
return e;
|
|
@@ -581,13 +581,13 @@ function q(e, t, r) {
|
|
|
581
581
|
function G(e) {
|
|
582
582
|
return typeof e == "function";
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function Vt(e) {
|
|
585
585
|
var t = function(n) {
|
|
586
586
|
Error.call(n), n.stack = new Error().stack;
|
|
587
587
|
}, r = e(t);
|
|
588
588
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
589
589
|
}
|
|
590
|
-
var Ce =
|
|
590
|
+
var Ce = Vt(function(e) {
|
|
591
591
|
return function(r) {
|
|
592
592
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
593
593
|
` + r.map(function(n, i) {
|
|
@@ -596,7 +596,7 @@ var Ce = $t(function(e) {
|
|
|
596
596
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
597
597
|
};
|
|
598
598
|
});
|
|
599
|
-
function
|
|
599
|
+
function ze(e, t) {
|
|
600
600
|
if (e) {
|
|
601
601
|
var r = e.indexOf(t);
|
|
602
602
|
0 <= r && e.splice(r, 1);
|
|
@@ -614,12 +614,12 @@ var He = function() {
|
|
|
614
614
|
if (o)
|
|
615
615
|
if (this._parentage = null, Array.isArray(o))
|
|
616
616
|
try {
|
|
617
|
-
for (var a =
|
|
617
|
+
for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
|
|
618
618
|
var u = h.value;
|
|
619
619
|
u.remove(this);
|
|
620
620
|
}
|
|
621
|
-
} catch (
|
|
622
|
-
t = { error:
|
|
621
|
+
} catch (b) {
|
|
622
|
+
t = { error: b };
|
|
623
623
|
} finally {
|
|
624
624
|
try {
|
|
625
625
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -634,26 +634,26 @@ var He = function() {
|
|
|
634
634
|
if (G(l))
|
|
635
635
|
try {
|
|
636
636
|
l();
|
|
637
|
-
} catch (
|
|
638
|
-
s =
|
|
637
|
+
} catch (b) {
|
|
638
|
+
s = b instanceof Ce ? b.errors : [b];
|
|
639
639
|
}
|
|
640
640
|
var f = this._finalizers;
|
|
641
641
|
if (f) {
|
|
642
642
|
this._finalizers = null;
|
|
643
643
|
try {
|
|
644
|
-
for (var c =
|
|
645
|
-
var p =
|
|
644
|
+
for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
|
|
645
|
+
var p = d.value;
|
|
646
646
|
try {
|
|
647
|
-
|
|
648
|
-
} catch (
|
|
649
|
-
s = s ?? [],
|
|
647
|
+
mt(p);
|
|
648
|
+
} catch (b) {
|
|
649
|
+
s = s ?? [], b instanceof Ce ? s = q(q([], We(s)), We(b.errors)) : s.push(b);
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
} catch (
|
|
653
|
-
n = { error:
|
|
652
|
+
} catch (b) {
|
|
653
|
+
n = { error: b };
|
|
654
654
|
} finally {
|
|
655
655
|
try {
|
|
656
|
-
|
|
656
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
657
657
|
} finally {
|
|
658
658
|
if (n)
|
|
659
659
|
throw n.error;
|
|
@@ -667,7 +667,7 @@ var He = function() {
|
|
|
667
667
|
var r;
|
|
668
668
|
if (t && t !== this)
|
|
669
669
|
if (this.closed)
|
|
670
|
-
|
|
670
|
+
mt(t);
|
|
671
671
|
else {
|
|
672
672
|
if (t instanceof e) {
|
|
673
673
|
if (t.closed || t._hasParent(this))
|
|
@@ -684,52 +684,56 @@ var He = function() {
|
|
|
684
684
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
685
685
|
}, e.prototype._removeParent = function(t) {
|
|
686
686
|
var r = this._parentage;
|
|
687
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
687
|
+
r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
|
|
688
688
|
}, e.prototype.remove = function(t) {
|
|
689
689
|
var r = this._finalizers;
|
|
690
|
-
r &&
|
|
690
|
+
r && ze(r, t), t instanceof e && t._removeParent(this);
|
|
691
691
|
}, e.EMPTY = function() {
|
|
692
692
|
var t = new e();
|
|
693
693
|
return t.closed = !0, t;
|
|
694
694
|
}(), e;
|
|
695
|
-
}(),
|
|
696
|
-
function
|
|
695
|
+
}(), Xt = He.EMPTY;
|
|
696
|
+
function Wt(e) {
|
|
697
697
|
return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function mt(e) {
|
|
700
700
|
G(e) ? e() : e.unsubscribe();
|
|
701
701
|
}
|
|
702
|
-
var
|
|
703
|
-
|
|
704
|
-
|
|
702
|
+
var zt = {
|
|
703
|
+
onUnhandledError: null,
|
|
704
|
+
onStoppedNotification: null,
|
|
705
|
+
Promise: void 0,
|
|
706
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
707
|
+
useDeprecatedNextContext: !1
|
|
708
|
+
}, Kr = {
|
|
705
709
|
setTimeout: function(e, t) {
|
|
706
710
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
707
711
|
r[n - 2] = arguments[n];
|
|
708
|
-
return setTimeout.apply(void 0, q([e, t],
|
|
712
|
+
return setTimeout.apply(void 0, q([e, t], We(r)));
|
|
709
713
|
},
|
|
710
714
|
clearTimeout: function(e) {
|
|
711
715
|
return clearTimeout(e);
|
|
712
716
|
},
|
|
713
717
|
delegate: void 0
|
|
714
718
|
};
|
|
715
|
-
function
|
|
716
|
-
|
|
719
|
+
function en(e) {
|
|
720
|
+
Kr.setTimeout(function() {
|
|
717
721
|
throw e;
|
|
718
722
|
});
|
|
719
723
|
}
|
|
720
|
-
function
|
|
724
|
+
function dt() {
|
|
721
725
|
}
|
|
722
726
|
function _e(e) {
|
|
723
727
|
e();
|
|
724
728
|
}
|
|
725
|
-
var
|
|
729
|
+
var Zt = function(e) {
|
|
726
730
|
U(t, e);
|
|
727
731
|
function t(r) {
|
|
728
732
|
var n = e.call(this) || this;
|
|
729
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
733
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = sn, n;
|
|
730
734
|
}
|
|
731
735
|
return t.create = function(r, n, i) {
|
|
732
|
-
return new
|
|
736
|
+
return new Ze(r, n, i);
|
|
733
737
|
}, t.prototype.next = function(r) {
|
|
734
738
|
this.isStopped || this._next(r);
|
|
735
739
|
}, t.prototype.error = function(r) {
|
|
@@ -753,7 +757,11 @@ var Vt = function(e) {
|
|
|
753
757
|
this.unsubscribe();
|
|
754
758
|
}
|
|
755
759
|
}, t;
|
|
756
|
-
}(He),
|
|
760
|
+
}(He), tn = Function.prototype.bind;
|
|
761
|
+
function Me(e, t) {
|
|
762
|
+
return tn.call(e, t);
|
|
763
|
+
}
|
|
764
|
+
var rn = function() {
|
|
757
765
|
function e(t) {
|
|
758
766
|
this.partialObserver = t;
|
|
759
767
|
}
|
|
@@ -784,43 +792,55 @@ var Vt = function(e) {
|
|
|
784
792
|
ge(r);
|
|
785
793
|
}
|
|
786
794
|
}, e;
|
|
787
|
-
}(),
|
|
795
|
+
}(), Ze = function(e) {
|
|
788
796
|
U(t, e);
|
|
789
797
|
function t(r, n, i) {
|
|
790
798
|
var s = e.call(this) || this, o;
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
799
|
+
if (G(r) || !r)
|
|
800
|
+
o = {
|
|
801
|
+
next: r ?? void 0,
|
|
802
|
+
error: n ?? void 0,
|
|
803
|
+
complete: i ?? void 0
|
|
804
|
+
};
|
|
805
|
+
else {
|
|
806
|
+
var a;
|
|
807
|
+
s && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
808
|
+
return s.unsubscribe();
|
|
809
|
+
}, o = {
|
|
810
|
+
next: r.next && Me(r.next, a),
|
|
811
|
+
error: r.error && Me(r.error, a),
|
|
812
|
+
complete: r.complete && Me(r.complete, a)
|
|
813
|
+
}) : o = r;
|
|
814
|
+
}
|
|
815
|
+
return s.destination = new rn(o), s;
|
|
796
816
|
}
|
|
797
817
|
return t;
|
|
798
|
-
}(
|
|
818
|
+
}(Zt);
|
|
799
819
|
function ge(e) {
|
|
800
|
-
|
|
820
|
+
en(e);
|
|
801
821
|
}
|
|
802
|
-
function
|
|
822
|
+
function nn(e) {
|
|
803
823
|
throw e;
|
|
804
824
|
}
|
|
805
|
-
var
|
|
825
|
+
var sn = {
|
|
806
826
|
closed: !0,
|
|
807
|
-
next:
|
|
808
|
-
error:
|
|
809
|
-
complete:
|
|
810
|
-
},
|
|
827
|
+
next: dt,
|
|
828
|
+
error: nn,
|
|
829
|
+
complete: dt
|
|
830
|
+
}, on = function() {
|
|
811
831
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
812
832
|
}();
|
|
813
|
-
function
|
|
833
|
+
function an(e) {
|
|
814
834
|
return e;
|
|
815
835
|
}
|
|
816
|
-
function
|
|
817
|
-
return e.length === 0 ?
|
|
836
|
+
function un(e) {
|
|
837
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
|
818
838
|
return e.reduce(function(n, i) {
|
|
819
839
|
return i(n);
|
|
820
840
|
}, r);
|
|
821
841
|
};
|
|
822
842
|
}
|
|
823
|
-
var
|
|
843
|
+
var bt = function() {
|
|
824
844
|
function e(t) {
|
|
825
845
|
t && (this._subscribe = t);
|
|
826
846
|
}
|
|
@@ -828,7 +848,7 @@ var ft = function() {
|
|
|
828
848
|
var r = new e();
|
|
829
849
|
return r.source = this, r.operator = t, r;
|
|
830
850
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
831
|
-
var i = this, s =
|
|
851
|
+
var i = this, s = ln(t) ? t : new Ze(t, r, n);
|
|
832
852
|
return _e(function() {
|
|
833
853
|
var o = i, a = o.operator, h = o.source;
|
|
834
854
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -841,8 +861,8 @@ var ft = function() {
|
|
|
841
861
|
}
|
|
842
862
|
}, e.prototype.forEach = function(t, r) {
|
|
843
863
|
var n = this;
|
|
844
|
-
return r =
|
|
845
|
-
var o = new
|
|
864
|
+
return r = pt(r), new r(function(i, s) {
|
|
865
|
+
var o = new Ze({
|
|
846
866
|
next: function(a) {
|
|
847
867
|
try {
|
|
848
868
|
t(a);
|
|
@@ -858,15 +878,15 @@ var ft = function() {
|
|
|
858
878
|
}, e.prototype._subscribe = function(t) {
|
|
859
879
|
var r;
|
|
860
880
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
861
|
-
}, e.prototype[
|
|
881
|
+
}, e.prototype[on] = function() {
|
|
862
882
|
return this;
|
|
863
883
|
}, e.prototype.pipe = function() {
|
|
864
884
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
865
885
|
t[r] = arguments[r];
|
|
866
|
-
return
|
|
886
|
+
return un(t)(this);
|
|
867
887
|
}, e.prototype.toPromise = function(t) {
|
|
868
888
|
var r = this;
|
|
869
|
-
return t =
|
|
889
|
+
return t = pt(t), new t(function(n, i) {
|
|
870
890
|
var s;
|
|
871
891
|
r.subscribe(function(o) {
|
|
872
892
|
return s = o;
|
|
@@ -880,32 +900,32 @@ var ft = function() {
|
|
|
880
900
|
return new e(t);
|
|
881
901
|
}, e;
|
|
882
902
|
}();
|
|
883
|
-
function
|
|
903
|
+
function pt(e) {
|
|
884
904
|
var t;
|
|
885
|
-
return (t = e ??
|
|
905
|
+
return (t = e ?? zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
886
906
|
}
|
|
887
|
-
function
|
|
907
|
+
function hn(e) {
|
|
888
908
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
889
909
|
}
|
|
890
|
-
function
|
|
891
|
-
return e && e instanceof
|
|
910
|
+
function ln(e) {
|
|
911
|
+
return e && e instanceof Zt || hn(e) && Wt(e);
|
|
892
912
|
}
|
|
893
|
-
var
|
|
913
|
+
var cn = Vt(function(e) {
|
|
894
914
|
return function() {
|
|
895
915
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
896
916
|
};
|
|
897
|
-
}),
|
|
917
|
+
}), Qt = function(e) {
|
|
898
918
|
U(t, e);
|
|
899
919
|
function t() {
|
|
900
920
|
var r = e.call(this) || this;
|
|
901
921
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
902
922
|
}
|
|
903
923
|
return t.prototype.lift = function(r) {
|
|
904
|
-
var n = new
|
|
924
|
+
var n = new gt(this, this);
|
|
905
925
|
return n.operator = r, n;
|
|
906
926
|
}, t.prototype._throwIfClosed = function() {
|
|
907
927
|
if (this.closed)
|
|
908
|
-
throw new
|
|
928
|
+
throw new cn();
|
|
909
929
|
}, t.prototype.next = function(r) {
|
|
910
930
|
var n = this;
|
|
911
931
|
_e(function() {
|
|
@@ -913,7 +933,7 @@ var an = $t(function(e) {
|
|
|
913
933
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
914
934
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
915
935
|
try {
|
|
916
|
-
for (var o =
|
|
936
|
+
for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
917
937
|
var h = a.value;
|
|
918
938
|
h.next(r);
|
|
919
939
|
}
|
|
@@ -962,19 +982,19 @@ var an = $t(function(e) {
|
|
|
962
982
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
963
983
|
}, t.prototype._innerSubscribe = function(r) {
|
|
964
984
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
965
|
-
return s || o ?
|
|
966
|
-
n.currentObservers = null,
|
|
985
|
+
return s || o ? Xt : (this.currentObservers = null, a.push(r), new He(function() {
|
|
986
|
+
n.currentObservers = null, ze(a, r);
|
|
967
987
|
}));
|
|
968
988
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
969
989
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
970
990
|
i ? r.error(s) : o && r.complete();
|
|
971
991
|
}, t.prototype.asObservable = function() {
|
|
972
|
-
var r = new
|
|
992
|
+
var r = new bt();
|
|
973
993
|
return r.source = this, r;
|
|
974
994
|
}, t.create = function(r, n) {
|
|
975
|
-
return new
|
|
995
|
+
return new gt(r, n);
|
|
976
996
|
}, t;
|
|
977
|
-
}(
|
|
997
|
+
}(bt), gt = function(e) {
|
|
978
998
|
U(t, e);
|
|
979
999
|
function t(r, n) {
|
|
980
1000
|
var i = e.call(this) || this;
|
|
@@ -991,17 +1011,17 @@ var an = $t(function(e) {
|
|
|
991
1011
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
992
1012
|
}, t.prototype._subscribe = function(r) {
|
|
993
1013
|
var n, i;
|
|
994
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1014
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
|
|
995
1015
|
}, t;
|
|
996
|
-
}(
|
|
1016
|
+
}(Qt), Yt = {
|
|
997
1017
|
now: function() {
|
|
998
|
-
return (
|
|
1018
|
+
return (Yt.delegate || Date).now();
|
|
999
1019
|
},
|
|
1000
1020
|
delegate: void 0
|
|
1001
|
-
},
|
|
1021
|
+
}, fn = function(e) {
|
|
1002
1022
|
U(t, e);
|
|
1003
1023
|
function t(r, n, i) {
|
|
1004
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1024
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
|
|
1005
1025
|
var s = e.call(this) || this;
|
|
1006
1026
|
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;
|
|
1007
1027
|
}
|
|
@@ -1021,15 +1041,15 @@ var an = $t(function(e) {
|
|
|
1021
1041
|
u && s.splice(0, u + 1);
|
|
1022
1042
|
}
|
|
1023
1043
|
}, t;
|
|
1024
|
-
}(
|
|
1025
|
-
const
|
|
1026
|
-
if (
|
|
1027
|
-
const r = new
|
|
1028
|
-
|
|
1044
|
+
}(Qt);
|
|
1045
|
+
const yt = [], vt = {}, mn = (e, t = 0) => {
|
|
1046
|
+
if (yt.indexOf(e) == -1) {
|
|
1047
|
+
const r = new fn(t);
|
|
1048
|
+
vt[e] = r, yt.push(e);
|
|
1029
1049
|
}
|
|
1030
|
-
return
|
|
1050
|
+
return vt[e];
|
|
1031
1051
|
}, Z = [];
|
|
1032
|
-
function
|
|
1052
|
+
function dn(e, t) {
|
|
1033
1053
|
return {
|
|
1034
1054
|
subscribe: Ae(e, t).subscribe
|
|
1035
1055
|
};
|
|
@@ -1038,7 +1058,7 @@ function Ae(e, t = P) {
|
|
|
1038
1058
|
let r;
|
|
1039
1059
|
const n = /* @__PURE__ */ new Set();
|
|
1040
1060
|
function i(a) {
|
|
1041
|
-
if (
|
|
1061
|
+
if (Rt(e, a) && (e = a, r)) {
|
|
1042
1062
|
const h = !Z.length;
|
|
1043
1063
|
for (const u of n)
|
|
1044
1064
|
u[1](), Z.push(u, e);
|
|
@@ -1065,7 +1085,7 @@ function se(e, t, r) {
|
|
|
1065
1085
|
if (!i.every(Boolean))
|
|
1066
1086
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1067
1087
|
const s = t.length < 2;
|
|
1068
|
-
return
|
|
1088
|
+
return dn(r, (o, a) => {
|
|
1069
1089
|
let h = !1;
|
|
1070
1090
|
const u = [];
|
|
1071
1091
|
let l = 0, f = P;
|
|
@@ -1075,86 +1095,86 @@ function se(e, t, r) {
|
|
|
1075
1095
|
f();
|
|
1076
1096
|
const p = t(n ? u[0] : u, o, a);
|
|
1077
1097
|
s ? o(p) : f = Te(p) ? p : P;
|
|
1078
|
-
},
|
|
1079
|
-
(p,
|
|
1098
|
+
}, d = i.map(
|
|
1099
|
+
(p, b) => Gt(
|
|
1080
1100
|
p,
|
|
1081
1101
|
(w) => {
|
|
1082
|
-
u[
|
|
1102
|
+
u[b] = w, l &= ~(1 << b), h && c();
|
|
1083
1103
|
},
|
|
1084
1104
|
() => {
|
|
1085
|
-
l |= 1 <<
|
|
1105
|
+
l |= 1 << b;
|
|
1086
1106
|
}
|
|
1087
1107
|
)
|
|
1088
1108
|
);
|
|
1089
1109
|
return h = !0, c(), function() {
|
|
1090
|
-
re(
|
|
1110
|
+
re(d), f(), h = !1;
|
|
1091
1111
|
};
|
|
1092
1112
|
});
|
|
1093
1113
|
}
|
|
1094
|
-
function
|
|
1114
|
+
function bn(e) {
|
|
1095
1115
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1096
1116
|
}
|
|
1097
|
-
var
|
|
1098
|
-
return
|
|
1117
|
+
var pn = function(t) {
|
|
1118
|
+
return gn(t) && !yn(t);
|
|
1099
1119
|
};
|
|
1100
|
-
function
|
|
1120
|
+
function gn(e) {
|
|
1101
1121
|
return !!e && typeof e == "object";
|
|
1102
1122
|
}
|
|
1103
|
-
function
|
|
1123
|
+
function yn(e) {
|
|
1104
1124
|
var t = Object.prototype.toString.call(e);
|
|
1105
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1125
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1106
1126
|
}
|
|
1107
|
-
var
|
|
1108
|
-
function
|
|
1109
|
-
return e.$$typeof ===
|
|
1127
|
+
var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
|
|
1128
|
+
function En(e) {
|
|
1129
|
+
return e.$$typeof === _n;
|
|
1110
1130
|
}
|
|
1111
|
-
function
|
|
1131
|
+
function xn(e) {
|
|
1112
1132
|
return Array.isArray(e) ? [] : {};
|
|
1113
1133
|
}
|
|
1114
1134
|
function le(e, t) {
|
|
1115
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
|
1135
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(xn(e), e, t) : e;
|
|
1116
1136
|
}
|
|
1117
|
-
function
|
|
1137
|
+
function Sn(e, t, r) {
|
|
1118
1138
|
return e.concat(t).map(function(n) {
|
|
1119
1139
|
return le(n, r);
|
|
1120
1140
|
});
|
|
1121
1141
|
}
|
|
1122
|
-
function
|
|
1142
|
+
function wn(e, t) {
|
|
1123
1143
|
if (!t.customMerge)
|
|
1124
1144
|
return J;
|
|
1125
1145
|
var r = t.customMerge(e);
|
|
1126
1146
|
return typeof r == "function" ? r : J;
|
|
1127
1147
|
}
|
|
1128
|
-
function
|
|
1148
|
+
function Tn(e) {
|
|
1129
1149
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1130
1150
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1131
1151
|
}) : [];
|
|
1132
1152
|
}
|
|
1133
|
-
function
|
|
1134
|
-
return Object.keys(e).concat(
|
|
1153
|
+
function _t(e) {
|
|
1154
|
+
return Object.keys(e).concat(Tn(e));
|
|
1135
1155
|
}
|
|
1136
|
-
function
|
|
1156
|
+
function qt(e, t) {
|
|
1137
1157
|
try {
|
|
1138
1158
|
return t in e;
|
|
1139
1159
|
} catch {
|
|
1140
1160
|
return !1;
|
|
1141
1161
|
}
|
|
1142
1162
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return
|
|
1163
|
+
function Hn(e, t) {
|
|
1164
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1145
1165
|
}
|
|
1146
|
-
function
|
|
1166
|
+
function An(e, t, r) {
|
|
1147
1167
|
var n = {};
|
|
1148
|
-
return r.isMergeableObject(e) &&
|
|
1168
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1149
1169
|
n[i] = le(e[i], r);
|
|
1150
|
-
}),
|
|
1151
|
-
|
|
1170
|
+
}), _t(t).forEach(function(i) {
|
|
1171
|
+
Hn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1152
1172
|
}), n;
|
|
1153
1173
|
}
|
|
1154
1174
|
function J(e, t, r) {
|
|
1155
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1175
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1156
1176
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1157
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1177
|
+
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : le(t, r);
|
|
1158
1178
|
}
|
|
1159
1179
|
J.all = function(t, r) {
|
|
1160
1180
|
if (!Array.isArray(t))
|
|
@@ -1163,56 +1183,58 @@ J.all = function(t, r) {
|
|
|
1163
1183
|
return J(n, i, r);
|
|
1164
1184
|
}, {});
|
|
1165
1185
|
};
|
|
1166
|
-
var
|
|
1167
|
-
const
|
|
1168
|
-
function
|
|
1169
|
-
var r = t && t.cache ? t.cache :
|
|
1186
|
+
var Bn = J, Pn = Bn;
|
|
1187
|
+
const Nn = /* @__PURE__ */ bn(Pn);
|
|
1188
|
+
function Re(e, t) {
|
|
1189
|
+
var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
|
|
1170
1190
|
return i(e, {
|
|
1171
1191
|
cache: r,
|
|
1172
1192
|
serializer: n
|
|
1173
1193
|
});
|
|
1174
1194
|
}
|
|
1175
|
-
function
|
|
1195
|
+
function On(e) {
|
|
1176
1196
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1177
1197
|
}
|
|
1178
|
-
function
|
|
1179
|
-
var i =
|
|
1198
|
+
function Jt(e, t, r, n) {
|
|
1199
|
+
var i = On(n) ? n : r(n), s = t.get(i);
|
|
1180
1200
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1181
1201
|
}
|
|
1182
|
-
function
|
|
1202
|
+
function Kt(e, t, r) {
|
|
1183
1203
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1184
1204
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1185
1205
|
}
|
|
1186
|
-
function
|
|
1206
|
+
function nt(e, t, r, n, i) {
|
|
1187
1207
|
return r.bind(t, e, n, i);
|
|
1188
1208
|
}
|
|
1189
|
-
function
|
|
1190
|
-
var r = e.length === 1 ?
|
|
1191
|
-
return
|
|
1209
|
+
function Ln(e, t) {
|
|
1210
|
+
var r = e.length === 1 ? Jt : Kt;
|
|
1211
|
+
return nt(e, this, r, t.cache.create(), t.serializer);
|
|
1212
|
+
}
|
|
1213
|
+
function In(e, t) {
|
|
1214
|
+
return nt(e, this, Kt, t.cache.create(), t.serializer);
|
|
1192
1215
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return
|
|
1216
|
+
function Cn(e, t) {
|
|
1217
|
+
return nt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1195
1218
|
}
|
|
1196
|
-
var
|
|
1219
|
+
var Mn = function() {
|
|
1197
1220
|
return JSON.stringify(arguments);
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
}()
|
|
1210
|
-
), In = {
|
|
1221
|
+
};
|
|
1222
|
+
function it() {
|
|
1223
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1224
|
+
}
|
|
1225
|
+
it.prototype.get = function(e) {
|
|
1226
|
+
return this.cache[e];
|
|
1227
|
+
};
|
|
1228
|
+
it.prototype.set = function(e, t) {
|
|
1229
|
+
this.cache[e] = t;
|
|
1230
|
+
};
|
|
1231
|
+
var Rn = {
|
|
1211
1232
|
create: function() {
|
|
1212
|
-
return new
|
|
1233
|
+
return new it();
|
|
1213
1234
|
}
|
|
1214
|
-
},
|
|
1215
|
-
variadic:
|
|
1235
|
+
}, Ge = {
|
|
1236
|
+
variadic: In,
|
|
1237
|
+
monadic: Cn
|
|
1216
1238
|
}, g;
|
|
1217
1239
|
(function(e) {
|
|
1218
1240
|
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";
|
|
@@ -1225,43 +1247,43 @@ var K;
|
|
|
1225
1247
|
(function(e) {
|
|
1226
1248
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1227
1249
|
})(K || (K = {}));
|
|
1228
|
-
function
|
|
1250
|
+
function Et(e) {
|
|
1229
1251
|
return e.type === x.literal;
|
|
1230
1252
|
}
|
|
1231
|
-
function
|
|
1253
|
+
function Gn(e) {
|
|
1232
1254
|
return e.type === x.argument;
|
|
1233
1255
|
}
|
|
1234
|
-
function
|
|
1256
|
+
function er(e) {
|
|
1235
1257
|
return e.type === x.number;
|
|
1236
1258
|
}
|
|
1237
|
-
function
|
|
1259
|
+
function tr(e) {
|
|
1238
1260
|
return e.type === x.date;
|
|
1239
1261
|
}
|
|
1240
|
-
function
|
|
1262
|
+
function rr(e) {
|
|
1241
1263
|
return e.type === x.time;
|
|
1242
1264
|
}
|
|
1243
|
-
function
|
|
1265
|
+
function nr(e) {
|
|
1244
1266
|
return e.type === x.select;
|
|
1245
1267
|
}
|
|
1246
|
-
function
|
|
1268
|
+
function ir(e) {
|
|
1247
1269
|
return e.type === x.plural;
|
|
1248
1270
|
}
|
|
1249
|
-
function
|
|
1271
|
+
function Un(e) {
|
|
1250
1272
|
return e.type === x.pound;
|
|
1251
1273
|
}
|
|
1252
|
-
function
|
|
1274
|
+
function sr(e) {
|
|
1253
1275
|
return e.type === x.tag;
|
|
1254
1276
|
}
|
|
1255
|
-
function
|
|
1277
|
+
function or(e) {
|
|
1256
1278
|
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1257
1279
|
}
|
|
1258
|
-
function
|
|
1280
|
+
function Qe(e) {
|
|
1259
1281
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1260
1282
|
}
|
|
1261
|
-
var
|
|
1262
|
-
function
|
|
1283
|
+
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
|
|
1284
|
+
function Fn(e) {
|
|
1263
1285
|
var t = {};
|
|
1264
|
-
return e.replace(
|
|
1286
|
+
return e.replace(Dn, function(r) {
|
|
1265
1287
|
var n = r.length;
|
|
1266
1288
|
switch (r[0]) {
|
|
1267
1289
|
case "G":
|
|
@@ -1350,11 +1372,11 @@ function Gn(e) {
|
|
|
1350
1372
|
return "";
|
|
1351
1373
|
}), t;
|
|
1352
1374
|
}
|
|
1353
|
-
var
|
|
1354
|
-
function
|
|
1375
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1376
|
+
function jn(e) {
|
|
1355
1377
|
if (e.length === 0)
|
|
1356
1378
|
throw new Error("Number skeleton cannot be empty");
|
|
1357
|
-
for (var t = e.split(
|
|
1379
|
+
for (var t = e.split($n).filter(function(c) {
|
|
1358
1380
|
return c.length > 0;
|
|
1359
1381
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1360
1382
|
var s = i[n], o = s.split("/");
|
|
@@ -1369,17 +1391,17 @@ function Dn(e) {
|
|
|
1369
1391
|
}
|
|
1370
1392
|
return r;
|
|
1371
1393
|
}
|
|
1372
|
-
function
|
|
1394
|
+
function kn(e) {
|
|
1373
1395
|
return e.replace(/^(.*?)-/, "");
|
|
1374
1396
|
}
|
|
1375
|
-
var
|
|
1376
|
-
function
|
|
1397
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
|
|
1398
|
+
function St(e) {
|
|
1377
1399
|
var t = {};
|
|
1378
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1400
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
|
|
1379
1401
|
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)), "";
|
|
1380
1402
|
}), t;
|
|
1381
1403
|
}
|
|
1382
|
-
function
|
|
1404
|
+
function lr(e) {
|
|
1383
1405
|
switch (e) {
|
|
1384
1406
|
case "sign-auto":
|
|
1385
1407
|
return {
|
|
@@ -1419,7 +1441,7 @@ function or(e) {
|
|
|
1419
1441
|
};
|
|
1420
1442
|
}
|
|
1421
1443
|
}
|
|
1422
|
-
function
|
|
1444
|
+
function Xn(e) {
|
|
1423
1445
|
var t;
|
|
1424
1446
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1425
1447
|
notation: "engineering"
|
|
@@ -1427,17 +1449,17 @@ function jn(e) {
|
|
|
1427
1449
|
notation: "scientific"
|
|
1428
1450
|
}, e = e.slice(1)), t) {
|
|
1429
1451
|
var r = e.slice(0, 2);
|
|
1430
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1452
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
|
|
1431
1453
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1432
1454
|
t.minimumIntegerDigits = e.length;
|
|
1433
1455
|
}
|
|
1434
1456
|
return t;
|
|
1435
1457
|
}
|
|
1436
|
-
function
|
|
1437
|
-
var t = {}, r =
|
|
1458
|
+
function wt(e) {
|
|
1459
|
+
var t = {}, r = lr(e);
|
|
1438
1460
|
return r || t;
|
|
1439
1461
|
}
|
|
1440
|
-
function
|
|
1462
|
+
function Wn(e) {
|
|
1441
1463
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1442
1464
|
var i = n[r];
|
|
1443
1465
|
switch (i.stem) {
|
|
@@ -1461,7 +1483,7 @@ function kn(e) {
|
|
|
1461
1483
|
continue;
|
|
1462
1484
|
case "measure-unit":
|
|
1463
1485
|
case "unit":
|
|
1464
|
-
t.style = "unit", t.unit =
|
|
1486
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1465
1487
|
continue;
|
|
1466
1488
|
case "compact-short":
|
|
1467
1489
|
case "K":
|
|
@@ -1473,12 +1495,12 @@ function kn(e) {
|
|
|
1473
1495
|
continue;
|
|
1474
1496
|
case "scientific":
|
|
1475
1497
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1476
|
-
return v(v({}, h),
|
|
1498
|
+
return v(v({}, h), wt(u));
|
|
1477
1499
|
}, {}));
|
|
1478
1500
|
continue;
|
|
1479
1501
|
case "engineering":
|
|
1480
1502
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1481
|
-
return v(v({}, h),
|
|
1503
|
+
return v(v({}, h), wt(u));
|
|
1482
1504
|
}, {}));
|
|
1483
1505
|
continue;
|
|
1484
1506
|
case "notation-simple":
|
|
@@ -1523,40 +1545,40 @@ function kn(e) {
|
|
|
1523
1545
|
case "integer-width":
|
|
1524
1546
|
if (i.options.length > 1)
|
|
1525
1547
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1526
|
-
i.options[0].replace(
|
|
1548
|
+
i.options[0].replace(Vn, function(h, u, l, f, c, d) {
|
|
1527
1549
|
if (u)
|
|
1528
1550
|
t.minimumIntegerDigits = l.length;
|
|
1529
1551
|
else {
|
|
1530
1552
|
if (f && c)
|
|
1531
1553
|
throw new Error("We currently do not support maximum integer digits");
|
|
1532
|
-
if (
|
|
1554
|
+
if (d)
|
|
1533
1555
|
throw new Error("We currently do not support exact integer digits");
|
|
1534
1556
|
}
|
|
1535
1557
|
return "";
|
|
1536
1558
|
});
|
|
1537
1559
|
continue;
|
|
1538
1560
|
}
|
|
1539
|
-
if (
|
|
1561
|
+
if (hr.test(i.stem)) {
|
|
1540
1562
|
t.minimumIntegerDigits = i.stem.length;
|
|
1541
1563
|
continue;
|
|
1542
1564
|
}
|
|
1543
|
-
if (
|
|
1565
|
+
if (xt.test(i.stem)) {
|
|
1544
1566
|
if (i.options.length > 1)
|
|
1545
1567
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1546
|
-
i.stem.replace(
|
|
1547
|
-
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1568
|
+
i.stem.replace(xt, function(h, u, l, f, c, d) {
|
|
1569
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1548
1570
|
});
|
|
1549
1571
|
var s = i.options[0];
|
|
1550
|
-
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t),
|
|
1572
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
|
|
1551
1573
|
continue;
|
|
1552
1574
|
}
|
|
1553
|
-
if (
|
|
1554
|
-
t = v(v({}, t),
|
|
1575
|
+
if (ur.test(i.stem)) {
|
|
1576
|
+
t = v(v({}, t), St(i.stem));
|
|
1555
1577
|
continue;
|
|
1556
1578
|
}
|
|
1557
|
-
var o =
|
|
1579
|
+
var o = lr(i.stem);
|
|
1558
1580
|
o && (t = v(v({}, t), o));
|
|
1559
|
-
var a =
|
|
1581
|
+
var a = Xn(i.stem);
|
|
1560
1582
|
a && (t = v(v({}, t), a));
|
|
1561
1583
|
}
|
|
1562
1584
|
return t;
|
|
@@ -2976,13 +2998,13 @@ var ye = {
|
|
|
2976
2998
|
"h"
|
|
2977
2999
|
]
|
|
2978
3000
|
};
|
|
2979
|
-
function
|
|
3001
|
+
function zn(e, t) {
|
|
2980
3002
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2981
3003
|
var i = e.charAt(n);
|
|
2982
3004
|
if (i === "j") {
|
|
2983
3005
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2984
3006
|
s++, n++;
|
|
2985
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
|
3007
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Zn(t);
|
|
2986
3008
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2987
3009
|
r += h;
|
|
2988
3010
|
for (; o-- > 0; )
|
|
@@ -2992,7 +3014,7 @@ function Vn(e, t) {
|
|
|
2992
3014
|
}
|
|
2993
3015
|
return r;
|
|
2994
3016
|
}
|
|
2995
|
-
function
|
|
3017
|
+
function Zn(e) {
|
|
2996
3018
|
var t = e.hourCycle;
|
|
2997
3019
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2998
3020
|
e.hourCycles && // @ts-ignore
|
|
@@ -3014,20 +3036,20 @@ function Xn(e) {
|
|
|
3014
3036
|
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
|
3015
3037
|
return i[0];
|
|
3016
3038
|
}
|
|
3017
|
-
var
|
|
3039
|
+
var Ue, Qn = new RegExp("^".concat(ar.source, "*")), Yn = new RegExp("".concat(ar.source, "*$"));
|
|
3018
3040
|
function y(e, t) {
|
|
3019
3041
|
return { start: e, end: t };
|
|
3020
3042
|
}
|
|
3021
|
-
var
|
|
3043
|
+
var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
|
|
3022
3044
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3023
|
-
},
|
|
3045
|
+
}, Ye = !0;
|
|
3024
3046
|
try {
|
|
3025
|
-
var
|
|
3026
|
-
|
|
3047
|
+
var si = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3048
|
+
Ye = ((Ue = si.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3027
3049
|
} catch {
|
|
3028
|
-
|
|
3050
|
+
Ye = !1;
|
|
3029
3051
|
}
|
|
3030
|
-
var
|
|
3052
|
+
var Tt = qn ? (
|
|
3031
3053
|
// Native
|
|
3032
3054
|
function(t, r, n) {
|
|
3033
3055
|
return t.startsWith(r, n);
|
|
@@ -3037,7 +3059,7 @@ var xt = Zn ? (
|
|
|
3037
3059
|
function(t, r, n) {
|
|
3038
3060
|
return t.slice(n, n + r.length) === r;
|
|
3039
3061
|
}
|
|
3040
|
-
),
|
|
3062
|
+
), qe = Jn ? String.fromCodePoint : (
|
|
3041
3063
|
// IE11
|
|
3042
3064
|
function() {
|
|
3043
3065
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3049,9 +3071,9 @@ var xt = Zn ? (
|
|
|
3049
3071
|
}
|
|
3050
3072
|
return n;
|
|
3051
3073
|
}
|
|
3052
|
-
),
|
|
3074
|
+
), Ht = (
|
|
3053
3075
|
// native
|
|
3054
|
-
|
|
3076
|
+
Kn ? Object.fromEntries : (
|
|
3055
3077
|
// Ponyfill
|
|
3056
3078
|
function(t) {
|
|
3057
3079
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3061,7 +3083,7 @@ var xt = Zn ? (
|
|
|
3061
3083
|
return r;
|
|
3062
3084
|
}
|
|
3063
3085
|
)
|
|
3064
|
-
),
|
|
3086
|
+
), cr = ei ? (
|
|
3065
3087
|
// Native
|
|
3066
3088
|
function(t, r) {
|
|
3067
3089
|
return t.codePointAt(r);
|
|
@@ -3075,7 +3097,7 @@ var xt = Zn ? (
|
|
|
3075
3097
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3076
3098
|
}
|
|
3077
3099
|
}
|
|
3078
|
-
),
|
|
3100
|
+
), oi = ti ? (
|
|
3079
3101
|
// Native
|
|
3080
3102
|
function(t) {
|
|
3081
3103
|
return t.trimStart();
|
|
@@ -3083,9 +3105,9 @@ var xt = Zn ? (
|
|
|
3083
3105
|
) : (
|
|
3084
3106
|
// Ponyfill
|
|
3085
3107
|
function(t) {
|
|
3086
|
-
return t.replace(
|
|
3108
|
+
return t.replace(Qn, "");
|
|
3087
3109
|
}
|
|
3088
|
-
),
|
|
3110
|
+
), ai = ri ? (
|
|
3089
3111
|
// Native
|
|
3090
3112
|
function(t) {
|
|
3091
3113
|
return t.trimEnd();
|
|
@@ -3093,32 +3115,32 @@ var xt = Zn ? (
|
|
|
3093
3115
|
) : (
|
|
3094
3116
|
// Ponyfill
|
|
3095
3117
|
function(t) {
|
|
3096
|
-
return t.replace(
|
|
3118
|
+
return t.replace(Yn, "");
|
|
3097
3119
|
}
|
|
3098
3120
|
);
|
|
3099
|
-
function
|
|
3121
|
+
function fr(e, t) {
|
|
3100
3122
|
return new RegExp(e, t);
|
|
3101
3123
|
}
|
|
3102
|
-
var
|
|
3103
|
-
if (
|
|
3104
|
-
var
|
|
3105
|
-
|
|
3124
|
+
var Je;
|
|
3125
|
+
if (Ye) {
|
|
3126
|
+
var At = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3127
|
+
Je = function(t, r) {
|
|
3106
3128
|
var n;
|
|
3107
|
-
|
|
3108
|
-
var i =
|
|
3129
|
+
At.lastIndex = r;
|
|
3130
|
+
var i = At.exec(t);
|
|
3109
3131
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3110
3132
|
};
|
|
3111
3133
|
} else
|
|
3112
|
-
|
|
3134
|
+
Je = function(t, r) {
|
|
3113
3135
|
for (var n = []; ; ) {
|
|
3114
|
-
var i =
|
|
3115
|
-
if (i === void 0 ||
|
|
3136
|
+
var i = cr(t, r);
|
|
3137
|
+
if (i === void 0 || mr(i) || ci(i))
|
|
3116
3138
|
break;
|
|
3117
3139
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3118
3140
|
}
|
|
3119
|
-
return
|
|
3141
|
+
return qe.apply(void 0, n);
|
|
3120
3142
|
};
|
|
3121
|
-
var
|
|
3143
|
+
var ui = (
|
|
3122
3144
|
/** @class */
|
|
3123
3145
|
function() {
|
|
3124
3146
|
function e(t, r) {
|
|
@@ -3149,7 +3171,7 @@ var si = (
|
|
|
3149
3171
|
if (n)
|
|
3150
3172
|
break;
|
|
3151
3173
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3152
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3174
|
+
} else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3153
3175
|
var o = this.parseTag(t, r);
|
|
3154
3176
|
if (o.err)
|
|
3155
3177
|
return o;
|
|
@@ -3182,7 +3204,7 @@ var si = (
|
|
|
3182
3204
|
return s;
|
|
3183
3205
|
var o = s.val, a = this.clonePosition();
|
|
3184
3206
|
if (this.bumpIf("</")) {
|
|
3185
|
-
if (this.isEOF() || !
|
|
3207
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
3186
3208
|
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3187
3209
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3188
3210
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3200,7 +3222,7 @@ var si = (
|
|
|
3200
3222
|
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3201
3223
|
}, e.prototype.parseTagName = function() {
|
|
3202
3224
|
var t = this.offset();
|
|
3203
|
-
for (this.bump(); !this.isEOF() &&
|
|
3225
|
+
for (this.bump(); !this.isEOF() && li(this.char()); )
|
|
3204
3226
|
this.bump();
|
|
3205
3227
|
return this.message.slice(t, this.offset());
|
|
3206
3228
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3229,7 +3251,7 @@ var si = (
|
|
|
3229
3251
|
};
|
|
3230
3252
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3231
3253
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3232
|
-
!
|
|
3254
|
+
!hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3233
3255
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3234
3256
|
if (this.isEOF() || this.char() !== 39)
|
|
3235
3257
|
return null;
|
|
@@ -3263,12 +3285,12 @@ var si = (
|
|
|
3263
3285
|
r.push(n);
|
|
3264
3286
|
this.bump();
|
|
3265
3287
|
}
|
|
3266
|
-
return
|
|
3288
|
+
return qe.apply(void 0, r);
|
|
3267
3289
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3268
3290
|
if (this.isEOF())
|
|
3269
3291
|
return null;
|
|
3270
3292
|
var n = this.char();
|
|
3271
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3293
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3272
3294
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3273
3295
|
var n = this.clonePosition();
|
|
3274
3296
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3297,7 +3319,7 @@ var si = (
|
|
|
3297
3319
|
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3298
3320
|
}
|
|
3299
3321
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3300
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3322
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3301
3323
|
this.bumpTo(i);
|
|
3302
3324
|
var s = this.clonePosition(), o = y(t, s);
|
|
3303
3325
|
return { value: n, location: o };
|
|
@@ -3316,37 +3338,37 @@ var si = (
|
|
|
3316
3338
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3317
3339
|
if (f.err)
|
|
3318
3340
|
return f;
|
|
3319
|
-
var c =
|
|
3341
|
+
var c = ai(f.val);
|
|
3320
3342
|
if (c.length === 0)
|
|
3321
3343
|
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3322
|
-
var
|
|
3323
|
-
u = { style: c, styleLocation:
|
|
3344
|
+
var d = y(l, this.clonePosition());
|
|
3345
|
+
u = { style: c, styleLocation: d };
|
|
3324
3346
|
}
|
|
3325
3347
|
var p = this.tryParseArgumentClose(i);
|
|
3326
3348
|
if (p.err)
|
|
3327
3349
|
return p;
|
|
3328
|
-
var
|
|
3329
|
-
if (u &&
|
|
3330
|
-
var w =
|
|
3350
|
+
var b = y(i, this.clonePosition());
|
|
3351
|
+
if (u && Tt(u?.style, "::", 0)) {
|
|
3352
|
+
var w = oi(u.style.slice(2));
|
|
3331
3353
|
if (a === "number") {
|
|
3332
3354
|
var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3333
3355
|
return f.err ? f : {
|
|
3334
|
-
val: { type: x.number, value: n, location:
|
|
3356
|
+
val: { type: x.number, value: n, location: b, style: f.val },
|
|
3335
3357
|
err: null
|
|
3336
3358
|
};
|
|
3337
3359
|
} else {
|
|
3338
3360
|
if (w.length === 0)
|
|
3339
|
-
return this.error(g.EXPECT_DATE_TIME_SKELETON,
|
|
3361
|
+
return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
|
|
3340
3362
|
var C = w;
|
|
3341
|
-
this.locale && (C =
|
|
3363
|
+
this.locale && (C = zn(w, this.locale));
|
|
3342
3364
|
var c = {
|
|
3343
3365
|
type: K.dateTime,
|
|
3344
3366
|
pattern: C,
|
|
3345
3367
|
location: u.styleLocation,
|
|
3346
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3368
|
+
parsedOptions: this.shouldParseSkeletons ? Fn(C) : {}
|
|
3347
3369
|
}, N = a === "date" ? x.date : x.time;
|
|
3348
3370
|
return {
|
|
3349
|
-
val: { type: N, value: n, location:
|
|
3371
|
+
val: { type: N, value: n, location: b, style: c },
|
|
3350
3372
|
err: null
|
|
3351
3373
|
};
|
|
3352
3374
|
}
|
|
@@ -3355,7 +3377,7 @@ var si = (
|
|
|
3355
3377
|
val: {
|
|
3356
3378
|
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3357
3379
|
value: n,
|
|
3358
|
-
location:
|
|
3380
|
+
location: b,
|
|
3359
3381
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3360
3382
|
},
|
|
3361
3383
|
err: null
|
|
@@ -3389,7 +3411,7 @@ var si = (
|
|
|
3389
3411
|
val: {
|
|
3390
3412
|
type: x.select,
|
|
3391
3413
|
value: n,
|
|
3392
|
-
options:
|
|
3414
|
+
options: Ht(M.val),
|
|
3393
3415
|
location: E
|
|
3394
3416
|
},
|
|
3395
3417
|
err: null
|
|
@@ -3397,7 +3419,7 @@ var si = (
|
|
|
3397
3419
|
val: {
|
|
3398
3420
|
type: x.plural,
|
|
3399
3421
|
value: n,
|
|
3400
|
-
options:
|
|
3422
|
+
options: Ht(M.val),
|
|
3401
3423
|
offset: H,
|
|
3402
3424
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3403
3425
|
location: E
|
|
@@ -3448,7 +3470,7 @@ var si = (
|
|
|
3448
3470
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3449
3471
|
var n = [];
|
|
3450
3472
|
try {
|
|
3451
|
-
n =
|
|
3473
|
+
n = jn(t);
|
|
3452
3474
|
} catch {
|
|
3453
3475
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3454
3476
|
}
|
|
@@ -3457,7 +3479,7 @@ var si = (
|
|
|
3457
3479
|
type: K.number,
|
|
3458
3480
|
tokens: n,
|
|
3459
3481
|
location: r,
|
|
3460
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3482
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
|
|
3461
3483
|
},
|
|
3462
3484
|
err: null
|
|
3463
3485
|
};
|
|
@@ -3476,20 +3498,20 @@ var si = (
|
|
|
3476
3498
|
if (h.has(u))
|
|
3477
3499
|
return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3478
3500
|
u === "other" && (o = !0), this.bumpSpace();
|
|
3479
|
-
var
|
|
3501
|
+
var d = this.clonePosition();
|
|
3480
3502
|
if (!this.bumpIf("{"))
|
|
3481
3503
|
return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3482
3504
|
var p = this.parseMessage(t + 1, r, n);
|
|
3483
3505
|
if (p.err)
|
|
3484
3506
|
return p;
|
|
3485
|
-
var
|
|
3486
|
-
if (
|
|
3487
|
-
return
|
|
3507
|
+
var b = this.tryParseArgumentClose(d);
|
|
3508
|
+
if (b.err)
|
|
3509
|
+
return b;
|
|
3488
3510
|
a.push([
|
|
3489
3511
|
u,
|
|
3490
3512
|
{
|
|
3491
3513
|
value: p.val,
|
|
3492
|
-
location: y(
|
|
3514
|
+
location: y(d, this.clonePosition())
|
|
3493
3515
|
}
|
|
3494
3516
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3495
3517
|
}
|
|
@@ -3505,7 +3527,7 @@ var si = (
|
|
|
3505
3527
|
break;
|
|
3506
3528
|
}
|
|
3507
3529
|
var h = y(i, this.clonePosition());
|
|
3508
|
-
return s ? (o *= n,
|
|
3530
|
+
return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3509
3531
|
}, e.prototype.offset = function() {
|
|
3510
3532
|
return this.position.offset;
|
|
3511
3533
|
}, e.prototype.isEOF = function() {
|
|
@@ -3520,7 +3542,7 @@ var si = (
|
|
|
3520
3542
|
var t = this.position.offset;
|
|
3521
3543
|
if (t >= this.message.length)
|
|
3522
3544
|
throw Error("out of bound");
|
|
3523
|
-
var r =
|
|
3545
|
+
var r = cr(this.message, t);
|
|
3524
3546
|
if (r === void 0)
|
|
3525
3547
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3526
3548
|
return r;
|
|
@@ -3539,7 +3561,7 @@ var si = (
|
|
|
3539
3561
|
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);
|
|
3540
3562
|
}
|
|
3541
3563
|
}, e.prototype.bumpIf = function(t) {
|
|
3542
|
-
if (
|
|
3564
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3543
3565
|
for (var r = 0; r < t.length; r++)
|
|
3544
3566
|
this.bump();
|
|
3545
3567
|
return !0;
|
|
@@ -3561,7 +3583,7 @@ var si = (
|
|
|
3561
3583
|
break;
|
|
3562
3584
|
}
|
|
3563
3585
|
}, e.prototype.bumpSpace = function() {
|
|
3564
|
-
for (; !this.isEOF() &&
|
|
3586
|
+
for (; !this.isEOF() && mr(this.char()); )
|
|
3565
3587
|
this.bump();
|
|
3566
3588
|
}, e.prototype.peek = function() {
|
|
3567
3589
|
if (this.isEOF())
|
|
@@ -3571,38 +3593,38 @@ var si = (
|
|
|
3571
3593
|
}, e;
|
|
3572
3594
|
}()
|
|
3573
3595
|
);
|
|
3574
|
-
function
|
|
3596
|
+
function Ke(e) {
|
|
3575
3597
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3576
3598
|
}
|
|
3577
|
-
function
|
|
3578
|
-
return
|
|
3599
|
+
function hi(e) {
|
|
3600
|
+
return Ke(e) || e === 47;
|
|
3579
3601
|
}
|
|
3580
|
-
function
|
|
3602
|
+
function li(e) {
|
|
3581
3603
|
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;
|
|
3582
3604
|
}
|
|
3583
|
-
function
|
|
3605
|
+
function mr(e) {
|
|
3584
3606
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3585
3607
|
}
|
|
3586
|
-
function
|
|
3608
|
+
function ci(e) {
|
|
3587
3609
|
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;
|
|
3588
3610
|
}
|
|
3589
|
-
function
|
|
3611
|
+
function et(e) {
|
|
3590
3612
|
e.forEach(function(t) {
|
|
3591
|
-
if (delete t.location,
|
|
3613
|
+
if (delete t.location, nr(t) || ir(t))
|
|
3592
3614
|
for (var r in t.options)
|
|
3593
|
-
delete t.options[r].location,
|
|
3615
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3594
3616
|
else
|
|
3595
|
-
|
|
3617
|
+
er(t) && or(t.style) || (tr(t) || rr(t)) && Qe(t.style) ? delete t.style.location : sr(t) && et(t.children);
|
|
3596
3618
|
});
|
|
3597
3619
|
}
|
|
3598
|
-
function
|
|
3620
|
+
function fi(e, t) {
|
|
3599
3621
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3600
|
-
var r = new
|
|
3622
|
+
var r = new ui(e, t).parse();
|
|
3601
3623
|
if (r.err) {
|
|
3602
3624
|
var n = SyntaxError(g[r.err.kind]);
|
|
3603
3625
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3604
3626
|
}
|
|
3605
|
-
return t?.captureLocation ||
|
|
3627
|
+
return t?.captureLocation || et(r.val), r.val;
|
|
3606
3628
|
}
|
|
3607
3629
|
var ee;
|
|
3608
3630
|
(function(e) {
|
|
@@ -3620,7 +3642,7 @@ var Be = (
|
|
|
3620
3642
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3621
3643
|
}, t;
|
|
3622
3644
|
}(Error)
|
|
3623
|
-
),
|
|
3645
|
+
), Bt = (
|
|
3624
3646
|
/** @class */
|
|
3625
3647
|
function(e) {
|
|
3626
3648
|
U(t, e);
|
|
@@ -3629,7 +3651,7 @@ var Be = (
|
|
|
3629
3651
|
}
|
|
3630
3652
|
return t;
|
|
3631
3653
|
}(Be)
|
|
3632
|
-
),
|
|
3654
|
+
), mi = (
|
|
3633
3655
|
/** @class */
|
|
3634
3656
|
function(e) {
|
|
3635
3657
|
U(t, e);
|
|
@@ -3638,7 +3660,7 @@ var Be = (
|
|
|
3638
3660
|
}
|
|
3639
3661
|
return t;
|
|
3640
3662
|
}(Be)
|
|
3641
|
-
),
|
|
3663
|
+
), di = (
|
|
3642
3664
|
/** @class */
|
|
3643
3665
|
function(e) {
|
|
3644
3666
|
U(t, e);
|
|
@@ -3651,17 +3673,17 @@ var Be = (
|
|
|
3651
3673
|
(function(e) {
|
|
3652
3674
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3653
3675
|
})(A || (A = {}));
|
|
3654
|
-
function
|
|
3676
|
+
function bi(e) {
|
|
3655
3677
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3656
3678
|
var n = t[t.length - 1];
|
|
3657
3679
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3658
3680
|
}, []);
|
|
3659
3681
|
}
|
|
3660
|
-
function
|
|
3682
|
+
function pi(e) {
|
|
3661
3683
|
return typeof e == "function";
|
|
3662
3684
|
}
|
|
3663
3685
|
function Ee(e, t, r, n, i, s, o) {
|
|
3664
|
-
if (e.length === 1 &&
|
|
3686
|
+
if (e.length === 1 && Et(e[0]))
|
|
3665
3687
|
return [
|
|
3666
3688
|
{
|
|
3667
3689
|
type: A.literal,
|
|
@@ -3670,14 +3692,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3670
3692
|
];
|
|
3671
3693
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3672
3694
|
var l = u[h];
|
|
3673
|
-
if (
|
|
3695
|
+
if (Et(l)) {
|
|
3674
3696
|
a.push({
|
|
3675
3697
|
type: A.literal,
|
|
3676
3698
|
value: l.value
|
|
3677
3699
|
});
|
|
3678
3700
|
continue;
|
|
3679
3701
|
}
|
|
3680
|
-
if (
|
|
3702
|
+
if (Un(l)) {
|
|
3681
3703
|
typeof s == "number" && a.push({
|
|
3682
3704
|
type: A.literal,
|
|
3683
3705
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3686,43 +3708,43 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3686
3708
|
}
|
|
3687
3709
|
var f = l.value;
|
|
3688
3710
|
if (!(i && f in i))
|
|
3689
|
-
throw new
|
|
3711
|
+
throw new di(f, o);
|
|
3690
3712
|
var c = i[f];
|
|
3691
|
-
if (
|
|
3713
|
+
if (Gn(l)) {
|
|
3692
3714
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3693
3715
|
type: typeof c == "string" ? A.literal : A.object,
|
|
3694
3716
|
value: c
|
|
3695
3717
|
});
|
|
3696
3718
|
continue;
|
|
3697
3719
|
}
|
|
3698
|
-
if (
|
|
3699
|
-
var
|
|
3720
|
+
if (tr(l)) {
|
|
3721
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
|
3700
3722
|
a.push({
|
|
3701
3723
|
type: A.literal,
|
|
3702
|
-
value: r.getDateTimeFormat(t,
|
|
3724
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3703
3725
|
});
|
|
3704
3726
|
continue;
|
|
3705
3727
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var
|
|
3728
|
+
if (rr(l)) {
|
|
3729
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3708
3730
|
a.push({
|
|
3709
3731
|
type: A.literal,
|
|
3710
|
-
value: r.getDateTimeFormat(t,
|
|
3732
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3711
3733
|
});
|
|
3712
3734
|
continue;
|
|
3713
3735
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var
|
|
3716
|
-
|
|
3736
|
+
if (er(l)) {
|
|
3737
|
+
var d = typeof l.style == "string" ? n.number[l.style] : or(l.style) ? l.style.parsedOptions : void 0;
|
|
3738
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3717
3739
|
type: A.literal,
|
|
3718
|
-
value: r.getNumberFormat(t,
|
|
3740
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3719
3741
|
});
|
|
3720
3742
|
continue;
|
|
3721
3743
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var p = l.children,
|
|
3724
|
-
if (!
|
|
3725
|
-
throw new
|
|
3744
|
+
if (sr(l)) {
|
|
3745
|
+
var p = l.children, b = l.value, w = i[b];
|
|
3746
|
+
if (!pi(w))
|
|
3747
|
+
throw new mi(b, "function", o);
|
|
3726
3748
|
var C = Ee(p, t, r, n, i, s), N = w(C.map(function(H) {
|
|
3727
3749
|
return H.value;
|
|
3728
3750
|
}));
|
|
@@ -3733,14 +3755,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3733
3755
|
};
|
|
3734
3756
|
}));
|
|
3735
3757
|
}
|
|
3736
|
-
if (
|
|
3758
|
+
if (nr(l)) {
|
|
3737
3759
|
var T = l.options[c] || l.options.other;
|
|
3738
3760
|
if (!T)
|
|
3739
|
-
throw new
|
|
3761
|
+
throw new Bt(l.value, c, Object.keys(l.options), o);
|
|
3740
3762
|
a.push.apply(a, Ee(T.value, t, r, n, i));
|
|
3741
3763
|
continue;
|
|
3742
3764
|
}
|
|
3743
|
-
if (
|
|
3765
|
+
if (ir(l)) {
|
|
3744
3766
|
var T = l.options["=".concat(c)];
|
|
3745
3767
|
if (!T) {
|
|
3746
3768
|
if (!Intl.PluralRules)
|
|
@@ -3751,24 +3773,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3751
3773
|
T = l.options[O] || l.options.other;
|
|
3752
3774
|
}
|
|
3753
3775
|
if (!T)
|
|
3754
|
-
throw new
|
|
3776
|
+
throw new Bt(l.value, c, Object.keys(l.options), o);
|
|
3755
3777
|
a.push.apply(a, Ee(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3756
3778
|
continue;
|
|
3757
3779
|
}
|
|
3758
3780
|
}
|
|
3759
|
-
return
|
|
3781
|
+
return bi(a);
|
|
3760
3782
|
}
|
|
3761
|
-
function
|
|
3783
|
+
function gi(e, t) {
|
|
3762
3784
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3763
3785
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3764
3786
|
}, {})) : e;
|
|
3765
3787
|
}
|
|
3766
|
-
function
|
|
3788
|
+
function yi(e, t) {
|
|
3767
3789
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3768
|
-
return r[n] =
|
|
3790
|
+
return r[n] = gi(e[n], t[n]), r;
|
|
3769
3791
|
}, v({}, e)) : e;
|
|
3770
3792
|
}
|
|
3771
|
-
function
|
|
3793
|
+
function De(e) {
|
|
3772
3794
|
return {
|
|
3773
3795
|
create: function() {
|
|
3774
3796
|
return {
|
|
@@ -3782,39 +3804,39 @@ function Ue(e) {
|
|
|
3782
3804
|
}
|
|
3783
3805
|
};
|
|
3784
3806
|
}
|
|
3785
|
-
function
|
|
3807
|
+
function vi(e) {
|
|
3786
3808
|
return e === void 0 && (e = {
|
|
3787
3809
|
number: {},
|
|
3788
3810
|
dateTime: {},
|
|
3789
3811
|
pluralRules: {}
|
|
3790
3812
|
}), {
|
|
3791
|
-
getNumberFormat:
|
|
3813
|
+
getNumberFormat: Re(function() {
|
|
3792
3814
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3793
3815
|
r[n] = arguments[n];
|
|
3794
3816
|
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3795
3817
|
}, {
|
|
3796
|
-
cache:
|
|
3797
|
-
strategy:
|
|
3818
|
+
cache: De(e.number),
|
|
3819
|
+
strategy: Ge.variadic
|
|
3798
3820
|
}),
|
|
3799
|
-
getDateTimeFormat:
|
|
3821
|
+
getDateTimeFormat: Re(function() {
|
|
3800
3822
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3823
|
r[n] = arguments[n];
|
|
3802
3824
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3803
3825
|
}, {
|
|
3804
|
-
cache:
|
|
3805
|
-
strategy:
|
|
3826
|
+
cache: De(e.dateTime),
|
|
3827
|
+
strategy: Ge.variadic
|
|
3806
3828
|
}),
|
|
3807
|
-
getPluralRules:
|
|
3829
|
+
getPluralRules: Re(function() {
|
|
3808
3830
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3809
3831
|
r[n] = arguments[n];
|
|
3810
3832
|
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3811
3833
|
}, {
|
|
3812
|
-
cache:
|
|
3813
|
-
strategy:
|
|
3834
|
+
cache: De(e.pluralRules),
|
|
3835
|
+
strategy: Ge.variadic
|
|
3814
3836
|
})
|
|
3815
3837
|
};
|
|
3816
3838
|
}
|
|
3817
|
-
var
|
|
3839
|
+
var _i = (
|
|
3818
3840
|
/** @class */
|
|
3819
3841
|
function() {
|
|
3820
3842
|
function e(t, r, n, i) {
|
|
@@ -3846,13 +3868,13 @@ var gi = (
|
|
|
3846
3868
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3847
3869
|
var o = i || {};
|
|
3848
3870
|
o.formatters;
|
|
3849
|
-
var a =
|
|
3871
|
+
var a = Jr(o, ["formatters"]);
|
|
3850
3872
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3851
3873
|
} else
|
|
3852
3874
|
this.ast = t;
|
|
3853
3875
|
if (!Array.isArray(this.ast))
|
|
3854
3876
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3855
|
-
this.formats =
|
|
3877
|
+
this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
|
|
3856
3878
|
}
|
|
3857
3879
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3858
3880
|
get: function() {
|
|
@@ -3865,7 +3887,7 @@ var gi = (
|
|
|
3865
3887
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3866
3888
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3867
3889
|
}
|
|
3868
|
-
}, e.__parse =
|
|
3890
|
+
}, e.__parse = fi, e.formats = {
|
|
3869
3891
|
number: {
|
|
3870
3892
|
integer: {
|
|
3871
3893
|
maximumFractionDigits: 0
|
|
@@ -3926,7 +3948,7 @@ var gi = (
|
|
|
3926
3948
|
}, e;
|
|
3927
3949
|
}()
|
|
3928
3950
|
);
|
|
3929
|
-
function
|
|
3951
|
+
function Ei(e, t) {
|
|
3930
3952
|
if (t == null)
|
|
3931
3953
|
return;
|
|
3932
3954
|
if (t in e)
|
|
@@ -3947,92 +3969,92 @@ function yi(e, t) {
|
|
|
3947
3969
|
n = void 0;
|
|
3948
3970
|
return n;
|
|
3949
3971
|
}
|
|
3950
|
-
const D = {},
|
|
3972
|
+
const D = {}, xi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), dr = (e, t) => {
|
|
3951
3973
|
if (t == null)
|
|
3952
3974
|
return;
|
|
3953
3975
|
if (t in D && e in D[t])
|
|
3954
3976
|
return D[t][e];
|
|
3955
3977
|
const r = Pe(t);
|
|
3956
3978
|
for (let n = 0; n < r.length; n++) {
|
|
3957
|
-
const i = r[n], s =
|
|
3979
|
+
const i = r[n], s = wi(i, e);
|
|
3958
3980
|
if (s)
|
|
3959
|
-
return
|
|
3981
|
+
return xi(e, t, s);
|
|
3960
3982
|
}
|
|
3961
3983
|
};
|
|
3962
|
-
let
|
|
3984
|
+
let st;
|
|
3963
3985
|
const me = Ae({});
|
|
3964
|
-
function
|
|
3965
|
-
return
|
|
3986
|
+
function Si(e) {
|
|
3987
|
+
return st[e] || null;
|
|
3966
3988
|
}
|
|
3967
|
-
function
|
|
3968
|
-
return e in
|
|
3989
|
+
function br(e) {
|
|
3990
|
+
return e in st;
|
|
3969
3991
|
}
|
|
3970
|
-
function
|
|
3971
|
-
if (!
|
|
3992
|
+
function wi(e, t) {
|
|
3993
|
+
if (!br(e))
|
|
3972
3994
|
return null;
|
|
3973
|
-
const r =
|
|
3974
|
-
return
|
|
3995
|
+
const r = Si(e);
|
|
3996
|
+
return Ei(r, t);
|
|
3975
3997
|
}
|
|
3976
|
-
function
|
|
3998
|
+
function Ti(e) {
|
|
3977
3999
|
if (e == null)
|
|
3978
4000
|
return;
|
|
3979
4001
|
const t = Pe(e);
|
|
3980
4002
|
for (let r = 0; r < t.length; r++) {
|
|
3981
4003
|
const n = t[r];
|
|
3982
|
-
if (
|
|
4004
|
+
if (br(n))
|
|
3983
4005
|
return n;
|
|
3984
4006
|
}
|
|
3985
4007
|
}
|
|
3986
|
-
function
|
|
3987
|
-
delete D[e], me.update((r) => (r[e] =
|
|
4008
|
+
function pr(e, ...t) {
|
|
4009
|
+
delete D[e], me.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
|
|
3988
4010
|
}
|
|
3989
4011
|
se(
|
|
3990
4012
|
[me],
|
|
3991
4013
|
([e]) => Object.keys(e)
|
|
3992
4014
|
);
|
|
3993
|
-
me.subscribe((e) =>
|
|
4015
|
+
me.subscribe((e) => st = e);
|
|
3994
4016
|
const xe = {};
|
|
3995
|
-
function
|
|
4017
|
+
function Hi(e, t) {
|
|
3996
4018
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
3997
4019
|
}
|
|
3998
|
-
function
|
|
4020
|
+
function gr(e) {
|
|
3999
4021
|
return xe[e];
|
|
4000
4022
|
}
|
|
4001
|
-
function
|
|
4023
|
+
function Ai(e) {
|
|
4002
4024
|
return Pe(e).map((t) => {
|
|
4003
|
-
const r =
|
|
4025
|
+
const r = gr(t);
|
|
4004
4026
|
return [t, r ? [...r] : []];
|
|
4005
4027
|
}).filter(([, t]) => t.length > 0);
|
|
4006
4028
|
}
|
|
4007
|
-
function
|
|
4029
|
+
function tt(e) {
|
|
4008
4030
|
return e == null ? !1 : Pe(e).some(
|
|
4009
4031
|
(t) => {
|
|
4010
4032
|
var r;
|
|
4011
|
-
return (r =
|
|
4033
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
|
4012
4034
|
}
|
|
4013
4035
|
);
|
|
4014
4036
|
}
|
|
4015
|
-
function
|
|
4037
|
+
function Bi(e, t) {
|
|
4016
4038
|
return Promise.all(
|
|
4017
|
-
t.map((n) => (
|
|
4018
|
-
).then((n) =>
|
|
4039
|
+
t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
|
|
4040
|
+
).then((n) => pr(e, ...n));
|
|
4019
4041
|
}
|
|
4020
4042
|
const ae = {};
|
|
4021
|
-
function
|
|
4022
|
-
if (!
|
|
4043
|
+
function yr(e) {
|
|
4044
|
+
if (!tt(e))
|
|
4023
4045
|
return e in ae ? ae[e] : Promise.resolve();
|
|
4024
|
-
const t =
|
|
4046
|
+
const t = Ai(e);
|
|
4025
4047
|
return ae[e] = Promise.all(
|
|
4026
4048
|
t.map(
|
|
4027
|
-
([r, n]) =>
|
|
4049
|
+
([r, n]) => Bi(r, n)
|
|
4028
4050
|
)
|
|
4029
4051
|
).then(() => {
|
|
4030
|
-
if (
|
|
4031
|
-
return
|
|
4052
|
+
if (tt(e))
|
|
4053
|
+
return yr(e);
|
|
4032
4054
|
delete ae[e];
|
|
4033
4055
|
}), ae[e];
|
|
4034
4056
|
}
|
|
4035
|
-
const
|
|
4057
|
+
const Pi = {
|
|
4036
4058
|
number: {
|
|
4037
4059
|
scientific: { notation: "scientific" },
|
|
4038
4060
|
engineering: { notation: "engineering" },
|
|
@@ -4061,57 +4083,57 @@ const Hi = {
|
|
|
4061
4083
|
timeZoneName: "short"
|
|
4062
4084
|
}
|
|
4063
4085
|
}
|
|
4064
|
-
},
|
|
4086
|
+
}, Ni = {
|
|
4065
4087
|
fallbackLocale: null,
|
|
4066
4088
|
loadingDelay: 200,
|
|
4067
|
-
formats:
|
|
4089
|
+
formats: Pi,
|
|
4068
4090
|
warnOnMissingMessages: !0,
|
|
4069
4091
|
handleMissingMessage: void 0,
|
|
4070
4092
|
ignoreTag: !0
|
|
4071
|
-
},
|
|
4093
|
+
}, Oi = Ni;
|
|
4072
4094
|
function te() {
|
|
4073
|
-
return
|
|
4095
|
+
return Oi;
|
|
4074
4096
|
}
|
|
4075
|
-
const
|
|
4076
|
-
var
|
|
4097
|
+
const Fe = Ae(!1);
|
|
4098
|
+
var Li = Object.defineProperty, Ii = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
|
|
4077
4099
|
for (var r in t || (t = {}))
|
|
4078
|
-
|
|
4079
|
-
if (
|
|
4080
|
-
for (var r of
|
|
4081
|
-
|
|
4100
|
+
Mi.call(t, r) && Nt(e, r, t[r]);
|
|
4101
|
+
if (Pt)
|
|
4102
|
+
for (var r of Pt(t))
|
|
4103
|
+
Ri.call(t, r) && Nt(e, r, t[r]);
|
|
4082
4104
|
return e;
|
|
4083
|
-
},
|
|
4084
|
-
let
|
|
4105
|
+
}, Ui = (e, t) => Ii(e, Ci(t));
|
|
4106
|
+
let rt;
|
|
4085
4107
|
const Se = Ae(null);
|
|
4086
|
-
function
|
|
4108
|
+
function Ot(e) {
|
|
4087
4109
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4088
4110
|
}
|
|
4089
4111
|
function Pe(e, t = te().fallbackLocale) {
|
|
4090
|
-
const r =
|
|
4091
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4112
|
+
const r = Ot(e);
|
|
4113
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
4092
4114
|
}
|
|
4093
4115
|
function V() {
|
|
4094
|
-
return
|
|
4116
|
+
return rt ?? void 0;
|
|
4095
4117
|
}
|
|
4096
4118
|
Se.subscribe((e) => {
|
|
4097
|
-
|
|
4119
|
+
rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4098
4120
|
});
|
|
4099
|
-
const
|
|
4100
|
-
if (e &&
|
|
4121
|
+
const Di = (e) => {
|
|
4122
|
+
if (e && Ti(e) && tt(e)) {
|
|
4101
4123
|
const { loadingDelay: t } = te();
|
|
4102
4124
|
let r;
|
|
4103
4125
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
|
4104
|
-
() =>
|
|
4126
|
+
() => Fe.set(!0),
|
|
4105
4127
|
t
|
|
4106
|
-
) :
|
|
4128
|
+
) : Fe.set(!0), yr(e).then(() => {
|
|
4107
4129
|
Se.set(e);
|
|
4108
4130
|
}).finally(() => {
|
|
4109
|
-
clearTimeout(r),
|
|
4131
|
+
clearTimeout(r), Fe.set(!1);
|
|
4110
4132
|
});
|
|
4111
4133
|
}
|
|
4112
4134
|
return Se.set(e);
|
|
4113
|
-
},
|
|
4114
|
-
set:
|
|
4135
|
+
}, de = Ui(Gi({}, Se), {
|
|
4136
|
+
set: Di
|
|
4115
4137
|
}), Ne = (e) => {
|
|
4116
4138
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4117
4139
|
return (n) => {
|
|
@@ -4119,20 +4141,20 @@ const Ri = (e) => {
|
|
|
4119
4141
|
return i in t ? t[i] : t[i] = e(n);
|
|
4120
4142
|
};
|
|
4121
4143
|
};
|
|
4122
|
-
var
|
|
4144
|
+
var Fi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
4123
4145
|
for (var r in t || (t = {}))
|
|
4124
|
-
|
|
4146
|
+
vr.call(t, r) && Lt(e, r, t[r]);
|
|
4125
4147
|
if (we)
|
|
4126
4148
|
for (var r of we(t))
|
|
4127
|
-
|
|
4149
|
+
_r.call(t, r) && Lt(e, r, t[r]);
|
|
4128
4150
|
return e;
|
|
4129
4151
|
}, oe = (e, t) => {
|
|
4130
4152
|
var r = {};
|
|
4131
4153
|
for (var n in e)
|
|
4132
|
-
|
|
4154
|
+
vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4133
4155
|
if (e != null && we)
|
|
4134
4156
|
for (var n of we(e))
|
|
4135
|
-
t.indexOf(n) < 0 &&
|
|
4157
|
+
t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
|
|
4136
4158
|
return r;
|
|
4137
4159
|
};
|
|
4138
4160
|
const ce = (e, t) => {
|
|
@@ -4140,21 +4162,21 @@ const ce = (e, t) => {
|
|
|
4140
4162
|
if (e in r && t in r[e])
|
|
4141
4163
|
return r[e][t];
|
|
4142
4164
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4143
|
-
},
|
|
4165
|
+
}, $i = Ne(
|
|
4144
4166
|
(e) => {
|
|
4145
4167
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4146
4168
|
if (r == null)
|
|
4147
4169
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4148
4170
|
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
|
4149
4171
|
}
|
|
4150
|
-
),
|
|
4172
|
+
), ji = Ne(
|
|
4151
4173
|
(e) => {
|
|
4152
4174
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4153
4175
|
if (r == null)
|
|
4154
4176
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4155
4177
|
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4156
4178
|
}
|
|
4157
|
-
),
|
|
4179
|
+
), ki = Ne(
|
|
4158
4180
|
(e) => {
|
|
4159
4181
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4160
4182
|
if (r == null)
|
|
@@ -4163,33 +4185,33 @@ const ce = (e, t) => {
|
|
|
4163
4185
|
);
|
|
4164
4186
|
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4165
4187
|
}
|
|
4166
|
-
),
|
|
4188
|
+
), Vi = (e = {}) => {
|
|
4167
4189
|
var t = e, {
|
|
4168
4190
|
locale: r = V()
|
|
4169
4191
|
} = t, n = oe(t, [
|
|
4170
4192
|
"locale"
|
|
4171
4193
|
]);
|
|
4172
|
-
return
|
|
4173
|
-
},
|
|
4194
|
+
return $i(ot({ locale: r }, n));
|
|
4195
|
+
}, Xi = (e = {}) => {
|
|
4174
4196
|
var t = e, {
|
|
4175
4197
|
locale: r = V()
|
|
4176
4198
|
} = t, n = oe(t, [
|
|
4177
4199
|
"locale"
|
|
4178
4200
|
]);
|
|
4179
|
-
return
|
|
4180
|
-
},
|
|
4201
|
+
return ji(ot({ locale: r }, n));
|
|
4202
|
+
}, Wi = (e = {}) => {
|
|
4181
4203
|
var t = e, {
|
|
4182
4204
|
locale: r = V()
|
|
4183
4205
|
} = t, n = oe(t, [
|
|
4184
4206
|
"locale"
|
|
4185
4207
|
]);
|
|
4186
|
-
return
|
|
4187
|
-
},
|
|
4208
|
+
return ki(ot({ locale: r }, n));
|
|
4209
|
+
}, zi = Ne(
|
|
4188
4210
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4189
|
-
(e, t = V()) => new
|
|
4211
|
+
(e, t = V()) => new _i(e, t, te().formats, {
|
|
4190
4212
|
ignoreTag: te().ignoreTag
|
|
4191
4213
|
})
|
|
4192
|
-
),
|
|
4214
|
+
), Zi = (e, t = {}) => {
|
|
4193
4215
|
var r, n, i, s;
|
|
4194
4216
|
let o = t;
|
|
4195
4217
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4202,7 +4224,7 @@ const ce = (e, t) => {
|
|
|
4202
4224
|
throw new Error(
|
|
4203
4225
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4204
4226
|
);
|
|
4205
|
-
let l =
|
|
4227
|
+
let l = dr(e, h);
|
|
4206
4228
|
if (!l)
|
|
4207
4229
|
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;
|
|
4208
4230
|
else if (typeof l != "string")
|
|
@@ -4213,7 +4235,7 @@ const ce = (e, t) => {
|
|
|
4213
4235
|
return l;
|
|
4214
4236
|
let f = l;
|
|
4215
4237
|
try {
|
|
4216
|
-
f =
|
|
4238
|
+
f = zi(l, h).format(a);
|
|
4217
4239
|
} catch (c) {
|
|
4218
4240
|
c instanceof Error && console.warn(
|
|
4219
4241
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4221,17 +4243,17 @@ const ce = (e, t) => {
|
|
|
4221
4243
|
);
|
|
4222
4244
|
}
|
|
4223
4245
|
return f;
|
|
4224
|
-
},
|
|
4225
|
-
se([
|
|
4226
|
-
se([
|
|
4227
|
-
se([
|
|
4228
|
-
se([
|
|
4229
|
-
window.emWidgets = { topic:
|
|
4230
|
-
const
|
|
4231
|
-
function
|
|
4232
|
-
|
|
4233
|
-
}
|
|
4234
|
-
const
|
|
4246
|
+
}, Qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Ji = (e, t = V()) => dr(e, t), Ki = se([de, me], () => Zi);
|
|
4247
|
+
se([de], () => Qi);
|
|
4248
|
+
se([de], () => Yi);
|
|
4249
|
+
se([de], () => qi);
|
|
4250
|
+
se([de, me], () => Ji);
|
|
4251
|
+
window.emWidgets = { topic: mn };
|
|
4252
|
+
const es = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4253
|
+
function It(e, t) {
|
|
4254
|
+
pr(e, t);
|
|
4255
|
+
}
|
|
4256
|
+
const Ct = {
|
|
4235
4257
|
en: {
|
|
4236
4258
|
lobbyName: "Lobby",
|
|
4237
4259
|
myGamesName: "My games"
|
|
@@ -4305,13 +4327,13 @@ const Ot = {
|
|
|
4305
4327
|
myGamesName: "My games"
|
|
4306
4328
|
}
|
|
4307
4329
|
};
|
|
4308
|
-
function
|
|
4330
|
+
function ts(e, t) {
|
|
4309
4331
|
if (e) {
|
|
4310
4332
|
const r = document.createElement("style");
|
|
4311
4333
|
r.innerHTML = t, e.appendChild(r);
|
|
4312
4334
|
}
|
|
4313
4335
|
}
|
|
4314
|
-
function
|
|
4336
|
+
function rs(e, t) {
|
|
4315
4337
|
const r = new URL(t);
|
|
4316
4338
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4317
4339
|
const i = document.createElement("style");
|
|
@@ -4320,7 +4342,7 @@ function Ki(e, t) {
|
|
|
4320
4342
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4321
4343
|
});
|
|
4322
4344
|
}
|
|
4323
|
-
function
|
|
4345
|
+
function ns(e, t, r) {
|
|
4324
4346
|
if (window.emMessageBus) {
|
|
4325
4347
|
const n = document.createElement("style");
|
|
4326
4348
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4340,14 +4362,14 @@ if (typeof window < "u") {
|
|
|
4340
4362
|
}
|
|
4341
4363
|
};
|
|
4342
4364
|
};
|
|
4343
|
-
customElements.define = e(customElements.define), import("./CasinoSliderNd-
|
|
4365
|
+
customElements.define = e(customElements.define), import("./CasinoSliderNd-DJUM0aU_.js").then(({ default: t }) => {
|
|
4344
4366
|
!customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
|
|
4345
4367
|
});
|
|
4346
4368
|
}
|
|
4347
|
-
function
|
|
4348
|
-
|
|
4369
|
+
function is(e) {
|
|
4370
|
+
Cr(e, "svelte-4b6cjp", ".svelte-4b6cjp{font-family:inherit}.CasinoCategoriesLoading.svelte-4b6cjp{height:52px}p.svelte-4b6cjp{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-4b6cjp{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}");
|
|
4349
4371
|
}
|
|
4350
|
-
function
|
|
4372
|
+
function ss(e) {
|
|
4351
4373
|
let t, r, n, i;
|
|
4352
4374
|
return {
|
|
4353
4375
|
c() {
|
|
@@ -4366,7 +4388,7 @@ function rs(e) {
|
|
|
4366
4388
|
"endpoint",
|
|
4367
4389
|
/*endpoint*/
|
|
4368
4390
|
e[1]
|
|
4369
|
-
), _(r, "identity",
|
|
4391
|
+
), _(r, "identity", Er), _(
|
|
4370
4392
|
r,
|
|
4371
4393
|
"favoritesnumber",
|
|
4372
4394
|
/*numberOfFavoredGames*/
|
|
@@ -4424,7 +4446,7 @@ function rs(e) {
|
|
|
4424
4446
|
), _(r, "class", "svelte-4b6cjp"), ie(t, "class", "CasinoCategoriesContainer svelte-4b6cjp");
|
|
4425
4447
|
},
|
|
4426
4448
|
m(s, o) {
|
|
4427
|
-
fe(s, t, o),
|
|
4449
|
+
fe(s, t, o), Ut(t, r), n || (i = Ir(
|
|
4428
4450
|
/*sendSliderData*/
|
|
4429
4451
|
e[17].call(null, r)
|
|
4430
4452
|
), n = !0);
|
|
@@ -4521,7 +4543,7 @@ function rs(e) {
|
|
|
4521
4543
|
}
|
|
4522
4544
|
};
|
|
4523
4545
|
}
|
|
4524
|
-
function
|
|
4546
|
+
function os(e) {
|
|
4525
4547
|
let t;
|
|
4526
4548
|
return {
|
|
4527
4549
|
c() {
|
|
@@ -4536,7 +4558,7 @@ function ns(e) {
|
|
|
4536
4558
|
}
|
|
4537
4559
|
};
|
|
4538
4560
|
}
|
|
4539
|
-
function
|
|
4561
|
+
function as(e) {
|
|
4540
4562
|
let t;
|
|
4541
4563
|
return {
|
|
4542
4564
|
c() {
|
|
@@ -4551,14 +4573,14 @@ function is(e) {
|
|
|
4551
4573
|
}
|
|
4552
4574
|
};
|
|
4553
4575
|
}
|
|
4554
|
-
function
|
|
4576
|
+
function us(e) {
|
|
4555
4577
|
let t;
|
|
4556
4578
|
function r(s, o) {
|
|
4557
4579
|
return (
|
|
4558
4580
|
/*isLoading*/
|
|
4559
|
-
s[13] ||
|
|
4581
|
+
s[13] || hs || ls ? as : (
|
|
4560
4582
|
/*hasErrors*/
|
|
4561
|
-
s[15] ?
|
|
4583
|
+
s[15] ? os : ss
|
|
4562
4584
|
)
|
|
4563
4585
|
);
|
|
4564
4586
|
}
|
|
@@ -4580,44 +4602,44 @@ function ss(e) {
|
|
|
4580
4602
|
}
|
|
4581
4603
|
};
|
|
4582
4604
|
}
|
|
4583
|
-
let
|
|
4584
|
-
function
|
|
4605
|
+
let Er = "CasinoSliderData", hs = !1, ls = !1;
|
|
4606
|
+
function cs(e, t, r) {
|
|
4585
4607
|
let n;
|
|
4586
|
-
|
|
4587
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: f = "" } = t, { mbsource: c } = t, { clientstyling:
|
|
4588
|
-
const
|
|
4608
|
+
Lr(e, Ki, (m) => r(33, n = m));
|
|
4609
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: f = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: C = "" } = t, { location: N = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: L = "" } = t, I, F, $ = !0, X, W = [], j = !1, xr = window.navigator.userAgent, R, at, ut = !1, Oe = !1;
|
|
4610
|
+
const Sr = () => {
|
|
4589
4611
|
fetch(H).then((B) => B.json()).then((B) => {
|
|
4590
|
-
Object.keys(B).forEach((
|
|
4591
|
-
|
|
4612
|
+
Object.keys(B).forEach((be) => {
|
|
4613
|
+
It(be, B[be]);
|
|
4592
4614
|
});
|
|
4593
4615
|
}).catch((B) => {
|
|
4594
4616
|
console.log(B);
|
|
4595
4617
|
});
|
|
4596
4618
|
};
|
|
4597
|
-
Object.keys(
|
|
4598
|
-
|
|
4619
|
+
Object.keys(Ct).forEach((m) => {
|
|
4620
|
+
It(m, Ct[m]);
|
|
4599
4621
|
});
|
|
4600
|
-
const
|
|
4601
|
-
|
|
4622
|
+
const wr = () => {
|
|
4623
|
+
ut == !1 && (f == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
|
4602
4624
|
// @ts-ignore
|
|
4603
4625
|
id: "MYGAMES",
|
|
4604
4626
|
name: I,
|
|
4605
4627
|
href: "",
|
|
4606
4628
|
games: []
|
|
4607
|
-
}),
|
|
4608
|
-
},
|
|
4609
|
-
if (I = n("myGamesName"), F = n("lobbyName"), !
|
|
4610
|
-
let m = new URL(`${i}/
|
|
4611
|
-
m.searchParams.append("
|
|
4629
|
+
}), $r(), ut = !0, r(26, Oe = !0), ht();
|
|
4630
|
+
}, Tr = () => (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), Hr = () => {
|
|
4631
|
+
if (I = n("myGamesName"), F = n("lobbyName"), !Tr()) {
|
|
4632
|
+
let m = new URL(`${i}/v2/casino/groups/${s}`);
|
|
4633
|
+
m.searchParams.append("language", o), m.searchParams.append("platform", es(xr)), m.searchParams.append("fields", "id,name,games(href)"), fetch(m).then((B) => B.json()).then(
|
|
4612
4634
|
(B) => {
|
|
4613
|
-
let
|
|
4635
|
+
let be = O.split(","), Pr = B.items.filter((lt) => {
|
|
4614
4636
|
let Le = !1;
|
|
4615
|
-
if (
|
|
4616
|
-
for (let
|
|
4617
|
-
|
|
4637
|
+
if (lt.games.total > 0 && (Le = !0, O))
|
|
4638
|
+
for (let Nr of be)
|
|
4639
|
+
lt.flags == Nr && (Le = !1);
|
|
4618
4640
|
return Le;
|
|
4619
4641
|
});
|
|
4620
|
-
W = [], W = W.concat(
|
|
4642
|
+
W = [], W = W.concat(Pr), W.unshift({
|
|
4621
4643
|
// @ts-ignore
|
|
4622
4644
|
id: "LOBBY",
|
|
4623
4645
|
name: F,
|
|
@@ -4632,44 +4654,44 @@ function us(e, t, r) {
|
|
|
4632
4654
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
|
4633
4655
|
});
|
|
4634
4656
|
}
|
|
4635
|
-
},
|
|
4636
|
-
let m =
|
|
4637
|
-
r(0,
|
|
4638
|
-
},
|
|
4657
|
+
}, Ar = () => {
|
|
4658
|
+
let m = b.split("$");
|
|
4659
|
+
r(0, b = m.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4660
|
+
}, ht = () => {
|
|
4639
4661
|
window.postMessage(
|
|
4640
4662
|
{
|
|
4641
4663
|
type: "SliderData",
|
|
4642
|
-
identity:
|
|
4664
|
+
identity: Er,
|
|
4643
4665
|
data: W
|
|
4644
4666
|
},
|
|
4645
4667
|
window.location.href
|
|
4646
4668
|
);
|
|
4647
4669
|
};
|
|
4648
|
-
|
|
4670
|
+
Fr(() => () => {
|
|
4649
4671
|
});
|
|
4650
|
-
function
|
|
4651
|
-
|
|
4672
|
+
function Br(m) {
|
|
4673
|
+
$e[m ? "unshift" : "push"](() => {
|
|
4652
4674
|
R = m, r(14, R);
|
|
4653
4675
|
});
|
|
4654
4676
|
}
|
|
4655
4677
|
return e.$$set = (m) => {
|
|
4656
|
-
"endpoint" in m && r(1, i = m.endpoint), "datasource" in m && r(2, s = m.datasource), "lang" in m && r(3, o = m.lang), "userid" in m && r(18, a = m.userid), "session" in m && r(19, h = m.session), "mostplayed" in m && r(20, u = m.mostplayed), "lastplayed" in m && r(21, l = m.lastplayed), "favorites" in m && r(22, f = m.favorites), "mbsource" in m && r(4, c = m.mbsource), "clientstyling" in m && r(5,
|
|
4678
|
+
"endpoint" in m && r(1, i = m.endpoint), "datasource" in m && r(2, s = m.datasource), "lang" in m && r(3, o = m.lang), "userid" in m && r(18, a = m.userid), "session" in m && r(19, h = m.session), "mostplayed" in m && r(20, u = m.mostplayed), "lastplayed" in m && r(21, l = m.lastplayed), "favorites" in m && r(22, f = m.favorites), "mbsource" in m && r(4, c = m.mbsource), "clientstyling" in m && r(5, d = m.clientstyling), "clientstylingurl" in m && r(6, p = m.clientstylingurl), "activecategory" in m && r(0, b = m.activecategory), "actionevent" in m && r(7, w = m.actionevent), "sessioncheck" in m && r(23, C = m.sessioncheck), "location" in m && r(8, N = m.location), "showsubgroups" in m && r(9, T = m.showsubgroups), "filteredcategories" in m && r(24, O = m.filteredcategories), "translationurl" in m && r(25, H = m.translationurl), "categoriesicon" in m && r(10, M = m.categoriesicon), "lobbyiconimage" in m && r(11, E = m.lobbyiconimage), "mygamesiconimage" in m && r(12, L = m.mygamesiconimage);
|
|
4657
4679
|
}, e.$$.update = () => {
|
|
4658
4680
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4659
|
-
14 && i && s && o &&
|
|
4660
|
-
7872514 && i && h && (u || l || f) && !$ &&
|
|
4661
|
-
67641345 && !$ &&
|
|
4662
|
-
33554432 && H &&
|
|
4663
|
-
16416 &&
|
|
4664
|
-
16448 && p && R &&
|
|
4665
|
-
16400 && c && R &&
|
|
4666
|
-
}, r(16,
|
|
4667
|
-
|
|
4681
|
+
14 && i && s && o && Hr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4682
|
+
7872514 && i && h && (u || l || f) && !$ && wr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4683
|
+
67641345 && !$ && b && (!h || Oe) && Ar(), e.$$.dirty[0] & /*translationurl*/
|
|
4684
|
+
33554432 && H && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4685
|
+
16416 && d && R && ts(R, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4686
|
+
16448 && p && R && rs(R, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4687
|
+
16400 && c && R && ns(R, `${c}.Style`);
|
|
4688
|
+
}, r(16, at = 0), [
|
|
4689
|
+
b,
|
|
4668
4690
|
i,
|
|
4669
4691
|
s,
|
|
4670
4692
|
o,
|
|
4671
4693
|
c,
|
|
4672
|
-
|
|
4694
|
+
d,
|
|
4673
4695
|
p,
|
|
4674
4696
|
w,
|
|
4675
4697
|
N,
|
|
@@ -4680,8 +4702,8 @@ function us(e, t, r) {
|
|
|
4680
4702
|
$,
|
|
4681
4703
|
R,
|
|
4682
4704
|
j,
|
|
4683
|
-
|
|
4684
|
-
|
|
4705
|
+
at,
|
|
4706
|
+
ht,
|
|
4685
4707
|
a,
|
|
4686
4708
|
h,
|
|
4687
4709
|
u,
|
|
@@ -4691,17 +4713,17 @@ function us(e, t, r) {
|
|
|
4691
4713
|
O,
|
|
4692
4714
|
H,
|
|
4693
4715
|
Oe,
|
|
4694
|
-
|
|
4716
|
+
Br
|
|
4695
4717
|
];
|
|
4696
4718
|
}
|
|
4697
|
-
class
|
|
4719
|
+
class fs extends Yr {
|
|
4698
4720
|
constructor(t) {
|
|
4699
|
-
super(),
|
|
4721
|
+
super(), Zr(
|
|
4700
4722
|
this,
|
|
4701
4723
|
t,
|
|
4724
|
+
cs,
|
|
4702
4725
|
us,
|
|
4703
|
-
|
|
4704
|
-
It,
|
|
4726
|
+
Rt,
|
|
4705
4727
|
{
|
|
4706
4728
|
endpoint: 1,
|
|
4707
4729
|
datasource: 2,
|
|
@@ -4725,7 +4747,7 @@ class hs extends Wr {
|
|
|
4725
4747
|
lobbyiconimage: 11,
|
|
4726
4748
|
mygamesiconimage: 12
|
|
4727
4749
|
},
|
|
4728
|
-
|
|
4750
|
+
is,
|
|
4729
4751
|
[-1, -1]
|
|
4730
4752
|
);
|
|
4731
4753
|
}
|
|
@@ -4856,41 +4878,41 @@ class hs extends Wr {
|
|
|
4856
4878
|
this.$$set({ mygamesiconimage: t }), S();
|
|
4857
4879
|
}
|
|
4858
4880
|
}
|
|
4859
|
-
|
|
4881
|
+
Qr(fs, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
4860
4882
|
export {
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4883
|
+
de as $,
|
|
4884
|
+
ds as A,
|
|
4885
|
+
Dt as B,
|
|
4886
|
+
vs as C,
|
|
4887
|
+
bs as D,
|
|
4888
|
+
_ as E,
|
|
4889
|
+
ms as F,
|
|
4890
|
+
fs as G,
|
|
4891
|
+
Yr as S,
|
|
4870
4892
|
me as a,
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4893
|
+
pr as b,
|
|
4894
|
+
Qr as c,
|
|
4895
|
+
Cr as d,
|
|
4896
|
+
k as e,
|
|
4875
4897
|
S as f,
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
k,
|
|
4881
|
-
|
|
4882
|
-
|
|
4898
|
+
ps as g,
|
|
4899
|
+
ie as h,
|
|
4900
|
+
Zr as i,
|
|
4901
|
+
fe as j,
|
|
4902
|
+
Ut as k,
|
|
4903
|
+
ys as l,
|
|
4904
|
+
ne as m,
|
|
4883
4905
|
P as n,
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4906
|
+
es as o,
|
|
4907
|
+
Fr as p,
|
|
4908
|
+
rs as q,
|
|
4887
4909
|
re as r,
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4910
|
+
Rt as s,
|
|
4911
|
+
ns as t,
|
|
4912
|
+
_s as u,
|
|
4913
|
+
gs as v,
|
|
4914
|
+
xs as w,
|
|
4915
|
+
$e as x,
|
|
4916
|
+
ts as y,
|
|
4917
|
+
Es as z
|
|
4896
4918
|
};
|