@everymatrix/casino-slider 1.74.3 → 1.74.5
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-DGvNwCMW.js → CasinoSlider-5lZXuYHt.js} +1196 -1139
- package/components/{CasinoSlider-BVogtiVI.js → CasinoSlider-CMPyMc_g.js} +980 -924
- package/components/CasinoSlider-CeKQcPVb.cjs +16 -0
- 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-DtRJg9TM.cjs +0 -16
@@ -1,76 +1,76 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var kr = Object.defineProperty, $r = Object.defineProperties;
|
2
|
+
var jr = Object.getOwnPropertyDescriptors;
|
3
|
+
var pt = Object.getOwnPropertySymbols;
|
4
|
+
var Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ge = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Vr.call(t, r) && Ge(e, r, t[r]);
|
8
|
+
if (pt)
|
9
|
+
for (var r of pt(t))
|
10
|
+
Xr.call(t, r) && Ge(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
15
|
-
var
|
12
|
+
}, bt = (e, t) => $r(e, jr(t));
|
13
|
+
var G = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var yt = (e, t, r) => new Promise((n, i) => {
|
15
|
+
var s = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
18
18
|
} catch (l) {
|
19
19
|
i(l);
|
20
20
|
}
|
21
|
-
},
|
21
|
+
}, o = (u) => {
|
22
22
|
try {
|
23
23
|
a(r.throw(u));
|
24
24
|
} catch (l) {
|
25
25
|
i(l);
|
26
26
|
}
|
27
|
-
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
function
|
30
|
+
function $() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function zt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function vt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function Y(e) {
|
39
|
+
e.forEach(zt);
|
40
40
|
}
|
41
|
-
function
|
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
|
-
let
|
48
|
-
function
|
49
|
-
return e === t ? !0 : (
|
47
|
+
let Se;
|
48
|
+
function _t(e, t) {
|
49
|
+
return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Wr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function zr(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
58
|
-
return
|
58
|
+
return $;
|
59
59
|
}
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
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 = Qr(e);
|
68
68
|
if (!n.getElementById(t)) {
|
69
|
-
const i =
|
70
|
-
i.id = t, i.textContent = r,
|
69
|
+
const i = P("style");
|
70
|
+
i.id = t, i.textContent = r, qr(n, i);
|
71
71
|
}
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function Qr(e) {
|
74
74
|
if (!e)
|
75
75
|
return document;
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -80,49 +80,54 @@ function Gr(e) {
|
|
80
80
|
t
|
81
81
|
) : e.ownerDocument;
|
82
82
|
}
|
83
|
-
function
|
84
|
-
return
|
83
|
+
function qr(e, t) {
|
84
|
+
return M(
|
85
85
|
/** @type {Document} */
|
86
86
|
e.head || e,
|
87
87
|
t
|
88
88
|
), t.sheet;
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function k(e, t, r) {
|
91
91
|
e.insertBefore(t, r || null);
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function U(e) {
|
94
94
|
e.parentNode && e.parentNode.removeChild(e);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function Jr(e, t) {
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
98
98
|
e[r] && e[r].d(t);
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function P(e) {
|
101
101
|
return document.createElement(e);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function Ce(e) {
|
104
104
|
return document.createTextNode(e);
|
105
105
|
}
|
106
|
-
function
|
107
|
-
return
|
106
|
+
function J() {
|
107
|
+
return Ce(" ");
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function ve() {
|
110
|
+
return Ce("");
|
111
111
|
}
|
112
|
-
function
|
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 Yr(e) {
|
116
|
+
return function(t) {
|
117
|
+
return t.preventDefault(), e.call(this, t);
|
118
|
+
};
|
119
|
+
}
|
120
|
+
function T(e, t, r) {
|
116
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
117
122
|
}
|
118
|
-
function
|
123
|
+
function Kr(e) {
|
119
124
|
return Array.from(e.childNodes);
|
120
125
|
}
|
121
|
-
function
|
126
|
+
function st(e, t) {
|
122
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
123
128
|
t);
|
124
129
|
}
|
125
|
-
function
|
130
|
+
function en(e) {
|
126
131
|
const t = {};
|
127
132
|
return e.childNodes.forEach(
|
128
133
|
/** @param {Element} node */
|
@@ -131,128 +136,132 @@ function Vr(e) {
|
|
131
136
|
}
|
132
137
|
), t;
|
133
138
|
}
|
134
|
-
let
|
135
|
-
function
|
136
|
-
|
139
|
+
let _e;
|
140
|
+
function be(e) {
|
141
|
+
_e = e;
|
137
142
|
}
|
138
|
-
function
|
139
|
-
if (!
|
143
|
+
function tn() {
|
144
|
+
if (!_e)
|
140
145
|
throw new Error("Function called outside component initialization");
|
141
|
-
return
|
146
|
+
return _e;
|
142
147
|
}
|
143
|
-
function
|
144
|
-
|
148
|
+
function rn(e) {
|
149
|
+
tn().$$.on_mount.push(e);
|
145
150
|
}
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
let Xe = !1;
|
150
|
-
function Zr() {
|
151
|
-
Xe || (Xe = !0, zr.then(A));
|
151
|
+
function nn(e, t) {
|
152
|
+
const r = e.$$.callbacks[t.type];
|
153
|
+
r && r.slice().forEach((n) => n.call(this, t));
|
152
154
|
}
|
153
|
-
|
154
|
-
|
155
|
+
const ie = [], ye = [];
|
156
|
+
let oe = [];
|
157
|
+
const Et = [], on = /* @__PURE__ */ Promise.resolve();
|
158
|
+
let Ze = !1;
|
159
|
+
function sn() {
|
160
|
+
Ze || (Ze = !0, on.then(B));
|
155
161
|
}
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
162
|
+
function Qe(e) {
|
163
|
+
oe.push(e);
|
164
|
+
}
|
165
|
+
const ke = /* @__PURE__ */ new Set();
|
166
|
+
let re = 0;
|
167
|
+
function B() {
|
168
|
+
if (re !== 0)
|
160
169
|
return;
|
161
|
-
const e =
|
170
|
+
const e = _e;
|
162
171
|
do {
|
163
172
|
try {
|
164
|
-
for (;
|
165
|
-
const t = re
|
166
|
-
|
173
|
+
for (; re < ie.length; ) {
|
174
|
+
const t = ie[re];
|
175
|
+
re++, be(t), an(t.$$);
|
167
176
|
}
|
168
177
|
} catch (t) {
|
169
|
-
throw
|
178
|
+
throw ie.length = 0, re = 0, t;
|
170
179
|
}
|
171
|
-
for (
|
172
|
-
|
173
|
-
for (let t = 0; t <
|
174
|
-
const r =
|
175
|
-
|
180
|
+
for (be(null), ie.length = 0, re = 0; ye.length; )
|
181
|
+
ye.pop()();
|
182
|
+
for (let t = 0; t < oe.length; t += 1) {
|
183
|
+
const r = oe[t];
|
184
|
+
ke.has(r) || (ke.add(r), r());
|
176
185
|
}
|
177
|
-
|
178
|
-
} while (
|
179
|
-
for (;
|
180
|
-
|
181
|
-
|
186
|
+
oe.length = 0;
|
187
|
+
} while (ie.length);
|
188
|
+
for (; Et.length; )
|
189
|
+
Et.pop()();
|
190
|
+
Ze = !1, ke.clear(), be(e);
|
182
191
|
}
|
183
|
-
function
|
192
|
+
function an(e) {
|
184
193
|
if (e.fragment !== null) {
|
185
|
-
e.update(),
|
194
|
+
e.update(), Y(e.before_update);
|
186
195
|
const t = e.dirty;
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
188
197
|
}
|
189
198
|
}
|
190
|
-
function
|
199
|
+
function ln(e) {
|
191
200
|
const t = [], r = [];
|
192
|
-
|
201
|
+
oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
|
193
202
|
}
|
194
|
-
const
|
195
|
-
function
|
196
|
-
e && e.i && (
|
203
|
+
const un = /* @__PURE__ */ new Set();
|
204
|
+
function Qt(e, t) {
|
205
|
+
e && e.i && (un.delete(e), e.i(t));
|
197
206
|
}
|
198
|
-
function
|
207
|
+
function se(e) {
|
199
208
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
200
209
|
}
|
201
|
-
function
|
210
|
+
function qt(e, t) {
|
202
211
|
e.d(1), t.delete(e.key);
|
203
212
|
}
|
204
|
-
function
|
205
|
-
let f = e.length, p =
|
213
|
+
function Jt(e, t, r, n, i, s, o, a, u, l, c, m) {
|
214
|
+
let f = e.length, p = s.length, g = f;
|
206
215
|
const b = {};
|
207
216
|
for (; g--; )
|
208
217
|
b[e[g].key] = g;
|
209
|
-
const d = [], H = /* @__PURE__ */ new Map(),
|
218
|
+
const d = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
|
210
219
|
for (g = p; g--; ) {
|
211
|
-
const
|
212
|
-
let
|
213
|
-
|
220
|
+
const S = m(i, s, g), R = r(S);
|
221
|
+
let D = o.get(R);
|
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]));
|
214
223
|
}
|
215
|
-
const O = /* @__PURE__ */ new Set(),
|
216
|
-
function
|
217
|
-
|
224
|
+
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
225
|
+
function v(S) {
|
226
|
+
Qt(S, 1), S.m(a, c), o.set(S.key, S), c = S.first, p--;
|
218
227
|
}
|
219
228
|
for (; f && p; ) {
|
220
|
-
const
|
221
|
-
|
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) ? v(S) : L.has(ee) ? f-- : E.get(D) > E.get(ee) ? (L.add(D), v(S)) : (O.add(ee), f--) : (u(R, o), f--);
|
222
231
|
}
|
223
232
|
for (; f--; ) {
|
224
|
-
const
|
225
|
-
H.has(
|
233
|
+
const S = e[f];
|
234
|
+
H.has(S.key) || u(S, o);
|
226
235
|
}
|
227
236
|
for (; p; )
|
228
|
-
|
229
|
-
return
|
237
|
+
v(d[p - 1]);
|
238
|
+
return Y(w), d;
|
230
239
|
}
|
231
|
-
function
|
240
|
+
function hn(e, t, r) {
|
232
241
|
const { fragment: n, after_update: i } = e.$$;
|
233
|
-
n && n.m(t, r),
|
234
|
-
const
|
235
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
236
|
-
}), i.forEach(
|
242
|
+
n && n.m(t, r), Qe(() => {
|
243
|
+
const s = e.$$.on_mount.map(zt).filter(ot);
|
244
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
|
245
|
+
}), i.forEach(Qe);
|
237
246
|
}
|
238
|
-
function
|
247
|
+
function cn(e, t) {
|
239
248
|
const r = e.$$;
|
240
|
-
r.fragment !== null && (
|
249
|
+
r.fragment !== null && (ln(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
241
250
|
}
|
242
|
-
function
|
243
|
-
e.$$.dirty[0] === -1 && (
|
251
|
+
function fn(e, t) {
|
252
|
+
e.$$.dirty[0] === -1 && (ie.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
244
253
|
}
|
245
|
-
function
|
246
|
-
const u =
|
247
|
-
|
254
|
+
function mn(e, t, r, n, i, s, o = null, a = [-1]) {
|
255
|
+
const u = _e;
|
256
|
+
be(e);
|
248
257
|
const l = e.$$ = {
|
249
258
|
fragment: null,
|
250
259
|
ctx: [],
|
251
260
|
// state
|
252
|
-
props:
|
253
|
-
update:
|
261
|
+
props: s,
|
262
|
+
update: $,
|
254
263
|
not_equal: i,
|
255
|
-
bound:
|
264
|
+
bound: vt(),
|
256
265
|
// lifecycle
|
257
266
|
on_mount: [],
|
258
267
|
on_destroy: [],
|
@@ -261,48 +270,48 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
270
|
after_update: [],
|
262
271
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
263
272
|
// everything else
|
264
|
-
callbacks:
|
273
|
+
callbacks: vt(),
|
265
274
|
dirty: a,
|
266
275
|
skip_bound: !1,
|
267
276
|
root: t.target || u.$$.root
|
268
277
|
};
|
269
|
-
|
270
|
-
let
|
271
|
-
if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
|
278
|
+
o && o(l.root);
|
279
|
+
let c = !1;
|
280
|
+
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
272
281
|
const g = p.length ? p[0] : f;
|
273
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g),
|
274
|
-
}), l.update(),
|
282
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && fn(e, m)), f;
|
283
|
+
}) : [], l.update(), c = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
275
284
|
if (t.hydrate) {
|
276
|
-
const m =
|
277
|
-
l.fragment && l.fragment.l(m), m.forEach(
|
285
|
+
const m = Kr(t.target);
|
286
|
+
l.fragment && l.fragment.l(m), m.forEach(U);
|
278
287
|
} else
|
279
288
|
l.fragment && l.fragment.c();
|
280
|
-
t.intro &&
|
289
|
+
t.intro && Qt(e.$$.fragment), hn(e, t.target, t.anchor), B();
|
281
290
|
}
|
282
|
-
|
291
|
+
be(u);
|
283
292
|
}
|
284
|
-
let
|
285
|
-
typeof HTMLElement == "function" && (
|
293
|
+
let Yt;
|
294
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
286
295
|
constructor(t, r, n) {
|
287
296
|
super();
|
288
297
|
/** The Svelte component constructor */
|
289
|
-
|
298
|
+
G(this, "$$ctor");
|
290
299
|
/** Slots */
|
291
|
-
|
300
|
+
G(this, "$$s");
|
292
301
|
/** The Svelte component instance */
|
293
|
-
|
302
|
+
G(this, "$$c");
|
294
303
|
/** Whether or not the custom element is connected */
|
295
|
-
|
304
|
+
G(this, "$$cn", !1);
|
296
305
|
/** Component props data */
|
297
|
-
|
306
|
+
G(this, "$$d", {});
|
298
307
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
299
|
-
|
308
|
+
G(this, "$$r", !1);
|
300
309
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
301
|
-
|
310
|
+
G(this, "$$p_d", {});
|
302
311
|
/** @type {Record<string, Function[]>} Event listeners */
|
303
|
-
|
312
|
+
G(this, "$$l", {});
|
304
313
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
305
|
-
|
314
|
+
G(this, "$$l_u", /* @__PURE__ */ new Map());
|
306
315
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
307
316
|
}
|
308
317
|
addEventListener(t, r, n) {
|
@@ -319,42 +328,42 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
319
328
|
}
|
320
329
|
}
|
321
330
|
connectedCallback() {
|
322
|
-
return
|
331
|
+
return yt(this, null, function* () {
|
323
332
|
if (this.$$cn = !0, !this.$$c) {
|
324
|
-
let t = function(
|
333
|
+
let t = function(s) {
|
325
334
|
return () => {
|
326
|
-
let
|
335
|
+
let o;
|
327
336
|
return {
|
328
337
|
c: function() {
|
329
|
-
|
338
|
+
o = P("slot"), s !== "default" && T(o, "name", s);
|
330
339
|
},
|
331
340
|
/**
|
332
341
|
* @param {HTMLElement} target
|
333
342
|
* @param {HTMLElement} [anchor]
|
334
343
|
*/
|
335
|
-
m: function(l,
|
336
|
-
|
344
|
+
m: function(l, c) {
|
345
|
+
k(l, o, c);
|
337
346
|
},
|
338
347
|
d: function(l) {
|
339
|
-
l &&
|
348
|
+
l && U(o);
|
340
349
|
}
|
341
350
|
};
|
342
351
|
};
|
343
352
|
};
|
344
353
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
345
354
|
return;
|
346
|
-
const r = {}, n =
|
347
|
-
for (const
|
348
|
-
|
349
|
-
for (const
|
350
|
-
const
|
351
|
-
|
355
|
+
const r = {}, n = en(this);
|
356
|
+
for (const s of this.$$s)
|
357
|
+
s in n && (r[s] = [t(s)]);
|
358
|
+
for (const s of this.attributes) {
|
359
|
+
const o = this.$$g_p(s.name);
|
360
|
+
o in this.$$d || (this.$$d[o] = Ae(o, s.value, this.$$p_d, "toProp"));
|
352
361
|
}
|
353
|
-
for (const
|
354
|
-
!(
|
362
|
+
for (const s in this.$$p_d)
|
363
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
355
364
|
this.$$c = new this.$$ctor({
|
356
365
|
target: this.shadowRoot || this,
|
357
|
-
props:
|
366
|
+
props: bt(gt({}, this.$$d), {
|
358
367
|
$$slots: r,
|
359
368
|
$$scope: {
|
360
369
|
ctx: []
|
@@ -363,23 +372,23 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
363
372
|
});
|
364
373
|
const i = () => {
|
365
374
|
this.$$r = !0;
|
366
|
-
for (const
|
367
|
-
if (this.$$d[
|
368
|
-
const
|
369
|
-
|
370
|
-
this.$$d[
|
375
|
+
for (const s in this.$$p_d)
|
376
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
377
|
+
const o = Ae(
|
378
|
+
s,
|
379
|
+
this.$$d[s],
|
371
380
|
this.$$p_d,
|
372
381
|
"toAttribute"
|
373
382
|
);
|
374
|
-
|
383
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
375
384
|
}
|
376
385
|
this.$$r = !1;
|
377
386
|
};
|
378
387
|
this.$$c.$$.after_update.push(i), i();
|
379
|
-
for (const
|
380
|
-
for (const
|
381
|
-
const a = this.$$c.$on(
|
382
|
-
this.$$l_u.set(
|
388
|
+
for (const s in this.$$l)
|
389
|
+
for (const o of this.$$l[s]) {
|
390
|
+
const a = this.$$c.$on(s, o);
|
391
|
+
this.$$l_u.set(o, a);
|
383
392
|
}
|
384
393
|
this.$$l = {};
|
385
394
|
}
|
@@ -389,7 +398,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
389
398
|
// and setting attributes through setAttribute etc, this is helpful
|
390
399
|
attributeChangedCallback(t, r, n) {
|
391
400
|
var i;
|
392
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
401
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
393
402
|
}
|
394
403
|
disconnectedCallback() {
|
395
404
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -402,9 +411,9 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
402
411
|
) || t;
|
403
412
|
}
|
404
413
|
});
|
405
|
-
function
|
406
|
-
var
|
407
|
-
const i = (
|
414
|
+
function Ae(e, t, r, n) {
|
415
|
+
var s;
|
416
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
408
417
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
409
418
|
return t;
|
410
419
|
if (n === "toAttribute")
|
@@ -432,8 +441,8 @@ function He(e, t, r, n) {
|
|
432
441
|
return t;
|
433
442
|
}
|
434
443
|
}
|
435
|
-
function
|
436
|
-
let
|
444
|
+
function dn(e, t, r, n, i, s) {
|
445
|
+
let o = class extends Yt {
|
437
446
|
constructor() {
|
438
447
|
super(e, r, i), this.$$p_d = t;
|
439
448
|
}
|
@@ -444,26 +453,26 @@ function rn(e, t, r, n, i, o) {
|
|
444
453
|
}
|
445
454
|
};
|
446
455
|
return Object.keys(t).forEach((a) => {
|
447
|
-
Object.defineProperty(
|
456
|
+
Object.defineProperty(o.prototype, a, {
|
448
457
|
get() {
|
449
458
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
450
459
|
},
|
451
460
|
set(u) {
|
452
461
|
var l;
|
453
|
-
u =
|
462
|
+
u = Ae(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
454
463
|
}
|
455
464
|
});
|
456
465
|
}), n.forEach((a) => {
|
457
|
-
Object.defineProperty(
|
466
|
+
Object.defineProperty(o.prototype, a, {
|
458
467
|
get() {
|
459
468
|
var u;
|
460
469
|
return (u = this.$$c) == null ? void 0 : u[a];
|
461
470
|
}
|
462
471
|
});
|
463
472
|
}), e.element = /** @type {any} */
|
464
|
-
|
473
|
+
o, o;
|
465
474
|
}
|
466
|
-
class
|
475
|
+
class pn {
|
467
476
|
constructor() {
|
468
477
|
/**
|
469
478
|
* ### PRIVATE API
|
@@ -472,7 +481,7 @@ class nn {
|
|
472
481
|
*
|
473
482
|
* @type {any}
|
474
483
|
*/
|
475
|
-
|
484
|
+
G(this, "$$");
|
476
485
|
/**
|
477
486
|
* ### PRIVATE API
|
478
487
|
*
|
@@ -480,11 +489,11 @@ class nn {
|
|
480
489
|
*
|
481
490
|
* @type {any}
|
482
491
|
*/
|
483
|
-
|
492
|
+
G(this, "$$set");
|
484
493
|
}
|
485
494
|
/** @returns {void} */
|
486
495
|
$destroy() {
|
487
|
-
|
496
|
+
cn(this, 1), this.$destroy = $;
|
488
497
|
}
|
489
498
|
/**
|
490
499
|
* @template {Extract<keyof Events, string>} K
|
@@ -493,8 +502,8 @@ class nn {
|
|
493
502
|
* @returns {() => void}
|
494
503
|
*/
|
495
504
|
$on(t, r) {
|
496
|
-
if (!
|
497
|
-
return
|
505
|
+
if (!ot(r))
|
506
|
+
return $;
|
498
507
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
499
508
|
return n.push(r), () => {
|
500
509
|
const i = n.indexOf(r);
|
@@ -506,18 +515,18 @@ class nn {
|
|
506
515
|
* @returns {void}
|
507
516
|
*/
|
508
517
|
$set(t) {
|
509
|
-
this.$$set && !
|
518
|
+
this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
510
519
|
}
|
511
520
|
}
|
512
|
-
const
|
513
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
514
|
-
function
|
521
|
+
const gn = "4";
|
522
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
523
|
+
function bn(e, t) {
|
515
524
|
if (e) {
|
516
525
|
const r = document.createElement("style");
|
517
526
|
r.innerHTML = t, e.appendChild(r);
|
518
527
|
}
|
519
528
|
}
|
520
|
-
function
|
529
|
+
function yn(e, t) {
|
521
530
|
const r = new URL(t);
|
522
531
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
523
532
|
const i = document.createElement("style");
|
@@ -526,7 +535,7 @@ function an(e, t) {
|
|
526
535
|
console.error("There was an error while trying to load client styling from URL", n);
|
527
536
|
});
|
528
537
|
}
|
529
|
-
function
|
538
|
+
function vn(e, t, r) {
|
530
539
|
if (window.emMessageBus) {
|
531
540
|
const n = document.createElement("style");
|
532
541
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -534,143 +543,143 @@ function ln(e, t, r) {
|
|
534
543
|
});
|
535
544
|
}
|
536
545
|
}
|
537
|
-
const
|
538
|
-
function
|
546
|
+
const ne = [];
|
547
|
+
function _n(e, t) {
|
539
548
|
return {
|
540
|
-
subscribe:
|
549
|
+
subscribe: Ne(e, t).subscribe
|
541
550
|
};
|
542
551
|
}
|
543
|
-
function
|
552
|
+
function Ne(e, t = $) {
|
544
553
|
let r;
|
545
554
|
const n = /* @__PURE__ */ new Set();
|
546
555
|
function i(a) {
|
547
|
-
if (
|
548
|
-
const u = !
|
556
|
+
if (Zt(e, a) && (e = a, r)) {
|
557
|
+
const u = !ne.length;
|
549
558
|
for (const l of n)
|
550
|
-
l[1](),
|
559
|
+
l[1](), ne.push(l, e);
|
551
560
|
if (u) {
|
552
|
-
for (let l = 0; l <
|
553
|
-
|
554
|
-
|
561
|
+
for (let l = 0; l < ne.length; l += 2)
|
562
|
+
ne[l][0](ne[l + 1]);
|
563
|
+
ne.length = 0;
|
555
564
|
}
|
556
565
|
}
|
557
566
|
}
|
558
|
-
function
|
567
|
+
function s(a) {
|
559
568
|
i(a(e));
|
560
569
|
}
|
561
|
-
function
|
570
|
+
function o(a, u = $) {
|
562
571
|
const l = [a, u];
|
563
|
-
return n.add(l), n.size === 1 && (r = t(i,
|
572
|
+
return n.add(l), n.size === 1 && (r = t(i, s) || $), a(e), () => {
|
564
573
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
565
574
|
};
|
566
575
|
}
|
567
|
-
return { set: i, update:
|
576
|
+
return { set: i, update: s, subscribe: o };
|
568
577
|
}
|
569
|
-
function
|
578
|
+
function ce(e, t, r) {
|
570
579
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
571
580
|
if (!i.every(Boolean))
|
572
581
|
throw new Error("derived() expects stores as input, got a falsy value");
|
573
|
-
const
|
574
|
-
return
|
582
|
+
const s = t.length < 2;
|
583
|
+
return _n(r, (o, a) => {
|
575
584
|
let u = !1;
|
576
585
|
const l = [];
|
577
|
-
let
|
586
|
+
let c = 0, m = $;
|
578
587
|
const f = () => {
|
579
|
-
if (
|
588
|
+
if (c)
|
580
589
|
return;
|
581
590
|
m();
|
582
|
-
const g = t(n ? l[0] : l,
|
583
|
-
|
591
|
+
const g = t(n ? l[0] : l, o, a);
|
592
|
+
s ? o(g) : m = ot(g) ? g : $;
|
584
593
|
}, p = i.map(
|
585
|
-
(g, b) =>
|
594
|
+
(g, b) => zr(
|
586
595
|
g,
|
587
596
|
(d) => {
|
588
|
-
l[b] = d,
|
597
|
+
l[b] = d, c &= ~(1 << b), u && f();
|
589
598
|
},
|
590
599
|
() => {
|
591
|
-
|
600
|
+
c |= 1 << b;
|
592
601
|
}
|
593
602
|
)
|
594
603
|
);
|
595
604
|
return u = !0, f(), function() {
|
596
|
-
|
605
|
+
Y(p), m(), u = !1;
|
597
606
|
};
|
598
607
|
});
|
599
608
|
}
|
600
|
-
function
|
601
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
609
|
+
function En(e) {
|
610
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
602
611
|
}
|
603
|
-
var
|
604
|
-
return
|
612
|
+
var xn = function(t) {
|
613
|
+
return Cn(t) && !wn(t);
|
605
614
|
};
|
606
|
-
function
|
615
|
+
function Cn(e) {
|
607
616
|
return !!e && typeof e == "object";
|
608
617
|
}
|
609
|
-
function
|
618
|
+
function wn(e) {
|
610
619
|
var t = Object.prototype.toString.call(e);
|
611
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
620
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
|
612
621
|
}
|
613
|
-
var
|
614
|
-
function
|
615
|
-
return e.$$typeof ===
|
622
|
+
var Hn = typeof Symbol == "function" && Symbol.for, Sn = Hn ? Symbol.for("react.element") : 60103;
|
623
|
+
function Tn(e) {
|
624
|
+
return e.$$typeof === Sn;
|
616
625
|
}
|
617
|
-
function
|
626
|
+
function An(e) {
|
618
627
|
return Array.isArray(e) ? [] : {};
|
619
628
|
}
|
620
|
-
function
|
621
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
629
|
+
function Ee(e, t) {
|
630
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ae(An(e), e, t) : e;
|
622
631
|
}
|
623
|
-
function
|
632
|
+
function Bn(e, t, r) {
|
624
633
|
return e.concat(t).map(function(n) {
|
625
|
-
return
|
634
|
+
return Ee(n, r);
|
626
635
|
});
|
627
636
|
}
|
628
|
-
function
|
637
|
+
function In(e, t) {
|
629
638
|
if (!t.customMerge)
|
630
|
-
return
|
639
|
+
return ae;
|
631
640
|
var r = t.customMerge(e);
|
632
|
-
return typeof r == "function" ? r :
|
641
|
+
return typeof r == "function" ? r : ae;
|
633
642
|
}
|
634
|
-
function
|
643
|
+
function Mn(e) {
|
635
644
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
636
645
|
return Object.propertyIsEnumerable.call(e, t);
|
637
646
|
}) : [];
|
638
647
|
}
|
639
|
-
function
|
640
|
-
return Object.keys(e).concat(
|
648
|
+
function xt(e) {
|
649
|
+
return Object.keys(e).concat(Mn(e));
|
641
650
|
}
|
642
|
-
function
|
651
|
+
function Kt(e, t) {
|
643
652
|
try {
|
644
653
|
return t in e;
|
645
654
|
} catch (r) {
|
646
655
|
return !1;
|
647
656
|
}
|
648
657
|
}
|
649
|
-
function
|
650
|
-
return
|
658
|
+
function Ln(e, t) {
|
659
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
651
660
|
}
|
652
|
-
function
|
661
|
+
function Nn(e, t, r) {
|
653
662
|
var n = {};
|
654
|
-
return r.isMergeableObject(e) &&
|
655
|
-
n[i] =
|
656
|
-
}),
|
657
|
-
|
663
|
+
return r.isMergeableObject(e) && xt(e).forEach(function(i) {
|
664
|
+
n[i] = Ee(e[i], r);
|
665
|
+
}), xt(t).forEach(function(i) {
|
666
|
+
Ln(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
|
658
667
|
}), n;
|
659
668
|
}
|
660
|
-
function
|
661
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
662
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
663
|
-
return
|
669
|
+
function ae(e, t, r) {
|
670
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = Ee;
|
671
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
672
|
+
return s ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : Ee(t, r);
|
664
673
|
}
|
665
|
-
|
674
|
+
ae.all = function(t, r) {
|
666
675
|
if (!Array.isArray(t))
|
667
676
|
throw new Error("first argument should be an array");
|
668
677
|
return t.reduce(function(n, i) {
|
669
|
-
return
|
678
|
+
return ae(n, i, r);
|
670
679
|
}, {});
|
671
680
|
};
|
672
|
-
var
|
673
|
-
const
|
681
|
+
var Pn = ae, On = Pn;
|
682
|
+
const Fn = /* @__PURE__ */ En(On);
|
674
683
|
/*! *****************************************************************************
|
675
684
|
Copyright (c) Microsoft Corporation.
|
676
685
|
|
@@ -685,34 +694,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
685
694
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
686
695
|
PERFORMANCE OF THIS SOFTWARE.
|
687
696
|
***************************************************************************** */
|
688
|
-
var
|
689
|
-
return
|
697
|
+
var qe = function(e, t) {
|
698
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
690
699
|
r.__proto__ = n;
|
691
700
|
} || function(r, n) {
|
692
701
|
for (var i in n)
|
693
702
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
694
|
-
},
|
703
|
+
}, qe(e, t);
|
695
704
|
};
|
696
|
-
function
|
705
|
+
function Pe(e, t) {
|
697
706
|
if (typeof t != "function" && t !== null)
|
698
707
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
699
|
-
|
708
|
+
qe(e, t);
|
700
709
|
function r() {
|
701
710
|
this.constructor = e;
|
702
711
|
}
|
703
712
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
704
713
|
}
|
705
|
-
var
|
706
|
-
return
|
714
|
+
var C = function() {
|
715
|
+
return C = Object.assign || function(t) {
|
707
716
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
708
717
|
r = arguments[n];
|
709
|
-
for (var
|
710
|
-
Object.prototype.hasOwnProperty.call(r,
|
718
|
+
for (var s in r)
|
719
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
711
720
|
}
|
712
721
|
return t;
|
713
|
-
},
|
722
|
+
}, C.apply(this, arguments);
|
714
723
|
};
|
715
|
-
function
|
724
|
+
function Rn(e, t) {
|
716
725
|
var r = {};
|
717
726
|
for (var n in e)
|
718
727
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -721,113 +730,111 @@ function Sn(e, t) {
|
|
721
730
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
722
731
|
return r;
|
723
732
|
}
|
724
|
-
function
|
733
|
+
function $e(e, t, r) {
|
725
734
|
if (arguments.length === 2)
|
726
|
-
for (var n = 0, i = t.length,
|
727
|
-
(
|
728
|
-
return e.concat(
|
735
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
736
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
737
|
+
return e.concat(s || t);
|
729
738
|
}
|
730
|
-
function
|
731
|
-
var r = t && t.cache ? t.cache :
|
739
|
+
function je(e, t) {
|
740
|
+
var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Un;
|
732
741
|
return i(e, {
|
733
742
|
cache: r,
|
734
743
|
serializer: n
|
735
744
|
});
|
736
745
|
}
|
737
|
-
function
|
746
|
+
function Dn(e) {
|
738
747
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
739
748
|
}
|
740
|
-
function
|
741
|
-
var i =
|
742
|
-
return typeof
|
749
|
+
function er(e, t, r, n) {
|
750
|
+
var i = Dn(n) ? n : r(n), s = t.get(i);
|
751
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
743
752
|
}
|
744
|
-
function
|
745
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
746
|
-
return typeof
|
753
|
+
function tr(e, t, r) {
|
754
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
755
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
747
756
|
}
|
748
|
-
function
|
757
|
+
function at(e, t, r, n, i) {
|
749
758
|
return r.bind(t, e, n, i);
|
750
759
|
}
|
751
|
-
function
|
752
|
-
var r = e.length === 1 ?
|
753
|
-
return
|
760
|
+
function Un(e, t) {
|
761
|
+
var r = e.length === 1 ? er : tr;
|
762
|
+
return at(e, this, r, t.cache.create(), t.serializer);
|
754
763
|
}
|
755
|
-
function
|
756
|
-
return
|
764
|
+
function Gn(e, t) {
|
765
|
+
return at(e, this, tr, t.cache.create(), t.serializer);
|
757
766
|
}
|
758
|
-
function
|
759
|
-
return
|
767
|
+
function kn(e, t) {
|
768
|
+
return at(e, this, er, t.cache.create(), t.serializer);
|
760
769
|
}
|
761
|
-
var
|
770
|
+
var $n = function() {
|
762
771
|
return JSON.stringify(arguments);
|
763
|
-
}
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
}()
|
775
|
-
), Ln = {
|
772
|
+
};
|
773
|
+
function lt() {
|
774
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
775
|
+
}
|
776
|
+
lt.prototype.get = function(e) {
|
777
|
+
return this.cache[e];
|
778
|
+
};
|
779
|
+
lt.prototype.set = function(e, t) {
|
780
|
+
this.cache[e] = t;
|
781
|
+
};
|
782
|
+
var jn = {
|
776
783
|
create: function() {
|
777
|
-
return new
|
784
|
+
return new lt();
|
778
785
|
}
|
779
|
-
},
|
780
|
-
variadic:
|
781
|
-
monadic:
|
786
|
+
}, Ve = {
|
787
|
+
variadic: Gn,
|
788
|
+
monadic: kn
|
782
789
|
}, y;
|
783
790
|
(function(e) {
|
784
791
|
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";
|
785
792
|
})(y || (y = {}));
|
786
|
-
var
|
793
|
+
var A;
|
787
794
|
(function(e) {
|
788
795
|
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";
|
789
|
-
})(
|
790
|
-
var
|
796
|
+
})(A || (A = {}));
|
797
|
+
var le;
|
791
798
|
(function(e) {
|
792
799
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
793
|
-
})(
|
794
|
-
function
|
795
|
-
return e.type ===
|
800
|
+
})(le || (le = {}));
|
801
|
+
function Ct(e) {
|
802
|
+
return e.type === A.literal;
|
796
803
|
}
|
797
|
-
function
|
798
|
-
return e.type ===
|
804
|
+
function Vn(e) {
|
805
|
+
return e.type === A.argument;
|
799
806
|
}
|
800
|
-
function
|
801
|
-
return e.type ===
|
807
|
+
function rr(e) {
|
808
|
+
return e.type === A.number;
|
802
809
|
}
|
803
|
-
function
|
804
|
-
return e.type ===
|
810
|
+
function nr(e) {
|
811
|
+
return e.type === A.date;
|
805
812
|
}
|
806
|
-
function
|
807
|
-
return e.type ===
|
813
|
+
function ir(e) {
|
814
|
+
return e.type === A.time;
|
808
815
|
}
|
809
|
-
function
|
810
|
-
return e.type ===
|
816
|
+
function or(e) {
|
817
|
+
return e.type === A.select;
|
811
818
|
}
|
812
|
-
function
|
813
|
-
return e.type ===
|
819
|
+
function sr(e) {
|
820
|
+
return e.type === A.plural;
|
814
821
|
}
|
815
|
-
function
|
816
|
-
return e.type ===
|
822
|
+
function Xn(e) {
|
823
|
+
return e.type === A.pound;
|
817
824
|
}
|
818
|
-
function
|
819
|
-
return e.type ===
|
825
|
+
function ar(e) {
|
826
|
+
return e.type === A.tag;
|
820
827
|
}
|
821
|
-
function
|
822
|
-
return !!(e && typeof e == "object" && e.type ===
|
828
|
+
function lr(e) {
|
829
|
+
return !!(e && typeof e == "object" && e.type === le.number);
|
823
830
|
}
|
824
|
-
function
|
825
|
-
return !!(e && typeof e == "object" && e.type ===
|
831
|
+
function Je(e) {
|
832
|
+
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
826
833
|
}
|
827
|
-
var
|
828
|
-
function
|
834
|
+
var ur = /[ \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
|
+
function zn(e) {
|
829
836
|
var t = {};
|
830
|
-
return e.replace(
|
837
|
+
return e.replace(Wn, function(r) {
|
831
838
|
var n = r.length;
|
832
839
|
switch (r[0]) {
|
833
840
|
case "G":
|
@@ -916,18 +923,18 @@ function Rn(e) {
|
|
916
923
|
return "";
|
917
924
|
}), t;
|
918
925
|
}
|
919
|
-
var
|
920
|
-
function
|
926
|
+
var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
927
|
+
function Qn(e) {
|
921
928
|
if (e.length === 0)
|
922
929
|
throw new Error("Number skeleton cannot be empty");
|
923
|
-
for (var t = e.split(
|
930
|
+
for (var t = e.split(Zn).filter(function(f) {
|
924
931
|
return f.length > 0;
|
925
932
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
926
|
-
var
|
927
|
-
if (
|
933
|
+
var s = i[n], o = s.split("/");
|
934
|
+
if (o.length === 0)
|
928
935
|
throw new Error("Invalid number skeleton");
|
929
|
-
for (var a =
|
930
|
-
var m =
|
936
|
+
for (var a = o[0], u = o.slice(1), l = 0, c = u; l < c.length; l++) {
|
937
|
+
var m = c[l];
|
931
938
|
if (m.length === 0)
|
932
939
|
throw new Error("Invalid number skeleton");
|
933
940
|
}
|
@@ -935,17 +942,17 @@ function Un(e) {
|
|
935
942
|
}
|
936
943
|
return r;
|
937
944
|
}
|
938
|
-
function
|
945
|
+
function qn(e) {
|
939
946
|
return e.replace(/^(.*?)-/, "");
|
940
947
|
}
|
941
|
-
var
|
942
|
-
function
|
948
|
+
var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
949
|
+
function Ht(e) {
|
943
950
|
var t = {};
|
944
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
951
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
|
945
952
|
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)), "";
|
946
953
|
}), t;
|
947
954
|
}
|
948
|
-
function
|
955
|
+
function fr(e) {
|
949
956
|
switch (e) {
|
950
957
|
case "sign-auto":
|
951
958
|
return {
|
@@ -985,7 +992,7 @@ function lr(e) {
|
|
985
992
|
};
|
986
993
|
}
|
987
994
|
}
|
988
|
-
function
|
995
|
+
function Yn(e) {
|
989
996
|
var t;
|
990
997
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
991
998
|
notation: "engineering"
|
@@ -993,17 +1000,17 @@ function $n(e) {
|
|
993
1000
|
notation: "scientific"
|
994
1001
|
}, e = e.slice(1)), t) {
|
995
1002
|
var r = e.slice(0, 2);
|
996
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1003
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
997
1004
|
throw new Error("Malformed concise eng/scientific notation");
|
998
1005
|
t.minimumIntegerDigits = e.length;
|
999
1006
|
}
|
1000
1007
|
return t;
|
1001
1008
|
}
|
1002
|
-
function
|
1003
|
-
var t = {}, r =
|
1009
|
+
function St(e) {
|
1010
|
+
var t = {}, r = fr(e);
|
1004
1011
|
return r || t;
|
1005
1012
|
}
|
1006
|
-
function
|
1013
|
+
function Kn(e) {
|
1007
1014
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1008
1015
|
var i = n[r];
|
1009
1016
|
switch (i.stem) {
|
@@ -1027,7 +1034,7 @@ function jn(e) {
|
|
1027
1034
|
continue;
|
1028
1035
|
case "measure-unit":
|
1029
1036
|
case "unit":
|
1030
|
-
t.style = "unit", t.unit =
|
1037
|
+
t.style = "unit", t.unit = qn(i.options[0]);
|
1031
1038
|
continue;
|
1032
1039
|
case "compact-short":
|
1033
1040
|
case "K":
|
@@ -1038,13 +1045,13 @@ function jn(e) {
|
|
1038
1045
|
t.notation = "compact", t.compactDisplay = "long";
|
1039
1046
|
continue;
|
1040
1047
|
case "scientific":
|
1041
|
-
t =
|
1042
|
-
return
|
1048
|
+
t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1049
|
+
return C(C({}, u), St(l));
|
1043
1050
|
}, {}));
|
1044
1051
|
continue;
|
1045
1052
|
case "engineering":
|
1046
|
-
t =
|
1047
|
-
return
|
1053
|
+
t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1054
|
+
return C(C({}, u), St(l));
|
1048
1055
|
}, {}));
|
1049
1056
|
continue;
|
1050
1057
|
case "notation-simple":
|
@@ -1089,9 +1096,9 @@ function jn(e) {
|
|
1089
1096
|
case "integer-width":
|
1090
1097
|
if (i.options.length > 1)
|
1091
1098
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1092
|
-
i.options[0].replace(
|
1099
|
+
i.options[0].replace(Jn, function(u, l, c, m, f, p) {
|
1093
1100
|
if (l)
|
1094
|
-
t.minimumIntegerDigits =
|
1101
|
+
t.minimumIntegerDigits = c.length;
|
1095
1102
|
else {
|
1096
1103
|
if (m && f)
|
1097
1104
|
throw new Error("We currently do not support maximum integer digits");
|
@@ -1102,32 +1109,32 @@ function jn(e) {
|
|
1102
1109
|
});
|
1103
1110
|
continue;
|
1104
1111
|
}
|
1105
|
-
if (
|
1112
|
+
if (cr.test(i.stem)) {
|
1106
1113
|
t.minimumIntegerDigits = i.stem.length;
|
1107
1114
|
continue;
|
1108
1115
|
}
|
1109
|
-
if (
|
1116
|
+
if (wt.test(i.stem)) {
|
1110
1117
|
if (i.options.length > 1)
|
1111
1118
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1112
|
-
i.stem.replace(
|
1113
|
-
return
|
1119
|
+
i.stem.replace(wt, function(u, l, c, m, f, p) {
|
1120
|
+
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), "";
|
1114
1121
|
});
|
1115
|
-
var
|
1116
|
-
|
1122
|
+
var s = i.options[0];
|
1123
|
+
s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), Ht(s)));
|
1117
1124
|
continue;
|
1118
1125
|
}
|
1119
|
-
if (
|
1120
|
-
t =
|
1126
|
+
if (hr.test(i.stem)) {
|
1127
|
+
t = C(C({}, t), Ht(i.stem));
|
1121
1128
|
continue;
|
1122
1129
|
}
|
1123
|
-
var
|
1124
|
-
|
1125
|
-
var a =
|
1126
|
-
a && (t =
|
1130
|
+
var o = fr(i.stem);
|
1131
|
+
o && (t = C(C({}, t), o));
|
1132
|
+
var a = Yn(i.stem);
|
1133
|
+
a && (t = C(C({}, t), a));
|
1127
1134
|
}
|
1128
1135
|
return t;
|
1129
1136
|
}
|
1130
|
-
var
|
1137
|
+
var Te = {
|
1131
1138
|
"001": [
|
1132
1139
|
"H",
|
1133
1140
|
"h"
|
@@ -2542,23 +2549,23 @@ var we = {
|
|
2542
2549
|
"h"
|
2543
2550
|
]
|
2544
2551
|
};
|
2545
|
-
function
|
2552
|
+
function ei(e, t) {
|
2546
2553
|
for (var r = "", n = 0; n < e.length; n++) {
|
2547
2554
|
var i = e.charAt(n);
|
2548
2555
|
if (i === "j") {
|
2549
|
-
for (var
|
2550
|
-
|
2551
|
-
var
|
2556
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2557
|
+
s++, n++;
|
2558
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = ti(t);
|
2552
2559
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2553
2560
|
r += u;
|
2554
|
-
for (;
|
2561
|
+
for (; o-- > 0; )
|
2555
2562
|
r = l + r;
|
2556
2563
|
} else
|
2557
2564
|
i === "J" ? r += "H" : r += i;
|
2558
2565
|
}
|
2559
2566
|
return r;
|
2560
2567
|
}
|
2561
|
-
function
|
2568
|
+
function ti(e) {
|
2562
2569
|
var t = e.hourCycle;
|
2563
2570
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2564
2571
|
e.hourCycles && // @ts-ignore
|
@@ -2577,23 +2584,23 @@ function Xn(e) {
|
|
2577
2584
|
}
|
2578
2585
|
var r = e.language, n;
|
2579
2586
|
r !== "root" && (n = e.maximize().region);
|
2580
|
-
var i =
|
2587
|
+
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
2581
2588
|
return i[0];
|
2582
2589
|
}
|
2583
|
-
var
|
2590
|
+
var Xe, ri = new RegExp("^".concat(ur.source, "*")), ni = new RegExp("".concat(ur.source, "*$"));
|
2584
2591
|
function _(e, t) {
|
2585
2592
|
return { start: e, end: t };
|
2586
2593
|
}
|
2587
|
-
var
|
2594
|
+
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) {
|
2588
2595
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2589
|
-
},
|
2596
|
+
}, Ye = !0;
|
2590
2597
|
try {
|
2591
|
-
var
|
2592
|
-
|
2598
|
+
var fi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2599
|
+
Ye = ((Xe = fi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
|
2593
2600
|
} catch (e) {
|
2594
|
-
|
2601
|
+
Ye = !1;
|
2595
2602
|
}
|
2596
|
-
var
|
2603
|
+
var Tt = ii ? (
|
2597
2604
|
// Native
|
2598
2605
|
function(t, r, n) {
|
2599
2606
|
return t.startsWith(r, n);
|
@@ -2603,31 +2610,31 @@ var Ct = Zn ? (
|
|
2603
2610
|
function(t, r, n) {
|
2604
2611
|
return t.slice(n, n + r.length) === r;
|
2605
2612
|
}
|
2606
|
-
),
|
2613
|
+
), Ke = oi ? String.fromCodePoint : (
|
2607
2614
|
// IE11
|
2608
2615
|
function() {
|
2609
2616
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2610
2617
|
t[r] = arguments[r];
|
2611
|
-
for (var n = "", i = t.length,
|
2612
|
-
if (
|
2613
|
-
throw RangeError(
|
2614
|
-
n +=
|
2618
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
2619
|
+
if (o = t[s++], o > 1114111)
|
2620
|
+
throw RangeError(o + " is not a valid code point");
|
2621
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
2615
2622
|
}
|
2616
2623
|
return n;
|
2617
2624
|
}
|
2618
|
-
),
|
2625
|
+
), At = (
|
2619
2626
|
// native
|
2620
|
-
|
2627
|
+
si ? Object.fromEntries : (
|
2621
2628
|
// Ponyfill
|
2622
2629
|
function(t) {
|
2623
2630
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2624
|
-
var
|
2625
|
-
r[
|
2631
|
+
var s = i[n], o = s[0], a = s[1];
|
2632
|
+
r[o] = a;
|
2626
2633
|
}
|
2627
2634
|
return r;
|
2628
2635
|
}
|
2629
2636
|
)
|
2630
|
-
),
|
2637
|
+
), mr = ai ? (
|
2631
2638
|
// Native
|
2632
2639
|
function(t, r) {
|
2633
2640
|
return t.codePointAt(r);
|
@@ -2637,11 +2644,11 @@ var Ct = Zn ? (
|
|
2637
2644
|
function(t, r) {
|
2638
2645
|
var n = t.length;
|
2639
2646
|
if (!(r < 0 || r >= n)) {
|
2640
|
-
var i = t.charCodeAt(r),
|
2641
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
2647
|
+
var i = t.charCodeAt(r), s;
|
2648
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2642
2649
|
}
|
2643
2650
|
}
|
2644
|
-
),
|
2651
|
+
), mi = li ? (
|
2645
2652
|
// Native
|
2646
2653
|
function(t) {
|
2647
2654
|
return t.trimStart();
|
@@ -2649,9 +2656,9 @@ var Ct = Zn ? (
|
|
2649
2656
|
) : (
|
2650
2657
|
// Ponyfill
|
2651
2658
|
function(t) {
|
2652
|
-
return t.replace(
|
2659
|
+
return t.replace(ri, "");
|
2653
2660
|
}
|
2654
|
-
),
|
2661
|
+
), di = ui ? (
|
2655
2662
|
// Native
|
2656
2663
|
function(t) {
|
2657
2664
|
return t.trimEnd();
|
@@ -2659,32 +2666,32 @@ var Ct = Zn ? (
|
|
2659
2666
|
) : (
|
2660
2667
|
// Ponyfill
|
2661
2668
|
function(t) {
|
2662
|
-
return t.replace(
|
2669
|
+
return t.replace(ni, "");
|
2663
2670
|
}
|
2664
2671
|
);
|
2665
|
-
function
|
2672
|
+
function dr(e, t) {
|
2666
2673
|
return new RegExp(e, t);
|
2667
2674
|
}
|
2668
|
-
var
|
2669
|
-
if (
|
2670
|
-
var
|
2671
|
-
|
2675
|
+
var et;
|
2676
|
+
if (Ye) {
|
2677
|
+
var Bt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2678
|
+
et = function(t, r) {
|
2672
2679
|
var n;
|
2673
|
-
|
2674
|
-
var i =
|
2680
|
+
Bt.lastIndex = r;
|
2681
|
+
var i = Bt.exec(t);
|
2675
2682
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2676
2683
|
};
|
2677
2684
|
} else
|
2678
|
-
|
2685
|
+
et = function(t, r) {
|
2679
2686
|
for (var n = []; ; ) {
|
2680
|
-
var i =
|
2681
|
-
if (i === void 0 ||
|
2687
|
+
var i = mr(t, r);
|
2688
|
+
if (i === void 0 || pr(i) || yi(i))
|
2682
2689
|
break;
|
2683
2690
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2684
2691
|
}
|
2685
|
-
return
|
2692
|
+
return Ke.apply(void 0, n);
|
2686
2693
|
};
|
2687
|
-
var
|
2694
|
+
var pi = (
|
2688
2695
|
/** @class */
|
2689
2696
|
function() {
|
2690
2697
|
function e(t, r) {
|
@@ -2696,35 +2703,35 @@ var oi = (
|
|
2696
2703
|
return this.parseMessage(0, "", !1);
|
2697
2704
|
}, e.prototype.parseMessage = function(t, r, n) {
|
2698
2705
|
for (var i = []; !this.isEOF(); ) {
|
2699
|
-
var
|
2700
|
-
if (
|
2701
|
-
var
|
2702
|
-
if (
|
2703
|
-
return
|
2704
|
-
i.push(
|
2706
|
+
var s = this.char();
|
2707
|
+
if (s === 123) {
|
2708
|
+
var o = this.parseArgument(t, n);
|
2709
|
+
if (o.err)
|
2710
|
+
return o;
|
2711
|
+
i.push(o.val);
|
2705
2712
|
} else {
|
2706
|
-
if (
|
2713
|
+
if (s === 125 && t > 0)
|
2707
2714
|
break;
|
2708
|
-
if (
|
2715
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2709
2716
|
var a = this.clonePosition();
|
2710
2717
|
this.bump(), i.push({
|
2711
|
-
type:
|
2718
|
+
type: A.pound,
|
2712
2719
|
location: _(a, this.clonePosition())
|
2713
2720
|
});
|
2714
|
-
} else if (
|
2721
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2715
2722
|
if (n)
|
2716
2723
|
break;
|
2717
2724
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
2718
|
-
} else if (
|
2719
|
-
var
|
2720
|
-
if (
|
2721
|
-
return
|
2722
|
-
i.push(
|
2725
|
+
} else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
2726
|
+
var o = this.parseTag(t, r);
|
2727
|
+
if (o.err)
|
2728
|
+
return o;
|
2729
|
+
i.push(o.val);
|
2723
2730
|
} else {
|
2724
|
-
var
|
2725
|
-
if (
|
2726
|
-
return
|
2727
|
-
i.push(
|
2731
|
+
var o = this.parseLiteral(t, r);
|
2732
|
+
if (o.err)
|
2733
|
+
return o;
|
2734
|
+
i.push(o.val);
|
2728
2735
|
}
|
2729
2736
|
}
|
2730
2737
|
}
|
@@ -2736,26 +2743,26 @@ var oi = (
|
|
2736
2743
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2737
2744
|
return {
|
2738
2745
|
val: {
|
2739
|
-
type:
|
2746
|
+
type: A.literal,
|
2740
2747
|
value: "<".concat(i, "/>"),
|
2741
2748
|
location: _(n, this.clonePosition())
|
2742
2749
|
},
|
2743
2750
|
err: null
|
2744
2751
|
};
|
2745
2752
|
if (this.bumpIf(">")) {
|
2746
|
-
var
|
2747
|
-
if (
|
2748
|
-
return
|
2749
|
-
var
|
2753
|
+
var s = this.parseMessage(t + 1, r, !0);
|
2754
|
+
if (s.err)
|
2755
|
+
return s;
|
2756
|
+
var o = s.val, a = this.clonePosition();
|
2750
2757
|
if (this.bumpIf("</")) {
|
2751
|
-
if (this.isEOF() || !
|
2758
|
+
if (this.isEOF() || !tt(this.char()))
|
2752
2759
|
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
2753
2760
|
var u = this.clonePosition(), l = this.parseTagName();
|
2754
2761
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2755
2762
|
val: {
|
2756
|
-
type:
|
2763
|
+
type: A.tag,
|
2757
2764
|
value: i,
|
2758
|
-
children:
|
2765
|
+
children: o,
|
2759
2766
|
location: _(n, this.clonePosition())
|
2760
2767
|
},
|
2761
2768
|
err: null
|
@@ -2766,21 +2773,21 @@ var oi = (
|
|
2766
2773
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
2767
2774
|
}, e.prototype.parseTagName = function() {
|
2768
2775
|
var t = this.offset();
|
2769
|
-
for (this.bump(); !this.isEOF() &&
|
2776
|
+
for (this.bump(); !this.isEOF() && bi(this.char()); )
|
2770
2777
|
this.bump();
|
2771
2778
|
return this.message.slice(t, this.offset());
|
2772
2779
|
}, e.prototype.parseLiteral = function(t, r) {
|
2773
2780
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
2774
|
-
var
|
2775
|
-
if (o) {
|
2776
|
-
i += o;
|
2777
|
-
continue;
|
2778
|
-
}
|
2779
|
-
var s = this.tryParseUnquoted(t, r);
|
2781
|
+
var s = this.tryParseQuote(r);
|
2780
2782
|
if (s) {
|
2781
2783
|
i += s;
|
2782
2784
|
continue;
|
2783
2785
|
}
|
2786
|
+
var o = this.tryParseUnquoted(t, r);
|
2787
|
+
if (o) {
|
2788
|
+
i += o;
|
2789
|
+
continue;
|
2790
|
+
}
|
2784
2791
|
var a = this.tryParseLeftAngleBracket();
|
2785
2792
|
if (a) {
|
2786
2793
|
i += a;
|
@@ -2790,12 +2797,12 @@ var oi = (
|
|
2790
2797
|
}
|
2791
2798
|
var u = _(n, this.clonePosition());
|
2792
2799
|
return {
|
2793
|
-
val: { type:
|
2800
|
+
val: { type: A.literal, value: i, location: u },
|
2794
2801
|
err: null
|
2795
2802
|
};
|
2796
2803
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2797
2804
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2798
|
-
!
|
2805
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2799
2806
|
}, e.prototype.tryParseQuote = function(t) {
|
2800
2807
|
if (this.isEOF() || this.char() !== 39)
|
2801
2808
|
return null;
|
@@ -2829,12 +2836,12 @@ var oi = (
|
|
2829
2836
|
r.push(n);
|
2830
2837
|
this.bump();
|
2831
2838
|
}
|
2832
|
-
return
|
2839
|
+
return Ke.apply(void 0, r);
|
2833
2840
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2834
2841
|
if (this.isEOF())
|
2835
2842
|
return null;
|
2836
2843
|
var n = this.char();
|
2837
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2844
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
2838
2845
|
}, e.prototype.parseArgument = function(t, r) {
|
2839
2846
|
var n = this.clonePosition();
|
2840
2847
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2850,7 +2857,7 @@ var oi = (
|
|
2850
2857
|
case 125:
|
2851
2858
|
return this.bump(), {
|
2852
2859
|
val: {
|
2853
|
-
type:
|
2860
|
+
type: A.argument,
|
2854
2861
|
// value does not include the opening and closing braces.
|
2855
2862
|
value: i,
|
2856
2863
|
location: _(n, this.clonePosition())
|
@@ -2863,15 +2870,15 @@ var oi = (
|
|
2863
2870
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
2864
2871
|
}
|
2865
2872
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2866
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2873
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
2867
2874
|
this.bumpTo(i);
|
2868
|
-
var
|
2869
|
-
return { value: n, location:
|
2875
|
+
var s = this.clonePosition(), o = _(t, s);
|
2876
|
+
return { value: n, location: o };
|
2870
2877
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2871
|
-
var
|
2878
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
2872
2879
|
switch (a) {
|
2873
2880
|
case "":
|
2874
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, _(
|
2881
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, u));
|
2875
2882
|
case "number":
|
2876
2883
|
case "date":
|
2877
2884
|
case "time": {
|
@@ -2879,50 +2886,50 @@ var oi = (
|
|
2879
2886
|
var l = null;
|
2880
2887
|
if (this.bumpIf(",")) {
|
2881
2888
|
this.bumpSpace();
|
2882
|
-
var
|
2889
|
+
var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2883
2890
|
if (m.err)
|
2884
2891
|
return m;
|
2885
|
-
var f =
|
2892
|
+
var f = di(m.val);
|
2886
2893
|
if (f.length === 0)
|
2887
2894
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
2888
|
-
var p = _(
|
2895
|
+
var p = _(c, this.clonePosition());
|
2889
2896
|
l = { style: f, styleLocation: p };
|
2890
2897
|
}
|
2891
2898
|
var g = this.tryParseArgumentClose(i);
|
2892
2899
|
if (g.err)
|
2893
2900
|
return g;
|
2894
2901
|
var b = _(i, this.clonePosition());
|
2895
|
-
if (l &&
|
2896
|
-
var d =
|
2902
|
+
if (l && Tt(l == null ? void 0 : l.style, "::", 0)) {
|
2903
|
+
var d = mi(l.style.slice(2));
|
2897
2904
|
if (a === "number") {
|
2898
2905
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2899
2906
|
return m.err ? m : {
|
2900
|
-
val: { type:
|
2907
|
+
val: { type: A.number, value: n, location: b, style: m.val },
|
2901
2908
|
err: null
|
2902
2909
|
};
|
2903
2910
|
} else {
|
2904
2911
|
if (d.length === 0)
|
2905
2912
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2906
2913
|
var H = d;
|
2907
|
-
this.locale && (H =
|
2914
|
+
this.locale && (H = ei(d, this.locale));
|
2908
2915
|
var f = {
|
2909
|
-
type:
|
2916
|
+
type: le.dateTime,
|
2910
2917
|
pattern: H,
|
2911
2918
|
location: l.styleLocation,
|
2912
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2913
|
-
},
|
2919
|
+
parsedOptions: this.shouldParseSkeletons ? zn(H) : {}
|
2920
|
+
}, E = a === "date" ? A.date : A.time;
|
2914
2921
|
return {
|
2915
|
-
val: { type:
|
2922
|
+
val: { type: E, value: n, location: b, style: f },
|
2916
2923
|
err: null
|
2917
2924
|
};
|
2918
2925
|
}
|
2919
2926
|
}
|
2920
2927
|
return {
|
2921
2928
|
val: {
|
2922
|
-
type: a === "number" ?
|
2929
|
+
type: a === "number" ? A.number : a === "date" ? A.date : A.time,
|
2923
2930
|
value: n,
|
2924
2931
|
location: b,
|
2925
|
-
style: (
|
2932
|
+
style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
|
2926
2933
|
},
|
2927
2934
|
err: null
|
2928
2935
|
};
|
@@ -2930,11 +2937,11 @@ var oi = (
|
|
2930
2937
|
case "plural":
|
2931
2938
|
case "selectordinal":
|
2932
2939
|
case "select": {
|
2933
|
-
var
|
2940
|
+
var w = this.clonePosition();
|
2934
2941
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2935
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
2942
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, C({}, w)));
|
2936
2943
|
this.bumpSpace();
|
2937
|
-
var O = this.parseIdentifierIfPossible(),
|
2944
|
+
var O = this.parseIdentifierIfPossible(), L = 0;
|
2938
2945
|
if (a !== "select" && O.value === "offset") {
|
2939
2946
|
if (!this.bumpIf(":"))
|
2940
2947
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
@@ -2942,37 +2949,37 @@ var oi = (
|
|
2942
2949
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2943
2950
|
if (m.err)
|
2944
2951
|
return m;
|
2945
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
2952
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
|
2946
2953
|
}
|
2947
|
-
var
|
2948
|
-
if (
|
2949
|
-
return
|
2954
|
+
var v = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2955
|
+
if (v.err)
|
2956
|
+
return v;
|
2950
2957
|
var g = this.tryParseArgumentClose(i);
|
2951
2958
|
if (g.err)
|
2952
2959
|
return g;
|
2953
|
-
var
|
2960
|
+
var S = _(i, this.clonePosition());
|
2954
2961
|
return a === "select" ? {
|
2955
2962
|
val: {
|
2956
|
-
type:
|
2963
|
+
type: A.select,
|
2957
2964
|
value: n,
|
2958
|
-
options:
|
2959
|
-
location:
|
2965
|
+
options: At(v.val),
|
2966
|
+
location: S
|
2960
2967
|
},
|
2961
2968
|
err: null
|
2962
2969
|
} : {
|
2963
2970
|
val: {
|
2964
|
-
type:
|
2971
|
+
type: A.plural,
|
2965
2972
|
value: n,
|
2966
|
-
options:
|
2967
|
-
offset:
|
2973
|
+
options: At(v.val),
|
2974
|
+
offset: L,
|
2968
2975
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2969
|
-
location:
|
2976
|
+
location: S
|
2970
2977
|
},
|
2971
2978
|
err: null
|
2972
2979
|
};
|
2973
2980
|
}
|
2974
2981
|
default:
|
2975
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, _(
|
2982
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(o, u));
|
2976
2983
|
}
|
2977
2984
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2978
2985
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -3014,34 +3021,34 @@ var oi = (
|
|
3014
3021
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3015
3022
|
var n = [];
|
3016
3023
|
try {
|
3017
|
-
n =
|
3024
|
+
n = Qn(t);
|
3018
3025
|
} catch (i) {
|
3019
3026
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3020
3027
|
}
|
3021
3028
|
return {
|
3022
3029
|
val: {
|
3023
|
-
type:
|
3030
|
+
type: le.number,
|
3024
3031
|
tokens: n,
|
3025
3032
|
location: r,
|
3026
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3033
|
+
parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
|
3027
3034
|
},
|
3028
3035
|
err: null
|
3029
3036
|
};
|
3030
3037
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3031
|
-
for (var
|
3038
|
+
for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
3032
3039
|
if (l.length === 0) {
|
3033
3040
|
var m = this.clonePosition();
|
3034
3041
|
if (r !== "select" && this.bumpIf("=")) {
|
3035
3042
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3036
3043
|
if (f.err)
|
3037
3044
|
return f;
|
3038
|
-
|
3045
|
+
c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
3039
3046
|
} else
|
3040
3047
|
break;
|
3041
3048
|
}
|
3042
3049
|
if (u.has(l))
|
3043
|
-
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
3044
|
-
l === "other" && (
|
3050
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
3051
|
+
l === "other" && (o = !0), this.bumpSpace();
|
3045
3052
|
var p = this.clonePosition();
|
3046
3053
|
if (!this.bumpIf("{"))
|
3047
3054
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
@@ -3057,21 +3064,21 @@ var oi = (
|
|
3057
3064
|
value: g.val,
|
3058
3065
|
location: _(p, this.clonePosition())
|
3059
3066
|
}
|
3060
|
-
]), u.add(l), this.bumpSpace(),
|
3067
|
+
]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
|
3061
3068
|
}
|
3062
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
3069
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3063
3070
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3064
3071
|
var n = 1, i = this.clonePosition();
|
3065
3072
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
3066
|
-
for (var
|
3073
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
3067
3074
|
var a = this.char();
|
3068
3075
|
if (a >= 48 && a <= 57)
|
3069
|
-
|
3076
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
3070
3077
|
else
|
3071
3078
|
break;
|
3072
3079
|
}
|
3073
3080
|
var u = _(i, this.clonePosition());
|
3074
|
-
return
|
3081
|
+
return s ? (o *= n, ci(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
3075
3082
|
}, e.prototype.offset = function() {
|
3076
3083
|
return this.position.offset;
|
3077
3084
|
}, e.prototype.isEOF = function() {
|
@@ -3086,7 +3093,7 @@ var oi = (
|
|
3086
3093
|
var t = this.position.offset;
|
3087
3094
|
if (t >= this.message.length)
|
3088
3095
|
throw Error("out of bound");
|
3089
|
-
var r =
|
3096
|
+
var r = mr(this.message, t);
|
3090
3097
|
if (r === void 0)
|
3091
3098
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3092
3099
|
return r;
|
@@ -3105,7 +3112,7 @@ var oi = (
|
|
3105
3112
|
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);
|
3106
3113
|
}
|
3107
3114
|
}, e.prototype.bumpIf = function(t) {
|
3108
|
-
if (
|
3115
|
+
if (Tt(this.message, t, this.offset())) {
|
3109
3116
|
for (var r = 0; r < t.length; r++)
|
3110
3117
|
this.bump();
|
3111
3118
|
return !0;
|
@@ -3127,7 +3134,7 @@ var oi = (
|
|
3127
3134
|
break;
|
3128
3135
|
}
|
3129
3136
|
}, e.prototype.bumpSpace = function() {
|
3130
|
-
for (; !this.isEOF() &&
|
3137
|
+
for (; !this.isEOF() && pr(this.char()); )
|
3131
3138
|
this.bump();
|
3132
3139
|
}, e.prototype.peek = function() {
|
3133
3140
|
if (this.isEOF())
|
@@ -3137,204 +3144,204 @@ var oi = (
|
|
3137
3144
|
}, e;
|
3138
3145
|
}()
|
3139
3146
|
);
|
3140
|
-
function
|
3147
|
+
function tt(e) {
|
3141
3148
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3142
3149
|
}
|
3143
|
-
function
|
3144
|
-
return
|
3150
|
+
function gi(e) {
|
3151
|
+
return tt(e) || e === 47;
|
3145
3152
|
}
|
3146
|
-
function
|
3153
|
+
function bi(e) {
|
3147
3154
|
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;
|
3148
3155
|
}
|
3149
|
-
function
|
3156
|
+
function pr(e) {
|
3150
3157
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3151
3158
|
}
|
3152
|
-
function
|
3159
|
+
function yi(e) {
|
3153
3160
|
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;
|
3154
3161
|
}
|
3155
|
-
function
|
3162
|
+
function rt(e) {
|
3156
3163
|
e.forEach(function(t) {
|
3157
|
-
if (delete t.location,
|
3164
|
+
if (delete t.location, or(t) || sr(t))
|
3158
3165
|
for (var r in t.options)
|
3159
|
-
delete t.options[r].location,
|
3166
|
+
delete t.options[r].location, rt(t.options[r].value);
|
3160
3167
|
else
|
3161
|
-
|
3168
|
+
rr(t) && lr(t.style) || (nr(t) || ir(t)) && Je(t.style) ? delete t.style.location : ar(t) && rt(t.children);
|
3162
3169
|
});
|
3163
3170
|
}
|
3164
|
-
function
|
3165
|
-
t === void 0 && (t = {}), t =
|
3166
|
-
var r = new
|
3171
|
+
function vi(e, t) {
|
3172
|
+
t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3173
|
+
var r = new pi(e, t).parse();
|
3167
3174
|
if (r.err) {
|
3168
3175
|
var n = SyntaxError(y[r.err.kind]);
|
3169
3176
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3170
3177
|
}
|
3171
|
-
return t != null && t.captureLocation ||
|
3178
|
+
return t != null && t.captureLocation || rt(r.val), r.val;
|
3172
3179
|
}
|
3173
|
-
var
|
3180
|
+
var ue;
|
3174
3181
|
(function(e) {
|
3175
3182
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3176
|
-
})(
|
3177
|
-
var
|
3183
|
+
})(ue || (ue = {}));
|
3184
|
+
var Oe = (
|
3178
3185
|
/** @class */
|
3179
3186
|
function(e) {
|
3180
|
-
|
3187
|
+
Pe(t, e);
|
3181
3188
|
function t(r, n, i) {
|
3182
|
-
var
|
3183
|
-
return
|
3189
|
+
var s = e.call(this, r) || this;
|
3190
|
+
return s.code = n, s.originalMessage = i, s;
|
3184
3191
|
}
|
3185
3192
|
return t.prototype.toString = function() {
|
3186
3193
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3187
3194
|
}, t;
|
3188
3195
|
}(Error)
|
3189
|
-
),
|
3196
|
+
), It = (
|
3190
3197
|
/** @class */
|
3191
3198
|
function(e) {
|
3192
|
-
|
3193
|
-
function t(r, n, i,
|
3194
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3199
|
+
Pe(t, e);
|
3200
|
+
function t(r, n, i, s) {
|
3201
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ue.INVALID_VALUE, s) || this;
|
3195
3202
|
}
|
3196
3203
|
return t;
|
3197
|
-
}(
|
3198
|
-
),
|
3204
|
+
}(Oe)
|
3205
|
+
), _i = (
|
3199
3206
|
/** @class */
|
3200
3207
|
function(e) {
|
3201
|
-
|
3208
|
+
Pe(t, e);
|
3202
3209
|
function t(r, n, i) {
|
3203
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3210
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ue.INVALID_VALUE, i) || this;
|
3204
3211
|
}
|
3205
3212
|
return t;
|
3206
|
-
}(
|
3207
|
-
),
|
3213
|
+
}(Oe)
|
3214
|
+
), Ei = (
|
3208
3215
|
/** @class */
|
3209
3216
|
function(e) {
|
3210
|
-
|
3217
|
+
Pe(t, e);
|
3211
3218
|
function t(r, n) {
|
3212
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3219
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ue.MISSING_VALUE, n) || this;
|
3213
3220
|
}
|
3214
3221
|
return t;
|
3215
|
-
}(
|
3216
|
-
),
|
3222
|
+
}(Oe)
|
3223
|
+
), F;
|
3217
3224
|
(function(e) {
|
3218
3225
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3219
|
-
})(
|
3220
|
-
function
|
3226
|
+
})(F || (F = {}));
|
3227
|
+
function xi(e) {
|
3221
3228
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3222
3229
|
var n = t[t.length - 1];
|
3223
|
-
return !n || n.type !==
|
3230
|
+
return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
|
3224
3231
|
}, []);
|
3225
3232
|
}
|
3226
|
-
function
|
3233
|
+
function Ci(e) {
|
3227
3234
|
return typeof e == "function";
|
3228
3235
|
}
|
3229
|
-
function
|
3230
|
-
if (e.length === 1 &&
|
3236
|
+
function Be(e, t, r, n, i, s, o) {
|
3237
|
+
if (e.length === 1 && Ct(e[0]))
|
3231
3238
|
return [
|
3232
3239
|
{
|
3233
|
-
type:
|
3240
|
+
type: F.literal,
|
3234
3241
|
value: e[0].value
|
3235
3242
|
}
|
3236
3243
|
];
|
3237
3244
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3238
|
-
var
|
3239
|
-
if (
|
3245
|
+
var c = l[u];
|
3246
|
+
if (Ct(c)) {
|
3240
3247
|
a.push({
|
3241
|
-
type:
|
3242
|
-
value:
|
3248
|
+
type: F.literal,
|
3249
|
+
value: c.value
|
3243
3250
|
});
|
3244
3251
|
continue;
|
3245
3252
|
}
|
3246
|
-
if (
|
3247
|
-
typeof
|
3248
|
-
type:
|
3249
|
-
value: r.getNumberFormat(t).format(
|
3253
|
+
if (Xn(c)) {
|
3254
|
+
typeof s == "number" && a.push({
|
3255
|
+
type: F.literal,
|
3256
|
+
value: r.getNumberFormat(t).format(s)
|
3250
3257
|
});
|
3251
3258
|
continue;
|
3252
3259
|
}
|
3253
|
-
var m =
|
3260
|
+
var m = c.value;
|
3254
3261
|
if (!(i && m in i))
|
3255
|
-
throw new
|
3262
|
+
throw new Ei(m, o);
|
3256
3263
|
var f = i[m];
|
3257
|
-
if (
|
3264
|
+
if (Vn(c)) {
|
3258
3265
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3259
|
-
type: typeof f == "string" ?
|
3266
|
+
type: typeof f == "string" ? F.literal : F.object,
|
3260
3267
|
value: f
|
3261
3268
|
});
|
3262
3269
|
continue;
|
3263
3270
|
}
|
3264
|
-
if (
|
3265
|
-
var p = typeof
|
3271
|
+
if (nr(c)) {
|
3272
|
+
var p = typeof c.style == "string" ? n.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
|
3266
3273
|
a.push({
|
3267
|
-
type:
|
3274
|
+
type: F.literal,
|
3268
3275
|
value: r.getDateTimeFormat(t, p).format(f)
|
3269
3276
|
});
|
3270
3277
|
continue;
|
3271
3278
|
}
|
3272
|
-
if (
|
3273
|
-
var p = typeof
|
3279
|
+
if (ir(c)) {
|
3280
|
+
var p = typeof c.style == "string" ? n.time[c.style] : Je(c.style) ? c.style.parsedOptions : n.time.medium;
|
3274
3281
|
a.push({
|
3275
|
-
type:
|
3282
|
+
type: F.literal,
|
3276
3283
|
value: r.getDateTimeFormat(t, p).format(f)
|
3277
3284
|
});
|
3278
3285
|
continue;
|
3279
3286
|
}
|
3280
|
-
if (
|
3281
|
-
var p = typeof
|
3287
|
+
if (rr(c)) {
|
3288
|
+
var p = typeof c.style == "string" ? n.number[c.style] : lr(c.style) ? c.style.parsedOptions : void 0;
|
3282
3289
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3283
|
-
type:
|
3290
|
+
type: F.literal,
|
3284
3291
|
value: r.getNumberFormat(t, p).format(f)
|
3285
3292
|
});
|
3286
3293
|
continue;
|
3287
3294
|
}
|
3288
|
-
if (
|
3289
|
-
var g =
|
3290
|
-
if (!
|
3291
|
-
throw new
|
3292
|
-
var H =
|
3293
|
-
return
|
3295
|
+
if (ar(c)) {
|
3296
|
+
var g = c.children, b = c.value, d = i[b];
|
3297
|
+
if (!Ci(d))
|
3298
|
+
throw new _i(b, "function", o);
|
3299
|
+
var H = Be(g, t, r, n, i, s), E = d(H.map(function(L) {
|
3300
|
+
return L.value;
|
3294
3301
|
}));
|
3295
|
-
Array.isArray(
|
3302
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
|
3296
3303
|
return {
|
3297
|
-
type: typeof
|
3298
|
-
value:
|
3304
|
+
type: typeof L == "string" ? F.literal : F.object,
|
3305
|
+
value: L
|
3299
3306
|
};
|
3300
3307
|
}));
|
3301
3308
|
}
|
3302
|
-
if (
|
3303
|
-
var
|
3304
|
-
if (!
|
3305
|
-
throw new
|
3306
|
-
a.push.apply(a,
|
3309
|
+
if (or(c)) {
|
3310
|
+
var w = c.options[f] || c.options.other;
|
3311
|
+
if (!w)
|
3312
|
+
throw new It(c.value, f, Object.keys(c.options), o);
|
3313
|
+
a.push.apply(a, Be(w.value, t, r, n, i));
|
3307
3314
|
continue;
|
3308
3315
|
}
|
3309
|
-
if (
|
3310
|
-
var
|
3311
|
-
if (!
|
3316
|
+
if (sr(c)) {
|
3317
|
+
var w = c.options["=".concat(f)];
|
3318
|
+
if (!w) {
|
3312
3319
|
if (!Intl.PluralRules)
|
3313
|
-
throw new
|
3320
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
3314
3321
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3315
|
-
`,
|
3316
|
-
var O = r.getPluralRules(t, { type:
|
3317
|
-
|
3322
|
+
`, ue.MISSING_INTL_API, o);
|
3323
|
+
var O = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
3324
|
+
w = c.options[O] || c.options.other;
|
3318
3325
|
}
|
3319
|
-
if (!
|
3320
|
-
throw new
|
3321
|
-
a.push.apply(a,
|
3326
|
+
if (!w)
|
3327
|
+
throw new It(c.value, f, Object.keys(c.options), o);
|
3328
|
+
a.push.apply(a, Be(w.value, t, r, n, i, f - (c.offset || 0)));
|
3322
3329
|
continue;
|
3323
3330
|
}
|
3324
3331
|
}
|
3325
|
-
return
|
3332
|
+
return xi(a);
|
3326
3333
|
}
|
3327
|
-
function
|
3328
|
-
return t ?
|
3329
|
-
return r[n] =
|
3334
|
+
function wi(e, t) {
|
3335
|
+
return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3336
|
+
return r[n] = C(C({}, e[n]), t[n] || {}), r;
|
3330
3337
|
}, {})) : e;
|
3331
3338
|
}
|
3332
|
-
function
|
3339
|
+
function Hi(e, t) {
|
3333
3340
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3334
|
-
return r[n] =
|
3335
|
-
},
|
3341
|
+
return r[n] = wi(e[n], t[n]), r;
|
3342
|
+
}, C({}, e)) : e;
|
3336
3343
|
}
|
3337
|
-
function
|
3344
|
+
function We(e) {
|
3338
3345
|
return {
|
3339
3346
|
create: function() {
|
3340
3347
|
return {
|
@@ -3348,77 +3355,77 @@ function je(e) {
|
|
3348
3355
|
}
|
3349
3356
|
};
|
3350
3357
|
}
|
3351
|
-
function
|
3358
|
+
function Si(e) {
|
3352
3359
|
return e === void 0 && (e = {
|
3353
3360
|
number: {},
|
3354
3361
|
dateTime: {},
|
3355
3362
|
pluralRules: {}
|
3356
3363
|
}), {
|
3357
|
-
getNumberFormat:
|
3364
|
+
getNumberFormat: je(function() {
|
3358
3365
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3359
3366
|
r[n] = arguments[n];
|
3360
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3367
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
3361
3368
|
}, {
|
3362
|
-
cache:
|
3363
|
-
strategy:
|
3369
|
+
cache: We(e.number),
|
3370
|
+
strategy: Ve.variadic
|
3364
3371
|
}),
|
3365
|
-
getDateTimeFormat:
|
3372
|
+
getDateTimeFormat: je(function() {
|
3366
3373
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3367
3374
|
r[n] = arguments[n];
|
3368
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3375
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
3369
3376
|
}, {
|
3370
|
-
cache:
|
3371
|
-
strategy:
|
3377
|
+
cache: We(e.dateTime),
|
3378
|
+
strategy: Ve.variadic
|
3372
3379
|
}),
|
3373
|
-
getPluralRules:
|
3380
|
+
getPluralRules: je(function() {
|
3374
3381
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3375
3382
|
r[n] = arguments[n];
|
3376
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3383
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
3377
3384
|
}, {
|
3378
|
-
cache:
|
3379
|
-
strategy:
|
3385
|
+
cache: We(e.pluralRules),
|
3386
|
+
strategy: Ve.variadic
|
3380
3387
|
})
|
3381
3388
|
};
|
3382
3389
|
}
|
3383
|
-
var
|
3390
|
+
var Ti = (
|
3384
3391
|
/** @class */
|
3385
3392
|
function() {
|
3386
3393
|
function e(t, r, n, i) {
|
3387
3394
|
r === void 0 && (r = e.defaultLocale);
|
3388
|
-
var
|
3395
|
+
var s = this;
|
3389
3396
|
if (this.formatterCache = {
|
3390
3397
|
number: {},
|
3391
3398
|
dateTime: {},
|
3392
3399
|
pluralRules: {}
|
3393
3400
|
}, this.format = function(u) {
|
3394
|
-
var l =
|
3401
|
+
var l = s.formatToParts(u);
|
3395
3402
|
if (l.length === 1)
|
3396
3403
|
return l[0].value;
|
3397
|
-
var
|
3398
|
-
return !m.length || f.type !==
|
3404
|
+
var c = l.reduce(function(m, f) {
|
3405
|
+
return !m.length || f.type !== F.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
3399
3406
|
}, []);
|
3400
|
-
return
|
3407
|
+
return c.length <= 1 ? c[0] || "" : c;
|
3401
3408
|
}, this.formatToParts = function(u) {
|
3402
|
-
return
|
3409
|
+
return Be(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
|
3403
3410
|
}, this.resolvedOptions = function() {
|
3404
3411
|
var u;
|
3405
3412
|
return {
|
3406
|
-
locale: ((u =
|
3413
|
+
locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
3407
3414
|
};
|
3408
3415
|
}, this.getAst = function() {
|
3409
|
-
return
|
3416
|
+
return s.ast;
|
3410
3417
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3411
3418
|
if (this.message = t, !e.__parse)
|
3412
3419
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3413
|
-
var
|
3414
|
-
|
3415
|
-
var a =
|
3416
|
-
this.ast = e.__parse(t,
|
3420
|
+
var o = i || {};
|
3421
|
+
o.formatters;
|
3422
|
+
var a = Rn(o, ["formatters"]);
|
3423
|
+
this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
|
3417
3424
|
} else
|
3418
3425
|
this.ast = t;
|
3419
3426
|
if (!Array.isArray(this.ast))
|
3420
3427
|
throw new TypeError("A message must be provided as a String or AST.");
|
3421
|
-
this.formats =
|
3428
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
|
3422
3429
|
}
|
3423
3430
|
return Object.defineProperty(e, "defaultLocale", {
|
3424
3431
|
get: function() {
|
@@ -3431,7 +3438,7 @@ var bi = (
|
|
3431
3438
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3432
3439
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3433
3440
|
}
|
3434
|
-
}, e.__parse =
|
3441
|
+
}, e.__parse = vi, e.formats = {
|
3435
3442
|
number: {
|
3436
3443
|
integer: {
|
3437
3444
|
maximumFractionDigits: 0
|
@@ -3492,7 +3499,7 @@ var bi = (
|
|
3492
3499
|
}, e;
|
3493
3500
|
}()
|
3494
3501
|
);
|
3495
|
-
function
|
3502
|
+
function Ai(e, t) {
|
3496
3503
|
if (t == null)
|
3497
3504
|
return;
|
3498
3505
|
if (t in e)
|
@@ -3502,9 +3509,9 @@ function yi(e, t) {
|
|
3502
3509
|
for (let i = 0; i < r.length; i++)
|
3503
3510
|
if (typeof n == "object") {
|
3504
3511
|
if (i > 0) {
|
3505
|
-
const
|
3506
|
-
if (
|
3507
|
-
n = n[
|
3512
|
+
const s = r.slice(i, r.length).join(".");
|
3513
|
+
if (s in n) {
|
3514
|
+
n = n[s];
|
3508
3515
|
break;
|
3509
3516
|
}
|
3510
3517
|
}
|
@@ -3513,92 +3520,92 @@ function yi(e, t) {
|
|
3513
3520
|
n = void 0;
|
3514
3521
|
return n;
|
3515
3522
|
}
|
3516
|
-
const W = {},
|
3523
|
+
const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), gr = (e, t) => {
|
3517
3524
|
if (t == null)
|
3518
3525
|
return;
|
3519
3526
|
if (t in W && e in W[t])
|
3520
3527
|
return W[t][e];
|
3521
|
-
const r =
|
3528
|
+
const r = Fe(t);
|
3522
3529
|
for (let n = 0; n < r.length; n++) {
|
3523
|
-
const i = r[n],
|
3524
|
-
if (
|
3525
|
-
return
|
3530
|
+
const i = r[n], s = Mi(i, e);
|
3531
|
+
if (s)
|
3532
|
+
return Bi(e, t, s);
|
3526
3533
|
}
|
3527
3534
|
};
|
3528
|
-
let
|
3529
|
-
const
|
3530
|
-
function
|
3531
|
-
return
|
3535
|
+
let ut;
|
3536
|
+
const fe = Ne({});
|
3537
|
+
function Ii(e) {
|
3538
|
+
return ut[e] || null;
|
3532
3539
|
}
|
3533
|
-
function
|
3534
|
-
return e in
|
3540
|
+
function br(e) {
|
3541
|
+
return e in ut;
|
3535
3542
|
}
|
3536
|
-
function
|
3537
|
-
if (!
|
3543
|
+
function Mi(e, t) {
|
3544
|
+
if (!br(e))
|
3538
3545
|
return null;
|
3539
|
-
const r =
|
3540
|
-
return
|
3546
|
+
const r = Ii(e);
|
3547
|
+
return Ai(r, t);
|
3541
3548
|
}
|
3542
|
-
function
|
3549
|
+
function Li(e) {
|
3543
3550
|
if (e == null)
|
3544
3551
|
return;
|
3545
|
-
const t =
|
3552
|
+
const t = Fe(e);
|
3546
3553
|
for (let r = 0; r < t.length; r++) {
|
3547
3554
|
const n = t[r];
|
3548
|
-
if (
|
3555
|
+
if (br(n))
|
3549
3556
|
return n;
|
3550
3557
|
}
|
3551
3558
|
}
|
3552
|
-
function
|
3553
|
-
delete W[e],
|
3559
|
+
function yr(e, ...t) {
|
3560
|
+
delete W[e], fe.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
|
3554
3561
|
}
|
3555
|
-
|
3556
|
-
[
|
3562
|
+
ce(
|
3563
|
+
[fe],
|
3557
3564
|
([e]) => Object.keys(e)
|
3558
3565
|
);
|
3559
|
-
|
3560
|
-
const
|
3561
|
-
function
|
3562
|
-
|
3566
|
+
fe.subscribe((e) => ut = e);
|
3567
|
+
const Ie = {};
|
3568
|
+
function Ni(e, t) {
|
3569
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
3563
3570
|
}
|
3564
|
-
function
|
3565
|
-
return
|
3571
|
+
function vr(e) {
|
3572
|
+
return Ie[e];
|
3566
3573
|
}
|
3567
|
-
function
|
3568
|
-
return
|
3569
|
-
const r =
|
3574
|
+
function Pi(e) {
|
3575
|
+
return Fe(e).map((t) => {
|
3576
|
+
const r = vr(t);
|
3570
3577
|
return [t, r ? [...r] : []];
|
3571
3578
|
}).filter(([, t]) => t.length > 0);
|
3572
3579
|
}
|
3573
|
-
function
|
3574
|
-
return e == null ? !1 :
|
3580
|
+
function nt(e) {
|
3581
|
+
return e == null ? !1 : Fe(e).some(
|
3575
3582
|
(t) => {
|
3576
3583
|
var r;
|
3577
|
-
return (r =
|
3584
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
3578
3585
|
}
|
3579
3586
|
);
|
3580
3587
|
}
|
3581
|
-
function
|
3588
|
+
function Oi(e, t) {
|
3582
3589
|
return Promise.all(
|
3583
|
-
t.map((n) => (
|
3584
|
-
).then((n) =>
|
3585
|
-
}
|
3586
|
-
const
|
3587
|
-
function
|
3588
|
-
if (!
|
3589
|
-
return e in
|
3590
|
-
const t =
|
3591
|
-
return
|
3590
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
3591
|
+
).then((n) => yr(e, ...n));
|
3592
|
+
}
|
3593
|
+
const ge = {};
|
3594
|
+
function _r(e) {
|
3595
|
+
if (!nt(e))
|
3596
|
+
return e in ge ? ge[e] : Promise.resolve();
|
3597
|
+
const t = Pi(e);
|
3598
|
+
return ge[e] = Promise.all(
|
3592
3599
|
t.map(
|
3593
|
-
([r, n]) =>
|
3600
|
+
([r, n]) => Oi(r, n)
|
3594
3601
|
)
|
3595
3602
|
).then(() => {
|
3596
|
-
if (
|
3597
|
-
return
|
3598
|
-
delete
|
3599
|
-
}),
|
3603
|
+
if (nt(e))
|
3604
|
+
return _r(e);
|
3605
|
+
delete ge[e];
|
3606
|
+
}), ge[e];
|
3600
3607
|
}
|
3601
|
-
const
|
3608
|
+
const Fi = {
|
3602
3609
|
number: {
|
3603
3610
|
scientific: { notation: "scientific" },
|
3604
3611
|
engineering: { notation: "engineering" },
|
@@ -3627,159 +3634,159 @@ const Si = {
|
|
3627
3634
|
timeZoneName: "short"
|
3628
3635
|
}
|
3629
3636
|
}
|
3630
|
-
},
|
3637
|
+
}, Ri = {
|
3631
3638
|
fallbackLocale: null,
|
3632
3639
|
loadingDelay: 200,
|
3633
|
-
formats:
|
3640
|
+
formats: Fi,
|
3634
3641
|
warnOnMissingMessages: !0,
|
3635
3642
|
handleMissingMessage: void 0,
|
3636
3643
|
ignoreTag: !0
|
3637
|
-
},
|
3638
|
-
function
|
3639
|
-
return
|
3640
|
-
}
|
3641
|
-
const
|
3642
|
-
var
|
3643
|
-
for (var r in t)
|
3644
|
-
|
3645
|
-
if (
|
3646
|
-
for (var r of
|
3647
|
-
|
3644
|
+
}, Di = Ri;
|
3645
|
+
function he() {
|
3646
|
+
return Di;
|
3647
|
+
}
|
3648
|
+
const ze = Ne(!1);
|
3649
|
+
var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
|
3650
|
+
for (var r in t || (t = {}))
|
3651
|
+
$i.call(t, r) && Lt(e, r, t[r]);
|
3652
|
+
if (Mt)
|
3653
|
+
for (var r of Mt(t))
|
3654
|
+
ji.call(t, r) && Lt(e, r, t[r]);
|
3648
3655
|
return e;
|
3649
|
-
},
|
3650
|
-
let
|
3651
|
-
const
|
3652
|
-
function
|
3656
|
+
}, Xi = (e, t) => Gi(e, ki(t));
|
3657
|
+
let it;
|
3658
|
+
const Me = Ne(null);
|
3659
|
+
function Nt(e) {
|
3653
3660
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3654
3661
|
}
|
3655
|
-
function
|
3656
|
-
const r =
|
3657
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3662
|
+
function Fe(e, t = he().fallbackLocale) {
|
3663
|
+
const r = Nt(e);
|
3664
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
3658
3665
|
}
|
3659
|
-
function
|
3660
|
-
return
|
3666
|
+
function K() {
|
3667
|
+
return it != null ? it : void 0;
|
3661
3668
|
}
|
3662
|
-
|
3663
|
-
|
3669
|
+
Me.subscribe((e) => {
|
3670
|
+
it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3664
3671
|
});
|
3665
|
-
const
|
3666
|
-
if (e &&
|
3667
|
-
const { loadingDelay: t } =
|
3672
|
+
const Wi = (e) => {
|
3673
|
+
if (e && Li(e) && nt(e)) {
|
3674
|
+
const { loadingDelay: t } = he();
|
3668
3675
|
let r;
|
3669
|
-
return typeof window != "undefined" &&
|
3670
|
-
() =>
|
3676
|
+
return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
|
3677
|
+
() => ze.set(!0),
|
3671
3678
|
t
|
3672
|
-
) :
|
3673
|
-
|
3679
|
+
) : ze.set(!0), _r(e).then(() => {
|
3680
|
+
Me.set(e);
|
3674
3681
|
}).finally(() => {
|
3675
|
-
clearTimeout(r),
|
3682
|
+
clearTimeout(r), ze.set(!1);
|
3676
3683
|
});
|
3677
3684
|
}
|
3678
|
-
return
|
3679
|
-
}, z =
|
3680
|
-
set:
|
3681
|
-
}),
|
3685
|
+
return Me.set(e);
|
3686
|
+
}, z = Xi(Vi({}, Me), {
|
3687
|
+
set: Wi
|
3688
|
+
}), Re = (e) => {
|
3682
3689
|
const t = /* @__PURE__ */ Object.create(null);
|
3683
3690
|
return (n) => {
|
3684
3691
|
const i = JSON.stringify(n);
|
3685
3692
|
return i in t ? t[i] : t[i] = e(n);
|
3686
3693
|
};
|
3687
3694
|
};
|
3688
|
-
var
|
3695
|
+
var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
3689
3696
|
for (var r in t || (t = {}))
|
3690
|
-
|
3691
|
-
if (
|
3692
|
-
for (var r of
|
3693
|
-
|
3697
|
+
Er.call(t, r) && Pt(e, r, t[r]);
|
3698
|
+
if (Le)
|
3699
|
+
for (var r of Le(t))
|
3700
|
+
xr.call(t, r) && Pt(e, r, t[r]);
|
3694
3701
|
return e;
|
3695
|
-
},
|
3702
|
+
}, me = (e, t) => {
|
3696
3703
|
var r = {};
|
3697
3704
|
for (var n in e)
|
3698
|
-
|
3699
|
-
if (e != null &&
|
3700
|
-
for (var n of
|
3701
|
-
t.indexOf(n) < 0 &&
|
3705
|
+
Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3706
|
+
if (e != null && Le)
|
3707
|
+
for (var n of Le(e))
|
3708
|
+
t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
|
3702
3709
|
return r;
|
3703
3710
|
};
|
3704
|
-
const
|
3705
|
-
const { formats: r } =
|
3711
|
+
const xe = (e, t) => {
|
3712
|
+
const { formats: r } = he();
|
3706
3713
|
if (e in r && t in r[e])
|
3707
3714
|
return r[e][t];
|
3708
3715
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3709
|
-
},
|
3716
|
+
}, Zi = Re(
|
3710
3717
|
(e) => {
|
3711
|
-
var t = e, { locale: r, format: n } = t, i =
|
3718
|
+
var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
|
3712
3719
|
if (r == null)
|
3713
3720
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3714
|
-
return n && (i =
|
3721
|
+
return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
|
3715
3722
|
}
|
3716
|
-
),
|
3723
|
+
), Qi = Re(
|
3717
3724
|
(e) => {
|
3718
|
-
var t = e, { locale: r, format: n } = t, i =
|
3725
|
+
var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
|
3719
3726
|
if (r == null)
|
3720
3727
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3721
|
-
return n ? i =
|
3728
|
+
return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
3722
3729
|
}
|
3723
|
-
),
|
3730
|
+
), qi = Re(
|
3724
3731
|
(e) => {
|
3725
|
-
var t = e, { locale: r, format: n } = t, i =
|
3732
|
+
var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
|
3726
3733
|
if (r == null)
|
3727
3734
|
throw new Error(
|
3728
3735
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3729
3736
|
);
|
3730
|
-
return n ? i =
|
3737
|
+
return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
3731
3738
|
}
|
3732
|
-
),
|
3739
|
+
), Ji = (e = {}) => {
|
3733
3740
|
var t = e, {
|
3734
|
-
locale: r =
|
3735
|
-
} = t, n =
|
3741
|
+
locale: r = K()
|
3742
|
+
} = t, n = me(t, [
|
3736
3743
|
"locale"
|
3737
3744
|
]);
|
3738
|
-
return
|
3739
|
-
},
|
3745
|
+
return Zi(ht({ locale: r }, n));
|
3746
|
+
}, Yi = (e = {}) => {
|
3740
3747
|
var t = e, {
|
3741
|
-
locale: r =
|
3742
|
-
} = t, n =
|
3748
|
+
locale: r = K()
|
3749
|
+
} = t, n = me(t, [
|
3743
3750
|
"locale"
|
3744
3751
|
]);
|
3745
|
-
return
|
3746
|
-
},
|
3752
|
+
return Qi(ht({ locale: r }, n));
|
3753
|
+
}, Ki = (e = {}) => {
|
3747
3754
|
var t = e, {
|
3748
|
-
locale: r =
|
3749
|
-
} = t, n =
|
3755
|
+
locale: r = K()
|
3756
|
+
} = t, n = me(t, [
|
3750
3757
|
"locale"
|
3751
3758
|
]);
|
3752
|
-
return
|
3753
|
-
},
|
3759
|
+
return qi(ht({ locale: r }, n));
|
3760
|
+
}, eo = Re(
|
3754
3761
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3755
|
-
(e, t =
|
3756
|
-
ignoreTag:
|
3762
|
+
(e, t = K()) => new Ti(e, t, he().formats, {
|
3763
|
+
ignoreTag: he().ignoreTag
|
3757
3764
|
})
|
3758
|
-
),
|
3759
|
-
var r, n, i,
|
3760
|
-
let
|
3761
|
-
typeof e == "object" && (
|
3765
|
+
), to = (e, t = {}) => {
|
3766
|
+
var r, n, i, s;
|
3767
|
+
let o = t;
|
3768
|
+
typeof e == "object" && (o = e, e = o.id);
|
3762
3769
|
const {
|
3763
3770
|
values: a,
|
3764
|
-
locale: u =
|
3771
|
+
locale: u = K(),
|
3765
3772
|
default: l
|
3766
|
-
} =
|
3773
|
+
} = o;
|
3767
3774
|
if (u == null)
|
3768
3775
|
throw new Error(
|
3769
3776
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3770
3777
|
);
|
3771
|
-
let
|
3772
|
-
if (!
|
3773
|
-
|
3774
|
-
else if (typeof
|
3778
|
+
let c = gr(e, u);
|
3779
|
+
if (!c)
|
3780
|
+
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
|
+
else if (typeof c != "string")
|
3775
3782
|
return console.warn(
|
3776
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3777
|
-
),
|
3783
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3784
|
+
), c;
|
3778
3785
|
if (!a)
|
3779
|
-
return
|
3780
|
-
let m =
|
3786
|
+
return c;
|
3787
|
+
let m = c;
|
3781
3788
|
try {
|
3782
|
-
m =
|
3789
|
+
m = eo(c, u).format(a);
|
3783
3790
|
} catch (f) {
|
3784
3791
|
f instanceof Error && console.warn(
|
3785
3792
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3787,24 +3794,24 @@ const _e = (e, t) => {
|
|
3787
3794
|
);
|
3788
3795
|
}
|
3789
3796
|
return m;
|
3790
|
-
},
|
3791
|
-
|
3792
|
-
|
3793
|
-
|
3794
|
-
|
3795
|
-
|
3796
|
-
function
|
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()) => gr(e, t);
|
3798
|
+
ce([z, fe], () => to);
|
3799
|
+
ce([z], () => ro);
|
3800
|
+
ce([z], () => no);
|
3801
|
+
ce([z], () => io);
|
3802
|
+
ce([z, fe], () => oo);
|
3803
|
+
function so({ withLocale: e, translations: t }) {
|
3797
3804
|
z.subscribe((r) => {
|
3798
|
-
r == null && (
|
3805
|
+
r == null && (fe.set(t), z.set(e));
|
3799
3806
|
});
|
3800
3807
|
}
|
3801
|
-
function
|
3802
|
-
|
3808
|
+
function Ot(e, t) {
|
3809
|
+
yr(e, t);
|
3803
3810
|
}
|
3804
|
-
function
|
3811
|
+
function ao(e) {
|
3805
3812
|
z.set(e);
|
3806
3813
|
}
|
3807
|
-
const
|
3814
|
+
const Ft = {
|
3808
3815
|
en: {
|
3809
3816
|
login: "Login",
|
3810
3817
|
register: "Register",
|
@@ -3861,310 +3868,310 @@ const Nt = {
|
|
3861
3868
|
deposit: "Deposit"
|
3862
3869
|
}
|
3863
3870
|
};
|
3864
|
-
function
|
3865
|
-
|
3871
|
+
function lo(e) {
|
3872
|
+
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}');
|
3866
3873
|
}
|
3867
|
-
function
|
3874
|
+
function Rt(e, t, r) {
|
3868
3875
|
const n = e.slice();
|
3869
|
-
return n[
|
3876
|
+
return n[57] = t[r], n[59] = r, n;
|
3870
3877
|
}
|
3871
|
-
function
|
3878
|
+
function Dt(e, t, r) {
|
3872
3879
|
const n = e.slice();
|
3873
|
-
return n[
|
3880
|
+
return n[60] = t[r], n;
|
3874
3881
|
}
|
3875
|
-
function
|
3882
|
+
function Ut(e, t, r) {
|
3876
3883
|
const n = e.slice();
|
3877
|
-
return n[
|
3884
|
+
return n[63] = t[r], n[65] = r, n;
|
3878
3885
|
}
|
3879
|
-
function
|
3880
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3886
|
+
function Gt(e) {
|
3887
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
|
3881
3888
|
/*sliderdata*/
|
3882
3889
|
e[9]
|
3883
3890
|
);
|
3884
|
-
const
|
3891
|
+
const s = (o) => (
|
3885
3892
|
/*category*/
|
3886
|
-
|
3893
|
+
o[57].id
|
3887
3894
|
);
|
3888
|
-
for (let
|
3889
|
-
let a =
|
3890
|
-
r.set(u, t[
|
3895
|
+
for (let o = 0; o < i.length; o += 1) {
|
3896
|
+
let a = Rt(e, i, o), u = s(a);
|
3897
|
+
r.set(u, t[o] = Wt(u, a));
|
3891
3898
|
}
|
3892
3899
|
return {
|
3893
3900
|
c() {
|
3894
|
-
for (let
|
3895
|
-
t[
|
3896
|
-
n =
|
3901
|
+
for (let o = 0; o < t.length; o += 1)
|
3902
|
+
t[o].c();
|
3903
|
+
n = ve();
|
3897
3904
|
},
|
3898
|
-
m(
|
3905
|
+
m(o, a) {
|
3899
3906
|
for (let u = 0; u < t.length; u += 1)
|
3900
|
-
t[u] && t[u].m(
|
3901
|
-
|
3907
|
+
t[u] && t[u].m(o, a);
|
3908
|
+
k(o, n, a);
|
3902
3909
|
},
|
3903
|
-
p(
|
3910
|
+
p(o, a) {
|
3904
3911
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3905
|
-
|
3912
|
+
1183695 && (i = se(
|
3906
3913
|
/*sliderdata*/
|
3907
|
-
|
3908
|
-
), t =
|
3914
|
+
o[9]
|
3915
|
+
), t = Jt(t, a, s, 1, o, i, r, n.parentNode, qt, Wt, n, Rt));
|
3909
3916
|
},
|
3910
|
-
d(
|
3911
|
-
|
3917
|
+
d(o) {
|
3918
|
+
o && U(n);
|
3912
3919
|
for (let a = 0; a < t.length; a += 1)
|
3913
|
-
t[a].d(
|
3920
|
+
t[a].d(o);
|
3914
3921
|
}
|
3915
3922
|
};
|
3916
3923
|
}
|
3917
|
-
function
|
3924
|
+
function uo(e) {
|
3918
3925
|
let t, r = (
|
3919
3926
|
/*category*/
|
3920
|
-
e[
|
3927
|
+
e[57].name + ""
|
3921
3928
|
), n;
|
3922
3929
|
return {
|
3923
3930
|
c() {
|
3924
|
-
t =
|
3931
|
+
t = P("button"), n = Ce(r), T(t, "class", "CategoryButton");
|
3925
3932
|
},
|
3926
|
-
m(i,
|
3927
|
-
|
3933
|
+
m(i, s) {
|
3934
|
+
k(i, t, s), M(t, n);
|
3928
3935
|
},
|
3929
|
-
p(i,
|
3930
|
-
|
3936
|
+
p(i, s) {
|
3937
|
+
s[0] & /*sliderdata*/
|
3931
3938
|
512 && r !== (r = /*category*/
|
3932
|
-
i[
|
3939
|
+
i[57].name + "") && st(n, r);
|
3933
3940
|
},
|
3934
3941
|
d(i) {
|
3935
|
-
i &&
|
3942
|
+
i && U(t);
|
3936
3943
|
}
|
3937
3944
|
};
|
3938
3945
|
}
|
3939
|
-
function
|
3946
|
+
function ho(e) {
|
3940
3947
|
let t, r = (
|
3941
3948
|
/*category*/
|
3942
|
-
e[
|
3949
|
+
e[57].label + ""
|
3943
3950
|
), n, i;
|
3944
3951
|
return {
|
3945
3952
|
c() {
|
3946
|
-
t =
|
3947
|
-
e[
|
3953
|
+
t = P("a"), n = Ce(r), T(t, "href", i = /*category*/
|
3954
|
+
e[57].path);
|
3948
3955
|
},
|
3949
|
-
m(
|
3950
|
-
|
3956
|
+
m(s, o) {
|
3957
|
+
k(s, t, o), M(t, n);
|
3951
3958
|
},
|
3952
|
-
p(
|
3953
|
-
|
3959
|
+
p(s, o) {
|
3960
|
+
o[0] & /*sliderdata*/
|
3954
3961
|
512 && r !== (r = /*category*/
|
3955
|
-
|
3962
|
+
s[57].label + "") && st(n, r), o[0] & /*sliderdata*/
|
3956
3963
|
512 && i !== (i = /*category*/
|
3957
|
-
|
3964
|
+
s[57].path) && T(t, "href", i);
|
3958
3965
|
},
|
3959
|
-
d(
|
3960
|
-
|
3966
|
+
d(s) {
|
3967
|
+
s && U(t);
|
3961
3968
|
}
|
3962
3969
|
};
|
3963
3970
|
}
|
3964
|
-
function
|
3971
|
+
function kt(e) {
|
3965
3972
|
let t, r = (
|
3966
3973
|
/*subGroupsData*/
|
3967
3974
|
e[10].length > 0 && /*showsubgroups*/
|
3968
|
-
e[2] == "true" &&
|
3975
|
+
e[2] == "true" && $t(e)
|
3969
3976
|
);
|
3970
3977
|
return {
|
3971
3978
|
c() {
|
3972
|
-
r && r.c(), t =
|
3979
|
+
r && r.c(), t = ve();
|
3973
3980
|
},
|
3974
3981
|
m(n, i) {
|
3975
|
-
r && r.m(n, i),
|
3982
|
+
r && r.m(n, i), k(n, t, i);
|
3976
3983
|
},
|
3977
3984
|
p(n, i) {
|
3978
3985
|
/*subGroupsData*/
|
3979
3986
|
n[10].length > 0 && /*showsubgroups*/
|
3980
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3987
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3981
3988
|
},
|
3982
3989
|
d(n) {
|
3983
|
-
n &&
|
3990
|
+
n && U(t), r && r.d(n);
|
3984
3991
|
}
|
3985
3992
|
};
|
3986
3993
|
}
|
3987
|
-
function
|
3988
|
-
let t, r =
|
3994
|
+
function $t(e) {
|
3995
|
+
let t, r = se(
|
3989
3996
|
/*subGroupsData*/
|
3990
3997
|
e[10]
|
3991
3998
|
), n = [];
|
3992
3999
|
for (let i = 0; i < r.length; i += 1)
|
3993
|
-
n[i] =
|
4000
|
+
n[i] = Xt(Dt(e, r, i));
|
3994
4001
|
return {
|
3995
4002
|
c() {
|
3996
|
-
t =
|
4003
|
+
t = P("ul");
|
3997
4004
|
for (let i = 0; i < n.length; i += 1)
|
3998
4005
|
n[i].c();
|
3999
|
-
|
4006
|
+
T(t, "class", "DropDown");
|
4000
4007
|
},
|
4001
|
-
m(i,
|
4002
|
-
|
4003
|
-
for (let
|
4004
|
-
n[
|
4008
|
+
m(i, s) {
|
4009
|
+
k(i, t, s);
|
4010
|
+
for (let o = 0; o < n.length; o += 1)
|
4011
|
+
n[o] && n[o].m(t, null);
|
4005
4012
|
},
|
4006
|
-
p(i,
|
4007
|
-
if (
|
4008
|
-
|
4009
|
-
r =
|
4013
|
+
p(i, s) {
|
4014
|
+
if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
4015
|
+
133056) {
|
4016
|
+
r = se(
|
4010
4017
|
/*subGroupsData*/
|
4011
4018
|
i[10]
|
4012
4019
|
);
|
4013
|
-
let
|
4014
|
-
for (
|
4015
|
-
const a =
|
4016
|
-
n[
|
4020
|
+
let o;
|
4021
|
+
for (o = 0; o < r.length; o += 1) {
|
4022
|
+
const a = Dt(i, r, o);
|
4023
|
+
n[o] ? n[o].p(a, s) : (n[o] = Xt(a), n[o].c(), n[o].m(t, null));
|
4017
4024
|
}
|
4018
|
-
for (;
|
4019
|
-
n[
|
4025
|
+
for (; o < n.length; o += 1)
|
4026
|
+
n[o].d(1);
|
4020
4027
|
n.length = r.length;
|
4021
4028
|
}
|
4022
4029
|
},
|
4023
4030
|
d(i) {
|
4024
|
-
i &&
|
4031
|
+
i && U(t), Jr(n, i);
|
4025
4032
|
}
|
4026
4033
|
};
|
4027
4034
|
}
|
4028
|
-
function
|
4029
|
-
var
|
4035
|
+
function jt(e) {
|
4036
|
+
var c;
|
4030
4037
|
let t, r, n = (
|
4031
4038
|
/*subGroupItem*/
|
4032
|
-
((
|
4033
|
-
), i,
|
4039
|
+
((c = e[63]) == null ? void 0 : c.name) + ""
|
4040
|
+
), i, s, o, a, u;
|
4034
4041
|
function l(...m) {
|
4035
4042
|
return (
|
4036
|
-
/*
|
4037
|
-
e[
|
4043
|
+
/*click_handler_2*/
|
4044
|
+
e[38](
|
4038
4045
|
/*category*/
|
4039
|
-
e[
|
4046
|
+
e[57],
|
4040
4047
|
/*index*/
|
4041
|
-
e[
|
4048
|
+
e[59],
|
4042
4049
|
/*subGroupItem*/
|
4043
|
-
e[
|
4050
|
+
e[63],
|
4044
4051
|
/*subindex*/
|
4045
|
-
e[
|
4052
|
+
e[65],
|
4046
4053
|
...m
|
4047
4054
|
)
|
4048
4055
|
);
|
4049
4056
|
}
|
4050
4057
|
return {
|
4051
4058
|
c() {
|
4052
|
-
t =
|
4053
|
-
(e[
|
4059
|
+
t = P("li"), r = P("a"), i = Ce(n), o = J(), T(r, "class", s = "SubDropDown " + /*index*/
|
4060
|
+
(e[59] == /*activeIndex*/
|
4054
4061
|
e[6] && /*activeSubIndex*/
|
4055
4062
|
(e[7] == /*subindex*/
|
4056
|
-
e[
|
4063
|
+
e[65] || /*prevSubIndex*/
|
4057
4064
|
e[8] == /*subindex*/
|
4058
|
-
e[
|
4065
|
+
e[65]) ? "active" : ""));
|
4059
4066
|
},
|
4060
4067
|
m(m, f) {
|
4061
|
-
|
4068
|
+
k(m, t, f), M(t, r), M(r, i), M(t, o), a || (u = V(t, "click", l), a = !0);
|
4062
4069
|
},
|
4063
4070
|
p(m, f) {
|
4064
4071
|
var p;
|
4065
4072
|
e = m, f[0] & /*subGroupsData*/
|
4066
4073
|
1024 && n !== (n = /*subGroupItem*/
|
4067
|
-
((p = e[
|
4068
|
-
1984 &&
|
4069
|
-
(e[
|
4074
|
+
((p = e[63]) == null ? void 0 : p.name) + "") && st(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4075
|
+
1984 && s !== (s = "SubDropDown " + /*index*/
|
4076
|
+
(e[59] == /*activeIndex*/
|
4070
4077
|
e[6] && /*activeSubIndex*/
|
4071
4078
|
(e[7] == /*subindex*/
|
4072
|
-
e[
|
4079
|
+
e[65] || /*prevSubIndex*/
|
4073
4080
|
e[8] == /*subindex*/
|
4074
|
-
e[
|
4081
|
+
e[65]) ? "active" : "")) && T(r, "class", s);
|
4075
4082
|
},
|
4076
4083
|
d(m) {
|
4077
|
-
m &&
|
4084
|
+
m && U(t), a = !1, u();
|
4078
4085
|
}
|
4079
4086
|
};
|
4080
4087
|
}
|
4081
|
-
function
|
4088
|
+
function Vt(e, t) {
|
4082
4089
|
let r, n, i = (
|
4083
4090
|
/*index*/
|
4084
|
-
t[
|
4085
|
-
t[
|
4091
|
+
t[59] == /*subGroup*/
|
4092
|
+
t[60].index && jt(t)
|
4086
4093
|
);
|
4087
4094
|
return {
|
4088
4095
|
key: e,
|
4089
4096
|
first: null,
|
4090
4097
|
c() {
|
4091
|
-
r =
|
4098
|
+
r = ve(), i && i.c(), n = ve(), this.first = r;
|
4092
4099
|
},
|
4093
|
-
m(
|
4094
|
-
|
4100
|
+
m(s, o) {
|
4101
|
+
k(s, r, o), i && i.m(s, o), k(s, n, o);
|
4095
4102
|
},
|
4096
|
-
p(
|
4097
|
-
t =
|
4098
|
-
t[
|
4099
|
-
t[
|
4103
|
+
p(s, o) {
|
4104
|
+
t = s, /*index*/
|
4105
|
+
t[59] == /*subGroup*/
|
4106
|
+
t[60].index ? i ? i.p(t, o) : (i = jt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4100
4107
|
},
|
4101
|
-
d(
|
4102
|
-
|
4108
|
+
d(s) {
|
4109
|
+
s && (U(r), U(n)), i && i.d(s);
|
4103
4110
|
}
|
4104
4111
|
};
|
4105
4112
|
}
|
4106
|
-
function
|
4107
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4113
|
+
function Xt(e) {
|
4114
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
|
4108
4115
|
/*subGroup*/
|
4109
|
-
e[
|
4116
|
+
e[60].items
|
4110
4117
|
);
|
4111
|
-
const
|
4118
|
+
const s = (o) => (
|
4112
4119
|
/*subGroupItem*/
|
4113
|
-
|
4120
|
+
o[63].id
|
4114
4121
|
);
|
4115
|
-
for (let
|
4116
|
-
let a =
|
4117
|
-
r.set(u, t[
|
4122
|
+
for (let o = 0; o < i.length; o += 1) {
|
4123
|
+
let a = Ut(e, i, o), u = s(a);
|
4124
|
+
r.set(u, t[o] = Vt(u, a));
|
4118
4125
|
}
|
4119
4126
|
return {
|
4120
4127
|
c() {
|
4121
|
-
for (let
|
4122
|
-
t[
|
4123
|
-
n =
|
4128
|
+
for (let o = 0; o < t.length; o += 1)
|
4129
|
+
t[o].c();
|
4130
|
+
n = ve();
|
4124
4131
|
},
|
4125
|
-
m(
|
4132
|
+
m(o, a) {
|
4126
4133
|
for (let u = 0; u < t.length; u += 1)
|
4127
|
-
t[u] && t[u].m(
|
4128
|
-
|
4134
|
+
t[u] && t[u].m(o, a);
|
4135
|
+
k(o, n, a);
|
4129
4136
|
},
|
4130
|
-
p(
|
4137
|
+
p(o, a) {
|
4131
4138
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4132
|
-
|
4139
|
+
133056 && (i = se(
|
4133
4140
|
/*subGroup*/
|
4134
|
-
|
4135
|
-
), t =
|
4141
|
+
o[60].items
|
4142
|
+
), t = Jt(t, a, s, 1, o, i, r, n.parentNode, qt, Vt, n, Ut));
|
4136
4143
|
},
|
4137
|
-
d(
|
4138
|
-
|
4144
|
+
d(o) {
|
4145
|
+
o && U(n);
|
4139
4146
|
for (let a = 0; a < t.length; a += 1)
|
4140
|
-
t[a].d(
|
4147
|
+
t[a].d(o);
|
4141
4148
|
}
|
4142
4149
|
};
|
4143
4150
|
}
|
4144
|
-
function
|
4145
|
-
let r, n, i,
|
4146
|
-
function p(
|
4151
|
+
function Wt(e, t) {
|
4152
|
+
let r, n, i, s, o, a, u, l, c, m, f;
|
4153
|
+
function p(E, w) {
|
4147
4154
|
return (
|
4148
4155
|
/*location*/
|
4149
|
-
|
4156
|
+
E[0] === "headerMain" ? ho : uo
|
4150
4157
|
);
|
4151
4158
|
}
|
4152
4159
|
let g = p(t), b = g(t), d = (
|
4153
4160
|
/*itemsActive*/
|
4154
4161
|
t[11][
|
4155
4162
|
/*index*/
|
4156
|
-
t[
|
4157
|
-
] == !0 &&
|
4163
|
+
t[59]
|
4164
|
+
] == !0 && kt(t)
|
4158
4165
|
);
|
4159
|
-
function H(...
|
4166
|
+
function H(...E) {
|
4160
4167
|
return (
|
4161
|
-
/*
|
4162
|
-
t[
|
4168
|
+
/*click_handler_3*/
|
4169
|
+
t[39](
|
4163
4170
|
/*category*/
|
4164
|
-
t[
|
4171
|
+
t[57],
|
4165
4172
|
/*index*/
|
4166
|
-
t[
|
4167
|
-
...
|
4173
|
+
t[59],
|
4174
|
+
...E
|
4168
4175
|
)
|
4169
4176
|
);
|
4170
4177
|
}
|
@@ -4172,426 +4179,476 @@ function $t(e, t) {
|
|
4172
4179
|
key: e,
|
4173
4180
|
first: null,
|
4174
4181
|
c() {
|
4175
|
-
var
|
4176
|
-
r =
|
4177
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4178
|
-
t[
|
4182
|
+
var E, w;
|
4183
|
+
r = P("li"), n = P("div"), i = P("img"), a = J(), b.c(), u = J(), d && d.c(), l = J(), T(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
|
4184
|
+
(t[3] === "true" ? "" : "DisplayNone")), _t(i.src, o = /*handleSrc*/
|
4185
|
+
t[20](
|
4179
4186
|
/*category*/
|
4180
|
-
t[
|
4181
|
-
)) ||
|
4182
|
-
(((
|
4187
|
+
t[57]
|
4188
|
+
)) || T(i, "src", o), T(n, "class", "CategoryIcon"), T(r, "class", c = "CarouselItem " + /*activeindex*/
|
4189
|
+
(((E = t[1]) == null ? void 0 : E.toString().indexOf("$")) > -1 ? (
|
4183
4190
|
/*activeindex*/
|
4184
|
-
((
|
4185
|
-
t[
|
4191
|
+
((w = t[1]) == null ? void 0 : w.split("$").pop()) == /*category*/
|
4192
|
+
t[57].id.split("$").pop() ? "active" : ""
|
4186
4193
|
) : (
|
4187
4194
|
/*activeindex*/
|
4188
4195
|
t[1] == /*category*/
|
4189
|
-
t[
|
4196
|
+
t[57].id ? "active" : ""
|
4190
4197
|
)) + " " + /*location*/
|
4191
4198
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4192
4199
|
},
|
4193
|
-
m(
|
4194
|
-
|
4200
|
+
m(E, w) {
|
4201
|
+
k(E, r, w), M(r, n), M(n, i), M(r, a), b.m(r, null), M(r, u), d && d.m(r, null), M(r, l), m || (f = V(r, "click", H), m = !0);
|
4195
4202
|
},
|
4196
|
-
p(
|
4197
|
-
var O,
|
4198
|
-
t =
|
4199
|
-
8 &&
|
4200
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4201
|
-
512 && !
|
4202
|
-
t[
|
4203
|
+
p(E, w) {
|
4204
|
+
var O, L;
|
4205
|
+
t = E, w[0] & /*categoriesicon*/
|
4206
|
+
8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
|
4207
|
+
(t[3] === "true" ? "" : "DisplayNone")) && T(i, "class", s), w[0] & /*sliderdata*/
|
4208
|
+
512 && !_t(i.src, o = /*handleSrc*/
|
4209
|
+
t[20](
|
4203
4210
|
/*category*/
|
4204
|
-
t[
|
4205
|
-
)) &&
|
4211
|
+
t[57]
|
4212
|
+
)) && T(i, "src", o), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4206
4213
|
t[11][
|
4207
4214
|
/*index*/
|
4208
|
-
t[
|
4209
|
-
] == !0 ? d ? d.p(t,
|
4210
|
-
515 &&
|
4215
|
+
t[59]
|
4216
|
+
] == !0 ? d ? d.p(t, w) : (d = kt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
|
4217
|
+
515 && c !== (c = "CarouselItem " + /*activeindex*/
|
4211
4218
|
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4212
4219
|
/*activeindex*/
|
4213
|
-
((
|
4214
|
-
t[
|
4220
|
+
((L = t[1]) == null ? void 0 : L.split("$").pop()) == /*category*/
|
4221
|
+
t[57].id.split("$").pop() ? "active" : ""
|
4215
4222
|
) : (
|
4216
4223
|
/*activeindex*/
|
4217
4224
|
t[1] == /*category*/
|
4218
|
-
t[
|
4225
|
+
t[57].id ? "active" : ""
|
4219
4226
|
)) + " " + /*location*/
|
4220
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4227
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", c);
|
4221
4228
|
},
|
4222
|
-
d(
|
4223
|
-
|
4229
|
+
d(E) {
|
4230
|
+
E && U(r), b.d(), d && d.d(), m = !1, f();
|
4224
4231
|
}
|
4225
4232
|
};
|
4226
4233
|
}
|
4227
|
-
function
|
4228
|
-
let t, r, n, i,
|
4234
|
+
function co(e) {
|
4235
|
+
let t, r, n, i, s, o, a, u, l, c, m, f, p, g, b, d = (
|
4229
4236
|
/*sliderdata*/
|
4230
|
-
e[9].length > 0 &&
|
4237
|
+
e[9].length > 0 && Gt(e)
|
4231
4238
|
);
|
4232
4239
|
return {
|
4233
4240
|
c() {
|
4234
|
-
t =
|
4235
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4236
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4241
|
+
t = P("div"), r = P("div"), n = P("div"), n.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="2" d="M15 19l-7-7 7-7"></path></svg>', i = J(), s = P("div"), o = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = J(), d && d.c(), l = J(), c = P("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="2" d="M9 5l7 7-7 7"></path></svg>', T(n, "class", "CarouselLeftArrow"), T(a, "class", "TouchOnly"), T(o, "id", "CarouselNav"), T(o, "class", "CarouselItems"), T(s, "class", "CarouselNavWrap scroller"), T(c, "class", "CarouselRightArrow"), T(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4242
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), T(r, "style", f = /*location*/
|
4243
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), T(t, "class", p = "CarouselWrapper " + /*location*/
|
4237
4244
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4238
4245
|
},
|
4239
|
-
m(H,
|
4240
|
-
|
4241
|
-
|
4246
|
+
m(H, E) {
|
4247
|
+
k(H, t, E), M(t, r), M(r, n), M(r, i), M(r, s), M(s, o), M(o, a), M(o, u), d && d.m(o, null), e[40](o), e[41](s), M(r, l), M(r, c), e[43](t), g || (b = [
|
4248
|
+
V(
|
4242
4249
|
n,
|
4243
4250
|
"click",
|
4244
|
-
/*
|
4245
|
-
e[
|
4251
|
+
/*click_handler_1*/
|
4252
|
+
e[37]
|
4253
|
+
),
|
4254
|
+
V(
|
4255
|
+
o,
|
4256
|
+
"mousedown",
|
4257
|
+
/*handleMouseDown*/
|
4258
|
+
e[13]
|
4259
|
+
),
|
4260
|
+
V(
|
4261
|
+
o,
|
4262
|
+
"mouseleave",
|
4263
|
+
/*handleMouseLeave*/
|
4264
|
+
e[14]
|
4265
|
+
),
|
4266
|
+
V(
|
4267
|
+
o,
|
4268
|
+
"mouseup",
|
4269
|
+
/*handleMouseUp*/
|
4270
|
+
e[15]
|
4246
4271
|
),
|
4247
|
-
|
4248
|
-
|
4272
|
+
V(
|
4273
|
+
o,
|
4274
|
+
"mousemove",
|
4275
|
+
/*handleMouseMove*/
|
4276
|
+
e[16]
|
4277
|
+
),
|
4278
|
+
V(o, "click", Yr(
|
4279
|
+
/*click_handler*/
|
4280
|
+
e[36]
|
4281
|
+
)),
|
4282
|
+
V(
|
4283
|
+
c,
|
4249
4284
|
"click",
|
4250
|
-
/*
|
4251
|
-
e[
|
4285
|
+
/*click_handler_4*/
|
4286
|
+
e[42]
|
4252
4287
|
)
|
4253
4288
|
], g = !0);
|
4254
4289
|
},
|
4255
|
-
p(H,
|
4290
|
+
p(H, E) {
|
4256
4291
|
/*sliderdata*/
|
4257
|
-
H[9].length > 0 ? d ? d.p(H,
|
4292
|
+
H[9].length > 0 ? d ? d.p(H, E) : (d = Gt(H), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
|
4258
4293
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4259
|
-
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
4294
|
+
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
|
4260
4295
|
1 && f !== (f = /*location*/
|
4261
|
-
H[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
4296
|
+
H[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), E[0] & /*location*/
|
4262
4297
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4263
|
-
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
4298
|
+
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
|
4264
4299
|
},
|
4265
|
-
i:
|
4266
|
-
o:
|
4300
|
+
i: $,
|
4301
|
+
o: $,
|
4267
4302
|
d(H) {
|
4268
|
-
H &&
|
4303
|
+
H && U(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, Y(b);
|
4269
4304
|
}
|
4270
4305
|
};
|
4271
4306
|
}
|
4272
|
-
function
|
4273
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname:
|
4274
|
-
|
4275
|
-
|
4276
|
-
|
4277
|
-
|
4278
|
-
|
4307
|
+
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, v;
|
4309
|
+
so({ withLocale: "en", translations: {} });
|
4310
|
+
let S = !1, R = 0, D = 0;
|
4311
|
+
const ee = (h) => {
|
4312
|
+
var x, I;
|
4313
|
+
h.preventDefault(), S = !0, v == null || v.classList.add("dragging"), R = h.pageX - ((x = v == null ? void 0 : v.offsetLeft) != null ? x : 0), D = (I = v == null ? void 0 : v.scrollLeft) != null ? I : 0;
|
4314
|
+
}, Cr = (h) => {
|
4315
|
+
h.preventDefault(), S = !1, v == null || v.classList.remove("dragging");
|
4316
|
+
}, wr = (h) => {
|
4317
|
+
S = !1, v == null || v.classList.remove("dragging");
|
4318
|
+
}, Hr = (h) => {
|
4319
|
+
if (!S || !v)
|
4320
|
+
return;
|
4321
|
+
h.preventDefault();
|
4322
|
+
const I = (h.pageX - v.offsetLeft - R) * 2.5;
|
4323
|
+
r(5, v.scrollLeft = D - I, v);
|
4324
|
+
}, Sr = () => {
|
4325
|
+
fetch(f).then((x) => x.json()).then((x) => {
|
4326
|
+
Object.keys(x).forEach((I) => {
|
4327
|
+
Ot(I, x[I]);
|
4279
4328
|
});
|
4280
|
-
}).catch((
|
4281
|
-
console.log(
|
4329
|
+
}).catch((x) => {
|
4330
|
+
console.log(x);
|
4282
4331
|
});
|
4283
4332
|
};
|
4284
|
-
Object.keys(
|
4285
|
-
|
4333
|
+
Object.keys(Ft).forEach((h) => {
|
4334
|
+
Ot(h, Ft[h]);
|
4286
4335
|
});
|
4287
|
-
let
|
4288
|
-
var
|
4289
|
-
if (!(
|
4290
|
-
if (
|
4336
|
+
let Z, de, De, j, pe = [], we = [], te = [], N, Ue = (h, x, I, Q, X) => {
|
4337
|
+
var q;
|
4338
|
+
if (!(h.subGroups && Q === null)) {
|
4339
|
+
if (He(), r(6, Z = x), r(6, Z), X != "secondary") {
|
4291
4340
|
window.postMessage(
|
4292
4341
|
{
|
4293
|
-
type:
|
4342
|
+
type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4294
4343
|
buzz: "1",
|
4295
|
-
itemId:
|
4296
|
-
index:
|
4297
|
-
item:
|
4298
|
-
path:
|
4299
|
-
externalLink:
|
4300
|
-
target: ((
|
4344
|
+
itemId: h.id,
|
4345
|
+
index: x,
|
4346
|
+
item: h,
|
4347
|
+
path: h.path,
|
4348
|
+
externalLink: h.externalLink || !1,
|
4349
|
+
target: ((q = h.attrs) == null ? void 0 : q.target) || null
|
4301
4350
|
},
|
4302
4351
|
window.location.href
|
4303
|
-
), r(7,
|
4352
|
+
), r(7, de = null), r(8, De = null);
|
4304
4353
|
return;
|
4305
4354
|
}
|
4306
|
-
r(7,
|
4355
|
+
r(7, de = Q), r(7, de), r(8, De = de), window.postMessage(
|
4307
4356
|
{
|
4308
|
-
type:
|
4309
|
-
itemId:
|
4310
|
-
subIndex:
|
4311
|
-
subItem:
|
4357
|
+
type: o,
|
4358
|
+
itemId: I.id,
|
4359
|
+
subIndex: Q,
|
4360
|
+
subItem: I
|
4312
4361
|
},
|
4313
4362
|
window.location.href
|
4314
4363
|
);
|
4315
4364
|
}
|
4316
|
-
},
|
4317
|
-
N && (
|
4318
|
-
},
|
4319
|
-
N && (
|
4365
|
+
}, ct = () => {
|
4366
|
+
N && (te.length !== Z ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4367
|
+
}, ft = () => {
|
4368
|
+
N && (te.length !== Z ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4320
4369
|
};
|
4321
|
-
const
|
4322
|
-
|
4323
|
-
|
4370
|
+
const mt = (h) => {
|
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" && Br()), h.data.type == "GoToHomepage" && pe.forEach((x, I) => {
|
4372
|
+
x.path.endsWith("/casino") && (r(6, Z = I), r(6, Z));
|
4324
4373
|
});
|
4325
|
-
},
|
4326
|
-
|
4327
|
-
},
|
4328
|
-
if (u == "secondaryMenu" && n && i && b &&
|
4329
|
-
let
|
4330
|
-
fetch(
|
4331
|
-
X.index =
|
4374
|
+
}, Tr = () => {
|
4375
|
+
ao(b);
|
4376
|
+
}, Ar = (h, x, I) => {
|
4377
|
+
if (u == "secondaryMenu" && n && i && b && h.id) {
|
4378
|
+
let Q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
|
4379
|
+
fetch(Q.href).then((X) => X.json()).then((X) => {
|
4380
|
+
X.index = x, r(10, we = we.concat(X)), H == "false" && window.postMessage(
|
4332
4381
|
{
|
4333
|
-
type:
|
4334
|
-
itemId:
|
4335
|
-
index:
|
4336
|
-
item:
|
4382
|
+
type: o,
|
4383
|
+
itemId: h.id,
|
4384
|
+
index: x,
|
4385
|
+
item: h
|
4337
4386
|
},
|
4338
4387
|
window.location.href
|
4339
4388
|
);
|
4340
|
-
const
|
4341
|
-
|
4342
|
-
|
4343
|
-
}),
|
4389
|
+
const q = [];
|
4390
|
+
we.map((Ur) => (Ur.items.forEach((dt) => {
|
4391
|
+
q.find((Gr) => dt.id == Gr) || q.push(dt.id);
|
4392
|
+
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
4344
4393
|
}).then(() => {
|
4345
|
-
|
4394
|
+
v.querySelectorAll(".DropDown") && He();
|
4346
4395
|
});
|
4347
4396
|
}
|
4348
|
-
u == "headerMain" && window.postMessage({ type:
|
4349
|
-
},
|
4350
|
-
const
|
4397
|
+
u == "headerMain" && window.postMessage({ type: o, item: h }, window.location.href);
|
4398
|
+
}, He = () => {
|
4399
|
+
const h = v.querySelectorAll(".DropDown");
|
4351
4400
|
document.activeElement.blur(), N.classList.add("isScrolling");
|
4352
|
-
for (let
|
4353
|
-
|
4401
|
+
for (let x = 0; x < h.length; x++)
|
4402
|
+
h[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4354
4403
|
N.classList.remove("isScrolling");
|
4355
|
-
},
|
4356
|
-
|
4357
|
-
var
|
4358
|
-
((
|
4404
|
+
}, Br = () => {
|
4405
|
+
pe.forEach((h, x) => {
|
4406
|
+
var I;
|
4407
|
+
((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te), Ar(h, x));
|
4359
4408
|
});
|
4360
|
-
},
|
4361
|
-
let
|
4362
|
-
return
|
4409
|
+
}, Ir = (h) => {
|
4410
|
+
let x = "";
|
4411
|
+
return h.id === "LOBBY" ? x = w : h.id === "MYGAMES" && (x = O), h.icon || x;
|
4363
4412
|
};
|
4364
|
-
|
4413
|
+
rn(() => (window.addEventListener("message", mt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4365
4414
|
() => {
|
4366
|
-
N.addEventListener("scroll",
|
4415
|
+
N.addEventListener("scroll", He);
|
4367
4416
|
},
|
4368
4417
|
500
|
4369
4418
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4370
|
-
window.removeEventListener("message",
|
4419
|
+
window.removeEventListener("message", mt), v.removeEventListener("scroll", He);
|
4371
4420
|
}));
|
4372
|
-
|
4373
|
-
|
4374
|
-
}
|
4375
|
-
|
4421
|
+
function Mr(h) {
|
4422
|
+
nn.call(this, e, h);
|
4423
|
+
}
|
4424
|
+
const Lr = () => ct(), Nr = (h, x, I, Q, X) => {
|
4425
|
+
Ue(h, x, I, Q, "secondary"), X.stopPropagation();
|
4426
|
+
}, Pr = (h, x, I) => {
|
4427
|
+
Ue(h, x, null, null, "main"), I.preventDefault();
|
4376
4428
|
};
|
4377
|
-
function
|
4378
|
-
|
4379
|
-
|
4429
|
+
function Or(h) {
|
4430
|
+
ye[h ? "unshift" : "push"](() => {
|
4431
|
+
v = h, r(5, v);
|
4380
4432
|
});
|
4381
4433
|
}
|
4382
|
-
function
|
4383
|
-
|
4384
|
-
N =
|
4434
|
+
function Fr(h) {
|
4435
|
+
ye[h ? "unshift" : "push"](() => {
|
4436
|
+
N = h, r(12, N);
|
4385
4437
|
});
|
4386
4438
|
}
|
4387
|
-
const
|
4388
|
-
function
|
4389
|
-
|
4390
|
-
j =
|
4439
|
+
const Rr = () => ft();
|
4440
|
+
function Dr(h) {
|
4441
|
+
ye[h ? "unshift" : "push"](() => {
|
4442
|
+
j = h, r(4, j);
|
4391
4443
|
});
|
4392
4444
|
}
|
4393
|
-
return e.$$set = (
|
4394
|
-
"endpoint" in
|
4445
|
+
return e.$$set = (h) => {
|
4446
|
+
"endpoint" in h && r(21, n = h.endpoint), "datasource" in h && r(22, i = h.datasource), "onclickeventname" in h && r(23, s = h.onclickeventname), "actionevent" in h && r(24, o = h.actionevent), "favoritesnumber" in h && r(25, a = h.favoritesnumber), "location" in h && r(0, u = h.location), "clientstyling" in h && r(26, l = h.clientstyling), "clientstylingurl" in h && r(27, c = h.clientstylingurl), "identity" in h && r(28, m = h.identity), "translationurl" in h && r(29, f = h.translationurl), "isprimarymenu" in h && r(30, p = h.isprimarymenu), "issecondarymenu" in h && r(31, g = h.issecondarymenu), "lang" in h && r(32, b = h.lang), "activeindex" in h && r(1, d = h.activeindex), "showsubgroups" in h && r(2, H = h.showsubgroups), "categoriesicon" in h && r(3, E = h.categoriesicon), "lobbyiconimage" in h && r(33, w = h.lobbyiconimage), "mygamesiconimage" in h && r(34, O = h.mygamesiconimage), "mbsource" in h && r(35, L = h.mbsource);
|
4395
4447
|
}, e.$$.update = () => {
|
4396
4448
|
e.$$.dirty[0] & /*activeindex*/
|
4397
4449
|
2, e.$$.dirty[0] & /*translationurl*/
|
4398
|
-
|
4399
|
-
|
4400
|
-
|
4450
|
+
536870912 && f && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4451
|
+
67108880 && l && j && bn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4452
|
+
134217744 && c && j && yn(j, c), e.$$.dirty[0] & /*customStylingContainer*/
|
4401
4453
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4402
|
-
|
4403
|
-
|
4454
|
+
16 && L && j && vn(j, `${L}.Style`), e.$$.dirty[1] & /*lang*/
|
4455
|
+
2 && b && Tr();
|
4404
4456
|
}, [
|
4405
4457
|
u,
|
4406
4458
|
d,
|
4407
4459
|
H,
|
4408
|
-
|
4460
|
+
E,
|
4409
4461
|
j,
|
4410
|
-
|
4411
|
-
|
4412
|
-
|
4413
|
-
|
4414
|
-
|
4415
|
-
|
4416
|
-
|
4462
|
+
v,
|
4463
|
+
Z,
|
4464
|
+
de,
|
4465
|
+
De,
|
4466
|
+
pe,
|
4467
|
+
we,
|
4468
|
+
te,
|
4417
4469
|
N,
|
4418
|
-
|
4419
|
-
|
4420
|
-
|
4421
|
-
|
4470
|
+
ee,
|
4471
|
+
Cr,
|
4472
|
+
wr,
|
4473
|
+
Hr,
|
4474
|
+
Ue,
|
4475
|
+
ct,
|
4476
|
+
ft,
|
4477
|
+
Ir,
|
4422
4478
|
n,
|
4423
4479
|
i,
|
4424
|
-
o,
|
4425
4480
|
s,
|
4481
|
+
o,
|
4426
4482
|
a,
|
4427
4483
|
l,
|
4428
|
-
|
4484
|
+
c,
|
4429
4485
|
m,
|
4430
4486
|
f,
|
4431
4487
|
p,
|
4432
4488
|
g,
|
4433
4489
|
b,
|
4434
|
-
|
4490
|
+
w,
|
4435
4491
|
O,
|
4436
|
-
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4441
|
-
|
4442
|
-
|
4443
|
-
|
4492
|
+
L,
|
4493
|
+
Mr,
|
4494
|
+
Lr,
|
4495
|
+
Nr,
|
4496
|
+
Pr,
|
4497
|
+
Or,
|
4498
|
+
Fr,
|
4499
|
+
Rr,
|
4500
|
+
Dr
|
4444
4501
|
];
|
4445
4502
|
}
|
4446
|
-
class
|
4503
|
+
class mo extends pn {
|
4447
4504
|
constructor(t) {
|
4448
|
-
super(),
|
4505
|
+
super(), mn(
|
4449
4506
|
this,
|
4450
4507
|
t,
|
4451
|
-
|
4452
|
-
|
4453
|
-
|
4508
|
+
fo,
|
4509
|
+
co,
|
4510
|
+
Zt,
|
4454
4511
|
{
|
4455
|
-
endpoint:
|
4456
|
-
datasource:
|
4457
|
-
onclickeventname:
|
4458
|
-
actionevent:
|
4459
|
-
favoritesnumber:
|
4512
|
+
endpoint: 21,
|
4513
|
+
datasource: 22,
|
4514
|
+
onclickeventname: 23,
|
4515
|
+
actionevent: 24,
|
4516
|
+
favoritesnumber: 25,
|
4460
4517
|
location: 0,
|
4461
|
-
clientstyling:
|
4462
|
-
clientstylingurl:
|
4463
|
-
identity:
|
4464
|
-
translationurl:
|
4465
|
-
isprimarymenu:
|
4466
|
-
issecondarymenu:
|
4467
|
-
lang:
|
4518
|
+
clientstyling: 26,
|
4519
|
+
clientstylingurl: 27,
|
4520
|
+
identity: 28,
|
4521
|
+
translationurl: 29,
|
4522
|
+
isprimarymenu: 30,
|
4523
|
+
issecondarymenu: 31,
|
4524
|
+
lang: 32,
|
4468
4525
|
activeindex: 1,
|
4469
4526
|
showsubgroups: 2,
|
4470
4527
|
categoriesicon: 3,
|
4471
|
-
lobbyiconimage:
|
4472
|
-
mygamesiconimage:
|
4473
|
-
mbsource:
|
4528
|
+
lobbyiconimage: 33,
|
4529
|
+
mygamesiconimage: 34,
|
4530
|
+
mbsource: 35
|
4474
4531
|
},
|
4475
|
-
|
4476
|
-
[-1, -1]
|
4532
|
+
lo,
|
4533
|
+
[-1, -1, -1]
|
4477
4534
|
);
|
4478
4535
|
}
|
4479
4536
|
get endpoint() {
|
4480
|
-
return this.$$.ctx[
|
4537
|
+
return this.$$.ctx[21];
|
4481
4538
|
}
|
4482
4539
|
set endpoint(t) {
|
4483
|
-
this.$$set({ endpoint: t }),
|
4540
|
+
this.$$set({ endpoint: t }), B();
|
4484
4541
|
}
|
4485
4542
|
get datasource() {
|
4486
|
-
return this.$$.ctx[
|
4543
|
+
return this.$$.ctx[22];
|
4487
4544
|
}
|
4488
4545
|
set datasource(t) {
|
4489
|
-
this.$$set({ datasource: t }),
|
4546
|
+
this.$$set({ datasource: t }), B();
|
4490
4547
|
}
|
4491
4548
|
get onclickeventname() {
|
4492
|
-
return this.$$.ctx[
|
4549
|
+
return this.$$.ctx[23];
|
4493
4550
|
}
|
4494
4551
|
set onclickeventname(t) {
|
4495
|
-
this.$$set({ onclickeventname: t }),
|
4552
|
+
this.$$set({ onclickeventname: t }), B();
|
4496
4553
|
}
|
4497
4554
|
get actionevent() {
|
4498
|
-
return this.$$.ctx[
|
4555
|
+
return this.$$.ctx[24];
|
4499
4556
|
}
|
4500
4557
|
set actionevent(t) {
|
4501
|
-
this.$$set({ actionevent: t }),
|
4558
|
+
this.$$set({ actionevent: t }), B();
|
4502
4559
|
}
|
4503
4560
|
get favoritesnumber() {
|
4504
|
-
return this.$$.ctx[
|
4561
|
+
return this.$$.ctx[25];
|
4505
4562
|
}
|
4506
4563
|
set favoritesnumber(t) {
|
4507
|
-
this.$$set({ favoritesnumber: t }),
|
4564
|
+
this.$$set({ favoritesnumber: t }), B();
|
4508
4565
|
}
|
4509
4566
|
get location() {
|
4510
4567
|
return this.$$.ctx[0];
|
4511
4568
|
}
|
4512
4569
|
set location(t) {
|
4513
|
-
this.$$set({ location: t }),
|
4570
|
+
this.$$set({ location: t }), B();
|
4514
4571
|
}
|
4515
4572
|
get clientstyling() {
|
4516
|
-
return this.$$.ctx[
|
4573
|
+
return this.$$.ctx[26];
|
4517
4574
|
}
|
4518
4575
|
set clientstyling(t) {
|
4519
|
-
this.$$set({ clientstyling: t }),
|
4576
|
+
this.$$set({ clientstyling: t }), B();
|
4520
4577
|
}
|
4521
4578
|
get clientstylingurl() {
|
4522
|
-
return this.$$.ctx[
|
4579
|
+
return this.$$.ctx[27];
|
4523
4580
|
}
|
4524
4581
|
set clientstylingurl(t) {
|
4525
|
-
this.$$set({ clientstylingurl: t }),
|
4582
|
+
this.$$set({ clientstylingurl: t }), B();
|
4526
4583
|
}
|
4527
4584
|
get identity() {
|
4528
|
-
return this.$$.ctx[
|
4585
|
+
return this.$$.ctx[28];
|
4529
4586
|
}
|
4530
4587
|
set identity(t) {
|
4531
|
-
this.$$set({ identity: t }),
|
4588
|
+
this.$$set({ identity: t }), B();
|
4532
4589
|
}
|
4533
4590
|
get translationurl() {
|
4534
|
-
return this.$$.ctx[
|
4591
|
+
return this.$$.ctx[29];
|
4535
4592
|
}
|
4536
4593
|
set translationurl(t) {
|
4537
|
-
this.$$set({ translationurl: t }),
|
4594
|
+
this.$$set({ translationurl: t }), B();
|
4538
4595
|
}
|
4539
4596
|
get isprimarymenu() {
|
4540
|
-
return this.$$.ctx[
|
4597
|
+
return this.$$.ctx[30];
|
4541
4598
|
}
|
4542
4599
|
set isprimarymenu(t) {
|
4543
|
-
this.$$set({ isprimarymenu: t }),
|
4600
|
+
this.$$set({ isprimarymenu: t }), B();
|
4544
4601
|
}
|
4545
4602
|
get issecondarymenu() {
|
4546
|
-
return this.$$.ctx[
|
4603
|
+
return this.$$.ctx[31];
|
4547
4604
|
}
|
4548
4605
|
set issecondarymenu(t) {
|
4549
|
-
this.$$set({ issecondarymenu: t }),
|
4606
|
+
this.$$set({ issecondarymenu: t }), B();
|
4550
4607
|
}
|
4551
4608
|
get lang() {
|
4552
|
-
return this.$$.ctx[
|
4609
|
+
return this.$$.ctx[32];
|
4553
4610
|
}
|
4554
4611
|
set lang(t) {
|
4555
|
-
this.$$set({ lang: t }),
|
4612
|
+
this.$$set({ lang: t }), B();
|
4556
4613
|
}
|
4557
4614
|
get activeindex() {
|
4558
4615
|
return this.$$.ctx[1];
|
4559
4616
|
}
|
4560
4617
|
set activeindex(t) {
|
4561
|
-
this.$$set({ activeindex: t }),
|
4618
|
+
this.$$set({ activeindex: t }), B();
|
4562
4619
|
}
|
4563
4620
|
get showsubgroups() {
|
4564
4621
|
return this.$$.ctx[2];
|
4565
4622
|
}
|
4566
4623
|
set showsubgroups(t) {
|
4567
|
-
this.$$set({ showsubgroups: t }),
|
4624
|
+
this.$$set({ showsubgroups: t }), B();
|
4568
4625
|
}
|
4569
4626
|
get categoriesicon() {
|
4570
4627
|
return this.$$.ctx[3];
|
4571
4628
|
}
|
4572
4629
|
set categoriesicon(t) {
|
4573
|
-
this.$$set({ categoriesicon: t }),
|
4630
|
+
this.$$set({ categoriesicon: t }), B();
|
4574
4631
|
}
|
4575
4632
|
get lobbyiconimage() {
|
4576
|
-
return this.$$.ctx[
|
4633
|
+
return this.$$.ctx[33];
|
4577
4634
|
}
|
4578
4635
|
set lobbyiconimage(t) {
|
4579
|
-
this.$$set({ lobbyiconimage: t }),
|
4636
|
+
this.$$set({ lobbyiconimage: t }), B();
|
4580
4637
|
}
|
4581
4638
|
get mygamesiconimage() {
|
4582
|
-
return this.$$.ctx[
|
4639
|
+
return this.$$.ctx[34];
|
4583
4640
|
}
|
4584
4641
|
set mygamesiconimage(t) {
|
4585
|
-
this.$$set({ mygamesiconimage: t }),
|
4642
|
+
this.$$set({ mygamesiconimage: t }), B();
|
4586
4643
|
}
|
4587
4644
|
get mbsource() {
|
4588
|
-
return this.$$.ctx[
|
4645
|
+
return this.$$.ctx[35];
|
4589
4646
|
}
|
4590
4647
|
set mbsource(t) {
|
4591
|
-
this.$$set({ mbsource: t }),
|
4648
|
+
this.$$set({ mbsource: t }), B();
|
4592
4649
|
}
|
4593
4650
|
}
|
4594
|
-
|
4651
|
+
dn(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);
|
4595
4652
|
export {
|
4596
|
-
|
4653
|
+
mo as default
|
4597
4654
|
};
|