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