@everymatrix/casino-hamburger-menu-nd 1.76.0 → 1.76.3
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/{CasinoHamburgerMenuNd-DkK6CHR3.js → CasinoHamburgerMenuNd-CZKU1een.js} +972 -1007
- package/components/CasinoHamburgerMenuNd-DEeyYzC7.cjs +18 -0
- package/components/{CasinoHamburgerMenuNd-BOLmp713.js → CasinoHamburgerMenuNd-Dx5ne9Tu.js} +910 -945
- package/es2015/casino-hamburger-menu-nd.cjs +1 -1
- package/es2015/casino-hamburger-menu-nd.js +1 -1
- package/esnext/casino-hamburger-menu-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoHamburgerMenuNd-CVclT4vf.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function $() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function lr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function wt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function de(e) {
|
|
10
|
+
e.forEach(lr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ft(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function hr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let Oe;
|
|
19
19
|
function K(e, t) {
|
|
20
20
|
return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function rn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function cr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function mr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function nn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(cr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function b(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function on(e, t, r) {
|
|
41
|
+
const n = an(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = _("style");
|
|
44
|
+
i.id = t, i.textContent = r, sn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function an(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function hn(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function sn(e, t) {
|
|
58
58
|
return b(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,14 +67,14 @@ function F(e, t, r) {
|
|
|
67
67
|
function I(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function we(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function _(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function St(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
80
|
function ee(e) {
|
|
@@ -83,26 +83,26 @@ function ee(e) {
|
|
|
83
83
|
function U() {
|
|
84
84
|
return ee(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function fr() {
|
|
87
87
|
return ee("");
|
|
88
88
|
}
|
|
89
89
|
function te(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function p(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function un(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function me(e, t) {
|
|
99
99
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
100
100
|
t);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Ht(e, t) {
|
|
103
103
|
e.value = t ?? "";
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Tt(e, t, r) {
|
|
106
106
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
107
107
|
const i = e.options[n];
|
|
108
108
|
if (i.__value === t) {
|
|
@@ -112,11 +112,11 @@ function Pt(e, t, r) {
|
|
|
112
112
|
}
|
|
113
113
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function ln(e) {
|
|
116
116
|
const t = e.querySelector(":checked");
|
|
117
117
|
return t && t.__value;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function hn(e) {
|
|
120
120
|
const t = {};
|
|
121
121
|
return e.childNodes.forEach(
|
|
122
122
|
/** @param {Element} node */
|
|
@@ -125,90 +125,90 @@ function dn(e) {
|
|
|
125
125
|
}
|
|
126
126
|
), t;
|
|
127
127
|
}
|
|
128
|
-
let
|
|
129
|
-
function
|
|
130
|
-
|
|
128
|
+
let ve;
|
|
129
|
+
function _e(e) {
|
|
130
|
+
ve = e;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
if (!
|
|
132
|
+
function cn() {
|
|
133
|
+
if (!ve)
|
|
134
134
|
throw new Error("Function called outside component initialization");
|
|
135
|
-
return
|
|
135
|
+
return ve;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function fn(e) {
|
|
138
|
+
cn().$$.on_mount.push(e);
|
|
139
139
|
}
|
|
140
140
|
const ae = [], Ce = [];
|
|
141
141
|
let se = [];
|
|
142
|
-
const
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
142
|
+
const Ot = [], dn = /* @__PURE__ */ Promise.resolve();
|
|
143
|
+
let Je = !1;
|
|
144
|
+
function mn() {
|
|
145
|
+
Je || (Je = !0, dn.then(D));
|
|
146
146
|
}
|
|
147
147
|
function Ne(e) {
|
|
148
148
|
se.push(e);
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const Ve = /* @__PURE__ */ new Set();
|
|
151
151
|
let ie = 0;
|
|
152
|
-
function
|
|
152
|
+
function D() {
|
|
153
153
|
if (ie !== 0)
|
|
154
154
|
return;
|
|
155
|
-
const e =
|
|
155
|
+
const e = ve;
|
|
156
156
|
do {
|
|
157
157
|
try {
|
|
158
158
|
for (; ie < ae.length; ) {
|
|
159
159
|
const t = ae[ie];
|
|
160
|
-
ie++,
|
|
160
|
+
ie++, _e(t), pn(t.$$);
|
|
161
161
|
}
|
|
162
162
|
} catch (t) {
|
|
163
163
|
throw ae.length = 0, ie = 0, t;
|
|
164
164
|
}
|
|
165
|
-
for (
|
|
165
|
+
for (_e(null), ae.length = 0, ie = 0; Ce.length; )
|
|
166
166
|
Ce.pop()();
|
|
167
167
|
for (let t = 0; t < se.length; t += 1) {
|
|
168
168
|
const r = se[t];
|
|
169
|
-
|
|
169
|
+
Ve.has(r) || (Ve.add(r), r());
|
|
170
170
|
}
|
|
171
171
|
se.length = 0;
|
|
172
172
|
} while (ae.length);
|
|
173
|
-
for (;
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
for (; Ot.length; )
|
|
174
|
+
Ot.pop()();
|
|
175
|
+
Je = !1, Ve.clear(), _e(e);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function pn(e) {
|
|
178
178
|
if (e.fragment !== null) {
|
|
179
|
-
e.update(),
|
|
179
|
+
e.update(), de(e.before_update);
|
|
180
180
|
const t = e.dirty;
|
|
181
181
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function gn(e) {
|
|
185
185
|
const t = [], r = [];
|
|
186
186
|
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
187
187
|
}
|
|
188
|
-
const
|
|
189
|
-
function
|
|
190
|
-
e && e.i && (
|
|
188
|
+
const bn = /* @__PURE__ */ new Set();
|
|
189
|
+
function yn(e, t) {
|
|
190
|
+
e && e.i && (bn.delete(e), e.i(t));
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Q(e) {
|
|
193
193
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function _n(e, t, r) {
|
|
196
196
|
const { fragment: n, after_update: i } = e.$$;
|
|
197
197
|
n && n.m(t, r), Ne(() => {
|
|
198
|
-
const o = e.$$.on_mount.map(
|
|
199
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
198
|
+
const o = e.$$.on_mount.map(lr).filter(ft);
|
|
199
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
|
|
200
200
|
}), i.forEach(Ne);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function vn(e, t) {
|
|
203
203
|
const r = e.$$;
|
|
204
|
-
r.fragment !== null && (
|
|
204
|
+
r.fragment !== null && (gn(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
e.$$.dirty[0] === -1 && (ae.push(e),
|
|
206
|
+
function xn(e, t) {
|
|
207
|
+
e.$$.dirty[0] === -1 && (ae.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
const u =
|
|
211
|
-
|
|
209
|
+
function En(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
210
|
+
const u = ve;
|
|
211
|
+
_e(e);
|
|
212
212
|
const l = e.$$ = {
|
|
213
213
|
fragment: null,
|
|
214
214
|
ctx: [],
|
|
@@ -216,7 +216,7 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
216
216
|
props: o,
|
|
217
217
|
update: $,
|
|
218
218
|
not_equal: i,
|
|
219
|
-
bound:
|
|
219
|
+
bound: wt(),
|
|
220
220
|
// lifecycle
|
|
221
221
|
on_mount: [],
|
|
222
222
|
on_destroy: [],
|
|
@@ -225,28 +225,28 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
225
225
|
after_update: [],
|
|
226
226
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
227
227
|
// everything else
|
|
228
|
-
callbacks:
|
|
228
|
+
callbacks: wt(),
|
|
229
229
|
dirty: s,
|
|
230
230
|
skip_bound: !1,
|
|
231
231
|
root: t.target || u.$$.root
|
|
232
232
|
};
|
|
233
233
|
a && a(l.root);
|
|
234
234
|
let h = !1;
|
|
235
|
-
if (l.ctx = r
|
|
236
|
-
const g =
|
|
237
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h &&
|
|
238
|
-
})
|
|
235
|
+
if (l.ctx = r(e, t.props || {}, (c, f, ...m) => {
|
|
236
|
+
const g = m.length ? m[0] : f;
|
|
237
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && xn(e, c)), f;
|
|
238
|
+
}), l.update(), h = !0, de(l.before_update), l.fragment = n(l.ctx), t.target) {
|
|
239
239
|
if (t.hydrate) {
|
|
240
|
-
const c =
|
|
240
|
+
const c = un(t.target);
|
|
241
241
|
l.fragment && l.fragment.l(c), c.forEach(I);
|
|
242
242
|
} else
|
|
243
243
|
l.fragment && l.fragment.c();
|
|
244
|
-
t.intro &&
|
|
244
|
+
t.intro && yn(e.$$.fragment), _n(e, t.target, t.anchor), D();
|
|
245
245
|
}
|
|
246
|
-
|
|
246
|
+
_e(u);
|
|
247
247
|
}
|
|
248
|
-
let
|
|
249
|
-
typeof HTMLElement == "function" && (
|
|
248
|
+
let dr;
|
|
249
|
+
typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
250
250
|
/** The Svelte component constructor */
|
|
251
251
|
$$ctor;
|
|
252
252
|
/** Slots */
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
288
288
|
let o;
|
|
289
289
|
return {
|
|
290
290
|
c: function() {
|
|
291
|
-
o =
|
|
291
|
+
o = _("slot"), i !== "default" && p(o, "name", i);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
294
|
* @param {HTMLElement} target
|
|
@@ -305,12 +305,12 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
305
305
|
};
|
|
306
306
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const t = {}, r =
|
|
308
|
+
const t = {}, r = hn(this);
|
|
309
309
|
for (const i of this.$$s)
|
|
310
310
|
i in r && (t[i] = [e(i)]);
|
|
311
311
|
for (const i of this.attributes) {
|
|
312
312
|
const o = this.$$g_p(i.name);
|
|
313
|
-
o in this.$$d || (this.$$d[o] =
|
|
313
|
+
o in this.$$d || (this.$$d[o] = Be(o, i.value, this.$$p_d, "toProp"));
|
|
314
314
|
}
|
|
315
315
|
for (const i in this.$$p_d)
|
|
316
316
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
328
328
|
this.$$r = !0;
|
|
329
329
|
for (const i in this.$$p_d)
|
|
330
330
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
331
|
-
const o =
|
|
331
|
+
const o = Be(
|
|
332
332
|
i,
|
|
333
333
|
this.$$d[i],
|
|
334
334
|
this.$$p_d,
|
|
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
350
350
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
351
351
|
// and setting attributes through setAttribute etc, this is helpful
|
|
352
352
|
attributeChangedCallback(e, t, r) {
|
|
353
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
353
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
354
354
|
}
|
|
355
355
|
disconnectedCallback() {
|
|
356
356
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
363
363
|
) || e;
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
|
-
function
|
|
366
|
+
function Be(e, t, r, n) {
|
|
367
367
|
const i = r[e]?.type;
|
|
368
368
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
369
369
|
return t;
|
|
@@ -392,8 +392,8 @@ function Pe(e, t, r, n) {
|
|
|
392
392
|
return t;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
let a = class extends
|
|
395
|
+
function wn(e, t, r, n, i, o) {
|
|
396
|
+
let a = class extends dr {
|
|
397
397
|
constructor() {
|
|
398
398
|
super(e, r, i), this.$$p_d = t;
|
|
399
399
|
}
|
|
@@ -409,7 +409,7 @@ function On(e, t, r, n, i, o) {
|
|
|
409
409
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
410
410
|
},
|
|
411
411
|
set(u) {
|
|
412
|
-
u =
|
|
412
|
+
u = Be(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
}), n.forEach((s) => {
|
|
@@ -421,7 +421,7 @@ function On(e, t, r, n, i, o) {
|
|
|
421
421
|
}), e.element = /** @type {any} */
|
|
422
422
|
a, a;
|
|
423
423
|
}
|
|
424
|
-
class
|
|
424
|
+
class Sn {
|
|
425
425
|
/**
|
|
426
426
|
* ### PRIVATE API
|
|
427
427
|
*
|
|
@@ -440,7 +440,7 @@ class An {
|
|
|
440
440
|
$$set = void 0;
|
|
441
441
|
/** @returns {void} */
|
|
442
442
|
$destroy() {
|
|
443
|
-
|
|
443
|
+
vn(this, 1), this.$destroy = $;
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -449,7 +449,7 @@ class An {
|
|
|
449
449
|
* @returns {() => void}
|
|
450
450
|
*/
|
|
451
451
|
$on(t, r) {
|
|
452
|
-
if (!
|
|
452
|
+
if (!ft(r))
|
|
453
453
|
return $;
|
|
454
454
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
455
455
|
return n.push(r), () => {
|
|
@@ -462,11 +462,11 @@ class An {
|
|
|
462
462
|
* @returns {void}
|
|
463
463
|
*/
|
|
464
464
|
$set(t) {
|
|
465
|
-
this.$$set && !
|
|
465
|
+
this.$$set && !rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
const
|
|
469
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
468
|
+
const Hn = "4";
|
|
469
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
|
|
470
470
|
/*! *****************************************************************************
|
|
471
471
|
Copyright (c) Microsoft Corporation.
|
|
472
472
|
|
|
@@ -481,24 +481,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
481
481
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
482
482
|
PERFORMANCE OF THIS SOFTWARE.
|
|
483
483
|
***************************************************************************** */
|
|
484
|
-
var
|
|
485
|
-
return
|
|
484
|
+
var Ke = function(e, t) {
|
|
485
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
486
486
|
r.__proto__ = n;
|
|
487
487
|
} || function(r, n) {
|
|
488
488
|
for (var i in n)
|
|
489
489
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
490
|
-
},
|
|
490
|
+
}, Ke(e, t);
|
|
491
491
|
};
|
|
492
|
-
function
|
|
492
|
+
function Y(e, t) {
|
|
493
493
|
if (typeof t != "function" && t !== null)
|
|
494
494
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
495
|
-
|
|
495
|
+
Ke(e, t);
|
|
496
496
|
function r() {
|
|
497
497
|
this.constructor = e;
|
|
498
498
|
}
|
|
499
499
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
var w = function() {
|
|
502
|
+
return w = Object.assign || function(t) {
|
|
503
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
504
|
+
r = arguments[n];
|
|
505
|
+
for (var o in r)
|
|
506
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
507
|
+
}
|
|
508
|
+
return t;
|
|
509
|
+
}, w.apply(this, arguments);
|
|
510
|
+
};
|
|
511
|
+
function Tn(e, t) {
|
|
512
|
+
var r = {};
|
|
513
|
+
for (var n in e)
|
|
514
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
515
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
516
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
517
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
518
|
+
return r;
|
|
519
|
+
}
|
|
520
|
+
function et(e) {
|
|
502
521
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
503
522
|
if (r)
|
|
504
523
|
return r.call(e);
|
|
@@ -510,7 +529,7 @@ function nt(e) {
|
|
|
510
529
|
};
|
|
511
530
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
512
531
|
}
|
|
513
|
-
function
|
|
532
|
+
function tt(e, t) {
|
|
514
533
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
515
534
|
if (!r)
|
|
516
535
|
return e;
|
|
@@ -530,22 +549,22 @@ function it(e, t) {
|
|
|
530
549
|
}
|
|
531
550
|
return o;
|
|
532
551
|
}
|
|
533
|
-
function
|
|
534
|
-
if (arguments.length === 2)
|
|
552
|
+
function ue(e, t, r) {
|
|
553
|
+
if (r || arguments.length === 2)
|
|
535
554
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
536
555
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
537
556
|
return e.concat(o || t);
|
|
538
557
|
}
|
|
539
|
-
function
|
|
558
|
+
function Z(e) {
|
|
540
559
|
return typeof e == "function";
|
|
541
560
|
}
|
|
542
|
-
function
|
|
561
|
+
function mr(e) {
|
|
543
562
|
var t = function(n) {
|
|
544
563
|
Error.call(n), n.stack = new Error().stack;
|
|
545
564
|
}, r = e(t);
|
|
546
565
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
547
566
|
}
|
|
548
|
-
var
|
|
567
|
+
var Xe = mr(function(e) {
|
|
549
568
|
return function(r) {
|
|
550
569
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
551
570
|
` + r.map(function(n, i) {
|
|
@@ -554,13 +573,13 @@ var Ze = vr(function(e) {
|
|
|
554
573
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
555
574
|
};
|
|
556
575
|
});
|
|
557
|
-
function
|
|
576
|
+
function rt(e, t) {
|
|
558
577
|
if (e) {
|
|
559
578
|
var r = e.indexOf(t);
|
|
560
579
|
0 <= r && e.splice(r, 1);
|
|
561
580
|
}
|
|
562
581
|
}
|
|
563
|
-
var
|
|
582
|
+
var Fe = function() {
|
|
564
583
|
function e(t) {
|
|
565
584
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
566
585
|
}
|
|
@@ -572,12 +591,12 @@ var ke = function() {
|
|
|
572
591
|
if (a)
|
|
573
592
|
if (this._parentage = null, Array.isArray(a))
|
|
574
593
|
try {
|
|
575
|
-
for (var s =
|
|
594
|
+
for (var s = et(a), u = s.next(); !u.done; u = s.next()) {
|
|
576
595
|
var l = u.value;
|
|
577
596
|
l.remove(this);
|
|
578
597
|
}
|
|
579
|
-
} catch (
|
|
580
|
-
t = { error:
|
|
598
|
+
} catch (y) {
|
|
599
|
+
t = { error: y };
|
|
581
600
|
} finally {
|
|
582
601
|
try {
|
|
583
602
|
u && !u.done && (r = s.return) && r.call(s);
|
|
@@ -589,29 +608,29 @@ var ke = function() {
|
|
|
589
608
|
else
|
|
590
609
|
a.remove(this);
|
|
591
610
|
var h = this.initialTeardown;
|
|
592
|
-
if (
|
|
611
|
+
if (Z(h))
|
|
593
612
|
try {
|
|
594
613
|
h();
|
|
595
|
-
} catch (
|
|
596
|
-
o =
|
|
614
|
+
} catch (y) {
|
|
615
|
+
o = y instanceof Xe ? y.errors : [y];
|
|
597
616
|
}
|
|
598
617
|
var c = this._finalizers;
|
|
599
618
|
if (c) {
|
|
600
619
|
this._finalizers = null;
|
|
601
620
|
try {
|
|
602
|
-
for (var f =
|
|
603
|
-
var g =
|
|
621
|
+
for (var f = et(c), m = f.next(); !m.done; m = f.next()) {
|
|
622
|
+
var g = m.value;
|
|
604
623
|
try {
|
|
605
|
-
|
|
606
|
-
} catch (
|
|
607
|
-
o = o ?? [],
|
|
624
|
+
Mt(g);
|
|
625
|
+
} catch (y) {
|
|
626
|
+
o = o ?? [], y instanceof Xe ? o = ue(ue([], tt(o)), tt(y.errors)) : o.push(y);
|
|
608
627
|
}
|
|
609
628
|
}
|
|
610
|
-
} catch (
|
|
611
|
-
n = { error:
|
|
629
|
+
} catch (y) {
|
|
630
|
+
n = { error: y };
|
|
612
631
|
} finally {
|
|
613
632
|
try {
|
|
614
|
-
|
|
633
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
615
634
|
} finally {
|
|
616
635
|
if (n)
|
|
617
636
|
throw n.error;
|
|
@@ -619,13 +638,13 @@ var ke = function() {
|
|
|
619
638
|
}
|
|
620
639
|
}
|
|
621
640
|
if (o)
|
|
622
|
-
throw new
|
|
641
|
+
throw new Xe(o);
|
|
623
642
|
}
|
|
624
643
|
}, e.prototype.add = function(t) {
|
|
625
644
|
var r;
|
|
626
645
|
if (t && t !== this)
|
|
627
646
|
if (this.closed)
|
|
628
|
-
|
|
647
|
+
Mt(t);
|
|
629
648
|
else {
|
|
630
649
|
if (t instanceof e) {
|
|
631
650
|
if (t.closed || t._hasParent(this))
|
|
@@ -642,52 +661,56 @@ var ke = function() {
|
|
|
642
661
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
643
662
|
}, e.prototype._removeParent = function(t) {
|
|
644
663
|
var r = this._parentage;
|
|
645
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
664
|
+
r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
|
|
646
665
|
}, e.prototype.remove = function(t) {
|
|
647
666
|
var r = this._finalizers;
|
|
648
|
-
r &&
|
|
667
|
+
r && rt(r, t), t instanceof e && t._removeParent(this);
|
|
649
668
|
}, e.EMPTY = function() {
|
|
650
669
|
var t = new e();
|
|
651
670
|
return t.closed = !0, t;
|
|
652
671
|
}(), e;
|
|
653
|
-
}(),
|
|
654
|
-
function
|
|
655
|
-
return e instanceof
|
|
656
|
-
}
|
|
657
|
-
function
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
var
|
|
661
|
-
|
|
662
|
-
|
|
672
|
+
}(), pr = Fe.EMPTY;
|
|
673
|
+
function gr(e) {
|
|
674
|
+
return e instanceof Fe || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
|
|
675
|
+
}
|
|
676
|
+
function Mt(e) {
|
|
677
|
+
Z(e) ? e() : e.unsubscribe();
|
|
678
|
+
}
|
|
679
|
+
var On = {
|
|
680
|
+
onUnhandledError: null,
|
|
681
|
+
onStoppedNotification: null,
|
|
682
|
+
Promise: void 0,
|
|
683
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
684
|
+
useDeprecatedNextContext: !1
|
|
685
|
+
}, Mn = {
|
|
663
686
|
setTimeout: function(e, t) {
|
|
664
687
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
665
688
|
r[n - 2] = arguments[n];
|
|
666
|
-
return setTimeout.apply(void 0,
|
|
689
|
+
return setTimeout.apply(void 0, ue([e, t], tt(r)));
|
|
667
690
|
},
|
|
668
691
|
clearTimeout: function(e) {
|
|
669
692
|
return clearTimeout(e);
|
|
670
693
|
},
|
|
671
694
|
delegate: void 0
|
|
672
695
|
};
|
|
673
|
-
function
|
|
674
|
-
|
|
696
|
+
function An(e) {
|
|
697
|
+
Mn.setTimeout(function() {
|
|
675
698
|
throw e;
|
|
676
699
|
});
|
|
677
700
|
}
|
|
678
|
-
function
|
|
701
|
+
function At() {
|
|
679
702
|
}
|
|
680
|
-
function
|
|
703
|
+
function Le(e) {
|
|
681
704
|
e();
|
|
682
705
|
}
|
|
683
|
-
var
|
|
684
|
-
|
|
706
|
+
var br = function(e) {
|
|
707
|
+
Y(t, e);
|
|
685
708
|
function t(r) {
|
|
686
709
|
var n = e.call(this) || this;
|
|
687
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
710
|
+
return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = Pn, n;
|
|
688
711
|
}
|
|
689
712
|
return t.create = function(r, n, i) {
|
|
690
|
-
return new
|
|
713
|
+
return new nt(r, n, i);
|
|
691
714
|
}, t.prototype.next = function(r) {
|
|
692
715
|
this.isStopped || this._next(r);
|
|
693
716
|
}, t.prototype.error = function(r) {
|
|
@@ -711,7 +734,7 @@ var xr = function(e) {
|
|
|
711
734
|
this.unsubscribe();
|
|
712
735
|
}
|
|
713
736
|
}, t;
|
|
714
|
-
}(
|
|
737
|
+
}(Fe), Bn = function() {
|
|
715
738
|
function e(t) {
|
|
716
739
|
this.partialObserver = t;
|
|
717
740
|
}
|
|
@@ -721,7 +744,7 @@ var xr = function(e) {
|
|
|
721
744
|
try {
|
|
722
745
|
r.next(t);
|
|
723
746
|
} catch (n) {
|
|
724
|
-
|
|
747
|
+
Me(n);
|
|
725
748
|
}
|
|
726
749
|
}, e.prototype.error = function(t) {
|
|
727
750
|
var r = this.partialObserver;
|
|
@@ -729,56 +752,56 @@ var xr = function(e) {
|
|
|
729
752
|
try {
|
|
730
753
|
r.error(t);
|
|
731
754
|
} catch (n) {
|
|
732
|
-
|
|
755
|
+
Me(n);
|
|
733
756
|
}
|
|
734
757
|
else
|
|
735
|
-
|
|
758
|
+
Me(t);
|
|
736
759
|
}, e.prototype.complete = function() {
|
|
737
760
|
var t = this.partialObserver;
|
|
738
761
|
if (t.complete)
|
|
739
762
|
try {
|
|
740
763
|
t.complete();
|
|
741
764
|
} catch (r) {
|
|
742
|
-
|
|
765
|
+
Me(r);
|
|
743
766
|
}
|
|
744
767
|
}, e;
|
|
745
|
-
}(),
|
|
746
|
-
|
|
768
|
+
}(), nt = function(e) {
|
|
769
|
+
Y(t, e);
|
|
747
770
|
function t(r, n, i) {
|
|
748
771
|
var o = e.call(this) || this, a;
|
|
749
|
-
return
|
|
772
|
+
return Z(r) || !r ? a = {
|
|
750
773
|
next: r ?? void 0,
|
|
751
774
|
error: n ?? void 0,
|
|
752
775
|
complete: i ?? void 0
|
|
753
|
-
} : a = r, o.destination = new
|
|
776
|
+
} : a = r, o.destination = new Bn(a), o;
|
|
754
777
|
}
|
|
755
778
|
return t;
|
|
756
|
-
}(
|
|
757
|
-
function
|
|
758
|
-
|
|
779
|
+
}(br);
|
|
780
|
+
function Me(e) {
|
|
781
|
+
An(e);
|
|
759
782
|
}
|
|
760
|
-
function
|
|
783
|
+
function Ln(e) {
|
|
761
784
|
throw e;
|
|
762
785
|
}
|
|
763
|
-
var
|
|
786
|
+
var Pn = {
|
|
764
787
|
closed: !0,
|
|
765
|
-
next:
|
|
766
|
-
error:
|
|
767
|
-
complete:
|
|
768
|
-
},
|
|
788
|
+
next: At,
|
|
789
|
+
error: Ln,
|
|
790
|
+
complete: At
|
|
791
|
+
}, In = function() {
|
|
769
792
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
770
793
|
}();
|
|
771
|
-
function
|
|
794
|
+
function Cn(e) {
|
|
772
795
|
return e;
|
|
773
796
|
}
|
|
774
|
-
function
|
|
775
|
-
return e.length === 0 ?
|
|
797
|
+
function Nn(e) {
|
|
798
|
+
return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
|
|
776
799
|
return e.reduce(function(n, i) {
|
|
777
800
|
return i(n);
|
|
778
801
|
}, r);
|
|
779
802
|
};
|
|
780
803
|
}
|
|
781
|
-
var
|
|
804
|
+
var Bt = function() {
|
|
782
805
|
function e(t) {
|
|
783
806
|
t && (this._subscribe = t);
|
|
784
807
|
}
|
|
@@ -786,8 +809,8 @@ var Ct = function() {
|
|
|
786
809
|
var r = new e();
|
|
787
810
|
return r.source = this, r.operator = t, r;
|
|
788
811
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
789
|
-
var i = this, o =
|
|
790
|
-
return
|
|
812
|
+
var i = this, o = Un(t) ? t : new nt(t, r, n);
|
|
813
|
+
return Le(function() {
|
|
791
814
|
var a = i, s = a.operator, u = a.source;
|
|
792
815
|
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
793
816
|
}), o;
|
|
@@ -799,8 +822,8 @@ var Ct = function() {
|
|
|
799
822
|
}
|
|
800
823
|
}, e.prototype.forEach = function(t, r) {
|
|
801
824
|
var n = this;
|
|
802
|
-
return r =
|
|
803
|
-
var a = new
|
|
825
|
+
return r = Lt(r), new r(function(i, o) {
|
|
826
|
+
var a = new nt({
|
|
804
827
|
next: function(s) {
|
|
805
828
|
try {
|
|
806
829
|
t(s);
|
|
@@ -816,15 +839,15 @@ var Ct = function() {
|
|
|
816
839
|
}, e.prototype._subscribe = function(t) {
|
|
817
840
|
var r;
|
|
818
841
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
819
|
-
}, e.prototype[
|
|
842
|
+
}, e.prototype[In] = function() {
|
|
820
843
|
return this;
|
|
821
844
|
}, e.prototype.pipe = function() {
|
|
822
845
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
823
846
|
t[r] = arguments[r];
|
|
824
|
-
return
|
|
847
|
+
return Nn(t)(this);
|
|
825
848
|
}, e.prototype.toPromise = function(t) {
|
|
826
849
|
var r = this;
|
|
827
|
-
return t =
|
|
850
|
+
return t = Lt(t), new t(function(n, i) {
|
|
828
851
|
var o;
|
|
829
852
|
r.subscribe(function(a) {
|
|
830
853
|
return o = a;
|
|
@@ -838,40 +861,40 @@ var Ct = function() {
|
|
|
838
861
|
return new e(t);
|
|
839
862
|
}, e;
|
|
840
863
|
}();
|
|
841
|
-
function
|
|
864
|
+
function Lt(e) {
|
|
842
865
|
var t;
|
|
843
|
-
return (t = e ??
|
|
866
|
+
return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
844
867
|
}
|
|
845
|
-
function
|
|
846
|
-
return e &&
|
|
868
|
+
function Rn(e) {
|
|
869
|
+
return e && Z(e.next) && Z(e.error) && Z(e.complete);
|
|
847
870
|
}
|
|
848
|
-
function
|
|
849
|
-
return e && e instanceof
|
|
871
|
+
function Un(e) {
|
|
872
|
+
return e && e instanceof br || Rn(e) && gr(e);
|
|
850
873
|
}
|
|
851
|
-
var
|
|
874
|
+
var Fn = mr(function(e) {
|
|
852
875
|
return function() {
|
|
853
876
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
854
877
|
};
|
|
855
|
-
}),
|
|
856
|
-
|
|
878
|
+
}), yr = function(e) {
|
|
879
|
+
Y(t, e);
|
|
857
880
|
function t() {
|
|
858
881
|
var r = e.call(this) || this;
|
|
859
882
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
860
883
|
}
|
|
861
884
|
return t.prototype.lift = function(r) {
|
|
862
|
-
var n = new
|
|
885
|
+
var n = new Pt(this, this);
|
|
863
886
|
return n.operator = r, n;
|
|
864
887
|
}, t.prototype._throwIfClosed = function() {
|
|
865
888
|
if (this.closed)
|
|
866
|
-
throw new
|
|
889
|
+
throw new Fn();
|
|
867
890
|
}, t.prototype.next = function(r) {
|
|
868
891
|
var n = this;
|
|
869
|
-
|
|
892
|
+
Le(function() {
|
|
870
893
|
var i, o;
|
|
871
894
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
872
895
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
873
896
|
try {
|
|
874
|
-
for (var a =
|
|
897
|
+
for (var a = et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
875
898
|
var u = s.value;
|
|
876
899
|
u.next(r);
|
|
877
900
|
}
|
|
@@ -889,7 +912,7 @@ var Gn = vr(function(e) {
|
|
|
889
912
|
});
|
|
890
913
|
}, t.prototype.error = function(r) {
|
|
891
914
|
var n = this;
|
|
892
|
-
|
|
915
|
+
Le(function() {
|
|
893
916
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
894
917
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
895
918
|
for (var i = n.observers; i.length; )
|
|
@@ -898,7 +921,7 @@ var Gn = vr(function(e) {
|
|
|
898
921
|
});
|
|
899
922
|
}, t.prototype.complete = function() {
|
|
900
923
|
var r = this;
|
|
901
|
-
|
|
924
|
+
Le(function() {
|
|
902
925
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
903
926
|
r.isStopped = !0;
|
|
904
927
|
for (var n = r.observers; n.length; )
|
|
@@ -920,20 +943,20 @@ var Gn = vr(function(e) {
|
|
|
920
943
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
921
944
|
}, t.prototype._innerSubscribe = function(r) {
|
|
922
945
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
923
|
-
return o || a ?
|
|
924
|
-
n.currentObservers = null,
|
|
946
|
+
return o || a ? pr : (this.currentObservers = null, s.push(r), new Fe(function() {
|
|
947
|
+
n.currentObservers = null, rt(s, r);
|
|
925
948
|
}));
|
|
926
949
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
927
950
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
928
951
|
i ? r.error(o) : a && r.complete();
|
|
929
952
|
}, t.prototype.asObservable = function() {
|
|
930
|
-
var r = new
|
|
953
|
+
var r = new Bt();
|
|
931
954
|
return r.source = this, r;
|
|
932
955
|
}, t.create = function(r, n) {
|
|
933
|
-
return new
|
|
956
|
+
return new Pt(r, n);
|
|
934
957
|
}, t;
|
|
935
|
-
}(
|
|
936
|
-
|
|
958
|
+
}(Bt), Pt = function(e) {
|
|
959
|
+
Y(t, e);
|
|
937
960
|
function t(r, n) {
|
|
938
961
|
var i = e.call(this) || this;
|
|
939
962
|
return i.destination = r, i.source = n, i;
|
|
@@ -949,17 +972,17 @@ var Gn = vr(function(e) {
|
|
|
949
972
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
950
973
|
}, t.prototype._subscribe = function(r) {
|
|
951
974
|
var n, i;
|
|
952
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
975
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
|
|
953
976
|
}, t;
|
|
954
|
-
}(
|
|
977
|
+
}(yr), _r = {
|
|
955
978
|
now: function() {
|
|
956
|
-
return (
|
|
979
|
+
return (_r.delegate || Date).now();
|
|
957
980
|
},
|
|
958
981
|
delegate: void 0
|
|
959
|
-
},
|
|
960
|
-
|
|
982
|
+
}, Dn = function(e) {
|
|
983
|
+
Y(t, e);
|
|
961
984
|
function t(r, n, i) {
|
|
962
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
985
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
|
|
963
986
|
var o = e.call(this) || this;
|
|
964
987
|
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;
|
|
965
988
|
}
|
|
@@ -979,15 +1002,15 @@ var Gn = vr(function(e) {
|
|
|
979
1002
|
l && o.splice(0, l + 1);
|
|
980
1003
|
}
|
|
981
1004
|
}, t;
|
|
982
|
-
}(
|
|
983
|
-
const
|
|
984
|
-
if (
|
|
985
|
-
const r = new
|
|
986
|
-
|
|
1005
|
+
}(yr);
|
|
1006
|
+
const It = [], Ct = {}, kn = (e, t = 0) => {
|
|
1007
|
+
if (It.indexOf(e) == -1) {
|
|
1008
|
+
const r = new Dn(t);
|
|
1009
|
+
Ct[e] = r, It.push(e);
|
|
987
1010
|
}
|
|
988
|
-
return
|
|
1011
|
+
return Ct[e];
|
|
989
1012
|
}, oe = [];
|
|
990
|
-
function
|
|
1013
|
+
function Gn(e, t) {
|
|
991
1014
|
return {
|
|
992
1015
|
subscribe: De(e, t).subscribe
|
|
993
1016
|
};
|
|
@@ -996,7 +1019,7 @@ function De(e, t = $) {
|
|
|
996
1019
|
let r;
|
|
997
1020
|
const n = /* @__PURE__ */ new Set();
|
|
998
1021
|
function i(s) {
|
|
999
|
-
if (
|
|
1022
|
+
if (hr(e, s) && (e = s, r)) {
|
|
1000
1023
|
const u = !oe.length;
|
|
1001
1024
|
for (const l of n)
|
|
1002
1025
|
l[1](), oe.push(l, e);
|
|
@@ -1018,12 +1041,12 @@ function De(e, t = $) {
|
|
|
1018
1041
|
}
|
|
1019
1042
|
return { set: i, update: o, subscribe: a };
|
|
1020
1043
|
}
|
|
1021
|
-
function
|
|
1044
|
+
function pe(e, t, r) {
|
|
1022
1045
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1023
1046
|
if (!i.every(Boolean))
|
|
1024
1047
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1025
1048
|
const o = t.length < 2;
|
|
1026
|
-
return
|
|
1049
|
+
return Gn(r, (a, s) => {
|
|
1027
1050
|
let u = !1;
|
|
1028
1051
|
const l = [];
|
|
1029
1052
|
let h = 0, c = $;
|
|
@@ -1032,170 +1055,131 @@ function de(e, t, r) {
|
|
|
1032
1055
|
return;
|
|
1033
1056
|
c();
|
|
1034
1057
|
const g = t(n ? l[0] : l, a, s);
|
|
1035
|
-
o ? a(g) : c =
|
|
1036
|
-
},
|
|
1037
|
-
(g,
|
|
1058
|
+
o ? a(g) : c = ft(g) ? g : $;
|
|
1059
|
+
}, m = i.map(
|
|
1060
|
+
(g, y) => cr(
|
|
1038
1061
|
g,
|
|
1039
|
-
(
|
|
1040
|
-
l[
|
|
1062
|
+
(S) => {
|
|
1063
|
+
l[y] = S, h &= ~(1 << y), u && f();
|
|
1041
1064
|
},
|
|
1042
1065
|
() => {
|
|
1043
|
-
h |= 1 <<
|
|
1066
|
+
h |= 1 << y;
|
|
1044
1067
|
}
|
|
1045
1068
|
)
|
|
1046
1069
|
);
|
|
1047
1070
|
return u = !0, f(), function() {
|
|
1048
|
-
|
|
1071
|
+
de(m), c(), u = !1;
|
|
1049
1072
|
};
|
|
1050
1073
|
});
|
|
1051
1074
|
}
|
|
1052
|
-
function
|
|
1053
|
-
return e
|
|
1075
|
+
function $n(e) {
|
|
1076
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1054
1077
|
}
|
|
1055
|
-
var
|
|
1056
|
-
return
|
|
1078
|
+
var jn = function(t) {
|
|
1079
|
+
return Wn(t) && !Vn(t);
|
|
1057
1080
|
};
|
|
1058
|
-
function
|
|
1081
|
+
function Wn(e) {
|
|
1059
1082
|
return !!e && typeof e == "object";
|
|
1060
1083
|
}
|
|
1061
|
-
function
|
|
1084
|
+
function Vn(e) {
|
|
1062
1085
|
var t = Object.prototype.toString.call(e);
|
|
1063
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1086
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
|
|
1064
1087
|
}
|
|
1065
|
-
var
|
|
1066
|
-
function
|
|
1067
|
-
return e.$$typeof ===
|
|
1088
|
+
var Xn = typeof Symbol == "function" && Symbol.for, zn = Xn ? Symbol.for("react.element") : 60103;
|
|
1089
|
+
function Zn(e) {
|
|
1090
|
+
return e.$$typeof === zn;
|
|
1068
1091
|
}
|
|
1069
|
-
function
|
|
1092
|
+
function Qn(e) {
|
|
1070
1093
|
return Array.isArray(e) ? [] : {};
|
|
1071
1094
|
}
|
|
1072
|
-
function
|
|
1073
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1095
|
+
function xe(e, t) {
|
|
1096
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(Qn(e), e, t) : e;
|
|
1074
1097
|
}
|
|
1075
|
-
function
|
|
1098
|
+
function Yn(e, t, r) {
|
|
1076
1099
|
return e.concat(t).map(function(n) {
|
|
1077
|
-
return
|
|
1100
|
+
return xe(n, r);
|
|
1078
1101
|
});
|
|
1079
1102
|
}
|
|
1080
|
-
function
|
|
1103
|
+
function qn(e, t) {
|
|
1081
1104
|
if (!t.customMerge)
|
|
1082
|
-
return
|
|
1105
|
+
return le;
|
|
1083
1106
|
var r = t.customMerge(e);
|
|
1084
|
-
return typeof r == "function" ? r :
|
|
1107
|
+
return typeof r == "function" ? r : le;
|
|
1085
1108
|
}
|
|
1086
|
-
function
|
|
1109
|
+
function Jn(e) {
|
|
1087
1110
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1088
1111
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1089
1112
|
}) : [];
|
|
1090
1113
|
}
|
|
1091
|
-
function
|
|
1092
|
-
return Object.keys(e).concat(
|
|
1114
|
+
function Nt(e) {
|
|
1115
|
+
return Object.keys(e).concat(Jn(e));
|
|
1093
1116
|
}
|
|
1094
|
-
function
|
|
1117
|
+
function vr(e, t) {
|
|
1095
1118
|
try {
|
|
1096
1119
|
return t in e;
|
|
1097
1120
|
} catch {
|
|
1098
1121
|
return !1;
|
|
1099
1122
|
}
|
|
1100
1123
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return
|
|
1124
|
+
function Kn(e, t) {
|
|
1125
|
+
return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1103
1126
|
}
|
|
1104
|
-
function
|
|
1127
|
+
function ei(e, t, r) {
|
|
1105
1128
|
var n = {};
|
|
1106
|
-
return r.isMergeableObject(e) &&
|
|
1107
|
-
n[i] =
|
|
1108
|
-
}),
|
|
1109
|
-
|
|
1129
|
+
return r.isMergeableObject(e) && Nt(e).forEach(function(i) {
|
|
1130
|
+
n[i] = xe(e[i], r);
|
|
1131
|
+
}), Nt(t).forEach(function(i) {
|
|
1132
|
+
Kn(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
|
|
1110
1133
|
}), n;
|
|
1111
1134
|
}
|
|
1112
|
-
function
|
|
1113
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1135
|
+
function le(e, t, r) {
|
|
1136
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = xe;
|
|
1114
1137
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1115
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1138
|
+
return o ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : xe(t, r);
|
|
1116
1139
|
}
|
|
1117
|
-
|
|
1140
|
+
le.all = function(t, r) {
|
|
1118
1141
|
if (!Array.isArray(t))
|
|
1119
1142
|
throw new Error("first argument should be an array");
|
|
1120
1143
|
return t.reduce(function(n, i) {
|
|
1121
|
-
return
|
|
1144
|
+
return le(n, i, r);
|
|
1122
1145
|
}, {});
|
|
1123
1146
|
};
|
|
1124
|
-
var
|
|
1125
|
-
const
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
r.__proto__ = n;
|
|
1129
|
-
} || function(r, n) {
|
|
1130
|
-
for (var i in n)
|
|
1131
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1132
|
-
}, ut(e, t);
|
|
1133
|
-
};
|
|
1134
|
-
function Ge(e, t) {
|
|
1135
|
-
if (typeof t != "function" && t !== null)
|
|
1136
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1137
|
-
ut(e, t);
|
|
1138
|
-
function r() {
|
|
1139
|
-
this.constructor = e;
|
|
1140
|
-
}
|
|
1141
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1142
|
-
}
|
|
1143
|
-
var X = function() {
|
|
1144
|
-
return X = Object.assign || function(t) {
|
|
1145
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1146
|
-
r = arguments[n];
|
|
1147
|
-
for (var o in r)
|
|
1148
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1149
|
-
}
|
|
1150
|
-
return t;
|
|
1151
|
-
}, X.apply(this, arguments);
|
|
1152
|
-
};
|
|
1153
|
-
function si(e, t) {
|
|
1154
|
-
var r = {};
|
|
1155
|
-
for (var n in e)
|
|
1156
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1157
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1158
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1159
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1160
|
-
return r;
|
|
1161
|
-
}
|
|
1162
|
-
function Qe(e, t, r) {
|
|
1163
|
-
if (r || arguments.length === 2)
|
|
1164
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1165
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1166
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1167
|
-
}
|
|
1168
|
-
function Ye(e, t) {
|
|
1169
|
-
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : hi;
|
|
1147
|
+
var ti = le, ri = ti;
|
|
1148
|
+
const ni = /* @__PURE__ */ $n(ri);
|
|
1149
|
+
function ze(e, t) {
|
|
1150
|
+
var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : oi;
|
|
1170
1151
|
return i(e, {
|
|
1171
1152
|
cache: r,
|
|
1172
1153
|
serializer: n
|
|
1173
1154
|
});
|
|
1174
1155
|
}
|
|
1175
|
-
function
|
|
1156
|
+
function ii(e) {
|
|
1176
1157
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1177
1158
|
}
|
|
1178
|
-
function
|
|
1179
|
-
var i =
|
|
1159
|
+
function xr(e, t, r, n) {
|
|
1160
|
+
var i = ii(n) ? n : r(n), o = t.get(i);
|
|
1180
1161
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1181
1162
|
}
|
|
1182
|
-
function
|
|
1163
|
+
function Er(e, t, r) {
|
|
1183
1164
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1184
1165
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1185
1166
|
}
|
|
1186
|
-
function
|
|
1167
|
+
function dt(e, t, r, n, i) {
|
|
1187
1168
|
return r.bind(t, e, n, i);
|
|
1188
1169
|
}
|
|
1189
|
-
function
|
|
1190
|
-
var r = e.length === 1 ?
|
|
1191
|
-
return
|
|
1170
|
+
function oi(e, t) {
|
|
1171
|
+
var r = e.length === 1 ? xr : Er;
|
|
1172
|
+
return dt(e, this, r, t.cache.create(), t.serializer);
|
|
1192
1173
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return
|
|
1174
|
+
function ai(e, t) {
|
|
1175
|
+
return dt(e, this, Er, t.cache.create(), t.serializer);
|
|
1195
1176
|
}
|
|
1196
|
-
|
|
1177
|
+
function si(e, t) {
|
|
1178
|
+
return dt(e, this, xr, t.cache.create(), t.serializer);
|
|
1179
|
+
}
|
|
1180
|
+
var ui = function() {
|
|
1197
1181
|
return JSON.stringify(arguments);
|
|
1198
|
-
},
|
|
1182
|
+
}, li = (
|
|
1199
1183
|
/** @class */
|
|
1200
1184
|
function() {
|
|
1201
1185
|
function e() {
|
|
@@ -1207,71 +1191,62 @@ var fi = function() {
|
|
|
1207
1191
|
this.cache[t] = r;
|
|
1208
1192
|
}, e;
|
|
1209
1193
|
}()
|
|
1210
|
-
),
|
|
1194
|
+
), hi = {
|
|
1211
1195
|
create: function() {
|
|
1212
|
-
return new
|
|
1196
|
+
return new li();
|
|
1213
1197
|
}
|
|
1214
|
-
},
|
|
1215
|
-
variadic:
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1219
|
-
r = arguments[n];
|
|
1220
|
-
for (var o in r)
|
|
1221
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1222
|
-
}
|
|
1223
|
-
return t;
|
|
1224
|
-
}, Re.apply(this, arguments);
|
|
1225
|
-
};
|
|
1226
|
-
var _;
|
|
1198
|
+
}, Ze = {
|
|
1199
|
+
variadic: ai,
|
|
1200
|
+
monadic: si
|
|
1201
|
+
}, v;
|
|
1227
1202
|
(function(e) {
|
|
1228
1203
|
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";
|
|
1229
|
-
})(
|
|
1230
|
-
var
|
|
1204
|
+
})(v || (v = {}));
|
|
1205
|
+
var O;
|
|
1231
1206
|
(function(e) {
|
|
1232
1207
|
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";
|
|
1233
|
-
})(
|
|
1234
|
-
var
|
|
1208
|
+
})(O || (O = {}));
|
|
1209
|
+
var he;
|
|
1235
1210
|
(function(e) {
|
|
1236
1211
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1237
|
-
})(
|
|
1238
|
-
function
|
|
1239
|
-
return e.type ===
|
|
1212
|
+
})(he || (he = {}));
|
|
1213
|
+
function Rt(e) {
|
|
1214
|
+
return e.type === O.literal;
|
|
1240
1215
|
}
|
|
1241
|
-
function
|
|
1242
|
-
return e.type ===
|
|
1216
|
+
function ci(e) {
|
|
1217
|
+
return e.type === O.argument;
|
|
1243
1218
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return e.type ===
|
|
1219
|
+
function wr(e) {
|
|
1220
|
+
return e.type === O.number;
|
|
1246
1221
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1222
|
+
function Sr(e) {
|
|
1223
|
+
return e.type === O.date;
|
|
1249
1224
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return e.type ===
|
|
1225
|
+
function Hr(e) {
|
|
1226
|
+
return e.type === O.time;
|
|
1252
1227
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return e.type ===
|
|
1228
|
+
function Tr(e) {
|
|
1229
|
+
return e.type === O.select;
|
|
1255
1230
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return e.type ===
|
|
1231
|
+
function Or(e) {
|
|
1232
|
+
return e.type === O.plural;
|
|
1258
1233
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return e.type ===
|
|
1234
|
+
function fi(e) {
|
|
1235
|
+
return e.type === O.pound;
|
|
1261
1236
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return e.type ===
|
|
1237
|
+
function Mr(e) {
|
|
1238
|
+
return e.type === O.tag;
|
|
1264
1239
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1240
|
+
function Ar(e) {
|
|
1241
|
+
return !!(e && typeof e == "object" && e.type === he.number);
|
|
1267
1242
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1243
|
+
function it(e) {
|
|
1244
|
+
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
1270
1245
|
}
|
|
1271
|
-
var
|
|
1272
|
-
function
|
|
1246
|
+
var Br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
|
|
1247
|
+
function mi(e) {
|
|
1273
1248
|
var t = {};
|
|
1274
|
-
return e.replace(
|
|
1249
|
+
return e.replace(di, function(r) {
|
|
1275
1250
|
var n = r.length;
|
|
1276
1251
|
switch (r[0]) {
|
|
1277
1252
|
case "G":
|
|
@@ -1360,21 +1335,11 @@ function vi(e) {
|
|
|
1360
1335
|
return "";
|
|
1361
1336
|
}), t;
|
|
1362
1337
|
}
|
|
1363
|
-
var
|
|
1364
|
-
|
|
1365
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1366
|
-
r = arguments[n];
|
|
1367
|
-
for (var o in r)
|
|
1368
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1369
|
-
}
|
|
1370
|
-
return t;
|
|
1371
|
-
}, M.apply(this, arguments);
|
|
1372
|
-
};
|
|
1373
|
-
var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1374
|
-
function _i(e) {
|
|
1338
|
+
var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1339
|
+
function gi(e) {
|
|
1375
1340
|
if (e.length === 0)
|
|
1376
1341
|
throw new Error("Number skeleton cannot be empty");
|
|
1377
|
-
for (var t = e.split(
|
|
1342
|
+
for (var t = e.split(pi).filter(function(f) {
|
|
1378
1343
|
return f.length > 0;
|
|
1379
1344
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1380
1345
|
var o = i[n], a = o.split("/");
|
|
@@ -1389,17 +1354,17 @@ function _i(e) {
|
|
|
1389
1354
|
}
|
|
1390
1355
|
return r;
|
|
1391
1356
|
}
|
|
1392
|
-
function
|
|
1357
|
+
function bi(e) {
|
|
1393
1358
|
return e.replace(/^(.*?)-/, "");
|
|
1394
1359
|
}
|
|
1395
|
-
var
|
|
1396
|
-
function
|
|
1360
|
+
var Ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
|
|
1361
|
+
function Ft(e) {
|
|
1397
1362
|
var t = {};
|
|
1398
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1363
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
|
|
1399
1364
|
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)), "";
|
|
1400
1365
|
}), t;
|
|
1401
1366
|
}
|
|
1402
|
-
function
|
|
1367
|
+
function Ir(e) {
|
|
1403
1368
|
switch (e) {
|
|
1404
1369
|
case "sign-auto":
|
|
1405
1370
|
return {
|
|
@@ -1439,7 +1404,7 @@ function Ur(e) {
|
|
|
1439
1404
|
};
|
|
1440
1405
|
}
|
|
1441
1406
|
}
|
|
1442
|
-
function
|
|
1407
|
+
function _i(e) {
|
|
1443
1408
|
var t;
|
|
1444
1409
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1445
1410
|
notation: "engineering"
|
|
@@ -1447,17 +1412,17 @@ function wi(e) {
|
|
|
1447
1412
|
notation: "scientific"
|
|
1448
1413
|
}, e = e.slice(1)), t) {
|
|
1449
1414
|
var r = e.slice(0, 2);
|
|
1450
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1415
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
|
|
1451
1416
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1452
1417
|
t.minimumIntegerDigits = e.length;
|
|
1453
1418
|
}
|
|
1454
1419
|
return t;
|
|
1455
1420
|
}
|
|
1456
|
-
function
|
|
1457
|
-
var t = {}, r =
|
|
1421
|
+
function Dt(e) {
|
|
1422
|
+
var t = {}, r = Ir(e);
|
|
1458
1423
|
return r || t;
|
|
1459
1424
|
}
|
|
1460
|
-
function
|
|
1425
|
+
function vi(e) {
|
|
1461
1426
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1462
1427
|
var i = n[r];
|
|
1463
1428
|
switch (i.stem) {
|
|
@@ -1481,7 +1446,7 @@ function Si(e) {
|
|
|
1481
1446
|
continue;
|
|
1482
1447
|
case "measure-unit":
|
|
1483
1448
|
case "unit":
|
|
1484
|
-
t.style = "unit", t.unit =
|
|
1449
|
+
t.style = "unit", t.unit = bi(i.options[0]);
|
|
1485
1450
|
continue;
|
|
1486
1451
|
case "compact-short":
|
|
1487
1452
|
case "K":
|
|
@@ -1492,13 +1457,13 @@ function Si(e) {
|
|
|
1492
1457
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1493
1458
|
continue;
|
|
1494
1459
|
case "scientific":
|
|
1495
|
-
t =
|
|
1496
|
-
return
|
|
1460
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1461
|
+
return w(w({}, u), Dt(l));
|
|
1497
1462
|
}, {}));
|
|
1498
1463
|
continue;
|
|
1499
1464
|
case "engineering":
|
|
1500
|
-
t =
|
|
1501
|
-
return
|
|
1465
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1466
|
+
return w(w({}, u), Dt(l));
|
|
1502
1467
|
}, {}));
|
|
1503
1468
|
continue;
|
|
1504
1469
|
case "notation-simple":
|
|
@@ -1543,45 +1508,45 @@ function Si(e) {
|
|
|
1543
1508
|
case "integer-width":
|
|
1544
1509
|
if (i.options.length > 1)
|
|
1545
1510
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1546
|
-
i.options[0].replace(
|
|
1511
|
+
i.options[0].replace(yi, function(u, l, h, c, f, m) {
|
|
1547
1512
|
if (l)
|
|
1548
1513
|
t.minimumIntegerDigits = h.length;
|
|
1549
1514
|
else {
|
|
1550
1515
|
if (c && f)
|
|
1551
1516
|
throw new Error("We currently do not support maximum integer digits");
|
|
1552
|
-
if (
|
|
1517
|
+
if (m)
|
|
1553
1518
|
throw new Error("We currently do not support exact integer digits");
|
|
1554
1519
|
}
|
|
1555
1520
|
return "";
|
|
1556
1521
|
});
|
|
1557
1522
|
continue;
|
|
1558
1523
|
}
|
|
1559
|
-
if (
|
|
1524
|
+
if (Pr.test(i.stem)) {
|
|
1560
1525
|
t.minimumIntegerDigits = i.stem.length;
|
|
1561
1526
|
continue;
|
|
1562
1527
|
}
|
|
1563
|
-
if (
|
|
1528
|
+
if (Ut.test(i.stem)) {
|
|
1564
1529
|
if (i.options.length > 1)
|
|
1565
1530
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1566
|
-
i.stem.replace(
|
|
1567
|
-
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1531
|
+
i.stem.replace(Ut, function(u, l, h, c, f, m) {
|
|
1532
|
+
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1568
1533
|
});
|
|
1569
1534
|
var o = i.options[0];
|
|
1570
|
-
o === "w" ? t =
|
|
1535
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ft(o)));
|
|
1571
1536
|
continue;
|
|
1572
1537
|
}
|
|
1573
|
-
if (
|
|
1574
|
-
t =
|
|
1538
|
+
if (Lr.test(i.stem)) {
|
|
1539
|
+
t = w(w({}, t), Ft(i.stem));
|
|
1575
1540
|
continue;
|
|
1576
1541
|
}
|
|
1577
|
-
var a =
|
|
1578
|
-
a && (t =
|
|
1579
|
-
var s =
|
|
1580
|
-
s && (t =
|
|
1542
|
+
var a = Ir(i.stem);
|
|
1543
|
+
a && (t = w(w({}, t), a));
|
|
1544
|
+
var s = _i(i.stem);
|
|
1545
|
+
s && (t = w(w({}, t), s));
|
|
1581
1546
|
}
|
|
1582
1547
|
return t;
|
|
1583
1548
|
}
|
|
1584
|
-
var
|
|
1549
|
+
var Ae = {
|
|
1585
1550
|
"001": [
|
|
1586
1551
|
"H",
|
|
1587
1552
|
"h"
|
|
@@ -2996,13 +2961,13 @@ var Me = {
|
|
|
2996
2961
|
"h"
|
|
2997
2962
|
]
|
|
2998
2963
|
};
|
|
2999
|
-
function
|
|
2964
|
+
function xi(e, t) {
|
|
3000
2965
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3001
2966
|
var i = e.charAt(n);
|
|
3002
2967
|
if (i === "j") {
|
|
3003
2968
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3004
2969
|
o++, n++;
|
|
3005
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2970
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ei(t);
|
|
3006
2971
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3007
2972
|
r += u;
|
|
3008
2973
|
for (; a-- > 0; )
|
|
@@ -3012,7 +2977,7 @@ function Hi(e, t) {
|
|
|
3012
2977
|
}
|
|
3013
2978
|
return r;
|
|
3014
2979
|
}
|
|
3015
|
-
function
|
|
2980
|
+
function Ei(e) {
|
|
3016
2981
|
var t = e.hourCycle;
|
|
3017
2982
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3018
2983
|
e.hourCycles && // @ts-ignore
|
|
@@ -3031,23 +2996,23 @@ function Ti(e) {
|
|
|
3031
2996
|
}
|
|
3032
2997
|
var r = e.language, n;
|
|
3033
2998
|
r !== "root" && (n = e.maximize().region);
|
|
3034
|
-
var i =
|
|
2999
|
+
var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
|
|
3035
3000
|
return i[0];
|
|
3036
3001
|
}
|
|
3037
|
-
var
|
|
3002
|
+
var Qe, wi = new RegExp("^".concat(Br.source, "*")), Si = new RegExp("".concat(Br.source, "*$"));
|
|
3038
3003
|
function E(e, t) {
|
|
3039
3004
|
return { start: e, end: t };
|
|
3040
3005
|
}
|
|
3041
|
-
var
|
|
3006
|
+
var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Oi = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Pi = Li ? Number.isSafeInteger : function(e) {
|
|
3042
3007
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3043
|
-
},
|
|
3008
|
+
}, ot = !0;
|
|
3044
3009
|
try {
|
|
3045
|
-
var
|
|
3046
|
-
|
|
3010
|
+
var Ii = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3011
|
+
ot = ((Qe = Ii.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
|
|
3047
3012
|
} catch {
|
|
3048
|
-
|
|
3013
|
+
ot = !1;
|
|
3049
3014
|
}
|
|
3050
|
-
var
|
|
3015
|
+
var kt = Hi ? (
|
|
3051
3016
|
// Native
|
|
3052
3017
|
function(t, r, n) {
|
|
3053
3018
|
return t.startsWith(r, n);
|
|
@@ -3057,7 +3022,7 @@ var Wt = Mi ? (
|
|
|
3057
3022
|
function(t, r, n) {
|
|
3058
3023
|
return t.slice(n, n + r.length) === r;
|
|
3059
3024
|
}
|
|
3060
|
-
),
|
|
3025
|
+
), at = Ti ? String.fromCodePoint : (
|
|
3061
3026
|
// IE11
|
|
3062
3027
|
function() {
|
|
3063
3028
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3069,9 +3034,9 @@ var Wt = Mi ? (
|
|
|
3069
3034
|
}
|
|
3070
3035
|
return n;
|
|
3071
3036
|
}
|
|
3072
|
-
),
|
|
3037
|
+
), Gt = (
|
|
3073
3038
|
// native
|
|
3074
|
-
|
|
3039
|
+
Oi ? Object.fromEntries : (
|
|
3075
3040
|
// Ponyfill
|
|
3076
3041
|
function(t) {
|
|
3077
3042
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3081,7 +3046,7 @@ var Wt = Mi ? (
|
|
|
3081
3046
|
return r;
|
|
3082
3047
|
}
|
|
3083
3048
|
)
|
|
3084
|
-
),
|
|
3049
|
+
), Cr = Mi ? (
|
|
3085
3050
|
// Native
|
|
3086
3051
|
function(t, r) {
|
|
3087
3052
|
return t.codePointAt(r);
|
|
@@ -3095,7 +3060,7 @@ var Wt = Mi ? (
|
|
|
3095
3060
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3096
3061
|
}
|
|
3097
3062
|
}
|
|
3098
|
-
),
|
|
3063
|
+
), Ci = Ai ? (
|
|
3099
3064
|
// Native
|
|
3100
3065
|
function(t) {
|
|
3101
3066
|
return t.trimStart();
|
|
@@ -3103,9 +3068,9 @@ var Wt = Mi ? (
|
|
|
3103
3068
|
) : (
|
|
3104
3069
|
// Ponyfill
|
|
3105
3070
|
function(t) {
|
|
3106
|
-
return t.replace(
|
|
3071
|
+
return t.replace(wi, "");
|
|
3107
3072
|
}
|
|
3108
|
-
),
|
|
3073
|
+
), Ni = Bi ? (
|
|
3109
3074
|
// Native
|
|
3110
3075
|
function(t) {
|
|
3111
3076
|
return t.trimEnd();
|
|
@@ -3113,32 +3078,32 @@ var Wt = Mi ? (
|
|
|
3113
3078
|
) : (
|
|
3114
3079
|
// Ponyfill
|
|
3115
3080
|
function(t) {
|
|
3116
|
-
return t.replace(
|
|
3081
|
+
return t.replace(Si, "");
|
|
3117
3082
|
}
|
|
3118
3083
|
);
|
|
3119
|
-
function
|
|
3084
|
+
function Nr(e, t) {
|
|
3120
3085
|
return new RegExp(e, t);
|
|
3121
3086
|
}
|
|
3122
|
-
var
|
|
3123
|
-
if (
|
|
3124
|
-
var
|
|
3125
|
-
|
|
3087
|
+
var st;
|
|
3088
|
+
if (ot) {
|
|
3089
|
+
var $t = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3090
|
+
st = function(t, r) {
|
|
3126
3091
|
var n;
|
|
3127
|
-
|
|
3128
|
-
var i =
|
|
3092
|
+
$t.lastIndex = r;
|
|
3093
|
+
var i = $t.exec(t);
|
|
3129
3094
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3130
3095
|
};
|
|
3131
3096
|
} else
|
|
3132
|
-
|
|
3097
|
+
st = function(t, r) {
|
|
3133
3098
|
for (var n = []; ; ) {
|
|
3134
|
-
var i =
|
|
3135
|
-
if (i === void 0 ||
|
|
3099
|
+
var i = Cr(t, r);
|
|
3100
|
+
if (i === void 0 || Rr(i) || Di(i))
|
|
3136
3101
|
break;
|
|
3137
3102
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3138
3103
|
}
|
|
3139
|
-
return
|
|
3104
|
+
return at.apply(void 0, n);
|
|
3140
3105
|
};
|
|
3141
|
-
var
|
|
3106
|
+
var Ri = (
|
|
3142
3107
|
/** @class */
|
|
3143
3108
|
function() {
|
|
3144
3109
|
function e(t, r) {
|
|
@@ -3162,14 +3127,14 @@ var Di = (
|
|
|
3162
3127
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3163
3128
|
var s = this.clonePosition();
|
|
3164
3129
|
this.bump(), i.push({
|
|
3165
|
-
type:
|
|
3130
|
+
type: O.pound,
|
|
3166
3131
|
location: E(s, this.clonePosition())
|
|
3167
3132
|
});
|
|
3168
3133
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3169
3134
|
if (n)
|
|
3170
3135
|
break;
|
|
3171
|
-
return this.error(
|
|
3172
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3136
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3137
|
+
} else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
|
|
3173
3138
|
var a = this.parseTag(t, r);
|
|
3174
3139
|
if (a.err)
|
|
3175
3140
|
return a;
|
|
@@ -3190,7 +3155,7 @@ var Di = (
|
|
|
3190
3155
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3191
3156
|
return {
|
|
3192
3157
|
val: {
|
|
3193
|
-
type:
|
|
3158
|
+
type: O.literal,
|
|
3194
3159
|
value: "<".concat(i, "/>"),
|
|
3195
3160
|
location: E(n, this.clonePosition())
|
|
3196
3161
|
},
|
|
@@ -3202,25 +3167,25 @@ var Di = (
|
|
|
3202
3167
|
return o;
|
|
3203
3168
|
var a = o.val, s = this.clonePosition();
|
|
3204
3169
|
if (this.bumpIf("</")) {
|
|
3205
|
-
if (this.isEOF() || !
|
|
3206
|
-
return this.error(
|
|
3170
|
+
if (this.isEOF() || !ut(this.char()))
|
|
3171
|
+
return this.error(v.INVALID_TAG, E(s, this.clonePosition()));
|
|
3207
3172
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3208
|
-
return i !== l ? this.error(
|
|
3173
|
+
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3209
3174
|
val: {
|
|
3210
|
-
type:
|
|
3175
|
+
type: O.tag,
|
|
3211
3176
|
value: i,
|
|
3212
3177
|
children: a,
|
|
3213
3178
|
location: E(n, this.clonePosition())
|
|
3214
3179
|
},
|
|
3215
3180
|
err: null
|
|
3216
|
-
} : this.error(
|
|
3181
|
+
} : this.error(v.INVALID_TAG, E(s, this.clonePosition())));
|
|
3217
3182
|
} else
|
|
3218
|
-
return this.error(
|
|
3183
|
+
return this.error(v.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
3219
3184
|
} else
|
|
3220
|
-
return this.error(
|
|
3185
|
+
return this.error(v.INVALID_TAG, E(n, this.clonePosition()));
|
|
3221
3186
|
}, e.prototype.parseTagName = function() {
|
|
3222
3187
|
var t = this.offset();
|
|
3223
|
-
for (this.bump(); !this.isEOF() &&
|
|
3188
|
+
for (this.bump(); !this.isEOF() && Fi(this.char()); )
|
|
3224
3189
|
this.bump();
|
|
3225
3190
|
return this.message.slice(t, this.offset());
|
|
3226
3191
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3244,12 +3209,12 @@ var Di = (
|
|
|
3244
3209
|
}
|
|
3245
3210
|
var u = E(n, this.clonePosition());
|
|
3246
3211
|
return {
|
|
3247
|
-
val: { type:
|
|
3212
|
+
val: { type: O.literal, value: i, location: u },
|
|
3248
3213
|
err: null
|
|
3249
3214
|
};
|
|
3250
3215
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3251
3216
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3252
|
-
!
|
|
3217
|
+
!Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3253
3218
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3254
3219
|
if (this.isEOF() || this.char() !== 39)
|
|
3255
3220
|
return null;
|
|
@@ -3283,28 +3248,28 @@ var Di = (
|
|
|
3283
3248
|
r.push(n);
|
|
3284
3249
|
this.bump();
|
|
3285
3250
|
}
|
|
3286
|
-
return
|
|
3251
|
+
return at.apply(void 0, r);
|
|
3287
3252
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3288
3253
|
if (this.isEOF())
|
|
3289
3254
|
return null;
|
|
3290
3255
|
var n = this.char();
|
|
3291
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3256
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3292
3257
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3293
3258
|
var n = this.clonePosition();
|
|
3294
3259
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3295
|
-
return this.error(
|
|
3260
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3296
3261
|
if (this.char() === 125)
|
|
3297
|
-
return this.bump(), this.error(
|
|
3262
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
3298
3263
|
var i = this.parseIdentifierIfPossible().value;
|
|
3299
3264
|
if (!i)
|
|
3300
|
-
return this.error(
|
|
3265
|
+
return this.error(v.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3301
3266
|
if (this.bumpSpace(), this.isEOF())
|
|
3302
|
-
return this.error(
|
|
3267
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3303
3268
|
switch (this.char()) {
|
|
3304
3269
|
case 125:
|
|
3305
3270
|
return this.bump(), {
|
|
3306
3271
|
val: {
|
|
3307
|
-
type:
|
|
3272
|
+
type: O.argument,
|
|
3308
3273
|
// value does not include the opening and closing braces.
|
|
3309
3274
|
value: i,
|
|
3310
3275
|
location: E(n, this.clonePosition())
|
|
@@ -3312,12 +3277,12 @@ var Di = (
|
|
|
3312
3277
|
err: null
|
|
3313
3278
|
};
|
|
3314
3279
|
case 44:
|
|
3315
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3280
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3316
3281
|
default:
|
|
3317
|
-
return this.error(
|
|
3282
|
+
return this.error(v.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3318
3283
|
}
|
|
3319
3284
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3320
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3285
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3321
3286
|
this.bumpTo(i);
|
|
3322
3287
|
var o = this.clonePosition(), a = E(t, o);
|
|
3323
3288
|
return { value: n, location: a };
|
|
@@ -3325,7 +3290,7 @@ var Di = (
|
|
|
3325
3290
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3326
3291
|
switch (s) {
|
|
3327
3292
|
case "":
|
|
3328
|
-
return this.error(
|
|
3293
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, E(a, u));
|
|
3329
3294
|
case "number":
|
|
3330
3295
|
case "date":
|
|
3331
3296
|
case "time": {
|
|
@@ -3336,46 +3301,46 @@ var Di = (
|
|
|
3336
3301
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3337
3302
|
if (c.err)
|
|
3338
3303
|
return c;
|
|
3339
|
-
var f =
|
|
3304
|
+
var f = Ni(c.val);
|
|
3340
3305
|
if (f.length === 0)
|
|
3341
|
-
return this.error(
|
|
3342
|
-
var
|
|
3343
|
-
l = { style: f, styleLocation:
|
|
3306
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3307
|
+
var m = E(h, this.clonePosition());
|
|
3308
|
+
l = { style: f, styleLocation: m };
|
|
3344
3309
|
}
|
|
3345
3310
|
var g = this.tryParseArgumentClose(i);
|
|
3346
3311
|
if (g.err)
|
|
3347
3312
|
return g;
|
|
3348
|
-
var
|
|
3349
|
-
if (l &&
|
|
3350
|
-
var
|
|
3313
|
+
var y = E(i, this.clonePosition());
|
|
3314
|
+
if (l && kt(l?.style, "::", 0)) {
|
|
3315
|
+
var S = Ci(l.style.slice(2));
|
|
3351
3316
|
if (s === "number") {
|
|
3352
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3317
|
+
var c = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3353
3318
|
return c.err ? c : {
|
|
3354
|
-
val: { type:
|
|
3319
|
+
val: { type: O.number, value: n, location: y, style: c.val },
|
|
3355
3320
|
err: null
|
|
3356
3321
|
};
|
|
3357
3322
|
} else {
|
|
3358
|
-
if (
|
|
3359
|
-
return this.error(
|
|
3360
|
-
var
|
|
3361
|
-
this.locale && (
|
|
3323
|
+
if (S.length === 0)
|
|
3324
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, y);
|
|
3325
|
+
var T = S;
|
|
3326
|
+
this.locale && (T = xi(S, this.locale));
|
|
3362
3327
|
var f = {
|
|
3363
|
-
type:
|
|
3364
|
-
pattern:
|
|
3328
|
+
type: he.dateTime,
|
|
3329
|
+
pattern: T,
|
|
3365
3330
|
location: l.styleLocation,
|
|
3366
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3367
|
-
},
|
|
3331
|
+
parsedOptions: this.shouldParseSkeletons ? mi(T) : {}
|
|
3332
|
+
}, P = s === "date" ? O.date : O.time;
|
|
3368
3333
|
return {
|
|
3369
|
-
val: { type:
|
|
3334
|
+
val: { type: P, value: n, location: y, style: f },
|
|
3370
3335
|
err: null
|
|
3371
3336
|
};
|
|
3372
3337
|
}
|
|
3373
3338
|
}
|
|
3374
3339
|
return {
|
|
3375
3340
|
val: {
|
|
3376
|
-
type: s === "number" ?
|
|
3341
|
+
type: s === "number" ? O.number : s === "date" ? O.date : O.time,
|
|
3377
3342
|
value: n,
|
|
3378
|
-
location:
|
|
3343
|
+
location: y,
|
|
3379
3344
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3380
3345
|
},
|
|
3381
3346
|
err: null
|
|
@@ -3384,16 +3349,16 @@ var Di = (
|
|
|
3384
3349
|
case "plural":
|
|
3385
3350
|
case "selectordinal":
|
|
3386
3351
|
case "select": {
|
|
3387
|
-
var
|
|
3352
|
+
var B = this.clonePosition();
|
|
3388
3353
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3389
|
-
return this.error(
|
|
3354
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B, w({}, B)));
|
|
3390
3355
|
this.bumpSpace();
|
|
3391
3356
|
var G = this.parseIdentifierIfPossible(), C = 0;
|
|
3392
3357
|
if (s !== "select" && G.value === "offset") {
|
|
3393
3358
|
if (!this.bumpIf(":"))
|
|
3394
|
-
return this.error(
|
|
3359
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3395
3360
|
this.bumpSpace();
|
|
3396
|
-
var c = this.tryParseDecimalInteger(
|
|
3361
|
+
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3397
3362
|
if (c.err)
|
|
3398
3363
|
return c;
|
|
3399
3364
|
this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
|
|
@@ -3404,32 +3369,32 @@ var Di = (
|
|
|
3404
3369
|
var g = this.tryParseArgumentClose(i);
|
|
3405
3370
|
if (g.err)
|
|
3406
3371
|
return g;
|
|
3407
|
-
var
|
|
3372
|
+
var X = E(i, this.clonePosition());
|
|
3408
3373
|
return s === "select" ? {
|
|
3409
3374
|
val: {
|
|
3410
|
-
type:
|
|
3375
|
+
type: O.select,
|
|
3411
3376
|
value: n,
|
|
3412
|
-
options:
|
|
3413
|
-
location:
|
|
3377
|
+
options: Gt(V.val),
|
|
3378
|
+
location: X
|
|
3414
3379
|
},
|
|
3415
3380
|
err: null
|
|
3416
3381
|
} : {
|
|
3417
3382
|
val: {
|
|
3418
|
-
type:
|
|
3383
|
+
type: O.plural,
|
|
3419
3384
|
value: n,
|
|
3420
|
-
options:
|
|
3385
|
+
options: Gt(V.val),
|
|
3421
3386
|
offset: C,
|
|
3422
3387
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3423
|
-
location:
|
|
3388
|
+
location: X
|
|
3424
3389
|
},
|
|
3425
3390
|
err: null
|
|
3426
3391
|
};
|
|
3427
3392
|
}
|
|
3428
3393
|
default:
|
|
3429
|
-
return this.error(
|
|
3394
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, E(a, u));
|
|
3430
3395
|
}
|
|
3431
3396
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3432
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3397
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3433
3398
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3434
3399
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3435
3400
|
var n = this.char();
|
|
@@ -3438,7 +3403,7 @@ var Di = (
|
|
|
3438
3403
|
this.bump();
|
|
3439
3404
|
var i = this.clonePosition();
|
|
3440
3405
|
if (!this.bumpUntil("'"))
|
|
3441
|
-
return this.error(
|
|
3406
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
3442
3407
|
this.bump();
|
|
3443
3408
|
break;
|
|
3444
3409
|
}
|
|
@@ -3468,16 +3433,16 @@ var Di = (
|
|
|
3468
3433
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3469
3434
|
var n = [];
|
|
3470
3435
|
try {
|
|
3471
|
-
n =
|
|
3436
|
+
n = gi(t);
|
|
3472
3437
|
} catch {
|
|
3473
|
-
return this.error(
|
|
3438
|
+
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3474
3439
|
}
|
|
3475
3440
|
return {
|
|
3476
3441
|
val: {
|
|
3477
|
-
type:
|
|
3442
|
+
type: he.number,
|
|
3478
3443
|
tokens: n,
|
|
3479
3444
|
location: r,
|
|
3480
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3445
|
+
parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
|
|
3481
3446
|
},
|
|
3482
3447
|
err: null
|
|
3483
3448
|
};
|
|
@@ -3486,7 +3451,7 @@ var Di = (
|
|
|
3486
3451
|
if (l.length === 0) {
|
|
3487
3452
|
var c = this.clonePosition();
|
|
3488
3453
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3489
|
-
var f = this.tryParseDecimalInteger(
|
|
3454
|
+
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3490
3455
|
if (f.err)
|
|
3491
3456
|
return f;
|
|
3492
3457
|
h = E(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
@@ -3494,26 +3459,26 @@ var Di = (
|
|
|
3494
3459
|
break;
|
|
3495
3460
|
}
|
|
3496
3461
|
if (u.has(l))
|
|
3497
|
-
return this.error(r === "select" ?
|
|
3462
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3498
3463
|
l === "other" && (a = !0), this.bumpSpace();
|
|
3499
|
-
var
|
|
3464
|
+
var m = this.clonePosition();
|
|
3500
3465
|
if (!this.bumpIf("{"))
|
|
3501
|
-
return this.error(r === "select" ?
|
|
3466
|
+
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3502
3467
|
var g = this.parseMessage(t + 1, r, n);
|
|
3503
3468
|
if (g.err)
|
|
3504
3469
|
return g;
|
|
3505
|
-
var
|
|
3506
|
-
if (
|
|
3507
|
-
return
|
|
3470
|
+
var y = this.tryParseArgumentClose(m);
|
|
3471
|
+
if (y.err)
|
|
3472
|
+
return y;
|
|
3508
3473
|
s.push([
|
|
3509
3474
|
l,
|
|
3510
3475
|
{
|
|
3511
3476
|
value: g.val,
|
|
3512
|
-
location: E(
|
|
3477
|
+
location: E(m, this.clonePosition())
|
|
3513
3478
|
}
|
|
3514
3479
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3515
3480
|
}
|
|
3516
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3481
|
+
return s.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(v.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3517
3482
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3518
3483
|
var n = 1, i = this.clonePosition();
|
|
3519
3484
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3525,7 +3490,7 @@ var Di = (
|
|
|
3525
3490
|
break;
|
|
3526
3491
|
}
|
|
3527
3492
|
var u = E(i, this.clonePosition());
|
|
3528
|
-
return o ? (a *= n,
|
|
3493
|
+
return o ? (a *= n, Pi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3529
3494
|
}, e.prototype.offset = function() {
|
|
3530
3495
|
return this.position.offset;
|
|
3531
3496
|
}, e.prototype.isEOF = function() {
|
|
@@ -3540,7 +3505,7 @@ var Di = (
|
|
|
3540
3505
|
var t = this.position.offset;
|
|
3541
3506
|
if (t >= this.message.length)
|
|
3542
3507
|
throw Error("out of bound");
|
|
3543
|
-
var r =
|
|
3508
|
+
var r = Cr(this.message, t);
|
|
3544
3509
|
if (r === void 0)
|
|
3545
3510
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3546
3511
|
return r;
|
|
@@ -3559,7 +3524,7 @@ var Di = (
|
|
|
3559
3524
|
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);
|
|
3560
3525
|
}
|
|
3561
3526
|
}, e.prototype.bumpIf = function(t) {
|
|
3562
|
-
if (
|
|
3527
|
+
if (kt(this.message, t, this.offset())) {
|
|
3563
3528
|
for (var r = 0; r < t.length; r++)
|
|
3564
3529
|
this.bump();
|
|
3565
3530
|
return !0;
|
|
@@ -3581,7 +3546,7 @@ var Di = (
|
|
|
3581
3546
|
break;
|
|
3582
3547
|
}
|
|
3583
3548
|
}, e.prototype.bumpSpace = function() {
|
|
3584
|
-
for (; !this.isEOF() &&
|
|
3549
|
+
for (; !this.isEOF() && Rr(this.char()); )
|
|
3585
3550
|
this.bump();
|
|
3586
3551
|
}, e.prototype.peek = function() {
|
|
3587
3552
|
if (this.isEOF())
|
|
@@ -3591,47 +3556,47 @@ var Di = (
|
|
|
3591
3556
|
}, e;
|
|
3592
3557
|
}()
|
|
3593
3558
|
);
|
|
3594
|
-
function
|
|
3559
|
+
function ut(e) {
|
|
3595
3560
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3596
3561
|
}
|
|
3597
|
-
function
|
|
3598
|
-
return
|
|
3562
|
+
function Ui(e) {
|
|
3563
|
+
return ut(e) || e === 47;
|
|
3599
3564
|
}
|
|
3600
|
-
function
|
|
3565
|
+
function Fi(e) {
|
|
3601
3566
|
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;
|
|
3602
3567
|
}
|
|
3603
|
-
function
|
|
3568
|
+
function Rr(e) {
|
|
3604
3569
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3605
3570
|
}
|
|
3606
|
-
function
|
|
3571
|
+
function Di(e) {
|
|
3607
3572
|
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;
|
|
3608
3573
|
}
|
|
3609
|
-
function
|
|
3574
|
+
function lt(e) {
|
|
3610
3575
|
e.forEach(function(t) {
|
|
3611
|
-
if (delete t.location,
|
|
3576
|
+
if (delete t.location, Tr(t) || Or(t))
|
|
3612
3577
|
for (var r in t.options)
|
|
3613
|
-
delete t.options[r].location,
|
|
3578
|
+
delete t.options[r].location, lt(t.options[r].value);
|
|
3614
3579
|
else
|
|
3615
|
-
|
|
3580
|
+
wr(t) && Ar(t.style) || (Sr(t) || Hr(t)) && it(t.style) ? delete t.style.location : Mr(t) && lt(t.children);
|
|
3616
3581
|
});
|
|
3617
3582
|
}
|
|
3618
|
-
function
|
|
3619
|
-
t === void 0 && (t = {}), t =
|
|
3620
|
-
var r = new
|
|
3583
|
+
function ki(e, t) {
|
|
3584
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3585
|
+
var r = new Ri(e, t).parse();
|
|
3621
3586
|
if (r.err) {
|
|
3622
|
-
var n = SyntaxError(
|
|
3587
|
+
var n = SyntaxError(v[r.err.kind]);
|
|
3623
3588
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3624
3589
|
}
|
|
3625
|
-
return t?.captureLocation ||
|
|
3590
|
+
return t?.captureLocation || lt(r.val), r.val;
|
|
3626
3591
|
}
|
|
3627
|
-
var
|
|
3592
|
+
var ce;
|
|
3628
3593
|
(function(e) {
|
|
3629
3594
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3630
|
-
})(
|
|
3631
|
-
var
|
|
3595
|
+
})(ce || (ce = {}));
|
|
3596
|
+
var ke = (
|
|
3632
3597
|
/** @class */
|
|
3633
3598
|
function(e) {
|
|
3634
|
-
|
|
3599
|
+
Y(t, e);
|
|
3635
3600
|
function t(r, n, i) {
|
|
3636
3601
|
var o = e.call(this, r) || this;
|
|
3637
3602
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3640,155 +3605,155 @@ var $e = (
|
|
|
3640
3605
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3641
3606
|
}, t;
|
|
3642
3607
|
}(Error)
|
|
3643
|
-
),
|
|
3608
|
+
), jt = (
|
|
3644
3609
|
/** @class */
|
|
3645
3610
|
function(e) {
|
|
3646
|
-
|
|
3611
|
+
Y(t, e);
|
|
3647
3612
|
function t(r, n, i, o) {
|
|
3648
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3613
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
|
|
3649
3614
|
}
|
|
3650
3615
|
return t;
|
|
3651
|
-
}(
|
|
3652
|
-
),
|
|
3616
|
+
}(ke)
|
|
3617
|
+
), Gi = (
|
|
3653
3618
|
/** @class */
|
|
3654
3619
|
function(e) {
|
|
3655
|
-
|
|
3620
|
+
Y(t, e);
|
|
3656
3621
|
function t(r, n, i) {
|
|
3657
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3622
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
|
|
3658
3623
|
}
|
|
3659
3624
|
return t;
|
|
3660
|
-
}(
|
|
3661
|
-
),
|
|
3625
|
+
}(ke)
|
|
3626
|
+
), $i = (
|
|
3662
3627
|
/** @class */
|
|
3663
3628
|
function(e) {
|
|
3664
|
-
|
|
3629
|
+
Y(t, e);
|
|
3665
3630
|
function t(r, n) {
|
|
3666
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3631
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
|
|
3667
3632
|
}
|
|
3668
3633
|
return t;
|
|
3669
|
-
}(
|
|
3670
|
-
),
|
|
3634
|
+
}(ke)
|
|
3635
|
+
), k;
|
|
3671
3636
|
(function(e) {
|
|
3672
3637
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3673
|
-
})(
|
|
3674
|
-
function
|
|
3638
|
+
})(k || (k = {}));
|
|
3639
|
+
function ji(e) {
|
|
3675
3640
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3676
3641
|
var n = t[t.length - 1];
|
|
3677
|
-
return !n || n.type !==
|
|
3642
|
+
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3678
3643
|
}, []);
|
|
3679
3644
|
}
|
|
3680
|
-
function
|
|
3645
|
+
function Wi(e) {
|
|
3681
3646
|
return typeof e == "function";
|
|
3682
3647
|
}
|
|
3683
|
-
function
|
|
3684
|
-
if (e.length === 1 &&
|
|
3648
|
+
function Pe(e, t, r, n, i, o, a) {
|
|
3649
|
+
if (e.length === 1 && Rt(e[0]))
|
|
3685
3650
|
return [
|
|
3686
3651
|
{
|
|
3687
|
-
type:
|
|
3652
|
+
type: k.literal,
|
|
3688
3653
|
value: e[0].value
|
|
3689
3654
|
}
|
|
3690
3655
|
];
|
|
3691
3656
|
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3692
3657
|
var h = l[u];
|
|
3693
|
-
if (
|
|
3658
|
+
if (Rt(h)) {
|
|
3694
3659
|
s.push({
|
|
3695
|
-
type:
|
|
3660
|
+
type: k.literal,
|
|
3696
3661
|
value: h.value
|
|
3697
3662
|
});
|
|
3698
3663
|
continue;
|
|
3699
3664
|
}
|
|
3700
|
-
if (
|
|
3665
|
+
if (fi(h)) {
|
|
3701
3666
|
typeof o == "number" && s.push({
|
|
3702
|
-
type:
|
|
3667
|
+
type: k.literal,
|
|
3703
3668
|
value: r.getNumberFormat(t).format(o)
|
|
3704
3669
|
});
|
|
3705
3670
|
continue;
|
|
3706
3671
|
}
|
|
3707
3672
|
var c = h.value;
|
|
3708
3673
|
if (!(i && c in i))
|
|
3709
|
-
throw new
|
|
3674
|
+
throw new $i(c, a);
|
|
3710
3675
|
var f = i[c];
|
|
3711
|
-
if (
|
|
3676
|
+
if (ci(h)) {
|
|
3712
3677
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3713
|
-
type: typeof f == "string" ?
|
|
3678
|
+
type: typeof f == "string" ? k.literal : k.object,
|
|
3714
3679
|
value: f
|
|
3715
3680
|
});
|
|
3716
3681
|
continue;
|
|
3717
3682
|
}
|
|
3718
|
-
if (
|
|
3719
|
-
var
|
|
3683
|
+
if (Sr(h)) {
|
|
3684
|
+
var m = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
|
|
3720
3685
|
s.push({
|
|
3721
|
-
type:
|
|
3722
|
-
value: r.getDateTimeFormat(t,
|
|
3686
|
+
type: k.literal,
|
|
3687
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3723
3688
|
});
|
|
3724
3689
|
continue;
|
|
3725
3690
|
}
|
|
3726
|
-
if (
|
|
3727
|
-
var
|
|
3691
|
+
if (Hr(h)) {
|
|
3692
|
+
var m = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3728
3693
|
s.push({
|
|
3729
|
-
type:
|
|
3730
|
-
value: r.getDateTimeFormat(t,
|
|
3694
|
+
type: k.literal,
|
|
3695
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3731
3696
|
});
|
|
3732
3697
|
continue;
|
|
3733
3698
|
}
|
|
3734
|
-
if (
|
|
3735
|
-
var
|
|
3736
|
-
|
|
3737
|
-
type:
|
|
3738
|
-
value: r.getNumberFormat(t,
|
|
3699
|
+
if (wr(h)) {
|
|
3700
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
|
|
3701
|
+
m && m.scale && (f = f * (m.scale || 1)), s.push({
|
|
3702
|
+
type: k.literal,
|
|
3703
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3739
3704
|
});
|
|
3740
3705
|
continue;
|
|
3741
3706
|
}
|
|
3742
|
-
if (
|
|
3743
|
-
var g = h.children,
|
|
3744
|
-
if (!
|
|
3745
|
-
throw new
|
|
3746
|
-
var
|
|
3707
|
+
if (Mr(h)) {
|
|
3708
|
+
var g = h.children, y = h.value, S = i[y];
|
|
3709
|
+
if (!Wi(S))
|
|
3710
|
+
throw new Gi(y, "function", a);
|
|
3711
|
+
var T = Pe(g, t, r, n, i, o), P = S(T.map(function(C) {
|
|
3747
3712
|
return C.value;
|
|
3748
3713
|
}));
|
|
3749
|
-
Array.isArray(
|
|
3714
|
+
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
|
|
3750
3715
|
return {
|
|
3751
|
-
type: typeof C == "string" ?
|
|
3716
|
+
type: typeof C == "string" ? k.literal : k.object,
|
|
3752
3717
|
value: C
|
|
3753
3718
|
};
|
|
3754
3719
|
}));
|
|
3755
3720
|
}
|
|
3756
|
-
if (
|
|
3757
|
-
var
|
|
3758
|
-
if (!
|
|
3759
|
-
throw new
|
|
3760
|
-
s.push.apply(s,
|
|
3721
|
+
if (Tr(h)) {
|
|
3722
|
+
var B = h.options[f] || h.options.other;
|
|
3723
|
+
if (!B)
|
|
3724
|
+
throw new jt(h.value, f, Object.keys(h.options), a);
|
|
3725
|
+
s.push.apply(s, Pe(B.value, t, r, n, i));
|
|
3761
3726
|
continue;
|
|
3762
3727
|
}
|
|
3763
|
-
if (
|
|
3764
|
-
var
|
|
3765
|
-
if (!
|
|
3728
|
+
if (Or(h)) {
|
|
3729
|
+
var B = h.options["=".concat(f)];
|
|
3730
|
+
if (!B) {
|
|
3766
3731
|
if (!Intl.PluralRules)
|
|
3767
|
-
throw new
|
|
3732
|
+
throw new ke(`Intl.PluralRules is not available in this environment.
|
|
3768
3733
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3769
|
-
`,
|
|
3734
|
+
`, ce.MISSING_INTL_API, a);
|
|
3770
3735
|
var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3771
|
-
|
|
3736
|
+
B = h.options[G] || h.options.other;
|
|
3772
3737
|
}
|
|
3773
|
-
if (!
|
|
3774
|
-
throw new
|
|
3775
|
-
s.push.apply(s,
|
|
3738
|
+
if (!B)
|
|
3739
|
+
throw new jt(h.value, f, Object.keys(h.options), a);
|
|
3740
|
+
s.push.apply(s, Pe(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3776
3741
|
continue;
|
|
3777
3742
|
}
|
|
3778
3743
|
}
|
|
3779
|
-
return
|
|
3744
|
+
return ji(s);
|
|
3780
3745
|
}
|
|
3781
|
-
function
|
|
3782
|
-
return t ?
|
|
3783
|
-
return r[n] =
|
|
3746
|
+
function Vi(e, t) {
|
|
3747
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3748
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3784
3749
|
}, {})) : e;
|
|
3785
3750
|
}
|
|
3786
|
-
function
|
|
3751
|
+
function Xi(e, t) {
|
|
3787
3752
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3788
|
-
return r[n] =
|
|
3789
|
-
},
|
|
3753
|
+
return r[n] = Vi(e[n], t[n]), r;
|
|
3754
|
+
}, w({}, e)) : e;
|
|
3790
3755
|
}
|
|
3791
|
-
function
|
|
3756
|
+
function Ye(e) {
|
|
3792
3757
|
return {
|
|
3793
3758
|
create: function() {
|
|
3794
3759
|
return {
|
|
@@ -3802,39 +3767,39 @@ function Ke(e) {
|
|
|
3802
3767
|
}
|
|
3803
3768
|
};
|
|
3804
3769
|
}
|
|
3805
|
-
function
|
|
3770
|
+
function zi(e) {
|
|
3806
3771
|
return e === void 0 && (e = {
|
|
3807
3772
|
number: {},
|
|
3808
3773
|
dateTime: {},
|
|
3809
3774
|
pluralRules: {}
|
|
3810
3775
|
}), {
|
|
3811
|
-
getNumberFormat:
|
|
3776
|
+
getNumberFormat: ze(function() {
|
|
3812
3777
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3813
3778
|
r[n] = arguments[n];
|
|
3814
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3779
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], r, !1)))();
|
|
3815
3780
|
}, {
|
|
3816
|
-
cache:
|
|
3817
|
-
strategy:
|
|
3781
|
+
cache: Ye(e.number),
|
|
3782
|
+
strategy: Ze.variadic
|
|
3818
3783
|
}),
|
|
3819
|
-
getDateTimeFormat:
|
|
3784
|
+
getDateTimeFormat: ze(function() {
|
|
3820
3785
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3821
3786
|
r[n] = arguments[n];
|
|
3822
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3787
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], r, !1)))();
|
|
3823
3788
|
}, {
|
|
3824
|
-
cache:
|
|
3825
|
-
strategy:
|
|
3789
|
+
cache: Ye(e.dateTime),
|
|
3790
|
+
strategy: Ze.variadic
|
|
3826
3791
|
}),
|
|
3827
|
-
getPluralRules:
|
|
3792
|
+
getPluralRules: ze(function() {
|
|
3828
3793
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3829
3794
|
r[n] = arguments[n];
|
|
3830
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3795
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], r, !1)))();
|
|
3831
3796
|
}, {
|
|
3832
|
-
cache:
|
|
3833
|
-
strategy:
|
|
3797
|
+
cache: Ye(e.pluralRules),
|
|
3798
|
+
strategy: Ze.variadic
|
|
3834
3799
|
})
|
|
3835
3800
|
};
|
|
3836
3801
|
}
|
|
3837
|
-
var
|
|
3802
|
+
var Zi = (
|
|
3838
3803
|
/** @class */
|
|
3839
3804
|
function() {
|
|
3840
3805
|
function e(t, r, n, i) {
|
|
@@ -3849,11 +3814,11 @@ var Ji = (
|
|
|
3849
3814
|
if (l.length === 1)
|
|
3850
3815
|
return l[0].value;
|
|
3851
3816
|
var h = l.reduce(function(c, f) {
|
|
3852
|
-
return !c.length || f.type !==
|
|
3817
|
+
return !c.length || f.type !== k.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3853
3818
|
}, []);
|
|
3854
3819
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3855
3820
|
}, this.formatToParts = function(u) {
|
|
3856
|
-
return
|
|
3821
|
+
return Pe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3857
3822
|
}, this.resolvedOptions = function() {
|
|
3858
3823
|
var u;
|
|
3859
3824
|
return {
|
|
@@ -3866,13 +3831,13 @@ var Ji = (
|
|
|
3866
3831
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3867
3832
|
var a = i || {};
|
|
3868
3833
|
a.formatters;
|
|
3869
|
-
var s =
|
|
3870
|
-
this.ast = e.__parse(t,
|
|
3834
|
+
var s = Tn(a, ["formatters"]);
|
|
3835
|
+
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3871
3836
|
} else
|
|
3872
3837
|
this.ast = t;
|
|
3873
3838
|
if (!Array.isArray(this.ast))
|
|
3874
3839
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3875
|
-
this.formats =
|
|
3840
|
+
this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
|
|
3876
3841
|
}
|
|
3877
3842
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3878
3843
|
get: function() {
|
|
@@ -3885,7 +3850,7 @@ var Ji = (
|
|
|
3885
3850
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3886
3851
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3887
3852
|
}
|
|
3888
|
-
}, e.__parse =
|
|
3853
|
+
}, e.__parse = ki, e.formats = {
|
|
3889
3854
|
number: {
|
|
3890
3855
|
integer: {
|
|
3891
3856
|
maximumFractionDigits: 0
|
|
@@ -3946,7 +3911,7 @@ var Ji = (
|
|
|
3946
3911
|
}, e;
|
|
3947
3912
|
}()
|
|
3948
3913
|
);
|
|
3949
|
-
function
|
|
3914
|
+
function Qi(e, t) {
|
|
3950
3915
|
if (t == null)
|
|
3951
3916
|
return;
|
|
3952
3917
|
if (t in e)
|
|
@@ -3967,92 +3932,92 @@ function Ki(e, t) {
|
|
|
3967
3932
|
n = void 0;
|
|
3968
3933
|
return n;
|
|
3969
3934
|
}
|
|
3970
|
-
const J = {},
|
|
3935
|
+
const J = {}, Yi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Ur = (e, t) => {
|
|
3971
3936
|
if (t == null)
|
|
3972
3937
|
return;
|
|
3973
3938
|
if (t in J && e in J[t])
|
|
3974
3939
|
return J[t][e];
|
|
3975
|
-
const r =
|
|
3940
|
+
const r = Ge(t);
|
|
3976
3941
|
for (let n = 0; n < r.length; n++) {
|
|
3977
|
-
const i = r[n], o =
|
|
3942
|
+
const i = r[n], o = Ji(i, e);
|
|
3978
3943
|
if (o)
|
|
3979
|
-
return
|
|
3944
|
+
return Yi(e, t, o);
|
|
3980
3945
|
}
|
|
3981
3946
|
};
|
|
3982
|
-
let
|
|
3947
|
+
let mt;
|
|
3983
3948
|
const Se = De({});
|
|
3984
|
-
function
|
|
3985
|
-
return
|
|
3949
|
+
function qi(e) {
|
|
3950
|
+
return mt[e] || null;
|
|
3986
3951
|
}
|
|
3987
|
-
function
|
|
3988
|
-
return e in
|
|
3952
|
+
function Fr(e) {
|
|
3953
|
+
return e in mt;
|
|
3989
3954
|
}
|
|
3990
|
-
function
|
|
3991
|
-
if (
|
|
3955
|
+
function Ji(e, t) {
|
|
3956
|
+
if (!Fr(e))
|
|
3992
3957
|
return null;
|
|
3993
|
-
const r =
|
|
3994
|
-
return
|
|
3958
|
+
const r = qi(e);
|
|
3959
|
+
return Qi(r, t);
|
|
3995
3960
|
}
|
|
3996
|
-
function
|
|
3961
|
+
function Ki(e) {
|
|
3997
3962
|
if (e == null)
|
|
3998
3963
|
return;
|
|
3999
|
-
const t =
|
|
3964
|
+
const t = Ge(e);
|
|
4000
3965
|
for (let r = 0; r < t.length; r++) {
|
|
4001
3966
|
const n = t[r];
|
|
4002
|
-
if (
|
|
3967
|
+
if (Fr(n))
|
|
4003
3968
|
return n;
|
|
4004
3969
|
}
|
|
4005
3970
|
}
|
|
4006
|
-
function
|
|
4007
|
-
delete J[e], Se.update((r) => (r[e] =
|
|
3971
|
+
function Dr(e, ...t) {
|
|
3972
|
+
delete J[e], Se.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
|
|
4008
3973
|
}
|
|
4009
|
-
|
|
3974
|
+
pe(
|
|
4010
3975
|
[Se],
|
|
4011
3976
|
([e]) => Object.keys(e)
|
|
4012
3977
|
);
|
|
4013
|
-
Se.subscribe((e) =>
|
|
3978
|
+
Se.subscribe((e) => mt = e);
|
|
4014
3979
|
const Ie = {};
|
|
4015
|
-
function
|
|
3980
|
+
function eo(e, t) {
|
|
4016
3981
|
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
4017
3982
|
}
|
|
4018
|
-
function
|
|
3983
|
+
function kr(e) {
|
|
4019
3984
|
return Ie[e];
|
|
4020
3985
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return
|
|
4023
|
-
const r =
|
|
3986
|
+
function to(e) {
|
|
3987
|
+
return Ge(e).map((t) => {
|
|
3988
|
+
const r = kr(t);
|
|
4024
3989
|
return [t, r ? [...r] : []];
|
|
4025
3990
|
}).filter(([, t]) => t.length > 0);
|
|
4026
3991
|
}
|
|
4027
|
-
function
|
|
4028
|
-
return e == null ? !1 :
|
|
3992
|
+
function ht(e) {
|
|
3993
|
+
return e == null ? !1 : Ge(e).some(
|
|
4029
3994
|
(t) => {
|
|
4030
3995
|
var r;
|
|
4031
|
-
return (r =
|
|
3996
|
+
return (r = kr(t)) == null ? void 0 : r.size;
|
|
4032
3997
|
}
|
|
4033
3998
|
);
|
|
4034
3999
|
}
|
|
4035
|
-
function
|
|
4000
|
+
function ro(e, t) {
|
|
4036
4001
|
return Promise.all(
|
|
4037
|
-
t.map((n) => (
|
|
4038
|
-
).then((n) =>
|
|
4039
|
-
}
|
|
4040
|
-
const
|
|
4041
|
-
function
|
|
4042
|
-
if (!
|
|
4043
|
-
return e in
|
|
4044
|
-
const t =
|
|
4045
|
-
return
|
|
4002
|
+
t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
|
|
4003
|
+
).then((n) => Dr(e, ...n));
|
|
4004
|
+
}
|
|
4005
|
+
const ye = {};
|
|
4006
|
+
function Gr(e) {
|
|
4007
|
+
if (!ht(e))
|
|
4008
|
+
return e in ye ? ye[e] : Promise.resolve();
|
|
4009
|
+
const t = to(e);
|
|
4010
|
+
return ye[e] = Promise.all(
|
|
4046
4011
|
t.map(
|
|
4047
|
-
([r, n]) =>
|
|
4012
|
+
([r, n]) => ro(r, n)
|
|
4048
4013
|
)
|
|
4049
4014
|
).then(() => {
|
|
4050
|
-
if (
|
|
4051
|
-
return
|
|
4052
|
-
delete
|
|
4053
|
-
}),
|
|
4015
|
+
if (ht(e))
|
|
4016
|
+
return Gr(e);
|
|
4017
|
+
delete ye[e];
|
|
4018
|
+
}), ye[e];
|
|
4054
4019
|
}
|
|
4055
|
-
const
|
|
4020
|
+
const no = {
|
|
4056
4021
|
number: {
|
|
4057
4022
|
scientific: { notation: "scientific" },
|
|
4058
4023
|
engineering: { notation: "engineering" },
|
|
@@ -4081,135 +4046,135 @@ const so = {
|
|
|
4081
4046
|
timeZoneName: "short"
|
|
4082
4047
|
}
|
|
4083
4048
|
}
|
|
4084
|
-
},
|
|
4049
|
+
}, io = {
|
|
4085
4050
|
fallbackLocale: null,
|
|
4086
4051
|
loadingDelay: 200,
|
|
4087
|
-
formats:
|
|
4052
|
+
formats: no,
|
|
4088
4053
|
warnOnMissingMessages: !0,
|
|
4089
4054
|
handleMissingMessage: void 0,
|
|
4090
4055
|
ignoreTag: !0
|
|
4091
|
-
},
|
|
4092
|
-
function
|
|
4093
|
-
return
|
|
4094
|
-
}
|
|
4095
|
-
const
|
|
4096
|
-
var
|
|
4097
|
-
for (var r in t
|
|
4098
|
-
|
|
4099
|
-
if (
|
|
4100
|
-
for (var r of
|
|
4101
|
-
|
|
4056
|
+
}, oo = io;
|
|
4057
|
+
function fe() {
|
|
4058
|
+
return oo;
|
|
4059
|
+
}
|
|
4060
|
+
const qe = De(!1);
|
|
4061
|
+
var ao = Object.defineProperty, so = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
|
|
4062
|
+
for (var r in t)
|
|
4063
|
+
lo.call(t, r) && Vt(e, r, t[r]);
|
|
4064
|
+
if (Wt)
|
|
4065
|
+
for (var r of Wt(t))
|
|
4066
|
+
ho.call(t, r) && Vt(e, r, t[r]);
|
|
4102
4067
|
return e;
|
|
4103
|
-
},
|
|
4104
|
-
let
|
|
4105
|
-
const
|
|
4106
|
-
function
|
|
4068
|
+
}, fo = (e, t) => so(e, uo(t));
|
|
4069
|
+
let ct;
|
|
4070
|
+
const Re = De(null);
|
|
4071
|
+
function Xt(e) {
|
|
4107
4072
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4108
4073
|
}
|
|
4109
|
-
function
|
|
4110
|
-
const r =
|
|
4111
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4074
|
+
function Ge(e, t = fe().fallbackLocale) {
|
|
4075
|
+
const r = Xt(e);
|
|
4076
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
|
|
4112
4077
|
}
|
|
4113
4078
|
function re() {
|
|
4114
|
-
return
|
|
4079
|
+
return ct ?? void 0;
|
|
4115
4080
|
}
|
|
4116
|
-
|
|
4117
|
-
|
|
4081
|
+
Re.subscribe((e) => {
|
|
4082
|
+
ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4118
4083
|
});
|
|
4119
|
-
const
|
|
4120
|
-
if (e &&
|
|
4121
|
-
const { loadingDelay: t } =
|
|
4084
|
+
const mo = (e) => {
|
|
4085
|
+
if (e && Ki(e) && ht(e)) {
|
|
4086
|
+
const { loadingDelay: t } = fe();
|
|
4122
4087
|
let r;
|
|
4123
4088
|
return typeof window < "u" && re() != null && t ? r = window.setTimeout(
|
|
4124
|
-
() =>
|
|
4089
|
+
() => qe.set(!0),
|
|
4125
4090
|
t
|
|
4126
|
-
) :
|
|
4127
|
-
|
|
4091
|
+
) : qe.set(!0), Gr(e).then(() => {
|
|
4092
|
+
Re.set(e);
|
|
4128
4093
|
}).finally(() => {
|
|
4129
|
-
clearTimeout(r),
|
|
4094
|
+
clearTimeout(r), qe.set(!1);
|
|
4130
4095
|
});
|
|
4131
4096
|
}
|
|
4132
|
-
return
|
|
4133
|
-
},
|
|
4134
|
-
set:
|
|
4135
|
-
}),
|
|
4097
|
+
return Re.set(e);
|
|
4098
|
+
}, ge = fo(co({}, Re), {
|
|
4099
|
+
set: mo
|
|
4100
|
+
}), $e = (e) => {
|
|
4136
4101
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4137
4102
|
return (n) => {
|
|
4138
4103
|
const i = JSON.stringify(n);
|
|
4139
4104
|
return i in t ? t[i] : t[i] = e(n);
|
|
4140
4105
|
};
|
|
4141
4106
|
};
|
|
4142
|
-
var
|
|
4107
|
+
var po = Object.defineProperty, Ue = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
4143
4108
|
for (var r in t || (t = {}))
|
|
4144
|
-
|
|
4145
|
-
if (
|
|
4146
|
-
for (var r of
|
|
4147
|
-
|
|
4109
|
+
$r.call(t, r) && zt(e, r, t[r]);
|
|
4110
|
+
if (Ue)
|
|
4111
|
+
for (var r of Ue(t))
|
|
4112
|
+
jr.call(t, r) && zt(e, r, t[r]);
|
|
4148
4113
|
return e;
|
|
4149
|
-
},
|
|
4114
|
+
}, be = (e, t) => {
|
|
4150
4115
|
var r = {};
|
|
4151
4116
|
for (var n in e)
|
|
4152
|
-
|
|
4153
|
-
if (e != null &&
|
|
4154
|
-
for (var n of
|
|
4155
|
-
t.indexOf(n) < 0 &&
|
|
4117
|
+
$r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4118
|
+
if (e != null && Ue)
|
|
4119
|
+
for (var n of Ue(e))
|
|
4120
|
+
t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
|
|
4156
4121
|
return r;
|
|
4157
4122
|
};
|
|
4158
|
-
const
|
|
4159
|
-
const { formats: r } =
|
|
4123
|
+
const Ee = (e, t) => {
|
|
4124
|
+
const { formats: r } = fe();
|
|
4160
4125
|
if (e in r && t in r[e])
|
|
4161
4126
|
return r[e][t];
|
|
4162
4127
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4163
|
-
},
|
|
4128
|
+
}, go = $e(
|
|
4164
4129
|
(e) => {
|
|
4165
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4130
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
4166
4131
|
if (r == null)
|
|
4167
4132
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4168
|
-
return n && (i =
|
|
4133
|
+
return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4169
4134
|
}
|
|
4170
|
-
),
|
|
4135
|
+
), bo = $e(
|
|
4171
4136
|
(e) => {
|
|
4172
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4137
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
4173
4138
|
if (r == null)
|
|
4174
4139
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4175
|
-
return n ? i =
|
|
4140
|
+
return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4176
4141
|
}
|
|
4177
|
-
),
|
|
4142
|
+
), yo = $e(
|
|
4178
4143
|
(e) => {
|
|
4179
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4144
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
4180
4145
|
if (r == null)
|
|
4181
4146
|
throw new Error(
|
|
4182
4147
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4183
4148
|
);
|
|
4184
|
-
return n ? i =
|
|
4149
|
+
return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4185
4150
|
}
|
|
4186
|
-
),
|
|
4151
|
+
), _o = (e = {}) => {
|
|
4187
4152
|
var t = e, {
|
|
4188
4153
|
locale: r = re()
|
|
4189
|
-
} = t, n =
|
|
4154
|
+
} = t, n = be(t, [
|
|
4190
4155
|
"locale"
|
|
4191
4156
|
]);
|
|
4192
|
-
return
|
|
4193
|
-
},
|
|
4157
|
+
return go(pt({ locale: r }, n));
|
|
4158
|
+
}, vo = (e = {}) => {
|
|
4194
4159
|
var t = e, {
|
|
4195
4160
|
locale: r = re()
|
|
4196
|
-
} = t, n =
|
|
4161
|
+
} = t, n = be(t, [
|
|
4197
4162
|
"locale"
|
|
4198
4163
|
]);
|
|
4199
|
-
return
|
|
4200
|
-
},
|
|
4164
|
+
return bo(pt({ locale: r }, n));
|
|
4165
|
+
}, xo = (e = {}) => {
|
|
4201
4166
|
var t = e, {
|
|
4202
4167
|
locale: r = re()
|
|
4203
|
-
} = t, n =
|
|
4168
|
+
} = t, n = be(t, [
|
|
4204
4169
|
"locale"
|
|
4205
4170
|
]);
|
|
4206
|
-
return
|
|
4207
|
-
},
|
|
4171
|
+
return yo(pt({ locale: r }, n));
|
|
4172
|
+
}, Eo = $e(
|
|
4208
4173
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4209
|
-
(e, t = re()) => new
|
|
4210
|
-
ignoreTag:
|
|
4174
|
+
(e, t = re()) => new Zi(e, t, fe().formats, {
|
|
4175
|
+
ignoreTag: fe().ignoreTag
|
|
4211
4176
|
})
|
|
4212
|
-
),
|
|
4177
|
+
), wo = (e, t = {}) => {
|
|
4213
4178
|
var r, n, i, o;
|
|
4214
4179
|
let a = t;
|
|
4215
4180
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4222,9 +4187,9 @@ const xe = (e, t) => {
|
|
|
4222
4187
|
throw new Error(
|
|
4223
4188
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4224
4189
|
);
|
|
4225
|
-
let h =
|
|
4190
|
+
let h = Ur(e, u);
|
|
4226
4191
|
if (!h)
|
|
4227
|
-
h = (o = (i = (n = (r =
|
|
4192
|
+
h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4228
4193
|
else if (typeof h != "string")
|
|
4229
4194
|
return console.warn(
|
|
4230
4195
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4233,7 +4198,7 @@ const xe = (e, t) => {
|
|
|
4233
4198
|
return h;
|
|
4234
4199
|
let c = h;
|
|
4235
4200
|
try {
|
|
4236
|
-
c =
|
|
4201
|
+
c = Eo(h, u).format(s);
|
|
4237
4202
|
} catch (f) {
|
|
4238
4203
|
f instanceof Error && console.warn(
|
|
4239
4204
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4241,20 +4206,20 @@ const xe = (e, t) => {
|
|
|
4241
4206
|
);
|
|
4242
4207
|
}
|
|
4243
4208
|
return c;
|
|
4244
|
-
},
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
window.emWidgets = { topic:
|
|
4250
|
-
const
|
|
4251
|
-
function
|
|
4209
|
+
}, So = (e, t) => xo(t).format(e), Ho = (e, t) => vo(t).format(e), To = (e, t) => _o(t).format(e), Oo = (e, t = re()) => Ur(e, t), Mo = pe([ge, Se], () => wo);
|
|
4210
|
+
pe([ge], () => So);
|
|
4211
|
+
pe([ge], () => Ho);
|
|
4212
|
+
pe([ge], () => To);
|
|
4213
|
+
pe([ge, Se], () => Oo);
|
|
4214
|
+
window.emWidgets = { topic: kn };
|
|
4215
|
+
const Ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4216
|
+
function Lo(e, t) {
|
|
4252
4217
|
if (e) {
|
|
4253
4218
|
const r = document.createElement("style");
|
|
4254
4219
|
r.innerHTML = t, e.appendChild(r);
|
|
4255
4220
|
}
|
|
4256
4221
|
}
|
|
4257
|
-
function
|
|
4222
|
+
function Po(e, t) {
|
|
4258
4223
|
const r = new URL(t);
|
|
4259
4224
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4260
4225
|
const i = document.createElement("style");
|
|
@@ -4263,7 +4228,7 @@ function Ro(e, t) {
|
|
|
4263
4228
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4264
4229
|
});
|
|
4265
4230
|
}
|
|
4266
|
-
function
|
|
4231
|
+
function Io(e, t, r) {
|
|
4267
4232
|
if (window.emMessageBus) {
|
|
4268
4233
|
const n = document.createElement("style");
|
|
4269
4234
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4271,13 +4236,13 @@ function Uo(e, t, r) {
|
|
|
4271
4236
|
});
|
|
4272
4237
|
}
|
|
4273
4238
|
}
|
|
4274
|
-
function
|
|
4275
|
-
|
|
4239
|
+
function Zt(e, t) {
|
|
4240
|
+
Dr(e, t);
|
|
4276
4241
|
}
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4242
|
+
function Co(e) {
|
|
4243
|
+
ge.set(e);
|
|
4279
4244
|
}
|
|
4280
|
-
const
|
|
4245
|
+
const Qt = {
|
|
4281
4246
|
en: {
|
|
4282
4247
|
language: "Select Language"
|
|
4283
4248
|
},
|
|
@@ -4312,65 +4277,65 @@ const Kt = {
|
|
|
4312
4277
|
language: "Select Language"
|
|
4313
4278
|
}
|
|
4314
4279
|
};
|
|
4315
|
-
function
|
|
4316
|
-
|
|
4280
|
+
function No(e) {
|
|
4281
|
+
on(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
|
|
4317
4282
|
}
|
|
4318
|
-
function
|
|
4283
|
+
function Yt(e, t, r) {
|
|
4319
4284
|
const n = e.slice();
|
|
4320
4285
|
return n[57] = t[r], n;
|
|
4321
4286
|
}
|
|
4322
|
-
function
|
|
4287
|
+
function qt(e, t, r) {
|
|
4323
4288
|
const n = e.slice();
|
|
4324
4289
|
return n[1] = t[r], n;
|
|
4325
4290
|
}
|
|
4326
|
-
function
|
|
4291
|
+
function Jt(e, t, r) {
|
|
4327
4292
|
const n = e.slice();
|
|
4328
4293
|
return n[60] = t[r], n;
|
|
4329
4294
|
}
|
|
4330
|
-
function
|
|
4295
|
+
function Ro(e, t, r) {
|
|
4331
4296
|
const n = e.slice();
|
|
4332
4297
|
return n[66] = t[r], n;
|
|
4333
4298
|
}
|
|
4334
|
-
function
|
|
4299
|
+
function Kt(e, t, r) {
|
|
4335
4300
|
const n = e.slice();
|
|
4336
4301
|
return n[63] = t[r], n;
|
|
4337
4302
|
}
|
|
4338
|
-
function
|
|
4339
|
-
let t, r, n, i, o, a, s, u, l, h, c, f,
|
|
4303
|
+
function er(e) {
|
|
4304
|
+
let t, r, n, i, o, a, s, u, l, h, c, f, m, g, y, S, T, P, B, G, C, V, X;
|
|
4340
4305
|
function ne(x, R) {
|
|
4341
4306
|
return (
|
|
4342
4307
|
/*HamburgerMenuItems*/
|
|
4343
|
-
x[4].length > 0 ?
|
|
4308
|
+
x[4].length > 0 ? Fo : Uo
|
|
4344
4309
|
);
|
|
4345
4310
|
}
|
|
4346
|
-
let q = ne(e), N = q(e), j =
|
|
4311
|
+
let q = ne(e), N = q(e), j = Q(
|
|
4347
4312
|
/*activeMenuItemChildren*/
|
|
4348
4313
|
e[6]
|
|
4349
|
-
),
|
|
4314
|
+
), M = [];
|
|
4350
4315
|
for (let x = 0; x < j.length; x += 1)
|
|
4351
|
-
|
|
4352
|
-
let
|
|
4316
|
+
M[x] = ir(Jt(e, j, x));
|
|
4317
|
+
let L = (
|
|
4353
4318
|
/*languagesArray*/
|
|
4354
|
-
e[9].length > 1 &&
|
|
4319
|
+
e[9].length > 1 && or(e)
|
|
4355
4320
|
);
|
|
4356
4321
|
return {
|
|
4357
4322
|
c() {
|
|
4358
|
-
t =
|
|
4359
|
-
for (let x = 0; x <
|
|
4360
|
-
|
|
4361
|
-
l = U(),
|
|
4362
|
-
(e[10] ? "Overlay" : "")),
|
|
4323
|
+
t = _("div"), r = _("div"), n = _("ul"), N.c(), i = U(), o = _("div"), a = U(), s = _("ul");
|
|
4324
|
+
for (let x = 0; x < M.length; x += 1)
|
|
4325
|
+
M[x].c();
|
|
4326
|
+
l = U(), L && L.c(), c = U(), f = _("span"), m = _("div"), g = _("span"), y = U(), S = _("span"), T = U(), P = _("span"), p(n, "class", "HamburgerPrimaryMenu"), p(o, "class", "Separator"), p(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4327
|
+
(e[10] ? "Overlay" : "")), p(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4363
4328
|
(e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4364
|
-
(e[12] ? "Closing" : "")), m
|
|
4365
|
-
e[13] ? "" : "Open")),
|
|
4366
|
-
e[7] ? "ModalCloseBtn" : ""),
|
|
4329
|
+
(e[12] ? "Closing" : "")), p(m, "class", B = "NavIcon " + (/*navIconClosing*/
|
|
4330
|
+
e[13] ? "" : "Open")), p(f, "class", G = /*modalIsOpen*/
|
|
4331
|
+
e[7] ? "ModalCloseBtn" : ""), p(f, "role", "button"), p(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
|
|
4367
4332
|
(e[12] ? " Closing" : ""));
|
|
4368
4333
|
},
|
|
4369
4334
|
m(x, R) {
|
|
4370
4335
|
F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
|
|
4371
|
-
for (let
|
|
4372
|
-
|
|
4373
|
-
b(r, l),
|
|
4336
|
+
for (let H = 0; H < M.length; H += 1)
|
|
4337
|
+
M[H] && M[H].m(s, null);
|
|
4338
|
+
b(r, l), L && L.m(r, null), b(t, c), b(t, f), b(f, m), b(m, g), b(m, y), b(m, S), b(m, T), b(m, P), e[40](t), V || (X = te(
|
|
4374
4339
|
f,
|
|
4375
4340
|
"click",
|
|
4376
4341
|
/*close*/
|
|
@@ -4380,47 +4345,47 @@ function ir(e) {
|
|
|
4380
4345
|
p(x, R) {
|
|
4381
4346
|
if (q === (q = ne(x)) && N ? N.p(x, R) : (N.d(1), N = q(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
|
|
4382
4347
|
262208) {
|
|
4383
|
-
j =
|
|
4348
|
+
j = Q(
|
|
4384
4349
|
/*activeMenuItemChildren*/
|
|
4385
4350
|
x[6]
|
|
4386
4351
|
);
|
|
4387
|
-
let
|
|
4388
|
-
for (
|
|
4389
|
-
const W =
|
|
4390
|
-
|
|
4352
|
+
let H;
|
|
4353
|
+
for (H = 0; H < j.length; H += 1) {
|
|
4354
|
+
const W = Jt(x, j, H);
|
|
4355
|
+
M[H] ? M[H].p(W, R) : (M[H] = ir(W), M[H].c(), M[H].m(s, null));
|
|
4391
4356
|
}
|
|
4392
|
-
for (;
|
|
4393
|
-
|
|
4394
|
-
|
|
4357
|
+
for (; H < M.length; H += 1)
|
|
4358
|
+
M[H].d(1);
|
|
4359
|
+
M.length = j.length;
|
|
4395
4360
|
}
|
|
4396
4361
|
R[0] & /*isOptionsListVisible*/
|
|
4397
4362
|
1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4398
|
-
(x[10] ? "Overlay" : "")) &&
|
|
4399
|
-
x[9].length > 1 ?
|
|
4363
|
+
(x[10] ? "Overlay" : "")) && p(s, "class", u), /*languagesArray*/
|
|
4364
|
+
x[9].length > 1 ? L ? L.p(x, R) : (L = or(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
|
|
4400
4365
|
4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4401
4366
|
(x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4402
|
-
(x[12] ? "Closing" : "")) &&
|
|
4403
|
-
8192 &&
|
|
4404
|
-
x[13] ? "" : "Open")) && m
|
|
4367
|
+
(x[12] ? "Closing" : "")) && p(r, "class", h), R[0] & /*navIconClosing*/
|
|
4368
|
+
8192 && B !== (B = "NavIcon " + (/*navIconClosing*/
|
|
4369
|
+
x[13] ? "" : "Open")) && p(m, "class", B), R[0] & /*modalIsOpen*/
|
|
4405
4370
|
128 && G !== (G = /*modalIsOpen*/
|
|
4406
|
-
x[7] ? "ModalCloseBtn" : "") &&
|
|
4371
|
+
x[7] ? "ModalCloseBtn" : "") && p(f, "class", G), R[0] & /*isClosing*/
|
|
4407
4372
|
4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
|
|
4408
|
-
(x[12] ? " Closing" : "")) &&
|
|
4373
|
+
(x[12] ? " Closing" : "")) && p(t, "class", C);
|
|
4409
4374
|
},
|
|
4410
4375
|
d(x) {
|
|
4411
|
-
x && I(t), N.d(),
|
|
4376
|
+
x && I(t), N.d(), we(M, x), L && L.d(), e[40](null), V = !1, X();
|
|
4412
4377
|
}
|
|
4413
4378
|
};
|
|
4414
4379
|
}
|
|
4415
|
-
function
|
|
4416
|
-
let t, r =
|
|
4380
|
+
function Uo(e) {
|
|
4381
|
+
let t, r = Q(new Array(5)), n = [];
|
|
4417
4382
|
for (let i = 0; i < r.length; i += 1)
|
|
4418
|
-
n[i] =
|
|
4383
|
+
n[i] = Do(Ro(e, r, i));
|
|
4419
4384
|
return {
|
|
4420
4385
|
c() {
|
|
4421
4386
|
for (let i = 0; i < n.length; i += 1)
|
|
4422
4387
|
n[i].c();
|
|
4423
|
-
t =
|
|
4388
|
+
t = fr();
|
|
4424
4389
|
},
|
|
4425
4390
|
m(i, o) {
|
|
4426
4391
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4429,22 +4394,22 @@ function Go(e) {
|
|
|
4429
4394
|
},
|
|
4430
4395
|
p: $,
|
|
4431
4396
|
d(i) {
|
|
4432
|
-
i && I(t),
|
|
4397
|
+
i && I(t), we(n, i);
|
|
4433
4398
|
}
|
|
4434
4399
|
};
|
|
4435
4400
|
}
|
|
4436
|
-
function
|
|
4437
|
-
let t, r =
|
|
4401
|
+
function Fo(e) {
|
|
4402
|
+
let t, r = Q(
|
|
4438
4403
|
/*HamburgerMenuItems*/
|
|
4439
4404
|
e[4]
|
|
4440
4405
|
), n = [];
|
|
4441
4406
|
for (let i = 0; i < r.length; i += 1)
|
|
4442
|
-
n[i] =
|
|
4407
|
+
n[i] = rr(Kt(e, r, i));
|
|
4443
4408
|
return {
|
|
4444
4409
|
c() {
|
|
4445
4410
|
for (let i = 0; i < n.length; i += 1)
|
|
4446
4411
|
n[i].c();
|
|
4447
|
-
t =
|
|
4412
|
+
t = fr();
|
|
4448
4413
|
},
|
|
4449
4414
|
m(i, o) {
|
|
4450
4415
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4454,14 +4419,14 @@ function $o(e) {
|
|
|
4454
4419
|
p(i, o) {
|
|
4455
4420
|
if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
|
|
4456
4421
|
131120) {
|
|
4457
|
-
r =
|
|
4422
|
+
r = Q(
|
|
4458
4423
|
/*HamburgerMenuItems*/
|
|
4459
4424
|
i[4]
|
|
4460
4425
|
);
|
|
4461
4426
|
let a;
|
|
4462
4427
|
for (a = 0; a < r.length; a += 1) {
|
|
4463
|
-
const s =
|
|
4464
|
-
n[a] ? n[a].p(s, o) : (n[a] =
|
|
4428
|
+
const s = Kt(i, r, a);
|
|
4429
|
+
n[a] ? n[a].p(s, o) : (n[a] = rr(s), n[a].c(), n[a].m(t.parentNode, t));
|
|
4465
4430
|
}
|
|
4466
4431
|
for (; a < n.length; a += 1)
|
|
4467
4432
|
n[a].d(1);
|
|
@@ -4469,15 +4434,15 @@ function $o(e) {
|
|
|
4469
4434
|
}
|
|
4470
4435
|
},
|
|
4471
4436
|
d(i) {
|
|
4472
|
-
i && I(t),
|
|
4437
|
+
i && I(t), we(n, i);
|
|
4473
4438
|
}
|
|
4474
4439
|
};
|
|
4475
4440
|
}
|
|
4476
|
-
function
|
|
4441
|
+
function Do(e) {
|
|
4477
4442
|
let t;
|
|
4478
4443
|
return {
|
|
4479
4444
|
c() {
|
|
4480
|
-
t =
|
|
4445
|
+
t = _("div"), t.innerHTML = "", p(t, "class", "Loading Skeleton");
|
|
4481
4446
|
},
|
|
4482
4447
|
m(r, n) {
|
|
4483
4448
|
F(r, t, n);
|
|
@@ -4488,12 +4453,12 @@ function jo(e) {
|
|
|
4488
4453
|
}
|
|
4489
4454
|
};
|
|
4490
4455
|
}
|
|
4491
|
-
function
|
|
4456
|
+
function tr(e) {
|
|
4492
4457
|
let t, r;
|
|
4493
4458
|
return {
|
|
4494
4459
|
c() {
|
|
4495
|
-
t =
|
|
4496
|
-
e[63].img) ||
|
|
4460
|
+
t = _("img"), K(t.src, r = /*mainItem*/
|
|
4461
|
+
e[63].img) || p(t, "src", r), p(t, "alt", "menu icon");
|
|
4497
4462
|
},
|
|
4498
4463
|
m(n, i) {
|
|
4499
4464
|
F(n, t, i);
|
|
@@ -4501,20 +4466,20 @@ function or(e) {
|
|
|
4501
4466
|
p(n, i) {
|
|
4502
4467
|
i[0] & /*HamburgerMenuItems*/
|
|
4503
4468
|
16 && !K(t.src, r = /*mainItem*/
|
|
4504
|
-
n[63].img) &&
|
|
4469
|
+
n[63].img) && p(t, "src", r);
|
|
4505
4470
|
},
|
|
4506
4471
|
d(n) {
|
|
4507
4472
|
n && I(t);
|
|
4508
4473
|
}
|
|
4509
4474
|
};
|
|
4510
4475
|
}
|
|
4511
|
-
function
|
|
4476
|
+
function rr(e) {
|
|
4512
4477
|
let t, r, n, i, o = (
|
|
4513
4478
|
/*mainItem*/
|
|
4514
4479
|
e[63].label + ""
|
|
4515
4480
|
), a, s, u, l, h, c = (
|
|
4516
4481
|
/*mainItem*/
|
|
4517
|
-
e[63]?.img &&
|
|
4482
|
+
e[63]?.img && tr(e)
|
|
4518
4483
|
);
|
|
4519
4484
|
function f() {
|
|
4520
4485
|
return (
|
|
@@ -4527,33 +4492,33 @@ function ar(e) {
|
|
|
4527
4492
|
}
|
|
4528
4493
|
return {
|
|
4529
4494
|
c() {
|
|
4530
|
-
t =
|
|
4495
|
+
t = _("li"), r = _("div"), c && c.c(), n = U(), i = _("p"), a = ee(o), s = U(), p(r, "class", "HamburgerItemContainer"), p(t, "class", u = /*activeMenuItemId*/
|
|
4531
4496
|
e[5] === /*mainItem*/
|
|
4532
4497
|
e[63].id ? "ActiveItem" : "");
|
|
4533
4498
|
},
|
|
4534
|
-
m(
|
|
4535
|
-
F(
|
|
4499
|
+
m(m, g) {
|
|
4500
|
+
F(m, t, g), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (h = te(t, "click", f), l = !0);
|
|
4536
4501
|
},
|
|
4537
|
-
p(
|
|
4538
|
-
e =
|
|
4539
|
-
e[63]?.img ? c ? c.p(e, g) : (c =
|
|
4502
|
+
p(m, g) {
|
|
4503
|
+
e = m, /*mainItem*/
|
|
4504
|
+
e[63]?.img ? c ? c.p(e, g) : (c = tr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), g[0] & /*HamburgerMenuItems*/
|
|
4540
4505
|
16 && o !== (o = /*mainItem*/
|
|
4541
|
-
e[63].label + "") &&
|
|
4506
|
+
e[63].label + "") && me(a, o), g[0] & /*activeMenuItemId, HamburgerMenuItems*/
|
|
4542
4507
|
48 && u !== (u = /*activeMenuItemId*/
|
|
4543
4508
|
e[5] === /*mainItem*/
|
|
4544
|
-
e[63].id ? "ActiveItem" : "") &&
|
|
4509
|
+
e[63].id ? "ActiveItem" : "") && p(t, "class", u);
|
|
4545
4510
|
},
|
|
4546
|
-
d(
|
|
4547
|
-
|
|
4511
|
+
d(m) {
|
|
4512
|
+
m && I(t), c && c.d(), l = !1, h();
|
|
4548
4513
|
}
|
|
4549
4514
|
};
|
|
4550
4515
|
}
|
|
4551
|
-
function
|
|
4516
|
+
function nr(e) {
|
|
4552
4517
|
let t, r;
|
|
4553
4518
|
return {
|
|
4554
4519
|
c() {
|
|
4555
|
-
t =
|
|
4556
|
-
e[60].img) ||
|
|
4520
|
+
t = _("img"), K(t.src, r = /*secondaryItem*/
|
|
4521
|
+
e[60].img) || p(t, "src", r), p(t, "alt", "menu icon");
|
|
4557
4522
|
},
|
|
4558
4523
|
m(n, i) {
|
|
4559
4524
|
F(n, t, i);
|
|
@@ -4561,20 +4526,20 @@ function sr(e) {
|
|
|
4561
4526
|
p(n, i) {
|
|
4562
4527
|
i[0] & /*activeMenuItemChildren*/
|
|
4563
4528
|
64 && !K(t.src, r = /*secondaryItem*/
|
|
4564
|
-
n[60].img) &&
|
|
4529
|
+
n[60].img) && p(t, "src", r);
|
|
4565
4530
|
},
|
|
4566
4531
|
d(n) {
|
|
4567
4532
|
n && I(t);
|
|
4568
4533
|
}
|
|
4569
4534
|
};
|
|
4570
4535
|
}
|
|
4571
|
-
function
|
|
4536
|
+
function ir(e) {
|
|
4572
4537
|
let t, r, n, i = (
|
|
4573
4538
|
/*secondaryItem*/
|
|
4574
4539
|
e[60].label + ""
|
|
4575
4540
|
), o, a, s, u, l = (
|
|
4576
4541
|
/*secondaryItem*/
|
|
4577
|
-
e[60]?.img &&
|
|
4542
|
+
e[60]?.img && nr(e)
|
|
4578
4543
|
);
|
|
4579
4544
|
function h(...c) {
|
|
4580
4545
|
return (
|
|
@@ -4588,110 +4553,110 @@ function ur(e) {
|
|
|
4588
4553
|
}
|
|
4589
4554
|
return {
|
|
4590
4555
|
c() {
|
|
4591
|
-
t =
|
|
4556
|
+
t = _("li"), l && l.c(), r = U(), n = _("p"), o = ee(i), a = U();
|
|
4592
4557
|
},
|
|
4593
4558
|
m(c, f) {
|
|
4594
4559
|
F(c, t, f), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = te(t, "click", h), s = !0);
|
|
4595
4560
|
},
|
|
4596
4561
|
p(c, f) {
|
|
4597
4562
|
e = c, /*secondaryItem*/
|
|
4598
|
-
e[60]?.img ? l ? l.p(e, f) : (l =
|
|
4563
|
+
e[60]?.img ? l ? l.p(e, f) : (l = nr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
|
|
4599
4564
|
64 && i !== (i = /*secondaryItem*/
|
|
4600
|
-
e[60].label + "") &&
|
|
4565
|
+
e[60].label + "") && me(o, i);
|
|
4601
4566
|
},
|
|
4602
4567
|
d(c) {
|
|
4603
4568
|
c && I(t), l && l.d(), s = !1, u();
|
|
4604
4569
|
}
|
|
4605
4570
|
};
|
|
4606
4571
|
}
|
|
4607
|
-
function
|
|
4572
|
+
function or(e) {
|
|
4608
4573
|
let t, r, n = (
|
|
4609
4574
|
/*$_*/
|
|
4610
4575
|
e[15]("language") + ""
|
|
4611
4576
|
), i, o, a, s, u;
|
|
4612
|
-
function l(f,
|
|
4577
|
+
function l(f, m) {
|
|
4613
4578
|
return (
|
|
4614
4579
|
/*countryflaghamburger*/
|
|
4615
|
-
f[0] !== "true" ?
|
|
4580
|
+
f[0] !== "true" ? Go : ko
|
|
4616
4581
|
);
|
|
4617
4582
|
}
|
|
4618
4583
|
let h = l(e), c = h(e);
|
|
4619
4584
|
return {
|
|
4620
4585
|
c() {
|
|
4621
|
-
t =
|
|
4586
|
+
t = _("div"), r = _("span"), i = ee(n), o = U(), c.c(), p(r, "class", "LanguageSelectorTitle"), p(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4622
4587
|
(e[10] ? "Open" : ""));
|
|
4623
4588
|
},
|
|
4624
|
-
m(f,
|
|
4625
|
-
F(f, t,
|
|
4589
|
+
m(f, m) {
|
|
4590
|
+
F(f, t, m), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (u = te(
|
|
4626
4591
|
t,
|
|
4627
4592
|
"click",
|
|
4628
4593
|
/*toggleLanguageDropdown*/
|
|
4629
4594
|
e[21]
|
|
4630
4595
|
), s = !0);
|
|
4631
4596
|
},
|
|
4632
|
-
p(f,
|
|
4633
|
-
|
|
4597
|
+
p(f, m) {
|
|
4598
|
+
m[0] & /*$_*/
|
|
4634
4599
|
32768 && n !== (n = /*$_*/
|
|
4635
|
-
f[15]("language") + "") &&
|
|
4600
|
+
f[15]("language") + "") && me(i, n), h === (h = l(f)) && c ? c.p(f, m) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), m[0] & /*isOptionsListVisible*/
|
|
4636
4601
|
1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4637
|
-
(f[10] ? "Open" : "")) &&
|
|
4602
|
+
(f[10] ? "Open" : "")) && p(t, "class", a);
|
|
4638
4603
|
},
|
|
4639
4604
|
d(f) {
|
|
4640
4605
|
f && I(t), c.d(), s = !1, u();
|
|
4641
4606
|
}
|
|
4642
4607
|
};
|
|
4643
4608
|
}
|
|
4644
|
-
function
|
|
4609
|
+
function ko(e) {
|
|
4645
4610
|
let t, r, n, i, o, a, s, u = (
|
|
4646
4611
|
/*selectedLanguage*/
|
|
4647
4612
|
e[14].slice(-2) + ""
|
|
4648
|
-
), l, h, c, f,
|
|
4613
|
+
), l, h, c, f, m, g, y, S = (
|
|
4649
4614
|
/*isOptionsListVisible*/
|
|
4650
|
-
e[10] &&
|
|
4615
|
+
e[10] && ar(e)
|
|
4651
4616
|
);
|
|
4652
4617
|
return {
|
|
4653
4618
|
c() {
|
|
4654
|
-
t =
|
|
4619
|
+
t = _("div"), r = _("div"), n = _("span"), i = _("img"), a = U(), s = _("span"), l = ee(u), h = U(), c = _("span"), f = St("svg"), m = St("path"), y = U(), S && S.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4655
4620
|
e[22](
|
|
4656
4621
|
/*selectedLanguage*/
|
|
4657
4622
|
e[14]
|
|
4658
|
-
)}.svg`) ||
|
|
4659
|
-
(e[10] ? "TriangleActive" : "")),
|
|
4623
|
+
)}.svg`) || p(i, "src", o), p(n, "class", "FlagIcon"), p(s, "class", "LanguageName"), p(m, "id", "arrow"), p(m, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), p(m, "transform", "translate(-274.511 -441.088)"), p(m, "fill", "#d1d1d1"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "width", "14"), p(f, "height", "6.835"), p(f, "viewBox", "0 0 14 6.835"), p(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4624
|
+
(e[10] ? "TriangleActive" : "")), p(r, "class", "SelectedOption Item ItemLanguage"), p(t, "class", "LanguageDropdown");
|
|
4660
4625
|
},
|
|
4661
|
-
m(
|
|
4662
|
-
F(
|
|
4626
|
+
m(T, P) {
|
|
4627
|
+
F(T, t, P), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, h), b(r, c), b(c, f), b(f, m), b(t, y), S && S.m(t, null);
|
|
4663
4628
|
},
|
|
4664
|
-
p(
|
|
4665
|
-
|
|
4629
|
+
p(T, P) {
|
|
4630
|
+
P[0] & /*selectedLanguage, languagesArray*/
|
|
4666
4631
|
16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4667
|
-
|
|
4632
|
+
T[22](
|
|
4668
4633
|
/*selectedLanguage*/
|
|
4669
|
-
|
|
4670
|
-
)}.svg`) &&
|
|
4634
|
+
T[14]
|
|
4635
|
+
)}.svg`) && p(i, "src", o), P[0] & /*selectedLanguage*/
|
|
4671
4636
|
16384 && u !== (u = /*selectedLanguage*/
|
|
4672
|
-
|
|
4637
|
+
T[14].slice(-2) + "") && me(l, u), P[0] & /*isOptionsListVisible*/
|
|
4673
4638
|
1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4674
|
-
(
|
|
4675
|
-
|
|
4639
|
+
(T[10] ? "TriangleActive" : "")) && p(c, "class", g), /*isOptionsListVisible*/
|
|
4640
|
+
T[10] ? S ? S.p(T, P) : (S = ar(T), S.c(), S.m(t, null)) : S && (S.d(1), S = null);
|
|
4676
4641
|
},
|
|
4677
|
-
d(
|
|
4678
|
-
|
|
4642
|
+
d(T) {
|
|
4643
|
+
T && I(t), S && S.d();
|
|
4679
4644
|
}
|
|
4680
4645
|
};
|
|
4681
4646
|
}
|
|
4682
|
-
function
|
|
4683
|
-
let t, r, n, i =
|
|
4647
|
+
function Go(e) {
|
|
4648
|
+
let t, r, n, i = Q(
|
|
4684
4649
|
/*languagesArray*/
|
|
4685
4650
|
e[9]
|
|
4686
4651
|
), o = [];
|
|
4687
4652
|
for (let a = 0; a < i.length; a += 1)
|
|
4688
|
-
o[a] =
|
|
4653
|
+
o[a] = ur(qt(e, i, a));
|
|
4689
4654
|
return {
|
|
4690
4655
|
c() {
|
|
4691
|
-
t =
|
|
4656
|
+
t = _("select");
|
|
4692
4657
|
for (let a = 0; a < o.length; a += 1)
|
|
4693
4658
|
o[a].c();
|
|
4694
|
-
|
|
4659
|
+
p(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
|
|
4695
4660
|
e[14] === void 0 && Ne(() => (
|
|
4696
4661
|
/*select_change_handler*/
|
|
4697
4662
|
e[37].call(t)
|
|
@@ -4701,7 +4666,7 @@ function Vo(e) {
|
|
|
4701
4666
|
F(a, t, s);
|
|
4702
4667
|
for (let u = 0; u < o.length; u += 1)
|
|
4703
4668
|
o[u] && o[u].m(t, null);
|
|
4704
|
-
|
|
4669
|
+
Tt(
|
|
4705
4670
|
t,
|
|
4706
4671
|
/*selectedLanguage*/
|
|
4707
4672
|
e[14],
|
|
@@ -4724,44 +4689,44 @@ function Vo(e) {
|
|
|
4724
4689
|
p(a, s) {
|
|
4725
4690
|
if (s[0] & /*languagesArray*/
|
|
4726
4691
|
512) {
|
|
4727
|
-
i =
|
|
4692
|
+
i = Q(
|
|
4728
4693
|
/*languagesArray*/
|
|
4729
4694
|
a[9]
|
|
4730
4695
|
);
|
|
4731
4696
|
let u;
|
|
4732
4697
|
for (u = 0; u < i.length; u += 1) {
|
|
4733
|
-
const l =
|
|
4734
|
-
o[u] ? o[u].p(l, s) : (o[u] =
|
|
4698
|
+
const l = qt(a, i, u);
|
|
4699
|
+
o[u] ? o[u].p(l, s) : (o[u] = ur(l), o[u].c(), o[u].m(t, null));
|
|
4735
4700
|
}
|
|
4736
4701
|
for (; u < o.length; u += 1)
|
|
4737
4702
|
o[u].d(1);
|
|
4738
4703
|
o.length = i.length;
|
|
4739
4704
|
}
|
|
4740
4705
|
s[0] & /*selectedLanguage, languagesArray*/
|
|
4741
|
-
16896 &&
|
|
4706
|
+
16896 && Tt(
|
|
4742
4707
|
t,
|
|
4743
4708
|
/*selectedLanguage*/
|
|
4744
4709
|
a[14]
|
|
4745
4710
|
);
|
|
4746
4711
|
},
|
|
4747
4712
|
d(a) {
|
|
4748
|
-
a && I(t),
|
|
4713
|
+
a && I(t), we(o, a), r = !1, de(n);
|
|
4749
4714
|
}
|
|
4750
4715
|
};
|
|
4751
4716
|
}
|
|
4752
|
-
function
|
|
4753
|
-
let t, r, n =
|
|
4717
|
+
function ar(e) {
|
|
4718
|
+
let t, r, n = Q(
|
|
4754
4719
|
/*languagesArray*/
|
|
4755
4720
|
e[9]
|
|
4756
4721
|
), i = [];
|
|
4757
4722
|
for (let o = 0; o < n.length; o += 1)
|
|
4758
|
-
i[o] =
|
|
4723
|
+
i[o] = sr(Yt(e, n, o));
|
|
4759
4724
|
return {
|
|
4760
4725
|
c() {
|
|
4761
|
-
t =
|
|
4726
|
+
t = _("div");
|
|
4762
4727
|
for (let o = 0; o < i.length; o += 1)
|
|
4763
4728
|
i[o].c();
|
|
4764
|
-
|
|
4729
|
+
p(t, "class", r = "OptionList " + /*languageListOpen*/
|
|
4765
4730
|
(e[11] ? "Open" : ""));
|
|
4766
4731
|
},
|
|
4767
4732
|
m(o, a) {
|
|
@@ -4772,14 +4737,14 @@ function hr(e) {
|
|
|
4772
4737
|
p(o, a) {
|
|
4773
4738
|
if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
|
|
4774
4739
|
5245440) {
|
|
4775
|
-
n =
|
|
4740
|
+
n = Q(
|
|
4776
4741
|
/*languagesArray*/
|
|
4777
4742
|
o[9]
|
|
4778
4743
|
);
|
|
4779
4744
|
let s;
|
|
4780
4745
|
for (s = 0; s < n.length; s += 1) {
|
|
4781
|
-
const u =
|
|
4782
|
-
i[s] ? i[s].p(u, a) : (i[s] =
|
|
4746
|
+
const u = Yt(o, n, s);
|
|
4747
|
+
i[s] ? i[s].p(u, a) : (i[s] = sr(u), i[s].c(), i[s].m(t, null));
|
|
4783
4748
|
}
|
|
4784
4749
|
for (; s < i.length; s += 1)
|
|
4785
4750
|
i[s].d(1);
|
|
@@ -4787,19 +4752,19 @@ function hr(e) {
|
|
|
4787
4752
|
}
|
|
4788
4753
|
a[0] & /*languageListOpen*/
|
|
4789
4754
|
2048 && r !== (r = "OptionList " + /*languageListOpen*/
|
|
4790
|
-
(o[11] ? "Open" : "")) &&
|
|
4755
|
+
(o[11] ? "Open" : "")) && p(t, "class", r);
|
|
4791
4756
|
},
|
|
4792
4757
|
d(o) {
|
|
4793
|
-
o && I(t),
|
|
4758
|
+
o && I(t), we(i, o);
|
|
4794
4759
|
}
|
|
4795
4760
|
};
|
|
4796
4761
|
}
|
|
4797
|
-
function
|
|
4762
|
+
function sr(e) {
|
|
4798
4763
|
let t, r, n, i, o, a, s = (
|
|
4799
4764
|
/*operatorLanguage*/
|
|
4800
4765
|
e[57] + ""
|
|
4801
4766
|
), u, l, h, c, f;
|
|
4802
|
-
function
|
|
4767
|
+
function m() {
|
|
4803
4768
|
return (
|
|
4804
4769
|
/*click_handler_2*/
|
|
4805
4770
|
e[39](
|
|
@@ -4810,42 +4775,42 @@ function cr(e) {
|
|
|
4810
4775
|
}
|
|
4811
4776
|
return {
|
|
4812
4777
|
c() {
|
|
4813
|
-
t =
|
|
4778
|
+
t = _("div"), r = _("span"), n = _("img"), o = U(), a = _("span"), u = ee(s), l = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4814
4779
|
e[22](
|
|
4815
4780
|
/*operatorLanguage*/
|
|
4816
4781
|
e[57]
|
|
4817
|
-
)}.svg`) ||
|
|
4782
|
+
)}.svg`) || p(n, "src", i), p(r, "class", "FlagIcon"), p(a, "class", "LanguageName"), p(t, "class", h = "LanguageOption " + /*languageListOpen*/
|
|
4818
4783
|
(e[11] ? "Open" : ""));
|
|
4819
4784
|
},
|
|
4820
|
-
m(g,
|
|
4821
|
-
F(g, t,
|
|
4785
|
+
m(g, y) {
|
|
4786
|
+
F(g, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), c || (f = te(t, "click", m), c = !0);
|
|
4822
4787
|
},
|
|
4823
|
-
p(g,
|
|
4824
|
-
e = g,
|
|
4788
|
+
p(g, y) {
|
|
4789
|
+
e = g, y[0] & /*languagesArray*/
|
|
4825
4790
|
512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4826
4791
|
e[22](
|
|
4827
4792
|
/*operatorLanguage*/
|
|
4828
4793
|
e[57]
|
|
4829
|
-
)}.svg`) &&
|
|
4794
|
+
)}.svg`) && p(n, "src", i), y[0] & /*languagesArray*/
|
|
4830
4795
|
512 && s !== (s = /*operatorLanguage*/
|
|
4831
|
-
e[57] + "") &&
|
|
4796
|
+
e[57] + "") && me(u, s), y[0] & /*languageListOpen*/
|
|
4832
4797
|
2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
|
|
4833
|
-
(e[11] ? "Open" : "")) &&
|
|
4798
|
+
(e[11] ? "Open" : "")) && p(t, "class", h);
|
|
4834
4799
|
},
|
|
4835
4800
|
d(g) {
|
|
4836
4801
|
g && I(t), c = !1, f();
|
|
4837
4802
|
}
|
|
4838
4803
|
};
|
|
4839
4804
|
}
|
|
4840
|
-
function
|
|
4805
|
+
function ur(e) {
|
|
4841
4806
|
let t, r = (
|
|
4842
4807
|
/*lang*/
|
|
4843
4808
|
e[1].slice(-2) + ""
|
|
4844
4809
|
), n, i;
|
|
4845
4810
|
return {
|
|
4846
4811
|
c() {
|
|
4847
|
-
t =
|
|
4848
|
-
e[1],
|
|
4812
|
+
t = _("option"), n = ee(r), t.__value = i = /*lang*/
|
|
4813
|
+
e[1], Ht(t, t.__value), t.selected = !0;
|
|
4849
4814
|
},
|
|
4850
4815
|
m(o, a) {
|
|
4851
4816
|
F(o, t, a), b(t, n);
|
|
@@ -4853,30 +4818,30 @@ function fr(e) {
|
|
|
4853
4818
|
p(o, a) {
|
|
4854
4819
|
a[0] & /*languagesArray*/
|
|
4855
4820
|
512 && r !== (r = /*lang*/
|
|
4856
|
-
o[1].slice(-2) + "") &&
|
|
4821
|
+
o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
|
|
4857
4822
|
512 && i !== (i = /*lang*/
|
|
4858
|
-
o[1]) && (t.__value = i,
|
|
4823
|
+
o[1]) && (t.__value = i, Ht(t, t.__value));
|
|
4859
4824
|
},
|
|
4860
4825
|
d(o) {
|
|
4861
4826
|
o && I(t);
|
|
4862
4827
|
}
|
|
4863
4828
|
};
|
|
4864
4829
|
}
|
|
4865
|
-
function
|
|
4830
|
+
function $o(e) {
|
|
4866
4831
|
let t, r = (
|
|
4867
4832
|
/*show*/
|
|
4868
|
-
e[8] === !0 &&
|
|
4833
|
+
e[8] === !0 && er(e)
|
|
4869
4834
|
);
|
|
4870
4835
|
return {
|
|
4871
4836
|
c() {
|
|
4872
|
-
t =
|
|
4837
|
+
t = _("div"), r && r.c();
|
|
4873
4838
|
},
|
|
4874
4839
|
m(n, i) {
|
|
4875
4840
|
F(n, t, i), r && r.m(t, null), e[41](t);
|
|
4876
4841
|
},
|
|
4877
4842
|
p(n, i) {
|
|
4878
4843
|
/*show*/
|
|
4879
|
-
n[8] === !0 ? r ? r.p(n, i) : (r =
|
|
4844
|
+
n[8] === !0 ? r ? r.p(n, i) : (r = er(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4880
4845
|
},
|
|
4881
4846
|
i: $,
|
|
4882
4847
|
o: $,
|
|
@@ -4885,30 +4850,30 @@ function Xo(e) {
|
|
|
4885
4850
|
}
|
|
4886
4851
|
};
|
|
4887
4852
|
}
|
|
4888
|
-
function
|
|
4853
|
+
function jo(e, t, r) {
|
|
4889
4854
|
let n;
|
|
4890
|
-
|
|
4891
|
-
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling:
|
|
4892
|
-
const
|
|
4893
|
-
fetch(c).then((
|
|
4894
|
-
Object.keys(
|
|
4895
|
-
|
|
4855
|
+
nn(e, Mo, (d) => r(15, n = d));
|
|
4856
|
+
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: S = "" } = t, T, P = window.navigator.userAgent, B = [], G, C = "", V = [], X = !1, ne = !1, q = !0, N = [], j = !1, M = !1, L = !1, x = !1, R = !0, H, W = "", z;
|
|
4857
|
+
const Wr = () => {
|
|
4858
|
+
fetch(c).then((d) => d.json()).then((d) => {
|
|
4859
|
+
Object.keys(d).forEach((A) => {
|
|
4860
|
+
Zt(A, d[A]);
|
|
4896
4861
|
});
|
|
4897
|
-
}).catch((
|
|
4898
|
-
console.log(
|
|
4862
|
+
}).catch((d) => {
|
|
4863
|
+
console.log(d);
|
|
4899
4864
|
});
|
|
4900
4865
|
};
|
|
4901
|
-
Object.keys(
|
|
4902
|
-
|
|
4866
|
+
Object.keys(Qt).forEach((d) => {
|
|
4867
|
+
Zt(d, Qt[d]);
|
|
4903
4868
|
});
|
|
4904
|
-
const
|
|
4905
|
-
|
|
4906
|
-
let
|
|
4907
|
-
|
|
4908
|
-
},
|
|
4909
|
-
r(12, x = !0), r(13, R = !0), r(10,
|
|
4869
|
+
const je = () => {
|
|
4870
|
+
H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
|
|
4871
|
+
let d = Bo(P);
|
|
4872
|
+
d && (d === "PC" ? H.searchParams.append("device", "dk") : H.searchParams.append("device", "mtWeb")), H.searchParams.append("env", a), H.searchParams.append("language", W.toLowerCase()), H.searchParams.append("userRoles", s);
|
|
4873
|
+
}, gt = () => {
|
|
4874
|
+
r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, L = !1), setTimeout(
|
|
4910
4875
|
() => {
|
|
4911
|
-
r(8, ne = !1), r(7,
|
|
4876
|
+
r(8, ne = !1), r(7, X = !1);
|
|
4912
4877
|
},
|
|
4913
4878
|
200
|
|
4914
4879
|
), window.postMessage(
|
|
@@ -4918,50 +4883,50 @@ function zo(e, t, r) {
|
|
|
4918
4883
|
},
|
|
4919
4884
|
window.location.href
|
|
4920
4885
|
);
|
|
4921
|
-
},
|
|
4922
|
-
|
|
4886
|
+
}, bt = (d) => {
|
|
4887
|
+
d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
|
|
4923
4888
|
() => {
|
|
4924
4889
|
r(13, R = !1);
|
|
4925
4890
|
},
|
|
4926
4891
|
125
|
|
4927
|
-
), r(8, ne = !0), r(7,
|
|
4928
|
-
}, He = (
|
|
4929
|
-
r(5, C =
|
|
4892
|
+
), r(8, ne = !0), r(7, X = !0), je(), _t(H)), d.data.type === "LanguageChanged" && (j = !0, je(), _t(H));
|
|
4893
|
+
}, He = (d, A) => {
|
|
4894
|
+
r(5, C = d), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4930
4895
|
context: "HamburgerMenu",
|
|
4931
4896
|
menuItem: `${C}`
|
|
4932
4897
|
});
|
|
4933
|
-
},
|
|
4934
|
-
let
|
|
4898
|
+
}, yt = () => {
|
|
4899
|
+
let d = B.filter((A) => {
|
|
4935
4900
|
let Te = !1;
|
|
4936
|
-
return A.children?.forEach((
|
|
4937
|
-
|
|
4901
|
+
return A.children?.forEach((tn) => {
|
|
4902
|
+
tn.path.includes(l) && (Te = !0);
|
|
4938
4903
|
}), Te;
|
|
4939
4904
|
});
|
|
4940
|
-
|
|
4941
|
-
},
|
|
4942
|
-
G && !j ||
|
|
4943
|
-
},
|
|
4944
|
-
fetch(
|
|
4905
|
+
d.length > 0 ? He(d[0].id, d[0].children) : He(B[0].id, B[0].children);
|
|
4906
|
+
}, _t = (d) => {
|
|
4907
|
+
G && !j || vt(d);
|
|
4908
|
+
}, vt = (d) => {
|
|
4909
|
+
fetch(d).then((A) => A.json()).then(
|
|
4945
4910
|
(A) => {
|
|
4946
|
-
r(4,
|
|
4911
|
+
r(4, B = A.filter((Te) => Te?.type !== "banner")), yt(), r(34, q = !1), G = A, j = !1;
|
|
4947
4912
|
},
|
|
4948
4913
|
(A) => {
|
|
4949
4914
|
console.error(A);
|
|
4950
4915
|
}
|
|
4951
4916
|
);
|
|
4952
4917
|
};
|
|
4953
|
-
let
|
|
4918
|
+
let xt = (d) => {
|
|
4954
4919
|
window.postMessage(
|
|
4955
4920
|
{
|
|
4956
4921
|
type: "NavigateTo",
|
|
4957
|
-
path:
|
|
4958
|
-
externalLink:
|
|
4959
|
-
target:
|
|
4922
|
+
path: d.path,
|
|
4923
|
+
externalLink: d.externalLink || !1,
|
|
4924
|
+
target: d.attrs.target || null
|
|
4960
4925
|
},
|
|
4961
4926
|
window.location.href
|
|
4962
|
-
),
|
|
4927
|
+
), gt();
|
|
4963
4928
|
};
|
|
4964
|
-
const
|
|
4929
|
+
const We = () => {
|
|
4965
4930
|
j = !0, window.postMessage(
|
|
4966
4931
|
{
|
|
4967
4932
|
type: "LanguageChanged",
|
|
@@ -4969,93 +4934,93 @@ function zo(e, t, r) {
|
|
|
4969
4934
|
},
|
|
4970
4935
|
window.location.href
|
|
4971
4936
|
);
|
|
4972
|
-
},
|
|
4973
|
-
|
|
4974
|
-
},
|
|
4975
|
-
r(14, W =
|
|
4937
|
+
}, Vr = () => {
|
|
4938
|
+
Co(u), je(), j && vt(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = u.toUpperCase());
|
|
4939
|
+
}, Et = (d) => {
|
|
4940
|
+
r(14, W = d), setTimeout(
|
|
4976
4941
|
() => {
|
|
4977
|
-
r(11,
|
|
4942
|
+
r(11, L = !1);
|
|
4978
4943
|
},
|
|
4979
4944
|
250
|
|
4980
4945
|
), setTimeout(
|
|
4981
4946
|
() => {
|
|
4982
|
-
r(10,
|
|
4947
|
+
r(10, M = !1);
|
|
4983
4948
|
},
|
|
4984
4949
|
500
|
|
4985
|
-
),
|
|
4986
|
-
},
|
|
4987
|
-
|
|
4950
|
+
), We();
|
|
4951
|
+
}, Xr = () => {
|
|
4952
|
+
M ? (setTimeout(
|
|
4988
4953
|
() => {
|
|
4989
|
-
r(10,
|
|
4954
|
+
r(10, M = !1);
|
|
4990
4955
|
},
|
|
4991
4956
|
250
|
|
4992
|
-
), r(11,
|
|
4957
|
+
), r(11, L = !1)) : (r(10, M = !0), setTimeout(
|
|
4993
4958
|
() => {
|
|
4994
|
-
r(11,
|
|
4959
|
+
r(11, L = !0);
|
|
4995
4960
|
},
|
|
4996
4961
|
300
|
|
4997
4962
|
));
|
|
4998
|
-
},
|
|
4999
|
-
let A =
|
|
5000
|
-
return
|
|
4963
|
+
}, zr = (d) => {
|
|
4964
|
+
let A = d ? d.slice(-2) : W.slice(-2);
|
|
4965
|
+
return y && (A = y.includes(A.toLowerCase()) ? y.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
|
|
5001
4966
|
};
|
|
5002
|
-
|
|
5003
|
-
window.removeEventListener("message",
|
|
4967
|
+
fn(() => (window.addEventListener("message", bt, !1), Ao(P), () => {
|
|
4968
|
+
window.removeEventListener("message", bt);
|
|
5004
4969
|
}));
|
|
5005
|
-
const
|
|
5006
|
-
|
|
4970
|
+
const Zr = (d) => He(d.id, d.children), Qr = (d, A) => {
|
|
4971
|
+
xt(d), A.preventDefault();
|
|
5007
4972
|
};
|
|
5008
|
-
function
|
|
5009
|
-
W =
|
|
4973
|
+
function Yr() {
|
|
4974
|
+
W = ln(this), r(14, W), r(9, N);
|
|
5010
4975
|
}
|
|
5011
|
-
const
|
|
5012
|
-
function
|
|
5013
|
-
Ce[
|
|
5014
|
-
|
|
4976
|
+
const qr = () => We(), Jr = (d) => Et(d);
|
|
4977
|
+
function Kr(d) {
|
|
4978
|
+
Ce[d ? "unshift" : "push"](() => {
|
|
4979
|
+
T = d, r(3, T);
|
|
5015
4980
|
});
|
|
5016
4981
|
}
|
|
5017
|
-
function
|
|
5018
|
-
Ce[
|
|
5019
|
-
|
|
4982
|
+
function en(d) {
|
|
4983
|
+
Ce[d ? "unshift" : "push"](() => {
|
|
4984
|
+
z = d, r(2, z);
|
|
5020
4985
|
});
|
|
5021
4986
|
}
|
|
5022
|
-
return e.$$set = (
|
|
5023
|
-
"menuitemsurl" in
|
|
4987
|
+
return e.$$set = (d) => {
|
|
4988
|
+
"menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, u = d.lang), "activecategory" in d && r(27, l = d.activecategory), "languageslist" in d && r(28, h = d.languageslist), "translationurl" in d && r(29, c = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, m = d.clientstyling), "clientstylingurl" in d && r(32, g = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, S = d.countryflaghamburger);
|
|
5024
4989
|
}, e.$$.update = () => {
|
|
5025
4990
|
e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
|
|
5026
|
-
318767106 && o && a && u && h &&
|
|
4991
|
+
318767106 && o && a && u && h && Vr(), e.$$.dirty[0] & /*activecategory*/
|
|
5027
4992
|
134217728 | e.$$.dirty[1] & /*isLoading*/
|
|
5028
|
-
8 && l && !q &&
|
|
5029
|
-
536870912 && c &&
|
|
4993
|
+
8 && l && !q && yt(), e.$$.dirty[0] & /*translationurl*/
|
|
4994
|
+
536870912 && c && Wr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5030
4995
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
5031
|
-
1 &&
|
|
4996
|
+
1 && m && z && Lo(z, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5032
4997
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5033
|
-
2 && g &&
|
|
5034
|
-
1073741828 && f &&
|
|
4998
|
+
2 && g && z && Po(z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4999
|
+
1073741828 && f && z && Io(z, `${f}.Style`);
|
|
5035
5000
|
}, [
|
|
5036
|
-
|
|
5001
|
+
S,
|
|
5037
5002
|
u,
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5003
|
+
z,
|
|
5004
|
+
T,
|
|
5005
|
+
B,
|
|
5041
5006
|
C,
|
|
5042
5007
|
V,
|
|
5043
|
-
|
|
5008
|
+
X,
|
|
5044
5009
|
ne,
|
|
5045
5010
|
N,
|
|
5046
|
-
|
|
5047
|
-
|
|
5011
|
+
M,
|
|
5012
|
+
L,
|
|
5048
5013
|
x,
|
|
5049
5014
|
R,
|
|
5050
5015
|
W,
|
|
5051
5016
|
n,
|
|
5052
|
-
|
|
5017
|
+
gt,
|
|
5053
5018
|
He,
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5019
|
+
xt,
|
|
5020
|
+
We,
|
|
5021
|
+
Et,
|
|
5022
|
+
Xr,
|
|
5023
|
+
zr,
|
|
5059
5024
|
i,
|
|
5060
5025
|
o,
|
|
5061
5026
|
a,
|
|
@@ -5064,27 +5029,27 @@ function zo(e, t, r) {
|
|
|
5064
5029
|
h,
|
|
5065
5030
|
c,
|
|
5066
5031
|
f,
|
|
5067
|
-
|
|
5032
|
+
m,
|
|
5068
5033
|
g,
|
|
5069
|
-
|
|
5034
|
+
y,
|
|
5070
5035
|
q,
|
|
5036
|
+
Zr,
|
|
5037
|
+
Qr,
|
|
5038
|
+
Yr,
|
|
5039
|
+
qr,
|
|
5071
5040
|
Jr,
|
|
5072
5041
|
Kr,
|
|
5073
|
-
en
|
|
5074
|
-
tn,
|
|
5075
|
-
rn,
|
|
5076
|
-
nn,
|
|
5077
|
-
on
|
|
5042
|
+
en
|
|
5078
5043
|
];
|
|
5079
5044
|
}
|
|
5080
|
-
class
|
|
5045
|
+
class Wo extends Sn {
|
|
5081
5046
|
constructor(t) {
|
|
5082
|
-
super(),
|
|
5047
|
+
super(), En(
|
|
5083
5048
|
this,
|
|
5084
5049
|
t,
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5050
|
+
jo,
|
|
5051
|
+
$o,
|
|
5052
|
+
hr,
|
|
5088
5053
|
{
|
|
5089
5054
|
menuitemsurl: 23,
|
|
5090
5055
|
cmsendpoint: 24,
|
|
@@ -5100,7 +5065,7 @@ class Zo extends An {
|
|
|
5100
5065
|
customlocaleidentifier: 33,
|
|
5101
5066
|
countryflaghamburger: 0
|
|
5102
5067
|
},
|
|
5103
|
-
|
|
5068
|
+
No,
|
|
5104
5069
|
[-1, -1, -1]
|
|
5105
5070
|
);
|
|
5106
5071
|
}
|
|
@@ -5108,82 +5073,82 @@ class Zo extends An {
|
|
|
5108
5073
|
return this.$$.ctx[23];
|
|
5109
5074
|
}
|
|
5110
5075
|
set menuitemsurl(t) {
|
|
5111
|
-
this.$$set({ menuitemsurl: t }),
|
|
5076
|
+
this.$$set({ menuitemsurl: t }), D();
|
|
5112
5077
|
}
|
|
5113
5078
|
get cmsendpoint() {
|
|
5114
5079
|
return this.$$.ctx[24];
|
|
5115
5080
|
}
|
|
5116
5081
|
set cmsendpoint(t) {
|
|
5117
|
-
this.$$set({ cmsendpoint: t }),
|
|
5082
|
+
this.$$set({ cmsendpoint: t }), D();
|
|
5118
5083
|
}
|
|
5119
5084
|
get cmsenv() {
|
|
5120
5085
|
return this.$$.ctx[25];
|
|
5121
5086
|
}
|
|
5122
5087
|
set cmsenv(t) {
|
|
5123
|
-
this.$$set({ cmsenv: t }),
|
|
5088
|
+
this.$$set({ cmsenv: t }), D();
|
|
5124
5089
|
}
|
|
5125
5090
|
get userroles() {
|
|
5126
5091
|
return this.$$.ctx[26];
|
|
5127
5092
|
}
|
|
5128
5093
|
set userroles(t) {
|
|
5129
|
-
this.$$set({ userroles: t }),
|
|
5094
|
+
this.$$set({ userroles: t }), D();
|
|
5130
5095
|
}
|
|
5131
5096
|
get lang() {
|
|
5132
5097
|
return this.$$.ctx[1];
|
|
5133
5098
|
}
|
|
5134
5099
|
set lang(t) {
|
|
5135
|
-
this.$$set({ lang: t }),
|
|
5100
|
+
this.$$set({ lang: t }), D();
|
|
5136
5101
|
}
|
|
5137
5102
|
get activecategory() {
|
|
5138
5103
|
return this.$$.ctx[27];
|
|
5139
5104
|
}
|
|
5140
5105
|
set activecategory(t) {
|
|
5141
|
-
this.$$set({ activecategory: t }),
|
|
5106
|
+
this.$$set({ activecategory: t }), D();
|
|
5142
5107
|
}
|
|
5143
5108
|
get languageslist() {
|
|
5144
5109
|
return this.$$.ctx[28];
|
|
5145
5110
|
}
|
|
5146
5111
|
set languageslist(t) {
|
|
5147
|
-
this.$$set({ languageslist: t }),
|
|
5112
|
+
this.$$set({ languageslist: t }), D();
|
|
5148
5113
|
}
|
|
5149
5114
|
get translationurl() {
|
|
5150
5115
|
return this.$$.ctx[29];
|
|
5151
5116
|
}
|
|
5152
5117
|
set translationurl(t) {
|
|
5153
|
-
this.$$set({ translationurl: t }),
|
|
5118
|
+
this.$$set({ translationurl: t }), D();
|
|
5154
5119
|
}
|
|
5155
5120
|
get mbsource() {
|
|
5156
5121
|
return this.$$.ctx[30];
|
|
5157
5122
|
}
|
|
5158
5123
|
set mbsource(t) {
|
|
5159
|
-
this.$$set({ mbsource: t }),
|
|
5124
|
+
this.$$set({ mbsource: t }), D();
|
|
5160
5125
|
}
|
|
5161
5126
|
get clientstyling() {
|
|
5162
5127
|
return this.$$.ctx[31];
|
|
5163
5128
|
}
|
|
5164
5129
|
set clientstyling(t) {
|
|
5165
|
-
this.$$set({ clientstyling: t }),
|
|
5130
|
+
this.$$set({ clientstyling: t }), D();
|
|
5166
5131
|
}
|
|
5167
5132
|
get clientstylingurl() {
|
|
5168
5133
|
return this.$$.ctx[32];
|
|
5169
5134
|
}
|
|
5170
5135
|
set clientstylingurl(t) {
|
|
5171
|
-
this.$$set({ clientstylingurl: t }),
|
|
5136
|
+
this.$$set({ clientstylingurl: t }), D();
|
|
5172
5137
|
}
|
|
5173
5138
|
get customlocaleidentifier() {
|
|
5174
5139
|
return this.$$.ctx[33];
|
|
5175
5140
|
}
|
|
5176
5141
|
set customlocaleidentifier(t) {
|
|
5177
|
-
this.$$set({ customlocaleidentifier: t }),
|
|
5142
|
+
this.$$set({ customlocaleidentifier: t }), D();
|
|
5178
5143
|
}
|
|
5179
5144
|
get countryflaghamburger() {
|
|
5180
5145
|
return this.$$.ctx[0];
|
|
5181
5146
|
}
|
|
5182
5147
|
set countryflaghamburger(t) {
|
|
5183
|
-
this.$$set({ countryflaghamburger: t }),
|
|
5148
|
+
this.$$set({ countryflaghamburger: t }), D();
|
|
5184
5149
|
}
|
|
5185
5150
|
}
|
|
5186
|
-
|
|
5151
|
+
wn(Wo, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
|
|
5187
5152
|
export {
|
|
5188
|
-
|
|
5153
|
+
Wo as C
|
|
5189
5154
|
};
|