@everymatrix/casino-slider 1.74.8 → 1.74.10
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/CasinoSlider-BImfaopH.cjs +16 -0
- package/components/{CasinoSlider-CMPyMc_g.js → CasinoSlider-Bv3CaU9-.js} +345 -343
- package/components/{CasinoSlider-5lZXuYHt.js → CasinoSlider-Cs0QnYVS.js} +362 -360
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-CeKQcPVb.cjs +0 -16
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Ge = (e, t, r) => t in e ?
|
1
|
+
var Gr = Object.defineProperty, kr = Object.defineProperties;
|
2
|
+
var $r = Object.getOwnPropertyDescriptors;
|
3
|
+
var dt = Object.getOwnPropertySymbols;
|
4
|
+
var jr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ge = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
jr.call(t, r) && Ge(e, r, t[r]);
|
8
|
+
if (dt)
|
9
|
+
for (var r of dt(t))
|
10
|
+
Vr.call(t, r) && Ge(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, gt = (e, t) => kr(e, $r(t));
|
13
13
|
var G = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
-
var
|
14
|
+
var bt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -29,29 +29,29 @@ var yt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function $() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Wt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function yt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function Y(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Wt);
|
40
40
|
}
|
41
41
|
function ot(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function zt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let Se;
|
48
48
|
function _t(e, t) {
|
49
49
|
return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Xr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function Wr(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -63,14 +63,14 @@ function zr(e, ...t) {
|
|
63
63
|
function M(e, t) {
|
64
64
|
e.appendChild(t);
|
65
65
|
}
|
66
|
-
function
|
67
|
-
const n =
|
66
|
+
function zr(e, t, r) {
|
67
|
+
const n = Zr(e);
|
68
68
|
if (!n.getElementById(t)) {
|
69
69
|
const i = P("style");
|
70
|
-
i.id = t, i.textContent = r,
|
70
|
+
i.id = t, i.textContent = r, Qr(n, i);
|
71
71
|
}
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function Zr(e) {
|
74
74
|
if (!e)
|
75
75
|
return document;
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -80,7 +80,7 @@ function Qr(e) {
|
|
80
80
|
t
|
81
81
|
) : e.ownerDocument;
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function Qr(e, t) {
|
84
84
|
return M(
|
85
85
|
/** @type {Document} */
|
86
86
|
e.head || e,
|
@@ -93,7 +93,7 @@ function k(e, t, r) {
|
|
93
93
|
function U(e) {
|
94
94
|
e.parentNode && e.parentNode.removeChild(e);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function qr(e, t) {
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
98
98
|
e[r] && e[r].d(t);
|
99
99
|
}
|
@@ -106,13 +106,13 @@ function Ce(e) {
|
|
106
106
|
function J() {
|
107
107
|
return Ce(" ");
|
108
108
|
}
|
109
|
-
function
|
109
|
+
function _e() {
|
110
110
|
return Ce("");
|
111
111
|
}
|
112
112
|
function V(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Jr(e) {
|
116
116
|
return function(t) {
|
117
117
|
return t.preventDefault(), e.call(this, t);
|
118
118
|
};
|
@@ -120,14 +120,14 @@ function Yr(e) {
|
|
120
120
|
function T(e, t, r) {
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
122
|
}
|
123
|
-
function
|
123
|
+
function Yr(e) {
|
124
124
|
return Array.from(e.childNodes);
|
125
125
|
}
|
126
126
|
function st(e, t) {
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
128
128
|
t);
|
129
129
|
}
|
130
|
-
function
|
130
|
+
function Kr(e) {
|
131
131
|
const t = {};
|
132
132
|
return e.childNodes.forEach(
|
133
133
|
/** @param {Element} node */
|
@@ -136,28 +136,28 @@ function en(e) {
|
|
136
136
|
}
|
137
137
|
), t;
|
138
138
|
}
|
139
|
-
let
|
139
|
+
let ve;
|
140
140
|
function be(e) {
|
141
|
-
|
141
|
+
ve = e;
|
142
142
|
}
|
143
|
-
function
|
144
|
-
if (!
|
143
|
+
function en() {
|
144
|
+
if (!ve)
|
145
145
|
throw new Error("Function called outside component initialization");
|
146
|
-
return
|
146
|
+
return ve;
|
147
147
|
}
|
148
|
-
function
|
149
|
-
|
148
|
+
function tn(e) {
|
149
|
+
en().$$.on_mount.push(e);
|
150
150
|
}
|
151
|
-
function
|
151
|
+
function rn(e, t) {
|
152
152
|
const r = e.$$.callbacks[t.type];
|
153
153
|
r && r.slice().forEach((n) => n.call(this, t));
|
154
154
|
}
|
155
155
|
const ie = [], ye = [];
|
156
156
|
let oe = [];
|
157
|
-
const
|
157
|
+
const vt = [], nn = /* @__PURE__ */ Promise.resolve();
|
158
158
|
let Ze = !1;
|
159
|
-
function
|
160
|
-
Ze || (Ze = !0,
|
159
|
+
function on() {
|
160
|
+
Ze || (Ze = !0, nn.then(B));
|
161
161
|
}
|
162
162
|
function Qe(e) {
|
163
163
|
oe.push(e);
|
@@ -167,12 +167,12 @@ let re = 0;
|
|
167
167
|
function B() {
|
168
168
|
if (re !== 0)
|
169
169
|
return;
|
170
|
-
const e =
|
170
|
+
const e = ve;
|
171
171
|
do {
|
172
172
|
try {
|
173
173
|
for (; re < ie.length; ) {
|
174
174
|
const t = ie[re];
|
175
|
-
re++, be(t),
|
175
|
+
re++, be(t), sn(t.$$);
|
176
176
|
}
|
177
177
|
} catch (t) {
|
178
178
|
throw ie.length = 0, re = 0, t;
|
@@ -185,32 +185,32 @@ function B() {
|
|
185
185
|
}
|
186
186
|
oe.length = 0;
|
187
187
|
} while (ie.length);
|
188
|
-
for (;
|
189
|
-
|
188
|
+
for (; vt.length; )
|
189
|
+
vt.pop()();
|
190
190
|
Ze = !1, ke.clear(), be(e);
|
191
191
|
}
|
192
|
-
function
|
192
|
+
function sn(e) {
|
193
193
|
if (e.fragment !== null) {
|
194
194
|
e.update(), Y(e.before_update);
|
195
195
|
const t = e.dirty;
|
196
196
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
197
197
|
}
|
198
198
|
}
|
199
|
-
function
|
199
|
+
function an(e) {
|
200
200
|
const t = [], r = [];
|
201
201
|
oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
|
202
202
|
}
|
203
|
-
const
|
204
|
-
function
|
205
|
-
e && e.i && (
|
203
|
+
const ln = /* @__PURE__ */ new Set();
|
204
|
+
function Zt(e, t) {
|
205
|
+
e && e.i && (ln.delete(e), e.i(t));
|
206
206
|
}
|
207
207
|
function se(e) {
|
208
208
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
209
209
|
}
|
210
|
-
function
|
210
|
+
function Qt(e, t) {
|
211
211
|
e.d(1), t.delete(e.key);
|
212
212
|
}
|
213
|
-
function
|
213
|
+
function qt(e, t, r, n, i, s, o, a, u, l, c, m) {
|
214
214
|
let f = e.length, p = s.length, g = f;
|
215
215
|
const b = {};
|
216
216
|
for (; g--; )
|
@@ -222,37 +222,37 @@ function Jt(e, t, r, n, i, s, o, a, u, l, c, m) {
|
|
222
222
|
D ? w.push(() => D.p(S, t)) : (D = l(R, S), D.c()), H.set(R, d[g] = D), R in b && E.set(R, Math.abs(g - b[R]));
|
223
223
|
}
|
224
224
|
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
225
|
-
function
|
226
|
-
|
225
|
+
function _(S) {
|
226
|
+
Zt(S, 1), S.m(a, c), o.set(S.key, S), c = S.first, p--;
|
227
227
|
}
|
228
228
|
for (; f && p; ) {
|
229
229
|
const S = d[p - 1], R = e[f - 1], D = S.key, ee = R.key;
|
230
|
-
S === R ? (c = S.first, f--, p--) : H.has(ee) ? !o.has(D) || O.has(D) ?
|
230
|
+
S === R ? (c = S.first, f--, p--) : H.has(ee) ? !o.has(D) || O.has(D) ? _(S) : L.has(ee) ? f-- : E.get(D) > E.get(ee) ? (L.add(D), _(S)) : (O.add(ee), f--) : (u(R, o), f--);
|
231
231
|
}
|
232
232
|
for (; f--; ) {
|
233
233
|
const S = e[f];
|
234
234
|
H.has(S.key) || u(S, o);
|
235
235
|
}
|
236
236
|
for (; p; )
|
237
|
-
|
237
|
+
_(d[p - 1]);
|
238
238
|
return Y(w), d;
|
239
239
|
}
|
240
|
-
function
|
240
|
+
function un(e, t, r) {
|
241
241
|
const { fragment: n, after_update: i } = e.$$;
|
242
242
|
n && n.m(t, r), Qe(() => {
|
243
|
-
const s = e.$$.on_mount.map(
|
243
|
+
const s = e.$$.on_mount.map(Wt).filter(ot);
|
244
244
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
|
245
245
|
}), i.forEach(Qe);
|
246
246
|
}
|
247
|
-
function
|
247
|
+
function hn(e, t) {
|
248
248
|
const r = e.$$;
|
249
|
-
r.fragment !== null && (
|
249
|
+
r.fragment !== null && (an(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
250
250
|
}
|
251
|
-
function
|
252
|
-
e.$$.dirty[0] === -1 && (ie.push(e),
|
251
|
+
function cn(e, t) {
|
252
|
+
e.$$.dirty[0] === -1 && (ie.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
253
253
|
}
|
254
|
-
function
|
255
|
-
const u =
|
254
|
+
function fn(e, t, r, n, i, s, o = null, a = [-1]) {
|
255
|
+
const u = ve;
|
256
256
|
be(e);
|
257
257
|
const l = e.$$ = {
|
258
258
|
fragment: null,
|
@@ -261,7 +261,7 @@ function mn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
261
261
|
props: s,
|
262
262
|
update: $,
|
263
263
|
not_equal: i,
|
264
|
-
bound:
|
264
|
+
bound: yt(),
|
265
265
|
// lifecycle
|
266
266
|
on_mount: [],
|
267
267
|
on_destroy: [],
|
@@ -270,28 +270,28 @@ function mn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
270
270
|
after_update: [],
|
271
271
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
272
272
|
// everything else
|
273
|
-
callbacks:
|
273
|
+
callbacks: yt(),
|
274
274
|
dirty: a,
|
275
275
|
skip_bound: !1,
|
276
276
|
root: t.target || u.$$.root
|
277
277
|
};
|
278
278
|
o && o(l.root);
|
279
279
|
let c = !1;
|
280
|
-
if (l.ctx = r
|
280
|
+
if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
|
281
281
|
const g = p.length ? p[0] : f;
|
282
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c &&
|
283
|
-
})
|
282
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && cn(e, m)), f;
|
283
|
+
}), l.update(), c = !0, Y(l.before_update), l.fragment = n(l.ctx), t.target) {
|
284
284
|
if (t.hydrate) {
|
285
|
-
const m =
|
285
|
+
const m = Yr(t.target);
|
286
286
|
l.fragment && l.fragment.l(m), m.forEach(U);
|
287
287
|
} else
|
288
288
|
l.fragment && l.fragment.c();
|
289
|
-
t.intro &&
|
289
|
+
t.intro && Zt(e.$$.fragment), un(e, t.target, t.anchor), B();
|
290
290
|
}
|
291
291
|
be(u);
|
292
292
|
}
|
293
|
-
let
|
294
|
-
typeof HTMLElement == "function" && (
|
293
|
+
let Jt;
|
294
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
295
295
|
constructor(t, r, n) {
|
296
296
|
super();
|
297
297
|
/** The Svelte component constructor */
|
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
328
328
|
}
|
329
329
|
}
|
330
330
|
connectedCallback() {
|
331
|
-
return
|
331
|
+
return bt(this, null, function* () {
|
332
332
|
if (this.$$cn = !0, !this.$$c) {
|
333
333
|
let t = function(s) {
|
334
334
|
return () => {
|
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
352
352
|
};
|
353
353
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
354
354
|
return;
|
355
|
-
const r = {}, n =
|
355
|
+
const r = {}, n = Kr(this);
|
356
356
|
for (const s of this.$$s)
|
357
357
|
s in n && (r[s] = [t(s)]);
|
358
358
|
for (const s of this.attributes) {
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
363
363
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
364
364
|
this.$$c = new this.$$ctor({
|
365
365
|
target: this.shadowRoot || this,
|
366
|
-
props:
|
366
|
+
props: gt(pt({}, this.$$d), {
|
367
367
|
$$slots: r,
|
368
368
|
$$scope: {
|
369
369
|
ctx: []
|
@@ -441,8 +441,8 @@ function Ae(e, t, r, n) {
|
|
441
441
|
return t;
|
442
442
|
}
|
443
443
|
}
|
444
|
-
function
|
445
|
-
let o = class extends
|
444
|
+
function mn(e, t, r, n, i, s) {
|
445
|
+
let o = class extends Jt {
|
446
446
|
constructor() {
|
447
447
|
super(e, r, i), this.$$p_d = t;
|
448
448
|
}
|
@@ -472,7 +472,7 @@ function dn(e, t, r, n, i, s) {
|
|
472
472
|
}), e.element = /** @type {any} */
|
473
473
|
o, o;
|
474
474
|
}
|
475
|
-
class
|
475
|
+
class dn {
|
476
476
|
constructor() {
|
477
477
|
/**
|
478
478
|
* ### PRIVATE API
|
@@ -493,7 +493,7 @@ class pn {
|
|
493
493
|
}
|
494
494
|
/** @returns {void} */
|
495
495
|
$destroy() {
|
496
|
-
|
496
|
+
hn(this, 1), this.$destroy = $;
|
497
497
|
}
|
498
498
|
/**
|
499
499
|
* @template {Extract<keyof Events, string>} K
|
@@ -515,18 +515,18 @@ class pn {
|
|
515
515
|
* @returns {void}
|
516
516
|
*/
|
517
517
|
$set(t) {
|
518
|
-
this.$$set && !
|
518
|
+
this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
519
519
|
}
|
520
520
|
}
|
521
|
-
const
|
522
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
523
|
-
function
|
521
|
+
const pn = "4";
|
522
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
|
523
|
+
function gn(e, t) {
|
524
524
|
if (e) {
|
525
525
|
const r = document.createElement("style");
|
526
526
|
r.innerHTML = t, e.appendChild(r);
|
527
527
|
}
|
528
528
|
}
|
529
|
-
function
|
529
|
+
function bn(e, t) {
|
530
530
|
const r = new URL(t);
|
531
531
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
532
532
|
const i = document.createElement("style");
|
@@ -535,7 +535,7 @@ function yn(e, t) {
|
|
535
535
|
console.error("There was an error while trying to load client styling from URL", n);
|
536
536
|
});
|
537
537
|
}
|
538
|
-
function
|
538
|
+
function yn(e, t, r) {
|
539
539
|
if (window.emMessageBus) {
|
540
540
|
const n = document.createElement("style");
|
541
541
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -553,7 +553,7 @@ function Ne(e, t = $) {
|
|
553
553
|
let r;
|
554
554
|
const n = /* @__PURE__ */ new Set();
|
555
555
|
function i(a) {
|
556
|
-
if (
|
556
|
+
if (zt(e, a) && (e = a, r)) {
|
557
557
|
const u = !ne.length;
|
558
558
|
for (const l of n)
|
559
559
|
l[1](), ne.push(l, e);
|
@@ -591,7 +591,7 @@ function ce(e, t, r) {
|
|
591
591
|
const g = t(n ? l[0] : l, o, a);
|
592
592
|
s ? o(g) : m = ot(g) ? g : $;
|
593
593
|
}, p = i.map(
|
594
|
-
(g, b) =>
|
594
|
+
(g, b) => Wr(
|
595
595
|
g,
|
596
596
|
(d) => {
|
597
597
|
l[b] = d, c &= ~(1 << b), u && f();
|
@@ -606,70 +606,70 @@ function ce(e, t, r) {
|
|
606
606
|
};
|
607
607
|
});
|
608
608
|
}
|
609
|
-
function
|
610
|
-
return e
|
609
|
+
function vn(e) {
|
610
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
611
611
|
}
|
612
|
-
var
|
613
|
-
return
|
612
|
+
var En = function(t) {
|
613
|
+
return xn(t) && !Cn(t);
|
614
614
|
};
|
615
|
-
function
|
615
|
+
function xn(e) {
|
616
616
|
return !!e && typeof e == "object";
|
617
617
|
}
|
618
|
-
function
|
618
|
+
function Cn(e) {
|
619
619
|
var t = Object.prototype.toString.call(e);
|
620
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
620
|
+
return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
|
621
621
|
}
|
622
|
-
var
|
623
|
-
function
|
624
|
-
return e.$$typeof ===
|
622
|
+
var wn = typeof Symbol == "function" && Symbol.for, Hn = wn ? Symbol.for("react.element") : 60103;
|
623
|
+
function Sn(e) {
|
624
|
+
return e.$$typeof === Hn;
|
625
625
|
}
|
626
|
-
function
|
626
|
+
function Tn(e) {
|
627
627
|
return Array.isArray(e) ? [] : {};
|
628
628
|
}
|
629
629
|
function Ee(e, t) {
|
630
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ae(
|
630
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ae(Tn(e), e, t) : e;
|
631
631
|
}
|
632
|
-
function
|
632
|
+
function An(e, t, r) {
|
633
633
|
return e.concat(t).map(function(n) {
|
634
634
|
return Ee(n, r);
|
635
635
|
});
|
636
636
|
}
|
637
|
-
function
|
637
|
+
function Bn(e, t) {
|
638
638
|
if (!t.customMerge)
|
639
639
|
return ae;
|
640
640
|
var r = t.customMerge(e);
|
641
641
|
return typeof r == "function" ? r : ae;
|
642
642
|
}
|
643
|
-
function
|
643
|
+
function In(e) {
|
644
644
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
645
645
|
return Object.propertyIsEnumerable.call(e, t);
|
646
646
|
}) : [];
|
647
647
|
}
|
648
|
-
function
|
649
|
-
return Object.keys(e).concat(
|
648
|
+
function Et(e) {
|
649
|
+
return Object.keys(e).concat(In(e));
|
650
650
|
}
|
651
|
-
function
|
651
|
+
function Yt(e, t) {
|
652
652
|
try {
|
653
653
|
return t in e;
|
654
654
|
} catch (r) {
|
655
655
|
return !1;
|
656
656
|
}
|
657
657
|
}
|
658
|
-
function
|
659
|
-
return
|
658
|
+
function Mn(e, t) {
|
659
|
+
return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
660
660
|
}
|
661
|
-
function
|
661
|
+
function Ln(e, t, r) {
|
662
662
|
var n = {};
|
663
|
-
return r.isMergeableObject(e) &&
|
663
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
664
664
|
n[i] = Ee(e[i], r);
|
665
|
-
}),
|
666
|
-
|
665
|
+
}), Et(t).forEach(function(i) {
|
666
|
+
Mn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
|
667
667
|
}), n;
|
668
668
|
}
|
669
669
|
function ae(e, t, r) {
|
670
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
670
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = Ee;
|
671
671
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
672
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
672
|
+
return s ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : Ee(t, r);
|
673
673
|
}
|
674
674
|
ae.all = function(t, r) {
|
675
675
|
if (!Array.isArray(t))
|
@@ -678,8 +678,8 @@ ae.all = function(t, r) {
|
|
678
678
|
return ae(n, i, r);
|
679
679
|
}, {});
|
680
680
|
};
|
681
|
-
var
|
682
|
-
const
|
681
|
+
var Nn = ae, Pn = Nn;
|
682
|
+
const On = /* @__PURE__ */ vn(Pn);
|
683
683
|
/*! *****************************************************************************
|
684
684
|
Copyright (c) Microsoft Corporation.
|
685
685
|
|
@@ -721,7 +721,7 @@ var C = function() {
|
|
721
721
|
return t;
|
722
722
|
}, C.apply(this, arguments);
|
723
723
|
};
|
724
|
-
function
|
724
|
+
function Fn(e, t) {
|
725
725
|
var r = {};
|
726
726
|
for (var n in e)
|
727
727
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -737,55 +737,57 @@ function $e(e, t, r) {
|
|
737
737
|
return e.concat(s || t);
|
738
738
|
}
|
739
739
|
function je(e, t) {
|
740
|
-
var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer :
|
740
|
+
var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
|
741
741
|
return i(e, {
|
742
742
|
cache: r,
|
743
743
|
serializer: n
|
744
744
|
});
|
745
745
|
}
|
746
|
-
function
|
746
|
+
function Rn(e) {
|
747
747
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
748
748
|
}
|
749
|
-
function
|
750
|
-
var i =
|
749
|
+
function Kt(e, t, r, n) {
|
750
|
+
var i = Rn(n) ? n : r(n), s = t.get(i);
|
751
751
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
752
752
|
}
|
753
|
-
function
|
753
|
+
function er(e, t, r) {
|
754
754
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
755
755
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
756
756
|
}
|
757
757
|
function at(e, t, r, n, i) {
|
758
758
|
return r.bind(t, e, n, i);
|
759
759
|
}
|
760
|
-
function
|
761
|
-
var r = e.length === 1 ?
|
760
|
+
function Dn(e, t) {
|
761
|
+
var r = e.length === 1 ? Kt : er;
|
762
762
|
return at(e, this, r, t.cache.create(), t.serializer);
|
763
763
|
}
|
764
|
-
function
|
765
|
-
return at(e, this, tr, t.cache.create(), t.serializer);
|
766
|
-
}
|
767
|
-
function kn(e, t) {
|
764
|
+
function Un(e, t) {
|
768
765
|
return at(e, this, er, t.cache.create(), t.serializer);
|
769
766
|
}
|
770
|
-
|
771
|
-
return
|
772
|
-
};
|
773
|
-
function lt() {
|
774
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
767
|
+
function Gn(e, t) {
|
768
|
+
return at(e, this, Kt, t.cache.create(), t.serializer);
|
775
769
|
}
|
776
|
-
|
777
|
-
return
|
778
|
-
}
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
770
|
+
var kn = function() {
|
771
|
+
return JSON.stringify(arguments);
|
772
|
+
}, $n = (
|
773
|
+
/** @class */
|
774
|
+
function() {
|
775
|
+
function e() {
|
776
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
777
|
+
}
|
778
|
+
return e.prototype.get = function(t) {
|
779
|
+
return this.cache[t];
|
780
|
+
}, e.prototype.set = function(t, r) {
|
781
|
+
this.cache[t] = r;
|
782
|
+
}, e;
|
783
|
+
}()
|
784
|
+
), jn = {
|
783
785
|
create: function() {
|
784
|
-
return new
|
786
|
+
return new $n();
|
785
787
|
}
|
786
788
|
}, Ve = {
|
787
|
-
variadic:
|
788
|
-
monadic:
|
789
|
+
variadic: Un,
|
790
|
+
monadic: Gn
|
789
791
|
}, y;
|
790
792
|
(function(e) {
|
791
793
|
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";
|
@@ -798,40 +800,40 @@ var le;
|
|
798
800
|
(function(e) {
|
799
801
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
800
802
|
})(le || (le = {}));
|
801
|
-
function
|
803
|
+
function xt(e) {
|
802
804
|
return e.type === A.literal;
|
803
805
|
}
|
804
806
|
function Vn(e) {
|
805
807
|
return e.type === A.argument;
|
806
808
|
}
|
807
|
-
function
|
809
|
+
function tr(e) {
|
808
810
|
return e.type === A.number;
|
809
811
|
}
|
810
|
-
function
|
812
|
+
function rr(e) {
|
811
813
|
return e.type === A.date;
|
812
814
|
}
|
813
|
-
function
|
815
|
+
function nr(e) {
|
814
816
|
return e.type === A.time;
|
815
817
|
}
|
816
|
-
function
|
818
|
+
function ir(e) {
|
817
819
|
return e.type === A.select;
|
818
820
|
}
|
819
|
-
function
|
821
|
+
function or(e) {
|
820
822
|
return e.type === A.plural;
|
821
823
|
}
|
822
824
|
function Xn(e) {
|
823
825
|
return e.type === A.pound;
|
824
826
|
}
|
825
|
-
function
|
827
|
+
function sr(e) {
|
826
828
|
return e.type === A.tag;
|
827
829
|
}
|
828
|
-
function
|
830
|
+
function ar(e) {
|
829
831
|
return !!(e && typeof e == "object" && e.type === le.number);
|
830
832
|
}
|
831
833
|
function Je(e) {
|
832
834
|
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
833
835
|
}
|
834
|
-
var
|
836
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
|
835
837
|
function zn(e) {
|
836
838
|
var t = {};
|
837
839
|
return e.replace(Wn, function(r) {
|
@@ -945,14 +947,14 @@ function Qn(e) {
|
|
945
947
|
function qn(e) {
|
946
948
|
return e.replace(/^(.*?)-/, "");
|
947
949
|
}
|
948
|
-
var
|
949
|
-
function
|
950
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
|
951
|
+
function wt(e) {
|
950
952
|
var t = {};
|
951
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
953
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
|
952
954
|
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)), "";
|
953
955
|
}), t;
|
954
956
|
}
|
955
|
-
function
|
957
|
+
function cr(e) {
|
956
958
|
switch (e) {
|
957
959
|
case "sign-auto":
|
958
960
|
return {
|
@@ -1000,14 +1002,14 @@ function Yn(e) {
|
|
1000
1002
|
notation: "scientific"
|
1001
1003
|
}, e = e.slice(1)), t) {
|
1002
1004
|
var r = e.slice(0, 2);
|
1003
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1005
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
|
1004
1006
|
throw new Error("Malformed concise eng/scientific notation");
|
1005
1007
|
t.minimumIntegerDigits = e.length;
|
1006
1008
|
}
|
1007
1009
|
return t;
|
1008
1010
|
}
|
1009
|
-
function
|
1010
|
-
var t = {}, r =
|
1011
|
+
function Ht(e) {
|
1012
|
+
var t = {}, r = cr(e);
|
1011
1013
|
return r || t;
|
1012
1014
|
}
|
1013
1015
|
function Kn(e) {
|
@@ -1046,12 +1048,12 @@ function Kn(e) {
|
|
1046
1048
|
continue;
|
1047
1049
|
case "scientific":
|
1048
1050
|
t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1049
|
-
return C(C({}, u),
|
1051
|
+
return C(C({}, u), Ht(l));
|
1050
1052
|
}, {}));
|
1051
1053
|
continue;
|
1052
1054
|
case "engineering":
|
1053
1055
|
t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1054
|
-
return C(C({}, u),
|
1056
|
+
return C(C({}, u), Ht(l));
|
1055
1057
|
}, {}));
|
1056
1058
|
continue;
|
1057
1059
|
case "notation-simple":
|
@@ -1109,25 +1111,25 @@ function Kn(e) {
|
|
1109
1111
|
});
|
1110
1112
|
continue;
|
1111
1113
|
}
|
1112
|
-
if (
|
1114
|
+
if (hr.test(i.stem)) {
|
1113
1115
|
t.minimumIntegerDigits = i.stem.length;
|
1114
1116
|
continue;
|
1115
1117
|
}
|
1116
|
-
if (
|
1118
|
+
if (Ct.test(i.stem)) {
|
1117
1119
|
if (i.options.length > 1)
|
1118
1120
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1119
|
-
i.stem.replace(
|
1121
|
+
i.stem.replace(Ct, function(u, l, c, m, f, p) {
|
1120
1122
|
return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1121
1123
|
});
|
1122
1124
|
var s = i.options[0];
|
1123
|
-
s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t),
|
1125
|
+
s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), wt(s)));
|
1124
1126
|
continue;
|
1125
1127
|
}
|
1126
|
-
if (
|
1127
|
-
t = C(C({}, t),
|
1128
|
+
if (ur.test(i.stem)) {
|
1129
|
+
t = C(C({}, t), wt(i.stem));
|
1128
1130
|
continue;
|
1129
1131
|
}
|
1130
|
-
var o =
|
1132
|
+
var o = cr(i.stem);
|
1131
1133
|
o && (t = C(C({}, t), o));
|
1132
1134
|
var a = Yn(i.stem);
|
1133
1135
|
a && (t = C(C({}, t), a));
|
@@ -2587,20 +2589,20 @@ function ti(e) {
|
|
2587
2589
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
2588
2590
|
return i[0];
|
2589
2591
|
}
|
2590
|
-
var Xe, ri = new RegExp("^".concat(
|
2591
|
-
function
|
2592
|
+
var Xe, ri = new RegExp("^".concat(lr.source, "*")), ni = new RegExp("".concat(lr.source, "*$"));
|
2593
|
+
function v(e, t) {
|
2592
2594
|
return { start: e, end: t };
|
2593
2595
|
}
|
2594
2596
|
var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
|
2595
2597
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2596
2598
|
}, Ye = !0;
|
2597
2599
|
try {
|
2598
|
-
var fi =
|
2600
|
+
var fi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2599
2601
|
Ye = ((Xe = fi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
|
2600
2602
|
} catch (e) {
|
2601
2603
|
Ye = !1;
|
2602
2604
|
}
|
2603
|
-
var
|
2605
|
+
var St = ii ? (
|
2604
2606
|
// Native
|
2605
2607
|
function(t, r, n) {
|
2606
2608
|
return t.startsWith(r, n);
|
@@ -2622,7 +2624,7 @@ var Tt = ii ? (
|
|
2622
2624
|
}
|
2623
2625
|
return n;
|
2624
2626
|
}
|
2625
|
-
),
|
2627
|
+
), Tt = (
|
2626
2628
|
// native
|
2627
2629
|
si ? Object.fromEntries : (
|
2628
2630
|
// Ponyfill
|
@@ -2634,7 +2636,7 @@ var Tt = ii ? (
|
|
2634
2636
|
return r;
|
2635
2637
|
}
|
2636
2638
|
)
|
2637
|
-
),
|
2639
|
+
), fr = ai ? (
|
2638
2640
|
// Native
|
2639
2641
|
function(t, r) {
|
2640
2642
|
return t.codePointAt(r);
|
@@ -2669,23 +2671,23 @@ var Tt = ii ? (
|
|
2669
2671
|
return t.replace(ni, "");
|
2670
2672
|
}
|
2671
2673
|
);
|
2672
|
-
function
|
2674
|
+
function mr(e, t) {
|
2673
2675
|
return new RegExp(e, t);
|
2674
2676
|
}
|
2675
2677
|
var et;
|
2676
2678
|
if (Ye) {
|
2677
|
-
var
|
2679
|
+
var At = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2678
2680
|
et = function(t, r) {
|
2679
2681
|
var n;
|
2680
|
-
|
2681
|
-
var i =
|
2682
|
+
At.lastIndex = r;
|
2683
|
+
var i = At.exec(t);
|
2682
2684
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2683
2685
|
};
|
2684
2686
|
} else
|
2685
2687
|
et = function(t, r) {
|
2686
2688
|
for (var n = []; ; ) {
|
2687
|
-
var i =
|
2688
|
-
if (i === void 0 ||
|
2689
|
+
var i = fr(t, r);
|
2690
|
+
if (i === void 0 || dr(i) || yi(i))
|
2689
2691
|
break;
|
2690
2692
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2691
2693
|
}
|
@@ -2716,12 +2718,12 @@ var pi = (
|
|
2716
2718
|
var a = this.clonePosition();
|
2717
2719
|
this.bump(), i.push({
|
2718
2720
|
type: A.pound,
|
2719
|
-
location:
|
2721
|
+
location: v(a, this.clonePosition())
|
2720
2722
|
});
|
2721
2723
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2722
2724
|
if (n)
|
2723
2725
|
break;
|
2724
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
2726
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2725
2727
|
} else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
2726
2728
|
var o = this.parseTag(t, r);
|
2727
2729
|
if (o.err)
|
@@ -2745,7 +2747,7 @@ var pi = (
|
|
2745
2747
|
val: {
|
2746
2748
|
type: A.literal,
|
2747
2749
|
value: "<".concat(i, "/>"),
|
2748
|
-
location:
|
2750
|
+
location: v(n, this.clonePosition())
|
2749
2751
|
},
|
2750
2752
|
err: null
|
2751
2753
|
};
|
@@ -2756,21 +2758,21 @@ var pi = (
|
|
2756
2758
|
var o = s.val, a = this.clonePosition();
|
2757
2759
|
if (this.bumpIf("</")) {
|
2758
2760
|
if (this.isEOF() || !tt(this.char()))
|
2759
|
-
return this.error(y.INVALID_TAG,
|
2761
|
+
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2760
2762
|
var u = this.clonePosition(), l = this.parseTagName();
|
2761
|
-
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG,
|
2763
|
+
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2762
2764
|
val: {
|
2763
2765
|
type: A.tag,
|
2764
2766
|
value: i,
|
2765
2767
|
children: o,
|
2766
|
-
location:
|
2768
|
+
location: v(n, this.clonePosition())
|
2767
2769
|
},
|
2768
2770
|
err: null
|
2769
|
-
} : this.error(y.INVALID_TAG,
|
2771
|
+
} : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
|
2770
2772
|
} else
|
2771
|
-
return this.error(y.UNCLOSED_TAG,
|
2773
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
2772
2774
|
} else
|
2773
|
-
return this.error(y.INVALID_TAG,
|
2775
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2774
2776
|
}, e.prototype.parseTagName = function() {
|
2775
2777
|
var t = this.offset();
|
2776
2778
|
for (this.bump(); !this.isEOF() && bi(this.char()); )
|
@@ -2795,7 +2797,7 @@ var pi = (
|
|
2795
2797
|
}
|
2796
2798
|
break;
|
2797
2799
|
}
|
2798
|
-
var u =
|
2800
|
+
var u = v(n, this.clonePosition());
|
2799
2801
|
return {
|
2800
2802
|
val: { type: A.literal, value: i, location: u },
|
2801
2803
|
err: null
|
@@ -2845,14 +2847,14 @@ var pi = (
|
|
2845
2847
|
}, e.prototype.parseArgument = function(t, r) {
|
2846
2848
|
var n = this.clonePosition();
|
2847
2849
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
2848
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2850
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2849
2851
|
if (this.char() === 125)
|
2850
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
2852
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
2851
2853
|
var i = this.parseIdentifierIfPossible().value;
|
2852
2854
|
if (!i)
|
2853
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
2855
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2854
2856
|
if (this.bumpSpace(), this.isEOF())
|
2855
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2857
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2856
2858
|
switch (this.char()) {
|
2857
2859
|
case 125:
|
2858
2860
|
return this.bump(), {
|
@@ -2860,25 +2862,25 @@ var pi = (
|
|
2860
2862
|
type: A.argument,
|
2861
2863
|
// value does not include the opening and closing braces.
|
2862
2864
|
value: i,
|
2863
|
-
location:
|
2865
|
+
location: v(n, this.clonePosition())
|
2864
2866
|
},
|
2865
2867
|
err: null
|
2866
2868
|
};
|
2867
2869
|
case 44:
|
2868
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2870
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
2869
2871
|
default:
|
2870
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
2872
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2871
2873
|
}
|
2872
2874
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2873
2875
|
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
2874
2876
|
this.bumpTo(i);
|
2875
|
-
var s = this.clonePosition(), o =
|
2877
|
+
var s = this.clonePosition(), o = v(t, s);
|
2876
2878
|
return { value: n, location: o };
|
2877
2879
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2878
2880
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
2879
2881
|
switch (a) {
|
2880
2882
|
case "":
|
2881
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
2883
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, u));
|
2882
2884
|
case "number":
|
2883
2885
|
case "date":
|
2884
2886
|
case "time": {
|
@@ -2891,15 +2893,15 @@ var pi = (
|
|
2891
2893
|
return m;
|
2892
2894
|
var f = di(m.val);
|
2893
2895
|
if (f.length === 0)
|
2894
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
2895
|
-
var p =
|
2896
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2897
|
+
var p = v(c, this.clonePosition());
|
2896
2898
|
l = { style: f, styleLocation: p };
|
2897
2899
|
}
|
2898
2900
|
var g = this.tryParseArgumentClose(i);
|
2899
2901
|
if (g.err)
|
2900
2902
|
return g;
|
2901
|
-
var b =
|
2902
|
-
if (l &&
|
2903
|
+
var b = v(i, this.clonePosition());
|
2904
|
+
if (l && St(l == null ? void 0 : l.style, "::", 0)) {
|
2903
2905
|
var d = mi(l.style.slice(2));
|
2904
2906
|
if (a === "number") {
|
2905
2907
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
@@ -2939,30 +2941,30 @@ var pi = (
|
|
2939
2941
|
case "select": {
|
2940
2942
|
var w = this.clonePosition();
|
2941
2943
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2942
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
2944
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, C({}, w)));
|
2943
2945
|
this.bumpSpace();
|
2944
2946
|
var O = this.parseIdentifierIfPossible(), L = 0;
|
2945
2947
|
if (a !== "select" && O.value === "offset") {
|
2946
2948
|
if (!this.bumpIf(":"))
|
2947
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
2949
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2948
2950
|
this.bumpSpace();
|
2949
2951
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2950
2952
|
if (m.err)
|
2951
2953
|
return m;
|
2952
2954
|
this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
|
2953
2955
|
}
|
2954
|
-
var
|
2955
|
-
if (
|
2956
|
-
return
|
2956
|
+
var _ = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2957
|
+
if (_.err)
|
2958
|
+
return _;
|
2957
2959
|
var g = this.tryParseArgumentClose(i);
|
2958
2960
|
if (g.err)
|
2959
2961
|
return g;
|
2960
|
-
var S =
|
2962
|
+
var S = v(i, this.clonePosition());
|
2961
2963
|
return a === "select" ? {
|
2962
2964
|
val: {
|
2963
2965
|
type: A.select,
|
2964
2966
|
value: n,
|
2965
|
-
options:
|
2967
|
+
options: Tt(_.val),
|
2966
2968
|
location: S
|
2967
2969
|
},
|
2968
2970
|
err: null
|
@@ -2970,7 +2972,7 @@ var pi = (
|
|
2970
2972
|
val: {
|
2971
2973
|
type: A.plural,
|
2972
2974
|
value: n,
|
2973
|
-
options:
|
2975
|
+
options: Tt(_.val),
|
2974
2976
|
offset: L,
|
2975
2977
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2976
2978
|
location: S
|
@@ -2979,10 +2981,10 @@ var pi = (
|
|
2979
2981
|
};
|
2980
2982
|
}
|
2981
2983
|
default:
|
2982
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
2984
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(o, u));
|
2983
2985
|
}
|
2984
2986
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2985
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2987
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
2986
2988
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
2987
2989
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
2988
2990
|
var n = this.char();
|
@@ -2991,7 +2993,7 @@ var pi = (
|
|
2991
2993
|
this.bump();
|
2992
2994
|
var i = this.clonePosition();
|
2993
2995
|
if (!this.bumpUntil("'"))
|
2994
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
2996
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
2995
2997
|
this.bump();
|
2996
2998
|
break;
|
2997
2999
|
}
|
@@ -3042,7 +3044,7 @@ var pi = (
|
|
3042
3044
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3043
3045
|
if (f.err)
|
3044
3046
|
return f;
|
3045
|
-
c =
|
3047
|
+
c = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
3046
3048
|
} else
|
3047
3049
|
break;
|
3048
3050
|
}
|
@@ -3051,7 +3053,7 @@ var pi = (
|
|
3051
3053
|
l === "other" && (o = !0), this.bumpSpace();
|
3052
3054
|
var p = this.clonePosition();
|
3053
3055
|
if (!this.bumpIf("{"))
|
3054
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3056
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
3055
3057
|
var g = this.parseMessage(t + 1, r, n);
|
3056
3058
|
if (g.err)
|
3057
3059
|
return g;
|
@@ -3062,11 +3064,11 @@ var pi = (
|
|
3062
3064
|
l,
|
3063
3065
|
{
|
3064
3066
|
value: g.val,
|
3065
|
-
location:
|
3067
|
+
location: v(p, this.clonePosition())
|
3066
3068
|
}
|
3067
3069
|
]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
|
3068
3070
|
}
|
3069
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3071
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3070
3072
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3071
3073
|
var n = 1, i = this.clonePosition();
|
3072
3074
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3077,7 +3079,7 @@ var pi = (
|
|
3077
3079
|
else
|
3078
3080
|
break;
|
3079
3081
|
}
|
3080
|
-
var u =
|
3082
|
+
var u = v(i, this.clonePosition());
|
3081
3083
|
return s ? (o *= n, ci(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
3082
3084
|
}, e.prototype.offset = function() {
|
3083
3085
|
return this.position.offset;
|
@@ -3093,7 +3095,7 @@ var pi = (
|
|
3093
3095
|
var t = this.position.offset;
|
3094
3096
|
if (t >= this.message.length)
|
3095
3097
|
throw Error("out of bound");
|
3096
|
-
var r =
|
3098
|
+
var r = fr(this.message, t);
|
3097
3099
|
if (r === void 0)
|
3098
3100
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3099
3101
|
return r;
|
@@ -3112,7 +3114,7 @@ var pi = (
|
|
3112
3114
|
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);
|
3113
3115
|
}
|
3114
3116
|
}, e.prototype.bumpIf = function(t) {
|
3115
|
-
if (
|
3117
|
+
if (St(this.message, t, this.offset())) {
|
3116
3118
|
for (var r = 0; r < t.length; r++)
|
3117
3119
|
this.bump();
|
3118
3120
|
return !0;
|
@@ -3134,7 +3136,7 @@ var pi = (
|
|
3134
3136
|
break;
|
3135
3137
|
}
|
3136
3138
|
}, e.prototype.bumpSpace = function() {
|
3137
|
-
for (; !this.isEOF() &&
|
3139
|
+
for (; !this.isEOF() && dr(this.char()); )
|
3138
3140
|
this.bump();
|
3139
3141
|
}, e.prototype.peek = function() {
|
3140
3142
|
if (this.isEOF())
|
@@ -3153,7 +3155,7 @@ function gi(e) {
|
|
3153
3155
|
function bi(e) {
|
3154
3156
|
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;
|
3155
3157
|
}
|
3156
|
-
function
|
3158
|
+
function dr(e) {
|
3157
3159
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3158
3160
|
}
|
3159
3161
|
function yi(e) {
|
@@ -3161,14 +3163,14 @@ function yi(e) {
|
|
3161
3163
|
}
|
3162
3164
|
function rt(e) {
|
3163
3165
|
e.forEach(function(t) {
|
3164
|
-
if (delete t.location,
|
3166
|
+
if (delete t.location, ir(t) || or(t))
|
3165
3167
|
for (var r in t.options)
|
3166
3168
|
delete t.options[r].location, rt(t.options[r].value);
|
3167
3169
|
else
|
3168
|
-
|
3170
|
+
tr(t) && ar(t.style) || (rr(t) || nr(t)) && Je(t.style) ? delete t.style.location : sr(t) && rt(t.children);
|
3169
3171
|
});
|
3170
3172
|
}
|
3171
|
-
function
|
3173
|
+
function _i(e, t) {
|
3172
3174
|
t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3173
3175
|
var r = new pi(e, t).parse();
|
3174
3176
|
if (r.err) {
|
@@ -3193,7 +3195,7 @@ var Oe = (
|
|
3193
3195
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3194
3196
|
}, t;
|
3195
3197
|
}(Error)
|
3196
|
-
),
|
3198
|
+
), Bt = (
|
3197
3199
|
/** @class */
|
3198
3200
|
function(e) {
|
3199
3201
|
Pe(t, e);
|
@@ -3202,7 +3204,7 @@ var Oe = (
|
|
3202
3204
|
}
|
3203
3205
|
return t;
|
3204
3206
|
}(Oe)
|
3205
|
-
),
|
3207
|
+
), vi = (
|
3206
3208
|
/** @class */
|
3207
3209
|
function(e) {
|
3208
3210
|
Pe(t, e);
|
@@ -3234,7 +3236,7 @@ function Ci(e) {
|
|
3234
3236
|
return typeof e == "function";
|
3235
3237
|
}
|
3236
3238
|
function Be(e, t, r, n, i, s, o) {
|
3237
|
-
if (e.length === 1 &&
|
3239
|
+
if (e.length === 1 && xt(e[0]))
|
3238
3240
|
return [
|
3239
3241
|
{
|
3240
3242
|
type: F.literal,
|
@@ -3243,7 +3245,7 @@ function Be(e, t, r, n, i, s, o) {
|
|
3243
3245
|
];
|
3244
3246
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3245
3247
|
var c = l[u];
|
3246
|
-
if (
|
3248
|
+
if (xt(c)) {
|
3247
3249
|
a.push({
|
3248
3250
|
type: F.literal,
|
3249
3251
|
value: c.value
|
@@ -3268,7 +3270,7 @@ function Be(e, t, r, n, i, s, o) {
|
|
3268
3270
|
});
|
3269
3271
|
continue;
|
3270
3272
|
}
|
3271
|
-
if (
|
3273
|
+
if (rr(c)) {
|
3272
3274
|
var p = typeof c.style == "string" ? n.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
|
3273
3275
|
a.push({
|
3274
3276
|
type: F.literal,
|
@@ -3276,7 +3278,7 @@ function Be(e, t, r, n, i, s, o) {
|
|
3276
3278
|
});
|
3277
3279
|
continue;
|
3278
3280
|
}
|
3279
|
-
if (
|
3281
|
+
if (nr(c)) {
|
3280
3282
|
var p = typeof c.style == "string" ? n.time[c.style] : Je(c.style) ? c.style.parsedOptions : n.time.medium;
|
3281
3283
|
a.push({
|
3282
3284
|
type: F.literal,
|
@@ -3284,18 +3286,18 @@ function Be(e, t, r, n, i, s, o) {
|
|
3284
3286
|
});
|
3285
3287
|
continue;
|
3286
3288
|
}
|
3287
|
-
if (
|
3288
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
3289
|
+
if (tr(c)) {
|
3290
|
+
var p = typeof c.style == "string" ? n.number[c.style] : ar(c.style) ? c.style.parsedOptions : void 0;
|
3289
3291
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3290
3292
|
type: F.literal,
|
3291
3293
|
value: r.getNumberFormat(t, p).format(f)
|
3292
3294
|
});
|
3293
3295
|
continue;
|
3294
3296
|
}
|
3295
|
-
if (
|
3297
|
+
if (sr(c)) {
|
3296
3298
|
var g = c.children, b = c.value, d = i[b];
|
3297
3299
|
if (!Ci(d))
|
3298
|
-
throw new
|
3300
|
+
throw new vi(b, "function", o);
|
3299
3301
|
var H = Be(g, t, r, n, i, s), E = d(H.map(function(L) {
|
3300
3302
|
return L.value;
|
3301
3303
|
}));
|
@@ -3306,14 +3308,14 @@ function Be(e, t, r, n, i, s, o) {
|
|
3306
3308
|
};
|
3307
3309
|
}));
|
3308
3310
|
}
|
3309
|
-
if (
|
3311
|
+
if (ir(c)) {
|
3310
3312
|
var w = c.options[f] || c.options.other;
|
3311
3313
|
if (!w)
|
3312
|
-
throw new
|
3314
|
+
throw new Bt(c.value, f, Object.keys(c.options), o);
|
3313
3315
|
a.push.apply(a, Be(w.value, t, r, n, i));
|
3314
3316
|
continue;
|
3315
3317
|
}
|
3316
|
-
if (
|
3318
|
+
if (or(c)) {
|
3317
3319
|
var w = c.options["=".concat(f)];
|
3318
3320
|
if (!w) {
|
3319
3321
|
if (!Intl.PluralRules)
|
@@ -3324,7 +3326,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3324
3326
|
w = c.options[O] || c.options.other;
|
3325
3327
|
}
|
3326
3328
|
if (!w)
|
3327
|
-
throw new
|
3329
|
+
throw new Bt(c.value, f, Object.keys(c.options), o);
|
3328
3330
|
a.push.apply(a, Be(w.value, t, r, n, i, f - (c.offset || 0)));
|
3329
3331
|
continue;
|
3330
3332
|
}
|
@@ -3419,7 +3421,7 @@ var Ti = (
|
|
3419
3421
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3420
3422
|
var o = i || {};
|
3421
3423
|
o.formatters;
|
3422
|
-
var a =
|
3424
|
+
var a = Fn(o, ["formatters"]);
|
3423
3425
|
this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
|
3424
3426
|
} else
|
3425
3427
|
this.ast = t;
|
@@ -3438,7 +3440,7 @@ var Ti = (
|
|
3438
3440
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3439
3441
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3440
3442
|
}
|
3441
|
-
}, e.__parse =
|
3443
|
+
}, e.__parse = _i, e.formats = {
|
3442
3444
|
number: {
|
3443
3445
|
integer: {
|
3444
3446
|
maximumFractionDigits: 0
|
@@ -3520,7 +3522,7 @@ function Ai(e, t) {
|
|
3520
3522
|
n = void 0;
|
3521
3523
|
return n;
|
3522
3524
|
}
|
3523
|
-
const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r),
|
3525
|
+
const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), pr = (e, t) => {
|
3524
3526
|
if (t == null)
|
3525
3527
|
return;
|
3526
3528
|
if (t in W && e in W[t])
|
@@ -3532,16 +3534,16 @@ const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][
|
|
3532
3534
|
return Bi(e, t, s);
|
3533
3535
|
}
|
3534
3536
|
};
|
3535
|
-
let
|
3537
|
+
let lt;
|
3536
3538
|
const fe = Ne({});
|
3537
3539
|
function Ii(e) {
|
3538
|
-
return
|
3540
|
+
return lt[e] || null;
|
3539
3541
|
}
|
3540
|
-
function
|
3541
|
-
return e in
|
3542
|
+
function gr(e) {
|
3543
|
+
return e in lt;
|
3542
3544
|
}
|
3543
3545
|
function Mi(e, t) {
|
3544
|
-
if (!
|
3546
|
+
if (!gr(e))
|
3545
3547
|
return null;
|
3546
3548
|
const r = Ii(e);
|
3547
3549
|
return Ai(r, t);
|
@@ -3552,28 +3554,28 @@ function Li(e) {
|
|
3552
3554
|
const t = Fe(e);
|
3553
3555
|
for (let r = 0; r < t.length; r++) {
|
3554
3556
|
const n = t[r];
|
3555
|
-
if (
|
3557
|
+
if (gr(n))
|
3556
3558
|
return n;
|
3557
3559
|
}
|
3558
3560
|
}
|
3559
|
-
function
|
3560
|
-
delete W[e], fe.update((r) => (r[e] =
|
3561
|
+
function br(e, ...t) {
|
3562
|
+
delete W[e], fe.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
3561
3563
|
}
|
3562
3564
|
ce(
|
3563
3565
|
[fe],
|
3564
3566
|
([e]) => Object.keys(e)
|
3565
3567
|
);
|
3566
|
-
fe.subscribe((e) =>
|
3568
|
+
fe.subscribe((e) => lt = e);
|
3567
3569
|
const Ie = {};
|
3568
3570
|
function Ni(e, t) {
|
3569
3571
|
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
3570
3572
|
}
|
3571
|
-
function
|
3573
|
+
function yr(e) {
|
3572
3574
|
return Ie[e];
|
3573
3575
|
}
|
3574
3576
|
function Pi(e) {
|
3575
3577
|
return Fe(e).map((t) => {
|
3576
|
-
const r =
|
3578
|
+
const r = yr(t);
|
3577
3579
|
return [t, r ? [...r] : []];
|
3578
3580
|
}).filter(([, t]) => t.length > 0);
|
3579
3581
|
}
|
@@ -3581,14 +3583,14 @@ function nt(e) {
|
|
3581
3583
|
return e == null ? !1 : Fe(e).some(
|
3582
3584
|
(t) => {
|
3583
3585
|
var r;
|
3584
|
-
return (r =
|
3586
|
+
return (r = yr(t)) == null ? void 0 : r.size;
|
3585
3587
|
}
|
3586
3588
|
);
|
3587
3589
|
}
|
3588
3590
|
function Oi(e, t) {
|
3589
3591
|
return Promise.all(
|
3590
3592
|
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
3591
|
-
).then((n) =>
|
3593
|
+
).then((n) => br(e, ...n));
|
3592
3594
|
}
|
3593
3595
|
const ge = {};
|
3594
3596
|
function _r(e) {
|
@@ -3646,22 +3648,22 @@ function he() {
|
|
3646
3648
|
return Di;
|
3647
3649
|
}
|
3648
3650
|
const ze = Ne(!1);
|
3649
|
-
var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors,
|
3650
|
-
for (var r in t
|
3651
|
-
$i.call(t, r) &&
|
3652
|
-
if (
|
3653
|
-
for (var r of
|
3654
|
-
ji.call(t, r) &&
|
3651
|
+
var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
|
3652
|
+
for (var r in t)
|
3653
|
+
$i.call(t, r) && Mt(e, r, t[r]);
|
3654
|
+
if (It)
|
3655
|
+
for (var r of It(t))
|
3656
|
+
ji.call(t, r) && Mt(e, r, t[r]);
|
3655
3657
|
return e;
|
3656
3658
|
}, Xi = (e, t) => Gi(e, ki(t));
|
3657
3659
|
let it;
|
3658
3660
|
const Me = Ne(null);
|
3659
|
-
function
|
3661
|
+
function Lt(e) {
|
3660
3662
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3661
3663
|
}
|
3662
3664
|
function Fe(e, t = he().fallbackLocale) {
|
3663
|
-
const r =
|
3664
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3665
|
+
const r = Lt(e);
|
3666
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
3665
3667
|
}
|
3666
3668
|
function K() {
|
3667
3669
|
return it != null ? it : void 0;
|
@@ -3692,20 +3694,20 @@ const Wi = (e) => {
|
|
3692
3694
|
return i in t ? t[i] : t[i] = e(n);
|
3693
3695
|
};
|
3694
3696
|
};
|
3695
|
-
var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols,
|
3697
|
+
var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
3696
3698
|
for (var r in t || (t = {}))
|
3697
|
-
|
3699
|
+
vr.call(t, r) && Nt(e, r, t[r]);
|
3698
3700
|
if (Le)
|
3699
3701
|
for (var r of Le(t))
|
3700
|
-
|
3702
|
+
Er.call(t, r) && Nt(e, r, t[r]);
|
3701
3703
|
return e;
|
3702
3704
|
}, me = (e, t) => {
|
3703
3705
|
var r = {};
|
3704
3706
|
for (var n in e)
|
3705
|
-
|
3707
|
+
vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3706
3708
|
if (e != null && Le)
|
3707
3709
|
for (var n of Le(e))
|
3708
|
-
t.indexOf(n) < 0 &&
|
3710
|
+
t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
|
3709
3711
|
return r;
|
3710
3712
|
};
|
3711
3713
|
const xe = (e, t) => {
|
@@ -3742,21 +3744,21 @@ const xe = (e, t) => {
|
|
3742
3744
|
} = t, n = me(t, [
|
3743
3745
|
"locale"
|
3744
3746
|
]);
|
3745
|
-
return Zi(
|
3747
|
+
return Zi(ut({ locale: r }, n));
|
3746
3748
|
}, Yi = (e = {}) => {
|
3747
3749
|
var t = e, {
|
3748
3750
|
locale: r = K()
|
3749
3751
|
} = t, n = me(t, [
|
3750
3752
|
"locale"
|
3751
3753
|
]);
|
3752
|
-
return Qi(
|
3754
|
+
return Qi(ut({ locale: r }, n));
|
3753
3755
|
}, Ki = (e = {}) => {
|
3754
3756
|
var t = e, {
|
3755
3757
|
locale: r = K()
|
3756
3758
|
} = t, n = me(t, [
|
3757
3759
|
"locale"
|
3758
3760
|
]);
|
3759
|
-
return qi(
|
3761
|
+
return qi(ut({ locale: r }, n));
|
3760
3762
|
}, eo = Re(
|
3761
3763
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3762
3764
|
(e, t = K()) => new Ti(e, t, he().formats, {
|
@@ -3775,7 +3777,7 @@ const xe = (e, t) => {
|
|
3775
3777
|
throw new Error(
|
3776
3778
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3777
3779
|
);
|
3778
|
-
let c =
|
3780
|
+
let c = pr(e, u);
|
3779
3781
|
if (!c)
|
3780
3782
|
c = (s = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
3781
3783
|
else if (typeof c != "string")
|
@@ -3794,7 +3796,7 @@ const xe = (e, t) => {
|
|
3794
3796
|
);
|
3795
3797
|
}
|
3796
3798
|
return m;
|
3797
|
-
}, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) =>
|
3799
|
+
}, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) => pr(e, t);
|
3798
3800
|
ce([z, fe], () => to);
|
3799
3801
|
ce([z], () => ro);
|
3800
3802
|
ce([z], () => no);
|
@@ -3805,13 +3807,13 @@ function so({ withLocale: e, translations: t }) {
|
|
3805
3807
|
r == null && (fe.set(t), z.set(e));
|
3806
3808
|
});
|
3807
3809
|
}
|
3808
|
-
function
|
3809
|
-
|
3810
|
+
function Pt(e, t) {
|
3811
|
+
br(e, t);
|
3810
3812
|
}
|
3811
3813
|
function ao(e) {
|
3812
3814
|
z.set(e);
|
3813
3815
|
}
|
3814
|
-
const
|
3816
|
+
const Ot = {
|
3815
3817
|
en: {
|
3816
3818
|
login: "Login",
|
3817
3819
|
register: "Register",
|
@@ -3869,21 +3871,21 @@ const Ft = {
|
|
3869
3871
|
}
|
3870
3872
|
};
|
3871
3873
|
function lo(e) {
|
3872
|
-
|
3874
|
+
zr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.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}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.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;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;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}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.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}.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:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.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}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.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)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
3873
3875
|
}
|
3874
|
-
function
|
3876
|
+
function Ft(e, t, r) {
|
3875
3877
|
const n = e.slice();
|
3876
3878
|
return n[57] = t[r], n[59] = r, n;
|
3877
3879
|
}
|
3878
|
-
function
|
3880
|
+
function Rt(e, t, r) {
|
3879
3881
|
const n = e.slice();
|
3880
3882
|
return n[60] = t[r], n;
|
3881
3883
|
}
|
3882
|
-
function
|
3884
|
+
function Dt(e, t, r) {
|
3883
3885
|
const n = e.slice();
|
3884
3886
|
return n[63] = t[r], n[65] = r, n;
|
3885
3887
|
}
|
3886
|
-
function
|
3888
|
+
function Ut(e) {
|
3887
3889
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
|
3888
3890
|
/*sliderdata*/
|
3889
3891
|
e[9]
|
@@ -3893,14 +3895,14 @@ function Gt(e) {
|
|
3893
3895
|
o[57].id
|
3894
3896
|
);
|
3895
3897
|
for (let o = 0; o < i.length; o += 1) {
|
3896
|
-
let a =
|
3897
|
-
r.set(u, t[o] =
|
3898
|
+
let a = Ft(e, i, o), u = s(a);
|
3899
|
+
r.set(u, t[o] = Xt(u, a));
|
3898
3900
|
}
|
3899
3901
|
return {
|
3900
3902
|
c() {
|
3901
3903
|
for (let o = 0; o < t.length; o += 1)
|
3902
3904
|
t[o].c();
|
3903
|
-
n =
|
3905
|
+
n = _e();
|
3904
3906
|
},
|
3905
3907
|
m(o, a) {
|
3906
3908
|
for (let u = 0; u < t.length; u += 1)
|
@@ -3912,7 +3914,7 @@ function Gt(e) {
|
|
3912
3914
|
1183695 && (i = se(
|
3913
3915
|
/*sliderdata*/
|
3914
3916
|
o[9]
|
3915
|
-
), t =
|
3917
|
+
), t = qt(t, a, s, 1, o, i, r, n.parentNode, Qt, Xt, n, Ft));
|
3916
3918
|
},
|
3917
3919
|
d(o) {
|
3918
3920
|
o && U(n);
|
@@ -3968,15 +3970,15 @@ function ho(e) {
|
|
3968
3970
|
}
|
3969
3971
|
};
|
3970
3972
|
}
|
3971
|
-
function
|
3973
|
+
function Gt(e) {
|
3972
3974
|
let t, r = (
|
3973
3975
|
/*subGroupsData*/
|
3974
3976
|
e[10].length > 0 && /*showsubgroups*/
|
3975
|
-
e[2] == "true" &&
|
3977
|
+
e[2] == "true" && kt(e)
|
3976
3978
|
);
|
3977
3979
|
return {
|
3978
3980
|
c() {
|
3979
|
-
r && r.c(), t =
|
3981
|
+
r && r.c(), t = _e();
|
3980
3982
|
},
|
3981
3983
|
m(n, i) {
|
3982
3984
|
r && r.m(n, i), k(n, t, i);
|
@@ -3984,20 +3986,20 @@ function kt(e) {
|
|
3984
3986
|
p(n, i) {
|
3985
3987
|
/*subGroupsData*/
|
3986
3988
|
n[10].length > 0 && /*showsubgroups*/
|
3987
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3989
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = kt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3988
3990
|
},
|
3989
3991
|
d(n) {
|
3990
3992
|
n && U(t), r && r.d(n);
|
3991
3993
|
}
|
3992
3994
|
};
|
3993
3995
|
}
|
3994
|
-
function
|
3996
|
+
function kt(e) {
|
3995
3997
|
let t, r = se(
|
3996
3998
|
/*subGroupsData*/
|
3997
3999
|
e[10]
|
3998
4000
|
), n = [];
|
3999
4001
|
for (let i = 0; i < r.length; i += 1)
|
4000
|
-
n[i] =
|
4002
|
+
n[i] = Vt(Rt(e, r, i));
|
4001
4003
|
return {
|
4002
4004
|
c() {
|
4003
4005
|
t = P("ul");
|
@@ -4019,8 +4021,8 @@ function $t(e) {
|
|
4019
4021
|
);
|
4020
4022
|
let o;
|
4021
4023
|
for (o = 0; o < r.length; o += 1) {
|
4022
|
-
const a =
|
4023
|
-
n[o] ? n[o].p(a, s) : (n[o] =
|
4024
|
+
const a = Rt(i, r, o);
|
4025
|
+
n[o] ? n[o].p(a, s) : (n[o] = Vt(a), n[o].c(), n[o].m(t, null));
|
4024
4026
|
}
|
4025
4027
|
for (; o < n.length; o += 1)
|
4026
4028
|
n[o].d(1);
|
@@ -4028,11 +4030,11 @@ function $t(e) {
|
|
4028
4030
|
}
|
4029
4031
|
},
|
4030
4032
|
d(i) {
|
4031
|
-
i && U(t),
|
4033
|
+
i && U(t), qr(n, i);
|
4032
4034
|
}
|
4033
4035
|
};
|
4034
4036
|
}
|
4035
|
-
function
|
4037
|
+
function $t(e) {
|
4036
4038
|
var c;
|
4037
4039
|
let t, r, n = (
|
4038
4040
|
/*subGroupItem*/
|
@@ -4085,17 +4087,17 @@ function jt(e) {
|
|
4085
4087
|
}
|
4086
4088
|
};
|
4087
4089
|
}
|
4088
|
-
function
|
4090
|
+
function jt(e, t) {
|
4089
4091
|
let r, n, i = (
|
4090
4092
|
/*index*/
|
4091
4093
|
t[59] == /*subGroup*/
|
4092
|
-
t[60].index &&
|
4094
|
+
t[60].index && $t(t)
|
4093
4095
|
);
|
4094
4096
|
return {
|
4095
4097
|
key: e,
|
4096
4098
|
first: null,
|
4097
4099
|
c() {
|
4098
|
-
r =
|
4100
|
+
r = _e(), i && i.c(), n = _e(), this.first = r;
|
4099
4101
|
},
|
4100
4102
|
m(s, o) {
|
4101
4103
|
k(s, r, o), i && i.m(s, o), k(s, n, o);
|
@@ -4103,14 +4105,14 @@ function Vt(e, t) {
|
|
4103
4105
|
p(s, o) {
|
4104
4106
|
t = s, /*index*/
|
4105
4107
|
t[59] == /*subGroup*/
|
4106
|
-
t[60].index ? i ? i.p(t, o) : (i =
|
4108
|
+
t[60].index ? i ? i.p(t, o) : (i = $t(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4107
4109
|
},
|
4108
4110
|
d(s) {
|
4109
4111
|
s && (U(r), U(n)), i && i.d(s);
|
4110
4112
|
}
|
4111
4113
|
};
|
4112
4114
|
}
|
4113
|
-
function
|
4115
|
+
function Vt(e) {
|
4114
4116
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
|
4115
4117
|
/*subGroup*/
|
4116
4118
|
e[60].items
|
@@ -4120,14 +4122,14 @@ function Xt(e) {
|
|
4120
4122
|
o[63].id
|
4121
4123
|
);
|
4122
4124
|
for (let o = 0; o < i.length; o += 1) {
|
4123
|
-
let a =
|
4124
|
-
r.set(u, t[o] =
|
4125
|
+
let a = Dt(e, i, o), u = s(a);
|
4126
|
+
r.set(u, t[o] = jt(u, a));
|
4125
4127
|
}
|
4126
4128
|
return {
|
4127
4129
|
c() {
|
4128
4130
|
for (let o = 0; o < t.length; o += 1)
|
4129
4131
|
t[o].c();
|
4130
|
-
n =
|
4132
|
+
n = _e();
|
4131
4133
|
},
|
4132
4134
|
m(o, a) {
|
4133
4135
|
for (let u = 0; u < t.length; u += 1)
|
@@ -4139,7 +4141,7 @@ function Xt(e) {
|
|
4139
4141
|
133056 && (i = se(
|
4140
4142
|
/*subGroup*/
|
4141
4143
|
o[60].items
|
4142
|
-
), t =
|
4144
|
+
), t = qt(t, a, s, 1, o, i, r, n.parentNode, Qt, jt, n, Dt));
|
4143
4145
|
},
|
4144
4146
|
d(o) {
|
4145
4147
|
o && U(n);
|
@@ -4148,7 +4150,7 @@ function Xt(e) {
|
|
4148
4150
|
}
|
4149
4151
|
};
|
4150
4152
|
}
|
4151
|
-
function
|
4153
|
+
function Xt(e, t) {
|
4152
4154
|
let r, n, i, s, o, a, u, l, c, m, f;
|
4153
4155
|
function p(E, w) {
|
4154
4156
|
return (
|
@@ -4161,7 +4163,7 @@ function Wt(e, t) {
|
|
4161
4163
|
t[11][
|
4162
4164
|
/*index*/
|
4163
4165
|
t[59]
|
4164
|
-
] == !0 &&
|
4166
|
+
] == !0 && Gt(t)
|
4165
4167
|
);
|
4166
4168
|
function H(...E) {
|
4167
4169
|
return (
|
@@ -4213,7 +4215,7 @@ function Wt(e, t) {
|
|
4213
4215
|
t[11][
|
4214
4216
|
/*index*/
|
4215
4217
|
t[59]
|
4216
|
-
] == !0 ? d ? d.p(t, w) : (d =
|
4218
|
+
] == !0 ? d ? d.p(t, w) : (d = Gt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
|
4217
4219
|
515 && c !== (c = "CarouselItem " + /*activeindex*/
|
4218
4220
|
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4219
4221
|
/*activeindex*/
|
@@ -4234,7 +4236,7 @@ function Wt(e, t) {
|
|
4234
4236
|
function co(e) {
|
4235
4237
|
let t, r, n, i, s, o, a, u, l, c, m, f, p, g, b, d = (
|
4236
4238
|
/*sliderdata*/
|
4237
|
-
e[9].length > 0 &&
|
4239
|
+
e[9].length > 0 && Ut(e)
|
4238
4240
|
);
|
4239
4241
|
return {
|
4240
4242
|
c() {
|
@@ -4275,7 +4277,7 @@ function co(e) {
|
|
4275
4277
|
/*handleMouseMove*/
|
4276
4278
|
e[16]
|
4277
4279
|
),
|
4278
|
-
V(o, "click",
|
4280
|
+
V(o, "click", Jr(
|
4279
4281
|
/*click_handler*/
|
4280
4282
|
e[36]
|
4281
4283
|
)),
|
@@ -4289,7 +4291,7 @@ function co(e) {
|
|
4289
4291
|
},
|
4290
4292
|
p(H, E) {
|
4291
4293
|
/*sliderdata*/
|
4292
|
-
H[9].length > 0 ? d ? d.p(H, E) : (d =
|
4294
|
+
H[9].length > 0 ? d ? d.p(H, E) : (d = Ut(H), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
|
4293
4295
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4294
4296
|
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
|
4295
4297
|
1 && f !== (f = /*location*/
|
@@ -4305,33 +4307,33 @@ function co(e) {
|
|
4305
4307
|
};
|
4306
4308
|
}
|
4307
4309
|
function fo(e, t, r) {
|
4308
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t,
|
4310
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, _;
|
4309
4311
|
so({ withLocale: "en", translations: {} });
|
4310
4312
|
let S = !1, R = 0, D = 0;
|
4311
4313
|
const ee = (h) => {
|
4312
4314
|
var x, I;
|
4313
|
-
h.preventDefault(), S = !0,
|
4315
|
+
h.preventDefault(), S = !0, _ == null || _.classList.add("dragging"), R = h.pageX - ((x = _ == null ? void 0 : _.offsetLeft) != null ? x : 0), D = (I = _ == null ? void 0 : _.scrollLeft) != null ? I : 0;
|
4316
|
+
}, xr = (h) => {
|
4317
|
+
h.preventDefault(), S = !1, _ == null || _.classList.remove("dragging");
|
4314
4318
|
}, Cr = (h) => {
|
4315
|
-
|
4319
|
+
S = !1, _ == null || _.classList.remove("dragging");
|
4316
4320
|
}, wr = (h) => {
|
4317
|
-
|
4318
|
-
}, Hr = (h) => {
|
4319
|
-
if (!S || !v)
|
4321
|
+
if (!S || !_)
|
4320
4322
|
return;
|
4321
4323
|
h.preventDefault();
|
4322
|
-
const I = (h.pageX -
|
4323
|
-
r(5,
|
4324
|
-
},
|
4324
|
+
const I = (h.pageX - _.offsetLeft - R) * 2.5;
|
4325
|
+
r(5, _.scrollLeft = D - I, _);
|
4326
|
+
}, Hr = () => {
|
4325
4327
|
fetch(f).then((x) => x.json()).then((x) => {
|
4326
4328
|
Object.keys(x).forEach((I) => {
|
4327
|
-
|
4329
|
+
Pt(I, x[I]);
|
4328
4330
|
});
|
4329
4331
|
}).catch((x) => {
|
4330
4332
|
console.log(x);
|
4331
4333
|
});
|
4332
4334
|
};
|
4333
|
-
Object.keys(
|
4334
|
-
|
4335
|
+
Object.keys(Ot).forEach((h) => {
|
4336
|
+
Pt(h, Ot[h]);
|
4335
4337
|
});
|
4336
4338
|
let Z, de, De, j, pe = [], we = [], te = [], N, Ue = (h, x, I, Q, X) => {
|
4337
4339
|
var q;
|
@@ -4362,18 +4364,18 @@ function fo(e, t, r) {
|
|
4362
4364
|
window.location.href
|
4363
4365
|
);
|
4364
4366
|
}
|
4365
|
-
},
|
4367
|
+
}, ht = () => {
|
4366
4368
|
N && (te.length !== Z ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4367
|
-
},
|
4369
|
+
}, ct = () => {
|
4368
4370
|
N && (te.length !== Z ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4369
4371
|
};
|
4370
|
-
const
|
4371
|
-
h.data.type == "SliderData" && h.data.identity == m && (r(9, pe = h.data.data), r(11, te = new Array(pe.length).fill(!1)), H == "true" &&
|
4372
|
+
const ft = (h) => {
|
4373
|
+
h.data.type == "SliderData" && h.data.identity == m && (r(9, pe = h.data.data), r(11, te = new Array(pe.length).fill(!1)), H == "true" && Ar()), h.data.type == "GoToHomepage" && pe.forEach((x, I) => {
|
4372
4374
|
x.path.endsWith("/casino") && (r(6, Z = I), r(6, Z));
|
4373
4375
|
});
|
4374
|
-
},
|
4376
|
+
}, Sr = () => {
|
4375
4377
|
ao(b);
|
4376
|
-
},
|
4378
|
+
}, Tr = (h, x, I) => {
|
4377
4379
|
if (u == "secondaryMenu" && n && i && b && h.id) {
|
4378
4380
|
let Q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
|
4379
4381
|
fetch(Q.href).then((X) => X.json()).then((X) => {
|
@@ -4387,57 +4389,57 @@ function fo(e, t, r) {
|
|
4387
4389
|
window.location.href
|
4388
4390
|
);
|
4389
4391
|
const q = [];
|
4390
|
-
we.map((
|
4391
|
-
q.find((
|
4392
|
+
we.map((Dr) => (Dr.items.forEach((mt) => {
|
4393
|
+
q.find((Ur) => mt.id == Ur) || q.push(mt.id);
|
4392
4394
|
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
4393
4395
|
}).then(() => {
|
4394
|
-
|
4396
|
+
_.querySelectorAll(".DropDown") && He();
|
4395
4397
|
});
|
4396
4398
|
}
|
4397
4399
|
u == "headerMain" && window.postMessage({ type: o, item: h }, window.location.href);
|
4398
4400
|
}, He = () => {
|
4399
|
-
const h =
|
4401
|
+
const h = _.querySelectorAll(".DropDown");
|
4400
4402
|
document.activeElement.blur(), N.classList.add("isScrolling");
|
4401
4403
|
for (let x = 0; x < h.length; x++)
|
4402
4404
|
h[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4403
4405
|
N.classList.remove("isScrolling");
|
4404
|
-
},
|
4406
|
+
}, Ar = () => {
|
4405
4407
|
pe.forEach((h, x) => {
|
4406
4408
|
var I;
|
4407
|
-
((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te),
|
4409
|
+
((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te), Tr(h, x));
|
4408
4410
|
});
|
4409
|
-
},
|
4411
|
+
}, Br = (h) => {
|
4410
4412
|
let x = "";
|
4411
4413
|
return h.id === "LOBBY" ? x = w : h.id === "MYGAMES" && (x = O), h.icon || x;
|
4412
4414
|
};
|
4413
|
-
|
4415
|
+
tn(() => (window.addEventListener("message", ft, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4414
4416
|
() => {
|
4415
4417
|
N.addEventListener("scroll", He);
|
4416
4418
|
},
|
4417
4419
|
500
|
4418
4420
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4419
|
-
window.removeEventListener("message",
|
4421
|
+
window.removeEventListener("message", ft), _.removeEventListener("scroll", He);
|
4420
4422
|
}));
|
4421
|
-
function
|
4422
|
-
|
4423
|
+
function Ir(h) {
|
4424
|
+
rn.call(this, e, h);
|
4423
4425
|
}
|
4424
|
-
const
|
4426
|
+
const Mr = () => ht(), Lr = (h, x, I, Q, X) => {
|
4425
4427
|
Ue(h, x, I, Q, "secondary"), X.stopPropagation();
|
4426
|
-
},
|
4428
|
+
}, Nr = (h, x, I) => {
|
4427
4429
|
Ue(h, x, null, null, "main"), I.preventDefault();
|
4428
4430
|
};
|
4429
|
-
function
|
4431
|
+
function Pr(h) {
|
4430
4432
|
ye[h ? "unshift" : "push"](() => {
|
4431
|
-
|
4433
|
+
_ = h, r(5, _);
|
4432
4434
|
});
|
4433
4435
|
}
|
4434
|
-
function
|
4436
|
+
function Or(h) {
|
4435
4437
|
ye[h ? "unshift" : "push"](() => {
|
4436
4438
|
N = h, r(12, N);
|
4437
4439
|
});
|
4438
4440
|
}
|
4439
|
-
const
|
4440
|
-
function
|
4441
|
+
const Fr = () => ct();
|
4442
|
+
function Rr(h) {
|
4441
4443
|
ye[h ? "unshift" : "push"](() => {
|
4442
4444
|
j = h, r(4, j);
|
4443
4445
|
});
|
@@ -4447,19 +4449,19 @@ function fo(e, t, r) {
|
|
4447
4449
|
}, e.$$.update = () => {
|
4448
4450
|
e.$$.dirty[0] & /*activeindex*/
|
4449
4451
|
2, e.$$.dirty[0] & /*translationurl*/
|
4450
|
-
536870912 && f &&
|
4451
|
-
67108880 && l && j &&
|
4452
|
-
134217744 && c && j &&
|
4452
|
+
536870912 && f && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4453
|
+
67108880 && l && j && gn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4454
|
+
134217744 && c && j && bn(j, c), e.$$.dirty[0] & /*customStylingContainer*/
|
4453
4455
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4454
|
-
16 && L && j &&
|
4455
|
-
2 && b &&
|
4456
|
+
16 && L && j && yn(j, `${L}.Style`), e.$$.dirty[1] & /*lang*/
|
4457
|
+
2 && b && Sr();
|
4456
4458
|
}, [
|
4457
4459
|
u,
|
4458
4460
|
d,
|
4459
4461
|
H,
|
4460
4462
|
E,
|
4461
4463
|
j,
|
4462
|
-
|
4464
|
+
_,
|
4463
4465
|
Z,
|
4464
4466
|
de,
|
4465
4467
|
De,
|
@@ -4468,13 +4470,13 @@ function fo(e, t, r) {
|
|
4468
4470
|
te,
|
4469
4471
|
N,
|
4470
4472
|
ee,
|
4473
|
+
xr,
|
4471
4474
|
Cr,
|
4472
4475
|
wr,
|
4473
|
-
Hr,
|
4474
4476
|
Ue,
|
4477
|
+
ht,
|
4475
4478
|
ct,
|
4476
|
-
|
4477
|
-
Ir,
|
4479
|
+
Br,
|
4478
4480
|
n,
|
4479
4481
|
i,
|
4480
4482
|
s,
|
@@ -4490,24 +4492,24 @@ function fo(e, t, r) {
|
|
4490
4492
|
w,
|
4491
4493
|
O,
|
4492
4494
|
L,
|
4495
|
+
Ir,
|
4493
4496
|
Mr,
|
4494
4497
|
Lr,
|
4495
4498
|
Nr,
|
4496
4499
|
Pr,
|
4497
4500
|
Or,
|
4498
4501
|
Fr,
|
4499
|
-
Rr
|
4500
|
-
Dr
|
4502
|
+
Rr
|
4501
4503
|
];
|
4502
4504
|
}
|
4503
|
-
class mo extends
|
4505
|
+
class mo extends dn {
|
4504
4506
|
constructor(t) {
|
4505
|
-
super(),
|
4507
|
+
super(), fn(
|
4506
4508
|
this,
|
4507
4509
|
t,
|
4508
4510
|
fo,
|
4509
4511
|
co,
|
4510
|
-
|
4512
|
+
zt,
|
4511
4513
|
{
|
4512
4514
|
endpoint: 21,
|
4513
4515
|
datasource: 22,
|
@@ -4648,7 +4650,7 @@ class mo extends pn {
|
|
4648
4650
|
this.$$set({ mbsource: t }), B();
|
4649
4651
|
}
|
4650
4652
|
}
|
4651
|
-
|
4653
|
+
mn(mo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4652
4654
|
export {
|
4653
4655
|
mo as default
|
4654
4656
|
};
|