@everymatrix/casino-slider 1.71.0 → 1.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoSlider-2k8UQrFs.cjs +3 -0
- package/components/{CasinoSlider-CPOaJyYS.js → CasinoSlider-D695H9Sp.js} +773 -769
- package/components/{CasinoSlider-B7m3YqGa.js → CasinoSlider-DjWsrMoE.js} +583 -579
- 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-CrkuJukb.cjs +0 -16
@@ -6,18 +6,18 @@ function Dt(e) {
|
|
6
6
|
function ht() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
9
|
+
function q(e) {
|
10
10
|
e.forEach(Dt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function rt(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
15
|
function Ut(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
let
|
18
|
+
let Ce;
|
19
19
|
function ct(e, t) {
|
20
|
-
return e === t ? !0 : (
|
20
|
+
return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
|
21
21
|
}
|
22
22
|
function Tr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
@@ -71,29 +71,29 @@ function Nr(e, t) {
|
|
71
71
|
function N(e) {
|
72
72
|
return document.createElement(e);
|
73
73
|
}
|
74
|
-
function
|
74
|
+
function ve(e) {
|
75
75
|
return document.createTextNode(e);
|
76
76
|
}
|
77
|
-
function
|
78
|
-
return
|
77
|
+
function Q() {
|
78
|
+
return ve(" ");
|
79
79
|
}
|
80
|
-
function
|
81
|
-
return
|
80
|
+
function pe() {
|
81
|
+
return ve("");
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function Ae(e, t, r, n) {
|
84
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function H(e, t, r) {
|
87
87
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function Pr(e) {
|
90
90
|
return Array.from(e.childNodes);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function nt(e, t) {
|
93
93
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
94
94
|
t);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function Or(e) {
|
97
97
|
const t = {};
|
98
98
|
return e.childNodes.forEach(
|
99
99
|
/** @param {Element} node */
|
@@ -102,125 +102,125 @@ function Pr(e) {
|
|
102
102
|
}
|
103
103
|
), t;
|
104
104
|
}
|
105
|
-
let
|
106
|
-
function
|
107
|
-
|
105
|
+
let ge;
|
106
|
+
function me(e) {
|
107
|
+
ge = e;
|
108
108
|
}
|
109
|
-
function
|
110
|
-
if (!
|
109
|
+
function Lr() {
|
110
|
+
if (!ge)
|
111
111
|
throw new Error("Function called outside component initialization");
|
112
|
-
return
|
112
|
+
return ge;
|
113
113
|
}
|
114
114
|
function Fr(e) {
|
115
|
-
|
115
|
+
Lr().$$.on_mount.push(e);
|
116
116
|
}
|
117
|
-
const
|
118
|
-
let
|
117
|
+
const te = [], de = [];
|
118
|
+
let re = [];
|
119
119
|
const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
|
120
|
-
let
|
120
|
+
let Xe = !1;
|
121
121
|
function Dr() {
|
122
|
-
|
122
|
+
Xe || (Xe = !0, Rr.then(A));
|
123
123
|
}
|
124
|
-
function
|
125
|
-
|
124
|
+
function We(e) {
|
125
|
+
re.push(e);
|
126
126
|
}
|
127
|
-
const
|
128
|
-
let
|
127
|
+
const De = /* @__PURE__ */ new Set();
|
128
|
+
let K = 0;
|
129
129
|
function A() {
|
130
|
-
if (
|
130
|
+
if (K !== 0)
|
131
131
|
return;
|
132
|
-
const e =
|
132
|
+
const e = ge;
|
133
133
|
do {
|
134
134
|
try {
|
135
|
-
for (;
|
136
|
-
const t =
|
137
|
-
|
135
|
+
for (; K < te.length; ) {
|
136
|
+
const t = te[K];
|
137
|
+
K++, me(t), Ur(t.$$);
|
138
138
|
}
|
139
139
|
} catch (t) {
|
140
|
-
throw
|
140
|
+
throw te.length = 0, K = 0, t;
|
141
141
|
}
|
142
|
-
for (
|
143
|
-
|
144
|
-
for (let t = 0; t <
|
145
|
-
const r =
|
146
|
-
|
142
|
+
for (me(null), te.length = 0, K = 0; de.length; )
|
143
|
+
de.pop()();
|
144
|
+
for (let t = 0; t < re.length; t += 1) {
|
145
|
+
const r = re[t];
|
146
|
+
De.has(r) || (De.add(r), r());
|
147
147
|
}
|
148
|
-
|
149
|
-
} while (
|
148
|
+
re.length = 0;
|
149
|
+
} while (te.length);
|
150
150
|
for (; ft.length; )
|
151
151
|
ft.pop()();
|
152
|
-
|
152
|
+
Xe = !1, De.clear(), me(e);
|
153
153
|
}
|
154
154
|
function Ur(e) {
|
155
155
|
if (e.fragment !== null) {
|
156
|
-
e.update(),
|
156
|
+
e.update(), q(e.before_update);
|
157
157
|
const t = e.dirty;
|
158
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
158
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
159
159
|
}
|
160
160
|
}
|
161
161
|
function Gr(e) {
|
162
162
|
const t = [], r = [];
|
163
|
-
|
163
|
+
re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
|
164
164
|
}
|
165
165
|
const kr = /* @__PURE__ */ new Set();
|
166
166
|
function Gt(e, t) {
|
167
167
|
e && e.i && (kr.delete(e), e.i(t));
|
168
168
|
}
|
169
|
-
function
|
169
|
+
function ne(e) {
|
170
170
|
return e?.length !== void 0 ? e : Array.from(e);
|
171
171
|
}
|
172
172
|
function kt(e, t) {
|
173
173
|
e.d(1), t.delete(e.key);
|
174
174
|
}
|
175
|
-
function $t(e, t, r, n, i,
|
176
|
-
let f = e.length, p =
|
175
|
+
function $t(e, t, r, n, i, o, s, a, h, l, u, m) {
|
176
|
+
let f = e.length, p = o.length, g = f;
|
177
177
|
const b = {};
|
178
178
|
for (; g--; )
|
179
179
|
b[e[g].key] = g;
|
180
|
-
const d = [],
|
180
|
+
const d = [], C = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), w = [];
|
181
181
|
for (g = p; g--; ) {
|
182
|
-
const
|
183
|
-
let
|
184
|
-
|
182
|
+
const x = m(i, o, g), I = r(x);
|
183
|
+
let P = s.get(I);
|
184
|
+
P ? w.push(() => P.p(x, t)) : (P = l(I, x), P.c()), C.set(I, d[g] = P), I in b && _.set(I, Math.abs(g - b[I]));
|
185
185
|
}
|
186
|
-
const R = /* @__PURE__ */ new Set(),
|
187
|
-
function k(
|
188
|
-
Gt(
|
186
|
+
const R = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
187
|
+
function k(x) {
|
188
|
+
Gt(x, 1), x.m(a, u), s.set(x.key, x), u = x.first, p--;
|
189
189
|
}
|
190
190
|
for (; f && p; ) {
|
191
|
-
const
|
192
|
-
|
191
|
+
const x = d[p - 1], I = e[f - 1], P = x.key, V = I.key;
|
192
|
+
x === I ? (u = x.first, f--, p--) : C.has(V) ? !s.has(P) || R.has(P) ? k(x) : O.has(V) ? f-- : _.get(P) > _.get(V) ? (O.add(P), k(x)) : (R.add(V), f--) : (h(I, s), f--);
|
193
193
|
}
|
194
194
|
for (; f--; ) {
|
195
|
-
const
|
196
|
-
|
195
|
+
const x = e[f];
|
196
|
+
C.has(x.key) || h(x, s);
|
197
197
|
}
|
198
198
|
for (; p; )
|
199
199
|
k(d[p - 1]);
|
200
|
-
return
|
200
|
+
return q(w), d;
|
201
201
|
}
|
202
202
|
function $r(e, t, r) {
|
203
203
|
const { fragment: n, after_update: i } = e.$$;
|
204
|
-
n && n.m(t, r),
|
205
|
-
const
|
206
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
207
|
-
}), i.forEach(
|
204
|
+
n && n.m(t, r), We(() => {
|
205
|
+
const o = e.$$.on_mount.map(Dt).filter(rt);
|
206
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
|
207
|
+
}), i.forEach(We);
|
208
208
|
}
|
209
209
|
function jr(e, t) {
|
210
210
|
const r = e.$$;
|
211
|
-
r.fragment !== null && (Gr(r.after_update),
|
211
|
+
r.fragment !== null && (Gr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
212
212
|
}
|
213
213
|
function Vr(e, t) {
|
214
|
-
e.$$.dirty[0] === -1 && (
|
214
|
+
e.$$.dirty[0] === -1 && (te.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
215
215
|
}
|
216
|
-
function Xr(e, t, r, n, i,
|
217
|
-
const h =
|
218
|
-
|
216
|
+
function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
217
|
+
const h = ge;
|
218
|
+
me(e);
|
219
219
|
const l = e.$$ = {
|
220
220
|
fragment: null,
|
221
221
|
ctx: [],
|
222
222
|
// state
|
223
|
-
props:
|
223
|
+
props: o,
|
224
224
|
update: G,
|
225
225
|
not_equal: i,
|
226
226
|
bound: ht(),
|
@@ -237,20 +237,20 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
237
237
|
skip_bound: !1,
|
238
238
|
root: t.target || h.$$.root
|
239
239
|
};
|
240
|
-
|
240
|
+
s && s(l.root);
|
241
241
|
let u = !1;
|
242
242
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
243
243
|
const g = p.length ? p[0] : f;
|
244
244
|
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Vr(e, m)), f;
|
245
|
-
}) : [], l.update(), u = !0,
|
245
|
+
}) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
246
246
|
if (t.hydrate) {
|
247
|
-
const m =
|
247
|
+
const m = Pr(t.target);
|
248
248
|
l.fragment && l.fragment.l(m), m.forEach(F);
|
249
249
|
} else
|
250
250
|
l.fragment && l.fragment.c();
|
251
251
|
t.intro && Gt(e.$$.fragment), $r(e, t.target, t.anchor), A();
|
252
252
|
}
|
253
|
-
|
253
|
+
me(h);
|
254
254
|
}
|
255
255
|
let jt;
|
256
256
|
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
@@ -292,32 +292,32 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
292
292
|
if (this.$$cn = !0, !this.$$c) {
|
293
293
|
let e = function(i) {
|
294
294
|
return () => {
|
295
|
-
let
|
295
|
+
let o;
|
296
296
|
return {
|
297
297
|
c: function() {
|
298
|
-
|
298
|
+
o = N("slot"), i !== "default" && H(o, "name", i);
|
299
299
|
},
|
300
300
|
/**
|
301
301
|
* @param {HTMLElement} target
|
302
302
|
* @param {HTMLElement} [anchor]
|
303
303
|
*/
|
304
304
|
m: function(h, l) {
|
305
|
-
U(h,
|
305
|
+
U(h, o, l);
|
306
306
|
},
|
307
307
|
d: function(h) {
|
308
|
-
h && F(
|
308
|
+
h && F(o);
|
309
309
|
}
|
310
310
|
};
|
311
311
|
};
|
312
312
|
};
|
313
313
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
314
314
|
return;
|
315
|
-
const t = {}, r =
|
315
|
+
const t = {}, r = Or(this);
|
316
316
|
for (const i of this.$$s)
|
317
317
|
i in r && (t[i] = [e(i)]);
|
318
318
|
for (const i of this.attributes) {
|
319
|
-
const
|
320
|
-
|
319
|
+
const o = this.$$g_p(i.name);
|
320
|
+
o in this.$$d || (this.$$d[o] = He(o, i.value, this.$$p_d, "toProp"));
|
321
321
|
}
|
322
322
|
for (const i in this.$$p_d)
|
323
323
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -335,21 +335,21 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
335
335
|
this.$$r = !0;
|
336
336
|
for (const i in this.$$p_d)
|
337
337
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
338
|
-
const
|
338
|
+
const o = He(
|
339
339
|
i,
|
340
340
|
this.$$d[i],
|
341
341
|
this.$$p_d,
|
342
342
|
"toAttribute"
|
343
343
|
);
|
344
|
-
|
344
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
345
345
|
}
|
346
346
|
this.$$r = !1;
|
347
347
|
};
|
348
348
|
this.$$c.$$.after_update.push(n), n();
|
349
349
|
for (const i in this.$$l)
|
350
|
-
for (const
|
351
|
-
const
|
352
|
-
this.$$l_u.set(
|
350
|
+
for (const o of this.$$l[i]) {
|
351
|
+
const s = this.$$c.$on(i, o);
|
352
|
+
this.$$l_u.set(o, s);
|
353
353
|
}
|
354
354
|
this.$$l = {};
|
355
355
|
}
|
@@ -357,7 +357,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
357
357
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
358
358
|
// and setting attributes through setAttribute etc, this is helpful
|
359
359
|
attributeChangedCallback(e, t, r) {
|
360
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
360
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = He(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
361
361
|
}
|
362
362
|
disconnectedCallback() {
|
363
363
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
370
370
|
) || e;
|
371
371
|
}
|
372
372
|
});
|
373
|
-
function
|
373
|
+
function He(e, t, r, n) {
|
374
374
|
const i = r[e]?.type;
|
375
375
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
376
376
|
return t;
|
@@ -399,8 +399,8 @@ function we(e, t, r, n) {
|
|
399
399
|
return t;
|
400
400
|
}
|
401
401
|
}
|
402
|
-
function Wr(e, t, r, n, i,
|
403
|
-
let
|
402
|
+
function Wr(e, t, r, n, i, o) {
|
403
|
+
let s = class extends jt {
|
404
404
|
constructor() {
|
405
405
|
super(e, r, i), this.$$p_d = t;
|
406
406
|
}
|
@@ -411,22 +411,22 @@ function Wr(e, t, r, n, i, s) {
|
|
411
411
|
}
|
412
412
|
};
|
413
413
|
return Object.keys(t).forEach((a) => {
|
414
|
-
Object.defineProperty(
|
414
|
+
Object.defineProperty(s.prototype, a, {
|
415
415
|
get() {
|
416
416
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
417
417
|
},
|
418
418
|
set(h) {
|
419
|
-
h =
|
419
|
+
h = He(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
420
420
|
}
|
421
421
|
});
|
422
422
|
}), n.forEach((a) => {
|
423
|
-
Object.defineProperty(
|
423
|
+
Object.defineProperty(s.prototype, a, {
|
424
424
|
get() {
|
425
425
|
return this.$$c?.[a];
|
426
426
|
}
|
427
427
|
});
|
428
428
|
}), e.element = /** @type {any} */
|
429
|
-
|
429
|
+
s, s;
|
430
430
|
}
|
431
431
|
class zr {
|
432
432
|
/**
|
@@ -456,7 +456,7 @@ class zr {
|
|
456
456
|
* @returns {() => void}
|
457
457
|
*/
|
458
458
|
$on(t, r) {
|
459
|
-
if (!
|
459
|
+
if (!rt(r))
|
460
460
|
return G;
|
461
461
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
462
462
|
return n.push(r), () => {
|
@@ -497,44 +497,44 @@ function Jr(e, t, r) {
|
|
497
497
|
});
|
498
498
|
}
|
499
499
|
}
|
500
|
-
const
|
500
|
+
const ee = [];
|
501
501
|
function Yr(e, t) {
|
502
502
|
return {
|
503
|
-
subscribe:
|
503
|
+
subscribe: Ne(e, t).subscribe
|
504
504
|
};
|
505
505
|
}
|
506
|
-
function
|
506
|
+
function Ne(e, t = G) {
|
507
507
|
let r;
|
508
508
|
const n = /* @__PURE__ */ new Set();
|
509
509
|
function i(a) {
|
510
510
|
if (Ut(e, a) && (e = a, r)) {
|
511
|
-
const h = !
|
511
|
+
const h = !ee.length;
|
512
512
|
for (const l of n)
|
513
|
-
l[1](),
|
513
|
+
l[1](), ee.push(l, e);
|
514
514
|
if (h) {
|
515
|
-
for (let l = 0; l <
|
516
|
-
|
517
|
-
|
515
|
+
for (let l = 0; l < ee.length; l += 2)
|
516
|
+
ee[l][0](ee[l + 1]);
|
517
|
+
ee.length = 0;
|
518
518
|
}
|
519
519
|
}
|
520
520
|
}
|
521
|
-
function
|
521
|
+
function o(a) {
|
522
522
|
i(a(e));
|
523
523
|
}
|
524
|
-
function
|
524
|
+
function s(a, h = G) {
|
525
525
|
const l = [a, h];
|
526
|
-
return n.add(l), n.size === 1 && (r = t(i,
|
526
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
|
527
527
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
528
528
|
};
|
529
529
|
}
|
530
|
-
return { set: i, update:
|
530
|
+
return { set: i, update: o, subscribe: s };
|
531
531
|
}
|
532
|
-
function
|
532
|
+
function le(e, t, r) {
|
533
533
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
534
534
|
if (!i.every(Boolean))
|
535
535
|
throw new Error("derived() expects stores as input, got a falsy value");
|
536
|
-
const
|
537
|
-
return Yr(r, (
|
536
|
+
const o = t.length < 2;
|
537
|
+
return Yr(r, (s, a) => {
|
538
538
|
let h = !1;
|
539
539
|
const l = [];
|
540
540
|
let u = 0, m = G;
|
@@ -542,8 +542,8 @@ function ae(e, t, r) {
|
|
542
542
|
if (u)
|
543
543
|
return;
|
544
544
|
m();
|
545
|
-
const g = t(n ? l[0] : l,
|
546
|
-
|
545
|
+
const g = t(n ? l[0] : l, s, a);
|
546
|
+
o ? s(g) : m = rt(g) ? g : G;
|
547
547
|
}, p = i.map(
|
548
548
|
(g, b) => Ar(
|
549
549
|
g,
|
@@ -556,7 +556,7 @@ function ae(e, t, r) {
|
|
556
556
|
)
|
557
557
|
);
|
558
558
|
return h = !0, f(), function() {
|
559
|
-
|
559
|
+
q(p), m(), h = !1;
|
560
560
|
};
|
561
561
|
});
|
562
562
|
}
|
@@ -580,19 +580,19 @@ function sn(e) {
|
|
580
580
|
function an(e) {
|
581
581
|
return Array.isArray(e) ? [] : {};
|
582
582
|
}
|
583
|
-
function
|
584
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
583
|
+
function be(e, t) {
|
584
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(an(e), e, t) : e;
|
585
585
|
}
|
586
586
|
function ln(e, t, r) {
|
587
587
|
return e.concat(t).map(function(n) {
|
588
|
-
return
|
588
|
+
return be(n, r);
|
589
589
|
});
|
590
590
|
}
|
591
591
|
function un(e, t) {
|
592
592
|
if (!t.customMerge)
|
593
|
-
return
|
593
|
+
return ie;
|
594
594
|
var r = t.customMerge(e);
|
595
|
-
return typeof r == "function" ? r :
|
595
|
+
return typeof r == "function" ? r : ie;
|
596
596
|
}
|
597
597
|
function hn(e) {
|
598
598
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
@@ -615,65 +615,51 @@ function cn(e, t) {
|
|
615
615
|
function fn(e, t, r) {
|
616
616
|
var n = {};
|
617
617
|
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
618
|
-
n[i] =
|
618
|
+
n[i] = be(e[i], r);
|
619
619
|
}), mt(t).forEach(function(i) {
|
620
|
-
cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] =
|
620
|
+
cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
|
621
621
|
}), n;
|
622
622
|
}
|
623
|
-
function
|
624
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified =
|
625
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
626
|
-
return
|
623
|
+
function ie(e, t, r) {
|
624
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = be;
|
625
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
626
|
+
return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : be(t, r);
|
627
627
|
}
|
628
|
-
|
628
|
+
ie.all = function(t, r) {
|
629
629
|
if (!Array.isArray(t))
|
630
630
|
throw new Error("first argument should be an array");
|
631
631
|
return t.reduce(function(n, i) {
|
632
|
-
return
|
632
|
+
return ie(n, i, r);
|
633
633
|
}, {});
|
634
634
|
};
|
635
|
-
var mn =
|
635
|
+
var mn = ie, dn = mn;
|
636
636
|
const pn = /* @__PURE__ */ Kr(dn);
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
641
|
-
purpose with or without fee is hereby granted.
|
642
|
-
|
643
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
644
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
645
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
646
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
647
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
648
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
649
|
-
PERFORMANCE OF THIS SOFTWARE.
|
650
|
-
***************************************************************************** */
|
651
|
-
var Xe = function(e, t) {
|
652
|
-
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
637
|
+
var ze = function(e, t) {
|
638
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
653
639
|
r.__proto__ = n;
|
654
640
|
} || function(r, n) {
|
655
641
|
for (var i in n)
|
656
642
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
657
|
-
},
|
643
|
+
}, ze(e, t);
|
658
644
|
};
|
659
|
-
function
|
645
|
+
function Pe(e, t) {
|
660
646
|
if (typeof t != "function" && t !== null)
|
661
647
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
662
|
-
|
648
|
+
ze(e, t);
|
663
649
|
function r() {
|
664
650
|
this.constructor = e;
|
665
651
|
}
|
666
652
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
667
653
|
}
|
668
|
-
var
|
669
|
-
return
|
654
|
+
var $ = function() {
|
655
|
+
return $ = Object.assign || function(t) {
|
670
656
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
671
657
|
r = arguments[n];
|
672
|
-
for (var
|
673
|
-
Object.prototype.hasOwnProperty.call(r,
|
658
|
+
for (var o in r)
|
659
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
674
660
|
}
|
675
661
|
return t;
|
676
|
-
},
|
662
|
+
}, $.apply(this, arguments);
|
677
663
|
};
|
678
664
|
function gn(e, t) {
|
679
665
|
var r = {};
|
@@ -684,14 +670,14 @@ function gn(e, t) {
|
|
684
670
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
685
671
|
return r;
|
686
672
|
}
|
687
|
-
function
|
688
|
-
if (arguments.length === 2)
|
689
|
-
for (var n = 0, i = t.length,
|
690
|
-
(
|
691
|
-
return e.concat(
|
673
|
+
function Ue(e, t, r) {
|
674
|
+
if (r || arguments.length === 2)
|
675
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
676
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
677
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
692
678
|
}
|
693
|
-
function
|
694
|
-
var r = t && t.cache ? t.cache :
|
679
|
+
function Ge(e, t) {
|
680
|
+
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
|
695
681
|
return i(e, {
|
696
682
|
cache: r,
|
697
683
|
serializer: n
|
@@ -700,95 +686,103 @@ function De(e, t) {
|
|
700
686
|
function bn(e) {
|
701
687
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
702
688
|
}
|
703
|
-
function
|
704
|
-
var i = bn(n) ? n : r(n),
|
705
|
-
return typeof
|
689
|
+
function yn(e, t, r, n) {
|
690
|
+
var i = bn(n) ? n : r(n), o = t.get(i);
|
691
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
706
692
|
}
|
707
|
-
function
|
708
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
709
|
-
return typeof
|
693
|
+
function Xt(e, t, r) {
|
694
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
695
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
710
696
|
}
|
711
|
-
function
|
697
|
+
function Wt(e, t, r, n, i) {
|
712
698
|
return r.bind(t, e, n, i);
|
713
699
|
}
|
714
|
-
function yn(e, t) {
|
715
|
-
var r = e.length === 1 ? Xt : Wt;
|
716
|
-
return rt(e, this, r, t.cache.create(), t.serializer);
|
717
|
-
}
|
718
700
|
function vn(e, t) {
|
719
|
-
|
701
|
+
var r = e.length === 1 ? yn : Xt;
|
702
|
+
return Wt(e, this, r, t.cache.create(), t.serializer);
|
720
703
|
}
|
721
704
|
function _n(e, t) {
|
722
|
-
return
|
705
|
+
return Wt(e, this, Xt, t.cache.create(), t.serializer);
|
723
706
|
}
|
724
707
|
var En = function() {
|
725
708
|
return JSON.stringify(arguments);
|
726
|
-
}
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
709
|
+
}, xn = (
|
710
|
+
/** @class */
|
711
|
+
function() {
|
712
|
+
function e() {
|
713
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
714
|
+
}
|
715
|
+
return e.prototype.get = function(t) {
|
716
|
+
return this.cache[t];
|
717
|
+
}, e.prototype.set = function(t, r) {
|
718
|
+
this.cache[t] = r;
|
719
|
+
}, e;
|
720
|
+
}()
|
721
|
+
), Cn = {
|
737
722
|
create: function() {
|
738
|
-
return new
|
723
|
+
return new xn();
|
739
724
|
}
|
740
|
-
},
|
741
|
-
variadic:
|
742
|
-
|
743
|
-
|
725
|
+
}, ke = {
|
726
|
+
variadic: _n
|
727
|
+
}, Be = function() {
|
728
|
+
return Be = Object.assign || function(t) {
|
729
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
730
|
+
r = arguments[n];
|
731
|
+
for (var o in r)
|
732
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
733
|
+
}
|
734
|
+
return t;
|
735
|
+
}, Be.apply(this, arguments);
|
736
|
+
};
|
737
|
+
var y;
|
744
738
|
(function(e) {
|
745
739
|
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";
|
746
740
|
})(y || (y = {}));
|
747
|
-
var
|
741
|
+
var S;
|
748
742
|
(function(e) {
|
749
743
|
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";
|
750
|
-
})(
|
751
|
-
var
|
744
|
+
})(S || (S = {}));
|
745
|
+
var oe;
|
752
746
|
(function(e) {
|
753
747
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
754
|
-
})(
|
748
|
+
})(oe || (oe = {}));
|
755
749
|
function dt(e) {
|
756
|
-
return e.type ===
|
750
|
+
return e.type === S.literal;
|
757
751
|
}
|
758
|
-
function
|
759
|
-
return e.type ===
|
752
|
+
function wn(e) {
|
753
|
+
return e.type === S.argument;
|
760
754
|
}
|
761
755
|
function zt(e) {
|
762
|
-
return e.type ===
|
756
|
+
return e.type === S.number;
|
763
757
|
}
|
764
758
|
function Zt(e) {
|
765
|
-
return e.type ===
|
759
|
+
return e.type === S.date;
|
766
760
|
}
|
767
761
|
function Qt(e) {
|
768
|
-
return e.type ===
|
762
|
+
return e.type === S.time;
|
769
763
|
}
|
770
764
|
function qt(e) {
|
771
|
-
return e.type ===
|
765
|
+
return e.type === S.select;
|
772
766
|
}
|
773
767
|
function Jt(e) {
|
774
|
-
return e.type ===
|
768
|
+
return e.type === S.plural;
|
775
769
|
}
|
776
|
-
function
|
777
|
-
return e.type ===
|
770
|
+
function Hn(e) {
|
771
|
+
return e.type === S.pound;
|
778
772
|
}
|
779
773
|
function Yt(e) {
|
780
|
-
return e.type ===
|
774
|
+
return e.type === S.tag;
|
781
775
|
}
|
782
776
|
function Kt(e) {
|
783
|
-
return !!(e && typeof e == "object" && e.type ===
|
777
|
+
return !!(e && typeof e == "object" && e.type === oe.number);
|
784
778
|
}
|
785
|
-
function
|
786
|
-
return !!(e && typeof e == "object" && e.type ===
|
779
|
+
function Ze(e) {
|
780
|
+
return !!(e && typeof e == "object" && e.type === oe.dateTime);
|
787
781
|
}
|
788
|
-
var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
789
|
-
function
|
782
|
+
var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
783
|
+
function Tn(e) {
|
790
784
|
var t = {};
|
791
|
-
return e.replace(
|
785
|
+
return e.replace(Sn, function(r) {
|
792
786
|
var n = r.length;
|
793
787
|
switch (r[0]) {
|
794
788
|
case "G":
|
@@ -877,17 +871,27 @@ function Sn(e) {
|
|
877
871
|
return "";
|
878
872
|
}), t;
|
879
873
|
}
|
880
|
-
var
|
881
|
-
function
|
874
|
+
var T = function() {
|
875
|
+
return T = Object.assign || function(t) {
|
876
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
877
|
+
r = arguments[n];
|
878
|
+
for (var o in r)
|
879
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
880
|
+
}
|
881
|
+
return t;
|
882
|
+
}, T.apply(this, arguments);
|
883
|
+
};
|
884
|
+
var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
885
|
+
function Bn(e) {
|
882
886
|
if (e.length === 0)
|
883
887
|
throw new Error("Number skeleton cannot be empty");
|
884
|
-
for (var t = e.split(
|
888
|
+
for (var t = e.split(An).filter(function(f) {
|
885
889
|
return f.length > 0;
|
886
890
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
887
|
-
var
|
888
|
-
if (
|
891
|
+
var o = i[n], s = o.split("/");
|
892
|
+
if (s.length === 0)
|
889
893
|
throw new Error("Invalid number skeleton");
|
890
|
-
for (var a =
|
894
|
+
for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
|
891
895
|
var m = u[l];
|
892
896
|
if (m.length === 0)
|
893
897
|
throw new Error("Invalid number skeleton");
|
@@ -896,10 +900,10 @@ function An(e) {
|
|
896
900
|
}
|
897
901
|
return r;
|
898
902
|
}
|
899
|
-
function
|
903
|
+
function In(e) {
|
900
904
|
return e.replace(/^(.*?)-/, "");
|
901
905
|
}
|
902
|
-
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g,
|
906
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
|
903
907
|
function gt(e) {
|
904
908
|
var t = {};
|
905
909
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
|
@@ -946,7 +950,7 @@ function nr(e) {
|
|
946
950
|
};
|
947
951
|
}
|
948
952
|
}
|
949
|
-
function
|
953
|
+
function Nn(e) {
|
950
954
|
var t;
|
951
955
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
952
956
|
notation: "engineering"
|
@@ -964,7 +968,7 @@ function bt(e) {
|
|
964
968
|
var t = {}, r = nr(e);
|
965
969
|
return r || t;
|
966
970
|
}
|
967
|
-
function
|
971
|
+
function Pn(e) {
|
968
972
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
969
973
|
var i = n[r];
|
970
974
|
switch (i.stem) {
|
@@ -988,7 +992,7 @@ function Nn(e) {
|
|
988
992
|
continue;
|
989
993
|
case "measure-unit":
|
990
994
|
case "unit":
|
991
|
-
t.style = "unit", t.unit =
|
995
|
+
t.style = "unit", t.unit = In(i.options[0]);
|
992
996
|
continue;
|
993
997
|
case "compact-short":
|
994
998
|
case "K":
|
@@ -999,13 +1003,13 @@ function Nn(e) {
|
|
999
1003
|
t.notation = "compact", t.compactDisplay = "long";
|
1000
1004
|
continue;
|
1001
1005
|
case "scientific":
|
1002
|
-
t =
|
1003
|
-
return
|
1006
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
1007
|
+
return T(T({}, h), bt(l));
|
1004
1008
|
}, {}));
|
1005
1009
|
continue;
|
1006
1010
|
case "engineering":
|
1007
|
-
t =
|
1008
|
-
return
|
1011
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
1012
|
+
return T(T({}, h), bt(l));
|
1009
1013
|
}, {}));
|
1010
1014
|
continue;
|
1011
1015
|
case "notation-simple":
|
@@ -1050,7 +1054,7 @@ function Nn(e) {
|
|
1050
1054
|
case "integer-width":
|
1051
1055
|
if (i.options.length > 1)
|
1052
1056
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1053
|
-
i.options[0].replace(
|
1057
|
+
i.options[0].replace(Mn, function(h, l, u, m, f, p) {
|
1054
1058
|
if (l)
|
1055
1059
|
t.minimumIntegerDigits = u.length;
|
1056
1060
|
else {
|
@@ -1073,22 +1077,22 @@ function Nn(e) {
|
|
1073
1077
|
i.stem.replace(pt, function(h, l, u, m, f, p) {
|
1074
1078
|
return u === "*" ? 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), "";
|
1075
1079
|
});
|
1076
|
-
var
|
1077
|
-
|
1080
|
+
var o = i.options[0];
|
1081
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), gt(o)));
|
1078
1082
|
continue;
|
1079
1083
|
}
|
1080
1084
|
if (tr.test(i.stem)) {
|
1081
|
-
t =
|
1085
|
+
t = T(T({}, t), gt(i.stem));
|
1082
1086
|
continue;
|
1083
1087
|
}
|
1084
|
-
var
|
1085
|
-
|
1086
|
-
var a =
|
1087
|
-
a && (t =
|
1088
|
+
var s = nr(i.stem);
|
1089
|
+
s && (t = T(T({}, t), s));
|
1090
|
+
var a = Nn(i.stem);
|
1091
|
+
a && (t = T(T({}, t), a));
|
1088
1092
|
}
|
1089
1093
|
return t;
|
1090
1094
|
}
|
1091
|
-
var
|
1095
|
+
var we = {
|
1092
1096
|
"001": [
|
1093
1097
|
"H",
|
1094
1098
|
"h"
|
@@ -2503,23 +2507,23 @@ var Ce = {
|
|
2503
2507
|
"h"
|
2504
2508
|
]
|
2505
2509
|
};
|
2506
|
-
function
|
2510
|
+
function On(e, t) {
|
2507
2511
|
for (var r = "", n = 0; n < e.length; n++) {
|
2508
2512
|
var i = e.charAt(n);
|
2509
2513
|
if (i === "j") {
|
2510
|
-
for (var
|
2511
|
-
|
2512
|
-
var
|
2514
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2515
|
+
o++, n++;
|
2516
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Ln(t);
|
2513
2517
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2514
2518
|
r += h;
|
2515
|
-
for (;
|
2519
|
+
for (; s-- > 0; )
|
2516
2520
|
r = l + r;
|
2517
2521
|
} else
|
2518
2522
|
i === "J" ? r += "H" : r += i;
|
2519
2523
|
}
|
2520
2524
|
return r;
|
2521
2525
|
}
|
2522
|
-
function
|
2526
|
+
function Ln(e) {
|
2523
2527
|
var t = e.hourCycle;
|
2524
2528
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2525
2529
|
e.hourCycles && // @ts-ignore
|
@@ -2538,23 +2542,23 @@ function Pn(e) {
|
|
2538
2542
|
}
|
2539
2543
|
var r = e.language, n;
|
2540
2544
|
r !== "root" && (n = e.maximize().region);
|
2541
|
-
var i =
|
2545
|
+
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
2542
2546
|
return i[0];
|
2543
2547
|
}
|
2544
|
-
var
|
2548
|
+
var $e, Fn = new RegExp("^".concat(er.source, "*")), Rn = new RegExp("".concat(er.source, "*$"));
|
2545
2549
|
function v(e, t) {
|
2546
2550
|
return { start: e, end: t };
|
2547
2551
|
}
|
2548
|
-
var
|
2552
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
|
2549
2553
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2550
|
-
},
|
2554
|
+
}, Qe = !0;
|
2551
2555
|
try {
|
2552
|
-
var
|
2553
|
-
|
2556
|
+
var Wn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2557
|
+
Qe = (($e = Wn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
2554
2558
|
} catch {
|
2555
|
-
|
2559
|
+
Qe = !1;
|
2556
2560
|
}
|
2557
|
-
var yt =
|
2561
|
+
var yt = Dn ? (
|
2558
2562
|
// Native
|
2559
2563
|
function(t, r, n) {
|
2560
2564
|
return t.startsWith(r, n);
|
@@ -2564,31 +2568,31 @@ var yt = Rn ? (
|
|
2564
2568
|
function(t, r, n) {
|
2565
2569
|
return t.slice(n, n + r.length) === r;
|
2566
2570
|
}
|
2567
|
-
),
|
2571
|
+
), qe = Un ? String.fromCodePoint : (
|
2568
2572
|
// IE11
|
2569
2573
|
function() {
|
2570
2574
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2571
2575
|
t[r] = arguments[r];
|
2572
|
-
for (var n = "", i = t.length,
|
2573
|
-
if (
|
2574
|
-
throw RangeError(
|
2575
|
-
n +=
|
2576
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
2577
|
+
if (s = t[o++], s > 1114111)
|
2578
|
+
throw RangeError(s + " is not a valid code point");
|
2579
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
2576
2580
|
}
|
2577
2581
|
return n;
|
2578
2582
|
}
|
2579
2583
|
), vt = (
|
2580
2584
|
// native
|
2581
|
-
|
2585
|
+
Gn ? Object.fromEntries : (
|
2582
2586
|
// Ponyfill
|
2583
2587
|
function(t) {
|
2584
2588
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2585
|
-
var
|
2586
|
-
r[
|
2589
|
+
var o = i[n], s = o[0], a = o[1];
|
2590
|
+
r[s] = a;
|
2587
2591
|
}
|
2588
2592
|
return r;
|
2589
2593
|
}
|
2590
2594
|
)
|
2591
|
-
), ir =
|
2595
|
+
), ir = kn ? (
|
2592
2596
|
// Native
|
2593
2597
|
function(t, r) {
|
2594
2598
|
return t.codePointAt(r);
|
@@ -2598,11 +2602,11 @@ var yt = Rn ? (
|
|
2598
2602
|
function(t, r) {
|
2599
2603
|
var n = t.length;
|
2600
2604
|
if (!(r < 0 || r >= n)) {
|
2601
|
-
var i = t.charCodeAt(r),
|
2602
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
2605
|
+
var i = t.charCodeAt(r), o;
|
2606
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2603
2607
|
}
|
2604
2608
|
}
|
2605
|
-
),
|
2609
|
+
), zn = $n ? (
|
2606
2610
|
// Native
|
2607
2611
|
function(t) {
|
2608
2612
|
return t.trimStart();
|
@@ -2610,9 +2614,9 @@ var yt = Rn ? (
|
|
2610
2614
|
) : (
|
2611
2615
|
// Ponyfill
|
2612
2616
|
function(t) {
|
2613
|
-
return t.replace(
|
2617
|
+
return t.replace(Fn, "");
|
2614
2618
|
}
|
2615
|
-
),
|
2619
|
+
), Zn = jn ? (
|
2616
2620
|
// Native
|
2617
2621
|
function(t) {
|
2618
2622
|
return t.trimEnd();
|
@@ -2620,32 +2624,32 @@ var yt = Rn ? (
|
|
2620
2624
|
) : (
|
2621
2625
|
// Ponyfill
|
2622
2626
|
function(t) {
|
2623
|
-
return t.replace(
|
2627
|
+
return t.replace(Rn, "");
|
2624
2628
|
}
|
2625
2629
|
);
|
2626
2630
|
function or(e, t) {
|
2627
2631
|
return new RegExp(e, t);
|
2628
2632
|
}
|
2629
|
-
var
|
2630
|
-
if (
|
2633
|
+
var Je;
|
2634
|
+
if (Qe) {
|
2631
2635
|
var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2632
|
-
|
2636
|
+
Je = function(t, r) {
|
2633
2637
|
var n;
|
2634
2638
|
_t.lastIndex = r;
|
2635
2639
|
var i = _t.exec(t);
|
2636
2640
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2637
2641
|
};
|
2638
2642
|
} else
|
2639
|
-
|
2643
|
+
Je = function(t, r) {
|
2640
2644
|
for (var n = []; ; ) {
|
2641
2645
|
var i = ir(t, r);
|
2642
|
-
if (i === void 0 || sr(i) ||
|
2646
|
+
if (i === void 0 || sr(i) || Yn(i))
|
2643
2647
|
break;
|
2644
2648
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2645
2649
|
}
|
2646
|
-
return
|
2650
|
+
return qe.apply(void 0, n);
|
2647
2651
|
};
|
2648
|
-
var
|
2652
|
+
var Qn = (
|
2649
2653
|
/** @class */
|
2650
2654
|
function() {
|
2651
2655
|
function e(t, r) {
|
@@ -2657,35 +2661,35 @@ var Zn = (
|
|
2657
2661
|
return this.parseMessage(0, "", !1);
|
2658
2662
|
}, e.prototype.parseMessage = function(t, r, n) {
|
2659
2663
|
for (var i = []; !this.isEOF(); ) {
|
2660
|
-
var
|
2661
|
-
if (
|
2662
|
-
var
|
2663
|
-
if (
|
2664
|
-
return
|
2665
|
-
i.push(
|
2664
|
+
var o = this.char();
|
2665
|
+
if (o === 123) {
|
2666
|
+
var s = this.parseArgument(t, n);
|
2667
|
+
if (s.err)
|
2668
|
+
return s;
|
2669
|
+
i.push(s.val);
|
2666
2670
|
} else {
|
2667
|
-
if (
|
2671
|
+
if (o === 125 && t > 0)
|
2668
2672
|
break;
|
2669
|
-
if (
|
2673
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2670
2674
|
var a = this.clonePosition();
|
2671
2675
|
this.bump(), i.push({
|
2672
|
-
type:
|
2676
|
+
type: S.pound,
|
2673
2677
|
location: v(a, this.clonePosition())
|
2674
2678
|
});
|
2675
|
-
} else if (
|
2679
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2676
2680
|
if (n)
|
2677
2681
|
break;
|
2678
2682
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2679
|
-
} else if (
|
2680
|
-
var
|
2681
|
-
if (
|
2682
|
-
return
|
2683
|
-
i.push(
|
2683
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
2684
|
+
var s = this.parseTag(t, r);
|
2685
|
+
if (s.err)
|
2686
|
+
return s;
|
2687
|
+
i.push(s.val);
|
2684
2688
|
} else {
|
2685
|
-
var
|
2686
|
-
if (
|
2687
|
-
return
|
2688
|
-
i.push(
|
2689
|
+
var s = this.parseLiteral(t, r);
|
2690
|
+
if (s.err)
|
2691
|
+
return s;
|
2692
|
+
i.push(s.val);
|
2689
2693
|
}
|
2690
2694
|
}
|
2691
2695
|
}
|
@@ -2697,26 +2701,26 @@ var Zn = (
|
|
2697
2701
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2698
2702
|
return {
|
2699
2703
|
val: {
|
2700
|
-
type:
|
2704
|
+
type: S.literal,
|
2701
2705
|
value: "<".concat(i, "/>"),
|
2702
2706
|
location: v(n, this.clonePosition())
|
2703
2707
|
},
|
2704
2708
|
err: null
|
2705
2709
|
};
|
2706
2710
|
if (this.bumpIf(">")) {
|
2707
|
-
var
|
2708
|
-
if (
|
2709
|
-
return
|
2710
|
-
var
|
2711
|
+
var o = this.parseMessage(t + 1, r, !0);
|
2712
|
+
if (o.err)
|
2713
|
+
return o;
|
2714
|
+
var s = o.val, a = this.clonePosition();
|
2711
2715
|
if (this.bumpIf("</")) {
|
2712
|
-
if (this.isEOF() || !
|
2716
|
+
if (this.isEOF() || !Ye(this.char()))
|
2713
2717
|
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2714
2718
|
var h = this.clonePosition(), l = this.parseTagName();
|
2715
2719
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2716
2720
|
val: {
|
2717
|
-
type:
|
2721
|
+
type: S.tag,
|
2718
2722
|
value: i,
|
2719
|
-
children:
|
2723
|
+
children: s,
|
2720
2724
|
location: v(n, this.clonePosition())
|
2721
2725
|
},
|
2722
2726
|
err: null
|
@@ -2727,21 +2731,21 @@ var Zn = (
|
|
2727
2731
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2728
2732
|
}, e.prototype.parseTagName = function() {
|
2729
2733
|
var t = this.offset();
|
2730
|
-
for (this.bump(); !this.isEOF() &&
|
2734
|
+
for (this.bump(); !this.isEOF() && Jn(this.char()); )
|
2731
2735
|
this.bump();
|
2732
2736
|
return this.message.slice(t, this.offset());
|
2733
2737
|
}, e.prototype.parseLiteral = function(t, r) {
|
2734
2738
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
2735
|
-
var
|
2736
|
-
if (s) {
|
2737
|
-
i += s;
|
2738
|
-
continue;
|
2739
|
-
}
|
2740
|
-
var o = this.tryParseUnquoted(t, r);
|
2739
|
+
var o = this.tryParseQuote(r);
|
2741
2740
|
if (o) {
|
2742
2741
|
i += o;
|
2743
2742
|
continue;
|
2744
2743
|
}
|
2744
|
+
var s = this.tryParseUnquoted(t, r);
|
2745
|
+
if (s) {
|
2746
|
+
i += s;
|
2747
|
+
continue;
|
2748
|
+
}
|
2745
2749
|
var a = this.tryParseLeftAngleBracket();
|
2746
2750
|
if (a) {
|
2747
2751
|
i += a;
|
@@ -2751,12 +2755,12 @@ var Zn = (
|
|
2751
2755
|
}
|
2752
2756
|
var h = v(n, this.clonePosition());
|
2753
2757
|
return {
|
2754
|
-
val: { type:
|
2758
|
+
val: { type: S.literal, value: i, location: h },
|
2755
2759
|
err: null
|
2756
2760
|
};
|
2757
2761
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2758
2762
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2759
|
-
!
|
2763
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2760
2764
|
}, e.prototype.tryParseQuote = function(t) {
|
2761
2765
|
if (this.isEOF() || this.char() !== 39)
|
2762
2766
|
return null;
|
@@ -2790,12 +2794,12 @@ var Zn = (
|
|
2790
2794
|
r.push(n);
|
2791
2795
|
this.bump();
|
2792
2796
|
}
|
2793
|
-
return
|
2797
|
+
return qe.apply(void 0, r);
|
2794
2798
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2795
2799
|
if (this.isEOF())
|
2796
2800
|
return null;
|
2797
2801
|
var n = this.char();
|
2798
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2802
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
2799
2803
|
}, e.prototype.parseArgument = function(t, r) {
|
2800
2804
|
var n = this.clonePosition();
|
2801
2805
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2811,7 +2815,7 @@ var Zn = (
|
|
2811
2815
|
case 125:
|
2812
2816
|
return this.bump(), {
|
2813
2817
|
val: {
|
2814
|
-
type:
|
2818
|
+
type: S.argument,
|
2815
2819
|
// value does not include the opening and closing braces.
|
2816
2820
|
value: i,
|
2817
2821
|
location: v(n, this.clonePosition())
|
@@ -2824,15 +2828,15 @@ var Zn = (
|
|
2824
2828
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2825
2829
|
}
|
2826
2830
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2827
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2831
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
2828
2832
|
this.bumpTo(i);
|
2829
|
-
var
|
2830
|
-
return { value: n, location:
|
2833
|
+
var o = this.clonePosition(), s = v(t, o);
|
2834
|
+
return { value: n, location: s };
|
2831
2835
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2832
|
-
var
|
2836
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
2833
2837
|
switch (a) {
|
2834
2838
|
case "":
|
2835
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, v(
|
2839
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, h));
|
2836
2840
|
case "number":
|
2837
2841
|
case "date":
|
2838
2842
|
case "time": {
|
@@ -2843,7 +2847,7 @@ var Zn = (
|
|
2843
2847
|
var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2844
2848
|
if (m.err)
|
2845
2849
|
return m;
|
2846
|
-
var f =
|
2850
|
+
var f = Zn(m.val);
|
2847
2851
|
if (f.length === 0)
|
2848
2852
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2849
2853
|
var p = v(u, this.clonePosition());
|
@@ -2854,36 +2858,36 @@ var Zn = (
|
|
2854
2858
|
return g;
|
2855
2859
|
var b = v(i, this.clonePosition());
|
2856
2860
|
if (l && yt(l?.style, "::", 0)) {
|
2857
|
-
var d =
|
2861
|
+
var d = zn(l.style.slice(2));
|
2858
2862
|
if (a === "number") {
|
2859
2863
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2860
2864
|
return m.err ? m : {
|
2861
|
-
val: { type:
|
2865
|
+
val: { type: S.number, value: n, location: b, style: m.val },
|
2862
2866
|
err: null
|
2863
2867
|
};
|
2864
2868
|
} else {
|
2865
2869
|
if (d.length === 0)
|
2866
2870
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2867
|
-
var
|
2868
|
-
this.locale && (
|
2871
|
+
var C = d;
|
2872
|
+
this.locale && (C = On(d, this.locale));
|
2869
2873
|
var f = {
|
2870
|
-
type:
|
2871
|
-
pattern:
|
2874
|
+
type: oe.dateTime,
|
2875
|
+
pattern: C,
|
2872
2876
|
location: l.styleLocation,
|
2873
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2874
|
-
},
|
2877
|
+
parsedOptions: this.shouldParseSkeletons ? Tn(C) : {}
|
2878
|
+
}, _ = a === "date" ? S.date : S.time;
|
2875
2879
|
return {
|
2876
|
-
val: { type:
|
2880
|
+
val: { type: _, value: n, location: b, style: f },
|
2877
2881
|
err: null
|
2878
2882
|
};
|
2879
2883
|
}
|
2880
2884
|
}
|
2881
2885
|
return {
|
2882
2886
|
val: {
|
2883
|
-
type: a === "number" ?
|
2887
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2884
2888
|
value: n,
|
2885
2889
|
location: b,
|
2886
|
-
style: (
|
2890
|
+
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
2887
2891
|
},
|
2888
2892
|
err: null
|
2889
2893
|
};
|
@@ -2891,11 +2895,11 @@ var Zn = (
|
|
2891
2895
|
case "plural":
|
2892
2896
|
case "selectordinal":
|
2893
2897
|
case "select": {
|
2894
|
-
var
|
2898
|
+
var w = this.clonePosition();
|
2895
2899
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2896
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
2900
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, Be({}, w)));
|
2897
2901
|
this.bumpSpace();
|
2898
|
-
var R = this.parseIdentifierIfPossible(),
|
2902
|
+
var R = this.parseIdentifierIfPossible(), O = 0;
|
2899
2903
|
if (a !== "select" && R.value === "offset") {
|
2900
2904
|
if (!this.bumpIf(":"))
|
2901
2905
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
@@ -2903,7 +2907,7 @@ var Zn = (
|
|
2903
2907
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2904
2908
|
if (m.err)
|
2905
2909
|
return m;
|
2906
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
2910
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = m.val;
|
2907
2911
|
}
|
2908
2912
|
var k = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
2909
2913
|
if (k.err)
|
@@ -2911,29 +2915,29 @@ var Zn = (
|
|
2911
2915
|
var g = this.tryParseArgumentClose(i);
|
2912
2916
|
if (g.err)
|
2913
2917
|
return g;
|
2914
|
-
var
|
2918
|
+
var x = v(i, this.clonePosition());
|
2915
2919
|
return a === "select" ? {
|
2916
2920
|
val: {
|
2917
|
-
type:
|
2921
|
+
type: S.select,
|
2918
2922
|
value: n,
|
2919
2923
|
options: vt(k.val),
|
2920
|
-
location:
|
2924
|
+
location: x
|
2921
2925
|
},
|
2922
2926
|
err: null
|
2923
2927
|
} : {
|
2924
2928
|
val: {
|
2925
|
-
type:
|
2929
|
+
type: S.plural,
|
2926
2930
|
value: n,
|
2927
2931
|
options: vt(k.val),
|
2928
|
-
offset:
|
2932
|
+
offset: O,
|
2929
2933
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2930
|
-
location:
|
2934
|
+
location: x
|
2931
2935
|
},
|
2932
2936
|
err: null
|
2933
2937
|
};
|
2934
2938
|
}
|
2935
2939
|
default:
|
2936
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, v(
|
2940
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(s, h));
|
2937
2941
|
}
|
2938
2942
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2939
2943
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -2975,21 +2979,21 @@ var Zn = (
|
|
2975
2979
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2976
2980
|
var n = [];
|
2977
2981
|
try {
|
2978
|
-
n =
|
2982
|
+
n = Bn(t);
|
2979
2983
|
} catch {
|
2980
2984
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
2981
2985
|
}
|
2982
2986
|
return {
|
2983
2987
|
val: {
|
2984
|
-
type:
|
2988
|
+
type: oe.number,
|
2985
2989
|
tokens: n,
|
2986
2990
|
location: r,
|
2987
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2991
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
|
2988
2992
|
},
|
2989
2993
|
err: null
|
2990
2994
|
};
|
2991
2995
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2992
|
-
for (var
|
2996
|
+
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
|
2993
2997
|
if (l.length === 0) {
|
2994
2998
|
var m = this.clonePosition();
|
2995
2999
|
if (r !== "select" && this.bumpIf("=")) {
|
@@ -3002,7 +3006,7 @@ var Zn = (
|
|
3002
3006
|
}
|
3003
3007
|
if (h.has(l))
|
3004
3008
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
3005
|
-
l === "other" && (
|
3009
|
+
l === "other" && (s = !0), this.bumpSpace();
|
3006
3010
|
var p = this.clonePosition();
|
3007
3011
|
if (!this.bumpIf("{"))
|
3008
3012
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
@@ -3018,21 +3022,21 @@ var Zn = (
|
|
3018
3022
|
value: g.val,
|
3019
3023
|
location: v(p, this.clonePosition())
|
3020
3024
|
}
|
3021
|
-
]), h.add(l), this.bumpSpace(),
|
3025
|
+
]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
3022
3026
|
}
|
3023
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
3027
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3024
3028
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3025
3029
|
var n = 1, i = this.clonePosition();
|
3026
3030
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
3027
|
-
for (var
|
3031
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
3028
3032
|
var a = this.char();
|
3029
3033
|
if (a >= 48 && a <= 57)
|
3030
|
-
|
3034
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
3031
3035
|
else
|
3032
3036
|
break;
|
3033
3037
|
}
|
3034
3038
|
var h = v(i, this.clonePosition());
|
3035
|
-
return
|
3039
|
+
return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3036
3040
|
}, e.prototype.offset = function() {
|
3037
3041
|
return this.position.offset;
|
3038
3042
|
}, e.prototype.isEOF = function() {
|
@@ -3098,50 +3102,50 @@ var Zn = (
|
|
3098
3102
|
}, e;
|
3099
3103
|
}()
|
3100
3104
|
);
|
3101
|
-
function
|
3105
|
+
function Ye(e) {
|
3102
3106
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3103
3107
|
}
|
3104
|
-
function Qn(e) {
|
3105
|
-
return qe(e) || e === 47;
|
3106
|
-
}
|
3107
3108
|
function qn(e) {
|
3109
|
+
return Ye(e) || e === 47;
|
3110
|
+
}
|
3111
|
+
function Jn(e) {
|
3108
3112
|
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;
|
3109
3113
|
}
|
3110
3114
|
function sr(e) {
|
3111
3115
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3112
3116
|
}
|
3113
|
-
function
|
3117
|
+
function Yn(e) {
|
3114
3118
|
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;
|
3115
3119
|
}
|
3116
|
-
function
|
3120
|
+
function Ke(e) {
|
3117
3121
|
e.forEach(function(t) {
|
3118
3122
|
if (delete t.location, qt(t) || Jt(t))
|
3119
3123
|
for (var r in t.options)
|
3120
|
-
delete t.options[r].location,
|
3124
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
3121
3125
|
else
|
3122
|
-
zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) &&
|
3126
|
+
zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && Ze(t.style) ? delete t.style.location : Yt(t) && Ke(t.children);
|
3123
3127
|
});
|
3124
3128
|
}
|
3125
|
-
function
|
3126
|
-
t === void 0 && (t = {}), t =
|
3127
|
-
var r = new
|
3129
|
+
function Kn(e, t) {
|
3130
|
+
t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3131
|
+
var r = new Qn(e, t).parse();
|
3128
3132
|
if (r.err) {
|
3129
3133
|
var n = SyntaxError(y[r.err.kind]);
|
3130
3134
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3131
3135
|
}
|
3132
|
-
return t?.captureLocation ||
|
3136
|
+
return t?.captureLocation || Ke(r.val), r.val;
|
3133
3137
|
}
|
3134
|
-
var
|
3138
|
+
var se;
|
3135
3139
|
(function(e) {
|
3136
3140
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3137
|
-
})(
|
3138
|
-
var
|
3141
|
+
})(se || (se = {}));
|
3142
|
+
var Oe = (
|
3139
3143
|
/** @class */
|
3140
3144
|
function(e) {
|
3141
|
-
|
3145
|
+
Pe(t, e);
|
3142
3146
|
function t(r, n, i) {
|
3143
|
-
var
|
3144
|
-
return
|
3147
|
+
var o = e.call(this, r) || this;
|
3148
|
+
return o.code = n, o.originalMessage = i, o;
|
3145
3149
|
}
|
3146
3150
|
return t.prototype.toString = function() {
|
3147
3151
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
@@ -3150,48 +3154,48 @@ var Ne = (
|
|
3150
3154
|
), Et = (
|
3151
3155
|
/** @class */
|
3152
3156
|
function(e) {
|
3153
|
-
|
3154
|
-
function t(r, n, i,
|
3155
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3157
|
+
Pe(t, e);
|
3158
|
+
function t(r, n, i, o) {
|
3159
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
|
3156
3160
|
}
|
3157
3161
|
return t;
|
3158
|
-
}(
|
3159
|
-
),
|
3162
|
+
}(Oe)
|
3163
|
+
), ei = (
|
3160
3164
|
/** @class */
|
3161
3165
|
function(e) {
|
3162
|
-
|
3166
|
+
Pe(t, e);
|
3163
3167
|
function t(r, n, i) {
|
3164
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3168
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
|
3165
3169
|
}
|
3166
3170
|
return t;
|
3167
|
-
}(
|
3168
|
-
),
|
3171
|
+
}(Oe)
|
3172
|
+
), ti = (
|
3169
3173
|
/** @class */
|
3170
3174
|
function(e) {
|
3171
|
-
|
3175
|
+
Pe(t, e);
|
3172
3176
|
function t(r, n) {
|
3173
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3177
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
|
3174
3178
|
}
|
3175
3179
|
return t;
|
3176
|
-
}(
|
3177
|
-
),
|
3180
|
+
}(Oe)
|
3181
|
+
), L;
|
3178
3182
|
(function(e) {
|
3179
3183
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3180
|
-
})(
|
3181
|
-
function
|
3184
|
+
})(L || (L = {}));
|
3185
|
+
function ri(e) {
|
3182
3186
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3183
3187
|
var n = t[t.length - 1];
|
3184
|
-
return !n || n.type !==
|
3188
|
+
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
3185
3189
|
}, []);
|
3186
3190
|
}
|
3187
|
-
function
|
3191
|
+
function ni(e) {
|
3188
3192
|
return typeof e == "function";
|
3189
3193
|
}
|
3190
|
-
function
|
3194
|
+
function Se(e, t, r, n, i, o, s) {
|
3191
3195
|
if (e.length === 1 && dt(e[0]))
|
3192
3196
|
return [
|
3193
3197
|
{
|
3194
|
-
type:
|
3198
|
+
type: L.literal,
|
3195
3199
|
value: e[0].value
|
3196
3200
|
}
|
3197
3201
|
];
|
@@ -3199,41 +3203,41 @@ function He(e, t, r, n, i, s, o) {
|
|
3199
3203
|
var u = l[h];
|
3200
3204
|
if (dt(u)) {
|
3201
3205
|
a.push({
|
3202
|
-
type:
|
3206
|
+
type: L.literal,
|
3203
3207
|
value: u.value
|
3204
3208
|
});
|
3205
3209
|
continue;
|
3206
3210
|
}
|
3207
|
-
if (
|
3208
|
-
typeof
|
3209
|
-
type:
|
3210
|
-
value: r.getNumberFormat(t).format(
|
3211
|
+
if (Hn(u)) {
|
3212
|
+
typeof o == "number" && a.push({
|
3213
|
+
type: L.literal,
|
3214
|
+
value: r.getNumberFormat(t).format(o)
|
3211
3215
|
});
|
3212
3216
|
continue;
|
3213
3217
|
}
|
3214
3218
|
var m = u.value;
|
3215
3219
|
if (!(i && m in i))
|
3216
|
-
throw new
|
3220
|
+
throw new ti(m, s);
|
3217
3221
|
var f = i[m];
|
3218
|
-
if (
|
3222
|
+
if (wn(u)) {
|
3219
3223
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3220
|
-
type: typeof f == "string" ?
|
3224
|
+
type: typeof f == "string" ? L.literal : L.object,
|
3221
3225
|
value: f
|
3222
3226
|
});
|
3223
3227
|
continue;
|
3224
3228
|
}
|
3225
3229
|
if (Zt(u)) {
|
3226
|
-
var p = typeof u.style == "string" ? n.date[u.style] :
|
3230
|
+
var p = typeof u.style == "string" ? n.date[u.style] : Ze(u.style) ? u.style.parsedOptions : void 0;
|
3227
3231
|
a.push({
|
3228
|
-
type:
|
3232
|
+
type: L.literal,
|
3229
3233
|
value: r.getDateTimeFormat(t, p).format(f)
|
3230
3234
|
});
|
3231
3235
|
continue;
|
3232
3236
|
}
|
3233
3237
|
if (Qt(u)) {
|
3234
|
-
var p = typeof u.style == "string" ? n.time[u.style] :
|
3238
|
+
var p = typeof u.style == "string" ? n.time[u.style] : Ze(u.style) ? u.style.parsedOptions : n.time.medium;
|
3235
3239
|
a.push({
|
3236
|
-
type:
|
3240
|
+
type: L.literal,
|
3237
3241
|
value: r.getDateTimeFormat(t, p).format(f)
|
3238
3242
|
});
|
3239
3243
|
continue;
|
@@ -3241,61 +3245,61 @@ function He(e, t, r, n, i, s, o) {
|
|
3241
3245
|
if (zt(u)) {
|
3242
3246
|
var p = typeof u.style == "string" ? n.number[u.style] : Kt(u.style) ? u.style.parsedOptions : void 0;
|
3243
3247
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3244
|
-
type:
|
3248
|
+
type: L.literal,
|
3245
3249
|
value: r.getNumberFormat(t, p).format(f)
|
3246
3250
|
});
|
3247
3251
|
continue;
|
3248
3252
|
}
|
3249
3253
|
if (Yt(u)) {
|
3250
3254
|
var g = u.children, b = u.value, d = i[b];
|
3251
|
-
if (!
|
3252
|
-
throw new
|
3253
|
-
var
|
3254
|
-
return
|
3255
|
+
if (!ni(d))
|
3256
|
+
throw new ei(b, "function", s);
|
3257
|
+
var C = Se(g, t, r, n, i, o), _ = d(C.map(function(O) {
|
3258
|
+
return O.value;
|
3255
3259
|
}));
|
3256
|
-
Array.isArray(
|
3260
|
+
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(O) {
|
3257
3261
|
return {
|
3258
|
-
type: typeof
|
3259
|
-
value:
|
3262
|
+
type: typeof O == "string" ? L.literal : L.object,
|
3263
|
+
value: O
|
3260
3264
|
};
|
3261
3265
|
}));
|
3262
3266
|
}
|
3263
3267
|
if (qt(u)) {
|
3264
|
-
var
|
3265
|
-
if (!
|
3266
|
-
throw new Et(u.value, f, Object.keys(u.options),
|
3267
|
-
a.push.apply(a,
|
3268
|
+
var w = u.options[f] || u.options.other;
|
3269
|
+
if (!w)
|
3270
|
+
throw new Et(u.value, f, Object.keys(u.options), s);
|
3271
|
+
a.push.apply(a, Se(w.value, t, r, n, i));
|
3268
3272
|
continue;
|
3269
3273
|
}
|
3270
3274
|
if (Jt(u)) {
|
3271
|
-
var
|
3272
|
-
if (!
|
3275
|
+
var w = u.options["=".concat(f)];
|
3276
|
+
if (!w) {
|
3273
3277
|
if (!Intl.PluralRules)
|
3274
|
-
throw new
|
3278
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
3275
3279
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3276
|
-
`,
|
3280
|
+
`, se.MISSING_INTL_API, s);
|
3277
3281
|
var R = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
3278
|
-
|
3282
|
+
w = u.options[R] || u.options.other;
|
3279
3283
|
}
|
3280
|
-
if (!
|
3281
|
-
throw new Et(u.value, f, Object.keys(u.options),
|
3282
|
-
a.push.apply(a,
|
3284
|
+
if (!w)
|
3285
|
+
throw new Et(u.value, f, Object.keys(u.options), s);
|
3286
|
+
a.push.apply(a, Se(w.value, t, r, n, i, f - (u.offset || 0)));
|
3283
3287
|
continue;
|
3284
3288
|
}
|
3285
3289
|
}
|
3286
|
-
return
|
3290
|
+
return ri(a);
|
3287
3291
|
}
|
3288
|
-
function
|
3289
|
-
return t ?
|
3290
|
-
return r[n] =
|
3292
|
+
function ii(e, t) {
|
3293
|
+
return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3294
|
+
return r[n] = $($({}, e[n]), t[n] || {}), r;
|
3291
3295
|
}, {})) : e;
|
3292
3296
|
}
|
3293
|
-
function
|
3297
|
+
function oi(e, t) {
|
3294
3298
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3295
|
-
return r[n] =
|
3296
|
-
},
|
3299
|
+
return r[n] = ii(e[n], t[n]), r;
|
3300
|
+
}, $({}, e)) : e;
|
3297
3301
|
}
|
3298
|
-
function
|
3302
|
+
function je(e) {
|
3299
3303
|
return {
|
3300
3304
|
create: function() {
|
3301
3305
|
return {
|
@@ -3309,77 +3313,77 @@ function ke(e) {
|
|
3309
3313
|
}
|
3310
3314
|
};
|
3311
3315
|
}
|
3312
|
-
function
|
3316
|
+
function si(e) {
|
3313
3317
|
return e === void 0 && (e = {
|
3314
3318
|
number: {},
|
3315
3319
|
dateTime: {},
|
3316
3320
|
pluralRules: {}
|
3317
3321
|
}), {
|
3318
|
-
getNumberFormat:
|
3322
|
+
getNumberFormat: Ge(function() {
|
3319
3323
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3320
3324
|
r[n] = arguments[n];
|
3321
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3325
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3322
3326
|
}, {
|
3323
|
-
cache:
|
3324
|
-
strategy:
|
3327
|
+
cache: je(e.number),
|
3328
|
+
strategy: ke.variadic
|
3325
3329
|
}),
|
3326
|
-
getDateTimeFormat:
|
3330
|
+
getDateTimeFormat: Ge(function() {
|
3327
3331
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3328
3332
|
r[n] = arguments[n];
|
3329
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3333
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3330
3334
|
}, {
|
3331
|
-
cache:
|
3332
|
-
strategy:
|
3335
|
+
cache: je(e.dateTime),
|
3336
|
+
strategy: ke.variadic
|
3333
3337
|
}),
|
3334
|
-
getPluralRules:
|
3338
|
+
getPluralRules: Ge(function() {
|
3335
3339
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3336
3340
|
r[n] = arguments[n];
|
3337
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3341
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
|
3338
3342
|
}, {
|
3339
|
-
cache:
|
3340
|
-
strategy:
|
3343
|
+
cache: je(e.pluralRules),
|
3344
|
+
strategy: ke.variadic
|
3341
3345
|
})
|
3342
3346
|
};
|
3343
3347
|
}
|
3344
|
-
var
|
3348
|
+
var ai = (
|
3345
3349
|
/** @class */
|
3346
3350
|
function() {
|
3347
3351
|
function e(t, r, n, i) {
|
3348
3352
|
r === void 0 && (r = e.defaultLocale);
|
3349
|
-
var
|
3353
|
+
var o = this;
|
3350
3354
|
if (this.formatterCache = {
|
3351
3355
|
number: {},
|
3352
3356
|
dateTime: {},
|
3353
3357
|
pluralRules: {}
|
3354
3358
|
}, this.format = function(h) {
|
3355
|
-
var l =
|
3359
|
+
var l = o.formatToParts(h);
|
3356
3360
|
if (l.length === 1)
|
3357
3361
|
return l[0].value;
|
3358
3362
|
var u = l.reduce(function(m, f) {
|
3359
|
-
return !m.length || f.type !==
|
3363
|
+
return !m.length || f.type !== L.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
3360
3364
|
}, []);
|
3361
3365
|
return u.length <= 1 ? u[0] || "" : u;
|
3362
3366
|
}, this.formatToParts = function(h) {
|
3363
|
-
return
|
3367
|
+
return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3364
3368
|
}, this.resolvedOptions = function() {
|
3365
3369
|
var h;
|
3366
3370
|
return {
|
3367
|
-
locale: ((h =
|
3371
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
3368
3372
|
};
|
3369
3373
|
}, this.getAst = function() {
|
3370
|
-
return
|
3374
|
+
return o.ast;
|
3371
3375
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3372
3376
|
if (this.message = t, !e.__parse)
|
3373
3377
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3374
|
-
var
|
3375
|
-
|
3376
|
-
var a = gn(
|
3377
|
-
this.ast = e.__parse(t,
|
3378
|
+
var s = i || {};
|
3379
|
+
s.formatters;
|
3380
|
+
var a = gn(s, ["formatters"]);
|
3381
|
+
this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
|
3378
3382
|
} else
|
3379
3383
|
this.ast = t;
|
3380
3384
|
if (!Array.isArray(this.ast))
|
3381
3385
|
throw new TypeError("A message must be provided as a String or AST.");
|
3382
|
-
this.formats =
|
3386
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
|
3383
3387
|
}
|
3384
3388
|
return Object.defineProperty(e, "defaultLocale", {
|
3385
3389
|
get: function() {
|
@@ -3392,7 +3396,7 @@ var si = (
|
|
3392
3396
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3393
3397
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3394
3398
|
}
|
3395
|
-
}, e.__parse =
|
3399
|
+
}, e.__parse = Kn, e.formats = {
|
3396
3400
|
number: {
|
3397
3401
|
integer: {
|
3398
3402
|
maximumFractionDigits: 0
|
@@ -3453,7 +3457,7 @@ var si = (
|
|
3453
3457
|
}, e;
|
3454
3458
|
}()
|
3455
3459
|
);
|
3456
|
-
function
|
3460
|
+
function li(e, t) {
|
3457
3461
|
if (t == null)
|
3458
3462
|
return;
|
3459
3463
|
if (t in e)
|
@@ -3463,9 +3467,9 @@ function ai(e, t) {
|
|
3463
3467
|
for (let i = 0; i < r.length; i++)
|
3464
3468
|
if (typeof n == "object") {
|
3465
3469
|
if (i > 0) {
|
3466
|
-
const
|
3467
|
-
if (
|
3468
|
-
n = n[
|
3470
|
+
const o = r.slice(i, r.length).join(".");
|
3471
|
+
if (o in n) {
|
3472
|
+
n = n[o];
|
3469
3473
|
break;
|
3470
3474
|
}
|
3471
3475
|
}
|
@@ -3474,33 +3478,33 @@ function ai(e, t) {
|
|
3474
3478
|
n = void 0;
|
3475
3479
|
return n;
|
3476
3480
|
}
|
3477
|
-
const
|
3481
|
+
const W = {}, ui = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), ar = (e, t) => {
|
3478
3482
|
if (t == null)
|
3479
3483
|
return;
|
3480
|
-
if (t in
|
3481
|
-
return
|
3484
|
+
if (t in W && e in W[t])
|
3485
|
+
return W[t][e];
|
3482
3486
|
const r = Le(t);
|
3483
3487
|
for (let n = 0; n < r.length; n++) {
|
3484
|
-
const i = r[n],
|
3485
|
-
if (
|
3486
|
-
return
|
3488
|
+
const i = r[n], o = ci(i, e);
|
3489
|
+
if (o)
|
3490
|
+
return ui(e, t, o);
|
3487
3491
|
}
|
3488
3492
|
};
|
3489
3493
|
let it;
|
3490
|
-
const
|
3491
|
-
function
|
3494
|
+
const ue = Ne({});
|
3495
|
+
function hi(e) {
|
3492
3496
|
return it[e] || null;
|
3493
3497
|
}
|
3494
3498
|
function lr(e) {
|
3495
3499
|
return e in it;
|
3496
3500
|
}
|
3497
|
-
function
|
3501
|
+
function ci(e, t) {
|
3498
3502
|
if (!lr(e))
|
3499
3503
|
return null;
|
3500
|
-
const r =
|
3501
|
-
return
|
3504
|
+
const r = hi(e);
|
3505
|
+
return li(r, t);
|
3502
3506
|
}
|
3503
|
-
function
|
3507
|
+
function fi(e) {
|
3504
3508
|
if (e == null)
|
3505
3509
|
return;
|
3506
3510
|
const t = Le(e);
|
@@ -3511,27 +3515,27 @@ function ci(e) {
|
|
3511
3515
|
}
|
3512
3516
|
}
|
3513
3517
|
function ur(e, ...t) {
|
3514
|
-
delete
|
3518
|
+
delete W[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
|
3515
3519
|
}
|
3516
|
-
|
3517
|
-
[
|
3520
|
+
le(
|
3521
|
+
[ue],
|
3518
3522
|
([e]) => Object.keys(e)
|
3519
3523
|
);
|
3520
|
-
|
3521
|
-
const
|
3522
|
-
function
|
3523
|
-
|
3524
|
+
ue.subscribe((e) => it = e);
|
3525
|
+
const Te = {};
|
3526
|
+
function mi(e, t) {
|
3527
|
+
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
3524
3528
|
}
|
3525
3529
|
function hr(e) {
|
3526
|
-
return
|
3530
|
+
return Te[e];
|
3527
3531
|
}
|
3528
|
-
function
|
3532
|
+
function di(e) {
|
3529
3533
|
return Le(e).map((t) => {
|
3530
3534
|
const r = hr(t);
|
3531
3535
|
return [t, r ? [...r] : []];
|
3532
3536
|
}).filter(([, t]) => t.length > 0);
|
3533
3537
|
}
|
3534
|
-
function
|
3538
|
+
function et(e) {
|
3535
3539
|
return e == null ? !1 : Le(e).some(
|
3536
3540
|
(t) => {
|
3537
3541
|
var r;
|
@@ -3539,27 +3543,27 @@ function Ye(e) {
|
|
3539
3543
|
}
|
3540
3544
|
);
|
3541
3545
|
}
|
3542
|
-
function
|
3546
|
+
function pi(e, t) {
|
3543
3547
|
return Promise.all(
|
3544
|
-
t.map((n) => (
|
3548
|
+
t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
|
3545
3549
|
).then((n) => ur(e, ...n));
|
3546
3550
|
}
|
3547
|
-
const
|
3551
|
+
const fe = {};
|
3548
3552
|
function cr(e) {
|
3549
|
-
if (!
|
3550
|
-
return e in
|
3551
|
-
const t =
|
3552
|
-
return
|
3553
|
+
if (!et(e))
|
3554
|
+
return e in fe ? fe[e] : Promise.resolve();
|
3555
|
+
const t = di(e);
|
3556
|
+
return fe[e] = Promise.all(
|
3553
3557
|
t.map(
|
3554
|
-
([r, n]) =>
|
3558
|
+
([r, n]) => pi(r, n)
|
3555
3559
|
)
|
3556
3560
|
).then(() => {
|
3557
|
-
if (
|
3561
|
+
if (et(e))
|
3558
3562
|
return cr(e);
|
3559
|
-
delete
|
3560
|
-
}),
|
3563
|
+
delete fe[e];
|
3564
|
+
}), fe[e];
|
3561
3565
|
}
|
3562
|
-
const
|
3566
|
+
const gi = {
|
3563
3567
|
number: {
|
3564
3568
|
scientific: { notation: "scientific" },
|
3565
3569
|
engineering: { notation: "engineering" },
|
@@ -3588,150 +3592,150 @@ const pi = {
|
|
3588
3592
|
timeZoneName: "short"
|
3589
3593
|
}
|
3590
3594
|
}
|
3591
|
-
},
|
3595
|
+
}, bi = {
|
3592
3596
|
fallbackLocale: null,
|
3593
3597
|
loadingDelay: 200,
|
3594
|
-
formats:
|
3598
|
+
formats: gi,
|
3595
3599
|
warnOnMissingMessages: !0,
|
3596
3600
|
handleMissingMessage: void 0,
|
3597
3601
|
ignoreTag: !0
|
3598
|
-
},
|
3599
|
-
function
|
3600
|
-
return
|
3602
|
+
}, yi = bi;
|
3603
|
+
function ae() {
|
3604
|
+
return yi;
|
3601
3605
|
}
|
3602
|
-
const
|
3603
|
-
var
|
3606
|
+
const Ve = Ne(!1);
|
3607
|
+
var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
|
3604
3608
|
for (var r in t || (t = {}))
|
3605
|
-
|
3609
|
+
xi.call(t, r) && Ct(e, r, t[r]);
|
3606
3610
|
if (xt)
|
3607
3611
|
for (var r of xt(t))
|
3608
|
-
|
3612
|
+
Ci.call(t, r) && Ct(e, r, t[r]);
|
3609
3613
|
return e;
|
3610
|
-
},
|
3611
|
-
let
|
3612
|
-
const
|
3614
|
+
}, Hi = (e, t) => _i(e, Ei(t));
|
3615
|
+
let tt;
|
3616
|
+
const Ie = Ne(null);
|
3613
3617
|
function wt(e) {
|
3614
3618
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3615
3619
|
}
|
3616
|
-
function Le(e, t =
|
3620
|
+
function Le(e, t = ae().fallbackLocale) {
|
3617
3621
|
const r = wt(e);
|
3618
3622
|
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
3619
3623
|
}
|
3620
|
-
function
|
3621
|
-
return
|
3624
|
+
function J() {
|
3625
|
+
return tt ?? void 0;
|
3622
3626
|
}
|
3623
|
-
|
3624
|
-
|
3627
|
+
Ie.subscribe((e) => {
|
3628
|
+
tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3625
3629
|
});
|
3626
|
-
const
|
3627
|
-
if (e &&
|
3628
|
-
const { loadingDelay: t } =
|
3630
|
+
const Si = (e) => {
|
3631
|
+
if (e && fi(e) && et(e)) {
|
3632
|
+
const { loadingDelay: t } = ae();
|
3629
3633
|
let r;
|
3630
|
-
return typeof window < "u" &&
|
3631
|
-
() =>
|
3634
|
+
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
3635
|
+
() => Ve.set(!0),
|
3632
3636
|
t
|
3633
|
-
) :
|
3634
|
-
|
3637
|
+
) : Ve.set(!0), cr(e).then(() => {
|
3638
|
+
Ie.set(e);
|
3635
3639
|
}).finally(() => {
|
3636
|
-
clearTimeout(r),
|
3640
|
+
clearTimeout(r), Ve.set(!1);
|
3637
3641
|
});
|
3638
3642
|
}
|
3639
|
-
return
|
3640
|
-
},
|
3641
|
-
set:
|
3642
|
-
}),
|
3643
|
+
return Ie.set(e);
|
3644
|
+
}, z = Hi(wi({}, Ie), {
|
3645
|
+
set: Si
|
3646
|
+
}), Fe = (e) => {
|
3643
3647
|
const t = /* @__PURE__ */ Object.create(null);
|
3644
3648
|
return (n) => {
|
3645
3649
|
const i = JSON.stringify(n);
|
3646
3650
|
return i in t ? t[i] : t[i] = e(n);
|
3647
3651
|
};
|
3648
3652
|
};
|
3649
|
-
var
|
3653
|
+
var Ti = Object.defineProperty, Me = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
3650
3654
|
for (var r in t || (t = {}))
|
3651
3655
|
fr.call(t, r) && Ht(e, r, t[r]);
|
3652
|
-
if (
|
3653
|
-
for (var r of
|
3656
|
+
if (Me)
|
3657
|
+
for (var r of Me(t))
|
3654
3658
|
mr.call(t, r) && Ht(e, r, t[r]);
|
3655
3659
|
return e;
|
3656
|
-
},
|
3660
|
+
}, he = (e, t) => {
|
3657
3661
|
var r = {};
|
3658
3662
|
for (var n in e)
|
3659
3663
|
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3660
|
-
if (e != null &&
|
3661
|
-
for (var n of
|
3664
|
+
if (e != null && Me)
|
3665
|
+
for (var n of Me(e))
|
3662
3666
|
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
3663
3667
|
return r;
|
3664
3668
|
};
|
3665
|
-
const
|
3666
|
-
const { formats: r } =
|
3669
|
+
const ye = (e, t) => {
|
3670
|
+
const { formats: r } = ae();
|
3667
3671
|
if (e in r && t in r[e])
|
3668
3672
|
return r[e][t];
|
3669
3673
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3670
|
-
},
|
3674
|
+
}, Ai = Fe(
|
3671
3675
|
(e) => {
|
3672
|
-
var t = e, { locale: r, format: n } = t, i =
|
3676
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
3673
3677
|
if (r == null)
|
3674
3678
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3675
|
-
return n && (i =
|
3679
|
+
return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
|
3676
3680
|
}
|
3677
|
-
),
|
3681
|
+
), Bi = Fe(
|
3678
3682
|
(e) => {
|
3679
|
-
var t = e, { locale: r, format: n } = t, i =
|
3683
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
3680
3684
|
if (r == null)
|
3681
3685
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3682
|
-
return n ? i =
|
3686
|
+
return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
|
3683
3687
|
}
|
3684
|
-
),
|
3688
|
+
), Ii = Fe(
|
3685
3689
|
(e) => {
|
3686
|
-
var t = e, { locale: r, format: n } = t, i =
|
3690
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
3687
3691
|
if (r == null)
|
3688
3692
|
throw new Error(
|
3689
3693
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3690
3694
|
);
|
3691
|
-
return n ? i =
|
3695
|
+
return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
|
3692
3696
|
}
|
3693
|
-
),
|
3694
|
-
var t = e, {
|
3695
|
-
locale: r = q()
|
3696
|
-
} = t, n = ue(t, [
|
3697
|
-
"locale"
|
3698
|
-
]);
|
3699
|
-
return Ti(ot({ locale: r }, n));
|
3700
|
-
}, Mi = (e = {}) => {
|
3697
|
+
), Mi = (e = {}) => {
|
3701
3698
|
var t = e, {
|
3702
|
-
locale: r =
|
3703
|
-
} = t, n =
|
3699
|
+
locale: r = J()
|
3700
|
+
} = t, n = he(t, [
|
3704
3701
|
"locale"
|
3705
3702
|
]);
|
3706
3703
|
return Ai(ot({ locale: r }, n));
|
3707
3704
|
}, Ni = (e = {}) => {
|
3708
3705
|
var t = e, {
|
3709
|
-
locale: r =
|
3710
|
-
} = t, n =
|
3706
|
+
locale: r = J()
|
3707
|
+
} = t, n = he(t, [
|
3711
3708
|
"locale"
|
3712
3709
|
]);
|
3713
3710
|
return Bi(ot({ locale: r }, n));
|
3714
|
-
},
|
3711
|
+
}, Pi = (e = {}) => {
|
3712
|
+
var t = e, {
|
3713
|
+
locale: r = J()
|
3714
|
+
} = t, n = he(t, [
|
3715
|
+
"locale"
|
3716
|
+
]);
|
3717
|
+
return Ii(ot({ locale: r }, n));
|
3718
|
+
}, Oi = Fe(
|
3715
3719
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3716
|
-
(e, t =
|
3717
|
-
ignoreTag:
|
3720
|
+
(e, t = J()) => new ai(e, t, ae().formats, {
|
3721
|
+
ignoreTag: ae().ignoreTag
|
3718
3722
|
})
|
3719
|
-
),
|
3720
|
-
var r, n, i,
|
3721
|
-
let
|
3722
|
-
typeof e == "object" && (
|
3723
|
+
), Li = (e, t = {}) => {
|
3724
|
+
var r, n, i, o;
|
3725
|
+
let s = t;
|
3726
|
+
typeof e == "object" && (s = e, e = s.id);
|
3723
3727
|
const {
|
3724
3728
|
values: a,
|
3725
|
-
locale: h =
|
3729
|
+
locale: h = J(),
|
3726
3730
|
default: l
|
3727
|
-
} =
|
3731
|
+
} = s;
|
3728
3732
|
if (h == null)
|
3729
3733
|
throw new Error(
|
3730
3734
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3731
3735
|
);
|
3732
3736
|
let u = ar(e, h);
|
3733
3737
|
if (!u)
|
3734
|
-
u = (
|
3738
|
+
u = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3735
3739
|
else if (typeof u != "string")
|
3736
3740
|
return console.warn(
|
3737
3741
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3740,7 +3744,7 @@ const be = (e, t) => {
|
|
3740
3744
|
return u;
|
3741
3745
|
let m = u;
|
3742
3746
|
try {
|
3743
|
-
m =
|
3747
|
+
m = Oi(u, h).format(a);
|
3744
3748
|
} catch (f) {
|
3745
3749
|
f instanceof Error && console.warn(
|
3746
3750
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3748,22 +3752,22 @@ const be = (e, t) => {
|
|
3748
3752
|
);
|
3749
3753
|
}
|
3750
3754
|
return m;
|
3751
|
-
},
|
3752
|
-
|
3753
|
-
|
3754
|
-
|
3755
|
-
|
3756
|
-
|
3757
|
-
function
|
3758
|
-
|
3759
|
-
r == null && (
|
3755
|
+
}, Fi = (e, t) => Pi(t).format(e), Ri = (e, t) => Ni(t).format(e), Di = (e, t) => Mi(t).format(e), Ui = (e, t = J()) => ar(e, t);
|
3756
|
+
le([z, ue], () => Li);
|
3757
|
+
le([z], () => Fi);
|
3758
|
+
le([z], () => Ri);
|
3759
|
+
le([z], () => Di);
|
3760
|
+
le([z, ue], () => Ui);
|
3761
|
+
function Gi({ withLocale: e, translations: t }) {
|
3762
|
+
z.subscribe((r) => {
|
3763
|
+
r == null && (ue.set(t), z.set(e));
|
3760
3764
|
});
|
3761
3765
|
}
|
3762
3766
|
function St(e, t) {
|
3763
3767
|
ur(e, t);
|
3764
3768
|
}
|
3765
|
-
function
|
3766
|
-
|
3769
|
+
function ki(e) {
|
3770
|
+
z.set(e);
|
3767
3771
|
}
|
3768
3772
|
const Tt = {
|
3769
3773
|
en: {
|
@@ -3822,7 +3826,7 @@ const Tt = {
|
|
3822
3826
|
deposit: "Deposit"
|
3823
3827
|
}
|
3824
3828
|
};
|
3825
|
-
function
|
3829
|
+
function $i(e) {
|
3826
3830
|
Br(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}');
|
3827
3831
|
}
|
3828
3832
|
function At(e, t, r) {
|
@@ -3838,87 +3842,87 @@ function It(e, t, r) {
|
|
3838
3842
|
return n[54] = t[r], n[56] = r, n;
|
3839
3843
|
}
|
3840
3844
|
function Mt(e) {
|
3841
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3845
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
|
3842
3846
|
/*sliderdata*/
|
3843
3847
|
e[9]
|
3844
3848
|
);
|
3845
|
-
const
|
3849
|
+
const o = (s) => (
|
3846
3850
|
/*category*/
|
3847
|
-
|
3851
|
+
s[48].id
|
3848
3852
|
);
|
3849
|
-
for (let
|
3850
|
-
let a = At(e, i,
|
3851
|
-
r.set(h, t[
|
3853
|
+
for (let s = 0; s < i.length; s += 1) {
|
3854
|
+
let a = At(e, i, s), h = o(a);
|
3855
|
+
r.set(h, t[s] = Rt(h, a));
|
3852
3856
|
}
|
3853
3857
|
return {
|
3854
3858
|
c() {
|
3855
|
-
for (let
|
3856
|
-
t[
|
3857
|
-
n =
|
3859
|
+
for (let s = 0; s < t.length; s += 1)
|
3860
|
+
t[s].c();
|
3861
|
+
n = pe();
|
3858
3862
|
},
|
3859
|
-
m(
|
3863
|
+
m(s, a) {
|
3860
3864
|
for (let h = 0; h < t.length; h += 1)
|
3861
|
-
t[h] && t[h].m(
|
3862
|
-
U(
|
3865
|
+
t[h] && t[h].m(s, a);
|
3866
|
+
U(s, n, a);
|
3863
3867
|
},
|
3864
|
-
p(
|
3868
|
+
p(s, a) {
|
3865
3869
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3866
|
-
77775 && (i =
|
3870
|
+
77775 && (i = ne(
|
3867
3871
|
/*sliderdata*/
|
3868
|
-
|
3869
|
-
), t = $t(t, a,
|
3872
|
+
s[9]
|
3873
|
+
), t = $t(t, a, o, 1, s, i, r, n.parentNode, kt, Rt, n, At));
|
3870
3874
|
},
|
3871
|
-
d(
|
3872
|
-
|
3875
|
+
d(s) {
|
3876
|
+
s && F(n);
|
3873
3877
|
for (let a = 0; a < t.length; a += 1)
|
3874
|
-
t[a].d(
|
3878
|
+
t[a].d(s);
|
3875
3879
|
}
|
3876
3880
|
};
|
3877
3881
|
}
|
3878
|
-
function
|
3882
|
+
function ji(e) {
|
3879
3883
|
let t, r = (
|
3880
3884
|
/*category*/
|
3881
3885
|
e[48].name + ""
|
3882
3886
|
), n;
|
3883
3887
|
return {
|
3884
3888
|
c() {
|
3885
|
-
t = N("button"), n =
|
3889
|
+
t = N("button"), n = ve(r), H(t, "class", "CategoryButton");
|
3886
3890
|
},
|
3887
|
-
m(i,
|
3888
|
-
U(i, t,
|
3891
|
+
m(i, o) {
|
3892
|
+
U(i, t, o), B(t, n);
|
3889
3893
|
},
|
3890
|
-
p(i,
|
3891
|
-
|
3894
|
+
p(i, o) {
|
3895
|
+
o[0] & /*sliderdata*/
|
3892
3896
|
512 && r !== (r = /*category*/
|
3893
|
-
i[48].name + "") &&
|
3897
|
+
i[48].name + "") && nt(n, r);
|
3894
3898
|
},
|
3895
3899
|
d(i) {
|
3896
3900
|
i && F(t);
|
3897
3901
|
}
|
3898
3902
|
};
|
3899
3903
|
}
|
3900
|
-
function
|
3904
|
+
function Vi(e) {
|
3901
3905
|
let t, r = (
|
3902
3906
|
/*category*/
|
3903
3907
|
e[48].label + ""
|
3904
3908
|
), n, i;
|
3905
3909
|
return {
|
3906
3910
|
c() {
|
3907
|
-
t = N("a"), n =
|
3911
|
+
t = N("a"), n = ve(r), H(t, "href", i = /*category*/
|
3908
3912
|
e[48].path);
|
3909
3913
|
},
|
3910
|
-
m(
|
3911
|
-
U(
|
3914
|
+
m(o, s) {
|
3915
|
+
U(o, t, s), B(t, n);
|
3912
3916
|
},
|
3913
|
-
p(
|
3914
|
-
|
3917
|
+
p(o, s) {
|
3918
|
+
s[0] & /*sliderdata*/
|
3915
3919
|
512 && r !== (r = /*category*/
|
3916
|
-
|
3920
|
+
o[48].label + "") && nt(n, r), s[0] & /*sliderdata*/
|
3917
3921
|
512 && i !== (i = /*category*/
|
3918
|
-
|
3922
|
+
o[48].path) && H(t, "href", i);
|
3919
3923
|
},
|
3920
|
-
d(
|
3921
|
-
|
3924
|
+
d(o) {
|
3925
|
+
o && F(t);
|
3922
3926
|
}
|
3923
3927
|
};
|
3924
3928
|
}
|
@@ -3926,11 +3930,11 @@ function Nt(e) {
|
|
3926
3930
|
let t, r = (
|
3927
3931
|
/*subGroupsData*/
|
3928
3932
|
e[10].length > 0 && /*showsubgroups*/
|
3929
|
-
e[2] == "true" &&
|
3933
|
+
e[2] == "true" && Pt(e)
|
3930
3934
|
);
|
3931
3935
|
return {
|
3932
3936
|
c() {
|
3933
|
-
r && r.c(), t =
|
3937
|
+
r && r.c(), t = pe();
|
3934
3938
|
},
|
3935
3939
|
m(n, i) {
|
3936
3940
|
r && r.m(n, i), U(n, t, i);
|
@@ -3938,15 +3942,15 @@ function Nt(e) {
|
|
3938
3942
|
p(n, i) {
|
3939
3943
|
/*subGroupsData*/
|
3940
3944
|
n[10].length > 0 && /*showsubgroups*/
|
3941
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3945
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3942
3946
|
},
|
3943
3947
|
d(n) {
|
3944
3948
|
n && F(t), r && r.d(n);
|
3945
3949
|
}
|
3946
3950
|
};
|
3947
3951
|
}
|
3948
|
-
function
|
3949
|
-
let t, r =
|
3952
|
+
function Pt(e) {
|
3953
|
+
let t, r = ne(
|
3950
3954
|
/*subGroupsData*/
|
3951
3955
|
e[10]
|
3952
3956
|
), n = [];
|
@@ -3957,27 +3961,27 @@ function Lt(e) {
|
|
3957
3961
|
t = N("ul");
|
3958
3962
|
for (let i = 0; i < n.length; i += 1)
|
3959
3963
|
n[i].c();
|
3960
|
-
|
3964
|
+
H(t, "class", "DropDown");
|
3961
3965
|
},
|
3962
|
-
m(i,
|
3963
|
-
U(i, t,
|
3964
|
-
for (let
|
3965
|
-
n[
|
3966
|
+
m(i, o) {
|
3967
|
+
U(i, t, o);
|
3968
|
+
for (let s = 0; s < n.length; s += 1)
|
3969
|
+
n[s] && n[s].m(t, null);
|
3966
3970
|
},
|
3967
|
-
p(i,
|
3968
|
-
if (
|
3971
|
+
p(i, o) {
|
3972
|
+
if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
3969
3973
|
10176) {
|
3970
|
-
r =
|
3974
|
+
r = ne(
|
3971
3975
|
/*subGroupsData*/
|
3972
3976
|
i[10]
|
3973
3977
|
);
|
3974
|
-
let
|
3975
|
-
for (
|
3976
|
-
const a = Bt(i, r,
|
3977
|
-
n[
|
3978
|
+
let s;
|
3979
|
+
for (s = 0; s < r.length; s += 1) {
|
3980
|
+
const a = Bt(i, r, s);
|
3981
|
+
n[s] ? n[s].p(a, o) : (n[s] = Ft(a), n[s].c(), n[s].m(t, null));
|
3978
3982
|
}
|
3979
|
-
for (;
|
3980
|
-
n[
|
3983
|
+
for (; s < n.length; s += 1)
|
3984
|
+
n[s].d(1);
|
3981
3985
|
n.length = r.length;
|
3982
3986
|
}
|
3983
3987
|
},
|
@@ -3986,11 +3990,11 @@ function Lt(e) {
|
|
3986
3990
|
}
|
3987
3991
|
};
|
3988
3992
|
}
|
3989
|
-
function
|
3993
|
+
function Ot(e) {
|
3990
3994
|
let t, r, n = (
|
3991
3995
|
/*subGroupItem*/
|
3992
3996
|
e[54]?.name + ""
|
3993
|
-
), i,
|
3997
|
+
), i, o, s, a, h;
|
3994
3998
|
function l(...u) {
|
3995
3999
|
return (
|
3996
4000
|
/*click_handler_1*/
|
@@ -4009,7 +4013,7 @@ function Pt(e) {
|
|
4009
4013
|
}
|
4010
4014
|
return {
|
4011
4015
|
c() {
|
4012
|
-
t = N("li"), r = N("a"), i =
|
4016
|
+
t = N("li"), r = N("a"), i = ve(n), s = Q(), H(r, "class", o = "SubDropDown " + /*index*/
|
4013
4017
|
(e[50] == /*activeIndex*/
|
4014
4018
|
e[6] && /*activeSubIndex*/
|
4015
4019
|
(e[7] == /*subindex*/
|
@@ -4018,94 +4022,94 @@ function Pt(e) {
|
|
4018
4022
|
e[56]) ? "active" : ""));
|
4019
4023
|
},
|
4020
4024
|
m(u, m) {
|
4021
|
-
U(u, t, m), B(t, r), B(r, i), B(t,
|
4025
|
+
U(u, t, m), B(t, r), B(r, i), B(t, s), a || (h = Ae(t, "click", l), a = !0);
|
4022
4026
|
},
|
4023
4027
|
p(u, m) {
|
4024
4028
|
e = u, m[0] & /*subGroupsData*/
|
4025
4029
|
1024 && n !== (n = /*subGroupItem*/
|
4026
|
-
e[54]?.name + "") &&
|
4027
|
-
1984 &&
|
4030
|
+
e[54]?.name + "") && nt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4031
|
+
1984 && o !== (o = "SubDropDown " + /*index*/
|
4028
4032
|
(e[50] == /*activeIndex*/
|
4029
4033
|
e[6] && /*activeSubIndex*/
|
4030
4034
|
(e[7] == /*subindex*/
|
4031
4035
|
e[56] || /*prevSubIndex*/
|
4032
4036
|
e[8] == /*subindex*/
|
4033
|
-
e[56]) ? "active" : "")) &&
|
4037
|
+
e[56]) ? "active" : "")) && H(r, "class", o);
|
4034
4038
|
},
|
4035
4039
|
d(u) {
|
4036
4040
|
u && F(t), a = !1, h();
|
4037
4041
|
}
|
4038
4042
|
};
|
4039
4043
|
}
|
4040
|
-
function
|
4044
|
+
function Lt(e, t) {
|
4041
4045
|
let r, n, i = (
|
4042
4046
|
/*index*/
|
4043
4047
|
t[50] == /*subGroup*/
|
4044
|
-
t[51].index &&
|
4048
|
+
t[51].index && Ot(t)
|
4045
4049
|
);
|
4046
4050
|
return {
|
4047
4051
|
key: e,
|
4048
4052
|
first: null,
|
4049
4053
|
c() {
|
4050
|
-
r =
|
4054
|
+
r = pe(), i && i.c(), n = pe(), this.first = r;
|
4051
4055
|
},
|
4052
|
-
m(
|
4053
|
-
U(
|
4056
|
+
m(o, s) {
|
4057
|
+
U(o, r, s), i && i.m(o, s), U(o, n, s);
|
4054
4058
|
},
|
4055
|
-
p(
|
4056
|
-
t =
|
4059
|
+
p(o, s) {
|
4060
|
+
t = o, /*index*/
|
4057
4061
|
t[50] == /*subGroup*/
|
4058
|
-
t[51].index ? i ? i.p(t,
|
4062
|
+
t[51].index ? i ? i.p(t, s) : (i = Ot(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4059
4063
|
},
|
4060
|
-
d(
|
4061
|
-
|
4064
|
+
d(o) {
|
4065
|
+
o && (F(r), F(n)), i && i.d(o);
|
4062
4066
|
}
|
4063
4067
|
};
|
4064
4068
|
}
|
4065
4069
|
function Ft(e) {
|
4066
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4070
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
|
4067
4071
|
/*subGroup*/
|
4068
4072
|
e[51].items
|
4069
4073
|
);
|
4070
|
-
const
|
4074
|
+
const o = (s) => (
|
4071
4075
|
/*subGroupItem*/
|
4072
|
-
|
4076
|
+
s[54].id
|
4073
4077
|
);
|
4074
|
-
for (let
|
4075
|
-
let a = It(e, i,
|
4076
|
-
r.set(h, t[
|
4078
|
+
for (let s = 0; s < i.length; s += 1) {
|
4079
|
+
let a = It(e, i, s), h = o(a);
|
4080
|
+
r.set(h, t[s] = Lt(h, a));
|
4077
4081
|
}
|
4078
4082
|
return {
|
4079
4083
|
c() {
|
4080
|
-
for (let
|
4081
|
-
t[
|
4082
|
-
n =
|
4084
|
+
for (let s = 0; s < t.length; s += 1)
|
4085
|
+
t[s].c();
|
4086
|
+
n = pe();
|
4083
4087
|
},
|
4084
|
-
m(
|
4088
|
+
m(s, a) {
|
4085
4089
|
for (let h = 0; h < t.length; h += 1)
|
4086
|
-
t[h] && t[h].m(
|
4087
|
-
U(
|
4090
|
+
t[h] && t[h].m(s, a);
|
4091
|
+
U(s, n, a);
|
4088
4092
|
},
|
4089
|
-
p(
|
4093
|
+
p(s, a) {
|
4090
4094
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4091
|
-
10176 && (i =
|
4095
|
+
10176 && (i = ne(
|
4092
4096
|
/*subGroup*/
|
4093
|
-
|
4094
|
-
), t = $t(t, a,
|
4097
|
+
s[51].items
|
4098
|
+
), t = $t(t, a, o, 1, s, i, r, n.parentNode, kt, Lt, n, It));
|
4095
4099
|
},
|
4096
|
-
d(
|
4097
|
-
|
4100
|
+
d(s) {
|
4101
|
+
s && F(n);
|
4098
4102
|
for (let a = 0; a < t.length; a += 1)
|
4099
|
-
t[a].d(
|
4103
|
+
t[a].d(s);
|
4100
4104
|
}
|
4101
4105
|
};
|
4102
4106
|
}
|
4103
4107
|
function Rt(e, t) {
|
4104
|
-
let r, n, i,
|
4105
|
-
function p(
|
4108
|
+
let r, n, i, o, s, a, h, l, u, m, f;
|
4109
|
+
function p(_, w) {
|
4106
4110
|
return (
|
4107
4111
|
/*location*/
|
4108
|
-
|
4112
|
+
_[0] === "headerMain" ? Vi : ji
|
4109
4113
|
);
|
4110
4114
|
}
|
4111
4115
|
let g = p(t), b = g(t), d = (
|
@@ -4115,7 +4119,7 @@ function Rt(e, t) {
|
|
4115
4119
|
t[50]
|
4116
4120
|
] == !0 && Nt(t)
|
4117
4121
|
);
|
4118
|
-
function
|
4122
|
+
function C(..._) {
|
4119
4123
|
return (
|
4120
4124
|
/*click_handler_2*/
|
4121
4125
|
t[34](
|
@@ -4123,7 +4127,7 @@ function Rt(e, t) {
|
|
4123
4127
|
t[48],
|
4124
4128
|
/*index*/
|
4125
4129
|
t[50],
|
4126
|
-
...
|
4130
|
+
..._
|
4127
4131
|
)
|
4128
4132
|
);
|
4129
4133
|
}
|
@@ -4131,12 +4135,12 @@ function Rt(e, t) {
|
|
4131
4135
|
key: e,
|
4132
4136
|
first: null,
|
4133
4137
|
c() {
|
4134
|
-
r = N("li"), n = N("div"), i = N("img"), a =
|
4135
|
-
(t[3] === "true" ? "" : "DisplayNone")), ct(i.src,
|
4138
|
+
r = N("li"), n = N("div"), i = N("img"), a = Q(), b.c(), h = Q(), d && d.c(), l = Q(), H(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4139
|
+
(t[3] === "true" ? "" : "DisplayNone")), ct(i.src, s = /*handleSrc*/
|
4136
4140
|
t[16](
|
4137
4141
|
/*category*/
|
4138
4142
|
t[48]
|
4139
|
-
)) ||
|
4143
|
+
)) || H(i, "src", s), H(n, "class", "CategoryIcon"), H(r, "class", u = "CarouselItem " + /*activeindex*/
|
4140
4144
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
4141
4145
|
/*activeindex*/
|
4142
4146
|
t[1]?.split("$").pop() == /*category*/
|
@@ -4148,22 +4152,22 @@ function Rt(e, t) {
|
|
4148
4152
|
)) + " " + /*location*/
|
4149
4153
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4150
4154
|
},
|
4151
|
-
m(
|
4152
|
-
U(
|
4155
|
+
m(_, w) {
|
4156
|
+
U(_, r, w), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", C), m = !0);
|
4153
4157
|
},
|
4154
|
-
p(
|
4155
|
-
t =
|
4156
|
-
8 &&
|
4157
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4158
|
-
512 && !ct(i.src,
|
4158
|
+
p(_, w) {
|
4159
|
+
t = _, w[0] & /*categoriesicon*/
|
4160
|
+
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4161
|
+
(t[3] === "true" ? "" : "DisplayNone")) && H(i, "class", o), w[0] & /*sliderdata*/
|
4162
|
+
512 && !ct(i.src, s = /*handleSrc*/
|
4159
4163
|
t[16](
|
4160
4164
|
/*category*/
|
4161
4165
|
t[48]
|
4162
|
-
)) &&
|
4166
|
+
)) && H(i, "src", s), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
|
4163
4167
|
t[11][
|
4164
4168
|
/*index*/
|
4165
4169
|
t[50]
|
4166
|
-
] == !0 ? d ? d.p(t,
|
4170
|
+
] == !0 ? d ? d.p(t, w) : (d = Nt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
|
4167
4171
|
515 && u !== (u = "CarouselItem " + /*activeindex*/
|
4168
4172
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
4169
4173
|
/*activeindex*/
|
@@ -4174,34 +4178,34 @@ function Rt(e, t) {
|
|
4174
4178
|
t[1] == /*category*/
|
4175
4179
|
t[48].id ? "active" : ""
|
4176
4180
|
)) + " " + /*location*/
|
4177
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4181
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && H(r, "class", u);
|
4178
4182
|
},
|
4179
|
-
d(
|
4180
|
-
|
4183
|
+
d(_) {
|
4184
|
+
_ && F(r), b.d(), d && d.d(), m = !1, f();
|
4181
4185
|
}
|
4182
4186
|
};
|
4183
4187
|
}
|
4184
|
-
function
|
4185
|
-
let t, r, n, i,
|
4188
|
+
function Xi(e) {
|
4189
|
+
let t, r, n, i, o, s, a, h, l, u, m, f, p, g, b, d = (
|
4186
4190
|
/*sliderdata*/
|
4187
4191
|
e[9].length > 0 && Mt(e)
|
4188
4192
|
);
|
4189
4193
|
return {
|
4190
4194
|
c() {
|
4191
|
-
t = N("div"), r = N("div"), n = N("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 =
|
4192
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4193
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4195
|
+
t = N("div"), r = N("div"), n = N("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 = Q(), o = N("div"), s = N("ul"), a = N("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Q(), d && d.c(), l = Q(), u = N("div"), u.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>', H(n, "class", "CarouselLeftArrow"), H(a, "class", "TouchOnly"), H(s, "id", "CarouselNav"), H(s, "class", "CarouselItems"), H(o, "class", "CarouselNavWrap scroller"), H(u, "class", "CarouselRightArrow"), H(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4196
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), H(r, "style", f = /*location*/
|
4197
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), H(t, "class", p = "CarouselWrapper " + /*location*/
|
4194
4198
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4195
4199
|
},
|
4196
|
-
m(
|
4197
|
-
U(
|
4198
|
-
|
4200
|
+
m(C, _) {
|
4201
|
+
U(C, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, h), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, u), e[38](t), g || (b = [
|
4202
|
+
Ae(
|
4199
4203
|
n,
|
4200
4204
|
"click",
|
4201
4205
|
/*click_handler*/
|
4202
4206
|
e[32]
|
4203
4207
|
),
|
4204
|
-
|
4208
|
+
Ae(
|
4205
4209
|
u,
|
4206
4210
|
"click",
|
4207
4211
|
/*click_handler_3*/
|
@@ -4209,175 +4213,175 @@ function Vi(e) {
|
|
4209
4213
|
)
|
4210
4214
|
], g = !0);
|
4211
4215
|
},
|
4212
|
-
p(
|
4216
|
+
p(C, _) {
|
4213
4217
|
/*sliderdata*/
|
4214
|
-
|
4218
|
+
C[9].length > 0 ? d ? d.p(C, _) : (d = Mt(C), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4215
4219
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4216
|
-
|
4220
|
+
C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && H(r, "class", m), _[0] & /*location*/
|
4217
4221
|
1 && f !== (f = /*location*/
|
4218
|
-
|
4222
|
+
C[0] === "headerMain" ? "max-width: auto" : void 0) && H(r, "style", f), _[0] & /*location*/
|
4219
4223
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4220
|
-
(
|
4224
|
+
(C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && H(t, "class", p);
|
4221
4225
|
},
|
4222
4226
|
i: G,
|
4223
4227
|
o: G,
|
4224
|
-
d(
|
4225
|
-
|
4228
|
+
d(C) {
|
4229
|
+
C && F(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, q(b);
|
4226
4230
|
}
|
4227
4231
|
};
|
4228
4232
|
}
|
4229
|
-
function
|
4230
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname:
|
4231
|
-
|
4233
|
+
function Wi(e, t, r) {
|
4234
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: C = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: R = "" } = t, { mbsource: O = "" } = t;
|
4235
|
+
Gi({ withLocale: "en", translations: {} });
|
4232
4236
|
const k = () => {
|
4233
|
-
fetch(f).then((
|
4234
|
-
Object.keys(
|
4235
|
-
St(D,
|
4237
|
+
fetch(f).then((E) => E.json()).then((E) => {
|
4238
|
+
Object.keys(E).forEach((D) => {
|
4239
|
+
St(D, E[D]);
|
4236
4240
|
});
|
4237
|
-
}).catch((
|
4238
|
-
console.log(
|
4241
|
+
}).catch((E) => {
|
4242
|
+
console.log(E);
|
4239
4243
|
});
|
4240
4244
|
};
|
4241
4245
|
Object.keys(Tt).forEach((c) => {
|
4242
4246
|
St(c, Tt[c]);
|
4243
4247
|
});
|
4244
|
-
let
|
4245
|
-
if (!(c.subGroups &&
|
4246
|
-
if (
|
4248
|
+
let x, I, P, V, j, ce = [], _e = [], Y = [], M, Re = (c, E, D, Z, X) => {
|
4249
|
+
if (!(c.subGroups && Z === null)) {
|
4250
|
+
if (Ee(), r(6, I = E), r(6, I), X != "secondary") {
|
4247
4251
|
window.postMessage(
|
4248
4252
|
{
|
4249
|
-
type:
|
4253
|
+
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4250
4254
|
buzz: "1",
|
4251
4255
|
itemId: c.id,
|
4252
|
-
index:
|
4256
|
+
index: E,
|
4253
4257
|
item: c,
|
4254
4258
|
path: c.path,
|
4255
4259
|
externalLink: c.externalLink || !1,
|
4256
4260
|
target: c.attrs?.target || null
|
4257
4261
|
},
|
4258
4262
|
window.location.href
|
4259
|
-
), r(7,
|
4263
|
+
), r(7, P = null), r(8, V = null);
|
4260
4264
|
return;
|
4261
4265
|
}
|
4262
|
-
r(7,
|
4266
|
+
r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
|
4263
4267
|
{
|
4264
|
-
type:
|
4268
|
+
type: s,
|
4265
4269
|
itemId: D.id,
|
4266
|
-
subIndex:
|
4270
|
+
subIndex: Z,
|
4267
4271
|
subItem: D
|
4268
4272
|
},
|
4269
4273
|
window.location.href
|
4270
4274
|
);
|
4271
4275
|
}
|
4272
4276
|
}, st = () => {
|
4273
|
-
M && (
|
4277
|
+
M && (Y.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
|
4274
4278
|
}, at = () => {
|
4275
|
-
M && (
|
4279
|
+
M && (Y.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
|
4276
4280
|
};
|
4277
4281
|
const lt = (c) => {
|
4278
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9,
|
4279
|
-
|
4282
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, ce = c.data.data), r(11, Y = new Array(ce.length).fill(!1)), C == "true" && gr()), c.data.type == "GoToHomepage" && ce.forEach((E, D) => {
|
4283
|
+
E.path.endsWith("/casino") && (r(6, I = D), r(6, I));
|
4280
4284
|
});
|
4281
4285
|
}, dr = () => {
|
4282
|
-
|
4283
|
-
}, pr = (c,
|
4286
|
+
ki(b);
|
4287
|
+
}, pr = (c, E, D) => {
|
4284
4288
|
if (h == "secondaryMenu" && n && i && b && c.id) {
|
4285
|
-
let
|
4286
|
-
fetch(
|
4287
|
-
|
4289
|
+
let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4290
|
+
fetch(Z.href).then((X) => X.json()).then((X) => {
|
4291
|
+
X.index = E, r(10, _e = _e.concat(X)), C == "false" && window.postMessage(
|
4288
4292
|
{
|
4289
|
-
type:
|
4293
|
+
type: s,
|
4290
4294
|
itemId: c.id,
|
4291
|
-
index:
|
4295
|
+
index: E,
|
4292
4296
|
item: c
|
4293
4297
|
},
|
4294
4298
|
window.location.href
|
4295
4299
|
);
|
4296
|
-
const
|
4297
|
-
|
4298
|
-
|
4299
|
-
}),
|
4300
|
+
const xe = [];
|
4301
|
+
_e.map((Hr) => (Hr.items.forEach((ut) => {
|
4302
|
+
xe.find((Sr) => ut.id == Sr) || xe.push(ut.id);
|
4303
|
+
}), xe.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: xe }, window.location.href);
|
4300
4304
|
}).then(() => {
|
4301
|
-
|
4305
|
+
x.querySelectorAll(".DropDown") && Ee();
|
4302
4306
|
});
|
4303
4307
|
}
|
4304
|
-
h == "headerMain" && window.postMessage({ type:
|
4305
|
-
},
|
4306
|
-
const c =
|
4308
|
+
h == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
|
4309
|
+
}, Ee = () => {
|
4310
|
+
const c = x.querySelectorAll(".DropDown");
|
4307
4311
|
document.activeElement.blur(), M.classList.add("isScrolling");
|
4308
|
-
for (let
|
4309
|
-
c[
|
4312
|
+
for (let E = 0; E < c.length; E++)
|
4313
|
+
c[E].style.transform = "translateX(-" + M.scrollLeft + "px)";
|
4310
4314
|
M.classList.remove("isScrolling");
|
4311
4315
|
}, gr = () => {
|
4312
|
-
|
4313
|
-
c?.subGroups?.count > 0 && (r(11,
|
4316
|
+
ce.forEach((c, E) => {
|
4317
|
+
c?.subGroups?.count > 0 && (r(11, Y[E] = !0, Y), pr(c, E));
|
4314
4318
|
});
|
4315
4319
|
}, br = (c) => {
|
4316
|
-
let
|
4317
|
-
return c.id === "LOBBY" ?
|
4320
|
+
let E = "";
|
4321
|
+
return c.id === "LOBBY" ? E = w : c.id === "MYGAMES" && (E = R), c.icon || E;
|
4318
4322
|
};
|
4319
4323
|
Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4320
4324
|
() => {
|
4321
|
-
M.addEventListener("scroll",
|
4325
|
+
M.addEventListener("scroll", Ee);
|
4322
4326
|
},
|
4323
4327
|
500
|
4324
4328
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4325
|
-
window.removeEventListener("message", lt),
|
4329
|
+
window.removeEventListener("message", lt), x.removeEventListener("scroll", Ee);
|
4326
4330
|
}));
|
4327
|
-
const yr = () => st(), vr = (c,
|
4328
|
-
|
4329
|
-
}, _r = (c,
|
4330
|
-
|
4331
|
+
const yr = () => st(), vr = (c, E, D, Z, X) => {
|
4332
|
+
Re(c, E, D, Z, "secondary"), X.stopPropagation();
|
4333
|
+
}, _r = (c, E, D) => {
|
4334
|
+
Re(c, E, null, null, "main"), D.preventDefault();
|
4331
4335
|
};
|
4332
4336
|
function Er(c) {
|
4333
|
-
|
4334
|
-
|
4337
|
+
de[c ? "unshift" : "push"](() => {
|
4338
|
+
x = c, r(5, x);
|
4335
4339
|
});
|
4336
4340
|
}
|
4337
4341
|
function xr(c) {
|
4338
|
-
|
4342
|
+
de[c ? "unshift" : "push"](() => {
|
4339
4343
|
M = c, r(12, M);
|
4340
4344
|
});
|
4341
4345
|
}
|
4342
4346
|
const Cr = () => at();
|
4343
4347
|
function wr(c) {
|
4344
|
-
|
4345
|
-
|
4348
|
+
de[c ? "unshift" : "push"](() => {
|
4349
|
+
j = c, r(4, j);
|
4346
4350
|
});
|
4347
4351
|
}
|
4348
4352
|
return e.$$set = (c) => {
|
4349
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19,
|
4353
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, C = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, w = c.lobbyiconimage), "mygamesiconimage" in c && r(30, R = c.mygamesiconimage), "mbsource" in c && r(31, O = c.mbsource);
|
4350
4354
|
}, e.$$.update = () => {
|
4351
4355
|
e.$$.dirty[0] & /*activeindex*/
|
4352
4356
|
2, e.$$.dirty[0] & /*translationurl*/
|
4353
4357
|
33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4354
|
-
4194320 && l &&
|
4355
|
-
8388624 && u &&
|
4358
|
+
4194320 && l && j && Qr(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4359
|
+
8388624 && u && j && qr(j, u), e.$$.dirty[0] & /*customStylingContainer*/
|
4356
4360
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4357
|
-
1 &&
|
4361
|
+
1 && O && j && Jr(j, `${O}.Style`), e.$$.dirty[0] & /*lang*/
|
4358
4362
|
268435456 && b && dr();
|
4359
4363
|
}, [
|
4360
4364
|
h,
|
4361
4365
|
d,
|
4362
|
-
w,
|
4363
|
-
E,
|
4364
|
-
$,
|
4365
4366
|
C,
|
4366
|
-
|
4367
|
-
L,
|
4367
|
+
_,
|
4368
4368
|
j,
|
4369
|
-
|
4370
|
-
|
4371
|
-
|
4369
|
+
x,
|
4370
|
+
I,
|
4371
|
+
P,
|
4372
|
+
V,
|
4373
|
+
ce,
|
4374
|
+
_e,
|
4375
|
+
Y,
|
4372
4376
|
M,
|
4373
|
-
|
4377
|
+
Re,
|
4374
4378
|
st,
|
4375
4379
|
at,
|
4376
4380
|
br,
|
4377
4381
|
n,
|
4378
4382
|
i,
|
4379
|
-
s,
|
4380
4383
|
o,
|
4384
|
+
s,
|
4381
4385
|
a,
|
4382
4386
|
l,
|
4383
4387
|
u,
|
@@ -4386,9 +4390,9 @@ function Xi(e, t, r) {
|
|
4386
4390
|
p,
|
4387
4391
|
g,
|
4388
4392
|
b,
|
4389
|
-
|
4393
|
+
w,
|
4390
4394
|
R,
|
4391
|
-
|
4395
|
+
O,
|
4392
4396
|
yr,
|
4393
4397
|
vr,
|
4394
4398
|
_r,
|
@@ -4398,13 +4402,13 @@ function Xi(e, t, r) {
|
|
4398
4402
|
wr
|
4399
4403
|
];
|
4400
4404
|
}
|
4401
|
-
class
|
4405
|
+
class zi extends zr {
|
4402
4406
|
constructor(t) {
|
4403
4407
|
super(), Xr(
|
4404
4408
|
this,
|
4405
4409
|
t,
|
4410
|
+
Wi,
|
4406
4411
|
Xi,
|
4407
|
-
Vi,
|
4408
4412
|
Ut,
|
4409
4413
|
{
|
4410
4414
|
endpoint: 17,
|
@@ -4427,7 +4431,7 @@ class Wi extends zr {
|
|
4427
4431
|
mygamesiconimage: 30,
|
4428
4432
|
mbsource: 31
|
4429
4433
|
},
|
4430
|
-
|
4434
|
+
$i,
|
4431
4435
|
[-1, -1]
|
4432
4436
|
);
|
4433
4437
|
}
|
@@ -4546,7 +4550,7 @@ class Wi extends zr {
|
|
4546
4550
|
this.$$set({ mbsource: t }), A();
|
4547
4551
|
}
|
4548
4552
|
}
|
4549
|
-
Wr(
|
4553
|
+
Wr(zi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4550
4554
|
export {
|
4551
|
-
|
4555
|
+
zi as C
|
4552
4556
|
};
|