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