@everymatrix/general-navigation-bar 1.56.0 → 1.56.2
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-Dk-g2WiT.js → GeneralNavigationBar-B53b74Yg.js} +682 -626
- package/components/{GeneralNavigationBar-BICG6YxZ.js → GeneralNavigationBar-DE5JbVID.js} +653 -597
- package/components/GeneralNavigationBar-DJdDik_E.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-ZYScF0h0.cjs +0 -5
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
4
|
-
for (const r in t)
|
|
3
|
+
function Jr(e, t) {
|
|
4
|
+
for (const r in t)
|
|
5
|
+
e[r] = t[r];
|
|
5
6
|
return (
|
|
6
7
|
/** @type {T & S} */
|
|
7
8
|
e
|
|
8
9
|
);
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
+
function nr(e) {
|
|
11
12
|
return e();
|
|
12
13
|
}
|
|
13
|
-
function
|
|
14
|
+
function wt() {
|
|
14
15
|
return /* @__PURE__ */ Object.create(null);
|
|
15
16
|
}
|
|
16
17
|
function ae(e) {
|
|
17
|
-
e.forEach(
|
|
18
|
+
e.forEach(nr);
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function ct(e) {
|
|
20
21
|
return typeof e == "function";
|
|
21
22
|
}
|
|
22
|
-
function
|
|
23
|
+
function ir(e, t) {
|
|
23
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
24
25
|
}
|
|
25
26
|
let _e;
|
|
26
27
|
function te(e, t) {
|
|
27
28
|
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function qr(e) {
|
|
30
31
|
return Object.keys(e).length === 0;
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function or(e, ...t) {
|
|
33
34
|
if (e == null) {
|
|
34
35
|
for (const n of t)
|
|
35
36
|
n(void 0);
|
|
@@ -38,19 +39,19 @@ function rr(e, ...t) {
|
|
|
38
39
|
const r = e.subscribe(...t);
|
|
39
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function Kr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(or(t, r));
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function en(e, t, r, n) {
|
|
45
46
|
if (e) {
|
|
46
|
-
const i =
|
|
47
|
+
const i = ar(e, t, r, n);
|
|
47
48
|
return e[0](i);
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
-
return e[1] && n ?
|
|
51
|
+
function ar(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? Jr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
+
function tn(e, t, r, n) {
|
|
54
55
|
if (e[2] && n) {
|
|
55
56
|
const i = e[2](n(r));
|
|
56
57
|
if (t.dirty === void 0)
|
|
@@ -65,13 +66,13 @@ function Jr(e, t, r, n) {
|
|
|
65
66
|
}
|
|
66
67
|
return t.dirty;
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
+
function rn(e, t, r, n, i, o) {
|
|
69
70
|
if (i) {
|
|
70
|
-
const a =
|
|
71
|
+
const a = ar(t, r, n, o);
|
|
71
72
|
e.p(a, i);
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
+
function nn(e) {
|
|
75
76
|
if (e.ctx.length > 32) {
|
|
76
77
|
const t = [], r = e.ctx.length / 32;
|
|
77
78
|
for (let n = 0; n < r; n++)
|
|
@@ -83,15 +84,16 @@ function Kr(e) {
|
|
|
83
84
|
function y(e, t) {
|
|
84
85
|
e.appendChild(t);
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
-
const n =
|
|
87
|
+
function on(e, t, r) {
|
|
88
|
+
const n = an(e);
|
|
88
89
|
if (!n.getElementById(t)) {
|
|
89
90
|
const i = B("style");
|
|
90
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
i.id = t, i.textContent = r, sn(n, i);
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
-
if (!e)
|
|
94
|
+
function an(e) {
|
|
95
|
+
if (!e)
|
|
96
|
+
return document;
|
|
95
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
96
98
|
return t && /** @type {ShadowRoot} */
|
|
97
99
|
t.host ? (
|
|
@@ -99,7 +101,7 @@ function tn(e) {
|
|
|
99
101
|
t
|
|
100
102
|
) : e.ownerDocument;
|
|
101
103
|
}
|
|
102
|
-
function
|
|
104
|
+
function sn(e, t) {
|
|
103
105
|
return y(
|
|
104
106
|
/** @type {Document} */
|
|
105
107
|
e.head || e,
|
|
@@ -112,14 +114,14 @@ function L(e, t, r) {
|
|
|
112
114
|
function O(e) {
|
|
113
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
114
116
|
}
|
|
115
|
-
function
|
|
117
|
+
function sr(e, t) {
|
|
116
118
|
for (let r = 0; r < e.length; r += 1)
|
|
117
119
|
e[r] && e[r].d(t);
|
|
118
120
|
}
|
|
119
121
|
function B(e) {
|
|
120
122
|
return document.createElement(e);
|
|
121
123
|
}
|
|
122
|
-
function
|
|
124
|
+
function P(e) {
|
|
123
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
124
126
|
}
|
|
125
127
|
function ve(e) {
|
|
@@ -128,23 +130,23 @@ function ve(e) {
|
|
|
128
130
|
function $() {
|
|
129
131
|
return ve(" ");
|
|
130
132
|
}
|
|
131
|
-
function
|
|
133
|
+
function ln() {
|
|
132
134
|
return ve("");
|
|
133
135
|
}
|
|
134
|
-
function
|
|
136
|
+
function Pe(e, t, r, n) {
|
|
135
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
136
138
|
}
|
|
137
139
|
function c(e, t, r) {
|
|
138
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
139
141
|
}
|
|
140
|
-
function
|
|
142
|
+
function un(e) {
|
|
141
143
|
return Array.from(e.childNodes);
|
|
142
144
|
}
|
|
143
|
-
function
|
|
145
|
+
function ft(e, t) {
|
|
144
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
145
147
|
t);
|
|
146
148
|
}
|
|
147
|
-
function
|
|
149
|
+
function hn(e) {
|
|
148
150
|
const t = {};
|
|
149
151
|
return e.childNodes.forEach(
|
|
150
152
|
/** @param {Element} node */
|
|
@@ -157,21 +159,22 @@ let de;
|
|
|
157
159
|
function fe(e) {
|
|
158
160
|
de = e;
|
|
159
161
|
}
|
|
160
|
-
function
|
|
161
|
-
if (!de)
|
|
162
|
+
function cn() {
|
|
163
|
+
if (!de)
|
|
164
|
+
throw new Error("Function called outside component initialization");
|
|
162
165
|
return de;
|
|
163
166
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
167
|
+
function fn(e) {
|
|
168
|
+
cn().$$.on_mount.push(e);
|
|
166
169
|
}
|
|
167
|
-
const q = [],
|
|
170
|
+
const q = [], Qe = [];
|
|
168
171
|
let K = [];
|
|
169
|
-
const
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
|
|
172
|
+
const Et = [], dn = /* @__PURE__ */ Promise.resolve();
|
|
173
|
+
let Ye = !1;
|
|
174
|
+
function mn() {
|
|
175
|
+
Ye || (Ye = !0, dn.then(F));
|
|
173
176
|
}
|
|
174
|
-
function
|
|
177
|
+
function Je(e) {
|
|
175
178
|
K.push(e);
|
|
176
179
|
}
|
|
177
180
|
const $e = /* @__PURE__ */ new Set();
|
|
@@ -184,36 +187,37 @@ function F() {
|
|
|
184
187
|
try {
|
|
185
188
|
for (; Y < q.length; ) {
|
|
186
189
|
const t = q[Y];
|
|
187
|
-
Y++, fe(t),
|
|
190
|
+
Y++, fe(t), pn(t.$$);
|
|
188
191
|
}
|
|
189
192
|
} catch (t) {
|
|
190
193
|
throw q.length = 0, Y = 0, t;
|
|
191
194
|
}
|
|
192
|
-
for (fe(null), q.length = 0, Y = 0;
|
|
195
|
+
for (fe(null), q.length = 0, Y = 0; Qe.length; )
|
|
196
|
+
Qe.pop()();
|
|
193
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
194
198
|
const r = K[t];
|
|
195
199
|
$e.has(r) || ($e.add(r), r());
|
|
196
200
|
}
|
|
197
201
|
K.length = 0;
|
|
198
202
|
} while (q.length);
|
|
199
|
-
for (;
|
|
200
|
-
|
|
201
|
-
|
|
203
|
+
for (; Et.length; )
|
|
204
|
+
Et.pop()();
|
|
205
|
+
Ye = !1, $e.clear(), fe(e);
|
|
202
206
|
}
|
|
203
|
-
function
|
|
207
|
+
function pn(e) {
|
|
204
208
|
if (e.fragment !== null) {
|
|
205
209
|
e.update(), ae(e.before_update);
|
|
206
210
|
const t = e.dirty;
|
|
207
|
-
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(Je);
|
|
208
212
|
}
|
|
209
213
|
}
|
|
210
|
-
function
|
|
214
|
+
function gn(e) {
|
|
211
215
|
const t = [], r = [];
|
|
212
216
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
213
217
|
}
|
|
214
218
|
const Ee = /* @__PURE__ */ new Set();
|
|
215
219
|
let z;
|
|
216
|
-
function
|
|
220
|
+
function lr() {
|
|
217
221
|
z = {
|
|
218
222
|
r: 0,
|
|
219
223
|
c: [],
|
|
@@ -221,7 +225,7 @@ function or() {
|
|
|
221
225
|
// parent group
|
|
222
226
|
};
|
|
223
227
|
}
|
|
224
|
-
function
|
|
228
|
+
function ur() {
|
|
225
229
|
z.r || ae(z.c), z = z.p;
|
|
226
230
|
}
|
|
227
231
|
function V(e, t) {
|
|
@@ -229,30 +233,32 @@ function V(e, t) {
|
|
|
229
233
|
}
|
|
230
234
|
function me(e, t, r, n) {
|
|
231
235
|
if (e && e.o) {
|
|
232
|
-
if (Ee.has(e))
|
|
236
|
+
if (Ee.has(e))
|
|
237
|
+
return;
|
|
233
238
|
Ee.add(e), z.c.push(() => {
|
|
234
239
|
Ee.delete(e), n && (r && e.d(1), n());
|
|
235
240
|
}), e.o(t);
|
|
236
|
-
} else
|
|
241
|
+
} else
|
|
242
|
+
n && n();
|
|
237
243
|
}
|
|
238
244
|
function Ae(e) {
|
|
239
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
240
246
|
}
|
|
241
|
-
function
|
|
247
|
+
function vn(e, t, r) {
|
|
242
248
|
const { fragment: n, after_update: i } = e.$$;
|
|
243
|
-
n && n.m(t, r),
|
|
244
|
-
const o = e.$$.on_mount.map(
|
|
249
|
+
n && n.m(t, r), Je(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(nr).filter(ct);
|
|
245
251
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
246
|
-
}), i.forEach(
|
|
252
|
+
}), i.forEach(Je);
|
|
247
253
|
}
|
|
248
|
-
function
|
|
254
|
+
function bn(e, t) {
|
|
249
255
|
const r = e.$$;
|
|
250
|
-
r.fragment !== null && (
|
|
256
|
+
r.fragment !== null && (gn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
251
257
|
}
|
|
252
|
-
function
|
|
253
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function yn(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
260
|
}
|
|
255
|
-
function
|
|
261
|
+
function _n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
256
262
|
const l = de;
|
|
257
263
|
fe(e);
|
|
258
264
|
const u = e.$$ = {
|
|
@@ -262,7 +268,7 @@ function gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
262
268
|
props: o,
|
|
263
269
|
update: R,
|
|
264
270
|
not_equal: i,
|
|
265
|
-
bound:
|
|
271
|
+
bound: wt(),
|
|
266
272
|
// lifecycle
|
|
267
273
|
on_mount: [],
|
|
268
274
|
on_destroy: [],
|
|
@@ -271,7 +277,7 @@ function gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
271
277
|
after_update: [],
|
|
272
278
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
273
279
|
// everything else
|
|
274
|
-
callbacks:
|
|
280
|
+
callbacks: wt(),
|
|
275
281
|
dirty: s,
|
|
276
282
|
skip_bound: !1,
|
|
277
283
|
root: t.target || l.$$.root
|
|
@@ -280,19 +286,19 @@ function gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
280
286
|
let h = !1;
|
|
281
287
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
282
288
|
const g = p.length ? p[0] : f;
|
|
283
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
289
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && yn(e, d)), f;
|
|
284
290
|
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
285
291
|
if (t.hydrate) {
|
|
286
|
-
const d =
|
|
292
|
+
const d = un(t.target);
|
|
287
293
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
288
294
|
} else
|
|
289
295
|
u.fragment && u.fragment.c();
|
|
290
|
-
t.intro && V(e.$$.fragment),
|
|
296
|
+
t.intro && V(e.$$.fragment), vn(e, t.target, t.anchor), F();
|
|
291
297
|
}
|
|
292
298
|
fe(l);
|
|
293
299
|
}
|
|
294
|
-
let
|
|
295
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let hr;
|
|
301
|
+
typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
296
302
|
/** The Svelte component constructor */
|
|
297
303
|
$$ctor;
|
|
298
304
|
/** Slots */
|
|
@@ -351,7 +357,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
|
351
357
|
};
|
|
352
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
353
359
|
return;
|
|
354
|
-
const t = {}, r =
|
|
360
|
+
const t = {}, r = hn(this);
|
|
355
361
|
for (const i of this.$$s)
|
|
356
362
|
i in r && (t[i] = [e(i)]);
|
|
357
363
|
for (const i of this.attributes) {
|
|
@@ -438,8 +444,8 @@ function Ne(e, t, r, n) {
|
|
|
438
444
|
return t;
|
|
439
445
|
}
|
|
440
446
|
}
|
|
441
|
-
function
|
|
442
|
-
let a = class extends
|
|
447
|
+
function xn(e, t, r, n, i, o) {
|
|
448
|
+
let a = class extends hr {
|
|
443
449
|
constructor() {
|
|
444
450
|
super(e, r, i), this.$$p_d = t;
|
|
445
451
|
}
|
|
@@ -467,7 +473,7 @@ function vn(e, t, r, n, i, o) {
|
|
|
467
473
|
}), e.element = /** @type {any} */
|
|
468
474
|
a, a;
|
|
469
475
|
}
|
|
470
|
-
class
|
|
476
|
+
class wn {
|
|
471
477
|
/**
|
|
472
478
|
* ### PRIVATE API
|
|
473
479
|
*
|
|
@@ -486,7 +492,7 @@ class bn {
|
|
|
486
492
|
$$set = void 0;
|
|
487
493
|
/** @returns {void} */
|
|
488
494
|
$destroy() {
|
|
489
|
-
|
|
495
|
+
bn(this, 1), this.$destroy = R;
|
|
490
496
|
}
|
|
491
497
|
/**
|
|
492
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -495,7 +501,7 @@ class bn {
|
|
|
495
501
|
* @returns {() => void}
|
|
496
502
|
*/
|
|
497
503
|
$on(t, r) {
|
|
498
|
-
if (!
|
|
504
|
+
if (!ct(r))
|
|
499
505
|
return R;
|
|
500
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
501
507
|
return n.push(r), () => {
|
|
@@ -508,22 +514,37 @@ class bn {
|
|
|
508
514
|
* @returns {void}
|
|
509
515
|
*/
|
|
510
516
|
$set(t) {
|
|
511
|
-
this.$$set && !
|
|
517
|
+
this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
512
518
|
}
|
|
513
519
|
}
|
|
514
|
-
const
|
|
515
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
516
|
-
|
|
517
|
-
|
|
520
|
+
const En = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
|
|
522
|
+
/*! *****************************************************************************
|
|
523
|
+
Copyright (c) Microsoft Corporation.
|
|
524
|
+
|
|
525
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
526
|
+
purpose with or without fee is hereby granted.
|
|
527
|
+
|
|
528
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
529
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
530
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
531
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
532
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
533
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
535
|
+
***************************************************************************** */
|
|
536
|
+
var qe = function(e, t) {
|
|
537
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
518
538
|
r.__proto__ = n;
|
|
519
539
|
} || function(r, n) {
|
|
520
|
-
for (var i in n)
|
|
521
|
-
|
|
540
|
+
for (var i in n)
|
|
541
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
+
}, qe(e, t);
|
|
522
543
|
};
|
|
523
544
|
function k(e, t) {
|
|
524
545
|
if (typeof t != "function" && t !== null)
|
|
525
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
526
|
-
|
|
547
|
+
qe(e, t);
|
|
527
548
|
function r() {
|
|
528
549
|
this.constructor = e;
|
|
529
550
|
}
|
|
@@ -533,61 +554,69 @@ var w = function() {
|
|
|
533
554
|
return w = Object.assign || function(t) {
|
|
534
555
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
535
556
|
r = arguments[n];
|
|
536
|
-
for (var o in r)
|
|
557
|
+
for (var o in r)
|
|
558
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
537
559
|
}
|
|
538
560
|
return t;
|
|
539
561
|
}, w.apply(this, arguments);
|
|
540
562
|
};
|
|
541
|
-
function
|
|
563
|
+
function Nn(e, t) {
|
|
542
564
|
var r = {};
|
|
543
|
-
for (var n in e)
|
|
565
|
+
for (var n in e)
|
|
566
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
544
567
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
545
568
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
546
569
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
547
570
|
return r;
|
|
548
571
|
}
|
|
549
|
-
function
|
|
572
|
+
function Ke(e) {
|
|
550
573
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
551
|
-
if (r)
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
574
|
+
if (r)
|
|
575
|
+
return r.call(e);
|
|
576
|
+
if (e && typeof e.length == "number")
|
|
577
|
+
return {
|
|
578
|
+
next: function() {
|
|
579
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
580
|
+
}
|
|
581
|
+
};
|
|
557
582
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
558
583
|
}
|
|
559
|
-
function
|
|
584
|
+
function et(e, t) {
|
|
560
585
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
561
|
-
if (!r)
|
|
586
|
+
if (!r)
|
|
587
|
+
return e;
|
|
562
588
|
var n = r.call(e), i, o = [], a;
|
|
563
589
|
try {
|
|
564
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
590
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
591
|
+
o.push(i.value);
|
|
565
592
|
} catch (s) {
|
|
566
593
|
a = { error: s };
|
|
567
594
|
} finally {
|
|
568
595
|
try {
|
|
569
596
|
i && !i.done && (r = n.return) && r.call(n);
|
|
570
597
|
} finally {
|
|
571
|
-
if (a)
|
|
598
|
+
if (a)
|
|
599
|
+
throw a.error;
|
|
572
600
|
}
|
|
573
601
|
}
|
|
574
602
|
return o;
|
|
575
603
|
}
|
|
576
604
|
function ee(e, t, r) {
|
|
577
|
-
if (r || arguments.length === 2)
|
|
578
|
-
(
|
|
579
|
-
|
|
605
|
+
if (r || arguments.length === 2)
|
|
606
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
607
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
608
|
+
return e.concat(o || t);
|
|
580
609
|
}
|
|
581
610
|
function G(e) {
|
|
582
611
|
return typeof e == "function";
|
|
583
612
|
}
|
|
584
|
-
function
|
|
613
|
+
function cr(e) {
|
|
585
614
|
var t = function(n) {
|
|
586
615
|
Error.call(n), n.stack = new Error().stack;
|
|
587
616
|
}, r = e(t);
|
|
588
617
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
589
618
|
}
|
|
590
|
-
var ke =
|
|
619
|
+
var ke = cr(function(e) {
|
|
591
620
|
return function(r) {
|
|
592
621
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
593
622
|
` + r.map(function(n, i) {
|
|
@@ -596,7 +625,7 @@ var ke = lr(function(e) {
|
|
|
596
625
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
597
626
|
};
|
|
598
627
|
});
|
|
599
|
-
function
|
|
628
|
+
function tt(e, t) {
|
|
600
629
|
if (e) {
|
|
601
630
|
var r = e.indexOf(t);
|
|
602
631
|
0 <= r && e.splice(r, 1);
|
|
@@ -614,7 +643,7 @@ var Me = function() {
|
|
|
614
643
|
if (a)
|
|
615
644
|
if (this._parentage = null, Array.isArray(a))
|
|
616
645
|
try {
|
|
617
|
-
for (var s =
|
|
646
|
+
for (var s = Ke(a), l = s.next(); !l.done; l = s.next()) {
|
|
618
647
|
var u = l.value;
|
|
619
648
|
u.remove(this);
|
|
620
649
|
}
|
|
@@ -624,7 +653,8 @@ var Me = function() {
|
|
|
624
653
|
try {
|
|
625
654
|
l && !l.done && (r = s.return) && r.call(s);
|
|
626
655
|
} finally {
|
|
627
|
-
if (t)
|
|
656
|
+
if (t)
|
|
657
|
+
throw t.error;
|
|
628
658
|
}
|
|
629
659
|
}
|
|
630
660
|
else
|
|
@@ -640,12 +670,12 @@ var Me = function() {
|
|
|
640
670
|
if (d) {
|
|
641
671
|
this._finalizers = null;
|
|
642
672
|
try {
|
|
643
|
-
for (var f =
|
|
673
|
+
for (var f = Ke(d), p = f.next(); !p.done; p = f.next()) {
|
|
644
674
|
var g = p.value;
|
|
645
675
|
try {
|
|
646
|
-
|
|
676
|
+
Nt(g);
|
|
647
677
|
} catch (v) {
|
|
648
|
-
o = o ?? [], v instanceof ke ? o = ee(ee([],
|
|
678
|
+
o = o ?? [], v instanceof ke ? o = ee(ee([], et(o)), et(v.errors)) : o.push(v);
|
|
649
679
|
}
|
|
650
680
|
}
|
|
651
681
|
} catch (v) {
|
|
@@ -654,7 +684,8 @@ var Me = function() {
|
|
|
654
684
|
try {
|
|
655
685
|
p && !p.done && (i = f.return) && i.call(f);
|
|
656
686
|
} finally {
|
|
657
|
-
if (n)
|
|
687
|
+
if (n)
|
|
688
|
+
throw n.error;
|
|
658
689
|
}
|
|
659
690
|
}
|
|
660
691
|
}
|
|
@@ -665,7 +696,7 @@ var Me = function() {
|
|
|
665
696
|
var r;
|
|
666
697
|
if (t && t !== this)
|
|
667
698
|
if (this.closed)
|
|
668
|
-
|
|
699
|
+
Nt(t);
|
|
669
700
|
else {
|
|
670
701
|
if (t instanceof e) {
|
|
671
702
|
if (t.closed || t._hasParent(this))
|
|
@@ -682,52 +713,56 @@ var Me = function() {
|
|
|
682
713
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
683
714
|
}, e.prototype._removeParent = function(t) {
|
|
684
715
|
var r = this._parentage;
|
|
685
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
716
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
686
717
|
}, e.prototype.remove = function(t) {
|
|
687
718
|
var r = this._finalizers;
|
|
688
|
-
r &&
|
|
719
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
689
720
|
}, e.EMPTY = function() {
|
|
690
721
|
var t = new e();
|
|
691
722
|
return t.closed = !0, t;
|
|
692
723
|
}(), e;
|
|
693
|
-
}(),
|
|
694
|
-
function
|
|
724
|
+
}(), fr = Me.EMPTY;
|
|
725
|
+
function dr(e) {
|
|
695
726
|
return e instanceof Me || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
696
727
|
}
|
|
697
|
-
function
|
|
728
|
+
function Nt(e) {
|
|
698
729
|
G(e) ? e() : e.unsubscribe();
|
|
699
730
|
}
|
|
700
|
-
var
|
|
701
|
-
|
|
702
|
-
|
|
731
|
+
var mr = {
|
|
732
|
+
onUnhandledError: null,
|
|
733
|
+
onStoppedNotification: null,
|
|
734
|
+
Promise: void 0,
|
|
735
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
736
|
+
useDeprecatedNextContext: !1
|
|
737
|
+
}, Sn = {
|
|
703
738
|
setTimeout: function(e, t) {
|
|
704
739
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
705
740
|
r[n - 2] = arguments[n];
|
|
706
|
-
return setTimeout.apply(void 0, ee([e, t],
|
|
741
|
+
return setTimeout.apply(void 0, ee([e, t], et(r)));
|
|
707
742
|
},
|
|
708
743
|
clearTimeout: function(e) {
|
|
709
744
|
return clearTimeout(e);
|
|
710
745
|
},
|
|
711
746
|
delegate: void 0
|
|
712
747
|
};
|
|
713
|
-
function
|
|
714
|
-
|
|
748
|
+
function In(e) {
|
|
749
|
+
Sn.setTimeout(function() {
|
|
715
750
|
throw e;
|
|
716
751
|
});
|
|
717
752
|
}
|
|
718
|
-
function
|
|
753
|
+
function St() {
|
|
719
754
|
}
|
|
720
755
|
function Se(e) {
|
|
721
756
|
e();
|
|
722
757
|
}
|
|
723
|
-
var
|
|
758
|
+
var pr = function(e) {
|
|
724
759
|
k(t, e);
|
|
725
760
|
function t(r) {
|
|
726
761
|
var n = e.call(this) || this;
|
|
727
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
762
|
+
return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = Hn, n;
|
|
728
763
|
}
|
|
729
764
|
return t.create = function(r, n, i) {
|
|
730
|
-
return new
|
|
765
|
+
return new rt(r, n, i);
|
|
731
766
|
}, t.prototype.next = function(r) {
|
|
732
767
|
this.isStopped || this._next(r);
|
|
733
768
|
}, t.prototype.error = function(r) {
|
|
@@ -751,7 +786,11 @@ var cr = function(e) {
|
|
|
751
786
|
this.unsubscribe();
|
|
752
787
|
}
|
|
753
788
|
}, t;
|
|
754
|
-
}(Me),
|
|
789
|
+
}(Me), Bn = Function.prototype.bind;
|
|
790
|
+
function je(e, t) {
|
|
791
|
+
return Bn.call(e, t);
|
|
792
|
+
}
|
|
793
|
+
var An = function() {
|
|
755
794
|
function e(t) {
|
|
756
795
|
this.partialObserver = t;
|
|
757
796
|
}
|
|
@@ -782,43 +821,55 @@ var cr = function(e) {
|
|
|
782
821
|
xe(r);
|
|
783
822
|
}
|
|
784
823
|
}, e;
|
|
785
|
-
}(),
|
|
824
|
+
}(), rt = function(e) {
|
|
786
825
|
k(t, e);
|
|
787
826
|
function t(r, n, i) {
|
|
788
827
|
var o = e.call(this) || this, a;
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
828
|
+
if (G(r) || !r)
|
|
829
|
+
a = {
|
|
830
|
+
next: r ?? void 0,
|
|
831
|
+
error: n ?? void 0,
|
|
832
|
+
complete: i ?? void 0
|
|
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;
|
|
794
845
|
}
|
|
795
846
|
return t;
|
|
796
|
-
}(
|
|
847
|
+
}(pr);
|
|
797
848
|
function xe(e) {
|
|
798
|
-
|
|
849
|
+
In(e);
|
|
799
850
|
}
|
|
800
|
-
function
|
|
851
|
+
function Tn(e) {
|
|
801
852
|
throw e;
|
|
802
853
|
}
|
|
803
|
-
var
|
|
854
|
+
var Hn = {
|
|
804
855
|
closed: !0,
|
|
805
|
-
next:
|
|
806
|
-
error:
|
|
807
|
-
complete:
|
|
808
|
-
},
|
|
856
|
+
next: St,
|
|
857
|
+
error: Tn,
|
|
858
|
+
complete: St
|
|
859
|
+
}, Pn = function() {
|
|
809
860
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
810
861
|
}();
|
|
811
|
-
function
|
|
862
|
+
function Mn(e) {
|
|
812
863
|
return e;
|
|
813
864
|
}
|
|
814
|
-
function
|
|
815
|
-
return e.length === 0 ?
|
|
865
|
+
function On(e) {
|
|
866
|
+
return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
|
|
816
867
|
return e.reduce(function(n, i) {
|
|
817
868
|
return i(n);
|
|
818
869
|
}, r);
|
|
819
870
|
};
|
|
820
871
|
}
|
|
821
|
-
var
|
|
872
|
+
var It = function() {
|
|
822
873
|
function e(t) {
|
|
823
874
|
t && (this._subscribe = t);
|
|
824
875
|
}
|
|
@@ -826,7 +877,7 @@ var Et = function() {
|
|
|
826
877
|
var r = new e();
|
|
827
878
|
return r.source = this, r.operator = t, r;
|
|
828
879
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
829
|
-
var i = this, o =
|
|
880
|
+
var i = this, o = Cn(t) ? t : new rt(t, r, n);
|
|
830
881
|
return Se(function() {
|
|
831
882
|
var a = i, s = a.operator, l = a.source;
|
|
832
883
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -839,8 +890,8 @@ var Et = function() {
|
|
|
839
890
|
}
|
|
840
891
|
}, e.prototype.forEach = function(t, r) {
|
|
841
892
|
var n = this;
|
|
842
|
-
return r =
|
|
843
|
-
var a = new
|
|
893
|
+
return r = Bt(r), new r(function(i, o) {
|
|
894
|
+
var a = new rt({
|
|
844
895
|
next: function(s) {
|
|
845
896
|
try {
|
|
846
897
|
t(s);
|
|
@@ -856,15 +907,15 @@ var Et = function() {
|
|
|
856
907
|
}, e.prototype._subscribe = function(t) {
|
|
857
908
|
var r;
|
|
858
909
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
859
|
-
}, e.prototype[
|
|
910
|
+
}, e.prototype[Pn] = function() {
|
|
860
911
|
return this;
|
|
861
912
|
}, e.prototype.pipe = function() {
|
|
862
913
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
863
914
|
t[r] = arguments[r];
|
|
864
|
-
return
|
|
915
|
+
return On(t)(this);
|
|
865
916
|
}, e.prototype.toPromise = function(t) {
|
|
866
917
|
var r = this;
|
|
867
|
-
return t =
|
|
918
|
+
return t = Bt(t), new t(function(n, i) {
|
|
868
919
|
var o;
|
|
869
920
|
r.subscribe(function(a) {
|
|
870
921
|
return o = a;
|
|
@@ -878,32 +929,32 @@ var Et = function() {
|
|
|
878
929
|
return new e(t);
|
|
879
930
|
}, e;
|
|
880
931
|
}();
|
|
881
|
-
function
|
|
932
|
+
function Bt(e) {
|
|
882
933
|
var t;
|
|
883
|
-
return (t = e ??
|
|
934
|
+
return (t = e ?? mr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
884
935
|
}
|
|
885
|
-
function
|
|
936
|
+
function Ln(e) {
|
|
886
937
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
887
938
|
}
|
|
888
|
-
function
|
|
889
|
-
return e && e instanceof
|
|
939
|
+
function Cn(e) {
|
|
940
|
+
return e && e instanceof pr || Ln(e) && dr(e);
|
|
890
941
|
}
|
|
891
|
-
var
|
|
942
|
+
var Fn = cr(function(e) {
|
|
892
943
|
return function() {
|
|
893
944
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
894
945
|
};
|
|
895
|
-
}),
|
|
946
|
+
}), gr = function(e) {
|
|
896
947
|
k(t, e);
|
|
897
948
|
function t() {
|
|
898
949
|
var r = e.call(this) || this;
|
|
899
950
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
900
951
|
}
|
|
901
952
|
return t.prototype.lift = function(r) {
|
|
902
|
-
var n = new
|
|
953
|
+
var n = new At(this, this);
|
|
903
954
|
return n.operator = r, n;
|
|
904
955
|
}, t.prototype._throwIfClosed = function() {
|
|
905
956
|
if (this.closed)
|
|
906
|
-
throw new
|
|
957
|
+
throw new Fn();
|
|
907
958
|
}, t.prototype.next = function(r) {
|
|
908
959
|
var n = this;
|
|
909
960
|
Se(function() {
|
|
@@ -911,7 +962,7 @@ var Mn = lr(function(e) {
|
|
|
911
962
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
912
963
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
913
964
|
try {
|
|
914
|
-
for (var a =
|
|
965
|
+
for (var a = Ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
915
966
|
var l = s.value;
|
|
916
967
|
l.next(r);
|
|
917
968
|
}
|
|
@@ -921,7 +972,8 @@ var Mn = lr(function(e) {
|
|
|
921
972
|
try {
|
|
922
973
|
s && !s.done && (o = a.return) && o.call(a);
|
|
923
974
|
} finally {
|
|
924
|
-
if (i)
|
|
975
|
+
if (i)
|
|
976
|
+
throw i.error;
|
|
925
977
|
}
|
|
926
978
|
}
|
|
927
979
|
}
|
|
@@ -959,19 +1011,19 @@ var Mn = lr(function(e) {
|
|
|
959
1011
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
960
1012
|
}, t.prototype._innerSubscribe = function(r) {
|
|
961
1013
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
962
|
-
return o || a ?
|
|
963
|
-
n.currentObservers = null,
|
|
1014
|
+
return o || a ? fr : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
1015
|
+
n.currentObservers = null, tt(s, r);
|
|
964
1016
|
}));
|
|
965
1017
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
966
1018
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
967
1019
|
i ? r.error(o) : a && r.complete();
|
|
968
1020
|
}, t.prototype.asObservable = function() {
|
|
969
|
-
var r = new
|
|
1021
|
+
var r = new It();
|
|
970
1022
|
return r.source = this, r;
|
|
971
1023
|
}, t.create = function(r, n) {
|
|
972
|
-
return new
|
|
1024
|
+
return new At(r, n);
|
|
973
1025
|
}, t;
|
|
974
|
-
}(
|
|
1026
|
+
}(It), At = function(e) {
|
|
975
1027
|
k(t, e);
|
|
976
1028
|
function t(r, n) {
|
|
977
1029
|
var i = e.call(this) || this;
|
|
@@ -988,17 +1040,17 @@ var Mn = lr(function(e) {
|
|
|
988
1040
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
989
1041
|
}, t.prototype._subscribe = function(r) {
|
|
990
1042
|
var n, i;
|
|
991
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1043
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : fr;
|
|
992
1044
|
}, t;
|
|
993
|
-
}(
|
|
1045
|
+
}(gr), vr = {
|
|
994
1046
|
now: function() {
|
|
995
|
-
return (
|
|
1047
|
+
return (vr.delegate || Date).now();
|
|
996
1048
|
},
|
|
997
1049
|
delegate: void 0
|
|
998
|
-
},
|
|
1050
|
+
}, Rn = function(e) {
|
|
999
1051
|
k(t, e);
|
|
1000
1052
|
function t(r, n, i) {
|
|
1001
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1053
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = vr);
|
|
1002
1054
|
var o = e.call(this) || this;
|
|
1003
1055
|
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;
|
|
1004
1056
|
}
|
|
@@ -1018,15 +1070,15 @@ var Mn = lr(function(e) {
|
|
|
1018
1070
|
u && o.splice(0, u + 1);
|
|
1019
1071
|
}
|
|
1020
1072
|
}, t;
|
|
1021
|
-
}(
|
|
1022
|
-
const
|
|
1023
|
-
if (
|
|
1024
|
-
const r = new
|
|
1025
|
-
|
|
1073
|
+
}(gr);
|
|
1074
|
+
const Tt = [], Ht = {}, Un = (e, t = 0) => {
|
|
1075
|
+
if (Tt.indexOf(e) == -1) {
|
|
1076
|
+
const r = new Rn(t);
|
|
1077
|
+
Ht[e] = r, Tt.push(e);
|
|
1026
1078
|
}
|
|
1027
|
-
return
|
|
1079
|
+
return Ht[e];
|
|
1028
1080
|
}, J = [];
|
|
1029
|
-
function
|
|
1081
|
+
function Dn(e, t) {
|
|
1030
1082
|
return {
|
|
1031
1083
|
subscribe: Oe(e, t).subscribe
|
|
1032
1084
|
};
|
|
@@ -1035,7 +1087,7 @@ function Oe(e, t = R) {
|
|
|
1035
1087
|
let r;
|
|
1036
1088
|
const n = /* @__PURE__ */ new Set();
|
|
1037
1089
|
function i(s) {
|
|
1038
|
-
if (
|
|
1090
|
+
if (ir(e, s) && (e = s, r)) {
|
|
1039
1091
|
const l = !J.length;
|
|
1040
1092
|
for (const u of n)
|
|
1041
1093
|
u[1](), J.push(u, e);
|
|
@@ -1062,7 +1114,7 @@ function se(e, t, r) {
|
|
|
1062
1114
|
if (!i.every(Boolean))
|
|
1063
1115
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1064
1116
|
const o = t.length < 2;
|
|
1065
|
-
return
|
|
1117
|
+
return Dn(r, (a, s) => {
|
|
1066
1118
|
let l = !1;
|
|
1067
1119
|
const u = [];
|
|
1068
1120
|
let h = 0, d = R;
|
|
@@ -1071,9 +1123,9 @@ function se(e, t, r) {
|
|
|
1071
1123
|
return;
|
|
1072
1124
|
d();
|
|
1073
1125
|
const g = t(n ? u[0] : u, a, s);
|
|
1074
|
-
o ? a(g) : d =
|
|
1126
|
+
o ? a(g) : d = ct(g) ? g : R;
|
|
1075
1127
|
}, p = i.map(
|
|
1076
|
-
(g, v) =>
|
|
1128
|
+
(g, v) => or(
|
|
1077
1129
|
g,
|
|
1078
1130
|
(A) => {
|
|
1079
1131
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1088,70 +1140,70 @@ function se(e, t, r) {
|
|
|
1088
1140
|
};
|
|
1089
1141
|
});
|
|
1090
1142
|
}
|
|
1091
|
-
function
|
|
1143
|
+
function Gn(e) {
|
|
1092
1144
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1093
1145
|
}
|
|
1094
|
-
var
|
|
1095
|
-
return
|
|
1146
|
+
var $n = function(t) {
|
|
1147
|
+
return kn(t) && !jn(t);
|
|
1096
1148
|
};
|
|
1097
|
-
function
|
|
1149
|
+
function kn(e) {
|
|
1098
1150
|
return !!e && typeof e == "object";
|
|
1099
1151
|
}
|
|
1100
|
-
function
|
|
1152
|
+
function jn(e) {
|
|
1101
1153
|
var t = Object.prototype.toString.call(e);
|
|
1102
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1154
|
+
return t === "[object RegExp]" || t === "[object Date]" || Xn(e);
|
|
1103
1155
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1106
|
-
return e.$$typeof ===
|
|
1156
|
+
var Wn = typeof Symbol == "function" && Symbol.for, Vn = Wn ? Symbol.for("react.element") : 60103;
|
|
1157
|
+
function Xn(e) {
|
|
1158
|
+
return e.$$typeof === Vn;
|
|
1107
1159
|
}
|
|
1108
|
-
function
|
|
1160
|
+
function zn(e) {
|
|
1109
1161
|
return Array.isArray(e) ? [] : {};
|
|
1110
1162
|
}
|
|
1111
1163
|
function pe(e, t) {
|
|
1112
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1164
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(zn(e), e, t) : e;
|
|
1113
1165
|
}
|
|
1114
|
-
function
|
|
1166
|
+
function Zn(e, t, r) {
|
|
1115
1167
|
return e.concat(t).map(function(n) {
|
|
1116
1168
|
return pe(n, r);
|
|
1117
1169
|
});
|
|
1118
1170
|
}
|
|
1119
|
-
function
|
|
1171
|
+
function Qn(e, t) {
|
|
1120
1172
|
if (!t.customMerge)
|
|
1121
1173
|
return re;
|
|
1122
1174
|
var r = t.customMerge(e);
|
|
1123
1175
|
return typeof r == "function" ? r : re;
|
|
1124
1176
|
}
|
|
1125
|
-
function
|
|
1177
|
+
function Yn(e) {
|
|
1126
1178
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1127
1179
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1128
1180
|
}) : [];
|
|
1129
1181
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return Object.keys(e).concat(
|
|
1182
|
+
function Pt(e) {
|
|
1183
|
+
return Object.keys(e).concat(Yn(e));
|
|
1132
1184
|
}
|
|
1133
|
-
function
|
|
1185
|
+
function br(e, t) {
|
|
1134
1186
|
try {
|
|
1135
1187
|
return t in e;
|
|
1136
1188
|
} catch {
|
|
1137
1189
|
return !1;
|
|
1138
1190
|
}
|
|
1139
1191
|
}
|
|
1140
|
-
function
|
|
1141
|
-
return
|
|
1192
|
+
function Jn(e, t) {
|
|
1193
|
+
return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1142
1194
|
}
|
|
1143
|
-
function
|
|
1195
|
+
function qn(e, t, r) {
|
|
1144
1196
|
var n = {};
|
|
1145
|
-
return r.isMergeableObject(e) &&
|
|
1197
|
+
return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
|
|
1146
1198
|
n[i] = pe(e[i], r);
|
|
1147
|
-
}),
|
|
1148
|
-
|
|
1199
|
+
}), Pt(t).forEach(function(i) {
|
|
1200
|
+
Jn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1149
1201
|
}), n;
|
|
1150
1202
|
}
|
|
1151
1203
|
function re(e, t, r) {
|
|
1152
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1204
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1153
1205
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1154
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1206
|
+
return o ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : pe(t, r);
|
|
1155
1207
|
}
|
|
1156
1208
|
re.all = function(t, r) {
|
|
1157
1209
|
if (!Array.isArray(t))
|
|
@@ -1160,56 +1212,58 @@ re.all = function(t, r) {
|
|
|
1160
1212
|
return re(n, i, r);
|
|
1161
1213
|
}, {});
|
|
1162
1214
|
};
|
|
1163
|
-
var
|
|
1164
|
-
const
|
|
1165
|
-
function
|
|
1166
|
-
var r = t && t.cache ? t.cache :
|
|
1215
|
+
var Kn = re, ei = Kn;
|
|
1216
|
+
const ti = /* @__PURE__ */ Gn(ei);
|
|
1217
|
+
function We(e, t) {
|
|
1218
|
+
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ni;
|
|
1167
1219
|
return i(e, {
|
|
1168
1220
|
cache: r,
|
|
1169
1221
|
serializer: n
|
|
1170
1222
|
});
|
|
1171
1223
|
}
|
|
1172
|
-
function
|
|
1224
|
+
function ri(e) {
|
|
1173
1225
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1174
1226
|
}
|
|
1175
|
-
function
|
|
1176
|
-
var i =
|
|
1227
|
+
function yr(e, t, r, n) {
|
|
1228
|
+
var i = ri(n) ? n : r(n), o = t.get(i);
|
|
1177
1229
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1178
1230
|
}
|
|
1179
|
-
function
|
|
1231
|
+
function _r(e, t, r) {
|
|
1180
1232
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1181
1233
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1182
1234
|
}
|
|
1183
|
-
function
|
|
1235
|
+
function dt(e, t, r, n, i) {
|
|
1184
1236
|
return r.bind(t, e, n, i);
|
|
1185
1237
|
}
|
|
1186
|
-
function
|
|
1187
|
-
var r = e.length === 1 ?
|
|
1188
|
-
return
|
|
1238
|
+
function ni(e, t) {
|
|
1239
|
+
var r = e.length === 1 ? yr : _r;
|
|
1240
|
+
return dt(e, this, r, t.cache.create(), t.serializer);
|
|
1241
|
+
}
|
|
1242
|
+
function ii(e, t) {
|
|
1243
|
+
return dt(e, this, _r, t.cache.create(), t.serializer);
|
|
1189
1244
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1245
|
+
function oi(e, t) {
|
|
1246
|
+
return dt(e, this, yr, t.cache.create(), t.serializer);
|
|
1192
1247
|
}
|
|
1193
|
-
var
|
|
1248
|
+
var ai = function() {
|
|
1194
1249
|
return JSON.stringify(arguments);
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
}()
|
|
1207
|
-
), ii = {
|
|
1250
|
+
};
|
|
1251
|
+
function mt() {
|
|
1252
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1253
|
+
}
|
|
1254
|
+
mt.prototype.get = function(e) {
|
|
1255
|
+
return this.cache[e];
|
|
1256
|
+
};
|
|
1257
|
+
mt.prototype.set = function(e, t) {
|
|
1258
|
+
this.cache[e] = t;
|
|
1259
|
+
};
|
|
1260
|
+
var si = {
|
|
1208
1261
|
create: function() {
|
|
1209
|
-
return new
|
|
1262
|
+
return new mt();
|
|
1210
1263
|
}
|
|
1211
|
-
},
|
|
1212
|
-
variadic:
|
|
1264
|
+
}, Ve = {
|
|
1265
|
+
variadic: ii,
|
|
1266
|
+
monadic: oi
|
|
1213
1267
|
}, _;
|
|
1214
1268
|
(function(e) {
|
|
1215
1269
|
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";
|
|
@@ -1222,43 +1276,43 @@ var ne;
|
|
|
1222
1276
|
(function(e) {
|
|
1223
1277
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1224
1278
|
})(ne || (ne = {}));
|
|
1225
|
-
function
|
|
1279
|
+
function Mt(e) {
|
|
1226
1280
|
return e.type === I.literal;
|
|
1227
1281
|
}
|
|
1228
|
-
function
|
|
1282
|
+
function li(e) {
|
|
1229
1283
|
return e.type === I.argument;
|
|
1230
1284
|
}
|
|
1231
|
-
function
|
|
1285
|
+
function xr(e) {
|
|
1232
1286
|
return e.type === I.number;
|
|
1233
1287
|
}
|
|
1234
|
-
function
|
|
1288
|
+
function wr(e) {
|
|
1235
1289
|
return e.type === I.date;
|
|
1236
1290
|
}
|
|
1237
|
-
function
|
|
1291
|
+
function Er(e) {
|
|
1238
1292
|
return e.type === I.time;
|
|
1239
1293
|
}
|
|
1240
|
-
function
|
|
1294
|
+
function Nr(e) {
|
|
1241
1295
|
return e.type === I.select;
|
|
1242
1296
|
}
|
|
1243
|
-
function
|
|
1297
|
+
function Sr(e) {
|
|
1244
1298
|
return e.type === I.plural;
|
|
1245
1299
|
}
|
|
1246
|
-
function
|
|
1300
|
+
function ui(e) {
|
|
1247
1301
|
return e.type === I.pound;
|
|
1248
1302
|
}
|
|
1249
|
-
function
|
|
1303
|
+
function Ir(e) {
|
|
1250
1304
|
return e.type === I.tag;
|
|
1251
1305
|
}
|
|
1252
|
-
function
|
|
1306
|
+
function Br(e) {
|
|
1253
1307
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1254
1308
|
}
|
|
1255
|
-
function
|
|
1309
|
+
function nt(e) {
|
|
1256
1310
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1257
1311
|
}
|
|
1258
|
-
var
|
|
1259
|
-
function
|
|
1312
|
+
var Ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[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;
|
|
1313
|
+
function ci(e) {
|
|
1260
1314
|
var t = {};
|
|
1261
|
-
return e.replace(
|
|
1315
|
+
return e.replace(hi, function(r) {
|
|
1262
1316
|
var n = r.length;
|
|
1263
1317
|
switch (r[0]) {
|
|
1264
1318
|
case "G":
|
|
@@ -1347,11 +1401,11 @@ function li(e) {
|
|
|
1347
1401
|
return "";
|
|
1348
1402
|
}), t;
|
|
1349
1403
|
}
|
|
1350
|
-
var
|
|
1351
|
-
function
|
|
1404
|
+
var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1405
|
+
function di(e) {
|
|
1352
1406
|
if (e.length === 0)
|
|
1353
1407
|
throw new Error("Number skeleton cannot be empty");
|
|
1354
|
-
for (var t = e.split(
|
|
1408
|
+
for (var t = e.split(fi).filter(function(f) {
|
|
1355
1409
|
return f.length > 0;
|
|
1356
1410
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1357
1411
|
var o = i[n], a = o.split("/");
|
|
@@ -1366,17 +1420,17 @@ function hi(e) {
|
|
|
1366
1420
|
}
|
|
1367
1421
|
return r;
|
|
1368
1422
|
}
|
|
1369
|
-
function
|
|
1423
|
+
function mi(e) {
|
|
1370
1424
|
return e.replace(/^(.*?)-/, "");
|
|
1371
1425
|
}
|
|
1372
|
-
var
|
|
1373
|
-
function
|
|
1426
|
+
var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
|
|
1427
|
+
function Lt(e) {
|
|
1374
1428
|
var t = {};
|
|
1375
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1429
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
|
|
1376
1430
|
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)), "";
|
|
1377
1431
|
}), t;
|
|
1378
1432
|
}
|
|
1379
|
-
function
|
|
1433
|
+
function Pr(e) {
|
|
1380
1434
|
switch (e) {
|
|
1381
1435
|
case "sign-auto":
|
|
1382
1436
|
return {
|
|
@@ -1416,7 +1470,7 @@ function Br(e) {
|
|
|
1416
1470
|
};
|
|
1417
1471
|
}
|
|
1418
1472
|
}
|
|
1419
|
-
function
|
|
1473
|
+
function gi(e) {
|
|
1420
1474
|
var t;
|
|
1421
1475
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1422
1476
|
notation: "engineering"
|
|
@@ -1424,17 +1478,17 @@ function di(e) {
|
|
|
1424
1478
|
notation: "scientific"
|
|
1425
1479
|
}, e = e.slice(1)), t) {
|
|
1426
1480
|
var r = e.slice(0, 2);
|
|
1427
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1481
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
|
|
1428
1482
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1429
1483
|
t.minimumIntegerDigits = e.length;
|
|
1430
1484
|
}
|
|
1431
1485
|
return t;
|
|
1432
1486
|
}
|
|
1433
|
-
function
|
|
1434
|
-
var t = {}, r =
|
|
1487
|
+
function Ct(e) {
|
|
1488
|
+
var t = {}, r = Pr(e);
|
|
1435
1489
|
return r || t;
|
|
1436
1490
|
}
|
|
1437
|
-
function
|
|
1491
|
+
function vi(e) {
|
|
1438
1492
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1439
1493
|
var i = n[r];
|
|
1440
1494
|
switch (i.stem) {
|
|
@@ -1458,7 +1512,7 @@ function mi(e) {
|
|
|
1458
1512
|
continue;
|
|
1459
1513
|
case "measure-unit":
|
|
1460
1514
|
case "unit":
|
|
1461
|
-
t.style = "unit", t.unit =
|
|
1515
|
+
t.style = "unit", t.unit = mi(i.options[0]);
|
|
1462
1516
|
continue;
|
|
1463
1517
|
case "compact-short":
|
|
1464
1518
|
case "K":
|
|
@@ -1470,12 +1524,12 @@ function mi(e) {
|
|
|
1470
1524
|
continue;
|
|
1471
1525
|
case "scientific":
|
|
1472
1526
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1473
|
-
return w(w({}, l),
|
|
1527
|
+
return w(w({}, l), Ct(u));
|
|
1474
1528
|
}, {}));
|
|
1475
1529
|
continue;
|
|
1476
1530
|
case "engineering":
|
|
1477
1531
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1478
|
-
return w(w({}, l),
|
|
1532
|
+
return w(w({}, l), Ct(u));
|
|
1479
1533
|
}, {}));
|
|
1480
1534
|
continue;
|
|
1481
1535
|
case "notation-simple":
|
|
@@ -1520,7 +1574,7 @@ function mi(e) {
|
|
|
1520
1574
|
case "integer-width":
|
|
1521
1575
|
if (i.options.length > 1)
|
|
1522
1576
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1523
|
-
i.options[0].replace(
|
|
1577
|
+
i.options[0].replace(pi, function(l, u, h, d, f, p) {
|
|
1524
1578
|
if (u)
|
|
1525
1579
|
t.minimumIntegerDigits = h.length;
|
|
1526
1580
|
else {
|
|
@@ -1533,27 +1587,27 @@ function mi(e) {
|
|
|
1533
1587
|
});
|
|
1534
1588
|
continue;
|
|
1535
1589
|
}
|
|
1536
|
-
if (
|
|
1590
|
+
if (Hr.test(i.stem)) {
|
|
1537
1591
|
t.minimumIntegerDigits = i.stem.length;
|
|
1538
1592
|
continue;
|
|
1539
1593
|
}
|
|
1540
|
-
if (
|
|
1594
|
+
if (Ot.test(i.stem)) {
|
|
1541
1595
|
if (i.options.length > 1)
|
|
1542
1596
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1543
|
-
i.stem.replace(
|
|
1597
|
+
i.stem.replace(Ot, function(l, u, h, d, f, p) {
|
|
1544
1598
|
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), "";
|
|
1545
1599
|
});
|
|
1546
1600
|
var o = i.options[0];
|
|
1547
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1601
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Lt(o)));
|
|
1548
1602
|
continue;
|
|
1549
1603
|
}
|
|
1550
|
-
if (
|
|
1551
|
-
t = w(w({}, t),
|
|
1604
|
+
if (Tr.test(i.stem)) {
|
|
1605
|
+
t = w(w({}, t), Lt(i.stem));
|
|
1552
1606
|
continue;
|
|
1553
1607
|
}
|
|
1554
|
-
var a =
|
|
1608
|
+
var a = Pr(i.stem);
|
|
1555
1609
|
a && (t = w(w({}, t), a));
|
|
1556
|
-
var s =
|
|
1610
|
+
var s = gi(i.stem);
|
|
1557
1611
|
s && (t = w(w({}, t), s));
|
|
1558
1612
|
}
|
|
1559
1613
|
return t;
|
|
@@ -2973,22 +3027,23 @@ var we = {
|
|
|
2973
3027
|
"h"
|
|
2974
3028
|
]
|
|
2975
3029
|
};
|
|
2976
|
-
function
|
|
3030
|
+
function bi(e, t) {
|
|
2977
3031
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2978
3032
|
var i = e.charAt(n);
|
|
2979
3033
|
if (i === "j") {
|
|
2980
3034
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2981
3035
|
o++, n++;
|
|
2982
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3036
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(t);
|
|
2983
3037
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2984
3038
|
r += l;
|
|
2985
3039
|
for (; a-- > 0; )
|
|
2986
3040
|
r = u + r;
|
|
2987
|
-
} else
|
|
3041
|
+
} else
|
|
3042
|
+
i === "J" ? r += "H" : r += i;
|
|
2988
3043
|
}
|
|
2989
3044
|
return r;
|
|
2990
3045
|
}
|
|
2991
|
-
function
|
|
3046
|
+
function yi(e) {
|
|
2992
3047
|
var t = e.hourCycle;
|
|
2993
3048
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2994
3049
|
e.hourCycles && // @ts-ignore
|
|
@@ -3010,20 +3065,20 @@ function gi(e) {
|
|
|
3010
3065
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3011
3066
|
return i[0];
|
|
3012
3067
|
}
|
|
3013
|
-
var
|
|
3068
|
+
var Xe, _i = new RegExp("^".concat(Ar.source, "*")), xi = new RegExp("".concat(Ar.source, "*$"));
|
|
3014
3069
|
function x(e, t) {
|
|
3015
3070
|
return { start: e, end: t };
|
|
3016
3071
|
}
|
|
3017
|
-
var
|
|
3072
|
+
var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, Ni = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Ti = Ai ? Number.isSafeInteger : function(e) {
|
|
3018
3073
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3019
|
-
},
|
|
3074
|
+
}, it = !0;
|
|
3020
3075
|
try {
|
|
3021
|
-
var
|
|
3022
|
-
|
|
3076
|
+
var Hi = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3077
|
+
it = ((Xe = Hi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
|
|
3023
3078
|
} catch {
|
|
3024
|
-
|
|
3079
|
+
it = !1;
|
|
3025
3080
|
}
|
|
3026
|
-
var
|
|
3081
|
+
var Ft = wi ? (
|
|
3027
3082
|
// Native
|
|
3028
3083
|
function(t, r, n) {
|
|
3029
3084
|
return t.startsWith(r, n);
|
|
@@ -3033,7 +3088,7 @@ var Ot = yi ? (
|
|
|
3033
3088
|
function(t, r, n) {
|
|
3034
3089
|
return t.slice(n, n + r.length) === r;
|
|
3035
3090
|
}
|
|
3036
|
-
),
|
|
3091
|
+
), ot = Ei ? String.fromCodePoint : (
|
|
3037
3092
|
// IE11
|
|
3038
3093
|
function() {
|
|
3039
3094
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3045,9 +3100,9 @@ var Ot = yi ? (
|
|
|
3045
3100
|
}
|
|
3046
3101
|
return n;
|
|
3047
3102
|
}
|
|
3048
|
-
),
|
|
3103
|
+
), Rt = (
|
|
3049
3104
|
// native
|
|
3050
|
-
|
|
3105
|
+
Ni ? Object.fromEntries : (
|
|
3051
3106
|
// Ponyfill
|
|
3052
3107
|
function(t) {
|
|
3053
3108
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3057,7 +3112,7 @@ var Ot = yi ? (
|
|
|
3057
3112
|
return r;
|
|
3058
3113
|
}
|
|
3059
3114
|
)
|
|
3060
|
-
),
|
|
3115
|
+
), Mr = Si ? (
|
|
3061
3116
|
// Native
|
|
3062
3117
|
function(t, r) {
|
|
3063
3118
|
return t.codePointAt(r);
|
|
@@ -3071,7 +3126,7 @@ var Ot = yi ? (
|
|
|
3071
3126
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3072
3127
|
}
|
|
3073
3128
|
}
|
|
3074
|
-
),
|
|
3129
|
+
), Pi = Ii ? (
|
|
3075
3130
|
// Native
|
|
3076
3131
|
function(t) {
|
|
3077
3132
|
return t.trimStart();
|
|
@@ -3079,9 +3134,9 @@ var Ot = yi ? (
|
|
|
3079
3134
|
) : (
|
|
3080
3135
|
// Ponyfill
|
|
3081
3136
|
function(t) {
|
|
3082
|
-
return t.replace(
|
|
3137
|
+
return t.replace(_i, "");
|
|
3083
3138
|
}
|
|
3084
|
-
),
|
|
3139
|
+
), Mi = Bi ? (
|
|
3085
3140
|
// Native
|
|
3086
3141
|
function(t) {
|
|
3087
3142
|
return t.trimEnd();
|
|
@@ -3089,32 +3144,32 @@ var Ot = yi ? (
|
|
|
3089
3144
|
) : (
|
|
3090
3145
|
// Ponyfill
|
|
3091
3146
|
function(t) {
|
|
3092
|
-
return t.replace(
|
|
3147
|
+
return t.replace(xi, "");
|
|
3093
3148
|
}
|
|
3094
3149
|
);
|
|
3095
|
-
function
|
|
3150
|
+
function Or(e, t) {
|
|
3096
3151
|
return new RegExp(e, t);
|
|
3097
3152
|
}
|
|
3098
|
-
var
|
|
3099
|
-
if (
|
|
3100
|
-
var
|
|
3101
|
-
|
|
3153
|
+
var at;
|
|
3154
|
+
if (it) {
|
|
3155
|
+
var Ut = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3156
|
+
at = function(t, r) {
|
|
3102
3157
|
var n;
|
|
3103
|
-
|
|
3104
|
-
var i =
|
|
3158
|
+
Ut.lastIndex = r;
|
|
3159
|
+
var i = Ut.exec(t);
|
|
3105
3160
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3106
3161
|
};
|
|
3107
3162
|
} else
|
|
3108
|
-
|
|
3163
|
+
at = function(t, r) {
|
|
3109
3164
|
for (var n = []; ; ) {
|
|
3110
|
-
var i =
|
|
3111
|
-
if (i === void 0 ||
|
|
3165
|
+
var i = Mr(t, r);
|
|
3166
|
+
if (i === void 0 || Lr(i) || Fi(i))
|
|
3112
3167
|
break;
|
|
3113
3168
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3114
3169
|
}
|
|
3115
|
-
return
|
|
3170
|
+
return ot.apply(void 0, n);
|
|
3116
3171
|
};
|
|
3117
|
-
var
|
|
3172
|
+
var Oi = (
|
|
3118
3173
|
/** @class */
|
|
3119
3174
|
function() {
|
|
3120
3175
|
function e(t, r) {
|
|
@@ -3145,7 +3200,7 @@ var Pi = (
|
|
|
3145
3200
|
if (n)
|
|
3146
3201
|
break;
|
|
3147
3202
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3148
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3203
|
+
} else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
|
|
3149
3204
|
var a = this.parseTag(t, r);
|
|
3150
3205
|
if (a.err)
|
|
3151
3206
|
return a;
|
|
@@ -3178,7 +3233,7 @@ var Pi = (
|
|
|
3178
3233
|
return o;
|
|
3179
3234
|
var a = o.val, s = this.clonePosition();
|
|
3180
3235
|
if (this.bumpIf("</")) {
|
|
3181
|
-
if (this.isEOF() || !
|
|
3236
|
+
if (this.isEOF() || !st(this.char()))
|
|
3182
3237
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3183
3238
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3184
3239
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3196,7 +3251,7 @@ var Pi = (
|
|
|
3196
3251
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3197
3252
|
}, e.prototype.parseTagName = function() {
|
|
3198
3253
|
var t = this.offset();
|
|
3199
|
-
for (this.bump(); !this.isEOF() &&
|
|
3254
|
+
for (this.bump(); !this.isEOF() && Ci(this.char()); )
|
|
3200
3255
|
this.bump();
|
|
3201
3256
|
return this.message.slice(t, this.offset());
|
|
3202
3257
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3225,7 +3280,7 @@ var Pi = (
|
|
|
3225
3280
|
};
|
|
3226
3281
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3227
3282
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3228
|
-
!
|
|
3283
|
+
!Li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3229
3284
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3230
3285
|
if (this.isEOF() || this.char() !== 39)
|
|
3231
3286
|
return null;
|
|
@@ -3259,12 +3314,12 @@ var Pi = (
|
|
|
3259
3314
|
r.push(n);
|
|
3260
3315
|
this.bump();
|
|
3261
3316
|
}
|
|
3262
|
-
return
|
|
3317
|
+
return ot.apply(void 0, r);
|
|
3263
3318
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3264
3319
|
if (this.isEOF())
|
|
3265
3320
|
return null;
|
|
3266
3321
|
var n = this.char();
|
|
3267
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3322
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ot(n));
|
|
3268
3323
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3269
3324
|
var n = this.clonePosition();
|
|
3270
3325
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3293,7 +3348,7 @@ var Pi = (
|
|
|
3293
3348
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3294
3349
|
}
|
|
3295
3350
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3296
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3351
|
+
var t = this.clonePosition(), r = this.offset(), n = at(this.message, r), i = r + n.length;
|
|
3297
3352
|
this.bumpTo(i);
|
|
3298
3353
|
var o = this.clonePosition(), a = x(t, o);
|
|
3299
3354
|
return { value: n, location: a };
|
|
@@ -3312,7 +3367,7 @@ var Pi = (
|
|
|
3312
3367
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3313
3368
|
if (d.err)
|
|
3314
3369
|
return d;
|
|
3315
|
-
var f =
|
|
3370
|
+
var f = Mi(d.val);
|
|
3316
3371
|
if (f.length === 0)
|
|
3317
3372
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3318
3373
|
var p = x(h, this.clonePosition());
|
|
@@ -3322,8 +3377,8 @@ var Pi = (
|
|
|
3322
3377
|
if (g.err)
|
|
3323
3378
|
return g;
|
|
3324
3379
|
var v = x(i, this.clonePosition());
|
|
3325
|
-
if (u &&
|
|
3326
|
-
var A =
|
|
3380
|
+
if (u && Ft(u?.style, "::", 0)) {
|
|
3381
|
+
var A = Pi(u.style.slice(2));
|
|
3327
3382
|
if (s === "number") {
|
|
3328
3383
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3329
3384
|
return d.err ? d : {
|
|
@@ -3334,12 +3389,12 @@ var Pi = (
|
|
|
3334
3389
|
if (A.length === 0)
|
|
3335
3390
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3336
3391
|
var S = A;
|
|
3337
|
-
this.locale && (S =
|
|
3392
|
+
this.locale && (S = bi(A, this.locale));
|
|
3338
3393
|
var f = {
|
|
3339
3394
|
type: ne.dateTime,
|
|
3340
3395
|
pattern: S,
|
|
3341
3396
|
location: u.styleLocation,
|
|
3342
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3397
|
+
parsedOptions: this.shouldParseSkeletons ? ci(S) : {}
|
|
3343
3398
|
}, b = s === "date" ? I.date : I.time;
|
|
3344
3399
|
return {
|
|
3345
3400
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3385,7 +3440,7 @@ var Pi = (
|
|
|
3385
3440
|
val: {
|
|
3386
3441
|
type: I.select,
|
|
3387
3442
|
value: n,
|
|
3388
|
-
options:
|
|
3443
|
+
options: Rt(X.val),
|
|
3389
3444
|
location: Q
|
|
3390
3445
|
},
|
|
3391
3446
|
err: null
|
|
@@ -3393,7 +3448,7 @@ var Pi = (
|
|
|
3393
3448
|
val: {
|
|
3394
3449
|
type: I.plural,
|
|
3395
3450
|
value: n,
|
|
3396
|
-
options:
|
|
3451
|
+
options: Rt(X.val),
|
|
3397
3452
|
offset: T,
|
|
3398
3453
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3399
3454
|
location: Q
|
|
@@ -3444,7 +3499,7 @@ var Pi = (
|
|
|
3444
3499
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3445
3500
|
var n = [];
|
|
3446
3501
|
try {
|
|
3447
|
-
n =
|
|
3502
|
+
n = di(t);
|
|
3448
3503
|
} catch {
|
|
3449
3504
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3450
3505
|
}
|
|
@@ -3453,7 +3508,7 @@ var Pi = (
|
|
|
3453
3508
|
type: ne.number,
|
|
3454
3509
|
tokens: n,
|
|
3455
3510
|
location: r,
|
|
3456
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3511
|
+
parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
|
|
3457
3512
|
},
|
|
3458
3513
|
err: null
|
|
3459
3514
|
};
|
|
@@ -3501,7 +3556,7 @@ var Pi = (
|
|
|
3501
3556
|
break;
|
|
3502
3557
|
}
|
|
3503
3558
|
var l = x(i, this.clonePosition());
|
|
3504
|
-
return o ? (a *= n,
|
|
3559
|
+
return o ? (a *= n, Ti(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3505
3560
|
}, e.prototype.offset = function() {
|
|
3506
3561
|
return this.position.offset;
|
|
3507
3562
|
}, e.prototype.isEOF = function() {
|
|
@@ -3516,7 +3571,7 @@ var Pi = (
|
|
|
3516
3571
|
var t = this.position.offset;
|
|
3517
3572
|
if (t >= this.message.length)
|
|
3518
3573
|
throw Error("out of bound");
|
|
3519
|
-
var r =
|
|
3574
|
+
var r = Mr(this.message, t);
|
|
3520
3575
|
if (r === void 0)
|
|
3521
3576
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3522
3577
|
return r;
|
|
@@ -3535,7 +3590,7 @@ var Pi = (
|
|
|
3535
3590
|
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);
|
|
3536
3591
|
}
|
|
3537
3592
|
}, e.prototype.bumpIf = function(t) {
|
|
3538
|
-
if (
|
|
3593
|
+
if (Ft(this.message, t, this.offset())) {
|
|
3539
3594
|
for (var r = 0; r < t.length; r++)
|
|
3540
3595
|
this.bump();
|
|
3541
3596
|
return !0;
|
|
@@ -3557,7 +3612,7 @@ var Pi = (
|
|
|
3557
3612
|
break;
|
|
3558
3613
|
}
|
|
3559
3614
|
}, e.prototype.bumpSpace = function() {
|
|
3560
|
-
for (; !this.isEOF() &&
|
|
3615
|
+
for (; !this.isEOF() && Lr(this.char()); )
|
|
3561
3616
|
this.bump();
|
|
3562
3617
|
}, e.prototype.peek = function() {
|
|
3563
3618
|
if (this.isEOF())
|
|
@@ -3567,37 +3622,38 @@ var Pi = (
|
|
|
3567
3622
|
}, e;
|
|
3568
3623
|
}()
|
|
3569
3624
|
);
|
|
3570
|
-
function
|
|
3625
|
+
function st(e) {
|
|
3571
3626
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3572
3627
|
}
|
|
3573
|
-
function
|
|
3574
|
-
return
|
|
3628
|
+
function Li(e) {
|
|
3629
|
+
return st(e) || e === 47;
|
|
3575
3630
|
}
|
|
3576
|
-
function
|
|
3631
|
+
function Ci(e) {
|
|
3577
3632
|
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;
|
|
3578
3633
|
}
|
|
3579
|
-
function
|
|
3634
|
+
function Lr(e) {
|
|
3580
3635
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3581
3636
|
}
|
|
3582
|
-
function
|
|
3637
|
+
function Fi(e) {
|
|
3583
3638
|
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;
|
|
3584
3639
|
}
|
|
3585
|
-
function
|
|
3640
|
+
function lt(e) {
|
|
3586
3641
|
e.forEach(function(t) {
|
|
3587
|
-
if (delete t.location,
|
|
3642
|
+
if (delete t.location, Nr(t) || Sr(t))
|
|
3588
3643
|
for (var r in t.options)
|
|
3589
|
-
delete t.options[r].location,
|
|
3590
|
-
else
|
|
3644
|
+
delete t.options[r].location, lt(t.options[r].value);
|
|
3645
|
+
else
|
|
3646
|
+
xr(t) && Br(t.style) || (wr(t) || Er(t)) && nt(t.style) ? delete t.style.location : Ir(t) && lt(t.children);
|
|
3591
3647
|
});
|
|
3592
3648
|
}
|
|
3593
|
-
function
|
|
3649
|
+
function Ri(e, t) {
|
|
3594
3650
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3595
|
-
var r = new
|
|
3651
|
+
var r = new Oi(e, t).parse();
|
|
3596
3652
|
if (r.err) {
|
|
3597
3653
|
var n = SyntaxError(_[r.err.kind]);
|
|
3598
3654
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3599
3655
|
}
|
|
3600
|
-
return t?.captureLocation ||
|
|
3656
|
+
return t?.captureLocation || lt(r.val), r.val;
|
|
3601
3657
|
}
|
|
3602
3658
|
var ie;
|
|
3603
3659
|
(function(e) {
|
|
@@ -3615,7 +3671,7 @@ var Le = (
|
|
|
3615
3671
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3616
3672
|
}, t;
|
|
3617
3673
|
}(Error)
|
|
3618
|
-
),
|
|
3674
|
+
), Dt = (
|
|
3619
3675
|
/** @class */
|
|
3620
3676
|
function(e) {
|
|
3621
3677
|
k(t, e);
|
|
@@ -3624,7 +3680,7 @@ var Le = (
|
|
|
3624
3680
|
}
|
|
3625
3681
|
return t;
|
|
3626
3682
|
}(Le)
|
|
3627
|
-
),
|
|
3683
|
+
), Ui = (
|
|
3628
3684
|
/** @class */
|
|
3629
3685
|
function(e) {
|
|
3630
3686
|
k(t, e);
|
|
@@ -3633,7 +3689,7 @@ var Le = (
|
|
|
3633
3689
|
}
|
|
3634
3690
|
return t;
|
|
3635
3691
|
}(Le)
|
|
3636
|
-
),
|
|
3692
|
+
), Di = (
|
|
3637
3693
|
/** @class */
|
|
3638
3694
|
function(e) {
|
|
3639
3695
|
k(t, e);
|
|
@@ -3646,17 +3702,17 @@ var Le = (
|
|
|
3646
3702
|
(function(e) {
|
|
3647
3703
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3648
3704
|
})(M || (M = {}));
|
|
3649
|
-
function
|
|
3705
|
+
function Gi(e) {
|
|
3650
3706
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3651
3707
|
var n = t[t.length - 1];
|
|
3652
3708
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3653
3709
|
}, []);
|
|
3654
3710
|
}
|
|
3655
|
-
function
|
|
3711
|
+
function $i(e) {
|
|
3656
3712
|
return typeof e == "function";
|
|
3657
3713
|
}
|
|
3658
3714
|
function Ie(e, t, r, n, i, o, a) {
|
|
3659
|
-
if (e.length === 1 &&
|
|
3715
|
+
if (e.length === 1 && Mt(e[0]))
|
|
3660
3716
|
return [
|
|
3661
3717
|
{
|
|
3662
3718
|
type: M.literal,
|
|
@@ -3665,14 +3721,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3665
3721
|
];
|
|
3666
3722
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3667
3723
|
var h = u[l];
|
|
3668
|
-
if (
|
|
3724
|
+
if (Mt(h)) {
|
|
3669
3725
|
s.push({
|
|
3670
3726
|
type: M.literal,
|
|
3671
3727
|
value: h.value
|
|
3672
3728
|
});
|
|
3673
3729
|
continue;
|
|
3674
3730
|
}
|
|
3675
|
-
if (
|
|
3731
|
+
if (ui(h)) {
|
|
3676
3732
|
typeof o == "number" && s.push({
|
|
3677
3733
|
type: M.literal,
|
|
3678
3734
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3681,43 +3737,43 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3681
3737
|
}
|
|
3682
3738
|
var d = h.value;
|
|
3683
3739
|
if (!(i && d in i))
|
|
3684
|
-
throw new
|
|
3740
|
+
throw new Di(d, a);
|
|
3685
3741
|
var f = i[d];
|
|
3686
|
-
if (
|
|
3742
|
+
if (li(h)) {
|
|
3687
3743
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3688
3744
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3689
3745
|
value: f
|
|
3690
3746
|
});
|
|
3691
3747
|
continue;
|
|
3692
3748
|
}
|
|
3693
|
-
if (
|
|
3694
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3749
|
+
if (wr(h)) {
|
|
3750
|
+
var p = typeof h.style == "string" ? n.date[h.style] : nt(h.style) ? h.style.parsedOptions : void 0;
|
|
3695
3751
|
s.push({
|
|
3696
3752
|
type: M.literal,
|
|
3697
3753
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3698
3754
|
});
|
|
3699
3755
|
continue;
|
|
3700
3756
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3757
|
+
if (Er(h)) {
|
|
3758
|
+
var p = typeof h.style == "string" ? n.time[h.style] : nt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3703
3759
|
s.push({
|
|
3704
3760
|
type: M.literal,
|
|
3705
3761
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3706
3762
|
});
|
|
3707
3763
|
continue;
|
|
3708
3764
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3765
|
+
if (xr(h)) {
|
|
3766
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Br(h.style) ? h.style.parsedOptions : void 0;
|
|
3711
3767
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3712
3768
|
type: M.literal,
|
|
3713
3769
|
value: r.getNumberFormat(t, p).format(f)
|
|
3714
3770
|
});
|
|
3715
3771
|
continue;
|
|
3716
3772
|
}
|
|
3717
|
-
if (
|
|
3773
|
+
if (Ir(h)) {
|
|
3718
3774
|
var g = h.children, v = h.value, A = i[v];
|
|
3719
|
-
if (
|
|
3720
|
-
throw new
|
|
3775
|
+
if (!$i(A))
|
|
3776
|
+
throw new Ui(v, "function", a);
|
|
3721
3777
|
var S = Ie(g, t, r, n, i, o), b = A(S.map(function(T) {
|
|
3722
3778
|
return T.value;
|
|
3723
3779
|
}));
|
|
@@ -3728,14 +3784,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3728
3784
|
};
|
|
3729
3785
|
}));
|
|
3730
3786
|
}
|
|
3731
|
-
if (
|
|
3787
|
+
if (Nr(h)) {
|
|
3732
3788
|
var N = h.options[f] || h.options.other;
|
|
3733
3789
|
if (!N)
|
|
3734
|
-
throw new
|
|
3790
|
+
throw new Dt(h.value, f, Object.keys(h.options), a);
|
|
3735
3791
|
s.push.apply(s, Ie(N.value, t, r, n, i));
|
|
3736
3792
|
continue;
|
|
3737
3793
|
}
|
|
3738
|
-
if (
|
|
3794
|
+
if (Sr(h)) {
|
|
3739
3795
|
var N = h.options["=".concat(f)];
|
|
3740
3796
|
if (!N) {
|
|
3741
3797
|
if (!Intl.PluralRules)
|
|
@@ -3746,24 +3802,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3746
3802
|
N = h.options[E] || h.options.other;
|
|
3747
3803
|
}
|
|
3748
3804
|
if (!N)
|
|
3749
|
-
throw new
|
|
3805
|
+
throw new Dt(h.value, f, Object.keys(h.options), a);
|
|
3750
3806
|
s.push.apply(s, Ie(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3751
3807
|
continue;
|
|
3752
3808
|
}
|
|
3753
3809
|
}
|
|
3754
|
-
return
|
|
3810
|
+
return Gi(s);
|
|
3755
3811
|
}
|
|
3756
|
-
function
|
|
3812
|
+
function ki(e, t) {
|
|
3757
3813
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3758
3814
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3759
3815
|
}, {})) : e;
|
|
3760
3816
|
}
|
|
3761
|
-
function
|
|
3817
|
+
function ji(e, t) {
|
|
3762
3818
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3763
|
-
return r[n] =
|
|
3819
|
+
return r[n] = ki(e[n], t[n]), r;
|
|
3764
3820
|
}, w({}, e)) : e;
|
|
3765
3821
|
}
|
|
3766
|
-
function
|
|
3822
|
+
function ze(e) {
|
|
3767
3823
|
return {
|
|
3768
3824
|
create: function() {
|
|
3769
3825
|
return {
|
|
@@ -3777,39 +3833,39 @@ function Xe(e) {
|
|
|
3777
3833
|
}
|
|
3778
3834
|
};
|
|
3779
3835
|
}
|
|
3780
|
-
function
|
|
3836
|
+
function Wi(e) {
|
|
3781
3837
|
return e === void 0 && (e = {
|
|
3782
3838
|
number: {},
|
|
3783
3839
|
dateTime: {},
|
|
3784
3840
|
pluralRules: {}
|
|
3785
3841
|
}), {
|
|
3786
|
-
getNumberFormat:
|
|
3842
|
+
getNumberFormat: We(function() {
|
|
3787
3843
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3844
|
r[n] = arguments[n];
|
|
3789
3845
|
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3790
3846
|
}, {
|
|
3791
|
-
cache:
|
|
3792
|
-
strategy:
|
|
3847
|
+
cache: ze(e.number),
|
|
3848
|
+
strategy: Ve.variadic
|
|
3793
3849
|
}),
|
|
3794
|
-
getDateTimeFormat:
|
|
3850
|
+
getDateTimeFormat: We(function() {
|
|
3795
3851
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3852
|
r[n] = arguments[n];
|
|
3797
3853
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3798
3854
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3855
|
+
cache: ze(e.dateTime),
|
|
3856
|
+
strategy: Ve.variadic
|
|
3801
3857
|
}),
|
|
3802
|
-
getPluralRules:
|
|
3858
|
+
getPluralRules: We(function() {
|
|
3803
3859
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3860
|
r[n] = arguments[n];
|
|
3805
3861
|
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
|
|
3806
3862
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3863
|
+
cache: ze(e.pluralRules),
|
|
3864
|
+
strategy: Ve.variadic
|
|
3809
3865
|
})
|
|
3810
3866
|
};
|
|
3811
3867
|
}
|
|
3812
|
-
var
|
|
3868
|
+
var Vi = (
|
|
3813
3869
|
/** @class */
|
|
3814
3870
|
function() {
|
|
3815
3871
|
function e(t, r, n, i) {
|
|
@@ -3841,13 +3897,13 @@ var ki = (
|
|
|
3841
3897
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3842
3898
|
var a = i || {};
|
|
3843
3899
|
a.formatters;
|
|
3844
|
-
var s =
|
|
3900
|
+
var s = Nn(a, ["formatters"]);
|
|
3845
3901
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3846
3902
|
} else
|
|
3847
3903
|
this.ast = t;
|
|
3848
3904
|
if (!Array.isArray(this.ast))
|
|
3849
3905
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3850
|
-
this.formats =
|
|
3906
|
+
this.formats = ji(e.formats, n), this.formatters = i && i.formatters || Wi(this.formatterCache);
|
|
3851
3907
|
}
|
|
3852
3908
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3853
3909
|
get: function() {
|
|
@@ -3860,7 +3916,7 @@ var ki = (
|
|
|
3860
3916
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3861
3917
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3862
3918
|
}
|
|
3863
|
-
}, e.__parse =
|
|
3919
|
+
}, e.__parse = Ri, e.formats = {
|
|
3864
3920
|
number: {
|
|
3865
3921
|
integer: {
|
|
3866
3922
|
maximumFractionDigits: 0
|
|
@@ -3921,7 +3977,7 @@ var ki = (
|
|
|
3921
3977
|
}, e;
|
|
3922
3978
|
}()
|
|
3923
3979
|
);
|
|
3924
|
-
function
|
|
3980
|
+
function Xi(e, t) {
|
|
3925
3981
|
if (t == null)
|
|
3926
3982
|
return;
|
|
3927
3983
|
if (t in e)
|
|
@@ -3942,92 +3998,92 @@ function ji(e, t) {
|
|
|
3942
3998
|
n = void 0;
|
|
3943
3999
|
return n;
|
|
3944
4000
|
}
|
|
3945
|
-
const W = {},
|
|
4001
|
+
const W = {}, zi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Cr = (e, t) => {
|
|
3946
4002
|
if (t == null)
|
|
3947
4003
|
return;
|
|
3948
4004
|
if (t in W && e in W[t])
|
|
3949
4005
|
return W[t][e];
|
|
3950
4006
|
const r = Ce(t);
|
|
3951
4007
|
for (let n = 0; n < r.length; n++) {
|
|
3952
|
-
const i = r[n], o =
|
|
4008
|
+
const i = r[n], o = Qi(i, e);
|
|
3953
4009
|
if (o)
|
|
3954
|
-
return
|
|
4010
|
+
return zi(e, t, o);
|
|
3955
4011
|
}
|
|
3956
4012
|
};
|
|
3957
|
-
let
|
|
4013
|
+
let pt;
|
|
3958
4014
|
const be = Oe({});
|
|
3959
|
-
function
|
|
3960
|
-
return
|
|
4015
|
+
function Zi(e) {
|
|
4016
|
+
return pt[e] || null;
|
|
3961
4017
|
}
|
|
3962
|
-
function
|
|
3963
|
-
return e in
|
|
4018
|
+
function Fr(e) {
|
|
4019
|
+
return e in pt;
|
|
3964
4020
|
}
|
|
3965
|
-
function
|
|
3966
|
-
if (!
|
|
4021
|
+
function Qi(e, t) {
|
|
4022
|
+
if (!Fr(e))
|
|
3967
4023
|
return null;
|
|
3968
|
-
const r =
|
|
3969
|
-
return
|
|
4024
|
+
const r = Zi(e);
|
|
4025
|
+
return Xi(r, t);
|
|
3970
4026
|
}
|
|
3971
|
-
function
|
|
4027
|
+
function Yi(e) {
|
|
3972
4028
|
if (e == null)
|
|
3973
4029
|
return;
|
|
3974
4030
|
const t = Ce(e);
|
|
3975
4031
|
for (let r = 0; r < t.length; r++) {
|
|
3976
4032
|
const n = t[r];
|
|
3977
|
-
if (
|
|
4033
|
+
if (Fr(n))
|
|
3978
4034
|
return n;
|
|
3979
4035
|
}
|
|
3980
4036
|
}
|
|
3981
|
-
function
|
|
3982
|
-
delete W[e], be.update((r) => (r[e] =
|
|
4037
|
+
function Rr(e, ...t) {
|
|
4038
|
+
delete W[e], be.update((r) => (r[e] = ti.all([r[e] || {}, ...t]), r));
|
|
3983
4039
|
}
|
|
3984
4040
|
se(
|
|
3985
4041
|
[be],
|
|
3986
4042
|
([e]) => Object.keys(e)
|
|
3987
4043
|
);
|
|
3988
|
-
be.subscribe((e) =>
|
|
4044
|
+
be.subscribe((e) => pt = e);
|
|
3989
4045
|
const Be = {};
|
|
3990
|
-
function
|
|
4046
|
+
function Ji(e, t) {
|
|
3991
4047
|
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
3992
4048
|
}
|
|
3993
|
-
function
|
|
4049
|
+
function Ur(e) {
|
|
3994
4050
|
return Be[e];
|
|
3995
4051
|
}
|
|
3996
|
-
function
|
|
4052
|
+
function qi(e) {
|
|
3997
4053
|
return Ce(e).map((t) => {
|
|
3998
|
-
const r =
|
|
4054
|
+
const r = Ur(t);
|
|
3999
4055
|
return [t, r ? [...r] : []];
|
|
4000
4056
|
}).filter(([, t]) => t.length > 0);
|
|
4001
4057
|
}
|
|
4002
|
-
function
|
|
4058
|
+
function ut(e) {
|
|
4003
4059
|
return e == null ? !1 : Ce(e).some(
|
|
4004
4060
|
(t) => {
|
|
4005
4061
|
var r;
|
|
4006
|
-
return (r =
|
|
4062
|
+
return (r = Ur(t)) == null ? void 0 : r.size;
|
|
4007
4063
|
}
|
|
4008
4064
|
);
|
|
4009
4065
|
}
|
|
4010
|
-
function
|
|
4066
|
+
function Ki(e, t) {
|
|
4011
4067
|
return Promise.all(
|
|
4012
|
-
t.map((n) => (
|
|
4013
|
-
).then((n) =>
|
|
4068
|
+
t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
|
|
4069
|
+
).then((n) => Rr(e, ...n));
|
|
4014
4070
|
}
|
|
4015
4071
|
const ce = {};
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
4072
|
+
function Dr(e) {
|
|
4073
|
+
if (!ut(e))
|
|
4018
4074
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4019
|
-
const t =
|
|
4075
|
+
const t = qi(e);
|
|
4020
4076
|
return ce[e] = Promise.all(
|
|
4021
4077
|
t.map(
|
|
4022
|
-
([r, n]) =>
|
|
4078
|
+
([r, n]) => Ki(r, n)
|
|
4023
4079
|
)
|
|
4024
4080
|
).then(() => {
|
|
4025
|
-
if (
|
|
4026
|
-
return
|
|
4081
|
+
if (ut(e))
|
|
4082
|
+
return Dr(e);
|
|
4027
4083
|
delete ce[e];
|
|
4028
4084
|
}), ce[e];
|
|
4029
4085
|
}
|
|
4030
|
-
const
|
|
4086
|
+
const eo = {
|
|
4031
4087
|
number: {
|
|
4032
4088
|
scientific: { notation: "scientific" },
|
|
4033
4089
|
engineering: { notation: "engineering" },
|
|
@@ -4056,57 +4112,57 @@ const Ji = {
|
|
|
4056
4112
|
timeZoneName: "short"
|
|
4057
4113
|
}
|
|
4058
4114
|
}
|
|
4059
|
-
},
|
|
4115
|
+
}, to = {
|
|
4060
4116
|
fallbackLocale: null,
|
|
4061
4117
|
loadingDelay: 200,
|
|
4062
|
-
formats:
|
|
4118
|
+
formats: eo,
|
|
4063
4119
|
warnOnMissingMessages: !0,
|
|
4064
4120
|
handleMissingMessage: void 0,
|
|
4065
4121
|
ignoreTag: !0
|
|
4066
|
-
},
|
|
4122
|
+
}, ro = to;
|
|
4067
4123
|
function oe() {
|
|
4068
|
-
return
|
|
4124
|
+
return ro;
|
|
4069
4125
|
}
|
|
4070
|
-
const
|
|
4071
|
-
var
|
|
4126
|
+
const Ze = Oe(!1);
|
|
4127
|
+
var no = Object.defineProperty, io = Object.defineProperties, oo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lo = (e, t) => {
|
|
4072
4128
|
for (var r in t || (t = {}))
|
|
4073
|
-
|
|
4074
|
-
if (
|
|
4075
|
-
for (var r of
|
|
4076
|
-
|
|
4129
|
+
ao.call(t, r) && $t(e, r, t[r]);
|
|
4130
|
+
if (Gt)
|
|
4131
|
+
for (var r of Gt(t))
|
|
4132
|
+
so.call(t, r) && $t(e, r, t[r]);
|
|
4077
4133
|
return e;
|
|
4078
|
-
},
|
|
4079
|
-
let
|
|
4134
|
+
}, uo = (e, t) => io(e, oo(t));
|
|
4135
|
+
let ht;
|
|
4080
4136
|
const Te = Oe(null);
|
|
4081
|
-
function
|
|
4137
|
+
function kt(e) {
|
|
4082
4138
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4083
4139
|
}
|
|
4084
4140
|
function Ce(e, t = oe().fallbackLocale) {
|
|
4085
|
-
const r =
|
|
4086
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4141
|
+
const r = kt(e);
|
|
4142
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
|
|
4087
4143
|
}
|
|
4088
4144
|
function Z() {
|
|
4089
|
-
return
|
|
4145
|
+
return ht ?? void 0;
|
|
4090
4146
|
}
|
|
4091
4147
|
Te.subscribe((e) => {
|
|
4092
|
-
|
|
4148
|
+
ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4093
4149
|
});
|
|
4094
|
-
const
|
|
4095
|
-
if (e &&
|
|
4150
|
+
const ho = (e) => {
|
|
4151
|
+
if (e && Yi(e) && ut(e)) {
|
|
4096
4152
|
const { loadingDelay: t } = oe();
|
|
4097
4153
|
let r;
|
|
4098
4154
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4099
|
-
() =>
|
|
4155
|
+
() => Ze.set(!0),
|
|
4100
4156
|
t
|
|
4101
|
-
) :
|
|
4157
|
+
) : Ze.set(!0), Dr(e).then(() => {
|
|
4102
4158
|
Te.set(e);
|
|
4103
4159
|
}).finally(() => {
|
|
4104
|
-
clearTimeout(r),
|
|
4160
|
+
clearTimeout(r), Ze.set(!1);
|
|
4105
4161
|
});
|
|
4106
4162
|
}
|
|
4107
4163
|
return Te.set(e);
|
|
4108
|
-
}, le =
|
|
4109
|
-
set:
|
|
4164
|
+
}, le = uo(lo({}, Te), {
|
|
4165
|
+
set: ho
|
|
4110
4166
|
}), Fe = (e) => {
|
|
4111
4167
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4112
4168
|
return (n) => {
|
|
@@ -4114,20 +4170,20 @@ const so = (e) => {
|
|
|
4114
4170
|
return i in t ? t[i] : t[i] = e(n);
|
|
4115
4171
|
};
|
|
4116
4172
|
};
|
|
4117
|
-
var
|
|
4173
|
+
var co = Object.defineProperty, He = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
|
4118
4174
|
for (var r in t || (t = {}))
|
|
4119
|
-
|
|
4120
|
-
if (
|
|
4121
|
-
for (var r of
|
|
4122
|
-
|
|
4175
|
+
Gr.call(t, r) && jt(e, r, t[r]);
|
|
4176
|
+
if (He)
|
|
4177
|
+
for (var r of He(t))
|
|
4178
|
+
$r.call(t, r) && jt(e, r, t[r]);
|
|
4123
4179
|
return e;
|
|
4124
4180
|
}, ue = (e, t) => {
|
|
4125
4181
|
var r = {};
|
|
4126
4182
|
for (var n in e)
|
|
4127
|
-
|
|
4128
|
-
if (e != null &&
|
|
4129
|
-
for (var n of
|
|
4130
|
-
t.indexOf(n) < 0 &&
|
|
4183
|
+
Gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4184
|
+
if (e != null && He)
|
|
4185
|
+
for (var n of He(e))
|
|
4186
|
+
t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
|
|
4131
4187
|
return r;
|
|
4132
4188
|
};
|
|
4133
4189
|
const ge = (e, t) => {
|
|
@@ -4135,21 +4191,21 @@ const ge = (e, t) => {
|
|
|
4135
4191
|
if (e in r && t in r[e])
|
|
4136
4192
|
return r[e][t];
|
|
4137
4193
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4138
|
-
},
|
|
4194
|
+
}, fo = Fe(
|
|
4139
4195
|
(e) => {
|
|
4140
4196
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4141
4197
|
if (r == null)
|
|
4142
4198
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4143
4199
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4144
4200
|
}
|
|
4145
|
-
),
|
|
4201
|
+
), mo = Fe(
|
|
4146
4202
|
(e) => {
|
|
4147
4203
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4148
4204
|
if (r == null)
|
|
4149
4205
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4150
4206
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4151
4207
|
}
|
|
4152
|
-
),
|
|
4208
|
+
), po = Fe(
|
|
4153
4209
|
(e) => {
|
|
4154
4210
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4155
4211
|
if (r == null)
|
|
@@ -4158,33 +4214,33 @@ const ge = (e, t) => {
|
|
|
4158
4214
|
);
|
|
4159
4215
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4160
4216
|
}
|
|
4161
|
-
),
|
|
4217
|
+
), go = (e = {}) => {
|
|
4162
4218
|
var t = e, {
|
|
4163
4219
|
locale: r = Z()
|
|
4164
4220
|
} = t, n = ue(t, [
|
|
4165
4221
|
"locale"
|
|
4166
4222
|
]);
|
|
4167
|
-
return
|
|
4168
|
-
},
|
|
4223
|
+
return fo(gt({ locale: r }, n));
|
|
4224
|
+
}, vo = (e = {}) => {
|
|
4169
4225
|
var t = e, {
|
|
4170
4226
|
locale: r = Z()
|
|
4171
4227
|
} = t, n = ue(t, [
|
|
4172
4228
|
"locale"
|
|
4173
4229
|
]);
|
|
4174
|
-
return
|
|
4175
|
-
},
|
|
4230
|
+
return mo(gt({ locale: r }, n));
|
|
4231
|
+
}, bo = (e = {}) => {
|
|
4176
4232
|
var t = e, {
|
|
4177
4233
|
locale: r = Z()
|
|
4178
4234
|
} = t, n = ue(t, [
|
|
4179
4235
|
"locale"
|
|
4180
4236
|
]);
|
|
4181
|
-
return
|
|
4182
|
-
},
|
|
4237
|
+
return po(gt({ locale: r }, n));
|
|
4238
|
+
}, yo = Fe(
|
|
4183
4239
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4184
|
-
(e, t = Z()) => new
|
|
4240
|
+
(e, t = Z()) => new Vi(e, t, oe().formats, {
|
|
4185
4241
|
ignoreTag: oe().ignoreTag
|
|
4186
4242
|
})
|
|
4187
|
-
),
|
|
4243
|
+
), _o = (e, t = {}) => {
|
|
4188
4244
|
var r, n, i, o;
|
|
4189
4245
|
let a = t;
|
|
4190
4246
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4197,7 +4253,7 @@ const ge = (e, t) => {
|
|
|
4197
4253
|
throw new Error(
|
|
4198
4254
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4199
4255
|
);
|
|
4200
|
-
let h =
|
|
4256
|
+
let h = Cr(e, l);
|
|
4201
4257
|
if (!h)
|
|
4202
4258
|
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;
|
|
4203
4259
|
else if (typeof h != "string")
|
|
@@ -4208,7 +4264,7 @@ const ge = (e, t) => {
|
|
|
4208
4264
|
return h;
|
|
4209
4265
|
let d = h;
|
|
4210
4266
|
try {
|
|
4211
|
-
d =
|
|
4267
|
+
d = yo(h, l).format(s);
|
|
4212
4268
|
} catch (f) {
|
|
4213
4269
|
f instanceof Error && console.warn(
|
|
4214
4270
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4216,20 +4272,20 @@ const ge = (e, t) => {
|
|
|
4216
4272
|
);
|
|
4217
4273
|
}
|
|
4218
4274
|
return d;
|
|
4219
|
-
},
|
|
4220
|
-
se([le], () =>
|
|
4221
|
-
se([le], () =>
|
|
4222
|
-
se([le], () =>
|
|
4223
|
-
se([le, be], () =>
|
|
4224
|
-
window.emWidgets = { topic:
|
|
4225
|
-
const
|
|
4226
|
-
function
|
|
4227
|
-
|
|
4228
|
-
}
|
|
4229
|
-
function
|
|
4275
|
+
}, xo = (e, t) => bo(t).format(e), wo = (e, t) => vo(t).format(e), Eo = (e, t) => go(t).format(e), No = (e, t = Z()) => Cr(e, t), So = se([le, be], () => _o);
|
|
4276
|
+
se([le], () => xo);
|
|
4277
|
+
se([le], () => wo);
|
|
4278
|
+
se([le], () => Eo);
|
|
4279
|
+
se([le, be], () => No);
|
|
4280
|
+
window.emWidgets = { topic: Un };
|
|
4281
|
+
const Wt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4282
|
+
function Vt(e, t) {
|
|
4283
|
+
Rr(e, t);
|
|
4284
|
+
}
|
|
4285
|
+
function Io(e) {
|
|
4230
4286
|
le.set(e);
|
|
4231
4287
|
}
|
|
4232
|
-
const
|
|
4288
|
+
const Xt = {
|
|
4233
4289
|
en: {
|
|
4234
4290
|
secondaryMenuTitle: "Categories"
|
|
4235
4291
|
},
|
|
@@ -4264,13 +4320,13 @@ const jt = {
|
|
|
4264
4320
|
secondaryMenuTitle: "Categories"
|
|
4265
4321
|
}
|
|
4266
4322
|
};
|
|
4267
|
-
function
|
|
4323
|
+
function Bo(e, t) {
|
|
4268
4324
|
if (e) {
|
|
4269
4325
|
const r = document.createElement("style");
|
|
4270
4326
|
r.innerHTML = t, e.appendChild(r);
|
|
4271
4327
|
}
|
|
4272
4328
|
}
|
|
4273
|
-
function
|
|
4329
|
+
function Ao(e, t) {
|
|
4274
4330
|
const r = new URL(t);
|
|
4275
4331
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4276
4332
|
const i = document.createElement("style");
|
|
@@ -4279,7 +4335,7 @@ function So(e, t) {
|
|
|
4279
4335
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4280
4336
|
});
|
|
4281
4337
|
}
|
|
4282
|
-
function
|
|
4338
|
+
function To(e, t, r) {
|
|
4283
4339
|
if (window.emMessageBus) {
|
|
4284
4340
|
const n = document.createElement("style");
|
|
4285
4341
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4287,28 +4343,28 @@ function Io(e, t, r) {
|
|
|
4287
4343
|
});
|
|
4288
4344
|
}
|
|
4289
4345
|
}
|
|
4290
|
-
function
|
|
4291
|
-
|
|
4346
|
+
function Ho(e) {
|
|
4347
|
+
on(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4292
4348
|
}
|
|
4293
|
-
function
|
|
4349
|
+
function zt(e, t, r) {
|
|
4294
4350
|
const n = e.slice();
|
|
4295
4351
|
return n[44] = t[r], n[46] = r, n;
|
|
4296
4352
|
}
|
|
4297
|
-
function
|
|
4353
|
+
function Zt(e, t, r) {
|
|
4298
4354
|
const n = e.slice();
|
|
4299
4355
|
return n[44] = t[r], n;
|
|
4300
4356
|
}
|
|
4301
|
-
const
|
|
4302
|
-
function
|
|
4357
|
+
const Po = (e) => ({}), Qt = (e) => ({});
|
|
4358
|
+
function Yt(e) {
|
|
4303
4359
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4304
|
-
e[6] &&
|
|
4360
|
+
e[6] && Jt(e), u = Ae(
|
|
4305
4361
|
/*primaryMenuSpliced*/
|
|
4306
4362
|
e[7]
|
|
4307
4363
|
), h = [];
|
|
4308
4364
|
for (let f = 0; f < u.length; f += 1)
|
|
4309
|
-
h[f] =
|
|
4365
|
+
h[f] = tr(zt(e, u, f));
|
|
4310
4366
|
let d = !/*navigationBarSimple*/
|
|
4311
|
-
e[6] &&
|
|
4367
|
+
e[6] && rr(e);
|
|
4312
4368
|
return {
|
|
4313
4369
|
c() {
|
|
4314
4370
|
t = B("div"), l && l.c(), r = $(), n = B("div");
|
|
@@ -4328,10 +4384,10 @@ function zt(e) {
|
|
|
4328
4384
|
},
|
|
4329
4385
|
p(f, p) {
|
|
4330
4386
|
if (/*navigationBarSimple*/
|
|
4331
|
-
f[6] ? l && (
|
|
4387
|
+
f[6] ? l && (lr(), me(l, 1, 1, () => {
|
|
4332
4388
|
l = null;
|
|
4333
|
-
}),
|
|
4334
|
-
64 && V(l, 1)) : (l =
|
|
4389
|
+
}), ur()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4390
|
+
64 && V(l, 1)) : (l = Jt(f), l.c(), V(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4335
4391
|
32928) {
|
|
4336
4392
|
u = Ae(
|
|
4337
4393
|
/*primaryMenuSpliced*/
|
|
@@ -4339,15 +4395,15 @@ function zt(e) {
|
|
|
4339
4395
|
);
|
|
4340
4396
|
let g;
|
|
4341
4397
|
for (g = 0; g < u.length; g += 1) {
|
|
4342
|
-
const v =
|
|
4343
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4398
|
+
const v = zt(f, u, g);
|
|
4399
|
+
h[g] ? h[g].p(v, p) : (h[g] = tr(v), h[g].c(), h[g].m(n, i));
|
|
4344
4400
|
}
|
|
4345
4401
|
for (; g < h.length; g += 1)
|
|
4346
4402
|
h[g].d(1);
|
|
4347
4403
|
h.length = u.length;
|
|
4348
4404
|
}
|
|
4349
4405
|
/*navigationBarSimple*/
|
|
4350
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4406
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = rr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4351
4407
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4352
4408
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4353
4409
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4362,11 +4418,11 @@ function zt(e) {
|
|
|
4362
4418
|
me(l), s = !1;
|
|
4363
4419
|
},
|
|
4364
4420
|
d(f) {
|
|
4365
|
-
f && O(t), l && l.d(),
|
|
4421
|
+
f && O(t), l && l.d(), sr(h, f), d && d.d();
|
|
4366
4422
|
}
|
|
4367
4423
|
};
|
|
4368
4424
|
}
|
|
4369
|
-
function
|
|
4425
|
+
function Jt(e) {
|
|
4370
4426
|
let t, r, n, i, o = (
|
|
4371
4427
|
/*secondarymenutitle*/
|
|
4372
4428
|
(e[0] || /*$_*/
|
|
@@ -4375,19 +4431,19 @@ function Zt(e) {
|
|
|
4375
4431
|
const p = (
|
|
4376
4432
|
/*#slots*/
|
|
4377
4433
|
e[27].close
|
|
4378
|
-
), g =
|
|
4434
|
+
), g = en(
|
|
4379
4435
|
p,
|
|
4380
4436
|
e,
|
|
4381
4437
|
/*$$scope*/
|
|
4382
4438
|
e[26],
|
|
4383
|
-
|
|
4384
|
-
), v = g ||
|
|
4439
|
+
Qt
|
|
4440
|
+
), v = g || Mo();
|
|
4385
4441
|
let A = Ae(
|
|
4386
4442
|
/*secondaryMenu*/
|
|
4387
4443
|
e[8]
|
|
4388
4444
|
), S = [];
|
|
4389
4445
|
for (let b = 0; b < A.length; b += 1)
|
|
4390
|
-
S[b] =
|
|
4446
|
+
S[b] = Kt(Zt(e, A, b));
|
|
4391
4447
|
return {
|
|
4392
4448
|
c() {
|
|
4393
4449
|
t = B("div"), r = B("span"), v && v.c(), n = $(), i = B("h3"), a = ve(o), s = $(), l = B("div");
|
|
@@ -4400,7 +4456,7 @@ function Zt(e) {
|
|
|
4400
4456
|
L(b, t, N), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4401
4457
|
for (let E = 0; E < S.length; E += 1)
|
|
4402
4458
|
S[E] && S[E].m(l, null);
|
|
4403
|
-
h = !0, d || (f =
|
|
4459
|
+
h = !0, d || (f = Pe(
|
|
4404
4460
|
r,
|
|
4405
4461
|
"click",
|
|
4406
4462
|
/*navigationWindowToggle*/
|
|
@@ -4409,27 +4465,27 @@ function Zt(e) {
|
|
|
4409
4465
|
},
|
|
4410
4466
|
p(b, N) {
|
|
4411
4467
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4412
|
-
67108864) &&
|
|
4468
|
+
67108864) && rn(
|
|
4413
4469
|
g,
|
|
4414
4470
|
p,
|
|
4415
4471
|
b,
|
|
4416
4472
|
/*$$scope*/
|
|
4417
4473
|
b[26],
|
|
4418
|
-
h ?
|
|
4474
|
+
h ? tn(
|
|
4419
4475
|
p,
|
|
4420
4476
|
/*$$scope*/
|
|
4421
4477
|
b[26],
|
|
4422
4478
|
N,
|
|
4423
|
-
|
|
4424
|
-
) :
|
|
4479
|
+
Po
|
|
4480
|
+
) : nn(
|
|
4425
4481
|
/*$$scope*/
|
|
4426
4482
|
b[26]
|
|
4427
4483
|
),
|
|
4428
|
-
|
|
4484
|
+
Qt
|
|
4429
4485
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4430
4486
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4431
4487
|
(b[0] || /*$_*/
|
|
4432
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4488
|
+
b[12]("secondaryMenuTitle")) + "") && ft(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4433
4489
|
33056) {
|
|
4434
4490
|
A = Ae(
|
|
4435
4491
|
/*secondaryMenu*/
|
|
@@ -4437,8 +4493,8 @@ function Zt(e) {
|
|
|
4437
4493
|
);
|
|
4438
4494
|
let E;
|
|
4439
4495
|
for (E = 0; E < A.length; E += 1) {
|
|
4440
|
-
const T =
|
|
4441
|
-
S[E] ? S[E].p(T, N) : (S[E] =
|
|
4496
|
+
const T = Zt(b, A, E);
|
|
4497
|
+
S[E] ? S[E].p(T, N) : (S[E] = Kt(T), S[E].c(), S[E].m(l, null));
|
|
4442
4498
|
}
|
|
4443
4499
|
for (; E < S.length; E += 1)
|
|
4444
4500
|
S[E].d(1);
|
|
@@ -4455,15 +4511,15 @@ function Zt(e) {
|
|
|
4455
4511
|
me(v, b), h = !1;
|
|
4456
4512
|
},
|
|
4457
4513
|
d(b) {
|
|
4458
|
-
b && O(t), v && v.d(b),
|
|
4514
|
+
b && O(t), v && v.d(b), sr(S, b), d = !1, f();
|
|
4459
4515
|
}
|
|
4460
4516
|
};
|
|
4461
4517
|
}
|
|
4462
|
-
function
|
|
4518
|
+
function Mo(e) {
|
|
4463
4519
|
let t, r;
|
|
4464
4520
|
return {
|
|
4465
4521
|
c() {
|
|
4466
|
-
t =
|
|
4522
|
+
t = P("svg"), r = P("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4467
4523
|
},
|
|
4468
4524
|
m(n, i) {
|
|
4469
4525
|
L(n, t, i), y(t, r);
|
|
@@ -4474,7 +4530,7 @@ function To(e) {
|
|
|
4474
4530
|
}
|
|
4475
4531
|
};
|
|
4476
4532
|
}
|
|
4477
|
-
function
|
|
4533
|
+
function qt(e) {
|
|
4478
4534
|
let t, r, n, i;
|
|
4479
4535
|
return {
|
|
4480
4536
|
c() {
|
|
@@ -4497,13 +4553,13 @@ function Qt(e) {
|
|
|
4497
4553
|
}
|
|
4498
4554
|
};
|
|
4499
4555
|
}
|
|
4500
|
-
function
|
|
4556
|
+
function Kt(e) {
|
|
4501
4557
|
let t, r, n, i = (
|
|
4502
4558
|
/*item*/
|
|
4503
4559
|
e[44].label + ""
|
|
4504
4560
|
), o, a, s, l, u, h = (
|
|
4505
4561
|
/*item*/
|
|
4506
|
-
e[44].img &&
|
|
4562
|
+
e[44].img && qt(e)
|
|
4507
4563
|
);
|
|
4508
4564
|
function d() {
|
|
4509
4565
|
return (
|
|
@@ -4521,13 +4577,13 @@ function Yt(e) {
|
|
|
4521
4577
|
e[44].id ? "ActiveItem" : ""));
|
|
4522
4578
|
},
|
|
4523
4579
|
m(f, p) {
|
|
4524
|
-
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u =
|
|
4580
|
+
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Pe(t, "click", d), l = !0);
|
|
4525
4581
|
},
|
|
4526
4582
|
p(f, p) {
|
|
4527
4583
|
e = f, /*item*/
|
|
4528
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4584
|
+
e[44].img ? h ? h.p(e, p) : (h = qt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4529
4585
|
256 && i !== (i = /*item*/
|
|
4530
|
-
e[44].label + "") &&
|
|
4586
|
+
e[44].label + "") && ft(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4531
4587
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4532
4588
|
(e[5] === /*item*/
|
|
4533
4589
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4537,7 +4593,7 @@ function Yt(e) {
|
|
|
4537
4593
|
}
|
|
4538
4594
|
};
|
|
4539
4595
|
}
|
|
4540
|
-
function
|
|
4596
|
+
function er(e) {
|
|
4541
4597
|
let t, r, n, i;
|
|
4542
4598
|
return {
|
|
4543
4599
|
c() {
|
|
@@ -4560,13 +4616,13 @@ function Jt(e) {
|
|
|
4560
4616
|
}
|
|
4561
4617
|
};
|
|
4562
4618
|
}
|
|
4563
|
-
function
|
|
4619
|
+
function tr(e) {
|
|
4564
4620
|
let t, r, n, i = (
|
|
4565
4621
|
/*item*/
|
|
4566
4622
|
e[44].label + ""
|
|
4567
4623
|
), o, a, s, l, u = (
|
|
4568
4624
|
/*item*/
|
|
4569
|
-
e[44].img &&
|
|
4625
|
+
e[44].img && er(e)
|
|
4570
4626
|
);
|
|
4571
4627
|
function h() {
|
|
4572
4628
|
return (
|
|
@@ -4585,13 +4641,13 @@ function qt(e) {
|
|
|
4585
4641
|
e[44].id ? "ActiveItem" : ""));
|
|
4586
4642
|
},
|
|
4587
4643
|
m(d, f) {
|
|
4588
|
-
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4644
|
+
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Pe(t, "click", h), s = !0);
|
|
4589
4645
|
},
|
|
4590
4646
|
p(d, f) {
|
|
4591
4647
|
e = d, /*item*/
|
|
4592
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4648
|
+
e[44].img ? u ? u.p(e, f) : (u = er(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4593
4649
|
128 && i !== (i = /*item*/
|
|
4594
|
-
e[44].label + "") &&
|
|
4650
|
+
e[44].label + "") && ft(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4595
4651
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4596
4652
|
e[46] + " " + /*activeMenuItemId*/
|
|
4597
4653
|
(e[5] === /*item*/
|
|
@@ -4602,12 +4658,12 @@ function qt(e) {
|
|
|
4602
4658
|
}
|
|
4603
4659
|
};
|
|
4604
4660
|
}
|
|
4605
|
-
function
|
|
4661
|
+
function rr(e) {
|
|
4606
4662
|
let t, r, n, i, o;
|
|
4607
4663
|
function a(u, h) {
|
|
4608
4664
|
return (
|
|
4609
4665
|
/*isFlowerMenu*/
|
|
4610
|
-
u[11] ?
|
|
4666
|
+
u[11] ? Oo : Lo
|
|
4611
4667
|
);
|
|
4612
4668
|
}
|
|
4613
4669
|
let s = a(e), l = s(e);
|
|
@@ -4617,7 +4673,7 @@ function Kt(e) {
|
|
|
4617
4673
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4618
4674
|
},
|
|
4619
4675
|
m(u, h) {
|
|
4620
|
-
L(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4676
|
+
L(u, t, h), y(t, r), l.m(r, null), i || (o = Pe(
|
|
4621
4677
|
t,
|
|
4622
4678
|
"click",
|
|
4623
4679
|
/*navigationWindowToggle*/
|
|
@@ -4634,7 +4690,7 @@ function Kt(e) {
|
|
|
4634
4690
|
}
|
|
4635
4691
|
};
|
|
4636
4692
|
}
|
|
4637
|
-
function
|
|
4693
|
+
function Oo(e) {
|
|
4638
4694
|
let t, r, n, i, o, a, s;
|
|
4639
4695
|
return {
|
|
4640
4696
|
c() {
|
|
@@ -4654,18 +4710,18 @@ function Po(e) {
|
|
|
4654
4710
|
}
|
|
4655
4711
|
};
|
|
4656
4712
|
}
|
|
4657
|
-
function
|
|
4713
|
+
function Lo(e) {
|
|
4658
4714
|
let t;
|
|
4659
4715
|
function r(o, a) {
|
|
4660
4716
|
return (
|
|
4661
4717
|
/*imageIconUrl*/
|
|
4662
|
-
o[9] ?
|
|
4718
|
+
o[9] ? Fo : Co
|
|
4663
4719
|
);
|
|
4664
4720
|
}
|
|
4665
4721
|
let n = r(e), i = n(e);
|
|
4666
4722
|
return {
|
|
4667
4723
|
c() {
|
|
4668
|
-
i.c(), t =
|
|
4724
|
+
i.c(), t = ln();
|
|
4669
4725
|
},
|
|
4670
4726
|
m(o, a) {
|
|
4671
4727
|
i.m(o, a), L(o, t, a);
|
|
@@ -4678,11 +4734,11 @@ function Ho(e) {
|
|
|
4678
4734
|
}
|
|
4679
4735
|
};
|
|
4680
4736
|
}
|
|
4681
|
-
function
|
|
4737
|
+
function Co(e) {
|
|
4682
4738
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4683
4739
|
return {
|
|
4684
4740
|
c() {
|
|
4685
|
-
t =
|
|
4741
|
+
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");
|
|
4686
4742
|
},
|
|
4687
4743
|
m(v, A) {
|
|
4688
4744
|
L(v, 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);
|
|
@@ -4693,7 +4749,7 @@ function Mo(e) {
|
|
|
4693
4749
|
}
|
|
4694
4750
|
};
|
|
4695
4751
|
}
|
|
4696
|
-
function
|
|
4752
|
+
function Fo(e) {
|
|
4697
4753
|
let t, r;
|
|
4698
4754
|
return {
|
|
4699
4755
|
c() {
|
|
@@ -4724,11 +4780,11 @@ function Oo(e) {
|
|
|
4724
4780
|
}
|
|
4725
4781
|
};
|
|
4726
4782
|
}
|
|
4727
|
-
function
|
|
4783
|
+
function Ro(e) {
|
|
4728
4784
|
let t, r, n, i = !/*isLoading*/
|
|
4729
4785
|
e[1] && /*isMobile*/
|
|
4730
4786
|
e[13] && /*showNavigation*/
|
|
4731
|
-
e[3] &&
|
|
4787
|
+
e[3] && Yt(e);
|
|
4732
4788
|
return {
|
|
4733
4789
|
c() {
|
|
4734
4790
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4743,9 +4799,9 @@ function Lo(e) {
|
|
|
4743
4799
|
o[1] && /*isMobile*/
|
|
4744
4800
|
o[13] && /*showNavigation*/
|
|
4745
4801
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4746
|
-
10 && V(i, 1)) : (i =
|
|
4802
|
+
10 && V(i, 1)) : (i = Yt(o), i.c(), V(i, 1), i.m(t, null)) : i && (lr(), me(i, 1, 1, () => {
|
|
4747
4803
|
i = null;
|
|
4748
|
-
}),
|
|
4804
|
+
}), ur()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4749
4805
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4750
4806
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4751
4807
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4761,23 +4817,23 @@ function Lo(e) {
|
|
|
4761
4817
|
}
|
|
4762
4818
|
};
|
|
4763
4819
|
}
|
|
4764
|
-
function
|
|
4820
|
+
function Uo(e, t, r) {
|
|
4765
4821
|
let n;
|
|
4766
|
-
|
|
4767
|
-
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: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b =
|
|
4768
|
-
const
|
|
4769
|
-
fetch(g).then((
|
|
4770
|
-
Object.keys(
|
|
4771
|
-
|
|
4822
|
+
Kr(e, So, (m) => r(12, n = m));
|
|
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: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = Wt(S) !== "PC", N = !0, E = !1, T = !1, X = "", Q = !1, Re = [], ye = [], j = [], D, vt = "", Ue = {}, bt, De = !1;
|
|
4824
|
+
const kr = () => {
|
|
4825
|
+
fetch(g).then((H) => H.json()).then((H) => {
|
|
4826
|
+
Object.keys(H).forEach((C) => {
|
|
4827
|
+
Vt(C, H[C]);
|
|
4772
4828
|
});
|
|
4773
|
-
}).catch((
|
|
4774
|
-
console.log(
|
|
4829
|
+
}).catch((H) => {
|
|
4830
|
+
console.log(H);
|
|
4775
4831
|
});
|
|
4776
4832
|
};
|
|
4777
|
-
Object.keys(
|
|
4778
|
-
|
|
4833
|
+
Object.keys(Xt).forEach((m) => {
|
|
4834
|
+
Vt(m, Xt[m]);
|
|
4779
4835
|
});
|
|
4780
|
-
const
|
|
4836
|
+
const yt = (m) => {
|
|
4781
4837
|
if (m.data)
|
|
4782
4838
|
switch (m.data.type) {
|
|
4783
4839
|
case "PlayerAccountMenuActive":
|
|
@@ -4790,9 +4846,9 @@ function Co(e, t, r) {
|
|
|
4790
4846
|
r(4, T = !1);
|
|
4791
4847
|
break;
|
|
4792
4848
|
}
|
|
4793
|
-
},
|
|
4849
|
+
}, jr = () => {
|
|
4794
4850
|
r(11, De = A.toLowerCase() === "true");
|
|
4795
|
-
},
|
|
4851
|
+
}, Wr = () => {
|
|
4796
4852
|
r(4, T = !T), window.postMessage(
|
|
4797
4853
|
{
|
|
4798
4854
|
type: "MobileBottomNav",
|
|
@@ -4800,22 +4856,22 @@ function Co(e, t, r) {
|
|
|
4800
4856
|
},
|
|
4801
4857
|
window.location.href
|
|
4802
4858
|
);
|
|
4803
|
-
},
|
|
4804
|
-
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4805
|
-
},
|
|
4859
|
+
}, Vr = (m) => {
|
|
4860
|
+
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v && _t();
|
|
4861
|
+
}, Xr = () => {
|
|
4806
4862
|
Ge(), r(1, N = !0);
|
|
4807
|
-
let m =
|
|
4808
|
-
|
|
4863
|
+
let m = Wt(S), H = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4864
|
+
H.searchParams.append("userRoles", h), m && H.searchParams.append("device", "mtWeb"), fetch(H.href).then((C) => C.json()).then((C) => {
|
|
4809
4865
|
Re = [], r(8, j = []), r(3, E = C.length > 0), C.forEach((U) => {
|
|
4810
|
-
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9,
|
|
4811
|
-
}), r(6, Q = j.length == 0), j.length >= 5 && De && r(8, j = j.splice(0, 5)),
|
|
4866
|
+
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, vt = U?.img), r(8, j = U.children)) : Re.push(U);
|
|
4867
|
+
}), r(6, Q = j.length == 0), j.length >= 5 && De && r(8, j = j.splice(0, 5)), Vr(Re), r(1, N = !1);
|
|
4812
4868
|
}).catch((C) => {
|
|
4813
4869
|
r(1, N = !1), console.error(C);
|
|
4814
4870
|
});
|
|
4815
|
-
},
|
|
4816
|
-
const
|
|
4817
|
-
|
|
4818
|
-
}, he = (m,
|
|
4871
|
+
}, _t = () => {
|
|
4872
|
+
const H = ye.concat(j).find((C) => C.path.includes(v));
|
|
4873
|
+
H && r(5, X = H.id);
|
|
4874
|
+
}, he = (m, H, C, U) => {
|
|
4819
4875
|
Ue[U] ? window.postMessage(
|
|
4820
4876
|
{
|
|
4821
4877
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4826,7 +4882,7 @@ function Co(e, t, r) {
|
|
|
4826
4882
|
{
|
|
4827
4883
|
type: "NavigateTo",
|
|
4828
4884
|
path: m,
|
|
4829
|
-
target:
|
|
4885
|
+
target: H || null,
|
|
4830
4886
|
externalLink: C || !1
|
|
4831
4887
|
},
|
|
4832
4888
|
window.location.href
|
|
@@ -4834,23 +4890,23 @@ function Co(e, t, r) {
|
|
|
4834
4890
|
context: "MobileBottomNavigation",
|
|
4835
4891
|
menuItem: `${m}`
|
|
4836
4892
|
});
|
|
4837
|
-
},
|
|
4838
|
-
|
|
4893
|
+
}, zr = () => {
|
|
4894
|
+
Io(s);
|
|
4839
4895
|
}, Ge = () => {
|
|
4840
|
-
r(10,
|
|
4841
|
-
},
|
|
4896
|
+
r(10, bt = b && window.innerHeight / window.innerWidth < 1);
|
|
4897
|
+
}, xt = () => {
|
|
4842
4898
|
T && r(4, T = !1);
|
|
4843
4899
|
};
|
|
4844
|
-
|
|
4845
|
-
window.removeEventListener("message",
|
|
4900
|
+
fn(() => (window.addEventListener("message", yt, !1), document.addEventListener("focusin", xt), b && window.screen.orientation.addEventListener("change", Ge), () => {
|
|
4901
|
+
window.removeEventListener("message", yt), document.removeEventListener("focusin", xt), b && window.screen.orientation.removeEventListener("change", Ge);
|
|
4846
4902
|
}));
|
|
4847
|
-
const
|
|
4903
|
+
const Zr = (m) => {
|
|
4848
4904
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4849
|
-
},
|
|
4905
|
+
}, Qr = (m) => {
|
|
4850
4906
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4851
4907
|
};
|
|
4852
|
-
function
|
|
4853
|
-
|
|
4908
|
+
function Yr(m) {
|
|
4909
|
+
Qe[m ? "unshift" : "push"](() => {
|
|
4854
4910
|
D = m, r(2, D);
|
|
4855
4911
|
});
|
|
4856
4912
|
}
|
|
@@ -4858,14 +4914,14 @@ function Co(e, t, r) {
|
|
|
4858
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, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4859
4915
|
}, e.$$.update = () => {
|
|
4860
4916
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4861
|
-
33554432 && A &&
|
|
4862
|
-
16777218 && v && !N &&
|
|
4863
|
-
131072 && s &&
|
|
4864
|
-
983040 && a && s && l && h &&
|
|
4865
|
-
2097156 && f && D &&
|
|
4866
|
-
4194308 && p && D &&
|
|
4867
|
-
1048580 && d && D &&
|
|
4868
|
-
8388608 && g &&
|
|
4917
|
+
33554432 && A && jr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4918
|
+
16777218 && v && !N && _t(), e.$$.dirty[0] & /*lang*/
|
|
4919
|
+
131072 && s && zr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4920
|
+
983040 && a && s && l && h && Xr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4921
|
+
2097156 && f && D && Bo(D, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4922
|
+
4194308 && p && D && Ao(D, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4923
|
+
1048580 && d && D && To(D, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4924
|
+
8388608 && g && kr();
|
|
4869
4925
|
}, [
|
|
4870
4926
|
u,
|
|
4871
4927
|
N,
|
|
@@ -4876,12 +4932,12 @@ function Co(e, t, r) {
|
|
|
4876
4932
|
Q,
|
|
4877
4933
|
ye,
|
|
4878
4934
|
j,
|
|
4879
|
-
|
|
4880
|
-
|
|
4935
|
+
vt,
|
|
4936
|
+
bt,
|
|
4881
4937
|
De,
|
|
4882
4938
|
n,
|
|
4883
4939
|
b,
|
|
4884
|
-
|
|
4940
|
+
Wr,
|
|
4885
4941
|
he,
|
|
4886
4942
|
a,
|
|
4887
4943
|
s,
|
|
@@ -4895,19 +4951,19 @@ function Co(e, t, r) {
|
|
|
4895
4951
|
A,
|
|
4896
4952
|
o,
|
|
4897
4953
|
i,
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4954
|
+
Zr,
|
|
4955
|
+
Qr,
|
|
4956
|
+
Yr
|
|
4901
4957
|
];
|
|
4902
4958
|
}
|
|
4903
|
-
class
|
|
4959
|
+
class Do extends wn {
|
|
4904
4960
|
constructor(t) {
|
|
4905
|
-
super(),
|
|
4961
|
+
super(), _n(
|
|
4906
4962
|
this,
|
|
4907
4963
|
t,
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4964
|
+
Uo,
|
|
4965
|
+
Ro,
|
|
4966
|
+
ir,
|
|
4911
4967
|
{
|
|
4912
4968
|
cmsendpoint: 16,
|
|
4913
4969
|
lang: 17,
|
|
@@ -4921,7 +4977,7 @@ class Fo extends bn {
|
|
|
4921
4977
|
activecategory: 24,
|
|
4922
4978
|
flowermenustyle: 25
|
|
4923
4979
|
},
|
|
4924
|
-
|
|
4980
|
+
Ho,
|
|
4925
4981
|
[-1, -1]
|
|
4926
4982
|
);
|
|
4927
4983
|
}
|
|
@@ -4992,7 +5048,7 @@ class Fo extends bn {
|
|
|
4992
5048
|
this.$$set({ flowermenustyle: t }), F();
|
|
4993
5049
|
}
|
|
4994
5050
|
}
|
|
4995
|
-
|
|
5051
|
+
xn(Do, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
4996
5052
|
export {
|
|
4997
|
-
|
|
5053
|
+
Do as G
|
|
4998
5054
|
};
|