@everymatrix/general-navigation-bar 1.77.20 → 1.77.21
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-DFRl2IMK.js → GeneralNavigationBar-Bd_ofslD.js} +831 -788
- package/components/{GeneralNavigationBar-D5vHngYX.js → GeneralNavigationBar-CiXvn55V.js} +885 -842
- package/components/GeneralNavigationBar-Dv9WpScr.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-D3MkYt5z.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var on = Object.defineProperty, an = Object.defineProperties;
|
|
2
|
+
var sn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var It = Object.getOwnPropertySymbols;
|
|
4
|
+
var ln = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var We = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ln.call(t, r) && We(e, r, t[r]);
|
|
8
|
+
if (It)
|
|
9
|
+
for (var r of It(t))
|
|
10
|
+
un.call(t, r) && We(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var U = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, At = (e, t) => an(e, sn(t));
|
|
13
|
+
var U = (e, t, r) => (We(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,7 +29,7 @@ var Nt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function hn(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,29 +37,29 @@ function on(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function cr(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Pt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function ae(e) {
|
|
47
|
+
e.forEach(cr);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function vt(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function fr(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
55
|
let xe;
|
|
56
|
-
function
|
|
56
|
+
function te(e, t) {
|
|
57
57
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function cn(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function dr(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
@@ -68,19 +68,19 @@ function lr(e, ...t) {
|
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function fn(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(dr(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function dn(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = pr(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function pr(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function pn(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function un(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function mn(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = pr(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function gn(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -113,14 +113,14 @@ function cn(e) {
|
|
|
113
113
|
function y(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function vn(e, t, r) {
|
|
117
|
+
const n = bn(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
|
-
const i =
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
119
|
+
const i = I("style");
|
|
120
|
+
i.id = t, i.textContent = r, yn(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function bn(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,7 +130,7 @@ function dn(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function yn(e, t) {
|
|
134
134
|
return y(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
@@ -143,39 +143,39 @@ function C(e, t, r) {
|
|
|
143
143
|
function L(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function mr(e, t) {
|
|
147
147
|
for (let r = 0; r < e.length; r += 1)
|
|
148
148
|
e[r] && e[r].d(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function I(e) {
|
|
151
151
|
return document.createElement(e);
|
|
152
152
|
}
|
|
153
153
|
function M(e) {
|
|
154
154
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ve(e) {
|
|
157
157
|
return document.createTextNode(e);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
return
|
|
159
|
+
function j() {
|
|
160
|
+
return ve(" ");
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
return
|
|
162
|
+
function _n() {
|
|
163
|
+
return ve("");
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Oe(e, t, r, n) {
|
|
166
166
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
167
167
|
}
|
|
168
168
|
function c(e, t, r) {
|
|
169
169
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function xn(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function bt(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function wn(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -184,69 +184,69 @@ function vn(e) {
|
|
|
184
184
|
}
|
|
185
185
|
), t;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
let de;
|
|
188
|
+
function fe(e) {
|
|
189
|
+
de = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
191
|
+
function En() {
|
|
192
|
+
if (!de)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
194
|
+
return de;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function Nn(e) {
|
|
197
|
+
En().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
|
-
const K = [],
|
|
199
|
+
const K = [], Ke = [];
|
|
200
200
|
let ee = [];
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
201
|
+
const Ht = [], Sn = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let et = !1;
|
|
203
|
+
function In() {
|
|
204
|
+
et || (et = !0, Sn.then(F));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function tt(e) {
|
|
207
207
|
ee.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const Ve = /* @__PURE__ */ new Set();
|
|
210
210
|
let J = 0;
|
|
211
211
|
function F() {
|
|
212
212
|
if (J !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = de;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; J < K.length; ) {
|
|
218
218
|
const t = K[J];
|
|
219
|
-
J++,
|
|
219
|
+
J++, fe(t), Bn(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, J = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
225
|
-
|
|
224
|
+
for (fe(null), K.length = 0, J = 0; Ke.length; )
|
|
225
|
+
Ke.pop()();
|
|
226
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
227
227
|
const r = ee[t];
|
|
228
|
-
|
|
228
|
+
Ve.has(r) || (Ve.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
ee.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; Ht.length; )
|
|
233
|
+
Ht.pop()();
|
|
234
|
+
et = !1, Ve.clear(), fe(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Bn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
|
-
e.update(),
|
|
238
|
+
e.update(), ae(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function An(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
246
246
|
}
|
|
247
247
|
const Ne = /* @__PURE__ */ new Set();
|
|
248
248
|
let Z;
|
|
249
|
-
function
|
|
249
|
+
function gr() {
|
|
250
250
|
Z = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,8 +254,8 @@ function cr() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
Z.r ||
|
|
257
|
+
function vr() {
|
|
258
|
+
Z.r || ae(Z.c), Z = Z.p;
|
|
259
259
|
}
|
|
260
260
|
function z(e, t) {
|
|
261
261
|
e && e.i && (Ne.delete(e), e.i(t));
|
|
@@ -273,23 +273,23 @@ function pe(e, t, r, n) {
|
|
|
273
273
|
function Te(e) {
|
|
274
274
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Tn(e, t, r) {
|
|
277
277
|
const { fragment: n, after_update: i } = e.$$;
|
|
278
|
-
n && n.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
280
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
281
|
-
}), i.forEach(
|
|
278
|
+
n && n.m(t, r), tt(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(cr).filter(vt);
|
|
280
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
281
|
+
}), i.forEach(tt);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Pn(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (An(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
287
|
+
function Hn(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const l =
|
|
292
|
-
|
|
290
|
+
function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
291
|
+
const l = de;
|
|
292
|
+
fe(e);
|
|
293
293
|
const u = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
@@ -297,7 +297,7 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
297
297
|
props: o,
|
|
298
298
|
update: D,
|
|
299
299
|
not_equal: i,
|
|
300
|
-
bound:
|
|
300
|
+
bound: Pt(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,28 +306,28 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: Pt(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || l.$$.root
|
|
313
313
|
};
|
|
314
314
|
a && a(u.root);
|
|
315
315
|
let h = !1;
|
|
316
|
-
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...
|
|
317
|
-
const g =
|
|
318
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
319
|
-
}) : [], u.update(), h = !0,
|
|
316
|
+
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...m) => {
|
|
317
|
+
const g = m.length ? m[0] : f;
|
|
318
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Hn(e, d)), f;
|
|
319
|
+
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const d =
|
|
321
|
+
const d = xn(t.target);
|
|
322
322
|
u.fragment && u.fragment.l(d), d.forEach(L);
|
|
323
323
|
} else
|
|
324
324
|
u.fragment && u.fragment.c();
|
|
325
|
-
t.intro && z(e.$$.fragment),
|
|
325
|
+
t.intro && z(e.$$.fragment), Tn(e, t.target, t.anchor), F();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
fe(l);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let br;
|
|
330
|
+
typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
331
331
|
constructor(t, r, n) {
|
|
332
332
|
super();
|
|
333
333
|
/** The Svelte component constructor */
|
|
@@ -364,14 +364,14 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
connectedCallback() {
|
|
367
|
-
return
|
|
367
|
+
return Tt(this, null, function* () {
|
|
368
368
|
if (this.$$cn = !0, !this.$$c) {
|
|
369
369
|
let t = function(o) {
|
|
370
370
|
return () => {
|
|
371
371
|
let a;
|
|
372
372
|
return {
|
|
373
373
|
c: function() {
|
|
374
|
-
a =
|
|
374
|
+
a = I("slot"), o !== "default" && c(a, "name", o);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
377
|
* @param {HTMLElement} target
|
|
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
388
388
|
};
|
|
389
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = wn(this);
|
|
392
392
|
for (const o of this.$$s)
|
|
393
393
|
o in n && (r[o] = [t(o)]);
|
|
394
394
|
for (const o of this.attributes) {
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
399
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
|
-
props:
|
|
402
|
+
props: At(Bt({}, this.$$d), {
|
|
403
403
|
$$slots: r,
|
|
404
404
|
$$scope: {
|
|
405
405
|
ctx: []
|
|
@@ -477,8 +477,8 @@ function Se(e, t, r, n) {
|
|
|
477
477
|
return t;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
let a = class extends
|
|
480
|
+
function On(e, t, r, n, i, o) {
|
|
481
|
+
let a = class extends br {
|
|
482
482
|
constructor() {
|
|
483
483
|
super(e, r, i), this.$$p_d = t;
|
|
484
484
|
}
|
|
@@ -508,7 +508,7 @@ function An(e, t, r, n, i, o) {
|
|
|
508
508
|
}), e.element = /** @type {any} */
|
|
509
509
|
a, a;
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class Ln {
|
|
512
512
|
constructor() {
|
|
513
513
|
/**
|
|
514
514
|
* ### PRIVATE API
|
|
@@ -529,7 +529,7 @@ class Tn {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
|
|
532
|
+
Pn(this, 1), this.$destroy = D;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -538,7 +538,7 @@ class Tn {
|
|
|
538
538
|
* @returns {() => void}
|
|
539
539
|
*/
|
|
540
540
|
$on(t, r) {
|
|
541
|
-
if (!
|
|
541
|
+
if (!vt(r))
|
|
542
542
|
return D;
|
|
543
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
544
|
return n.push(r), () => {
|
|
@@ -551,11 +551,11 @@ class Tn {
|
|
|
551
551
|
* @returns {void}
|
|
552
552
|
*/
|
|
553
553
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
557
|
+
const Cn = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
|
|
559
559
|
/*! *****************************************************************************
|
|
560
560
|
Copyright (c) Microsoft Corporation.
|
|
561
561
|
|
|
@@ -570,43 +570,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
570
570
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
571
|
PERFORMANCE OF THIS SOFTWARE.
|
|
572
572
|
***************************************************************************** */
|
|
573
|
-
var
|
|
574
|
-
return
|
|
573
|
+
var rt = function(e, t) {
|
|
574
|
+
return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
575
575
|
r.__proto__ = n;
|
|
576
576
|
} || function(r, n) {
|
|
577
577
|
for (var i in n)
|
|
578
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
-
},
|
|
579
|
+
}, rt(e, t);
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function be(e, t) {
|
|
582
582
|
if (typeof t != "function" && t !== null)
|
|
583
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
|
-
|
|
584
|
+
rt(e, t);
|
|
585
585
|
function r() {
|
|
586
586
|
this.constructor = e;
|
|
587
587
|
}
|
|
588
588
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
589
589
|
}
|
|
590
|
-
|
|
591
|
-
return w = Object.assign || function(t) {
|
|
592
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
593
|
-
r = arguments[n];
|
|
594
|
-
for (var o in r)
|
|
595
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
596
|
-
}
|
|
597
|
-
return t;
|
|
598
|
-
}, w.apply(this, arguments);
|
|
599
|
-
};
|
|
600
|
-
function Hn(e, t) {
|
|
601
|
-
var r = {};
|
|
602
|
-
for (var n in e)
|
|
603
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
604
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
605
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
606
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
607
|
-
return r;
|
|
608
|
-
}
|
|
609
|
-
function et(e) {
|
|
590
|
+
function nt(e) {
|
|
610
591
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
611
592
|
if (r)
|
|
612
593
|
return r.call(e);
|
|
@@ -618,7 +599,7 @@ function et(e) {
|
|
|
618
599
|
};
|
|
619
600
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
620
601
|
}
|
|
621
|
-
function
|
|
602
|
+
function it(e, t) {
|
|
622
603
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
623
604
|
if (!r)
|
|
624
605
|
return e;
|
|
@@ -638,22 +619,22 @@ function tt(e, t) {
|
|
|
638
619
|
}
|
|
639
620
|
return o;
|
|
640
621
|
}
|
|
641
|
-
function
|
|
642
|
-
if (
|
|
622
|
+
function ot(e, t, r) {
|
|
623
|
+
if (arguments.length === 2)
|
|
643
624
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
644
625
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
645
626
|
return e.concat(o || t);
|
|
646
627
|
}
|
|
647
|
-
function
|
|
628
|
+
function k(e) {
|
|
648
629
|
return typeof e == "function";
|
|
649
630
|
}
|
|
650
|
-
function
|
|
631
|
+
function yr(e) {
|
|
651
632
|
var t = function(n) {
|
|
652
633
|
Error.call(n), n.stack = new Error().stack;
|
|
653
634
|
}, r = e(t);
|
|
654
635
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
655
636
|
}
|
|
656
|
-
var
|
|
637
|
+
var Xe = yr(function(e) {
|
|
657
638
|
return function(r) {
|
|
658
639
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
659
640
|
` + r.map(function(n, i) {
|
|
@@ -662,13 +643,13 @@ var We = mr(function(e) {
|
|
|
662
643
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
663
644
|
};
|
|
664
645
|
});
|
|
665
|
-
function
|
|
646
|
+
function at(e, t) {
|
|
666
647
|
if (e) {
|
|
667
648
|
var r = e.indexOf(t);
|
|
668
649
|
0 <= r && e.splice(r, 1);
|
|
669
650
|
}
|
|
670
651
|
}
|
|
671
|
-
var
|
|
652
|
+
var Le = function() {
|
|
672
653
|
function e(t) {
|
|
673
654
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
674
655
|
}
|
|
@@ -680,7 +661,7 @@ var Oe = function() {
|
|
|
680
661
|
if (a)
|
|
681
662
|
if (this._parentage = null, Array.isArray(a))
|
|
682
663
|
try {
|
|
683
|
-
for (var s =
|
|
664
|
+
for (var s = nt(a), l = s.next(); !l.done; l = s.next()) {
|
|
684
665
|
var u = l.value;
|
|
685
666
|
u.remove(this);
|
|
686
667
|
}
|
|
@@ -697,29 +678,29 @@ var Oe = function() {
|
|
|
697
678
|
else
|
|
698
679
|
a.remove(this);
|
|
699
680
|
var h = this.initialTeardown;
|
|
700
|
-
if (
|
|
681
|
+
if (k(h))
|
|
701
682
|
try {
|
|
702
683
|
h();
|
|
703
684
|
} catch (v) {
|
|
704
|
-
o = v instanceof
|
|
685
|
+
o = v instanceof Xe ? v.errors : [v];
|
|
705
686
|
}
|
|
706
687
|
var d = this._finalizers;
|
|
707
688
|
if (d) {
|
|
708
689
|
this._finalizers = null;
|
|
709
690
|
try {
|
|
710
|
-
for (var f =
|
|
711
|
-
var g =
|
|
691
|
+
for (var f = nt(d), m = f.next(); !m.done; m = f.next()) {
|
|
692
|
+
var g = m.value;
|
|
712
693
|
try {
|
|
713
|
-
|
|
694
|
+
Mt(g);
|
|
714
695
|
} catch (v) {
|
|
715
|
-
o = o != null ? o : [], v instanceof
|
|
696
|
+
o = o != null ? o : [], v instanceof Xe ? o = ot(ot([], it(o)), it(v.errors)) : o.push(v);
|
|
716
697
|
}
|
|
717
698
|
}
|
|
718
699
|
} catch (v) {
|
|
719
700
|
n = { error: v };
|
|
720
701
|
} finally {
|
|
721
702
|
try {
|
|
722
|
-
|
|
703
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
723
704
|
} finally {
|
|
724
705
|
if (n)
|
|
725
706
|
throw n.error;
|
|
@@ -727,13 +708,13 @@ var Oe = function() {
|
|
|
727
708
|
}
|
|
728
709
|
}
|
|
729
710
|
if (o)
|
|
730
|
-
throw new
|
|
711
|
+
throw new Xe(o);
|
|
731
712
|
}
|
|
732
713
|
}, e.prototype.add = function(t) {
|
|
733
714
|
var r;
|
|
734
715
|
if (t && t !== this)
|
|
735
716
|
if (this.closed)
|
|
736
|
-
|
|
717
|
+
Mt(t);
|
|
737
718
|
else {
|
|
738
719
|
if (t instanceof e) {
|
|
739
720
|
if (t.closed || t._hasParent(this))
|
|
@@ -750,52 +731,52 @@ var Oe = function() {
|
|
|
750
731
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
751
732
|
}, e.prototype._removeParent = function(t) {
|
|
752
733
|
var r = this._parentage;
|
|
753
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
734
|
+
r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
|
|
754
735
|
}, e.prototype.remove = function(t) {
|
|
755
736
|
var r = this._finalizers;
|
|
756
|
-
r &&
|
|
737
|
+
r && at(r, t), t instanceof e && t._removeParent(this);
|
|
757
738
|
}, e.EMPTY = function() {
|
|
758
739
|
var t = new e();
|
|
759
740
|
return t.closed = !0, t;
|
|
760
741
|
}(), e;
|
|
761
|
-
}(),
|
|
762
|
-
function
|
|
763
|
-
return e instanceof
|
|
742
|
+
}(), _r = Le.EMPTY;
|
|
743
|
+
function xr(e) {
|
|
744
|
+
return e instanceof Le || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
|
|
764
745
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
746
|
+
function Mt(e) {
|
|
747
|
+
k(e) ? e() : e.unsubscribe();
|
|
767
748
|
}
|
|
768
|
-
var
|
|
749
|
+
var Fn = {
|
|
769
750
|
Promise: void 0
|
|
770
|
-
},
|
|
751
|
+
}, Rn = {
|
|
771
752
|
setTimeout: function(e, t) {
|
|
772
753
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
773
754
|
r[n - 2] = arguments[n];
|
|
774
|
-
return setTimeout.apply(void 0,
|
|
755
|
+
return setTimeout.apply(void 0, ot([e, t], it(r)));
|
|
775
756
|
},
|
|
776
757
|
clearTimeout: function(e) {
|
|
777
758
|
return clearTimeout(e);
|
|
778
759
|
},
|
|
779
760
|
delegate: void 0
|
|
780
761
|
};
|
|
781
|
-
function
|
|
782
|
-
|
|
762
|
+
function Un(e) {
|
|
763
|
+
Rn.setTimeout(function() {
|
|
783
764
|
throw e;
|
|
784
765
|
});
|
|
785
766
|
}
|
|
786
|
-
function
|
|
767
|
+
function Ot() {
|
|
787
768
|
}
|
|
788
769
|
function Ie(e) {
|
|
789
770
|
e();
|
|
790
771
|
}
|
|
791
|
-
var
|
|
792
|
-
|
|
772
|
+
var wr = function(e) {
|
|
773
|
+
be(t, e);
|
|
793
774
|
function t(r) {
|
|
794
775
|
var n = e.call(this) || this;
|
|
795
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
776
|
+
return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = $n, n;
|
|
796
777
|
}
|
|
797
778
|
return t.create = function(r, n, i) {
|
|
798
|
-
return new
|
|
779
|
+
return new st(r, n, i);
|
|
799
780
|
}, t.prototype.next = function(r) {
|
|
800
781
|
this.isStopped || this._next(r);
|
|
801
782
|
}, t.prototype.error = function(r) {
|
|
@@ -819,7 +800,7 @@ var vr = function(e) {
|
|
|
819
800
|
this.unsubscribe();
|
|
820
801
|
}
|
|
821
802
|
}, t;
|
|
822
|
-
}(
|
|
803
|
+
}(Le), Dn = function() {
|
|
823
804
|
function e(t) {
|
|
824
805
|
this.partialObserver = t;
|
|
825
806
|
}
|
|
@@ -850,43 +831,43 @@ var vr = function(e) {
|
|
|
850
831
|
we(r);
|
|
851
832
|
}
|
|
852
833
|
}, e;
|
|
853
|
-
}(),
|
|
854
|
-
|
|
834
|
+
}(), st = function(e) {
|
|
835
|
+
be(t, e);
|
|
855
836
|
function t(r, n, i) {
|
|
856
837
|
var o = e.call(this) || this, a;
|
|
857
|
-
return
|
|
838
|
+
return k(r) || !r ? a = {
|
|
858
839
|
next: r != null ? r : void 0,
|
|
859
840
|
error: n != null ? n : void 0,
|
|
860
841
|
complete: i != null ? i : void 0
|
|
861
|
-
} : a = r, o.destination = new
|
|
842
|
+
} : a = r, o.destination = new Dn(a), o;
|
|
862
843
|
}
|
|
863
844
|
return t;
|
|
864
|
-
}(
|
|
845
|
+
}(wr);
|
|
865
846
|
function we(e) {
|
|
866
|
-
|
|
847
|
+
Un(e);
|
|
867
848
|
}
|
|
868
|
-
function
|
|
849
|
+
function Gn(e) {
|
|
869
850
|
throw e;
|
|
870
851
|
}
|
|
871
|
-
var
|
|
852
|
+
var $n = {
|
|
872
853
|
closed: !0,
|
|
873
|
-
next:
|
|
874
|
-
error:
|
|
875
|
-
complete:
|
|
876
|
-
},
|
|
854
|
+
next: Ot,
|
|
855
|
+
error: Gn,
|
|
856
|
+
complete: Ot
|
|
857
|
+
}, kn = function() {
|
|
877
858
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
878
859
|
}();
|
|
879
|
-
function
|
|
860
|
+
function jn(e) {
|
|
880
861
|
return e;
|
|
881
862
|
}
|
|
882
|
-
function
|
|
883
|
-
return e.length === 0 ?
|
|
863
|
+
function Wn(e) {
|
|
864
|
+
return e.length === 0 ? jn : e.length === 1 ? e[0] : function(r) {
|
|
884
865
|
return e.reduce(function(n, i) {
|
|
885
866
|
return i(n);
|
|
886
867
|
}, r);
|
|
887
868
|
};
|
|
888
869
|
}
|
|
889
|
-
var
|
|
870
|
+
var Lt = function() {
|
|
890
871
|
function e(t) {
|
|
891
872
|
t && (this._subscribe = t);
|
|
892
873
|
}
|
|
@@ -894,7 +875,7 @@ var Tt = function() {
|
|
|
894
875
|
var r = new e();
|
|
895
876
|
return r.source = this, r.operator = t, r;
|
|
896
877
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
897
|
-
var i = this, o =
|
|
878
|
+
var i = this, o = Xn(t) ? t : new st(t, r, n);
|
|
898
879
|
return Ie(function() {
|
|
899
880
|
var a = i, s = a.operator, l = a.source;
|
|
900
881
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -907,8 +888,8 @@ var Tt = function() {
|
|
|
907
888
|
}
|
|
908
889
|
}, e.prototype.forEach = function(t, r) {
|
|
909
890
|
var n = this;
|
|
910
|
-
return r =
|
|
911
|
-
var a = new
|
|
891
|
+
return r = Ct(r), new r(function(i, o) {
|
|
892
|
+
var a = new st({
|
|
912
893
|
next: function(s) {
|
|
913
894
|
try {
|
|
914
895
|
t(s);
|
|
@@ -924,15 +905,15 @@ var Tt = function() {
|
|
|
924
905
|
}, e.prototype._subscribe = function(t) {
|
|
925
906
|
var r;
|
|
926
907
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
927
|
-
}, e.prototype[
|
|
908
|
+
}, e.prototype[kn] = function() {
|
|
928
909
|
return this;
|
|
929
910
|
}, e.prototype.pipe = function() {
|
|
930
911
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
931
912
|
t[r] = arguments[r];
|
|
932
|
-
return
|
|
913
|
+
return Wn(t)(this);
|
|
933
914
|
}, e.prototype.toPromise = function(t) {
|
|
934
915
|
var r = this;
|
|
935
|
-
return t =
|
|
916
|
+
return t = Ct(t), new t(function(n, i) {
|
|
936
917
|
var o;
|
|
937
918
|
r.subscribe(function(a) {
|
|
938
919
|
return o = a;
|
|
@@ -946,32 +927,32 @@ var Tt = function() {
|
|
|
946
927
|
return new e(t);
|
|
947
928
|
}, e;
|
|
948
929
|
}();
|
|
949
|
-
function
|
|
930
|
+
function Ct(e) {
|
|
950
931
|
var t;
|
|
951
|
-
return (t = e != null ? e :
|
|
932
|
+
return (t = e != null ? e : Fn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
952
933
|
}
|
|
953
|
-
function
|
|
954
|
-
return e &&
|
|
934
|
+
function Vn(e) {
|
|
935
|
+
return e && k(e.next) && k(e.error) && k(e.complete);
|
|
955
936
|
}
|
|
956
|
-
function
|
|
957
|
-
return e && e instanceof
|
|
937
|
+
function Xn(e) {
|
|
938
|
+
return e && e instanceof wr || Vn(e) && xr(e);
|
|
958
939
|
}
|
|
959
|
-
var
|
|
940
|
+
var zn = yr(function(e) {
|
|
960
941
|
return function() {
|
|
961
942
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
962
943
|
};
|
|
963
|
-
}),
|
|
964
|
-
|
|
944
|
+
}), Er = function(e) {
|
|
945
|
+
be(t, e);
|
|
965
946
|
function t() {
|
|
966
947
|
var r = e.call(this) || this;
|
|
967
948
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
968
949
|
}
|
|
969
950
|
return t.prototype.lift = function(r) {
|
|
970
|
-
var n = new
|
|
951
|
+
var n = new Ft(this, this);
|
|
971
952
|
return n.operator = r, n;
|
|
972
953
|
}, t.prototype._throwIfClosed = function() {
|
|
973
954
|
if (this.closed)
|
|
974
|
-
throw new
|
|
955
|
+
throw new zn();
|
|
975
956
|
}, t.prototype.next = function(r) {
|
|
976
957
|
var n = this;
|
|
977
958
|
Ie(function() {
|
|
@@ -979,7 +960,7 @@ var jn = mr(function(e) {
|
|
|
979
960
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
980
961
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
981
962
|
try {
|
|
982
|
-
for (var a =
|
|
963
|
+
for (var a = nt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
983
964
|
var l = s.value;
|
|
984
965
|
l.next(r);
|
|
985
966
|
}
|
|
@@ -1028,20 +1009,20 @@ var jn = mr(function(e) {
|
|
|
1028
1009
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1029
1010
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1030
1011
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1031
|
-
return o || a ?
|
|
1032
|
-
n.currentObservers = null,
|
|
1012
|
+
return o || a ? _r : (this.currentObservers = null, s.push(r), new Le(function() {
|
|
1013
|
+
n.currentObservers = null, at(s, r);
|
|
1033
1014
|
}));
|
|
1034
1015
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1035
1016
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1036
1017
|
i ? r.error(o) : a && r.complete();
|
|
1037
1018
|
}, t.prototype.asObservable = function() {
|
|
1038
|
-
var r = new
|
|
1019
|
+
var r = new Lt();
|
|
1039
1020
|
return r.source = this, r;
|
|
1040
1021
|
}, t.create = function(r, n) {
|
|
1041
|
-
return new
|
|
1022
|
+
return new Ft(r, n);
|
|
1042
1023
|
}, t;
|
|
1043
|
-
}(
|
|
1044
|
-
|
|
1024
|
+
}(Lt), Ft = function(e) {
|
|
1025
|
+
be(t, e);
|
|
1045
1026
|
function t(r, n) {
|
|
1046
1027
|
var i = e.call(this) || this;
|
|
1047
1028
|
return i.destination = r, i.source = n, i;
|
|
@@ -1057,17 +1038,17 @@ var jn = mr(function(e) {
|
|
|
1057
1038
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1058
1039
|
}, t.prototype._subscribe = function(r) {
|
|
1059
1040
|
var n, i;
|
|
1060
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1041
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
|
|
1061
1042
|
}, t;
|
|
1062
|
-
}(
|
|
1043
|
+
}(Er), Nr = {
|
|
1063
1044
|
now: function() {
|
|
1064
|
-
return (
|
|
1045
|
+
return (Nr.delegate || Date).now();
|
|
1065
1046
|
},
|
|
1066
1047
|
delegate: void 0
|
|
1067
|
-
},
|
|
1068
|
-
|
|
1048
|
+
}, Zn = function(e) {
|
|
1049
|
+
be(t, e);
|
|
1069
1050
|
function t(r, n, i) {
|
|
1070
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1051
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
|
|
1071
1052
|
var o = e.call(this) || this;
|
|
1072
1053
|
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;
|
|
1073
1054
|
}
|
|
@@ -1087,24 +1068,24 @@ var jn = mr(function(e) {
|
|
|
1087
1068
|
u && o.splice(0, u + 1);
|
|
1088
1069
|
}
|
|
1089
1070
|
}, t;
|
|
1090
|
-
}(
|
|
1091
|
-
const
|
|
1092
|
-
if (
|
|
1093
|
-
const r = new
|
|
1094
|
-
|
|
1071
|
+
}(Er);
|
|
1072
|
+
const Rt = [], Ut = {}, Qn = (e, t = 0) => {
|
|
1073
|
+
if (Rt.indexOf(e) == -1) {
|
|
1074
|
+
const r = new Zn(t);
|
|
1075
|
+
Ut[e] = r, Rt.push(e);
|
|
1095
1076
|
}
|
|
1096
|
-
return
|
|
1077
|
+
return Ut[e];
|
|
1097
1078
|
}, q = [];
|
|
1098
|
-
function
|
|
1079
|
+
function Yn(e, t) {
|
|
1099
1080
|
return {
|
|
1100
|
-
subscribe:
|
|
1081
|
+
subscribe: Ce(e, t).subscribe
|
|
1101
1082
|
};
|
|
1102
1083
|
}
|
|
1103
|
-
function
|
|
1084
|
+
function Ce(e, t = D) {
|
|
1104
1085
|
let r;
|
|
1105
1086
|
const n = /* @__PURE__ */ new Set();
|
|
1106
1087
|
function i(s) {
|
|
1107
|
-
if (
|
|
1088
|
+
if (fr(e, s) && (e = s, r)) {
|
|
1108
1089
|
const l = !q.length;
|
|
1109
1090
|
for (const u of n)
|
|
1110
1091
|
u[1](), q.push(u, e);
|
|
@@ -1126,12 +1107,12 @@ function Le(e, t = D) {
|
|
|
1126
1107
|
}
|
|
1127
1108
|
return { set: i, update: o, subscribe: a };
|
|
1128
1109
|
}
|
|
1129
|
-
function
|
|
1110
|
+
function se(e, t, r) {
|
|
1130
1111
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1131
1112
|
if (!i.every(Boolean))
|
|
1132
1113
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1133
1114
|
const o = t.length < 2;
|
|
1134
|
-
return
|
|
1115
|
+
return Yn(r, (a, s) => {
|
|
1135
1116
|
let l = !1;
|
|
1136
1117
|
const u = [];
|
|
1137
1118
|
let h = 0, d = D;
|
|
@@ -1140,12 +1121,12 @@ function le(e, t, r) {
|
|
|
1140
1121
|
return;
|
|
1141
1122
|
d();
|
|
1142
1123
|
const g = t(n ? u[0] : u, a, s);
|
|
1143
|
-
o ? a(g) : d =
|
|
1144
|
-
},
|
|
1145
|
-
(g, v) =>
|
|
1124
|
+
o ? a(g) : d = vt(g) ? g : D;
|
|
1125
|
+
}, m = i.map(
|
|
1126
|
+
(g, v) => dr(
|
|
1146
1127
|
g,
|
|
1147
|
-
(
|
|
1148
|
-
u[v] =
|
|
1128
|
+
(B) => {
|
|
1129
|
+
u[v] = B, h &= ~(1 << v), l && f();
|
|
1149
1130
|
},
|
|
1150
1131
|
() => {
|
|
1151
1132
|
h |= 1 << v;
|
|
@@ -1153,115 +1134,157 @@ function le(e, t, r) {
|
|
|
1153
1134
|
)
|
|
1154
1135
|
);
|
|
1155
1136
|
return l = !0, f(), function() {
|
|
1156
|
-
|
|
1137
|
+
ae(m), d(), l = !1;
|
|
1157
1138
|
};
|
|
1158
1139
|
});
|
|
1159
1140
|
}
|
|
1160
|
-
function
|
|
1141
|
+
function Jn(e) {
|
|
1161
1142
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1162
1143
|
}
|
|
1163
|
-
var
|
|
1164
|
-
return
|
|
1144
|
+
var qn = function(t) {
|
|
1145
|
+
return Kn(t) && !ei(t);
|
|
1165
1146
|
};
|
|
1166
|
-
function
|
|
1147
|
+
function Kn(e) {
|
|
1167
1148
|
return !!e && typeof e == "object";
|
|
1168
1149
|
}
|
|
1169
|
-
function
|
|
1150
|
+
function ei(e) {
|
|
1170
1151
|
var t = Object.prototype.toString.call(e);
|
|
1171
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1152
|
+
return t === "[object RegExp]" || t === "[object Date]" || ni(e);
|
|
1172
1153
|
}
|
|
1173
|
-
var
|
|
1174
|
-
function
|
|
1175
|
-
return e.$$typeof ===
|
|
1154
|
+
var ti = typeof Symbol == "function" && Symbol.for, ri = ti ? Symbol.for("react.element") : 60103;
|
|
1155
|
+
function ni(e) {
|
|
1156
|
+
return e.$$typeof === ri;
|
|
1176
1157
|
}
|
|
1177
|
-
function
|
|
1158
|
+
function ii(e) {
|
|
1178
1159
|
return Array.isArray(e) ? [] : {};
|
|
1179
1160
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1161
|
+
function me(e, t) {
|
|
1162
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(ii(e), e, t) : e;
|
|
1182
1163
|
}
|
|
1183
|
-
function
|
|
1164
|
+
function oi(e, t, r) {
|
|
1184
1165
|
return e.concat(t).map(function(n) {
|
|
1185
|
-
return
|
|
1166
|
+
return me(n, r);
|
|
1186
1167
|
});
|
|
1187
1168
|
}
|
|
1188
|
-
function
|
|
1169
|
+
function ai(e, t) {
|
|
1189
1170
|
if (!t.customMerge)
|
|
1190
|
-
return
|
|
1171
|
+
return re;
|
|
1191
1172
|
var r = t.customMerge(e);
|
|
1192
|
-
return typeof r == "function" ? r :
|
|
1173
|
+
return typeof r == "function" ? r : re;
|
|
1193
1174
|
}
|
|
1194
|
-
function
|
|
1175
|
+
function si(e) {
|
|
1195
1176
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1196
1177
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1197
1178
|
}) : [];
|
|
1198
1179
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return Object.keys(e).concat(
|
|
1180
|
+
function Dt(e) {
|
|
1181
|
+
return Object.keys(e).concat(si(e));
|
|
1201
1182
|
}
|
|
1202
|
-
function
|
|
1183
|
+
function Sr(e, t) {
|
|
1203
1184
|
try {
|
|
1204
1185
|
return t in e;
|
|
1205
1186
|
} catch (r) {
|
|
1206
1187
|
return !1;
|
|
1207
1188
|
}
|
|
1208
1189
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return
|
|
1190
|
+
function li(e, t) {
|
|
1191
|
+
return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1211
1192
|
}
|
|
1212
|
-
function
|
|
1193
|
+
function ui(e, t, r) {
|
|
1213
1194
|
var n = {};
|
|
1214
|
-
return r.isMergeableObject(e) &&
|
|
1215
|
-
n[i] =
|
|
1216
|
-
}),
|
|
1217
|
-
|
|
1195
|
+
return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
|
|
1196
|
+
n[i] = me(e[i], r);
|
|
1197
|
+
}), Dt(t).forEach(function(i) {
|
|
1198
|
+
li(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
1218
1199
|
}), n;
|
|
1219
1200
|
}
|
|
1220
|
-
function
|
|
1221
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1201
|
+
function re(e, t, r) {
|
|
1202
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = me;
|
|
1222
1203
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1223
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1204
|
+
return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : me(t, r);
|
|
1224
1205
|
}
|
|
1225
|
-
|
|
1206
|
+
re.all = function(t, r) {
|
|
1226
1207
|
if (!Array.isArray(t))
|
|
1227
1208
|
throw new Error("first argument should be an array");
|
|
1228
1209
|
return t.reduce(function(n, i) {
|
|
1229
|
-
return
|
|
1210
|
+
return re(n, i, r);
|
|
1230
1211
|
}, {});
|
|
1231
1212
|
};
|
|
1232
|
-
var
|
|
1233
|
-
const
|
|
1234
|
-
function
|
|
1235
|
-
|
|
1213
|
+
var hi = re, ci = hi;
|
|
1214
|
+
const fi = /* @__PURE__ */ Jn(ci);
|
|
1215
|
+
var lt = function(e, t) {
|
|
1216
|
+
return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1217
|
+
r.__proto__ = n;
|
|
1218
|
+
} || function(r, n) {
|
|
1219
|
+
for (var i in n)
|
|
1220
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1221
|
+
}, lt(e, t);
|
|
1222
|
+
};
|
|
1223
|
+
function Fe(e, t) {
|
|
1224
|
+
if (typeof t != "function" && t !== null)
|
|
1225
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1226
|
+
lt(e, t);
|
|
1227
|
+
function r() {
|
|
1228
|
+
this.constructor = e;
|
|
1229
|
+
}
|
|
1230
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1231
|
+
}
|
|
1232
|
+
var G = function() {
|
|
1233
|
+
return G = Object.assign || function(t) {
|
|
1234
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
|
+
r = arguments[n];
|
|
1236
|
+
for (var o in r)
|
|
1237
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
|
+
}
|
|
1239
|
+
return t;
|
|
1240
|
+
}, G.apply(this, arguments);
|
|
1241
|
+
};
|
|
1242
|
+
function di(e, t) {
|
|
1243
|
+
var r = {};
|
|
1244
|
+
for (var n in e)
|
|
1245
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1246
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1247
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1248
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1249
|
+
return r;
|
|
1250
|
+
}
|
|
1251
|
+
function ze(e, t, r) {
|
|
1252
|
+
if (r || arguments.length === 2)
|
|
1253
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1254
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1255
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1256
|
+
}
|
|
1257
|
+
function Ze(e, t) {
|
|
1258
|
+
var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : gi;
|
|
1236
1259
|
return i(e, {
|
|
1237
1260
|
cache: r,
|
|
1238
1261
|
serializer: n
|
|
1239
1262
|
});
|
|
1240
1263
|
}
|
|
1241
|
-
function
|
|
1264
|
+
function pi(e) {
|
|
1242
1265
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1243
1266
|
}
|
|
1244
|
-
function
|
|
1245
|
-
var i =
|
|
1267
|
+
function mi(e, t, r, n) {
|
|
1268
|
+
var i = pi(n) ? n : r(n), o = t.get(i);
|
|
1246
1269
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1247
1270
|
}
|
|
1248
|
-
function
|
|
1271
|
+
function Ir(e, t, r) {
|
|
1249
1272
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1250
1273
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1251
1274
|
}
|
|
1252
|
-
function
|
|
1275
|
+
function Br(e, t, r, n, i) {
|
|
1253
1276
|
return r.bind(t, e, n, i);
|
|
1254
1277
|
}
|
|
1255
|
-
function
|
|
1256
|
-
var r = e.length === 1 ?
|
|
1257
|
-
return
|
|
1278
|
+
function gi(e, t) {
|
|
1279
|
+
var r = e.length === 1 ? mi : Ir;
|
|
1280
|
+
return Br(e, this, r, t.cache.create(), t.serializer);
|
|
1258
1281
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return
|
|
1282
|
+
function vi(e, t) {
|
|
1283
|
+
return Br(e, this, Ir, t.cache.create(), t.serializer);
|
|
1261
1284
|
}
|
|
1262
|
-
var
|
|
1285
|
+
var bi = function() {
|
|
1263
1286
|
return JSON.stringify(arguments);
|
|
1264
|
-
},
|
|
1287
|
+
}, yi = (
|
|
1265
1288
|
/** @class */
|
|
1266
1289
|
function() {
|
|
1267
1290
|
function e() {
|
|
@@ -1273,61 +1296,71 @@ var di = function() {
|
|
|
1273
1296
|
this.cache[t] = r;
|
|
1274
1297
|
}, e;
|
|
1275
1298
|
}()
|
|
1276
|
-
),
|
|
1299
|
+
), _i = {
|
|
1277
1300
|
create: function() {
|
|
1278
|
-
return new
|
|
1301
|
+
return new yi();
|
|
1279
1302
|
}
|
|
1280
|
-
},
|
|
1281
|
-
variadic:
|
|
1282
|
-
},
|
|
1303
|
+
}, Qe = {
|
|
1304
|
+
variadic: vi
|
|
1305
|
+
}, Pe = function() {
|
|
1306
|
+
return Pe = Object.assign || function(t) {
|
|
1307
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1308
|
+
r = arguments[n];
|
|
1309
|
+
for (var o in r)
|
|
1310
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1311
|
+
}
|
|
1312
|
+
return t;
|
|
1313
|
+
}, Pe.apply(this, arguments);
|
|
1314
|
+
};
|
|
1315
|
+
var _;
|
|
1283
1316
|
(function(e) {
|
|
1284
1317
|
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";
|
|
1285
1318
|
})(_ || (_ = {}));
|
|
1286
|
-
var
|
|
1319
|
+
var S;
|
|
1287
1320
|
(function(e) {
|
|
1288
1321
|
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";
|
|
1289
|
-
})(
|
|
1290
|
-
var
|
|
1322
|
+
})(S || (S = {}));
|
|
1323
|
+
var ne;
|
|
1291
1324
|
(function(e) {
|
|
1292
1325
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1293
|
-
})(
|
|
1294
|
-
function
|
|
1295
|
-
return e.type ===
|
|
1326
|
+
})(ne || (ne = {}));
|
|
1327
|
+
function Gt(e) {
|
|
1328
|
+
return e.type === S.literal;
|
|
1296
1329
|
}
|
|
1297
|
-
function
|
|
1298
|
-
return e.type ===
|
|
1330
|
+
function xi(e) {
|
|
1331
|
+
return e.type === S.argument;
|
|
1299
1332
|
}
|
|
1300
|
-
function
|
|
1301
|
-
return e.type ===
|
|
1333
|
+
function Ar(e) {
|
|
1334
|
+
return e.type === S.number;
|
|
1302
1335
|
}
|
|
1303
|
-
function
|
|
1304
|
-
return e.type ===
|
|
1336
|
+
function Tr(e) {
|
|
1337
|
+
return e.type === S.date;
|
|
1305
1338
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return e.type ===
|
|
1339
|
+
function Pr(e) {
|
|
1340
|
+
return e.type === S.time;
|
|
1308
1341
|
}
|
|
1309
|
-
function
|
|
1310
|
-
return e.type ===
|
|
1342
|
+
function Hr(e) {
|
|
1343
|
+
return e.type === S.select;
|
|
1311
1344
|
}
|
|
1312
|
-
function
|
|
1313
|
-
return e.type ===
|
|
1345
|
+
function Mr(e) {
|
|
1346
|
+
return e.type === S.plural;
|
|
1314
1347
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return e.type ===
|
|
1348
|
+
function wi(e) {
|
|
1349
|
+
return e.type === S.pound;
|
|
1317
1350
|
}
|
|
1318
|
-
function
|
|
1319
|
-
return e.type ===
|
|
1351
|
+
function Or(e) {
|
|
1352
|
+
return e.type === S.tag;
|
|
1320
1353
|
}
|
|
1321
|
-
function
|
|
1322
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1354
|
+
function Lr(e) {
|
|
1355
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1323
1356
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1357
|
+
function ut(e) {
|
|
1358
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1326
1359
|
}
|
|
1327
|
-
var
|
|
1328
|
-
function
|
|
1360
|
+
var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
|
|
1361
|
+
function Ni(e) {
|
|
1329
1362
|
var t = {};
|
|
1330
|
-
return e.replace(
|
|
1363
|
+
return e.replace(Ei, function(r) {
|
|
1331
1364
|
var n = r.length;
|
|
1332
1365
|
switch (r[0]) {
|
|
1333
1366
|
case "G":
|
|
@@ -1416,11 +1449,21 @@ function yi(e) {
|
|
|
1416
1449
|
return "";
|
|
1417
1450
|
}), t;
|
|
1418
1451
|
}
|
|
1419
|
-
var
|
|
1420
|
-
function
|
|
1452
|
+
var T = function() {
|
|
1453
|
+
return T = Object.assign || function(t) {
|
|
1454
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1455
|
+
r = arguments[n];
|
|
1456
|
+
for (var o in r)
|
|
1457
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1458
|
+
}
|
|
1459
|
+
return t;
|
|
1460
|
+
}, T.apply(this, arguments);
|
|
1461
|
+
};
|
|
1462
|
+
var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1463
|
+
function Ii(e) {
|
|
1421
1464
|
if (e.length === 0)
|
|
1422
1465
|
throw new Error("Number skeleton cannot be empty");
|
|
1423
|
-
for (var t = e.split(
|
|
1466
|
+
for (var t = e.split(Si).filter(function(f) {
|
|
1424
1467
|
return f.length > 0;
|
|
1425
1468
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1426
1469
|
var o = i[n], a = o.split("/");
|
|
@@ -1435,17 +1478,17 @@ function xi(e) {
|
|
|
1435
1478
|
}
|
|
1436
1479
|
return r;
|
|
1437
1480
|
}
|
|
1438
|
-
function
|
|
1481
|
+
function Bi(e) {
|
|
1439
1482
|
return e.replace(/^(.*?)-/, "");
|
|
1440
1483
|
}
|
|
1441
|
-
var
|
|
1442
|
-
function
|
|
1484
|
+
var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
|
|
1485
|
+
function kt(e) {
|
|
1443
1486
|
var t = {};
|
|
1444
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1487
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
|
|
1445
1488
|
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)), "";
|
|
1446
1489
|
}), t;
|
|
1447
1490
|
}
|
|
1448
|
-
function
|
|
1491
|
+
function Ur(e) {
|
|
1449
1492
|
switch (e) {
|
|
1450
1493
|
case "sign-auto":
|
|
1451
1494
|
return {
|
|
@@ -1485,7 +1528,7 @@ function Or(e) {
|
|
|
1485
1528
|
};
|
|
1486
1529
|
}
|
|
1487
1530
|
}
|
|
1488
|
-
function
|
|
1531
|
+
function Ti(e) {
|
|
1489
1532
|
var t;
|
|
1490
1533
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1491
1534
|
notation: "engineering"
|
|
@@ -1493,17 +1536,17 @@ function Ni(e) {
|
|
|
1493
1536
|
notation: "scientific"
|
|
1494
1537
|
}, e = e.slice(1)), t) {
|
|
1495
1538
|
var r = e.slice(0, 2);
|
|
1496
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1539
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
|
|
1497
1540
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1498
1541
|
t.minimumIntegerDigits = e.length;
|
|
1499
1542
|
}
|
|
1500
1543
|
return t;
|
|
1501
1544
|
}
|
|
1502
|
-
function
|
|
1503
|
-
var t = {}, r =
|
|
1545
|
+
function jt(e) {
|
|
1546
|
+
var t = {}, r = Ur(e);
|
|
1504
1547
|
return r || t;
|
|
1505
1548
|
}
|
|
1506
|
-
function
|
|
1549
|
+
function Pi(e) {
|
|
1507
1550
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1508
1551
|
var i = n[r];
|
|
1509
1552
|
switch (i.stem) {
|
|
@@ -1527,7 +1570,7 @@ function Si(e) {
|
|
|
1527
1570
|
continue;
|
|
1528
1571
|
case "measure-unit":
|
|
1529
1572
|
case "unit":
|
|
1530
|
-
t.style = "unit", t.unit =
|
|
1573
|
+
t.style = "unit", t.unit = Bi(i.options[0]);
|
|
1531
1574
|
continue;
|
|
1532
1575
|
case "compact-short":
|
|
1533
1576
|
case "K":
|
|
@@ -1538,13 +1581,13 @@ function Si(e) {
|
|
|
1538
1581
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1539
1582
|
continue;
|
|
1540
1583
|
case "scientific":
|
|
1541
|
-
t =
|
|
1542
|
-
return
|
|
1584
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1585
|
+
return T(T({}, l), jt(u));
|
|
1543
1586
|
}, {}));
|
|
1544
1587
|
continue;
|
|
1545
1588
|
case "engineering":
|
|
1546
|
-
t =
|
|
1547
|
-
return
|
|
1589
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1590
|
+
return T(T({}, l), jt(u));
|
|
1548
1591
|
}, {}));
|
|
1549
1592
|
continue;
|
|
1550
1593
|
case "notation-simple":
|
|
@@ -1589,41 +1632,41 @@ function Si(e) {
|
|
|
1589
1632
|
case "integer-width":
|
|
1590
1633
|
if (i.options.length > 1)
|
|
1591
1634
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1592
|
-
i.options[0].replace(
|
|
1635
|
+
i.options[0].replace(Ai, function(l, u, h, d, f, m) {
|
|
1593
1636
|
if (u)
|
|
1594
1637
|
t.minimumIntegerDigits = h.length;
|
|
1595
1638
|
else {
|
|
1596
1639
|
if (d && f)
|
|
1597
1640
|
throw new Error("We currently do not support maximum integer digits");
|
|
1598
|
-
if (
|
|
1641
|
+
if (m)
|
|
1599
1642
|
throw new Error("We currently do not support exact integer digits");
|
|
1600
1643
|
}
|
|
1601
1644
|
return "";
|
|
1602
1645
|
});
|
|
1603
1646
|
continue;
|
|
1604
1647
|
}
|
|
1605
|
-
if (
|
|
1648
|
+
if (Rr.test(i.stem)) {
|
|
1606
1649
|
t.minimumIntegerDigits = i.stem.length;
|
|
1607
1650
|
continue;
|
|
1608
1651
|
}
|
|
1609
|
-
if (
|
|
1652
|
+
if ($t.test(i.stem)) {
|
|
1610
1653
|
if (i.options.length > 1)
|
|
1611
1654
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1612
|
-
i.stem.replace(
|
|
1613
|
-
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f &&
|
|
1655
|
+
i.stem.replace($t, function(l, u, h, d, f, m) {
|
|
1656
|
+
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1614
1657
|
});
|
|
1615
1658
|
var o = i.options[0];
|
|
1616
|
-
o === "w" ? t =
|
|
1659
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), kt(o)));
|
|
1617
1660
|
continue;
|
|
1618
1661
|
}
|
|
1619
|
-
if (
|
|
1620
|
-
t =
|
|
1662
|
+
if (Fr.test(i.stem)) {
|
|
1663
|
+
t = T(T({}, t), kt(i.stem));
|
|
1621
1664
|
continue;
|
|
1622
1665
|
}
|
|
1623
|
-
var a =
|
|
1624
|
-
a && (t =
|
|
1625
|
-
var s =
|
|
1626
|
-
s && (t =
|
|
1666
|
+
var a = Ur(i.stem);
|
|
1667
|
+
a && (t = T(T({}, t), a));
|
|
1668
|
+
var s = Ti(i.stem);
|
|
1669
|
+
s && (t = T(T({}, t), s));
|
|
1627
1670
|
}
|
|
1628
1671
|
return t;
|
|
1629
1672
|
}
|
|
@@ -3042,13 +3085,13 @@ var Ee = {
|
|
|
3042
3085
|
"h"
|
|
3043
3086
|
]
|
|
3044
3087
|
};
|
|
3045
|
-
function
|
|
3088
|
+
function Hi(e, t) {
|
|
3046
3089
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3047
3090
|
var i = e.charAt(n);
|
|
3048
3091
|
if (i === "j") {
|
|
3049
3092
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3050
3093
|
o++, n++;
|
|
3051
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3094
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mi(t);
|
|
3052
3095
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3053
3096
|
r += l;
|
|
3054
3097
|
for (; a-- > 0; )
|
|
@@ -3058,7 +3101,7 @@ function Ii(e, t) {
|
|
|
3058
3101
|
}
|
|
3059
3102
|
return r;
|
|
3060
3103
|
}
|
|
3061
|
-
function
|
|
3104
|
+
function Mi(e) {
|
|
3062
3105
|
var t = e.hourCycle;
|
|
3063
3106
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3064
3107
|
e.hourCycles && // @ts-ignore
|
|
@@ -3080,20 +3123,20 @@ function Bi(e) {
|
|
|
3080
3123
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3081
3124
|
return i[0];
|
|
3082
3125
|
}
|
|
3083
|
-
var
|
|
3126
|
+
var Ye, Oi = new RegExp("^".concat(Cr.source, "*")), Li = new RegExp("".concat(Cr.source, "*$"));
|
|
3084
3127
|
function x(e, t) {
|
|
3085
3128
|
return { start: e, end: t };
|
|
3086
3129
|
}
|
|
3087
|
-
var
|
|
3130
|
+
var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Ri = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Di = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, $i = !!Number.isSafeInteger, ki = $i ? Number.isSafeInteger : function(e) {
|
|
3088
3131
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3089
|
-
},
|
|
3132
|
+
}, ht = !0;
|
|
3090
3133
|
try {
|
|
3091
|
-
var
|
|
3092
|
-
|
|
3134
|
+
var ji = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3135
|
+
ht = ((Ye = ji.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
|
|
3093
3136
|
} catch (e) {
|
|
3094
|
-
|
|
3137
|
+
ht = !1;
|
|
3095
3138
|
}
|
|
3096
|
-
var
|
|
3139
|
+
var Wt = Ci ? (
|
|
3097
3140
|
// Native
|
|
3098
3141
|
function(t, r, n) {
|
|
3099
3142
|
return t.startsWith(r, n);
|
|
@@ -3103,7 +3146,7 @@ var Dt = Pi ? (
|
|
|
3103
3146
|
function(t, r, n) {
|
|
3104
3147
|
return t.slice(n, n + r.length) === r;
|
|
3105
3148
|
}
|
|
3106
|
-
),
|
|
3149
|
+
), ct = Fi ? String.fromCodePoint : (
|
|
3107
3150
|
// IE11
|
|
3108
3151
|
function() {
|
|
3109
3152
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3115,9 +3158,9 @@ var Dt = Pi ? (
|
|
|
3115
3158
|
}
|
|
3116
3159
|
return n;
|
|
3117
3160
|
}
|
|
3118
|
-
),
|
|
3161
|
+
), Vt = (
|
|
3119
3162
|
// native
|
|
3120
|
-
|
|
3163
|
+
Ri ? Object.fromEntries : (
|
|
3121
3164
|
// Ponyfill
|
|
3122
3165
|
function(t) {
|
|
3123
3166
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3127,7 +3170,7 @@ var Dt = Pi ? (
|
|
|
3127
3170
|
return r;
|
|
3128
3171
|
}
|
|
3129
3172
|
)
|
|
3130
|
-
),
|
|
3173
|
+
), Dr = Ui ? (
|
|
3131
3174
|
// Native
|
|
3132
3175
|
function(t, r) {
|
|
3133
3176
|
return t.codePointAt(r);
|
|
@@ -3141,7 +3184,7 @@ var Dt = Pi ? (
|
|
|
3141
3184
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3142
3185
|
}
|
|
3143
3186
|
}
|
|
3144
|
-
),
|
|
3187
|
+
), Wi = Di ? (
|
|
3145
3188
|
// Native
|
|
3146
3189
|
function(t) {
|
|
3147
3190
|
return t.trimStart();
|
|
@@ -3149,9 +3192,9 @@ var Dt = Pi ? (
|
|
|
3149
3192
|
) : (
|
|
3150
3193
|
// Ponyfill
|
|
3151
3194
|
function(t) {
|
|
3152
|
-
return t.replace(
|
|
3195
|
+
return t.replace(Oi, "");
|
|
3153
3196
|
}
|
|
3154
|
-
),
|
|
3197
|
+
), Vi = Gi ? (
|
|
3155
3198
|
// Native
|
|
3156
3199
|
function(t) {
|
|
3157
3200
|
return t.trimEnd();
|
|
@@ -3159,32 +3202,32 @@ var Dt = Pi ? (
|
|
|
3159
3202
|
) : (
|
|
3160
3203
|
// Ponyfill
|
|
3161
3204
|
function(t) {
|
|
3162
|
-
return t.replace(
|
|
3205
|
+
return t.replace(Li, "");
|
|
3163
3206
|
}
|
|
3164
3207
|
);
|
|
3165
|
-
function
|
|
3208
|
+
function Gr(e, t) {
|
|
3166
3209
|
return new RegExp(e, t);
|
|
3167
3210
|
}
|
|
3168
|
-
var
|
|
3169
|
-
if (
|
|
3170
|
-
var
|
|
3171
|
-
|
|
3211
|
+
var ft;
|
|
3212
|
+
if (ht) {
|
|
3213
|
+
var Xt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3214
|
+
ft = function(t, r) {
|
|
3172
3215
|
var n;
|
|
3173
|
-
|
|
3174
|
-
var i =
|
|
3216
|
+
Xt.lastIndex = r;
|
|
3217
|
+
var i = Xt.exec(t);
|
|
3175
3218
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3176
3219
|
};
|
|
3177
3220
|
} else
|
|
3178
|
-
|
|
3221
|
+
ft = function(t, r) {
|
|
3179
3222
|
for (var n = []; ; ) {
|
|
3180
|
-
var i =
|
|
3181
|
-
if (i === void 0 ||
|
|
3223
|
+
var i = Dr(t, r);
|
|
3224
|
+
if (i === void 0 || $r(i) || Qi(i))
|
|
3182
3225
|
break;
|
|
3183
3226
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3184
3227
|
}
|
|
3185
|
-
return
|
|
3228
|
+
return ct.apply(void 0, n);
|
|
3186
3229
|
};
|
|
3187
|
-
var
|
|
3230
|
+
var Xi = (
|
|
3188
3231
|
/** @class */
|
|
3189
3232
|
function() {
|
|
3190
3233
|
function e(t, r) {
|
|
@@ -3208,14 +3251,14 @@ var $i = (
|
|
|
3208
3251
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3209
3252
|
var s = this.clonePosition();
|
|
3210
3253
|
this.bump(), i.push({
|
|
3211
|
-
type:
|
|
3254
|
+
type: S.pound,
|
|
3212
3255
|
location: x(s, this.clonePosition())
|
|
3213
3256
|
});
|
|
3214
3257
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3215
3258
|
if (n)
|
|
3216
3259
|
break;
|
|
3217
3260
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3218
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3261
|
+
} else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
|
|
3219
3262
|
var a = this.parseTag(t, r);
|
|
3220
3263
|
if (a.err)
|
|
3221
3264
|
return a;
|
|
@@ -3236,7 +3279,7 @@ var $i = (
|
|
|
3236
3279
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3237
3280
|
return {
|
|
3238
3281
|
val: {
|
|
3239
|
-
type:
|
|
3282
|
+
type: S.literal,
|
|
3240
3283
|
value: "<".concat(i, "/>"),
|
|
3241
3284
|
location: x(n, this.clonePosition())
|
|
3242
3285
|
},
|
|
@@ -3248,12 +3291,12 @@ var $i = (
|
|
|
3248
3291
|
return o;
|
|
3249
3292
|
var a = o.val, s = this.clonePosition();
|
|
3250
3293
|
if (this.bumpIf("</")) {
|
|
3251
|
-
if (this.isEOF() || !
|
|
3294
|
+
if (this.isEOF() || !dt(this.char()))
|
|
3252
3295
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3253
3296
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3254
3297
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3255
3298
|
val: {
|
|
3256
|
-
type:
|
|
3299
|
+
type: S.tag,
|
|
3257
3300
|
value: i,
|
|
3258
3301
|
children: a,
|
|
3259
3302
|
location: x(n, this.clonePosition())
|
|
@@ -3266,7 +3309,7 @@ var $i = (
|
|
|
3266
3309
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3267
3310
|
}, e.prototype.parseTagName = function() {
|
|
3268
3311
|
var t = this.offset();
|
|
3269
|
-
for (this.bump(); !this.isEOF() &&
|
|
3312
|
+
for (this.bump(); !this.isEOF() && Zi(this.char()); )
|
|
3270
3313
|
this.bump();
|
|
3271
3314
|
return this.message.slice(t, this.offset());
|
|
3272
3315
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3290,12 +3333,12 @@ var $i = (
|
|
|
3290
3333
|
}
|
|
3291
3334
|
var l = x(n, this.clonePosition());
|
|
3292
3335
|
return {
|
|
3293
|
-
val: { type:
|
|
3336
|
+
val: { type: S.literal, value: i, location: l },
|
|
3294
3337
|
err: null
|
|
3295
3338
|
};
|
|
3296
3339
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3297
3340
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3298
|
-
!
|
|
3341
|
+
!zi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3299
3342
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3300
3343
|
if (this.isEOF() || this.char() !== 39)
|
|
3301
3344
|
return null;
|
|
@@ -3329,12 +3372,12 @@ var $i = (
|
|
|
3329
3372
|
r.push(n);
|
|
3330
3373
|
this.bump();
|
|
3331
3374
|
}
|
|
3332
|
-
return
|
|
3375
|
+
return ct.apply(void 0, r);
|
|
3333
3376
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3334
3377
|
if (this.isEOF())
|
|
3335
3378
|
return null;
|
|
3336
3379
|
var n = this.char();
|
|
3337
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3380
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
|
|
3338
3381
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3339
3382
|
var n = this.clonePosition();
|
|
3340
3383
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3350,7 +3393,7 @@ var $i = (
|
|
|
3350
3393
|
case 125:
|
|
3351
3394
|
return this.bump(), {
|
|
3352
3395
|
val: {
|
|
3353
|
-
type:
|
|
3396
|
+
type: S.argument,
|
|
3354
3397
|
// value does not include the opening and closing braces.
|
|
3355
3398
|
value: i,
|
|
3356
3399
|
location: x(n, this.clonePosition())
|
|
@@ -3363,7 +3406,7 @@ var $i = (
|
|
|
3363
3406
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3364
3407
|
}
|
|
3365
3408
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3366
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3409
|
+
var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
|
|
3367
3410
|
this.bumpTo(i);
|
|
3368
3411
|
var o = this.clonePosition(), a = x(t, o);
|
|
3369
3412
|
return { value: n, location: a };
|
|
@@ -3382,35 +3425,35 @@ var $i = (
|
|
|
3382
3425
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3383
3426
|
if (d.err)
|
|
3384
3427
|
return d;
|
|
3385
|
-
var f =
|
|
3428
|
+
var f = Vi(d.val);
|
|
3386
3429
|
if (f.length === 0)
|
|
3387
3430
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3388
|
-
var
|
|
3389
|
-
u = { style: f, styleLocation:
|
|
3431
|
+
var m = x(h, this.clonePosition());
|
|
3432
|
+
u = { style: f, styleLocation: m };
|
|
3390
3433
|
}
|
|
3391
3434
|
var g = this.tryParseArgumentClose(i);
|
|
3392
3435
|
if (g.err)
|
|
3393
3436
|
return g;
|
|
3394
3437
|
var v = x(i, this.clonePosition());
|
|
3395
|
-
if (u &&
|
|
3396
|
-
var
|
|
3438
|
+
if (u && Wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3439
|
+
var B = Wi(u.style.slice(2));
|
|
3397
3440
|
if (s === "number") {
|
|
3398
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3441
|
+
var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3399
3442
|
return d.err ? d : {
|
|
3400
|
-
val: { type:
|
|
3443
|
+
val: { type: S.number, value: n, location: v, style: d.val },
|
|
3401
3444
|
err: null
|
|
3402
3445
|
};
|
|
3403
3446
|
} else {
|
|
3404
|
-
if (
|
|
3447
|
+
if (B.length === 0)
|
|
3405
3448
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3406
|
-
var
|
|
3407
|
-
this.locale && (
|
|
3449
|
+
var N = B;
|
|
3450
|
+
this.locale && (N = Hi(B, this.locale));
|
|
3408
3451
|
var f = {
|
|
3409
|
-
type:
|
|
3410
|
-
pattern:
|
|
3452
|
+
type: ne.dateTime,
|
|
3453
|
+
pattern: N,
|
|
3411
3454
|
location: u.styleLocation,
|
|
3412
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3413
|
-
}, b = s === "date" ?
|
|
3455
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(N) : {}
|
|
3456
|
+
}, b = s === "date" ? S.date : S.time;
|
|
3414
3457
|
return {
|
|
3415
3458
|
val: { type: b, value: n, location: v, style: f },
|
|
3416
3459
|
err: null
|
|
@@ -3419,7 +3462,7 @@ var $i = (
|
|
|
3419
3462
|
}
|
|
3420
3463
|
return {
|
|
3421
3464
|
val: {
|
|
3422
|
-
type: s === "number" ?
|
|
3465
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3423
3466
|
value: n,
|
|
3424
3467
|
location: v,
|
|
3425
3468
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3430,21 +3473,21 @@ var $i = (
|
|
|
3430
3473
|
case "plural":
|
|
3431
3474
|
case "selectordinal":
|
|
3432
3475
|
case "select": {
|
|
3433
|
-
var
|
|
3476
|
+
var E = this.clonePosition();
|
|
3434
3477
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3435
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
3478
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(E, Pe({}, E)));
|
|
3436
3479
|
this.bumpSpace();
|
|
3437
|
-
var
|
|
3438
|
-
if (s !== "select" &&
|
|
3480
|
+
var w = this.parseIdentifierIfPossible(), P = 0;
|
|
3481
|
+
if (s !== "select" && w.value === "offset") {
|
|
3439
3482
|
if (!this.bumpIf(":"))
|
|
3440
3483
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3441
3484
|
this.bumpSpace();
|
|
3442
3485
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3443
3486
|
if (d.err)
|
|
3444
3487
|
return d;
|
|
3445
|
-
this.bumpSpace(),
|
|
3488
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), P = d.val;
|
|
3446
3489
|
}
|
|
3447
|
-
var W = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3490
|
+
var W = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3448
3491
|
if (W.err)
|
|
3449
3492
|
return W;
|
|
3450
3493
|
var g = this.tryParseArgumentClose(i);
|
|
@@ -3453,17 +3496,17 @@ var $i = (
|
|
|
3453
3496
|
var Y = x(i, this.clonePosition());
|
|
3454
3497
|
return s === "select" ? {
|
|
3455
3498
|
val: {
|
|
3456
|
-
type:
|
|
3499
|
+
type: S.select,
|
|
3457
3500
|
value: n,
|
|
3458
|
-
options:
|
|
3501
|
+
options: Vt(W.val),
|
|
3459
3502
|
location: Y
|
|
3460
3503
|
},
|
|
3461
3504
|
err: null
|
|
3462
3505
|
} : {
|
|
3463
3506
|
val: {
|
|
3464
|
-
type:
|
|
3507
|
+
type: S.plural,
|
|
3465
3508
|
value: n,
|
|
3466
|
-
options:
|
|
3509
|
+
options: Vt(W.val),
|
|
3467
3510
|
offset: P,
|
|
3468
3511
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3469
3512
|
location: Y
|
|
@@ -3514,16 +3557,16 @@ var $i = (
|
|
|
3514
3557
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3515
3558
|
var n = [];
|
|
3516
3559
|
try {
|
|
3517
|
-
n =
|
|
3560
|
+
n = Ii(t);
|
|
3518
3561
|
} catch (i) {
|
|
3519
3562
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3520
3563
|
}
|
|
3521
3564
|
return {
|
|
3522
3565
|
val: {
|
|
3523
|
-
type:
|
|
3566
|
+
type: ne.number,
|
|
3524
3567
|
tokens: n,
|
|
3525
3568
|
location: r,
|
|
3526
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3569
|
+
parsedOptions: this.shouldParseSkeletons ? Pi(n) : {}
|
|
3527
3570
|
},
|
|
3528
3571
|
err: null
|
|
3529
3572
|
};
|
|
@@ -3542,20 +3585,20 @@ var $i = (
|
|
|
3542
3585
|
if (l.has(u))
|
|
3543
3586
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3544
3587
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3545
|
-
var
|
|
3588
|
+
var m = this.clonePosition();
|
|
3546
3589
|
if (!this.bumpIf("{"))
|
|
3547
3590
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3548
3591
|
var g = this.parseMessage(t + 1, r, n);
|
|
3549
3592
|
if (g.err)
|
|
3550
3593
|
return g;
|
|
3551
|
-
var v = this.tryParseArgumentClose(
|
|
3594
|
+
var v = this.tryParseArgumentClose(m);
|
|
3552
3595
|
if (v.err)
|
|
3553
3596
|
return v;
|
|
3554
3597
|
s.push([
|
|
3555
3598
|
u,
|
|
3556
3599
|
{
|
|
3557
3600
|
value: g.val,
|
|
3558
|
-
location: x(
|
|
3601
|
+
location: x(m, this.clonePosition())
|
|
3559
3602
|
}
|
|
3560
3603
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3561
3604
|
}
|
|
@@ -3571,7 +3614,7 @@ var $i = (
|
|
|
3571
3614
|
break;
|
|
3572
3615
|
}
|
|
3573
3616
|
var l = x(i, this.clonePosition());
|
|
3574
|
-
return o ? (a *= n,
|
|
3617
|
+
return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3575
3618
|
}, e.prototype.offset = function() {
|
|
3576
3619
|
return this.position.offset;
|
|
3577
3620
|
}, e.prototype.isEOF = function() {
|
|
@@ -3586,7 +3629,7 @@ var $i = (
|
|
|
3586
3629
|
var t = this.position.offset;
|
|
3587
3630
|
if (t >= this.message.length)
|
|
3588
3631
|
throw Error("out of bound");
|
|
3589
|
-
var r =
|
|
3632
|
+
var r = Dr(this.message, t);
|
|
3590
3633
|
if (r === void 0)
|
|
3591
3634
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3592
3635
|
return r;
|
|
@@ -3605,7 +3648,7 @@ var $i = (
|
|
|
3605
3648
|
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);
|
|
3606
3649
|
}
|
|
3607
3650
|
}, e.prototype.bumpIf = function(t) {
|
|
3608
|
-
if (
|
|
3651
|
+
if (Wt(this.message, t, this.offset())) {
|
|
3609
3652
|
for (var r = 0; r < t.length; r++)
|
|
3610
3653
|
this.bump();
|
|
3611
3654
|
return !0;
|
|
@@ -3627,7 +3670,7 @@ var $i = (
|
|
|
3627
3670
|
break;
|
|
3628
3671
|
}
|
|
3629
3672
|
}, e.prototype.bumpSpace = function() {
|
|
3630
|
-
for (; !this.isEOF() &&
|
|
3673
|
+
for (; !this.isEOF() && $r(this.char()); )
|
|
3631
3674
|
this.bump();
|
|
3632
3675
|
}, e.prototype.peek = function() {
|
|
3633
3676
|
if (this.isEOF())
|
|
@@ -3637,47 +3680,47 @@ var $i = (
|
|
|
3637
3680
|
}, e;
|
|
3638
3681
|
}()
|
|
3639
3682
|
);
|
|
3640
|
-
function
|
|
3683
|
+
function dt(e) {
|
|
3641
3684
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3642
3685
|
}
|
|
3643
|
-
function
|
|
3644
|
-
return
|
|
3686
|
+
function zi(e) {
|
|
3687
|
+
return dt(e) || e === 47;
|
|
3645
3688
|
}
|
|
3646
|
-
function
|
|
3689
|
+
function Zi(e) {
|
|
3647
3690
|
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;
|
|
3648
3691
|
}
|
|
3649
|
-
function
|
|
3692
|
+
function $r(e) {
|
|
3650
3693
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3651
3694
|
}
|
|
3652
|
-
function
|
|
3695
|
+
function Qi(e) {
|
|
3653
3696
|
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;
|
|
3654
3697
|
}
|
|
3655
|
-
function
|
|
3698
|
+
function pt(e) {
|
|
3656
3699
|
e.forEach(function(t) {
|
|
3657
|
-
if (delete t.location,
|
|
3700
|
+
if (delete t.location, Hr(t) || Mr(t))
|
|
3658
3701
|
for (var r in t.options)
|
|
3659
|
-
delete t.options[r].location,
|
|
3702
|
+
delete t.options[r].location, pt(t.options[r].value);
|
|
3660
3703
|
else
|
|
3661
|
-
|
|
3704
|
+
Ar(t) && Lr(t.style) || (Tr(t) || Pr(t)) && ut(t.style) ? delete t.style.location : Or(t) && pt(t.children);
|
|
3662
3705
|
});
|
|
3663
3706
|
}
|
|
3664
|
-
function
|
|
3665
|
-
t === void 0 && (t = {}), t =
|
|
3666
|
-
var r = new
|
|
3707
|
+
function Yi(e, t) {
|
|
3708
|
+
t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3709
|
+
var r = new Xi(e, t).parse();
|
|
3667
3710
|
if (r.err) {
|
|
3668
3711
|
var n = SyntaxError(_[r.err.kind]);
|
|
3669
3712
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3670
3713
|
}
|
|
3671
|
-
return t != null && t.captureLocation ||
|
|
3714
|
+
return t != null && t.captureLocation || pt(r.val), r.val;
|
|
3672
3715
|
}
|
|
3673
|
-
var
|
|
3716
|
+
var ie;
|
|
3674
3717
|
(function(e) {
|
|
3675
3718
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3676
|
-
})(
|
|
3677
|
-
var
|
|
3719
|
+
})(ie || (ie = {}));
|
|
3720
|
+
var Re = (
|
|
3678
3721
|
/** @class */
|
|
3679
3722
|
function(e) {
|
|
3680
|
-
|
|
3723
|
+
Fe(t, e);
|
|
3681
3724
|
function t(r, n, i) {
|
|
3682
3725
|
var o = e.call(this, r) || this;
|
|
3683
3726
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3686,48 +3729,48 @@ var Ce = (
|
|
|
3686
3729
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3687
3730
|
}, t;
|
|
3688
3731
|
}(Error)
|
|
3689
|
-
),
|
|
3732
|
+
), zt = (
|
|
3690
3733
|
/** @class */
|
|
3691
3734
|
function(e) {
|
|
3692
|
-
|
|
3735
|
+
Fe(t, e);
|
|
3693
3736
|
function t(r, n, i, o) {
|
|
3694
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3737
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3695
3738
|
}
|
|
3696
3739
|
return t;
|
|
3697
|
-
}(
|
|
3698
|
-
),
|
|
3740
|
+
}(Re)
|
|
3741
|
+
), Ji = (
|
|
3699
3742
|
/** @class */
|
|
3700
3743
|
function(e) {
|
|
3701
|
-
|
|
3744
|
+
Fe(t, e);
|
|
3702
3745
|
function t(r, n, i) {
|
|
3703
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3746
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3704
3747
|
}
|
|
3705
3748
|
return t;
|
|
3706
|
-
}(
|
|
3707
|
-
),
|
|
3749
|
+
}(Re)
|
|
3750
|
+
), qi = (
|
|
3708
3751
|
/** @class */
|
|
3709
3752
|
function(e) {
|
|
3710
|
-
|
|
3753
|
+
Fe(t, e);
|
|
3711
3754
|
function t(r, n) {
|
|
3712
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3755
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3713
3756
|
}
|
|
3714
3757
|
return t;
|
|
3715
|
-
}(
|
|
3758
|
+
}(Re)
|
|
3716
3759
|
), O;
|
|
3717
3760
|
(function(e) {
|
|
3718
3761
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3719
3762
|
})(O || (O = {}));
|
|
3720
|
-
function
|
|
3763
|
+
function Ki(e) {
|
|
3721
3764
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3722
3765
|
var n = t[t.length - 1];
|
|
3723
3766
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3724
3767
|
}, []);
|
|
3725
3768
|
}
|
|
3726
|
-
function
|
|
3769
|
+
function eo(e) {
|
|
3727
3770
|
return typeof e == "function";
|
|
3728
3771
|
}
|
|
3729
3772
|
function Be(e, t, r, n, i, o, a) {
|
|
3730
|
-
if (e.length === 1 &&
|
|
3773
|
+
if (e.length === 1 && Gt(e[0]))
|
|
3731
3774
|
return [
|
|
3732
3775
|
{
|
|
3733
3776
|
type: O.literal,
|
|
@@ -3736,14 +3779,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3736
3779
|
];
|
|
3737
3780
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3738
3781
|
var h = u[l];
|
|
3739
|
-
if (
|
|
3782
|
+
if (Gt(h)) {
|
|
3740
3783
|
s.push({
|
|
3741
3784
|
type: O.literal,
|
|
3742
3785
|
value: h.value
|
|
3743
3786
|
});
|
|
3744
3787
|
continue;
|
|
3745
3788
|
}
|
|
3746
|
-
if (
|
|
3789
|
+
if (wi(h)) {
|
|
3747
3790
|
typeof o == "number" && s.push({
|
|
3748
3791
|
type: O.literal,
|
|
3749
3792
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3752,44 +3795,44 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3752
3795
|
}
|
|
3753
3796
|
var d = h.value;
|
|
3754
3797
|
if (!(i && d in i))
|
|
3755
|
-
throw new
|
|
3798
|
+
throw new qi(d, a);
|
|
3756
3799
|
var f = i[d];
|
|
3757
|
-
if (
|
|
3800
|
+
if (xi(h)) {
|
|
3758
3801
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3759
3802
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3760
3803
|
value: f
|
|
3761
3804
|
});
|
|
3762
3805
|
continue;
|
|
3763
3806
|
}
|
|
3764
|
-
if (
|
|
3765
|
-
var
|
|
3807
|
+
if (Tr(h)) {
|
|
3808
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
|
|
3766
3809
|
s.push({
|
|
3767
3810
|
type: O.literal,
|
|
3768
|
-
value: r.getDateTimeFormat(t,
|
|
3811
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3769
3812
|
});
|
|
3770
3813
|
continue;
|
|
3771
3814
|
}
|
|
3772
|
-
if (
|
|
3773
|
-
var
|
|
3815
|
+
if (Pr(h)) {
|
|
3816
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ut(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3774
3817
|
s.push({
|
|
3775
3818
|
type: O.literal,
|
|
3776
|
-
value: r.getDateTimeFormat(t,
|
|
3819
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3777
3820
|
});
|
|
3778
3821
|
continue;
|
|
3779
3822
|
}
|
|
3780
|
-
if (
|
|
3781
|
-
var
|
|
3782
|
-
|
|
3823
|
+
if (Ar(h)) {
|
|
3824
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Lr(h.style) ? h.style.parsedOptions : void 0;
|
|
3825
|
+
m && m.scale && (f = f * (m.scale || 1)), s.push({
|
|
3783
3826
|
type: O.literal,
|
|
3784
|
-
value: r.getNumberFormat(t,
|
|
3827
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3785
3828
|
});
|
|
3786
3829
|
continue;
|
|
3787
3830
|
}
|
|
3788
|
-
if (
|
|
3789
|
-
var g = h.children, v = h.value,
|
|
3790
|
-
if (!
|
|
3791
|
-
throw new
|
|
3792
|
-
var
|
|
3831
|
+
if (Or(h)) {
|
|
3832
|
+
var g = h.children, v = h.value, B = i[v];
|
|
3833
|
+
if (!eo(B))
|
|
3834
|
+
throw new Ji(v, "function", a);
|
|
3835
|
+
var N = Be(g, t, r, n, i, o), b = B(N.map(function(P) {
|
|
3793
3836
|
return P.value;
|
|
3794
3837
|
}));
|
|
3795
3838
|
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(P) {
|
|
@@ -3799,42 +3842,42 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3799
3842
|
};
|
|
3800
3843
|
}));
|
|
3801
3844
|
}
|
|
3802
|
-
if (
|
|
3803
|
-
var
|
|
3804
|
-
if (!
|
|
3805
|
-
throw new
|
|
3806
|
-
s.push.apply(s, Be(
|
|
3845
|
+
if (Hr(h)) {
|
|
3846
|
+
var E = h.options[f] || h.options.other;
|
|
3847
|
+
if (!E)
|
|
3848
|
+
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3849
|
+
s.push.apply(s, Be(E.value, t, r, n, i));
|
|
3807
3850
|
continue;
|
|
3808
3851
|
}
|
|
3809
|
-
if (
|
|
3810
|
-
var
|
|
3811
|
-
if (!
|
|
3852
|
+
if (Mr(h)) {
|
|
3853
|
+
var E = h.options["=".concat(f)];
|
|
3854
|
+
if (!E) {
|
|
3812
3855
|
if (!Intl.PluralRules)
|
|
3813
|
-
throw new
|
|
3856
|
+
throw new Re(`Intl.PluralRules is not available in this environment.
|
|
3814
3857
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3815
|
-
`,
|
|
3816
|
-
var
|
|
3817
|
-
|
|
3858
|
+
`, ie.MISSING_INTL_API, a);
|
|
3859
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3860
|
+
E = h.options[w] || h.options.other;
|
|
3818
3861
|
}
|
|
3819
|
-
if (!
|
|
3820
|
-
throw new
|
|
3821
|
-
s.push.apply(s, Be(
|
|
3862
|
+
if (!E)
|
|
3863
|
+
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3864
|
+
s.push.apply(s, Be(E.value, t, r, n, i, f - (h.offset || 0)));
|
|
3822
3865
|
continue;
|
|
3823
3866
|
}
|
|
3824
3867
|
}
|
|
3825
|
-
return
|
|
3868
|
+
return Ki(s);
|
|
3826
3869
|
}
|
|
3827
|
-
function
|
|
3828
|
-
return t ?
|
|
3829
|
-
return r[n] =
|
|
3870
|
+
function to(e, t) {
|
|
3871
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3872
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3830
3873
|
}, {})) : e;
|
|
3831
3874
|
}
|
|
3832
|
-
function
|
|
3875
|
+
function ro(e, t) {
|
|
3833
3876
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3834
|
-
return r[n] =
|
|
3835
|
-
},
|
|
3877
|
+
return r[n] = to(e[n], t[n]), r;
|
|
3878
|
+
}, G({}, e)) : e;
|
|
3836
3879
|
}
|
|
3837
|
-
function
|
|
3880
|
+
function Je(e) {
|
|
3838
3881
|
return {
|
|
3839
3882
|
create: function() {
|
|
3840
3883
|
return {
|
|
@@ -3848,39 +3891,39 @@ function Ze(e) {
|
|
|
3848
3891
|
}
|
|
3849
3892
|
};
|
|
3850
3893
|
}
|
|
3851
|
-
function
|
|
3894
|
+
function no(e) {
|
|
3852
3895
|
return e === void 0 && (e = {
|
|
3853
3896
|
number: {},
|
|
3854
3897
|
dateTime: {},
|
|
3855
3898
|
pluralRules: {}
|
|
3856
3899
|
}), {
|
|
3857
|
-
getNumberFormat:
|
|
3900
|
+
getNumberFormat: Ze(function() {
|
|
3858
3901
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3859
3902
|
r[n] = arguments[n];
|
|
3860
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3903
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
3861
3904
|
}, {
|
|
3862
|
-
cache:
|
|
3863
|
-
strategy:
|
|
3905
|
+
cache: Je(e.number),
|
|
3906
|
+
strategy: Qe.variadic
|
|
3864
3907
|
}),
|
|
3865
|
-
getDateTimeFormat:
|
|
3908
|
+
getDateTimeFormat: Ze(function() {
|
|
3866
3909
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3867
3910
|
r[n] = arguments[n];
|
|
3868
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3911
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
3869
3912
|
}, {
|
|
3870
|
-
cache:
|
|
3871
|
-
strategy:
|
|
3913
|
+
cache: Je(e.dateTime),
|
|
3914
|
+
strategy: Qe.variadic
|
|
3872
3915
|
}),
|
|
3873
|
-
getPluralRules:
|
|
3916
|
+
getPluralRules: Ze(function() {
|
|
3874
3917
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3875
3918
|
r[n] = arguments[n];
|
|
3876
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3919
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
|
|
3877
3920
|
}, {
|
|
3878
|
-
cache:
|
|
3879
|
-
strategy:
|
|
3921
|
+
cache: Je(e.pluralRules),
|
|
3922
|
+
strategy: Qe.variadic
|
|
3880
3923
|
})
|
|
3881
3924
|
};
|
|
3882
3925
|
}
|
|
3883
|
-
var
|
|
3926
|
+
var io = (
|
|
3884
3927
|
/** @class */
|
|
3885
3928
|
function() {
|
|
3886
3929
|
function e(t, r, n, i) {
|
|
@@ -3912,13 +3955,13 @@ var Ki = (
|
|
|
3912
3955
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3913
3956
|
var a = i || {};
|
|
3914
3957
|
a.formatters;
|
|
3915
|
-
var s =
|
|
3916
|
-
this.ast = e.__parse(t,
|
|
3958
|
+
var s = di(a, ["formatters"]);
|
|
3959
|
+
this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
|
|
3917
3960
|
} else
|
|
3918
3961
|
this.ast = t;
|
|
3919
3962
|
if (!Array.isArray(this.ast))
|
|
3920
3963
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3921
|
-
this.formats =
|
|
3964
|
+
this.formats = ro(e.formats, n), this.formatters = i && i.formatters || no(this.formatterCache);
|
|
3922
3965
|
}
|
|
3923
3966
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3924
3967
|
get: function() {
|
|
@@ -3931,7 +3974,7 @@ var Ki = (
|
|
|
3931
3974
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3932
3975
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3933
3976
|
}
|
|
3934
|
-
}, e.__parse =
|
|
3977
|
+
}, e.__parse = Yi, e.formats = {
|
|
3935
3978
|
number: {
|
|
3936
3979
|
integer: {
|
|
3937
3980
|
maximumFractionDigits: 0
|
|
@@ -3992,7 +4035,7 @@ var Ki = (
|
|
|
3992
4035
|
}, e;
|
|
3993
4036
|
}()
|
|
3994
4037
|
);
|
|
3995
|
-
function
|
|
4038
|
+
function oo(e, t) {
|
|
3996
4039
|
if (t == null)
|
|
3997
4040
|
return;
|
|
3998
4041
|
if (t in e)
|
|
@@ -4013,92 +4056,92 @@ function eo(e, t) {
|
|
|
4013
4056
|
n = void 0;
|
|
4014
4057
|
return n;
|
|
4015
4058
|
}
|
|
4016
|
-
const X = {},
|
|
4059
|
+
const X = {}, ao = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), kr = (e, t) => {
|
|
4017
4060
|
if (t == null)
|
|
4018
4061
|
return;
|
|
4019
4062
|
if (t in X && e in X[t])
|
|
4020
4063
|
return X[t][e];
|
|
4021
|
-
const r =
|
|
4064
|
+
const r = Ue(t);
|
|
4022
4065
|
for (let n = 0; n < r.length; n++) {
|
|
4023
|
-
const i = r[n], o =
|
|
4066
|
+
const i = r[n], o = lo(i, e);
|
|
4024
4067
|
if (o)
|
|
4025
|
-
return
|
|
4068
|
+
return ao(e, t, o);
|
|
4026
4069
|
}
|
|
4027
4070
|
};
|
|
4028
|
-
let
|
|
4029
|
-
const ye =
|
|
4030
|
-
function
|
|
4031
|
-
return
|
|
4071
|
+
let yt;
|
|
4072
|
+
const ye = Ce({});
|
|
4073
|
+
function so(e) {
|
|
4074
|
+
return yt[e] || null;
|
|
4032
4075
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return e in
|
|
4076
|
+
function jr(e) {
|
|
4077
|
+
return e in yt;
|
|
4035
4078
|
}
|
|
4036
|
-
function
|
|
4037
|
-
if (!
|
|
4079
|
+
function lo(e, t) {
|
|
4080
|
+
if (!jr(e))
|
|
4038
4081
|
return null;
|
|
4039
|
-
const r =
|
|
4040
|
-
return
|
|
4082
|
+
const r = so(e);
|
|
4083
|
+
return oo(r, t);
|
|
4041
4084
|
}
|
|
4042
|
-
function
|
|
4085
|
+
function uo(e) {
|
|
4043
4086
|
if (e == null)
|
|
4044
4087
|
return;
|
|
4045
|
-
const t =
|
|
4088
|
+
const t = Ue(e);
|
|
4046
4089
|
for (let r = 0; r < t.length; r++) {
|
|
4047
4090
|
const n = t[r];
|
|
4048
|
-
if (
|
|
4091
|
+
if (jr(n))
|
|
4049
4092
|
return n;
|
|
4050
4093
|
}
|
|
4051
4094
|
}
|
|
4052
|
-
function
|
|
4053
|
-
delete X[e], ye.update((r) => (r[e] =
|
|
4095
|
+
function Wr(e, ...t) {
|
|
4096
|
+
delete X[e], ye.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
|
|
4054
4097
|
}
|
|
4055
|
-
|
|
4098
|
+
se(
|
|
4056
4099
|
[ye],
|
|
4057
4100
|
([e]) => Object.keys(e)
|
|
4058
4101
|
);
|
|
4059
|
-
ye.subscribe((e) =>
|
|
4102
|
+
ye.subscribe((e) => yt = e);
|
|
4060
4103
|
const Ae = {};
|
|
4061
|
-
function
|
|
4104
|
+
function ho(e, t) {
|
|
4062
4105
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4063
4106
|
}
|
|
4064
|
-
function
|
|
4107
|
+
function Vr(e) {
|
|
4065
4108
|
return Ae[e];
|
|
4066
4109
|
}
|
|
4067
|
-
function
|
|
4068
|
-
return
|
|
4069
|
-
const r =
|
|
4110
|
+
function co(e) {
|
|
4111
|
+
return Ue(e).map((t) => {
|
|
4112
|
+
const r = Vr(t);
|
|
4070
4113
|
return [t, r ? [...r] : []];
|
|
4071
4114
|
}).filter(([, t]) => t.length > 0);
|
|
4072
4115
|
}
|
|
4073
|
-
function
|
|
4074
|
-
return e == null ? !1 :
|
|
4116
|
+
function mt(e) {
|
|
4117
|
+
return e == null ? !1 : Ue(e).some(
|
|
4075
4118
|
(t) => {
|
|
4076
4119
|
var r;
|
|
4077
|
-
return (r =
|
|
4120
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
4078
4121
|
}
|
|
4079
4122
|
);
|
|
4080
4123
|
}
|
|
4081
|
-
function
|
|
4124
|
+
function fo(e, t) {
|
|
4082
4125
|
return Promise.all(
|
|
4083
|
-
t.map((n) => (
|
|
4084
|
-
).then((n) =>
|
|
4085
|
-
}
|
|
4086
|
-
const
|
|
4087
|
-
function
|
|
4088
|
-
if (!
|
|
4089
|
-
return e in
|
|
4090
|
-
const t =
|
|
4091
|
-
return
|
|
4126
|
+
t.map((n) => (ho(e, n), n().then((i) => i.default || i)))
|
|
4127
|
+
).then((n) => Wr(e, ...n));
|
|
4128
|
+
}
|
|
4129
|
+
const ce = {};
|
|
4130
|
+
function Xr(e) {
|
|
4131
|
+
if (!mt(e))
|
|
4132
|
+
return e in ce ? ce[e] : Promise.resolve();
|
|
4133
|
+
const t = co(e);
|
|
4134
|
+
return ce[e] = Promise.all(
|
|
4092
4135
|
t.map(
|
|
4093
|
-
([r, n]) =>
|
|
4136
|
+
([r, n]) => fo(r, n)
|
|
4094
4137
|
)
|
|
4095
4138
|
).then(() => {
|
|
4096
|
-
if (
|
|
4097
|
-
return
|
|
4098
|
-
delete
|
|
4099
|
-
}),
|
|
4139
|
+
if (mt(e))
|
|
4140
|
+
return Xr(e);
|
|
4141
|
+
delete ce[e];
|
|
4142
|
+
}), ce[e];
|
|
4100
4143
|
}
|
|
4101
|
-
const
|
|
4144
|
+
const po = {
|
|
4102
4145
|
number: {
|
|
4103
4146
|
scientific: { notation: "scientific" },
|
|
4104
4147
|
engineering: { notation: "engineering" },
|
|
@@ -4127,135 +4170,135 @@ const lo = {
|
|
|
4127
4170
|
timeZoneName: "short"
|
|
4128
4171
|
}
|
|
4129
4172
|
}
|
|
4130
|
-
},
|
|
4173
|
+
}, mo = {
|
|
4131
4174
|
fallbackLocale: null,
|
|
4132
4175
|
loadingDelay: 200,
|
|
4133
|
-
formats:
|
|
4176
|
+
formats: po,
|
|
4134
4177
|
warnOnMissingMessages: !0,
|
|
4135
4178
|
handleMissingMessage: void 0,
|
|
4136
4179
|
ignoreTag: !0
|
|
4137
|
-
},
|
|
4138
|
-
function
|
|
4139
|
-
return
|
|
4180
|
+
}, go = mo;
|
|
4181
|
+
function oe() {
|
|
4182
|
+
return go;
|
|
4140
4183
|
}
|
|
4141
|
-
const
|
|
4142
|
-
var
|
|
4184
|
+
const qe = Ce(!1);
|
|
4185
|
+
var vo = Object.defineProperty, bo = Object.defineProperties, yo = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, _o = Object.prototype.hasOwnProperty, xo = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wo = (e, t) => {
|
|
4143
4186
|
for (var r in t || (t = {}))
|
|
4144
|
-
|
|
4145
|
-
if (
|
|
4146
|
-
for (var r of
|
|
4147
|
-
|
|
4187
|
+
_o.call(t, r) && Qt(e, r, t[r]);
|
|
4188
|
+
if (Zt)
|
|
4189
|
+
for (var r of Zt(t))
|
|
4190
|
+
xo.call(t, r) && Qt(e, r, t[r]);
|
|
4148
4191
|
return e;
|
|
4149
|
-
},
|
|
4150
|
-
let
|
|
4151
|
-
const
|
|
4152
|
-
function
|
|
4192
|
+
}, Eo = (e, t) => bo(e, yo(t));
|
|
4193
|
+
let gt;
|
|
4194
|
+
const He = Ce(null);
|
|
4195
|
+
function Yt(e) {
|
|
4153
4196
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4154
4197
|
}
|
|
4155
|
-
function
|
|
4156
|
-
const r =
|
|
4157
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4198
|
+
function Ue(e, t = oe().fallbackLocale) {
|
|
4199
|
+
const r = Yt(e);
|
|
4200
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
|
|
4158
4201
|
}
|
|
4159
4202
|
function Q() {
|
|
4160
|
-
return
|
|
4203
|
+
return gt != null ? gt : void 0;
|
|
4161
4204
|
}
|
|
4162
|
-
|
|
4163
|
-
|
|
4205
|
+
He.subscribe((e) => {
|
|
4206
|
+
gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4164
4207
|
});
|
|
4165
|
-
const
|
|
4166
|
-
if (e &&
|
|
4167
|
-
const { loadingDelay: t } =
|
|
4208
|
+
const No = (e) => {
|
|
4209
|
+
if (e && uo(e) && mt(e)) {
|
|
4210
|
+
const { loadingDelay: t } = oe();
|
|
4168
4211
|
let r;
|
|
4169
4212
|
return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
|
|
4170
|
-
() =>
|
|
4213
|
+
() => qe.set(!0),
|
|
4171
4214
|
t
|
|
4172
|
-
) :
|
|
4173
|
-
|
|
4215
|
+
) : qe.set(!0), Xr(e).then(() => {
|
|
4216
|
+
He.set(e);
|
|
4174
4217
|
}).finally(() => {
|
|
4175
|
-
clearTimeout(r),
|
|
4218
|
+
clearTimeout(r), qe.set(!1);
|
|
4176
4219
|
});
|
|
4177
4220
|
}
|
|
4178
|
-
return
|
|
4179
|
-
},
|
|
4180
|
-
set:
|
|
4181
|
-
}),
|
|
4221
|
+
return He.set(e);
|
|
4222
|
+
}, le = Eo(wo({}, He), {
|
|
4223
|
+
set: No
|
|
4224
|
+
}), De = (e) => {
|
|
4182
4225
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4183
4226
|
return (n) => {
|
|
4184
4227
|
const i = JSON.stringify(n);
|
|
4185
4228
|
return i in t ? t[i] : t[i] = e(n);
|
|
4186
4229
|
};
|
|
4187
4230
|
};
|
|
4188
|
-
var
|
|
4231
|
+
var So = Object.defineProperty, Me = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
|
|
4189
4232
|
for (var r in t || (t = {}))
|
|
4190
|
-
|
|
4191
|
-
if (
|
|
4192
|
-
for (var r of
|
|
4193
|
-
|
|
4233
|
+
zr.call(t, r) && Jt(e, r, t[r]);
|
|
4234
|
+
if (Me)
|
|
4235
|
+
for (var r of Me(t))
|
|
4236
|
+
Zr.call(t, r) && Jt(e, r, t[r]);
|
|
4194
4237
|
return e;
|
|
4195
|
-
},
|
|
4238
|
+
}, ue = (e, t) => {
|
|
4196
4239
|
var r = {};
|
|
4197
4240
|
for (var n in e)
|
|
4198
|
-
|
|
4199
|
-
if (e != null &&
|
|
4200
|
-
for (var n of
|
|
4201
|
-
t.indexOf(n) < 0 &&
|
|
4241
|
+
zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4242
|
+
if (e != null && Me)
|
|
4243
|
+
for (var n of Me(e))
|
|
4244
|
+
t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
|
|
4202
4245
|
return r;
|
|
4203
4246
|
};
|
|
4204
|
-
const
|
|
4205
|
-
const { formats: r } =
|
|
4247
|
+
const ge = (e, t) => {
|
|
4248
|
+
const { formats: r } = oe();
|
|
4206
4249
|
if (e in r && t in r[e])
|
|
4207
4250
|
return r[e][t];
|
|
4208
4251
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4209
|
-
},
|
|
4252
|
+
}, Io = De(
|
|
4210
4253
|
(e) => {
|
|
4211
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4254
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4212
4255
|
if (r == null)
|
|
4213
4256
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4214
|
-
return n && (i =
|
|
4257
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4215
4258
|
}
|
|
4216
|
-
),
|
|
4259
|
+
), Bo = De(
|
|
4217
4260
|
(e) => {
|
|
4218
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4261
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4219
4262
|
if (r == null)
|
|
4220
4263
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4221
|
-
return n ? i =
|
|
4264
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4222
4265
|
}
|
|
4223
|
-
),
|
|
4266
|
+
), Ao = De(
|
|
4224
4267
|
(e) => {
|
|
4225
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4268
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4226
4269
|
if (r == null)
|
|
4227
4270
|
throw new Error(
|
|
4228
4271
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4229
4272
|
);
|
|
4230
|
-
return n ? i =
|
|
4273
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4231
4274
|
}
|
|
4232
|
-
),
|
|
4275
|
+
), To = (e = {}) => {
|
|
4233
4276
|
var t = e, {
|
|
4234
4277
|
locale: r = Q()
|
|
4235
|
-
} = t, n =
|
|
4278
|
+
} = t, n = ue(t, [
|
|
4236
4279
|
"locale"
|
|
4237
4280
|
]);
|
|
4238
|
-
return
|
|
4239
|
-
},
|
|
4281
|
+
return Io(_t({ locale: r }, n));
|
|
4282
|
+
}, Po = (e = {}) => {
|
|
4240
4283
|
var t = e, {
|
|
4241
4284
|
locale: r = Q()
|
|
4242
|
-
} = t, n =
|
|
4285
|
+
} = t, n = ue(t, [
|
|
4243
4286
|
"locale"
|
|
4244
4287
|
]);
|
|
4245
|
-
return
|
|
4246
|
-
},
|
|
4288
|
+
return Bo(_t({ locale: r }, n));
|
|
4289
|
+
}, Ho = (e = {}) => {
|
|
4247
4290
|
var t = e, {
|
|
4248
4291
|
locale: r = Q()
|
|
4249
|
-
} = t, n =
|
|
4292
|
+
} = t, n = ue(t, [
|
|
4250
4293
|
"locale"
|
|
4251
4294
|
]);
|
|
4252
|
-
return
|
|
4253
|
-
},
|
|
4295
|
+
return Ao(_t({ locale: r }, n));
|
|
4296
|
+
}, Mo = De(
|
|
4254
4297
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4255
|
-
(e, t = Q()) => new
|
|
4256
|
-
ignoreTag:
|
|
4298
|
+
(e, t = Q()) => new io(e, t, oe().formats, {
|
|
4299
|
+
ignoreTag: oe().ignoreTag
|
|
4257
4300
|
})
|
|
4258
|
-
),
|
|
4301
|
+
), Oo = (e, t = {}) => {
|
|
4259
4302
|
var r, n, i, o;
|
|
4260
4303
|
let a = t;
|
|
4261
4304
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4268,9 +4311,9 @@ const ve = (e, t) => {
|
|
|
4268
4311
|
throw new Error(
|
|
4269
4312
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4270
4313
|
);
|
|
4271
|
-
let h =
|
|
4314
|
+
let h = kr(e, l);
|
|
4272
4315
|
if (!h)
|
|
4273
|
-
h = (o = (i = (n = (r =
|
|
4316
|
+
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;
|
|
4274
4317
|
else if (typeof h != "string")
|
|
4275
4318
|
return console.warn(
|
|
4276
4319
|
`[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.`
|
|
@@ -4279,7 +4322,7 @@ const ve = (e, t) => {
|
|
|
4279
4322
|
return h;
|
|
4280
4323
|
let d = h;
|
|
4281
4324
|
try {
|
|
4282
|
-
d =
|
|
4325
|
+
d = Mo(h, l).format(s);
|
|
4283
4326
|
} catch (f) {
|
|
4284
4327
|
f instanceof Error && console.warn(
|
|
4285
4328
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4287,20 +4330,20 @@ const ve = (e, t) => {
|
|
|
4287
4330
|
);
|
|
4288
4331
|
}
|
|
4289
4332
|
return d;
|
|
4290
|
-
},
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
window.emWidgets = { topic:
|
|
4296
|
-
const
|
|
4297
|
-
function
|
|
4298
|
-
|
|
4299
|
-
}
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4302
|
-
}
|
|
4303
|
-
const
|
|
4333
|
+
}, Lo = (e, t) => Ho(t).format(e), Co = (e, t) => Po(t).format(e), Fo = (e, t) => To(t).format(e), Ro = (e, t = Q()) => kr(e, t), Uo = se([le, ye], () => Oo);
|
|
4334
|
+
se([le], () => Lo);
|
|
4335
|
+
se([le], () => Co);
|
|
4336
|
+
se([le], () => Fo);
|
|
4337
|
+
se([le, ye], () => Ro);
|
|
4338
|
+
window.emWidgets = { topic: Qn };
|
|
4339
|
+
const qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4340
|
+
function Kt(e, t) {
|
|
4341
|
+
Wr(e, t);
|
|
4342
|
+
}
|
|
4343
|
+
function Do(e) {
|
|
4344
|
+
le.set(e);
|
|
4345
|
+
}
|
|
4346
|
+
const er = {
|
|
4304
4347
|
en: {
|
|
4305
4348
|
secondaryMenuTitle: "Categories"
|
|
4306
4349
|
},
|
|
@@ -4335,13 +4378,13 @@ const Qt = {
|
|
|
4335
4378
|
secondaryMenuTitle: "Categories"
|
|
4336
4379
|
}
|
|
4337
4380
|
};
|
|
4338
|
-
function
|
|
4381
|
+
function Go(e, t) {
|
|
4339
4382
|
if (e) {
|
|
4340
4383
|
const r = document.createElement("style");
|
|
4341
4384
|
r.innerHTML = t, e.appendChild(r);
|
|
4342
4385
|
}
|
|
4343
4386
|
}
|
|
4344
|
-
function
|
|
4387
|
+
function $o(e, t) {
|
|
4345
4388
|
const r = new URL(t);
|
|
4346
4389
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4347
4390
|
const i = document.createElement("style");
|
|
@@ -4350,7 +4393,7 @@ function Fo(e, t) {
|
|
|
4350
4393
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4351
4394
|
});
|
|
4352
4395
|
}
|
|
4353
|
-
function
|
|
4396
|
+
function ko(e, t, r) {
|
|
4354
4397
|
if (window.emMessageBus) {
|
|
4355
4398
|
const n = document.createElement("style");
|
|
4356
4399
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4358,51 +4401,51 @@ function Ro(e, t, r) {
|
|
|
4358
4401
|
});
|
|
4359
4402
|
}
|
|
4360
4403
|
}
|
|
4361
|
-
function
|
|
4362
|
-
|
|
4404
|
+
function jo(e) {
|
|
4405
|
+
vn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4363
4406
|
}
|
|
4364
|
-
function
|
|
4407
|
+
function tr(e, t, r) {
|
|
4365
4408
|
const n = e.slice();
|
|
4366
4409
|
return n[44] = t[r], n[46] = r, n;
|
|
4367
4410
|
}
|
|
4368
|
-
function
|
|
4411
|
+
function rr(e, t, r) {
|
|
4369
4412
|
const n = e.slice();
|
|
4370
4413
|
return n[44] = t[r], n;
|
|
4371
4414
|
}
|
|
4372
|
-
const
|
|
4373
|
-
function
|
|
4415
|
+
const Wo = (e) => ({}), nr = (e) => ({});
|
|
4416
|
+
function ir(e) {
|
|
4374
4417
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4375
|
-
e[6] &&
|
|
4418
|
+
e[6] && or(e), u = Te(
|
|
4376
4419
|
/*primaryMenuSpliced*/
|
|
4377
4420
|
e[7]
|
|
4378
4421
|
), h = [];
|
|
4379
4422
|
for (let f = 0; f < u.length; f += 1)
|
|
4380
|
-
h[f] =
|
|
4423
|
+
h[f] = ur(tr(e, u, f));
|
|
4381
4424
|
let d = !/*navigationBarSimple*/
|
|
4382
|
-
e[6] &&
|
|
4425
|
+
e[6] && hr(e);
|
|
4383
4426
|
return {
|
|
4384
4427
|
c() {
|
|
4385
|
-
t =
|
|
4428
|
+
t = I("div"), l && l.c(), r = j(), n = I("div");
|
|
4386
4429
|
for (let f = 0; f < h.length; f += 1)
|
|
4387
4430
|
h[f].c();
|
|
4388
|
-
i =
|
|
4431
|
+
i = j(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4389
4432
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4390
4433
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4391
4434
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4392
4435
|
(e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
|
|
4393
4436
|
},
|
|
4394
|
-
m(f,
|
|
4395
|
-
C(f, t,
|
|
4437
|
+
m(f, m) {
|
|
4438
|
+
C(f, t, m), l && l.m(t, null), y(t, r), y(t, n);
|
|
4396
4439
|
for (let g = 0; g < h.length; g += 1)
|
|
4397
4440
|
h[g] && h[g].m(n, null);
|
|
4398
4441
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4399
4442
|
},
|
|
4400
|
-
p(f,
|
|
4443
|
+
p(f, m) {
|
|
4401
4444
|
if (/*navigationBarSimple*/
|
|
4402
|
-
f[6] ? l && (
|
|
4445
|
+
f[6] ? l && (gr(), pe(l, 1, 1, () => {
|
|
4403
4446
|
l = null;
|
|
4404
|
-
}),
|
|
4405
|
-
64 && z(l, 1)) : (l =
|
|
4447
|
+
}), vr()) : l ? (l.p(f, m), m[0] & /*navigationBarSimple*/
|
|
4448
|
+
64 && z(l, 1)) : (l = or(f), l.c(), z(l, 1), l.m(t, r)), m[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4406
4449
|
32928) {
|
|
4407
4450
|
u = Te(
|
|
4408
4451
|
/*primaryMenuSpliced*/
|
|
@@ -4410,18 +4453,18 @@ function Kt(e) {
|
|
|
4410
4453
|
);
|
|
4411
4454
|
let g;
|
|
4412
4455
|
for (g = 0; g < u.length; g += 1) {
|
|
4413
|
-
const v =
|
|
4414
|
-
h[g] ? h[g].p(v,
|
|
4456
|
+
const v = tr(f, u, g);
|
|
4457
|
+
h[g] ? h[g].p(v, m) : (h[g] = ur(v), h[g].c(), h[g].m(n, i));
|
|
4415
4458
|
}
|
|
4416
4459
|
for (; g < h.length; g += 1)
|
|
4417
4460
|
h[g].d(1);
|
|
4418
4461
|
h.length = u.length;
|
|
4419
4462
|
}
|
|
4420
4463
|
/*navigationBarSimple*/
|
|
4421
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f,
|
|
4464
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, m) : (d = hr(f), d.c(), d.m(n, null)), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4422
4465
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4423
4466
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4424
|
-
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s ||
|
|
4467
|
+
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4425
4468
|
80 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4426
4469
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4427
4470
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
@@ -4433,89 +4476,89 @@ function Kt(e) {
|
|
|
4433
4476
|
pe(l), s = !1;
|
|
4434
4477
|
},
|
|
4435
4478
|
d(f) {
|
|
4436
|
-
f && L(t), l && l.d(),
|
|
4479
|
+
f && L(t), l && l.d(), mr(h, f), d && d.d();
|
|
4437
4480
|
}
|
|
4438
4481
|
};
|
|
4439
4482
|
}
|
|
4440
|
-
function
|
|
4483
|
+
function or(e) {
|
|
4441
4484
|
let t, r, n, i, o = (
|
|
4442
4485
|
/*secondarymenutitle*/
|
|
4443
4486
|
(e[0] || /*$_*/
|
|
4444
4487
|
e[12]("secondaryMenuTitle")) + ""
|
|
4445
4488
|
), a, s, l, u, h, d, f;
|
|
4446
|
-
const
|
|
4489
|
+
const m = (
|
|
4447
4490
|
/*#slots*/
|
|
4448
4491
|
e[27].close
|
|
4449
|
-
), g =
|
|
4450
|
-
|
|
4492
|
+
), g = dn(
|
|
4493
|
+
m,
|
|
4451
4494
|
e,
|
|
4452
4495
|
/*$$scope*/
|
|
4453
4496
|
e[26],
|
|
4454
|
-
|
|
4455
|
-
), v = g ||
|
|
4456
|
-
let
|
|
4497
|
+
nr
|
|
4498
|
+
), v = g || Vo();
|
|
4499
|
+
let B = Te(
|
|
4457
4500
|
/*secondaryMenu*/
|
|
4458
4501
|
e[8]
|
|
4459
|
-
),
|
|
4460
|
-
for (let b = 0; b <
|
|
4461
|
-
|
|
4502
|
+
), N = [];
|
|
4503
|
+
for (let b = 0; b < B.length; b += 1)
|
|
4504
|
+
N[b] = sr(rr(e, B, b));
|
|
4462
4505
|
return {
|
|
4463
4506
|
c() {
|
|
4464
|
-
t =
|
|
4465
|
-
for (let b = 0; b <
|
|
4466
|
-
|
|
4507
|
+
t = I("div"), r = I("span"), v && v.c(), n = j(), i = I("h3"), a = ve(o), s = j(), l = I("div");
|
|
4508
|
+
for (let b = 0; b < N.length; b += 1)
|
|
4509
|
+
N[b].c();
|
|
4467
4510
|
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*/
|
|
4468
4511
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4469
4512
|
},
|
|
4470
|
-
m(b,
|
|
4471
|
-
C(b, t,
|
|
4472
|
-
for (let
|
|
4473
|
-
|
|
4474
|
-
h = !0, d || (f =
|
|
4513
|
+
m(b, E) {
|
|
4514
|
+
C(b, t, E), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4515
|
+
for (let w = 0; w < N.length; w += 1)
|
|
4516
|
+
N[w] && N[w].m(l, null);
|
|
4517
|
+
h = !0, d || (f = Oe(
|
|
4475
4518
|
r,
|
|
4476
4519
|
"click",
|
|
4477
4520
|
/*navigationWindowToggle*/
|
|
4478
4521
|
e[14]
|
|
4479
4522
|
), d = !0);
|
|
4480
4523
|
},
|
|
4481
|
-
p(b,
|
|
4482
|
-
if (g && g.p && (!h ||
|
|
4483
|
-
67108864) &&
|
|
4524
|
+
p(b, E) {
|
|
4525
|
+
if (g && g.p && (!h || E[0] & /*$$scope*/
|
|
4526
|
+
67108864) && mn(
|
|
4484
4527
|
g,
|
|
4485
|
-
|
|
4528
|
+
m,
|
|
4486
4529
|
b,
|
|
4487
4530
|
/*$$scope*/
|
|
4488
4531
|
b[26],
|
|
4489
|
-
h ?
|
|
4490
|
-
|
|
4532
|
+
h ? pn(
|
|
4533
|
+
m,
|
|
4491
4534
|
/*$$scope*/
|
|
4492
4535
|
b[26],
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
) :
|
|
4536
|
+
E,
|
|
4537
|
+
Wo
|
|
4538
|
+
) : gn(
|
|
4496
4539
|
/*$$scope*/
|
|
4497
4540
|
b[26]
|
|
4498
4541
|
),
|
|
4499
|
-
|
|
4500
|
-
), (!h ||
|
|
4542
|
+
nr
|
|
4543
|
+
), (!h || E[0] & /*secondarymenutitle, $_*/
|
|
4501
4544
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4502
4545
|
(b[0] || /*$_*/
|
|
4503
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4546
|
+
b[12]("secondaryMenuTitle")) + "") && bt(a, o), E[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4504
4547
|
33056) {
|
|
4505
|
-
|
|
4548
|
+
B = Te(
|
|
4506
4549
|
/*secondaryMenu*/
|
|
4507
4550
|
b[8]
|
|
4508
4551
|
);
|
|
4509
|
-
let
|
|
4510
|
-
for (
|
|
4511
|
-
const P =
|
|
4512
|
-
|
|
4552
|
+
let w;
|
|
4553
|
+
for (w = 0; w < B.length; w += 1) {
|
|
4554
|
+
const P = rr(b, B, w);
|
|
4555
|
+
N[w] ? N[w].p(P, E) : (N[w] = sr(P), N[w].c(), N[w].m(l, null));
|
|
4513
4556
|
}
|
|
4514
|
-
for (;
|
|
4515
|
-
|
|
4516
|
-
|
|
4557
|
+
for (; w < N.length; w += 1)
|
|
4558
|
+
N[w].d(1);
|
|
4559
|
+
N.length = B.length;
|
|
4517
4560
|
}
|
|
4518
|
-
(!h ||
|
|
4561
|
+
(!h || E[0] & /*navigationWindowOpened*/
|
|
4519
4562
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4520
4563
|
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4521
4564
|
},
|
|
@@ -4526,11 +4569,11 @@ function er(e) {
|
|
|
4526
4569
|
pe(v, b), h = !1;
|
|
4527
4570
|
},
|
|
4528
4571
|
d(b) {
|
|
4529
|
-
b && L(t), v && v.d(b),
|
|
4572
|
+
b && L(t), v && v.d(b), mr(N, b), d = !1, f();
|
|
4530
4573
|
}
|
|
4531
4574
|
};
|
|
4532
4575
|
}
|
|
4533
|
-
function
|
|
4576
|
+
function Vo(e) {
|
|
4534
4577
|
let t, r;
|
|
4535
4578
|
return {
|
|
4536
4579
|
c() {
|
|
@@ -4545,11 +4588,11 @@ function Go(e) {
|
|
|
4545
4588
|
}
|
|
4546
4589
|
};
|
|
4547
4590
|
}
|
|
4548
|
-
function
|
|
4591
|
+
function ar(e) {
|
|
4549
4592
|
let t, r, n, i;
|
|
4550
4593
|
return {
|
|
4551
4594
|
c() {
|
|
4552
|
-
t =
|
|
4595
|
+
t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4553
4596
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4554
4597
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4555
4598
|
},
|
|
@@ -4558,7 +4601,7 @@ function tr(e) {
|
|
|
4558
4601
|
},
|
|
4559
4602
|
p(o, a) {
|
|
4560
4603
|
a[0] & /*secondaryMenu*/
|
|
4561
|
-
256 && !
|
|
4604
|
+
256 && !te(r.src, n = /*item*/
|
|
4562
4605
|
o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4563
4606
|
256 && i !== (i = /*item*/
|
|
4564
4607
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4568,13 +4611,13 @@ function tr(e) {
|
|
|
4568
4611
|
}
|
|
4569
4612
|
};
|
|
4570
4613
|
}
|
|
4571
|
-
function
|
|
4614
|
+
function sr(e) {
|
|
4572
4615
|
let t, r, n, i = (
|
|
4573
4616
|
/*item*/
|
|
4574
4617
|
e[44].label + ""
|
|
4575
4618
|
), o, a, s, l, u, h = (
|
|
4576
4619
|
/*item*/
|
|
4577
|
-
e[44].img &&
|
|
4620
|
+
e[44].img && ar(e)
|
|
4578
4621
|
);
|
|
4579
4622
|
function d() {
|
|
4580
4623
|
return (
|
|
@@ -4587,18 +4630,18 @@ function rr(e) {
|
|
|
4587
4630
|
}
|
|
4588
4631
|
return {
|
|
4589
4632
|
c() {
|
|
4590
|
-
t =
|
|
4633
|
+
t = I("div"), h && h.c(), r = j(), n = I("p"), o = ve(i), a = j(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4591
4634
|
(e[5] === /*item*/
|
|
4592
4635
|
e[44].id ? "ActiveItem" : ""));
|
|
4593
4636
|
},
|
|
4594
|
-
m(f,
|
|
4595
|
-
C(f, t,
|
|
4637
|
+
m(f, m) {
|
|
4638
|
+
C(f, t, m), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Oe(t, "click", d), l = !0);
|
|
4596
4639
|
},
|
|
4597
|
-
p(f,
|
|
4640
|
+
p(f, m) {
|
|
4598
4641
|
e = f, /*item*/
|
|
4599
|
-
e[44].img ? h ? h.p(e,
|
|
4642
|
+
e[44].img ? h ? h.p(e, m) : (h = ar(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), m[0] & /*secondaryMenu*/
|
|
4600
4643
|
256 && i !== (i = /*item*/
|
|
4601
|
-
e[44].label + "") &&
|
|
4644
|
+
e[44].label + "") && bt(o, i), m[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4602
4645
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4603
4646
|
(e[5] === /*item*/
|
|
4604
4647
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4608,11 +4651,11 @@ function rr(e) {
|
|
|
4608
4651
|
}
|
|
4609
4652
|
};
|
|
4610
4653
|
}
|
|
4611
|
-
function
|
|
4654
|
+
function lr(e) {
|
|
4612
4655
|
let t, r, n, i;
|
|
4613
4656
|
return {
|
|
4614
4657
|
c() {
|
|
4615
|
-
t =
|
|
4658
|
+
t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4616
4659
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4617
4660
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4618
4661
|
},
|
|
@@ -4621,7 +4664,7 @@ function nr(e) {
|
|
|
4621
4664
|
},
|
|
4622
4665
|
p(o, a) {
|
|
4623
4666
|
a[0] & /*primaryMenuSpliced*/
|
|
4624
|
-
128 && !
|
|
4667
|
+
128 && !te(r.src, n = /*item*/
|
|
4625
4668
|
o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
|
|
4626
4669
|
128 && i !== (i = /*item*/
|
|
4627
4670
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4631,13 +4674,13 @@ function nr(e) {
|
|
|
4631
4674
|
}
|
|
4632
4675
|
};
|
|
4633
4676
|
}
|
|
4634
|
-
function
|
|
4677
|
+
function ur(e) {
|
|
4635
4678
|
let t, r, n, i = (
|
|
4636
4679
|
/*item*/
|
|
4637
4680
|
e[44].label + ""
|
|
4638
4681
|
), o, a, s, l, u = (
|
|
4639
4682
|
/*item*/
|
|
4640
|
-
e[44].img &&
|
|
4683
|
+
e[44].img && lr(e)
|
|
4641
4684
|
);
|
|
4642
4685
|
function h() {
|
|
4643
4686
|
return (
|
|
@@ -4650,19 +4693,19 @@ function ir(e) {
|
|
|
4650
4693
|
}
|
|
4651
4694
|
return {
|
|
4652
4695
|
c() {
|
|
4653
|
-
t =
|
|
4696
|
+
t = I("div"), u && u.c(), r = j(), n = I("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4654
4697
|
e[46] + " " + /*activeMenuItemId*/
|
|
4655
4698
|
(e[5] === /*item*/
|
|
4656
4699
|
e[44].id ? "ActiveItem" : ""));
|
|
4657
4700
|
},
|
|
4658
4701
|
m(d, f) {
|
|
4659
|
-
C(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4702
|
+
C(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Oe(t, "click", h), s = !0);
|
|
4660
4703
|
},
|
|
4661
4704
|
p(d, f) {
|
|
4662
4705
|
e = d, /*item*/
|
|
4663
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4706
|
+
e[44].img ? u ? u.p(e, f) : (u = lr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4664
4707
|
128 && i !== (i = /*item*/
|
|
4665
|
-
e[44].label + "") &&
|
|
4708
|
+
e[44].label + "") && bt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4666
4709
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4667
4710
|
e[46] + " " + /*activeMenuItemId*/
|
|
4668
4711
|
(e[5] === /*item*/
|
|
@@ -4673,22 +4716,22 @@ function ir(e) {
|
|
|
4673
4716
|
}
|
|
4674
4717
|
};
|
|
4675
4718
|
}
|
|
4676
|
-
function
|
|
4719
|
+
function hr(e) {
|
|
4677
4720
|
let t, r, n, i, o;
|
|
4678
4721
|
function a(u, h) {
|
|
4679
4722
|
return (
|
|
4680
4723
|
/*isFlowerMenu*/
|
|
4681
|
-
u[11] ?
|
|
4724
|
+
u[11] ? Xo : zo
|
|
4682
4725
|
);
|
|
4683
4726
|
}
|
|
4684
4727
|
let s = a(e), l = s(e);
|
|
4685
4728
|
return {
|
|
4686
4729
|
c() {
|
|
4687
|
-
t =
|
|
4730
|
+
t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4688
4731
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4689
4732
|
},
|
|
4690
4733
|
m(u, h) {
|
|
4691
|
-
C(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4734
|
+
C(u, t, h), y(t, r), l.m(r, null), i || (o = Oe(
|
|
4692
4735
|
t,
|
|
4693
4736
|
"click",
|
|
4694
4737
|
/*navigationWindowToggle*/
|
|
@@ -4705,11 +4748,11 @@ function or(e) {
|
|
|
4705
4748
|
}
|
|
4706
4749
|
};
|
|
4707
4750
|
}
|
|
4708
|
-
function
|
|
4751
|
+
function Xo(e) {
|
|
4709
4752
|
let t, r, n, i, o, a, s;
|
|
4710
4753
|
return {
|
|
4711
4754
|
c() {
|
|
4712
|
-
t =
|
|
4755
|
+
t = I("div"), r = I("span"), n = j(), i = I("span"), o = j(), a = I("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4713
4756
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4714
4757
|
},
|
|
4715
4758
|
m(l, u) {
|
|
@@ -4725,18 +4768,18 @@ function $o(e) {
|
|
|
4725
4768
|
}
|
|
4726
4769
|
};
|
|
4727
4770
|
}
|
|
4728
|
-
function
|
|
4771
|
+
function zo(e) {
|
|
4729
4772
|
let t;
|
|
4730
4773
|
function r(o, a) {
|
|
4731
4774
|
return (
|
|
4732
4775
|
/*imageIconUrl*/
|
|
4733
|
-
o[9] ?
|
|
4776
|
+
o[9] ? Qo : Zo
|
|
4734
4777
|
);
|
|
4735
4778
|
}
|
|
4736
4779
|
let n = r(e), i = n(e);
|
|
4737
4780
|
return {
|
|
4738
4781
|
c() {
|
|
4739
|
-
i.c(), t =
|
|
4782
|
+
i.c(), t = _n();
|
|
4740
4783
|
},
|
|
4741
4784
|
m(o, a) {
|
|
4742
4785
|
i.m(o, a), C(o, t, a);
|
|
@@ -4749,14 +4792,14 @@ function ko(e) {
|
|
|
4749
4792
|
}
|
|
4750
4793
|
};
|
|
4751
4794
|
}
|
|
4752
|
-
function
|
|
4753
|
-
let t, r, n, i, o, a, s, l, u, h, d, f,
|
|
4795
|
+
function Zo(e) {
|
|
4796
|
+
let t, r, n, i, o, a, s, l, u, h, d, f, m, g;
|
|
4754
4797
|
return {
|
|
4755
4798
|
c() {
|
|
4756
|
-
t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"),
|
|
4799
|
+
t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), m = M("rect"), g = M("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(m, "class", "b"), c(m, "part", "b"), c(m, "width", "10"), c(m, "height", "10"), c(m, "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");
|
|
4757
4800
|
},
|
|
4758
|
-
m(v,
|
|
4759
|
-
C(v, t,
|
|
4801
|
+
m(v, B) {
|
|
4802
|
+
C(v, 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, m), y(f, g);
|
|
4760
4803
|
},
|
|
4761
4804
|
p: D,
|
|
4762
4805
|
d(v) {
|
|
@@ -4764,11 +4807,11 @@ function jo(e) {
|
|
|
4764
4807
|
}
|
|
4765
4808
|
};
|
|
4766
4809
|
}
|
|
4767
|
-
function
|
|
4810
|
+
function Qo(e) {
|
|
4768
4811
|
let t, r;
|
|
4769
4812
|
return {
|
|
4770
4813
|
c() {
|
|
4771
|
-
t =
|
|
4814
|
+
t = I("img"), te(t.src, r = /*imageIconUrl*/
|
|
4772
4815
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4773
4816
|
t,
|
|
4774
4817
|
"alt",
|
|
@@ -4781,7 +4824,7 @@ function Wo(e) {
|
|
|
4781
4824
|
},
|
|
4782
4825
|
p(n, i) {
|
|
4783
4826
|
i[0] & /*imageIconUrl*/
|
|
4784
|
-
512 && !
|
|
4827
|
+
512 && !te(t.src, r = /*imageIconUrl*/
|
|
4785
4828
|
n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4786
4829
|
512 && c(
|
|
4787
4830
|
t,
|
|
@@ -4795,14 +4838,14 @@ function Wo(e) {
|
|
|
4795
4838
|
}
|
|
4796
4839
|
};
|
|
4797
4840
|
}
|
|
4798
|
-
function
|
|
4841
|
+
function Yo(e) {
|
|
4799
4842
|
let t, r, n, i = !/*isLoading*/
|
|
4800
4843
|
e[1] && /*isMobile*/
|
|
4801
4844
|
e[13] && /*showNavigation*/
|
|
4802
|
-
e[3] &&
|
|
4845
|
+
e[3] && ir(e);
|
|
4803
4846
|
return {
|
|
4804
4847
|
c() {
|
|
4805
|
-
t =
|
|
4848
|
+
t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4806
4849
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4807
4850
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4808
4851
|
},
|
|
@@ -4814,9 +4857,9 @@ function Vo(e) {
|
|
|
4814
4857
|
o[1] && /*isMobile*/
|
|
4815
4858
|
o[13] && /*showNavigation*/
|
|
4816
4859
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4817
|
-
10 && z(i, 1)) : (i =
|
|
4860
|
+
10 && z(i, 1)) : (i = ir(o), i.c(), z(i, 1), i.m(t, null)) : i && (gr(), pe(i, 1, 1, () => {
|
|
4818
4861
|
i = null;
|
|
4819
|
-
}),
|
|
4862
|
+
}), vr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4820
4863
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4821
4864
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4822
4865
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4832,25 +4875,25 @@ function Vo(e) {
|
|
|
4832
4875
|
}
|
|
4833
4876
|
};
|
|
4834
4877
|
}
|
|
4835
|
-
function
|
|
4878
|
+
function Jo(e, t, r) {
|
|
4836
4879
|
let n;
|
|
4837
|
-
|
|
4838
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4839
|
-
const
|
|
4840
|
-
fetch(g).then((
|
|
4841
|
-
Object.keys(
|
|
4842
|
-
|
|
4880
|
+
fn(e, Uo, (p) => r(12, n = p));
|
|
4881
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: B = "false" } = t, N = window.navigator.userAgent, b = qt(N) !== "PC", E = !0, w = !1, P = !1, W = "", Y = !1, Ge = [], _e = [], V = [], $, xt = "", $e = {}, wt, ke = !1;
|
|
4882
|
+
const Qr = () => {
|
|
4883
|
+
fetch(g).then((A) => A.json()).then((A) => {
|
|
4884
|
+
Object.keys(A).forEach((H) => {
|
|
4885
|
+
Kt(H, A[H]);
|
|
4843
4886
|
});
|
|
4844
|
-
}).catch((
|
|
4845
|
-
console.log(
|
|
4887
|
+
}).catch((A) => {
|
|
4888
|
+
console.log(A);
|
|
4846
4889
|
});
|
|
4847
4890
|
};
|
|
4848
|
-
Object.keys(
|
|
4849
|
-
|
|
4891
|
+
Object.keys(er).forEach((p) => {
|
|
4892
|
+
Kt(p, er[p]);
|
|
4850
4893
|
});
|
|
4851
|
-
const
|
|
4852
|
-
if (
|
|
4853
|
-
switch (
|
|
4894
|
+
const Et = (p) => {
|
|
4895
|
+
if (p.data)
|
|
4896
|
+
switch (p.data.type) {
|
|
4854
4897
|
case "PlayerAccountMenuActive":
|
|
4855
4898
|
r(4, P = !1);
|
|
4856
4899
|
break;
|
|
@@ -4861,9 +4904,9 @@ function Xo(e, t, r) {
|
|
|
4861
4904
|
r(4, P = !1);
|
|
4862
4905
|
break;
|
|
4863
4906
|
}
|
|
4864
|
-
},
|
|
4865
|
-
r(11,
|
|
4866
|
-
},
|
|
4907
|
+
}, Yr = () => {
|
|
4908
|
+
r(11, ke = B.toLowerCase() === "true");
|
|
4909
|
+
}, Jr = () => {
|
|
4867
4910
|
r(4, P = !P), window.postMessage(
|
|
4868
4911
|
{
|
|
4869
4912
|
type: "MobileBottomNav",
|
|
@@ -4871,116 +4914,116 @@ function Xo(e, t, r) {
|
|
|
4871
4914
|
},
|
|
4872
4915
|
window.location.href
|
|
4873
4916
|
);
|
|
4874
|
-
},
|
|
4875
|
-
r(7, _e = []), r(7, _e = Y ?
|
|
4876
|
-
},
|
|
4877
|
-
|
|
4878
|
-
let
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
}), r(6, Y = V.length == 0), V.length >= 5 &&
|
|
4917
|
+
}, qr = (p) => {
|
|
4918
|
+
r(7, _e = []), r(7, _e = Y ? p.splice(0, 5) : p.splice(0, 4)), v && Nt();
|
|
4919
|
+
}, Kr = () => {
|
|
4920
|
+
je(), r(1, E = !0);
|
|
4921
|
+
let p = qt(N), A = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4922
|
+
A.searchParams.append("userRoles", h), p && A.searchParams.append("device", "mtWeb"), fetch(A.href).then((H) => H.json()).then((H) => {
|
|
4923
|
+
Ge = [], r(8, V = []), r(3, w = H.length > 0), H.forEach((R) => {
|
|
4924
|
+
$e[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, xt = R == null ? void 0 : R.img), r(8, V = R.children)) : Ge.push(R);
|
|
4925
|
+
}), r(6, Y = V.length == 0), V.length >= 5 && ke && r(8, V = V.splice(0, 5)), qr(Ge), r(1, E = !1);
|
|
4883
4926
|
}).catch((H) => {
|
|
4884
|
-
r(1,
|
|
4927
|
+
r(1, E = !1), console.error(H);
|
|
4885
4928
|
});
|
|
4886
|
-
},
|
|
4887
|
-
const
|
|
4888
|
-
|
|
4889
|
-
},
|
|
4890
|
-
|
|
4929
|
+
}, Nt = () => {
|
|
4930
|
+
const A = _e.concat(V).find((H) => H.path.includes(v));
|
|
4931
|
+
A ? r(5, W = A.id) : r(5, W = "");
|
|
4932
|
+
}, he = (p, A, H, R) => {
|
|
4933
|
+
$e[R] ? window.postMessage(
|
|
4891
4934
|
{
|
|
4892
4935
|
type: "MobileBottomNavigationEvent",
|
|
4893
|
-
event:
|
|
4936
|
+
event: $e[R]
|
|
4894
4937
|
},
|
|
4895
4938
|
window.location.href
|
|
4896
4939
|
) : window.postMessage(
|
|
4897
4940
|
{
|
|
4898
4941
|
type: "NavigateTo",
|
|
4899
|
-
path:
|
|
4900
|
-
target:
|
|
4942
|
+
path: p,
|
|
4943
|
+
target: A || null,
|
|
4901
4944
|
externalLink: H || !1
|
|
4902
4945
|
},
|
|
4903
4946
|
window.location.href
|
|
4904
4947
|
), r(4, P = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4905
4948
|
context: "MobileBottomNavigation",
|
|
4906
|
-
menuItem: `${
|
|
4949
|
+
menuItem: `${p}`
|
|
4907
4950
|
});
|
|
4908
|
-
},
|
|
4909
|
-
|
|
4910
|
-
},
|
|
4911
|
-
r(10,
|
|
4912
|
-
},
|
|
4951
|
+
}, en = () => {
|
|
4952
|
+
Do(s);
|
|
4953
|
+
}, je = () => {
|
|
4954
|
+
r(10, wt = b && window.innerHeight / window.innerWidth < 1);
|
|
4955
|
+
}, St = () => {
|
|
4913
4956
|
P && r(4, P = !1);
|
|
4914
4957
|
};
|
|
4915
|
-
|
|
4916
|
-
window.removeEventListener("message",
|
|
4958
|
+
Nn(() => (window.addEventListener("message", Et, !1), document.addEventListener("focusin", St), b && window.screen.orientation.addEventListener("change", je), () => {
|
|
4959
|
+
window.removeEventListener("message", Et), document.removeEventListener("focusin", St), b && window.screen.orientation.removeEventListener("change", je);
|
|
4917
4960
|
}));
|
|
4918
|
-
const
|
|
4919
|
-
var
|
|
4920
|
-
(
|
|
4921
|
-
},
|
|
4922
|
-
var
|
|
4923
|
-
(
|
|
4961
|
+
const tn = (p) => {
|
|
4962
|
+
var A, H;
|
|
4963
|
+
(A = p.attrs) != null && A.target ? he(p.path, (H = p.attrs) == null ? void 0 : H.target, p == null ? void 0 : p.externalLink, p.label) : he(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4964
|
+
}, rn = (p) => {
|
|
4965
|
+
var A, H;
|
|
4966
|
+
(A = p.attrs) != null && A.target ? he(p.path, (H = p.attrs) == null ? void 0 : H.target, p == null ? void 0 : p.externalLink, p.label) : he(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4924
4967
|
};
|
|
4925
|
-
function
|
|
4926
|
-
|
|
4927
|
-
|
|
4968
|
+
function nn(p) {
|
|
4969
|
+
Ke[p ? "unshift" : "push"](() => {
|
|
4970
|
+
$ = p, r(2, $);
|
|
4928
4971
|
});
|
|
4929
4972
|
}
|
|
4930
|
-
return e.$$set = (
|
|
4931
|
-
"cmsendpoint" in
|
|
4973
|
+
return e.$$set = (p) => {
|
|
4974
|
+
"cmsendpoint" in p && r(16, a = p.cmsendpoint), "lang" in p && r(17, s = p.lang), "env" in p && r(18, l = p.env), "secondarymenutitle" in p && r(0, u = p.secondarymenutitle), "userroles" in p && r(19, h = p.userroles), "mbsource" in p && r(20, d = p.mbsource), "clientstyling" in p && r(21, f = p.clientstyling), "clientstylingurl" in p && r(22, m = p.clientstylingurl), "translationurl" in p && r(23, g = p.translationurl), "activecategory" in p && r(24, v = p.activecategory), "flowermenustyle" in p && r(25, B = p.flowermenustyle), "$$scope" in p && r(26, o = p.$$scope);
|
|
4932
4975
|
}, e.$$.update = () => {
|
|
4933
4976
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4934
|
-
33554432 &&
|
|
4935
|
-
16777218 && v && !
|
|
4936
|
-
131072 && s &&
|
|
4937
|
-
983040 && a && s && l && h &&
|
|
4938
|
-
2097156 && f &&
|
|
4939
|
-
4194308 &&
|
|
4940
|
-
1048580 && d &&
|
|
4941
|
-
8388608 && g &&
|
|
4977
|
+
33554432 && B && Yr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4978
|
+
16777218 && v && !E && Nt(), e.$$.dirty[0] & /*lang*/
|
|
4979
|
+
131072 && s && en(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4980
|
+
983040 && a && s && l && h && Kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4981
|
+
2097156 && f && $ && Go($, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4982
|
+
4194308 && m && $ && $o($, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4983
|
+
1048580 && d && $ && ko($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4984
|
+
8388608 && g && Qr();
|
|
4942
4985
|
}, [
|
|
4943
4986
|
u,
|
|
4944
|
-
N,
|
|
4945
|
-
G,
|
|
4946
4987
|
E,
|
|
4988
|
+
$,
|
|
4989
|
+
w,
|
|
4947
4990
|
P,
|
|
4948
4991
|
W,
|
|
4949
4992
|
Y,
|
|
4950
4993
|
_e,
|
|
4951
4994
|
V,
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4995
|
+
xt,
|
|
4996
|
+
wt,
|
|
4997
|
+
ke,
|
|
4955
4998
|
n,
|
|
4956
4999
|
b,
|
|
4957
|
-
|
|
4958
|
-
|
|
5000
|
+
Jr,
|
|
5001
|
+
he,
|
|
4959
5002
|
a,
|
|
4960
5003
|
s,
|
|
4961
5004
|
l,
|
|
4962
5005
|
h,
|
|
4963
5006
|
d,
|
|
4964
5007
|
f,
|
|
4965
|
-
|
|
5008
|
+
m,
|
|
4966
5009
|
g,
|
|
4967
5010
|
v,
|
|
4968
|
-
|
|
5011
|
+
B,
|
|
4969
5012
|
o,
|
|
4970
5013
|
i,
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
5014
|
+
tn,
|
|
5015
|
+
rn,
|
|
5016
|
+
nn
|
|
4974
5017
|
];
|
|
4975
5018
|
}
|
|
4976
|
-
class
|
|
5019
|
+
class qo extends Ln {
|
|
4977
5020
|
constructor(t) {
|
|
4978
|
-
super(),
|
|
5021
|
+
super(), Mn(
|
|
4979
5022
|
this,
|
|
4980
5023
|
t,
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
5024
|
+
Jo,
|
|
5025
|
+
Yo,
|
|
5026
|
+
fr,
|
|
4984
5027
|
{
|
|
4985
5028
|
cmsendpoint: 16,
|
|
4986
5029
|
lang: 17,
|
|
@@ -4994,7 +5037,7 @@ class zo extends Tn {
|
|
|
4994
5037
|
activecategory: 24,
|
|
4995
5038
|
flowermenustyle: 25
|
|
4996
5039
|
},
|
|
4997
|
-
|
|
5040
|
+
jo,
|
|
4998
5041
|
[-1, -1]
|
|
4999
5042
|
);
|
|
5000
5043
|
}
|
|
@@ -5065,7 +5108,7 @@ class zo extends Tn {
|
|
|
5065
5108
|
this.$$set({ flowermenustyle: t }), F();
|
|
5066
5109
|
}
|
|
5067
5110
|
}
|
|
5068
|
-
|
|
5111
|
+
On(qo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5069
5112
|
export {
|
|
5070
|
-
|
|
5113
|
+
qo as default
|
|
5071
5114
|
};
|