@everymatrix/general-navigation-bar 1.54.12 → 1.55.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-BBGloZ_h.cjs +5 -0
- package/components/{GeneralNavigationBar-CcXiKgmp.js → GeneralNavigationBar-CB0tum7Z.js} +666 -644
- package/components/{GeneralNavigationBar-dxdm7ns-.js → GeneralNavigationBar-QZHGzIED.js} +594 -572
- 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-DaKb_C9m.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var $e = (e, t, r) => t in e ?
|
|
1
|
+
var on = Object.defineProperty, an = Object.defineProperties;
|
|
2
|
+
var sn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Et = Object.getOwnPropertySymbols;
|
|
4
|
+
var ln = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var $e = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ln.call(t, r) && $e(e, r, t[r]);
|
|
8
|
+
if (Et)
|
|
9
|
+
for (var r of Et(t))
|
|
10
|
+
un.call(t, r) && $e(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, St = (e, t) => an(e, sn(t));
|
|
13
13
|
var R = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var It = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,36 +29,36 @@ var Et = (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) e[r] = t[r];
|
|
34
34
|
return (
|
|
35
35
|
/** @type {T & S} */
|
|
36
36
|
e
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function lr(e) {
|
|
40
40
|
return e();
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function At() {
|
|
43
43
|
return /* @__PURE__ */ Object.create(null);
|
|
44
44
|
}
|
|
45
45
|
function se(e) {
|
|
46
|
-
e.forEach(
|
|
46
|
+
e.forEach(lr);
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function ft(e) {
|
|
49
49
|
return typeof e == "function";
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function ur(e, t) {
|
|
52
52
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
53
|
}
|
|
54
54
|
let xe;
|
|
55
55
|
function re(e, t) {
|
|
56
56
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function cn(e) {
|
|
59
59
|
return Object.keys(e).length === 0;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function hr(e, ...t) {
|
|
62
62
|
if (e == null) {
|
|
63
63
|
for (const n of t)
|
|
64
64
|
n(void 0);
|
|
@@ -67,19 +67,19 @@ function sr(e, ...t) {
|
|
|
67
67
|
const r = e.subscribe(...t);
|
|
68
68
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
e.$$.on_destroy.push(
|
|
70
|
+
function fn(e, t, r) {
|
|
71
|
+
e.$$.on_destroy.push(hr(t, r));
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function dn(e, t, r, n) {
|
|
74
74
|
if (e) {
|
|
75
|
-
const i =
|
|
75
|
+
const i = cr(e, t, r, n);
|
|
76
76
|
return e[0](i);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return e[1] && n ?
|
|
79
|
+
function cr(e, t, r, n) {
|
|
80
|
+
return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function pn(e, t, r, n) {
|
|
83
83
|
if (e[2] && n) {
|
|
84
84
|
const i = e[2](n(r));
|
|
85
85
|
if (t.dirty === void 0)
|
|
@@ -94,13 +94,13 @@ function hn(e, t, r, n) {
|
|
|
94
94
|
}
|
|
95
95
|
return t.dirty;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function mn(e, t, r, n, i, o) {
|
|
98
98
|
if (i) {
|
|
99
|
-
const a =
|
|
99
|
+
const a = cr(t, r, n, o);
|
|
100
100
|
e.p(a, i);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function gn(e) {
|
|
104
104
|
if (e.ctx.length > 32) {
|
|
105
105
|
const t = [], r = e.ctx.length / 32;
|
|
106
106
|
for (let n = 0; n < r; n++)
|
|
@@ -112,14 +112,14 @@ function fn(e) {
|
|
|
112
112
|
function y(e, t) {
|
|
113
113
|
e.appendChild(t);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
const n =
|
|
115
|
+
function vn(e, t, r) {
|
|
116
|
+
const n = bn(e);
|
|
117
117
|
if (!n.getElementById(t)) {
|
|
118
118
|
const i = A("style");
|
|
119
|
-
i.id = t, i.textContent = r,
|
|
119
|
+
i.id = t, i.textContent = r, yn(n, i);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function bn(e) {
|
|
123
123
|
if (!e) return document;
|
|
124
124
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
125
125
|
return t && /** @type {ShadowRoot} */
|
|
@@ -128,7 +128,7 @@ function mn(e) {
|
|
|
128
128
|
t
|
|
129
129
|
) : e.ownerDocument;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function yn(e, t) {
|
|
132
132
|
return y(
|
|
133
133
|
/** @type {Document} */
|
|
134
134
|
e.head || e,
|
|
@@ -141,14 +141,14 @@ function L(e, t, r) {
|
|
|
141
141
|
function O(e) {
|
|
142
142
|
e.parentNode && e.parentNode.removeChild(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function fr(e, t) {
|
|
145
145
|
for (let r = 0; r < e.length; r += 1)
|
|
146
146
|
e[r] && e[r].d(t);
|
|
147
147
|
}
|
|
148
148
|
function A(e) {
|
|
149
149
|
return document.createElement(e);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function P(e) {
|
|
152
152
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
153
153
|
}
|
|
154
154
|
function be(e) {
|
|
@@ -157,7 +157,7 @@ function be(e) {
|
|
|
157
157
|
function $() {
|
|
158
158
|
return be(" ");
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function _n() {
|
|
161
161
|
return be("");
|
|
162
162
|
}
|
|
163
163
|
function Me(e, t, r, n) {
|
|
@@ -166,14 +166,14 @@ function Me(e, t, r, n) {
|
|
|
166
166
|
function c(e, t, r) {
|
|
167
167
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function xn(e) {
|
|
170
170
|
return Array.from(e.childNodes);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function dt(e, t) {
|
|
173
173
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
174
174
|
t);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function wn(e) {
|
|
177
177
|
const t = {};
|
|
178
178
|
return e.childNodes.forEach(
|
|
179
179
|
/** @param {Element} node */
|
|
@@ -182,25 +182,25 @@ function bn(e) {
|
|
|
182
182
|
}
|
|
183
183
|
), t;
|
|
184
184
|
}
|
|
185
|
-
let
|
|
185
|
+
let pe;
|
|
186
186
|
function de(e) {
|
|
187
|
-
|
|
187
|
+
pe = e;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
if (!
|
|
191
|
-
return
|
|
189
|
+
function En() {
|
|
190
|
+
if (!pe) throw new Error("Function called outside component initialization");
|
|
191
|
+
return pe;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function Nn(e) {
|
|
194
|
+
En().$$.on_mount.push(e);
|
|
195
195
|
}
|
|
196
|
-
const K = [],
|
|
196
|
+
const K = [], Ye = [];
|
|
197
197
|
let ee = [];
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
|
|
198
|
+
const Bt = [], Sn = /* @__PURE__ */ Promise.resolve();
|
|
199
|
+
let Je = !1;
|
|
200
|
+
function In() {
|
|
201
|
+
Je || (Je = !0, Sn.then(U));
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function qe(e) {
|
|
204
204
|
ee.push(e);
|
|
205
205
|
}
|
|
206
206
|
const ke = /* @__PURE__ */ new Set();
|
|
@@ -208,41 +208,41 @@ let J = 0;
|
|
|
208
208
|
function U() {
|
|
209
209
|
if (J !== 0)
|
|
210
210
|
return;
|
|
211
|
-
const e =
|
|
211
|
+
const e = pe;
|
|
212
212
|
do {
|
|
213
213
|
try {
|
|
214
214
|
for (; J < K.length; ) {
|
|
215
215
|
const t = K[J];
|
|
216
|
-
J++, de(t),
|
|
216
|
+
J++, de(t), An(t.$$);
|
|
217
217
|
}
|
|
218
218
|
} catch (t) {
|
|
219
219
|
throw K.length = 0, J = 0, t;
|
|
220
220
|
}
|
|
221
|
-
for (de(null), K.length = 0, J = 0;
|
|
221
|
+
for (de(null), K.length = 0, J = 0; Ye.length; ) Ye.pop()();
|
|
222
222
|
for (let t = 0; t < ee.length; t += 1) {
|
|
223
223
|
const r = ee[t];
|
|
224
224
|
ke.has(r) || (ke.add(r), r());
|
|
225
225
|
}
|
|
226
226
|
ee.length = 0;
|
|
227
227
|
} while (K.length);
|
|
228
|
-
for (;
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
for (; Bt.length; )
|
|
229
|
+
Bt.pop()();
|
|
230
|
+
Je = !1, ke.clear(), de(e);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function An(e) {
|
|
233
233
|
if (e.fragment !== null) {
|
|
234
234
|
e.update(), se(e.before_update);
|
|
235
235
|
const t = e.dirty;
|
|
236
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
236
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Bn(e) {
|
|
240
240
|
const t = [], r = [];
|
|
241
241
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
242
242
|
}
|
|
243
243
|
const Ne = /* @__PURE__ */ new Set();
|
|
244
244
|
let Z;
|
|
245
|
-
function
|
|
245
|
+
function dr() {
|
|
246
246
|
Z = {
|
|
247
247
|
r: 0,
|
|
248
248
|
c: [],
|
|
@@ -250,13 +250,13 @@ function hr() {
|
|
|
250
250
|
// parent group
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function pr() {
|
|
254
254
|
Z.r || se(Z.c), Z = Z.p;
|
|
255
255
|
}
|
|
256
256
|
function z(e, t) {
|
|
257
257
|
e && e.i && (Ne.delete(e), e.i(t));
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function me(e, t, r, n) {
|
|
260
260
|
if (e && e.o) {
|
|
261
261
|
if (Ne.has(e)) return;
|
|
262
262
|
Ne.add(e), Z.c.push(() => {
|
|
@@ -267,22 +267,22 @@ function pe(e, t, r, n) {
|
|
|
267
267
|
function Te(e) {
|
|
268
268
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Tn(e, t, r) {
|
|
271
271
|
const { fragment: n, after_update: i } = e.$$;
|
|
272
|
-
n && n.m(t, r),
|
|
273
|
-
const o = e.$$.on_mount.map(
|
|
272
|
+
n && n.m(t, r), qe(() => {
|
|
273
|
+
const o = e.$$.on_mount.map(lr).filter(ft);
|
|
274
274
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
275
|
-
}), i.forEach(
|
|
275
|
+
}), i.forEach(qe);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Hn(e, t) {
|
|
278
278
|
const r = e.$$;
|
|
279
|
-
r.fragment !== null && (
|
|
279
|
+
r.fragment !== null && (Bn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
281
|
+
function Pn(e, t) {
|
|
282
|
+
e.$$.dirty[0] === -1 && (K.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
const l =
|
|
284
|
+
function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
285
|
+
const l = pe;
|
|
286
286
|
de(e);
|
|
287
287
|
const u = e.$$ = {
|
|
288
288
|
fragment: null,
|
|
@@ -291,7 +291,7 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
291
291
|
props: o,
|
|
292
292
|
update: D,
|
|
293
293
|
not_equal: i,
|
|
294
|
-
bound:
|
|
294
|
+
bound: At(),
|
|
295
295
|
// lifecycle
|
|
296
296
|
on_mount: [],
|
|
297
297
|
on_destroy: [],
|
|
@@ -300,28 +300,28 @@ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
300
300
|
after_update: [],
|
|
301
301
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
302
302
|
// everything else
|
|
303
|
-
callbacks:
|
|
303
|
+
callbacks: At(),
|
|
304
304
|
dirty: s,
|
|
305
305
|
skip_bound: !1,
|
|
306
306
|
root: t.target || l.$$.root
|
|
307
307
|
};
|
|
308
308
|
a && a(u.root);
|
|
309
309
|
let h = !1;
|
|
310
|
-
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...
|
|
311
|
-
const g =
|
|
312
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
310
|
+
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...m) => {
|
|
311
|
+
const g = m.length ? m[0] : f;
|
|
312
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Pn(e, d)), f;
|
|
313
313
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
314
314
|
if (t.hydrate) {
|
|
315
|
-
const d =
|
|
315
|
+
const d = xn(t.target);
|
|
316
316
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
317
317
|
} else
|
|
318
318
|
u.fragment && u.fragment.c();
|
|
319
|
-
t.intro && z(e.$$.fragment),
|
|
319
|
+
t.intro && z(e.$$.fragment), Tn(e, t.target, t.anchor), U();
|
|
320
320
|
}
|
|
321
321
|
de(l);
|
|
322
322
|
}
|
|
323
|
-
let
|
|
324
|
-
typeof HTMLElement == "function" && (
|
|
323
|
+
let mr;
|
|
324
|
+
typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
325
325
|
constructor(t, r, n) {
|
|
326
326
|
super();
|
|
327
327
|
/** The Svelte component constructor */
|
|
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
connectedCallback() {
|
|
361
|
-
return
|
|
361
|
+
return It(this, null, function* () {
|
|
362
362
|
if (this.$$cn = !0, !this.$$c) {
|
|
363
363
|
let t = function(o) {
|
|
364
364
|
return () => {
|
|
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
382
382
|
};
|
|
383
383
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
384
384
|
return;
|
|
385
|
-
const r = {}, n =
|
|
385
|
+
const r = {}, n = wn(this);
|
|
386
386
|
for (const o of this.$$s)
|
|
387
387
|
o in n && (r[o] = [t(o)]);
|
|
388
388
|
for (const o of this.attributes) {
|
|
@@ -393,7 +393,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
393
393
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
394
394
|
this.$$c = new this.$$ctor({
|
|
395
395
|
target: this.shadowRoot || this,
|
|
396
|
-
props:
|
|
396
|
+
props: St(Nt({}, this.$$d), {
|
|
397
397
|
$$slots: r,
|
|
398
398
|
$$scope: {
|
|
399
399
|
ctx: []
|
|
@@ -471,8 +471,8 @@ function Se(e, t, r, n) {
|
|
|
471
471
|
return t;
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
function
|
|
475
|
-
let a = class extends
|
|
474
|
+
function On(e, t, r, n, i, o) {
|
|
475
|
+
let a = class extends mr {
|
|
476
476
|
constructor() {
|
|
477
477
|
super(e, r, i), this.$$p_d = t;
|
|
478
478
|
}
|
|
@@ -502,7 +502,7 @@ function Tn(e, t, r, n, i, o) {
|
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
503
503
|
a, a;
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class Ln {
|
|
506
506
|
constructor() {
|
|
507
507
|
/**
|
|
508
508
|
* ### PRIVATE API
|
|
@@ -523,7 +523,7 @@ class Pn {
|
|
|
523
523
|
}
|
|
524
524
|
/** @returns {void} */
|
|
525
525
|
$destroy() {
|
|
526
|
-
|
|
526
|
+
Hn(this, 1), this.$destroy = D;
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
529
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -532,7 +532,7 @@ class Pn {
|
|
|
532
532
|
* @returns {() => void}
|
|
533
533
|
*/
|
|
534
534
|
$on(t, r) {
|
|
535
|
-
if (!
|
|
535
|
+
if (!ft(r))
|
|
536
536
|
return D;
|
|
537
537
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
538
|
return n.push(r), () => {
|
|
@@ -545,22 +545,22 @@ class Pn {
|
|
|
545
545
|
* @returns {void}
|
|
546
546
|
*/
|
|
547
547
|
$set(t) {
|
|
548
|
-
this.$$set && !
|
|
548
|
+
this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
const
|
|
552
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
553
|
-
var
|
|
554
|
-
return
|
|
551
|
+
const Cn = "4";
|
|
552
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
|
|
553
|
+
var Ke = function(e, t) {
|
|
554
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
555
555
|
r.__proto__ = n;
|
|
556
556
|
} || function(r, n) {
|
|
557
557
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
558
|
-
},
|
|
558
|
+
}, Ke(e, t);
|
|
559
559
|
};
|
|
560
560
|
function k(e, t) {
|
|
561
561
|
if (typeof t != "function" && t !== null)
|
|
562
562
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
563
|
-
|
|
563
|
+
Ke(e, t);
|
|
564
564
|
function r() {
|
|
565
565
|
this.constructor = e;
|
|
566
566
|
}
|
|
@@ -575,7 +575,7 @@ var E = function() {
|
|
|
575
575
|
return t;
|
|
576
576
|
}, E.apply(this, arguments);
|
|
577
577
|
};
|
|
578
|
-
function
|
|
578
|
+
function Fn(e, t) {
|
|
579
579
|
var r = {};
|
|
580
580
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
581
581
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -583,7 +583,7 @@ function Mn(e, t) {
|
|
|
583
583
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
584
584
|
return r;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function et(e) {
|
|
587
587
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
588
588
|
if (r) return r.call(e);
|
|
589
589
|
if (e && typeof e.length == "number") return {
|
|
@@ -593,7 +593,7 @@ function Ke(e) {
|
|
|
593
593
|
};
|
|
594
594
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function tt(e, t) {
|
|
597
597
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
598
598
|
if (!r) return e;
|
|
599
599
|
var n = r.call(e), i, o = [], a;
|
|
@@ -618,13 +618,13 @@ function te(e, t, r) {
|
|
|
618
618
|
function G(e) {
|
|
619
619
|
return typeof e == "function";
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function gr(e) {
|
|
622
622
|
var t = function(n) {
|
|
623
623
|
Error.call(n), n.stack = new Error().stack;
|
|
624
624
|
}, r = e(t);
|
|
625
625
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
626
626
|
}
|
|
627
|
-
var je =
|
|
627
|
+
var je = gr(function(e) {
|
|
628
628
|
return function(r) {
|
|
629
629
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
630
630
|
` + r.map(function(n, i) {
|
|
@@ -633,7 +633,7 @@ var je = dr(function(e) {
|
|
|
633
633
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
634
634
|
};
|
|
635
635
|
});
|
|
636
|
-
function
|
|
636
|
+
function rt(e, t) {
|
|
637
637
|
if (e) {
|
|
638
638
|
var r = e.indexOf(t);
|
|
639
639
|
0 <= r && e.splice(r, 1);
|
|
@@ -651,7 +651,7 @@ var Oe = function() {
|
|
|
651
651
|
if (a)
|
|
652
652
|
if (this._parentage = null, Array.isArray(a))
|
|
653
653
|
try {
|
|
654
|
-
for (var s =
|
|
654
|
+
for (var s = et(a), l = s.next(); !l.done; l = s.next()) {
|
|
655
655
|
var u = l.value;
|
|
656
656
|
u.remove(this);
|
|
657
657
|
}
|
|
@@ -677,19 +677,19 @@ var Oe = function() {
|
|
|
677
677
|
if (d) {
|
|
678
678
|
this._finalizers = null;
|
|
679
679
|
try {
|
|
680
|
-
for (var f =
|
|
681
|
-
var g =
|
|
680
|
+
for (var f = et(d), m = f.next(); !m.done; m = f.next()) {
|
|
681
|
+
var g = m.value;
|
|
682
682
|
try {
|
|
683
|
-
|
|
683
|
+
Tt(g);
|
|
684
684
|
} catch (v) {
|
|
685
|
-
o = o != null ? o : [], v instanceof je ? o = te(te([],
|
|
685
|
+
o = o != null ? o : [], v instanceof je ? o = te(te([], tt(o)), tt(v.errors)) : o.push(v);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
} catch (v) {
|
|
689
689
|
n = { error: v };
|
|
690
690
|
} finally {
|
|
691
691
|
try {
|
|
692
|
-
|
|
692
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
693
693
|
} finally {
|
|
694
694
|
if (n) throw n.error;
|
|
695
695
|
}
|
|
@@ -702,7 +702,7 @@ var Oe = function() {
|
|
|
702
702
|
var r;
|
|
703
703
|
if (t && t !== this)
|
|
704
704
|
if (this.closed)
|
|
705
|
-
|
|
705
|
+
Tt(t);
|
|
706
706
|
else {
|
|
707
707
|
if (t instanceof e) {
|
|
708
708
|
if (t.closed || t._hasParent(this))
|
|
@@ -719,52 +719,56 @@ var Oe = function() {
|
|
|
719
719
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
720
720
|
}, e.prototype._removeParent = function(t) {
|
|
721
721
|
var r = this._parentage;
|
|
722
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
722
|
+
r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
|
|
723
723
|
}, e.prototype.remove = function(t) {
|
|
724
724
|
var r = this._finalizers;
|
|
725
|
-
r &&
|
|
725
|
+
r && rt(r, t), t instanceof e && t._removeParent(this);
|
|
726
726
|
}, e.EMPTY = function() {
|
|
727
727
|
var t = new e();
|
|
728
728
|
return t.closed = !0, t;
|
|
729
729
|
}(), e;
|
|
730
|
-
}(),
|
|
731
|
-
function
|
|
730
|
+
}(), vr = Oe.EMPTY;
|
|
731
|
+
function br(e) {
|
|
732
732
|
return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Tt(e) {
|
|
735
735
|
G(e) ? e() : e.unsubscribe();
|
|
736
736
|
}
|
|
737
|
-
var
|
|
738
|
-
|
|
739
|
-
|
|
737
|
+
var yr = {
|
|
738
|
+
onUnhandledError: null,
|
|
739
|
+
onStoppedNotification: null,
|
|
740
|
+
Promise: void 0,
|
|
741
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
742
|
+
useDeprecatedNextContext: !1
|
|
743
|
+
}, Rn = {
|
|
740
744
|
setTimeout: function(e, t) {
|
|
741
745
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
742
746
|
r[n - 2] = arguments[n];
|
|
743
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
747
|
+
return setTimeout.apply(void 0, te([e, t], tt(r)));
|
|
744
748
|
},
|
|
745
749
|
clearTimeout: function(e) {
|
|
746
750
|
return clearTimeout(e);
|
|
747
751
|
},
|
|
748
752
|
delegate: void 0
|
|
749
753
|
};
|
|
750
|
-
function
|
|
751
|
-
|
|
754
|
+
function Un(e) {
|
|
755
|
+
Rn.setTimeout(function() {
|
|
752
756
|
throw e;
|
|
753
757
|
});
|
|
754
758
|
}
|
|
755
|
-
function
|
|
759
|
+
function Ht() {
|
|
756
760
|
}
|
|
757
761
|
function Ie(e) {
|
|
758
762
|
e();
|
|
759
763
|
}
|
|
760
|
-
var
|
|
764
|
+
var _r = function(e) {
|
|
761
765
|
k(t, e);
|
|
762
766
|
function t(r) {
|
|
763
767
|
var n = e.call(this) || this;
|
|
764
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
768
|
+
return n.isStopped = !1, r ? (n.destination = r, br(r) && r.add(n)) : n.destination = kn, n;
|
|
765
769
|
}
|
|
766
770
|
return t.create = function(r, n, i) {
|
|
767
|
-
return new
|
|
771
|
+
return new nt(r, n, i);
|
|
768
772
|
}, t.prototype.next = function(r) {
|
|
769
773
|
this.isStopped || this._next(r);
|
|
770
774
|
}, t.prototype.error = function(r) {
|
|
@@ -788,7 +792,11 @@ var gr = function(e) {
|
|
|
788
792
|
this.unsubscribe();
|
|
789
793
|
}
|
|
790
794
|
}, t;
|
|
791
|
-
}(Oe),
|
|
795
|
+
}(Oe), Dn = Function.prototype.bind;
|
|
796
|
+
function We(e, t) {
|
|
797
|
+
return Dn.call(e, t);
|
|
798
|
+
}
|
|
799
|
+
var Gn = function() {
|
|
792
800
|
function e(t) {
|
|
793
801
|
this.partialObserver = t;
|
|
794
802
|
}
|
|
@@ -819,43 +827,55 @@ var gr = function(e) {
|
|
|
819
827
|
we(r);
|
|
820
828
|
}
|
|
821
829
|
}, e;
|
|
822
|
-
}(),
|
|
830
|
+
}(), nt = function(e) {
|
|
823
831
|
k(t, e);
|
|
824
832
|
function t(r, n, i) {
|
|
825
833
|
var o = e.call(this) || this, a;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
834
|
+
if (G(r) || !r)
|
|
835
|
+
a = {
|
|
836
|
+
next: r != null ? r : void 0,
|
|
837
|
+
error: n != null ? n : void 0,
|
|
838
|
+
complete: i != null ? i : void 0
|
|
839
|
+
};
|
|
840
|
+
else {
|
|
841
|
+
var s;
|
|
842
|
+
o && yr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
843
|
+
return o.unsubscribe();
|
|
844
|
+
}, a = {
|
|
845
|
+
next: r.next && We(r.next, s),
|
|
846
|
+
error: r.error && We(r.error, s),
|
|
847
|
+
complete: r.complete && We(r.complete, s)
|
|
848
|
+
}) : a = r;
|
|
849
|
+
}
|
|
850
|
+
return o.destination = new Gn(a), o;
|
|
831
851
|
}
|
|
832
852
|
return t;
|
|
833
|
-
}(
|
|
853
|
+
}(_r);
|
|
834
854
|
function we(e) {
|
|
835
|
-
|
|
855
|
+
Un(e);
|
|
836
856
|
}
|
|
837
|
-
function
|
|
857
|
+
function $n(e) {
|
|
838
858
|
throw e;
|
|
839
859
|
}
|
|
840
|
-
var
|
|
860
|
+
var kn = {
|
|
841
861
|
closed: !0,
|
|
842
|
-
next:
|
|
843
|
-
error:
|
|
844
|
-
complete:
|
|
845
|
-
},
|
|
862
|
+
next: Ht,
|
|
863
|
+
error: $n,
|
|
864
|
+
complete: Ht
|
|
865
|
+
}, jn = function() {
|
|
846
866
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
847
867
|
}();
|
|
848
|
-
function
|
|
868
|
+
function Wn(e) {
|
|
849
869
|
return e;
|
|
850
870
|
}
|
|
851
|
-
function
|
|
852
|
-
return e.length === 0 ?
|
|
871
|
+
function Vn(e) {
|
|
872
|
+
return e.length === 0 ? Wn : e.length === 1 ? e[0] : function(r) {
|
|
853
873
|
return e.reduce(function(n, i) {
|
|
854
874
|
return i(n);
|
|
855
875
|
}, r);
|
|
856
876
|
};
|
|
857
877
|
}
|
|
858
|
-
var
|
|
878
|
+
var Pt = function() {
|
|
859
879
|
function e(t) {
|
|
860
880
|
t && (this._subscribe = t);
|
|
861
881
|
}
|
|
@@ -863,7 +883,7 @@ var Bt = function() {
|
|
|
863
883
|
var r = new e();
|
|
864
884
|
return r.source = this, r.operator = t, r;
|
|
865
885
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
866
|
-
var i = this, o =
|
|
886
|
+
var i = this, o = zn(t) ? t : new nt(t, r, n);
|
|
867
887
|
return Ie(function() {
|
|
868
888
|
var a = i, s = a.operator, l = a.source;
|
|
869
889
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -876,8 +896,8 @@ var Bt = function() {
|
|
|
876
896
|
}
|
|
877
897
|
}, e.prototype.forEach = function(t, r) {
|
|
878
898
|
var n = this;
|
|
879
|
-
return r =
|
|
880
|
-
var a = new
|
|
899
|
+
return r = Mt(r), new r(function(i, o) {
|
|
900
|
+
var a = new nt({
|
|
881
901
|
next: function(s) {
|
|
882
902
|
try {
|
|
883
903
|
t(s);
|
|
@@ -893,15 +913,15 @@ var Bt = function() {
|
|
|
893
913
|
}, e.prototype._subscribe = function(t) {
|
|
894
914
|
var r;
|
|
895
915
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
896
|
-
}, e.prototype[
|
|
916
|
+
}, e.prototype[jn] = function() {
|
|
897
917
|
return this;
|
|
898
918
|
}, e.prototype.pipe = function() {
|
|
899
919
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
900
920
|
t[r] = arguments[r];
|
|
901
|
-
return
|
|
921
|
+
return Vn(t)(this);
|
|
902
922
|
}, e.prototype.toPromise = function(t) {
|
|
903
923
|
var r = this;
|
|
904
|
-
return t =
|
|
924
|
+
return t = Mt(t), new t(function(n, i) {
|
|
905
925
|
var o;
|
|
906
926
|
r.subscribe(function(a) {
|
|
907
927
|
return o = a;
|
|
@@ -915,32 +935,32 @@ var Bt = function() {
|
|
|
915
935
|
return new e(t);
|
|
916
936
|
}, e;
|
|
917
937
|
}();
|
|
918
|
-
function
|
|
938
|
+
function Mt(e) {
|
|
919
939
|
var t;
|
|
920
|
-
return (t = e != null ? e :
|
|
940
|
+
return (t = e != null ? e : yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
921
941
|
}
|
|
922
|
-
function
|
|
942
|
+
function Xn(e) {
|
|
923
943
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
924
944
|
}
|
|
925
|
-
function
|
|
926
|
-
return e && e instanceof
|
|
945
|
+
function zn(e) {
|
|
946
|
+
return e && e instanceof _r || Xn(e) && br(e);
|
|
927
947
|
}
|
|
928
|
-
var
|
|
948
|
+
var Zn = gr(function(e) {
|
|
929
949
|
return function() {
|
|
930
950
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
931
951
|
};
|
|
932
|
-
}),
|
|
952
|
+
}), xr = function(e) {
|
|
933
953
|
k(t, e);
|
|
934
954
|
function t() {
|
|
935
955
|
var r = e.call(this) || this;
|
|
936
956
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
937
957
|
}
|
|
938
958
|
return t.prototype.lift = function(r) {
|
|
939
|
-
var n = new
|
|
959
|
+
var n = new Ot(this, this);
|
|
940
960
|
return n.operator = r, n;
|
|
941
961
|
}, t.prototype._throwIfClosed = function() {
|
|
942
962
|
if (this.closed)
|
|
943
|
-
throw new
|
|
963
|
+
throw new Zn();
|
|
944
964
|
}, t.prototype.next = function(r) {
|
|
945
965
|
var n = this;
|
|
946
966
|
Ie(function() {
|
|
@@ -948,7 +968,7 @@ var Wn = dr(function(e) {
|
|
|
948
968
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
949
969
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
950
970
|
try {
|
|
951
|
-
for (var a =
|
|
971
|
+
for (var a = et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
952
972
|
var l = s.value;
|
|
953
973
|
l.next(r);
|
|
954
974
|
}
|
|
@@ -996,19 +1016,19 @@ var Wn = dr(function(e) {
|
|
|
996
1016
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
997
1017
|
}, t.prototype._innerSubscribe = function(r) {
|
|
998
1018
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
999
|
-
return o || a ?
|
|
1000
|
-
n.currentObservers = null,
|
|
1019
|
+
return o || a ? vr : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1020
|
+
n.currentObservers = null, rt(s, r);
|
|
1001
1021
|
}));
|
|
1002
1022
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1003
1023
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1004
1024
|
i ? r.error(o) : a && r.complete();
|
|
1005
1025
|
}, t.prototype.asObservable = function() {
|
|
1006
|
-
var r = new
|
|
1026
|
+
var r = new Pt();
|
|
1007
1027
|
return r.source = this, r;
|
|
1008
1028
|
}, t.create = function(r, n) {
|
|
1009
|
-
return new
|
|
1029
|
+
return new Ot(r, n);
|
|
1010
1030
|
}, t;
|
|
1011
|
-
}(
|
|
1031
|
+
}(Pt), Ot = function(e) {
|
|
1012
1032
|
k(t, e);
|
|
1013
1033
|
function t(r, n) {
|
|
1014
1034
|
var i = e.call(this) || this;
|
|
@@ -1025,17 +1045,17 @@ var Wn = dr(function(e) {
|
|
|
1025
1045
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1026
1046
|
}, t.prototype._subscribe = function(r) {
|
|
1027
1047
|
var n, i;
|
|
1028
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1048
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : vr;
|
|
1029
1049
|
}, t;
|
|
1030
|
-
}(
|
|
1050
|
+
}(xr), wr = {
|
|
1031
1051
|
now: function() {
|
|
1032
|
-
return (
|
|
1052
|
+
return (wr.delegate || Date).now();
|
|
1033
1053
|
},
|
|
1034
1054
|
delegate: void 0
|
|
1035
|
-
},
|
|
1055
|
+
}, Qn = function(e) {
|
|
1036
1056
|
k(t, e);
|
|
1037
1057
|
function t(r, n, i) {
|
|
1038
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1058
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
|
|
1039
1059
|
var o = e.call(this) || this;
|
|
1040
1060
|
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;
|
|
1041
1061
|
}
|
|
@@ -1055,15 +1075,15 @@ var Wn = dr(function(e) {
|
|
|
1055
1075
|
u && o.splice(0, u + 1);
|
|
1056
1076
|
}
|
|
1057
1077
|
}, t;
|
|
1058
|
-
}(
|
|
1059
|
-
const
|
|
1060
|
-
if (
|
|
1061
|
-
const r = new
|
|
1062
|
-
|
|
1078
|
+
}(xr);
|
|
1079
|
+
const Lt = [], Ct = {}, Yn = (e, t = 0) => {
|
|
1080
|
+
if (Lt.indexOf(e) == -1) {
|
|
1081
|
+
const r = new Qn(t);
|
|
1082
|
+
Ct[e] = r, Lt.push(e);
|
|
1063
1083
|
}
|
|
1064
|
-
return
|
|
1084
|
+
return Ct[e];
|
|
1065
1085
|
}, q = [];
|
|
1066
|
-
function
|
|
1086
|
+
function Jn(e, t) {
|
|
1067
1087
|
return {
|
|
1068
1088
|
subscribe: Le(e, t).subscribe
|
|
1069
1089
|
};
|
|
@@ -1072,7 +1092,7 @@ function Le(e, t = D) {
|
|
|
1072
1092
|
let r;
|
|
1073
1093
|
const n = /* @__PURE__ */ new Set();
|
|
1074
1094
|
function i(s) {
|
|
1075
|
-
if (
|
|
1095
|
+
if (ur(e, s) && (e = s, r)) {
|
|
1076
1096
|
const l = !q.length;
|
|
1077
1097
|
for (const u of n)
|
|
1078
1098
|
u[1](), q.push(u, e);
|
|
@@ -1099,7 +1119,7 @@ function le(e, t, r) {
|
|
|
1099
1119
|
if (!i.every(Boolean))
|
|
1100
1120
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1101
1121
|
const o = t.length < 2;
|
|
1102
|
-
return
|
|
1122
|
+
return Jn(r, (a, s) => {
|
|
1103
1123
|
let l = !1;
|
|
1104
1124
|
const u = [];
|
|
1105
1125
|
let h = 0, d = D;
|
|
@@ -1108,12 +1128,12 @@ function le(e, t, r) {
|
|
|
1108
1128
|
return;
|
|
1109
1129
|
d();
|
|
1110
1130
|
const g = t(n ? u[0] : u, a, s);
|
|
1111
|
-
o ? a(g) : d =
|
|
1112
|
-
},
|
|
1113
|
-
(g, v) =>
|
|
1131
|
+
o ? a(g) : d = ft(g) ? g : D;
|
|
1132
|
+
}, m = i.map(
|
|
1133
|
+
(g, v) => hr(
|
|
1114
1134
|
g,
|
|
1115
|
-
(
|
|
1116
|
-
u[v] =
|
|
1135
|
+
(H) => {
|
|
1136
|
+
u[v] = H, h &= ~(1 << v), l && f();
|
|
1117
1137
|
},
|
|
1118
1138
|
() => {
|
|
1119
1139
|
h |= 1 << v;
|
|
@@ -1121,74 +1141,74 @@ function le(e, t, r) {
|
|
|
1121
1141
|
)
|
|
1122
1142
|
);
|
|
1123
1143
|
return l = !0, f(), function() {
|
|
1124
|
-
se(
|
|
1144
|
+
se(m), d(), l = !1;
|
|
1125
1145
|
};
|
|
1126
1146
|
});
|
|
1127
1147
|
}
|
|
1128
|
-
function
|
|
1148
|
+
function qn(e) {
|
|
1129
1149
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1130
1150
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1151
|
+
var Kn = function(t) {
|
|
1152
|
+
return ei(t) && !ti(t);
|
|
1133
1153
|
};
|
|
1134
|
-
function
|
|
1154
|
+
function ei(e) {
|
|
1135
1155
|
return !!e && typeof e == "object";
|
|
1136
1156
|
}
|
|
1137
|
-
function
|
|
1157
|
+
function ti(e) {
|
|
1138
1158
|
var t = Object.prototype.toString.call(e);
|
|
1139
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1159
|
+
return t === "[object RegExp]" || t === "[object Date]" || ii(e);
|
|
1140
1160
|
}
|
|
1141
|
-
var
|
|
1142
|
-
function
|
|
1143
|
-
return e.$$typeof ===
|
|
1161
|
+
var ri = typeof Symbol == "function" && Symbol.for, ni = ri ? Symbol.for("react.element") : 60103;
|
|
1162
|
+
function ii(e) {
|
|
1163
|
+
return e.$$typeof === ni;
|
|
1144
1164
|
}
|
|
1145
|
-
function
|
|
1165
|
+
function oi(e) {
|
|
1146
1166
|
return Array.isArray(e) ? [] : {};
|
|
1147
1167
|
}
|
|
1148
1168
|
function ge(e, t) {
|
|
1149
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1169
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(oi(e), e, t) : e;
|
|
1150
1170
|
}
|
|
1151
|
-
function
|
|
1171
|
+
function ai(e, t, r) {
|
|
1152
1172
|
return e.concat(t).map(function(n) {
|
|
1153
1173
|
return ge(n, r);
|
|
1154
1174
|
});
|
|
1155
1175
|
}
|
|
1156
|
-
function
|
|
1176
|
+
function si(e, t) {
|
|
1157
1177
|
if (!t.customMerge)
|
|
1158
1178
|
return ne;
|
|
1159
1179
|
var r = t.customMerge(e);
|
|
1160
1180
|
return typeof r == "function" ? r : ne;
|
|
1161
1181
|
}
|
|
1162
|
-
function
|
|
1182
|
+
function li(e) {
|
|
1163
1183
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1164
1184
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1165
1185
|
}) : [];
|
|
1166
1186
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return Object.keys(e).concat(
|
|
1187
|
+
function Ft(e) {
|
|
1188
|
+
return Object.keys(e).concat(li(e));
|
|
1169
1189
|
}
|
|
1170
|
-
function
|
|
1190
|
+
function Er(e, t) {
|
|
1171
1191
|
try {
|
|
1172
1192
|
return t in e;
|
|
1173
1193
|
} catch (r) {
|
|
1174
1194
|
return !1;
|
|
1175
1195
|
}
|
|
1176
1196
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return
|
|
1197
|
+
function ui(e, t) {
|
|
1198
|
+
return Er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1179
1199
|
}
|
|
1180
|
-
function
|
|
1200
|
+
function hi(e, t, r) {
|
|
1181
1201
|
var n = {};
|
|
1182
|
-
return r.isMergeableObject(e) &&
|
|
1202
|
+
return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
|
|
1183
1203
|
n[i] = ge(e[i], r);
|
|
1184
|
-
}),
|
|
1185
|
-
|
|
1204
|
+
}), Ft(t).forEach(function(i) {
|
|
1205
|
+
ui(e, i) || (Er(e, i) && r.isMergeableObject(t[i]) ? n[i] = si(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
|
1186
1206
|
}), n;
|
|
1187
1207
|
}
|
|
1188
1208
|
function ne(e, t, r) {
|
|
1189
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1209
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || Kn, r.cloneUnlessOtherwiseSpecified = ge;
|
|
1190
1210
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1191
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1211
|
+
return o ? n ? r.arrayMerge(e, t, r) : hi(e, t, r) : ge(t, r);
|
|
1192
1212
|
}
|
|
1193
1213
|
ne.all = function(t, r) {
|
|
1194
1214
|
if (!Array.isArray(t))
|
|
@@ -1197,56 +1217,58 @@ ne.all = function(t, r) {
|
|
|
1197
1217
|
return ne(n, i, r);
|
|
1198
1218
|
}, {});
|
|
1199
1219
|
};
|
|
1200
|
-
var
|
|
1201
|
-
const
|
|
1202
|
-
function
|
|
1203
|
-
var r = t && t.cache ? t.cache :
|
|
1220
|
+
var ci = ne, fi = ci;
|
|
1221
|
+
const di = /* @__PURE__ */ qn(fi);
|
|
1222
|
+
function Ve(e, t) {
|
|
1223
|
+
var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : mi;
|
|
1204
1224
|
return i(e, {
|
|
1205
1225
|
cache: r,
|
|
1206
1226
|
serializer: n
|
|
1207
1227
|
});
|
|
1208
1228
|
}
|
|
1209
|
-
function
|
|
1229
|
+
function pi(e) {
|
|
1210
1230
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1211
1231
|
}
|
|
1212
|
-
function
|
|
1213
|
-
var i =
|
|
1232
|
+
function Nr(e, t, r, n) {
|
|
1233
|
+
var i = pi(n) ? n : r(n), o = t.get(i);
|
|
1214
1234
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1215
1235
|
}
|
|
1216
|
-
function
|
|
1236
|
+
function Sr(e, t, r) {
|
|
1217
1237
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1218
1238
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1219
1239
|
}
|
|
1220
|
-
function
|
|
1240
|
+
function pt(e, t, r, n, i) {
|
|
1221
1241
|
return r.bind(t, e, n, i);
|
|
1222
1242
|
}
|
|
1223
|
-
function
|
|
1224
|
-
var r = e.length === 1 ?
|
|
1225
|
-
return
|
|
1243
|
+
function mi(e, t) {
|
|
1244
|
+
var r = e.length === 1 ? Nr : Sr;
|
|
1245
|
+
return pt(e, this, r, t.cache.create(), t.serializer);
|
|
1226
1246
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1247
|
+
function gi(e, t) {
|
|
1248
|
+
return pt(e, this, Sr, t.cache.create(), t.serializer);
|
|
1229
1249
|
}
|
|
1230
|
-
|
|
1250
|
+
function vi(e, t) {
|
|
1251
|
+
return pt(e, this, Nr, t.cache.create(), t.serializer);
|
|
1252
|
+
}
|
|
1253
|
+
var bi = function() {
|
|
1231
1254
|
return JSON.stringify(arguments);
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
}()
|
|
1244
|
-
), gi = {
|
|
1255
|
+
};
|
|
1256
|
+
function mt() {
|
|
1257
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1258
|
+
}
|
|
1259
|
+
mt.prototype.get = function(e) {
|
|
1260
|
+
return this.cache[e];
|
|
1261
|
+
};
|
|
1262
|
+
mt.prototype.set = function(e, t) {
|
|
1263
|
+
this.cache[e] = t;
|
|
1264
|
+
};
|
|
1265
|
+
var yi = {
|
|
1245
1266
|
create: function() {
|
|
1246
|
-
return new
|
|
1267
|
+
return new mt();
|
|
1247
1268
|
}
|
|
1248
|
-
},
|
|
1249
|
-
variadic:
|
|
1269
|
+
}, Xe = {
|
|
1270
|
+
variadic: gi,
|
|
1271
|
+
monadic: vi
|
|
1250
1272
|
}, _;
|
|
1251
1273
|
(function(e) {
|
|
1252
1274
|
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";
|
|
@@ -1259,43 +1281,43 @@ var ie;
|
|
|
1259
1281
|
(function(e) {
|
|
1260
1282
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1261
1283
|
})(ie || (ie = {}));
|
|
1262
|
-
function
|
|
1284
|
+
function Rt(e) {
|
|
1263
1285
|
return e.type === I.literal;
|
|
1264
1286
|
}
|
|
1265
|
-
function
|
|
1287
|
+
function _i(e) {
|
|
1266
1288
|
return e.type === I.argument;
|
|
1267
1289
|
}
|
|
1268
|
-
function
|
|
1290
|
+
function Ir(e) {
|
|
1269
1291
|
return e.type === I.number;
|
|
1270
1292
|
}
|
|
1271
|
-
function
|
|
1293
|
+
function Ar(e) {
|
|
1272
1294
|
return e.type === I.date;
|
|
1273
1295
|
}
|
|
1274
|
-
function
|
|
1296
|
+
function Br(e) {
|
|
1275
1297
|
return e.type === I.time;
|
|
1276
1298
|
}
|
|
1277
|
-
function
|
|
1299
|
+
function Tr(e) {
|
|
1278
1300
|
return e.type === I.select;
|
|
1279
1301
|
}
|
|
1280
|
-
function
|
|
1302
|
+
function Hr(e) {
|
|
1281
1303
|
return e.type === I.plural;
|
|
1282
1304
|
}
|
|
1283
|
-
function
|
|
1305
|
+
function xi(e) {
|
|
1284
1306
|
return e.type === I.pound;
|
|
1285
1307
|
}
|
|
1286
|
-
function
|
|
1308
|
+
function Pr(e) {
|
|
1287
1309
|
return e.type === I.tag;
|
|
1288
1310
|
}
|
|
1289
|
-
function
|
|
1311
|
+
function Mr(e) {
|
|
1290
1312
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1291
1313
|
}
|
|
1292
|
-
function
|
|
1314
|
+
function it(e) {
|
|
1293
1315
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1294
1316
|
}
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1317
|
+
var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
|
|
1318
|
+
function Ei(e) {
|
|
1297
1319
|
var t = {};
|
|
1298
|
-
return e.replace(
|
|
1320
|
+
return e.replace(wi, function(r) {
|
|
1299
1321
|
var n = r.length;
|
|
1300
1322
|
switch (r[0]) {
|
|
1301
1323
|
case "G":
|
|
@@ -1384,11 +1406,11 @@ function _i(e) {
|
|
|
1384
1406
|
return "";
|
|
1385
1407
|
}), t;
|
|
1386
1408
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1409
|
+
var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1410
|
+
function Si(e) {
|
|
1389
1411
|
if (e.length === 0)
|
|
1390
1412
|
throw new Error("Number skeleton cannot be empty");
|
|
1391
|
-
for (var t = e.split(
|
|
1413
|
+
for (var t = e.split(Ni).filter(function(f) {
|
|
1392
1414
|
return f.length > 0;
|
|
1393
1415
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1394
1416
|
var o = i[n], a = o.split("/");
|
|
@@ -1403,17 +1425,17 @@ function wi(e) {
|
|
|
1403
1425
|
}
|
|
1404
1426
|
return r;
|
|
1405
1427
|
}
|
|
1406
|
-
function
|
|
1428
|
+
function Ii(e) {
|
|
1407
1429
|
return e.replace(/^(.*?)-/, "");
|
|
1408
1430
|
}
|
|
1409
|
-
var
|
|
1410
|
-
function
|
|
1431
|
+
var Ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Cr = /^(0+)$/;
|
|
1432
|
+
function Dt(e) {
|
|
1411
1433
|
var t = {};
|
|
1412
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1434
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
|
|
1413
1435
|
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)), "";
|
|
1414
1436
|
}), t;
|
|
1415
1437
|
}
|
|
1416
|
-
function
|
|
1438
|
+
function Fr(e) {
|
|
1417
1439
|
switch (e) {
|
|
1418
1440
|
case "sign-auto":
|
|
1419
1441
|
return {
|
|
@@ -1453,7 +1475,7 @@ function Mr(e) {
|
|
|
1453
1475
|
};
|
|
1454
1476
|
}
|
|
1455
1477
|
}
|
|
1456
|
-
function
|
|
1478
|
+
function Bi(e) {
|
|
1457
1479
|
var t;
|
|
1458
1480
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1459
1481
|
notation: "engineering"
|
|
@@ -1461,17 +1483,17 @@ function Si(e) {
|
|
|
1461
1483
|
notation: "scientific"
|
|
1462
1484
|
}, e = e.slice(1)), t) {
|
|
1463
1485
|
var r = e.slice(0, 2);
|
|
1464
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1486
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Cr.test(e))
|
|
1465
1487
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1466
1488
|
t.minimumIntegerDigits = e.length;
|
|
1467
1489
|
}
|
|
1468
1490
|
return t;
|
|
1469
1491
|
}
|
|
1470
|
-
function
|
|
1471
|
-
var t = {}, r =
|
|
1492
|
+
function Gt(e) {
|
|
1493
|
+
var t = {}, r = Fr(e);
|
|
1472
1494
|
return r || t;
|
|
1473
1495
|
}
|
|
1474
|
-
function
|
|
1496
|
+
function Ti(e) {
|
|
1475
1497
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1476
1498
|
var i = n[r];
|
|
1477
1499
|
switch (i.stem) {
|
|
@@ -1495,7 +1517,7 @@ function Ii(e) {
|
|
|
1495
1517
|
continue;
|
|
1496
1518
|
case "measure-unit":
|
|
1497
1519
|
case "unit":
|
|
1498
|
-
t.style = "unit", t.unit =
|
|
1520
|
+
t.style = "unit", t.unit = Ii(i.options[0]);
|
|
1499
1521
|
continue;
|
|
1500
1522
|
case "compact-short":
|
|
1501
1523
|
case "K":
|
|
@@ -1507,12 +1529,12 @@ function Ii(e) {
|
|
|
1507
1529
|
continue;
|
|
1508
1530
|
case "scientific":
|
|
1509
1531
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1510
|
-
return E(E({}, l),
|
|
1532
|
+
return E(E({}, l), Gt(u));
|
|
1511
1533
|
}, {}));
|
|
1512
1534
|
continue;
|
|
1513
1535
|
case "engineering":
|
|
1514
1536
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1515
|
-
return E(E({}, l),
|
|
1537
|
+
return E(E({}, l), Gt(u));
|
|
1516
1538
|
}, {}));
|
|
1517
1539
|
continue;
|
|
1518
1540
|
case "notation-simple":
|
|
@@ -1557,40 +1579,40 @@ function Ii(e) {
|
|
|
1557
1579
|
case "integer-width":
|
|
1558
1580
|
if (i.options.length > 1)
|
|
1559
1581
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1560
|
-
i.options[0].replace(
|
|
1582
|
+
i.options[0].replace(Ai, function(l, u, h, d, f, m) {
|
|
1561
1583
|
if (u)
|
|
1562
1584
|
t.minimumIntegerDigits = h.length;
|
|
1563
1585
|
else {
|
|
1564
1586
|
if (d && f)
|
|
1565
1587
|
throw new Error("We currently do not support maximum integer digits");
|
|
1566
|
-
if (
|
|
1588
|
+
if (m)
|
|
1567
1589
|
throw new Error("We currently do not support exact integer digits");
|
|
1568
1590
|
}
|
|
1569
1591
|
return "";
|
|
1570
1592
|
});
|
|
1571
1593
|
continue;
|
|
1572
1594
|
}
|
|
1573
|
-
if (
|
|
1595
|
+
if (Cr.test(i.stem)) {
|
|
1574
1596
|
t.minimumIntegerDigits = i.stem.length;
|
|
1575
1597
|
continue;
|
|
1576
1598
|
}
|
|
1577
|
-
if (
|
|
1599
|
+
if (Ut.test(i.stem)) {
|
|
1578
1600
|
if (i.options.length > 1)
|
|
1579
1601
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1580
|
-
i.stem.replace(
|
|
1581
|
-
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f &&
|
|
1602
|
+
i.stem.replace(Ut, function(l, u, h, d, f, m) {
|
|
1603
|
+
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), "";
|
|
1582
1604
|
});
|
|
1583
1605
|
var o = i.options[0];
|
|
1584
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1606
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Dt(o)));
|
|
1585
1607
|
continue;
|
|
1586
1608
|
}
|
|
1587
|
-
if (
|
|
1588
|
-
t = E(E({}, t),
|
|
1609
|
+
if (Lr.test(i.stem)) {
|
|
1610
|
+
t = E(E({}, t), Dt(i.stem));
|
|
1589
1611
|
continue;
|
|
1590
1612
|
}
|
|
1591
|
-
var a =
|
|
1613
|
+
var a = Fr(i.stem);
|
|
1592
1614
|
a && (t = E(E({}, t), a));
|
|
1593
|
-
var s =
|
|
1615
|
+
var s = Bi(i.stem);
|
|
1594
1616
|
s && (t = E(E({}, t), s));
|
|
1595
1617
|
}
|
|
1596
1618
|
return t;
|
|
@@ -3010,13 +3032,13 @@ var Ee = {
|
|
|
3010
3032
|
"h"
|
|
3011
3033
|
]
|
|
3012
3034
|
};
|
|
3013
|
-
function
|
|
3035
|
+
function Hi(e, t) {
|
|
3014
3036
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3015
3037
|
var i = e.charAt(n);
|
|
3016
3038
|
if (i === "j") {
|
|
3017
3039
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3018
3040
|
o++, n++;
|
|
3019
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3041
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Pi(t);
|
|
3020
3042
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3021
3043
|
r += l;
|
|
3022
3044
|
for (; a-- > 0; )
|
|
@@ -3025,7 +3047,7 @@ function Ai(e, t) {
|
|
|
3025
3047
|
}
|
|
3026
3048
|
return r;
|
|
3027
3049
|
}
|
|
3028
|
-
function
|
|
3050
|
+
function Pi(e) {
|
|
3029
3051
|
var t = e.hourCycle;
|
|
3030
3052
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3031
3053
|
e.hourCycles && // @ts-ignore
|
|
@@ -3047,20 +3069,20 @@ function Bi(e) {
|
|
|
3047
3069
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3048
3070
|
return i[0];
|
|
3049
3071
|
}
|
|
3050
|
-
var
|
|
3072
|
+
var ze, Mi = new RegExp("^".concat(Or.source, "*")), Oi = new RegExp("".concat(Or.source, "*$"));
|
|
3051
3073
|
function w(e, t) {
|
|
3052
3074
|
return { start: e, end: t };
|
|
3053
3075
|
}
|
|
3054
|
-
var
|
|
3076
|
+
var Li = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Fi = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Di = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, $i = Gi ? Number.isSafeInteger : function(e) {
|
|
3055
3077
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3056
|
-
},
|
|
3078
|
+
}, ot = !0;
|
|
3057
3079
|
try {
|
|
3058
|
-
var
|
|
3059
|
-
|
|
3080
|
+
var ki = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3081
|
+
ot = ((ze = ki.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
3060
3082
|
} catch (e) {
|
|
3061
|
-
|
|
3083
|
+
ot = !1;
|
|
3062
3084
|
}
|
|
3063
|
-
var
|
|
3085
|
+
var $t = Li ? (
|
|
3064
3086
|
// Native
|
|
3065
3087
|
function(t, r, n) {
|
|
3066
3088
|
return t.startsWith(r, n);
|
|
@@ -3070,7 +3092,7 @@ var Ut = Hi ? (
|
|
|
3070
3092
|
function(t, r, n) {
|
|
3071
3093
|
return t.slice(n, n + r.length) === r;
|
|
3072
3094
|
}
|
|
3073
|
-
),
|
|
3095
|
+
), at = Ci ? String.fromCodePoint : (
|
|
3074
3096
|
// IE11
|
|
3075
3097
|
function() {
|
|
3076
3098
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3082,9 +3104,9 @@ var Ut = Hi ? (
|
|
|
3082
3104
|
}
|
|
3083
3105
|
return n;
|
|
3084
3106
|
}
|
|
3085
|
-
),
|
|
3107
|
+
), kt = (
|
|
3086
3108
|
// native
|
|
3087
|
-
|
|
3109
|
+
Fi ? Object.fromEntries : (
|
|
3088
3110
|
// Ponyfill
|
|
3089
3111
|
function(t) {
|
|
3090
3112
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3094,7 +3116,7 @@ var Ut = Hi ? (
|
|
|
3094
3116
|
return r;
|
|
3095
3117
|
}
|
|
3096
3118
|
)
|
|
3097
|
-
),
|
|
3119
|
+
), Rr = Ri ? (
|
|
3098
3120
|
// Native
|
|
3099
3121
|
function(t, r) {
|
|
3100
3122
|
return t.codePointAt(r);
|
|
@@ -3108,7 +3130,7 @@ var Ut = Hi ? (
|
|
|
3108
3130
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3109
3131
|
}
|
|
3110
3132
|
}
|
|
3111
|
-
),
|
|
3133
|
+
), ji = Ui ? (
|
|
3112
3134
|
// Native
|
|
3113
3135
|
function(t) {
|
|
3114
3136
|
return t.trimStart();
|
|
@@ -3116,9 +3138,9 @@ var Ut = Hi ? (
|
|
|
3116
3138
|
) : (
|
|
3117
3139
|
// Ponyfill
|
|
3118
3140
|
function(t) {
|
|
3119
|
-
return t.replace(
|
|
3141
|
+
return t.replace(Mi, "");
|
|
3120
3142
|
}
|
|
3121
|
-
),
|
|
3143
|
+
), Wi = Di ? (
|
|
3122
3144
|
// Native
|
|
3123
3145
|
function(t) {
|
|
3124
3146
|
return t.trimEnd();
|
|
@@ -3126,32 +3148,32 @@ var Ut = Hi ? (
|
|
|
3126
3148
|
) : (
|
|
3127
3149
|
// Ponyfill
|
|
3128
3150
|
function(t) {
|
|
3129
|
-
return t.replace(
|
|
3151
|
+
return t.replace(Oi, "");
|
|
3130
3152
|
}
|
|
3131
3153
|
);
|
|
3132
|
-
function
|
|
3154
|
+
function Ur(e, t) {
|
|
3133
3155
|
return new RegExp(e, t);
|
|
3134
3156
|
}
|
|
3135
|
-
var
|
|
3136
|
-
if (
|
|
3137
|
-
var
|
|
3138
|
-
|
|
3157
|
+
var st;
|
|
3158
|
+
if (ot) {
|
|
3159
|
+
var jt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3160
|
+
st = function(t, r) {
|
|
3139
3161
|
var n;
|
|
3140
|
-
|
|
3141
|
-
var i =
|
|
3162
|
+
jt.lastIndex = r;
|
|
3163
|
+
var i = jt.exec(t);
|
|
3142
3164
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3143
3165
|
};
|
|
3144
3166
|
} else
|
|
3145
|
-
|
|
3167
|
+
st = function(t, r) {
|
|
3146
3168
|
for (var n = []; ; ) {
|
|
3147
|
-
var i =
|
|
3148
|
-
if (i === void 0 ||
|
|
3169
|
+
var i = Rr(t, r);
|
|
3170
|
+
if (i === void 0 || Dr(i) || Zi(i))
|
|
3149
3171
|
break;
|
|
3150
3172
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3151
3173
|
}
|
|
3152
|
-
return
|
|
3174
|
+
return at.apply(void 0, n);
|
|
3153
3175
|
};
|
|
3154
|
-
var
|
|
3176
|
+
var Vi = (
|
|
3155
3177
|
/** @class */
|
|
3156
3178
|
function() {
|
|
3157
3179
|
function e(t, r) {
|
|
@@ -3182,7 +3204,7 @@ var ki = (
|
|
|
3182
3204
|
if (n)
|
|
3183
3205
|
break;
|
|
3184
3206
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3185
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3207
|
+
} else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
|
|
3186
3208
|
var a = this.parseTag(t, r);
|
|
3187
3209
|
if (a.err)
|
|
3188
3210
|
return a;
|
|
@@ -3215,7 +3237,7 @@ var ki = (
|
|
|
3215
3237
|
return o;
|
|
3216
3238
|
var a = o.val, s = this.clonePosition();
|
|
3217
3239
|
if (this.bumpIf("</")) {
|
|
3218
|
-
if (this.isEOF() || !
|
|
3240
|
+
if (this.isEOF() || !lt(this.char()))
|
|
3219
3241
|
return this.error(_.INVALID_TAG, w(s, this.clonePosition()));
|
|
3220
3242
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3221
3243
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3233,7 +3255,7 @@ var ki = (
|
|
|
3233
3255
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3234
3256
|
}, e.prototype.parseTagName = function() {
|
|
3235
3257
|
var t = this.offset();
|
|
3236
|
-
for (this.bump(); !this.isEOF() &&
|
|
3258
|
+
for (this.bump(); !this.isEOF() && zi(this.char()); )
|
|
3237
3259
|
this.bump();
|
|
3238
3260
|
return this.message.slice(t, this.offset());
|
|
3239
3261
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3262,7 +3284,7 @@ var ki = (
|
|
|
3262
3284
|
};
|
|
3263
3285
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3264
3286
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3265
|
-
!
|
|
3287
|
+
!Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3266
3288
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3267
3289
|
if (this.isEOF() || this.char() !== 39)
|
|
3268
3290
|
return null;
|
|
@@ -3296,12 +3318,12 @@ var ki = (
|
|
|
3296
3318
|
r.push(n);
|
|
3297
3319
|
this.bump();
|
|
3298
3320
|
}
|
|
3299
|
-
return
|
|
3321
|
+
return at.apply(void 0, r);
|
|
3300
3322
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3301
3323
|
if (this.isEOF())
|
|
3302
3324
|
return null;
|
|
3303
3325
|
var n = this.char();
|
|
3304
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3326
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3305
3327
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3306
3328
|
var n = this.clonePosition();
|
|
3307
3329
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3330,7 +3352,7 @@ var ki = (
|
|
|
3330
3352
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3331
3353
|
}
|
|
3332
3354
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3333
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3355
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3334
3356
|
this.bumpTo(i);
|
|
3335
3357
|
var o = this.clonePosition(), a = w(t, o);
|
|
3336
3358
|
return { value: n, location: a };
|
|
@@ -3349,34 +3371,34 @@ var ki = (
|
|
|
3349
3371
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3350
3372
|
if (d.err)
|
|
3351
3373
|
return d;
|
|
3352
|
-
var f =
|
|
3374
|
+
var f = Wi(d.val);
|
|
3353
3375
|
if (f.length === 0)
|
|
3354
3376
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3355
|
-
var
|
|
3356
|
-
u = { style: f, styleLocation:
|
|
3377
|
+
var m = w(h, this.clonePosition());
|
|
3378
|
+
u = { style: f, styleLocation: m };
|
|
3357
3379
|
}
|
|
3358
3380
|
var g = this.tryParseArgumentClose(i);
|
|
3359
3381
|
if (g.err)
|
|
3360
3382
|
return g;
|
|
3361
3383
|
var v = w(i, this.clonePosition());
|
|
3362
|
-
if (u &&
|
|
3363
|
-
var
|
|
3384
|
+
if (u && $t(u == null ? void 0 : u.style, "::", 0)) {
|
|
3385
|
+
var H = ji(u.style.slice(2));
|
|
3364
3386
|
if (s === "number") {
|
|
3365
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3387
|
+
var d = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3366
3388
|
return d.err ? d : {
|
|
3367
3389
|
val: { type: I.number, value: n, location: v, style: d.val },
|
|
3368
3390
|
err: null
|
|
3369
3391
|
};
|
|
3370
3392
|
} else {
|
|
3371
|
-
if (
|
|
3393
|
+
if (H.length === 0)
|
|
3372
3394
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3373
|
-
var N =
|
|
3374
|
-
this.locale && (N =
|
|
3395
|
+
var N = H;
|
|
3396
|
+
this.locale && (N = Hi(H, this.locale));
|
|
3375
3397
|
var f = {
|
|
3376
3398
|
type: ie.dateTime,
|
|
3377
3399
|
pattern: N,
|
|
3378
3400
|
location: u.styleLocation,
|
|
3379
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3401
|
+
parsedOptions: this.shouldParseSkeletons ? Ei(N) : {}
|
|
3380
3402
|
}, b = s === "date" ? I.date : I.time;
|
|
3381
3403
|
return {
|
|
3382
3404
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3422,7 +3444,7 @@ var ki = (
|
|
|
3422
3444
|
val: {
|
|
3423
3445
|
type: I.select,
|
|
3424
3446
|
value: n,
|
|
3425
|
-
options:
|
|
3447
|
+
options: kt(j.val),
|
|
3426
3448
|
location: Y
|
|
3427
3449
|
},
|
|
3428
3450
|
err: null
|
|
@@ -3430,7 +3452,7 @@ var ki = (
|
|
|
3430
3452
|
val: {
|
|
3431
3453
|
type: I.plural,
|
|
3432
3454
|
value: n,
|
|
3433
|
-
options:
|
|
3455
|
+
options: kt(j.val),
|
|
3434
3456
|
offset: C,
|
|
3435
3457
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3436
3458
|
location: Y
|
|
@@ -3481,7 +3503,7 @@ var ki = (
|
|
|
3481
3503
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3482
3504
|
var n = [];
|
|
3483
3505
|
try {
|
|
3484
|
-
n =
|
|
3506
|
+
n = Si(t);
|
|
3485
3507
|
} catch (i) {
|
|
3486
3508
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3487
3509
|
}
|
|
@@ -3490,7 +3512,7 @@ var ki = (
|
|
|
3490
3512
|
type: ie.number,
|
|
3491
3513
|
tokens: n,
|
|
3492
3514
|
location: r,
|
|
3493
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3515
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3494
3516
|
},
|
|
3495
3517
|
err: null
|
|
3496
3518
|
};
|
|
@@ -3509,20 +3531,20 @@ var ki = (
|
|
|
3509
3531
|
if (l.has(u))
|
|
3510
3532
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3511
3533
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3512
|
-
var
|
|
3534
|
+
var m = this.clonePosition();
|
|
3513
3535
|
if (!this.bumpIf("{"))
|
|
3514
3536
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3515
3537
|
var g = this.parseMessage(t + 1, r, n);
|
|
3516
3538
|
if (g.err)
|
|
3517
3539
|
return g;
|
|
3518
|
-
var v = this.tryParseArgumentClose(
|
|
3540
|
+
var v = this.tryParseArgumentClose(m);
|
|
3519
3541
|
if (v.err)
|
|
3520
3542
|
return v;
|
|
3521
3543
|
s.push([
|
|
3522
3544
|
u,
|
|
3523
3545
|
{
|
|
3524
3546
|
value: g.val,
|
|
3525
|
-
location: w(
|
|
3547
|
+
location: w(m, this.clonePosition())
|
|
3526
3548
|
}
|
|
3527
3549
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3528
3550
|
}
|
|
@@ -3538,7 +3560,7 @@ var ki = (
|
|
|
3538
3560
|
break;
|
|
3539
3561
|
}
|
|
3540
3562
|
var l = w(i, this.clonePosition());
|
|
3541
|
-
return o ? (a *= n,
|
|
3563
|
+
return o ? (a *= n, $i(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3542
3564
|
}, e.prototype.offset = function() {
|
|
3543
3565
|
return this.position.offset;
|
|
3544
3566
|
}, e.prototype.isEOF = function() {
|
|
@@ -3553,7 +3575,7 @@ var ki = (
|
|
|
3553
3575
|
var t = this.position.offset;
|
|
3554
3576
|
if (t >= this.message.length)
|
|
3555
3577
|
throw Error("out of bound");
|
|
3556
|
-
var r =
|
|
3578
|
+
var r = Rr(this.message, t);
|
|
3557
3579
|
if (r === void 0)
|
|
3558
3580
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3559
3581
|
return r;
|
|
@@ -3572,7 +3594,7 @@ var ki = (
|
|
|
3572
3594
|
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);
|
|
3573
3595
|
}
|
|
3574
3596
|
}, e.prototype.bumpIf = function(t) {
|
|
3575
|
-
if (
|
|
3597
|
+
if ($t(this.message, t, this.offset())) {
|
|
3576
3598
|
for (var r = 0; r < t.length; r++)
|
|
3577
3599
|
this.bump();
|
|
3578
3600
|
return !0;
|
|
@@ -3594,7 +3616,7 @@ var ki = (
|
|
|
3594
3616
|
break;
|
|
3595
3617
|
}
|
|
3596
3618
|
}, e.prototype.bumpSpace = function() {
|
|
3597
|
-
for (; !this.isEOF() &&
|
|
3619
|
+
for (; !this.isEOF() && Dr(this.char()); )
|
|
3598
3620
|
this.bump();
|
|
3599
3621
|
}, e.prototype.peek = function() {
|
|
3600
3622
|
if (this.isEOF())
|
|
@@ -3604,37 +3626,37 @@ var ki = (
|
|
|
3604
3626
|
}, e;
|
|
3605
3627
|
}()
|
|
3606
3628
|
);
|
|
3607
|
-
function
|
|
3629
|
+
function lt(e) {
|
|
3608
3630
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3609
3631
|
}
|
|
3610
|
-
function
|
|
3611
|
-
return
|
|
3632
|
+
function Xi(e) {
|
|
3633
|
+
return lt(e) || e === 47;
|
|
3612
3634
|
}
|
|
3613
|
-
function
|
|
3635
|
+
function zi(e) {
|
|
3614
3636
|
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;
|
|
3615
3637
|
}
|
|
3616
|
-
function
|
|
3638
|
+
function Dr(e) {
|
|
3617
3639
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3618
3640
|
}
|
|
3619
|
-
function
|
|
3641
|
+
function Zi(e) {
|
|
3620
3642
|
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;
|
|
3621
3643
|
}
|
|
3622
|
-
function
|
|
3644
|
+
function ut(e) {
|
|
3623
3645
|
e.forEach(function(t) {
|
|
3624
|
-
if (delete t.location,
|
|
3646
|
+
if (delete t.location, Tr(t) || Hr(t))
|
|
3625
3647
|
for (var r in t.options)
|
|
3626
|
-
delete t.options[r].location,
|
|
3627
|
-
else
|
|
3648
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3649
|
+
else Ir(t) && Mr(t.style) || (Ar(t) || Br(t)) && it(t.style) ? delete t.style.location : Pr(t) && ut(t.children);
|
|
3628
3650
|
});
|
|
3629
3651
|
}
|
|
3630
|
-
function
|
|
3652
|
+
function Qi(e, t) {
|
|
3631
3653
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3632
|
-
var r = new
|
|
3654
|
+
var r = new Vi(e, t).parse();
|
|
3633
3655
|
if (r.err) {
|
|
3634
3656
|
var n = SyntaxError(_[r.err.kind]);
|
|
3635
3657
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3636
3658
|
}
|
|
3637
|
-
return t != null && t.captureLocation ||
|
|
3659
|
+
return t != null && t.captureLocation || ut(r.val), r.val;
|
|
3638
3660
|
}
|
|
3639
3661
|
var oe;
|
|
3640
3662
|
(function(e) {
|
|
@@ -3652,7 +3674,7 @@ var Ce = (
|
|
|
3652
3674
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3653
3675
|
}, t;
|
|
3654
3676
|
}(Error)
|
|
3655
|
-
),
|
|
3677
|
+
), Wt = (
|
|
3656
3678
|
/** @class */
|
|
3657
3679
|
function(e) {
|
|
3658
3680
|
k(t, e);
|
|
@@ -3661,7 +3683,7 @@ var Ce = (
|
|
|
3661
3683
|
}
|
|
3662
3684
|
return t;
|
|
3663
3685
|
}(Ce)
|
|
3664
|
-
),
|
|
3686
|
+
), Yi = (
|
|
3665
3687
|
/** @class */
|
|
3666
3688
|
function(e) {
|
|
3667
3689
|
k(t, e);
|
|
@@ -3670,7 +3692,7 @@ var Ce = (
|
|
|
3670
3692
|
}
|
|
3671
3693
|
return t;
|
|
3672
3694
|
}(Ce)
|
|
3673
|
-
),
|
|
3695
|
+
), Ji = (
|
|
3674
3696
|
/** @class */
|
|
3675
3697
|
function(e) {
|
|
3676
3698
|
k(t, e);
|
|
@@ -3683,17 +3705,17 @@ var Ce = (
|
|
|
3683
3705
|
(function(e) {
|
|
3684
3706
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3685
3707
|
})(M || (M = {}));
|
|
3686
|
-
function
|
|
3708
|
+
function qi(e) {
|
|
3687
3709
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3688
3710
|
var n = t[t.length - 1];
|
|
3689
3711
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3690
3712
|
}, []);
|
|
3691
3713
|
}
|
|
3692
|
-
function
|
|
3714
|
+
function Ki(e) {
|
|
3693
3715
|
return typeof e == "function";
|
|
3694
3716
|
}
|
|
3695
3717
|
function Ae(e, t, r, n, i, o, a) {
|
|
3696
|
-
if (e.length === 1 &&
|
|
3718
|
+
if (e.length === 1 && Rt(e[0]))
|
|
3697
3719
|
return [
|
|
3698
3720
|
{
|
|
3699
3721
|
type: M.literal,
|
|
@@ -3702,14 +3724,14 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3702
3724
|
];
|
|
3703
3725
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3704
3726
|
var h = u[l];
|
|
3705
|
-
if (
|
|
3727
|
+
if (Rt(h)) {
|
|
3706
3728
|
s.push({
|
|
3707
3729
|
type: M.literal,
|
|
3708
3730
|
value: h.value
|
|
3709
3731
|
});
|
|
3710
3732
|
continue;
|
|
3711
3733
|
}
|
|
3712
|
-
if (
|
|
3734
|
+
if (xi(h)) {
|
|
3713
3735
|
typeof o == "number" && s.push({
|
|
3714
3736
|
type: M.literal,
|
|
3715
3737
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3718,44 +3740,44 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3718
3740
|
}
|
|
3719
3741
|
var d = h.value;
|
|
3720
3742
|
if (!(i && d in i))
|
|
3721
|
-
throw new
|
|
3743
|
+
throw new Ji(d, a);
|
|
3722
3744
|
var f = i[d];
|
|
3723
|
-
if (
|
|
3745
|
+
if (_i(h)) {
|
|
3724
3746
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3725
3747
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3726
3748
|
value: f
|
|
3727
3749
|
});
|
|
3728
3750
|
continue;
|
|
3729
3751
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var
|
|
3752
|
+
if (Ar(h)) {
|
|
3753
|
+
var m = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
|
|
3732
3754
|
s.push({
|
|
3733
3755
|
type: M.literal,
|
|
3734
|
-
value: r.getDateTimeFormat(t,
|
|
3756
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3735
3757
|
});
|
|
3736
3758
|
continue;
|
|
3737
3759
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var
|
|
3760
|
+
if (Br(h)) {
|
|
3761
|
+
var m = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3740
3762
|
s.push({
|
|
3741
3763
|
type: M.literal,
|
|
3742
|
-
value: r.getDateTimeFormat(t,
|
|
3764
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3743
3765
|
});
|
|
3744
3766
|
continue;
|
|
3745
3767
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var
|
|
3748
|
-
|
|
3768
|
+
if (Ir(h)) {
|
|
3769
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Mr(h.style) ? h.style.parsedOptions : void 0;
|
|
3770
|
+
m && m.scale && (f = f * (m.scale || 1)), s.push({
|
|
3749
3771
|
type: M.literal,
|
|
3750
|
-
value: r.getNumberFormat(t,
|
|
3772
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3751
3773
|
});
|
|
3752
3774
|
continue;
|
|
3753
3775
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var g = h.children, v = h.value,
|
|
3756
|
-
if (!
|
|
3757
|
-
throw new
|
|
3758
|
-
var N = Ae(g, t, r, n, i, o), b =
|
|
3776
|
+
if (Pr(h)) {
|
|
3777
|
+
var g = h.children, v = h.value, H = i[v];
|
|
3778
|
+
if (!Ki(H))
|
|
3779
|
+
throw new Yi(v, "function", a);
|
|
3780
|
+
var N = Ae(g, t, r, n, i, o), b = H(N.map(function(C) {
|
|
3759
3781
|
return C.value;
|
|
3760
3782
|
}));
|
|
3761
3783
|
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(C) {
|
|
@@ -3765,14 +3787,14 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3765
3787
|
};
|
|
3766
3788
|
}));
|
|
3767
3789
|
}
|
|
3768
|
-
if (
|
|
3790
|
+
if (Tr(h)) {
|
|
3769
3791
|
var T = h.options[f] || h.options.other;
|
|
3770
3792
|
if (!T)
|
|
3771
|
-
throw new
|
|
3793
|
+
throw new Wt(h.value, f, Object.keys(h.options), a);
|
|
3772
3794
|
s.push.apply(s, Ae(T.value, t, r, n, i));
|
|
3773
3795
|
continue;
|
|
3774
3796
|
}
|
|
3775
|
-
if (
|
|
3797
|
+
if (Hr(h)) {
|
|
3776
3798
|
var T = h.options["=".concat(f)];
|
|
3777
3799
|
if (!T) {
|
|
3778
3800
|
if (!Intl.PluralRules)
|
|
@@ -3783,24 +3805,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3783
3805
|
T = h.options[x] || h.options.other;
|
|
3784
3806
|
}
|
|
3785
3807
|
if (!T)
|
|
3786
|
-
throw new
|
|
3808
|
+
throw new Wt(h.value, f, Object.keys(h.options), a);
|
|
3787
3809
|
s.push.apply(s, Ae(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3788
3810
|
continue;
|
|
3789
3811
|
}
|
|
3790
3812
|
}
|
|
3791
|
-
return
|
|
3813
|
+
return qi(s);
|
|
3792
3814
|
}
|
|
3793
|
-
function
|
|
3815
|
+
function eo(e, t) {
|
|
3794
3816
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3795
3817
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3796
3818
|
}, {})) : e;
|
|
3797
3819
|
}
|
|
3798
|
-
function
|
|
3820
|
+
function to(e, t) {
|
|
3799
3821
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3800
|
-
return r[n] =
|
|
3822
|
+
return r[n] = eo(e[n], t[n]), r;
|
|
3801
3823
|
}, E({}, e)) : e;
|
|
3802
3824
|
}
|
|
3803
|
-
function
|
|
3825
|
+
function Ze(e) {
|
|
3804
3826
|
return {
|
|
3805
3827
|
create: function() {
|
|
3806
3828
|
return {
|
|
@@ -3814,39 +3836,39 @@ function ze(e) {
|
|
|
3814
3836
|
}
|
|
3815
3837
|
};
|
|
3816
3838
|
}
|
|
3817
|
-
function
|
|
3839
|
+
function ro(e) {
|
|
3818
3840
|
return e === void 0 && (e = {
|
|
3819
3841
|
number: {},
|
|
3820
3842
|
dateTime: {},
|
|
3821
3843
|
pluralRules: {}
|
|
3822
3844
|
}), {
|
|
3823
|
-
getNumberFormat:
|
|
3845
|
+
getNumberFormat: Ve(function() {
|
|
3824
3846
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3825
3847
|
r[n] = arguments[n];
|
|
3826
3848
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3827
3849
|
}, {
|
|
3828
|
-
cache:
|
|
3829
|
-
strategy:
|
|
3850
|
+
cache: Ze(e.number),
|
|
3851
|
+
strategy: Xe.variadic
|
|
3830
3852
|
}),
|
|
3831
|
-
getDateTimeFormat:
|
|
3853
|
+
getDateTimeFormat: Ve(function() {
|
|
3832
3854
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3855
|
r[n] = arguments[n];
|
|
3834
3856
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3835
3857
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3858
|
+
cache: Ze(e.dateTime),
|
|
3859
|
+
strategy: Xe.variadic
|
|
3838
3860
|
}),
|
|
3839
|
-
getPluralRules:
|
|
3861
|
+
getPluralRules: Ve(function() {
|
|
3840
3862
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3863
|
r[n] = arguments[n];
|
|
3842
3864
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3843
3865
|
}, {
|
|
3844
|
-
cache:
|
|
3845
|
-
strategy:
|
|
3866
|
+
cache: Ze(e.pluralRules),
|
|
3867
|
+
strategy: Xe.variadic
|
|
3846
3868
|
})
|
|
3847
3869
|
};
|
|
3848
3870
|
}
|
|
3849
|
-
var
|
|
3871
|
+
var no = (
|
|
3850
3872
|
/** @class */
|
|
3851
3873
|
function() {
|
|
3852
3874
|
function e(t, r, n, i) {
|
|
@@ -3878,13 +3900,13 @@ var eo = (
|
|
|
3878
3900
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3879
3901
|
var a = i || {};
|
|
3880
3902
|
a.formatters;
|
|
3881
|
-
var s =
|
|
3903
|
+
var s = Fn(a, ["formatters"]);
|
|
3882
3904
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3883
3905
|
} else
|
|
3884
3906
|
this.ast = t;
|
|
3885
3907
|
if (!Array.isArray(this.ast))
|
|
3886
3908
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3887
|
-
this.formats =
|
|
3909
|
+
this.formats = to(e.formats, n), this.formatters = i && i.formatters || ro(this.formatterCache);
|
|
3888
3910
|
}
|
|
3889
3911
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3890
3912
|
get: function() {
|
|
@@ -3897,7 +3919,7 @@ var eo = (
|
|
|
3897
3919
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3898
3920
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3899
3921
|
}
|
|
3900
|
-
}, e.__parse =
|
|
3922
|
+
}, e.__parse = Qi, e.formats = {
|
|
3901
3923
|
number: {
|
|
3902
3924
|
integer: {
|
|
3903
3925
|
maximumFractionDigits: 0
|
|
@@ -3958,7 +3980,7 @@ var eo = (
|
|
|
3958
3980
|
}, e;
|
|
3959
3981
|
}()
|
|
3960
3982
|
);
|
|
3961
|
-
function
|
|
3983
|
+
function io(e, t) {
|
|
3962
3984
|
if (t == null)
|
|
3963
3985
|
return;
|
|
3964
3986
|
if (t in e)
|
|
@@ -3979,92 +4001,92 @@ function to(e, t) {
|
|
|
3979
4001
|
n = void 0;
|
|
3980
4002
|
return n;
|
|
3981
4003
|
}
|
|
3982
|
-
const X = {},
|
|
4004
|
+
const X = {}, oo = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Gr = (e, t) => {
|
|
3983
4005
|
if (t == null)
|
|
3984
4006
|
return;
|
|
3985
4007
|
if (t in X && e in X[t])
|
|
3986
4008
|
return X[t][e];
|
|
3987
4009
|
const r = Fe(t);
|
|
3988
4010
|
for (let n = 0; n < r.length; n++) {
|
|
3989
|
-
const i = r[n], o =
|
|
4011
|
+
const i = r[n], o = so(i, e);
|
|
3990
4012
|
if (o)
|
|
3991
|
-
return
|
|
4013
|
+
return oo(e, t, o);
|
|
3992
4014
|
}
|
|
3993
4015
|
};
|
|
3994
|
-
let
|
|
4016
|
+
let gt;
|
|
3995
4017
|
const ye = Le({});
|
|
3996
|
-
function
|
|
3997
|
-
return
|
|
4018
|
+
function ao(e) {
|
|
4019
|
+
return gt[e] || null;
|
|
3998
4020
|
}
|
|
3999
|
-
function
|
|
4000
|
-
return e in
|
|
4021
|
+
function $r(e) {
|
|
4022
|
+
return e in gt;
|
|
4001
4023
|
}
|
|
4002
|
-
function
|
|
4003
|
-
if (
|
|
4024
|
+
function so(e, t) {
|
|
4025
|
+
if (!$r(e))
|
|
4004
4026
|
return null;
|
|
4005
|
-
const r =
|
|
4006
|
-
return
|
|
4027
|
+
const r = ao(e);
|
|
4028
|
+
return io(r, t);
|
|
4007
4029
|
}
|
|
4008
|
-
function
|
|
4030
|
+
function lo(e) {
|
|
4009
4031
|
if (e == null)
|
|
4010
4032
|
return;
|
|
4011
4033
|
const t = Fe(e);
|
|
4012
4034
|
for (let r = 0; r < t.length; r++) {
|
|
4013
4035
|
const n = t[r];
|
|
4014
|
-
if (
|
|
4036
|
+
if ($r(n))
|
|
4015
4037
|
return n;
|
|
4016
4038
|
}
|
|
4017
4039
|
}
|
|
4018
|
-
function
|
|
4019
|
-
delete X[e], ye.update((r) => (r[e] =
|
|
4040
|
+
function kr(e, ...t) {
|
|
4041
|
+
delete X[e], ye.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
|
|
4020
4042
|
}
|
|
4021
4043
|
le(
|
|
4022
4044
|
[ye],
|
|
4023
4045
|
([e]) => Object.keys(e)
|
|
4024
4046
|
);
|
|
4025
|
-
ye.subscribe((e) =>
|
|
4047
|
+
ye.subscribe((e) => gt = e);
|
|
4026
4048
|
const Be = {};
|
|
4027
|
-
function
|
|
4049
|
+
function uo(e, t) {
|
|
4028
4050
|
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
4029
4051
|
}
|
|
4030
|
-
function
|
|
4052
|
+
function jr(e) {
|
|
4031
4053
|
return Be[e];
|
|
4032
4054
|
}
|
|
4033
|
-
function
|
|
4055
|
+
function ho(e) {
|
|
4034
4056
|
return Fe(e).map((t) => {
|
|
4035
|
-
const r =
|
|
4057
|
+
const r = jr(t);
|
|
4036
4058
|
return [t, r ? [...r] : []];
|
|
4037
4059
|
}).filter(([, t]) => t.length > 0);
|
|
4038
4060
|
}
|
|
4039
|
-
function
|
|
4061
|
+
function ht(e) {
|
|
4040
4062
|
return e == null ? !1 : Fe(e).some(
|
|
4041
4063
|
(t) => {
|
|
4042
4064
|
var r;
|
|
4043
|
-
return (r =
|
|
4065
|
+
return (r = jr(t)) == null ? void 0 : r.size;
|
|
4044
4066
|
}
|
|
4045
4067
|
);
|
|
4046
4068
|
}
|
|
4047
|
-
function
|
|
4069
|
+
function co(e, t) {
|
|
4048
4070
|
return Promise.all(
|
|
4049
|
-
t.map((n) => (
|
|
4050
|
-
).then((n) =>
|
|
4071
|
+
t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
|
|
4072
|
+
).then((n) => kr(e, ...n));
|
|
4051
4073
|
}
|
|
4052
4074
|
const fe = {};
|
|
4053
|
-
function
|
|
4054
|
-
if (!
|
|
4075
|
+
function Wr(e) {
|
|
4076
|
+
if (!ht(e))
|
|
4055
4077
|
return e in fe ? fe[e] : Promise.resolve();
|
|
4056
|
-
const t =
|
|
4078
|
+
const t = ho(e);
|
|
4057
4079
|
return fe[e] = Promise.all(
|
|
4058
4080
|
t.map(
|
|
4059
|
-
([r, n]) =>
|
|
4081
|
+
([r, n]) => co(r, n)
|
|
4060
4082
|
)
|
|
4061
4083
|
).then(() => {
|
|
4062
|
-
if (
|
|
4063
|
-
return
|
|
4084
|
+
if (ht(e))
|
|
4085
|
+
return Wr(e);
|
|
4064
4086
|
delete fe[e];
|
|
4065
4087
|
}), fe[e];
|
|
4066
4088
|
}
|
|
4067
|
-
const
|
|
4089
|
+
const fo = {
|
|
4068
4090
|
number: {
|
|
4069
4091
|
scientific: { notation: "scientific" },
|
|
4070
4092
|
engineering: { notation: "engineering" },
|
|
@@ -4093,57 +4115,57 @@ const uo = {
|
|
|
4093
4115
|
timeZoneName: "short"
|
|
4094
4116
|
}
|
|
4095
4117
|
}
|
|
4096
|
-
},
|
|
4118
|
+
}, po = {
|
|
4097
4119
|
fallbackLocale: null,
|
|
4098
4120
|
loadingDelay: 200,
|
|
4099
|
-
formats:
|
|
4121
|
+
formats: fo,
|
|
4100
4122
|
warnOnMissingMessages: !0,
|
|
4101
4123
|
handleMissingMessage: void 0,
|
|
4102
4124
|
ignoreTag: !0
|
|
4103
|
-
},
|
|
4125
|
+
}, mo = po;
|
|
4104
4126
|
function ae() {
|
|
4105
|
-
return
|
|
4127
|
+
return mo;
|
|
4106
4128
|
}
|
|
4107
|
-
const
|
|
4108
|
-
var
|
|
4129
|
+
const Qe = Le(!1);
|
|
4130
|
+
var go = Object.defineProperty, vo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Vt = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, _o = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xo = (e, t) => {
|
|
4109
4131
|
for (var r in t || (t = {}))
|
|
4110
|
-
|
|
4111
|
-
if (
|
|
4112
|
-
for (var r of
|
|
4113
|
-
|
|
4132
|
+
yo.call(t, r) && Xt(e, r, t[r]);
|
|
4133
|
+
if (Vt)
|
|
4134
|
+
for (var r of Vt(t))
|
|
4135
|
+
_o.call(t, r) && Xt(e, r, t[r]);
|
|
4114
4136
|
return e;
|
|
4115
|
-
},
|
|
4116
|
-
let
|
|
4117
|
-
const
|
|
4118
|
-
function
|
|
4137
|
+
}, wo = (e, t) => vo(e, bo(t));
|
|
4138
|
+
let ct;
|
|
4139
|
+
const He = Le(null);
|
|
4140
|
+
function zt(e) {
|
|
4119
4141
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4120
4142
|
}
|
|
4121
4143
|
function Fe(e, t = ae().fallbackLocale) {
|
|
4122
|
-
const r =
|
|
4123
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4144
|
+
const r = zt(e);
|
|
4145
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
|
|
4124
4146
|
}
|
|
4125
4147
|
function Q() {
|
|
4126
|
-
return
|
|
4148
|
+
return ct != null ? ct : void 0;
|
|
4127
4149
|
}
|
|
4128
|
-
|
|
4129
|
-
|
|
4150
|
+
He.subscribe((e) => {
|
|
4151
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4130
4152
|
});
|
|
4131
|
-
const
|
|
4132
|
-
if (e &&
|
|
4153
|
+
const Eo = (e) => {
|
|
4154
|
+
if (e && lo(e) && ht(e)) {
|
|
4133
4155
|
const { loadingDelay: t } = ae();
|
|
4134
4156
|
let r;
|
|
4135
4157
|
return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
|
|
4136
|
-
() =>
|
|
4158
|
+
() => Qe.set(!0),
|
|
4137
4159
|
t
|
|
4138
|
-
) :
|
|
4139
|
-
|
|
4160
|
+
) : Qe.set(!0), Wr(e).then(() => {
|
|
4161
|
+
He.set(e);
|
|
4140
4162
|
}).finally(() => {
|
|
4141
|
-
clearTimeout(r),
|
|
4163
|
+
clearTimeout(r), Qe.set(!1);
|
|
4142
4164
|
});
|
|
4143
4165
|
}
|
|
4144
|
-
return
|
|
4145
|
-
}, ue =
|
|
4146
|
-
set:
|
|
4166
|
+
return He.set(e);
|
|
4167
|
+
}, ue = wo(xo({}, He), {
|
|
4168
|
+
set: Eo
|
|
4147
4169
|
}), Re = (e) => {
|
|
4148
4170
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4149
4171
|
return (n) => {
|
|
@@ -4151,20 +4173,20 @@ const _o = (e) => {
|
|
|
4151
4173
|
return i in t ? t[i] : t[i] = e(n);
|
|
4152
4174
|
};
|
|
4153
4175
|
};
|
|
4154
|
-
var
|
|
4176
|
+
var No = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
|
|
4155
4177
|
for (var r in t || (t = {}))
|
|
4156
|
-
|
|
4157
|
-
if (
|
|
4158
|
-
for (var r of
|
|
4159
|
-
|
|
4178
|
+
Vr.call(t, r) && Zt(e, r, t[r]);
|
|
4179
|
+
if (Pe)
|
|
4180
|
+
for (var r of Pe(t))
|
|
4181
|
+
Xr.call(t, r) && Zt(e, r, t[r]);
|
|
4160
4182
|
return e;
|
|
4161
4183
|
}, he = (e, t) => {
|
|
4162
4184
|
var r = {};
|
|
4163
4185
|
for (var n in e)
|
|
4164
|
-
|
|
4165
|
-
if (e != null &&
|
|
4166
|
-
for (var n of
|
|
4167
|
-
t.indexOf(n) < 0 &&
|
|
4186
|
+
Vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4187
|
+
if (e != null && Pe)
|
|
4188
|
+
for (var n of Pe(e))
|
|
4189
|
+
t.indexOf(n) < 0 && Xr.call(e, n) && (r[n] = e[n]);
|
|
4168
4190
|
return r;
|
|
4169
4191
|
};
|
|
4170
4192
|
const ve = (e, t) => {
|
|
@@ -4172,21 +4194,21 @@ const ve = (e, t) => {
|
|
|
4172
4194
|
if (e in r && t in r[e])
|
|
4173
4195
|
return r[e][t];
|
|
4174
4196
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4175
|
-
},
|
|
4197
|
+
}, So = Re(
|
|
4176
4198
|
(e) => {
|
|
4177
4199
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4178
4200
|
if (r == null)
|
|
4179
4201
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4180
4202
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
4181
4203
|
}
|
|
4182
|
-
),
|
|
4204
|
+
), Io = Re(
|
|
4183
4205
|
(e) => {
|
|
4184
4206
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4185
4207
|
if (r == null)
|
|
4186
4208
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4187
4209
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4188
4210
|
}
|
|
4189
|
-
),
|
|
4211
|
+
), Ao = Re(
|
|
4190
4212
|
(e) => {
|
|
4191
4213
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4192
4214
|
if (r == null)
|
|
@@ -4195,33 +4217,33 @@ const ve = (e, t) => {
|
|
|
4195
4217
|
);
|
|
4196
4218
|
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4197
4219
|
}
|
|
4198
|
-
),
|
|
4220
|
+
), Bo = (e = {}) => {
|
|
4199
4221
|
var t = e, {
|
|
4200
4222
|
locale: r = Q()
|
|
4201
4223
|
} = t, n = he(t, [
|
|
4202
4224
|
"locale"
|
|
4203
4225
|
]);
|
|
4204
|
-
return
|
|
4205
|
-
},
|
|
4226
|
+
return So(vt({ locale: r }, n));
|
|
4227
|
+
}, To = (e = {}) => {
|
|
4206
4228
|
var t = e, {
|
|
4207
4229
|
locale: r = Q()
|
|
4208
4230
|
} = t, n = he(t, [
|
|
4209
4231
|
"locale"
|
|
4210
4232
|
]);
|
|
4211
|
-
return
|
|
4212
|
-
},
|
|
4233
|
+
return Io(vt({ locale: r }, n));
|
|
4234
|
+
}, Ho = (e = {}) => {
|
|
4213
4235
|
var t = e, {
|
|
4214
4236
|
locale: r = Q()
|
|
4215
4237
|
} = t, n = he(t, [
|
|
4216
4238
|
"locale"
|
|
4217
4239
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4240
|
+
return Ao(vt({ locale: r }, n));
|
|
4241
|
+
}, Po = Re(
|
|
4220
4242
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4221
|
-
(e, t = Q()) => new
|
|
4243
|
+
(e, t = Q()) => new no(e, t, ae().formats, {
|
|
4222
4244
|
ignoreTag: ae().ignoreTag
|
|
4223
4245
|
})
|
|
4224
|
-
),
|
|
4246
|
+
), Mo = (e, t = {}) => {
|
|
4225
4247
|
var r, n, i, o;
|
|
4226
4248
|
let a = t;
|
|
4227
4249
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4234,7 +4256,7 @@ const ve = (e, t) => {
|
|
|
4234
4256
|
throw new Error(
|
|
4235
4257
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4236
4258
|
);
|
|
4237
|
-
let h =
|
|
4259
|
+
let h = Gr(e, l);
|
|
4238
4260
|
if (!h)
|
|
4239
4261
|
h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4240
4262
|
else if (typeof h != "string")
|
|
@@ -4245,7 +4267,7 @@ const ve = (e, t) => {
|
|
|
4245
4267
|
return h;
|
|
4246
4268
|
let d = h;
|
|
4247
4269
|
try {
|
|
4248
|
-
d =
|
|
4270
|
+
d = Po(h, l).format(s);
|
|
4249
4271
|
} catch (f) {
|
|
4250
4272
|
f instanceof Error && console.warn(
|
|
4251
4273
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4253,20 +4275,20 @@ const ve = (e, t) => {
|
|
|
4253
4275
|
);
|
|
4254
4276
|
}
|
|
4255
4277
|
return d;
|
|
4256
|
-
},
|
|
4257
|
-
le([ue], () =>
|
|
4258
|
-
le([ue], () =>
|
|
4259
|
-
le([ue], () =>
|
|
4260
|
-
le([ue, ye], () =>
|
|
4261
|
-
window.emWidgets = { topic:
|
|
4262
|
-
const
|
|
4263
|
-
function
|
|
4264
|
-
|
|
4265
|
-
}
|
|
4266
|
-
function
|
|
4278
|
+
}, Oo = (e, t) => Ho(t).format(e), Lo = (e, t) => To(t).format(e), Co = (e, t) => Bo(t).format(e), Fo = (e, t = Q()) => Gr(e, t), Ro = le([ue, ye], () => Mo);
|
|
4279
|
+
le([ue], () => Oo);
|
|
4280
|
+
le([ue], () => Lo);
|
|
4281
|
+
le([ue], () => Co);
|
|
4282
|
+
le([ue, ye], () => Fo);
|
|
4283
|
+
window.emWidgets = { topic: Yn };
|
|
4284
|
+
const Qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4285
|
+
function Yt(e, t) {
|
|
4286
|
+
kr(e, t);
|
|
4287
|
+
}
|
|
4288
|
+
function Uo(e) {
|
|
4267
4289
|
ue.set(e);
|
|
4268
4290
|
}
|
|
4269
|
-
const
|
|
4291
|
+
const Jt = {
|
|
4270
4292
|
en: {
|
|
4271
4293
|
secondaryMenuTitle: "Categories"
|
|
4272
4294
|
},
|
|
@@ -4301,28 +4323,28 @@ const Zt = {
|
|
|
4301
4323
|
secondaryMenuTitle: "Categories"
|
|
4302
4324
|
}
|
|
4303
4325
|
};
|
|
4304
|
-
function
|
|
4305
|
-
|
|
4326
|
+
function Do(e) {
|
|
4327
|
+
vn(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4306
4328
|
}
|
|
4307
|
-
function
|
|
4329
|
+
function qt(e, t, r) {
|
|
4308
4330
|
const n = e.slice();
|
|
4309
4331
|
return n[44] = t[r], n[46] = r, n;
|
|
4310
4332
|
}
|
|
4311
|
-
function
|
|
4333
|
+
function Kt(e, t, r) {
|
|
4312
4334
|
const n = e.slice();
|
|
4313
4335
|
return n[44] = t[r], n;
|
|
4314
4336
|
}
|
|
4315
|
-
const
|
|
4316
|
-
function
|
|
4337
|
+
const Go = (e) => ({}), er = (e) => ({});
|
|
4338
|
+
function tr(e) {
|
|
4317
4339
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4318
|
-
e[6] &&
|
|
4340
|
+
e[6] && rr(e), u = Te(
|
|
4319
4341
|
/*primaryMenuSpliced*/
|
|
4320
4342
|
e[7]
|
|
4321
4343
|
), h = [];
|
|
4322
4344
|
for (let f = 0; f < u.length; f += 1)
|
|
4323
|
-
h[f] =
|
|
4345
|
+
h[f] = ar(qt(e, u, f));
|
|
4324
4346
|
let d = !/*navigationBarSimple*/
|
|
4325
|
-
e[6] &&
|
|
4347
|
+
e[6] && sr(e);
|
|
4326
4348
|
return {
|
|
4327
4349
|
c() {
|
|
4328
4350
|
t = A("div"), l && l.c(), r = $(), n = A("div");
|
|
@@ -4334,18 +4356,18 @@ function qt(e) {
|
|
|
4334
4356
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4335
4357
|
(e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
|
|
4336
4358
|
},
|
|
4337
|
-
m(f,
|
|
4338
|
-
L(f, t,
|
|
4359
|
+
m(f, m) {
|
|
4360
|
+
L(f, t, m), l && l.m(t, null), y(t, r), y(t, n);
|
|
4339
4361
|
for (let g = 0; g < h.length; g += 1)
|
|
4340
4362
|
h[g] && h[g].m(n, null);
|
|
4341
4363
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4342
4364
|
},
|
|
4343
|
-
p(f,
|
|
4365
|
+
p(f, m) {
|
|
4344
4366
|
if (/*navigationBarSimple*/
|
|
4345
|
-
f[6] ? l && (
|
|
4367
|
+
f[6] ? l && (dr(), me(l, 1, 1, () => {
|
|
4346
4368
|
l = null;
|
|
4347
|
-
}),
|
|
4348
|
-
64 && z(l, 1)) : (l =
|
|
4369
|
+
}), pr()) : l ? (l.p(f, m), m[0] & /*navigationBarSimple*/
|
|
4370
|
+
64 && z(l, 1)) : (l = rr(f), l.c(), z(l, 1), l.m(t, r)), m[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4349
4371
|
32928) {
|
|
4350
4372
|
u = Te(
|
|
4351
4373
|
/*primaryMenuSpliced*/
|
|
@@ -4353,18 +4375,18 @@ function qt(e) {
|
|
|
4353
4375
|
);
|
|
4354
4376
|
let g;
|
|
4355
4377
|
for (g = 0; g < u.length; g += 1) {
|
|
4356
|
-
const v =
|
|
4357
|
-
h[g] ? h[g].p(v,
|
|
4378
|
+
const v = qt(f, u, g);
|
|
4379
|
+
h[g] ? h[g].p(v, m) : (h[g] = ar(v), h[g].c(), h[g].m(n, i));
|
|
4358
4380
|
}
|
|
4359
4381
|
for (; g < h.length; g += 1)
|
|
4360
4382
|
h[g].d(1);
|
|
4361
4383
|
h.length = u.length;
|
|
4362
4384
|
}
|
|
4363
4385
|
/*navigationBarSimple*/
|
|
4364
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f,
|
|
4386
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, m) : (d = sr(f), d.c(), d.m(n, null)), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4365
4387
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4366
4388
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4367
|
-
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s ||
|
|
4389
|
+
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4368
4390
|
80 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4369
4391
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4370
4392
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
@@ -4373,35 +4395,35 @@ function qt(e) {
|
|
|
4373
4395
|
s || (z(l), s = !0);
|
|
4374
4396
|
},
|
|
4375
4397
|
o(f) {
|
|
4376
|
-
|
|
4398
|
+
me(l), s = !1;
|
|
4377
4399
|
},
|
|
4378
4400
|
d(f) {
|
|
4379
|
-
f && O(t), l && l.d(),
|
|
4401
|
+
f && O(t), l && l.d(), fr(h, f), d && d.d();
|
|
4380
4402
|
}
|
|
4381
4403
|
};
|
|
4382
4404
|
}
|
|
4383
|
-
function
|
|
4405
|
+
function rr(e) {
|
|
4384
4406
|
let t, r, n, i, o = (
|
|
4385
4407
|
/*secondarymenutitle*/
|
|
4386
4408
|
(e[0] || /*$_*/
|
|
4387
4409
|
e[12]("secondaryMenuTitle")) + ""
|
|
4388
4410
|
), a, s, l, u, h, d, f;
|
|
4389
|
-
const
|
|
4411
|
+
const m = (
|
|
4390
4412
|
/*#slots*/
|
|
4391
4413
|
e[26].close
|
|
4392
|
-
), g =
|
|
4393
|
-
|
|
4414
|
+
), g = dn(
|
|
4415
|
+
m,
|
|
4394
4416
|
e,
|
|
4395
4417
|
/*$$scope*/
|
|
4396
4418
|
e[25],
|
|
4397
|
-
|
|
4398
|
-
), v = g ||
|
|
4399
|
-
let
|
|
4419
|
+
er
|
|
4420
|
+
), v = g || $o();
|
|
4421
|
+
let H = Te(
|
|
4400
4422
|
/*secondaryMenu*/
|
|
4401
4423
|
e[8]
|
|
4402
4424
|
), N = [];
|
|
4403
|
-
for (let b = 0; b <
|
|
4404
|
-
N[b] =
|
|
4425
|
+
for (let b = 0; b < H.length; b += 1)
|
|
4426
|
+
N[b] = ir(Kt(e, H, b));
|
|
4405
4427
|
return {
|
|
4406
4428
|
c() {
|
|
4407
4429
|
t = A("div"), r = A("span"), v && v.c(), n = $(), i = A("h3"), a = be(o), s = $(), l = A("div");
|
|
@@ -4423,40 +4445,40 @@ function Kt(e) {
|
|
|
4423
4445
|
},
|
|
4424
4446
|
p(b, T) {
|
|
4425
4447
|
if (g && g.p && (!h || T[0] & /*$$scope*/
|
|
4426
|
-
33554432) &&
|
|
4448
|
+
33554432) && mn(
|
|
4427
4449
|
g,
|
|
4428
|
-
|
|
4450
|
+
m,
|
|
4429
4451
|
b,
|
|
4430
4452
|
/*$$scope*/
|
|
4431
4453
|
b[25],
|
|
4432
|
-
h ?
|
|
4433
|
-
|
|
4454
|
+
h ? pn(
|
|
4455
|
+
m,
|
|
4434
4456
|
/*$$scope*/
|
|
4435
4457
|
b[25],
|
|
4436
4458
|
T,
|
|
4437
|
-
|
|
4438
|
-
) :
|
|
4459
|
+
Go
|
|
4460
|
+
) : gn(
|
|
4439
4461
|
/*$$scope*/
|
|
4440
4462
|
b[25]
|
|
4441
4463
|
),
|
|
4442
|
-
|
|
4464
|
+
er
|
|
4443
4465
|
), (!h || T[0] & /*secondarymenutitle, $_*/
|
|
4444
4466
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4445
4467
|
(b[0] || /*$_*/
|
|
4446
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4468
|
+
b[12]("secondaryMenuTitle")) + "") && dt(a, o), T[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4447
4469
|
33056) {
|
|
4448
|
-
|
|
4470
|
+
H = Te(
|
|
4449
4471
|
/*secondaryMenu*/
|
|
4450
4472
|
b[8]
|
|
4451
4473
|
);
|
|
4452
4474
|
let x;
|
|
4453
|
-
for (x = 0; x <
|
|
4454
|
-
const C =
|
|
4455
|
-
N[x] ? N[x].p(C, T) : (N[x] =
|
|
4475
|
+
for (x = 0; x < H.length; x += 1) {
|
|
4476
|
+
const C = Kt(b, H, x);
|
|
4477
|
+
N[x] ? N[x].p(C, T) : (N[x] = ir(C), N[x].c(), N[x].m(l, null));
|
|
4456
4478
|
}
|
|
4457
4479
|
for (; x < N.length; x += 1)
|
|
4458
4480
|
N[x].d(1);
|
|
4459
|
-
N.length =
|
|
4481
|
+
N.length = H.length;
|
|
4460
4482
|
}
|
|
4461
4483
|
(!h || T[0] & /*navigationWindowOpened*/
|
|
4462
4484
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
@@ -4466,18 +4488,18 @@ function Kt(e) {
|
|
|
4466
4488
|
h || (z(v, b), h = !0);
|
|
4467
4489
|
},
|
|
4468
4490
|
o(b) {
|
|
4469
|
-
|
|
4491
|
+
me(v, b), h = !1;
|
|
4470
4492
|
},
|
|
4471
4493
|
d(b) {
|
|
4472
|
-
b && O(t), v && v.d(b),
|
|
4494
|
+
b && O(t), v && v.d(b), fr(N, b), d = !1, f();
|
|
4473
4495
|
}
|
|
4474
4496
|
};
|
|
4475
4497
|
}
|
|
4476
|
-
function
|
|
4498
|
+
function $o(e) {
|
|
4477
4499
|
let t, r;
|
|
4478
4500
|
return {
|
|
4479
4501
|
c() {
|
|
4480
|
-
t =
|
|
4502
|
+
t = P("svg"), r = P("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4481
4503
|
},
|
|
4482
4504
|
m(n, i) {
|
|
4483
4505
|
L(n, t, i), y(t, r);
|
|
@@ -4488,7 +4510,7 @@ function Uo(e) {
|
|
|
4488
4510
|
}
|
|
4489
4511
|
};
|
|
4490
4512
|
}
|
|
4491
|
-
function
|
|
4513
|
+
function nr(e) {
|
|
4492
4514
|
let t, r, n, i;
|
|
4493
4515
|
return {
|
|
4494
4516
|
c() {
|
|
@@ -4511,13 +4533,13 @@ function er(e) {
|
|
|
4511
4533
|
}
|
|
4512
4534
|
};
|
|
4513
4535
|
}
|
|
4514
|
-
function
|
|
4536
|
+
function ir(e) {
|
|
4515
4537
|
let t, r, n, i = (
|
|
4516
4538
|
/*item*/
|
|
4517
4539
|
e[44].label + ""
|
|
4518
4540
|
), o, a, s, l, u, h = (
|
|
4519
4541
|
/*item*/
|
|
4520
|
-
e[44].img &&
|
|
4542
|
+
e[44].img && nr(e)
|
|
4521
4543
|
);
|
|
4522
4544
|
function d() {
|
|
4523
4545
|
return (
|
|
@@ -4534,14 +4556,14 @@ function tr(e) {
|
|
|
4534
4556
|
(e[5] === /*item*/
|
|
4535
4557
|
e[44].id ? "ActiveItem" : ""));
|
|
4536
4558
|
},
|
|
4537
|
-
m(f,
|
|
4538
|
-
L(f, t,
|
|
4559
|
+
m(f, m) {
|
|
4560
|
+
L(f, t, m), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Me(t, "click", d), l = !0);
|
|
4539
4561
|
},
|
|
4540
|
-
p(f,
|
|
4562
|
+
p(f, m) {
|
|
4541
4563
|
e = f, /*item*/
|
|
4542
|
-
e[44].img ? h ? h.p(e,
|
|
4564
|
+
e[44].img ? h ? h.p(e, m) : (h = nr(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), m[0] & /*secondaryMenu*/
|
|
4543
4565
|
256 && i !== (i = /*item*/
|
|
4544
|
-
e[44].label + "") &&
|
|
4566
|
+
e[44].label + "") && dt(o, i), m[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4545
4567
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4546
4568
|
(e[5] === /*item*/
|
|
4547
4569
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4551,7 +4573,7 @@ function tr(e) {
|
|
|
4551
4573
|
}
|
|
4552
4574
|
};
|
|
4553
4575
|
}
|
|
4554
|
-
function
|
|
4576
|
+
function or(e) {
|
|
4555
4577
|
let t, r, n, i;
|
|
4556
4578
|
return {
|
|
4557
4579
|
c() {
|
|
@@ -4574,13 +4596,13 @@ function rr(e) {
|
|
|
4574
4596
|
}
|
|
4575
4597
|
};
|
|
4576
4598
|
}
|
|
4577
|
-
function
|
|
4599
|
+
function ar(e) {
|
|
4578
4600
|
let t, r, n, i = (
|
|
4579
4601
|
/*item*/
|
|
4580
4602
|
e[44].label + ""
|
|
4581
4603
|
), o, a, s, l, u = (
|
|
4582
4604
|
/*item*/
|
|
4583
|
-
e[44].img &&
|
|
4605
|
+
e[44].img && or(e)
|
|
4584
4606
|
);
|
|
4585
4607
|
function h() {
|
|
4586
4608
|
return (
|
|
@@ -4603,9 +4625,9 @@ function nr(e) {
|
|
|
4603
4625
|
},
|
|
4604
4626
|
p(d, f) {
|
|
4605
4627
|
e = d, /*item*/
|
|
4606
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4628
|
+
e[44].img ? u ? u.p(e, f) : (u = or(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4607
4629
|
128 && i !== (i = /*item*/
|
|
4608
|
-
e[44].label + "") &&
|
|
4630
|
+
e[44].label + "") && dt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4609
4631
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4610
4632
|
e[46] + " " + /*activeMenuItemId*/
|
|
4611
4633
|
(e[5] === /*item*/
|
|
@@ -4616,12 +4638,12 @@ function nr(e) {
|
|
|
4616
4638
|
}
|
|
4617
4639
|
};
|
|
4618
4640
|
}
|
|
4619
|
-
function
|
|
4641
|
+
function sr(e) {
|
|
4620
4642
|
let t, r, n, i, o;
|
|
4621
4643
|
function a(u, h) {
|
|
4622
4644
|
return (
|
|
4623
4645
|
/*isFlowerMenu*/
|
|
4624
|
-
u[11] ?
|
|
4646
|
+
u[11] ? ko : jo
|
|
4625
4647
|
);
|
|
4626
4648
|
}
|
|
4627
4649
|
let s = a(e), l = s(e);
|
|
@@ -4648,7 +4670,7 @@ function ir(e) {
|
|
|
4648
4670
|
}
|
|
4649
4671
|
};
|
|
4650
4672
|
}
|
|
4651
|
-
function
|
|
4673
|
+
function ko(e) {
|
|
4652
4674
|
let t, r, n, i, o, a, s;
|
|
4653
4675
|
return {
|
|
4654
4676
|
c() {
|
|
@@ -4668,18 +4690,18 @@ function Do(e) {
|
|
|
4668
4690
|
}
|
|
4669
4691
|
};
|
|
4670
4692
|
}
|
|
4671
|
-
function
|
|
4693
|
+
function jo(e) {
|
|
4672
4694
|
let t;
|
|
4673
4695
|
function r(o, a) {
|
|
4674
4696
|
return (
|
|
4675
4697
|
/*imageIconUrl*/
|
|
4676
|
-
o[9] ?
|
|
4698
|
+
o[9] ? Vo : Wo
|
|
4677
4699
|
);
|
|
4678
4700
|
}
|
|
4679
4701
|
let n = r(e), i = n(e);
|
|
4680
4702
|
return {
|
|
4681
4703
|
c() {
|
|
4682
|
-
i.c(), t =
|
|
4704
|
+
i.c(), t = _n();
|
|
4683
4705
|
},
|
|
4684
4706
|
m(o, a) {
|
|
4685
4707
|
i.m(o, a), L(o, t, a);
|
|
@@ -4692,14 +4714,14 @@ function Go(e) {
|
|
|
4692
4714
|
}
|
|
4693
4715
|
};
|
|
4694
4716
|
}
|
|
4695
|
-
function
|
|
4696
|
-
let t, r, n, i, o, a, s, l, u, h, d, f,
|
|
4717
|
+
function Wo(e) {
|
|
4718
|
+
let t, r, n, i, o, a, s, l, u, h, d, f, m, g;
|
|
4697
4719
|
return {
|
|
4698
4720
|
c() {
|
|
4699
|
-
t =
|
|
4721
|
+
t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"), u = P("g"), h = P("rect"), d = P("rect"), f = P("g"), m = P("rect"), g = P("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");
|
|
4700
4722
|
},
|
|
4701
|
-
m(v,
|
|
4702
|
-
L(v, t,
|
|
4723
|
+
m(v, H) {
|
|
4724
|
+
L(v, t, H), 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);
|
|
4703
4725
|
},
|
|
4704
4726
|
p: D,
|
|
4705
4727
|
d(v) {
|
|
@@ -4707,7 +4729,7 @@ function $o(e) {
|
|
|
4707
4729
|
}
|
|
4708
4730
|
};
|
|
4709
4731
|
}
|
|
4710
|
-
function
|
|
4732
|
+
function Vo(e) {
|
|
4711
4733
|
let t, r;
|
|
4712
4734
|
return {
|
|
4713
4735
|
c() {
|
|
@@ -4738,11 +4760,11 @@ function ko(e) {
|
|
|
4738
4760
|
}
|
|
4739
4761
|
};
|
|
4740
4762
|
}
|
|
4741
|
-
function
|
|
4763
|
+
function Xo(e) {
|
|
4742
4764
|
let t, r, n, i = !/*isLoading*/
|
|
4743
4765
|
e[1] && /*isMobile*/
|
|
4744
4766
|
e[13] && /*showNavigation*/
|
|
4745
|
-
e[3] &&
|
|
4767
|
+
e[3] && tr(e);
|
|
4746
4768
|
return {
|
|
4747
4769
|
c() {
|
|
4748
4770
|
t = A("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4757,9 +4779,9 @@ function jo(e) {
|
|
|
4757
4779
|
o[1] && /*isMobile*/
|
|
4758
4780
|
o[13] && /*showNavigation*/
|
|
4759
4781
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4760
|
-
10 && z(i, 1)) : (i =
|
|
4782
|
+
10 && z(i, 1)) : (i = tr(o), i.c(), z(i, 1), i.m(t, null)) : i && (dr(), me(i, 1, 1, () => {
|
|
4761
4783
|
i = null;
|
|
4762
|
-
}),
|
|
4784
|
+
}), pr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4763
4785
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4764
4786
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4765
4787
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4768,32 +4790,32 @@ function jo(e) {
|
|
|
4768
4790
|
n || (z(i), n = !0);
|
|
4769
4791
|
},
|
|
4770
4792
|
o(o) {
|
|
4771
|
-
|
|
4793
|
+
me(i), n = !1;
|
|
4772
4794
|
},
|
|
4773
4795
|
d(o) {
|
|
4774
4796
|
o && O(t), i && i.d(), e[29](null);
|
|
4775
4797
|
}
|
|
4776
4798
|
};
|
|
4777
4799
|
}
|
|
4778
|
-
function
|
|
4800
|
+
function zo(e, t, r) {
|
|
4779
4801
|
let n;
|
|
4780
|
-
|
|
4781
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl:
|
|
4782
|
-
const
|
|
4783
|
-
fetch(
|
|
4802
|
+
fn(e, Ro, (p) => r(12, n = p));
|
|
4803
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: v = "false" } = t, H = window.navigator.userAgent, N = Qt(H) !== "PC", b = !0, T = !1, x = !1, C = "", j = !1, Y = [], _e = [], W = [], V, bt = "", Ue = {}, yt, De = !1;
|
|
4804
|
+
const zr = () => {
|
|
4805
|
+
fetch(m).then((S) => S.json()).then((S) => {
|
|
4784
4806
|
Object.keys(S).forEach((B) => {
|
|
4785
|
-
|
|
4807
|
+
Yt(B, S[B]);
|
|
4786
4808
|
});
|
|
4787
4809
|
}).catch((S) => {
|
|
4788
4810
|
console.log(S);
|
|
4789
4811
|
});
|
|
4790
4812
|
};
|
|
4791
|
-
Object.keys(
|
|
4792
|
-
|
|
4813
|
+
Object.keys(Jt).forEach((p) => {
|
|
4814
|
+
Yt(p, Jt[p]);
|
|
4793
4815
|
});
|
|
4794
|
-
const
|
|
4795
|
-
if (
|
|
4796
|
-
switch (
|
|
4816
|
+
const _t = (p) => {
|
|
4817
|
+
if (p.data)
|
|
4818
|
+
switch (p.data.type) {
|
|
4797
4819
|
case "PlayerAccountMenuActive":
|
|
4798
4820
|
r(4, x = !1);
|
|
4799
4821
|
break;
|
|
@@ -4804,9 +4826,9 @@ function Wo(e, t, r) {
|
|
|
4804
4826
|
r(4, x = !1);
|
|
4805
4827
|
break;
|
|
4806
4828
|
}
|
|
4807
|
-
},
|
|
4829
|
+
}, Zr = () => {
|
|
4808
4830
|
r(11, De = v.toLowerCase() === "true");
|
|
4809
|
-
},
|
|
4831
|
+
}, Qr = () => {
|
|
4810
4832
|
r(4, x = !x), window.postMessage(
|
|
4811
4833
|
{
|
|
4812
4834
|
type: "MobileBottomNav",
|
|
@@ -4814,22 +4836,22 @@ function Wo(e, t, r) {
|
|
|
4814
4836
|
},
|
|
4815
4837
|
window.location.href
|
|
4816
4838
|
);
|
|
4817
|
-
},
|
|
4818
|
-
r(7, _e = []), r(7, _e = j ?
|
|
4819
|
-
},
|
|
4839
|
+
}, Yr = (p) => {
|
|
4840
|
+
r(7, _e = []), r(7, _e = j ? p.splice(0, 5) : p.splice(0, 4)), g && xt();
|
|
4841
|
+
}, Jr = () => {
|
|
4820
4842
|
Ge(), r(1, b = !0);
|
|
4821
|
-
let
|
|
4822
|
-
S.searchParams.append("userRoles", h),
|
|
4843
|
+
let p = Qt(H), S = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4844
|
+
S.searchParams.append("userRoles", h), p && S.searchParams.append("device", "mtWeb"), fetch(S.href).then((B) => B.json()).then((B) => {
|
|
4823
4845
|
Y = [], r(8, W = []), r(3, T = B.length > 0), B.forEach((F) => {
|
|
4824
|
-
Ue[F.label] = F.eventTrigger ? F.path : null, F.path == "/menu-item" ? (r(9,
|
|
4825
|
-
}), r(6, j = W.length == 0), W.length >= 5 && De && r(8, W = W.splice(0, 5)),
|
|
4846
|
+
Ue[F.label] = F.eventTrigger ? F.path : null, F.path == "/menu-item" ? (r(9, bt = F == null ? void 0 : F.img), r(8, W = F.children)) : Y.push(F);
|
|
4847
|
+
}), r(6, j = W.length == 0), W.length >= 5 && De && r(8, W = W.splice(0, 5)), Yr(Y), r(1, b = !1);
|
|
4826
4848
|
}).catch((B) => {
|
|
4827
4849
|
r(1, b = !1), console.error(B);
|
|
4828
4850
|
});
|
|
4829
|
-
},
|
|
4851
|
+
}, xt = () => {
|
|
4830
4852
|
const S = _e.concat(W).find((B) => B.path.includes(g));
|
|
4831
4853
|
S && r(5, C = S.id);
|
|
4832
|
-
}, ce = (
|
|
4854
|
+
}, ce = (p, S, B, F) => {
|
|
4833
4855
|
Ue[F] ? window.postMessage(
|
|
4834
4856
|
{
|
|
4835
4857
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4839,21 +4861,21 @@ function Wo(e, t, r) {
|
|
|
4839
4861
|
) : window.postMessage(
|
|
4840
4862
|
{
|
|
4841
4863
|
type: "NavigateTo",
|
|
4842
|
-
path:
|
|
4864
|
+
path: p,
|
|
4843
4865
|
target: S || null,
|
|
4844
4866
|
externalLink: B || !1
|
|
4845
4867
|
},
|
|
4846
4868
|
window.location.href
|
|
4847
4869
|
), r(4, x = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4848
4870
|
context: "MobileBottomNavigation",
|
|
4849
|
-
menuItem: `${
|
|
4871
|
+
menuItem: `${p}`
|
|
4850
4872
|
});
|
|
4851
|
-
},
|
|
4852
|
-
let
|
|
4853
|
-
d && V && (
|
|
4854
|
-
},
|
|
4855
|
-
let
|
|
4856
|
-
fetch(
|
|
4873
|
+
}, qr = () => {
|
|
4874
|
+
let p = document.createElement("style");
|
|
4875
|
+
d && V && (p.innerHTML = d, V.appendChild(p));
|
|
4876
|
+
}, Kr = () => {
|
|
4877
|
+
let p = new URL(f), S = document.createElement("style");
|
|
4878
|
+
fetch(p.href).then((B) => B.text()).then((B) => {
|
|
4857
4879
|
S.innerHTML = B, setTimeout(
|
|
4858
4880
|
() => {
|
|
4859
4881
|
V.appendChild(S);
|
|
@@ -4861,39 +4883,39 @@ function Wo(e, t, r) {
|
|
|
4861
4883
|
1
|
|
4862
4884
|
);
|
|
4863
4885
|
});
|
|
4864
|
-
},
|
|
4865
|
-
|
|
4886
|
+
}, en = () => {
|
|
4887
|
+
Uo(s);
|
|
4866
4888
|
}, Ge = () => {
|
|
4867
|
-
r(10,
|
|
4868
|
-
},
|
|
4889
|
+
r(10, yt = N && window.innerHeight / window.innerWidth < 1);
|
|
4890
|
+
}, wt = () => {
|
|
4869
4891
|
x && r(4, x = !1);
|
|
4870
4892
|
};
|
|
4871
|
-
|
|
4872
|
-
window.removeEventListener("message",
|
|
4893
|
+
Nn(() => (window.addEventListener("message", _t, !1), document.addEventListener("focusin", wt), N && window.screen.orientation.addEventListener("change", Ge), () => {
|
|
4894
|
+
window.removeEventListener("message", _t), document.removeEventListener("focusin", wt), N && window.screen.orientation.removeEventListener("change", Ge);
|
|
4873
4895
|
}));
|
|
4874
|
-
const
|
|
4896
|
+
const tn = (p) => {
|
|
4875
4897
|
var S, B;
|
|
4876
|
-
(S =
|
|
4877
|
-
},
|
|
4898
|
+
(S = p.attrs) != null && S.target ? ce(p.path, (B = p.attrs) == null ? void 0 : B.target, p == null ? void 0 : p.externalLink, p.label) : ce(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4899
|
+
}, rn = (p) => {
|
|
4878
4900
|
var S, B;
|
|
4879
|
-
(S =
|
|
4901
|
+
(S = p.attrs) != null && S.target ? ce(p.path, (B = p.attrs) == null ? void 0 : B.target, p == null ? void 0 : p.externalLink, p.label) : ce(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4880
4902
|
};
|
|
4881
|
-
function
|
|
4882
|
-
|
|
4883
|
-
V =
|
|
4903
|
+
function nn(p) {
|
|
4904
|
+
Ye[p ? "unshift" : "push"](() => {
|
|
4905
|
+
V = p, r(2, V);
|
|
4884
4906
|
});
|
|
4885
4907
|
}
|
|
4886
|
-
return e.$$set = (
|
|
4887
|
-
"cmsendpoint" in
|
|
4908
|
+
return e.$$set = (p) => {
|
|
4909
|
+
"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), "clientstyling" in p && r(20, d = p.clientstyling), "clientstylingurl" in p && r(21, f = p.clientstylingurl), "translationurl" in p && r(22, m = p.translationurl), "activecategory" in p && r(23, g = p.activecategory), "flowermenustyle" in p && r(24, v = p.flowermenustyle), "$$scope" in p && r(25, o = p.$$scope);
|
|
4888
4910
|
}, e.$$.update = () => {
|
|
4889
4911
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4890
|
-
16777216 && v &&
|
|
4891
|
-
8388610 && g && !b &&
|
|
4892
|
-
131072 && s &&
|
|
4893
|
-
983040 && a && s && l && h &&
|
|
4894
|
-
1048580 && d && V &&
|
|
4895
|
-
2097156 && f && V &&
|
|
4896
|
-
4194304 &&
|
|
4912
|
+
16777216 && v && Zr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4913
|
+
8388610 && g && !b && xt(), e.$$.dirty[0] & /*lang*/
|
|
4914
|
+
131072 && s && en(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4915
|
+
983040 && a && s && l && h && Jr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4916
|
+
1048580 && d && V && qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4917
|
+
2097156 && f && V && Kr(), e.$$.dirty[0] & /*translationurl*/
|
|
4918
|
+
4194304 && m && zr();
|
|
4897
4919
|
}, [
|
|
4898
4920
|
u,
|
|
4899
4921
|
b,
|
|
@@ -4904,12 +4926,12 @@ function Wo(e, t, r) {
|
|
|
4904
4926
|
j,
|
|
4905
4927
|
_e,
|
|
4906
4928
|
W,
|
|
4907
|
-
|
|
4908
|
-
|
|
4929
|
+
bt,
|
|
4930
|
+
yt,
|
|
4909
4931
|
De,
|
|
4910
4932
|
n,
|
|
4911
4933
|
N,
|
|
4912
|
-
|
|
4934
|
+
Qr,
|
|
4913
4935
|
ce,
|
|
4914
4936
|
a,
|
|
4915
4937
|
s,
|
|
@@ -4917,24 +4939,24 @@ function Wo(e, t, r) {
|
|
|
4917
4939
|
h,
|
|
4918
4940
|
d,
|
|
4919
4941
|
f,
|
|
4920
|
-
|
|
4942
|
+
m,
|
|
4921
4943
|
g,
|
|
4922
4944
|
v,
|
|
4923
4945
|
o,
|
|
4924
4946
|
i,
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4947
|
+
tn,
|
|
4948
|
+
rn,
|
|
4949
|
+
nn
|
|
4928
4950
|
];
|
|
4929
4951
|
}
|
|
4930
|
-
class
|
|
4952
|
+
class Zo extends Ln {
|
|
4931
4953
|
constructor(t) {
|
|
4932
|
-
super(),
|
|
4954
|
+
super(), Mn(
|
|
4933
4955
|
this,
|
|
4934
4956
|
t,
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4957
|
+
zo,
|
|
4958
|
+
Xo,
|
|
4959
|
+
ur,
|
|
4938
4960
|
{
|
|
4939
4961
|
cmsendpoint: 16,
|
|
4940
4962
|
lang: 17,
|
|
@@ -4947,7 +4969,7 @@ class Vo extends Pn {
|
|
|
4947
4969
|
activecategory: 23,
|
|
4948
4970
|
flowermenustyle: 24
|
|
4949
4971
|
},
|
|
4950
|
-
|
|
4972
|
+
Do,
|
|
4951
4973
|
[-1, -1]
|
|
4952
4974
|
);
|
|
4953
4975
|
}
|
|
@@ -5012,7 +5034,7 @@ class Vo extends Pn {
|
|
|
5012
5034
|
this.$$set({ flowermenustyle: t }), U();
|
|
5013
5035
|
}
|
|
5014
5036
|
}
|
|
5015
|
-
|
|
5037
|
+
On(Zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5016
5038
|
export {
|
|
5017
|
-
|
|
5039
|
+
Zo as default
|
|
5018
5040
|
};
|