@everymatrix/general-navigation-bar 1.61.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-DilW-Iuz.js → GeneralNavigationBar-3urCZfeS.js} +596 -574
- package/components/GeneralNavigationBar-B3x1oUBX.cjs +18 -0
- package/components/{GeneralNavigationBar-BGRpCs8H.js → GeneralNavigationBar-DeJvrEma.js} +625 -603
- 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/stencil/index-b7bbd57e-6KaMTlNN.js +534 -0
- package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
- package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
- package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
- package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
- package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
- package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
- package/components/GeneralNavigationBar-6mYzJ1UA.cjs +0 -18
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var je = (e, t, r) => t in e ?
|
|
1
|
+
var on = Object.defineProperty, an = Object.defineProperties;
|
|
2
|
+
var sn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var St = Object.getOwnPropertySymbols;
|
|
4
|
+
var ln = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var je = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ln.call(t, r) && je(e, r, t[r]);
|
|
8
|
+
if (St)
|
|
9
|
+
for (var r of St(t))
|
|
10
|
+
un.call(t, r) && je(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Bt = (e, t) => an(e, sn(t));
|
|
13
13
|
var D = (e, t, r) => (je(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var At = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -27,10 +27,10 @@ var St = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-Bi4jDe3D.js";
|
|
31
31
|
function G() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function hn(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,29 +38,29 @@ function an(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function hr(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Tt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function le(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(hr);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function mt(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function cr(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
56
|
let we;
|
|
57
57
|
function ne(e, t) {
|
|
58
58
|
return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function cn(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function fr(e, ...t) {
|
|
64
64
|
if (e == null) {
|
|
65
65
|
for (const n of t)
|
|
66
66
|
n(void 0);
|
|
@@ -69,19 +69,19 @@ function ur(e, ...t) {
|
|
|
69
69
|
const r = e.subscribe(...t);
|
|
70
70
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function fn(e, t, r) {
|
|
73
|
+
e.$$.on_destroy.push(fr(t, r));
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function dn(e, t, r, n) {
|
|
76
76
|
if (e) {
|
|
77
|
-
const i =
|
|
77
|
+
const i = dr(e, t, r, n);
|
|
78
78
|
return e[0](i);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return e[1] && n ?
|
|
81
|
+
function dr(e, t, r, n) {
|
|
82
|
+
return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function mn(e, t, r, n) {
|
|
85
85
|
if (e[2] && n) {
|
|
86
86
|
const i = e[2](n(r));
|
|
87
87
|
if (t.dirty === void 0)
|
|
@@ -96,13 +96,13 @@ function hn(e, t, r, n) {
|
|
|
96
96
|
}
|
|
97
97
|
return t.dirty;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function pn(e, t, r, n, i, o) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const a =
|
|
101
|
+
const a = dr(t, r, n, o);
|
|
102
102
|
e.p(a, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function gn(e) {
|
|
106
106
|
if (e.ctx.length > 32) {
|
|
107
107
|
const t = [], r = e.ctx.length / 32;
|
|
108
108
|
for (let n = 0; n < r; n++)
|
|
@@ -114,14 +114,14 @@ function fn(e) {
|
|
|
114
114
|
function y(e, t) {
|
|
115
115
|
e.appendChild(t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
const n =
|
|
117
|
+
function vn(e, t, r) {
|
|
118
|
+
const n = bn(e);
|
|
119
119
|
if (!n.getElementById(t)) {
|
|
120
120
|
const i = B("style");
|
|
121
|
-
i.id = t, i.textContent = r,
|
|
121
|
+
i.id = t, i.textContent = r, yn(n, i);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function bn(e) {
|
|
125
125
|
if (!e)
|
|
126
126
|
return document;
|
|
127
127
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -131,7 +131,7 @@ function mn(e) {
|
|
|
131
131
|
t
|
|
132
132
|
) : e.ownerDocument;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function yn(e, t) {
|
|
135
135
|
return y(
|
|
136
136
|
/** @type {Document} */
|
|
137
137
|
e.head || e,
|
|
@@ -144,7 +144,7 @@ function F(e, t, r) {
|
|
|
144
144
|
function C(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function mr(e, t) {
|
|
148
148
|
for (let r = 0; r < e.length; r += 1)
|
|
149
149
|
e[r] && e[r].d(t);
|
|
150
150
|
}
|
|
@@ -160,7 +160,7 @@ function ye(e) {
|
|
|
160
160
|
function j() {
|
|
161
161
|
return ye(" ");
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function _n() {
|
|
164
164
|
return ye("");
|
|
165
165
|
}
|
|
166
166
|
function Oe(e, t, r, n) {
|
|
@@ -173,14 +173,14 @@ function O(e, t, r) {
|
|
|
173
173
|
const n = t.toLowerCase();
|
|
174
174
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : c(e, t, r);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function xn(e) {
|
|
177
177
|
return Array.from(e.childNodes);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function pt(e, t) {
|
|
180
180
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
181
181
|
t);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function wn(e) {
|
|
184
184
|
const t = {};
|
|
185
185
|
return e.childNodes.forEach(
|
|
186
186
|
/** @param {Element} node */
|
|
@@ -193,22 +193,22 @@ let pe;
|
|
|
193
193
|
function me(e) {
|
|
194
194
|
pe = e;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function En() {
|
|
197
197
|
if (!pe)
|
|
198
198
|
throw new Error("Function called outside component initialization");
|
|
199
199
|
return pe;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
|
|
201
|
+
function Nn(e) {
|
|
202
|
+
En().$$.on_mount.push(e);
|
|
203
203
|
}
|
|
204
|
-
const ee = [],
|
|
204
|
+
const ee = [], qe = [];
|
|
205
205
|
let te = [];
|
|
206
|
-
const
|
|
207
|
-
let
|
|
208
|
-
function
|
|
209
|
-
|
|
206
|
+
const Ht = [], Sn = /* @__PURE__ */ Promise.resolve();
|
|
207
|
+
let Ke = !1;
|
|
208
|
+
function In() {
|
|
209
|
+
Ke || (Ke = !0, Sn.then(R));
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function et(e) {
|
|
212
212
|
te.push(e);
|
|
213
213
|
}
|
|
214
214
|
const We = /* @__PURE__ */ new Set();
|
|
@@ -221,37 +221,37 @@ function R() {
|
|
|
221
221
|
try {
|
|
222
222
|
for (; q < ee.length; ) {
|
|
223
223
|
const t = ee[q];
|
|
224
|
-
q++, me(t),
|
|
224
|
+
q++, me(t), Bn(t.$$);
|
|
225
225
|
}
|
|
226
226
|
} catch (t) {
|
|
227
227
|
throw ee.length = 0, q = 0, t;
|
|
228
228
|
}
|
|
229
|
-
for (me(null), ee.length = 0, q = 0;
|
|
230
|
-
|
|
229
|
+
for (me(null), ee.length = 0, q = 0; qe.length; )
|
|
230
|
+
qe.pop()();
|
|
231
231
|
for (let t = 0; t < te.length; t += 1) {
|
|
232
232
|
const r = te[t];
|
|
233
233
|
We.has(r) || (We.add(r), r());
|
|
234
234
|
}
|
|
235
235
|
te.length = 0;
|
|
236
236
|
} while (ee.length);
|
|
237
|
-
for (;
|
|
238
|
-
|
|
239
|
-
|
|
237
|
+
for (; Ht.length; )
|
|
238
|
+
Ht.pop()();
|
|
239
|
+
Ke = !1, We.clear(), me(e);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Bn(e) {
|
|
242
242
|
if (e.fragment !== null) {
|
|
243
243
|
e.update(), le(e.before_update);
|
|
244
244
|
const t = e.dirty;
|
|
245
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
245
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function An(e) {
|
|
249
249
|
const t = [], r = [];
|
|
250
250
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
251
251
|
}
|
|
252
252
|
const Se = /* @__PURE__ */ new Set();
|
|
253
253
|
let Q;
|
|
254
|
-
function
|
|
254
|
+
function pr() {
|
|
255
255
|
Q = {
|
|
256
256
|
r: 0,
|
|
257
257
|
c: [],
|
|
@@ -259,7 +259,7 @@ function fr() {
|
|
|
259
259
|
// parent group
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function gr() {
|
|
263
263
|
Q.r || le(Q.c), Q = Q.p;
|
|
264
264
|
}
|
|
265
265
|
function z(e, t) {
|
|
@@ -275,24 +275,24 @@ function ge(e, t, r, n) {
|
|
|
275
275
|
} else
|
|
276
276
|
n && n();
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function He(e) {
|
|
279
279
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Tn(e, t, r) {
|
|
282
282
|
const { fragment: n, after_update: i } = e.$$;
|
|
283
|
-
n && n.m(t, r),
|
|
284
|
-
const o = e.$$.on_mount.map(
|
|
283
|
+
n && n.m(t, r), et(() => {
|
|
284
|
+
const o = e.$$.on_mount.map(hr).filter(mt);
|
|
285
285
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
|
|
286
|
-
}), i.forEach(
|
|
286
|
+
}), i.forEach(et);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Hn(e, t) {
|
|
289
289
|
const r = e.$$;
|
|
290
|
-
r.fragment !== null && (
|
|
290
|
+
r.fragment !== null && (An(r.after_update), le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
e.$$.dirty[0] === -1 && (ee.push(e),
|
|
292
|
+
function Pn(e, t) {
|
|
293
|
+
e.$$.dirty[0] === -1 && (ee.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
296
296
|
const l = pe;
|
|
297
297
|
me(e);
|
|
298
298
|
const u = e.$$ = {
|
|
@@ -302,7 +302,7 @@ function An(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
302
302
|
props: o,
|
|
303
303
|
update: G,
|
|
304
304
|
not_equal: i,
|
|
305
|
-
bound:
|
|
305
|
+
bound: Tt(),
|
|
306
306
|
// lifecycle
|
|
307
307
|
on_mount: [],
|
|
308
308
|
on_destroy: [],
|
|
@@ -311,7 +311,7 @@ function An(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
311
311
|
after_update: [],
|
|
312
312
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
313
313
|
// everything else
|
|
314
|
-
callbacks:
|
|
314
|
+
callbacks: Tt(),
|
|
315
315
|
dirty: s,
|
|
316
316
|
skip_bound: !1,
|
|
317
317
|
root: t.target || l.$$.root
|
|
@@ -320,19 +320,19 @@ function An(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
320
320
|
let h = !1;
|
|
321
321
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
322
322
|
const g = p.length ? p[0] : f;
|
|
323
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
323
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Pn(e, d)), f;
|
|
324
324
|
}) : [], u.update(), h = !0, le(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
325
325
|
if (t.hydrate) {
|
|
326
|
-
const d =
|
|
326
|
+
const d = xn(t.target);
|
|
327
327
|
u.fragment && u.fragment.l(d), d.forEach(C);
|
|
328
328
|
} else
|
|
329
329
|
u.fragment && u.fragment.c();
|
|
330
|
-
t.intro && z(e.$$.fragment),
|
|
330
|
+
t.intro && z(e.$$.fragment), Tn(e, t.target, t.anchor), R();
|
|
331
331
|
}
|
|
332
332
|
me(l);
|
|
333
333
|
}
|
|
334
|
-
let
|
|
335
|
-
typeof HTMLElement == "function" && (
|
|
334
|
+
let vr;
|
|
335
|
+
typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
336
336
|
constructor(t, r, n) {
|
|
337
337
|
super();
|
|
338
338
|
/** The Svelte component constructor */
|
|
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
connectedCallback() {
|
|
372
|
-
return
|
|
372
|
+
return At(this, null, function* () {
|
|
373
373
|
if (this.$$cn = !0, !this.$$c) {
|
|
374
374
|
let t = function(o) {
|
|
375
375
|
return () => {
|
|
@@ -393,7 +393,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
|
393
393
|
};
|
|
394
394
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
395
395
|
return;
|
|
396
|
-
const r = {}, n =
|
|
396
|
+
const r = {}, n = wn(this);
|
|
397
397
|
for (const o of this.$$s)
|
|
398
398
|
o in n && (r[o] = [t(o)]);
|
|
399
399
|
for (const o of this.attributes) {
|
|
@@ -404,7 +404,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
|
404
404
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
405
405
|
this.$$c = new this.$$ctor({
|
|
406
406
|
target: this.shadowRoot || this,
|
|
407
|
-
props:
|
|
407
|
+
props: Bt(It({}, this.$$d), {
|
|
408
408
|
$$slots: r,
|
|
409
409
|
$$scope: {
|
|
410
410
|
ctx: []
|
|
@@ -482,8 +482,8 @@ function Ie(e, t, r, n) {
|
|
|
482
482
|
return t;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
486
|
-
let a = class extends
|
|
485
|
+
function On(e, t, r, n, i, o) {
|
|
486
|
+
let a = class extends vr {
|
|
487
487
|
constructor() {
|
|
488
488
|
super(e, r, i), this.$$p_d = t;
|
|
489
489
|
}
|
|
@@ -513,7 +513,7 @@ function Tn(e, t, r, n, i, o) {
|
|
|
513
513
|
}), e.element = /** @type {any} */
|
|
514
514
|
a, a;
|
|
515
515
|
}
|
|
516
|
-
class
|
|
516
|
+
class Ln {
|
|
517
517
|
constructor() {
|
|
518
518
|
/**
|
|
519
519
|
* ### PRIVATE API
|
|
@@ -534,7 +534,7 @@ class Pn {
|
|
|
534
534
|
}
|
|
535
535
|
/** @returns {void} */
|
|
536
536
|
$destroy() {
|
|
537
|
-
|
|
537
|
+
Hn(this, 1), this.$destroy = G;
|
|
538
538
|
}
|
|
539
539
|
/**
|
|
540
540
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -543,7 +543,7 @@ class Pn {
|
|
|
543
543
|
* @returns {() => void}
|
|
544
544
|
*/
|
|
545
545
|
$on(t, r) {
|
|
546
|
-
if (!
|
|
546
|
+
if (!mt(r))
|
|
547
547
|
return G;
|
|
548
548
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
549
549
|
return n.push(r), () => {
|
|
@@ -556,11 +556,11 @@ class Pn {
|
|
|
556
556
|
* @returns {void}
|
|
557
557
|
*/
|
|
558
558
|
$set(t) {
|
|
559
|
-
this.$$set && !
|
|
559
|
+
this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
const
|
|
563
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
562
|
+
const Cn = "4";
|
|
563
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
|
|
564
564
|
/*! *****************************************************************************
|
|
565
565
|
Copyright (c) Microsoft Corporation.
|
|
566
566
|
|
|
@@ -575,18 +575,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
575
575
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
576
576
|
PERFORMANCE OF THIS SOFTWARE.
|
|
577
577
|
***************************************************************************** */
|
|
578
|
-
var
|
|
579
|
-
return
|
|
578
|
+
var tt = function(e, t) {
|
|
579
|
+
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
580
580
|
r.__proto__ = n;
|
|
581
581
|
} || function(r, n) {
|
|
582
582
|
for (var i in n)
|
|
583
583
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
584
|
-
},
|
|
584
|
+
}, tt(e, t);
|
|
585
585
|
};
|
|
586
586
|
function W(e, t) {
|
|
587
587
|
if (typeof t != "function" && t !== null)
|
|
588
588
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
589
|
-
|
|
589
|
+
tt(e, t);
|
|
590
590
|
function r() {
|
|
591
591
|
this.constructor = e;
|
|
592
592
|
}
|
|
@@ -602,7 +602,7 @@ var w = function() {
|
|
|
602
602
|
return t;
|
|
603
603
|
}, w.apply(this, arguments);
|
|
604
604
|
};
|
|
605
|
-
function
|
|
605
|
+
function Fn(e, t) {
|
|
606
606
|
var r = {};
|
|
607
607
|
for (var n in e)
|
|
608
608
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -611,7 +611,7 @@ function Mn(e, t) {
|
|
|
611
611
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
612
612
|
return r;
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function rt(e) {
|
|
615
615
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
616
616
|
if (r)
|
|
617
617
|
return r.call(e);
|
|
@@ -623,7 +623,7 @@ function tt(e) {
|
|
|
623
623
|
};
|
|
624
624
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function nt(e, t) {
|
|
627
627
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
628
628
|
if (!r)
|
|
629
629
|
return e;
|
|
@@ -652,13 +652,13 @@ function re(e, t, r) {
|
|
|
652
652
|
function k(e) {
|
|
653
653
|
return typeof e == "function";
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function br(e) {
|
|
656
656
|
var t = function(n) {
|
|
657
657
|
Error.call(n), n.stack = new Error().stack;
|
|
658
658
|
}, r = e(t);
|
|
659
659
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
660
660
|
}
|
|
661
|
-
var Ve =
|
|
661
|
+
var Ve = br(function(e) {
|
|
662
662
|
return function(r) {
|
|
663
663
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
664
664
|
` + r.map(function(n, i) {
|
|
@@ -667,7 +667,7 @@ var Ve = pr(function(e) {
|
|
|
667
667
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
668
668
|
};
|
|
669
669
|
});
|
|
670
|
-
function
|
|
670
|
+
function it(e, t) {
|
|
671
671
|
if (e) {
|
|
672
672
|
var r = e.indexOf(t);
|
|
673
673
|
0 <= r && e.splice(r, 1);
|
|
@@ -685,7 +685,7 @@ var Le = function() {
|
|
|
685
685
|
if (a)
|
|
686
686
|
if (this._parentage = null, Array.isArray(a))
|
|
687
687
|
try {
|
|
688
|
-
for (var s =
|
|
688
|
+
for (var s = rt(a), l = s.next(); !l.done; l = s.next()) {
|
|
689
689
|
var u = l.value;
|
|
690
690
|
u.remove(this);
|
|
691
691
|
}
|
|
@@ -712,12 +712,12 @@ var Le = function() {
|
|
|
712
712
|
if (d) {
|
|
713
713
|
this._finalizers = null;
|
|
714
714
|
try {
|
|
715
|
-
for (var f =
|
|
715
|
+
for (var f = rt(d), p = f.next(); !p.done; p = f.next()) {
|
|
716
716
|
var g = p.value;
|
|
717
717
|
try {
|
|
718
|
-
|
|
718
|
+
Pt(g);
|
|
719
719
|
} catch (v) {
|
|
720
|
-
o = o != null ? o : [], v instanceof Ve ? o = re(re([],
|
|
720
|
+
o = o != null ? o : [], v instanceof Ve ? o = re(re([], nt(o)), nt(v.errors)) : o.push(v);
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
723
|
} catch (v) {
|
|
@@ -738,7 +738,7 @@ var Le = function() {
|
|
|
738
738
|
var r;
|
|
739
739
|
if (t && t !== this)
|
|
740
740
|
if (this.closed)
|
|
741
|
-
|
|
741
|
+
Pt(t);
|
|
742
742
|
else {
|
|
743
743
|
if (t instanceof e) {
|
|
744
744
|
if (t.closed || t._hasParent(this))
|
|
@@ -755,52 +755,56 @@ var Le = function() {
|
|
|
755
755
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
756
756
|
}, e.prototype._removeParent = function(t) {
|
|
757
757
|
var r = this._parentage;
|
|
758
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
758
|
+
r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
|
|
759
759
|
}, e.prototype.remove = function(t) {
|
|
760
760
|
var r = this._finalizers;
|
|
761
|
-
r &&
|
|
761
|
+
r && it(r, t), t instanceof e && t._removeParent(this);
|
|
762
762
|
}, e.EMPTY = function() {
|
|
763
763
|
var t = new e();
|
|
764
764
|
return t.closed = !0, t;
|
|
765
765
|
}(), e;
|
|
766
|
-
}(),
|
|
767
|
-
function
|
|
766
|
+
}(), yr = Le.EMPTY;
|
|
767
|
+
function _r(e) {
|
|
768
768
|
return e instanceof Le || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Pt(e) {
|
|
771
771
|
k(e) ? e() : e.unsubscribe();
|
|
772
772
|
}
|
|
773
|
-
var
|
|
774
|
-
|
|
775
|
-
|
|
773
|
+
var xr = {
|
|
774
|
+
onUnhandledError: null,
|
|
775
|
+
onStoppedNotification: null,
|
|
776
|
+
Promise: void 0,
|
|
777
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
778
|
+
useDeprecatedNextContext: !1
|
|
779
|
+
}, Rn = {
|
|
776
780
|
setTimeout: function(e, t) {
|
|
777
781
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
778
782
|
r[n - 2] = arguments[n];
|
|
779
|
-
return setTimeout.apply(void 0, re([e, t],
|
|
783
|
+
return setTimeout.apply(void 0, re([e, t], nt(r)));
|
|
780
784
|
},
|
|
781
785
|
clearTimeout: function(e) {
|
|
782
786
|
return clearTimeout(e);
|
|
783
787
|
},
|
|
784
788
|
delegate: void 0
|
|
785
789
|
};
|
|
786
|
-
function
|
|
787
|
-
|
|
790
|
+
function Un(e) {
|
|
791
|
+
Rn.setTimeout(function() {
|
|
788
792
|
throw e;
|
|
789
793
|
});
|
|
790
794
|
}
|
|
791
|
-
function
|
|
795
|
+
function Mt() {
|
|
792
796
|
}
|
|
793
797
|
function Be(e) {
|
|
794
798
|
e();
|
|
795
799
|
}
|
|
796
|
-
var
|
|
800
|
+
var wr = function(e) {
|
|
797
801
|
W(t, e);
|
|
798
802
|
function t(r) {
|
|
799
803
|
var n = e.call(this) || this;
|
|
800
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
804
|
+
return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = kn, n;
|
|
801
805
|
}
|
|
802
806
|
return t.create = function(r, n, i) {
|
|
803
|
-
return new
|
|
807
|
+
return new ot(r, n, i);
|
|
804
808
|
}, t.prototype.next = function(r) {
|
|
805
809
|
this.isStopped || this._next(r);
|
|
806
810
|
}, t.prototype.error = function(r) {
|
|
@@ -824,7 +828,11 @@ var br = function(e) {
|
|
|
824
828
|
this.unsubscribe();
|
|
825
829
|
}
|
|
826
830
|
}, t;
|
|
827
|
-
}(Le),
|
|
831
|
+
}(Le), Dn = Function.prototype.bind;
|
|
832
|
+
function Xe(e, t) {
|
|
833
|
+
return Dn.call(e, t);
|
|
834
|
+
}
|
|
835
|
+
var Gn = function() {
|
|
828
836
|
function e(t) {
|
|
829
837
|
this.partialObserver = t;
|
|
830
838
|
}
|
|
@@ -855,43 +863,55 @@ var br = function(e) {
|
|
|
855
863
|
Ee(r);
|
|
856
864
|
}
|
|
857
865
|
}, e;
|
|
858
|
-
}(),
|
|
866
|
+
}(), ot = function(e) {
|
|
859
867
|
W(t, e);
|
|
860
868
|
function t(r, n, i) {
|
|
861
869
|
var o = e.call(this) || this, a;
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
870
|
+
if (k(r) || !r)
|
|
871
|
+
a = {
|
|
872
|
+
next: r != null ? r : void 0,
|
|
873
|
+
error: n != null ? n : void 0,
|
|
874
|
+
complete: i != null ? i : void 0
|
|
875
|
+
};
|
|
876
|
+
else {
|
|
877
|
+
var s;
|
|
878
|
+
o && xr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
879
|
+
return o.unsubscribe();
|
|
880
|
+
}, a = {
|
|
881
|
+
next: r.next && Xe(r.next, s),
|
|
882
|
+
error: r.error && Xe(r.error, s),
|
|
883
|
+
complete: r.complete && Xe(r.complete, s)
|
|
884
|
+
}) : a = r;
|
|
885
|
+
}
|
|
886
|
+
return o.destination = new Gn(a), o;
|
|
867
887
|
}
|
|
868
888
|
return t;
|
|
869
|
-
}(
|
|
889
|
+
}(wr);
|
|
870
890
|
function Ee(e) {
|
|
871
|
-
|
|
891
|
+
Un(e);
|
|
872
892
|
}
|
|
873
|
-
function
|
|
893
|
+
function $n(e) {
|
|
874
894
|
throw e;
|
|
875
895
|
}
|
|
876
|
-
var
|
|
896
|
+
var kn = {
|
|
877
897
|
closed: !0,
|
|
878
|
-
next:
|
|
879
|
-
error:
|
|
880
|
-
complete:
|
|
881
|
-
},
|
|
898
|
+
next: Mt,
|
|
899
|
+
error: $n,
|
|
900
|
+
complete: Mt
|
|
901
|
+
}, jn = function() {
|
|
882
902
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
883
903
|
}();
|
|
884
|
-
function
|
|
904
|
+
function Wn(e) {
|
|
885
905
|
return e;
|
|
886
906
|
}
|
|
887
|
-
function
|
|
888
|
-
return e.length === 0 ?
|
|
907
|
+
function Vn(e) {
|
|
908
|
+
return e.length === 0 ? Wn : e.length === 1 ? e[0] : function(r) {
|
|
889
909
|
return e.reduce(function(n, i) {
|
|
890
910
|
return i(n);
|
|
891
911
|
}, r);
|
|
892
912
|
};
|
|
893
913
|
}
|
|
894
|
-
var
|
|
914
|
+
var Ot = function() {
|
|
895
915
|
function e(t) {
|
|
896
916
|
t && (this._subscribe = t);
|
|
897
917
|
}
|
|
@@ -899,7 +919,7 @@ var Pt = function() {
|
|
|
899
919
|
var r = new e();
|
|
900
920
|
return r.source = this, r.operator = t, r;
|
|
901
921
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
902
|
-
var i = this, o =
|
|
922
|
+
var i = this, o = zn(t) ? t : new ot(t, r, n);
|
|
903
923
|
return Be(function() {
|
|
904
924
|
var a = i, s = a.operator, l = a.source;
|
|
905
925
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -912,8 +932,8 @@ var Pt = function() {
|
|
|
912
932
|
}
|
|
913
933
|
}, e.prototype.forEach = function(t, r) {
|
|
914
934
|
var n = this;
|
|
915
|
-
return r =
|
|
916
|
-
var a = new
|
|
935
|
+
return r = Lt(r), new r(function(i, o) {
|
|
936
|
+
var a = new ot({
|
|
917
937
|
next: function(s) {
|
|
918
938
|
try {
|
|
919
939
|
t(s);
|
|
@@ -929,15 +949,15 @@ var Pt = function() {
|
|
|
929
949
|
}, e.prototype._subscribe = function(t) {
|
|
930
950
|
var r;
|
|
931
951
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
932
|
-
}, e.prototype[
|
|
952
|
+
}, e.prototype[jn] = function() {
|
|
933
953
|
return this;
|
|
934
954
|
}, e.prototype.pipe = function() {
|
|
935
955
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
936
956
|
t[r] = arguments[r];
|
|
937
|
-
return
|
|
957
|
+
return Vn(t)(this);
|
|
938
958
|
}, e.prototype.toPromise = function(t) {
|
|
939
959
|
var r = this;
|
|
940
|
-
return t =
|
|
960
|
+
return t = Lt(t), new t(function(n, i) {
|
|
941
961
|
var o;
|
|
942
962
|
r.subscribe(function(a) {
|
|
943
963
|
return o = a;
|
|
@@ -951,32 +971,32 @@ var Pt = function() {
|
|
|
951
971
|
return new e(t);
|
|
952
972
|
}, e;
|
|
953
973
|
}();
|
|
954
|
-
function
|
|
974
|
+
function Lt(e) {
|
|
955
975
|
var t;
|
|
956
|
-
return (t = e != null ? e :
|
|
976
|
+
return (t = e != null ? e : xr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
957
977
|
}
|
|
958
|
-
function
|
|
978
|
+
function Xn(e) {
|
|
959
979
|
return e && k(e.next) && k(e.error) && k(e.complete);
|
|
960
980
|
}
|
|
961
|
-
function
|
|
962
|
-
return e && e instanceof
|
|
981
|
+
function zn(e) {
|
|
982
|
+
return e && e instanceof wr || Xn(e) && _r(e);
|
|
963
983
|
}
|
|
964
|
-
var
|
|
984
|
+
var Zn = br(function(e) {
|
|
965
985
|
return function() {
|
|
966
986
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
967
987
|
};
|
|
968
|
-
}),
|
|
988
|
+
}), Er = function(e) {
|
|
969
989
|
W(t, e);
|
|
970
990
|
function t() {
|
|
971
991
|
var r = e.call(this) || this;
|
|
972
992
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
973
993
|
}
|
|
974
994
|
return t.prototype.lift = function(r) {
|
|
975
|
-
var n = new
|
|
995
|
+
var n = new Ct(this, this);
|
|
976
996
|
return n.operator = r, n;
|
|
977
997
|
}, t.prototype._throwIfClosed = function() {
|
|
978
998
|
if (this.closed)
|
|
979
|
-
throw new
|
|
999
|
+
throw new Zn();
|
|
980
1000
|
}, t.prototype.next = function(r) {
|
|
981
1001
|
var n = this;
|
|
982
1002
|
Be(function() {
|
|
@@ -984,7 +1004,7 @@ var Wn = pr(function(e) {
|
|
|
984
1004
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
985
1005
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
986
1006
|
try {
|
|
987
|
-
for (var a =
|
|
1007
|
+
for (var a = rt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
988
1008
|
var l = s.value;
|
|
989
1009
|
l.next(r);
|
|
990
1010
|
}
|
|
@@ -1033,19 +1053,19 @@ var Wn = pr(function(e) {
|
|
|
1033
1053
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1034
1054
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1035
1055
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1036
|
-
return o || a ?
|
|
1037
|
-
n.currentObservers = null,
|
|
1056
|
+
return o || a ? yr : (this.currentObservers = null, s.push(r), new Le(function() {
|
|
1057
|
+
n.currentObservers = null, it(s, r);
|
|
1038
1058
|
}));
|
|
1039
1059
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1040
1060
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1041
1061
|
i ? r.error(o) : a && r.complete();
|
|
1042
1062
|
}, t.prototype.asObservable = function() {
|
|
1043
|
-
var r = new
|
|
1063
|
+
var r = new Ot();
|
|
1044
1064
|
return r.source = this, r;
|
|
1045
1065
|
}, t.create = function(r, n) {
|
|
1046
|
-
return new
|
|
1066
|
+
return new Ct(r, n);
|
|
1047
1067
|
}, t;
|
|
1048
|
-
}(
|
|
1068
|
+
}(Ot), Ct = function(e) {
|
|
1049
1069
|
W(t, e);
|
|
1050
1070
|
function t(r, n) {
|
|
1051
1071
|
var i = e.call(this) || this;
|
|
@@ -1062,17 +1082,17 @@ var Wn = pr(function(e) {
|
|
|
1062
1082
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1063
1083
|
}, t.prototype._subscribe = function(r) {
|
|
1064
1084
|
var n, i;
|
|
1065
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1085
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yr;
|
|
1066
1086
|
}, t;
|
|
1067
|
-
}(
|
|
1087
|
+
}(Er), Nr = {
|
|
1068
1088
|
now: function() {
|
|
1069
|
-
return (
|
|
1089
|
+
return (Nr.delegate || Date).now();
|
|
1070
1090
|
},
|
|
1071
1091
|
delegate: void 0
|
|
1072
|
-
},
|
|
1092
|
+
}, Qn = function(e) {
|
|
1073
1093
|
W(t, e);
|
|
1074
1094
|
function t(r, n, i) {
|
|
1075
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1095
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
|
|
1076
1096
|
var o = e.call(this) || this;
|
|
1077
1097
|
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;
|
|
1078
1098
|
}
|
|
@@ -1092,15 +1112,15 @@ var Wn = pr(function(e) {
|
|
|
1092
1112
|
u && o.splice(0, u + 1);
|
|
1093
1113
|
}
|
|
1094
1114
|
}, t;
|
|
1095
|
-
}(
|
|
1096
|
-
const
|
|
1097
|
-
if (
|
|
1098
|
-
const r = new
|
|
1099
|
-
|
|
1115
|
+
}(Er);
|
|
1116
|
+
const Ft = [], Rt = {}, Yn = (e, t = 0) => {
|
|
1117
|
+
if (Ft.indexOf(e) == -1) {
|
|
1118
|
+
const r = new Qn(t);
|
|
1119
|
+
Rt[e] = r, Ft.push(e);
|
|
1100
1120
|
}
|
|
1101
|
-
return
|
|
1121
|
+
return Rt[e];
|
|
1102
1122
|
}, K = [];
|
|
1103
|
-
function
|
|
1123
|
+
function Jn(e, t) {
|
|
1104
1124
|
return {
|
|
1105
1125
|
subscribe: Ce(e, t).subscribe
|
|
1106
1126
|
};
|
|
@@ -1109,7 +1129,7 @@ function Ce(e, t = G) {
|
|
|
1109
1129
|
let r;
|
|
1110
1130
|
const n = /* @__PURE__ */ new Set();
|
|
1111
1131
|
function i(s) {
|
|
1112
|
-
if (
|
|
1132
|
+
if (cr(e, s) && (e = s, r)) {
|
|
1113
1133
|
const l = !K.length;
|
|
1114
1134
|
for (const u of n)
|
|
1115
1135
|
u[1](), K.push(u, e);
|
|
@@ -1136,7 +1156,7 @@ function ue(e, t, r) {
|
|
|
1136
1156
|
if (!i.every(Boolean))
|
|
1137
1157
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1138
1158
|
const o = t.length < 2;
|
|
1139
|
-
return
|
|
1159
|
+
return Jn(r, (a, s) => {
|
|
1140
1160
|
let l = !1;
|
|
1141
1161
|
const u = [];
|
|
1142
1162
|
let h = 0, d = G;
|
|
@@ -1145,9 +1165,9 @@ function ue(e, t, r) {
|
|
|
1145
1165
|
return;
|
|
1146
1166
|
d();
|
|
1147
1167
|
const g = t(n ? u[0] : u, a, s);
|
|
1148
|
-
o ? a(g) : d =
|
|
1168
|
+
o ? a(g) : d = mt(g) ? g : G;
|
|
1149
1169
|
}, p = i.map(
|
|
1150
|
-
(g, v) =>
|
|
1170
|
+
(g, v) => fr(
|
|
1151
1171
|
g,
|
|
1152
1172
|
(A) => {
|
|
1153
1173
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1162,70 +1182,70 @@ function ue(e, t, r) {
|
|
|
1162
1182
|
};
|
|
1163
1183
|
});
|
|
1164
1184
|
}
|
|
1165
|
-
function
|
|
1185
|
+
function qn(e) {
|
|
1166
1186
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1167
1187
|
}
|
|
1168
|
-
var
|
|
1169
|
-
return
|
|
1188
|
+
var Kn = function(t) {
|
|
1189
|
+
return ei(t) && !ti(t);
|
|
1170
1190
|
};
|
|
1171
|
-
function
|
|
1191
|
+
function ei(e) {
|
|
1172
1192
|
return !!e && typeof e == "object";
|
|
1173
1193
|
}
|
|
1174
|
-
function
|
|
1194
|
+
function ti(e) {
|
|
1175
1195
|
var t = Object.prototype.toString.call(e);
|
|
1176
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1196
|
+
return t === "[object RegExp]" || t === "[object Date]" || ii(e);
|
|
1177
1197
|
}
|
|
1178
|
-
var
|
|
1179
|
-
function
|
|
1180
|
-
return e.$$typeof ===
|
|
1198
|
+
var ri = typeof Symbol == "function" && Symbol.for, ni = ri ? Symbol.for("react.element") : 60103;
|
|
1199
|
+
function ii(e) {
|
|
1200
|
+
return e.$$typeof === ni;
|
|
1181
1201
|
}
|
|
1182
|
-
function
|
|
1202
|
+
function oi(e) {
|
|
1183
1203
|
return Array.isArray(e) ? [] : {};
|
|
1184
1204
|
}
|
|
1185
1205
|
function ve(e, t) {
|
|
1186
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ie(
|
|
1206
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(oi(e), e, t) : e;
|
|
1187
1207
|
}
|
|
1188
|
-
function
|
|
1208
|
+
function ai(e, t, r) {
|
|
1189
1209
|
return e.concat(t).map(function(n) {
|
|
1190
1210
|
return ve(n, r);
|
|
1191
1211
|
});
|
|
1192
1212
|
}
|
|
1193
|
-
function
|
|
1213
|
+
function si(e, t) {
|
|
1194
1214
|
if (!t.customMerge)
|
|
1195
1215
|
return ie;
|
|
1196
1216
|
var r = t.customMerge(e);
|
|
1197
1217
|
return typeof r == "function" ? r : ie;
|
|
1198
1218
|
}
|
|
1199
|
-
function
|
|
1219
|
+
function li(e) {
|
|
1200
1220
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1201
1221
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1202
1222
|
}) : [];
|
|
1203
1223
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return Object.keys(e).concat(
|
|
1224
|
+
function Ut(e) {
|
|
1225
|
+
return Object.keys(e).concat(li(e));
|
|
1206
1226
|
}
|
|
1207
|
-
function
|
|
1227
|
+
function Sr(e, t) {
|
|
1208
1228
|
try {
|
|
1209
1229
|
return t in e;
|
|
1210
1230
|
} catch (r) {
|
|
1211
1231
|
return !1;
|
|
1212
1232
|
}
|
|
1213
1233
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return
|
|
1234
|
+
function ui(e, t) {
|
|
1235
|
+
return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1216
1236
|
}
|
|
1217
|
-
function
|
|
1237
|
+
function hi(e, t, r) {
|
|
1218
1238
|
var n = {};
|
|
1219
|
-
return r.isMergeableObject(e) &&
|
|
1239
|
+
return r.isMergeableObject(e) && Ut(e).forEach(function(i) {
|
|
1220
1240
|
n[i] = ve(e[i], r);
|
|
1221
|
-
}),
|
|
1222
|
-
|
|
1241
|
+
}), Ut(t).forEach(function(i) {
|
|
1242
|
+
ui(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = si(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
|
|
1223
1243
|
}), n;
|
|
1224
1244
|
}
|
|
1225
1245
|
function ie(e, t, r) {
|
|
1226
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1246
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || Kn, r.cloneUnlessOtherwiseSpecified = ve;
|
|
1227
1247
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1228
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1248
|
+
return o ? n ? r.arrayMerge(e, t, r) : hi(e, t, r) : ve(t, r);
|
|
1229
1249
|
}
|
|
1230
1250
|
ie.all = function(t, r) {
|
|
1231
1251
|
if (!Array.isArray(t))
|
|
@@ -1234,56 +1254,58 @@ ie.all = function(t, r) {
|
|
|
1234
1254
|
return ie(n, i, r);
|
|
1235
1255
|
}, {});
|
|
1236
1256
|
};
|
|
1237
|
-
var
|
|
1238
|
-
const
|
|
1239
|
-
function
|
|
1240
|
-
var r = t && t.cache ? t.cache :
|
|
1257
|
+
var ci = ie, fi = ci;
|
|
1258
|
+
const di = /* @__PURE__ */ qn(fi);
|
|
1259
|
+
function ze(e, t) {
|
|
1260
|
+
var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : pi;
|
|
1241
1261
|
return i(e, {
|
|
1242
1262
|
cache: r,
|
|
1243
1263
|
serializer: n
|
|
1244
1264
|
});
|
|
1245
1265
|
}
|
|
1246
|
-
function
|
|
1266
|
+
function mi(e) {
|
|
1247
1267
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1248
1268
|
}
|
|
1249
|
-
function
|
|
1250
|
-
var i =
|
|
1269
|
+
function Ir(e, t, r, n) {
|
|
1270
|
+
var i = mi(n) ? n : r(n), o = t.get(i);
|
|
1251
1271
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1252
1272
|
}
|
|
1253
|
-
function
|
|
1273
|
+
function Br(e, t, r) {
|
|
1254
1274
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1255
1275
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1256
1276
|
}
|
|
1257
|
-
function
|
|
1277
|
+
function gt(e, t, r, n, i) {
|
|
1258
1278
|
return r.bind(t, e, n, i);
|
|
1259
1279
|
}
|
|
1260
|
-
function
|
|
1261
|
-
var r = e.length === 1 ?
|
|
1262
|
-
return
|
|
1280
|
+
function pi(e, t) {
|
|
1281
|
+
var r = e.length === 1 ? Ir : Br;
|
|
1282
|
+
return gt(e, this, r, t.cache.create(), t.serializer);
|
|
1283
|
+
}
|
|
1284
|
+
function gi(e, t) {
|
|
1285
|
+
return gt(e, this, Br, t.cache.create(), t.serializer);
|
|
1263
1286
|
}
|
|
1264
|
-
function
|
|
1265
|
-
return
|
|
1287
|
+
function vi(e, t) {
|
|
1288
|
+
return gt(e, this, Ir, t.cache.create(), t.serializer);
|
|
1266
1289
|
}
|
|
1267
|
-
var
|
|
1290
|
+
var bi = function() {
|
|
1268
1291
|
return JSON.stringify(arguments);
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
}()
|
|
1281
|
-
), gi = {
|
|
1292
|
+
};
|
|
1293
|
+
function vt() {
|
|
1294
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1295
|
+
}
|
|
1296
|
+
vt.prototype.get = function(e) {
|
|
1297
|
+
return this.cache[e];
|
|
1298
|
+
};
|
|
1299
|
+
vt.prototype.set = function(e, t) {
|
|
1300
|
+
this.cache[e] = t;
|
|
1301
|
+
};
|
|
1302
|
+
var yi = {
|
|
1282
1303
|
create: function() {
|
|
1283
|
-
return new
|
|
1304
|
+
return new vt();
|
|
1284
1305
|
}
|
|
1285
|
-
},
|
|
1286
|
-
variadic:
|
|
1306
|
+
}, Ze = {
|
|
1307
|
+
variadic: gi,
|
|
1308
|
+
monadic: vi
|
|
1287
1309
|
}, _;
|
|
1288
1310
|
(function(e) {
|
|
1289
1311
|
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";
|
|
@@ -1296,43 +1318,43 @@ var oe;
|
|
|
1296
1318
|
(function(e) {
|
|
1297
1319
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1298
1320
|
})(oe || (oe = {}));
|
|
1299
|
-
function
|
|
1321
|
+
function Dt(e) {
|
|
1300
1322
|
return e.type === I.literal;
|
|
1301
1323
|
}
|
|
1302
|
-
function
|
|
1324
|
+
function _i(e) {
|
|
1303
1325
|
return e.type === I.argument;
|
|
1304
1326
|
}
|
|
1305
|
-
function
|
|
1327
|
+
function Ar(e) {
|
|
1306
1328
|
return e.type === I.number;
|
|
1307
1329
|
}
|
|
1308
|
-
function
|
|
1330
|
+
function Tr(e) {
|
|
1309
1331
|
return e.type === I.date;
|
|
1310
1332
|
}
|
|
1311
|
-
function
|
|
1333
|
+
function Hr(e) {
|
|
1312
1334
|
return e.type === I.time;
|
|
1313
1335
|
}
|
|
1314
|
-
function
|
|
1336
|
+
function Pr(e) {
|
|
1315
1337
|
return e.type === I.select;
|
|
1316
1338
|
}
|
|
1317
|
-
function
|
|
1339
|
+
function Mr(e) {
|
|
1318
1340
|
return e.type === I.plural;
|
|
1319
1341
|
}
|
|
1320
|
-
function
|
|
1342
|
+
function xi(e) {
|
|
1321
1343
|
return e.type === I.pound;
|
|
1322
1344
|
}
|
|
1323
|
-
function
|
|
1345
|
+
function Or(e) {
|
|
1324
1346
|
return e.type === I.tag;
|
|
1325
1347
|
}
|
|
1326
|
-
function
|
|
1348
|
+
function Lr(e) {
|
|
1327
1349
|
return !!(e && typeof e == "object" && e.type === oe.number);
|
|
1328
1350
|
}
|
|
1329
|
-
function
|
|
1351
|
+
function at(e) {
|
|
1330
1352
|
return !!(e && typeof e == "object" && e.type === oe.dateTime);
|
|
1331
1353
|
}
|
|
1332
|
-
var
|
|
1333
|
-
function
|
|
1354
|
+
var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
|
|
1355
|
+
function Ei(e) {
|
|
1334
1356
|
var t = {};
|
|
1335
|
-
return e.replace(
|
|
1357
|
+
return e.replace(wi, function(r) {
|
|
1336
1358
|
var n = r.length;
|
|
1337
1359
|
switch (r[0]) {
|
|
1338
1360
|
case "G":
|
|
@@ -1421,11 +1443,11 @@ function _i(e) {
|
|
|
1421
1443
|
return "";
|
|
1422
1444
|
}), t;
|
|
1423
1445
|
}
|
|
1424
|
-
var
|
|
1425
|
-
function
|
|
1446
|
+
var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1447
|
+
function Si(e) {
|
|
1426
1448
|
if (e.length === 0)
|
|
1427
1449
|
throw new Error("Number skeleton cannot be empty");
|
|
1428
|
-
for (var t = e.split(
|
|
1450
|
+
for (var t = e.split(Ni).filter(function(f) {
|
|
1429
1451
|
return f.length > 0;
|
|
1430
1452
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1431
1453
|
var o = i[n], a = o.split("/");
|
|
@@ -1440,17 +1462,17 @@ function wi(e) {
|
|
|
1440
1462
|
}
|
|
1441
1463
|
return r;
|
|
1442
1464
|
}
|
|
1443
|
-
function
|
|
1465
|
+
function Ii(e) {
|
|
1444
1466
|
return e.replace(/^(.*?)-/, "");
|
|
1445
1467
|
}
|
|
1446
|
-
var
|
|
1447
|
-
function
|
|
1468
|
+
var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
|
|
1469
|
+
function $t(e) {
|
|
1448
1470
|
var t = {};
|
|
1449
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1471
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
|
|
1450
1472
|
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)), "";
|
|
1451
1473
|
}), t;
|
|
1452
1474
|
}
|
|
1453
|
-
function
|
|
1475
|
+
function Ur(e) {
|
|
1454
1476
|
switch (e) {
|
|
1455
1477
|
case "sign-auto":
|
|
1456
1478
|
return {
|
|
@@ -1490,7 +1512,7 @@ function Lr(e) {
|
|
|
1490
1512
|
};
|
|
1491
1513
|
}
|
|
1492
1514
|
}
|
|
1493
|
-
function
|
|
1515
|
+
function Ai(e) {
|
|
1494
1516
|
var t;
|
|
1495
1517
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1496
1518
|
notation: "engineering"
|
|
@@ -1498,17 +1520,17 @@ function Si(e) {
|
|
|
1498
1520
|
notation: "scientific"
|
|
1499
1521
|
}, e = e.slice(1)), t) {
|
|
1500
1522
|
var r = e.slice(0, 2);
|
|
1501
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1523
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
|
|
1502
1524
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1503
1525
|
t.minimumIntegerDigits = e.length;
|
|
1504
1526
|
}
|
|
1505
1527
|
return t;
|
|
1506
1528
|
}
|
|
1507
|
-
function
|
|
1508
|
-
var t = {}, r =
|
|
1529
|
+
function kt(e) {
|
|
1530
|
+
var t = {}, r = Ur(e);
|
|
1509
1531
|
return r || t;
|
|
1510
1532
|
}
|
|
1511
|
-
function
|
|
1533
|
+
function Ti(e) {
|
|
1512
1534
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1513
1535
|
var i = n[r];
|
|
1514
1536
|
switch (i.stem) {
|
|
@@ -1532,7 +1554,7 @@ function Ii(e) {
|
|
|
1532
1554
|
continue;
|
|
1533
1555
|
case "measure-unit":
|
|
1534
1556
|
case "unit":
|
|
1535
|
-
t.style = "unit", t.unit =
|
|
1557
|
+
t.style = "unit", t.unit = Ii(i.options[0]);
|
|
1536
1558
|
continue;
|
|
1537
1559
|
case "compact-short":
|
|
1538
1560
|
case "K":
|
|
@@ -1544,12 +1566,12 @@ function Ii(e) {
|
|
|
1544
1566
|
continue;
|
|
1545
1567
|
case "scientific":
|
|
1546
1568
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1547
|
-
return w(w({}, l),
|
|
1569
|
+
return w(w({}, l), kt(u));
|
|
1548
1570
|
}, {}));
|
|
1549
1571
|
continue;
|
|
1550
1572
|
case "engineering":
|
|
1551
1573
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1552
|
-
return w(w({}, l),
|
|
1574
|
+
return w(w({}, l), kt(u));
|
|
1553
1575
|
}, {}));
|
|
1554
1576
|
continue;
|
|
1555
1577
|
case "notation-simple":
|
|
@@ -1594,7 +1616,7 @@ function Ii(e) {
|
|
|
1594
1616
|
case "integer-width":
|
|
1595
1617
|
if (i.options.length > 1)
|
|
1596
1618
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1597
|
-
i.options[0].replace(
|
|
1619
|
+
i.options[0].replace(Bi, function(l, u, h, d, f, p) {
|
|
1598
1620
|
if (u)
|
|
1599
1621
|
t.minimumIntegerDigits = h.length;
|
|
1600
1622
|
else {
|
|
@@ -1607,27 +1629,27 @@ function Ii(e) {
|
|
|
1607
1629
|
});
|
|
1608
1630
|
continue;
|
|
1609
1631
|
}
|
|
1610
|
-
if (
|
|
1632
|
+
if (Rr.test(i.stem)) {
|
|
1611
1633
|
t.minimumIntegerDigits = i.stem.length;
|
|
1612
1634
|
continue;
|
|
1613
1635
|
}
|
|
1614
|
-
if (
|
|
1636
|
+
if (Gt.test(i.stem)) {
|
|
1615
1637
|
if (i.options.length > 1)
|
|
1616
1638
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1617
|
-
i.stem.replace(
|
|
1639
|
+
i.stem.replace(Gt, function(l, u, h, d, f, p) {
|
|
1618
1640
|
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), "";
|
|
1619
1641
|
});
|
|
1620
1642
|
var o = i.options[0];
|
|
1621
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1643
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), $t(o)));
|
|
1622
1644
|
continue;
|
|
1623
1645
|
}
|
|
1624
|
-
if (
|
|
1625
|
-
t = w(w({}, t),
|
|
1646
|
+
if (Fr.test(i.stem)) {
|
|
1647
|
+
t = w(w({}, t), $t(i.stem));
|
|
1626
1648
|
continue;
|
|
1627
1649
|
}
|
|
1628
|
-
var a =
|
|
1650
|
+
var a = Ur(i.stem);
|
|
1629
1651
|
a && (t = w(w({}, t), a));
|
|
1630
|
-
var s =
|
|
1652
|
+
var s = Ai(i.stem);
|
|
1631
1653
|
s && (t = w(w({}, t), s));
|
|
1632
1654
|
}
|
|
1633
1655
|
return t;
|
|
@@ -3047,13 +3069,13 @@ var Ne = {
|
|
|
3047
3069
|
"h"
|
|
3048
3070
|
]
|
|
3049
3071
|
};
|
|
3050
|
-
function
|
|
3072
|
+
function Hi(e, t) {
|
|
3051
3073
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3052
3074
|
var i = e.charAt(n);
|
|
3053
3075
|
if (i === "j") {
|
|
3054
3076
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3055
3077
|
o++, n++;
|
|
3056
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3078
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Pi(t);
|
|
3057
3079
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3058
3080
|
r += l;
|
|
3059
3081
|
for (; a-- > 0; )
|
|
@@ -3063,7 +3085,7 @@ function Bi(e, t) {
|
|
|
3063
3085
|
}
|
|
3064
3086
|
return r;
|
|
3065
3087
|
}
|
|
3066
|
-
function
|
|
3088
|
+
function Pi(e) {
|
|
3067
3089
|
var t = e.hourCycle;
|
|
3068
3090
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3069
3091
|
e.hourCycles && // @ts-ignore
|
|
@@ -3085,20 +3107,20 @@ function Ai(e) {
|
|
|
3085
3107
|
var i = Ne[n || ""] || Ne[r || ""] || Ne["".concat(r, "-001")] || Ne["001"];
|
|
3086
3108
|
return i[0];
|
|
3087
3109
|
}
|
|
3088
|
-
var
|
|
3110
|
+
var Qe, Mi = new RegExp("^".concat(Cr.source, "*")), Oi = new RegExp("".concat(Cr.source, "*$"));
|
|
3089
3111
|
function x(e, t) {
|
|
3090
3112
|
return { start: e, end: t };
|
|
3091
3113
|
}
|
|
3092
|
-
var
|
|
3114
|
+
var Li = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Fi = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Di = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, $i = Gi ? Number.isSafeInteger : function(e) {
|
|
3093
3115
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3094
|
-
},
|
|
3116
|
+
}, st = !0;
|
|
3095
3117
|
try {
|
|
3096
|
-
var
|
|
3097
|
-
|
|
3118
|
+
var ki = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3119
|
+
st = ((Qe = ki.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
|
|
3098
3120
|
} catch (e) {
|
|
3099
|
-
|
|
3121
|
+
st = !1;
|
|
3100
3122
|
}
|
|
3101
|
-
var
|
|
3123
|
+
var jt = Li ? (
|
|
3102
3124
|
// Native
|
|
3103
3125
|
function(t, r, n) {
|
|
3104
3126
|
return t.startsWith(r, n);
|
|
@@ -3108,7 +3130,7 @@ var Gt = Hi ? (
|
|
|
3108
3130
|
function(t, r, n) {
|
|
3109
3131
|
return t.slice(n, n + r.length) === r;
|
|
3110
3132
|
}
|
|
3111
|
-
),
|
|
3133
|
+
), lt = Ci ? String.fromCodePoint : (
|
|
3112
3134
|
// IE11
|
|
3113
3135
|
function() {
|
|
3114
3136
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3120,9 +3142,9 @@ var Gt = Hi ? (
|
|
|
3120
3142
|
}
|
|
3121
3143
|
return n;
|
|
3122
3144
|
}
|
|
3123
|
-
),
|
|
3145
|
+
), Wt = (
|
|
3124
3146
|
// native
|
|
3125
|
-
|
|
3147
|
+
Fi ? Object.fromEntries : (
|
|
3126
3148
|
// Ponyfill
|
|
3127
3149
|
function(t) {
|
|
3128
3150
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3132,7 +3154,7 @@ var Gt = Hi ? (
|
|
|
3132
3154
|
return r;
|
|
3133
3155
|
}
|
|
3134
3156
|
)
|
|
3135
|
-
),
|
|
3157
|
+
), Dr = Ri ? (
|
|
3136
3158
|
// Native
|
|
3137
3159
|
function(t, r) {
|
|
3138
3160
|
return t.codePointAt(r);
|
|
@@ -3146,7 +3168,7 @@ var Gt = Hi ? (
|
|
|
3146
3168
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3147
3169
|
}
|
|
3148
3170
|
}
|
|
3149
|
-
),
|
|
3171
|
+
), ji = Ui ? (
|
|
3150
3172
|
// Native
|
|
3151
3173
|
function(t) {
|
|
3152
3174
|
return t.trimStart();
|
|
@@ -3154,9 +3176,9 @@ var Gt = Hi ? (
|
|
|
3154
3176
|
) : (
|
|
3155
3177
|
// Ponyfill
|
|
3156
3178
|
function(t) {
|
|
3157
|
-
return t.replace(
|
|
3179
|
+
return t.replace(Mi, "");
|
|
3158
3180
|
}
|
|
3159
|
-
),
|
|
3181
|
+
), Wi = Di ? (
|
|
3160
3182
|
// Native
|
|
3161
3183
|
function(t) {
|
|
3162
3184
|
return t.trimEnd();
|
|
@@ -3164,32 +3186,32 @@ var Gt = Hi ? (
|
|
|
3164
3186
|
) : (
|
|
3165
3187
|
// Ponyfill
|
|
3166
3188
|
function(t) {
|
|
3167
|
-
return t.replace(
|
|
3189
|
+
return t.replace(Oi, "");
|
|
3168
3190
|
}
|
|
3169
3191
|
);
|
|
3170
|
-
function
|
|
3192
|
+
function Gr(e, t) {
|
|
3171
3193
|
return new RegExp(e, t);
|
|
3172
3194
|
}
|
|
3173
|
-
var
|
|
3174
|
-
if (
|
|
3175
|
-
var
|
|
3176
|
-
|
|
3195
|
+
var ut;
|
|
3196
|
+
if (st) {
|
|
3197
|
+
var Vt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3198
|
+
ut = function(t, r) {
|
|
3177
3199
|
var n;
|
|
3178
|
-
|
|
3179
|
-
var i =
|
|
3200
|
+
Vt.lastIndex = r;
|
|
3201
|
+
var i = Vt.exec(t);
|
|
3180
3202
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3181
3203
|
};
|
|
3182
3204
|
} else
|
|
3183
|
-
|
|
3205
|
+
ut = function(t, r) {
|
|
3184
3206
|
for (var n = []; ; ) {
|
|
3185
|
-
var i =
|
|
3186
|
-
if (i === void 0 ||
|
|
3207
|
+
var i = Dr(t, r);
|
|
3208
|
+
if (i === void 0 || $r(i) || Zi(i))
|
|
3187
3209
|
break;
|
|
3188
3210
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3189
3211
|
}
|
|
3190
|
-
return
|
|
3212
|
+
return lt.apply(void 0, n);
|
|
3191
3213
|
};
|
|
3192
|
-
var
|
|
3214
|
+
var Vi = (
|
|
3193
3215
|
/** @class */
|
|
3194
3216
|
function() {
|
|
3195
3217
|
function e(t, r) {
|
|
@@ -3220,7 +3242,7 @@ var ki = (
|
|
|
3220
3242
|
if (n)
|
|
3221
3243
|
break;
|
|
3222
3244
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3223
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3245
|
+
} else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
|
|
3224
3246
|
var a = this.parseTag(t, r);
|
|
3225
3247
|
if (a.err)
|
|
3226
3248
|
return a;
|
|
@@ -3253,7 +3275,7 @@ var ki = (
|
|
|
3253
3275
|
return o;
|
|
3254
3276
|
var a = o.val, s = this.clonePosition();
|
|
3255
3277
|
if (this.bumpIf("</")) {
|
|
3256
|
-
if (this.isEOF() || !
|
|
3278
|
+
if (this.isEOF() || !ht(this.char()))
|
|
3257
3279
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3258
3280
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3259
3281
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3271,7 +3293,7 @@ var ki = (
|
|
|
3271
3293
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3272
3294
|
}, e.prototype.parseTagName = function() {
|
|
3273
3295
|
var t = this.offset();
|
|
3274
|
-
for (this.bump(); !this.isEOF() &&
|
|
3296
|
+
for (this.bump(); !this.isEOF() && zi(this.char()); )
|
|
3275
3297
|
this.bump();
|
|
3276
3298
|
return this.message.slice(t, this.offset());
|
|
3277
3299
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3300,7 +3322,7 @@ var ki = (
|
|
|
3300
3322
|
};
|
|
3301
3323
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3302
3324
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3303
|
-
!
|
|
3325
|
+
!Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3304
3326
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3305
3327
|
if (this.isEOF() || this.char() !== 39)
|
|
3306
3328
|
return null;
|
|
@@ -3334,12 +3356,12 @@ var ki = (
|
|
|
3334
3356
|
r.push(n);
|
|
3335
3357
|
this.bump();
|
|
3336
3358
|
}
|
|
3337
|
-
return
|
|
3359
|
+
return lt.apply(void 0, r);
|
|
3338
3360
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3339
3361
|
if (this.isEOF())
|
|
3340
3362
|
return null;
|
|
3341
3363
|
var n = this.char();
|
|
3342
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3364
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
|
|
3343
3365
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3344
3366
|
var n = this.clonePosition();
|
|
3345
3367
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3368,7 +3390,7 @@ var ki = (
|
|
|
3368
3390
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3369
3391
|
}
|
|
3370
3392
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3371
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3393
|
+
var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
|
|
3372
3394
|
this.bumpTo(i);
|
|
3373
3395
|
var o = this.clonePosition(), a = x(t, o);
|
|
3374
3396
|
return { value: n, location: a };
|
|
@@ -3387,7 +3409,7 @@ var ki = (
|
|
|
3387
3409
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3388
3410
|
if (d.err)
|
|
3389
3411
|
return d;
|
|
3390
|
-
var f =
|
|
3412
|
+
var f = Wi(d.val);
|
|
3391
3413
|
if (f.length === 0)
|
|
3392
3414
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3393
3415
|
var p = x(h, this.clonePosition());
|
|
@@ -3397,8 +3419,8 @@ var ki = (
|
|
|
3397
3419
|
if (g.err)
|
|
3398
3420
|
return g;
|
|
3399
3421
|
var v = x(i, this.clonePosition());
|
|
3400
|
-
if (u &&
|
|
3401
|
-
var A =
|
|
3422
|
+
if (u && jt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3423
|
+
var A = ji(u.style.slice(2));
|
|
3402
3424
|
if (s === "number") {
|
|
3403
3425
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3404
3426
|
return d.err ? d : {
|
|
@@ -3409,12 +3431,12 @@ var ki = (
|
|
|
3409
3431
|
if (A.length === 0)
|
|
3410
3432
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3411
3433
|
var S = A;
|
|
3412
|
-
this.locale && (S =
|
|
3434
|
+
this.locale && (S = Hi(A, this.locale));
|
|
3413
3435
|
var f = {
|
|
3414
3436
|
type: oe.dateTime,
|
|
3415
3437
|
pattern: S,
|
|
3416
3438
|
location: u.styleLocation,
|
|
3417
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3439
|
+
parsedOptions: this.shouldParseSkeletons ? Ei(S) : {}
|
|
3418
3440
|
}, b = s === "date" ? I.date : I.time;
|
|
3419
3441
|
return {
|
|
3420
3442
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3439,7 +3461,7 @@ var ki = (
|
|
|
3439
3461
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3440
3462
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3441
3463
|
this.bumpSpace();
|
|
3442
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3464
|
+
var E = this.parseIdentifierIfPossible(), H = 0;
|
|
3443
3465
|
if (s !== "select" && E.value === "offset") {
|
|
3444
3466
|
if (!this.bumpIf(":"))
|
|
3445
3467
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3447,7 +3469,7 @@ var ki = (
|
|
|
3447
3469
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3448
3470
|
if (d.err)
|
|
3449
3471
|
return d;
|
|
3450
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3472
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), H = d.val;
|
|
3451
3473
|
}
|
|
3452
3474
|
var Z = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3453
3475
|
if (Z.err)
|
|
@@ -3460,7 +3482,7 @@ var ki = (
|
|
|
3460
3482
|
val: {
|
|
3461
3483
|
type: I.select,
|
|
3462
3484
|
value: n,
|
|
3463
|
-
options:
|
|
3485
|
+
options: Wt(Z.val),
|
|
3464
3486
|
location: J
|
|
3465
3487
|
},
|
|
3466
3488
|
err: null
|
|
@@ -3468,8 +3490,8 @@ var ki = (
|
|
|
3468
3490
|
val: {
|
|
3469
3491
|
type: I.plural,
|
|
3470
3492
|
value: n,
|
|
3471
|
-
options:
|
|
3472
|
-
offset:
|
|
3493
|
+
options: Wt(Z.val),
|
|
3494
|
+
offset: H,
|
|
3473
3495
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3474
3496
|
location: J
|
|
3475
3497
|
},
|
|
@@ -3519,7 +3541,7 @@ var ki = (
|
|
|
3519
3541
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3520
3542
|
var n = [];
|
|
3521
3543
|
try {
|
|
3522
|
-
n =
|
|
3544
|
+
n = Si(t);
|
|
3523
3545
|
} catch (i) {
|
|
3524
3546
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3525
3547
|
}
|
|
@@ -3528,7 +3550,7 @@ var ki = (
|
|
|
3528
3550
|
type: oe.number,
|
|
3529
3551
|
tokens: n,
|
|
3530
3552
|
location: r,
|
|
3531
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3553
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3532
3554
|
},
|
|
3533
3555
|
err: null
|
|
3534
3556
|
};
|
|
@@ -3576,7 +3598,7 @@ var ki = (
|
|
|
3576
3598
|
break;
|
|
3577
3599
|
}
|
|
3578
3600
|
var l = x(i, this.clonePosition());
|
|
3579
|
-
return o ? (a *= n,
|
|
3601
|
+
return o ? (a *= n, $i(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3580
3602
|
}, e.prototype.offset = function() {
|
|
3581
3603
|
return this.position.offset;
|
|
3582
3604
|
}, e.prototype.isEOF = function() {
|
|
@@ -3591,7 +3613,7 @@ var ki = (
|
|
|
3591
3613
|
var t = this.position.offset;
|
|
3592
3614
|
if (t >= this.message.length)
|
|
3593
3615
|
throw Error("out of bound");
|
|
3594
|
-
var r =
|
|
3616
|
+
var r = Dr(this.message, t);
|
|
3595
3617
|
if (r === void 0)
|
|
3596
3618
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3597
3619
|
return r;
|
|
@@ -3610,7 +3632,7 @@ var ki = (
|
|
|
3610
3632
|
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);
|
|
3611
3633
|
}
|
|
3612
3634
|
}, e.prototype.bumpIf = function(t) {
|
|
3613
|
-
if (
|
|
3635
|
+
if (jt(this.message, t, this.offset())) {
|
|
3614
3636
|
for (var r = 0; r < t.length; r++)
|
|
3615
3637
|
this.bump();
|
|
3616
3638
|
return !0;
|
|
@@ -3632,7 +3654,7 @@ var ki = (
|
|
|
3632
3654
|
break;
|
|
3633
3655
|
}
|
|
3634
3656
|
}, e.prototype.bumpSpace = function() {
|
|
3635
|
-
for (; !this.isEOF() &&
|
|
3657
|
+
for (; !this.isEOF() && $r(this.char()); )
|
|
3636
3658
|
this.bump();
|
|
3637
3659
|
}, e.prototype.peek = function() {
|
|
3638
3660
|
if (this.isEOF())
|
|
@@ -3642,38 +3664,38 @@ var ki = (
|
|
|
3642
3664
|
}, e;
|
|
3643
3665
|
}()
|
|
3644
3666
|
);
|
|
3645
|
-
function
|
|
3667
|
+
function ht(e) {
|
|
3646
3668
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3647
3669
|
}
|
|
3648
|
-
function
|
|
3649
|
-
return
|
|
3670
|
+
function Xi(e) {
|
|
3671
|
+
return ht(e) || e === 47;
|
|
3650
3672
|
}
|
|
3651
|
-
function
|
|
3673
|
+
function zi(e) {
|
|
3652
3674
|
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;
|
|
3653
3675
|
}
|
|
3654
|
-
function
|
|
3676
|
+
function $r(e) {
|
|
3655
3677
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3656
3678
|
}
|
|
3657
|
-
function
|
|
3679
|
+
function Zi(e) {
|
|
3658
3680
|
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;
|
|
3659
3681
|
}
|
|
3660
|
-
function
|
|
3682
|
+
function ct(e) {
|
|
3661
3683
|
e.forEach(function(t) {
|
|
3662
|
-
if (delete t.location,
|
|
3684
|
+
if (delete t.location, Pr(t) || Mr(t))
|
|
3663
3685
|
for (var r in t.options)
|
|
3664
|
-
delete t.options[r].location,
|
|
3686
|
+
delete t.options[r].location, ct(t.options[r].value);
|
|
3665
3687
|
else
|
|
3666
|
-
|
|
3688
|
+
Ar(t) && Lr(t.style) || (Tr(t) || Hr(t)) && at(t.style) ? delete t.style.location : Or(t) && ct(t.children);
|
|
3667
3689
|
});
|
|
3668
3690
|
}
|
|
3669
|
-
function
|
|
3691
|
+
function Qi(e, t) {
|
|
3670
3692
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3671
|
-
var r = new
|
|
3693
|
+
var r = new Vi(e, t).parse();
|
|
3672
3694
|
if (r.err) {
|
|
3673
3695
|
var n = SyntaxError(_[r.err.kind]);
|
|
3674
3696
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3675
3697
|
}
|
|
3676
|
-
return t != null && t.captureLocation ||
|
|
3698
|
+
return t != null && t.captureLocation || ct(r.val), r.val;
|
|
3677
3699
|
}
|
|
3678
3700
|
var ae;
|
|
3679
3701
|
(function(e) {
|
|
@@ -3691,7 +3713,7 @@ var Fe = (
|
|
|
3691
3713
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3692
3714
|
}, t;
|
|
3693
3715
|
}(Error)
|
|
3694
|
-
),
|
|
3716
|
+
), Xt = (
|
|
3695
3717
|
/** @class */
|
|
3696
3718
|
function(e) {
|
|
3697
3719
|
W(t, e);
|
|
@@ -3700,7 +3722,7 @@ var Fe = (
|
|
|
3700
3722
|
}
|
|
3701
3723
|
return t;
|
|
3702
3724
|
}(Fe)
|
|
3703
|
-
),
|
|
3725
|
+
), Yi = (
|
|
3704
3726
|
/** @class */
|
|
3705
3727
|
function(e) {
|
|
3706
3728
|
W(t, e);
|
|
@@ -3709,7 +3731,7 @@ var Fe = (
|
|
|
3709
3731
|
}
|
|
3710
3732
|
return t;
|
|
3711
3733
|
}(Fe)
|
|
3712
|
-
),
|
|
3734
|
+
), Ji = (
|
|
3713
3735
|
/** @class */
|
|
3714
3736
|
function(e) {
|
|
3715
3737
|
W(t, e);
|
|
@@ -3722,17 +3744,17 @@ var Fe = (
|
|
|
3722
3744
|
(function(e) {
|
|
3723
3745
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3724
3746
|
})(L || (L = {}));
|
|
3725
|
-
function
|
|
3747
|
+
function qi(e) {
|
|
3726
3748
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3727
3749
|
var n = t[t.length - 1];
|
|
3728
3750
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3729
3751
|
}, []);
|
|
3730
3752
|
}
|
|
3731
|
-
function
|
|
3753
|
+
function Ki(e) {
|
|
3732
3754
|
return typeof e == "function";
|
|
3733
3755
|
}
|
|
3734
3756
|
function Ae(e, t, r, n, i, o, a) {
|
|
3735
|
-
if (e.length === 1 &&
|
|
3757
|
+
if (e.length === 1 && Dt(e[0]))
|
|
3736
3758
|
return [
|
|
3737
3759
|
{
|
|
3738
3760
|
type: L.literal,
|
|
@@ -3741,14 +3763,14 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3741
3763
|
];
|
|
3742
3764
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3743
3765
|
var h = u[l];
|
|
3744
|
-
if (
|
|
3766
|
+
if (Dt(h)) {
|
|
3745
3767
|
s.push({
|
|
3746
3768
|
type: L.literal,
|
|
3747
3769
|
value: h.value
|
|
3748
3770
|
});
|
|
3749
3771
|
continue;
|
|
3750
3772
|
}
|
|
3751
|
-
if (
|
|
3773
|
+
if (xi(h)) {
|
|
3752
3774
|
typeof o == "number" && s.push({
|
|
3753
3775
|
type: L.literal,
|
|
3754
3776
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3757,61 +3779,61 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3757
3779
|
}
|
|
3758
3780
|
var d = h.value;
|
|
3759
3781
|
if (!(i && d in i))
|
|
3760
|
-
throw new
|
|
3782
|
+
throw new Ji(d, a);
|
|
3761
3783
|
var f = i[d];
|
|
3762
|
-
if (
|
|
3784
|
+
if (_i(h)) {
|
|
3763
3785
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3764
3786
|
type: typeof f == "string" ? L.literal : L.object,
|
|
3765
3787
|
value: f
|
|
3766
3788
|
});
|
|
3767
3789
|
continue;
|
|
3768
3790
|
}
|
|
3769
|
-
if (
|
|
3770
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3791
|
+
if (Tr(h)) {
|
|
3792
|
+
var p = typeof h.style == "string" ? n.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
|
|
3771
3793
|
s.push({
|
|
3772
3794
|
type: L.literal,
|
|
3773
3795
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3774
3796
|
});
|
|
3775
3797
|
continue;
|
|
3776
3798
|
}
|
|
3777
|
-
if (
|
|
3778
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3799
|
+
if (Hr(h)) {
|
|
3800
|
+
var p = typeof h.style == "string" ? n.time[h.style] : at(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3779
3801
|
s.push({
|
|
3780
3802
|
type: L.literal,
|
|
3781
3803
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3782
3804
|
});
|
|
3783
3805
|
continue;
|
|
3784
3806
|
}
|
|
3785
|
-
if (
|
|
3786
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3807
|
+
if (Ar(h)) {
|
|
3808
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Lr(h.style) ? h.style.parsedOptions : void 0;
|
|
3787
3809
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3788
3810
|
type: L.literal,
|
|
3789
3811
|
value: r.getNumberFormat(t, p).format(f)
|
|
3790
3812
|
});
|
|
3791
3813
|
continue;
|
|
3792
3814
|
}
|
|
3793
|
-
if (
|
|
3815
|
+
if (Or(h)) {
|
|
3794
3816
|
var g = h.children, v = h.value, A = i[v];
|
|
3795
|
-
if (!
|
|
3796
|
-
throw new
|
|
3797
|
-
var S = Ae(g, t, r, n, i, o), b = A(S.map(function(
|
|
3798
|
-
return
|
|
3817
|
+
if (!Ki(A))
|
|
3818
|
+
throw new Yi(v, "function", a);
|
|
3819
|
+
var S = Ae(g, t, r, n, i, o), b = A(S.map(function(H) {
|
|
3820
|
+
return H.value;
|
|
3799
3821
|
}));
|
|
3800
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
3822
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(H) {
|
|
3801
3823
|
return {
|
|
3802
|
-
type: typeof
|
|
3803
|
-
value:
|
|
3824
|
+
type: typeof H == "string" ? L.literal : L.object,
|
|
3825
|
+
value: H
|
|
3804
3826
|
};
|
|
3805
3827
|
}));
|
|
3806
3828
|
}
|
|
3807
|
-
if (
|
|
3829
|
+
if (Pr(h)) {
|
|
3808
3830
|
var N = h.options[f] || h.options.other;
|
|
3809
3831
|
if (!N)
|
|
3810
|
-
throw new
|
|
3832
|
+
throw new Xt(h.value, f, Object.keys(h.options), a);
|
|
3811
3833
|
s.push.apply(s, Ae(N.value, t, r, n, i));
|
|
3812
3834
|
continue;
|
|
3813
3835
|
}
|
|
3814
|
-
if (
|
|
3836
|
+
if (Mr(h)) {
|
|
3815
3837
|
var N = h.options["=".concat(f)];
|
|
3816
3838
|
if (!N) {
|
|
3817
3839
|
if (!Intl.PluralRules)
|
|
@@ -3822,24 +3844,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3822
3844
|
N = h.options[E] || h.options.other;
|
|
3823
3845
|
}
|
|
3824
3846
|
if (!N)
|
|
3825
|
-
throw new
|
|
3847
|
+
throw new Xt(h.value, f, Object.keys(h.options), a);
|
|
3826
3848
|
s.push.apply(s, Ae(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3827
3849
|
continue;
|
|
3828
3850
|
}
|
|
3829
3851
|
}
|
|
3830
|
-
return
|
|
3852
|
+
return qi(s);
|
|
3831
3853
|
}
|
|
3832
|
-
function
|
|
3854
|
+
function eo(e, t) {
|
|
3833
3855
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3834
3856
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3835
3857
|
}, {})) : e;
|
|
3836
3858
|
}
|
|
3837
|
-
function
|
|
3859
|
+
function to(e, t) {
|
|
3838
3860
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3839
|
-
return r[n] =
|
|
3861
|
+
return r[n] = eo(e[n], t[n]), r;
|
|
3840
3862
|
}, w({}, e)) : e;
|
|
3841
3863
|
}
|
|
3842
|
-
function
|
|
3864
|
+
function Ye(e) {
|
|
3843
3865
|
return {
|
|
3844
3866
|
create: function() {
|
|
3845
3867
|
return {
|
|
@@ -3853,39 +3875,39 @@ function Qe(e) {
|
|
|
3853
3875
|
}
|
|
3854
3876
|
};
|
|
3855
3877
|
}
|
|
3856
|
-
function
|
|
3878
|
+
function ro(e) {
|
|
3857
3879
|
return e === void 0 && (e = {
|
|
3858
3880
|
number: {},
|
|
3859
3881
|
dateTime: {},
|
|
3860
3882
|
pluralRules: {}
|
|
3861
3883
|
}), {
|
|
3862
|
-
getNumberFormat:
|
|
3884
|
+
getNumberFormat: ze(function() {
|
|
3863
3885
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3864
3886
|
r[n] = arguments[n];
|
|
3865
3887
|
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3866
3888
|
}, {
|
|
3867
|
-
cache:
|
|
3868
|
-
strategy:
|
|
3889
|
+
cache: Ye(e.number),
|
|
3890
|
+
strategy: Ze.variadic
|
|
3869
3891
|
}),
|
|
3870
|
-
getDateTimeFormat:
|
|
3892
|
+
getDateTimeFormat: ze(function() {
|
|
3871
3893
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3872
3894
|
r[n] = arguments[n];
|
|
3873
3895
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3874
3896
|
}, {
|
|
3875
|
-
cache:
|
|
3876
|
-
strategy:
|
|
3897
|
+
cache: Ye(e.dateTime),
|
|
3898
|
+
strategy: Ze.variadic
|
|
3877
3899
|
}),
|
|
3878
|
-
getPluralRules:
|
|
3900
|
+
getPluralRules: ze(function() {
|
|
3879
3901
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3880
3902
|
r[n] = arguments[n];
|
|
3881
3903
|
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3882
3904
|
}, {
|
|
3883
|
-
cache:
|
|
3884
|
-
strategy:
|
|
3905
|
+
cache: Ye(e.pluralRules),
|
|
3906
|
+
strategy: Ze.variadic
|
|
3885
3907
|
})
|
|
3886
3908
|
};
|
|
3887
3909
|
}
|
|
3888
|
-
var
|
|
3910
|
+
var no = (
|
|
3889
3911
|
/** @class */
|
|
3890
3912
|
function() {
|
|
3891
3913
|
function e(t, r, n, i) {
|
|
@@ -3917,13 +3939,13 @@ var eo = (
|
|
|
3917
3939
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3918
3940
|
var a = i || {};
|
|
3919
3941
|
a.formatters;
|
|
3920
|
-
var s =
|
|
3942
|
+
var s = Fn(a, ["formatters"]);
|
|
3921
3943
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3922
3944
|
} else
|
|
3923
3945
|
this.ast = t;
|
|
3924
3946
|
if (!Array.isArray(this.ast))
|
|
3925
3947
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3926
|
-
this.formats =
|
|
3948
|
+
this.formats = to(e.formats, n), this.formatters = i && i.formatters || ro(this.formatterCache);
|
|
3927
3949
|
}
|
|
3928
3950
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3929
3951
|
get: function() {
|
|
@@ -3936,7 +3958,7 @@ var eo = (
|
|
|
3936
3958
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3937
3959
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3938
3960
|
}
|
|
3939
|
-
}, e.__parse =
|
|
3961
|
+
}, e.__parse = Qi, e.formats = {
|
|
3940
3962
|
number: {
|
|
3941
3963
|
integer: {
|
|
3942
3964
|
maximumFractionDigits: 0
|
|
@@ -3997,7 +4019,7 @@ var eo = (
|
|
|
3997
4019
|
}, e;
|
|
3998
4020
|
}()
|
|
3999
4021
|
);
|
|
4000
|
-
function
|
|
4022
|
+
function io(e, t) {
|
|
4001
4023
|
if (t == null)
|
|
4002
4024
|
return;
|
|
4003
4025
|
if (t in e)
|
|
@@ -4018,92 +4040,92 @@ function to(e, t) {
|
|
|
4018
4040
|
n = void 0;
|
|
4019
4041
|
return n;
|
|
4020
4042
|
}
|
|
4021
|
-
const X = {},
|
|
4043
|
+
const X = {}, oo = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), kr = (e, t) => {
|
|
4022
4044
|
if (t == null)
|
|
4023
4045
|
return;
|
|
4024
4046
|
if (t in X && e in X[t])
|
|
4025
4047
|
return X[t][e];
|
|
4026
4048
|
const r = Re(t);
|
|
4027
4049
|
for (let n = 0; n < r.length; n++) {
|
|
4028
|
-
const i = r[n], o =
|
|
4050
|
+
const i = r[n], o = so(i, e);
|
|
4029
4051
|
if (o)
|
|
4030
|
-
return
|
|
4052
|
+
return oo(e, t, o);
|
|
4031
4053
|
}
|
|
4032
4054
|
};
|
|
4033
|
-
let
|
|
4055
|
+
let bt;
|
|
4034
4056
|
const _e = Ce({});
|
|
4035
|
-
function
|
|
4036
|
-
return
|
|
4057
|
+
function ao(e) {
|
|
4058
|
+
return bt[e] || null;
|
|
4037
4059
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return e in
|
|
4060
|
+
function jr(e) {
|
|
4061
|
+
return e in bt;
|
|
4040
4062
|
}
|
|
4041
|
-
function
|
|
4042
|
-
if (!
|
|
4063
|
+
function so(e, t) {
|
|
4064
|
+
if (!jr(e))
|
|
4043
4065
|
return null;
|
|
4044
|
-
const r =
|
|
4045
|
-
return
|
|
4066
|
+
const r = ao(e);
|
|
4067
|
+
return io(r, t);
|
|
4046
4068
|
}
|
|
4047
|
-
function
|
|
4069
|
+
function lo(e) {
|
|
4048
4070
|
if (e == null)
|
|
4049
4071
|
return;
|
|
4050
4072
|
const t = Re(e);
|
|
4051
4073
|
for (let r = 0; r < t.length; r++) {
|
|
4052
4074
|
const n = t[r];
|
|
4053
|
-
if (
|
|
4075
|
+
if (jr(n))
|
|
4054
4076
|
return n;
|
|
4055
4077
|
}
|
|
4056
4078
|
}
|
|
4057
|
-
function
|
|
4058
|
-
delete X[e], _e.update((r) => (r[e] =
|
|
4079
|
+
function Wr(e, ...t) {
|
|
4080
|
+
delete X[e], _e.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
|
|
4059
4081
|
}
|
|
4060
4082
|
ue(
|
|
4061
4083
|
[_e],
|
|
4062
4084
|
([e]) => Object.keys(e)
|
|
4063
4085
|
);
|
|
4064
|
-
_e.subscribe((e) =>
|
|
4086
|
+
_e.subscribe((e) => bt = e);
|
|
4065
4087
|
const Te = {};
|
|
4066
|
-
function
|
|
4088
|
+
function uo(e, t) {
|
|
4067
4089
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
4068
4090
|
}
|
|
4069
|
-
function
|
|
4091
|
+
function Vr(e) {
|
|
4070
4092
|
return Te[e];
|
|
4071
4093
|
}
|
|
4072
|
-
function
|
|
4094
|
+
function ho(e) {
|
|
4073
4095
|
return Re(e).map((t) => {
|
|
4074
|
-
const r =
|
|
4096
|
+
const r = Vr(t);
|
|
4075
4097
|
return [t, r ? [...r] : []];
|
|
4076
4098
|
}).filter(([, t]) => t.length > 0);
|
|
4077
4099
|
}
|
|
4078
|
-
function
|
|
4100
|
+
function ft(e) {
|
|
4079
4101
|
return e == null ? !1 : Re(e).some(
|
|
4080
4102
|
(t) => {
|
|
4081
4103
|
var r;
|
|
4082
|
-
return (r =
|
|
4104
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
4083
4105
|
}
|
|
4084
4106
|
);
|
|
4085
4107
|
}
|
|
4086
|
-
function
|
|
4108
|
+
function co(e, t) {
|
|
4087
4109
|
return Promise.all(
|
|
4088
|
-
t.map((n) => (
|
|
4089
|
-
).then((n) =>
|
|
4110
|
+
t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
|
|
4111
|
+
).then((n) => Wr(e, ...n));
|
|
4090
4112
|
}
|
|
4091
4113
|
const de = {};
|
|
4092
|
-
function
|
|
4093
|
-
if (!
|
|
4114
|
+
function Xr(e) {
|
|
4115
|
+
if (!ft(e))
|
|
4094
4116
|
return e in de ? de[e] : Promise.resolve();
|
|
4095
|
-
const t =
|
|
4117
|
+
const t = ho(e);
|
|
4096
4118
|
return de[e] = Promise.all(
|
|
4097
4119
|
t.map(
|
|
4098
|
-
([r, n]) =>
|
|
4120
|
+
([r, n]) => co(r, n)
|
|
4099
4121
|
)
|
|
4100
4122
|
).then(() => {
|
|
4101
|
-
if (
|
|
4102
|
-
return
|
|
4123
|
+
if (ft(e))
|
|
4124
|
+
return Xr(e);
|
|
4103
4125
|
delete de[e];
|
|
4104
4126
|
}), de[e];
|
|
4105
4127
|
}
|
|
4106
|
-
const
|
|
4128
|
+
const fo = {
|
|
4107
4129
|
number: {
|
|
4108
4130
|
scientific: { notation: "scientific" },
|
|
4109
4131
|
engineering: { notation: "engineering" },
|
|
@@ -4132,57 +4154,57 @@ const uo = {
|
|
|
4132
4154
|
timeZoneName: "short"
|
|
4133
4155
|
}
|
|
4134
4156
|
}
|
|
4135
|
-
},
|
|
4157
|
+
}, mo = {
|
|
4136
4158
|
fallbackLocale: null,
|
|
4137
4159
|
loadingDelay: 200,
|
|
4138
|
-
formats:
|
|
4160
|
+
formats: fo,
|
|
4139
4161
|
warnOnMissingMessages: !0,
|
|
4140
4162
|
handleMissingMessage: void 0,
|
|
4141
4163
|
ignoreTag: !0
|
|
4142
|
-
},
|
|
4164
|
+
}, po = mo;
|
|
4143
4165
|
function se() {
|
|
4144
|
-
return
|
|
4166
|
+
return po;
|
|
4145
4167
|
}
|
|
4146
|
-
const
|
|
4147
|
-
var
|
|
4168
|
+
const Je = Ce(!1);
|
|
4169
|
+
var go = Object.defineProperty, vo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, _o = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xo = (e, t) => {
|
|
4148
4170
|
for (var r in t || (t = {}))
|
|
4149
|
-
|
|
4150
|
-
if (
|
|
4151
|
-
for (var r of
|
|
4152
|
-
|
|
4171
|
+
yo.call(t, r) && Zt(e, r, t[r]);
|
|
4172
|
+
if (zt)
|
|
4173
|
+
for (var r of zt(t))
|
|
4174
|
+
_o.call(t, r) && Zt(e, r, t[r]);
|
|
4153
4175
|
return e;
|
|
4154
|
-
},
|
|
4155
|
-
let
|
|
4156
|
-
const
|
|
4157
|
-
function
|
|
4176
|
+
}, wo = (e, t) => vo(e, bo(t));
|
|
4177
|
+
let dt;
|
|
4178
|
+
const Pe = Ce(null);
|
|
4179
|
+
function Qt(e) {
|
|
4158
4180
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4159
4181
|
}
|
|
4160
4182
|
function Re(e, t = se().fallbackLocale) {
|
|
4161
|
-
const r =
|
|
4162
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4183
|
+
const r = Qt(e);
|
|
4184
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
|
|
4163
4185
|
}
|
|
4164
4186
|
function Y() {
|
|
4165
|
-
return
|
|
4187
|
+
return dt != null ? dt : void 0;
|
|
4166
4188
|
}
|
|
4167
|
-
|
|
4168
|
-
|
|
4189
|
+
Pe.subscribe((e) => {
|
|
4190
|
+
dt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4169
4191
|
});
|
|
4170
|
-
const
|
|
4171
|
-
if (e &&
|
|
4192
|
+
const Eo = (e) => {
|
|
4193
|
+
if (e && lo(e) && ft(e)) {
|
|
4172
4194
|
const { loadingDelay: t } = se();
|
|
4173
4195
|
let r;
|
|
4174
4196
|
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
|
4175
|
-
() =>
|
|
4197
|
+
() => Je.set(!0),
|
|
4176
4198
|
t
|
|
4177
|
-
) :
|
|
4178
|
-
|
|
4199
|
+
) : Je.set(!0), Xr(e).then(() => {
|
|
4200
|
+
Pe.set(e);
|
|
4179
4201
|
}).finally(() => {
|
|
4180
|
-
clearTimeout(r),
|
|
4202
|
+
clearTimeout(r), Je.set(!1);
|
|
4181
4203
|
});
|
|
4182
4204
|
}
|
|
4183
|
-
return
|
|
4184
|
-
}, he =
|
|
4185
|
-
set:
|
|
4205
|
+
return Pe.set(e);
|
|
4206
|
+
}, he = wo(xo({}, Pe), {
|
|
4207
|
+
set: Eo
|
|
4186
4208
|
}), Ue = (e) => {
|
|
4187
4209
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4188
4210
|
return (n) => {
|
|
@@ -4190,20 +4212,20 @@ const _o = (e) => {
|
|
|
4190
4212
|
return i in t ? t[i] : t[i] = e(n);
|
|
4191
4213
|
};
|
|
4192
4214
|
};
|
|
4193
|
-
var
|
|
4215
|
+
var No = Object.defineProperty, Me = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
|
4194
4216
|
for (var r in t || (t = {}))
|
|
4195
|
-
|
|
4217
|
+
zr.call(t, r) && Yt(e, r, t[r]);
|
|
4196
4218
|
if (Me)
|
|
4197
4219
|
for (var r of Me(t))
|
|
4198
|
-
|
|
4220
|
+
Zr.call(t, r) && Yt(e, r, t[r]);
|
|
4199
4221
|
return e;
|
|
4200
4222
|
}, ce = (e, t) => {
|
|
4201
4223
|
var r = {};
|
|
4202
4224
|
for (var n in e)
|
|
4203
|
-
|
|
4225
|
+
zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4204
4226
|
if (e != null && Me)
|
|
4205
4227
|
for (var n of Me(e))
|
|
4206
|
-
t.indexOf(n) < 0 &&
|
|
4228
|
+
t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
|
|
4207
4229
|
return r;
|
|
4208
4230
|
};
|
|
4209
4231
|
const be = (e, t) => {
|
|
@@ -4211,21 +4233,21 @@ const be = (e, t) => {
|
|
|
4211
4233
|
if (e in r && t in r[e])
|
|
4212
4234
|
return r[e][t];
|
|
4213
4235
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4214
|
-
},
|
|
4236
|
+
}, So = Ue(
|
|
4215
4237
|
(e) => {
|
|
4216
4238
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4217
4239
|
if (r == null)
|
|
4218
4240
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4219
4241
|
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
|
4220
4242
|
}
|
|
4221
|
-
),
|
|
4243
|
+
), Io = Ue(
|
|
4222
4244
|
(e) => {
|
|
4223
4245
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4224
4246
|
if (r == null)
|
|
4225
4247
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4226
4248
|
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4227
4249
|
}
|
|
4228
|
-
),
|
|
4250
|
+
), Bo = Ue(
|
|
4229
4251
|
(e) => {
|
|
4230
4252
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4231
4253
|
if (r == null)
|
|
@@ -4234,33 +4256,33 @@ const be = (e, t) => {
|
|
|
4234
4256
|
);
|
|
4235
4257
|
return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4236
4258
|
}
|
|
4237
|
-
),
|
|
4259
|
+
), Ao = (e = {}) => {
|
|
4238
4260
|
var t = e, {
|
|
4239
4261
|
locale: r = Y()
|
|
4240
4262
|
} = t, n = ce(t, [
|
|
4241
4263
|
"locale"
|
|
4242
4264
|
]);
|
|
4243
|
-
return
|
|
4244
|
-
},
|
|
4265
|
+
return So(yt({ locale: r }, n));
|
|
4266
|
+
}, To = (e = {}) => {
|
|
4245
4267
|
var t = e, {
|
|
4246
4268
|
locale: r = Y()
|
|
4247
4269
|
} = t, n = ce(t, [
|
|
4248
4270
|
"locale"
|
|
4249
4271
|
]);
|
|
4250
|
-
return
|
|
4251
|
-
},
|
|
4272
|
+
return Io(yt({ locale: r }, n));
|
|
4273
|
+
}, Ho = (e = {}) => {
|
|
4252
4274
|
var t = e, {
|
|
4253
4275
|
locale: r = Y()
|
|
4254
4276
|
} = t, n = ce(t, [
|
|
4255
4277
|
"locale"
|
|
4256
4278
|
]);
|
|
4257
|
-
return
|
|
4258
|
-
},
|
|
4279
|
+
return Bo(yt({ locale: r }, n));
|
|
4280
|
+
}, Po = Ue(
|
|
4259
4281
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4260
|
-
(e, t = Y()) => new
|
|
4282
|
+
(e, t = Y()) => new no(e, t, se().formats, {
|
|
4261
4283
|
ignoreTag: se().ignoreTag
|
|
4262
4284
|
})
|
|
4263
|
-
),
|
|
4285
|
+
), Mo = (e, t = {}) => {
|
|
4264
4286
|
var r, n, i, o;
|
|
4265
4287
|
let a = t;
|
|
4266
4288
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4273,7 +4295,7 @@ const be = (e, t) => {
|
|
|
4273
4295
|
throw new Error(
|
|
4274
4296
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4275
4297
|
);
|
|
4276
|
-
let h =
|
|
4298
|
+
let h = kr(e, l);
|
|
4277
4299
|
if (!h)
|
|
4278
4300
|
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4279
4301
|
else if (typeof h != "string")
|
|
@@ -4284,7 +4306,7 @@ const be = (e, t) => {
|
|
|
4284
4306
|
return h;
|
|
4285
4307
|
let d = h;
|
|
4286
4308
|
try {
|
|
4287
|
-
d =
|
|
4309
|
+
d = Po(h, l).format(s);
|
|
4288
4310
|
} catch (f) {
|
|
4289
4311
|
f instanceof Error && console.warn(
|
|
4290
4312
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4292,20 +4314,20 @@ const be = (e, t) => {
|
|
|
4292
4314
|
);
|
|
4293
4315
|
}
|
|
4294
4316
|
return d;
|
|
4295
|
-
},
|
|
4296
|
-
ue([he], () =>
|
|
4297
|
-
ue([he], () =>
|
|
4298
|
-
ue([he], () =>
|
|
4299
|
-
ue([he, _e], () =>
|
|
4300
|
-
window.emWidgets = { topic:
|
|
4301
|
-
const
|
|
4302
|
-
function
|
|
4303
|
-
|
|
4304
|
-
}
|
|
4305
|
-
function
|
|
4317
|
+
}, Oo = (e, t) => Ho(t).format(e), Lo = (e, t) => To(t).format(e), Co = (e, t) => Ao(t).format(e), Fo = (e, t = Y()) => kr(e, t), Ro = ue([he, _e], () => Mo);
|
|
4318
|
+
ue([he], () => Oo);
|
|
4319
|
+
ue([he], () => Lo);
|
|
4320
|
+
ue([he], () => Co);
|
|
4321
|
+
ue([he, _e], () => Fo);
|
|
4322
|
+
window.emWidgets = { topic: Yn };
|
|
4323
|
+
const Jt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4324
|
+
function qt(e, t) {
|
|
4325
|
+
Wr(e, t);
|
|
4326
|
+
}
|
|
4327
|
+
function Uo(e) {
|
|
4306
4328
|
he.set(e);
|
|
4307
4329
|
}
|
|
4308
|
-
const
|
|
4330
|
+
const Kt = {
|
|
4309
4331
|
en: {
|
|
4310
4332
|
secondaryMenuTitle: "Categories"
|
|
4311
4333
|
},
|
|
@@ -4340,13 +4362,13 @@ const Yt = {
|
|
|
4340
4362
|
secondaryMenuTitle: "Categories"
|
|
4341
4363
|
}
|
|
4342
4364
|
};
|
|
4343
|
-
function
|
|
4365
|
+
function Do(e, t) {
|
|
4344
4366
|
if (e) {
|
|
4345
4367
|
const r = document.createElement("style");
|
|
4346
4368
|
r.innerHTML = t, e.appendChild(r);
|
|
4347
4369
|
}
|
|
4348
4370
|
}
|
|
4349
|
-
function
|
|
4371
|
+
function Go(e, t) {
|
|
4350
4372
|
const r = new URL(t);
|
|
4351
4373
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4352
4374
|
const i = document.createElement("style");
|
|
@@ -4355,7 +4377,7 @@ function Ro(e, t) {
|
|
|
4355
4377
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4356
4378
|
});
|
|
4357
4379
|
}
|
|
4358
|
-
function
|
|
4380
|
+
function $o(e, t, r) {
|
|
4359
4381
|
if (window.emMessageBus) {
|
|
4360
4382
|
const n = document.createElement("style");
|
|
4361
4383
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4363,28 +4385,28 @@ function Uo(e, t, r) {
|
|
|
4363
4385
|
});
|
|
4364
4386
|
}
|
|
4365
4387
|
}
|
|
4366
|
-
function
|
|
4367
|
-
|
|
4388
|
+
function ko(e) {
|
|
4389
|
+
vn(e, "svelte-gg2uu2", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #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}');
|
|
4368
4390
|
}
|
|
4369
|
-
function
|
|
4391
|
+
function er(e, t, r) {
|
|
4370
4392
|
const n = e.slice();
|
|
4371
4393
|
return n[44] = t[r], n[46] = r, n;
|
|
4372
4394
|
}
|
|
4373
|
-
function
|
|
4395
|
+
function tr(e, t, r) {
|
|
4374
4396
|
const n = e.slice();
|
|
4375
4397
|
return n[44] = t[r], n;
|
|
4376
4398
|
}
|
|
4377
|
-
const
|
|
4378
|
-
function
|
|
4399
|
+
const jo = (e) => ({}), rr = (e) => ({});
|
|
4400
|
+
function nr(e) {
|
|
4379
4401
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4380
|
-
e[6] &&
|
|
4402
|
+
e[6] && ir(e), u = He(
|
|
4381
4403
|
/*primaryMenuSpliced*/
|
|
4382
4404
|
e[7]
|
|
4383
4405
|
), h = [];
|
|
4384
4406
|
for (let f = 0; f < u.length; f += 1)
|
|
4385
|
-
h[f] =
|
|
4407
|
+
h[f] = lr(er(e, u, f));
|
|
4386
4408
|
let d = !/*navigationBarSimple*/
|
|
4387
|
-
e[6] &&
|
|
4409
|
+
e[6] && ur(e);
|
|
4388
4410
|
return {
|
|
4389
4411
|
c() {
|
|
4390
4412
|
t = B("div"), l && l.c(), r = j(), n = B("div");
|
|
@@ -4404,26 +4426,26 @@ function er(e) {
|
|
|
4404
4426
|
},
|
|
4405
4427
|
p(f, p) {
|
|
4406
4428
|
if (/*navigationBarSimple*/
|
|
4407
|
-
f[6] ? l && (
|
|
4429
|
+
f[6] ? l && (pr(), ge(l, 1, 1, () => {
|
|
4408
4430
|
l = null;
|
|
4409
|
-
}),
|
|
4410
|
-
64 && z(l, 1)) : (l =
|
|
4431
|
+
}), gr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4432
|
+
64 && z(l, 1)) : (l = ir(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4411
4433
|
32928) {
|
|
4412
|
-
u =
|
|
4434
|
+
u = He(
|
|
4413
4435
|
/*primaryMenuSpliced*/
|
|
4414
4436
|
f[7]
|
|
4415
4437
|
);
|
|
4416
4438
|
let g;
|
|
4417
4439
|
for (g = 0; g < u.length; g += 1) {
|
|
4418
|
-
const v =
|
|
4419
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4440
|
+
const v = er(f, u, g);
|
|
4441
|
+
h[g] ? h[g].p(v, p) : (h[g] = lr(v), h[g].c(), h[g].m(n, i));
|
|
4420
4442
|
}
|
|
4421
4443
|
for (; g < h.length; g += 1)
|
|
4422
4444
|
h[g].d(1);
|
|
4423
4445
|
h.length = u.length;
|
|
4424
4446
|
}
|
|
4425
4447
|
/*navigationBarSimple*/
|
|
4426
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4448
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = ur(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4427
4449
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4428
4450
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4429
4451
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4438,11 +4460,11 @@ function er(e) {
|
|
|
4438
4460
|
ge(l), s = !1;
|
|
4439
4461
|
},
|
|
4440
4462
|
d(f) {
|
|
4441
|
-
f && C(t), l && l.d(),
|
|
4463
|
+
f && C(t), l && l.d(), mr(h, f), d && d.d();
|
|
4442
4464
|
}
|
|
4443
4465
|
};
|
|
4444
4466
|
}
|
|
4445
|
-
function
|
|
4467
|
+
function ir(e) {
|
|
4446
4468
|
let t, r, n, i, o = (
|
|
4447
4469
|
/*secondarymenutitle*/
|
|
4448
4470
|
(e[0] || /*$_*/
|
|
@@ -4451,19 +4473,19 @@ function tr(e) {
|
|
|
4451
4473
|
const p = (
|
|
4452
4474
|
/*#slots*/
|
|
4453
4475
|
e[27].close
|
|
4454
|
-
), g =
|
|
4476
|
+
), g = dn(
|
|
4455
4477
|
p,
|
|
4456
4478
|
e,
|
|
4457
4479
|
/*$$scope*/
|
|
4458
4480
|
e[26],
|
|
4459
|
-
|
|
4460
|
-
), v = g ||
|
|
4461
|
-
let A =
|
|
4481
|
+
rr
|
|
4482
|
+
), v = g || Wo();
|
|
4483
|
+
let A = He(
|
|
4462
4484
|
/*secondaryMenu*/
|
|
4463
4485
|
e[8]
|
|
4464
4486
|
), S = [];
|
|
4465
4487
|
for (let b = 0; b < A.length; b += 1)
|
|
4466
|
-
S[b] =
|
|
4488
|
+
S[b] = ar(tr(e, A, b));
|
|
4467
4489
|
return {
|
|
4468
4490
|
c() {
|
|
4469
4491
|
t = B("div"), r = B("span"), v && v.c(), n = j(), i = B("h3"), a = ye(o), s = j(), l = B("div");
|
|
@@ -4485,36 +4507,36 @@ function tr(e) {
|
|
|
4485
4507
|
},
|
|
4486
4508
|
p(b, N) {
|
|
4487
4509
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4488
|
-
67108864) &&
|
|
4510
|
+
67108864) && pn(
|
|
4489
4511
|
g,
|
|
4490
4512
|
p,
|
|
4491
4513
|
b,
|
|
4492
4514
|
/*$$scope*/
|
|
4493
4515
|
b[26],
|
|
4494
|
-
h ?
|
|
4516
|
+
h ? mn(
|
|
4495
4517
|
p,
|
|
4496
4518
|
/*$$scope*/
|
|
4497
4519
|
b[26],
|
|
4498
4520
|
N,
|
|
4499
|
-
|
|
4500
|
-
) :
|
|
4521
|
+
jo
|
|
4522
|
+
) : gn(
|
|
4501
4523
|
/*$$scope*/
|
|
4502
4524
|
b[26]
|
|
4503
4525
|
),
|
|
4504
|
-
|
|
4526
|
+
rr
|
|
4505
4527
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4506
4528
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4507
4529
|
(b[0] || /*$_*/
|
|
4508
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4530
|
+
b[12]("secondaryMenuTitle")) + "") && pt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4509
4531
|
33056) {
|
|
4510
|
-
A =
|
|
4532
|
+
A = He(
|
|
4511
4533
|
/*secondaryMenu*/
|
|
4512
4534
|
b[8]
|
|
4513
4535
|
);
|
|
4514
4536
|
let E;
|
|
4515
4537
|
for (E = 0; E < A.length; E += 1) {
|
|
4516
|
-
const
|
|
4517
|
-
S[E] ? S[E].p(
|
|
4538
|
+
const H = tr(b, A, E);
|
|
4539
|
+
S[E] ? S[E].p(H, N) : (S[E] = ar(H), S[E].c(), S[E].m(l, null));
|
|
4518
4540
|
}
|
|
4519
4541
|
for (; E < S.length; E += 1)
|
|
4520
4542
|
S[E].d(1);
|
|
@@ -4531,11 +4553,11 @@ function tr(e) {
|
|
|
4531
4553
|
ge(v, b), h = !1;
|
|
4532
4554
|
},
|
|
4533
4555
|
d(b) {
|
|
4534
|
-
b && C(t), v && v.d(b),
|
|
4556
|
+
b && C(t), v && v.d(b), mr(S, b), d = !1, f();
|
|
4535
4557
|
}
|
|
4536
4558
|
};
|
|
4537
4559
|
}
|
|
4538
|
-
function
|
|
4560
|
+
function Wo(e) {
|
|
4539
4561
|
let t, r;
|
|
4540
4562
|
return {
|
|
4541
4563
|
c() {
|
|
@@ -4550,7 +4572,7 @@ function $o(e) {
|
|
|
4550
4572
|
}
|
|
4551
4573
|
};
|
|
4552
4574
|
}
|
|
4553
|
-
function
|
|
4575
|
+
function or(e) {
|
|
4554
4576
|
let t, r, n, i;
|
|
4555
4577
|
return {
|
|
4556
4578
|
c() {
|
|
@@ -4573,13 +4595,13 @@ function rr(e) {
|
|
|
4573
4595
|
}
|
|
4574
4596
|
};
|
|
4575
4597
|
}
|
|
4576
|
-
function
|
|
4598
|
+
function ar(e) {
|
|
4577
4599
|
let t, r, n, i = (
|
|
4578
4600
|
/*item*/
|
|
4579
4601
|
e[44].label + ""
|
|
4580
4602
|
), o, a, s, l, u, h = (
|
|
4581
4603
|
/*item*/
|
|
4582
|
-
e[44].img &&
|
|
4604
|
+
e[44].img && or(e)
|
|
4583
4605
|
);
|
|
4584
4606
|
function d() {
|
|
4585
4607
|
return (
|
|
@@ -4601,9 +4623,9 @@ function nr(e) {
|
|
|
4601
4623
|
},
|
|
4602
4624
|
p(f, p) {
|
|
4603
4625
|
e = f, /*item*/
|
|
4604
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4626
|
+
e[44].img ? h ? h.p(e, p) : (h = or(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4605
4627
|
256 && i !== (i = /*item*/
|
|
4606
|
-
e[44].label + "") &&
|
|
4628
|
+
e[44].label + "") && pt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4607
4629
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4608
4630
|
(e[5] === /*item*/
|
|
4609
4631
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4613,7 +4635,7 @@ function nr(e) {
|
|
|
4613
4635
|
}
|
|
4614
4636
|
};
|
|
4615
4637
|
}
|
|
4616
|
-
function
|
|
4638
|
+
function sr(e) {
|
|
4617
4639
|
let t, r, n, i;
|
|
4618
4640
|
return {
|
|
4619
4641
|
c() {
|
|
@@ -4636,13 +4658,13 @@ function ir(e) {
|
|
|
4636
4658
|
}
|
|
4637
4659
|
};
|
|
4638
4660
|
}
|
|
4639
|
-
function
|
|
4661
|
+
function lr(e) {
|
|
4640
4662
|
let t, r, n, i = (
|
|
4641
4663
|
/*item*/
|
|
4642
4664
|
e[44].label + ""
|
|
4643
4665
|
), o, a, s, l, u = (
|
|
4644
4666
|
/*item*/
|
|
4645
|
-
e[44].img &&
|
|
4667
|
+
e[44].img && sr(e)
|
|
4646
4668
|
);
|
|
4647
4669
|
function h() {
|
|
4648
4670
|
return (
|
|
@@ -4665,9 +4687,9 @@ function or(e) {
|
|
|
4665
4687
|
},
|
|
4666
4688
|
p(d, f) {
|
|
4667
4689
|
e = d, /*item*/
|
|
4668
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4690
|
+
e[44].img ? u ? u.p(e, f) : (u = sr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4669
4691
|
128 && i !== (i = /*item*/
|
|
4670
|
-
e[44].label + "") &&
|
|
4692
|
+
e[44].label + "") && pt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4671
4693
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4672
4694
|
e[46] + " " + /*activeMenuItemId*/
|
|
4673
4695
|
(e[5] === /*item*/
|
|
@@ -4678,12 +4700,12 @@ function or(e) {
|
|
|
4678
4700
|
}
|
|
4679
4701
|
};
|
|
4680
4702
|
}
|
|
4681
|
-
function
|
|
4703
|
+
function ur(e) {
|
|
4682
4704
|
let t, r, n, i, o;
|
|
4683
4705
|
function a(u, h) {
|
|
4684
4706
|
return (
|
|
4685
4707
|
/*isFlowerMenu*/
|
|
4686
|
-
u[11] ?
|
|
4708
|
+
u[11] ? Vo : Xo
|
|
4687
4709
|
);
|
|
4688
4710
|
}
|
|
4689
4711
|
let s = a(e), l = s(e);
|
|
@@ -4710,7 +4732,7 @@ function ar(e) {
|
|
|
4710
4732
|
}
|
|
4711
4733
|
};
|
|
4712
4734
|
}
|
|
4713
|
-
function
|
|
4735
|
+
function Vo(e) {
|
|
4714
4736
|
let t, r, n, i, o, a, s;
|
|
4715
4737
|
return {
|
|
4716
4738
|
c() {
|
|
@@ -4730,18 +4752,18 @@ function ko(e) {
|
|
|
4730
4752
|
}
|
|
4731
4753
|
};
|
|
4732
4754
|
}
|
|
4733
|
-
function
|
|
4755
|
+
function Xo(e) {
|
|
4734
4756
|
let t;
|
|
4735
4757
|
function r(o, a) {
|
|
4736
4758
|
return (
|
|
4737
4759
|
/*imageIconUrl*/
|
|
4738
|
-
o[9] ?
|
|
4760
|
+
o[9] ? Zo : zo
|
|
4739
4761
|
);
|
|
4740
4762
|
}
|
|
4741
4763
|
let n = r(e), i = n(e);
|
|
4742
4764
|
return {
|
|
4743
4765
|
c() {
|
|
4744
|
-
i.c(), t =
|
|
4766
|
+
i.c(), t = _n();
|
|
4745
4767
|
},
|
|
4746
4768
|
m(o, a) {
|
|
4747
4769
|
i.m(o, a), F(o, t, a);
|
|
@@ -4754,7 +4776,7 @@ function jo(e) {
|
|
|
4754
4776
|
}
|
|
4755
4777
|
};
|
|
4756
4778
|
}
|
|
4757
|
-
function
|
|
4779
|
+
function zo(e) {
|
|
4758
4780
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4759
4781
|
return {
|
|
4760
4782
|
c() {
|
|
@@ -4769,7 +4791,7 @@ function Wo(e) {
|
|
|
4769
4791
|
}
|
|
4770
4792
|
};
|
|
4771
4793
|
}
|
|
4772
|
-
function
|
|
4794
|
+
function Zo(e) {
|
|
4773
4795
|
let t, r;
|
|
4774
4796
|
return {
|
|
4775
4797
|
c() {
|
|
@@ -4800,11 +4822,11 @@ function Vo(e) {
|
|
|
4800
4822
|
}
|
|
4801
4823
|
};
|
|
4802
4824
|
}
|
|
4803
|
-
function
|
|
4825
|
+
function Qo(e) {
|
|
4804
4826
|
let t, r, n, i = !/*isLoading*/
|
|
4805
4827
|
e[1] && /*isMobile*/
|
|
4806
4828
|
e[13] && /*showNavigation*/
|
|
4807
|
-
e[3] &&
|
|
4829
|
+
e[3] && nr(e);
|
|
4808
4830
|
return {
|
|
4809
4831
|
c() {
|
|
4810
4832
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4819,9 +4841,9 @@ function Xo(e) {
|
|
|
4819
4841
|
o[1] && /*isMobile*/
|
|
4820
4842
|
o[13] && /*showNavigation*/
|
|
4821
4843
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4822
|
-
10 && z(i, 1)) : (i =
|
|
4844
|
+
10 && z(i, 1)) : (i = nr(o), i.c(), z(i, 1), i.m(t, null)) : i && (pr(), ge(i, 1, 1, () => {
|
|
4823
4845
|
i = null;
|
|
4824
|
-
}),
|
|
4846
|
+
}), gr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4825
4847
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4826
4848
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4827
4849
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4837,61 +4859,61 @@ function Xo(e) {
|
|
|
4837
4859
|
}
|
|
4838
4860
|
};
|
|
4839
4861
|
}
|
|
4840
|
-
function
|
|
4862
|
+
function Yo(e, t, r) {
|
|
4841
4863
|
let n;
|
|
4842
|
-
|
|
4843
|
-
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 =
|
|
4844
|
-
const
|
|
4864
|
+
fn(e, Ro, (m) => r(12, n = m));
|
|
4865
|
+
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 = Jt(S) !== "PC", N = !0, E = !1, H = !1, Z = "", J = !1, De = [], xe = [], V = [], $, _t = "", Ge = {}, xt, $e = !1;
|
|
4866
|
+
const Qr = () => {
|
|
4845
4867
|
fetch(g).then((T) => T.json()).then((T) => {
|
|
4846
|
-
Object.keys(T).forEach((
|
|
4847
|
-
|
|
4868
|
+
Object.keys(T).forEach((P) => {
|
|
4869
|
+
qt(P, T[P]);
|
|
4848
4870
|
});
|
|
4849
4871
|
}).catch((T) => {
|
|
4850
4872
|
console.log(T);
|
|
4851
4873
|
});
|
|
4852
4874
|
};
|
|
4853
|
-
Object.keys(
|
|
4854
|
-
|
|
4875
|
+
Object.keys(Kt).forEach((m) => {
|
|
4876
|
+
qt(m, Kt[m]);
|
|
4855
4877
|
});
|
|
4856
|
-
const
|
|
4878
|
+
const wt = (m) => {
|
|
4857
4879
|
if (m.data)
|
|
4858
4880
|
switch (m.data.type) {
|
|
4859
4881
|
case "PlayerAccountMenuActive":
|
|
4860
|
-
r(4,
|
|
4882
|
+
r(4, H = !1);
|
|
4861
4883
|
break;
|
|
4862
4884
|
case "OpenLoginRegisterModal":
|
|
4863
|
-
r(4,
|
|
4885
|
+
r(4, H = !1);
|
|
4864
4886
|
break;
|
|
4865
4887
|
case "GoToHomepage":
|
|
4866
|
-
r(4,
|
|
4888
|
+
r(4, H = !1);
|
|
4867
4889
|
break;
|
|
4868
4890
|
}
|
|
4869
|
-
},
|
|
4891
|
+
}, Yr = () => {
|
|
4870
4892
|
r(11, $e = A.toLowerCase() === "true");
|
|
4871
|
-
},
|
|
4872
|
-
r(4,
|
|
4893
|
+
}, Jr = () => {
|
|
4894
|
+
r(4, H = !H), window.postMessage(
|
|
4873
4895
|
{
|
|
4874
4896
|
type: "MobileBottomNav",
|
|
4875
|
-
navigationWindowOpened:
|
|
4897
|
+
navigationWindowOpened: H
|
|
4876
4898
|
},
|
|
4877
4899
|
window.location.href
|
|
4878
4900
|
);
|
|
4879
|
-
},
|
|
4880
|
-
r(7, xe = []), r(7, xe = J ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4881
|
-
},
|
|
4901
|
+
}, qr = (m) => {
|
|
4902
|
+
r(7, xe = []), r(7, xe = J ? m.splice(0, 5) : m.splice(0, 4)), v && Et();
|
|
4903
|
+
}, Kr = () => {
|
|
4882
4904
|
ke(), r(1, N = !0);
|
|
4883
|
-
let m =
|
|
4884
|
-
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((
|
|
4885
|
-
De = [], r(8, V = []), r(3, E =
|
|
4886
|
-
Ge[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9,
|
|
4887
|
-
}), r(6, J = V.length == 0), V.length >= 5 && $e && r(8, V = V.splice(0, 5)),
|
|
4888
|
-
}).catch((
|
|
4889
|
-
r(1, N = !1), console.error(
|
|
4905
|
+
let m = Jt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4906
|
+
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
|
|
4907
|
+
De = [], r(8, V = []), r(3, E = P.length > 0), P.forEach((U) => {
|
|
4908
|
+
Ge[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, _t = U == null ? void 0 : U.img), r(8, V = U.children)) : De.push(U);
|
|
4909
|
+
}), r(6, J = V.length == 0), V.length >= 5 && $e && r(8, V = V.splice(0, 5)), qr(De), r(1, N = !1);
|
|
4910
|
+
}).catch((P) => {
|
|
4911
|
+
r(1, N = !1), console.error(P);
|
|
4890
4912
|
});
|
|
4891
|
-
},
|
|
4892
|
-
const T = xe.concat(V).find((
|
|
4913
|
+
}, Et = () => {
|
|
4914
|
+
const T = xe.concat(V).find((P) => P.path.includes(v));
|
|
4893
4915
|
T && r(5, Z = T.id);
|
|
4894
|
-
}, fe = (m, T,
|
|
4916
|
+
}, fe = (m, T, P, U) => {
|
|
4895
4917
|
Ge[U] ? window.postMessage(
|
|
4896
4918
|
{
|
|
4897
4919
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4903,32 +4925,32 @@ function zo(e, t, r) {
|
|
|
4903
4925
|
type: "NavigateTo",
|
|
4904
4926
|
path: m,
|
|
4905
4927
|
target: T || null,
|
|
4906
|
-
externalLink:
|
|
4928
|
+
externalLink: P || !1
|
|
4907
4929
|
},
|
|
4908
4930
|
window.location.href
|
|
4909
|
-
), r(4,
|
|
4931
|
+
), r(4, H = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4910
4932
|
context: "MobileBottomNavigation",
|
|
4911
4933
|
menuItem: `${m}`
|
|
4912
4934
|
});
|
|
4913
|
-
},
|
|
4914
|
-
|
|
4935
|
+
}, en = () => {
|
|
4936
|
+
Uo(s);
|
|
4915
4937
|
}, ke = () => {
|
|
4916
|
-
r(10,
|
|
4917
|
-
},
|
|
4918
|
-
|
|
4938
|
+
r(10, xt = b && window.innerHeight / window.innerWidth < 1);
|
|
4939
|
+
}, Nt = () => {
|
|
4940
|
+
H && r(4, H = !1);
|
|
4919
4941
|
};
|
|
4920
|
-
|
|
4921
|
-
window.removeEventListener("message",
|
|
4942
|
+
Nn(() => (window.addEventListener("message", wt, !1), document.addEventListener("focusin", Nt), b && window.screen.orientation.addEventListener("change", ke), () => {
|
|
4943
|
+
window.removeEventListener("message", wt), document.removeEventListener("focusin", Nt), b && window.screen.orientation.removeEventListener("change", ke);
|
|
4922
4944
|
}));
|
|
4923
|
-
const
|
|
4924
|
-
var T,
|
|
4925
|
-
(T = m.attrs) != null && T.target ? fe(m.path, (
|
|
4926
|
-
},
|
|
4927
|
-
var T,
|
|
4928
|
-
(T = m.attrs) != null && T.target ? fe(m.path, (
|
|
4945
|
+
const tn = (m) => {
|
|
4946
|
+
var T, P;
|
|
4947
|
+
(T = m.attrs) != null && T.target ? fe(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : fe(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4948
|
+
}, rn = (m) => {
|
|
4949
|
+
var T, P;
|
|
4950
|
+
(T = m.attrs) != null && T.target ? fe(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : fe(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4929
4951
|
};
|
|
4930
|
-
function
|
|
4931
|
-
|
|
4952
|
+
function nn(m) {
|
|
4953
|
+
qe[m ? "unshift" : "push"](() => {
|
|
4932
4954
|
$ = m, r(2, $);
|
|
4933
4955
|
});
|
|
4934
4956
|
}
|
|
@@ -4936,30 +4958,30 @@ function zo(e, t, r) {
|
|
|
4936
4958
|
"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);
|
|
4937
4959
|
}, e.$$.update = () => {
|
|
4938
4960
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4939
|
-
33554432 && A &&
|
|
4940
|
-
16777218 && v && !N &&
|
|
4941
|
-
131072 && s &&
|
|
4942
|
-
983040 && a && s && l && h &&
|
|
4943
|
-
2097156 && f && $ &&
|
|
4944
|
-
4194308 && p && $ &&
|
|
4945
|
-
1048580 && d && $ &&
|
|
4946
|
-
8388608 && g &&
|
|
4961
|
+
33554432 && A && Yr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4962
|
+
16777218 && v && !N && Et(), e.$$.dirty[0] & /*lang*/
|
|
4963
|
+
131072 && s && en(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4964
|
+
983040 && a && s && l && h && Kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4965
|
+
2097156 && f && $ && Do($, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4966
|
+
4194308 && p && $ && Go($, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4967
|
+
1048580 && d && $ && $o($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4968
|
+
8388608 && g && Qr();
|
|
4947
4969
|
}, [
|
|
4948
4970
|
u,
|
|
4949
4971
|
N,
|
|
4950
4972
|
$,
|
|
4951
4973
|
E,
|
|
4952
|
-
|
|
4974
|
+
H,
|
|
4953
4975
|
Z,
|
|
4954
4976
|
J,
|
|
4955
4977
|
xe,
|
|
4956
4978
|
V,
|
|
4957
|
-
|
|
4958
|
-
|
|
4979
|
+
_t,
|
|
4980
|
+
xt,
|
|
4959
4981
|
$e,
|
|
4960
4982
|
n,
|
|
4961
4983
|
b,
|
|
4962
|
-
|
|
4984
|
+
Jr,
|
|
4963
4985
|
fe,
|
|
4964
4986
|
a,
|
|
4965
4987
|
s,
|
|
@@ -4973,19 +4995,19 @@ function zo(e, t, r) {
|
|
|
4973
4995
|
A,
|
|
4974
4996
|
o,
|
|
4975
4997
|
i,
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4998
|
+
tn,
|
|
4999
|
+
rn,
|
|
5000
|
+
nn
|
|
4979
5001
|
];
|
|
4980
5002
|
}
|
|
4981
|
-
class
|
|
5003
|
+
class Jo extends Ln {
|
|
4982
5004
|
constructor(t) {
|
|
4983
|
-
super(),
|
|
5005
|
+
super(), Mn(
|
|
4984
5006
|
this,
|
|
4985
5007
|
t,
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
5008
|
+
Yo,
|
|
5009
|
+
Qo,
|
|
5010
|
+
cr,
|
|
4989
5011
|
{
|
|
4990
5012
|
cmsendpoint: 16,
|
|
4991
5013
|
lang: 17,
|
|
@@ -4999,7 +5021,7 @@ class Zo extends Pn {
|
|
|
4999
5021
|
activecategory: 24,
|
|
5000
5022
|
flowermenustyle: 25
|
|
5001
5023
|
},
|
|
5002
|
-
|
|
5024
|
+
ko,
|
|
5003
5025
|
[-1, -1]
|
|
5004
5026
|
);
|
|
5005
5027
|
}
|
|
@@ -5070,7 +5092,7 @@ class Zo extends Pn {
|
|
|
5070
5092
|
this.$$set({ flowermenustyle: t }), R();
|
|
5071
5093
|
}
|
|
5072
5094
|
}
|
|
5073
|
-
|
|
5095
|
+
On(Jo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5074
5096
|
export {
|
|
5075
|
-
|
|
5097
|
+
Jo as default
|
|
5076
5098
|
};
|