@everymatrix/general-navigation-bar 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-Dk-g2WiT.js → GeneralNavigationBar-B53b74Yg.js} +682 -626
- package/components/{GeneralNavigationBar-BICG6YxZ.js → GeneralNavigationBar-DE5JbVID.js} +653 -597
- package/components/GeneralNavigationBar-DJdDik_E.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-ZYScF0h0.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ke = (e, t, r) => t in e ?
|
|
1
|
+
var nn = Object.defineProperty, on = Object.defineProperties;
|
|
2
|
+
var an = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Nt = Object.getOwnPropertySymbols;
|
|
4
|
+
var sn = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ke = (e, t, r) => t in e ? nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
sn.call(t, r) && ke(e, r, t[r]);
|
|
8
|
+
if (Nt)
|
|
9
|
+
for (var r of Nt(t))
|
|
10
|
+
ln.call(t, r) && ke(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var U = (e, t, r) => ke(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
12
|
+
}, It = (e, t) => on(e, an(t));
|
|
13
|
+
var U = (e, t, r) => (ke(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,36 +29,37 @@ var Nt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
for (const r in t)
|
|
32
|
+
function un(e, t) {
|
|
33
|
+
for (const r in t)
|
|
34
|
+
e[r] = t[r];
|
|
34
35
|
return (
|
|
35
36
|
/** @type {T & S} */
|
|
36
37
|
e
|
|
37
38
|
);
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
+
function ur(e) {
|
|
40
41
|
return e();
|
|
41
42
|
}
|
|
42
|
-
function
|
|
43
|
+
function At() {
|
|
43
44
|
return /* @__PURE__ */ Object.create(null);
|
|
44
45
|
}
|
|
45
46
|
function se(e) {
|
|
46
|
-
e.forEach(
|
|
47
|
+
e.forEach(ur);
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function dt(e) {
|
|
49
50
|
return typeof e == "function";
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function hr(e, t) {
|
|
52
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
54
|
}
|
|
54
55
|
let xe;
|
|
55
56
|
function re(e, t) {
|
|
56
57
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
+
function hn(e) {
|
|
59
60
|
return Object.keys(e).length === 0;
|
|
60
61
|
}
|
|
61
|
-
function
|
|
62
|
+
function cr(e, ...t) {
|
|
62
63
|
if (e == null) {
|
|
63
64
|
for (const n of t)
|
|
64
65
|
n(void 0);
|
|
@@ -67,19 +68,19 @@ function lr(e, ...t) {
|
|
|
67
68
|
const r = e.subscribe(...t);
|
|
68
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
69
70
|
}
|
|
70
|
-
function
|
|
71
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function cn(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(cr(t, r));
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
+
function fn(e, t, r, n) {
|
|
74
75
|
if (e) {
|
|
75
|
-
const i =
|
|
76
|
+
const i = fr(e, t, r, n);
|
|
76
77
|
return e[0](i);
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
-
return e[1] && n ?
|
|
80
|
+
function fr(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? un(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
+
function dn(e, t, r, n) {
|
|
83
84
|
if (e[2] && n) {
|
|
84
85
|
const i = e[2](n(r));
|
|
85
86
|
if (t.dirty === void 0)
|
|
@@ -94,13 +95,13 @@ function un(e, t, r, n) {
|
|
|
94
95
|
}
|
|
95
96
|
return t.dirty;
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
+
function mn(e, t, r, n, i, o) {
|
|
98
99
|
if (i) {
|
|
99
|
-
const a =
|
|
100
|
+
const a = fr(t, r, n, o);
|
|
100
101
|
e.p(a, i);
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function pn(e) {
|
|
104
105
|
if (e.ctx.length > 32) {
|
|
105
106
|
const t = [], r = e.ctx.length / 32;
|
|
106
107
|
for (let n = 0; n < r; n++)
|
|
@@ -112,15 +113,16 @@ function cn(e) {
|
|
|
112
113
|
function y(e, t) {
|
|
113
114
|
e.appendChild(t);
|
|
114
115
|
}
|
|
115
|
-
function
|
|
116
|
-
const n =
|
|
116
|
+
function gn(e, t, r) {
|
|
117
|
+
const n = vn(e);
|
|
117
118
|
if (!n.getElementById(t)) {
|
|
118
119
|
const i = B("style");
|
|
119
|
-
i.id = t, i.textContent = r,
|
|
120
|
+
i.id = t, i.textContent = r, bn(n, i);
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
-
if (!e)
|
|
123
|
+
function vn(e) {
|
|
124
|
+
if (!e)
|
|
125
|
+
return document;
|
|
124
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
125
127
|
return t && /** @type {ShadowRoot} */
|
|
126
128
|
t.host ? (
|
|
@@ -128,7 +130,7 @@ function dn(e) {
|
|
|
128
130
|
t
|
|
129
131
|
) : e.ownerDocument;
|
|
130
132
|
}
|
|
131
|
-
function
|
|
133
|
+
function bn(e, t) {
|
|
132
134
|
return y(
|
|
133
135
|
/** @type {Document} */
|
|
134
136
|
e.head || e,
|
|
@@ -141,7 +143,7 @@ function C(e, t, r) {
|
|
|
141
143
|
function L(e) {
|
|
142
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
143
145
|
}
|
|
144
|
-
function
|
|
146
|
+
function dr(e, t) {
|
|
145
147
|
for (let r = 0; r < e.length; r += 1)
|
|
146
148
|
e[r] && e[r].d(t);
|
|
147
149
|
}
|
|
@@ -157,7 +159,7 @@ function be(e) {
|
|
|
157
159
|
function k() {
|
|
158
160
|
return be(" ");
|
|
159
161
|
}
|
|
160
|
-
function
|
|
162
|
+
function yn() {
|
|
161
163
|
return be("");
|
|
162
164
|
}
|
|
163
165
|
function Me(e, t, r, n) {
|
|
@@ -166,14 +168,14 @@ function Me(e, t, r, n) {
|
|
|
166
168
|
function c(e, t, r) {
|
|
167
169
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
168
170
|
}
|
|
169
|
-
function
|
|
171
|
+
function _n(e) {
|
|
170
172
|
return Array.from(e.childNodes);
|
|
171
173
|
}
|
|
172
|
-
function
|
|
174
|
+
function mt(e, t) {
|
|
173
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
174
176
|
t);
|
|
175
177
|
}
|
|
176
|
-
function
|
|
178
|
+
function xn(e) {
|
|
177
179
|
const t = {};
|
|
178
180
|
return e.childNodes.forEach(
|
|
179
181
|
/** @param {Element} node */
|
|
@@ -186,21 +188,22 @@ let me;
|
|
|
186
188
|
function de(e) {
|
|
187
189
|
me = e;
|
|
188
190
|
}
|
|
189
|
-
function
|
|
190
|
-
if (!me)
|
|
191
|
+
function wn() {
|
|
192
|
+
if (!me)
|
|
193
|
+
throw new Error("Function called outside component initialization");
|
|
191
194
|
return me;
|
|
192
195
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
196
|
+
function En(e) {
|
|
197
|
+
wn().$$.on_mount.push(e);
|
|
195
198
|
}
|
|
196
|
-
const K = [],
|
|
199
|
+
const K = [], Je = [];
|
|
197
200
|
let ee = [];
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
|
|
201
|
+
const Tt = [], Nn = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let qe = !1;
|
|
203
|
+
function Sn() {
|
|
204
|
+
qe || (qe = !0, Nn.then(F));
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function Ke(e) {
|
|
204
207
|
ee.push(e);
|
|
205
208
|
}
|
|
206
209
|
const je = /* @__PURE__ */ new Set();
|
|
@@ -213,36 +216,37 @@ function F() {
|
|
|
213
216
|
try {
|
|
214
217
|
for (; J < K.length; ) {
|
|
215
218
|
const t = K[J];
|
|
216
|
-
J++, de(t),
|
|
219
|
+
J++, de(t), In(t.$$);
|
|
217
220
|
}
|
|
218
221
|
} catch (t) {
|
|
219
222
|
throw K.length = 0, J = 0, t;
|
|
220
223
|
}
|
|
221
|
-
for (de(null), K.length = 0, J = 0;
|
|
224
|
+
for (de(null), K.length = 0, J = 0; Je.length; )
|
|
225
|
+
Je.pop()();
|
|
222
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
223
227
|
const r = ee[t];
|
|
224
228
|
je.has(r) || (je.add(r), r());
|
|
225
229
|
}
|
|
226
230
|
ee.length = 0;
|
|
227
231
|
} while (K.length);
|
|
228
|
-
for (;
|
|
229
|
-
|
|
230
|
-
|
|
232
|
+
for (; Tt.length; )
|
|
233
|
+
Tt.pop()();
|
|
234
|
+
qe = !1, je.clear(), de(e);
|
|
231
235
|
}
|
|
232
|
-
function
|
|
236
|
+
function In(e) {
|
|
233
237
|
if (e.fragment !== null) {
|
|
234
238
|
e.update(), se(e.before_update);
|
|
235
239
|
const t = e.dirty;
|
|
236
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
|
|
237
241
|
}
|
|
238
242
|
}
|
|
239
|
-
function
|
|
243
|
+
function Bn(e) {
|
|
240
244
|
const t = [], r = [];
|
|
241
245
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
242
246
|
}
|
|
243
247
|
const Ne = /* @__PURE__ */ new Set();
|
|
244
248
|
let Z;
|
|
245
|
-
function
|
|
249
|
+
function mr() {
|
|
246
250
|
Z = {
|
|
247
251
|
r: 0,
|
|
248
252
|
c: [],
|
|
@@ -250,7 +254,7 @@ function cr() {
|
|
|
250
254
|
// parent group
|
|
251
255
|
};
|
|
252
256
|
}
|
|
253
|
-
function
|
|
257
|
+
function pr() {
|
|
254
258
|
Z.r || se(Z.c), Z = Z.p;
|
|
255
259
|
}
|
|
256
260
|
function X(e, t) {
|
|
@@ -258,30 +262,32 @@ function X(e, t) {
|
|
|
258
262
|
}
|
|
259
263
|
function pe(e, t, r, n) {
|
|
260
264
|
if (e && e.o) {
|
|
261
|
-
if (Ne.has(e))
|
|
265
|
+
if (Ne.has(e))
|
|
266
|
+
return;
|
|
262
267
|
Ne.add(e), Z.c.push(() => {
|
|
263
268
|
Ne.delete(e), n && (r && e.d(1), n());
|
|
264
269
|
}), e.o(t);
|
|
265
|
-
} else
|
|
270
|
+
} else
|
|
271
|
+
n && n();
|
|
266
272
|
}
|
|
267
273
|
function Te(e) {
|
|
268
274
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
269
275
|
}
|
|
270
|
-
function
|
|
276
|
+
function An(e, t, r) {
|
|
271
277
|
const { fragment: n, after_update: i } = e.$$;
|
|
272
|
-
n && n.m(t, r),
|
|
273
|
-
const o = e.$$.on_mount.map(
|
|
278
|
+
n && n.m(t, r), Ke(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(ur).filter(dt);
|
|
274
280
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
275
|
-
}), i.forEach(
|
|
281
|
+
}), i.forEach(Ke);
|
|
276
282
|
}
|
|
277
|
-
function
|
|
283
|
+
function Tn(e, t) {
|
|
278
284
|
const r = e.$$;
|
|
279
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (Bn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
280
286
|
}
|
|
281
|
-
function
|
|
282
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
287
|
+
function Hn(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), Sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
289
|
}
|
|
284
|
-
function
|
|
290
|
+
function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
285
291
|
const l = me;
|
|
286
292
|
de(e);
|
|
287
293
|
const u = e.$$ = {
|
|
@@ -291,7 +297,7 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
291
297
|
props: o,
|
|
292
298
|
update: D,
|
|
293
299
|
not_equal: i,
|
|
294
|
-
bound:
|
|
300
|
+
bound: At(),
|
|
295
301
|
// lifecycle
|
|
296
302
|
on_mount: [],
|
|
297
303
|
on_destroy: [],
|
|
@@ -300,7 +306,7 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
300
306
|
after_update: [],
|
|
301
307
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
302
308
|
// everything else
|
|
303
|
-
callbacks:
|
|
309
|
+
callbacks: At(),
|
|
304
310
|
dirty: s,
|
|
305
311
|
skip_bound: !1,
|
|
306
312
|
root: t.target || l.$$.root
|
|
@@ -309,19 +315,19 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
309
315
|
let h = !1;
|
|
310
316
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
311
317
|
const g = p.length ? p[0] : f;
|
|
312
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
318
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Hn(e, d)), f;
|
|
313
319
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
314
320
|
if (t.hydrate) {
|
|
315
|
-
const d =
|
|
321
|
+
const d = _n(t.target);
|
|
316
322
|
u.fragment && u.fragment.l(d), d.forEach(L);
|
|
317
323
|
} else
|
|
318
324
|
u.fragment && u.fragment.c();
|
|
319
|
-
t.intro && X(e.$$.fragment),
|
|
325
|
+
t.intro && X(e.$$.fragment), An(e, t.target, t.anchor), F();
|
|
320
326
|
}
|
|
321
327
|
de(l);
|
|
322
328
|
}
|
|
323
|
-
let
|
|
324
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let gr;
|
|
330
|
+
typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
325
331
|
constructor(t, r, n) {
|
|
326
332
|
super();
|
|
327
333
|
/** The Svelte component constructor */
|
|
@@ -358,7 +364,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
358
364
|
}
|
|
359
365
|
}
|
|
360
366
|
connectedCallback() {
|
|
361
|
-
return
|
|
367
|
+
return Bt(this, null, function* () {
|
|
362
368
|
if (this.$$cn = !0, !this.$$c) {
|
|
363
369
|
let t = function(o) {
|
|
364
370
|
return () => {
|
|
@@ -382,7 +388,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
382
388
|
};
|
|
383
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
384
390
|
return;
|
|
385
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = xn(this);
|
|
386
392
|
for (const o of this.$$s)
|
|
387
393
|
o in n && (r[o] = [t(o)]);
|
|
388
394
|
for (const o of this.attributes) {
|
|
@@ -393,7 +399,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
393
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
394
400
|
this.$$c = new this.$$ctor({
|
|
395
401
|
target: this.shadowRoot || this,
|
|
396
|
-
props:
|
|
402
|
+
props: It(St({}, this.$$d), {
|
|
397
403
|
$$slots: r,
|
|
398
404
|
$$scope: {
|
|
399
405
|
ctx: []
|
|
@@ -471,8 +477,8 @@ function Se(e, t, r, n) {
|
|
|
471
477
|
return t;
|
|
472
478
|
}
|
|
473
479
|
}
|
|
474
|
-
function
|
|
475
|
-
let a = class extends
|
|
480
|
+
function Mn(e, t, r, n, i, o) {
|
|
481
|
+
let a = class extends gr {
|
|
476
482
|
constructor() {
|
|
477
483
|
super(e, r, i), this.$$p_d = t;
|
|
478
484
|
}
|
|
@@ -502,7 +508,7 @@ function An(e, t, r, n, i, o) {
|
|
|
502
508
|
}), e.element = /** @type {any} */
|
|
503
509
|
a, a;
|
|
504
510
|
}
|
|
505
|
-
class
|
|
511
|
+
class On {
|
|
506
512
|
constructor() {
|
|
507
513
|
/**
|
|
508
514
|
* ### PRIVATE API
|
|
@@ -523,7 +529,7 @@ class Tn {
|
|
|
523
529
|
}
|
|
524
530
|
/** @returns {void} */
|
|
525
531
|
$destroy() {
|
|
526
|
-
|
|
532
|
+
Tn(this, 1), this.$destroy = D;
|
|
527
533
|
}
|
|
528
534
|
/**
|
|
529
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -532,7 +538,7 @@ class Tn {
|
|
|
532
538
|
* @returns {() => void}
|
|
533
539
|
*/
|
|
534
540
|
$on(t, r) {
|
|
535
|
-
if (!
|
|
541
|
+
if (!dt(r))
|
|
536
542
|
return D;
|
|
537
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
544
|
return n.push(r), () => {
|
|
@@ -545,22 +551,37 @@ class Tn {
|
|
|
545
551
|
* @returns {void}
|
|
546
552
|
*/
|
|
547
553
|
$set(t) {
|
|
548
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
549
555
|
}
|
|
550
556
|
}
|
|
551
|
-
const
|
|
552
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
553
|
-
|
|
554
|
-
|
|
557
|
+
const Ln = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ln);
|
|
559
|
+
/*! *****************************************************************************
|
|
560
|
+
Copyright (c) Microsoft Corporation.
|
|
561
|
+
|
|
562
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
563
|
+
purpose with or without fee is hereby granted.
|
|
564
|
+
|
|
565
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
566
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
567
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
568
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
569
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
570
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
572
|
+
***************************************************************************** */
|
|
573
|
+
var et = function(e, t) {
|
|
574
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
555
575
|
r.__proto__ = n;
|
|
556
576
|
} || function(r, n) {
|
|
557
|
-
for (var i in n)
|
|
558
|
-
|
|
577
|
+
for (var i in n)
|
|
578
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
+
}, et(e, t);
|
|
559
580
|
};
|
|
560
581
|
function j(e, t) {
|
|
561
582
|
if (typeof t != "function" && t !== null)
|
|
562
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
563
|
-
|
|
584
|
+
et(e, t);
|
|
564
585
|
function r() {
|
|
565
586
|
this.constructor = e;
|
|
566
587
|
}
|
|
@@ -570,61 +591,69 @@ var w = function() {
|
|
|
570
591
|
return w = Object.assign || function(t) {
|
|
571
592
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
572
593
|
r = arguments[n];
|
|
573
|
-
for (var o in r)
|
|
594
|
+
for (var o in r)
|
|
595
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
574
596
|
}
|
|
575
597
|
return t;
|
|
576
598
|
}, w.apply(this, arguments);
|
|
577
599
|
};
|
|
578
|
-
function
|
|
600
|
+
function Cn(e, t) {
|
|
579
601
|
var r = {};
|
|
580
|
-
for (var n in e)
|
|
602
|
+
for (var n in e)
|
|
603
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
581
604
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
582
605
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
583
606
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
584
607
|
return r;
|
|
585
608
|
}
|
|
586
|
-
function
|
|
609
|
+
function tt(e) {
|
|
587
610
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
588
|
-
if (r)
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
611
|
+
if (r)
|
|
612
|
+
return r.call(e);
|
|
613
|
+
if (e && typeof e.length == "number")
|
|
614
|
+
return {
|
|
615
|
+
next: function() {
|
|
616
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
617
|
+
}
|
|
618
|
+
};
|
|
594
619
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
595
620
|
}
|
|
596
|
-
function
|
|
621
|
+
function rt(e, t) {
|
|
597
622
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
598
|
-
if (!r)
|
|
623
|
+
if (!r)
|
|
624
|
+
return e;
|
|
599
625
|
var n = r.call(e), i, o = [], a;
|
|
600
626
|
try {
|
|
601
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
627
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
628
|
+
o.push(i.value);
|
|
602
629
|
} catch (s) {
|
|
603
630
|
a = { error: s };
|
|
604
631
|
} finally {
|
|
605
632
|
try {
|
|
606
633
|
i && !i.done && (r = n.return) && r.call(n);
|
|
607
634
|
} finally {
|
|
608
|
-
if (a)
|
|
635
|
+
if (a)
|
|
636
|
+
throw a.error;
|
|
609
637
|
}
|
|
610
638
|
}
|
|
611
639
|
return o;
|
|
612
640
|
}
|
|
613
641
|
function te(e, t, r) {
|
|
614
|
-
if (r || arguments.length === 2)
|
|
615
|
-
(
|
|
616
|
-
|
|
642
|
+
if (r || arguments.length === 2)
|
|
643
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
644
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
645
|
+
return e.concat(o || t);
|
|
617
646
|
}
|
|
618
647
|
function $(e) {
|
|
619
648
|
return typeof e == "function";
|
|
620
649
|
}
|
|
621
|
-
function
|
|
650
|
+
function vr(e) {
|
|
622
651
|
var t = function(n) {
|
|
623
652
|
Error.call(n), n.stack = new Error().stack;
|
|
624
653
|
}, r = e(t);
|
|
625
654
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
626
655
|
}
|
|
627
|
-
var We =
|
|
656
|
+
var We = vr(function(e) {
|
|
628
657
|
return function(r) {
|
|
629
658
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
630
659
|
` + r.map(function(n, i) {
|
|
@@ -633,7 +662,7 @@ var We = mr(function(e) {
|
|
|
633
662
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
634
663
|
};
|
|
635
664
|
});
|
|
636
|
-
function
|
|
665
|
+
function nt(e, t) {
|
|
637
666
|
if (e) {
|
|
638
667
|
var r = e.indexOf(t);
|
|
639
668
|
0 <= r && e.splice(r, 1);
|
|
@@ -651,7 +680,7 @@ var Oe = function() {
|
|
|
651
680
|
if (a)
|
|
652
681
|
if (this._parentage = null, Array.isArray(a))
|
|
653
682
|
try {
|
|
654
|
-
for (var s =
|
|
683
|
+
for (var s = tt(a), l = s.next(); !l.done; l = s.next()) {
|
|
655
684
|
var u = l.value;
|
|
656
685
|
u.remove(this);
|
|
657
686
|
}
|
|
@@ -661,7 +690,8 @@ var Oe = function() {
|
|
|
661
690
|
try {
|
|
662
691
|
l && !l.done && (r = s.return) && r.call(s);
|
|
663
692
|
} finally {
|
|
664
|
-
if (t)
|
|
693
|
+
if (t)
|
|
694
|
+
throw t.error;
|
|
665
695
|
}
|
|
666
696
|
}
|
|
667
697
|
else
|
|
@@ -677,12 +707,12 @@ var Oe = function() {
|
|
|
677
707
|
if (d) {
|
|
678
708
|
this._finalizers = null;
|
|
679
709
|
try {
|
|
680
|
-
for (var f =
|
|
710
|
+
for (var f = tt(d), p = f.next(); !p.done; p = f.next()) {
|
|
681
711
|
var g = p.value;
|
|
682
712
|
try {
|
|
683
|
-
|
|
713
|
+
Ht(g);
|
|
684
714
|
} catch (v) {
|
|
685
|
-
o = o != null ? o : [], v instanceof We ? o = te(te([],
|
|
715
|
+
o = o != null ? o : [], v instanceof We ? o = te(te([], rt(o)), rt(v.errors)) : o.push(v);
|
|
686
716
|
}
|
|
687
717
|
}
|
|
688
718
|
} catch (v) {
|
|
@@ -691,7 +721,8 @@ var Oe = function() {
|
|
|
691
721
|
try {
|
|
692
722
|
p && !p.done && (i = f.return) && i.call(f);
|
|
693
723
|
} finally {
|
|
694
|
-
if (n)
|
|
724
|
+
if (n)
|
|
725
|
+
throw n.error;
|
|
695
726
|
}
|
|
696
727
|
}
|
|
697
728
|
}
|
|
@@ -702,7 +733,7 @@ var Oe = function() {
|
|
|
702
733
|
var r;
|
|
703
734
|
if (t && t !== this)
|
|
704
735
|
if (this.closed)
|
|
705
|
-
|
|
736
|
+
Ht(t);
|
|
706
737
|
else {
|
|
707
738
|
if (t instanceof e) {
|
|
708
739
|
if (t.closed || t._hasParent(this))
|
|
@@ -719,52 +750,56 @@ var Oe = function() {
|
|
|
719
750
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
720
751
|
}, e.prototype._removeParent = function(t) {
|
|
721
752
|
var r = this._parentage;
|
|
722
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
753
|
+
r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
|
|
723
754
|
}, e.prototype.remove = function(t) {
|
|
724
755
|
var r = this._finalizers;
|
|
725
|
-
r &&
|
|
756
|
+
r && nt(r, t), t instanceof e && t._removeParent(this);
|
|
726
757
|
}, e.EMPTY = function() {
|
|
727
758
|
var t = new e();
|
|
728
759
|
return t.closed = !0, t;
|
|
729
760
|
}(), e;
|
|
730
|
-
}(),
|
|
731
|
-
function
|
|
761
|
+
}(), br = Oe.EMPTY;
|
|
762
|
+
function yr(e) {
|
|
732
763
|
return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
733
764
|
}
|
|
734
|
-
function
|
|
765
|
+
function Ht(e) {
|
|
735
766
|
$(e) ? e() : e.unsubscribe();
|
|
736
767
|
}
|
|
737
|
-
var
|
|
738
|
-
|
|
739
|
-
|
|
768
|
+
var _r = {
|
|
769
|
+
onUnhandledError: null,
|
|
770
|
+
onStoppedNotification: null,
|
|
771
|
+
Promise: void 0,
|
|
772
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
773
|
+
useDeprecatedNextContext: !1
|
|
774
|
+
}, Fn = {
|
|
740
775
|
setTimeout: function(e, t) {
|
|
741
776
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
742
777
|
r[n - 2] = arguments[n];
|
|
743
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
778
|
+
return setTimeout.apply(void 0, te([e, t], rt(r)));
|
|
744
779
|
},
|
|
745
780
|
clearTimeout: function(e) {
|
|
746
781
|
return clearTimeout(e);
|
|
747
782
|
},
|
|
748
783
|
delegate: void 0
|
|
749
784
|
};
|
|
750
|
-
function
|
|
751
|
-
|
|
785
|
+
function Rn(e) {
|
|
786
|
+
Fn.setTimeout(function() {
|
|
752
787
|
throw e;
|
|
753
788
|
});
|
|
754
789
|
}
|
|
755
|
-
function
|
|
790
|
+
function Pt() {
|
|
756
791
|
}
|
|
757
792
|
function Ie(e) {
|
|
758
793
|
e();
|
|
759
794
|
}
|
|
760
|
-
var
|
|
795
|
+
var xr = function(e) {
|
|
761
796
|
j(t, e);
|
|
762
797
|
function t(r) {
|
|
763
798
|
var n = e.call(this) || this;
|
|
764
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
799
|
+
return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = $n, n;
|
|
765
800
|
}
|
|
766
801
|
return t.create = function(r, n, i) {
|
|
767
|
-
return new
|
|
802
|
+
return new it(r, n, i);
|
|
768
803
|
}, t.prototype.next = function(r) {
|
|
769
804
|
this.isStopped || this._next(r);
|
|
770
805
|
}, t.prototype.error = function(r) {
|
|
@@ -788,7 +823,11 @@ var vr = function(e) {
|
|
|
788
823
|
this.unsubscribe();
|
|
789
824
|
}
|
|
790
825
|
}, t;
|
|
791
|
-
}(Oe),
|
|
826
|
+
}(Oe), Un = Function.prototype.bind;
|
|
827
|
+
function Ve(e, t) {
|
|
828
|
+
return Un.call(e, t);
|
|
829
|
+
}
|
|
830
|
+
var Dn = function() {
|
|
792
831
|
function e(t) {
|
|
793
832
|
this.partialObserver = t;
|
|
794
833
|
}
|
|
@@ -819,43 +858,55 @@ var vr = function(e) {
|
|
|
819
858
|
we(r);
|
|
820
859
|
}
|
|
821
860
|
}, e;
|
|
822
|
-
}(),
|
|
861
|
+
}(), it = function(e) {
|
|
823
862
|
j(t, e);
|
|
824
863
|
function t(r, n, i) {
|
|
825
864
|
var o = e.call(this) || this, a;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
865
|
+
if ($(r) || !r)
|
|
866
|
+
a = {
|
|
867
|
+
next: r != null ? r : void 0,
|
|
868
|
+
error: n != null ? n : void 0,
|
|
869
|
+
complete: i != null ? i : void 0
|
|
870
|
+
};
|
|
871
|
+
else {
|
|
872
|
+
var s;
|
|
873
|
+
o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
874
|
+
return o.unsubscribe();
|
|
875
|
+
}, a = {
|
|
876
|
+
next: r.next && Ve(r.next, s),
|
|
877
|
+
error: r.error && Ve(r.error, s),
|
|
878
|
+
complete: r.complete && Ve(r.complete, s)
|
|
879
|
+
}) : a = r;
|
|
880
|
+
}
|
|
881
|
+
return o.destination = new Dn(a), o;
|
|
831
882
|
}
|
|
832
883
|
return t;
|
|
833
|
-
}(
|
|
884
|
+
}(xr);
|
|
834
885
|
function we(e) {
|
|
835
|
-
|
|
886
|
+
Rn(e);
|
|
836
887
|
}
|
|
837
|
-
function
|
|
888
|
+
function Gn(e) {
|
|
838
889
|
throw e;
|
|
839
890
|
}
|
|
840
|
-
var
|
|
891
|
+
var $n = {
|
|
841
892
|
closed: !0,
|
|
842
|
-
next:
|
|
843
|
-
error:
|
|
844
|
-
complete:
|
|
845
|
-
},
|
|
893
|
+
next: Pt,
|
|
894
|
+
error: Gn,
|
|
895
|
+
complete: Pt
|
|
896
|
+
}, kn = function() {
|
|
846
897
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
847
898
|
}();
|
|
848
|
-
function
|
|
899
|
+
function jn(e) {
|
|
849
900
|
return e;
|
|
850
901
|
}
|
|
851
|
-
function
|
|
852
|
-
return e.length === 0 ?
|
|
902
|
+
function Wn(e) {
|
|
903
|
+
return e.length === 0 ? jn : e.length === 1 ? e[0] : function(r) {
|
|
853
904
|
return e.reduce(function(n, i) {
|
|
854
905
|
return i(n);
|
|
855
906
|
}, r);
|
|
856
907
|
};
|
|
857
908
|
}
|
|
858
|
-
var
|
|
909
|
+
var Mt = function() {
|
|
859
910
|
function e(t) {
|
|
860
911
|
t && (this._subscribe = t);
|
|
861
912
|
}
|
|
@@ -863,7 +914,7 @@ var Tt = function() {
|
|
|
863
914
|
var r = new e();
|
|
864
915
|
return r.source = this, r.operator = t, r;
|
|
865
916
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
866
|
-
var i = this, o =
|
|
917
|
+
var i = this, o = Xn(t) ? t : new it(t, r, n);
|
|
867
918
|
return Ie(function() {
|
|
868
919
|
var a = i, s = a.operator, l = a.source;
|
|
869
920
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -876,8 +927,8 @@ var Tt = function() {
|
|
|
876
927
|
}
|
|
877
928
|
}, e.prototype.forEach = function(t, r) {
|
|
878
929
|
var n = this;
|
|
879
|
-
return r =
|
|
880
|
-
var a = new
|
|
930
|
+
return r = Ot(r), new r(function(i, o) {
|
|
931
|
+
var a = new it({
|
|
881
932
|
next: function(s) {
|
|
882
933
|
try {
|
|
883
934
|
t(s);
|
|
@@ -893,15 +944,15 @@ var Tt = function() {
|
|
|
893
944
|
}, e.prototype._subscribe = function(t) {
|
|
894
945
|
var r;
|
|
895
946
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
896
|
-
}, e.prototype[
|
|
947
|
+
}, e.prototype[kn] = function() {
|
|
897
948
|
return this;
|
|
898
949
|
}, e.prototype.pipe = function() {
|
|
899
950
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
900
951
|
t[r] = arguments[r];
|
|
901
|
-
return
|
|
952
|
+
return Wn(t)(this);
|
|
902
953
|
}, e.prototype.toPromise = function(t) {
|
|
903
954
|
var r = this;
|
|
904
|
-
return t =
|
|
955
|
+
return t = Ot(t), new t(function(n, i) {
|
|
905
956
|
var o;
|
|
906
957
|
r.subscribe(function(a) {
|
|
907
958
|
return o = a;
|
|
@@ -915,32 +966,32 @@ var Tt = function() {
|
|
|
915
966
|
return new e(t);
|
|
916
967
|
}, e;
|
|
917
968
|
}();
|
|
918
|
-
function
|
|
969
|
+
function Ot(e) {
|
|
919
970
|
var t;
|
|
920
|
-
return (t = e != null ? e :
|
|
971
|
+
return (t = e != null ? e : _r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
921
972
|
}
|
|
922
|
-
function
|
|
973
|
+
function Vn(e) {
|
|
923
974
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
924
975
|
}
|
|
925
|
-
function
|
|
926
|
-
return e && e instanceof
|
|
976
|
+
function Xn(e) {
|
|
977
|
+
return e && e instanceof xr || Vn(e) && yr(e);
|
|
927
978
|
}
|
|
928
|
-
var
|
|
979
|
+
var zn = vr(function(e) {
|
|
929
980
|
return function() {
|
|
930
981
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
931
982
|
};
|
|
932
|
-
}),
|
|
983
|
+
}), wr = function(e) {
|
|
933
984
|
j(t, e);
|
|
934
985
|
function t() {
|
|
935
986
|
var r = e.call(this) || this;
|
|
936
987
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
937
988
|
}
|
|
938
989
|
return t.prototype.lift = function(r) {
|
|
939
|
-
var n = new
|
|
990
|
+
var n = new Lt(this, this);
|
|
940
991
|
return n.operator = r, n;
|
|
941
992
|
}, t.prototype._throwIfClosed = function() {
|
|
942
993
|
if (this.closed)
|
|
943
|
-
throw new
|
|
994
|
+
throw new zn();
|
|
944
995
|
}, t.prototype.next = function(r) {
|
|
945
996
|
var n = this;
|
|
946
997
|
Ie(function() {
|
|
@@ -948,7 +999,7 @@ var jn = mr(function(e) {
|
|
|
948
999
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
949
1000
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
950
1001
|
try {
|
|
951
|
-
for (var a =
|
|
1002
|
+
for (var a = tt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
952
1003
|
var l = s.value;
|
|
953
1004
|
l.next(r);
|
|
954
1005
|
}
|
|
@@ -958,7 +1009,8 @@ var jn = mr(function(e) {
|
|
|
958
1009
|
try {
|
|
959
1010
|
s && !s.done && (o = a.return) && o.call(a);
|
|
960
1011
|
} finally {
|
|
961
|
-
if (i)
|
|
1012
|
+
if (i)
|
|
1013
|
+
throw i.error;
|
|
962
1014
|
}
|
|
963
1015
|
}
|
|
964
1016
|
}
|
|
@@ -996,19 +1048,19 @@ var jn = mr(function(e) {
|
|
|
996
1048
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
997
1049
|
}, t.prototype._innerSubscribe = function(r) {
|
|
998
1050
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
999
|
-
return o || a ?
|
|
1000
|
-
n.currentObservers = null,
|
|
1051
|
+
return o || a ? br : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1052
|
+
n.currentObservers = null, nt(s, r);
|
|
1001
1053
|
}));
|
|
1002
1054
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1003
1055
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1004
1056
|
i ? r.error(o) : a && r.complete();
|
|
1005
1057
|
}, t.prototype.asObservable = function() {
|
|
1006
|
-
var r = new
|
|
1058
|
+
var r = new Mt();
|
|
1007
1059
|
return r.source = this, r;
|
|
1008
1060
|
}, t.create = function(r, n) {
|
|
1009
|
-
return new
|
|
1061
|
+
return new Lt(r, n);
|
|
1010
1062
|
}, t;
|
|
1011
|
-
}(
|
|
1063
|
+
}(Mt), Lt = function(e) {
|
|
1012
1064
|
j(t, e);
|
|
1013
1065
|
function t(r, n) {
|
|
1014
1066
|
var i = e.call(this) || this;
|
|
@@ -1025,17 +1077,17 @@ var jn = mr(function(e) {
|
|
|
1025
1077
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1026
1078
|
}, t.prototype._subscribe = function(r) {
|
|
1027
1079
|
var n, i;
|
|
1028
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1080
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
|
|
1029
1081
|
}, t;
|
|
1030
|
-
}(
|
|
1082
|
+
}(wr), Er = {
|
|
1031
1083
|
now: function() {
|
|
1032
|
-
return (
|
|
1084
|
+
return (Er.delegate || Date).now();
|
|
1033
1085
|
},
|
|
1034
1086
|
delegate: void 0
|
|
1035
|
-
},
|
|
1087
|
+
}, Zn = function(e) {
|
|
1036
1088
|
j(t, e);
|
|
1037
1089
|
function t(r, n, i) {
|
|
1038
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1090
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Er);
|
|
1039
1091
|
var o = e.call(this) || this;
|
|
1040
1092
|
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;
|
|
1041
1093
|
}
|
|
@@ -1055,15 +1107,15 @@ var jn = mr(function(e) {
|
|
|
1055
1107
|
u && o.splice(0, u + 1);
|
|
1056
1108
|
}
|
|
1057
1109
|
}, t;
|
|
1058
|
-
}(
|
|
1059
|
-
const
|
|
1060
|
-
if (
|
|
1061
|
-
const r = new
|
|
1062
|
-
|
|
1110
|
+
}(wr);
|
|
1111
|
+
const Ct = [], Ft = {}, Qn = (e, t = 0) => {
|
|
1112
|
+
if (Ct.indexOf(e) == -1) {
|
|
1113
|
+
const r = new Zn(t);
|
|
1114
|
+
Ft[e] = r, Ct.push(e);
|
|
1063
1115
|
}
|
|
1064
|
-
return
|
|
1116
|
+
return Ft[e];
|
|
1065
1117
|
}, q = [];
|
|
1066
|
-
function
|
|
1118
|
+
function Yn(e, t) {
|
|
1067
1119
|
return {
|
|
1068
1120
|
subscribe: Le(e, t).subscribe
|
|
1069
1121
|
};
|
|
@@ -1072,7 +1124,7 @@ function Le(e, t = D) {
|
|
|
1072
1124
|
let r;
|
|
1073
1125
|
const n = /* @__PURE__ */ new Set();
|
|
1074
1126
|
function i(s) {
|
|
1075
|
-
if (
|
|
1127
|
+
if (hr(e, s) && (e = s, r)) {
|
|
1076
1128
|
const l = !q.length;
|
|
1077
1129
|
for (const u of n)
|
|
1078
1130
|
u[1](), q.push(u, e);
|
|
@@ -1099,7 +1151,7 @@ function le(e, t, r) {
|
|
|
1099
1151
|
if (!i.every(Boolean))
|
|
1100
1152
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1101
1153
|
const o = t.length < 2;
|
|
1102
|
-
return
|
|
1154
|
+
return Yn(r, (a, s) => {
|
|
1103
1155
|
let l = !1;
|
|
1104
1156
|
const u = [];
|
|
1105
1157
|
let h = 0, d = D;
|
|
@@ -1108,9 +1160,9 @@ function le(e, t, r) {
|
|
|
1108
1160
|
return;
|
|
1109
1161
|
d();
|
|
1110
1162
|
const g = t(n ? u[0] : u, a, s);
|
|
1111
|
-
o ? a(g) : d =
|
|
1163
|
+
o ? a(g) : d = dt(g) ? g : D;
|
|
1112
1164
|
}, p = i.map(
|
|
1113
|
-
(g, v) =>
|
|
1165
|
+
(g, v) => cr(
|
|
1114
1166
|
g,
|
|
1115
1167
|
(A) => {
|
|
1116
1168
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1125,70 +1177,70 @@ function le(e, t, r) {
|
|
|
1125
1177
|
};
|
|
1126
1178
|
});
|
|
1127
1179
|
}
|
|
1128
|
-
function
|
|
1180
|
+
function Jn(e) {
|
|
1129
1181
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1130
1182
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1183
|
+
var qn = function(t) {
|
|
1184
|
+
return Kn(t) && !ei(t);
|
|
1133
1185
|
};
|
|
1134
|
-
function
|
|
1186
|
+
function Kn(e) {
|
|
1135
1187
|
return !!e && typeof e == "object";
|
|
1136
1188
|
}
|
|
1137
|
-
function
|
|
1189
|
+
function ei(e) {
|
|
1138
1190
|
var t = Object.prototype.toString.call(e);
|
|
1139
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1191
|
+
return t === "[object RegExp]" || t === "[object Date]" || ni(e);
|
|
1140
1192
|
}
|
|
1141
|
-
var
|
|
1142
|
-
function
|
|
1143
|
-
return e.$$typeof ===
|
|
1193
|
+
var ti = typeof Symbol == "function" && Symbol.for, ri = ti ? Symbol.for("react.element") : 60103;
|
|
1194
|
+
function ni(e) {
|
|
1195
|
+
return e.$$typeof === ri;
|
|
1144
1196
|
}
|
|
1145
|
-
function
|
|
1197
|
+
function ii(e) {
|
|
1146
1198
|
return Array.isArray(e) ? [] : {};
|
|
1147
1199
|
}
|
|
1148
1200
|
function ge(e, t) {
|
|
1149
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1201
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(ii(e), e, t) : e;
|
|
1150
1202
|
}
|
|
1151
|
-
function
|
|
1203
|
+
function oi(e, t, r) {
|
|
1152
1204
|
return e.concat(t).map(function(n) {
|
|
1153
1205
|
return ge(n, r);
|
|
1154
1206
|
});
|
|
1155
1207
|
}
|
|
1156
|
-
function
|
|
1208
|
+
function ai(e, t) {
|
|
1157
1209
|
if (!t.customMerge)
|
|
1158
1210
|
return ne;
|
|
1159
1211
|
var r = t.customMerge(e);
|
|
1160
1212
|
return typeof r == "function" ? r : ne;
|
|
1161
1213
|
}
|
|
1162
|
-
function
|
|
1214
|
+
function si(e) {
|
|
1163
1215
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1164
1216
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1165
1217
|
}) : [];
|
|
1166
1218
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return Object.keys(e).concat(
|
|
1219
|
+
function Rt(e) {
|
|
1220
|
+
return Object.keys(e).concat(si(e));
|
|
1169
1221
|
}
|
|
1170
|
-
function
|
|
1222
|
+
function Nr(e, t) {
|
|
1171
1223
|
try {
|
|
1172
1224
|
return t in e;
|
|
1173
1225
|
} catch (r) {
|
|
1174
1226
|
return !1;
|
|
1175
1227
|
}
|
|
1176
1228
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return
|
|
1229
|
+
function li(e, t) {
|
|
1230
|
+
return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1179
1231
|
}
|
|
1180
|
-
function
|
|
1232
|
+
function ui(e, t, r) {
|
|
1181
1233
|
var n = {};
|
|
1182
|
-
return r.isMergeableObject(e) &&
|
|
1234
|
+
return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
|
|
1183
1235
|
n[i] = ge(e[i], r);
|
|
1184
|
-
}),
|
|
1185
|
-
|
|
1236
|
+
}), Rt(t).forEach(function(i) {
|
|
1237
|
+
li(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
|
1186
1238
|
}), n;
|
|
1187
1239
|
}
|
|
1188
1240
|
function ne(e, t, r) {
|
|
1189
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1241
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = ge;
|
|
1190
1242
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1191
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1243
|
+
return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : ge(t, r);
|
|
1192
1244
|
}
|
|
1193
1245
|
ne.all = function(t, r) {
|
|
1194
1246
|
if (!Array.isArray(t))
|
|
@@ -1197,56 +1249,58 @@ ne.all = function(t, r) {
|
|
|
1197
1249
|
return ne(n, i, r);
|
|
1198
1250
|
}, {});
|
|
1199
1251
|
};
|
|
1200
|
-
var
|
|
1201
|
-
const
|
|
1202
|
-
function
|
|
1203
|
-
var r = t && t.cache ? t.cache :
|
|
1252
|
+
var hi = ne, ci = hi;
|
|
1253
|
+
const fi = /* @__PURE__ */ Jn(ci);
|
|
1254
|
+
function Xe(e, t) {
|
|
1255
|
+
var r = t && t.cache ? t.cache : bi, n = t && t.serializer ? t.serializer : vi, i = t && t.strategy ? t.strategy : mi;
|
|
1204
1256
|
return i(e, {
|
|
1205
1257
|
cache: r,
|
|
1206
1258
|
serializer: n
|
|
1207
1259
|
});
|
|
1208
1260
|
}
|
|
1209
|
-
function
|
|
1261
|
+
function di(e) {
|
|
1210
1262
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1211
1263
|
}
|
|
1212
|
-
function
|
|
1213
|
-
var i =
|
|
1264
|
+
function Sr(e, t, r, n) {
|
|
1265
|
+
var i = di(n) ? n : r(n), o = t.get(i);
|
|
1214
1266
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1215
1267
|
}
|
|
1216
|
-
function
|
|
1268
|
+
function Ir(e, t, r) {
|
|
1217
1269
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1218
1270
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1219
1271
|
}
|
|
1220
|
-
function
|
|
1272
|
+
function pt(e, t, r, n, i) {
|
|
1221
1273
|
return r.bind(t, e, n, i);
|
|
1222
1274
|
}
|
|
1223
|
-
function
|
|
1224
|
-
var r = e.length === 1 ?
|
|
1225
|
-
return
|
|
1275
|
+
function mi(e, t) {
|
|
1276
|
+
var r = e.length === 1 ? Sr : Ir;
|
|
1277
|
+
return pt(e, this, r, t.cache.create(), t.serializer);
|
|
1226
1278
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1279
|
+
function pi(e, t) {
|
|
1280
|
+
return pt(e, this, Ir, t.cache.create(), t.serializer);
|
|
1229
1281
|
}
|
|
1230
|
-
|
|
1282
|
+
function gi(e, t) {
|
|
1283
|
+
return pt(e, this, Sr, t.cache.create(), t.serializer);
|
|
1284
|
+
}
|
|
1285
|
+
var vi = function() {
|
|
1231
1286
|
return JSON.stringify(arguments);
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
}()
|
|
1244
|
-
), pi = {
|
|
1287
|
+
};
|
|
1288
|
+
function gt() {
|
|
1289
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1290
|
+
}
|
|
1291
|
+
gt.prototype.get = function(e) {
|
|
1292
|
+
return this.cache[e];
|
|
1293
|
+
};
|
|
1294
|
+
gt.prototype.set = function(e, t) {
|
|
1295
|
+
this.cache[e] = t;
|
|
1296
|
+
};
|
|
1297
|
+
var bi = {
|
|
1245
1298
|
create: function() {
|
|
1246
|
-
return new
|
|
1299
|
+
return new gt();
|
|
1247
1300
|
}
|
|
1248
|
-
},
|
|
1249
|
-
variadic:
|
|
1301
|
+
}, ze = {
|
|
1302
|
+
variadic: pi,
|
|
1303
|
+
monadic: gi
|
|
1250
1304
|
}, _;
|
|
1251
1305
|
(function(e) {
|
|
1252
1306
|
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";
|
|
@@ -1259,43 +1313,43 @@ var ie;
|
|
|
1259
1313
|
(function(e) {
|
|
1260
1314
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1261
1315
|
})(ie || (ie = {}));
|
|
1262
|
-
function
|
|
1316
|
+
function Ut(e) {
|
|
1263
1317
|
return e.type === I.literal;
|
|
1264
1318
|
}
|
|
1265
|
-
function
|
|
1319
|
+
function yi(e) {
|
|
1266
1320
|
return e.type === I.argument;
|
|
1267
1321
|
}
|
|
1268
|
-
function
|
|
1322
|
+
function Br(e) {
|
|
1269
1323
|
return e.type === I.number;
|
|
1270
1324
|
}
|
|
1271
|
-
function
|
|
1325
|
+
function Ar(e) {
|
|
1272
1326
|
return e.type === I.date;
|
|
1273
1327
|
}
|
|
1274
|
-
function
|
|
1328
|
+
function Tr(e) {
|
|
1275
1329
|
return e.type === I.time;
|
|
1276
1330
|
}
|
|
1277
|
-
function
|
|
1331
|
+
function Hr(e) {
|
|
1278
1332
|
return e.type === I.select;
|
|
1279
1333
|
}
|
|
1280
|
-
function
|
|
1334
|
+
function Pr(e) {
|
|
1281
1335
|
return e.type === I.plural;
|
|
1282
1336
|
}
|
|
1283
|
-
function
|
|
1337
|
+
function _i(e) {
|
|
1284
1338
|
return e.type === I.pound;
|
|
1285
1339
|
}
|
|
1286
|
-
function
|
|
1340
|
+
function Mr(e) {
|
|
1287
1341
|
return e.type === I.tag;
|
|
1288
1342
|
}
|
|
1289
|
-
function
|
|
1343
|
+
function Or(e) {
|
|
1290
1344
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1291
1345
|
}
|
|
1292
|
-
function
|
|
1346
|
+
function ot(e) {
|
|
1293
1347
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1294
1348
|
}
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1349
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
|
|
1350
|
+
function wi(e) {
|
|
1297
1351
|
var t = {};
|
|
1298
|
-
return e.replace(
|
|
1352
|
+
return e.replace(xi, function(r) {
|
|
1299
1353
|
var n = r.length;
|
|
1300
1354
|
switch (r[0]) {
|
|
1301
1355
|
case "G":
|
|
@@ -1384,11 +1438,11 @@ function yi(e) {
|
|
|
1384
1438
|
return "";
|
|
1385
1439
|
}), t;
|
|
1386
1440
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1441
|
+
var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1442
|
+
function Ni(e) {
|
|
1389
1443
|
if (e.length === 0)
|
|
1390
1444
|
throw new Error("Number skeleton cannot be empty");
|
|
1391
|
-
for (var t = e.split(
|
|
1445
|
+
for (var t = e.split(Ei).filter(function(f) {
|
|
1392
1446
|
return f.length > 0;
|
|
1393
1447
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1394
1448
|
var o = i[n], a = o.split("/");
|
|
@@ -1403,17 +1457,17 @@ function xi(e) {
|
|
|
1403
1457
|
}
|
|
1404
1458
|
return r;
|
|
1405
1459
|
}
|
|
1406
|
-
function
|
|
1460
|
+
function Si(e) {
|
|
1407
1461
|
return e.replace(/^(.*?)-/, "");
|
|
1408
1462
|
}
|
|
1409
|
-
var
|
|
1410
|
-
function
|
|
1463
|
+
var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
|
|
1464
|
+
function Gt(e) {
|
|
1411
1465
|
var t = {};
|
|
1412
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1466
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
|
|
1413
1467
|
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)), "";
|
|
1414
1468
|
}), t;
|
|
1415
1469
|
}
|
|
1416
|
-
function
|
|
1470
|
+
function Rr(e) {
|
|
1417
1471
|
switch (e) {
|
|
1418
1472
|
case "sign-auto":
|
|
1419
1473
|
return {
|
|
@@ -1453,7 +1507,7 @@ function Or(e) {
|
|
|
1453
1507
|
};
|
|
1454
1508
|
}
|
|
1455
1509
|
}
|
|
1456
|
-
function
|
|
1510
|
+
function Bi(e) {
|
|
1457
1511
|
var t;
|
|
1458
1512
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1459
1513
|
notation: "engineering"
|
|
@@ -1461,17 +1515,17 @@ function Ni(e) {
|
|
|
1461
1515
|
notation: "scientific"
|
|
1462
1516
|
}, e = e.slice(1)), t) {
|
|
1463
1517
|
var r = e.slice(0, 2);
|
|
1464
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1518
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
|
|
1465
1519
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1466
1520
|
t.minimumIntegerDigits = e.length;
|
|
1467
1521
|
}
|
|
1468
1522
|
return t;
|
|
1469
1523
|
}
|
|
1470
|
-
function
|
|
1471
|
-
var t = {}, r =
|
|
1524
|
+
function $t(e) {
|
|
1525
|
+
var t = {}, r = Rr(e);
|
|
1472
1526
|
return r || t;
|
|
1473
1527
|
}
|
|
1474
|
-
function
|
|
1528
|
+
function Ai(e) {
|
|
1475
1529
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1476
1530
|
var i = n[r];
|
|
1477
1531
|
switch (i.stem) {
|
|
@@ -1495,7 +1549,7 @@ function Si(e) {
|
|
|
1495
1549
|
continue;
|
|
1496
1550
|
case "measure-unit":
|
|
1497
1551
|
case "unit":
|
|
1498
|
-
t.style = "unit", t.unit =
|
|
1552
|
+
t.style = "unit", t.unit = Si(i.options[0]);
|
|
1499
1553
|
continue;
|
|
1500
1554
|
case "compact-short":
|
|
1501
1555
|
case "K":
|
|
@@ -1507,12 +1561,12 @@ function Si(e) {
|
|
|
1507
1561
|
continue;
|
|
1508
1562
|
case "scientific":
|
|
1509
1563
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1510
|
-
return w(w({}, l),
|
|
1564
|
+
return w(w({}, l), $t(u));
|
|
1511
1565
|
}, {}));
|
|
1512
1566
|
continue;
|
|
1513
1567
|
case "engineering":
|
|
1514
1568
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1515
|
-
return w(w({}, l),
|
|
1569
|
+
return w(w({}, l), $t(u));
|
|
1516
1570
|
}, {}));
|
|
1517
1571
|
continue;
|
|
1518
1572
|
case "notation-simple":
|
|
@@ -1557,7 +1611,7 @@ function Si(e) {
|
|
|
1557
1611
|
case "integer-width":
|
|
1558
1612
|
if (i.options.length > 1)
|
|
1559
1613
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1560
|
-
i.options[0].replace(
|
|
1614
|
+
i.options[0].replace(Ii, function(l, u, h, d, f, p) {
|
|
1561
1615
|
if (u)
|
|
1562
1616
|
t.minimumIntegerDigits = h.length;
|
|
1563
1617
|
else {
|
|
@@ -1570,27 +1624,27 @@ function Si(e) {
|
|
|
1570
1624
|
});
|
|
1571
1625
|
continue;
|
|
1572
1626
|
}
|
|
1573
|
-
if (
|
|
1627
|
+
if (Fr.test(i.stem)) {
|
|
1574
1628
|
t.minimumIntegerDigits = i.stem.length;
|
|
1575
1629
|
continue;
|
|
1576
1630
|
}
|
|
1577
|
-
if (
|
|
1631
|
+
if (Dt.test(i.stem)) {
|
|
1578
1632
|
if (i.options.length > 1)
|
|
1579
1633
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1580
|
-
i.stem.replace(
|
|
1634
|
+
i.stem.replace(Dt, function(l, u, h, d, f, p) {
|
|
1581
1635
|
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), "";
|
|
1582
1636
|
});
|
|
1583
1637
|
var o = i.options[0];
|
|
1584
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1638
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Gt(o)));
|
|
1585
1639
|
continue;
|
|
1586
1640
|
}
|
|
1587
|
-
if (
|
|
1588
|
-
t = w(w({}, t),
|
|
1641
|
+
if (Cr.test(i.stem)) {
|
|
1642
|
+
t = w(w({}, t), Gt(i.stem));
|
|
1589
1643
|
continue;
|
|
1590
1644
|
}
|
|
1591
|
-
var a =
|
|
1645
|
+
var a = Rr(i.stem);
|
|
1592
1646
|
a && (t = w(w({}, t), a));
|
|
1593
|
-
var s =
|
|
1647
|
+
var s = Bi(i.stem);
|
|
1594
1648
|
s && (t = w(w({}, t), s));
|
|
1595
1649
|
}
|
|
1596
1650
|
return t;
|
|
@@ -3010,22 +3064,23 @@ var Ee = {
|
|
|
3010
3064
|
"h"
|
|
3011
3065
|
]
|
|
3012
3066
|
};
|
|
3013
|
-
function
|
|
3067
|
+
function Ti(e, t) {
|
|
3014
3068
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3015
3069
|
var i = e.charAt(n);
|
|
3016
3070
|
if (i === "j") {
|
|
3017
3071
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3018
3072
|
o++, n++;
|
|
3019
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3073
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
|
|
3020
3074
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3021
3075
|
r += l;
|
|
3022
3076
|
for (; a-- > 0; )
|
|
3023
3077
|
r = u + r;
|
|
3024
|
-
} else
|
|
3078
|
+
} else
|
|
3079
|
+
i === "J" ? r += "H" : r += i;
|
|
3025
3080
|
}
|
|
3026
3081
|
return r;
|
|
3027
3082
|
}
|
|
3028
|
-
function
|
|
3083
|
+
function Hi(e) {
|
|
3029
3084
|
var t = e.hourCycle;
|
|
3030
3085
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3031
3086
|
e.hourCycles && // @ts-ignore
|
|
@@ -3047,20 +3102,20 @@ function Bi(e) {
|
|
|
3047
3102
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3048
3103
|
return i[0];
|
|
3049
3104
|
}
|
|
3050
|
-
var
|
|
3105
|
+
var Ze, Pi = new RegExp("^".concat(Lr.source, "*")), Mi = new RegExp("".concat(Lr.source, "*$"));
|
|
3051
3106
|
function x(e, t) {
|
|
3052
3107
|
return { start: e, end: t };
|
|
3053
3108
|
}
|
|
3054
|
-
var
|
|
3109
|
+
var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ci = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, Gi = Di ? Number.isSafeInteger : function(e) {
|
|
3055
3110
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3056
|
-
},
|
|
3111
|
+
}, at = !0;
|
|
3057
3112
|
try {
|
|
3058
|
-
var
|
|
3059
|
-
|
|
3113
|
+
var $i = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3114
|
+
at = ((Ze = $i.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
|
|
3060
3115
|
} catch (e) {
|
|
3061
|
-
|
|
3116
|
+
at = !1;
|
|
3062
3117
|
}
|
|
3063
|
-
var
|
|
3118
|
+
var kt = Oi ? (
|
|
3064
3119
|
// Native
|
|
3065
3120
|
function(t, r, n) {
|
|
3066
3121
|
return t.startsWith(r, n);
|
|
@@ -3070,7 +3125,7 @@ var Dt = Pi ? (
|
|
|
3070
3125
|
function(t, r, n) {
|
|
3071
3126
|
return t.slice(n, n + r.length) === r;
|
|
3072
3127
|
}
|
|
3073
|
-
),
|
|
3128
|
+
), st = Li ? String.fromCodePoint : (
|
|
3074
3129
|
// IE11
|
|
3075
3130
|
function() {
|
|
3076
3131
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3082,9 +3137,9 @@ var Dt = Pi ? (
|
|
|
3082
3137
|
}
|
|
3083
3138
|
return n;
|
|
3084
3139
|
}
|
|
3085
|
-
),
|
|
3140
|
+
), jt = (
|
|
3086
3141
|
// native
|
|
3087
|
-
|
|
3142
|
+
Ci ? Object.fromEntries : (
|
|
3088
3143
|
// Ponyfill
|
|
3089
3144
|
function(t) {
|
|
3090
3145
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3094,7 +3149,7 @@ var Dt = Pi ? (
|
|
|
3094
3149
|
return r;
|
|
3095
3150
|
}
|
|
3096
3151
|
)
|
|
3097
|
-
),
|
|
3152
|
+
), Ur = Fi ? (
|
|
3098
3153
|
// Native
|
|
3099
3154
|
function(t, r) {
|
|
3100
3155
|
return t.codePointAt(r);
|
|
@@ -3108,7 +3163,7 @@ var Dt = Pi ? (
|
|
|
3108
3163
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3109
3164
|
}
|
|
3110
3165
|
}
|
|
3111
|
-
),
|
|
3166
|
+
), ki = Ri ? (
|
|
3112
3167
|
// Native
|
|
3113
3168
|
function(t) {
|
|
3114
3169
|
return t.trimStart();
|
|
@@ -3116,9 +3171,9 @@ var Dt = Pi ? (
|
|
|
3116
3171
|
) : (
|
|
3117
3172
|
// Ponyfill
|
|
3118
3173
|
function(t) {
|
|
3119
|
-
return t.replace(
|
|
3174
|
+
return t.replace(Pi, "");
|
|
3120
3175
|
}
|
|
3121
|
-
),
|
|
3176
|
+
), ji = Ui ? (
|
|
3122
3177
|
// Native
|
|
3123
3178
|
function(t) {
|
|
3124
3179
|
return t.trimEnd();
|
|
@@ -3126,32 +3181,32 @@ var Dt = Pi ? (
|
|
|
3126
3181
|
) : (
|
|
3127
3182
|
// Ponyfill
|
|
3128
3183
|
function(t) {
|
|
3129
|
-
return t.replace(
|
|
3184
|
+
return t.replace(Mi, "");
|
|
3130
3185
|
}
|
|
3131
3186
|
);
|
|
3132
|
-
function
|
|
3187
|
+
function Dr(e, t) {
|
|
3133
3188
|
return new RegExp(e, t);
|
|
3134
3189
|
}
|
|
3135
|
-
var
|
|
3136
|
-
if (
|
|
3137
|
-
var
|
|
3138
|
-
|
|
3190
|
+
var lt;
|
|
3191
|
+
if (at) {
|
|
3192
|
+
var Wt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3193
|
+
lt = function(t, r) {
|
|
3139
3194
|
var n;
|
|
3140
|
-
|
|
3141
|
-
var i =
|
|
3195
|
+
Wt.lastIndex = r;
|
|
3196
|
+
var i = Wt.exec(t);
|
|
3142
3197
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3143
3198
|
};
|
|
3144
3199
|
} else
|
|
3145
|
-
|
|
3200
|
+
lt = function(t, r) {
|
|
3146
3201
|
for (var n = []; ; ) {
|
|
3147
|
-
var i =
|
|
3148
|
-
if (i === void 0 ||
|
|
3202
|
+
var i = Ur(t, r);
|
|
3203
|
+
if (i === void 0 || Gr(i) || zi(i))
|
|
3149
3204
|
break;
|
|
3150
3205
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3151
3206
|
}
|
|
3152
|
-
return
|
|
3207
|
+
return st.apply(void 0, n);
|
|
3153
3208
|
};
|
|
3154
|
-
var
|
|
3209
|
+
var Wi = (
|
|
3155
3210
|
/** @class */
|
|
3156
3211
|
function() {
|
|
3157
3212
|
function e(t, r) {
|
|
@@ -3182,7 +3237,7 @@ var $i = (
|
|
|
3182
3237
|
if (n)
|
|
3183
3238
|
break;
|
|
3184
3239
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3185
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3240
|
+
} else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
|
|
3186
3241
|
var a = this.parseTag(t, r);
|
|
3187
3242
|
if (a.err)
|
|
3188
3243
|
return a;
|
|
@@ -3215,7 +3270,7 @@ var $i = (
|
|
|
3215
3270
|
return o;
|
|
3216
3271
|
var a = o.val, s = this.clonePosition();
|
|
3217
3272
|
if (this.bumpIf("</")) {
|
|
3218
|
-
if (this.isEOF() || !
|
|
3273
|
+
if (this.isEOF() || !ut(this.char()))
|
|
3219
3274
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3220
3275
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3221
3276
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3233,7 +3288,7 @@ var $i = (
|
|
|
3233
3288
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3234
3289
|
}, e.prototype.parseTagName = function() {
|
|
3235
3290
|
var t = this.offset();
|
|
3236
|
-
for (this.bump(); !this.isEOF() &&
|
|
3291
|
+
for (this.bump(); !this.isEOF() && Xi(this.char()); )
|
|
3237
3292
|
this.bump();
|
|
3238
3293
|
return this.message.slice(t, this.offset());
|
|
3239
3294
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3262,7 +3317,7 @@ var $i = (
|
|
|
3262
3317
|
};
|
|
3263
3318
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3264
3319
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3265
|
-
!
|
|
3320
|
+
!Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3266
3321
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3267
3322
|
if (this.isEOF() || this.char() !== 39)
|
|
3268
3323
|
return null;
|
|
@@ -3296,12 +3351,12 @@ var $i = (
|
|
|
3296
3351
|
r.push(n);
|
|
3297
3352
|
this.bump();
|
|
3298
3353
|
}
|
|
3299
|
-
return
|
|
3354
|
+
return st.apply(void 0, r);
|
|
3300
3355
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3301
3356
|
if (this.isEOF())
|
|
3302
3357
|
return null;
|
|
3303
3358
|
var n = this.char();
|
|
3304
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3359
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
|
|
3305
3360
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3306
3361
|
var n = this.clonePosition();
|
|
3307
3362
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3330,7 +3385,7 @@ var $i = (
|
|
|
3330
3385
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3331
3386
|
}
|
|
3332
3387
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3333
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3388
|
+
var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
|
|
3334
3389
|
this.bumpTo(i);
|
|
3335
3390
|
var o = this.clonePosition(), a = x(t, o);
|
|
3336
3391
|
return { value: n, location: a };
|
|
@@ -3349,7 +3404,7 @@ var $i = (
|
|
|
3349
3404
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3350
3405
|
if (d.err)
|
|
3351
3406
|
return d;
|
|
3352
|
-
var f =
|
|
3407
|
+
var f = ji(d.val);
|
|
3353
3408
|
if (f.length === 0)
|
|
3354
3409
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3355
3410
|
var p = x(h, this.clonePosition());
|
|
@@ -3359,8 +3414,8 @@ var $i = (
|
|
|
3359
3414
|
if (g.err)
|
|
3360
3415
|
return g;
|
|
3361
3416
|
var v = x(i, this.clonePosition());
|
|
3362
|
-
if (u &&
|
|
3363
|
-
var A =
|
|
3417
|
+
if (u && kt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3418
|
+
var A = ki(u.style.slice(2));
|
|
3364
3419
|
if (s === "number") {
|
|
3365
3420
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3366
3421
|
return d.err ? d : {
|
|
@@ -3371,12 +3426,12 @@ var $i = (
|
|
|
3371
3426
|
if (A.length === 0)
|
|
3372
3427
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3373
3428
|
var S = A;
|
|
3374
|
-
this.locale && (S =
|
|
3429
|
+
this.locale && (S = Ti(A, this.locale));
|
|
3375
3430
|
var f = {
|
|
3376
3431
|
type: ie.dateTime,
|
|
3377
3432
|
pattern: S,
|
|
3378
3433
|
location: u.styleLocation,
|
|
3379
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3434
|
+
parsedOptions: this.shouldParseSkeletons ? wi(S) : {}
|
|
3380
3435
|
}, b = s === "date" ? I.date : I.time;
|
|
3381
3436
|
return {
|
|
3382
3437
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3401,7 +3456,7 @@ var $i = (
|
|
|
3401
3456
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3402
3457
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3403
3458
|
this.bumpSpace();
|
|
3404
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3459
|
+
var E = this.parseIdentifierIfPossible(), H = 0;
|
|
3405
3460
|
if (s !== "select" && E.value === "offset") {
|
|
3406
3461
|
if (!this.bumpIf(":"))
|
|
3407
3462
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3409,7 +3464,7 @@ var $i = (
|
|
|
3409
3464
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3410
3465
|
if (d.err)
|
|
3411
3466
|
return d;
|
|
3412
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3467
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), H = d.val;
|
|
3413
3468
|
}
|
|
3414
3469
|
var z = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3415
3470
|
if (z.err)
|
|
@@ -3422,7 +3477,7 @@ var $i = (
|
|
|
3422
3477
|
val: {
|
|
3423
3478
|
type: I.select,
|
|
3424
3479
|
value: n,
|
|
3425
|
-
options:
|
|
3480
|
+
options: jt(z.val),
|
|
3426
3481
|
location: Y
|
|
3427
3482
|
},
|
|
3428
3483
|
err: null
|
|
@@ -3430,8 +3485,8 @@ var $i = (
|
|
|
3430
3485
|
val: {
|
|
3431
3486
|
type: I.plural,
|
|
3432
3487
|
value: n,
|
|
3433
|
-
options:
|
|
3434
|
-
offset:
|
|
3488
|
+
options: jt(z.val),
|
|
3489
|
+
offset: H,
|
|
3435
3490
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3436
3491
|
location: Y
|
|
3437
3492
|
},
|
|
@@ -3481,7 +3536,7 @@ var $i = (
|
|
|
3481
3536
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3482
3537
|
var n = [];
|
|
3483
3538
|
try {
|
|
3484
|
-
n =
|
|
3539
|
+
n = Ni(t);
|
|
3485
3540
|
} catch (i) {
|
|
3486
3541
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3487
3542
|
}
|
|
@@ -3490,7 +3545,7 @@ var $i = (
|
|
|
3490
3545
|
type: ie.number,
|
|
3491
3546
|
tokens: n,
|
|
3492
3547
|
location: r,
|
|
3493
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3548
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
|
|
3494
3549
|
},
|
|
3495
3550
|
err: null
|
|
3496
3551
|
};
|
|
@@ -3538,7 +3593,7 @@ var $i = (
|
|
|
3538
3593
|
break;
|
|
3539
3594
|
}
|
|
3540
3595
|
var l = x(i, this.clonePosition());
|
|
3541
|
-
return o ? (a *= n,
|
|
3596
|
+
return o ? (a *= n, Gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3542
3597
|
}, e.prototype.offset = function() {
|
|
3543
3598
|
return this.position.offset;
|
|
3544
3599
|
}, e.prototype.isEOF = function() {
|
|
@@ -3553,7 +3608,7 @@ var $i = (
|
|
|
3553
3608
|
var t = this.position.offset;
|
|
3554
3609
|
if (t >= this.message.length)
|
|
3555
3610
|
throw Error("out of bound");
|
|
3556
|
-
var r =
|
|
3611
|
+
var r = Ur(this.message, t);
|
|
3557
3612
|
if (r === void 0)
|
|
3558
3613
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3559
3614
|
return r;
|
|
@@ -3572,7 +3627,7 @@ var $i = (
|
|
|
3572
3627
|
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);
|
|
3573
3628
|
}
|
|
3574
3629
|
}, e.prototype.bumpIf = function(t) {
|
|
3575
|
-
if (
|
|
3630
|
+
if (kt(this.message, t, this.offset())) {
|
|
3576
3631
|
for (var r = 0; r < t.length; r++)
|
|
3577
3632
|
this.bump();
|
|
3578
3633
|
return !0;
|
|
@@ -3594,7 +3649,7 @@ var $i = (
|
|
|
3594
3649
|
break;
|
|
3595
3650
|
}
|
|
3596
3651
|
}, e.prototype.bumpSpace = function() {
|
|
3597
|
-
for (; !this.isEOF() &&
|
|
3652
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3598
3653
|
this.bump();
|
|
3599
3654
|
}, e.prototype.peek = function() {
|
|
3600
3655
|
if (this.isEOF())
|
|
@@ -3604,37 +3659,38 @@ var $i = (
|
|
|
3604
3659
|
}, e;
|
|
3605
3660
|
}()
|
|
3606
3661
|
);
|
|
3607
|
-
function
|
|
3662
|
+
function ut(e) {
|
|
3608
3663
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3609
3664
|
}
|
|
3610
|
-
function
|
|
3611
|
-
return
|
|
3665
|
+
function Vi(e) {
|
|
3666
|
+
return ut(e) || e === 47;
|
|
3612
3667
|
}
|
|
3613
|
-
function
|
|
3668
|
+
function Xi(e) {
|
|
3614
3669
|
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;
|
|
3615
3670
|
}
|
|
3616
|
-
function
|
|
3671
|
+
function Gr(e) {
|
|
3617
3672
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3618
3673
|
}
|
|
3619
|
-
function
|
|
3674
|
+
function zi(e) {
|
|
3620
3675
|
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;
|
|
3621
3676
|
}
|
|
3622
|
-
function
|
|
3677
|
+
function ht(e) {
|
|
3623
3678
|
e.forEach(function(t) {
|
|
3624
|
-
if (delete t.location,
|
|
3679
|
+
if (delete t.location, Hr(t) || Pr(t))
|
|
3625
3680
|
for (var r in t.options)
|
|
3626
|
-
delete t.options[r].location,
|
|
3627
|
-
else
|
|
3681
|
+
delete t.options[r].location, ht(t.options[r].value);
|
|
3682
|
+
else
|
|
3683
|
+
Br(t) && Or(t.style) || (Ar(t) || Tr(t)) && ot(t.style) ? delete t.style.location : Mr(t) && ht(t.children);
|
|
3628
3684
|
});
|
|
3629
3685
|
}
|
|
3630
|
-
function
|
|
3686
|
+
function Zi(e, t) {
|
|
3631
3687
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3632
|
-
var r = new
|
|
3688
|
+
var r = new Wi(e, t).parse();
|
|
3633
3689
|
if (r.err) {
|
|
3634
3690
|
var n = SyntaxError(_[r.err.kind]);
|
|
3635
3691
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3636
3692
|
}
|
|
3637
|
-
return t != null && t.captureLocation ||
|
|
3693
|
+
return t != null && t.captureLocation || ht(r.val), r.val;
|
|
3638
3694
|
}
|
|
3639
3695
|
var oe;
|
|
3640
3696
|
(function(e) {
|
|
@@ -3652,7 +3708,7 @@ var Ce = (
|
|
|
3652
3708
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3653
3709
|
}, t;
|
|
3654
3710
|
}(Error)
|
|
3655
|
-
),
|
|
3711
|
+
), Vt = (
|
|
3656
3712
|
/** @class */
|
|
3657
3713
|
function(e) {
|
|
3658
3714
|
j(t, e);
|
|
@@ -3661,7 +3717,7 @@ var Ce = (
|
|
|
3661
3717
|
}
|
|
3662
3718
|
return t;
|
|
3663
3719
|
}(Ce)
|
|
3664
|
-
),
|
|
3720
|
+
), Qi = (
|
|
3665
3721
|
/** @class */
|
|
3666
3722
|
function(e) {
|
|
3667
3723
|
j(t, e);
|
|
@@ -3670,7 +3726,7 @@ var Ce = (
|
|
|
3670
3726
|
}
|
|
3671
3727
|
return t;
|
|
3672
3728
|
}(Ce)
|
|
3673
|
-
),
|
|
3729
|
+
), Yi = (
|
|
3674
3730
|
/** @class */
|
|
3675
3731
|
function(e) {
|
|
3676
3732
|
j(t, e);
|
|
@@ -3683,17 +3739,17 @@ var Ce = (
|
|
|
3683
3739
|
(function(e) {
|
|
3684
3740
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3685
3741
|
})(O || (O = {}));
|
|
3686
|
-
function
|
|
3742
|
+
function Ji(e) {
|
|
3687
3743
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3688
3744
|
var n = t[t.length - 1];
|
|
3689
3745
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3690
3746
|
}, []);
|
|
3691
3747
|
}
|
|
3692
|
-
function
|
|
3748
|
+
function qi(e) {
|
|
3693
3749
|
return typeof e == "function";
|
|
3694
3750
|
}
|
|
3695
3751
|
function Be(e, t, r, n, i, o, a) {
|
|
3696
|
-
if (e.length === 1 &&
|
|
3752
|
+
if (e.length === 1 && Ut(e[0]))
|
|
3697
3753
|
return [
|
|
3698
3754
|
{
|
|
3699
3755
|
type: O.literal,
|
|
@@ -3702,14 +3758,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3702
3758
|
];
|
|
3703
3759
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3704
3760
|
var h = u[l];
|
|
3705
|
-
if (
|
|
3761
|
+
if (Ut(h)) {
|
|
3706
3762
|
s.push({
|
|
3707
3763
|
type: O.literal,
|
|
3708
3764
|
value: h.value
|
|
3709
3765
|
});
|
|
3710
3766
|
continue;
|
|
3711
3767
|
}
|
|
3712
|
-
if (
|
|
3768
|
+
if (_i(h)) {
|
|
3713
3769
|
typeof o == "number" && s.push({
|
|
3714
3770
|
type: O.literal,
|
|
3715
3771
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3718,61 +3774,61 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3718
3774
|
}
|
|
3719
3775
|
var d = h.value;
|
|
3720
3776
|
if (!(i && d in i))
|
|
3721
|
-
throw new
|
|
3777
|
+
throw new Yi(d, a);
|
|
3722
3778
|
var f = i[d];
|
|
3723
|
-
if (
|
|
3779
|
+
if (yi(h)) {
|
|
3724
3780
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3725
3781
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3726
3782
|
value: f
|
|
3727
3783
|
});
|
|
3728
3784
|
continue;
|
|
3729
3785
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3786
|
+
if (Ar(h)) {
|
|
3787
|
+
var p = typeof h.style == "string" ? n.date[h.style] : ot(h.style) ? h.style.parsedOptions : void 0;
|
|
3732
3788
|
s.push({
|
|
3733
3789
|
type: O.literal,
|
|
3734
3790
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3735
3791
|
});
|
|
3736
3792
|
continue;
|
|
3737
3793
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3794
|
+
if (Tr(h)) {
|
|
3795
|
+
var p = typeof h.style == "string" ? n.time[h.style] : ot(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3740
3796
|
s.push({
|
|
3741
3797
|
type: O.literal,
|
|
3742
3798
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3743
3799
|
});
|
|
3744
3800
|
continue;
|
|
3745
3801
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3802
|
+
if (Br(h)) {
|
|
3803
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Or(h.style) ? h.style.parsedOptions : void 0;
|
|
3748
3804
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3749
3805
|
type: O.literal,
|
|
3750
3806
|
value: r.getNumberFormat(t, p).format(f)
|
|
3751
3807
|
});
|
|
3752
3808
|
continue;
|
|
3753
3809
|
}
|
|
3754
|
-
if (
|
|
3810
|
+
if (Mr(h)) {
|
|
3755
3811
|
var g = h.children, v = h.value, A = i[v];
|
|
3756
|
-
if (!
|
|
3757
|
-
throw new
|
|
3758
|
-
var S = Be(g, t, r, n, i, o), b = A(S.map(function(
|
|
3759
|
-
return
|
|
3812
|
+
if (!qi(A))
|
|
3813
|
+
throw new Qi(v, "function", a);
|
|
3814
|
+
var S = Be(g, t, r, n, i, o), b = A(S.map(function(H) {
|
|
3815
|
+
return H.value;
|
|
3760
3816
|
}));
|
|
3761
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
3817
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(H) {
|
|
3762
3818
|
return {
|
|
3763
|
-
type: typeof
|
|
3764
|
-
value:
|
|
3819
|
+
type: typeof H == "string" ? O.literal : O.object,
|
|
3820
|
+
value: H
|
|
3765
3821
|
};
|
|
3766
3822
|
}));
|
|
3767
3823
|
}
|
|
3768
|
-
if (
|
|
3824
|
+
if (Hr(h)) {
|
|
3769
3825
|
var N = h.options[f] || h.options.other;
|
|
3770
3826
|
if (!N)
|
|
3771
|
-
throw new
|
|
3827
|
+
throw new Vt(h.value, f, Object.keys(h.options), a);
|
|
3772
3828
|
s.push.apply(s, Be(N.value, t, r, n, i));
|
|
3773
3829
|
continue;
|
|
3774
3830
|
}
|
|
3775
|
-
if (
|
|
3831
|
+
if (Pr(h)) {
|
|
3776
3832
|
var N = h.options["=".concat(f)];
|
|
3777
3833
|
if (!N) {
|
|
3778
3834
|
if (!Intl.PluralRules)
|
|
@@ -3783,24 +3839,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3783
3839
|
N = h.options[E] || h.options.other;
|
|
3784
3840
|
}
|
|
3785
3841
|
if (!N)
|
|
3786
|
-
throw new
|
|
3842
|
+
throw new Vt(h.value, f, Object.keys(h.options), a);
|
|
3787
3843
|
s.push.apply(s, Be(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3788
3844
|
continue;
|
|
3789
3845
|
}
|
|
3790
3846
|
}
|
|
3791
|
-
return
|
|
3847
|
+
return Ji(s);
|
|
3792
3848
|
}
|
|
3793
|
-
function
|
|
3849
|
+
function Ki(e, t) {
|
|
3794
3850
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3795
3851
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3796
3852
|
}, {})) : e;
|
|
3797
3853
|
}
|
|
3798
|
-
function
|
|
3854
|
+
function eo(e, t) {
|
|
3799
3855
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3800
|
-
return r[n] =
|
|
3856
|
+
return r[n] = Ki(e[n], t[n]), r;
|
|
3801
3857
|
}, w({}, e)) : e;
|
|
3802
3858
|
}
|
|
3803
|
-
function
|
|
3859
|
+
function Qe(e) {
|
|
3804
3860
|
return {
|
|
3805
3861
|
create: function() {
|
|
3806
3862
|
return {
|
|
@@ -3814,39 +3870,39 @@ function Ze(e) {
|
|
|
3814
3870
|
}
|
|
3815
3871
|
};
|
|
3816
3872
|
}
|
|
3817
|
-
function
|
|
3873
|
+
function to(e) {
|
|
3818
3874
|
return e === void 0 && (e = {
|
|
3819
3875
|
number: {},
|
|
3820
3876
|
dateTime: {},
|
|
3821
3877
|
pluralRules: {}
|
|
3822
3878
|
}), {
|
|
3823
|
-
getNumberFormat:
|
|
3879
|
+
getNumberFormat: Xe(function() {
|
|
3824
3880
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3825
3881
|
r[n] = arguments[n];
|
|
3826
3882
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3827
3883
|
}, {
|
|
3828
|
-
cache:
|
|
3829
|
-
strategy:
|
|
3884
|
+
cache: Qe(e.number),
|
|
3885
|
+
strategy: ze.variadic
|
|
3830
3886
|
}),
|
|
3831
|
-
getDateTimeFormat:
|
|
3887
|
+
getDateTimeFormat: Xe(function() {
|
|
3832
3888
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3889
|
r[n] = arguments[n];
|
|
3834
3890
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3835
3891
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3892
|
+
cache: Qe(e.dateTime),
|
|
3893
|
+
strategy: ze.variadic
|
|
3838
3894
|
}),
|
|
3839
|
-
getPluralRules:
|
|
3895
|
+
getPluralRules: Xe(function() {
|
|
3840
3896
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3897
|
r[n] = arguments[n];
|
|
3842
3898
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3843
3899
|
}, {
|
|
3844
|
-
cache:
|
|
3845
|
-
strategy:
|
|
3900
|
+
cache: Qe(e.pluralRules),
|
|
3901
|
+
strategy: ze.variadic
|
|
3846
3902
|
})
|
|
3847
3903
|
};
|
|
3848
3904
|
}
|
|
3849
|
-
var
|
|
3905
|
+
var ro = (
|
|
3850
3906
|
/** @class */
|
|
3851
3907
|
function() {
|
|
3852
3908
|
function e(t, r, n, i) {
|
|
@@ -3878,13 +3934,13 @@ var Ki = (
|
|
|
3878
3934
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3879
3935
|
var a = i || {};
|
|
3880
3936
|
a.formatters;
|
|
3881
|
-
var s =
|
|
3937
|
+
var s = Cn(a, ["formatters"]);
|
|
3882
3938
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3883
3939
|
} else
|
|
3884
3940
|
this.ast = t;
|
|
3885
3941
|
if (!Array.isArray(this.ast))
|
|
3886
3942
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3887
|
-
this.formats =
|
|
3943
|
+
this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
|
|
3888
3944
|
}
|
|
3889
3945
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3890
3946
|
get: function() {
|
|
@@ -3897,7 +3953,7 @@ var Ki = (
|
|
|
3897
3953
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3898
3954
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3899
3955
|
}
|
|
3900
|
-
}, e.__parse =
|
|
3956
|
+
}, e.__parse = Zi, e.formats = {
|
|
3901
3957
|
number: {
|
|
3902
3958
|
integer: {
|
|
3903
3959
|
maximumFractionDigits: 0
|
|
@@ -3958,7 +4014,7 @@ var Ki = (
|
|
|
3958
4014
|
}, e;
|
|
3959
4015
|
}()
|
|
3960
4016
|
);
|
|
3961
|
-
function
|
|
4017
|
+
function no(e, t) {
|
|
3962
4018
|
if (t == null)
|
|
3963
4019
|
return;
|
|
3964
4020
|
if (t in e)
|
|
@@ -3979,92 +4035,92 @@ function eo(e, t) {
|
|
|
3979
4035
|
n = void 0;
|
|
3980
4036
|
return n;
|
|
3981
4037
|
}
|
|
3982
|
-
const V = {},
|
|
4038
|
+
const V = {}, io = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), $r = (e, t) => {
|
|
3983
4039
|
if (t == null)
|
|
3984
4040
|
return;
|
|
3985
4041
|
if (t in V && e in V[t])
|
|
3986
4042
|
return V[t][e];
|
|
3987
4043
|
const r = Fe(t);
|
|
3988
4044
|
for (let n = 0; n < r.length; n++) {
|
|
3989
|
-
const i = r[n], o =
|
|
4045
|
+
const i = r[n], o = ao(i, e);
|
|
3990
4046
|
if (o)
|
|
3991
|
-
return
|
|
4047
|
+
return io(e, t, o);
|
|
3992
4048
|
}
|
|
3993
4049
|
};
|
|
3994
|
-
let
|
|
4050
|
+
let vt;
|
|
3995
4051
|
const ye = Le({});
|
|
3996
|
-
function
|
|
3997
|
-
return
|
|
4052
|
+
function oo(e) {
|
|
4053
|
+
return vt[e] || null;
|
|
3998
4054
|
}
|
|
3999
|
-
function
|
|
4000
|
-
return e in
|
|
4055
|
+
function kr(e) {
|
|
4056
|
+
return e in vt;
|
|
4001
4057
|
}
|
|
4002
|
-
function
|
|
4003
|
-
if (!
|
|
4058
|
+
function ao(e, t) {
|
|
4059
|
+
if (!kr(e))
|
|
4004
4060
|
return null;
|
|
4005
|
-
const r =
|
|
4006
|
-
return
|
|
4061
|
+
const r = oo(e);
|
|
4062
|
+
return no(r, t);
|
|
4007
4063
|
}
|
|
4008
|
-
function
|
|
4064
|
+
function so(e) {
|
|
4009
4065
|
if (e == null)
|
|
4010
4066
|
return;
|
|
4011
4067
|
const t = Fe(e);
|
|
4012
4068
|
for (let r = 0; r < t.length; r++) {
|
|
4013
4069
|
const n = t[r];
|
|
4014
|
-
if (
|
|
4070
|
+
if (kr(n))
|
|
4015
4071
|
return n;
|
|
4016
4072
|
}
|
|
4017
4073
|
}
|
|
4018
|
-
function
|
|
4019
|
-
delete V[e], ye.update((r) => (r[e] =
|
|
4074
|
+
function jr(e, ...t) {
|
|
4075
|
+
delete V[e], ye.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
|
|
4020
4076
|
}
|
|
4021
4077
|
le(
|
|
4022
4078
|
[ye],
|
|
4023
4079
|
([e]) => Object.keys(e)
|
|
4024
4080
|
);
|
|
4025
|
-
ye.subscribe((e) =>
|
|
4081
|
+
ye.subscribe((e) => vt = e);
|
|
4026
4082
|
const Ae = {};
|
|
4027
|
-
function
|
|
4083
|
+
function lo(e, t) {
|
|
4028
4084
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4029
4085
|
}
|
|
4030
|
-
function
|
|
4086
|
+
function Wr(e) {
|
|
4031
4087
|
return Ae[e];
|
|
4032
4088
|
}
|
|
4033
|
-
function
|
|
4089
|
+
function uo(e) {
|
|
4034
4090
|
return Fe(e).map((t) => {
|
|
4035
|
-
const r =
|
|
4091
|
+
const r = Wr(t);
|
|
4036
4092
|
return [t, r ? [...r] : []];
|
|
4037
4093
|
}).filter(([, t]) => t.length > 0);
|
|
4038
4094
|
}
|
|
4039
|
-
function
|
|
4095
|
+
function ct(e) {
|
|
4040
4096
|
return e == null ? !1 : Fe(e).some(
|
|
4041
4097
|
(t) => {
|
|
4042
4098
|
var r;
|
|
4043
|
-
return (r =
|
|
4099
|
+
return (r = Wr(t)) == null ? void 0 : r.size;
|
|
4044
4100
|
}
|
|
4045
4101
|
);
|
|
4046
4102
|
}
|
|
4047
|
-
function
|
|
4103
|
+
function ho(e, t) {
|
|
4048
4104
|
return Promise.all(
|
|
4049
|
-
t.map((n) => (
|
|
4050
|
-
).then((n) =>
|
|
4105
|
+
t.map((n) => (lo(e, n), n().then((i) => i.default || i)))
|
|
4106
|
+
).then((n) => jr(e, ...n));
|
|
4051
4107
|
}
|
|
4052
4108
|
const fe = {};
|
|
4053
|
-
function
|
|
4054
|
-
if (!
|
|
4109
|
+
function Vr(e) {
|
|
4110
|
+
if (!ct(e))
|
|
4055
4111
|
return e in fe ? fe[e] : Promise.resolve();
|
|
4056
|
-
const t =
|
|
4112
|
+
const t = uo(e);
|
|
4057
4113
|
return fe[e] = Promise.all(
|
|
4058
4114
|
t.map(
|
|
4059
|
-
([r, n]) =>
|
|
4115
|
+
([r, n]) => ho(r, n)
|
|
4060
4116
|
)
|
|
4061
4117
|
).then(() => {
|
|
4062
|
-
if (
|
|
4063
|
-
return
|
|
4118
|
+
if (ct(e))
|
|
4119
|
+
return Vr(e);
|
|
4064
4120
|
delete fe[e];
|
|
4065
4121
|
}), fe[e];
|
|
4066
4122
|
}
|
|
4067
|
-
const
|
|
4123
|
+
const co = {
|
|
4068
4124
|
number: {
|
|
4069
4125
|
scientific: { notation: "scientific" },
|
|
4070
4126
|
engineering: { notation: "engineering" },
|
|
@@ -4093,57 +4149,57 @@ const lo = {
|
|
|
4093
4149
|
timeZoneName: "short"
|
|
4094
4150
|
}
|
|
4095
4151
|
}
|
|
4096
|
-
},
|
|
4152
|
+
}, fo = {
|
|
4097
4153
|
fallbackLocale: null,
|
|
4098
4154
|
loadingDelay: 200,
|
|
4099
|
-
formats:
|
|
4155
|
+
formats: co,
|
|
4100
4156
|
warnOnMissingMessages: !0,
|
|
4101
4157
|
handleMissingMessage: void 0,
|
|
4102
4158
|
ignoreTag: !0
|
|
4103
|
-
},
|
|
4159
|
+
}, mo = fo;
|
|
4104
4160
|
function ae() {
|
|
4105
|
-
return
|
|
4161
|
+
return mo;
|
|
4106
4162
|
}
|
|
4107
|
-
const
|
|
4108
|
-
var
|
|
4163
|
+
const Ye = Le(!1);
|
|
4164
|
+
var po = Object.defineProperty, go = Object.defineProperties, vo = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, bo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _o = (e, t) => {
|
|
4109
4165
|
for (var r in t || (t = {}))
|
|
4110
|
-
|
|
4111
|
-
if (
|
|
4112
|
-
for (var r of
|
|
4113
|
-
|
|
4166
|
+
bo.call(t, r) && zt(e, r, t[r]);
|
|
4167
|
+
if (Xt)
|
|
4168
|
+
for (var r of Xt(t))
|
|
4169
|
+
yo.call(t, r) && zt(e, r, t[r]);
|
|
4114
4170
|
return e;
|
|
4115
|
-
},
|
|
4116
|
-
let
|
|
4117
|
-
const
|
|
4118
|
-
function
|
|
4171
|
+
}, xo = (e, t) => go(e, vo(t));
|
|
4172
|
+
let ft;
|
|
4173
|
+
const He = Le(null);
|
|
4174
|
+
function Zt(e) {
|
|
4119
4175
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4120
4176
|
}
|
|
4121
4177
|
function Fe(e, t = ae().fallbackLocale) {
|
|
4122
|
-
const r =
|
|
4123
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4178
|
+
const r = Zt(e);
|
|
4179
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
|
|
4124
4180
|
}
|
|
4125
4181
|
function Q() {
|
|
4126
|
-
return
|
|
4182
|
+
return ft != null ? ft : void 0;
|
|
4127
4183
|
}
|
|
4128
|
-
|
|
4129
|
-
|
|
4184
|
+
He.subscribe((e) => {
|
|
4185
|
+
ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4130
4186
|
});
|
|
4131
|
-
const
|
|
4132
|
-
if (e &&
|
|
4187
|
+
const wo = (e) => {
|
|
4188
|
+
if (e && so(e) && ct(e)) {
|
|
4133
4189
|
const { loadingDelay: t } = ae();
|
|
4134
4190
|
let r;
|
|
4135
4191
|
return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
|
|
4136
|
-
() =>
|
|
4192
|
+
() => Ye.set(!0),
|
|
4137
4193
|
t
|
|
4138
|
-
) :
|
|
4139
|
-
|
|
4194
|
+
) : Ye.set(!0), Vr(e).then(() => {
|
|
4195
|
+
He.set(e);
|
|
4140
4196
|
}).finally(() => {
|
|
4141
|
-
clearTimeout(r),
|
|
4197
|
+
clearTimeout(r), Ye.set(!1);
|
|
4142
4198
|
});
|
|
4143
4199
|
}
|
|
4144
|
-
return
|
|
4145
|
-
}, ue =
|
|
4146
|
-
set:
|
|
4200
|
+
return He.set(e);
|
|
4201
|
+
}, ue = xo(_o({}, He), {
|
|
4202
|
+
set: wo
|
|
4147
4203
|
}), Re = (e) => {
|
|
4148
4204
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4149
4205
|
return (n) => {
|
|
@@ -4151,20 +4207,20 @@ const yo = (e) => {
|
|
|
4151
4207
|
return i in t ? t[i] : t[i] = e(n);
|
|
4152
4208
|
};
|
|
4153
4209
|
};
|
|
4154
|
-
var
|
|
4210
|
+
var Eo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
|
4155
4211
|
for (var r in t || (t = {}))
|
|
4156
|
-
|
|
4157
|
-
if (
|
|
4158
|
-
for (var r of
|
|
4159
|
-
|
|
4212
|
+
Xr.call(t, r) && Qt(e, r, t[r]);
|
|
4213
|
+
if (Pe)
|
|
4214
|
+
for (var r of Pe(t))
|
|
4215
|
+
zr.call(t, r) && Qt(e, r, t[r]);
|
|
4160
4216
|
return e;
|
|
4161
4217
|
}, he = (e, t) => {
|
|
4162
4218
|
var r = {};
|
|
4163
4219
|
for (var n in e)
|
|
4164
|
-
|
|
4165
|
-
if (e != null &&
|
|
4166
|
-
for (var n of
|
|
4167
|
-
t.indexOf(n) < 0 &&
|
|
4220
|
+
Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4221
|
+
if (e != null && Pe)
|
|
4222
|
+
for (var n of Pe(e))
|
|
4223
|
+
t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
|
|
4168
4224
|
return r;
|
|
4169
4225
|
};
|
|
4170
4226
|
const ve = (e, t) => {
|
|
@@ -4172,21 +4228,21 @@ const ve = (e, t) => {
|
|
|
4172
4228
|
if (e in r && t in r[e])
|
|
4173
4229
|
return r[e][t];
|
|
4174
4230
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4175
|
-
},
|
|
4231
|
+
}, No = Re(
|
|
4176
4232
|
(e) => {
|
|
4177
4233
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4178
4234
|
if (r == null)
|
|
4179
4235
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4180
4236
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
4181
4237
|
}
|
|
4182
|
-
),
|
|
4238
|
+
), So = Re(
|
|
4183
4239
|
(e) => {
|
|
4184
4240
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4185
4241
|
if (r == null)
|
|
4186
4242
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4187
4243
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4188
4244
|
}
|
|
4189
|
-
),
|
|
4245
|
+
), Io = Re(
|
|
4190
4246
|
(e) => {
|
|
4191
4247
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4192
4248
|
if (r == null)
|
|
@@ -4195,33 +4251,33 @@ const ve = (e, t) => {
|
|
|
4195
4251
|
);
|
|
4196
4252
|
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4197
4253
|
}
|
|
4198
|
-
),
|
|
4254
|
+
), Bo = (e = {}) => {
|
|
4199
4255
|
var t = e, {
|
|
4200
4256
|
locale: r = Q()
|
|
4201
4257
|
} = t, n = he(t, [
|
|
4202
4258
|
"locale"
|
|
4203
4259
|
]);
|
|
4204
|
-
return
|
|
4205
|
-
},
|
|
4260
|
+
return No(bt({ locale: r }, n));
|
|
4261
|
+
}, Ao = (e = {}) => {
|
|
4206
4262
|
var t = e, {
|
|
4207
4263
|
locale: r = Q()
|
|
4208
4264
|
} = t, n = he(t, [
|
|
4209
4265
|
"locale"
|
|
4210
4266
|
]);
|
|
4211
|
-
return
|
|
4212
|
-
},
|
|
4267
|
+
return So(bt({ locale: r }, n));
|
|
4268
|
+
}, To = (e = {}) => {
|
|
4213
4269
|
var t = e, {
|
|
4214
4270
|
locale: r = Q()
|
|
4215
4271
|
} = t, n = he(t, [
|
|
4216
4272
|
"locale"
|
|
4217
4273
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4274
|
+
return Io(bt({ locale: r }, n));
|
|
4275
|
+
}, Ho = Re(
|
|
4220
4276
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4221
|
-
(e, t = Q()) => new
|
|
4277
|
+
(e, t = Q()) => new ro(e, t, ae().formats, {
|
|
4222
4278
|
ignoreTag: ae().ignoreTag
|
|
4223
4279
|
})
|
|
4224
|
-
),
|
|
4280
|
+
), Po = (e, t = {}) => {
|
|
4225
4281
|
var r, n, i, o;
|
|
4226
4282
|
let a = t;
|
|
4227
4283
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4234,7 +4290,7 @@ const ve = (e, t) => {
|
|
|
4234
4290
|
throw new Error(
|
|
4235
4291
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4236
4292
|
);
|
|
4237
|
-
let h =
|
|
4293
|
+
let h = $r(e, l);
|
|
4238
4294
|
if (!h)
|
|
4239
4295
|
h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4240
4296
|
else if (typeof h != "string")
|
|
@@ -4245,7 +4301,7 @@ const ve = (e, t) => {
|
|
|
4245
4301
|
return h;
|
|
4246
4302
|
let d = h;
|
|
4247
4303
|
try {
|
|
4248
|
-
d =
|
|
4304
|
+
d = Ho(h, l).format(s);
|
|
4249
4305
|
} catch (f) {
|
|
4250
4306
|
f instanceof Error && console.warn(
|
|
4251
4307
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4253,20 +4309,20 @@ const ve = (e, t) => {
|
|
|
4253
4309
|
);
|
|
4254
4310
|
}
|
|
4255
4311
|
return d;
|
|
4256
|
-
},
|
|
4257
|
-
le([ue], () =>
|
|
4258
|
-
le([ue], () =>
|
|
4259
|
-
le([ue], () =>
|
|
4260
|
-
le([ue, ye], () =>
|
|
4261
|
-
window.emWidgets = { topic:
|
|
4262
|
-
const
|
|
4263
|
-
function
|
|
4264
|
-
|
|
4265
|
-
}
|
|
4266
|
-
function
|
|
4312
|
+
}, Mo = (e, t) => To(t).format(e), Oo = (e, t) => Ao(t).format(e), Lo = (e, t) => Bo(t).format(e), Co = (e, t = Q()) => $r(e, t), Fo = le([ue, ye], () => Po);
|
|
4313
|
+
le([ue], () => Mo);
|
|
4314
|
+
le([ue], () => Oo);
|
|
4315
|
+
le([ue], () => Lo);
|
|
4316
|
+
le([ue, ye], () => Co);
|
|
4317
|
+
window.emWidgets = { topic: Qn };
|
|
4318
|
+
const Yt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4319
|
+
function Jt(e, t) {
|
|
4320
|
+
jr(e, t);
|
|
4321
|
+
}
|
|
4322
|
+
function Ro(e) {
|
|
4267
4323
|
ue.set(e);
|
|
4268
4324
|
}
|
|
4269
|
-
const
|
|
4325
|
+
const qt = {
|
|
4270
4326
|
en: {
|
|
4271
4327
|
secondaryMenuTitle: "Categories"
|
|
4272
4328
|
},
|
|
@@ -4301,13 +4357,13 @@ const Qt = {
|
|
|
4301
4357
|
secondaryMenuTitle: "Categories"
|
|
4302
4358
|
}
|
|
4303
4359
|
};
|
|
4304
|
-
function
|
|
4360
|
+
function Uo(e, t) {
|
|
4305
4361
|
if (e) {
|
|
4306
4362
|
const r = document.createElement("style");
|
|
4307
4363
|
r.innerHTML = t, e.appendChild(r);
|
|
4308
4364
|
}
|
|
4309
4365
|
}
|
|
4310
|
-
function
|
|
4366
|
+
function Do(e, t) {
|
|
4311
4367
|
const r = new URL(t);
|
|
4312
4368
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4313
4369
|
const i = document.createElement("style");
|
|
@@ -4316,7 +4372,7 @@ function Fo(e, t) {
|
|
|
4316
4372
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4317
4373
|
});
|
|
4318
4374
|
}
|
|
4319
|
-
function
|
|
4375
|
+
function Go(e, t, r) {
|
|
4320
4376
|
if (window.emMessageBus) {
|
|
4321
4377
|
const n = document.createElement("style");
|
|
4322
4378
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4324,28 +4380,28 @@ function Ro(e, t, r) {
|
|
|
4324
4380
|
});
|
|
4325
4381
|
}
|
|
4326
4382
|
}
|
|
4327
|
-
function
|
|
4328
|
-
|
|
4383
|
+
function $o(e) {
|
|
4384
|
+
gn(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4329
4385
|
}
|
|
4330
|
-
function
|
|
4386
|
+
function Kt(e, t, r) {
|
|
4331
4387
|
const n = e.slice();
|
|
4332
4388
|
return n[44] = t[r], n[46] = r, n;
|
|
4333
4389
|
}
|
|
4334
|
-
function
|
|
4390
|
+
function er(e, t, r) {
|
|
4335
4391
|
const n = e.slice();
|
|
4336
4392
|
return n[44] = t[r], n;
|
|
4337
4393
|
}
|
|
4338
|
-
const
|
|
4339
|
-
function
|
|
4394
|
+
const ko = (e) => ({}), tr = (e) => ({});
|
|
4395
|
+
function rr(e) {
|
|
4340
4396
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4341
|
-
e[6] &&
|
|
4397
|
+
e[6] && nr(e), u = Te(
|
|
4342
4398
|
/*primaryMenuSpliced*/
|
|
4343
4399
|
e[7]
|
|
4344
4400
|
), h = [];
|
|
4345
4401
|
for (let f = 0; f < u.length; f += 1)
|
|
4346
|
-
h[f] =
|
|
4402
|
+
h[f] = sr(Kt(e, u, f));
|
|
4347
4403
|
let d = !/*navigationBarSimple*/
|
|
4348
|
-
e[6] &&
|
|
4404
|
+
e[6] && lr(e);
|
|
4349
4405
|
return {
|
|
4350
4406
|
c() {
|
|
4351
4407
|
t = B("div"), l && l.c(), r = k(), n = B("div");
|
|
@@ -4365,10 +4421,10 @@ function Kt(e) {
|
|
|
4365
4421
|
},
|
|
4366
4422
|
p(f, p) {
|
|
4367
4423
|
if (/*navigationBarSimple*/
|
|
4368
|
-
f[6] ? l && (
|
|
4424
|
+
f[6] ? l && (mr(), pe(l, 1, 1, () => {
|
|
4369
4425
|
l = null;
|
|
4370
|
-
}),
|
|
4371
|
-
64 && X(l, 1)) : (l =
|
|
4426
|
+
}), pr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4427
|
+
64 && X(l, 1)) : (l = nr(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4372
4428
|
32928) {
|
|
4373
4429
|
u = Te(
|
|
4374
4430
|
/*primaryMenuSpliced*/
|
|
@@ -4376,15 +4432,15 @@ function Kt(e) {
|
|
|
4376
4432
|
);
|
|
4377
4433
|
let g;
|
|
4378
4434
|
for (g = 0; g < u.length; g += 1) {
|
|
4379
|
-
const v =
|
|
4380
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4435
|
+
const v = Kt(f, u, g);
|
|
4436
|
+
h[g] ? h[g].p(v, p) : (h[g] = sr(v), h[g].c(), h[g].m(n, i));
|
|
4381
4437
|
}
|
|
4382
4438
|
for (; g < h.length; g += 1)
|
|
4383
4439
|
h[g].d(1);
|
|
4384
4440
|
h.length = u.length;
|
|
4385
4441
|
}
|
|
4386
4442
|
/*navigationBarSimple*/
|
|
4387
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4443
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = lr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4388
4444
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4389
4445
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4390
4446
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4399,11 +4455,11 @@ function Kt(e) {
|
|
|
4399
4455
|
pe(l), s = !1;
|
|
4400
4456
|
},
|
|
4401
4457
|
d(f) {
|
|
4402
|
-
f && L(t), l && l.d(),
|
|
4458
|
+
f && L(t), l && l.d(), dr(h, f), d && d.d();
|
|
4403
4459
|
}
|
|
4404
4460
|
};
|
|
4405
4461
|
}
|
|
4406
|
-
function
|
|
4462
|
+
function nr(e) {
|
|
4407
4463
|
let t, r, n, i, o = (
|
|
4408
4464
|
/*secondarymenutitle*/
|
|
4409
4465
|
(e[0] || /*$_*/
|
|
@@ -4412,19 +4468,19 @@ function er(e) {
|
|
|
4412
4468
|
const p = (
|
|
4413
4469
|
/*#slots*/
|
|
4414
4470
|
e[27].close
|
|
4415
|
-
), g =
|
|
4471
|
+
), g = fn(
|
|
4416
4472
|
p,
|
|
4417
4473
|
e,
|
|
4418
4474
|
/*$$scope*/
|
|
4419
4475
|
e[26],
|
|
4420
|
-
|
|
4421
|
-
), v = g ||
|
|
4476
|
+
tr
|
|
4477
|
+
), v = g || jo();
|
|
4422
4478
|
let A = Te(
|
|
4423
4479
|
/*secondaryMenu*/
|
|
4424
4480
|
e[8]
|
|
4425
4481
|
), S = [];
|
|
4426
4482
|
for (let b = 0; b < A.length; b += 1)
|
|
4427
|
-
S[b] =
|
|
4483
|
+
S[b] = or(er(e, A, b));
|
|
4428
4484
|
return {
|
|
4429
4485
|
c() {
|
|
4430
4486
|
t = B("div"), r = B("span"), v && v.c(), n = k(), i = B("h3"), a = be(o), s = k(), l = B("div");
|
|
@@ -4446,27 +4502,27 @@ function er(e) {
|
|
|
4446
4502
|
},
|
|
4447
4503
|
p(b, N) {
|
|
4448
4504
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4449
|
-
67108864) &&
|
|
4505
|
+
67108864) && mn(
|
|
4450
4506
|
g,
|
|
4451
4507
|
p,
|
|
4452
4508
|
b,
|
|
4453
4509
|
/*$$scope*/
|
|
4454
4510
|
b[26],
|
|
4455
|
-
h ?
|
|
4511
|
+
h ? dn(
|
|
4456
4512
|
p,
|
|
4457
4513
|
/*$$scope*/
|
|
4458
4514
|
b[26],
|
|
4459
4515
|
N,
|
|
4460
|
-
|
|
4461
|
-
) :
|
|
4516
|
+
ko
|
|
4517
|
+
) : pn(
|
|
4462
4518
|
/*$$scope*/
|
|
4463
4519
|
b[26]
|
|
4464
4520
|
),
|
|
4465
|
-
|
|
4521
|
+
tr
|
|
4466
4522
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4467
4523
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4468
4524
|
(b[0] || /*$_*/
|
|
4469
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4525
|
+
b[12]("secondaryMenuTitle")) + "") && mt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4470
4526
|
33056) {
|
|
4471
4527
|
A = Te(
|
|
4472
4528
|
/*secondaryMenu*/
|
|
@@ -4474,8 +4530,8 @@ function er(e) {
|
|
|
4474
4530
|
);
|
|
4475
4531
|
let E;
|
|
4476
4532
|
for (E = 0; E < A.length; E += 1) {
|
|
4477
|
-
const
|
|
4478
|
-
S[E] ? S[E].p(
|
|
4533
|
+
const H = er(b, A, E);
|
|
4534
|
+
S[E] ? S[E].p(H, N) : (S[E] = or(H), S[E].c(), S[E].m(l, null));
|
|
4479
4535
|
}
|
|
4480
4536
|
for (; E < S.length; E += 1)
|
|
4481
4537
|
S[E].d(1);
|
|
@@ -4492,11 +4548,11 @@ function er(e) {
|
|
|
4492
4548
|
pe(v, b), h = !1;
|
|
4493
4549
|
},
|
|
4494
4550
|
d(b) {
|
|
4495
|
-
b && L(t), v && v.d(b),
|
|
4551
|
+
b && L(t), v && v.d(b), dr(S, b), d = !1, f();
|
|
4496
4552
|
}
|
|
4497
4553
|
};
|
|
4498
4554
|
}
|
|
4499
|
-
function
|
|
4555
|
+
function jo(e) {
|
|
4500
4556
|
let t, r;
|
|
4501
4557
|
return {
|
|
4502
4558
|
c() {
|
|
@@ -4511,7 +4567,7 @@ function Go(e) {
|
|
|
4511
4567
|
}
|
|
4512
4568
|
};
|
|
4513
4569
|
}
|
|
4514
|
-
function
|
|
4570
|
+
function ir(e) {
|
|
4515
4571
|
let t, r, n, i;
|
|
4516
4572
|
return {
|
|
4517
4573
|
c() {
|
|
@@ -4534,13 +4590,13 @@ function tr(e) {
|
|
|
4534
4590
|
}
|
|
4535
4591
|
};
|
|
4536
4592
|
}
|
|
4537
|
-
function
|
|
4593
|
+
function or(e) {
|
|
4538
4594
|
let t, r, n, i = (
|
|
4539
4595
|
/*item*/
|
|
4540
4596
|
e[44].label + ""
|
|
4541
4597
|
), o, a, s, l, u, h = (
|
|
4542
4598
|
/*item*/
|
|
4543
|
-
e[44].img &&
|
|
4599
|
+
e[44].img && ir(e)
|
|
4544
4600
|
);
|
|
4545
4601
|
function d() {
|
|
4546
4602
|
return (
|
|
@@ -4562,9 +4618,9 @@ function rr(e) {
|
|
|
4562
4618
|
},
|
|
4563
4619
|
p(f, p) {
|
|
4564
4620
|
e = f, /*item*/
|
|
4565
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4621
|
+
e[44].img ? h ? h.p(e, p) : (h = ir(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4566
4622
|
256 && i !== (i = /*item*/
|
|
4567
|
-
e[44].label + "") &&
|
|
4623
|
+
e[44].label + "") && mt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4568
4624
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4569
4625
|
(e[5] === /*item*/
|
|
4570
4626
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4574,7 +4630,7 @@ function rr(e) {
|
|
|
4574
4630
|
}
|
|
4575
4631
|
};
|
|
4576
4632
|
}
|
|
4577
|
-
function
|
|
4633
|
+
function ar(e) {
|
|
4578
4634
|
let t, r, n, i;
|
|
4579
4635
|
return {
|
|
4580
4636
|
c() {
|
|
@@ -4597,13 +4653,13 @@ function nr(e) {
|
|
|
4597
4653
|
}
|
|
4598
4654
|
};
|
|
4599
4655
|
}
|
|
4600
|
-
function
|
|
4656
|
+
function sr(e) {
|
|
4601
4657
|
let t, r, n, i = (
|
|
4602
4658
|
/*item*/
|
|
4603
4659
|
e[44].label + ""
|
|
4604
4660
|
), o, a, s, l, u = (
|
|
4605
4661
|
/*item*/
|
|
4606
|
-
e[44].img &&
|
|
4662
|
+
e[44].img && ar(e)
|
|
4607
4663
|
);
|
|
4608
4664
|
function h() {
|
|
4609
4665
|
return (
|
|
@@ -4626,9 +4682,9 @@ function ir(e) {
|
|
|
4626
4682
|
},
|
|
4627
4683
|
p(d, f) {
|
|
4628
4684
|
e = d, /*item*/
|
|
4629
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4685
|
+
e[44].img ? u ? u.p(e, f) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4630
4686
|
128 && i !== (i = /*item*/
|
|
4631
|
-
e[44].label + "") &&
|
|
4687
|
+
e[44].label + "") && mt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4632
4688
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4633
4689
|
e[46] + " " + /*activeMenuItemId*/
|
|
4634
4690
|
(e[5] === /*item*/
|
|
@@ -4639,12 +4695,12 @@ function ir(e) {
|
|
|
4639
4695
|
}
|
|
4640
4696
|
};
|
|
4641
4697
|
}
|
|
4642
|
-
function
|
|
4698
|
+
function lr(e) {
|
|
4643
4699
|
let t, r, n, i, o;
|
|
4644
4700
|
function a(u, h) {
|
|
4645
4701
|
return (
|
|
4646
4702
|
/*isFlowerMenu*/
|
|
4647
|
-
u[11] ?
|
|
4703
|
+
u[11] ? Wo : Vo
|
|
4648
4704
|
);
|
|
4649
4705
|
}
|
|
4650
4706
|
let s = a(e), l = s(e);
|
|
@@ -4671,7 +4727,7 @@ function or(e) {
|
|
|
4671
4727
|
}
|
|
4672
4728
|
};
|
|
4673
4729
|
}
|
|
4674
|
-
function
|
|
4730
|
+
function Wo(e) {
|
|
4675
4731
|
let t, r, n, i, o, a, s;
|
|
4676
4732
|
return {
|
|
4677
4733
|
c() {
|
|
@@ -4691,18 +4747,18 @@ function $o(e) {
|
|
|
4691
4747
|
}
|
|
4692
4748
|
};
|
|
4693
4749
|
}
|
|
4694
|
-
function
|
|
4750
|
+
function Vo(e) {
|
|
4695
4751
|
let t;
|
|
4696
4752
|
function r(o, a) {
|
|
4697
4753
|
return (
|
|
4698
4754
|
/*imageIconUrl*/
|
|
4699
|
-
o[9] ?
|
|
4755
|
+
o[9] ? zo : Xo
|
|
4700
4756
|
);
|
|
4701
4757
|
}
|
|
4702
4758
|
let n = r(e), i = n(e);
|
|
4703
4759
|
return {
|
|
4704
4760
|
c() {
|
|
4705
|
-
i.c(), t =
|
|
4761
|
+
i.c(), t = yn();
|
|
4706
4762
|
},
|
|
4707
4763
|
m(o, a) {
|
|
4708
4764
|
i.m(o, a), C(o, t, a);
|
|
@@ -4715,7 +4771,7 @@ function ko(e) {
|
|
|
4715
4771
|
}
|
|
4716
4772
|
};
|
|
4717
4773
|
}
|
|
4718
|
-
function
|
|
4774
|
+
function Xo(e) {
|
|
4719
4775
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4720
4776
|
return {
|
|
4721
4777
|
c() {
|
|
@@ -4730,7 +4786,7 @@ function jo(e) {
|
|
|
4730
4786
|
}
|
|
4731
4787
|
};
|
|
4732
4788
|
}
|
|
4733
|
-
function
|
|
4789
|
+
function zo(e) {
|
|
4734
4790
|
let t, r;
|
|
4735
4791
|
return {
|
|
4736
4792
|
c() {
|
|
@@ -4761,11 +4817,11 @@ function Wo(e) {
|
|
|
4761
4817
|
}
|
|
4762
4818
|
};
|
|
4763
4819
|
}
|
|
4764
|
-
function
|
|
4820
|
+
function Zo(e) {
|
|
4765
4821
|
let t, r, n, i = !/*isLoading*/
|
|
4766
4822
|
e[1] && /*isMobile*/
|
|
4767
4823
|
e[13] && /*showNavigation*/
|
|
4768
|
-
e[3] &&
|
|
4824
|
+
e[3] && rr(e);
|
|
4769
4825
|
return {
|
|
4770
4826
|
c() {
|
|
4771
4827
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4780,9 +4836,9 @@ function Vo(e) {
|
|
|
4780
4836
|
o[1] && /*isMobile*/
|
|
4781
4837
|
o[13] && /*showNavigation*/
|
|
4782
4838
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4783
|
-
10 && X(i, 1)) : (i =
|
|
4839
|
+
10 && X(i, 1)) : (i = rr(o), i.c(), X(i, 1), i.m(t, null)) : i && (mr(), pe(i, 1, 1, () => {
|
|
4784
4840
|
i = null;
|
|
4785
|
-
}),
|
|
4841
|
+
}), pr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4786
4842
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4787
4843
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4788
4844
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4798,61 +4854,61 @@ function Vo(e) {
|
|
|
4798
4854
|
}
|
|
4799
4855
|
};
|
|
4800
4856
|
}
|
|
4801
|
-
function
|
|
4857
|
+
function Qo(e, t, r) {
|
|
4802
4858
|
let n;
|
|
4803
|
-
|
|
4804
|
-
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 =
|
|
4805
|
-
const
|
|
4859
|
+
cn(e, Fo, (m) => r(12, n = m));
|
|
4860
|
+
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 = Yt(S) !== "PC", N = !0, E = !1, H = !1, z = "", Y = !1, Ue = [], _e = [], W = [], G, yt = "", De = {}, _t, Ge = !1;
|
|
4861
|
+
const Zr = () => {
|
|
4806
4862
|
fetch(g).then((T) => T.json()).then((T) => {
|
|
4807
|
-
Object.keys(T).forEach((
|
|
4808
|
-
|
|
4863
|
+
Object.keys(T).forEach((P) => {
|
|
4864
|
+
Jt(P, T[P]);
|
|
4809
4865
|
});
|
|
4810
4866
|
}).catch((T) => {
|
|
4811
4867
|
console.log(T);
|
|
4812
4868
|
});
|
|
4813
4869
|
};
|
|
4814
|
-
Object.keys(
|
|
4815
|
-
|
|
4870
|
+
Object.keys(qt).forEach((m) => {
|
|
4871
|
+
Jt(m, qt[m]);
|
|
4816
4872
|
});
|
|
4817
|
-
const
|
|
4873
|
+
const xt = (m) => {
|
|
4818
4874
|
if (m.data)
|
|
4819
4875
|
switch (m.data.type) {
|
|
4820
4876
|
case "PlayerAccountMenuActive":
|
|
4821
|
-
r(4,
|
|
4877
|
+
r(4, H = !1);
|
|
4822
4878
|
break;
|
|
4823
4879
|
case "OpenLoginRegisterModal":
|
|
4824
|
-
r(4,
|
|
4880
|
+
r(4, H = !1);
|
|
4825
4881
|
break;
|
|
4826
4882
|
case "GoToHomepage":
|
|
4827
|
-
r(4,
|
|
4883
|
+
r(4, H = !1);
|
|
4828
4884
|
break;
|
|
4829
4885
|
}
|
|
4830
|
-
},
|
|
4886
|
+
}, Qr = () => {
|
|
4831
4887
|
r(11, Ge = A.toLowerCase() === "true");
|
|
4832
|
-
},
|
|
4833
|
-
r(4,
|
|
4888
|
+
}, Yr = () => {
|
|
4889
|
+
r(4, H = !H), window.postMessage(
|
|
4834
4890
|
{
|
|
4835
4891
|
type: "MobileBottomNav",
|
|
4836
|
-
navigationWindowOpened:
|
|
4892
|
+
navigationWindowOpened: H
|
|
4837
4893
|
},
|
|
4838
4894
|
window.location.href
|
|
4839
4895
|
);
|
|
4840
|
-
},
|
|
4841
|
-
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4842
|
-
},
|
|
4896
|
+
}, Jr = (m) => {
|
|
4897
|
+
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v && wt();
|
|
4898
|
+
}, qr = () => {
|
|
4843
4899
|
$e(), r(1, N = !0);
|
|
4844
|
-
let m =
|
|
4845
|
-
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((
|
|
4846
|
-
Ue = [], r(8, W = []), r(3, E =
|
|
4847
|
-
De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9,
|
|
4848
|
-
}), r(6, Y = W.length == 0), W.length >= 5 && Ge && r(8, W = W.splice(0, 5)),
|
|
4849
|
-
}).catch((
|
|
4850
|
-
r(1, N = !1), console.error(
|
|
4900
|
+
let m = Yt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4901
|
+
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
|
|
4902
|
+
Ue = [], r(8, W = []), r(3, E = P.length > 0), P.forEach((R) => {
|
|
4903
|
+
De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, yt = R == null ? void 0 : R.img), r(8, W = R.children)) : Ue.push(R);
|
|
4904
|
+
}), r(6, Y = W.length == 0), W.length >= 5 && Ge && r(8, W = W.splice(0, 5)), Jr(Ue), r(1, N = !1);
|
|
4905
|
+
}).catch((P) => {
|
|
4906
|
+
r(1, N = !1), console.error(P);
|
|
4851
4907
|
});
|
|
4852
|
-
},
|
|
4853
|
-
const T = _e.concat(W).find((
|
|
4908
|
+
}, wt = () => {
|
|
4909
|
+
const T = _e.concat(W).find((P) => P.path.includes(v));
|
|
4854
4910
|
T && r(5, z = T.id);
|
|
4855
|
-
}, ce = (m, T,
|
|
4911
|
+
}, ce = (m, T, P, R) => {
|
|
4856
4912
|
De[R] ? window.postMessage(
|
|
4857
4913
|
{
|
|
4858
4914
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4864,32 +4920,32 @@ function Xo(e, t, r) {
|
|
|
4864
4920
|
type: "NavigateTo",
|
|
4865
4921
|
path: m,
|
|
4866
4922
|
target: T || null,
|
|
4867
|
-
externalLink:
|
|
4923
|
+
externalLink: P || !1
|
|
4868
4924
|
},
|
|
4869
4925
|
window.location.href
|
|
4870
|
-
), r(4,
|
|
4926
|
+
), r(4, H = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4871
4927
|
context: "MobileBottomNavigation",
|
|
4872
4928
|
menuItem: `${m}`
|
|
4873
4929
|
});
|
|
4874
|
-
},
|
|
4875
|
-
|
|
4930
|
+
}, Kr = () => {
|
|
4931
|
+
Ro(s);
|
|
4876
4932
|
}, $e = () => {
|
|
4877
|
-
r(10,
|
|
4878
|
-
},
|
|
4879
|
-
|
|
4933
|
+
r(10, _t = b && window.innerHeight / window.innerWidth < 1);
|
|
4934
|
+
}, Et = () => {
|
|
4935
|
+
H && r(4, H = !1);
|
|
4880
4936
|
};
|
|
4881
|
-
|
|
4882
|
-
window.removeEventListener("message",
|
|
4937
|
+
En(() => (window.addEventListener("message", xt, !1), document.addEventListener("focusin", Et), b && window.screen.orientation.addEventListener("change", $e), () => {
|
|
4938
|
+
window.removeEventListener("message", xt), document.removeEventListener("focusin", Et), b && window.screen.orientation.removeEventListener("change", $e);
|
|
4883
4939
|
}));
|
|
4884
|
-
const
|
|
4885
|
-
var T,
|
|
4886
|
-
(T = m.attrs) != null && T.target ? ce(m.path, (
|
|
4887
|
-
},
|
|
4888
|
-
var T,
|
|
4889
|
-
(T = m.attrs) != null && T.target ? ce(m.path, (
|
|
4940
|
+
const en = (m) => {
|
|
4941
|
+
var T, P;
|
|
4942
|
+
(T = m.attrs) != null && T.target ? ce(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4943
|
+
}, tn = (m) => {
|
|
4944
|
+
var T, P;
|
|
4945
|
+
(T = m.attrs) != null && T.target ? ce(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4890
4946
|
};
|
|
4891
|
-
function
|
|
4892
|
-
|
|
4947
|
+
function rn(m) {
|
|
4948
|
+
Je[m ? "unshift" : "push"](() => {
|
|
4893
4949
|
G = m, r(2, G);
|
|
4894
4950
|
});
|
|
4895
4951
|
}
|
|
@@ -4897,30 +4953,30 @@ function Xo(e, t, r) {
|
|
|
4897
4953
|
"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);
|
|
4898
4954
|
}, e.$$.update = () => {
|
|
4899
4955
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4900
|
-
33554432 && A &&
|
|
4901
|
-
16777218 && v && !N &&
|
|
4902
|
-
131072 && s &&
|
|
4903
|
-
983040 && a && s && l && h &&
|
|
4904
|
-
2097156 && f && G &&
|
|
4905
|
-
4194308 && p && G &&
|
|
4906
|
-
1048580 && d && G &&
|
|
4907
|
-
8388608 && g &&
|
|
4956
|
+
33554432 && A && Qr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4957
|
+
16777218 && v && !N && wt(), e.$$.dirty[0] & /*lang*/
|
|
4958
|
+
131072 && s && Kr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4959
|
+
983040 && a && s && l && h && qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4960
|
+
2097156 && f && G && Uo(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4961
|
+
4194308 && p && G && Do(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4962
|
+
1048580 && d && G && Go(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4963
|
+
8388608 && g && Zr();
|
|
4908
4964
|
}, [
|
|
4909
4965
|
u,
|
|
4910
4966
|
N,
|
|
4911
4967
|
G,
|
|
4912
4968
|
E,
|
|
4913
|
-
|
|
4969
|
+
H,
|
|
4914
4970
|
z,
|
|
4915
4971
|
Y,
|
|
4916
4972
|
_e,
|
|
4917
4973
|
W,
|
|
4918
|
-
|
|
4919
|
-
|
|
4974
|
+
yt,
|
|
4975
|
+
_t,
|
|
4920
4976
|
Ge,
|
|
4921
4977
|
n,
|
|
4922
4978
|
b,
|
|
4923
|
-
|
|
4979
|
+
Yr,
|
|
4924
4980
|
ce,
|
|
4925
4981
|
a,
|
|
4926
4982
|
s,
|
|
@@ -4934,19 +4990,19 @@ function Xo(e, t, r) {
|
|
|
4934
4990
|
A,
|
|
4935
4991
|
o,
|
|
4936
4992
|
i,
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4993
|
+
en,
|
|
4994
|
+
tn,
|
|
4995
|
+
rn
|
|
4940
4996
|
];
|
|
4941
4997
|
}
|
|
4942
|
-
class
|
|
4998
|
+
class Yo extends On {
|
|
4943
4999
|
constructor(t) {
|
|
4944
|
-
super(),
|
|
5000
|
+
super(), Pn(
|
|
4945
5001
|
this,
|
|
4946
5002
|
t,
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
5003
|
+
Qo,
|
|
5004
|
+
Zo,
|
|
5005
|
+
hr,
|
|
4950
5006
|
{
|
|
4951
5007
|
cmsendpoint: 16,
|
|
4952
5008
|
lang: 17,
|
|
@@ -4960,7 +5016,7 @@ class zo extends Tn {
|
|
|
4960
5016
|
activecategory: 24,
|
|
4961
5017
|
flowermenustyle: 25
|
|
4962
5018
|
},
|
|
4963
|
-
|
|
5019
|
+
$o,
|
|
4964
5020
|
[-1, -1]
|
|
4965
5021
|
);
|
|
4966
5022
|
}
|
|
@@ -5031,7 +5087,7 @@ class zo extends Tn {
|
|
|
5031
5087
|
this.$$set({ flowermenustyle: t }), F();
|
|
5032
5088
|
}
|
|
5033
5089
|
}
|
|
5034
|
-
|
|
5090
|
+
Mn(Yo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5035
5091
|
export {
|
|
5036
|
-
|
|
5092
|
+
Yo as default
|
|
5037
5093
|
};
|