@everymatrix/casino-categories-vendor-bar 1.87.26 → 1.87.28
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-C4D0GWHu.cjs +18 -0
- package/components/{CasinoCategoriesVendorBar-BHdReW32.js → CasinoCategoriesVendorBar-EKozn0f7.js} +959 -930
- package/components/{CasinoCategoriesVendorBar-gtnZNPFW.js → CasinoCategoriesVendorBar-F_o3rFF5.js} +928 -900
- 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-E7Kuf6Y9.cjs +0 -18
package/components/{CasinoCategoriesVendorBar-gtnZNPFW.js → CasinoCategoriesVendorBar-F_o3rFF5.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function D() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function zt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function dt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(zt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function He(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Zt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let be;
|
|
19
|
+
function we(e, t) {
|
|
20
|
+
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Gr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function kr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,17 +31,17 @@ function $r(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function A(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function Fr(e, t, r) {
|
|
38
|
+
const n = jr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
|
-
const i =
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
const i = T("style");
|
|
41
|
+
i.id = t, i.textContent = r, Vr(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function jr(e) {
|
|
45
45
|
if (!e)
|
|
46
46
|
return document;
|
|
47
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -51,45 +51,45 @@ function Gr(e) {
|
|
|
51
51
|
t
|
|
52
52
|
) : e.ownerDocument;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return
|
|
54
|
+
function Vr(e, t) {
|
|
55
|
+
return A(
|
|
56
56
|
/** @type {Document} */
|
|
57
57
|
e.head || e,
|
|
58
58
|
t
|
|
59
59
|
), t.sheet;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function P(e, t, r) {
|
|
62
62
|
e.insertBefore(t, r || null);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function B(e) {
|
|
65
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function T(e) {
|
|
68
68
|
return document.createElement(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function de(e) {
|
|
71
71
|
return document.createTextNode(e);
|
|
72
72
|
}
|
|
73
73
|
function F() {
|
|
74
|
-
return
|
|
74
|
+
return de(" ");
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
76
|
+
function ut() {
|
|
77
|
+
return de("");
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function K(e, t, r, n) {
|
|
80
80
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function _(e, t, r) {
|
|
83
83
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Wr(e) {
|
|
86
86
|
return Array.from(e.childNodes);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function lt(e, t) {
|
|
89
89
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
90
90
|
t);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Xr(e) {
|
|
93
93
|
const t = {};
|
|
94
94
|
return e.childNodes.forEach(
|
|
95
95
|
/** @param {Element} node */
|
|
@@ -98,120 +98,120 @@ function Vr(e) {
|
|
|
98
98
|
}
|
|
99
99
|
), t;
|
|
100
100
|
}
|
|
101
|
-
let
|
|
102
|
-
function
|
|
103
|
-
|
|
101
|
+
let ce;
|
|
102
|
+
function he(e) {
|
|
103
|
+
ce = e;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
if (!
|
|
105
|
+
function zr() {
|
|
106
|
+
if (!ce)
|
|
107
107
|
throw new Error("Function called outside component initialization");
|
|
108
|
-
return
|
|
108
|
+
return ce;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
|
|
110
|
+
function Zr(e) {
|
|
111
|
+
zr().$$.on_mount.push(e);
|
|
112
112
|
}
|
|
113
|
-
const q = [],
|
|
114
|
-
let
|
|
115
|
-
const
|
|
116
|
-
let
|
|
117
|
-
function
|
|
118
|
-
|
|
113
|
+
const q = [], ee = [];
|
|
114
|
+
let te = [];
|
|
115
|
+
const mt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
116
|
+
let We = !1;
|
|
117
|
+
function Yr() {
|
|
118
|
+
We || (We = !0, Qr.then(R));
|
|
119
119
|
}
|
|
120
|
-
function
|
|
121
|
-
|
|
120
|
+
function Xe(e) {
|
|
121
|
+
te.push(e);
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
124
124
|
let Q = 0;
|
|
125
125
|
function R() {
|
|
126
126
|
if (Q !== 0)
|
|
127
127
|
return;
|
|
128
|
-
const e =
|
|
128
|
+
const e = ce;
|
|
129
129
|
do {
|
|
130
130
|
try {
|
|
131
131
|
for (; Q < q.length; ) {
|
|
132
132
|
const t = q[Q];
|
|
133
|
-
Q++,
|
|
133
|
+
Q++, he(t), qr(t.$$);
|
|
134
134
|
}
|
|
135
135
|
} catch (t) {
|
|
136
136
|
throw q.length = 0, Q = 0, t;
|
|
137
137
|
}
|
|
138
|
-
for (
|
|
139
|
-
|
|
140
|
-
for (let t = 0; t <
|
|
141
|
-
const r =
|
|
142
|
-
|
|
138
|
+
for (he(null), q.length = 0, Q = 0; ee.length; )
|
|
139
|
+
ee.pop()();
|
|
140
|
+
for (let t = 0; t < te.length; t += 1) {
|
|
141
|
+
const r = te[t];
|
|
142
|
+
Ue.has(r) || (Ue.add(r), r());
|
|
143
143
|
}
|
|
144
|
-
|
|
144
|
+
te.length = 0;
|
|
145
145
|
} while (q.length);
|
|
146
|
-
for (;
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
for (; mt.length; )
|
|
147
|
+
mt.pop()();
|
|
148
|
+
We = !1, Ue.clear(), he(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function qr(e) {
|
|
151
151
|
if (e.fragment !== null) {
|
|
152
152
|
e.update(), X(e.before_update);
|
|
153
153
|
const t = e.dirty;
|
|
154
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
154
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Jr(e) {
|
|
158
158
|
const t = [], r = [];
|
|
159
|
-
|
|
159
|
+
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
160
160
|
}
|
|
161
|
-
const
|
|
162
|
-
function
|
|
163
|
-
e && e.i && (
|
|
161
|
+
const Kr = /* @__PURE__ */ new Set();
|
|
162
|
+
function Qt(e, t) {
|
|
163
|
+
e && e.i && (Kr.delete(e), e.i(t));
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function bt(e) {
|
|
166
166
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function en(e, t) {
|
|
169
169
|
e.d(1), t.delete(e.key);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function tn(e, t, r, n, i, o, s, a, u, l, h, c) {
|
|
172
172
|
let f = e.length, m = o.length, d = f;
|
|
173
173
|
const b = {};
|
|
174
174
|
for (; d--; )
|
|
175
175
|
b[e[d].key] = d;
|
|
176
|
-
const
|
|
176
|
+
const H = [], N = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), I = [];
|
|
177
177
|
for (d = m; d--; ) {
|
|
178
|
-
const
|
|
179
|
-
let
|
|
180
|
-
|
|
178
|
+
const x = c(i, o, d), E = r(x);
|
|
179
|
+
let $ = s.get(E);
|
|
180
|
+
$ ? I.push(() => $.p(x, t)) : ($ = l(E, x), $.c()), N.set(E, H[d] = $), E in b && O.set(E, Math.abs(d - b[E]));
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
function
|
|
184
|
-
|
|
182
|
+
const M = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
|
|
183
|
+
function G(x) {
|
|
184
|
+
Qt(x, 1), x.m(a, h), s.set(x.key, x), h = x.first, m--;
|
|
185
185
|
}
|
|
186
186
|
for (; f && m; ) {
|
|
187
|
-
const
|
|
188
|
-
|
|
187
|
+
const x = H[m - 1], E = e[f - 1], $ = x.key, Z = E.key;
|
|
188
|
+
x === E ? (h = x.first, f--, m--) : N.has(Z) ? !s.has($) || M.has($) ? G(x) : C.has(Z) ? f-- : O.get($) > O.get(Z) ? (C.add($), G(x)) : (M.add(Z), f--) : (u(E, s), f--);
|
|
189
189
|
}
|
|
190
190
|
for (; f--; ) {
|
|
191
|
-
const
|
|
192
|
-
|
|
191
|
+
const x = e[f];
|
|
192
|
+
N.has(x.key) || u(x, s);
|
|
193
193
|
}
|
|
194
194
|
for (; m; )
|
|
195
|
-
|
|
196
|
-
return X(
|
|
195
|
+
G(H[m - 1]);
|
|
196
|
+
return X(I), H;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function rn(e, t, r) {
|
|
199
199
|
const { fragment: n, after_update: i } = e.$$;
|
|
200
|
-
n && n.m(t, r),
|
|
201
|
-
const o = e.$$.on_mount.map(
|
|
200
|
+
n && n.m(t, r), Xe(() => {
|
|
201
|
+
const o = e.$$.on_mount.map(zt).filter(He);
|
|
202
202
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
|
|
203
|
-
}), i.forEach(
|
|
203
|
+
}), i.forEach(Xe);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function nn(e, t) {
|
|
206
206
|
const r = e.$$;
|
|
207
|
-
r.fragment !== null && (
|
|
207
|
+
r.fragment !== null && (Jr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
209
|
+
function on(e, t) {
|
|
210
|
+
e.$$.dirty[0] === -1 && (q.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const u =
|
|
214
|
-
|
|
212
|
+
function sn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
213
|
+
const u = ce;
|
|
214
|
+
he(e);
|
|
215
215
|
const l = e.$$ = {
|
|
216
216
|
fragment: null,
|
|
217
217
|
ctx: [],
|
|
@@ -219,7 +219,7 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
219
219
|
props: o,
|
|
220
220
|
update: D,
|
|
221
221
|
not_equal: i,
|
|
222
|
-
bound:
|
|
222
|
+
bound: dt(),
|
|
223
223
|
// lifecycle
|
|
224
224
|
on_mount: [],
|
|
225
225
|
on_destroy: [],
|
|
@@ -228,7 +228,7 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
228
228
|
after_update: [],
|
|
229
229
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
230
230
|
// everything else
|
|
231
|
-
callbacks:
|
|
231
|
+
callbacks: dt(),
|
|
232
232
|
dirty: a,
|
|
233
233
|
skip_bound: !1,
|
|
234
234
|
root: t.target || u.$$.root
|
|
@@ -237,19 +237,19 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
237
237
|
let h = !1;
|
|
238
238
|
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
239
239
|
const d = m.length ? m[0] : f;
|
|
240
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h &&
|
|
240
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && on(e, c)), f;
|
|
241
241
|
}) : [], l.update(), h = !0, X(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
242
242
|
if (t.hydrate) {
|
|
243
|
-
const c =
|
|
244
|
-
l.fragment && l.fragment.l(c), c.forEach(
|
|
243
|
+
const c = Wr(t.target);
|
|
244
|
+
l.fragment && l.fragment.l(c), c.forEach(B);
|
|
245
245
|
} else
|
|
246
246
|
l.fragment && l.fragment.c();
|
|
247
|
-
t.intro &&
|
|
247
|
+
t.intro && Qt(e.$$.fragment), rn(e, t.target, t.anchor), R();
|
|
248
248
|
}
|
|
249
|
-
|
|
249
|
+
he(u);
|
|
250
250
|
}
|
|
251
|
-
let
|
|
252
|
-
typeof HTMLElement == "function" && (
|
|
251
|
+
let Yt;
|
|
252
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
253
253
|
/** The Svelte component constructor */
|
|
254
254
|
$$ctor;
|
|
255
255
|
/** Slots */
|
|
@@ -291,29 +291,29 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
291
291
|
let o;
|
|
292
292
|
return {
|
|
293
293
|
c: function() {
|
|
294
|
-
o =
|
|
294
|
+
o = T("slot"), i !== "default" && _(o, "name", i);
|
|
295
295
|
},
|
|
296
296
|
/**
|
|
297
297
|
* @param {HTMLElement} target
|
|
298
298
|
* @param {HTMLElement} [anchor]
|
|
299
299
|
*/
|
|
300
300
|
m: function(u, l) {
|
|
301
|
-
|
|
301
|
+
P(u, o, l);
|
|
302
302
|
},
|
|
303
303
|
d: function(u) {
|
|
304
|
-
u &&
|
|
304
|
+
u && B(o);
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
310
310
|
return;
|
|
311
|
-
const t = {}, r =
|
|
311
|
+
const t = {}, r = Xr(this);
|
|
312
312
|
for (const i of this.$$s)
|
|
313
313
|
i in r && (t[i] = [e(i)]);
|
|
314
314
|
for (const i of this.attributes) {
|
|
315
315
|
const o = this.$$g_p(i.name);
|
|
316
|
-
o in this.$$d || (this.$$d[o] =
|
|
316
|
+
o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
|
|
317
317
|
}
|
|
318
318
|
for (const i in this.$$p_d)
|
|
319
319
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
331
331
|
this.$$r = !0;
|
|
332
332
|
for (const i in this.$$p_d)
|
|
333
333
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
334
|
-
const o =
|
|
334
|
+
const o = ye(
|
|
335
335
|
i,
|
|
336
336
|
this.$$d[i],
|
|
337
337
|
this.$$p_d,
|
|
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
353
353
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
354
354
|
// and setting attributes through setAttribute etc, this is helpful
|
|
355
355
|
attributeChangedCallback(e, t, r) {
|
|
356
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
356
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
357
357
|
}
|
|
358
358
|
disconnectedCallback() {
|
|
359
359
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
366
366
|
) || e;
|
|
367
367
|
}
|
|
368
368
|
});
|
|
369
|
-
function
|
|
369
|
+
function ye(e, t, r, n) {
|
|
370
370
|
const i = r[e]?.type;
|
|
371
371
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
372
372
|
return t;
|
|
@@ -395,8 +395,8 @@ function ve(e, t, r, n) {
|
|
|
395
395
|
return t;
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
function
|
|
399
|
-
let s = class extends
|
|
398
|
+
function an(e, t, r, n, i, o) {
|
|
399
|
+
let s = class extends Yt {
|
|
400
400
|
constructor() {
|
|
401
401
|
super(e, r, i), this.$$p_d = t;
|
|
402
402
|
}
|
|
@@ -412,7 +412,7 @@ function on(e, t, r, n, i, o) {
|
|
|
412
412
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
413
413
|
},
|
|
414
414
|
set(u) {
|
|
415
|
-
u =
|
|
415
|
+
u = ye(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
418
|
}), n.forEach((a) => {
|
|
@@ -424,7 +424,7 @@ function on(e, t, r, n, i, o) {
|
|
|
424
424
|
}), e.element = /** @type {any} */
|
|
425
425
|
s, s;
|
|
426
426
|
}
|
|
427
|
-
class
|
|
427
|
+
class un {
|
|
428
428
|
/**
|
|
429
429
|
* ### PRIVATE API
|
|
430
430
|
*
|
|
@@ -443,7 +443,7 @@ class sn {
|
|
|
443
443
|
$$set = void 0;
|
|
444
444
|
/** @returns {void} */
|
|
445
445
|
$destroy() {
|
|
446
|
-
|
|
446
|
+
nn(this, 1), this.$destroy = D;
|
|
447
447
|
}
|
|
448
448
|
/**
|
|
449
449
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -452,7 +452,7 @@ class sn {
|
|
|
452
452
|
* @returns {() => void}
|
|
453
453
|
*/
|
|
454
454
|
$on(t, r) {
|
|
455
|
-
if (!
|
|
455
|
+
if (!He(r))
|
|
456
456
|
return D;
|
|
457
457
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
458
458
|
return n.push(r), () => {
|
|
@@ -465,11 +465,11 @@ class sn {
|
|
|
465
465
|
* @returns {void}
|
|
466
466
|
*/
|
|
467
467
|
$set(t) {
|
|
468
|
-
this.$$set && !
|
|
468
|
+
this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
const
|
|
472
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
471
|
+
const ln = "4";
|
|
472
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
473
473
|
/*! *****************************************************************************
|
|
474
474
|
Copyright (c) Microsoft Corporation.
|
|
475
475
|
|
|
@@ -484,24 +484,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
484
484
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
485
485
|
PERFORMANCE OF THIS SOFTWARE.
|
|
486
486
|
***************************************************************************** */
|
|
487
|
-
var
|
|
488
|
-
return
|
|
487
|
+
var ze = function(e, t) {
|
|
488
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
489
489
|
r.__proto__ = n;
|
|
490
490
|
} || function(r, n) {
|
|
491
491
|
for (var i in n)
|
|
492
492
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
493
|
-
},
|
|
493
|
+
}, ze(e, t);
|
|
494
494
|
};
|
|
495
|
-
function
|
|
495
|
+
function me(e, t) {
|
|
496
496
|
if (typeof t != "function" && t !== null)
|
|
497
497
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
498
|
-
|
|
498
|
+
ze(e, t);
|
|
499
499
|
function r() {
|
|
500
500
|
this.constructor = e;
|
|
501
501
|
}
|
|
502
502
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function Ze(e) {
|
|
505
505
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
506
506
|
if (r)
|
|
507
507
|
return r.call(e);
|
|
@@ -513,7 +513,7 @@ function ze(e) {
|
|
|
513
513
|
};
|
|
514
514
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Qe(e, t) {
|
|
517
517
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
518
518
|
if (!r)
|
|
519
519
|
return e;
|
|
@@ -533,7 +533,7 @@ function Ze(e, t) {
|
|
|
533
533
|
}
|
|
534
534
|
return o;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Ye(e, t, r) {
|
|
537
537
|
if (arguments.length === 2)
|
|
538
538
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
539
539
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -542,13 +542,13 @@ function Qe(e, t, r) {
|
|
|
542
542
|
function j(e) {
|
|
543
543
|
return typeof e == "function";
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function qt(e) {
|
|
546
546
|
var t = function(n) {
|
|
547
547
|
Error.call(n), n.stack = new Error().stack;
|
|
548
548
|
}, r = e(t);
|
|
549
549
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
550
550
|
}
|
|
551
|
-
var
|
|
551
|
+
var De = qt(function(e) {
|
|
552
552
|
return function(r) {
|
|
553
553
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
554
554
|
` + r.map(function(n, i) {
|
|
@@ -557,13 +557,13 @@ var Ue = Yt(function(e) {
|
|
|
557
557
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
558
558
|
};
|
|
559
559
|
});
|
|
560
|
-
function
|
|
560
|
+
function qe(e, t) {
|
|
561
561
|
if (e) {
|
|
562
562
|
var r = e.indexOf(t);
|
|
563
563
|
0 <= r && e.splice(r, 1);
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
var
|
|
566
|
+
var Ae = function() {
|
|
567
567
|
function e(t) {
|
|
568
568
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
569
569
|
}
|
|
@@ -575,7 +575,7 @@ var He = function() {
|
|
|
575
575
|
if (s)
|
|
576
576
|
if (this._parentage = null, Array.isArray(s))
|
|
577
577
|
try {
|
|
578
|
-
for (var a =
|
|
578
|
+
for (var a = Ze(s), u = a.next(); !u.done; u = a.next()) {
|
|
579
579
|
var l = u.value;
|
|
580
580
|
l.remove(this);
|
|
581
581
|
}
|
|
@@ -596,18 +596,18 @@ var He = function() {
|
|
|
596
596
|
try {
|
|
597
597
|
h();
|
|
598
598
|
} catch (b) {
|
|
599
|
-
o = b instanceof
|
|
599
|
+
o = b instanceof De ? b.errors : [b];
|
|
600
600
|
}
|
|
601
601
|
var c = this._finalizers;
|
|
602
602
|
if (c) {
|
|
603
603
|
this._finalizers = null;
|
|
604
604
|
try {
|
|
605
|
-
for (var f =
|
|
605
|
+
for (var f = Ze(c), m = f.next(); !m.done; m = f.next()) {
|
|
606
606
|
var d = m.value;
|
|
607
607
|
try {
|
|
608
|
-
|
|
608
|
+
gt(d);
|
|
609
609
|
} catch (b) {
|
|
610
|
-
o = o ?? [], b instanceof
|
|
610
|
+
o = o ?? [], b instanceof De ? o = Ye(Ye([], Qe(o)), Qe(b.errors)) : o.push(b);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
} catch (b) {
|
|
@@ -622,13 +622,13 @@ var He = function() {
|
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
if (o)
|
|
625
|
-
throw new
|
|
625
|
+
throw new De(o);
|
|
626
626
|
}
|
|
627
627
|
}, e.prototype.add = function(t) {
|
|
628
628
|
var r;
|
|
629
629
|
if (t && t !== this)
|
|
630
630
|
if (this.closed)
|
|
631
|
-
|
|
631
|
+
gt(t);
|
|
632
632
|
else {
|
|
633
633
|
if (t instanceof e) {
|
|
634
634
|
if (t.closed || t._hasParent(this))
|
|
@@ -645,52 +645,52 @@ var He = function() {
|
|
|
645
645
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
646
646
|
}, e.prototype._removeParent = function(t) {
|
|
647
647
|
var r = this._parentage;
|
|
648
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
648
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
649
649
|
}, e.prototype.remove = function(t) {
|
|
650
650
|
var r = this._finalizers;
|
|
651
|
-
r &&
|
|
651
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
652
652
|
}, e.EMPTY = function() {
|
|
653
653
|
var t = new e();
|
|
654
654
|
return t.closed = !0, t;
|
|
655
655
|
}(), e;
|
|
656
|
-
}(),
|
|
657
|
-
function
|
|
658
|
-
return e instanceof
|
|
656
|
+
}(), Jt = Ae.EMPTY;
|
|
657
|
+
function Kt(e) {
|
|
658
|
+
return e instanceof Ae || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function gt(e) {
|
|
661
661
|
j(e) ? e() : e.unsubscribe();
|
|
662
662
|
}
|
|
663
|
-
var
|
|
663
|
+
var hn = {
|
|
664
664
|
Promise: void 0
|
|
665
|
-
},
|
|
665
|
+
}, cn = {
|
|
666
666
|
setTimeout: function(e, t) {
|
|
667
667
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
668
668
|
r[n - 2] = arguments[n];
|
|
669
|
-
return setTimeout.apply(void 0,
|
|
669
|
+
return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
|
|
670
670
|
},
|
|
671
671
|
clearTimeout: function(e) {
|
|
672
672
|
return clearTimeout(e);
|
|
673
673
|
},
|
|
674
674
|
delegate: void 0
|
|
675
675
|
};
|
|
676
|
-
function
|
|
677
|
-
|
|
676
|
+
function fn(e) {
|
|
677
|
+
cn.setTimeout(function() {
|
|
678
678
|
throw e;
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function vt() {
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function _e(e) {
|
|
684
684
|
e();
|
|
685
685
|
}
|
|
686
|
-
var
|
|
687
|
-
|
|
686
|
+
var er = function(e) {
|
|
687
|
+
me(t, e);
|
|
688
688
|
function t(r) {
|
|
689
689
|
var n = e.call(this) || this;
|
|
690
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
690
|
+
return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = mn, n;
|
|
691
691
|
}
|
|
692
692
|
return t.create = function(r, n, i) {
|
|
693
|
-
return new
|
|
693
|
+
return new Je(r, n, i);
|
|
694
694
|
}, t.prototype.next = function(r) {
|
|
695
695
|
this.isStopped || this._next(r);
|
|
696
696
|
}, t.prototype.error = function(r) {
|
|
@@ -714,7 +714,7 @@ var Kt = function(e) {
|
|
|
714
714
|
this.unsubscribe();
|
|
715
715
|
}
|
|
716
716
|
}, t;
|
|
717
|
-
}(
|
|
717
|
+
}(Ae), pn = function() {
|
|
718
718
|
function e(t) {
|
|
719
719
|
this.partialObserver = t;
|
|
720
720
|
}
|
|
@@ -724,7 +724,7 @@ var Kt = function(e) {
|
|
|
724
724
|
try {
|
|
725
725
|
r.next(t);
|
|
726
726
|
} catch (n) {
|
|
727
|
-
|
|
727
|
+
ge(n);
|
|
728
728
|
}
|
|
729
729
|
}, e.prototype.error = function(t) {
|
|
730
730
|
var r = this.partialObserver;
|
|
@@ -732,56 +732,56 @@ var Kt = function(e) {
|
|
|
732
732
|
try {
|
|
733
733
|
r.error(t);
|
|
734
734
|
} catch (n) {
|
|
735
|
-
|
|
735
|
+
ge(n);
|
|
736
736
|
}
|
|
737
737
|
else
|
|
738
|
-
|
|
738
|
+
ge(t);
|
|
739
739
|
}, e.prototype.complete = function() {
|
|
740
740
|
var t = this.partialObserver;
|
|
741
741
|
if (t.complete)
|
|
742
742
|
try {
|
|
743
743
|
t.complete();
|
|
744
744
|
} catch (r) {
|
|
745
|
-
|
|
745
|
+
ge(r);
|
|
746
746
|
}
|
|
747
747
|
}, e;
|
|
748
|
-
}(),
|
|
749
|
-
|
|
748
|
+
}(), Je = function(e) {
|
|
749
|
+
me(t, e);
|
|
750
750
|
function t(r, n, i) {
|
|
751
751
|
var o = e.call(this) || this, s;
|
|
752
752
|
return j(r) || !r ? s = {
|
|
753
753
|
next: r ?? void 0,
|
|
754
754
|
error: n ?? void 0,
|
|
755
755
|
complete: i ?? void 0
|
|
756
|
-
} : s = r, o.destination = new
|
|
756
|
+
} : s = r, o.destination = new pn(s), o;
|
|
757
757
|
}
|
|
758
758
|
return t;
|
|
759
|
-
}(
|
|
760
|
-
function
|
|
761
|
-
|
|
759
|
+
}(er);
|
|
760
|
+
function ge(e) {
|
|
761
|
+
fn(e);
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function dn(e) {
|
|
764
764
|
throw e;
|
|
765
765
|
}
|
|
766
|
-
var
|
|
766
|
+
var mn = {
|
|
767
767
|
closed: !0,
|
|
768
|
-
next:
|
|
769
|
-
error:
|
|
770
|
-
complete:
|
|
771
|
-
},
|
|
768
|
+
next: vt,
|
|
769
|
+
error: dn,
|
|
770
|
+
complete: vt
|
|
771
|
+
}, bn = function() {
|
|
772
772
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
773
773
|
}();
|
|
774
|
-
function
|
|
774
|
+
function gn(e) {
|
|
775
775
|
return e;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
778
|
-
return e.length === 0 ?
|
|
777
|
+
function vn(e) {
|
|
778
|
+
return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
|
|
779
779
|
return e.reduce(function(n, i) {
|
|
780
780
|
return i(n);
|
|
781
781
|
}, r);
|
|
782
782
|
};
|
|
783
783
|
}
|
|
784
|
-
var
|
|
784
|
+
var yt = function() {
|
|
785
785
|
function e(t) {
|
|
786
786
|
t && (this._subscribe = t);
|
|
787
787
|
}
|
|
@@ -789,8 +789,8 @@ var vt = function() {
|
|
|
789
789
|
var r = new e();
|
|
790
790
|
return r.source = this, r.operator = t, r;
|
|
791
791
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
792
|
-
var i = this, o =
|
|
793
|
-
return
|
|
792
|
+
var i = this, o = _n(t) ? t : new Je(t, r, n);
|
|
793
|
+
return _e(function() {
|
|
794
794
|
var s = i, a = s.operator, u = s.source;
|
|
795
795
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
796
796
|
}), o;
|
|
@@ -802,8 +802,8 @@ var vt = function() {
|
|
|
802
802
|
}
|
|
803
803
|
}, e.prototype.forEach = function(t, r) {
|
|
804
804
|
var n = this;
|
|
805
|
-
return r =
|
|
806
|
-
var s = new
|
|
805
|
+
return r = _t(r), new r(function(i, o) {
|
|
806
|
+
var s = new Je({
|
|
807
807
|
next: function(a) {
|
|
808
808
|
try {
|
|
809
809
|
t(a);
|
|
@@ -819,15 +819,15 @@ var vt = function() {
|
|
|
819
819
|
}, e.prototype._subscribe = function(t) {
|
|
820
820
|
var r;
|
|
821
821
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
822
|
-
}, e.prototype[
|
|
822
|
+
}, e.prototype[bn] = function() {
|
|
823
823
|
return this;
|
|
824
824
|
}, e.prototype.pipe = function() {
|
|
825
825
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
826
826
|
t[r] = arguments[r];
|
|
827
|
-
return
|
|
827
|
+
return vn(t)(this);
|
|
828
828
|
}, e.prototype.toPromise = function(t) {
|
|
829
829
|
var r = this;
|
|
830
|
-
return t =
|
|
830
|
+
return t = _t(t), new t(function(n, i) {
|
|
831
831
|
var o;
|
|
832
832
|
r.subscribe(function(s) {
|
|
833
833
|
return o = s;
|
|
@@ -841,40 +841,40 @@ var vt = function() {
|
|
|
841
841
|
return new e(t);
|
|
842
842
|
}, e;
|
|
843
843
|
}();
|
|
844
|
-
function
|
|
844
|
+
function _t(e) {
|
|
845
845
|
var t;
|
|
846
|
-
return (t = e ??
|
|
846
|
+
return (t = e ?? hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function yn(e) {
|
|
849
849
|
return e && j(e.next) && j(e.error) && j(e.complete);
|
|
850
850
|
}
|
|
851
|
-
function
|
|
852
|
-
return e && e instanceof
|
|
851
|
+
function _n(e) {
|
|
852
|
+
return e && e instanceof er || yn(e) && Kt(e);
|
|
853
853
|
}
|
|
854
|
-
var
|
|
854
|
+
var xn = qt(function(e) {
|
|
855
855
|
return function() {
|
|
856
856
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
857
857
|
};
|
|
858
|
-
}),
|
|
859
|
-
|
|
858
|
+
}), tr = function(e) {
|
|
859
|
+
me(t, e);
|
|
860
860
|
function t() {
|
|
861
861
|
var r = e.call(this) || this;
|
|
862
862
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
863
863
|
}
|
|
864
864
|
return t.prototype.lift = function(r) {
|
|
865
|
-
var n = new
|
|
865
|
+
var n = new xt(this, this);
|
|
866
866
|
return n.operator = r, n;
|
|
867
867
|
}, t.prototype._throwIfClosed = function() {
|
|
868
868
|
if (this.closed)
|
|
869
|
-
throw new
|
|
869
|
+
throw new xn();
|
|
870
870
|
}, t.prototype.next = function(r) {
|
|
871
871
|
var n = this;
|
|
872
|
-
|
|
872
|
+
_e(function() {
|
|
873
873
|
var i, o;
|
|
874
874
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
875
875
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
876
876
|
try {
|
|
877
|
-
for (var s =
|
|
877
|
+
for (var s = Ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
878
878
|
var u = a.value;
|
|
879
879
|
u.next(r);
|
|
880
880
|
}
|
|
@@ -892,7 +892,7 @@ var yn = Yt(function(e) {
|
|
|
892
892
|
});
|
|
893
893
|
}, t.prototype.error = function(r) {
|
|
894
894
|
var n = this;
|
|
895
|
-
|
|
895
|
+
_e(function() {
|
|
896
896
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
897
897
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
898
898
|
for (var i = n.observers; i.length; )
|
|
@@ -901,7 +901,7 @@ var yn = Yt(function(e) {
|
|
|
901
901
|
});
|
|
902
902
|
}, t.prototype.complete = function() {
|
|
903
903
|
var r = this;
|
|
904
|
-
|
|
904
|
+
_e(function() {
|
|
905
905
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
906
906
|
r.isStopped = !0;
|
|
907
907
|
for (var n = r.observers; n.length; )
|
|
@@ -923,20 +923,20 @@ var yn = Yt(function(e) {
|
|
|
923
923
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
924
924
|
}, t.prototype._innerSubscribe = function(r) {
|
|
925
925
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
926
|
-
return o || s ?
|
|
927
|
-
n.currentObservers = null,
|
|
926
|
+
return o || s ? Jt : (this.currentObservers = null, a.push(r), new Ae(function() {
|
|
927
|
+
n.currentObservers = null, qe(a, r);
|
|
928
928
|
}));
|
|
929
929
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
930
930
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
931
931
|
i ? r.error(o) : s && r.complete();
|
|
932
932
|
}, t.prototype.asObservable = function() {
|
|
933
|
-
var r = new
|
|
933
|
+
var r = new yt();
|
|
934
934
|
return r.source = this, r;
|
|
935
935
|
}, t.create = function(r, n) {
|
|
936
|
-
return new
|
|
936
|
+
return new xt(r, n);
|
|
937
937
|
}, t;
|
|
938
|
-
}(
|
|
939
|
-
|
|
938
|
+
}(yt), xt = function(e) {
|
|
939
|
+
me(t, e);
|
|
940
940
|
function t(r, n) {
|
|
941
941
|
var i = e.call(this) || this;
|
|
942
942
|
return i.destination = r, i.source = n, i;
|
|
@@ -952,17 +952,17 @@ var yn = Yt(function(e) {
|
|
|
952
952
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
953
953
|
}, t.prototype._subscribe = function(r) {
|
|
954
954
|
var n, i;
|
|
955
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
955
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
|
|
956
956
|
}, t;
|
|
957
|
-
}(
|
|
957
|
+
}(tr), rr = {
|
|
958
958
|
now: function() {
|
|
959
|
-
return (
|
|
959
|
+
return (rr.delegate || Date).now();
|
|
960
960
|
},
|
|
961
961
|
delegate: void 0
|
|
962
|
-
},
|
|
963
|
-
|
|
962
|
+
}, En = function(e) {
|
|
963
|
+
me(t, e);
|
|
964
964
|
function t(r, n, i) {
|
|
965
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
965
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
|
|
966
966
|
var o = e.call(this) || this;
|
|
967
967
|
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;
|
|
968
968
|
}
|
|
@@ -982,24 +982,24 @@ var yn = Yt(function(e) {
|
|
|
982
982
|
l && o.splice(0, l + 1);
|
|
983
983
|
}
|
|
984
984
|
}, t;
|
|
985
|
-
}(
|
|
986
|
-
const
|
|
987
|
-
if (
|
|
988
|
-
const r = new
|
|
989
|
-
|
|
985
|
+
}(tr);
|
|
986
|
+
const Et = [], wt = {}, wn = (e, t = 0) => {
|
|
987
|
+
if (Et.indexOf(e) == -1) {
|
|
988
|
+
const r = new En(t);
|
|
989
|
+
wt[e] = r, Et.push(e);
|
|
990
990
|
}
|
|
991
|
-
return
|
|
991
|
+
return wt[e];
|
|
992
992
|
}, Y = [];
|
|
993
|
-
function
|
|
993
|
+
function Cn(e, t) {
|
|
994
994
|
return {
|
|
995
|
-
subscribe:
|
|
995
|
+
subscribe: Ie(e, t).subscribe
|
|
996
996
|
};
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function Ie(e, t = D) {
|
|
999
999
|
let r;
|
|
1000
1000
|
const n = /* @__PURE__ */ new Set();
|
|
1001
1001
|
function i(a) {
|
|
1002
|
-
if (
|
|
1002
|
+
if (Zt(e, a) && (e = a, r)) {
|
|
1003
1003
|
const u = !Y.length;
|
|
1004
1004
|
for (const l of n)
|
|
1005
1005
|
l[1](), Y.push(l, e);
|
|
@@ -1021,12 +1021,12 @@ function Ae(e, t = D) {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
return { set: i, update: o, subscribe: s };
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function se(e, t, r) {
|
|
1025
1025
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1026
1026
|
if (!i.every(Boolean))
|
|
1027
1027
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1028
1028
|
const o = t.length < 2;
|
|
1029
|
-
return
|
|
1029
|
+
return Cn(r, (s, a) => {
|
|
1030
1030
|
let u = !1;
|
|
1031
1031
|
const l = [];
|
|
1032
1032
|
let h = 0, c = D;
|
|
@@ -1035,12 +1035,12 @@ function oe(e, t, r) {
|
|
|
1035
1035
|
return;
|
|
1036
1036
|
c();
|
|
1037
1037
|
const d = t(n ? l[0] : l, s, a);
|
|
1038
|
-
o ? s(d) : c =
|
|
1038
|
+
o ? s(d) : c = He(d) ? d : D;
|
|
1039
1039
|
}, m = i.map(
|
|
1040
|
-
(d, b) =>
|
|
1040
|
+
(d, b) => kr(
|
|
1041
1041
|
d,
|
|
1042
|
-
(
|
|
1043
|
-
l[b] =
|
|
1042
|
+
(H) => {
|
|
1043
|
+
l[b] = H, h &= ~(1 << b), u && f();
|
|
1044
1044
|
},
|
|
1045
1045
|
() => {
|
|
1046
1046
|
h |= 1 << b;
|
|
@@ -1052,108 +1052,108 @@ function oe(e, t, r) {
|
|
|
1052
1052
|
};
|
|
1053
1053
|
});
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1055
|
+
function Sn(e) {
|
|
1056
1056
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1057
1057
|
}
|
|
1058
|
-
var
|
|
1059
|
-
return
|
|
1058
|
+
var Tn = function(t) {
|
|
1059
|
+
return Hn(t) && !An(t);
|
|
1060
1060
|
};
|
|
1061
|
-
function
|
|
1061
|
+
function Hn(e) {
|
|
1062
1062
|
return !!e && typeof e == "object";
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function An(e) {
|
|
1065
1065
|
var t = Object.prototype.toString.call(e);
|
|
1066
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1066
|
+
return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
|
|
1067
1067
|
}
|
|
1068
|
-
var
|
|
1069
|
-
function
|
|
1070
|
-
return e.$$typeof ===
|
|
1068
|
+
var In = typeof Symbol == "function" && Symbol.for, Bn = In ? Symbol.for("react.element") : 60103;
|
|
1069
|
+
function Pn(e) {
|
|
1070
|
+
return e.$$typeof === Bn;
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function On(e) {
|
|
1073
1073
|
return Array.isArray(e) ? [] : {};
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1076
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1075
|
+
function fe(e, t) {
|
|
1076
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(On(e), e, t) : e;
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function Mn(e, t, r) {
|
|
1079
1079
|
return e.concat(t).map(function(n) {
|
|
1080
|
-
return
|
|
1080
|
+
return fe(n, r);
|
|
1081
1081
|
});
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function Ln(e, t) {
|
|
1084
1084
|
if (!t.customMerge)
|
|
1085
|
-
return
|
|
1085
|
+
return re;
|
|
1086
1086
|
var r = t.customMerge(e);
|
|
1087
|
-
return typeof r == "function" ? r :
|
|
1087
|
+
return typeof r == "function" ? r : re;
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function Nn(e) {
|
|
1090
1090
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1091
1091
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1092
1092
|
}) : [];
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1095
|
-
return Object.keys(e).concat(
|
|
1094
|
+
function Ct(e) {
|
|
1095
|
+
return Object.keys(e).concat(Nn(e));
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function nr(e, t) {
|
|
1098
1098
|
try {
|
|
1099
1099
|
return t in e;
|
|
1100
1100
|
} catch {
|
|
1101
1101
|
return !1;
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1105
|
-
return
|
|
1104
|
+
function Rn(e, t) {
|
|
1105
|
+
return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function Un(e, t, r) {
|
|
1108
1108
|
var n = {};
|
|
1109
|
-
return r.isMergeableObject(e) &&
|
|
1110
|
-
n[i] =
|
|
1111
|
-
}),
|
|
1112
|
-
|
|
1109
|
+
return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
|
|
1110
|
+
n[i] = fe(e[i], r);
|
|
1111
|
+
}), Ct(t).forEach(function(i) {
|
|
1112
|
+
Rn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
|
|
1113
1113
|
}), n;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1115
|
+
function re(e, t, r) {
|
|
1116
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = fe;
|
|
1117
1117
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1118
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1118
|
+
return o ? n ? r.arrayMerge(e, t, r) : Un(e, t, r) : fe(t, r);
|
|
1119
1119
|
}
|
|
1120
|
-
|
|
1120
|
+
re.all = function(t, r) {
|
|
1121
1121
|
if (!Array.isArray(t))
|
|
1122
1122
|
throw new Error("first argument should be an array");
|
|
1123
1123
|
return t.reduce(function(n, i) {
|
|
1124
|
-
return
|
|
1124
|
+
return re(n, i, r);
|
|
1125
1125
|
}, {});
|
|
1126
1126
|
};
|
|
1127
|
-
var
|
|
1128
|
-
const
|
|
1129
|
-
var
|
|
1130
|
-
return
|
|
1127
|
+
var Dn = re, $n = Dn;
|
|
1128
|
+
const Gn = /* @__PURE__ */ Sn($n);
|
|
1129
|
+
var Ke = function(e, t) {
|
|
1130
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1131
1131
|
r.__proto__ = n;
|
|
1132
1132
|
} || function(r, n) {
|
|
1133
1133
|
for (var i in n)
|
|
1134
1134
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1135
|
-
},
|
|
1135
|
+
}, Ke(e, t);
|
|
1136
1136
|
};
|
|
1137
|
-
function
|
|
1137
|
+
function Be(e, t) {
|
|
1138
1138
|
if (typeof t != "function" && t !== null)
|
|
1139
1139
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1140
|
-
|
|
1140
|
+
Ke(e, t);
|
|
1141
1141
|
function r() {
|
|
1142
1142
|
this.constructor = e;
|
|
1143
1143
|
}
|
|
1144
1144
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1145
1145
|
}
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1146
|
+
var k = function() {
|
|
1147
|
+
return k = Object.assign || function(t) {
|
|
1148
1148
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1149
1149
|
r = arguments[n];
|
|
1150
1150
|
for (var o in r)
|
|
1151
1151
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1152
1152
|
}
|
|
1153
1153
|
return t;
|
|
1154
|
-
},
|
|
1154
|
+
}, k.apply(this, arguments);
|
|
1155
1155
|
};
|
|
1156
|
-
function
|
|
1156
|
+
function kn(e, t) {
|
|
1157
1157
|
var r = {};
|
|
1158
1158
|
for (var n in e)
|
|
1159
1159
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1162,43 +1162,43 @@ function $n(e, t) {
|
|
|
1162
1162
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1163
1163
|
return r;
|
|
1164
1164
|
}
|
|
1165
|
-
function
|
|
1165
|
+
function $e(e, t, r) {
|
|
1166
1166
|
if (r || arguments.length === 2)
|
|
1167
1167
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1168
1168
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1169
1169
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1172
|
-
var r = t && t.cache ? t.cache :
|
|
1171
|
+
function Ge(e, t) {
|
|
1172
|
+
var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : Vn;
|
|
1173
1173
|
return i(e, {
|
|
1174
1174
|
cache: r,
|
|
1175
1175
|
serializer: n
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function Fn(e) {
|
|
1179
1179
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var i =
|
|
1181
|
+
function jn(e, t, r, n) {
|
|
1182
|
+
var i = Fn(n) ? n : r(n), o = t.get(i);
|
|
1183
1183
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1185
|
+
function ir(e, t, r) {
|
|
1186
1186
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1187
1187
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function or(e, t, r, n, i) {
|
|
1190
1190
|
return r.bind(t, e, n, i);
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var r = e.length === 1 ?
|
|
1194
|
-
return
|
|
1192
|
+
function Vn(e, t) {
|
|
1193
|
+
var r = e.length === 1 ? jn : ir;
|
|
1194
|
+
return or(e, this, r, t.cache.create(), t.serializer);
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1196
|
+
function Wn(e, t) {
|
|
1197
|
+
return or(e, this, ir, t.cache.create(), t.serializer);
|
|
1198
1198
|
}
|
|
1199
|
-
var
|
|
1199
|
+
var Xn = function() {
|
|
1200
1200
|
return JSON.stringify(arguments);
|
|
1201
|
-
},
|
|
1201
|
+
}, zn = (
|
|
1202
1202
|
/** @class */
|
|
1203
1203
|
function() {
|
|
1204
1204
|
function e() {
|
|
@@ -1210,71 +1210,71 @@ var Vn = function() {
|
|
|
1210
1210
|
this.cache[t] = r;
|
|
1211
1211
|
}, e;
|
|
1212
1212
|
}()
|
|
1213
|
-
),
|
|
1213
|
+
), Zn = {
|
|
1214
1214
|
create: function() {
|
|
1215
|
-
return new
|
|
1215
|
+
return new zn();
|
|
1216
1216
|
}
|
|
1217
1217
|
}, ke = {
|
|
1218
|
-
variadic:
|
|
1219
|
-
},
|
|
1220
|
-
return
|
|
1218
|
+
variadic: Wn
|
|
1219
|
+
}, Ce = function() {
|
|
1220
|
+
return Ce = Object.assign || function(t) {
|
|
1221
1221
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1222
1222
|
r = arguments[n];
|
|
1223
1223
|
for (var o in r)
|
|
1224
1224
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1225
1225
|
}
|
|
1226
1226
|
return t;
|
|
1227
|
-
},
|
|
1227
|
+
}, Ce.apply(this, arguments);
|
|
1228
1228
|
};
|
|
1229
|
-
var
|
|
1229
|
+
var g;
|
|
1230
1230
|
(function(e) {
|
|
1231
1231
|
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";
|
|
1232
|
-
})(
|
|
1233
|
-
var
|
|
1232
|
+
})(g || (g = {}));
|
|
1233
|
+
var w;
|
|
1234
1234
|
(function(e) {
|
|
1235
1235
|
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";
|
|
1236
|
-
})(
|
|
1237
|
-
var
|
|
1236
|
+
})(w || (w = {}));
|
|
1237
|
+
var ne;
|
|
1238
1238
|
(function(e) {
|
|
1239
1239
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1240
|
-
})(
|
|
1241
|
-
function
|
|
1242
|
-
return e.type ===
|
|
1243
|
-
}
|
|
1244
|
-
function zn(e) {
|
|
1245
|
-
return e.type === E.argument;
|
|
1240
|
+
})(ne || (ne = {}));
|
|
1241
|
+
function St(e) {
|
|
1242
|
+
return e.type === w.literal;
|
|
1246
1243
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1244
|
+
function Qn(e) {
|
|
1245
|
+
return e.type === w.argument;
|
|
1249
1246
|
}
|
|
1250
1247
|
function sr(e) {
|
|
1251
|
-
return e.type ===
|
|
1248
|
+
return e.type === w.number;
|
|
1252
1249
|
}
|
|
1253
1250
|
function ar(e) {
|
|
1254
|
-
return e.type ===
|
|
1251
|
+
return e.type === w.date;
|
|
1255
1252
|
}
|
|
1256
1253
|
function ur(e) {
|
|
1257
|
-
return e.type ===
|
|
1254
|
+
return e.type === w.time;
|
|
1258
1255
|
}
|
|
1259
1256
|
function lr(e) {
|
|
1260
|
-
return e.type ===
|
|
1261
|
-
}
|
|
1262
|
-
function Zn(e) {
|
|
1263
|
-
return e.type === E.pound;
|
|
1257
|
+
return e.type === w.select;
|
|
1264
1258
|
}
|
|
1265
1259
|
function hr(e) {
|
|
1266
|
-
return e.type ===
|
|
1260
|
+
return e.type === w.plural;
|
|
1261
|
+
}
|
|
1262
|
+
function Yn(e) {
|
|
1263
|
+
return e.type === w.pound;
|
|
1267
1264
|
}
|
|
1268
1265
|
function cr(e) {
|
|
1269
|
-
return
|
|
1266
|
+
return e.type === w.tag;
|
|
1270
1267
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1268
|
+
function fr(e) {
|
|
1269
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1273
1270
|
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1271
|
+
function et(e) {
|
|
1272
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1273
|
+
}
|
|
1274
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[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;
|
|
1275
|
+
function Jn(e) {
|
|
1276
1276
|
var t = {};
|
|
1277
|
-
return e.replace(
|
|
1277
|
+
return e.replace(qn, function(r) {
|
|
1278
1278
|
var n = r.length;
|
|
1279
1279
|
switch (r[0]) {
|
|
1280
1280
|
case "G":
|
|
@@ -1363,21 +1363,21 @@ function Yn(e) {
|
|
|
1363
1363
|
return "";
|
|
1364
1364
|
}), t;
|
|
1365
1365
|
}
|
|
1366
|
-
var
|
|
1367
|
-
return
|
|
1366
|
+
var S = function() {
|
|
1367
|
+
return S = Object.assign || function(t) {
|
|
1368
1368
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1369
1369
|
r = arguments[n];
|
|
1370
1370
|
for (var o in r)
|
|
1371
1371
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1372
1372
|
}
|
|
1373
1373
|
return t;
|
|
1374
|
-
},
|
|
1374
|
+
}, S.apply(this, arguments);
|
|
1375
1375
|
};
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1376
|
+
var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1377
|
+
function ei(e) {
|
|
1378
1378
|
if (e.length === 0)
|
|
1379
1379
|
throw new Error("Number skeleton cannot be empty");
|
|
1380
|
-
for (var t = e.split(
|
|
1380
|
+
for (var t = e.split(Kn).filter(function(f) {
|
|
1381
1381
|
return f.length > 0;
|
|
1382
1382
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1383
1383
|
var o = i[n], s = o.split("/");
|
|
@@ -1392,17 +1392,17 @@ function Jn(e) {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
return r;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function ti(e) {
|
|
1396
1396
|
return e.replace(/^(.*?)-/, "");
|
|
1397
1397
|
}
|
|
1398
|
-
var
|
|
1399
|
-
function
|
|
1398
|
+
var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
1399
|
+
function Ht(e) {
|
|
1400
1400
|
var t = {};
|
|
1401
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1401
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
|
|
1402
1402
|
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)), "";
|
|
1403
1403
|
}), t;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function br(e) {
|
|
1406
1406
|
switch (e) {
|
|
1407
1407
|
case "sign-auto":
|
|
1408
1408
|
return {
|
|
@@ -1442,7 +1442,7 @@ function mr(e) {
|
|
|
1442
1442
|
};
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function ni(e) {
|
|
1446
1446
|
var t;
|
|
1447
1447
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1448
1448
|
notation: "engineering"
|
|
@@ -1450,17 +1450,17 @@ function ti(e) {
|
|
|
1450
1450
|
notation: "scientific"
|
|
1451
1451
|
}, e = e.slice(1)), t) {
|
|
1452
1452
|
var r = e.slice(0, 2);
|
|
1453
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1453
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
|
|
1454
1454
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1455
1455
|
t.minimumIntegerDigits = e.length;
|
|
1456
1456
|
}
|
|
1457
1457
|
return t;
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1460
|
-
var t = {}, r =
|
|
1459
|
+
function At(e) {
|
|
1460
|
+
var t = {}, r = br(e);
|
|
1461
1461
|
return r || t;
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function ii(e) {
|
|
1464
1464
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1465
1465
|
var i = n[r];
|
|
1466
1466
|
switch (i.stem) {
|
|
@@ -1484,7 +1484,7 @@ function ri(e) {
|
|
|
1484
1484
|
continue;
|
|
1485
1485
|
case "measure-unit":
|
|
1486
1486
|
case "unit":
|
|
1487
|
-
t.style = "unit", t.unit =
|
|
1487
|
+
t.style = "unit", t.unit = ti(i.options[0]);
|
|
1488
1488
|
continue;
|
|
1489
1489
|
case "compact-short":
|
|
1490
1490
|
case "K":
|
|
@@ -1495,13 +1495,13 @@ function ri(e) {
|
|
|
1495
1495
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1496
1496
|
continue;
|
|
1497
1497
|
case "scientific":
|
|
1498
|
-
t =
|
|
1499
|
-
return
|
|
1498
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1499
|
+
return S(S({}, u), At(l));
|
|
1500
1500
|
}, {}));
|
|
1501
1501
|
continue;
|
|
1502
1502
|
case "engineering":
|
|
1503
|
-
t =
|
|
1504
|
-
return
|
|
1503
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1504
|
+
return S(S({}, u), At(l));
|
|
1505
1505
|
}, {}));
|
|
1506
1506
|
continue;
|
|
1507
1507
|
case "notation-simple":
|
|
@@ -1546,7 +1546,7 @@ function ri(e) {
|
|
|
1546
1546
|
case "integer-width":
|
|
1547
1547
|
if (i.options.length > 1)
|
|
1548
1548
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1549
|
-
i.options[0].replace(
|
|
1549
|
+
i.options[0].replace(ri, function(u, l, h, c, f, m) {
|
|
1550
1550
|
if (l)
|
|
1551
1551
|
t.minimumIntegerDigits = h.length;
|
|
1552
1552
|
else {
|
|
@@ -1559,32 +1559,32 @@ function ri(e) {
|
|
|
1559
1559
|
});
|
|
1560
1560
|
continue;
|
|
1561
1561
|
}
|
|
1562
|
-
if (
|
|
1562
|
+
if (mr.test(i.stem)) {
|
|
1563
1563
|
t.minimumIntegerDigits = i.stem.length;
|
|
1564
1564
|
continue;
|
|
1565
1565
|
}
|
|
1566
|
-
if (
|
|
1566
|
+
if (Tt.test(i.stem)) {
|
|
1567
1567
|
if (i.options.length > 1)
|
|
1568
1568
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1569
|
-
i.stem.replace(
|
|
1569
|
+
i.stem.replace(Tt, function(u, l, h, c, f, m) {
|
|
1570
1570
|
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1571
1571
|
});
|
|
1572
1572
|
var o = i.options[0];
|
|
1573
|
-
o === "w" ? t =
|
|
1573
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ht(o)));
|
|
1574
1574
|
continue;
|
|
1575
1575
|
}
|
|
1576
|
-
if (
|
|
1577
|
-
t =
|
|
1576
|
+
if (dr.test(i.stem)) {
|
|
1577
|
+
t = S(S({}, t), Ht(i.stem));
|
|
1578
1578
|
continue;
|
|
1579
1579
|
}
|
|
1580
|
-
var s =
|
|
1581
|
-
s && (t =
|
|
1582
|
-
var a =
|
|
1583
|
-
a && (t =
|
|
1580
|
+
var s = br(i.stem);
|
|
1581
|
+
s && (t = S(S({}, t), s));
|
|
1582
|
+
var a = ni(i.stem);
|
|
1583
|
+
a && (t = S(S({}, t), a));
|
|
1584
1584
|
}
|
|
1585
1585
|
return t;
|
|
1586
1586
|
}
|
|
1587
|
-
var
|
|
1587
|
+
var ve = {
|
|
1588
1588
|
"001": [
|
|
1589
1589
|
"H",
|
|
1590
1590
|
"h"
|
|
@@ -2999,13 +2999,13 @@ var ge = {
|
|
|
2999
2999
|
"h"
|
|
3000
3000
|
]
|
|
3001
3001
|
};
|
|
3002
|
-
function
|
|
3002
|
+
function oi(e, t) {
|
|
3003
3003
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3004
3004
|
var i = e.charAt(n);
|
|
3005
3005
|
if (i === "j") {
|
|
3006
3006
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3007
3007
|
o++, n++;
|
|
3008
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3008
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = si(t);
|
|
3009
3009
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
3010
3010
|
r += u;
|
|
3011
3011
|
for (; s-- > 0; )
|
|
@@ -3015,7 +3015,7 @@ function ni(e, t) {
|
|
|
3015
3015
|
}
|
|
3016
3016
|
return r;
|
|
3017
3017
|
}
|
|
3018
|
-
function
|
|
3018
|
+
function si(e) {
|
|
3019
3019
|
var t = e.hourCycle;
|
|
3020
3020
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3021
3021
|
e.hourCycles && // @ts-ignore
|
|
@@ -3034,23 +3034,23 @@ function ii(e) {
|
|
|
3034
3034
|
}
|
|
3035
3035
|
var r = e.language, n;
|
|
3036
3036
|
r !== "root" && (n = e.maximize().region);
|
|
3037
|
-
var i =
|
|
3037
|
+
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3038
3038
|
return i[0];
|
|
3039
3039
|
}
|
|
3040
|
-
var
|
|
3041
|
-
function
|
|
3040
|
+
var Fe, ai = new RegExp("^".concat(pr.source, "*")), ui = new RegExp("".concat(pr.source, "*$"));
|
|
3041
|
+
function v(e, t) {
|
|
3042
3042
|
return { start: e, end: t };
|
|
3043
3043
|
}
|
|
3044
|
-
var
|
|
3044
|
+
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, bi = mi ? Number.isSafeInteger : function(e) {
|
|
3045
3045
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3046
|
-
},
|
|
3046
|
+
}, tt = !0;
|
|
3047
3047
|
try {
|
|
3048
|
-
var
|
|
3049
|
-
|
|
3048
|
+
var gi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3049
|
+
tt = ((Fe = gi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
3050
3050
|
} catch {
|
|
3051
|
-
|
|
3051
|
+
tt = !1;
|
|
3052
3052
|
}
|
|
3053
|
-
var
|
|
3053
|
+
var It = li ? (
|
|
3054
3054
|
// Native
|
|
3055
3055
|
function(t, r, n) {
|
|
3056
3056
|
return t.startsWith(r, n);
|
|
@@ -3060,7 +3060,7 @@ var At = ai ? (
|
|
|
3060
3060
|
function(t, r, n) {
|
|
3061
3061
|
return t.slice(n, n + r.length) === r;
|
|
3062
3062
|
}
|
|
3063
|
-
),
|
|
3063
|
+
), rt = hi ? String.fromCodePoint : (
|
|
3064
3064
|
// IE11
|
|
3065
3065
|
function() {
|
|
3066
3066
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3072,9 +3072,9 @@ var At = ai ? (
|
|
|
3072
3072
|
}
|
|
3073
3073
|
return n;
|
|
3074
3074
|
}
|
|
3075
|
-
),
|
|
3075
|
+
), Bt = (
|
|
3076
3076
|
// native
|
|
3077
|
-
|
|
3077
|
+
ci ? Object.fromEntries : (
|
|
3078
3078
|
// Ponyfill
|
|
3079
3079
|
function(t) {
|
|
3080
3080
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3084,7 +3084,7 @@ var At = ai ? (
|
|
|
3084
3084
|
return r;
|
|
3085
3085
|
}
|
|
3086
3086
|
)
|
|
3087
|
-
),
|
|
3087
|
+
), gr = fi ? (
|
|
3088
3088
|
// Native
|
|
3089
3089
|
function(t, r) {
|
|
3090
3090
|
return t.codePointAt(r);
|
|
@@ -3098,7 +3098,7 @@ var At = ai ? (
|
|
|
3098
3098
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3099
3099
|
}
|
|
3100
3100
|
}
|
|
3101
|
-
),
|
|
3101
|
+
), vi = pi ? (
|
|
3102
3102
|
// Native
|
|
3103
3103
|
function(t) {
|
|
3104
3104
|
return t.trimStart();
|
|
@@ -3106,9 +3106,9 @@ var At = ai ? (
|
|
|
3106
3106
|
) : (
|
|
3107
3107
|
// Ponyfill
|
|
3108
3108
|
function(t) {
|
|
3109
|
-
return t.replace(
|
|
3109
|
+
return t.replace(ai, "");
|
|
3110
3110
|
}
|
|
3111
|
-
),
|
|
3111
|
+
), yi = di ? (
|
|
3112
3112
|
// Native
|
|
3113
3113
|
function(t) {
|
|
3114
3114
|
return t.trimEnd();
|
|
@@ -3116,32 +3116,32 @@ var At = ai ? (
|
|
|
3116
3116
|
) : (
|
|
3117
3117
|
// Ponyfill
|
|
3118
3118
|
function(t) {
|
|
3119
|
-
return t.replace(
|
|
3119
|
+
return t.replace(ui, "");
|
|
3120
3120
|
}
|
|
3121
3121
|
);
|
|
3122
|
-
function
|
|
3122
|
+
function vr(e, t) {
|
|
3123
3123
|
return new RegExp(e, t);
|
|
3124
3124
|
}
|
|
3125
|
-
var
|
|
3126
|
-
if (
|
|
3127
|
-
var
|
|
3128
|
-
|
|
3125
|
+
var nt;
|
|
3126
|
+
if (tt) {
|
|
3127
|
+
var Pt = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3128
|
+
nt = function(t, r) {
|
|
3129
3129
|
var n;
|
|
3130
|
-
|
|
3131
|
-
var i =
|
|
3130
|
+
Pt.lastIndex = r;
|
|
3131
|
+
var i = Pt.exec(t);
|
|
3132
3132
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3133
3133
|
};
|
|
3134
3134
|
} else
|
|
3135
|
-
|
|
3135
|
+
nt = function(t, r) {
|
|
3136
3136
|
for (var n = []; ; ) {
|
|
3137
|
-
var i =
|
|
3138
|
-
if (i === void 0 ||
|
|
3137
|
+
var i = gr(t, r);
|
|
3138
|
+
if (i === void 0 || yr(i) || wi(i))
|
|
3139
3139
|
break;
|
|
3140
3140
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3141
3141
|
}
|
|
3142
|
-
return
|
|
3142
|
+
return rt.apply(void 0, n);
|
|
3143
3143
|
};
|
|
3144
|
-
var
|
|
3144
|
+
var _i = (
|
|
3145
3145
|
/** @class */
|
|
3146
3146
|
function() {
|
|
3147
3147
|
function e(t, r) {
|
|
@@ -3165,14 +3165,14 @@ var vi = (
|
|
|
3165
3165
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3166
3166
|
var a = this.clonePosition();
|
|
3167
3167
|
this.bump(), i.push({
|
|
3168
|
-
type:
|
|
3169
|
-
location:
|
|
3168
|
+
type: w.pound,
|
|
3169
|
+
location: v(a, this.clonePosition())
|
|
3170
3170
|
});
|
|
3171
3171
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3172
3172
|
if (n)
|
|
3173
3173
|
break;
|
|
3174
|
-
return this.error(
|
|
3175
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3174
|
+
return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3175
|
+
} else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
|
|
3176
3176
|
var s = this.parseTag(t, r);
|
|
3177
3177
|
if (s.err)
|
|
3178
3178
|
return s;
|
|
@@ -3193,9 +3193,9 @@ var vi = (
|
|
|
3193
3193
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3194
3194
|
return {
|
|
3195
3195
|
val: {
|
|
3196
|
-
type:
|
|
3196
|
+
type: w.literal,
|
|
3197
3197
|
value: "<".concat(i, "/>"),
|
|
3198
|
-
location:
|
|
3198
|
+
location: v(n, this.clonePosition())
|
|
3199
3199
|
},
|
|
3200
3200
|
err: null
|
|
3201
3201
|
};
|
|
@@ -3205,25 +3205,25 @@ var vi = (
|
|
|
3205
3205
|
return o;
|
|
3206
3206
|
var s = o.val, a = this.clonePosition();
|
|
3207
3207
|
if (this.bumpIf("</")) {
|
|
3208
|
-
if (this.isEOF() || !
|
|
3209
|
-
return this.error(
|
|
3208
|
+
if (this.isEOF() || !it(this.char()))
|
|
3209
|
+
return this.error(g.INVALID_TAG, v(a, this.clonePosition()));
|
|
3210
3210
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3211
|
-
return i !== l ? this.error(
|
|
3211
|
+
return i !== l ? this.error(g.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3212
3212
|
val: {
|
|
3213
|
-
type:
|
|
3213
|
+
type: w.tag,
|
|
3214
3214
|
value: i,
|
|
3215
3215
|
children: s,
|
|
3216
|
-
location:
|
|
3216
|
+
location: v(n, this.clonePosition())
|
|
3217
3217
|
},
|
|
3218
3218
|
err: null
|
|
3219
|
-
} : this.error(
|
|
3219
|
+
} : this.error(g.INVALID_TAG, v(a, this.clonePosition())));
|
|
3220
3220
|
} else
|
|
3221
|
-
return this.error(
|
|
3221
|
+
return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3222
3222
|
} else
|
|
3223
|
-
return this.error(
|
|
3223
|
+
return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
|
|
3224
3224
|
}, e.prototype.parseTagName = function() {
|
|
3225
3225
|
var t = this.offset();
|
|
3226
|
-
for (this.bump(); !this.isEOF() &&
|
|
3226
|
+
for (this.bump(); !this.isEOF() && Ei(this.char()); )
|
|
3227
3227
|
this.bump();
|
|
3228
3228
|
return this.message.slice(t, this.offset());
|
|
3229
3229
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3245,14 +3245,14 @@ var vi = (
|
|
|
3245
3245
|
}
|
|
3246
3246
|
break;
|
|
3247
3247
|
}
|
|
3248
|
-
var u =
|
|
3248
|
+
var u = v(n, this.clonePosition());
|
|
3249
3249
|
return {
|
|
3250
|
-
val: { type:
|
|
3250
|
+
val: { type: w.literal, value: i, location: u },
|
|
3251
3251
|
err: null
|
|
3252
3252
|
};
|
|
3253
3253
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3254
3254
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3255
|
-
!
|
|
3255
|
+
!xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3256
3256
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3257
3257
|
if (this.isEOF() || this.char() !== 39)
|
|
3258
3258
|
return null;
|
|
@@ -3286,49 +3286,49 @@ var vi = (
|
|
|
3286
3286
|
r.push(n);
|
|
3287
3287
|
this.bump();
|
|
3288
3288
|
}
|
|
3289
|
-
return
|
|
3289
|
+
return rt.apply(void 0, r);
|
|
3290
3290
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3291
3291
|
if (this.isEOF())
|
|
3292
3292
|
return null;
|
|
3293
3293
|
var n = this.char();
|
|
3294
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3294
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
|
|
3295
3295
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3296
3296
|
var n = this.clonePosition();
|
|
3297
3297
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3298
|
-
return this.error(
|
|
3298
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3299
3299
|
if (this.char() === 125)
|
|
3300
|
-
return this.bump(), this.error(
|
|
3300
|
+
return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3301
3301
|
var i = this.parseIdentifierIfPossible().value;
|
|
3302
3302
|
if (!i)
|
|
3303
|
-
return this.error(
|
|
3303
|
+
return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3304
3304
|
if (this.bumpSpace(), this.isEOF())
|
|
3305
|
-
return this.error(
|
|
3305
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3306
3306
|
switch (this.char()) {
|
|
3307
3307
|
case 125:
|
|
3308
3308
|
return this.bump(), {
|
|
3309
3309
|
val: {
|
|
3310
|
-
type:
|
|
3310
|
+
type: w.argument,
|
|
3311
3311
|
// value does not include the opening and closing braces.
|
|
3312
3312
|
value: i,
|
|
3313
|
-
location:
|
|
3313
|
+
location: v(n, this.clonePosition())
|
|
3314
3314
|
},
|
|
3315
3315
|
err: null
|
|
3316
3316
|
};
|
|
3317
3317
|
case 44:
|
|
3318
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3318
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3319
3319
|
default:
|
|
3320
|
-
return this.error(
|
|
3320
|
+
return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3321
3321
|
}
|
|
3322
3322
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3323
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3323
|
+
var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
|
|
3324
3324
|
this.bumpTo(i);
|
|
3325
|
-
var o = this.clonePosition(), s =
|
|
3325
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
3326
3326
|
return { value: n, location: s };
|
|
3327
3327
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3328
3328
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3329
3329
|
switch (a) {
|
|
3330
3330
|
case "":
|
|
3331
|
-
return this.error(
|
|
3331
|
+
return this.error(g.EXPECT_ARGUMENT_TYPE, v(s, u));
|
|
3332
3332
|
case "number":
|
|
3333
3333
|
case "date":
|
|
3334
3334
|
case "time": {
|
|
@@ -3339,44 +3339,44 @@ var vi = (
|
|
|
3339
3339
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3340
3340
|
if (c.err)
|
|
3341
3341
|
return c;
|
|
3342
|
-
var f =
|
|
3342
|
+
var f = yi(c.val);
|
|
3343
3343
|
if (f.length === 0)
|
|
3344
|
-
return this.error(
|
|
3345
|
-
var m =
|
|
3344
|
+
return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3345
|
+
var m = v(h, this.clonePosition());
|
|
3346
3346
|
l = { style: f, styleLocation: m };
|
|
3347
3347
|
}
|
|
3348
3348
|
var d = this.tryParseArgumentClose(i);
|
|
3349
3349
|
if (d.err)
|
|
3350
3350
|
return d;
|
|
3351
|
-
var b =
|
|
3352
|
-
if (l &&
|
|
3353
|
-
var
|
|
3351
|
+
var b = v(i, this.clonePosition());
|
|
3352
|
+
if (l && It(l?.style, "::", 0)) {
|
|
3353
|
+
var H = vi(l.style.slice(2));
|
|
3354
3354
|
if (a === "number") {
|
|
3355
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3355
|
+
var c = this.parseNumberSkeletonFromString(H, l.styleLocation);
|
|
3356
3356
|
return c.err ? c : {
|
|
3357
|
-
val: { type:
|
|
3357
|
+
val: { type: w.number, value: n, location: b, style: c.val },
|
|
3358
3358
|
err: null
|
|
3359
3359
|
};
|
|
3360
3360
|
} else {
|
|
3361
|
-
if (
|
|
3362
|
-
return this.error(
|
|
3363
|
-
var
|
|
3364
|
-
this.locale && (
|
|
3361
|
+
if (H.length === 0)
|
|
3362
|
+
return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
|
|
3363
|
+
var N = H;
|
|
3364
|
+
this.locale && (N = oi(H, this.locale));
|
|
3365
3365
|
var f = {
|
|
3366
|
-
type:
|
|
3367
|
-
pattern:
|
|
3366
|
+
type: ne.dateTime,
|
|
3367
|
+
pattern: N,
|
|
3368
3368
|
location: l.styleLocation,
|
|
3369
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3370
|
-
},
|
|
3369
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(N) : {}
|
|
3370
|
+
}, O = a === "date" ? w.date : w.time;
|
|
3371
3371
|
return {
|
|
3372
|
-
val: { type:
|
|
3372
|
+
val: { type: O, value: n, location: b, style: f },
|
|
3373
3373
|
err: null
|
|
3374
3374
|
};
|
|
3375
3375
|
}
|
|
3376
3376
|
}
|
|
3377
3377
|
return {
|
|
3378
3378
|
val: {
|
|
3379
|
-
type: a === "number" ?
|
|
3379
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3380
3380
|
value: n,
|
|
3381
3381
|
location: b,
|
|
3382
3382
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3387,52 +3387,52 @@ var vi = (
|
|
|
3387
3387
|
case "plural":
|
|
3388
3388
|
case "selectordinal":
|
|
3389
3389
|
case "select": {
|
|
3390
|
-
var
|
|
3390
|
+
var I = this.clonePosition();
|
|
3391
3391
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3392
|
-
return this.error(
|
|
3392
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(I, Ce({}, I)));
|
|
3393
3393
|
this.bumpSpace();
|
|
3394
|
-
var
|
|
3395
|
-
if (a !== "select" &&
|
|
3394
|
+
var M = this.parseIdentifierIfPossible(), C = 0;
|
|
3395
|
+
if (a !== "select" && M.value === "offset") {
|
|
3396
3396
|
if (!this.bumpIf(":"))
|
|
3397
|
-
return this.error(
|
|
3397
|
+
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3398
3398
|
this.bumpSpace();
|
|
3399
|
-
var c = this.tryParseDecimalInteger(
|
|
3399
|
+
var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3400
3400
|
if (c.err)
|
|
3401
3401
|
return c;
|
|
3402
|
-
this.bumpSpace(),
|
|
3402
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), C = c.val;
|
|
3403
3403
|
}
|
|
3404
|
-
var
|
|
3405
|
-
if (
|
|
3406
|
-
return
|
|
3404
|
+
var G = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3405
|
+
if (G.err)
|
|
3406
|
+
return G;
|
|
3407
3407
|
var d = this.tryParseArgumentClose(i);
|
|
3408
3408
|
if (d.err)
|
|
3409
3409
|
return d;
|
|
3410
|
-
var
|
|
3410
|
+
var x = v(i, this.clonePosition());
|
|
3411
3411
|
return a === "select" ? {
|
|
3412
3412
|
val: {
|
|
3413
|
-
type:
|
|
3413
|
+
type: w.select,
|
|
3414
3414
|
value: n,
|
|
3415
|
-
options:
|
|
3416
|
-
location:
|
|
3415
|
+
options: Bt(G.val),
|
|
3416
|
+
location: x
|
|
3417
3417
|
},
|
|
3418
3418
|
err: null
|
|
3419
3419
|
} : {
|
|
3420
3420
|
val: {
|
|
3421
|
-
type:
|
|
3421
|
+
type: w.plural,
|
|
3422
3422
|
value: n,
|
|
3423
|
-
options:
|
|
3424
|
-
offset:
|
|
3423
|
+
options: Bt(G.val),
|
|
3424
|
+
offset: C,
|
|
3425
3425
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3426
|
-
location:
|
|
3426
|
+
location: x
|
|
3427
3427
|
},
|
|
3428
3428
|
err: null
|
|
3429
3429
|
};
|
|
3430
3430
|
}
|
|
3431
3431
|
default:
|
|
3432
|
-
return this.error(
|
|
3432
|
+
return this.error(g.INVALID_ARGUMENT_TYPE, v(s, u));
|
|
3433
3433
|
}
|
|
3434
3434
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3435
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3435
|
+
return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3436
3436
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3437
3437
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3438
3438
|
var n = this.char();
|
|
@@ -3441,7 +3441,7 @@ var vi = (
|
|
|
3441
3441
|
this.bump();
|
|
3442
3442
|
var i = this.clonePosition();
|
|
3443
3443
|
if (!this.bumpUntil("'"))
|
|
3444
|
-
return this.error(
|
|
3444
|
+
return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3445
3445
|
this.bump();
|
|
3446
3446
|
break;
|
|
3447
3447
|
}
|
|
@@ -3471,16 +3471,16 @@ var vi = (
|
|
|
3471
3471
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3472
3472
|
var n = [];
|
|
3473
3473
|
try {
|
|
3474
|
-
n =
|
|
3474
|
+
n = ei(t);
|
|
3475
3475
|
} catch {
|
|
3476
|
-
return this.error(
|
|
3476
|
+
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3477
3477
|
}
|
|
3478
3478
|
return {
|
|
3479
3479
|
val: {
|
|
3480
|
-
type:
|
|
3480
|
+
type: ne.number,
|
|
3481
3481
|
tokens: n,
|
|
3482
3482
|
location: r,
|
|
3483
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3483
|
+
parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
|
|
3484
3484
|
},
|
|
3485
3485
|
err: null
|
|
3486
3486
|
};
|
|
@@ -3489,19 +3489,19 @@ var vi = (
|
|
|
3489
3489
|
if (l.length === 0) {
|
|
3490
3490
|
var c = this.clonePosition();
|
|
3491
3491
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3492
|
-
var f = this.tryParseDecimalInteger(
|
|
3492
|
+
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3493
3493
|
if (f.err)
|
|
3494
3494
|
return f;
|
|
3495
|
-
h =
|
|
3495
|
+
h = v(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
3496
3496
|
} else
|
|
3497
3497
|
break;
|
|
3498
3498
|
}
|
|
3499
3499
|
if (u.has(l))
|
|
3500
|
-
return this.error(r === "select" ?
|
|
3500
|
+
return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3501
3501
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3502
3502
|
var m = this.clonePosition();
|
|
3503
3503
|
if (!this.bumpIf("{"))
|
|
3504
|
-
return this.error(r === "select" ?
|
|
3504
|
+
return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3505
3505
|
var d = this.parseMessage(t + 1, r, n);
|
|
3506
3506
|
if (d.err)
|
|
3507
3507
|
return d;
|
|
@@ -3512,11 +3512,11 @@ var vi = (
|
|
|
3512
3512
|
l,
|
|
3513
3513
|
{
|
|
3514
3514
|
value: d.val,
|
|
3515
|
-
location:
|
|
3515
|
+
location: v(m, this.clonePosition())
|
|
3516
3516
|
}
|
|
3517
3517
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3518
3518
|
}
|
|
3519
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3519
|
+
return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3520
3520
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3521
3521
|
var n = 1, i = this.clonePosition();
|
|
3522
3522
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3527,8 +3527,8 @@ var vi = (
|
|
|
3527
3527
|
else
|
|
3528
3528
|
break;
|
|
3529
3529
|
}
|
|
3530
|
-
var u =
|
|
3531
|
-
return o ? (s *= n,
|
|
3530
|
+
var u = v(i, this.clonePosition());
|
|
3531
|
+
return o ? (s *= n, bi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3532
3532
|
}, e.prototype.offset = function() {
|
|
3533
3533
|
return this.position.offset;
|
|
3534
3534
|
}, e.prototype.isEOF = function() {
|
|
@@ -3543,7 +3543,7 @@ var vi = (
|
|
|
3543
3543
|
var t = this.position.offset;
|
|
3544
3544
|
if (t >= this.message.length)
|
|
3545
3545
|
throw Error("out of bound");
|
|
3546
|
-
var r =
|
|
3546
|
+
var r = gr(this.message, t);
|
|
3547
3547
|
if (r === void 0)
|
|
3548
3548
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3549
3549
|
return r;
|
|
@@ -3562,7 +3562,7 @@ var vi = (
|
|
|
3562
3562
|
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);
|
|
3563
3563
|
}
|
|
3564
3564
|
}, e.prototype.bumpIf = function(t) {
|
|
3565
|
-
if (
|
|
3565
|
+
if (It(this.message, t, this.offset())) {
|
|
3566
3566
|
for (var r = 0; r < t.length; r++)
|
|
3567
3567
|
this.bump();
|
|
3568
3568
|
return !0;
|
|
@@ -3584,7 +3584,7 @@ var vi = (
|
|
|
3584
3584
|
break;
|
|
3585
3585
|
}
|
|
3586
3586
|
}, e.prototype.bumpSpace = function() {
|
|
3587
|
-
for (; !this.isEOF() &&
|
|
3587
|
+
for (; !this.isEOF() && yr(this.char()); )
|
|
3588
3588
|
this.bump();
|
|
3589
3589
|
}, e.prototype.peek = function() {
|
|
3590
3590
|
if (this.isEOF())
|
|
@@ -3594,47 +3594,47 @@ var vi = (
|
|
|
3594
3594
|
}, e;
|
|
3595
3595
|
}()
|
|
3596
3596
|
);
|
|
3597
|
-
function
|
|
3597
|
+
function it(e) {
|
|
3598
3598
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3599
3599
|
}
|
|
3600
|
-
function
|
|
3601
|
-
return
|
|
3600
|
+
function xi(e) {
|
|
3601
|
+
return it(e) || e === 47;
|
|
3602
3602
|
}
|
|
3603
|
-
function
|
|
3603
|
+
function Ei(e) {
|
|
3604
3604
|
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;
|
|
3605
3605
|
}
|
|
3606
|
-
function
|
|
3606
|
+
function yr(e) {
|
|
3607
3607
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3608
3608
|
}
|
|
3609
|
-
function
|
|
3609
|
+
function wi(e) {
|
|
3610
3610
|
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;
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3612
|
+
function ot(e) {
|
|
3613
3613
|
e.forEach(function(t) {
|
|
3614
|
-
if (delete t.location,
|
|
3614
|
+
if (delete t.location, lr(t) || hr(t))
|
|
3615
3615
|
for (var r in t.options)
|
|
3616
|
-
delete t.options[r].location,
|
|
3616
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3617
3617
|
else
|
|
3618
|
-
|
|
3618
|
+
sr(t) && fr(t.style) || (ar(t) || ur(t)) && et(t.style) ? delete t.style.location : cr(t) && ot(t.children);
|
|
3619
3619
|
});
|
|
3620
3620
|
}
|
|
3621
|
-
function
|
|
3622
|
-
t === void 0 && (t = {}), t =
|
|
3623
|
-
var r = new
|
|
3621
|
+
function Ci(e, t) {
|
|
3622
|
+
t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3623
|
+
var r = new _i(e, t).parse();
|
|
3624
3624
|
if (r.err) {
|
|
3625
|
-
var n = SyntaxError(
|
|
3625
|
+
var n = SyntaxError(g[r.err.kind]);
|
|
3626
3626
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3627
3627
|
}
|
|
3628
|
-
return t?.captureLocation ||
|
|
3628
|
+
return t?.captureLocation || ot(r.val), r.val;
|
|
3629
3629
|
}
|
|
3630
|
-
var
|
|
3630
|
+
var ie;
|
|
3631
3631
|
(function(e) {
|
|
3632
3632
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3633
|
-
})(
|
|
3634
|
-
var
|
|
3633
|
+
})(ie || (ie = {}));
|
|
3634
|
+
var Pe = (
|
|
3635
3635
|
/** @class */
|
|
3636
3636
|
function(e) {
|
|
3637
|
-
|
|
3637
|
+
Be(t, e);
|
|
3638
3638
|
function t(r, n, i) {
|
|
3639
3639
|
var o = e.call(this, r) || this;
|
|
3640
3640
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3643,155 +3643,155 @@ var Be = (
|
|
|
3643
3643
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3644
3644
|
}, t;
|
|
3645
3645
|
}(Error)
|
|
3646
|
-
),
|
|
3646
|
+
), Ot = (
|
|
3647
3647
|
/** @class */
|
|
3648
3648
|
function(e) {
|
|
3649
|
-
|
|
3649
|
+
Be(t, e);
|
|
3650
3650
|
function t(r, n, i, o) {
|
|
3651
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3651
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3652
3652
|
}
|
|
3653
3653
|
return t;
|
|
3654
|
-
}(
|
|
3655
|
-
),
|
|
3654
|
+
}(Pe)
|
|
3655
|
+
), Si = (
|
|
3656
3656
|
/** @class */
|
|
3657
3657
|
function(e) {
|
|
3658
|
-
|
|
3658
|
+
Be(t, e);
|
|
3659
3659
|
function t(r, n, i) {
|
|
3660
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3660
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3661
3661
|
}
|
|
3662
3662
|
return t;
|
|
3663
|
-
}(
|
|
3664
|
-
),
|
|
3663
|
+
}(Pe)
|
|
3664
|
+
), Ti = (
|
|
3665
3665
|
/** @class */
|
|
3666
3666
|
function(e) {
|
|
3667
|
-
|
|
3667
|
+
Be(t, e);
|
|
3668
3668
|
function t(r, n) {
|
|
3669
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3669
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3670
3670
|
}
|
|
3671
3671
|
return t;
|
|
3672
|
-
}(
|
|
3673
|
-
),
|
|
3672
|
+
}(Pe)
|
|
3673
|
+
), L;
|
|
3674
3674
|
(function(e) {
|
|
3675
3675
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3676
|
-
})(
|
|
3677
|
-
function
|
|
3676
|
+
})(L || (L = {}));
|
|
3677
|
+
function Hi(e) {
|
|
3678
3678
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3679
3679
|
var n = t[t.length - 1];
|
|
3680
|
-
return !n || n.type !==
|
|
3680
|
+
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3681
3681
|
}, []);
|
|
3682
3682
|
}
|
|
3683
|
-
function
|
|
3683
|
+
function Ai(e) {
|
|
3684
3684
|
return typeof e == "function";
|
|
3685
3685
|
}
|
|
3686
|
-
function
|
|
3687
|
-
if (e.length === 1 &&
|
|
3686
|
+
function xe(e, t, r, n, i, o, s) {
|
|
3687
|
+
if (e.length === 1 && St(e[0]))
|
|
3688
3688
|
return [
|
|
3689
3689
|
{
|
|
3690
|
-
type:
|
|
3690
|
+
type: L.literal,
|
|
3691
3691
|
value: e[0].value
|
|
3692
3692
|
}
|
|
3693
3693
|
];
|
|
3694
3694
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3695
3695
|
var h = l[u];
|
|
3696
|
-
if (
|
|
3696
|
+
if (St(h)) {
|
|
3697
3697
|
a.push({
|
|
3698
|
-
type:
|
|
3698
|
+
type: L.literal,
|
|
3699
3699
|
value: h.value
|
|
3700
3700
|
});
|
|
3701
3701
|
continue;
|
|
3702
3702
|
}
|
|
3703
|
-
if (
|
|
3703
|
+
if (Yn(h)) {
|
|
3704
3704
|
typeof o == "number" && a.push({
|
|
3705
|
-
type:
|
|
3705
|
+
type: L.literal,
|
|
3706
3706
|
value: r.getNumberFormat(t).format(o)
|
|
3707
3707
|
});
|
|
3708
3708
|
continue;
|
|
3709
3709
|
}
|
|
3710
3710
|
var c = h.value;
|
|
3711
3711
|
if (!(i && c in i))
|
|
3712
|
-
throw new
|
|
3712
|
+
throw new Ti(c, s);
|
|
3713
3713
|
var f = i[c];
|
|
3714
|
-
if (
|
|
3714
|
+
if (Qn(h)) {
|
|
3715
3715
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3716
|
-
type: typeof f == "string" ?
|
|
3716
|
+
type: typeof f == "string" ? L.literal : L.object,
|
|
3717
3717
|
value: f
|
|
3718
3718
|
});
|
|
3719
3719
|
continue;
|
|
3720
3720
|
}
|
|
3721
|
-
if (
|
|
3722
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3721
|
+
if (ar(h)) {
|
|
3722
|
+
var m = typeof h.style == "string" ? n.date[h.style] : et(h.style) ? h.style.parsedOptions : void 0;
|
|
3723
3723
|
a.push({
|
|
3724
|
-
type:
|
|
3724
|
+
type: L.literal,
|
|
3725
3725
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3726
3726
|
});
|
|
3727
3727
|
continue;
|
|
3728
3728
|
}
|
|
3729
|
-
if (
|
|
3730
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3729
|
+
if (ur(h)) {
|
|
3730
|
+
var m = typeof h.style == "string" ? n.time[h.style] : et(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3731
3731
|
a.push({
|
|
3732
|
-
type:
|
|
3732
|
+
type: L.literal,
|
|
3733
3733
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3734
3734
|
});
|
|
3735
3735
|
continue;
|
|
3736
3736
|
}
|
|
3737
|
-
if (
|
|
3738
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3737
|
+
if (sr(h)) {
|
|
3738
|
+
var m = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
|
|
3739
3739
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3740
|
-
type:
|
|
3740
|
+
type: L.literal,
|
|
3741
3741
|
value: r.getNumberFormat(t, m).format(f)
|
|
3742
3742
|
});
|
|
3743
3743
|
continue;
|
|
3744
3744
|
}
|
|
3745
|
-
if (
|
|
3746
|
-
var d = h.children, b = h.value,
|
|
3747
|
-
if (!
|
|
3748
|
-
throw new
|
|
3749
|
-
var
|
|
3750
|
-
return
|
|
3745
|
+
if (cr(h)) {
|
|
3746
|
+
var d = h.children, b = h.value, H = i[b];
|
|
3747
|
+
if (!Ai(H))
|
|
3748
|
+
throw new Si(b, "function", s);
|
|
3749
|
+
var N = xe(d, t, r, n, i, o), O = H(N.map(function(C) {
|
|
3750
|
+
return C.value;
|
|
3751
3751
|
}));
|
|
3752
|
-
Array.isArray(
|
|
3752
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(C) {
|
|
3753
3753
|
return {
|
|
3754
|
-
type: typeof
|
|
3755
|
-
value:
|
|
3754
|
+
type: typeof C == "string" ? L.literal : L.object,
|
|
3755
|
+
value: C
|
|
3756
3756
|
};
|
|
3757
3757
|
}));
|
|
3758
3758
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
var
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3763
|
-
a.push.apply(a,
|
|
3759
|
+
if (lr(h)) {
|
|
3760
|
+
var I = h.options[f] || h.options.other;
|
|
3761
|
+
if (!I)
|
|
3762
|
+
throw new Ot(h.value, f, Object.keys(h.options), s);
|
|
3763
|
+
a.push.apply(a, xe(I.value, t, r, n, i));
|
|
3764
3764
|
continue;
|
|
3765
3765
|
}
|
|
3766
|
-
if (
|
|
3767
|
-
var
|
|
3768
|
-
if (!
|
|
3766
|
+
if (hr(h)) {
|
|
3767
|
+
var I = h.options["=".concat(f)];
|
|
3768
|
+
if (!I) {
|
|
3769
3769
|
if (!Intl.PluralRules)
|
|
3770
|
-
throw new
|
|
3770
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3771
3771
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3772
|
-
`,
|
|
3773
|
-
var
|
|
3774
|
-
|
|
3772
|
+
`, ie.MISSING_INTL_API, s);
|
|
3773
|
+
var M = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3774
|
+
I = h.options[M] || h.options.other;
|
|
3775
3775
|
}
|
|
3776
|
-
if (!
|
|
3777
|
-
throw new
|
|
3778
|
-
a.push.apply(a,
|
|
3776
|
+
if (!I)
|
|
3777
|
+
throw new Ot(h.value, f, Object.keys(h.options), s);
|
|
3778
|
+
a.push.apply(a, xe(I.value, t, r, n, i, f - (h.offset || 0)));
|
|
3779
3779
|
continue;
|
|
3780
3780
|
}
|
|
3781
3781
|
}
|
|
3782
|
-
return
|
|
3782
|
+
return Hi(a);
|
|
3783
3783
|
}
|
|
3784
|
-
function
|
|
3785
|
-
return t ?
|
|
3786
|
-
return r[n] =
|
|
3784
|
+
function Ii(e, t) {
|
|
3785
|
+
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3786
|
+
return r[n] = k(k({}, e[n]), t[n] || {}), r;
|
|
3787
3787
|
}, {})) : e;
|
|
3788
3788
|
}
|
|
3789
|
-
function
|
|
3789
|
+
function Bi(e, t) {
|
|
3790
3790
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3791
|
-
return r[n] =
|
|
3792
|
-
},
|
|
3791
|
+
return r[n] = Ii(e[n], t[n]), r;
|
|
3792
|
+
}, k({}, e)) : e;
|
|
3793
3793
|
}
|
|
3794
|
-
function
|
|
3794
|
+
function je(e) {
|
|
3795
3795
|
return {
|
|
3796
3796
|
create: function() {
|
|
3797
3797
|
return {
|
|
@@ -3805,39 +3805,39 @@ function Fe(e) {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
};
|
|
3807
3807
|
}
|
|
3808
|
-
function
|
|
3808
|
+
function Pi(e) {
|
|
3809
3809
|
return e === void 0 && (e = {
|
|
3810
3810
|
number: {},
|
|
3811
3811
|
dateTime: {},
|
|
3812
3812
|
pluralRules: {}
|
|
3813
3813
|
}), {
|
|
3814
|
-
getNumberFormat:
|
|
3814
|
+
getNumberFormat: Ge(function() {
|
|
3815
3815
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3816
3816
|
r[n] = arguments[n];
|
|
3817
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3817
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
3818
3818
|
}, {
|
|
3819
|
-
cache:
|
|
3819
|
+
cache: je(e.number),
|
|
3820
3820
|
strategy: ke.variadic
|
|
3821
3821
|
}),
|
|
3822
|
-
getDateTimeFormat:
|
|
3822
|
+
getDateTimeFormat: Ge(function() {
|
|
3823
3823
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3824
3824
|
r[n] = arguments[n];
|
|
3825
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3825
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
3826
3826
|
}, {
|
|
3827
|
-
cache:
|
|
3827
|
+
cache: je(e.dateTime),
|
|
3828
3828
|
strategy: ke.variadic
|
|
3829
3829
|
}),
|
|
3830
|
-
getPluralRules:
|
|
3830
|
+
getPluralRules: Ge(function() {
|
|
3831
3831
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3832
3832
|
r[n] = arguments[n];
|
|
3833
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3833
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
3834
3834
|
}, {
|
|
3835
|
-
cache:
|
|
3835
|
+
cache: je(e.pluralRules),
|
|
3836
3836
|
strategy: ke.variadic
|
|
3837
3837
|
})
|
|
3838
3838
|
};
|
|
3839
3839
|
}
|
|
3840
|
-
var
|
|
3840
|
+
var Oi = (
|
|
3841
3841
|
/** @class */
|
|
3842
3842
|
function() {
|
|
3843
3843
|
function e(t, r, n, i) {
|
|
@@ -3852,11 +3852,11 @@ var Bi = (
|
|
|
3852
3852
|
if (l.length === 1)
|
|
3853
3853
|
return l[0].value;
|
|
3854
3854
|
var h = l.reduce(function(c, f) {
|
|
3855
|
-
return !c.length || f.type !==
|
|
3855
|
+
return !c.length || f.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3856
3856
|
}, []);
|
|
3857
3857
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3858
3858
|
}, this.formatToParts = function(u) {
|
|
3859
|
-
return
|
|
3859
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3860
3860
|
}, this.resolvedOptions = function() {
|
|
3861
3861
|
var u;
|
|
3862
3862
|
return {
|
|
@@ -3869,13 +3869,13 @@ var Bi = (
|
|
|
3869
3869
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3870
3870
|
var s = i || {};
|
|
3871
3871
|
s.formatters;
|
|
3872
|
-
var a =
|
|
3873
|
-
this.ast = e.__parse(t,
|
|
3872
|
+
var a = kn(s, ["formatters"]);
|
|
3873
|
+
this.ast = e.__parse(t, k(k({}, a), { locale: this.resolvedLocale }));
|
|
3874
3874
|
} else
|
|
3875
3875
|
this.ast = t;
|
|
3876
3876
|
if (!Array.isArray(this.ast))
|
|
3877
3877
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3878
|
-
this.formats =
|
|
3878
|
+
this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
|
|
3879
3879
|
}
|
|
3880
3880
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3881
3881
|
get: function() {
|
|
@@ -3888,7 +3888,7 @@ var Bi = (
|
|
|
3888
3888
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3889
3889
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3890
3890
|
}
|
|
3891
|
-
}, e.__parse =
|
|
3891
|
+
}, e.__parse = Ci, e.formats = {
|
|
3892
3892
|
number: {
|
|
3893
3893
|
integer: {
|
|
3894
3894
|
maximumFractionDigits: 0
|
|
@@ -3949,7 +3949,7 @@ var Bi = (
|
|
|
3949
3949
|
}, e;
|
|
3950
3950
|
}()
|
|
3951
3951
|
);
|
|
3952
|
-
function
|
|
3952
|
+
function Mi(e, t) {
|
|
3953
3953
|
if (t == null)
|
|
3954
3954
|
return;
|
|
3955
3955
|
if (t in e)
|
|
@@ -3970,92 +3970,92 @@ function Pi(e, t) {
|
|
|
3970
3970
|
n = void 0;
|
|
3971
3971
|
return n;
|
|
3972
3972
|
}
|
|
3973
|
-
const V = {},
|
|
3973
|
+
const V = {}, Li = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), _r = (e, t) => {
|
|
3974
3974
|
if (t == null)
|
|
3975
3975
|
return;
|
|
3976
3976
|
if (t in V && e in V[t])
|
|
3977
3977
|
return V[t][e];
|
|
3978
|
-
const r =
|
|
3978
|
+
const r = Oe(t);
|
|
3979
3979
|
for (let n = 0; n < r.length; n++) {
|
|
3980
|
-
const i = r[n], o =
|
|
3980
|
+
const i = r[n], o = Ri(i, e);
|
|
3981
3981
|
if (o)
|
|
3982
|
-
return
|
|
3982
|
+
return Li(e, t, o);
|
|
3983
3983
|
}
|
|
3984
3984
|
};
|
|
3985
|
-
let
|
|
3986
|
-
const
|
|
3987
|
-
function
|
|
3988
|
-
return
|
|
3985
|
+
let ht;
|
|
3986
|
+
const ae = Ie({});
|
|
3987
|
+
function Ni(e) {
|
|
3988
|
+
return ht[e] || null;
|
|
3989
3989
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return e in
|
|
3990
|
+
function xr(e) {
|
|
3991
|
+
return e in ht;
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3994
|
-
if (!
|
|
3993
|
+
function Ri(e, t) {
|
|
3994
|
+
if (!xr(e))
|
|
3995
3995
|
return null;
|
|
3996
|
-
const r =
|
|
3997
|
-
return
|
|
3996
|
+
const r = Ni(e);
|
|
3997
|
+
return Mi(r, t);
|
|
3998
3998
|
}
|
|
3999
|
-
function
|
|
3999
|
+
function Ui(e) {
|
|
4000
4000
|
if (e == null)
|
|
4001
4001
|
return;
|
|
4002
|
-
const t =
|
|
4002
|
+
const t = Oe(e);
|
|
4003
4003
|
for (let r = 0; r < t.length; r++) {
|
|
4004
4004
|
const n = t[r];
|
|
4005
|
-
if (
|
|
4005
|
+
if (xr(n))
|
|
4006
4006
|
return n;
|
|
4007
4007
|
}
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4010
|
-
delete V[e],
|
|
4009
|
+
function Er(e, ...t) {
|
|
4010
|
+
delete V[e], ae.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
|
|
4011
4011
|
}
|
|
4012
|
-
|
|
4013
|
-
[
|
|
4012
|
+
se(
|
|
4013
|
+
[ae],
|
|
4014
4014
|
([e]) => Object.keys(e)
|
|
4015
4015
|
);
|
|
4016
|
-
|
|
4017
|
-
const
|
|
4018
|
-
function
|
|
4019
|
-
|
|
4016
|
+
ae.subscribe((e) => ht = e);
|
|
4017
|
+
const Ee = {};
|
|
4018
|
+
function Di(e, t) {
|
|
4019
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return
|
|
4021
|
+
function wr(e) {
|
|
4022
|
+
return Ee[e];
|
|
4023
4023
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
4026
|
-
const r =
|
|
4024
|
+
function $i(e) {
|
|
4025
|
+
return Oe(e).map((t) => {
|
|
4026
|
+
const r = wr(t);
|
|
4027
4027
|
return [t, r ? [...r] : []];
|
|
4028
4028
|
}).filter(([, t]) => t.length > 0);
|
|
4029
4029
|
}
|
|
4030
|
-
function
|
|
4031
|
-
return e == null ? !1 :
|
|
4030
|
+
function st(e) {
|
|
4031
|
+
return e == null ? !1 : Oe(e).some(
|
|
4032
4032
|
(t) => {
|
|
4033
4033
|
var r;
|
|
4034
|
-
return (r =
|
|
4034
|
+
return (r = wr(t)) == null ? void 0 : r.size;
|
|
4035
4035
|
}
|
|
4036
4036
|
);
|
|
4037
4037
|
}
|
|
4038
|
-
function
|
|
4038
|
+
function Gi(e, t) {
|
|
4039
4039
|
return Promise.all(
|
|
4040
|
-
t.map((n) => (
|
|
4041
|
-
).then((n) =>
|
|
4042
|
-
}
|
|
4043
|
-
const
|
|
4044
|
-
function
|
|
4045
|
-
if (!
|
|
4046
|
-
return e in
|
|
4047
|
-
const t =
|
|
4048
|
-
return
|
|
4040
|
+
t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
|
|
4041
|
+
).then((n) => Er(e, ...n));
|
|
4042
|
+
}
|
|
4043
|
+
const le = {};
|
|
4044
|
+
function Cr(e) {
|
|
4045
|
+
if (!st(e))
|
|
4046
|
+
return e in le ? le[e] : Promise.resolve();
|
|
4047
|
+
const t = $i(e);
|
|
4048
|
+
return le[e] = Promise.all(
|
|
4049
4049
|
t.map(
|
|
4050
|
-
([r, n]) =>
|
|
4050
|
+
([r, n]) => Gi(r, n)
|
|
4051
4051
|
)
|
|
4052
4052
|
).then(() => {
|
|
4053
|
-
if (
|
|
4054
|
-
return
|
|
4055
|
-
delete
|
|
4056
|
-
}),
|
|
4053
|
+
if (st(e))
|
|
4054
|
+
return Cr(e);
|
|
4055
|
+
delete le[e];
|
|
4056
|
+
}), le[e];
|
|
4057
4057
|
}
|
|
4058
|
-
const
|
|
4058
|
+
const ki = {
|
|
4059
4059
|
number: {
|
|
4060
4060
|
scientific: { notation: "scientific" },
|
|
4061
4061
|
engineering: { notation: "engineering" },
|
|
@@ -4084,135 +4084,135 @@ const $i = {
|
|
|
4084
4084
|
timeZoneName: "short"
|
|
4085
4085
|
}
|
|
4086
4086
|
}
|
|
4087
|
-
},
|
|
4087
|
+
}, Fi = {
|
|
4088
4088
|
fallbackLocale: null,
|
|
4089
4089
|
loadingDelay: 200,
|
|
4090
|
-
formats:
|
|
4090
|
+
formats: ki,
|
|
4091
4091
|
warnOnMissingMessages: !0,
|
|
4092
4092
|
handleMissingMessage: void 0,
|
|
4093
4093
|
ignoreTag: !0
|
|
4094
|
-
},
|
|
4095
|
-
function
|
|
4096
|
-
return
|
|
4094
|
+
}, ji = Fi;
|
|
4095
|
+
function oe() {
|
|
4096
|
+
return ji;
|
|
4097
4097
|
}
|
|
4098
|
-
const
|
|
4099
|
-
var
|
|
4098
|
+
const Ve = Ie(!1);
|
|
4099
|
+
var Vi = Object.defineProperty, Wi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
|
|
4100
4100
|
for (var r in t || (t = {}))
|
|
4101
|
-
|
|
4102
|
-
if (
|
|
4103
|
-
for (var r of
|
|
4104
|
-
|
|
4101
|
+
zi.call(t, r) && Lt(e, r, t[r]);
|
|
4102
|
+
if (Mt)
|
|
4103
|
+
for (var r of Mt(t))
|
|
4104
|
+
Zi.call(t, r) && Lt(e, r, t[r]);
|
|
4105
4105
|
return e;
|
|
4106
|
-
},
|
|
4107
|
-
let
|
|
4108
|
-
const
|
|
4109
|
-
function
|
|
4106
|
+
}, Yi = (e, t) => Wi(e, Xi(t));
|
|
4107
|
+
let at;
|
|
4108
|
+
const Se = Ie(null);
|
|
4109
|
+
function Nt(e) {
|
|
4110
4110
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4111
4111
|
}
|
|
4112
|
-
function
|
|
4113
|
-
const r =
|
|
4114
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4112
|
+
function Oe(e, t = oe().fallbackLocale) {
|
|
4113
|
+
const r = Nt(e);
|
|
4114
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
|
4115
4115
|
}
|
|
4116
4116
|
function z() {
|
|
4117
|
-
return
|
|
4117
|
+
return at ?? void 0;
|
|
4118
4118
|
}
|
|
4119
|
-
|
|
4120
|
-
|
|
4119
|
+
Se.subscribe((e) => {
|
|
4120
|
+
at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4121
4121
|
});
|
|
4122
|
-
const
|
|
4123
|
-
if (e &&
|
|
4124
|
-
const { loadingDelay: t } =
|
|
4122
|
+
const qi = (e) => {
|
|
4123
|
+
if (e && Ui(e) && st(e)) {
|
|
4124
|
+
const { loadingDelay: t } = oe();
|
|
4125
4125
|
let r;
|
|
4126
4126
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4127
|
-
() =>
|
|
4127
|
+
() => Ve.set(!0),
|
|
4128
4128
|
t
|
|
4129
|
-
) :
|
|
4130
|
-
|
|
4129
|
+
) : Ve.set(!0), Cr(e).then(() => {
|
|
4130
|
+
Se.set(e);
|
|
4131
4131
|
}).finally(() => {
|
|
4132
|
-
clearTimeout(r),
|
|
4132
|
+
clearTimeout(r), Ve.set(!1);
|
|
4133
4133
|
});
|
|
4134
4134
|
}
|
|
4135
|
-
return
|
|
4136
|
-
}, W =
|
|
4137
|
-
set:
|
|
4138
|
-
}),
|
|
4135
|
+
return Se.set(e);
|
|
4136
|
+
}, W = Yi(Qi({}, Se), {
|
|
4137
|
+
set: qi
|
|
4138
|
+
}), Me = (e) => {
|
|
4139
4139
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4140
4140
|
return (n) => {
|
|
4141
4141
|
const i = JSON.stringify(n);
|
|
4142
4142
|
return i in t ? t[i] : t[i] = e(n);
|
|
4143
4143
|
};
|
|
4144
4144
|
};
|
|
4145
|
-
var
|
|
4145
|
+
var Ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4146
4146
|
for (var r in t || (t = {}))
|
|
4147
|
-
|
|
4148
|
-
if (
|
|
4149
|
-
for (var r of
|
|
4150
|
-
|
|
4147
|
+
Sr.call(t, r) && Rt(e, r, t[r]);
|
|
4148
|
+
if (Te)
|
|
4149
|
+
for (var r of Te(t))
|
|
4150
|
+
Tr.call(t, r) && Rt(e, r, t[r]);
|
|
4151
4151
|
return e;
|
|
4152
|
-
},
|
|
4152
|
+
}, ue = (e, t) => {
|
|
4153
4153
|
var r = {};
|
|
4154
4154
|
for (var n in e)
|
|
4155
|
-
|
|
4156
|
-
if (e != null &&
|
|
4157
|
-
for (var n of
|
|
4158
|
-
t.indexOf(n) < 0 &&
|
|
4155
|
+
Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4156
|
+
if (e != null && Te)
|
|
4157
|
+
for (var n of Te(e))
|
|
4158
|
+
t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
|
|
4159
4159
|
return r;
|
|
4160
4160
|
};
|
|
4161
|
-
const
|
|
4162
|
-
const { formats: r } =
|
|
4161
|
+
const pe = (e, t) => {
|
|
4162
|
+
const { formats: r } = oe();
|
|
4163
4163
|
if (e in r && t in r[e])
|
|
4164
4164
|
return r[e][t];
|
|
4165
4165
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4166
|
-
},
|
|
4166
|
+
}, Ki = Me(
|
|
4167
4167
|
(e) => {
|
|
4168
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4168
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4169
4169
|
if (r == null)
|
|
4170
4170
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4171
|
-
return n && (i =
|
|
4171
|
+
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4172
4172
|
}
|
|
4173
|
-
),
|
|
4173
|
+
), eo = Me(
|
|
4174
4174
|
(e) => {
|
|
4175
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4175
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4176
4176
|
if (r == null)
|
|
4177
4177
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4178
|
-
return n ? i =
|
|
4178
|
+
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4179
4179
|
}
|
|
4180
|
-
),
|
|
4180
|
+
), to = Me(
|
|
4181
4181
|
(e) => {
|
|
4182
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4182
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4183
4183
|
if (r == null)
|
|
4184
4184
|
throw new Error(
|
|
4185
4185
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4186
4186
|
);
|
|
4187
|
-
return n ? i =
|
|
4187
|
+
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4188
4188
|
}
|
|
4189
|
-
),
|
|
4189
|
+
), ro = (e = {}) => {
|
|
4190
4190
|
var t = e, {
|
|
4191
4191
|
locale: r = z()
|
|
4192
|
-
} = t, n =
|
|
4192
|
+
} = t, n = ue(t, [
|
|
4193
4193
|
"locale"
|
|
4194
4194
|
]);
|
|
4195
|
-
return
|
|
4196
|
-
},
|
|
4195
|
+
return Ki(ct({ locale: r }, n));
|
|
4196
|
+
}, no = (e = {}) => {
|
|
4197
4197
|
var t = e, {
|
|
4198
4198
|
locale: r = z()
|
|
4199
|
-
} = t, n =
|
|
4199
|
+
} = t, n = ue(t, [
|
|
4200
4200
|
"locale"
|
|
4201
4201
|
]);
|
|
4202
|
-
return
|
|
4203
|
-
},
|
|
4202
|
+
return eo(ct({ locale: r }, n));
|
|
4203
|
+
}, io = (e = {}) => {
|
|
4204
4204
|
var t = e, {
|
|
4205
4205
|
locale: r = z()
|
|
4206
|
-
} = t, n =
|
|
4206
|
+
} = t, n = ue(t, [
|
|
4207
4207
|
"locale"
|
|
4208
4208
|
]);
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4209
|
+
return to(ct({ locale: r }, n));
|
|
4210
|
+
}, oo = Me(
|
|
4211
4211
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4212
|
-
(e, t = z()) => new
|
|
4213
|
-
ignoreTag:
|
|
4212
|
+
(e, t = z()) => new Oi(e, t, oe().formats, {
|
|
4213
|
+
ignoreTag: oe().ignoreTag
|
|
4214
4214
|
})
|
|
4215
|
-
),
|
|
4215
|
+
), so = (e, t = {}) => {
|
|
4216
4216
|
var r, n, i, o;
|
|
4217
4217
|
let s = t;
|
|
4218
4218
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4225,9 +4225,9 @@ const fe = (e, t) => {
|
|
|
4225
4225
|
throw new Error(
|
|
4226
4226
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4227
4227
|
);
|
|
4228
|
-
let h =
|
|
4228
|
+
let h = _r(e, u);
|
|
4229
4229
|
if (!h)
|
|
4230
|
-
h = (o = (i = (n = (r =
|
|
4230
|
+
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;
|
|
4231
4231
|
else if (typeof h != "string")
|
|
4232
4232
|
return console.warn(
|
|
4233
4233
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4236,7 +4236,7 @@ const fe = (e, t) => {
|
|
|
4236
4236
|
return h;
|
|
4237
4237
|
let c = h;
|
|
4238
4238
|
try {
|
|
4239
|
-
c =
|
|
4239
|
+
c = oo(h, u).format(a);
|
|
4240
4240
|
} catch (f) {
|
|
4241
4241
|
f instanceof Error && console.warn(
|
|
4242
4242
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4244,33 +4244,34 @@ const fe = (e, t) => {
|
|
|
4244
4244
|
);
|
|
4245
4245
|
}
|
|
4246
4246
|
return c;
|
|
4247
|
-
},
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
window.emWidgets = { topic:
|
|
4254
|
-
const
|
|
4247
|
+
}, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = z()) => _r(e, t);
|
|
4248
|
+
se([W, ae], () => so);
|
|
4249
|
+
se([W], () => ao);
|
|
4250
|
+
se([W], () => uo);
|
|
4251
|
+
se([W], () => lo);
|
|
4252
|
+
se([W, ae], () => ho);
|
|
4253
|
+
window.emWidgets = { topic: wn };
|
|
4254
|
+
const Ut = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4255
4255
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4256
|
-
function
|
|
4256
|
+
function co({ withLocale: e, translations: t }) {
|
|
4257
4257
|
W.subscribe((r) => {
|
|
4258
|
-
r == null && (
|
|
4258
|
+
r == null && (ae.set(t), W.set(e));
|
|
4259
4259
|
});
|
|
4260
4260
|
}
|
|
4261
|
-
function
|
|
4262
|
-
|
|
4261
|
+
function fo(e, t) {
|
|
4262
|
+
Er(e, t);
|
|
4263
4263
|
}
|
|
4264
|
-
function
|
|
4264
|
+
function po(e) {
|
|
4265
4265
|
W.set(e);
|
|
4266
4266
|
}
|
|
4267
|
-
|
|
4267
|
+
const J = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4268
|
+
function mo(e, t) {
|
|
4268
4269
|
if (e) {
|
|
4269
4270
|
const r = document.createElement("style");
|
|
4270
4271
|
r.innerHTML = t, e.appendChild(r);
|
|
4271
4272
|
}
|
|
4272
4273
|
}
|
|
4273
|
-
function
|
|
4274
|
+
function bo(e, t) {
|
|
4274
4275
|
if (!e || !t)
|
|
4275
4276
|
return;
|
|
4276
4277
|
const r = new URL(t);
|
|
@@ -4281,52 +4282,79 @@ function po(e, t) {
|
|
|
4281
4282
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4282
4283
|
});
|
|
4283
4284
|
}
|
|
4284
|
-
function
|
|
4285
|
-
if (window.emMessageBus)
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4285
|
+
function go(e, t, r, n = !1) {
|
|
4286
|
+
if (!window.emMessageBus)
|
|
4287
|
+
return;
|
|
4288
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4289
|
+
return r = vo(e, t), r;
|
|
4290
|
+
window[J] || (window[J] = {}), r = yo(e, t);
|
|
4291
|
+
const o = r.unsubscribe.bind(r), s = () => {
|
|
4292
|
+
if (window[J][t]) {
|
|
4293
|
+
const a = window[J][t];
|
|
4294
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[J][t];
|
|
4295
|
+
}
|
|
4296
|
+
o();
|
|
4297
|
+
};
|
|
4298
|
+
return r.unsubscribe = s, r;
|
|
4299
|
+
}
|
|
4300
|
+
function vo(e, t) {
|
|
4301
|
+
const r = document.createElement("style");
|
|
4302
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4303
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4304
|
+
});
|
|
4305
|
+
}
|
|
4306
|
+
function yo(e, t) {
|
|
4307
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4308
|
+
if (!e)
|
|
4309
|
+
return;
|
|
4310
|
+
const n = e.getRootNode(), i = window[J];
|
|
4311
|
+
let o = i[t]?.sheet;
|
|
4312
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4313
|
+
sheet: o,
|
|
4314
|
+
refCount: 1
|
|
4289
4315
|
});
|
|
4290
|
-
|
|
4316
|
+
const s = n.adoptedStyleSheets || [];
|
|
4317
|
+
s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
|
|
4318
|
+
});
|
|
4291
4319
|
}
|
|
4292
|
-
function
|
|
4293
|
-
|
|
4320
|
+
function _o(e) {
|
|
4321
|
+
Fr(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}');
|
|
4294
4322
|
}
|
|
4295
|
-
function
|
|
4323
|
+
function Dt(e, t, r) {
|
|
4296
4324
|
const n = e.slice();
|
|
4297
4325
|
return n[43] = t[r], n[45] = r, n;
|
|
4298
4326
|
}
|
|
4299
|
-
function
|
|
4327
|
+
function xo(e) {
|
|
4300
4328
|
let t, r, n, i, o, s, a, u, l, h, c, f, m, d = (
|
|
4301
4329
|
/*vendors*/
|
|
4302
|
-
e[6].length > 0 &&
|
|
4330
|
+
e[6].length > 0 && $t(e)
|
|
4303
4331
|
);
|
|
4304
4332
|
return {
|
|
4305
4333
|
c() {
|
|
4306
|
-
t =
|
|
4307
|
-
(e[10] ? "CarouselWrapperMobile" : "")),
|
|
4334
|
+
t = T("div"), r = T("div"), n = T("div"), i = T("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', o = F(), s = T("div"), a = T("ul"), u = T("li"), u.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = F(), d && d.c(), h = F(), c = T("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', _(i, "class", "CarouselLeftArrow"), _(u, "class", "TouchOnly"), _(a, "id", "CarouselNav"), _(a, "class", "CarouselItems"), _(s, "class", "CarouselNavWrap"), _(c, "class", "CarouselRightArrow"), _(n, "class", "CarouselContainer CarouselContainerMobile"), _(r, "class", "CarouselWrapper " + /*isMobile*/
|
|
4335
|
+
(e[10] ? "CarouselWrapperMobile" : "")), _(t, "class", "CasinoVendorsContainer"), _(t, "part", "CasinoVendorsContainer");
|
|
4308
4336
|
},
|
|
4309
|
-
m(b,
|
|
4310
|
-
|
|
4311
|
-
|
|
4337
|
+
m(b, H) {
|
|
4338
|
+
P(b, t, H), A(t, r), A(r, n), A(n, i), A(n, o), A(n, s), A(s, a), A(a, u), A(a, l), d && d.m(a, null), e[28](a), e[29](s), A(n, h), A(n, c), e[30](r), f || (m = [
|
|
4339
|
+
K(
|
|
4312
4340
|
i,
|
|
4313
4341
|
"click",
|
|
4314
4342
|
/*scrollLeft*/
|
|
4315
4343
|
e[12]
|
|
4316
4344
|
),
|
|
4317
|
-
|
|
4345
|
+
K(
|
|
4318
4346
|
i,
|
|
4319
4347
|
"keydown",
|
|
4320
4348
|
/*onScrollLeftKeydown*/
|
|
4321
4349
|
e[15]
|
|
4322
4350
|
),
|
|
4323
|
-
|
|
4351
|
+
K(
|
|
4324
4352
|
c,
|
|
4325
4353
|
"click",
|
|
4326
4354
|
/*scrollRight*/
|
|
4327
4355
|
e[13]
|
|
4328
4356
|
),
|
|
4329
|
-
|
|
4357
|
+
K(
|
|
4330
4358
|
c,
|
|
4331
4359
|
"keydown",
|
|
4332
4360
|
/*onScrollRightKeydown*/
|
|
@@ -4334,47 +4362,47 @@ function go(e) {
|
|
|
4334
4362
|
)
|
|
4335
4363
|
], f = !0);
|
|
4336
4364
|
},
|
|
4337
|
-
p(b,
|
|
4365
|
+
p(b, H) {
|
|
4338
4366
|
/*vendors*/
|
|
4339
|
-
b[6].length > 0 ? d ? d.p(b,
|
|
4367
|
+
b[6].length > 0 ? d ? d.p(b, H) : (d = $t(b), d.c(), d.m(a, null)) : d && (d.d(1), d = null);
|
|
4340
4368
|
},
|
|
4341
4369
|
d(b) {
|
|
4342
|
-
b &&
|
|
4370
|
+
b && B(t), d && d.d(), e[28](null), e[29](null), e[30](null), f = !1, X(m);
|
|
4343
4371
|
}
|
|
4344
4372
|
};
|
|
4345
4373
|
}
|
|
4346
|
-
function
|
|
4374
|
+
function Eo(e) {
|
|
4347
4375
|
let t;
|
|
4348
4376
|
return {
|
|
4349
4377
|
c() {
|
|
4350
|
-
t =
|
|
4378
|
+
t = T("p"), t.textContent = "500 Error - Internal Server Error.", _(t, "class", "SearchLoading");
|
|
4351
4379
|
},
|
|
4352
4380
|
m(r, n) {
|
|
4353
|
-
|
|
4381
|
+
P(r, t, n);
|
|
4354
4382
|
},
|
|
4355
4383
|
p: D,
|
|
4356
4384
|
d(r) {
|
|
4357
|
-
r &&
|
|
4385
|
+
r && B(t);
|
|
4358
4386
|
}
|
|
4359
4387
|
};
|
|
4360
4388
|
}
|
|
4361
|
-
function
|
|
4389
|
+
function wo(e) {
|
|
4362
4390
|
let t;
|
|
4363
4391
|
return {
|
|
4364
4392
|
c() {
|
|
4365
|
-
t =
|
|
4393
|
+
t = T("div"), _(t, "class", "CasinoVendorsLoading");
|
|
4366
4394
|
},
|
|
4367
4395
|
m(r, n) {
|
|
4368
|
-
|
|
4396
|
+
P(r, t, n);
|
|
4369
4397
|
},
|
|
4370
4398
|
p: D,
|
|
4371
4399
|
d(r) {
|
|
4372
|
-
r &&
|
|
4400
|
+
r && B(t);
|
|
4373
4401
|
}
|
|
4374
4402
|
};
|
|
4375
4403
|
}
|
|
4376
|
-
function
|
|
4377
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4404
|
+
function $t(e) {
|
|
4405
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = bt(
|
|
4378
4406
|
/*vendors*/
|
|
4379
4407
|
e[6]
|
|
4380
4408
|
);
|
|
@@ -4383,109 +4411,109 @@ function Dt(e) {
|
|
|
4383
4411
|
s[43].id
|
|
4384
4412
|
);
|
|
4385
4413
|
for (let s = 0; s < i.length; s += 1) {
|
|
4386
|
-
let a =
|
|
4387
|
-
r.set(u, t[s] =
|
|
4414
|
+
let a = Dt(e, i, s), u = o(a);
|
|
4415
|
+
r.set(u, t[s] = Xt(u, a));
|
|
4388
4416
|
}
|
|
4389
4417
|
return {
|
|
4390
4418
|
c() {
|
|
4391
4419
|
for (let s = 0; s < t.length; s += 1)
|
|
4392
4420
|
t[s].c();
|
|
4393
|
-
n =
|
|
4421
|
+
n = ut();
|
|
4394
4422
|
},
|
|
4395
4423
|
m(s, a) {
|
|
4396
4424
|
for (let u = 0; u < t.length; u += 1)
|
|
4397
4425
|
t[u] && t[u].m(s, a);
|
|
4398
|
-
|
|
4426
|
+
P(s, n, a);
|
|
4399
4427
|
},
|
|
4400
4428
|
p(s, a) {
|
|
4401
4429
|
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
|
|
4402
|
-
461903 && (i =
|
|
4430
|
+
461903 && (i = bt(
|
|
4403
4431
|
/*vendors*/
|
|
4404
4432
|
s[6]
|
|
4405
|
-
), t =
|
|
4433
|
+
), t = tn(t, a, o, 1, s, i, r, n.parentNode, en, Xt, n, Dt));
|
|
4406
4434
|
},
|
|
4407
4435
|
d(s) {
|
|
4408
|
-
s &&
|
|
4436
|
+
s && B(n);
|
|
4409
4437
|
for (let a = 0; a < t.length; a += 1)
|
|
4410
4438
|
t[a].d(s);
|
|
4411
4439
|
}
|
|
4412
4440
|
};
|
|
4413
4441
|
}
|
|
4414
|
-
function
|
|
4442
|
+
function Gt(e) {
|
|
4415
4443
|
let t;
|
|
4416
4444
|
function r(o, s) {
|
|
4417
4445
|
return (
|
|
4418
4446
|
/*isMobile*/
|
|
4419
|
-
o[10] ?
|
|
4447
|
+
o[10] ? So : Co
|
|
4420
4448
|
);
|
|
4421
4449
|
}
|
|
4422
4450
|
let i = r(e)(e);
|
|
4423
4451
|
return {
|
|
4424
4452
|
c() {
|
|
4425
|
-
i.c(), t =
|
|
4453
|
+
i.c(), t = ut();
|
|
4426
4454
|
},
|
|
4427
4455
|
m(o, s) {
|
|
4428
|
-
i.m(o, s),
|
|
4456
|
+
i.m(o, s), P(o, t, s);
|
|
4429
4457
|
},
|
|
4430
4458
|
p(o, s) {
|
|
4431
4459
|
i.p(o, s);
|
|
4432
4460
|
},
|
|
4433
4461
|
d(o) {
|
|
4434
|
-
o &&
|
|
4462
|
+
o && B(t), i.d(o);
|
|
4435
4463
|
}
|
|
4436
4464
|
};
|
|
4437
4465
|
}
|
|
4438
|
-
function
|
|
4466
|
+
function Co(e) {
|
|
4439
4467
|
let t, r, n, i, o, s = (
|
|
4440
4468
|
/*showvendorname*/
|
|
4441
4469
|
e[2] === "false" && kt()
|
|
4442
4470
|
);
|
|
4443
4471
|
return {
|
|
4444
4472
|
c() {
|
|
4445
|
-
t =
|
|
4446
|
-
e[43].logo) ||
|
|
4473
|
+
t = T("img"), i = F(), s && s.c(), o = ut(), we(t.src, r = /*vendor*/
|
|
4474
|
+
e[43].logo) || _(t, "src", r), _(t, "alt", n = /*vendor*/
|
|
4447
4475
|
e[43].displayName);
|
|
4448
4476
|
},
|
|
4449
4477
|
m(a, u) {
|
|
4450
|
-
|
|
4478
|
+
P(a, t, u), P(a, i, u), s && s.m(a, u), P(a, o, u);
|
|
4451
4479
|
},
|
|
4452
4480
|
p(a, u) {
|
|
4453
4481
|
u[0] & /*vendors*/
|
|
4454
|
-
64 && !
|
|
4455
|
-
a[43].logo) &&
|
|
4482
|
+
64 && !we(t.src, r = /*vendor*/
|
|
4483
|
+
a[43].logo) && _(t, "src", r), u[0] & /*vendors*/
|
|
4456
4484
|
64 && n !== (n = /*vendor*/
|
|
4457
|
-
a[43].displayName) &&
|
|
4485
|
+
a[43].displayName) && _(t, "alt", n), /*showvendorname*/
|
|
4458
4486
|
a[2] === "false" ? s || (s = kt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
4459
4487
|
},
|
|
4460
4488
|
d(a) {
|
|
4461
|
-
a && (
|
|
4489
|
+
a && (B(t), B(i), B(o)), s && s.d(a);
|
|
4462
4490
|
}
|
|
4463
4491
|
};
|
|
4464
4492
|
}
|
|
4465
|
-
function
|
|
4493
|
+
function So(e) {
|
|
4466
4494
|
let t, r, n, i, o, s = (
|
|
4467
4495
|
/*showvendorname*/
|
|
4468
|
-
e[2] === "false" &&
|
|
4496
|
+
e[2] === "false" && Ft()
|
|
4469
4497
|
);
|
|
4470
4498
|
return {
|
|
4471
4499
|
c() {
|
|
4472
|
-
t =
|
|
4473
|
-
e[43].logo) ||
|
|
4474
|
-
e[43].displayName),
|
|
4500
|
+
t = T("div"), r = T("img"), o = F(), s && s.c(), we(r.src, n = /*vendor*/
|
|
4501
|
+
e[43].logo) || _(r, "src", n), _(r, "alt", i = /*vendor*/
|
|
4502
|
+
e[43].displayName), _(t, "class", "ImageContainer");
|
|
4475
4503
|
},
|
|
4476
4504
|
m(a, u) {
|
|
4477
|
-
|
|
4505
|
+
P(a, t, u), A(t, r), A(t, o), s && s.m(t, null);
|
|
4478
4506
|
},
|
|
4479
4507
|
p(a, u) {
|
|
4480
4508
|
u[0] & /*vendors*/
|
|
4481
|
-
64 && !
|
|
4482
|
-
a[43].logo) &&
|
|
4509
|
+
64 && !we(r.src, n = /*vendor*/
|
|
4510
|
+
a[43].logo) && _(r, "src", n), u[0] & /*vendors*/
|
|
4483
4511
|
64 && i !== (i = /*vendor*/
|
|
4484
|
-
a[43].displayName) &&
|
|
4485
|
-
a[2] === "false" ? s || (s =
|
|
4512
|
+
a[43].displayName) && _(r, "alt", i), /*showvendorname*/
|
|
4513
|
+
a[2] === "false" ? s || (s = Ft(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4486
4514
|
},
|
|
4487
4515
|
d(a) {
|
|
4488
|
-
a &&
|
|
4516
|
+
a && B(t), s && s.d();
|
|
4489
4517
|
}
|
|
4490
4518
|
};
|
|
4491
4519
|
}
|
|
@@ -4493,31 +4521,31 @@ function kt(e) {
|
|
|
4493
4521
|
let t;
|
|
4494
4522
|
return {
|
|
4495
4523
|
c() {
|
|
4496
|
-
t =
|
|
4524
|
+
t = T("div"), _(t, "class", "ActiveImg");
|
|
4497
4525
|
},
|
|
4498
4526
|
m(r, n) {
|
|
4499
|
-
|
|
4527
|
+
P(r, t, n);
|
|
4500
4528
|
},
|
|
4501
4529
|
d(r) {
|
|
4502
|
-
r &&
|
|
4530
|
+
r && B(t);
|
|
4503
4531
|
}
|
|
4504
4532
|
};
|
|
4505
4533
|
}
|
|
4506
|
-
function
|
|
4534
|
+
function Ft(e) {
|
|
4507
4535
|
let t;
|
|
4508
4536
|
return {
|
|
4509
4537
|
c() {
|
|
4510
|
-
t =
|
|
4538
|
+
t = T("div"), _(t, "class", "ActiveImg");
|
|
4511
4539
|
},
|
|
4512
4540
|
m(r, n) {
|
|
4513
|
-
|
|
4541
|
+
P(r, t, n);
|
|
4514
4542
|
},
|
|
4515
4543
|
d(r) {
|
|
4516
|
-
r &&
|
|
4544
|
+
r && B(t);
|
|
4517
4545
|
}
|
|
4518
4546
|
};
|
|
4519
4547
|
}
|
|
4520
|
-
function
|
|
4548
|
+
function jt(e) {
|
|
4521
4549
|
let t, r = (
|
|
4522
4550
|
/*getGamesTotal*/
|
|
4523
4551
|
e[18](
|
|
@@ -4527,10 +4555,10 @@ function Ft(e) {
|
|
|
4527
4555
|
), n;
|
|
4528
4556
|
return {
|
|
4529
4557
|
c() {
|
|
4530
|
-
t =
|
|
4558
|
+
t = T("span"), n = de(r), _(t, "class", "categoryImgButtonCount");
|
|
4531
4559
|
},
|
|
4532
4560
|
m(i, o) {
|
|
4533
|
-
|
|
4561
|
+
P(i, t, o), A(t, n);
|
|
4534
4562
|
},
|
|
4535
4563
|
p(i, o) {
|
|
4536
4564
|
o[0] & /*vendors*/
|
|
@@ -4538,25 +4566,25 @@ function Ft(e) {
|
|
|
4538
4566
|
i[18](
|
|
4539
4567
|
/*vendor*/
|
|
4540
4568
|
i[43]?.games.total
|
|
4541
|
-
) + "") &&
|
|
4569
|
+
) + "") && lt(n, r);
|
|
4542
4570
|
},
|
|
4543
4571
|
d(i) {
|
|
4544
|
-
i &&
|
|
4572
|
+
i && B(t);
|
|
4545
4573
|
}
|
|
4546
4574
|
};
|
|
4547
4575
|
}
|
|
4548
|
-
function
|
|
4576
|
+
function Vt(e) {
|
|
4549
4577
|
let t, r = (
|
|
4550
4578
|
/*vendor*/
|
|
4551
4579
|
e[43].displayName + ""
|
|
4552
4580
|
), n, i, o = (
|
|
4553
4581
|
/*showvendorgames*/
|
|
4554
4582
|
e[3] !== "false" && /*vendor*/
|
|
4555
|
-
e[43]?.games.total &&
|
|
4583
|
+
e[43]?.games.total && Wt(e)
|
|
4556
4584
|
);
|
|
4557
4585
|
return {
|
|
4558
4586
|
c() {
|
|
4559
|
-
t =
|
|
4587
|
+
t = T("button"), n = de(r), i = F(), o && o.c(), _(
|
|
4560
4588
|
t,
|
|
4561
4589
|
"class",
|
|
4562
4590
|
/*getButtonClasses*/
|
|
@@ -4564,21 +4592,21 @@ function jt(e) {
|
|
|
4564
4592
|
);
|
|
4565
4593
|
},
|
|
4566
4594
|
m(s, a) {
|
|
4567
|
-
|
|
4595
|
+
P(s, t, a), A(t, n), A(t, i), o && o.m(t, null);
|
|
4568
4596
|
},
|
|
4569
4597
|
p(s, a) {
|
|
4570
4598
|
a[0] & /*vendors*/
|
|
4571
4599
|
64 && r !== (r = /*vendor*/
|
|
4572
|
-
s[43].displayName + "") &&
|
|
4600
|
+
s[43].displayName + "") && lt(n, r), /*showvendorgames*/
|
|
4573
4601
|
s[3] !== "false" && /*vendor*/
|
|
4574
|
-
s[43]?.games.total ? o ? o.p(s, a) : (o =
|
|
4602
|
+
s[43]?.games.total ? o ? o.p(s, a) : (o = Wt(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4575
4603
|
},
|
|
4576
4604
|
d(s) {
|
|
4577
|
-
s &&
|
|
4605
|
+
s && B(t), o && o.d();
|
|
4578
4606
|
}
|
|
4579
4607
|
};
|
|
4580
4608
|
}
|
|
4581
|
-
function
|
|
4609
|
+
function Wt(e) {
|
|
4582
4610
|
let t, r = (
|
|
4583
4611
|
/*getGamesTotal*/
|
|
4584
4612
|
e[18](
|
|
@@ -4588,10 +4616,10 @@ function Vt(e) {
|
|
|
4588
4616
|
), n;
|
|
4589
4617
|
return {
|
|
4590
4618
|
c() {
|
|
4591
|
-
t =
|
|
4619
|
+
t = T("span"), n = de(r), _(t, "class", "CategoryButtonCount");
|
|
4592
4620
|
},
|
|
4593
4621
|
m(i, o) {
|
|
4594
|
-
|
|
4622
|
+
P(i, t, o), A(t, n);
|
|
4595
4623
|
},
|
|
4596
4624
|
p(i, o) {
|
|
4597
4625
|
o[0] & /*vendors*/
|
|
@@ -4599,26 +4627,26 @@ function Vt(e) {
|
|
|
4599
4627
|
i[18](
|
|
4600
4628
|
/*vendor*/
|
|
4601
4629
|
i[43]?.games.total
|
|
4602
|
-
) + "") &&
|
|
4630
|
+
) + "") && lt(n, r);
|
|
4603
4631
|
},
|
|
4604
4632
|
d(i) {
|
|
4605
|
-
i &&
|
|
4633
|
+
i && B(t);
|
|
4606
4634
|
}
|
|
4607
4635
|
};
|
|
4608
4636
|
}
|
|
4609
|
-
function
|
|
4637
|
+
function Xt(e, t) {
|
|
4610
4638
|
let r, n, i, o, s, a, u, l = (
|
|
4611
4639
|
/*showvendoricon*/
|
|
4612
|
-
t[1] !== "false" &&
|
|
4640
|
+
t[1] !== "false" && Gt(t)
|
|
4613
4641
|
), h = (
|
|
4614
4642
|
/*showvendoricon*/
|
|
4615
4643
|
t[1] == "true" && /*showvendorgames*/
|
|
4616
4644
|
t[3] !== "false" && /*showvendorname*/
|
|
4617
4645
|
t[2] == "false" && /*vendor*/
|
|
4618
|
-
t[43]?.games?.total &&
|
|
4646
|
+
t[43]?.games?.total && jt(t)
|
|
4619
4647
|
), c = (
|
|
4620
4648
|
/*showvendorname*/
|
|
4621
|
-
t[2] !== "false" &&
|
|
4649
|
+
t[2] !== "false" && Vt(t)
|
|
4622
4650
|
);
|
|
4623
4651
|
function f(...m) {
|
|
4624
4652
|
return (
|
|
@@ -4636,7 +4664,7 @@ function Wt(e, t) {
|
|
|
4636
4664
|
key: e,
|
|
4637
4665
|
first: null,
|
|
4638
4666
|
c() {
|
|
4639
|
-
r =
|
|
4667
|
+
r = T("li"), l && l.c(), n = F(), h && h.c(), i = F(), c && c.c(), o = F(), _(r, "class", s = "CarouselItem " + (String(
|
|
4640
4668
|
/*activevendor*/
|
|
4641
4669
|
t[0]
|
|
4642
4670
|
) == String(
|
|
@@ -4645,10 +4673,10 @@ function Wt(e, t) {
|
|
|
4645
4673
|
) ? "active" : "") + " SecondaryMenu"), this.first = r;
|
|
4646
4674
|
},
|
|
4647
4675
|
m(m, d) {
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4676
|
+
P(m, r, d), l && l.m(r, null), A(r, n), h && h.m(r, null), A(r, i), c && c.m(r, null), A(r, o), a || (u = [
|
|
4677
|
+
K(r, "click", f),
|
|
4678
|
+
K(r, "keydown", function() {
|
|
4679
|
+
He(
|
|
4652
4680
|
/*onCarouselItemKeydown*/
|
|
4653
4681
|
t[16](
|
|
4654
4682
|
/*vendor*/
|
|
@@ -4667,43 +4695,43 @@ function Wt(e, t) {
|
|
|
4667
4695
|
},
|
|
4668
4696
|
p(m, d) {
|
|
4669
4697
|
t = m, /*showvendoricon*/
|
|
4670
|
-
t[1] !== "false" ? l ? l.p(t, d) : (l =
|
|
4698
|
+
t[1] !== "false" ? l ? l.p(t, d) : (l = Gt(t), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showvendoricon*/
|
|
4671
4699
|
t[1] == "true" && /*showvendorgames*/
|
|
4672
4700
|
t[3] !== "false" && /*showvendorname*/
|
|
4673
4701
|
t[2] == "false" && /*vendor*/
|
|
4674
|
-
t[43]?.games?.total ? h ? h.p(t, d) : (h =
|
|
4675
|
-
t[2] !== "false" ? c ? c.p(t, d) : (c =
|
|
4702
|
+
t[43]?.games?.total ? h ? h.p(t, d) : (h = jt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
|
|
4703
|
+
t[2] !== "false" ? c ? c.p(t, d) : (c = Vt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), d[0] & /*activevendor, vendors*/
|
|
4676
4704
|
65 && s !== (s = "CarouselItem " + (String(
|
|
4677
4705
|
/*activevendor*/
|
|
4678
4706
|
t[0]
|
|
4679
4707
|
) == String(
|
|
4680
4708
|
/*vendor*/
|
|
4681
4709
|
t[43].id
|
|
4682
|
-
) ? "active" : "") + " SecondaryMenu") &&
|
|
4710
|
+
) ? "active" : "") + " SecondaryMenu") && _(r, "class", s);
|
|
4683
4711
|
},
|
|
4684
4712
|
d(m) {
|
|
4685
|
-
m &&
|
|
4713
|
+
m && B(r), l && l.d(), h && h.d(), c && c.d(), a = !1, X(u);
|
|
4686
4714
|
}
|
|
4687
4715
|
};
|
|
4688
4716
|
}
|
|
4689
|
-
function
|
|
4717
|
+
function To(e) {
|
|
4690
4718
|
let t;
|
|
4691
4719
|
function r(o, s) {
|
|
4692
4720
|
return (
|
|
4693
4721
|
/*isLoading*/
|
|
4694
|
-
o[5] ?
|
|
4722
|
+
o[5] ? wo : (
|
|
4695
4723
|
/*hasErrors*/
|
|
4696
|
-
o[7] ?
|
|
4724
|
+
o[7] ? Eo : xo
|
|
4697
4725
|
)
|
|
4698
4726
|
);
|
|
4699
4727
|
}
|
|
4700
4728
|
let n = r(e), i = n(e);
|
|
4701
4729
|
return {
|
|
4702
4730
|
c() {
|
|
4703
|
-
t =
|
|
4731
|
+
t = T("div"), i.c();
|
|
4704
4732
|
},
|
|
4705
4733
|
m(o, s) {
|
|
4706
|
-
|
|
4734
|
+
P(o, t, s), i.m(t, null), e[31](t);
|
|
4707
4735
|
},
|
|
4708
4736
|
p(o, s) {
|
|
4709
4737
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4711,53 +4739,53 @@ function Eo(e) {
|
|
|
4711
4739
|
i: D,
|
|
4712
4740
|
o: D,
|
|
4713
4741
|
d(o) {
|
|
4714
|
-
o &&
|
|
4742
|
+
o && B(t), i.d(), e[31](null);
|
|
4715
4743
|
}
|
|
4716
4744
|
};
|
|
4717
4745
|
}
|
|
4718
|
-
function
|
|
4719
|
-
|
|
4720
|
-
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: m = "0" } = t, { mbsource: d } = t, b = window.navigator.userAgent,
|
|
4746
|
+
function Ho(e, t, r) {
|
|
4747
|
+
co({ withLocale: "en", translations: {} });
|
|
4748
|
+
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: m = "0" } = t, { mbsource: d } = t, b = window.navigator.userAgent, H = Ut(b) !== "PC", N = !0, O, I = [], M = !1, C, G, x, E;
|
|
4721
4749
|
const $ = () => {
|
|
4722
|
-
fetch(l).then((
|
|
4723
|
-
Object.keys(
|
|
4724
|
-
|
|
4750
|
+
fetch(l).then((y) => y.json()).then((y) => {
|
|
4751
|
+
Object.keys(y).forEach((U) => {
|
|
4752
|
+
fo(U, y[U]);
|
|
4725
4753
|
});
|
|
4726
|
-
}).catch((
|
|
4727
|
-
console.log(
|
|
4754
|
+
}).catch((y) => {
|
|
4755
|
+
console.log(y);
|
|
4728
4756
|
});
|
|
4729
|
-
},
|
|
4730
|
-
|
|
4731
|
-
},
|
|
4732
|
-
if (!
|
|
4757
|
+
}, Z = () => {
|
|
4758
|
+
po(o);
|
|
4759
|
+
}, Hr = () => (n || (O = "Endpoint is missing! Please provide a valid endpointURL.", r(7, M = !0), r(5, N = !1), console.error(O)), (!o || o.length < 2) && (O = "Language is missing! Please provide a valid language (alpha2code)", r(7, M = !0), r(5, N = !1), console.error(O)), M), Ar = () => {
|
|
4760
|
+
if (!Hr()) {
|
|
4733
4761
|
let p = new URL(`${n}/v1/casino/vendors`);
|
|
4734
|
-
p.searchParams.append("datasource", i), p.searchParams.append("language", o), p.searchParams.append("platform",
|
|
4735
|
-
(
|
|
4736
|
-
let U =
|
|
4737
|
-
r(6,
|
|
4762
|
+
p.searchParams.append("datasource", i), p.searchParams.append("language", o), p.searchParams.append("platform", Ut(b)), fetch(p).then((y) => y.json()).then(
|
|
4763
|
+
(y) => {
|
|
4764
|
+
let U = y.items.filter((Re) => Re.games.total > 0);
|
|
4765
|
+
r(6, I = []), r(6, I = I.concat(U)), r(5, N = !1);
|
|
4738
4766
|
},
|
|
4739
|
-
(
|
|
4740
|
-
r(7,
|
|
4767
|
+
(y) => {
|
|
4768
|
+
r(7, M = !0), console.error("There was an error while fetching the vendors", y);
|
|
4741
4769
|
}
|
|
4742
|
-
).catch((
|
|
4743
|
-
r(7,
|
|
4770
|
+
).catch((y) => {
|
|
4771
|
+
r(7, M = !0), console.error("There was an error while fetching the vendors", y);
|
|
4744
4772
|
});
|
|
4745
4773
|
}
|
|
4746
4774
|
};
|
|
4747
|
-
|
|
4775
|
+
Zr(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
4748
4776
|
() => {
|
|
4749
|
-
|
|
4777
|
+
E && E.addEventListener("scroll", Ne);
|
|
4750
4778
|
},
|
|
4751
4779
|
500
|
|
4752
4780
|
), () => {
|
|
4753
|
-
|
|
4781
|
+
x.removeEventListener("scroll", Ne);
|
|
4754
4782
|
}));
|
|
4755
|
-
let
|
|
4756
|
-
|
|
4783
|
+
let Le = (p, y) => {
|
|
4784
|
+
Ne(), r(0, m = p.id), window.postMessage(
|
|
4757
4785
|
{
|
|
4758
4786
|
type: u,
|
|
4759
4787
|
itemId: p.id,
|
|
4760
|
-
index:
|
|
4788
|
+
index: y,
|
|
4761
4789
|
item: p,
|
|
4762
4790
|
path: p.path,
|
|
4763
4791
|
externalLink: p.externalLink || !1,
|
|
@@ -4765,91 +4793,91 @@ function wo(e, t, r) {
|
|
|
4765
4793
|
},
|
|
4766
4794
|
window.location.href
|
|
4767
4795
|
);
|
|
4768
|
-
},
|
|
4769
|
-
const p =
|
|
4796
|
+
}, ft = () => {
|
|
4797
|
+
const p = E.scrollLeft;
|
|
4770
4798
|
if (p > 0) {
|
|
4771
|
-
const
|
|
4772
|
-
|
|
4773
|
-
left: -
|
|
4799
|
+
const y = Math.min(250, p);
|
|
4800
|
+
E.scrollBy({
|
|
4801
|
+
left: -y,
|
|
4774
4802
|
behavior: "smooth"
|
|
4775
4803
|
});
|
|
4776
4804
|
}
|
|
4777
|
-
},
|
|
4778
|
-
const p =
|
|
4779
|
-
if (p + U <
|
|
4780
|
-
const
|
|
4781
|
-
|
|
4805
|
+
}, pt = () => {
|
|
4806
|
+
const p = E.scrollLeft, y = E.scrollWidth, U = E.clientWidth;
|
|
4807
|
+
if (p + U < y) {
|
|
4808
|
+
const Re = y - (p + U), $r = Math.min(250, Re);
|
|
4809
|
+
E.scrollBy({ left: $r, behavior: "smooth" });
|
|
4782
4810
|
}
|
|
4783
4811
|
};
|
|
4784
|
-
const
|
|
4785
|
-
const p =
|
|
4786
|
-
document.activeElement.blur(),
|
|
4787
|
-
for (let
|
|
4788
|
-
p[
|
|
4789
|
-
|
|
4790
|
-
},
|
|
4812
|
+
const Ne = () => {
|
|
4813
|
+
const p = x.querySelectorAll(".DropDown");
|
|
4814
|
+
document.activeElement.blur(), E.classList.add("isScrolling");
|
|
4815
|
+
for (let y = 0; y < p.length; y++)
|
|
4816
|
+
p[y].style.transform = "translateX(-" + E.scrollLeft + "px)";
|
|
4817
|
+
E.classList.remove("isScrolling");
|
|
4818
|
+
}, Ir = (p) => {
|
|
4819
|
+
(p.key === "Enter" || p.key === " ") && (pt(), p.preventDefault());
|
|
4820
|
+
}, Br = (p) => {
|
|
4791
4821
|
(p.key === "Enter" || p.key === " ") && (ft(), p.preventDefault());
|
|
4792
|
-
},
|
|
4793
|
-
(
|
|
4794
|
-
},
|
|
4795
|
-
(
|
|
4796
|
-
}, Br = () => {
|
|
4797
|
-
if (T && c === "true" && h === "false")
|
|
4822
|
+
}, Pr = (p, y) => (U) => {
|
|
4823
|
+
(U.key === "Enter" || U.key === " ") && (Le(p, y), U.preventDefault());
|
|
4824
|
+
}, Or = () => {
|
|
4825
|
+
if (H && c === "true" && h === "false")
|
|
4798
4826
|
return "MobileCategoryButton";
|
|
4799
|
-
},
|
|
4800
|
-
|
|
4827
|
+
}, Mr = (p) => p > 1e3 ? "999+" : p, Lr = (p, y, U) => {
|
|
4828
|
+
Le(p, y), U.preventDefault();
|
|
4801
4829
|
};
|
|
4802
|
-
function
|
|
4803
|
-
|
|
4804
|
-
|
|
4830
|
+
function Nr(p) {
|
|
4831
|
+
ee[p ? "unshift" : "push"](() => {
|
|
4832
|
+
x = p, r(8, x);
|
|
4805
4833
|
});
|
|
4806
4834
|
}
|
|
4807
|
-
function
|
|
4808
|
-
|
|
4809
|
-
|
|
4835
|
+
function Rr(p) {
|
|
4836
|
+
ee[p ? "unshift" : "push"](() => {
|
|
4837
|
+
E = p, r(9, E);
|
|
4810
4838
|
});
|
|
4811
4839
|
}
|
|
4812
|
-
function
|
|
4813
|
-
|
|
4814
|
-
|
|
4840
|
+
function Ur(p) {
|
|
4841
|
+
ee[p ? "unshift" : "push"](() => {
|
|
4842
|
+
C = p, r(4, C);
|
|
4815
4843
|
});
|
|
4816
4844
|
}
|
|
4817
|
-
function
|
|
4818
|
-
|
|
4819
|
-
|
|
4845
|
+
function Dr(p) {
|
|
4846
|
+
ee[p ? "unshift" : "push"](() => {
|
|
4847
|
+
C = p, r(4, C);
|
|
4820
4848
|
});
|
|
4821
4849
|
}
|
|
4822
4850
|
return e.$$set = (p) => {
|
|
4823
4851
|
"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, m = p.activevendor), "mbsource" in p && r(26, d = p.mbsource);
|
|
4824
4852
|
}, e.$$.update = () => {
|
|
4825
4853
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
4826
|
-
2621440 && n && o &&
|
|
4854
|
+
2621440 && n && o && Ar(), e.$$.dirty[0] & /*translationurl*/
|
|
4827
4855
|
33554432 && l && $(), e.$$.dirty[0] & /*activevendor*/
|
|
4828
4856
|
1, e.$$.dirty[0] & /*lang*/
|
|
4829
|
-
2097152 && o &&
|
|
4830
|
-
4194320 && s &&
|
|
4831
|
-
8388624 && a &&
|
|
4832
|
-
67108880 && d &&
|
|
4857
|
+
2097152 && o && Z(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4858
|
+
4194320 && s && C && mo(C, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4859
|
+
8388624 && a && C && bo(C, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4860
|
+
67108880 && d && C && go(C, `${d}.Style`, G);
|
|
4833
4861
|
}, [
|
|
4834
4862
|
m,
|
|
4835
4863
|
h,
|
|
4836
4864
|
c,
|
|
4837
4865
|
f,
|
|
4838
|
-
|
|
4839
|
-
L,
|
|
4840
|
-
A,
|
|
4841
|
-
O,
|
|
4866
|
+
C,
|
|
4842
4867
|
N,
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4868
|
+
I,
|
|
4869
|
+
M,
|
|
4870
|
+
x,
|
|
4871
|
+
E,
|
|
4872
|
+
H,
|
|
4873
|
+
Le,
|
|
4847
4874
|
ft,
|
|
4848
|
-
|
|
4849
|
-
Ar,
|
|
4875
|
+
pt,
|
|
4850
4876
|
Ir,
|
|
4851
4877
|
Br,
|
|
4852
4878
|
Pr,
|
|
4879
|
+
Or,
|
|
4880
|
+
Mr,
|
|
4853
4881
|
n,
|
|
4854
4882
|
i,
|
|
4855
4883
|
o,
|
|
@@ -4858,21 +4886,21 @@ function wo(e, t, r) {
|
|
|
4858
4886
|
u,
|
|
4859
4887
|
l,
|
|
4860
4888
|
d,
|
|
4861
|
-
Or,
|
|
4862
|
-
Mr,
|
|
4863
4889
|
Lr,
|
|
4864
4890
|
Nr,
|
|
4865
|
-
Rr
|
|
4891
|
+
Rr,
|
|
4892
|
+
Ur,
|
|
4893
|
+
Dr
|
|
4866
4894
|
];
|
|
4867
4895
|
}
|
|
4868
|
-
class
|
|
4896
|
+
class Ao extends un {
|
|
4869
4897
|
constructor(t) {
|
|
4870
|
-
super(),
|
|
4898
|
+
super(), sn(
|
|
4871
4899
|
this,
|
|
4872
4900
|
t,
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4901
|
+
Ho,
|
|
4902
|
+
To,
|
|
4903
|
+
Zt,
|
|
4876
4904
|
{
|
|
4877
4905
|
endpoint: 19,
|
|
4878
4906
|
datasource: 20,
|
|
@@ -4887,7 +4915,7 @@ class Co extends sn {
|
|
|
4887
4915
|
activevendor: 0,
|
|
4888
4916
|
mbsource: 26
|
|
4889
4917
|
},
|
|
4890
|
-
|
|
4918
|
+
_o,
|
|
4891
4919
|
[-1, -1]
|
|
4892
4920
|
);
|
|
4893
4921
|
}
|
|
@@ -4964,7 +4992,7 @@ class Co extends sn {
|
|
|
4964
4992
|
this.$$set({ mbsource: t }), R();
|
|
4965
4993
|
}
|
|
4966
4994
|
}
|
|
4967
|
-
|
|
4995
|
+
an(Ao, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
|
|
4968
4996
|
export {
|
|
4969
|
-
|
|
4997
|
+
Ao as C
|
|
4970
4998
|
};
|