@everymatrix/general-navigation-bar 1.88.8 → 1.88.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-CDSsrqhi.js → GeneralNavigationBar-Bna0JABo.js} +1332 -1104
- package/components/GeneralNavigationBar-CC5Xjnkr.cjs +18 -0
- package/components/{GeneralNavigationBar-CYM24PAI.js → GeneralNavigationBar-DldhffL6.js} +1271 -1047
- package/components/SvgImage-D1QXkZH1.js +705 -0
- package/components/SvgImage-QaxCfkyn.cjs +2 -0
- package/components/SvgImage-y8BCPmc2.js +724 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +7 -7
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-NOK4UYhU.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function U() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function fn(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,50 +8,50 @@ function un(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function dr(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Mt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function le(e) {
|
|
18
|
+
e.forEach(dr);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Nt(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function pr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
let
|
|
27
|
-
function
|
|
28
|
-
return e === t ? !0 : (
|
|
26
|
+
let Ae;
|
|
27
|
+
function $(e, t) {
|
|
28
|
+
return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function mn(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function gr(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
37
|
-
return
|
|
37
|
+
return U;
|
|
38
38
|
}
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function dn(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(gr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function pn(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = vr(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function vr(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? fn(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function gn(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function dn(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function vn(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = vr(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function bn(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -81,17 +81,17 @@ function pn(e) {
|
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function y(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function yn(e, t, r) {
|
|
88
|
+
const n = _n(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
|
-
const i =
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
90
|
+
const i = x("style");
|
|
91
|
+
i.id = t, i.textContent = r, wn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function _n(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,52 +101,56 @@ function vn(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function wn(e, t) {
|
|
105
|
+
return y(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
108
108
|
t
|
|
109
109
|
), t.sheet;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function M(e, t, r) {
|
|
112
112
|
e.insertBefore(t, r || null);
|
|
113
113
|
}
|
|
114
114
|
function H(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function br(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function x(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function O(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ue(e) {
|
|
128
128
|
return document.createTextNode(e);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
return
|
|
130
|
+
function j() {
|
|
131
|
+
return ue(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function En() {
|
|
134
|
+
return ue("");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function De(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
138
138
|
}
|
|
139
139
|
function h(e, t, r) {
|
|
140
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function A(e, t, r) {
|
|
143
|
+
const n = t.toLowerCase();
|
|
144
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
145
|
+
}
|
|
146
|
+
function xn(e) {
|
|
143
147
|
return Array.from(e.childNodes);
|
|
144
148
|
}
|
|
145
149
|
function Ge(e, t) {
|
|
146
150
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
151
|
t);
|
|
148
152
|
}
|
|
149
|
-
function
|
|
153
|
+
function Nn(e) {
|
|
150
154
|
const t = {};
|
|
151
155
|
return e.childNodes.forEach(
|
|
152
156
|
/** @param {Element} node */
|
|
@@ -155,120 +159,123 @@ function wn(e) {
|
|
|
155
159
|
}
|
|
156
160
|
), t;
|
|
157
161
|
}
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
162
|
+
let ye;
|
|
163
|
+
function be(e) {
|
|
164
|
+
ye = e;
|
|
161
165
|
}
|
|
162
|
-
function
|
|
163
|
-
if (!
|
|
166
|
+
function yr() {
|
|
167
|
+
if (!ye)
|
|
164
168
|
throw new Error("Function called outside component initialization");
|
|
165
|
-
return
|
|
169
|
+
return ye;
|
|
170
|
+
}
|
|
171
|
+
function Sn(e) {
|
|
172
|
+
yr().$$.on_mount.push(e);
|
|
166
173
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
174
|
+
function aa(e) {
|
|
175
|
+
yr().$$.on_destroy.push(e);
|
|
169
176
|
}
|
|
170
|
-
const
|
|
171
|
-
let
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
function
|
|
175
|
-
|
|
177
|
+
const te = [], at = [];
|
|
178
|
+
let ne = [];
|
|
179
|
+
const Ot = [], In = /* @__PURE__ */ Promise.resolve();
|
|
180
|
+
let st = !1;
|
|
181
|
+
function An() {
|
|
182
|
+
st || (st = !0, In.then(L));
|
|
176
183
|
}
|
|
177
|
-
function
|
|
178
|
-
|
|
184
|
+
function lt(e) {
|
|
185
|
+
ne.push(e);
|
|
179
186
|
}
|
|
180
|
-
const
|
|
181
|
-
let
|
|
182
|
-
function
|
|
183
|
-
if (
|
|
187
|
+
const qe = /* @__PURE__ */ new Set();
|
|
188
|
+
let K = 0;
|
|
189
|
+
function L() {
|
|
190
|
+
if (K !== 0)
|
|
184
191
|
return;
|
|
185
|
-
const e =
|
|
192
|
+
const e = ye;
|
|
186
193
|
do {
|
|
187
194
|
try {
|
|
188
|
-
for (;
|
|
189
|
-
const t =
|
|
190
|
-
|
|
195
|
+
for (; K < te.length; ) {
|
|
196
|
+
const t = te[K];
|
|
197
|
+
K++, be(t), Bn(t.$$);
|
|
191
198
|
}
|
|
192
199
|
} catch (t) {
|
|
193
|
-
throw
|
|
200
|
+
throw te.length = 0, K = 0, t;
|
|
194
201
|
}
|
|
195
|
-
for (
|
|
196
|
-
|
|
197
|
-
for (let t = 0; t <
|
|
198
|
-
const r =
|
|
199
|
-
|
|
202
|
+
for (be(null), te.length = 0, K = 0; at.length; )
|
|
203
|
+
at.pop()();
|
|
204
|
+
for (let t = 0; t < ne.length; t += 1) {
|
|
205
|
+
const r = ne[t];
|
|
206
|
+
qe.has(r) || (qe.add(r), r());
|
|
200
207
|
}
|
|
201
|
-
|
|
202
|
-
} while (
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
208
|
+
ne.length = 0;
|
|
209
|
+
} while (te.length);
|
|
210
|
+
for (; Ot.length; )
|
|
211
|
+
Ot.pop()();
|
|
212
|
+
st = !1, qe.clear(), be(e);
|
|
206
213
|
}
|
|
207
|
-
function
|
|
214
|
+
function Bn(e) {
|
|
208
215
|
if (e.fragment !== null) {
|
|
209
|
-
e.update(),
|
|
216
|
+
e.update(), le(e.before_update);
|
|
210
217
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
218
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
212
219
|
}
|
|
213
220
|
}
|
|
214
|
-
function
|
|
221
|
+
function Tn(e) {
|
|
215
222
|
const t = [], r = [];
|
|
216
|
-
|
|
223
|
+
ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
|
|
217
224
|
}
|
|
218
|
-
const
|
|
219
|
-
let
|
|
220
|
-
function
|
|
221
|
-
|
|
225
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
226
|
+
let J;
|
|
227
|
+
function _r() {
|
|
228
|
+
J = {
|
|
222
229
|
r: 0,
|
|
223
230
|
c: [],
|
|
224
|
-
p:
|
|
231
|
+
p: J
|
|
225
232
|
// parent group
|
|
226
233
|
};
|
|
227
234
|
}
|
|
228
|
-
function
|
|
229
|
-
|
|
235
|
+
function wr() {
|
|
236
|
+
J.r || le(J.c), J = J.p;
|
|
230
237
|
}
|
|
231
|
-
function
|
|
232
|
-
e && e.i && (
|
|
238
|
+
function Y(e, t) {
|
|
239
|
+
e && e.i && (Pe.delete(e), e.i(t));
|
|
233
240
|
}
|
|
234
|
-
function
|
|
241
|
+
function _e(e, t, r, n) {
|
|
235
242
|
if (e && e.o) {
|
|
236
|
-
if (
|
|
243
|
+
if (Pe.has(e))
|
|
237
244
|
return;
|
|
238
|
-
|
|
239
|
-
|
|
245
|
+
Pe.add(e), J.c.push(() => {
|
|
246
|
+
Pe.delete(e), n && (r && e.d(1), n());
|
|
240
247
|
}), e.o(t);
|
|
241
248
|
} else
|
|
242
249
|
n && n();
|
|
243
250
|
}
|
|
244
|
-
function
|
|
251
|
+
function Ce(e) {
|
|
245
252
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
253
|
}
|
|
247
|
-
function
|
|
254
|
+
function Pn(e, t, r) {
|
|
248
255
|
const { fragment: n, after_update: i } = e.$$;
|
|
249
|
-
n && n.m(t, r),
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
251
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
252
|
-
}), i.forEach(
|
|
256
|
+
n && n.m(t, r), lt(() => {
|
|
257
|
+
const o = e.$$.on_mount.map(dr).filter(Nt);
|
|
258
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
|
|
259
|
+
}), i.forEach(lt);
|
|
253
260
|
}
|
|
254
|
-
function
|
|
261
|
+
function Hn(e, t) {
|
|
255
262
|
const r = e.$$;
|
|
256
|
-
r.fragment !== null && (
|
|
263
|
+
r.fragment !== null && (Tn(r.after_update), le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
257
264
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (
|
|
265
|
+
function Mn(e, t) {
|
|
266
|
+
e.$$.dirty[0] === -1 && (te.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
267
|
}
|
|
261
|
-
function
|
|
262
|
-
const l =
|
|
263
|
-
|
|
268
|
+
function On(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
269
|
+
const l = ye;
|
|
270
|
+
be(e);
|
|
264
271
|
const c = e.$$ = {
|
|
265
272
|
fragment: null,
|
|
266
273
|
ctx: [],
|
|
267
274
|
// state
|
|
268
275
|
props: o,
|
|
269
|
-
update:
|
|
276
|
+
update: U,
|
|
270
277
|
not_equal: i,
|
|
271
|
-
bound:
|
|
278
|
+
bound: Mt(),
|
|
272
279
|
// lifecycle
|
|
273
280
|
on_mount: [],
|
|
274
281
|
on_destroy: [],
|
|
@@ -277,28 +284,28 @@ function Hn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
284
|
after_update: [],
|
|
278
285
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
279
286
|
// everything else
|
|
280
|
-
callbacks:
|
|
287
|
+
callbacks: Mt(),
|
|
281
288
|
dirty: s,
|
|
282
289
|
skip_bound: !1,
|
|
283
290
|
root: t.target || l.$$.root
|
|
284
291
|
};
|
|
285
292
|
a && a(c.root);
|
|
286
293
|
let u = !1;
|
|
287
|
-
if (c.ctx = r ? r(e, t.props || {}, (
|
|
294
|
+
if (c.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
|
288
295
|
const g = p.length ? p[0] : f;
|
|
289
|
-
return c.ctx && i(c.ctx[
|
|
290
|
-
}) : [], c.update(), u = !0,
|
|
296
|
+
return c.ctx && i(c.ctx[m], c.ctx[m] = g) && (!c.skip_bound && c.bound[m] && c.bound[m](g), u && Mn(e, m)), f;
|
|
297
|
+
}) : [], c.update(), u = !0, le(c.before_update), c.fragment = n ? n(c.ctx) : !1, t.target) {
|
|
291
298
|
if (t.hydrate) {
|
|
292
|
-
const
|
|
293
|
-
c.fragment && c.fragment.l(
|
|
299
|
+
const m = xn(t.target);
|
|
300
|
+
c.fragment && c.fragment.l(m), m.forEach(H);
|
|
294
301
|
} else
|
|
295
302
|
c.fragment && c.fragment.c();
|
|
296
|
-
t.intro &&
|
|
303
|
+
t.intro && Y(e.$$.fragment), Pn(e, t.target, t.anchor), L();
|
|
297
304
|
}
|
|
298
|
-
|
|
305
|
+
be(l);
|
|
299
306
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
307
|
+
let Er;
|
|
308
|
+
typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
302
309
|
/** The Svelte component constructor */
|
|
303
310
|
$$ctor;
|
|
304
311
|
/** Slots */
|
|
@@ -340,14 +347,14 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
340
347
|
let o;
|
|
341
348
|
return {
|
|
342
349
|
c: function() {
|
|
343
|
-
o =
|
|
350
|
+
o = x("slot"), i !== "default" && h(o, "name", i);
|
|
344
351
|
},
|
|
345
352
|
/**
|
|
346
353
|
* @param {HTMLElement} target
|
|
347
354
|
* @param {HTMLElement} [anchor]
|
|
348
355
|
*/
|
|
349
356
|
m: function(l, c) {
|
|
350
|
-
|
|
357
|
+
M(l, o, c);
|
|
351
358
|
},
|
|
352
359
|
d: function(l) {
|
|
353
360
|
l && H(o);
|
|
@@ -357,12 +364,12 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
357
364
|
};
|
|
358
365
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
366
|
return;
|
|
360
|
-
const t = {}, r =
|
|
367
|
+
const t = {}, r = Nn(this);
|
|
361
368
|
for (const i of this.$$s)
|
|
362
369
|
i in r && (t[i] = [e(i)]);
|
|
363
370
|
for (const i of this.attributes) {
|
|
364
371
|
const o = this.$$g_p(i.name);
|
|
365
|
-
o in this.$$d || (this.$$d[o] =
|
|
372
|
+
o in this.$$d || (this.$$d[o] = He(o, i.value, this.$$p_d, "toProp"));
|
|
366
373
|
}
|
|
367
374
|
for (const i in this.$$p_d)
|
|
368
375
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -380,7 +387,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
380
387
|
this.$$r = !0;
|
|
381
388
|
for (const i in this.$$p_d)
|
|
382
389
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
383
|
-
const o =
|
|
390
|
+
const o = He(
|
|
384
391
|
i,
|
|
385
392
|
this.$$d[i],
|
|
386
393
|
this.$$p_d,
|
|
@@ -402,7 +409,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
402
409
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
403
410
|
// and setting attributes through setAttribute etc, this is helpful
|
|
404
411
|
attributeChangedCallback(e, t, r) {
|
|
405
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
412
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = He(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
406
413
|
}
|
|
407
414
|
disconnectedCallback() {
|
|
408
415
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -415,7 +422,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
415
422
|
) || e;
|
|
416
423
|
}
|
|
417
424
|
});
|
|
418
|
-
function
|
|
425
|
+
function He(e, t, r, n) {
|
|
419
426
|
const i = r[e]?.type;
|
|
420
427
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
421
428
|
return t;
|
|
@@ -444,8 +451,8 @@ function Pe(e, t, r, n) {
|
|
|
444
451
|
return t;
|
|
445
452
|
}
|
|
446
453
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
454
|
+
function Ln(e, t, r, n, i, o) {
|
|
455
|
+
let a = class extends Er {
|
|
449
456
|
constructor() {
|
|
450
457
|
super(e, r, i), this.$$p_d = t;
|
|
451
458
|
}
|
|
@@ -461,7 +468,7 @@ function Mn(e, t, r, n, i, o) {
|
|
|
461
468
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
462
469
|
},
|
|
463
470
|
set(l) {
|
|
464
|
-
l =
|
|
471
|
+
l = He(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
465
472
|
}
|
|
466
473
|
});
|
|
467
474
|
}), n.forEach((s) => {
|
|
@@ -473,7 +480,7 @@ function Mn(e, t, r, n, i, o) {
|
|
|
473
480
|
}), e.element = /** @type {any} */
|
|
474
481
|
a, a;
|
|
475
482
|
}
|
|
476
|
-
class
|
|
483
|
+
class Cn {
|
|
477
484
|
/**
|
|
478
485
|
* ### PRIVATE API
|
|
479
486
|
*
|
|
@@ -492,7 +499,7 @@ class On {
|
|
|
492
499
|
$$set = void 0;
|
|
493
500
|
/** @returns {void} */
|
|
494
501
|
$destroy() {
|
|
495
|
-
|
|
502
|
+
Hn(this, 1), this.$destroy = U;
|
|
496
503
|
}
|
|
497
504
|
/**
|
|
498
505
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,8 +508,8 @@ class On {
|
|
|
501
508
|
* @returns {() => void}
|
|
502
509
|
*/
|
|
503
510
|
$on(t, r) {
|
|
504
|
-
if (!
|
|
505
|
-
return
|
|
511
|
+
if (!Nt(r))
|
|
512
|
+
return U;
|
|
506
513
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
507
514
|
return n.push(r), () => {
|
|
508
515
|
const i = n.indexOf(r);
|
|
@@ -514,11 +521,11 @@ class On {
|
|
|
514
521
|
* @returns {void}
|
|
515
522
|
*/
|
|
516
523
|
$set(t) {
|
|
517
|
-
this.$$set && !
|
|
524
|
+
this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
525
|
}
|
|
519
526
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
527
|
+
const Fn = "4";
|
|
528
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fn);
|
|
522
529
|
/*! *****************************************************************************
|
|
523
530
|
Copyright (c) Microsoft Corporation.
|
|
524
531
|
|
|
@@ -533,24 +540,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
540
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
541
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
542
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
543
|
+
var ut = function(e, t) {
|
|
544
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
538
545
|
r.__proto__ = n;
|
|
539
546
|
} || function(r, n) {
|
|
540
547
|
for (var i in n)
|
|
541
548
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
-
},
|
|
549
|
+
}, ut(e, t);
|
|
543
550
|
};
|
|
544
551
|
function xe(e, t) {
|
|
545
552
|
if (typeof t != "function" && t !== null)
|
|
546
553
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
554
|
+
ut(e, t);
|
|
548
555
|
function r() {
|
|
549
556
|
this.constructor = e;
|
|
550
557
|
}
|
|
551
558
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
552
559
|
}
|
|
553
|
-
function
|
|
560
|
+
function ct(e) {
|
|
554
561
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
555
562
|
if (r)
|
|
556
563
|
return r.call(e);
|
|
@@ -562,7 +569,7 @@ function ut(e) {
|
|
|
562
569
|
};
|
|
563
570
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
564
571
|
}
|
|
565
|
-
function
|
|
572
|
+
function ht(e, t) {
|
|
566
573
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
567
574
|
if (!r)
|
|
568
575
|
return e;
|
|
@@ -582,22 +589,22 @@ function ct(e, t) {
|
|
|
582
589
|
}
|
|
583
590
|
return o;
|
|
584
591
|
}
|
|
585
|
-
function
|
|
592
|
+
function ft(e, t, r) {
|
|
586
593
|
if (arguments.length === 2)
|
|
587
594
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
588
595
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
589
596
|
return e.concat(o || t);
|
|
590
597
|
}
|
|
591
|
-
function
|
|
598
|
+
function z(e) {
|
|
592
599
|
return typeof e == "function";
|
|
593
600
|
}
|
|
594
|
-
function
|
|
601
|
+
function xr(e) {
|
|
595
602
|
var t = function(n) {
|
|
596
603
|
Error.call(n), n.stack = new Error().stack;
|
|
597
604
|
}, r = e(t);
|
|
598
605
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
599
606
|
}
|
|
600
|
-
var
|
|
607
|
+
var Ke = xr(function(e) {
|
|
601
608
|
return function(r) {
|
|
602
609
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
603
610
|
` + r.map(function(n, i) {
|
|
@@ -606,13 +613,13 @@ var qe = _r(function(e) {
|
|
|
606
613
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
607
614
|
};
|
|
608
615
|
});
|
|
609
|
-
function
|
|
616
|
+
function mt(e, t) {
|
|
610
617
|
if (e) {
|
|
611
618
|
var r = e.indexOf(t);
|
|
612
619
|
0 <= r && e.splice(r, 1);
|
|
613
620
|
}
|
|
614
621
|
}
|
|
615
|
-
var
|
|
622
|
+
var ke = function() {
|
|
616
623
|
function e(t) {
|
|
617
624
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
618
625
|
}
|
|
@@ -624,7 +631,7 @@ var De = function() {
|
|
|
624
631
|
if (a)
|
|
625
632
|
if (this._parentage = null, Array.isArray(a))
|
|
626
633
|
try {
|
|
627
|
-
for (var s =
|
|
634
|
+
for (var s = ct(a), l = s.next(); !l.done; l = s.next()) {
|
|
628
635
|
var c = l.value;
|
|
629
636
|
c.remove(this);
|
|
630
637
|
}
|
|
@@ -641,22 +648,22 @@ var De = function() {
|
|
|
641
648
|
else
|
|
642
649
|
a.remove(this);
|
|
643
650
|
var u = this.initialTeardown;
|
|
644
|
-
if (
|
|
651
|
+
if (z(u))
|
|
645
652
|
try {
|
|
646
653
|
u();
|
|
647
654
|
} catch (v) {
|
|
648
|
-
o = v instanceof
|
|
655
|
+
o = v instanceof Ke ? v.errors : [v];
|
|
649
656
|
}
|
|
650
|
-
var
|
|
651
|
-
if (
|
|
657
|
+
var m = this._finalizers;
|
|
658
|
+
if (m) {
|
|
652
659
|
this._finalizers = null;
|
|
653
660
|
try {
|
|
654
|
-
for (var f =
|
|
661
|
+
for (var f = ct(m), p = f.next(); !p.done; p = f.next()) {
|
|
655
662
|
var g = p.value;
|
|
656
663
|
try {
|
|
657
|
-
|
|
664
|
+
Lt(g);
|
|
658
665
|
} catch (v) {
|
|
659
|
-
o = o ?? [], v instanceof
|
|
666
|
+
o = o ?? [], v instanceof Ke ? o = ft(ft([], ht(o)), ht(v.errors)) : o.push(v);
|
|
660
667
|
}
|
|
661
668
|
}
|
|
662
669
|
} catch (v) {
|
|
@@ -671,13 +678,13 @@ var De = function() {
|
|
|
671
678
|
}
|
|
672
679
|
}
|
|
673
680
|
if (o)
|
|
674
|
-
throw new
|
|
681
|
+
throw new Ke(o);
|
|
675
682
|
}
|
|
676
683
|
}, e.prototype.add = function(t) {
|
|
677
684
|
var r;
|
|
678
685
|
if (t && t !== this)
|
|
679
686
|
if (this.closed)
|
|
680
|
-
|
|
687
|
+
Lt(t);
|
|
681
688
|
else {
|
|
682
689
|
if (t instanceof e) {
|
|
683
690
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,49 +701,49 @@ var De = function() {
|
|
|
694
701
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
702
|
}, e.prototype._removeParent = function(t) {
|
|
696
703
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
704
|
+
r === t ? this._parentage = null : Array.isArray(r) && mt(r, t);
|
|
698
705
|
}, e.prototype.remove = function(t) {
|
|
699
706
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
707
|
+
r && mt(r, t), t instanceof e && t._removeParent(this);
|
|
701
708
|
}, e.EMPTY = function() {
|
|
702
709
|
var t = new e();
|
|
703
710
|
return t.closed = !0, t;
|
|
704
711
|
}(), e;
|
|
705
|
-
}(),
|
|
706
|
-
function
|
|
707
|
-
return e instanceof
|
|
712
|
+
}(), Nr = ke.EMPTY;
|
|
713
|
+
function Sr(e) {
|
|
714
|
+
return e instanceof ke || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
|
|
708
715
|
}
|
|
709
|
-
function
|
|
710
|
-
|
|
716
|
+
function Lt(e) {
|
|
717
|
+
z(e) ? e() : e.unsubscribe();
|
|
711
718
|
}
|
|
712
|
-
var
|
|
719
|
+
var Rn = {
|
|
713
720
|
Promise: void 0
|
|
714
|
-
},
|
|
721
|
+
}, Un = {
|
|
715
722
|
setTimeout: function(e, t) {
|
|
716
723
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
717
724
|
r[n - 2] = arguments[n];
|
|
718
|
-
return setTimeout.apply(void 0,
|
|
725
|
+
return setTimeout.apply(void 0, ft([e, t], ht(r)));
|
|
719
726
|
},
|
|
720
727
|
clearTimeout: function(e) {
|
|
721
728
|
return clearTimeout(e);
|
|
722
729
|
},
|
|
723
730
|
delegate: void 0
|
|
724
731
|
};
|
|
725
|
-
function
|
|
726
|
-
|
|
732
|
+
function Dn(e) {
|
|
733
|
+
Un.setTimeout(function() {
|
|
727
734
|
throw e;
|
|
728
735
|
});
|
|
729
736
|
}
|
|
730
|
-
function
|
|
737
|
+
function Ct() {
|
|
731
738
|
}
|
|
732
|
-
function
|
|
739
|
+
function Me(e) {
|
|
733
740
|
e();
|
|
734
741
|
}
|
|
735
|
-
var
|
|
742
|
+
var Ir = function(e) {
|
|
736
743
|
xe(t, e);
|
|
737
744
|
function t(r) {
|
|
738
745
|
var n = e.call(this) || this;
|
|
739
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
746
|
+
return n.isStopped = !1, r ? (n.destination = r, Sr(r) && r.add(n)) : n.destination = $n, n;
|
|
740
747
|
}
|
|
741
748
|
return t.create = function(r, n, i) {
|
|
742
749
|
return new dt(r, n, i);
|
|
@@ -763,7 +770,7 @@ var Er = function(e) {
|
|
|
763
770
|
this.unsubscribe();
|
|
764
771
|
}
|
|
765
772
|
}, t;
|
|
766
|
-
}(
|
|
773
|
+
}(ke), Gn = function() {
|
|
767
774
|
function e(t) {
|
|
768
775
|
this.partialObserver = t;
|
|
769
776
|
}
|
|
@@ -798,39 +805,39 @@ var Er = function(e) {
|
|
|
798
805
|
xe(t, e);
|
|
799
806
|
function t(r, n, i) {
|
|
800
807
|
var o = e.call(this) || this, a;
|
|
801
|
-
return
|
|
808
|
+
return z(r) || !r ? a = {
|
|
802
809
|
next: r ?? void 0,
|
|
803
810
|
error: n ?? void 0,
|
|
804
811
|
complete: i ?? void 0
|
|
805
|
-
} : a = r, o.destination = new
|
|
812
|
+
} : a = r, o.destination = new Gn(a), o;
|
|
806
813
|
}
|
|
807
814
|
return t;
|
|
808
|
-
}(
|
|
815
|
+
}(Ir);
|
|
809
816
|
function Be(e) {
|
|
810
|
-
|
|
817
|
+
Dn(e);
|
|
811
818
|
}
|
|
812
|
-
function
|
|
819
|
+
function kn(e) {
|
|
813
820
|
throw e;
|
|
814
821
|
}
|
|
815
|
-
var
|
|
822
|
+
var $n = {
|
|
816
823
|
closed: !0,
|
|
817
|
-
next:
|
|
818
|
-
error:
|
|
819
|
-
complete:
|
|
820
|
-
},
|
|
824
|
+
next: Ct,
|
|
825
|
+
error: kn,
|
|
826
|
+
complete: Ct
|
|
827
|
+
}, jn = function() {
|
|
821
828
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
822
829
|
}();
|
|
823
|
-
function
|
|
830
|
+
function Wn(e) {
|
|
824
831
|
return e;
|
|
825
832
|
}
|
|
826
|
-
function
|
|
827
|
-
return e.length === 0 ?
|
|
833
|
+
function Vn(e) {
|
|
834
|
+
return e.length === 0 ? Wn : e.length === 1 ? e[0] : function(r) {
|
|
828
835
|
return e.reduce(function(n, i) {
|
|
829
836
|
return i(n);
|
|
830
837
|
}, r);
|
|
831
838
|
};
|
|
832
839
|
}
|
|
833
|
-
var
|
|
840
|
+
var Ft = function() {
|
|
834
841
|
function e(t) {
|
|
835
842
|
t && (this._subscribe = t);
|
|
836
843
|
}
|
|
@@ -838,8 +845,8 @@ var Lt = function() {
|
|
|
838
845
|
var r = new e();
|
|
839
846
|
return r.source = this, r.operator = t, r;
|
|
840
847
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
841
|
-
var i = this, o =
|
|
842
|
-
return
|
|
848
|
+
var i = this, o = zn(t) ? t : new dt(t, r, n);
|
|
849
|
+
return Me(function() {
|
|
843
850
|
var a = i, s = a.operator, l = a.source;
|
|
844
851
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
845
852
|
}), o;
|
|
@@ -851,7 +858,7 @@ var Lt = function() {
|
|
|
851
858
|
}
|
|
852
859
|
}, e.prototype.forEach = function(t, r) {
|
|
853
860
|
var n = this;
|
|
854
|
-
return r =
|
|
861
|
+
return r = Rt(r), new r(function(i, o) {
|
|
855
862
|
var a = new dt({
|
|
856
863
|
next: function(s) {
|
|
857
864
|
try {
|
|
@@ -868,15 +875,15 @@ var Lt = function() {
|
|
|
868
875
|
}, e.prototype._subscribe = function(t) {
|
|
869
876
|
var r;
|
|
870
877
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
871
|
-
}, e.prototype[
|
|
878
|
+
}, e.prototype[jn] = function() {
|
|
872
879
|
return this;
|
|
873
880
|
}, e.prototype.pipe = function() {
|
|
874
881
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
875
882
|
t[r] = arguments[r];
|
|
876
|
-
return
|
|
883
|
+
return Vn(t)(this);
|
|
877
884
|
}, e.prototype.toPromise = function(t) {
|
|
878
885
|
var r = this;
|
|
879
|
-
return t =
|
|
886
|
+
return t = Rt(t), new t(function(n, i) {
|
|
880
887
|
var o;
|
|
881
888
|
r.subscribe(function(a) {
|
|
882
889
|
return o = a;
|
|
@@ -890,40 +897,40 @@ var Lt = function() {
|
|
|
890
897
|
return new e(t);
|
|
891
898
|
}, e;
|
|
892
899
|
}();
|
|
893
|
-
function
|
|
900
|
+
function Rt(e) {
|
|
894
901
|
var t;
|
|
895
|
-
return (t = e ??
|
|
902
|
+
return (t = e ?? Rn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
896
903
|
}
|
|
897
|
-
function
|
|
898
|
-
return e &&
|
|
904
|
+
function Xn(e) {
|
|
905
|
+
return e && z(e.next) && z(e.error) && z(e.complete);
|
|
899
906
|
}
|
|
900
|
-
function
|
|
901
|
-
return e && e instanceof
|
|
907
|
+
function zn(e) {
|
|
908
|
+
return e && e instanceof Ir || Xn(e) && Sr(e);
|
|
902
909
|
}
|
|
903
|
-
var
|
|
910
|
+
var Zn = xr(function(e) {
|
|
904
911
|
return function() {
|
|
905
912
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
906
913
|
};
|
|
907
|
-
}),
|
|
914
|
+
}), Ar = function(e) {
|
|
908
915
|
xe(t, e);
|
|
909
916
|
function t() {
|
|
910
917
|
var r = e.call(this) || this;
|
|
911
918
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
912
919
|
}
|
|
913
920
|
return t.prototype.lift = function(r) {
|
|
914
|
-
var n = new
|
|
921
|
+
var n = new Ut(this, this);
|
|
915
922
|
return n.operator = r, n;
|
|
916
923
|
}, t.prototype._throwIfClosed = function() {
|
|
917
924
|
if (this.closed)
|
|
918
|
-
throw new
|
|
925
|
+
throw new Zn();
|
|
919
926
|
}, t.prototype.next = function(r) {
|
|
920
927
|
var n = this;
|
|
921
|
-
|
|
928
|
+
Me(function() {
|
|
922
929
|
var i, o;
|
|
923
930
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
924
931
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
925
932
|
try {
|
|
926
|
-
for (var a =
|
|
933
|
+
for (var a = ct(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
927
934
|
var l = s.value;
|
|
928
935
|
l.next(r);
|
|
929
936
|
}
|
|
@@ -941,7 +948,7 @@ var Xn = _r(function(e) {
|
|
|
941
948
|
});
|
|
942
949
|
}, t.prototype.error = function(r) {
|
|
943
950
|
var n = this;
|
|
944
|
-
|
|
951
|
+
Me(function() {
|
|
945
952
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
946
953
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
947
954
|
for (var i = n.observers; i.length; )
|
|
@@ -950,7 +957,7 @@ var Xn = _r(function(e) {
|
|
|
950
957
|
});
|
|
951
958
|
}, t.prototype.complete = function() {
|
|
952
959
|
var r = this;
|
|
953
|
-
|
|
960
|
+
Me(function() {
|
|
954
961
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
955
962
|
r.isStopped = !0;
|
|
956
963
|
for (var n = r.observers; n.length; )
|
|
@@ -972,19 +979,19 @@ var Xn = _r(function(e) {
|
|
|
972
979
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
973
980
|
}, t.prototype._innerSubscribe = function(r) {
|
|
974
981
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
975
|
-
return o || a ?
|
|
976
|
-
n.currentObservers = null,
|
|
982
|
+
return o || a ? Nr : (this.currentObservers = null, s.push(r), new ke(function() {
|
|
983
|
+
n.currentObservers = null, mt(s, r);
|
|
977
984
|
}));
|
|
978
985
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
979
986
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
980
987
|
i ? r.error(o) : a && r.complete();
|
|
981
988
|
}, t.prototype.asObservable = function() {
|
|
982
|
-
var r = new
|
|
989
|
+
var r = new Ft();
|
|
983
990
|
return r.source = this, r;
|
|
984
991
|
}, t.create = function(r, n) {
|
|
985
|
-
return new
|
|
992
|
+
return new Ut(r, n);
|
|
986
993
|
}, t;
|
|
987
|
-
}(
|
|
994
|
+
}(Ft), Ut = function(e) {
|
|
988
995
|
xe(t, e);
|
|
989
996
|
function t(r, n) {
|
|
990
997
|
var i = e.call(this) || this;
|
|
@@ -1001,17 +1008,17 @@ var Xn = _r(function(e) {
|
|
|
1001
1008
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1002
1009
|
}, t.prototype._subscribe = function(r) {
|
|
1003
1010
|
var n, i;
|
|
1004
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1011
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nr;
|
|
1005
1012
|
}, t;
|
|
1006
|
-
}(
|
|
1013
|
+
}(Ar), Br = {
|
|
1007
1014
|
now: function() {
|
|
1008
|
-
return (
|
|
1015
|
+
return (Br.delegate || Date).now();
|
|
1009
1016
|
},
|
|
1010
1017
|
delegate: void 0
|
|
1011
|
-
},
|
|
1018
|
+
}, Qn = function(e) {
|
|
1012
1019
|
xe(t, e);
|
|
1013
1020
|
function t(r, n, i) {
|
|
1014
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1021
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
|
|
1015
1022
|
var o = e.call(this) || this;
|
|
1016
1023
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1017
1024
|
}
|
|
@@ -1031,62 +1038,62 @@ var Xn = _r(function(e) {
|
|
|
1031
1038
|
c && o.splice(0, c + 1);
|
|
1032
1039
|
}
|
|
1033
1040
|
}, t;
|
|
1034
|
-
}(
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1037
|
-
const r = new
|
|
1038
|
-
|
|
1041
|
+
}(Ar);
|
|
1042
|
+
const Dt = [], Gt = {}, Yn = (e, t = 0) => {
|
|
1043
|
+
if (Dt.indexOf(e) == -1) {
|
|
1044
|
+
const r = new Qn(t);
|
|
1045
|
+
Gt[e] = r, Dt.push(e);
|
|
1039
1046
|
}
|
|
1040
|
-
return
|
|
1041
|
-
},
|
|
1042
|
-
function
|
|
1047
|
+
return Gt[e];
|
|
1048
|
+
}, ee = [];
|
|
1049
|
+
function Jn(e, t) {
|
|
1043
1050
|
return {
|
|
1044
|
-
subscribe:
|
|
1051
|
+
subscribe: $e(e, t).subscribe
|
|
1045
1052
|
};
|
|
1046
1053
|
}
|
|
1047
|
-
function
|
|
1054
|
+
function $e(e, t = U) {
|
|
1048
1055
|
let r;
|
|
1049
1056
|
const n = /* @__PURE__ */ new Set();
|
|
1050
1057
|
function i(s) {
|
|
1051
|
-
if (
|
|
1052
|
-
const l = !
|
|
1058
|
+
if (pr(e, s) && (e = s, r)) {
|
|
1059
|
+
const l = !ee.length;
|
|
1053
1060
|
for (const c of n)
|
|
1054
|
-
c[1](),
|
|
1061
|
+
c[1](), ee.push(c, e);
|
|
1055
1062
|
if (l) {
|
|
1056
|
-
for (let c = 0; c <
|
|
1057
|
-
|
|
1058
|
-
|
|
1063
|
+
for (let c = 0; c < ee.length; c += 2)
|
|
1064
|
+
ee[c][0](ee[c + 1]);
|
|
1065
|
+
ee.length = 0;
|
|
1059
1066
|
}
|
|
1060
1067
|
}
|
|
1061
1068
|
}
|
|
1062
1069
|
function o(s) {
|
|
1063
1070
|
i(s(e));
|
|
1064
1071
|
}
|
|
1065
|
-
function a(s, l =
|
|
1072
|
+
function a(s, l = U) {
|
|
1066
1073
|
const c = [s, l];
|
|
1067
|
-
return n.add(c), n.size === 1 && (r = t(i, o) ||
|
|
1074
|
+
return n.add(c), n.size === 1 && (r = t(i, o) || U), s(e), () => {
|
|
1068
1075
|
n.delete(c), n.size === 0 && r && (r(), r = null);
|
|
1069
1076
|
};
|
|
1070
1077
|
}
|
|
1071
1078
|
return { set: i, update: o, subscribe: a };
|
|
1072
1079
|
}
|
|
1073
|
-
function
|
|
1080
|
+
function ce(e, t, r) {
|
|
1074
1081
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1075
1082
|
if (!i.every(Boolean))
|
|
1076
1083
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1077
1084
|
const o = t.length < 2;
|
|
1078
|
-
return
|
|
1085
|
+
return Jn(r, (a, s) => {
|
|
1079
1086
|
let l = !1;
|
|
1080
1087
|
const c = [];
|
|
1081
|
-
let u = 0,
|
|
1088
|
+
let u = 0, m = U;
|
|
1082
1089
|
const f = () => {
|
|
1083
1090
|
if (u)
|
|
1084
1091
|
return;
|
|
1085
|
-
|
|
1092
|
+
m();
|
|
1086
1093
|
const g = t(n ? c[0] : c, a, s);
|
|
1087
|
-
o ? a(g) :
|
|
1094
|
+
o ? a(g) : m = Nt(g) ? g : U;
|
|
1088
1095
|
}, p = i.map(
|
|
1089
|
-
(g, v) =>
|
|
1096
|
+
(g, v) => gr(
|
|
1090
1097
|
g,
|
|
1091
1098
|
(S) => {
|
|
1092
1099
|
c[v] = S, u &= ~(1 << v), l && f();
|
|
@@ -1097,96 +1104,96 @@ function le(e, t, r) {
|
|
|
1097
1104
|
)
|
|
1098
1105
|
);
|
|
1099
1106
|
return l = !0, f(), function() {
|
|
1100
|
-
|
|
1107
|
+
le(p), m(), l = !1;
|
|
1101
1108
|
};
|
|
1102
1109
|
});
|
|
1103
1110
|
}
|
|
1104
|
-
function
|
|
1111
|
+
function qn(e) {
|
|
1105
1112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1106
1113
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1114
|
+
var Kn = function(t) {
|
|
1115
|
+
return ei(t) && !ti(t);
|
|
1109
1116
|
};
|
|
1110
|
-
function
|
|
1117
|
+
function ei(e) {
|
|
1111
1118
|
return !!e && typeof e == "object";
|
|
1112
1119
|
}
|
|
1113
|
-
function
|
|
1120
|
+
function ti(e) {
|
|
1114
1121
|
var t = Object.prototype.toString.call(e);
|
|
1115
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1122
|
+
return t === "[object RegExp]" || t === "[object Date]" || ii(e);
|
|
1116
1123
|
}
|
|
1117
|
-
var
|
|
1118
|
-
function
|
|
1119
|
-
return e.$$typeof ===
|
|
1124
|
+
var ri = typeof Symbol == "function" && Symbol.for, ni = ri ? Symbol.for("react.element") : 60103;
|
|
1125
|
+
function ii(e) {
|
|
1126
|
+
return e.$$typeof === ni;
|
|
1120
1127
|
}
|
|
1121
|
-
function
|
|
1128
|
+
function oi(e) {
|
|
1122
1129
|
return Array.isArray(e) ? [] : {};
|
|
1123
1130
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1131
|
+
function we(e, t) {
|
|
1132
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(oi(e), e, t) : e;
|
|
1126
1133
|
}
|
|
1127
|
-
function
|
|
1134
|
+
function ai(e, t, r) {
|
|
1128
1135
|
return e.concat(t).map(function(n) {
|
|
1129
|
-
return
|
|
1136
|
+
return we(n, r);
|
|
1130
1137
|
});
|
|
1131
1138
|
}
|
|
1132
|
-
function
|
|
1139
|
+
function si(e, t) {
|
|
1133
1140
|
if (!t.customMerge)
|
|
1134
|
-
return
|
|
1141
|
+
return ie;
|
|
1135
1142
|
var r = t.customMerge(e);
|
|
1136
|
-
return typeof r == "function" ? r :
|
|
1143
|
+
return typeof r == "function" ? r : ie;
|
|
1137
1144
|
}
|
|
1138
|
-
function
|
|
1145
|
+
function li(e) {
|
|
1139
1146
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1140
1147
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1141
1148
|
}) : [];
|
|
1142
1149
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return Object.keys(e).concat(
|
|
1150
|
+
function kt(e) {
|
|
1151
|
+
return Object.keys(e).concat(li(e));
|
|
1145
1152
|
}
|
|
1146
|
-
function
|
|
1153
|
+
function Tr(e, t) {
|
|
1147
1154
|
try {
|
|
1148
1155
|
return t in e;
|
|
1149
1156
|
} catch {
|
|
1150
1157
|
return !1;
|
|
1151
1158
|
}
|
|
1152
1159
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1160
|
+
function ui(e, t) {
|
|
1161
|
+
return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1155
1162
|
}
|
|
1156
|
-
function
|
|
1163
|
+
function ci(e, t, r) {
|
|
1157
1164
|
var n = {};
|
|
1158
|
-
return r.isMergeableObject(e) &&
|
|
1159
|
-
n[i] =
|
|
1160
|
-
}),
|
|
1161
|
-
|
|
1165
|
+
return r.isMergeableObject(e) && kt(e).forEach(function(i) {
|
|
1166
|
+
n[i] = we(e[i], r);
|
|
1167
|
+
}), kt(t).forEach(function(i) {
|
|
1168
|
+
ui(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = si(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
|
|
1162
1169
|
}), n;
|
|
1163
1170
|
}
|
|
1164
|
-
function
|
|
1165
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1171
|
+
function ie(e, t, r) {
|
|
1172
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || Kn, r.cloneUnlessOtherwiseSpecified = we;
|
|
1166
1173
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1167
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1174
|
+
return o ? n ? r.arrayMerge(e, t, r) : ci(e, t, r) : we(t, r);
|
|
1168
1175
|
}
|
|
1169
|
-
|
|
1176
|
+
ie.all = function(t, r) {
|
|
1170
1177
|
if (!Array.isArray(t))
|
|
1171
1178
|
throw new Error("first argument should be an array");
|
|
1172
1179
|
return t.reduce(function(n, i) {
|
|
1173
|
-
return
|
|
1180
|
+
return ie(n, i, r);
|
|
1174
1181
|
}, {});
|
|
1175
1182
|
};
|
|
1176
|
-
var
|
|
1177
|
-
const
|
|
1178
|
-
var
|
|
1179
|
-
return
|
|
1183
|
+
var hi = ie, fi = hi;
|
|
1184
|
+
const mi = /* @__PURE__ */ qn(fi);
|
|
1185
|
+
var pt = function(e, t) {
|
|
1186
|
+
return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1180
1187
|
r.__proto__ = n;
|
|
1181
1188
|
} || function(r, n) {
|
|
1182
1189
|
for (var i in n)
|
|
1183
1190
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1184
|
-
},
|
|
1191
|
+
}, pt(e, t);
|
|
1185
1192
|
};
|
|
1186
|
-
function
|
|
1193
|
+
function je(e, t) {
|
|
1187
1194
|
if (typeof t != "function" && t !== null)
|
|
1188
1195
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1189
|
-
|
|
1196
|
+
pt(e, t);
|
|
1190
1197
|
function r() {
|
|
1191
1198
|
this.constructor = e;
|
|
1192
1199
|
}
|
|
@@ -1202,7 +1209,7 @@ var k = function() {
|
|
|
1202
1209
|
return t;
|
|
1203
1210
|
}, k.apply(this, arguments);
|
|
1204
1211
|
};
|
|
1205
|
-
function
|
|
1212
|
+
function di(e, t) {
|
|
1206
1213
|
var r = {};
|
|
1207
1214
|
for (var n in e)
|
|
1208
1215
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1211,43 +1218,43 @@ function fi(e, t) {
|
|
|
1211
1218
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1212
1219
|
return r;
|
|
1213
1220
|
}
|
|
1214
|
-
function
|
|
1221
|
+
function et(e, t, r) {
|
|
1215
1222
|
if (r || arguments.length === 2)
|
|
1216
1223
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1217
1224
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1218
1225
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1219
1226
|
}
|
|
1220
|
-
function
|
|
1221
|
-
var r = t && t.cache ? t.cache :
|
|
1227
|
+
function tt(e, t) {
|
|
1228
|
+
var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : yi, i = t && t.strategy ? t.strategy : vi;
|
|
1222
1229
|
return i(e, {
|
|
1223
1230
|
cache: r,
|
|
1224
1231
|
serializer: n
|
|
1225
1232
|
});
|
|
1226
1233
|
}
|
|
1227
|
-
function
|
|
1234
|
+
function pi(e) {
|
|
1228
1235
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1229
1236
|
}
|
|
1230
|
-
function
|
|
1231
|
-
var i =
|
|
1237
|
+
function gi(e, t, r, n) {
|
|
1238
|
+
var i = pi(n) ? n : r(n), o = t.get(i);
|
|
1232
1239
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1233
1240
|
}
|
|
1234
|
-
function
|
|
1241
|
+
function Pr(e, t, r) {
|
|
1235
1242
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1236
1243
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1237
1244
|
}
|
|
1238
|
-
function
|
|
1245
|
+
function Hr(e, t, r, n, i) {
|
|
1239
1246
|
return r.bind(t, e, n, i);
|
|
1240
1247
|
}
|
|
1241
|
-
function
|
|
1242
|
-
var r = e.length === 1 ?
|
|
1243
|
-
return
|
|
1248
|
+
function vi(e, t) {
|
|
1249
|
+
var r = e.length === 1 ? gi : Pr;
|
|
1250
|
+
return Hr(e, this, r, t.cache.create(), t.serializer);
|
|
1244
1251
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1252
|
+
function bi(e, t) {
|
|
1253
|
+
return Hr(e, this, Pr, t.cache.create(), t.serializer);
|
|
1247
1254
|
}
|
|
1248
|
-
var
|
|
1255
|
+
var yi = function() {
|
|
1249
1256
|
return JSON.stringify(arguments);
|
|
1250
|
-
},
|
|
1257
|
+
}, _i = (
|
|
1251
1258
|
/** @class */
|
|
1252
1259
|
function() {
|
|
1253
1260
|
function e() {
|
|
@@ -1259,21 +1266,21 @@ var vi = function() {
|
|
|
1259
1266
|
this.cache[t] = r;
|
|
1260
1267
|
}, e;
|
|
1261
1268
|
}()
|
|
1262
|
-
),
|
|
1269
|
+
), wi = {
|
|
1263
1270
|
create: function() {
|
|
1264
|
-
return new
|
|
1271
|
+
return new _i();
|
|
1265
1272
|
}
|
|
1266
|
-
},
|
|
1267
|
-
variadic:
|
|
1268
|
-
},
|
|
1269
|
-
return
|
|
1273
|
+
}, rt = {
|
|
1274
|
+
variadic: bi
|
|
1275
|
+
}, Fe = function() {
|
|
1276
|
+
return Fe = Object.assign || function(t) {
|
|
1270
1277
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1271
1278
|
r = arguments[n];
|
|
1272
1279
|
for (var o in r)
|
|
1273
1280
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1274
1281
|
}
|
|
1275
1282
|
return t;
|
|
1276
|
-
},
|
|
1283
|
+
}, Fe.apply(this, arguments);
|
|
1277
1284
|
};
|
|
1278
1285
|
var _;
|
|
1279
1286
|
(function(e) {
|
|
@@ -1283,47 +1290,47 @@ var I;
|
|
|
1283
1290
|
(function(e) {
|
|
1284
1291
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1285
1292
|
})(I || (I = {}));
|
|
1286
|
-
var
|
|
1293
|
+
var oe;
|
|
1287
1294
|
(function(e) {
|
|
1288
1295
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1289
|
-
})(
|
|
1290
|
-
function
|
|
1296
|
+
})(oe || (oe = {}));
|
|
1297
|
+
function $t(e) {
|
|
1291
1298
|
return e.type === I.literal;
|
|
1292
1299
|
}
|
|
1293
|
-
function
|
|
1300
|
+
function Ei(e) {
|
|
1294
1301
|
return e.type === I.argument;
|
|
1295
1302
|
}
|
|
1296
|
-
function
|
|
1303
|
+
function Mr(e) {
|
|
1297
1304
|
return e.type === I.number;
|
|
1298
1305
|
}
|
|
1299
|
-
function
|
|
1306
|
+
function Or(e) {
|
|
1300
1307
|
return e.type === I.date;
|
|
1301
1308
|
}
|
|
1302
|
-
function
|
|
1309
|
+
function Lr(e) {
|
|
1303
1310
|
return e.type === I.time;
|
|
1304
1311
|
}
|
|
1305
|
-
function
|
|
1312
|
+
function Cr(e) {
|
|
1306
1313
|
return e.type === I.select;
|
|
1307
1314
|
}
|
|
1308
|
-
function
|
|
1315
|
+
function Fr(e) {
|
|
1309
1316
|
return e.type === I.plural;
|
|
1310
1317
|
}
|
|
1311
|
-
function
|
|
1318
|
+
function xi(e) {
|
|
1312
1319
|
return e.type === I.pound;
|
|
1313
1320
|
}
|
|
1314
|
-
function
|
|
1321
|
+
function Rr(e) {
|
|
1315
1322
|
return e.type === I.tag;
|
|
1316
1323
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1324
|
+
function Ur(e) {
|
|
1325
|
+
return !!(e && typeof e == "object" && e.type === oe.number);
|
|
1319
1326
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1327
|
+
function gt(e) {
|
|
1328
|
+
return !!(e && typeof e == "object" && e.type === oe.dateTime);
|
|
1322
1329
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1330
|
+
var Dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[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;
|
|
1331
|
+
function Si(e) {
|
|
1325
1332
|
var t = {};
|
|
1326
|
-
return e.replace(
|
|
1333
|
+
return e.replace(Ni, function(r) {
|
|
1327
1334
|
var n = r.length;
|
|
1328
1335
|
switch (r[0]) {
|
|
1329
1336
|
case "G":
|
|
@@ -1412,46 +1419,46 @@ function Ei(e) {
|
|
|
1412
1419
|
return "";
|
|
1413
1420
|
}), t;
|
|
1414
1421
|
}
|
|
1415
|
-
var
|
|
1416
|
-
return
|
|
1422
|
+
var T = function() {
|
|
1423
|
+
return T = Object.assign || function(t) {
|
|
1417
1424
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1418
1425
|
r = arguments[n];
|
|
1419
1426
|
for (var o in r)
|
|
1420
1427
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1421
1428
|
}
|
|
1422
1429
|
return t;
|
|
1423
|
-
},
|
|
1430
|
+
}, T.apply(this, arguments);
|
|
1424
1431
|
};
|
|
1425
|
-
var
|
|
1426
|
-
function
|
|
1432
|
+
var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1433
|
+
function Ai(e) {
|
|
1427
1434
|
if (e.length === 0)
|
|
1428
1435
|
throw new Error("Number skeleton cannot be empty");
|
|
1429
|
-
for (var t = e.split(
|
|
1436
|
+
for (var t = e.split(Ii).filter(function(f) {
|
|
1430
1437
|
return f.length > 0;
|
|
1431
1438
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1432
1439
|
var o = i[n], a = o.split("/");
|
|
1433
1440
|
if (a.length === 0)
|
|
1434
1441
|
throw new Error("Invalid number skeleton");
|
|
1435
1442
|
for (var s = a[0], l = a.slice(1), c = 0, u = l; c < u.length; c++) {
|
|
1436
|
-
var
|
|
1437
|
-
if (
|
|
1443
|
+
var m = u[c];
|
|
1444
|
+
if (m.length === 0)
|
|
1438
1445
|
throw new Error("Invalid number skeleton");
|
|
1439
1446
|
}
|
|
1440
1447
|
r.push({ stem: s, options: l });
|
|
1441
1448
|
}
|
|
1442
1449
|
return r;
|
|
1443
1450
|
}
|
|
1444
|
-
function
|
|
1451
|
+
function Bi(e) {
|
|
1445
1452
|
return e.replace(/^(.*?)-/, "");
|
|
1446
1453
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1454
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
|
|
1455
|
+
function Wt(e) {
|
|
1449
1456
|
var t = {};
|
|
1450
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1457
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
|
|
1451
1458
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1452
1459
|
}), t;
|
|
1453
1460
|
}
|
|
1454
|
-
function
|
|
1461
|
+
function $r(e) {
|
|
1455
1462
|
switch (e) {
|
|
1456
1463
|
case "sign-auto":
|
|
1457
1464
|
return {
|
|
@@ -1491,7 +1498,7 @@ function Gr(e) {
|
|
|
1491
1498
|
};
|
|
1492
1499
|
}
|
|
1493
1500
|
}
|
|
1494
|
-
function
|
|
1501
|
+
function Pi(e) {
|
|
1495
1502
|
var t;
|
|
1496
1503
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1497
1504
|
notation: "engineering"
|
|
@@ -1499,17 +1506,17 @@ function Ai(e) {
|
|
|
1499
1506
|
notation: "scientific"
|
|
1500
1507
|
}, e = e.slice(1)), t) {
|
|
1501
1508
|
var r = e.slice(0, 2);
|
|
1502
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1509
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
|
|
1503
1510
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1504
1511
|
t.minimumIntegerDigits = e.length;
|
|
1505
1512
|
}
|
|
1506
1513
|
return t;
|
|
1507
1514
|
}
|
|
1508
|
-
function
|
|
1509
|
-
var t = {}, r =
|
|
1515
|
+
function Vt(e) {
|
|
1516
|
+
var t = {}, r = $r(e);
|
|
1510
1517
|
return r || t;
|
|
1511
1518
|
}
|
|
1512
|
-
function
|
|
1519
|
+
function Hi(e) {
|
|
1513
1520
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1514
1521
|
var i = n[r];
|
|
1515
1522
|
switch (i.stem) {
|
|
@@ -1533,7 +1540,7 @@ function Ti(e) {
|
|
|
1533
1540
|
continue;
|
|
1534
1541
|
case "measure-unit":
|
|
1535
1542
|
case "unit":
|
|
1536
|
-
t.style = "unit", t.unit =
|
|
1543
|
+
t.style = "unit", t.unit = Bi(i.options[0]);
|
|
1537
1544
|
continue;
|
|
1538
1545
|
case "compact-short":
|
|
1539
1546
|
case "K":
|
|
@@ -1544,13 +1551,13 @@ function Ti(e) {
|
|
|
1544
1551
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1545
1552
|
continue;
|
|
1546
1553
|
case "scientific":
|
|
1547
|
-
t =
|
|
1548
|
-
return
|
|
1554
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, c) {
|
|
1555
|
+
return T(T({}, l), Vt(c));
|
|
1549
1556
|
}, {}));
|
|
1550
1557
|
continue;
|
|
1551
1558
|
case "engineering":
|
|
1552
|
-
t =
|
|
1553
|
-
return
|
|
1559
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, c) {
|
|
1560
|
+
return T(T({}, l), Vt(c));
|
|
1554
1561
|
}, {}));
|
|
1555
1562
|
continue;
|
|
1556
1563
|
case "notation-simple":
|
|
@@ -1595,11 +1602,11 @@ function Ti(e) {
|
|
|
1595
1602
|
case "integer-width":
|
|
1596
1603
|
if (i.options.length > 1)
|
|
1597
1604
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1598
|
-
i.options[0].replace(
|
|
1605
|
+
i.options[0].replace(Ti, function(l, c, u, m, f, p) {
|
|
1599
1606
|
if (c)
|
|
1600
1607
|
t.minimumIntegerDigits = u.length;
|
|
1601
1608
|
else {
|
|
1602
|
-
if (
|
|
1609
|
+
if (m && f)
|
|
1603
1610
|
throw new Error("We currently do not support maximum integer digits");
|
|
1604
1611
|
if (p)
|
|
1605
1612
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1608,32 +1615,32 @@ function Ti(e) {
|
|
|
1608
1615
|
});
|
|
1609
1616
|
continue;
|
|
1610
1617
|
}
|
|
1611
|
-
if (
|
|
1618
|
+
if (kr.test(i.stem)) {
|
|
1612
1619
|
t.minimumIntegerDigits = i.stem.length;
|
|
1613
1620
|
continue;
|
|
1614
1621
|
}
|
|
1615
|
-
if (
|
|
1622
|
+
if (jt.test(i.stem)) {
|
|
1616
1623
|
if (i.options.length > 1)
|
|
1617
1624
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1618
|
-
i.stem.replace(
|
|
1619
|
-
return u === "*" ? t.minimumFractionDigits = c.length :
|
|
1625
|
+
i.stem.replace(jt, function(l, c, u, m, f, p) {
|
|
1626
|
+
return u === "*" ? t.minimumFractionDigits = c.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
|
|
1620
1627
|
});
|
|
1621
1628
|
var o = i.options[0];
|
|
1622
|
-
o === "w" ? t =
|
|
1629
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Wt(o)));
|
|
1623
1630
|
continue;
|
|
1624
1631
|
}
|
|
1625
|
-
if (
|
|
1626
|
-
t =
|
|
1632
|
+
if (Gr.test(i.stem)) {
|
|
1633
|
+
t = T(T({}, t), Wt(i.stem));
|
|
1627
1634
|
continue;
|
|
1628
1635
|
}
|
|
1629
|
-
var a =
|
|
1630
|
-
a && (t =
|
|
1631
|
-
var s =
|
|
1632
|
-
s && (t =
|
|
1636
|
+
var a = $r(i.stem);
|
|
1637
|
+
a && (t = T(T({}, t), a));
|
|
1638
|
+
var s = Pi(i.stem);
|
|
1639
|
+
s && (t = T(T({}, t), s));
|
|
1633
1640
|
}
|
|
1634
1641
|
return t;
|
|
1635
1642
|
}
|
|
1636
|
-
var
|
|
1643
|
+
var Te = {
|
|
1637
1644
|
"001": [
|
|
1638
1645
|
"H",
|
|
1639
1646
|
"h"
|
|
@@ -3048,13 +3055,13 @@ var Ae = {
|
|
|
3048
3055
|
"h"
|
|
3049
3056
|
]
|
|
3050
3057
|
};
|
|
3051
|
-
function
|
|
3058
|
+
function Mi(e, t) {
|
|
3052
3059
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3053
3060
|
var i = e.charAt(n);
|
|
3054
3061
|
if (i === "j") {
|
|
3055
3062
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3056
3063
|
o++, n++;
|
|
3057
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", c =
|
|
3064
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", c = Oi(t);
|
|
3058
3065
|
for ((c == "H" || c == "k") && (s = 0); s-- > 0; )
|
|
3059
3066
|
r += l;
|
|
3060
3067
|
for (; a-- > 0; )
|
|
@@ -3064,7 +3071,7 @@ function Pi(e, t) {
|
|
|
3064
3071
|
}
|
|
3065
3072
|
return r;
|
|
3066
3073
|
}
|
|
3067
|
-
function
|
|
3074
|
+
function Oi(e) {
|
|
3068
3075
|
var t = e.hourCycle;
|
|
3069
3076
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3070
3077
|
e.hourCycles && // @ts-ignore
|
|
@@ -3083,23 +3090,23 @@ function Hi(e) {
|
|
|
3083
3090
|
}
|
|
3084
3091
|
var r = e.language, n;
|
|
3085
3092
|
r !== "root" && (n = e.maximize().region);
|
|
3086
|
-
var i =
|
|
3093
|
+
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
3087
3094
|
return i[0];
|
|
3088
3095
|
}
|
|
3089
|
-
var
|
|
3096
|
+
var nt, Li = new RegExp("^".concat(Dr.source, "*")), Ci = new RegExp("".concat(Dr.source, "*$"));
|
|
3090
3097
|
function w(e, t) {
|
|
3091
3098
|
return { start: e, end: t };
|
|
3092
3099
|
}
|
|
3093
|
-
var
|
|
3100
|
+
var Fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, Di = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, $i = !!Number.isSafeInteger, ji = $i ? Number.isSafeInteger : function(e) {
|
|
3094
3101
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3095
|
-
},
|
|
3102
|
+
}, vt = !0;
|
|
3096
3103
|
try {
|
|
3097
|
-
var
|
|
3098
|
-
|
|
3104
|
+
var Wi = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3105
|
+
vt = ((nt = Wi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
|
|
3099
3106
|
} catch {
|
|
3100
|
-
|
|
3107
|
+
vt = !1;
|
|
3101
3108
|
}
|
|
3102
|
-
var
|
|
3109
|
+
var Xt = Fi ? (
|
|
3103
3110
|
// Native
|
|
3104
3111
|
function(t, r, n) {
|
|
3105
3112
|
return t.startsWith(r, n);
|
|
@@ -3109,7 +3116,7 @@ var Wt = Li ? (
|
|
|
3109
3116
|
function(t, r, n) {
|
|
3110
3117
|
return t.slice(n, n + r.length) === r;
|
|
3111
3118
|
}
|
|
3112
|
-
),
|
|
3119
|
+
), bt = Ri ? String.fromCodePoint : (
|
|
3113
3120
|
// IE11
|
|
3114
3121
|
function() {
|
|
3115
3122
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3121,9 +3128,9 @@ var Wt = Li ? (
|
|
|
3121
3128
|
}
|
|
3122
3129
|
return n;
|
|
3123
3130
|
}
|
|
3124
|
-
),
|
|
3131
|
+
), zt = (
|
|
3125
3132
|
// native
|
|
3126
|
-
|
|
3133
|
+
Ui ? Object.fromEntries : (
|
|
3127
3134
|
// Ponyfill
|
|
3128
3135
|
function(t) {
|
|
3129
3136
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3133,7 +3140,7 @@ var Wt = Li ? (
|
|
|
3133
3140
|
return r;
|
|
3134
3141
|
}
|
|
3135
3142
|
)
|
|
3136
|
-
),
|
|
3143
|
+
), jr = Di ? (
|
|
3137
3144
|
// Native
|
|
3138
3145
|
function(t, r) {
|
|
3139
3146
|
return t.codePointAt(r);
|
|
@@ -3147,7 +3154,7 @@ var Wt = Li ? (
|
|
|
3147
3154
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3148
3155
|
}
|
|
3149
3156
|
}
|
|
3150
|
-
),
|
|
3157
|
+
), Vi = Gi ? (
|
|
3151
3158
|
// Native
|
|
3152
3159
|
function(t) {
|
|
3153
3160
|
return t.trimStart();
|
|
@@ -3155,9 +3162,9 @@ var Wt = Li ? (
|
|
|
3155
3162
|
) : (
|
|
3156
3163
|
// Ponyfill
|
|
3157
3164
|
function(t) {
|
|
3158
|
-
return t.replace(
|
|
3165
|
+
return t.replace(Li, "");
|
|
3159
3166
|
}
|
|
3160
|
-
),
|
|
3167
|
+
), Xi = ki ? (
|
|
3161
3168
|
// Native
|
|
3162
3169
|
function(t) {
|
|
3163
3170
|
return t.trimEnd();
|
|
@@ -3165,32 +3172,32 @@ var Wt = Li ? (
|
|
|
3165
3172
|
) : (
|
|
3166
3173
|
// Ponyfill
|
|
3167
3174
|
function(t) {
|
|
3168
|
-
return t.replace(
|
|
3175
|
+
return t.replace(Ci, "");
|
|
3169
3176
|
}
|
|
3170
3177
|
);
|
|
3171
|
-
function
|
|
3178
|
+
function Wr(e, t) {
|
|
3172
3179
|
return new RegExp(e, t);
|
|
3173
3180
|
}
|
|
3174
|
-
var
|
|
3175
|
-
if (
|
|
3176
|
-
var
|
|
3177
|
-
|
|
3181
|
+
var yt;
|
|
3182
|
+
if (vt) {
|
|
3183
|
+
var Zt = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3184
|
+
yt = function(t, r) {
|
|
3178
3185
|
var n;
|
|
3179
|
-
|
|
3180
|
-
var i =
|
|
3186
|
+
Zt.lastIndex = r;
|
|
3187
|
+
var i = Zt.exec(t);
|
|
3181
3188
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3182
3189
|
};
|
|
3183
3190
|
} else
|
|
3184
|
-
|
|
3191
|
+
yt = function(t, r) {
|
|
3185
3192
|
for (var n = []; ; ) {
|
|
3186
|
-
var i =
|
|
3187
|
-
if (i === void 0 ||
|
|
3193
|
+
var i = jr(t, r);
|
|
3194
|
+
if (i === void 0 || Vr(i) || Yi(i))
|
|
3188
3195
|
break;
|
|
3189
3196
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3190
3197
|
}
|
|
3191
|
-
return
|
|
3198
|
+
return bt.apply(void 0, n);
|
|
3192
3199
|
};
|
|
3193
|
-
var
|
|
3200
|
+
var zi = (
|
|
3194
3201
|
/** @class */
|
|
3195
3202
|
function() {
|
|
3196
3203
|
function e(t, r) {
|
|
@@ -3221,7 +3228,7 @@ var Vi = (
|
|
|
3221
3228
|
if (n)
|
|
3222
3229
|
break;
|
|
3223
3230
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3224
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3231
|
+
} else if (o === 60 && !this.ignoreTag && _t(this.peek() || 0)) {
|
|
3225
3232
|
var a = this.parseTag(t, r);
|
|
3226
3233
|
if (a.err)
|
|
3227
3234
|
return a;
|
|
@@ -3254,7 +3261,7 @@ var Vi = (
|
|
|
3254
3261
|
return o;
|
|
3255
3262
|
var a = o.val, s = this.clonePosition();
|
|
3256
3263
|
if (this.bumpIf("</")) {
|
|
3257
|
-
if (this.isEOF() || !
|
|
3264
|
+
if (this.isEOF() || !_t(this.char()))
|
|
3258
3265
|
return this.error(_.INVALID_TAG, w(s, this.clonePosition()));
|
|
3259
3266
|
var l = this.clonePosition(), c = this.parseTagName();
|
|
3260
3267
|
return i !== c ? this.error(_.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3272,7 +3279,7 @@ var Vi = (
|
|
|
3272
3279
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3273
3280
|
}, e.prototype.parseTagName = function() {
|
|
3274
3281
|
var t = this.offset();
|
|
3275
|
-
for (this.bump(); !this.isEOF() &&
|
|
3282
|
+
for (this.bump(); !this.isEOF() && Qi(this.char()); )
|
|
3276
3283
|
this.bump();
|
|
3277
3284
|
return this.message.slice(t, this.offset());
|
|
3278
3285
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3301,7 +3308,7 @@ var Vi = (
|
|
|
3301
3308
|
};
|
|
3302
3309
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3303
3310
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3304
|
-
!
|
|
3311
|
+
!Zi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3305
3312
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3306
3313
|
if (this.isEOF() || this.char() !== 39)
|
|
3307
3314
|
return null;
|
|
@@ -3335,12 +3342,12 @@ var Vi = (
|
|
|
3335
3342
|
r.push(n);
|
|
3336
3343
|
this.bump();
|
|
3337
3344
|
}
|
|
3338
|
-
return
|
|
3345
|
+
return bt.apply(void 0, r);
|
|
3339
3346
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3340
3347
|
if (this.isEOF())
|
|
3341
3348
|
return null;
|
|
3342
3349
|
var n = this.char();
|
|
3343
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3350
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
|
|
3344
3351
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3345
3352
|
var n = this.clonePosition();
|
|
3346
3353
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3369,7 +3376,7 @@ var Vi = (
|
|
|
3369
3376
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3370
3377
|
}
|
|
3371
3378
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3372
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3379
|
+
var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
|
|
3373
3380
|
this.bumpTo(i);
|
|
3374
3381
|
var o = this.clonePosition(), a = w(t, o);
|
|
3375
3382
|
return { value: n, location: a };
|
|
@@ -3385,10 +3392,10 @@ var Vi = (
|
|
|
3385
3392
|
var c = null;
|
|
3386
3393
|
if (this.bumpIf(",")) {
|
|
3387
3394
|
this.bumpSpace();
|
|
3388
|
-
var u = this.clonePosition(),
|
|
3389
|
-
if (
|
|
3390
|
-
return
|
|
3391
|
-
var f =
|
|
3395
|
+
var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
3396
|
+
if (m.err)
|
|
3397
|
+
return m;
|
|
3398
|
+
var f = Xi(m.val);
|
|
3392
3399
|
if (f.length === 0)
|
|
3393
3400
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3394
3401
|
var p = w(u, this.clonePosition());
|
|
@@ -3398,27 +3405,27 @@ var Vi = (
|
|
|
3398
3405
|
if (g.err)
|
|
3399
3406
|
return g;
|
|
3400
3407
|
var v = w(i, this.clonePosition());
|
|
3401
|
-
if (c &&
|
|
3402
|
-
var S =
|
|
3408
|
+
if (c && Xt(c?.style, "::", 0)) {
|
|
3409
|
+
var S = Vi(c.style.slice(2));
|
|
3403
3410
|
if (s === "number") {
|
|
3404
|
-
var
|
|
3405
|
-
return
|
|
3406
|
-
val: { type: I.number, value: n, location: v, style:
|
|
3411
|
+
var m = this.parseNumberSkeletonFromString(S, c.styleLocation);
|
|
3412
|
+
return m.err ? m : {
|
|
3413
|
+
val: { type: I.number, value: n, location: v, style: m.val },
|
|
3407
3414
|
err: null
|
|
3408
3415
|
};
|
|
3409
3416
|
} else {
|
|
3410
3417
|
if (S.length === 0)
|
|
3411
3418
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3412
|
-
var
|
|
3413
|
-
this.locale && (
|
|
3419
|
+
var N = S;
|
|
3420
|
+
this.locale && (N = Mi(S, this.locale));
|
|
3414
3421
|
var f = {
|
|
3415
|
-
type:
|
|
3416
|
-
pattern:
|
|
3422
|
+
type: oe.dateTime,
|
|
3423
|
+
pattern: N,
|
|
3417
3424
|
location: c.styleLocation,
|
|
3418
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3419
|
-
},
|
|
3425
|
+
parsedOptions: this.shouldParseSkeletons ? Si(N) : {}
|
|
3426
|
+
}, b = s === "date" ? I.date : I.time;
|
|
3420
3427
|
return {
|
|
3421
|
-
val: { type:
|
|
3428
|
+
val: { type: b, value: n, location: v, style: f },
|
|
3422
3429
|
err: null
|
|
3423
3430
|
};
|
|
3424
3431
|
}
|
|
@@ -3438,41 +3445,41 @@ var Vi = (
|
|
|
3438
3445
|
case "select": {
|
|
3439
3446
|
var B = this.clonePosition();
|
|
3440
3447
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3441
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(B,
|
|
3448
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(B, Fe({}, B)));
|
|
3442
3449
|
this.bumpSpace();
|
|
3443
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3450
|
+
var E = this.parseIdentifierIfPossible(), F = 0;
|
|
3444
3451
|
if (s !== "select" && E.value === "offset") {
|
|
3445
3452
|
if (!this.bumpIf(":"))
|
|
3446
3453
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3447
3454
|
this.bumpSpace();
|
|
3448
|
-
var
|
|
3449
|
-
if (
|
|
3450
|
-
return
|
|
3451
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3455
|
+
var m = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3456
|
+
if (m.err)
|
|
3457
|
+
return m;
|
|
3458
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), F = m.val;
|
|
3452
3459
|
}
|
|
3453
|
-
var
|
|
3454
|
-
if (
|
|
3455
|
-
return
|
|
3460
|
+
var W = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3461
|
+
if (W.err)
|
|
3462
|
+
return W;
|
|
3456
3463
|
var g = this.tryParseArgumentClose(i);
|
|
3457
3464
|
if (g.err)
|
|
3458
3465
|
return g;
|
|
3459
|
-
var
|
|
3466
|
+
var Z = w(i, this.clonePosition());
|
|
3460
3467
|
return s === "select" ? {
|
|
3461
3468
|
val: {
|
|
3462
3469
|
type: I.select,
|
|
3463
3470
|
value: n,
|
|
3464
|
-
options:
|
|
3465
|
-
location:
|
|
3471
|
+
options: zt(W.val),
|
|
3472
|
+
location: Z
|
|
3466
3473
|
},
|
|
3467
3474
|
err: null
|
|
3468
3475
|
} : {
|
|
3469
3476
|
val: {
|
|
3470
3477
|
type: I.plural,
|
|
3471
3478
|
value: n,
|
|
3472
|
-
options:
|
|
3473
|
-
offset:
|
|
3479
|
+
options: zt(W.val),
|
|
3480
|
+
offset: F,
|
|
3474
3481
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3475
|
-
location:
|
|
3482
|
+
location: Z
|
|
3476
3483
|
},
|
|
3477
3484
|
err: null
|
|
3478
3485
|
};
|
|
@@ -3520,28 +3527,28 @@ var Vi = (
|
|
|
3520
3527
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3521
3528
|
var n = [];
|
|
3522
3529
|
try {
|
|
3523
|
-
n =
|
|
3530
|
+
n = Ai(t);
|
|
3524
3531
|
} catch {
|
|
3525
3532
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3526
3533
|
}
|
|
3527
3534
|
return {
|
|
3528
3535
|
val: {
|
|
3529
|
-
type:
|
|
3536
|
+
type: oe.number,
|
|
3530
3537
|
tokens: n,
|
|
3531
3538
|
location: r,
|
|
3532
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3539
|
+
parsedOptions: this.shouldParseSkeletons ? Hi(n) : {}
|
|
3533
3540
|
},
|
|
3534
3541
|
err: null
|
|
3535
3542
|
};
|
|
3536
3543
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3537
3544
|
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), c = i.value, u = i.location; ; ) {
|
|
3538
3545
|
if (c.length === 0) {
|
|
3539
|
-
var
|
|
3546
|
+
var m = this.clonePosition();
|
|
3540
3547
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3541
3548
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3542
3549
|
if (f.err)
|
|
3543
3550
|
return f;
|
|
3544
|
-
u = w(
|
|
3551
|
+
u = w(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
|
|
3545
3552
|
} else
|
|
3546
3553
|
break;
|
|
3547
3554
|
}
|
|
@@ -3577,7 +3584,7 @@ var Vi = (
|
|
|
3577
3584
|
break;
|
|
3578
3585
|
}
|
|
3579
3586
|
var l = w(i, this.clonePosition());
|
|
3580
|
-
return o ? (a *= n,
|
|
3587
|
+
return o ? (a *= n, ji(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3581
3588
|
}, e.prototype.offset = function() {
|
|
3582
3589
|
return this.position.offset;
|
|
3583
3590
|
}, e.prototype.isEOF = function() {
|
|
@@ -3592,7 +3599,7 @@ var Vi = (
|
|
|
3592
3599
|
var t = this.position.offset;
|
|
3593
3600
|
if (t >= this.message.length)
|
|
3594
3601
|
throw Error("out of bound");
|
|
3595
|
-
var r =
|
|
3602
|
+
var r = jr(this.message, t);
|
|
3596
3603
|
if (r === void 0)
|
|
3597
3604
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3598
3605
|
return r;
|
|
@@ -3611,7 +3618,7 @@ var Vi = (
|
|
|
3611
3618
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3612
3619
|
}
|
|
3613
3620
|
}, e.prototype.bumpIf = function(t) {
|
|
3614
|
-
if (
|
|
3621
|
+
if (Xt(this.message, t, this.offset())) {
|
|
3615
3622
|
for (var r = 0; r < t.length; r++)
|
|
3616
3623
|
this.bump();
|
|
3617
3624
|
return !0;
|
|
@@ -3633,7 +3640,7 @@ var Vi = (
|
|
|
3633
3640
|
break;
|
|
3634
3641
|
}
|
|
3635
3642
|
}, e.prototype.bumpSpace = function() {
|
|
3636
|
-
for (; !this.isEOF() &&
|
|
3643
|
+
for (; !this.isEOF() && Vr(this.char()); )
|
|
3637
3644
|
this.bump();
|
|
3638
3645
|
}, e.prototype.peek = function() {
|
|
3639
3646
|
if (this.isEOF())
|
|
@@ -3643,47 +3650,47 @@ var Vi = (
|
|
|
3643
3650
|
}, e;
|
|
3644
3651
|
}()
|
|
3645
3652
|
);
|
|
3646
|
-
function
|
|
3653
|
+
function _t(e) {
|
|
3647
3654
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3648
3655
|
}
|
|
3649
|
-
function
|
|
3650
|
-
return
|
|
3656
|
+
function Zi(e) {
|
|
3657
|
+
return _t(e) || e === 47;
|
|
3651
3658
|
}
|
|
3652
|
-
function
|
|
3659
|
+
function Qi(e) {
|
|
3653
3660
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3654
3661
|
}
|
|
3655
|
-
function
|
|
3662
|
+
function Vr(e) {
|
|
3656
3663
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3657
3664
|
}
|
|
3658
|
-
function
|
|
3665
|
+
function Yi(e) {
|
|
3659
3666
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3660
3667
|
}
|
|
3661
|
-
function
|
|
3668
|
+
function wt(e) {
|
|
3662
3669
|
e.forEach(function(t) {
|
|
3663
|
-
if (delete t.location,
|
|
3670
|
+
if (delete t.location, Cr(t) || Fr(t))
|
|
3664
3671
|
for (var r in t.options)
|
|
3665
|
-
delete t.options[r].location,
|
|
3672
|
+
delete t.options[r].location, wt(t.options[r].value);
|
|
3666
3673
|
else
|
|
3667
|
-
|
|
3674
|
+
Mr(t) && Ur(t.style) || (Or(t) || Lr(t)) && gt(t.style) ? delete t.style.location : Rr(t) && wt(t.children);
|
|
3668
3675
|
});
|
|
3669
3676
|
}
|
|
3670
|
-
function
|
|
3671
|
-
t === void 0 && (t = {}), t =
|
|
3672
|
-
var r = new
|
|
3677
|
+
function Ji(e, t) {
|
|
3678
|
+
t === void 0 && (t = {}), t = Fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3679
|
+
var r = new zi(e, t).parse();
|
|
3673
3680
|
if (r.err) {
|
|
3674
3681
|
var n = SyntaxError(_[r.err.kind]);
|
|
3675
3682
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3676
3683
|
}
|
|
3677
|
-
return t?.captureLocation ||
|
|
3684
|
+
return t?.captureLocation || wt(r.val), r.val;
|
|
3678
3685
|
}
|
|
3679
|
-
var
|
|
3686
|
+
var ae;
|
|
3680
3687
|
(function(e) {
|
|
3681
3688
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3682
|
-
})(
|
|
3683
|
-
var
|
|
3689
|
+
})(ae || (ae = {}));
|
|
3690
|
+
var We = (
|
|
3684
3691
|
/** @class */
|
|
3685
3692
|
function(e) {
|
|
3686
|
-
|
|
3693
|
+
je(t, e);
|
|
3687
3694
|
function t(r, n, i) {
|
|
3688
3695
|
var o = e.call(this, r) || this;
|
|
3689
3696
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3692,155 +3699,155 @@ var je = (
|
|
|
3692
3699
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3693
3700
|
}, t;
|
|
3694
3701
|
}(Error)
|
|
3695
|
-
),
|
|
3702
|
+
), Qt = (
|
|
3696
3703
|
/** @class */
|
|
3697
3704
|
function(e) {
|
|
3698
|
-
|
|
3705
|
+
je(t, e);
|
|
3699
3706
|
function t(r, n, i, o) {
|
|
3700
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3707
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
|
|
3701
3708
|
}
|
|
3702
3709
|
return t;
|
|
3703
|
-
}(
|
|
3704
|
-
),
|
|
3710
|
+
}(We)
|
|
3711
|
+
), qi = (
|
|
3705
3712
|
/** @class */
|
|
3706
3713
|
function(e) {
|
|
3707
|
-
|
|
3714
|
+
je(t, e);
|
|
3708
3715
|
function t(r, n, i) {
|
|
3709
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3716
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
|
|
3710
3717
|
}
|
|
3711
3718
|
return t;
|
|
3712
|
-
}(
|
|
3713
|
-
),
|
|
3719
|
+
}(We)
|
|
3720
|
+
), Ki = (
|
|
3714
3721
|
/** @class */
|
|
3715
3722
|
function(e) {
|
|
3716
|
-
|
|
3723
|
+
je(t, e);
|
|
3717
3724
|
function t(r, n) {
|
|
3718
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3725
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
|
|
3719
3726
|
}
|
|
3720
3727
|
return t;
|
|
3721
|
-
}(
|
|
3722
|
-
),
|
|
3728
|
+
}(We)
|
|
3729
|
+
), C;
|
|
3723
3730
|
(function(e) {
|
|
3724
3731
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3725
|
-
})(
|
|
3726
|
-
function
|
|
3732
|
+
})(C || (C = {}));
|
|
3733
|
+
function eo(e) {
|
|
3727
3734
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3728
3735
|
var n = t[t.length - 1];
|
|
3729
|
-
return !n || n.type !==
|
|
3736
|
+
return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
|
|
3730
3737
|
}, []);
|
|
3731
3738
|
}
|
|
3732
|
-
function
|
|
3739
|
+
function to(e) {
|
|
3733
3740
|
return typeof e == "function";
|
|
3734
3741
|
}
|
|
3735
|
-
function
|
|
3736
|
-
if (e.length === 1 &&
|
|
3742
|
+
function Oe(e, t, r, n, i, o, a) {
|
|
3743
|
+
if (e.length === 1 && $t(e[0]))
|
|
3737
3744
|
return [
|
|
3738
3745
|
{
|
|
3739
|
-
type:
|
|
3746
|
+
type: C.literal,
|
|
3740
3747
|
value: e[0].value
|
|
3741
3748
|
}
|
|
3742
3749
|
];
|
|
3743
3750
|
for (var s = [], l = 0, c = e; l < c.length; l++) {
|
|
3744
3751
|
var u = c[l];
|
|
3745
|
-
if (
|
|
3752
|
+
if ($t(u)) {
|
|
3746
3753
|
s.push({
|
|
3747
|
-
type:
|
|
3754
|
+
type: C.literal,
|
|
3748
3755
|
value: u.value
|
|
3749
3756
|
});
|
|
3750
3757
|
continue;
|
|
3751
3758
|
}
|
|
3752
|
-
if (
|
|
3759
|
+
if (xi(u)) {
|
|
3753
3760
|
typeof o == "number" && s.push({
|
|
3754
|
-
type:
|
|
3761
|
+
type: C.literal,
|
|
3755
3762
|
value: r.getNumberFormat(t).format(o)
|
|
3756
3763
|
});
|
|
3757
3764
|
continue;
|
|
3758
3765
|
}
|
|
3759
|
-
var
|
|
3760
|
-
if (!(i &&
|
|
3761
|
-
throw new
|
|
3762
|
-
var f = i[
|
|
3763
|
-
if (
|
|
3766
|
+
var m = u.value;
|
|
3767
|
+
if (!(i && m in i))
|
|
3768
|
+
throw new Ki(m, a);
|
|
3769
|
+
var f = i[m];
|
|
3770
|
+
if (Ei(u)) {
|
|
3764
3771
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3765
|
-
type: typeof f == "string" ?
|
|
3772
|
+
type: typeof f == "string" ? C.literal : C.object,
|
|
3766
3773
|
value: f
|
|
3767
3774
|
});
|
|
3768
3775
|
continue;
|
|
3769
3776
|
}
|
|
3770
|
-
if (
|
|
3771
|
-
var p = typeof u.style == "string" ? n.date[u.style] :
|
|
3777
|
+
if (Or(u)) {
|
|
3778
|
+
var p = typeof u.style == "string" ? n.date[u.style] : gt(u.style) ? u.style.parsedOptions : void 0;
|
|
3772
3779
|
s.push({
|
|
3773
|
-
type:
|
|
3780
|
+
type: C.literal,
|
|
3774
3781
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3775
3782
|
});
|
|
3776
3783
|
continue;
|
|
3777
3784
|
}
|
|
3778
|
-
if (
|
|
3779
|
-
var p = typeof u.style == "string" ? n.time[u.style] :
|
|
3785
|
+
if (Lr(u)) {
|
|
3786
|
+
var p = typeof u.style == "string" ? n.time[u.style] : gt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3780
3787
|
s.push({
|
|
3781
|
-
type:
|
|
3788
|
+
type: C.literal,
|
|
3782
3789
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3783
3790
|
});
|
|
3784
3791
|
continue;
|
|
3785
3792
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var p = typeof u.style == "string" ? n.number[u.style] :
|
|
3793
|
+
if (Mr(u)) {
|
|
3794
|
+
var p = typeof u.style == "string" ? n.number[u.style] : Ur(u.style) ? u.style.parsedOptions : void 0;
|
|
3788
3795
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3789
|
-
type:
|
|
3796
|
+
type: C.literal,
|
|
3790
3797
|
value: r.getNumberFormat(t, p).format(f)
|
|
3791
3798
|
});
|
|
3792
3799
|
continue;
|
|
3793
3800
|
}
|
|
3794
|
-
if (
|
|
3801
|
+
if (Rr(u)) {
|
|
3795
3802
|
var g = u.children, v = u.value, S = i[v];
|
|
3796
|
-
if (!
|
|
3797
|
-
throw new
|
|
3798
|
-
var
|
|
3799
|
-
return
|
|
3803
|
+
if (!to(S))
|
|
3804
|
+
throw new qi(v, "function", a);
|
|
3805
|
+
var N = Oe(g, t, r, n, i, o), b = S(N.map(function(F) {
|
|
3806
|
+
return F.value;
|
|
3800
3807
|
}));
|
|
3801
|
-
Array.isArray(
|
|
3808
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(F) {
|
|
3802
3809
|
return {
|
|
3803
|
-
type: typeof
|
|
3804
|
-
value:
|
|
3810
|
+
type: typeof F == "string" ? C.literal : C.object,
|
|
3811
|
+
value: F
|
|
3805
3812
|
};
|
|
3806
3813
|
}));
|
|
3807
3814
|
}
|
|
3808
|
-
if (
|
|
3815
|
+
if (Cr(u)) {
|
|
3809
3816
|
var B = u.options[f] || u.options.other;
|
|
3810
3817
|
if (!B)
|
|
3811
|
-
throw new
|
|
3812
|
-
s.push.apply(s,
|
|
3818
|
+
throw new Qt(u.value, f, Object.keys(u.options), a);
|
|
3819
|
+
s.push.apply(s, Oe(B.value, t, r, n, i));
|
|
3813
3820
|
continue;
|
|
3814
3821
|
}
|
|
3815
|
-
if (
|
|
3822
|
+
if (Fr(u)) {
|
|
3816
3823
|
var B = u.options["=".concat(f)];
|
|
3817
3824
|
if (!B) {
|
|
3818
3825
|
if (!Intl.PluralRules)
|
|
3819
|
-
throw new
|
|
3826
|
+
throw new We(`Intl.PluralRules is not available in this environment.
|
|
3820
3827
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3821
|
-
`,
|
|
3828
|
+
`, ae.MISSING_INTL_API, a);
|
|
3822
3829
|
var E = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3823
3830
|
B = u.options[E] || u.options.other;
|
|
3824
3831
|
}
|
|
3825
3832
|
if (!B)
|
|
3826
|
-
throw new
|
|
3827
|
-
s.push.apply(s,
|
|
3833
|
+
throw new Qt(u.value, f, Object.keys(u.options), a);
|
|
3834
|
+
s.push.apply(s, Oe(B.value, t, r, n, i, f - (u.offset || 0)));
|
|
3828
3835
|
continue;
|
|
3829
3836
|
}
|
|
3830
3837
|
}
|
|
3831
|
-
return
|
|
3838
|
+
return eo(s);
|
|
3832
3839
|
}
|
|
3833
|
-
function
|
|
3840
|
+
function ro(e, t) {
|
|
3834
3841
|
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3835
3842
|
return r[n] = k(k({}, e[n]), t[n] || {}), r;
|
|
3836
3843
|
}, {})) : e;
|
|
3837
3844
|
}
|
|
3838
|
-
function
|
|
3845
|
+
function no(e, t) {
|
|
3839
3846
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3840
|
-
return r[n] =
|
|
3847
|
+
return r[n] = ro(e[n], t[n]), r;
|
|
3841
3848
|
}, k({}, e)) : e;
|
|
3842
3849
|
}
|
|
3843
|
-
function
|
|
3850
|
+
function it(e) {
|
|
3844
3851
|
return {
|
|
3845
3852
|
create: function() {
|
|
3846
3853
|
return {
|
|
@@ -3854,39 +3861,39 @@ function nt(e) {
|
|
|
3854
3861
|
}
|
|
3855
3862
|
};
|
|
3856
3863
|
}
|
|
3857
|
-
function
|
|
3864
|
+
function io(e) {
|
|
3858
3865
|
return e === void 0 && (e = {
|
|
3859
3866
|
number: {},
|
|
3860
3867
|
dateTime: {},
|
|
3861
3868
|
pluralRules: {}
|
|
3862
3869
|
}), {
|
|
3863
|
-
getNumberFormat:
|
|
3870
|
+
getNumberFormat: tt(function() {
|
|
3864
3871
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3865
3872
|
r[n] = arguments[n];
|
|
3866
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3873
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
|
|
3867
3874
|
}, {
|
|
3868
|
-
cache:
|
|
3869
|
-
strategy:
|
|
3875
|
+
cache: it(e.number),
|
|
3876
|
+
strategy: rt.variadic
|
|
3870
3877
|
}),
|
|
3871
|
-
getDateTimeFormat:
|
|
3878
|
+
getDateTimeFormat: tt(function() {
|
|
3872
3879
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3873
3880
|
r[n] = arguments[n];
|
|
3874
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3881
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
|
|
3875
3882
|
}, {
|
|
3876
|
-
cache:
|
|
3877
|
-
strategy:
|
|
3883
|
+
cache: it(e.dateTime),
|
|
3884
|
+
strategy: rt.variadic
|
|
3878
3885
|
}),
|
|
3879
|
-
getPluralRules:
|
|
3886
|
+
getPluralRules: tt(function() {
|
|
3880
3887
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3888
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3889
|
+
return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
|
|
3883
3890
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3891
|
+
cache: it(e.pluralRules),
|
|
3892
|
+
strategy: rt.variadic
|
|
3886
3893
|
})
|
|
3887
3894
|
};
|
|
3888
3895
|
}
|
|
3889
|
-
var
|
|
3896
|
+
var oo = (
|
|
3890
3897
|
/** @class */
|
|
3891
3898
|
function() {
|
|
3892
3899
|
function e(t, r, n, i) {
|
|
@@ -3900,12 +3907,12 @@ var no = (
|
|
|
3900
3907
|
var c = o.formatToParts(l);
|
|
3901
3908
|
if (c.length === 1)
|
|
3902
3909
|
return c[0].value;
|
|
3903
|
-
var u = c.reduce(function(
|
|
3904
|
-
return !
|
|
3910
|
+
var u = c.reduce(function(m, f) {
|
|
3911
|
+
return !m.length || f.type !== C.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3905
3912
|
}, []);
|
|
3906
3913
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3907
3914
|
}, this.formatToParts = function(l) {
|
|
3908
|
-
return
|
|
3915
|
+
return Oe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3909
3916
|
}, this.resolvedOptions = function() {
|
|
3910
3917
|
var l;
|
|
3911
3918
|
return {
|
|
@@ -3918,13 +3925,13 @@ var no = (
|
|
|
3918
3925
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3919
3926
|
var a = i || {};
|
|
3920
3927
|
a.formatters;
|
|
3921
|
-
var s =
|
|
3928
|
+
var s = di(a, ["formatters"]);
|
|
3922
3929
|
this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
|
|
3923
3930
|
} else
|
|
3924
3931
|
this.ast = t;
|
|
3925
3932
|
if (!Array.isArray(this.ast))
|
|
3926
3933
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3927
|
-
this.formats =
|
|
3934
|
+
this.formats = no(e.formats, n), this.formatters = i && i.formatters || io(this.formatterCache);
|
|
3928
3935
|
}
|
|
3929
3936
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3930
3937
|
get: function() {
|
|
@@ -3937,7 +3944,7 @@ var no = (
|
|
|
3937
3944
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3938
3945
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3939
3946
|
}
|
|
3940
|
-
}, e.__parse =
|
|
3947
|
+
}, e.__parse = Ji, e.formats = {
|
|
3941
3948
|
number: {
|
|
3942
3949
|
integer: {
|
|
3943
3950
|
maximumFractionDigits: 0
|
|
@@ -3998,7 +4005,7 @@ var no = (
|
|
|
3998
4005
|
}, e;
|
|
3999
4006
|
}()
|
|
4000
4007
|
);
|
|
4001
|
-
function
|
|
4008
|
+
function ao(e, t) {
|
|
4002
4009
|
if (t == null)
|
|
4003
4010
|
return;
|
|
4004
4011
|
if (t in e)
|
|
@@ -4019,92 +4026,92 @@ function io(e, t) {
|
|
|
4019
4026
|
n = void 0;
|
|
4020
4027
|
return n;
|
|
4021
4028
|
}
|
|
4022
|
-
const
|
|
4029
|
+
const Q = {}, so = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Xr = (e, t) => {
|
|
4023
4030
|
if (t == null)
|
|
4024
4031
|
return;
|
|
4025
|
-
if (t in
|
|
4026
|
-
return
|
|
4027
|
-
const r =
|
|
4032
|
+
if (t in Q && e in Q[t])
|
|
4033
|
+
return Q[t][e];
|
|
4034
|
+
const r = Ve(t);
|
|
4028
4035
|
for (let n = 0; n < r.length; n++) {
|
|
4029
|
-
const i = r[n], o =
|
|
4036
|
+
const i = r[n], o = uo(i, e);
|
|
4030
4037
|
if (o)
|
|
4031
|
-
return
|
|
4038
|
+
return so(e, t, o);
|
|
4032
4039
|
}
|
|
4033
4040
|
};
|
|
4034
4041
|
let St;
|
|
4035
|
-
const
|
|
4036
|
-
function
|
|
4042
|
+
const Ne = $e({});
|
|
4043
|
+
function lo(e) {
|
|
4037
4044
|
return St[e] || null;
|
|
4038
4045
|
}
|
|
4039
|
-
function
|
|
4046
|
+
function zr(e) {
|
|
4040
4047
|
return e in St;
|
|
4041
4048
|
}
|
|
4042
|
-
function
|
|
4043
|
-
if (!
|
|
4049
|
+
function uo(e, t) {
|
|
4050
|
+
if (!zr(e))
|
|
4044
4051
|
return null;
|
|
4045
|
-
const r =
|
|
4046
|
-
return
|
|
4052
|
+
const r = lo(e);
|
|
4053
|
+
return ao(r, t);
|
|
4047
4054
|
}
|
|
4048
|
-
function
|
|
4055
|
+
function co(e) {
|
|
4049
4056
|
if (e == null)
|
|
4050
4057
|
return;
|
|
4051
|
-
const t =
|
|
4058
|
+
const t = Ve(e);
|
|
4052
4059
|
for (let r = 0; r < t.length; r++) {
|
|
4053
4060
|
const n = t[r];
|
|
4054
|
-
if (
|
|
4061
|
+
if (zr(n))
|
|
4055
4062
|
return n;
|
|
4056
4063
|
}
|
|
4057
4064
|
}
|
|
4058
|
-
function
|
|
4059
|
-
delete
|
|
4065
|
+
function Zr(e, ...t) {
|
|
4066
|
+
delete Q[e], Ne.update((r) => (r[e] = mi.all([r[e] || {}, ...t]), r));
|
|
4060
4067
|
}
|
|
4061
|
-
|
|
4062
|
-
[
|
|
4068
|
+
ce(
|
|
4069
|
+
[Ne],
|
|
4063
4070
|
([e]) => Object.keys(e)
|
|
4064
4071
|
);
|
|
4065
|
-
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4068
|
-
|
|
4072
|
+
Ne.subscribe((e) => St = e);
|
|
4073
|
+
const Le = {};
|
|
4074
|
+
function ho(e, t) {
|
|
4075
|
+
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
4069
4076
|
}
|
|
4070
|
-
function
|
|
4071
|
-
return
|
|
4077
|
+
function Qr(e) {
|
|
4078
|
+
return Le[e];
|
|
4072
4079
|
}
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4075
|
-
const r =
|
|
4080
|
+
function fo(e) {
|
|
4081
|
+
return Ve(e).map((t) => {
|
|
4082
|
+
const r = Qr(t);
|
|
4076
4083
|
return [t, r ? [...r] : []];
|
|
4077
4084
|
}).filter(([, t]) => t.length > 0);
|
|
4078
4085
|
}
|
|
4079
|
-
function
|
|
4080
|
-
return e == null ? !1 :
|
|
4086
|
+
function Et(e) {
|
|
4087
|
+
return e == null ? !1 : Ve(e).some(
|
|
4081
4088
|
(t) => {
|
|
4082
4089
|
var r;
|
|
4083
|
-
return (r =
|
|
4090
|
+
return (r = Qr(t)) == null ? void 0 : r.size;
|
|
4084
4091
|
}
|
|
4085
4092
|
);
|
|
4086
4093
|
}
|
|
4087
|
-
function
|
|
4094
|
+
function mo(e, t) {
|
|
4088
4095
|
return Promise.all(
|
|
4089
|
-
t.map((n) => (
|
|
4090
|
-
).then((n) =>
|
|
4091
|
-
}
|
|
4092
|
-
const
|
|
4093
|
-
function
|
|
4094
|
-
if (!
|
|
4095
|
-
return e in
|
|
4096
|
-
const t =
|
|
4097
|
-
return
|
|
4096
|
+
t.map((n) => (ho(e, n), n().then((i) => i.default || i)))
|
|
4097
|
+
).then((n) => Zr(e, ...n));
|
|
4098
|
+
}
|
|
4099
|
+
const ve = {};
|
|
4100
|
+
function Yr(e) {
|
|
4101
|
+
if (!Et(e))
|
|
4102
|
+
return e in ve ? ve[e] : Promise.resolve();
|
|
4103
|
+
const t = fo(e);
|
|
4104
|
+
return ve[e] = Promise.all(
|
|
4098
4105
|
t.map(
|
|
4099
|
-
([r, n]) =>
|
|
4106
|
+
([r, n]) => mo(r, n)
|
|
4100
4107
|
)
|
|
4101
4108
|
).then(() => {
|
|
4102
|
-
if (
|
|
4103
|
-
return
|
|
4104
|
-
delete
|
|
4105
|
-
}),
|
|
4109
|
+
if (Et(e))
|
|
4110
|
+
return Yr(e);
|
|
4111
|
+
delete ve[e];
|
|
4112
|
+
}), ve[e];
|
|
4106
4113
|
}
|
|
4107
|
-
const
|
|
4114
|
+
const po = {
|
|
4108
4115
|
number: {
|
|
4109
4116
|
scientific: { notation: "scientific" },
|
|
4110
4117
|
engineering: { notation: "engineering" },
|
|
@@ -4133,181 +4140,181 @@ const fo = {
|
|
|
4133
4140
|
timeZoneName: "short"
|
|
4134
4141
|
}
|
|
4135
4142
|
}
|
|
4136
|
-
},
|
|
4143
|
+
}, go = {
|
|
4137
4144
|
fallbackLocale: null,
|
|
4138
4145
|
loadingDelay: 200,
|
|
4139
|
-
formats:
|
|
4146
|
+
formats: po,
|
|
4140
4147
|
warnOnMissingMessages: !0,
|
|
4141
4148
|
handleMissingMessage: void 0,
|
|
4142
4149
|
ignoreTag: !0
|
|
4143
|
-
},
|
|
4144
|
-
function
|
|
4145
|
-
return
|
|
4150
|
+
}, vo = go;
|
|
4151
|
+
function se() {
|
|
4152
|
+
return vo;
|
|
4146
4153
|
}
|
|
4147
|
-
const
|
|
4148
|
-
var
|
|
4154
|
+
const ot = $e(!1);
|
|
4155
|
+
var bo = Object.defineProperty, yo = Object.defineProperties, _o = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, wo = Object.prototype.hasOwnProperty, Eo = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xo = (e, t) => {
|
|
4149
4156
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4157
|
+
wo.call(t, r) && Jt(e, r, t[r]);
|
|
4158
|
+
if (Yt)
|
|
4159
|
+
for (var r of Yt(t))
|
|
4160
|
+
Eo.call(t, r) && Jt(e, r, t[r]);
|
|
4154
4161
|
return e;
|
|
4155
|
-
},
|
|
4162
|
+
}, No = (e, t) => yo(e, _o(t));
|
|
4156
4163
|
let xt;
|
|
4157
|
-
const
|
|
4158
|
-
function
|
|
4164
|
+
const Re = $e(null);
|
|
4165
|
+
function qt(e) {
|
|
4159
4166
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4160
4167
|
}
|
|
4161
|
-
function
|
|
4162
|
-
const r =
|
|
4163
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4168
|
+
function Ve(e, t = se().fallbackLocale) {
|
|
4169
|
+
const r = qt(e);
|
|
4170
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...qt(t)])] : r;
|
|
4164
4171
|
}
|
|
4165
|
-
function
|
|
4172
|
+
function q() {
|
|
4166
4173
|
return xt ?? void 0;
|
|
4167
4174
|
}
|
|
4168
|
-
|
|
4175
|
+
Re.subscribe((e) => {
|
|
4169
4176
|
xt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4170
4177
|
});
|
|
4171
|
-
const
|
|
4172
|
-
if (e &&
|
|
4173
|
-
const { loadingDelay: t } =
|
|
4178
|
+
const So = (e) => {
|
|
4179
|
+
if (e && co(e) && Et(e)) {
|
|
4180
|
+
const { loadingDelay: t } = se();
|
|
4174
4181
|
let r;
|
|
4175
|
-
return typeof window < "u" &&
|
|
4176
|
-
() =>
|
|
4182
|
+
return typeof window < "u" && q() != null && t ? r = window.setTimeout(
|
|
4183
|
+
() => ot.set(!0),
|
|
4177
4184
|
t
|
|
4178
|
-
) :
|
|
4179
|
-
|
|
4185
|
+
) : ot.set(!0), Yr(e).then(() => {
|
|
4186
|
+
Re.set(e);
|
|
4180
4187
|
}).finally(() => {
|
|
4181
|
-
clearTimeout(r),
|
|
4188
|
+
clearTimeout(r), ot.set(!1);
|
|
4182
4189
|
});
|
|
4183
4190
|
}
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4186
|
-
set:
|
|
4187
|
-
}),
|
|
4191
|
+
return Re.set(e);
|
|
4192
|
+
}, he = No(xo({}, Re), {
|
|
4193
|
+
set: So
|
|
4194
|
+
}), Xe = (e) => {
|
|
4188
4195
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4189
4196
|
return (n) => {
|
|
4190
4197
|
const i = JSON.stringify(n);
|
|
4191
4198
|
return i in t ? t[i] : t[i] = e(n);
|
|
4192
4199
|
};
|
|
4193
4200
|
};
|
|
4194
|
-
var
|
|
4201
|
+
var Io = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
|
|
4195
4202
|
for (var r in t || (t = {}))
|
|
4196
|
-
|
|
4197
|
-
if (
|
|
4198
|
-
for (var r of
|
|
4199
|
-
|
|
4203
|
+
Jr.call(t, r) && Kt(e, r, t[r]);
|
|
4204
|
+
if (Ue)
|
|
4205
|
+
for (var r of Ue(t))
|
|
4206
|
+
qr.call(t, r) && Kt(e, r, t[r]);
|
|
4200
4207
|
return e;
|
|
4201
|
-
},
|
|
4208
|
+
}, fe = (e, t) => {
|
|
4202
4209
|
var r = {};
|
|
4203
4210
|
for (var n in e)
|
|
4204
|
-
|
|
4205
|
-
if (e != null &&
|
|
4206
|
-
for (var n of
|
|
4207
|
-
t.indexOf(n) < 0 &&
|
|
4211
|
+
Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4212
|
+
if (e != null && Ue)
|
|
4213
|
+
for (var n of Ue(e))
|
|
4214
|
+
t.indexOf(n) < 0 && qr.call(e, n) && (r[n] = e[n]);
|
|
4208
4215
|
return r;
|
|
4209
4216
|
};
|
|
4210
|
-
const
|
|
4211
|
-
const { formats: r } =
|
|
4217
|
+
const Ee = (e, t) => {
|
|
4218
|
+
const { formats: r } = se();
|
|
4212
4219
|
if (e in r && t in r[e])
|
|
4213
4220
|
return r[e][t];
|
|
4214
4221
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4215
|
-
},
|
|
4222
|
+
}, Ao = Xe(
|
|
4216
4223
|
(e) => {
|
|
4217
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4224
|
+
var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
|
|
4218
4225
|
if (r == null)
|
|
4219
4226
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4220
|
-
return n && (i =
|
|
4227
|
+
return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4221
4228
|
}
|
|
4222
|
-
),
|
|
4229
|
+
), Bo = Xe(
|
|
4223
4230
|
(e) => {
|
|
4224
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4231
|
+
var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
|
|
4225
4232
|
if (r == null)
|
|
4226
4233
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4227
|
-
return n ? i =
|
|
4234
|
+
return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4228
4235
|
}
|
|
4229
|
-
),
|
|
4236
|
+
), To = Xe(
|
|
4230
4237
|
(e) => {
|
|
4231
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4238
|
+
var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
|
|
4232
4239
|
if (r == null)
|
|
4233
4240
|
throw new Error(
|
|
4234
4241
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4235
4242
|
);
|
|
4236
|
-
return n ? i =
|
|
4243
|
+
return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4237
4244
|
}
|
|
4238
|
-
),
|
|
4245
|
+
), Po = (e = {}) => {
|
|
4239
4246
|
var t = e, {
|
|
4240
|
-
locale: r =
|
|
4241
|
-
} = t, n =
|
|
4247
|
+
locale: r = q()
|
|
4248
|
+
} = t, n = fe(t, [
|
|
4242
4249
|
"locale"
|
|
4243
4250
|
]);
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4251
|
+
return Ao(It({ locale: r }, n));
|
|
4252
|
+
}, Ho = (e = {}) => {
|
|
4246
4253
|
var t = e, {
|
|
4247
|
-
locale: r =
|
|
4248
|
-
} = t, n =
|
|
4254
|
+
locale: r = q()
|
|
4255
|
+
} = t, n = fe(t, [
|
|
4249
4256
|
"locale"
|
|
4250
4257
|
]);
|
|
4251
|
-
return
|
|
4252
|
-
},
|
|
4258
|
+
return Bo(It({ locale: r }, n));
|
|
4259
|
+
}, Mo = (e = {}) => {
|
|
4253
4260
|
var t = e, {
|
|
4254
|
-
locale: r =
|
|
4255
|
-
} = t, n =
|
|
4261
|
+
locale: r = q()
|
|
4262
|
+
} = t, n = fe(t, [
|
|
4256
4263
|
"locale"
|
|
4257
4264
|
]);
|
|
4258
|
-
return
|
|
4259
|
-
},
|
|
4265
|
+
return To(It({ locale: r }, n));
|
|
4266
|
+
}, Oo = Xe(
|
|
4260
4267
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4261
|
-
(e, t =
|
|
4262
|
-
ignoreTag:
|
|
4268
|
+
(e, t = q()) => new oo(e, t, se().formats, {
|
|
4269
|
+
ignoreTag: se().ignoreTag
|
|
4263
4270
|
})
|
|
4264
|
-
),
|
|
4271
|
+
), Lo = (e, t = {}) => {
|
|
4265
4272
|
var r, n, i, o;
|
|
4266
4273
|
let a = t;
|
|
4267
4274
|
typeof e == "object" && (a = e, e = a.id);
|
|
4268
4275
|
const {
|
|
4269
4276
|
values: s,
|
|
4270
|
-
locale: l =
|
|
4277
|
+
locale: l = q(),
|
|
4271
4278
|
default: c
|
|
4272
4279
|
} = a;
|
|
4273
4280
|
if (l == null)
|
|
4274
4281
|
throw new Error(
|
|
4275
4282
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4276
4283
|
);
|
|
4277
|
-
let u =
|
|
4284
|
+
let u = Xr(e, l);
|
|
4278
4285
|
if (!u)
|
|
4279
|
-
u = (o = (i = (n = (r =
|
|
4286
|
+
u = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: c })) != null ? i : c) != null ? o : e;
|
|
4280
4287
|
else if (typeof u != "string")
|
|
4281
4288
|
return console.warn(
|
|
4282
4289
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4283
4290
|
), u;
|
|
4284
4291
|
if (!s)
|
|
4285
4292
|
return u;
|
|
4286
|
-
let
|
|
4293
|
+
let m = u;
|
|
4287
4294
|
try {
|
|
4288
|
-
|
|
4295
|
+
m = Oo(u, l).format(s);
|
|
4289
4296
|
} catch (f) {
|
|
4290
4297
|
f instanceof Error && console.warn(
|
|
4291
4298
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4292
4299
|
f.message
|
|
4293
4300
|
);
|
|
4294
4301
|
}
|
|
4295
|
-
return
|
|
4296
|
-
},
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
window.emWidgets = { topic:
|
|
4302
|
-
const
|
|
4302
|
+
return m;
|
|
4303
|
+
}, Co = (e, t) => Mo(t).format(e), Fo = (e, t) => Ho(t).format(e), Ro = (e, t) => Po(t).format(e), Uo = (e, t = q()) => Xr(e, t), Do = ce([he, Ne], () => Lo);
|
|
4304
|
+
ce([he], () => Co);
|
|
4305
|
+
ce([he], () => Fo);
|
|
4306
|
+
ce([he], () => Ro);
|
|
4307
|
+
ce([he, Ne], () => Uo);
|
|
4308
|
+
window.emWidgets = { topic: Yn };
|
|
4309
|
+
const er = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4303
4310
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4304
|
-
function
|
|
4305
|
-
|
|
4311
|
+
function tr(e, t) {
|
|
4312
|
+
Zr(e, t);
|
|
4306
4313
|
}
|
|
4307
|
-
function
|
|
4308
|
-
|
|
4314
|
+
function Go(e) {
|
|
4315
|
+
he.set(e);
|
|
4309
4316
|
}
|
|
4310
|
-
const
|
|
4317
|
+
const rr = {
|
|
4311
4318
|
en: {
|
|
4312
4319
|
secondaryMenuTitle: "Categories"
|
|
4313
4320
|
},
|
|
@@ -4341,14 +4348,14 @@ const er = {
|
|
|
4341
4348
|
"en-us": {
|
|
4342
4349
|
secondaryMenuTitle: "Categories"
|
|
4343
4350
|
}
|
|
4344
|
-
},
|
|
4345
|
-
function
|
|
4351
|
+
}, re = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4352
|
+
function ko(e, t) {
|
|
4346
4353
|
if (e) {
|
|
4347
4354
|
const r = document.createElement("style");
|
|
4348
4355
|
r.innerHTML = t, e.appendChild(r);
|
|
4349
4356
|
}
|
|
4350
4357
|
}
|
|
4351
|
-
function
|
|
4358
|
+
function $o(e, t) {
|
|
4352
4359
|
if (!e || !t)
|
|
4353
4360
|
return;
|
|
4354
4361
|
const r = new URL(t);
|
|
@@ -4359,32 +4366,32 @@ function Do(e, t) {
|
|
|
4359
4366
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4360
4367
|
});
|
|
4361
4368
|
}
|
|
4362
|
-
function
|
|
4369
|
+
function jo(e, t, r, n = !1) {
|
|
4363
4370
|
if (!window.emMessageBus)
|
|
4364
4371
|
return;
|
|
4365
4372
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4366
|
-
return r =
|
|
4367
|
-
window[
|
|
4373
|
+
return r = Wo(e, t), r;
|
|
4374
|
+
window[re] || (window[re] = {}), r = Vo(e, t);
|
|
4368
4375
|
const o = r.unsubscribe.bind(r), a = () => {
|
|
4369
|
-
if (window[
|
|
4370
|
-
const s = window[
|
|
4371
|
-
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[
|
|
4376
|
+
if (window[re][t]) {
|
|
4377
|
+
const s = window[re][t];
|
|
4378
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[re][t];
|
|
4372
4379
|
}
|
|
4373
4380
|
o();
|
|
4374
4381
|
};
|
|
4375
4382
|
return r.unsubscribe = a, r;
|
|
4376
4383
|
}
|
|
4377
|
-
function
|
|
4384
|
+
function Wo(e, t) {
|
|
4378
4385
|
const r = document.createElement("style");
|
|
4379
4386
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
4380
4387
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
4381
4388
|
});
|
|
4382
4389
|
}
|
|
4383
|
-
function
|
|
4390
|
+
function Vo(e, t) {
|
|
4384
4391
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4385
4392
|
if (!e)
|
|
4386
4393
|
return;
|
|
4387
|
-
const n = e.getRootNode(), i = window[
|
|
4394
|
+
const n = e.getRootNode(), i = window[re];
|
|
4388
4395
|
let o = i[t] && i[t].sheet;
|
|
4389
4396
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4390
4397
|
sheet: o,
|
|
@@ -4394,421 +4401,611 @@ function jo(e, t) {
|
|
|
4394
4401
|
a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
|
|
4395
4402
|
});
|
|
4396
4403
|
}
|
|
4397
|
-
|
|
4398
|
-
|
|
4404
|
+
if (typeof window < "u") {
|
|
4405
|
+
let e = function(t) {
|
|
4406
|
+
return function(...r) {
|
|
4407
|
+
try {
|
|
4408
|
+
return t.apply(this, r);
|
|
4409
|
+
} catch (n) {
|
|
4410
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
4411
|
+
return !1;
|
|
4412
|
+
throw n;
|
|
4413
|
+
}
|
|
4414
|
+
};
|
|
4415
|
+
};
|
|
4416
|
+
customElements.define = e(customElements.define), import("./SvgImage-D1QXkZH1.js").then(({ default: t }) => {
|
|
4417
|
+
!customElements.get("svg-image") && customElements.define("svg-image", t.element);
|
|
4418
|
+
});
|
|
4419
|
+
}
|
|
4420
|
+
function Xo(e) {
|
|
4421
|
+
yn(e, "svelte-9cvz5y", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.LinearBar{grid-template-columns:repeat(6, 16.6666666667%);grid-template-areas:"item0 item1 item2 item3 item4 item5"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4399
4422
|
}
|
|
4400
|
-
function
|
|
4423
|
+
function nr(e, t, r) {
|
|
4401
4424
|
const n = e.slice();
|
|
4402
|
-
return n[
|
|
4425
|
+
return n[52] = t[r], n[54] = r, n;
|
|
4403
4426
|
}
|
|
4404
|
-
function
|
|
4427
|
+
function ir(e, t, r) {
|
|
4405
4428
|
const n = e.slice();
|
|
4406
|
-
return n[
|
|
4429
|
+
return n[52] = t[r], n[54] = r, n;
|
|
4407
4430
|
}
|
|
4408
|
-
const
|
|
4409
|
-
function
|
|
4431
|
+
const zo = (e) => ({}), or = (e) => ({});
|
|
4432
|
+
function ar(e) {
|
|
4410
4433
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4411
|
-
e[
|
|
4434
|
+
e[11] && sr(e), c = Ce(
|
|
4412
4435
|
/*menuItems*/
|
|
4413
|
-
e[
|
|
4436
|
+
e[16]
|
|
4414
4437
|
), u = [];
|
|
4415
4438
|
for (let f = 0; f < c.length; f += 1)
|
|
4416
|
-
u[f] =
|
|
4417
|
-
let
|
|
4418
|
-
e[
|
|
4439
|
+
u[f] = fr(nr(e, c, f));
|
|
4440
|
+
let m = !/*navigationBarSimple*/
|
|
4441
|
+
e[11] && mr(e);
|
|
4419
4442
|
return {
|
|
4420
4443
|
c() {
|
|
4421
|
-
t =
|
|
4444
|
+
t = x("div"), l && l.c(), r = j(), n = x("div");
|
|
4422
4445
|
for (let f = 0; f < u.length; f += 1)
|
|
4423
4446
|
u[f].c();
|
|
4424
|
-
i =
|
|
4425
|
-
(e[
|
|
4426
|
-
(e[
|
|
4427
|
-
(e[
|
|
4428
|
-
(e[
|
|
4429
|
-
(e[
|
|
4430
|
-
(e[
|
|
4447
|
+
i = j(), m && m.c(), h(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4448
|
+
(e[9] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4449
|
+
(e[11] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4450
|
+
(e[7] ? "LinearBar" : "")), h(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4451
|
+
(e[9] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4452
|
+
(e[11] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4453
|
+
(e[7] ? "LinearBar" : "")), h(t, "class", "NavigationPanel");
|
|
4431
4454
|
},
|
|
4432
4455
|
m(f, p) {
|
|
4433
|
-
|
|
4456
|
+
M(f, t, p), l && l.m(t, null), y(t, r), y(t, n);
|
|
4434
4457
|
for (let g = 0; g < u.length; g += 1)
|
|
4435
4458
|
u[g] && u[g].m(n, null);
|
|
4436
|
-
|
|
4459
|
+
y(n, i), m && m.m(n, null), s = !0;
|
|
4437
4460
|
},
|
|
4438
4461
|
p(f, p) {
|
|
4439
4462
|
if (/*navigationBarSimple*/
|
|
4440
|
-
f[
|
|
4463
|
+
f[11] ? l && (_r(), _e(l, 1, 1, () => {
|
|
4441
4464
|
l = null;
|
|
4442
|
-
}),
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
c =
|
|
4465
|
+
}), wr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4466
|
+
2048 && Y(l, 1)) : (l = sr(f), l.c(), Y(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, menuItems, triggerNavigation, clientstyling, clientstylingurl, mbsource, usesvgicon*/
|
|
4467
|
+
1115166) {
|
|
4468
|
+
c = Ce(
|
|
4446
4469
|
/*menuItems*/
|
|
4447
|
-
f[
|
|
4470
|
+
f[16]
|
|
4448
4471
|
);
|
|
4449
4472
|
let g;
|
|
4450
4473
|
for (g = 0; g < c.length; g += 1) {
|
|
4451
|
-
const v =
|
|
4452
|
-
u[g] ? u[g].p(v, p) : (u[g] =
|
|
4474
|
+
const v = nr(f, c, g);
|
|
4475
|
+
u[g] ? u[g].p(v, p) : (u[g] = fr(v), u[g].c(), u[g].m(n, i));
|
|
4453
4476
|
}
|
|
4454
4477
|
for (; g < u.length; g += 1)
|
|
4455
4478
|
u[g].d(1);
|
|
4456
4479
|
u.length = c.length;
|
|
4457
4480
|
}
|
|
4458
4481
|
/*navigationBarSimple*/
|
|
4459
|
-
f[
|
|
4460
|
-
|
|
4461
|
-
(f[
|
|
4462
|
-
(f[
|
|
4463
|
-
(f[
|
|
4464
|
-
|
|
4465
|
-
(f[
|
|
4466
|
-
(f[
|
|
4467
|
-
(f[
|
|
4482
|
+
f[11] ? m && (m.d(1), m = null) : m ? m.p(f, p) : (m = mr(f), m.c(), m.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4483
|
+
2688 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4484
|
+
(f[9] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4485
|
+
(f[11] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4486
|
+
(f[7] ? "LinearBar" : ""))) && h(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4487
|
+
2688 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4488
|
+
(f[9] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4489
|
+
(f[11] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4490
|
+
(f[7] ? "LinearBar" : ""))) && h(n, "part", a);
|
|
4468
4491
|
},
|
|
4469
4492
|
i(f) {
|
|
4470
|
-
s || (
|
|
4493
|
+
s || (Y(l), s = !0);
|
|
4471
4494
|
},
|
|
4472
4495
|
o(f) {
|
|
4473
|
-
|
|
4496
|
+
_e(l), s = !1;
|
|
4474
4497
|
},
|
|
4475
4498
|
d(f) {
|
|
4476
|
-
f && H(t), l && l.d(),
|
|
4499
|
+
f && H(t), l && l.d(), br(u, f), m && m.d();
|
|
4477
4500
|
}
|
|
4478
4501
|
};
|
|
4479
4502
|
}
|
|
4480
|
-
function
|
|
4503
|
+
function sr(e) {
|
|
4481
4504
|
let t, r, n, i, o = (
|
|
4482
4505
|
/*secondarymenutitle*/
|
|
4483
4506
|
(e[0] || /*$_*/
|
|
4484
|
-
e[
|
|
4485
|
-
), a, s, l, c, u,
|
|
4507
|
+
e[17]("secondaryMenuTitle")) + ""
|
|
4508
|
+
), a, s, l, c, u, m, f;
|
|
4486
4509
|
const p = (
|
|
4487
4510
|
/*#slots*/
|
|
4488
|
-
e[
|
|
4489
|
-
), g =
|
|
4511
|
+
e[33].close
|
|
4512
|
+
), g = pn(
|
|
4490
4513
|
p,
|
|
4491
4514
|
e,
|
|
4492
4515
|
/*$$scope*/
|
|
4493
|
-
e[
|
|
4494
|
-
|
|
4495
|
-
), v = g ||
|
|
4496
|
-
let S =
|
|
4516
|
+
e[32],
|
|
4517
|
+
or
|
|
4518
|
+
), v = g || Zo();
|
|
4519
|
+
let S = Ce(
|
|
4497
4520
|
/*secondaryMenu*/
|
|
4498
|
-
e[
|
|
4499
|
-
),
|
|
4500
|
-
for (let
|
|
4501
|
-
|
|
4521
|
+
e[12]
|
|
4522
|
+
), N = [];
|
|
4523
|
+
for (let b = 0; b < S.length; b += 1)
|
|
4524
|
+
N[b] = ur(ir(e, S, b));
|
|
4502
4525
|
return {
|
|
4503
4526
|
c() {
|
|
4504
|
-
t =
|
|
4505
|
-
for (let
|
|
4506
|
-
|
|
4527
|
+
t = x("div"), r = x("span"), v && v.c(), n = j(), i = x("h3"), a = ue(o), s = j(), l = x("div");
|
|
4528
|
+
for (let b = 0; b < N.length; b += 1)
|
|
4529
|
+
N[b].c();
|
|
4507
4530
|
h(r, "class", "ModalCloseBtn"), h(r, "part", "ModalCloseBtn"), h(r, "role", "button"), h(i, "class", "NavigationWindowTitle"), h(l, "class", "NavigationSecondaryWrapper"), h(t, "class", c = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4508
|
-
(e[
|
|
4531
|
+
(e[9] ? "NavigationWindowOpened" : ""));
|
|
4509
4532
|
},
|
|
4510
|
-
m(
|
|
4511
|
-
|
|
4512
|
-
for (let E = 0; E <
|
|
4513
|
-
|
|
4514
|
-
u = !0,
|
|
4533
|
+
m(b, B) {
|
|
4534
|
+
M(b, t, B), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4535
|
+
for (let E = 0; E < N.length; E += 1)
|
|
4536
|
+
N[E] && N[E].m(l, null);
|
|
4537
|
+
u = !0, m || (f = De(
|
|
4515
4538
|
r,
|
|
4516
4539
|
"click",
|
|
4517
4540
|
/*navigationWindowToggle*/
|
|
4518
|
-
e[
|
|
4519
|
-
),
|
|
4541
|
+
e[19]
|
|
4542
|
+
), m = !0);
|
|
4520
4543
|
},
|
|
4521
|
-
p(
|
|
4544
|
+
p(b, B) {
|
|
4522
4545
|
if (g && g.p && (!u || B[1] & /*$$scope*/
|
|
4523
|
-
|
|
4546
|
+
2) && vn(
|
|
4524
4547
|
g,
|
|
4525
4548
|
p,
|
|
4526
|
-
|
|
4549
|
+
b,
|
|
4527
4550
|
/*$$scope*/
|
|
4528
|
-
|
|
4529
|
-
u ?
|
|
4551
|
+
b[32],
|
|
4552
|
+
u ? gn(
|
|
4530
4553
|
p,
|
|
4531
4554
|
/*$$scope*/
|
|
4532
|
-
|
|
4555
|
+
b[32],
|
|
4533
4556
|
B,
|
|
4534
|
-
|
|
4535
|
-
) :
|
|
4557
|
+
zo
|
|
4558
|
+
) : bn(
|
|
4536
4559
|
/*$$scope*/
|
|
4537
|
-
|
|
4560
|
+
b[32]
|
|
4538
4561
|
),
|
|
4539
|
-
|
|
4562
|
+
or
|
|
4540
4563
|
), (!u || B[0] & /*secondarymenutitle, $_*/
|
|
4541
|
-
|
|
4542
|
-
(
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
S =
|
|
4564
|
+
131073) && o !== (o = /*secondarymenutitle*/
|
|
4565
|
+
(b[0] || /*$_*/
|
|
4566
|
+
b[17]("secondaryMenuTitle")) + "") && Ge(a, o), B[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation, clientstyling, clientstylingurl, mbsource, usesvgicon*/
|
|
4567
|
+
1053726) {
|
|
4568
|
+
S = Ce(
|
|
4546
4569
|
/*secondaryMenu*/
|
|
4547
|
-
|
|
4570
|
+
b[12]
|
|
4548
4571
|
);
|
|
4549
4572
|
let E;
|
|
4550
4573
|
for (E = 0; E < S.length; E += 1) {
|
|
4551
|
-
const
|
|
4552
|
-
|
|
4574
|
+
const F = ir(b, S, E);
|
|
4575
|
+
N[E] ? N[E].p(F, B) : (N[E] = ur(F), N[E].c(), N[E].m(l, null));
|
|
4553
4576
|
}
|
|
4554
|
-
for (; E <
|
|
4555
|
-
|
|
4556
|
-
|
|
4577
|
+
for (; E < N.length; E += 1)
|
|
4578
|
+
N[E].d(1);
|
|
4579
|
+
N.length = S.length;
|
|
4557
4580
|
}
|
|
4558
4581
|
(!u || B[0] & /*navigationWindowOpened*/
|
|
4559
|
-
|
|
4560
|
-
(
|
|
4582
|
+
512 && c !== (c = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4583
|
+
(b[9] ? "NavigationWindowOpened" : ""))) && h(t, "class", c);
|
|
4561
4584
|
},
|
|
4562
|
-
i(
|
|
4563
|
-
u || (
|
|
4585
|
+
i(b) {
|
|
4586
|
+
u || (Y(v, b), u = !0);
|
|
4564
4587
|
},
|
|
4565
|
-
o(
|
|
4566
|
-
|
|
4588
|
+
o(b) {
|
|
4589
|
+
_e(v, b), u = !1;
|
|
4567
4590
|
},
|
|
4568
|
-
d(
|
|
4569
|
-
|
|
4591
|
+
d(b) {
|
|
4592
|
+
b && H(t), v && v.d(b), br(N, b), m = !1, f();
|
|
4570
4593
|
}
|
|
4571
4594
|
};
|
|
4572
4595
|
}
|
|
4573
|
-
function
|
|
4596
|
+
function Zo(e) {
|
|
4574
4597
|
let t, r;
|
|
4575
4598
|
return {
|
|
4576
4599
|
c() {
|
|
4577
|
-
t =
|
|
4600
|
+
t = O("svg"), r = O("path"), h(r, "part", "ModalCloseBtnPath"), h(r, "stroke-linecap", "round"), h(r, "stroke-linejoin", "round"), h(r, "stroke-width", "2"), h(r, "d", "M6 18L18 6M6 6l12 12"), h(t, "class", "w-6 h-6"), h(t, "part", "w-6 h-6"), h(t, "fill", "none"), h(t, "stroke", "currentColor"), h(t, "viewBox", "0 0 24 24"), h(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4578
4601
|
},
|
|
4579
4602
|
m(n, i) {
|
|
4580
|
-
|
|
4603
|
+
M(n, t, i), y(t, r);
|
|
4581
4604
|
},
|
|
4582
|
-
p:
|
|
4605
|
+
p: U,
|
|
4583
4606
|
d(n) {
|
|
4584
4607
|
n && H(t);
|
|
4585
4608
|
}
|
|
4586
4609
|
};
|
|
4587
4610
|
}
|
|
4588
|
-
function
|
|
4611
|
+
function lr(e) {
|
|
4612
|
+
let t;
|
|
4613
|
+
function r(o, a) {
|
|
4614
|
+
return (
|
|
4615
|
+
/*usesvgicon*/
|
|
4616
|
+
o[4] === "true" ? Yo : Qo
|
|
4617
|
+
);
|
|
4618
|
+
}
|
|
4619
|
+
let n = r(e), i = n(e);
|
|
4620
|
+
return {
|
|
4621
|
+
c() {
|
|
4622
|
+
t = x("div"), i.c(), h(t, "class", "NavigationSecondaryItemImgWrapper"), h(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4623
|
+
},
|
|
4624
|
+
m(o, a) {
|
|
4625
|
+
M(o, t, a), i.m(t, null);
|
|
4626
|
+
},
|
|
4627
|
+
p(o, a) {
|
|
4628
|
+
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4629
|
+
},
|
|
4630
|
+
d(o) {
|
|
4631
|
+
o && H(t), i.d();
|
|
4632
|
+
}
|
|
4633
|
+
};
|
|
4634
|
+
}
|
|
4635
|
+
function Qo(e) {
|
|
4636
|
+
let t, r, n;
|
|
4637
|
+
return {
|
|
4638
|
+
c() {
|
|
4639
|
+
t = x("img"), h(t, "class", "NavigationSecondaryItemImg"), h(t, "part", "NavigationSecondaryItemImg"), $(t.src, r = /*item*/
|
|
4640
|
+
e[52].img) || h(t, "src", r), h(t, "alt", n = /*item*/
|
|
4641
|
+
e[52].label);
|
|
4642
|
+
},
|
|
4643
|
+
m(i, o) {
|
|
4644
|
+
M(i, t, o);
|
|
4645
|
+
},
|
|
4646
|
+
p(i, o) {
|
|
4647
|
+
o[0] & /*secondaryMenu*/
|
|
4648
|
+
4096 && !$(t.src, r = /*item*/
|
|
4649
|
+
i[52].img) && h(t, "src", r), o[0] & /*secondaryMenu*/
|
|
4650
|
+
4096 && n !== (n = /*item*/
|
|
4651
|
+
i[52].label) && h(t, "alt", n);
|
|
4652
|
+
},
|
|
4653
|
+
d(i) {
|
|
4654
|
+
i && H(t);
|
|
4655
|
+
}
|
|
4656
|
+
};
|
|
4657
|
+
}
|
|
4658
|
+
function Yo(e) {
|
|
4589
4659
|
let t, r, n, i;
|
|
4590
4660
|
return {
|
|
4591
4661
|
c() {
|
|
4592
|
-
t =
|
|
4593
|
-
e[
|
|
4594
|
-
e[
|
|
4662
|
+
t = x("svg-image"), $(t.src, r = /*item*/
|
|
4663
|
+
e[52].img) || A(t, "src", r), A(t, "className", n = "NavigationPrimaryItemImg NavIcon" + /*i*/
|
|
4664
|
+
e[54] + " " + /*activeMenuItemId*/
|
|
4665
|
+
(e[10] === /*item*/
|
|
4666
|
+
e[52].id ? "ActiveIcon" : "")), A(t, "ariaLabel", i = /*item*/
|
|
4667
|
+
e[52].label), A(
|
|
4668
|
+
t,
|
|
4669
|
+
"clientstyling",
|
|
4670
|
+
/*clientstyling*/
|
|
4671
|
+
e[2]
|
|
4672
|
+
), A(
|
|
4673
|
+
t,
|
|
4674
|
+
"clientstylingurl",
|
|
4675
|
+
/*clientstylingurl*/
|
|
4676
|
+
e[3]
|
|
4677
|
+
), A(
|
|
4678
|
+
t,
|
|
4679
|
+
"mbsource",
|
|
4680
|
+
/*mbsource*/
|
|
4681
|
+
e[1]
|
|
4682
|
+
);
|
|
4595
4683
|
},
|
|
4596
4684
|
m(o, a) {
|
|
4597
|
-
|
|
4685
|
+
M(o, t, a);
|
|
4598
4686
|
},
|
|
4599
4687
|
p(o, a) {
|
|
4600
4688
|
a[0] & /*secondaryMenu*/
|
|
4601
|
-
|
|
4602
|
-
o[
|
|
4603
|
-
|
|
4604
|
-
o[
|
|
4689
|
+
4096 && !$(t.src, r = /*item*/
|
|
4690
|
+
o[52].img) && A(t, "src", r), a[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4691
|
+
5120 && n !== (n = "NavigationPrimaryItemImg NavIcon" + /*i*/
|
|
4692
|
+
o[54] + " " + /*activeMenuItemId*/
|
|
4693
|
+
(o[10] === /*item*/
|
|
4694
|
+
o[52].id ? "ActiveIcon" : "")) && A(t, "className", n), a[0] & /*secondaryMenu*/
|
|
4695
|
+
4096 && i !== (i = /*item*/
|
|
4696
|
+
o[52].label) && A(t, "ariaLabel", i), a[0] & /*clientstyling*/
|
|
4697
|
+
4 && A(
|
|
4698
|
+
t,
|
|
4699
|
+
"clientstyling",
|
|
4700
|
+
/*clientstyling*/
|
|
4701
|
+
o[2]
|
|
4702
|
+
), a[0] & /*clientstylingurl*/
|
|
4703
|
+
8 && A(
|
|
4704
|
+
t,
|
|
4705
|
+
"clientstylingurl",
|
|
4706
|
+
/*clientstylingurl*/
|
|
4707
|
+
o[3]
|
|
4708
|
+
), a[0] & /*mbsource*/
|
|
4709
|
+
2 && A(
|
|
4710
|
+
t,
|
|
4711
|
+
"mbsource",
|
|
4712
|
+
/*mbsource*/
|
|
4713
|
+
o[1]
|
|
4714
|
+
);
|
|
4605
4715
|
},
|
|
4606
4716
|
d(o) {
|
|
4607
4717
|
o && H(t);
|
|
4608
4718
|
}
|
|
4609
4719
|
};
|
|
4610
4720
|
}
|
|
4611
|
-
function
|
|
4721
|
+
function ur(e) {
|
|
4612
4722
|
let t, r, n, i = (
|
|
4613
4723
|
/*item*/
|
|
4614
|
-
e[
|
|
4724
|
+
e[52].label + ""
|
|
4615
4725
|
), o, a, s, l, c, u = (
|
|
4616
4726
|
/*item*/
|
|
4617
|
-
e[
|
|
4727
|
+
e[52].img && lr(e)
|
|
4618
4728
|
);
|
|
4619
|
-
function
|
|
4729
|
+
function m() {
|
|
4620
4730
|
return (
|
|
4621
4731
|
/*click_handler*/
|
|
4622
|
-
e[
|
|
4732
|
+
e[34](
|
|
4623
4733
|
/*item*/
|
|
4624
|
-
e[
|
|
4734
|
+
e[52]
|
|
4625
4735
|
)
|
|
4626
4736
|
);
|
|
4627
4737
|
}
|
|
4628
4738
|
return {
|
|
4629
4739
|
c() {
|
|
4630
|
-
t =
|
|
4631
|
-
(e[
|
|
4632
|
-
e[
|
|
4740
|
+
t = x("div"), u && u.c(), r = j(), n = x("p"), o = ue(i), a = j(), h(n, "class", "NavigationSecondaryItemLabel"), h(n, "part", "NavigationSecondaryItemLabel"), h(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4741
|
+
(e[10] === /*item*/
|
|
4742
|
+
e[52].id ? "ActiveItem" : ""));
|
|
4633
4743
|
},
|
|
4634
4744
|
m(f, p) {
|
|
4635
|
-
|
|
4745
|
+
M(f, t, p), u && u.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (c = De(t, "click", m), l = !0);
|
|
4636
4746
|
},
|
|
4637
4747
|
p(f, p) {
|
|
4638
4748
|
e = f, /*item*/
|
|
4639
|
-
e[
|
|
4640
|
-
|
|
4641
|
-
e[
|
|
4642
|
-
|
|
4643
|
-
(e[
|
|
4644
|
-
e[
|
|
4749
|
+
e[52].img ? u ? u.p(e, p) : (u = lr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), p[0] & /*secondaryMenu*/
|
|
4750
|
+
4096 && i !== (i = /*item*/
|
|
4751
|
+
e[52].label + "") && Ge(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4752
|
+
5120 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4753
|
+
(e[10] === /*item*/
|
|
4754
|
+
e[52].id ? "ActiveItem" : "")) && h(t, "class", s);
|
|
4645
4755
|
},
|
|
4646
4756
|
d(f) {
|
|
4647
4757
|
f && H(t), u && u.d(), l = !1, c();
|
|
4648
4758
|
}
|
|
4649
4759
|
};
|
|
4650
4760
|
}
|
|
4651
|
-
function
|
|
4761
|
+
function cr(e) {
|
|
4762
|
+
let t;
|
|
4763
|
+
function r(o, a) {
|
|
4764
|
+
return (
|
|
4765
|
+
/*usesvgicon*/
|
|
4766
|
+
o[4] === "true" ? qo : Jo
|
|
4767
|
+
);
|
|
4768
|
+
}
|
|
4769
|
+
let n = r(e), i = n(e);
|
|
4770
|
+
return {
|
|
4771
|
+
c() {
|
|
4772
|
+
t = x("div"), i.c(), h(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4773
|
+
},
|
|
4774
|
+
m(o, a) {
|
|
4775
|
+
M(o, t, a), i.m(t, null);
|
|
4776
|
+
},
|
|
4777
|
+
p(o, a) {
|
|
4778
|
+
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4779
|
+
},
|
|
4780
|
+
d(o) {
|
|
4781
|
+
o && H(t), i.d();
|
|
4782
|
+
}
|
|
4783
|
+
};
|
|
4784
|
+
}
|
|
4785
|
+
function Jo(e) {
|
|
4786
|
+
let t, r, n;
|
|
4787
|
+
return {
|
|
4788
|
+
c() {
|
|
4789
|
+
t = x("img"), h(t, "class", "NavigationPrimaryItemImg"), $(t.src, r = /*item*/
|
|
4790
|
+
e[52].img) || h(t, "src", r), h(t, "alt", n = /*item*/
|
|
4791
|
+
e[52].label);
|
|
4792
|
+
},
|
|
4793
|
+
m(i, o) {
|
|
4794
|
+
M(i, t, o);
|
|
4795
|
+
},
|
|
4796
|
+
p(i, o) {
|
|
4797
|
+
o[0] & /*menuItems*/
|
|
4798
|
+
65536 && !$(t.src, r = /*item*/
|
|
4799
|
+
i[52].img) && h(t, "src", r), o[0] & /*menuItems*/
|
|
4800
|
+
65536 && n !== (n = /*item*/
|
|
4801
|
+
i[52].label) && h(t, "alt", n);
|
|
4802
|
+
},
|
|
4803
|
+
d(i) {
|
|
4804
|
+
i && H(t);
|
|
4805
|
+
}
|
|
4806
|
+
};
|
|
4807
|
+
}
|
|
4808
|
+
function qo(e) {
|
|
4652
4809
|
let t, r, n, i;
|
|
4653
4810
|
return {
|
|
4654
4811
|
c() {
|
|
4655
|
-
t =
|
|
4656
|
-
e[
|
|
4657
|
-
e[
|
|
4812
|
+
t = x("svg-image"), $(t.src, r = /*item*/
|
|
4813
|
+
e[52].img) || A(t, "src", r), A(t, "className", n = "NavigationPrimaryItemImg NavIcon" + /*i*/
|
|
4814
|
+
e[54] + " " + /*activeMenuItemId*/
|
|
4815
|
+
(e[10] === /*item*/
|
|
4816
|
+
e[52].id ? "ActiveIcon" : "")), A(t, "ariaLabel", i = /*item*/
|
|
4817
|
+
e[52].label), A(
|
|
4818
|
+
t,
|
|
4819
|
+
"clientstyling",
|
|
4820
|
+
/*clientstyling*/
|
|
4821
|
+
e[2]
|
|
4822
|
+
), A(
|
|
4823
|
+
t,
|
|
4824
|
+
"clientstylingurl",
|
|
4825
|
+
/*clientstylingurl*/
|
|
4826
|
+
e[3]
|
|
4827
|
+
), A(
|
|
4828
|
+
t,
|
|
4829
|
+
"mbsource",
|
|
4830
|
+
/*mbsource*/
|
|
4831
|
+
e[1]
|
|
4832
|
+
);
|
|
4658
4833
|
},
|
|
4659
4834
|
m(o, a) {
|
|
4660
|
-
|
|
4835
|
+
M(o, t, a);
|
|
4661
4836
|
},
|
|
4662
4837
|
p(o, a) {
|
|
4663
4838
|
a[0] & /*menuItems*/
|
|
4664
|
-
|
|
4665
|
-
o[
|
|
4666
|
-
|
|
4667
|
-
o[
|
|
4839
|
+
65536 && !$(t.src, r = /*item*/
|
|
4840
|
+
o[52].img) && A(t, "src", r), a[0] & /*activeMenuItemId, menuItems*/
|
|
4841
|
+
66560 && n !== (n = "NavigationPrimaryItemImg NavIcon" + /*i*/
|
|
4842
|
+
o[54] + " " + /*activeMenuItemId*/
|
|
4843
|
+
(o[10] === /*item*/
|
|
4844
|
+
o[52].id ? "ActiveIcon" : "")) && A(t, "className", n), a[0] & /*menuItems*/
|
|
4845
|
+
65536 && i !== (i = /*item*/
|
|
4846
|
+
o[52].label) && A(t, "ariaLabel", i), a[0] & /*clientstyling*/
|
|
4847
|
+
4 && A(
|
|
4848
|
+
t,
|
|
4849
|
+
"clientstyling",
|
|
4850
|
+
/*clientstyling*/
|
|
4851
|
+
o[2]
|
|
4852
|
+
), a[0] & /*clientstylingurl*/
|
|
4853
|
+
8 && A(
|
|
4854
|
+
t,
|
|
4855
|
+
"clientstylingurl",
|
|
4856
|
+
/*clientstylingurl*/
|
|
4857
|
+
o[3]
|
|
4858
|
+
), a[0] & /*mbsource*/
|
|
4859
|
+
2 && A(
|
|
4860
|
+
t,
|
|
4861
|
+
"mbsource",
|
|
4862
|
+
/*mbsource*/
|
|
4863
|
+
o[1]
|
|
4864
|
+
);
|
|
4668
4865
|
},
|
|
4669
4866
|
d(o) {
|
|
4670
4867
|
o && H(t);
|
|
4671
4868
|
}
|
|
4672
4869
|
};
|
|
4673
4870
|
}
|
|
4674
|
-
function
|
|
4871
|
+
function hr(e) {
|
|
4675
4872
|
let t, r = (
|
|
4676
4873
|
/*item*/
|
|
4677
|
-
e[
|
|
4874
|
+
e[52].tag + ""
|
|
4678
4875
|
), n, i;
|
|
4679
4876
|
return {
|
|
4680
4877
|
c() {
|
|
4681
|
-
t =
|
|
4682
|
-
e[
|
|
4878
|
+
t = x("span"), n = ue(r), h(t, "title", i = /*item*/
|
|
4879
|
+
e[52].tag), h(t, "class", "NavigationPrimaryItemTag");
|
|
4683
4880
|
},
|
|
4684
4881
|
m(o, a) {
|
|
4685
|
-
|
|
4882
|
+
M(o, t, a), y(t, n);
|
|
4686
4883
|
},
|
|
4687
4884
|
p(o, a) {
|
|
4688
4885
|
a[0] & /*menuItems*/
|
|
4689
|
-
|
|
4690
|
-
o[
|
|
4691
|
-
|
|
4692
|
-
o[
|
|
4886
|
+
65536 && r !== (r = /*item*/
|
|
4887
|
+
o[52].tag + "") && Ge(n, r), a[0] & /*menuItems*/
|
|
4888
|
+
65536 && i !== (i = /*item*/
|
|
4889
|
+
o[52].tag) && h(t, "title", i);
|
|
4693
4890
|
},
|
|
4694
4891
|
d(o) {
|
|
4695
4892
|
o && H(t);
|
|
4696
4893
|
}
|
|
4697
4894
|
};
|
|
4698
4895
|
}
|
|
4699
|
-
function
|
|
4896
|
+
function fr(e) {
|
|
4700
4897
|
let t, r, n, i = (
|
|
4701
4898
|
/*item*/
|
|
4702
|
-
e[
|
|
4899
|
+
e[52].label + ""
|
|
4703
4900
|
), o, a, s, l, c, u = (
|
|
4704
4901
|
/*item*/
|
|
4705
|
-
e[
|
|
4706
|
-
),
|
|
4902
|
+
e[52]?.img && cr(e)
|
|
4903
|
+
), m = (
|
|
4707
4904
|
/*item*/
|
|
4708
|
-
e[
|
|
4905
|
+
e[52]?.tag && hr(e)
|
|
4709
4906
|
);
|
|
4710
4907
|
function f() {
|
|
4711
4908
|
return (
|
|
4712
4909
|
/*click_handler_1*/
|
|
4713
|
-
e[
|
|
4910
|
+
e[35](
|
|
4714
4911
|
/*item*/
|
|
4715
|
-
e[
|
|
4912
|
+
e[52]
|
|
4716
4913
|
)
|
|
4717
4914
|
);
|
|
4718
4915
|
}
|
|
4719
4916
|
return {
|
|
4720
4917
|
c() {
|
|
4721
|
-
t =
|
|
4722
|
-
e[
|
|
4723
|
-
(e[
|
|
4724
|
-
e[
|
|
4918
|
+
t = x("div"), u && u.c(), r = j(), n = x("p"), o = ue(i), a = j(), m && m.c(), h(n, "class", "NavigationPrimaryItemLabel"), h(t, "class", s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4919
|
+
e[54] + " " + /*activeMenuItemId*/
|
|
4920
|
+
(e[10] === /*item*/
|
|
4921
|
+
e[52].id ? "ActiveItem" : ""));
|
|
4725
4922
|
},
|
|
4726
4923
|
m(p, g) {
|
|
4727
|
-
|
|
4924
|
+
M(p, t, g), u && u.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), m && m.m(t, null), l || (c = De(t, "click", f), l = !0);
|
|
4728
4925
|
},
|
|
4729
4926
|
p(p, g) {
|
|
4730
4927
|
e = p, /*item*/
|
|
4731
|
-
e[
|
|
4732
|
-
|
|
4733
|
-
e[
|
|
4734
|
-
e[
|
|
4735
|
-
|
|
4736
|
-
e[
|
|
4737
|
-
(e[
|
|
4738
|
-
e[
|
|
4928
|
+
e[52]?.img ? u ? u.p(e, g) : (u = cr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), g[0] & /*menuItems*/
|
|
4929
|
+
65536 && i !== (i = /*item*/
|
|
4930
|
+
e[52].label + "") && Ge(o, i), /*item*/
|
|
4931
|
+
e[52]?.tag ? m ? m.p(e, g) : (m = hr(e), m.c(), m.m(t, null)) : m && (m.d(1), m = null), g[0] & /*activeMenuItemId, menuItems*/
|
|
4932
|
+
66560 && s !== (s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4933
|
+
e[54] + " " + /*activeMenuItemId*/
|
|
4934
|
+
(e[10] === /*item*/
|
|
4935
|
+
e[52].id ? "ActiveItem" : "")) && h(t, "class", s);
|
|
4739
4936
|
},
|
|
4740
4937
|
d(p) {
|
|
4741
|
-
p && H(t), u && u.d(),
|
|
4938
|
+
p && H(t), u && u.d(), m && m.d(), l = !1, c();
|
|
4742
4939
|
}
|
|
4743
4940
|
};
|
|
4744
4941
|
}
|
|
4745
|
-
function
|
|
4942
|
+
function mr(e) {
|
|
4746
4943
|
let t, r, n, i, o;
|
|
4747
4944
|
function a(c, u) {
|
|
4748
4945
|
return (
|
|
4749
4946
|
/*isFlowerMenu*/
|
|
4750
|
-
c[
|
|
4947
|
+
c[15] ? Ko : ea
|
|
4751
4948
|
);
|
|
4752
4949
|
}
|
|
4753
4950
|
let s = a(e), l = s(e);
|
|
4754
4951
|
return {
|
|
4755
4952
|
c() {
|
|
4756
|
-
t =
|
|
4757
|
-
(e[
|
|
4953
|
+
t = x("button"), r = x("span"), l.c(), h(r, "class", "NavigationButtonSpan"), h(r, "part", "NavigationButtonSpan"), h(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4954
|
+
(e[9] ? "NavigationButtonActive" : ""));
|
|
4758
4955
|
},
|
|
4759
4956
|
m(c, u) {
|
|
4760
|
-
|
|
4957
|
+
M(c, t, u), y(t, r), l.m(r, null), i || (o = De(
|
|
4761
4958
|
t,
|
|
4762
4959
|
"click",
|
|
4763
4960
|
/*navigationWindowToggle*/
|
|
4764
|
-
e[
|
|
4961
|
+
e[19]
|
|
4765
4962
|
), i = !0);
|
|
4766
4963
|
},
|
|
4767
4964
|
p(c, u) {
|
|
4768
4965
|
s === (s = a(c)) && l ? l.p(c, u) : (l.d(1), l = s(c), l && (l.c(), l.m(r, null))), u[0] & /*navigationWindowOpened*/
|
|
4769
|
-
|
|
4770
|
-
(c[
|
|
4966
|
+
512 && n !== (n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4967
|
+
(c[9] ? "NavigationButtonActive" : "")) && h(t, "class", n);
|
|
4771
4968
|
},
|
|
4772
4969
|
d(c) {
|
|
4773
4970
|
c && H(t), l.d(), i = !1, o();
|
|
4774
4971
|
}
|
|
4775
4972
|
};
|
|
4776
4973
|
}
|
|
4777
|
-
function
|
|
4974
|
+
function Ko(e) {
|
|
4778
4975
|
let t, r, n, i, o, a, s;
|
|
4779
4976
|
return {
|
|
4780
4977
|
c() {
|
|
4781
|
-
t =
|
|
4782
|
-
(e[
|
|
4978
|
+
t = x("div"), r = x("span"), n = j(), i = x("span"), o = j(), a = x("span"), h(r, "class", "middleIconLine"), h(i, "class", "middleIconLine"), h(a, "class", "middleIconLine"), h(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4979
|
+
(e[9] ? "labelMiddleIconActive" : ""));
|
|
4783
4980
|
},
|
|
4784
4981
|
m(l, c) {
|
|
4785
|
-
|
|
4982
|
+
M(l, t, c), y(t, r), y(t, n), y(t, i), y(t, o), y(t, a);
|
|
4786
4983
|
},
|
|
4787
4984
|
p(l, c) {
|
|
4788
4985
|
c[0] & /*navigationWindowOpened*/
|
|
4789
|
-
|
|
4790
|
-
(l[
|
|
4986
|
+
512 && s !== (s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4987
|
+
(l[9] ? "labelMiddleIconActive" : "")) && h(t, "class", s);
|
|
4791
4988
|
},
|
|
4792
4989
|
d(l) {
|
|
4793
4990
|
l && H(t);
|
|
4794
4991
|
}
|
|
4795
4992
|
};
|
|
4796
4993
|
}
|
|
4797
|
-
function
|
|
4994
|
+
function ea(e) {
|
|
4798
4995
|
let t;
|
|
4799
4996
|
function r(o, a) {
|
|
4800
4997
|
return (
|
|
4801
4998
|
/*imageIconUrl*/
|
|
4802
|
-
o[
|
|
4999
|
+
o[13] ? ra : ta
|
|
4803
5000
|
);
|
|
4804
5001
|
}
|
|
4805
5002
|
let n = r(e), i = n(e);
|
|
4806
5003
|
return {
|
|
4807
5004
|
c() {
|
|
4808
|
-
i.c(), t =
|
|
5005
|
+
i.c(), t = En();
|
|
4809
5006
|
},
|
|
4810
5007
|
m(o, a) {
|
|
4811
|
-
i.m(o, a),
|
|
5008
|
+
i.m(o, a), M(o, t, a);
|
|
4812
5009
|
},
|
|
4813
5010
|
p(o, a) {
|
|
4814
5011
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
|
|
@@ -4818,45 +5015,45 @@ function Zo(e) {
|
|
|
4818
5015
|
}
|
|
4819
5016
|
};
|
|
4820
5017
|
}
|
|
4821
|
-
function
|
|
4822
|
-
let t, r, n, i, o, a, s, l, c, u,
|
|
5018
|
+
function ta(e) {
|
|
5019
|
+
let t, r, n, i, o, a, s, l, c, u, m, f, p, g;
|
|
4823
5020
|
return {
|
|
4824
5021
|
c() {
|
|
4825
|
-
t =
|
|
5022
|
+
t = O("svg"), r = O("g"), n = O("g"), i = O("rect"), o = O("rect"), a = O("g"), s = O("rect"), l = O("rect"), c = O("g"), u = O("rect"), m = O("rect"), f = O("g"), p = O("rect"), g = O("rect"), h(i, "class", "b"), h(i, "part", "b"), h(i, "width", "10"), h(i, "height", "10"), h(i, "rx", "2"), h(o, "class", "c"), h(o, "part", "c"), h(o, "x", "0.5"), h(o, "y", "0.5"), h(o, "width", "9"), h(o, "height", "9"), h(o, "rx", "1.5"), h(n, "class", "a"), h(n, "part", "a"), h(n, "transform", "translate(150 514)"), h(s, "class", "b"), h(s, "part", "b"), h(s, "width", "10"), h(s, "height", "10"), h(s, "rx", "2"), h(l, "class", "c"), h(l, "part", "c"), h(l, "x", "0.5"), h(l, "y", "0.5"), h(l, "width", "9"), h(l, "height", "9"), h(l, "rx", "1.5"), h(a, "class", "a"), h(a, "part", "a"), h(a, "transform", "translate(161 514)"), h(u, "class", "b"), h(u, "part", "b"), h(u, "width", "10"), h(u, "height", "10"), h(u, "rx", "2"), h(m, "class", "c"), h(m, "part", "c"), h(m, "x", "0.5"), h(m, "y", "0.5"), h(m, "width", "9"), h(m, "height", "9"), h(m, "rx", "1.5"), h(c, "class", "a"), h(c, "part", "a"), h(c, "transform", "translate(161 525)"), h(p, "class", "b"), h(p, "part", "b"), h(p, "width", "10"), h(p, "height", "10"), h(p, "rx", "2"), h(g, "class", "c"), h(g, "part", "c"), h(g, "x", "0.5"), h(g, "y", "0.5"), h(g, "width", "9"), h(g, "height", "9"), h(g, "rx", "1.5"), h(f, "class", "a"), h(f, "part", "a"), h(f, "transform", "translate(150 525)"), h(r, "transform", "translate(-150 -514)"), h(t, "class", "middleIcon"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "21"), h(t, "height", "21"), h(t, "viewBox", "0 0 21 21");
|
|
4826
5023
|
},
|
|
4827
5024
|
m(v, S) {
|
|
4828
|
-
|
|
5025
|
+
M(v, t, S), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, c), y(c, u), y(c, m), y(r, f), y(f, p), y(f, g);
|
|
4829
5026
|
},
|
|
4830
|
-
p:
|
|
5027
|
+
p: U,
|
|
4831
5028
|
d(v) {
|
|
4832
5029
|
v && H(t);
|
|
4833
5030
|
}
|
|
4834
5031
|
};
|
|
4835
5032
|
}
|
|
4836
|
-
function
|
|
5033
|
+
function ra(e) {
|
|
4837
5034
|
let t, r;
|
|
4838
5035
|
return {
|
|
4839
5036
|
c() {
|
|
4840
|
-
t =
|
|
4841
|
-
e[
|
|
5037
|
+
t = x("img"), $(t.src, r = /*imageIconUrl*/
|
|
5038
|
+
e[13]) || h(t, "src", r), h(t, "class", "middleIcon"), h(
|
|
4842
5039
|
t,
|
|
4843
5040
|
"alt",
|
|
4844
5041
|
/*imageIconUrl*/
|
|
4845
|
-
e[
|
|
5042
|
+
e[13]
|
|
4846
5043
|
);
|
|
4847
5044
|
},
|
|
4848
5045
|
m(n, i) {
|
|
4849
|
-
|
|
5046
|
+
M(n, t, i);
|
|
4850
5047
|
},
|
|
4851
5048
|
p(n, i) {
|
|
4852
5049
|
i[0] & /*imageIconUrl*/
|
|
4853
|
-
|
|
4854
|
-
n[
|
|
4855
|
-
|
|
5050
|
+
8192 && !$(t.src, r = /*imageIconUrl*/
|
|
5051
|
+
n[13]) && h(t, "src", r), i[0] & /*imageIconUrl*/
|
|
5052
|
+
8192 && h(
|
|
4856
5053
|
t,
|
|
4857
5054
|
"alt",
|
|
4858
5055
|
/*imageIconUrl*/
|
|
4859
|
-
n[
|
|
5056
|
+
n[13]
|
|
4860
5057
|
);
|
|
4861
5058
|
},
|
|
4862
5059
|
d(n) {
|
|
@@ -4864,301 +5061,328 @@ function Yo(e) {
|
|
|
4864
5061
|
}
|
|
4865
5062
|
};
|
|
4866
5063
|
}
|
|
4867
|
-
function
|
|
5064
|
+
function na(e) {
|
|
4868
5065
|
let t, r, n, i = !/*isLoading*/
|
|
4869
|
-
e[
|
|
4870
|
-
e[
|
|
4871
|
-
e[
|
|
5066
|
+
e[5] && /*isMobile*/
|
|
5067
|
+
e[18] && /*showNavigation*/
|
|
5068
|
+
e[8] && ar(e);
|
|
4872
5069
|
return {
|
|
4873
5070
|
c() {
|
|
4874
|
-
t =
|
|
4875
|
-
(e[
|
|
4876
|
-
(e[
|
|
5071
|
+
t = x("div"), i && i.c(), h(t, "class", r = /*isFlowerMenu*/
|
|
5072
|
+
(e[15] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
5073
|
+
(e[14] ? "NavigationWrapperLandScape" : ""));
|
|
4877
5074
|
},
|
|
4878
5075
|
m(o, a) {
|
|
4879
|
-
|
|
5076
|
+
M(o, t, a), i && i.m(t, null), e[36](t), n = !0;
|
|
4880
5077
|
},
|
|
4881
5078
|
p(o, a) {
|
|
4882
5079
|
!/*isLoading*/
|
|
4883
|
-
o[
|
|
4884
|
-
o[
|
|
4885
|
-
o[
|
|
4886
|
-
|
|
5080
|
+
o[5] && /*isMobile*/
|
|
5081
|
+
o[18] && /*showNavigation*/
|
|
5082
|
+
o[8] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
5083
|
+
288 && Y(i, 1)) : (i = ar(o), i.c(), Y(i, 1), i.m(t, null)) : i && (_r(), _e(i, 1, 1, () => {
|
|
4887
5084
|
i = null;
|
|
4888
|
-
}),
|
|
4889
|
-
|
|
4890
|
-
(o[
|
|
4891
|
-
(o[
|
|
5085
|
+
}), wr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
5086
|
+
49152 && r !== (r = /*isFlowerMenu*/
|
|
5087
|
+
(o[15] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
5088
|
+
(o[14] ? "NavigationWrapperLandScape" : ""))) && h(t, "class", r);
|
|
4892
5089
|
},
|
|
4893
5090
|
i(o) {
|
|
4894
|
-
n || (
|
|
5091
|
+
n || (Y(i), n = !0);
|
|
4895
5092
|
},
|
|
4896
5093
|
o(o) {
|
|
4897
|
-
|
|
5094
|
+
_e(i), n = !1;
|
|
4898
5095
|
},
|
|
4899
5096
|
d(o) {
|
|
4900
|
-
o && H(t), i && i.d(), e[
|
|
5097
|
+
o && H(t), i && i.d(), e[36](null);
|
|
4901
5098
|
}
|
|
4902
5099
|
};
|
|
4903
5100
|
}
|
|
4904
|
-
function
|
|
5101
|
+
function ia(e, t, r) {
|
|
4905
5102
|
let n, i;
|
|
4906
|
-
|
|
4907
|
-
let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env: c = "" } = t, { secondarymenutitle: u = "" } = t, { userroles:
|
|
4908
|
-
const
|
|
4909
|
-
fetch(v).then((
|
|
4910
|
-
Object.keys(
|
|
4911
|
-
|
|
5103
|
+
dn(e, Do, (d) => r(17, i = d));
|
|
5104
|
+
let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env: c = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: m = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: v = "" } = t, { activecategory: S = "" } = t, { flowermenustyle: N = "false" } = t, { linearmenustyle: b = "false" } = t, { usesvgicon: B = "false" } = t, { cmsoption: E = "bottom-mobile-menu" } = t, F = window.navigator.userAgent, W = er(F) !== "PC", Z = !0, At = !1, D = !1, ze = "", Se = !1, Ie = [], me = [], de = [], V = [], X, Kr, Bt = "", Ze = {}, Tt, Qe = !1, pe = !1;
|
|
5105
|
+
const en = () => {
|
|
5106
|
+
fetch(v).then((P) => P.json()).then((P) => {
|
|
5107
|
+
Object.keys(P).forEach((R) => {
|
|
5108
|
+
tr(R, P[R]);
|
|
4912
5109
|
});
|
|
4913
|
-
}).catch((
|
|
4914
|
-
console.log(
|
|
5110
|
+
}).catch((P) => {
|
|
5111
|
+
console.log(P);
|
|
4915
5112
|
});
|
|
4916
5113
|
};
|
|
4917
|
-
Object.keys(
|
|
4918
|
-
|
|
5114
|
+
Object.keys(rr).forEach((d) => {
|
|
5115
|
+
tr(d, rr[d]);
|
|
4919
5116
|
});
|
|
4920
|
-
const
|
|
4921
|
-
if (
|
|
4922
|
-
switch (
|
|
5117
|
+
const Pt = (d) => {
|
|
5118
|
+
if (d.data)
|
|
5119
|
+
switch (d.data.type) {
|
|
4923
5120
|
case "PlayerAccountMenuActive":
|
|
4924
|
-
r(
|
|
5121
|
+
r(9, D = !1);
|
|
4925
5122
|
break;
|
|
4926
5123
|
case "OpenLoginRegisterModal":
|
|
4927
|
-
r(
|
|
5124
|
+
r(9, D = !1);
|
|
4928
5125
|
break;
|
|
4929
5126
|
case "GoToHomepage":
|
|
4930
|
-
r(
|
|
5127
|
+
r(9, D = !1);
|
|
4931
5128
|
break;
|
|
4932
5129
|
}
|
|
4933
|
-
},
|
|
4934
|
-
r(
|
|
4935
|
-
},
|
|
4936
|
-
r(
|
|
4937
|
-
},
|
|
4938
|
-
r(
|
|
5130
|
+
}, tn = () => {
|
|
5131
|
+
r(15, Qe = N.toLowerCase() === "true");
|
|
5132
|
+
}, rn = () => {
|
|
5133
|
+
r(7, pe = b.toLowerCase() === "true");
|
|
5134
|
+
}, nn = () => {
|
|
5135
|
+
r(9, D = !D), window.postMessage(
|
|
4939
5136
|
{
|
|
4940
5137
|
type: "MobileBottomNav",
|
|
4941
|
-
navigationWindowOpened:
|
|
5138
|
+
navigationWindowOpened: D
|
|
4942
5139
|
},
|
|
4943
5140
|
window.location.href
|
|
4944
5141
|
);
|
|
4945
|
-
},
|
|
4946
|
-
r(
|
|
4947
|
-
},
|
|
4948
|
-
r(
|
|
4949
|
-
},
|
|
4950
|
-
|
|
4951
|
-
let
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
}), r(
|
|
4956
|
-
}).catch((
|
|
4957
|
-
r(
|
|
5142
|
+
}, on = (d) => {
|
|
5143
|
+
r(31, de = []), r(31, de = Se ? d.splice(0, 5) : d.splice(0, 4)), S && Ye();
|
|
5144
|
+
}, an = (d, P) => {
|
|
5145
|
+
r(30, me = P ? [...d, ...P] : d), P = [], S && Ye();
|
|
5146
|
+
}, sn = () => {
|
|
5147
|
+
Je(), r(5, Z = !0);
|
|
5148
|
+
let d = er(F), P = new URL(`${s}/${l}/${E}?env=${c}`);
|
|
5149
|
+
P.searchParams.append("userRoles", m), d && P.searchParams.append("device", "mtWeb"), fetch(P.href).then((R) => R.json()).then((R) => {
|
|
5150
|
+
Ie = [], r(12, V = []), r(30, me = []), r(8, At = R.length > 0), R.forEach((G) => {
|
|
5151
|
+
Ze[G.label] = G.eventTrigger ? G.path : null, G.path == "/menu-item" ? (r(13, Bt = G?.img), r(12, V = G.children)) : Ie.push(G);
|
|
5152
|
+
}), r(11, Se = V.length == 0), V.length >= 5 && Qe && r(12, V = V.splice(0, 5)), pe ? (an(Ie, V), r(11, Se = !0)) : on(Ie), r(5, Z = !1);
|
|
5153
|
+
}).catch((R) => {
|
|
5154
|
+
r(5, Z = !1), console.error(R);
|
|
4958
5155
|
});
|
|
4959
|
-
},
|
|
4960
|
-
const
|
|
4961
|
-
|
|
4962
|
-
},
|
|
4963
|
-
|
|
5156
|
+
}, Ye = () => {
|
|
5157
|
+
const P = (pe ? me : de.concat(V)).find((R) => R.path.includes(S));
|
|
5158
|
+
P ? r(10, ze = P.id) : r(10, ze = "");
|
|
5159
|
+
}, ge = (d, P, R, G) => {
|
|
5160
|
+
Ze[G] ? window.postMessage(
|
|
4964
5161
|
{
|
|
4965
5162
|
type: "MobileBottomNavigationEvent",
|
|
4966
|
-
event:
|
|
5163
|
+
event: Ze[G]
|
|
4967
5164
|
},
|
|
4968
5165
|
window.location.href
|
|
4969
5166
|
) : window.postMessage(
|
|
4970
5167
|
{
|
|
4971
5168
|
type: "NavigateTo",
|
|
4972
|
-
path:
|
|
4973
|
-
target:
|
|
4974
|
-
externalLink:
|
|
5169
|
+
path: d,
|
|
5170
|
+
target: P || null,
|
|
5171
|
+
externalLink: R || !1
|
|
4975
5172
|
},
|
|
4976
5173
|
window.location.href
|
|
4977
|
-
), r(
|
|
5174
|
+
), r(9, D = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4978
5175
|
context: "MobileBottomNavigation",
|
|
4979
|
-
menuItem: `${
|
|
5176
|
+
menuItem: `${d}`
|
|
4980
5177
|
});
|
|
4981
|
-
},
|
|
4982
|
-
|
|
4983
|
-
},
|
|
4984
|
-
const
|
|
4985
|
-
r(
|
|
4986
|
-
},
|
|
4987
|
-
|
|
5178
|
+
}, ln = () => {
|
|
5179
|
+
Go(l);
|
|
5180
|
+
}, Je = () => {
|
|
5181
|
+
const d = window.screen.orientation.type.startsWith("landscape");
|
|
5182
|
+
r(14, Tt = W && d);
|
|
5183
|
+
}, Ht = () => {
|
|
5184
|
+
D && r(9, D = !1);
|
|
4988
5185
|
};
|
|
4989
|
-
|
|
4990
|
-
window.removeEventListener("message",
|
|
5186
|
+
Sn(() => (window.addEventListener("message", Pt, !1), document.addEventListener("focusin", Ht), W && window.screen.orientation.addEventListener("change", Je), () => {
|
|
5187
|
+
window.removeEventListener("message", Pt), document.removeEventListener("focusin", Ht), W && window.screen.orientation.removeEventListener("change", Je);
|
|
4991
5188
|
}));
|
|
4992
|
-
const
|
|
4993
|
-
|
|
4994
|
-
},
|
|
4995
|
-
|
|
5189
|
+
const un = (d) => {
|
|
5190
|
+
d.attrs?.target ? ge(d.path, d.attrs?.target, d?.externalLink, d.label) : ge(d.path, null, d?.externalLink, d.label);
|
|
5191
|
+
}, cn = (d) => {
|
|
5192
|
+
d?.attrs?.target ? ge(d.path, d.attrs?.target, d?.externalLink, d.label) : ge(d.path, null, d?.externalLink, d.label);
|
|
4996
5193
|
};
|
|
4997
|
-
function
|
|
4998
|
-
|
|
4999
|
-
|
|
5194
|
+
function hn(d) {
|
|
5195
|
+
at[d ? "unshift" : "push"](() => {
|
|
5196
|
+
X = d, r(6, X);
|
|
5000
5197
|
});
|
|
5001
5198
|
}
|
|
5002
|
-
return e.$$set = (
|
|
5003
|
-
"cmsendpoint" in
|
|
5199
|
+
return e.$$set = (d) => {
|
|
5200
|
+
"cmsendpoint" in d && r(21, s = d.cmsendpoint), "lang" in d && r(22, l = d.lang), "env" in d && r(23, c = d.env), "secondarymenutitle" in d && r(0, u = d.secondarymenutitle), "userroles" in d && r(24, m = d.userroles), "mbsource" in d && r(1, f = d.mbsource), "clientstyling" in d && r(2, p = d.clientstyling), "clientstylingurl" in d && r(3, g = d.clientstylingurl), "translationurl" in d && r(25, v = d.translationurl), "activecategory" in d && r(26, S = d.activecategory), "flowermenustyle" in d && r(27, N = d.flowermenustyle), "linearmenustyle" in d && r(28, b = d.linearmenustyle), "usesvgicon" in d && r(4, B = d.usesvgicon), "cmsoption" in d && r(29, E = d.cmsoption), "$$scope" in d && r(32, a = d.$$scope);
|
|
5004
5201
|
}, e.$$.update = () => {
|
|
5005
5202
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5203
|
+
134217728 && N && tn(), e.$$.dirty[0] & /*linearmenustyle*/
|
|
5204
|
+
268435456 && b && rn(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
5205
|
+
67108896 && S && !Z && Ye(), e.$$.dirty[0] & /*lang*/
|
|
5206
|
+
4194304 && l && ln(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
5207
|
+
31457280 && s && l && c && m && sn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5208
|
+
68 && p && X && ko(X, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5209
|
+
72 && g && X && $o(X, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5210
|
+
66 && f && X && jo(X, `${f}.Style`, Kr), e.$$.dirty[0] & /*translationurl*/
|
|
5211
|
+
33554432 && v && en(), e.$$.dirty[0] & /*isLinearMenu, linearMenu*/
|
|
5212
|
+
1073741952 | e.$$.dirty[1] & /*primaryMenuSpliced*/
|
|
5213
|
+
1 && r(16, n = pe ? me : de);
|
|
5016
5214
|
}, [
|
|
5017
5215
|
u,
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5216
|
+
f,
|
|
5217
|
+
p,
|
|
5218
|
+
g,
|
|
5219
|
+
B,
|
|
5220
|
+
Z,
|
|
5221
|
+
X,
|
|
5222
|
+
pe,
|
|
5223
|
+
At,
|
|
5224
|
+
D,
|
|
5225
|
+
ze,
|
|
5024
5226
|
Se,
|
|
5025
|
-
|
|
5026
|
-
It,
|
|
5227
|
+
V,
|
|
5027
5228
|
Bt,
|
|
5028
|
-
|
|
5229
|
+
Tt,
|
|
5230
|
+
Qe,
|
|
5029
5231
|
n,
|
|
5030
5232
|
i,
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5233
|
+
W,
|
|
5234
|
+
nn,
|
|
5235
|
+
ge,
|
|
5034
5236
|
s,
|
|
5035
5237
|
l,
|
|
5036
5238
|
c,
|
|
5037
|
-
|
|
5038
|
-
f,
|
|
5039
|
-
p,
|
|
5040
|
-
g,
|
|
5239
|
+
m,
|
|
5041
5240
|
v,
|
|
5042
5241
|
S,
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5242
|
+
N,
|
|
5243
|
+
b,
|
|
5244
|
+
E,
|
|
5245
|
+
me,
|
|
5047
5246
|
de,
|
|
5048
5247
|
a,
|
|
5049
5248
|
o,
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5249
|
+
un,
|
|
5250
|
+
cn,
|
|
5251
|
+
hn
|
|
5053
5252
|
];
|
|
5054
5253
|
}
|
|
5055
|
-
class
|
|
5254
|
+
class oa extends Cn {
|
|
5056
5255
|
constructor(t) {
|
|
5057
|
-
super(),
|
|
5256
|
+
super(), On(
|
|
5058
5257
|
this,
|
|
5059
5258
|
t,
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5259
|
+
ia,
|
|
5260
|
+
na,
|
|
5261
|
+
pr,
|
|
5063
5262
|
{
|
|
5064
|
-
cmsendpoint:
|
|
5065
|
-
lang:
|
|
5066
|
-
env:
|
|
5263
|
+
cmsendpoint: 21,
|
|
5264
|
+
lang: 22,
|
|
5265
|
+
env: 23,
|
|
5067
5266
|
secondarymenutitle: 0,
|
|
5068
|
-
userroles:
|
|
5069
|
-
mbsource:
|
|
5070
|
-
clientstyling:
|
|
5071
|
-
clientstylingurl:
|
|
5072
|
-
translationurl:
|
|
5073
|
-
activecategory:
|
|
5074
|
-
flowermenustyle:
|
|
5075
|
-
linearmenustyle:
|
|
5076
|
-
|
|
5267
|
+
userroles: 24,
|
|
5268
|
+
mbsource: 1,
|
|
5269
|
+
clientstyling: 2,
|
|
5270
|
+
clientstylingurl: 3,
|
|
5271
|
+
translationurl: 25,
|
|
5272
|
+
activecategory: 26,
|
|
5273
|
+
flowermenustyle: 27,
|
|
5274
|
+
linearmenustyle: 28,
|
|
5275
|
+
usesvgicon: 4,
|
|
5276
|
+
cmsoption: 29
|
|
5077
5277
|
},
|
|
5078
|
-
|
|
5278
|
+
Xo,
|
|
5079
5279
|
[-1, -1]
|
|
5080
5280
|
);
|
|
5081
5281
|
}
|
|
5082
5282
|
get cmsendpoint() {
|
|
5083
|
-
return this.$$.ctx[
|
|
5283
|
+
return this.$$.ctx[21];
|
|
5084
5284
|
}
|
|
5085
5285
|
set cmsendpoint(t) {
|
|
5086
|
-
this.$$set({ cmsendpoint: t }),
|
|
5286
|
+
this.$$set({ cmsendpoint: t }), L();
|
|
5087
5287
|
}
|
|
5088
5288
|
get lang() {
|
|
5089
|
-
return this.$$.ctx[
|
|
5289
|
+
return this.$$.ctx[22];
|
|
5090
5290
|
}
|
|
5091
5291
|
set lang(t) {
|
|
5092
|
-
this.$$set({ lang: t }),
|
|
5292
|
+
this.$$set({ lang: t }), L();
|
|
5093
5293
|
}
|
|
5094
5294
|
get env() {
|
|
5095
|
-
return this.$$.ctx[
|
|
5295
|
+
return this.$$.ctx[23];
|
|
5096
5296
|
}
|
|
5097
5297
|
set env(t) {
|
|
5098
|
-
this.$$set({ env: t }),
|
|
5298
|
+
this.$$set({ env: t }), L();
|
|
5099
5299
|
}
|
|
5100
5300
|
get secondarymenutitle() {
|
|
5101
5301
|
return this.$$.ctx[0];
|
|
5102
5302
|
}
|
|
5103
5303
|
set secondarymenutitle(t) {
|
|
5104
|
-
this.$$set({ secondarymenutitle: t }),
|
|
5304
|
+
this.$$set({ secondarymenutitle: t }), L();
|
|
5105
5305
|
}
|
|
5106
5306
|
get userroles() {
|
|
5107
|
-
return this.$$.ctx[
|
|
5307
|
+
return this.$$.ctx[24];
|
|
5108
5308
|
}
|
|
5109
5309
|
set userroles(t) {
|
|
5110
|
-
this.$$set({ userroles: t }),
|
|
5310
|
+
this.$$set({ userroles: t }), L();
|
|
5111
5311
|
}
|
|
5112
5312
|
get mbsource() {
|
|
5113
|
-
return this.$$.ctx[
|
|
5313
|
+
return this.$$.ctx[1];
|
|
5114
5314
|
}
|
|
5115
5315
|
set mbsource(t) {
|
|
5116
|
-
this.$$set({ mbsource: t }),
|
|
5316
|
+
this.$$set({ mbsource: t }), L();
|
|
5117
5317
|
}
|
|
5118
5318
|
get clientstyling() {
|
|
5119
|
-
return this.$$.ctx[
|
|
5319
|
+
return this.$$.ctx[2];
|
|
5120
5320
|
}
|
|
5121
5321
|
set clientstyling(t) {
|
|
5122
|
-
this.$$set({ clientstyling: t }),
|
|
5322
|
+
this.$$set({ clientstyling: t }), L();
|
|
5123
5323
|
}
|
|
5124
5324
|
get clientstylingurl() {
|
|
5125
|
-
return this.$$.ctx[
|
|
5325
|
+
return this.$$.ctx[3];
|
|
5126
5326
|
}
|
|
5127
5327
|
set clientstylingurl(t) {
|
|
5128
|
-
this.$$set({ clientstylingurl: t }),
|
|
5328
|
+
this.$$set({ clientstylingurl: t }), L();
|
|
5129
5329
|
}
|
|
5130
5330
|
get translationurl() {
|
|
5131
|
-
return this.$$.ctx[
|
|
5331
|
+
return this.$$.ctx[25];
|
|
5132
5332
|
}
|
|
5133
5333
|
set translationurl(t) {
|
|
5134
|
-
this.$$set({ translationurl: t }),
|
|
5334
|
+
this.$$set({ translationurl: t }), L();
|
|
5135
5335
|
}
|
|
5136
5336
|
get activecategory() {
|
|
5137
|
-
return this.$$.ctx[
|
|
5337
|
+
return this.$$.ctx[26];
|
|
5138
5338
|
}
|
|
5139
5339
|
set activecategory(t) {
|
|
5140
|
-
this.$$set({ activecategory: t }),
|
|
5340
|
+
this.$$set({ activecategory: t }), L();
|
|
5141
5341
|
}
|
|
5142
5342
|
get flowermenustyle() {
|
|
5143
|
-
return this.$$.ctx[
|
|
5343
|
+
return this.$$.ctx[27];
|
|
5144
5344
|
}
|
|
5145
5345
|
set flowermenustyle(t) {
|
|
5146
|
-
this.$$set({ flowermenustyle: t }),
|
|
5346
|
+
this.$$set({ flowermenustyle: t }), L();
|
|
5147
5347
|
}
|
|
5148
5348
|
get linearmenustyle() {
|
|
5149
|
-
return this.$$.ctx[
|
|
5349
|
+
return this.$$.ctx[28];
|
|
5150
5350
|
}
|
|
5151
5351
|
set linearmenustyle(t) {
|
|
5152
|
-
this.$$set({ linearmenustyle: t }),
|
|
5352
|
+
this.$$set({ linearmenustyle: t }), L();
|
|
5353
|
+
}
|
|
5354
|
+
get usesvgicon() {
|
|
5355
|
+
return this.$$.ctx[4];
|
|
5356
|
+
}
|
|
5357
|
+
set usesvgicon(t) {
|
|
5358
|
+
this.$$set({ usesvgicon: t }), L();
|
|
5153
5359
|
}
|
|
5154
5360
|
get cmsoption() {
|
|
5155
|
-
return this.$$.ctx[
|
|
5361
|
+
return this.$$.ctx[29];
|
|
5156
5362
|
}
|
|
5157
5363
|
set cmsoption(t) {
|
|
5158
|
-
this.$$set({ cmsoption: t }),
|
|
5364
|
+
this.$$set({ cmsoption: t }), L();
|
|
5159
5365
|
}
|
|
5160
5366
|
}
|
|
5161
|
-
|
|
5367
|
+
Ln(oa, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {}, linearmenustyle: {}, usesvgicon: {}, cmsoption: {} }, ["close"], [], !0);
|
|
5162
5368
|
export {
|
|
5163
|
-
|
|
5369
|
+
oa as G,
|
|
5370
|
+
Cn as S,
|
|
5371
|
+
yn as a,
|
|
5372
|
+
M as b,
|
|
5373
|
+
Ln as c,
|
|
5374
|
+
H as d,
|
|
5375
|
+
x as e,
|
|
5376
|
+
L as f,
|
|
5377
|
+
h as g,
|
|
5378
|
+
aa as h,
|
|
5379
|
+
On as i,
|
|
5380
|
+
$ as j,
|
|
5381
|
+
at as k,
|
|
5382
|
+
ko as l,
|
|
5383
|
+
$o as m,
|
|
5384
|
+
U as n,
|
|
5385
|
+
Sn as o,
|
|
5386
|
+
jo as p,
|
|
5387
|
+
pr as s
|
|
5164
5388
|
};
|