@everymatrix/general-navigation-bar 1.75.0 → 1.76.0
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-DNxhH4WA.js → GeneralNavigationBar-Bd_ofslD.js} +812 -791
- package/components/{GeneralNavigationBar-CGs3gpFJ.js → GeneralNavigationBar-CiXvn55V.js} +866 -845
- 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-BHbOqmH4.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 Bt = (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 un(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 cr(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)
|
|
@@ -97,11 +97,11 @@ function dn(e, t, r, n) {
|
|
|
97
97
|
}
|
|
98
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 pn(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 vn(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 xn(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 mr() {
|
|
|
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
287
|
function Hn(e, t) {
|
|
288
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
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 Pn(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 Pn(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 =
|
|
316
|
+
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...m) => {
|
|
317
|
+
const g = m.length ? m[0] : f;
|
|
318
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,
|
|
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" && (gr = 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" && (gr = 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" && (gr = 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 Mn(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 On {
|
|
|
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 On {
|
|
|
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 On {
|
|
|
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 Cn(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 tt(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 tt(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 rt(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 = vr(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,56 +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
|
|
764
|
-
}
|
|
765
|
-
function
|
|
766
|
-
|
|
767
|
-
}
|
|
768
|
-
var
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
Promise: void 0,
|
|
772
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
773
|
-
useDeprecatedNextContext: !1
|
|
774
|
-
}, Fn = {
|
|
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);
|
|
745
|
+
}
|
|
746
|
+
function Mt(e) {
|
|
747
|
+
k(e) ? e() : e.unsubscribe();
|
|
748
|
+
}
|
|
749
|
+
var Fn = {
|
|
750
|
+
Promise: void 0
|
|
751
|
+
}, Rn = {
|
|
775
752
|
setTimeout: function(e, t) {
|
|
776
753
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
777
754
|
r[n - 2] = arguments[n];
|
|
778
|
-
return setTimeout.apply(void 0,
|
|
755
|
+
return setTimeout.apply(void 0, ot([e, t], it(r)));
|
|
779
756
|
},
|
|
780
757
|
clearTimeout: function(e) {
|
|
781
758
|
return clearTimeout(e);
|
|
782
759
|
},
|
|
783
760
|
delegate: void 0
|
|
784
761
|
};
|
|
785
|
-
function
|
|
786
|
-
|
|
762
|
+
function Un(e) {
|
|
763
|
+
Rn.setTimeout(function() {
|
|
787
764
|
throw e;
|
|
788
765
|
});
|
|
789
766
|
}
|
|
790
|
-
function
|
|
767
|
+
function Ot() {
|
|
791
768
|
}
|
|
792
769
|
function Ie(e) {
|
|
793
770
|
e();
|
|
794
771
|
}
|
|
795
|
-
var
|
|
796
|
-
|
|
772
|
+
var wr = function(e) {
|
|
773
|
+
be(t, e);
|
|
797
774
|
function t(r) {
|
|
798
775
|
var n = e.call(this) || this;
|
|
799
|
-
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;
|
|
800
777
|
}
|
|
801
778
|
return t.create = function(r, n, i) {
|
|
802
|
-
return new
|
|
779
|
+
return new st(r, n, i);
|
|
803
780
|
}, t.prototype.next = function(r) {
|
|
804
781
|
this.isStopped || this._next(r);
|
|
805
782
|
}, t.prototype.error = function(r) {
|
|
@@ -823,11 +800,7 @@ var xr = function(e) {
|
|
|
823
800
|
this.unsubscribe();
|
|
824
801
|
}
|
|
825
802
|
}, t;
|
|
826
|
-
}(
|
|
827
|
-
function Ve(e, t) {
|
|
828
|
-
return Un.call(e, t);
|
|
829
|
-
}
|
|
830
|
-
var Dn = function() {
|
|
803
|
+
}(Le), Dn = function() {
|
|
831
804
|
function e(t) {
|
|
832
805
|
this.partialObserver = t;
|
|
833
806
|
}
|
|
@@ -858,41 +831,29 @@ var Dn = function() {
|
|
|
858
831
|
we(r);
|
|
859
832
|
}
|
|
860
833
|
}, e;
|
|
861
|
-
}(),
|
|
862
|
-
|
|
834
|
+
}(), st = function(e) {
|
|
835
|
+
be(t, e);
|
|
863
836
|
function t(r, n, i) {
|
|
864
837
|
var o = e.call(this) || this, a;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
};
|
|
871
|
-
else {
|
|
872
|
-
var s;
|
|
873
|
-
o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
874
|
-
return o.unsubscribe();
|
|
875
|
-
}, a = {
|
|
876
|
-
next: r.next && Ve(r.next, s),
|
|
877
|
-
error: r.error && Ve(r.error, s),
|
|
878
|
-
complete: r.complete && Ve(r.complete, s)
|
|
879
|
-
}) : a = r;
|
|
880
|
-
}
|
|
881
|
-
return o.destination = new Dn(a), o;
|
|
838
|
+
return k(r) || !r ? a = {
|
|
839
|
+
next: r != null ? r : void 0,
|
|
840
|
+
error: n != null ? n : void 0,
|
|
841
|
+
complete: i != null ? i : void 0
|
|
842
|
+
} : a = r, o.destination = new Dn(a), o;
|
|
882
843
|
}
|
|
883
844
|
return t;
|
|
884
|
-
}(
|
|
845
|
+
}(wr);
|
|
885
846
|
function we(e) {
|
|
886
|
-
|
|
847
|
+
Un(e);
|
|
887
848
|
}
|
|
888
849
|
function Gn(e) {
|
|
889
850
|
throw e;
|
|
890
851
|
}
|
|
891
852
|
var $n = {
|
|
892
853
|
closed: !0,
|
|
893
|
-
next:
|
|
854
|
+
next: Ot,
|
|
894
855
|
error: Gn,
|
|
895
|
-
complete:
|
|
856
|
+
complete: Ot
|
|
896
857
|
}, kn = function() {
|
|
897
858
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
898
859
|
}();
|
|
@@ -906,7 +867,7 @@ function Wn(e) {
|
|
|
906
867
|
}, r);
|
|
907
868
|
};
|
|
908
869
|
}
|
|
909
|
-
var
|
|
870
|
+
var Lt = function() {
|
|
910
871
|
function e(t) {
|
|
911
872
|
t && (this._subscribe = t);
|
|
912
873
|
}
|
|
@@ -914,7 +875,7 @@ var Mt = function() {
|
|
|
914
875
|
var r = new e();
|
|
915
876
|
return r.source = this, r.operator = t, r;
|
|
916
877
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
917
|
-
var i = this, o = Xn(t) ? t : new
|
|
878
|
+
var i = this, o = Xn(t) ? t : new st(t, r, n);
|
|
918
879
|
return Ie(function() {
|
|
919
880
|
var a = i, s = a.operator, l = a.source;
|
|
920
881
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -927,8 +888,8 @@ var Mt = function() {
|
|
|
927
888
|
}
|
|
928
889
|
}, e.prototype.forEach = function(t, r) {
|
|
929
890
|
var n = this;
|
|
930
|
-
return r =
|
|
931
|
-
var a = new
|
|
891
|
+
return r = Ct(r), new r(function(i, o) {
|
|
892
|
+
var a = new st({
|
|
932
893
|
next: function(s) {
|
|
933
894
|
try {
|
|
934
895
|
t(s);
|
|
@@ -952,7 +913,7 @@ var Mt = function() {
|
|
|
952
913
|
return Wn(t)(this);
|
|
953
914
|
}, e.prototype.toPromise = function(t) {
|
|
954
915
|
var r = this;
|
|
955
|
-
return t =
|
|
916
|
+
return t = Ct(t), new t(function(n, i) {
|
|
956
917
|
var o;
|
|
957
918
|
r.subscribe(function(a) {
|
|
958
919
|
return o = a;
|
|
@@ -966,28 +927,28 @@ var Mt = function() {
|
|
|
966
927
|
return new e(t);
|
|
967
928
|
}, e;
|
|
968
929
|
}();
|
|
969
|
-
function
|
|
930
|
+
function Ct(e) {
|
|
970
931
|
var t;
|
|
971
|
-
return (t = e != null ? e :
|
|
932
|
+
return (t = e != null ? e : Fn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
972
933
|
}
|
|
973
934
|
function Vn(e) {
|
|
974
|
-
return e &&
|
|
935
|
+
return e && k(e.next) && k(e.error) && k(e.complete);
|
|
975
936
|
}
|
|
976
937
|
function Xn(e) {
|
|
977
|
-
return e && e instanceof
|
|
938
|
+
return e && e instanceof wr || Vn(e) && xr(e);
|
|
978
939
|
}
|
|
979
|
-
var zn =
|
|
940
|
+
var zn = yr(function(e) {
|
|
980
941
|
return function() {
|
|
981
942
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
982
943
|
};
|
|
983
|
-
}),
|
|
984
|
-
|
|
944
|
+
}), Er = function(e) {
|
|
945
|
+
be(t, e);
|
|
985
946
|
function t() {
|
|
986
947
|
var r = e.call(this) || this;
|
|
987
948
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
988
949
|
}
|
|
989
950
|
return t.prototype.lift = function(r) {
|
|
990
|
-
var n = new
|
|
951
|
+
var n = new Ft(this, this);
|
|
991
952
|
return n.operator = r, n;
|
|
992
953
|
}, t.prototype._throwIfClosed = function() {
|
|
993
954
|
if (this.closed)
|
|
@@ -999,7 +960,7 @@ var zn = vr(function(e) {
|
|
|
999
960
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1000
961
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1001
962
|
try {
|
|
1002
|
-
for (var a =
|
|
963
|
+
for (var a = nt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1003
964
|
var l = s.value;
|
|
1004
965
|
l.next(r);
|
|
1005
966
|
}
|
|
@@ -1048,20 +1009,20 @@ var zn = vr(function(e) {
|
|
|
1048
1009
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1049
1010
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1050
1011
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1051
|
-
return o || a ?
|
|
1052
|
-
n.currentObservers = null,
|
|
1012
|
+
return o || a ? _r : (this.currentObservers = null, s.push(r), new Le(function() {
|
|
1013
|
+
n.currentObservers = null, at(s, r);
|
|
1053
1014
|
}));
|
|
1054
1015
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1055
1016
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1056
1017
|
i ? r.error(o) : a && r.complete();
|
|
1057
1018
|
}, t.prototype.asObservable = function() {
|
|
1058
|
-
var r = new
|
|
1019
|
+
var r = new Lt();
|
|
1059
1020
|
return r.source = this, r;
|
|
1060
1021
|
}, t.create = function(r, n) {
|
|
1061
|
-
return new
|
|
1022
|
+
return new Ft(r, n);
|
|
1062
1023
|
}, t;
|
|
1063
|
-
}(
|
|
1064
|
-
|
|
1024
|
+
}(Lt), Ft = function(e) {
|
|
1025
|
+
be(t, e);
|
|
1065
1026
|
function t(r, n) {
|
|
1066
1027
|
var i = e.call(this) || this;
|
|
1067
1028
|
return i.destination = r, i.source = n, i;
|
|
@@ -1077,17 +1038,17 @@ var zn = vr(function(e) {
|
|
|
1077
1038
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1078
1039
|
}, t.prototype._subscribe = function(r) {
|
|
1079
1040
|
var n, i;
|
|
1080
|
-
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;
|
|
1081
1042
|
}, t;
|
|
1082
|
-
}(
|
|
1043
|
+
}(Er), Nr = {
|
|
1083
1044
|
now: function() {
|
|
1084
|
-
return (
|
|
1045
|
+
return (Nr.delegate || Date).now();
|
|
1085
1046
|
},
|
|
1086
1047
|
delegate: void 0
|
|
1087
1048
|
}, Zn = function(e) {
|
|
1088
|
-
|
|
1049
|
+
be(t, e);
|
|
1089
1050
|
function t(r, n, i) {
|
|
1090
|
-
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);
|
|
1091
1052
|
var o = e.call(this) || this;
|
|
1092
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;
|
|
1093
1054
|
}
|
|
@@ -1107,24 +1068,24 @@ var zn = vr(function(e) {
|
|
|
1107
1068
|
u && o.splice(0, u + 1);
|
|
1108
1069
|
}
|
|
1109
1070
|
}, t;
|
|
1110
|
-
}(
|
|
1111
|
-
const
|
|
1112
|
-
if (
|
|
1071
|
+
}(Er);
|
|
1072
|
+
const Rt = [], Ut = {}, Qn = (e, t = 0) => {
|
|
1073
|
+
if (Rt.indexOf(e) == -1) {
|
|
1113
1074
|
const r = new Zn(t);
|
|
1114
|
-
|
|
1075
|
+
Ut[e] = r, Rt.push(e);
|
|
1115
1076
|
}
|
|
1116
|
-
return
|
|
1077
|
+
return Ut[e];
|
|
1117
1078
|
}, q = [];
|
|
1118
1079
|
function Yn(e, t) {
|
|
1119
1080
|
return {
|
|
1120
|
-
subscribe:
|
|
1081
|
+
subscribe: Ce(e, t).subscribe
|
|
1121
1082
|
};
|
|
1122
1083
|
}
|
|
1123
|
-
function
|
|
1084
|
+
function Ce(e, t = D) {
|
|
1124
1085
|
let r;
|
|
1125
1086
|
const n = /* @__PURE__ */ new Set();
|
|
1126
1087
|
function i(s) {
|
|
1127
|
-
if (
|
|
1088
|
+
if (fr(e, s) && (e = s, r)) {
|
|
1128
1089
|
const l = !q.length;
|
|
1129
1090
|
for (const u of n)
|
|
1130
1091
|
u[1](), q.push(u, e);
|
|
@@ -1146,7 +1107,7 @@ function Le(e, t = D) {
|
|
|
1146
1107
|
}
|
|
1147
1108
|
return { set: i, update: o, subscribe: a };
|
|
1148
1109
|
}
|
|
1149
|
-
function
|
|
1110
|
+
function se(e, t, r) {
|
|
1150
1111
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1151
1112
|
if (!i.every(Boolean))
|
|
1152
1113
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1160,12 +1121,12 @@ function le(e, t, r) {
|
|
|
1160
1121
|
return;
|
|
1161
1122
|
d();
|
|
1162
1123
|
const g = t(n ? u[0] : u, a, s);
|
|
1163
|
-
o ? a(g) : d =
|
|
1164
|
-
},
|
|
1165
|
-
(g, v) =>
|
|
1124
|
+
o ? a(g) : d = vt(g) ? g : D;
|
|
1125
|
+
}, m = i.map(
|
|
1126
|
+
(g, v) => dr(
|
|
1166
1127
|
g,
|
|
1167
|
-
(
|
|
1168
|
-
u[v] =
|
|
1128
|
+
(B) => {
|
|
1129
|
+
u[v] = B, h &= ~(1 << v), l && f();
|
|
1169
1130
|
},
|
|
1170
1131
|
() => {
|
|
1171
1132
|
h |= 1 << v;
|
|
@@ -1173,7 +1134,7 @@ function le(e, t, r) {
|
|
|
1173
1134
|
)
|
|
1174
1135
|
);
|
|
1175
1136
|
return l = !0, f(), function() {
|
|
1176
|
-
|
|
1137
|
+
ae(m), d(), l = !1;
|
|
1177
1138
|
};
|
|
1178
1139
|
});
|
|
1179
1140
|
}
|
|
@@ -1197,29 +1158,29 @@ function ni(e) {
|
|
|
1197
1158
|
function ii(e) {
|
|
1198
1159
|
return Array.isArray(e) ? [] : {};
|
|
1199
1160
|
}
|
|
1200
|
-
function
|
|
1201
|
-
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;
|
|
1202
1163
|
}
|
|
1203
1164
|
function oi(e, t, r) {
|
|
1204
1165
|
return e.concat(t).map(function(n) {
|
|
1205
|
-
return
|
|
1166
|
+
return me(n, r);
|
|
1206
1167
|
});
|
|
1207
1168
|
}
|
|
1208
1169
|
function ai(e, t) {
|
|
1209
1170
|
if (!t.customMerge)
|
|
1210
|
-
return
|
|
1171
|
+
return re;
|
|
1211
1172
|
var r = t.customMerge(e);
|
|
1212
|
-
return typeof r == "function" ? r :
|
|
1173
|
+
return typeof r == "function" ? r : re;
|
|
1213
1174
|
}
|
|
1214
1175
|
function si(e) {
|
|
1215
1176
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1216
1177
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1217
1178
|
}) : [];
|
|
1218
1179
|
}
|
|
1219
|
-
function
|
|
1180
|
+
function Dt(e) {
|
|
1220
1181
|
return Object.keys(e).concat(si(e));
|
|
1221
1182
|
}
|
|
1222
|
-
function
|
|
1183
|
+
function Sr(e, t) {
|
|
1223
1184
|
try {
|
|
1224
1185
|
return t in e;
|
|
1225
1186
|
} catch (r) {
|
|
@@ -1227,129 +1188,179 @@ function Nr(e, t) {
|
|
|
1227
1188
|
}
|
|
1228
1189
|
}
|
|
1229
1190
|
function li(e, t) {
|
|
1230
|
-
return
|
|
1191
|
+
return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1231
1192
|
}
|
|
1232
1193
|
function ui(e, t, r) {
|
|
1233
1194
|
var n = {};
|
|
1234
|
-
return r.isMergeableObject(e) &&
|
|
1235
|
-
n[i] =
|
|
1236
|
-
}),
|
|
1237
|
-
li(e, i) || (
|
|
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));
|
|
1238
1199
|
}), n;
|
|
1239
1200
|
}
|
|
1240
|
-
function
|
|
1241
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified =
|
|
1201
|
+
function re(e, t, r) {
|
|
1202
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = me;
|
|
1242
1203
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1243
|
-
return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) :
|
|
1204
|
+
return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : me(t, r);
|
|
1244
1205
|
}
|
|
1245
|
-
|
|
1206
|
+
re.all = function(t, r) {
|
|
1246
1207
|
if (!Array.isArray(t))
|
|
1247
1208
|
throw new Error("first argument should be an array");
|
|
1248
1209
|
return t.reduce(function(n, i) {
|
|
1249
|
-
return
|
|
1210
|
+
return re(n, i, r);
|
|
1250
1211
|
}, {});
|
|
1251
1212
|
};
|
|
1252
|
-
var hi =
|
|
1213
|
+
var hi = re, ci = hi;
|
|
1253
1214
|
const fi = /* @__PURE__ */ Jn(ci);
|
|
1254
|
-
function
|
|
1255
|
-
|
|
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;
|
|
1256
1259
|
return i(e, {
|
|
1257
1260
|
cache: r,
|
|
1258
1261
|
serializer: n
|
|
1259
1262
|
});
|
|
1260
1263
|
}
|
|
1261
|
-
function
|
|
1264
|
+
function pi(e) {
|
|
1262
1265
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1263
1266
|
}
|
|
1264
|
-
function
|
|
1265
|
-
var i =
|
|
1267
|
+
function mi(e, t, r, n) {
|
|
1268
|
+
var i = pi(n) ? n : r(n), o = t.get(i);
|
|
1266
1269
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1267
1270
|
}
|
|
1268
1271
|
function Ir(e, t, r) {
|
|
1269
1272
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1270
1273
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1271
1274
|
}
|
|
1272
|
-
function
|
|
1275
|
+
function Br(e, t, r, n, i) {
|
|
1273
1276
|
return r.bind(t, e, n, i);
|
|
1274
1277
|
}
|
|
1275
|
-
function mi(e, t) {
|
|
1276
|
-
var r = e.length === 1 ? Sr : Ir;
|
|
1277
|
-
return pt(e, this, r, t.cache.create(), t.serializer);
|
|
1278
|
-
}
|
|
1279
|
-
function pi(e, t) {
|
|
1280
|
-
return pt(e, this, Ir, t.cache.create(), t.serializer);
|
|
1281
|
-
}
|
|
1282
1278
|
function gi(e, t) {
|
|
1283
|
-
|
|
1279
|
+
var r = e.length === 1 ? mi : Ir;
|
|
1280
|
+
return Br(e, this, r, t.cache.create(), t.serializer);
|
|
1284
1281
|
}
|
|
1285
|
-
|
|
1286
|
-
return
|
|
1287
|
-
};
|
|
1288
|
-
function gt() {
|
|
1289
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1282
|
+
function vi(e, t) {
|
|
1283
|
+
return Br(e, this, Ir, t.cache.create(), t.serializer);
|
|
1290
1284
|
}
|
|
1291
|
-
|
|
1292
|
-
return
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1285
|
+
var bi = function() {
|
|
1286
|
+
return JSON.stringify(arguments);
|
|
1287
|
+
}, yi = (
|
|
1288
|
+
/** @class */
|
|
1289
|
+
function() {
|
|
1290
|
+
function e() {
|
|
1291
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1292
|
+
}
|
|
1293
|
+
return e.prototype.get = function(t) {
|
|
1294
|
+
return this.cache[t];
|
|
1295
|
+
}, e.prototype.set = function(t, r) {
|
|
1296
|
+
this.cache[t] = r;
|
|
1297
|
+
}, e;
|
|
1298
|
+
}()
|
|
1299
|
+
), _i = {
|
|
1298
1300
|
create: function() {
|
|
1299
|
-
return new
|
|
1301
|
+
return new yi();
|
|
1300
1302
|
}
|
|
1301
|
-
},
|
|
1302
|
-
variadic:
|
|
1303
|
-
|
|
1304
|
-
|
|
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 _;
|
|
1305
1316
|
(function(e) {
|
|
1306
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";
|
|
1307
1318
|
})(_ || (_ = {}));
|
|
1308
|
-
var
|
|
1319
|
+
var S;
|
|
1309
1320
|
(function(e) {
|
|
1310
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";
|
|
1311
|
-
})(
|
|
1312
|
-
var
|
|
1322
|
+
})(S || (S = {}));
|
|
1323
|
+
var ne;
|
|
1313
1324
|
(function(e) {
|
|
1314
1325
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1315
|
-
})(
|
|
1316
|
-
function
|
|
1317
|
-
return e.type ===
|
|
1318
|
-
}
|
|
1319
|
-
function yi(e) {
|
|
1320
|
-
return e.type === I.argument;
|
|
1326
|
+
})(ne || (ne = {}));
|
|
1327
|
+
function Gt(e) {
|
|
1328
|
+
return e.type === S.literal;
|
|
1321
1329
|
}
|
|
1322
|
-
function
|
|
1323
|
-
return e.type ===
|
|
1330
|
+
function xi(e) {
|
|
1331
|
+
return e.type === S.argument;
|
|
1324
1332
|
}
|
|
1325
1333
|
function Ar(e) {
|
|
1326
|
-
return e.type ===
|
|
1334
|
+
return e.type === S.number;
|
|
1327
1335
|
}
|
|
1328
1336
|
function Tr(e) {
|
|
1329
|
-
return e.type ===
|
|
1330
|
-
}
|
|
1331
|
-
function Hr(e) {
|
|
1332
|
-
return e.type === I.select;
|
|
1337
|
+
return e.type === S.date;
|
|
1333
1338
|
}
|
|
1334
1339
|
function Pr(e) {
|
|
1335
|
-
return e.type ===
|
|
1340
|
+
return e.type === S.time;
|
|
1336
1341
|
}
|
|
1337
|
-
function
|
|
1338
|
-
return e.type ===
|
|
1342
|
+
function Hr(e) {
|
|
1343
|
+
return e.type === S.select;
|
|
1339
1344
|
}
|
|
1340
1345
|
function Mr(e) {
|
|
1341
|
-
return e.type ===
|
|
1346
|
+
return e.type === S.plural;
|
|
1347
|
+
}
|
|
1348
|
+
function wi(e) {
|
|
1349
|
+
return e.type === S.pound;
|
|
1342
1350
|
}
|
|
1343
1351
|
function Or(e) {
|
|
1344
|
-
return
|
|
1352
|
+
return e.type === S.tag;
|
|
1345
1353
|
}
|
|
1346
|
-
function
|
|
1347
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1354
|
+
function Lr(e) {
|
|
1355
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1348
1356
|
}
|
|
1349
|
-
|
|
1350
|
-
|
|
1357
|
+
function ut(e) {
|
|
1358
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1359
|
+
}
|
|
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) {
|
|
1351
1362
|
var t = {};
|
|
1352
|
-
return e.replace(
|
|
1363
|
+
return e.replace(Ei, function(r) {
|
|
1353
1364
|
var n = r.length;
|
|
1354
1365
|
switch (r[0]) {
|
|
1355
1366
|
case "G":
|
|
@@ -1438,11 +1449,21 @@ function wi(e) {
|
|
|
1438
1449
|
return "";
|
|
1439
1450
|
}), t;
|
|
1440
1451
|
}
|
|
1441
|
-
var
|
|
1442
|
-
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) {
|
|
1443
1464
|
if (e.length === 0)
|
|
1444
1465
|
throw new Error("Number skeleton cannot be empty");
|
|
1445
|
-
for (var t = e.split(
|
|
1466
|
+
for (var t = e.split(Si).filter(function(f) {
|
|
1446
1467
|
return f.length > 0;
|
|
1447
1468
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1448
1469
|
var o = i[n], a = o.split("/");
|
|
@@ -1457,17 +1478,17 @@ function Ni(e) {
|
|
|
1457
1478
|
}
|
|
1458
1479
|
return r;
|
|
1459
1480
|
}
|
|
1460
|
-
function
|
|
1481
|
+
function Bi(e) {
|
|
1461
1482
|
return e.replace(/^(.*?)-/, "");
|
|
1462
1483
|
}
|
|
1463
|
-
var
|
|
1464
|
-
function
|
|
1484
|
+
var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
|
|
1485
|
+
function kt(e) {
|
|
1465
1486
|
var t = {};
|
|
1466
|
-
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) {
|
|
1467
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)), "";
|
|
1468
1489
|
}), t;
|
|
1469
1490
|
}
|
|
1470
|
-
function
|
|
1491
|
+
function Ur(e) {
|
|
1471
1492
|
switch (e) {
|
|
1472
1493
|
case "sign-auto":
|
|
1473
1494
|
return {
|
|
@@ -1507,7 +1528,7 @@ function Rr(e) {
|
|
|
1507
1528
|
};
|
|
1508
1529
|
}
|
|
1509
1530
|
}
|
|
1510
|
-
function
|
|
1531
|
+
function Ti(e) {
|
|
1511
1532
|
var t;
|
|
1512
1533
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1513
1534
|
notation: "engineering"
|
|
@@ -1515,17 +1536,17 @@ function Bi(e) {
|
|
|
1515
1536
|
notation: "scientific"
|
|
1516
1537
|
}, e = e.slice(1)), t) {
|
|
1517
1538
|
var r = e.slice(0, 2);
|
|
1518
|
-
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))
|
|
1519
1540
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1520
1541
|
t.minimumIntegerDigits = e.length;
|
|
1521
1542
|
}
|
|
1522
1543
|
return t;
|
|
1523
1544
|
}
|
|
1524
|
-
function
|
|
1525
|
-
var t = {}, r =
|
|
1545
|
+
function jt(e) {
|
|
1546
|
+
var t = {}, r = Ur(e);
|
|
1526
1547
|
return r || t;
|
|
1527
1548
|
}
|
|
1528
|
-
function
|
|
1549
|
+
function Pi(e) {
|
|
1529
1550
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1530
1551
|
var i = n[r];
|
|
1531
1552
|
switch (i.stem) {
|
|
@@ -1549,7 +1570,7 @@ function Ai(e) {
|
|
|
1549
1570
|
continue;
|
|
1550
1571
|
case "measure-unit":
|
|
1551
1572
|
case "unit":
|
|
1552
|
-
t.style = "unit", t.unit =
|
|
1573
|
+
t.style = "unit", t.unit = Bi(i.options[0]);
|
|
1553
1574
|
continue;
|
|
1554
1575
|
case "compact-short":
|
|
1555
1576
|
case "K":
|
|
@@ -1560,13 +1581,13 @@ function Ai(e) {
|
|
|
1560
1581
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1561
1582
|
continue;
|
|
1562
1583
|
case "scientific":
|
|
1563
|
-
t =
|
|
1564
|
-
return
|
|
1584
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1585
|
+
return T(T({}, l), jt(u));
|
|
1565
1586
|
}, {}));
|
|
1566
1587
|
continue;
|
|
1567
1588
|
case "engineering":
|
|
1568
|
-
t =
|
|
1569
|
-
return
|
|
1589
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1590
|
+
return T(T({}, l), jt(u));
|
|
1570
1591
|
}, {}));
|
|
1571
1592
|
continue;
|
|
1572
1593
|
case "notation-simple":
|
|
@@ -1611,41 +1632,41 @@ function Ai(e) {
|
|
|
1611
1632
|
case "integer-width":
|
|
1612
1633
|
if (i.options.length > 1)
|
|
1613
1634
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1614
|
-
i.options[0].replace(
|
|
1635
|
+
i.options[0].replace(Ai, function(l, u, h, d, f, m) {
|
|
1615
1636
|
if (u)
|
|
1616
1637
|
t.minimumIntegerDigits = h.length;
|
|
1617
1638
|
else {
|
|
1618
1639
|
if (d && f)
|
|
1619
1640
|
throw new Error("We currently do not support maximum integer digits");
|
|
1620
|
-
if (
|
|
1641
|
+
if (m)
|
|
1621
1642
|
throw new Error("We currently do not support exact integer digits");
|
|
1622
1643
|
}
|
|
1623
1644
|
return "";
|
|
1624
1645
|
});
|
|
1625
1646
|
continue;
|
|
1626
1647
|
}
|
|
1627
|
-
if (
|
|
1648
|
+
if (Rr.test(i.stem)) {
|
|
1628
1649
|
t.minimumIntegerDigits = i.stem.length;
|
|
1629
1650
|
continue;
|
|
1630
1651
|
}
|
|
1631
|
-
if (
|
|
1652
|
+
if ($t.test(i.stem)) {
|
|
1632
1653
|
if (i.options.length > 1)
|
|
1633
1654
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1634
|
-
i.stem.replace(
|
|
1635
|
-
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), "";
|
|
1636
1657
|
});
|
|
1637
1658
|
var o = i.options[0];
|
|
1638
|
-
o === "w" ? t =
|
|
1659
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), kt(o)));
|
|
1639
1660
|
continue;
|
|
1640
1661
|
}
|
|
1641
|
-
if (
|
|
1642
|
-
t =
|
|
1662
|
+
if (Fr.test(i.stem)) {
|
|
1663
|
+
t = T(T({}, t), kt(i.stem));
|
|
1643
1664
|
continue;
|
|
1644
1665
|
}
|
|
1645
|
-
var a =
|
|
1646
|
-
a && (t =
|
|
1647
|
-
var s =
|
|
1648
|
-
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));
|
|
1649
1670
|
}
|
|
1650
1671
|
return t;
|
|
1651
1672
|
}
|
|
@@ -3064,13 +3085,13 @@ var Ee = {
|
|
|
3064
3085
|
"h"
|
|
3065
3086
|
]
|
|
3066
3087
|
};
|
|
3067
|
-
function
|
|
3088
|
+
function Hi(e, t) {
|
|
3068
3089
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3069
3090
|
var i = e.charAt(n);
|
|
3070
3091
|
if (i === "j") {
|
|
3071
3092
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3072
3093
|
o++, n++;
|
|
3073
|
-
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);
|
|
3074
3095
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3075
3096
|
r += l;
|
|
3076
3097
|
for (; a-- > 0; )
|
|
@@ -3080,7 +3101,7 @@ function Ti(e, t) {
|
|
|
3080
3101
|
}
|
|
3081
3102
|
return r;
|
|
3082
3103
|
}
|
|
3083
|
-
function
|
|
3104
|
+
function Mi(e) {
|
|
3084
3105
|
var t = e.hourCycle;
|
|
3085
3106
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3086
3107
|
e.hourCycles && // @ts-ignore
|
|
@@ -3102,20 +3123,20 @@ function Hi(e) {
|
|
|
3102
3123
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3103
3124
|
return i[0];
|
|
3104
3125
|
}
|
|
3105
|
-
var
|
|
3126
|
+
var Ye, Oi = new RegExp("^".concat(Cr.source, "*")), Li = new RegExp("".concat(Cr.source, "*$"));
|
|
3106
3127
|
function x(e, t) {
|
|
3107
3128
|
return { start: e, end: t };
|
|
3108
3129
|
}
|
|
3109
|
-
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) {
|
|
3110
3131
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3111
|
-
},
|
|
3132
|
+
}, ht = !0;
|
|
3112
3133
|
try {
|
|
3113
|
-
var
|
|
3114
|
-
|
|
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";
|
|
3115
3136
|
} catch (e) {
|
|
3116
|
-
|
|
3137
|
+
ht = !1;
|
|
3117
3138
|
}
|
|
3118
|
-
var
|
|
3139
|
+
var Wt = Ci ? (
|
|
3119
3140
|
// Native
|
|
3120
3141
|
function(t, r, n) {
|
|
3121
3142
|
return t.startsWith(r, n);
|
|
@@ -3125,7 +3146,7 @@ var kt = Oi ? (
|
|
|
3125
3146
|
function(t, r, n) {
|
|
3126
3147
|
return t.slice(n, n + r.length) === r;
|
|
3127
3148
|
}
|
|
3128
|
-
),
|
|
3149
|
+
), ct = Fi ? String.fromCodePoint : (
|
|
3129
3150
|
// IE11
|
|
3130
3151
|
function() {
|
|
3131
3152
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3137,9 +3158,9 @@ var kt = Oi ? (
|
|
|
3137
3158
|
}
|
|
3138
3159
|
return n;
|
|
3139
3160
|
}
|
|
3140
|
-
),
|
|
3161
|
+
), Vt = (
|
|
3141
3162
|
// native
|
|
3142
|
-
|
|
3163
|
+
Ri ? Object.fromEntries : (
|
|
3143
3164
|
// Ponyfill
|
|
3144
3165
|
function(t) {
|
|
3145
3166
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3149,7 +3170,7 @@ var kt = Oi ? (
|
|
|
3149
3170
|
return r;
|
|
3150
3171
|
}
|
|
3151
3172
|
)
|
|
3152
|
-
),
|
|
3173
|
+
), Dr = Ui ? (
|
|
3153
3174
|
// Native
|
|
3154
3175
|
function(t, r) {
|
|
3155
3176
|
return t.codePointAt(r);
|
|
@@ -3163,7 +3184,7 @@ var kt = Oi ? (
|
|
|
3163
3184
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3164
3185
|
}
|
|
3165
3186
|
}
|
|
3166
|
-
),
|
|
3187
|
+
), Wi = Di ? (
|
|
3167
3188
|
// Native
|
|
3168
3189
|
function(t) {
|
|
3169
3190
|
return t.trimStart();
|
|
@@ -3171,9 +3192,9 @@ var kt = Oi ? (
|
|
|
3171
3192
|
) : (
|
|
3172
3193
|
// Ponyfill
|
|
3173
3194
|
function(t) {
|
|
3174
|
-
return t.replace(
|
|
3195
|
+
return t.replace(Oi, "");
|
|
3175
3196
|
}
|
|
3176
|
-
),
|
|
3197
|
+
), Vi = Gi ? (
|
|
3177
3198
|
// Native
|
|
3178
3199
|
function(t) {
|
|
3179
3200
|
return t.trimEnd();
|
|
@@ -3181,32 +3202,32 @@ var kt = Oi ? (
|
|
|
3181
3202
|
) : (
|
|
3182
3203
|
// Ponyfill
|
|
3183
3204
|
function(t) {
|
|
3184
|
-
return t.replace(
|
|
3205
|
+
return t.replace(Li, "");
|
|
3185
3206
|
}
|
|
3186
3207
|
);
|
|
3187
|
-
function
|
|
3208
|
+
function Gr(e, t) {
|
|
3188
3209
|
return new RegExp(e, t);
|
|
3189
3210
|
}
|
|
3190
|
-
var
|
|
3191
|
-
if (
|
|
3192
|
-
var
|
|
3193
|
-
|
|
3211
|
+
var ft;
|
|
3212
|
+
if (ht) {
|
|
3213
|
+
var Xt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3214
|
+
ft = function(t, r) {
|
|
3194
3215
|
var n;
|
|
3195
|
-
|
|
3196
|
-
var i =
|
|
3216
|
+
Xt.lastIndex = r;
|
|
3217
|
+
var i = Xt.exec(t);
|
|
3197
3218
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3198
3219
|
};
|
|
3199
3220
|
} else
|
|
3200
|
-
|
|
3221
|
+
ft = function(t, r) {
|
|
3201
3222
|
for (var n = []; ; ) {
|
|
3202
|
-
var i =
|
|
3203
|
-
if (i === void 0 ||
|
|
3223
|
+
var i = Dr(t, r);
|
|
3224
|
+
if (i === void 0 || $r(i) || Qi(i))
|
|
3204
3225
|
break;
|
|
3205
3226
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3206
3227
|
}
|
|
3207
|
-
return
|
|
3228
|
+
return ct.apply(void 0, n);
|
|
3208
3229
|
};
|
|
3209
|
-
var
|
|
3230
|
+
var Xi = (
|
|
3210
3231
|
/** @class */
|
|
3211
3232
|
function() {
|
|
3212
3233
|
function e(t, r) {
|
|
@@ -3230,14 +3251,14 @@ var Wi = (
|
|
|
3230
3251
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3231
3252
|
var s = this.clonePosition();
|
|
3232
3253
|
this.bump(), i.push({
|
|
3233
|
-
type:
|
|
3254
|
+
type: S.pound,
|
|
3234
3255
|
location: x(s, this.clonePosition())
|
|
3235
3256
|
});
|
|
3236
3257
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3237
3258
|
if (n)
|
|
3238
3259
|
break;
|
|
3239
3260
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3240
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3261
|
+
} else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
|
|
3241
3262
|
var a = this.parseTag(t, r);
|
|
3242
3263
|
if (a.err)
|
|
3243
3264
|
return a;
|
|
@@ -3258,7 +3279,7 @@ var Wi = (
|
|
|
3258
3279
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3259
3280
|
return {
|
|
3260
3281
|
val: {
|
|
3261
|
-
type:
|
|
3282
|
+
type: S.literal,
|
|
3262
3283
|
value: "<".concat(i, "/>"),
|
|
3263
3284
|
location: x(n, this.clonePosition())
|
|
3264
3285
|
},
|
|
@@ -3270,12 +3291,12 @@ var Wi = (
|
|
|
3270
3291
|
return o;
|
|
3271
3292
|
var a = o.val, s = this.clonePosition();
|
|
3272
3293
|
if (this.bumpIf("</")) {
|
|
3273
|
-
if (this.isEOF() || !
|
|
3294
|
+
if (this.isEOF() || !dt(this.char()))
|
|
3274
3295
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3275
3296
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3276
3297
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3277
3298
|
val: {
|
|
3278
|
-
type:
|
|
3299
|
+
type: S.tag,
|
|
3279
3300
|
value: i,
|
|
3280
3301
|
children: a,
|
|
3281
3302
|
location: x(n, this.clonePosition())
|
|
@@ -3288,7 +3309,7 @@ var Wi = (
|
|
|
3288
3309
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3289
3310
|
}, e.prototype.parseTagName = function() {
|
|
3290
3311
|
var t = this.offset();
|
|
3291
|
-
for (this.bump(); !this.isEOF() &&
|
|
3312
|
+
for (this.bump(); !this.isEOF() && Zi(this.char()); )
|
|
3292
3313
|
this.bump();
|
|
3293
3314
|
return this.message.slice(t, this.offset());
|
|
3294
3315
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3312,12 +3333,12 @@ var Wi = (
|
|
|
3312
3333
|
}
|
|
3313
3334
|
var l = x(n, this.clonePosition());
|
|
3314
3335
|
return {
|
|
3315
|
-
val: { type:
|
|
3336
|
+
val: { type: S.literal, value: i, location: l },
|
|
3316
3337
|
err: null
|
|
3317
3338
|
};
|
|
3318
3339
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3319
3340
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3320
|
-
!
|
|
3341
|
+
!zi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3321
3342
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3322
3343
|
if (this.isEOF() || this.char() !== 39)
|
|
3323
3344
|
return null;
|
|
@@ -3351,12 +3372,12 @@ var Wi = (
|
|
|
3351
3372
|
r.push(n);
|
|
3352
3373
|
this.bump();
|
|
3353
3374
|
}
|
|
3354
|
-
return
|
|
3375
|
+
return ct.apply(void 0, r);
|
|
3355
3376
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3356
3377
|
if (this.isEOF())
|
|
3357
3378
|
return null;
|
|
3358
3379
|
var n = this.char();
|
|
3359
|
-
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));
|
|
3360
3381
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3361
3382
|
var n = this.clonePosition();
|
|
3362
3383
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3372,7 +3393,7 @@ var Wi = (
|
|
|
3372
3393
|
case 125:
|
|
3373
3394
|
return this.bump(), {
|
|
3374
3395
|
val: {
|
|
3375
|
-
type:
|
|
3396
|
+
type: S.argument,
|
|
3376
3397
|
// value does not include the opening and closing braces.
|
|
3377
3398
|
value: i,
|
|
3378
3399
|
location: x(n, this.clonePosition())
|
|
@@ -3385,7 +3406,7 @@ var Wi = (
|
|
|
3385
3406
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3386
3407
|
}
|
|
3387
3408
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3388
|
-
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;
|
|
3389
3410
|
this.bumpTo(i);
|
|
3390
3411
|
var o = this.clonePosition(), a = x(t, o);
|
|
3391
3412
|
return { value: n, location: a };
|
|
@@ -3404,35 +3425,35 @@ var Wi = (
|
|
|
3404
3425
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3405
3426
|
if (d.err)
|
|
3406
3427
|
return d;
|
|
3407
|
-
var f =
|
|
3428
|
+
var f = Vi(d.val);
|
|
3408
3429
|
if (f.length === 0)
|
|
3409
3430
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3410
|
-
var
|
|
3411
|
-
u = { style: f, styleLocation:
|
|
3431
|
+
var m = x(h, this.clonePosition());
|
|
3432
|
+
u = { style: f, styleLocation: m };
|
|
3412
3433
|
}
|
|
3413
3434
|
var g = this.tryParseArgumentClose(i);
|
|
3414
3435
|
if (g.err)
|
|
3415
3436
|
return g;
|
|
3416
3437
|
var v = x(i, this.clonePosition());
|
|
3417
|
-
if (u &&
|
|
3418
|
-
var
|
|
3438
|
+
if (u && Wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3439
|
+
var B = Wi(u.style.slice(2));
|
|
3419
3440
|
if (s === "number") {
|
|
3420
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3441
|
+
var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3421
3442
|
return d.err ? d : {
|
|
3422
|
-
val: { type:
|
|
3443
|
+
val: { type: S.number, value: n, location: v, style: d.val },
|
|
3423
3444
|
err: null
|
|
3424
3445
|
};
|
|
3425
3446
|
} else {
|
|
3426
|
-
if (
|
|
3447
|
+
if (B.length === 0)
|
|
3427
3448
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3428
|
-
var
|
|
3429
|
-
this.locale && (
|
|
3449
|
+
var N = B;
|
|
3450
|
+
this.locale && (N = Hi(B, this.locale));
|
|
3430
3451
|
var f = {
|
|
3431
|
-
type:
|
|
3432
|
-
pattern:
|
|
3452
|
+
type: ne.dateTime,
|
|
3453
|
+
pattern: N,
|
|
3433
3454
|
location: u.styleLocation,
|
|
3434
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3435
|
-
}, b = s === "date" ?
|
|
3455
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(N) : {}
|
|
3456
|
+
}, b = s === "date" ? S.date : S.time;
|
|
3436
3457
|
return {
|
|
3437
3458
|
val: { type: b, value: n, location: v, style: f },
|
|
3438
3459
|
err: null
|
|
@@ -3441,7 +3462,7 @@ var Wi = (
|
|
|
3441
3462
|
}
|
|
3442
3463
|
return {
|
|
3443
3464
|
val: {
|
|
3444
|
-
type: s === "number" ?
|
|
3465
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3445
3466
|
value: n,
|
|
3446
3467
|
location: v,
|
|
3447
3468
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3452,21 +3473,21 @@ var Wi = (
|
|
|
3452
3473
|
case "plural":
|
|
3453
3474
|
case "selectordinal":
|
|
3454
3475
|
case "select": {
|
|
3455
|
-
var
|
|
3476
|
+
var E = this.clonePosition();
|
|
3456
3477
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3457
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
3478
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(E, Pe({}, E)));
|
|
3458
3479
|
this.bumpSpace();
|
|
3459
|
-
var
|
|
3460
|
-
if (s !== "select" &&
|
|
3480
|
+
var w = this.parseIdentifierIfPossible(), P = 0;
|
|
3481
|
+
if (s !== "select" && w.value === "offset") {
|
|
3461
3482
|
if (!this.bumpIf(":"))
|
|
3462
3483
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3463
3484
|
this.bumpSpace();
|
|
3464
3485
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3465
3486
|
if (d.err)
|
|
3466
3487
|
return d;
|
|
3467
|
-
this.bumpSpace(),
|
|
3488
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), P = d.val;
|
|
3468
3489
|
}
|
|
3469
|
-
var W = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3490
|
+
var W = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3470
3491
|
if (W.err)
|
|
3471
3492
|
return W;
|
|
3472
3493
|
var g = this.tryParseArgumentClose(i);
|
|
@@ -3475,18 +3496,18 @@ var Wi = (
|
|
|
3475
3496
|
var Y = x(i, this.clonePosition());
|
|
3476
3497
|
return s === "select" ? {
|
|
3477
3498
|
val: {
|
|
3478
|
-
type:
|
|
3499
|
+
type: S.select,
|
|
3479
3500
|
value: n,
|
|
3480
|
-
options:
|
|
3501
|
+
options: Vt(W.val),
|
|
3481
3502
|
location: Y
|
|
3482
3503
|
},
|
|
3483
3504
|
err: null
|
|
3484
3505
|
} : {
|
|
3485
3506
|
val: {
|
|
3486
|
-
type:
|
|
3507
|
+
type: S.plural,
|
|
3487
3508
|
value: n,
|
|
3488
|
-
options:
|
|
3489
|
-
offset:
|
|
3509
|
+
options: Vt(W.val),
|
|
3510
|
+
offset: P,
|
|
3490
3511
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3491
3512
|
location: Y
|
|
3492
3513
|
},
|
|
@@ -3536,16 +3557,16 @@ var Wi = (
|
|
|
3536
3557
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3537
3558
|
var n = [];
|
|
3538
3559
|
try {
|
|
3539
|
-
n =
|
|
3560
|
+
n = Ii(t);
|
|
3540
3561
|
} catch (i) {
|
|
3541
3562
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3542
3563
|
}
|
|
3543
3564
|
return {
|
|
3544
3565
|
val: {
|
|
3545
|
-
type:
|
|
3566
|
+
type: ne.number,
|
|
3546
3567
|
tokens: n,
|
|
3547
3568
|
location: r,
|
|
3548
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3569
|
+
parsedOptions: this.shouldParseSkeletons ? Pi(n) : {}
|
|
3549
3570
|
},
|
|
3550
3571
|
err: null
|
|
3551
3572
|
};
|
|
@@ -3564,20 +3585,20 @@ var Wi = (
|
|
|
3564
3585
|
if (l.has(u))
|
|
3565
3586
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3566
3587
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3567
|
-
var
|
|
3588
|
+
var m = this.clonePosition();
|
|
3568
3589
|
if (!this.bumpIf("{"))
|
|
3569
3590
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3570
3591
|
var g = this.parseMessage(t + 1, r, n);
|
|
3571
3592
|
if (g.err)
|
|
3572
3593
|
return g;
|
|
3573
|
-
var v = this.tryParseArgumentClose(
|
|
3594
|
+
var v = this.tryParseArgumentClose(m);
|
|
3574
3595
|
if (v.err)
|
|
3575
3596
|
return v;
|
|
3576
3597
|
s.push([
|
|
3577
3598
|
u,
|
|
3578
3599
|
{
|
|
3579
3600
|
value: g.val,
|
|
3580
|
-
location: x(
|
|
3601
|
+
location: x(m, this.clonePosition())
|
|
3581
3602
|
}
|
|
3582
3603
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3583
3604
|
}
|
|
@@ -3593,7 +3614,7 @@ var Wi = (
|
|
|
3593
3614
|
break;
|
|
3594
3615
|
}
|
|
3595
3616
|
var l = x(i, this.clonePosition());
|
|
3596
|
-
return o ? (a *= n,
|
|
3617
|
+
return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3597
3618
|
}, e.prototype.offset = function() {
|
|
3598
3619
|
return this.position.offset;
|
|
3599
3620
|
}, e.prototype.isEOF = function() {
|
|
@@ -3608,7 +3629,7 @@ var Wi = (
|
|
|
3608
3629
|
var t = this.position.offset;
|
|
3609
3630
|
if (t >= this.message.length)
|
|
3610
3631
|
throw Error("out of bound");
|
|
3611
|
-
var r =
|
|
3632
|
+
var r = Dr(this.message, t);
|
|
3612
3633
|
if (r === void 0)
|
|
3613
3634
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3614
3635
|
return r;
|
|
@@ -3627,7 +3648,7 @@ var Wi = (
|
|
|
3627
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);
|
|
3628
3649
|
}
|
|
3629
3650
|
}, e.prototype.bumpIf = function(t) {
|
|
3630
|
-
if (
|
|
3651
|
+
if (Wt(this.message, t, this.offset())) {
|
|
3631
3652
|
for (var r = 0; r < t.length; r++)
|
|
3632
3653
|
this.bump();
|
|
3633
3654
|
return !0;
|
|
@@ -3649,7 +3670,7 @@ var Wi = (
|
|
|
3649
3670
|
break;
|
|
3650
3671
|
}
|
|
3651
3672
|
}, e.prototype.bumpSpace = function() {
|
|
3652
|
-
for (; !this.isEOF() &&
|
|
3673
|
+
for (; !this.isEOF() && $r(this.char()); )
|
|
3653
3674
|
this.bump();
|
|
3654
3675
|
}, e.prototype.peek = function() {
|
|
3655
3676
|
if (this.isEOF())
|
|
@@ -3659,47 +3680,47 @@ var Wi = (
|
|
|
3659
3680
|
}, e;
|
|
3660
3681
|
}()
|
|
3661
3682
|
);
|
|
3662
|
-
function
|
|
3683
|
+
function dt(e) {
|
|
3663
3684
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3664
3685
|
}
|
|
3665
|
-
function
|
|
3666
|
-
return
|
|
3686
|
+
function zi(e) {
|
|
3687
|
+
return dt(e) || e === 47;
|
|
3667
3688
|
}
|
|
3668
|
-
function
|
|
3689
|
+
function Zi(e) {
|
|
3669
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;
|
|
3670
3691
|
}
|
|
3671
|
-
function
|
|
3692
|
+
function $r(e) {
|
|
3672
3693
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3673
3694
|
}
|
|
3674
|
-
function
|
|
3695
|
+
function Qi(e) {
|
|
3675
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;
|
|
3676
3697
|
}
|
|
3677
|
-
function
|
|
3698
|
+
function pt(e) {
|
|
3678
3699
|
e.forEach(function(t) {
|
|
3679
|
-
if (delete t.location, Hr(t) ||
|
|
3700
|
+
if (delete t.location, Hr(t) || Mr(t))
|
|
3680
3701
|
for (var r in t.options)
|
|
3681
|
-
delete t.options[r].location,
|
|
3702
|
+
delete t.options[r].location, pt(t.options[r].value);
|
|
3682
3703
|
else
|
|
3683
|
-
|
|
3704
|
+
Ar(t) && Lr(t.style) || (Tr(t) || Pr(t)) && ut(t.style) ? delete t.style.location : Or(t) && pt(t.children);
|
|
3684
3705
|
});
|
|
3685
3706
|
}
|
|
3686
|
-
function
|
|
3687
|
-
t === void 0 && (t = {}), t =
|
|
3688
|
-
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();
|
|
3689
3710
|
if (r.err) {
|
|
3690
3711
|
var n = SyntaxError(_[r.err.kind]);
|
|
3691
3712
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3692
3713
|
}
|
|
3693
|
-
return t != null && t.captureLocation ||
|
|
3714
|
+
return t != null && t.captureLocation || pt(r.val), r.val;
|
|
3694
3715
|
}
|
|
3695
|
-
var
|
|
3716
|
+
var ie;
|
|
3696
3717
|
(function(e) {
|
|
3697
3718
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3698
|
-
})(
|
|
3699
|
-
var
|
|
3719
|
+
})(ie || (ie = {}));
|
|
3720
|
+
var Re = (
|
|
3700
3721
|
/** @class */
|
|
3701
3722
|
function(e) {
|
|
3702
|
-
|
|
3723
|
+
Fe(t, e);
|
|
3703
3724
|
function t(r, n, i) {
|
|
3704
3725
|
var o = e.call(this, r) || this;
|
|
3705
3726
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3708,48 +3729,48 @@ var Ce = (
|
|
|
3708
3729
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3709
3730
|
}, t;
|
|
3710
3731
|
}(Error)
|
|
3711
|
-
),
|
|
3732
|
+
), zt = (
|
|
3712
3733
|
/** @class */
|
|
3713
3734
|
function(e) {
|
|
3714
|
-
|
|
3735
|
+
Fe(t, e);
|
|
3715
3736
|
function t(r, n, i, o) {
|
|
3716
|
-
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;
|
|
3717
3738
|
}
|
|
3718
3739
|
return t;
|
|
3719
|
-
}(
|
|
3720
|
-
),
|
|
3740
|
+
}(Re)
|
|
3741
|
+
), Ji = (
|
|
3721
3742
|
/** @class */
|
|
3722
3743
|
function(e) {
|
|
3723
|
-
|
|
3744
|
+
Fe(t, e);
|
|
3724
3745
|
function t(r, n, i) {
|
|
3725
|
-
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;
|
|
3726
3747
|
}
|
|
3727
3748
|
return t;
|
|
3728
|
-
}(
|
|
3729
|
-
),
|
|
3749
|
+
}(Re)
|
|
3750
|
+
), qi = (
|
|
3730
3751
|
/** @class */
|
|
3731
3752
|
function(e) {
|
|
3732
|
-
|
|
3753
|
+
Fe(t, e);
|
|
3733
3754
|
function t(r, n) {
|
|
3734
|
-
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;
|
|
3735
3756
|
}
|
|
3736
3757
|
return t;
|
|
3737
|
-
}(
|
|
3758
|
+
}(Re)
|
|
3738
3759
|
), O;
|
|
3739
3760
|
(function(e) {
|
|
3740
3761
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3741
3762
|
})(O || (O = {}));
|
|
3742
|
-
function
|
|
3763
|
+
function Ki(e) {
|
|
3743
3764
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3744
3765
|
var n = t[t.length - 1];
|
|
3745
3766
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3746
3767
|
}, []);
|
|
3747
3768
|
}
|
|
3748
|
-
function
|
|
3769
|
+
function eo(e) {
|
|
3749
3770
|
return typeof e == "function";
|
|
3750
3771
|
}
|
|
3751
3772
|
function Be(e, t, r, n, i, o, a) {
|
|
3752
|
-
if (e.length === 1 &&
|
|
3773
|
+
if (e.length === 1 && Gt(e[0]))
|
|
3753
3774
|
return [
|
|
3754
3775
|
{
|
|
3755
3776
|
type: O.literal,
|
|
@@ -3758,14 +3779,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3758
3779
|
];
|
|
3759
3780
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3760
3781
|
var h = u[l];
|
|
3761
|
-
if (
|
|
3782
|
+
if (Gt(h)) {
|
|
3762
3783
|
s.push({
|
|
3763
3784
|
type: O.literal,
|
|
3764
3785
|
value: h.value
|
|
3765
3786
|
});
|
|
3766
3787
|
continue;
|
|
3767
3788
|
}
|
|
3768
|
-
if (
|
|
3789
|
+
if (wi(h)) {
|
|
3769
3790
|
typeof o == "number" && s.push({
|
|
3770
3791
|
type: O.literal,
|
|
3771
3792
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3774,89 +3795,89 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3774
3795
|
}
|
|
3775
3796
|
var d = h.value;
|
|
3776
3797
|
if (!(i && d in i))
|
|
3777
|
-
throw new
|
|
3798
|
+
throw new qi(d, a);
|
|
3778
3799
|
var f = i[d];
|
|
3779
|
-
if (
|
|
3800
|
+
if (xi(h)) {
|
|
3780
3801
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3781
3802
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3782
3803
|
value: f
|
|
3783
3804
|
});
|
|
3784
3805
|
continue;
|
|
3785
3806
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var
|
|
3807
|
+
if (Tr(h)) {
|
|
3808
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
|
|
3788
3809
|
s.push({
|
|
3789
3810
|
type: O.literal,
|
|
3790
|
-
value: r.getDateTimeFormat(t,
|
|
3811
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3791
3812
|
});
|
|
3792
3813
|
continue;
|
|
3793
3814
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
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;
|
|
3796
3817
|
s.push({
|
|
3797
3818
|
type: O.literal,
|
|
3798
|
-
value: r.getDateTimeFormat(t,
|
|
3819
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3799
3820
|
});
|
|
3800
3821
|
continue;
|
|
3801
3822
|
}
|
|
3802
|
-
if (
|
|
3803
|
-
var
|
|
3804
|
-
|
|
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({
|
|
3805
3826
|
type: O.literal,
|
|
3806
|
-
value: r.getNumberFormat(t,
|
|
3827
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3807
3828
|
});
|
|
3808
3829
|
continue;
|
|
3809
3830
|
}
|
|
3810
|
-
if (
|
|
3811
|
-
var g = h.children, v = h.value,
|
|
3812
|
-
if (!
|
|
3813
|
-
throw new
|
|
3814
|
-
var
|
|
3815
|
-
return
|
|
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) {
|
|
3836
|
+
return P.value;
|
|
3816
3837
|
}));
|
|
3817
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
3838
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(P) {
|
|
3818
3839
|
return {
|
|
3819
|
-
type: typeof
|
|
3820
|
-
value:
|
|
3840
|
+
type: typeof P == "string" ? O.literal : O.object,
|
|
3841
|
+
value: P
|
|
3821
3842
|
};
|
|
3822
3843
|
}));
|
|
3823
3844
|
}
|
|
3824
3845
|
if (Hr(h)) {
|
|
3825
|
-
var
|
|
3826
|
-
if (!
|
|
3827
|
-
throw new
|
|
3828
|
-
s.push.apply(s, Be(
|
|
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));
|
|
3829
3850
|
continue;
|
|
3830
3851
|
}
|
|
3831
|
-
if (
|
|
3832
|
-
var
|
|
3833
|
-
if (!
|
|
3852
|
+
if (Mr(h)) {
|
|
3853
|
+
var E = h.options["=".concat(f)];
|
|
3854
|
+
if (!E) {
|
|
3834
3855
|
if (!Intl.PluralRules)
|
|
3835
|
-
throw new
|
|
3856
|
+
throw new Re(`Intl.PluralRules is not available in this environment.
|
|
3836
3857
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3837
|
-
`,
|
|
3838
|
-
var
|
|
3839
|
-
|
|
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;
|
|
3840
3861
|
}
|
|
3841
|
-
if (!
|
|
3842
|
-
throw new
|
|
3843
|
-
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)));
|
|
3844
3865
|
continue;
|
|
3845
3866
|
}
|
|
3846
3867
|
}
|
|
3847
|
-
return
|
|
3868
|
+
return Ki(s);
|
|
3848
3869
|
}
|
|
3849
|
-
function
|
|
3850
|
-
return t ?
|
|
3851
|
-
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;
|
|
3852
3873
|
}, {})) : e;
|
|
3853
3874
|
}
|
|
3854
|
-
function
|
|
3875
|
+
function ro(e, t) {
|
|
3855
3876
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3856
|
-
return r[n] =
|
|
3857
|
-
},
|
|
3877
|
+
return r[n] = to(e[n], t[n]), r;
|
|
3878
|
+
}, G({}, e)) : e;
|
|
3858
3879
|
}
|
|
3859
|
-
function
|
|
3880
|
+
function Je(e) {
|
|
3860
3881
|
return {
|
|
3861
3882
|
create: function() {
|
|
3862
3883
|
return {
|
|
@@ -3870,39 +3891,39 @@ function Qe(e) {
|
|
|
3870
3891
|
}
|
|
3871
3892
|
};
|
|
3872
3893
|
}
|
|
3873
|
-
function
|
|
3894
|
+
function no(e) {
|
|
3874
3895
|
return e === void 0 && (e = {
|
|
3875
3896
|
number: {},
|
|
3876
3897
|
dateTime: {},
|
|
3877
3898
|
pluralRules: {}
|
|
3878
3899
|
}), {
|
|
3879
|
-
getNumberFormat:
|
|
3900
|
+
getNumberFormat: Ze(function() {
|
|
3880
3901
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3902
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3903
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
3883
3904
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3905
|
+
cache: Je(e.number),
|
|
3906
|
+
strategy: Qe.variadic
|
|
3886
3907
|
}),
|
|
3887
|
-
getDateTimeFormat:
|
|
3908
|
+
getDateTimeFormat: Ze(function() {
|
|
3888
3909
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3889
3910
|
r[n] = arguments[n];
|
|
3890
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3911
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
3891
3912
|
}, {
|
|
3892
|
-
cache:
|
|
3893
|
-
strategy:
|
|
3913
|
+
cache: Je(e.dateTime),
|
|
3914
|
+
strategy: Qe.variadic
|
|
3894
3915
|
}),
|
|
3895
|
-
getPluralRules:
|
|
3916
|
+
getPluralRules: Ze(function() {
|
|
3896
3917
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3897
3918
|
r[n] = arguments[n];
|
|
3898
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3919
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
|
|
3899
3920
|
}, {
|
|
3900
|
-
cache:
|
|
3901
|
-
strategy:
|
|
3921
|
+
cache: Je(e.pluralRules),
|
|
3922
|
+
strategy: Qe.variadic
|
|
3902
3923
|
})
|
|
3903
3924
|
};
|
|
3904
3925
|
}
|
|
3905
|
-
var
|
|
3926
|
+
var io = (
|
|
3906
3927
|
/** @class */
|
|
3907
3928
|
function() {
|
|
3908
3929
|
function e(t, r, n, i) {
|
|
@@ -3934,13 +3955,13 @@ var ro = (
|
|
|
3934
3955
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3935
3956
|
var a = i || {};
|
|
3936
3957
|
a.formatters;
|
|
3937
|
-
var s =
|
|
3938
|
-
this.ast = e.__parse(t,
|
|
3958
|
+
var s = di(a, ["formatters"]);
|
|
3959
|
+
this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
|
|
3939
3960
|
} else
|
|
3940
3961
|
this.ast = t;
|
|
3941
3962
|
if (!Array.isArray(this.ast))
|
|
3942
3963
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3943
|
-
this.formats =
|
|
3964
|
+
this.formats = ro(e.formats, n), this.formatters = i && i.formatters || no(this.formatterCache);
|
|
3944
3965
|
}
|
|
3945
3966
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3946
3967
|
get: function() {
|
|
@@ -3953,7 +3974,7 @@ var ro = (
|
|
|
3953
3974
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3954
3975
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3955
3976
|
}
|
|
3956
|
-
}, e.__parse =
|
|
3977
|
+
}, e.__parse = Yi, e.formats = {
|
|
3957
3978
|
number: {
|
|
3958
3979
|
integer: {
|
|
3959
3980
|
maximumFractionDigits: 0
|
|
@@ -4014,7 +4035,7 @@ var ro = (
|
|
|
4014
4035
|
}, e;
|
|
4015
4036
|
}()
|
|
4016
4037
|
);
|
|
4017
|
-
function
|
|
4038
|
+
function oo(e, t) {
|
|
4018
4039
|
if (t == null)
|
|
4019
4040
|
return;
|
|
4020
4041
|
if (t in e)
|
|
@@ -4035,92 +4056,92 @@ function no(e, t) {
|
|
|
4035
4056
|
n = void 0;
|
|
4036
4057
|
return n;
|
|
4037
4058
|
}
|
|
4038
|
-
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) => {
|
|
4039
4060
|
if (t == null)
|
|
4040
4061
|
return;
|
|
4041
4062
|
if (t in X && e in X[t])
|
|
4042
4063
|
return X[t][e];
|
|
4043
|
-
const r =
|
|
4064
|
+
const r = Ue(t);
|
|
4044
4065
|
for (let n = 0; n < r.length; n++) {
|
|
4045
|
-
const i = r[n], o =
|
|
4066
|
+
const i = r[n], o = lo(i, e);
|
|
4046
4067
|
if (o)
|
|
4047
|
-
return
|
|
4068
|
+
return ao(e, t, o);
|
|
4048
4069
|
}
|
|
4049
4070
|
};
|
|
4050
|
-
let
|
|
4051
|
-
const ye =
|
|
4052
|
-
function
|
|
4053
|
-
return
|
|
4071
|
+
let yt;
|
|
4072
|
+
const ye = Ce({});
|
|
4073
|
+
function so(e) {
|
|
4074
|
+
return yt[e] || null;
|
|
4054
4075
|
}
|
|
4055
|
-
function
|
|
4056
|
-
return e in
|
|
4076
|
+
function jr(e) {
|
|
4077
|
+
return e in yt;
|
|
4057
4078
|
}
|
|
4058
|
-
function
|
|
4059
|
-
if (!
|
|
4079
|
+
function lo(e, t) {
|
|
4080
|
+
if (!jr(e))
|
|
4060
4081
|
return null;
|
|
4061
|
-
const r =
|
|
4062
|
-
return
|
|
4082
|
+
const r = so(e);
|
|
4083
|
+
return oo(r, t);
|
|
4063
4084
|
}
|
|
4064
|
-
function
|
|
4085
|
+
function uo(e) {
|
|
4065
4086
|
if (e == null)
|
|
4066
4087
|
return;
|
|
4067
|
-
const t =
|
|
4088
|
+
const t = Ue(e);
|
|
4068
4089
|
for (let r = 0; r < t.length; r++) {
|
|
4069
4090
|
const n = t[r];
|
|
4070
|
-
if (
|
|
4091
|
+
if (jr(n))
|
|
4071
4092
|
return n;
|
|
4072
4093
|
}
|
|
4073
4094
|
}
|
|
4074
|
-
function
|
|
4095
|
+
function Wr(e, ...t) {
|
|
4075
4096
|
delete X[e], ye.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
|
|
4076
4097
|
}
|
|
4077
|
-
|
|
4098
|
+
se(
|
|
4078
4099
|
[ye],
|
|
4079
4100
|
([e]) => Object.keys(e)
|
|
4080
4101
|
);
|
|
4081
|
-
ye.subscribe((e) =>
|
|
4102
|
+
ye.subscribe((e) => yt = e);
|
|
4082
4103
|
const Ae = {};
|
|
4083
|
-
function
|
|
4104
|
+
function ho(e, t) {
|
|
4084
4105
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4085
4106
|
}
|
|
4086
|
-
function
|
|
4107
|
+
function Vr(e) {
|
|
4087
4108
|
return Ae[e];
|
|
4088
4109
|
}
|
|
4089
|
-
function
|
|
4090
|
-
return
|
|
4091
|
-
const r =
|
|
4110
|
+
function co(e) {
|
|
4111
|
+
return Ue(e).map((t) => {
|
|
4112
|
+
const r = Vr(t);
|
|
4092
4113
|
return [t, r ? [...r] : []];
|
|
4093
4114
|
}).filter(([, t]) => t.length > 0);
|
|
4094
4115
|
}
|
|
4095
|
-
function
|
|
4096
|
-
return e == null ? !1 :
|
|
4116
|
+
function mt(e) {
|
|
4117
|
+
return e == null ? !1 : Ue(e).some(
|
|
4097
4118
|
(t) => {
|
|
4098
4119
|
var r;
|
|
4099
|
-
return (r =
|
|
4120
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
4100
4121
|
}
|
|
4101
4122
|
);
|
|
4102
4123
|
}
|
|
4103
|
-
function
|
|
4124
|
+
function fo(e, t) {
|
|
4104
4125
|
return Promise.all(
|
|
4105
|
-
t.map((n) => (
|
|
4106
|
-
).then((n) =>
|
|
4107
|
-
}
|
|
4108
|
-
const
|
|
4109
|
-
function
|
|
4110
|
-
if (!
|
|
4111
|
-
return e in
|
|
4112
|
-
const t =
|
|
4113
|
-
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(
|
|
4114
4135
|
t.map(
|
|
4115
|
-
([r, n]) =>
|
|
4136
|
+
([r, n]) => fo(r, n)
|
|
4116
4137
|
)
|
|
4117
4138
|
).then(() => {
|
|
4118
|
-
if (
|
|
4119
|
-
return
|
|
4120
|
-
delete
|
|
4121
|
-
}),
|
|
4139
|
+
if (mt(e))
|
|
4140
|
+
return Xr(e);
|
|
4141
|
+
delete ce[e];
|
|
4142
|
+
}), ce[e];
|
|
4122
4143
|
}
|
|
4123
|
-
const
|
|
4144
|
+
const po = {
|
|
4124
4145
|
number: {
|
|
4125
4146
|
scientific: { notation: "scientific" },
|
|
4126
4147
|
engineering: { notation: "engineering" },
|
|
@@ -4149,135 +4170,135 @@ const co = {
|
|
|
4149
4170
|
timeZoneName: "short"
|
|
4150
4171
|
}
|
|
4151
4172
|
}
|
|
4152
|
-
},
|
|
4173
|
+
}, mo = {
|
|
4153
4174
|
fallbackLocale: null,
|
|
4154
4175
|
loadingDelay: 200,
|
|
4155
|
-
formats:
|
|
4176
|
+
formats: po,
|
|
4156
4177
|
warnOnMissingMessages: !0,
|
|
4157
4178
|
handleMissingMessage: void 0,
|
|
4158
4179
|
ignoreTag: !0
|
|
4159
|
-
},
|
|
4160
|
-
function
|
|
4161
|
-
return
|
|
4180
|
+
}, go = mo;
|
|
4181
|
+
function oe() {
|
|
4182
|
+
return go;
|
|
4162
4183
|
}
|
|
4163
|
-
const
|
|
4164
|
-
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) => {
|
|
4165
4186
|
for (var r in t || (t = {}))
|
|
4166
|
-
|
|
4167
|
-
if (
|
|
4168
|
-
for (var r of
|
|
4169
|
-
|
|
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]);
|
|
4170
4191
|
return e;
|
|
4171
|
-
},
|
|
4172
|
-
let
|
|
4173
|
-
const He =
|
|
4174
|
-
function
|
|
4192
|
+
}, Eo = (e, t) => bo(e, yo(t));
|
|
4193
|
+
let gt;
|
|
4194
|
+
const He = Ce(null);
|
|
4195
|
+
function Yt(e) {
|
|
4175
4196
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4176
4197
|
}
|
|
4177
|
-
function
|
|
4178
|
-
const r =
|
|
4179
|
-
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;
|
|
4180
4201
|
}
|
|
4181
4202
|
function Q() {
|
|
4182
|
-
return
|
|
4203
|
+
return gt != null ? gt : void 0;
|
|
4183
4204
|
}
|
|
4184
4205
|
He.subscribe((e) => {
|
|
4185
|
-
|
|
4206
|
+
gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4186
4207
|
});
|
|
4187
|
-
const
|
|
4188
|
-
if (e &&
|
|
4189
|
-
const { loadingDelay: t } =
|
|
4208
|
+
const No = (e) => {
|
|
4209
|
+
if (e && uo(e) && mt(e)) {
|
|
4210
|
+
const { loadingDelay: t } = oe();
|
|
4190
4211
|
let r;
|
|
4191
4212
|
return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
|
|
4192
|
-
() =>
|
|
4213
|
+
() => qe.set(!0),
|
|
4193
4214
|
t
|
|
4194
|
-
) :
|
|
4215
|
+
) : qe.set(!0), Xr(e).then(() => {
|
|
4195
4216
|
He.set(e);
|
|
4196
4217
|
}).finally(() => {
|
|
4197
|
-
clearTimeout(r),
|
|
4218
|
+
clearTimeout(r), qe.set(!1);
|
|
4198
4219
|
});
|
|
4199
4220
|
}
|
|
4200
4221
|
return He.set(e);
|
|
4201
|
-
},
|
|
4202
|
-
set:
|
|
4203
|
-
}),
|
|
4222
|
+
}, le = Eo(wo({}, He), {
|
|
4223
|
+
set: No
|
|
4224
|
+
}), De = (e) => {
|
|
4204
4225
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4205
4226
|
return (n) => {
|
|
4206
4227
|
const i = JSON.stringify(n);
|
|
4207
4228
|
return i in t ? t[i] : t[i] = e(n);
|
|
4208
4229
|
};
|
|
4209
4230
|
};
|
|
4210
|
-
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) => {
|
|
4211
4232
|
for (var r in t || (t = {}))
|
|
4212
|
-
|
|
4213
|
-
if (
|
|
4214
|
-
for (var r of
|
|
4215
|
-
|
|
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]);
|
|
4216
4237
|
return e;
|
|
4217
|
-
},
|
|
4238
|
+
}, ue = (e, t) => {
|
|
4218
4239
|
var r = {};
|
|
4219
4240
|
for (var n in e)
|
|
4220
|
-
|
|
4221
|
-
if (e != null &&
|
|
4222
|
-
for (var n of
|
|
4223
|
-
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]);
|
|
4224
4245
|
return r;
|
|
4225
4246
|
};
|
|
4226
|
-
const
|
|
4227
|
-
const { formats: r } =
|
|
4247
|
+
const ge = (e, t) => {
|
|
4248
|
+
const { formats: r } = oe();
|
|
4228
4249
|
if (e in r && t in r[e])
|
|
4229
4250
|
return r[e][t];
|
|
4230
4251
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4231
|
-
},
|
|
4252
|
+
}, Io = De(
|
|
4232
4253
|
(e) => {
|
|
4233
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4254
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4234
4255
|
if (r == null)
|
|
4235
4256
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4236
|
-
return n && (i =
|
|
4257
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4237
4258
|
}
|
|
4238
|
-
),
|
|
4259
|
+
), Bo = De(
|
|
4239
4260
|
(e) => {
|
|
4240
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4261
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4241
4262
|
if (r == null)
|
|
4242
4263
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4243
|
-
return n ? i =
|
|
4264
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4244
4265
|
}
|
|
4245
|
-
),
|
|
4266
|
+
), Ao = De(
|
|
4246
4267
|
(e) => {
|
|
4247
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4268
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4248
4269
|
if (r == null)
|
|
4249
4270
|
throw new Error(
|
|
4250
4271
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4251
4272
|
);
|
|
4252
|
-
return n ? i =
|
|
4273
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4253
4274
|
}
|
|
4254
|
-
),
|
|
4275
|
+
), To = (e = {}) => {
|
|
4255
4276
|
var t = e, {
|
|
4256
4277
|
locale: r = Q()
|
|
4257
|
-
} = t, n =
|
|
4278
|
+
} = t, n = ue(t, [
|
|
4258
4279
|
"locale"
|
|
4259
4280
|
]);
|
|
4260
|
-
return
|
|
4261
|
-
},
|
|
4281
|
+
return Io(_t({ locale: r }, n));
|
|
4282
|
+
}, Po = (e = {}) => {
|
|
4262
4283
|
var t = e, {
|
|
4263
4284
|
locale: r = Q()
|
|
4264
|
-
} = t, n =
|
|
4285
|
+
} = t, n = ue(t, [
|
|
4265
4286
|
"locale"
|
|
4266
4287
|
]);
|
|
4267
|
-
return
|
|
4268
|
-
},
|
|
4288
|
+
return Bo(_t({ locale: r }, n));
|
|
4289
|
+
}, Ho = (e = {}) => {
|
|
4269
4290
|
var t = e, {
|
|
4270
4291
|
locale: r = Q()
|
|
4271
|
-
} = t, n =
|
|
4292
|
+
} = t, n = ue(t, [
|
|
4272
4293
|
"locale"
|
|
4273
4294
|
]);
|
|
4274
|
-
return
|
|
4275
|
-
},
|
|
4295
|
+
return Ao(_t({ locale: r }, n));
|
|
4296
|
+
}, Mo = De(
|
|
4276
4297
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4277
|
-
(e, t = Q()) => new
|
|
4278
|
-
ignoreTag:
|
|
4298
|
+
(e, t = Q()) => new io(e, t, oe().formats, {
|
|
4299
|
+
ignoreTag: oe().ignoreTag
|
|
4279
4300
|
})
|
|
4280
|
-
),
|
|
4301
|
+
), Oo = (e, t = {}) => {
|
|
4281
4302
|
var r, n, i, o;
|
|
4282
4303
|
let a = t;
|
|
4283
4304
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4290,9 +4311,9 @@ const ve = (e, t) => {
|
|
|
4290
4311
|
throw new Error(
|
|
4291
4312
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4292
4313
|
);
|
|
4293
|
-
let h =
|
|
4314
|
+
let h = kr(e, l);
|
|
4294
4315
|
if (!h)
|
|
4295
|
-
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;
|
|
4296
4317
|
else if (typeof h != "string")
|
|
4297
4318
|
return console.warn(
|
|
4298
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.`
|
|
@@ -4301,7 +4322,7 @@ const ve = (e, t) => {
|
|
|
4301
4322
|
return h;
|
|
4302
4323
|
let d = h;
|
|
4303
4324
|
try {
|
|
4304
|
-
d =
|
|
4325
|
+
d = Mo(h, l).format(s);
|
|
4305
4326
|
} catch (f) {
|
|
4306
4327
|
f instanceof Error && console.warn(
|
|
4307
4328
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4309,20 +4330,20 @@ const ve = (e, t) => {
|
|
|
4309
4330
|
);
|
|
4310
4331
|
}
|
|
4311
4332
|
return d;
|
|
4312
|
-
},
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
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);
|
|
4317
4338
|
window.emWidgets = { topic: Qn };
|
|
4318
|
-
const
|
|
4319
|
-
function
|
|
4320
|
-
|
|
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);
|
|
4321
4342
|
}
|
|
4322
|
-
function
|
|
4323
|
-
|
|
4343
|
+
function Do(e) {
|
|
4344
|
+
le.set(e);
|
|
4324
4345
|
}
|
|
4325
|
-
const
|
|
4346
|
+
const er = {
|
|
4326
4347
|
en: {
|
|
4327
4348
|
secondaryMenuTitle: "Categories"
|
|
4328
4349
|
},
|
|
@@ -4357,13 +4378,13 @@ const qt = {
|
|
|
4357
4378
|
secondaryMenuTitle: "Categories"
|
|
4358
4379
|
}
|
|
4359
4380
|
};
|
|
4360
|
-
function
|
|
4381
|
+
function Go(e, t) {
|
|
4361
4382
|
if (e) {
|
|
4362
4383
|
const r = document.createElement("style");
|
|
4363
4384
|
r.innerHTML = t, e.appendChild(r);
|
|
4364
4385
|
}
|
|
4365
4386
|
}
|
|
4366
|
-
function
|
|
4387
|
+
function $o(e, t) {
|
|
4367
4388
|
const r = new URL(t);
|
|
4368
4389
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4369
4390
|
const i = document.createElement("style");
|
|
@@ -4372,7 +4393,7 @@ function Do(e, t) {
|
|
|
4372
4393
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4373
4394
|
});
|
|
4374
4395
|
}
|
|
4375
|
-
function
|
|
4396
|
+
function ko(e, t, r) {
|
|
4376
4397
|
if (window.emMessageBus) {
|
|
4377
4398
|
const n = document.createElement("style");
|
|
4378
4399
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4380,51 +4401,51 @@ function Go(e, t, r) {
|
|
|
4380
4401
|
});
|
|
4381
4402
|
}
|
|
4382
4403
|
}
|
|
4383
|
-
function
|
|
4384
|
-
|
|
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}');
|
|
4385
4406
|
}
|
|
4386
|
-
function
|
|
4407
|
+
function tr(e, t, r) {
|
|
4387
4408
|
const n = e.slice();
|
|
4388
4409
|
return n[44] = t[r], n[46] = r, n;
|
|
4389
4410
|
}
|
|
4390
|
-
function
|
|
4411
|
+
function rr(e, t, r) {
|
|
4391
4412
|
const n = e.slice();
|
|
4392
4413
|
return n[44] = t[r], n;
|
|
4393
4414
|
}
|
|
4394
|
-
const
|
|
4395
|
-
function
|
|
4415
|
+
const Wo = (e) => ({}), nr = (e) => ({});
|
|
4416
|
+
function ir(e) {
|
|
4396
4417
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4397
|
-
e[6] &&
|
|
4418
|
+
e[6] && or(e), u = Te(
|
|
4398
4419
|
/*primaryMenuSpliced*/
|
|
4399
4420
|
e[7]
|
|
4400
4421
|
), h = [];
|
|
4401
4422
|
for (let f = 0; f < u.length; f += 1)
|
|
4402
|
-
h[f] =
|
|
4423
|
+
h[f] = ur(tr(e, u, f));
|
|
4403
4424
|
let d = !/*navigationBarSimple*/
|
|
4404
|
-
e[6] &&
|
|
4425
|
+
e[6] && hr(e);
|
|
4405
4426
|
return {
|
|
4406
4427
|
c() {
|
|
4407
|
-
t =
|
|
4428
|
+
t = I("div"), l && l.c(), r = j(), n = I("div");
|
|
4408
4429
|
for (let f = 0; f < h.length; f += 1)
|
|
4409
4430
|
h[f].c();
|
|
4410
|
-
i =
|
|
4431
|
+
i = j(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4411
4432
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4412
4433
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4413
4434
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4414
4435
|
(e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
|
|
4415
4436
|
},
|
|
4416
|
-
m(f,
|
|
4417
|
-
C(f, t,
|
|
4437
|
+
m(f, m) {
|
|
4438
|
+
C(f, t, m), l && l.m(t, null), y(t, r), y(t, n);
|
|
4418
4439
|
for (let g = 0; g < h.length; g += 1)
|
|
4419
4440
|
h[g] && h[g].m(n, null);
|
|
4420
4441
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4421
4442
|
},
|
|
4422
|
-
p(f,
|
|
4443
|
+
p(f, m) {
|
|
4423
4444
|
if (/*navigationBarSimple*/
|
|
4424
|
-
f[6] ? l && (
|
|
4445
|
+
f[6] ? l && (gr(), pe(l, 1, 1, () => {
|
|
4425
4446
|
l = null;
|
|
4426
|
-
}),
|
|
4427
|
-
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*/
|
|
4428
4449
|
32928) {
|
|
4429
4450
|
u = Te(
|
|
4430
4451
|
/*primaryMenuSpliced*/
|
|
@@ -4432,18 +4453,18 @@ function rr(e) {
|
|
|
4432
4453
|
);
|
|
4433
4454
|
let g;
|
|
4434
4455
|
for (g = 0; g < u.length; g += 1) {
|
|
4435
|
-
const v =
|
|
4436
|
-
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));
|
|
4437
4458
|
}
|
|
4438
4459
|
for (; g < h.length; g += 1)
|
|
4439
4460
|
h[g].d(1);
|
|
4440
4461
|
h.length = u.length;
|
|
4441
4462
|
}
|
|
4442
4463
|
/*navigationBarSimple*/
|
|
4443
|
-
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*/
|
|
4444
4465
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4445
4466
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4446
|
-
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s ||
|
|
4467
|
+
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4447
4468
|
80 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4448
4469
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4449
4470
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
@@ -4455,89 +4476,89 @@ function rr(e) {
|
|
|
4455
4476
|
pe(l), s = !1;
|
|
4456
4477
|
},
|
|
4457
4478
|
d(f) {
|
|
4458
|
-
f && L(t), l && l.d(),
|
|
4479
|
+
f && L(t), l && l.d(), mr(h, f), d && d.d();
|
|
4459
4480
|
}
|
|
4460
4481
|
};
|
|
4461
4482
|
}
|
|
4462
|
-
function
|
|
4483
|
+
function or(e) {
|
|
4463
4484
|
let t, r, n, i, o = (
|
|
4464
4485
|
/*secondarymenutitle*/
|
|
4465
4486
|
(e[0] || /*$_*/
|
|
4466
4487
|
e[12]("secondaryMenuTitle")) + ""
|
|
4467
4488
|
), a, s, l, u, h, d, f;
|
|
4468
|
-
const
|
|
4489
|
+
const m = (
|
|
4469
4490
|
/*#slots*/
|
|
4470
4491
|
e[27].close
|
|
4471
|
-
), g =
|
|
4472
|
-
|
|
4492
|
+
), g = dn(
|
|
4493
|
+
m,
|
|
4473
4494
|
e,
|
|
4474
4495
|
/*$$scope*/
|
|
4475
4496
|
e[26],
|
|
4476
|
-
|
|
4477
|
-
), v = g ||
|
|
4478
|
-
let
|
|
4497
|
+
nr
|
|
4498
|
+
), v = g || Vo();
|
|
4499
|
+
let B = Te(
|
|
4479
4500
|
/*secondaryMenu*/
|
|
4480
4501
|
e[8]
|
|
4481
|
-
),
|
|
4482
|
-
for (let b = 0; b <
|
|
4483
|
-
|
|
4502
|
+
), N = [];
|
|
4503
|
+
for (let b = 0; b < B.length; b += 1)
|
|
4504
|
+
N[b] = sr(rr(e, B, b));
|
|
4484
4505
|
return {
|
|
4485
4506
|
c() {
|
|
4486
|
-
t =
|
|
4487
|
-
for (let b = 0; b <
|
|
4488
|
-
|
|
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();
|
|
4489
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*/
|
|
4490
4511
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4491
4512
|
},
|
|
4492
|
-
m(b,
|
|
4493
|
-
C(b, t,
|
|
4494
|
-
for (let
|
|
4495
|
-
|
|
4496
|
-
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(
|
|
4497
4518
|
r,
|
|
4498
4519
|
"click",
|
|
4499
4520
|
/*navigationWindowToggle*/
|
|
4500
4521
|
e[14]
|
|
4501
4522
|
), d = !0);
|
|
4502
4523
|
},
|
|
4503
|
-
p(b,
|
|
4504
|
-
if (g && g.p && (!h ||
|
|
4524
|
+
p(b, E) {
|
|
4525
|
+
if (g && g.p && (!h || E[0] & /*$$scope*/
|
|
4505
4526
|
67108864) && mn(
|
|
4506
4527
|
g,
|
|
4507
|
-
|
|
4528
|
+
m,
|
|
4508
4529
|
b,
|
|
4509
4530
|
/*$$scope*/
|
|
4510
4531
|
b[26],
|
|
4511
|
-
h ?
|
|
4512
|
-
|
|
4532
|
+
h ? pn(
|
|
4533
|
+
m,
|
|
4513
4534
|
/*$$scope*/
|
|
4514
4535
|
b[26],
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
) :
|
|
4536
|
+
E,
|
|
4537
|
+
Wo
|
|
4538
|
+
) : gn(
|
|
4518
4539
|
/*$$scope*/
|
|
4519
4540
|
b[26]
|
|
4520
4541
|
),
|
|
4521
|
-
|
|
4522
|
-
), (!h ||
|
|
4542
|
+
nr
|
|
4543
|
+
), (!h || E[0] & /*secondarymenutitle, $_*/
|
|
4523
4544
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4524
4545
|
(b[0] || /*$_*/
|
|
4525
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4546
|
+
b[12]("secondaryMenuTitle")) + "") && bt(a, o), E[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4526
4547
|
33056) {
|
|
4527
|
-
|
|
4548
|
+
B = Te(
|
|
4528
4549
|
/*secondaryMenu*/
|
|
4529
4550
|
b[8]
|
|
4530
4551
|
);
|
|
4531
|
-
let
|
|
4532
|
-
for (
|
|
4533
|
-
const
|
|
4534
|
-
|
|
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));
|
|
4535
4556
|
}
|
|
4536
|
-
for (;
|
|
4537
|
-
|
|
4538
|
-
|
|
4557
|
+
for (; w < N.length; w += 1)
|
|
4558
|
+
N[w].d(1);
|
|
4559
|
+
N.length = B.length;
|
|
4539
4560
|
}
|
|
4540
|
-
(!h ||
|
|
4561
|
+
(!h || E[0] & /*navigationWindowOpened*/
|
|
4541
4562
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4542
4563
|
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4543
4564
|
},
|
|
@@ -4548,11 +4569,11 @@ function nr(e) {
|
|
|
4548
4569
|
pe(v, b), h = !1;
|
|
4549
4570
|
},
|
|
4550
4571
|
d(b) {
|
|
4551
|
-
b && L(t), v && v.d(b),
|
|
4572
|
+
b && L(t), v && v.d(b), mr(N, b), d = !1, f();
|
|
4552
4573
|
}
|
|
4553
4574
|
};
|
|
4554
4575
|
}
|
|
4555
|
-
function
|
|
4576
|
+
function Vo(e) {
|
|
4556
4577
|
let t, r;
|
|
4557
4578
|
return {
|
|
4558
4579
|
c() {
|
|
@@ -4567,11 +4588,11 @@ function jo(e) {
|
|
|
4567
4588
|
}
|
|
4568
4589
|
};
|
|
4569
4590
|
}
|
|
4570
|
-
function
|
|
4591
|
+
function ar(e) {
|
|
4571
4592
|
let t, r, n, i;
|
|
4572
4593
|
return {
|
|
4573
4594
|
c() {
|
|
4574
|
-
t =
|
|
4595
|
+
t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4575
4596
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4576
4597
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4577
4598
|
},
|
|
@@ -4580,7 +4601,7 @@ function ir(e) {
|
|
|
4580
4601
|
},
|
|
4581
4602
|
p(o, a) {
|
|
4582
4603
|
a[0] & /*secondaryMenu*/
|
|
4583
|
-
256 && !
|
|
4604
|
+
256 && !te(r.src, n = /*item*/
|
|
4584
4605
|
o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4585
4606
|
256 && i !== (i = /*item*/
|
|
4586
4607
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4590,13 +4611,13 @@ function ir(e) {
|
|
|
4590
4611
|
}
|
|
4591
4612
|
};
|
|
4592
4613
|
}
|
|
4593
|
-
function
|
|
4614
|
+
function sr(e) {
|
|
4594
4615
|
let t, r, n, i = (
|
|
4595
4616
|
/*item*/
|
|
4596
4617
|
e[44].label + ""
|
|
4597
4618
|
), o, a, s, l, u, h = (
|
|
4598
4619
|
/*item*/
|
|
4599
|
-
e[44].img &&
|
|
4620
|
+
e[44].img && ar(e)
|
|
4600
4621
|
);
|
|
4601
4622
|
function d() {
|
|
4602
4623
|
return (
|
|
@@ -4609,18 +4630,18 @@ function or(e) {
|
|
|
4609
4630
|
}
|
|
4610
4631
|
return {
|
|
4611
4632
|
c() {
|
|
4612
|
-
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*/
|
|
4613
4634
|
(e[5] === /*item*/
|
|
4614
4635
|
e[44].id ? "ActiveItem" : ""));
|
|
4615
4636
|
},
|
|
4616
|
-
m(f,
|
|
4617
|
-
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);
|
|
4618
4639
|
},
|
|
4619
|
-
p(f,
|
|
4640
|
+
p(f, m) {
|
|
4620
4641
|
e = f, /*item*/
|
|
4621
|
-
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*/
|
|
4622
4643
|
256 && i !== (i = /*item*/
|
|
4623
|
-
e[44].label + "") &&
|
|
4644
|
+
e[44].label + "") && bt(o, i), m[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4624
4645
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4625
4646
|
(e[5] === /*item*/
|
|
4626
4647
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4630,11 +4651,11 @@ function or(e) {
|
|
|
4630
4651
|
}
|
|
4631
4652
|
};
|
|
4632
4653
|
}
|
|
4633
|
-
function
|
|
4654
|
+
function lr(e) {
|
|
4634
4655
|
let t, r, n, i;
|
|
4635
4656
|
return {
|
|
4636
4657
|
c() {
|
|
4637
|
-
t =
|
|
4658
|
+
t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4638
4659
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4639
4660
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4640
4661
|
},
|
|
@@ -4643,7 +4664,7 @@ function ar(e) {
|
|
|
4643
4664
|
},
|
|
4644
4665
|
p(o, a) {
|
|
4645
4666
|
a[0] & /*primaryMenuSpliced*/
|
|
4646
|
-
128 && !
|
|
4667
|
+
128 && !te(r.src, n = /*item*/
|
|
4647
4668
|
o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
|
|
4648
4669
|
128 && i !== (i = /*item*/
|
|
4649
4670
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4653,13 +4674,13 @@ function ar(e) {
|
|
|
4653
4674
|
}
|
|
4654
4675
|
};
|
|
4655
4676
|
}
|
|
4656
|
-
function
|
|
4677
|
+
function ur(e) {
|
|
4657
4678
|
let t, r, n, i = (
|
|
4658
4679
|
/*item*/
|
|
4659
4680
|
e[44].label + ""
|
|
4660
4681
|
), o, a, s, l, u = (
|
|
4661
4682
|
/*item*/
|
|
4662
|
-
e[44].img &&
|
|
4683
|
+
e[44].img && lr(e)
|
|
4663
4684
|
);
|
|
4664
4685
|
function h() {
|
|
4665
4686
|
return (
|
|
@@ -4672,19 +4693,19 @@ function sr(e) {
|
|
|
4672
4693
|
}
|
|
4673
4694
|
return {
|
|
4674
4695
|
c() {
|
|
4675
|
-
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*/
|
|
4676
4697
|
e[46] + " " + /*activeMenuItemId*/
|
|
4677
4698
|
(e[5] === /*item*/
|
|
4678
4699
|
e[44].id ? "ActiveItem" : ""));
|
|
4679
4700
|
},
|
|
4680
4701
|
m(d, f) {
|
|
4681
|
-
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);
|
|
4682
4703
|
},
|
|
4683
4704
|
p(d, f) {
|
|
4684
4705
|
e = d, /*item*/
|
|
4685
|
-
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*/
|
|
4686
4707
|
128 && i !== (i = /*item*/
|
|
4687
|
-
e[44].label + "") &&
|
|
4708
|
+
e[44].label + "") && bt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4688
4709
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4689
4710
|
e[46] + " " + /*activeMenuItemId*/
|
|
4690
4711
|
(e[5] === /*item*/
|
|
@@ -4695,22 +4716,22 @@ function sr(e) {
|
|
|
4695
4716
|
}
|
|
4696
4717
|
};
|
|
4697
4718
|
}
|
|
4698
|
-
function
|
|
4719
|
+
function hr(e) {
|
|
4699
4720
|
let t, r, n, i, o;
|
|
4700
4721
|
function a(u, h) {
|
|
4701
4722
|
return (
|
|
4702
4723
|
/*isFlowerMenu*/
|
|
4703
|
-
u[11] ?
|
|
4724
|
+
u[11] ? Xo : zo
|
|
4704
4725
|
);
|
|
4705
4726
|
}
|
|
4706
4727
|
let s = a(e), l = s(e);
|
|
4707
4728
|
return {
|
|
4708
4729
|
c() {
|
|
4709
|
-
t =
|
|
4730
|
+
t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4710
4731
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4711
4732
|
},
|
|
4712
4733
|
m(u, h) {
|
|
4713
|
-
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(
|
|
4714
4735
|
t,
|
|
4715
4736
|
"click",
|
|
4716
4737
|
/*navigationWindowToggle*/
|
|
@@ -4727,11 +4748,11 @@ function lr(e) {
|
|
|
4727
4748
|
}
|
|
4728
4749
|
};
|
|
4729
4750
|
}
|
|
4730
|
-
function
|
|
4751
|
+
function Xo(e) {
|
|
4731
4752
|
let t, r, n, i, o, a, s;
|
|
4732
4753
|
return {
|
|
4733
4754
|
c() {
|
|
4734
|
-
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*/
|
|
4735
4756
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4736
4757
|
},
|
|
4737
4758
|
m(l, u) {
|
|
@@ -4747,18 +4768,18 @@ function Wo(e) {
|
|
|
4747
4768
|
}
|
|
4748
4769
|
};
|
|
4749
4770
|
}
|
|
4750
|
-
function
|
|
4771
|
+
function zo(e) {
|
|
4751
4772
|
let t;
|
|
4752
4773
|
function r(o, a) {
|
|
4753
4774
|
return (
|
|
4754
4775
|
/*imageIconUrl*/
|
|
4755
|
-
o[9] ?
|
|
4776
|
+
o[9] ? Qo : Zo
|
|
4756
4777
|
);
|
|
4757
4778
|
}
|
|
4758
4779
|
let n = r(e), i = n(e);
|
|
4759
4780
|
return {
|
|
4760
4781
|
c() {
|
|
4761
|
-
i.c(), t =
|
|
4782
|
+
i.c(), t = _n();
|
|
4762
4783
|
},
|
|
4763
4784
|
m(o, a) {
|
|
4764
4785
|
i.m(o, a), C(o, t, a);
|
|
@@ -4771,14 +4792,14 @@ function Vo(e) {
|
|
|
4771
4792
|
}
|
|
4772
4793
|
};
|
|
4773
4794
|
}
|
|
4774
|
-
function
|
|
4775
|
-
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;
|
|
4776
4797
|
return {
|
|
4777
4798
|
c() {
|
|
4778
|
-
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");
|
|
4779
4800
|
},
|
|
4780
|
-
m(v,
|
|
4781
|
-
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);
|
|
4782
4803
|
},
|
|
4783
4804
|
p: D,
|
|
4784
4805
|
d(v) {
|
|
@@ -4786,11 +4807,11 @@ function Xo(e) {
|
|
|
4786
4807
|
}
|
|
4787
4808
|
};
|
|
4788
4809
|
}
|
|
4789
|
-
function
|
|
4810
|
+
function Qo(e) {
|
|
4790
4811
|
let t, r;
|
|
4791
4812
|
return {
|
|
4792
4813
|
c() {
|
|
4793
|
-
t =
|
|
4814
|
+
t = I("img"), te(t.src, r = /*imageIconUrl*/
|
|
4794
4815
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4795
4816
|
t,
|
|
4796
4817
|
"alt",
|
|
@@ -4803,7 +4824,7 @@ function zo(e) {
|
|
|
4803
4824
|
},
|
|
4804
4825
|
p(n, i) {
|
|
4805
4826
|
i[0] & /*imageIconUrl*/
|
|
4806
|
-
512 && !
|
|
4827
|
+
512 && !te(t.src, r = /*imageIconUrl*/
|
|
4807
4828
|
n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4808
4829
|
512 && c(
|
|
4809
4830
|
t,
|
|
@@ -4817,14 +4838,14 @@ function zo(e) {
|
|
|
4817
4838
|
}
|
|
4818
4839
|
};
|
|
4819
4840
|
}
|
|
4820
|
-
function
|
|
4841
|
+
function Yo(e) {
|
|
4821
4842
|
let t, r, n, i = !/*isLoading*/
|
|
4822
4843
|
e[1] && /*isMobile*/
|
|
4823
4844
|
e[13] && /*showNavigation*/
|
|
4824
|
-
e[3] &&
|
|
4845
|
+
e[3] && ir(e);
|
|
4825
4846
|
return {
|
|
4826
4847
|
c() {
|
|
4827
|
-
t =
|
|
4848
|
+
t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4828
4849
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4829
4850
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4830
4851
|
},
|
|
@@ -4836,9 +4857,9 @@ function Zo(e) {
|
|
|
4836
4857
|
o[1] && /*isMobile*/
|
|
4837
4858
|
o[13] && /*showNavigation*/
|
|
4838
4859
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4839
|
-
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, () => {
|
|
4840
4861
|
i = null;
|
|
4841
|
-
}),
|
|
4862
|
+
}), vr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4842
4863
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4843
4864
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4844
4865
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4854,155 +4875,155 @@ function Zo(e) {
|
|
|
4854
4875
|
}
|
|
4855
4876
|
};
|
|
4856
4877
|
}
|
|
4857
|
-
function
|
|
4878
|
+
function Jo(e, t, r) {
|
|
4858
4879
|
let n;
|
|
4859
|
-
|
|
4860
|
-
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:
|
|
4861
|
-
const
|
|
4862
|
-
fetch(g).then((
|
|
4863
|
-
Object.keys(
|
|
4864
|
-
|
|
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]);
|
|
4865
4886
|
});
|
|
4866
|
-
}).catch((
|
|
4867
|
-
console.log(
|
|
4887
|
+
}).catch((A) => {
|
|
4888
|
+
console.log(A);
|
|
4868
4889
|
});
|
|
4869
4890
|
};
|
|
4870
|
-
Object.keys(
|
|
4871
|
-
|
|
4891
|
+
Object.keys(er).forEach((p) => {
|
|
4892
|
+
Kt(p, er[p]);
|
|
4872
4893
|
});
|
|
4873
|
-
const
|
|
4874
|
-
if (
|
|
4875
|
-
switch (
|
|
4894
|
+
const Et = (p) => {
|
|
4895
|
+
if (p.data)
|
|
4896
|
+
switch (p.data.type) {
|
|
4876
4897
|
case "PlayerAccountMenuActive":
|
|
4877
|
-
r(4,
|
|
4898
|
+
r(4, P = !1);
|
|
4878
4899
|
break;
|
|
4879
4900
|
case "OpenLoginRegisterModal":
|
|
4880
|
-
r(4,
|
|
4901
|
+
r(4, P = !1);
|
|
4881
4902
|
break;
|
|
4882
4903
|
case "GoToHomepage":
|
|
4883
|
-
r(4,
|
|
4904
|
+
r(4, P = !1);
|
|
4884
4905
|
break;
|
|
4885
4906
|
}
|
|
4886
|
-
}, Qr = () => {
|
|
4887
|
-
r(11, Ge = A.toLowerCase() === "true");
|
|
4888
4907
|
}, Yr = () => {
|
|
4889
|
-
r(
|
|
4908
|
+
r(11, ke = B.toLowerCase() === "true");
|
|
4909
|
+
}, Jr = () => {
|
|
4910
|
+
r(4, P = !P), window.postMessage(
|
|
4890
4911
|
{
|
|
4891
4912
|
type: "MobileBottomNav",
|
|
4892
|
-
navigationWindowOpened:
|
|
4913
|
+
navigationWindowOpened: P
|
|
4893
4914
|
},
|
|
4894
4915
|
window.location.href
|
|
4895
4916
|
);
|
|
4896
|
-
},
|
|
4897
|
-
r(7, _e = []), r(7, _e = Y ?
|
|
4898
|
-
},
|
|
4899
|
-
|
|
4900
|
-
let
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
}), r(6, Y = V.length == 0), V.length >= 5 &&
|
|
4905
|
-
}).catch((
|
|
4906
|
-
r(1,
|
|
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);
|
|
4926
|
+
}).catch((H) => {
|
|
4927
|
+
r(1, E = !1), console.error(H);
|
|
4907
4928
|
});
|
|
4908
|
-
},
|
|
4909
|
-
const
|
|
4910
|
-
|
|
4911
|
-
},
|
|
4912
|
-
|
|
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(
|
|
4913
4934
|
{
|
|
4914
4935
|
type: "MobileBottomNavigationEvent",
|
|
4915
|
-
event:
|
|
4936
|
+
event: $e[R]
|
|
4916
4937
|
},
|
|
4917
4938
|
window.location.href
|
|
4918
4939
|
) : window.postMessage(
|
|
4919
4940
|
{
|
|
4920
4941
|
type: "NavigateTo",
|
|
4921
|
-
path:
|
|
4922
|
-
target:
|
|
4923
|
-
externalLink:
|
|
4942
|
+
path: p,
|
|
4943
|
+
target: A || null,
|
|
4944
|
+
externalLink: H || !1
|
|
4924
4945
|
},
|
|
4925
4946
|
window.location.href
|
|
4926
|
-
), r(4,
|
|
4947
|
+
), r(4, P = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4927
4948
|
context: "MobileBottomNavigation",
|
|
4928
|
-
menuItem: `${
|
|
4949
|
+
menuItem: `${p}`
|
|
4929
4950
|
});
|
|
4930
|
-
},
|
|
4931
|
-
|
|
4932
|
-
},
|
|
4933
|
-
r(10,
|
|
4934
|
-
},
|
|
4935
|
-
|
|
4951
|
+
}, en = () => {
|
|
4952
|
+
Do(s);
|
|
4953
|
+
}, je = () => {
|
|
4954
|
+
r(10, wt = b && window.innerHeight / window.innerWidth < 1);
|
|
4955
|
+
}, St = () => {
|
|
4956
|
+
P && r(4, P = !1);
|
|
4936
4957
|
};
|
|
4937
|
-
|
|
4938
|
-
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);
|
|
4939
4960
|
}));
|
|
4940
|
-
const
|
|
4941
|
-
var
|
|
4942
|
-
(
|
|
4943
|
-
},
|
|
4944
|
-
var
|
|
4945
|
-
(
|
|
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);
|
|
4946
4967
|
};
|
|
4947
|
-
function
|
|
4948
|
-
|
|
4949
|
-
|
|
4968
|
+
function nn(p) {
|
|
4969
|
+
Ke[p ? "unshift" : "push"](() => {
|
|
4970
|
+
$ = p, r(2, $);
|
|
4950
4971
|
});
|
|
4951
4972
|
}
|
|
4952
|
-
return e.$$set = (
|
|
4953
|
-
"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);
|
|
4954
4975
|
}, e.$$.update = () => {
|
|
4955
4976
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4956
|
-
33554432 &&
|
|
4957
|
-
16777218 && v && !
|
|
4958
|
-
131072 && s &&
|
|
4959
|
-
983040 && a && s && l && h &&
|
|
4960
|
-
2097156 && f &&
|
|
4961
|
-
4194308 &&
|
|
4962
|
-
1048580 && d &&
|
|
4963
|
-
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();
|
|
4964
4985
|
}, [
|
|
4965
4986
|
u,
|
|
4966
|
-
N,
|
|
4967
|
-
G,
|
|
4968
4987
|
E,
|
|
4969
|
-
|
|
4988
|
+
$,
|
|
4989
|
+
w,
|
|
4990
|
+
P,
|
|
4970
4991
|
W,
|
|
4971
4992
|
Y,
|
|
4972
4993
|
_e,
|
|
4973
4994
|
V,
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4995
|
+
xt,
|
|
4996
|
+
wt,
|
|
4997
|
+
ke,
|
|
4977
4998
|
n,
|
|
4978
4999
|
b,
|
|
4979
|
-
|
|
4980
|
-
|
|
5000
|
+
Jr,
|
|
5001
|
+
he,
|
|
4981
5002
|
a,
|
|
4982
5003
|
s,
|
|
4983
5004
|
l,
|
|
4984
5005
|
h,
|
|
4985
5006
|
d,
|
|
4986
5007
|
f,
|
|
4987
|
-
|
|
5008
|
+
m,
|
|
4988
5009
|
g,
|
|
4989
5010
|
v,
|
|
4990
|
-
|
|
5011
|
+
B,
|
|
4991
5012
|
o,
|
|
4992
5013
|
i,
|
|
4993
|
-
en,
|
|
4994
5014
|
tn,
|
|
4995
|
-
rn
|
|
5015
|
+
rn,
|
|
5016
|
+
nn
|
|
4996
5017
|
];
|
|
4997
5018
|
}
|
|
4998
|
-
class
|
|
5019
|
+
class qo extends Ln {
|
|
4999
5020
|
constructor(t) {
|
|
5000
|
-
super(),
|
|
5021
|
+
super(), Mn(
|
|
5001
5022
|
this,
|
|
5002
5023
|
t,
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5024
|
+
Jo,
|
|
5025
|
+
Yo,
|
|
5026
|
+
fr,
|
|
5006
5027
|
{
|
|
5007
5028
|
cmsendpoint: 16,
|
|
5008
5029
|
lang: 17,
|
|
@@ -5016,7 +5037,7 @@ class Yo extends On {
|
|
|
5016
5037
|
activecategory: 24,
|
|
5017
5038
|
flowermenustyle: 25
|
|
5018
5039
|
},
|
|
5019
|
-
|
|
5040
|
+
jo,
|
|
5020
5041
|
[-1, -1]
|
|
5021
5042
|
);
|
|
5022
5043
|
}
|
|
@@ -5087,7 +5108,7 @@ class Yo extends On {
|
|
|
5087
5108
|
this.$$set({ flowermenustyle: t }), F();
|
|
5088
5109
|
}
|
|
5089
5110
|
}
|
|
5090
|
-
|
|
5111
|
+
On(qo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5091
5112
|
export {
|
|
5092
|
-
|
|
5113
|
+
qo as default
|
|
5093
5114
|
};
|