@everymatrix/general-navigation-bar 1.54.6 → 1.54.8
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/GeneralNavigationBar-Bak0imLP.cjs +5 -0
- package/components/{GeneralNavigationBar-BM2WKdIc.js → GeneralNavigationBar-CZ7kFDZM.js} +458 -466
- package/components/GeneralNavigationBar-DAlYwVZb.js +5018 -0
- package/es2015/general-navigation-bar.cjs +1 -0
- package/es2015/general-navigation-bar.js +16 -0
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Zr(e, t) {
|
|
4
4
|
for (const r in t) e[r] = t[r];
|
|
5
5
|
return (
|
|
6
6
|
/** @type {T & S} */
|
|
7
7
|
e
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Kt(e) {
|
|
11
11
|
return e();
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function vt() {
|
|
14
14
|
return /* @__PURE__ */ Object.create(null);
|
|
15
15
|
}
|
|
16
16
|
function ae(e) {
|
|
17
|
-
e.forEach(
|
|
17
|
+
e.forEach(Kt);
|
|
18
18
|
}
|
|
19
19
|
function ut(e) {
|
|
20
20
|
return typeof e == "function";
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function er(e, t) {
|
|
23
23
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
24
24
|
}
|
|
25
25
|
let _e;
|
|
26
26
|
function te(e, t) {
|
|
27
27
|
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Qr(e) {
|
|
30
30
|
return Object.keys(e).length === 0;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function tr(e, ...t) {
|
|
33
33
|
if (e == null) {
|
|
34
34
|
for (const n of t)
|
|
35
35
|
n(void 0);
|
|
@@ -38,19 +38,19 @@ function rr(e, ...t) {
|
|
|
38
38
|
const r = e.subscribe(...t);
|
|
39
39
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
e.$$.on_destroy.push(
|
|
41
|
+
function Yr(e, t, r) {
|
|
42
|
+
e.$$.on_destroy.push(tr(t, r));
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Jr(e, t, r, n) {
|
|
45
45
|
if (e) {
|
|
46
|
-
const i =
|
|
46
|
+
const i = rr(e, t, r, n);
|
|
47
47
|
return e[0](i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return e[1] && n ?
|
|
50
|
+
function rr(e, t, r, n) {
|
|
51
|
+
return e[1] && n ? Zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function qr(e, t, r, n) {
|
|
54
54
|
if (e[2] && n) {
|
|
55
55
|
const i = e[2](n(r));
|
|
56
56
|
if (t.dirty === void 0)
|
|
@@ -65,13 +65,13 @@ function Kr(e, t, r, n) {
|
|
|
65
65
|
}
|
|
66
66
|
return t.dirty;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Kr(e, t, r, n, i, o) {
|
|
69
69
|
if (i) {
|
|
70
|
-
const a =
|
|
70
|
+
const a = rr(t, r, n, o);
|
|
71
71
|
e.p(a, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function en(e) {
|
|
75
75
|
if (e.ctx.length > 32) {
|
|
76
76
|
const t = [], r = e.ctx.length / 32;
|
|
77
77
|
for (let n = 0; n < r; n++)
|
|
@@ -83,14 +83,14 @@ function tn(e) {
|
|
|
83
83
|
function y(e, t) {
|
|
84
84
|
e.appendChild(t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
const n =
|
|
86
|
+
function tn(e, t, r) {
|
|
87
|
+
const n = rn(e);
|
|
88
88
|
if (!n.getElementById(t)) {
|
|
89
89
|
const i = I("style");
|
|
90
|
-
i.id = t, i.textContent = r,
|
|
90
|
+
i.id = t, i.textContent = r, nn(n, i);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function rn(e) {
|
|
94
94
|
if (!e) return document;
|
|
95
95
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
96
96
|
return t && /** @type {ShadowRoot} */
|
|
@@ -99,7 +99,7 @@ function nn(e) {
|
|
|
99
99
|
t
|
|
100
100
|
) : e.ownerDocument;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function nn(e, t) {
|
|
103
103
|
return y(
|
|
104
104
|
/** @type {Document} */
|
|
105
105
|
e.head || e,
|
|
@@ -112,7 +112,7 @@ function L(e, t, r) {
|
|
|
112
112
|
function O(e) {
|
|
113
113
|
e.parentNode && e.parentNode.removeChild(e);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function nr(e, t) {
|
|
116
116
|
for (let r = 0; r < e.length; r += 1)
|
|
117
117
|
e[r] && e[r].d(t);
|
|
118
118
|
}
|
|
@@ -128,7 +128,7 @@ function be(e) {
|
|
|
128
128
|
function G() {
|
|
129
129
|
return be(" ");
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function on() {
|
|
132
132
|
return be("");
|
|
133
133
|
}
|
|
134
134
|
function He(e, t, r, n) {
|
|
@@ -137,14 +137,14 @@ function He(e, t, r, n) {
|
|
|
137
137
|
function c(e, t, r) {
|
|
138
138
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function an(e) {
|
|
141
141
|
return Array.from(e.childNodes);
|
|
142
142
|
}
|
|
143
143
|
function ht(e, t) {
|
|
144
144
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
145
145
|
t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function sn(e) {
|
|
148
148
|
const t = {};
|
|
149
149
|
return e.childNodes.forEach(
|
|
150
150
|
/** @param {Element} node */
|
|
@@ -157,19 +157,19 @@ let de;
|
|
|
157
157
|
function fe(e) {
|
|
158
158
|
de = e;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ln() {
|
|
161
161
|
if (!de) throw new Error("Function called outside component initialization");
|
|
162
162
|
return de;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
164
|
+
function un(e) {
|
|
165
|
+
ln().$$.on_mount.push(e);
|
|
166
166
|
}
|
|
167
167
|
const q = [], ze = [];
|
|
168
168
|
let K = [];
|
|
169
|
-
const
|
|
169
|
+
const yt = [], hn = /* @__PURE__ */ Promise.resolve();
|
|
170
170
|
let Ze = !1;
|
|
171
|
-
function
|
|
172
|
-
Ze || (Ze = !0,
|
|
171
|
+
function cn() {
|
|
172
|
+
Ze || (Ze = !0, hn.then(F));
|
|
173
173
|
}
|
|
174
174
|
function Qe(e) {
|
|
175
175
|
K.push(e);
|
|
@@ -184,7 +184,7 @@ function F() {
|
|
|
184
184
|
try {
|
|
185
185
|
for (; Y < q.length; ) {
|
|
186
186
|
const t = q[Y];
|
|
187
|
-
Y++, fe(t),
|
|
187
|
+
Y++, fe(t), fn(t.$$);
|
|
188
188
|
}
|
|
189
189
|
} catch (t) {
|
|
190
190
|
throw q.length = 0, Y = 0, t;
|
|
@@ -196,24 +196,24 @@ function F() {
|
|
|
196
196
|
}
|
|
197
197
|
K.length = 0;
|
|
198
198
|
} while (q.length);
|
|
199
|
-
for (;
|
|
200
|
-
|
|
199
|
+
for (; yt.length; )
|
|
200
|
+
yt.pop()();
|
|
201
201
|
Ze = !1, Ge.clear(), fe(e);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function fn(e) {
|
|
204
204
|
if (e.fragment !== null) {
|
|
205
205
|
e.update(), ae(e.before_update);
|
|
206
206
|
const t = e.dirty;
|
|
207
207
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function dn(e) {
|
|
211
211
|
const t = [], r = [];
|
|
212
212
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
213
213
|
}
|
|
214
214
|
const Ee = /* @__PURE__ */ new Set();
|
|
215
215
|
let z;
|
|
216
|
-
function
|
|
216
|
+
function ir() {
|
|
217
217
|
z = {
|
|
218
218
|
r: 0,
|
|
219
219
|
c: [],
|
|
@@ -221,7 +221,7 @@ function or() {
|
|
|
221
221
|
// parent group
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function or() {
|
|
225
225
|
z.r || ae(z.c), z = z.p;
|
|
226
226
|
}
|
|
227
227
|
function X(e, t) {
|
|
@@ -238,21 +238,21 @@ function me(e, t, r, n) {
|
|
|
238
238
|
function Be(e) {
|
|
239
239
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function mn(e, t, r) {
|
|
242
242
|
const { fragment: n, after_update: i } = e.$$;
|
|
243
243
|
n && n.m(t, r), Qe(() => {
|
|
244
|
-
const o = e.$$.on_mount.map(
|
|
244
|
+
const o = e.$$.on_mount.map(Kt).filter(ut);
|
|
245
245
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
246
246
|
}), i.forEach(Qe);
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function pn(e, t) {
|
|
249
249
|
const r = e.$$;
|
|
250
|
-
r.fragment !== null && (
|
|
250
|
+
r.fragment !== null && (dn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
252
|
+
function gn(e, t) {
|
|
253
|
+
e.$$.dirty[0] === -1 && (q.push(e), cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
256
256
|
const l = de;
|
|
257
257
|
fe(e);
|
|
258
258
|
const u = e.$$ = {
|
|
@@ -262,7 +262,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
262
262
|
props: o,
|
|
263
263
|
update: R,
|
|
264
264
|
not_equal: i,
|
|
265
|
-
bound:
|
|
265
|
+
bound: vt(),
|
|
266
266
|
// lifecycle
|
|
267
267
|
on_mount: [],
|
|
268
268
|
on_destroy: [],
|
|
@@ -271,28 +271,28 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
271
271
|
after_update: [],
|
|
272
272
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
273
273
|
// everything else
|
|
274
|
-
callbacks:
|
|
274
|
+
callbacks: vt(),
|
|
275
275
|
dirty: s,
|
|
276
276
|
skip_bound: !1,
|
|
277
277
|
root: t.target || l.$$.root
|
|
278
278
|
};
|
|
279
279
|
a && a(u.root);
|
|
280
280
|
let h = !1;
|
|
281
|
-
if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
|
|
281
|
+
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
282
282
|
const g = p.length ? p[0] : f;
|
|
283
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
284
|
-
}), u.update(), h = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
283
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && gn(e, d)), f;
|
|
284
|
+
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
285
285
|
if (t.hydrate) {
|
|
286
|
-
const d =
|
|
286
|
+
const d = an(t.target);
|
|
287
287
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
288
288
|
} else
|
|
289
289
|
u.fragment && u.fragment.c();
|
|
290
|
-
t.intro && X(e.$$.fragment),
|
|
290
|
+
t.intro && X(e.$$.fragment), mn(e, t.target, t.anchor), F();
|
|
291
291
|
}
|
|
292
292
|
fe(l);
|
|
293
293
|
}
|
|
294
|
-
let
|
|
295
|
-
typeof HTMLElement == "function" && (
|
|
294
|
+
let ar;
|
|
295
|
+
typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
296
296
|
/** The Svelte component constructor */
|
|
297
297
|
$$ctor;
|
|
298
298
|
/** Slots */
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
|
351
351
|
};
|
|
352
352
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
353
353
|
return;
|
|
354
|
-
const t = {}, r =
|
|
354
|
+
const t = {}, r = sn(this);
|
|
355
355
|
for (const i of this.$$s)
|
|
356
356
|
i in r && (t[i] = [e(i)]);
|
|
357
357
|
for (const i of this.attributes) {
|
|
@@ -438,8 +438,8 @@ function Ne(e, t, r, n) {
|
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
function
|
|
442
|
-
let a = class extends
|
|
441
|
+
function vn(e, t, r, n, i, o) {
|
|
442
|
+
let a = class extends ar {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, r, i), this.$$p_d = t;
|
|
445
445
|
}
|
|
@@ -467,7 +467,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
467
467
|
}), e.element = /** @type {any} */
|
|
468
468
|
a, a;
|
|
469
469
|
}
|
|
470
|
-
class
|
|
470
|
+
class yn {
|
|
471
471
|
/**
|
|
472
472
|
* ### PRIVATE API
|
|
473
473
|
*
|
|
@@ -486,7 +486,7 @@ class _n {
|
|
|
486
486
|
$$set = void 0;
|
|
487
487
|
/** @returns {void} */
|
|
488
488
|
$destroy() {
|
|
489
|
-
|
|
489
|
+
pn(this, 1), this.$destroy = R;
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
492
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -508,11 +508,11 @@ class _n {
|
|
|
508
508
|
* @returns {void}
|
|
509
509
|
*/
|
|
510
510
|
$set(t) {
|
|
511
|
-
this.$$set && !
|
|
511
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
const
|
|
515
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
514
|
+
const _n = "4";
|
|
515
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
|
|
516
516
|
var Ye = function(e, t) {
|
|
517
517
|
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
518
518
|
r.__proto__ = n;
|
|
@@ -538,7 +538,7 @@ var E = function() {
|
|
|
538
538
|
return t;
|
|
539
539
|
}, E.apply(this, arguments);
|
|
540
540
|
};
|
|
541
|
-
function
|
|
541
|
+
function xn(e, t) {
|
|
542
542
|
var r = {};
|
|
543
543
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
544
544
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -581,13 +581,13 @@ function ee(e, t, r) {
|
|
|
581
581
|
function D(e) {
|
|
582
582
|
return typeof e == "function";
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function sr(e) {
|
|
585
585
|
var t = function(n) {
|
|
586
586
|
Error.call(n), n.stack = new Error().stack;
|
|
587
587
|
}, r = e(t);
|
|
588
588
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
589
589
|
}
|
|
590
|
-
var $e =
|
|
590
|
+
var $e = sr(function(e) {
|
|
591
591
|
return function(r) {
|
|
592
592
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
593
593
|
` + r.map(function(n, i) {
|
|
@@ -643,7 +643,7 @@ var Me = function() {
|
|
|
643
643
|
for (var f = Je(d), p = f.next(); !p.done; p = f.next()) {
|
|
644
644
|
var g = p.value;
|
|
645
645
|
try {
|
|
646
|
-
|
|
646
|
+
_t(g);
|
|
647
647
|
} catch (b) {
|
|
648
648
|
o = o ?? [], b instanceof $e ? o = ee(ee([], qe(o)), qe(b.errors)) : o.push(b);
|
|
649
649
|
}
|
|
@@ -665,7 +665,7 @@ var Me = function() {
|
|
|
665
665
|
var r;
|
|
666
666
|
if (t && t !== this)
|
|
667
667
|
if (this.closed)
|
|
668
|
-
|
|
668
|
+
_t(t);
|
|
669
669
|
else {
|
|
670
670
|
if (t instanceof e) {
|
|
671
671
|
if (t.closed || t._hasParent(this))
|
|
@@ -690,20 +690,16 @@ var Me = function() {
|
|
|
690
690
|
var t = new e();
|
|
691
691
|
return t.closed = !0, t;
|
|
692
692
|
}(), e;
|
|
693
|
-
}(),
|
|
694
|
-
function
|
|
693
|
+
}(), lr = Me.EMPTY;
|
|
694
|
+
function ur(e) {
|
|
695
695
|
return e instanceof Me || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function _t(e) {
|
|
698
698
|
D(e) ? e() : e.unsubscribe();
|
|
699
699
|
}
|
|
700
|
-
var
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
Promise: void 0,
|
|
704
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
705
|
-
useDeprecatedNextContext: !1
|
|
706
|
-
}, Nn = {
|
|
700
|
+
var wn = {
|
|
701
|
+
Promise: void 0
|
|
702
|
+
}, En = {
|
|
707
703
|
setTimeout: function(e, t) {
|
|
708
704
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
709
705
|
r[n - 2] = arguments[n];
|
|
@@ -714,21 +710,21 @@ var En = {
|
|
|
714
710
|
},
|
|
715
711
|
delegate: void 0
|
|
716
712
|
};
|
|
717
|
-
function
|
|
718
|
-
|
|
713
|
+
function Nn(e) {
|
|
714
|
+
En.setTimeout(function() {
|
|
719
715
|
throw e;
|
|
720
716
|
});
|
|
721
717
|
}
|
|
722
|
-
function
|
|
718
|
+
function xt() {
|
|
723
719
|
}
|
|
724
720
|
function Se(e) {
|
|
725
721
|
e();
|
|
726
722
|
}
|
|
727
|
-
var
|
|
723
|
+
var hr = function(e) {
|
|
728
724
|
$(t, e);
|
|
729
725
|
function t(r) {
|
|
730
726
|
var n = e.call(this) || this;
|
|
731
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
727
|
+
return n.isStopped = !1, r ? (n.destination = r, ur(r) && r.add(n)) : n.destination = An, n;
|
|
732
728
|
}
|
|
733
729
|
return t.create = function(r, n, i) {
|
|
734
730
|
return new et(r, n, i);
|
|
@@ -755,7 +751,7 @@ var cr = function(e) {
|
|
|
755
751
|
this.unsubscribe();
|
|
756
752
|
}
|
|
757
753
|
}, t;
|
|
758
|
-
}(Me),
|
|
754
|
+
}(Me), Sn = function() {
|
|
759
755
|
function e(t) {
|
|
760
756
|
this.partialObserver = t;
|
|
761
757
|
}
|
|
@@ -794,35 +790,35 @@ var cr = function(e) {
|
|
|
794
790
|
next: r ?? void 0,
|
|
795
791
|
error: n ?? void 0,
|
|
796
792
|
complete: i ?? void 0
|
|
797
|
-
} : a = r, o.destination = new
|
|
793
|
+
} : a = r, o.destination = new Sn(a), o;
|
|
798
794
|
}
|
|
799
795
|
return t;
|
|
800
|
-
}(
|
|
796
|
+
}(hr);
|
|
801
797
|
function xe(e) {
|
|
802
|
-
|
|
798
|
+
Nn(e);
|
|
803
799
|
}
|
|
804
|
-
function
|
|
800
|
+
function In(e) {
|
|
805
801
|
throw e;
|
|
806
802
|
}
|
|
807
|
-
var
|
|
803
|
+
var An = {
|
|
808
804
|
closed: !0,
|
|
809
|
-
next:
|
|
810
|
-
error:
|
|
811
|
-
complete:
|
|
812
|
-
},
|
|
805
|
+
next: xt,
|
|
806
|
+
error: In,
|
|
807
|
+
complete: xt
|
|
808
|
+
}, Bn = function() {
|
|
813
809
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
814
810
|
}();
|
|
815
|
-
function
|
|
811
|
+
function Tn(e) {
|
|
816
812
|
return e;
|
|
817
813
|
}
|
|
818
|
-
function
|
|
819
|
-
return e.length === 0 ?
|
|
814
|
+
function Pn(e) {
|
|
815
|
+
return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
|
|
820
816
|
return e.reduce(function(n, i) {
|
|
821
817
|
return i(n);
|
|
822
818
|
}, r);
|
|
823
819
|
};
|
|
824
820
|
}
|
|
825
|
-
var
|
|
821
|
+
var wt = function() {
|
|
826
822
|
function e(t) {
|
|
827
823
|
t && (this._subscribe = t);
|
|
828
824
|
}
|
|
@@ -830,7 +826,7 @@ var Et = function() {
|
|
|
830
826
|
var r = new e();
|
|
831
827
|
return r.source = this, r.operator = t, r;
|
|
832
828
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
833
|
-
var i = this, o =
|
|
829
|
+
var i = this, o = Mn(t) ? t : new et(t, r, n);
|
|
834
830
|
return Se(function() {
|
|
835
831
|
var a = i, s = a.operator, l = a.source;
|
|
836
832
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -843,7 +839,7 @@ var Et = function() {
|
|
|
843
839
|
}
|
|
844
840
|
}, e.prototype.forEach = function(t, r) {
|
|
845
841
|
var n = this;
|
|
846
|
-
return r =
|
|
842
|
+
return r = Et(r), new r(function(i, o) {
|
|
847
843
|
var a = new et({
|
|
848
844
|
next: function(s) {
|
|
849
845
|
try {
|
|
@@ -860,15 +856,15 @@ var Et = function() {
|
|
|
860
856
|
}, e.prototype._subscribe = function(t) {
|
|
861
857
|
var r;
|
|
862
858
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
863
|
-
}, e.prototype[
|
|
859
|
+
}, e.prototype[Bn] = function() {
|
|
864
860
|
return this;
|
|
865
861
|
}, e.prototype.pipe = function() {
|
|
866
862
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
867
863
|
t[r] = arguments[r];
|
|
868
|
-
return
|
|
864
|
+
return Pn(t)(this);
|
|
869
865
|
}, e.prototype.toPromise = function(t) {
|
|
870
866
|
var r = this;
|
|
871
|
-
return t =
|
|
867
|
+
return t = Et(t), new t(function(n, i) {
|
|
872
868
|
var o;
|
|
873
869
|
r.subscribe(function(a) {
|
|
874
870
|
return o = a;
|
|
@@ -882,32 +878,32 @@ var Et = function() {
|
|
|
882
878
|
return new e(t);
|
|
883
879
|
}, e;
|
|
884
880
|
}();
|
|
885
|
-
function
|
|
881
|
+
function Et(e) {
|
|
886
882
|
var t;
|
|
887
|
-
return (t = e ??
|
|
883
|
+
return (t = e ?? wn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
888
884
|
}
|
|
889
|
-
function
|
|
885
|
+
function Hn(e) {
|
|
890
886
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
891
887
|
}
|
|
892
|
-
function
|
|
893
|
-
return e && e instanceof
|
|
888
|
+
function Mn(e) {
|
|
889
|
+
return e && e instanceof hr || Hn(e) && ur(e);
|
|
894
890
|
}
|
|
895
|
-
var
|
|
891
|
+
var On = sr(function(e) {
|
|
896
892
|
return function() {
|
|
897
893
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
898
894
|
};
|
|
899
|
-
}),
|
|
895
|
+
}), cr = function(e) {
|
|
900
896
|
$(t, e);
|
|
901
897
|
function t() {
|
|
902
898
|
var r = e.call(this) || this;
|
|
903
899
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
904
900
|
}
|
|
905
901
|
return t.prototype.lift = function(r) {
|
|
906
|
-
var n = new
|
|
902
|
+
var n = new Nt(this, this);
|
|
907
903
|
return n.operator = r, n;
|
|
908
904
|
}, t.prototype._throwIfClosed = function() {
|
|
909
905
|
if (this.closed)
|
|
910
|
-
throw new
|
|
906
|
+
throw new On();
|
|
911
907
|
}, t.prototype.next = function(r) {
|
|
912
908
|
var n = this;
|
|
913
909
|
Se(function() {
|
|
@@ -963,19 +959,19 @@ var Ln = lr(function(e) {
|
|
|
963
959
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
964
960
|
}, t.prototype._innerSubscribe = function(r) {
|
|
965
961
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
966
|
-
return o || a ?
|
|
962
|
+
return o || a ? lr : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
967
963
|
n.currentObservers = null, Ke(s, r);
|
|
968
964
|
}));
|
|
969
965
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
970
966
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
971
967
|
i ? r.error(o) : a && r.complete();
|
|
972
968
|
}, t.prototype.asObservable = function() {
|
|
973
|
-
var r = new
|
|
969
|
+
var r = new wt();
|
|
974
970
|
return r.source = this, r;
|
|
975
971
|
}, t.create = function(r, n) {
|
|
976
|
-
return new
|
|
972
|
+
return new Nt(r, n);
|
|
977
973
|
}, t;
|
|
978
|
-
}(
|
|
974
|
+
}(wt), Nt = function(e) {
|
|
979
975
|
$(t, e);
|
|
980
976
|
function t(r, n) {
|
|
981
977
|
var i = e.call(this) || this;
|
|
@@ -992,17 +988,17 @@ var Ln = lr(function(e) {
|
|
|
992
988
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
993
989
|
}, t.prototype._subscribe = function(r) {
|
|
994
990
|
var n, i;
|
|
995
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
991
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : lr;
|
|
996
992
|
}, t;
|
|
997
|
-
}(
|
|
993
|
+
}(cr), fr = {
|
|
998
994
|
now: function() {
|
|
999
|
-
return (
|
|
995
|
+
return (fr.delegate || Date).now();
|
|
1000
996
|
},
|
|
1001
997
|
delegate: void 0
|
|
1002
|
-
},
|
|
998
|
+
}, Ln = function(e) {
|
|
1003
999
|
$(t, e);
|
|
1004
1000
|
function t(r, n, i) {
|
|
1005
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1001
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = fr);
|
|
1006
1002
|
var o = e.call(this) || this;
|
|
1007
1003
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1008
1004
|
}
|
|
@@ -1022,15 +1018,15 @@ var Ln = lr(function(e) {
|
|
|
1022
1018
|
u && o.splice(0, u + 1);
|
|
1023
1019
|
}
|
|
1024
1020
|
}, t;
|
|
1025
|
-
}(
|
|
1026
|
-
const
|
|
1027
|
-
if (
|
|
1028
|
-
const r = new
|
|
1029
|
-
|
|
1021
|
+
}(cr);
|
|
1022
|
+
const St = [], It = {}, Cn = (e, t = 0) => {
|
|
1023
|
+
if (St.indexOf(e) == -1) {
|
|
1024
|
+
const r = new Ln(t);
|
|
1025
|
+
It[e] = r, St.push(e);
|
|
1030
1026
|
}
|
|
1031
|
-
return
|
|
1027
|
+
return It[e];
|
|
1032
1028
|
}, J = [];
|
|
1033
|
-
function
|
|
1029
|
+
function Fn(e, t) {
|
|
1034
1030
|
return {
|
|
1035
1031
|
subscribe: Oe(e, t).subscribe
|
|
1036
1032
|
};
|
|
@@ -1039,7 +1035,7 @@ function Oe(e, t = R) {
|
|
|
1039
1035
|
let r;
|
|
1040
1036
|
const n = /* @__PURE__ */ new Set();
|
|
1041
1037
|
function i(s) {
|
|
1042
|
-
if (
|
|
1038
|
+
if (er(e, s) && (e = s, r)) {
|
|
1043
1039
|
const l = !J.length;
|
|
1044
1040
|
for (const u of n)
|
|
1045
1041
|
u[1](), J.push(u, e);
|
|
@@ -1066,7 +1062,7 @@ function se(e, t, r) {
|
|
|
1066
1062
|
if (!i.every(Boolean))
|
|
1067
1063
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1068
1064
|
const o = t.length < 2;
|
|
1069
|
-
return
|
|
1065
|
+
return Fn(r, (a, s) => {
|
|
1070
1066
|
let l = !1;
|
|
1071
1067
|
const u = [];
|
|
1072
1068
|
let h = 0, d = R;
|
|
@@ -1077,7 +1073,7 @@ function se(e, t, r) {
|
|
|
1077
1073
|
const g = t(n ? u[0] : u, a, s);
|
|
1078
1074
|
o ? a(g) : d = ut(g) ? g : R;
|
|
1079
1075
|
}, p = i.map(
|
|
1080
|
-
(g, b) =>
|
|
1076
|
+
(g, b) => tr(
|
|
1081
1077
|
g,
|
|
1082
1078
|
(B) => {
|
|
1083
1079
|
u[b] = B, h &= ~(1 << b), l && f();
|
|
@@ -1092,70 +1088,70 @@ function se(e, t, r) {
|
|
|
1092
1088
|
};
|
|
1093
1089
|
});
|
|
1094
1090
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1091
|
+
function Rn(e) {
|
|
1092
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1097
1093
|
}
|
|
1098
|
-
var
|
|
1099
|
-
return
|
|
1094
|
+
var Un = function(t) {
|
|
1095
|
+
return Dn(t) && !Gn(t);
|
|
1100
1096
|
};
|
|
1101
|
-
function
|
|
1097
|
+
function Dn(e) {
|
|
1102
1098
|
return !!e && typeof e == "object";
|
|
1103
1099
|
}
|
|
1104
|
-
function
|
|
1100
|
+
function Gn(e) {
|
|
1105
1101
|
var t = Object.prototype.toString.call(e);
|
|
1106
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1102
|
+
return t === "[object RegExp]" || t === "[object Date]" || jn(e);
|
|
1107
1103
|
}
|
|
1108
|
-
var
|
|
1109
|
-
function
|
|
1110
|
-
return e.$$typeof ===
|
|
1104
|
+
var $n = typeof Symbol == "function" && Symbol.for, kn = $n ? Symbol.for("react.element") : 60103;
|
|
1105
|
+
function jn(e) {
|
|
1106
|
+
return e.$$typeof === kn;
|
|
1111
1107
|
}
|
|
1112
|
-
function
|
|
1108
|
+
function Wn(e) {
|
|
1113
1109
|
return Array.isArray(e) ? [] : {};
|
|
1114
1110
|
}
|
|
1115
1111
|
function pe(e, t) {
|
|
1116
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1112
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Wn(e), e, t) : e;
|
|
1117
1113
|
}
|
|
1118
|
-
function
|
|
1114
|
+
function Vn(e, t, r) {
|
|
1119
1115
|
return e.concat(t).map(function(n) {
|
|
1120
1116
|
return pe(n, r);
|
|
1121
1117
|
});
|
|
1122
1118
|
}
|
|
1123
|
-
function
|
|
1119
|
+
function Xn(e, t) {
|
|
1124
1120
|
if (!t.customMerge)
|
|
1125
1121
|
return re;
|
|
1126
1122
|
var r = t.customMerge(e);
|
|
1127
1123
|
return typeof r == "function" ? r : re;
|
|
1128
1124
|
}
|
|
1129
|
-
function
|
|
1125
|
+
function zn(e) {
|
|
1130
1126
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1131
1127
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1132
1128
|
}) : [];
|
|
1133
1129
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return Object.keys(e).concat(
|
|
1130
|
+
function At(e) {
|
|
1131
|
+
return Object.keys(e).concat(zn(e));
|
|
1136
1132
|
}
|
|
1137
|
-
function
|
|
1133
|
+
function dr(e, t) {
|
|
1138
1134
|
try {
|
|
1139
1135
|
return t in e;
|
|
1140
1136
|
} catch {
|
|
1141
1137
|
return !1;
|
|
1142
1138
|
}
|
|
1143
1139
|
}
|
|
1144
|
-
function
|
|
1145
|
-
return
|
|
1140
|
+
function Zn(e, t) {
|
|
1141
|
+
return dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1146
1142
|
}
|
|
1147
|
-
function
|
|
1143
|
+
function Qn(e, t, r) {
|
|
1148
1144
|
var n = {};
|
|
1149
|
-
return r.isMergeableObject(e) &&
|
|
1145
|
+
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1150
1146
|
n[i] = pe(e[i], r);
|
|
1151
|
-
}),
|
|
1152
|
-
|
|
1147
|
+
}), At(t).forEach(function(i) {
|
|
1148
|
+
Zn(e, i) || (dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1153
1149
|
}), n;
|
|
1154
1150
|
}
|
|
1155
1151
|
function re(e, t, r) {
|
|
1156
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1152
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1157
1153
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1158
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1154
|
+
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : pe(t, r);
|
|
1159
1155
|
}
|
|
1160
1156
|
re.all = function(t, r) {
|
|
1161
1157
|
if (!Array.isArray(t))
|
|
@@ -1164,42 +1160,39 @@ re.all = function(t, r) {
|
|
|
1164
1160
|
return re(n, i, r);
|
|
1165
1161
|
}, {});
|
|
1166
1162
|
};
|
|
1167
|
-
var
|
|
1168
|
-
const
|
|
1163
|
+
var Yn = re, Jn = Yn;
|
|
1164
|
+
const qn = /* @__PURE__ */ Rn(Jn);
|
|
1169
1165
|
function ke(e, t) {
|
|
1170
|
-
var r = t && t.cache ? t.cache :
|
|
1166
|
+
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1171
1167
|
return i(e, {
|
|
1172
1168
|
cache: r,
|
|
1173
1169
|
serializer: n
|
|
1174
1170
|
});
|
|
1175
1171
|
}
|
|
1176
|
-
function
|
|
1172
|
+
function Kn(e) {
|
|
1177
1173
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1178
1174
|
}
|
|
1179
|
-
function
|
|
1180
|
-
var i =
|
|
1175
|
+
function ei(e, t, r, n) {
|
|
1176
|
+
var i = Kn(n) ? n : r(n), o = t.get(i);
|
|
1181
1177
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1182
1178
|
}
|
|
1183
|
-
function
|
|
1179
|
+
function mr(e, t, r) {
|
|
1184
1180
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1185
1181
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1186
1182
|
}
|
|
1187
|
-
function
|
|
1183
|
+
function pr(e, t, r, n, i) {
|
|
1188
1184
|
return r.bind(t, e, n, i);
|
|
1189
1185
|
}
|
|
1190
1186
|
function ti(e, t) {
|
|
1191
|
-
var r = e.length === 1 ?
|
|
1192
|
-
return
|
|
1187
|
+
var r = e.length === 1 ? ei : mr;
|
|
1188
|
+
return pr(e, this, r, t.cache.create(), t.serializer);
|
|
1193
1189
|
}
|
|
1194
1190
|
function ri(e, t) {
|
|
1195
|
-
return
|
|
1196
|
-
}
|
|
1197
|
-
function ni(e, t) {
|
|
1198
|
-
return ct(e, this, pr, t.cache.create(), t.serializer);
|
|
1191
|
+
return pr(e, this, mr, t.cache.create(), t.serializer);
|
|
1199
1192
|
}
|
|
1200
|
-
var
|
|
1193
|
+
var ni = function() {
|
|
1201
1194
|
return JSON.stringify(arguments);
|
|
1202
|
-
},
|
|
1195
|
+
}, ii = (
|
|
1203
1196
|
/** @class */
|
|
1204
1197
|
function() {
|
|
1205
1198
|
function e() {
|
|
@@ -1211,13 +1204,12 @@ var ii = function() {
|
|
|
1211
1204
|
this.cache[t] = r;
|
|
1212
1205
|
}, e;
|
|
1213
1206
|
}()
|
|
1214
|
-
),
|
|
1207
|
+
), oi = {
|
|
1215
1208
|
create: function() {
|
|
1216
|
-
return new
|
|
1209
|
+
return new ii();
|
|
1217
1210
|
}
|
|
1218
1211
|
}, je = {
|
|
1219
|
-
variadic: ri
|
|
1220
|
-
monadic: ni
|
|
1212
|
+
variadic: ri
|
|
1221
1213
|
}, _;
|
|
1222
1214
|
(function(e) {
|
|
1223
1215
|
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";
|
|
@@ -1230,43 +1222,43 @@ var ne;
|
|
|
1230
1222
|
(function(e) {
|
|
1231
1223
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1232
1224
|
})(ne || (ne = {}));
|
|
1233
|
-
function
|
|
1225
|
+
function Bt(e) {
|
|
1234
1226
|
return e.type === S.literal;
|
|
1235
1227
|
}
|
|
1236
|
-
function
|
|
1228
|
+
function ai(e) {
|
|
1237
1229
|
return e.type === S.argument;
|
|
1238
1230
|
}
|
|
1239
|
-
function
|
|
1231
|
+
function gr(e) {
|
|
1240
1232
|
return e.type === S.number;
|
|
1241
1233
|
}
|
|
1242
|
-
function
|
|
1234
|
+
function br(e) {
|
|
1243
1235
|
return e.type === S.date;
|
|
1244
1236
|
}
|
|
1245
|
-
function
|
|
1237
|
+
function vr(e) {
|
|
1246
1238
|
return e.type === S.time;
|
|
1247
1239
|
}
|
|
1248
|
-
function
|
|
1240
|
+
function yr(e) {
|
|
1249
1241
|
return e.type === S.select;
|
|
1250
1242
|
}
|
|
1251
|
-
function
|
|
1243
|
+
function _r(e) {
|
|
1252
1244
|
return e.type === S.plural;
|
|
1253
1245
|
}
|
|
1254
|
-
function
|
|
1246
|
+
function si(e) {
|
|
1255
1247
|
return e.type === S.pound;
|
|
1256
1248
|
}
|
|
1257
|
-
function
|
|
1249
|
+
function xr(e) {
|
|
1258
1250
|
return e.type === S.tag;
|
|
1259
1251
|
}
|
|
1260
|
-
function
|
|
1252
|
+
function wr(e) {
|
|
1261
1253
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1262
1254
|
}
|
|
1263
1255
|
function tt(e) {
|
|
1264
1256
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1265
1257
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1258
|
+
var Er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
|
|
1259
|
+
function ui(e) {
|
|
1268
1260
|
var t = {};
|
|
1269
|
-
return e.replace(
|
|
1261
|
+
return e.replace(li, function(r) {
|
|
1270
1262
|
var n = r.length;
|
|
1271
1263
|
switch (r[0]) {
|
|
1272
1264
|
case "G":
|
|
@@ -1355,11 +1347,11 @@ function hi(e) {
|
|
|
1355
1347
|
return "";
|
|
1356
1348
|
}), t;
|
|
1357
1349
|
}
|
|
1358
|
-
var
|
|
1359
|
-
function
|
|
1350
|
+
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1351
|
+
function ci(e) {
|
|
1360
1352
|
if (e.length === 0)
|
|
1361
1353
|
throw new Error("Number skeleton cannot be empty");
|
|
1362
|
-
for (var t = e.split(
|
|
1354
|
+
for (var t = e.split(hi).filter(function(f) {
|
|
1363
1355
|
return f.length > 0;
|
|
1364
1356
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1365
1357
|
var o = i[n], a = o.split("/");
|
|
@@ -1374,17 +1366,17 @@ function fi(e) {
|
|
|
1374
1366
|
}
|
|
1375
1367
|
return r;
|
|
1376
1368
|
}
|
|
1377
|
-
function
|
|
1369
|
+
function fi(e) {
|
|
1378
1370
|
return e.replace(/^(.*?)-/, "");
|
|
1379
1371
|
}
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1372
|
+
var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
|
|
1373
|
+
function Pt(e) {
|
|
1382
1374
|
var t = {};
|
|
1383
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1375
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
|
|
1384
1376
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1385
1377
|
}), t;
|
|
1386
1378
|
}
|
|
1387
|
-
function
|
|
1379
|
+
function Ir(e) {
|
|
1388
1380
|
switch (e) {
|
|
1389
1381
|
case "sign-auto":
|
|
1390
1382
|
return {
|
|
@@ -1424,7 +1416,7 @@ function Ar(e) {
|
|
|
1424
1416
|
};
|
|
1425
1417
|
}
|
|
1426
1418
|
}
|
|
1427
|
-
function
|
|
1419
|
+
function mi(e) {
|
|
1428
1420
|
var t;
|
|
1429
1421
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1430
1422
|
notation: "engineering"
|
|
@@ -1432,17 +1424,17 @@ function pi(e) {
|
|
|
1432
1424
|
notation: "scientific"
|
|
1433
1425
|
}, e = e.slice(1)), t) {
|
|
1434
1426
|
var r = e.slice(0, 2);
|
|
1435
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1427
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
|
|
1436
1428
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1437
1429
|
t.minimumIntegerDigits = e.length;
|
|
1438
1430
|
}
|
|
1439
1431
|
return t;
|
|
1440
1432
|
}
|
|
1441
|
-
function
|
|
1442
|
-
var t = {}, r =
|
|
1433
|
+
function Ht(e) {
|
|
1434
|
+
var t = {}, r = Ir(e);
|
|
1443
1435
|
return r || t;
|
|
1444
1436
|
}
|
|
1445
|
-
function
|
|
1437
|
+
function pi(e) {
|
|
1446
1438
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1447
1439
|
var i = n[r];
|
|
1448
1440
|
switch (i.stem) {
|
|
@@ -1466,7 +1458,7 @@ function gi(e) {
|
|
|
1466
1458
|
continue;
|
|
1467
1459
|
case "measure-unit":
|
|
1468
1460
|
case "unit":
|
|
1469
|
-
t.style = "unit", t.unit =
|
|
1461
|
+
t.style = "unit", t.unit = fi(i.options[0]);
|
|
1470
1462
|
continue;
|
|
1471
1463
|
case "compact-short":
|
|
1472
1464
|
case "K":
|
|
@@ -1478,12 +1470,12 @@ function gi(e) {
|
|
|
1478
1470
|
continue;
|
|
1479
1471
|
case "scientific":
|
|
1480
1472
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1481
|
-
return E(E({}, l),
|
|
1473
|
+
return E(E({}, l), Ht(u));
|
|
1482
1474
|
}, {}));
|
|
1483
1475
|
continue;
|
|
1484
1476
|
case "engineering":
|
|
1485
1477
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1486
|
-
return E(E({}, l),
|
|
1478
|
+
return E(E({}, l), Ht(u));
|
|
1487
1479
|
}, {}));
|
|
1488
1480
|
continue;
|
|
1489
1481
|
case "notation-simple":
|
|
@@ -1528,7 +1520,7 @@ function gi(e) {
|
|
|
1528
1520
|
case "integer-width":
|
|
1529
1521
|
if (i.options.length > 1)
|
|
1530
1522
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1531
|
-
i.options[0].replace(
|
|
1523
|
+
i.options[0].replace(di, function(l, u, h, d, f, p) {
|
|
1532
1524
|
if (u)
|
|
1533
1525
|
t.minimumIntegerDigits = h.length;
|
|
1534
1526
|
else {
|
|
@@ -1541,27 +1533,27 @@ function gi(e) {
|
|
|
1541
1533
|
});
|
|
1542
1534
|
continue;
|
|
1543
1535
|
}
|
|
1544
|
-
if (
|
|
1536
|
+
if (Sr.test(i.stem)) {
|
|
1545
1537
|
t.minimumIntegerDigits = i.stem.length;
|
|
1546
1538
|
continue;
|
|
1547
1539
|
}
|
|
1548
|
-
if (
|
|
1540
|
+
if (Tt.test(i.stem)) {
|
|
1549
1541
|
if (i.options.length > 1)
|
|
1550
1542
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1551
|
-
i.stem.replace(
|
|
1543
|
+
i.stem.replace(Tt, function(l, u, h, d, f, p) {
|
|
1552
1544
|
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1553
1545
|
});
|
|
1554
1546
|
var o = i.options[0];
|
|
1555
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1547
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
|
1556
1548
|
continue;
|
|
1557
1549
|
}
|
|
1558
|
-
if (
|
|
1559
|
-
t = E(E({}, t),
|
|
1550
|
+
if (Nr.test(i.stem)) {
|
|
1551
|
+
t = E(E({}, t), Pt(i.stem));
|
|
1560
1552
|
continue;
|
|
1561
1553
|
}
|
|
1562
|
-
var a =
|
|
1554
|
+
var a = Ir(i.stem);
|
|
1563
1555
|
a && (t = E(E({}, t), a));
|
|
1564
|
-
var s =
|
|
1556
|
+
var s = mi(i.stem);
|
|
1565
1557
|
s && (t = E(E({}, t), s));
|
|
1566
1558
|
}
|
|
1567
1559
|
return t;
|
|
@@ -2981,13 +2973,13 @@ var we = {
|
|
|
2981
2973
|
"h"
|
|
2982
2974
|
]
|
|
2983
2975
|
};
|
|
2984
|
-
function
|
|
2976
|
+
function gi(e, t) {
|
|
2985
2977
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2986
2978
|
var i = e.charAt(n);
|
|
2987
2979
|
if (i === "j") {
|
|
2988
2980
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2989
2981
|
o++, n++;
|
|
2990
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2982
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = bi(t);
|
|
2991
2983
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2992
2984
|
r += l;
|
|
2993
2985
|
for (; a-- > 0; )
|
|
@@ -2996,7 +2988,7 @@ function bi(e, t) {
|
|
|
2996
2988
|
}
|
|
2997
2989
|
return r;
|
|
2998
2990
|
}
|
|
2999
|
-
function
|
|
2991
|
+
function bi(e) {
|
|
3000
2992
|
var t = e.hourCycle;
|
|
3001
2993
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3002
2994
|
e.hourCycles && // @ts-ignore
|
|
@@ -3018,20 +3010,20 @@ function vi(e) {
|
|
|
3018
3010
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3019
3011
|
return i[0];
|
|
3020
3012
|
}
|
|
3021
|
-
var We,
|
|
3013
|
+
var We, vi = new RegExp("^".concat(Er.source, "*")), yi = new RegExp("".concat(Er.source, "*$"));
|
|
3022
3014
|
function w(e, t) {
|
|
3023
3015
|
return { start: e, end: t };
|
|
3024
3016
|
}
|
|
3025
|
-
var
|
|
3017
|
+
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, wi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Ai = Ii ? Number.isSafeInteger : function(e) {
|
|
3026
3018
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3027
3019
|
}, rt = !0;
|
|
3028
3020
|
try {
|
|
3029
|
-
var
|
|
3030
|
-
rt = ((We =
|
|
3021
|
+
var Bi = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3022
|
+
rt = ((We = Bi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
|
|
3031
3023
|
} catch {
|
|
3032
3024
|
rt = !1;
|
|
3033
3025
|
}
|
|
3034
|
-
var
|
|
3026
|
+
var Mt = _i ? (
|
|
3035
3027
|
// Native
|
|
3036
3028
|
function(t, r, n) {
|
|
3037
3029
|
return t.startsWith(r, n);
|
|
@@ -3041,7 +3033,7 @@ var Ot = xi ? (
|
|
|
3041
3033
|
function(t, r, n) {
|
|
3042
3034
|
return t.slice(n, n + r.length) === r;
|
|
3043
3035
|
}
|
|
3044
|
-
), nt =
|
|
3036
|
+
), nt = xi ? String.fromCodePoint : (
|
|
3045
3037
|
// IE11
|
|
3046
3038
|
function() {
|
|
3047
3039
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3053,9 +3045,9 @@ var Ot = xi ? (
|
|
|
3053
3045
|
}
|
|
3054
3046
|
return n;
|
|
3055
3047
|
}
|
|
3056
|
-
),
|
|
3048
|
+
), Ot = (
|
|
3057
3049
|
// native
|
|
3058
|
-
|
|
3050
|
+
wi ? Object.fromEntries : (
|
|
3059
3051
|
// Ponyfill
|
|
3060
3052
|
function(t) {
|
|
3061
3053
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3065,7 +3057,7 @@ var Ot = xi ? (
|
|
|
3065
3057
|
return r;
|
|
3066
3058
|
}
|
|
3067
3059
|
)
|
|
3068
|
-
),
|
|
3060
|
+
), Ar = Ei ? (
|
|
3069
3061
|
// Native
|
|
3070
3062
|
function(t, r) {
|
|
3071
3063
|
return t.codePointAt(r);
|
|
@@ -3079,7 +3071,7 @@ var Ot = xi ? (
|
|
|
3079
3071
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3080
3072
|
}
|
|
3081
3073
|
}
|
|
3082
|
-
),
|
|
3074
|
+
), Ti = Ni ? (
|
|
3083
3075
|
// Native
|
|
3084
3076
|
function(t) {
|
|
3085
3077
|
return t.trimStart();
|
|
@@ -3087,9 +3079,9 @@ var Ot = xi ? (
|
|
|
3087
3079
|
) : (
|
|
3088
3080
|
// Ponyfill
|
|
3089
3081
|
function(t) {
|
|
3090
|
-
return t.replace(
|
|
3082
|
+
return t.replace(vi, "");
|
|
3091
3083
|
}
|
|
3092
|
-
),
|
|
3084
|
+
), Pi = Si ? (
|
|
3093
3085
|
// Native
|
|
3094
3086
|
function(t) {
|
|
3095
3087
|
return t.trimEnd();
|
|
@@ -3097,32 +3089,32 @@ var Ot = xi ? (
|
|
|
3097
3089
|
) : (
|
|
3098
3090
|
// Ponyfill
|
|
3099
3091
|
function(t) {
|
|
3100
|
-
return t.replace(
|
|
3092
|
+
return t.replace(yi, "");
|
|
3101
3093
|
}
|
|
3102
3094
|
);
|
|
3103
|
-
function
|
|
3095
|
+
function Br(e, t) {
|
|
3104
3096
|
return new RegExp(e, t);
|
|
3105
3097
|
}
|
|
3106
3098
|
var it;
|
|
3107
3099
|
if (rt) {
|
|
3108
|
-
var
|
|
3100
|
+
var Lt = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3109
3101
|
it = function(t, r) {
|
|
3110
3102
|
var n;
|
|
3111
|
-
|
|
3112
|
-
var i =
|
|
3103
|
+
Lt.lastIndex = r;
|
|
3104
|
+
var i = Lt.exec(t);
|
|
3113
3105
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3114
3106
|
};
|
|
3115
3107
|
} else
|
|
3116
3108
|
it = function(t, r) {
|
|
3117
3109
|
for (var n = []; ; ) {
|
|
3118
|
-
var i =
|
|
3119
|
-
if (i === void 0 ||
|
|
3110
|
+
var i = Ar(t, r);
|
|
3111
|
+
if (i === void 0 || Tr(i) || Li(i))
|
|
3120
3112
|
break;
|
|
3121
3113
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3122
3114
|
}
|
|
3123
3115
|
return nt.apply(void 0, n);
|
|
3124
3116
|
};
|
|
3125
|
-
var
|
|
3117
|
+
var Hi = (
|
|
3126
3118
|
/** @class */
|
|
3127
3119
|
function() {
|
|
3128
3120
|
function e(t, r) {
|
|
@@ -3204,7 +3196,7 @@ var Mi = (
|
|
|
3204
3196
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3205
3197
|
}, e.prototype.parseTagName = function() {
|
|
3206
3198
|
var t = this.offset();
|
|
3207
|
-
for (this.bump(); !this.isEOF() &&
|
|
3199
|
+
for (this.bump(); !this.isEOF() && Oi(this.char()); )
|
|
3208
3200
|
this.bump();
|
|
3209
3201
|
return this.message.slice(t, this.offset());
|
|
3210
3202
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3233,7 +3225,7 @@ var Mi = (
|
|
|
3233
3225
|
};
|
|
3234
3226
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3235
3227
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3236
|
-
!
|
|
3228
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3237
3229
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3238
3230
|
if (this.isEOF() || this.char() !== 39)
|
|
3239
3231
|
return null;
|
|
@@ -3320,7 +3312,7 @@ var Mi = (
|
|
|
3320
3312
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3321
3313
|
if (d.err)
|
|
3322
3314
|
return d;
|
|
3323
|
-
var f =
|
|
3315
|
+
var f = Pi(d.val);
|
|
3324
3316
|
if (f.length === 0)
|
|
3325
3317
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3326
3318
|
var p = w(h, this.clonePosition());
|
|
@@ -3330,8 +3322,8 @@ var Mi = (
|
|
|
3330
3322
|
if (g.err)
|
|
3331
3323
|
return g;
|
|
3332
3324
|
var b = w(i, this.clonePosition());
|
|
3333
|
-
if (u &&
|
|
3334
|
-
var B =
|
|
3325
|
+
if (u && Mt(u?.style, "::", 0)) {
|
|
3326
|
+
var B = Ti(u.style.slice(2));
|
|
3335
3327
|
if (s === "number") {
|
|
3336
3328
|
var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3337
3329
|
return d.err ? d : {
|
|
@@ -3342,12 +3334,12 @@ var Mi = (
|
|
|
3342
3334
|
if (B.length === 0)
|
|
3343
3335
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3344
3336
|
var N = B;
|
|
3345
|
-
this.locale && (N =
|
|
3337
|
+
this.locale && (N = gi(B, this.locale));
|
|
3346
3338
|
var f = {
|
|
3347
3339
|
type: ne.dateTime,
|
|
3348
3340
|
pattern: N,
|
|
3349
3341
|
location: u.styleLocation,
|
|
3350
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3342
|
+
parsedOptions: this.shouldParseSkeletons ? ui(N) : {}
|
|
3351
3343
|
}, v = s === "date" ? S.date : S.time;
|
|
3352
3344
|
return {
|
|
3353
3345
|
val: { type: v, value: n, location: b, style: f },
|
|
@@ -3393,7 +3385,7 @@ var Mi = (
|
|
|
3393
3385
|
val: {
|
|
3394
3386
|
type: S.select,
|
|
3395
3387
|
value: n,
|
|
3396
|
-
options:
|
|
3388
|
+
options: Ot(k.val),
|
|
3397
3389
|
location: Q
|
|
3398
3390
|
},
|
|
3399
3391
|
err: null
|
|
@@ -3401,7 +3393,7 @@ var Mi = (
|
|
|
3401
3393
|
val: {
|
|
3402
3394
|
type: S.plural,
|
|
3403
3395
|
value: n,
|
|
3404
|
-
options:
|
|
3396
|
+
options: Ot(k.val),
|
|
3405
3397
|
offset: C,
|
|
3406
3398
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3407
3399
|
location: Q
|
|
@@ -3452,7 +3444,7 @@ var Mi = (
|
|
|
3452
3444
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3453
3445
|
var n = [];
|
|
3454
3446
|
try {
|
|
3455
|
-
n =
|
|
3447
|
+
n = ci(t);
|
|
3456
3448
|
} catch {
|
|
3457
3449
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3458
3450
|
}
|
|
@@ -3461,7 +3453,7 @@ var Mi = (
|
|
|
3461
3453
|
type: ne.number,
|
|
3462
3454
|
tokens: n,
|
|
3463
3455
|
location: r,
|
|
3464
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
+
parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
|
|
3465
3457
|
},
|
|
3466
3458
|
err: null
|
|
3467
3459
|
};
|
|
@@ -3509,7 +3501,7 @@ var Mi = (
|
|
|
3509
3501
|
break;
|
|
3510
3502
|
}
|
|
3511
3503
|
var l = w(i, this.clonePosition());
|
|
3512
|
-
return o ? (a *= n,
|
|
3504
|
+
return o ? (a *= n, Ai(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3513
3505
|
}, e.prototype.offset = function() {
|
|
3514
3506
|
return this.position.offset;
|
|
3515
3507
|
}, e.prototype.isEOF = function() {
|
|
@@ -3524,7 +3516,7 @@ var Mi = (
|
|
|
3524
3516
|
var t = this.position.offset;
|
|
3525
3517
|
if (t >= this.message.length)
|
|
3526
3518
|
throw Error("out of bound");
|
|
3527
|
-
var r =
|
|
3519
|
+
var r = Ar(this.message, t);
|
|
3528
3520
|
if (r === void 0)
|
|
3529
3521
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3530
3522
|
return r;
|
|
@@ -3543,7 +3535,7 @@ var Mi = (
|
|
|
3543
3535
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3544
3536
|
}
|
|
3545
3537
|
}, e.prototype.bumpIf = function(t) {
|
|
3546
|
-
if (
|
|
3538
|
+
if (Mt(this.message, t, this.offset())) {
|
|
3547
3539
|
for (var r = 0; r < t.length; r++)
|
|
3548
3540
|
this.bump();
|
|
3549
3541
|
return !0;
|
|
@@ -3565,7 +3557,7 @@ var Mi = (
|
|
|
3565
3557
|
break;
|
|
3566
3558
|
}
|
|
3567
3559
|
}, e.prototype.bumpSpace = function() {
|
|
3568
|
-
for (; !this.isEOF() &&
|
|
3560
|
+
for (; !this.isEOF() && Tr(this.char()); )
|
|
3569
3561
|
this.bump();
|
|
3570
3562
|
}, e.prototype.peek = function() {
|
|
3571
3563
|
if (this.isEOF())
|
|
@@ -3578,29 +3570,29 @@ var Mi = (
|
|
|
3578
3570
|
function ot(e) {
|
|
3579
3571
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3580
3572
|
}
|
|
3581
|
-
function
|
|
3573
|
+
function Mi(e) {
|
|
3582
3574
|
return ot(e) || e === 47;
|
|
3583
3575
|
}
|
|
3584
|
-
function
|
|
3576
|
+
function Oi(e) {
|
|
3585
3577
|
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;
|
|
3586
3578
|
}
|
|
3587
|
-
function
|
|
3579
|
+
function Tr(e) {
|
|
3588
3580
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3589
3581
|
}
|
|
3590
|
-
function
|
|
3582
|
+
function Li(e) {
|
|
3591
3583
|
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;
|
|
3592
3584
|
}
|
|
3593
3585
|
function at(e) {
|
|
3594
3586
|
e.forEach(function(t) {
|
|
3595
|
-
if (delete t.location,
|
|
3587
|
+
if (delete t.location, yr(t) || _r(t))
|
|
3596
3588
|
for (var r in t.options)
|
|
3597
3589
|
delete t.options[r].location, at(t.options[r].value);
|
|
3598
|
-
else
|
|
3590
|
+
else gr(t) && wr(t.style) || (br(t) || vr(t)) && tt(t.style) ? delete t.style.location : xr(t) && at(t.children);
|
|
3599
3591
|
});
|
|
3600
3592
|
}
|
|
3601
|
-
function
|
|
3593
|
+
function Ci(e, t) {
|
|
3602
3594
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3603
|
-
var r = new
|
|
3595
|
+
var r = new Hi(e, t).parse();
|
|
3604
3596
|
if (r.err) {
|
|
3605
3597
|
var n = SyntaxError(_[r.err.kind]);
|
|
3606
3598
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3623,7 +3615,7 @@ var Le = (
|
|
|
3623
3615
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3624
3616
|
}, t;
|
|
3625
3617
|
}(Error)
|
|
3626
|
-
),
|
|
3618
|
+
), Ct = (
|
|
3627
3619
|
/** @class */
|
|
3628
3620
|
function(e) {
|
|
3629
3621
|
$(t, e);
|
|
@@ -3632,7 +3624,7 @@ var Le = (
|
|
|
3632
3624
|
}
|
|
3633
3625
|
return t;
|
|
3634
3626
|
}(Le)
|
|
3635
|
-
),
|
|
3627
|
+
), Fi = (
|
|
3636
3628
|
/** @class */
|
|
3637
3629
|
function(e) {
|
|
3638
3630
|
$(t, e);
|
|
@@ -3641,7 +3633,7 @@ var Le = (
|
|
|
3641
3633
|
}
|
|
3642
3634
|
return t;
|
|
3643
3635
|
}(Le)
|
|
3644
|
-
),
|
|
3636
|
+
), Ri = (
|
|
3645
3637
|
/** @class */
|
|
3646
3638
|
function(e) {
|
|
3647
3639
|
$(t, e);
|
|
@@ -3654,17 +3646,17 @@ var Le = (
|
|
|
3654
3646
|
(function(e) {
|
|
3655
3647
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3656
3648
|
})(M || (M = {}));
|
|
3657
|
-
function
|
|
3649
|
+
function Ui(e) {
|
|
3658
3650
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3659
3651
|
var n = t[t.length - 1];
|
|
3660
3652
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3661
3653
|
}, []);
|
|
3662
3654
|
}
|
|
3663
|
-
function
|
|
3655
|
+
function Di(e) {
|
|
3664
3656
|
return typeof e == "function";
|
|
3665
3657
|
}
|
|
3666
3658
|
function Ie(e, t, r, n, i, o, a) {
|
|
3667
|
-
if (e.length === 1 &&
|
|
3659
|
+
if (e.length === 1 && Bt(e[0]))
|
|
3668
3660
|
return [
|
|
3669
3661
|
{
|
|
3670
3662
|
type: M.literal,
|
|
@@ -3673,14 +3665,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3673
3665
|
];
|
|
3674
3666
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3675
3667
|
var h = u[l];
|
|
3676
|
-
if (
|
|
3668
|
+
if (Bt(h)) {
|
|
3677
3669
|
s.push({
|
|
3678
3670
|
type: M.literal,
|
|
3679
3671
|
value: h.value
|
|
3680
3672
|
});
|
|
3681
3673
|
continue;
|
|
3682
3674
|
}
|
|
3683
|
-
if (
|
|
3675
|
+
if (si(h)) {
|
|
3684
3676
|
typeof o == "number" && s.push({
|
|
3685
3677
|
type: M.literal,
|
|
3686
3678
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3689,16 +3681,16 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3689
3681
|
}
|
|
3690
3682
|
var d = h.value;
|
|
3691
3683
|
if (!(i && d in i))
|
|
3692
|
-
throw new
|
|
3684
|
+
throw new Ri(d, a);
|
|
3693
3685
|
var f = i[d];
|
|
3694
|
-
if (
|
|
3686
|
+
if (ai(h)) {
|
|
3695
3687
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3696
3688
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3697
3689
|
value: f
|
|
3698
3690
|
});
|
|
3699
3691
|
continue;
|
|
3700
3692
|
}
|
|
3701
|
-
if (
|
|
3693
|
+
if (br(h)) {
|
|
3702
3694
|
var p = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3703
3695
|
s.push({
|
|
3704
3696
|
type: M.literal,
|
|
@@ -3706,7 +3698,7 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3706
3698
|
});
|
|
3707
3699
|
continue;
|
|
3708
3700
|
}
|
|
3709
|
-
if (
|
|
3701
|
+
if (vr(h)) {
|
|
3710
3702
|
var p = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3711
3703
|
s.push({
|
|
3712
3704
|
type: M.literal,
|
|
@@ -3714,18 +3706,18 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3714
3706
|
});
|
|
3715
3707
|
continue;
|
|
3716
3708
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3709
|
+
if (gr(h)) {
|
|
3710
|
+
var p = typeof h.style == "string" ? n.number[h.style] : wr(h.style) ? h.style.parsedOptions : void 0;
|
|
3719
3711
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3720
3712
|
type: M.literal,
|
|
3721
3713
|
value: r.getNumberFormat(t, p).format(f)
|
|
3722
3714
|
});
|
|
3723
3715
|
continue;
|
|
3724
3716
|
}
|
|
3725
|
-
if (
|
|
3717
|
+
if (xr(h)) {
|
|
3726
3718
|
var g = h.children, b = h.value, B = i[b];
|
|
3727
|
-
if (!
|
|
3728
|
-
throw new
|
|
3719
|
+
if (!Di(B))
|
|
3720
|
+
throw new Fi(b, "function", a);
|
|
3729
3721
|
var N = Ie(g, t, r, n, i, o), v = B(N.map(function(C) {
|
|
3730
3722
|
return C.value;
|
|
3731
3723
|
}));
|
|
@@ -3736,14 +3728,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3736
3728
|
};
|
|
3737
3729
|
}));
|
|
3738
3730
|
}
|
|
3739
|
-
if (
|
|
3731
|
+
if (yr(h)) {
|
|
3740
3732
|
var A = h.options[f] || h.options.other;
|
|
3741
3733
|
if (!A)
|
|
3742
|
-
throw new
|
|
3734
|
+
throw new Ct(h.value, f, Object.keys(h.options), a);
|
|
3743
3735
|
s.push.apply(s, Ie(A.value, t, r, n, i));
|
|
3744
3736
|
continue;
|
|
3745
3737
|
}
|
|
3746
|
-
if (
|
|
3738
|
+
if (_r(h)) {
|
|
3747
3739
|
var A = h.options["=".concat(f)];
|
|
3748
3740
|
if (!A) {
|
|
3749
3741
|
if (!Intl.PluralRules)
|
|
@@ -3754,21 +3746,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3754
3746
|
A = h.options[x] || h.options.other;
|
|
3755
3747
|
}
|
|
3756
3748
|
if (!A)
|
|
3757
|
-
throw new
|
|
3749
|
+
throw new Ct(h.value, f, Object.keys(h.options), a);
|
|
3758
3750
|
s.push.apply(s, Ie(A.value, t, r, n, i, f - (h.offset || 0)));
|
|
3759
3751
|
continue;
|
|
3760
3752
|
}
|
|
3761
3753
|
}
|
|
3762
|
-
return
|
|
3754
|
+
return Ui(s);
|
|
3763
3755
|
}
|
|
3764
|
-
function
|
|
3756
|
+
function Gi(e, t) {
|
|
3765
3757
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3766
3758
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3767
3759
|
}, {})) : e;
|
|
3768
3760
|
}
|
|
3769
|
-
function
|
|
3761
|
+
function $i(e, t) {
|
|
3770
3762
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3771
|
-
return r[n] =
|
|
3763
|
+
return r[n] = Gi(e[n], t[n]), r;
|
|
3772
3764
|
}, E({}, e)) : e;
|
|
3773
3765
|
}
|
|
3774
3766
|
function Ve(e) {
|
|
@@ -3785,7 +3777,7 @@ function Ve(e) {
|
|
|
3785
3777
|
}
|
|
3786
3778
|
};
|
|
3787
3779
|
}
|
|
3788
|
-
function
|
|
3780
|
+
function ki(e) {
|
|
3789
3781
|
return e === void 0 && (e = {
|
|
3790
3782
|
number: {},
|
|
3791
3783
|
dateTime: {},
|
|
@@ -3817,7 +3809,7 @@ function ji(e) {
|
|
|
3817
3809
|
})
|
|
3818
3810
|
};
|
|
3819
3811
|
}
|
|
3820
|
-
var
|
|
3812
|
+
var ji = (
|
|
3821
3813
|
/** @class */
|
|
3822
3814
|
function() {
|
|
3823
3815
|
function e(t, r, n, i) {
|
|
@@ -3849,13 +3841,13 @@ var Wi = (
|
|
|
3849
3841
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3850
3842
|
var a = i || {};
|
|
3851
3843
|
a.formatters;
|
|
3852
|
-
var s =
|
|
3844
|
+
var s = xn(a, ["formatters"]);
|
|
3853
3845
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3854
3846
|
} else
|
|
3855
3847
|
this.ast = t;
|
|
3856
3848
|
if (!Array.isArray(this.ast))
|
|
3857
3849
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3858
|
-
this.formats =
|
|
3850
|
+
this.formats = $i(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
3859
3851
|
}
|
|
3860
3852
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3861
3853
|
get: function() {
|
|
@@ -3868,7 +3860,7 @@ var Wi = (
|
|
|
3868
3860
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3869
3861
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3870
3862
|
}
|
|
3871
|
-
}, e.__parse =
|
|
3863
|
+
}, e.__parse = Ci, e.formats = {
|
|
3872
3864
|
number: {
|
|
3873
3865
|
integer: {
|
|
3874
3866
|
maximumFractionDigits: 0
|
|
@@ -3929,7 +3921,7 @@ var Wi = (
|
|
|
3929
3921
|
}, e;
|
|
3930
3922
|
}()
|
|
3931
3923
|
);
|
|
3932
|
-
function
|
|
3924
|
+
function Wi(e, t) {
|
|
3933
3925
|
if (t == null)
|
|
3934
3926
|
return;
|
|
3935
3927
|
if (t in e)
|
|
@@ -3950,60 +3942,60 @@ function Vi(e, t) {
|
|
|
3950
3942
|
n = void 0;
|
|
3951
3943
|
return n;
|
|
3952
3944
|
}
|
|
3953
|
-
const V = {},
|
|
3945
|
+
const V = {}, Vi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Pr = (e, t) => {
|
|
3954
3946
|
if (t == null)
|
|
3955
3947
|
return;
|
|
3956
3948
|
if (t in V && e in V[t])
|
|
3957
3949
|
return V[t][e];
|
|
3958
3950
|
const r = Ce(t);
|
|
3959
3951
|
for (let n = 0; n < r.length; n++) {
|
|
3960
|
-
const i = r[n], o =
|
|
3952
|
+
const i = r[n], o = zi(i, e);
|
|
3961
3953
|
if (o)
|
|
3962
|
-
return
|
|
3954
|
+
return Vi(e, t, o);
|
|
3963
3955
|
}
|
|
3964
3956
|
};
|
|
3965
|
-
let
|
|
3957
|
+
let ct;
|
|
3966
3958
|
const ve = Oe({});
|
|
3967
|
-
function
|
|
3968
|
-
return
|
|
3959
|
+
function Xi(e) {
|
|
3960
|
+
return ct[e] || null;
|
|
3969
3961
|
}
|
|
3970
|
-
function
|
|
3971
|
-
return e in
|
|
3962
|
+
function Hr(e) {
|
|
3963
|
+
return e in ct;
|
|
3972
3964
|
}
|
|
3973
|
-
function
|
|
3974
|
-
if (!
|
|
3965
|
+
function zi(e, t) {
|
|
3966
|
+
if (!Hr(e))
|
|
3975
3967
|
return null;
|
|
3976
|
-
const r =
|
|
3977
|
-
return
|
|
3968
|
+
const r = Xi(e);
|
|
3969
|
+
return Wi(r, t);
|
|
3978
3970
|
}
|
|
3979
|
-
function
|
|
3971
|
+
function Zi(e) {
|
|
3980
3972
|
if (e == null)
|
|
3981
3973
|
return;
|
|
3982
3974
|
const t = Ce(e);
|
|
3983
3975
|
for (let r = 0; r < t.length; r++) {
|
|
3984
3976
|
const n = t[r];
|
|
3985
|
-
if (
|
|
3977
|
+
if (Hr(n))
|
|
3986
3978
|
return n;
|
|
3987
3979
|
}
|
|
3988
3980
|
}
|
|
3989
|
-
function
|
|
3990
|
-
delete V[e], ve.update((r) => (r[e] =
|
|
3981
|
+
function Mr(e, ...t) {
|
|
3982
|
+
delete V[e], ve.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
3991
3983
|
}
|
|
3992
3984
|
se(
|
|
3993
3985
|
[ve],
|
|
3994
3986
|
([e]) => Object.keys(e)
|
|
3995
3987
|
);
|
|
3996
|
-
ve.subscribe((e) =>
|
|
3988
|
+
ve.subscribe((e) => ct = e);
|
|
3997
3989
|
const Ae = {};
|
|
3998
|
-
function
|
|
3990
|
+
function Qi(e, t) {
|
|
3999
3991
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4000
3992
|
}
|
|
4001
|
-
function
|
|
3993
|
+
function Or(e) {
|
|
4002
3994
|
return Ae[e];
|
|
4003
3995
|
}
|
|
4004
|
-
function
|
|
3996
|
+
function Yi(e) {
|
|
4005
3997
|
return Ce(e).map((t) => {
|
|
4006
|
-
const r =
|
|
3998
|
+
const r = Or(t);
|
|
4007
3999
|
return [t, r ? [...r] : []];
|
|
4008
4000
|
}).filter(([, t]) => t.length > 0);
|
|
4009
4001
|
}
|
|
@@ -4011,31 +4003,31 @@ function st(e) {
|
|
|
4011
4003
|
return e == null ? !1 : Ce(e).some(
|
|
4012
4004
|
(t) => {
|
|
4013
4005
|
var r;
|
|
4014
|
-
return (r =
|
|
4006
|
+
return (r = Or(t)) == null ? void 0 : r.size;
|
|
4015
4007
|
}
|
|
4016
4008
|
);
|
|
4017
4009
|
}
|
|
4018
|
-
function
|
|
4010
|
+
function Ji(e, t) {
|
|
4019
4011
|
return Promise.all(
|
|
4020
|
-
t.map((n) => (
|
|
4021
|
-
).then((n) =>
|
|
4012
|
+
t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
|
|
4013
|
+
).then((n) => Mr(e, ...n));
|
|
4022
4014
|
}
|
|
4023
4015
|
const ce = {};
|
|
4024
|
-
function
|
|
4016
|
+
function Lr(e) {
|
|
4025
4017
|
if (!st(e))
|
|
4026
4018
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4027
|
-
const t =
|
|
4019
|
+
const t = Yi(e);
|
|
4028
4020
|
return ce[e] = Promise.all(
|
|
4029
4021
|
t.map(
|
|
4030
|
-
([r, n]) =>
|
|
4022
|
+
([r, n]) => Ji(r, n)
|
|
4031
4023
|
)
|
|
4032
4024
|
).then(() => {
|
|
4033
4025
|
if (st(e))
|
|
4034
|
-
return
|
|
4026
|
+
return Lr(e);
|
|
4035
4027
|
delete ce[e];
|
|
4036
4028
|
}), ce[e];
|
|
4037
4029
|
}
|
|
4038
|
-
const
|
|
4030
|
+
const qi = {
|
|
4039
4031
|
number: {
|
|
4040
4032
|
scientific: { notation: "scientific" },
|
|
4041
4033
|
engineering: { notation: "engineering" },
|
|
@@ -4064,34 +4056,34 @@ const Ki = {
|
|
|
4064
4056
|
timeZoneName: "short"
|
|
4065
4057
|
}
|
|
4066
4058
|
}
|
|
4067
|
-
},
|
|
4059
|
+
}, Ki = {
|
|
4068
4060
|
fallbackLocale: null,
|
|
4069
4061
|
loadingDelay: 200,
|
|
4070
|
-
formats:
|
|
4062
|
+
formats: qi,
|
|
4071
4063
|
warnOnMissingMessages: !0,
|
|
4072
4064
|
handleMissingMessage: void 0,
|
|
4073
4065
|
ignoreTag: !0
|
|
4074
|
-
},
|
|
4066
|
+
}, eo = Ki;
|
|
4075
4067
|
function oe() {
|
|
4076
|
-
return
|
|
4068
|
+
return eo;
|
|
4077
4069
|
}
|
|
4078
4070
|
const Xe = Oe(!1);
|
|
4079
|
-
var
|
|
4080
|
-
for (var r in t)
|
|
4081
|
-
|
|
4082
|
-
if (
|
|
4083
|
-
for (var r of
|
|
4084
|
-
|
|
4071
|
+
var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
|
|
4072
|
+
for (var r in t || (t = {}))
|
|
4073
|
+
io.call(t, r) && Rt(e, r, t[r]);
|
|
4074
|
+
if (Ft)
|
|
4075
|
+
for (var r of Ft(t))
|
|
4076
|
+
oo.call(t, r) && Rt(e, r, t[r]);
|
|
4085
4077
|
return e;
|
|
4086
|
-
},
|
|
4078
|
+
}, so = (e, t) => ro(e, no(t));
|
|
4087
4079
|
let lt;
|
|
4088
4080
|
const Te = Oe(null);
|
|
4089
|
-
function
|
|
4081
|
+
function Ut(e) {
|
|
4090
4082
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4091
4083
|
}
|
|
4092
4084
|
function Ce(e, t = oe().fallbackLocale) {
|
|
4093
|
-
const r =
|
|
4094
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4085
|
+
const r = Ut(e);
|
|
4086
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4095
4087
|
}
|
|
4096
4088
|
function Z() {
|
|
4097
4089
|
return lt ?? void 0;
|
|
@@ -4099,22 +4091,22 @@ function Z() {
|
|
|
4099
4091
|
Te.subscribe((e) => {
|
|
4100
4092
|
lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4101
4093
|
});
|
|
4102
|
-
const
|
|
4103
|
-
if (e &&
|
|
4094
|
+
const lo = (e) => {
|
|
4095
|
+
if (e && Zi(e) && st(e)) {
|
|
4104
4096
|
const { loadingDelay: t } = oe();
|
|
4105
4097
|
let r;
|
|
4106
4098
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4107
4099
|
() => Xe.set(!0),
|
|
4108
4100
|
t
|
|
4109
|
-
) : Xe.set(!0),
|
|
4101
|
+
) : Xe.set(!0), Lr(e).then(() => {
|
|
4110
4102
|
Te.set(e);
|
|
4111
4103
|
}).finally(() => {
|
|
4112
4104
|
clearTimeout(r), Xe.set(!1);
|
|
4113
4105
|
});
|
|
4114
4106
|
}
|
|
4115
4107
|
return Te.set(e);
|
|
4116
|
-
}, le =
|
|
4117
|
-
set:
|
|
4108
|
+
}, le = so(ao({}, Te), {
|
|
4109
|
+
set: lo
|
|
4118
4110
|
}), Fe = (e) => {
|
|
4119
4111
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4120
4112
|
return (n) => {
|
|
@@ -4122,20 +4114,20 @@ const uo = (e) => {
|
|
|
4122
4114
|
return i in t ? t[i] : t[i] = e(n);
|
|
4123
4115
|
};
|
|
4124
4116
|
};
|
|
4125
|
-
var
|
|
4117
|
+
var uo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
4126
4118
|
for (var r in t || (t = {}))
|
|
4127
|
-
|
|
4119
|
+
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4128
4120
|
if (Pe)
|
|
4129
4121
|
for (var r of Pe(t))
|
|
4130
|
-
|
|
4122
|
+
Fr.call(t, r) && Dt(e, r, t[r]);
|
|
4131
4123
|
return e;
|
|
4132
4124
|
}, ue = (e, t) => {
|
|
4133
4125
|
var r = {};
|
|
4134
4126
|
for (var n in e)
|
|
4135
|
-
|
|
4127
|
+
Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4136
4128
|
if (e != null && Pe)
|
|
4137
4129
|
for (var n of Pe(e))
|
|
4138
|
-
t.indexOf(n) < 0 &&
|
|
4130
|
+
t.indexOf(n) < 0 && Fr.call(e, n) && (r[n] = e[n]);
|
|
4139
4131
|
return r;
|
|
4140
4132
|
};
|
|
4141
4133
|
const ge = (e, t) => {
|
|
@@ -4143,21 +4135,21 @@ const ge = (e, t) => {
|
|
|
4143
4135
|
if (e in r && t in r[e])
|
|
4144
4136
|
return r[e][t];
|
|
4145
4137
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4146
|
-
},
|
|
4138
|
+
}, ho = Fe(
|
|
4147
4139
|
(e) => {
|
|
4148
4140
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4149
4141
|
if (r == null)
|
|
4150
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4151
4143
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4152
4144
|
}
|
|
4153
|
-
),
|
|
4145
|
+
), co = Fe(
|
|
4154
4146
|
(e) => {
|
|
4155
4147
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4156
4148
|
if (r == null)
|
|
4157
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4158
4150
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4159
4151
|
}
|
|
4160
|
-
),
|
|
4152
|
+
), fo = Fe(
|
|
4161
4153
|
(e) => {
|
|
4162
4154
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4163
4155
|
if (r == null)
|
|
@@ -4166,33 +4158,33 @@ const ge = (e, t) => {
|
|
|
4166
4158
|
);
|
|
4167
4159
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4168
4160
|
}
|
|
4169
|
-
),
|
|
4161
|
+
), mo = (e = {}) => {
|
|
4170
4162
|
var t = e, {
|
|
4171
4163
|
locale: r = Z()
|
|
4172
4164
|
} = t, n = ue(t, [
|
|
4173
4165
|
"locale"
|
|
4174
4166
|
]);
|
|
4175
|
-
return
|
|
4176
|
-
},
|
|
4167
|
+
return ho(ft({ locale: r }, n));
|
|
4168
|
+
}, po = (e = {}) => {
|
|
4177
4169
|
var t = e, {
|
|
4178
4170
|
locale: r = Z()
|
|
4179
4171
|
} = t, n = ue(t, [
|
|
4180
4172
|
"locale"
|
|
4181
4173
|
]);
|
|
4182
|
-
return
|
|
4183
|
-
},
|
|
4174
|
+
return co(ft({ locale: r }, n));
|
|
4175
|
+
}, go = (e = {}) => {
|
|
4184
4176
|
var t = e, {
|
|
4185
4177
|
locale: r = Z()
|
|
4186
4178
|
} = t, n = ue(t, [
|
|
4187
4179
|
"locale"
|
|
4188
4180
|
]);
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4181
|
+
return fo(ft({ locale: r }, n));
|
|
4182
|
+
}, bo = Fe(
|
|
4191
4183
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4192
|
-
(e, t = Z()) => new
|
|
4184
|
+
(e, t = Z()) => new ji(e, t, oe().formats, {
|
|
4193
4185
|
ignoreTag: oe().ignoreTag
|
|
4194
4186
|
})
|
|
4195
|
-
),
|
|
4187
|
+
), vo = (e, t = {}) => {
|
|
4196
4188
|
var r, n, i, o;
|
|
4197
4189
|
let a = t;
|
|
4198
4190
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4205,7 +4197,7 @@ const ge = (e, t) => {
|
|
|
4205
4197
|
throw new Error(
|
|
4206
4198
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4207
4199
|
);
|
|
4208
|
-
let h =
|
|
4200
|
+
let h = Pr(e, l);
|
|
4209
4201
|
if (!h)
|
|
4210
4202
|
h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4211
4203
|
else if (typeof h != "string")
|
|
@@ -4216,7 +4208,7 @@ const ge = (e, t) => {
|
|
|
4216
4208
|
return h;
|
|
4217
4209
|
let d = h;
|
|
4218
4210
|
try {
|
|
4219
|
-
d =
|
|
4211
|
+
d = bo(h, l).format(s);
|
|
4220
4212
|
} catch (f) {
|
|
4221
4213
|
f instanceof Error && console.warn(
|
|
4222
4214
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4224,20 +4216,20 @@ const ge = (e, t) => {
|
|
|
4224
4216
|
);
|
|
4225
4217
|
}
|
|
4226
4218
|
return d;
|
|
4227
|
-
},
|
|
4219
|
+
}, yo = (e, t) => go(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), wo = (e, t = Z()) => Pr(e, t), Eo = se([le, ve], () => vo);
|
|
4220
|
+
se([le], () => yo);
|
|
4228
4221
|
se([le], () => _o);
|
|
4229
4222
|
se([le], () => xo);
|
|
4230
|
-
se([le], () => wo);
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
Or(e, t);
|
|
4223
|
+
se([le, ve], () => wo);
|
|
4224
|
+
window.emWidgets = { topic: Cn };
|
|
4225
|
+
const Gt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4226
|
+
function $t(e, t) {
|
|
4227
|
+
Mr(e, t);
|
|
4236
4228
|
}
|
|
4237
|
-
function
|
|
4229
|
+
function No(e) {
|
|
4238
4230
|
le.set(e);
|
|
4239
4231
|
}
|
|
4240
|
-
const
|
|
4232
|
+
const kt = {
|
|
4241
4233
|
en: {
|
|
4242
4234
|
secondaryMenuTitle: "Categories"
|
|
4243
4235
|
},
|
|
@@ -4272,28 +4264,28 @@ const jt = {
|
|
|
4272
4264
|
secondaryMenuTitle: "Categories"
|
|
4273
4265
|
}
|
|
4274
4266
|
};
|
|
4275
|
-
function
|
|
4276
|
-
|
|
4267
|
+
function So(e) {
|
|
4268
|
+
tn(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4277
4269
|
}
|
|
4278
|
-
function
|
|
4270
|
+
function jt(e, t, r) {
|
|
4279
4271
|
const n = e.slice();
|
|
4280
4272
|
return n[44] = t[r], n[46] = r, n;
|
|
4281
4273
|
}
|
|
4282
|
-
function
|
|
4274
|
+
function Wt(e, t, r) {
|
|
4283
4275
|
const n = e.slice();
|
|
4284
4276
|
return n[44] = t[r], n;
|
|
4285
4277
|
}
|
|
4286
|
-
const
|
|
4287
|
-
function
|
|
4278
|
+
const Io = (e) => ({}), Vt = (e) => ({});
|
|
4279
|
+
function Xt(e) {
|
|
4288
4280
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4289
|
-
e[6] &&
|
|
4281
|
+
e[6] && zt(e), u = Be(
|
|
4290
4282
|
/*primaryMenuSpliced*/
|
|
4291
4283
|
e[7]
|
|
4292
4284
|
), h = [];
|
|
4293
4285
|
for (let f = 0; f < u.length; f += 1)
|
|
4294
|
-
h[f] =
|
|
4286
|
+
h[f] = Jt(jt(e, u, f));
|
|
4295
4287
|
let d = !/*navigationBarSimple*/
|
|
4296
|
-
e[6] &&
|
|
4288
|
+
e[6] && qt(e);
|
|
4297
4289
|
return {
|
|
4298
4290
|
c() {
|
|
4299
4291
|
t = I("div"), l && l.c(), r = G(), n = I("div");
|
|
@@ -4313,10 +4305,10 @@ function zt(e) {
|
|
|
4313
4305
|
},
|
|
4314
4306
|
p(f, p) {
|
|
4315
4307
|
if (/*navigationBarSimple*/
|
|
4316
|
-
f[6] ? l && (
|
|
4308
|
+
f[6] ? l && (ir(), me(l, 1, 1, () => {
|
|
4317
4309
|
l = null;
|
|
4318
|
-
}),
|
|
4319
|
-
64 && X(l, 1)) : (l =
|
|
4310
|
+
}), or()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4311
|
+
64 && X(l, 1)) : (l = zt(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4320
4312
|
32928) {
|
|
4321
4313
|
u = Be(
|
|
4322
4314
|
/*primaryMenuSpliced*/
|
|
@@ -4324,15 +4316,15 @@ function zt(e) {
|
|
|
4324
4316
|
);
|
|
4325
4317
|
let g;
|
|
4326
4318
|
for (g = 0; g < u.length; g += 1) {
|
|
4327
|
-
const b =
|
|
4328
|
-
h[g] ? h[g].p(b, p) : (h[g] =
|
|
4319
|
+
const b = jt(f, u, g);
|
|
4320
|
+
h[g] ? h[g].p(b, p) : (h[g] = Jt(b), h[g].c(), h[g].m(n, i));
|
|
4329
4321
|
}
|
|
4330
4322
|
for (; g < h.length; g += 1)
|
|
4331
4323
|
h[g].d(1);
|
|
4332
4324
|
h.length = u.length;
|
|
4333
4325
|
}
|
|
4334
4326
|
/*navigationBarSimple*/
|
|
4335
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4327
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = qt(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4336
4328
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4337
4329
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4338
4330
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4347,11 +4339,11 @@ function zt(e) {
|
|
|
4347
4339
|
me(l), s = !1;
|
|
4348
4340
|
},
|
|
4349
4341
|
d(f) {
|
|
4350
|
-
f && O(t), l && l.d(),
|
|
4342
|
+
f && O(t), l && l.d(), nr(h, f), d && d.d();
|
|
4351
4343
|
}
|
|
4352
4344
|
};
|
|
4353
4345
|
}
|
|
4354
|
-
function
|
|
4346
|
+
function zt(e) {
|
|
4355
4347
|
let t, r, n, i, o = (
|
|
4356
4348
|
/*secondarymenutitle*/
|
|
4357
4349
|
(e[0] || /*$_*/
|
|
@@ -4360,29 +4352,29 @@ function Zt(e) {
|
|
|
4360
4352
|
const p = (
|
|
4361
4353
|
/*#slots*/
|
|
4362
4354
|
e[26].close
|
|
4363
|
-
), g =
|
|
4355
|
+
), g = Jr(
|
|
4364
4356
|
p,
|
|
4365
4357
|
e,
|
|
4366
4358
|
/*$$scope*/
|
|
4367
4359
|
e[25],
|
|
4368
|
-
|
|
4369
|
-
), b = g ||
|
|
4360
|
+
Vt
|
|
4361
|
+
), b = g || Ao();
|
|
4370
4362
|
let B = Be(
|
|
4371
4363
|
/*secondaryMenu*/
|
|
4372
4364
|
e[8]
|
|
4373
4365
|
), N = [];
|
|
4374
4366
|
for (let v = 0; v < B.length; v += 1)
|
|
4375
|
-
N[v] =
|
|
4367
|
+
N[v] = Qt(Wt(e, B, v));
|
|
4376
4368
|
return {
|
|
4377
4369
|
c() {
|
|
4378
|
-
t = I("div"), r = I("span"), b.c(), n = G(), i = I("h3"), a = be(o), s = G(), l = I("div");
|
|
4370
|
+
t = I("div"), r = I("span"), b && b.c(), n = G(), i = I("h3"), a = be(o), s = G(), l = I("div");
|
|
4379
4371
|
for (let v = 0; v < N.length; v += 1)
|
|
4380
4372
|
N[v].c();
|
|
4381
4373
|
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4382
4374
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4383
4375
|
},
|
|
4384
4376
|
m(v, A) {
|
|
4385
|
-
L(v, t, A), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4377
|
+
L(v, t, A), y(t, r), b && b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4386
4378
|
for (let x = 0; x < N.length; x += 1)
|
|
4387
4379
|
N[x] && N[x].m(l, null);
|
|
4388
4380
|
h = !0, d || (f = He(
|
|
@@ -4394,23 +4386,23 @@ function Zt(e) {
|
|
|
4394
4386
|
},
|
|
4395
4387
|
p(v, A) {
|
|
4396
4388
|
if (g && g.p && (!h || A[0] & /*$$scope*/
|
|
4397
|
-
33554432) &&
|
|
4389
|
+
33554432) && Kr(
|
|
4398
4390
|
g,
|
|
4399
4391
|
p,
|
|
4400
4392
|
v,
|
|
4401
4393
|
/*$$scope*/
|
|
4402
4394
|
v[25],
|
|
4403
|
-
h ?
|
|
4395
|
+
h ? qr(
|
|
4404
4396
|
p,
|
|
4405
4397
|
/*$$scope*/
|
|
4406
4398
|
v[25],
|
|
4407
4399
|
A,
|
|
4408
|
-
|
|
4409
|
-
) :
|
|
4400
|
+
Io
|
|
4401
|
+
) : en(
|
|
4410
4402
|
/*$$scope*/
|
|
4411
4403
|
v[25]
|
|
4412
4404
|
),
|
|
4413
|
-
|
|
4405
|
+
Vt
|
|
4414
4406
|
), (!h || A[0] & /*secondarymenutitle, $_*/
|
|
4415
4407
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4416
4408
|
(v[0] || /*$_*/
|
|
@@ -4422,8 +4414,8 @@ function Zt(e) {
|
|
|
4422
4414
|
);
|
|
4423
4415
|
let x;
|
|
4424
4416
|
for (x = 0; x < B.length; x += 1) {
|
|
4425
|
-
const C =
|
|
4426
|
-
N[x] ? N[x].p(C, A) : (N[x] =
|
|
4417
|
+
const C = Wt(v, B, x);
|
|
4418
|
+
N[x] ? N[x].p(C, A) : (N[x] = Qt(C), N[x].c(), N[x].m(l, null));
|
|
4427
4419
|
}
|
|
4428
4420
|
for (; x < N.length; x += 1)
|
|
4429
4421
|
N[x].d(1);
|
|
@@ -4440,11 +4432,11 @@ function Zt(e) {
|
|
|
4440
4432
|
me(b, v), h = !1;
|
|
4441
4433
|
},
|
|
4442
4434
|
d(v) {
|
|
4443
|
-
v && O(t), b.d(v),
|
|
4435
|
+
v && O(t), b && b.d(v), nr(N, v), d = !1, f();
|
|
4444
4436
|
}
|
|
4445
4437
|
};
|
|
4446
4438
|
}
|
|
4447
|
-
function
|
|
4439
|
+
function Ao(e) {
|
|
4448
4440
|
let t, r;
|
|
4449
4441
|
return {
|
|
4450
4442
|
c() {
|
|
@@ -4459,7 +4451,7 @@ function Bo(e) {
|
|
|
4459
4451
|
}
|
|
4460
4452
|
};
|
|
4461
4453
|
}
|
|
4462
|
-
function
|
|
4454
|
+
function Zt(e) {
|
|
4463
4455
|
let t, r, n, i;
|
|
4464
4456
|
return {
|
|
4465
4457
|
c() {
|
|
@@ -4482,13 +4474,13 @@ function Qt(e) {
|
|
|
4482
4474
|
}
|
|
4483
4475
|
};
|
|
4484
4476
|
}
|
|
4485
|
-
function
|
|
4477
|
+
function Qt(e) {
|
|
4486
4478
|
let t, r, n, i = (
|
|
4487
4479
|
/*item*/
|
|
4488
4480
|
e[44].label + ""
|
|
4489
4481
|
), o, a, s, l, u, h = (
|
|
4490
4482
|
/*item*/
|
|
4491
|
-
e[44].img &&
|
|
4483
|
+
e[44].img && Zt(e)
|
|
4492
4484
|
);
|
|
4493
4485
|
function d() {
|
|
4494
4486
|
return (
|
|
@@ -4510,7 +4502,7 @@ function Yt(e) {
|
|
|
4510
4502
|
},
|
|
4511
4503
|
p(f, p) {
|
|
4512
4504
|
e = f, /*item*/
|
|
4513
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4505
|
+
e[44].img ? h ? h.p(e, p) : (h = Zt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4514
4506
|
256 && i !== (i = /*item*/
|
|
4515
4507
|
e[44].label + "") && ht(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4516
4508
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
@@ -4522,7 +4514,7 @@ function Yt(e) {
|
|
|
4522
4514
|
}
|
|
4523
4515
|
};
|
|
4524
4516
|
}
|
|
4525
|
-
function
|
|
4517
|
+
function Yt(e) {
|
|
4526
4518
|
let t, r, n, i;
|
|
4527
4519
|
return {
|
|
4528
4520
|
c() {
|
|
@@ -4545,13 +4537,13 @@ function Jt(e) {
|
|
|
4545
4537
|
}
|
|
4546
4538
|
};
|
|
4547
4539
|
}
|
|
4548
|
-
function
|
|
4540
|
+
function Jt(e) {
|
|
4549
4541
|
let t, r, n, i = (
|
|
4550
4542
|
/*item*/
|
|
4551
4543
|
e[44].label + ""
|
|
4552
4544
|
), o, a, s, l, u = (
|
|
4553
4545
|
/*item*/
|
|
4554
|
-
e[44].img &&
|
|
4546
|
+
e[44].img && Yt(e)
|
|
4555
4547
|
);
|
|
4556
4548
|
function h() {
|
|
4557
4549
|
return (
|
|
@@ -4574,7 +4566,7 @@ function qt(e) {
|
|
|
4574
4566
|
},
|
|
4575
4567
|
p(d, f) {
|
|
4576
4568
|
e = d, /*item*/
|
|
4577
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4569
|
+
e[44].img ? u ? u.p(e, f) : (u = Yt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4578
4570
|
128 && i !== (i = /*item*/
|
|
4579
4571
|
e[44].label + "") && ht(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4580
4572
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
@@ -4587,12 +4579,12 @@ function qt(e) {
|
|
|
4587
4579
|
}
|
|
4588
4580
|
};
|
|
4589
4581
|
}
|
|
4590
|
-
function
|
|
4582
|
+
function qt(e) {
|
|
4591
4583
|
let t, r, n, i, o;
|
|
4592
4584
|
function a(u, h) {
|
|
4593
4585
|
return (
|
|
4594
4586
|
/*isFlowerMenu*/
|
|
4595
|
-
u[11] ?
|
|
4587
|
+
u[11] ? Bo : To
|
|
4596
4588
|
);
|
|
4597
4589
|
}
|
|
4598
4590
|
let s = a(e), l = s(e);
|
|
@@ -4619,7 +4611,7 @@ function Kt(e) {
|
|
|
4619
4611
|
}
|
|
4620
4612
|
};
|
|
4621
4613
|
}
|
|
4622
|
-
function
|
|
4614
|
+
function Bo(e) {
|
|
4623
4615
|
let t, r, n, i, o, a, s;
|
|
4624
4616
|
return {
|
|
4625
4617
|
c() {
|
|
@@ -4639,18 +4631,18 @@ function To(e) {
|
|
|
4639
4631
|
}
|
|
4640
4632
|
};
|
|
4641
4633
|
}
|
|
4642
|
-
function
|
|
4634
|
+
function To(e) {
|
|
4643
4635
|
let t;
|
|
4644
4636
|
function r(o, a) {
|
|
4645
4637
|
return (
|
|
4646
4638
|
/*imageIconUrl*/
|
|
4647
|
-
o[9] ?
|
|
4639
|
+
o[9] ? Ho : Po
|
|
4648
4640
|
);
|
|
4649
4641
|
}
|
|
4650
4642
|
let n = r(e), i = n(e);
|
|
4651
4643
|
return {
|
|
4652
4644
|
c() {
|
|
4653
|
-
i.c(), t =
|
|
4645
|
+
i.c(), t = on();
|
|
4654
4646
|
},
|
|
4655
4647
|
m(o, a) {
|
|
4656
4648
|
i.m(o, a), L(o, t, a);
|
|
@@ -4663,7 +4655,7 @@ function Po(e) {
|
|
|
4663
4655
|
}
|
|
4664
4656
|
};
|
|
4665
4657
|
}
|
|
4666
|
-
function
|
|
4658
|
+
function Po(e) {
|
|
4667
4659
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4668
4660
|
return {
|
|
4669
4661
|
c() {
|
|
@@ -4678,7 +4670,7 @@ function Ho(e) {
|
|
|
4678
4670
|
}
|
|
4679
4671
|
};
|
|
4680
4672
|
}
|
|
4681
|
-
function
|
|
4673
|
+
function Ho(e) {
|
|
4682
4674
|
let t, r;
|
|
4683
4675
|
return {
|
|
4684
4676
|
c() {
|
|
@@ -4709,11 +4701,11 @@ function Mo(e) {
|
|
|
4709
4701
|
}
|
|
4710
4702
|
};
|
|
4711
4703
|
}
|
|
4712
|
-
function
|
|
4704
|
+
function Mo(e) {
|
|
4713
4705
|
let t, r, n, i = !/*isLoading*/
|
|
4714
4706
|
e[1] && /*isMobile*/
|
|
4715
4707
|
e[13] && /*showNavigation*/
|
|
4716
|
-
e[3] &&
|
|
4708
|
+
e[3] && Xt(e);
|
|
4717
4709
|
return {
|
|
4718
4710
|
c() {
|
|
4719
4711
|
t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4728,9 +4720,9 @@ function Oo(e) {
|
|
|
4728
4720
|
o[1] && /*isMobile*/
|
|
4729
4721
|
o[13] && /*showNavigation*/
|
|
4730
4722
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4731
|
-
10 && X(i, 1)) : (i =
|
|
4723
|
+
10 && X(i, 1)) : (i = Xt(o), i.c(), X(i, 1), i.m(t, null)) : i && (ir(), me(i, 1, 1, () => {
|
|
4732
4724
|
i = null;
|
|
4733
|
-
}),
|
|
4725
|
+
}), or()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4734
4726
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4735
4727
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4736
4728
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4746,23 +4738,23 @@ function Oo(e) {
|
|
|
4746
4738
|
}
|
|
4747
4739
|
};
|
|
4748
4740
|
}
|
|
4749
|
-
function
|
|
4741
|
+
function Oo(e, t, r) {
|
|
4750
4742
|
let n;
|
|
4751
|
-
|
|
4752
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: b = "false" } = t, B = window.navigator.userAgent, N =
|
|
4753
|
-
const
|
|
4743
|
+
Yr(e, Eo, (m) => r(12, n = m));
|
|
4744
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: b = "false" } = t, B = window.navigator.userAgent, N = Gt(B) !== "PC", v = !0, A = !1, x = !1, C = "", k = !1, Q = [], ye = [], j = [], W, dt = "", Re = {}, mt, Ue = !1;
|
|
4745
|
+
const Rr = () => {
|
|
4754
4746
|
fetch(p).then((T) => T.json()).then((T) => {
|
|
4755
4747
|
Object.keys(T).forEach((P) => {
|
|
4756
|
-
|
|
4748
|
+
$t(P, T[P]);
|
|
4757
4749
|
});
|
|
4758
4750
|
}).catch((T) => {
|
|
4759
4751
|
console.log(T);
|
|
4760
4752
|
});
|
|
4761
4753
|
};
|
|
4762
|
-
Object.keys(
|
|
4763
|
-
|
|
4754
|
+
Object.keys(kt).forEach((m) => {
|
|
4755
|
+
$t(m, kt[m]);
|
|
4764
4756
|
});
|
|
4765
|
-
const
|
|
4757
|
+
const pt = (m) => {
|
|
4766
4758
|
if (m.data)
|
|
4767
4759
|
switch (m.data.type) {
|
|
4768
4760
|
case "PlayerAccountMenuActive":
|
|
@@ -4775,9 +4767,9 @@ function Lo(e, t, r) {
|
|
|
4775
4767
|
r(4, x = !1);
|
|
4776
4768
|
break;
|
|
4777
4769
|
}
|
|
4778
|
-
},
|
|
4770
|
+
}, Ur = () => {
|
|
4779
4771
|
r(11, Ue = b.toLowerCase() === "true");
|
|
4780
|
-
},
|
|
4772
|
+
}, Dr = () => {
|
|
4781
4773
|
r(4, x = !x), window.postMessage(
|
|
4782
4774
|
{
|
|
4783
4775
|
type: "MobileBottomNav",
|
|
@@ -4785,19 +4777,19 @@ function Lo(e, t, r) {
|
|
|
4785
4777
|
},
|
|
4786
4778
|
window.location.href
|
|
4787
4779
|
);
|
|
4788
|
-
},
|
|
4789
|
-
r(7, ye = []), r(7, ye = k ? m.splice(0, 5) : m.splice(0, 4)), g &&
|
|
4790
|
-
},
|
|
4780
|
+
}, Gr = (m) => {
|
|
4781
|
+
r(7, ye = []), r(7, ye = k ? m.splice(0, 5) : m.splice(0, 4)), g && gt();
|
|
4782
|
+
}, $r = () => {
|
|
4791
4783
|
De(), r(1, v = !0);
|
|
4792
|
-
let m =
|
|
4784
|
+
let m = Gt(B), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4793
4785
|
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
|
|
4794
4786
|
Q = [], r(8, j = []), r(3, A = P.length > 0), P.forEach((U) => {
|
|
4795
|
-
Re[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9,
|
|
4796
|
-
}), r(6, k = j.length == 0), j.length >= 5 && Ue && r(8, j = j.splice(0, 5)),
|
|
4787
|
+
Re[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, dt = U?.img), r(8, j = U.children)) : Q.push(U);
|
|
4788
|
+
}), r(6, k = j.length == 0), j.length >= 5 && Ue && r(8, j = j.splice(0, 5)), Gr(Q), r(1, v = !1);
|
|
4797
4789
|
}).catch((P) => {
|
|
4798
4790
|
r(1, v = !1), console.error(P);
|
|
4799
4791
|
});
|
|
4800
|
-
},
|
|
4792
|
+
}, gt = () => {
|
|
4801
4793
|
const T = ye.concat(j).find((P) => P.path.includes(g));
|
|
4802
4794
|
T && r(5, C = T.id);
|
|
4803
4795
|
}, he = (m, T, P, U) => {
|
|
@@ -4819,10 +4811,10 @@ function Lo(e, t, r) {
|
|
|
4819
4811
|
context: "MobileBottomNavigation",
|
|
4820
4812
|
menuItem: `${m}`
|
|
4821
4813
|
});
|
|
4822
|
-
},
|
|
4814
|
+
}, kr = () => {
|
|
4823
4815
|
let m = document.createElement("style");
|
|
4824
4816
|
d && W && (m.innerHTML = d, W.appendChild(m));
|
|
4825
|
-
},
|
|
4817
|
+
}, jr = () => {
|
|
4826
4818
|
let m = new URL(f), T = document.createElement("style");
|
|
4827
4819
|
fetch(m.href).then((P) => P.text()).then((P) => {
|
|
4828
4820
|
T.innerHTML = P, setTimeout(
|
|
@@ -4832,22 +4824,22 @@ function Lo(e, t, r) {
|
|
|
4832
4824
|
1
|
|
4833
4825
|
);
|
|
4834
4826
|
});
|
|
4835
|
-
},
|
|
4836
|
-
|
|
4827
|
+
}, Wr = () => {
|
|
4828
|
+
No(s);
|
|
4837
4829
|
}, De = () => {
|
|
4838
|
-
r(10,
|
|
4839
|
-
},
|
|
4830
|
+
r(10, mt = N && window.innerHeight / window.innerWidth < 1);
|
|
4831
|
+
}, bt = () => {
|
|
4840
4832
|
x && r(4, x = !1);
|
|
4841
4833
|
};
|
|
4842
|
-
|
|
4843
|
-
window.removeEventListener("message",
|
|
4834
|
+
un(() => (window.addEventListener("message", pt, !1), document.addEventListener("focusin", bt), N && window.screen.orientation.addEventListener("change", De), () => {
|
|
4835
|
+
window.removeEventListener("message", pt), document.removeEventListener("focusin", bt), N && window.screen.orientation.removeEventListener("change", De);
|
|
4844
4836
|
}));
|
|
4845
|
-
const
|
|
4837
|
+
const Vr = (m) => {
|
|
4846
4838
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4847
|
-
},
|
|
4839
|
+
}, Xr = (m) => {
|
|
4848
4840
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4849
4841
|
};
|
|
4850
|
-
function
|
|
4842
|
+
function zr(m) {
|
|
4851
4843
|
ze[m ? "unshift" : "push"](() => {
|
|
4852
4844
|
W = m, r(2, W);
|
|
4853
4845
|
});
|
|
@@ -4856,13 +4848,13 @@ function Lo(e, t, r) {
|
|
|
4856
4848
|
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "clientstyling" in m && r(20, d = m.clientstyling), "clientstylingurl" in m && r(21, f = m.clientstylingurl), "translationurl" in m && r(22, p = m.translationurl), "activecategory" in m && r(23, g = m.activecategory), "flowermenustyle" in m && r(24, b = m.flowermenustyle), "$$scope" in m && r(25, o = m.$$scope);
|
|
4857
4849
|
}, e.$$.update = () => {
|
|
4858
4850
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4859
|
-
16777216 && b &&
|
|
4860
|
-
8388610 && g && !v &&
|
|
4861
|
-
131072 && s &&
|
|
4862
|
-
983040 && a && s && l && h &&
|
|
4863
|
-
1048580 && d && W &&
|
|
4864
|
-
2097156 && f && W &&
|
|
4865
|
-
4194304 && p &&
|
|
4851
|
+
16777216 && b && Ur(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4852
|
+
8388610 && g && !v && gt(), e.$$.dirty[0] & /*lang*/
|
|
4853
|
+
131072 && s && Wr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4854
|
+
983040 && a && s && l && h && $r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4855
|
+
1048580 && d && W && kr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4856
|
+
2097156 && f && W && jr(), e.$$.dirty[0] & /*translationurl*/
|
|
4857
|
+
4194304 && p && Rr();
|
|
4866
4858
|
}, [
|
|
4867
4859
|
u,
|
|
4868
4860
|
v,
|
|
@@ -4873,12 +4865,12 @@ function Lo(e, t, r) {
|
|
|
4873
4865
|
k,
|
|
4874
4866
|
ye,
|
|
4875
4867
|
j,
|
|
4868
|
+
dt,
|
|
4876
4869
|
mt,
|
|
4877
|
-
pt,
|
|
4878
4870
|
Ue,
|
|
4879
4871
|
n,
|
|
4880
4872
|
N,
|
|
4881
|
-
|
|
4873
|
+
Dr,
|
|
4882
4874
|
he,
|
|
4883
4875
|
a,
|
|
4884
4876
|
s,
|
|
@@ -4891,19 +4883,19 @@ function Lo(e, t, r) {
|
|
|
4891
4883
|
b,
|
|
4892
4884
|
o,
|
|
4893
4885
|
i,
|
|
4886
|
+
Vr,
|
|
4894
4887
|
Xr,
|
|
4895
|
-
zr
|
|
4896
|
-
Zr
|
|
4888
|
+
zr
|
|
4897
4889
|
];
|
|
4898
4890
|
}
|
|
4899
|
-
class
|
|
4891
|
+
class Lo extends yn {
|
|
4900
4892
|
constructor(t) {
|
|
4901
|
-
super(),
|
|
4893
|
+
super(), bn(
|
|
4902
4894
|
this,
|
|
4903
4895
|
t,
|
|
4904
|
-
Lo,
|
|
4905
4896
|
Oo,
|
|
4906
|
-
|
|
4897
|
+
Mo,
|
|
4898
|
+
er,
|
|
4907
4899
|
{
|
|
4908
4900
|
cmsendpoint: 16,
|
|
4909
4901
|
lang: 17,
|
|
@@ -4916,7 +4908,7 @@ class Co extends _n {
|
|
|
4916
4908
|
activecategory: 23,
|
|
4917
4909
|
flowermenustyle: 24
|
|
4918
4910
|
},
|
|
4919
|
-
|
|
4911
|
+
So,
|
|
4920
4912
|
[-1, -1]
|
|
4921
4913
|
);
|
|
4922
4914
|
}
|
|
@@ -4981,7 +4973,7 @@ class Co extends _n {
|
|
|
4981
4973
|
this.$$set({ flowermenustyle: t }), F();
|
|
4982
4974
|
}
|
|
4983
4975
|
}
|
|
4984
|
-
|
|
4976
|
+
vn(Lo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
4985
4977
|
export {
|
|
4986
|
-
|
|
4978
|
+
Lo as G
|
|
4987
4979
|
};
|