@everymatrix/general-navigation-bar 1.53.0 → 1.53.11
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-CB0tum7Z.js → GeneralNavigationBar-BM2WKdIc.js} +1045 -1098
- package/esnext/general-navigation-bar.js +14 -0
- package/package.json +12 -8
- package/components/GeneralNavigationBar-BBGloZ_h.cjs +0 -5
- package/es2015/general-navigation-bar.cjs +0 -1
- package/es2015/general-navigation-bar.js +0 -16
|
@@ -1,85 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
var sn = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Et = Object.getOwnPropertySymbols;
|
|
4
|
-
var ln = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var $e = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
ln.call(t, r) && $e(e, r, t[r]);
|
|
8
|
-
if (Et)
|
|
9
|
-
for (var r of Et(t))
|
|
10
|
-
un.call(t, r) && $e(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, St = (e, t) => an(e, sn(t));
|
|
13
|
-
var R = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var It = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var o = (l) => {
|
|
16
|
-
try {
|
|
17
|
-
s(r.next(l));
|
|
18
|
-
} catch (u) {
|
|
19
|
-
i(u);
|
|
20
|
-
}
|
|
21
|
-
}, a = (l) => {
|
|
22
|
-
try {
|
|
23
|
-
s(r.throw(l));
|
|
24
|
-
} catch (u) {
|
|
25
|
-
i(u);
|
|
26
|
-
}
|
|
27
|
-
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
|
-
s((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
|
-
function D() {
|
|
1
|
+
function R() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function Qr(e, t) {
|
|
33
4
|
for (const r in t) e[r] = t[r];
|
|
34
5
|
return (
|
|
35
6
|
/** @type {T & S} */
|
|
36
7
|
e
|
|
37
8
|
);
|
|
38
9
|
}
|
|
39
|
-
function
|
|
10
|
+
function er(e) {
|
|
40
11
|
return e();
|
|
41
12
|
}
|
|
42
|
-
function
|
|
13
|
+
function yt() {
|
|
43
14
|
return /* @__PURE__ */ Object.create(null);
|
|
44
15
|
}
|
|
45
|
-
function
|
|
46
|
-
e.forEach(
|
|
16
|
+
function ae(e) {
|
|
17
|
+
e.forEach(er);
|
|
47
18
|
}
|
|
48
|
-
function
|
|
19
|
+
function ut(e) {
|
|
49
20
|
return typeof e == "function";
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function tr(e, t) {
|
|
52
23
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
24
|
}
|
|
54
|
-
let
|
|
55
|
-
function
|
|
56
|
-
return e === t ? !0 : (
|
|
25
|
+
let _e;
|
|
26
|
+
function te(e, t) {
|
|
27
|
+
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
57
28
|
}
|
|
58
|
-
function
|
|
29
|
+
function Yr(e) {
|
|
59
30
|
return Object.keys(e).length === 0;
|
|
60
31
|
}
|
|
61
|
-
function
|
|
32
|
+
function rr(e, ...t) {
|
|
62
33
|
if (e == null) {
|
|
63
34
|
for (const n of t)
|
|
64
35
|
n(void 0);
|
|
65
|
-
return
|
|
36
|
+
return R;
|
|
66
37
|
}
|
|
67
38
|
const r = e.subscribe(...t);
|
|
68
39
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
69
40
|
}
|
|
70
|
-
function
|
|
71
|
-
e.$$.on_destroy.push(
|
|
41
|
+
function Jr(e, t, r) {
|
|
42
|
+
e.$$.on_destroy.push(rr(t, r));
|
|
72
43
|
}
|
|
73
|
-
function
|
|
44
|
+
function qr(e, t, r, n) {
|
|
74
45
|
if (e) {
|
|
75
|
-
const i =
|
|
46
|
+
const i = nr(e, t, r, n);
|
|
76
47
|
return e[0](i);
|
|
77
48
|
}
|
|
78
49
|
}
|
|
79
|
-
function
|
|
80
|
-
return e[1] && n ?
|
|
50
|
+
function nr(e, t, r, n) {
|
|
51
|
+
return e[1] && n ? Qr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
81
52
|
}
|
|
82
|
-
function
|
|
53
|
+
function Kr(e, t, r, n) {
|
|
83
54
|
if (e[2] && n) {
|
|
84
55
|
const i = e[2](n(r));
|
|
85
56
|
if (t.dirty === void 0)
|
|
@@ -94,13 +65,13 @@ function pn(e, t, r, n) {
|
|
|
94
65
|
}
|
|
95
66
|
return t.dirty;
|
|
96
67
|
}
|
|
97
|
-
function
|
|
68
|
+
function en(e, t, r, n, i, o) {
|
|
98
69
|
if (i) {
|
|
99
|
-
const a =
|
|
70
|
+
const a = nr(t, r, n, o);
|
|
100
71
|
e.p(a, i);
|
|
101
72
|
}
|
|
102
73
|
}
|
|
103
|
-
function
|
|
74
|
+
function tn(e) {
|
|
104
75
|
if (e.ctx.length > 32) {
|
|
105
76
|
const t = [], r = e.ctx.length / 32;
|
|
106
77
|
for (let n = 0; n < r; n++)
|
|
@@ -112,14 +83,14 @@ function gn(e) {
|
|
|
112
83
|
function y(e, t) {
|
|
113
84
|
e.appendChild(t);
|
|
114
85
|
}
|
|
115
|
-
function
|
|
116
|
-
const n =
|
|
86
|
+
function rn(e, t, r) {
|
|
87
|
+
const n = nn(e);
|
|
117
88
|
if (!n.getElementById(t)) {
|
|
118
|
-
const i =
|
|
119
|
-
i.id = t, i.textContent = r,
|
|
89
|
+
const i = I("style");
|
|
90
|
+
i.id = t, i.textContent = r, on(n, i);
|
|
120
91
|
}
|
|
121
92
|
}
|
|
122
|
-
function
|
|
93
|
+
function nn(e) {
|
|
123
94
|
if (!e) return document;
|
|
124
95
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
125
96
|
return t && /** @type {ShadowRoot} */
|
|
@@ -128,7 +99,7 @@ function bn(e) {
|
|
|
128
99
|
t
|
|
129
100
|
) : e.ownerDocument;
|
|
130
101
|
}
|
|
131
|
-
function
|
|
102
|
+
function on(e, t) {
|
|
132
103
|
return y(
|
|
133
104
|
/** @type {Document} */
|
|
134
105
|
e.head || e,
|
|
@@ -141,39 +112,39 @@ function L(e, t, r) {
|
|
|
141
112
|
function O(e) {
|
|
142
113
|
e.parentNode && e.parentNode.removeChild(e);
|
|
143
114
|
}
|
|
144
|
-
function
|
|
115
|
+
function ir(e, t) {
|
|
145
116
|
for (let r = 0; r < e.length; r += 1)
|
|
146
117
|
e[r] && e[r].d(t);
|
|
147
118
|
}
|
|
148
|
-
function
|
|
119
|
+
function I(e) {
|
|
149
120
|
return document.createElement(e);
|
|
150
121
|
}
|
|
151
|
-
function
|
|
122
|
+
function H(e) {
|
|
152
123
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
153
124
|
}
|
|
154
125
|
function be(e) {
|
|
155
126
|
return document.createTextNode(e);
|
|
156
127
|
}
|
|
157
|
-
function
|
|
128
|
+
function G() {
|
|
158
129
|
return be(" ");
|
|
159
130
|
}
|
|
160
|
-
function
|
|
131
|
+
function an() {
|
|
161
132
|
return be("");
|
|
162
133
|
}
|
|
163
|
-
function
|
|
134
|
+
function He(e, t, r, n) {
|
|
164
135
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
165
136
|
}
|
|
166
137
|
function c(e, t, r) {
|
|
167
138
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
168
139
|
}
|
|
169
|
-
function
|
|
140
|
+
function sn(e) {
|
|
170
141
|
return Array.from(e.childNodes);
|
|
171
142
|
}
|
|
172
|
-
function
|
|
143
|
+
function ht(e, t) {
|
|
173
144
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
174
145
|
t);
|
|
175
146
|
}
|
|
176
|
-
function
|
|
147
|
+
function ln(e) {
|
|
177
148
|
const t = {};
|
|
178
149
|
return e.childNodes.forEach(
|
|
179
150
|
/** @param {Element} node */
|
|
@@ -182,116 +153,116 @@ function wn(e) {
|
|
|
182
153
|
}
|
|
183
154
|
), t;
|
|
184
155
|
}
|
|
185
|
-
let
|
|
186
|
-
function
|
|
187
|
-
|
|
156
|
+
let de;
|
|
157
|
+
function fe(e) {
|
|
158
|
+
de = e;
|
|
188
159
|
}
|
|
189
|
-
function
|
|
190
|
-
if (!
|
|
191
|
-
return
|
|
160
|
+
function un() {
|
|
161
|
+
if (!de) throw new Error("Function called outside component initialization");
|
|
162
|
+
return de;
|
|
192
163
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
164
|
+
function hn(e) {
|
|
165
|
+
un().$$.on_mount.push(e);
|
|
195
166
|
}
|
|
196
|
-
const
|
|
197
|
-
let
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
|
|
167
|
+
const q = [], ze = [];
|
|
168
|
+
let K = [];
|
|
169
|
+
const _t = [], cn = /* @__PURE__ */ Promise.resolve();
|
|
170
|
+
let Ze = !1;
|
|
171
|
+
function fn() {
|
|
172
|
+
Ze || (Ze = !0, cn.then(F));
|
|
202
173
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
174
|
+
function Qe(e) {
|
|
175
|
+
K.push(e);
|
|
205
176
|
}
|
|
206
|
-
const
|
|
207
|
-
let
|
|
208
|
-
function
|
|
209
|
-
if (
|
|
177
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
178
|
+
let Y = 0;
|
|
179
|
+
function F() {
|
|
180
|
+
if (Y !== 0)
|
|
210
181
|
return;
|
|
211
|
-
const e =
|
|
182
|
+
const e = de;
|
|
212
183
|
do {
|
|
213
184
|
try {
|
|
214
|
-
for (;
|
|
215
|
-
const t =
|
|
216
|
-
|
|
185
|
+
for (; Y < q.length; ) {
|
|
186
|
+
const t = q[Y];
|
|
187
|
+
Y++, fe(t), dn(t.$$);
|
|
217
188
|
}
|
|
218
189
|
} catch (t) {
|
|
219
|
-
throw
|
|
190
|
+
throw q.length = 0, Y = 0, t;
|
|
220
191
|
}
|
|
221
|
-
for (
|
|
222
|
-
for (let t = 0; t <
|
|
223
|
-
const r =
|
|
224
|
-
|
|
192
|
+
for (fe(null), q.length = 0, Y = 0; ze.length; ) ze.pop()();
|
|
193
|
+
for (let t = 0; t < K.length; t += 1) {
|
|
194
|
+
const r = K[t];
|
|
195
|
+
Ge.has(r) || (Ge.add(r), r());
|
|
225
196
|
}
|
|
226
|
-
|
|
227
|
-
} while (
|
|
228
|
-
for (;
|
|
229
|
-
|
|
230
|
-
|
|
197
|
+
K.length = 0;
|
|
198
|
+
} while (q.length);
|
|
199
|
+
for (; _t.length; )
|
|
200
|
+
_t.pop()();
|
|
201
|
+
Ze = !1, Ge.clear(), fe(e);
|
|
231
202
|
}
|
|
232
|
-
function
|
|
203
|
+
function dn(e) {
|
|
233
204
|
if (e.fragment !== null) {
|
|
234
|
-
e.update(),
|
|
205
|
+
e.update(), ae(e.before_update);
|
|
235
206
|
const t = e.dirty;
|
|
236
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
207
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
237
208
|
}
|
|
238
209
|
}
|
|
239
|
-
function
|
|
210
|
+
function mn(e) {
|
|
240
211
|
const t = [], r = [];
|
|
241
|
-
|
|
212
|
+
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
242
213
|
}
|
|
243
|
-
const
|
|
244
|
-
let
|
|
245
|
-
function
|
|
246
|
-
|
|
214
|
+
const Ee = /* @__PURE__ */ new Set();
|
|
215
|
+
let z;
|
|
216
|
+
function or() {
|
|
217
|
+
z = {
|
|
247
218
|
r: 0,
|
|
248
219
|
c: [],
|
|
249
|
-
p:
|
|
220
|
+
p: z
|
|
250
221
|
// parent group
|
|
251
222
|
};
|
|
252
223
|
}
|
|
253
|
-
function
|
|
254
|
-
|
|
224
|
+
function ar() {
|
|
225
|
+
z.r || ae(z.c), z = z.p;
|
|
255
226
|
}
|
|
256
|
-
function
|
|
257
|
-
e && e.i && (
|
|
227
|
+
function X(e, t) {
|
|
228
|
+
e && e.i && (Ee.delete(e), e.i(t));
|
|
258
229
|
}
|
|
259
230
|
function me(e, t, r, n) {
|
|
260
231
|
if (e && e.o) {
|
|
261
|
-
if (
|
|
262
|
-
|
|
263
|
-
|
|
232
|
+
if (Ee.has(e)) return;
|
|
233
|
+
Ee.add(e), z.c.push(() => {
|
|
234
|
+
Ee.delete(e), n && (r && e.d(1), n());
|
|
264
235
|
}), e.o(t);
|
|
265
236
|
} else n && n();
|
|
266
237
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
238
|
+
function Be(e) {
|
|
239
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
|
269
240
|
}
|
|
270
|
-
function
|
|
241
|
+
function pn(e, t, r) {
|
|
271
242
|
const { fragment: n, after_update: i } = e.$$;
|
|
272
|
-
n && n.m(t, r),
|
|
273
|
-
const o = e.$$.on_mount.map(
|
|
274
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
275
|
-
}), i.forEach(
|
|
243
|
+
n && n.m(t, r), Qe(() => {
|
|
244
|
+
const o = e.$$.on_mount.map(er).filter(ut);
|
|
245
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
246
|
+
}), i.forEach(Qe);
|
|
276
247
|
}
|
|
277
|
-
function
|
|
248
|
+
function gn(e, t) {
|
|
278
249
|
const r = e.$$;
|
|
279
|
-
r.fragment !== null && (
|
|
250
|
+
r.fragment !== null && (mn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
280
251
|
}
|
|
281
|
-
function
|
|
282
|
-
e.$$.dirty[0] === -1 && (
|
|
252
|
+
function bn(e, t) {
|
|
253
|
+
e.$$.dirty[0] === -1 && (q.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
254
|
}
|
|
284
|
-
function
|
|
285
|
-
const l =
|
|
286
|
-
|
|
255
|
+
function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
256
|
+
const l = de;
|
|
257
|
+
fe(e);
|
|
287
258
|
const u = e.$$ = {
|
|
288
259
|
fragment: null,
|
|
289
260
|
ctx: [],
|
|
290
261
|
// state
|
|
291
262
|
props: o,
|
|
292
|
-
update:
|
|
263
|
+
update: R,
|
|
293
264
|
not_equal: i,
|
|
294
|
-
bound:
|
|
265
|
+
bound: yt(),
|
|
295
266
|
// lifecycle
|
|
296
267
|
on_mount: [],
|
|
297
268
|
on_destroy: [],
|
|
@@ -300,150 +271,146 @@ function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
300
271
|
after_update: [],
|
|
301
272
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
302
273
|
// everything else
|
|
303
|
-
callbacks:
|
|
274
|
+
callbacks: yt(),
|
|
304
275
|
dirty: s,
|
|
305
276
|
skip_bound: !1,
|
|
306
277
|
root: t.target || l.$$.root
|
|
307
278
|
};
|
|
308
279
|
a && a(u.root);
|
|
309
280
|
let h = !1;
|
|
310
|
-
if (u.ctx = r
|
|
311
|
-
const g =
|
|
312
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
313
|
-
})
|
|
281
|
+
if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
|
|
282
|
+
const g = p.length ? p[0] : f;
|
|
283
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && bn(e, d)), f;
|
|
284
|
+
}), u.update(), h = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
314
285
|
if (t.hydrate) {
|
|
315
|
-
const d =
|
|
286
|
+
const d = sn(t.target);
|
|
316
287
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
317
288
|
} else
|
|
318
289
|
u.fragment && u.fragment.c();
|
|
319
|
-
t.intro &&
|
|
290
|
+
t.intro && X(e.$$.fragment), pn(e, t.target, t.anchor), F();
|
|
320
291
|
}
|
|
321
|
-
|
|
322
|
-
}
|
|
323
|
-
let
|
|
324
|
-
typeof HTMLElement == "function" && (
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
292
|
+
fe(l);
|
|
293
|
+
}
|
|
294
|
+
let sr;
|
|
295
|
+
typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
296
|
+
/** The Svelte component constructor */
|
|
297
|
+
$$ctor;
|
|
298
|
+
/** Slots */
|
|
299
|
+
$$s;
|
|
300
|
+
/** The Svelte component instance */
|
|
301
|
+
$$c;
|
|
302
|
+
/** Whether or not the custom element is connected */
|
|
303
|
+
$$cn = !1;
|
|
304
|
+
/** Component props data */
|
|
305
|
+
$$d = {};
|
|
306
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
307
|
+
$$r = !1;
|
|
308
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
309
|
+
$$p_d = {};
|
|
310
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
311
|
+
$$l = {};
|
|
312
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
313
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
314
|
+
constructor(e, t, r) {
|
|
315
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
346
316
|
}
|
|
347
|
-
addEventListener(t, r
|
|
348
|
-
if (this.$$l[
|
|
349
|
-
const
|
|
350
|
-
this.$$l_u.set(
|
|
317
|
+
addEventListener(e, t, r) {
|
|
318
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
319
|
+
const n = this.$$c.$on(e, t);
|
|
320
|
+
this.$$l_u.set(t, n);
|
|
351
321
|
}
|
|
352
|
-
super.addEventListener(t, r
|
|
322
|
+
super.addEventListener(e, t, r);
|
|
353
323
|
}
|
|
354
|
-
removeEventListener(t, r
|
|
355
|
-
if (super.removeEventListener(t, r
|
|
356
|
-
const
|
|
357
|
-
|
|
324
|
+
removeEventListener(e, t, r) {
|
|
325
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
326
|
+
const n = this.$$l_u.get(t);
|
|
327
|
+
n && (n(), this.$$l_u.delete(t));
|
|
358
328
|
}
|
|
359
329
|
}
|
|
360
|
-
connectedCallback() {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
};
|
|
330
|
+
async connectedCallback() {
|
|
331
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
332
|
+
let e = function(i) {
|
|
333
|
+
return () => {
|
|
334
|
+
let o;
|
|
335
|
+
return {
|
|
336
|
+
c: function() {
|
|
337
|
+
o = I("slot"), i !== "default" && c(o, "name", i);
|
|
338
|
+
},
|
|
339
|
+
/**
|
|
340
|
+
* @param {HTMLElement} target
|
|
341
|
+
* @param {HTMLElement} [anchor]
|
|
342
|
+
*/
|
|
343
|
+
m: function(l, u) {
|
|
344
|
+
L(l, o, u);
|
|
345
|
+
},
|
|
346
|
+
d: function(l) {
|
|
347
|
+
l && O(o);
|
|
348
|
+
}
|
|
381
349
|
};
|
|
382
350
|
};
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
351
|
+
};
|
|
352
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
353
|
+
return;
|
|
354
|
+
const t = {}, r = ln(this);
|
|
355
|
+
for (const i of this.$$s)
|
|
356
|
+
i in r && (t[i] = [e(i)]);
|
|
357
|
+
for (const i of this.attributes) {
|
|
358
|
+
const o = this.$$g_p(i.name);
|
|
359
|
+
o in this.$$d || (this.$$d[o] = Ne(o, i.value, this.$$p_d, "toProp"));
|
|
360
|
+
}
|
|
361
|
+
for (const i in this.$$p_d)
|
|
362
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
363
|
+
this.$$c = new this.$$ctor({
|
|
364
|
+
target: this.shadowRoot || this,
|
|
365
|
+
props: {
|
|
366
|
+
...this.$$d,
|
|
367
|
+
$$slots: t,
|
|
368
|
+
$$scope: {
|
|
369
|
+
ctx: []
|
|
370
|
+
}
|
|
391
371
|
}
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
this.$$
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
this.$$r = !0;
|
|
405
|
-
for (const o in this.$$p_d)
|
|
406
|
-
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
407
|
-
const a = Se(
|
|
408
|
-
o,
|
|
409
|
-
this.$$d[o],
|
|
410
|
-
this.$$p_d,
|
|
411
|
-
"toAttribute"
|
|
412
|
-
);
|
|
413
|
-
a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
|
|
414
|
-
}
|
|
415
|
-
this.$$r = !1;
|
|
416
|
-
};
|
|
417
|
-
this.$$c.$$.after_update.push(i), i();
|
|
418
|
-
for (const o in this.$$l)
|
|
419
|
-
for (const a of this.$$l[o]) {
|
|
420
|
-
const s = this.$$c.$on(o, a);
|
|
421
|
-
this.$$l_u.set(a, s);
|
|
372
|
+
});
|
|
373
|
+
const n = () => {
|
|
374
|
+
this.$$r = !0;
|
|
375
|
+
for (const i in this.$$p_d)
|
|
376
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
377
|
+
const o = Ne(
|
|
378
|
+
i,
|
|
379
|
+
this.$$d[i],
|
|
380
|
+
this.$$p_d,
|
|
381
|
+
"toAttribute"
|
|
382
|
+
);
|
|
383
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
422
384
|
}
|
|
423
|
-
this.$$
|
|
424
|
-
}
|
|
425
|
-
|
|
385
|
+
this.$$r = !1;
|
|
386
|
+
};
|
|
387
|
+
this.$$c.$$.after_update.push(n), n();
|
|
388
|
+
for (const i in this.$$l)
|
|
389
|
+
for (const o of this.$$l[i]) {
|
|
390
|
+
const a = this.$$c.$on(i, o);
|
|
391
|
+
this.$$l_u.set(o, a);
|
|
392
|
+
}
|
|
393
|
+
this.$$l = {};
|
|
394
|
+
}
|
|
426
395
|
}
|
|
427
396
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
428
397
|
// and setting attributes through setAttribute etc, this is helpful
|
|
429
|
-
attributeChangedCallback(t, r
|
|
430
|
-
|
|
431
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
398
|
+
attributeChangedCallback(e, t, r) {
|
|
399
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
432
400
|
}
|
|
433
401
|
disconnectedCallback() {
|
|
434
402
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
435
403
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
436
404
|
});
|
|
437
405
|
}
|
|
438
|
-
$$g_p(
|
|
406
|
+
$$g_p(e) {
|
|
439
407
|
return Object.keys(this.$$p_d).find(
|
|
440
|
-
(
|
|
441
|
-
) ||
|
|
408
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
409
|
+
) || e;
|
|
442
410
|
}
|
|
443
411
|
});
|
|
444
|
-
function
|
|
445
|
-
|
|
446
|
-
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
412
|
+
function Ne(e, t, r, n) {
|
|
413
|
+
const i = r[e]?.type;
|
|
447
414
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
448
415
|
return t;
|
|
449
416
|
if (n === "toAttribute")
|
|
@@ -454,7 +421,7 @@ function Se(e, t, r, n) {
|
|
|
454
421
|
case "Boolean":
|
|
455
422
|
return t ? "" : null;
|
|
456
423
|
case "Number":
|
|
457
|
-
return t
|
|
424
|
+
return t ?? null;
|
|
458
425
|
default:
|
|
459
426
|
return t;
|
|
460
427
|
}
|
|
@@ -471,8 +438,8 @@ function Se(e, t, r, n) {
|
|
|
471
438
|
return t;
|
|
472
439
|
}
|
|
473
440
|
}
|
|
474
|
-
function
|
|
475
|
-
let a = class extends
|
|
441
|
+
function yn(e, t, r, n, i, o) {
|
|
442
|
+
let a = class extends sr {
|
|
476
443
|
constructor() {
|
|
477
444
|
super(e, r, i), this.$$p_d = t;
|
|
478
445
|
}
|
|
@@ -488,42 +455,38 @@ function On(e, t, r, n, i, o) {
|
|
|
488
455
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
489
456
|
},
|
|
490
457
|
set(l) {
|
|
491
|
-
|
|
492
|
-
l = Se(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
458
|
+
l = Ne(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
493
459
|
}
|
|
494
460
|
});
|
|
495
461
|
}), n.forEach((s) => {
|
|
496
462
|
Object.defineProperty(a.prototype, s, {
|
|
497
463
|
get() {
|
|
498
|
-
|
|
499
|
-
return (l = this.$$c) == null ? void 0 : l[s];
|
|
464
|
+
return this.$$c?.[s];
|
|
500
465
|
}
|
|
501
466
|
});
|
|
502
467
|
}), e.element = /** @type {any} */
|
|
503
468
|
a, a;
|
|
504
469
|
}
|
|
505
|
-
class
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
R(this, "$$set");
|
|
523
|
-
}
|
|
470
|
+
class _n {
|
|
471
|
+
/**
|
|
472
|
+
* ### PRIVATE API
|
|
473
|
+
*
|
|
474
|
+
* Do not use, may change at any time
|
|
475
|
+
*
|
|
476
|
+
* @type {any}
|
|
477
|
+
*/
|
|
478
|
+
$$ = void 0;
|
|
479
|
+
/**
|
|
480
|
+
* ### PRIVATE API
|
|
481
|
+
*
|
|
482
|
+
* Do not use, may change at any time
|
|
483
|
+
*
|
|
484
|
+
* @type {any}
|
|
485
|
+
*/
|
|
486
|
+
$$set = void 0;
|
|
524
487
|
/** @returns {void} */
|
|
525
488
|
$destroy() {
|
|
526
|
-
|
|
489
|
+
gn(this, 1), this.$destroy = R;
|
|
527
490
|
}
|
|
528
491
|
/**
|
|
529
492
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -532,8 +495,8 @@ class Ln {
|
|
|
532
495
|
* @returns {() => void}
|
|
533
496
|
*/
|
|
534
497
|
$on(t, r) {
|
|
535
|
-
if (!
|
|
536
|
-
return
|
|
498
|
+
if (!ut(r))
|
|
499
|
+
return R;
|
|
537
500
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
501
|
return n.push(r), () => {
|
|
539
502
|
const i = n.indexOf(r);
|
|
@@ -545,22 +508,22 @@ class Ln {
|
|
|
545
508
|
* @returns {void}
|
|
546
509
|
*/
|
|
547
510
|
$set(t) {
|
|
548
|
-
this.$$set && !
|
|
511
|
+
this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
549
512
|
}
|
|
550
513
|
}
|
|
551
|
-
const
|
|
552
|
-
typeof window
|
|
553
|
-
var
|
|
554
|
-
return
|
|
514
|
+
const xn = "4";
|
|
515
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
|
|
516
|
+
var Ye = function(e, t) {
|
|
517
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
555
518
|
r.__proto__ = n;
|
|
556
519
|
} || function(r, n) {
|
|
557
520
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
558
|
-
},
|
|
521
|
+
}, Ye(e, t);
|
|
559
522
|
};
|
|
560
|
-
function
|
|
523
|
+
function $(e, t) {
|
|
561
524
|
if (typeof t != "function" && t !== null)
|
|
562
525
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
563
|
-
|
|
526
|
+
Ye(e, t);
|
|
564
527
|
function r() {
|
|
565
528
|
this.constructor = e;
|
|
566
529
|
}
|
|
@@ -575,7 +538,7 @@ var E = function() {
|
|
|
575
538
|
return t;
|
|
576
539
|
}, E.apply(this, arguments);
|
|
577
540
|
};
|
|
578
|
-
function
|
|
541
|
+
function wn(e, t) {
|
|
579
542
|
var r = {};
|
|
580
543
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
581
544
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -583,7 +546,7 @@ function Fn(e, t) {
|
|
|
583
546
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
584
547
|
return r;
|
|
585
548
|
}
|
|
586
|
-
function
|
|
549
|
+
function Je(e) {
|
|
587
550
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
588
551
|
if (r) return r.call(e);
|
|
589
552
|
if (e && typeof e.length == "number") return {
|
|
@@ -593,7 +556,7 @@ function et(e) {
|
|
|
593
556
|
};
|
|
594
557
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
595
558
|
}
|
|
596
|
-
function
|
|
559
|
+
function qe(e, t) {
|
|
597
560
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
598
561
|
if (!r) return e;
|
|
599
562
|
var n = r.call(e), i, o = [], a;
|
|
@@ -610,21 +573,21 @@ function tt(e, t) {
|
|
|
610
573
|
}
|
|
611
574
|
return o;
|
|
612
575
|
}
|
|
613
|
-
function
|
|
576
|
+
function ee(e, t, r) {
|
|
614
577
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
615
578
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
616
579
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
617
580
|
}
|
|
618
|
-
function
|
|
581
|
+
function D(e) {
|
|
619
582
|
return typeof e == "function";
|
|
620
583
|
}
|
|
621
|
-
function
|
|
584
|
+
function lr(e) {
|
|
622
585
|
var t = function(n) {
|
|
623
586
|
Error.call(n), n.stack = new Error().stack;
|
|
624
587
|
}, r = e(t);
|
|
625
588
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
626
589
|
}
|
|
627
|
-
var
|
|
590
|
+
var $e = lr(function(e) {
|
|
628
591
|
return function(r) {
|
|
629
592
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
630
593
|
` + r.map(function(n, i) {
|
|
@@ -633,13 +596,13 @@ var je = gr(function(e) {
|
|
|
633
596
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
634
597
|
};
|
|
635
598
|
});
|
|
636
|
-
function
|
|
599
|
+
function Ke(e, t) {
|
|
637
600
|
if (e) {
|
|
638
601
|
var r = e.indexOf(t);
|
|
639
602
|
0 <= r && e.splice(r, 1);
|
|
640
603
|
}
|
|
641
604
|
}
|
|
642
|
-
var
|
|
605
|
+
var Me = function() {
|
|
643
606
|
function e(t) {
|
|
644
607
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
645
608
|
}
|
|
@@ -651,12 +614,12 @@ var Oe = function() {
|
|
|
651
614
|
if (a)
|
|
652
615
|
if (this._parentage = null, Array.isArray(a))
|
|
653
616
|
try {
|
|
654
|
-
for (var s =
|
|
617
|
+
for (var s = Je(a), l = s.next(); !l.done; l = s.next()) {
|
|
655
618
|
var u = l.value;
|
|
656
619
|
u.remove(this);
|
|
657
620
|
}
|
|
658
|
-
} catch (
|
|
659
|
-
t = { error:
|
|
621
|
+
} catch (b) {
|
|
622
|
+
t = { error: b };
|
|
660
623
|
} finally {
|
|
661
624
|
try {
|
|
662
625
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -667,42 +630,42 @@ var Oe = function() {
|
|
|
667
630
|
else
|
|
668
631
|
a.remove(this);
|
|
669
632
|
var h = this.initialTeardown;
|
|
670
|
-
if (
|
|
633
|
+
if (D(h))
|
|
671
634
|
try {
|
|
672
635
|
h();
|
|
673
|
-
} catch (
|
|
674
|
-
o =
|
|
636
|
+
} catch (b) {
|
|
637
|
+
o = b instanceof $e ? b.errors : [b];
|
|
675
638
|
}
|
|
676
639
|
var d = this._finalizers;
|
|
677
640
|
if (d) {
|
|
678
641
|
this._finalizers = null;
|
|
679
642
|
try {
|
|
680
|
-
for (var f =
|
|
681
|
-
var g =
|
|
643
|
+
for (var f = Je(d), p = f.next(); !p.done; p = f.next()) {
|
|
644
|
+
var g = p.value;
|
|
682
645
|
try {
|
|
683
|
-
|
|
684
|
-
} catch (
|
|
685
|
-
o = o
|
|
646
|
+
xt(g);
|
|
647
|
+
} catch (b) {
|
|
648
|
+
o = o ?? [], b instanceof $e ? o = ee(ee([], qe(o)), qe(b.errors)) : o.push(b);
|
|
686
649
|
}
|
|
687
650
|
}
|
|
688
|
-
} catch (
|
|
689
|
-
n = { error:
|
|
651
|
+
} catch (b) {
|
|
652
|
+
n = { error: b };
|
|
690
653
|
} finally {
|
|
691
654
|
try {
|
|
692
|
-
|
|
655
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
693
656
|
} finally {
|
|
694
657
|
if (n) throw n.error;
|
|
695
658
|
}
|
|
696
659
|
}
|
|
697
660
|
}
|
|
698
661
|
if (o)
|
|
699
|
-
throw new
|
|
662
|
+
throw new $e(o);
|
|
700
663
|
}
|
|
701
664
|
}, e.prototype.add = function(t) {
|
|
702
665
|
var r;
|
|
703
666
|
if (t && t !== this)
|
|
704
667
|
if (this.closed)
|
|
705
|
-
|
|
668
|
+
xt(t);
|
|
706
669
|
else {
|
|
707
670
|
if (t instanceof e) {
|
|
708
671
|
if (t.closed || t._hasParent(this))
|
|
@@ -719,56 +682,56 @@ var Oe = function() {
|
|
|
719
682
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
720
683
|
}, e.prototype._removeParent = function(t) {
|
|
721
684
|
var r = this._parentage;
|
|
722
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
685
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
|
|
723
686
|
}, e.prototype.remove = function(t) {
|
|
724
687
|
var r = this._finalizers;
|
|
725
|
-
r &&
|
|
688
|
+
r && Ke(r, t), t instanceof e && t._removeParent(this);
|
|
726
689
|
}, e.EMPTY = function() {
|
|
727
690
|
var t = new e();
|
|
728
691
|
return t.closed = !0, t;
|
|
729
692
|
}(), e;
|
|
730
|
-
}(),
|
|
731
|
-
function
|
|
732
|
-
return e instanceof
|
|
693
|
+
}(), ur = Me.EMPTY;
|
|
694
|
+
function hr(e) {
|
|
695
|
+
return e instanceof Me || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
733
696
|
}
|
|
734
|
-
function
|
|
735
|
-
|
|
697
|
+
function xt(e) {
|
|
698
|
+
D(e) ? e() : e.unsubscribe();
|
|
736
699
|
}
|
|
737
|
-
var
|
|
700
|
+
var En = {
|
|
738
701
|
onUnhandledError: null,
|
|
739
702
|
onStoppedNotification: null,
|
|
740
703
|
Promise: void 0,
|
|
741
704
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
742
705
|
useDeprecatedNextContext: !1
|
|
743
|
-
},
|
|
706
|
+
}, Nn = {
|
|
744
707
|
setTimeout: function(e, t) {
|
|
745
708
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
746
709
|
r[n - 2] = arguments[n];
|
|
747
|
-
return setTimeout.apply(void 0,
|
|
710
|
+
return setTimeout.apply(void 0, ee([e, t], qe(r)));
|
|
748
711
|
},
|
|
749
712
|
clearTimeout: function(e) {
|
|
750
713
|
return clearTimeout(e);
|
|
751
714
|
},
|
|
752
715
|
delegate: void 0
|
|
753
716
|
};
|
|
754
|
-
function
|
|
755
|
-
|
|
717
|
+
function Sn(e) {
|
|
718
|
+
Nn.setTimeout(function() {
|
|
756
719
|
throw e;
|
|
757
720
|
});
|
|
758
721
|
}
|
|
759
|
-
function
|
|
722
|
+
function wt() {
|
|
760
723
|
}
|
|
761
|
-
function
|
|
724
|
+
function Se(e) {
|
|
762
725
|
e();
|
|
763
726
|
}
|
|
764
|
-
var
|
|
765
|
-
|
|
727
|
+
var cr = function(e) {
|
|
728
|
+
$(t, e);
|
|
766
729
|
function t(r) {
|
|
767
730
|
var n = e.call(this) || this;
|
|
768
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
731
|
+
return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = Bn, n;
|
|
769
732
|
}
|
|
770
733
|
return t.create = function(r, n, i) {
|
|
771
|
-
return new
|
|
734
|
+
return new et(r, n, i);
|
|
772
735
|
}, t.prototype.next = function(r) {
|
|
773
736
|
this.isStopped || this._next(r);
|
|
774
737
|
}, t.prototype.error = function(r) {
|
|
@@ -792,11 +755,7 @@ var _r = function(e) {
|
|
|
792
755
|
this.unsubscribe();
|
|
793
756
|
}
|
|
794
757
|
}, t;
|
|
795
|
-
}(
|
|
796
|
-
function We(e, t) {
|
|
797
|
-
return Dn.call(e, t);
|
|
798
|
-
}
|
|
799
|
-
var Gn = function() {
|
|
758
|
+
}(Me), In = function() {
|
|
800
759
|
function e(t) {
|
|
801
760
|
this.partialObserver = t;
|
|
802
761
|
}
|
|
@@ -806,7 +765,7 @@ var Gn = function() {
|
|
|
806
765
|
try {
|
|
807
766
|
r.next(t);
|
|
808
767
|
} catch (n) {
|
|
809
|
-
|
|
768
|
+
xe(n);
|
|
810
769
|
}
|
|
811
770
|
}, e.prototype.error = function(t) {
|
|
812
771
|
var r = this.partialObserver;
|
|
@@ -814,68 +773,56 @@ var Gn = function() {
|
|
|
814
773
|
try {
|
|
815
774
|
r.error(t);
|
|
816
775
|
} catch (n) {
|
|
817
|
-
|
|
776
|
+
xe(n);
|
|
818
777
|
}
|
|
819
778
|
else
|
|
820
|
-
|
|
779
|
+
xe(t);
|
|
821
780
|
}, e.prototype.complete = function() {
|
|
822
781
|
var t = this.partialObserver;
|
|
823
782
|
if (t.complete)
|
|
824
783
|
try {
|
|
825
784
|
t.complete();
|
|
826
785
|
} catch (r) {
|
|
827
|
-
|
|
786
|
+
xe(r);
|
|
828
787
|
}
|
|
829
788
|
}, e;
|
|
830
|
-
}(),
|
|
831
|
-
|
|
789
|
+
}(), et = function(e) {
|
|
790
|
+
$(t, e);
|
|
832
791
|
function t(r, n, i) {
|
|
833
792
|
var o = e.call(this) || this, a;
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
};
|
|
840
|
-
else {
|
|
841
|
-
var s;
|
|
842
|
-
o && yr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
843
|
-
return o.unsubscribe();
|
|
844
|
-
}, a = {
|
|
845
|
-
next: r.next && We(r.next, s),
|
|
846
|
-
error: r.error && We(r.error, s),
|
|
847
|
-
complete: r.complete && We(r.complete, s)
|
|
848
|
-
}) : a = r;
|
|
849
|
-
}
|
|
850
|
-
return o.destination = new Gn(a), o;
|
|
793
|
+
return D(r) || !r ? a = {
|
|
794
|
+
next: r ?? void 0,
|
|
795
|
+
error: n ?? void 0,
|
|
796
|
+
complete: i ?? void 0
|
|
797
|
+
} : a = r, o.destination = new In(a), o;
|
|
851
798
|
}
|
|
852
799
|
return t;
|
|
853
|
-
}(
|
|
854
|
-
function
|
|
855
|
-
|
|
800
|
+
}(cr);
|
|
801
|
+
function xe(e) {
|
|
802
|
+
Sn(e);
|
|
856
803
|
}
|
|
857
|
-
function
|
|
804
|
+
function An(e) {
|
|
858
805
|
throw e;
|
|
859
806
|
}
|
|
860
|
-
var
|
|
807
|
+
var Bn = {
|
|
861
808
|
closed: !0,
|
|
862
|
-
next:
|
|
863
|
-
error:
|
|
864
|
-
complete:
|
|
865
|
-
},
|
|
809
|
+
next: wt,
|
|
810
|
+
error: An,
|
|
811
|
+
complete: wt
|
|
812
|
+
}, Tn = function() {
|
|
866
813
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
867
814
|
}();
|
|
868
|
-
function
|
|
815
|
+
function Pn(e) {
|
|
869
816
|
return e;
|
|
870
817
|
}
|
|
871
|
-
function
|
|
872
|
-
return e.length === 0 ?
|
|
818
|
+
function Hn(e) {
|
|
819
|
+
return e.length === 0 ? Pn : e.length === 1 ? e[0] : function(r) {
|
|
873
820
|
return e.reduce(function(n, i) {
|
|
874
821
|
return i(n);
|
|
875
822
|
}, r);
|
|
876
823
|
};
|
|
877
824
|
}
|
|
878
|
-
var
|
|
825
|
+
var Et = function() {
|
|
879
826
|
function e(t) {
|
|
880
827
|
t && (this._subscribe = t);
|
|
881
828
|
}
|
|
@@ -883,8 +830,8 @@ var Pt = function() {
|
|
|
883
830
|
var r = new e();
|
|
884
831
|
return r.source = this, r.operator = t, r;
|
|
885
832
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
886
|
-
var i = this, o =
|
|
887
|
-
return
|
|
833
|
+
var i = this, o = On(t) ? t : new et(t, r, n);
|
|
834
|
+
return Se(function() {
|
|
888
835
|
var a = i, s = a.operator, l = a.source;
|
|
889
836
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
890
837
|
}), o;
|
|
@@ -896,8 +843,8 @@ var Pt = function() {
|
|
|
896
843
|
}
|
|
897
844
|
}, e.prototype.forEach = function(t, r) {
|
|
898
845
|
var n = this;
|
|
899
|
-
return r =
|
|
900
|
-
var a = new
|
|
846
|
+
return r = Nt(r), new r(function(i, o) {
|
|
847
|
+
var a = new et({
|
|
901
848
|
next: function(s) {
|
|
902
849
|
try {
|
|
903
850
|
t(s);
|
|
@@ -913,15 +860,15 @@ var Pt = function() {
|
|
|
913
860
|
}, e.prototype._subscribe = function(t) {
|
|
914
861
|
var r;
|
|
915
862
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
916
|
-
}, e.prototype[
|
|
863
|
+
}, e.prototype[Tn] = function() {
|
|
917
864
|
return this;
|
|
918
865
|
}, e.prototype.pipe = function() {
|
|
919
866
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
920
867
|
t[r] = arguments[r];
|
|
921
|
-
return
|
|
868
|
+
return Hn(t)(this);
|
|
922
869
|
}, e.prototype.toPromise = function(t) {
|
|
923
870
|
var r = this;
|
|
924
|
-
return t =
|
|
871
|
+
return t = Nt(t), new t(function(n, i) {
|
|
925
872
|
var o;
|
|
926
873
|
r.subscribe(function(a) {
|
|
927
874
|
return o = a;
|
|
@@ -935,40 +882,40 @@ var Pt = function() {
|
|
|
935
882
|
return new e(t);
|
|
936
883
|
}, e;
|
|
937
884
|
}();
|
|
938
|
-
function
|
|
885
|
+
function Nt(e) {
|
|
939
886
|
var t;
|
|
940
|
-
return (t = e
|
|
887
|
+
return (t = e ?? En.Promise) !== null && t !== void 0 ? t : Promise;
|
|
941
888
|
}
|
|
942
|
-
function
|
|
943
|
-
return e &&
|
|
889
|
+
function Mn(e) {
|
|
890
|
+
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
944
891
|
}
|
|
945
|
-
function
|
|
946
|
-
return e && e instanceof
|
|
892
|
+
function On(e) {
|
|
893
|
+
return e && e instanceof cr || Mn(e) && hr(e);
|
|
947
894
|
}
|
|
948
|
-
var
|
|
895
|
+
var Ln = lr(function(e) {
|
|
949
896
|
return function() {
|
|
950
897
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
951
898
|
};
|
|
952
|
-
}),
|
|
953
|
-
|
|
899
|
+
}), fr = function(e) {
|
|
900
|
+
$(t, e);
|
|
954
901
|
function t() {
|
|
955
902
|
var r = e.call(this) || this;
|
|
956
903
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
957
904
|
}
|
|
958
905
|
return t.prototype.lift = function(r) {
|
|
959
|
-
var n = new
|
|
906
|
+
var n = new St(this, this);
|
|
960
907
|
return n.operator = r, n;
|
|
961
908
|
}, t.prototype._throwIfClosed = function() {
|
|
962
909
|
if (this.closed)
|
|
963
|
-
throw new
|
|
910
|
+
throw new Ln();
|
|
964
911
|
}, t.prototype.next = function(r) {
|
|
965
912
|
var n = this;
|
|
966
|
-
|
|
913
|
+
Se(function() {
|
|
967
914
|
var i, o;
|
|
968
915
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
969
916
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
970
917
|
try {
|
|
971
|
-
for (var a =
|
|
918
|
+
for (var a = Je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
972
919
|
var l = s.value;
|
|
973
920
|
l.next(r);
|
|
974
921
|
}
|
|
@@ -985,7 +932,7 @@ var Zn = gr(function(e) {
|
|
|
985
932
|
});
|
|
986
933
|
}, t.prototype.error = function(r) {
|
|
987
934
|
var n = this;
|
|
988
|
-
|
|
935
|
+
Se(function() {
|
|
989
936
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
990
937
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
991
938
|
for (var i = n.observers; i.length; )
|
|
@@ -994,7 +941,7 @@ var Zn = gr(function(e) {
|
|
|
994
941
|
});
|
|
995
942
|
}, t.prototype.complete = function() {
|
|
996
943
|
var r = this;
|
|
997
|
-
|
|
944
|
+
Se(function() {
|
|
998
945
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
999
946
|
r.isStopped = !0;
|
|
1000
947
|
for (var n = r.observers; n.length; )
|
|
@@ -1016,20 +963,20 @@ var Zn = gr(function(e) {
|
|
|
1016
963
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1017
964
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1018
965
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1019
|
-
return o || a ?
|
|
1020
|
-
n.currentObservers = null,
|
|
966
|
+
return o || a ? ur : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
967
|
+
n.currentObservers = null, Ke(s, r);
|
|
1021
968
|
}));
|
|
1022
969
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1023
970
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1024
971
|
i ? r.error(o) : a && r.complete();
|
|
1025
972
|
}, t.prototype.asObservable = function() {
|
|
1026
|
-
var r = new
|
|
973
|
+
var r = new Et();
|
|
1027
974
|
return r.source = this, r;
|
|
1028
975
|
}, t.create = function(r, n) {
|
|
1029
|
-
return new
|
|
976
|
+
return new St(r, n);
|
|
1030
977
|
}, t;
|
|
1031
|
-
}(
|
|
1032
|
-
|
|
978
|
+
}(Et), St = function(e) {
|
|
979
|
+
$(t, e);
|
|
1033
980
|
function t(r, n) {
|
|
1034
981
|
var i = e.call(this) || this;
|
|
1035
982
|
return i.destination = r, i.source = n, i;
|
|
@@ -1045,17 +992,17 @@ var Zn = gr(function(e) {
|
|
|
1045
992
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1046
993
|
}, t.prototype._subscribe = function(r) {
|
|
1047
994
|
var n, i;
|
|
1048
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
995
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
|
|
1049
996
|
}, t;
|
|
1050
|
-
}(
|
|
997
|
+
}(fr), dr = {
|
|
1051
998
|
now: function() {
|
|
1052
|
-
return (
|
|
999
|
+
return (dr.delegate || Date).now();
|
|
1053
1000
|
},
|
|
1054
1001
|
delegate: void 0
|
|
1055
|
-
},
|
|
1056
|
-
|
|
1002
|
+
}, Cn = function(e) {
|
|
1003
|
+
$(t, e);
|
|
1057
1004
|
function t(r, n, i) {
|
|
1058
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1005
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
|
|
1059
1006
|
var o = e.call(this) || this;
|
|
1060
1007
|
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;
|
|
1061
1008
|
}
|
|
@@ -1075,249 +1022,251 @@ var Zn = gr(function(e) {
|
|
|
1075
1022
|
u && o.splice(0, u + 1);
|
|
1076
1023
|
}
|
|
1077
1024
|
}, t;
|
|
1078
|
-
}(
|
|
1079
|
-
const
|
|
1080
|
-
if (
|
|
1081
|
-
const r = new
|
|
1082
|
-
|
|
1025
|
+
}(fr);
|
|
1026
|
+
const It = [], At = {}, Fn = (e, t = 0) => {
|
|
1027
|
+
if (It.indexOf(e) == -1) {
|
|
1028
|
+
const r = new Cn(t);
|
|
1029
|
+
At[e] = r, It.push(e);
|
|
1083
1030
|
}
|
|
1084
|
-
return
|
|
1085
|
-
},
|
|
1086
|
-
function
|
|
1031
|
+
return At[e];
|
|
1032
|
+
}, J = [];
|
|
1033
|
+
function Rn(e, t) {
|
|
1087
1034
|
return {
|
|
1088
|
-
subscribe:
|
|
1035
|
+
subscribe: Oe(e, t).subscribe
|
|
1089
1036
|
};
|
|
1090
1037
|
}
|
|
1091
|
-
function
|
|
1038
|
+
function Oe(e, t = R) {
|
|
1092
1039
|
let r;
|
|
1093
1040
|
const n = /* @__PURE__ */ new Set();
|
|
1094
1041
|
function i(s) {
|
|
1095
|
-
if (
|
|
1096
|
-
const l = !
|
|
1042
|
+
if (tr(e, s) && (e = s, r)) {
|
|
1043
|
+
const l = !J.length;
|
|
1097
1044
|
for (const u of n)
|
|
1098
|
-
u[1](),
|
|
1045
|
+
u[1](), J.push(u, e);
|
|
1099
1046
|
if (l) {
|
|
1100
|
-
for (let u = 0; u <
|
|
1101
|
-
|
|
1102
|
-
|
|
1047
|
+
for (let u = 0; u < J.length; u += 2)
|
|
1048
|
+
J[u][0](J[u + 1]);
|
|
1049
|
+
J.length = 0;
|
|
1103
1050
|
}
|
|
1104
1051
|
}
|
|
1105
1052
|
}
|
|
1106
1053
|
function o(s) {
|
|
1107
1054
|
i(s(e));
|
|
1108
1055
|
}
|
|
1109
|
-
function a(s, l =
|
|
1056
|
+
function a(s, l = R) {
|
|
1110
1057
|
const u = [s, l];
|
|
1111
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1058
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || R), s(e), () => {
|
|
1112
1059
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1113
1060
|
};
|
|
1114
1061
|
}
|
|
1115
1062
|
return { set: i, update: o, subscribe: a };
|
|
1116
1063
|
}
|
|
1117
|
-
function
|
|
1064
|
+
function se(e, t, r) {
|
|
1118
1065
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1119
1066
|
if (!i.every(Boolean))
|
|
1120
1067
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1121
1068
|
const o = t.length < 2;
|
|
1122
|
-
return
|
|
1069
|
+
return Rn(r, (a, s) => {
|
|
1123
1070
|
let l = !1;
|
|
1124
1071
|
const u = [];
|
|
1125
|
-
let h = 0, d =
|
|
1072
|
+
let h = 0, d = R;
|
|
1126
1073
|
const f = () => {
|
|
1127
1074
|
if (h)
|
|
1128
1075
|
return;
|
|
1129
1076
|
d();
|
|
1130
1077
|
const g = t(n ? u[0] : u, a, s);
|
|
1131
|
-
o ? a(g) : d =
|
|
1132
|
-
},
|
|
1133
|
-
(g,
|
|
1078
|
+
o ? a(g) : d = ut(g) ? g : R;
|
|
1079
|
+
}, p = i.map(
|
|
1080
|
+
(g, b) => rr(
|
|
1134
1081
|
g,
|
|
1135
|
-
(
|
|
1136
|
-
u[
|
|
1082
|
+
(B) => {
|
|
1083
|
+
u[b] = B, h &= ~(1 << b), l && f();
|
|
1137
1084
|
},
|
|
1138
1085
|
() => {
|
|
1139
|
-
h |= 1 <<
|
|
1086
|
+
h |= 1 << b;
|
|
1140
1087
|
}
|
|
1141
1088
|
)
|
|
1142
1089
|
);
|
|
1143
1090
|
return l = !0, f(), function() {
|
|
1144
|
-
|
|
1091
|
+
ae(p), d(), l = !1;
|
|
1145
1092
|
};
|
|
1146
1093
|
});
|
|
1147
1094
|
}
|
|
1148
|
-
function
|
|
1149
|
-
return e
|
|
1095
|
+
function Un(e) {
|
|
1096
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1150
1097
|
}
|
|
1151
|
-
var
|
|
1152
|
-
return
|
|
1098
|
+
var Dn = function(t) {
|
|
1099
|
+
return Gn(t) && !$n(t);
|
|
1153
1100
|
};
|
|
1154
|
-
function
|
|
1101
|
+
function Gn(e) {
|
|
1155
1102
|
return !!e && typeof e == "object";
|
|
1156
1103
|
}
|
|
1157
|
-
function
|
|
1104
|
+
function $n(e) {
|
|
1158
1105
|
var t = Object.prototype.toString.call(e);
|
|
1159
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1106
|
+
return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
|
|
1160
1107
|
}
|
|
1161
|
-
var
|
|
1162
|
-
function
|
|
1163
|
-
return e.$$typeof ===
|
|
1108
|
+
var kn = typeof Symbol == "function" && Symbol.for, jn = kn ? Symbol.for("react.element") : 60103;
|
|
1109
|
+
function Wn(e) {
|
|
1110
|
+
return e.$$typeof === jn;
|
|
1164
1111
|
}
|
|
1165
|
-
function
|
|
1112
|
+
function Vn(e) {
|
|
1166
1113
|
return Array.isArray(e) ? [] : {};
|
|
1167
1114
|
}
|
|
1168
|
-
function
|
|
1169
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1115
|
+
function pe(e, t) {
|
|
1116
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Vn(e), e, t) : e;
|
|
1170
1117
|
}
|
|
1171
|
-
function
|
|
1118
|
+
function Xn(e, t, r) {
|
|
1172
1119
|
return e.concat(t).map(function(n) {
|
|
1173
|
-
return
|
|
1120
|
+
return pe(n, r);
|
|
1174
1121
|
});
|
|
1175
1122
|
}
|
|
1176
|
-
function
|
|
1123
|
+
function zn(e, t) {
|
|
1177
1124
|
if (!t.customMerge)
|
|
1178
|
-
return
|
|
1125
|
+
return re;
|
|
1179
1126
|
var r = t.customMerge(e);
|
|
1180
|
-
return typeof r == "function" ? r :
|
|
1127
|
+
return typeof r == "function" ? r : re;
|
|
1181
1128
|
}
|
|
1182
|
-
function
|
|
1129
|
+
function Zn(e) {
|
|
1183
1130
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1184
1131
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1185
1132
|
}) : [];
|
|
1186
1133
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return Object.keys(e).concat(
|
|
1134
|
+
function Bt(e) {
|
|
1135
|
+
return Object.keys(e).concat(Zn(e));
|
|
1189
1136
|
}
|
|
1190
|
-
function
|
|
1137
|
+
function mr(e, t) {
|
|
1191
1138
|
try {
|
|
1192
1139
|
return t in e;
|
|
1193
|
-
} catch
|
|
1140
|
+
} catch {
|
|
1194
1141
|
return !1;
|
|
1195
1142
|
}
|
|
1196
1143
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return
|
|
1144
|
+
function Qn(e, t) {
|
|
1145
|
+
return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1199
1146
|
}
|
|
1200
|
-
function
|
|
1147
|
+
function Yn(e, t, r) {
|
|
1201
1148
|
var n = {};
|
|
1202
|
-
return r.isMergeableObject(e) &&
|
|
1203
|
-
n[i] =
|
|
1204
|
-
}),
|
|
1205
|
-
|
|
1149
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1150
|
+
n[i] = pe(e[i], r);
|
|
1151
|
+
}), Bt(t).forEach(function(i) {
|
|
1152
|
+
Qn(e, i) || (mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1206
1153
|
}), n;
|
|
1207
1154
|
}
|
|
1208
|
-
function
|
|
1209
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1155
|
+
function re(e, t, r) {
|
|
1156
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Dn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1210
1157
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1211
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1158
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yn(e, t, r) : pe(t, r);
|
|
1212
1159
|
}
|
|
1213
|
-
|
|
1160
|
+
re.all = function(t, r) {
|
|
1214
1161
|
if (!Array.isArray(t))
|
|
1215
1162
|
throw new Error("first argument should be an array");
|
|
1216
1163
|
return t.reduce(function(n, i) {
|
|
1217
|
-
return
|
|
1164
|
+
return re(n, i, r);
|
|
1218
1165
|
}, {});
|
|
1219
1166
|
};
|
|
1220
|
-
var
|
|
1221
|
-
const
|
|
1222
|
-
function
|
|
1223
|
-
var r = t && t.cache ? t.cache :
|
|
1167
|
+
var Jn = re, qn = Jn;
|
|
1168
|
+
const Kn = /* @__PURE__ */ Un(qn);
|
|
1169
|
+
function ke(e, t) {
|
|
1170
|
+
var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ti;
|
|
1224
1171
|
return i(e, {
|
|
1225
1172
|
cache: r,
|
|
1226
1173
|
serializer: n
|
|
1227
1174
|
});
|
|
1228
1175
|
}
|
|
1229
|
-
function
|
|
1176
|
+
function ei(e) {
|
|
1230
1177
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1231
1178
|
}
|
|
1232
|
-
function
|
|
1233
|
-
var i =
|
|
1234
|
-
return typeof o
|
|
1179
|
+
function pr(e, t, r, n) {
|
|
1180
|
+
var i = ei(n) ? n : r(n), o = t.get(i);
|
|
1181
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1235
1182
|
}
|
|
1236
|
-
function
|
|
1183
|
+
function gr(e, t, r) {
|
|
1237
1184
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1238
|
-
return typeof o
|
|
1185
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1239
1186
|
}
|
|
1240
|
-
function
|
|
1187
|
+
function ct(e, t, r, n, i) {
|
|
1241
1188
|
return r.bind(t, e, n, i);
|
|
1242
1189
|
}
|
|
1243
|
-
function
|
|
1244
|
-
var r = e.length === 1 ?
|
|
1245
|
-
return
|
|
1190
|
+
function ti(e, t) {
|
|
1191
|
+
var r = e.length === 1 ? pr : gr;
|
|
1192
|
+
return ct(e, this, r, t.cache.create(), t.serializer);
|
|
1246
1193
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return
|
|
1194
|
+
function ri(e, t) {
|
|
1195
|
+
return ct(e, this, gr, t.cache.create(), t.serializer);
|
|
1249
1196
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return
|
|
1197
|
+
function ni(e, t) {
|
|
1198
|
+
return ct(e, this, pr, t.cache.create(), t.serializer);
|
|
1252
1199
|
}
|
|
1253
|
-
var
|
|
1200
|
+
var ii = function() {
|
|
1254
1201
|
return JSON.stringify(arguments);
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1202
|
+
}, oi = (
|
|
1203
|
+
/** @class */
|
|
1204
|
+
function() {
|
|
1205
|
+
function e() {
|
|
1206
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1207
|
+
}
|
|
1208
|
+
return e.prototype.get = function(t) {
|
|
1209
|
+
return this.cache[t];
|
|
1210
|
+
}, e.prototype.set = function(t, r) {
|
|
1211
|
+
this.cache[t] = r;
|
|
1212
|
+
}, e;
|
|
1213
|
+
}()
|
|
1214
|
+
), ai = {
|
|
1266
1215
|
create: function() {
|
|
1267
|
-
return new
|
|
1216
|
+
return new oi();
|
|
1268
1217
|
}
|
|
1269
|
-
},
|
|
1270
|
-
variadic:
|
|
1271
|
-
monadic:
|
|
1218
|
+
}, je = {
|
|
1219
|
+
variadic: ri,
|
|
1220
|
+
monadic: ni
|
|
1272
1221
|
}, _;
|
|
1273
1222
|
(function(e) {
|
|
1274
1223
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1275
1224
|
})(_ || (_ = {}));
|
|
1276
|
-
var
|
|
1225
|
+
var S;
|
|
1277
1226
|
(function(e) {
|
|
1278
1227
|
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";
|
|
1279
|
-
})(
|
|
1280
|
-
var
|
|
1228
|
+
})(S || (S = {}));
|
|
1229
|
+
var ne;
|
|
1281
1230
|
(function(e) {
|
|
1282
1231
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1283
|
-
})(
|
|
1284
|
-
function
|
|
1285
|
-
return e.type ===
|
|
1232
|
+
})(ne || (ne = {}));
|
|
1233
|
+
function Tt(e) {
|
|
1234
|
+
return e.type === S.literal;
|
|
1286
1235
|
}
|
|
1287
|
-
function
|
|
1288
|
-
return e.type ===
|
|
1236
|
+
function si(e) {
|
|
1237
|
+
return e.type === S.argument;
|
|
1289
1238
|
}
|
|
1290
|
-
function
|
|
1291
|
-
return e.type ===
|
|
1239
|
+
function br(e) {
|
|
1240
|
+
return e.type === S.number;
|
|
1292
1241
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return e.type ===
|
|
1242
|
+
function vr(e) {
|
|
1243
|
+
return e.type === S.date;
|
|
1295
1244
|
}
|
|
1296
|
-
function
|
|
1297
|
-
return e.type ===
|
|
1245
|
+
function yr(e) {
|
|
1246
|
+
return e.type === S.time;
|
|
1298
1247
|
}
|
|
1299
|
-
function
|
|
1300
|
-
return e.type ===
|
|
1248
|
+
function _r(e) {
|
|
1249
|
+
return e.type === S.select;
|
|
1301
1250
|
}
|
|
1302
|
-
function
|
|
1303
|
-
return e.type ===
|
|
1251
|
+
function xr(e) {
|
|
1252
|
+
return e.type === S.plural;
|
|
1304
1253
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return e.type ===
|
|
1254
|
+
function li(e) {
|
|
1255
|
+
return e.type === S.pound;
|
|
1307
1256
|
}
|
|
1308
|
-
function
|
|
1309
|
-
return e.type ===
|
|
1257
|
+
function wr(e) {
|
|
1258
|
+
return e.type === S.tag;
|
|
1310
1259
|
}
|
|
1311
|
-
function
|
|
1312
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1260
|
+
function Er(e) {
|
|
1261
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1313
1262
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1263
|
+
function tt(e) {
|
|
1264
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1316
1265
|
}
|
|
1317
|
-
var
|
|
1318
|
-
function
|
|
1266
|
+
var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
|
|
1267
|
+
function hi(e) {
|
|
1319
1268
|
var t = {};
|
|
1320
|
-
return e.replace(
|
|
1269
|
+
return e.replace(ui, function(r) {
|
|
1321
1270
|
var n = r.length;
|
|
1322
1271
|
switch (r[0]) {
|
|
1323
1272
|
case "G":
|
|
@@ -1406,11 +1355,11 @@ function Ei(e) {
|
|
|
1406
1355
|
return "";
|
|
1407
1356
|
}), t;
|
|
1408
1357
|
}
|
|
1409
|
-
var
|
|
1410
|
-
function
|
|
1358
|
+
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1359
|
+
function fi(e) {
|
|
1411
1360
|
if (e.length === 0)
|
|
1412
1361
|
throw new Error("Number skeleton cannot be empty");
|
|
1413
|
-
for (var t = e.split(
|
|
1362
|
+
for (var t = e.split(ci).filter(function(f) {
|
|
1414
1363
|
return f.length > 0;
|
|
1415
1364
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1416
1365
|
var o = i[n], a = o.split("/");
|
|
@@ -1425,17 +1374,17 @@ function Si(e) {
|
|
|
1425
1374
|
}
|
|
1426
1375
|
return r;
|
|
1427
1376
|
}
|
|
1428
|
-
function
|
|
1377
|
+
function di(e) {
|
|
1429
1378
|
return e.replace(/^(.*?)-/, "");
|
|
1430
1379
|
}
|
|
1431
|
-
var
|
|
1432
|
-
function
|
|
1380
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
|
|
1381
|
+
function Ht(e) {
|
|
1433
1382
|
var t = {};
|
|
1434
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1383
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
|
|
1435
1384
|
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)), "";
|
|
1436
1385
|
}), t;
|
|
1437
1386
|
}
|
|
1438
|
-
function
|
|
1387
|
+
function Ar(e) {
|
|
1439
1388
|
switch (e) {
|
|
1440
1389
|
case "sign-auto":
|
|
1441
1390
|
return {
|
|
@@ -1475,7 +1424,7 @@ function Fr(e) {
|
|
|
1475
1424
|
};
|
|
1476
1425
|
}
|
|
1477
1426
|
}
|
|
1478
|
-
function
|
|
1427
|
+
function pi(e) {
|
|
1479
1428
|
var t;
|
|
1480
1429
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1481
1430
|
notation: "engineering"
|
|
@@ -1483,17 +1432,17 @@ function Bi(e) {
|
|
|
1483
1432
|
notation: "scientific"
|
|
1484
1433
|
}, e = e.slice(1)), t) {
|
|
1485
1434
|
var r = e.slice(0, 2);
|
|
1486
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1435
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
|
|
1487
1436
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1488
1437
|
t.minimumIntegerDigits = e.length;
|
|
1489
1438
|
}
|
|
1490
1439
|
return t;
|
|
1491
1440
|
}
|
|
1492
|
-
function
|
|
1493
|
-
var t = {}, r =
|
|
1441
|
+
function Mt(e) {
|
|
1442
|
+
var t = {}, r = Ar(e);
|
|
1494
1443
|
return r || t;
|
|
1495
1444
|
}
|
|
1496
|
-
function
|
|
1445
|
+
function gi(e) {
|
|
1497
1446
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1498
1447
|
var i = n[r];
|
|
1499
1448
|
switch (i.stem) {
|
|
@@ -1517,7 +1466,7 @@ function Ti(e) {
|
|
|
1517
1466
|
continue;
|
|
1518
1467
|
case "measure-unit":
|
|
1519
1468
|
case "unit":
|
|
1520
|
-
t.style = "unit", t.unit =
|
|
1469
|
+
t.style = "unit", t.unit = di(i.options[0]);
|
|
1521
1470
|
continue;
|
|
1522
1471
|
case "compact-short":
|
|
1523
1472
|
case "K":
|
|
@@ -1529,12 +1478,12 @@ function Ti(e) {
|
|
|
1529
1478
|
continue;
|
|
1530
1479
|
case "scientific":
|
|
1531
1480
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1532
|
-
return E(E({}, l),
|
|
1481
|
+
return E(E({}, l), Mt(u));
|
|
1533
1482
|
}, {}));
|
|
1534
1483
|
continue;
|
|
1535
1484
|
case "engineering":
|
|
1536
1485
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1537
|
-
return E(E({}, l),
|
|
1486
|
+
return E(E({}, l), Mt(u));
|
|
1538
1487
|
}, {}));
|
|
1539
1488
|
continue;
|
|
1540
1489
|
case "notation-simple":
|
|
@@ -1579,45 +1528,45 @@ function Ti(e) {
|
|
|
1579
1528
|
case "integer-width":
|
|
1580
1529
|
if (i.options.length > 1)
|
|
1581
1530
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1582
|
-
i.options[0].replace(
|
|
1531
|
+
i.options[0].replace(mi, function(l, u, h, d, f, p) {
|
|
1583
1532
|
if (u)
|
|
1584
1533
|
t.minimumIntegerDigits = h.length;
|
|
1585
1534
|
else {
|
|
1586
1535
|
if (d && f)
|
|
1587
1536
|
throw new Error("We currently do not support maximum integer digits");
|
|
1588
|
-
if (
|
|
1537
|
+
if (p)
|
|
1589
1538
|
throw new Error("We currently do not support exact integer digits");
|
|
1590
1539
|
}
|
|
1591
1540
|
return "";
|
|
1592
1541
|
});
|
|
1593
1542
|
continue;
|
|
1594
1543
|
}
|
|
1595
|
-
if (
|
|
1544
|
+
if (Ir.test(i.stem)) {
|
|
1596
1545
|
t.minimumIntegerDigits = i.stem.length;
|
|
1597
1546
|
continue;
|
|
1598
1547
|
}
|
|
1599
|
-
if (
|
|
1548
|
+
if (Pt.test(i.stem)) {
|
|
1600
1549
|
if (i.options.length > 1)
|
|
1601
1550
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1602
|
-
i.stem.replace(
|
|
1603
|
-
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f &&
|
|
1551
|
+
i.stem.replace(Pt, function(l, u, h, d, f, p) {
|
|
1552
|
+
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1604
1553
|
});
|
|
1605
1554
|
var o = i.options[0];
|
|
1606
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1555
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ht(o)));
|
|
1607
1556
|
continue;
|
|
1608
1557
|
}
|
|
1609
|
-
if (
|
|
1610
|
-
t = E(E({}, t),
|
|
1558
|
+
if (Sr.test(i.stem)) {
|
|
1559
|
+
t = E(E({}, t), Ht(i.stem));
|
|
1611
1560
|
continue;
|
|
1612
1561
|
}
|
|
1613
|
-
var a =
|
|
1562
|
+
var a = Ar(i.stem);
|
|
1614
1563
|
a && (t = E(E({}, t), a));
|
|
1615
|
-
var s =
|
|
1564
|
+
var s = pi(i.stem);
|
|
1616
1565
|
s && (t = E(E({}, t), s));
|
|
1617
1566
|
}
|
|
1618
1567
|
return t;
|
|
1619
1568
|
}
|
|
1620
|
-
var
|
|
1569
|
+
var we = {
|
|
1621
1570
|
"001": [
|
|
1622
1571
|
"H",
|
|
1623
1572
|
"h"
|
|
@@ -3032,13 +2981,13 @@ var Ee = {
|
|
|
3032
2981
|
"h"
|
|
3033
2982
|
]
|
|
3034
2983
|
};
|
|
3035
|
-
function
|
|
2984
|
+
function bi(e, t) {
|
|
3036
2985
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3037
2986
|
var i = e.charAt(n);
|
|
3038
2987
|
if (i === "j") {
|
|
3039
2988
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3040
2989
|
o++, n++;
|
|
3041
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2990
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = vi(t);
|
|
3042
2991
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3043
2992
|
r += l;
|
|
3044
2993
|
for (; a-- > 0; )
|
|
@@ -3047,7 +2996,7 @@ function Hi(e, t) {
|
|
|
3047
2996
|
}
|
|
3048
2997
|
return r;
|
|
3049
2998
|
}
|
|
3050
|
-
function
|
|
2999
|
+
function vi(e) {
|
|
3051
3000
|
var t = e.hourCycle;
|
|
3052
3001
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3053
3002
|
e.hourCycles && // @ts-ignore
|
|
@@ -3066,23 +3015,23 @@ function Pi(e) {
|
|
|
3066
3015
|
}
|
|
3067
3016
|
var r = e.language, n;
|
|
3068
3017
|
r !== "root" && (n = e.maximize().region);
|
|
3069
|
-
var i =
|
|
3018
|
+
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3070
3019
|
return i[0];
|
|
3071
3020
|
}
|
|
3072
|
-
var
|
|
3021
|
+
var We, yi = new RegExp("^".concat(Nr.source, "*")), _i = new RegExp("".concat(Nr.source, "*$"));
|
|
3073
3022
|
function w(e, t) {
|
|
3074
3023
|
return { start: e, end: t };
|
|
3075
3024
|
}
|
|
3076
|
-
var
|
|
3025
|
+
var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Ei = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Bi = Ai ? Number.isSafeInteger : function(e) {
|
|
3077
3026
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3078
|
-
},
|
|
3027
|
+
}, rt = !0;
|
|
3079
3028
|
try {
|
|
3080
|
-
var
|
|
3081
|
-
|
|
3082
|
-
} catch
|
|
3083
|
-
|
|
3029
|
+
var Ti = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3030
|
+
rt = ((We = Ti.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
|
|
3031
|
+
} catch {
|
|
3032
|
+
rt = !1;
|
|
3084
3033
|
}
|
|
3085
|
-
var
|
|
3034
|
+
var Ot = xi ? (
|
|
3086
3035
|
// Native
|
|
3087
3036
|
function(t, r, n) {
|
|
3088
3037
|
return t.startsWith(r, n);
|
|
@@ -3092,7 +3041,7 @@ var $t = Li ? (
|
|
|
3092
3041
|
function(t, r, n) {
|
|
3093
3042
|
return t.slice(n, n + r.length) === r;
|
|
3094
3043
|
}
|
|
3095
|
-
),
|
|
3044
|
+
), nt = wi ? String.fromCodePoint : (
|
|
3096
3045
|
// IE11
|
|
3097
3046
|
function() {
|
|
3098
3047
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3104,9 +3053,9 @@ var $t = Li ? (
|
|
|
3104
3053
|
}
|
|
3105
3054
|
return n;
|
|
3106
3055
|
}
|
|
3107
|
-
),
|
|
3056
|
+
), Lt = (
|
|
3108
3057
|
// native
|
|
3109
|
-
|
|
3058
|
+
Ei ? Object.fromEntries : (
|
|
3110
3059
|
// Ponyfill
|
|
3111
3060
|
function(t) {
|
|
3112
3061
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3116,7 +3065,7 @@ var $t = Li ? (
|
|
|
3116
3065
|
return r;
|
|
3117
3066
|
}
|
|
3118
3067
|
)
|
|
3119
|
-
),
|
|
3068
|
+
), Br = Ni ? (
|
|
3120
3069
|
// Native
|
|
3121
3070
|
function(t, r) {
|
|
3122
3071
|
return t.codePointAt(r);
|
|
@@ -3130,7 +3079,7 @@ var $t = Li ? (
|
|
|
3130
3079
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3131
3080
|
}
|
|
3132
3081
|
}
|
|
3133
|
-
),
|
|
3082
|
+
), Pi = Si ? (
|
|
3134
3083
|
// Native
|
|
3135
3084
|
function(t) {
|
|
3136
3085
|
return t.trimStart();
|
|
@@ -3138,9 +3087,9 @@ var $t = Li ? (
|
|
|
3138
3087
|
) : (
|
|
3139
3088
|
// Ponyfill
|
|
3140
3089
|
function(t) {
|
|
3141
|
-
return t.replace(
|
|
3090
|
+
return t.replace(yi, "");
|
|
3142
3091
|
}
|
|
3143
|
-
),
|
|
3092
|
+
), Hi = Ii ? (
|
|
3144
3093
|
// Native
|
|
3145
3094
|
function(t) {
|
|
3146
3095
|
return t.trimEnd();
|
|
@@ -3148,32 +3097,32 @@ var $t = Li ? (
|
|
|
3148
3097
|
) : (
|
|
3149
3098
|
// Ponyfill
|
|
3150
3099
|
function(t) {
|
|
3151
|
-
return t.replace(
|
|
3100
|
+
return t.replace(_i, "");
|
|
3152
3101
|
}
|
|
3153
3102
|
);
|
|
3154
|
-
function
|
|
3103
|
+
function Tr(e, t) {
|
|
3155
3104
|
return new RegExp(e, t);
|
|
3156
3105
|
}
|
|
3157
|
-
var
|
|
3158
|
-
if (
|
|
3159
|
-
var
|
|
3160
|
-
|
|
3106
|
+
var it;
|
|
3107
|
+
if (rt) {
|
|
3108
|
+
var Ct = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3109
|
+
it = function(t, r) {
|
|
3161
3110
|
var n;
|
|
3162
|
-
|
|
3163
|
-
var i =
|
|
3111
|
+
Ct.lastIndex = r;
|
|
3112
|
+
var i = Ct.exec(t);
|
|
3164
3113
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3165
3114
|
};
|
|
3166
3115
|
} else
|
|
3167
|
-
|
|
3116
|
+
it = function(t, r) {
|
|
3168
3117
|
for (var n = []; ; ) {
|
|
3169
|
-
var i =
|
|
3170
|
-
if (i === void 0 ||
|
|
3118
|
+
var i = Br(t, r);
|
|
3119
|
+
if (i === void 0 || Pr(i) || Ci(i))
|
|
3171
3120
|
break;
|
|
3172
3121
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3173
3122
|
}
|
|
3174
|
-
return
|
|
3123
|
+
return nt.apply(void 0, n);
|
|
3175
3124
|
};
|
|
3176
|
-
var
|
|
3125
|
+
var Mi = (
|
|
3177
3126
|
/** @class */
|
|
3178
3127
|
function() {
|
|
3179
3128
|
function e(t, r) {
|
|
@@ -3197,14 +3146,14 @@ var Vi = (
|
|
|
3197
3146
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3198
3147
|
var s = this.clonePosition();
|
|
3199
3148
|
this.bump(), i.push({
|
|
3200
|
-
type:
|
|
3149
|
+
type: S.pound,
|
|
3201
3150
|
location: w(s, this.clonePosition())
|
|
3202
3151
|
});
|
|
3203
3152
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3204
3153
|
if (n)
|
|
3205
3154
|
break;
|
|
3206
3155
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3207
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3156
|
+
} else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
3208
3157
|
var a = this.parseTag(t, r);
|
|
3209
3158
|
if (a.err)
|
|
3210
3159
|
return a;
|
|
@@ -3225,7 +3174,7 @@ var Vi = (
|
|
|
3225
3174
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3226
3175
|
return {
|
|
3227
3176
|
val: {
|
|
3228
|
-
type:
|
|
3177
|
+
type: S.literal,
|
|
3229
3178
|
value: "<".concat(i, "/>"),
|
|
3230
3179
|
location: w(n, this.clonePosition())
|
|
3231
3180
|
},
|
|
@@ -3237,12 +3186,12 @@ var Vi = (
|
|
|
3237
3186
|
return o;
|
|
3238
3187
|
var a = o.val, s = this.clonePosition();
|
|
3239
3188
|
if (this.bumpIf("</")) {
|
|
3240
|
-
if (this.isEOF() || !
|
|
3189
|
+
if (this.isEOF() || !ot(this.char()))
|
|
3241
3190
|
return this.error(_.INVALID_TAG, w(s, this.clonePosition()));
|
|
3242
3191
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3243
3192
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3244
3193
|
val: {
|
|
3245
|
-
type:
|
|
3194
|
+
type: S.tag,
|
|
3246
3195
|
value: i,
|
|
3247
3196
|
children: a,
|
|
3248
3197
|
location: w(n, this.clonePosition())
|
|
@@ -3255,7 +3204,7 @@ var Vi = (
|
|
|
3255
3204
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3256
3205
|
}, e.prototype.parseTagName = function() {
|
|
3257
3206
|
var t = this.offset();
|
|
3258
|
-
for (this.bump(); !this.isEOF() &&
|
|
3207
|
+
for (this.bump(); !this.isEOF() && Li(this.char()); )
|
|
3259
3208
|
this.bump();
|
|
3260
3209
|
return this.message.slice(t, this.offset());
|
|
3261
3210
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3279,12 +3228,12 @@ var Vi = (
|
|
|
3279
3228
|
}
|
|
3280
3229
|
var l = w(n, this.clonePosition());
|
|
3281
3230
|
return {
|
|
3282
|
-
val: { type:
|
|
3231
|
+
val: { type: S.literal, value: i, location: l },
|
|
3283
3232
|
err: null
|
|
3284
3233
|
};
|
|
3285
3234
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3286
3235
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3287
|
-
!
|
|
3236
|
+
!Oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3288
3237
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3289
3238
|
if (this.isEOF() || this.char() !== 39)
|
|
3290
3239
|
return null;
|
|
@@ -3318,12 +3267,12 @@ var Vi = (
|
|
|
3318
3267
|
r.push(n);
|
|
3319
3268
|
this.bump();
|
|
3320
3269
|
}
|
|
3321
|
-
return
|
|
3270
|
+
return nt.apply(void 0, r);
|
|
3322
3271
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3323
3272
|
if (this.isEOF())
|
|
3324
3273
|
return null;
|
|
3325
3274
|
var n = this.char();
|
|
3326
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3275
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
|
|
3327
3276
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3328
3277
|
var n = this.clonePosition();
|
|
3329
3278
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3339,7 +3288,7 @@ var Vi = (
|
|
|
3339
3288
|
case 125:
|
|
3340
3289
|
return this.bump(), {
|
|
3341
3290
|
val: {
|
|
3342
|
-
type:
|
|
3291
|
+
type: S.argument,
|
|
3343
3292
|
// value does not include the opening and closing braces.
|
|
3344
3293
|
value: i,
|
|
3345
3294
|
location: w(n, this.clonePosition())
|
|
@@ -3352,7 +3301,7 @@ var Vi = (
|
|
|
3352
3301
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3353
3302
|
}
|
|
3354
3303
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3355
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3304
|
+
var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
|
|
3356
3305
|
this.bumpTo(i);
|
|
3357
3306
|
var o = this.clonePosition(), a = w(t, o);
|
|
3358
3307
|
return { value: n, location: a };
|
|
@@ -3371,47 +3320,47 @@ var Vi = (
|
|
|
3371
3320
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3372
3321
|
if (d.err)
|
|
3373
3322
|
return d;
|
|
3374
|
-
var f =
|
|
3323
|
+
var f = Hi(d.val);
|
|
3375
3324
|
if (f.length === 0)
|
|
3376
3325
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3377
|
-
var
|
|
3378
|
-
u = { style: f, styleLocation:
|
|
3326
|
+
var p = w(h, this.clonePosition());
|
|
3327
|
+
u = { style: f, styleLocation: p };
|
|
3379
3328
|
}
|
|
3380
3329
|
var g = this.tryParseArgumentClose(i);
|
|
3381
3330
|
if (g.err)
|
|
3382
3331
|
return g;
|
|
3383
|
-
var
|
|
3384
|
-
if (u &&
|
|
3385
|
-
var
|
|
3332
|
+
var b = w(i, this.clonePosition());
|
|
3333
|
+
if (u && Ot(u?.style, "::", 0)) {
|
|
3334
|
+
var B = Pi(u.style.slice(2));
|
|
3386
3335
|
if (s === "number") {
|
|
3387
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3336
|
+
var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3388
3337
|
return d.err ? d : {
|
|
3389
|
-
val: { type:
|
|
3338
|
+
val: { type: S.number, value: n, location: b, style: d.val },
|
|
3390
3339
|
err: null
|
|
3391
3340
|
};
|
|
3392
3341
|
} else {
|
|
3393
|
-
if (
|
|
3394
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
3395
|
-
var N =
|
|
3396
|
-
this.locale && (N =
|
|
3342
|
+
if (B.length === 0)
|
|
3343
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3344
|
+
var N = B;
|
|
3345
|
+
this.locale && (N = bi(B, this.locale));
|
|
3397
3346
|
var f = {
|
|
3398
|
-
type:
|
|
3347
|
+
type: ne.dateTime,
|
|
3399
3348
|
pattern: N,
|
|
3400
3349
|
location: u.styleLocation,
|
|
3401
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3402
|
-
},
|
|
3350
|
+
parsedOptions: this.shouldParseSkeletons ? hi(N) : {}
|
|
3351
|
+
}, v = s === "date" ? S.date : S.time;
|
|
3403
3352
|
return {
|
|
3404
|
-
val: { type:
|
|
3353
|
+
val: { type: v, value: n, location: b, style: f },
|
|
3405
3354
|
err: null
|
|
3406
3355
|
};
|
|
3407
3356
|
}
|
|
3408
3357
|
}
|
|
3409
3358
|
return {
|
|
3410
3359
|
val: {
|
|
3411
|
-
type: s === "number" ?
|
|
3360
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3412
3361
|
value: n,
|
|
3413
|
-
location:
|
|
3414
|
-
style: (o = u
|
|
3362
|
+
location: b,
|
|
3363
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3415
3364
|
},
|
|
3416
3365
|
err: null
|
|
3417
3366
|
};
|
|
@@ -3419,9 +3368,9 @@ var Vi = (
|
|
|
3419
3368
|
case "plural":
|
|
3420
3369
|
case "selectordinal":
|
|
3421
3370
|
case "select": {
|
|
3422
|
-
var
|
|
3371
|
+
var A = this.clonePosition();
|
|
3423
3372
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3424
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(
|
|
3373
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, E({}, A)));
|
|
3425
3374
|
this.bumpSpace();
|
|
3426
3375
|
var x = this.parseIdentifierIfPossible(), C = 0;
|
|
3427
3376
|
if (s !== "select" && x.value === "offset") {
|
|
@@ -3433,29 +3382,29 @@ var Vi = (
|
|
|
3433
3382
|
return d;
|
|
3434
3383
|
this.bumpSpace(), x = this.parseIdentifierIfPossible(), C = d.val;
|
|
3435
3384
|
}
|
|
3436
|
-
var
|
|
3437
|
-
if (
|
|
3438
|
-
return
|
|
3385
|
+
var k = this.tryParsePluralOrSelectOptions(t, s, r, x);
|
|
3386
|
+
if (k.err)
|
|
3387
|
+
return k;
|
|
3439
3388
|
var g = this.tryParseArgumentClose(i);
|
|
3440
3389
|
if (g.err)
|
|
3441
3390
|
return g;
|
|
3442
|
-
var
|
|
3391
|
+
var Q = w(i, this.clonePosition());
|
|
3443
3392
|
return s === "select" ? {
|
|
3444
3393
|
val: {
|
|
3445
|
-
type:
|
|
3394
|
+
type: S.select,
|
|
3446
3395
|
value: n,
|
|
3447
|
-
options:
|
|
3448
|
-
location:
|
|
3396
|
+
options: Lt(k.val),
|
|
3397
|
+
location: Q
|
|
3449
3398
|
},
|
|
3450
3399
|
err: null
|
|
3451
3400
|
} : {
|
|
3452
3401
|
val: {
|
|
3453
|
-
type:
|
|
3402
|
+
type: S.plural,
|
|
3454
3403
|
value: n,
|
|
3455
|
-
options:
|
|
3404
|
+
options: Lt(k.val),
|
|
3456
3405
|
offset: C,
|
|
3457
3406
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3458
|
-
location:
|
|
3407
|
+
location: Q
|
|
3459
3408
|
},
|
|
3460
3409
|
err: null
|
|
3461
3410
|
};
|
|
@@ -3503,16 +3452,16 @@ var Vi = (
|
|
|
3503
3452
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3504
3453
|
var n = [];
|
|
3505
3454
|
try {
|
|
3506
|
-
n =
|
|
3507
|
-
} catch
|
|
3455
|
+
n = fi(t);
|
|
3456
|
+
} catch {
|
|
3508
3457
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3509
3458
|
}
|
|
3510
3459
|
return {
|
|
3511
3460
|
val: {
|
|
3512
|
-
type:
|
|
3461
|
+
type: ne.number,
|
|
3513
3462
|
tokens: n,
|
|
3514
3463
|
location: r,
|
|
3515
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3464
|
+
parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
|
|
3516
3465
|
},
|
|
3517
3466
|
err: null
|
|
3518
3467
|
};
|
|
@@ -3531,20 +3480,20 @@ var Vi = (
|
|
|
3531
3480
|
if (l.has(u))
|
|
3532
3481
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3533
3482
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3534
|
-
var
|
|
3483
|
+
var p = this.clonePosition();
|
|
3535
3484
|
if (!this.bumpIf("{"))
|
|
3536
3485
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3537
3486
|
var g = this.parseMessage(t + 1, r, n);
|
|
3538
3487
|
if (g.err)
|
|
3539
3488
|
return g;
|
|
3540
|
-
var
|
|
3541
|
-
if (
|
|
3542
|
-
return
|
|
3489
|
+
var b = this.tryParseArgumentClose(p);
|
|
3490
|
+
if (b.err)
|
|
3491
|
+
return b;
|
|
3543
3492
|
s.push([
|
|
3544
3493
|
u,
|
|
3545
3494
|
{
|
|
3546
3495
|
value: g.val,
|
|
3547
|
-
location: w(
|
|
3496
|
+
location: w(p, this.clonePosition())
|
|
3548
3497
|
}
|
|
3549
3498
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3550
3499
|
}
|
|
@@ -3560,7 +3509,7 @@ var Vi = (
|
|
|
3560
3509
|
break;
|
|
3561
3510
|
}
|
|
3562
3511
|
var l = w(i, this.clonePosition());
|
|
3563
|
-
return o ? (a *= n,
|
|
3512
|
+
return o ? (a *= n, Bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3564
3513
|
}, e.prototype.offset = function() {
|
|
3565
3514
|
return this.position.offset;
|
|
3566
3515
|
}, e.prototype.isEOF = function() {
|
|
@@ -3575,7 +3524,7 @@ var Vi = (
|
|
|
3575
3524
|
var t = this.position.offset;
|
|
3576
3525
|
if (t >= this.message.length)
|
|
3577
3526
|
throw Error("out of bound");
|
|
3578
|
-
var r =
|
|
3527
|
+
var r = Br(this.message, t);
|
|
3579
3528
|
if (r === void 0)
|
|
3580
3529
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3581
3530
|
return r;
|
|
@@ -3594,7 +3543,7 @@ var Vi = (
|
|
|
3594
3543
|
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);
|
|
3595
3544
|
}
|
|
3596
3545
|
}, e.prototype.bumpIf = function(t) {
|
|
3597
|
-
if (
|
|
3546
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3598
3547
|
for (var r = 0; r < t.length; r++)
|
|
3599
3548
|
this.bump();
|
|
3600
3549
|
return !0;
|
|
@@ -3616,56 +3565,56 @@ var Vi = (
|
|
|
3616
3565
|
break;
|
|
3617
3566
|
}
|
|
3618
3567
|
}, e.prototype.bumpSpace = function() {
|
|
3619
|
-
for (; !this.isEOF() &&
|
|
3568
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3620
3569
|
this.bump();
|
|
3621
3570
|
}, e.prototype.peek = function() {
|
|
3622
3571
|
if (this.isEOF())
|
|
3623
3572
|
return null;
|
|
3624
3573
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3625
|
-
return n
|
|
3574
|
+
return n ?? null;
|
|
3626
3575
|
}, e;
|
|
3627
3576
|
}()
|
|
3628
3577
|
);
|
|
3629
|
-
function
|
|
3578
|
+
function ot(e) {
|
|
3630
3579
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3631
3580
|
}
|
|
3632
|
-
function
|
|
3633
|
-
return
|
|
3581
|
+
function Oi(e) {
|
|
3582
|
+
return ot(e) || e === 47;
|
|
3634
3583
|
}
|
|
3635
|
-
function
|
|
3584
|
+
function Li(e) {
|
|
3636
3585
|
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;
|
|
3637
3586
|
}
|
|
3638
|
-
function
|
|
3587
|
+
function Pr(e) {
|
|
3639
3588
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3640
3589
|
}
|
|
3641
|
-
function
|
|
3590
|
+
function Ci(e) {
|
|
3642
3591
|
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;
|
|
3643
3592
|
}
|
|
3644
|
-
function
|
|
3593
|
+
function at(e) {
|
|
3645
3594
|
e.forEach(function(t) {
|
|
3646
|
-
if (delete t.location,
|
|
3595
|
+
if (delete t.location, _r(t) || xr(t))
|
|
3647
3596
|
for (var r in t.options)
|
|
3648
|
-
delete t.options[r].location,
|
|
3649
|
-
else
|
|
3597
|
+
delete t.options[r].location, at(t.options[r].value);
|
|
3598
|
+
else br(t) && Er(t.style) || (vr(t) || yr(t)) && tt(t.style) ? delete t.style.location : wr(t) && at(t.children);
|
|
3650
3599
|
});
|
|
3651
3600
|
}
|
|
3652
|
-
function
|
|
3601
|
+
function Fi(e, t) {
|
|
3653
3602
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3654
|
-
var r = new
|
|
3603
|
+
var r = new Mi(e, t).parse();
|
|
3655
3604
|
if (r.err) {
|
|
3656
3605
|
var n = SyntaxError(_[r.err.kind]);
|
|
3657
3606
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3658
3607
|
}
|
|
3659
|
-
return t
|
|
3608
|
+
return t?.captureLocation || at(r.val), r.val;
|
|
3660
3609
|
}
|
|
3661
|
-
var
|
|
3610
|
+
var ie;
|
|
3662
3611
|
(function(e) {
|
|
3663
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3664
|
-
})(
|
|
3665
|
-
var
|
|
3613
|
+
})(ie || (ie = {}));
|
|
3614
|
+
var Le = (
|
|
3666
3615
|
/** @class */
|
|
3667
3616
|
function(e) {
|
|
3668
|
-
|
|
3617
|
+
$(t, e);
|
|
3669
3618
|
function t(r, n, i) {
|
|
3670
3619
|
var o = e.call(this, r) || this;
|
|
3671
3620
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3674,48 +3623,48 @@ var Ce = (
|
|
|
3674
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3675
3624
|
}, t;
|
|
3676
3625
|
}(Error)
|
|
3677
|
-
),
|
|
3626
|
+
), Ft = (
|
|
3678
3627
|
/** @class */
|
|
3679
3628
|
function(e) {
|
|
3680
|
-
|
|
3629
|
+
$(t, e);
|
|
3681
3630
|
function t(r, n, i, o) {
|
|
3682
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3631
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3683
3632
|
}
|
|
3684
3633
|
return t;
|
|
3685
|
-
}(
|
|
3686
|
-
),
|
|
3634
|
+
}(Le)
|
|
3635
|
+
), Ri = (
|
|
3687
3636
|
/** @class */
|
|
3688
3637
|
function(e) {
|
|
3689
|
-
|
|
3638
|
+
$(t, e);
|
|
3690
3639
|
function t(r, n, i) {
|
|
3691
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3640
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3692
3641
|
}
|
|
3693
3642
|
return t;
|
|
3694
|
-
}(
|
|
3695
|
-
),
|
|
3643
|
+
}(Le)
|
|
3644
|
+
), Ui = (
|
|
3696
3645
|
/** @class */
|
|
3697
3646
|
function(e) {
|
|
3698
|
-
|
|
3647
|
+
$(t, e);
|
|
3699
3648
|
function t(r, n) {
|
|
3700
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3649
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3701
3650
|
}
|
|
3702
3651
|
return t;
|
|
3703
|
-
}(
|
|
3652
|
+
}(Le)
|
|
3704
3653
|
), M;
|
|
3705
3654
|
(function(e) {
|
|
3706
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3707
3656
|
})(M || (M = {}));
|
|
3708
|
-
function
|
|
3657
|
+
function Di(e) {
|
|
3709
3658
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3710
3659
|
var n = t[t.length - 1];
|
|
3711
3660
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3712
3661
|
}, []);
|
|
3713
3662
|
}
|
|
3714
|
-
function
|
|
3663
|
+
function Gi(e) {
|
|
3715
3664
|
return typeof e == "function";
|
|
3716
3665
|
}
|
|
3717
|
-
function
|
|
3718
|
-
if (e.length === 1 &&
|
|
3666
|
+
function Ie(e, t, r, n, i, o, a) {
|
|
3667
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3719
3668
|
return [
|
|
3720
3669
|
{
|
|
3721
3670
|
type: M.literal,
|
|
@@ -3724,14 +3673,14 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3724
3673
|
];
|
|
3725
3674
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3726
3675
|
var h = u[l];
|
|
3727
|
-
if (
|
|
3676
|
+
if (Tt(h)) {
|
|
3728
3677
|
s.push({
|
|
3729
3678
|
type: M.literal,
|
|
3730
3679
|
value: h.value
|
|
3731
3680
|
});
|
|
3732
3681
|
continue;
|
|
3733
3682
|
}
|
|
3734
|
-
if (
|
|
3683
|
+
if (li(h)) {
|
|
3735
3684
|
typeof o == "number" && s.push({
|
|
3736
3685
|
type: M.literal,
|
|
3737
3686
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3740,89 +3689,89 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3740
3689
|
}
|
|
3741
3690
|
var d = h.value;
|
|
3742
3691
|
if (!(i && d in i))
|
|
3743
|
-
throw new
|
|
3692
|
+
throw new Ui(d, a);
|
|
3744
3693
|
var f = i[d];
|
|
3745
|
-
if (
|
|
3694
|
+
if (si(h)) {
|
|
3746
3695
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3747
3696
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3748
3697
|
value: f
|
|
3749
3698
|
});
|
|
3750
3699
|
continue;
|
|
3751
3700
|
}
|
|
3752
|
-
if (
|
|
3753
|
-
var
|
|
3701
|
+
if (vr(h)) {
|
|
3702
|
+
var p = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3754
3703
|
s.push({
|
|
3755
3704
|
type: M.literal,
|
|
3756
|
-
value: r.getDateTimeFormat(t,
|
|
3705
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3757
3706
|
});
|
|
3758
3707
|
continue;
|
|
3759
3708
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var
|
|
3709
|
+
if (yr(h)) {
|
|
3710
|
+
var p = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3762
3711
|
s.push({
|
|
3763
3712
|
type: M.literal,
|
|
3764
|
-
value: r.getDateTimeFormat(t,
|
|
3713
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3765
3714
|
});
|
|
3766
3715
|
continue;
|
|
3767
3716
|
}
|
|
3768
|
-
if (
|
|
3769
|
-
var
|
|
3770
|
-
|
|
3717
|
+
if (br(h)) {
|
|
3718
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
|
|
3719
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3771
3720
|
type: M.literal,
|
|
3772
|
-
value: r.getNumberFormat(t,
|
|
3721
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3773
3722
|
});
|
|
3774
3723
|
continue;
|
|
3775
3724
|
}
|
|
3776
|
-
if (
|
|
3777
|
-
var g = h.children,
|
|
3778
|
-
if (!
|
|
3779
|
-
throw new
|
|
3780
|
-
var N =
|
|
3725
|
+
if (wr(h)) {
|
|
3726
|
+
var g = h.children, b = h.value, B = i[b];
|
|
3727
|
+
if (!Gi(B))
|
|
3728
|
+
throw new Ri(b, "function", a);
|
|
3729
|
+
var N = Ie(g, t, r, n, i, o), v = B(N.map(function(C) {
|
|
3781
3730
|
return C.value;
|
|
3782
3731
|
}));
|
|
3783
|
-
Array.isArray(
|
|
3732
|
+
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(C) {
|
|
3784
3733
|
return {
|
|
3785
3734
|
type: typeof C == "string" ? M.literal : M.object,
|
|
3786
3735
|
value: C
|
|
3787
3736
|
};
|
|
3788
3737
|
}));
|
|
3789
3738
|
}
|
|
3790
|
-
if (
|
|
3791
|
-
var
|
|
3792
|
-
if (!
|
|
3793
|
-
throw new
|
|
3794
|
-
s.push.apply(s,
|
|
3739
|
+
if (_r(h)) {
|
|
3740
|
+
var A = h.options[f] || h.options.other;
|
|
3741
|
+
if (!A)
|
|
3742
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3743
|
+
s.push.apply(s, Ie(A.value, t, r, n, i));
|
|
3795
3744
|
continue;
|
|
3796
3745
|
}
|
|
3797
|
-
if (
|
|
3798
|
-
var
|
|
3799
|
-
if (!
|
|
3746
|
+
if (xr(h)) {
|
|
3747
|
+
var A = h.options["=".concat(f)];
|
|
3748
|
+
if (!A) {
|
|
3800
3749
|
if (!Intl.PluralRules)
|
|
3801
|
-
throw new
|
|
3750
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3802
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3803
|
-
`,
|
|
3752
|
+
`, ie.MISSING_INTL_API, a);
|
|
3804
3753
|
var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3805
|
-
|
|
3754
|
+
A = h.options[x] || h.options.other;
|
|
3806
3755
|
}
|
|
3807
|
-
if (!
|
|
3808
|
-
throw new
|
|
3809
|
-
s.push.apply(s,
|
|
3756
|
+
if (!A)
|
|
3757
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3758
|
+
s.push.apply(s, Ie(A.value, t, r, n, i, f - (h.offset || 0)));
|
|
3810
3759
|
continue;
|
|
3811
3760
|
}
|
|
3812
3761
|
}
|
|
3813
|
-
return
|
|
3762
|
+
return Di(s);
|
|
3814
3763
|
}
|
|
3815
|
-
function
|
|
3764
|
+
function $i(e, t) {
|
|
3816
3765
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3817
3766
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3818
3767
|
}, {})) : e;
|
|
3819
3768
|
}
|
|
3820
|
-
function
|
|
3769
|
+
function ki(e, t) {
|
|
3821
3770
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3822
|
-
return r[n] =
|
|
3771
|
+
return r[n] = $i(e[n], t[n]), r;
|
|
3823
3772
|
}, E({}, e)) : e;
|
|
3824
3773
|
}
|
|
3825
|
-
function
|
|
3774
|
+
function Ve(e) {
|
|
3826
3775
|
return {
|
|
3827
3776
|
create: function() {
|
|
3828
3777
|
return {
|
|
@@ -3836,39 +3785,39 @@ function Ze(e) {
|
|
|
3836
3785
|
}
|
|
3837
3786
|
};
|
|
3838
3787
|
}
|
|
3839
|
-
function
|
|
3788
|
+
function ji(e) {
|
|
3840
3789
|
return e === void 0 && (e = {
|
|
3841
3790
|
number: {},
|
|
3842
3791
|
dateTime: {},
|
|
3843
3792
|
pluralRules: {}
|
|
3844
3793
|
}), {
|
|
3845
|
-
getNumberFormat:
|
|
3794
|
+
getNumberFormat: ke(function() {
|
|
3846
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3847
3796
|
r[n] = arguments[n];
|
|
3848
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3797
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3849
3798
|
}, {
|
|
3850
|
-
cache:
|
|
3851
|
-
strategy:
|
|
3799
|
+
cache: Ve(e.number),
|
|
3800
|
+
strategy: je.variadic
|
|
3852
3801
|
}),
|
|
3853
|
-
getDateTimeFormat:
|
|
3802
|
+
getDateTimeFormat: ke(function() {
|
|
3854
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3855
3804
|
r[n] = arguments[n];
|
|
3856
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3805
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3857
3806
|
}, {
|
|
3858
|
-
cache:
|
|
3859
|
-
strategy:
|
|
3807
|
+
cache: Ve(e.dateTime),
|
|
3808
|
+
strategy: je.variadic
|
|
3860
3809
|
}),
|
|
3861
|
-
getPluralRules:
|
|
3810
|
+
getPluralRules: ke(function() {
|
|
3862
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3863
3812
|
r[n] = arguments[n];
|
|
3864
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3813
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
|
|
3865
3814
|
}, {
|
|
3866
|
-
cache:
|
|
3867
|
-
strategy:
|
|
3815
|
+
cache: Ve(e.pluralRules),
|
|
3816
|
+
strategy: je.variadic
|
|
3868
3817
|
})
|
|
3869
3818
|
};
|
|
3870
3819
|
}
|
|
3871
|
-
var
|
|
3820
|
+
var Wi = (
|
|
3872
3821
|
/** @class */
|
|
3873
3822
|
function() {
|
|
3874
3823
|
function e(t, r, n, i) {
|
|
@@ -3887,7 +3836,7 @@ var no = (
|
|
|
3887
3836
|
}, []);
|
|
3888
3837
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3889
3838
|
}, this.formatToParts = function(l) {
|
|
3890
|
-
return
|
|
3839
|
+
return Ie(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3891
3840
|
}, this.resolvedOptions = function() {
|
|
3892
3841
|
var l;
|
|
3893
3842
|
return {
|
|
@@ -3900,13 +3849,13 @@ var no = (
|
|
|
3900
3849
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3901
3850
|
var a = i || {};
|
|
3902
3851
|
a.formatters;
|
|
3903
|
-
var s =
|
|
3852
|
+
var s = wn(a, ["formatters"]);
|
|
3904
3853
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3905
3854
|
} else
|
|
3906
3855
|
this.ast = t;
|
|
3907
3856
|
if (!Array.isArray(this.ast))
|
|
3908
3857
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3909
|
-
this.formats =
|
|
3858
|
+
this.formats = ki(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
|
|
3910
3859
|
}
|
|
3911
3860
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3912
3861
|
get: function() {
|
|
@@ -3915,11 +3864,11 @@ var no = (
|
|
|
3915
3864
|
enumerable: !1,
|
|
3916
3865
|
configurable: !0
|
|
3917
3866
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3918
|
-
if (typeof Intl.Locale
|
|
3867
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3919
3868
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3920
3869
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3921
3870
|
}
|
|
3922
|
-
}, e.__parse =
|
|
3871
|
+
}, e.__parse = Fi, e.formats = {
|
|
3923
3872
|
number: {
|
|
3924
3873
|
integer: {
|
|
3925
3874
|
maximumFractionDigits: 0
|
|
@@ -3980,7 +3929,7 @@ var no = (
|
|
|
3980
3929
|
}, e;
|
|
3981
3930
|
}()
|
|
3982
3931
|
);
|
|
3983
|
-
function
|
|
3932
|
+
function Vi(e, t) {
|
|
3984
3933
|
if (t == null)
|
|
3985
3934
|
return;
|
|
3986
3935
|
if (t in e)
|
|
@@ -4001,92 +3950,92 @@ function io(e, t) {
|
|
|
4001
3950
|
n = void 0;
|
|
4002
3951
|
return n;
|
|
4003
3952
|
}
|
|
4004
|
-
const
|
|
3953
|
+
const V = {}, Xi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Hr = (e, t) => {
|
|
4005
3954
|
if (t == null)
|
|
4006
3955
|
return;
|
|
4007
|
-
if (t in
|
|
4008
|
-
return
|
|
4009
|
-
const r =
|
|
3956
|
+
if (t in V && e in V[t])
|
|
3957
|
+
return V[t][e];
|
|
3958
|
+
const r = Ce(t);
|
|
4010
3959
|
for (let n = 0; n < r.length; n++) {
|
|
4011
|
-
const i = r[n], o =
|
|
3960
|
+
const i = r[n], o = Zi(i, e);
|
|
4012
3961
|
if (o)
|
|
4013
|
-
return
|
|
3962
|
+
return Xi(e, t, o);
|
|
4014
3963
|
}
|
|
4015
3964
|
};
|
|
4016
|
-
let
|
|
4017
|
-
const
|
|
4018
|
-
function
|
|
4019
|
-
return
|
|
3965
|
+
let ft;
|
|
3966
|
+
const ve = Oe({});
|
|
3967
|
+
function zi(e) {
|
|
3968
|
+
return ft[e] || null;
|
|
4020
3969
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return e in
|
|
3970
|
+
function Mr(e) {
|
|
3971
|
+
return e in ft;
|
|
4023
3972
|
}
|
|
4024
|
-
function
|
|
4025
|
-
if (
|
|
3973
|
+
function Zi(e, t) {
|
|
3974
|
+
if (!Mr(e))
|
|
4026
3975
|
return null;
|
|
4027
|
-
const r =
|
|
4028
|
-
return
|
|
3976
|
+
const r = zi(e);
|
|
3977
|
+
return Vi(r, t);
|
|
4029
3978
|
}
|
|
4030
|
-
function
|
|
3979
|
+
function Qi(e) {
|
|
4031
3980
|
if (e == null)
|
|
4032
3981
|
return;
|
|
4033
|
-
const t =
|
|
3982
|
+
const t = Ce(e);
|
|
4034
3983
|
for (let r = 0; r < t.length; r++) {
|
|
4035
3984
|
const n = t[r];
|
|
4036
|
-
if (
|
|
3985
|
+
if (Mr(n))
|
|
4037
3986
|
return n;
|
|
4038
3987
|
}
|
|
4039
3988
|
}
|
|
4040
|
-
function
|
|
4041
|
-
delete
|
|
3989
|
+
function Or(e, ...t) {
|
|
3990
|
+
delete V[e], ve.update((r) => (r[e] = Kn.all([r[e] || {}, ...t]), r));
|
|
4042
3991
|
}
|
|
4043
|
-
|
|
4044
|
-
[
|
|
3992
|
+
se(
|
|
3993
|
+
[ve],
|
|
4045
3994
|
([e]) => Object.keys(e)
|
|
4046
3995
|
);
|
|
4047
|
-
|
|
4048
|
-
const
|
|
4049
|
-
function
|
|
4050
|
-
|
|
3996
|
+
ve.subscribe((e) => ft = e);
|
|
3997
|
+
const Ae = {};
|
|
3998
|
+
function Yi(e, t) {
|
|
3999
|
+
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4051
4000
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return
|
|
4001
|
+
function Lr(e) {
|
|
4002
|
+
return Ae[e];
|
|
4054
4003
|
}
|
|
4055
|
-
function
|
|
4056
|
-
return
|
|
4057
|
-
const r =
|
|
4004
|
+
function Ji(e) {
|
|
4005
|
+
return Ce(e).map((t) => {
|
|
4006
|
+
const r = Lr(t);
|
|
4058
4007
|
return [t, r ? [...r] : []];
|
|
4059
4008
|
}).filter(([, t]) => t.length > 0);
|
|
4060
4009
|
}
|
|
4061
|
-
function
|
|
4062
|
-
return e == null ? !1 :
|
|
4010
|
+
function st(e) {
|
|
4011
|
+
return e == null ? !1 : Ce(e).some(
|
|
4063
4012
|
(t) => {
|
|
4064
4013
|
var r;
|
|
4065
|
-
return (r =
|
|
4014
|
+
return (r = Lr(t)) == null ? void 0 : r.size;
|
|
4066
4015
|
}
|
|
4067
4016
|
);
|
|
4068
4017
|
}
|
|
4069
|
-
function
|
|
4018
|
+
function qi(e, t) {
|
|
4070
4019
|
return Promise.all(
|
|
4071
|
-
t.map((n) => (
|
|
4072
|
-
).then((n) =>
|
|
4073
|
-
}
|
|
4074
|
-
const
|
|
4075
|
-
function
|
|
4076
|
-
if (!
|
|
4077
|
-
return e in
|
|
4078
|
-
const t =
|
|
4079
|
-
return
|
|
4020
|
+
t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
|
|
4021
|
+
).then((n) => Or(e, ...n));
|
|
4022
|
+
}
|
|
4023
|
+
const ce = {};
|
|
4024
|
+
function Cr(e) {
|
|
4025
|
+
if (!st(e))
|
|
4026
|
+
return e in ce ? ce[e] : Promise.resolve();
|
|
4027
|
+
const t = Ji(e);
|
|
4028
|
+
return ce[e] = Promise.all(
|
|
4080
4029
|
t.map(
|
|
4081
|
-
([r, n]) =>
|
|
4030
|
+
([r, n]) => qi(r, n)
|
|
4082
4031
|
)
|
|
4083
4032
|
).then(() => {
|
|
4084
|
-
if (
|
|
4085
|
-
return
|
|
4086
|
-
delete
|
|
4087
|
-
}),
|
|
4033
|
+
if (st(e))
|
|
4034
|
+
return Cr(e);
|
|
4035
|
+
delete ce[e];
|
|
4036
|
+
}), ce[e];
|
|
4088
4037
|
}
|
|
4089
|
-
const
|
|
4038
|
+
const Ki = {
|
|
4090
4039
|
number: {
|
|
4091
4040
|
scientific: { notation: "scientific" },
|
|
4092
4041
|
engineering: { notation: "engineering" },
|
|
@@ -4115,150 +4064,150 @@ const fo = {
|
|
|
4115
4064
|
timeZoneName: "short"
|
|
4116
4065
|
}
|
|
4117
4066
|
}
|
|
4118
|
-
},
|
|
4067
|
+
}, eo = {
|
|
4119
4068
|
fallbackLocale: null,
|
|
4120
4069
|
loadingDelay: 200,
|
|
4121
|
-
formats:
|
|
4070
|
+
formats: Ki,
|
|
4122
4071
|
warnOnMissingMessages: !0,
|
|
4123
4072
|
handleMissingMessage: void 0,
|
|
4124
4073
|
ignoreTag: !0
|
|
4125
|
-
},
|
|
4126
|
-
function
|
|
4127
|
-
return
|
|
4128
|
-
}
|
|
4129
|
-
const
|
|
4130
|
-
var
|
|
4131
|
-
for (var r in t
|
|
4132
|
-
|
|
4133
|
-
if (
|
|
4134
|
-
for (var r of
|
|
4135
|
-
|
|
4074
|
+
}, to = eo;
|
|
4075
|
+
function oe() {
|
|
4076
|
+
return to;
|
|
4077
|
+
}
|
|
4078
|
+
const Xe = Oe(!1);
|
|
4079
|
+
var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, ao = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
|
|
4080
|
+
for (var r in t)
|
|
4081
|
+
oo.call(t, r) && Ut(e, r, t[r]);
|
|
4082
|
+
if (Rt)
|
|
4083
|
+
for (var r of Rt(t))
|
|
4084
|
+
ao.call(t, r) && Ut(e, r, t[r]);
|
|
4136
4085
|
return e;
|
|
4137
|
-
},
|
|
4138
|
-
let
|
|
4139
|
-
const
|
|
4140
|
-
function
|
|
4086
|
+
}, lo = (e, t) => no(e, io(t));
|
|
4087
|
+
let lt;
|
|
4088
|
+
const Te = Oe(null);
|
|
4089
|
+
function Dt(e) {
|
|
4141
4090
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4142
4091
|
}
|
|
4143
|
-
function
|
|
4144
|
-
const r =
|
|
4145
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4092
|
+
function Ce(e, t = oe().fallbackLocale) {
|
|
4093
|
+
const r = Dt(e);
|
|
4094
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4146
4095
|
}
|
|
4147
|
-
function
|
|
4148
|
-
return
|
|
4096
|
+
function Z() {
|
|
4097
|
+
return lt ?? void 0;
|
|
4149
4098
|
}
|
|
4150
|
-
|
|
4151
|
-
|
|
4099
|
+
Te.subscribe((e) => {
|
|
4100
|
+
lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4152
4101
|
});
|
|
4153
|
-
const
|
|
4154
|
-
if (e &&
|
|
4155
|
-
const { loadingDelay: t } =
|
|
4102
|
+
const uo = (e) => {
|
|
4103
|
+
if (e && Qi(e) && st(e)) {
|
|
4104
|
+
const { loadingDelay: t } = oe();
|
|
4156
4105
|
let r;
|
|
4157
|
-
return typeof window
|
|
4158
|
-
() =>
|
|
4106
|
+
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4107
|
+
() => Xe.set(!0),
|
|
4159
4108
|
t
|
|
4160
|
-
) :
|
|
4161
|
-
|
|
4109
|
+
) : Xe.set(!0), Cr(e).then(() => {
|
|
4110
|
+
Te.set(e);
|
|
4162
4111
|
}).finally(() => {
|
|
4163
|
-
clearTimeout(r),
|
|
4112
|
+
clearTimeout(r), Xe.set(!1);
|
|
4164
4113
|
});
|
|
4165
4114
|
}
|
|
4166
|
-
return
|
|
4167
|
-
},
|
|
4168
|
-
set:
|
|
4169
|
-
}),
|
|
4115
|
+
return Te.set(e);
|
|
4116
|
+
}, le = lo(so({}, Te), {
|
|
4117
|
+
set: uo
|
|
4118
|
+
}), Fe = (e) => {
|
|
4170
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4171
4120
|
return (n) => {
|
|
4172
4121
|
const i = JSON.stringify(n);
|
|
4173
4122
|
return i in t ? t[i] : t[i] = e(n);
|
|
4174
4123
|
};
|
|
4175
4124
|
};
|
|
4176
|
-
var
|
|
4125
|
+
var ho = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4177
4126
|
for (var r in t || (t = {}))
|
|
4178
|
-
|
|
4127
|
+
Fr.call(t, r) && Gt(e, r, t[r]);
|
|
4179
4128
|
if (Pe)
|
|
4180
4129
|
for (var r of Pe(t))
|
|
4181
|
-
|
|
4130
|
+
Rr.call(t, r) && Gt(e, r, t[r]);
|
|
4182
4131
|
return e;
|
|
4183
|
-
},
|
|
4132
|
+
}, ue = (e, t) => {
|
|
4184
4133
|
var r = {};
|
|
4185
4134
|
for (var n in e)
|
|
4186
|
-
|
|
4135
|
+
Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4187
4136
|
if (e != null && Pe)
|
|
4188
4137
|
for (var n of Pe(e))
|
|
4189
|
-
t.indexOf(n) < 0 &&
|
|
4138
|
+
t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
|
|
4190
4139
|
return r;
|
|
4191
4140
|
};
|
|
4192
|
-
const
|
|
4193
|
-
const { formats: r } =
|
|
4141
|
+
const ge = (e, t) => {
|
|
4142
|
+
const { formats: r } = oe();
|
|
4194
4143
|
if (e in r && t in r[e])
|
|
4195
4144
|
return r[e][t];
|
|
4196
4145
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4197
|
-
},
|
|
4146
|
+
}, co = Fe(
|
|
4198
4147
|
(e) => {
|
|
4199
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4148
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4200
4149
|
if (r == null)
|
|
4201
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4202
|
-
return n && (i =
|
|
4151
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4203
4152
|
}
|
|
4204
|
-
),
|
|
4153
|
+
), fo = Fe(
|
|
4205
4154
|
(e) => {
|
|
4206
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4155
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4207
4156
|
if (r == null)
|
|
4208
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4209
|
-
return n ? i =
|
|
4158
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4210
4159
|
}
|
|
4211
|
-
),
|
|
4160
|
+
), mo = Fe(
|
|
4212
4161
|
(e) => {
|
|
4213
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4162
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4214
4163
|
if (r == null)
|
|
4215
4164
|
throw new Error(
|
|
4216
4165
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4217
4166
|
);
|
|
4218
|
-
return n ? i =
|
|
4167
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4219
4168
|
}
|
|
4220
|
-
),
|
|
4169
|
+
), po = (e = {}) => {
|
|
4221
4170
|
var t = e, {
|
|
4222
|
-
locale: r =
|
|
4223
|
-
} = t, n =
|
|
4171
|
+
locale: r = Z()
|
|
4172
|
+
} = t, n = ue(t, [
|
|
4224
4173
|
"locale"
|
|
4225
4174
|
]);
|
|
4226
|
-
return
|
|
4227
|
-
},
|
|
4175
|
+
return co(dt({ locale: r }, n));
|
|
4176
|
+
}, go = (e = {}) => {
|
|
4228
4177
|
var t = e, {
|
|
4229
|
-
locale: r =
|
|
4230
|
-
} = t, n =
|
|
4178
|
+
locale: r = Z()
|
|
4179
|
+
} = t, n = ue(t, [
|
|
4231
4180
|
"locale"
|
|
4232
4181
|
]);
|
|
4233
|
-
return
|
|
4234
|
-
},
|
|
4182
|
+
return fo(dt({ locale: r }, n));
|
|
4183
|
+
}, bo = (e = {}) => {
|
|
4235
4184
|
var t = e, {
|
|
4236
|
-
locale: r =
|
|
4237
|
-
} = t, n =
|
|
4185
|
+
locale: r = Z()
|
|
4186
|
+
} = t, n = ue(t, [
|
|
4238
4187
|
"locale"
|
|
4239
4188
|
]);
|
|
4240
|
-
return
|
|
4241
|
-
},
|
|
4189
|
+
return mo(dt({ locale: r }, n));
|
|
4190
|
+
}, vo = Fe(
|
|
4242
4191
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4243
|
-
(e, t =
|
|
4244
|
-
ignoreTag:
|
|
4192
|
+
(e, t = Z()) => new Wi(e, t, oe().formats, {
|
|
4193
|
+
ignoreTag: oe().ignoreTag
|
|
4245
4194
|
})
|
|
4246
|
-
),
|
|
4195
|
+
), yo = (e, t = {}) => {
|
|
4247
4196
|
var r, n, i, o;
|
|
4248
4197
|
let a = t;
|
|
4249
4198
|
typeof e == "object" && (a = e, e = a.id);
|
|
4250
4199
|
const {
|
|
4251
4200
|
values: s,
|
|
4252
|
-
locale: l =
|
|
4201
|
+
locale: l = Z(),
|
|
4253
4202
|
default: u
|
|
4254
4203
|
} = a;
|
|
4255
4204
|
if (l == null)
|
|
4256
4205
|
throw new Error(
|
|
4257
4206
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4258
4207
|
);
|
|
4259
|
-
let h =
|
|
4208
|
+
let h = Hr(e, l);
|
|
4260
4209
|
if (!h)
|
|
4261
|
-
h = (o = (i = (n = (r =
|
|
4210
|
+
h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4262
4211
|
else if (typeof h != "string")
|
|
4263
4212
|
return console.warn(
|
|
4264
4213
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4267,7 +4216,7 @@ const ve = (e, t) => {
|
|
|
4267
4216
|
return h;
|
|
4268
4217
|
let d = h;
|
|
4269
4218
|
try {
|
|
4270
|
-
d =
|
|
4219
|
+
d = vo(h, l).format(s);
|
|
4271
4220
|
} catch (f) {
|
|
4272
4221
|
f instanceof Error && console.warn(
|
|
4273
4222
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4275,20 +4224,20 @@ const ve = (e, t) => {
|
|
|
4275
4224
|
);
|
|
4276
4225
|
}
|
|
4277
4226
|
return d;
|
|
4278
|
-
},
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
window.emWidgets = { topic:
|
|
4284
|
-
const
|
|
4285
|
-
function
|
|
4286
|
-
|
|
4287
|
-
}
|
|
4288
|
-
function
|
|
4289
|
-
|
|
4290
|
-
}
|
|
4291
|
-
const
|
|
4227
|
+
}, _o = (e, t) => bo(t).format(e), xo = (e, t) => go(t).format(e), wo = (e, t) => po(t).format(e), Eo = (e, t = Z()) => Hr(e, t), No = se([le, ve], () => yo);
|
|
4228
|
+
se([le], () => _o);
|
|
4229
|
+
se([le], () => xo);
|
|
4230
|
+
se([le], () => wo);
|
|
4231
|
+
se([le, ve], () => Eo);
|
|
4232
|
+
window.emWidgets = { topic: Fn };
|
|
4233
|
+
const $t = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4234
|
+
function kt(e, t) {
|
|
4235
|
+
Or(e, t);
|
|
4236
|
+
}
|
|
4237
|
+
function So(e) {
|
|
4238
|
+
le.set(e);
|
|
4239
|
+
}
|
|
4240
|
+
const jt = {
|
|
4292
4241
|
en: {
|
|
4293
4242
|
secondaryMenuTitle: "Categories"
|
|
4294
4243
|
},
|
|
@@ -4323,198 +4272,198 @@ const Jt = {
|
|
|
4323
4272
|
secondaryMenuTitle: "Categories"
|
|
4324
4273
|
}
|
|
4325
4274
|
};
|
|
4326
|
-
function
|
|
4327
|
-
|
|
4275
|
+
function Io(e) {
|
|
4276
|
+
rn(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4328
4277
|
}
|
|
4329
|
-
function
|
|
4278
|
+
function Wt(e, t, r) {
|
|
4330
4279
|
const n = e.slice();
|
|
4331
4280
|
return n[44] = t[r], n[46] = r, n;
|
|
4332
4281
|
}
|
|
4333
|
-
function
|
|
4282
|
+
function Vt(e, t, r) {
|
|
4334
4283
|
const n = e.slice();
|
|
4335
4284
|
return n[44] = t[r], n;
|
|
4336
4285
|
}
|
|
4337
|
-
const
|
|
4338
|
-
function
|
|
4286
|
+
const Ao = (e) => ({}), Xt = (e) => ({});
|
|
4287
|
+
function zt(e) {
|
|
4339
4288
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4340
|
-
e[6] &&
|
|
4289
|
+
e[6] && Zt(e), u = Be(
|
|
4341
4290
|
/*primaryMenuSpliced*/
|
|
4342
4291
|
e[7]
|
|
4343
4292
|
), h = [];
|
|
4344
4293
|
for (let f = 0; f < u.length; f += 1)
|
|
4345
|
-
h[f] =
|
|
4294
|
+
h[f] = qt(Wt(e, u, f));
|
|
4346
4295
|
let d = !/*navigationBarSimple*/
|
|
4347
|
-
e[6] &&
|
|
4296
|
+
e[6] && Kt(e);
|
|
4348
4297
|
return {
|
|
4349
4298
|
c() {
|
|
4350
|
-
t =
|
|
4299
|
+
t = I("div"), l && l.c(), r = G(), n = I("div");
|
|
4351
4300
|
for (let f = 0; f < h.length; f += 1)
|
|
4352
4301
|
h[f].c();
|
|
4353
|
-
i =
|
|
4302
|
+
i = G(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4354
4303
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4355
4304
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4356
4305
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4357
4306
|
(e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
|
|
4358
4307
|
},
|
|
4359
|
-
m(f,
|
|
4360
|
-
L(f, t,
|
|
4308
|
+
m(f, p) {
|
|
4309
|
+
L(f, t, p), l && l.m(t, null), y(t, r), y(t, n);
|
|
4361
4310
|
for (let g = 0; g < h.length; g += 1)
|
|
4362
4311
|
h[g] && h[g].m(n, null);
|
|
4363
4312
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4364
4313
|
},
|
|
4365
|
-
p(f,
|
|
4314
|
+
p(f, p) {
|
|
4366
4315
|
if (/*navigationBarSimple*/
|
|
4367
|
-
f[6] ? l && (
|
|
4316
|
+
f[6] ? l && (or(), me(l, 1, 1, () => {
|
|
4368
4317
|
l = null;
|
|
4369
|
-
}),
|
|
4370
|
-
64 &&
|
|
4318
|
+
}), ar()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4319
|
+
64 && X(l, 1)) : (l = Zt(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4371
4320
|
32928) {
|
|
4372
|
-
u =
|
|
4321
|
+
u = Be(
|
|
4373
4322
|
/*primaryMenuSpliced*/
|
|
4374
4323
|
f[7]
|
|
4375
4324
|
);
|
|
4376
4325
|
let g;
|
|
4377
4326
|
for (g = 0; g < u.length; g += 1) {
|
|
4378
|
-
const
|
|
4379
|
-
h[g] ? h[g].p(
|
|
4327
|
+
const b = Wt(f, u, g);
|
|
4328
|
+
h[g] ? h[g].p(b, p) : (h[g] = qt(b), h[g].c(), h[g].m(n, i));
|
|
4380
4329
|
}
|
|
4381
4330
|
for (; g < h.length; g += 1)
|
|
4382
4331
|
h[g].d(1);
|
|
4383
4332
|
h.length = u.length;
|
|
4384
4333
|
}
|
|
4385
4334
|
/*navigationBarSimple*/
|
|
4386
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f,
|
|
4335
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = Kt(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4387
4336
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4388
4337
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4389
|
-
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s ||
|
|
4338
|
+
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4390
4339
|
80 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4391
4340
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4392
4341
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
4393
4342
|
},
|
|
4394
4343
|
i(f) {
|
|
4395
|
-
s || (
|
|
4344
|
+
s || (X(l), s = !0);
|
|
4396
4345
|
},
|
|
4397
4346
|
o(f) {
|
|
4398
4347
|
me(l), s = !1;
|
|
4399
4348
|
},
|
|
4400
4349
|
d(f) {
|
|
4401
|
-
f && O(t), l && l.d(),
|
|
4350
|
+
f && O(t), l && l.d(), ir(h, f), d && d.d();
|
|
4402
4351
|
}
|
|
4403
4352
|
};
|
|
4404
4353
|
}
|
|
4405
|
-
function
|
|
4354
|
+
function Zt(e) {
|
|
4406
4355
|
let t, r, n, i, o = (
|
|
4407
4356
|
/*secondarymenutitle*/
|
|
4408
4357
|
(e[0] || /*$_*/
|
|
4409
4358
|
e[12]("secondaryMenuTitle")) + ""
|
|
4410
4359
|
), a, s, l, u, h, d, f;
|
|
4411
|
-
const
|
|
4360
|
+
const p = (
|
|
4412
4361
|
/*#slots*/
|
|
4413
4362
|
e[26].close
|
|
4414
|
-
), g =
|
|
4415
|
-
|
|
4363
|
+
), g = qr(
|
|
4364
|
+
p,
|
|
4416
4365
|
e,
|
|
4417
4366
|
/*$$scope*/
|
|
4418
4367
|
e[25],
|
|
4419
|
-
|
|
4420
|
-
),
|
|
4421
|
-
let
|
|
4368
|
+
Xt
|
|
4369
|
+
), b = g || Bo();
|
|
4370
|
+
let B = Be(
|
|
4422
4371
|
/*secondaryMenu*/
|
|
4423
4372
|
e[8]
|
|
4424
4373
|
), N = [];
|
|
4425
|
-
for (let
|
|
4426
|
-
N[
|
|
4374
|
+
for (let v = 0; v < B.length; v += 1)
|
|
4375
|
+
N[v] = Yt(Vt(e, B, v));
|
|
4427
4376
|
return {
|
|
4428
4377
|
c() {
|
|
4429
|
-
t =
|
|
4430
|
-
for (let
|
|
4431
|
-
N[
|
|
4378
|
+
t = I("div"), r = I("span"), b.c(), n = G(), i = I("h3"), a = be(o), s = G(), l = I("div");
|
|
4379
|
+
for (let v = 0; v < N.length; v += 1)
|
|
4380
|
+
N[v].c();
|
|
4432
4381
|
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4433
4382
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4434
4383
|
},
|
|
4435
|
-
m(
|
|
4436
|
-
L(
|
|
4384
|
+
m(v, A) {
|
|
4385
|
+
L(v, t, A), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4437
4386
|
for (let x = 0; x < N.length; x += 1)
|
|
4438
4387
|
N[x] && N[x].m(l, null);
|
|
4439
|
-
h = !0, d || (f =
|
|
4388
|
+
h = !0, d || (f = He(
|
|
4440
4389
|
r,
|
|
4441
4390
|
"click",
|
|
4442
4391
|
/*navigationWindowToggle*/
|
|
4443
4392
|
e[14]
|
|
4444
4393
|
), d = !0);
|
|
4445
4394
|
},
|
|
4446
|
-
p(
|
|
4447
|
-
if (g && g.p && (!h ||
|
|
4448
|
-
33554432) &&
|
|
4395
|
+
p(v, A) {
|
|
4396
|
+
if (g && g.p && (!h || A[0] & /*$$scope*/
|
|
4397
|
+
33554432) && en(
|
|
4449
4398
|
g,
|
|
4450
|
-
|
|
4451
|
-
|
|
4399
|
+
p,
|
|
4400
|
+
v,
|
|
4452
4401
|
/*$$scope*/
|
|
4453
|
-
|
|
4454
|
-
h ?
|
|
4455
|
-
|
|
4402
|
+
v[25],
|
|
4403
|
+
h ? Kr(
|
|
4404
|
+
p,
|
|
4456
4405
|
/*$$scope*/
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
) :
|
|
4406
|
+
v[25],
|
|
4407
|
+
A,
|
|
4408
|
+
Ao
|
|
4409
|
+
) : tn(
|
|
4461
4410
|
/*$$scope*/
|
|
4462
|
-
|
|
4411
|
+
v[25]
|
|
4463
4412
|
),
|
|
4464
|
-
|
|
4465
|
-
), (!h ||
|
|
4413
|
+
Xt
|
|
4414
|
+
), (!h || A[0] & /*secondarymenutitle, $_*/
|
|
4466
4415
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4467
|
-
(
|
|
4468
|
-
|
|
4416
|
+
(v[0] || /*$_*/
|
|
4417
|
+
v[12]("secondaryMenuTitle")) + "") && ht(a, o), A[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4469
4418
|
33056) {
|
|
4470
|
-
|
|
4419
|
+
B = Be(
|
|
4471
4420
|
/*secondaryMenu*/
|
|
4472
|
-
|
|
4421
|
+
v[8]
|
|
4473
4422
|
);
|
|
4474
4423
|
let x;
|
|
4475
|
-
for (x = 0; x <
|
|
4476
|
-
const C =
|
|
4477
|
-
N[x] ? N[x].p(C,
|
|
4424
|
+
for (x = 0; x < B.length; x += 1) {
|
|
4425
|
+
const C = Vt(v, B, x);
|
|
4426
|
+
N[x] ? N[x].p(C, A) : (N[x] = Yt(C), N[x].c(), N[x].m(l, null));
|
|
4478
4427
|
}
|
|
4479
4428
|
for (; x < N.length; x += 1)
|
|
4480
4429
|
N[x].d(1);
|
|
4481
|
-
N.length =
|
|
4430
|
+
N.length = B.length;
|
|
4482
4431
|
}
|
|
4483
|
-
(!h ||
|
|
4432
|
+
(!h || A[0] & /*navigationWindowOpened*/
|
|
4484
4433
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4485
|
-
(
|
|
4434
|
+
(v[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4486
4435
|
},
|
|
4487
|
-
i(
|
|
4488
|
-
h || (
|
|
4436
|
+
i(v) {
|
|
4437
|
+
h || (X(b, v), h = !0);
|
|
4489
4438
|
},
|
|
4490
|
-
o(
|
|
4491
|
-
me(
|
|
4439
|
+
o(v) {
|
|
4440
|
+
me(b, v), h = !1;
|
|
4492
4441
|
},
|
|
4493
|
-
d(
|
|
4494
|
-
|
|
4442
|
+
d(v) {
|
|
4443
|
+
v && O(t), b.d(v), ir(N, v), d = !1, f();
|
|
4495
4444
|
}
|
|
4496
4445
|
};
|
|
4497
4446
|
}
|
|
4498
|
-
function
|
|
4447
|
+
function Bo(e) {
|
|
4499
4448
|
let t, r;
|
|
4500
4449
|
return {
|
|
4501
4450
|
c() {
|
|
4502
|
-
t =
|
|
4451
|
+
t = H("svg"), r = H("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4503
4452
|
},
|
|
4504
4453
|
m(n, i) {
|
|
4505
4454
|
L(n, t, i), y(t, r);
|
|
4506
4455
|
},
|
|
4507
|
-
p:
|
|
4456
|
+
p: R,
|
|
4508
4457
|
d(n) {
|
|
4509
4458
|
n && O(t);
|
|
4510
4459
|
}
|
|
4511
4460
|
};
|
|
4512
4461
|
}
|
|
4513
|
-
function
|
|
4462
|
+
function Qt(e) {
|
|
4514
4463
|
let t, r, n, i;
|
|
4515
4464
|
return {
|
|
4516
4465
|
c() {
|
|
4517
|
-
t =
|
|
4466
|
+
t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4518
4467
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4519
4468
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4520
4469
|
},
|
|
@@ -4523,7 +4472,7 @@ function nr(e) {
|
|
|
4523
4472
|
},
|
|
4524
4473
|
p(o, a) {
|
|
4525
4474
|
a[0] & /*secondaryMenu*/
|
|
4526
|
-
256 && !
|
|
4475
|
+
256 && !te(r.src, n = /*item*/
|
|
4527
4476
|
o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4528
4477
|
256 && i !== (i = /*item*/
|
|
4529
4478
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4533,13 +4482,13 @@ function nr(e) {
|
|
|
4533
4482
|
}
|
|
4534
4483
|
};
|
|
4535
4484
|
}
|
|
4536
|
-
function
|
|
4485
|
+
function Yt(e) {
|
|
4537
4486
|
let t, r, n, i = (
|
|
4538
4487
|
/*item*/
|
|
4539
4488
|
e[44].label + ""
|
|
4540
4489
|
), o, a, s, l, u, h = (
|
|
4541
4490
|
/*item*/
|
|
4542
|
-
e[44].img &&
|
|
4491
|
+
e[44].img && Qt(e)
|
|
4543
4492
|
);
|
|
4544
4493
|
function d() {
|
|
4545
4494
|
return (
|
|
@@ -4552,18 +4501,18 @@ function ir(e) {
|
|
|
4552
4501
|
}
|
|
4553
4502
|
return {
|
|
4554
4503
|
c() {
|
|
4555
|
-
t =
|
|
4504
|
+
t = I("div"), h && h.c(), r = G(), n = I("p"), o = be(i), a = G(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4556
4505
|
(e[5] === /*item*/
|
|
4557
4506
|
e[44].id ? "ActiveItem" : ""));
|
|
4558
4507
|
},
|
|
4559
|
-
m(f,
|
|
4560
|
-
L(f, t,
|
|
4508
|
+
m(f, p) {
|
|
4509
|
+
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = He(t, "click", d), l = !0);
|
|
4561
4510
|
},
|
|
4562
|
-
p(f,
|
|
4511
|
+
p(f, p) {
|
|
4563
4512
|
e = f, /*item*/
|
|
4564
|
-
e[44].img ? h ? h.p(e,
|
|
4513
|
+
e[44].img ? h ? h.p(e, p) : (h = Qt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4565
4514
|
256 && i !== (i = /*item*/
|
|
4566
|
-
e[44].label + "") &&
|
|
4515
|
+
e[44].label + "") && ht(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4567
4516
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4568
4517
|
(e[5] === /*item*/
|
|
4569
4518
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4573,11 +4522,11 @@ function ir(e) {
|
|
|
4573
4522
|
}
|
|
4574
4523
|
};
|
|
4575
4524
|
}
|
|
4576
|
-
function
|
|
4525
|
+
function Jt(e) {
|
|
4577
4526
|
let t, r, n, i;
|
|
4578
4527
|
return {
|
|
4579
4528
|
c() {
|
|
4580
|
-
t =
|
|
4529
|
+
t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4581
4530
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4582
4531
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4583
4532
|
},
|
|
@@ -4586,7 +4535,7 @@ function or(e) {
|
|
|
4586
4535
|
},
|
|
4587
4536
|
p(o, a) {
|
|
4588
4537
|
a[0] & /*primaryMenuSpliced*/
|
|
4589
|
-
128 && !
|
|
4538
|
+
128 && !te(r.src, n = /*item*/
|
|
4590
4539
|
o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
|
|
4591
4540
|
128 && i !== (i = /*item*/
|
|
4592
4541
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4596,13 +4545,13 @@ function or(e) {
|
|
|
4596
4545
|
}
|
|
4597
4546
|
};
|
|
4598
4547
|
}
|
|
4599
|
-
function
|
|
4548
|
+
function qt(e) {
|
|
4600
4549
|
let t, r, n, i = (
|
|
4601
4550
|
/*item*/
|
|
4602
4551
|
e[44].label + ""
|
|
4603
4552
|
), o, a, s, l, u = (
|
|
4604
4553
|
/*item*/
|
|
4605
|
-
e[44].img &&
|
|
4554
|
+
e[44].img && Jt(e)
|
|
4606
4555
|
);
|
|
4607
4556
|
function h() {
|
|
4608
4557
|
return (
|
|
@@ -4615,19 +4564,19 @@ function ar(e) {
|
|
|
4615
4564
|
}
|
|
4616
4565
|
return {
|
|
4617
4566
|
c() {
|
|
4618
|
-
t =
|
|
4567
|
+
t = I("div"), u && u.c(), r = G(), n = I("p"), o = be(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4619
4568
|
e[46] + " " + /*activeMenuItemId*/
|
|
4620
4569
|
(e[5] === /*item*/
|
|
4621
4570
|
e[44].id ? "ActiveItem" : ""));
|
|
4622
4571
|
},
|
|
4623
4572
|
m(d, f) {
|
|
4624
|
-
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4573
|
+
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = He(t, "click", h), s = !0);
|
|
4625
4574
|
},
|
|
4626
4575
|
p(d, f) {
|
|
4627
4576
|
e = d, /*item*/
|
|
4628
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4577
|
+
e[44].img ? u ? u.p(e, f) : (u = Jt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4629
4578
|
128 && i !== (i = /*item*/
|
|
4630
|
-
e[44].label + "") &&
|
|
4579
|
+
e[44].label + "") && ht(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4631
4580
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4632
4581
|
e[46] + " " + /*activeMenuItemId*/
|
|
4633
4582
|
(e[5] === /*item*/
|
|
@@ -4638,22 +4587,22 @@ function ar(e) {
|
|
|
4638
4587
|
}
|
|
4639
4588
|
};
|
|
4640
4589
|
}
|
|
4641
|
-
function
|
|
4590
|
+
function Kt(e) {
|
|
4642
4591
|
let t, r, n, i, o;
|
|
4643
4592
|
function a(u, h) {
|
|
4644
4593
|
return (
|
|
4645
4594
|
/*isFlowerMenu*/
|
|
4646
|
-
u[11] ?
|
|
4595
|
+
u[11] ? To : Po
|
|
4647
4596
|
);
|
|
4648
4597
|
}
|
|
4649
4598
|
let s = a(e), l = s(e);
|
|
4650
4599
|
return {
|
|
4651
4600
|
c() {
|
|
4652
|
-
t =
|
|
4601
|
+
t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4653
4602
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4654
4603
|
},
|
|
4655
4604
|
m(u, h) {
|
|
4656
|
-
L(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4605
|
+
L(u, t, h), y(t, r), l.m(r, null), i || (o = He(
|
|
4657
4606
|
t,
|
|
4658
4607
|
"click",
|
|
4659
4608
|
/*navigationWindowToggle*/
|
|
@@ -4670,11 +4619,11 @@ function sr(e) {
|
|
|
4670
4619
|
}
|
|
4671
4620
|
};
|
|
4672
4621
|
}
|
|
4673
|
-
function
|
|
4622
|
+
function To(e) {
|
|
4674
4623
|
let t, r, n, i, o, a, s;
|
|
4675
4624
|
return {
|
|
4676
4625
|
c() {
|
|
4677
|
-
t =
|
|
4626
|
+
t = I("div"), r = I("span"), n = G(), i = I("span"), o = G(), a = I("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4678
4627
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4679
4628
|
},
|
|
4680
4629
|
m(l, u) {
|
|
@@ -4690,18 +4639,18 @@ function ko(e) {
|
|
|
4690
4639
|
}
|
|
4691
4640
|
};
|
|
4692
4641
|
}
|
|
4693
|
-
function
|
|
4642
|
+
function Po(e) {
|
|
4694
4643
|
let t;
|
|
4695
4644
|
function r(o, a) {
|
|
4696
4645
|
return (
|
|
4697
4646
|
/*imageIconUrl*/
|
|
4698
|
-
o[9] ?
|
|
4647
|
+
o[9] ? Mo : Ho
|
|
4699
4648
|
);
|
|
4700
4649
|
}
|
|
4701
4650
|
let n = r(e), i = n(e);
|
|
4702
4651
|
return {
|
|
4703
4652
|
c() {
|
|
4704
|
-
i.c(), t =
|
|
4653
|
+
i.c(), t = an();
|
|
4705
4654
|
},
|
|
4706
4655
|
m(o, a) {
|
|
4707
4656
|
i.m(o, a), L(o, t, a);
|
|
@@ -4714,26 +4663,26 @@ function jo(e) {
|
|
|
4714
4663
|
}
|
|
4715
4664
|
};
|
|
4716
4665
|
}
|
|
4717
|
-
function
|
|
4718
|
-
let t, r, n, i, o, a, s, l, u, h, d, f,
|
|
4666
|
+
function Ho(e) {
|
|
4667
|
+
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4719
4668
|
return {
|
|
4720
4669
|
c() {
|
|
4721
|
-
t =
|
|
4670
|
+
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), u = H("g"), h = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4722
4671
|
},
|
|
4723
|
-
m(
|
|
4724
|
-
L(
|
|
4672
|
+
m(b, B) {
|
|
4673
|
+
L(b, t, B), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
4725
4674
|
},
|
|
4726
|
-
p:
|
|
4727
|
-
d(
|
|
4728
|
-
|
|
4675
|
+
p: R,
|
|
4676
|
+
d(b) {
|
|
4677
|
+
b && O(t);
|
|
4729
4678
|
}
|
|
4730
4679
|
};
|
|
4731
4680
|
}
|
|
4732
|
-
function
|
|
4681
|
+
function Mo(e) {
|
|
4733
4682
|
let t, r;
|
|
4734
4683
|
return {
|
|
4735
4684
|
c() {
|
|
4736
|
-
t =
|
|
4685
|
+
t = I("img"), te(t.src, r = /*imageIconUrl*/
|
|
4737
4686
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4738
4687
|
t,
|
|
4739
4688
|
"alt",
|
|
@@ -4746,7 +4695,7 @@ function Vo(e) {
|
|
|
4746
4695
|
},
|
|
4747
4696
|
p(n, i) {
|
|
4748
4697
|
i[0] & /*imageIconUrl*/
|
|
4749
|
-
512 && !
|
|
4698
|
+
512 && !te(t.src, r = /*imageIconUrl*/
|
|
4750
4699
|
n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4751
4700
|
512 && c(
|
|
4752
4701
|
t,
|
|
@@ -4760,14 +4709,14 @@ function Vo(e) {
|
|
|
4760
4709
|
}
|
|
4761
4710
|
};
|
|
4762
4711
|
}
|
|
4763
|
-
function
|
|
4712
|
+
function Oo(e) {
|
|
4764
4713
|
let t, r, n, i = !/*isLoading*/
|
|
4765
4714
|
e[1] && /*isMobile*/
|
|
4766
4715
|
e[13] && /*showNavigation*/
|
|
4767
|
-
e[3] &&
|
|
4716
|
+
e[3] && zt(e);
|
|
4768
4717
|
return {
|
|
4769
4718
|
c() {
|
|
4770
|
-
t =
|
|
4719
|
+
t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4771
4720
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4772
4721
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4773
4722
|
},
|
|
@@ -4779,15 +4728,15 @@ function Xo(e) {
|
|
|
4779
4728
|
o[1] && /*isMobile*/
|
|
4780
4729
|
o[13] && /*showNavigation*/
|
|
4781
4730
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4782
|
-
10 &&
|
|
4731
|
+
10 && X(i, 1)) : (i = zt(o), i.c(), X(i, 1), i.m(t, null)) : i && (or(), me(i, 1, 1, () => {
|
|
4783
4732
|
i = null;
|
|
4784
|
-
}),
|
|
4733
|
+
}), ar()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4785
4734
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4786
4735
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4787
4736
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
4788
4737
|
},
|
|
4789
4738
|
i(o) {
|
|
4790
|
-
n || (
|
|
4739
|
+
n || (X(i), n = !0);
|
|
4791
4740
|
},
|
|
4792
4741
|
o(o) {
|
|
4793
4742
|
me(i), n = !1;
|
|
@@ -4797,25 +4746,25 @@ function Xo(e) {
|
|
|
4797
4746
|
}
|
|
4798
4747
|
};
|
|
4799
4748
|
}
|
|
4800
|
-
function
|
|
4749
|
+
function Lo(e, t, r) {
|
|
4801
4750
|
let n;
|
|
4802
|
-
|
|
4803
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl:
|
|
4804
|
-
const
|
|
4805
|
-
fetch(
|
|
4806
|
-
Object.keys(
|
|
4807
|
-
|
|
4751
|
+
Jr(e, No, (m) => r(12, n = m));
|
|
4752
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: b = "false" } = t, B = window.navigator.userAgent, N = $t(B) !== "PC", v = !0, A = !1, x = !1, C = "", k = !1, Q = [], ye = [], j = [], W, mt = "", Re = {}, pt, Ue = !1;
|
|
4753
|
+
const Ur = () => {
|
|
4754
|
+
fetch(p).then((T) => T.json()).then((T) => {
|
|
4755
|
+
Object.keys(T).forEach((P) => {
|
|
4756
|
+
kt(P, T[P]);
|
|
4808
4757
|
});
|
|
4809
|
-
}).catch((
|
|
4810
|
-
console.log(
|
|
4758
|
+
}).catch((T) => {
|
|
4759
|
+
console.log(T);
|
|
4811
4760
|
});
|
|
4812
4761
|
};
|
|
4813
|
-
Object.keys(
|
|
4814
|
-
|
|
4762
|
+
Object.keys(jt).forEach((m) => {
|
|
4763
|
+
kt(m, jt[m]);
|
|
4815
4764
|
});
|
|
4816
|
-
const
|
|
4817
|
-
if (
|
|
4818
|
-
switch (
|
|
4765
|
+
const gt = (m) => {
|
|
4766
|
+
if (m.data)
|
|
4767
|
+
switch (m.data.type) {
|
|
4819
4768
|
case "PlayerAccountMenuActive":
|
|
4820
4769
|
r(4, x = !1);
|
|
4821
4770
|
break;
|
|
@@ -4826,9 +4775,9 @@ function zo(e, t, r) {
|
|
|
4826
4775
|
r(4, x = !1);
|
|
4827
4776
|
break;
|
|
4828
4777
|
}
|
|
4829
|
-
},
|
|
4830
|
-
r(11,
|
|
4831
|
-
},
|
|
4778
|
+
}, Dr = () => {
|
|
4779
|
+
r(11, Ue = b.toLowerCase() === "true");
|
|
4780
|
+
}, Gr = () => {
|
|
4832
4781
|
r(4, x = !x), window.postMessage(
|
|
4833
4782
|
{
|
|
4834
4783
|
type: "MobileBottomNav",
|
|
@@ -4836,127 +4785,125 @@ function zo(e, t, r) {
|
|
|
4836
4785
|
},
|
|
4837
4786
|
window.location.href
|
|
4838
4787
|
);
|
|
4839
|
-
},
|
|
4840
|
-
r(7,
|
|
4841
|
-
},
|
|
4842
|
-
|
|
4843
|
-
let
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
}), r(6,
|
|
4848
|
-
}).catch((
|
|
4849
|
-
r(1,
|
|
4788
|
+
}, $r = (m) => {
|
|
4789
|
+
r(7, ye = []), r(7, ye = k ? m.splice(0, 5) : m.splice(0, 4)), g && bt();
|
|
4790
|
+
}, kr = () => {
|
|
4791
|
+
De(), r(1, v = !0);
|
|
4792
|
+
let m = $t(B), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4793
|
+
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
|
|
4794
|
+
Q = [], r(8, j = []), r(3, A = P.length > 0), P.forEach((U) => {
|
|
4795
|
+
Re[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, mt = U?.img), r(8, j = U.children)) : Q.push(U);
|
|
4796
|
+
}), r(6, k = j.length == 0), j.length >= 5 && Ue && r(8, j = j.splice(0, 5)), $r(Q), r(1, v = !1);
|
|
4797
|
+
}).catch((P) => {
|
|
4798
|
+
r(1, v = !1), console.error(P);
|
|
4850
4799
|
});
|
|
4851
|
-
},
|
|
4852
|
-
const
|
|
4853
|
-
|
|
4854
|
-
},
|
|
4855
|
-
|
|
4800
|
+
}, bt = () => {
|
|
4801
|
+
const T = ye.concat(j).find((P) => P.path.includes(g));
|
|
4802
|
+
T && r(5, C = T.id);
|
|
4803
|
+
}, he = (m, T, P, U) => {
|
|
4804
|
+
Re[U] ? window.postMessage(
|
|
4856
4805
|
{
|
|
4857
4806
|
type: "MobileBottomNavigationEvent",
|
|
4858
|
-
event:
|
|
4807
|
+
event: Re[U]
|
|
4859
4808
|
},
|
|
4860
4809
|
window.location.href
|
|
4861
4810
|
) : window.postMessage(
|
|
4862
4811
|
{
|
|
4863
4812
|
type: "NavigateTo",
|
|
4864
|
-
path:
|
|
4865
|
-
target:
|
|
4866
|
-
externalLink:
|
|
4813
|
+
path: m,
|
|
4814
|
+
target: T || null,
|
|
4815
|
+
externalLink: P || !1
|
|
4867
4816
|
},
|
|
4868
4817
|
window.location.href
|
|
4869
4818
|
), r(4, x = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4870
4819
|
context: "MobileBottomNavigation",
|
|
4871
|
-
menuItem: `${
|
|
4820
|
+
menuItem: `${m}`
|
|
4872
4821
|
});
|
|
4873
|
-
},
|
|
4874
|
-
let
|
|
4875
|
-
d &&
|
|
4876
|
-
},
|
|
4877
|
-
let
|
|
4878
|
-
fetch(
|
|
4879
|
-
|
|
4822
|
+
}, jr = () => {
|
|
4823
|
+
let m = document.createElement("style");
|
|
4824
|
+
d && W && (m.innerHTML = d, W.appendChild(m));
|
|
4825
|
+
}, Wr = () => {
|
|
4826
|
+
let m = new URL(f), T = document.createElement("style");
|
|
4827
|
+
fetch(m.href).then((P) => P.text()).then((P) => {
|
|
4828
|
+
T.innerHTML = P, setTimeout(
|
|
4880
4829
|
() => {
|
|
4881
|
-
|
|
4830
|
+
W.appendChild(T);
|
|
4882
4831
|
},
|
|
4883
4832
|
1
|
|
4884
4833
|
);
|
|
4885
4834
|
});
|
|
4886
|
-
},
|
|
4887
|
-
|
|
4888
|
-
},
|
|
4889
|
-
r(10,
|
|
4890
|
-
},
|
|
4835
|
+
}, Vr = () => {
|
|
4836
|
+
So(s);
|
|
4837
|
+
}, De = () => {
|
|
4838
|
+
r(10, pt = N && window.innerHeight / window.innerWidth < 1);
|
|
4839
|
+
}, vt = () => {
|
|
4891
4840
|
x && r(4, x = !1);
|
|
4892
4841
|
};
|
|
4893
|
-
|
|
4894
|
-
window.removeEventListener("message",
|
|
4842
|
+
hn(() => (window.addEventListener("message", gt, !1), document.addEventListener("focusin", vt), N && window.screen.orientation.addEventListener("change", De), () => {
|
|
4843
|
+
window.removeEventListener("message", gt), document.removeEventListener("focusin", vt), N && window.screen.orientation.removeEventListener("change", De);
|
|
4895
4844
|
}));
|
|
4896
|
-
const
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
var S, B;
|
|
4901
|
-
(S = p.attrs) != null && S.target ? ce(p.path, (B = p.attrs) == null ? void 0 : B.target, p == null ? void 0 : p.externalLink, p.label) : ce(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4845
|
+
const Xr = (m) => {
|
|
4846
|
+
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4847
|
+
}, zr = (m) => {
|
|
4848
|
+
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4902
4849
|
};
|
|
4903
|
-
function
|
|
4904
|
-
|
|
4905
|
-
|
|
4850
|
+
function Zr(m) {
|
|
4851
|
+
ze[m ? "unshift" : "push"](() => {
|
|
4852
|
+
W = m, r(2, W);
|
|
4906
4853
|
});
|
|
4907
4854
|
}
|
|
4908
|
-
return e.$$set = (
|
|
4909
|
-
"cmsendpoint" in
|
|
4855
|
+
return e.$$set = (m) => {
|
|
4856
|
+
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "clientstyling" in m && r(20, d = m.clientstyling), "clientstylingurl" in m && r(21, f = m.clientstylingurl), "translationurl" in m && r(22, p = m.translationurl), "activecategory" in m && r(23, g = m.activecategory), "flowermenustyle" in m && r(24, b = m.flowermenustyle), "$$scope" in m && r(25, o = m.$$scope);
|
|
4910
4857
|
}, e.$$.update = () => {
|
|
4911
4858
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4912
|
-
16777216 &&
|
|
4913
|
-
8388610 && g && !
|
|
4914
|
-
131072 && s &&
|
|
4915
|
-
983040 && a && s && l && h &&
|
|
4916
|
-
1048580 && d &&
|
|
4917
|
-
2097156 && f &&
|
|
4918
|
-
4194304 &&
|
|
4859
|
+
16777216 && b && Dr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4860
|
+
8388610 && g && !v && bt(), e.$$.dirty[0] & /*lang*/
|
|
4861
|
+
131072 && s && Vr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4862
|
+
983040 && a && s && l && h && kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4863
|
+
1048580 && d && W && jr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4864
|
+
2097156 && f && W && Wr(), e.$$.dirty[0] & /*translationurl*/
|
|
4865
|
+
4194304 && p && Ur();
|
|
4919
4866
|
}, [
|
|
4920
4867
|
u,
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4868
|
+
v,
|
|
4869
|
+
W,
|
|
4870
|
+
A,
|
|
4924
4871
|
x,
|
|
4925
4872
|
C,
|
|
4873
|
+
k,
|
|
4874
|
+
ye,
|
|
4926
4875
|
j,
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
yt,
|
|
4931
|
-
De,
|
|
4876
|
+
mt,
|
|
4877
|
+
pt,
|
|
4878
|
+
Ue,
|
|
4932
4879
|
n,
|
|
4933
4880
|
N,
|
|
4934
|
-
|
|
4935
|
-
|
|
4881
|
+
Gr,
|
|
4882
|
+
he,
|
|
4936
4883
|
a,
|
|
4937
4884
|
s,
|
|
4938
4885
|
l,
|
|
4939
4886
|
h,
|
|
4940
4887
|
d,
|
|
4941
4888
|
f,
|
|
4942
|
-
|
|
4889
|
+
p,
|
|
4943
4890
|
g,
|
|
4944
|
-
|
|
4891
|
+
b,
|
|
4945
4892
|
o,
|
|
4946
4893
|
i,
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4894
|
+
Xr,
|
|
4895
|
+
zr,
|
|
4896
|
+
Zr
|
|
4950
4897
|
];
|
|
4951
4898
|
}
|
|
4952
|
-
class
|
|
4899
|
+
class Co extends _n {
|
|
4953
4900
|
constructor(t) {
|
|
4954
|
-
super(),
|
|
4901
|
+
super(), vn(
|
|
4955
4902
|
this,
|
|
4956
4903
|
t,
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4904
|
+
Lo,
|
|
4905
|
+
Oo,
|
|
4906
|
+
tr,
|
|
4960
4907
|
{
|
|
4961
4908
|
cmsendpoint: 16,
|
|
4962
4909
|
lang: 17,
|
|
@@ -4969,7 +4916,7 @@ class Zo extends Ln {
|
|
|
4969
4916
|
activecategory: 23,
|
|
4970
4917
|
flowermenustyle: 24
|
|
4971
4918
|
},
|
|
4972
|
-
|
|
4919
|
+
Io,
|
|
4973
4920
|
[-1, -1]
|
|
4974
4921
|
);
|
|
4975
4922
|
}
|
|
@@ -4977,64 +4924,64 @@ class Zo extends Ln {
|
|
|
4977
4924
|
return this.$$.ctx[16];
|
|
4978
4925
|
}
|
|
4979
4926
|
set cmsendpoint(t) {
|
|
4980
|
-
this.$$set({ cmsendpoint: t }),
|
|
4927
|
+
this.$$set({ cmsendpoint: t }), F();
|
|
4981
4928
|
}
|
|
4982
4929
|
get lang() {
|
|
4983
4930
|
return this.$$.ctx[17];
|
|
4984
4931
|
}
|
|
4985
4932
|
set lang(t) {
|
|
4986
|
-
this.$$set({ lang: t }),
|
|
4933
|
+
this.$$set({ lang: t }), F();
|
|
4987
4934
|
}
|
|
4988
4935
|
get env() {
|
|
4989
4936
|
return this.$$.ctx[18];
|
|
4990
4937
|
}
|
|
4991
4938
|
set env(t) {
|
|
4992
|
-
this.$$set({ env: t }),
|
|
4939
|
+
this.$$set({ env: t }), F();
|
|
4993
4940
|
}
|
|
4994
4941
|
get secondarymenutitle() {
|
|
4995
4942
|
return this.$$.ctx[0];
|
|
4996
4943
|
}
|
|
4997
4944
|
set secondarymenutitle(t) {
|
|
4998
|
-
this.$$set({ secondarymenutitle: t }),
|
|
4945
|
+
this.$$set({ secondarymenutitle: t }), F();
|
|
4999
4946
|
}
|
|
5000
4947
|
get userroles() {
|
|
5001
4948
|
return this.$$.ctx[19];
|
|
5002
4949
|
}
|
|
5003
4950
|
set userroles(t) {
|
|
5004
|
-
this.$$set({ userroles: t }),
|
|
4951
|
+
this.$$set({ userroles: t }), F();
|
|
5005
4952
|
}
|
|
5006
4953
|
get clientstyling() {
|
|
5007
4954
|
return this.$$.ctx[20];
|
|
5008
4955
|
}
|
|
5009
4956
|
set clientstyling(t) {
|
|
5010
|
-
this.$$set({ clientstyling: t }),
|
|
4957
|
+
this.$$set({ clientstyling: t }), F();
|
|
5011
4958
|
}
|
|
5012
4959
|
get clientstylingurl() {
|
|
5013
4960
|
return this.$$.ctx[21];
|
|
5014
4961
|
}
|
|
5015
4962
|
set clientstylingurl(t) {
|
|
5016
|
-
this.$$set({ clientstylingurl: t }),
|
|
4963
|
+
this.$$set({ clientstylingurl: t }), F();
|
|
5017
4964
|
}
|
|
5018
4965
|
get translationurl() {
|
|
5019
4966
|
return this.$$.ctx[22];
|
|
5020
4967
|
}
|
|
5021
4968
|
set translationurl(t) {
|
|
5022
|
-
this.$$set({ translationurl: t }),
|
|
4969
|
+
this.$$set({ translationurl: t }), F();
|
|
5023
4970
|
}
|
|
5024
4971
|
get activecategory() {
|
|
5025
4972
|
return this.$$.ctx[23];
|
|
5026
4973
|
}
|
|
5027
4974
|
set activecategory(t) {
|
|
5028
|
-
this.$$set({ activecategory: t }),
|
|
4975
|
+
this.$$set({ activecategory: t }), F();
|
|
5029
4976
|
}
|
|
5030
4977
|
get flowermenustyle() {
|
|
5031
4978
|
return this.$$.ctx[24];
|
|
5032
4979
|
}
|
|
5033
4980
|
set flowermenustyle(t) {
|
|
5034
|
-
this.$$set({ flowermenustyle: t }),
|
|
4981
|
+
this.$$set({ flowermenustyle: t }), F();
|
|
5035
4982
|
}
|
|
5036
4983
|
}
|
|
5037
|
-
|
|
4984
|
+
yn(Co, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5038
4985
|
export {
|
|
5039
|
-
|
|
4986
|
+
Co as G
|
|
5040
4987
|
};
|