@everymatrix/general-navigation-bar 1.60.1 → 1.61.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-6mYzJ1UA.cjs +18 -0
- package/components/{GeneralNavigationBar-nRfiDt5M.js → GeneralNavigationBar-BGRpCs8H.js} +828 -845
- package/components/{GeneralNavigationBar-DPrp524r.js → GeneralNavigationBar-DilW-Iuz.js} +794 -811
- 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/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/GeneralNavigationBar-CYIw73Xe.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var en = Object.defineProperty, tn = Object.defineProperties;
|
|
2
|
+
var rn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var wt = Object.getOwnPropertySymbols;
|
|
4
|
+
var nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var je = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
nn.call(t, r) && je(e, r, t[r]);
|
|
8
|
+
if (wt)
|
|
9
|
+
for (var r of wt(t))
|
|
10
|
+
on.call(t, r) && je(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, Nt = (e, t) => tn(e, rn(t));
|
|
13
|
+
var D = (e, t, r) => (je(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var St = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -27,9 +27,10 @@ var Bt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
|
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
|
31
|
+
function G() {
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function an(e, t) {
|
|
33
34
|
for (const r in t)
|
|
34
35
|
e[r] = t[r];
|
|
35
36
|
return (
|
|
@@ -37,50 +38,50 @@ function un(e, t) {
|
|
|
37
38
|
e
|
|
38
39
|
);
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function sr(e) {
|
|
41
42
|
return e();
|
|
42
43
|
}
|
|
43
|
-
function
|
|
44
|
+
function It() {
|
|
44
45
|
return /* @__PURE__ */ Object.create(null);
|
|
45
46
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
47
|
+
function le(e) {
|
|
48
|
+
e.forEach(sr);
|
|
48
49
|
}
|
|
49
50
|
function dt(e) {
|
|
50
51
|
return typeof e == "function";
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function lr(e, t) {
|
|
53
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
55
|
}
|
|
55
|
-
let
|
|
56
|
-
function
|
|
57
|
-
return e === t ? !0 : (
|
|
56
|
+
let we;
|
|
57
|
+
function ne(e, t) {
|
|
58
|
+
return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
+
function sn(e) {
|
|
60
61
|
return Object.keys(e).length === 0;
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
+
function ur(e, ...t) {
|
|
63
64
|
if (e == null) {
|
|
64
65
|
for (const n of t)
|
|
65
66
|
n(void 0);
|
|
66
|
-
return
|
|
67
|
+
return G;
|
|
67
68
|
}
|
|
68
69
|
const r = e.subscribe(...t);
|
|
69
70
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function ln(e, t, r) {
|
|
73
|
+
e.$$.on_destroy.push(ur(t, r));
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
+
function un(e, t, r, n) {
|
|
75
76
|
if (e) {
|
|
76
|
-
const i =
|
|
77
|
+
const i = hr(e, t, r, n);
|
|
77
78
|
return e[0](i);
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
81
|
+
function hr(e, t, r, n) {
|
|
82
|
+
return e[1] && n ? an(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function hn(e, t, r, n) {
|
|
84
85
|
if (e[2] && n) {
|
|
85
86
|
const i = e[2](n(r));
|
|
86
87
|
if (t.dirty === void 0)
|
|
@@ -95,13 +96,13 @@ function dn(e, t, r, n) {
|
|
|
95
96
|
}
|
|
96
97
|
return t.dirty;
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function cn(e, t, r, n, i, o) {
|
|
99
100
|
if (i) {
|
|
100
|
-
const a =
|
|
101
|
+
const a = hr(t, r, n, o);
|
|
101
102
|
e.p(a, i);
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
|
-
function
|
|
105
|
+
function fn(e) {
|
|
105
106
|
if (e.ctx.length > 32) {
|
|
106
107
|
const t = [], r = e.ctx.length / 32;
|
|
107
108
|
for (let n = 0; n < r; n++)
|
|
@@ -113,14 +114,14 @@ function pn(e) {
|
|
|
113
114
|
function y(e, t) {
|
|
114
115
|
e.appendChild(t);
|
|
115
116
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
117
|
+
function dn(e, t, r) {
|
|
118
|
+
const n = mn(e);
|
|
118
119
|
if (!n.getElementById(t)) {
|
|
119
120
|
const i = B("style");
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
121
|
+
i.id = t, i.textContent = r, pn(n, i);
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
+
function mn(e) {
|
|
124
125
|
if (!e)
|
|
125
126
|
return document;
|
|
126
127
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,20 +131,20 @@ function vn(e) {
|
|
|
130
131
|
t
|
|
131
132
|
) : e.ownerDocument;
|
|
132
133
|
}
|
|
133
|
-
function
|
|
134
|
+
function pn(e, t) {
|
|
134
135
|
return y(
|
|
135
136
|
/** @type {Document} */
|
|
136
137
|
e.head || e,
|
|
137
138
|
t
|
|
138
139
|
), t.sheet;
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
+
function F(e, t, r) {
|
|
141
142
|
e.insertBefore(t, r || null);
|
|
142
143
|
}
|
|
143
|
-
function
|
|
144
|
+
function C(e) {
|
|
144
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
+
function cr(e, t) {
|
|
147
148
|
for (let r = 0; r < e.length; r += 1)
|
|
148
149
|
e[r] && e[r].d(t);
|
|
149
150
|
}
|
|
@@ -153,29 +154,33 @@ function B(e) {
|
|
|
153
154
|
function M(e) {
|
|
154
155
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
+
function ye(e) {
|
|
157
158
|
return document.createTextNode(e);
|
|
158
159
|
}
|
|
159
|
-
function
|
|
160
|
-
return
|
|
160
|
+
function j() {
|
|
161
|
+
return ye(" ");
|
|
161
162
|
}
|
|
162
|
-
function
|
|
163
|
-
return
|
|
163
|
+
function gn() {
|
|
164
|
+
return ye("");
|
|
164
165
|
}
|
|
165
|
-
function
|
|
166
|
+
function Oe(e, t, r, n) {
|
|
166
167
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
167
168
|
}
|
|
168
169
|
function c(e, t, r) {
|
|
169
170
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
+
function O(e, t, r) {
|
|
173
|
+
const n = t.toLowerCase();
|
|
174
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : c(e, t, r);
|
|
175
|
+
}
|
|
176
|
+
function vn(e) {
|
|
172
177
|
return Array.from(e.childNodes);
|
|
173
178
|
}
|
|
174
179
|
function mt(e, t) {
|
|
175
180
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
181
|
t);
|
|
177
182
|
}
|
|
178
|
-
function
|
|
183
|
+
function bn(e) {
|
|
179
184
|
const t = {};
|
|
180
185
|
return e.childNodes.forEach(
|
|
181
186
|
/** @param {Element} node */
|
|
@@ -184,120 +189,120 @@ function xn(e) {
|
|
|
184
189
|
}
|
|
185
190
|
), t;
|
|
186
191
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
192
|
+
let pe;
|
|
193
|
+
function me(e) {
|
|
194
|
+
pe = e;
|
|
190
195
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
196
|
+
function yn() {
|
|
197
|
+
if (!pe)
|
|
193
198
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
199
|
+
return pe;
|
|
195
200
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
201
|
+
function _n(e) {
|
|
202
|
+
yn().$$.on_mount.push(e);
|
|
198
203
|
}
|
|
199
|
-
const
|
|
200
|
-
let
|
|
201
|
-
const
|
|
204
|
+
const ee = [], Je = [];
|
|
205
|
+
let te = [];
|
|
206
|
+
const Bt = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
202
207
|
let qe = !1;
|
|
203
|
-
function
|
|
204
|
-
qe || (qe = !0,
|
|
208
|
+
function wn() {
|
|
209
|
+
qe || (qe = !0, xn.then(R));
|
|
205
210
|
}
|
|
206
211
|
function Ke(e) {
|
|
207
|
-
|
|
212
|
+
te.push(e);
|
|
208
213
|
}
|
|
209
|
-
const
|
|
210
|
-
let
|
|
211
|
-
function
|
|
212
|
-
if (
|
|
214
|
+
const We = /* @__PURE__ */ new Set();
|
|
215
|
+
let q = 0;
|
|
216
|
+
function R() {
|
|
217
|
+
if (q !== 0)
|
|
213
218
|
return;
|
|
214
|
-
const e =
|
|
219
|
+
const e = pe;
|
|
215
220
|
do {
|
|
216
221
|
try {
|
|
217
|
-
for (;
|
|
218
|
-
const t =
|
|
219
|
-
|
|
222
|
+
for (; q < ee.length; ) {
|
|
223
|
+
const t = ee[q];
|
|
224
|
+
q++, me(t), En(t.$$);
|
|
220
225
|
}
|
|
221
226
|
} catch (t) {
|
|
222
|
-
throw
|
|
227
|
+
throw ee.length = 0, q = 0, t;
|
|
223
228
|
}
|
|
224
|
-
for (
|
|
229
|
+
for (me(null), ee.length = 0, q = 0; Je.length; )
|
|
225
230
|
Je.pop()();
|
|
226
|
-
for (let t = 0; t <
|
|
227
|
-
const r =
|
|
228
|
-
|
|
231
|
+
for (let t = 0; t < te.length; t += 1) {
|
|
232
|
+
const r = te[t];
|
|
233
|
+
We.has(r) || (We.add(r), r());
|
|
229
234
|
}
|
|
230
|
-
|
|
231
|
-
} while (
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
qe = !1,
|
|
235
|
+
te.length = 0;
|
|
236
|
+
} while (ee.length);
|
|
237
|
+
for (; Bt.length; )
|
|
238
|
+
Bt.pop()();
|
|
239
|
+
qe = !1, We.clear(), me(e);
|
|
235
240
|
}
|
|
236
|
-
function
|
|
241
|
+
function En(e) {
|
|
237
242
|
if (e.fragment !== null) {
|
|
238
|
-
e.update(),
|
|
243
|
+
e.update(), le(e.before_update);
|
|
239
244
|
const t = e.dirty;
|
|
240
245
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
|
|
241
246
|
}
|
|
242
247
|
}
|
|
243
|
-
function
|
|
248
|
+
function Nn(e) {
|
|
244
249
|
const t = [], r = [];
|
|
245
|
-
|
|
250
|
+
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
246
251
|
}
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
function
|
|
250
|
-
|
|
252
|
+
const Se = /* @__PURE__ */ new Set();
|
|
253
|
+
let Q;
|
|
254
|
+
function fr() {
|
|
255
|
+
Q = {
|
|
251
256
|
r: 0,
|
|
252
257
|
c: [],
|
|
253
|
-
p:
|
|
258
|
+
p: Q
|
|
254
259
|
// parent group
|
|
255
260
|
};
|
|
256
261
|
}
|
|
257
|
-
function
|
|
258
|
-
|
|
262
|
+
function dr() {
|
|
263
|
+
Q.r || le(Q.c), Q = Q.p;
|
|
259
264
|
}
|
|
260
|
-
function
|
|
261
|
-
e && e.i && (
|
|
265
|
+
function z(e, t) {
|
|
266
|
+
e && e.i && (Se.delete(e), e.i(t));
|
|
262
267
|
}
|
|
263
|
-
function
|
|
268
|
+
function ge(e, t, r, n) {
|
|
264
269
|
if (e && e.o) {
|
|
265
|
-
if (
|
|
270
|
+
if (Se.has(e))
|
|
266
271
|
return;
|
|
267
|
-
|
|
268
|
-
|
|
272
|
+
Se.add(e), Q.c.push(() => {
|
|
273
|
+
Se.delete(e), n && (r && e.d(1), n());
|
|
269
274
|
}), e.o(t);
|
|
270
275
|
} else
|
|
271
276
|
n && n();
|
|
272
277
|
}
|
|
273
|
-
function
|
|
278
|
+
function Pe(e) {
|
|
274
279
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
275
280
|
}
|
|
276
|
-
function
|
|
281
|
+
function Sn(e, t, r) {
|
|
277
282
|
const { fragment: n, after_update: i } = e.$$;
|
|
278
283
|
n && n.m(t, r), Ke(() => {
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
280
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
284
|
+
const o = e.$$.on_mount.map(sr).filter(dt);
|
|
285
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
|
|
281
286
|
}), i.forEach(Ke);
|
|
282
287
|
}
|
|
283
|
-
function
|
|
288
|
+
function In(e, t) {
|
|
284
289
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
290
|
+
r.fragment !== null && (Nn(r.after_update), le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
291
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (
|
|
292
|
+
function Bn(e, t) {
|
|
293
|
+
e.$$.dirty[0] === -1 && (ee.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
294
|
}
|
|
290
|
-
function
|
|
291
|
-
const l =
|
|
292
|
-
|
|
295
|
+
function An(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
296
|
+
const l = pe;
|
|
297
|
+
me(e);
|
|
293
298
|
const u = e.$$ = {
|
|
294
299
|
fragment: null,
|
|
295
300
|
ctx: [],
|
|
296
301
|
// state
|
|
297
302
|
props: o,
|
|
298
|
-
update:
|
|
303
|
+
update: G,
|
|
299
304
|
not_equal: i,
|
|
300
|
-
bound:
|
|
305
|
+
bound: It(),
|
|
301
306
|
// lifecycle
|
|
302
307
|
on_mount: [],
|
|
303
308
|
on_destroy: [],
|
|
@@ -306,7 +311,7 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
306
311
|
after_update: [],
|
|
307
312
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
308
313
|
// everything else
|
|
309
|
-
callbacks:
|
|
314
|
+
callbacks: It(),
|
|
310
315
|
dirty: s,
|
|
311
316
|
skip_bound: !1,
|
|
312
317
|
root: t.target || l.$$.root
|
|
@@ -315,39 +320,39 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
315
320
|
let h = !1;
|
|
316
321
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
317
322
|
const g = p.length ? p[0] : f;
|
|
318
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
319
|
-
}) : [], u.update(), h = !0,
|
|
323
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Bn(e, d)), f;
|
|
324
|
+
}) : [], u.update(), h = !0, le(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
320
325
|
if (t.hydrate) {
|
|
321
|
-
const d =
|
|
322
|
-
u.fragment && u.fragment.l(d), d.forEach(
|
|
326
|
+
const d = vn(t.target);
|
|
327
|
+
u.fragment && u.fragment.l(d), d.forEach(C);
|
|
323
328
|
} else
|
|
324
329
|
u.fragment && u.fragment.c();
|
|
325
|
-
t.intro &&
|
|
330
|
+
t.intro && z(e.$$.fragment), Sn(e, t.target, t.anchor), R();
|
|
326
331
|
}
|
|
327
|
-
|
|
332
|
+
me(l);
|
|
328
333
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
334
|
+
let mr;
|
|
335
|
+
typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
331
336
|
constructor(t, r, n) {
|
|
332
337
|
super();
|
|
333
338
|
/** The Svelte component constructor */
|
|
334
|
-
|
|
339
|
+
D(this, "$$ctor");
|
|
335
340
|
/** Slots */
|
|
336
|
-
|
|
341
|
+
D(this, "$$s");
|
|
337
342
|
/** The Svelte component instance */
|
|
338
|
-
|
|
343
|
+
D(this, "$$c");
|
|
339
344
|
/** Whether or not the custom element is connected */
|
|
340
|
-
|
|
345
|
+
D(this, "$$cn", !1);
|
|
341
346
|
/** Component props data */
|
|
342
|
-
|
|
347
|
+
D(this, "$$d", {});
|
|
343
348
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
344
|
-
|
|
349
|
+
D(this, "$$r", !1);
|
|
345
350
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
346
|
-
|
|
351
|
+
D(this, "$$p_d", {});
|
|
347
352
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
348
|
-
|
|
353
|
+
D(this, "$$l", {});
|
|
349
354
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
350
|
-
|
|
355
|
+
D(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
351
356
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
352
357
|
}
|
|
353
358
|
addEventListener(t, r, n) {
|
|
@@ -364,7 +369,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
364
369
|
}
|
|
365
370
|
}
|
|
366
371
|
connectedCallback() {
|
|
367
|
-
return
|
|
372
|
+
return St(this, null, function* () {
|
|
368
373
|
if (this.$$cn = !0, !this.$$c) {
|
|
369
374
|
let t = function(o) {
|
|
370
375
|
return () => {
|
|
@@ -378,28 +383,28 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
378
383
|
* @param {HTMLElement} [anchor]
|
|
379
384
|
*/
|
|
380
385
|
m: function(u, h) {
|
|
381
|
-
|
|
386
|
+
F(u, a, h);
|
|
382
387
|
},
|
|
383
388
|
d: function(u) {
|
|
384
|
-
u &&
|
|
389
|
+
u && C(a);
|
|
385
390
|
}
|
|
386
391
|
};
|
|
387
392
|
};
|
|
388
393
|
};
|
|
389
394
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
395
|
return;
|
|
391
|
-
const r = {}, n =
|
|
396
|
+
const r = {}, n = bn(this);
|
|
392
397
|
for (const o of this.$$s)
|
|
393
398
|
o in n && (r[o] = [t(o)]);
|
|
394
399
|
for (const o of this.attributes) {
|
|
395
400
|
const a = this.$$g_p(o.name);
|
|
396
|
-
a in this.$$d || (this.$$d[a] =
|
|
401
|
+
a in this.$$d || (this.$$d[a] = Ie(a, o.value, this.$$p_d, "toProp"));
|
|
397
402
|
}
|
|
398
403
|
for (const o in this.$$p_d)
|
|
399
404
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
405
|
this.$$c = new this.$$ctor({
|
|
401
406
|
target: this.shadowRoot || this,
|
|
402
|
-
props:
|
|
407
|
+
props: Nt(Et({}, this.$$d), {
|
|
403
408
|
$$slots: r,
|
|
404
409
|
$$scope: {
|
|
405
410
|
ctx: []
|
|
@@ -410,7 +415,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
410
415
|
this.$$r = !0;
|
|
411
416
|
for (const o in this.$$p_d)
|
|
412
417
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
413
|
-
const a =
|
|
418
|
+
const a = Ie(
|
|
414
419
|
o,
|
|
415
420
|
this.$$d[o],
|
|
416
421
|
this.$$p_d,
|
|
@@ -434,7 +439,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
434
439
|
// and setting attributes through setAttribute etc, this is helpful
|
|
435
440
|
attributeChangedCallback(t, r, n) {
|
|
436
441
|
var i;
|
|
437
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
442
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
438
443
|
}
|
|
439
444
|
disconnectedCallback() {
|
|
440
445
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -447,7 +452,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
447
452
|
) || t;
|
|
448
453
|
}
|
|
449
454
|
});
|
|
450
|
-
function
|
|
455
|
+
function Ie(e, t, r, n) {
|
|
451
456
|
var o;
|
|
452
457
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
453
458
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -477,8 +482,8 @@ function Se(e, t, r, n) {
|
|
|
477
482
|
return t;
|
|
478
483
|
}
|
|
479
484
|
}
|
|
480
|
-
function
|
|
481
|
-
let a = class extends
|
|
485
|
+
function Tn(e, t, r, n, i, o) {
|
|
486
|
+
let a = class extends mr {
|
|
482
487
|
constructor() {
|
|
483
488
|
super(e, r, i), this.$$p_d = t;
|
|
484
489
|
}
|
|
@@ -495,7 +500,7 @@ function Mn(e, t, r, n, i, o) {
|
|
|
495
500
|
},
|
|
496
501
|
set(l) {
|
|
497
502
|
var u;
|
|
498
|
-
l =
|
|
503
|
+
l = Ie(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
499
504
|
}
|
|
500
505
|
});
|
|
501
506
|
}), n.forEach((s) => {
|
|
@@ -508,7 +513,7 @@ function Mn(e, t, r, n, i, o) {
|
|
|
508
513
|
}), e.element = /** @type {any} */
|
|
509
514
|
a, a;
|
|
510
515
|
}
|
|
511
|
-
class
|
|
516
|
+
class Pn {
|
|
512
517
|
constructor() {
|
|
513
518
|
/**
|
|
514
519
|
* ### PRIVATE API
|
|
@@ -517,7 +522,7 @@ class On {
|
|
|
517
522
|
*
|
|
518
523
|
* @type {any}
|
|
519
524
|
*/
|
|
520
|
-
|
|
525
|
+
D(this, "$$");
|
|
521
526
|
/**
|
|
522
527
|
* ### PRIVATE API
|
|
523
528
|
*
|
|
@@ -525,11 +530,11 @@ class On {
|
|
|
525
530
|
*
|
|
526
531
|
* @type {any}
|
|
527
532
|
*/
|
|
528
|
-
|
|
533
|
+
D(this, "$$set");
|
|
529
534
|
}
|
|
530
535
|
/** @returns {void} */
|
|
531
536
|
$destroy() {
|
|
532
|
-
|
|
537
|
+
In(this, 1), this.$destroy = G;
|
|
533
538
|
}
|
|
534
539
|
/**
|
|
535
540
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -539,7 +544,7 @@ class On {
|
|
|
539
544
|
*/
|
|
540
545
|
$on(t, r) {
|
|
541
546
|
if (!dt(r))
|
|
542
|
-
return
|
|
547
|
+
return G;
|
|
543
548
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
549
|
return n.push(r), () => {
|
|
545
550
|
const i = n.indexOf(r);
|
|
@@ -551,11 +556,11 @@ class On {
|
|
|
551
556
|
* @returns {void}
|
|
552
557
|
*/
|
|
553
558
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
559
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
560
|
}
|
|
556
561
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
562
|
+
const Hn = "4";
|
|
563
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
|
|
559
564
|
/*! *****************************************************************************
|
|
560
565
|
Copyright (c) Microsoft Corporation.
|
|
561
566
|
|
|
@@ -578,7 +583,7 @@ var et = function(e, t) {
|
|
|
578
583
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
584
|
}, et(e, t);
|
|
580
585
|
};
|
|
581
|
-
function
|
|
586
|
+
function W(e, t) {
|
|
582
587
|
if (typeof t != "function" && t !== null)
|
|
583
588
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
589
|
et(e, t);
|
|
@@ -597,7 +602,7 @@ var w = function() {
|
|
|
597
602
|
return t;
|
|
598
603
|
}, w.apply(this, arguments);
|
|
599
604
|
};
|
|
600
|
-
function
|
|
605
|
+
function Mn(e, t) {
|
|
601
606
|
var r = {};
|
|
602
607
|
for (var n in e)
|
|
603
608
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -638,22 +643,22 @@ function rt(e, t) {
|
|
|
638
643
|
}
|
|
639
644
|
return o;
|
|
640
645
|
}
|
|
641
|
-
function
|
|
646
|
+
function re(e, t, r) {
|
|
642
647
|
if (r || arguments.length === 2)
|
|
643
648
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
644
649
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
645
650
|
return e.concat(o || t);
|
|
646
651
|
}
|
|
647
|
-
function
|
|
652
|
+
function k(e) {
|
|
648
653
|
return typeof e == "function";
|
|
649
654
|
}
|
|
650
|
-
function
|
|
655
|
+
function pr(e) {
|
|
651
656
|
var t = function(n) {
|
|
652
657
|
Error.call(n), n.stack = new Error().stack;
|
|
653
658
|
}, r = e(t);
|
|
654
659
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
655
660
|
}
|
|
656
|
-
var
|
|
661
|
+
var Ve = pr(function(e) {
|
|
657
662
|
return function(r) {
|
|
658
663
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
659
664
|
` + r.map(function(n, i) {
|
|
@@ -668,7 +673,7 @@ function nt(e, t) {
|
|
|
668
673
|
0 <= r && e.splice(r, 1);
|
|
669
674
|
}
|
|
670
675
|
}
|
|
671
|
-
var
|
|
676
|
+
var Le = function() {
|
|
672
677
|
function e(t) {
|
|
673
678
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
674
679
|
}
|
|
@@ -697,11 +702,11 @@ var Oe = function() {
|
|
|
697
702
|
else
|
|
698
703
|
a.remove(this);
|
|
699
704
|
var h = this.initialTeardown;
|
|
700
|
-
if (
|
|
705
|
+
if (k(h))
|
|
701
706
|
try {
|
|
702
707
|
h();
|
|
703
708
|
} catch (v) {
|
|
704
|
-
o = v instanceof
|
|
709
|
+
o = v instanceof Ve ? v.errors : [v];
|
|
705
710
|
}
|
|
706
711
|
var d = this._finalizers;
|
|
707
712
|
if (d) {
|
|
@@ -710,9 +715,9 @@ var Oe = function() {
|
|
|
710
715
|
for (var f = tt(d), p = f.next(); !p.done; p = f.next()) {
|
|
711
716
|
var g = p.value;
|
|
712
717
|
try {
|
|
713
|
-
|
|
718
|
+
At(g);
|
|
714
719
|
} catch (v) {
|
|
715
|
-
o = o != null ? o : [], v instanceof
|
|
720
|
+
o = o != null ? o : [], v instanceof Ve ? o = re(re([], rt(o)), rt(v.errors)) : o.push(v);
|
|
716
721
|
}
|
|
717
722
|
}
|
|
718
723
|
} catch (v) {
|
|
@@ -727,13 +732,13 @@ var Oe = function() {
|
|
|
727
732
|
}
|
|
728
733
|
}
|
|
729
734
|
if (o)
|
|
730
|
-
throw new
|
|
735
|
+
throw new Ve(o);
|
|
731
736
|
}
|
|
732
737
|
}, e.prototype.add = function(t) {
|
|
733
738
|
var r;
|
|
734
739
|
if (t && t !== this)
|
|
735
740
|
if (this.closed)
|
|
736
|
-
|
|
741
|
+
At(t);
|
|
737
742
|
else {
|
|
738
743
|
if (t instanceof e) {
|
|
739
744
|
if (t.closed || t._hasParent(this))
|
|
@@ -758,45 +763,41 @@ var Oe = function() {
|
|
|
758
763
|
var t = new e();
|
|
759
764
|
return t.closed = !0, t;
|
|
760
765
|
}(), e;
|
|
761
|
-
}(),
|
|
762
|
-
function
|
|
763
|
-
return e instanceof
|
|
766
|
+
}(), gr = Le.EMPTY;
|
|
767
|
+
function vr(e) {
|
|
768
|
+
return e instanceof Le || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
|
|
764
769
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
767
|
-
}
|
|
768
|
-
var
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
Promise: void 0,
|
|
772
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
773
|
-
useDeprecatedNextContext: !1
|
|
774
|
-
}, Fn = {
|
|
770
|
+
function At(e) {
|
|
771
|
+
k(e) ? e() : e.unsubscribe();
|
|
772
|
+
}
|
|
773
|
+
var On = {
|
|
774
|
+
Promise: void 0
|
|
775
|
+
}, Ln = {
|
|
775
776
|
setTimeout: function(e, t) {
|
|
776
777
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
777
778
|
r[n - 2] = arguments[n];
|
|
778
|
-
return setTimeout.apply(void 0,
|
|
779
|
+
return setTimeout.apply(void 0, re([e, t], rt(r)));
|
|
779
780
|
},
|
|
780
781
|
clearTimeout: function(e) {
|
|
781
782
|
return clearTimeout(e);
|
|
782
783
|
},
|
|
783
784
|
delegate: void 0
|
|
784
785
|
};
|
|
785
|
-
function
|
|
786
|
-
|
|
786
|
+
function Cn(e) {
|
|
787
|
+
Ln.setTimeout(function() {
|
|
787
788
|
throw e;
|
|
788
789
|
});
|
|
789
790
|
}
|
|
790
|
-
function
|
|
791
|
+
function Tt() {
|
|
791
792
|
}
|
|
792
|
-
function
|
|
793
|
+
function Be(e) {
|
|
793
794
|
e();
|
|
794
795
|
}
|
|
795
|
-
var
|
|
796
|
-
|
|
796
|
+
var br = function(e) {
|
|
797
|
+
W(t, e);
|
|
797
798
|
function t(r) {
|
|
798
799
|
var n = e.call(this) || this;
|
|
799
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
800
|
+
return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = Un, n;
|
|
800
801
|
}
|
|
801
802
|
return t.create = function(r, n, i) {
|
|
802
803
|
return new it(r, n, i);
|
|
@@ -823,11 +824,7 @@ var xr = function(e) {
|
|
|
823
824
|
this.unsubscribe();
|
|
824
825
|
}
|
|
825
826
|
}, t;
|
|
826
|
-
}(
|
|
827
|
-
function Ve(e, t) {
|
|
828
|
-
return Un.call(e, t);
|
|
829
|
-
}
|
|
830
|
-
var Dn = function() {
|
|
827
|
+
}(Le), Fn = function() {
|
|
831
828
|
function e(t) {
|
|
832
829
|
this.partialObserver = t;
|
|
833
830
|
}
|
|
@@ -837,7 +834,7 @@ var Dn = function() {
|
|
|
837
834
|
try {
|
|
838
835
|
r.next(t);
|
|
839
836
|
} catch (n) {
|
|
840
|
-
|
|
837
|
+
Ee(n);
|
|
841
838
|
}
|
|
842
839
|
}, e.prototype.error = function(t) {
|
|
843
840
|
var r = this.partialObserver;
|
|
@@ -845,68 +842,56 @@ var Dn = function() {
|
|
|
845
842
|
try {
|
|
846
843
|
r.error(t);
|
|
847
844
|
} catch (n) {
|
|
848
|
-
|
|
845
|
+
Ee(n);
|
|
849
846
|
}
|
|
850
847
|
else
|
|
851
|
-
|
|
848
|
+
Ee(t);
|
|
852
849
|
}, e.prototype.complete = function() {
|
|
853
850
|
var t = this.partialObserver;
|
|
854
851
|
if (t.complete)
|
|
855
852
|
try {
|
|
856
853
|
t.complete();
|
|
857
854
|
} catch (r) {
|
|
858
|
-
|
|
855
|
+
Ee(r);
|
|
859
856
|
}
|
|
860
857
|
}, e;
|
|
861
858
|
}(), it = function(e) {
|
|
862
|
-
|
|
859
|
+
W(t, e);
|
|
863
860
|
function t(r, n, i) {
|
|
864
861
|
var o = e.call(this) || this, a;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
};
|
|
871
|
-
else {
|
|
872
|
-
var s;
|
|
873
|
-
o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
874
|
-
return o.unsubscribe();
|
|
875
|
-
}, a = {
|
|
876
|
-
next: r.next && Ve(r.next, s),
|
|
877
|
-
error: r.error && Ve(r.error, s),
|
|
878
|
-
complete: r.complete && Ve(r.complete, s)
|
|
879
|
-
}) : a = r;
|
|
880
|
-
}
|
|
881
|
-
return o.destination = new Dn(a), o;
|
|
862
|
+
return k(r) || !r ? a = {
|
|
863
|
+
next: r != null ? r : void 0,
|
|
864
|
+
error: n != null ? n : void 0,
|
|
865
|
+
complete: i != null ? i : void 0
|
|
866
|
+
} : a = r, o.destination = new Fn(a), o;
|
|
882
867
|
}
|
|
883
868
|
return t;
|
|
884
|
-
}(
|
|
885
|
-
function
|
|
886
|
-
|
|
869
|
+
}(br);
|
|
870
|
+
function Ee(e) {
|
|
871
|
+
Cn(e);
|
|
887
872
|
}
|
|
888
|
-
function
|
|
873
|
+
function Rn(e) {
|
|
889
874
|
throw e;
|
|
890
875
|
}
|
|
891
|
-
var
|
|
876
|
+
var Un = {
|
|
892
877
|
closed: !0,
|
|
893
|
-
next:
|
|
894
|
-
error:
|
|
895
|
-
complete:
|
|
896
|
-
},
|
|
878
|
+
next: Tt,
|
|
879
|
+
error: Rn,
|
|
880
|
+
complete: Tt
|
|
881
|
+
}, Dn = function() {
|
|
897
882
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
898
883
|
}();
|
|
899
|
-
function
|
|
884
|
+
function Gn(e) {
|
|
900
885
|
return e;
|
|
901
886
|
}
|
|
902
|
-
function
|
|
903
|
-
return e.length === 0 ?
|
|
887
|
+
function $n(e) {
|
|
888
|
+
return e.length === 0 ? Gn : e.length === 1 ? e[0] : function(r) {
|
|
904
889
|
return e.reduce(function(n, i) {
|
|
905
890
|
return i(n);
|
|
906
891
|
}, r);
|
|
907
892
|
};
|
|
908
893
|
}
|
|
909
|
-
var
|
|
894
|
+
var Pt = function() {
|
|
910
895
|
function e(t) {
|
|
911
896
|
t && (this._subscribe = t);
|
|
912
897
|
}
|
|
@@ -914,8 +899,8 @@ var Mt = function() {
|
|
|
914
899
|
var r = new e();
|
|
915
900
|
return r.source = this, r.operator = t, r;
|
|
916
901
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
917
|
-
var i = this, o =
|
|
918
|
-
return
|
|
902
|
+
var i = this, o = jn(t) ? t : new it(t, r, n);
|
|
903
|
+
return Be(function() {
|
|
919
904
|
var a = i, s = a.operator, l = a.source;
|
|
920
905
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
921
906
|
}), o;
|
|
@@ -927,7 +912,7 @@ var Mt = function() {
|
|
|
927
912
|
}
|
|
928
913
|
}, e.prototype.forEach = function(t, r) {
|
|
929
914
|
var n = this;
|
|
930
|
-
return r =
|
|
915
|
+
return r = Ht(r), new r(function(i, o) {
|
|
931
916
|
var a = new it({
|
|
932
917
|
next: function(s) {
|
|
933
918
|
try {
|
|
@@ -944,15 +929,15 @@ var Mt = function() {
|
|
|
944
929
|
}, e.prototype._subscribe = function(t) {
|
|
945
930
|
var r;
|
|
946
931
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
947
|
-
}, e.prototype[
|
|
932
|
+
}, e.prototype[Dn] = function() {
|
|
948
933
|
return this;
|
|
949
934
|
}, e.prototype.pipe = function() {
|
|
950
935
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
951
936
|
t[r] = arguments[r];
|
|
952
|
-
return
|
|
937
|
+
return $n(t)(this);
|
|
953
938
|
}, e.prototype.toPromise = function(t) {
|
|
954
939
|
var r = this;
|
|
955
|
-
return t =
|
|
940
|
+
return t = Ht(t), new t(function(n, i) {
|
|
956
941
|
var o;
|
|
957
942
|
r.subscribe(function(a) {
|
|
958
943
|
return o = a;
|
|
@@ -966,35 +951,35 @@ var Mt = function() {
|
|
|
966
951
|
return new e(t);
|
|
967
952
|
}, e;
|
|
968
953
|
}();
|
|
969
|
-
function
|
|
954
|
+
function Ht(e) {
|
|
970
955
|
var t;
|
|
971
|
-
return (t = e != null ? e :
|
|
956
|
+
return (t = e != null ? e : On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
972
957
|
}
|
|
973
|
-
function
|
|
974
|
-
return e &&
|
|
958
|
+
function kn(e) {
|
|
959
|
+
return e && k(e.next) && k(e.error) && k(e.complete);
|
|
975
960
|
}
|
|
976
|
-
function
|
|
977
|
-
return e && e instanceof
|
|
961
|
+
function jn(e) {
|
|
962
|
+
return e && e instanceof br || kn(e) && vr(e);
|
|
978
963
|
}
|
|
979
|
-
var
|
|
964
|
+
var Wn = pr(function(e) {
|
|
980
965
|
return function() {
|
|
981
966
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
982
967
|
};
|
|
983
|
-
}),
|
|
984
|
-
|
|
968
|
+
}), yr = function(e) {
|
|
969
|
+
W(t, e);
|
|
985
970
|
function t() {
|
|
986
971
|
var r = e.call(this) || this;
|
|
987
972
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
988
973
|
}
|
|
989
974
|
return t.prototype.lift = function(r) {
|
|
990
|
-
var n = new
|
|
975
|
+
var n = new Mt(this, this);
|
|
991
976
|
return n.operator = r, n;
|
|
992
977
|
}, t.prototype._throwIfClosed = function() {
|
|
993
978
|
if (this.closed)
|
|
994
|
-
throw new
|
|
979
|
+
throw new Wn();
|
|
995
980
|
}, t.prototype.next = function(r) {
|
|
996
981
|
var n = this;
|
|
997
|
-
|
|
982
|
+
Be(function() {
|
|
998
983
|
var i, o;
|
|
999
984
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1000
985
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -1017,7 +1002,7 @@ var zn = vr(function(e) {
|
|
|
1017
1002
|
});
|
|
1018
1003
|
}, t.prototype.error = function(r) {
|
|
1019
1004
|
var n = this;
|
|
1020
|
-
|
|
1005
|
+
Be(function() {
|
|
1021
1006
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1022
1007
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1023
1008
|
for (var i = n.observers; i.length; )
|
|
@@ -1026,7 +1011,7 @@ var zn = vr(function(e) {
|
|
|
1026
1011
|
});
|
|
1027
1012
|
}, t.prototype.complete = function() {
|
|
1028
1013
|
var r = this;
|
|
1029
|
-
|
|
1014
|
+
Be(function() {
|
|
1030
1015
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1031
1016
|
r.isStopped = !0;
|
|
1032
1017
|
for (var n = r.observers; n.length; )
|
|
@@ -1048,20 +1033,20 @@ var zn = vr(function(e) {
|
|
|
1048
1033
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1049
1034
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1050
1035
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1051
|
-
return o || a ?
|
|
1036
|
+
return o || a ? gr : (this.currentObservers = null, s.push(r), new Le(function() {
|
|
1052
1037
|
n.currentObservers = null, nt(s, r);
|
|
1053
1038
|
}));
|
|
1054
1039
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1055
1040
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1056
1041
|
i ? r.error(o) : a && r.complete();
|
|
1057
1042
|
}, t.prototype.asObservable = function() {
|
|
1058
|
-
var r = new
|
|
1043
|
+
var r = new Pt();
|
|
1059
1044
|
return r.source = this, r;
|
|
1060
1045
|
}, t.create = function(r, n) {
|
|
1061
|
-
return new
|
|
1046
|
+
return new Mt(r, n);
|
|
1062
1047
|
}, t;
|
|
1063
|
-
}(
|
|
1064
|
-
|
|
1048
|
+
}(Pt), Mt = function(e) {
|
|
1049
|
+
W(t, e);
|
|
1065
1050
|
function t(r, n) {
|
|
1066
1051
|
var i = e.call(this) || this;
|
|
1067
1052
|
return i.destination = r, i.source = n, i;
|
|
@@ -1077,17 +1062,17 @@ var zn = vr(function(e) {
|
|
|
1077
1062
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1078
1063
|
}, t.prototype._subscribe = function(r) {
|
|
1079
1064
|
var n, i;
|
|
1080
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1065
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
|
|
1081
1066
|
}, t;
|
|
1082
|
-
}(
|
|
1067
|
+
}(yr), _r = {
|
|
1083
1068
|
now: function() {
|
|
1084
|
-
return (
|
|
1069
|
+
return (_r.delegate || Date).now();
|
|
1085
1070
|
},
|
|
1086
1071
|
delegate: void 0
|
|
1087
|
-
},
|
|
1088
|
-
|
|
1072
|
+
}, Vn = function(e) {
|
|
1073
|
+
W(t, e);
|
|
1089
1074
|
function t(r, n, i) {
|
|
1090
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1075
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
|
|
1091
1076
|
var o = e.call(this) || this;
|
|
1092
1077
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1093
1078
|
}
|
|
@@ -1107,62 +1092,62 @@ var zn = vr(function(e) {
|
|
|
1107
1092
|
u && o.splice(0, u + 1);
|
|
1108
1093
|
}
|
|
1109
1094
|
}, t;
|
|
1110
|
-
}(
|
|
1111
|
-
const
|
|
1112
|
-
if (
|
|
1113
|
-
const r = new
|
|
1114
|
-
|
|
1095
|
+
}(yr);
|
|
1096
|
+
const Ot = [], Lt = {}, Xn = (e, t = 0) => {
|
|
1097
|
+
if (Ot.indexOf(e) == -1) {
|
|
1098
|
+
const r = new Vn(t);
|
|
1099
|
+
Lt[e] = r, Ot.push(e);
|
|
1115
1100
|
}
|
|
1116
|
-
return
|
|
1117
|
-
},
|
|
1118
|
-
function
|
|
1101
|
+
return Lt[e];
|
|
1102
|
+
}, K = [];
|
|
1103
|
+
function zn(e, t) {
|
|
1119
1104
|
return {
|
|
1120
|
-
subscribe:
|
|
1105
|
+
subscribe: Ce(e, t).subscribe
|
|
1121
1106
|
};
|
|
1122
1107
|
}
|
|
1123
|
-
function
|
|
1108
|
+
function Ce(e, t = G) {
|
|
1124
1109
|
let r;
|
|
1125
1110
|
const n = /* @__PURE__ */ new Set();
|
|
1126
1111
|
function i(s) {
|
|
1127
|
-
if (
|
|
1128
|
-
const l = !
|
|
1112
|
+
if (lr(e, s) && (e = s, r)) {
|
|
1113
|
+
const l = !K.length;
|
|
1129
1114
|
for (const u of n)
|
|
1130
|
-
u[1](),
|
|
1115
|
+
u[1](), K.push(u, e);
|
|
1131
1116
|
if (l) {
|
|
1132
|
-
for (let u = 0; u <
|
|
1133
|
-
|
|
1134
|
-
|
|
1117
|
+
for (let u = 0; u < K.length; u += 2)
|
|
1118
|
+
K[u][0](K[u + 1]);
|
|
1119
|
+
K.length = 0;
|
|
1135
1120
|
}
|
|
1136
1121
|
}
|
|
1137
1122
|
}
|
|
1138
1123
|
function o(s) {
|
|
1139
1124
|
i(s(e));
|
|
1140
1125
|
}
|
|
1141
|
-
function a(s, l =
|
|
1126
|
+
function a(s, l = G) {
|
|
1142
1127
|
const u = [s, l];
|
|
1143
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1128
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || G), s(e), () => {
|
|
1144
1129
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1145
1130
|
};
|
|
1146
1131
|
}
|
|
1147
1132
|
return { set: i, update: o, subscribe: a };
|
|
1148
1133
|
}
|
|
1149
|
-
function
|
|
1134
|
+
function ue(e, t, r) {
|
|
1150
1135
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1151
1136
|
if (!i.every(Boolean))
|
|
1152
1137
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1153
1138
|
const o = t.length < 2;
|
|
1154
|
-
return
|
|
1139
|
+
return zn(r, (a, s) => {
|
|
1155
1140
|
let l = !1;
|
|
1156
1141
|
const u = [];
|
|
1157
|
-
let h = 0, d =
|
|
1142
|
+
let h = 0, d = G;
|
|
1158
1143
|
const f = () => {
|
|
1159
1144
|
if (h)
|
|
1160
1145
|
return;
|
|
1161
1146
|
d();
|
|
1162
1147
|
const g = t(n ? u[0] : u, a, s);
|
|
1163
|
-
o ? a(g) : d = dt(g) ? g :
|
|
1148
|
+
o ? a(g) : d = dt(g) ? g : G;
|
|
1164
1149
|
}, p = i.map(
|
|
1165
|
-
(g, v) =>
|
|
1150
|
+
(g, v) => ur(
|
|
1166
1151
|
g,
|
|
1167
1152
|
(A) => {
|
|
1168
1153
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1173,134 +1158,132 @@ function le(e, t, r) {
|
|
|
1173
1158
|
)
|
|
1174
1159
|
);
|
|
1175
1160
|
return l = !0, f(), function() {
|
|
1176
|
-
|
|
1161
|
+
le(p), d(), l = !1;
|
|
1177
1162
|
};
|
|
1178
1163
|
});
|
|
1179
1164
|
}
|
|
1180
|
-
function
|
|
1165
|
+
function Zn(e) {
|
|
1181
1166
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1182
1167
|
}
|
|
1183
|
-
var
|
|
1184
|
-
return
|
|
1168
|
+
var Qn = function(t) {
|
|
1169
|
+
return Yn(t) && !Jn(t);
|
|
1185
1170
|
};
|
|
1186
|
-
function
|
|
1171
|
+
function Yn(e) {
|
|
1187
1172
|
return !!e && typeof e == "object";
|
|
1188
1173
|
}
|
|
1189
|
-
function
|
|
1174
|
+
function Jn(e) {
|
|
1190
1175
|
var t = Object.prototype.toString.call(e);
|
|
1191
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1176
|
+
return t === "[object RegExp]" || t === "[object Date]" || ei(e);
|
|
1192
1177
|
}
|
|
1193
|
-
var
|
|
1194
|
-
function
|
|
1195
|
-
return e.$$typeof ===
|
|
1178
|
+
var qn = typeof Symbol == "function" && Symbol.for, Kn = qn ? Symbol.for("react.element") : 60103;
|
|
1179
|
+
function ei(e) {
|
|
1180
|
+
return e.$$typeof === Kn;
|
|
1196
1181
|
}
|
|
1197
|
-
function
|
|
1182
|
+
function ti(e) {
|
|
1198
1183
|
return Array.isArray(e) ? [] : {};
|
|
1199
1184
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1185
|
+
function ve(e, t) {
|
|
1186
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(ti(e), e, t) : e;
|
|
1202
1187
|
}
|
|
1203
|
-
function
|
|
1188
|
+
function ri(e, t, r) {
|
|
1204
1189
|
return e.concat(t).map(function(n) {
|
|
1205
|
-
return
|
|
1190
|
+
return ve(n, r);
|
|
1206
1191
|
});
|
|
1207
1192
|
}
|
|
1208
|
-
function
|
|
1193
|
+
function ni(e, t) {
|
|
1209
1194
|
if (!t.customMerge)
|
|
1210
|
-
return
|
|
1195
|
+
return ie;
|
|
1211
1196
|
var r = t.customMerge(e);
|
|
1212
|
-
return typeof r == "function" ? r :
|
|
1197
|
+
return typeof r == "function" ? r : ie;
|
|
1213
1198
|
}
|
|
1214
|
-
function
|
|
1199
|
+
function ii(e) {
|
|
1215
1200
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1216
1201
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1217
1202
|
}) : [];
|
|
1218
1203
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return Object.keys(e).concat(
|
|
1204
|
+
function Ct(e) {
|
|
1205
|
+
return Object.keys(e).concat(ii(e));
|
|
1221
1206
|
}
|
|
1222
|
-
function
|
|
1207
|
+
function xr(e, t) {
|
|
1223
1208
|
try {
|
|
1224
1209
|
return t in e;
|
|
1225
1210
|
} catch (r) {
|
|
1226
1211
|
return !1;
|
|
1227
1212
|
}
|
|
1228
1213
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1214
|
+
function oi(e, t) {
|
|
1215
|
+
return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1231
1216
|
}
|
|
1232
|
-
function
|
|
1217
|
+
function ai(e, t, r) {
|
|
1233
1218
|
var n = {};
|
|
1234
|
-
return r.isMergeableObject(e) &&
|
|
1235
|
-
n[i] =
|
|
1236
|
-
}),
|
|
1237
|
-
|
|
1219
|
+
return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
|
|
1220
|
+
n[i] = ve(e[i], r);
|
|
1221
|
+
}), Ct(t).forEach(function(i) {
|
|
1222
|
+
oi(e, i) || (xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
|
|
1238
1223
|
}), n;
|
|
1239
1224
|
}
|
|
1240
|
-
function
|
|
1241
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1225
|
+
function ie(e, t, r) {
|
|
1226
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = ve;
|
|
1242
1227
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1243
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1228
|
+
return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : ve(t, r);
|
|
1244
1229
|
}
|
|
1245
|
-
|
|
1230
|
+
ie.all = function(t, r) {
|
|
1246
1231
|
if (!Array.isArray(t))
|
|
1247
1232
|
throw new Error("first argument should be an array");
|
|
1248
1233
|
return t.reduce(function(n, i) {
|
|
1249
|
-
return
|
|
1234
|
+
return ie(n, i, r);
|
|
1250
1235
|
}, {});
|
|
1251
1236
|
};
|
|
1252
|
-
var
|
|
1253
|
-
const
|
|
1237
|
+
var si = ie, li = si;
|
|
1238
|
+
const ui = /* @__PURE__ */ Zn(li);
|
|
1254
1239
|
function Xe(e, t) {
|
|
1255
|
-
var r = t && t.cache ? t.cache :
|
|
1240
|
+
var r = t && t.cache ? t.cache : gi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : fi;
|
|
1256
1241
|
return i(e, {
|
|
1257
1242
|
cache: r,
|
|
1258
1243
|
serializer: n
|
|
1259
1244
|
});
|
|
1260
1245
|
}
|
|
1261
|
-
function
|
|
1246
|
+
function hi(e) {
|
|
1262
1247
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1263
1248
|
}
|
|
1264
|
-
function
|
|
1265
|
-
var i =
|
|
1249
|
+
function ci(e, t, r, n) {
|
|
1250
|
+
var i = hi(n) ? n : r(n), o = t.get(i);
|
|
1266
1251
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1267
1252
|
}
|
|
1268
|
-
function
|
|
1253
|
+
function wr(e, t, r) {
|
|
1269
1254
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1270
1255
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1271
1256
|
}
|
|
1272
|
-
function
|
|
1257
|
+
function Er(e, t, r, n, i) {
|
|
1273
1258
|
return r.bind(t, e, n, i);
|
|
1274
1259
|
}
|
|
1275
|
-
function
|
|
1276
|
-
var r = e.length === 1 ?
|
|
1277
|
-
return
|
|
1278
|
-
}
|
|
1279
|
-
function pi(e, t) {
|
|
1280
|
-
return pt(e, this, Ir, t.cache.create(), t.serializer);
|
|
1260
|
+
function fi(e, t) {
|
|
1261
|
+
var r = e.length === 1 ? ci : wr;
|
|
1262
|
+
return Er(e, this, r, t.cache.create(), t.serializer);
|
|
1281
1263
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return
|
|
1264
|
+
function di(e, t) {
|
|
1265
|
+
return Er(e, this, wr, t.cache.create(), t.serializer);
|
|
1284
1266
|
}
|
|
1285
|
-
var
|
|
1267
|
+
var mi = function() {
|
|
1286
1268
|
return JSON.stringify(arguments);
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1269
|
+
}, pi = (
|
|
1270
|
+
/** @class */
|
|
1271
|
+
function() {
|
|
1272
|
+
function e() {
|
|
1273
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1274
|
+
}
|
|
1275
|
+
return e.prototype.get = function(t) {
|
|
1276
|
+
return this.cache[t];
|
|
1277
|
+
}, e.prototype.set = function(t, r) {
|
|
1278
|
+
this.cache[t] = r;
|
|
1279
|
+
}, e;
|
|
1280
|
+
}()
|
|
1281
|
+
), gi = {
|
|
1298
1282
|
create: function() {
|
|
1299
|
-
return new
|
|
1283
|
+
return new pi();
|
|
1300
1284
|
}
|
|
1301
1285
|
}, ze = {
|
|
1302
|
-
variadic:
|
|
1303
|
-
monadic: gi
|
|
1286
|
+
variadic: di
|
|
1304
1287
|
}, _;
|
|
1305
1288
|
(function(e) {
|
|
1306
1289
|
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";
|
|
@@ -1309,47 +1292,47 @@ var I;
|
|
|
1309
1292
|
(function(e) {
|
|
1310
1293
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1311
1294
|
})(I || (I = {}));
|
|
1312
|
-
var
|
|
1295
|
+
var oe;
|
|
1313
1296
|
(function(e) {
|
|
1314
1297
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1315
|
-
})(
|
|
1316
|
-
function
|
|
1298
|
+
})(oe || (oe = {}));
|
|
1299
|
+
function Ft(e) {
|
|
1317
1300
|
return e.type === I.literal;
|
|
1318
1301
|
}
|
|
1319
|
-
function
|
|
1302
|
+
function vi(e) {
|
|
1320
1303
|
return e.type === I.argument;
|
|
1321
1304
|
}
|
|
1322
|
-
function
|
|
1305
|
+
function Nr(e) {
|
|
1323
1306
|
return e.type === I.number;
|
|
1324
1307
|
}
|
|
1325
|
-
function
|
|
1308
|
+
function Sr(e) {
|
|
1326
1309
|
return e.type === I.date;
|
|
1327
1310
|
}
|
|
1328
|
-
function
|
|
1311
|
+
function Ir(e) {
|
|
1329
1312
|
return e.type === I.time;
|
|
1330
1313
|
}
|
|
1331
|
-
function
|
|
1314
|
+
function Br(e) {
|
|
1332
1315
|
return e.type === I.select;
|
|
1333
1316
|
}
|
|
1334
|
-
function
|
|
1317
|
+
function Ar(e) {
|
|
1335
1318
|
return e.type === I.plural;
|
|
1336
1319
|
}
|
|
1337
|
-
function
|
|
1320
|
+
function bi(e) {
|
|
1338
1321
|
return e.type === I.pound;
|
|
1339
1322
|
}
|
|
1340
|
-
function
|
|
1323
|
+
function Tr(e) {
|
|
1341
1324
|
return e.type === I.tag;
|
|
1342
1325
|
}
|
|
1343
|
-
function
|
|
1344
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1326
|
+
function Pr(e) {
|
|
1327
|
+
return !!(e && typeof e == "object" && e.type === oe.number);
|
|
1345
1328
|
}
|
|
1346
1329
|
function ot(e) {
|
|
1347
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1330
|
+
return !!(e && typeof e == "object" && e.type === oe.dateTime);
|
|
1348
1331
|
}
|
|
1349
|
-
var
|
|
1350
|
-
function
|
|
1332
|
+
var Hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
|
|
1333
|
+
function _i(e) {
|
|
1351
1334
|
var t = {};
|
|
1352
|
-
return e.replace(
|
|
1335
|
+
return e.replace(yi, function(r) {
|
|
1353
1336
|
var n = r.length;
|
|
1354
1337
|
switch (r[0]) {
|
|
1355
1338
|
case "G":
|
|
@@ -1438,11 +1421,11 @@ function wi(e) {
|
|
|
1438
1421
|
return "";
|
|
1439
1422
|
}), t;
|
|
1440
1423
|
}
|
|
1441
|
-
var
|
|
1442
|
-
function
|
|
1424
|
+
var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1425
|
+
function wi(e) {
|
|
1443
1426
|
if (e.length === 0)
|
|
1444
1427
|
throw new Error("Number skeleton cannot be empty");
|
|
1445
|
-
for (var t = e.split(
|
|
1428
|
+
for (var t = e.split(xi).filter(function(f) {
|
|
1446
1429
|
return f.length > 0;
|
|
1447
1430
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1448
1431
|
var o = i[n], a = o.split("/");
|
|
@@ -1457,17 +1440,17 @@ function Ni(e) {
|
|
|
1457
1440
|
}
|
|
1458
1441
|
return r;
|
|
1459
1442
|
}
|
|
1460
|
-
function
|
|
1443
|
+
function Ei(e) {
|
|
1461
1444
|
return e.replace(/^(.*?)-/, "");
|
|
1462
1445
|
}
|
|
1463
|
-
var
|
|
1464
|
-
function
|
|
1446
|
+
var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1447
|
+
function Ut(e) {
|
|
1465
1448
|
var t = {};
|
|
1466
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1449
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mr, function(r, n, i) {
|
|
1467
1450
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1468
1451
|
}), t;
|
|
1469
1452
|
}
|
|
1470
|
-
function
|
|
1453
|
+
function Lr(e) {
|
|
1471
1454
|
switch (e) {
|
|
1472
1455
|
case "sign-auto":
|
|
1473
1456
|
return {
|
|
@@ -1507,7 +1490,7 @@ function Rr(e) {
|
|
|
1507
1490
|
};
|
|
1508
1491
|
}
|
|
1509
1492
|
}
|
|
1510
|
-
function
|
|
1493
|
+
function Si(e) {
|
|
1511
1494
|
var t;
|
|
1512
1495
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1513
1496
|
notation: "engineering"
|
|
@@ -1515,17 +1498,17 @@ function Bi(e) {
|
|
|
1515
1498
|
notation: "scientific"
|
|
1516
1499
|
}, e = e.slice(1)), t) {
|
|
1517
1500
|
var r = e.slice(0, 2);
|
|
1518
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1501
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
|
|
1519
1502
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1520
1503
|
t.minimumIntegerDigits = e.length;
|
|
1521
1504
|
}
|
|
1522
1505
|
return t;
|
|
1523
1506
|
}
|
|
1524
|
-
function
|
|
1525
|
-
var t = {}, r =
|
|
1507
|
+
function Dt(e) {
|
|
1508
|
+
var t = {}, r = Lr(e);
|
|
1526
1509
|
return r || t;
|
|
1527
1510
|
}
|
|
1528
|
-
function
|
|
1511
|
+
function Ii(e) {
|
|
1529
1512
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1530
1513
|
var i = n[r];
|
|
1531
1514
|
switch (i.stem) {
|
|
@@ -1549,7 +1532,7 @@ function Ai(e) {
|
|
|
1549
1532
|
continue;
|
|
1550
1533
|
case "measure-unit":
|
|
1551
1534
|
case "unit":
|
|
1552
|
-
t.style = "unit", t.unit =
|
|
1535
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1553
1536
|
continue;
|
|
1554
1537
|
case "compact-short":
|
|
1555
1538
|
case "K":
|
|
@@ -1561,12 +1544,12 @@ function Ai(e) {
|
|
|
1561
1544
|
continue;
|
|
1562
1545
|
case "scientific":
|
|
1563
1546
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1564
|
-
return w(w({}, l),
|
|
1547
|
+
return w(w({}, l), Dt(u));
|
|
1565
1548
|
}, {}));
|
|
1566
1549
|
continue;
|
|
1567
1550
|
case "engineering":
|
|
1568
1551
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1569
|
-
return w(w({}, l),
|
|
1552
|
+
return w(w({}, l), Dt(u));
|
|
1570
1553
|
}, {}));
|
|
1571
1554
|
continue;
|
|
1572
1555
|
case "notation-simple":
|
|
@@ -1611,7 +1594,7 @@ function Ai(e) {
|
|
|
1611
1594
|
case "integer-width":
|
|
1612
1595
|
if (i.options.length > 1)
|
|
1613
1596
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1614
|
-
i.options[0].replace(
|
|
1597
|
+
i.options[0].replace(Ni, function(l, u, h, d, f, p) {
|
|
1615
1598
|
if (u)
|
|
1616
1599
|
t.minimumIntegerDigits = h.length;
|
|
1617
1600
|
else {
|
|
@@ -1624,32 +1607,32 @@ function Ai(e) {
|
|
|
1624
1607
|
});
|
|
1625
1608
|
continue;
|
|
1626
1609
|
}
|
|
1627
|
-
if (
|
|
1610
|
+
if (Or.test(i.stem)) {
|
|
1628
1611
|
t.minimumIntegerDigits = i.stem.length;
|
|
1629
1612
|
continue;
|
|
1630
1613
|
}
|
|
1631
|
-
if (
|
|
1614
|
+
if (Rt.test(i.stem)) {
|
|
1632
1615
|
if (i.options.length > 1)
|
|
1633
1616
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1634
|
-
i.stem.replace(
|
|
1617
|
+
i.stem.replace(Rt, function(l, u, h, d, f, p) {
|
|
1635
1618
|
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1636
1619
|
});
|
|
1637
1620
|
var o = i.options[0];
|
|
1638
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1621
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ut(o)));
|
|
1639
1622
|
continue;
|
|
1640
1623
|
}
|
|
1641
|
-
if (
|
|
1642
|
-
t = w(w({}, t),
|
|
1624
|
+
if (Mr.test(i.stem)) {
|
|
1625
|
+
t = w(w({}, t), Ut(i.stem));
|
|
1643
1626
|
continue;
|
|
1644
1627
|
}
|
|
1645
|
-
var a =
|
|
1628
|
+
var a = Lr(i.stem);
|
|
1646
1629
|
a && (t = w(w({}, t), a));
|
|
1647
|
-
var s =
|
|
1630
|
+
var s = Si(i.stem);
|
|
1648
1631
|
s && (t = w(w({}, t), s));
|
|
1649
1632
|
}
|
|
1650
1633
|
return t;
|
|
1651
1634
|
}
|
|
1652
|
-
var
|
|
1635
|
+
var Ne = {
|
|
1653
1636
|
"001": [
|
|
1654
1637
|
"H",
|
|
1655
1638
|
"h"
|
|
@@ -3064,13 +3047,13 @@ var Ee = {
|
|
|
3064
3047
|
"h"
|
|
3065
3048
|
]
|
|
3066
3049
|
};
|
|
3067
|
-
function
|
|
3050
|
+
function Bi(e, t) {
|
|
3068
3051
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3069
3052
|
var i = e.charAt(n);
|
|
3070
3053
|
if (i === "j") {
|
|
3071
3054
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3072
3055
|
o++, n++;
|
|
3073
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3056
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ai(t);
|
|
3074
3057
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3075
3058
|
r += l;
|
|
3076
3059
|
for (; a-- > 0; )
|
|
@@ -3080,7 +3063,7 @@ function Ti(e, t) {
|
|
|
3080
3063
|
}
|
|
3081
3064
|
return r;
|
|
3082
3065
|
}
|
|
3083
|
-
function
|
|
3066
|
+
function Ai(e) {
|
|
3084
3067
|
var t = e.hourCycle;
|
|
3085
3068
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3086
3069
|
e.hourCycles && // @ts-ignore
|
|
@@ -3099,23 +3082,23 @@ function Hi(e) {
|
|
|
3099
3082
|
}
|
|
3100
3083
|
var r = e.language, n;
|
|
3101
3084
|
r !== "root" && (n = e.maximize().region);
|
|
3102
|
-
var i =
|
|
3085
|
+
var i = Ne[n || ""] || Ne[r || ""] || Ne["".concat(r, "-001")] || Ne["001"];
|
|
3103
3086
|
return i[0];
|
|
3104
3087
|
}
|
|
3105
|
-
var Ze,
|
|
3088
|
+
var Ze, Ti = new RegExp("^".concat(Hr.source, "*")), Pi = new RegExp("".concat(Hr.source, "*$"));
|
|
3106
3089
|
function x(e, t) {
|
|
3107
3090
|
return { start: e, end: t };
|
|
3108
3091
|
}
|
|
3109
|
-
var
|
|
3092
|
+
var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Oi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
|
|
3110
3093
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3111
3094
|
}, at = !0;
|
|
3112
3095
|
try {
|
|
3113
|
-
var
|
|
3114
|
-
at = ((Ze =
|
|
3096
|
+
var Di = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3097
|
+
at = ((Ze = Di.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
|
|
3115
3098
|
} catch (e) {
|
|
3116
3099
|
at = !1;
|
|
3117
3100
|
}
|
|
3118
|
-
var
|
|
3101
|
+
var Gt = Hi ? (
|
|
3119
3102
|
// Native
|
|
3120
3103
|
function(t, r, n) {
|
|
3121
3104
|
return t.startsWith(r, n);
|
|
@@ -3125,7 +3108,7 @@ var kt = Oi ? (
|
|
|
3125
3108
|
function(t, r, n) {
|
|
3126
3109
|
return t.slice(n, n + r.length) === r;
|
|
3127
3110
|
}
|
|
3128
|
-
), st =
|
|
3111
|
+
), st = Mi ? String.fromCodePoint : (
|
|
3129
3112
|
// IE11
|
|
3130
3113
|
function() {
|
|
3131
3114
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3137,9 +3120,9 @@ var kt = Oi ? (
|
|
|
3137
3120
|
}
|
|
3138
3121
|
return n;
|
|
3139
3122
|
}
|
|
3140
|
-
),
|
|
3123
|
+
), $t = (
|
|
3141
3124
|
// native
|
|
3142
|
-
|
|
3125
|
+
Oi ? Object.fromEntries : (
|
|
3143
3126
|
// Ponyfill
|
|
3144
3127
|
function(t) {
|
|
3145
3128
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3149,7 +3132,7 @@ var kt = Oi ? (
|
|
|
3149
3132
|
return r;
|
|
3150
3133
|
}
|
|
3151
3134
|
)
|
|
3152
|
-
),
|
|
3135
|
+
), Cr = Li ? (
|
|
3153
3136
|
// Native
|
|
3154
3137
|
function(t, r) {
|
|
3155
3138
|
return t.codePointAt(r);
|
|
@@ -3163,7 +3146,7 @@ var kt = Oi ? (
|
|
|
3163
3146
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3164
3147
|
}
|
|
3165
3148
|
}
|
|
3166
|
-
),
|
|
3149
|
+
), Gi = Ci ? (
|
|
3167
3150
|
// Native
|
|
3168
3151
|
function(t) {
|
|
3169
3152
|
return t.trimStart();
|
|
@@ -3171,9 +3154,9 @@ var kt = Oi ? (
|
|
|
3171
3154
|
) : (
|
|
3172
3155
|
// Ponyfill
|
|
3173
3156
|
function(t) {
|
|
3174
|
-
return t.replace(
|
|
3157
|
+
return t.replace(Ti, "");
|
|
3175
3158
|
}
|
|
3176
|
-
),
|
|
3159
|
+
), $i = Fi ? (
|
|
3177
3160
|
// Native
|
|
3178
3161
|
function(t) {
|
|
3179
3162
|
return t.trimEnd();
|
|
@@ -3181,32 +3164,32 @@ var kt = Oi ? (
|
|
|
3181
3164
|
) : (
|
|
3182
3165
|
// Ponyfill
|
|
3183
3166
|
function(t) {
|
|
3184
|
-
return t.replace(
|
|
3167
|
+
return t.replace(Pi, "");
|
|
3185
3168
|
}
|
|
3186
3169
|
);
|
|
3187
|
-
function
|
|
3170
|
+
function Fr(e, t) {
|
|
3188
3171
|
return new RegExp(e, t);
|
|
3189
3172
|
}
|
|
3190
3173
|
var lt;
|
|
3191
3174
|
if (at) {
|
|
3192
|
-
var
|
|
3175
|
+
var kt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3193
3176
|
lt = function(t, r) {
|
|
3194
3177
|
var n;
|
|
3195
|
-
|
|
3196
|
-
var i =
|
|
3178
|
+
kt.lastIndex = r;
|
|
3179
|
+
var i = kt.exec(t);
|
|
3197
3180
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3198
3181
|
};
|
|
3199
3182
|
} else
|
|
3200
3183
|
lt = function(t, r) {
|
|
3201
3184
|
for (var n = []; ; ) {
|
|
3202
|
-
var i =
|
|
3203
|
-
if (i === void 0 ||
|
|
3185
|
+
var i = Cr(t, r);
|
|
3186
|
+
if (i === void 0 || Rr(i) || Vi(i))
|
|
3204
3187
|
break;
|
|
3205
3188
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3206
3189
|
}
|
|
3207
3190
|
return st.apply(void 0, n);
|
|
3208
3191
|
};
|
|
3209
|
-
var
|
|
3192
|
+
var ki = (
|
|
3210
3193
|
/** @class */
|
|
3211
3194
|
function() {
|
|
3212
3195
|
function e(t, r) {
|
|
@@ -3288,7 +3271,7 @@ var Wi = (
|
|
|
3288
3271
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3289
3272
|
}, e.prototype.parseTagName = function() {
|
|
3290
3273
|
var t = this.offset();
|
|
3291
|
-
for (this.bump(); !this.isEOF() &&
|
|
3274
|
+
for (this.bump(); !this.isEOF() && Wi(this.char()); )
|
|
3292
3275
|
this.bump();
|
|
3293
3276
|
return this.message.slice(t, this.offset());
|
|
3294
3277
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3317,7 +3300,7 @@ var Wi = (
|
|
|
3317
3300
|
};
|
|
3318
3301
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3319
3302
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3320
|
-
!
|
|
3303
|
+
!ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3321
3304
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3322
3305
|
if (this.isEOF() || this.char() !== 39)
|
|
3323
3306
|
return null;
|
|
@@ -3404,7 +3387,7 @@ var Wi = (
|
|
|
3404
3387
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3405
3388
|
if (d.err)
|
|
3406
3389
|
return d;
|
|
3407
|
-
var f =
|
|
3390
|
+
var f = $i(d.val);
|
|
3408
3391
|
if (f.length === 0)
|
|
3409
3392
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3410
3393
|
var p = x(h, this.clonePosition());
|
|
@@ -3414,8 +3397,8 @@ var Wi = (
|
|
|
3414
3397
|
if (g.err)
|
|
3415
3398
|
return g;
|
|
3416
3399
|
var v = x(i, this.clonePosition());
|
|
3417
|
-
if (u &&
|
|
3418
|
-
var A =
|
|
3400
|
+
if (u && Gt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3401
|
+
var A = Gi(u.style.slice(2));
|
|
3419
3402
|
if (s === "number") {
|
|
3420
3403
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3421
3404
|
return d.err ? d : {
|
|
@@ -3426,12 +3409,12 @@ var Wi = (
|
|
|
3426
3409
|
if (A.length === 0)
|
|
3427
3410
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3428
3411
|
var S = A;
|
|
3429
|
-
this.locale && (S =
|
|
3412
|
+
this.locale && (S = Bi(A, this.locale));
|
|
3430
3413
|
var f = {
|
|
3431
|
-
type:
|
|
3414
|
+
type: oe.dateTime,
|
|
3432
3415
|
pattern: S,
|
|
3433
3416
|
location: u.styleLocation,
|
|
3434
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3417
|
+
parsedOptions: this.shouldParseSkeletons ? _i(S) : {}
|
|
3435
3418
|
}, b = s === "date" ? I.date : I.time;
|
|
3436
3419
|
return {
|
|
3437
3420
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3456,7 +3439,7 @@ var Wi = (
|
|
|
3456
3439
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3457
3440
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3458
3441
|
this.bumpSpace();
|
|
3459
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3442
|
+
var E = this.parseIdentifierIfPossible(), P = 0;
|
|
3460
3443
|
if (s !== "select" && E.value === "offset") {
|
|
3461
3444
|
if (!this.bumpIf(":"))
|
|
3462
3445
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3464,31 +3447,31 @@ var Wi = (
|
|
|
3464
3447
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3465
3448
|
if (d.err)
|
|
3466
3449
|
return d;
|
|
3467
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3450
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), P = d.val;
|
|
3468
3451
|
}
|
|
3469
|
-
var
|
|
3470
|
-
if (
|
|
3471
|
-
return
|
|
3452
|
+
var Z = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3453
|
+
if (Z.err)
|
|
3454
|
+
return Z;
|
|
3472
3455
|
var g = this.tryParseArgumentClose(i);
|
|
3473
3456
|
if (g.err)
|
|
3474
3457
|
return g;
|
|
3475
|
-
var
|
|
3458
|
+
var J = x(i, this.clonePosition());
|
|
3476
3459
|
return s === "select" ? {
|
|
3477
3460
|
val: {
|
|
3478
3461
|
type: I.select,
|
|
3479
3462
|
value: n,
|
|
3480
|
-
options:
|
|
3481
|
-
location:
|
|
3463
|
+
options: $t(Z.val),
|
|
3464
|
+
location: J
|
|
3482
3465
|
},
|
|
3483
3466
|
err: null
|
|
3484
3467
|
} : {
|
|
3485
3468
|
val: {
|
|
3486
3469
|
type: I.plural,
|
|
3487
3470
|
value: n,
|
|
3488
|
-
options:
|
|
3489
|
-
offset:
|
|
3471
|
+
options: $t(Z.val),
|
|
3472
|
+
offset: P,
|
|
3490
3473
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3491
|
-
location:
|
|
3474
|
+
location: J
|
|
3492
3475
|
},
|
|
3493
3476
|
err: null
|
|
3494
3477
|
};
|
|
@@ -3536,16 +3519,16 @@ var Wi = (
|
|
|
3536
3519
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3537
3520
|
var n = [];
|
|
3538
3521
|
try {
|
|
3539
|
-
n =
|
|
3522
|
+
n = wi(t);
|
|
3540
3523
|
} catch (i) {
|
|
3541
3524
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3542
3525
|
}
|
|
3543
3526
|
return {
|
|
3544
3527
|
val: {
|
|
3545
|
-
type:
|
|
3528
|
+
type: oe.number,
|
|
3546
3529
|
tokens: n,
|
|
3547
3530
|
location: r,
|
|
3548
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3531
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(n) : {}
|
|
3549
3532
|
},
|
|
3550
3533
|
err: null
|
|
3551
3534
|
};
|
|
@@ -3593,7 +3576,7 @@ var Wi = (
|
|
|
3593
3576
|
break;
|
|
3594
3577
|
}
|
|
3595
3578
|
var l = x(i, this.clonePosition());
|
|
3596
|
-
return o ? (a *= n,
|
|
3579
|
+
return o ? (a *= n, Ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3597
3580
|
}, e.prototype.offset = function() {
|
|
3598
3581
|
return this.position.offset;
|
|
3599
3582
|
}, e.prototype.isEOF = function() {
|
|
@@ -3608,7 +3591,7 @@ var Wi = (
|
|
|
3608
3591
|
var t = this.position.offset;
|
|
3609
3592
|
if (t >= this.message.length)
|
|
3610
3593
|
throw Error("out of bound");
|
|
3611
|
-
var r =
|
|
3594
|
+
var r = Cr(this.message, t);
|
|
3612
3595
|
if (r === void 0)
|
|
3613
3596
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3614
3597
|
return r;
|
|
@@ -3627,7 +3610,7 @@ var Wi = (
|
|
|
3627
3610
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3628
3611
|
}
|
|
3629
3612
|
}, e.prototype.bumpIf = function(t) {
|
|
3630
|
-
if (
|
|
3613
|
+
if (Gt(this.message, t, this.offset())) {
|
|
3631
3614
|
for (var r = 0; r < t.length; r++)
|
|
3632
3615
|
this.bump();
|
|
3633
3616
|
return !0;
|
|
@@ -3649,7 +3632,7 @@ var Wi = (
|
|
|
3649
3632
|
break;
|
|
3650
3633
|
}
|
|
3651
3634
|
}, e.prototype.bumpSpace = function() {
|
|
3652
|
-
for (; !this.isEOF() &&
|
|
3635
|
+
for (; !this.isEOF() && Rr(this.char()); )
|
|
3653
3636
|
this.bump();
|
|
3654
3637
|
}, e.prototype.peek = function() {
|
|
3655
3638
|
if (this.isEOF())
|
|
@@ -3662,44 +3645,44 @@ var Wi = (
|
|
|
3662
3645
|
function ut(e) {
|
|
3663
3646
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3664
3647
|
}
|
|
3665
|
-
function
|
|
3648
|
+
function ji(e) {
|
|
3666
3649
|
return ut(e) || e === 47;
|
|
3667
3650
|
}
|
|
3668
|
-
function
|
|
3651
|
+
function Wi(e) {
|
|
3669
3652
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3670
3653
|
}
|
|
3671
|
-
function
|
|
3654
|
+
function Rr(e) {
|
|
3672
3655
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3673
3656
|
}
|
|
3674
|
-
function
|
|
3657
|
+
function Vi(e) {
|
|
3675
3658
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3676
3659
|
}
|
|
3677
3660
|
function ht(e) {
|
|
3678
3661
|
e.forEach(function(t) {
|
|
3679
|
-
if (delete t.location,
|
|
3662
|
+
if (delete t.location, Br(t) || Ar(t))
|
|
3680
3663
|
for (var r in t.options)
|
|
3681
3664
|
delete t.options[r].location, ht(t.options[r].value);
|
|
3682
3665
|
else
|
|
3683
|
-
|
|
3666
|
+
Nr(t) && Pr(t.style) || (Sr(t) || Ir(t)) && ot(t.style) ? delete t.style.location : Tr(t) && ht(t.children);
|
|
3684
3667
|
});
|
|
3685
3668
|
}
|
|
3686
|
-
function
|
|
3669
|
+
function Xi(e, t) {
|
|
3687
3670
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3688
|
-
var r = new
|
|
3671
|
+
var r = new ki(e, t).parse();
|
|
3689
3672
|
if (r.err) {
|
|
3690
3673
|
var n = SyntaxError(_[r.err.kind]);
|
|
3691
3674
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3692
3675
|
}
|
|
3693
3676
|
return t != null && t.captureLocation || ht(r.val), r.val;
|
|
3694
3677
|
}
|
|
3695
|
-
var
|
|
3678
|
+
var ae;
|
|
3696
3679
|
(function(e) {
|
|
3697
3680
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3698
|
-
})(
|
|
3699
|
-
var
|
|
3681
|
+
})(ae || (ae = {}));
|
|
3682
|
+
var Fe = (
|
|
3700
3683
|
/** @class */
|
|
3701
3684
|
function(e) {
|
|
3702
|
-
|
|
3685
|
+
W(t, e);
|
|
3703
3686
|
function t(r, n, i) {
|
|
3704
3687
|
var o = e.call(this, r) || this;
|
|
3705
3688
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3708,152 +3691,152 @@ var Ce = (
|
|
|
3708
3691
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3709
3692
|
}, t;
|
|
3710
3693
|
}(Error)
|
|
3711
|
-
),
|
|
3694
|
+
), jt = (
|
|
3712
3695
|
/** @class */
|
|
3713
3696
|
function(e) {
|
|
3714
|
-
|
|
3697
|
+
W(t, e);
|
|
3715
3698
|
function t(r, n, i, o) {
|
|
3716
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3699
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
|
|
3717
3700
|
}
|
|
3718
3701
|
return t;
|
|
3719
|
-
}(
|
|
3720
|
-
),
|
|
3702
|
+
}(Fe)
|
|
3703
|
+
), zi = (
|
|
3721
3704
|
/** @class */
|
|
3722
3705
|
function(e) {
|
|
3723
|
-
|
|
3706
|
+
W(t, e);
|
|
3724
3707
|
function t(r, n, i) {
|
|
3725
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3708
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
|
|
3726
3709
|
}
|
|
3727
3710
|
return t;
|
|
3728
|
-
}(
|
|
3729
|
-
),
|
|
3711
|
+
}(Fe)
|
|
3712
|
+
), Zi = (
|
|
3730
3713
|
/** @class */
|
|
3731
3714
|
function(e) {
|
|
3732
|
-
|
|
3715
|
+
W(t, e);
|
|
3733
3716
|
function t(r, n) {
|
|
3734
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3717
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
|
|
3735
3718
|
}
|
|
3736
3719
|
return t;
|
|
3737
|
-
}(
|
|
3738
|
-
),
|
|
3720
|
+
}(Fe)
|
|
3721
|
+
), L;
|
|
3739
3722
|
(function(e) {
|
|
3740
3723
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3741
|
-
})(
|
|
3742
|
-
function
|
|
3724
|
+
})(L || (L = {}));
|
|
3725
|
+
function Qi(e) {
|
|
3743
3726
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3744
3727
|
var n = t[t.length - 1];
|
|
3745
|
-
return !n || n.type !==
|
|
3728
|
+
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3746
3729
|
}, []);
|
|
3747
3730
|
}
|
|
3748
|
-
function
|
|
3731
|
+
function Yi(e) {
|
|
3749
3732
|
return typeof e == "function";
|
|
3750
3733
|
}
|
|
3751
|
-
function
|
|
3752
|
-
if (e.length === 1 &&
|
|
3734
|
+
function Ae(e, t, r, n, i, o, a) {
|
|
3735
|
+
if (e.length === 1 && Ft(e[0]))
|
|
3753
3736
|
return [
|
|
3754
3737
|
{
|
|
3755
|
-
type:
|
|
3738
|
+
type: L.literal,
|
|
3756
3739
|
value: e[0].value
|
|
3757
3740
|
}
|
|
3758
3741
|
];
|
|
3759
3742
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3760
3743
|
var h = u[l];
|
|
3761
|
-
if (
|
|
3744
|
+
if (Ft(h)) {
|
|
3762
3745
|
s.push({
|
|
3763
|
-
type:
|
|
3746
|
+
type: L.literal,
|
|
3764
3747
|
value: h.value
|
|
3765
3748
|
});
|
|
3766
3749
|
continue;
|
|
3767
3750
|
}
|
|
3768
|
-
if (
|
|
3751
|
+
if (bi(h)) {
|
|
3769
3752
|
typeof o == "number" && s.push({
|
|
3770
|
-
type:
|
|
3753
|
+
type: L.literal,
|
|
3771
3754
|
value: r.getNumberFormat(t).format(o)
|
|
3772
3755
|
});
|
|
3773
3756
|
continue;
|
|
3774
3757
|
}
|
|
3775
3758
|
var d = h.value;
|
|
3776
3759
|
if (!(i && d in i))
|
|
3777
|
-
throw new
|
|
3760
|
+
throw new Zi(d, a);
|
|
3778
3761
|
var f = i[d];
|
|
3779
|
-
if (
|
|
3762
|
+
if (vi(h)) {
|
|
3780
3763
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3781
|
-
type: typeof f == "string" ?
|
|
3764
|
+
type: typeof f == "string" ? L.literal : L.object,
|
|
3782
3765
|
value: f
|
|
3783
3766
|
});
|
|
3784
3767
|
continue;
|
|
3785
3768
|
}
|
|
3786
|
-
if (
|
|
3769
|
+
if (Sr(h)) {
|
|
3787
3770
|
var p = typeof h.style == "string" ? n.date[h.style] : ot(h.style) ? h.style.parsedOptions : void 0;
|
|
3788
3771
|
s.push({
|
|
3789
|
-
type:
|
|
3772
|
+
type: L.literal,
|
|
3790
3773
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3791
3774
|
});
|
|
3792
3775
|
continue;
|
|
3793
3776
|
}
|
|
3794
|
-
if (
|
|
3777
|
+
if (Ir(h)) {
|
|
3795
3778
|
var p = typeof h.style == "string" ? n.time[h.style] : ot(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3796
3779
|
s.push({
|
|
3797
|
-
type:
|
|
3780
|
+
type: L.literal,
|
|
3798
3781
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3799
3782
|
});
|
|
3800
3783
|
continue;
|
|
3801
3784
|
}
|
|
3802
|
-
if (
|
|
3803
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3785
|
+
if (Nr(h)) {
|
|
3786
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Pr(h.style) ? h.style.parsedOptions : void 0;
|
|
3804
3787
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3805
|
-
type:
|
|
3788
|
+
type: L.literal,
|
|
3806
3789
|
value: r.getNumberFormat(t, p).format(f)
|
|
3807
3790
|
});
|
|
3808
3791
|
continue;
|
|
3809
3792
|
}
|
|
3810
|
-
if (
|
|
3793
|
+
if (Tr(h)) {
|
|
3811
3794
|
var g = h.children, v = h.value, A = i[v];
|
|
3812
|
-
if (!
|
|
3813
|
-
throw new
|
|
3814
|
-
var S =
|
|
3815
|
-
return
|
|
3795
|
+
if (!Yi(A))
|
|
3796
|
+
throw new zi(v, "function", a);
|
|
3797
|
+
var S = Ae(g, t, r, n, i, o), b = A(S.map(function(P) {
|
|
3798
|
+
return P.value;
|
|
3816
3799
|
}));
|
|
3817
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
3800
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(P) {
|
|
3818
3801
|
return {
|
|
3819
|
-
type: typeof
|
|
3820
|
-
value:
|
|
3802
|
+
type: typeof P == "string" ? L.literal : L.object,
|
|
3803
|
+
value: P
|
|
3821
3804
|
};
|
|
3822
3805
|
}));
|
|
3823
3806
|
}
|
|
3824
|
-
if (
|
|
3807
|
+
if (Br(h)) {
|
|
3825
3808
|
var N = h.options[f] || h.options.other;
|
|
3826
3809
|
if (!N)
|
|
3827
|
-
throw new
|
|
3828
|
-
s.push.apply(s,
|
|
3810
|
+
throw new jt(h.value, f, Object.keys(h.options), a);
|
|
3811
|
+
s.push.apply(s, Ae(N.value, t, r, n, i));
|
|
3829
3812
|
continue;
|
|
3830
3813
|
}
|
|
3831
|
-
if (
|
|
3814
|
+
if (Ar(h)) {
|
|
3832
3815
|
var N = h.options["=".concat(f)];
|
|
3833
3816
|
if (!N) {
|
|
3834
3817
|
if (!Intl.PluralRules)
|
|
3835
|
-
throw new
|
|
3818
|
+
throw new Fe(`Intl.PluralRules is not available in this environment.
|
|
3836
3819
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3837
|
-
`,
|
|
3820
|
+
`, ae.MISSING_INTL_API, a);
|
|
3838
3821
|
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3839
3822
|
N = h.options[E] || h.options.other;
|
|
3840
3823
|
}
|
|
3841
3824
|
if (!N)
|
|
3842
|
-
throw new
|
|
3843
|
-
s.push.apply(s,
|
|
3825
|
+
throw new jt(h.value, f, Object.keys(h.options), a);
|
|
3826
|
+
s.push.apply(s, Ae(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3844
3827
|
continue;
|
|
3845
3828
|
}
|
|
3846
3829
|
}
|
|
3847
|
-
return
|
|
3830
|
+
return Qi(s);
|
|
3848
3831
|
}
|
|
3849
|
-
function
|
|
3832
|
+
function Ji(e, t) {
|
|
3850
3833
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3851
3834
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3852
3835
|
}, {})) : e;
|
|
3853
3836
|
}
|
|
3854
|
-
function
|
|
3837
|
+
function qi(e, t) {
|
|
3855
3838
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3856
|
-
return r[n] =
|
|
3839
|
+
return r[n] = Ji(e[n], t[n]), r;
|
|
3857
3840
|
}, w({}, e)) : e;
|
|
3858
3841
|
}
|
|
3859
3842
|
function Qe(e) {
|
|
@@ -3870,7 +3853,7 @@ function Qe(e) {
|
|
|
3870
3853
|
}
|
|
3871
3854
|
};
|
|
3872
3855
|
}
|
|
3873
|
-
function
|
|
3856
|
+
function Ki(e) {
|
|
3874
3857
|
return e === void 0 && (e = {
|
|
3875
3858
|
number: {},
|
|
3876
3859
|
dateTime: {},
|
|
@@ -3879,7 +3862,7 @@ function to(e) {
|
|
|
3879
3862
|
getNumberFormat: Xe(function() {
|
|
3880
3863
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3864
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3865
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3883
3866
|
}, {
|
|
3884
3867
|
cache: Qe(e.number),
|
|
3885
3868
|
strategy: ze.variadic
|
|
@@ -3887,7 +3870,7 @@ function to(e) {
|
|
|
3887
3870
|
getDateTimeFormat: Xe(function() {
|
|
3888
3871
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3889
3872
|
r[n] = arguments[n];
|
|
3890
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3873
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3891
3874
|
}, {
|
|
3892
3875
|
cache: Qe(e.dateTime),
|
|
3893
3876
|
strategy: ze.variadic
|
|
@@ -3895,14 +3878,14 @@ function to(e) {
|
|
|
3895
3878
|
getPluralRules: Xe(function() {
|
|
3896
3879
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3897
3880
|
r[n] = arguments[n];
|
|
3898
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3881
|
+
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3899
3882
|
}, {
|
|
3900
3883
|
cache: Qe(e.pluralRules),
|
|
3901
3884
|
strategy: ze.variadic
|
|
3902
3885
|
})
|
|
3903
3886
|
};
|
|
3904
3887
|
}
|
|
3905
|
-
var
|
|
3888
|
+
var eo = (
|
|
3906
3889
|
/** @class */
|
|
3907
3890
|
function() {
|
|
3908
3891
|
function e(t, r, n, i) {
|
|
@@ -3917,11 +3900,11 @@ var ro = (
|
|
|
3917
3900
|
if (u.length === 1)
|
|
3918
3901
|
return u[0].value;
|
|
3919
3902
|
var h = u.reduce(function(d, f) {
|
|
3920
|
-
return !d.length || f.type !==
|
|
3903
|
+
return !d.length || f.type !== L.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
|
3921
3904
|
}, []);
|
|
3922
3905
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3923
3906
|
}, this.formatToParts = function(l) {
|
|
3924
|
-
return
|
|
3907
|
+
return Ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3925
3908
|
}, this.resolvedOptions = function() {
|
|
3926
3909
|
var l;
|
|
3927
3910
|
return {
|
|
@@ -3934,13 +3917,13 @@ var ro = (
|
|
|
3934
3917
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3935
3918
|
var a = i || {};
|
|
3936
3919
|
a.formatters;
|
|
3937
|
-
var s =
|
|
3920
|
+
var s = Mn(a, ["formatters"]);
|
|
3938
3921
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3939
3922
|
} else
|
|
3940
3923
|
this.ast = t;
|
|
3941
3924
|
if (!Array.isArray(this.ast))
|
|
3942
3925
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3943
|
-
this.formats =
|
|
3926
|
+
this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
|
|
3944
3927
|
}
|
|
3945
3928
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3946
3929
|
get: function() {
|
|
@@ -3953,7 +3936,7 @@ var ro = (
|
|
|
3953
3936
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3954
3937
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3955
3938
|
}
|
|
3956
|
-
}, e.__parse =
|
|
3939
|
+
}, e.__parse = Xi, e.formats = {
|
|
3957
3940
|
number: {
|
|
3958
3941
|
integer: {
|
|
3959
3942
|
maximumFractionDigits: 0
|
|
@@ -4014,7 +3997,7 @@ var ro = (
|
|
|
4014
3997
|
}, e;
|
|
4015
3998
|
}()
|
|
4016
3999
|
);
|
|
4017
|
-
function
|
|
4000
|
+
function to(e, t) {
|
|
4018
4001
|
if (t == null)
|
|
4019
4002
|
return;
|
|
4020
4003
|
if (t in e)
|
|
@@ -4035,92 +4018,92 @@ function no(e, t) {
|
|
|
4035
4018
|
n = void 0;
|
|
4036
4019
|
return n;
|
|
4037
4020
|
}
|
|
4038
|
-
const
|
|
4021
|
+
const X = {}, ro = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Ur = (e, t) => {
|
|
4039
4022
|
if (t == null)
|
|
4040
4023
|
return;
|
|
4041
|
-
if (t in
|
|
4042
|
-
return
|
|
4043
|
-
const r =
|
|
4024
|
+
if (t in X && e in X[t])
|
|
4025
|
+
return X[t][e];
|
|
4026
|
+
const r = Re(t);
|
|
4044
4027
|
for (let n = 0; n < r.length; n++) {
|
|
4045
|
-
const i = r[n], o =
|
|
4028
|
+
const i = r[n], o = io(i, e);
|
|
4046
4029
|
if (o)
|
|
4047
|
-
return
|
|
4030
|
+
return ro(e, t, o);
|
|
4048
4031
|
}
|
|
4049
4032
|
};
|
|
4050
|
-
let
|
|
4051
|
-
const
|
|
4052
|
-
function
|
|
4053
|
-
return
|
|
4033
|
+
let pt;
|
|
4034
|
+
const _e = Ce({});
|
|
4035
|
+
function no(e) {
|
|
4036
|
+
return pt[e] || null;
|
|
4054
4037
|
}
|
|
4055
|
-
function
|
|
4056
|
-
return e in
|
|
4038
|
+
function Dr(e) {
|
|
4039
|
+
return e in pt;
|
|
4057
4040
|
}
|
|
4058
|
-
function
|
|
4059
|
-
if (!
|
|
4041
|
+
function io(e, t) {
|
|
4042
|
+
if (!Dr(e))
|
|
4060
4043
|
return null;
|
|
4061
|
-
const r =
|
|
4062
|
-
return
|
|
4044
|
+
const r = no(e);
|
|
4045
|
+
return to(r, t);
|
|
4063
4046
|
}
|
|
4064
|
-
function
|
|
4047
|
+
function oo(e) {
|
|
4065
4048
|
if (e == null)
|
|
4066
4049
|
return;
|
|
4067
|
-
const t =
|
|
4050
|
+
const t = Re(e);
|
|
4068
4051
|
for (let r = 0; r < t.length; r++) {
|
|
4069
4052
|
const n = t[r];
|
|
4070
|
-
if (
|
|
4053
|
+
if (Dr(n))
|
|
4071
4054
|
return n;
|
|
4072
4055
|
}
|
|
4073
4056
|
}
|
|
4074
|
-
function
|
|
4075
|
-
delete
|
|
4057
|
+
function Gr(e, ...t) {
|
|
4058
|
+
delete X[e], _e.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
|
|
4076
4059
|
}
|
|
4077
|
-
|
|
4078
|
-
[
|
|
4060
|
+
ue(
|
|
4061
|
+
[_e],
|
|
4079
4062
|
([e]) => Object.keys(e)
|
|
4080
4063
|
);
|
|
4081
|
-
|
|
4082
|
-
const
|
|
4083
|
-
function
|
|
4084
|
-
|
|
4064
|
+
_e.subscribe((e) => pt = e);
|
|
4065
|
+
const Te = {};
|
|
4066
|
+
function ao(e, t) {
|
|
4067
|
+
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
4085
4068
|
}
|
|
4086
|
-
function
|
|
4087
|
-
return
|
|
4069
|
+
function $r(e) {
|
|
4070
|
+
return Te[e];
|
|
4088
4071
|
}
|
|
4089
|
-
function
|
|
4090
|
-
return
|
|
4091
|
-
const r =
|
|
4072
|
+
function so(e) {
|
|
4073
|
+
return Re(e).map((t) => {
|
|
4074
|
+
const r = $r(t);
|
|
4092
4075
|
return [t, r ? [...r] : []];
|
|
4093
4076
|
}).filter(([, t]) => t.length > 0);
|
|
4094
4077
|
}
|
|
4095
4078
|
function ct(e) {
|
|
4096
|
-
return e == null ? !1 :
|
|
4079
|
+
return e == null ? !1 : Re(e).some(
|
|
4097
4080
|
(t) => {
|
|
4098
4081
|
var r;
|
|
4099
|
-
return (r =
|
|
4082
|
+
return (r = $r(t)) == null ? void 0 : r.size;
|
|
4100
4083
|
}
|
|
4101
4084
|
);
|
|
4102
4085
|
}
|
|
4103
|
-
function
|
|
4086
|
+
function lo(e, t) {
|
|
4104
4087
|
return Promise.all(
|
|
4105
|
-
t.map((n) => (
|
|
4106
|
-
).then((n) =>
|
|
4088
|
+
t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
|
|
4089
|
+
).then((n) => Gr(e, ...n));
|
|
4107
4090
|
}
|
|
4108
|
-
const
|
|
4109
|
-
function
|
|
4091
|
+
const de = {};
|
|
4092
|
+
function kr(e) {
|
|
4110
4093
|
if (!ct(e))
|
|
4111
|
-
return e in
|
|
4112
|
-
const t =
|
|
4113
|
-
return
|
|
4094
|
+
return e in de ? de[e] : Promise.resolve();
|
|
4095
|
+
const t = so(e);
|
|
4096
|
+
return de[e] = Promise.all(
|
|
4114
4097
|
t.map(
|
|
4115
|
-
([r, n]) =>
|
|
4098
|
+
([r, n]) => lo(r, n)
|
|
4116
4099
|
)
|
|
4117
4100
|
).then(() => {
|
|
4118
4101
|
if (ct(e))
|
|
4119
|
-
return
|
|
4120
|
-
delete
|
|
4121
|
-
}),
|
|
4102
|
+
return kr(e);
|
|
4103
|
+
delete de[e];
|
|
4104
|
+
}), de[e];
|
|
4122
4105
|
}
|
|
4123
|
-
const
|
|
4106
|
+
const uo = {
|
|
4124
4107
|
number: {
|
|
4125
4108
|
scientific: { notation: "scientific" },
|
|
4126
4109
|
engineering: { notation: "engineering" },
|
|
@@ -4149,150 +4132,150 @@ const co = {
|
|
|
4149
4132
|
timeZoneName: "short"
|
|
4150
4133
|
}
|
|
4151
4134
|
}
|
|
4152
|
-
},
|
|
4135
|
+
}, ho = {
|
|
4153
4136
|
fallbackLocale: null,
|
|
4154
4137
|
loadingDelay: 200,
|
|
4155
|
-
formats:
|
|
4138
|
+
formats: uo,
|
|
4156
4139
|
warnOnMissingMessages: !0,
|
|
4157
4140
|
handleMissingMessage: void 0,
|
|
4158
4141
|
ignoreTag: !0
|
|
4159
|
-
},
|
|
4160
|
-
function
|
|
4161
|
-
return
|
|
4142
|
+
}, co = ho;
|
|
4143
|
+
function se() {
|
|
4144
|
+
return co;
|
|
4162
4145
|
}
|
|
4163
|
-
const Ye =
|
|
4164
|
-
var
|
|
4146
|
+
const Ye = Ce(!1);
|
|
4147
|
+
var fo = Object.defineProperty, mo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4165
4148
|
for (var r in t || (t = {}))
|
|
4166
|
-
|
|
4167
|
-
if (
|
|
4168
|
-
for (var r of
|
|
4169
|
-
|
|
4149
|
+
go.call(t, r) && Vt(e, r, t[r]);
|
|
4150
|
+
if (Wt)
|
|
4151
|
+
for (var r of Wt(t))
|
|
4152
|
+
vo.call(t, r) && Vt(e, r, t[r]);
|
|
4170
4153
|
return e;
|
|
4171
|
-
},
|
|
4154
|
+
}, yo = (e, t) => mo(e, po(t));
|
|
4172
4155
|
let ft;
|
|
4173
|
-
const He =
|
|
4174
|
-
function
|
|
4156
|
+
const He = Ce(null);
|
|
4157
|
+
function Xt(e) {
|
|
4175
4158
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4176
4159
|
}
|
|
4177
|
-
function
|
|
4178
|
-
const r =
|
|
4179
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4160
|
+
function Re(e, t = se().fallbackLocale) {
|
|
4161
|
+
const r = Xt(e);
|
|
4162
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
|
|
4180
4163
|
}
|
|
4181
|
-
function
|
|
4164
|
+
function Y() {
|
|
4182
4165
|
return ft != null ? ft : void 0;
|
|
4183
4166
|
}
|
|
4184
4167
|
He.subscribe((e) => {
|
|
4185
4168
|
ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4186
4169
|
});
|
|
4187
|
-
const
|
|
4188
|
-
if (e &&
|
|
4189
|
-
const { loadingDelay: t } =
|
|
4170
|
+
const _o = (e) => {
|
|
4171
|
+
if (e && oo(e) && ct(e)) {
|
|
4172
|
+
const { loadingDelay: t } = se();
|
|
4190
4173
|
let r;
|
|
4191
|
-
return typeof window != "undefined" &&
|
|
4174
|
+
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
|
4192
4175
|
() => Ye.set(!0),
|
|
4193
4176
|
t
|
|
4194
|
-
) : Ye.set(!0),
|
|
4177
|
+
) : Ye.set(!0), kr(e).then(() => {
|
|
4195
4178
|
He.set(e);
|
|
4196
4179
|
}).finally(() => {
|
|
4197
4180
|
clearTimeout(r), Ye.set(!1);
|
|
4198
4181
|
});
|
|
4199
4182
|
}
|
|
4200
4183
|
return He.set(e);
|
|
4201
|
-
},
|
|
4202
|
-
set:
|
|
4203
|
-
}),
|
|
4184
|
+
}, he = yo(bo({}, He), {
|
|
4185
|
+
set: _o
|
|
4186
|
+
}), Ue = (e) => {
|
|
4204
4187
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4205
4188
|
return (n) => {
|
|
4206
4189
|
const i = JSON.stringify(n);
|
|
4207
4190
|
return i in t ? t[i] : t[i] = e(n);
|
|
4208
4191
|
};
|
|
4209
4192
|
};
|
|
4210
|
-
var
|
|
4193
|
+
var xo = Object.defineProperty, Me = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
|
4211
4194
|
for (var r in t || (t = {}))
|
|
4212
|
-
|
|
4213
|
-
if (
|
|
4214
|
-
for (var r of
|
|
4215
|
-
|
|
4195
|
+
jr.call(t, r) && zt(e, r, t[r]);
|
|
4196
|
+
if (Me)
|
|
4197
|
+
for (var r of Me(t))
|
|
4198
|
+
Wr.call(t, r) && zt(e, r, t[r]);
|
|
4216
4199
|
return e;
|
|
4217
|
-
},
|
|
4200
|
+
}, ce = (e, t) => {
|
|
4218
4201
|
var r = {};
|
|
4219
4202
|
for (var n in e)
|
|
4220
|
-
|
|
4221
|
-
if (e != null &&
|
|
4222
|
-
for (var n of
|
|
4223
|
-
t.indexOf(n) < 0 &&
|
|
4203
|
+
jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4204
|
+
if (e != null && Me)
|
|
4205
|
+
for (var n of Me(e))
|
|
4206
|
+
t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
|
|
4224
4207
|
return r;
|
|
4225
4208
|
};
|
|
4226
|
-
const
|
|
4227
|
-
const { formats: r } =
|
|
4209
|
+
const be = (e, t) => {
|
|
4210
|
+
const { formats: r } = se();
|
|
4228
4211
|
if (e in r && t in r[e])
|
|
4229
4212
|
return r[e][t];
|
|
4230
4213
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4231
|
-
},
|
|
4214
|
+
}, wo = Ue(
|
|
4232
4215
|
(e) => {
|
|
4233
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4216
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4234
4217
|
if (r == null)
|
|
4235
4218
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4236
|
-
return n && (i =
|
|
4219
|
+
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
|
4237
4220
|
}
|
|
4238
|
-
),
|
|
4221
|
+
), Eo = Ue(
|
|
4239
4222
|
(e) => {
|
|
4240
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4223
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4241
4224
|
if (r == null)
|
|
4242
4225
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4243
|
-
return n ? i =
|
|
4226
|
+
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4244
4227
|
}
|
|
4245
|
-
),
|
|
4228
|
+
), No = Ue(
|
|
4246
4229
|
(e) => {
|
|
4247
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4230
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4248
4231
|
if (r == null)
|
|
4249
4232
|
throw new Error(
|
|
4250
4233
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4251
4234
|
);
|
|
4252
|
-
return n ? i =
|
|
4235
|
+
return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4253
4236
|
}
|
|
4254
|
-
),
|
|
4237
|
+
), So = (e = {}) => {
|
|
4255
4238
|
var t = e, {
|
|
4256
|
-
locale: r =
|
|
4257
|
-
} = t, n =
|
|
4239
|
+
locale: r = Y()
|
|
4240
|
+
} = t, n = ce(t, [
|
|
4258
4241
|
"locale"
|
|
4259
4242
|
]);
|
|
4260
|
-
return
|
|
4261
|
-
},
|
|
4243
|
+
return wo(gt({ locale: r }, n));
|
|
4244
|
+
}, Io = (e = {}) => {
|
|
4262
4245
|
var t = e, {
|
|
4263
|
-
locale: r =
|
|
4264
|
-
} = t, n =
|
|
4246
|
+
locale: r = Y()
|
|
4247
|
+
} = t, n = ce(t, [
|
|
4265
4248
|
"locale"
|
|
4266
4249
|
]);
|
|
4267
|
-
return
|
|
4268
|
-
},
|
|
4250
|
+
return Eo(gt({ locale: r }, n));
|
|
4251
|
+
}, Bo = (e = {}) => {
|
|
4269
4252
|
var t = e, {
|
|
4270
|
-
locale: r =
|
|
4271
|
-
} = t, n =
|
|
4253
|
+
locale: r = Y()
|
|
4254
|
+
} = t, n = ce(t, [
|
|
4272
4255
|
"locale"
|
|
4273
4256
|
]);
|
|
4274
|
-
return
|
|
4275
|
-
},
|
|
4257
|
+
return No(gt({ locale: r }, n));
|
|
4258
|
+
}, Ao = Ue(
|
|
4276
4259
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4277
|
-
(e, t =
|
|
4278
|
-
ignoreTag:
|
|
4260
|
+
(e, t = Y()) => new eo(e, t, se().formats, {
|
|
4261
|
+
ignoreTag: se().ignoreTag
|
|
4279
4262
|
})
|
|
4280
|
-
),
|
|
4263
|
+
), To = (e, t = {}) => {
|
|
4281
4264
|
var r, n, i, o;
|
|
4282
4265
|
let a = t;
|
|
4283
4266
|
typeof e == "object" && (a = e, e = a.id);
|
|
4284
4267
|
const {
|
|
4285
4268
|
values: s,
|
|
4286
|
-
locale: l =
|
|
4269
|
+
locale: l = Y(),
|
|
4287
4270
|
default: u
|
|
4288
4271
|
} = a;
|
|
4289
4272
|
if (l == null)
|
|
4290
4273
|
throw new Error(
|
|
4291
4274
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4292
4275
|
);
|
|
4293
|
-
let h =
|
|
4276
|
+
let h = Ur(e, l);
|
|
4294
4277
|
if (!h)
|
|
4295
|
-
h = (o = (i = (n = (r =
|
|
4278
|
+
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4296
4279
|
else if (typeof h != "string")
|
|
4297
4280
|
return console.warn(
|
|
4298
4281
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4301,7 +4284,7 @@ const ve = (e, t) => {
|
|
|
4301
4284
|
return h;
|
|
4302
4285
|
let d = h;
|
|
4303
4286
|
try {
|
|
4304
|
-
d =
|
|
4287
|
+
d = Ao(h, l).format(s);
|
|
4305
4288
|
} catch (f) {
|
|
4306
4289
|
f instanceof Error && console.warn(
|
|
4307
4290
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4309,20 +4292,20 @@ const ve = (e, t) => {
|
|
|
4309
4292
|
);
|
|
4310
4293
|
}
|
|
4311
4294
|
return d;
|
|
4312
|
-
},
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
window.emWidgets = { topic:
|
|
4318
|
-
const
|
|
4319
|
-
function
|
|
4320
|
-
|
|
4321
|
-
}
|
|
4322
|
-
function
|
|
4323
|
-
|
|
4324
|
-
}
|
|
4325
|
-
const
|
|
4295
|
+
}, Po = (e, t) => Bo(t).format(e), Ho = (e, t) => Io(t).format(e), Mo = (e, t) => So(t).format(e), Oo = (e, t = Y()) => Ur(e, t), Lo = ue([he, _e], () => To);
|
|
4296
|
+
ue([he], () => Po);
|
|
4297
|
+
ue([he], () => Ho);
|
|
4298
|
+
ue([he], () => Mo);
|
|
4299
|
+
ue([he, _e], () => Oo);
|
|
4300
|
+
window.emWidgets = { topic: Xn };
|
|
4301
|
+
const Zt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4302
|
+
function Qt(e, t) {
|
|
4303
|
+
Gr(e, t);
|
|
4304
|
+
}
|
|
4305
|
+
function Co(e) {
|
|
4306
|
+
he.set(e);
|
|
4307
|
+
}
|
|
4308
|
+
const Yt = {
|
|
4326
4309
|
en: {
|
|
4327
4310
|
secondaryMenuTitle: "Categories"
|
|
4328
4311
|
},
|
|
@@ -4357,13 +4340,13 @@ const qt = {
|
|
|
4357
4340
|
secondaryMenuTitle: "Categories"
|
|
4358
4341
|
}
|
|
4359
4342
|
};
|
|
4360
|
-
function
|
|
4343
|
+
function Fo(e, t) {
|
|
4361
4344
|
if (e) {
|
|
4362
4345
|
const r = document.createElement("style");
|
|
4363
4346
|
r.innerHTML = t, e.appendChild(r);
|
|
4364
4347
|
}
|
|
4365
4348
|
}
|
|
4366
|
-
function
|
|
4349
|
+
function Ro(e, t) {
|
|
4367
4350
|
const r = new URL(t);
|
|
4368
4351
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4369
4352
|
const i = document.createElement("style");
|
|
@@ -4372,7 +4355,7 @@ function Do(e, t) {
|
|
|
4372
4355
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4373
4356
|
});
|
|
4374
4357
|
}
|
|
4375
|
-
function
|
|
4358
|
+
function Uo(e, t, r) {
|
|
4376
4359
|
if (window.emMessageBus) {
|
|
4377
4360
|
const n = document.createElement("style");
|
|
4378
4361
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4380,67 +4363,67 @@ function Go(e, t, r) {
|
|
|
4380
4363
|
});
|
|
4381
4364
|
}
|
|
4382
4365
|
}
|
|
4383
|
-
function
|
|
4384
|
-
|
|
4366
|
+
function Do(e) {
|
|
4367
|
+
dn(e, "svelte-gg2uu2", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #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}');
|
|
4385
4368
|
}
|
|
4386
|
-
function
|
|
4369
|
+
function Jt(e, t, r) {
|
|
4387
4370
|
const n = e.slice();
|
|
4388
4371
|
return n[44] = t[r], n[46] = r, n;
|
|
4389
4372
|
}
|
|
4390
|
-
function
|
|
4373
|
+
function qt(e, t, r) {
|
|
4391
4374
|
const n = e.slice();
|
|
4392
4375
|
return n[44] = t[r], n;
|
|
4393
4376
|
}
|
|
4394
|
-
const
|
|
4395
|
-
function
|
|
4377
|
+
const Go = (e) => ({}), Kt = (e) => ({});
|
|
4378
|
+
function er(e) {
|
|
4396
4379
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4397
|
-
e[6] &&
|
|
4380
|
+
e[6] && tr(e), u = Pe(
|
|
4398
4381
|
/*primaryMenuSpliced*/
|
|
4399
4382
|
e[7]
|
|
4400
4383
|
), h = [];
|
|
4401
4384
|
for (let f = 0; f < u.length; f += 1)
|
|
4402
|
-
h[f] =
|
|
4385
|
+
h[f] = or(Jt(e, u, f));
|
|
4403
4386
|
let d = !/*navigationBarSimple*/
|
|
4404
|
-
e[6] &&
|
|
4387
|
+
e[6] && ar(e);
|
|
4405
4388
|
return {
|
|
4406
4389
|
c() {
|
|
4407
|
-
t = B("div"), l && l.c(), r =
|
|
4390
|
+
t = B("div"), l && l.c(), r = j(), n = B("div");
|
|
4408
4391
|
for (let f = 0; f < h.length; f += 1)
|
|
4409
4392
|
h[f].c();
|
|
4410
|
-
i =
|
|
4393
|
+
i = j(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4411
4394
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4412
4395
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4413
4396
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4414
4397
|
(e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
|
|
4415
4398
|
},
|
|
4416
4399
|
m(f, p) {
|
|
4417
|
-
|
|
4400
|
+
F(f, t, p), l && l.m(t, null), y(t, r), y(t, n);
|
|
4418
4401
|
for (let g = 0; g < h.length; g += 1)
|
|
4419
4402
|
h[g] && h[g].m(n, null);
|
|
4420
4403
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4421
4404
|
},
|
|
4422
4405
|
p(f, p) {
|
|
4423
4406
|
if (/*navigationBarSimple*/
|
|
4424
|
-
f[6] ? l && (
|
|
4407
|
+
f[6] ? l && (fr(), ge(l, 1, 1, () => {
|
|
4425
4408
|
l = null;
|
|
4426
|
-
}),
|
|
4427
|
-
64 &&
|
|
4409
|
+
}), dr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4410
|
+
64 && z(l, 1)) : (l = tr(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4428
4411
|
32928) {
|
|
4429
|
-
u =
|
|
4412
|
+
u = Pe(
|
|
4430
4413
|
/*primaryMenuSpliced*/
|
|
4431
4414
|
f[7]
|
|
4432
4415
|
);
|
|
4433
4416
|
let g;
|
|
4434
4417
|
for (g = 0; g < u.length; g += 1) {
|
|
4435
|
-
const v =
|
|
4436
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4418
|
+
const v = Jt(f, u, g);
|
|
4419
|
+
h[g] ? h[g].p(v, p) : (h[g] = or(v), h[g].c(), h[g].m(n, i));
|
|
4437
4420
|
}
|
|
4438
4421
|
for (; g < h.length; g += 1)
|
|
4439
4422
|
h[g].d(1);
|
|
4440
4423
|
h.length = u.length;
|
|
4441
4424
|
}
|
|
4442
4425
|
/*navigationBarSimple*/
|
|
4443
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4426
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = ar(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4444
4427
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4445
4428
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4446
4429
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4449,17 +4432,17 @@ function rr(e) {
|
|
|
4449
4432
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
4450
4433
|
},
|
|
4451
4434
|
i(f) {
|
|
4452
|
-
s || (
|
|
4435
|
+
s || (z(l), s = !0);
|
|
4453
4436
|
},
|
|
4454
4437
|
o(f) {
|
|
4455
|
-
|
|
4438
|
+
ge(l), s = !1;
|
|
4456
4439
|
},
|
|
4457
4440
|
d(f) {
|
|
4458
|
-
f &&
|
|
4441
|
+
f && C(t), l && l.d(), cr(h, f), d && d.d();
|
|
4459
4442
|
}
|
|
4460
4443
|
};
|
|
4461
4444
|
}
|
|
4462
|
-
function
|
|
4445
|
+
function tr(e) {
|
|
4463
4446
|
let t, r, n, i, o = (
|
|
4464
4447
|
/*secondarymenutitle*/
|
|
4465
4448
|
(e[0] || /*$_*/
|
|
@@ -4468,32 +4451,32 @@ function nr(e) {
|
|
|
4468
4451
|
const p = (
|
|
4469
4452
|
/*#slots*/
|
|
4470
4453
|
e[27].close
|
|
4471
|
-
), g =
|
|
4454
|
+
), g = un(
|
|
4472
4455
|
p,
|
|
4473
4456
|
e,
|
|
4474
4457
|
/*$$scope*/
|
|
4475
4458
|
e[26],
|
|
4476
|
-
|
|
4477
|
-
), v = g ||
|
|
4478
|
-
let A =
|
|
4459
|
+
Kt
|
|
4460
|
+
), v = g || $o();
|
|
4461
|
+
let A = Pe(
|
|
4479
4462
|
/*secondaryMenu*/
|
|
4480
4463
|
e[8]
|
|
4481
4464
|
), S = [];
|
|
4482
4465
|
for (let b = 0; b < A.length; b += 1)
|
|
4483
|
-
S[b] =
|
|
4466
|
+
S[b] = nr(qt(e, A, b));
|
|
4484
4467
|
return {
|
|
4485
4468
|
c() {
|
|
4486
|
-
t = B("div"), r = B("span"), v && v.c(), n =
|
|
4469
|
+
t = B("div"), r = B("span"), v && v.c(), n = j(), i = B("h3"), a = ye(o), s = j(), l = B("div");
|
|
4487
4470
|
for (let b = 0; b < S.length; b += 1)
|
|
4488
4471
|
S[b].c();
|
|
4489
4472
|
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4490
4473
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4491
4474
|
},
|
|
4492
4475
|
m(b, N) {
|
|
4493
|
-
|
|
4476
|
+
F(b, t, N), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4494
4477
|
for (let E = 0; E < S.length; E += 1)
|
|
4495
4478
|
S[E] && S[E].m(l, null);
|
|
4496
|
-
h = !0, d || (f =
|
|
4479
|
+
h = !0, d || (f = Oe(
|
|
4497
4480
|
r,
|
|
4498
4481
|
"click",
|
|
4499
4482
|
/*navigationWindowToggle*/
|
|
@@ -4502,36 +4485,36 @@ function nr(e) {
|
|
|
4502
4485
|
},
|
|
4503
4486
|
p(b, N) {
|
|
4504
4487
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4505
|
-
67108864) &&
|
|
4488
|
+
67108864) && cn(
|
|
4506
4489
|
g,
|
|
4507
4490
|
p,
|
|
4508
4491
|
b,
|
|
4509
4492
|
/*$$scope*/
|
|
4510
4493
|
b[26],
|
|
4511
|
-
h ?
|
|
4494
|
+
h ? hn(
|
|
4512
4495
|
p,
|
|
4513
4496
|
/*$$scope*/
|
|
4514
4497
|
b[26],
|
|
4515
4498
|
N,
|
|
4516
|
-
|
|
4517
|
-
) :
|
|
4499
|
+
Go
|
|
4500
|
+
) : fn(
|
|
4518
4501
|
/*$$scope*/
|
|
4519
4502
|
b[26]
|
|
4520
4503
|
),
|
|
4521
|
-
|
|
4504
|
+
Kt
|
|
4522
4505
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4523
4506
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4524
4507
|
(b[0] || /*$_*/
|
|
4525
4508
|
b[12]("secondaryMenuTitle")) + "") && mt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4526
4509
|
33056) {
|
|
4527
|
-
A =
|
|
4510
|
+
A = Pe(
|
|
4528
4511
|
/*secondaryMenu*/
|
|
4529
4512
|
b[8]
|
|
4530
4513
|
);
|
|
4531
4514
|
let E;
|
|
4532
4515
|
for (E = 0; E < A.length; E += 1) {
|
|
4533
|
-
const
|
|
4534
|
-
S[E] ? S[E].p(
|
|
4516
|
+
const P = qt(b, A, E);
|
|
4517
|
+
S[E] ? S[E].p(P, N) : (S[E] = nr(P), S[E].c(), S[E].m(l, null));
|
|
4535
4518
|
}
|
|
4536
4519
|
for (; E < S.length; E += 1)
|
|
4537
4520
|
S[E].d(1);
|
|
@@ -4542,61 +4525,61 @@ function nr(e) {
|
|
|
4542
4525
|
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4543
4526
|
},
|
|
4544
4527
|
i(b) {
|
|
4545
|
-
h || (
|
|
4528
|
+
h || (z(v, b), h = !0);
|
|
4546
4529
|
},
|
|
4547
4530
|
o(b) {
|
|
4548
|
-
|
|
4531
|
+
ge(v, b), h = !1;
|
|
4549
4532
|
},
|
|
4550
4533
|
d(b) {
|
|
4551
|
-
b &&
|
|
4534
|
+
b && C(t), v && v.d(b), cr(S, b), d = !1, f();
|
|
4552
4535
|
}
|
|
4553
4536
|
};
|
|
4554
4537
|
}
|
|
4555
|
-
function
|
|
4538
|
+
function $o(e) {
|
|
4556
4539
|
let t, r;
|
|
4557
4540
|
return {
|
|
4558
4541
|
c() {
|
|
4559
4542
|
t = M("svg"), r = M("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");
|
|
4560
4543
|
},
|
|
4561
4544
|
m(n, i) {
|
|
4562
|
-
|
|
4545
|
+
F(n, t, i), y(t, r);
|
|
4563
4546
|
},
|
|
4564
|
-
p:
|
|
4547
|
+
p: G,
|
|
4565
4548
|
d(n) {
|
|
4566
|
-
n &&
|
|
4549
|
+
n && C(t);
|
|
4567
4550
|
}
|
|
4568
4551
|
};
|
|
4569
4552
|
}
|
|
4570
|
-
function
|
|
4553
|
+
function rr(e) {
|
|
4571
4554
|
let t, r, n, i;
|
|
4572
4555
|
return {
|
|
4573
4556
|
c() {
|
|
4574
|
-
t = B("div"), r = B("
|
|
4575
|
-
e[44].img) ||
|
|
4557
|
+
t = B("div"), r = B("ui-image"), O(r, "imgClass", "NavigationSecondaryItemImg"), O(r, "part", "NavigationSecondaryItemImg"), ne(r.src, n = /*item*/
|
|
4558
|
+
e[44].img) || O(r, "src", n), O(r, "alt", i = /*item*/
|
|
4576
4559
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4577
4560
|
},
|
|
4578
4561
|
m(o, a) {
|
|
4579
|
-
|
|
4562
|
+
F(o, t, a), y(t, r);
|
|
4580
4563
|
},
|
|
4581
4564
|
p(o, a) {
|
|
4582
4565
|
a[0] & /*secondaryMenu*/
|
|
4583
|
-
256 && !
|
|
4584
|
-
o[44].img) &&
|
|
4566
|
+
256 && !ne(r.src, n = /*item*/
|
|
4567
|
+
o[44].img) && O(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4585
4568
|
256 && i !== (i = /*item*/
|
|
4586
|
-
o[44].label) &&
|
|
4569
|
+
o[44].label) && O(r, "alt", i);
|
|
4587
4570
|
},
|
|
4588
4571
|
d(o) {
|
|
4589
|
-
o &&
|
|
4572
|
+
o && C(t);
|
|
4590
4573
|
}
|
|
4591
4574
|
};
|
|
4592
4575
|
}
|
|
4593
|
-
function
|
|
4576
|
+
function nr(e) {
|
|
4594
4577
|
let t, r, n, i = (
|
|
4595
4578
|
/*item*/
|
|
4596
4579
|
e[44].label + ""
|
|
4597
4580
|
), o, a, s, l, u, h = (
|
|
4598
4581
|
/*item*/
|
|
4599
|
-
e[44].img &&
|
|
4582
|
+
e[44].img && rr(e)
|
|
4600
4583
|
);
|
|
4601
4584
|
function d() {
|
|
4602
4585
|
return (
|
|
@@ -4609,16 +4592,16 @@ function or(e) {
|
|
|
4609
4592
|
}
|
|
4610
4593
|
return {
|
|
4611
4594
|
c() {
|
|
4612
|
-
t = B("div"), h && h.c(), r =
|
|
4595
|
+
t = B("div"), h && h.c(), r = j(), n = B("p"), o = ye(i), a = j(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4613
4596
|
(e[5] === /*item*/
|
|
4614
4597
|
e[44].id ? "ActiveItem" : ""));
|
|
4615
4598
|
},
|
|
4616
4599
|
m(f, p) {
|
|
4617
|
-
|
|
4600
|
+
F(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Oe(t, "click", d), l = !0);
|
|
4618
4601
|
},
|
|
4619
4602
|
p(f, p) {
|
|
4620
4603
|
e = f, /*item*/
|
|
4621
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4604
|
+
e[44].img ? h ? h.p(e, p) : (h = rr(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4622
4605
|
256 && i !== (i = /*item*/
|
|
4623
4606
|
e[44].label + "") && mt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4624
4607
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
@@ -4626,40 +4609,40 @@ function or(e) {
|
|
|
4626
4609
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
4627
4610
|
},
|
|
4628
4611
|
d(f) {
|
|
4629
|
-
f &&
|
|
4612
|
+
f && C(t), h && h.d(), l = !1, u();
|
|
4630
4613
|
}
|
|
4631
4614
|
};
|
|
4632
4615
|
}
|
|
4633
|
-
function
|
|
4616
|
+
function ir(e) {
|
|
4634
4617
|
let t, r, n, i;
|
|
4635
4618
|
return {
|
|
4636
4619
|
c() {
|
|
4637
|
-
t = B("div"), r = B("
|
|
4638
|
-
e[44].img) ||
|
|
4620
|
+
t = B("div"), r = B("ui-image"), O(r, "imgClass", "NavigationPrimaryItemImg"), ne(r.src, n = /*item*/
|
|
4621
|
+
e[44].img) || O(r, "src", n), O(r, "alt", i = /*item*/
|
|
4639
4622
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4640
4623
|
},
|
|
4641
4624
|
m(o, a) {
|
|
4642
|
-
|
|
4625
|
+
F(o, t, a), y(t, r);
|
|
4643
4626
|
},
|
|
4644
4627
|
p(o, a) {
|
|
4645
4628
|
a[0] & /*primaryMenuSpliced*/
|
|
4646
|
-
128 && !
|
|
4647
|
-
o[44].img) &&
|
|
4629
|
+
128 && !ne(r.src, n = /*item*/
|
|
4630
|
+
o[44].img) && O(r, "src", n), a[0] & /*primaryMenuSpliced*/
|
|
4648
4631
|
128 && i !== (i = /*item*/
|
|
4649
|
-
o[44].label) &&
|
|
4632
|
+
o[44].label) && O(r, "alt", i);
|
|
4650
4633
|
},
|
|
4651
4634
|
d(o) {
|
|
4652
|
-
o &&
|
|
4635
|
+
o && C(t);
|
|
4653
4636
|
}
|
|
4654
4637
|
};
|
|
4655
4638
|
}
|
|
4656
|
-
function
|
|
4639
|
+
function or(e) {
|
|
4657
4640
|
let t, r, n, i = (
|
|
4658
4641
|
/*item*/
|
|
4659
4642
|
e[44].label + ""
|
|
4660
4643
|
), o, a, s, l, u = (
|
|
4661
4644
|
/*item*/
|
|
4662
|
-
e[44].img &&
|
|
4645
|
+
e[44].img && ir(e)
|
|
4663
4646
|
);
|
|
4664
4647
|
function h() {
|
|
4665
4648
|
return (
|
|
@@ -4672,17 +4655,17 @@ function sr(e) {
|
|
|
4672
4655
|
}
|
|
4673
4656
|
return {
|
|
4674
4657
|
c() {
|
|
4675
|
-
t = B("div"), u && u.c(), r =
|
|
4658
|
+
t = B("div"), u && u.c(), r = j(), n = B("p"), o = ye(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4676
4659
|
e[46] + " " + /*activeMenuItemId*/
|
|
4677
4660
|
(e[5] === /*item*/
|
|
4678
4661
|
e[44].id ? "ActiveItem" : ""));
|
|
4679
4662
|
},
|
|
4680
4663
|
m(d, f) {
|
|
4681
|
-
|
|
4664
|
+
F(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Oe(t, "click", h), s = !0);
|
|
4682
4665
|
},
|
|
4683
4666
|
p(d, f) {
|
|
4684
4667
|
e = d, /*item*/
|
|
4685
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4668
|
+
e[44].img ? u ? u.p(e, f) : (u = ir(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4686
4669
|
128 && i !== (i = /*item*/
|
|
4687
4670
|
e[44].label + "") && mt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4688
4671
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
@@ -4691,16 +4674,16 @@ function sr(e) {
|
|
|
4691
4674
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", a);
|
|
4692
4675
|
},
|
|
4693
4676
|
d(d) {
|
|
4694
|
-
d &&
|
|
4677
|
+
d && C(t), u && u.d(), s = !1, l();
|
|
4695
4678
|
}
|
|
4696
4679
|
};
|
|
4697
4680
|
}
|
|
4698
|
-
function
|
|
4681
|
+
function ar(e) {
|
|
4699
4682
|
let t, r, n, i, o;
|
|
4700
4683
|
function a(u, h) {
|
|
4701
4684
|
return (
|
|
4702
4685
|
/*isFlowerMenu*/
|
|
4703
|
-
u[11] ?
|
|
4686
|
+
u[11] ? ko : jo
|
|
4704
4687
|
);
|
|
4705
4688
|
}
|
|
4706
4689
|
let s = a(e), l = s(e);
|
|
@@ -4710,7 +4693,7 @@ function lr(e) {
|
|
|
4710
4693
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4711
4694
|
},
|
|
4712
4695
|
m(u, h) {
|
|
4713
|
-
|
|
4696
|
+
F(u, t, h), y(t, r), l.m(r, null), i || (o = Oe(
|
|
4714
4697
|
t,
|
|
4715
4698
|
"click",
|
|
4716
4699
|
/*navigationWindowToggle*/
|
|
@@ -4723,19 +4706,19 @@ function lr(e) {
|
|
|
4723
4706
|
(u[4] ? "NavigationButtonActive" : "")) && c(t, "class", n);
|
|
4724
4707
|
},
|
|
4725
4708
|
d(u) {
|
|
4726
|
-
u &&
|
|
4709
|
+
u && C(t), l.d(), i = !1, o();
|
|
4727
4710
|
}
|
|
4728
4711
|
};
|
|
4729
4712
|
}
|
|
4730
|
-
function
|
|
4713
|
+
function ko(e) {
|
|
4731
4714
|
let t, r, n, i, o, a, s;
|
|
4732
4715
|
return {
|
|
4733
4716
|
c() {
|
|
4734
|
-
t = B("div"), r = B("span"), n =
|
|
4717
|
+
t = B("div"), r = B("span"), n = j(), i = B("span"), o = j(), a = B("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4735
4718
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4736
4719
|
},
|
|
4737
4720
|
m(l, u) {
|
|
4738
|
-
|
|
4721
|
+
F(l, t, u), y(t, r), y(t, n), y(t, i), y(t, o), y(t, a);
|
|
4739
4722
|
},
|
|
4740
4723
|
p(l, u) {
|
|
4741
4724
|
u[0] & /*navigationWindowOpened*/
|
|
@@ -4743,55 +4726,55 @@ function Wo(e) {
|
|
|
4743
4726
|
(l[4] ? "labelMiddleIconActive" : "")) && c(t, "class", s);
|
|
4744
4727
|
},
|
|
4745
4728
|
d(l) {
|
|
4746
|
-
l &&
|
|
4729
|
+
l && C(t);
|
|
4747
4730
|
}
|
|
4748
4731
|
};
|
|
4749
4732
|
}
|
|
4750
|
-
function
|
|
4733
|
+
function jo(e) {
|
|
4751
4734
|
let t;
|
|
4752
4735
|
function r(o, a) {
|
|
4753
4736
|
return (
|
|
4754
4737
|
/*imageIconUrl*/
|
|
4755
|
-
o[9] ?
|
|
4738
|
+
o[9] ? Vo : Wo
|
|
4756
4739
|
);
|
|
4757
4740
|
}
|
|
4758
4741
|
let n = r(e), i = n(e);
|
|
4759
4742
|
return {
|
|
4760
4743
|
c() {
|
|
4761
|
-
i.c(), t =
|
|
4744
|
+
i.c(), t = gn();
|
|
4762
4745
|
},
|
|
4763
4746
|
m(o, a) {
|
|
4764
|
-
i.m(o, a),
|
|
4747
|
+
i.m(o, a), F(o, t, a);
|
|
4765
4748
|
},
|
|
4766
4749
|
p(o, a) {
|
|
4767
4750
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
|
|
4768
4751
|
},
|
|
4769
4752
|
d(o) {
|
|
4770
|
-
o &&
|
|
4753
|
+
o && C(t), i.d(o);
|
|
4771
4754
|
}
|
|
4772
4755
|
};
|
|
4773
4756
|
}
|
|
4774
|
-
function
|
|
4757
|
+
function Wo(e) {
|
|
4775
4758
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4776
4759
|
return {
|
|
4777
4760
|
c() {
|
|
4778
4761
|
t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), p = M("rect"), g = M("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4779
4762
|
},
|
|
4780
4763
|
m(v, A) {
|
|
4781
|
-
|
|
4764
|
+
F(v, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
4782
4765
|
},
|
|
4783
|
-
p:
|
|
4766
|
+
p: G,
|
|
4784
4767
|
d(v) {
|
|
4785
|
-
v &&
|
|
4768
|
+
v && C(t);
|
|
4786
4769
|
}
|
|
4787
4770
|
};
|
|
4788
4771
|
}
|
|
4789
|
-
function
|
|
4772
|
+
function Vo(e) {
|
|
4790
4773
|
let t, r;
|
|
4791
4774
|
return {
|
|
4792
4775
|
c() {
|
|
4793
|
-
t = B("
|
|
4794
|
-
e[9]) ||
|
|
4776
|
+
t = B("ui-image"), ne(t.src, r = /*imageIconUrl*/
|
|
4777
|
+
e[9]) || O(t, "src", r), O(t, "imgClass", "middleIcon"), O(
|
|
4795
4778
|
t,
|
|
4796
4779
|
"alt",
|
|
4797
4780
|
/*imageIconUrl*/
|
|
@@ -4799,13 +4782,13 @@ function zo(e) {
|
|
|
4799
4782
|
);
|
|
4800
4783
|
},
|
|
4801
4784
|
m(n, i) {
|
|
4802
|
-
|
|
4785
|
+
F(n, t, i);
|
|
4803
4786
|
},
|
|
4804
4787
|
p(n, i) {
|
|
4805
4788
|
i[0] & /*imageIconUrl*/
|
|
4806
|
-
512 && !
|
|
4807
|
-
n[9]) &&
|
|
4808
|
-
512 &&
|
|
4789
|
+
512 && !ne(t.src, r = /*imageIconUrl*/
|
|
4790
|
+
n[9]) && O(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4791
|
+
512 && O(
|
|
4809
4792
|
t,
|
|
4810
4793
|
"alt",
|
|
4811
4794
|
/*imageIconUrl*/
|
|
@@ -4813,15 +4796,15 @@ function zo(e) {
|
|
|
4813
4796
|
);
|
|
4814
4797
|
},
|
|
4815
4798
|
d(n) {
|
|
4816
|
-
n &&
|
|
4799
|
+
n && C(t);
|
|
4817
4800
|
}
|
|
4818
4801
|
};
|
|
4819
4802
|
}
|
|
4820
|
-
function
|
|
4803
|
+
function Xo(e) {
|
|
4821
4804
|
let t, r, n, i = !/*isLoading*/
|
|
4822
4805
|
e[1] && /*isMobile*/
|
|
4823
4806
|
e[13] && /*showNavigation*/
|
|
4824
|
-
e[3] &&
|
|
4807
|
+
e[3] && er(e);
|
|
4825
4808
|
return {
|
|
4826
4809
|
c() {
|
|
4827
4810
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4829,90 +4812,90 @@ function Zo(e) {
|
|
|
4829
4812
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4830
4813
|
},
|
|
4831
4814
|
m(o, a) {
|
|
4832
|
-
|
|
4815
|
+
F(o, t, a), i && i.m(t, null), e[30](t), n = !0;
|
|
4833
4816
|
},
|
|
4834
4817
|
p(o, a) {
|
|
4835
4818
|
!/*isLoading*/
|
|
4836
4819
|
o[1] && /*isMobile*/
|
|
4837
4820
|
o[13] && /*showNavigation*/
|
|
4838
4821
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4839
|
-
10 &&
|
|
4822
|
+
10 && z(i, 1)) : (i = er(o), i.c(), z(i, 1), i.m(t, null)) : i && (fr(), ge(i, 1, 1, () => {
|
|
4840
4823
|
i = null;
|
|
4841
|
-
}),
|
|
4824
|
+
}), dr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4842
4825
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4843
4826
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4844
4827
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
4845
4828
|
},
|
|
4846
4829
|
i(o) {
|
|
4847
|
-
n || (
|
|
4830
|
+
n || (z(i), n = !0);
|
|
4848
4831
|
},
|
|
4849
4832
|
o(o) {
|
|
4850
|
-
|
|
4833
|
+
ge(i), n = !1;
|
|
4851
4834
|
},
|
|
4852
4835
|
d(o) {
|
|
4853
|
-
o &&
|
|
4836
|
+
o && C(t), i && i.d(), e[30](null);
|
|
4854
4837
|
}
|
|
4855
4838
|
};
|
|
4856
4839
|
}
|
|
4857
|
-
function
|
|
4840
|
+
function zo(e, t, r) {
|
|
4858
4841
|
let n;
|
|
4859
|
-
|
|
4860
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b =
|
|
4861
|
-
const
|
|
4842
|
+
ln(e, Lo, (m) => r(12, n = m));
|
|
4843
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = Zt(S) !== "PC", N = !0, E = !1, P = !1, Z = "", J = !1, De = [], xe = [], V = [], $, vt = "", Ge = {}, bt, $e = !1;
|
|
4844
|
+
const Vr = () => {
|
|
4862
4845
|
fetch(g).then((T) => T.json()).then((T) => {
|
|
4863
|
-
Object.keys(T).forEach((
|
|
4864
|
-
|
|
4846
|
+
Object.keys(T).forEach((H) => {
|
|
4847
|
+
Qt(H, T[H]);
|
|
4865
4848
|
});
|
|
4866
4849
|
}).catch((T) => {
|
|
4867
4850
|
console.log(T);
|
|
4868
4851
|
});
|
|
4869
4852
|
};
|
|
4870
|
-
Object.keys(
|
|
4871
|
-
|
|
4853
|
+
Object.keys(Yt).forEach((m) => {
|
|
4854
|
+
Qt(m, Yt[m]);
|
|
4872
4855
|
});
|
|
4873
|
-
const
|
|
4856
|
+
const yt = (m) => {
|
|
4874
4857
|
if (m.data)
|
|
4875
4858
|
switch (m.data.type) {
|
|
4876
4859
|
case "PlayerAccountMenuActive":
|
|
4877
|
-
r(4,
|
|
4860
|
+
r(4, P = !1);
|
|
4878
4861
|
break;
|
|
4879
4862
|
case "OpenLoginRegisterModal":
|
|
4880
|
-
r(4,
|
|
4863
|
+
r(4, P = !1);
|
|
4881
4864
|
break;
|
|
4882
4865
|
case "GoToHomepage":
|
|
4883
|
-
r(4,
|
|
4866
|
+
r(4, P = !1);
|
|
4884
4867
|
break;
|
|
4885
4868
|
}
|
|
4886
|
-
},
|
|
4887
|
-
r(11,
|
|
4888
|
-
},
|
|
4889
|
-
r(4,
|
|
4869
|
+
}, Xr = () => {
|
|
4870
|
+
r(11, $e = A.toLowerCase() === "true");
|
|
4871
|
+
}, zr = () => {
|
|
4872
|
+
r(4, P = !P), window.postMessage(
|
|
4890
4873
|
{
|
|
4891
4874
|
type: "MobileBottomNav",
|
|
4892
|
-
navigationWindowOpened:
|
|
4875
|
+
navigationWindowOpened: P
|
|
4893
4876
|
},
|
|
4894
4877
|
window.location.href
|
|
4895
4878
|
);
|
|
4896
|
-
},
|
|
4897
|
-
r(7,
|
|
4898
|
-
},
|
|
4899
|
-
|
|
4900
|
-
let m =
|
|
4901
|
-
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
}), r(6,
|
|
4905
|
-
}).catch((
|
|
4906
|
-
r(1, N = !1), console.error(
|
|
4879
|
+
}, Zr = (m) => {
|
|
4880
|
+
r(7, xe = []), r(7, xe = J ? m.splice(0, 5) : m.splice(0, 4)), v && _t();
|
|
4881
|
+
}, Qr = () => {
|
|
4882
|
+
ke(), r(1, N = !0);
|
|
4883
|
+
let m = Zt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4884
|
+
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((H) => H.json()).then((H) => {
|
|
4885
|
+
De = [], r(8, V = []), r(3, E = H.length > 0), H.forEach((U) => {
|
|
4886
|
+
Ge[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, vt = U == null ? void 0 : U.img), r(8, V = U.children)) : De.push(U);
|
|
4887
|
+
}), r(6, J = V.length == 0), V.length >= 5 && $e && r(8, V = V.splice(0, 5)), Zr(De), r(1, N = !1);
|
|
4888
|
+
}).catch((H) => {
|
|
4889
|
+
r(1, N = !1), console.error(H);
|
|
4907
4890
|
});
|
|
4908
|
-
},
|
|
4909
|
-
const T =
|
|
4910
|
-
T && r(5,
|
|
4911
|
-
},
|
|
4912
|
-
|
|
4891
|
+
}, _t = () => {
|
|
4892
|
+
const T = xe.concat(V).find((H) => H.path.includes(v));
|
|
4893
|
+
T && r(5, Z = T.id);
|
|
4894
|
+
}, fe = (m, T, H, U) => {
|
|
4895
|
+
Ge[U] ? window.postMessage(
|
|
4913
4896
|
{
|
|
4914
4897
|
type: "MobileBottomNavigationEvent",
|
|
4915
|
-
event:
|
|
4898
|
+
event: Ge[U]
|
|
4916
4899
|
},
|
|
4917
4900
|
window.location.href
|
|
4918
4901
|
) : window.postMessage(
|
|
@@ -4920,64 +4903,64 @@ function Qo(e, t, r) {
|
|
|
4920
4903
|
type: "NavigateTo",
|
|
4921
4904
|
path: m,
|
|
4922
4905
|
target: T || null,
|
|
4923
|
-
externalLink:
|
|
4906
|
+
externalLink: H || !1
|
|
4924
4907
|
},
|
|
4925
4908
|
window.location.href
|
|
4926
|
-
), r(4,
|
|
4909
|
+
), r(4, P = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4927
4910
|
context: "MobileBottomNavigation",
|
|
4928
4911
|
menuItem: `${m}`
|
|
4929
4912
|
});
|
|
4930
|
-
},
|
|
4931
|
-
|
|
4932
|
-
},
|
|
4933
|
-
r(10,
|
|
4934
|
-
},
|
|
4935
|
-
|
|
4913
|
+
}, Yr = () => {
|
|
4914
|
+
Co(s);
|
|
4915
|
+
}, ke = () => {
|
|
4916
|
+
r(10, bt = b && window.innerHeight / window.innerWidth < 1);
|
|
4917
|
+
}, xt = () => {
|
|
4918
|
+
P && r(4, P = !1);
|
|
4936
4919
|
};
|
|
4937
|
-
|
|
4938
|
-
window.removeEventListener("message",
|
|
4920
|
+
_n(() => (window.addEventListener("message", yt, !1), document.addEventListener("focusin", xt), b && window.screen.orientation.addEventListener("change", ke), () => {
|
|
4921
|
+
window.removeEventListener("message", yt), document.removeEventListener("focusin", xt), b && window.screen.orientation.removeEventListener("change", ke);
|
|
4939
4922
|
}));
|
|
4940
|
-
const
|
|
4941
|
-
var T,
|
|
4942
|
-
(T = m.attrs) != null && T.target ?
|
|
4943
|
-
},
|
|
4944
|
-
var T,
|
|
4945
|
-
(T = m.attrs) != null && T.target ?
|
|
4923
|
+
const Jr = (m) => {
|
|
4924
|
+
var T, H;
|
|
4925
|
+
(T = m.attrs) != null && T.target ? fe(m.path, (H = m.attrs) == null ? void 0 : H.target, m == null ? void 0 : m.externalLink, m.label) : fe(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4926
|
+
}, qr = (m) => {
|
|
4927
|
+
var T, H;
|
|
4928
|
+
(T = m.attrs) != null && T.target ? fe(m.path, (H = m.attrs) == null ? void 0 : H.target, m == null ? void 0 : m.externalLink, m.label) : fe(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4946
4929
|
};
|
|
4947
|
-
function
|
|
4930
|
+
function Kr(m) {
|
|
4948
4931
|
Je[m ? "unshift" : "push"](() => {
|
|
4949
|
-
|
|
4932
|
+
$ = m, r(2, $);
|
|
4950
4933
|
});
|
|
4951
4934
|
}
|
|
4952
4935
|
return e.$$set = (m) => {
|
|
4953
4936
|
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4954
4937
|
}, e.$$.update = () => {
|
|
4955
4938
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4956
|
-
33554432 && A &&
|
|
4957
|
-
16777218 && v && !N &&
|
|
4958
|
-
131072 && s &&
|
|
4959
|
-
983040 && a && s && l && h &&
|
|
4960
|
-
2097156 && f &&
|
|
4961
|
-
4194308 && p &&
|
|
4962
|
-
1048580 && d &&
|
|
4963
|
-
8388608 && g &&
|
|
4939
|
+
33554432 && A && Xr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4940
|
+
16777218 && v && !N && _t(), e.$$.dirty[0] & /*lang*/
|
|
4941
|
+
131072 && s && Yr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4942
|
+
983040 && a && s && l && h && Qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4943
|
+
2097156 && f && $ && Fo($, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4944
|
+
4194308 && p && $ && Ro($, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4945
|
+
1048580 && d && $ && Uo($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4946
|
+
8388608 && g && Vr();
|
|
4964
4947
|
}, [
|
|
4965
4948
|
u,
|
|
4966
4949
|
N,
|
|
4967
|
-
|
|
4950
|
+
$,
|
|
4968
4951
|
E,
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4952
|
+
P,
|
|
4953
|
+
Z,
|
|
4954
|
+
J,
|
|
4955
|
+
xe,
|
|
4956
|
+
V,
|
|
4957
|
+
vt,
|
|
4958
|
+
bt,
|
|
4959
|
+
$e,
|
|
4977
4960
|
n,
|
|
4978
4961
|
b,
|
|
4979
|
-
|
|
4980
|
-
|
|
4962
|
+
zr,
|
|
4963
|
+
fe,
|
|
4981
4964
|
a,
|
|
4982
4965
|
s,
|
|
4983
4966
|
l,
|
|
@@ -4990,19 +4973,19 @@ function Qo(e, t, r) {
|
|
|
4990
4973
|
A,
|
|
4991
4974
|
o,
|
|
4992
4975
|
i,
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4976
|
+
Jr,
|
|
4977
|
+
qr,
|
|
4978
|
+
Kr
|
|
4996
4979
|
];
|
|
4997
4980
|
}
|
|
4998
|
-
class
|
|
4981
|
+
class Zo extends Pn {
|
|
4999
4982
|
constructor(t) {
|
|
5000
|
-
super(),
|
|
4983
|
+
super(), An(
|
|
5001
4984
|
this,
|
|
5002
4985
|
t,
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
4986
|
+
zo,
|
|
4987
|
+
Xo,
|
|
4988
|
+
lr,
|
|
5006
4989
|
{
|
|
5007
4990
|
cmsendpoint: 16,
|
|
5008
4991
|
lang: 17,
|
|
@@ -5016,7 +4999,7 @@ class Yo extends On {
|
|
|
5016
4999
|
activecategory: 24,
|
|
5017
5000
|
flowermenustyle: 25
|
|
5018
5001
|
},
|
|
5019
|
-
|
|
5002
|
+
Do,
|
|
5020
5003
|
[-1, -1]
|
|
5021
5004
|
);
|
|
5022
5005
|
}
|
|
@@ -5024,70 +5007,70 @@ class Yo extends On {
|
|
|
5024
5007
|
return this.$$.ctx[16];
|
|
5025
5008
|
}
|
|
5026
5009
|
set cmsendpoint(t) {
|
|
5027
|
-
this.$$set({ cmsendpoint: t }),
|
|
5010
|
+
this.$$set({ cmsendpoint: t }), R();
|
|
5028
5011
|
}
|
|
5029
5012
|
get lang() {
|
|
5030
5013
|
return this.$$.ctx[17];
|
|
5031
5014
|
}
|
|
5032
5015
|
set lang(t) {
|
|
5033
|
-
this.$$set({ lang: t }),
|
|
5016
|
+
this.$$set({ lang: t }), R();
|
|
5034
5017
|
}
|
|
5035
5018
|
get env() {
|
|
5036
5019
|
return this.$$.ctx[18];
|
|
5037
5020
|
}
|
|
5038
5021
|
set env(t) {
|
|
5039
|
-
this.$$set({ env: t }),
|
|
5022
|
+
this.$$set({ env: t }), R();
|
|
5040
5023
|
}
|
|
5041
5024
|
get secondarymenutitle() {
|
|
5042
5025
|
return this.$$.ctx[0];
|
|
5043
5026
|
}
|
|
5044
5027
|
set secondarymenutitle(t) {
|
|
5045
|
-
this.$$set({ secondarymenutitle: t }),
|
|
5028
|
+
this.$$set({ secondarymenutitle: t }), R();
|
|
5046
5029
|
}
|
|
5047
5030
|
get userroles() {
|
|
5048
5031
|
return this.$$.ctx[19];
|
|
5049
5032
|
}
|
|
5050
5033
|
set userroles(t) {
|
|
5051
|
-
this.$$set({ userroles: t }),
|
|
5034
|
+
this.$$set({ userroles: t }), R();
|
|
5052
5035
|
}
|
|
5053
5036
|
get mbsource() {
|
|
5054
5037
|
return this.$$.ctx[20];
|
|
5055
5038
|
}
|
|
5056
5039
|
set mbsource(t) {
|
|
5057
|
-
this.$$set({ mbsource: t }),
|
|
5040
|
+
this.$$set({ mbsource: t }), R();
|
|
5058
5041
|
}
|
|
5059
5042
|
get clientstyling() {
|
|
5060
5043
|
return this.$$.ctx[21];
|
|
5061
5044
|
}
|
|
5062
5045
|
set clientstyling(t) {
|
|
5063
|
-
this.$$set({ clientstyling: t }),
|
|
5046
|
+
this.$$set({ clientstyling: t }), R();
|
|
5064
5047
|
}
|
|
5065
5048
|
get clientstylingurl() {
|
|
5066
5049
|
return this.$$.ctx[22];
|
|
5067
5050
|
}
|
|
5068
5051
|
set clientstylingurl(t) {
|
|
5069
|
-
this.$$set({ clientstylingurl: t }),
|
|
5052
|
+
this.$$set({ clientstylingurl: t }), R();
|
|
5070
5053
|
}
|
|
5071
5054
|
get translationurl() {
|
|
5072
5055
|
return this.$$.ctx[23];
|
|
5073
5056
|
}
|
|
5074
5057
|
set translationurl(t) {
|
|
5075
|
-
this.$$set({ translationurl: t }),
|
|
5058
|
+
this.$$set({ translationurl: t }), R();
|
|
5076
5059
|
}
|
|
5077
5060
|
get activecategory() {
|
|
5078
5061
|
return this.$$.ctx[24];
|
|
5079
5062
|
}
|
|
5080
5063
|
set activecategory(t) {
|
|
5081
|
-
this.$$set({ activecategory: t }),
|
|
5064
|
+
this.$$set({ activecategory: t }), R();
|
|
5082
5065
|
}
|
|
5083
5066
|
get flowermenustyle() {
|
|
5084
5067
|
return this.$$.ctx[25];
|
|
5085
5068
|
}
|
|
5086
5069
|
set flowermenustyle(t) {
|
|
5087
|
-
this.$$set({ flowermenustyle: t }),
|
|
5070
|
+
this.$$set({ flowermenustyle: t }), R();
|
|
5088
5071
|
}
|
|
5089
5072
|
}
|
|
5090
|
-
|
|
5073
|
+
Tn(Zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5091
5074
|
export {
|
|
5092
|
-
|
|
5075
|
+
Zo as default
|
|
5093
5076
|
};
|