@everymatrix/casino-hamburger-menu-nd 1.77.0 → 1.77.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenuNd-DkK6CHR3.js → CasinoHamburgerMenuNd-9xwciIXj.js} +670 -668
- package/components/{CasinoHamburgerMenuNd-BOLmp713.js → CasinoHamburgerMenuNd-CABvz3j9.js} +781 -778
- package/components/{CasinoHamburgerMenuNd-CVclT4vf.cjs → CasinoHamburgerMenuNd-CuuWvQ3p.cjs} +4 -4
- 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
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var gn = Object.defineProperty, mn = Object.defineProperties;
|
|
2
|
+
var bn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Lt = Object.getOwnPropertySymbols;
|
|
4
|
+
var vn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Qe = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
vn.call(t, r) && Qe(e, r, t[r]);
|
|
8
|
+
if (Lt)
|
|
9
|
+
for (var r of Lt(t))
|
|
10
|
+
yn.call(t, r) && Qe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var V = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, It = (e, t) => mn(e, bn(t));
|
|
13
|
+
var V = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ct = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(u));
|
|
@@ -29,29 +29,29 @@ var It = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function $() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function xr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Nt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function de(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(xr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function _t(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Er(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
47
|
+
let Oe;
|
|
48
48
|
function ee(e, t) {
|
|
49
|
-
return e === t ? !0 : (
|
|
49
|
+
return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function _n(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function wr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Er(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function xn(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(wr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function v(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function En(e, t, r) {
|
|
70
|
+
const n = wn(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = y("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, Sn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function wn(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function En(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Sn(e, t) {
|
|
87
87
|
return v(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -103,7 +103,7 @@ function Se(e, t) {
|
|
|
103
103
|
function y(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Rt(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
109
|
function te(e) {
|
|
@@ -112,26 +112,26 @@ function te(e) {
|
|
|
112
112
|
function U() {
|
|
113
113
|
return te(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Sr() {
|
|
116
116
|
return te("");
|
|
117
117
|
}
|
|
118
118
|
function re(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function g(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Hn(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ge(e, t) {
|
|
128
128
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
129
129
|
t);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Ut(e, t) {
|
|
132
132
|
e.value = t == null ? "" : t;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Ft(e, t, r) {
|
|
135
135
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
136
136
|
const i = e.options[n];
|
|
137
137
|
if (i.__value === t) {
|
|
@@ -141,11 +141,11 @@ function Ut(e, t, r) {
|
|
|
141
141
|
}
|
|
142
142
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Tn(e) {
|
|
145
145
|
const t = e.querySelector(":checked");
|
|
146
146
|
return t && t.__value;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function On(e) {
|
|
149
149
|
const t = {};
|
|
150
150
|
return e.childNodes.forEach(
|
|
151
151
|
/** @param {Element} node */
|
|
@@ -158,27 +158,27 @@ let xe;
|
|
|
158
158
|
function _e(e) {
|
|
159
159
|
xe = e;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function An() {
|
|
162
162
|
if (!xe)
|
|
163
163
|
throw new Error("Function called outside component initialization");
|
|
164
164
|
return xe;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
166
|
+
function Mn(e) {
|
|
167
|
+
An().$$.on_mount.push(e);
|
|
168
168
|
}
|
|
169
|
-
const ue = [],
|
|
169
|
+
const ue = [], Ce = [];
|
|
170
170
|
let le = [];
|
|
171
|
-
const
|
|
172
|
-
let
|
|
173
|
-
function
|
|
174
|
-
|
|
171
|
+
const kt = [], Pn = /* @__PURE__ */ Promise.resolve();
|
|
172
|
+
let it = !1;
|
|
173
|
+
function Ln() {
|
|
174
|
+
it || (it = !0, Pn.then(k));
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Ne(e) {
|
|
177
177
|
le.push(e);
|
|
178
178
|
}
|
|
179
|
-
const
|
|
179
|
+
const Ye = /* @__PURE__ */ new Set();
|
|
180
180
|
let ae = 0;
|
|
181
|
-
function
|
|
181
|
+
function k() {
|
|
182
182
|
if (ae !== 0)
|
|
183
183
|
return;
|
|
184
184
|
const e = xe;
|
|
@@ -191,51 +191,51 @@ function D() {
|
|
|
191
191
|
} catch (t) {
|
|
192
192
|
throw ue.length = 0, ae = 0, t;
|
|
193
193
|
}
|
|
194
|
-
for (_e(null), ue.length = 0, ae = 0;
|
|
195
|
-
|
|
194
|
+
for (_e(null), ue.length = 0, ae = 0; Ce.length; )
|
|
195
|
+
Ce.pop()();
|
|
196
196
|
for (let t = 0; t < le.length; t += 1) {
|
|
197
197
|
const r = le[t];
|
|
198
|
-
|
|
198
|
+
Ye.has(r) || (Ye.add(r), r());
|
|
199
199
|
}
|
|
200
200
|
le.length = 0;
|
|
201
201
|
} while (ue.length);
|
|
202
|
-
for (;
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
for (; kt.length; )
|
|
203
|
+
kt.pop()();
|
|
204
|
+
it = !1, Ye.clear(), _e(e);
|
|
205
205
|
}
|
|
206
206
|
function Bn(e) {
|
|
207
207
|
if (e.fragment !== null) {
|
|
208
208
|
e.update(), de(e.before_update);
|
|
209
209
|
const t = e.dirty;
|
|
210
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
210
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function In(e) {
|
|
214
214
|
const t = [], r = [];
|
|
215
215
|
le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
|
|
216
216
|
}
|
|
217
|
-
const
|
|
218
|
-
function
|
|
219
|
-
e && e.i && (
|
|
217
|
+
const Cn = /* @__PURE__ */ new Set();
|
|
218
|
+
function Nn(e, t) {
|
|
219
|
+
e && e.i && (Cn.delete(e), e.i(t));
|
|
220
220
|
}
|
|
221
221
|
function q(e) {
|
|
222
222
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Rn(e, t, r) {
|
|
225
225
|
const { fragment: n, after_update: i } = e.$$;
|
|
226
|
-
n && n.m(t, r),
|
|
227
|
-
const o = e.$$.on_mount.map(
|
|
226
|
+
n && n.m(t, r), Ne(() => {
|
|
227
|
+
const o = e.$$.on_mount.map(xr).filter(_t);
|
|
228
228
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
|
|
229
|
-
}), i.forEach(
|
|
229
|
+
}), i.forEach(Ne);
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Un(e, t) {
|
|
232
232
|
const r = e.$$;
|
|
233
|
-
r.fragment !== null && (
|
|
233
|
+
r.fragment !== null && (In(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
e.$$.dirty[0] === -1 && (ue.push(e),
|
|
235
|
+
function Fn(e, t) {
|
|
236
|
+
e.$$.dirty[0] === -1 && (ue.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function kn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
239
239
|
const u = xe;
|
|
240
240
|
_e(e);
|
|
241
241
|
const l = e.$$ = {
|
|
@@ -245,7 +245,7 @@ function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
245
245
|
props: o,
|
|
246
246
|
update: $,
|
|
247
247
|
not_equal: i,
|
|
248
|
-
bound:
|
|
248
|
+
bound: Nt(),
|
|
249
249
|
// lifecycle
|
|
250
250
|
on_mount: [],
|
|
251
251
|
on_destroy: [],
|
|
@@ -254,7 +254,7 @@ function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
254
254
|
after_update: [],
|
|
255
255
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
256
256
|
// everything else
|
|
257
|
-
callbacks:
|
|
257
|
+
callbacks: Nt(),
|
|
258
258
|
dirty: s,
|
|
259
259
|
skip_bound: !1,
|
|
260
260
|
root: t.target || u.$$.root
|
|
@@ -262,20 +262,20 @@ function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
262
262
|
a && a(l.root);
|
|
263
263
|
let h = !1;
|
|
264
264
|
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
265
|
-
const
|
|
266
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] =
|
|
265
|
+
const m = d.length ? d[0] : f;
|
|
266
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && Fn(e, c)), f;
|
|
267
267
|
}) : [], l.update(), h = !0, de(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
268
268
|
if (t.hydrate) {
|
|
269
|
-
const c =
|
|
269
|
+
const c = Hn(t.target);
|
|
270
270
|
l.fragment && l.fragment.l(c), c.forEach(I);
|
|
271
271
|
} else
|
|
272
272
|
l.fragment && l.fragment.c();
|
|
273
|
-
t.intro &&
|
|
273
|
+
t.intro && Nn(e.$$.fragment), Rn(e, t.target, t.anchor), k();
|
|
274
274
|
}
|
|
275
275
|
_e(u);
|
|
276
276
|
}
|
|
277
|
-
let
|
|
278
|
-
typeof HTMLElement == "function" && (
|
|
277
|
+
let Hr;
|
|
278
|
+
typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
|
|
279
279
|
constructor(t, r, n) {
|
|
280
280
|
super();
|
|
281
281
|
/** The Svelte component constructor */
|
|
@@ -312,14 +312,14 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
connectedCallback() {
|
|
315
|
-
return
|
|
315
|
+
return Ct(this, null, function* () {
|
|
316
316
|
if (this.$$cn = !0, !this.$$c) {
|
|
317
317
|
let t = function(o) {
|
|
318
318
|
return () => {
|
|
319
319
|
let a;
|
|
320
320
|
return {
|
|
321
321
|
c: function() {
|
|
322
|
-
a = y("slot"), o !== "default" &&
|
|
322
|
+
a = y("slot"), o !== "default" && g(a, "name", o);
|
|
323
323
|
},
|
|
324
324
|
/**
|
|
325
325
|
* @param {HTMLElement} target
|
|
@@ -336,18 +336,18 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
336
336
|
};
|
|
337
337
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
338
338
|
return;
|
|
339
|
-
const r = {}, n =
|
|
339
|
+
const r = {}, n = On(this);
|
|
340
340
|
for (const o of this.$$s)
|
|
341
341
|
o in n && (r[o] = [t(o)]);
|
|
342
342
|
for (const o of this.attributes) {
|
|
343
343
|
const a = this.$$g_p(o.name);
|
|
344
|
-
a in this.$$d || (this.$$d[a] =
|
|
344
|
+
a in this.$$d || (this.$$d[a] = Pe(a, o.value, this.$$p_d, "toProp"));
|
|
345
345
|
}
|
|
346
346
|
for (const o in this.$$p_d)
|
|
347
347
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
348
348
|
this.$$c = new this.$$ctor({
|
|
349
349
|
target: this.shadowRoot || this,
|
|
350
|
-
props:
|
|
350
|
+
props: It(Bt({}, this.$$d), {
|
|
351
351
|
$$slots: r,
|
|
352
352
|
$$scope: {
|
|
353
353
|
ctx: []
|
|
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
358
358
|
this.$$r = !0;
|
|
359
359
|
for (const o in this.$$p_d)
|
|
360
360
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
361
|
-
const a =
|
|
361
|
+
const a = Pe(
|
|
362
362
|
o,
|
|
363
363
|
this.$$d[o],
|
|
364
364
|
this.$$p_d,
|
|
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
382
382
|
// and setting attributes through setAttribute etc, this is helpful
|
|
383
383
|
attributeChangedCallback(t, r, n) {
|
|
384
384
|
var i;
|
|
385
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
385
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
386
386
|
}
|
|
387
387
|
disconnectedCallback() {
|
|
388
388
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
395
395
|
) || t;
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
|
-
function
|
|
398
|
+
function Pe(e, t, r, n) {
|
|
399
399
|
var o;
|
|
400
400
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
401
401
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -426,7 +426,7 @@ function Be(e, t, r, n) {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
function Dn(e, t, r, n, i, o) {
|
|
429
|
-
let a = class extends
|
|
429
|
+
let a = class extends Hr {
|
|
430
430
|
constructor() {
|
|
431
431
|
super(e, r, i), this.$$p_d = t;
|
|
432
432
|
}
|
|
@@ -443,7 +443,7 @@ function Dn(e, t, r, n, i, o) {
|
|
|
443
443
|
},
|
|
444
444
|
set(u) {
|
|
445
445
|
var l;
|
|
446
|
-
u =
|
|
446
|
+
u = Pe(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
|
|
447
447
|
}
|
|
448
448
|
});
|
|
449
449
|
}), n.forEach((s) => {
|
|
@@ -456,7 +456,7 @@ function Dn(e, t, r, n, i, o) {
|
|
|
456
456
|
}), e.element = /** @type {any} */
|
|
457
457
|
a, a;
|
|
458
458
|
}
|
|
459
|
-
class
|
|
459
|
+
class Gn {
|
|
460
460
|
constructor() {
|
|
461
461
|
/**
|
|
462
462
|
* ### PRIVATE API
|
|
@@ -477,7 +477,7 @@ class kn {
|
|
|
477
477
|
}
|
|
478
478
|
/** @returns {void} */
|
|
479
479
|
$destroy() {
|
|
480
|
-
|
|
480
|
+
Un(this, 1), this.$destroy = $;
|
|
481
481
|
}
|
|
482
482
|
/**
|
|
483
483
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -486,7 +486,7 @@ class kn {
|
|
|
486
486
|
* @returns {() => void}
|
|
487
487
|
*/
|
|
488
488
|
$on(t, r) {
|
|
489
|
-
if (!
|
|
489
|
+
if (!_t(r))
|
|
490
490
|
return $;
|
|
491
491
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
492
492
|
return n.push(r), () => {
|
|
@@ -499,11 +499,11 @@ class kn {
|
|
|
499
499
|
* @returns {void}
|
|
500
500
|
*/
|
|
501
501
|
$set(t) {
|
|
502
|
-
this.$$set && !
|
|
502
|
+
this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
505
|
+
const $n = "4";
|
|
506
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($n);
|
|
507
507
|
/*! *****************************************************************************
|
|
508
508
|
Copyright (c) Microsoft Corporation.
|
|
509
509
|
|
|
@@ -518,24 +518,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
518
518
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
519
519
|
PERFORMANCE OF THIS SOFTWARE.
|
|
520
520
|
***************************************************************************** */
|
|
521
|
-
var
|
|
522
|
-
return
|
|
521
|
+
var ot = function(e, t) {
|
|
522
|
+
return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
523
523
|
r.__proto__ = n;
|
|
524
524
|
} || function(r, n) {
|
|
525
525
|
for (var i in n)
|
|
526
526
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
527
|
-
},
|
|
527
|
+
}, ot(e, t);
|
|
528
528
|
};
|
|
529
529
|
function He(e, t) {
|
|
530
530
|
if (typeof t != "function" && t !== null)
|
|
531
531
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
532
|
-
|
|
532
|
+
ot(e, t);
|
|
533
533
|
function r() {
|
|
534
534
|
this.constructor = e;
|
|
535
535
|
}
|
|
536
536
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function at(e) {
|
|
539
539
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
540
540
|
if (r)
|
|
541
541
|
return r.call(e);
|
|
@@ -547,7 +547,7 @@ function ot(e) {
|
|
|
547
547
|
};
|
|
548
548
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function st(e, t) {
|
|
551
551
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
552
552
|
if (!r)
|
|
553
553
|
return e;
|
|
@@ -567,7 +567,7 @@ function at(e, t) {
|
|
|
567
567
|
}
|
|
568
568
|
return o;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function ut(e, t, r) {
|
|
571
571
|
if (arguments.length === 2)
|
|
572
572
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
573
573
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -576,13 +576,13 @@ function st(e, t, r) {
|
|
|
576
576
|
function Y(e) {
|
|
577
577
|
return typeof e == "function";
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function Tr(e) {
|
|
580
580
|
var t = function(n) {
|
|
581
581
|
Error.call(n), n.stack = new Error().stack;
|
|
582
582
|
}, r = e(t);
|
|
583
583
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
584
584
|
}
|
|
585
|
-
var
|
|
585
|
+
var qe = Tr(function(e) {
|
|
586
586
|
return function(r) {
|
|
587
587
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
588
588
|
` + r.map(function(n, i) {
|
|
@@ -591,7 +591,7 @@ var Ye = Hr(function(e) {
|
|
|
591
591
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
592
592
|
};
|
|
593
593
|
});
|
|
594
|
-
function
|
|
594
|
+
function lt(e, t) {
|
|
595
595
|
if (e) {
|
|
596
596
|
var r = e.indexOf(t);
|
|
597
597
|
0 <= r && e.splice(r, 1);
|
|
@@ -609,7 +609,7 @@ var ke = function() {
|
|
|
609
609
|
if (a)
|
|
610
610
|
if (this._parentage = null, Array.isArray(a))
|
|
611
611
|
try {
|
|
612
|
-
for (var s =
|
|
612
|
+
for (var s = at(a), u = s.next(); !u.done; u = s.next()) {
|
|
613
613
|
var l = u.value;
|
|
614
614
|
l.remove(this);
|
|
615
615
|
}
|
|
@@ -630,18 +630,18 @@ var ke = function() {
|
|
|
630
630
|
try {
|
|
631
631
|
h();
|
|
632
632
|
} catch (b) {
|
|
633
|
-
o = b instanceof
|
|
633
|
+
o = b instanceof qe ? b.errors : [b];
|
|
634
634
|
}
|
|
635
635
|
var c = this._finalizers;
|
|
636
636
|
if (c) {
|
|
637
637
|
this._finalizers = null;
|
|
638
638
|
try {
|
|
639
|
-
for (var f =
|
|
640
|
-
var
|
|
639
|
+
for (var f = at(c), d = f.next(); !d.done; d = f.next()) {
|
|
640
|
+
var m = d.value;
|
|
641
641
|
try {
|
|
642
|
-
Dt(
|
|
642
|
+
Dt(m);
|
|
643
643
|
} catch (b) {
|
|
644
|
-
o = o != null ? o : [], b instanceof
|
|
644
|
+
o = o != null ? o : [], b instanceof qe ? o = ut(ut([], st(o)), st(b.errors)) : o.push(b);
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
} catch (b) {
|
|
@@ -656,7 +656,7 @@ var ke = function() {
|
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
if (o)
|
|
659
|
-
throw new
|
|
659
|
+
throw new qe(o);
|
|
660
660
|
}
|
|
661
661
|
}, e.prototype.add = function(t) {
|
|
662
662
|
var r;
|
|
@@ -679,52 +679,52 @@ var ke = function() {
|
|
|
679
679
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
680
680
|
}, e.prototype._removeParent = function(t) {
|
|
681
681
|
var r = this._parentage;
|
|
682
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
682
|
+
r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
|
|
683
683
|
}, e.prototype.remove = function(t) {
|
|
684
684
|
var r = this._finalizers;
|
|
685
|
-
r &&
|
|
685
|
+
r && lt(r, t), t instanceof e && t._removeParent(this);
|
|
686
686
|
}, e.EMPTY = function() {
|
|
687
687
|
var t = new e();
|
|
688
688
|
return t.closed = !0, t;
|
|
689
689
|
}(), e;
|
|
690
|
-
}(),
|
|
691
|
-
function
|
|
690
|
+
}(), Or = ke.EMPTY;
|
|
691
|
+
function Ar(e) {
|
|
692
692
|
return e instanceof ke || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
|
|
693
693
|
}
|
|
694
694
|
function Dt(e) {
|
|
695
695
|
Y(e) ? e() : e.unsubscribe();
|
|
696
696
|
}
|
|
697
|
-
var
|
|
697
|
+
var jn = {
|
|
698
698
|
Promise: void 0
|
|
699
|
-
},
|
|
699
|
+
}, Wn = {
|
|
700
700
|
setTimeout: function(e, t) {
|
|
701
701
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
702
702
|
r[n - 2] = arguments[n];
|
|
703
|
-
return setTimeout.apply(void 0,
|
|
703
|
+
return setTimeout.apply(void 0, ut([e, t], st(r)));
|
|
704
704
|
},
|
|
705
705
|
clearTimeout: function(e) {
|
|
706
706
|
return clearTimeout(e);
|
|
707
707
|
},
|
|
708
708
|
delegate: void 0
|
|
709
709
|
};
|
|
710
|
-
function
|
|
711
|
-
|
|
710
|
+
function Vn(e) {
|
|
711
|
+
Wn.setTimeout(function() {
|
|
712
712
|
throw e;
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Gt() {
|
|
716
716
|
}
|
|
717
717
|
function Le(e) {
|
|
718
718
|
e();
|
|
719
719
|
}
|
|
720
|
-
var
|
|
720
|
+
var Mr = function(e) {
|
|
721
721
|
He(t, e);
|
|
722
722
|
function t(r) {
|
|
723
723
|
var n = e.call(this) || this;
|
|
724
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
724
|
+
return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = Zn, n;
|
|
725
725
|
}
|
|
726
726
|
return t.create = function(r, n, i) {
|
|
727
|
-
return new
|
|
727
|
+
return new ht(r, n, i);
|
|
728
728
|
}, t.prototype.next = function(r) {
|
|
729
729
|
this.isStopped || this._next(r);
|
|
730
730
|
}, t.prototype.error = function(r) {
|
|
@@ -748,7 +748,7 @@ var Ar = function(e) {
|
|
|
748
748
|
this.unsubscribe();
|
|
749
749
|
}
|
|
750
750
|
}, t;
|
|
751
|
-
}(ke),
|
|
751
|
+
}(ke), Xn = function() {
|
|
752
752
|
function e(t) {
|
|
753
753
|
this.partialObserver = t;
|
|
754
754
|
}
|
|
@@ -758,7 +758,7 @@ var Ar = function(e) {
|
|
|
758
758
|
try {
|
|
759
759
|
r.next(t);
|
|
760
760
|
} catch (n) {
|
|
761
|
-
|
|
761
|
+
Ae(n);
|
|
762
762
|
}
|
|
763
763
|
}, e.prototype.error = function(t) {
|
|
764
764
|
var r = this.partialObserver;
|
|
@@ -766,20 +766,20 @@ var Ar = function(e) {
|
|
|
766
766
|
try {
|
|
767
767
|
r.error(t);
|
|
768
768
|
} catch (n) {
|
|
769
|
-
|
|
769
|
+
Ae(n);
|
|
770
770
|
}
|
|
771
771
|
else
|
|
772
|
-
|
|
772
|
+
Ae(t);
|
|
773
773
|
}, e.prototype.complete = function() {
|
|
774
774
|
var t = this.partialObserver;
|
|
775
775
|
if (t.complete)
|
|
776
776
|
try {
|
|
777
777
|
t.complete();
|
|
778
778
|
} catch (r) {
|
|
779
|
-
|
|
779
|
+
Ae(r);
|
|
780
780
|
}
|
|
781
781
|
}, e;
|
|
782
|
-
}(),
|
|
782
|
+
}(), ht = function(e) {
|
|
783
783
|
He(t, e);
|
|
784
784
|
function t(r, n, i) {
|
|
785
785
|
var o = e.call(this) || this, a;
|
|
@@ -787,35 +787,35 @@ var Ar = function(e) {
|
|
|
787
787
|
next: r != null ? r : void 0,
|
|
788
788
|
error: n != null ? n : void 0,
|
|
789
789
|
complete: i != null ? i : void 0
|
|
790
|
-
} : a = r, o.destination = new
|
|
790
|
+
} : a = r, o.destination = new Xn(a), o;
|
|
791
791
|
}
|
|
792
792
|
return t;
|
|
793
|
-
}(
|
|
794
|
-
function
|
|
795
|
-
|
|
793
|
+
}(Mr);
|
|
794
|
+
function Ae(e) {
|
|
795
|
+
Vn(e);
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function zn(e) {
|
|
798
798
|
throw e;
|
|
799
799
|
}
|
|
800
|
-
var
|
|
800
|
+
var Zn = {
|
|
801
801
|
closed: !0,
|
|
802
|
-
next:
|
|
803
|
-
error:
|
|
804
|
-
complete:
|
|
805
|
-
},
|
|
802
|
+
next: Gt,
|
|
803
|
+
error: zn,
|
|
804
|
+
complete: Gt
|
|
805
|
+
}, Qn = function() {
|
|
806
806
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
807
807
|
}();
|
|
808
|
-
function
|
|
808
|
+
function Yn(e) {
|
|
809
809
|
return e;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
812
|
-
return e.length === 0 ?
|
|
811
|
+
function qn(e) {
|
|
812
|
+
return e.length === 0 ? Yn : e.length === 1 ? e[0] : function(r) {
|
|
813
813
|
return e.reduce(function(n, i) {
|
|
814
814
|
return i(n);
|
|
815
815
|
}, r);
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
|
-
var
|
|
818
|
+
var $t = function() {
|
|
819
819
|
function e(t) {
|
|
820
820
|
t && (this._subscribe = t);
|
|
821
821
|
}
|
|
@@ -823,7 +823,7 @@ var Gt = function() {
|
|
|
823
823
|
var r = new e();
|
|
824
824
|
return r.source = this, r.operator = t, r;
|
|
825
825
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
826
|
-
var i = this, o =
|
|
826
|
+
var i = this, o = Kn(t) ? t : new ht(t, r, n);
|
|
827
827
|
return Le(function() {
|
|
828
828
|
var a = i, s = a.operator, u = a.source;
|
|
829
829
|
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -836,8 +836,8 @@ var Gt = function() {
|
|
|
836
836
|
}
|
|
837
837
|
}, e.prototype.forEach = function(t, r) {
|
|
838
838
|
var n = this;
|
|
839
|
-
return r =
|
|
840
|
-
var a = new
|
|
839
|
+
return r = jt(r), new r(function(i, o) {
|
|
840
|
+
var a = new ht({
|
|
841
841
|
next: function(s) {
|
|
842
842
|
try {
|
|
843
843
|
t(s);
|
|
@@ -853,15 +853,15 @@ var Gt = function() {
|
|
|
853
853
|
}, e.prototype._subscribe = function(t) {
|
|
854
854
|
var r;
|
|
855
855
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
856
|
-
}, e.prototype[
|
|
856
|
+
}, e.prototype[Qn] = function() {
|
|
857
857
|
return this;
|
|
858
858
|
}, e.prototype.pipe = function() {
|
|
859
859
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
860
860
|
t[r] = arguments[r];
|
|
861
|
-
return
|
|
861
|
+
return qn(t)(this);
|
|
862
862
|
}, e.prototype.toPromise = function(t) {
|
|
863
863
|
var r = this;
|
|
864
|
-
return t =
|
|
864
|
+
return t = jt(t), new t(function(n, i) {
|
|
865
865
|
var o;
|
|
866
866
|
r.subscribe(function(a) {
|
|
867
867
|
return o = a;
|
|
@@ -875,32 +875,32 @@ var Gt = function() {
|
|
|
875
875
|
return new e(t);
|
|
876
876
|
}, e;
|
|
877
877
|
}();
|
|
878
|
-
function
|
|
878
|
+
function jt(e) {
|
|
879
879
|
var t;
|
|
880
|
-
return (t = e != null ? e :
|
|
880
|
+
return (t = e != null ? e : jn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Jn(e) {
|
|
883
883
|
return e && Y(e.next) && Y(e.error) && Y(e.complete);
|
|
884
884
|
}
|
|
885
|
-
function
|
|
886
|
-
return e && e instanceof
|
|
885
|
+
function Kn(e) {
|
|
886
|
+
return e && e instanceof Mr || Jn(e) && Ar(e);
|
|
887
887
|
}
|
|
888
|
-
var
|
|
888
|
+
var ei = Tr(function(e) {
|
|
889
889
|
return function() {
|
|
890
890
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
891
891
|
};
|
|
892
|
-
}),
|
|
892
|
+
}), Pr = function(e) {
|
|
893
893
|
He(t, e);
|
|
894
894
|
function t() {
|
|
895
895
|
var r = e.call(this) || this;
|
|
896
896
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
897
897
|
}
|
|
898
898
|
return t.prototype.lift = function(r) {
|
|
899
|
-
var n = new
|
|
899
|
+
var n = new Wt(this, this);
|
|
900
900
|
return n.operator = r, n;
|
|
901
901
|
}, t.prototype._throwIfClosed = function() {
|
|
902
902
|
if (this.closed)
|
|
903
|
-
throw new
|
|
903
|
+
throw new ei();
|
|
904
904
|
}, t.prototype.next = function(r) {
|
|
905
905
|
var n = this;
|
|
906
906
|
Le(function() {
|
|
@@ -908,7 +908,7 @@ var Kn = Hr(function(e) {
|
|
|
908
908
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
909
909
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
910
910
|
try {
|
|
911
|
-
for (var a =
|
|
911
|
+
for (var a = at(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
912
912
|
var u = s.value;
|
|
913
913
|
u.next(r);
|
|
914
914
|
}
|
|
@@ -957,19 +957,19 @@ var Kn = Hr(function(e) {
|
|
|
957
957
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
958
958
|
}, t.prototype._innerSubscribe = function(r) {
|
|
959
959
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
960
|
-
return o || a ?
|
|
961
|
-
n.currentObservers = null,
|
|
960
|
+
return o || a ? Or : (this.currentObservers = null, s.push(r), new ke(function() {
|
|
961
|
+
n.currentObservers = null, lt(s, r);
|
|
962
962
|
}));
|
|
963
963
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
964
964
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
965
965
|
i ? r.error(o) : a && r.complete();
|
|
966
966
|
}, t.prototype.asObservable = function() {
|
|
967
|
-
var r = new
|
|
967
|
+
var r = new $t();
|
|
968
968
|
return r.source = this, r;
|
|
969
969
|
}, t.create = function(r, n) {
|
|
970
|
-
return new
|
|
970
|
+
return new Wt(r, n);
|
|
971
971
|
}, t;
|
|
972
|
-
}(
|
|
972
|
+
}($t), Wt = function(e) {
|
|
973
973
|
He(t, e);
|
|
974
974
|
function t(r, n) {
|
|
975
975
|
var i = e.call(this) || this;
|
|
@@ -986,17 +986,17 @@ var Kn = Hr(function(e) {
|
|
|
986
986
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
987
987
|
}, t.prototype._subscribe = function(r) {
|
|
988
988
|
var n, i;
|
|
989
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
989
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
|
|
990
990
|
}, t;
|
|
991
|
-
}(
|
|
991
|
+
}(Pr), Lr = {
|
|
992
992
|
now: function() {
|
|
993
|
-
return (
|
|
993
|
+
return (Lr.delegate || Date).now();
|
|
994
994
|
},
|
|
995
995
|
delegate: void 0
|
|
996
|
-
},
|
|
996
|
+
}, ti = function(e) {
|
|
997
997
|
He(t, e);
|
|
998
998
|
function t(r, n, i) {
|
|
999
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
999
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lr);
|
|
1000
1000
|
var o = e.call(this) || this;
|
|
1001
1001
|
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;
|
|
1002
1002
|
}
|
|
@@ -1016,24 +1016,24 @@ var Kn = Hr(function(e) {
|
|
|
1016
1016
|
l && o.splice(0, l + 1);
|
|
1017
1017
|
}
|
|
1018
1018
|
}, t;
|
|
1019
|
-
}(
|
|
1020
|
-
const
|
|
1021
|
-
if (
|
|
1022
|
-
const r = new
|
|
1023
|
-
|
|
1019
|
+
}(Pr);
|
|
1020
|
+
const Vt = [], Xt = {}, ri = (e, t = 0) => {
|
|
1021
|
+
if (Vt.indexOf(e) == -1) {
|
|
1022
|
+
const r = new ti(t);
|
|
1023
|
+
Xt[e] = r, Vt.push(e);
|
|
1024
1024
|
}
|
|
1025
|
-
return
|
|
1025
|
+
return Xt[e];
|
|
1026
1026
|
}, se = [];
|
|
1027
|
-
function
|
|
1027
|
+
function ni(e, t) {
|
|
1028
1028
|
return {
|
|
1029
|
-
subscribe:
|
|
1029
|
+
subscribe: De(e, t).subscribe
|
|
1030
1030
|
};
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function De(e, t = $) {
|
|
1033
1033
|
let r;
|
|
1034
1034
|
const n = /* @__PURE__ */ new Set();
|
|
1035
1035
|
function i(s) {
|
|
1036
|
-
if (
|
|
1036
|
+
if (Er(e, s) && (e = s, r)) {
|
|
1037
1037
|
const u = !se.length;
|
|
1038
1038
|
for (const l of n)
|
|
1039
1039
|
l[1](), se.push(l, e);
|
|
@@ -1055,12 +1055,12 @@ function Ge(e, t = $) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
return { set: i, update: o, subscribe: a };
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function me(e, t, r) {
|
|
1059
1059
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1060
1060
|
if (!i.every(Boolean))
|
|
1061
1061
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1062
1062
|
const o = t.length < 2;
|
|
1063
|
-
return
|
|
1063
|
+
return ni(r, (a, s) => {
|
|
1064
1064
|
let u = !1;
|
|
1065
1065
|
const l = [];
|
|
1066
1066
|
let h = 0, c = $;
|
|
@@ -1068,11 +1068,11 @@ function ge(e, t, r) {
|
|
|
1068
1068
|
if (h)
|
|
1069
1069
|
return;
|
|
1070
1070
|
c();
|
|
1071
|
-
const
|
|
1072
|
-
o ? a(
|
|
1071
|
+
const m = t(n ? l[0] : l, a, s);
|
|
1072
|
+
o ? a(m) : c = _t(m) ? m : $;
|
|
1073
1073
|
}, d = i.map(
|
|
1074
|
-
(
|
|
1075
|
-
|
|
1074
|
+
(m, b) => wr(
|
|
1075
|
+
m,
|
|
1076
1076
|
(w) => {
|
|
1077
1077
|
l[b] = w, h &= ~(1 << b), u && f();
|
|
1078
1078
|
},
|
|
@@ -1086,47 +1086,47 @@ function ge(e, t, r) {
|
|
|
1086
1086
|
};
|
|
1087
1087
|
});
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function ii(e) {
|
|
1090
1090
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1091
1091
|
}
|
|
1092
|
-
var
|
|
1093
|
-
return
|
|
1092
|
+
var oi = function(t) {
|
|
1093
|
+
return ai(t) && !si(t);
|
|
1094
1094
|
};
|
|
1095
|
-
function
|
|
1095
|
+
function ai(e) {
|
|
1096
1096
|
return !!e && typeof e == "object";
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function si(e) {
|
|
1099
1099
|
var t = Object.prototype.toString.call(e);
|
|
1100
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1101
|
-
}
|
|
1102
|
-
var si = typeof Symbol == "function" && Symbol.for, ui = si ? Symbol.for("react.element") : 60103;
|
|
1103
|
-
function li(e) {
|
|
1104
|
-
return e.$$typeof === ui;
|
|
1100
|
+
return t === "[object RegExp]" || t === "[object Date]" || hi(e);
|
|
1105
1101
|
}
|
|
1102
|
+
var ui = typeof Symbol == "function" && Symbol.for, li = ui ? Symbol.for("react.element") : 60103;
|
|
1106
1103
|
function hi(e) {
|
|
1104
|
+
return e.$$typeof === li;
|
|
1105
|
+
}
|
|
1106
|
+
function ci(e) {
|
|
1107
1107
|
return Array.isArray(e) ? [] : {};
|
|
1108
1108
|
}
|
|
1109
1109
|
function Ee(e, t) {
|
|
1110
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? he(
|
|
1110
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? he(ci(e), e, t) : e;
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function fi(e, t, r) {
|
|
1113
1113
|
return e.concat(t).map(function(n) {
|
|
1114
1114
|
return Ee(n, r);
|
|
1115
1115
|
});
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function pi(e, t) {
|
|
1118
1118
|
if (!t.customMerge)
|
|
1119
1119
|
return he;
|
|
1120
1120
|
var r = t.customMerge(e);
|
|
1121
1121
|
return typeof r == "function" ? r : he;
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function di(e) {
|
|
1124
1124
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1125
1125
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1126
1126
|
}) : [];
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1129
|
-
return Object.keys(e).concat(
|
|
1128
|
+
function zt(e) {
|
|
1129
|
+
return Object.keys(e).concat(di(e));
|
|
1130
1130
|
}
|
|
1131
1131
|
function Br(e, t) {
|
|
1132
1132
|
try {
|
|
@@ -1135,19 +1135,19 @@ function Br(e, t) {
|
|
|
1135
1135
|
return !1;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function gi(e, t) {
|
|
1139
1139
|
return Br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1140
1140
|
}
|
|
1141
1141
|
function mi(e, t, r) {
|
|
1142
1142
|
var n = {};
|
|
1143
|
-
return r.isMergeableObject(e) &&
|
|
1143
|
+
return r.isMergeableObject(e) && zt(e).forEach(function(i) {
|
|
1144
1144
|
n[i] = Ee(e[i], r);
|
|
1145
|
-
}),
|
|
1146
|
-
|
|
1145
|
+
}), zt(t).forEach(function(i) {
|
|
1146
|
+
gi(e, i) || (Br(e, i) && r.isMergeableObject(t[i]) ? n[i] = pi(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
|
|
1147
1147
|
}), n;
|
|
1148
1148
|
}
|
|
1149
1149
|
function he(e, t, r) {
|
|
1150
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1150
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = Ee;
|
|
1151
1151
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1152
1152
|
return o ? n ? r.arrayMerge(e, t, r) : mi(e, t, r) : Ee(t, r);
|
|
1153
1153
|
}
|
|
@@ -1158,20 +1158,20 @@ he.all = function(t, r) {
|
|
|
1158
1158
|
return he(n, i, r);
|
|
1159
1159
|
}, {});
|
|
1160
1160
|
};
|
|
1161
|
-
var
|
|
1162
|
-
const
|
|
1163
|
-
var
|
|
1164
|
-
return
|
|
1161
|
+
var bi = he, vi = bi;
|
|
1162
|
+
const yi = /* @__PURE__ */ ii(vi);
|
|
1163
|
+
var ct = function(e, t) {
|
|
1164
|
+
return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1165
1165
|
r.__proto__ = n;
|
|
1166
1166
|
} || function(r, n) {
|
|
1167
1167
|
for (var i in n)
|
|
1168
1168
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1169
|
-
},
|
|
1169
|
+
}, ct(e, t);
|
|
1170
1170
|
};
|
|
1171
|
-
function
|
|
1171
|
+
function Ge(e, t) {
|
|
1172
1172
|
if (typeof t != "function" && t !== null)
|
|
1173
1173
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1174
|
-
|
|
1174
|
+
ct(e, t);
|
|
1175
1175
|
function r() {
|
|
1176
1176
|
this.constructor = e;
|
|
1177
1177
|
}
|
|
@@ -1187,7 +1187,7 @@ var z = function() {
|
|
|
1187
1187
|
return t;
|
|
1188
1188
|
}, z.apply(this, arguments);
|
|
1189
1189
|
};
|
|
1190
|
-
function
|
|
1190
|
+
function _i(e, t) {
|
|
1191
1191
|
var r = {};
|
|
1192
1192
|
for (var n in e)
|
|
1193
1193
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1196,43 +1196,43 @@ function yi(e, t) {
|
|
|
1196
1196
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1197
1197
|
return r;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Je(e, t, r) {
|
|
1200
1200
|
if (r || arguments.length === 2)
|
|
1201
1201
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1202
1202
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1203
1203
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1206
|
-
var r = t && t.cache ? t.cache :
|
|
1205
|
+
function Ke(e, t) {
|
|
1206
|
+
var r = t && t.cache ? t.cache : Oi, n = t && t.serializer ? t.serializer : Hi, i = t && t.strategy ? t.strategy : wi;
|
|
1207
1207
|
return i(e, {
|
|
1208
1208
|
cache: r,
|
|
1209
1209
|
serializer: n
|
|
1210
1210
|
});
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1212
|
+
function xi(e) {
|
|
1213
1213
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1216
|
-
var i =
|
|
1215
|
+
function Ei(e, t, r, n) {
|
|
1216
|
+
var i = xi(n) ? n : r(n), o = t.get(i);
|
|
1217
1217
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1219
|
+
function Ir(e, t, r) {
|
|
1220
1220
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1221
1221
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function Cr(e, t, r, n, i) {
|
|
1224
1224
|
return r.bind(t, e, n, i);
|
|
1225
1225
|
}
|
|
1226
|
-
function Ei(e, t) {
|
|
1227
|
-
var r = e.length === 1 ? xi : Lr;
|
|
1228
|
-
return Ir(e, this, r, t.cache.create(), t.serializer);
|
|
1229
|
-
}
|
|
1230
1226
|
function wi(e, t) {
|
|
1231
|
-
|
|
1227
|
+
var r = e.length === 1 ? Ei : Ir;
|
|
1228
|
+
return Cr(e, this, r, t.cache.create(), t.serializer);
|
|
1229
|
+
}
|
|
1230
|
+
function Si(e, t) {
|
|
1231
|
+
return Cr(e, this, Ir, t.cache.create(), t.serializer);
|
|
1232
1232
|
}
|
|
1233
|
-
var
|
|
1233
|
+
var Hi = function() {
|
|
1234
1234
|
return JSON.stringify(arguments);
|
|
1235
|
-
},
|
|
1235
|
+
}, Ti = (
|
|
1236
1236
|
/** @class */
|
|
1237
1237
|
function() {
|
|
1238
1238
|
function e() {
|
|
@@ -1244,71 +1244,71 @@ var Si = function() {
|
|
|
1244
1244
|
this.cache[t] = r;
|
|
1245
1245
|
}, e;
|
|
1246
1246
|
}()
|
|
1247
|
-
),
|
|
1247
|
+
), Oi = {
|
|
1248
1248
|
create: function() {
|
|
1249
|
-
return new
|
|
1249
|
+
return new Ti();
|
|
1250
1250
|
}
|
|
1251
|
-
},
|
|
1252
|
-
variadic:
|
|
1253
|
-
},
|
|
1254
|
-
return
|
|
1251
|
+
}, et = {
|
|
1252
|
+
variadic: Si
|
|
1253
|
+
}, Re = function() {
|
|
1254
|
+
return Re = Object.assign || function(t) {
|
|
1255
1255
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1256
1256
|
r = arguments[n];
|
|
1257
1257
|
for (var o in r)
|
|
1258
1258
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1259
1259
|
}
|
|
1260
1260
|
return t;
|
|
1261
|
-
},
|
|
1261
|
+
}, Re.apply(this, arguments);
|
|
1262
1262
|
};
|
|
1263
1263
|
var _;
|
|
1264
1264
|
(function(e) {
|
|
1265
1265
|
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";
|
|
1266
1266
|
})(_ || (_ = {}));
|
|
1267
|
-
var
|
|
1267
|
+
var O;
|
|
1268
1268
|
(function(e) {
|
|
1269
1269
|
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";
|
|
1270
|
-
})(
|
|
1270
|
+
})(O || (O = {}));
|
|
1271
1271
|
var ce;
|
|
1272
1272
|
(function(e) {
|
|
1273
1273
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1274
1274
|
})(ce || (ce = {}));
|
|
1275
|
-
function
|
|
1276
|
-
return e.type ===
|
|
1277
|
-
}
|
|
1278
|
-
function Oi(e) {
|
|
1279
|
-
return e.type === T.argument;
|
|
1275
|
+
function Zt(e) {
|
|
1276
|
+
return e.type === O.literal;
|
|
1280
1277
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return e.type ===
|
|
1278
|
+
function Ai(e) {
|
|
1279
|
+
return e.type === O.argument;
|
|
1283
1280
|
}
|
|
1284
1281
|
function Nr(e) {
|
|
1285
|
-
return e.type ===
|
|
1282
|
+
return e.type === O.number;
|
|
1286
1283
|
}
|
|
1287
1284
|
function Rr(e) {
|
|
1288
|
-
return e.type ===
|
|
1285
|
+
return e.type === O.date;
|
|
1289
1286
|
}
|
|
1290
1287
|
function Ur(e) {
|
|
1291
|
-
return e.type ===
|
|
1288
|
+
return e.type === O.time;
|
|
1292
1289
|
}
|
|
1293
1290
|
function Fr(e) {
|
|
1294
|
-
return e.type ===
|
|
1291
|
+
return e.type === O.select;
|
|
1295
1292
|
}
|
|
1296
|
-
function
|
|
1297
|
-
return e.type ===
|
|
1293
|
+
function kr(e) {
|
|
1294
|
+
return e.type === O.plural;
|
|
1295
|
+
}
|
|
1296
|
+
function Mi(e) {
|
|
1297
|
+
return e.type === O.pound;
|
|
1298
1298
|
}
|
|
1299
1299
|
function Dr(e) {
|
|
1300
|
-
return e.type ===
|
|
1300
|
+
return e.type === O.tag;
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1302
|
+
function Gr(e) {
|
|
1303
1303
|
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function ft(e) {
|
|
1306
1306
|
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
1307
1307
|
}
|
|
1308
|
-
var
|
|
1309
|
-
function
|
|
1308
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
|
|
1309
|
+
function Li(e) {
|
|
1310
1310
|
var t = {};
|
|
1311
|
-
return e.replace(
|
|
1311
|
+
return e.replace(Pi, function(r) {
|
|
1312
1312
|
var n = r.length;
|
|
1313
1313
|
switch (r[0]) {
|
|
1314
1314
|
case "G":
|
|
@@ -1408,7 +1408,7 @@ var M = function() {
|
|
|
1408
1408
|
}, M.apply(this, arguments);
|
|
1409
1409
|
};
|
|
1410
1410
|
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1411
|
-
function
|
|
1411
|
+
function Ii(e) {
|
|
1412
1412
|
if (e.length === 0)
|
|
1413
1413
|
throw new Error("Number skeleton cannot be empty");
|
|
1414
1414
|
for (var t = e.split(Bi).filter(function(f) {
|
|
@@ -1426,17 +1426,17 @@ function Li(e) {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
return r;
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function Ci(e) {
|
|
1430
1430
|
return e.replace(/^(.*?)-/, "");
|
|
1431
1431
|
}
|
|
1432
|
-
var
|
|
1433
|
-
function
|
|
1432
|
+
var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
|
|
1433
|
+
function Yt(e) {
|
|
1434
1434
|
var t = {};
|
|
1435
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1435
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, n, i) {
|
|
1436
1436
|
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)), "";
|
|
1437
1437
|
}), t;
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function Vr(e) {
|
|
1440
1440
|
switch (e) {
|
|
1441
1441
|
case "sign-auto":
|
|
1442
1442
|
return {
|
|
@@ -1476,7 +1476,7 @@ function Wr(e) {
|
|
|
1476
1476
|
};
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1479
|
+
function Ri(e) {
|
|
1480
1480
|
var t;
|
|
1481
1481
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1482
1482
|
notation: "engineering"
|
|
@@ -1484,17 +1484,17 @@ function Ni(e) {
|
|
|
1484
1484
|
notation: "scientific"
|
|
1485
1485
|
}, e = e.slice(1)), t) {
|
|
1486
1486
|
var r = e.slice(0, 2);
|
|
1487
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1487
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
|
|
1488
1488
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1489
1489
|
t.minimumIntegerDigits = e.length;
|
|
1490
1490
|
}
|
|
1491
1491
|
return t;
|
|
1492
1492
|
}
|
|
1493
|
-
function
|
|
1494
|
-
var t = {}, r =
|
|
1493
|
+
function qt(e) {
|
|
1494
|
+
var t = {}, r = Vr(e);
|
|
1495
1495
|
return r || t;
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1497
|
+
function Ui(e) {
|
|
1498
1498
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1499
1499
|
var i = n[r];
|
|
1500
1500
|
switch (i.stem) {
|
|
@@ -1518,7 +1518,7 @@ function Ri(e) {
|
|
|
1518
1518
|
continue;
|
|
1519
1519
|
case "measure-unit":
|
|
1520
1520
|
case "unit":
|
|
1521
|
-
t.style = "unit", t.unit =
|
|
1521
|
+
t.style = "unit", t.unit = Ci(i.options[0]);
|
|
1522
1522
|
continue;
|
|
1523
1523
|
case "compact-short":
|
|
1524
1524
|
case "K":
|
|
@@ -1530,12 +1530,12 @@ function Ri(e) {
|
|
|
1530
1530
|
continue;
|
|
1531
1531
|
case "scientific":
|
|
1532
1532
|
t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1533
|
-
return M(M({}, u),
|
|
1533
|
+
return M(M({}, u), qt(l));
|
|
1534
1534
|
}, {}));
|
|
1535
1535
|
continue;
|
|
1536
1536
|
case "engineering":
|
|
1537
1537
|
t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1538
|
-
return M(M({}, u),
|
|
1538
|
+
return M(M({}, u), qt(l));
|
|
1539
1539
|
}, {}));
|
|
1540
1540
|
continue;
|
|
1541
1541
|
case "notation-simple":
|
|
@@ -1580,7 +1580,7 @@ function Ri(e) {
|
|
|
1580
1580
|
case "integer-width":
|
|
1581
1581
|
if (i.options.length > 1)
|
|
1582
1582
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1583
|
-
i.options[0].replace(
|
|
1583
|
+
i.options[0].replace(Ni, function(u, l, h, c, f, d) {
|
|
1584
1584
|
if (l)
|
|
1585
1585
|
t.minimumIntegerDigits = h.length;
|
|
1586
1586
|
else {
|
|
@@ -1593,32 +1593,32 @@ function Ri(e) {
|
|
|
1593
1593
|
});
|
|
1594
1594
|
continue;
|
|
1595
1595
|
}
|
|
1596
|
-
if (
|
|
1596
|
+
if (Wr.test(i.stem)) {
|
|
1597
1597
|
t.minimumIntegerDigits = i.stem.length;
|
|
1598
1598
|
continue;
|
|
1599
1599
|
}
|
|
1600
|
-
if (
|
|
1600
|
+
if (Qt.test(i.stem)) {
|
|
1601
1601
|
if (i.options.length > 1)
|
|
1602
1602
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1603
|
-
i.stem.replace(
|
|
1603
|
+
i.stem.replace(Qt, function(u, l, h, c, f, d) {
|
|
1604
1604
|
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1605
1605
|
});
|
|
1606
1606
|
var o = i.options[0];
|
|
1607
|
-
o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t),
|
|
1607
|
+
o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Yt(o)));
|
|
1608
1608
|
continue;
|
|
1609
1609
|
}
|
|
1610
|
-
if (
|
|
1611
|
-
t = M(M({}, t),
|
|
1610
|
+
if (jr.test(i.stem)) {
|
|
1611
|
+
t = M(M({}, t), Yt(i.stem));
|
|
1612
1612
|
continue;
|
|
1613
1613
|
}
|
|
1614
|
-
var a =
|
|
1614
|
+
var a = Vr(i.stem);
|
|
1615
1615
|
a && (t = M(M({}, t), a));
|
|
1616
|
-
var s =
|
|
1616
|
+
var s = Ri(i.stem);
|
|
1617
1617
|
s && (t = M(M({}, t), s));
|
|
1618
1618
|
}
|
|
1619
1619
|
return t;
|
|
1620
1620
|
}
|
|
1621
|
-
var
|
|
1621
|
+
var Me = {
|
|
1622
1622
|
"001": [
|
|
1623
1623
|
"H",
|
|
1624
1624
|
"h"
|
|
@@ -3033,13 +3033,13 @@ var Pe = {
|
|
|
3033
3033
|
"h"
|
|
3034
3034
|
]
|
|
3035
3035
|
};
|
|
3036
|
-
function
|
|
3036
|
+
function Fi(e, t) {
|
|
3037
3037
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3038
3038
|
var i = e.charAt(n);
|
|
3039
3039
|
if (i === "j") {
|
|
3040
3040
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3041
3041
|
o++, n++;
|
|
3042
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3042
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ki(t);
|
|
3043
3043
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3044
3044
|
r += u;
|
|
3045
3045
|
for (; a-- > 0; )
|
|
@@ -3049,7 +3049,7 @@ function Ui(e, t) {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
return r;
|
|
3051
3051
|
}
|
|
3052
|
-
function
|
|
3052
|
+
function ki(e) {
|
|
3053
3053
|
var t = e.hourCycle;
|
|
3054
3054
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3055
3055
|
e.hourCycles && // @ts-ignore
|
|
@@ -3068,23 +3068,23 @@ function Fi(e) {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
var r = e.language, n;
|
|
3070
3070
|
r !== "root" && (n = e.maximize().region);
|
|
3071
|
-
var i =
|
|
3071
|
+
var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
|
|
3072
3072
|
return i[0];
|
|
3073
3073
|
}
|
|
3074
|
-
var
|
|
3074
|
+
var tt, Di = new RegExp("^".concat($r.source, "*")), Gi = new RegExp("".concat($r.source, "*$"));
|
|
3075
3075
|
function E(e, t) {
|
|
3076
3076
|
return { start: e, end: t };
|
|
3077
3077
|
}
|
|
3078
|
-
var
|
|
3078
|
+
var $i = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, Wi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Xi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Zi = !!Number.isSafeInteger, Qi = Zi ? Number.isSafeInteger : function(e) {
|
|
3079
3079
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3080
|
-
},
|
|
3080
|
+
}, pt = !0;
|
|
3081
3081
|
try {
|
|
3082
|
-
var
|
|
3083
|
-
|
|
3082
|
+
var Yi = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3083
|
+
pt = ((tt = Yi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
|
|
3084
3084
|
} catch (e) {
|
|
3085
|
-
|
|
3085
|
+
pt = !1;
|
|
3086
3086
|
}
|
|
3087
|
-
var
|
|
3087
|
+
var Jt = $i ? (
|
|
3088
3088
|
// Native
|
|
3089
3089
|
function(t, r, n) {
|
|
3090
3090
|
return t.startsWith(r, n);
|
|
@@ -3094,7 +3094,7 @@ var qt = Gi ? (
|
|
|
3094
3094
|
function(t, r, n) {
|
|
3095
3095
|
return t.slice(n, n + r.length) === r;
|
|
3096
3096
|
}
|
|
3097
|
-
),
|
|
3097
|
+
), dt = ji ? String.fromCodePoint : (
|
|
3098
3098
|
// IE11
|
|
3099
3099
|
function() {
|
|
3100
3100
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3106,9 +3106,9 @@ var qt = Gi ? (
|
|
|
3106
3106
|
}
|
|
3107
3107
|
return n;
|
|
3108
3108
|
}
|
|
3109
|
-
),
|
|
3109
|
+
), Kt = (
|
|
3110
3110
|
// native
|
|
3111
|
-
|
|
3111
|
+
Wi ? Object.fromEntries : (
|
|
3112
3112
|
// Ponyfill
|
|
3113
3113
|
function(t) {
|
|
3114
3114
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3118,7 +3118,7 @@ var qt = Gi ? (
|
|
|
3118
3118
|
return r;
|
|
3119
3119
|
}
|
|
3120
3120
|
)
|
|
3121
|
-
),
|
|
3121
|
+
), Xr = Vi ? (
|
|
3122
3122
|
// Native
|
|
3123
3123
|
function(t, r) {
|
|
3124
3124
|
return t.codePointAt(r);
|
|
@@ -3132,7 +3132,7 @@ var qt = Gi ? (
|
|
|
3132
3132
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3133
3133
|
}
|
|
3134
3134
|
}
|
|
3135
|
-
),
|
|
3135
|
+
), qi = Xi ? (
|
|
3136
3136
|
// Native
|
|
3137
3137
|
function(t) {
|
|
3138
3138
|
return t.trimStart();
|
|
@@ -3142,7 +3142,7 @@ var qt = Gi ? (
|
|
|
3142
3142
|
function(t) {
|
|
3143
3143
|
return t.replace(Di, "");
|
|
3144
3144
|
}
|
|
3145
|
-
),
|
|
3145
|
+
), Ji = zi ? (
|
|
3146
3146
|
// Native
|
|
3147
3147
|
function(t) {
|
|
3148
3148
|
return t.trimEnd();
|
|
@@ -3150,32 +3150,32 @@ var qt = Gi ? (
|
|
|
3150
3150
|
) : (
|
|
3151
3151
|
// Ponyfill
|
|
3152
3152
|
function(t) {
|
|
3153
|
-
return t.replace(
|
|
3153
|
+
return t.replace(Gi, "");
|
|
3154
3154
|
}
|
|
3155
3155
|
);
|
|
3156
|
-
function
|
|
3156
|
+
function zr(e, t) {
|
|
3157
3157
|
return new RegExp(e, t);
|
|
3158
3158
|
}
|
|
3159
|
-
var
|
|
3160
|
-
if (
|
|
3161
|
-
var
|
|
3162
|
-
|
|
3159
|
+
var gt;
|
|
3160
|
+
if (pt) {
|
|
3161
|
+
var er = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3162
|
+
gt = function(t, r) {
|
|
3163
3163
|
var n;
|
|
3164
|
-
|
|
3165
|
-
var i =
|
|
3164
|
+
er.lastIndex = r;
|
|
3165
|
+
var i = er.exec(t);
|
|
3166
3166
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3167
3167
|
};
|
|
3168
3168
|
} else
|
|
3169
|
-
|
|
3169
|
+
gt = function(t, r) {
|
|
3170
3170
|
for (var n = []; ; ) {
|
|
3171
|
-
var i =
|
|
3172
|
-
if (i === void 0 ||
|
|
3171
|
+
var i = Xr(t, r);
|
|
3172
|
+
if (i === void 0 || Zr(i) || ro(i))
|
|
3173
3173
|
break;
|
|
3174
3174
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3175
3175
|
}
|
|
3176
|
-
return
|
|
3176
|
+
return dt.apply(void 0, n);
|
|
3177
3177
|
};
|
|
3178
|
-
var
|
|
3178
|
+
var Ki = (
|
|
3179
3179
|
/** @class */
|
|
3180
3180
|
function() {
|
|
3181
3181
|
function e(t, r) {
|
|
@@ -3199,7 +3199,7 @@ var Ji = (
|
|
|
3199
3199
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3200
3200
|
var s = this.clonePosition();
|
|
3201
3201
|
this.bump(), i.push({
|
|
3202
|
-
type:
|
|
3202
|
+
type: O.pound,
|
|
3203
3203
|
location: E(s, this.clonePosition())
|
|
3204
3204
|
});
|
|
3205
3205
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -3227,7 +3227,7 @@ var Ji = (
|
|
|
3227
3227
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3228
3228
|
return {
|
|
3229
3229
|
val: {
|
|
3230
|
-
type:
|
|
3230
|
+
type: O.literal,
|
|
3231
3231
|
value: "<".concat(i, "/>"),
|
|
3232
3232
|
location: E(n, this.clonePosition())
|
|
3233
3233
|
},
|
|
@@ -3244,7 +3244,7 @@ var Ji = (
|
|
|
3244
3244
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3245
3245
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3246
3246
|
val: {
|
|
3247
|
-
type:
|
|
3247
|
+
type: O.tag,
|
|
3248
3248
|
value: i,
|
|
3249
3249
|
children: a,
|
|
3250
3250
|
location: E(n, this.clonePosition())
|
|
@@ -3257,7 +3257,7 @@ var Ji = (
|
|
|
3257
3257
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3258
3258
|
}, e.prototype.parseTagName = function() {
|
|
3259
3259
|
var t = this.offset();
|
|
3260
|
-
for (this.bump(); !this.isEOF() &&
|
|
3260
|
+
for (this.bump(); !this.isEOF() && to(this.char()); )
|
|
3261
3261
|
this.bump();
|
|
3262
3262
|
return this.message.slice(t, this.offset());
|
|
3263
3263
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3281,12 +3281,12 @@ var Ji = (
|
|
|
3281
3281
|
}
|
|
3282
3282
|
var u = E(n, this.clonePosition());
|
|
3283
3283
|
return {
|
|
3284
|
-
val: { type:
|
|
3284
|
+
val: { type: O.literal, value: i, location: u },
|
|
3285
3285
|
err: null
|
|
3286
3286
|
};
|
|
3287
3287
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3288
3288
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3289
|
-
!
|
|
3289
|
+
!eo(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3290
3290
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3291
3291
|
if (this.isEOF() || this.char() !== 39)
|
|
3292
3292
|
return null;
|
|
@@ -3320,12 +3320,12 @@ var Ji = (
|
|
|
3320
3320
|
r.push(n);
|
|
3321
3321
|
this.bump();
|
|
3322
3322
|
}
|
|
3323
|
-
return
|
|
3323
|
+
return dt.apply(void 0, r);
|
|
3324
3324
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3325
3325
|
if (this.isEOF())
|
|
3326
3326
|
return null;
|
|
3327
3327
|
var n = this.char();
|
|
3328
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3328
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
|
|
3329
3329
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3330
3330
|
var n = this.clonePosition();
|
|
3331
3331
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3341,7 +3341,7 @@ var Ji = (
|
|
|
3341
3341
|
case 125:
|
|
3342
3342
|
return this.bump(), {
|
|
3343
3343
|
val: {
|
|
3344
|
-
type:
|
|
3344
|
+
type: O.argument,
|
|
3345
3345
|
// value does not include the opening and closing braces.
|
|
3346
3346
|
value: i,
|
|
3347
3347
|
location: E(n, this.clonePosition())
|
|
@@ -3354,7 +3354,7 @@ var Ji = (
|
|
|
3354
3354
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3355
3355
|
}
|
|
3356
3356
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3357
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3357
|
+
var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
|
|
3358
3358
|
this.bumpTo(i);
|
|
3359
3359
|
var o = this.clonePosition(), a = E(t, o);
|
|
3360
3360
|
return { value: n, location: a };
|
|
@@ -3373,44 +3373,44 @@ var Ji = (
|
|
|
3373
3373
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3374
3374
|
if (c.err)
|
|
3375
3375
|
return c;
|
|
3376
|
-
var f =
|
|
3376
|
+
var f = Ji(c.val);
|
|
3377
3377
|
if (f.length === 0)
|
|
3378
3378
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3379
3379
|
var d = E(h, this.clonePosition());
|
|
3380
3380
|
l = { style: f, styleLocation: d };
|
|
3381
3381
|
}
|
|
3382
|
-
var
|
|
3383
|
-
if (
|
|
3384
|
-
return
|
|
3382
|
+
var m = this.tryParseArgumentClose(i);
|
|
3383
|
+
if (m.err)
|
|
3384
|
+
return m;
|
|
3385
3385
|
var b = E(i, this.clonePosition());
|
|
3386
|
-
if (l &&
|
|
3387
|
-
var w =
|
|
3386
|
+
if (l && Jt(l == null ? void 0 : l.style, "::", 0)) {
|
|
3387
|
+
var w = qi(l.style.slice(2));
|
|
3388
3388
|
if (s === "number") {
|
|
3389
3389
|
var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
|
|
3390
3390
|
return c.err ? c : {
|
|
3391
|
-
val: { type:
|
|
3391
|
+
val: { type: O.number, value: n, location: b, style: c.val },
|
|
3392
3392
|
err: null
|
|
3393
3393
|
};
|
|
3394
3394
|
} else {
|
|
3395
3395
|
if (w.length === 0)
|
|
3396
3396
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3397
|
-
var
|
|
3398
|
-
this.locale && (
|
|
3397
|
+
var T = w;
|
|
3398
|
+
this.locale && (T = Fi(w, this.locale));
|
|
3399
3399
|
var f = {
|
|
3400
3400
|
type: ce.dateTime,
|
|
3401
|
-
pattern:
|
|
3401
|
+
pattern: T,
|
|
3402
3402
|
location: l.styleLocation,
|
|
3403
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3404
|
-
},
|
|
3403
|
+
parsedOptions: this.shouldParseSkeletons ? Li(T) : {}
|
|
3404
|
+
}, B = s === "date" ? O.date : O.time;
|
|
3405
3405
|
return {
|
|
3406
|
-
val: { type:
|
|
3406
|
+
val: { type: B, value: n, location: b, style: f },
|
|
3407
3407
|
err: null
|
|
3408
3408
|
};
|
|
3409
3409
|
}
|
|
3410
3410
|
}
|
|
3411
3411
|
return {
|
|
3412
3412
|
val: {
|
|
3413
|
-
type: s === "number" ?
|
|
3413
|
+
type: s === "number" ? O.number : s === "date" ? O.date : O.time,
|
|
3414
3414
|
value: n,
|
|
3415
3415
|
location: b,
|
|
3416
3416
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
@@ -3423,7 +3423,7 @@ var Ji = (
|
|
|
3423
3423
|
case "select": {
|
|
3424
3424
|
var P = this.clonePosition();
|
|
3425
3425
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3426
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P,
|
|
3426
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Re({}, P)));
|
|
3427
3427
|
this.bumpSpace();
|
|
3428
3428
|
var G = this.parseIdentifierIfPossible(), C = 0;
|
|
3429
3429
|
if (s !== "select" && G.value === "offset") {
|
|
@@ -3438,23 +3438,23 @@ var Ji = (
|
|
|
3438
3438
|
var X = this.tryParsePluralOrSelectOptions(t, s, r, G);
|
|
3439
3439
|
if (X.err)
|
|
3440
3440
|
return X;
|
|
3441
|
-
var
|
|
3442
|
-
if (
|
|
3443
|
-
return
|
|
3441
|
+
var m = this.tryParseArgumentClose(i);
|
|
3442
|
+
if (m.err)
|
|
3443
|
+
return m;
|
|
3444
3444
|
var Z = E(i, this.clonePosition());
|
|
3445
3445
|
return s === "select" ? {
|
|
3446
3446
|
val: {
|
|
3447
|
-
type:
|
|
3447
|
+
type: O.select,
|
|
3448
3448
|
value: n,
|
|
3449
|
-
options:
|
|
3449
|
+
options: Kt(X.val),
|
|
3450
3450
|
location: Z
|
|
3451
3451
|
},
|
|
3452
3452
|
err: null
|
|
3453
3453
|
} : {
|
|
3454
3454
|
val: {
|
|
3455
|
-
type:
|
|
3455
|
+
type: O.plural,
|
|
3456
3456
|
value: n,
|
|
3457
|
-
options:
|
|
3457
|
+
options: Kt(X.val),
|
|
3458
3458
|
offset: C,
|
|
3459
3459
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3460
3460
|
location: Z
|
|
@@ -3505,7 +3505,7 @@ var Ji = (
|
|
|
3505
3505
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3506
3506
|
var n = [];
|
|
3507
3507
|
try {
|
|
3508
|
-
n =
|
|
3508
|
+
n = Ii(t);
|
|
3509
3509
|
} catch (i) {
|
|
3510
3510
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3511
3511
|
}
|
|
@@ -3514,7 +3514,7 @@ var Ji = (
|
|
|
3514
3514
|
type: ce.number,
|
|
3515
3515
|
tokens: n,
|
|
3516
3516
|
location: r,
|
|
3517
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3517
|
+
parsedOptions: this.shouldParseSkeletons ? Ui(n) : {}
|
|
3518
3518
|
},
|
|
3519
3519
|
err: null
|
|
3520
3520
|
};
|
|
@@ -3536,16 +3536,16 @@ var Ji = (
|
|
|
3536
3536
|
var d = this.clonePosition();
|
|
3537
3537
|
if (!this.bumpIf("{"))
|
|
3538
3538
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3539
|
-
var
|
|
3540
|
-
if (
|
|
3541
|
-
return
|
|
3539
|
+
var m = this.parseMessage(t + 1, r, n);
|
|
3540
|
+
if (m.err)
|
|
3541
|
+
return m;
|
|
3542
3542
|
var b = this.tryParseArgumentClose(d);
|
|
3543
3543
|
if (b.err)
|
|
3544
3544
|
return b;
|
|
3545
3545
|
s.push([
|
|
3546
3546
|
l,
|
|
3547
3547
|
{
|
|
3548
|
-
value:
|
|
3548
|
+
value: m.val,
|
|
3549
3549
|
location: E(d, this.clonePosition())
|
|
3550
3550
|
}
|
|
3551
3551
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
@@ -3562,7 +3562,7 @@ var Ji = (
|
|
|
3562
3562
|
break;
|
|
3563
3563
|
}
|
|
3564
3564
|
var u = E(i, this.clonePosition());
|
|
3565
|
-
return o ? (a *= n,
|
|
3565
|
+
return o ? (a *= n, Qi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3566
3566
|
}, e.prototype.offset = function() {
|
|
3567
3567
|
return this.position.offset;
|
|
3568
3568
|
}, e.prototype.isEOF = function() {
|
|
@@ -3577,7 +3577,7 @@ var Ji = (
|
|
|
3577
3577
|
var t = this.position.offset;
|
|
3578
3578
|
if (t >= this.message.length)
|
|
3579
3579
|
throw Error("out of bound");
|
|
3580
|
-
var r =
|
|
3580
|
+
var r = Xr(this.message, t);
|
|
3581
3581
|
if (r === void 0)
|
|
3582
3582
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3583
3583
|
return r;
|
|
@@ -3596,7 +3596,7 @@ var Ji = (
|
|
|
3596
3596
|
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);
|
|
3597
3597
|
}
|
|
3598
3598
|
}, e.prototype.bumpIf = function(t) {
|
|
3599
|
-
if (
|
|
3599
|
+
if (Jt(this.message, t, this.offset())) {
|
|
3600
3600
|
for (var r = 0; r < t.length; r++)
|
|
3601
3601
|
this.bump();
|
|
3602
3602
|
return !0;
|
|
@@ -3618,7 +3618,7 @@ var Ji = (
|
|
|
3618
3618
|
break;
|
|
3619
3619
|
}
|
|
3620
3620
|
}, e.prototype.bumpSpace = function() {
|
|
3621
|
-
for (; !this.isEOF() &&
|
|
3621
|
+
for (; !this.isEOF() && Zr(this.char()); )
|
|
3622
3622
|
this.bump();
|
|
3623
3623
|
}, e.prototype.peek = function() {
|
|
3624
3624
|
if (this.isEOF())
|
|
@@ -3631,44 +3631,44 @@ var Ji = (
|
|
|
3631
3631
|
function mt(e) {
|
|
3632
3632
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3633
3633
|
}
|
|
3634
|
-
function
|
|
3634
|
+
function eo(e) {
|
|
3635
3635
|
return mt(e) || e === 47;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3637
|
+
function to(e) {
|
|
3638
3638
|
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;
|
|
3639
3639
|
}
|
|
3640
|
-
function
|
|
3640
|
+
function Zr(e) {
|
|
3641
3641
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3642
3642
|
}
|
|
3643
|
-
function
|
|
3643
|
+
function ro(e) {
|
|
3644
3644
|
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;
|
|
3645
3645
|
}
|
|
3646
|
-
function
|
|
3646
|
+
function bt(e) {
|
|
3647
3647
|
e.forEach(function(t) {
|
|
3648
|
-
if (delete t.location,
|
|
3648
|
+
if (delete t.location, Fr(t) || kr(t))
|
|
3649
3649
|
for (var r in t.options)
|
|
3650
|
-
delete t.options[r].location,
|
|
3650
|
+
delete t.options[r].location, bt(t.options[r].value);
|
|
3651
3651
|
else
|
|
3652
|
-
|
|
3652
|
+
Nr(t) && Gr(t.style) || (Rr(t) || Ur(t)) && ft(t.style) ? delete t.style.location : Dr(t) && bt(t.children);
|
|
3653
3653
|
});
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3656
|
-
t === void 0 && (t = {}), t =
|
|
3657
|
-
var r = new
|
|
3655
|
+
function no(e, t) {
|
|
3656
|
+
t === void 0 && (t = {}), t = Re({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3657
|
+
var r = new Ki(e, t).parse();
|
|
3658
3658
|
if (r.err) {
|
|
3659
3659
|
var n = SyntaxError(_[r.err.kind]);
|
|
3660
3660
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3661
3661
|
}
|
|
3662
|
-
return t != null && t.captureLocation ||
|
|
3662
|
+
return t != null && t.captureLocation || bt(r.val), r.val;
|
|
3663
3663
|
}
|
|
3664
3664
|
var fe;
|
|
3665
3665
|
(function(e) {
|
|
3666
3666
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3667
3667
|
})(fe || (fe = {}));
|
|
3668
|
-
var
|
|
3668
|
+
var $e = (
|
|
3669
3669
|
/** @class */
|
|
3670
3670
|
function(e) {
|
|
3671
|
-
|
|
3671
|
+
Ge(t, e);
|
|
3672
3672
|
function t(r, n, i) {
|
|
3673
3673
|
var o = e.call(this, r) || this;
|
|
3674
3674
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3677,155 +3677,155 @@ var je = (
|
|
|
3677
3677
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3678
3678
|
}, t;
|
|
3679
3679
|
}(Error)
|
|
3680
|
-
),
|
|
3680
|
+
), tr = (
|
|
3681
3681
|
/** @class */
|
|
3682
3682
|
function(e) {
|
|
3683
|
-
|
|
3683
|
+
Ge(t, e);
|
|
3684
3684
|
function t(r, n, i, o) {
|
|
3685
3685
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
|
|
3686
3686
|
}
|
|
3687
3687
|
return t;
|
|
3688
|
-
}(
|
|
3689
|
-
),
|
|
3688
|
+
}($e)
|
|
3689
|
+
), io = (
|
|
3690
3690
|
/** @class */
|
|
3691
3691
|
function(e) {
|
|
3692
|
-
|
|
3692
|
+
Ge(t, e);
|
|
3693
3693
|
function t(r, n, i) {
|
|
3694
3694
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
|
|
3695
3695
|
}
|
|
3696
3696
|
return t;
|
|
3697
|
-
}(
|
|
3698
|
-
),
|
|
3697
|
+
}($e)
|
|
3698
|
+
), oo = (
|
|
3699
3699
|
/** @class */
|
|
3700
3700
|
function(e) {
|
|
3701
|
-
|
|
3701
|
+
Ge(t, e);
|
|
3702
3702
|
function t(r, n) {
|
|
3703
3703
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
|
|
3704
3704
|
}
|
|
3705
3705
|
return t;
|
|
3706
|
-
}(
|
|
3707
|
-
),
|
|
3706
|
+
}($e)
|
|
3707
|
+
), D;
|
|
3708
3708
|
(function(e) {
|
|
3709
3709
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3710
|
-
})(
|
|
3711
|
-
function
|
|
3710
|
+
})(D || (D = {}));
|
|
3711
|
+
function ao(e) {
|
|
3712
3712
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3713
3713
|
var n = t[t.length - 1];
|
|
3714
|
-
return !n || n.type !==
|
|
3714
|
+
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
3715
3715
|
}, []);
|
|
3716
3716
|
}
|
|
3717
|
-
function
|
|
3717
|
+
function so(e) {
|
|
3718
3718
|
return typeof e == "function";
|
|
3719
3719
|
}
|
|
3720
|
-
function
|
|
3721
|
-
if (e.length === 1 &&
|
|
3720
|
+
function Be(e, t, r, n, i, o, a) {
|
|
3721
|
+
if (e.length === 1 && Zt(e[0]))
|
|
3722
3722
|
return [
|
|
3723
3723
|
{
|
|
3724
|
-
type:
|
|
3724
|
+
type: D.literal,
|
|
3725
3725
|
value: e[0].value
|
|
3726
3726
|
}
|
|
3727
3727
|
];
|
|
3728
3728
|
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3729
3729
|
var h = l[u];
|
|
3730
|
-
if (
|
|
3730
|
+
if (Zt(h)) {
|
|
3731
3731
|
s.push({
|
|
3732
|
-
type:
|
|
3732
|
+
type: D.literal,
|
|
3733
3733
|
value: h.value
|
|
3734
3734
|
});
|
|
3735
3735
|
continue;
|
|
3736
3736
|
}
|
|
3737
|
-
if (
|
|
3737
|
+
if (Mi(h)) {
|
|
3738
3738
|
typeof o == "number" && s.push({
|
|
3739
|
-
type:
|
|
3739
|
+
type: D.literal,
|
|
3740
3740
|
value: r.getNumberFormat(t).format(o)
|
|
3741
3741
|
});
|
|
3742
3742
|
continue;
|
|
3743
3743
|
}
|
|
3744
3744
|
var c = h.value;
|
|
3745
3745
|
if (!(i && c in i))
|
|
3746
|
-
throw new
|
|
3746
|
+
throw new oo(c, a);
|
|
3747
3747
|
var f = i[c];
|
|
3748
|
-
if (
|
|
3748
|
+
if (Ai(h)) {
|
|
3749
3749
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3750
|
-
type: typeof f == "string" ?
|
|
3750
|
+
type: typeof f == "string" ? D.literal : D.object,
|
|
3751
3751
|
value: f
|
|
3752
3752
|
});
|
|
3753
3753
|
continue;
|
|
3754
3754
|
}
|
|
3755
|
-
if (
|
|
3756
|
-
var d = typeof h.style == "string" ? n.date[h.style] :
|
|
3755
|
+
if (Rr(h)) {
|
|
3756
|
+
var d = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
|
|
3757
3757
|
s.push({
|
|
3758
|
-
type:
|
|
3758
|
+
type: D.literal,
|
|
3759
3759
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3760
3760
|
});
|
|
3761
3761
|
continue;
|
|
3762
3762
|
}
|
|
3763
|
-
if (
|
|
3764
|
-
var d = typeof h.style == "string" ? n.time[h.style] :
|
|
3763
|
+
if (Ur(h)) {
|
|
3764
|
+
var d = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3765
3765
|
s.push({
|
|
3766
|
-
type:
|
|
3766
|
+
type: D.literal,
|
|
3767
3767
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3768
3768
|
});
|
|
3769
3769
|
continue;
|
|
3770
3770
|
}
|
|
3771
|
-
if (
|
|
3772
|
-
var d = typeof h.style == "string" ? n.number[h.style] :
|
|
3771
|
+
if (Nr(h)) {
|
|
3772
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Gr(h.style) ? h.style.parsedOptions : void 0;
|
|
3773
3773
|
d && d.scale && (f = f * (d.scale || 1)), s.push({
|
|
3774
|
-
type:
|
|
3774
|
+
type: D.literal,
|
|
3775
3775
|
value: r.getNumberFormat(t, d).format(f)
|
|
3776
3776
|
});
|
|
3777
3777
|
continue;
|
|
3778
3778
|
}
|
|
3779
3779
|
if (Dr(h)) {
|
|
3780
|
-
var
|
|
3781
|
-
if (!
|
|
3782
|
-
throw new
|
|
3783
|
-
var
|
|
3780
|
+
var m = h.children, b = h.value, w = i[b];
|
|
3781
|
+
if (!so(w))
|
|
3782
|
+
throw new io(b, "function", a);
|
|
3783
|
+
var T = Be(m, t, r, n, i, o), B = w(T.map(function(C) {
|
|
3784
3784
|
return C.value;
|
|
3785
3785
|
}));
|
|
3786
|
-
Array.isArray(
|
|
3786
|
+
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
|
|
3787
3787
|
return {
|
|
3788
|
-
type: typeof C == "string" ?
|
|
3788
|
+
type: typeof C == "string" ? D.literal : D.object,
|
|
3789
3789
|
value: C
|
|
3790
3790
|
};
|
|
3791
3791
|
}));
|
|
3792
3792
|
}
|
|
3793
|
-
if (
|
|
3793
|
+
if (Fr(h)) {
|
|
3794
3794
|
var P = h.options[f] || h.options.other;
|
|
3795
3795
|
if (!P)
|
|
3796
|
-
throw new
|
|
3797
|
-
s.push.apply(s,
|
|
3796
|
+
throw new tr(h.value, f, Object.keys(h.options), a);
|
|
3797
|
+
s.push.apply(s, Be(P.value, t, r, n, i));
|
|
3798
3798
|
continue;
|
|
3799
3799
|
}
|
|
3800
|
-
if (
|
|
3800
|
+
if (kr(h)) {
|
|
3801
3801
|
var P = h.options["=".concat(f)];
|
|
3802
3802
|
if (!P) {
|
|
3803
3803
|
if (!Intl.PluralRules)
|
|
3804
|
-
throw new
|
|
3804
|
+
throw new $e(`Intl.PluralRules is not available in this environment.
|
|
3805
3805
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3806
3806
|
`, fe.MISSING_INTL_API, a);
|
|
3807
3807
|
var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3808
3808
|
P = h.options[G] || h.options.other;
|
|
3809
3809
|
}
|
|
3810
3810
|
if (!P)
|
|
3811
|
-
throw new
|
|
3812
|
-
s.push.apply(s,
|
|
3811
|
+
throw new tr(h.value, f, Object.keys(h.options), a);
|
|
3812
|
+
s.push.apply(s, Be(P.value, t, r, n, i, f - (h.offset || 0)));
|
|
3813
3813
|
continue;
|
|
3814
3814
|
}
|
|
3815
3815
|
}
|
|
3816
|
-
return
|
|
3816
|
+
return ao(s);
|
|
3817
3817
|
}
|
|
3818
|
-
function
|
|
3818
|
+
function uo(e, t) {
|
|
3819
3819
|
return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3820
3820
|
return r[n] = z(z({}, e[n]), t[n] || {}), r;
|
|
3821
3821
|
}, {})) : e;
|
|
3822
3822
|
}
|
|
3823
|
-
function
|
|
3823
|
+
function lo(e, t) {
|
|
3824
3824
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3825
|
-
return r[n] =
|
|
3825
|
+
return r[n] = uo(e[n], t[n]), r;
|
|
3826
3826
|
}, z({}, e)) : e;
|
|
3827
3827
|
}
|
|
3828
|
-
function
|
|
3828
|
+
function rt(e) {
|
|
3829
3829
|
return {
|
|
3830
3830
|
create: function() {
|
|
3831
3831
|
return {
|
|
@@ -3839,39 +3839,39 @@ function tt(e) {
|
|
|
3839
3839
|
}
|
|
3840
3840
|
};
|
|
3841
3841
|
}
|
|
3842
|
-
function
|
|
3842
|
+
function ho(e) {
|
|
3843
3843
|
return e === void 0 && (e = {
|
|
3844
3844
|
number: {},
|
|
3845
3845
|
dateTime: {},
|
|
3846
3846
|
pluralRules: {}
|
|
3847
3847
|
}), {
|
|
3848
|
-
getNumberFormat:
|
|
3848
|
+
getNumberFormat: Ke(function() {
|
|
3849
3849
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3850
3850
|
r[n] = arguments[n];
|
|
3851
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3851
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
|
|
3852
3852
|
}, {
|
|
3853
|
-
cache:
|
|
3854
|
-
strategy:
|
|
3853
|
+
cache: rt(e.number),
|
|
3854
|
+
strategy: et.variadic
|
|
3855
3855
|
}),
|
|
3856
|
-
getDateTimeFormat:
|
|
3856
|
+
getDateTimeFormat: Ke(function() {
|
|
3857
3857
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3858
3858
|
r[n] = arguments[n];
|
|
3859
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3859
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
|
|
3860
3860
|
}, {
|
|
3861
|
-
cache:
|
|
3862
|
-
strategy:
|
|
3861
|
+
cache: rt(e.dateTime),
|
|
3862
|
+
strategy: et.variadic
|
|
3863
3863
|
}),
|
|
3864
|
-
getPluralRules:
|
|
3864
|
+
getPluralRules: Ke(function() {
|
|
3865
3865
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3866
3866
|
r[n] = arguments[n];
|
|
3867
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3867
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
|
|
3868
3868
|
}, {
|
|
3869
|
-
cache:
|
|
3870
|
-
strategy:
|
|
3869
|
+
cache: rt(e.pluralRules),
|
|
3870
|
+
strategy: et.variadic
|
|
3871
3871
|
})
|
|
3872
3872
|
};
|
|
3873
3873
|
}
|
|
3874
|
-
var
|
|
3874
|
+
var co = (
|
|
3875
3875
|
/** @class */
|
|
3876
3876
|
function() {
|
|
3877
3877
|
function e(t, r, n, i) {
|
|
@@ -3886,11 +3886,11 @@ var ho = (
|
|
|
3886
3886
|
if (l.length === 1)
|
|
3887
3887
|
return l[0].value;
|
|
3888
3888
|
var h = l.reduce(function(c, f) {
|
|
3889
|
-
return !c.length || f.type !==
|
|
3889
|
+
return !c.length || f.type !== D.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3890
3890
|
}, []);
|
|
3891
3891
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3892
3892
|
}, this.formatToParts = function(u) {
|
|
3893
|
-
return
|
|
3893
|
+
return Be(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3894
3894
|
}, this.resolvedOptions = function() {
|
|
3895
3895
|
var u;
|
|
3896
3896
|
return {
|
|
@@ -3903,13 +3903,13 @@ var ho = (
|
|
|
3903
3903
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3904
3904
|
var a = i || {};
|
|
3905
3905
|
a.formatters;
|
|
3906
|
-
var s =
|
|
3906
|
+
var s = _i(a, ["formatters"]);
|
|
3907
3907
|
this.ast = e.__parse(t, z(z({}, s), { locale: this.resolvedLocale }));
|
|
3908
3908
|
} else
|
|
3909
3909
|
this.ast = t;
|
|
3910
3910
|
if (!Array.isArray(this.ast))
|
|
3911
3911
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3912
|
-
this.formats =
|
|
3912
|
+
this.formats = lo(e.formats, n), this.formatters = i && i.formatters || ho(this.formatterCache);
|
|
3913
3913
|
}
|
|
3914
3914
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3915
3915
|
get: function() {
|
|
@@ -3922,7 +3922,7 @@ var ho = (
|
|
|
3922
3922
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3923
3923
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3924
3924
|
}
|
|
3925
|
-
}, e.__parse =
|
|
3925
|
+
}, e.__parse = no, e.formats = {
|
|
3926
3926
|
number: {
|
|
3927
3927
|
integer: {
|
|
3928
3928
|
maximumFractionDigits: 0
|
|
@@ -3983,7 +3983,7 @@ var ho = (
|
|
|
3983
3983
|
}, e;
|
|
3984
3984
|
}()
|
|
3985
3985
|
);
|
|
3986
|
-
function
|
|
3986
|
+
function fo(e, t) {
|
|
3987
3987
|
if (t == null)
|
|
3988
3988
|
return;
|
|
3989
3989
|
if (t in e)
|
|
@@ -4004,92 +4004,92 @@ function co(e, t) {
|
|
|
4004
4004
|
n = void 0;
|
|
4005
4005
|
return n;
|
|
4006
4006
|
}
|
|
4007
|
-
const K = {},
|
|
4007
|
+
const K = {}, po = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Qr = (e, t) => {
|
|
4008
4008
|
if (t == null)
|
|
4009
4009
|
return;
|
|
4010
4010
|
if (t in K && e in K[t])
|
|
4011
4011
|
return K[t][e];
|
|
4012
|
-
const r =
|
|
4012
|
+
const r = je(t);
|
|
4013
4013
|
for (let n = 0; n < r.length; n++) {
|
|
4014
4014
|
const i = r[n], o = mo(i, e);
|
|
4015
4015
|
if (o)
|
|
4016
|
-
return
|
|
4016
|
+
return po(e, t, o);
|
|
4017
4017
|
}
|
|
4018
4018
|
};
|
|
4019
|
-
let
|
|
4020
|
-
const Te =
|
|
4021
|
-
function
|
|
4022
|
-
return
|
|
4019
|
+
let xt;
|
|
4020
|
+
const Te = De({});
|
|
4021
|
+
function go(e) {
|
|
4022
|
+
return xt[e] || null;
|
|
4023
4023
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return e in
|
|
4024
|
+
function Yr(e) {
|
|
4025
|
+
return e in xt;
|
|
4026
4026
|
}
|
|
4027
4027
|
function mo(e, t) {
|
|
4028
|
-
if (!
|
|
4028
|
+
if (!Yr(e))
|
|
4029
4029
|
return null;
|
|
4030
|
-
const r =
|
|
4031
|
-
return
|
|
4030
|
+
const r = go(e);
|
|
4031
|
+
return fo(r, t);
|
|
4032
4032
|
}
|
|
4033
|
-
function
|
|
4033
|
+
function bo(e) {
|
|
4034
4034
|
if (e == null)
|
|
4035
4035
|
return;
|
|
4036
|
-
const t =
|
|
4036
|
+
const t = je(e);
|
|
4037
4037
|
for (let r = 0; r < t.length; r++) {
|
|
4038
4038
|
const n = t[r];
|
|
4039
|
-
if (
|
|
4039
|
+
if (Yr(n))
|
|
4040
4040
|
return n;
|
|
4041
4041
|
}
|
|
4042
4042
|
}
|
|
4043
|
-
function
|
|
4044
|
-
delete K[e], Te.update((r) => (r[e] =
|
|
4043
|
+
function qr(e, ...t) {
|
|
4044
|
+
delete K[e], Te.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
|
|
4045
4045
|
}
|
|
4046
|
-
|
|
4046
|
+
me(
|
|
4047
4047
|
[Te],
|
|
4048
4048
|
([e]) => Object.keys(e)
|
|
4049
4049
|
);
|
|
4050
|
-
Te.subscribe((e) =>
|
|
4051
|
-
const
|
|
4052
|
-
function
|
|
4053
|
-
|
|
4050
|
+
Te.subscribe((e) => xt = e);
|
|
4051
|
+
const Ie = {};
|
|
4052
|
+
function vo(e, t) {
|
|
4053
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
4054
4054
|
}
|
|
4055
|
-
function
|
|
4056
|
-
return
|
|
4055
|
+
function Jr(e) {
|
|
4056
|
+
return Ie[e];
|
|
4057
4057
|
}
|
|
4058
|
-
function
|
|
4059
|
-
return
|
|
4060
|
-
const r =
|
|
4058
|
+
function yo(e) {
|
|
4059
|
+
return je(e).map((t) => {
|
|
4060
|
+
const r = Jr(t);
|
|
4061
4061
|
return [t, r ? [...r] : []];
|
|
4062
4062
|
}).filter(([, t]) => t.length > 0);
|
|
4063
4063
|
}
|
|
4064
|
-
function
|
|
4065
|
-
return e == null ? !1 :
|
|
4064
|
+
function vt(e) {
|
|
4065
|
+
return e == null ? !1 : je(e).some(
|
|
4066
4066
|
(t) => {
|
|
4067
4067
|
var r;
|
|
4068
|
-
return (r =
|
|
4068
|
+
return (r = Jr(t)) == null ? void 0 : r.size;
|
|
4069
4069
|
}
|
|
4070
4070
|
);
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function _o(e, t) {
|
|
4073
4073
|
return Promise.all(
|
|
4074
|
-
t.map((n) => (
|
|
4075
|
-
).then((n) =>
|
|
4074
|
+
t.map((n) => (vo(e, n), n().then((i) => i.default || i)))
|
|
4075
|
+
).then((n) => qr(e, ...n));
|
|
4076
4076
|
}
|
|
4077
4077
|
const ye = {};
|
|
4078
|
-
function
|
|
4079
|
-
if (!
|
|
4078
|
+
function Kr(e) {
|
|
4079
|
+
if (!vt(e))
|
|
4080
4080
|
return e in ye ? ye[e] : Promise.resolve();
|
|
4081
|
-
const t =
|
|
4081
|
+
const t = yo(e);
|
|
4082
4082
|
return ye[e] = Promise.all(
|
|
4083
4083
|
t.map(
|
|
4084
|
-
([r, n]) =>
|
|
4084
|
+
([r, n]) => _o(r, n)
|
|
4085
4085
|
)
|
|
4086
4086
|
).then(() => {
|
|
4087
|
-
if (
|
|
4088
|
-
return
|
|
4087
|
+
if (vt(e))
|
|
4088
|
+
return Kr(e);
|
|
4089
4089
|
delete ye[e];
|
|
4090
4090
|
}), ye[e];
|
|
4091
4091
|
}
|
|
4092
|
-
const
|
|
4092
|
+
const xo = {
|
|
4093
4093
|
number: {
|
|
4094
4094
|
scientific: { notation: "scientific" },
|
|
4095
4095
|
engineering: { notation: "engineering" },
|
|
@@ -4118,78 +4118,78 @@ const _o = {
|
|
|
4118
4118
|
timeZoneName: "short"
|
|
4119
4119
|
}
|
|
4120
4120
|
}
|
|
4121
|
-
},
|
|
4121
|
+
}, Eo = {
|
|
4122
4122
|
fallbackLocale: null,
|
|
4123
4123
|
loadingDelay: 200,
|
|
4124
|
-
formats:
|
|
4124
|
+
formats: xo,
|
|
4125
4125
|
warnOnMissingMessages: !0,
|
|
4126
4126
|
handleMissingMessage: void 0,
|
|
4127
4127
|
ignoreTag: !0
|
|
4128
|
-
},
|
|
4128
|
+
}, wo = Eo;
|
|
4129
4129
|
function pe() {
|
|
4130
|
-
return
|
|
4130
|
+
return wo;
|
|
4131
4131
|
}
|
|
4132
|
-
const
|
|
4133
|
-
var
|
|
4132
|
+
const nt = De(!1);
|
|
4133
|
+
var So = Object.defineProperty, Ho = Object.defineProperties, To = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, Oo = Object.prototype.hasOwnProperty, Ao = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mo = (e, t) => {
|
|
4134
4134
|
for (var r in t || (t = {}))
|
|
4135
|
-
|
|
4136
|
-
if (
|
|
4137
|
-
for (var r of
|
|
4138
|
-
|
|
4135
|
+
Oo.call(t, r) && nr(e, r, t[r]);
|
|
4136
|
+
if (rr)
|
|
4137
|
+
for (var r of rr(t))
|
|
4138
|
+
Ao.call(t, r) && nr(e, r, t[r]);
|
|
4139
4139
|
return e;
|
|
4140
|
-
},
|
|
4141
|
-
let
|
|
4142
|
-
const
|
|
4143
|
-
function
|
|
4140
|
+
}, Po = (e, t) => Ho(e, To(t));
|
|
4141
|
+
let yt;
|
|
4142
|
+
const Ue = De(null);
|
|
4143
|
+
function ir(e) {
|
|
4144
4144
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4145
4145
|
}
|
|
4146
|
-
function
|
|
4147
|
-
const r =
|
|
4148
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4146
|
+
function je(e, t = pe().fallbackLocale) {
|
|
4147
|
+
const r = ir(e);
|
|
4148
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
|
|
4149
4149
|
}
|
|
4150
4150
|
function ne() {
|
|
4151
|
-
return
|
|
4151
|
+
return yt != null ? yt : void 0;
|
|
4152
4152
|
}
|
|
4153
|
-
|
|
4154
|
-
|
|
4153
|
+
Ue.subscribe((e) => {
|
|
4154
|
+
yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4155
4155
|
});
|
|
4156
|
-
const
|
|
4157
|
-
if (e &&
|
|
4156
|
+
const Lo = (e) => {
|
|
4157
|
+
if (e && bo(e) && vt(e)) {
|
|
4158
4158
|
const { loadingDelay: t } = pe();
|
|
4159
4159
|
let r;
|
|
4160
4160
|
return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
|
|
4161
|
-
() =>
|
|
4161
|
+
() => nt.set(!0),
|
|
4162
4162
|
t
|
|
4163
|
-
) :
|
|
4164
|
-
|
|
4163
|
+
) : nt.set(!0), Kr(e).then(() => {
|
|
4164
|
+
Ue.set(e);
|
|
4165
4165
|
}).finally(() => {
|
|
4166
|
-
clearTimeout(r),
|
|
4166
|
+
clearTimeout(r), nt.set(!1);
|
|
4167
4167
|
});
|
|
4168
4168
|
}
|
|
4169
|
-
return
|
|
4170
|
-
}, be = Mo(
|
|
4171
|
-
set:
|
|
4172
|
-
}),
|
|
4169
|
+
return Ue.set(e);
|
|
4170
|
+
}, be = Po(Mo({}, Ue), {
|
|
4171
|
+
set: Lo
|
|
4172
|
+
}), We = (e) => {
|
|
4173
4173
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4174
4174
|
return (n) => {
|
|
4175
4175
|
const i = JSON.stringify(n);
|
|
4176
4176
|
return i in t ? t[i] : t[i] = e(n);
|
|
4177
4177
|
};
|
|
4178
4178
|
};
|
|
4179
|
-
var Bo = Object.defineProperty,
|
|
4179
|
+
var Bo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
4180
4180
|
for (var r in t || (t = {}))
|
|
4181
|
-
|
|
4182
|
-
if (
|
|
4183
|
-
for (var r of
|
|
4184
|
-
|
|
4181
|
+
en.call(t, r) && or(e, r, t[r]);
|
|
4182
|
+
if (Fe)
|
|
4183
|
+
for (var r of Fe(t))
|
|
4184
|
+
tn.call(t, r) && or(e, r, t[r]);
|
|
4185
4185
|
return e;
|
|
4186
4186
|
}, ve = (e, t) => {
|
|
4187
4187
|
var r = {};
|
|
4188
4188
|
for (var n in e)
|
|
4189
|
-
|
|
4190
|
-
if (e != null &&
|
|
4191
|
-
for (var n of
|
|
4192
|
-
t.indexOf(n) < 0 &&
|
|
4189
|
+
en.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4190
|
+
if (e != null && Fe)
|
|
4191
|
+
for (var n of Fe(e))
|
|
4192
|
+
t.indexOf(n) < 0 && tn.call(e, n) && (r[n] = e[n]);
|
|
4193
4193
|
return r;
|
|
4194
4194
|
};
|
|
4195
4195
|
const we = (e, t) => {
|
|
@@ -4197,21 +4197,21 @@ const we = (e, t) => {
|
|
|
4197
4197
|
if (e in r && t in r[e])
|
|
4198
4198
|
return r[e][t];
|
|
4199
4199
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4200
|
-
},
|
|
4200
|
+
}, Io = We(
|
|
4201
4201
|
(e) => {
|
|
4202
4202
|
var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
|
|
4203
4203
|
if (r == null)
|
|
4204
4204
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4205
4205
|
return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
|
|
4206
4206
|
}
|
|
4207
|
-
),
|
|
4207
|
+
), Co = We(
|
|
4208
4208
|
(e) => {
|
|
4209
4209
|
var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
|
|
4210
4210
|
if (r == null)
|
|
4211
4211
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4212
4212
|
return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4213
4213
|
}
|
|
4214
|
-
),
|
|
4214
|
+
), No = We(
|
|
4215
4215
|
(e) => {
|
|
4216
4216
|
var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
|
|
4217
4217
|
if (r == null)
|
|
@@ -4220,30 +4220,30 @@ const we = (e, t) => {
|
|
|
4220
4220
|
);
|
|
4221
4221
|
return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4222
4222
|
}
|
|
4223
|
-
),
|
|
4223
|
+
), Ro = (e = {}) => {
|
|
4224
4224
|
var t = e, {
|
|
4225
4225
|
locale: r = ne()
|
|
4226
4226
|
} = t, n = ve(t, [
|
|
4227
4227
|
"locale"
|
|
4228
4228
|
]);
|
|
4229
|
-
return
|
|
4230
|
-
},
|
|
4229
|
+
return Io(Et({ locale: r }, n));
|
|
4230
|
+
}, Uo = (e = {}) => {
|
|
4231
4231
|
var t = e, {
|
|
4232
4232
|
locale: r = ne()
|
|
4233
4233
|
} = t, n = ve(t, [
|
|
4234
4234
|
"locale"
|
|
4235
4235
|
]);
|
|
4236
|
-
return
|
|
4237
|
-
},
|
|
4236
|
+
return Co(Et({ locale: r }, n));
|
|
4237
|
+
}, Fo = (e = {}) => {
|
|
4238
4238
|
var t = e, {
|
|
4239
4239
|
locale: r = ne()
|
|
4240
4240
|
} = t, n = ve(t, [
|
|
4241
4241
|
"locale"
|
|
4242
4242
|
]);
|
|
4243
|
-
return
|
|
4244
|
-
},
|
|
4243
|
+
return No(Et({ locale: r }, n));
|
|
4244
|
+
}, ko = We(
|
|
4245
4245
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4246
|
-
(e, t = ne()) => new
|
|
4246
|
+
(e, t = ne()) => new co(e, t, pe().formats, {
|
|
4247
4247
|
ignoreTag: pe().ignoreTag
|
|
4248
4248
|
})
|
|
4249
4249
|
), Do = (e, t = {}) => {
|
|
@@ -4259,7 +4259,7 @@ const we = (e, t) => {
|
|
|
4259
4259
|
throw new Error(
|
|
4260
4260
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4261
4261
|
);
|
|
4262
|
-
let h =
|
|
4262
|
+
let h = Qr(e, u);
|
|
4263
4263
|
if (!h)
|
|
4264
4264
|
h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4265
4265
|
else if (typeof h != "string")
|
|
@@ -4270,7 +4270,7 @@ const we = (e, t) => {
|
|
|
4270
4270
|
return h;
|
|
4271
4271
|
let c = h;
|
|
4272
4272
|
try {
|
|
4273
|
-
c =
|
|
4273
|
+
c = ko(h, u).format(s);
|
|
4274
4274
|
} catch (f) {
|
|
4275
4275
|
f instanceof Error && console.warn(
|
|
4276
4276
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4278,20 +4278,20 @@ const we = (e, t) => {
|
|
|
4278
4278
|
);
|
|
4279
4279
|
}
|
|
4280
4280
|
return c;
|
|
4281
|
-
},
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
window.emWidgets = { topic:
|
|
4287
|
-
const
|
|
4288
|
-
function
|
|
4281
|
+
}, Go = (e, t) => Fo(t).format(e), $o = (e, t) => Uo(t).format(e), jo = (e, t) => Ro(t).format(e), Wo = (e, t = ne()) => Qr(e, t), Vo = me([be, Te], () => Do);
|
|
4282
|
+
me([be], () => Go);
|
|
4283
|
+
me([be], () => $o);
|
|
4284
|
+
me([be], () => jo);
|
|
4285
|
+
me([be, Te], () => Wo);
|
|
4286
|
+
window.emWidgets = { topic: ri };
|
|
4287
|
+
const Xo = (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)), zo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4288
|
+
function Zo(e, t) {
|
|
4289
4289
|
if (e) {
|
|
4290
4290
|
const r = document.createElement("style");
|
|
4291
4291
|
r.innerHTML = t, e.appendChild(r);
|
|
4292
4292
|
}
|
|
4293
4293
|
}
|
|
4294
|
-
function
|
|
4294
|
+
function Qo(e, t) {
|
|
4295
4295
|
const r = new URL(t);
|
|
4296
4296
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4297
4297
|
const i = document.createElement("style");
|
|
@@ -4300,7 +4300,7 @@ function Zo(e, t) {
|
|
|
4300
4300
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4301
4301
|
});
|
|
4302
4302
|
}
|
|
4303
|
-
function
|
|
4303
|
+
function Yo(e, t, r) {
|
|
4304
4304
|
if (window.emMessageBus) {
|
|
4305
4305
|
const n = document.createElement("style");
|
|
4306
4306
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4308,13 +4308,13 @@ function Qo(e, t, r) {
|
|
|
4308
4308
|
});
|
|
4309
4309
|
}
|
|
4310
4310
|
}
|
|
4311
|
-
function
|
|
4312
|
-
|
|
4311
|
+
function ar(e, t) {
|
|
4312
|
+
qr(e, t);
|
|
4313
4313
|
}
|
|
4314
|
-
function
|
|
4314
|
+
function qo(e) {
|
|
4315
4315
|
be.set(e);
|
|
4316
4316
|
}
|
|
4317
|
-
const
|
|
4317
|
+
const sr = {
|
|
4318
4318
|
en: {
|
|
4319
4319
|
language: "Select Language"
|
|
4320
4320
|
},
|
|
@@ -4349,65 +4349,65 @@ const ar = {
|
|
|
4349
4349
|
language: "Select Language"
|
|
4350
4350
|
}
|
|
4351
4351
|
};
|
|
4352
|
-
function
|
|
4353
|
-
|
|
4352
|
+
function Jo(e) {
|
|
4353
|
+
En(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}");
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function ur(e, t, r) {
|
|
4356
4356
|
const n = e.slice();
|
|
4357
|
-
return n[
|
|
4357
|
+
return n[58] = t[r], n;
|
|
4358
4358
|
}
|
|
4359
|
-
function
|
|
4359
|
+
function lr(e, t, r) {
|
|
4360
4360
|
const n = e.slice();
|
|
4361
4361
|
return n[1] = t[r], n;
|
|
4362
4362
|
}
|
|
4363
|
-
function
|
|
4363
|
+
function hr(e, t, r) {
|
|
4364
4364
|
const n = e.slice();
|
|
4365
|
-
return n[
|
|
4365
|
+
return n[61] = t[r], n;
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4367
|
+
function Ko(e, t, r) {
|
|
4368
4368
|
const n = e.slice();
|
|
4369
|
-
return n[
|
|
4369
|
+
return n[67] = t[r], n;
|
|
4370
4370
|
}
|
|
4371
|
-
function
|
|
4371
|
+
function cr(e, t, r) {
|
|
4372
4372
|
const n = e.slice();
|
|
4373
|
-
return n[
|
|
4373
|
+
return n[64] = t[r], n;
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4376
|
-
let t, r, n, i, o, a, s, u, l, h, c, f, d,
|
|
4375
|
+
function fr(e) {
|
|
4376
|
+
let t, r, n, i, o, a, s, u, l, h, c, f, d, m, b, w, T, B, P, G, C, X, Z;
|
|
4377
4377
|
function ie(x, R) {
|
|
4378
4378
|
return (
|
|
4379
4379
|
/*HamburgerMenuItems*/
|
|
4380
|
-
x[4].length > 0 ?
|
|
4380
|
+
x[4].length > 0 ? ta : ea
|
|
4381
4381
|
);
|
|
4382
4382
|
}
|
|
4383
4383
|
let J = ie(e), N = J(e), j = q(
|
|
4384
4384
|
/*activeMenuItemChildren*/
|
|
4385
4385
|
e[6]
|
|
4386
|
-
),
|
|
4386
|
+
), A = [];
|
|
4387
4387
|
for (let x = 0; x < j.length; x += 1)
|
|
4388
|
-
|
|
4389
|
-
let
|
|
4388
|
+
A[x] = mr(hr(e, j, x));
|
|
4389
|
+
let L = (
|
|
4390
4390
|
/*languagesArray*/
|
|
4391
|
-
e[9].length > 1 &&
|
|
4391
|
+
e[9].length > 1 && br(e)
|
|
4392
4392
|
);
|
|
4393
4393
|
return {
|
|
4394
4394
|
c() {
|
|
4395
4395
|
t = y("div"), r = y("div"), n = y("ul"), N.c(), i = U(), o = y("div"), a = U(), s = y("ul");
|
|
4396
|
-
for (let x = 0; x <
|
|
4397
|
-
|
|
4398
|
-
l = U(),
|
|
4399
|
-
(e[10] ? "Overlay" : "")),
|
|
4396
|
+
for (let x = 0; x < A.length; x += 1)
|
|
4397
|
+
A[x].c();
|
|
4398
|
+
l = U(), L && L.c(), c = U(), f = y("span"), d = y("div"), m = y("span"), b = U(), w = y("span"), T = U(), B = y("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4399
|
+
(e[10] ? "Overlay" : "")), g(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4400
4400
|
(e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4401
|
-
(e[12] ? "Closing" : "")),
|
|
4402
|
-
e[13] ? "" : "Open")),
|
|
4403
|
-
e[7] ? "ModalCloseBtn" : ""),
|
|
4401
|
+
(e[12] ? "Closing" : "")), g(d, "class", P = "NavIcon " + (/*navIconClosing*/
|
|
4402
|
+
e[13] ? "" : "Open")), g(f, "class", G = /*modalIsOpen*/
|
|
4403
|
+
e[7] ? "ModalCloseBtn" : ""), g(f, "role", "button"), g(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
|
|
4404
4404
|
(e[12] ? " Closing" : ""));
|
|
4405
4405
|
},
|
|
4406
4406
|
m(x, R) {
|
|
4407
4407
|
F(x, t, R), v(t, r), v(r, n), N.m(n, null), v(r, i), v(r, o), v(r, a), v(r, s);
|
|
4408
|
-
for (let S = 0; S <
|
|
4409
|
-
|
|
4410
|
-
v(r, l),
|
|
4408
|
+
for (let S = 0; S < A.length; S += 1)
|
|
4409
|
+
A[S] && A[S].m(s, null);
|
|
4410
|
+
v(r, l), L && L.m(r, null), v(t, c), v(t, f), v(f, d), v(d, m), v(d, b), v(d, w), v(d, T), v(d, B), e[40](t), X || (Z = re(
|
|
4411
4411
|
f,
|
|
4412
4412
|
"click",
|
|
4413
4413
|
/*close*/
|
|
@@ -4423,41 +4423,41 @@ function cr(e) {
|
|
|
4423
4423
|
);
|
|
4424
4424
|
let S;
|
|
4425
4425
|
for (S = 0; S < j.length; S += 1) {
|
|
4426
|
-
const W =
|
|
4427
|
-
|
|
4426
|
+
const W = hr(x, j, S);
|
|
4427
|
+
A[S] ? A[S].p(W, R) : (A[S] = mr(W), A[S].c(), A[S].m(s, null));
|
|
4428
4428
|
}
|
|
4429
|
-
for (; S <
|
|
4430
|
-
|
|
4431
|
-
|
|
4429
|
+
for (; S < A.length; S += 1)
|
|
4430
|
+
A[S].d(1);
|
|
4431
|
+
A.length = j.length;
|
|
4432
4432
|
}
|
|
4433
4433
|
R[0] & /*isOptionsListVisible*/
|
|
4434
4434
|
1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4435
|
-
(x[10] ? "Overlay" : "")) &&
|
|
4436
|
-
x[9].length > 1 ?
|
|
4435
|
+
(x[10] ? "Overlay" : "")) && g(s, "class", u), /*languagesArray*/
|
|
4436
|
+
x[9].length > 1 ? L ? L.p(x, R) : (L = br(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
|
|
4437
4437
|
4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4438
4438
|
(x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4439
|
-
(x[12] ? "Closing" : "")) &&
|
|
4439
|
+
(x[12] ? "Closing" : "")) && g(r, "class", h), R[0] & /*navIconClosing*/
|
|
4440
4440
|
8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
|
|
4441
|
-
x[13] ? "" : "Open")) &&
|
|
4441
|
+
x[13] ? "" : "Open")) && g(d, "class", P), R[0] & /*modalIsOpen*/
|
|
4442
4442
|
128 && G !== (G = /*modalIsOpen*/
|
|
4443
|
-
x[7] ? "ModalCloseBtn" : "") &&
|
|
4443
|
+
x[7] ? "ModalCloseBtn" : "") && g(f, "class", G), R[0] & /*isClosing*/
|
|
4444
4444
|
4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
|
|
4445
|
-
(x[12] ? " Closing" : "")) &&
|
|
4445
|
+
(x[12] ? " Closing" : "")) && g(t, "class", C);
|
|
4446
4446
|
},
|
|
4447
4447
|
d(x) {
|
|
4448
|
-
x && I(t), N.d(), Se(
|
|
4448
|
+
x && I(t), N.d(), Se(A, x), L && L.d(), e[40](null), X = !1, Z();
|
|
4449
4449
|
}
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
|
-
function
|
|
4452
|
+
function ea(e) {
|
|
4453
4453
|
let t, r = q(new Array(5)), n = [];
|
|
4454
4454
|
for (let i = 0; i < r.length; i += 1)
|
|
4455
|
-
n[i] =
|
|
4455
|
+
n[i] = ra(Ko(e, r, i));
|
|
4456
4456
|
return {
|
|
4457
4457
|
c() {
|
|
4458
4458
|
for (let i = 0; i < n.length; i += 1)
|
|
4459
4459
|
n[i].c();
|
|
4460
|
-
t =
|
|
4460
|
+
t = Sr();
|
|
4461
4461
|
},
|
|
4462
4462
|
m(i, o) {
|
|
4463
4463
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4470,18 +4470,18 @@ function Ko(e) {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
};
|
|
4472
4472
|
}
|
|
4473
|
-
function
|
|
4473
|
+
function ta(e) {
|
|
4474
4474
|
let t, r = q(
|
|
4475
4475
|
/*HamburgerMenuItems*/
|
|
4476
4476
|
e[4]
|
|
4477
4477
|
), n = [];
|
|
4478
4478
|
for (let i = 0; i < r.length; i += 1)
|
|
4479
|
-
n[i] =
|
|
4479
|
+
n[i] = dr(cr(e, r, i));
|
|
4480
4480
|
return {
|
|
4481
4481
|
c() {
|
|
4482
4482
|
for (let i = 0; i < n.length; i += 1)
|
|
4483
4483
|
n[i].c();
|
|
4484
|
-
t =
|
|
4484
|
+
t = Sr();
|
|
4485
4485
|
},
|
|
4486
4486
|
m(i, o) {
|
|
4487
4487
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4489,7 +4489,7 @@ function ea(e) {
|
|
|
4489
4489
|
F(i, t, o);
|
|
4490
4490
|
},
|
|
4491
4491
|
p(i, o) {
|
|
4492
|
-
if (o[0] & /*activeMenuItemId, HamburgerMenuItems,
|
|
4492
|
+
if (o[0] & /*activeMenuItemId, HamburgerMenuItems, handlePrimaryMenuClick*/
|
|
4493
4493
|
131120) {
|
|
4494
4494
|
r = q(
|
|
4495
4495
|
/*HamburgerMenuItems*/
|
|
@@ -4497,8 +4497,8 @@ function ea(e) {
|
|
|
4497
4497
|
);
|
|
4498
4498
|
let a;
|
|
4499
4499
|
for (a = 0; a < r.length; a += 1) {
|
|
4500
|
-
const s =
|
|
4501
|
-
n[a] ? n[a].p(s, o) : (n[a] =
|
|
4500
|
+
const s = cr(i, r, a);
|
|
4501
|
+
n[a] ? n[a].p(s, o) : (n[a] = dr(s), n[a].c(), n[a].m(t.parentNode, t));
|
|
4502
4502
|
}
|
|
4503
4503
|
for (; a < n.length; a += 1)
|
|
4504
4504
|
n[a].d(1);
|
|
@@ -4510,11 +4510,11 @@ function ea(e) {
|
|
|
4510
4510
|
}
|
|
4511
4511
|
};
|
|
4512
4512
|
}
|
|
4513
|
-
function
|
|
4513
|
+
function ra(e) {
|
|
4514
4514
|
let t;
|
|
4515
4515
|
return {
|
|
4516
4516
|
c() {
|
|
4517
|
-
t = y("div"), t.innerHTML = "",
|
|
4517
|
+
t = y("div"), t.innerHTML = "", g(t, "class", "Loading Skeleton");
|
|
4518
4518
|
},
|
|
4519
4519
|
m(r, n) {
|
|
4520
4520
|
F(r, t, n);
|
|
@@ -4525,12 +4525,12 @@ function ta(e) {
|
|
|
4525
4525
|
}
|
|
4526
4526
|
};
|
|
4527
4527
|
}
|
|
4528
|
-
function
|
|
4528
|
+
function pr(e) {
|
|
4529
4529
|
let t, r;
|
|
4530
4530
|
return {
|
|
4531
4531
|
c() {
|
|
4532
4532
|
t = y("img"), ee(t.src, r = /*mainItem*/
|
|
4533
|
-
e[
|
|
4533
|
+
e[64].img) || g(t, "src", r), g(t, "alt", "menu icon");
|
|
4534
4534
|
},
|
|
4535
4535
|
m(n, i) {
|
|
4536
4536
|
F(n, t, i);
|
|
@@ -4538,61 +4538,61 @@ function fr(e) {
|
|
|
4538
4538
|
p(n, i) {
|
|
4539
4539
|
i[0] & /*HamburgerMenuItems*/
|
|
4540
4540
|
16 && !ee(t.src, r = /*mainItem*/
|
|
4541
|
-
n[
|
|
4541
|
+
n[64].img) && g(t, "src", r);
|
|
4542
4542
|
},
|
|
4543
4543
|
d(n) {
|
|
4544
4544
|
n && I(t);
|
|
4545
4545
|
}
|
|
4546
4546
|
};
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4548
|
+
function dr(e) {
|
|
4549
4549
|
var d;
|
|
4550
4550
|
let t, r, n, i, o = (
|
|
4551
4551
|
/*mainItem*/
|
|
4552
|
-
e[
|
|
4552
|
+
e[64].label + ""
|
|
4553
4553
|
), a, s, u, l, h, c = (
|
|
4554
4554
|
/*mainItem*/
|
|
4555
|
-
((d = e[
|
|
4555
|
+
((d = e[64]) == null ? void 0 : d.img) && pr(e)
|
|
4556
4556
|
);
|
|
4557
4557
|
function f() {
|
|
4558
4558
|
return (
|
|
4559
4559
|
/*click_handler*/
|
|
4560
4560
|
e[35](
|
|
4561
4561
|
/*mainItem*/
|
|
4562
|
-
e[
|
|
4562
|
+
e[64]
|
|
4563
4563
|
)
|
|
4564
4564
|
);
|
|
4565
4565
|
}
|
|
4566
4566
|
return {
|
|
4567
4567
|
c() {
|
|
4568
|
-
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = te(o), s = U(),
|
|
4568
|
+
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = te(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", u = /*activeMenuItemId*/
|
|
4569
4569
|
e[5] === /*mainItem*/
|
|
4570
|
-
e[
|
|
4570
|
+
e[64].id ? "ActiveItem" : "");
|
|
4571
4571
|
},
|
|
4572
|
-
m(
|
|
4573
|
-
F(
|
|
4572
|
+
m(m, b) {
|
|
4573
|
+
F(m, t, b), v(t, r), c && c.m(r, null), v(r, n), v(r, i), v(i, a), v(t, s), l || (h = re(t, "click", f), l = !0);
|
|
4574
4574
|
},
|
|
4575
|
-
p(
|
|
4575
|
+
p(m, b) {
|
|
4576
4576
|
var w;
|
|
4577
|
-
e =
|
|
4578
|
-
(w = e[
|
|
4577
|
+
e = m, /*mainItem*/
|
|
4578
|
+
(w = e[64]) != null && w.img ? c ? c.p(e, b) : (c = pr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), b[0] & /*HamburgerMenuItems*/
|
|
4579
4579
|
16 && o !== (o = /*mainItem*/
|
|
4580
|
-
e[
|
|
4580
|
+
e[64].label + "") && ge(a, o), b[0] & /*activeMenuItemId, HamburgerMenuItems*/
|
|
4581
4581
|
48 && u !== (u = /*activeMenuItemId*/
|
|
4582
4582
|
e[5] === /*mainItem*/
|
|
4583
|
-
e[
|
|
4583
|
+
e[64].id ? "ActiveItem" : "") && g(t, "class", u);
|
|
4584
4584
|
},
|
|
4585
|
-
d(
|
|
4586
|
-
|
|
4585
|
+
d(m) {
|
|
4586
|
+
m && I(t), c && c.d(), l = !1, h();
|
|
4587
4587
|
}
|
|
4588
4588
|
};
|
|
4589
4589
|
}
|
|
4590
|
-
function
|
|
4590
|
+
function gr(e) {
|
|
4591
4591
|
let t, r;
|
|
4592
4592
|
return {
|
|
4593
4593
|
c() {
|
|
4594
4594
|
t = y("img"), ee(t.src, r = /*secondaryItem*/
|
|
4595
|
-
e[
|
|
4595
|
+
e[61].img) || g(t, "src", r), g(t, "alt", "menu icon");
|
|
4596
4596
|
},
|
|
4597
4597
|
m(n, i) {
|
|
4598
4598
|
F(n, t, i);
|
|
@@ -4600,7 +4600,7 @@ function dr(e) {
|
|
|
4600
4600
|
p(n, i) {
|
|
4601
4601
|
i[0] & /*activeMenuItemChildren*/
|
|
4602
4602
|
64 && !ee(t.src, r = /*secondaryItem*/
|
|
4603
|
-
n[
|
|
4603
|
+
n[61].img) && g(t, "src", r);
|
|
4604
4604
|
},
|
|
4605
4605
|
d(n) {
|
|
4606
4606
|
n && I(t);
|
|
@@ -4611,17 +4611,17 @@ function mr(e) {
|
|
|
4611
4611
|
var c;
|
|
4612
4612
|
let t, r, n, i = (
|
|
4613
4613
|
/*secondaryItem*/
|
|
4614
|
-
e[
|
|
4614
|
+
e[61].label + ""
|
|
4615
4615
|
), o, a, s, u, l = (
|
|
4616
4616
|
/*secondaryItem*/
|
|
4617
|
-
((c = e[
|
|
4617
|
+
((c = e[61]) == null ? void 0 : c.img) && gr(e)
|
|
4618
4618
|
);
|
|
4619
4619
|
function h(...f) {
|
|
4620
4620
|
return (
|
|
4621
4621
|
/*click_handler_1*/
|
|
4622
4622
|
e[36](
|
|
4623
4623
|
/*secondaryItem*/
|
|
4624
|
-
e[
|
|
4624
|
+
e[61],
|
|
4625
4625
|
...f
|
|
4626
4626
|
)
|
|
4627
4627
|
);
|
|
@@ -4634,18 +4634,18 @@ function mr(e) {
|
|
|
4634
4634
|
F(f, t, d), l && l.m(t, null), v(t, r), v(t, n), v(n, o), v(t, a), s || (u = re(t, "click", h), s = !0);
|
|
4635
4635
|
},
|
|
4636
4636
|
p(f, d) {
|
|
4637
|
-
var
|
|
4637
|
+
var m;
|
|
4638
4638
|
e = f, /*secondaryItem*/
|
|
4639
|
-
(
|
|
4639
|
+
(m = e[61]) != null && m.img ? l ? l.p(e, d) : (l = gr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), d[0] & /*activeMenuItemChildren*/
|
|
4640
4640
|
64 && i !== (i = /*secondaryItem*/
|
|
4641
|
-
e[
|
|
4641
|
+
e[61].label + "") && ge(o, i);
|
|
4642
4642
|
},
|
|
4643
4643
|
d(f) {
|
|
4644
4644
|
f && I(t), l && l.d(), s = !1, u();
|
|
4645
4645
|
}
|
|
4646
4646
|
};
|
|
4647
4647
|
}
|
|
4648
|
-
function
|
|
4648
|
+
function br(e) {
|
|
4649
4649
|
let t, r, n = (
|
|
4650
4650
|
/*$_*/
|
|
4651
4651
|
e[15]("language") + ""
|
|
@@ -4653,13 +4653,13 @@ function gr(e) {
|
|
|
4653
4653
|
function l(f, d) {
|
|
4654
4654
|
return (
|
|
4655
4655
|
/*countryflaghamburger*/
|
|
4656
|
-
f[0] !== "true" ?
|
|
4656
|
+
f[0] !== "true" ? ia : na
|
|
4657
4657
|
);
|
|
4658
4658
|
}
|
|
4659
4659
|
let h = l(e), c = h(e);
|
|
4660
4660
|
return {
|
|
4661
4661
|
c() {
|
|
4662
|
-
t = y("div"), r = y("span"), i = te(n), o = U(), c.c(),
|
|
4662
|
+
t = y("div"), r = y("span"), i = te(n), o = U(), c.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4663
4663
|
(e[10] ? "Open" : ""));
|
|
4664
4664
|
},
|
|
4665
4665
|
m(f, d) {
|
|
@@ -4673,67 +4673,67 @@ function gr(e) {
|
|
|
4673
4673
|
p(f, d) {
|
|
4674
4674
|
d[0] & /*$_*/
|
|
4675
4675
|
32768 && n !== (n = /*$_*/
|
|
4676
|
-
f[15]("language") + "") &&
|
|
4676
|
+
f[15]("language") + "") && ge(i, n), h === (h = l(f)) && c ? c.p(f, d) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), d[0] & /*isOptionsListVisible*/
|
|
4677
4677
|
1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4678
|
-
(f[10] ? "Open" : "")) &&
|
|
4678
|
+
(f[10] ? "Open" : "")) && g(t, "class", a);
|
|
4679
4679
|
},
|
|
4680
4680
|
d(f) {
|
|
4681
4681
|
f && I(t), c.d(), s = !1, u();
|
|
4682
4682
|
}
|
|
4683
4683
|
};
|
|
4684
4684
|
}
|
|
4685
|
-
function
|
|
4685
|
+
function na(e) {
|
|
4686
4686
|
let t, r, n, i, o, a, s, u = (
|
|
4687
4687
|
/*selectedLanguage*/
|
|
4688
4688
|
e[14].slice(-2) + ""
|
|
4689
|
-
), l, h, c, f, d,
|
|
4689
|
+
), l, h, c, f, d, m, b, w = (
|
|
4690
4690
|
/*isOptionsListVisible*/
|
|
4691
|
-
e[10] &&
|
|
4691
|
+
e[10] && vr(e)
|
|
4692
4692
|
);
|
|
4693
4693
|
return {
|
|
4694
4694
|
c() {
|
|
4695
|
-
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = te(u), h = U(), c = y("span"), f =
|
|
4695
|
+
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = te(u), h = U(), c = y("span"), f = Rt("svg"), d = Rt("path"), b = U(), w && w.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4696
4696
|
e[22](
|
|
4697
4697
|
/*selectedLanguage*/
|
|
4698
4698
|
e[14]
|
|
4699
|
-
)}.svg`) ||
|
|
4700
|
-
(e[10] ? "TriangleActive" : "")),
|
|
4699
|
+
)}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(d, "id", "arrow"), g(d, "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"), g(d, "transform", "translate(-274.511 -441.088)"), g(d, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(c, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4700
|
+
(e[10] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
|
|
4701
4701
|
},
|
|
4702
|
-
m(
|
|
4703
|
-
F(
|
|
4702
|
+
m(T, B) {
|
|
4703
|
+
F(T, t, B), v(t, r), v(r, n), v(n, i), v(r, a), v(r, s), v(s, l), v(r, h), v(r, c), v(c, f), v(f, d), v(t, b), w && w.m(t, null);
|
|
4704
4704
|
},
|
|
4705
|
-
p(
|
|
4706
|
-
|
|
4705
|
+
p(T, B) {
|
|
4706
|
+
B[0] & /*selectedLanguage, languagesArray*/
|
|
4707
4707
|
16896 && !ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4708
|
-
|
|
4708
|
+
T[22](
|
|
4709
4709
|
/*selectedLanguage*/
|
|
4710
|
-
|
|
4711
|
-
)}.svg`) &&
|
|
4710
|
+
T[14]
|
|
4711
|
+
)}.svg`) && g(i, "src", o), B[0] & /*selectedLanguage*/
|
|
4712
4712
|
16384 && u !== (u = /*selectedLanguage*/
|
|
4713
|
-
|
|
4714
|
-
1024 &&
|
|
4715
|
-
(
|
|
4716
|
-
|
|
4713
|
+
T[14].slice(-2) + "") && ge(l, u), B[0] & /*isOptionsListVisible*/
|
|
4714
|
+
1024 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4715
|
+
(T[10] ? "TriangleActive" : "")) && g(c, "class", m), /*isOptionsListVisible*/
|
|
4716
|
+
T[10] ? w ? w.p(T, B) : (w = vr(T), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
|
|
4717
4717
|
},
|
|
4718
|
-
d(
|
|
4719
|
-
|
|
4718
|
+
d(T) {
|
|
4719
|
+
T && I(t), w && w.d();
|
|
4720
4720
|
}
|
|
4721
4721
|
};
|
|
4722
4722
|
}
|
|
4723
|
-
function
|
|
4723
|
+
function ia(e) {
|
|
4724
4724
|
let t, r, n, i = q(
|
|
4725
4725
|
/*languagesArray*/
|
|
4726
4726
|
e[9]
|
|
4727
4727
|
), o = [];
|
|
4728
4728
|
for (let a = 0; a < i.length; a += 1)
|
|
4729
|
-
o[a] =
|
|
4729
|
+
o[a] = _r(lr(e, i, a));
|
|
4730
4730
|
return {
|
|
4731
4731
|
c() {
|
|
4732
4732
|
t = y("select");
|
|
4733
4733
|
for (let a = 0; a < o.length; a += 1)
|
|
4734
4734
|
o[a].c();
|
|
4735
|
-
|
|
4736
|
-
e[14] === void 0 &&
|
|
4735
|
+
g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
|
|
4736
|
+
e[14] === void 0 && Ne(() => (
|
|
4737
4737
|
/*select_change_handler*/
|
|
4738
4738
|
e[37].call(t)
|
|
4739
4739
|
));
|
|
@@ -4742,7 +4742,7 @@ function na(e) {
|
|
|
4742
4742
|
F(a, t, s);
|
|
4743
4743
|
for (let u = 0; u < o.length; u += 1)
|
|
4744
4744
|
o[u] && o[u].m(t, null);
|
|
4745
|
-
|
|
4745
|
+
Ft(
|
|
4746
4746
|
t,
|
|
4747
4747
|
/*selectedLanguage*/
|
|
4748
4748
|
e[14],
|
|
@@ -4771,15 +4771,15 @@ function na(e) {
|
|
|
4771
4771
|
);
|
|
4772
4772
|
let u;
|
|
4773
4773
|
for (u = 0; u < i.length; u += 1) {
|
|
4774
|
-
const l =
|
|
4775
|
-
o[u] ? o[u].p(l, s) : (o[u] =
|
|
4774
|
+
const l = lr(a, i, u);
|
|
4775
|
+
o[u] ? o[u].p(l, s) : (o[u] = _r(l), o[u].c(), o[u].m(t, null));
|
|
4776
4776
|
}
|
|
4777
4777
|
for (; u < o.length; u += 1)
|
|
4778
4778
|
o[u].d(1);
|
|
4779
4779
|
o.length = i.length;
|
|
4780
4780
|
}
|
|
4781
4781
|
s[0] & /*selectedLanguage, languagesArray*/
|
|
4782
|
-
16896 &&
|
|
4782
|
+
16896 && Ft(
|
|
4783
4783
|
t,
|
|
4784
4784
|
/*selectedLanguage*/
|
|
4785
4785
|
a[14]
|
|
@@ -4790,19 +4790,19 @@ function na(e) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
};
|
|
4792
4792
|
}
|
|
4793
|
-
function
|
|
4793
|
+
function vr(e) {
|
|
4794
4794
|
let t, r, n = q(
|
|
4795
4795
|
/*languagesArray*/
|
|
4796
4796
|
e[9]
|
|
4797
4797
|
), i = [];
|
|
4798
4798
|
for (let o = 0; o < n.length; o += 1)
|
|
4799
|
-
i[o] =
|
|
4799
|
+
i[o] = yr(ur(e, n, o));
|
|
4800
4800
|
return {
|
|
4801
4801
|
c() {
|
|
4802
4802
|
t = y("div");
|
|
4803
4803
|
for (let o = 0; o < i.length; o += 1)
|
|
4804
4804
|
i[o].c();
|
|
4805
|
-
|
|
4805
|
+
g(t, "class", r = "OptionList " + /*languageListOpen*/
|
|
4806
4806
|
(e[11] ? "Open" : ""));
|
|
4807
4807
|
},
|
|
4808
4808
|
m(o, a) {
|
|
@@ -4819,8 +4819,8 @@ function br(e) {
|
|
|
4819
4819
|
);
|
|
4820
4820
|
let s;
|
|
4821
4821
|
for (s = 0; s < n.length; s += 1) {
|
|
4822
|
-
const u =
|
|
4823
|
-
i[s] ? i[s].p(u, a) : (i[s] =
|
|
4822
|
+
const u = ur(o, n, s);
|
|
4823
|
+
i[s] ? i[s].p(u, a) : (i[s] = yr(u), i[s].c(), i[s].m(t, null));
|
|
4824
4824
|
}
|
|
4825
4825
|
for (; s < i.length; s += 1)
|
|
4826
4826
|
i[s].d(1);
|
|
@@ -4828,24 +4828,24 @@ function br(e) {
|
|
|
4828
4828
|
}
|
|
4829
4829
|
a[0] & /*languageListOpen*/
|
|
4830
4830
|
2048 && r !== (r = "OptionList " + /*languageListOpen*/
|
|
4831
|
-
(o[11] ? "Open" : "")) &&
|
|
4831
|
+
(o[11] ? "Open" : "")) && g(t, "class", r);
|
|
4832
4832
|
},
|
|
4833
4833
|
d(o) {
|
|
4834
4834
|
o && I(t), Se(i, o);
|
|
4835
4835
|
}
|
|
4836
4836
|
};
|
|
4837
4837
|
}
|
|
4838
|
-
function
|
|
4838
|
+
function yr(e) {
|
|
4839
4839
|
let t, r, n, i, o, a, s = (
|
|
4840
4840
|
/*operatorLanguage*/
|
|
4841
|
-
e[
|
|
4841
|
+
e[58] + ""
|
|
4842
4842
|
), u, l, h, c, f;
|
|
4843
4843
|
function d() {
|
|
4844
4844
|
return (
|
|
4845
4845
|
/*click_handler_2*/
|
|
4846
4846
|
e[39](
|
|
4847
4847
|
/*operatorLanguage*/
|
|
4848
|
-
e[
|
|
4848
|
+
e[58]
|
|
4849
4849
|
)
|
|
4850
4850
|
);
|
|
4851
4851
|
}
|
|
@@ -4854,31 +4854,31 @@ function vr(e) {
|
|
|
4854
4854
|
t = y("div"), r = y("span"), n = y("img"), o = U(), a = y("span"), u = te(s), l = U(), ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4855
4855
|
e[22](
|
|
4856
4856
|
/*operatorLanguage*/
|
|
4857
|
-
e[
|
|
4858
|
-
)}.svg`) ||
|
|
4857
|
+
e[58]
|
|
4858
|
+
)}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", h = "LanguageOption " + /*languageListOpen*/
|
|
4859
4859
|
(e[11] ? "Open" : ""));
|
|
4860
4860
|
},
|
|
4861
|
-
m(
|
|
4862
|
-
F(
|
|
4861
|
+
m(m, b) {
|
|
4862
|
+
F(m, t, b), v(t, r), v(r, n), v(t, o), v(t, a), v(a, u), v(t, l), c || (f = re(t, "click", d), c = !0);
|
|
4863
4863
|
},
|
|
4864
|
-
p(
|
|
4865
|
-
e =
|
|
4864
|
+
p(m, b) {
|
|
4865
|
+
e = m, b[0] & /*languagesArray*/
|
|
4866
4866
|
512 && !ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4867
4867
|
e[22](
|
|
4868
4868
|
/*operatorLanguage*/
|
|
4869
|
-
e[
|
|
4870
|
-
)}.svg`) &&
|
|
4869
|
+
e[58]
|
|
4870
|
+
)}.svg`) && g(n, "src", i), b[0] & /*languagesArray*/
|
|
4871
4871
|
512 && s !== (s = /*operatorLanguage*/
|
|
4872
|
-
e[
|
|
4872
|
+
e[58] + "") && ge(u, s), b[0] & /*languageListOpen*/
|
|
4873
4873
|
2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
|
|
4874
|
-
(e[11] ? "Open" : "")) &&
|
|
4874
|
+
(e[11] ? "Open" : "")) && g(t, "class", h);
|
|
4875
4875
|
},
|
|
4876
|
-
d(
|
|
4877
|
-
|
|
4876
|
+
d(m) {
|
|
4877
|
+
m && I(t), c = !1, f();
|
|
4878
4878
|
}
|
|
4879
4879
|
};
|
|
4880
4880
|
}
|
|
4881
|
-
function
|
|
4881
|
+
function _r(e) {
|
|
4882
4882
|
let t, r = (
|
|
4883
4883
|
/*lang*/
|
|
4884
4884
|
e[1].slice(-2) + ""
|
|
@@ -4886,7 +4886,7 @@ function yr(e) {
|
|
|
4886
4886
|
return {
|
|
4887
4887
|
c() {
|
|
4888
4888
|
t = y("option"), n = te(r), t.__value = i = /*lang*/
|
|
4889
|
-
e[1],
|
|
4889
|
+
e[1], Ut(t, t.__value), t.selected = !0;
|
|
4890
4890
|
},
|
|
4891
4891
|
m(o, a) {
|
|
4892
4892
|
F(o, t, a), v(t, n);
|
|
@@ -4894,19 +4894,19 @@ function yr(e) {
|
|
|
4894
4894
|
p(o, a) {
|
|
4895
4895
|
a[0] & /*languagesArray*/
|
|
4896
4896
|
512 && r !== (r = /*lang*/
|
|
4897
|
-
o[1].slice(-2) + "") &&
|
|
4897
|
+
o[1].slice(-2) + "") && ge(n, r), a[0] & /*languagesArray*/
|
|
4898
4898
|
512 && i !== (i = /*lang*/
|
|
4899
|
-
o[1]) && (t.__value = i,
|
|
4899
|
+
o[1]) && (t.__value = i, Ut(t, t.__value));
|
|
4900
4900
|
},
|
|
4901
4901
|
d(o) {
|
|
4902
4902
|
o && I(t);
|
|
4903
4903
|
}
|
|
4904
4904
|
};
|
|
4905
4905
|
}
|
|
4906
|
-
function
|
|
4906
|
+
function oa(e) {
|
|
4907
4907
|
let t, r = (
|
|
4908
4908
|
/*show*/
|
|
4909
|
-
e[8] === !0 &&
|
|
4909
|
+
e[8] === !0 && fr(e)
|
|
4910
4910
|
);
|
|
4911
4911
|
return {
|
|
4912
4912
|
c() {
|
|
@@ -4917,7 +4917,7 @@ function ia(e) {
|
|
|
4917
4917
|
},
|
|
4918
4918
|
p(n, i) {
|
|
4919
4919
|
/*show*/
|
|
4920
|
-
n[8] === !0 ? r ? r.p(n, i) : (r =
|
|
4920
|
+
n[8] === !0 ? r ? r.p(n, i) : (r = fr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4921
4921
|
},
|
|
4922
4922
|
i: $,
|
|
4923
4923
|
o: $,
|
|
@@ -4926,28 +4926,28 @@ function ia(e) {
|
|
|
4926
4926
|
}
|
|
4927
4927
|
};
|
|
4928
4928
|
}
|
|
4929
|
-
function
|
|
4929
|
+
function aa(e, t, r) {
|
|
4930
4930
|
let n;
|
|
4931
|
-
|
|
4932
|
-
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: d = "" } = t, { clientstylingurl:
|
|
4933
|
-
const
|
|
4931
|
+
xn(e, Vo, (p) => r(15, n = p));
|
|
4932
|
+
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: d = "" } = t, { clientstylingurl: m = "" } = t, { customlocaleidentifier: b = "" } = t, { countryflaghamburger: w = "" } = t, T, B = window.navigator.userAgent, P = [], G, C = "", X = [], Z = !1, ie = !1, J = !0, N = [], j = !1, A = !1, L = !1, x = !1, R = !0, S, W = "", Q;
|
|
4933
|
+
const rn = () => {
|
|
4934
4934
|
fetch(c).then((p) => p.json()).then((p) => {
|
|
4935
|
-
Object.keys(p).forEach((
|
|
4936
|
-
|
|
4935
|
+
Object.keys(p).forEach((H) => {
|
|
4936
|
+
ar(H, p[H]);
|
|
4937
4937
|
});
|
|
4938
4938
|
}).catch((p) => {
|
|
4939
4939
|
console.log(p);
|
|
4940
4940
|
});
|
|
4941
4941
|
};
|
|
4942
|
-
Object.keys(
|
|
4943
|
-
|
|
4942
|
+
Object.keys(sr).forEach((p) => {
|
|
4943
|
+
ar(p, sr[p]);
|
|
4944
4944
|
});
|
|
4945
|
-
const
|
|
4945
|
+
const Ve = () => {
|
|
4946
4946
|
S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
|
|
4947
|
-
let p =
|
|
4947
|
+
let p = zo(B);
|
|
4948
4948
|
p && (p === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
|
|
4949
|
-
},
|
|
4950
|
-
r(12, x = !0), r(13, R = !0), r(10,
|
|
4949
|
+
}, wt = () => {
|
|
4950
|
+
r(12, x = !0), r(13, R = !0), r(10, A = !1), r(11, L = !1), setTimeout(
|
|
4951
4951
|
() => {
|
|
4952
4952
|
r(8, ie = !1), r(7, Z = !1);
|
|
4953
4953
|
},
|
|
@@ -4959,40 +4959,43 @@ function oa(e, t, r) {
|
|
|
4959
4959
|
},
|
|
4960
4960
|
window.location.href
|
|
4961
4961
|
);
|
|
4962
|
-
},
|
|
4962
|
+
}, St = (p) => {
|
|
4963
4963
|
p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
|
|
4964
4964
|
() => {
|
|
4965
4965
|
r(13, R = !1);
|
|
4966
4966
|
},
|
|
4967
4967
|
125
|
|
4968
|
-
), r(8, ie = !0), r(7, Z = !0),
|
|
4969
|
-
},
|
|
4970
|
-
r(5, C = p), r(6, X =
|
|
4968
|
+
), r(8, ie = !0), r(7, Z = !0), Ve(), Ot(S)), p.data.type === "LanguageChanged" && (j = !0, Ve(), Ot(S));
|
|
4969
|
+
}, Xe = (p, H) => {
|
|
4970
|
+
r(5, C = p), r(6, X = H || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4971
4971
|
context: "HamburgerMenu",
|
|
4972
4972
|
menuItem: `${C}`
|
|
4973
4973
|
});
|
|
4974
|
-
},
|
|
4975
|
-
|
|
4976
|
-
|
|
4974
|
+
}, Ht = (p) => {
|
|
4975
|
+
var H;
|
|
4976
|
+
!(p != null && p.children) && (p != null && p.path) && ((H = p == null ? void 0 : p.keyword) != null && H.includes("InternalLink")) && ze(p), Xe(p.id, p.children);
|
|
4977
|
+
}, Tt = () => {
|
|
4978
|
+
let p = P.filter((H) => {
|
|
4979
|
+
var Pt;
|
|
4977
4980
|
let oe = !1;
|
|
4978
|
-
return (
|
|
4979
|
-
|
|
4981
|
+
return (Pt = H.children) == null || Pt.forEach((dn) => {
|
|
4982
|
+
dn.path.includes(l) && (oe = !0);
|
|
4980
4983
|
}), oe;
|
|
4981
4984
|
});
|
|
4982
|
-
p.length > 0 ?
|
|
4983
|
-
},
|
|
4984
|
-
G && !j ||
|
|
4985
|
-
},
|
|
4986
|
-
fetch(p).then((
|
|
4987
|
-
(
|
|
4988
|
-
r(4, P =
|
|
4985
|
+
p.length > 0 ? Xe(p[0].id, p[0].children) : Xe(P[0].id, P[0].children);
|
|
4986
|
+
}, Ot = (p) => {
|
|
4987
|
+
G && !j || At(p);
|
|
4988
|
+
}, At = (p) => {
|
|
4989
|
+
fetch(p).then((H) => H.json()).then(
|
|
4990
|
+
(H) => {
|
|
4991
|
+
r(4, P = H.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), Tt(), r(34, J = !1), G = H, j = !1;
|
|
4989
4992
|
},
|
|
4990
|
-
(
|
|
4991
|
-
console.error(
|
|
4993
|
+
(H) => {
|
|
4994
|
+
console.error(H);
|
|
4992
4995
|
}
|
|
4993
4996
|
);
|
|
4994
4997
|
};
|
|
4995
|
-
let
|
|
4998
|
+
let ze = (p) => {
|
|
4996
4999
|
window.postMessage(
|
|
4997
5000
|
{
|
|
4998
5001
|
type: "NavigateTo",
|
|
@@ -5001,9 +5004,9 @@ function oa(e, t, r) {
|
|
|
5001
5004
|
target: p.attrs.target || null
|
|
5002
5005
|
},
|
|
5003
5006
|
window.location.href
|
|
5004
|
-
),
|
|
5007
|
+
), wt();
|
|
5005
5008
|
};
|
|
5006
|
-
const
|
|
5009
|
+
const Ze = () => {
|
|
5007
5010
|
j = !0, window.postMessage(
|
|
5008
5011
|
{
|
|
5009
5012
|
type: "LanguageChanged",
|
|
@@ -5011,93 +5014,93 @@ function oa(e, t, r) {
|
|
|
5011
5014
|
},
|
|
5012
5015
|
window.location.href
|
|
5013
5016
|
);
|
|
5014
|
-
},
|
|
5015
|
-
|
|
5016
|
-
},
|
|
5017
|
+
}, nn = () => {
|
|
5018
|
+
qo(u), Ve(), j && At(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((p) => p.toUpperCase())), r(14, W = u.toUpperCase());
|
|
5019
|
+
}, Mt = (p) => {
|
|
5017
5020
|
r(14, W = p), setTimeout(
|
|
5018
5021
|
() => {
|
|
5019
|
-
r(11,
|
|
5022
|
+
r(11, L = !1);
|
|
5020
5023
|
},
|
|
5021
5024
|
250
|
|
5022
5025
|
), setTimeout(
|
|
5023
5026
|
() => {
|
|
5024
|
-
r(10,
|
|
5027
|
+
r(10, A = !1);
|
|
5025
5028
|
},
|
|
5026
5029
|
500
|
|
5027
|
-
),
|
|
5028
|
-
},
|
|
5029
|
-
|
|
5030
|
+
), Ze();
|
|
5031
|
+
}, on = () => {
|
|
5032
|
+
A ? (setTimeout(
|
|
5030
5033
|
() => {
|
|
5031
|
-
r(10,
|
|
5034
|
+
r(10, A = !1);
|
|
5032
5035
|
},
|
|
5033
5036
|
250
|
|
5034
|
-
), r(11,
|
|
5037
|
+
), r(11, L = !1)) : (r(10, A = !0), setTimeout(
|
|
5035
5038
|
() => {
|
|
5036
|
-
r(11,
|
|
5039
|
+
r(11, L = !0);
|
|
5037
5040
|
},
|
|
5038
5041
|
300
|
|
5039
5042
|
));
|
|
5040
|
-
},
|
|
5041
|
-
let
|
|
5042
|
-
return b && (
|
|
5043
|
+
}, an = (p) => {
|
|
5044
|
+
let H = p ? p.slice(-2) : W.slice(-2);
|
|
5045
|
+
return b && (H = b.includes(H.toLowerCase()) ? b.slice(-2) : H), H == "EN" ? "GB" : H.toUpperCase();
|
|
5043
5046
|
};
|
|
5044
|
-
|
|
5045
|
-
window.removeEventListener("message",
|
|
5047
|
+
Mn(() => (window.addEventListener("message", St, !1), Xo(B), () => {
|
|
5048
|
+
window.removeEventListener("message", St);
|
|
5046
5049
|
}));
|
|
5047
|
-
const
|
|
5048
|
-
|
|
5050
|
+
const sn = (p) => Ht(p), un = (p, H) => {
|
|
5051
|
+
ze(p), H.preventDefault();
|
|
5049
5052
|
};
|
|
5050
|
-
function
|
|
5051
|
-
W =
|
|
5053
|
+
function ln() {
|
|
5054
|
+
W = Tn(this), r(14, W), r(9, N);
|
|
5052
5055
|
}
|
|
5053
|
-
const
|
|
5054
|
-
function
|
|
5055
|
-
|
|
5056
|
-
|
|
5056
|
+
const hn = () => Ze(), cn = (p) => Mt(p);
|
|
5057
|
+
function fn(p) {
|
|
5058
|
+
Ce[p ? "unshift" : "push"](() => {
|
|
5059
|
+
T = p, r(3, T);
|
|
5057
5060
|
});
|
|
5058
5061
|
}
|
|
5059
|
-
function
|
|
5060
|
-
|
|
5062
|
+
function pn(p) {
|
|
5063
|
+
Ce[p ? "unshift" : "push"](() => {
|
|
5061
5064
|
Q = p, r(2, Q);
|
|
5062
5065
|
});
|
|
5063
5066
|
}
|
|
5064
5067
|
return e.$$set = (p) => {
|
|
5065
|
-
"menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32,
|
|
5068
|
+
"menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32, m = p.clientstylingurl), "customlocaleidentifier" in p && r(33, b = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, w = p.countryflaghamburger);
|
|
5066
5069
|
}, e.$$.update = () => {
|
|
5067
5070
|
e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
|
|
5068
|
-
318767106 && o && a && u && h &&
|
|
5071
|
+
318767106 && o && a && u && h && nn(), e.$$.dirty[0] & /*activecategory*/
|
|
5069
5072
|
134217728 | e.$$.dirty[1] & /*isLoading*/
|
|
5070
|
-
8 && l && !J &&
|
|
5071
|
-
536870912 && c &&
|
|
5073
|
+
8 && l && !J && Tt(), e.$$.dirty[0] & /*translationurl*/
|
|
5074
|
+
536870912 && c && rn(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5072
5075
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
5073
|
-
1 && d && Q &&
|
|
5076
|
+
1 && d && Q && Zo(Q, d), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5074
5077
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5075
|
-
2 &&
|
|
5076
|
-
1073741828 && f && Q &&
|
|
5078
|
+
2 && m && Q && Qo(Q, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5079
|
+
1073741828 && f && Q && Yo(Q, `${f}.Style`);
|
|
5077
5080
|
}, [
|
|
5078
5081
|
w,
|
|
5079
5082
|
u,
|
|
5080
5083
|
Q,
|
|
5081
|
-
|
|
5084
|
+
T,
|
|
5082
5085
|
P,
|
|
5083
5086
|
C,
|
|
5084
5087
|
X,
|
|
5085
5088
|
Z,
|
|
5086
5089
|
ie,
|
|
5087
5090
|
N,
|
|
5088
|
-
|
|
5089
|
-
|
|
5091
|
+
A,
|
|
5092
|
+
L,
|
|
5090
5093
|
x,
|
|
5091
5094
|
R,
|
|
5092
5095
|
W,
|
|
5093
5096
|
n,
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
Ot,
|
|
5097
|
+
wt,
|
|
5098
|
+
Ht,
|
|
5097
5099
|
ze,
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
+
Ze,
|
|
5101
|
+
Mt,
|
|
5100
5102
|
on,
|
|
5103
|
+
an,
|
|
5101
5104
|
i,
|
|
5102
5105
|
o,
|
|
5103
5106
|
a,
|
|
@@ -5107,26 +5110,26 @@ function oa(e, t, r) {
|
|
|
5107
5110
|
c,
|
|
5108
5111
|
f,
|
|
5109
5112
|
d,
|
|
5110
|
-
|
|
5113
|
+
m,
|
|
5111
5114
|
b,
|
|
5112
5115
|
J,
|
|
5113
|
-
an,
|
|
5114
5116
|
sn,
|
|
5115
5117
|
un,
|
|
5116
5118
|
ln,
|
|
5117
5119
|
hn,
|
|
5118
5120
|
cn,
|
|
5119
|
-
fn
|
|
5121
|
+
fn,
|
|
5122
|
+
pn
|
|
5120
5123
|
];
|
|
5121
5124
|
}
|
|
5122
|
-
class
|
|
5125
|
+
class sa extends Gn {
|
|
5123
5126
|
constructor(t) {
|
|
5124
|
-
super(),
|
|
5127
|
+
super(), kn(
|
|
5125
5128
|
this,
|
|
5126
5129
|
t,
|
|
5130
|
+
aa,
|
|
5127
5131
|
oa,
|
|
5128
|
-
|
|
5129
|
-
xr,
|
|
5132
|
+
Er,
|
|
5130
5133
|
{
|
|
5131
5134
|
menuitemsurl: 23,
|
|
5132
5135
|
cmsendpoint: 24,
|
|
@@ -5142,7 +5145,7 @@ class aa extends kn {
|
|
|
5142
5145
|
customlocaleidentifier: 33,
|
|
5143
5146
|
countryflaghamburger: 0
|
|
5144
5147
|
},
|
|
5145
|
-
|
|
5148
|
+
Jo,
|
|
5146
5149
|
[-1, -1, -1]
|
|
5147
5150
|
);
|
|
5148
5151
|
}
|
|
@@ -5150,82 +5153,82 @@ class aa extends kn {
|
|
|
5150
5153
|
return this.$$.ctx[23];
|
|
5151
5154
|
}
|
|
5152
5155
|
set menuitemsurl(t) {
|
|
5153
|
-
this.$$set({ menuitemsurl: t }),
|
|
5156
|
+
this.$$set({ menuitemsurl: t }), k();
|
|
5154
5157
|
}
|
|
5155
5158
|
get cmsendpoint() {
|
|
5156
5159
|
return this.$$.ctx[24];
|
|
5157
5160
|
}
|
|
5158
5161
|
set cmsendpoint(t) {
|
|
5159
|
-
this.$$set({ cmsendpoint: t }),
|
|
5162
|
+
this.$$set({ cmsendpoint: t }), k();
|
|
5160
5163
|
}
|
|
5161
5164
|
get cmsenv() {
|
|
5162
5165
|
return this.$$.ctx[25];
|
|
5163
5166
|
}
|
|
5164
5167
|
set cmsenv(t) {
|
|
5165
|
-
this.$$set({ cmsenv: t }),
|
|
5168
|
+
this.$$set({ cmsenv: t }), k();
|
|
5166
5169
|
}
|
|
5167
5170
|
get userroles() {
|
|
5168
5171
|
return this.$$.ctx[26];
|
|
5169
5172
|
}
|
|
5170
5173
|
set userroles(t) {
|
|
5171
|
-
this.$$set({ userroles: t }),
|
|
5174
|
+
this.$$set({ userroles: t }), k();
|
|
5172
5175
|
}
|
|
5173
5176
|
get lang() {
|
|
5174
5177
|
return this.$$.ctx[1];
|
|
5175
5178
|
}
|
|
5176
5179
|
set lang(t) {
|
|
5177
|
-
this.$$set({ lang: t }),
|
|
5180
|
+
this.$$set({ lang: t }), k();
|
|
5178
5181
|
}
|
|
5179
5182
|
get activecategory() {
|
|
5180
5183
|
return this.$$.ctx[27];
|
|
5181
5184
|
}
|
|
5182
5185
|
set activecategory(t) {
|
|
5183
|
-
this.$$set({ activecategory: t }),
|
|
5186
|
+
this.$$set({ activecategory: t }), k();
|
|
5184
5187
|
}
|
|
5185
5188
|
get languageslist() {
|
|
5186
5189
|
return this.$$.ctx[28];
|
|
5187
5190
|
}
|
|
5188
5191
|
set languageslist(t) {
|
|
5189
|
-
this.$$set({ languageslist: t }),
|
|
5192
|
+
this.$$set({ languageslist: t }), k();
|
|
5190
5193
|
}
|
|
5191
5194
|
get translationurl() {
|
|
5192
5195
|
return this.$$.ctx[29];
|
|
5193
5196
|
}
|
|
5194
5197
|
set translationurl(t) {
|
|
5195
|
-
this.$$set({ translationurl: t }),
|
|
5198
|
+
this.$$set({ translationurl: t }), k();
|
|
5196
5199
|
}
|
|
5197
5200
|
get mbsource() {
|
|
5198
5201
|
return this.$$.ctx[30];
|
|
5199
5202
|
}
|
|
5200
5203
|
set mbsource(t) {
|
|
5201
|
-
this.$$set({ mbsource: t }),
|
|
5204
|
+
this.$$set({ mbsource: t }), k();
|
|
5202
5205
|
}
|
|
5203
5206
|
get clientstyling() {
|
|
5204
5207
|
return this.$$.ctx[31];
|
|
5205
5208
|
}
|
|
5206
5209
|
set clientstyling(t) {
|
|
5207
|
-
this.$$set({ clientstyling: t }),
|
|
5210
|
+
this.$$set({ clientstyling: t }), k();
|
|
5208
5211
|
}
|
|
5209
5212
|
get clientstylingurl() {
|
|
5210
5213
|
return this.$$.ctx[32];
|
|
5211
5214
|
}
|
|
5212
5215
|
set clientstylingurl(t) {
|
|
5213
|
-
this.$$set({ clientstylingurl: t }),
|
|
5216
|
+
this.$$set({ clientstylingurl: t }), k();
|
|
5214
5217
|
}
|
|
5215
5218
|
get customlocaleidentifier() {
|
|
5216
5219
|
return this.$$.ctx[33];
|
|
5217
5220
|
}
|
|
5218
5221
|
set customlocaleidentifier(t) {
|
|
5219
|
-
this.$$set({ customlocaleidentifier: t }),
|
|
5222
|
+
this.$$set({ customlocaleidentifier: t }), k();
|
|
5220
5223
|
}
|
|
5221
5224
|
get countryflaghamburger() {
|
|
5222
5225
|
return this.$$.ctx[0];
|
|
5223
5226
|
}
|
|
5224
5227
|
set countryflaghamburger(t) {
|
|
5225
|
-
this.$$set({ countryflaghamburger: t }),
|
|
5228
|
+
this.$$set({ countryflaghamburger: t }), k();
|
|
5226
5229
|
}
|
|
5227
5230
|
}
|
|
5228
|
-
Dn(
|
|
5231
|
+
Dn(sa, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
|
|
5229
5232
|
export {
|
|
5230
|
-
|
|
5233
|
+
sa as default
|
|
5231
5234
|
};
|