@everymatrix/general-navigation-bar 1.74.7 → 1.74.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-CGs3gpFJ.js → GeneralNavigationBar-DHgXqzwr.js} +629 -643
- package/components/{GeneralNavigationBar-DNxhH4WA.js → GeneralNavigationBar-Px1PH0Ky.js} +614 -628
- package/components/GeneralNavigationBar-l2e5HD4i.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-BHbOqmH4.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Zr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function Jr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function tr(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function _t() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function ae(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(tr);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ht(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function rr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let _e;
|
|
27
27
|
function te(e, t) {
|
|
28
28
|
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Qr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function nr(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,19 +39,19 @@ function or(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function Yr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(nr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Jr(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = ir(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function ir(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? Zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function qr(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function tn(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Kr(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = ir(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function en(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -84,14 +84,14 @@ function nn(e) {
|
|
|
84
84
|
function y(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function tn(e, t, r) {
|
|
88
|
+
const n = rn(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
90
|
const i = B("style");
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
i.id = t, i.textContent = r, nn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function rn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function an(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function nn(e, t) {
|
|
105
105
|
return y(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
@@ -114,7 +114,7 @@ function L(e, t, r) {
|
|
|
114
114
|
function O(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function or(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
@@ -124,14 +124,14 @@ function B(e) {
|
|
|
124
124
|
function P(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function be(e) {
|
|
128
128
|
return document.createTextNode(e);
|
|
129
129
|
}
|
|
130
130
|
function $() {
|
|
131
|
-
return
|
|
131
|
+
return be(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function on() {
|
|
134
|
+
return be("");
|
|
135
135
|
}
|
|
136
136
|
function Pe(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -139,14 +139,14 @@ function Pe(e, t, r, n) {
|
|
|
139
139
|
function c(e, t, r) {
|
|
140
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function an(e) {
|
|
143
143
|
return Array.from(e.childNodes);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ct(e, t) {
|
|
146
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
147
|
t);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function sn(e) {
|
|
150
150
|
const t = {};
|
|
151
151
|
return e.childNodes.forEach(
|
|
152
152
|
/** @param {Element} node */
|
|
@@ -159,22 +159,22 @@ let de;
|
|
|
159
159
|
function fe(e) {
|
|
160
160
|
de = e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function ln() {
|
|
163
163
|
if (!de)
|
|
164
164
|
throw new Error("Function called outside component initialization");
|
|
165
165
|
return de;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
167
|
+
function un(e) {
|
|
168
|
+
ln().$$.on_mount.push(e);
|
|
169
169
|
}
|
|
170
|
-
const q = [],
|
|
170
|
+
const q = [], Ze = [];
|
|
171
171
|
let K = [];
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
function
|
|
175
|
-
|
|
172
|
+
const xt = [], hn = /* @__PURE__ */ Promise.resolve();
|
|
173
|
+
let Qe = !1;
|
|
174
|
+
function cn() {
|
|
175
|
+
Qe || (Qe = !0, hn.then(F));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ye(e) {
|
|
178
178
|
K.push(e);
|
|
179
179
|
}
|
|
180
180
|
const $e = /* @__PURE__ */ new Set();
|
|
@@ -187,37 +187,37 @@ function F() {
|
|
|
187
187
|
try {
|
|
188
188
|
for (; Y < q.length; ) {
|
|
189
189
|
const t = q[Y];
|
|
190
|
-
Y++, fe(t),
|
|
190
|
+
Y++, fe(t), fn(t.$$);
|
|
191
191
|
}
|
|
192
192
|
} catch (t) {
|
|
193
193
|
throw q.length = 0, Y = 0, t;
|
|
194
194
|
}
|
|
195
|
-
for (fe(null), q.length = 0, Y = 0;
|
|
196
|
-
|
|
195
|
+
for (fe(null), q.length = 0, Y = 0; Ze.length; )
|
|
196
|
+
Ze.pop()();
|
|
197
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
198
198
|
const r = K[t];
|
|
199
199
|
$e.has(r) || ($e.add(r), r());
|
|
200
200
|
}
|
|
201
201
|
K.length = 0;
|
|
202
202
|
} while (q.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
for (; xt.length; )
|
|
204
|
+
xt.pop()();
|
|
205
|
+
Qe = !1, $e.clear(), fe(e);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function fn(e) {
|
|
208
208
|
if (e.fragment !== null) {
|
|
209
209
|
e.update(), ae(e.before_update);
|
|
210
210
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
211
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function dn(e) {
|
|
215
215
|
const t = [], r = [];
|
|
216
216
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
217
217
|
}
|
|
218
218
|
const Ee = /* @__PURE__ */ new Set();
|
|
219
219
|
let z;
|
|
220
|
-
function
|
|
220
|
+
function ar() {
|
|
221
221
|
z = {
|
|
222
222
|
r: 0,
|
|
223
223
|
c: [],
|
|
@@ -225,7 +225,7 @@ function lr() {
|
|
|
225
225
|
// parent group
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function sr() {
|
|
229
229
|
z.r || ae(z.c), z = z.p;
|
|
230
230
|
}
|
|
231
231
|
function X(e, t) {
|
|
@@ -244,21 +244,21 @@ function me(e, t, r, n) {
|
|
|
244
244
|
function Ae(e) {
|
|
245
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function mn(e, t, r) {
|
|
248
248
|
const { fragment: n, after_update: i } = e.$$;
|
|
249
|
-
n && n.m(t, r),
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
249
|
+
n && n.m(t, r), Ye(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(tr).filter(ht);
|
|
251
251
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
252
|
-
}), i.forEach(
|
|
252
|
+
}), i.forEach(Ye);
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function pn(e, t) {
|
|
255
255
|
const r = e.$$;
|
|
256
|
-
r.fragment !== null && (
|
|
256
|
+
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 = []);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function gn(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
262
262
|
const l = de;
|
|
263
263
|
fe(e);
|
|
264
264
|
const u = e.$$ = {
|
|
@@ -268,7 +268,7 @@ function _n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
268
268
|
props: o,
|
|
269
269
|
update: R,
|
|
270
270
|
not_equal: i,
|
|
271
|
-
bound:
|
|
271
|
+
bound: _t(),
|
|
272
272
|
// lifecycle
|
|
273
273
|
on_mount: [],
|
|
274
274
|
on_destroy: [],
|
|
@@ -277,28 +277,28 @@ function _n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
277
|
after_update: [],
|
|
278
278
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
279
279
|
// everything else
|
|
280
|
-
callbacks:
|
|
280
|
+
callbacks: _t(),
|
|
281
281
|
dirty: s,
|
|
282
282
|
skip_bound: !1,
|
|
283
283
|
root: t.target || l.$$.root
|
|
284
284
|
};
|
|
285
285
|
a && a(u.root);
|
|
286
286
|
let h = !1;
|
|
287
|
-
if (u.ctx = r
|
|
287
|
+
if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
|
|
288
288
|
const g = p.length ? p[0] : f;
|
|
289
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
290
|
-
})
|
|
289
|
+
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;
|
|
290
|
+
}), u.update(), h = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
291
291
|
if (t.hydrate) {
|
|
292
|
-
const d =
|
|
292
|
+
const d = an(t.target);
|
|
293
293
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
294
294
|
} else
|
|
295
295
|
u.fragment && u.fragment.c();
|
|
296
|
-
t.intro && X(e.$$.fragment),
|
|
296
|
+
t.intro && X(e.$$.fragment), mn(e, t.target, t.anchor), F();
|
|
297
297
|
}
|
|
298
298
|
fe(l);
|
|
299
299
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let lr;
|
|
301
|
+
typeof HTMLElement == "function" && (lr = class extends HTMLElement {
|
|
302
302
|
/** The Svelte component constructor */
|
|
303
303
|
$$ctor;
|
|
304
304
|
/** Slots */
|
|
@@ -357,7 +357,7 @@ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
|
357
357
|
};
|
|
358
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
359
|
return;
|
|
360
|
-
const t = {}, r =
|
|
360
|
+
const t = {}, r = sn(this);
|
|
361
361
|
for (const i of this.$$s)
|
|
362
362
|
i in r && (t[i] = [e(i)]);
|
|
363
363
|
for (const i of this.attributes) {
|
|
@@ -444,8 +444,8 @@ function Ne(e, t, r, n) {
|
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
447
|
+
function vn(e, t, r, n, i, o) {
|
|
448
|
+
let a = class extends lr {
|
|
449
449
|
constructor() {
|
|
450
450
|
super(e, r, i), this.$$p_d = t;
|
|
451
451
|
}
|
|
@@ -473,7 +473,7 @@ function xn(e, t, r, n, i, o) {
|
|
|
473
473
|
}), e.element = /** @type {any} */
|
|
474
474
|
a, a;
|
|
475
475
|
}
|
|
476
|
-
class
|
|
476
|
+
class yn {
|
|
477
477
|
/**
|
|
478
478
|
* ### PRIVATE API
|
|
479
479
|
*
|
|
@@ -492,7 +492,7 @@ class wn {
|
|
|
492
492
|
$$set = void 0;
|
|
493
493
|
/** @returns {void} */
|
|
494
494
|
$destroy() {
|
|
495
|
-
|
|
495
|
+
pn(this, 1), this.$destroy = R;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,7 +501,7 @@ class wn {
|
|
|
501
501
|
* @returns {() => void}
|
|
502
502
|
*/
|
|
503
503
|
$on(t, r) {
|
|
504
|
-
if (!
|
|
504
|
+
if (!ht(r))
|
|
505
505
|
return R;
|
|
506
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
507
507
|
return n.push(r), () => {
|
|
@@ -514,11 +514,11 @@ class wn {
|
|
|
514
514
|
* @returns {void}
|
|
515
515
|
*/
|
|
516
516
|
$set(t) {
|
|
517
|
-
this.$$set && !
|
|
517
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
+
const _n = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
|
|
522
522
|
/*! *****************************************************************************
|
|
523
523
|
Copyright (c) Microsoft Corporation.
|
|
524
524
|
|
|
@@ -533,18 +533,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
533
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
534
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
535
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
536
|
+
var Je = function(e, t) {
|
|
537
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
538
538
|
r.__proto__ = n;
|
|
539
539
|
} || function(r, n) {
|
|
540
540
|
for (var i in n)
|
|
541
541
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
-
},
|
|
542
|
+
}, Je(e, t);
|
|
543
543
|
};
|
|
544
544
|
function k(e, t) {
|
|
545
545
|
if (typeof t != "function" && t !== null)
|
|
546
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
547
|
+
Je(e, t);
|
|
548
548
|
function r() {
|
|
549
549
|
this.constructor = e;
|
|
550
550
|
}
|
|
@@ -560,7 +560,7 @@ var w = function() {
|
|
|
560
560
|
return t;
|
|
561
561
|
}, w.apply(this, arguments);
|
|
562
562
|
};
|
|
563
|
-
function
|
|
563
|
+
function xn(e, t) {
|
|
564
564
|
var r = {};
|
|
565
565
|
for (var n in e)
|
|
566
566
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -569,7 +569,7 @@ function Nn(e, t) {
|
|
|
569
569
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
570
570
|
return r;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function qe(e) {
|
|
573
573
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
574
574
|
if (r)
|
|
575
575
|
return r.call(e);
|
|
@@ -581,7 +581,7 @@ function Ke(e) {
|
|
|
581
581
|
};
|
|
582
582
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function Ke(e, t) {
|
|
585
585
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
586
586
|
if (!r)
|
|
587
587
|
return e;
|
|
@@ -610,13 +610,13 @@ function ee(e, t, r) {
|
|
|
610
610
|
function G(e) {
|
|
611
611
|
return typeof e == "function";
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function ur(e) {
|
|
614
614
|
var t = function(n) {
|
|
615
615
|
Error.call(n), n.stack = new Error().stack;
|
|
616
616
|
}, r = e(t);
|
|
617
617
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
618
618
|
}
|
|
619
|
-
var ke =
|
|
619
|
+
var ke = ur(function(e) {
|
|
620
620
|
return function(r) {
|
|
621
621
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
622
622
|
` + r.map(function(n, i) {
|
|
@@ -625,7 +625,7 @@ var ke = cr(function(e) {
|
|
|
625
625
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
626
626
|
};
|
|
627
627
|
});
|
|
628
|
-
function
|
|
628
|
+
function et(e, t) {
|
|
629
629
|
if (e) {
|
|
630
630
|
var r = e.indexOf(t);
|
|
631
631
|
0 <= r && e.splice(r, 1);
|
|
@@ -643,12 +643,12 @@ var Me = function() {
|
|
|
643
643
|
if (a)
|
|
644
644
|
if (this._parentage = null, Array.isArray(a))
|
|
645
645
|
try {
|
|
646
|
-
for (var s =
|
|
646
|
+
for (var s = qe(a), l = s.next(); !l.done; l = s.next()) {
|
|
647
647
|
var u = l.value;
|
|
648
648
|
u.remove(this);
|
|
649
649
|
}
|
|
650
|
-
} catch (
|
|
651
|
-
t = { error:
|
|
650
|
+
} catch (b) {
|
|
651
|
+
t = { error: b };
|
|
652
652
|
} finally {
|
|
653
653
|
try {
|
|
654
654
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -663,23 +663,23 @@ var Me = function() {
|
|
|
663
663
|
if (G(h))
|
|
664
664
|
try {
|
|
665
665
|
h();
|
|
666
|
-
} catch (
|
|
667
|
-
o =
|
|
666
|
+
} catch (b) {
|
|
667
|
+
o = b instanceof ke ? b.errors : [b];
|
|
668
668
|
}
|
|
669
669
|
var d = this._finalizers;
|
|
670
670
|
if (d) {
|
|
671
671
|
this._finalizers = null;
|
|
672
672
|
try {
|
|
673
|
-
for (var f =
|
|
673
|
+
for (var f = qe(d), p = f.next(); !p.done; p = f.next()) {
|
|
674
674
|
var g = p.value;
|
|
675
675
|
try {
|
|
676
|
-
|
|
677
|
-
} catch (
|
|
678
|
-
o = o ?? [],
|
|
676
|
+
wt(g);
|
|
677
|
+
} catch (b) {
|
|
678
|
+
o = o ?? [], b instanceof ke ? o = ee(ee([], Ke(o)), Ke(b.errors)) : o.push(b);
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
|
-
} catch (
|
|
682
|
-
n = { error:
|
|
681
|
+
} catch (b) {
|
|
682
|
+
n = { error: b };
|
|
683
683
|
} finally {
|
|
684
684
|
try {
|
|
685
685
|
p && !p.done && (i = f.return) && i.call(f);
|
|
@@ -696,7 +696,7 @@ var Me = function() {
|
|
|
696
696
|
var r;
|
|
697
697
|
if (t && t !== this)
|
|
698
698
|
if (this.closed)
|
|
699
|
-
|
|
699
|
+
wt(t);
|
|
700
700
|
else {
|
|
701
701
|
if (t instanceof e) {
|
|
702
702
|
if (t.closed || t._hasParent(this))
|
|
@@ -713,56 +713,56 @@ var Me = function() {
|
|
|
713
713
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
714
714
|
}, e.prototype._removeParent = function(t) {
|
|
715
715
|
var r = this._parentage;
|
|
716
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
716
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
|
717
717
|
}, e.prototype.remove = function(t) {
|
|
718
718
|
var r = this._finalizers;
|
|
719
|
-
r &&
|
|
719
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
|
720
720
|
}, e.EMPTY = function() {
|
|
721
721
|
var t = new e();
|
|
722
722
|
return t.closed = !0, t;
|
|
723
723
|
}(), e;
|
|
724
|
-
}(),
|
|
725
|
-
function
|
|
724
|
+
}(), hr = Me.EMPTY;
|
|
725
|
+
function cr(e) {
|
|
726
726
|
return e instanceof Me || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function wt(e) {
|
|
729
729
|
G(e) ? e() : e.unsubscribe();
|
|
730
730
|
}
|
|
731
|
-
var
|
|
731
|
+
var wn = {
|
|
732
732
|
onUnhandledError: null,
|
|
733
733
|
onStoppedNotification: null,
|
|
734
734
|
Promise: void 0,
|
|
735
735
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
736
736
|
useDeprecatedNextContext: !1
|
|
737
|
-
},
|
|
737
|
+
}, En = {
|
|
738
738
|
setTimeout: function(e, t) {
|
|
739
739
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
740
740
|
r[n - 2] = arguments[n];
|
|
741
|
-
return setTimeout.apply(void 0, ee([e, t],
|
|
741
|
+
return setTimeout.apply(void 0, ee([e, t], Ke(r)));
|
|
742
742
|
},
|
|
743
743
|
clearTimeout: function(e) {
|
|
744
744
|
return clearTimeout(e);
|
|
745
745
|
},
|
|
746
746
|
delegate: void 0
|
|
747
747
|
};
|
|
748
|
-
function
|
|
749
|
-
|
|
748
|
+
function Nn(e) {
|
|
749
|
+
En.setTimeout(function() {
|
|
750
750
|
throw e;
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function Et() {
|
|
754
754
|
}
|
|
755
755
|
function Se(e) {
|
|
756
756
|
e();
|
|
757
757
|
}
|
|
758
|
-
var
|
|
758
|
+
var fr = function(e) {
|
|
759
759
|
k(t, e);
|
|
760
760
|
function t(r) {
|
|
761
761
|
var n = e.call(this) || this;
|
|
762
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
762
|
+
return n.isStopped = !1, r ? (n.destination = r, cr(r) && r.add(n)) : n.destination = Bn, n;
|
|
763
763
|
}
|
|
764
764
|
return t.create = function(r, n, i) {
|
|
765
|
-
return new
|
|
765
|
+
return new tt(r, n, i);
|
|
766
766
|
}, t.prototype.next = function(r) {
|
|
767
767
|
this.isStopped || this._next(r);
|
|
768
768
|
}, t.prototype.error = function(r) {
|
|
@@ -786,11 +786,7 @@ var pr = function(e) {
|
|
|
786
786
|
this.unsubscribe();
|
|
787
787
|
}
|
|
788
788
|
}, t;
|
|
789
|
-
}(Me),
|
|
790
|
-
function je(e, t) {
|
|
791
|
-
return Bn.call(e, t);
|
|
792
|
-
}
|
|
793
|
-
var An = function() {
|
|
789
|
+
}(Me), Sn = function() {
|
|
794
790
|
function e(t) {
|
|
795
791
|
this.partialObserver = t;
|
|
796
792
|
}
|
|
@@ -821,55 +817,43 @@ var An = function() {
|
|
|
821
817
|
xe(r);
|
|
822
818
|
}
|
|
823
819
|
}, e;
|
|
824
|
-
}(),
|
|
820
|
+
}(), tt = function(e) {
|
|
825
821
|
k(t, e);
|
|
826
822
|
function t(r, n, i) {
|
|
827
823
|
var o = e.call(this) || this, a;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
};
|
|
834
|
-
else {
|
|
835
|
-
var s;
|
|
836
|
-
o && mr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
837
|
-
return o.unsubscribe();
|
|
838
|
-
}, a = {
|
|
839
|
-
next: r.next && je(r.next, s),
|
|
840
|
-
error: r.error && je(r.error, s),
|
|
841
|
-
complete: r.complete && je(r.complete, s)
|
|
842
|
-
}) : a = r;
|
|
843
|
-
}
|
|
844
|
-
return o.destination = new An(a), o;
|
|
824
|
+
return G(r) || !r ? a = {
|
|
825
|
+
next: r ?? void 0,
|
|
826
|
+
error: n ?? void 0,
|
|
827
|
+
complete: i ?? void 0
|
|
828
|
+
} : a = r, o.destination = new Sn(a), o;
|
|
845
829
|
}
|
|
846
830
|
return t;
|
|
847
|
-
}(
|
|
831
|
+
}(fr);
|
|
848
832
|
function xe(e) {
|
|
849
|
-
|
|
833
|
+
Nn(e);
|
|
850
834
|
}
|
|
851
|
-
function
|
|
835
|
+
function In(e) {
|
|
852
836
|
throw e;
|
|
853
837
|
}
|
|
854
|
-
var
|
|
838
|
+
var Bn = {
|
|
855
839
|
closed: !0,
|
|
856
|
-
next:
|
|
857
|
-
error:
|
|
858
|
-
complete:
|
|
859
|
-
},
|
|
840
|
+
next: Et,
|
|
841
|
+
error: In,
|
|
842
|
+
complete: Et
|
|
843
|
+
}, An = function() {
|
|
860
844
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
861
845
|
}();
|
|
862
|
-
function
|
|
846
|
+
function Tn(e) {
|
|
863
847
|
return e;
|
|
864
848
|
}
|
|
865
|
-
function
|
|
866
|
-
return e.length === 0 ?
|
|
849
|
+
function Hn(e) {
|
|
850
|
+
return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
|
|
867
851
|
return e.reduce(function(n, i) {
|
|
868
852
|
return i(n);
|
|
869
853
|
}, r);
|
|
870
854
|
};
|
|
871
855
|
}
|
|
872
|
-
var
|
|
856
|
+
var Nt = function() {
|
|
873
857
|
function e(t) {
|
|
874
858
|
t && (this._subscribe = t);
|
|
875
859
|
}
|
|
@@ -877,7 +861,7 @@ var It = function() {
|
|
|
877
861
|
var r = new e();
|
|
878
862
|
return r.source = this, r.operator = t, r;
|
|
879
863
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
880
|
-
var i = this, o =
|
|
864
|
+
var i = this, o = Mn(t) ? t : new tt(t, r, n);
|
|
881
865
|
return Se(function() {
|
|
882
866
|
var a = i, s = a.operator, l = a.source;
|
|
883
867
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -890,8 +874,8 @@ var It = function() {
|
|
|
890
874
|
}
|
|
891
875
|
}, e.prototype.forEach = function(t, r) {
|
|
892
876
|
var n = this;
|
|
893
|
-
return r =
|
|
894
|
-
var a = new
|
|
877
|
+
return r = St(r), new r(function(i, o) {
|
|
878
|
+
var a = new tt({
|
|
895
879
|
next: function(s) {
|
|
896
880
|
try {
|
|
897
881
|
t(s);
|
|
@@ -907,15 +891,15 @@ var It = function() {
|
|
|
907
891
|
}, e.prototype._subscribe = function(t) {
|
|
908
892
|
var r;
|
|
909
893
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
910
|
-
}, e.prototype[
|
|
894
|
+
}, e.prototype[An] = function() {
|
|
911
895
|
return this;
|
|
912
896
|
}, e.prototype.pipe = function() {
|
|
913
897
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
914
898
|
t[r] = arguments[r];
|
|
915
|
-
return
|
|
899
|
+
return Hn(t)(this);
|
|
916
900
|
}, e.prototype.toPromise = function(t) {
|
|
917
901
|
var r = this;
|
|
918
|
-
return t =
|
|
902
|
+
return t = St(t), new t(function(n, i) {
|
|
919
903
|
var o;
|
|
920
904
|
r.subscribe(function(a) {
|
|
921
905
|
return o = a;
|
|
@@ -929,32 +913,32 @@ var It = function() {
|
|
|
929
913
|
return new e(t);
|
|
930
914
|
}, e;
|
|
931
915
|
}();
|
|
932
|
-
function
|
|
916
|
+
function St(e) {
|
|
933
917
|
var t;
|
|
934
|
-
return (t = e ??
|
|
918
|
+
return (t = e ?? wn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
935
919
|
}
|
|
936
|
-
function
|
|
920
|
+
function Pn(e) {
|
|
937
921
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
938
922
|
}
|
|
939
|
-
function
|
|
940
|
-
return e && e instanceof
|
|
923
|
+
function Mn(e) {
|
|
924
|
+
return e && e instanceof fr || Pn(e) && cr(e);
|
|
941
925
|
}
|
|
942
|
-
var
|
|
926
|
+
var On = ur(function(e) {
|
|
943
927
|
return function() {
|
|
944
928
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
945
929
|
};
|
|
946
|
-
}),
|
|
930
|
+
}), dr = function(e) {
|
|
947
931
|
k(t, e);
|
|
948
932
|
function t() {
|
|
949
933
|
var r = e.call(this) || this;
|
|
950
934
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
951
935
|
}
|
|
952
936
|
return t.prototype.lift = function(r) {
|
|
953
|
-
var n = new
|
|
937
|
+
var n = new It(this, this);
|
|
954
938
|
return n.operator = r, n;
|
|
955
939
|
}, t.prototype._throwIfClosed = function() {
|
|
956
940
|
if (this.closed)
|
|
957
|
-
throw new
|
|
941
|
+
throw new On();
|
|
958
942
|
}, t.prototype.next = function(r) {
|
|
959
943
|
var n = this;
|
|
960
944
|
Se(function() {
|
|
@@ -962,7 +946,7 @@ var Fn = cr(function(e) {
|
|
|
962
946
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
963
947
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
964
948
|
try {
|
|
965
|
-
for (var a =
|
|
949
|
+
for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
966
950
|
var l = s.value;
|
|
967
951
|
l.next(r);
|
|
968
952
|
}
|
|
@@ -1011,19 +995,19 @@ var Fn = cr(function(e) {
|
|
|
1011
995
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1012
996
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1013
997
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1014
|
-
return o || a ?
|
|
1015
|
-
n.currentObservers = null,
|
|
998
|
+
return o || a ? hr : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
999
|
+
n.currentObservers = null, et(s, r);
|
|
1016
1000
|
}));
|
|
1017
1001
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1018
1002
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1019
1003
|
i ? r.error(o) : a && r.complete();
|
|
1020
1004
|
}, t.prototype.asObservable = function() {
|
|
1021
|
-
var r = new
|
|
1005
|
+
var r = new Nt();
|
|
1022
1006
|
return r.source = this, r;
|
|
1023
1007
|
}, t.create = function(r, n) {
|
|
1024
|
-
return new
|
|
1008
|
+
return new It(r, n);
|
|
1025
1009
|
}, t;
|
|
1026
|
-
}(
|
|
1010
|
+
}(Nt), It = function(e) {
|
|
1027
1011
|
k(t, e);
|
|
1028
1012
|
function t(r, n) {
|
|
1029
1013
|
var i = e.call(this) || this;
|
|
@@ -1040,17 +1024,17 @@ var Fn = cr(function(e) {
|
|
|
1040
1024
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1041
1025
|
}, t.prototype._subscribe = function(r) {
|
|
1042
1026
|
var n, i;
|
|
1043
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1027
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : hr;
|
|
1044
1028
|
}, t;
|
|
1045
|
-
}(
|
|
1029
|
+
}(dr), mr = {
|
|
1046
1030
|
now: function() {
|
|
1047
|
-
return (
|
|
1031
|
+
return (mr.delegate || Date).now();
|
|
1048
1032
|
},
|
|
1049
1033
|
delegate: void 0
|
|
1050
|
-
},
|
|
1034
|
+
}, Ln = function(e) {
|
|
1051
1035
|
k(t, e);
|
|
1052
1036
|
function t(r, n, i) {
|
|
1053
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1037
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
|
|
1054
1038
|
var o = e.call(this) || this;
|
|
1055
1039
|
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;
|
|
1056
1040
|
}
|
|
@@ -1070,15 +1054,15 @@ var Fn = cr(function(e) {
|
|
|
1070
1054
|
u && o.splice(0, u + 1);
|
|
1071
1055
|
}
|
|
1072
1056
|
}, t;
|
|
1073
|
-
}(
|
|
1074
|
-
const
|
|
1075
|
-
if (
|
|
1076
|
-
const r = new
|
|
1077
|
-
|
|
1057
|
+
}(dr);
|
|
1058
|
+
const Bt = [], At = {}, Cn = (e, t = 0) => {
|
|
1059
|
+
if (Bt.indexOf(e) == -1) {
|
|
1060
|
+
const r = new Ln(t);
|
|
1061
|
+
At[e] = r, Bt.push(e);
|
|
1078
1062
|
}
|
|
1079
|
-
return
|
|
1063
|
+
return At[e];
|
|
1080
1064
|
}, J = [];
|
|
1081
|
-
function
|
|
1065
|
+
function Fn(e, t) {
|
|
1082
1066
|
return {
|
|
1083
1067
|
subscribe: Oe(e, t).subscribe
|
|
1084
1068
|
};
|
|
@@ -1087,7 +1071,7 @@ function Oe(e, t = R) {
|
|
|
1087
1071
|
let r;
|
|
1088
1072
|
const n = /* @__PURE__ */ new Set();
|
|
1089
1073
|
function i(s) {
|
|
1090
|
-
if (
|
|
1074
|
+
if (rr(e, s) && (e = s, r)) {
|
|
1091
1075
|
const l = !J.length;
|
|
1092
1076
|
for (const u of n)
|
|
1093
1077
|
u[1](), J.push(u, e);
|
|
@@ -1114,7 +1098,7 @@ function se(e, t, r) {
|
|
|
1114
1098
|
if (!i.every(Boolean))
|
|
1115
1099
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1116
1100
|
const o = t.length < 2;
|
|
1117
|
-
return
|
|
1101
|
+
return Fn(r, (a, s) => {
|
|
1118
1102
|
let l = !1;
|
|
1119
1103
|
const u = [];
|
|
1120
1104
|
let h = 0, d = R;
|
|
@@ -1123,15 +1107,15 @@ function se(e, t, r) {
|
|
|
1123
1107
|
return;
|
|
1124
1108
|
d();
|
|
1125
1109
|
const g = t(n ? u[0] : u, a, s);
|
|
1126
|
-
o ? a(g) : d =
|
|
1110
|
+
o ? a(g) : d = ht(g) ? g : R;
|
|
1127
1111
|
}, p = i.map(
|
|
1128
|
-
(g,
|
|
1112
|
+
(g, b) => nr(
|
|
1129
1113
|
g,
|
|
1130
1114
|
(A) => {
|
|
1131
|
-
u[
|
|
1115
|
+
u[b] = A, h &= ~(1 << b), l && f();
|
|
1132
1116
|
},
|
|
1133
1117
|
() => {
|
|
1134
|
-
h |= 1 <<
|
|
1118
|
+
h |= 1 << b;
|
|
1135
1119
|
}
|
|
1136
1120
|
)
|
|
1137
1121
|
);
|
|
@@ -1140,70 +1124,70 @@ function se(e, t, r) {
|
|
|
1140
1124
|
};
|
|
1141
1125
|
});
|
|
1142
1126
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return e
|
|
1127
|
+
function Rn(e) {
|
|
1128
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1145
1129
|
}
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1130
|
+
var Un = function(t) {
|
|
1131
|
+
return Dn(t) && !Gn(t);
|
|
1148
1132
|
};
|
|
1149
|
-
function
|
|
1133
|
+
function Dn(e) {
|
|
1150
1134
|
return !!e && typeof e == "object";
|
|
1151
1135
|
}
|
|
1152
|
-
function
|
|
1136
|
+
function Gn(e) {
|
|
1153
1137
|
var t = Object.prototype.toString.call(e);
|
|
1154
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1138
|
+
return t === "[object RegExp]" || t === "[object Date]" || jn(e);
|
|
1155
1139
|
}
|
|
1156
|
-
var
|
|
1157
|
-
function
|
|
1158
|
-
return e.$$typeof ===
|
|
1140
|
+
var $n = typeof Symbol == "function" && Symbol.for, kn = $n ? Symbol.for("react.element") : 60103;
|
|
1141
|
+
function jn(e) {
|
|
1142
|
+
return e.$$typeof === kn;
|
|
1159
1143
|
}
|
|
1160
|
-
function
|
|
1144
|
+
function Wn(e) {
|
|
1161
1145
|
return Array.isArray(e) ? [] : {};
|
|
1162
1146
|
}
|
|
1163
1147
|
function pe(e, t) {
|
|
1164
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1148
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Wn(e), e, t) : e;
|
|
1165
1149
|
}
|
|
1166
|
-
function
|
|
1150
|
+
function Vn(e, t, r) {
|
|
1167
1151
|
return e.concat(t).map(function(n) {
|
|
1168
1152
|
return pe(n, r);
|
|
1169
1153
|
});
|
|
1170
1154
|
}
|
|
1171
|
-
function
|
|
1155
|
+
function Xn(e, t) {
|
|
1172
1156
|
if (!t.customMerge)
|
|
1173
1157
|
return re;
|
|
1174
1158
|
var r = t.customMerge(e);
|
|
1175
1159
|
return typeof r == "function" ? r : re;
|
|
1176
1160
|
}
|
|
1177
|
-
function
|
|
1161
|
+
function zn(e) {
|
|
1178
1162
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1179
1163
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1180
1164
|
}) : [];
|
|
1181
1165
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return Object.keys(e).concat(
|
|
1166
|
+
function Tt(e) {
|
|
1167
|
+
return Object.keys(e).concat(zn(e));
|
|
1184
1168
|
}
|
|
1185
|
-
function
|
|
1169
|
+
function pr(e, t) {
|
|
1186
1170
|
try {
|
|
1187
1171
|
return t in e;
|
|
1188
1172
|
} catch {
|
|
1189
1173
|
return !1;
|
|
1190
1174
|
}
|
|
1191
1175
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return
|
|
1176
|
+
function Zn(e, t) {
|
|
1177
|
+
return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1194
1178
|
}
|
|
1195
|
-
function
|
|
1179
|
+
function Qn(e, t, r) {
|
|
1196
1180
|
var n = {};
|
|
1197
|
-
return r.isMergeableObject(e) &&
|
|
1181
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
|
1198
1182
|
n[i] = pe(e[i], r);
|
|
1199
|
-
}),
|
|
1200
|
-
|
|
1183
|
+
}), Tt(t).forEach(function(i) {
|
|
1184
|
+
Zn(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1201
1185
|
}), n;
|
|
1202
1186
|
}
|
|
1203
1187
|
function re(e, t, r) {
|
|
1204
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1188
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1205
1189
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1206
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1190
|
+
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : pe(t, r);
|
|
1207
1191
|
}
|
|
1208
1192
|
re.all = function(t, r) {
|
|
1209
1193
|
if (!Array.isArray(t))
|
|
@@ -1212,58 +1196,60 @@ re.all = function(t, r) {
|
|
|
1212
1196
|
return re(n, i, r);
|
|
1213
1197
|
}, {});
|
|
1214
1198
|
};
|
|
1215
|
-
var
|
|
1216
|
-
const
|
|
1217
|
-
function
|
|
1218
|
-
var r = t && t.cache ? t.cache :
|
|
1199
|
+
var Yn = re, Jn = Yn;
|
|
1200
|
+
const qn = /* @__PURE__ */ Rn(Jn);
|
|
1201
|
+
function je(e, t) {
|
|
1202
|
+
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ei;
|
|
1219
1203
|
return i(e, {
|
|
1220
1204
|
cache: r,
|
|
1221
1205
|
serializer: n
|
|
1222
1206
|
});
|
|
1223
1207
|
}
|
|
1224
|
-
function
|
|
1208
|
+
function Kn(e) {
|
|
1225
1209
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1226
1210
|
}
|
|
1227
|
-
function
|
|
1228
|
-
var i =
|
|
1211
|
+
function gr(e, t, r, n) {
|
|
1212
|
+
var i = Kn(n) ? n : r(n), o = t.get(i);
|
|
1229
1213
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1230
1214
|
}
|
|
1231
|
-
function
|
|
1215
|
+
function br(e, t, r) {
|
|
1232
1216
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1233
1217
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1234
1218
|
}
|
|
1235
|
-
function
|
|
1219
|
+
function ft(e, t, r, n, i) {
|
|
1236
1220
|
return r.bind(t, e, n, i);
|
|
1237
1221
|
}
|
|
1238
|
-
function
|
|
1239
|
-
var r = e.length === 1 ?
|
|
1240
|
-
return
|
|
1222
|
+
function ei(e, t) {
|
|
1223
|
+
var r = e.length === 1 ? gr : br;
|
|
1224
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
1241
1225
|
}
|
|
1242
|
-
function
|
|
1243
|
-
return
|
|
1226
|
+
function ti(e, t) {
|
|
1227
|
+
return ft(e, this, br, t.cache.create(), t.serializer);
|
|
1244
1228
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1229
|
+
function ri(e, t) {
|
|
1230
|
+
return ft(e, this, gr, t.cache.create(), t.serializer);
|
|
1247
1231
|
}
|
|
1248
|
-
var
|
|
1232
|
+
var ni = function() {
|
|
1249
1233
|
return JSON.stringify(arguments);
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1234
|
+
}, ii = (
|
|
1235
|
+
/** @class */
|
|
1236
|
+
function() {
|
|
1237
|
+
function e() {
|
|
1238
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1239
|
+
}
|
|
1240
|
+
return e.prototype.get = function(t) {
|
|
1241
|
+
return this.cache[t];
|
|
1242
|
+
}, e.prototype.set = function(t, r) {
|
|
1243
|
+
this.cache[t] = r;
|
|
1244
|
+
}, e;
|
|
1245
|
+
}()
|
|
1246
|
+
), oi = {
|
|
1261
1247
|
create: function() {
|
|
1262
|
-
return new
|
|
1248
|
+
return new ii();
|
|
1263
1249
|
}
|
|
1264
|
-
},
|
|
1265
|
-
variadic:
|
|
1266
|
-
monadic:
|
|
1250
|
+
}, We = {
|
|
1251
|
+
variadic: ti,
|
|
1252
|
+
monadic: ri
|
|
1267
1253
|
}, _;
|
|
1268
1254
|
(function(e) {
|
|
1269
1255
|
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";
|
|
@@ -1276,43 +1262,43 @@ var ne;
|
|
|
1276
1262
|
(function(e) {
|
|
1277
1263
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1278
1264
|
})(ne || (ne = {}));
|
|
1279
|
-
function
|
|
1265
|
+
function Ht(e) {
|
|
1280
1266
|
return e.type === I.literal;
|
|
1281
1267
|
}
|
|
1282
|
-
function
|
|
1268
|
+
function ai(e) {
|
|
1283
1269
|
return e.type === I.argument;
|
|
1284
1270
|
}
|
|
1285
|
-
function
|
|
1271
|
+
function vr(e) {
|
|
1286
1272
|
return e.type === I.number;
|
|
1287
1273
|
}
|
|
1288
|
-
function
|
|
1274
|
+
function yr(e) {
|
|
1289
1275
|
return e.type === I.date;
|
|
1290
1276
|
}
|
|
1291
|
-
function
|
|
1277
|
+
function _r(e) {
|
|
1292
1278
|
return e.type === I.time;
|
|
1293
1279
|
}
|
|
1294
|
-
function
|
|
1280
|
+
function xr(e) {
|
|
1295
1281
|
return e.type === I.select;
|
|
1296
1282
|
}
|
|
1297
|
-
function
|
|
1283
|
+
function wr(e) {
|
|
1298
1284
|
return e.type === I.plural;
|
|
1299
1285
|
}
|
|
1300
|
-
function
|
|
1286
|
+
function si(e) {
|
|
1301
1287
|
return e.type === I.pound;
|
|
1302
1288
|
}
|
|
1303
|
-
function
|
|
1289
|
+
function Er(e) {
|
|
1304
1290
|
return e.type === I.tag;
|
|
1305
1291
|
}
|
|
1306
|
-
function
|
|
1292
|
+
function Nr(e) {
|
|
1307
1293
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1308
1294
|
}
|
|
1309
|
-
function
|
|
1295
|
+
function rt(e) {
|
|
1310
1296
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1311
1297
|
}
|
|
1312
|
-
var
|
|
1313
|
-
function
|
|
1298
|
+
var Sr = /[ \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;
|
|
1299
|
+
function ui(e) {
|
|
1314
1300
|
var t = {};
|
|
1315
|
-
return e.replace(
|
|
1301
|
+
return e.replace(li, function(r) {
|
|
1316
1302
|
var n = r.length;
|
|
1317
1303
|
switch (r[0]) {
|
|
1318
1304
|
case "G":
|
|
@@ -1401,11 +1387,11 @@ function ci(e) {
|
|
|
1401
1387
|
return "";
|
|
1402
1388
|
}), t;
|
|
1403
1389
|
}
|
|
1404
|
-
var
|
|
1405
|
-
function
|
|
1390
|
+
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1391
|
+
function ci(e) {
|
|
1406
1392
|
if (e.length === 0)
|
|
1407
1393
|
throw new Error("Number skeleton cannot be empty");
|
|
1408
|
-
for (var t = e.split(
|
|
1394
|
+
for (var t = e.split(hi).filter(function(f) {
|
|
1409
1395
|
return f.length > 0;
|
|
1410
1396
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1411
1397
|
var o = i[n], a = o.split("/");
|
|
@@ -1420,17 +1406,17 @@ function di(e) {
|
|
|
1420
1406
|
}
|
|
1421
1407
|
return r;
|
|
1422
1408
|
}
|
|
1423
|
-
function
|
|
1409
|
+
function fi(e) {
|
|
1424
1410
|
return e.replace(/^(.*?)-/, "");
|
|
1425
1411
|
}
|
|
1426
|
-
var
|
|
1427
|
-
function
|
|
1412
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ir = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Br = /^(0+)$/;
|
|
1413
|
+
function Mt(e) {
|
|
1428
1414
|
var t = {};
|
|
1429
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1415
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ir, function(r, n, i) {
|
|
1430
1416
|
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)), "";
|
|
1431
1417
|
}), t;
|
|
1432
1418
|
}
|
|
1433
|
-
function
|
|
1419
|
+
function Ar(e) {
|
|
1434
1420
|
switch (e) {
|
|
1435
1421
|
case "sign-auto":
|
|
1436
1422
|
return {
|
|
@@ -1470,7 +1456,7 @@ function Pr(e) {
|
|
|
1470
1456
|
};
|
|
1471
1457
|
}
|
|
1472
1458
|
}
|
|
1473
|
-
function
|
|
1459
|
+
function mi(e) {
|
|
1474
1460
|
var t;
|
|
1475
1461
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1476
1462
|
notation: "engineering"
|
|
@@ -1478,17 +1464,17 @@ function gi(e) {
|
|
|
1478
1464
|
notation: "scientific"
|
|
1479
1465
|
}, e = e.slice(1)), t) {
|
|
1480
1466
|
var r = e.slice(0, 2);
|
|
1481
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1467
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Br.test(e))
|
|
1482
1468
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1483
1469
|
t.minimumIntegerDigits = e.length;
|
|
1484
1470
|
}
|
|
1485
1471
|
return t;
|
|
1486
1472
|
}
|
|
1487
|
-
function
|
|
1488
|
-
var t = {}, r =
|
|
1473
|
+
function Ot(e) {
|
|
1474
|
+
var t = {}, r = Ar(e);
|
|
1489
1475
|
return r || t;
|
|
1490
1476
|
}
|
|
1491
|
-
function
|
|
1477
|
+
function pi(e) {
|
|
1492
1478
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1493
1479
|
var i = n[r];
|
|
1494
1480
|
switch (i.stem) {
|
|
@@ -1512,7 +1498,7 @@ function vi(e) {
|
|
|
1512
1498
|
continue;
|
|
1513
1499
|
case "measure-unit":
|
|
1514
1500
|
case "unit":
|
|
1515
|
-
t.style = "unit", t.unit =
|
|
1501
|
+
t.style = "unit", t.unit = fi(i.options[0]);
|
|
1516
1502
|
continue;
|
|
1517
1503
|
case "compact-short":
|
|
1518
1504
|
case "K":
|
|
@@ -1524,12 +1510,12 @@ function vi(e) {
|
|
|
1524
1510
|
continue;
|
|
1525
1511
|
case "scientific":
|
|
1526
1512
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1527
|
-
return w(w({}, l),
|
|
1513
|
+
return w(w({}, l), Ot(u));
|
|
1528
1514
|
}, {}));
|
|
1529
1515
|
continue;
|
|
1530
1516
|
case "engineering":
|
|
1531
1517
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1532
|
-
return w(w({}, l),
|
|
1518
|
+
return w(w({}, l), Ot(u));
|
|
1533
1519
|
}, {}));
|
|
1534
1520
|
continue;
|
|
1535
1521
|
case "notation-simple":
|
|
@@ -1574,7 +1560,7 @@ function vi(e) {
|
|
|
1574
1560
|
case "integer-width":
|
|
1575
1561
|
if (i.options.length > 1)
|
|
1576
1562
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1577
|
-
i.options[0].replace(
|
|
1563
|
+
i.options[0].replace(di, function(l, u, h, d, f, p) {
|
|
1578
1564
|
if (u)
|
|
1579
1565
|
t.minimumIntegerDigits = h.length;
|
|
1580
1566
|
else {
|
|
@@ -1587,27 +1573,27 @@ function vi(e) {
|
|
|
1587
1573
|
});
|
|
1588
1574
|
continue;
|
|
1589
1575
|
}
|
|
1590
|
-
if (
|
|
1576
|
+
if (Br.test(i.stem)) {
|
|
1591
1577
|
t.minimumIntegerDigits = i.stem.length;
|
|
1592
1578
|
continue;
|
|
1593
1579
|
}
|
|
1594
|
-
if (
|
|
1580
|
+
if (Pt.test(i.stem)) {
|
|
1595
1581
|
if (i.options.length > 1)
|
|
1596
1582
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1597
|
-
i.stem.replace(
|
|
1583
|
+
i.stem.replace(Pt, function(l, u, h, d, f, p) {
|
|
1598
1584
|
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), "";
|
|
1599
1585
|
});
|
|
1600
1586
|
var o = i.options[0];
|
|
1601
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1587
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Mt(o)));
|
|
1602
1588
|
continue;
|
|
1603
1589
|
}
|
|
1604
|
-
if (
|
|
1605
|
-
t = w(w({}, t),
|
|
1590
|
+
if (Ir.test(i.stem)) {
|
|
1591
|
+
t = w(w({}, t), Mt(i.stem));
|
|
1606
1592
|
continue;
|
|
1607
1593
|
}
|
|
1608
|
-
var a =
|
|
1594
|
+
var a = Ar(i.stem);
|
|
1609
1595
|
a && (t = w(w({}, t), a));
|
|
1610
|
-
var s =
|
|
1596
|
+
var s = mi(i.stem);
|
|
1611
1597
|
s && (t = w(w({}, t), s));
|
|
1612
1598
|
}
|
|
1613
1599
|
return t;
|
|
@@ -3027,13 +3013,13 @@ var we = {
|
|
|
3027
3013
|
"h"
|
|
3028
3014
|
]
|
|
3029
3015
|
};
|
|
3030
|
-
function
|
|
3016
|
+
function gi(e, t) {
|
|
3031
3017
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3032
3018
|
var i = e.charAt(n);
|
|
3033
3019
|
if (i === "j") {
|
|
3034
3020
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3035
3021
|
o++, n++;
|
|
3036
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3022
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = bi(t);
|
|
3037
3023
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3038
3024
|
r += l;
|
|
3039
3025
|
for (; a-- > 0; )
|
|
@@ -3043,7 +3029,7 @@ function bi(e, t) {
|
|
|
3043
3029
|
}
|
|
3044
3030
|
return r;
|
|
3045
3031
|
}
|
|
3046
|
-
function
|
|
3032
|
+
function bi(e) {
|
|
3047
3033
|
var t = e.hourCycle;
|
|
3048
3034
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3049
3035
|
e.hourCycles && // @ts-ignore
|
|
@@ -3065,20 +3051,20 @@ function yi(e) {
|
|
|
3065
3051
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3066
3052
|
return i[0];
|
|
3067
3053
|
}
|
|
3068
|
-
var
|
|
3054
|
+
var Ve, vi = new RegExp("^".concat(Sr.source, "*")), yi = new RegExp("".concat(Sr.source, "*$"));
|
|
3069
3055
|
function x(e, t) {
|
|
3070
3056
|
return { start: e, end: t };
|
|
3071
3057
|
}
|
|
3072
|
-
var
|
|
3058
|
+
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, Bi = Ii ? Number.isSafeInteger : function(e) {
|
|
3073
3059
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3074
|
-
},
|
|
3060
|
+
}, nt = !0;
|
|
3075
3061
|
try {
|
|
3076
|
-
var
|
|
3077
|
-
|
|
3062
|
+
var Ai = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3063
|
+
nt = ((Ve = Ai.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
|
3078
3064
|
} catch {
|
|
3079
|
-
|
|
3065
|
+
nt = !1;
|
|
3080
3066
|
}
|
|
3081
|
-
var
|
|
3067
|
+
var Lt = _i ? (
|
|
3082
3068
|
// Native
|
|
3083
3069
|
function(t, r, n) {
|
|
3084
3070
|
return t.startsWith(r, n);
|
|
@@ -3088,7 +3074,7 @@ var Ft = wi ? (
|
|
|
3088
3074
|
function(t, r, n) {
|
|
3089
3075
|
return t.slice(n, n + r.length) === r;
|
|
3090
3076
|
}
|
|
3091
|
-
),
|
|
3077
|
+
), it = xi ? String.fromCodePoint : (
|
|
3092
3078
|
// IE11
|
|
3093
3079
|
function() {
|
|
3094
3080
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3100,9 +3086,9 @@ var Ft = wi ? (
|
|
|
3100
3086
|
}
|
|
3101
3087
|
return n;
|
|
3102
3088
|
}
|
|
3103
|
-
),
|
|
3089
|
+
), Ct = (
|
|
3104
3090
|
// native
|
|
3105
|
-
|
|
3091
|
+
wi ? Object.fromEntries : (
|
|
3106
3092
|
// Ponyfill
|
|
3107
3093
|
function(t) {
|
|
3108
3094
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3112,7 +3098,7 @@ var Ft = wi ? (
|
|
|
3112
3098
|
return r;
|
|
3113
3099
|
}
|
|
3114
3100
|
)
|
|
3115
|
-
),
|
|
3101
|
+
), Tr = Ei ? (
|
|
3116
3102
|
// Native
|
|
3117
3103
|
function(t, r) {
|
|
3118
3104
|
return t.codePointAt(r);
|
|
@@ -3126,7 +3112,7 @@ var Ft = wi ? (
|
|
|
3126
3112
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3127
3113
|
}
|
|
3128
3114
|
}
|
|
3129
|
-
),
|
|
3115
|
+
), Ti = Ni ? (
|
|
3130
3116
|
// Native
|
|
3131
3117
|
function(t) {
|
|
3132
3118
|
return t.trimStart();
|
|
@@ -3134,9 +3120,9 @@ var Ft = wi ? (
|
|
|
3134
3120
|
) : (
|
|
3135
3121
|
// Ponyfill
|
|
3136
3122
|
function(t) {
|
|
3137
|
-
return t.replace(
|
|
3123
|
+
return t.replace(vi, "");
|
|
3138
3124
|
}
|
|
3139
|
-
),
|
|
3125
|
+
), Hi = Si ? (
|
|
3140
3126
|
// Native
|
|
3141
3127
|
function(t) {
|
|
3142
3128
|
return t.trimEnd();
|
|
@@ -3144,32 +3130,32 @@ var Ft = wi ? (
|
|
|
3144
3130
|
) : (
|
|
3145
3131
|
// Ponyfill
|
|
3146
3132
|
function(t) {
|
|
3147
|
-
return t.replace(
|
|
3133
|
+
return t.replace(yi, "");
|
|
3148
3134
|
}
|
|
3149
3135
|
);
|
|
3150
|
-
function
|
|
3136
|
+
function Hr(e, t) {
|
|
3151
3137
|
return new RegExp(e, t);
|
|
3152
3138
|
}
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
var
|
|
3156
|
-
|
|
3139
|
+
var ot;
|
|
3140
|
+
if (nt) {
|
|
3141
|
+
var Ft = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3142
|
+
ot = function(t, r) {
|
|
3157
3143
|
var n;
|
|
3158
|
-
|
|
3159
|
-
var i =
|
|
3144
|
+
Ft.lastIndex = r;
|
|
3145
|
+
var i = Ft.exec(t);
|
|
3160
3146
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3161
3147
|
};
|
|
3162
3148
|
} else
|
|
3163
|
-
|
|
3149
|
+
ot = function(t, r) {
|
|
3164
3150
|
for (var n = []; ; ) {
|
|
3165
|
-
var i =
|
|
3166
|
-
if (i === void 0 ||
|
|
3151
|
+
var i = Tr(t, r);
|
|
3152
|
+
if (i === void 0 || Pr(i) || Li(i))
|
|
3167
3153
|
break;
|
|
3168
3154
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3169
3155
|
}
|
|
3170
|
-
return
|
|
3156
|
+
return it.apply(void 0, n);
|
|
3171
3157
|
};
|
|
3172
|
-
var
|
|
3158
|
+
var Pi = (
|
|
3173
3159
|
/** @class */
|
|
3174
3160
|
function() {
|
|
3175
3161
|
function e(t, r) {
|
|
@@ -3200,7 +3186,7 @@ var Oi = (
|
|
|
3200
3186
|
if (n)
|
|
3201
3187
|
break;
|
|
3202
3188
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3203
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3189
|
+
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3204
3190
|
var a = this.parseTag(t, r);
|
|
3205
3191
|
if (a.err)
|
|
3206
3192
|
return a;
|
|
@@ -3233,7 +3219,7 @@ var Oi = (
|
|
|
3233
3219
|
return o;
|
|
3234
3220
|
var a = o.val, s = this.clonePosition();
|
|
3235
3221
|
if (this.bumpIf("</")) {
|
|
3236
|
-
if (this.isEOF() || !
|
|
3222
|
+
if (this.isEOF() || !at(this.char()))
|
|
3237
3223
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3238
3224
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3239
3225
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3251,7 +3237,7 @@ var Oi = (
|
|
|
3251
3237
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3252
3238
|
}, e.prototype.parseTagName = function() {
|
|
3253
3239
|
var t = this.offset();
|
|
3254
|
-
for (this.bump(); !this.isEOF() &&
|
|
3240
|
+
for (this.bump(); !this.isEOF() && Oi(this.char()); )
|
|
3255
3241
|
this.bump();
|
|
3256
3242
|
return this.message.slice(t, this.offset());
|
|
3257
3243
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3280,7 +3266,7 @@ var Oi = (
|
|
|
3280
3266
|
};
|
|
3281
3267
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3282
3268
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3283
|
-
!
|
|
3269
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3284
3270
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3285
3271
|
if (this.isEOF() || this.char() !== 39)
|
|
3286
3272
|
return null;
|
|
@@ -3314,12 +3300,12 @@ var Oi = (
|
|
|
3314
3300
|
r.push(n);
|
|
3315
3301
|
this.bump();
|
|
3316
3302
|
}
|
|
3317
|
-
return
|
|
3303
|
+
return it.apply(void 0, r);
|
|
3318
3304
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3319
3305
|
if (this.isEOF())
|
|
3320
3306
|
return null;
|
|
3321
3307
|
var n = this.char();
|
|
3322
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3308
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
|
|
3323
3309
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3324
3310
|
var n = this.clonePosition();
|
|
3325
3311
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3348,7 +3334,7 @@ var Oi = (
|
|
|
3348
3334
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3349
3335
|
}
|
|
3350
3336
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3351
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3337
|
+
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3352
3338
|
this.bumpTo(i);
|
|
3353
3339
|
var o = this.clonePosition(), a = x(t, o);
|
|
3354
3340
|
return { value: n, location: a };
|
|
@@ -3367,7 +3353,7 @@ var Oi = (
|
|
|
3367
3353
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3368
3354
|
if (d.err)
|
|
3369
3355
|
return d;
|
|
3370
|
-
var f =
|
|
3356
|
+
var f = Hi(d.val);
|
|
3371
3357
|
if (f.length === 0)
|
|
3372
3358
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3373
3359
|
var p = x(h, this.clonePosition());
|
|
@@ -3376,28 +3362,28 @@ var Oi = (
|
|
|
3376
3362
|
var g = this.tryParseArgumentClose(i);
|
|
3377
3363
|
if (g.err)
|
|
3378
3364
|
return g;
|
|
3379
|
-
var
|
|
3380
|
-
if (u &&
|
|
3381
|
-
var A =
|
|
3365
|
+
var b = x(i, this.clonePosition());
|
|
3366
|
+
if (u && Lt(u?.style, "::", 0)) {
|
|
3367
|
+
var A = Ti(u.style.slice(2));
|
|
3382
3368
|
if (s === "number") {
|
|
3383
3369
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3384
3370
|
return d.err ? d : {
|
|
3385
|
-
val: { type: I.number, value: n, location:
|
|
3371
|
+
val: { type: I.number, value: n, location: b, style: d.val },
|
|
3386
3372
|
err: null
|
|
3387
3373
|
};
|
|
3388
3374
|
} else {
|
|
3389
3375
|
if (A.length === 0)
|
|
3390
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
3376
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3391
3377
|
var S = A;
|
|
3392
|
-
this.locale && (S =
|
|
3378
|
+
this.locale && (S = gi(A, this.locale));
|
|
3393
3379
|
var f = {
|
|
3394
3380
|
type: ne.dateTime,
|
|
3395
3381
|
pattern: S,
|
|
3396
3382
|
location: u.styleLocation,
|
|
3397
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3398
|
-
},
|
|
3383
|
+
parsedOptions: this.shouldParseSkeletons ? ui(S) : {}
|
|
3384
|
+
}, v = s === "date" ? I.date : I.time;
|
|
3399
3385
|
return {
|
|
3400
|
-
val: { type:
|
|
3386
|
+
val: { type: v, value: n, location: b, style: f },
|
|
3401
3387
|
err: null
|
|
3402
3388
|
};
|
|
3403
3389
|
}
|
|
@@ -3406,7 +3392,7 @@ var Oi = (
|
|
|
3406
3392
|
val: {
|
|
3407
3393
|
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3408
3394
|
value: n,
|
|
3409
|
-
location:
|
|
3395
|
+
location: b,
|
|
3410
3396
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3411
3397
|
},
|
|
3412
3398
|
err: null
|
|
@@ -3440,7 +3426,7 @@ var Oi = (
|
|
|
3440
3426
|
val: {
|
|
3441
3427
|
type: I.select,
|
|
3442
3428
|
value: n,
|
|
3443
|
-
options:
|
|
3429
|
+
options: Ct(j.val),
|
|
3444
3430
|
location: Q
|
|
3445
3431
|
},
|
|
3446
3432
|
err: null
|
|
@@ -3448,7 +3434,7 @@ var Oi = (
|
|
|
3448
3434
|
val: {
|
|
3449
3435
|
type: I.plural,
|
|
3450
3436
|
value: n,
|
|
3451
|
-
options:
|
|
3437
|
+
options: Ct(j.val),
|
|
3452
3438
|
offset: T,
|
|
3453
3439
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3454
3440
|
location: Q
|
|
@@ -3499,7 +3485,7 @@ var Oi = (
|
|
|
3499
3485
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3500
3486
|
var n = [];
|
|
3501
3487
|
try {
|
|
3502
|
-
n =
|
|
3488
|
+
n = ci(t);
|
|
3503
3489
|
} catch {
|
|
3504
3490
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3505
3491
|
}
|
|
@@ -3508,7 +3494,7 @@ var Oi = (
|
|
|
3508
3494
|
type: ne.number,
|
|
3509
3495
|
tokens: n,
|
|
3510
3496
|
location: r,
|
|
3511
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3497
|
+
parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
|
|
3512
3498
|
},
|
|
3513
3499
|
err: null
|
|
3514
3500
|
};
|
|
@@ -3533,9 +3519,9 @@ var Oi = (
|
|
|
3533
3519
|
var g = this.parseMessage(t + 1, r, n);
|
|
3534
3520
|
if (g.err)
|
|
3535
3521
|
return g;
|
|
3536
|
-
var
|
|
3537
|
-
if (
|
|
3538
|
-
return
|
|
3522
|
+
var b = this.tryParseArgumentClose(p);
|
|
3523
|
+
if (b.err)
|
|
3524
|
+
return b;
|
|
3539
3525
|
s.push([
|
|
3540
3526
|
u,
|
|
3541
3527
|
{
|
|
@@ -3556,7 +3542,7 @@ var Oi = (
|
|
|
3556
3542
|
break;
|
|
3557
3543
|
}
|
|
3558
3544
|
var l = x(i, this.clonePosition());
|
|
3559
|
-
return o ? (a *= n,
|
|
3545
|
+
return o ? (a *= n, Bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3560
3546
|
}, e.prototype.offset = function() {
|
|
3561
3547
|
return this.position.offset;
|
|
3562
3548
|
}, e.prototype.isEOF = function() {
|
|
@@ -3571,7 +3557,7 @@ var Oi = (
|
|
|
3571
3557
|
var t = this.position.offset;
|
|
3572
3558
|
if (t >= this.message.length)
|
|
3573
3559
|
throw Error("out of bound");
|
|
3574
|
-
var r =
|
|
3560
|
+
var r = Tr(this.message, t);
|
|
3575
3561
|
if (r === void 0)
|
|
3576
3562
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3577
3563
|
return r;
|
|
@@ -3590,7 +3576,7 @@ var Oi = (
|
|
|
3590
3576
|
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);
|
|
3591
3577
|
}
|
|
3592
3578
|
}, e.prototype.bumpIf = function(t) {
|
|
3593
|
-
if (
|
|
3579
|
+
if (Lt(this.message, t, this.offset())) {
|
|
3594
3580
|
for (var r = 0; r < t.length; r++)
|
|
3595
3581
|
this.bump();
|
|
3596
3582
|
return !0;
|
|
@@ -3612,7 +3598,7 @@ var Oi = (
|
|
|
3612
3598
|
break;
|
|
3613
3599
|
}
|
|
3614
3600
|
}, e.prototype.bumpSpace = function() {
|
|
3615
|
-
for (; !this.isEOF() &&
|
|
3601
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3616
3602
|
this.bump();
|
|
3617
3603
|
}, e.prototype.peek = function() {
|
|
3618
3604
|
if (this.isEOF())
|
|
@@ -3622,38 +3608,38 @@ var Oi = (
|
|
|
3622
3608
|
}, e;
|
|
3623
3609
|
}()
|
|
3624
3610
|
);
|
|
3625
|
-
function
|
|
3611
|
+
function at(e) {
|
|
3626
3612
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3627
3613
|
}
|
|
3628
|
-
function
|
|
3629
|
-
return
|
|
3614
|
+
function Mi(e) {
|
|
3615
|
+
return at(e) || e === 47;
|
|
3630
3616
|
}
|
|
3631
|
-
function
|
|
3617
|
+
function Oi(e) {
|
|
3632
3618
|
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;
|
|
3633
3619
|
}
|
|
3634
|
-
function
|
|
3620
|
+
function Pr(e) {
|
|
3635
3621
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3636
3622
|
}
|
|
3637
|
-
function
|
|
3623
|
+
function Li(e) {
|
|
3638
3624
|
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;
|
|
3639
3625
|
}
|
|
3640
|
-
function
|
|
3626
|
+
function st(e) {
|
|
3641
3627
|
e.forEach(function(t) {
|
|
3642
|
-
if (delete t.location,
|
|
3628
|
+
if (delete t.location, xr(t) || wr(t))
|
|
3643
3629
|
for (var r in t.options)
|
|
3644
|
-
delete t.options[r].location,
|
|
3630
|
+
delete t.options[r].location, st(t.options[r].value);
|
|
3645
3631
|
else
|
|
3646
|
-
|
|
3632
|
+
vr(t) && Nr(t.style) || (yr(t) || _r(t)) && rt(t.style) ? delete t.style.location : Er(t) && st(t.children);
|
|
3647
3633
|
});
|
|
3648
3634
|
}
|
|
3649
|
-
function
|
|
3635
|
+
function Ci(e, t) {
|
|
3650
3636
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3651
|
-
var r = new
|
|
3637
|
+
var r = new Pi(e, t).parse();
|
|
3652
3638
|
if (r.err) {
|
|
3653
3639
|
var n = SyntaxError(_[r.err.kind]);
|
|
3654
3640
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3655
3641
|
}
|
|
3656
|
-
return t?.captureLocation ||
|
|
3642
|
+
return t?.captureLocation || st(r.val), r.val;
|
|
3657
3643
|
}
|
|
3658
3644
|
var ie;
|
|
3659
3645
|
(function(e) {
|
|
@@ -3671,7 +3657,7 @@ var Le = (
|
|
|
3671
3657
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3672
3658
|
}, t;
|
|
3673
3659
|
}(Error)
|
|
3674
|
-
),
|
|
3660
|
+
), Rt = (
|
|
3675
3661
|
/** @class */
|
|
3676
3662
|
function(e) {
|
|
3677
3663
|
k(t, e);
|
|
@@ -3680,7 +3666,7 @@ var Le = (
|
|
|
3680
3666
|
}
|
|
3681
3667
|
return t;
|
|
3682
3668
|
}(Le)
|
|
3683
|
-
),
|
|
3669
|
+
), Fi = (
|
|
3684
3670
|
/** @class */
|
|
3685
3671
|
function(e) {
|
|
3686
3672
|
k(t, e);
|
|
@@ -3689,7 +3675,7 @@ var Le = (
|
|
|
3689
3675
|
}
|
|
3690
3676
|
return t;
|
|
3691
3677
|
}(Le)
|
|
3692
|
-
),
|
|
3678
|
+
), Ri = (
|
|
3693
3679
|
/** @class */
|
|
3694
3680
|
function(e) {
|
|
3695
3681
|
k(t, e);
|
|
@@ -3702,17 +3688,17 @@ var Le = (
|
|
|
3702
3688
|
(function(e) {
|
|
3703
3689
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3704
3690
|
})(M || (M = {}));
|
|
3705
|
-
function
|
|
3691
|
+
function Ui(e) {
|
|
3706
3692
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3707
3693
|
var n = t[t.length - 1];
|
|
3708
3694
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3709
3695
|
}, []);
|
|
3710
3696
|
}
|
|
3711
|
-
function
|
|
3697
|
+
function Di(e) {
|
|
3712
3698
|
return typeof e == "function";
|
|
3713
3699
|
}
|
|
3714
3700
|
function Ie(e, t, r, n, i, o, a) {
|
|
3715
|
-
if (e.length === 1 &&
|
|
3701
|
+
if (e.length === 1 && Ht(e[0]))
|
|
3716
3702
|
return [
|
|
3717
3703
|
{
|
|
3718
3704
|
type: M.literal,
|
|
@@ -3721,14 +3707,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3721
3707
|
];
|
|
3722
3708
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3723
3709
|
var h = u[l];
|
|
3724
|
-
if (
|
|
3710
|
+
if (Ht(h)) {
|
|
3725
3711
|
s.push({
|
|
3726
3712
|
type: M.literal,
|
|
3727
3713
|
value: h.value
|
|
3728
3714
|
});
|
|
3729
3715
|
continue;
|
|
3730
3716
|
}
|
|
3731
|
-
if (
|
|
3717
|
+
if (si(h)) {
|
|
3732
3718
|
typeof o == "number" && s.push({
|
|
3733
3719
|
type: M.literal,
|
|
3734
3720
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3737,61 +3723,61 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3737
3723
|
}
|
|
3738
3724
|
var d = h.value;
|
|
3739
3725
|
if (!(i && d in i))
|
|
3740
|
-
throw new
|
|
3726
|
+
throw new Ri(d, a);
|
|
3741
3727
|
var f = i[d];
|
|
3742
|
-
if (
|
|
3728
|
+
if (ai(h)) {
|
|
3743
3729
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3744
3730
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3745
3731
|
value: f
|
|
3746
3732
|
});
|
|
3747
3733
|
continue;
|
|
3748
3734
|
}
|
|
3749
|
-
if (
|
|
3750
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3735
|
+
if (yr(h)) {
|
|
3736
|
+
var p = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
|
|
3751
3737
|
s.push({
|
|
3752
3738
|
type: M.literal,
|
|
3753
3739
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3754
3740
|
});
|
|
3755
3741
|
continue;
|
|
3756
3742
|
}
|
|
3757
|
-
if (
|
|
3758
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3743
|
+
if (_r(h)) {
|
|
3744
|
+
var p = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3759
3745
|
s.push({
|
|
3760
3746
|
type: M.literal,
|
|
3761
3747
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3762
3748
|
});
|
|
3763
3749
|
continue;
|
|
3764
3750
|
}
|
|
3765
|
-
if (
|
|
3766
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3751
|
+
if (vr(h)) {
|
|
3752
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3767
3753
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3768
3754
|
type: M.literal,
|
|
3769
3755
|
value: r.getNumberFormat(t, p).format(f)
|
|
3770
3756
|
});
|
|
3771
3757
|
continue;
|
|
3772
3758
|
}
|
|
3773
|
-
if (
|
|
3774
|
-
var g = h.children,
|
|
3775
|
-
if (
|
|
3776
|
-
throw new
|
|
3777
|
-
var S = Ie(g, t, r, n, i, o),
|
|
3759
|
+
if (Er(h)) {
|
|
3760
|
+
var g = h.children, b = h.value, A = i[b];
|
|
3761
|
+
if (!Di(A))
|
|
3762
|
+
throw new Fi(b, "function", a);
|
|
3763
|
+
var S = Ie(g, t, r, n, i, o), v = A(S.map(function(T) {
|
|
3778
3764
|
return T.value;
|
|
3779
3765
|
}));
|
|
3780
|
-
Array.isArray(
|
|
3766
|
+
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(T) {
|
|
3781
3767
|
return {
|
|
3782
3768
|
type: typeof T == "string" ? M.literal : M.object,
|
|
3783
3769
|
value: T
|
|
3784
3770
|
};
|
|
3785
3771
|
}));
|
|
3786
3772
|
}
|
|
3787
|
-
if (
|
|
3773
|
+
if (xr(h)) {
|
|
3788
3774
|
var N = h.options[f] || h.options.other;
|
|
3789
3775
|
if (!N)
|
|
3790
|
-
throw new
|
|
3776
|
+
throw new Rt(h.value, f, Object.keys(h.options), a);
|
|
3791
3777
|
s.push.apply(s, Ie(N.value, t, r, n, i));
|
|
3792
3778
|
continue;
|
|
3793
3779
|
}
|
|
3794
|
-
if (
|
|
3780
|
+
if (wr(h)) {
|
|
3795
3781
|
var N = h.options["=".concat(f)];
|
|
3796
3782
|
if (!N) {
|
|
3797
3783
|
if (!Intl.PluralRules)
|
|
@@ -3802,24 +3788,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3802
3788
|
N = h.options[E] || h.options.other;
|
|
3803
3789
|
}
|
|
3804
3790
|
if (!N)
|
|
3805
|
-
throw new
|
|
3791
|
+
throw new Rt(h.value, f, Object.keys(h.options), a);
|
|
3806
3792
|
s.push.apply(s, Ie(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3807
3793
|
continue;
|
|
3808
3794
|
}
|
|
3809
3795
|
}
|
|
3810
|
-
return
|
|
3796
|
+
return Ui(s);
|
|
3811
3797
|
}
|
|
3812
|
-
function
|
|
3798
|
+
function Gi(e, t) {
|
|
3813
3799
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3814
3800
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3815
3801
|
}, {})) : e;
|
|
3816
3802
|
}
|
|
3817
|
-
function
|
|
3803
|
+
function $i(e, t) {
|
|
3818
3804
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3819
|
-
return r[n] =
|
|
3805
|
+
return r[n] = Gi(e[n], t[n]), r;
|
|
3820
3806
|
}, w({}, e)) : e;
|
|
3821
3807
|
}
|
|
3822
|
-
function
|
|
3808
|
+
function Xe(e) {
|
|
3823
3809
|
return {
|
|
3824
3810
|
create: function() {
|
|
3825
3811
|
return {
|
|
@@ -3833,39 +3819,39 @@ function ze(e) {
|
|
|
3833
3819
|
}
|
|
3834
3820
|
};
|
|
3835
3821
|
}
|
|
3836
|
-
function
|
|
3822
|
+
function ki(e) {
|
|
3837
3823
|
return e === void 0 && (e = {
|
|
3838
3824
|
number: {},
|
|
3839
3825
|
dateTime: {},
|
|
3840
3826
|
pluralRules: {}
|
|
3841
3827
|
}), {
|
|
3842
|
-
getNumberFormat:
|
|
3828
|
+
getNumberFormat: je(function() {
|
|
3843
3829
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3844
3830
|
r[n] = arguments[n];
|
|
3845
3831
|
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3846
3832
|
}, {
|
|
3847
|
-
cache:
|
|
3848
|
-
strategy:
|
|
3833
|
+
cache: Xe(e.number),
|
|
3834
|
+
strategy: We.variadic
|
|
3849
3835
|
}),
|
|
3850
|
-
getDateTimeFormat:
|
|
3836
|
+
getDateTimeFormat: je(function() {
|
|
3851
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3852
3838
|
r[n] = arguments[n];
|
|
3853
3839
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3854
3840
|
}, {
|
|
3855
|
-
cache:
|
|
3856
|
-
strategy:
|
|
3841
|
+
cache: Xe(e.dateTime),
|
|
3842
|
+
strategy: We.variadic
|
|
3857
3843
|
}),
|
|
3858
|
-
getPluralRules:
|
|
3844
|
+
getPluralRules: je(function() {
|
|
3859
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3860
3846
|
r[n] = arguments[n];
|
|
3861
3847
|
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
|
|
3862
3848
|
}, {
|
|
3863
|
-
cache:
|
|
3864
|
-
strategy:
|
|
3849
|
+
cache: Xe(e.pluralRules),
|
|
3850
|
+
strategy: We.variadic
|
|
3865
3851
|
})
|
|
3866
3852
|
};
|
|
3867
3853
|
}
|
|
3868
|
-
var
|
|
3854
|
+
var ji = (
|
|
3869
3855
|
/** @class */
|
|
3870
3856
|
function() {
|
|
3871
3857
|
function e(t, r, n, i) {
|
|
@@ -3897,13 +3883,13 @@ var Vi = (
|
|
|
3897
3883
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3898
3884
|
var a = i || {};
|
|
3899
3885
|
a.formatters;
|
|
3900
|
-
var s =
|
|
3886
|
+
var s = xn(a, ["formatters"]);
|
|
3901
3887
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3902
3888
|
} else
|
|
3903
3889
|
this.ast = t;
|
|
3904
3890
|
if (!Array.isArray(this.ast))
|
|
3905
3891
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3906
|
-
this.formats =
|
|
3892
|
+
this.formats = $i(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
3907
3893
|
}
|
|
3908
3894
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3909
3895
|
get: function() {
|
|
@@ -3916,7 +3902,7 @@ var Vi = (
|
|
|
3916
3902
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3917
3903
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3918
3904
|
}
|
|
3919
|
-
}, e.__parse =
|
|
3905
|
+
}, e.__parse = Ci, e.formats = {
|
|
3920
3906
|
number: {
|
|
3921
3907
|
integer: {
|
|
3922
3908
|
maximumFractionDigits: 0
|
|
@@ -3977,7 +3963,7 @@ var Vi = (
|
|
|
3977
3963
|
}, e;
|
|
3978
3964
|
}()
|
|
3979
3965
|
);
|
|
3980
|
-
function
|
|
3966
|
+
function Wi(e, t) {
|
|
3981
3967
|
if (t == null)
|
|
3982
3968
|
return;
|
|
3983
3969
|
if (t in e)
|
|
@@ -3998,92 +3984,92 @@ function Xi(e, t) {
|
|
|
3998
3984
|
n = void 0;
|
|
3999
3985
|
return n;
|
|
4000
3986
|
}
|
|
4001
|
-
const V = {},
|
|
3987
|
+
const V = {}, Vi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Mr = (e, t) => {
|
|
4002
3988
|
if (t == null)
|
|
4003
3989
|
return;
|
|
4004
3990
|
if (t in V && e in V[t])
|
|
4005
3991
|
return V[t][e];
|
|
4006
3992
|
const r = Ce(t);
|
|
4007
3993
|
for (let n = 0; n < r.length; n++) {
|
|
4008
|
-
const i = r[n], o =
|
|
3994
|
+
const i = r[n], o = zi(i, e);
|
|
4009
3995
|
if (o)
|
|
4010
|
-
return
|
|
3996
|
+
return Vi(e, t, o);
|
|
4011
3997
|
}
|
|
4012
3998
|
};
|
|
4013
|
-
let
|
|
4014
|
-
const
|
|
4015
|
-
function
|
|
4016
|
-
return
|
|
3999
|
+
let dt;
|
|
4000
|
+
const ve = Oe({});
|
|
4001
|
+
function Xi(e) {
|
|
4002
|
+
return dt[e] || null;
|
|
4017
4003
|
}
|
|
4018
|
-
function
|
|
4019
|
-
return e in
|
|
4004
|
+
function Or(e) {
|
|
4005
|
+
return e in dt;
|
|
4020
4006
|
}
|
|
4021
|
-
function
|
|
4022
|
-
if (!
|
|
4007
|
+
function zi(e, t) {
|
|
4008
|
+
if (!Or(e))
|
|
4023
4009
|
return null;
|
|
4024
|
-
const r =
|
|
4025
|
-
return
|
|
4010
|
+
const r = Xi(e);
|
|
4011
|
+
return Wi(r, t);
|
|
4026
4012
|
}
|
|
4027
|
-
function
|
|
4013
|
+
function Zi(e) {
|
|
4028
4014
|
if (e == null)
|
|
4029
4015
|
return;
|
|
4030
4016
|
const t = Ce(e);
|
|
4031
4017
|
for (let r = 0; r < t.length; r++) {
|
|
4032
4018
|
const n = t[r];
|
|
4033
|
-
if (
|
|
4019
|
+
if (Or(n))
|
|
4034
4020
|
return n;
|
|
4035
4021
|
}
|
|
4036
4022
|
}
|
|
4037
|
-
function
|
|
4038
|
-
delete V[e],
|
|
4023
|
+
function Lr(e, ...t) {
|
|
4024
|
+
delete V[e], ve.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
4039
4025
|
}
|
|
4040
4026
|
se(
|
|
4041
|
-
[
|
|
4027
|
+
[ve],
|
|
4042
4028
|
([e]) => Object.keys(e)
|
|
4043
4029
|
);
|
|
4044
|
-
|
|
4030
|
+
ve.subscribe((e) => dt = e);
|
|
4045
4031
|
const Be = {};
|
|
4046
|
-
function
|
|
4032
|
+
function Qi(e, t) {
|
|
4047
4033
|
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
4048
4034
|
}
|
|
4049
|
-
function
|
|
4035
|
+
function Cr(e) {
|
|
4050
4036
|
return Be[e];
|
|
4051
4037
|
}
|
|
4052
|
-
function
|
|
4038
|
+
function Yi(e) {
|
|
4053
4039
|
return Ce(e).map((t) => {
|
|
4054
|
-
const r =
|
|
4040
|
+
const r = Cr(t);
|
|
4055
4041
|
return [t, r ? [...r] : []];
|
|
4056
4042
|
}).filter(([, t]) => t.length > 0);
|
|
4057
4043
|
}
|
|
4058
|
-
function
|
|
4044
|
+
function lt(e) {
|
|
4059
4045
|
return e == null ? !1 : Ce(e).some(
|
|
4060
4046
|
(t) => {
|
|
4061
4047
|
var r;
|
|
4062
|
-
return (r =
|
|
4048
|
+
return (r = Cr(t)) == null ? void 0 : r.size;
|
|
4063
4049
|
}
|
|
4064
4050
|
);
|
|
4065
4051
|
}
|
|
4066
|
-
function
|
|
4052
|
+
function Ji(e, t) {
|
|
4067
4053
|
return Promise.all(
|
|
4068
|
-
t.map((n) => (
|
|
4069
|
-
).then((n) =>
|
|
4054
|
+
t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
|
|
4055
|
+
).then((n) => Lr(e, ...n));
|
|
4070
4056
|
}
|
|
4071
4057
|
const ce = {};
|
|
4072
|
-
function
|
|
4073
|
-
if (!
|
|
4058
|
+
function Fr(e) {
|
|
4059
|
+
if (!lt(e))
|
|
4074
4060
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4075
|
-
const t =
|
|
4061
|
+
const t = Yi(e);
|
|
4076
4062
|
return ce[e] = Promise.all(
|
|
4077
4063
|
t.map(
|
|
4078
|
-
([r, n]) =>
|
|
4064
|
+
([r, n]) => Ji(r, n)
|
|
4079
4065
|
)
|
|
4080
4066
|
).then(() => {
|
|
4081
|
-
if (
|
|
4082
|
-
return
|
|
4067
|
+
if (lt(e))
|
|
4068
|
+
return Fr(e);
|
|
4083
4069
|
delete ce[e];
|
|
4084
4070
|
}), ce[e];
|
|
4085
4071
|
}
|
|
4086
|
-
const
|
|
4072
|
+
const qi = {
|
|
4087
4073
|
number: {
|
|
4088
4074
|
scientific: { notation: "scientific" },
|
|
4089
4075
|
engineering: { notation: "engineering" },
|
|
@@ -4112,57 +4098,57 @@ const eo = {
|
|
|
4112
4098
|
timeZoneName: "short"
|
|
4113
4099
|
}
|
|
4114
4100
|
}
|
|
4115
|
-
},
|
|
4101
|
+
}, Ki = {
|
|
4116
4102
|
fallbackLocale: null,
|
|
4117
4103
|
loadingDelay: 200,
|
|
4118
|
-
formats:
|
|
4104
|
+
formats: qi,
|
|
4119
4105
|
warnOnMissingMessages: !0,
|
|
4120
4106
|
handleMissingMessage: void 0,
|
|
4121
4107
|
ignoreTag: !0
|
|
4122
|
-
},
|
|
4108
|
+
}, eo = Ki;
|
|
4123
4109
|
function oe() {
|
|
4124
|
-
return
|
|
4125
|
-
}
|
|
4126
|
-
const
|
|
4127
|
-
var
|
|
4128
|
-
for (var r in t
|
|
4129
|
-
|
|
4130
|
-
if (
|
|
4131
|
-
for (var r of
|
|
4132
|
-
|
|
4110
|
+
return eo;
|
|
4111
|
+
}
|
|
4112
|
+
const ze = Oe(!1);
|
|
4113
|
+
var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
|
|
4114
|
+
for (var r in t)
|
|
4115
|
+
io.call(t, r) && Dt(e, r, t[r]);
|
|
4116
|
+
if (Ut)
|
|
4117
|
+
for (var r of Ut(t))
|
|
4118
|
+
oo.call(t, r) && Dt(e, r, t[r]);
|
|
4133
4119
|
return e;
|
|
4134
|
-
},
|
|
4135
|
-
let
|
|
4120
|
+
}, so = (e, t) => ro(e, no(t));
|
|
4121
|
+
let ut;
|
|
4136
4122
|
const Te = Oe(null);
|
|
4137
|
-
function
|
|
4123
|
+
function Gt(e) {
|
|
4138
4124
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4139
4125
|
}
|
|
4140
4126
|
function Ce(e, t = oe().fallbackLocale) {
|
|
4141
|
-
const r =
|
|
4142
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4127
|
+
const r = Gt(e);
|
|
4128
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
|
|
4143
4129
|
}
|
|
4144
4130
|
function Z() {
|
|
4145
|
-
return
|
|
4131
|
+
return ut ?? void 0;
|
|
4146
4132
|
}
|
|
4147
4133
|
Te.subscribe((e) => {
|
|
4148
|
-
|
|
4134
|
+
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4149
4135
|
});
|
|
4150
|
-
const
|
|
4151
|
-
if (e &&
|
|
4136
|
+
const lo = (e) => {
|
|
4137
|
+
if (e && Zi(e) && lt(e)) {
|
|
4152
4138
|
const { loadingDelay: t } = oe();
|
|
4153
4139
|
let r;
|
|
4154
4140
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4155
|
-
() =>
|
|
4141
|
+
() => ze.set(!0),
|
|
4156
4142
|
t
|
|
4157
|
-
) :
|
|
4143
|
+
) : ze.set(!0), Fr(e).then(() => {
|
|
4158
4144
|
Te.set(e);
|
|
4159
4145
|
}).finally(() => {
|
|
4160
|
-
clearTimeout(r),
|
|
4146
|
+
clearTimeout(r), ze.set(!1);
|
|
4161
4147
|
});
|
|
4162
4148
|
}
|
|
4163
4149
|
return Te.set(e);
|
|
4164
|
-
}, le =
|
|
4165
|
-
set:
|
|
4150
|
+
}, le = so(ao({}, Te), {
|
|
4151
|
+
set: lo
|
|
4166
4152
|
}), Fe = (e) => {
|
|
4167
4153
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4168
4154
|
return (n) => {
|
|
@@ -4170,20 +4156,20 @@ const ho = (e) => {
|
|
|
4170
4156
|
return i in t ? t[i] : t[i] = e(n);
|
|
4171
4157
|
};
|
|
4172
4158
|
};
|
|
4173
|
-
var
|
|
4159
|
+
var uo = Object.defineProperty, He = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
|
|
4174
4160
|
for (var r in t || (t = {}))
|
|
4175
|
-
|
|
4161
|
+
Rr.call(t, r) && $t(e, r, t[r]);
|
|
4176
4162
|
if (He)
|
|
4177
4163
|
for (var r of He(t))
|
|
4178
|
-
|
|
4164
|
+
Ur.call(t, r) && $t(e, r, t[r]);
|
|
4179
4165
|
return e;
|
|
4180
4166
|
}, ue = (e, t) => {
|
|
4181
4167
|
var r = {};
|
|
4182
4168
|
for (var n in e)
|
|
4183
|
-
|
|
4169
|
+
Rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4184
4170
|
if (e != null && He)
|
|
4185
4171
|
for (var n of He(e))
|
|
4186
|
-
t.indexOf(n) < 0 &&
|
|
4172
|
+
t.indexOf(n) < 0 && Ur.call(e, n) && (r[n] = e[n]);
|
|
4187
4173
|
return r;
|
|
4188
4174
|
};
|
|
4189
4175
|
const ge = (e, t) => {
|
|
@@ -4191,21 +4177,21 @@ const ge = (e, t) => {
|
|
|
4191
4177
|
if (e in r && t in r[e])
|
|
4192
4178
|
return r[e][t];
|
|
4193
4179
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4194
|
-
},
|
|
4180
|
+
}, ho = Fe(
|
|
4195
4181
|
(e) => {
|
|
4196
4182
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4197
4183
|
if (r == null)
|
|
4198
4184
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4199
4185
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4200
4186
|
}
|
|
4201
|
-
),
|
|
4187
|
+
), co = Fe(
|
|
4202
4188
|
(e) => {
|
|
4203
4189
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4204
4190
|
if (r == null)
|
|
4205
4191
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4206
4192
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4207
4193
|
}
|
|
4208
|
-
),
|
|
4194
|
+
), fo = Fe(
|
|
4209
4195
|
(e) => {
|
|
4210
4196
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4211
4197
|
if (r == null)
|
|
@@ -4214,33 +4200,33 @@ const ge = (e, t) => {
|
|
|
4214
4200
|
);
|
|
4215
4201
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4216
4202
|
}
|
|
4217
|
-
),
|
|
4203
|
+
), mo = (e = {}) => {
|
|
4218
4204
|
var t = e, {
|
|
4219
4205
|
locale: r = Z()
|
|
4220
4206
|
} = t, n = ue(t, [
|
|
4221
4207
|
"locale"
|
|
4222
4208
|
]);
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4209
|
+
return ho(mt({ locale: r }, n));
|
|
4210
|
+
}, po = (e = {}) => {
|
|
4225
4211
|
var t = e, {
|
|
4226
4212
|
locale: r = Z()
|
|
4227
4213
|
} = t, n = ue(t, [
|
|
4228
4214
|
"locale"
|
|
4229
4215
|
]);
|
|
4230
|
-
return
|
|
4231
|
-
},
|
|
4216
|
+
return co(mt({ locale: r }, n));
|
|
4217
|
+
}, go = (e = {}) => {
|
|
4232
4218
|
var t = e, {
|
|
4233
4219
|
locale: r = Z()
|
|
4234
4220
|
} = t, n = ue(t, [
|
|
4235
4221
|
"locale"
|
|
4236
4222
|
]);
|
|
4237
|
-
return
|
|
4238
|
-
},
|
|
4223
|
+
return fo(mt({ locale: r }, n));
|
|
4224
|
+
}, bo = Fe(
|
|
4239
4225
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4240
|
-
(e, t = Z()) => new
|
|
4226
|
+
(e, t = Z()) => new ji(e, t, oe().formats, {
|
|
4241
4227
|
ignoreTag: oe().ignoreTag
|
|
4242
4228
|
})
|
|
4243
|
-
),
|
|
4229
|
+
), vo = (e, t = {}) => {
|
|
4244
4230
|
var r, n, i, o;
|
|
4245
4231
|
let a = t;
|
|
4246
4232
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4253,7 +4239,7 @@ const ge = (e, t) => {
|
|
|
4253
4239
|
throw new Error(
|
|
4254
4240
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4255
4241
|
);
|
|
4256
|
-
let h =
|
|
4242
|
+
let h = Mr(e, l);
|
|
4257
4243
|
if (!h)
|
|
4258
4244
|
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;
|
|
4259
4245
|
else if (typeof h != "string")
|
|
@@ -4264,7 +4250,7 @@ const ge = (e, t) => {
|
|
|
4264
4250
|
return h;
|
|
4265
4251
|
let d = h;
|
|
4266
4252
|
try {
|
|
4267
|
-
d =
|
|
4253
|
+
d = bo(h, l).format(s);
|
|
4268
4254
|
} catch (f) {
|
|
4269
4255
|
f instanceof Error && console.warn(
|
|
4270
4256
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4272,20 +4258,20 @@ const ge = (e, t) => {
|
|
|
4272
4258
|
);
|
|
4273
4259
|
}
|
|
4274
4260
|
return d;
|
|
4275
|
-
},
|
|
4261
|
+
}, 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()) => Mr(e, t), Eo = se([le, ve], () => vo);
|
|
4262
|
+
se([le], () => yo);
|
|
4263
|
+
se([le], () => _o);
|
|
4276
4264
|
se([le], () => xo);
|
|
4277
|
-
se([le], () => wo);
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
}
|
|
4285
|
-
function Io(e) {
|
|
4265
|
+
se([le, ve], () => wo);
|
|
4266
|
+
window.emWidgets = { topic: Cn };
|
|
4267
|
+
const kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4268
|
+
function jt(e, t) {
|
|
4269
|
+
Lr(e, t);
|
|
4270
|
+
}
|
|
4271
|
+
function No(e) {
|
|
4286
4272
|
le.set(e);
|
|
4287
4273
|
}
|
|
4288
|
-
const
|
|
4274
|
+
const Wt = {
|
|
4289
4275
|
en: {
|
|
4290
4276
|
secondaryMenuTitle: "Categories"
|
|
4291
4277
|
},
|
|
@@ -4320,13 +4306,13 @@ const Xt = {
|
|
|
4320
4306
|
secondaryMenuTitle: "Categories"
|
|
4321
4307
|
}
|
|
4322
4308
|
};
|
|
4323
|
-
function
|
|
4309
|
+
function So(e, t) {
|
|
4324
4310
|
if (e) {
|
|
4325
4311
|
const r = document.createElement("style");
|
|
4326
4312
|
r.innerHTML = t, e.appendChild(r);
|
|
4327
4313
|
}
|
|
4328
4314
|
}
|
|
4329
|
-
function
|
|
4315
|
+
function Io(e, t) {
|
|
4330
4316
|
const r = new URL(t);
|
|
4331
4317
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4332
4318
|
const i = document.createElement("style");
|
|
@@ -4335,7 +4321,7 @@ function Ao(e, t) {
|
|
|
4335
4321
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4336
4322
|
});
|
|
4337
4323
|
}
|
|
4338
|
-
function
|
|
4324
|
+
function Bo(e, t, r) {
|
|
4339
4325
|
if (window.emMessageBus) {
|
|
4340
4326
|
const n = document.createElement("style");
|
|
4341
4327
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4343,28 +4329,28 @@ function To(e, t, r) {
|
|
|
4343
4329
|
});
|
|
4344
4330
|
}
|
|
4345
4331
|
}
|
|
4346
|
-
function
|
|
4347
|
-
|
|
4332
|
+
function Ao(e) {
|
|
4333
|
+
tn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.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, #22B04E);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, #22B04E))}.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, #22B04E));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}');
|
|
4348
4334
|
}
|
|
4349
|
-
function
|
|
4335
|
+
function Vt(e, t, r) {
|
|
4350
4336
|
const n = e.slice();
|
|
4351
4337
|
return n[44] = t[r], n[46] = r, n;
|
|
4352
4338
|
}
|
|
4353
|
-
function
|
|
4339
|
+
function Xt(e, t, r) {
|
|
4354
4340
|
const n = e.slice();
|
|
4355
4341
|
return n[44] = t[r], n;
|
|
4356
4342
|
}
|
|
4357
|
-
const
|
|
4358
|
-
function
|
|
4343
|
+
const To = (e) => ({}), zt = (e) => ({});
|
|
4344
|
+
function Zt(e) {
|
|
4359
4345
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4360
|
-
e[6] &&
|
|
4346
|
+
e[6] && Qt(e), u = Ae(
|
|
4361
4347
|
/*primaryMenuSpliced*/
|
|
4362
4348
|
e[7]
|
|
4363
4349
|
), h = [];
|
|
4364
4350
|
for (let f = 0; f < u.length; f += 1)
|
|
4365
|
-
h[f] =
|
|
4351
|
+
h[f] = Kt(Vt(e, u, f));
|
|
4366
4352
|
let d = !/*navigationBarSimple*/
|
|
4367
|
-
e[6] &&
|
|
4353
|
+
e[6] && er(e);
|
|
4368
4354
|
return {
|
|
4369
4355
|
c() {
|
|
4370
4356
|
t = B("div"), l && l.c(), r = $(), n = B("div");
|
|
@@ -4384,10 +4370,10 @@ function Yt(e) {
|
|
|
4384
4370
|
},
|
|
4385
4371
|
p(f, p) {
|
|
4386
4372
|
if (/*navigationBarSimple*/
|
|
4387
|
-
f[6] ? l && (
|
|
4373
|
+
f[6] ? l && (ar(), me(l, 1, 1, () => {
|
|
4388
4374
|
l = null;
|
|
4389
|
-
}),
|
|
4390
|
-
64 && X(l, 1)) : (l =
|
|
4375
|
+
}), sr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4376
|
+
64 && X(l, 1)) : (l = Qt(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4391
4377
|
32928) {
|
|
4392
4378
|
u = Ae(
|
|
4393
4379
|
/*primaryMenuSpliced*/
|
|
@@ -4395,15 +4381,15 @@ function Yt(e) {
|
|
|
4395
4381
|
);
|
|
4396
4382
|
let g;
|
|
4397
4383
|
for (g = 0; g < u.length; g += 1) {
|
|
4398
|
-
const
|
|
4399
|
-
h[g] ? h[g].p(
|
|
4384
|
+
const b = Vt(f, u, g);
|
|
4385
|
+
h[g] ? h[g].p(b, p) : (h[g] = Kt(b), h[g].c(), h[g].m(n, i));
|
|
4400
4386
|
}
|
|
4401
4387
|
for (; g < h.length; g += 1)
|
|
4402
4388
|
h[g].d(1);
|
|
4403
4389
|
h.length = u.length;
|
|
4404
4390
|
}
|
|
4405
4391
|
/*navigationBarSimple*/
|
|
4406
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4392
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = er(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4407
4393
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4408
4394
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4409
4395
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4418,11 +4404,11 @@ function Yt(e) {
|
|
|
4418
4404
|
me(l), s = !1;
|
|
4419
4405
|
},
|
|
4420
4406
|
d(f) {
|
|
4421
|
-
f && O(t), l && l.d(),
|
|
4407
|
+
f && O(t), l && l.d(), or(h, f), d && d.d();
|
|
4422
4408
|
}
|
|
4423
4409
|
};
|
|
4424
4410
|
}
|
|
4425
|
-
function
|
|
4411
|
+
function Qt(e) {
|
|
4426
4412
|
let t, r, n, i, o = (
|
|
4427
4413
|
/*secondarymenutitle*/
|
|
4428
4414
|
(e[0] || /*$_*/
|
|
@@ -4431,29 +4417,29 @@ function Jt(e) {
|
|
|
4431
4417
|
const p = (
|
|
4432
4418
|
/*#slots*/
|
|
4433
4419
|
e[27].close
|
|
4434
|
-
), g =
|
|
4420
|
+
), g = Jr(
|
|
4435
4421
|
p,
|
|
4436
4422
|
e,
|
|
4437
4423
|
/*$$scope*/
|
|
4438
4424
|
e[26],
|
|
4439
|
-
|
|
4440
|
-
),
|
|
4425
|
+
zt
|
|
4426
|
+
), b = g || Ho();
|
|
4441
4427
|
let A = Ae(
|
|
4442
4428
|
/*secondaryMenu*/
|
|
4443
4429
|
e[8]
|
|
4444
4430
|
), S = [];
|
|
4445
|
-
for (let
|
|
4446
|
-
S[
|
|
4431
|
+
for (let v = 0; v < A.length; v += 1)
|
|
4432
|
+
S[v] = Jt(Xt(e, A, v));
|
|
4447
4433
|
return {
|
|
4448
4434
|
c() {
|
|
4449
|
-
t = B("div"), r = B("span"),
|
|
4450
|
-
for (let
|
|
4451
|
-
S[
|
|
4435
|
+
t = B("div"), r = B("span"), b.c(), n = $(), i = B("h3"), a = be(o), s = $(), l = B("div");
|
|
4436
|
+
for (let v = 0; v < S.length; v += 1)
|
|
4437
|
+
S[v].c();
|
|
4452
4438
|
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*/
|
|
4453
4439
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4454
4440
|
},
|
|
4455
|
-
m(
|
|
4456
|
-
L(
|
|
4441
|
+
m(v, N) {
|
|
4442
|
+
L(v, t, N), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4457
4443
|
for (let E = 0; E < S.length; E += 1)
|
|
4458
4444
|
S[E] && S[E].m(l, null);
|
|
4459
4445
|
h = !0, d || (f = Pe(
|
|
@@ -4463,38 +4449,38 @@ function Jt(e) {
|
|
|
4463
4449
|
e[14]
|
|
4464
4450
|
), d = !0);
|
|
4465
4451
|
},
|
|
4466
|
-
p(
|
|
4452
|
+
p(v, N) {
|
|
4467
4453
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4468
|
-
67108864) &&
|
|
4454
|
+
67108864) && Kr(
|
|
4469
4455
|
g,
|
|
4470
4456
|
p,
|
|
4471
|
-
|
|
4457
|
+
v,
|
|
4472
4458
|
/*$$scope*/
|
|
4473
|
-
|
|
4474
|
-
h ?
|
|
4459
|
+
v[26],
|
|
4460
|
+
h ? qr(
|
|
4475
4461
|
p,
|
|
4476
4462
|
/*$$scope*/
|
|
4477
|
-
|
|
4463
|
+
v[26],
|
|
4478
4464
|
N,
|
|
4479
|
-
|
|
4480
|
-
) :
|
|
4465
|
+
To
|
|
4466
|
+
) : en(
|
|
4481
4467
|
/*$$scope*/
|
|
4482
|
-
|
|
4468
|
+
v[26]
|
|
4483
4469
|
),
|
|
4484
|
-
|
|
4470
|
+
zt
|
|
4485
4471
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4486
4472
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4487
|
-
(
|
|
4488
|
-
|
|
4473
|
+
(v[0] || /*$_*/
|
|
4474
|
+
v[12]("secondaryMenuTitle")) + "") && ct(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4489
4475
|
33056) {
|
|
4490
4476
|
A = Ae(
|
|
4491
4477
|
/*secondaryMenu*/
|
|
4492
|
-
|
|
4478
|
+
v[8]
|
|
4493
4479
|
);
|
|
4494
4480
|
let E;
|
|
4495
4481
|
for (E = 0; E < A.length; E += 1) {
|
|
4496
|
-
const T =
|
|
4497
|
-
S[E] ? S[E].p(T, N) : (S[E] =
|
|
4482
|
+
const T = Xt(v, A, E);
|
|
4483
|
+
S[E] ? S[E].p(T, N) : (S[E] = Jt(T), S[E].c(), S[E].m(l, null));
|
|
4498
4484
|
}
|
|
4499
4485
|
for (; E < S.length; E += 1)
|
|
4500
4486
|
S[E].d(1);
|
|
@@ -4502,20 +4488,20 @@ function Jt(e) {
|
|
|
4502
4488
|
}
|
|
4503
4489
|
(!h || N[0] & /*navigationWindowOpened*/
|
|
4504
4490
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4505
|
-
(
|
|
4491
|
+
(v[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4506
4492
|
},
|
|
4507
|
-
i(
|
|
4508
|
-
h || (X(
|
|
4493
|
+
i(v) {
|
|
4494
|
+
h || (X(b, v), h = !0);
|
|
4509
4495
|
},
|
|
4510
|
-
o(
|
|
4511
|
-
me(
|
|
4496
|
+
o(v) {
|
|
4497
|
+
me(b, v), h = !1;
|
|
4512
4498
|
},
|
|
4513
|
-
d(
|
|
4514
|
-
|
|
4499
|
+
d(v) {
|
|
4500
|
+
v && O(t), b.d(v), or(S, v), d = !1, f();
|
|
4515
4501
|
}
|
|
4516
4502
|
};
|
|
4517
4503
|
}
|
|
4518
|
-
function
|
|
4504
|
+
function Ho(e) {
|
|
4519
4505
|
let t, r;
|
|
4520
4506
|
return {
|
|
4521
4507
|
c() {
|
|
@@ -4530,7 +4516,7 @@ function Mo(e) {
|
|
|
4530
4516
|
}
|
|
4531
4517
|
};
|
|
4532
4518
|
}
|
|
4533
|
-
function
|
|
4519
|
+
function Yt(e) {
|
|
4534
4520
|
let t, r, n, i;
|
|
4535
4521
|
return {
|
|
4536
4522
|
c() {
|
|
@@ -4553,13 +4539,13 @@ function qt(e) {
|
|
|
4553
4539
|
}
|
|
4554
4540
|
};
|
|
4555
4541
|
}
|
|
4556
|
-
function
|
|
4542
|
+
function Jt(e) {
|
|
4557
4543
|
let t, r, n, i = (
|
|
4558
4544
|
/*item*/
|
|
4559
4545
|
e[44].label + ""
|
|
4560
4546
|
), o, a, s, l, u, h = (
|
|
4561
4547
|
/*item*/
|
|
4562
|
-
e[44].img &&
|
|
4548
|
+
e[44].img && Yt(e)
|
|
4563
4549
|
);
|
|
4564
4550
|
function d() {
|
|
4565
4551
|
return (
|
|
@@ -4572,7 +4558,7 @@ function Kt(e) {
|
|
|
4572
4558
|
}
|
|
4573
4559
|
return {
|
|
4574
4560
|
c() {
|
|
4575
|
-
t = B("div"), h && h.c(), r = $(), n = B("p"), o =
|
|
4561
|
+
t = B("div"), h && h.c(), r = $(), n = B("p"), o = be(i), a = $(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4576
4562
|
(e[5] === /*item*/
|
|
4577
4563
|
e[44].id ? "ActiveItem" : ""));
|
|
4578
4564
|
},
|
|
@@ -4581,9 +4567,9 @@ function Kt(e) {
|
|
|
4581
4567
|
},
|
|
4582
4568
|
p(f, p) {
|
|
4583
4569
|
e = f, /*item*/
|
|
4584
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4570
|
+
e[44].img ? h ? h.p(e, p) : (h = Yt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4585
4571
|
256 && i !== (i = /*item*/
|
|
4586
|
-
e[44].label + "") &&
|
|
4572
|
+
e[44].label + "") && ct(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4587
4573
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4588
4574
|
(e[5] === /*item*/
|
|
4589
4575
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4593,7 +4579,7 @@ function Kt(e) {
|
|
|
4593
4579
|
}
|
|
4594
4580
|
};
|
|
4595
4581
|
}
|
|
4596
|
-
function
|
|
4582
|
+
function qt(e) {
|
|
4597
4583
|
let t, r, n, i;
|
|
4598
4584
|
return {
|
|
4599
4585
|
c() {
|
|
@@ -4616,13 +4602,13 @@ function er(e) {
|
|
|
4616
4602
|
}
|
|
4617
4603
|
};
|
|
4618
4604
|
}
|
|
4619
|
-
function
|
|
4605
|
+
function Kt(e) {
|
|
4620
4606
|
let t, r, n, i = (
|
|
4621
4607
|
/*item*/
|
|
4622
4608
|
e[44].label + ""
|
|
4623
4609
|
), o, a, s, l, u = (
|
|
4624
4610
|
/*item*/
|
|
4625
|
-
e[44].img &&
|
|
4611
|
+
e[44].img && qt(e)
|
|
4626
4612
|
);
|
|
4627
4613
|
function h() {
|
|
4628
4614
|
return (
|
|
@@ -4635,7 +4621,7 @@ function tr(e) {
|
|
|
4635
4621
|
}
|
|
4636
4622
|
return {
|
|
4637
4623
|
c() {
|
|
4638
|
-
t = B("div"), u && u.c(), r = $(), n = B("p"), o =
|
|
4624
|
+
t = B("div"), u && u.c(), r = $(), n = B("p"), o = be(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4639
4625
|
e[46] + " " + /*activeMenuItemId*/
|
|
4640
4626
|
(e[5] === /*item*/
|
|
4641
4627
|
e[44].id ? "ActiveItem" : ""));
|
|
@@ -4645,9 +4631,9 @@ function tr(e) {
|
|
|
4645
4631
|
},
|
|
4646
4632
|
p(d, f) {
|
|
4647
4633
|
e = d, /*item*/
|
|
4648
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4634
|
+
e[44].img ? u ? u.p(e, f) : (u = qt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4649
4635
|
128 && i !== (i = /*item*/
|
|
4650
|
-
e[44].label + "") &&
|
|
4636
|
+
e[44].label + "") && ct(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4651
4637
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4652
4638
|
e[46] + " " + /*activeMenuItemId*/
|
|
4653
4639
|
(e[5] === /*item*/
|
|
@@ -4658,12 +4644,12 @@ function tr(e) {
|
|
|
4658
4644
|
}
|
|
4659
4645
|
};
|
|
4660
4646
|
}
|
|
4661
|
-
function
|
|
4647
|
+
function er(e) {
|
|
4662
4648
|
let t, r, n, i, o;
|
|
4663
4649
|
function a(u, h) {
|
|
4664
4650
|
return (
|
|
4665
4651
|
/*isFlowerMenu*/
|
|
4666
|
-
u[11] ?
|
|
4652
|
+
u[11] ? Po : Mo
|
|
4667
4653
|
);
|
|
4668
4654
|
}
|
|
4669
4655
|
let s = a(e), l = s(e);
|
|
@@ -4690,7 +4676,7 @@ function rr(e) {
|
|
|
4690
4676
|
}
|
|
4691
4677
|
};
|
|
4692
4678
|
}
|
|
4693
|
-
function
|
|
4679
|
+
function Po(e) {
|
|
4694
4680
|
let t, r, n, i, o, a, s;
|
|
4695
4681
|
return {
|
|
4696
4682
|
c() {
|
|
@@ -4710,18 +4696,18 @@ function Oo(e) {
|
|
|
4710
4696
|
}
|
|
4711
4697
|
};
|
|
4712
4698
|
}
|
|
4713
|
-
function
|
|
4699
|
+
function Mo(e) {
|
|
4714
4700
|
let t;
|
|
4715
4701
|
function r(o, a) {
|
|
4716
4702
|
return (
|
|
4717
4703
|
/*imageIconUrl*/
|
|
4718
|
-
o[9] ?
|
|
4704
|
+
o[9] ? Lo : Oo
|
|
4719
4705
|
);
|
|
4720
4706
|
}
|
|
4721
4707
|
let n = r(e), i = n(e);
|
|
4722
4708
|
return {
|
|
4723
4709
|
c() {
|
|
4724
|
-
i.c(), t =
|
|
4710
|
+
i.c(), t = on();
|
|
4725
4711
|
},
|
|
4726
4712
|
m(o, a) {
|
|
4727
4713
|
i.m(o, a), L(o, t, a);
|
|
@@ -4734,22 +4720,22 @@ function Lo(e) {
|
|
|
4734
4720
|
}
|
|
4735
4721
|
};
|
|
4736
4722
|
}
|
|
4737
|
-
function
|
|
4723
|
+
function Oo(e) {
|
|
4738
4724
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4739
4725
|
return {
|
|
4740
4726
|
c() {
|
|
4741
4727
|
t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"), u = P("g"), h = P("rect"), d = P("rect"), f = P("g"), p = P("rect"), g = P("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4742
4728
|
},
|
|
4743
|
-
m(
|
|
4744
|
-
L(
|
|
4729
|
+
m(b, A) {
|
|
4730
|
+
L(b, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
4745
4731
|
},
|
|
4746
4732
|
p: R,
|
|
4747
|
-
d(
|
|
4748
|
-
|
|
4733
|
+
d(b) {
|
|
4734
|
+
b && O(t);
|
|
4749
4735
|
}
|
|
4750
4736
|
};
|
|
4751
4737
|
}
|
|
4752
|
-
function
|
|
4738
|
+
function Lo(e) {
|
|
4753
4739
|
let t, r;
|
|
4754
4740
|
return {
|
|
4755
4741
|
c() {
|
|
@@ -4780,11 +4766,11 @@ function Fo(e) {
|
|
|
4780
4766
|
}
|
|
4781
4767
|
};
|
|
4782
4768
|
}
|
|
4783
|
-
function
|
|
4769
|
+
function Co(e) {
|
|
4784
4770
|
let t, r, n, i = !/*isLoading*/
|
|
4785
4771
|
e[1] && /*isMobile*/
|
|
4786
4772
|
e[13] && /*showNavigation*/
|
|
4787
|
-
e[3] &&
|
|
4773
|
+
e[3] && Zt(e);
|
|
4788
4774
|
return {
|
|
4789
4775
|
c() {
|
|
4790
4776
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4799,9 +4785,9 @@ function Ro(e) {
|
|
|
4799
4785
|
o[1] && /*isMobile*/
|
|
4800
4786
|
o[13] && /*showNavigation*/
|
|
4801
4787
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4802
|
-
10 && X(i, 1)) : (i =
|
|
4788
|
+
10 && X(i, 1)) : (i = Zt(o), i.c(), X(i, 1), i.m(t, null)) : i && (ar(), me(i, 1, 1, () => {
|
|
4803
4789
|
i = null;
|
|
4804
|
-
}),
|
|
4790
|
+
}), sr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4805
4791
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4806
4792
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4807
4793
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4817,23 +4803,23 @@ function Ro(e) {
|
|
|
4817
4803
|
}
|
|
4818
4804
|
};
|
|
4819
4805
|
}
|
|
4820
|
-
function
|
|
4806
|
+
function Fo(e, t, r) {
|
|
4821
4807
|
let n;
|
|
4822
|
-
|
|
4823
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory:
|
|
4824
|
-
const
|
|
4808
|
+
Yr(e, Eo, (m) => r(12, n = m));
|
|
4809
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: b = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, v = kt(S) !== "PC", N = !0, E = !1, T = !1, j = "", Q = !1, Re = [], ye = [], W = [], D, pt = "", Ue = {}, gt, De = !1;
|
|
4810
|
+
const Dr = () => {
|
|
4825
4811
|
fetch(g).then((H) => H.json()).then((H) => {
|
|
4826
4812
|
Object.keys(H).forEach((C) => {
|
|
4827
|
-
|
|
4813
|
+
jt(C, H[C]);
|
|
4828
4814
|
});
|
|
4829
4815
|
}).catch((H) => {
|
|
4830
4816
|
console.log(H);
|
|
4831
4817
|
});
|
|
4832
4818
|
};
|
|
4833
|
-
Object.keys(
|
|
4834
|
-
|
|
4819
|
+
Object.keys(Wt).forEach((m) => {
|
|
4820
|
+
jt(m, Wt[m]);
|
|
4835
4821
|
});
|
|
4836
|
-
const
|
|
4822
|
+
const bt = (m) => {
|
|
4837
4823
|
if (m.data)
|
|
4838
4824
|
switch (m.data.type) {
|
|
4839
4825
|
case "PlayerAccountMenuActive":
|
|
@@ -4846,9 +4832,9 @@ function Uo(e, t, r) {
|
|
|
4846
4832
|
r(4, T = !1);
|
|
4847
4833
|
break;
|
|
4848
4834
|
}
|
|
4849
|
-
},
|
|
4835
|
+
}, Gr = () => {
|
|
4850
4836
|
r(11, De = A.toLowerCase() === "true");
|
|
4851
|
-
},
|
|
4837
|
+
}, $r = () => {
|
|
4852
4838
|
r(4, T = !T), window.postMessage(
|
|
4853
4839
|
{
|
|
4854
4840
|
type: "MobileBottomNav",
|
|
@@ -4856,20 +4842,20 @@ function Uo(e, t, r) {
|
|
|
4856
4842
|
},
|
|
4857
4843
|
window.location.href
|
|
4858
4844
|
);
|
|
4859
|
-
},
|
|
4860
|
-
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)),
|
|
4861
|
-
},
|
|
4845
|
+
}, kr = (m) => {
|
|
4846
|
+
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), b && vt();
|
|
4847
|
+
}, jr = () => {
|
|
4862
4848
|
Ge(), r(1, N = !0);
|
|
4863
|
-
let m =
|
|
4849
|
+
let m = kt(S), H = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4864
4850
|
H.searchParams.append("userRoles", h), m && H.searchParams.append("device", "mtWeb"), fetch(H.href).then((C) => C.json()).then((C) => {
|
|
4865
4851
|
Re = [], r(8, W = []), r(3, E = C.length > 0), C.forEach((U) => {
|
|
4866
|
-
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9,
|
|
4867
|
-
}), r(6, Q = W.length == 0), W.length >= 5 && De && r(8, W = W.splice(0, 5)),
|
|
4852
|
+
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, pt = U?.img), r(8, W = U.children)) : Re.push(U);
|
|
4853
|
+
}), r(6, Q = W.length == 0), W.length >= 5 && De && r(8, W = W.splice(0, 5)), kr(Re), r(1, N = !1);
|
|
4868
4854
|
}).catch((C) => {
|
|
4869
4855
|
r(1, N = !1), console.error(C);
|
|
4870
4856
|
});
|
|
4871
|
-
},
|
|
4872
|
-
const H = ye.concat(W).find((C) => C.path.includes(
|
|
4857
|
+
}, vt = () => {
|
|
4858
|
+
const H = ye.concat(W).find((C) => C.path.includes(b));
|
|
4873
4859
|
H ? r(5, j = H.id) : r(5, j = "");
|
|
4874
4860
|
}, he = (m, H, C, U) => {
|
|
4875
4861
|
Ue[U] ? window.postMessage(
|
|
@@ -4890,38 +4876,38 @@ function Uo(e, t, r) {
|
|
|
4890
4876
|
context: "MobileBottomNavigation",
|
|
4891
4877
|
menuItem: `${m}`
|
|
4892
4878
|
});
|
|
4893
|
-
},
|
|
4894
|
-
|
|
4879
|
+
}, Wr = () => {
|
|
4880
|
+
No(s);
|
|
4895
4881
|
}, Ge = () => {
|
|
4896
|
-
r(10,
|
|
4897
|
-
},
|
|
4882
|
+
r(10, gt = v && window.innerHeight / window.innerWidth < 1);
|
|
4883
|
+
}, yt = () => {
|
|
4898
4884
|
T && r(4, T = !1);
|
|
4899
4885
|
};
|
|
4900
|
-
|
|
4901
|
-
window.removeEventListener("message",
|
|
4886
|
+
un(() => (window.addEventListener("message", bt, !1), document.addEventListener("focusin", yt), v && window.screen.orientation.addEventListener("change", Ge), () => {
|
|
4887
|
+
window.removeEventListener("message", bt), document.removeEventListener("focusin", yt), v && window.screen.orientation.removeEventListener("change", Ge);
|
|
4902
4888
|
}));
|
|
4903
|
-
const
|
|
4889
|
+
const Vr = (m) => {
|
|
4904
4890
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4905
|
-
},
|
|
4891
|
+
}, Xr = (m) => {
|
|
4906
4892
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4907
4893
|
};
|
|
4908
|
-
function
|
|
4909
|
-
|
|
4894
|
+
function zr(m) {
|
|
4895
|
+
Ze[m ? "unshift" : "push"](() => {
|
|
4910
4896
|
D = m, r(2, D);
|
|
4911
4897
|
});
|
|
4912
4898
|
}
|
|
4913
4899
|
return e.$$set = (m) => {
|
|
4914
|
-
"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), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24,
|
|
4900
|
+
"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), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, b = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4915
4901
|
}, e.$$.update = () => {
|
|
4916
4902
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4917
|
-
33554432 && A &&
|
|
4918
|
-
16777218 &&
|
|
4919
|
-
131072 && s &&
|
|
4920
|
-
983040 && a && s && l && h &&
|
|
4921
|
-
2097156 && f && D &&
|
|
4922
|
-
4194308 && p && D &&
|
|
4923
|
-
1048580 && d && D &&
|
|
4924
|
-
8388608 && g &&
|
|
4903
|
+
33554432 && A && Gr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4904
|
+
16777218 && b && !N && vt(), e.$$.dirty[0] & /*lang*/
|
|
4905
|
+
131072 && s && Wr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4906
|
+
983040 && a && s && l && h && jr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4907
|
+
2097156 && f && D && So(D, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4908
|
+
4194308 && p && D && Io(D, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4909
|
+
1048580 && d && D && Bo(D, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4910
|
+
8388608 && g && Dr();
|
|
4925
4911
|
}, [
|
|
4926
4912
|
u,
|
|
4927
4913
|
N,
|
|
@@ -4932,12 +4918,12 @@ function Uo(e, t, r) {
|
|
|
4932
4918
|
Q,
|
|
4933
4919
|
ye,
|
|
4934
4920
|
W,
|
|
4935
|
-
|
|
4936
|
-
|
|
4921
|
+
pt,
|
|
4922
|
+
gt,
|
|
4937
4923
|
De,
|
|
4938
4924
|
n,
|
|
4939
|
-
|
|
4940
|
-
|
|
4925
|
+
v,
|
|
4926
|
+
$r,
|
|
4941
4927
|
he,
|
|
4942
4928
|
a,
|
|
4943
4929
|
s,
|
|
@@ -4947,23 +4933,23 @@ function Uo(e, t, r) {
|
|
|
4947
4933
|
f,
|
|
4948
4934
|
p,
|
|
4949
4935
|
g,
|
|
4950
|
-
|
|
4936
|
+
b,
|
|
4951
4937
|
A,
|
|
4952
4938
|
o,
|
|
4953
4939
|
i,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4940
|
+
Vr,
|
|
4941
|
+
Xr,
|
|
4942
|
+
zr
|
|
4957
4943
|
];
|
|
4958
4944
|
}
|
|
4959
|
-
class
|
|
4945
|
+
class Ro extends yn {
|
|
4960
4946
|
constructor(t) {
|
|
4961
|
-
super(),
|
|
4947
|
+
super(), bn(
|
|
4962
4948
|
this,
|
|
4963
4949
|
t,
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4950
|
+
Fo,
|
|
4951
|
+
Co,
|
|
4952
|
+
rr,
|
|
4967
4953
|
{
|
|
4968
4954
|
cmsendpoint: 16,
|
|
4969
4955
|
lang: 17,
|
|
@@ -4977,7 +4963,7 @@ class Do extends wn {
|
|
|
4977
4963
|
activecategory: 24,
|
|
4978
4964
|
flowermenustyle: 25
|
|
4979
4965
|
},
|
|
4980
|
-
|
|
4966
|
+
Ao,
|
|
4981
4967
|
[-1, -1]
|
|
4982
4968
|
);
|
|
4983
4969
|
}
|
|
@@ -5048,7 +5034,7 @@ class Do extends wn {
|
|
|
5048
5034
|
this.$$set({ flowermenustyle: t }), F();
|
|
5049
5035
|
}
|
|
5050
5036
|
}
|
|
5051
|
-
|
|
5037
|
+
vn(Ro, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5052
5038
|
export {
|
|
5053
|
-
|
|
5039
|
+
Ro as G
|
|
5054
5040
|
};
|