@everymatrix/casino-categories-slider-nd 1.54.0 → 1.54.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSliderNd-WG_Hv0sv.js → CasinoCategoriesSliderNd-BftQ5rqy.js} +857 -898
- package/components/{CasinoSliderNd-BtOMILgY.js → CasinoSliderNd-D7nDv3jr.js} +367 -386
- package/esnext/casino-categories-slider-nd.js +14 -0
- package/package.json +10 -11
- package/components/CasinoCategoriesSliderNd-CbUluOV1.cjs +0 -5
- package/components/CasinoSliderNd-BePu4hyt.cjs +0 -1
- package/es2015/casino-categories-slider-nd.cjs +0 -1
- package/es2015/casino-categories-slider-nd.js +0 -16
package/components/{CasinoCategoriesSliderNd-WG_Hv0sv.js → CasinoCategoriesSliderNd-BftQ5rqy.js}
RENAMED
|
@@ -1,57 +1,28 @@
|
|
|
1
|
-
var Rr = Object.defineProperty, Gr = Object.defineProperties;
|
|
2
|
-
var Ur = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var lt = Object.getOwnPropertySymbols;
|
|
4
|
-
var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ce = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
Dr.call(t, r) && Ce(e, r, t[r]);
|
|
8
|
-
if (lt)
|
|
9
|
-
for (var r of lt(t))
|
|
10
|
-
Fr.call(t, r) && Ce(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, ft = (e, t) => Gr(e, Ur(t));
|
|
13
|
-
var R = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var mt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var s = (h) => {
|
|
16
|
-
try {
|
|
17
|
-
a(r.next(h));
|
|
18
|
-
} catch (u) {
|
|
19
|
-
i(u);
|
|
20
|
-
}
|
|
21
|
-
}, o = (h) => {
|
|
22
|
-
try {
|
|
23
|
-
a(r.throw(h));
|
|
24
|
-
} catch (u) {
|
|
25
|
-
i(u);
|
|
26
|
-
}
|
|
27
|
-
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
|
-
a((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
1
|
function B() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function Lt(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function ut() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function ne(e) {
|
|
10
|
+
e.forEach(Lt);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function Te(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function It(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
18
|
+
let be;
|
|
19
|
+
function us(e, t) {
|
|
20
|
+
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function Pr(e) {
|
|
52
23
|
return Object.keys(e).length === 0;
|
|
53
24
|
}
|
|
54
|
-
function
|
|
25
|
+
function Ct(e, ...t) {
|
|
55
26
|
if (e == null) {
|
|
56
27
|
for (const n of t)
|
|
57
28
|
n(void 0);
|
|
@@ -60,23 +31,23 @@ function Ft(e, ...t) {
|
|
|
60
31
|
const r = e.subscribe(...t);
|
|
61
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
33
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Nr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Ct(t, r));
|
|
65
36
|
}
|
|
66
|
-
function
|
|
67
|
-
return e &&
|
|
37
|
+
function Or(e) {
|
|
38
|
+
return e && Te(e.destroy) ? e.destroy : B;
|
|
68
39
|
}
|
|
69
|
-
function
|
|
40
|
+
function Mt(e, t) {
|
|
70
41
|
e.appendChild(t);
|
|
71
42
|
}
|
|
72
|
-
function
|
|
73
|
-
const n =
|
|
43
|
+
function Lr(e, t, r) {
|
|
44
|
+
const n = Ir(e);
|
|
74
45
|
if (!n.getElementById(t)) {
|
|
75
|
-
const i =
|
|
76
|
-
i.id = t, i.textContent = r,
|
|
46
|
+
const i = k("style");
|
|
47
|
+
i.id = t, i.textContent = r, Cr(n, i);
|
|
77
48
|
}
|
|
78
49
|
}
|
|
79
|
-
function
|
|
50
|
+
function Ir(e) {
|
|
80
51
|
if (!e) return document;
|
|
81
52
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
82
53
|
return t && /** @type {ShadowRoot} */
|
|
@@ -85,56 +56,56 @@ function Xr(e) {
|
|
|
85
56
|
t
|
|
86
57
|
) : e.ownerDocument;
|
|
87
58
|
}
|
|
88
|
-
function
|
|
89
|
-
return
|
|
59
|
+
function Cr(e, t) {
|
|
60
|
+
return Mt(
|
|
90
61
|
/** @type {Document} */
|
|
91
62
|
e.head || e,
|
|
92
63
|
t
|
|
93
64
|
), t.sheet;
|
|
94
65
|
}
|
|
95
|
-
function
|
|
66
|
+
function fe(e, t, r) {
|
|
96
67
|
e.insertBefore(t, r || null);
|
|
97
68
|
}
|
|
98
|
-
function
|
|
69
|
+
function ie(e) {
|
|
99
70
|
e.parentNode && e.parentNode.removeChild(e);
|
|
100
71
|
}
|
|
101
|
-
function
|
|
72
|
+
function hs(e, t) {
|
|
102
73
|
for (let r = 0; r < e.length; r += 1)
|
|
103
74
|
e[r] && e[r].d(t);
|
|
104
75
|
}
|
|
105
|
-
function
|
|
76
|
+
function k(e) {
|
|
106
77
|
return document.createElement(e);
|
|
107
78
|
}
|
|
108
|
-
function
|
|
79
|
+
function ls(e) {
|
|
109
80
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
110
81
|
}
|
|
111
|
-
function
|
|
82
|
+
function Rt(e) {
|
|
112
83
|
return document.createTextNode(e);
|
|
113
84
|
}
|
|
114
|
-
function
|
|
115
|
-
return
|
|
85
|
+
function cs() {
|
|
86
|
+
return Rt(" ");
|
|
116
87
|
}
|
|
117
|
-
function
|
|
118
|
-
return
|
|
88
|
+
function fs() {
|
|
89
|
+
return Rt("");
|
|
119
90
|
}
|
|
120
|
-
function
|
|
91
|
+
function ms(e, t, r, n) {
|
|
121
92
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
122
93
|
}
|
|
123
|
-
function
|
|
94
|
+
function J(e, t, r) {
|
|
124
95
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
125
96
|
}
|
|
126
97
|
function _(e, t, r) {
|
|
127
98
|
const n = t.toLowerCase();
|
|
128
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
99
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : J(e, t, r);
|
|
129
100
|
}
|
|
130
|
-
function
|
|
101
|
+
function Mr(e) {
|
|
131
102
|
return Array.from(e.childNodes);
|
|
132
103
|
}
|
|
133
|
-
function
|
|
104
|
+
function ds(e, t) {
|
|
134
105
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
135
106
|
t);
|
|
136
107
|
}
|
|
137
|
-
function
|
|
108
|
+
function Rr(e) {
|
|
138
109
|
const t = {};
|
|
139
110
|
return e.childNodes.forEach(
|
|
140
111
|
/** @param {Element} node */
|
|
@@ -143,119 +114,119 @@ function Zr(e) {
|
|
|
143
114
|
}
|
|
144
115
|
), t;
|
|
145
116
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
117
|
+
let he;
|
|
118
|
+
function ue(e) {
|
|
119
|
+
he = e;
|
|
149
120
|
}
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
152
|
-
return
|
|
121
|
+
function Gr() {
|
|
122
|
+
if (!he) throw new Error("Function called outside component initialization");
|
|
123
|
+
return he;
|
|
153
124
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
125
|
+
function bs(e) {
|
|
126
|
+
Gr().$$.on_mount.push(e);
|
|
156
127
|
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
128
|
+
const Q = [], De = [];
|
|
129
|
+
let Y = [];
|
|
130
|
+
const ht = [], Gt = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let Fe = !1;
|
|
132
|
+
function Ut() {
|
|
133
|
+
Fe || (Fe = !0, Gt.then(S));
|
|
163
134
|
}
|
|
164
|
-
function
|
|
165
|
-
return
|
|
135
|
+
function Ur() {
|
|
136
|
+
return Ut(), Gt;
|
|
166
137
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
138
|
+
function $e(e) {
|
|
139
|
+
Y.push(e);
|
|
169
140
|
}
|
|
170
|
-
const
|
|
171
|
-
let
|
|
141
|
+
const Le = /* @__PURE__ */ new Set();
|
|
142
|
+
let z = 0;
|
|
172
143
|
function S() {
|
|
173
|
-
if (
|
|
144
|
+
if (z !== 0)
|
|
174
145
|
return;
|
|
175
|
-
const e =
|
|
146
|
+
const e = he;
|
|
176
147
|
do {
|
|
177
148
|
try {
|
|
178
|
-
for (;
|
|
179
|
-
const t =
|
|
180
|
-
|
|
149
|
+
for (; z < Q.length; ) {
|
|
150
|
+
const t = Q[z];
|
|
151
|
+
z++, ue(t), Dr(t.$$);
|
|
181
152
|
}
|
|
182
153
|
} catch (t) {
|
|
183
|
-
throw
|
|
154
|
+
throw Q.length = 0, z = 0, t;
|
|
184
155
|
}
|
|
185
|
-
for (
|
|
186
|
-
for (let t = 0; t <
|
|
187
|
-
const r =
|
|
188
|
-
|
|
156
|
+
for (ue(null), Q.length = 0, z = 0; De.length; ) De.pop()();
|
|
157
|
+
for (let t = 0; t < Y.length; t += 1) {
|
|
158
|
+
const r = Y[t];
|
|
159
|
+
Le.has(r) || (Le.add(r), r());
|
|
189
160
|
}
|
|
190
|
-
|
|
191
|
-
} while (
|
|
192
|
-
for (;
|
|
193
|
-
|
|
194
|
-
|
|
161
|
+
Y.length = 0;
|
|
162
|
+
} while (Q.length);
|
|
163
|
+
for (; ht.length; )
|
|
164
|
+
ht.pop()();
|
|
165
|
+
Fe = !1, Le.clear(), ue(e);
|
|
195
166
|
}
|
|
196
|
-
function
|
|
167
|
+
function Dr(e) {
|
|
197
168
|
if (e.fragment !== null) {
|
|
198
|
-
e.update(),
|
|
169
|
+
e.update(), ne(e.before_update);
|
|
199
170
|
const t = e.dirty;
|
|
200
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
171
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
201
172
|
}
|
|
202
173
|
}
|
|
203
|
-
function
|
|
174
|
+
function Fr(e) {
|
|
204
175
|
const t = [], r = [];
|
|
205
|
-
|
|
176
|
+
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
206
177
|
}
|
|
207
|
-
const
|
|
208
|
-
function
|
|
209
|
-
e && e.i && (
|
|
178
|
+
const $r = /* @__PURE__ */ new Set();
|
|
179
|
+
function Dt(e, t) {
|
|
180
|
+
e && e.i && ($r.delete(e), e.i(t));
|
|
210
181
|
}
|
|
211
|
-
function
|
|
212
|
-
return
|
|
182
|
+
function ps(e) {
|
|
183
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
|
213
184
|
}
|
|
214
|
-
function
|
|
185
|
+
function gs(e, t) {
|
|
215
186
|
e.d(1), t.delete(e.key);
|
|
216
187
|
}
|
|
217
|
-
function
|
|
188
|
+
function ys(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
218
189
|
let c = e.length, d = s.length, b = c;
|
|
219
190
|
const y = {};
|
|
220
191
|
for (; b--; ) y[e[b].key] = b;
|
|
221
|
-
const w = [],
|
|
192
|
+
const w = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
|
|
222
193
|
for (b = d; b--; ) {
|
|
223
194
|
const E = m(i, s, b), L = r(E);
|
|
224
|
-
let
|
|
225
|
-
|
|
195
|
+
let I = o.get(L);
|
|
196
|
+
I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[b] = I), L in y && P.set(L, Math.abs(b - y[L]));
|
|
226
197
|
}
|
|
227
198
|
const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
|
228
|
-
function
|
|
229
|
-
|
|
199
|
+
function R(E) {
|
|
200
|
+
Dt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
|
|
230
201
|
}
|
|
231
202
|
for (; c && d; ) {
|
|
232
|
-
const E = w[d - 1], L = e[c - 1],
|
|
233
|
-
E === L ? (l = E.first, c--, d--) :
|
|
203
|
+
const E = w[d - 1], L = e[c - 1], I = E.key, M = L.key;
|
|
204
|
+
E === L ? (l = E.first, c--, d--) : C.has(M) ? !o.has(I) || N.has(I) ? R(E) : O.has(M) ? c-- : P.get(I) > P.get(M) ? (O.add(I), R(E)) : (N.add(M), c--) : (h(L, o), c--);
|
|
234
205
|
}
|
|
235
206
|
for (; c--; ) {
|
|
236
207
|
const E = e[c];
|
|
237
|
-
|
|
208
|
+
C.has(E.key) || h(E, o);
|
|
238
209
|
}
|
|
239
|
-
for (; d; )
|
|
240
|
-
return
|
|
210
|
+
for (; d; ) R(w[d - 1]);
|
|
211
|
+
return ne(T), w;
|
|
241
212
|
}
|
|
242
|
-
function
|
|
213
|
+
function jr(e, t, r) {
|
|
243
214
|
const { fragment: n, after_update: i } = e.$$;
|
|
244
|
-
n && n.m(t, r),
|
|
245
|
-
const s = e.$$.on_mount.map(
|
|
246
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
247
|
-
}), i.forEach(
|
|
215
|
+
n && n.m(t, r), $e(() => {
|
|
216
|
+
const s = e.$$.on_mount.map(Lt).filter(Te);
|
|
217
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
|
218
|
+
}), i.forEach($e);
|
|
248
219
|
}
|
|
249
|
-
function
|
|
220
|
+
function kr(e, t) {
|
|
250
221
|
const r = e.$$;
|
|
251
|
-
r.fragment !== null && (
|
|
222
|
+
r.fragment !== null && (Fr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
252
223
|
}
|
|
253
|
-
function
|
|
254
|
-
e.$$.dirty[0] === -1 && (
|
|
224
|
+
function Vr(e, t) {
|
|
225
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
255
226
|
}
|
|
256
|
-
function
|
|
257
|
-
const h =
|
|
258
|
-
|
|
227
|
+
function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
228
|
+
const h = he;
|
|
229
|
+
ue(e);
|
|
259
230
|
const u = e.$$ = {
|
|
260
231
|
fragment: null,
|
|
261
232
|
ctx: [],
|
|
@@ -263,7 +234,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
263
234
|
props: s,
|
|
264
235
|
update: B,
|
|
265
236
|
not_equal: i,
|
|
266
|
-
bound:
|
|
237
|
+
bound: ut(),
|
|
267
238
|
// lifecycle
|
|
268
239
|
on_mount: [],
|
|
269
240
|
on_destroy: [],
|
|
@@ -272,7 +243,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
272
243
|
after_update: [],
|
|
273
244
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
274
245
|
// everything else
|
|
275
|
-
callbacks:
|
|
246
|
+
callbacks: ut(),
|
|
276
247
|
dirty: a,
|
|
277
248
|
skip_bound: !1,
|
|
278
249
|
root: t.target || h.$$.root
|
|
@@ -281,141 +252,137 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
281
252
|
let l = !1;
|
|
282
253
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
|
283
254
|
const b = d.length ? d[0] : c;
|
|
284
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
|
285
|
-
}) : [], u.update(), l = !0,
|
|
255
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
|
|
256
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
286
257
|
if (t.hydrate) {
|
|
287
|
-
const m =
|
|
288
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
258
|
+
const m = Mr(t.target);
|
|
259
|
+
u.fragment && u.fragment.l(m), m.forEach(ie);
|
|
289
260
|
} else
|
|
290
261
|
u.fragment && u.fragment.c();
|
|
291
|
-
t.intro &&
|
|
262
|
+
t.intro && Dt(e.$$.fragment), jr(e, t.target, t.anchor), S();
|
|
292
263
|
}
|
|
293
|
-
|
|
294
|
-
}
|
|
295
|
-
let
|
|
296
|
-
typeof HTMLElement == "function" && (
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
264
|
+
ue(h);
|
|
265
|
+
}
|
|
266
|
+
let Ft;
|
|
267
|
+
typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
268
|
+
/** The Svelte component constructor */
|
|
269
|
+
$$ctor;
|
|
270
|
+
/** Slots */
|
|
271
|
+
$$s;
|
|
272
|
+
/** The Svelte component instance */
|
|
273
|
+
$$c;
|
|
274
|
+
/** Whether or not the custom element is connected */
|
|
275
|
+
$$cn = !1;
|
|
276
|
+
/** Component props data */
|
|
277
|
+
$$d = {};
|
|
278
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
279
|
+
$$r = !1;
|
|
280
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
281
|
+
$$p_d = {};
|
|
282
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
283
|
+
$$l = {};
|
|
284
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
285
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
286
|
+
constructor(e, t, r) {
|
|
287
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
318
288
|
}
|
|
319
|
-
addEventListener(t, r
|
|
320
|
-
if (this.$$l[
|
|
321
|
-
const
|
|
322
|
-
this.$$l_u.set(
|
|
289
|
+
addEventListener(e, t, r) {
|
|
290
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
291
|
+
const n = this.$$c.$on(e, t);
|
|
292
|
+
this.$$l_u.set(t, n);
|
|
323
293
|
}
|
|
324
|
-
super.addEventListener(t, r
|
|
294
|
+
super.addEventListener(e, t, r);
|
|
325
295
|
}
|
|
326
|
-
removeEventListener(t, r
|
|
327
|
-
if (super.removeEventListener(t, r
|
|
328
|
-
const
|
|
329
|
-
|
|
296
|
+
removeEventListener(e, t, r) {
|
|
297
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
298
|
+
const n = this.$$l_u.get(t);
|
|
299
|
+
n && (n(), this.$$l_u.delete(t));
|
|
330
300
|
}
|
|
331
301
|
}
|
|
332
|
-
connectedCallback() {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
};
|
|
302
|
+
async connectedCallback() {
|
|
303
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
304
|
+
let e = function(i) {
|
|
305
|
+
return () => {
|
|
306
|
+
let s;
|
|
307
|
+
return {
|
|
308
|
+
c: function() {
|
|
309
|
+
s = k("slot"), i !== "default" && J(s, "name", i);
|
|
310
|
+
},
|
|
311
|
+
/**
|
|
312
|
+
* @param {HTMLElement} target
|
|
313
|
+
* @param {HTMLElement} [anchor]
|
|
314
|
+
*/
|
|
315
|
+
m: function(h, u) {
|
|
316
|
+
fe(h, s, u);
|
|
317
|
+
},
|
|
318
|
+
d: function(h) {
|
|
319
|
+
h && ie(s);
|
|
320
|
+
}
|
|
353
321
|
};
|
|
354
322
|
};
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
323
|
+
};
|
|
324
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
325
|
+
return;
|
|
326
|
+
const t = {}, r = Rr(this);
|
|
327
|
+
for (const i of this.$$s)
|
|
328
|
+
i in r && (t[i] = [e(i)]);
|
|
329
|
+
for (const i of this.attributes) {
|
|
330
|
+
const s = this.$$g_p(i.name);
|
|
331
|
+
s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
|
|
332
|
+
}
|
|
333
|
+
for (const i in this.$$p_d)
|
|
334
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
335
|
+
this.$$c = new this.$$ctor({
|
|
336
|
+
target: this.shadowRoot || this,
|
|
337
|
+
props: {
|
|
338
|
+
...this.$$d,
|
|
339
|
+
$$slots: t,
|
|
340
|
+
$$scope: {
|
|
341
|
+
ctx: []
|
|
342
|
+
}
|
|
363
343
|
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
this.$$
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
this.$$r = !0;
|
|
377
|
-
for (const s in this.$$p_d)
|
|
378
|
-
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
379
|
-
const o = ve(
|
|
380
|
-
s,
|
|
381
|
-
this.$$d[s],
|
|
382
|
-
this.$$p_d,
|
|
383
|
-
"toAttribute"
|
|
384
|
-
);
|
|
385
|
-
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
386
|
-
}
|
|
387
|
-
this.$$r = !1;
|
|
388
|
-
};
|
|
389
|
-
this.$$c.$$.after_update.push(i), i();
|
|
390
|
-
for (const s in this.$$l)
|
|
391
|
-
for (const o of this.$$l[s]) {
|
|
392
|
-
const a = this.$$c.$on(s, o);
|
|
393
|
-
this.$$l_u.set(o, a);
|
|
344
|
+
});
|
|
345
|
+
const n = () => {
|
|
346
|
+
this.$$r = !0;
|
|
347
|
+
for (const i in this.$$p_d)
|
|
348
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
349
|
+
const s = ye(
|
|
350
|
+
i,
|
|
351
|
+
this.$$d[i],
|
|
352
|
+
this.$$p_d,
|
|
353
|
+
"toAttribute"
|
|
354
|
+
);
|
|
355
|
+
s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
|
|
394
356
|
}
|
|
395
|
-
this.$$
|
|
396
|
-
}
|
|
397
|
-
|
|
357
|
+
this.$$r = !1;
|
|
358
|
+
};
|
|
359
|
+
this.$$c.$$.after_update.push(n), n();
|
|
360
|
+
for (const i in this.$$l)
|
|
361
|
+
for (const s of this.$$l[i]) {
|
|
362
|
+
const o = this.$$c.$on(i, s);
|
|
363
|
+
this.$$l_u.set(s, o);
|
|
364
|
+
}
|
|
365
|
+
this.$$l = {};
|
|
366
|
+
}
|
|
398
367
|
}
|
|
399
368
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
400
369
|
// and setting attributes through setAttribute etc, this is helpful
|
|
401
|
-
attributeChangedCallback(t, r
|
|
402
|
-
|
|
403
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
370
|
+
attributeChangedCallback(e, t, r) {
|
|
371
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
404
372
|
}
|
|
405
373
|
disconnectedCallback() {
|
|
406
374
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
407
375
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
408
376
|
});
|
|
409
377
|
}
|
|
410
|
-
$$g_p(
|
|
378
|
+
$$g_p(e) {
|
|
411
379
|
return Object.keys(this.$$p_d).find(
|
|
412
|
-
(
|
|
413
|
-
) ||
|
|
380
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
381
|
+
) || e;
|
|
414
382
|
}
|
|
415
383
|
});
|
|
416
|
-
function
|
|
417
|
-
|
|
418
|
-
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
384
|
+
function ye(e, t, r, n) {
|
|
385
|
+
const i = r[e]?.type;
|
|
419
386
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
420
387
|
return t;
|
|
421
388
|
if (n === "toAttribute")
|
|
@@ -426,7 +393,7 @@ function ve(e, t, r, n) {
|
|
|
426
393
|
case "Boolean":
|
|
427
394
|
return t ? "" : null;
|
|
428
395
|
case "Number":
|
|
429
|
-
return t
|
|
396
|
+
return t ?? null;
|
|
430
397
|
default:
|
|
431
398
|
return t;
|
|
432
399
|
}
|
|
@@ -443,8 +410,8 @@ function ve(e, t, r, n) {
|
|
|
443
410
|
return t;
|
|
444
411
|
}
|
|
445
412
|
}
|
|
446
|
-
function
|
|
447
|
-
let o = class extends
|
|
413
|
+
function Wr(e, t, r, n, i, s) {
|
|
414
|
+
let o = class extends Ft {
|
|
448
415
|
constructor() {
|
|
449
416
|
super(e, r, i), this.$$p_d = t;
|
|
450
417
|
}
|
|
@@ -460,42 +427,38 @@ function sn(e, t, r, n, i, s) {
|
|
|
460
427
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
461
428
|
},
|
|
462
429
|
set(h) {
|
|
463
|
-
|
|
464
|
-
h = ve(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
430
|
+
h = ye(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
465
431
|
}
|
|
466
432
|
});
|
|
467
433
|
}), n.forEach((a) => {
|
|
468
434
|
Object.defineProperty(o.prototype, a, {
|
|
469
435
|
get() {
|
|
470
|
-
|
|
471
|
-
return (h = this.$$c) == null ? void 0 : h[a];
|
|
436
|
+
return this.$$c?.[a];
|
|
472
437
|
}
|
|
473
438
|
});
|
|
474
439
|
}), e.element = /** @type {any} */
|
|
475
440
|
o, o;
|
|
476
441
|
}
|
|
477
|
-
class
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
R(this, "$$set");
|
|
495
|
-
}
|
|
442
|
+
class zr {
|
|
443
|
+
/**
|
|
444
|
+
* ### PRIVATE API
|
|
445
|
+
*
|
|
446
|
+
* Do not use, may change at any time
|
|
447
|
+
*
|
|
448
|
+
* @type {any}
|
|
449
|
+
*/
|
|
450
|
+
$$ = void 0;
|
|
451
|
+
/**
|
|
452
|
+
* ### PRIVATE API
|
|
453
|
+
*
|
|
454
|
+
* Do not use, may change at any time
|
|
455
|
+
*
|
|
456
|
+
* @type {any}
|
|
457
|
+
*/
|
|
458
|
+
$$set = void 0;
|
|
496
459
|
/** @returns {void} */
|
|
497
460
|
$destroy() {
|
|
498
|
-
|
|
461
|
+
kr(this, 1), this.$destroy = B;
|
|
499
462
|
}
|
|
500
463
|
/**
|
|
501
464
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -504,7 +467,7 @@ class on {
|
|
|
504
467
|
* @returns {() => void}
|
|
505
468
|
*/
|
|
506
469
|
$on(t, r) {
|
|
507
|
-
if (!
|
|
470
|
+
if (!Te(r))
|
|
508
471
|
return B;
|
|
509
472
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
510
473
|
return n.push(r), () => {
|
|
@@ -517,22 +480,22 @@ class on {
|
|
|
517
480
|
* @returns {void}
|
|
518
481
|
*/
|
|
519
482
|
$set(t) {
|
|
520
|
-
this.$$set &&
|
|
483
|
+
this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
521
484
|
}
|
|
522
485
|
}
|
|
523
|
-
const
|
|
524
|
-
typeof window
|
|
525
|
-
var
|
|
526
|
-
return
|
|
486
|
+
const Zr = "4";
|
|
487
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
|
|
488
|
+
var je = function(e, t) {
|
|
489
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
527
490
|
r.__proto__ = n;
|
|
528
491
|
} || function(r, n) {
|
|
529
492
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
530
|
-
},
|
|
493
|
+
}, je(e, t);
|
|
531
494
|
};
|
|
532
|
-
function
|
|
495
|
+
function U(e, t) {
|
|
533
496
|
if (typeof t != "function" && t !== null)
|
|
534
497
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
535
|
-
|
|
498
|
+
je(e, t);
|
|
536
499
|
function r() {
|
|
537
500
|
this.constructor = e;
|
|
538
501
|
}
|
|
@@ -547,7 +510,7 @@ var v = function() {
|
|
|
547
510
|
return t;
|
|
548
511
|
}, v.apply(this, arguments);
|
|
549
512
|
};
|
|
550
|
-
function
|
|
513
|
+
function Qr(e, t) {
|
|
551
514
|
var r = {};
|
|
552
515
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
553
516
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -555,7 +518,7 @@ function un(e, t) {
|
|
|
555
518
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
556
519
|
return r;
|
|
557
520
|
}
|
|
558
|
-
function
|
|
521
|
+
function ke(e) {
|
|
559
522
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
560
523
|
if (r) return r.call(e);
|
|
561
524
|
if (e && typeof e.length == "number") return {
|
|
@@ -565,7 +528,7 @@ function Xe(e) {
|
|
|
565
528
|
};
|
|
566
529
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
567
530
|
}
|
|
568
|
-
function
|
|
531
|
+
function Ve(e, t) {
|
|
569
532
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
570
533
|
if (!r) return e;
|
|
571
534
|
var n = r.call(e), i, s = [], o;
|
|
@@ -582,21 +545,21 @@ function We(e, t) {
|
|
|
582
545
|
}
|
|
583
546
|
return s;
|
|
584
547
|
}
|
|
585
|
-
function
|
|
548
|
+
function q(e, t, r) {
|
|
586
549
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
|
587
550
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
588
551
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
589
552
|
}
|
|
590
|
-
function
|
|
553
|
+
function G(e) {
|
|
591
554
|
return typeof e == "function";
|
|
592
555
|
}
|
|
593
|
-
function
|
|
556
|
+
function $t(e) {
|
|
594
557
|
var t = function(n) {
|
|
595
558
|
Error.call(n), n.stack = new Error().stack;
|
|
596
559
|
}, r = e(t);
|
|
597
560
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
598
561
|
}
|
|
599
|
-
var
|
|
562
|
+
var Ie = $t(function(e) {
|
|
600
563
|
return function(r) {
|
|
601
564
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
602
565
|
` + r.map(function(n, i) {
|
|
@@ -605,13 +568,13 @@ var Me = zt(function(e) {
|
|
|
605
568
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
606
569
|
};
|
|
607
570
|
});
|
|
608
|
-
function
|
|
571
|
+
function Xe(e, t) {
|
|
609
572
|
if (e) {
|
|
610
573
|
var r = e.indexOf(t);
|
|
611
574
|
0 <= r && e.splice(r, 1);
|
|
612
575
|
}
|
|
613
576
|
}
|
|
614
|
-
var
|
|
577
|
+
var we = function() {
|
|
615
578
|
function e(t) {
|
|
616
579
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
617
580
|
}
|
|
@@ -623,7 +586,7 @@ var He = function() {
|
|
|
623
586
|
if (o)
|
|
624
587
|
if (this._parentage = null, Array.isArray(o))
|
|
625
588
|
try {
|
|
626
|
-
for (var a =
|
|
589
|
+
for (var a = ke(o), h = a.next(); !h.done; h = a.next()) {
|
|
627
590
|
var u = h.value;
|
|
628
591
|
u.remove(this);
|
|
629
592
|
}
|
|
@@ -639,22 +602,22 @@ var He = function() {
|
|
|
639
602
|
else
|
|
640
603
|
o.remove(this);
|
|
641
604
|
var l = this.initialTeardown;
|
|
642
|
-
if (
|
|
605
|
+
if (G(l))
|
|
643
606
|
try {
|
|
644
607
|
l();
|
|
645
608
|
} catch (y) {
|
|
646
|
-
s = y instanceof
|
|
609
|
+
s = y instanceof Ie ? y.errors : [y];
|
|
647
610
|
}
|
|
648
611
|
var m = this._finalizers;
|
|
649
612
|
if (m) {
|
|
650
613
|
this._finalizers = null;
|
|
651
614
|
try {
|
|
652
|
-
for (var c =
|
|
615
|
+
for (var c = ke(m), d = c.next(); !d.done; d = c.next()) {
|
|
653
616
|
var b = d.value;
|
|
654
617
|
try {
|
|
655
|
-
|
|
618
|
+
lt(b);
|
|
656
619
|
} catch (y) {
|
|
657
|
-
s = s
|
|
620
|
+
s = s ?? [], y instanceof Ie ? s = q(q([], Ve(s)), Ve(y.errors)) : s.push(y);
|
|
658
621
|
}
|
|
659
622
|
}
|
|
660
623
|
} catch (y) {
|
|
@@ -668,13 +631,13 @@ var He = function() {
|
|
|
668
631
|
}
|
|
669
632
|
}
|
|
670
633
|
if (s)
|
|
671
|
-
throw new
|
|
634
|
+
throw new Ie(s);
|
|
672
635
|
}
|
|
673
636
|
}, e.prototype.add = function(t) {
|
|
674
637
|
var r;
|
|
675
638
|
if (t && t !== this)
|
|
676
639
|
if (this.closed)
|
|
677
|
-
|
|
640
|
+
lt(t);
|
|
678
641
|
else {
|
|
679
642
|
if (t instanceof e) {
|
|
680
643
|
if (t.closed || t._hasParent(this))
|
|
@@ -691,56 +654,56 @@ var He = function() {
|
|
|
691
654
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
692
655
|
}, e.prototype._removeParent = function(t) {
|
|
693
656
|
var r = this._parentage;
|
|
694
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
657
|
+
r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
|
|
695
658
|
}, e.prototype.remove = function(t) {
|
|
696
659
|
var r = this._finalizers;
|
|
697
|
-
r &&
|
|
660
|
+
r && Xe(r, t), t instanceof e && t._removeParent(this);
|
|
698
661
|
}, e.EMPTY = function() {
|
|
699
662
|
var t = new e();
|
|
700
663
|
return t.closed = !0, t;
|
|
701
664
|
}(), e;
|
|
702
|
-
}(),
|
|
703
|
-
function
|
|
704
|
-
return e instanceof
|
|
665
|
+
}(), jt = we.EMPTY;
|
|
666
|
+
function kt(e) {
|
|
667
|
+
return e instanceof we || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
705
668
|
}
|
|
706
|
-
function
|
|
707
|
-
|
|
669
|
+
function lt(e) {
|
|
670
|
+
G(e) ? e() : e.unsubscribe();
|
|
708
671
|
}
|
|
709
|
-
var
|
|
672
|
+
var Yr = {
|
|
710
673
|
onUnhandledError: null,
|
|
711
674
|
onStoppedNotification: null,
|
|
712
675
|
Promise: void 0,
|
|
713
676
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
714
677
|
useDeprecatedNextContext: !1
|
|
715
|
-
},
|
|
678
|
+
}, qr = {
|
|
716
679
|
setTimeout: function(e, t) {
|
|
717
680
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
718
681
|
r[n - 2] = arguments[n];
|
|
719
|
-
return setTimeout.apply(void 0,
|
|
682
|
+
return setTimeout.apply(void 0, q([e, t], Ve(r)));
|
|
720
683
|
},
|
|
721
684
|
clearTimeout: function(e) {
|
|
722
685
|
return clearTimeout(e);
|
|
723
686
|
},
|
|
724
687
|
delegate: void 0
|
|
725
688
|
};
|
|
726
|
-
function
|
|
727
|
-
|
|
689
|
+
function Jr(e) {
|
|
690
|
+
qr.setTimeout(function() {
|
|
728
691
|
throw e;
|
|
729
692
|
});
|
|
730
693
|
}
|
|
731
|
-
function
|
|
694
|
+
function ct() {
|
|
732
695
|
}
|
|
733
|
-
function
|
|
696
|
+
function ve(e) {
|
|
734
697
|
e();
|
|
735
698
|
}
|
|
736
|
-
var
|
|
737
|
-
|
|
699
|
+
var Vt = function(e) {
|
|
700
|
+
U(t, e);
|
|
738
701
|
function t(r) {
|
|
739
702
|
var n = e.call(this) || this;
|
|
740
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
703
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = tn, n;
|
|
741
704
|
}
|
|
742
705
|
return t.create = function(r, n, i) {
|
|
743
|
-
return new
|
|
706
|
+
return new We(r, n, i);
|
|
744
707
|
}, t.prototype.next = function(r) {
|
|
745
708
|
this.isStopped || this._next(r);
|
|
746
709
|
}, t.prototype.error = function(r) {
|
|
@@ -764,7 +727,7 @@ var Yt = function(e) {
|
|
|
764
727
|
this.unsubscribe();
|
|
765
728
|
}
|
|
766
729
|
}, t;
|
|
767
|
-
}(
|
|
730
|
+
}(we), Kr = function() {
|
|
768
731
|
function e(t) {
|
|
769
732
|
this.partialObserver = t;
|
|
770
733
|
}
|
|
@@ -774,7 +737,7 @@ var Yt = function(e) {
|
|
|
774
737
|
try {
|
|
775
738
|
r.next(t);
|
|
776
739
|
} catch (n) {
|
|
777
|
-
|
|
740
|
+
pe(n);
|
|
778
741
|
}
|
|
779
742
|
}, e.prototype.error = function(t) {
|
|
780
743
|
var r = this.partialObserver;
|
|
@@ -782,56 +745,56 @@ var Yt = function(e) {
|
|
|
782
745
|
try {
|
|
783
746
|
r.error(t);
|
|
784
747
|
} catch (n) {
|
|
785
|
-
|
|
748
|
+
pe(n);
|
|
786
749
|
}
|
|
787
750
|
else
|
|
788
|
-
|
|
751
|
+
pe(t);
|
|
789
752
|
}, e.prototype.complete = function() {
|
|
790
753
|
var t = this.partialObserver;
|
|
791
754
|
if (t.complete)
|
|
792
755
|
try {
|
|
793
756
|
t.complete();
|
|
794
757
|
} catch (r) {
|
|
795
|
-
|
|
758
|
+
pe(r);
|
|
796
759
|
}
|
|
797
760
|
}, e;
|
|
798
|
-
}(),
|
|
799
|
-
|
|
761
|
+
}(), We = function(e) {
|
|
762
|
+
U(t, e);
|
|
800
763
|
function t(r, n, i) {
|
|
801
764
|
var s = e.call(this) || this, o;
|
|
802
|
-
return
|
|
803
|
-
next: r
|
|
804
|
-
error: n
|
|
805
|
-
complete: i
|
|
806
|
-
} : o = r, s.destination = new
|
|
765
|
+
return G(r) || !r ? o = {
|
|
766
|
+
next: r ?? void 0,
|
|
767
|
+
error: n ?? void 0,
|
|
768
|
+
complete: i ?? void 0
|
|
769
|
+
} : o = r, s.destination = new Kr(o), s;
|
|
807
770
|
}
|
|
808
771
|
return t;
|
|
809
|
-
}(
|
|
810
|
-
function
|
|
811
|
-
|
|
772
|
+
}(Vt);
|
|
773
|
+
function pe(e) {
|
|
774
|
+
Jr(e);
|
|
812
775
|
}
|
|
813
|
-
function
|
|
776
|
+
function en(e) {
|
|
814
777
|
throw e;
|
|
815
778
|
}
|
|
816
|
-
var
|
|
779
|
+
var tn = {
|
|
817
780
|
closed: !0,
|
|
818
|
-
next:
|
|
819
|
-
error:
|
|
820
|
-
complete:
|
|
821
|
-
},
|
|
781
|
+
next: ct,
|
|
782
|
+
error: en,
|
|
783
|
+
complete: ct
|
|
784
|
+
}, rn = function() {
|
|
822
785
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
823
786
|
}();
|
|
824
|
-
function
|
|
787
|
+
function nn(e) {
|
|
825
788
|
return e;
|
|
826
789
|
}
|
|
827
|
-
function
|
|
828
|
-
return e.length === 0 ?
|
|
790
|
+
function sn(e) {
|
|
791
|
+
return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
|
|
829
792
|
return e.reduce(function(n, i) {
|
|
830
793
|
return i(n);
|
|
831
794
|
}, r);
|
|
832
795
|
};
|
|
833
796
|
}
|
|
834
|
-
var
|
|
797
|
+
var ft = function() {
|
|
835
798
|
function e(t) {
|
|
836
799
|
t && (this._subscribe = t);
|
|
837
800
|
}
|
|
@@ -839,8 +802,8 @@ var yt = function() {
|
|
|
839
802
|
var r = new e();
|
|
840
803
|
return r.source = this, r.operator = t, r;
|
|
841
804
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
842
|
-
var i = this, s =
|
|
843
|
-
return
|
|
805
|
+
var i = this, s = an(t) ? t : new We(t, r, n);
|
|
806
|
+
return ve(function() {
|
|
844
807
|
var o = i, a = o.operator, h = o.source;
|
|
845
808
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
846
809
|
}), s;
|
|
@@ -852,8 +815,8 @@ var yt = function() {
|
|
|
852
815
|
}
|
|
853
816
|
}, e.prototype.forEach = function(t, r) {
|
|
854
817
|
var n = this;
|
|
855
|
-
return r =
|
|
856
|
-
var o = new
|
|
818
|
+
return r = mt(r), new r(function(i, s) {
|
|
819
|
+
var o = new We({
|
|
857
820
|
next: function(a) {
|
|
858
821
|
try {
|
|
859
822
|
t(a);
|
|
@@ -869,15 +832,15 @@ var yt = function() {
|
|
|
869
832
|
}, e.prototype._subscribe = function(t) {
|
|
870
833
|
var r;
|
|
871
834
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
872
|
-
}, e.prototype[
|
|
835
|
+
}, e.prototype[rn] = function() {
|
|
873
836
|
return this;
|
|
874
837
|
}, e.prototype.pipe = function() {
|
|
875
838
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
876
839
|
t[r] = arguments[r];
|
|
877
|
-
return
|
|
840
|
+
return sn(t)(this);
|
|
878
841
|
}, e.prototype.toPromise = function(t) {
|
|
879
842
|
var r = this;
|
|
880
|
-
return t =
|
|
843
|
+
return t = mt(t), new t(function(n, i) {
|
|
881
844
|
var s;
|
|
882
845
|
r.subscribe(function(o) {
|
|
883
846
|
return s = o;
|
|
@@ -891,40 +854,40 @@ var yt = function() {
|
|
|
891
854
|
return new e(t);
|
|
892
855
|
}, e;
|
|
893
856
|
}();
|
|
894
|
-
function
|
|
857
|
+
function mt(e) {
|
|
895
858
|
var t;
|
|
896
|
-
return (t = e
|
|
859
|
+
return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
897
860
|
}
|
|
898
|
-
function
|
|
899
|
-
return e &&
|
|
861
|
+
function on(e) {
|
|
862
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
900
863
|
}
|
|
901
|
-
function
|
|
902
|
-
return e && e instanceof
|
|
864
|
+
function an(e) {
|
|
865
|
+
return e && e instanceof Vt || on(e) && kt(e);
|
|
903
866
|
}
|
|
904
|
-
var
|
|
867
|
+
var un = $t(function(e) {
|
|
905
868
|
return function() {
|
|
906
869
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
907
870
|
};
|
|
908
|
-
}),
|
|
909
|
-
|
|
871
|
+
}), Xt = function(e) {
|
|
872
|
+
U(t, e);
|
|
910
873
|
function t() {
|
|
911
874
|
var r = e.call(this) || this;
|
|
912
875
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
913
876
|
}
|
|
914
877
|
return t.prototype.lift = function(r) {
|
|
915
|
-
var n = new
|
|
878
|
+
var n = new dt(this, this);
|
|
916
879
|
return n.operator = r, n;
|
|
917
880
|
}, t.prototype._throwIfClosed = function() {
|
|
918
881
|
if (this.closed)
|
|
919
|
-
throw new
|
|
882
|
+
throw new un();
|
|
920
883
|
}, t.prototype.next = function(r) {
|
|
921
884
|
var n = this;
|
|
922
|
-
|
|
885
|
+
ve(function() {
|
|
923
886
|
var i, s;
|
|
924
887
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
925
888
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
926
889
|
try {
|
|
927
|
-
for (var o =
|
|
890
|
+
for (var o = ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
928
891
|
var h = a.value;
|
|
929
892
|
h.next(r);
|
|
930
893
|
}
|
|
@@ -941,7 +904,7 @@ var _n = zt(function(e) {
|
|
|
941
904
|
});
|
|
942
905
|
}, t.prototype.error = function(r) {
|
|
943
906
|
var n = this;
|
|
944
|
-
|
|
907
|
+
ve(function() {
|
|
945
908
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
946
909
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
947
910
|
for (var i = n.observers; i.length; )
|
|
@@ -950,7 +913,7 @@ var _n = zt(function(e) {
|
|
|
950
913
|
});
|
|
951
914
|
}, t.prototype.complete = function() {
|
|
952
915
|
var r = this;
|
|
953
|
-
|
|
916
|
+
ve(function() {
|
|
954
917
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
955
918
|
r.isStopped = !0;
|
|
956
919
|
for (var n = r.observers; n.length; )
|
|
@@ -972,20 +935,20 @@ var _n = zt(function(e) {
|
|
|
972
935
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
973
936
|
}, t.prototype._innerSubscribe = function(r) {
|
|
974
937
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
975
|
-
return s || o ?
|
|
976
|
-
n.currentObservers = null,
|
|
938
|
+
return s || o ? jt : (this.currentObservers = null, a.push(r), new we(function() {
|
|
939
|
+
n.currentObservers = null, Xe(a, r);
|
|
977
940
|
}));
|
|
978
941
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
979
942
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
980
943
|
i ? r.error(s) : o && r.complete();
|
|
981
944
|
}, t.prototype.asObservable = function() {
|
|
982
|
-
var r = new
|
|
945
|
+
var r = new ft();
|
|
983
946
|
return r.source = this, r;
|
|
984
947
|
}, t.create = function(r, n) {
|
|
985
|
-
return new
|
|
948
|
+
return new dt(r, n);
|
|
986
949
|
}, t;
|
|
987
|
-
}(
|
|
988
|
-
|
|
950
|
+
}(ft), dt = function(e) {
|
|
951
|
+
U(t, e);
|
|
989
952
|
function t(r, n) {
|
|
990
953
|
var i = e.call(this) || this;
|
|
991
954
|
return i.destination = r, i.source = n, i;
|
|
@@ -1001,17 +964,17 @@ var _n = zt(function(e) {
|
|
|
1001
964
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1002
965
|
}, t.prototype._subscribe = function(r) {
|
|
1003
966
|
var n, i;
|
|
1004
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
967
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1005
968
|
}, t;
|
|
1006
|
-
}(
|
|
969
|
+
}(Xt), Wt = {
|
|
1007
970
|
now: function() {
|
|
1008
|
-
return (
|
|
971
|
+
return (Wt.delegate || Date).now();
|
|
1009
972
|
},
|
|
1010
973
|
delegate: void 0
|
|
1011
|
-
},
|
|
1012
|
-
|
|
974
|
+
}, hn = function(e) {
|
|
975
|
+
U(t, e);
|
|
1013
976
|
function t(r, n, i) {
|
|
1014
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
977
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
1015
978
|
var s = e.call(this) || this;
|
|
1016
979
|
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;
|
|
1017
980
|
}
|
|
@@ -1031,31 +994,31 @@ var _n = zt(function(e) {
|
|
|
1031
994
|
u && s.splice(0, u + 1);
|
|
1032
995
|
}
|
|
1033
996
|
}, t;
|
|
1034
|
-
}(
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1037
|
-
const r = new
|
|
1038
|
-
|
|
997
|
+
}(Xt);
|
|
998
|
+
const bt = [], pt = {}, ln = (e, t = 0) => {
|
|
999
|
+
if (bt.indexOf(e) == -1) {
|
|
1000
|
+
const r = new hn(t);
|
|
1001
|
+
pt[e] = r, bt.push(e);
|
|
1039
1002
|
}
|
|
1040
|
-
return
|
|
1041
|
-
},
|
|
1042
|
-
function
|
|
1003
|
+
return pt[e];
|
|
1004
|
+
}, Z = [];
|
|
1005
|
+
function cn(e, t) {
|
|
1043
1006
|
return {
|
|
1044
|
-
subscribe:
|
|
1007
|
+
subscribe: He(e, t).subscribe
|
|
1045
1008
|
};
|
|
1046
1009
|
}
|
|
1047
|
-
function
|
|
1010
|
+
function He(e, t = B) {
|
|
1048
1011
|
let r;
|
|
1049
1012
|
const n = /* @__PURE__ */ new Set();
|
|
1050
1013
|
function i(a) {
|
|
1051
|
-
if (
|
|
1052
|
-
const h = !
|
|
1014
|
+
if (It(e, a) && (e = a, r)) {
|
|
1015
|
+
const h = !Z.length;
|
|
1053
1016
|
for (const u of n)
|
|
1054
|
-
u[1](),
|
|
1017
|
+
u[1](), Z.push(u, e);
|
|
1055
1018
|
if (h) {
|
|
1056
|
-
for (let u = 0; u <
|
|
1057
|
-
|
|
1058
|
-
|
|
1019
|
+
for (let u = 0; u < Z.length; u += 2)
|
|
1020
|
+
Z[u][0](Z[u + 1]);
|
|
1021
|
+
Z.length = 0;
|
|
1059
1022
|
}
|
|
1060
1023
|
}
|
|
1061
1024
|
}
|
|
@@ -1070,12 +1033,12 @@ function Ae(e, t = B) {
|
|
|
1070
1033
|
}
|
|
1071
1034
|
return { set: i, update: s, subscribe: o };
|
|
1072
1035
|
}
|
|
1073
|
-
function
|
|
1036
|
+
function se(e, t, r) {
|
|
1074
1037
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1075
1038
|
if (!i.every(Boolean))
|
|
1076
1039
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1077
1040
|
const s = t.length < 2;
|
|
1078
|
-
return
|
|
1041
|
+
return cn(r, (o, a) => {
|
|
1079
1042
|
let h = !1;
|
|
1080
1043
|
const u = [];
|
|
1081
1044
|
let l = 0, m = B;
|
|
@@ -1084,9 +1047,9 @@ function oe(e, t, r) {
|
|
|
1084
1047
|
return;
|
|
1085
1048
|
m();
|
|
1086
1049
|
const b = t(n ? u[0] : u, o, a);
|
|
1087
|
-
s ? o(b) : m =
|
|
1050
|
+
s ? o(b) : m = Te(b) ? b : B;
|
|
1088
1051
|
}, d = i.map(
|
|
1089
|
-
(b, y) =>
|
|
1052
|
+
(b, y) => Ct(
|
|
1090
1053
|
b,
|
|
1091
1054
|
(w) => {
|
|
1092
1055
|
u[y] = w, l &= ~(1 << y), h && c();
|
|
@@ -1097,118 +1060,118 @@ function oe(e, t, r) {
|
|
|
1097
1060
|
)
|
|
1098
1061
|
);
|
|
1099
1062
|
return h = !0, c(), function() {
|
|
1100
|
-
|
|
1063
|
+
ne(d), m(), h = !1;
|
|
1101
1064
|
};
|
|
1102
1065
|
});
|
|
1103
1066
|
}
|
|
1104
|
-
function
|
|
1067
|
+
function fn(e) {
|
|
1105
1068
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1106
1069
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1070
|
+
var mn = function(t) {
|
|
1071
|
+
return dn(t) && !bn(t);
|
|
1109
1072
|
};
|
|
1110
|
-
function
|
|
1073
|
+
function dn(e) {
|
|
1111
1074
|
return !!e && typeof e == "object";
|
|
1112
1075
|
}
|
|
1113
|
-
function
|
|
1076
|
+
function bn(e) {
|
|
1114
1077
|
var t = Object.prototype.toString.call(e);
|
|
1115
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1078
|
+
return t === "[object RegExp]" || t === "[object Date]" || yn(e);
|
|
1116
1079
|
}
|
|
1117
|
-
var
|
|
1118
|
-
function
|
|
1119
|
-
return e.$$typeof ===
|
|
1080
|
+
var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
|
|
1081
|
+
function yn(e) {
|
|
1082
|
+
return e.$$typeof === gn;
|
|
1120
1083
|
}
|
|
1121
|
-
function
|
|
1084
|
+
function vn(e) {
|
|
1122
1085
|
return Array.isArray(e) ? [] : {};
|
|
1123
1086
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1087
|
+
function le(e, t) {
|
|
1088
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(vn(e), e, t) : e;
|
|
1126
1089
|
}
|
|
1127
|
-
function
|
|
1090
|
+
function _n(e, t, r) {
|
|
1128
1091
|
return e.concat(t).map(function(n) {
|
|
1129
|
-
return
|
|
1092
|
+
return le(n, r);
|
|
1130
1093
|
});
|
|
1131
1094
|
}
|
|
1132
|
-
function
|
|
1095
|
+
function En(e, t) {
|
|
1133
1096
|
if (!t.customMerge)
|
|
1134
|
-
return
|
|
1097
|
+
return K;
|
|
1135
1098
|
var r = t.customMerge(e);
|
|
1136
|
-
return typeof r == "function" ? r :
|
|
1099
|
+
return typeof r == "function" ? r : K;
|
|
1137
1100
|
}
|
|
1138
|
-
function
|
|
1101
|
+
function xn(e) {
|
|
1139
1102
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1140
1103
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1141
1104
|
}) : [];
|
|
1142
1105
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return Object.keys(e).concat(
|
|
1106
|
+
function gt(e) {
|
|
1107
|
+
return Object.keys(e).concat(xn(e));
|
|
1145
1108
|
}
|
|
1146
|
-
function
|
|
1109
|
+
function zt(e, t) {
|
|
1147
1110
|
try {
|
|
1148
1111
|
return t in e;
|
|
1149
|
-
} catch
|
|
1112
|
+
} catch {
|
|
1150
1113
|
return !1;
|
|
1151
1114
|
}
|
|
1152
1115
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1116
|
+
function Sn(e, t) {
|
|
1117
|
+
return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1155
1118
|
}
|
|
1156
|
-
function
|
|
1119
|
+
function Tn(e, t, r) {
|
|
1157
1120
|
var n = {};
|
|
1158
|
-
return r.isMergeableObject(e) &&
|
|
1159
|
-
n[i] =
|
|
1160
|
-
}),
|
|
1161
|
-
|
|
1121
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1122
|
+
n[i] = le(e[i], r);
|
|
1123
|
+
}), gt(t).forEach(function(i) {
|
|
1124
|
+
Sn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1162
1125
|
}), n;
|
|
1163
1126
|
}
|
|
1164
|
-
function
|
|
1165
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1127
|
+
function K(e, t, r) {
|
|
1128
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1166
1129
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1167
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1130
|
+
return s ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : le(t, r);
|
|
1168
1131
|
}
|
|
1169
|
-
|
|
1132
|
+
K.all = function(t, r) {
|
|
1170
1133
|
if (!Array.isArray(t))
|
|
1171
1134
|
throw new Error("first argument should be an array");
|
|
1172
1135
|
return t.reduce(function(n, i) {
|
|
1173
|
-
return
|
|
1136
|
+
return K(n, i, r);
|
|
1174
1137
|
}, {});
|
|
1175
1138
|
};
|
|
1176
|
-
var
|
|
1177
|
-
const
|
|
1178
|
-
function
|
|
1179
|
-
var r = t && t.cache ? t.cache :
|
|
1139
|
+
var wn = K, Hn = wn;
|
|
1140
|
+
const An = /* @__PURE__ */ fn(Hn);
|
|
1141
|
+
function Ce(e, t) {
|
|
1142
|
+
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Pn;
|
|
1180
1143
|
return i(e, {
|
|
1181
1144
|
cache: r,
|
|
1182
1145
|
serializer: n
|
|
1183
1146
|
});
|
|
1184
1147
|
}
|
|
1185
|
-
function
|
|
1148
|
+
function Bn(e) {
|
|
1186
1149
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1187
1150
|
}
|
|
1188
|
-
function
|
|
1189
|
-
var i =
|
|
1190
|
-
return typeof s
|
|
1151
|
+
function Zt(e, t, r, n) {
|
|
1152
|
+
var i = Bn(n) ? n : r(n), s = t.get(i);
|
|
1153
|
+
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1191
1154
|
}
|
|
1192
|
-
function
|
|
1155
|
+
function Qt(e, t, r) {
|
|
1193
1156
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1194
|
-
return typeof s
|
|
1157
|
+
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1195
1158
|
}
|
|
1196
|
-
function
|
|
1159
|
+
function tt(e, t, r, n, i) {
|
|
1197
1160
|
return r.bind(t, e, n, i);
|
|
1198
1161
|
}
|
|
1199
|
-
function
|
|
1200
|
-
var r = e.length === 1 ?
|
|
1201
|
-
return
|
|
1162
|
+
function Pn(e, t) {
|
|
1163
|
+
var r = e.length === 1 ? Zt : Qt;
|
|
1164
|
+
return tt(e, this, r, t.cache.create(), t.serializer);
|
|
1202
1165
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return
|
|
1166
|
+
function Nn(e, t) {
|
|
1167
|
+
return tt(e, this, Qt, t.cache.create(), t.serializer);
|
|
1205
1168
|
}
|
|
1206
|
-
function
|
|
1207
|
-
return
|
|
1169
|
+
function On(e, t) {
|
|
1170
|
+
return tt(e, this, Zt, t.cache.create(), t.serializer);
|
|
1208
1171
|
}
|
|
1209
|
-
var
|
|
1172
|
+
var Ln = function() {
|
|
1210
1173
|
return JSON.stringify(arguments);
|
|
1211
|
-
},
|
|
1174
|
+
}, In = (
|
|
1212
1175
|
/** @class */
|
|
1213
1176
|
function() {
|
|
1214
1177
|
function e() {
|
|
@@ -1220,13 +1183,13 @@ var Vn = function() {
|
|
|
1220
1183
|
this.cache[t] = r;
|
|
1221
1184
|
}, e;
|
|
1222
1185
|
}()
|
|
1223
|
-
),
|
|
1186
|
+
), Cn = {
|
|
1224
1187
|
create: function() {
|
|
1225
|
-
return new
|
|
1188
|
+
return new In();
|
|
1226
1189
|
}
|
|
1227
|
-
},
|
|
1228
|
-
variadic:
|
|
1229
|
-
monadic:
|
|
1190
|
+
}, Me = {
|
|
1191
|
+
variadic: Nn,
|
|
1192
|
+
monadic: On
|
|
1230
1193
|
}, p;
|
|
1231
1194
|
(function(e) {
|
|
1232
1195
|
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";
|
|
@@ -1235,47 +1198,47 @@ var x;
|
|
|
1235
1198
|
(function(e) {
|
|
1236
1199
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1237
1200
|
})(x || (x = {}));
|
|
1238
|
-
var
|
|
1201
|
+
var ee;
|
|
1239
1202
|
(function(e) {
|
|
1240
1203
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1241
|
-
})(
|
|
1242
|
-
function
|
|
1204
|
+
})(ee || (ee = {}));
|
|
1205
|
+
function yt(e) {
|
|
1243
1206
|
return e.type === x.literal;
|
|
1244
1207
|
}
|
|
1245
|
-
function
|
|
1208
|
+
function Mn(e) {
|
|
1246
1209
|
return e.type === x.argument;
|
|
1247
1210
|
}
|
|
1248
|
-
function
|
|
1211
|
+
function Yt(e) {
|
|
1249
1212
|
return e.type === x.number;
|
|
1250
1213
|
}
|
|
1251
|
-
function
|
|
1214
|
+
function qt(e) {
|
|
1252
1215
|
return e.type === x.date;
|
|
1253
1216
|
}
|
|
1254
|
-
function
|
|
1217
|
+
function Jt(e) {
|
|
1255
1218
|
return e.type === x.time;
|
|
1256
1219
|
}
|
|
1257
|
-
function
|
|
1220
|
+
function Kt(e) {
|
|
1258
1221
|
return e.type === x.select;
|
|
1259
1222
|
}
|
|
1260
|
-
function
|
|
1223
|
+
function er(e) {
|
|
1261
1224
|
return e.type === x.plural;
|
|
1262
1225
|
}
|
|
1263
|
-
function
|
|
1226
|
+
function Rn(e) {
|
|
1264
1227
|
return e.type === x.pound;
|
|
1265
1228
|
}
|
|
1266
|
-
function
|
|
1229
|
+
function tr(e) {
|
|
1267
1230
|
return e.type === x.tag;
|
|
1268
1231
|
}
|
|
1269
|
-
function
|
|
1270
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1232
|
+
function rr(e) {
|
|
1233
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1271
1234
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1235
|
+
function ze(e) {
|
|
1236
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1274
1237
|
}
|
|
1275
|
-
var
|
|
1276
|
-
function
|
|
1238
|
+
var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1239
|
+
function Un(e) {
|
|
1277
1240
|
var t = {};
|
|
1278
|
-
return e.replace(
|
|
1241
|
+
return e.replace(Gn, function(r) {
|
|
1279
1242
|
var n = r.length;
|
|
1280
1243
|
switch (r[0]) {
|
|
1281
1244
|
case "G":
|
|
@@ -1364,11 +1327,11 @@ function Yn(e) {
|
|
|
1364
1327
|
return "";
|
|
1365
1328
|
}), t;
|
|
1366
1329
|
}
|
|
1367
|
-
var
|
|
1368
|
-
function
|
|
1330
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1331
|
+
function Fn(e) {
|
|
1369
1332
|
if (e.length === 0)
|
|
1370
1333
|
throw new Error("Number skeleton cannot be empty");
|
|
1371
|
-
for (var t = e.split(
|
|
1334
|
+
for (var t = e.split(Dn).filter(function(c) {
|
|
1372
1335
|
return c.length > 0;
|
|
1373
1336
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1374
1337
|
var s = i[n], o = s.split("/");
|
|
@@ -1383,17 +1346,17 @@ function Jn(e) {
|
|
|
1383
1346
|
}
|
|
1384
1347
|
return r;
|
|
1385
1348
|
}
|
|
1386
|
-
function
|
|
1349
|
+
function $n(e) {
|
|
1387
1350
|
return e.replace(/^(.*?)-/, "");
|
|
1388
1351
|
}
|
|
1389
|
-
var
|
|
1390
|
-
function
|
|
1352
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1353
|
+
function _t(e) {
|
|
1391
1354
|
var t = {};
|
|
1392
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1355
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
|
|
1393
1356
|
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)), "";
|
|
1394
1357
|
}), t;
|
|
1395
1358
|
}
|
|
1396
|
-
function
|
|
1359
|
+
function or(e) {
|
|
1397
1360
|
switch (e) {
|
|
1398
1361
|
case "sign-auto":
|
|
1399
1362
|
return {
|
|
@@ -1433,7 +1396,7 @@ function fr(e) {
|
|
|
1433
1396
|
};
|
|
1434
1397
|
}
|
|
1435
1398
|
}
|
|
1436
|
-
function
|
|
1399
|
+
function kn(e) {
|
|
1437
1400
|
var t;
|
|
1438
1401
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1439
1402
|
notation: "engineering"
|
|
@@ -1441,17 +1404,17 @@ function ti(e) {
|
|
|
1441
1404
|
notation: "scientific"
|
|
1442
1405
|
}, e = e.slice(1)), t) {
|
|
1443
1406
|
var r = e.slice(0, 2);
|
|
1444
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1407
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1445
1408
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1446
1409
|
t.minimumIntegerDigits = e.length;
|
|
1447
1410
|
}
|
|
1448
1411
|
return t;
|
|
1449
1412
|
}
|
|
1450
|
-
function
|
|
1451
|
-
var t = {}, r =
|
|
1413
|
+
function Et(e) {
|
|
1414
|
+
var t = {}, r = or(e);
|
|
1452
1415
|
return r || t;
|
|
1453
1416
|
}
|
|
1454
|
-
function
|
|
1417
|
+
function Vn(e) {
|
|
1455
1418
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1456
1419
|
var i = n[r];
|
|
1457
1420
|
switch (i.stem) {
|
|
@@ -1475,7 +1438,7 @@ function ri(e) {
|
|
|
1475
1438
|
continue;
|
|
1476
1439
|
case "measure-unit":
|
|
1477
1440
|
case "unit":
|
|
1478
|
-
t.style = "unit", t.unit =
|
|
1441
|
+
t.style = "unit", t.unit = $n(i.options[0]);
|
|
1479
1442
|
continue;
|
|
1480
1443
|
case "compact-short":
|
|
1481
1444
|
case "K":
|
|
@@ -1487,12 +1450,12 @@ function ri(e) {
|
|
|
1487
1450
|
continue;
|
|
1488
1451
|
case "scientific":
|
|
1489
1452
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1490
|
-
return v(v({}, h),
|
|
1453
|
+
return v(v({}, h), Et(u));
|
|
1491
1454
|
}, {}));
|
|
1492
1455
|
continue;
|
|
1493
1456
|
case "engineering":
|
|
1494
1457
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1495
|
-
return v(v({}, h),
|
|
1458
|
+
return v(v({}, h), Et(u));
|
|
1496
1459
|
}, {}));
|
|
1497
1460
|
continue;
|
|
1498
1461
|
case "notation-simple":
|
|
@@ -1537,7 +1500,7 @@ function ri(e) {
|
|
|
1537
1500
|
case "integer-width":
|
|
1538
1501
|
if (i.options.length > 1)
|
|
1539
1502
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1540
|
-
i.options[0].replace(
|
|
1503
|
+
i.options[0].replace(jn, function(h, u, l, m, c, d) {
|
|
1541
1504
|
if (u)
|
|
1542
1505
|
t.minimumIntegerDigits = l.length;
|
|
1543
1506
|
else {
|
|
@@ -1550,32 +1513,32 @@ function ri(e) {
|
|
|
1550
1513
|
});
|
|
1551
1514
|
continue;
|
|
1552
1515
|
}
|
|
1553
|
-
if (
|
|
1516
|
+
if (sr.test(i.stem)) {
|
|
1554
1517
|
t.minimumIntegerDigits = i.stem.length;
|
|
1555
1518
|
continue;
|
|
1556
1519
|
}
|
|
1557
|
-
if (
|
|
1520
|
+
if (vt.test(i.stem)) {
|
|
1558
1521
|
if (i.options.length > 1)
|
|
1559
1522
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1560
|
-
i.stem.replace(
|
|
1523
|
+
i.stem.replace(vt, function(h, u, l, m, c, d) {
|
|
1561
1524
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1562
1525
|
});
|
|
1563
1526
|
var s = i.options[0];
|
|
1564
|
-
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t),
|
|
1527
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), _t(s)));
|
|
1565
1528
|
continue;
|
|
1566
1529
|
}
|
|
1567
|
-
if (
|
|
1568
|
-
t = v(v({}, t),
|
|
1530
|
+
if (ir.test(i.stem)) {
|
|
1531
|
+
t = v(v({}, t), _t(i.stem));
|
|
1569
1532
|
continue;
|
|
1570
1533
|
}
|
|
1571
|
-
var o =
|
|
1534
|
+
var o = or(i.stem);
|
|
1572
1535
|
o && (t = v(v({}, t), o));
|
|
1573
|
-
var a =
|
|
1536
|
+
var a = kn(i.stem);
|
|
1574
1537
|
a && (t = v(v({}, t), a));
|
|
1575
1538
|
}
|
|
1576
1539
|
return t;
|
|
1577
1540
|
}
|
|
1578
|
-
var
|
|
1541
|
+
var ge = {
|
|
1579
1542
|
"001": [
|
|
1580
1543
|
"H",
|
|
1581
1544
|
"h"
|
|
@@ -2990,13 +2953,13 @@ var ye = {
|
|
|
2990
2953
|
"h"
|
|
2991
2954
|
]
|
|
2992
2955
|
};
|
|
2993
|
-
function
|
|
2956
|
+
function Xn(e, t) {
|
|
2994
2957
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2995
2958
|
var i = e.charAt(n);
|
|
2996
2959
|
if (i === "j") {
|
|
2997
2960
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2998
2961
|
s++, n++;
|
|
2999
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
|
2962
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
|
|
3000
2963
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3001
2964
|
r += h;
|
|
3002
2965
|
for (; o-- > 0; )
|
|
@@ -3005,7 +2968,7 @@ function ni(e, t) {
|
|
|
3005
2968
|
}
|
|
3006
2969
|
return r;
|
|
3007
2970
|
}
|
|
3008
|
-
function
|
|
2971
|
+
function Wn(e) {
|
|
3009
2972
|
var t = e.hourCycle;
|
|
3010
2973
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3011
2974
|
e.hourCycles && // @ts-ignore
|
|
@@ -3024,23 +2987,23 @@ function ii(e) {
|
|
|
3024
2987
|
}
|
|
3025
2988
|
var r = e.language, n;
|
|
3026
2989
|
r !== "root" && (n = e.maximize().region);
|
|
3027
|
-
var i =
|
|
2990
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
3028
2991
|
return i[0];
|
|
3029
2992
|
}
|
|
3030
|
-
var
|
|
2993
|
+
var Re, zn = new RegExp("^".concat(nr.source, "*")), Zn = new RegExp("".concat(nr.source, "*$"));
|
|
3031
2994
|
function g(e, t) {
|
|
3032
2995
|
return { start: e, end: t };
|
|
3033
2996
|
}
|
|
3034
|
-
var
|
|
2997
|
+
var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
|
|
3035
2998
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3036
|
-
},
|
|
2999
|
+
}, Ze = !0;
|
|
3037
3000
|
try {
|
|
3038
|
-
var
|
|
3039
|
-
|
|
3040
|
-
} catch
|
|
3041
|
-
|
|
3001
|
+
var ni = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3002
|
+
Ze = ((Re = ni.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3003
|
+
} catch {
|
|
3004
|
+
Ze = !1;
|
|
3042
3005
|
}
|
|
3043
|
-
var
|
|
3006
|
+
var xt = Qn ? (
|
|
3044
3007
|
// Native
|
|
3045
3008
|
function(t, r, n) {
|
|
3046
3009
|
return t.startsWith(r, n);
|
|
@@ -3050,7 +3013,7 @@ var Bt = ai ? (
|
|
|
3050
3013
|
function(t, r, n) {
|
|
3051
3014
|
return t.slice(n, n + r.length) === r;
|
|
3052
3015
|
}
|
|
3053
|
-
),
|
|
3016
|
+
), Qe = Yn ? String.fromCodePoint : (
|
|
3054
3017
|
// IE11
|
|
3055
3018
|
function() {
|
|
3056
3019
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3062,9 +3025,9 @@ var Bt = ai ? (
|
|
|
3062
3025
|
}
|
|
3063
3026
|
return n;
|
|
3064
3027
|
}
|
|
3065
|
-
),
|
|
3028
|
+
), St = (
|
|
3066
3029
|
// native
|
|
3067
|
-
|
|
3030
|
+
qn ? Object.fromEntries : (
|
|
3068
3031
|
// Ponyfill
|
|
3069
3032
|
function(t) {
|
|
3070
3033
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3074,7 +3037,7 @@ var Bt = ai ? (
|
|
|
3074
3037
|
return r;
|
|
3075
3038
|
}
|
|
3076
3039
|
)
|
|
3077
|
-
),
|
|
3040
|
+
), ar = Jn ? (
|
|
3078
3041
|
// Native
|
|
3079
3042
|
function(t, r) {
|
|
3080
3043
|
return t.codePointAt(r);
|
|
@@ -3088,7 +3051,7 @@ var Bt = ai ? (
|
|
|
3088
3051
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3089
3052
|
}
|
|
3090
3053
|
}
|
|
3091
|
-
),
|
|
3054
|
+
), ii = Kn ? (
|
|
3092
3055
|
// Native
|
|
3093
3056
|
function(t) {
|
|
3094
3057
|
return t.trimStart();
|
|
@@ -3096,9 +3059,9 @@ var Bt = ai ? (
|
|
|
3096
3059
|
) : (
|
|
3097
3060
|
// Ponyfill
|
|
3098
3061
|
function(t) {
|
|
3099
|
-
return t.replace(
|
|
3062
|
+
return t.replace(zn, "");
|
|
3100
3063
|
}
|
|
3101
|
-
),
|
|
3064
|
+
), si = ei ? (
|
|
3102
3065
|
// Native
|
|
3103
3066
|
function(t) {
|
|
3104
3067
|
return t.trimEnd();
|
|
@@ -3106,32 +3069,32 @@ var Bt = ai ? (
|
|
|
3106
3069
|
) : (
|
|
3107
3070
|
// Ponyfill
|
|
3108
3071
|
function(t) {
|
|
3109
|
-
return t.replace(
|
|
3072
|
+
return t.replace(Zn, "");
|
|
3110
3073
|
}
|
|
3111
3074
|
);
|
|
3112
|
-
function
|
|
3075
|
+
function ur(e, t) {
|
|
3113
3076
|
return new RegExp(e, t);
|
|
3114
3077
|
}
|
|
3115
|
-
var
|
|
3116
|
-
if (
|
|
3117
|
-
var
|
|
3118
|
-
|
|
3078
|
+
var Ye;
|
|
3079
|
+
if (Ze) {
|
|
3080
|
+
var Tt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3081
|
+
Ye = function(t, r) {
|
|
3119
3082
|
var n;
|
|
3120
|
-
|
|
3121
|
-
var i =
|
|
3083
|
+
Tt.lastIndex = r;
|
|
3084
|
+
var i = Tt.exec(t);
|
|
3122
3085
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3123
3086
|
};
|
|
3124
3087
|
} else
|
|
3125
|
-
|
|
3088
|
+
Ye = function(t, r) {
|
|
3126
3089
|
for (var n = []; ; ) {
|
|
3127
|
-
var i =
|
|
3128
|
-
if (i === void 0 ||
|
|
3090
|
+
var i = ar(t, r);
|
|
3091
|
+
if (i === void 0 || hr(i) || hi(i))
|
|
3129
3092
|
break;
|
|
3130
3093
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3131
3094
|
}
|
|
3132
|
-
return
|
|
3095
|
+
return Qe.apply(void 0, n);
|
|
3133
3096
|
};
|
|
3134
|
-
var
|
|
3097
|
+
var oi = (
|
|
3135
3098
|
/** @class */
|
|
3136
3099
|
function() {
|
|
3137
3100
|
function e(t, r) {
|
|
@@ -3162,7 +3125,7 @@ var yi = (
|
|
|
3162
3125
|
if (n)
|
|
3163
3126
|
break;
|
|
3164
3127
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3165
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3128
|
+
} else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3166
3129
|
var o = this.parseTag(t, r);
|
|
3167
3130
|
if (o.err)
|
|
3168
3131
|
return o;
|
|
@@ -3195,7 +3158,7 @@ var yi = (
|
|
|
3195
3158
|
return s;
|
|
3196
3159
|
var o = s.val, a = this.clonePosition();
|
|
3197
3160
|
if (this.bumpIf("</")) {
|
|
3198
|
-
if (this.isEOF() || !
|
|
3161
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3199
3162
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
|
3200
3163
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3201
3164
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3213,7 +3176,7 @@ var yi = (
|
|
|
3213
3176
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
|
3214
3177
|
}, e.prototype.parseTagName = function() {
|
|
3215
3178
|
var t = this.offset();
|
|
3216
|
-
for (this.bump(); !this.isEOF() &&
|
|
3179
|
+
for (this.bump(); !this.isEOF() && ui(this.char()); )
|
|
3217
3180
|
this.bump();
|
|
3218
3181
|
return this.message.slice(t, this.offset());
|
|
3219
3182
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3242,7 +3205,7 @@ var yi = (
|
|
|
3242
3205
|
};
|
|
3243
3206
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3244
3207
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3245
|
-
!
|
|
3208
|
+
!ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3246
3209
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3247
3210
|
if (this.isEOF() || this.char() !== 39)
|
|
3248
3211
|
return null;
|
|
@@ -3276,12 +3239,12 @@ var yi = (
|
|
|
3276
3239
|
r.push(n);
|
|
3277
3240
|
this.bump();
|
|
3278
3241
|
}
|
|
3279
|
-
return
|
|
3242
|
+
return Qe.apply(void 0, r);
|
|
3280
3243
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3281
3244
|
if (this.isEOF())
|
|
3282
3245
|
return null;
|
|
3283
3246
|
var n = this.char();
|
|
3284
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3247
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3285
3248
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3286
3249
|
var n = this.clonePosition();
|
|
3287
3250
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3310,7 +3273,7 @@ var yi = (
|
|
|
3310
3273
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3311
3274
|
}
|
|
3312
3275
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3313
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3276
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3314
3277
|
this.bumpTo(i);
|
|
3315
3278
|
var s = this.clonePosition(), o = g(t, s);
|
|
3316
3279
|
return { value: n, location: o };
|
|
@@ -3329,7 +3292,7 @@ var yi = (
|
|
|
3329
3292
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
3330
3293
|
if (m.err)
|
|
3331
3294
|
return m;
|
|
3332
|
-
var c =
|
|
3295
|
+
var c = si(m.val);
|
|
3333
3296
|
if (c.length === 0)
|
|
3334
3297
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3335
3298
|
var d = g(l, this.clonePosition());
|
|
@@ -3339,8 +3302,8 @@ var yi = (
|
|
|
3339
3302
|
if (b.err)
|
|
3340
3303
|
return b;
|
|
3341
3304
|
var y = g(i, this.clonePosition());
|
|
3342
|
-
if (u &&
|
|
3343
|
-
var w =
|
|
3305
|
+
if (u && xt(u?.style, "::", 0)) {
|
|
3306
|
+
var w = ii(u.style.slice(2));
|
|
3344
3307
|
if (a === "number") {
|
|
3345
3308
|
var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3346
3309
|
return m.err ? m : {
|
|
@@ -3350,13 +3313,13 @@ var yi = (
|
|
|
3350
3313
|
} else {
|
|
3351
3314
|
if (w.length === 0)
|
|
3352
3315
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
|
3353
|
-
var
|
|
3354
|
-
this.locale && (
|
|
3316
|
+
var C = w;
|
|
3317
|
+
this.locale && (C = Xn(w, this.locale));
|
|
3355
3318
|
var c = {
|
|
3356
|
-
type:
|
|
3357
|
-
pattern:
|
|
3319
|
+
type: ee.dateTime,
|
|
3320
|
+
pattern: C,
|
|
3358
3321
|
location: u.styleLocation,
|
|
3359
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3322
|
+
parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
|
|
3360
3323
|
}, P = a === "date" ? x.date : x.time;
|
|
3361
3324
|
return {
|
|
3362
3325
|
val: { type: P, value: n, location: y, style: c },
|
|
@@ -3369,7 +3332,7 @@ var yi = (
|
|
|
3369
3332
|
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3370
3333
|
value: n,
|
|
3371
3334
|
location: y,
|
|
3372
|
-
style: (s = u
|
|
3335
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3373
3336
|
},
|
|
3374
3337
|
err: null
|
|
3375
3338
|
};
|
|
@@ -3391,9 +3354,9 @@ var yi = (
|
|
|
3391
3354
|
return m;
|
|
3392
3355
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
|
|
3393
3356
|
}
|
|
3394
|
-
var
|
|
3395
|
-
if (
|
|
3396
|
-
return
|
|
3357
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
|
3358
|
+
if (R.err)
|
|
3359
|
+
return R;
|
|
3397
3360
|
var b = this.tryParseArgumentClose(i);
|
|
3398
3361
|
if (b.err)
|
|
3399
3362
|
return b;
|
|
@@ -3402,7 +3365,7 @@ var yi = (
|
|
|
3402
3365
|
val: {
|
|
3403
3366
|
type: x.select,
|
|
3404
3367
|
value: n,
|
|
3405
|
-
options:
|
|
3368
|
+
options: St(R.val),
|
|
3406
3369
|
location: E
|
|
3407
3370
|
},
|
|
3408
3371
|
err: null
|
|
@@ -3410,7 +3373,7 @@ var yi = (
|
|
|
3410
3373
|
val: {
|
|
3411
3374
|
type: x.plural,
|
|
3412
3375
|
value: n,
|
|
3413
|
-
options:
|
|
3376
|
+
options: St(R.val),
|
|
3414
3377
|
offset: O,
|
|
3415
3378
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3416
3379
|
location: E
|
|
@@ -3461,16 +3424,16 @@ var yi = (
|
|
|
3461
3424
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3462
3425
|
var n = [];
|
|
3463
3426
|
try {
|
|
3464
|
-
n =
|
|
3465
|
-
} catch
|
|
3427
|
+
n = Fn(t);
|
|
3428
|
+
} catch {
|
|
3466
3429
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3467
3430
|
}
|
|
3468
3431
|
return {
|
|
3469
3432
|
val: {
|
|
3470
|
-
type:
|
|
3433
|
+
type: ee.number,
|
|
3471
3434
|
tokens: n,
|
|
3472
3435
|
location: r,
|
|
3473
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3436
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
|
|
3474
3437
|
},
|
|
3475
3438
|
err: null
|
|
3476
3439
|
};
|
|
@@ -3518,7 +3481,7 @@ var yi = (
|
|
|
3518
3481
|
break;
|
|
3519
3482
|
}
|
|
3520
3483
|
var h = g(i, this.clonePosition());
|
|
3521
|
-
return s ? (o *= n,
|
|
3484
|
+
return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3522
3485
|
}, e.prototype.offset = function() {
|
|
3523
3486
|
return this.position.offset;
|
|
3524
3487
|
}, e.prototype.isEOF = function() {
|
|
@@ -3533,7 +3496,7 @@ var yi = (
|
|
|
3533
3496
|
var t = this.position.offset;
|
|
3534
3497
|
if (t >= this.message.length)
|
|
3535
3498
|
throw Error("out of bound");
|
|
3536
|
-
var r =
|
|
3499
|
+
var r = ar(this.message, t);
|
|
3537
3500
|
if (r === void 0)
|
|
3538
3501
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3539
3502
|
return r;
|
|
@@ -3552,7 +3515,7 @@ var yi = (
|
|
|
3552
3515
|
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);
|
|
3553
3516
|
}
|
|
3554
3517
|
}, e.prototype.bumpIf = function(t) {
|
|
3555
|
-
if (
|
|
3518
|
+
if (xt(this.message, t, this.offset())) {
|
|
3556
3519
|
for (var r = 0; r < t.length; r++)
|
|
3557
3520
|
this.bump();
|
|
3558
3521
|
return !0;
|
|
@@ -3574,56 +3537,56 @@ var yi = (
|
|
|
3574
3537
|
break;
|
|
3575
3538
|
}
|
|
3576
3539
|
}, e.prototype.bumpSpace = function() {
|
|
3577
|
-
for (; !this.isEOF() &&
|
|
3540
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3578
3541
|
this.bump();
|
|
3579
3542
|
}, e.prototype.peek = function() {
|
|
3580
3543
|
if (this.isEOF())
|
|
3581
3544
|
return null;
|
|
3582
3545
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3583
|
-
return n
|
|
3546
|
+
return n ?? null;
|
|
3584
3547
|
}, e;
|
|
3585
3548
|
}()
|
|
3586
3549
|
);
|
|
3587
|
-
function
|
|
3550
|
+
function qe(e) {
|
|
3588
3551
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3589
3552
|
}
|
|
3590
|
-
function
|
|
3591
|
-
return
|
|
3553
|
+
function ai(e) {
|
|
3554
|
+
return qe(e) || e === 47;
|
|
3592
3555
|
}
|
|
3593
|
-
function
|
|
3556
|
+
function ui(e) {
|
|
3594
3557
|
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;
|
|
3595
3558
|
}
|
|
3596
|
-
function
|
|
3559
|
+
function hr(e) {
|
|
3597
3560
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3598
3561
|
}
|
|
3599
|
-
function
|
|
3562
|
+
function hi(e) {
|
|
3600
3563
|
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;
|
|
3601
3564
|
}
|
|
3602
|
-
function
|
|
3565
|
+
function Je(e) {
|
|
3603
3566
|
e.forEach(function(t) {
|
|
3604
|
-
if (delete t.location,
|
|
3567
|
+
if (delete t.location, Kt(t) || er(t))
|
|
3605
3568
|
for (var r in t.options)
|
|
3606
|
-
delete t.options[r].location,
|
|
3607
|
-
else
|
|
3569
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3570
|
+
else Yt(t) && rr(t.style) || (qt(t) || Jt(t)) && ze(t.style) ? delete t.style.location : tr(t) && Je(t.children);
|
|
3608
3571
|
});
|
|
3609
3572
|
}
|
|
3610
|
-
function
|
|
3573
|
+
function li(e, t) {
|
|
3611
3574
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3612
|
-
var r = new
|
|
3575
|
+
var r = new oi(e, t).parse();
|
|
3613
3576
|
if (r.err) {
|
|
3614
3577
|
var n = SyntaxError(p[r.err.kind]);
|
|
3615
3578
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3616
3579
|
}
|
|
3617
|
-
return t
|
|
3580
|
+
return t?.captureLocation || Je(r.val), r.val;
|
|
3618
3581
|
}
|
|
3619
|
-
var
|
|
3582
|
+
var te;
|
|
3620
3583
|
(function(e) {
|
|
3621
3584
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3622
|
-
})(
|
|
3623
|
-
var
|
|
3585
|
+
})(te || (te = {}));
|
|
3586
|
+
var Ae = (
|
|
3624
3587
|
/** @class */
|
|
3625
3588
|
function(e) {
|
|
3626
|
-
|
|
3589
|
+
U(t, e);
|
|
3627
3590
|
function t(r, n, i) {
|
|
3628
3591
|
var s = e.call(this, r) || this;
|
|
3629
3592
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3632,48 +3595,48 @@ var Be = (
|
|
|
3632
3595
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3633
3596
|
}, t;
|
|
3634
3597
|
}(Error)
|
|
3635
|
-
),
|
|
3598
|
+
), wt = (
|
|
3636
3599
|
/** @class */
|
|
3637
3600
|
function(e) {
|
|
3638
|
-
|
|
3601
|
+
U(t, e);
|
|
3639
3602
|
function t(r, n, i, s) {
|
|
3640
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3603
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
|
|
3641
3604
|
}
|
|
3642
3605
|
return t;
|
|
3643
|
-
}(
|
|
3644
|
-
),
|
|
3606
|
+
}(Ae)
|
|
3607
|
+
), ci = (
|
|
3645
3608
|
/** @class */
|
|
3646
3609
|
function(e) {
|
|
3647
|
-
|
|
3610
|
+
U(t, e);
|
|
3648
3611
|
function t(r, n, i) {
|
|
3649
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3612
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
3650
3613
|
}
|
|
3651
3614
|
return t;
|
|
3652
|
-
}(
|
|
3653
|
-
),
|
|
3615
|
+
}(Ae)
|
|
3616
|
+
), fi = (
|
|
3654
3617
|
/** @class */
|
|
3655
3618
|
function(e) {
|
|
3656
|
-
|
|
3619
|
+
U(t, e);
|
|
3657
3620
|
function t(r, n) {
|
|
3658
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3621
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
3659
3622
|
}
|
|
3660
3623
|
return t;
|
|
3661
|
-
}(
|
|
3624
|
+
}(Ae)
|
|
3662
3625
|
), A;
|
|
3663
3626
|
(function(e) {
|
|
3664
3627
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3665
3628
|
})(A || (A = {}));
|
|
3666
|
-
function
|
|
3629
|
+
function mi(e) {
|
|
3667
3630
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3668
3631
|
var n = t[t.length - 1];
|
|
3669
3632
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3670
3633
|
}, []);
|
|
3671
3634
|
}
|
|
3672
|
-
function
|
|
3635
|
+
function di(e) {
|
|
3673
3636
|
return typeof e == "function";
|
|
3674
3637
|
}
|
|
3675
|
-
function
|
|
3676
|
-
if (e.length === 1 &&
|
|
3638
|
+
function _e(e, t, r, n, i, s, o) {
|
|
3639
|
+
if (e.length === 1 && yt(e[0]))
|
|
3677
3640
|
return [
|
|
3678
3641
|
{
|
|
3679
3642
|
type: A.literal,
|
|
@@ -3682,14 +3645,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3682
3645
|
];
|
|
3683
3646
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3684
3647
|
var l = u[h];
|
|
3685
|
-
if (
|
|
3648
|
+
if (yt(l)) {
|
|
3686
3649
|
a.push({
|
|
3687
3650
|
type: A.literal,
|
|
3688
3651
|
value: l.value
|
|
3689
3652
|
});
|
|
3690
3653
|
continue;
|
|
3691
3654
|
}
|
|
3692
|
-
if (
|
|
3655
|
+
if (Rn(l)) {
|
|
3693
3656
|
typeof s == "number" && a.push({
|
|
3694
3657
|
type: A.literal,
|
|
3695
3658
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3698,44 +3661,44 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3698
3661
|
}
|
|
3699
3662
|
var m = l.value;
|
|
3700
3663
|
if (!(i && m in i))
|
|
3701
|
-
throw new
|
|
3664
|
+
throw new fi(m, o);
|
|
3702
3665
|
var c = i[m];
|
|
3703
|
-
if (
|
|
3666
|
+
if (Mn(l)) {
|
|
3704
3667
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3705
3668
|
type: typeof c == "string" ? A.literal : A.object,
|
|
3706
3669
|
value: c
|
|
3707
3670
|
});
|
|
3708
3671
|
continue;
|
|
3709
3672
|
}
|
|
3710
|
-
if (
|
|
3711
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3673
|
+
if (qt(l)) {
|
|
3674
|
+
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
|
3712
3675
|
a.push({
|
|
3713
3676
|
type: A.literal,
|
|
3714
3677
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3715
3678
|
});
|
|
3716
3679
|
continue;
|
|
3717
3680
|
}
|
|
3718
|
-
if (
|
|
3719
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3681
|
+
if (Jt(l)) {
|
|
3682
|
+
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3720
3683
|
a.push({
|
|
3721
3684
|
type: A.literal,
|
|
3722
3685
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3723
3686
|
});
|
|
3724
3687
|
continue;
|
|
3725
3688
|
}
|
|
3726
|
-
if (
|
|
3727
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3689
|
+
if (Yt(l)) {
|
|
3690
|
+
var d = typeof l.style == "string" ? n.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
|
|
3728
3691
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3729
3692
|
type: A.literal,
|
|
3730
3693
|
value: r.getNumberFormat(t, d).format(c)
|
|
3731
3694
|
});
|
|
3732
3695
|
continue;
|
|
3733
3696
|
}
|
|
3734
|
-
if (
|
|
3697
|
+
if (tr(l)) {
|
|
3735
3698
|
var b = l.children, y = l.value, w = i[y];
|
|
3736
|
-
if (!
|
|
3737
|
-
throw new
|
|
3738
|
-
var
|
|
3699
|
+
if (!di(w))
|
|
3700
|
+
throw new ci(y, "function", o);
|
|
3701
|
+
var C = _e(b, t, r, n, i, s), P = w(C.map(function(O) {
|
|
3739
3702
|
return O.value;
|
|
3740
3703
|
}));
|
|
3741
3704
|
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
|
|
@@ -3745,42 +3708,42 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3745
3708
|
};
|
|
3746
3709
|
}));
|
|
3747
3710
|
}
|
|
3748
|
-
if (
|
|
3711
|
+
if (Kt(l)) {
|
|
3749
3712
|
var T = l.options[c] || l.options.other;
|
|
3750
3713
|
if (!T)
|
|
3751
|
-
throw new
|
|
3752
|
-
a.push.apply(a,
|
|
3714
|
+
throw new wt(l.value, c, Object.keys(l.options), o);
|
|
3715
|
+
a.push.apply(a, _e(T.value, t, r, n, i));
|
|
3753
3716
|
continue;
|
|
3754
3717
|
}
|
|
3755
|
-
if (
|
|
3718
|
+
if (er(l)) {
|
|
3756
3719
|
var T = l.options["=".concat(c)];
|
|
3757
3720
|
if (!T) {
|
|
3758
3721
|
if (!Intl.PluralRules)
|
|
3759
|
-
throw new
|
|
3722
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3760
3723
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3761
|
-
`,
|
|
3724
|
+
`, te.MISSING_INTL_API, o);
|
|
3762
3725
|
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3763
3726
|
T = l.options[N] || l.options.other;
|
|
3764
3727
|
}
|
|
3765
3728
|
if (!T)
|
|
3766
|
-
throw new
|
|
3767
|
-
a.push.apply(a,
|
|
3729
|
+
throw new wt(l.value, c, Object.keys(l.options), o);
|
|
3730
|
+
a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3768
3731
|
continue;
|
|
3769
3732
|
}
|
|
3770
3733
|
}
|
|
3771
|
-
return
|
|
3734
|
+
return mi(a);
|
|
3772
3735
|
}
|
|
3773
|
-
function
|
|
3736
|
+
function bi(e, t) {
|
|
3774
3737
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3775
3738
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3776
3739
|
}, {})) : e;
|
|
3777
3740
|
}
|
|
3778
|
-
function
|
|
3741
|
+
function pi(e, t) {
|
|
3779
3742
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3780
|
-
return r[n] =
|
|
3743
|
+
return r[n] = bi(e[n], t[n]), r;
|
|
3781
3744
|
}, v({}, e)) : e;
|
|
3782
3745
|
}
|
|
3783
|
-
function
|
|
3746
|
+
function Ge(e) {
|
|
3784
3747
|
return {
|
|
3785
3748
|
create: function() {
|
|
3786
3749
|
return {
|
|
@@ -3794,39 +3757,39 @@ function De(e) {
|
|
|
3794
3757
|
}
|
|
3795
3758
|
};
|
|
3796
3759
|
}
|
|
3797
|
-
function
|
|
3760
|
+
function gi(e) {
|
|
3798
3761
|
return e === void 0 && (e = {
|
|
3799
3762
|
number: {},
|
|
3800
3763
|
dateTime: {},
|
|
3801
3764
|
pluralRules: {}
|
|
3802
3765
|
}), {
|
|
3803
|
-
getNumberFormat:
|
|
3766
|
+
getNumberFormat: Ce(function() {
|
|
3804
3767
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3805
3768
|
r[n] = arguments[n];
|
|
3806
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3769
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3807
3770
|
}, {
|
|
3808
|
-
cache:
|
|
3809
|
-
strategy:
|
|
3771
|
+
cache: Ge(e.number),
|
|
3772
|
+
strategy: Me.variadic
|
|
3810
3773
|
}),
|
|
3811
|
-
getDateTimeFormat:
|
|
3774
|
+
getDateTimeFormat: Ce(function() {
|
|
3812
3775
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3813
3776
|
r[n] = arguments[n];
|
|
3814
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3777
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3815
3778
|
}, {
|
|
3816
|
-
cache:
|
|
3817
|
-
strategy:
|
|
3779
|
+
cache: Ge(e.dateTime),
|
|
3780
|
+
strategy: Me.variadic
|
|
3818
3781
|
}),
|
|
3819
|
-
getPluralRules:
|
|
3782
|
+
getPluralRules: Ce(function() {
|
|
3820
3783
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3821
3784
|
r[n] = arguments[n];
|
|
3822
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3785
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3823
3786
|
}, {
|
|
3824
|
-
cache:
|
|
3825
|
-
strategy:
|
|
3787
|
+
cache: Ge(e.pluralRules),
|
|
3788
|
+
strategy: Me.variadic
|
|
3826
3789
|
})
|
|
3827
3790
|
};
|
|
3828
3791
|
}
|
|
3829
|
-
var
|
|
3792
|
+
var yi = (
|
|
3830
3793
|
/** @class */
|
|
3831
3794
|
function() {
|
|
3832
3795
|
function e(t, r, n, i) {
|
|
@@ -3845,7 +3808,7 @@ var Ni = (
|
|
|
3845
3808
|
}, []);
|
|
3846
3809
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3847
3810
|
}, this.formatToParts = function(h) {
|
|
3848
|
-
return
|
|
3811
|
+
return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3849
3812
|
}, this.resolvedOptions = function() {
|
|
3850
3813
|
var h;
|
|
3851
3814
|
return {
|
|
@@ -3858,13 +3821,13 @@ var Ni = (
|
|
|
3858
3821
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3859
3822
|
var o = i || {};
|
|
3860
3823
|
o.formatters;
|
|
3861
|
-
var a =
|
|
3824
|
+
var a = Qr(o, ["formatters"]);
|
|
3862
3825
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3863
3826
|
} else
|
|
3864
3827
|
this.ast = t;
|
|
3865
3828
|
if (!Array.isArray(this.ast))
|
|
3866
3829
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3867
|
-
this.formats =
|
|
3830
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
|
3868
3831
|
}
|
|
3869
3832
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3870
3833
|
get: function() {
|
|
@@ -3873,11 +3836,11 @@ var Ni = (
|
|
|
3873
3836
|
enumerable: !1,
|
|
3874
3837
|
configurable: !0
|
|
3875
3838
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3876
|
-
if (typeof Intl.Locale
|
|
3839
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3877
3840
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3878
3841
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3879
3842
|
}
|
|
3880
|
-
}, e.__parse =
|
|
3843
|
+
}, e.__parse = li, e.formats = {
|
|
3881
3844
|
number: {
|
|
3882
3845
|
integer: {
|
|
3883
3846
|
maximumFractionDigits: 0
|
|
@@ -3938,7 +3901,7 @@ var Ni = (
|
|
|
3938
3901
|
}, e;
|
|
3939
3902
|
}()
|
|
3940
3903
|
);
|
|
3941
|
-
function
|
|
3904
|
+
function vi(e, t) {
|
|
3942
3905
|
if (t == null)
|
|
3943
3906
|
return;
|
|
3944
3907
|
if (t in e)
|
|
@@ -3959,92 +3922,92 @@ function Oi(e, t) {
|
|
|
3959
3922
|
n = void 0;
|
|
3960
3923
|
return n;
|
|
3961
3924
|
}
|
|
3962
|
-
const
|
|
3925
|
+
const F = {}, _i = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
|
|
3963
3926
|
if (t == null)
|
|
3964
3927
|
return;
|
|
3965
|
-
if (t in
|
|
3966
|
-
return
|
|
3967
|
-
const r =
|
|
3928
|
+
if (t in F && e in F[t])
|
|
3929
|
+
return F[t][e];
|
|
3930
|
+
const r = Be(t);
|
|
3968
3931
|
for (let n = 0; n < r.length; n++) {
|
|
3969
|
-
const i = r[n], s =
|
|
3932
|
+
const i = r[n], s = xi(i, e);
|
|
3970
3933
|
if (s)
|
|
3971
|
-
return
|
|
3934
|
+
return _i(e, t, s);
|
|
3972
3935
|
}
|
|
3973
3936
|
};
|
|
3974
|
-
let
|
|
3975
|
-
const
|
|
3976
|
-
function
|
|
3977
|
-
return
|
|
3937
|
+
let rt;
|
|
3938
|
+
const me = He({});
|
|
3939
|
+
function Ei(e) {
|
|
3940
|
+
return rt[e] || null;
|
|
3978
3941
|
}
|
|
3979
|
-
function
|
|
3980
|
-
return e in
|
|
3942
|
+
function cr(e) {
|
|
3943
|
+
return e in rt;
|
|
3981
3944
|
}
|
|
3982
|
-
function
|
|
3983
|
-
if (!
|
|
3945
|
+
function xi(e, t) {
|
|
3946
|
+
if (!cr(e))
|
|
3984
3947
|
return null;
|
|
3985
|
-
const r =
|
|
3986
|
-
return
|
|
3948
|
+
const r = Ei(e);
|
|
3949
|
+
return vi(r, t);
|
|
3987
3950
|
}
|
|
3988
|
-
function
|
|
3951
|
+
function Si(e) {
|
|
3989
3952
|
if (e == null)
|
|
3990
3953
|
return;
|
|
3991
|
-
const t =
|
|
3954
|
+
const t = Be(e);
|
|
3992
3955
|
for (let r = 0; r < t.length; r++) {
|
|
3993
3956
|
const n = t[r];
|
|
3994
|
-
if (
|
|
3957
|
+
if (cr(n))
|
|
3995
3958
|
return n;
|
|
3996
3959
|
}
|
|
3997
3960
|
}
|
|
3998
|
-
function
|
|
3999
|
-
delete
|
|
3961
|
+
function fr(e, ...t) {
|
|
3962
|
+
delete F[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
|
|
4000
3963
|
}
|
|
4001
|
-
|
|
4002
|
-
[
|
|
3964
|
+
se(
|
|
3965
|
+
[me],
|
|
4003
3966
|
([e]) => Object.keys(e)
|
|
4004
3967
|
);
|
|
4005
|
-
|
|
4006
|
-
const
|
|
4007
|
-
function
|
|
4008
|
-
|
|
3968
|
+
me.subscribe((e) => rt = e);
|
|
3969
|
+
const Ee = {};
|
|
3970
|
+
function Ti(e, t) {
|
|
3971
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4009
3972
|
}
|
|
4010
|
-
function
|
|
4011
|
-
return
|
|
3973
|
+
function mr(e) {
|
|
3974
|
+
return Ee[e];
|
|
4012
3975
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return
|
|
4015
|
-
const r =
|
|
3976
|
+
function wi(e) {
|
|
3977
|
+
return Be(e).map((t) => {
|
|
3978
|
+
const r = mr(t);
|
|
4016
3979
|
return [t, r ? [...r] : []];
|
|
4017
3980
|
}).filter(([, t]) => t.length > 0);
|
|
4018
3981
|
}
|
|
4019
|
-
function
|
|
4020
|
-
return e == null ? !1 :
|
|
3982
|
+
function Ke(e) {
|
|
3983
|
+
return e == null ? !1 : Be(e).some(
|
|
4021
3984
|
(t) => {
|
|
4022
3985
|
var r;
|
|
4023
|
-
return (r =
|
|
3986
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
4024
3987
|
}
|
|
4025
3988
|
);
|
|
4026
3989
|
}
|
|
4027
|
-
function
|
|
3990
|
+
function Hi(e, t) {
|
|
4028
3991
|
return Promise.all(
|
|
4029
|
-
t.map((n) => (
|
|
4030
|
-
).then((n) =>
|
|
4031
|
-
}
|
|
4032
|
-
const
|
|
4033
|
-
function
|
|
4034
|
-
if (!
|
|
4035
|
-
return e in
|
|
4036
|
-
const t =
|
|
4037
|
-
return
|
|
3992
|
+
t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
|
|
3993
|
+
).then((n) => fr(e, ...n));
|
|
3994
|
+
}
|
|
3995
|
+
const ae = {};
|
|
3996
|
+
function dr(e) {
|
|
3997
|
+
if (!Ke(e))
|
|
3998
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
3999
|
+
const t = wi(e);
|
|
4000
|
+
return ae[e] = Promise.all(
|
|
4038
4001
|
t.map(
|
|
4039
|
-
([r, n]) =>
|
|
4002
|
+
([r, n]) => Hi(r, n)
|
|
4040
4003
|
)
|
|
4041
4004
|
).then(() => {
|
|
4042
|
-
if (
|
|
4043
|
-
return
|
|
4044
|
-
delete
|
|
4045
|
-
}),
|
|
4005
|
+
if (Ke(e))
|
|
4006
|
+
return dr(e);
|
|
4007
|
+
delete ae[e];
|
|
4008
|
+
}), ae[e];
|
|
4046
4009
|
}
|
|
4047
|
-
const
|
|
4010
|
+
const Ai = {
|
|
4048
4011
|
number: {
|
|
4049
4012
|
scientific: { notation: "scientific" },
|
|
4050
4013
|
engineering: { notation: "engineering" },
|
|
@@ -4073,150 +4036,150 @@ const Di = {
|
|
|
4073
4036
|
timeZoneName: "short"
|
|
4074
4037
|
}
|
|
4075
4038
|
}
|
|
4076
|
-
},
|
|
4039
|
+
}, Bi = {
|
|
4077
4040
|
fallbackLocale: null,
|
|
4078
4041
|
loadingDelay: 200,
|
|
4079
|
-
formats:
|
|
4042
|
+
formats: Ai,
|
|
4080
4043
|
warnOnMissingMessages: !0,
|
|
4081
4044
|
handleMissingMessage: void 0,
|
|
4082
4045
|
ignoreTag: !0
|
|
4083
|
-
},
|
|
4084
|
-
function
|
|
4085
|
-
return
|
|
4046
|
+
}, Pi = Bi;
|
|
4047
|
+
function re() {
|
|
4048
|
+
return Pi;
|
|
4086
4049
|
}
|
|
4087
|
-
const
|
|
4088
|
-
var
|
|
4050
|
+
const Ue = He(!1);
|
|
4051
|
+
var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
|
4089
4052
|
for (var r in t)
|
|
4090
|
-
|
|
4091
|
-
if (
|
|
4092
|
-
for (var r of
|
|
4093
|
-
|
|
4053
|
+
Ii.call(t, r) && At(e, r, t[r]);
|
|
4054
|
+
if (Ht)
|
|
4055
|
+
for (var r of Ht(t))
|
|
4056
|
+
Ci.call(t, r) && At(e, r, t[r]);
|
|
4094
4057
|
return e;
|
|
4095
|
-
},
|
|
4096
|
-
let
|
|
4097
|
-
const
|
|
4098
|
-
function
|
|
4058
|
+
}, Ri = (e, t) => Oi(e, Li(t));
|
|
4059
|
+
let et;
|
|
4060
|
+
const xe = He(null);
|
|
4061
|
+
function Bt(e) {
|
|
4099
4062
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4100
4063
|
}
|
|
4101
|
-
function
|
|
4102
|
-
const r =
|
|
4103
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4064
|
+
function Be(e, t = re().fallbackLocale) {
|
|
4065
|
+
const r = Bt(e);
|
|
4066
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
4104
4067
|
}
|
|
4105
|
-
function
|
|
4106
|
-
return
|
|
4068
|
+
function V() {
|
|
4069
|
+
return et ?? void 0;
|
|
4107
4070
|
}
|
|
4108
|
-
|
|
4109
|
-
|
|
4071
|
+
xe.subscribe((e) => {
|
|
4072
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4110
4073
|
});
|
|
4111
|
-
const
|
|
4112
|
-
if (e &&
|
|
4113
|
-
const { loadingDelay: t } =
|
|
4074
|
+
const Gi = (e) => {
|
|
4075
|
+
if (e && Si(e) && Ke(e)) {
|
|
4076
|
+
const { loadingDelay: t } = re();
|
|
4114
4077
|
let r;
|
|
4115
|
-
return typeof window
|
|
4116
|
-
() =>
|
|
4078
|
+
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
|
4079
|
+
() => Ue.set(!0),
|
|
4117
4080
|
t
|
|
4118
|
-
) :
|
|
4119
|
-
|
|
4081
|
+
) : Ue.set(!0), dr(e).then(() => {
|
|
4082
|
+
xe.set(e);
|
|
4120
4083
|
}).finally(() => {
|
|
4121
|
-
clearTimeout(r),
|
|
4084
|
+
clearTimeout(r), Ue.set(!1);
|
|
4122
4085
|
});
|
|
4123
4086
|
}
|
|
4124
|
-
return
|
|
4125
|
-
},
|
|
4126
|
-
set:
|
|
4127
|
-
}),
|
|
4087
|
+
return xe.set(e);
|
|
4088
|
+
}, de = Ri(Mi({}, xe), {
|
|
4089
|
+
set: Gi
|
|
4090
|
+
}), Pe = (e) => {
|
|
4128
4091
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4129
4092
|
return (n) => {
|
|
4130
4093
|
const i = JSON.stringify(n);
|
|
4131
4094
|
return i in t ? t[i] : t[i] = e(n);
|
|
4132
4095
|
};
|
|
4133
4096
|
};
|
|
4134
|
-
var
|
|
4097
|
+
var Ui = Object.defineProperty, Se = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4135
4098
|
for (var r in t || (t = {}))
|
|
4136
|
-
|
|
4137
|
-
if (
|
|
4138
|
-
for (var r of
|
|
4139
|
-
|
|
4099
|
+
br.call(t, r) && Pt(e, r, t[r]);
|
|
4100
|
+
if (Se)
|
|
4101
|
+
for (var r of Se(t))
|
|
4102
|
+
pr.call(t, r) && Pt(e, r, t[r]);
|
|
4140
4103
|
return e;
|
|
4141
|
-
},
|
|
4104
|
+
}, oe = (e, t) => {
|
|
4142
4105
|
var r = {};
|
|
4143
4106
|
for (var n in e)
|
|
4144
|
-
|
|
4145
|
-
if (e != null &&
|
|
4146
|
-
for (var n of
|
|
4147
|
-
t.indexOf(n) < 0 &&
|
|
4107
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4108
|
+
if (e != null && Se)
|
|
4109
|
+
for (var n of Se(e))
|
|
4110
|
+
t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
|
|
4148
4111
|
return r;
|
|
4149
4112
|
};
|
|
4150
|
-
const
|
|
4151
|
-
const { formats: r } =
|
|
4113
|
+
const ce = (e, t) => {
|
|
4114
|
+
const { formats: r } = re();
|
|
4152
4115
|
if (e in r && t in r[e])
|
|
4153
4116
|
return r[e][t];
|
|
4154
4117
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4155
|
-
},
|
|
4118
|
+
}, Di = Pe(
|
|
4156
4119
|
(e) => {
|
|
4157
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4120
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4158
4121
|
if (r == null)
|
|
4159
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4160
|
-
return n && (i =
|
|
4123
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
|
4161
4124
|
}
|
|
4162
|
-
),
|
|
4125
|
+
), Fi = Pe(
|
|
4163
4126
|
(e) => {
|
|
4164
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4127
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4165
4128
|
if (r == null)
|
|
4166
4129
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4167
|
-
return n ? i =
|
|
4130
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4168
4131
|
}
|
|
4169
|
-
),
|
|
4132
|
+
), $i = Pe(
|
|
4170
4133
|
(e) => {
|
|
4171
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4134
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4172
4135
|
if (r == null)
|
|
4173
4136
|
throw new Error(
|
|
4174
4137
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4175
4138
|
);
|
|
4176
|
-
return n ? i =
|
|
4139
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4177
4140
|
}
|
|
4178
|
-
),
|
|
4141
|
+
), ji = (e = {}) => {
|
|
4179
4142
|
var t = e, {
|
|
4180
|
-
locale: r =
|
|
4181
|
-
} = t, n =
|
|
4143
|
+
locale: r = V()
|
|
4144
|
+
} = t, n = oe(t, [
|
|
4182
4145
|
"locale"
|
|
4183
4146
|
]);
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4147
|
+
return Di(nt({ locale: r }, n));
|
|
4148
|
+
}, ki = (e = {}) => {
|
|
4186
4149
|
var t = e, {
|
|
4187
|
-
locale: r =
|
|
4188
|
-
} = t, n =
|
|
4150
|
+
locale: r = V()
|
|
4151
|
+
} = t, n = oe(t, [
|
|
4189
4152
|
"locale"
|
|
4190
4153
|
]);
|
|
4191
|
-
return
|
|
4192
|
-
},
|
|
4154
|
+
return Fi(nt({ locale: r }, n));
|
|
4155
|
+
}, Vi = (e = {}) => {
|
|
4193
4156
|
var t = e, {
|
|
4194
|
-
locale: r =
|
|
4195
|
-
} = t, n =
|
|
4157
|
+
locale: r = V()
|
|
4158
|
+
} = t, n = oe(t, [
|
|
4196
4159
|
"locale"
|
|
4197
4160
|
]);
|
|
4198
|
-
return
|
|
4199
|
-
},
|
|
4161
|
+
return $i(nt({ locale: r }, n));
|
|
4162
|
+
}, Xi = Pe(
|
|
4200
4163
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4201
|
-
(e, t =
|
|
4202
|
-
ignoreTag:
|
|
4164
|
+
(e, t = V()) => new yi(e, t, re().formats, {
|
|
4165
|
+
ignoreTag: re().ignoreTag
|
|
4203
4166
|
})
|
|
4204
|
-
),
|
|
4167
|
+
), Wi = (e, t = {}) => {
|
|
4205
4168
|
var r, n, i, s;
|
|
4206
4169
|
let o = t;
|
|
4207
4170
|
typeof e == "object" && (o = e, e = o.id);
|
|
4208
4171
|
const {
|
|
4209
4172
|
values: a,
|
|
4210
|
-
locale: h =
|
|
4173
|
+
locale: h = V(),
|
|
4211
4174
|
default: u
|
|
4212
4175
|
} = o;
|
|
4213
4176
|
if (h == null)
|
|
4214
4177
|
throw new Error(
|
|
4215
4178
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4216
4179
|
);
|
|
4217
|
-
let l =
|
|
4180
|
+
let l = lr(e, h);
|
|
4218
4181
|
if (!l)
|
|
4219
|
-
l = (s = (i = (n = (r =
|
|
4182
|
+
l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4220
4183
|
else if (typeof l != "string")
|
|
4221
4184
|
return console.warn(
|
|
4222
4185
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4225,7 +4188,7 @@ const fe = (e, t) => {
|
|
|
4225
4188
|
return l;
|
|
4226
4189
|
let m = l;
|
|
4227
4190
|
try {
|
|
4228
|
-
m =
|
|
4191
|
+
m = Xi(l, h).format(a);
|
|
4229
4192
|
} catch (c) {
|
|
4230
4193
|
c instanceof Error && console.warn(
|
|
4231
4194
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4233,17 +4196,17 @@ const fe = (e, t) => {
|
|
|
4233
4196
|
);
|
|
4234
4197
|
}
|
|
4235
4198
|
return m;
|
|
4236
|
-
},
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
window.emWidgets = { topic:
|
|
4242
|
-
const
|
|
4243
|
-
function
|
|
4244
|
-
|
|
4245
|
-
}
|
|
4246
|
-
const
|
|
4199
|
+
}, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => lr(e, t), qi = se([de, me], () => Wi);
|
|
4200
|
+
se([de], () => zi);
|
|
4201
|
+
se([de], () => Zi);
|
|
4202
|
+
se([de], () => Qi);
|
|
4203
|
+
se([de, me], () => Yi);
|
|
4204
|
+
window.emWidgets = { topic: ln };
|
|
4205
|
+
const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4206
|
+
function Nt(e, t) {
|
|
4207
|
+
fr(e, t);
|
|
4208
|
+
}
|
|
4209
|
+
const Ot = {
|
|
4247
4210
|
en: {
|
|
4248
4211
|
lobbyName: "Lobby",
|
|
4249
4212
|
myGamesName: "My games"
|
|
@@ -4317,7 +4280,7 @@ const Gt = {
|
|
|
4317
4280
|
myGamesName: "My games"
|
|
4318
4281
|
}
|
|
4319
4282
|
};
|
|
4320
|
-
if (typeof window
|
|
4283
|
+
if (typeof window < "u") {
|
|
4321
4284
|
let e = function(t) {
|
|
4322
4285
|
return function(...r) {
|
|
4323
4286
|
try {
|
|
@@ -4329,18 +4292,18 @@ if (typeof window != "undefined") {
|
|
|
4329
4292
|
}
|
|
4330
4293
|
};
|
|
4331
4294
|
};
|
|
4332
|
-
customElements.define = e(customElements.define), import("./CasinoSliderNd-
|
|
4295
|
+
customElements.define = e(customElements.define), import("./CasinoSliderNd-D7nDv3jr.js").then(({ default: t }) => {
|
|
4333
4296
|
!customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
|
|
4334
4297
|
});
|
|
4335
4298
|
}
|
|
4336
|
-
function
|
|
4337
|
-
|
|
4299
|
+
function Ki(e) {
|
|
4300
|
+
Lr(e, "svelte-1abcr2p", ".CasinoCategoriesLoading.svelte-1abcr2p{height:52px}p.svelte-1abcr2p{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1abcr2p{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}");
|
|
4338
4301
|
}
|
|
4339
|
-
function
|
|
4302
|
+
function es(e) {
|
|
4340
4303
|
let t, r, n, i;
|
|
4341
4304
|
return {
|
|
4342
4305
|
c() {
|
|
4343
|
-
t =
|
|
4306
|
+
t = k("div"), r = k("casino-slider-nd"), _(
|
|
4344
4307
|
r,
|
|
4345
4308
|
"lang",
|
|
4346
4309
|
/*lang*/
|
|
@@ -4355,7 +4318,7 @@ function fs(e) {
|
|
|
4355
4318
|
"endpoint",
|
|
4356
4319
|
/*endpoint*/
|
|
4357
4320
|
e[1]
|
|
4358
|
-
), _(r, "identity",
|
|
4321
|
+
), _(r, "identity", gr), _(
|
|
4359
4322
|
r,
|
|
4360
4323
|
"favoritesnumber",
|
|
4361
4324
|
/*numberOfFavoredGames*/
|
|
@@ -4405,10 +4368,10 @@ function fs(e) {
|
|
|
4405
4368
|
"mygamesiconimage",
|
|
4406
4369
|
/*mygamesiconimage*/
|
|
4407
4370
|
e[11]
|
|
4408
|
-
),
|
|
4371
|
+
), J(t, "class", "CasinoCategoriesContainer svelte-1abcr2p"), J(t, "part", "CasinoCategoriesContainer");
|
|
4409
4372
|
},
|
|
4410
4373
|
m(s, o) {
|
|
4411
|
-
|
|
4374
|
+
fe(s, t, o), Mt(t, r), n || (i = Or(
|
|
4412
4375
|
/*sendSliderData*/
|
|
4413
4376
|
e[16].call(null, r)
|
|
4414
4377
|
), n = !0);
|
|
@@ -4495,58 +4458,58 @@ function fs(e) {
|
|
|
4495
4458
|
);
|
|
4496
4459
|
},
|
|
4497
4460
|
d(s) {
|
|
4498
|
-
s &&
|
|
4461
|
+
s && ie(t), n = !1, i();
|
|
4499
4462
|
}
|
|
4500
4463
|
};
|
|
4501
4464
|
}
|
|
4502
|
-
function
|
|
4465
|
+
function ts(e) {
|
|
4503
4466
|
let t;
|
|
4504
4467
|
return {
|
|
4505
4468
|
c() {
|
|
4506
|
-
t =
|
|
4469
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", J(t, "class", "SearchLoading svelte-1abcr2p");
|
|
4507
4470
|
},
|
|
4508
4471
|
m(r, n) {
|
|
4509
|
-
|
|
4472
|
+
fe(r, t, n);
|
|
4510
4473
|
},
|
|
4511
4474
|
p: B,
|
|
4512
4475
|
d(r) {
|
|
4513
|
-
r &&
|
|
4476
|
+
r && ie(t);
|
|
4514
4477
|
}
|
|
4515
4478
|
};
|
|
4516
4479
|
}
|
|
4517
|
-
function
|
|
4480
|
+
function rs(e) {
|
|
4518
4481
|
let t;
|
|
4519
4482
|
return {
|
|
4520
4483
|
c() {
|
|
4521
|
-
t =
|
|
4484
|
+
t = k("div"), J(t, "class", "CasinoCategoriesLoading svelte-1abcr2p");
|
|
4522
4485
|
},
|
|
4523
4486
|
m(r, n) {
|
|
4524
|
-
|
|
4487
|
+
fe(r, t, n);
|
|
4525
4488
|
},
|
|
4526
4489
|
p: B,
|
|
4527
4490
|
d(r) {
|
|
4528
|
-
r &&
|
|
4491
|
+
r && ie(t);
|
|
4529
4492
|
}
|
|
4530
4493
|
};
|
|
4531
4494
|
}
|
|
4532
|
-
function
|
|
4495
|
+
function ns(e) {
|
|
4533
4496
|
let t;
|
|
4534
4497
|
function r(s, o) {
|
|
4535
4498
|
return (
|
|
4536
4499
|
/*isLoading*/
|
|
4537
|
-
s[12] ||
|
|
4500
|
+
s[12] || is || ss ? rs : (
|
|
4538
4501
|
/*hasErrors*/
|
|
4539
|
-
s[14] ?
|
|
4502
|
+
s[14] ? ts : es
|
|
4540
4503
|
)
|
|
4541
4504
|
);
|
|
4542
4505
|
}
|
|
4543
4506
|
let n = r(e), i = n(e);
|
|
4544
4507
|
return {
|
|
4545
4508
|
c() {
|
|
4546
|
-
t =
|
|
4509
|
+
t = k("div"), i.c();
|
|
4547
4510
|
},
|
|
4548
4511
|
m(s, o) {
|
|
4549
|
-
|
|
4512
|
+
fe(s, t, o), i.m(t, null), e[26](t);
|
|
4550
4513
|
},
|
|
4551
4514
|
p(s, o) {
|
|
4552
4515
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
@@ -4554,104 +4517,104 @@ function bs(e) {
|
|
|
4554
4517
|
i: B,
|
|
4555
4518
|
o: B,
|
|
4556
4519
|
d(s) {
|
|
4557
|
-
s &&
|
|
4520
|
+
s && ie(t), i.d(), e[26](null);
|
|
4558
4521
|
}
|
|
4559
4522
|
};
|
|
4560
4523
|
}
|
|
4561
|
-
let
|
|
4562
|
-
function
|
|
4524
|
+
let gr = "CasinoSliderData", is = !1, ss = !1;
|
|
4525
|
+
function os(e, t, r) {
|
|
4563
4526
|
let n;
|
|
4564
|
-
|
|
4565
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: w = "" } = t, { location:
|
|
4566
|
-
const
|
|
4527
|
+
Nr(e, qi, (f) => r(32, n = f));
|
|
4528
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: w = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: E = "" } = t, L, I, M = !0, X, W = [], $ = !1, yr = window.navigator.userAgent, j, it, st = !1, Ne = !1;
|
|
4529
|
+
const vr = () => {
|
|
4567
4530
|
fetch(N).then((H) => H.json()).then((H) => {
|
|
4568
|
-
Object.keys(H).forEach((
|
|
4569
|
-
|
|
4531
|
+
Object.keys(H).forEach((D) => {
|
|
4532
|
+
Nt(D, H[D]);
|
|
4570
4533
|
});
|
|
4571
4534
|
}).catch((H) => {
|
|
4572
4535
|
console.log(H);
|
|
4573
4536
|
});
|
|
4574
4537
|
};
|
|
4575
|
-
Object.keys(
|
|
4576
|
-
|
|
4538
|
+
Object.keys(Ot).forEach((f) => {
|
|
4539
|
+
Nt(f, Ot[f]);
|
|
4577
4540
|
});
|
|
4578
|
-
const
|
|
4579
|
-
|
|
4541
|
+
const _r = () => {
|
|
4542
|
+
st == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
|
4580
4543
|
// @ts-ignore
|
|
4581
4544
|
id: "MYGAMES",
|
|
4582
4545
|
name: L,
|
|
4583
4546
|
href: "",
|
|
4584
4547
|
games: []
|
|
4585
|
-
}),
|
|
4586
|
-
},
|
|
4587
|
-
if (L = n("myGamesName"),
|
|
4548
|
+
}), Ur(), st = !0, r(25, Ne = !0), ot();
|
|
4549
|
+
}, Er = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(14, $ = !0), r(12, M = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(14, $ = !0), r(12, M = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(14, $ = !0), r(12, M = !1), console.error(X)), $), xr = () => {
|
|
4550
|
+
if (L = n("myGamesName"), I = n("lobbyName"), !Er()) {
|
|
4588
4551
|
let f = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4589
|
-
f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform",
|
|
4552
|
+
f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", Ji(yr)), fetch(f).then((H) => H.json()).then(
|
|
4590
4553
|
(H) => {
|
|
4591
|
-
let
|
|
4592
|
-
let
|
|
4593
|
-
if (
|
|
4594
|
-
for (let
|
|
4595
|
-
|
|
4596
|
-
return
|
|
4554
|
+
let D = T.split(","), Ar = H.items.filter((at) => {
|
|
4555
|
+
let Oe = !1;
|
|
4556
|
+
if (at.games.total > 0 && (Oe = !0, T))
|
|
4557
|
+
for (let Br of D)
|
|
4558
|
+
at.flags == Br && (Oe = !1);
|
|
4559
|
+
return Oe;
|
|
4597
4560
|
});
|
|
4598
|
-
|
|
4561
|
+
W = [], W = W.concat(Ar), W.unshift({
|
|
4599
4562
|
// @ts-ignore
|
|
4600
4563
|
id: "LOBBY",
|
|
4601
|
-
name:
|
|
4564
|
+
name: I,
|
|
4602
4565
|
href: "",
|
|
4603
4566
|
games: []
|
|
4604
4567
|
}), r(12, M = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
|
4605
4568
|
},
|
|
4606
4569
|
(H) => {
|
|
4607
|
-
r(14,
|
|
4570
|
+
r(14, $ = !0), console.error("There was an error while fetching the categories", H);
|
|
4608
4571
|
}
|
|
4609
4572
|
).catch((H) => {
|
|
4610
|
-
r(14,
|
|
4573
|
+
r(14, $ = !0), console.error("There was an error while fetching the categories", H);
|
|
4611
4574
|
});
|
|
4612
4575
|
}
|
|
4613
|
-
},
|
|
4576
|
+
}, Sr = () => {
|
|
4614
4577
|
let f = b.split("$");
|
|
4615
4578
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4616
|
-
},
|
|
4579
|
+
}, Tr = () => {
|
|
4617
4580
|
let f = document.createElement("style");
|
|
4618
|
-
f.innerHTML = c,
|
|
4619
|
-
},
|
|
4581
|
+
f.innerHTML = c, j.appendChild(f);
|
|
4582
|
+
}, wr = () => {
|
|
4620
4583
|
let f = document.createElement("style"), H = new URL(d);
|
|
4621
|
-
fetch(H.href).then((
|
|
4622
|
-
f.innerHTML =
|
|
4584
|
+
fetch(H.href).then((D) => D.text()).then((D) => {
|
|
4585
|
+
f.innerHTML = D, setTimeout(
|
|
4623
4586
|
() => {
|
|
4624
|
-
|
|
4587
|
+
j.appendChild(f);
|
|
4625
4588
|
},
|
|
4626
4589
|
1
|
|
4627
4590
|
);
|
|
4628
4591
|
});
|
|
4629
|
-
},
|
|
4592
|
+
}, ot = () => {
|
|
4630
4593
|
window.postMessage(
|
|
4631
4594
|
{
|
|
4632
4595
|
type: "SliderData",
|
|
4633
|
-
identity:
|
|
4634
|
-
data:
|
|
4596
|
+
identity: gr,
|
|
4597
|
+
data: W
|
|
4635
4598
|
},
|
|
4636
4599
|
window.location.href
|
|
4637
4600
|
);
|
|
4638
4601
|
};
|
|
4639
|
-
function
|
|
4640
|
-
|
|
4641
|
-
|
|
4602
|
+
function Hr(f) {
|
|
4603
|
+
De[f ? "unshift" : "push"](() => {
|
|
4604
|
+
j = f, r(13, j);
|
|
4642
4605
|
});
|
|
4643
4606
|
}
|
|
4644
4607
|
return e.$$set = (f) => {
|
|
4645
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, w = f.sessioncheck), "location" in f && r(7,
|
|
4608
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, w = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, T = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage);
|
|
4646
4609
|
}, e.$$.update = () => {
|
|
4647
4610
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4648
|
-
14 && i && s && o &&
|
|
4649
|
-
3936258 && i && h && (u || l || m) && !M &&
|
|
4650
|
-
33820673 && !M && b && (!h ||
|
|
4651
|
-
8208 && c &&
|
|
4652
|
-
16777216 && N &&
|
|
4653
|
-
8224 && d &&
|
|
4654
|
-
}, r(15,
|
|
4611
|
+
14 && i && s && o && xr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4612
|
+
3936258 && i && h && (u || l || m) && !M && _r(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4613
|
+
33820673 && !M && b && (!h || Ne) && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4614
|
+
8208 && c && j && Tr(), e.$$.dirty[0] & /*translationurl*/
|
|
4615
|
+
16777216 && N && vr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4616
|
+
8224 && d && j && wr();
|
|
4617
|
+
}, r(15, it = 0), [
|
|
4655
4618
|
b,
|
|
4656
4619
|
i,
|
|
4657
4620
|
s,
|
|
@@ -4659,16 +4622,16 @@ function ys(e, t, r) {
|
|
|
4659
4622
|
c,
|
|
4660
4623
|
d,
|
|
4661
4624
|
y,
|
|
4662
|
-
|
|
4625
|
+
C,
|
|
4663
4626
|
P,
|
|
4664
4627
|
O,
|
|
4665
|
-
|
|
4628
|
+
R,
|
|
4666
4629
|
E,
|
|
4667
4630
|
M,
|
|
4668
|
-
k,
|
|
4669
4631
|
j,
|
|
4632
|
+
$,
|
|
4633
|
+
it,
|
|
4670
4634
|
ot,
|
|
4671
|
-
ut,
|
|
4672
4635
|
a,
|
|
4673
4636
|
h,
|
|
4674
4637
|
u,
|
|
@@ -4677,18 +4640,18 @@ function ys(e, t, r) {
|
|
|
4677
4640
|
w,
|
|
4678
4641
|
T,
|
|
4679
4642
|
N,
|
|
4680
|
-
|
|
4681
|
-
|
|
4643
|
+
Ne,
|
|
4644
|
+
Hr
|
|
4682
4645
|
];
|
|
4683
4646
|
}
|
|
4684
|
-
class
|
|
4647
|
+
class as extends zr {
|
|
4685
4648
|
constructor(t) {
|
|
4686
|
-
super(),
|
|
4649
|
+
super(), Xr(
|
|
4687
4650
|
this,
|
|
4688
4651
|
t,
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4652
|
+
os,
|
|
4653
|
+
ns,
|
|
4654
|
+
It,
|
|
4692
4655
|
{
|
|
4693
4656
|
endpoint: 1,
|
|
4694
4657
|
datasource: 2,
|
|
@@ -4711,7 +4674,7 @@ class Tr extends on {
|
|
|
4711
4674
|
lobbyiconimage: 10,
|
|
4712
4675
|
mygamesiconimage: 11
|
|
4713
4676
|
},
|
|
4714
|
-
|
|
4677
|
+
Ki,
|
|
4715
4678
|
[-1, -1]
|
|
4716
4679
|
);
|
|
4717
4680
|
}
|
|
@@ -4836,41 +4799,37 @@ class Tr extends on {
|
|
|
4836
4799
|
this.$$set({ mygamesiconimage: t }), S();
|
|
4837
4800
|
}
|
|
4838
4801
|
}
|
|
4839
|
-
|
|
4840
|
-
const Os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4841
|
-
__proto__: null,
|
|
4842
|
-
default: Tr
|
|
4843
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
4802
|
+
Wr(as, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
4844
4803
|
export {
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4804
|
+
de as $,
|
|
4805
|
+
ls as A,
|
|
4806
|
+
us as B,
|
|
4807
|
+
as as C,
|
|
4808
|
+
zr as S,
|
|
4809
|
+
me as a,
|
|
4810
|
+
fr as b,
|
|
4811
|
+
Wr as c,
|
|
4812
|
+
Lr as d,
|
|
4813
|
+
k as e,
|
|
4855
4814
|
S as f,
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4815
|
+
cs as g,
|
|
4816
|
+
J as h,
|
|
4817
|
+
Xr as i,
|
|
4818
|
+
fe as j,
|
|
4819
|
+
Mt as k,
|
|
4820
|
+
ms as l,
|
|
4821
|
+
ie as m,
|
|
4863
4822
|
B as n,
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4823
|
+
Ji as o,
|
|
4824
|
+
bs as p,
|
|
4825
|
+
ps as q,
|
|
4826
|
+
ne as r,
|
|
4827
|
+
It as s,
|
|
4828
|
+
fs as t,
|
|
4829
|
+
ys as u,
|
|
4830
|
+
De as v,
|
|
4831
|
+
gs as w,
|
|
4832
|
+
hs as x,
|
|
4833
|
+
Rt as y,
|
|
4834
|
+
ds as z
|
|
4876
4835
|
};
|