@everymatrix/casino-categories-vendor-bar 1.74.10 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCategoriesVendorBar-BayrDBfl.cjs +18 -0
- package/components/{CasinoCategoriesVendorBar-Bp-jLYV9.js → CasinoCategoriesVendorBar-Bqyy8n97.js} +814 -800
- package/components/{CasinoCategoriesVendorBar-ZLLz2FCr.js → CasinoCategoriesVendorBar-al9mcHWZ.js} +843 -829
- package/es2015/casino-categories-vendor-bar.cjs +1 -1
- package/es2015/casino-categories-vendor-bar.js +1 -1
- package/esnext/casino-categories-vendor-bar.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesVendorBar-CFd37_hY.cjs +0 -18
package/components/{CasinoCategoriesVendorBar-ZLLz2FCr.js → CasinoCategoriesVendorBar-al9mcHWZ.js}
RENAMED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ne = (e, t, r) => t in e ?
|
|
1
|
+
var jr = Object.defineProperty, Vr = Object.defineProperties;
|
|
2
|
+
var Wr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var dt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ne = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Xr.call(t, r) && Ne(e, r, t[r]);
|
|
8
|
+
if (dt)
|
|
9
|
+
for (var r of dt(t))
|
|
10
|
+
zr.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, mt = (e, t) => Vr(e, Wr(t));
|
|
13
13
|
var k = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
15
|
-
var o = (
|
|
14
|
+
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
a(r.next(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
a(r.next(l));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
|
-
}, s = (
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
a(r.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
a(r.throw(l));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Yt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function gt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Yt);
|
|
40
40
|
}
|
|
41
41
|
function Te(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function qt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let be;
|
|
48
48
|
function Ce(e, t) {
|
|
49
49
|
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Zr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Qr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -63,14 +63,14 @@ function Xr(e, ...t) {
|
|
|
63
63
|
function H(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function Yr(e, t, r) {
|
|
67
|
+
const n = qr(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
69
|
const i = T("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
i.id = t, i.textContent = r, Jr(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function qr(e) {
|
|
74
74
|
if (!e)
|
|
75
75
|
return document;
|
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -80,14 +80,14 @@ function Zr(e) {
|
|
|
80
80
|
t
|
|
81
81
|
) : e.ownerDocument;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Jr(e, t) {
|
|
84
84
|
return H(
|
|
85
85
|
/** @type {Document} */
|
|
86
86
|
e.head || e,
|
|
87
87
|
t
|
|
88
88
|
), t.sheet;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function M(e, t, r) {
|
|
91
91
|
e.insertBefore(t, r || null);
|
|
92
92
|
}
|
|
93
93
|
function B(e) {
|
|
@@ -102,7 +102,7 @@ function me(e) {
|
|
|
102
102
|
function F() {
|
|
103
103
|
return me(" ");
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ot() {
|
|
106
106
|
return me("");
|
|
107
107
|
}
|
|
108
108
|
function K(e, t, r, n) {
|
|
@@ -111,14 +111,14 @@ function K(e, t, r, n) {
|
|
|
111
111
|
function E(e, t, r) {
|
|
112
112
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Kr(e) {
|
|
115
115
|
return Array.from(e.childNodes);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function st(e, t) {
|
|
118
118
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
119
119
|
t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function en(e) {
|
|
122
122
|
const t = {};
|
|
123
123
|
return e.childNodes.forEach(
|
|
124
124
|
/** @param {Element} node */
|
|
@@ -127,26 +127,26 @@ function qr(e) {
|
|
|
127
127
|
}
|
|
128
128
|
), t;
|
|
129
129
|
}
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
let fe;
|
|
131
|
+
function ce(e) {
|
|
132
|
+
fe = e;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
if (!
|
|
134
|
+
function tn() {
|
|
135
|
+
if (!fe)
|
|
136
136
|
throw new Error("Function called outside component initialization");
|
|
137
|
-
return
|
|
137
|
+
return fe;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
139
|
+
function rn(e) {
|
|
140
|
+
tn().$$.on_mount.push(e);
|
|
141
141
|
}
|
|
142
142
|
const J = [], ee = [];
|
|
143
143
|
let te = [];
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
function
|
|
147
|
-
|
|
144
|
+
const vt = [], nn = /* @__PURE__ */ Promise.resolve();
|
|
145
|
+
let Ve = !1;
|
|
146
|
+
function on() {
|
|
147
|
+
Ve || (Ve = !0, nn.then(U));
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function We(e) {
|
|
150
150
|
te.push(e);
|
|
151
151
|
}
|
|
152
152
|
const Re = /* @__PURE__ */ new Set();
|
|
@@ -154,17 +154,17 @@ let Y = 0;
|
|
|
154
154
|
function U() {
|
|
155
155
|
if (Y !== 0)
|
|
156
156
|
return;
|
|
157
|
-
const e =
|
|
157
|
+
const e = fe;
|
|
158
158
|
do {
|
|
159
159
|
try {
|
|
160
160
|
for (; Y < J.length; ) {
|
|
161
161
|
const t = J[Y];
|
|
162
|
-
Y++,
|
|
162
|
+
Y++, ce(t), sn(t.$$);
|
|
163
163
|
}
|
|
164
164
|
} catch (t) {
|
|
165
165
|
throw J.length = 0, Y = 0, t;
|
|
166
166
|
}
|
|
167
|
-
for (
|
|
167
|
+
for (ce(null), J.length = 0, Y = 0; ee.length; )
|
|
168
168
|
ee.pop()();
|
|
169
169
|
for (let t = 0; t < te.length; t += 1) {
|
|
170
170
|
const r = te[t];
|
|
@@ -172,113 +172,113 @@ function U() {
|
|
|
172
172
|
}
|
|
173
173
|
te.length = 0;
|
|
174
174
|
} while (J.length);
|
|
175
|
-
for (;
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
for (; vt.length; )
|
|
176
|
+
vt.pop()();
|
|
177
|
+
Ve = !1, Re.clear(), ce(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function sn(e) {
|
|
180
180
|
if (e.fragment !== null) {
|
|
181
181
|
e.update(), z(e.before_update);
|
|
182
182
|
const t = e.dirty;
|
|
183
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
183
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function an(e) {
|
|
187
187
|
const t = [], r = [];
|
|
188
188
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
function
|
|
192
|
-
e && e.i && (
|
|
190
|
+
const ln = /* @__PURE__ */ new Set();
|
|
191
|
+
function Jt(e, t) {
|
|
192
|
+
e && e.i && (ln.delete(e), e.i(t));
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function yt(e) {
|
|
195
195
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function un(e, t) {
|
|
198
198
|
e.d(1), t.delete(e.key);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
let
|
|
200
|
+
function hn(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
201
|
+
let f = e.length, b = o.length, p = f;
|
|
202
202
|
const m = {};
|
|
203
203
|
for (; p--; )
|
|
204
204
|
m[e[p].key] = p;
|
|
205
205
|
const C = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
|
|
206
206
|
for (p = b; p--; ) {
|
|
207
|
-
const g =
|
|
207
|
+
const g = c(i, o, p), $ = r(g);
|
|
208
208
|
let G = s.get($);
|
|
209
|
-
G ? I.push(() => G.p(g, t)) : (G =
|
|
209
|
+
G ? I.push(() => G.p(g, t)) : (G = u($, g), G.c()), P.set($, C[p] = G), $ in m && A.set($, Math.abs(p - m[$]));
|
|
210
210
|
}
|
|
211
211
|
const L = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
212
212
|
function R(g) {
|
|
213
|
-
|
|
213
|
+
Jt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
|
|
214
214
|
}
|
|
215
|
-
for (;
|
|
216
|
-
const g = C[b - 1], $ = e[
|
|
217
|
-
g === $ ? (h = g.first,
|
|
215
|
+
for (; f && b; ) {
|
|
216
|
+
const g = C[b - 1], $ = e[f - 1], G = g.key, Q = $.key;
|
|
217
|
+
g === $ ? (h = g.first, f--, b--) : P.has(Q) ? !s.has(G) || L.has(G) ? R(g) : S.has(Q) ? f-- : A.get(G) > A.get(Q) ? (S.add(G), R(g)) : (L.add(Q), f--) : (l($, s), f--);
|
|
218
218
|
}
|
|
219
|
-
for (;
|
|
220
|
-
const g = e[
|
|
221
|
-
P.has(g.key) ||
|
|
219
|
+
for (; f--; ) {
|
|
220
|
+
const g = e[f];
|
|
221
|
+
P.has(g.key) || l(g, s);
|
|
222
222
|
}
|
|
223
223
|
for (; b; )
|
|
224
224
|
R(C[b - 1]);
|
|
225
225
|
return z(I), C;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function cn(e, t, r) {
|
|
228
228
|
const { fragment: n, after_update: i } = e.$$;
|
|
229
|
-
n && n.m(t, r),
|
|
230
|
-
const o = e.$$.on_mount.map(
|
|
229
|
+
n && n.m(t, r), We(() => {
|
|
230
|
+
const o = e.$$.on_mount.map(Yt).filter(Te);
|
|
231
231
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
232
|
-
}), i.forEach(
|
|
232
|
+
}), i.forEach(We);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function fn(e, t) {
|
|
235
235
|
const r = e.$$;
|
|
236
|
-
r.fragment !== null && (
|
|
236
|
+
r.fragment !== null && (an(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
e.$$.dirty[0] === -1 && (J.push(e),
|
|
238
|
+
function dn(e, t) {
|
|
239
|
+
e.$$.dirty[0] === -1 && (J.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
242
|
-
const
|
|
243
|
-
|
|
244
|
-
const
|
|
241
|
+
function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
242
|
+
const l = fe;
|
|
243
|
+
ce(e);
|
|
244
|
+
const u = e.$$ = {
|
|
245
245
|
fragment: null,
|
|
246
246
|
ctx: [],
|
|
247
247
|
// state
|
|
248
248
|
props: o,
|
|
249
249
|
update: D,
|
|
250
250
|
not_equal: i,
|
|
251
|
-
bound:
|
|
251
|
+
bound: gt(),
|
|
252
252
|
// lifecycle
|
|
253
253
|
on_mount: [],
|
|
254
254
|
on_destroy: [],
|
|
255
255
|
on_disconnect: [],
|
|
256
256
|
before_update: [],
|
|
257
257
|
after_update: [],
|
|
258
|
-
context: new Map(t.context || (
|
|
258
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
259
259
|
// everything else
|
|
260
|
-
callbacks:
|
|
260
|
+
callbacks: gt(),
|
|
261
261
|
dirty: a,
|
|
262
262
|
skip_bound: !1,
|
|
263
|
-
root: t.target ||
|
|
263
|
+
root: t.target || l.$$.root
|
|
264
264
|
};
|
|
265
|
-
s && s(
|
|
265
|
+
s && s(u.root);
|
|
266
266
|
let h = !1;
|
|
267
|
-
if (
|
|
268
|
-
const p = b.length ? b[0] :
|
|
269
|
-
return
|
|
270
|
-
}),
|
|
267
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
|
268
|
+
const p = b.length ? b[0] : f;
|
|
269
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && dn(e, c)), f;
|
|
270
|
+
}) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
271
271
|
if (t.hydrate) {
|
|
272
|
-
const
|
|
273
|
-
|
|
272
|
+
const c = Kr(t.target);
|
|
273
|
+
u.fragment && u.fragment.l(c), c.forEach(B);
|
|
274
274
|
} else
|
|
275
|
-
|
|
276
|
-
t.intro &&
|
|
275
|
+
u.fragment && u.fragment.c();
|
|
276
|
+
t.intro && Jt(e.$$.fragment), cn(e, t.target, t.anchor), U();
|
|
277
277
|
}
|
|
278
|
-
|
|
278
|
+
ce(l);
|
|
279
279
|
}
|
|
280
|
-
let
|
|
281
|
-
typeof HTMLElement == "function" && (
|
|
280
|
+
let Kt;
|
|
281
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
282
282
|
constructor(t, r, n) {
|
|
283
283
|
super();
|
|
284
284
|
/** The Svelte component constructor */
|
|
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
connectedCallback() {
|
|
318
|
-
return
|
|
318
|
+
return bt(this, null, function* () {
|
|
319
319
|
if (this.$$cn = !0, !this.$$c) {
|
|
320
320
|
let t = function(o) {
|
|
321
321
|
return () => {
|
|
@@ -328,29 +328,29 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
328
328
|
* @param {HTMLElement} target
|
|
329
329
|
* @param {HTMLElement} [anchor]
|
|
330
330
|
*/
|
|
331
|
-
m: function(
|
|
332
|
-
|
|
331
|
+
m: function(u, h) {
|
|
332
|
+
M(u, s, h);
|
|
333
333
|
},
|
|
334
|
-
d: function(
|
|
335
|
-
|
|
334
|
+
d: function(u) {
|
|
335
|
+
u && B(s);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
341
341
|
return;
|
|
342
|
-
const r = {}, n =
|
|
342
|
+
const r = {}, n = en(this);
|
|
343
343
|
for (const o of this.$$s)
|
|
344
344
|
o in n && (r[o] = [t(o)]);
|
|
345
345
|
for (const o of this.attributes) {
|
|
346
346
|
const s = this.$$g_p(o.name);
|
|
347
|
-
s in this.$$d || (this.$$d[s] =
|
|
347
|
+
s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
|
|
348
348
|
}
|
|
349
349
|
for (const o in this.$$p_d)
|
|
350
350
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
351
351
|
this.$$c = new this.$$ctor({
|
|
352
352
|
target: this.shadowRoot || this,
|
|
353
|
-
props:
|
|
353
|
+
props: mt(pt({}, this.$$d), {
|
|
354
354
|
$$slots: r,
|
|
355
355
|
$$scope: {
|
|
356
356
|
ctx: []
|
|
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
361
361
|
this.$$r = !0;
|
|
362
362
|
for (const o in this.$$p_d)
|
|
363
363
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
364
|
-
const s =
|
|
364
|
+
const s = ye(
|
|
365
365
|
o,
|
|
366
366
|
this.$$d[o],
|
|
367
367
|
this.$$p_d,
|
|
@@ -385,7 +385,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
385
385
|
// and setting attributes through setAttribute etc, this is helpful
|
|
386
386
|
attributeChangedCallback(t, r, n) {
|
|
387
387
|
var i;
|
|
388
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
388
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
389
389
|
}
|
|
390
390
|
disconnectedCallback() {
|
|
391
391
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -398,7 +398,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
398
398
|
) || t;
|
|
399
399
|
}
|
|
400
400
|
});
|
|
401
|
-
function
|
|
401
|
+
function ye(e, t, r, n) {
|
|
402
402
|
var o;
|
|
403
403
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
404
404
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -428,8 +428,8 @@ function ve(e, t, r, n) {
|
|
|
428
428
|
return t;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
let s = class extends
|
|
431
|
+
function mn(e, t, r, n, i, o) {
|
|
432
|
+
let s = class extends Kt {
|
|
433
433
|
constructor() {
|
|
434
434
|
super(e, r, i), this.$$p_d = t;
|
|
435
435
|
}
|
|
@@ -444,22 +444,22 @@ function cn(e, t, r, n, i, o) {
|
|
|
444
444
|
get() {
|
|
445
445
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
446
446
|
},
|
|
447
|
-
set(
|
|
448
|
-
var
|
|
449
|
-
|
|
447
|
+
set(l) {
|
|
448
|
+
var u;
|
|
449
|
+
l = ye(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
450
450
|
}
|
|
451
451
|
});
|
|
452
452
|
}), n.forEach((a) => {
|
|
453
453
|
Object.defineProperty(s.prototype, a, {
|
|
454
454
|
get() {
|
|
455
|
-
var
|
|
456
|
-
return (
|
|
455
|
+
var l;
|
|
456
|
+
return (l = this.$$c) == null ? void 0 : l[a];
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
}), e.element = /** @type {any} */
|
|
460
460
|
s, s;
|
|
461
461
|
}
|
|
462
|
-
class
|
|
462
|
+
class bn {
|
|
463
463
|
constructor() {
|
|
464
464
|
/**
|
|
465
465
|
* ### PRIVATE API
|
|
@@ -480,7 +480,7 @@ class dn {
|
|
|
480
480
|
}
|
|
481
481
|
/** @returns {void} */
|
|
482
482
|
$destroy() {
|
|
483
|
-
|
|
483
|
+
fn(this, 1), this.$destroy = D;
|
|
484
484
|
}
|
|
485
485
|
/**
|
|
486
486
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -502,11 +502,11 @@ class dn {
|
|
|
502
502
|
* @returns {void}
|
|
503
503
|
*/
|
|
504
504
|
$set(t) {
|
|
505
|
-
this.$$set && !
|
|
505
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
const
|
|
509
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
508
|
+
const gn = "4";
|
|
509
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
510
510
|
/*! *****************************************************************************
|
|
511
511
|
Copyright (c) Microsoft Corporation.
|
|
512
512
|
|
|
@@ -521,18 +521,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
521
521
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
522
522
|
PERFORMANCE OF THIS SOFTWARE.
|
|
523
523
|
***************************************************************************** */
|
|
524
|
-
var
|
|
525
|
-
return
|
|
524
|
+
var Xe = function(e, t) {
|
|
525
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
526
526
|
r.__proto__ = n;
|
|
527
527
|
} || function(r, n) {
|
|
528
528
|
for (var i in n)
|
|
529
529
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
530
|
-
},
|
|
530
|
+
}, Xe(e, t);
|
|
531
531
|
};
|
|
532
532
|
function V(e, t) {
|
|
533
533
|
if (typeof t != "function" && t !== null)
|
|
534
534
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
535
|
-
|
|
535
|
+
Xe(e, t);
|
|
536
536
|
function r() {
|
|
537
537
|
this.constructor = e;
|
|
538
538
|
}
|
|
@@ -548,7 +548,7 @@ var _ = function() {
|
|
|
548
548
|
return t;
|
|
549
549
|
}, _.apply(this, arguments);
|
|
550
550
|
};
|
|
551
|
-
function
|
|
551
|
+
function vn(e, t) {
|
|
552
552
|
var r = {};
|
|
553
553
|
for (var n in e)
|
|
554
554
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -557,7 +557,7 @@ function mn(e, t) {
|
|
|
557
557
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
558
558
|
return r;
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function ze(e) {
|
|
561
561
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
562
562
|
if (r)
|
|
563
563
|
return r.call(e);
|
|
@@ -569,7 +569,7 @@ function Xe(e) {
|
|
|
569
569
|
};
|
|
570
570
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function Ze(e, t) {
|
|
573
573
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
574
574
|
if (!r)
|
|
575
575
|
return e;
|
|
@@ -598,13 +598,13 @@ function re(e, t, r) {
|
|
|
598
598
|
function j(e) {
|
|
599
599
|
return typeof e == "function";
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function er(e) {
|
|
602
602
|
var t = function(n) {
|
|
603
603
|
Error.call(n), n.stack = new Error().stack;
|
|
604
604
|
}, r = e(t);
|
|
605
605
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
606
606
|
}
|
|
607
|
-
var Ue =
|
|
607
|
+
var Ue = er(function(e) {
|
|
608
608
|
return function(r) {
|
|
609
609
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
610
610
|
` + r.map(function(n, i) {
|
|
@@ -613,7 +613,7 @@ var Ue = Jt(function(e) {
|
|
|
613
613
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
614
614
|
};
|
|
615
615
|
});
|
|
616
|
-
function
|
|
616
|
+
function Qe(e, t) {
|
|
617
617
|
if (e) {
|
|
618
618
|
var r = e.indexOf(t);
|
|
619
619
|
0 <= r && e.splice(r, 1);
|
|
@@ -631,15 +631,15 @@ var He = function() {
|
|
|
631
631
|
if (s)
|
|
632
632
|
if (this._parentage = null, Array.isArray(s))
|
|
633
633
|
try {
|
|
634
|
-
for (var a =
|
|
635
|
-
var
|
|
636
|
-
|
|
634
|
+
for (var a = ze(s), l = a.next(); !l.done; l = a.next()) {
|
|
635
|
+
var u = l.value;
|
|
636
|
+
u.remove(this);
|
|
637
637
|
}
|
|
638
638
|
} catch (m) {
|
|
639
639
|
t = { error: m };
|
|
640
640
|
} finally {
|
|
641
641
|
try {
|
|
642
|
-
|
|
642
|
+
l && !l.done && (r = a.return) && r.call(a);
|
|
643
643
|
} finally {
|
|
644
644
|
if (t)
|
|
645
645
|
throw t.error;
|
|
@@ -654,23 +654,23 @@ var He = function() {
|
|
|
654
654
|
} catch (m) {
|
|
655
655
|
o = m instanceof Ue ? m.errors : [m];
|
|
656
656
|
}
|
|
657
|
-
var
|
|
658
|
-
if (
|
|
657
|
+
var c = this._finalizers;
|
|
658
|
+
if (c) {
|
|
659
659
|
this._finalizers = null;
|
|
660
660
|
try {
|
|
661
|
-
for (var
|
|
661
|
+
for (var f = ze(c), b = f.next(); !b.done; b = f.next()) {
|
|
662
662
|
var p = b.value;
|
|
663
663
|
try {
|
|
664
|
-
|
|
664
|
+
_t(p);
|
|
665
665
|
} catch (m) {
|
|
666
|
-
o = o != null ? o : [], m instanceof Ue ? o = re(re([],
|
|
666
|
+
o = o != null ? o : [], m instanceof Ue ? o = re(re([], Ze(o)), Ze(m.errors)) : o.push(m);
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
} catch (m) {
|
|
670
670
|
n = { error: m };
|
|
671
671
|
} finally {
|
|
672
672
|
try {
|
|
673
|
-
b && !b.done && (i =
|
|
673
|
+
b && !b.done && (i = f.return) && i.call(f);
|
|
674
674
|
} finally {
|
|
675
675
|
if (n)
|
|
676
676
|
throw n.error;
|
|
@@ -684,7 +684,7 @@ var He = function() {
|
|
|
684
684
|
var r;
|
|
685
685
|
if (t && t !== this)
|
|
686
686
|
if (this.closed)
|
|
687
|
-
|
|
687
|
+
_t(t);
|
|
688
688
|
else {
|
|
689
689
|
if (t instanceof e) {
|
|
690
690
|
if (t.closed || t._hasParent(this))
|
|
@@ -701,56 +701,56 @@ var He = function() {
|
|
|
701
701
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
702
702
|
}, e.prototype._removeParent = function(t) {
|
|
703
703
|
var r = this._parentage;
|
|
704
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
704
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
|
705
705
|
}, e.prototype.remove = function(t) {
|
|
706
706
|
var r = this._finalizers;
|
|
707
|
-
r &&
|
|
707
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
|
708
708
|
}, e.EMPTY = function() {
|
|
709
709
|
var t = new e();
|
|
710
710
|
return t.closed = !0, t;
|
|
711
711
|
}(), e;
|
|
712
|
-
}(),
|
|
713
|
-
function
|
|
712
|
+
}(), tr = He.EMPTY;
|
|
713
|
+
function rr(e) {
|
|
714
714
|
return e instanceof He || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function _t(e) {
|
|
717
717
|
j(e) ? e() : e.unsubscribe();
|
|
718
718
|
}
|
|
719
|
-
var
|
|
719
|
+
var nr = {
|
|
720
720
|
onUnhandledError: null,
|
|
721
721
|
onStoppedNotification: null,
|
|
722
722
|
Promise: void 0,
|
|
723
723
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
724
724
|
useDeprecatedNextContext: !1
|
|
725
|
-
},
|
|
725
|
+
}, yn = {
|
|
726
726
|
setTimeout: function(e, t) {
|
|
727
727
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
728
728
|
r[n - 2] = arguments[n];
|
|
729
|
-
return setTimeout.apply(void 0, re([e, t],
|
|
729
|
+
return setTimeout.apply(void 0, re([e, t], Ze(r)));
|
|
730
730
|
},
|
|
731
731
|
clearTimeout: function(e) {
|
|
732
732
|
return clearTimeout(e);
|
|
733
733
|
},
|
|
734
734
|
delegate: void 0
|
|
735
735
|
};
|
|
736
|
-
function
|
|
737
|
-
|
|
736
|
+
function _n(e) {
|
|
737
|
+
yn.setTimeout(function() {
|
|
738
738
|
throw e;
|
|
739
739
|
});
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function xt() {
|
|
742
742
|
}
|
|
743
743
|
function _e(e) {
|
|
744
744
|
e();
|
|
745
745
|
}
|
|
746
|
-
var
|
|
746
|
+
var ir = function(e) {
|
|
747
747
|
V(t, e);
|
|
748
748
|
function t(r) {
|
|
749
749
|
var n = e.call(this) || this;
|
|
750
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
750
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = wn, n;
|
|
751
751
|
}
|
|
752
752
|
return t.create = function(r, n, i) {
|
|
753
|
-
return new
|
|
753
|
+
return new Ye(r, n, i);
|
|
754
754
|
}, t.prototype.next = function(r) {
|
|
755
755
|
this.isStopped || this._next(r);
|
|
756
756
|
}, t.prototype.error = function(r) {
|
|
@@ -774,7 +774,11 @@ var tr = function(e) {
|
|
|
774
774
|
this.unsubscribe();
|
|
775
775
|
}
|
|
776
776
|
}, t;
|
|
777
|
-
}(He),
|
|
777
|
+
}(He), xn = Function.prototype.bind;
|
|
778
|
+
function De(e, t) {
|
|
779
|
+
return xn.call(e, t);
|
|
780
|
+
}
|
|
781
|
+
var En = function() {
|
|
778
782
|
function e(t) {
|
|
779
783
|
this.partialObserver = t;
|
|
780
784
|
}
|
|
@@ -805,43 +809,55 @@ var tr = function(e) {
|
|
|
805
809
|
ge(r);
|
|
806
810
|
}
|
|
807
811
|
}, e;
|
|
808
|
-
}(),
|
|
812
|
+
}(), Ye = function(e) {
|
|
809
813
|
V(t, e);
|
|
810
814
|
function t(r, n, i) {
|
|
811
815
|
var o = e.call(this) || this, s;
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
816
|
+
if (j(r) || !r)
|
|
817
|
+
s = {
|
|
818
|
+
next: r != null ? r : void 0,
|
|
819
|
+
error: n != null ? n : void 0,
|
|
820
|
+
complete: i != null ? i : void 0
|
|
821
|
+
};
|
|
822
|
+
else {
|
|
823
|
+
var a;
|
|
824
|
+
o && nr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
825
|
+
return o.unsubscribe();
|
|
826
|
+
}, s = {
|
|
827
|
+
next: r.next && De(r.next, a),
|
|
828
|
+
error: r.error && De(r.error, a),
|
|
829
|
+
complete: r.complete && De(r.complete, a)
|
|
830
|
+
}) : s = r;
|
|
831
|
+
}
|
|
832
|
+
return o.destination = new En(s), o;
|
|
817
833
|
}
|
|
818
834
|
return t;
|
|
819
|
-
}(
|
|
835
|
+
}(ir);
|
|
820
836
|
function ge(e) {
|
|
821
|
-
|
|
837
|
+
_n(e);
|
|
822
838
|
}
|
|
823
|
-
function
|
|
839
|
+
function Cn(e) {
|
|
824
840
|
throw e;
|
|
825
841
|
}
|
|
826
|
-
var
|
|
842
|
+
var wn = {
|
|
827
843
|
closed: !0,
|
|
828
|
-
next:
|
|
829
|
-
error:
|
|
830
|
-
complete:
|
|
831
|
-
},
|
|
844
|
+
next: xt,
|
|
845
|
+
error: Cn,
|
|
846
|
+
complete: xt
|
|
847
|
+
}, Sn = function() {
|
|
832
848
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
833
849
|
}();
|
|
834
|
-
function
|
|
850
|
+
function Tn(e) {
|
|
835
851
|
return e;
|
|
836
852
|
}
|
|
837
|
-
function
|
|
838
|
-
return e.length === 0 ?
|
|
853
|
+
function Hn(e) {
|
|
854
|
+
return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
|
|
839
855
|
return e.reduce(function(n, i) {
|
|
840
856
|
return i(n);
|
|
841
857
|
}, r);
|
|
842
858
|
};
|
|
843
859
|
}
|
|
844
|
-
var
|
|
860
|
+
var Et = function() {
|
|
845
861
|
function e(t) {
|
|
846
862
|
t && (this._subscribe = t);
|
|
847
863
|
}
|
|
@@ -849,10 +865,10 @@ var _t = function() {
|
|
|
849
865
|
var r = new e();
|
|
850
866
|
return r.source = this, r.operator = t, r;
|
|
851
867
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
852
|
-
var i = this, o =
|
|
868
|
+
var i = this, o = In(t) ? t : new Ye(t, r, n);
|
|
853
869
|
return _e(function() {
|
|
854
|
-
var s = i, a = s.operator,
|
|
855
|
-
o.add(a ? a.call(o,
|
|
870
|
+
var s = i, a = s.operator, l = s.source;
|
|
871
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
856
872
|
}), o;
|
|
857
873
|
}, e.prototype._trySubscribe = function(t) {
|
|
858
874
|
try {
|
|
@@ -862,13 +878,13 @@ var _t = function() {
|
|
|
862
878
|
}
|
|
863
879
|
}, e.prototype.forEach = function(t, r) {
|
|
864
880
|
var n = this;
|
|
865
|
-
return r =
|
|
866
|
-
var s = new
|
|
881
|
+
return r = Ct(r), new r(function(i, o) {
|
|
882
|
+
var s = new Ye({
|
|
867
883
|
next: function(a) {
|
|
868
884
|
try {
|
|
869
885
|
t(a);
|
|
870
|
-
} catch (
|
|
871
|
-
o(
|
|
886
|
+
} catch (l) {
|
|
887
|
+
o(l), s.unsubscribe();
|
|
872
888
|
}
|
|
873
889
|
},
|
|
874
890
|
error: o,
|
|
@@ -879,15 +895,15 @@ var _t = function() {
|
|
|
879
895
|
}, e.prototype._subscribe = function(t) {
|
|
880
896
|
var r;
|
|
881
897
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
882
|
-
}, e.prototype[
|
|
898
|
+
}, e.prototype[Sn] = function() {
|
|
883
899
|
return this;
|
|
884
900
|
}, e.prototype.pipe = function() {
|
|
885
901
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
886
902
|
t[r] = arguments[r];
|
|
887
|
-
return
|
|
903
|
+
return Hn(t)(this);
|
|
888
904
|
}, e.prototype.toPromise = function(t) {
|
|
889
905
|
var r = this;
|
|
890
|
-
return t =
|
|
906
|
+
return t = Ct(t), new t(function(n, i) {
|
|
891
907
|
var o;
|
|
892
908
|
r.subscribe(function(s) {
|
|
893
909
|
return o = s;
|
|
@@ -901,32 +917,32 @@ var _t = function() {
|
|
|
901
917
|
return new e(t);
|
|
902
918
|
}, e;
|
|
903
919
|
}();
|
|
904
|
-
function
|
|
920
|
+
function Ct(e) {
|
|
905
921
|
var t;
|
|
906
|
-
return (t = e != null ? e :
|
|
922
|
+
return (t = e != null ? e : nr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
907
923
|
}
|
|
908
|
-
function
|
|
924
|
+
function An(e) {
|
|
909
925
|
return e && j(e.next) && j(e.error) && j(e.complete);
|
|
910
926
|
}
|
|
911
|
-
function
|
|
912
|
-
return e && e instanceof
|
|
927
|
+
function In(e) {
|
|
928
|
+
return e && e instanceof ir || An(e) && rr(e);
|
|
913
929
|
}
|
|
914
|
-
var
|
|
930
|
+
var Bn = er(function(e) {
|
|
915
931
|
return function() {
|
|
916
932
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
917
933
|
};
|
|
918
|
-
}),
|
|
934
|
+
}), or = function(e) {
|
|
919
935
|
V(t, e);
|
|
920
936
|
function t() {
|
|
921
937
|
var r = e.call(this) || this;
|
|
922
938
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
923
939
|
}
|
|
924
940
|
return t.prototype.lift = function(r) {
|
|
925
|
-
var n = new
|
|
941
|
+
var n = new wt(this, this);
|
|
926
942
|
return n.operator = r, n;
|
|
927
943
|
}, t.prototype._throwIfClosed = function() {
|
|
928
944
|
if (this.closed)
|
|
929
|
-
throw new
|
|
945
|
+
throw new Bn();
|
|
930
946
|
}, t.prototype.next = function(r) {
|
|
931
947
|
var n = this;
|
|
932
948
|
_e(function() {
|
|
@@ -934,12 +950,12 @@ var Hn = Jt(function(e) {
|
|
|
934
950
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
935
951
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
936
952
|
try {
|
|
937
|
-
for (var s =
|
|
938
|
-
var
|
|
939
|
-
|
|
953
|
+
for (var s = ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
954
|
+
var l = a.value;
|
|
955
|
+
l.next(r);
|
|
940
956
|
}
|
|
941
|
-
} catch (
|
|
942
|
-
i = { error:
|
|
957
|
+
} catch (u) {
|
|
958
|
+
i = { error: u };
|
|
943
959
|
} finally {
|
|
944
960
|
try {
|
|
945
961
|
a && !a.done && (o = s.return) && o.call(s);
|
|
@@ -983,19 +999,19 @@ var Hn = Jt(function(e) {
|
|
|
983
999
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
984
1000
|
}, t.prototype._innerSubscribe = function(r) {
|
|
985
1001
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
986
|
-
return o || s ?
|
|
987
|
-
n.currentObservers = null,
|
|
1002
|
+
return o || s ? tr : (this.currentObservers = null, a.push(r), new He(function() {
|
|
1003
|
+
n.currentObservers = null, Qe(a, r);
|
|
988
1004
|
}));
|
|
989
1005
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
990
1006
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
991
1007
|
i ? r.error(o) : s && r.complete();
|
|
992
1008
|
}, t.prototype.asObservable = function() {
|
|
993
|
-
var r = new
|
|
1009
|
+
var r = new Et();
|
|
994
1010
|
return r.source = this, r;
|
|
995
1011
|
}, t.create = function(r, n) {
|
|
996
|
-
return new
|
|
1012
|
+
return new wt(r, n);
|
|
997
1013
|
}, t;
|
|
998
|
-
}(
|
|
1014
|
+
}(Et), wt = function(e) {
|
|
999
1015
|
V(t, e);
|
|
1000
1016
|
function t(r, n) {
|
|
1001
1017
|
var i = e.call(this) || this;
|
|
@@ -1012,45 +1028,45 @@ var Hn = Jt(function(e) {
|
|
|
1012
1028
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1013
1029
|
}, t.prototype._subscribe = function(r) {
|
|
1014
1030
|
var n, i;
|
|
1015
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1031
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
|
1016
1032
|
}, t;
|
|
1017
|
-
}(
|
|
1033
|
+
}(or), sr = {
|
|
1018
1034
|
now: function() {
|
|
1019
|
-
return (
|
|
1035
|
+
return (sr.delegate || Date).now();
|
|
1020
1036
|
},
|
|
1021
1037
|
delegate: void 0
|
|
1022
|
-
},
|
|
1038
|
+
}, Pn = function(e) {
|
|
1023
1039
|
V(t, e);
|
|
1024
1040
|
function t(r, n, i) {
|
|
1025
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1041
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
1026
1042
|
var o = e.call(this) || this;
|
|
1027
1043
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1028
1044
|
}
|
|
1029
1045
|
return t.prototype.next = function(r) {
|
|
1030
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider,
|
|
1031
|
-
i || (o.push(r), !s && o.push(a.now() +
|
|
1046
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
1047
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1032
1048
|
}, t.prototype._subscribe = function(r) {
|
|
1033
1049
|
this._throwIfClosed(), this._trimBuffer();
|
|
1034
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(),
|
|
1035
|
-
r.next(a[
|
|
1050
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
1051
|
+
r.next(a[l]);
|
|
1036
1052
|
return this._checkFinalizedStatuses(r), n;
|
|
1037
1053
|
}, t.prototype._trimBuffer = function() {
|
|
1038
1054
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1039
1055
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1040
|
-
for (var
|
|
1041
|
-
|
|
1042
|
-
|
|
1056
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1057
|
+
u = h;
|
|
1058
|
+
u && o.splice(0, u + 1);
|
|
1043
1059
|
}
|
|
1044
1060
|
}, t;
|
|
1045
|
-
}(
|
|
1046
|
-
const
|
|
1047
|
-
if (
|
|
1048
|
-
const r = new
|
|
1049
|
-
|
|
1061
|
+
}(or);
|
|
1062
|
+
const St = [], Tt = {}, Mn = (e, t = 0) => {
|
|
1063
|
+
if (St.indexOf(e) == -1) {
|
|
1064
|
+
const r = new Pn(t);
|
|
1065
|
+
Tt[e] = r, St.push(e);
|
|
1050
1066
|
}
|
|
1051
|
-
return
|
|
1067
|
+
return Tt[e];
|
|
1052
1068
|
}, q = [];
|
|
1053
|
-
function
|
|
1069
|
+
function On(e, t) {
|
|
1054
1070
|
return {
|
|
1055
1071
|
subscribe: Ae(e, t).subscribe
|
|
1056
1072
|
};
|
|
@@ -1059,13 +1075,13 @@ function Ae(e, t = D) {
|
|
|
1059
1075
|
let r;
|
|
1060
1076
|
const n = /* @__PURE__ */ new Set();
|
|
1061
1077
|
function i(a) {
|
|
1062
|
-
if (
|
|
1063
|
-
const
|
|
1064
|
-
for (const
|
|
1065
|
-
|
|
1066
|
-
if (
|
|
1067
|
-
for (let
|
|
1068
|
-
q[
|
|
1078
|
+
if (qt(e, a) && (e = a, r)) {
|
|
1079
|
+
const l = !q.length;
|
|
1080
|
+
for (const u of n)
|
|
1081
|
+
u[1](), q.push(u, e);
|
|
1082
|
+
if (l) {
|
|
1083
|
+
for (let u = 0; u < q.length; u += 2)
|
|
1084
|
+
q[u][0](q[u + 1]);
|
|
1069
1085
|
q.length = 0;
|
|
1070
1086
|
}
|
|
1071
1087
|
}
|
|
@@ -1073,10 +1089,10 @@ function Ae(e, t = D) {
|
|
|
1073
1089
|
function o(a) {
|
|
1074
1090
|
i(a(e));
|
|
1075
1091
|
}
|
|
1076
|
-
function s(a,
|
|
1077
|
-
const
|
|
1078
|
-
return n.add(
|
|
1079
|
-
n.delete(
|
|
1092
|
+
function s(a, l = D) {
|
|
1093
|
+
const u = [a, l];
|
|
1094
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || D), a(e), () => {
|
|
1095
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1080
1096
|
};
|
|
1081
1097
|
}
|
|
1082
1098
|
return { set: i, update: o, subscribe: s };
|
|
@@ -1086,96 +1102,96 @@ function ae(e, t, r) {
|
|
|
1086
1102
|
if (!i.every(Boolean))
|
|
1087
1103
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1088
1104
|
const o = t.length < 2;
|
|
1089
|
-
return
|
|
1090
|
-
let
|
|
1091
|
-
const
|
|
1092
|
-
let h = 0,
|
|
1093
|
-
const
|
|
1105
|
+
return On(r, (s, a) => {
|
|
1106
|
+
let l = !1;
|
|
1107
|
+
const u = [];
|
|
1108
|
+
let h = 0, c = D;
|
|
1109
|
+
const f = () => {
|
|
1094
1110
|
if (h)
|
|
1095
1111
|
return;
|
|
1096
|
-
|
|
1097
|
-
const p = t(n ?
|
|
1098
|
-
o ? s(p) :
|
|
1112
|
+
c();
|
|
1113
|
+
const p = t(n ? u[0] : u, s, a);
|
|
1114
|
+
o ? s(p) : c = Te(p) ? p : D;
|
|
1099
1115
|
}, b = i.map(
|
|
1100
|
-
(p, m) =>
|
|
1116
|
+
(p, m) => Qr(
|
|
1101
1117
|
p,
|
|
1102
1118
|
(C) => {
|
|
1103
|
-
|
|
1119
|
+
u[m] = C, h &= ~(1 << m), l && f();
|
|
1104
1120
|
},
|
|
1105
1121
|
() => {
|
|
1106
1122
|
h |= 1 << m;
|
|
1107
1123
|
}
|
|
1108
1124
|
)
|
|
1109
1125
|
);
|
|
1110
|
-
return
|
|
1111
|
-
z(b),
|
|
1126
|
+
return l = !0, f(), function() {
|
|
1127
|
+
z(b), c(), l = !1;
|
|
1112
1128
|
};
|
|
1113
1129
|
});
|
|
1114
1130
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1131
|
+
function Ln(e) {
|
|
1132
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1117
1133
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1134
|
+
var Nn = function(t) {
|
|
1135
|
+
return Rn(t) && !Un(t);
|
|
1120
1136
|
};
|
|
1121
|
-
function
|
|
1137
|
+
function Rn(e) {
|
|
1122
1138
|
return !!e && typeof e == "object";
|
|
1123
1139
|
}
|
|
1124
|
-
function
|
|
1140
|
+
function Un(e) {
|
|
1125
1141
|
var t = Object.prototype.toString.call(e);
|
|
1126
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1142
|
+
return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
|
|
1127
1143
|
}
|
|
1128
|
-
var
|
|
1129
|
-
function
|
|
1130
|
-
return e.$$typeof ===
|
|
1144
|
+
var Dn = typeof Symbol == "function" && Symbol.for, $n = Dn ? Symbol.for("react.element") : 60103;
|
|
1145
|
+
function Gn(e) {
|
|
1146
|
+
return e.$$typeof === $n;
|
|
1131
1147
|
}
|
|
1132
|
-
function
|
|
1148
|
+
function kn(e) {
|
|
1133
1149
|
return Array.isArray(e) ? [] : {};
|
|
1134
1150
|
}
|
|
1135
1151
|
function de(e, t) {
|
|
1136
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1152
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(kn(e), e, t) : e;
|
|
1137
1153
|
}
|
|
1138
|
-
function
|
|
1154
|
+
function Fn(e, t, r) {
|
|
1139
1155
|
return e.concat(t).map(function(n) {
|
|
1140
1156
|
return de(n, r);
|
|
1141
1157
|
});
|
|
1142
1158
|
}
|
|
1143
|
-
function
|
|
1159
|
+
function jn(e, t) {
|
|
1144
1160
|
if (!t.customMerge)
|
|
1145
1161
|
return ne;
|
|
1146
1162
|
var r = t.customMerge(e);
|
|
1147
1163
|
return typeof r == "function" ? r : ne;
|
|
1148
1164
|
}
|
|
1149
|
-
function
|
|
1165
|
+
function Vn(e) {
|
|
1150
1166
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1151
1167
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1152
1168
|
}) : [];
|
|
1153
1169
|
}
|
|
1154
|
-
function
|
|
1155
|
-
return Object.keys(e).concat(
|
|
1170
|
+
function Ht(e) {
|
|
1171
|
+
return Object.keys(e).concat(Vn(e));
|
|
1156
1172
|
}
|
|
1157
|
-
function
|
|
1173
|
+
function ar(e, t) {
|
|
1158
1174
|
try {
|
|
1159
1175
|
return t in e;
|
|
1160
1176
|
} catch (r) {
|
|
1161
1177
|
return !1;
|
|
1162
1178
|
}
|
|
1163
1179
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1180
|
+
function Wn(e, t) {
|
|
1181
|
+
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1166
1182
|
}
|
|
1167
|
-
function
|
|
1183
|
+
function Xn(e, t, r) {
|
|
1168
1184
|
var n = {};
|
|
1169
|
-
return r.isMergeableObject(e) &&
|
|
1185
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1170
1186
|
n[i] = de(e[i], r);
|
|
1171
|
-
}),
|
|
1172
|
-
|
|
1187
|
+
}), Ht(t).forEach(function(i) {
|
|
1188
|
+
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1173
1189
|
}), n;
|
|
1174
1190
|
}
|
|
1175
1191
|
function ne(e, t, r) {
|
|
1176
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1192
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = de;
|
|
1177
1193
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1178
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1194
|
+
return o ? n ? r.arrayMerge(e, t, r) : Xn(e, t, r) : de(t, r);
|
|
1179
1195
|
}
|
|
1180
1196
|
ne.all = function(t, r) {
|
|
1181
1197
|
if (!Array.isArray(t))
|
|
@@ -1184,64 +1200,62 @@ ne.all = function(t, r) {
|
|
|
1184
1200
|
return ne(n, i, r);
|
|
1185
1201
|
}, {});
|
|
1186
1202
|
};
|
|
1187
|
-
var
|
|
1188
|
-
const
|
|
1189
|
-
function
|
|
1190
|
-
var r = t && t.cache ? t.cache :
|
|
1203
|
+
var zn = ne, Zn = zn;
|
|
1204
|
+
const Qn = /* @__PURE__ */ Ln(Zn);
|
|
1205
|
+
function $e(e, t) {
|
|
1206
|
+
var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : qn;
|
|
1191
1207
|
return i(e, {
|
|
1192
1208
|
cache: r,
|
|
1193
1209
|
serializer: n
|
|
1194
1210
|
});
|
|
1195
1211
|
}
|
|
1196
|
-
function
|
|
1212
|
+
function Yn(e) {
|
|
1197
1213
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1198
1214
|
}
|
|
1199
|
-
function
|
|
1200
|
-
var i =
|
|
1215
|
+
function lr(e, t, r, n) {
|
|
1216
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
1201
1217
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1202
1218
|
}
|
|
1203
|
-
function
|
|
1219
|
+
function ur(e, t, r) {
|
|
1204
1220
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1205
1221
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1206
1222
|
}
|
|
1207
|
-
function
|
|
1223
|
+
function at(e, t, r, n, i) {
|
|
1208
1224
|
return r.bind(t, e, n, i);
|
|
1209
1225
|
}
|
|
1210
|
-
function
|
|
1211
|
-
var r = e.length === 1 ?
|
|
1212
|
-
return
|
|
1226
|
+
function qn(e, t) {
|
|
1227
|
+
var r = e.length === 1 ? lr : ur;
|
|
1228
|
+
return at(e, this, r, t.cache.create(), t.serializer);
|
|
1213
1229
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return
|
|
1230
|
+
function Jn(e, t) {
|
|
1231
|
+
return at(e, this, ur, t.cache.create(), t.serializer);
|
|
1216
1232
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return
|
|
1233
|
+
function Kn(e, t) {
|
|
1234
|
+
return at(e, this, lr, t.cache.create(), t.serializer);
|
|
1219
1235
|
}
|
|
1220
|
-
var
|
|
1236
|
+
var ei = function() {
|
|
1221
1237
|
return JSON.stringify(arguments);
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
}()
|
|
1234
|
-
), Kn = {
|
|
1238
|
+
};
|
|
1239
|
+
function lt() {
|
|
1240
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1241
|
+
}
|
|
1242
|
+
lt.prototype.get = function(e) {
|
|
1243
|
+
return this.cache[e];
|
|
1244
|
+
};
|
|
1245
|
+
lt.prototype.set = function(e, t) {
|
|
1246
|
+
this.cache[e] = t;
|
|
1247
|
+
};
|
|
1248
|
+
var ti = {
|
|
1235
1249
|
create: function() {
|
|
1236
|
-
return new
|
|
1250
|
+
return new lt();
|
|
1237
1251
|
}
|
|
1238
|
-
},
|
|
1239
|
-
variadic:
|
|
1240
|
-
monadic:
|
|
1241
|
-
},
|
|
1252
|
+
}, Ge = {
|
|
1253
|
+
variadic: Jn,
|
|
1254
|
+
monadic: Kn
|
|
1255
|
+
}, v;
|
|
1242
1256
|
(function(e) {
|
|
1243
1257
|
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";
|
|
1244
|
-
})(
|
|
1258
|
+
})(v || (v = {}));
|
|
1245
1259
|
var w;
|
|
1246
1260
|
(function(e) {
|
|
1247
1261
|
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";
|
|
@@ -1250,43 +1264,43 @@ var ie;
|
|
|
1250
1264
|
(function(e) {
|
|
1251
1265
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1252
1266
|
})(ie || (ie = {}));
|
|
1253
|
-
function
|
|
1267
|
+
function At(e) {
|
|
1254
1268
|
return e.type === w.literal;
|
|
1255
1269
|
}
|
|
1256
|
-
function
|
|
1270
|
+
function ri(e) {
|
|
1257
1271
|
return e.type === w.argument;
|
|
1258
1272
|
}
|
|
1259
|
-
function
|
|
1273
|
+
function hr(e) {
|
|
1260
1274
|
return e.type === w.number;
|
|
1261
1275
|
}
|
|
1262
|
-
function
|
|
1276
|
+
function cr(e) {
|
|
1263
1277
|
return e.type === w.date;
|
|
1264
1278
|
}
|
|
1265
|
-
function
|
|
1279
|
+
function fr(e) {
|
|
1266
1280
|
return e.type === w.time;
|
|
1267
1281
|
}
|
|
1268
|
-
function
|
|
1282
|
+
function dr(e) {
|
|
1269
1283
|
return e.type === w.select;
|
|
1270
1284
|
}
|
|
1271
|
-
function
|
|
1285
|
+
function pr(e) {
|
|
1272
1286
|
return e.type === w.plural;
|
|
1273
1287
|
}
|
|
1274
|
-
function
|
|
1288
|
+
function ni(e) {
|
|
1275
1289
|
return e.type === w.pound;
|
|
1276
1290
|
}
|
|
1277
|
-
function
|
|
1291
|
+
function mr(e) {
|
|
1278
1292
|
return e.type === w.tag;
|
|
1279
1293
|
}
|
|
1280
|
-
function
|
|
1294
|
+
function br(e) {
|
|
1281
1295
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1282
1296
|
}
|
|
1283
|
-
function
|
|
1297
|
+
function qe(e) {
|
|
1284
1298
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1285
1299
|
}
|
|
1286
|
-
var
|
|
1287
|
-
function
|
|
1300
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
|
|
1301
|
+
function oi(e) {
|
|
1288
1302
|
var t = {};
|
|
1289
|
-
return e.replace(
|
|
1303
|
+
return e.replace(ii, function(r) {
|
|
1290
1304
|
var n = r.length;
|
|
1291
1305
|
switch (r[0]) {
|
|
1292
1306
|
case "G":
|
|
@@ -1375,36 +1389,36 @@ function ni(e) {
|
|
|
1375
1389
|
return "";
|
|
1376
1390
|
}), t;
|
|
1377
1391
|
}
|
|
1378
|
-
var
|
|
1379
|
-
function
|
|
1392
|
+
var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1393
|
+
function ai(e) {
|
|
1380
1394
|
if (e.length === 0)
|
|
1381
1395
|
throw new Error("Number skeleton cannot be empty");
|
|
1382
|
-
for (var t = e.split(
|
|
1383
|
-
return
|
|
1396
|
+
for (var t = e.split(si).filter(function(f) {
|
|
1397
|
+
return f.length > 0;
|
|
1384
1398
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1385
1399
|
var o = i[n], s = o.split("/");
|
|
1386
1400
|
if (s.length === 0)
|
|
1387
1401
|
throw new Error("Invalid number skeleton");
|
|
1388
|
-
for (var a = s[0],
|
|
1389
|
-
var
|
|
1390
|
-
if (
|
|
1402
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1403
|
+
var c = h[u];
|
|
1404
|
+
if (c.length === 0)
|
|
1391
1405
|
throw new Error("Invalid number skeleton");
|
|
1392
1406
|
}
|
|
1393
|
-
r.push({ stem: a, options:
|
|
1407
|
+
r.push({ stem: a, options: l });
|
|
1394
1408
|
}
|
|
1395
1409
|
return r;
|
|
1396
1410
|
}
|
|
1397
|
-
function
|
|
1411
|
+
function li(e) {
|
|
1398
1412
|
return e.replace(/^(.*?)-/, "");
|
|
1399
1413
|
}
|
|
1400
|
-
var
|
|
1401
|
-
function
|
|
1414
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1415
|
+
function Bt(e) {
|
|
1402
1416
|
var t = {};
|
|
1403
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1417
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
|
|
1404
1418
|
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
1419
|
}), t;
|
|
1406
1420
|
}
|
|
1407
|
-
function
|
|
1421
|
+
function _r(e) {
|
|
1408
1422
|
switch (e) {
|
|
1409
1423
|
case "sign-auto":
|
|
1410
1424
|
return {
|
|
@@ -1444,7 +1458,7 @@ function gr(e) {
|
|
|
1444
1458
|
};
|
|
1445
1459
|
}
|
|
1446
1460
|
}
|
|
1447
|
-
function
|
|
1461
|
+
function hi(e) {
|
|
1448
1462
|
var t;
|
|
1449
1463
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1450
1464
|
notation: "engineering"
|
|
@@ -1452,17 +1466,17 @@ function ui(e) {
|
|
|
1452
1466
|
notation: "scientific"
|
|
1453
1467
|
}, e = e.slice(1)), t) {
|
|
1454
1468
|
var r = e.slice(0, 2);
|
|
1455
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1469
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1456
1470
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1457
1471
|
t.minimumIntegerDigits = e.length;
|
|
1458
1472
|
}
|
|
1459
1473
|
return t;
|
|
1460
1474
|
}
|
|
1461
|
-
function
|
|
1462
|
-
var t = {}, r =
|
|
1475
|
+
function Pt(e) {
|
|
1476
|
+
var t = {}, r = _r(e);
|
|
1463
1477
|
return r || t;
|
|
1464
1478
|
}
|
|
1465
|
-
function
|
|
1479
|
+
function ci(e) {
|
|
1466
1480
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1467
1481
|
var i = n[r];
|
|
1468
1482
|
switch (i.stem) {
|
|
@@ -1486,7 +1500,7 @@ function li(e) {
|
|
|
1486
1500
|
continue;
|
|
1487
1501
|
case "measure-unit":
|
|
1488
1502
|
case "unit":
|
|
1489
|
-
t.style = "unit", t.unit =
|
|
1503
|
+
t.style = "unit", t.unit = li(i.options[0]);
|
|
1490
1504
|
continue;
|
|
1491
1505
|
case "compact-short":
|
|
1492
1506
|
case "K":
|
|
@@ -1497,13 +1511,13 @@ function li(e) {
|
|
|
1497
1511
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1498
1512
|
continue;
|
|
1499
1513
|
case "scientific":
|
|
1500
|
-
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1501
|
-
return _(_({},
|
|
1514
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1515
|
+
return _(_({}, l), Pt(u));
|
|
1502
1516
|
}, {}));
|
|
1503
1517
|
continue;
|
|
1504
1518
|
case "engineering":
|
|
1505
|
-
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1506
|
-
return _(_({},
|
|
1519
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1520
|
+
return _(_({}, l), Pt(u));
|
|
1507
1521
|
}, {}));
|
|
1508
1522
|
continue;
|
|
1509
1523
|
case "notation-simple":
|
|
@@ -1548,11 +1562,11 @@ function li(e) {
|
|
|
1548
1562
|
case "integer-width":
|
|
1549
1563
|
if (i.options.length > 1)
|
|
1550
1564
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1551
|
-
i.options[0].replace(
|
|
1552
|
-
if (
|
|
1565
|
+
i.options[0].replace(ui, function(l, u, h, c, f, b) {
|
|
1566
|
+
if (u)
|
|
1553
1567
|
t.minimumIntegerDigits = h.length;
|
|
1554
1568
|
else {
|
|
1555
|
-
if (
|
|
1569
|
+
if (c && f)
|
|
1556
1570
|
throw new Error("We currently do not support maximum integer digits");
|
|
1557
1571
|
if (b)
|
|
1558
1572
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1561,32 +1575,32 @@ function li(e) {
|
|
|
1561
1575
|
});
|
|
1562
1576
|
continue;
|
|
1563
1577
|
}
|
|
1564
|
-
if (
|
|
1578
|
+
if (yr.test(i.stem)) {
|
|
1565
1579
|
t.minimumIntegerDigits = i.stem.length;
|
|
1566
1580
|
continue;
|
|
1567
1581
|
}
|
|
1568
|
-
if (
|
|
1582
|
+
if (It.test(i.stem)) {
|
|
1569
1583
|
if (i.options.length > 1)
|
|
1570
1584
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1571
|
-
i.stem.replace(
|
|
1572
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1585
|
+
i.stem.replace(It, function(l, u, h, c, f, b) {
|
|
1586
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1573
1587
|
});
|
|
1574
1588
|
var o = i.options[0];
|
|
1575
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1589
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Bt(o)));
|
|
1576
1590
|
continue;
|
|
1577
1591
|
}
|
|
1578
|
-
if (
|
|
1579
|
-
t = _(_({}, t),
|
|
1592
|
+
if (vr.test(i.stem)) {
|
|
1593
|
+
t = _(_({}, t), Bt(i.stem));
|
|
1580
1594
|
continue;
|
|
1581
1595
|
}
|
|
1582
|
-
var s =
|
|
1596
|
+
var s = _r(i.stem);
|
|
1583
1597
|
s && (t = _(_({}, t), s));
|
|
1584
|
-
var a =
|
|
1598
|
+
var a = hi(i.stem);
|
|
1585
1599
|
a && (t = _(_({}, t), a));
|
|
1586
1600
|
}
|
|
1587
1601
|
return t;
|
|
1588
1602
|
}
|
|
1589
|
-
var
|
|
1603
|
+
var ve = {
|
|
1590
1604
|
"001": [
|
|
1591
1605
|
"H",
|
|
1592
1606
|
"h"
|
|
@@ -3001,23 +3015,23 @@ var ye = {
|
|
|
3001
3015
|
"h"
|
|
3002
3016
|
]
|
|
3003
3017
|
};
|
|
3004
|
-
function
|
|
3018
|
+
function fi(e, t) {
|
|
3005
3019
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3006
3020
|
var i = e.charAt(n);
|
|
3007
3021
|
if (i === "j") {
|
|
3008
3022
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3009
3023
|
o++, n++;
|
|
3010
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1),
|
|
3011
|
-
for ((
|
|
3012
|
-
r +=
|
|
3024
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
|
|
3025
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3026
|
+
r += l;
|
|
3013
3027
|
for (; s-- > 0; )
|
|
3014
|
-
r =
|
|
3028
|
+
r = u + r;
|
|
3015
3029
|
} else
|
|
3016
3030
|
i === "J" ? r += "H" : r += i;
|
|
3017
3031
|
}
|
|
3018
3032
|
return r;
|
|
3019
3033
|
}
|
|
3020
|
-
function
|
|
3034
|
+
function di(e) {
|
|
3021
3035
|
var t = e.hourCycle;
|
|
3022
3036
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3023
3037
|
e.hourCycles && // @ts-ignore
|
|
@@ -3036,23 +3050,23 @@ function fi(e) {
|
|
|
3036
3050
|
}
|
|
3037
3051
|
var r = e.language, n;
|
|
3038
3052
|
r !== "root" && (n = e.maximize().region);
|
|
3039
|
-
var i =
|
|
3053
|
+
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3040
3054
|
return i[0];
|
|
3041
3055
|
}
|
|
3042
|
-
var
|
|
3043
|
-
function
|
|
3056
|
+
var ke, pi = new RegExp("^".concat(gr.source, "*")), mi = new RegExp("".concat(gr.source, "*$"));
|
|
3057
|
+
function y(e, t) {
|
|
3044
3058
|
return { start: e, end: t };
|
|
3045
3059
|
}
|
|
3046
|
-
var
|
|
3060
|
+
var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, vi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, Ci = Ei ? Number.isSafeInteger : function(e) {
|
|
3047
3061
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3048
|
-
},
|
|
3062
|
+
}, Je = !0;
|
|
3049
3063
|
try {
|
|
3050
|
-
var
|
|
3051
|
-
|
|
3064
|
+
var wi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3065
|
+
Je = ((ke = wi.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
|
3052
3066
|
} catch (e) {
|
|
3053
|
-
|
|
3067
|
+
Je = !1;
|
|
3054
3068
|
}
|
|
3055
|
-
var
|
|
3069
|
+
var Mt = bi ? (
|
|
3056
3070
|
// Native
|
|
3057
3071
|
function(t, r, n) {
|
|
3058
3072
|
return t.startsWith(r, n);
|
|
@@ -3062,7 +3076,7 @@ var Bt = pi ? (
|
|
|
3062
3076
|
function(t, r, n) {
|
|
3063
3077
|
return t.slice(n, n + r.length) === r;
|
|
3064
3078
|
}
|
|
3065
|
-
),
|
|
3079
|
+
), Ke = gi ? String.fromCodePoint : (
|
|
3066
3080
|
// IE11
|
|
3067
3081
|
function() {
|
|
3068
3082
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3074,9 +3088,9 @@ var Bt = pi ? (
|
|
|
3074
3088
|
}
|
|
3075
3089
|
return n;
|
|
3076
3090
|
}
|
|
3077
|
-
),
|
|
3091
|
+
), Ot = (
|
|
3078
3092
|
// native
|
|
3079
|
-
|
|
3093
|
+
vi ? Object.fromEntries : (
|
|
3080
3094
|
// Ponyfill
|
|
3081
3095
|
function(t) {
|
|
3082
3096
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3086,7 +3100,7 @@ var Bt = pi ? (
|
|
|
3086
3100
|
return r;
|
|
3087
3101
|
}
|
|
3088
3102
|
)
|
|
3089
|
-
),
|
|
3103
|
+
), xr = yi ? (
|
|
3090
3104
|
// Native
|
|
3091
3105
|
function(t, r) {
|
|
3092
3106
|
return t.codePointAt(r);
|
|
@@ -3100,7 +3114,7 @@ var Bt = pi ? (
|
|
|
3100
3114
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3101
3115
|
}
|
|
3102
3116
|
}
|
|
3103
|
-
),
|
|
3117
|
+
), Si = _i ? (
|
|
3104
3118
|
// Native
|
|
3105
3119
|
function(t) {
|
|
3106
3120
|
return t.trimStart();
|
|
@@ -3108,9 +3122,9 @@ var Bt = pi ? (
|
|
|
3108
3122
|
) : (
|
|
3109
3123
|
// Ponyfill
|
|
3110
3124
|
function(t) {
|
|
3111
|
-
return t.replace(
|
|
3125
|
+
return t.replace(pi, "");
|
|
3112
3126
|
}
|
|
3113
|
-
),
|
|
3127
|
+
), Ti = xi ? (
|
|
3114
3128
|
// Native
|
|
3115
3129
|
function(t) {
|
|
3116
3130
|
return t.trimEnd();
|
|
@@ -3118,32 +3132,32 @@ var Bt = pi ? (
|
|
|
3118
3132
|
) : (
|
|
3119
3133
|
// Ponyfill
|
|
3120
3134
|
function(t) {
|
|
3121
|
-
return t.replace(
|
|
3135
|
+
return t.replace(mi, "");
|
|
3122
3136
|
}
|
|
3123
3137
|
);
|
|
3124
|
-
function
|
|
3138
|
+
function Er(e, t) {
|
|
3125
3139
|
return new RegExp(e, t);
|
|
3126
3140
|
}
|
|
3127
|
-
var
|
|
3128
|
-
if (
|
|
3129
|
-
var
|
|
3130
|
-
|
|
3141
|
+
var et;
|
|
3142
|
+
if (Je) {
|
|
3143
|
+
var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3144
|
+
et = function(t, r) {
|
|
3131
3145
|
var n;
|
|
3132
|
-
|
|
3133
|
-
var i =
|
|
3146
|
+
Lt.lastIndex = r;
|
|
3147
|
+
var i = Lt.exec(t);
|
|
3134
3148
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3135
3149
|
};
|
|
3136
3150
|
} else
|
|
3137
|
-
|
|
3151
|
+
et = function(t, r) {
|
|
3138
3152
|
for (var n = []; ; ) {
|
|
3139
|
-
var i =
|
|
3140
|
-
if (i === void 0 ||
|
|
3153
|
+
var i = xr(t, r);
|
|
3154
|
+
if (i === void 0 || Cr(i) || Bi(i))
|
|
3141
3155
|
break;
|
|
3142
3156
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3143
3157
|
}
|
|
3144
|
-
return
|
|
3158
|
+
return Ke.apply(void 0, n);
|
|
3145
3159
|
};
|
|
3146
|
-
var
|
|
3160
|
+
var Hi = (
|
|
3147
3161
|
/** @class */
|
|
3148
3162
|
function() {
|
|
3149
3163
|
function e(t, r) {
|
|
@@ -3168,13 +3182,13 @@ var Si = (
|
|
|
3168
3182
|
var a = this.clonePosition();
|
|
3169
3183
|
this.bump(), i.push({
|
|
3170
3184
|
type: w.pound,
|
|
3171
|
-
location:
|
|
3185
|
+
location: y(a, this.clonePosition())
|
|
3172
3186
|
});
|
|
3173
3187
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3174
3188
|
if (n)
|
|
3175
3189
|
break;
|
|
3176
|
-
return this.error(
|
|
3177
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3190
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3191
|
+
} else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
|
3178
3192
|
var s = this.parseTag(t, r);
|
|
3179
3193
|
if (s.err)
|
|
3180
3194
|
return s;
|
|
@@ -3197,7 +3211,7 @@ var Si = (
|
|
|
3197
3211
|
val: {
|
|
3198
3212
|
type: w.literal,
|
|
3199
3213
|
value: "<".concat(i, "/>"),
|
|
3200
|
-
location:
|
|
3214
|
+
location: y(n, this.clonePosition())
|
|
3201
3215
|
},
|
|
3202
3216
|
err: null
|
|
3203
3217
|
};
|
|
@@ -3207,25 +3221,25 @@ var Si = (
|
|
|
3207
3221
|
return o;
|
|
3208
3222
|
var s = o.val, a = this.clonePosition();
|
|
3209
3223
|
if (this.bumpIf("</")) {
|
|
3210
|
-
if (this.isEOF() || !
|
|
3211
|
-
return this.error(
|
|
3212
|
-
var
|
|
3213
|
-
return i !==
|
|
3224
|
+
if (this.isEOF() || !tt(this.char()))
|
|
3225
|
+
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
|
3226
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
3227
|
+
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3214
3228
|
val: {
|
|
3215
3229
|
type: w.tag,
|
|
3216
3230
|
value: i,
|
|
3217
3231
|
children: s,
|
|
3218
|
-
location:
|
|
3232
|
+
location: y(n, this.clonePosition())
|
|
3219
3233
|
},
|
|
3220
3234
|
err: null
|
|
3221
|
-
} : this.error(
|
|
3235
|
+
} : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
|
|
3222
3236
|
} else
|
|
3223
|
-
return this.error(
|
|
3237
|
+
return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3224
3238
|
} else
|
|
3225
|
-
return this.error(
|
|
3239
|
+
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
|
3226
3240
|
}, e.prototype.parseTagName = function() {
|
|
3227
3241
|
var t = this.offset();
|
|
3228
|
-
for (this.bump(); !this.isEOF() &&
|
|
3242
|
+
for (this.bump(); !this.isEOF() && Ii(this.char()); )
|
|
3229
3243
|
this.bump();
|
|
3230
3244
|
return this.message.slice(t, this.offset());
|
|
3231
3245
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3247,14 +3261,14 @@ var Si = (
|
|
|
3247
3261
|
}
|
|
3248
3262
|
break;
|
|
3249
3263
|
}
|
|
3250
|
-
var
|
|
3264
|
+
var l = y(n, this.clonePosition());
|
|
3251
3265
|
return {
|
|
3252
|
-
val: { type: w.literal, value: i, location:
|
|
3266
|
+
val: { type: w.literal, value: i, location: l },
|
|
3253
3267
|
err: null
|
|
3254
3268
|
};
|
|
3255
3269
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3256
3270
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3257
|
-
!
|
|
3271
|
+
!Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3258
3272
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3259
3273
|
if (this.isEOF() || this.char() !== 39)
|
|
3260
3274
|
return null;
|
|
@@ -3288,23 +3302,23 @@ var Si = (
|
|
|
3288
3302
|
r.push(n);
|
|
3289
3303
|
this.bump();
|
|
3290
3304
|
}
|
|
3291
|
-
return
|
|
3305
|
+
return Ke.apply(void 0, r);
|
|
3292
3306
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3293
3307
|
if (this.isEOF())
|
|
3294
3308
|
return null;
|
|
3295
3309
|
var n = this.char();
|
|
3296
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3310
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
|
3297
3311
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3298
3312
|
var n = this.clonePosition();
|
|
3299
3313
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3300
|
-
return this.error(
|
|
3314
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3301
3315
|
if (this.char() === 125)
|
|
3302
|
-
return this.bump(), this.error(
|
|
3316
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3303
3317
|
var i = this.parseIdentifierIfPossible().value;
|
|
3304
3318
|
if (!i)
|
|
3305
|
-
return this.error(
|
|
3319
|
+
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3306
3320
|
if (this.bumpSpace(), this.isEOF())
|
|
3307
|
-
return this.error(
|
|
3321
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3308
3322
|
switch (this.char()) {
|
|
3309
3323
|
case 125:
|
|
3310
3324
|
return this.bump(), {
|
|
@@ -3312,66 +3326,66 @@ var Si = (
|
|
|
3312
3326
|
type: w.argument,
|
|
3313
3327
|
// value does not include the opening and closing braces.
|
|
3314
3328
|
value: i,
|
|
3315
|
-
location:
|
|
3329
|
+
location: y(n, this.clonePosition())
|
|
3316
3330
|
},
|
|
3317
3331
|
err: null
|
|
3318
3332
|
};
|
|
3319
3333
|
case 44:
|
|
3320
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3334
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3321
3335
|
default:
|
|
3322
|
-
return this.error(
|
|
3336
|
+
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3323
3337
|
}
|
|
3324
3338
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3325
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3339
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
|
3326
3340
|
this.bumpTo(i);
|
|
3327
|
-
var o = this.clonePosition(), s =
|
|
3341
|
+
var o = this.clonePosition(), s = y(t, o);
|
|
3328
3342
|
return { value: n, location: s };
|
|
3329
3343
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3330
|
-
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
|
3344
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3331
3345
|
switch (a) {
|
|
3332
3346
|
case "":
|
|
3333
|
-
return this.error(
|
|
3347
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, l));
|
|
3334
3348
|
case "number":
|
|
3335
3349
|
case "date":
|
|
3336
3350
|
case "time": {
|
|
3337
3351
|
this.bumpSpace();
|
|
3338
|
-
var
|
|
3352
|
+
var u = null;
|
|
3339
3353
|
if (this.bumpIf(",")) {
|
|
3340
3354
|
this.bumpSpace();
|
|
3341
|
-
var h = this.clonePosition(),
|
|
3342
|
-
if (
|
|
3343
|
-
return
|
|
3344
|
-
var
|
|
3345
|
-
if (
|
|
3346
|
-
return this.error(
|
|
3347
|
-
var b =
|
|
3348
|
-
|
|
3355
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3356
|
+
if (c.err)
|
|
3357
|
+
return c;
|
|
3358
|
+
var f = Ti(c.val);
|
|
3359
|
+
if (f.length === 0)
|
|
3360
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3361
|
+
var b = y(h, this.clonePosition());
|
|
3362
|
+
u = { style: f, styleLocation: b };
|
|
3349
3363
|
}
|
|
3350
3364
|
var p = this.tryParseArgumentClose(i);
|
|
3351
3365
|
if (p.err)
|
|
3352
3366
|
return p;
|
|
3353
|
-
var m =
|
|
3354
|
-
if (
|
|
3355
|
-
var C =
|
|
3367
|
+
var m = y(i, this.clonePosition());
|
|
3368
|
+
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3369
|
+
var C = Si(u.style.slice(2));
|
|
3356
3370
|
if (a === "number") {
|
|
3357
|
-
var
|
|
3358
|
-
return
|
|
3359
|
-
val: { type: w.number, value: n, location: m, style:
|
|
3371
|
+
var c = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
3372
|
+
return c.err ? c : {
|
|
3373
|
+
val: { type: w.number, value: n, location: m, style: c.val },
|
|
3360
3374
|
err: null
|
|
3361
3375
|
};
|
|
3362
3376
|
} else {
|
|
3363
3377
|
if (C.length === 0)
|
|
3364
|
-
return this.error(
|
|
3378
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, m);
|
|
3365
3379
|
var P = C;
|
|
3366
|
-
this.locale && (P =
|
|
3367
|
-
var
|
|
3380
|
+
this.locale && (P = fi(C, this.locale));
|
|
3381
|
+
var f = {
|
|
3368
3382
|
type: ie.dateTime,
|
|
3369
3383
|
pattern: P,
|
|
3370
|
-
location:
|
|
3371
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3384
|
+
location: u.styleLocation,
|
|
3385
|
+
parsedOptions: this.shouldParseSkeletons ? oi(P) : {}
|
|
3372
3386
|
}, A = a === "date" ? w.date : w.time;
|
|
3373
3387
|
return {
|
|
3374
|
-
val: { type: A, value: n, location: m, style:
|
|
3388
|
+
val: { type: A, value: n, location: m, style: f },
|
|
3375
3389
|
err: null
|
|
3376
3390
|
};
|
|
3377
3391
|
}
|
|
@@ -3381,7 +3395,7 @@ var Si = (
|
|
|
3381
3395
|
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3382
3396
|
value: n,
|
|
3383
3397
|
location: m,
|
|
3384
|
-
style: (o =
|
|
3398
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3385
3399
|
},
|
|
3386
3400
|
err: null
|
|
3387
3401
|
};
|
|
@@ -3391,17 +3405,17 @@ var Si = (
|
|
|
3391
3405
|
case "select": {
|
|
3392
3406
|
var I = this.clonePosition();
|
|
3393
3407
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3394
|
-
return this.error(
|
|
3408
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I, _({}, I)));
|
|
3395
3409
|
this.bumpSpace();
|
|
3396
3410
|
var L = this.parseIdentifierIfPossible(), S = 0;
|
|
3397
3411
|
if (a !== "select" && L.value === "offset") {
|
|
3398
3412
|
if (!this.bumpIf(":"))
|
|
3399
|
-
return this.error(
|
|
3413
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3400
3414
|
this.bumpSpace();
|
|
3401
|
-
var
|
|
3402
|
-
if (
|
|
3403
|
-
return
|
|
3404
|
-
this.bumpSpace(), L = this.parseIdentifierIfPossible(), S =
|
|
3415
|
+
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3416
|
+
if (c.err)
|
|
3417
|
+
return c;
|
|
3418
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), S = c.val;
|
|
3405
3419
|
}
|
|
3406
3420
|
var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3407
3421
|
if (R.err)
|
|
@@ -3409,12 +3423,12 @@ var Si = (
|
|
|
3409
3423
|
var p = this.tryParseArgumentClose(i);
|
|
3410
3424
|
if (p.err)
|
|
3411
3425
|
return p;
|
|
3412
|
-
var g =
|
|
3426
|
+
var g = y(i, this.clonePosition());
|
|
3413
3427
|
return a === "select" ? {
|
|
3414
3428
|
val: {
|
|
3415
3429
|
type: w.select,
|
|
3416
3430
|
value: n,
|
|
3417
|
-
options:
|
|
3431
|
+
options: Ot(R.val),
|
|
3418
3432
|
location: g
|
|
3419
3433
|
},
|
|
3420
3434
|
err: null
|
|
@@ -3422,7 +3436,7 @@ var Si = (
|
|
|
3422
3436
|
val: {
|
|
3423
3437
|
type: w.plural,
|
|
3424
3438
|
value: n,
|
|
3425
|
-
options:
|
|
3439
|
+
options: Ot(R.val),
|
|
3426
3440
|
offset: S,
|
|
3427
3441
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3428
3442
|
location: g
|
|
@@ -3431,10 +3445,10 @@ var Si = (
|
|
|
3431
3445
|
};
|
|
3432
3446
|
}
|
|
3433
3447
|
default:
|
|
3434
|
-
return this.error(
|
|
3448
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, y(s, l));
|
|
3435
3449
|
}
|
|
3436
3450
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3437
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3451
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3438
3452
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3439
3453
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3440
3454
|
var n = this.char();
|
|
@@ -3443,7 +3457,7 @@ var Si = (
|
|
|
3443
3457
|
this.bump();
|
|
3444
3458
|
var i = this.clonePosition();
|
|
3445
3459
|
if (!this.bumpUntil("'"))
|
|
3446
|
-
return this.error(
|
|
3460
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3447
3461
|
this.bump();
|
|
3448
3462
|
break;
|
|
3449
3463
|
}
|
|
@@ -3473,37 +3487,37 @@ var Si = (
|
|
|
3473
3487
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3474
3488
|
var n = [];
|
|
3475
3489
|
try {
|
|
3476
|
-
n =
|
|
3490
|
+
n = ai(t);
|
|
3477
3491
|
} catch (i) {
|
|
3478
|
-
return this.error(
|
|
3492
|
+
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3479
3493
|
}
|
|
3480
3494
|
return {
|
|
3481
3495
|
val: {
|
|
3482
3496
|
type: ie.number,
|
|
3483
3497
|
tokens: n,
|
|
3484
3498
|
location: r,
|
|
3485
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3499
|
+
parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
|
|
3486
3500
|
},
|
|
3487
3501
|
err: null
|
|
3488
3502
|
};
|
|
3489
3503
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3490
|
-
for (var o, s = !1, a = [],
|
|
3491
|
-
if (
|
|
3492
|
-
var
|
|
3504
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3505
|
+
if (u.length === 0) {
|
|
3506
|
+
var c = this.clonePosition();
|
|
3493
3507
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3494
|
-
var
|
|
3495
|
-
if (
|
|
3496
|
-
return
|
|
3497
|
-
h =
|
|
3508
|
+
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3509
|
+
if (f.err)
|
|
3510
|
+
return f;
|
|
3511
|
+
h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3498
3512
|
} else
|
|
3499
3513
|
break;
|
|
3500
3514
|
}
|
|
3501
|
-
if (
|
|
3502
|
-
return this.error(r === "select" ?
|
|
3503
|
-
|
|
3515
|
+
if (l.has(u))
|
|
3516
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3517
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3504
3518
|
var b = this.clonePosition();
|
|
3505
3519
|
if (!this.bumpIf("{"))
|
|
3506
|
-
return this.error(r === "select" ?
|
|
3520
|
+
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3507
3521
|
var p = this.parseMessage(t + 1, r, n);
|
|
3508
3522
|
if (p.err)
|
|
3509
3523
|
return p;
|
|
@@ -3511,14 +3525,14 @@ var Si = (
|
|
|
3511
3525
|
if (m.err)
|
|
3512
3526
|
return m;
|
|
3513
3527
|
a.push([
|
|
3514
|
-
|
|
3528
|
+
u,
|
|
3515
3529
|
{
|
|
3516
3530
|
value: p.val,
|
|
3517
|
-
location:
|
|
3531
|
+
location: y(b, this.clonePosition())
|
|
3518
3532
|
}
|
|
3519
|
-
]),
|
|
3533
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3520
3534
|
}
|
|
3521
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3535
|
+
return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3522
3536
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3523
3537
|
var n = 1, i = this.clonePosition();
|
|
3524
3538
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3529,8 +3543,8 @@ var Si = (
|
|
|
3529
3543
|
else
|
|
3530
3544
|
break;
|
|
3531
3545
|
}
|
|
3532
|
-
var
|
|
3533
|
-
return o ? (s *= n,
|
|
3546
|
+
var l = y(i, this.clonePosition());
|
|
3547
|
+
return o ? (s *= n, Ci(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3534
3548
|
}, e.prototype.offset = function() {
|
|
3535
3549
|
return this.position.offset;
|
|
3536
3550
|
}, e.prototype.isEOF = function() {
|
|
@@ -3545,7 +3559,7 @@ var Si = (
|
|
|
3545
3559
|
var t = this.position.offset;
|
|
3546
3560
|
if (t >= this.message.length)
|
|
3547
3561
|
throw Error("out of bound");
|
|
3548
|
-
var r =
|
|
3562
|
+
var r = xr(this.message, t);
|
|
3549
3563
|
if (r === void 0)
|
|
3550
3564
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3551
3565
|
return r;
|
|
@@ -3564,7 +3578,7 @@ var Si = (
|
|
|
3564
3578
|
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);
|
|
3565
3579
|
}
|
|
3566
3580
|
}, e.prototype.bumpIf = function(t) {
|
|
3567
|
-
if (
|
|
3581
|
+
if (Mt(this.message, t, this.offset())) {
|
|
3568
3582
|
for (var r = 0; r < t.length; r++)
|
|
3569
3583
|
this.bump();
|
|
3570
3584
|
return !0;
|
|
@@ -3586,7 +3600,7 @@ var Si = (
|
|
|
3586
3600
|
break;
|
|
3587
3601
|
}
|
|
3588
3602
|
}, e.prototype.bumpSpace = function() {
|
|
3589
|
-
for (; !this.isEOF() &&
|
|
3603
|
+
for (; !this.isEOF() && Cr(this.char()); )
|
|
3590
3604
|
this.bump();
|
|
3591
3605
|
}, e.prototype.peek = function() {
|
|
3592
3606
|
if (this.isEOF())
|
|
@@ -3596,38 +3610,38 @@ var Si = (
|
|
|
3596
3610
|
}, e;
|
|
3597
3611
|
}()
|
|
3598
3612
|
);
|
|
3599
|
-
function
|
|
3613
|
+
function tt(e) {
|
|
3600
3614
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3601
3615
|
}
|
|
3602
|
-
function
|
|
3603
|
-
return
|
|
3616
|
+
function Ai(e) {
|
|
3617
|
+
return tt(e) || e === 47;
|
|
3604
3618
|
}
|
|
3605
|
-
function
|
|
3619
|
+
function Ii(e) {
|
|
3606
3620
|
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;
|
|
3607
3621
|
}
|
|
3608
|
-
function
|
|
3622
|
+
function Cr(e) {
|
|
3609
3623
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3610
3624
|
}
|
|
3611
|
-
function
|
|
3625
|
+
function Bi(e) {
|
|
3612
3626
|
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;
|
|
3613
3627
|
}
|
|
3614
|
-
function
|
|
3628
|
+
function rt(e) {
|
|
3615
3629
|
e.forEach(function(t) {
|
|
3616
|
-
if (delete t.location,
|
|
3630
|
+
if (delete t.location, dr(t) || pr(t))
|
|
3617
3631
|
for (var r in t.options)
|
|
3618
|
-
delete t.options[r].location,
|
|
3632
|
+
delete t.options[r].location, rt(t.options[r].value);
|
|
3619
3633
|
else
|
|
3620
|
-
|
|
3634
|
+
hr(t) && br(t.style) || (cr(t) || fr(t)) && qe(t.style) ? delete t.style.location : mr(t) && rt(t.children);
|
|
3621
3635
|
});
|
|
3622
3636
|
}
|
|
3623
|
-
function
|
|
3637
|
+
function Pi(e, t) {
|
|
3624
3638
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3625
|
-
var r = new
|
|
3639
|
+
var r = new Hi(e, t).parse();
|
|
3626
3640
|
if (r.err) {
|
|
3627
|
-
var n = SyntaxError(
|
|
3641
|
+
var n = SyntaxError(v[r.err.kind]);
|
|
3628
3642
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3629
3643
|
}
|
|
3630
|
-
return t != null && t.captureLocation ||
|
|
3644
|
+
return t != null && t.captureLocation || rt(r.val), r.val;
|
|
3631
3645
|
}
|
|
3632
3646
|
var oe;
|
|
3633
3647
|
(function(e) {
|
|
@@ -3645,7 +3659,7 @@ var Ie = (
|
|
|
3645
3659
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3646
3660
|
}, t;
|
|
3647
3661
|
}(Error)
|
|
3648
|
-
),
|
|
3662
|
+
), Nt = (
|
|
3649
3663
|
/** @class */
|
|
3650
3664
|
function(e) {
|
|
3651
3665
|
V(t, e);
|
|
@@ -3654,7 +3668,7 @@ var Ie = (
|
|
|
3654
3668
|
}
|
|
3655
3669
|
return t;
|
|
3656
3670
|
}(Ie)
|
|
3657
|
-
),
|
|
3671
|
+
), Mi = (
|
|
3658
3672
|
/** @class */
|
|
3659
3673
|
function(e) {
|
|
3660
3674
|
V(t, e);
|
|
@@ -3663,7 +3677,7 @@ var Ie = (
|
|
|
3663
3677
|
}
|
|
3664
3678
|
return t;
|
|
3665
3679
|
}(Ie)
|
|
3666
|
-
),
|
|
3680
|
+
), Oi = (
|
|
3667
3681
|
/** @class */
|
|
3668
3682
|
function(e) {
|
|
3669
3683
|
V(t, e);
|
|
@@ -3676,78 +3690,78 @@ var Ie = (
|
|
|
3676
3690
|
(function(e) {
|
|
3677
3691
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3678
3692
|
})(N || (N = {}));
|
|
3679
|
-
function
|
|
3693
|
+
function Li(e) {
|
|
3680
3694
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3681
3695
|
var n = t[t.length - 1];
|
|
3682
3696
|
return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
|
|
3683
3697
|
}, []);
|
|
3684
3698
|
}
|
|
3685
|
-
function
|
|
3699
|
+
function Ni(e) {
|
|
3686
3700
|
return typeof e == "function";
|
|
3687
3701
|
}
|
|
3688
3702
|
function xe(e, t, r, n, i, o, s) {
|
|
3689
|
-
if (e.length === 1 &&
|
|
3703
|
+
if (e.length === 1 && At(e[0]))
|
|
3690
3704
|
return [
|
|
3691
3705
|
{
|
|
3692
3706
|
type: N.literal,
|
|
3693
3707
|
value: e[0].value
|
|
3694
3708
|
}
|
|
3695
3709
|
];
|
|
3696
|
-
for (var a = [],
|
|
3697
|
-
var h = l
|
|
3698
|
-
if (
|
|
3710
|
+
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3711
|
+
var h = u[l];
|
|
3712
|
+
if (At(h)) {
|
|
3699
3713
|
a.push({
|
|
3700
3714
|
type: N.literal,
|
|
3701
3715
|
value: h.value
|
|
3702
3716
|
});
|
|
3703
3717
|
continue;
|
|
3704
3718
|
}
|
|
3705
|
-
if (
|
|
3719
|
+
if (ni(h)) {
|
|
3706
3720
|
typeof o == "number" && a.push({
|
|
3707
3721
|
type: N.literal,
|
|
3708
3722
|
value: r.getNumberFormat(t).format(o)
|
|
3709
3723
|
});
|
|
3710
3724
|
continue;
|
|
3711
3725
|
}
|
|
3712
|
-
var
|
|
3713
|
-
if (!(i &&
|
|
3714
|
-
throw new
|
|
3715
|
-
var
|
|
3716
|
-
if (
|
|
3717
|
-
(!
|
|
3718
|
-
type: typeof
|
|
3719
|
-
value:
|
|
3726
|
+
var c = h.value;
|
|
3727
|
+
if (!(i && c in i))
|
|
3728
|
+
throw new Oi(c, s);
|
|
3729
|
+
var f = i[c];
|
|
3730
|
+
if (ri(h)) {
|
|
3731
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3732
|
+
type: typeof f == "string" ? N.literal : N.object,
|
|
3733
|
+
value: f
|
|
3720
3734
|
});
|
|
3721
3735
|
continue;
|
|
3722
3736
|
}
|
|
3723
|
-
if (
|
|
3724
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3737
|
+
if (cr(h)) {
|
|
3738
|
+
var b = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3725
3739
|
a.push({
|
|
3726
3740
|
type: N.literal,
|
|
3727
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3741
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3728
3742
|
});
|
|
3729
3743
|
continue;
|
|
3730
3744
|
}
|
|
3731
|
-
if (
|
|
3732
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3745
|
+
if (fr(h)) {
|
|
3746
|
+
var b = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3733
3747
|
a.push({
|
|
3734
3748
|
type: N.literal,
|
|
3735
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3749
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3736
3750
|
});
|
|
3737
3751
|
continue;
|
|
3738
3752
|
}
|
|
3739
|
-
if (
|
|
3740
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3741
|
-
b && b.scale && (
|
|
3753
|
+
if (hr(h)) {
|
|
3754
|
+
var b = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
|
|
3755
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3742
3756
|
type: N.literal,
|
|
3743
|
-
value: r.getNumberFormat(t, b).format(
|
|
3757
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3744
3758
|
});
|
|
3745
3759
|
continue;
|
|
3746
3760
|
}
|
|
3747
|
-
if (
|
|
3761
|
+
if (mr(h)) {
|
|
3748
3762
|
var p = h.children, m = h.value, C = i[m];
|
|
3749
|
-
if (!
|
|
3750
|
-
throw new
|
|
3763
|
+
if (!Ni(C))
|
|
3764
|
+
throw new Mi(m, "function", s);
|
|
3751
3765
|
var P = xe(p, t, r, n, i, o), A = C(P.map(function(S) {
|
|
3752
3766
|
return S.value;
|
|
3753
3767
|
}));
|
|
@@ -3758,42 +3772,42 @@ function xe(e, t, r, n, i, o, s) {
|
|
|
3758
3772
|
};
|
|
3759
3773
|
}));
|
|
3760
3774
|
}
|
|
3761
|
-
if (
|
|
3762
|
-
var I = h.options[
|
|
3775
|
+
if (dr(h)) {
|
|
3776
|
+
var I = h.options[f] || h.options.other;
|
|
3763
3777
|
if (!I)
|
|
3764
|
-
throw new
|
|
3778
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3765
3779
|
a.push.apply(a, xe(I.value, t, r, n, i));
|
|
3766
3780
|
continue;
|
|
3767
3781
|
}
|
|
3768
|
-
if (
|
|
3769
|
-
var I = h.options["=".concat(
|
|
3782
|
+
if (pr(h)) {
|
|
3783
|
+
var I = h.options["=".concat(f)];
|
|
3770
3784
|
if (!I) {
|
|
3771
3785
|
if (!Intl.PluralRules)
|
|
3772
3786
|
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3773
3787
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3774
3788
|
`, oe.MISSING_INTL_API, s);
|
|
3775
|
-
var L = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3789
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3776
3790
|
I = h.options[L] || h.options.other;
|
|
3777
3791
|
}
|
|
3778
3792
|
if (!I)
|
|
3779
|
-
throw new
|
|
3780
|
-
a.push.apply(a, xe(I.value, t, r, n, i,
|
|
3793
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3794
|
+
a.push.apply(a, xe(I.value, t, r, n, i, f - (h.offset || 0)));
|
|
3781
3795
|
continue;
|
|
3782
3796
|
}
|
|
3783
3797
|
}
|
|
3784
|
-
return
|
|
3798
|
+
return Li(a);
|
|
3785
3799
|
}
|
|
3786
|
-
function
|
|
3800
|
+
function Ri(e, t) {
|
|
3787
3801
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3788
3802
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3789
3803
|
}, {})) : e;
|
|
3790
3804
|
}
|
|
3791
|
-
function
|
|
3805
|
+
function Ui(e, t) {
|
|
3792
3806
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3793
|
-
return r[n] =
|
|
3807
|
+
return r[n] = Ri(e[n], t[n]), r;
|
|
3794
3808
|
}, _({}, e)) : e;
|
|
3795
3809
|
}
|
|
3796
|
-
function
|
|
3810
|
+
function Fe(e) {
|
|
3797
3811
|
return {
|
|
3798
3812
|
create: function() {
|
|
3799
3813
|
return {
|
|
@@ -3807,39 +3821,39 @@ function ke(e) {
|
|
|
3807
3821
|
}
|
|
3808
3822
|
};
|
|
3809
3823
|
}
|
|
3810
|
-
function
|
|
3824
|
+
function Di(e) {
|
|
3811
3825
|
return e === void 0 && (e = {
|
|
3812
3826
|
number: {},
|
|
3813
3827
|
dateTime: {},
|
|
3814
3828
|
pluralRules: {}
|
|
3815
3829
|
}), {
|
|
3816
|
-
getNumberFormat:
|
|
3830
|
+
getNumberFormat: $e(function() {
|
|
3817
3831
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3818
3832
|
r[n] = arguments[n];
|
|
3819
3833
|
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3820
3834
|
}, {
|
|
3821
|
-
cache:
|
|
3822
|
-
strategy:
|
|
3835
|
+
cache: Fe(e.number),
|
|
3836
|
+
strategy: Ge.variadic
|
|
3823
3837
|
}),
|
|
3824
|
-
getDateTimeFormat:
|
|
3838
|
+
getDateTimeFormat: $e(function() {
|
|
3825
3839
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3826
3840
|
r[n] = arguments[n];
|
|
3827
3841
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3828
3842
|
}, {
|
|
3829
|
-
cache:
|
|
3830
|
-
strategy:
|
|
3843
|
+
cache: Fe(e.dateTime),
|
|
3844
|
+
strategy: Ge.variadic
|
|
3831
3845
|
}),
|
|
3832
|
-
getPluralRules:
|
|
3846
|
+
getPluralRules: $e(function() {
|
|
3833
3847
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3834
3848
|
r[n] = arguments[n];
|
|
3835
3849
|
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3836
3850
|
}, {
|
|
3837
|
-
cache:
|
|
3838
|
-
strategy:
|
|
3851
|
+
cache: Fe(e.pluralRules),
|
|
3852
|
+
strategy: Ge.variadic
|
|
3839
3853
|
})
|
|
3840
3854
|
};
|
|
3841
3855
|
}
|
|
3842
|
-
var
|
|
3856
|
+
var $i = (
|
|
3843
3857
|
/** @class */
|
|
3844
3858
|
function() {
|
|
3845
3859
|
function e(t, r, n, i) {
|
|
@@ -3849,20 +3863,20 @@ var Ui = (
|
|
|
3849
3863
|
number: {},
|
|
3850
3864
|
dateTime: {},
|
|
3851
3865
|
pluralRules: {}
|
|
3852
|
-
}, this.format = function(
|
|
3853
|
-
var
|
|
3854
|
-
if (
|
|
3855
|
-
return
|
|
3856
|
-
var h =
|
|
3857
|
-
return !
|
|
3866
|
+
}, this.format = function(l) {
|
|
3867
|
+
var u = o.formatToParts(l);
|
|
3868
|
+
if (u.length === 1)
|
|
3869
|
+
return u[0].value;
|
|
3870
|
+
var h = u.reduce(function(c, f) {
|
|
3871
|
+
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3858
3872
|
}, []);
|
|
3859
3873
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3860
|
-
}, this.formatToParts = function(
|
|
3861
|
-
return xe(o.ast, o.locales, o.formatters, o.formats,
|
|
3874
|
+
}, this.formatToParts = function(l) {
|
|
3875
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3862
3876
|
}, this.resolvedOptions = function() {
|
|
3863
|
-
var
|
|
3877
|
+
var l;
|
|
3864
3878
|
return {
|
|
3865
|
-
locale: ((
|
|
3879
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3866
3880
|
};
|
|
3867
3881
|
}, this.getAst = function() {
|
|
3868
3882
|
return o.ast;
|
|
@@ -3871,13 +3885,13 @@ var Ui = (
|
|
|
3871
3885
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3872
3886
|
var s = i || {};
|
|
3873
3887
|
s.formatters;
|
|
3874
|
-
var a =
|
|
3888
|
+
var a = vn(s, ["formatters"]);
|
|
3875
3889
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
|
3876
3890
|
} else
|
|
3877
3891
|
this.ast = t;
|
|
3878
3892
|
if (!Array.isArray(this.ast))
|
|
3879
3893
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3880
|
-
this.formats =
|
|
3894
|
+
this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
|
|
3881
3895
|
}
|
|
3882
3896
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3883
3897
|
get: function() {
|
|
@@ -3890,7 +3904,7 @@ var Ui = (
|
|
|
3890
3904
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3891
3905
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3892
3906
|
}
|
|
3893
|
-
}, e.__parse =
|
|
3907
|
+
}, e.__parse = Pi, e.formats = {
|
|
3894
3908
|
number: {
|
|
3895
3909
|
integer: {
|
|
3896
3910
|
maximumFractionDigits: 0
|
|
@@ -3951,7 +3965,7 @@ var Ui = (
|
|
|
3951
3965
|
}, e;
|
|
3952
3966
|
}()
|
|
3953
3967
|
);
|
|
3954
|
-
function
|
|
3968
|
+
function Gi(e, t) {
|
|
3955
3969
|
if (t == null)
|
|
3956
3970
|
return;
|
|
3957
3971
|
if (t in e)
|
|
@@ -3972,92 +3986,92 @@ function Di(e, t) {
|
|
|
3972
3986
|
n = void 0;
|
|
3973
3987
|
return n;
|
|
3974
3988
|
}
|
|
3975
|
-
const W = {},
|
|
3989
|
+
const W = {}, ki = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), wr = (e, t) => {
|
|
3976
3990
|
if (t == null)
|
|
3977
3991
|
return;
|
|
3978
3992
|
if (t in W && e in W[t])
|
|
3979
3993
|
return W[t][e];
|
|
3980
3994
|
const r = Be(t);
|
|
3981
3995
|
for (let n = 0; n < r.length; n++) {
|
|
3982
|
-
const i = r[n], o =
|
|
3996
|
+
const i = r[n], o = ji(i, e);
|
|
3983
3997
|
if (o)
|
|
3984
|
-
return
|
|
3998
|
+
return ki(e, t, o);
|
|
3985
3999
|
}
|
|
3986
4000
|
};
|
|
3987
|
-
let
|
|
3988
|
-
const
|
|
3989
|
-
function
|
|
3990
|
-
return
|
|
4001
|
+
let ut;
|
|
4002
|
+
const le = Ae({});
|
|
4003
|
+
function Fi(e) {
|
|
4004
|
+
return ut[e] || null;
|
|
3991
4005
|
}
|
|
3992
|
-
function
|
|
3993
|
-
return e in
|
|
4006
|
+
function Sr(e) {
|
|
4007
|
+
return e in ut;
|
|
3994
4008
|
}
|
|
3995
|
-
function
|
|
3996
|
-
if (!
|
|
4009
|
+
function ji(e, t) {
|
|
4010
|
+
if (!Sr(e))
|
|
3997
4011
|
return null;
|
|
3998
|
-
const r =
|
|
3999
|
-
return
|
|
4012
|
+
const r = Fi(e);
|
|
4013
|
+
return Gi(r, t);
|
|
4000
4014
|
}
|
|
4001
|
-
function
|
|
4015
|
+
function Vi(e) {
|
|
4002
4016
|
if (e == null)
|
|
4003
4017
|
return;
|
|
4004
4018
|
const t = Be(e);
|
|
4005
4019
|
for (let r = 0; r < t.length; r++) {
|
|
4006
4020
|
const n = t[r];
|
|
4007
|
-
if (
|
|
4021
|
+
if (Sr(n))
|
|
4008
4022
|
return n;
|
|
4009
4023
|
}
|
|
4010
4024
|
}
|
|
4011
|
-
function
|
|
4012
|
-
delete W[e],
|
|
4025
|
+
function Tr(e, ...t) {
|
|
4026
|
+
delete W[e], le.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
|
|
4013
4027
|
}
|
|
4014
4028
|
ae(
|
|
4015
|
-
[
|
|
4029
|
+
[le],
|
|
4016
4030
|
([e]) => Object.keys(e)
|
|
4017
4031
|
);
|
|
4018
|
-
|
|
4032
|
+
le.subscribe((e) => ut = e);
|
|
4019
4033
|
const Ee = {};
|
|
4020
|
-
function
|
|
4034
|
+
function Wi(e, t) {
|
|
4021
4035
|
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4022
4036
|
}
|
|
4023
|
-
function
|
|
4037
|
+
function Hr(e) {
|
|
4024
4038
|
return Ee[e];
|
|
4025
4039
|
}
|
|
4026
|
-
function
|
|
4040
|
+
function Xi(e) {
|
|
4027
4041
|
return Be(e).map((t) => {
|
|
4028
|
-
const r =
|
|
4042
|
+
const r = Hr(t);
|
|
4029
4043
|
return [t, r ? [...r] : []];
|
|
4030
4044
|
}).filter(([, t]) => t.length > 0);
|
|
4031
4045
|
}
|
|
4032
|
-
function
|
|
4046
|
+
function nt(e) {
|
|
4033
4047
|
return e == null ? !1 : Be(e).some(
|
|
4034
4048
|
(t) => {
|
|
4035
4049
|
var r;
|
|
4036
|
-
return (r =
|
|
4050
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
4037
4051
|
}
|
|
4038
4052
|
);
|
|
4039
4053
|
}
|
|
4040
|
-
function
|
|
4054
|
+
function zi(e, t) {
|
|
4041
4055
|
return Promise.all(
|
|
4042
|
-
t.map((n) => (
|
|
4043
|
-
).then((n) =>
|
|
4056
|
+
t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
|
|
4057
|
+
).then((n) => Tr(e, ...n));
|
|
4044
4058
|
}
|
|
4045
4059
|
const he = {};
|
|
4046
|
-
function
|
|
4047
|
-
if (!
|
|
4060
|
+
function Ar(e) {
|
|
4061
|
+
if (!nt(e))
|
|
4048
4062
|
return e in he ? he[e] : Promise.resolve();
|
|
4049
|
-
const t =
|
|
4063
|
+
const t = Xi(e);
|
|
4050
4064
|
return he[e] = Promise.all(
|
|
4051
4065
|
t.map(
|
|
4052
|
-
([r, n]) =>
|
|
4066
|
+
([r, n]) => zi(r, n)
|
|
4053
4067
|
)
|
|
4054
4068
|
).then(() => {
|
|
4055
|
-
if (
|
|
4056
|
-
return
|
|
4069
|
+
if (nt(e))
|
|
4070
|
+
return Ar(e);
|
|
4057
4071
|
delete he[e];
|
|
4058
4072
|
}), he[e];
|
|
4059
4073
|
}
|
|
4060
|
-
const
|
|
4074
|
+
const Zi = {
|
|
4061
4075
|
number: {
|
|
4062
4076
|
scientific: { notation: "scientific" },
|
|
4063
4077
|
engineering: { notation: "engineering" },
|
|
@@ -4086,57 +4100,57 @@ const Xi = {
|
|
|
4086
4100
|
timeZoneName: "short"
|
|
4087
4101
|
}
|
|
4088
4102
|
}
|
|
4089
|
-
},
|
|
4103
|
+
}, Qi = {
|
|
4090
4104
|
fallbackLocale: null,
|
|
4091
4105
|
loadingDelay: 200,
|
|
4092
|
-
formats:
|
|
4106
|
+
formats: Zi,
|
|
4093
4107
|
warnOnMissingMessages: !0,
|
|
4094
4108
|
handleMissingMessage: void 0,
|
|
4095
4109
|
ignoreTag: !0
|
|
4096
|
-
},
|
|
4110
|
+
}, Yi = Qi;
|
|
4097
4111
|
function se() {
|
|
4098
|
-
return
|
|
4099
|
-
}
|
|
4100
|
-
const
|
|
4101
|
-
var
|
|
4102
|
-
for (var r in t)
|
|
4103
|
-
|
|
4104
|
-
if (
|
|
4105
|
-
for (var r of
|
|
4106
|
-
|
|
4112
|
+
return Yi;
|
|
4113
|
+
}
|
|
4114
|
+
const je = Ae(!1);
|
|
4115
|
+
var qi = Object.defineProperty, Ji = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
|
|
4116
|
+
for (var r in t || (t = {}))
|
|
4117
|
+
eo.call(t, r) && Ut(e, r, t[r]);
|
|
4118
|
+
if (Rt)
|
|
4119
|
+
for (var r of Rt(t))
|
|
4120
|
+
to.call(t, r) && Ut(e, r, t[r]);
|
|
4107
4121
|
return e;
|
|
4108
|
-
},
|
|
4109
|
-
let
|
|
4122
|
+
}, no = (e, t) => Ji(e, Ki(t));
|
|
4123
|
+
let it;
|
|
4110
4124
|
const we = Ae(null);
|
|
4111
|
-
function
|
|
4125
|
+
function Dt(e) {
|
|
4112
4126
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4113
4127
|
}
|
|
4114
4128
|
function Be(e, t = se().fallbackLocale) {
|
|
4115
|
-
const r =
|
|
4116
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4129
|
+
const r = Dt(e);
|
|
4130
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4117
4131
|
}
|
|
4118
4132
|
function Z() {
|
|
4119
|
-
return
|
|
4133
|
+
return it != null ? it : void 0;
|
|
4120
4134
|
}
|
|
4121
4135
|
we.subscribe((e) => {
|
|
4122
|
-
|
|
4136
|
+
it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4123
4137
|
});
|
|
4124
|
-
const
|
|
4125
|
-
if (e &&
|
|
4138
|
+
const io = (e) => {
|
|
4139
|
+
if (e && Vi(e) && nt(e)) {
|
|
4126
4140
|
const { loadingDelay: t } = se();
|
|
4127
4141
|
let r;
|
|
4128
4142
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4129
|
-
() =>
|
|
4143
|
+
() => je.set(!0),
|
|
4130
4144
|
t
|
|
4131
|
-
) :
|
|
4145
|
+
) : je.set(!0), Ar(e).then(() => {
|
|
4132
4146
|
we.set(e);
|
|
4133
4147
|
}).finally(() => {
|
|
4134
|
-
clearTimeout(r),
|
|
4148
|
+
clearTimeout(r), je.set(!1);
|
|
4135
4149
|
});
|
|
4136
4150
|
}
|
|
4137
4151
|
return we.set(e);
|
|
4138
|
-
}, X =
|
|
4139
|
-
set:
|
|
4152
|
+
}, X = no(ro({}, we), {
|
|
4153
|
+
set: io
|
|
4140
4154
|
}), Pe = (e) => {
|
|
4141
4155
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4142
4156
|
return (n) => {
|
|
@@ -4144,20 +4158,20 @@ const ro = (e) => {
|
|
|
4144
4158
|
return i in t ? t[i] : t[i] = e(n);
|
|
4145
4159
|
};
|
|
4146
4160
|
};
|
|
4147
|
-
var
|
|
4161
|
+
var oo = Object.defineProperty, Se = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4148
4162
|
for (var r in t || (t = {}))
|
|
4149
|
-
|
|
4163
|
+
Ir.call(t, r) && $t(e, r, t[r]);
|
|
4150
4164
|
if (Se)
|
|
4151
4165
|
for (var r of Se(t))
|
|
4152
|
-
|
|
4166
|
+
Br.call(t, r) && $t(e, r, t[r]);
|
|
4153
4167
|
return e;
|
|
4154
|
-
},
|
|
4168
|
+
}, ue = (e, t) => {
|
|
4155
4169
|
var r = {};
|
|
4156
4170
|
for (var n in e)
|
|
4157
|
-
|
|
4171
|
+
Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4158
4172
|
if (e != null && Se)
|
|
4159
4173
|
for (var n of Se(e))
|
|
4160
|
-
t.indexOf(n) < 0 &&
|
|
4174
|
+
t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
|
|
4161
4175
|
return r;
|
|
4162
4176
|
};
|
|
4163
4177
|
const pe = (e, t) => {
|
|
@@ -4165,113 +4179,113 @@ const pe = (e, t) => {
|
|
|
4165
4179
|
if (e in r && t in r[e])
|
|
4166
4180
|
return r[e][t];
|
|
4167
4181
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4168
|
-
},
|
|
4182
|
+
}, so = Pe(
|
|
4169
4183
|
(e) => {
|
|
4170
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4184
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4171
4185
|
if (r == null)
|
|
4172
4186
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4173
4187
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4174
4188
|
}
|
|
4175
|
-
),
|
|
4189
|
+
), ao = Pe(
|
|
4176
4190
|
(e) => {
|
|
4177
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4191
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4178
4192
|
if (r == null)
|
|
4179
4193
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4180
4194
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4181
4195
|
}
|
|
4182
|
-
),
|
|
4196
|
+
), lo = Pe(
|
|
4183
4197
|
(e) => {
|
|
4184
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4198
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4185
4199
|
if (r == null)
|
|
4186
4200
|
throw new Error(
|
|
4187
4201
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4188
4202
|
);
|
|
4189
4203
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4190
4204
|
}
|
|
4191
|
-
),
|
|
4205
|
+
), uo = (e = {}) => {
|
|
4192
4206
|
var t = e, {
|
|
4193
4207
|
locale: r = Z()
|
|
4194
|
-
} = t, n =
|
|
4208
|
+
} = t, n = ue(t, [
|
|
4195
4209
|
"locale"
|
|
4196
4210
|
]);
|
|
4197
|
-
return
|
|
4198
|
-
},
|
|
4211
|
+
return so(ht({ locale: r }, n));
|
|
4212
|
+
}, ho = (e = {}) => {
|
|
4199
4213
|
var t = e, {
|
|
4200
4214
|
locale: r = Z()
|
|
4201
|
-
} = t, n =
|
|
4215
|
+
} = t, n = ue(t, [
|
|
4202
4216
|
"locale"
|
|
4203
4217
|
]);
|
|
4204
|
-
return
|
|
4205
|
-
},
|
|
4218
|
+
return ao(ht({ locale: r }, n));
|
|
4219
|
+
}, co = (e = {}) => {
|
|
4206
4220
|
var t = e, {
|
|
4207
4221
|
locale: r = Z()
|
|
4208
|
-
} = t, n =
|
|
4222
|
+
} = t, n = ue(t, [
|
|
4209
4223
|
"locale"
|
|
4210
4224
|
]);
|
|
4211
|
-
return
|
|
4212
|
-
},
|
|
4225
|
+
return lo(ht({ locale: r }, n));
|
|
4226
|
+
}, fo = Pe(
|
|
4213
4227
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4214
|
-
(e, t = Z()) => new
|
|
4228
|
+
(e, t = Z()) => new $i(e, t, se().formats, {
|
|
4215
4229
|
ignoreTag: se().ignoreTag
|
|
4216
4230
|
})
|
|
4217
|
-
),
|
|
4231
|
+
), po = (e, t = {}) => {
|
|
4218
4232
|
var r, n, i, o;
|
|
4219
4233
|
let s = t;
|
|
4220
4234
|
typeof e == "object" && (s = e, e = s.id);
|
|
4221
4235
|
const {
|
|
4222
4236
|
values: a,
|
|
4223
|
-
locale:
|
|
4224
|
-
default:
|
|
4237
|
+
locale: l = Z(),
|
|
4238
|
+
default: u
|
|
4225
4239
|
} = s;
|
|
4226
|
-
if (
|
|
4240
|
+
if (l == null)
|
|
4227
4241
|
throw new Error(
|
|
4228
4242
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4229
4243
|
);
|
|
4230
|
-
let h =
|
|
4244
|
+
let h = wr(e, l);
|
|
4231
4245
|
if (!h)
|
|
4232
|
-
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale:
|
|
4246
|
+
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4233
4247
|
else if (typeof h != "string")
|
|
4234
4248
|
return console.warn(
|
|
4235
4249
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4236
4250
|
), h;
|
|
4237
4251
|
if (!a)
|
|
4238
4252
|
return h;
|
|
4239
|
-
let
|
|
4253
|
+
let c = h;
|
|
4240
4254
|
try {
|
|
4241
|
-
|
|
4242
|
-
} catch (
|
|
4243
|
-
|
|
4255
|
+
c = fo(h, l).format(a);
|
|
4256
|
+
} catch (f) {
|
|
4257
|
+
f instanceof Error && console.warn(
|
|
4244
4258
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4245
|
-
|
|
4259
|
+
f.message
|
|
4246
4260
|
);
|
|
4247
4261
|
}
|
|
4248
|
-
return
|
|
4249
|
-
},
|
|
4250
|
-
ae([X,
|
|
4251
|
-
ae([X], () => co);
|
|
4252
|
-
ae([X], () => po);
|
|
4262
|
+
return c;
|
|
4263
|
+
}, mo = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => uo(t).format(e), vo = (e, t = Z()) => wr(e, t);
|
|
4264
|
+
ae([X, le], () => po);
|
|
4253
4265
|
ae([X], () => mo);
|
|
4254
|
-
ae([X
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4266
|
+
ae([X], () => bo);
|
|
4267
|
+
ae([X], () => go);
|
|
4268
|
+
ae([X, le], () => vo);
|
|
4269
|
+
window.emWidgets = { topic: Mn };
|
|
4270
|
+
const Gt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
|
+
function yo({ withLocale: e, translations: t }) {
|
|
4258
4272
|
X.subscribe((r) => {
|
|
4259
|
-
r == null && (
|
|
4273
|
+
r == null && (le.set(t), X.set(e));
|
|
4260
4274
|
});
|
|
4261
4275
|
}
|
|
4262
|
-
function
|
|
4263
|
-
|
|
4276
|
+
function _o(e, t) {
|
|
4277
|
+
Tr(e, t);
|
|
4264
4278
|
}
|
|
4265
|
-
function
|
|
4279
|
+
function xo(e) {
|
|
4266
4280
|
X.set(e);
|
|
4267
4281
|
}
|
|
4268
|
-
function
|
|
4282
|
+
function Eo(e, t) {
|
|
4269
4283
|
if (e) {
|
|
4270
4284
|
const r = document.createElement("style");
|
|
4271
4285
|
r.innerHTML = t, e.appendChild(r);
|
|
4272
4286
|
}
|
|
4273
4287
|
}
|
|
4274
|
-
function
|
|
4288
|
+
function Co(e, t) {
|
|
4275
4289
|
const r = new URL(t);
|
|
4276
4290
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4277
4291
|
const i = document.createElement("style");
|
|
@@ -4280,7 +4294,7 @@ function xo(e, t) {
|
|
|
4280
4294
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4281
4295
|
});
|
|
4282
4296
|
}
|
|
4283
|
-
function
|
|
4297
|
+
function wo(e, t, r) {
|
|
4284
4298
|
if (window.emMessageBus) {
|
|
4285
4299
|
const n = document.createElement("style");
|
|
4286
4300
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4288,25 +4302,25 @@ function Eo(e, t, r) {
|
|
|
4288
4302
|
});
|
|
4289
4303
|
}
|
|
4290
4304
|
}
|
|
4291
|
-
function
|
|
4292
|
-
|
|
4305
|
+
function So(e) {
|
|
4306
|
+
Yr(e, "svelte-14514rm", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 10px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);border-radius:var(--emw--border-radius-medium, 10px);max-width:1300px;margin:0 auto}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));margin:0 auto;max-width:1300px;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #ffffff))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a));color:var(--emw--categories-typography, var(--emw--color-white, #ffffff))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #ffffff)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #ffffff);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:10px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
|
|
4293
4307
|
}
|
|
4294
|
-
function
|
|
4308
|
+
function kt(e, t, r) {
|
|
4295
4309
|
const n = e.slice();
|
|
4296
4310
|
return n[43] = t[r], n[45] = r, n;
|
|
4297
4311
|
}
|
|
4298
|
-
function
|
|
4299
|
-
let t, r, n, i, o, s, a,
|
|
4312
|
+
function To(e) {
|
|
4313
|
+
let t, r, n, i, o, s, a, l, u, h, c, f, b, p = (
|
|
4300
4314
|
/*vendors*/
|
|
4301
|
-
e[6].length > 0 &&
|
|
4315
|
+
e[6].length > 0 && Ft(e)
|
|
4302
4316
|
);
|
|
4303
4317
|
return {
|
|
4304
4318
|
c() {
|
|
4305
|
-
t = T("div"), r = T("div"), n = T("div"), i = T("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', o = F(), s = T("div"), a = T("ul"),
|
|
4319
|
+
t = T("div"), r = T("div"), n = T("div"), i = T("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', o = F(), s = T("div"), a = T("ul"), l = T("li"), l.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = F(), p && p.c(), h = F(), c = T("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', E(i, "class", "CarouselLeftArrow"), E(l, "class", "TouchOnly"), E(a, "id", "CarouselNav"), E(a, "class", "CarouselItems"), E(s, "class", "CarouselNavWrap"), E(c, "class", "CarouselRightArrow"), E(n, "class", "CarouselContainer CarouselContainerMobile"), E(r, "class", "CarouselWrapper " + /*isMobile*/
|
|
4306
4320
|
(e[10] ? "CarouselWrapperMobile" : "")), E(t, "class", "CasinoVendorsContainer"), E(t, "part", "CasinoVendorsContainer");
|
|
4307
4321
|
},
|
|
4308
4322
|
m(m, C) {
|
|
4309
|
-
|
|
4323
|
+
M(m, t, C), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, l), H(a, u), p && p.m(a, null), e[28](a), e[29](s), H(n, h), H(n, c), e[30](r), f || (b = [
|
|
4310
4324
|
K(
|
|
4311
4325
|
i,
|
|
4312
4326
|
"click",
|
|
@@ -4320,36 +4334,36 @@ function wo(e) {
|
|
|
4320
4334
|
e[15]
|
|
4321
4335
|
),
|
|
4322
4336
|
K(
|
|
4323
|
-
|
|
4337
|
+
c,
|
|
4324
4338
|
"click",
|
|
4325
4339
|
/*scrollRight*/
|
|
4326
4340
|
e[13]
|
|
4327
4341
|
),
|
|
4328
4342
|
K(
|
|
4329
|
-
|
|
4343
|
+
c,
|
|
4330
4344
|
"keydown",
|
|
4331
4345
|
/*onScrollRightKeydown*/
|
|
4332
4346
|
e[14]
|
|
4333
4347
|
)
|
|
4334
|
-
],
|
|
4348
|
+
], f = !0);
|
|
4335
4349
|
},
|
|
4336
4350
|
p(m, C) {
|
|
4337
4351
|
/*vendors*/
|
|
4338
|
-
m[6].length > 0 ? p ? p.p(m, C) : (p =
|
|
4352
|
+
m[6].length > 0 ? p ? p.p(m, C) : (p = Ft(m), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
|
|
4339
4353
|
},
|
|
4340
4354
|
d(m) {
|
|
4341
|
-
m && B(t), p && p.d(), e[28](null), e[29](null), e[30](null),
|
|
4355
|
+
m && B(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
|
|
4342
4356
|
}
|
|
4343
4357
|
};
|
|
4344
4358
|
}
|
|
4345
|
-
function
|
|
4359
|
+
function Ho(e) {
|
|
4346
4360
|
let t;
|
|
4347
4361
|
return {
|
|
4348
4362
|
c() {
|
|
4349
4363
|
t = T("p"), t.textContent = "500 Error - Internal Server Error.", E(t, "class", "SearchLoading");
|
|
4350
4364
|
},
|
|
4351
4365
|
m(r, n) {
|
|
4352
|
-
|
|
4366
|
+
M(r, t, n);
|
|
4353
4367
|
},
|
|
4354
4368
|
p: D,
|
|
4355
4369
|
d(r) {
|
|
@@ -4357,14 +4371,14 @@ function So(e) {
|
|
|
4357
4371
|
}
|
|
4358
4372
|
};
|
|
4359
4373
|
}
|
|
4360
|
-
function
|
|
4374
|
+
function Ao(e) {
|
|
4361
4375
|
let t;
|
|
4362
4376
|
return {
|
|
4363
4377
|
c() {
|
|
4364
4378
|
t = T("div"), E(t, "class", "CasinoVendorsLoading");
|
|
4365
4379
|
},
|
|
4366
4380
|
m(r, n) {
|
|
4367
|
-
|
|
4381
|
+
M(r, t, n);
|
|
4368
4382
|
},
|
|
4369
4383
|
p: D,
|
|
4370
4384
|
d(r) {
|
|
@@ -4372,8 +4386,8 @@ function To(e) {
|
|
|
4372
4386
|
}
|
|
4373
4387
|
};
|
|
4374
4388
|
}
|
|
4375
|
-
function
|
|
4376
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4389
|
+
function Ft(e) {
|
|
4390
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = yt(
|
|
4377
4391
|
/*vendors*/
|
|
4378
4392
|
e[6]
|
|
4379
4393
|
);
|
|
@@ -4382,26 +4396,26 @@ function Gt(e) {
|
|
|
4382
4396
|
s[43].id
|
|
4383
4397
|
);
|
|
4384
4398
|
for (let s = 0; s < i.length; s += 1) {
|
|
4385
|
-
let a =
|
|
4386
|
-
r.set(
|
|
4399
|
+
let a = kt(e, i, s), l = o(a);
|
|
4400
|
+
r.set(l, t[s] = Qt(l, a));
|
|
4387
4401
|
}
|
|
4388
4402
|
return {
|
|
4389
4403
|
c() {
|
|
4390
4404
|
for (let s = 0; s < t.length; s += 1)
|
|
4391
4405
|
t[s].c();
|
|
4392
|
-
n =
|
|
4406
|
+
n = ot();
|
|
4393
4407
|
},
|
|
4394
4408
|
m(s, a) {
|
|
4395
|
-
for (let
|
|
4396
|
-
t[
|
|
4397
|
-
|
|
4409
|
+
for (let l = 0; l < t.length; l += 1)
|
|
4410
|
+
t[l] && t[l].m(s, a);
|
|
4411
|
+
M(s, n, a);
|
|
4398
4412
|
},
|
|
4399
4413
|
p(s, a) {
|
|
4400
4414
|
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
|
|
4401
|
-
461903 && (i =
|
|
4415
|
+
461903 && (i = yt(
|
|
4402
4416
|
/*vendors*/
|
|
4403
4417
|
s[6]
|
|
4404
|
-
), t =
|
|
4418
|
+
), t = hn(t, a, o, 1, s, i, r, n.parentNode, un, Qt, n, kt));
|
|
4405
4419
|
},
|
|
4406
4420
|
d(s) {
|
|
4407
4421
|
s && B(n);
|
|
@@ -4410,21 +4424,21 @@ function Gt(e) {
|
|
|
4410
4424
|
}
|
|
4411
4425
|
};
|
|
4412
4426
|
}
|
|
4413
|
-
function
|
|
4427
|
+
function jt(e) {
|
|
4414
4428
|
let t;
|
|
4415
4429
|
function r(o, s) {
|
|
4416
4430
|
return (
|
|
4417
4431
|
/*isMobile*/
|
|
4418
|
-
o[10] ?
|
|
4432
|
+
o[10] ? Bo : Io
|
|
4419
4433
|
);
|
|
4420
4434
|
}
|
|
4421
4435
|
let i = r(e)(e);
|
|
4422
4436
|
return {
|
|
4423
4437
|
c() {
|
|
4424
|
-
i.c(), t =
|
|
4438
|
+
i.c(), t = ot();
|
|
4425
4439
|
},
|
|
4426
4440
|
m(o, s) {
|
|
4427
|
-
i.m(o, s),
|
|
4441
|
+
i.m(o, s), M(o, t, s);
|
|
4428
4442
|
},
|
|
4429
4443
|
p(o, s) {
|
|
4430
4444
|
i.p(o, s);
|
|
@@ -4434,37 +4448,37 @@ function kt(e) {
|
|
|
4434
4448
|
}
|
|
4435
4449
|
};
|
|
4436
4450
|
}
|
|
4437
|
-
function
|
|
4451
|
+
function Io(e) {
|
|
4438
4452
|
let t, r, n, i, o, s = (
|
|
4439
4453
|
/*showvendorname*/
|
|
4440
|
-
e[2] === "false" &&
|
|
4454
|
+
e[2] === "false" && Vt()
|
|
4441
4455
|
);
|
|
4442
4456
|
return {
|
|
4443
4457
|
c() {
|
|
4444
|
-
t = T("img"), i = F(), s && s.c(), o =
|
|
4458
|
+
t = T("img"), i = F(), s && s.c(), o = ot(), Ce(t.src, r = /*vendor*/
|
|
4445
4459
|
e[43].logo) || E(t, "src", r), E(t, "alt", n = /*vendor*/
|
|
4446
4460
|
e[43].displayName);
|
|
4447
4461
|
},
|
|
4448
|
-
m(a,
|
|
4449
|
-
|
|
4462
|
+
m(a, l) {
|
|
4463
|
+
M(a, t, l), M(a, i, l), s && s.m(a, l), M(a, o, l);
|
|
4450
4464
|
},
|
|
4451
|
-
p(a,
|
|
4452
|
-
|
|
4465
|
+
p(a, l) {
|
|
4466
|
+
l[0] & /*vendors*/
|
|
4453
4467
|
64 && !Ce(t.src, r = /*vendor*/
|
|
4454
|
-
a[43].logo) && E(t, "src", r),
|
|
4468
|
+
a[43].logo) && E(t, "src", r), l[0] & /*vendors*/
|
|
4455
4469
|
64 && n !== (n = /*vendor*/
|
|
4456
4470
|
a[43].displayName) && E(t, "alt", n), /*showvendorname*/
|
|
4457
|
-
a[2] === "false" ? s || (s =
|
|
4471
|
+
a[2] === "false" ? s || (s = Vt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
4458
4472
|
},
|
|
4459
4473
|
d(a) {
|
|
4460
4474
|
a && (B(t), B(i), B(o)), s && s.d(a);
|
|
4461
4475
|
}
|
|
4462
4476
|
};
|
|
4463
4477
|
}
|
|
4464
|
-
function
|
|
4478
|
+
function Bo(e) {
|
|
4465
4479
|
let t, r, n, i, o, s = (
|
|
4466
4480
|
/*showvendorname*/
|
|
4467
|
-
e[2] === "false" &&
|
|
4481
|
+
e[2] === "false" && Wt()
|
|
4468
4482
|
);
|
|
4469
4483
|
return {
|
|
4470
4484
|
c() {
|
|
@@ -4472,51 +4486,51 @@ function Ao(e) {
|
|
|
4472
4486
|
e[43].logo) || E(r, "src", n), E(r, "alt", i = /*vendor*/
|
|
4473
4487
|
e[43].displayName), E(t, "class", "ImageContainer");
|
|
4474
4488
|
},
|
|
4475
|
-
m(a,
|
|
4476
|
-
|
|
4489
|
+
m(a, l) {
|
|
4490
|
+
M(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
|
|
4477
4491
|
},
|
|
4478
|
-
p(a,
|
|
4479
|
-
|
|
4492
|
+
p(a, l) {
|
|
4493
|
+
l[0] & /*vendors*/
|
|
4480
4494
|
64 && !Ce(r.src, n = /*vendor*/
|
|
4481
|
-
a[43].logo) && E(r, "src", n),
|
|
4495
|
+
a[43].logo) && E(r, "src", n), l[0] & /*vendors*/
|
|
4482
4496
|
64 && i !== (i = /*vendor*/
|
|
4483
4497
|
a[43].displayName) && E(r, "alt", i), /*showvendorname*/
|
|
4484
|
-
a[2] === "false" ? s || (s =
|
|
4498
|
+
a[2] === "false" ? s || (s = Wt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4485
4499
|
},
|
|
4486
4500
|
d(a) {
|
|
4487
4501
|
a && B(t), s && s.d();
|
|
4488
4502
|
}
|
|
4489
4503
|
};
|
|
4490
4504
|
}
|
|
4491
|
-
function
|
|
4505
|
+
function Vt(e) {
|
|
4492
4506
|
let t;
|
|
4493
4507
|
return {
|
|
4494
4508
|
c() {
|
|
4495
4509
|
t = T("div"), E(t, "class", "ActiveImg");
|
|
4496
4510
|
},
|
|
4497
4511
|
m(r, n) {
|
|
4498
|
-
|
|
4512
|
+
M(r, t, n);
|
|
4499
4513
|
},
|
|
4500
4514
|
d(r) {
|
|
4501
4515
|
r && B(t);
|
|
4502
4516
|
}
|
|
4503
4517
|
};
|
|
4504
4518
|
}
|
|
4505
|
-
function
|
|
4519
|
+
function Wt(e) {
|
|
4506
4520
|
let t;
|
|
4507
4521
|
return {
|
|
4508
4522
|
c() {
|
|
4509
4523
|
t = T("div"), E(t, "class", "ActiveImg");
|
|
4510
4524
|
},
|
|
4511
4525
|
m(r, n) {
|
|
4512
|
-
|
|
4526
|
+
M(r, t, n);
|
|
4513
4527
|
},
|
|
4514
4528
|
d(r) {
|
|
4515
4529
|
r && B(t);
|
|
4516
4530
|
}
|
|
4517
4531
|
};
|
|
4518
4532
|
}
|
|
4519
|
-
function
|
|
4533
|
+
function Xt(e) {
|
|
4520
4534
|
var i;
|
|
4521
4535
|
let t, r = (
|
|
4522
4536
|
/*getGamesTotal*/
|
|
@@ -4530,7 +4544,7 @@ function Vt(e) {
|
|
|
4530
4544
|
t = T("span"), n = me(r), E(t, "class", "categoryImgButtonCount");
|
|
4531
4545
|
},
|
|
4532
4546
|
m(o, s) {
|
|
4533
|
-
|
|
4547
|
+
M(o, t, s), H(t, n);
|
|
4534
4548
|
},
|
|
4535
4549
|
p(o, s) {
|
|
4536
4550
|
var a;
|
|
@@ -4539,14 +4553,14 @@ function Vt(e) {
|
|
|
4539
4553
|
o[18](
|
|
4540
4554
|
/*vendor*/
|
|
4541
4555
|
(a = o[43]) == null ? void 0 : a.games.total
|
|
4542
|
-
) + "") &&
|
|
4556
|
+
) + "") && st(n, r);
|
|
4543
4557
|
},
|
|
4544
4558
|
d(o) {
|
|
4545
4559
|
o && B(t);
|
|
4546
4560
|
}
|
|
4547
4561
|
};
|
|
4548
4562
|
}
|
|
4549
|
-
function
|
|
4563
|
+
function zt(e) {
|
|
4550
4564
|
var s;
|
|
4551
4565
|
let t, r = (
|
|
4552
4566
|
/*vendor*/
|
|
@@ -4554,7 +4568,7 @@ function Wt(e) {
|
|
|
4554
4568
|
), n, i, o = (
|
|
4555
4569
|
/*showvendorgames*/
|
|
4556
4570
|
e[3] !== "false" && /*vendor*/
|
|
4557
|
-
((s = e[43]) == null ? void 0 : s.games.total) &&
|
|
4571
|
+
((s = e[43]) == null ? void 0 : s.games.total) && Zt(e)
|
|
4558
4572
|
);
|
|
4559
4573
|
return {
|
|
4560
4574
|
c() {
|
|
@@ -4565,23 +4579,23 @@ function Wt(e) {
|
|
|
4565
4579
|
e[17]()
|
|
4566
4580
|
);
|
|
4567
4581
|
},
|
|
4568
|
-
m(a,
|
|
4569
|
-
|
|
4582
|
+
m(a, l) {
|
|
4583
|
+
M(a, t, l), H(t, n), H(t, i), o && o.m(t, null);
|
|
4570
4584
|
},
|
|
4571
|
-
p(a,
|
|
4572
|
-
var
|
|
4573
|
-
|
|
4585
|
+
p(a, l) {
|
|
4586
|
+
var u;
|
|
4587
|
+
l[0] & /*vendors*/
|
|
4574
4588
|
64 && r !== (r = /*vendor*/
|
|
4575
|
-
a[43].displayName + "") &&
|
|
4589
|
+
a[43].displayName + "") && st(n, r), /*showvendorgames*/
|
|
4576
4590
|
a[3] !== "false" && /*vendor*/
|
|
4577
|
-
((
|
|
4591
|
+
((u = a[43]) != null && u.games.total) ? o ? o.p(a, l) : (o = Zt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4578
4592
|
},
|
|
4579
4593
|
d(a) {
|
|
4580
4594
|
a && B(t), o && o.d();
|
|
4581
4595
|
}
|
|
4582
4596
|
};
|
|
4583
4597
|
}
|
|
4584
|
-
function
|
|
4598
|
+
function Zt(e) {
|
|
4585
4599
|
var i;
|
|
4586
4600
|
let t, r = (
|
|
4587
4601
|
/*getGamesTotal*/
|
|
@@ -4595,7 +4609,7 @@ function Xt(e) {
|
|
|
4595
4609
|
t = T("span"), n = me(r), E(t, "class", "CategoryButtonCount");
|
|
4596
4610
|
},
|
|
4597
4611
|
m(o, s) {
|
|
4598
|
-
|
|
4612
|
+
M(o, t, s), H(t, n);
|
|
4599
4613
|
},
|
|
4600
4614
|
p(o, s) {
|
|
4601
4615
|
var a;
|
|
@@ -4604,29 +4618,29 @@ function Xt(e) {
|
|
|
4604
4618
|
o[18](
|
|
4605
4619
|
/*vendor*/
|
|
4606
4620
|
(a = o[43]) == null ? void 0 : a.games.total
|
|
4607
|
-
) + "") &&
|
|
4621
|
+
) + "") && st(n, r);
|
|
4608
4622
|
},
|
|
4609
4623
|
d(o) {
|
|
4610
4624
|
o && B(t);
|
|
4611
4625
|
}
|
|
4612
4626
|
};
|
|
4613
4627
|
}
|
|
4614
|
-
function
|
|
4628
|
+
function Qt(e, t) {
|
|
4615
4629
|
var b, p;
|
|
4616
|
-
let r, n, i, o, s, a,
|
|
4630
|
+
let r, n, i, o, s, a, l, u = (
|
|
4617
4631
|
/*showvendoricon*/
|
|
4618
|
-
t[1] !== "false" &&
|
|
4632
|
+
t[1] !== "false" && jt(t)
|
|
4619
4633
|
), h = (
|
|
4620
4634
|
/*showvendoricon*/
|
|
4621
4635
|
t[1] == "true" && /*showvendorgames*/
|
|
4622
4636
|
t[3] !== "false" && /*showvendorname*/
|
|
4623
4637
|
t[2] == "false" && /*vendor*/
|
|
4624
|
-
((p = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : p.total) &&
|
|
4625
|
-
),
|
|
4638
|
+
((p = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : p.total) && Xt(t)
|
|
4639
|
+
), c = (
|
|
4626
4640
|
/*showvendorname*/
|
|
4627
|
-
t[2] !== "false" &&
|
|
4641
|
+
t[2] !== "false" && zt(t)
|
|
4628
4642
|
);
|
|
4629
|
-
function
|
|
4643
|
+
function f(...m) {
|
|
4630
4644
|
return (
|
|
4631
4645
|
/*click_handler*/
|
|
4632
4646
|
t[27](
|
|
@@ -4642,7 +4656,7 @@ function zt(e, t) {
|
|
|
4642
4656
|
key: e,
|
|
4643
4657
|
first: null,
|
|
4644
4658
|
c() {
|
|
4645
|
-
r = T("li"),
|
|
4659
|
+
r = T("li"), u && u.c(), n = F(), h && h.c(), i = F(), c && c.c(), o = F(), E(r, "class", s = "CarouselItem " + (String(
|
|
4646
4660
|
/*activevendor*/
|
|
4647
4661
|
t[0]
|
|
4648
4662
|
) == String(
|
|
@@ -4651,8 +4665,8 @@ function zt(e, t) {
|
|
|
4651
4665
|
) ? "active" : "") + " SecondaryMenu"), this.first = r;
|
|
4652
4666
|
},
|
|
4653
4667
|
m(m, C) {
|
|
4654
|
-
|
|
4655
|
-
K(r, "click",
|
|
4668
|
+
M(m, r, C), u && u.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (l = [
|
|
4669
|
+
K(r, "click", f),
|
|
4656
4670
|
K(r, "keydown", function() {
|
|
4657
4671
|
Te(
|
|
4658
4672
|
/*onCarouselItemKeydown*/
|
|
@@ -4674,12 +4688,12 @@ function zt(e, t) {
|
|
|
4674
4688
|
p(m, C) {
|
|
4675
4689
|
var P, A;
|
|
4676
4690
|
t = m, /*showvendoricon*/
|
|
4677
|
-
t[1] !== "false" ?
|
|
4691
|
+
t[1] !== "false" ? u ? u.p(t, C) : (u = jt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
|
|
4678
4692
|
t[1] == "true" && /*showvendorgames*/
|
|
4679
4693
|
t[3] !== "false" && /*showvendorname*/
|
|
4680
4694
|
t[2] == "false" && /*vendor*/
|
|
4681
|
-
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, C) : (h =
|
|
4682
|
-
t[2] !== "false" ?
|
|
4695
|
+
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, C) : (h = Xt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
|
|
4696
|
+
t[2] !== "false" ? c ? c.p(t, C) : (c = zt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), C[0] & /*activevendor, vendors*/
|
|
4683
4697
|
65 && s !== (s = "CarouselItem " + (String(
|
|
4684
4698
|
/*activevendor*/
|
|
4685
4699
|
t[0]
|
|
@@ -4689,18 +4703,18 @@ function zt(e, t) {
|
|
|
4689
4703
|
) ? "active" : "") + " SecondaryMenu") && E(r, "class", s);
|
|
4690
4704
|
},
|
|
4691
4705
|
d(m) {
|
|
4692
|
-
m && B(r),
|
|
4706
|
+
m && B(r), u && u.d(), h && h.d(), c && c.d(), a = !1, z(l);
|
|
4693
4707
|
}
|
|
4694
4708
|
};
|
|
4695
4709
|
}
|
|
4696
|
-
function
|
|
4710
|
+
function Po(e) {
|
|
4697
4711
|
let t;
|
|
4698
4712
|
function r(o, s) {
|
|
4699
4713
|
return (
|
|
4700
4714
|
/*isLoading*/
|
|
4701
|
-
o[5] ?
|
|
4715
|
+
o[5] ? Ao : (
|
|
4702
4716
|
/*hasErrors*/
|
|
4703
|
-
o[7] ?
|
|
4717
|
+
o[7] ? Ho : To
|
|
4704
4718
|
)
|
|
4705
4719
|
);
|
|
4706
4720
|
}
|
|
@@ -4710,7 +4724,7 @@ function Io(e) {
|
|
|
4710
4724
|
t = T("div"), i.c();
|
|
4711
4725
|
},
|
|
4712
4726
|
m(o, s) {
|
|
4713
|
-
|
|
4727
|
+
M(o, t, s), i.m(t, null), e[31](t);
|
|
4714
4728
|
},
|
|
4715
4729
|
p(o, s) {
|
|
4716
4730
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4722,26 +4736,26 @@ function Io(e) {
|
|
|
4722
4736
|
}
|
|
4723
4737
|
};
|
|
4724
4738
|
}
|
|
4725
|
-
function
|
|
4726
|
-
|
|
4727
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent:
|
|
4739
|
+
function Mo(e, t, r) {
|
|
4740
|
+
yo({ withLocale: "en", translations: {} });
|
|
4741
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, { mbsource: p } = t, m = window.navigator.userAgent, C = Gt(m) !== "PC", P = !0, A, I = [], L = !1, S, R, g;
|
|
4728
4742
|
const $ = () => {
|
|
4729
|
-
fetch(
|
|
4730
|
-
Object.keys(x).forEach((
|
|
4731
|
-
|
|
4743
|
+
fetch(u).then((x) => x.json()).then((x) => {
|
|
4744
|
+
Object.keys(x).forEach((O) => {
|
|
4745
|
+
_o(O, x[O]);
|
|
4732
4746
|
});
|
|
4733
4747
|
}).catch((x) => {
|
|
4734
4748
|
console.log(x);
|
|
4735
4749
|
});
|
|
4736
4750
|
}, G = () => {
|
|
4737
|
-
|
|
4738
|
-
}, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L),
|
|
4751
|
+
xo(o);
|
|
4752
|
+
}, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L), Pr = () => {
|
|
4739
4753
|
if (!Q()) {
|
|
4740
4754
|
let d = new URL(`${n}/v1/casino/vendors`);
|
|
4741
|
-
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform",
|
|
4755
|
+
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", Gt(m)), fetch(d).then((x) => x.json()).then(
|
|
4742
4756
|
(x) => {
|
|
4743
|
-
let
|
|
4744
|
-
r(6, I = []), r(6, I = I.concat(
|
|
4757
|
+
let O = x.items.filter((Le) => Le.games.total > 0);
|
|
4758
|
+
r(6, I = []), r(6, I = I.concat(O)), r(5, P = !1);
|
|
4745
4759
|
},
|
|
4746
4760
|
(x) => {
|
|
4747
4761
|
r(7, L = !0), console.error("There was an error while fetching the vendors", x);
|
|
@@ -4751,29 +4765,29 @@ function Bo(e, t, r) {
|
|
|
4751
4765
|
});
|
|
4752
4766
|
}
|
|
4753
4767
|
};
|
|
4754
|
-
|
|
4768
|
+
rn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
4755
4769
|
() => {
|
|
4756
|
-
g && g.addEventListener("scroll",
|
|
4770
|
+
g && g.addEventListener("scroll", Oe);
|
|
4757
4771
|
},
|
|
4758
4772
|
500
|
|
4759
4773
|
), () => {
|
|
4760
|
-
R.removeEventListener("scroll",
|
|
4774
|
+
R.removeEventListener("scroll", Oe);
|
|
4761
4775
|
}));
|
|
4762
|
-
let
|
|
4763
|
-
var
|
|
4764
|
-
|
|
4776
|
+
let Me = (d, x) => {
|
|
4777
|
+
var O;
|
|
4778
|
+
Oe(), r(0, b = d.id), window.postMessage(
|
|
4765
4779
|
{
|
|
4766
|
-
type:
|
|
4780
|
+
type: l,
|
|
4767
4781
|
itemId: d.id,
|
|
4768
4782
|
index: x,
|
|
4769
4783
|
item: d,
|
|
4770
4784
|
path: d.path,
|
|
4771
4785
|
externalLink: d.externalLink || !1,
|
|
4772
|
-
target: ((
|
|
4786
|
+
target: ((O = d.attrs) == null ? void 0 : O.target) || null
|
|
4773
4787
|
},
|
|
4774
4788
|
window.location.href
|
|
4775
4789
|
);
|
|
4776
|
-
},
|
|
4790
|
+
}, ct = () => {
|
|
4777
4791
|
const d = g.scrollLeft;
|
|
4778
4792
|
if (d > 0) {
|
|
4779
4793
|
const x = Math.min(250, d);
|
|
@@ -4782,67 +4796,67 @@ function Bo(e, t, r) {
|
|
|
4782
4796
|
behavior: "smooth"
|
|
4783
4797
|
});
|
|
4784
4798
|
}
|
|
4785
|
-
},
|
|
4786
|
-
const d = g.scrollLeft, x = g.scrollWidth,
|
|
4787
|
-
if (d +
|
|
4788
|
-
const Le = x - (d +
|
|
4789
|
-
g.scrollBy({ left:
|
|
4799
|
+
}, ft = () => {
|
|
4800
|
+
const d = g.scrollLeft, x = g.scrollWidth, O = g.clientWidth;
|
|
4801
|
+
if (d + O < x) {
|
|
4802
|
+
const Le = x - (d + O), Fr = Math.min(250, Le);
|
|
4803
|
+
g.scrollBy({ left: Fr, behavior: "smooth" });
|
|
4790
4804
|
}
|
|
4791
4805
|
};
|
|
4792
|
-
const
|
|
4806
|
+
const Oe = () => {
|
|
4793
4807
|
const d = R.querySelectorAll(".DropDown");
|
|
4794
4808
|
document.activeElement.blur(), g.classList.add("isScrolling");
|
|
4795
4809
|
for (let x = 0; x < d.length; x++)
|
|
4796
4810
|
d[x].style.transform = "translateX(-" + g.scrollLeft + "px)";
|
|
4797
4811
|
g.classList.remove("isScrolling");
|
|
4798
|
-
},
|
|
4799
|
-
(d.key === "Enter" || d.key === " ") && (
|
|
4800
|
-
},
|
|
4801
|
-
(d.key === "Enter" || d.key === " ") && (
|
|
4802
|
-
},
|
|
4803
|
-
(
|
|
4804
|
-
},
|
|
4805
|
-
if (C &&
|
|
4812
|
+
}, Mr = (d) => {
|
|
4813
|
+
(d.key === "Enter" || d.key === " ") && (ft(), d.preventDefault());
|
|
4814
|
+
}, Or = (d) => {
|
|
4815
|
+
(d.key === "Enter" || d.key === " ") && (ct(), d.preventDefault());
|
|
4816
|
+
}, Lr = (d, x) => (O) => {
|
|
4817
|
+
(O.key === "Enter" || O.key === " ") && (Me(d, x), O.preventDefault());
|
|
4818
|
+
}, Nr = () => {
|
|
4819
|
+
if (C && c === "true" && h === "false")
|
|
4806
4820
|
return "MobileCategoryButton";
|
|
4807
|
-
},
|
|
4808
|
-
|
|
4821
|
+
}, Rr = (d) => d > 1e3 ? "999+" : d, Ur = (d, x, O) => {
|
|
4822
|
+
Me(d, x), O.preventDefault();
|
|
4809
4823
|
};
|
|
4810
|
-
function
|
|
4824
|
+
function Dr(d) {
|
|
4811
4825
|
ee[d ? "unshift" : "push"](() => {
|
|
4812
4826
|
R = d, r(8, R);
|
|
4813
4827
|
});
|
|
4814
4828
|
}
|
|
4815
|
-
function
|
|
4829
|
+
function $r(d) {
|
|
4816
4830
|
ee[d ? "unshift" : "push"](() => {
|
|
4817
4831
|
g = d, r(9, g);
|
|
4818
4832
|
});
|
|
4819
4833
|
}
|
|
4820
|
-
function
|
|
4834
|
+
function Gr(d) {
|
|
4821
4835
|
ee[d ? "unshift" : "push"](() => {
|
|
4822
4836
|
S = d, r(4, S);
|
|
4823
4837
|
});
|
|
4824
4838
|
}
|
|
4825
|
-
function
|
|
4839
|
+
function kr(d) {
|
|
4826
4840
|
ee[d ? "unshift" : "push"](() => {
|
|
4827
4841
|
S = d, r(4, S);
|
|
4828
4842
|
});
|
|
4829
4843
|
}
|
|
4830
4844
|
return e.$$set = (d) => {
|
|
4831
|
-
"endpoint" in d && r(19, n = d.endpoint), "datasource" in d && r(20, i = d.datasource), "lang" in d && r(21, o = d.lang), "clientstyling" in d && r(22, s = d.clientstyling), "clientstylingurl" in d && r(23, a = d.clientstylingurl), "actionevent" in d && r(24,
|
|
4845
|
+
"endpoint" in d && r(19, n = d.endpoint), "datasource" in d && r(20, i = d.datasource), "lang" in d && r(21, o = d.lang), "clientstyling" in d && r(22, s = d.clientstyling), "clientstylingurl" in d && r(23, a = d.clientstylingurl), "actionevent" in d && r(24, l = d.actionevent), "translationurl" in d && r(25, u = d.translationurl), "showvendoricon" in d && r(1, h = d.showvendoricon), "showvendorname" in d && r(2, c = d.showvendorname), "showvendorgames" in d && r(3, f = d.showvendorgames), "activevendor" in d && r(0, b = d.activevendor), "mbsource" in d && r(26, p = d.mbsource);
|
|
4832
4846
|
}, e.$$.update = () => {
|
|
4833
4847
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
4834
|
-
2621440 && n && o &&
|
|
4835
|
-
33554432 &&
|
|
4848
|
+
2621440 && n && o && Pr(), e.$$.dirty[0] & /*translationurl*/
|
|
4849
|
+
33554432 && u && $(), e.$$.dirty[0] & /*activevendor*/
|
|
4836
4850
|
1, e.$$.dirty[0] & /*lang*/
|
|
4837
4851
|
2097152 && o && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4838
|
-
4194320 && s && S &&
|
|
4839
|
-
8388624 && a && S &&
|
|
4840
|
-
67108880 && p && S &&
|
|
4852
|
+
4194320 && s && S && Eo(S, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4853
|
+
8388624 && a && S && Co(S, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4854
|
+
67108880 && p && S && wo(S, `${p}.Style`);
|
|
4841
4855
|
}, [
|
|
4842
4856
|
b,
|
|
4843
4857
|
h,
|
|
4844
|
-
f,
|
|
4845
4858
|
c,
|
|
4859
|
+
f,
|
|
4846
4860
|
S,
|
|
4847
4861
|
P,
|
|
4848
4862
|
I,
|
|
@@ -4850,37 +4864,37 @@ function Bo(e, t, r) {
|
|
|
4850
4864
|
R,
|
|
4851
4865
|
g,
|
|
4852
4866
|
C,
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
Ir,
|
|
4857
|
-
Br,
|
|
4858
|
-
Pr,
|
|
4859
|
-
Or,
|
|
4867
|
+
Me,
|
|
4868
|
+
ct,
|
|
4869
|
+
ft,
|
|
4860
4870
|
Mr,
|
|
4871
|
+
Or,
|
|
4872
|
+
Lr,
|
|
4873
|
+
Nr,
|
|
4874
|
+
Rr,
|
|
4861
4875
|
n,
|
|
4862
4876
|
i,
|
|
4863
4877
|
o,
|
|
4864
4878
|
s,
|
|
4865
4879
|
a,
|
|
4866
|
-
u,
|
|
4867
4880
|
l,
|
|
4881
|
+
u,
|
|
4868
4882
|
p,
|
|
4869
|
-
Lr,
|
|
4870
|
-
Nr,
|
|
4871
|
-
Rr,
|
|
4872
4883
|
Ur,
|
|
4873
|
-
Dr
|
|
4884
|
+
Dr,
|
|
4885
|
+
$r,
|
|
4886
|
+
Gr,
|
|
4887
|
+
kr
|
|
4874
4888
|
];
|
|
4875
4889
|
}
|
|
4876
|
-
class
|
|
4890
|
+
class Oo extends bn {
|
|
4877
4891
|
constructor(t) {
|
|
4878
|
-
super(),
|
|
4892
|
+
super(), pn(
|
|
4879
4893
|
this,
|
|
4880
4894
|
t,
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4895
|
+
Mo,
|
|
4896
|
+
Po,
|
|
4897
|
+
qt,
|
|
4884
4898
|
{
|
|
4885
4899
|
endpoint: 19,
|
|
4886
4900
|
datasource: 20,
|
|
@@ -4895,7 +4909,7 @@ class Po extends dn {
|
|
|
4895
4909
|
activevendor: 0,
|
|
4896
4910
|
mbsource: 26
|
|
4897
4911
|
},
|
|
4898
|
-
|
|
4912
|
+
So,
|
|
4899
4913
|
[-1, -1]
|
|
4900
4914
|
);
|
|
4901
4915
|
}
|
|
@@ -4972,7 +4986,7 @@ class Po extends dn {
|
|
|
4972
4986
|
this.$$set({ mbsource: t }), U();
|
|
4973
4987
|
}
|
|
4974
4988
|
}
|
|
4975
|
-
|
|
4989
|
+
mn(Oo, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
|
|
4976
4990
|
export {
|
|
4977
|
-
|
|
4991
|
+
Oo as default
|
|
4978
4992
|
};
|