@everymatrix/general-navigation-bar 1.77.28 → 1.77.30
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-Bd_ofslD.js → GeneralNavigationBar-BVnUQn3k.js} +1118 -1068
- package/components/{GeneralNavigationBar-CiXvn55V.js → GeneralNavigationBar-BhV-ZEQ_.js} +1151 -1099
- package/components/GeneralNavigationBar-yLFjX6uX.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-Dv9WpScr.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function U() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function an(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,50 +8,50 @@ function qr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function hr(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function At() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function oe(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(hr);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function xt(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function cr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
let
|
|
26
|
+
let Ne;
|
|
27
27
|
function ee(e, t) {
|
|
28
|
-
return e === t ? !0 : (
|
|
28
|
+
return e === t ? !0 : (Ne || (Ne = document.createElement("a")), Ne.href = t, e === Ne.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function sn(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function fr(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
37
|
-
return
|
|
37
|
+
return U;
|
|
38
38
|
}
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function ln(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(fr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function un(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = dr(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function dr(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? an(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function hn(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function rn(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function cn(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = dr(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function fn(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -81,17 +81,17 @@ function on(e) {
|
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function b(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function dn(e, t, r) {
|
|
88
|
+
const n = mn(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
|
-
const i =
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
90
|
+
const i = S("style");
|
|
91
|
+
i.id = t, i.textContent = r, pn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function mn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,8 +101,8 @@ function sn(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function pn(e, t) {
|
|
105
|
+
return b(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
108
108
|
t
|
|
@@ -111,42 +111,42 @@ function ln(e, t) {
|
|
|
111
111
|
function L(e, t, r) {
|
|
112
112
|
e.insertBefore(t, r || null);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function M(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function mr(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function S(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
124
|
function H(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ae(e) {
|
|
128
128
|
return document.createTextNode(e);
|
|
129
129
|
}
|
|
130
130
|
function k() {
|
|
131
|
-
return
|
|
131
|
+
return ae(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function gn() {
|
|
134
|
+
return ae("");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Fe(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
138
138
|
}
|
|
139
139
|
function c(e, t, r) {
|
|
140
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function vn(e) {
|
|
143
143
|
return Array.from(e.childNodes);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Re(e, t) {
|
|
146
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
147
|
t);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function bn(e) {
|
|
150
150
|
const t = {};
|
|
151
151
|
return e.childNodes.forEach(
|
|
152
152
|
/** @param {Element} node */
|
|
@@ -155,120 +155,120 @@ function cn(e) {
|
|
|
155
155
|
}
|
|
156
156
|
), t;
|
|
157
157
|
}
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
158
|
+
let ge;
|
|
159
|
+
function pe(e) {
|
|
160
|
+
ge = e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
if (!
|
|
162
|
+
function yn() {
|
|
163
|
+
if (!ge)
|
|
164
164
|
throw new Error("Function called outside component initialization");
|
|
165
|
-
return
|
|
165
|
+
return ge;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
167
|
+
function _n(e) {
|
|
168
|
+
yn().$$.on_mount.push(e);
|
|
169
169
|
}
|
|
170
|
-
const q = [],
|
|
170
|
+
const q = [], nt = [];
|
|
171
171
|
let K = [];
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
function
|
|
175
|
-
|
|
172
|
+
const Tt = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
173
|
+
let it = !1;
|
|
174
|
+
function wn() {
|
|
175
|
+
it || (it = !0, xn.then(C));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function ot(e) {
|
|
178
178
|
K.push(e);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const Qe = /* @__PURE__ */ new Set();
|
|
181
181
|
let Y = 0;
|
|
182
|
-
function
|
|
182
|
+
function C() {
|
|
183
183
|
if (Y !== 0)
|
|
184
184
|
return;
|
|
185
|
-
const e =
|
|
185
|
+
const e = ge;
|
|
186
186
|
do {
|
|
187
187
|
try {
|
|
188
188
|
for (; Y < q.length; ) {
|
|
189
189
|
const t = q[Y];
|
|
190
|
-
Y++,
|
|
190
|
+
Y++, pe(t), En(t.$$);
|
|
191
191
|
}
|
|
192
192
|
} catch (t) {
|
|
193
193
|
throw q.length = 0, Y = 0, t;
|
|
194
194
|
}
|
|
195
|
-
for (
|
|
196
|
-
|
|
195
|
+
for (pe(null), q.length = 0, Y = 0; nt.length; )
|
|
196
|
+
nt.pop()();
|
|
197
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
198
198
|
const r = K[t];
|
|
199
|
-
|
|
199
|
+
Qe.has(r) || (Qe.add(r), r());
|
|
200
200
|
}
|
|
201
201
|
K.length = 0;
|
|
202
202
|
} while (q.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
for (; Tt.length; )
|
|
204
|
+
Tt.pop()();
|
|
205
|
+
it = !1, Qe.clear(), pe(e);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function En(e) {
|
|
208
208
|
if (e.fragment !== null) {
|
|
209
209
|
e.update(), oe(e.before_update);
|
|
210
210
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
211
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Nn(e) {
|
|
215
215
|
const t = [], r = [];
|
|
216
216
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
219
|
-
let
|
|
220
|
-
function
|
|
221
|
-
|
|
218
|
+
const Be = /* @__PURE__ */ new Set();
|
|
219
|
+
let Z;
|
|
220
|
+
function pr() {
|
|
221
|
+
Z = {
|
|
222
222
|
r: 0,
|
|
223
223
|
c: [],
|
|
224
|
-
p:
|
|
224
|
+
p: Z
|
|
225
225
|
// parent group
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
|
|
228
|
+
function gr() {
|
|
229
|
+
Z.r || oe(Z.c), Z = Z.p;
|
|
230
230
|
}
|
|
231
231
|
function X(e, t) {
|
|
232
|
-
e && e.i && (
|
|
232
|
+
e && e.i && (Be.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ve(e, t, r, n) {
|
|
235
235
|
if (e && e.o) {
|
|
236
|
-
if (
|
|
236
|
+
if (Be.has(e))
|
|
237
237
|
return;
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
Be.add(e), Z.c.push(() => {
|
|
239
|
+
Be.delete(e), n && (r && e.d(1), n());
|
|
240
240
|
}), e.o(t);
|
|
241
241
|
} else
|
|
242
242
|
n && n();
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Me(e) {
|
|
245
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Sn(e, t, r) {
|
|
248
248
|
const { fragment: n, after_update: i } = e.$$;
|
|
249
|
-
n && n.m(t, r),
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
249
|
+
n && n.m(t, r), ot(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(hr).filter(xt);
|
|
251
251
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
|
|
252
|
-
}), i.forEach(
|
|
252
|
+
}), i.forEach(ot);
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function In(e, t) {
|
|
255
255
|
const r = e.$$;
|
|
256
|
-
r.fragment !== null && (
|
|
256
|
+
r.fragment !== null && (Nn(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function Bn(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
const l =
|
|
263
|
-
|
|
264
|
-
const
|
|
261
|
+
function An(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
262
|
+
const l = ge;
|
|
263
|
+
pe(e);
|
|
264
|
+
const h = e.$$ = {
|
|
265
265
|
fragment: null,
|
|
266
266
|
ctx: [],
|
|
267
267
|
// state
|
|
268
268
|
props: o,
|
|
269
|
-
update:
|
|
269
|
+
update: U,
|
|
270
270
|
not_equal: i,
|
|
271
|
-
bound:
|
|
271
|
+
bound: At(),
|
|
272
272
|
// lifecycle
|
|
273
273
|
on_mount: [],
|
|
274
274
|
on_destroy: [],
|
|
@@ -277,28 +277,28 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
277
|
after_update: [],
|
|
278
278
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
279
279
|
// everything else
|
|
280
|
-
callbacks:
|
|
280
|
+
callbacks: At(),
|
|
281
281
|
dirty: s,
|
|
282
282
|
skip_bound: !1,
|
|
283
283
|
root: t.target || l.$$.root
|
|
284
284
|
};
|
|
285
|
-
a && a(
|
|
286
|
-
let
|
|
287
|
-
if (
|
|
285
|
+
a && a(h.root);
|
|
286
|
+
let u = !1;
|
|
287
|
+
if (h.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
288
288
|
const g = p.length ? p[0] : f;
|
|
289
|
-
return
|
|
290
|
-
}) : [],
|
|
289
|
+
return h.ctx && i(h.ctx[d], h.ctx[d] = g) && (!h.skip_bound && h.bound[d] && h.bound[d](g), u && Bn(e, d)), f;
|
|
290
|
+
}) : [], h.update(), u = !0, oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
291
291
|
if (t.hydrate) {
|
|
292
|
-
const d =
|
|
293
|
-
|
|
292
|
+
const d = vn(t.target);
|
|
293
|
+
h.fragment && h.fragment.l(d), d.forEach(M);
|
|
294
294
|
} else
|
|
295
|
-
|
|
296
|
-
t.intro && X(e.$$.fragment),
|
|
295
|
+
h.fragment && h.fragment.c();
|
|
296
|
+
t.intro && X(e.$$.fragment), Sn(e, t.target, t.anchor), C();
|
|
297
297
|
}
|
|
298
|
-
|
|
298
|
+
pe(l);
|
|
299
299
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let vr;
|
|
301
|
+
typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
302
302
|
/** The Svelte component constructor */
|
|
303
303
|
$$ctor;
|
|
304
304
|
/** Slots */
|
|
@@ -340,29 +340,29 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
340
340
|
let o;
|
|
341
341
|
return {
|
|
342
342
|
c: function() {
|
|
343
|
-
o =
|
|
343
|
+
o = S("slot"), i !== "default" && c(o, "name", i);
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
346
|
* @param {HTMLElement} target
|
|
347
347
|
* @param {HTMLElement} [anchor]
|
|
348
348
|
*/
|
|
349
|
-
m: function(l,
|
|
350
|
-
L(l, o,
|
|
349
|
+
m: function(l, h) {
|
|
350
|
+
L(l, o, h);
|
|
351
351
|
},
|
|
352
352
|
d: function(l) {
|
|
353
|
-
l &&
|
|
353
|
+
l && M(o);
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
356
|
};
|
|
357
357
|
};
|
|
358
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
359
|
return;
|
|
360
|
-
const t = {}, r =
|
|
360
|
+
const t = {}, r = bn(this);
|
|
361
361
|
for (const i of this.$$s)
|
|
362
362
|
i in r && (t[i] = [e(i)]);
|
|
363
363
|
for (const i of this.attributes) {
|
|
364
364
|
const o = this.$$g_p(i.name);
|
|
365
|
-
o in this.$$d || (this.$$d[o] =
|
|
365
|
+
o in this.$$d || (this.$$d[o] = Ae(o, i.value, this.$$p_d, "toProp"));
|
|
366
366
|
}
|
|
367
367
|
for (const i in this.$$p_d)
|
|
368
368
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
380
380
|
this.$$r = !0;
|
|
381
381
|
for (const i in this.$$p_d)
|
|
382
382
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
383
|
-
const o =
|
|
383
|
+
const o = Ae(
|
|
384
384
|
i,
|
|
385
385
|
this.$$d[i],
|
|
386
386
|
this.$$p_d,
|
|
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
402
402
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
403
403
|
// and setting attributes through setAttribute etc, this is helpful
|
|
404
404
|
attributeChangedCallback(e, t, r) {
|
|
405
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
405
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
406
406
|
}
|
|
407
407
|
disconnectedCallback() {
|
|
408
408
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -415,7 +415,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
415
415
|
) || e;
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
|
-
function
|
|
418
|
+
function Ae(e, t, r, n) {
|
|
419
419
|
const i = r[e]?.type;
|
|
420
420
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
421
421
|
return t;
|
|
@@ -444,8 +444,8 @@ function Ne(e, t, r, n) {
|
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
447
|
+
function Tn(e, t, r, n, i, o) {
|
|
448
|
+
let a = class extends vr {
|
|
449
449
|
constructor() {
|
|
450
450
|
super(e, r, i), this.$$p_d = t;
|
|
451
451
|
}
|
|
@@ -461,7 +461,7 @@ function wn(e, t, r, n, i, o) {
|
|
|
461
461
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
462
462
|
},
|
|
463
463
|
set(l) {
|
|
464
|
-
l =
|
|
464
|
+
l = Ae(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
}), n.forEach((s) => {
|
|
@@ -473,7 +473,7 @@ function wn(e, t, r, n, i, o) {
|
|
|
473
473
|
}), e.element = /** @type {any} */
|
|
474
474
|
a, a;
|
|
475
475
|
}
|
|
476
|
-
class
|
|
476
|
+
class Pn {
|
|
477
477
|
/**
|
|
478
478
|
* ### PRIVATE API
|
|
479
479
|
*
|
|
@@ -492,7 +492,7 @@ class En {
|
|
|
492
492
|
$$set = void 0;
|
|
493
493
|
/** @returns {void} */
|
|
494
494
|
$destroy() {
|
|
495
|
-
|
|
495
|
+
In(this, 1), this.$destroy = U;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,8 +501,8 @@ class En {
|
|
|
501
501
|
* @returns {() => void}
|
|
502
502
|
*/
|
|
503
503
|
$on(t, r) {
|
|
504
|
-
if (!
|
|
505
|
-
return
|
|
504
|
+
if (!xt(r))
|
|
505
|
+
return U;
|
|
506
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
507
507
|
return n.push(r), () => {
|
|
508
508
|
const i = n.indexOf(r);
|
|
@@ -514,11 +514,11 @@ class En {
|
|
|
514
514
|
* @returns {void}
|
|
515
515
|
*/
|
|
516
516
|
$set(t) {
|
|
517
|
-
this.$$set && !
|
|
517
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
+
const Hn = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
|
|
522
522
|
/*! *****************************************************************************
|
|
523
523
|
Copyright (c) Microsoft Corporation.
|
|
524
524
|
|
|
@@ -533,24 +533,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
533
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
534
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
535
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
536
|
+
var at = function(e, t) {
|
|
537
|
+
return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
538
538
|
r.__proto__ = n;
|
|
539
539
|
} || function(r, n) {
|
|
540
540
|
for (var i in n)
|
|
541
541
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
-
},
|
|
542
|
+
}, at(e, t);
|
|
543
543
|
};
|
|
544
|
-
function
|
|
544
|
+
function _e(e, t) {
|
|
545
545
|
if (typeof t != "function" && t !== null)
|
|
546
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
547
|
+
at(e, t);
|
|
548
548
|
function r() {
|
|
549
549
|
this.constructor = e;
|
|
550
550
|
}
|
|
551
551
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function st(e) {
|
|
554
554
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
555
555
|
if (r)
|
|
556
556
|
return r.call(e);
|
|
@@ -562,7 +562,7 @@ function tt(e) {
|
|
|
562
562
|
};
|
|
563
563
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function lt(e, t) {
|
|
566
566
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
567
567
|
if (!r)
|
|
568
568
|
return e;
|
|
@@ -582,22 +582,22 @@ function rt(e, t) {
|
|
|
582
582
|
}
|
|
583
583
|
return o;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function ut(e, t, r) {
|
|
586
586
|
if (arguments.length === 2)
|
|
587
587
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
588
588
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
589
589
|
return e.concat(o || t);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function W(e) {
|
|
592
592
|
return typeof e == "function";
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function br(e) {
|
|
595
595
|
var t = function(n) {
|
|
596
596
|
Error.call(n), n.stack = new Error().stack;
|
|
597
597
|
}, r = e(t);
|
|
598
598
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
599
599
|
}
|
|
600
|
-
var
|
|
600
|
+
var Ye = br(function(e) {
|
|
601
601
|
return function(r) {
|
|
602
602
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
603
603
|
` + r.map(function(n, i) {
|
|
@@ -606,13 +606,13 @@ var We = dr(function(e) {
|
|
|
606
606
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
607
607
|
};
|
|
608
608
|
});
|
|
609
|
-
function
|
|
609
|
+
function ht(e, t) {
|
|
610
610
|
if (e) {
|
|
611
611
|
var r = e.indexOf(t);
|
|
612
612
|
0 <= r && e.splice(r, 1);
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
var
|
|
615
|
+
var Ue = function() {
|
|
616
616
|
function e(t) {
|
|
617
617
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
618
618
|
}
|
|
@@ -624,9 +624,9 @@ var Oe = function() {
|
|
|
624
624
|
if (a)
|
|
625
625
|
if (this._parentage = null, Array.isArray(a))
|
|
626
626
|
try {
|
|
627
|
-
for (var s =
|
|
628
|
-
var
|
|
629
|
-
|
|
627
|
+
for (var s = st(a), l = s.next(); !l.done; l = s.next()) {
|
|
628
|
+
var h = l.value;
|
|
629
|
+
h.remove(this);
|
|
630
630
|
}
|
|
631
631
|
} catch (v) {
|
|
632
632
|
t = { error: v };
|
|
@@ -640,23 +640,23 @@ var Oe = function() {
|
|
|
640
640
|
}
|
|
641
641
|
else
|
|
642
642
|
a.remove(this);
|
|
643
|
-
var
|
|
644
|
-
if (
|
|
643
|
+
var u = this.initialTeardown;
|
|
644
|
+
if (W(u))
|
|
645
645
|
try {
|
|
646
|
-
|
|
646
|
+
u();
|
|
647
647
|
} catch (v) {
|
|
648
|
-
o = v instanceof
|
|
648
|
+
o = v instanceof Ye ? v.errors : [v];
|
|
649
649
|
}
|
|
650
650
|
var d = this._finalizers;
|
|
651
651
|
if (d) {
|
|
652
652
|
this._finalizers = null;
|
|
653
653
|
try {
|
|
654
|
-
for (var f =
|
|
654
|
+
for (var f = st(d), p = f.next(); !p.done; p = f.next()) {
|
|
655
655
|
var g = p.value;
|
|
656
656
|
try {
|
|
657
|
-
|
|
657
|
+
Pt(g);
|
|
658
658
|
} catch (v) {
|
|
659
|
-
o = o ?? [], v instanceof
|
|
659
|
+
o = o ?? [], v instanceof Ye ? o = ut(ut([], lt(o)), lt(v.errors)) : o.push(v);
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
} catch (v) {
|
|
@@ -671,13 +671,13 @@ var Oe = function() {
|
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
if (o)
|
|
674
|
-
throw new
|
|
674
|
+
throw new Ye(o);
|
|
675
675
|
}
|
|
676
676
|
}, e.prototype.add = function(t) {
|
|
677
677
|
var r;
|
|
678
678
|
if (t && t !== this)
|
|
679
679
|
if (this.closed)
|
|
680
|
-
|
|
680
|
+
Pt(t);
|
|
681
681
|
else {
|
|
682
682
|
if (t instanceof e) {
|
|
683
683
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,52 +694,52 @@ var Oe = function() {
|
|
|
694
694
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
695
|
}, e.prototype._removeParent = function(t) {
|
|
696
696
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
697
|
+
r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
|
|
698
698
|
}, e.prototype.remove = function(t) {
|
|
699
699
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
700
|
+
r && ht(r, t), t instanceof e && t._removeParent(this);
|
|
701
701
|
}, e.EMPTY = function() {
|
|
702
702
|
var t = new e();
|
|
703
703
|
return t.closed = !0, t;
|
|
704
704
|
}(), e;
|
|
705
|
-
}(),
|
|
706
|
-
function
|
|
707
|
-
return e instanceof
|
|
705
|
+
}(), yr = Ue.EMPTY;
|
|
706
|
+
function _r(e) {
|
|
707
|
+
return e instanceof Ue || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
|
|
709
|
+
function Pt(e) {
|
|
710
|
+
W(e) ? e() : e.unsubscribe();
|
|
711
711
|
}
|
|
712
|
-
var
|
|
712
|
+
var Mn = {
|
|
713
713
|
Promise: void 0
|
|
714
|
-
},
|
|
714
|
+
}, On = {
|
|
715
715
|
setTimeout: function(e, t) {
|
|
716
716
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
717
717
|
r[n - 2] = arguments[n];
|
|
718
|
-
return setTimeout.apply(void 0,
|
|
718
|
+
return setTimeout.apply(void 0, ut([e, t], lt(r)));
|
|
719
719
|
},
|
|
720
720
|
clearTimeout: function(e) {
|
|
721
721
|
return clearTimeout(e);
|
|
722
722
|
},
|
|
723
723
|
delegate: void 0
|
|
724
724
|
};
|
|
725
|
-
function
|
|
726
|
-
|
|
725
|
+
function Ln(e) {
|
|
726
|
+
On.setTimeout(function() {
|
|
727
727
|
throw e;
|
|
728
728
|
});
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function Ht() {
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function Te(e) {
|
|
733
733
|
e();
|
|
734
734
|
}
|
|
735
|
-
var
|
|
736
|
-
|
|
735
|
+
var xr = function(e) {
|
|
736
|
+
_e(t, e);
|
|
737
737
|
function t(r) {
|
|
738
738
|
var n = e.call(this) || this;
|
|
739
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
739
|
+
return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = Rn, n;
|
|
740
740
|
}
|
|
741
741
|
return t.create = function(r, n, i) {
|
|
742
|
-
return new
|
|
742
|
+
return new ct(r, n, i);
|
|
743
743
|
}, t.prototype.next = function(r) {
|
|
744
744
|
this.isStopped || this._next(r);
|
|
745
745
|
}, t.prototype.error = function(r) {
|
|
@@ -763,7 +763,7 @@ var gr = function(e) {
|
|
|
763
763
|
this.unsubscribe();
|
|
764
764
|
}
|
|
765
765
|
}, t;
|
|
766
|
-
}(
|
|
766
|
+
}(Ue), Cn = function() {
|
|
767
767
|
function e(t) {
|
|
768
768
|
this.partialObserver = t;
|
|
769
769
|
}
|
|
@@ -773,7 +773,7 @@ var gr = function(e) {
|
|
|
773
773
|
try {
|
|
774
774
|
r.next(t);
|
|
775
775
|
} catch (n) {
|
|
776
|
-
|
|
776
|
+
Se(n);
|
|
777
777
|
}
|
|
778
778
|
}, e.prototype.error = function(t) {
|
|
779
779
|
var r = this.partialObserver;
|
|
@@ -781,56 +781,56 @@ var gr = function(e) {
|
|
|
781
781
|
try {
|
|
782
782
|
r.error(t);
|
|
783
783
|
} catch (n) {
|
|
784
|
-
|
|
784
|
+
Se(n);
|
|
785
785
|
}
|
|
786
786
|
else
|
|
787
|
-
|
|
787
|
+
Se(t);
|
|
788
788
|
}, e.prototype.complete = function() {
|
|
789
789
|
var t = this.partialObserver;
|
|
790
790
|
if (t.complete)
|
|
791
791
|
try {
|
|
792
792
|
t.complete();
|
|
793
793
|
} catch (r) {
|
|
794
|
-
|
|
794
|
+
Se(r);
|
|
795
795
|
}
|
|
796
796
|
}, e;
|
|
797
|
-
}(),
|
|
798
|
-
|
|
797
|
+
}(), ct = function(e) {
|
|
798
|
+
_e(t, e);
|
|
799
799
|
function t(r, n, i) {
|
|
800
800
|
var o = e.call(this) || this, a;
|
|
801
|
-
return
|
|
801
|
+
return W(r) || !r ? a = {
|
|
802
802
|
next: r ?? void 0,
|
|
803
803
|
error: n ?? void 0,
|
|
804
804
|
complete: i ?? void 0
|
|
805
|
-
} : a = r, o.destination = new
|
|
805
|
+
} : a = r, o.destination = new Cn(a), o;
|
|
806
806
|
}
|
|
807
807
|
return t;
|
|
808
|
-
}(
|
|
809
|
-
function
|
|
810
|
-
|
|
808
|
+
}(xr);
|
|
809
|
+
function Se(e) {
|
|
810
|
+
Ln(e);
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Fn(e) {
|
|
813
813
|
throw e;
|
|
814
814
|
}
|
|
815
|
-
var
|
|
815
|
+
var Rn = {
|
|
816
816
|
closed: !0,
|
|
817
|
-
next:
|
|
818
|
-
error:
|
|
819
|
-
complete:
|
|
820
|
-
},
|
|
817
|
+
next: Ht,
|
|
818
|
+
error: Fn,
|
|
819
|
+
complete: Ht
|
|
820
|
+
}, Un = function() {
|
|
821
821
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
822
822
|
}();
|
|
823
|
-
function
|
|
823
|
+
function Dn(e) {
|
|
824
824
|
return e;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
827
|
-
return e.length === 0 ?
|
|
826
|
+
function Gn(e) {
|
|
827
|
+
return e.length === 0 ? Dn : e.length === 1 ? e[0] : function(r) {
|
|
828
828
|
return e.reduce(function(n, i) {
|
|
829
829
|
return i(n);
|
|
830
830
|
}, r);
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
|
-
var
|
|
833
|
+
var Mt = function() {
|
|
834
834
|
function e(t) {
|
|
835
835
|
t && (this._subscribe = t);
|
|
836
836
|
}
|
|
@@ -838,8 +838,8 @@ var At = function() {
|
|
|
838
838
|
var r = new e();
|
|
839
839
|
return r.source = this, r.operator = t, r;
|
|
840
840
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
841
|
-
var i = this, o =
|
|
842
|
-
return
|
|
841
|
+
var i = this, o = $n(t) ? t : new ct(t, r, n);
|
|
842
|
+
return Te(function() {
|
|
843
843
|
var a = i, s = a.operator, l = a.source;
|
|
844
844
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
845
845
|
}), o;
|
|
@@ -851,8 +851,8 @@ var At = function() {
|
|
|
851
851
|
}
|
|
852
852
|
}, e.prototype.forEach = function(t, r) {
|
|
853
853
|
var n = this;
|
|
854
|
-
return r =
|
|
855
|
-
var a = new
|
|
854
|
+
return r = Ot(r), new r(function(i, o) {
|
|
855
|
+
var a = new ct({
|
|
856
856
|
next: function(s) {
|
|
857
857
|
try {
|
|
858
858
|
t(s);
|
|
@@ -868,15 +868,15 @@ var At = function() {
|
|
|
868
868
|
}, e.prototype._subscribe = function(t) {
|
|
869
869
|
var r;
|
|
870
870
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
871
|
-
}, e.prototype[
|
|
871
|
+
}, e.prototype[Un] = function() {
|
|
872
872
|
return this;
|
|
873
873
|
}, e.prototype.pipe = function() {
|
|
874
874
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
875
875
|
t[r] = arguments[r];
|
|
876
|
-
return
|
|
876
|
+
return Gn(t)(this);
|
|
877
877
|
}, e.prototype.toPromise = function(t) {
|
|
878
878
|
var r = this;
|
|
879
|
-
return t =
|
|
879
|
+
return t = Ot(t), new t(function(n, i) {
|
|
880
880
|
var o;
|
|
881
881
|
r.subscribe(function(a) {
|
|
882
882
|
return o = a;
|
|
@@ -890,45 +890,45 @@ var At = function() {
|
|
|
890
890
|
return new e(t);
|
|
891
891
|
}, e;
|
|
892
892
|
}();
|
|
893
|
-
function
|
|
893
|
+
function Ot(e) {
|
|
894
894
|
var t;
|
|
895
|
-
return (t = e ??
|
|
895
|
+
return (t = e ?? Mn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
896
896
|
}
|
|
897
|
-
function
|
|
898
|
-
return e &&
|
|
897
|
+
function kn(e) {
|
|
898
|
+
return e && W(e.next) && W(e.error) && W(e.complete);
|
|
899
899
|
}
|
|
900
|
-
function
|
|
901
|
-
return e && e instanceof
|
|
900
|
+
function $n(e) {
|
|
901
|
+
return e && e instanceof xr || kn(e) && _r(e);
|
|
902
902
|
}
|
|
903
|
-
var
|
|
903
|
+
var jn = br(function(e) {
|
|
904
904
|
return function() {
|
|
905
905
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
906
906
|
};
|
|
907
|
-
}),
|
|
908
|
-
|
|
907
|
+
}), wr = function(e) {
|
|
908
|
+
_e(t, e);
|
|
909
909
|
function t() {
|
|
910
910
|
var r = e.call(this) || this;
|
|
911
911
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
912
912
|
}
|
|
913
913
|
return t.prototype.lift = function(r) {
|
|
914
|
-
var n = new
|
|
914
|
+
var n = new Lt(this, this);
|
|
915
915
|
return n.operator = r, n;
|
|
916
916
|
}, t.prototype._throwIfClosed = function() {
|
|
917
917
|
if (this.closed)
|
|
918
|
-
throw new
|
|
918
|
+
throw new jn();
|
|
919
919
|
}, t.prototype.next = function(r) {
|
|
920
920
|
var n = this;
|
|
921
|
-
|
|
921
|
+
Te(function() {
|
|
922
922
|
var i, o;
|
|
923
923
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
924
924
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
925
925
|
try {
|
|
926
|
-
for (var a =
|
|
926
|
+
for (var a = st(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
927
927
|
var l = s.value;
|
|
928
928
|
l.next(r);
|
|
929
929
|
}
|
|
930
|
-
} catch (
|
|
931
|
-
i = { error:
|
|
930
|
+
} catch (h) {
|
|
931
|
+
i = { error: h };
|
|
932
932
|
} finally {
|
|
933
933
|
try {
|
|
934
934
|
s && !s.done && (o = a.return) && o.call(a);
|
|
@@ -941,7 +941,7 @@ var Fn = dr(function(e) {
|
|
|
941
941
|
});
|
|
942
942
|
}, t.prototype.error = function(r) {
|
|
943
943
|
var n = this;
|
|
944
|
-
|
|
944
|
+
Te(function() {
|
|
945
945
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
946
946
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
947
947
|
for (var i = n.observers; i.length; )
|
|
@@ -950,7 +950,7 @@ var Fn = dr(function(e) {
|
|
|
950
950
|
});
|
|
951
951
|
}, t.prototype.complete = function() {
|
|
952
952
|
var r = this;
|
|
953
|
-
|
|
953
|
+
Te(function() {
|
|
954
954
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
955
955
|
r.isStopped = !0;
|
|
956
956
|
for (var n = r.observers; n.length; )
|
|
@@ -972,20 +972,20 @@ var Fn = dr(function(e) {
|
|
|
972
972
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
973
973
|
}, t.prototype._innerSubscribe = function(r) {
|
|
974
974
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
975
|
-
return o || a ?
|
|
976
|
-
n.currentObservers = null,
|
|
975
|
+
return o || a ? yr : (this.currentObservers = null, s.push(r), new Ue(function() {
|
|
976
|
+
n.currentObservers = null, ht(s, r);
|
|
977
977
|
}));
|
|
978
978
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
979
979
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
980
980
|
i ? r.error(o) : a && r.complete();
|
|
981
981
|
}, t.prototype.asObservable = function() {
|
|
982
|
-
var r = new
|
|
982
|
+
var r = new Mt();
|
|
983
983
|
return r.source = this, r;
|
|
984
984
|
}, t.create = function(r, n) {
|
|
985
|
-
return new
|
|
985
|
+
return new Lt(r, n);
|
|
986
986
|
}, t;
|
|
987
|
-
}(
|
|
988
|
-
|
|
987
|
+
}(Mt), Lt = function(e) {
|
|
988
|
+
_e(t, e);
|
|
989
989
|
function t(r, n) {
|
|
990
990
|
var i = e.call(this) || this;
|
|
991
991
|
return i.destination = r, i.source = n, i;
|
|
@@ -1001,17 +1001,17 @@ var Fn = dr(function(e) {
|
|
|
1001
1001
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1002
1002
|
}, t.prototype._subscribe = function(r) {
|
|
1003
1003
|
var n, i;
|
|
1004
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1004
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yr;
|
|
1005
1005
|
}, t;
|
|
1006
|
-
}(
|
|
1006
|
+
}(wr), Er = {
|
|
1007
1007
|
now: function() {
|
|
1008
|
-
return (
|
|
1008
|
+
return (Er.delegate || Date).now();
|
|
1009
1009
|
},
|
|
1010
1010
|
delegate: void 0
|
|
1011
|
-
},
|
|
1012
|
-
|
|
1011
|
+
}, Wn = function(e) {
|
|
1012
|
+
_e(t, e);
|
|
1013
1013
|
function t(r, n, i) {
|
|
1014
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1014
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Er);
|
|
1015
1015
|
var o = e.call(this) || this;
|
|
1016
1016
|
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;
|
|
1017
1017
|
}
|
|
@@ -1026,35 +1026,35 @@ var Fn = dr(function(e) {
|
|
|
1026
1026
|
}, t.prototype._trimBuffer = function() {
|
|
1027
1027
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1028
1028
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1029
|
-
for (var l = i.now(),
|
|
1030
|
-
|
|
1031
|
-
|
|
1029
|
+
for (var l = i.now(), h = 0, u = 1; u < o.length && o[u] <= l; u += 2)
|
|
1030
|
+
h = u;
|
|
1031
|
+
h && o.splice(0, h + 1);
|
|
1032
1032
|
}
|
|
1033
1033
|
}, t;
|
|
1034
|
-
}(
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1037
|
-
const r = new
|
|
1038
|
-
|
|
1034
|
+
}(wr);
|
|
1035
|
+
const Ct = [], Ft = {}, Vn = (e, t = 0) => {
|
|
1036
|
+
if (Ct.indexOf(e) == -1) {
|
|
1037
|
+
const r = new Wn(t);
|
|
1038
|
+
Ft[e] = r, Ct.push(e);
|
|
1039
1039
|
}
|
|
1040
|
-
return
|
|
1040
|
+
return Ft[e];
|
|
1041
1041
|
}, J = [];
|
|
1042
|
-
function
|
|
1042
|
+
function Xn(e, t) {
|
|
1043
1043
|
return {
|
|
1044
|
-
subscribe:
|
|
1044
|
+
subscribe: De(e, t).subscribe
|
|
1045
1045
|
};
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function De(e, t = U) {
|
|
1048
1048
|
let r;
|
|
1049
1049
|
const n = /* @__PURE__ */ new Set();
|
|
1050
1050
|
function i(s) {
|
|
1051
|
-
if (
|
|
1051
|
+
if (cr(e, s) && (e = s, r)) {
|
|
1052
1052
|
const l = !J.length;
|
|
1053
|
-
for (const
|
|
1054
|
-
|
|
1053
|
+
for (const h of n)
|
|
1054
|
+
h[1](), J.push(h, e);
|
|
1055
1055
|
if (l) {
|
|
1056
|
-
for (let
|
|
1057
|
-
J[
|
|
1056
|
+
for (let h = 0; h < J.length; h += 2)
|
|
1057
|
+
J[h][0](J[h + 1]);
|
|
1058
1058
|
J.length = 0;
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
@@ -1062,37 +1062,37 @@ function Le(e, t = R) {
|
|
|
1062
1062
|
function o(s) {
|
|
1063
1063
|
i(s(e));
|
|
1064
1064
|
}
|
|
1065
|
-
function a(s, l =
|
|
1066
|
-
const
|
|
1067
|
-
return n.add(
|
|
1068
|
-
n.delete(
|
|
1065
|
+
function a(s, l = U) {
|
|
1066
|
+
const h = [s, l];
|
|
1067
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || U), s(e), () => {
|
|
1068
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1069
1069
|
};
|
|
1070
1070
|
}
|
|
1071
1071
|
return { set: i, update: o, subscribe: a };
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function se(e, t, r) {
|
|
1074
1074
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1075
1075
|
if (!i.every(Boolean))
|
|
1076
1076
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1077
1077
|
const o = t.length < 2;
|
|
1078
|
-
return
|
|
1078
|
+
return Xn(r, (a, s) => {
|
|
1079
1079
|
let l = !1;
|
|
1080
|
-
const
|
|
1081
|
-
let
|
|
1080
|
+
const h = [];
|
|
1081
|
+
let u = 0, d = U;
|
|
1082
1082
|
const f = () => {
|
|
1083
|
-
if (
|
|
1083
|
+
if (u)
|
|
1084
1084
|
return;
|
|
1085
1085
|
d();
|
|
1086
|
-
const g = t(n ?
|
|
1087
|
-
o ? a(g) : d =
|
|
1086
|
+
const g = t(n ? h[0] : h, a, s);
|
|
1087
|
+
o ? a(g) : d = xt(g) ? g : U;
|
|
1088
1088
|
}, p = i.map(
|
|
1089
|
-
(g, v) =>
|
|
1089
|
+
(g, v) => fr(
|
|
1090
1090
|
g,
|
|
1091
|
-
(
|
|
1092
|
-
|
|
1091
|
+
(N) => {
|
|
1092
|
+
h[v] = N, u &= ~(1 << v), l && f();
|
|
1093
1093
|
},
|
|
1094
1094
|
() => {
|
|
1095
|
-
|
|
1095
|
+
u |= 1 << v;
|
|
1096
1096
|
}
|
|
1097
1097
|
)
|
|
1098
1098
|
);
|
|
@@ -1101,70 +1101,70 @@ function ae(e, t, r) {
|
|
|
1101
1101
|
};
|
|
1102
1102
|
});
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function zn(e) {
|
|
1105
1105
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1106
1106
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1107
|
+
var Zn = function(t) {
|
|
1108
|
+
return Qn(t) && !Yn(t);
|
|
1109
1109
|
};
|
|
1110
|
-
function
|
|
1110
|
+
function Qn(e) {
|
|
1111
1111
|
return !!e && typeof e == "object";
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Yn(e) {
|
|
1114
1114
|
var t = Object.prototype.toString.call(e);
|
|
1115
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1115
|
+
return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
|
|
1116
1116
|
}
|
|
1117
|
-
var
|
|
1118
|
-
function
|
|
1119
|
-
return e.$$typeof ===
|
|
1117
|
+
var Jn = typeof Symbol == "function" && Symbol.for, qn = Jn ? Symbol.for("react.element") : 60103;
|
|
1118
|
+
function Kn(e) {
|
|
1119
|
+
return e.$$typeof === qn;
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1121
|
+
function ei(e) {
|
|
1122
1122
|
return Array.isArray(e) ? [] : {};
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? te(
|
|
1124
|
+
function be(e, t) {
|
|
1125
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? te(ei(e), e, t) : e;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function ti(e, t, r) {
|
|
1128
1128
|
return e.concat(t).map(function(n) {
|
|
1129
|
-
return
|
|
1129
|
+
return be(n, r);
|
|
1130
1130
|
});
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function ri(e, t) {
|
|
1133
1133
|
if (!t.customMerge)
|
|
1134
1134
|
return te;
|
|
1135
1135
|
var r = t.customMerge(e);
|
|
1136
1136
|
return typeof r == "function" ? r : te;
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ni(e) {
|
|
1139
1139
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1140
1140
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1141
1141
|
}) : [];
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return Object.keys(e).concat(
|
|
1143
|
+
function Rt(e) {
|
|
1144
|
+
return Object.keys(e).concat(ni(e));
|
|
1145
1145
|
}
|
|
1146
|
-
function
|
|
1146
|
+
function Nr(e, t) {
|
|
1147
1147
|
try {
|
|
1148
1148
|
return t in e;
|
|
1149
1149
|
} catch {
|
|
1150
1150
|
return !1;
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1153
|
+
function ii(e, t) {
|
|
1154
|
+
return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function oi(e, t, r) {
|
|
1157
1157
|
var n = {};
|
|
1158
|
-
return r.isMergeableObject(e) &&
|
|
1159
|
-
n[i] =
|
|
1160
|
-
}),
|
|
1161
|
-
|
|
1158
|
+
return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
|
|
1159
|
+
n[i] = be(e[i], r);
|
|
1160
|
+
}), Rt(t).forEach(function(i) {
|
|
1161
|
+
ii(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ri(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
|
|
1162
1162
|
}), n;
|
|
1163
1163
|
}
|
|
1164
1164
|
function te(e, t, r) {
|
|
1165
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1165
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ti, r.isMergeableObject = r.isMergeableObject || Zn, r.cloneUnlessOtherwiseSpecified = be;
|
|
1166
1166
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1167
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1167
|
+
return o ? n ? r.arrayMerge(e, t, r) : oi(e, t, r) : be(t, r);
|
|
1168
1168
|
}
|
|
1169
1169
|
te.all = function(t, r) {
|
|
1170
1170
|
if (!Array.isArray(t))
|
|
@@ -1173,36 +1173,36 @@ te.all = function(t, r) {
|
|
|
1173
1173
|
return te(n, i, r);
|
|
1174
1174
|
}, {});
|
|
1175
1175
|
};
|
|
1176
|
-
var
|
|
1177
|
-
const
|
|
1178
|
-
var
|
|
1179
|
-
return
|
|
1176
|
+
var ai = te, si = ai;
|
|
1177
|
+
const li = /* @__PURE__ */ zn(si);
|
|
1178
|
+
var ft = function(e, t) {
|
|
1179
|
+
return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1180
1180
|
r.__proto__ = n;
|
|
1181
1181
|
} || function(r, n) {
|
|
1182
1182
|
for (var i in n)
|
|
1183
1183
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1184
|
-
},
|
|
1184
|
+
}, ft(e, t);
|
|
1185
1185
|
};
|
|
1186
|
-
function
|
|
1186
|
+
function Ge(e, t) {
|
|
1187
1187
|
if (typeof t != "function" && t !== null)
|
|
1188
1188
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1189
|
-
|
|
1189
|
+
ft(e, t);
|
|
1190
1190
|
function r() {
|
|
1191
1191
|
this.constructor = e;
|
|
1192
1192
|
}
|
|
1193
1193
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1194
1194
|
}
|
|
1195
|
-
var
|
|
1196
|
-
return
|
|
1195
|
+
var G = function() {
|
|
1196
|
+
return G = Object.assign || function(t) {
|
|
1197
1197
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1198
1198
|
r = arguments[n];
|
|
1199
1199
|
for (var o in r)
|
|
1200
1200
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1201
1201
|
}
|
|
1202
1202
|
return t;
|
|
1203
|
-
},
|
|
1203
|
+
}, G.apply(this, arguments);
|
|
1204
1204
|
};
|
|
1205
|
-
function
|
|
1205
|
+
function ui(e, t) {
|
|
1206
1206
|
var r = {};
|
|
1207
1207
|
for (var n in e)
|
|
1208
1208
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1211,43 +1211,43 @@ function ri(e, t) {
|
|
|
1211
1211
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1212
1212
|
return r;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Je(e, t, r) {
|
|
1215
1215
|
if (r || arguments.length === 2)
|
|
1216
1216
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1217
1217
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1218
1218
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1221
|
-
var r = t && t.cache ? t.cache :
|
|
1220
|
+
function qe(e, t) {
|
|
1221
|
+
var r = t && t.cache ? t.cache : gi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : fi;
|
|
1222
1222
|
return i(e, {
|
|
1223
1223
|
cache: r,
|
|
1224
1224
|
serializer: n
|
|
1225
1225
|
});
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function hi(e) {
|
|
1228
1228
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1231
|
-
var i =
|
|
1230
|
+
function ci(e, t, r, n) {
|
|
1231
|
+
var i = hi(n) ? n : r(n), o = t.get(i);
|
|
1232
1232
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function Sr(e, t, r) {
|
|
1235
1235
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1236
1236
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function Ir(e, t, r, n, i) {
|
|
1239
1239
|
return r.bind(t, e, n, i);
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1242
|
-
var r = e.length === 1 ?
|
|
1243
|
-
return
|
|
1241
|
+
function fi(e, t) {
|
|
1242
|
+
var r = e.length === 1 ? ci : Sr;
|
|
1243
|
+
return Ir(e, this, r, t.cache.create(), t.serializer);
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1245
|
+
function di(e, t) {
|
|
1246
|
+
return Ir(e, this, Sr, t.cache.create(), t.serializer);
|
|
1247
1247
|
}
|
|
1248
|
-
var
|
|
1248
|
+
var mi = function() {
|
|
1249
1249
|
return JSON.stringify(arguments);
|
|
1250
|
-
},
|
|
1250
|
+
}, pi = (
|
|
1251
1251
|
/** @class */
|
|
1252
1252
|
function() {
|
|
1253
1253
|
function e() {
|
|
@@ -1259,71 +1259,71 @@ var si = function() {
|
|
|
1259
1259
|
this.cache[t] = r;
|
|
1260
1260
|
}, e;
|
|
1261
1261
|
}()
|
|
1262
|
-
),
|
|
1262
|
+
), gi = {
|
|
1263
1263
|
create: function() {
|
|
1264
|
-
return new
|
|
1264
|
+
return new pi();
|
|
1265
1265
|
}
|
|
1266
|
-
},
|
|
1267
|
-
variadic:
|
|
1268
|
-
},
|
|
1269
|
-
return
|
|
1266
|
+
}, Ke = {
|
|
1267
|
+
variadic: di
|
|
1268
|
+
}, Oe = function() {
|
|
1269
|
+
return Oe = Object.assign || function(t) {
|
|
1270
1270
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1271
1271
|
r = arguments[n];
|
|
1272
1272
|
for (var o in r)
|
|
1273
1273
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1274
1274
|
}
|
|
1275
1275
|
return t;
|
|
1276
|
-
},
|
|
1276
|
+
}, Oe.apply(this, arguments);
|
|
1277
1277
|
};
|
|
1278
1278
|
var _;
|
|
1279
1279
|
(function(e) {
|
|
1280
1280
|
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";
|
|
1281
1281
|
})(_ || (_ = {}));
|
|
1282
|
-
var
|
|
1282
|
+
var I;
|
|
1283
1283
|
(function(e) {
|
|
1284
1284
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1285
|
-
})(
|
|
1285
|
+
})(I || (I = {}));
|
|
1286
1286
|
var re;
|
|
1287
1287
|
(function(e) {
|
|
1288
1288
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1289
1289
|
})(re || (re = {}));
|
|
1290
|
-
function
|
|
1291
|
-
return e.type ===
|
|
1290
|
+
function Ut(e) {
|
|
1291
|
+
return e.type === I.literal;
|
|
1292
1292
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return e.type ===
|
|
1293
|
+
function vi(e) {
|
|
1294
|
+
return e.type === I.argument;
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1297
|
-
return e.type ===
|
|
1296
|
+
function Br(e) {
|
|
1297
|
+
return e.type === I.number;
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1300
|
-
return e.type ===
|
|
1299
|
+
function Ar(e) {
|
|
1300
|
+
return e.type === I.date;
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1303
|
-
return e.type ===
|
|
1302
|
+
function Tr(e) {
|
|
1303
|
+
return e.type === I.time;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return e.type ===
|
|
1305
|
+
function Pr(e) {
|
|
1306
|
+
return e.type === I.select;
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1309
|
-
return e.type ===
|
|
1308
|
+
function Hr(e) {
|
|
1309
|
+
return e.type === I.plural;
|
|
1310
1310
|
}
|
|
1311
|
-
function
|
|
1312
|
-
return e.type ===
|
|
1311
|
+
function bi(e) {
|
|
1312
|
+
return e.type === I.pound;
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return e.type ===
|
|
1314
|
+
function Mr(e) {
|
|
1315
|
+
return e.type === I.tag;
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function Or(e) {
|
|
1318
1318
|
return !!(e && typeof e == "object" && e.type === re.number);
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function dt(e) {
|
|
1321
1321
|
return !!(e && typeof e == "object" && e.type === re.dateTime);
|
|
1322
1322
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1323
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
|
|
1324
|
+
function _i(e) {
|
|
1325
1325
|
var t = {};
|
|
1326
|
-
return e.replace(
|
|
1326
|
+
return e.replace(yi, function(r) {
|
|
1327
1327
|
var n = r.length;
|
|
1328
1328
|
switch (r[0]) {
|
|
1329
1329
|
case "G":
|
|
@@ -1422,18 +1422,18 @@ var A = function() {
|
|
|
1422
1422
|
return t;
|
|
1423
1423
|
}, A.apply(this, arguments);
|
|
1424
1424
|
};
|
|
1425
|
-
var
|
|
1426
|
-
function
|
|
1425
|
+
var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1426
|
+
function wi(e) {
|
|
1427
1427
|
if (e.length === 0)
|
|
1428
1428
|
throw new Error("Number skeleton cannot be empty");
|
|
1429
|
-
for (var t = e.split(
|
|
1429
|
+
for (var t = e.split(xi).filter(function(f) {
|
|
1430
1430
|
return f.length > 0;
|
|
1431
1431
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1432
1432
|
var o = i[n], a = o.split("/");
|
|
1433
1433
|
if (a.length === 0)
|
|
1434
1434
|
throw new Error("Invalid number skeleton");
|
|
1435
|
-
for (var s = a[0], l = a.slice(1),
|
|
1436
|
-
var d = h
|
|
1435
|
+
for (var s = a[0], l = a.slice(1), h = 0, u = l; h < u.length; h++) {
|
|
1436
|
+
var d = u[h];
|
|
1437
1437
|
if (d.length === 0)
|
|
1438
1438
|
throw new Error("Invalid number skeleton");
|
|
1439
1439
|
}
|
|
@@ -1441,17 +1441,17 @@ function pi(e) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
return r;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function Ei(e) {
|
|
1445
1445
|
return e.replace(/^(.*?)-/, "");
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1447
|
+
var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
|
|
1448
|
+
function Gt(e) {
|
|
1449
1449
|
var t = {};
|
|
1450
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1450
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
|
|
1451
1451
|
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)), "";
|
|
1452
1452
|
}), t;
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function Rr(e) {
|
|
1455
1455
|
switch (e) {
|
|
1456
1456
|
case "sign-auto":
|
|
1457
1457
|
return {
|
|
@@ -1491,7 +1491,7 @@ function Mr(e) {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function Si(e) {
|
|
1495
1495
|
var t;
|
|
1496
1496
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1497
1497
|
notation: "engineering"
|
|
@@ -1499,17 +1499,17 @@ function bi(e) {
|
|
|
1499
1499
|
notation: "scientific"
|
|
1500
1500
|
}, e = e.slice(1)), t) {
|
|
1501
1501
|
var r = e.slice(0, 2);
|
|
1502
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1502
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
|
|
1503
1503
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1504
1504
|
t.minimumIntegerDigits = e.length;
|
|
1505
1505
|
}
|
|
1506
1506
|
return t;
|
|
1507
1507
|
}
|
|
1508
|
-
function
|
|
1509
|
-
var t = {}, r =
|
|
1508
|
+
function kt(e) {
|
|
1509
|
+
var t = {}, r = Rr(e);
|
|
1510
1510
|
return r || t;
|
|
1511
1511
|
}
|
|
1512
|
-
function
|
|
1512
|
+
function Ii(e) {
|
|
1513
1513
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1514
1514
|
var i = n[r];
|
|
1515
1515
|
switch (i.stem) {
|
|
@@ -1533,7 +1533,7 @@ function yi(e) {
|
|
|
1533
1533
|
continue;
|
|
1534
1534
|
case "measure-unit":
|
|
1535
1535
|
case "unit":
|
|
1536
|
-
t.style = "unit", t.unit =
|
|
1536
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1537
1537
|
continue;
|
|
1538
1538
|
case "compact-short":
|
|
1539
1539
|
case "K":
|
|
@@ -1544,13 +1544,13 @@ function yi(e) {
|
|
|
1544
1544
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1545
1545
|
continue;
|
|
1546
1546
|
case "scientific":
|
|
1547
|
-
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
|
1548
|
-
return A(A({}, l),
|
|
1547
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
|
|
1548
|
+
return A(A({}, l), kt(h));
|
|
1549
1549
|
}, {}));
|
|
1550
1550
|
continue;
|
|
1551
1551
|
case "engineering":
|
|
1552
|
-
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
|
1553
|
-
return A(A({}, l),
|
|
1552
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
|
|
1553
|
+
return A(A({}, l), kt(h));
|
|
1554
1554
|
}, {}));
|
|
1555
1555
|
continue;
|
|
1556
1556
|
case "notation-simple":
|
|
@@ -1595,9 +1595,9 @@ function yi(e) {
|
|
|
1595
1595
|
case "integer-width":
|
|
1596
1596
|
if (i.options.length > 1)
|
|
1597
1597
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1598
|
-
i.options[0].replace(
|
|
1599
|
-
if (
|
|
1600
|
-
t.minimumIntegerDigits =
|
|
1598
|
+
i.options[0].replace(Ni, function(l, h, u, d, f, p) {
|
|
1599
|
+
if (h)
|
|
1600
|
+
t.minimumIntegerDigits = u.length;
|
|
1601
1601
|
else {
|
|
1602
1602
|
if (d && f)
|
|
1603
1603
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1608,32 +1608,32 @@ function yi(e) {
|
|
|
1608
1608
|
});
|
|
1609
1609
|
continue;
|
|
1610
1610
|
}
|
|
1611
|
-
if (
|
|
1611
|
+
if (Fr.test(i.stem)) {
|
|
1612
1612
|
t.minimumIntegerDigits = i.stem.length;
|
|
1613
1613
|
continue;
|
|
1614
1614
|
}
|
|
1615
|
-
if (
|
|
1615
|
+
if (Dt.test(i.stem)) {
|
|
1616
1616
|
if (i.options.length > 1)
|
|
1617
1617
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1618
|
-
i.stem.replace(
|
|
1619
|
-
return
|
|
1618
|
+
i.stem.replace(Dt, function(l, h, u, d, f, p) {
|
|
1619
|
+
return u === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1620
1620
|
});
|
|
1621
1621
|
var o = i.options[0];
|
|
1622
|
-
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t),
|
|
1622
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Gt(o)));
|
|
1623
1623
|
continue;
|
|
1624
1624
|
}
|
|
1625
|
-
if (
|
|
1626
|
-
t = A(A({}, t),
|
|
1625
|
+
if (Cr.test(i.stem)) {
|
|
1626
|
+
t = A(A({}, t), Gt(i.stem));
|
|
1627
1627
|
continue;
|
|
1628
1628
|
}
|
|
1629
|
-
var a =
|
|
1629
|
+
var a = Rr(i.stem);
|
|
1630
1630
|
a && (t = A(A({}, t), a));
|
|
1631
|
-
var s =
|
|
1631
|
+
var s = Si(i.stem);
|
|
1632
1632
|
s && (t = A(A({}, t), s));
|
|
1633
1633
|
}
|
|
1634
1634
|
return t;
|
|
1635
1635
|
}
|
|
1636
|
-
var
|
|
1636
|
+
var Ie = {
|
|
1637
1637
|
"001": [
|
|
1638
1638
|
"H",
|
|
1639
1639
|
"h"
|
|
@@ -3048,23 +3048,23 @@ var we = {
|
|
|
3048
3048
|
"h"
|
|
3049
3049
|
]
|
|
3050
3050
|
};
|
|
3051
|
-
function
|
|
3051
|
+
function Bi(e, t) {
|
|
3052
3052
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3053
3053
|
var i = e.charAt(n);
|
|
3054
3054
|
if (i === "j") {
|
|
3055
3055
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3056
3056
|
o++, n++;
|
|
3057
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a",
|
|
3058
|
-
for ((
|
|
3057
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Ai(t);
|
|
3058
|
+
for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
|
|
3059
3059
|
r += l;
|
|
3060
3060
|
for (; a-- > 0; )
|
|
3061
|
-
r =
|
|
3061
|
+
r = h + r;
|
|
3062
3062
|
} else
|
|
3063
3063
|
i === "J" ? r += "H" : r += i;
|
|
3064
3064
|
}
|
|
3065
3065
|
return r;
|
|
3066
3066
|
}
|
|
3067
|
-
function
|
|
3067
|
+
function Ai(e) {
|
|
3068
3068
|
var t = e.hourCycle;
|
|
3069
3069
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3070
3070
|
e.hourCycles && // @ts-ignore
|
|
@@ -3083,23 +3083,23 @@ function xi(e) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
var r = e.language, n;
|
|
3085
3085
|
r !== "root" && (n = e.maximize().region);
|
|
3086
|
-
var i =
|
|
3086
|
+
var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
|
|
3087
3087
|
return i[0];
|
|
3088
3088
|
}
|
|
3089
|
-
var
|
|
3089
|
+
var et, Ti = new RegExp("^".concat(Lr.source, "*")), Pi = new RegExp("".concat(Lr.source, "*$"));
|
|
3090
3090
|
function x(e, t) {
|
|
3091
3091
|
return { start: e, end: t };
|
|
3092
3092
|
}
|
|
3093
|
-
var
|
|
3093
|
+
var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Oi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
|
|
3094
3094
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3095
|
-
},
|
|
3095
|
+
}, mt = !0;
|
|
3096
3096
|
try {
|
|
3097
|
-
var
|
|
3098
|
-
|
|
3097
|
+
var Di = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3098
|
+
mt = ((et = Di.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
|
|
3099
3099
|
} catch {
|
|
3100
|
-
|
|
3100
|
+
mt = !1;
|
|
3101
3101
|
}
|
|
3102
|
-
var
|
|
3102
|
+
var $t = Hi ? (
|
|
3103
3103
|
// Native
|
|
3104
3104
|
function(t, r, n) {
|
|
3105
3105
|
return t.startsWith(r, n);
|
|
@@ -3109,7 +3109,7 @@ var Ut = Ni ? (
|
|
|
3109
3109
|
function(t, r, n) {
|
|
3110
3110
|
return t.slice(n, n + r.length) === r;
|
|
3111
3111
|
}
|
|
3112
|
-
),
|
|
3112
|
+
), pt = Mi ? String.fromCodePoint : (
|
|
3113
3113
|
// IE11
|
|
3114
3114
|
function() {
|
|
3115
3115
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3121,9 +3121,9 @@ var Ut = Ni ? (
|
|
|
3121
3121
|
}
|
|
3122
3122
|
return n;
|
|
3123
3123
|
}
|
|
3124
|
-
),
|
|
3124
|
+
), jt = (
|
|
3125
3125
|
// native
|
|
3126
|
-
|
|
3126
|
+
Oi ? Object.fromEntries : (
|
|
3127
3127
|
// Ponyfill
|
|
3128
3128
|
function(t) {
|
|
3129
3129
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3133,7 +3133,7 @@ var Ut = Ni ? (
|
|
|
3133
3133
|
return r;
|
|
3134
3134
|
}
|
|
3135
3135
|
)
|
|
3136
|
-
),
|
|
3136
|
+
), Ur = Li ? (
|
|
3137
3137
|
// Native
|
|
3138
3138
|
function(t, r) {
|
|
3139
3139
|
return t.codePointAt(r);
|
|
@@ -3147,7 +3147,7 @@ var Ut = Ni ? (
|
|
|
3147
3147
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3148
3148
|
}
|
|
3149
3149
|
}
|
|
3150
|
-
),
|
|
3150
|
+
), Gi = Ci ? (
|
|
3151
3151
|
// Native
|
|
3152
3152
|
function(t) {
|
|
3153
3153
|
return t.trimStart();
|
|
@@ -3155,9 +3155,9 @@ var Ut = Ni ? (
|
|
|
3155
3155
|
) : (
|
|
3156
3156
|
// Ponyfill
|
|
3157
3157
|
function(t) {
|
|
3158
|
-
return t.replace(
|
|
3158
|
+
return t.replace(Ti, "");
|
|
3159
3159
|
}
|
|
3160
|
-
),
|
|
3160
|
+
), ki = Fi ? (
|
|
3161
3161
|
// Native
|
|
3162
3162
|
function(t) {
|
|
3163
3163
|
return t.trimEnd();
|
|
@@ -3165,32 +3165,32 @@ var Ut = Ni ? (
|
|
|
3165
3165
|
) : (
|
|
3166
3166
|
// Ponyfill
|
|
3167
3167
|
function(t) {
|
|
3168
|
-
return t.replace(
|
|
3168
|
+
return t.replace(Pi, "");
|
|
3169
3169
|
}
|
|
3170
3170
|
);
|
|
3171
|
-
function
|
|
3171
|
+
function Dr(e, t) {
|
|
3172
3172
|
return new RegExp(e, t);
|
|
3173
3173
|
}
|
|
3174
|
-
var
|
|
3175
|
-
if (
|
|
3176
|
-
var
|
|
3177
|
-
|
|
3174
|
+
var gt;
|
|
3175
|
+
if (mt) {
|
|
3176
|
+
var Wt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3177
|
+
gt = function(t, r) {
|
|
3178
3178
|
var n;
|
|
3179
|
-
|
|
3180
|
-
var i =
|
|
3179
|
+
Wt.lastIndex = r;
|
|
3180
|
+
var i = Wt.exec(t);
|
|
3181
3181
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3182
3182
|
};
|
|
3183
3183
|
} else
|
|
3184
|
-
|
|
3184
|
+
gt = function(t, r) {
|
|
3185
3185
|
for (var n = []; ; ) {
|
|
3186
|
-
var i =
|
|
3187
|
-
if (i === void 0 ||
|
|
3186
|
+
var i = Ur(t, r);
|
|
3187
|
+
if (i === void 0 || Gr(i) || Vi(i))
|
|
3188
3188
|
break;
|
|
3189
3189
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3190
3190
|
}
|
|
3191
|
-
return
|
|
3191
|
+
return pt.apply(void 0, n);
|
|
3192
3192
|
};
|
|
3193
|
-
var
|
|
3193
|
+
var $i = (
|
|
3194
3194
|
/** @class */
|
|
3195
3195
|
function() {
|
|
3196
3196
|
function e(t, r) {
|
|
@@ -3214,14 +3214,14 @@ var Ci = (
|
|
|
3214
3214
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3215
3215
|
var s = this.clonePosition();
|
|
3216
3216
|
this.bump(), i.push({
|
|
3217
|
-
type:
|
|
3217
|
+
type: I.pound,
|
|
3218
3218
|
location: x(s, this.clonePosition())
|
|
3219
3219
|
});
|
|
3220
3220
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3221
3221
|
if (n)
|
|
3222
3222
|
break;
|
|
3223
3223
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3224
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3224
|
+
} else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
|
|
3225
3225
|
var a = this.parseTag(t, r);
|
|
3226
3226
|
if (a.err)
|
|
3227
3227
|
return a;
|
|
@@ -3242,7 +3242,7 @@ var Ci = (
|
|
|
3242
3242
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3243
3243
|
return {
|
|
3244
3244
|
val: {
|
|
3245
|
-
type:
|
|
3245
|
+
type: I.literal,
|
|
3246
3246
|
value: "<".concat(i, "/>"),
|
|
3247
3247
|
location: x(n, this.clonePosition())
|
|
3248
3248
|
},
|
|
@@ -3254,12 +3254,12 @@ var Ci = (
|
|
|
3254
3254
|
return o;
|
|
3255
3255
|
var a = o.val, s = this.clonePosition();
|
|
3256
3256
|
if (this.bumpIf("</")) {
|
|
3257
|
-
if (this.isEOF() || !
|
|
3257
|
+
if (this.isEOF() || !vt(this.char()))
|
|
3258
3258
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3259
|
-
var l = this.clonePosition(),
|
|
3260
|
-
return i !==
|
|
3259
|
+
var l = this.clonePosition(), h = this.parseTagName();
|
|
3260
|
+
return i !== h ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3261
3261
|
val: {
|
|
3262
|
-
type:
|
|
3262
|
+
type: I.tag,
|
|
3263
3263
|
value: i,
|
|
3264
3264
|
children: a,
|
|
3265
3265
|
location: x(n, this.clonePosition())
|
|
@@ -3272,7 +3272,7 @@ var Ci = (
|
|
|
3272
3272
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3273
3273
|
}, e.prototype.parseTagName = function() {
|
|
3274
3274
|
var t = this.offset();
|
|
3275
|
-
for (this.bump(); !this.isEOF() &&
|
|
3275
|
+
for (this.bump(); !this.isEOF() && Wi(this.char()); )
|
|
3276
3276
|
this.bump();
|
|
3277
3277
|
return this.message.slice(t, this.offset());
|
|
3278
3278
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3296,12 +3296,12 @@ var Ci = (
|
|
|
3296
3296
|
}
|
|
3297
3297
|
var l = x(n, this.clonePosition());
|
|
3298
3298
|
return {
|
|
3299
|
-
val: { type:
|
|
3299
|
+
val: { type: I.literal, value: i, location: l },
|
|
3300
3300
|
err: null
|
|
3301
3301
|
};
|
|
3302
3302
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3303
3303
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3304
|
-
!
|
|
3304
|
+
!ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3305
3305
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3306
3306
|
if (this.isEOF() || this.char() !== 39)
|
|
3307
3307
|
return null;
|
|
@@ -3335,12 +3335,12 @@ var Ci = (
|
|
|
3335
3335
|
r.push(n);
|
|
3336
3336
|
this.bump();
|
|
3337
3337
|
}
|
|
3338
|
-
return
|
|
3338
|
+
return pt.apply(void 0, r);
|
|
3339
3339
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3340
3340
|
if (this.isEOF())
|
|
3341
3341
|
return null;
|
|
3342
3342
|
var n = this.char();
|
|
3343
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3343
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
|
|
3344
3344
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3345
3345
|
var n = this.clonePosition();
|
|
3346
3346
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3356,7 +3356,7 @@ var Ci = (
|
|
|
3356
3356
|
case 125:
|
|
3357
3357
|
return this.bump(), {
|
|
3358
3358
|
val: {
|
|
3359
|
-
type:
|
|
3359
|
+
type: I.argument,
|
|
3360
3360
|
// value does not include the opening and closing braces.
|
|
3361
3361
|
value: i,
|
|
3362
3362
|
location: x(n, this.clonePosition())
|
|
@@ -3369,7 +3369,7 @@ var Ci = (
|
|
|
3369
3369
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3370
3370
|
}
|
|
3371
3371
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3372
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3372
|
+
var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
|
|
3373
3373
|
this.bumpTo(i);
|
|
3374
3374
|
var o = this.clonePosition(), a = x(t, o);
|
|
3375
3375
|
return { value: n, location: a };
|
|
@@ -3382,53 +3382,53 @@ var Ci = (
|
|
|
3382
3382
|
case "date":
|
|
3383
3383
|
case "time": {
|
|
3384
3384
|
this.bumpSpace();
|
|
3385
|
-
var
|
|
3385
|
+
var h = null;
|
|
3386
3386
|
if (this.bumpIf(",")) {
|
|
3387
3387
|
this.bumpSpace();
|
|
3388
|
-
var
|
|
3388
|
+
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3389
3389
|
if (d.err)
|
|
3390
3390
|
return d;
|
|
3391
|
-
var f =
|
|
3391
|
+
var f = ki(d.val);
|
|
3392
3392
|
if (f.length === 0)
|
|
3393
3393
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3394
|
-
var p = x(
|
|
3395
|
-
|
|
3394
|
+
var p = x(u, this.clonePosition());
|
|
3395
|
+
h = { style: f, styleLocation: p };
|
|
3396
3396
|
}
|
|
3397
3397
|
var g = this.tryParseArgumentClose(i);
|
|
3398
3398
|
if (g.err)
|
|
3399
3399
|
return g;
|
|
3400
3400
|
var v = x(i, this.clonePosition());
|
|
3401
|
-
if (
|
|
3402
|
-
var
|
|
3401
|
+
if (h && $t(h?.style, "::", 0)) {
|
|
3402
|
+
var N = Gi(h.style.slice(2));
|
|
3403
3403
|
if (s === "number") {
|
|
3404
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3404
|
+
var d = this.parseNumberSkeletonFromString(N, h.styleLocation);
|
|
3405
3405
|
return d.err ? d : {
|
|
3406
|
-
val: { type:
|
|
3406
|
+
val: { type: I.number, value: n, location: v, style: d.val },
|
|
3407
3407
|
err: null
|
|
3408
3408
|
};
|
|
3409
3409
|
} else {
|
|
3410
|
-
if (
|
|
3410
|
+
if (N.length === 0)
|
|
3411
3411
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3412
|
-
var
|
|
3413
|
-
this.locale && (
|
|
3412
|
+
var E = N;
|
|
3413
|
+
this.locale && (E = Bi(N, this.locale));
|
|
3414
3414
|
var f = {
|
|
3415
3415
|
type: re.dateTime,
|
|
3416
|
-
pattern:
|
|
3417
|
-
location:
|
|
3418
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3419
|
-
},
|
|
3416
|
+
pattern: E,
|
|
3417
|
+
location: h.styleLocation,
|
|
3418
|
+
parsedOptions: this.shouldParseSkeletons ? _i(E) : {}
|
|
3419
|
+
}, y = s === "date" ? I.date : I.time;
|
|
3420
3420
|
return {
|
|
3421
|
-
val: { type:
|
|
3421
|
+
val: { type: y, value: n, location: v, style: f },
|
|
3422
3422
|
err: null
|
|
3423
3423
|
};
|
|
3424
3424
|
}
|
|
3425
3425
|
}
|
|
3426
3426
|
return {
|
|
3427
3427
|
val: {
|
|
3428
|
-
type: s === "number" ?
|
|
3428
|
+
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3429
3429
|
value: n,
|
|
3430
3430
|
location: v,
|
|
3431
|
-
style: (o =
|
|
3431
|
+
style: (o = h?.style) !== null && o !== void 0 ? o : null
|
|
3432
3432
|
},
|
|
3433
3433
|
err: null
|
|
3434
3434
|
};
|
|
@@ -3436,11 +3436,11 @@ var Ci = (
|
|
|
3436
3436
|
case "plural":
|
|
3437
3437
|
case "selectordinal":
|
|
3438
3438
|
case "select": {
|
|
3439
|
-
var
|
|
3439
|
+
var B = this.clonePosition();
|
|
3440
3440
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3441
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
3441
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, Oe({}, B)));
|
|
3442
3442
|
this.bumpSpace();
|
|
3443
|
-
var w = this.parseIdentifierIfPossible(),
|
|
3443
|
+
var w = this.parseIdentifierIfPossible(), P = 0;
|
|
3444
3444
|
if (s !== "select" && w.value === "offset") {
|
|
3445
3445
|
if (!this.bumpIf(":"))
|
|
3446
3446
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3448,31 +3448,31 @@ var Ci = (
|
|
|
3448
3448
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3449
3449
|
if (d.err)
|
|
3450
3450
|
return d;
|
|
3451
|
-
this.bumpSpace(), w = this.parseIdentifierIfPossible(),
|
|
3451
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), P = d.val;
|
|
3452
3452
|
}
|
|
3453
|
-
var
|
|
3454
|
-
if (
|
|
3455
|
-
return
|
|
3453
|
+
var z = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3454
|
+
if (z.err)
|
|
3455
|
+
return z;
|
|
3456
3456
|
var g = this.tryParseArgumentClose(i);
|
|
3457
3457
|
if (g.err)
|
|
3458
3458
|
return g;
|
|
3459
|
-
var
|
|
3459
|
+
var F = x(i, this.clonePosition());
|
|
3460
3460
|
return s === "select" ? {
|
|
3461
3461
|
val: {
|
|
3462
|
-
type:
|
|
3462
|
+
type: I.select,
|
|
3463
3463
|
value: n,
|
|
3464
|
-
options:
|
|
3465
|
-
location:
|
|
3464
|
+
options: jt(z.val),
|
|
3465
|
+
location: F
|
|
3466
3466
|
},
|
|
3467
3467
|
err: null
|
|
3468
3468
|
} : {
|
|
3469
3469
|
val: {
|
|
3470
|
-
type:
|
|
3470
|
+
type: I.plural,
|
|
3471
3471
|
value: n,
|
|
3472
|
-
options:
|
|
3473
|
-
offset:
|
|
3472
|
+
options: jt(z.val),
|
|
3473
|
+
offset: P,
|
|
3474
3474
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3475
|
-
location:
|
|
3475
|
+
location: F
|
|
3476
3476
|
},
|
|
3477
3477
|
err: null
|
|
3478
3478
|
};
|
|
@@ -3520,7 +3520,7 @@ var Ci = (
|
|
|
3520
3520
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3521
3521
|
var n = [];
|
|
3522
3522
|
try {
|
|
3523
|
-
n =
|
|
3523
|
+
n = wi(t);
|
|
3524
3524
|
} catch {
|
|
3525
3525
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3526
3526
|
}
|
|
@@ -3529,25 +3529,25 @@ var Ci = (
|
|
|
3529
3529
|
type: re.number,
|
|
3530
3530
|
tokens: n,
|
|
3531
3531
|
location: r,
|
|
3532
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3532
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(n) : {}
|
|
3533
3533
|
},
|
|
3534
3534
|
err: null
|
|
3535
3535
|
};
|
|
3536
3536
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3537
|
-
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(),
|
|
3538
|
-
if (
|
|
3537
|
+
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
|
|
3538
|
+
if (h.length === 0) {
|
|
3539
3539
|
var d = this.clonePosition();
|
|
3540
3540
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3541
3541
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3542
3542
|
if (f.err)
|
|
3543
3543
|
return f;
|
|
3544
|
-
|
|
3544
|
+
u = x(d, this.clonePosition()), h = this.message.slice(d.offset, this.offset());
|
|
3545
3545
|
} else
|
|
3546
3546
|
break;
|
|
3547
3547
|
}
|
|
3548
|
-
if (l.has(
|
|
3549
|
-
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3550
|
-
|
|
3548
|
+
if (l.has(h))
|
|
3549
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3550
|
+
h === "other" && (a = !0), this.bumpSpace();
|
|
3551
3551
|
var p = this.clonePosition();
|
|
3552
3552
|
if (!this.bumpIf("{"))
|
|
3553
3553
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3558,12 +3558,12 @@ var Ci = (
|
|
|
3558
3558
|
if (v.err)
|
|
3559
3559
|
return v;
|
|
3560
3560
|
s.push([
|
|
3561
|
-
|
|
3561
|
+
h,
|
|
3562
3562
|
{
|
|
3563
3563
|
value: g.val,
|
|
3564
3564
|
location: x(p, this.clonePosition())
|
|
3565
3565
|
}
|
|
3566
|
-
]), l.add(
|
|
3566
|
+
]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
|
|
3567
3567
|
}
|
|
3568
3568
|
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3569
3569
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3577,7 +3577,7 @@ var Ci = (
|
|
|
3577
3577
|
break;
|
|
3578
3578
|
}
|
|
3579
3579
|
var l = x(i, this.clonePosition());
|
|
3580
|
-
return o ? (a *= n,
|
|
3580
|
+
return o ? (a *= n, Ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3581
3581
|
}, e.prototype.offset = function() {
|
|
3582
3582
|
return this.position.offset;
|
|
3583
3583
|
}, e.prototype.isEOF = function() {
|
|
@@ -3592,7 +3592,7 @@ var Ci = (
|
|
|
3592
3592
|
var t = this.position.offset;
|
|
3593
3593
|
if (t >= this.message.length)
|
|
3594
3594
|
throw Error("out of bound");
|
|
3595
|
-
var r =
|
|
3595
|
+
var r = Ur(this.message, t);
|
|
3596
3596
|
if (r === void 0)
|
|
3597
3597
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3598
3598
|
return r;
|
|
@@ -3611,7 +3611,7 @@ var Ci = (
|
|
|
3611
3611
|
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);
|
|
3612
3612
|
}
|
|
3613
3613
|
}, e.prototype.bumpIf = function(t) {
|
|
3614
|
-
if (
|
|
3614
|
+
if ($t(this.message, t, this.offset())) {
|
|
3615
3615
|
for (var r = 0; r < t.length; r++)
|
|
3616
3616
|
this.bump();
|
|
3617
3617
|
return !0;
|
|
@@ -3633,7 +3633,7 @@ var Ci = (
|
|
|
3633
3633
|
break;
|
|
3634
3634
|
}
|
|
3635
3635
|
}, e.prototype.bumpSpace = function() {
|
|
3636
|
-
for (; !this.isEOF() &&
|
|
3636
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3637
3637
|
this.bump();
|
|
3638
3638
|
}, e.prototype.peek = function() {
|
|
3639
3639
|
if (this.isEOF())
|
|
@@ -3643,47 +3643,47 @@ var Ci = (
|
|
|
3643
3643
|
}, e;
|
|
3644
3644
|
}()
|
|
3645
3645
|
);
|
|
3646
|
-
function
|
|
3646
|
+
function vt(e) {
|
|
3647
3647
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3648
3648
|
}
|
|
3649
|
-
function
|
|
3650
|
-
return
|
|
3649
|
+
function ji(e) {
|
|
3650
|
+
return vt(e) || e === 47;
|
|
3651
3651
|
}
|
|
3652
|
-
function
|
|
3652
|
+
function Wi(e) {
|
|
3653
3653
|
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;
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function Gr(e) {
|
|
3656
3656
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3658
|
+
function Vi(e) {
|
|
3659
3659
|
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;
|
|
3660
3660
|
}
|
|
3661
|
-
function
|
|
3661
|
+
function bt(e) {
|
|
3662
3662
|
e.forEach(function(t) {
|
|
3663
|
-
if (delete t.location,
|
|
3663
|
+
if (delete t.location, Pr(t) || Hr(t))
|
|
3664
3664
|
for (var r in t.options)
|
|
3665
|
-
delete t.options[r].location,
|
|
3665
|
+
delete t.options[r].location, bt(t.options[r].value);
|
|
3666
3666
|
else
|
|
3667
|
-
|
|
3667
|
+
Br(t) && Or(t.style) || (Ar(t) || Tr(t)) && dt(t.style) ? delete t.style.location : Mr(t) && bt(t.children);
|
|
3668
3668
|
});
|
|
3669
3669
|
}
|
|
3670
|
-
function
|
|
3671
|
-
t === void 0 && (t = {}), t =
|
|
3672
|
-
var r = new
|
|
3670
|
+
function Xi(e, t) {
|
|
3671
|
+
t === void 0 && (t = {}), t = Oe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3672
|
+
var r = new $i(e, t).parse();
|
|
3673
3673
|
if (r.err) {
|
|
3674
3674
|
var n = SyntaxError(_[r.err.kind]);
|
|
3675
3675
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3676
3676
|
}
|
|
3677
|
-
return t?.captureLocation ||
|
|
3677
|
+
return t?.captureLocation || bt(r.val), r.val;
|
|
3678
3678
|
}
|
|
3679
3679
|
var ne;
|
|
3680
3680
|
(function(e) {
|
|
3681
3681
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3682
3682
|
})(ne || (ne = {}));
|
|
3683
|
-
var
|
|
3683
|
+
var ke = (
|
|
3684
3684
|
/** @class */
|
|
3685
3685
|
function(e) {
|
|
3686
|
-
|
|
3686
|
+
Ge(t, e);
|
|
3687
3687
|
function t(r, n, i) {
|
|
3688
3688
|
var o = e.call(this, r) || this;
|
|
3689
3689
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3692,155 +3692,155 @@ var Fe = (
|
|
|
3692
3692
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3693
3693
|
}, t;
|
|
3694
3694
|
}(Error)
|
|
3695
|
-
),
|
|
3695
|
+
), Vt = (
|
|
3696
3696
|
/** @class */
|
|
3697
3697
|
function(e) {
|
|
3698
|
-
|
|
3698
|
+
Ge(t, e);
|
|
3699
3699
|
function t(r, n, i, o) {
|
|
3700
3700
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
|
|
3701
3701
|
}
|
|
3702
3702
|
return t;
|
|
3703
|
-
}(
|
|
3704
|
-
),
|
|
3703
|
+
}(ke)
|
|
3704
|
+
), zi = (
|
|
3705
3705
|
/** @class */
|
|
3706
3706
|
function(e) {
|
|
3707
|
-
|
|
3707
|
+
Ge(t, e);
|
|
3708
3708
|
function t(r, n, i) {
|
|
3709
3709
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
|
|
3710
3710
|
}
|
|
3711
3711
|
return t;
|
|
3712
|
-
}(
|
|
3713
|
-
),
|
|
3712
|
+
}(ke)
|
|
3713
|
+
), Zi = (
|
|
3714
3714
|
/** @class */
|
|
3715
3715
|
function(e) {
|
|
3716
|
-
|
|
3716
|
+
Ge(t, e);
|
|
3717
3717
|
function t(r, n) {
|
|
3718
3718
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
|
|
3719
3719
|
}
|
|
3720
3720
|
return t;
|
|
3721
|
-
}(
|
|
3722
|
-
),
|
|
3721
|
+
}(ke)
|
|
3722
|
+
), O;
|
|
3723
3723
|
(function(e) {
|
|
3724
3724
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3725
|
-
})(
|
|
3726
|
-
function
|
|
3725
|
+
})(O || (O = {}));
|
|
3726
|
+
function Qi(e) {
|
|
3727
3727
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3728
3728
|
var n = t[t.length - 1];
|
|
3729
|
-
return !n || n.type !==
|
|
3729
|
+
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3730
3730
|
}, []);
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function Yi(e) {
|
|
3733
3733
|
return typeof e == "function";
|
|
3734
3734
|
}
|
|
3735
|
-
function
|
|
3736
|
-
if (e.length === 1 &&
|
|
3735
|
+
function Pe(e, t, r, n, i, o, a) {
|
|
3736
|
+
if (e.length === 1 && Ut(e[0]))
|
|
3737
3737
|
return [
|
|
3738
3738
|
{
|
|
3739
|
-
type:
|
|
3739
|
+
type: O.literal,
|
|
3740
3740
|
value: e[0].value
|
|
3741
3741
|
}
|
|
3742
3742
|
];
|
|
3743
|
-
for (var s = [], l = 0,
|
|
3744
|
-
var
|
|
3745
|
-
if (
|
|
3743
|
+
for (var s = [], l = 0, h = e; l < h.length; l++) {
|
|
3744
|
+
var u = h[l];
|
|
3745
|
+
if (Ut(u)) {
|
|
3746
3746
|
s.push({
|
|
3747
|
-
type:
|
|
3748
|
-
value:
|
|
3747
|
+
type: O.literal,
|
|
3748
|
+
value: u.value
|
|
3749
3749
|
});
|
|
3750
3750
|
continue;
|
|
3751
3751
|
}
|
|
3752
|
-
if (
|
|
3752
|
+
if (bi(u)) {
|
|
3753
3753
|
typeof o == "number" && s.push({
|
|
3754
|
-
type:
|
|
3754
|
+
type: O.literal,
|
|
3755
3755
|
value: r.getNumberFormat(t).format(o)
|
|
3756
3756
|
});
|
|
3757
3757
|
continue;
|
|
3758
3758
|
}
|
|
3759
|
-
var d =
|
|
3759
|
+
var d = u.value;
|
|
3760
3760
|
if (!(i && d in i))
|
|
3761
|
-
throw new
|
|
3761
|
+
throw new Zi(d, a);
|
|
3762
3762
|
var f = i[d];
|
|
3763
|
-
if (
|
|
3763
|
+
if (vi(u)) {
|
|
3764
3764
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3765
|
-
type: typeof f == "string" ?
|
|
3765
|
+
type: typeof f == "string" ? O.literal : O.object,
|
|
3766
3766
|
value: f
|
|
3767
3767
|
});
|
|
3768
3768
|
continue;
|
|
3769
3769
|
}
|
|
3770
|
-
if (
|
|
3771
|
-
var p = typeof
|
|
3770
|
+
if (Ar(u)) {
|
|
3771
|
+
var p = typeof u.style == "string" ? n.date[u.style] : dt(u.style) ? u.style.parsedOptions : void 0;
|
|
3772
3772
|
s.push({
|
|
3773
|
-
type:
|
|
3773
|
+
type: O.literal,
|
|
3774
3774
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3775
3775
|
});
|
|
3776
3776
|
continue;
|
|
3777
3777
|
}
|
|
3778
|
-
if (
|
|
3779
|
-
var p = typeof
|
|
3778
|
+
if (Tr(u)) {
|
|
3779
|
+
var p = typeof u.style == "string" ? n.time[u.style] : dt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3780
3780
|
s.push({
|
|
3781
|
-
type:
|
|
3781
|
+
type: O.literal,
|
|
3782
3782
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3783
3783
|
});
|
|
3784
3784
|
continue;
|
|
3785
3785
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var p = typeof
|
|
3786
|
+
if (Br(u)) {
|
|
3787
|
+
var p = typeof u.style == "string" ? n.number[u.style] : Or(u.style) ? u.style.parsedOptions : void 0;
|
|
3788
3788
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3789
|
-
type:
|
|
3789
|
+
type: O.literal,
|
|
3790
3790
|
value: r.getNumberFormat(t, p).format(f)
|
|
3791
3791
|
});
|
|
3792
3792
|
continue;
|
|
3793
3793
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
var g =
|
|
3796
|
-
if (!
|
|
3797
|
-
throw new
|
|
3798
|
-
var
|
|
3799
|
-
return
|
|
3794
|
+
if (Mr(u)) {
|
|
3795
|
+
var g = u.children, v = u.value, N = i[v];
|
|
3796
|
+
if (!Yi(N))
|
|
3797
|
+
throw new zi(v, "function", a);
|
|
3798
|
+
var E = Pe(g, t, r, n, i, o), y = N(E.map(function(P) {
|
|
3799
|
+
return P.value;
|
|
3800
3800
|
}));
|
|
3801
|
-
Array.isArray(
|
|
3801
|
+
Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(P) {
|
|
3802
3802
|
return {
|
|
3803
|
-
type: typeof
|
|
3804
|
-
value:
|
|
3803
|
+
type: typeof P == "string" ? O.literal : O.object,
|
|
3804
|
+
value: P
|
|
3805
3805
|
};
|
|
3806
3806
|
}));
|
|
3807
3807
|
}
|
|
3808
|
-
if (
|
|
3809
|
-
var
|
|
3810
|
-
if (!
|
|
3811
|
-
throw new
|
|
3812
|
-
s.push.apply(s,
|
|
3808
|
+
if (Pr(u)) {
|
|
3809
|
+
var B = u.options[f] || u.options.other;
|
|
3810
|
+
if (!B)
|
|
3811
|
+
throw new Vt(u.value, f, Object.keys(u.options), a);
|
|
3812
|
+
s.push.apply(s, Pe(B.value, t, r, n, i));
|
|
3813
3813
|
continue;
|
|
3814
3814
|
}
|
|
3815
|
-
if (
|
|
3816
|
-
var
|
|
3817
|
-
if (!
|
|
3815
|
+
if (Hr(u)) {
|
|
3816
|
+
var B = u.options["=".concat(f)];
|
|
3817
|
+
if (!B) {
|
|
3818
3818
|
if (!Intl.PluralRules)
|
|
3819
|
-
throw new
|
|
3819
|
+
throw new ke(`Intl.PluralRules is not available in this environment.
|
|
3820
3820
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3821
3821
|
`, ne.MISSING_INTL_API, a);
|
|
3822
|
-
var w = r.getPluralRules(t, { type:
|
|
3823
|
-
|
|
3822
|
+
var w = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3823
|
+
B = u.options[w] || u.options.other;
|
|
3824
3824
|
}
|
|
3825
|
-
if (!
|
|
3826
|
-
throw new
|
|
3827
|
-
s.push.apply(s,
|
|
3825
|
+
if (!B)
|
|
3826
|
+
throw new Vt(u.value, f, Object.keys(u.options), a);
|
|
3827
|
+
s.push.apply(s, Pe(B.value, t, r, n, i, f - (u.offset || 0)));
|
|
3828
3828
|
continue;
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
|
-
return
|
|
3831
|
+
return Qi(s);
|
|
3832
3832
|
}
|
|
3833
|
-
function
|
|
3834
|
-
return t ?
|
|
3835
|
-
return r[n] =
|
|
3833
|
+
function Ji(e, t) {
|
|
3834
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3835
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3836
3836
|
}, {})) : e;
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function qi(e, t) {
|
|
3839
3839
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3840
|
-
return r[n] =
|
|
3841
|
-
},
|
|
3840
|
+
return r[n] = Ji(e[n], t[n]), r;
|
|
3841
|
+
}, G({}, e)) : e;
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function tt(e) {
|
|
3844
3844
|
return {
|
|
3845
3845
|
create: function() {
|
|
3846
3846
|
return {
|
|
@@ -3854,39 +3854,39 @@ function Qe(e) {
|
|
|
3854
3854
|
}
|
|
3855
3855
|
};
|
|
3856
3856
|
}
|
|
3857
|
-
function
|
|
3857
|
+
function Ki(e) {
|
|
3858
3858
|
return e === void 0 && (e = {
|
|
3859
3859
|
number: {},
|
|
3860
3860
|
dateTime: {},
|
|
3861
3861
|
pluralRules: {}
|
|
3862
3862
|
}), {
|
|
3863
|
-
getNumberFormat:
|
|
3863
|
+
getNumberFormat: qe(function() {
|
|
3864
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3865
3865
|
r[n] = arguments[n];
|
|
3866
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3866
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
|
|
3867
3867
|
}, {
|
|
3868
|
-
cache:
|
|
3869
|
-
strategy:
|
|
3868
|
+
cache: tt(e.number),
|
|
3869
|
+
strategy: Ke.variadic
|
|
3870
3870
|
}),
|
|
3871
|
-
getDateTimeFormat:
|
|
3871
|
+
getDateTimeFormat: qe(function() {
|
|
3872
3872
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3873
3873
|
r[n] = arguments[n];
|
|
3874
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3874
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
|
|
3875
3875
|
}, {
|
|
3876
|
-
cache:
|
|
3877
|
-
strategy:
|
|
3876
|
+
cache: tt(e.dateTime),
|
|
3877
|
+
strategy: Ke.variadic
|
|
3878
3878
|
}),
|
|
3879
|
-
getPluralRules:
|
|
3879
|
+
getPluralRules: qe(function() {
|
|
3880
3880
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3881
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3882
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
|
|
3883
3883
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3884
|
+
cache: tt(e.pluralRules),
|
|
3885
|
+
strategy: Ke.variadic
|
|
3886
3886
|
})
|
|
3887
3887
|
};
|
|
3888
3888
|
}
|
|
3889
|
-
var
|
|
3889
|
+
var eo = (
|
|
3890
3890
|
/** @class */
|
|
3891
3891
|
function() {
|
|
3892
3892
|
function e(t, r, n, i) {
|
|
@@ -3897,15 +3897,15 @@ var zi = (
|
|
|
3897
3897
|
dateTime: {},
|
|
3898
3898
|
pluralRules: {}
|
|
3899
3899
|
}, this.format = function(l) {
|
|
3900
|
-
var
|
|
3901
|
-
if (
|
|
3902
|
-
return
|
|
3903
|
-
var
|
|
3904
|
-
return !d.length || f.type !==
|
|
3900
|
+
var h = o.formatToParts(l);
|
|
3901
|
+
if (h.length === 1)
|
|
3902
|
+
return h[0].value;
|
|
3903
|
+
var u = h.reduce(function(d, f) {
|
|
3904
|
+
return !d.length || f.type !== O.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
|
3905
3905
|
}, []);
|
|
3906
|
-
return
|
|
3906
|
+
return u.length <= 1 ? u[0] || "" : u;
|
|
3907
3907
|
}, this.formatToParts = function(l) {
|
|
3908
|
-
return
|
|
3908
|
+
return Pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3909
3909
|
}, this.resolvedOptions = function() {
|
|
3910
3910
|
var l;
|
|
3911
3911
|
return {
|
|
@@ -3918,13 +3918,13 @@ var zi = (
|
|
|
3918
3918
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3919
3919
|
var a = i || {};
|
|
3920
3920
|
a.formatters;
|
|
3921
|
-
var s =
|
|
3922
|
-
this.ast = e.__parse(t,
|
|
3921
|
+
var s = ui(a, ["formatters"]);
|
|
3922
|
+
this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
|
|
3923
3923
|
} else
|
|
3924
3924
|
this.ast = t;
|
|
3925
3925
|
if (!Array.isArray(this.ast))
|
|
3926
3926
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3927
|
-
this.formats =
|
|
3927
|
+
this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
|
|
3928
3928
|
}
|
|
3929
3929
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3930
3930
|
get: function() {
|
|
@@ -3937,7 +3937,7 @@ var zi = (
|
|
|
3937
3937
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3938
3938
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3939
3939
|
}
|
|
3940
|
-
}, e.__parse =
|
|
3940
|
+
}, e.__parse = Xi, e.formats = {
|
|
3941
3941
|
number: {
|
|
3942
3942
|
integer: {
|
|
3943
3943
|
maximumFractionDigits: 0
|
|
@@ -3998,7 +3998,7 @@ var zi = (
|
|
|
3998
3998
|
}, e;
|
|
3999
3999
|
}()
|
|
4000
4000
|
);
|
|
4001
|
-
function
|
|
4001
|
+
function to(e, t) {
|
|
4002
4002
|
if (t == null)
|
|
4003
4003
|
return;
|
|
4004
4004
|
if (t in e)
|
|
@@ -4019,92 +4019,92 @@ function Zi(e, t) {
|
|
|
4019
4019
|
n = void 0;
|
|
4020
4020
|
return n;
|
|
4021
4021
|
}
|
|
4022
|
-
const V = {},
|
|
4022
|
+
const V = {}, ro = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), kr = (e, t) => {
|
|
4023
4023
|
if (t == null)
|
|
4024
4024
|
return;
|
|
4025
4025
|
if (t in V && e in V[t])
|
|
4026
4026
|
return V[t][e];
|
|
4027
|
-
const r =
|
|
4027
|
+
const r = $e(t);
|
|
4028
4028
|
for (let n = 0; n < r.length; n++) {
|
|
4029
|
-
const i = r[n], o =
|
|
4029
|
+
const i = r[n], o = io(i, e);
|
|
4030
4030
|
if (o)
|
|
4031
|
-
return
|
|
4031
|
+
return ro(e, t, o);
|
|
4032
4032
|
}
|
|
4033
4033
|
};
|
|
4034
|
-
let
|
|
4035
|
-
const
|
|
4036
|
-
function
|
|
4037
|
-
return
|
|
4034
|
+
let wt;
|
|
4035
|
+
const xe = De({});
|
|
4036
|
+
function no(e) {
|
|
4037
|
+
return wt[e] || null;
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4040
|
-
return e in
|
|
4039
|
+
function $r(e) {
|
|
4040
|
+
return e in wt;
|
|
4041
4041
|
}
|
|
4042
|
-
function
|
|
4043
|
-
if (
|
|
4042
|
+
function io(e, t) {
|
|
4043
|
+
if (!$r(e))
|
|
4044
4044
|
return null;
|
|
4045
|
-
const r =
|
|
4046
|
-
return
|
|
4045
|
+
const r = no(e);
|
|
4046
|
+
return to(r, t);
|
|
4047
4047
|
}
|
|
4048
|
-
function
|
|
4048
|
+
function oo(e) {
|
|
4049
4049
|
if (e == null)
|
|
4050
4050
|
return;
|
|
4051
|
-
const t =
|
|
4051
|
+
const t = $e(e);
|
|
4052
4052
|
for (let r = 0; r < t.length; r++) {
|
|
4053
4053
|
const n = t[r];
|
|
4054
|
-
if (
|
|
4054
|
+
if ($r(n))
|
|
4055
4055
|
return n;
|
|
4056
4056
|
}
|
|
4057
4057
|
}
|
|
4058
|
-
function
|
|
4059
|
-
delete V[e],
|
|
4058
|
+
function jr(e, ...t) {
|
|
4059
|
+
delete V[e], xe.update((r) => (r[e] = li.all([r[e] || {}, ...t]), r));
|
|
4060
4060
|
}
|
|
4061
|
-
|
|
4062
|
-
[
|
|
4061
|
+
se(
|
|
4062
|
+
[xe],
|
|
4063
4063
|
([e]) => Object.keys(e)
|
|
4064
4064
|
);
|
|
4065
|
-
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4068
|
-
|
|
4065
|
+
xe.subscribe((e) => wt = e);
|
|
4066
|
+
const He = {};
|
|
4067
|
+
function ao(e, t) {
|
|
4068
|
+
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
4069
4069
|
}
|
|
4070
|
-
function
|
|
4071
|
-
return
|
|
4070
|
+
function Wr(e) {
|
|
4071
|
+
return He[e];
|
|
4072
4072
|
}
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4075
|
-
const r =
|
|
4073
|
+
function so(e) {
|
|
4074
|
+
return $e(e).map((t) => {
|
|
4075
|
+
const r = Wr(t);
|
|
4076
4076
|
return [t, r ? [...r] : []];
|
|
4077
4077
|
}).filter(([, t]) => t.length > 0);
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4080
|
-
return e == null ? !1 :
|
|
4079
|
+
function yt(e) {
|
|
4080
|
+
return e == null ? !1 : $e(e).some(
|
|
4081
4081
|
(t) => {
|
|
4082
4082
|
var r;
|
|
4083
|
-
return (r =
|
|
4083
|
+
return (r = Wr(t)) == null ? void 0 : r.size;
|
|
4084
4084
|
}
|
|
4085
4085
|
);
|
|
4086
4086
|
}
|
|
4087
|
-
function
|
|
4087
|
+
function lo(e, t) {
|
|
4088
4088
|
return Promise.all(
|
|
4089
|
-
t.map((n) => (
|
|
4090
|
-
).then((n) =>
|
|
4091
|
-
}
|
|
4092
|
-
const
|
|
4093
|
-
function
|
|
4094
|
-
if (!
|
|
4095
|
-
return e in
|
|
4096
|
-
const t =
|
|
4097
|
-
return
|
|
4089
|
+
t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
|
|
4090
|
+
).then((n) => jr(e, ...n));
|
|
4091
|
+
}
|
|
4092
|
+
const me = {};
|
|
4093
|
+
function Vr(e) {
|
|
4094
|
+
if (!yt(e))
|
|
4095
|
+
return e in me ? me[e] : Promise.resolve();
|
|
4096
|
+
const t = so(e);
|
|
4097
|
+
return me[e] = Promise.all(
|
|
4098
4098
|
t.map(
|
|
4099
|
-
([r, n]) =>
|
|
4099
|
+
([r, n]) => lo(r, n)
|
|
4100
4100
|
)
|
|
4101
4101
|
).then(() => {
|
|
4102
|
-
if (
|
|
4103
|
-
return
|
|
4104
|
-
delete
|
|
4105
|
-
}),
|
|
4102
|
+
if (yt(e))
|
|
4103
|
+
return Vr(e);
|
|
4104
|
+
delete me[e];
|
|
4105
|
+
}), me[e];
|
|
4106
4106
|
}
|
|
4107
|
-
const
|
|
4107
|
+
const uo = {
|
|
4108
4108
|
number: {
|
|
4109
4109
|
scientific: { notation: "scientific" },
|
|
4110
4110
|
engineering: { notation: "engineering" },
|
|
@@ -4133,159 +4133,159 @@ const ro = {
|
|
|
4133
4133
|
timeZoneName: "short"
|
|
4134
4134
|
}
|
|
4135
4135
|
}
|
|
4136
|
-
},
|
|
4136
|
+
}, ho = {
|
|
4137
4137
|
fallbackLocale: null,
|
|
4138
4138
|
loadingDelay: 200,
|
|
4139
|
-
formats:
|
|
4139
|
+
formats: uo,
|
|
4140
4140
|
warnOnMissingMessages: !0,
|
|
4141
4141
|
handleMissingMessage: void 0,
|
|
4142
4142
|
ignoreTag: !0
|
|
4143
|
-
},
|
|
4143
|
+
}, co = ho;
|
|
4144
4144
|
function ie() {
|
|
4145
|
-
return
|
|
4145
|
+
return co;
|
|
4146
4146
|
}
|
|
4147
|
-
const
|
|
4148
|
-
var
|
|
4147
|
+
const rt = De(!1);
|
|
4148
|
+
var fo = Object.defineProperty, mo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4149
4149
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4150
|
+
go.call(t, r) && zt(e, r, t[r]);
|
|
4151
|
+
if (Xt)
|
|
4152
|
+
for (var r of Xt(t))
|
|
4153
|
+
vo.call(t, r) && zt(e, r, t[r]);
|
|
4154
4154
|
return e;
|
|
4155
|
-
},
|
|
4156
|
-
let
|
|
4157
|
-
const
|
|
4158
|
-
function
|
|
4155
|
+
}, yo = (e, t) => mo(e, po(t));
|
|
4156
|
+
let _t;
|
|
4157
|
+
const Le = De(null);
|
|
4158
|
+
function Zt(e) {
|
|
4159
4159
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4160
4160
|
}
|
|
4161
|
-
function
|
|
4162
|
-
const r =
|
|
4163
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4161
|
+
function $e(e, t = ie().fallbackLocale) {
|
|
4162
|
+
const r = Zt(e);
|
|
4163
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
|
|
4164
4164
|
}
|
|
4165
|
-
function
|
|
4166
|
-
return
|
|
4165
|
+
function Q() {
|
|
4166
|
+
return _t ?? void 0;
|
|
4167
4167
|
}
|
|
4168
|
-
|
|
4169
|
-
|
|
4168
|
+
Le.subscribe((e) => {
|
|
4169
|
+
_t = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4170
4170
|
});
|
|
4171
|
-
const
|
|
4172
|
-
if (e &&
|
|
4171
|
+
const _o = (e) => {
|
|
4172
|
+
if (e && oo(e) && yt(e)) {
|
|
4173
4173
|
const { loadingDelay: t } = ie();
|
|
4174
4174
|
let r;
|
|
4175
|
-
return typeof window < "u" &&
|
|
4176
|
-
() =>
|
|
4175
|
+
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
4176
|
+
() => rt.set(!0),
|
|
4177
4177
|
t
|
|
4178
|
-
) :
|
|
4179
|
-
|
|
4178
|
+
) : rt.set(!0), Vr(e).then(() => {
|
|
4179
|
+
Le.set(e);
|
|
4180
4180
|
}).finally(() => {
|
|
4181
|
-
clearTimeout(r),
|
|
4181
|
+
clearTimeout(r), rt.set(!1);
|
|
4182
4182
|
});
|
|
4183
4183
|
}
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4186
|
-
set:
|
|
4187
|
-
}),
|
|
4184
|
+
return Le.set(e);
|
|
4185
|
+
}, le = yo(bo({}, Le), {
|
|
4186
|
+
set: _o
|
|
4187
|
+
}), je = (e) => {
|
|
4188
4188
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4189
4189
|
return (n) => {
|
|
4190
4190
|
const i = JSON.stringify(n);
|
|
4191
4191
|
return i in t ? t[i] : t[i] = e(n);
|
|
4192
4192
|
};
|
|
4193
4193
|
};
|
|
4194
|
-
var
|
|
4194
|
+
var xo = Object.defineProperty, Ce = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
4195
4195
|
for (var r in t || (t = {}))
|
|
4196
|
-
|
|
4197
|
-
if (
|
|
4198
|
-
for (var r of
|
|
4199
|
-
|
|
4196
|
+
Xr.call(t, r) && Qt(e, r, t[r]);
|
|
4197
|
+
if (Ce)
|
|
4198
|
+
for (var r of Ce(t))
|
|
4199
|
+
zr.call(t, r) && Qt(e, r, t[r]);
|
|
4200
4200
|
return e;
|
|
4201
|
-
},
|
|
4201
|
+
}, ue = (e, t) => {
|
|
4202
4202
|
var r = {};
|
|
4203
4203
|
for (var n in e)
|
|
4204
|
-
|
|
4205
|
-
if (e != null &&
|
|
4206
|
-
for (var n of
|
|
4207
|
-
t.indexOf(n) < 0 &&
|
|
4204
|
+
Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4205
|
+
if (e != null && Ce)
|
|
4206
|
+
for (var n of Ce(e))
|
|
4207
|
+
t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
|
|
4208
4208
|
return r;
|
|
4209
4209
|
};
|
|
4210
|
-
const
|
|
4210
|
+
const ye = (e, t) => {
|
|
4211
4211
|
const { formats: r } = ie();
|
|
4212
4212
|
if (e in r && t in r[e])
|
|
4213
4213
|
return r[e][t];
|
|
4214
4214
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4215
|
-
},
|
|
4215
|
+
}, wo = je(
|
|
4216
4216
|
(e) => {
|
|
4217
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4217
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4218
4218
|
if (r == null)
|
|
4219
4219
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4220
|
-
return n && (i =
|
|
4220
|
+
return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
|
|
4221
4221
|
}
|
|
4222
|
-
),
|
|
4222
|
+
), Eo = je(
|
|
4223
4223
|
(e) => {
|
|
4224
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4224
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4225
4225
|
if (r == null)
|
|
4226
4226
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4227
|
-
return n ? i =
|
|
4227
|
+
return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4228
4228
|
}
|
|
4229
|
-
),
|
|
4229
|
+
), No = je(
|
|
4230
4230
|
(e) => {
|
|
4231
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4231
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4232
4232
|
if (r == null)
|
|
4233
4233
|
throw new Error(
|
|
4234
4234
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4235
4235
|
);
|
|
4236
|
-
return n ? i =
|
|
4236
|
+
return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4237
4237
|
}
|
|
4238
|
-
),
|
|
4238
|
+
), So = (e = {}) => {
|
|
4239
4239
|
var t = e, {
|
|
4240
|
-
locale: r =
|
|
4241
|
-
} = t, n =
|
|
4240
|
+
locale: r = Q()
|
|
4241
|
+
} = t, n = ue(t, [
|
|
4242
4242
|
"locale"
|
|
4243
4243
|
]);
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4244
|
+
return wo(Et({ locale: r }, n));
|
|
4245
|
+
}, Io = (e = {}) => {
|
|
4246
4246
|
var t = e, {
|
|
4247
|
-
locale: r =
|
|
4248
|
-
} = t, n =
|
|
4247
|
+
locale: r = Q()
|
|
4248
|
+
} = t, n = ue(t, [
|
|
4249
4249
|
"locale"
|
|
4250
4250
|
]);
|
|
4251
|
-
return
|
|
4252
|
-
},
|
|
4251
|
+
return Eo(Et({ locale: r }, n));
|
|
4252
|
+
}, Bo = (e = {}) => {
|
|
4253
4253
|
var t = e, {
|
|
4254
|
-
locale: r =
|
|
4255
|
-
} = t, n =
|
|
4254
|
+
locale: r = Q()
|
|
4255
|
+
} = t, n = ue(t, [
|
|
4256
4256
|
"locale"
|
|
4257
4257
|
]);
|
|
4258
|
-
return
|
|
4259
|
-
},
|
|
4258
|
+
return No(Et({ locale: r }, n));
|
|
4259
|
+
}, Ao = je(
|
|
4260
4260
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4261
|
-
(e, t =
|
|
4261
|
+
(e, t = Q()) => new eo(e, t, ie().formats, {
|
|
4262
4262
|
ignoreTag: ie().ignoreTag
|
|
4263
4263
|
})
|
|
4264
|
-
),
|
|
4264
|
+
), To = (e, t = {}) => {
|
|
4265
4265
|
var r, n, i, o;
|
|
4266
4266
|
let a = t;
|
|
4267
4267
|
typeof e == "object" && (a = e, e = a.id);
|
|
4268
4268
|
const {
|
|
4269
4269
|
values: s,
|
|
4270
|
-
locale: l =
|
|
4271
|
-
default:
|
|
4270
|
+
locale: l = Q(),
|
|
4271
|
+
default: h
|
|
4272
4272
|
} = a;
|
|
4273
4273
|
if (l == null)
|
|
4274
4274
|
throw new Error(
|
|
4275
4275
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4276
4276
|
);
|
|
4277
|
-
let
|
|
4278
|
-
if (!
|
|
4279
|
-
|
|
4280
|
-
else if (typeof
|
|
4277
|
+
let u = kr(e, l);
|
|
4278
|
+
if (!u)
|
|
4279
|
+
u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4280
|
+
else if (typeof u != "string")
|
|
4281
4281
|
return console.warn(
|
|
4282
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4283
|
-
),
|
|
4282
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4283
|
+
), u;
|
|
4284
4284
|
if (!s)
|
|
4285
|
-
return
|
|
4286
|
-
let d =
|
|
4285
|
+
return u;
|
|
4286
|
+
let d = u;
|
|
4287
4287
|
try {
|
|
4288
|
-
d =
|
|
4288
|
+
d = Ao(u, l).format(s);
|
|
4289
4289
|
} catch (f) {
|
|
4290
4290
|
f instanceof Error && console.warn(
|
|
4291
4291
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4293,20 +4293,20 @@ const pe = (e, t) => {
|
|
|
4293
4293
|
);
|
|
4294
4294
|
}
|
|
4295
4295
|
return d;
|
|
4296
|
-
},
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
window.emWidgets = { topic:
|
|
4302
|
-
const
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4305
|
-
}
|
|
4306
|
-
function
|
|
4307
|
-
|
|
4308
|
-
}
|
|
4309
|
-
const
|
|
4296
|
+
}, Po = (e, t) => Bo(t).format(e), Ho = (e, t) => Io(t).format(e), Mo = (e, t) => So(t).format(e), Oo = (e, t = Q()) => kr(e, t), Lo = se([le, xe], () => To);
|
|
4297
|
+
se([le], () => Po);
|
|
4298
|
+
se([le], () => Ho);
|
|
4299
|
+
se([le], () => Mo);
|
|
4300
|
+
se([le, xe], () => Oo);
|
|
4301
|
+
window.emWidgets = { topic: Vn };
|
|
4302
|
+
const Yt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4303
|
+
function Jt(e, t) {
|
|
4304
|
+
jr(e, t);
|
|
4305
|
+
}
|
|
4306
|
+
function Co(e) {
|
|
4307
|
+
le.set(e);
|
|
4308
|
+
}
|
|
4309
|
+
const qt = {
|
|
4310
4310
|
en: {
|
|
4311
4311
|
secondaryMenuTitle: "Categories"
|
|
4312
4312
|
},
|
|
@@ -4341,13 +4341,13 @@ const Zt = {
|
|
|
4341
4341
|
secondaryMenuTitle: "Categories"
|
|
4342
4342
|
}
|
|
4343
4343
|
};
|
|
4344
|
-
function
|
|
4344
|
+
function Fo(e, t) {
|
|
4345
4345
|
if (e) {
|
|
4346
4346
|
const r = document.createElement("style");
|
|
4347
4347
|
r.innerHTML = t, e.appendChild(r);
|
|
4348
4348
|
}
|
|
4349
4349
|
}
|
|
4350
|
-
function
|
|
4350
|
+
function Ro(e, t) {
|
|
4351
4351
|
const r = new URL(t);
|
|
4352
4352
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4353
4353
|
const i = document.createElement("style");
|
|
@@ -4356,7 +4356,7 @@ function Po(e, t) {
|
|
|
4356
4356
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4357
4357
|
});
|
|
4358
4358
|
}
|
|
4359
|
-
function
|
|
4359
|
+
function Uo(e, t, r) {
|
|
4360
4360
|
if (window.emMessageBus) {
|
|
4361
4361
|
const n = document.createElement("style");
|
|
4362
4362
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4364,385 +4364,418 @@ function Ho(e, t, r) {
|
|
|
4364
4364
|
});
|
|
4365
4365
|
}
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4368
|
-
|
|
4367
|
+
function Do(e) {
|
|
4368
|
+
dn(e, "svelte-9cvz5y", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.LinearBar{grid-template-columns:repeat(6, 16.6666666667%);grid-template-areas:"item0 item1 item2 item3 item4 item5"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4369
4369
|
}
|
|
4370
|
-
function
|
|
4370
|
+
function Kt(e, t, r) {
|
|
4371
4371
|
const n = e.slice();
|
|
4372
|
-
return n[
|
|
4372
|
+
return n[50] = t[r], n[52] = r, n;
|
|
4373
4373
|
}
|
|
4374
|
-
function
|
|
4374
|
+
function er(e, t, r) {
|
|
4375
4375
|
const n = e.slice();
|
|
4376
|
-
return n[
|
|
4376
|
+
return n[50] = t[r], n;
|
|
4377
4377
|
}
|
|
4378
|
-
const
|
|
4379
|
-
function
|
|
4378
|
+
const Go = (e) => ({}), tr = (e) => ({});
|
|
4379
|
+
function rr(e) {
|
|
4380
4380
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4381
|
-
e[
|
|
4382
|
-
/*
|
|
4383
|
-
e[
|
|
4384
|
-
),
|
|
4385
|
-
for (let f = 0; f <
|
|
4386
|
-
|
|
4381
|
+
e[7] && nr(e), h = Me(
|
|
4382
|
+
/*menuItems*/
|
|
4383
|
+
e[12]
|
|
4384
|
+
), u = [];
|
|
4385
|
+
for (let f = 0; f < h.length; f += 1)
|
|
4386
|
+
u[f] = lr(Kt(e, h, f));
|
|
4387
4387
|
let d = !/*navigationBarSimple*/
|
|
4388
|
-
e[
|
|
4388
|
+
e[7] && ur(e);
|
|
4389
4389
|
return {
|
|
4390
4390
|
c() {
|
|
4391
|
-
t =
|
|
4392
|
-
for (let f = 0; f <
|
|
4393
|
-
|
|
4391
|
+
t = S("div"), l && l.c(), r = k(), n = S("div");
|
|
4392
|
+
for (let f = 0; f < u.length; f += 1)
|
|
4393
|
+
u[f].c();
|
|
4394
4394
|
i = k(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4395
|
-
(e[
|
|
4396
|
-
(e[
|
|
4397
|
-
(e[
|
|
4398
|
-
(e[
|
|
4395
|
+
(e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4396
|
+
(e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4397
|
+
(e[3] ? "LinearBar" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4398
|
+
(e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4399
|
+
(e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4400
|
+
(e[3] ? "LinearBar" : "")), c(t, "class", "NavigationPanel");
|
|
4399
4401
|
},
|
|
4400
4402
|
m(f, p) {
|
|
4401
|
-
L(f, t, p), l && l.m(t, null),
|
|
4402
|
-
for (let g = 0; g <
|
|
4403
|
-
|
|
4404
|
-
|
|
4403
|
+
L(f, t, p), l && l.m(t, null), b(t, r), b(t, n);
|
|
4404
|
+
for (let g = 0; g < u.length; g += 1)
|
|
4405
|
+
u[g] && u[g].m(n, null);
|
|
4406
|
+
b(n, i), d && d.m(n, null), s = !0;
|
|
4405
4407
|
},
|
|
4406
4408
|
p(f, p) {
|
|
4407
4409
|
if (/*navigationBarSimple*/
|
|
4408
|
-
f[
|
|
4410
|
+
f[7] ? l && (pr(), ve(l, 1, 1, () => {
|
|
4409
4411
|
l = null;
|
|
4410
|
-
}),
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
/*
|
|
4415
|
-
f[
|
|
4412
|
+
}), gr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4413
|
+
128 && X(l, 1)) : (l = nr(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, menuItems, triggerNavigation*/
|
|
4414
|
+
69696) {
|
|
4415
|
+
h = Me(
|
|
4416
|
+
/*menuItems*/
|
|
4417
|
+
f[12]
|
|
4416
4418
|
);
|
|
4417
4419
|
let g;
|
|
4418
|
-
for (g = 0; g <
|
|
4419
|
-
const v =
|
|
4420
|
-
|
|
4420
|
+
for (g = 0; g < h.length; g += 1) {
|
|
4421
|
+
const v = Kt(f, h, g);
|
|
4422
|
+
u[g] ? u[g].p(v, p) : (u[g] = lr(v), u[g].c(), u[g].m(n, i));
|
|
4421
4423
|
}
|
|
4422
|
-
for (; g <
|
|
4423
|
-
|
|
4424
|
-
|
|
4424
|
+
for (; g < u.length; g += 1)
|
|
4425
|
+
u[g].d(1);
|
|
4426
|
+
u.length = h.length;
|
|
4425
4427
|
}
|
|
4426
4428
|
/*navigationBarSimple*/
|
|
4427
|
-
f[
|
|
4428
|
-
|
|
4429
|
-
(f[
|
|
4430
|
-
(f[
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
(f[
|
|
4429
|
+
f[7] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = ur(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4430
|
+
168 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4431
|
+
(f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4432
|
+
(f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4433
|
+
(f[3] ? "LinearBar" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4434
|
+
168 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4435
|
+
(f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4436
|
+
(f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4437
|
+
(f[3] ? "LinearBar" : ""))) && c(n, "part", a);
|
|
4434
4438
|
},
|
|
4435
4439
|
i(f) {
|
|
4436
4440
|
s || (X(l), s = !0);
|
|
4437
4441
|
},
|
|
4438
4442
|
o(f) {
|
|
4439
|
-
|
|
4443
|
+
ve(l), s = !1;
|
|
4440
4444
|
},
|
|
4441
4445
|
d(f) {
|
|
4442
|
-
f &&
|
|
4446
|
+
f && M(t), l && l.d(), mr(u, f), d && d.d();
|
|
4443
4447
|
}
|
|
4444
4448
|
};
|
|
4445
4449
|
}
|
|
4446
|
-
function
|
|
4450
|
+
function nr(e) {
|
|
4447
4451
|
let t, r, n, i, o = (
|
|
4448
4452
|
/*secondarymenutitle*/
|
|
4449
4453
|
(e[0] || /*$_*/
|
|
4450
|
-
e[
|
|
4451
|
-
), a, s, l,
|
|
4454
|
+
e[13]("secondaryMenuTitle")) + ""
|
|
4455
|
+
), a, s, l, h, u, d, f;
|
|
4452
4456
|
const p = (
|
|
4453
4457
|
/*#slots*/
|
|
4454
|
-
e[
|
|
4455
|
-
), g =
|
|
4458
|
+
e[31].close
|
|
4459
|
+
), g = un(
|
|
4456
4460
|
p,
|
|
4457
4461
|
e,
|
|
4458
4462
|
/*$$scope*/
|
|
4459
|
-
e[
|
|
4460
|
-
|
|
4461
|
-
), v = g ||
|
|
4462
|
-
let
|
|
4463
|
+
e[30],
|
|
4464
|
+
tr
|
|
4465
|
+
), v = g || ko();
|
|
4466
|
+
let N = Me(
|
|
4463
4467
|
/*secondaryMenu*/
|
|
4464
4468
|
e[8]
|
|
4465
|
-
),
|
|
4466
|
-
for (let
|
|
4467
|
-
|
|
4469
|
+
), E = [];
|
|
4470
|
+
for (let y = 0; y < N.length; y += 1)
|
|
4471
|
+
E[y] = or(er(e, N, y));
|
|
4468
4472
|
return {
|
|
4469
4473
|
c() {
|
|
4470
|
-
t =
|
|
4471
|
-
for (let
|
|
4472
|
-
|
|
4473
|
-
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class",
|
|
4474
|
-
(e[
|
|
4474
|
+
t = S("div"), r = S("span"), v && v.c(), n = k(), i = S("h3"), a = ae(o), s = k(), l = S("div");
|
|
4475
|
+
for (let y = 0; y < E.length; y += 1)
|
|
4476
|
+
E[y].c();
|
|
4477
|
+
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", h = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4478
|
+
(e[5] ? "NavigationWindowOpened" : ""));
|
|
4475
4479
|
},
|
|
4476
|
-
m(
|
|
4477
|
-
L(
|
|
4478
|
-
for (let w = 0; w <
|
|
4479
|
-
|
|
4480
|
-
|
|
4480
|
+
m(y, B) {
|
|
4481
|
+
L(y, t, B), b(t, r), v && v.m(r, null), b(t, n), b(t, i), b(i, a), b(t, s), b(t, l);
|
|
4482
|
+
for (let w = 0; w < E.length; w += 1)
|
|
4483
|
+
E[w] && E[w].m(l, null);
|
|
4484
|
+
u = !0, d || (f = Fe(
|
|
4481
4485
|
r,
|
|
4482
4486
|
"click",
|
|
4483
4487
|
/*navigationWindowToggle*/
|
|
4484
|
-
e[
|
|
4488
|
+
e[15]
|
|
4485
4489
|
), d = !0);
|
|
4486
4490
|
},
|
|
4487
|
-
p(
|
|
4488
|
-
if (g && g.p && (!
|
|
4489
|
-
|
|
4491
|
+
p(y, B) {
|
|
4492
|
+
if (g && g.p && (!u || B[0] & /*$$scope*/
|
|
4493
|
+
1073741824) && cn(
|
|
4490
4494
|
g,
|
|
4491
4495
|
p,
|
|
4492
|
-
|
|
4496
|
+
y,
|
|
4493
4497
|
/*$$scope*/
|
|
4494
|
-
|
|
4495
|
-
|
|
4498
|
+
y[30],
|
|
4499
|
+
u ? hn(
|
|
4496
4500
|
p,
|
|
4497
4501
|
/*$$scope*/
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
) :
|
|
4502
|
+
y[30],
|
|
4503
|
+
B,
|
|
4504
|
+
Go
|
|
4505
|
+
) : fn(
|
|
4502
4506
|
/*$$scope*/
|
|
4503
|
-
|
|
4507
|
+
y[30]
|
|
4504
4508
|
),
|
|
4505
|
-
|
|
4506
|
-
), (!
|
|
4507
|
-
|
|
4508
|
-
(
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4509
|
+
tr
|
|
4510
|
+
), (!u || B[0] & /*secondarymenutitle, $_*/
|
|
4511
|
+
8193) && o !== (o = /*secondarymenutitle*/
|
|
4512
|
+
(y[0] || /*$_*/
|
|
4513
|
+
y[13]("secondaryMenuTitle")) + "") && Re(a, o), B[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4514
|
+
65856) {
|
|
4515
|
+
N = Me(
|
|
4512
4516
|
/*secondaryMenu*/
|
|
4513
|
-
|
|
4517
|
+
y[8]
|
|
4514
4518
|
);
|
|
4515
4519
|
let w;
|
|
4516
|
-
for (w = 0; w <
|
|
4517
|
-
const
|
|
4518
|
-
|
|
4520
|
+
for (w = 0; w < N.length; w += 1) {
|
|
4521
|
+
const P = er(y, N, w);
|
|
4522
|
+
E[w] ? E[w].p(P, B) : (E[w] = or(P), E[w].c(), E[w].m(l, null));
|
|
4519
4523
|
}
|
|
4520
|
-
for (; w <
|
|
4521
|
-
|
|
4522
|
-
|
|
4524
|
+
for (; w < E.length; w += 1)
|
|
4525
|
+
E[w].d(1);
|
|
4526
|
+
E.length = N.length;
|
|
4523
4527
|
}
|
|
4524
|
-
(!
|
|
4525
|
-
|
|
4526
|
-
(
|
|
4528
|
+
(!u || B[0] & /*navigationWindowOpened*/
|
|
4529
|
+
32 && h !== (h = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4530
|
+
(y[5] ? "NavigationWindowOpened" : ""))) && c(t, "class", h);
|
|
4527
4531
|
},
|
|
4528
|
-
i(
|
|
4529
|
-
|
|
4532
|
+
i(y) {
|
|
4533
|
+
u || (X(v, y), u = !0);
|
|
4530
4534
|
},
|
|
4531
|
-
o(
|
|
4532
|
-
|
|
4535
|
+
o(y) {
|
|
4536
|
+
ve(v, y), u = !1;
|
|
4533
4537
|
},
|
|
4534
|
-
d(
|
|
4535
|
-
|
|
4538
|
+
d(y) {
|
|
4539
|
+
y && M(t), v && v.d(y), mr(E, y), d = !1, f();
|
|
4536
4540
|
}
|
|
4537
4541
|
};
|
|
4538
4542
|
}
|
|
4539
|
-
function
|
|
4543
|
+
function ko(e) {
|
|
4540
4544
|
let t, r;
|
|
4541
4545
|
return {
|
|
4542
4546
|
c() {
|
|
4543
4547
|
t = H("svg"), r = H("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4544
4548
|
},
|
|
4545
4549
|
m(n, i) {
|
|
4546
|
-
L(n, t, i),
|
|
4550
|
+
L(n, t, i), b(t, r);
|
|
4547
4551
|
},
|
|
4548
|
-
p:
|
|
4552
|
+
p: U,
|
|
4549
4553
|
d(n) {
|
|
4550
|
-
n &&
|
|
4554
|
+
n && M(t);
|
|
4551
4555
|
}
|
|
4552
4556
|
};
|
|
4553
4557
|
}
|
|
4554
|
-
function
|
|
4558
|
+
function ir(e) {
|
|
4555
4559
|
let t, r, n, i;
|
|
4556
4560
|
return {
|
|
4557
4561
|
c() {
|
|
4558
|
-
t =
|
|
4559
|
-
e[
|
|
4560
|
-
e[
|
|
4562
|
+
t = S("div"), r = S("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), ee(r.src, n = /*item*/
|
|
4563
|
+
e[50].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4564
|
+
e[50].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4561
4565
|
},
|
|
4562
4566
|
m(o, a) {
|
|
4563
|
-
L(o, t, a),
|
|
4567
|
+
L(o, t, a), b(t, r);
|
|
4564
4568
|
},
|
|
4565
4569
|
p(o, a) {
|
|
4566
4570
|
a[0] & /*secondaryMenu*/
|
|
4567
4571
|
256 && !ee(r.src, n = /*item*/
|
|
4568
|
-
o[
|
|
4572
|
+
o[50].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4569
4573
|
256 && i !== (i = /*item*/
|
|
4570
|
-
o[
|
|
4574
|
+
o[50].label) && c(r, "alt", i);
|
|
4571
4575
|
},
|
|
4572
4576
|
d(o) {
|
|
4573
|
-
o &&
|
|
4577
|
+
o && M(t);
|
|
4574
4578
|
}
|
|
4575
4579
|
};
|
|
4576
4580
|
}
|
|
4577
|
-
function
|
|
4581
|
+
function or(e) {
|
|
4578
4582
|
let t, r, n, i = (
|
|
4579
4583
|
/*item*/
|
|
4580
|
-
e[
|
|
4581
|
-
), o, a, s, l,
|
|
4584
|
+
e[50].label + ""
|
|
4585
|
+
), o, a, s, l, h, u = (
|
|
4582
4586
|
/*item*/
|
|
4583
|
-
e[
|
|
4587
|
+
e[50].img && ir(e)
|
|
4584
4588
|
);
|
|
4585
4589
|
function d() {
|
|
4586
4590
|
return (
|
|
4587
4591
|
/*click_handler*/
|
|
4588
|
-
e[
|
|
4592
|
+
e[32](
|
|
4589
4593
|
/*item*/
|
|
4590
|
-
e[
|
|
4594
|
+
e[50]
|
|
4591
4595
|
)
|
|
4592
4596
|
);
|
|
4593
4597
|
}
|
|
4594
4598
|
return {
|
|
4595
4599
|
c() {
|
|
4596
|
-
t =
|
|
4597
|
-
(e[
|
|
4598
|
-
e[
|
|
4600
|
+
t = S("div"), u && u.c(), r = k(), n = S("p"), o = ae(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4601
|
+
(e[6] === /*item*/
|
|
4602
|
+
e[50].id ? "ActiveItem" : ""));
|
|
4599
4603
|
},
|
|
4600
4604
|
m(f, p) {
|
|
4601
|
-
L(f, t, p),
|
|
4605
|
+
L(f, t, p), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), l || (h = Fe(t, "click", d), l = !0);
|
|
4602
4606
|
},
|
|
4603
4607
|
p(f, p) {
|
|
4604
4608
|
e = f, /*item*/
|
|
4605
|
-
e[
|
|
4609
|
+
e[50].img ? u ? u.p(e, p) : (u = ir(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), p[0] & /*secondaryMenu*/
|
|
4606
4610
|
256 && i !== (i = /*item*/
|
|
4607
|
-
e[
|
|
4608
|
-
|
|
4609
|
-
(e[
|
|
4610
|
-
e[
|
|
4611
|
+
e[50].label + "") && Re(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4612
|
+
320 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4613
|
+
(e[6] === /*item*/
|
|
4614
|
+
e[50].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
4611
4615
|
},
|
|
4612
4616
|
d(f) {
|
|
4613
|
-
f &&
|
|
4617
|
+
f && M(t), u && u.d(), l = !1, h();
|
|
4614
4618
|
}
|
|
4615
4619
|
};
|
|
4616
4620
|
}
|
|
4617
|
-
function
|
|
4621
|
+
function ar(e) {
|
|
4618
4622
|
let t, r, n, i;
|
|
4619
4623
|
return {
|
|
4620
4624
|
c() {
|
|
4621
|
-
t =
|
|
4622
|
-
e[
|
|
4623
|
-
e[
|
|
4625
|
+
t = S("div"), r = S("img"), c(r, "class", "NavigationPrimaryItemImg"), ee(r.src, n = /*item*/
|
|
4626
|
+
e[50].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4627
|
+
e[50].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4624
4628
|
},
|
|
4625
4629
|
m(o, a) {
|
|
4626
|
-
L(o, t, a),
|
|
4630
|
+
L(o, t, a), b(t, r);
|
|
4627
4631
|
},
|
|
4628
4632
|
p(o, a) {
|
|
4629
|
-
a[0] & /*
|
|
4630
|
-
|
|
4631
|
-
o[
|
|
4632
|
-
|
|
4633
|
-
o[
|
|
4633
|
+
a[0] & /*menuItems*/
|
|
4634
|
+
4096 && !ee(r.src, n = /*item*/
|
|
4635
|
+
o[50].img) && c(r, "src", n), a[0] & /*menuItems*/
|
|
4636
|
+
4096 && i !== (i = /*item*/
|
|
4637
|
+
o[50].label) && c(r, "alt", i);
|
|
4634
4638
|
},
|
|
4635
4639
|
d(o) {
|
|
4636
|
-
o &&
|
|
4640
|
+
o && M(t);
|
|
4637
4641
|
}
|
|
4638
4642
|
};
|
|
4639
4643
|
}
|
|
4640
|
-
function
|
|
4644
|
+
function sr(e) {
|
|
4645
|
+
let t, r = (
|
|
4646
|
+
/*item*/
|
|
4647
|
+
e[50].tag + ""
|
|
4648
|
+
), n, i;
|
|
4649
|
+
return {
|
|
4650
|
+
c() {
|
|
4651
|
+
t = S("span"), n = ae(r), c(t, "title", i = /*item*/
|
|
4652
|
+
e[50].tag), c(t, "class", "NavigationPrimaryItemTag");
|
|
4653
|
+
},
|
|
4654
|
+
m(o, a) {
|
|
4655
|
+
L(o, t, a), b(t, n);
|
|
4656
|
+
},
|
|
4657
|
+
p(o, a) {
|
|
4658
|
+
a[0] & /*menuItems*/
|
|
4659
|
+
4096 && r !== (r = /*item*/
|
|
4660
|
+
o[50].tag + "") && Re(n, r), a[0] & /*menuItems*/
|
|
4661
|
+
4096 && i !== (i = /*item*/
|
|
4662
|
+
o[50].tag) && c(t, "title", i);
|
|
4663
|
+
},
|
|
4664
|
+
d(o) {
|
|
4665
|
+
o && M(t);
|
|
4666
|
+
}
|
|
4667
|
+
};
|
|
4668
|
+
}
|
|
4669
|
+
function lr(e) {
|
|
4641
4670
|
let t, r, n, i = (
|
|
4642
4671
|
/*item*/
|
|
4643
|
-
e[
|
|
4644
|
-
), o, a, s, l, u = (
|
|
4672
|
+
e[50].label + ""
|
|
4673
|
+
), o, a, s, l, h, u = (
|
|
4645
4674
|
/*item*/
|
|
4646
|
-
e[
|
|
4675
|
+
e[50]?.img && ar(e)
|
|
4676
|
+
), d = (
|
|
4677
|
+
/*item*/
|
|
4678
|
+
e[50]?.tag && sr(e)
|
|
4647
4679
|
);
|
|
4648
|
-
function
|
|
4680
|
+
function f() {
|
|
4649
4681
|
return (
|
|
4650
4682
|
/*click_handler_1*/
|
|
4651
|
-
e[
|
|
4683
|
+
e[33](
|
|
4652
4684
|
/*item*/
|
|
4653
|
-
e[
|
|
4685
|
+
e[50]
|
|
4654
4686
|
)
|
|
4655
4687
|
);
|
|
4656
4688
|
}
|
|
4657
4689
|
return {
|
|
4658
4690
|
c() {
|
|
4659
|
-
t =
|
|
4660
|
-
e[
|
|
4661
|
-
(e[
|
|
4662
|
-
e[
|
|
4691
|
+
t = S("div"), u && u.c(), r = k(), n = S("p"), o = ae(i), a = k(), d && d.c(), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4692
|
+
e[52] + " " + /*activeMenuItemId*/
|
|
4693
|
+
(e[6] === /*item*/
|
|
4694
|
+
e[50].id ? "ActiveItem" : ""));
|
|
4663
4695
|
},
|
|
4664
|
-
m(
|
|
4665
|
-
L(
|
|
4696
|
+
m(p, g) {
|
|
4697
|
+
L(p, t, g), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), d && d.m(t, null), l || (h = Fe(t, "click", f), l = !0);
|
|
4666
4698
|
},
|
|
4667
|
-
p(
|
|
4668
|
-
e =
|
|
4669
|
-
e[
|
|
4670
|
-
|
|
4671
|
-
e[
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
e[
|
|
4699
|
+
p(p, g) {
|
|
4700
|
+
e = p, /*item*/
|
|
4701
|
+
e[50]?.img ? u ? u.p(e, g) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), g[0] & /*menuItems*/
|
|
4702
|
+
4096 && i !== (i = /*item*/
|
|
4703
|
+
e[50].label + "") && Re(o, i), /*item*/
|
|
4704
|
+
e[50]?.tag ? d ? d.p(e, g) : (d = sr(e), d.c(), d.m(t, null)) : d && (d.d(1), d = null), g[0] & /*activeMenuItemId, menuItems*/
|
|
4705
|
+
4160 && s !== (s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4706
|
+
e[52] + " " + /*activeMenuItemId*/
|
|
4707
|
+
(e[6] === /*item*/
|
|
4708
|
+
e[50].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
4676
4709
|
},
|
|
4677
|
-
d(
|
|
4678
|
-
|
|
4710
|
+
d(p) {
|
|
4711
|
+
p && M(t), u && u.d(), d && d.d(), l = !1, h();
|
|
4679
4712
|
}
|
|
4680
4713
|
};
|
|
4681
4714
|
}
|
|
4682
|
-
function
|
|
4715
|
+
function ur(e) {
|
|
4683
4716
|
let t, r, n, i, o;
|
|
4684
|
-
function a(
|
|
4717
|
+
function a(h, u) {
|
|
4685
4718
|
return (
|
|
4686
4719
|
/*isFlowerMenu*/
|
|
4687
|
-
|
|
4720
|
+
h[11] ? $o : jo
|
|
4688
4721
|
);
|
|
4689
4722
|
}
|
|
4690
4723
|
let s = a(e), l = s(e);
|
|
4691
4724
|
return {
|
|
4692
4725
|
c() {
|
|
4693
|
-
t =
|
|
4694
|
-
(e[
|
|
4726
|
+
t = S("button"), r = S("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4727
|
+
(e[5] ? "NavigationButtonActive" : ""));
|
|
4695
4728
|
},
|
|
4696
|
-
m(
|
|
4697
|
-
L(
|
|
4729
|
+
m(h, u) {
|
|
4730
|
+
L(h, t, u), b(t, r), l.m(r, null), i || (o = Fe(
|
|
4698
4731
|
t,
|
|
4699
4732
|
"click",
|
|
4700
4733
|
/*navigationWindowToggle*/
|
|
4701
|
-
e[
|
|
4734
|
+
e[15]
|
|
4702
4735
|
), i = !0);
|
|
4703
4736
|
},
|
|
4704
|
-
p(
|
|
4705
|
-
s === (s = a(
|
|
4706
|
-
|
|
4707
|
-
(
|
|
4737
|
+
p(h, u) {
|
|
4738
|
+
s === (s = a(h)) && l ? l.p(h, u) : (l.d(1), l = s(h), l && (l.c(), l.m(r, null))), u[0] & /*navigationWindowOpened*/
|
|
4739
|
+
32 && n !== (n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4740
|
+
(h[5] ? "NavigationButtonActive" : "")) && c(t, "class", n);
|
|
4708
4741
|
},
|
|
4709
|
-
d(
|
|
4710
|
-
|
|
4742
|
+
d(h) {
|
|
4743
|
+
h && M(t), l.d(), i = !1, o();
|
|
4711
4744
|
}
|
|
4712
4745
|
};
|
|
4713
4746
|
}
|
|
4714
|
-
function
|
|
4747
|
+
function $o(e) {
|
|
4715
4748
|
let t, r, n, i, o, a, s;
|
|
4716
4749
|
return {
|
|
4717
4750
|
c() {
|
|
4718
|
-
t =
|
|
4719
|
-
(e[
|
|
4751
|
+
t = S("div"), r = S("span"), n = k(), i = S("span"), o = k(), a = S("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4752
|
+
(e[5] ? "labelMiddleIconActive" : ""));
|
|
4720
4753
|
},
|
|
4721
|
-
m(l,
|
|
4722
|
-
L(l, t,
|
|
4754
|
+
m(l, h) {
|
|
4755
|
+
L(l, t, h), b(t, r), b(t, n), b(t, i), b(t, o), b(t, a);
|
|
4723
4756
|
},
|
|
4724
|
-
p(l,
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
(l[
|
|
4757
|
+
p(l, h) {
|
|
4758
|
+
h[0] & /*navigationWindowOpened*/
|
|
4759
|
+
32 && s !== (s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4760
|
+
(l[5] ? "labelMiddleIconActive" : "")) && c(t, "class", s);
|
|
4728
4761
|
},
|
|
4729
4762
|
d(l) {
|
|
4730
|
-
l &&
|
|
4763
|
+
l && M(t);
|
|
4731
4764
|
}
|
|
4732
4765
|
};
|
|
4733
4766
|
}
|
|
4734
|
-
function
|
|
4767
|
+
function jo(e) {
|
|
4735
4768
|
let t;
|
|
4736
4769
|
function r(o, a) {
|
|
4737
4770
|
return (
|
|
4738
4771
|
/*imageIconUrl*/
|
|
4739
|
-
o[9] ?
|
|
4772
|
+
o[9] ? Vo : Wo
|
|
4740
4773
|
);
|
|
4741
4774
|
}
|
|
4742
4775
|
let n = r(e), i = n(e);
|
|
4743
4776
|
return {
|
|
4744
4777
|
c() {
|
|
4745
|
-
i.c(), t =
|
|
4778
|
+
i.c(), t = gn();
|
|
4746
4779
|
},
|
|
4747
4780
|
m(o, a) {
|
|
4748
4781
|
i.m(o, a), L(o, t, a);
|
|
@@ -4751,30 +4784,30 @@ function Fo(e) {
|
|
|
4751
4784
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
|
|
4752
4785
|
},
|
|
4753
4786
|
d(o) {
|
|
4754
|
-
o &&
|
|
4787
|
+
o && M(t), i.d(o);
|
|
4755
4788
|
}
|
|
4756
4789
|
};
|
|
4757
4790
|
}
|
|
4758
|
-
function
|
|
4759
|
-
let t, r, n, i, o, a, s, l,
|
|
4791
|
+
function Wo(e) {
|
|
4792
|
+
let t, r, n, i, o, a, s, l, h, u, d, f, p, g;
|
|
4760
4793
|
return {
|
|
4761
4794
|
c() {
|
|
4762
|
-
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"),
|
|
4795
|
+
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), h = H("g"), u = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(u, "class", "b"), c(u, "part", "b"), c(u, "width", "10"), c(u, "height", "10"), c(u, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(h, "class", "a"), c(h, "part", "a"), c(h, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4763
4796
|
},
|
|
4764
|
-
m(v,
|
|
4765
|
-
L(v, t,
|
|
4797
|
+
m(v, N) {
|
|
4798
|
+
L(v, t, N), b(t, r), b(r, n), b(n, i), b(n, o), b(r, a), b(a, s), b(a, l), b(r, h), b(h, u), b(h, d), b(r, f), b(f, p), b(f, g);
|
|
4766
4799
|
},
|
|
4767
|
-
p:
|
|
4800
|
+
p: U,
|
|
4768
4801
|
d(v) {
|
|
4769
|
-
v &&
|
|
4802
|
+
v && M(t);
|
|
4770
4803
|
}
|
|
4771
4804
|
};
|
|
4772
4805
|
}
|
|
4773
|
-
function
|
|
4806
|
+
function Vo(e) {
|
|
4774
4807
|
let t, r;
|
|
4775
4808
|
return {
|
|
4776
4809
|
c() {
|
|
4777
|
-
t =
|
|
4810
|
+
t = S("img"), ee(t.src, r = /*imageIconUrl*/
|
|
4778
4811
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4779
4812
|
t,
|
|
4780
4813
|
"alt",
|
|
@@ -4797,32 +4830,32 @@ function Uo(e) {
|
|
|
4797
4830
|
);
|
|
4798
4831
|
},
|
|
4799
4832
|
d(n) {
|
|
4800
|
-
n &&
|
|
4833
|
+
n && M(t);
|
|
4801
4834
|
}
|
|
4802
4835
|
};
|
|
4803
4836
|
}
|
|
4804
|
-
function
|
|
4837
|
+
function Xo(e) {
|
|
4805
4838
|
let t, r, n, i = !/*isLoading*/
|
|
4806
4839
|
e[1] && /*isMobile*/
|
|
4807
|
-
e[
|
|
4808
|
-
e[
|
|
4840
|
+
e[14] && /*showNavigation*/
|
|
4841
|
+
e[4] && rr(e);
|
|
4809
4842
|
return {
|
|
4810
4843
|
c() {
|
|
4811
|
-
t =
|
|
4844
|
+
t = S("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4812
4845
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4813
4846
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4814
4847
|
},
|
|
4815
4848
|
m(o, a) {
|
|
4816
|
-
L(o, t, a), i && i.m(t, null), e[
|
|
4849
|
+
L(o, t, a), i && i.m(t, null), e[34](t), n = !0;
|
|
4817
4850
|
},
|
|
4818
4851
|
p(o, a) {
|
|
4819
4852
|
!/*isLoading*/
|
|
4820
4853
|
o[1] && /*isMobile*/
|
|
4821
|
-
o[
|
|
4822
|
-
o[
|
|
4823
|
-
|
|
4854
|
+
o[14] && /*showNavigation*/
|
|
4855
|
+
o[4] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4856
|
+
18 && X(i, 1)) : (i = rr(o), i.c(), X(i, 1), i.m(t, null)) : i && (pr(), ve(i, 1, 1, () => {
|
|
4824
4857
|
i = null;
|
|
4825
|
-
}),
|
|
4858
|
+
}), gr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4826
4859
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4827
4860
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4828
4861
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4831,136 +4864,142 @@ function Do(e) {
|
|
|
4831
4864
|
n || (X(i), n = !0);
|
|
4832
4865
|
},
|
|
4833
4866
|
o(o) {
|
|
4834
|
-
|
|
4867
|
+
ve(i), n = !1;
|
|
4835
4868
|
},
|
|
4836
4869
|
d(o) {
|
|
4837
|
-
o &&
|
|
4870
|
+
o && M(t), i && i.d(), e[34](null);
|
|
4838
4871
|
}
|
|
4839
4872
|
};
|
|
4840
4873
|
}
|
|
4841
|
-
function
|
|
4842
|
-
let n;
|
|
4843
|
-
|
|
4844
|
-
let { $$slots:
|
|
4845
|
-
const
|
|
4846
|
-
fetch(
|
|
4847
|
-
Object.keys(
|
|
4848
|
-
|
|
4874
|
+
function zo(e, t, r) {
|
|
4875
|
+
let n, i;
|
|
4876
|
+
ln(e, Lo, (m) => r(13, i = m));
|
|
4877
|
+
let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env: h = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: d = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: v = "" } = t, { activecategory: N = "" } = t, { flowermenustyle: E = "false" } = t, { linearmenustyle: y = "false" } = t, B = window.navigator.userAgent, w = Yt(B) !== "PC", P = !0, z = !1, F = !1, We = "", we = !1, Ee = [], he = [], ce = [], $ = [], j, Nt = "", Ve = {}, St, Xe = !1, fe = !1;
|
|
4878
|
+
const Zr = () => {
|
|
4879
|
+
fetch(v).then((T) => T.json()).then((T) => {
|
|
4880
|
+
Object.keys(T).forEach((R) => {
|
|
4881
|
+
Jt(R, T[R]);
|
|
4849
4882
|
});
|
|
4850
|
-
}).catch((
|
|
4851
|
-
console.log(
|
|
4883
|
+
}).catch((T) => {
|
|
4884
|
+
console.log(T);
|
|
4852
4885
|
});
|
|
4853
4886
|
};
|
|
4854
|
-
Object.keys(
|
|
4855
|
-
|
|
4887
|
+
Object.keys(qt).forEach((m) => {
|
|
4888
|
+
Jt(m, qt[m]);
|
|
4856
4889
|
});
|
|
4857
|
-
const
|
|
4890
|
+
const It = (m) => {
|
|
4858
4891
|
if (m.data)
|
|
4859
4892
|
switch (m.data.type) {
|
|
4860
4893
|
case "PlayerAccountMenuActive":
|
|
4861
|
-
r(
|
|
4894
|
+
r(5, F = !1);
|
|
4862
4895
|
break;
|
|
4863
4896
|
case "OpenLoginRegisterModal":
|
|
4864
|
-
r(
|
|
4897
|
+
r(5, F = !1);
|
|
4865
4898
|
break;
|
|
4866
4899
|
case "GoToHomepage":
|
|
4867
|
-
r(
|
|
4900
|
+
r(5, F = !1);
|
|
4868
4901
|
break;
|
|
4869
4902
|
}
|
|
4870
|
-
},
|
|
4871
|
-
r(11,
|
|
4872
|
-
},
|
|
4873
|
-
r(
|
|
4903
|
+
}, Qr = () => {
|
|
4904
|
+
r(11, Xe = E.toLowerCase() === "true");
|
|
4905
|
+
}, Yr = () => {
|
|
4906
|
+
r(3, fe = y.toLowerCase() === "true");
|
|
4907
|
+
}, Jr = () => {
|
|
4908
|
+
r(5, F = !F), window.postMessage(
|
|
4874
4909
|
{
|
|
4875
4910
|
type: "MobileBottomNav",
|
|
4876
|
-
navigationWindowOpened:
|
|
4911
|
+
navigationWindowOpened: F
|
|
4877
4912
|
},
|
|
4878
4913
|
window.location.href
|
|
4879
4914
|
);
|
|
4880
|
-
},
|
|
4881
|
-
r(
|
|
4882
|
-
},
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
r(
|
|
4915
|
+
}, qr = (m) => {
|
|
4916
|
+
r(29, ce = []), r(29, ce = we ? m.splice(0, 5) : m.splice(0, 4)), N && ze();
|
|
4917
|
+
}, Kr = (m, T) => {
|
|
4918
|
+
r(28, he = T ? [...m, ...T] : m), T = [], N && ze();
|
|
4919
|
+
}, en = () => {
|
|
4920
|
+
Ze(), r(1, P = !0);
|
|
4921
|
+
let m = Yt(B), T = new URL(`${s}/${l}/bottom-mobile-menu?env=${h}`);
|
|
4922
|
+
T.searchParams.append("userRoles", d), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((R) => R.json()).then((R) => {
|
|
4923
|
+
Ee = [], r(8, $ = []), r(28, he = []), r(4, z = R.length > 0), R.forEach((D) => {
|
|
4924
|
+
Ve[D.label] = D.eventTrigger ? D.path : null, D.path == "/menu-item" ? (r(9, Nt = D?.img), r(8, $ = D.children)) : Ee.push(D);
|
|
4925
|
+
}), r(7, we = $.length == 0), $.length >= 5 && Xe && r(8, $ = $.splice(0, 5)), fe ? (Kr(Ee, $), r(7, we = !0)) : qr(Ee), r(1, P = !1);
|
|
4926
|
+
}).catch((R) => {
|
|
4927
|
+
r(1, P = !1), console.error(R);
|
|
4891
4928
|
});
|
|
4892
|
-
},
|
|
4893
|
-
const
|
|
4894
|
-
|
|
4895
|
-
},
|
|
4896
|
-
|
|
4929
|
+
}, ze = () => {
|
|
4930
|
+
const T = (fe ? he : ce.concat($)).find((R) => R.path.includes(N));
|
|
4931
|
+
T ? r(6, We = T.id) : r(6, We = "");
|
|
4932
|
+
}, de = (m, T, R, D) => {
|
|
4933
|
+
Ve[D] ? window.postMessage(
|
|
4897
4934
|
{
|
|
4898
4935
|
type: "MobileBottomNavigationEvent",
|
|
4899
|
-
event:
|
|
4936
|
+
event: Ve[D]
|
|
4900
4937
|
},
|
|
4901
4938
|
window.location.href
|
|
4902
4939
|
) : window.postMessage(
|
|
4903
4940
|
{
|
|
4904
4941
|
type: "NavigateTo",
|
|
4905
4942
|
path: m,
|
|
4906
|
-
target:
|
|
4907
|
-
externalLink:
|
|
4943
|
+
target: T || null,
|
|
4944
|
+
externalLink: R || !1
|
|
4908
4945
|
},
|
|
4909
4946
|
window.location.href
|
|
4910
|
-
), r(
|
|
4947
|
+
), r(5, F = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4911
4948
|
context: "MobileBottomNavigation",
|
|
4912
4949
|
menuItem: `${m}`
|
|
4913
4950
|
});
|
|
4914
|
-
},
|
|
4915
|
-
|
|
4916
|
-
},
|
|
4917
|
-
r(10,
|
|
4918
|
-
},
|
|
4919
|
-
|
|
4951
|
+
}, tn = () => {
|
|
4952
|
+
Co(l);
|
|
4953
|
+
}, Ze = () => {
|
|
4954
|
+
r(10, St = w && window.innerHeight / window.innerWidth < 1);
|
|
4955
|
+
}, Bt = () => {
|
|
4956
|
+
F && r(5, F = !1);
|
|
4920
4957
|
};
|
|
4921
|
-
|
|
4922
|
-
window.removeEventListener("message",
|
|
4958
|
+
_n(() => (window.addEventListener("message", It, !1), document.addEventListener("focusin", Bt), w && window.screen.orientation.addEventListener("change", Ze), () => {
|
|
4959
|
+
window.removeEventListener("message", It), document.removeEventListener("focusin", Bt), w && window.screen.orientation.removeEventListener("change", Ze);
|
|
4923
4960
|
}));
|
|
4924
|
-
const
|
|
4925
|
-
m.attrs?.target ?
|
|
4926
|
-
},
|
|
4927
|
-
m
|
|
4961
|
+
const rn = (m) => {
|
|
4962
|
+
m.attrs?.target ? de(m.path, m.attrs?.target, m?.externalLink, m.label) : de(m.path, null, m?.externalLink, m.label);
|
|
4963
|
+
}, nn = (m) => {
|
|
4964
|
+
m?.attrs?.target ? de(m.path, m.attrs?.target, m?.externalLink, m.label) : de(m.path, null, m?.externalLink, m.label);
|
|
4928
4965
|
};
|
|
4929
|
-
function
|
|
4930
|
-
|
|
4931
|
-
|
|
4966
|
+
function on(m) {
|
|
4967
|
+
nt[m ? "unshift" : "push"](() => {
|
|
4968
|
+
j = m, r(2, j);
|
|
4932
4969
|
});
|
|
4933
4970
|
}
|
|
4934
4971
|
return e.$$set = (m) => {
|
|
4935
|
-
"cmsendpoint" in m && r(
|
|
4972
|
+
"cmsendpoint" in m && r(17, s = m.cmsendpoint), "lang" in m && r(18, l = m.lang), "env" in m && r(19, h = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(20, d = m.userroles), "mbsource" in m && r(21, f = m.mbsource), "clientstyling" in m && r(22, p = m.clientstyling), "clientstylingurl" in m && r(23, g = m.clientstylingurl), "translationurl" in m && r(24, v = m.translationurl), "activecategory" in m && r(25, N = m.activecategory), "flowermenustyle" in m && r(26, E = m.flowermenustyle), "linearmenustyle" in m && r(27, y = m.linearmenustyle), "$$scope" in m && r(30, a = m.$$scope);
|
|
4936
4973
|
}, e.$$.update = () => {
|
|
4937
4974
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
4194308 && p &&
|
|
4944
|
-
|
|
4945
|
-
|
|
4975
|
+
67108864 && E && Qr(), e.$$.dirty[0] & /*linearmenustyle*/
|
|
4976
|
+
134217728 && y && Yr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4977
|
+
33554434 && N && !P && ze(), e.$$.dirty[0] & /*lang*/
|
|
4978
|
+
262144 && l && tn(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4979
|
+
1966080 && s && l && h && d && en(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4980
|
+
4194308 && p && j && Fo(j, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4981
|
+
8388612 && g && j && Ro(j, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4982
|
+
2097156 && f && j && Uo(j, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4983
|
+
16777216 && v && Zr(), e.$$.dirty[0] & /*isLinearMenu, linearMenu, primaryMenuSpliced*/
|
|
4984
|
+
805306376 && r(12, n = fe ? he : ce);
|
|
4946
4985
|
}, [
|
|
4947
4986
|
u,
|
|
4948
|
-
|
|
4949
|
-
G,
|
|
4950
|
-
w,
|
|
4951
|
-
T,
|
|
4987
|
+
P,
|
|
4952
4988
|
j,
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4989
|
+
fe,
|
|
4990
|
+
z,
|
|
4991
|
+
F,
|
|
4992
|
+
We,
|
|
4993
|
+
we,
|
|
4994
|
+
$,
|
|
4995
|
+
Nt,
|
|
4996
|
+
St,
|
|
4997
|
+
Xe,
|
|
4959
4998
|
n,
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4999
|
+
i,
|
|
5000
|
+
w,
|
|
5001
|
+
Jr,
|
|
5002
|
+
de,
|
|
4964
5003
|
s,
|
|
4965
5004
|
l,
|
|
4966
5005
|
h,
|
|
@@ -4969,107 +5008,118 @@ function Go(e, t, r) {
|
|
|
4969
5008
|
p,
|
|
4970
5009
|
g,
|
|
4971
5010
|
v,
|
|
4972
|
-
|
|
5011
|
+
N,
|
|
5012
|
+
E,
|
|
5013
|
+
y,
|
|
5014
|
+
he,
|
|
5015
|
+
ce,
|
|
5016
|
+
a,
|
|
4973
5017
|
o,
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
Jr
|
|
5018
|
+
rn,
|
|
5019
|
+
nn,
|
|
5020
|
+
on
|
|
4978
5021
|
];
|
|
4979
5022
|
}
|
|
4980
|
-
class
|
|
5023
|
+
class Zo extends Pn {
|
|
4981
5024
|
constructor(t) {
|
|
4982
|
-
super(),
|
|
5025
|
+
super(), An(
|
|
4983
5026
|
this,
|
|
4984
5027
|
t,
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
5028
|
+
zo,
|
|
5029
|
+
Xo,
|
|
5030
|
+
cr,
|
|
4988
5031
|
{
|
|
4989
|
-
cmsendpoint:
|
|
4990
|
-
lang:
|
|
4991
|
-
env:
|
|
5032
|
+
cmsendpoint: 17,
|
|
5033
|
+
lang: 18,
|
|
5034
|
+
env: 19,
|
|
4992
5035
|
secondarymenutitle: 0,
|
|
4993
|
-
userroles:
|
|
4994
|
-
mbsource:
|
|
4995
|
-
clientstyling:
|
|
4996
|
-
clientstylingurl:
|
|
4997
|
-
translationurl:
|
|
4998
|
-
activecategory:
|
|
4999
|
-
flowermenustyle:
|
|
5036
|
+
userroles: 20,
|
|
5037
|
+
mbsource: 21,
|
|
5038
|
+
clientstyling: 22,
|
|
5039
|
+
clientstylingurl: 23,
|
|
5040
|
+
translationurl: 24,
|
|
5041
|
+
activecategory: 25,
|
|
5042
|
+
flowermenustyle: 26,
|
|
5043
|
+
linearmenustyle: 27
|
|
5000
5044
|
},
|
|
5001
|
-
|
|
5045
|
+
Do,
|
|
5002
5046
|
[-1, -1]
|
|
5003
5047
|
);
|
|
5004
5048
|
}
|
|
5005
5049
|
get cmsendpoint() {
|
|
5006
|
-
return this.$$.ctx[
|
|
5050
|
+
return this.$$.ctx[17];
|
|
5007
5051
|
}
|
|
5008
5052
|
set cmsendpoint(t) {
|
|
5009
|
-
this.$$set({ cmsendpoint: t }),
|
|
5053
|
+
this.$$set({ cmsendpoint: t }), C();
|
|
5010
5054
|
}
|
|
5011
5055
|
get lang() {
|
|
5012
|
-
return this.$$.ctx[
|
|
5056
|
+
return this.$$.ctx[18];
|
|
5013
5057
|
}
|
|
5014
5058
|
set lang(t) {
|
|
5015
|
-
this.$$set({ lang: t }),
|
|
5059
|
+
this.$$set({ lang: t }), C();
|
|
5016
5060
|
}
|
|
5017
5061
|
get env() {
|
|
5018
|
-
return this.$$.ctx[
|
|
5062
|
+
return this.$$.ctx[19];
|
|
5019
5063
|
}
|
|
5020
5064
|
set env(t) {
|
|
5021
|
-
this.$$set({ env: t }),
|
|
5065
|
+
this.$$set({ env: t }), C();
|
|
5022
5066
|
}
|
|
5023
5067
|
get secondarymenutitle() {
|
|
5024
5068
|
return this.$$.ctx[0];
|
|
5025
5069
|
}
|
|
5026
5070
|
set secondarymenutitle(t) {
|
|
5027
|
-
this.$$set({ secondarymenutitle: t }),
|
|
5071
|
+
this.$$set({ secondarymenutitle: t }), C();
|
|
5028
5072
|
}
|
|
5029
5073
|
get userroles() {
|
|
5030
|
-
return this.$$.ctx[
|
|
5074
|
+
return this.$$.ctx[20];
|
|
5031
5075
|
}
|
|
5032
5076
|
set userroles(t) {
|
|
5033
|
-
this.$$set({ userroles: t }),
|
|
5077
|
+
this.$$set({ userroles: t }), C();
|
|
5034
5078
|
}
|
|
5035
5079
|
get mbsource() {
|
|
5036
|
-
return this.$$.ctx[
|
|
5080
|
+
return this.$$.ctx[21];
|
|
5037
5081
|
}
|
|
5038
5082
|
set mbsource(t) {
|
|
5039
|
-
this.$$set({ mbsource: t }),
|
|
5083
|
+
this.$$set({ mbsource: t }), C();
|
|
5040
5084
|
}
|
|
5041
5085
|
get clientstyling() {
|
|
5042
|
-
return this.$$.ctx[
|
|
5086
|
+
return this.$$.ctx[22];
|
|
5043
5087
|
}
|
|
5044
5088
|
set clientstyling(t) {
|
|
5045
|
-
this.$$set({ clientstyling: t }),
|
|
5089
|
+
this.$$set({ clientstyling: t }), C();
|
|
5046
5090
|
}
|
|
5047
5091
|
get clientstylingurl() {
|
|
5048
|
-
return this.$$.ctx[
|
|
5092
|
+
return this.$$.ctx[23];
|
|
5049
5093
|
}
|
|
5050
5094
|
set clientstylingurl(t) {
|
|
5051
|
-
this.$$set({ clientstylingurl: t }),
|
|
5095
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5052
5096
|
}
|
|
5053
5097
|
get translationurl() {
|
|
5054
|
-
return this.$$.ctx[
|
|
5098
|
+
return this.$$.ctx[24];
|
|
5055
5099
|
}
|
|
5056
5100
|
set translationurl(t) {
|
|
5057
|
-
this.$$set({ translationurl: t }),
|
|
5101
|
+
this.$$set({ translationurl: t }), C();
|
|
5058
5102
|
}
|
|
5059
5103
|
get activecategory() {
|
|
5060
|
-
return this.$$.ctx[
|
|
5104
|
+
return this.$$.ctx[25];
|
|
5061
5105
|
}
|
|
5062
5106
|
set activecategory(t) {
|
|
5063
|
-
this.$$set({ activecategory: t }),
|
|
5107
|
+
this.$$set({ activecategory: t }), C();
|
|
5064
5108
|
}
|
|
5065
5109
|
get flowermenustyle() {
|
|
5066
|
-
return this.$$.ctx[
|
|
5110
|
+
return this.$$.ctx[26];
|
|
5067
5111
|
}
|
|
5068
5112
|
set flowermenustyle(t) {
|
|
5069
|
-
this.$$set({ flowermenustyle: t }),
|
|
5113
|
+
this.$$set({ flowermenustyle: t }), C();
|
|
5114
|
+
}
|
|
5115
|
+
get linearmenustyle() {
|
|
5116
|
+
return this.$$.ctx[27];
|
|
5117
|
+
}
|
|
5118
|
+
set linearmenustyle(t) {
|
|
5119
|
+
this.$$set({ linearmenustyle: t }), C();
|
|
5070
5120
|
}
|
|
5071
5121
|
}
|
|
5072
|
-
|
|
5122
|
+
Tn(Zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {}, linearmenustyle: {} }, ["close"], [], !0);
|
|
5073
5123
|
export {
|
|
5074
|
-
|
|
5124
|
+
Zo as G
|
|
5075
5125
|
};
|