@everymatrix/general-logout 1.54.12 → 1.56.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/{GeneralLogout-dsqHnt6i.cjs → GeneralLogout-CItdGunD.cjs} +3 -3
- package/components/{GeneralLogout-DEjIkV1X.js → GeneralLogout-DRgWuMvJ.js} +587 -577
- package/components/{GeneralLogout-DUbY195l.js → GeneralLogout-DmWm7963.js} +598 -588
- package/es2015/general-logout.cjs +1 -1
- package/es2015/general-logout.js +1 -1
- package/esnext/general-logout.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function B() {
|
|
2
2
|
}
|
|
3
3
|
function vt(e) {
|
|
4
4
|
return e();
|
|
@@ -9,38 +9,38 @@ function Qe() {
|
|
|
9
9
|
function ie(e) {
|
|
10
10
|
e.forEach(vt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function We(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function _t(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function rr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function xt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return B;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function nr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(xt(t, r));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function S(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function ir(e, t, r) {
|
|
37
|
+
const n = or(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
39
|
+
const i = P("style");
|
|
40
|
+
i.id = t, i.textContent = r, sr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function or(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return t && /** @type {ShadowRoot} */
|
|
@@ -49,8 +49,8 @@ function sr(e) {
|
|
|
49
49
|
t
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function sr(e, t) {
|
|
53
|
+
return S(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
56
56
|
t
|
|
@@ -59,19 +59,19 @@ function ar(e, t) {
|
|
|
59
59
|
function oe(e, t, r) {
|
|
60
60
|
e.insertBefore(t, r || null);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Z(e) {
|
|
63
63
|
e.parentNode && e.parentNode.removeChild(e);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function P(e) {
|
|
66
66
|
return document.createElement(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function q(e) {
|
|
69
69
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
70
70
|
}
|
|
71
71
|
function be(e) {
|
|
72
72
|
return document.createTextNode(e);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ar() {
|
|
75
75
|
return be(" ");
|
|
76
76
|
}
|
|
77
77
|
function Et(e, t, r, n) {
|
|
@@ -80,17 +80,17 @@ function Et(e, t, r, n) {
|
|
|
80
80
|
function T(e, t, r) {
|
|
81
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function ur(e) {
|
|
84
84
|
return Array.from(e.childNodes);
|
|
85
85
|
}
|
|
86
86
|
function St(e, t) {
|
|
87
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
88
88
|
t);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function hr(e, t, r, n) {
|
|
91
91
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function lr(e) {
|
|
94
94
|
const t = {};
|
|
95
95
|
return e.childNodes.forEach(
|
|
96
96
|
/** @param {Element} node */
|
|
@@ -99,84 +99,91 @@ function cr(e) {
|
|
|
99
99
|
}
|
|
100
100
|
), t;
|
|
101
101
|
}
|
|
102
|
-
let
|
|
103
|
-
function
|
|
104
|
-
|
|
102
|
+
let te;
|
|
103
|
+
function ee(e) {
|
|
104
|
+
te = e;
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
let Oe = !1;
|
|
110
|
-
function pr() {
|
|
111
|
-
Oe || (Oe = !0, fr.then(O));
|
|
106
|
+
function cr() {
|
|
107
|
+
if (!te) throw new Error("Function called outside component initialization");
|
|
108
|
+
return te;
|
|
112
109
|
}
|
|
113
|
-
function
|
|
114
|
-
|
|
110
|
+
function fr(e) {
|
|
111
|
+
cr().$$.on_mount.push(e);
|
|
115
112
|
}
|
|
116
|
-
const
|
|
117
|
-
let
|
|
118
|
-
|
|
119
|
-
|
|
113
|
+
const F = [], Oe = [];
|
|
114
|
+
let j = [];
|
|
115
|
+
const Je = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
116
|
+
let Ie = !1;
|
|
117
|
+
function dr() {
|
|
118
|
+
Ie || (Ie = !0, pr.then(A));
|
|
119
|
+
}
|
|
120
|
+
function Le(e) {
|
|
121
|
+
j.push(e);
|
|
122
|
+
}
|
|
123
|
+
const Se = /* @__PURE__ */ new Set();
|
|
124
|
+
let G = 0;
|
|
125
|
+
function A() {
|
|
126
|
+
if (G !== 0)
|
|
120
127
|
return;
|
|
121
|
-
const e =
|
|
128
|
+
const e = te;
|
|
122
129
|
do {
|
|
123
130
|
try {
|
|
124
|
-
for (;
|
|
125
|
-
const t =
|
|
126
|
-
|
|
131
|
+
for (; G < F.length; ) {
|
|
132
|
+
const t = F[G];
|
|
133
|
+
G++, ee(t), mr(t.$$);
|
|
127
134
|
}
|
|
128
135
|
} catch (t) {
|
|
129
|
-
throw
|
|
136
|
+
throw F.length = 0, G = 0, t;
|
|
130
137
|
}
|
|
131
|
-
for (
|
|
132
|
-
for (let t = 0; t <
|
|
133
|
-
const r =
|
|
134
|
-
|
|
138
|
+
for (ee(null), F.length = 0, G = 0; Oe.length; ) Oe.pop()();
|
|
139
|
+
for (let t = 0; t < j.length; t += 1) {
|
|
140
|
+
const r = j[t];
|
|
141
|
+
Se.has(r) || (Se.add(r), r());
|
|
135
142
|
}
|
|
136
|
-
|
|
137
|
-
} while (
|
|
143
|
+
j.length = 0;
|
|
144
|
+
} while (F.length);
|
|
138
145
|
for (; Je.length; )
|
|
139
146
|
Je.pop()();
|
|
140
|
-
|
|
147
|
+
Ie = !1, Se.clear(), ee(e);
|
|
141
148
|
}
|
|
142
|
-
function
|
|
149
|
+
function mr(e) {
|
|
143
150
|
if (e.fragment !== null) {
|
|
144
151
|
e.update(), ie(e.before_update);
|
|
145
152
|
const t = e.dirty;
|
|
146
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
147
154
|
}
|
|
148
155
|
}
|
|
149
|
-
function
|
|
156
|
+
function br(e) {
|
|
150
157
|
const t = [], r = [];
|
|
151
|
-
|
|
158
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
152
159
|
}
|
|
153
|
-
const
|
|
154
|
-
function
|
|
155
|
-
e && e.i && (
|
|
160
|
+
const gr = /* @__PURE__ */ new Set();
|
|
161
|
+
function yr(e, t) {
|
|
162
|
+
e && e.i && (gr.delete(e), e.i(t));
|
|
156
163
|
}
|
|
157
|
-
function
|
|
164
|
+
function vr(e, t, r) {
|
|
158
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
159
|
-
n && n.m(t, r),
|
|
160
|
-
const o = e.$$.on_mount.map(vt).filter(
|
|
166
|
+
n && n.m(t, r), Le(() => {
|
|
167
|
+
const o = e.$$.on_mount.map(vt).filter(We);
|
|
161
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
162
|
-
}), i.forEach(
|
|
169
|
+
}), i.forEach(Le);
|
|
163
170
|
}
|
|
164
|
-
function
|
|
171
|
+
function _r(e, t) {
|
|
165
172
|
const r = e.$$;
|
|
166
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (br(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
167
174
|
}
|
|
168
175
|
function xr(e, t) {
|
|
169
|
-
e.$$.dirty[0] === -1 && (
|
|
176
|
+
e.$$.dirty[0] === -1 && (F.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
170
177
|
}
|
|
171
|
-
function
|
|
172
|
-
const h =
|
|
173
|
-
|
|
178
|
+
function Er(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
179
|
+
const h = te;
|
|
180
|
+
ee(e);
|
|
174
181
|
const u = e.$$ = {
|
|
175
182
|
fragment: null,
|
|
176
183
|
ctx: [],
|
|
177
184
|
// state
|
|
178
185
|
props: o,
|
|
179
|
-
update:
|
|
186
|
+
update: B,
|
|
180
187
|
not_equal: i,
|
|
181
188
|
bound: Qe(),
|
|
182
189
|
// lifecycle
|
|
@@ -195,17 +202,17 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
195
202
|
s && s(u.root);
|
|
196
203
|
let l = !1;
|
|
197
204
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
198
|
-
const
|
|
199
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
205
|
+
const b = p.length ? p[0] : c;
|
|
206
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && xr(e, f)), c;
|
|
200
207
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
201
208
|
if (t.hydrate) {
|
|
202
|
-
const f =
|
|
203
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
209
|
+
const f = ur(t.target);
|
|
210
|
+
u.fragment && u.fragment.l(f), f.forEach(Z);
|
|
204
211
|
} else
|
|
205
212
|
u.fragment && u.fragment.c();
|
|
206
|
-
t.intro &&
|
|
213
|
+
t.intro && yr(e.$$.fragment), vr(e, t.target, t.anchor), A();
|
|
207
214
|
}
|
|
208
|
-
|
|
215
|
+
ee(h);
|
|
209
216
|
}
|
|
210
217
|
let Tt;
|
|
211
218
|
typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
@@ -250,7 +257,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
250
257
|
let o;
|
|
251
258
|
return {
|
|
252
259
|
c: function() {
|
|
253
|
-
o =
|
|
260
|
+
o = P("slot"), i !== "default" && T(o, "name", i);
|
|
254
261
|
},
|
|
255
262
|
/**
|
|
256
263
|
* @param {HTMLElement} target
|
|
@@ -260,14 +267,14 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
260
267
|
oe(h, o, u);
|
|
261
268
|
},
|
|
262
269
|
d: function(h) {
|
|
263
|
-
h &&
|
|
270
|
+
h && Z(o);
|
|
264
271
|
}
|
|
265
272
|
};
|
|
266
273
|
};
|
|
267
274
|
};
|
|
268
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
269
276
|
return;
|
|
270
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = lr(this);
|
|
271
278
|
for (const i of this.$$s)
|
|
272
279
|
i in r && (t[i] = [e(i)]);
|
|
273
280
|
for (const i of this.attributes) {
|
|
@@ -354,7 +361,7 @@ function le(e, t, r, n) {
|
|
|
354
361
|
return t;
|
|
355
362
|
}
|
|
356
363
|
}
|
|
357
|
-
function
|
|
364
|
+
function Sr(e, t, r, n, i, o) {
|
|
358
365
|
let s = class extends Tt {
|
|
359
366
|
constructor() {
|
|
360
367
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -383,7 +390,7 @@ function Er(e, t, r, n, i, o) {
|
|
|
383
390
|
}), e.element = /** @type {any} */
|
|
384
391
|
s, s;
|
|
385
392
|
}
|
|
386
|
-
class
|
|
393
|
+
class Tr {
|
|
387
394
|
/**
|
|
388
395
|
* ### PRIVATE API
|
|
389
396
|
*
|
|
@@ -402,7 +409,7 @@ class Sr {
|
|
|
402
409
|
$$set = void 0;
|
|
403
410
|
/** @returns {void} */
|
|
404
411
|
$destroy() {
|
|
405
|
-
|
|
412
|
+
_r(this, 1), this.$destroy = B;
|
|
406
413
|
}
|
|
407
414
|
/**
|
|
408
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -411,8 +418,8 @@ class Sr {
|
|
|
411
418
|
* @returns {() => void}
|
|
412
419
|
*/
|
|
413
420
|
$on(t, r) {
|
|
414
|
-
if (!
|
|
415
|
-
return
|
|
421
|
+
if (!We(r))
|
|
422
|
+
return B;
|
|
416
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
417
424
|
return n.push(r), () => {
|
|
418
425
|
const i = n.indexOf(r);
|
|
@@ -424,22 +431,22 @@ class Sr {
|
|
|
424
431
|
* @returns {void}
|
|
425
432
|
*/
|
|
426
433
|
$set(t) {
|
|
427
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
428
435
|
}
|
|
429
436
|
}
|
|
430
|
-
const
|
|
431
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
432
|
-
var
|
|
433
|
-
return
|
|
437
|
+
const Hr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
|
|
439
|
+
var Ne = function(e, t) {
|
|
440
|
+
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
434
441
|
r.__proto__ = n;
|
|
435
442
|
} || function(r, n) {
|
|
436
443
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
437
|
-
},
|
|
444
|
+
}, Ne(e, t);
|
|
438
445
|
};
|
|
439
|
-
function
|
|
446
|
+
function I(e, t) {
|
|
440
447
|
if (typeof t != "function" && t !== null)
|
|
441
448
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
442
|
-
|
|
449
|
+
Ne(e, t);
|
|
443
450
|
function r() {
|
|
444
451
|
this.constructor = e;
|
|
445
452
|
}
|
|
@@ -454,7 +461,7 @@ var g = function() {
|
|
|
454
461
|
return t;
|
|
455
462
|
}, g.apply(this, arguments);
|
|
456
463
|
};
|
|
457
|
-
function
|
|
464
|
+
function Br(e, t) {
|
|
458
465
|
var r = {};
|
|
459
466
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
460
467
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -462,7 +469,7 @@ function Hr(e, t) {
|
|
|
462
469
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
463
470
|
return r;
|
|
464
471
|
}
|
|
465
|
-
function
|
|
472
|
+
function Me(e) {
|
|
466
473
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
467
474
|
if (r) return r.call(e);
|
|
468
475
|
if (e && typeof e.length == "number") return {
|
|
@@ -472,7 +479,7 @@ function Ne(e) {
|
|
|
472
479
|
};
|
|
473
480
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
474
481
|
}
|
|
475
|
-
function
|
|
482
|
+
function Ce(e, t) {
|
|
476
483
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
477
484
|
if (!r) return e;
|
|
478
485
|
var n = r.call(e), i, o = [], s;
|
|
@@ -489,12 +496,12 @@ function Me(e, t) {
|
|
|
489
496
|
}
|
|
490
497
|
return o;
|
|
491
498
|
}
|
|
492
|
-
function
|
|
499
|
+
function k(e, t, r) {
|
|
493
500
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
494
501
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
495
502
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
496
503
|
}
|
|
497
|
-
function
|
|
504
|
+
function O(e) {
|
|
498
505
|
return typeof e == "function";
|
|
499
506
|
}
|
|
500
507
|
function Ht(e) {
|
|
@@ -503,7 +510,7 @@ function Ht(e) {
|
|
|
503
510
|
}, r = e(t);
|
|
504
511
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
505
512
|
}
|
|
506
|
-
var
|
|
513
|
+
var Te = Ht(function(e) {
|
|
507
514
|
return function(r) {
|
|
508
515
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
509
516
|
` + r.map(function(n, i) {
|
|
@@ -512,7 +519,7 @@ var Se = Ht(function(e) {
|
|
|
512
519
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
513
520
|
};
|
|
514
521
|
});
|
|
515
|
-
function
|
|
522
|
+
function $e(e, t) {
|
|
516
523
|
if (e) {
|
|
517
524
|
var r = e.indexOf(t);
|
|
518
525
|
0 <= r && e.splice(r, 1);
|
|
@@ -530,7 +537,7 @@ var ge = function() {
|
|
|
530
537
|
if (s)
|
|
531
538
|
if (this._parentage = null, Array.isArray(s))
|
|
532
539
|
try {
|
|
533
|
-
for (var a =
|
|
540
|
+
for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
|
|
534
541
|
var u = h.value;
|
|
535
542
|
u.remove(this);
|
|
536
543
|
}
|
|
@@ -546,22 +553,22 @@ var ge = function() {
|
|
|
546
553
|
else
|
|
547
554
|
s.remove(this);
|
|
548
555
|
var l = this.initialTeardown;
|
|
549
|
-
if (
|
|
556
|
+
if (O(l))
|
|
550
557
|
try {
|
|
551
558
|
l();
|
|
552
559
|
} catch (v) {
|
|
553
|
-
o = v instanceof
|
|
560
|
+
o = v instanceof Te ? v.errors : [v];
|
|
554
561
|
}
|
|
555
562
|
var f = this._finalizers;
|
|
556
563
|
if (f) {
|
|
557
564
|
this._finalizers = null;
|
|
558
565
|
try {
|
|
559
|
-
for (var c =
|
|
560
|
-
var
|
|
566
|
+
for (var c = Me(f), p = c.next(); !p.done; p = c.next()) {
|
|
567
|
+
var b = p.value;
|
|
561
568
|
try {
|
|
562
|
-
Ye(
|
|
569
|
+
Ye(b);
|
|
563
570
|
} catch (v) {
|
|
564
|
-
o = o ?? [], v instanceof
|
|
571
|
+
o = o ?? [], v instanceof Te ? o = k(k([], Ce(o)), Ce(v.errors)) : o.push(v);
|
|
565
572
|
}
|
|
566
573
|
}
|
|
567
574
|
} catch (v) {
|
|
@@ -575,7 +582,7 @@ var ge = function() {
|
|
|
575
582
|
}
|
|
576
583
|
}
|
|
577
584
|
if (o)
|
|
578
|
-
throw new
|
|
585
|
+
throw new Te(o);
|
|
579
586
|
}
|
|
580
587
|
}, e.prototype.add = function(t) {
|
|
581
588
|
var r;
|
|
@@ -598,36 +605,36 @@ var ge = function() {
|
|
|
598
605
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
599
606
|
}, e.prototype._removeParent = function(t) {
|
|
600
607
|
var r = this._parentage;
|
|
601
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
608
|
+
r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
|
|
602
609
|
}, e.prototype.remove = function(t) {
|
|
603
610
|
var r = this._finalizers;
|
|
604
|
-
r &&
|
|
611
|
+
r && $e(r, t), t instanceof e && t._removeParent(this);
|
|
605
612
|
}, e.EMPTY = function() {
|
|
606
613
|
var t = new e();
|
|
607
614
|
return t.closed = !0, t;
|
|
608
615
|
}(), e;
|
|
609
616
|
}(), Bt = ge.EMPTY;
|
|
610
617
|
function At(e) {
|
|
611
|
-
return e instanceof ge || e && "closed" in e &&
|
|
618
|
+
return e instanceof ge || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
|
|
612
619
|
}
|
|
613
620
|
function Ye(e) {
|
|
614
|
-
|
|
621
|
+
O(e) ? e() : e.unsubscribe();
|
|
615
622
|
}
|
|
616
|
-
var
|
|
623
|
+
var Ar = {
|
|
617
624
|
Promise: void 0
|
|
618
|
-
},
|
|
625
|
+
}, wr = {
|
|
619
626
|
setTimeout: function(e, t) {
|
|
620
627
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
621
628
|
r[n - 2] = arguments[n];
|
|
622
|
-
return setTimeout.apply(void 0,
|
|
629
|
+
return setTimeout.apply(void 0, k([e, t], Ce(r)));
|
|
623
630
|
},
|
|
624
631
|
clearTimeout: function(e) {
|
|
625
632
|
return clearTimeout(e);
|
|
626
633
|
},
|
|
627
634
|
delegate: void 0
|
|
628
635
|
};
|
|
629
|
-
function
|
|
630
|
-
|
|
636
|
+
function Pr(e) {
|
|
637
|
+
wr.setTimeout(function() {
|
|
631
638
|
throw e;
|
|
632
639
|
});
|
|
633
640
|
}
|
|
@@ -637,13 +644,13 @@ function ce(e) {
|
|
|
637
644
|
e();
|
|
638
645
|
}
|
|
639
646
|
var wt = function(e) {
|
|
640
|
-
|
|
647
|
+
I(t, e);
|
|
641
648
|
function t(r) {
|
|
642
649
|
var n = e.call(this) || this;
|
|
643
|
-
return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination =
|
|
650
|
+
return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Lr, n;
|
|
644
651
|
}
|
|
645
652
|
return t.create = function(r, n, i) {
|
|
646
|
-
return new
|
|
653
|
+
return new Re(r, n, i);
|
|
647
654
|
}, t.prototype.next = function(r) {
|
|
648
655
|
this.isStopped || this._next(r);
|
|
649
656
|
}, t.prototype.error = function(r) {
|
|
@@ -667,7 +674,7 @@ var wt = function(e) {
|
|
|
667
674
|
this.unsubscribe();
|
|
668
675
|
}
|
|
669
676
|
}, t;
|
|
670
|
-
}(ge),
|
|
677
|
+
}(ge), Or = function() {
|
|
671
678
|
function e(t) {
|
|
672
679
|
this.partialObserver = t;
|
|
673
680
|
}
|
|
@@ -698,37 +705,37 @@ var wt = function(e) {
|
|
|
698
705
|
ue(r);
|
|
699
706
|
}
|
|
700
707
|
}, e;
|
|
701
|
-
}(),
|
|
702
|
-
|
|
708
|
+
}(), Re = function(e) {
|
|
709
|
+
I(t, e);
|
|
703
710
|
function t(r, n, i) {
|
|
704
711
|
var o = e.call(this) || this, s;
|
|
705
|
-
return
|
|
712
|
+
return O(r) || !r ? s = {
|
|
706
713
|
next: r ?? void 0,
|
|
707
714
|
error: n ?? void 0,
|
|
708
715
|
complete: i ?? void 0
|
|
709
|
-
} : s = r, o.destination = new
|
|
716
|
+
} : s = r, o.destination = new Or(s), o;
|
|
710
717
|
}
|
|
711
718
|
return t;
|
|
712
719
|
}(wt);
|
|
713
720
|
function ue(e) {
|
|
714
|
-
|
|
721
|
+
Pr(e);
|
|
715
722
|
}
|
|
716
|
-
function
|
|
723
|
+
function Ir(e) {
|
|
717
724
|
throw e;
|
|
718
725
|
}
|
|
719
|
-
var
|
|
726
|
+
var Lr = {
|
|
720
727
|
closed: !0,
|
|
721
728
|
next: qe,
|
|
722
|
-
error:
|
|
729
|
+
error: Ir,
|
|
723
730
|
complete: qe
|
|
724
|
-
},
|
|
731
|
+
}, Nr = function() {
|
|
725
732
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
726
733
|
}();
|
|
727
|
-
function
|
|
734
|
+
function Mr(e) {
|
|
728
735
|
return e;
|
|
729
736
|
}
|
|
730
|
-
function
|
|
731
|
-
return e.length === 0 ?
|
|
737
|
+
function Cr(e) {
|
|
738
|
+
return e.length === 0 ? Mr : e.length === 1 ? e[0] : function(r) {
|
|
732
739
|
return e.reduce(function(n, i) {
|
|
733
740
|
return i(n);
|
|
734
741
|
}, r);
|
|
@@ -742,7 +749,7 @@ var Ke = function() {
|
|
|
742
749
|
var r = new e();
|
|
743
750
|
return r.source = this, r.operator = t, r;
|
|
744
751
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
745
|
-
var i = this, o =
|
|
752
|
+
var i = this, o = Rr(t) ? t : new Re(t, r, n);
|
|
746
753
|
return ce(function() {
|
|
747
754
|
var s = i, a = s.operator, h = s.source;
|
|
748
755
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -756,7 +763,7 @@ var Ke = function() {
|
|
|
756
763
|
}, e.prototype.forEach = function(t, r) {
|
|
757
764
|
var n = this;
|
|
758
765
|
return r = et(r), new r(function(i, o) {
|
|
759
|
-
var s = new
|
|
766
|
+
var s = new Re({
|
|
760
767
|
next: function(a) {
|
|
761
768
|
try {
|
|
762
769
|
t(a);
|
|
@@ -772,12 +779,12 @@ var Ke = function() {
|
|
|
772
779
|
}, e.prototype._subscribe = function(t) {
|
|
773
780
|
var r;
|
|
774
781
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
775
|
-
}, e.prototype[
|
|
782
|
+
}, e.prototype[Nr] = function() {
|
|
776
783
|
return this;
|
|
777
784
|
}, e.prototype.pipe = function() {
|
|
778
785
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
779
786
|
t[r] = arguments[r];
|
|
780
|
-
return
|
|
787
|
+
return Cr(t)(this);
|
|
781
788
|
}, e.prototype.toPromise = function(t) {
|
|
782
789
|
var r = this;
|
|
783
790
|
return t = et(t), new t(function(n, i) {
|
|
@@ -796,20 +803,20 @@ var Ke = function() {
|
|
|
796
803
|
}();
|
|
797
804
|
function et(e) {
|
|
798
805
|
var t;
|
|
799
|
-
return (t = e ??
|
|
800
|
-
}
|
|
801
|
-
function Cr(e) {
|
|
802
|
-
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
806
|
+
return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
|
|
803
807
|
}
|
|
804
808
|
function $r(e) {
|
|
805
|
-
return e && e
|
|
809
|
+
return e && O(e.next) && O(e.error) && O(e.complete);
|
|
810
|
+
}
|
|
811
|
+
function Rr(e) {
|
|
812
|
+
return e && e instanceof wt || $r(e) && At(e);
|
|
806
813
|
}
|
|
807
|
-
var
|
|
814
|
+
var Ur = Ht(function(e) {
|
|
808
815
|
return function() {
|
|
809
816
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
810
817
|
};
|
|
811
818
|
}), Pt = function(e) {
|
|
812
|
-
|
|
819
|
+
I(t, e);
|
|
813
820
|
function t() {
|
|
814
821
|
var r = e.call(this) || this;
|
|
815
822
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -819,7 +826,7 @@ var Rr = Ht(function(e) {
|
|
|
819
826
|
return n.operator = r, n;
|
|
820
827
|
}, t.prototype._throwIfClosed = function() {
|
|
821
828
|
if (this.closed)
|
|
822
|
-
throw new
|
|
829
|
+
throw new Ur();
|
|
823
830
|
}, t.prototype.next = function(r) {
|
|
824
831
|
var n = this;
|
|
825
832
|
ce(function() {
|
|
@@ -827,7 +834,7 @@ var Rr = Ht(function(e) {
|
|
|
827
834
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
828
835
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
829
836
|
try {
|
|
830
|
-
for (var s =
|
|
837
|
+
for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
831
838
|
var h = a.value;
|
|
832
839
|
h.next(r);
|
|
833
840
|
}
|
|
@@ -876,7 +883,7 @@ var Rr = Ht(function(e) {
|
|
|
876
883
|
}, t.prototype._innerSubscribe = function(r) {
|
|
877
884
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
878
885
|
return o || s ? Bt : (this.currentObservers = null, a.push(r), new ge(function() {
|
|
879
|
-
n.currentObservers = null,
|
|
886
|
+
n.currentObservers = null, $e(a, r);
|
|
880
887
|
}));
|
|
881
888
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
882
889
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
@@ -888,7 +895,7 @@ var Rr = Ht(function(e) {
|
|
|
888
895
|
return new tt(r, n);
|
|
889
896
|
}, t;
|
|
890
897
|
}(Ke), tt = function(e) {
|
|
891
|
-
|
|
898
|
+
I(t, e);
|
|
892
899
|
function t(r, n) {
|
|
893
900
|
var i = e.call(this) || this;
|
|
894
901
|
return i.destination = r, i.source = n, i;
|
|
@@ -911,8 +918,8 @@ var Rr = Ht(function(e) {
|
|
|
911
918
|
return (Ot.delegate || Date).now();
|
|
912
919
|
},
|
|
913
920
|
delegate: void 0
|
|
914
|
-
},
|
|
915
|
-
|
|
921
|
+
}, Gr = function(e) {
|
|
922
|
+
I(t, e);
|
|
916
923
|
function t(r, n, i) {
|
|
917
924
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
|
|
918
925
|
var o = e.call(this) || this;
|
|
@@ -935,62 +942,62 @@ var Rr = Ht(function(e) {
|
|
|
935
942
|
}
|
|
936
943
|
}, t;
|
|
937
944
|
}(Pt);
|
|
938
|
-
const rt = [], nt = {},
|
|
945
|
+
const rt = [], nt = {}, Dr = (e, t = 0) => {
|
|
939
946
|
if (rt.indexOf(e) == -1) {
|
|
940
|
-
const r = new
|
|
947
|
+
const r = new Gr(t);
|
|
941
948
|
nt[e] = r, rt.push(e);
|
|
942
949
|
}
|
|
943
950
|
return nt[e];
|
|
944
|
-
},
|
|
945
|
-
function
|
|
951
|
+
}, D = [];
|
|
952
|
+
function Fr(e, t) {
|
|
946
953
|
return {
|
|
947
954
|
subscribe: ye(e, t).subscribe
|
|
948
955
|
};
|
|
949
956
|
}
|
|
950
|
-
function ye(e, t =
|
|
957
|
+
function ye(e, t = B) {
|
|
951
958
|
let r;
|
|
952
959
|
const n = /* @__PURE__ */ new Set();
|
|
953
960
|
function i(a) {
|
|
954
|
-
if (
|
|
955
|
-
const h = !
|
|
961
|
+
if (_t(e, a) && (e = a, r)) {
|
|
962
|
+
const h = !D.length;
|
|
956
963
|
for (const u of n)
|
|
957
|
-
u[1](),
|
|
964
|
+
u[1](), D.push(u, e);
|
|
958
965
|
if (h) {
|
|
959
|
-
for (let u = 0; u <
|
|
960
|
-
|
|
961
|
-
|
|
966
|
+
for (let u = 0; u < D.length; u += 2)
|
|
967
|
+
D[u][0](D[u + 1]);
|
|
968
|
+
D.length = 0;
|
|
962
969
|
}
|
|
963
970
|
}
|
|
964
971
|
}
|
|
965
972
|
function o(a) {
|
|
966
973
|
i(a(e));
|
|
967
974
|
}
|
|
968
|
-
function s(a, h =
|
|
975
|
+
function s(a, h = B) {
|
|
969
976
|
const u = [a, h];
|
|
970
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
977
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
|
|
971
978
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
972
979
|
};
|
|
973
980
|
}
|
|
974
981
|
return { set: i, update: o, subscribe: s };
|
|
975
982
|
}
|
|
976
|
-
function
|
|
983
|
+
function Q(e, t, r) {
|
|
977
984
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
978
985
|
if (!i.every(Boolean))
|
|
979
986
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
980
987
|
const o = t.length < 2;
|
|
981
|
-
return
|
|
988
|
+
return Fr(r, (s, a) => {
|
|
982
989
|
let h = !1;
|
|
983
990
|
const u = [];
|
|
984
|
-
let l = 0, f =
|
|
991
|
+
let l = 0, f = B;
|
|
985
992
|
const c = () => {
|
|
986
993
|
if (l)
|
|
987
994
|
return;
|
|
988
995
|
f();
|
|
989
|
-
const
|
|
990
|
-
o ? s(
|
|
996
|
+
const b = t(n ? u[0] : u, s, a);
|
|
997
|
+
o ? s(b) : f = We(b) ? b : B;
|
|
991
998
|
}, p = i.map(
|
|
992
|
-
(
|
|
993
|
-
|
|
999
|
+
(b, v) => xt(
|
|
1000
|
+
b,
|
|
994
1001
|
(H) => {
|
|
995
1002
|
u[v] = H, l &= ~(1 << v), h && c();
|
|
996
1003
|
},
|
|
@@ -1004,47 +1011,47 @@ function J(e, t, r) {
|
|
|
1004
1011
|
};
|
|
1005
1012
|
});
|
|
1006
1013
|
}
|
|
1007
|
-
function
|
|
1014
|
+
function jr(e) {
|
|
1008
1015
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1009
1016
|
}
|
|
1010
|
-
var
|
|
1011
|
-
return
|
|
1017
|
+
var kr = function(t) {
|
|
1018
|
+
return Vr(t) && !Xr(t);
|
|
1012
1019
|
};
|
|
1013
|
-
function
|
|
1020
|
+
function Vr(e) {
|
|
1014
1021
|
return !!e && typeof e == "object";
|
|
1015
1022
|
}
|
|
1016
|
-
function
|
|
1023
|
+
function Xr(e) {
|
|
1017
1024
|
var t = Object.prototype.toString.call(e);
|
|
1018
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1019
|
-
}
|
|
1020
|
-
var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
|
|
1021
|
-
function zr(e) {
|
|
1022
|
-
return e.$$typeof === Wr;
|
|
1025
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
|
|
1023
1026
|
}
|
|
1027
|
+
var Wr = typeof Symbol == "function" && Symbol.for, zr = Wr ? Symbol.for("react.element") : 60103;
|
|
1024
1028
|
function Zr(e) {
|
|
1029
|
+
return e.$$typeof === zr;
|
|
1030
|
+
}
|
|
1031
|
+
function Qr(e) {
|
|
1025
1032
|
return Array.isArray(e) ? [] : {};
|
|
1026
1033
|
}
|
|
1027
1034
|
function re(e, t) {
|
|
1028
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1035
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(Qr(e), e, t) : e;
|
|
1029
1036
|
}
|
|
1030
|
-
function
|
|
1037
|
+
function Jr(e, t, r) {
|
|
1031
1038
|
return e.concat(t).map(function(n) {
|
|
1032
1039
|
return re(n, r);
|
|
1033
1040
|
});
|
|
1034
1041
|
}
|
|
1035
|
-
function
|
|
1042
|
+
function Yr(e, t) {
|
|
1036
1043
|
if (!t.customMerge)
|
|
1037
|
-
return
|
|
1044
|
+
return V;
|
|
1038
1045
|
var r = t.customMerge(e);
|
|
1039
|
-
return typeof r == "function" ? r :
|
|
1046
|
+
return typeof r == "function" ? r : V;
|
|
1040
1047
|
}
|
|
1041
|
-
function
|
|
1048
|
+
function qr(e) {
|
|
1042
1049
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1043
1050
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1044
1051
|
}) : [];
|
|
1045
1052
|
}
|
|
1046
1053
|
function it(e) {
|
|
1047
|
-
return Object.keys(e).concat(
|
|
1054
|
+
return Object.keys(e).concat(qr(e));
|
|
1048
1055
|
}
|
|
1049
1056
|
function It(e, t) {
|
|
1050
1057
|
try {
|
|
@@ -1053,43 +1060,43 @@ function It(e, t) {
|
|
|
1053
1060
|
return !1;
|
|
1054
1061
|
}
|
|
1055
1062
|
}
|
|
1056
|
-
function
|
|
1063
|
+
function Kr(e, t) {
|
|
1057
1064
|
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1058
1065
|
}
|
|
1059
|
-
function
|
|
1066
|
+
function en(e, t, r) {
|
|
1060
1067
|
var n = {};
|
|
1061
1068
|
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
1062
1069
|
n[i] = re(e[i], r);
|
|
1063
1070
|
}), it(t).forEach(function(i) {
|
|
1064
|
-
|
|
1071
|
+
Kr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1065
1072
|
}), n;
|
|
1066
1073
|
}
|
|
1067
|
-
function
|
|
1068
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1074
|
+
function V(e, t, r) {
|
|
1075
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = re;
|
|
1069
1076
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1070
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1077
|
+
return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : re(t, r);
|
|
1071
1078
|
}
|
|
1072
|
-
|
|
1079
|
+
V.all = function(t, r) {
|
|
1073
1080
|
if (!Array.isArray(t))
|
|
1074
1081
|
throw new Error("first argument should be an array");
|
|
1075
1082
|
return t.reduce(function(n, i) {
|
|
1076
|
-
return
|
|
1083
|
+
return V(n, i, r);
|
|
1077
1084
|
}, {});
|
|
1078
1085
|
};
|
|
1079
|
-
var
|
|
1080
|
-
const
|
|
1081
|
-
function
|
|
1082
|
-
var r = t && t.cache ? t.cache :
|
|
1086
|
+
var tn = V, rn = tn;
|
|
1087
|
+
const nn = /* @__PURE__ */ jr(rn);
|
|
1088
|
+
function He(e, t) {
|
|
1089
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : an;
|
|
1083
1090
|
return i(e, {
|
|
1084
1091
|
cache: r,
|
|
1085
1092
|
serializer: n
|
|
1086
1093
|
});
|
|
1087
1094
|
}
|
|
1088
|
-
function
|
|
1095
|
+
function on(e) {
|
|
1089
1096
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1090
1097
|
}
|
|
1091
|
-
function
|
|
1092
|
-
var i =
|
|
1098
|
+
function sn(e, t, r, n) {
|
|
1099
|
+
var i = on(n) ? n : r(n), o = t.get(i);
|
|
1093
1100
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1094
1101
|
}
|
|
1095
1102
|
function Lt(e, t, r) {
|
|
@@ -1099,16 +1106,16 @@ function Lt(e, t, r) {
|
|
|
1099
1106
|
function Nt(e, t, r, n, i) {
|
|
1100
1107
|
return r.bind(t, e, n, i);
|
|
1101
1108
|
}
|
|
1102
|
-
function
|
|
1103
|
-
var r = e.length === 1 ?
|
|
1109
|
+
function an(e, t) {
|
|
1110
|
+
var r = e.length === 1 ? sn : Lt;
|
|
1104
1111
|
return Nt(e, this, r, t.cache.create(), t.serializer);
|
|
1105
1112
|
}
|
|
1106
|
-
function
|
|
1113
|
+
function un(e, t) {
|
|
1107
1114
|
return Nt(e, this, Lt, t.cache.create(), t.serializer);
|
|
1108
1115
|
}
|
|
1109
|
-
var
|
|
1116
|
+
var hn = function() {
|
|
1110
1117
|
return JSON.stringify(arguments);
|
|
1111
|
-
},
|
|
1118
|
+
}, ln = (
|
|
1112
1119
|
/** @class */
|
|
1113
1120
|
function() {
|
|
1114
1121
|
function e() {
|
|
@@ -1120,61 +1127,61 @@ var un = function() {
|
|
|
1120
1127
|
this.cache[t] = r;
|
|
1121
1128
|
}, e;
|
|
1122
1129
|
}()
|
|
1123
|
-
),
|
|
1130
|
+
), cn = {
|
|
1124
1131
|
create: function() {
|
|
1125
|
-
return new
|
|
1132
|
+
return new ln();
|
|
1126
1133
|
}
|
|
1127
|
-
},
|
|
1128
|
-
variadic:
|
|
1134
|
+
}, Be = {
|
|
1135
|
+
variadic: un
|
|
1129
1136
|
}, d;
|
|
1130
1137
|
(function(e) {
|
|
1131
1138
|
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";
|
|
1132
1139
|
})(d || (d = {}));
|
|
1133
|
-
var
|
|
1140
|
+
var _;
|
|
1134
1141
|
(function(e) {
|
|
1135
1142
|
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";
|
|
1136
|
-
})(
|
|
1137
|
-
var
|
|
1143
|
+
})(_ || (_ = {}));
|
|
1144
|
+
var X;
|
|
1138
1145
|
(function(e) {
|
|
1139
1146
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1140
|
-
})(
|
|
1147
|
+
})(X || (X = {}));
|
|
1141
1148
|
function ot(e) {
|
|
1142
|
-
return e.type ===
|
|
1149
|
+
return e.type === _.literal;
|
|
1143
1150
|
}
|
|
1144
|
-
function
|
|
1145
|
-
return e.type ===
|
|
1151
|
+
function fn(e) {
|
|
1152
|
+
return e.type === _.argument;
|
|
1146
1153
|
}
|
|
1147
1154
|
function Mt(e) {
|
|
1148
|
-
return e.type ===
|
|
1155
|
+
return e.type === _.number;
|
|
1149
1156
|
}
|
|
1150
1157
|
function Ct(e) {
|
|
1151
|
-
return e.type ===
|
|
1158
|
+
return e.type === _.date;
|
|
1152
1159
|
}
|
|
1153
1160
|
function $t(e) {
|
|
1154
|
-
return e.type ===
|
|
1161
|
+
return e.type === _.time;
|
|
1155
1162
|
}
|
|
1156
1163
|
function Rt(e) {
|
|
1157
|
-
return e.type ===
|
|
1164
|
+
return e.type === _.select;
|
|
1158
1165
|
}
|
|
1159
1166
|
function Ut(e) {
|
|
1160
|
-
return e.type ===
|
|
1167
|
+
return e.type === _.plural;
|
|
1161
1168
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return e.type ===
|
|
1169
|
+
function pn(e) {
|
|
1170
|
+
return e.type === _.pound;
|
|
1164
1171
|
}
|
|
1165
1172
|
function Gt(e) {
|
|
1166
|
-
return e.type ===
|
|
1173
|
+
return e.type === _.tag;
|
|
1167
1174
|
}
|
|
1168
1175
|
function Dt(e) {
|
|
1169
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1176
|
+
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1170
1177
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1178
|
+
function Ue(e) {
|
|
1179
|
+
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1173
1180
|
}
|
|
1174
|
-
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1175
|
-
function
|
|
1181
|
+
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
|
|
1182
|
+
function mn(e) {
|
|
1176
1183
|
var t = {};
|
|
1177
|
-
return e.replace(
|
|
1184
|
+
return e.replace(dn, function(r) {
|
|
1178
1185
|
var n = r.length;
|
|
1179
1186
|
switch (r[0]) {
|
|
1180
1187
|
case "G":
|
|
@@ -1263,11 +1270,11 @@ function dn(e) {
|
|
|
1263
1270
|
return "";
|
|
1264
1271
|
}), t;
|
|
1265
1272
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1273
|
+
var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1274
|
+
function gn(e) {
|
|
1268
1275
|
if (e.length === 0)
|
|
1269
1276
|
throw new Error("Number skeleton cannot be empty");
|
|
1270
|
-
for (var t = e.split(
|
|
1277
|
+
for (var t = e.split(bn).filter(function(c) {
|
|
1271
1278
|
return c.length > 0;
|
|
1272
1279
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1273
1280
|
var o = i[n], s = o.split("/");
|
|
@@ -1282,10 +1289,10 @@ function bn(e) {
|
|
|
1282
1289
|
}
|
|
1283
1290
|
return r;
|
|
1284
1291
|
}
|
|
1285
|
-
function
|
|
1292
|
+
function yn(e) {
|
|
1286
1293
|
return e.replace(/^(.*?)-/, "");
|
|
1287
1294
|
}
|
|
1288
|
-
var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1295
|
+
var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
|
|
1289
1296
|
function at(e) {
|
|
1290
1297
|
var t = {};
|
|
1291
1298
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
|
|
@@ -1332,7 +1339,7 @@ function Vt(e) {
|
|
|
1332
1339
|
};
|
|
1333
1340
|
}
|
|
1334
1341
|
}
|
|
1335
|
-
function
|
|
1342
|
+
function _n(e) {
|
|
1336
1343
|
var t;
|
|
1337
1344
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1338
1345
|
notation: "engineering"
|
|
@@ -1374,7 +1381,7 @@ function xn(e) {
|
|
|
1374
1381
|
continue;
|
|
1375
1382
|
case "measure-unit":
|
|
1376
1383
|
case "unit":
|
|
1377
|
-
t.style = "unit", t.unit =
|
|
1384
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1378
1385
|
continue;
|
|
1379
1386
|
case "compact-short":
|
|
1380
1387
|
case "K":
|
|
@@ -1436,7 +1443,7 @@ function xn(e) {
|
|
|
1436
1443
|
case "integer-width":
|
|
1437
1444
|
if (i.options.length > 1)
|
|
1438
1445
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1439
|
-
i.options[0].replace(
|
|
1446
|
+
i.options[0].replace(vn, function(h, u, l, f, c, p) {
|
|
1440
1447
|
if (u)
|
|
1441
1448
|
t.minimumIntegerDigits = l.length;
|
|
1442
1449
|
else {
|
|
@@ -1469,7 +1476,7 @@ function xn(e) {
|
|
|
1469
1476
|
}
|
|
1470
1477
|
var s = Vt(i.stem);
|
|
1471
1478
|
s && (t = g(g({}, t), s));
|
|
1472
|
-
var a =
|
|
1479
|
+
var a = _n(i.stem);
|
|
1473
1480
|
a && (t = g(g({}, t), a));
|
|
1474
1481
|
}
|
|
1475
1482
|
return t;
|
|
@@ -2889,13 +2896,13 @@ var he = {
|
|
|
2889
2896
|
"h"
|
|
2890
2897
|
]
|
|
2891
2898
|
};
|
|
2892
|
-
function
|
|
2899
|
+
function En(e, t) {
|
|
2893
2900
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2894
2901
|
var i = e.charAt(n);
|
|
2895
2902
|
if (i === "j") {
|
|
2896
2903
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2897
2904
|
o++, n++;
|
|
2898
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2905
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Sn(t);
|
|
2899
2906
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2900
2907
|
r += h;
|
|
2901
2908
|
for (; s-- > 0; )
|
|
@@ -2904,7 +2911,7 @@ function _n(e, t) {
|
|
|
2904
2911
|
}
|
|
2905
2912
|
return r;
|
|
2906
2913
|
}
|
|
2907
|
-
function
|
|
2914
|
+
function Sn(e) {
|
|
2908
2915
|
var t = e.hourCycle;
|
|
2909
2916
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2910
2917
|
e.hourCycles && // @ts-ignore
|
|
@@ -2926,20 +2933,20 @@ function En(e) {
|
|
|
2926
2933
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2927
2934
|
return i[0];
|
|
2928
2935
|
}
|
|
2929
|
-
var
|
|
2936
|
+
var Ae, Tn = new RegExp("^".concat(Ft.source, "*")), Hn = new RegExp("".concat(Ft.source, "*$"));
|
|
2930
2937
|
function m(e, t) {
|
|
2931
2938
|
return { start: e, end: t };
|
|
2932
2939
|
}
|
|
2933
|
-
var
|
|
2940
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, wn = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Nn = Ln ? Number.isSafeInteger : function(e) {
|
|
2934
2941
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2935
|
-
},
|
|
2942
|
+
}, Ge = !0;
|
|
2936
2943
|
try {
|
|
2937
|
-
var
|
|
2938
|
-
|
|
2944
|
+
var Mn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2945
|
+
Ge = ((Ae = Mn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2939
2946
|
} catch {
|
|
2940
|
-
|
|
2947
|
+
Ge = !1;
|
|
2941
2948
|
}
|
|
2942
|
-
var ht =
|
|
2949
|
+
var ht = Bn ? (
|
|
2943
2950
|
// Native
|
|
2944
2951
|
function(t, r, n) {
|
|
2945
2952
|
return t.startsWith(r, n);
|
|
@@ -2949,7 +2956,7 @@ var ht = Hn ? (
|
|
|
2949
2956
|
function(t, r, n) {
|
|
2950
2957
|
return t.slice(n, n + r.length) === r;
|
|
2951
2958
|
}
|
|
2952
|
-
),
|
|
2959
|
+
), De = An ? String.fromCodePoint : (
|
|
2953
2960
|
// IE11
|
|
2954
2961
|
function() {
|
|
2955
2962
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2963,7 +2970,7 @@ var ht = Hn ? (
|
|
|
2963
2970
|
}
|
|
2964
2971
|
), lt = (
|
|
2965
2972
|
// native
|
|
2966
|
-
|
|
2973
|
+
wn ? Object.fromEntries : (
|
|
2967
2974
|
// Ponyfill
|
|
2968
2975
|
function(t) {
|
|
2969
2976
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2973,7 +2980,7 @@ var ht = Hn ? (
|
|
|
2973
2980
|
return r;
|
|
2974
2981
|
}
|
|
2975
2982
|
)
|
|
2976
|
-
), Xt =
|
|
2983
|
+
), Xt = Pn ? (
|
|
2977
2984
|
// Native
|
|
2978
2985
|
function(t, r) {
|
|
2979
2986
|
return t.codePointAt(r);
|
|
@@ -2987,7 +2994,7 @@ var ht = Hn ? (
|
|
|
2987
2994
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2988
2995
|
}
|
|
2989
2996
|
}
|
|
2990
|
-
),
|
|
2997
|
+
), Cn = On ? (
|
|
2991
2998
|
// Native
|
|
2992
2999
|
function(t) {
|
|
2993
3000
|
return t.trimStart();
|
|
@@ -2995,9 +3002,9 @@ var ht = Hn ? (
|
|
|
2995
3002
|
) : (
|
|
2996
3003
|
// Ponyfill
|
|
2997
3004
|
function(t) {
|
|
2998
|
-
return t.replace(
|
|
3005
|
+
return t.replace(Tn, "");
|
|
2999
3006
|
}
|
|
3000
|
-
),
|
|
3007
|
+
), $n = In ? (
|
|
3001
3008
|
// Native
|
|
3002
3009
|
function(t) {
|
|
3003
3010
|
return t.trimEnd();
|
|
@@ -3005,32 +3012,32 @@ var ht = Hn ? (
|
|
|
3005
3012
|
) : (
|
|
3006
3013
|
// Ponyfill
|
|
3007
3014
|
function(t) {
|
|
3008
|
-
return t.replace(
|
|
3015
|
+
return t.replace(Hn, "");
|
|
3009
3016
|
}
|
|
3010
3017
|
);
|
|
3011
3018
|
function Wt(e, t) {
|
|
3012
3019
|
return new RegExp(e, t);
|
|
3013
3020
|
}
|
|
3014
|
-
var
|
|
3015
|
-
if (
|
|
3021
|
+
var Fe;
|
|
3022
|
+
if (Ge) {
|
|
3016
3023
|
var ct = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3017
|
-
|
|
3024
|
+
Fe = function(t, r) {
|
|
3018
3025
|
var n;
|
|
3019
3026
|
ct.lastIndex = r;
|
|
3020
3027
|
var i = ct.exec(t);
|
|
3021
3028
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3022
3029
|
};
|
|
3023
3030
|
} else
|
|
3024
|
-
|
|
3031
|
+
Fe = function(t, r) {
|
|
3025
3032
|
for (var n = []; ; ) {
|
|
3026
3033
|
var i = Xt(t, r);
|
|
3027
|
-
if (i === void 0 || zt(i) ||
|
|
3034
|
+
if (i === void 0 || zt(i) || Dn(i))
|
|
3028
3035
|
break;
|
|
3029
3036
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3030
3037
|
}
|
|
3031
|
-
return
|
|
3038
|
+
return De.apply(void 0, n);
|
|
3032
3039
|
};
|
|
3033
|
-
var
|
|
3040
|
+
var Rn = (
|
|
3034
3041
|
/** @class */
|
|
3035
3042
|
function() {
|
|
3036
3043
|
function e(t, r) {
|
|
@@ -3054,14 +3061,14 @@ var $n = (
|
|
|
3054
3061
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3055
3062
|
var a = this.clonePosition();
|
|
3056
3063
|
this.bump(), i.push({
|
|
3057
|
-
type:
|
|
3064
|
+
type: _.pound,
|
|
3058
3065
|
location: m(a, this.clonePosition())
|
|
3059
3066
|
});
|
|
3060
3067
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3061
3068
|
if (n)
|
|
3062
3069
|
break;
|
|
3063
3070
|
return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3064
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3071
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3065
3072
|
var s = this.parseTag(t, r);
|
|
3066
3073
|
if (s.err)
|
|
3067
3074
|
return s;
|
|
@@ -3082,7 +3089,7 @@ var $n = (
|
|
|
3082
3089
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3083
3090
|
return {
|
|
3084
3091
|
val: {
|
|
3085
|
-
type:
|
|
3092
|
+
type: _.literal,
|
|
3086
3093
|
value: "<".concat(i, "/>"),
|
|
3087
3094
|
location: m(n, this.clonePosition())
|
|
3088
3095
|
},
|
|
@@ -3094,12 +3101,12 @@ var $n = (
|
|
|
3094
3101
|
return o;
|
|
3095
3102
|
var s = o.val, a = this.clonePosition();
|
|
3096
3103
|
if (this.bumpIf("</")) {
|
|
3097
|
-
if (this.isEOF() || !
|
|
3104
|
+
if (this.isEOF() || !je(this.char()))
|
|
3098
3105
|
return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
|
|
3099
3106
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3100
3107
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3101
3108
|
val: {
|
|
3102
|
-
type:
|
|
3109
|
+
type: _.tag,
|
|
3103
3110
|
value: i,
|
|
3104
3111
|
children: s,
|
|
3105
3112
|
location: m(n, this.clonePosition())
|
|
@@ -3112,7 +3119,7 @@ var $n = (
|
|
|
3112
3119
|
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3113
3120
|
}, e.prototype.parseTagName = function() {
|
|
3114
3121
|
var t = this.offset();
|
|
3115
|
-
for (this.bump(); !this.isEOF() &&
|
|
3122
|
+
for (this.bump(); !this.isEOF() && Gn(this.char()); )
|
|
3116
3123
|
this.bump();
|
|
3117
3124
|
return this.message.slice(t, this.offset());
|
|
3118
3125
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3136,12 +3143,12 @@ var $n = (
|
|
|
3136
3143
|
}
|
|
3137
3144
|
var h = m(n, this.clonePosition());
|
|
3138
3145
|
return {
|
|
3139
|
-
val: { type:
|
|
3146
|
+
val: { type: _.literal, value: i, location: h },
|
|
3140
3147
|
err: null
|
|
3141
3148
|
};
|
|
3142
3149
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3143
3150
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3144
|
-
!
|
|
3151
|
+
!Un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3145
3152
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3146
3153
|
if (this.isEOF() || this.char() !== 39)
|
|
3147
3154
|
return null;
|
|
@@ -3175,12 +3182,12 @@ var $n = (
|
|
|
3175
3182
|
r.push(n);
|
|
3176
3183
|
this.bump();
|
|
3177
3184
|
}
|
|
3178
|
-
return
|
|
3185
|
+
return De.apply(void 0, r);
|
|
3179
3186
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3180
3187
|
if (this.isEOF())
|
|
3181
3188
|
return null;
|
|
3182
3189
|
var n = this.char();
|
|
3183
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3190
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
|
|
3184
3191
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3185
3192
|
var n = this.clonePosition();
|
|
3186
3193
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3196,7 +3203,7 @@ var $n = (
|
|
|
3196
3203
|
case 125:
|
|
3197
3204
|
return this.bump(), {
|
|
3198
3205
|
val: {
|
|
3199
|
-
type:
|
|
3206
|
+
type: _.argument,
|
|
3200
3207
|
// value does not include the opening and closing braces.
|
|
3201
3208
|
value: i,
|
|
3202
3209
|
location: m(n, this.clonePosition())
|
|
@@ -3209,7 +3216,7 @@ var $n = (
|
|
|
3209
3216
|
return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3210
3217
|
}
|
|
3211
3218
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3212
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3219
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
3213
3220
|
this.bumpTo(i);
|
|
3214
3221
|
var o = this.clonePosition(), s = m(t, o);
|
|
3215
3222
|
return { value: n, location: s };
|
|
@@ -3228,44 +3235,44 @@ var $n = (
|
|
|
3228
3235
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3229
3236
|
if (f.err)
|
|
3230
3237
|
return f;
|
|
3231
|
-
var c =
|
|
3238
|
+
var c = $n(f.val);
|
|
3232
3239
|
if (c.length === 0)
|
|
3233
3240
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3234
3241
|
var p = m(l, this.clonePosition());
|
|
3235
3242
|
u = { style: c, styleLocation: p };
|
|
3236
3243
|
}
|
|
3237
|
-
var
|
|
3238
|
-
if (
|
|
3239
|
-
return
|
|
3244
|
+
var b = this.tryParseArgumentClose(i);
|
|
3245
|
+
if (b.err)
|
|
3246
|
+
return b;
|
|
3240
3247
|
var v = m(i, this.clonePosition());
|
|
3241
3248
|
if (u && ht(u?.style, "::", 0)) {
|
|
3242
|
-
var H =
|
|
3249
|
+
var H = Cn(u.style.slice(2));
|
|
3243
3250
|
if (a === "number") {
|
|
3244
3251
|
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3245
3252
|
return f.err ? f : {
|
|
3246
|
-
val: { type:
|
|
3253
|
+
val: { type: _.number, value: n, location: v, style: f.val },
|
|
3247
3254
|
err: null
|
|
3248
3255
|
};
|
|
3249
3256
|
} else {
|
|
3250
3257
|
if (H.length === 0)
|
|
3251
3258
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3252
3259
|
var C = H;
|
|
3253
|
-
this.locale && (C =
|
|
3260
|
+
this.locale && (C = En(H, this.locale));
|
|
3254
3261
|
var c = {
|
|
3255
|
-
type:
|
|
3262
|
+
type: X.dateTime,
|
|
3256
3263
|
pattern: C,
|
|
3257
3264
|
location: u.styleLocation,
|
|
3258
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3259
|
-
},
|
|
3265
|
+
parsedOptions: this.shouldParseSkeletons ? mn(C) : {}
|
|
3266
|
+
}, L = a === "date" ? _.date : _.time;
|
|
3260
3267
|
return {
|
|
3261
|
-
val: { type:
|
|
3268
|
+
val: { type: L, value: n, location: v, style: c },
|
|
3262
3269
|
err: null
|
|
3263
3270
|
};
|
|
3264
3271
|
}
|
|
3265
3272
|
}
|
|
3266
3273
|
return {
|
|
3267
3274
|
val: {
|
|
3268
|
-
type: a === "number" ?
|
|
3275
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3269
3276
|
value: n,
|
|
3270
3277
|
location: v,
|
|
3271
3278
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3276,11 +3283,11 @@ var $n = (
|
|
|
3276
3283
|
case "plural":
|
|
3277
3284
|
case "selectordinal":
|
|
3278
3285
|
case "select": {
|
|
3279
|
-
var
|
|
3286
|
+
var E = this.clonePosition();
|
|
3280
3287
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3281
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(
|
|
3288
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(E, g({}, E)));
|
|
3282
3289
|
this.bumpSpace();
|
|
3283
|
-
var $ = this.parseIdentifierIfPossible(),
|
|
3290
|
+
var $ = this.parseIdentifierIfPossible(), w = 0;
|
|
3284
3291
|
if (a !== "select" && $.value === "offset") {
|
|
3285
3292
|
if (!this.bumpIf(":"))
|
|
3286
3293
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
@@ -3288,29 +3295,29 @@ var $n = (
|
|
|
3288
3295
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3289
3296
|
if (f.err)
|
|
3290
3297
|
return f;
|
|
3291
|
-
this.bumpSpace(), $ = this.parseIdentifierIfPossible(),
|
|
3298
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), w = f.val;
|
|
3292
3299
|
}
|
|
3293
|
-
var
|
|
3294
|
-
if (
|
|
3295
|
-
return
|
|
3296
|
-
var
|
|
3297
|
-
if (
|
|
3298
|
-
return
|
|
3300
|
+
var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
|
3301
|
+
if (U.err)
|
|
3302
|
+
return U;
|
|
3303
|
+
var b = this.tryParseArgumentClose(i);
|
|
3304
|
+
if (b.err)
|
|
3305
|
+
return b;
|
|
3299
3306
|
var ae = m(i, this.clonePosition());
|
|
3300
3307
|
return a === "select" ? {
|
|
3301
3308
|
val: {
|
|
3302
|
-
type:
|
|
3309
|
+
type: _.select,
|
|
3303
3310
|
value: n,
|
|
3304
|
-
options: lt(
|
|
3311
|
+
options: lt(U.val),
|
|
3305
3312
|
location: ae
|
|
3306
3313
|
},
|
|
3307
3314
|
err: null
|
|
3308
3315
|
} : {
|
|
3309
3316
|
val: {
|
|
3310
|
-
type:
|
|
3317
|
+
type: _.plural,
|
|
3311
3318
|
value: n,
|
|
3312
|
-
options: lt(
|
|
3313
|
-
offset:
|
|
3319
|
+
options: lt(U.val),
|
|
3320
|
+
offset: w,
|
|
3314
3321
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3315
3322
|
location: ae
|
|
3316
3323
|
},
|
|
@@ -3360,13 +3367,13 @@ var $n = (
|
|
|
3360
3367
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3361
3368
|
var n = [];
|
|
3362
3369
|
try {
|
|
3363
|
-
n =
|
|
3370
|
+
n = gn(t);
|
|
3364
3371
|
} catch {
|
|
3365
3372
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3366
3373
|
}
|
|
3367
3374
|
return {
|
|
3368
3375
|
val: {
|
|
3369
|
-
type:
|
|
3376
|
+
type: X.number,
|
|
3370
3377
|
tokens: n,
|
|
3371
3378
|
location: r,
|
|
3372
3379
|
parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
|
|
@@ -3391,16 +3398,16 @@ var $n = (
|
|
|
3391
3398
|
var p = this.clonePosition();
|
|
3392
3399
|
if (!this.bumpIf("{"))
|
|
3393
3400
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3394
|
-
var
|
|
3395
|
-
if (
|
|
3396
|
-
return
|
|
3401
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3402
|
+
if (b.err)
|
|
3403
|
+
return b;
|
|
3397
3404
|
var v = this.tryParseArgumentClose(p);
|
|
3398
3405
|
if (v.err)
|
|
3399
3406
|
return v;
|
|
3400
3407
|
a.push([
|
|
3401
3408
|
u,
|
|
3402
3409
|
{
|
|
3403
|
-
value:
|
|
3410
|
+
value: b.val,
|
|
3404
3411
|
location: m(p, this.clonePosition())
|
|
3405
3412
|
}
|
|
3406
3413
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
@@ -3417,7 +3424,7 @@ var $n = (
|
|
|
3417
3424
|
break;
|
|
3418
3425
|
}
|
|
3419
3426
|
var h = m(i, this.clonePosition());
|
|
3420
|
-
return o ? (s *= n,
|
|
3427
|
+
return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3421
3428
|
}, e.prototype.offset = function() {
|
|
3422
3429
|
return this.position.offset;
|
|
3423
3430
|
}, e.prototype.isEOF = function() {
|
|
@@ -3483,46 +3490,46 @@ var $n = (
|
|
|
3483
3490
|
}, e;
|
|
3484
3491
|
}()
|
|
3485
3492
|
);
|
|
3486
|
-
function
|
|
3493
|
+
function je(e) {
|
|
3487
3494
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3488
3495
|
}
|
|
3489
|
-
function Rn(e) {
|
|
3490
|
-
return Fe(e) || e === 47;
|
|
3491
|
-
}
|
|
3492
3496
|
function Un(e) {
|
|
3497
|
+
return je(e) || e === 47;
|
|
3498
|
+
}
|
|
3499
|
+
function Gn(e) {
|
|
3493
3500
|
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;
|
|
3494
3501
|
}
|
|
3495
3502
|
function zt(e) {
|
|
3496
3503
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3497
3504
|
}
|
|
3498
|
-
function
|
|
3505
|
+
function Dn(e) {
|
|
3499
3506
|
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;
|
|
3500
3507
|
}
|
|
3501
|
-
function
|
|
3508
|
+
function ke(e) {
|
|
3502
3509
|
e.forEach(function(t) {
|
|
3503
3510
|
if (delete t.location, Rt(t) || Ut(t))
|
|
3504
3511
|
for (var r in t.options)
|
|
3505
|
-
delete t.options[r].location,
|
|
3506
|
-
else Mt(t) && Dt(t.style) || (Ct(t) || $t(t)) &&
|
|
3512
|
+
delete t.options[r].location, ke(t.options[r].value);
|
|
3513
|
+
else Mt(t) && Dt(t.style) || (Ct(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Gt(t) && ke(t.children);
|
|
3507
3514
|
});
|
|
3508
3515
|
}
|
|
3509
|
-
function
|
|
3516
|
+
function Fn(e, t) {
|
|
3510
3517
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3511
|
-
var r = new
|
|
3518
|
+
var r = new Rn(e, t).parse();
|
|
3512
3519
|
if (r.err) {
|
|
3513
3520
|
var n = SyntaxError(d[r.err.kind]);
|
|
3514
3521
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3515
3522
|
}
|
|
3516
|
-
return t?.captureLocation ||
|
|
3523
|
+
return t?.captureLocation || ke(r.val), r.val;
|
|
3517
3524
|
}
|
|
3518
|
-
var
|
|
3525
|
+
var W;
|
|
3519
3526
|
(function(e) {
|
|
3520
3527
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3521
|
-
})(
|
|
3528
|
+
})(W || (W = {}));
|
|
3522
3529
|
var ve = (
|
|
3523
3530
|
/** @class */
|
|
3524
3531
|
function(e) {
|
|
3525
|
-
|
|
3532
|
+
I(t, e);
|
|
3526
3533
|
function t(r, n, i) {
|
|
3527
3534
|
var o = e.call(this, r) || this;
|
|
3528
3535
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3534,48 +3541,48 @@ var ve = (
|
|
|
3534
3541
|
), ft = (
|
|
3535
3542
|
/** @class */
|
|
3536
3543
|
function(e) {
|
|
3537
|
-
|
|
3544
|
+
I(t, e);
|
|
3538
3545
|
function t(r, n, i, o) {
|
|
3539
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3546
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3540
3547
|
}
|
|
3541
3548
|
return t;
|
|
3542
3549
|
}(ve)
|
|
3543
|
-
),
|
|
3550
|
+
), jn = (
|
|
3544
3551
|
/** @class */
|
|
3545
3552
|
function(e) {
|
|
3546
|
-
|
|
3553
|
+
I(t, e);
|
|
3547
3554
|
function t(r, n, i) {
|
|
3548
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3555
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3549
3556
|
}
|
|
3550
3557
|
return t;
|
|
3551
3558
|
}(ve)
|
|
3552
|
-
),
|
|
3559
|
+
), kn = (
|
|
3553
3560
|
/** @class */
|
|
3554
3561
|
function(e) {
|
|
3555
|
-
|
|
3562
|
+
I(t, e);
|
|
3556
3563
|
function t(r, n) {
|
|
3557
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3564
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3558
3565
|
}
|
|
3559
3566
|
return t;
|
|
3560
3567
|
}(ve)
|
|
3561
|
-
),
|
|
3568
|
+
), x;
|
|
3562
3569
|
(function(e) {
|
|
3563
3570
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3564
|
-
})(
|
|
3565
|
-
function
|
|
3571
|
+
})(x || (x = {}));
|
|
3572
|
+
function Vn(e) {
|
|
3566
3573
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3567
3574
|
var n = t[t.length - 1];
|
|
3568
|
-
return !n || n.type !==
|
|
3575
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3569
3576
|
}, []);
|
|
3570
3577
|
}
|
|
3571
|
-
function
|
|
3578
|
+
function Xn(e) {
|
|
3572
3579
|
return typeof e == "function";
|
|
3573
3580
|
}
|
|
3574
3581
|
function fe(e, t, r, n, i, o, s) {
|
|
3575
3582
|
if (e.length === 1 && ot(e[0]))
|
|
3576
3583
|
return [
|
|
3577
3584
|
{
|
|
3578
|
-
type:
|
|
3585
|
+
type: x.literal,
|
|
3579
3586
|
value: e[0].value
|
|
3580
3587
|
}
|
|
3581
3588
|
];
|
|
@@ -3583,41 +3590,41 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3583
3590
|
var l = u[h];
|
|
3584
3591
|
if (ot(l)) {
|
|
3585
3592
|
a.push({
|
|
3586
|
-
type:
|
|
3593
|
+
type: x.literal,
|
|
3587
3594
|
value: l.value
|
|
3588
3595
|
});
|
|
3589
3596
|
continue;
|
|
3590
3597
|
}
|
|
3591
|
-
if (
|
|
3598
|
+
if (pn(l)) {
|
|
3592
3599
|
typeof o == "number" && a.push({
|
|
3593
|
-
type:
|
|
3600
|
+
type: x.literal,
|
|
3594
3601
|
value: r.getNumberFormat(t).format(o)
|
|
3595
3602
|
});
|
|
3596
3603
|
continue;
|
|
3597
3604
|
}
|
|
3598
3605
|
var f = l.value;
|
|
3599
3606
|
if (!(i && f in i))
|
|
3600
|
-
throw new
|
|
3607
|
+
throw new kn(f, s);
|
|
3601
3608
|
var c = i[f];
|
|
3602
|
-
if (
|
|
3609
|
+
if (fn(l)) {
|
|
3603
3610
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3604
|
-
type: typeof c == "string" ?
|
|
3611
|
+
type: typeof c == "string" ? x.literal : x.object,
|
|
3605
3612
|
value: c
|
|
3606
3613
|
});
|
|
3607
3614
|
continue;
|
|
3608
3615
|
}
|
|
3609
3616
|
if (Ct(l)) {
|
|
3610
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3617
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
|
|
3611
3618
|
a.push({
|
|
3612
|
-
type:
|
|
3619
|
+
type: x.literal,
|
|
3613
3620
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3614
3621
|
});
|
|
3615
3622
|
continue;
|
|
3616
3623
|
}
|
|
3617
3624
|
if ($t(l)) {
|
|
3618
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3625
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3619
3626
|
a.push({
|
|
3620
|
-
type:
|
|
3627
|
+
type: x.literal,
|
|
3621
3628
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3622
3629
|
});
|
|
3623
3630
|
continue;
|
|
@@ -3625,61 +3632,61 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3625
3632
|
if (Mt(l)) {
|
|
3626
3633
|
var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
3627
3634
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3628
|
-
type:
|
|
3635
|
+
type: x.literal,
|
|
3629
3636
|
value: r.getNumberFormat(t, p).format(c)
|
|
3630
3637
|
});
|
|
3631
3638
|
continue;
|
|
3632
3639
|
}
|
|
3633
3640
|
if (Gt(l)) {
|
|
3634
|
-
var
|
|
3635
|
-
if (!
|
|
3636
|
-
throw new
|
|
3637
|
-
var C = fe(
|
|
3638
|
-
return
|
|
3641
|
+
var b = l.children, v = l.value, H = i[v];
|
|
3642
|
+
if (!Xn(H))
|
|
3643
|
+
throw new jn(v, "function", s);
|
|
3644
|
+
var C = fe(b, t, r, n, i, o), L = H(C.map(function(w) {
|
|
3645
|
+
return w.value;
|
|
3639
3646
|
}));
|
|
3640
|
-
Array.isArray(
|
|
3647
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(w) {
|
|
3641
3648
|
return {
|
|
3642
|
-
type: typeof
|
|
3643
|
-
value:
|
|
3649
|
+
type: typeof w == "string" ? x.literal : x.object,
|
|
3650
|
+
value: w
|
|
3644
3651
|
};
|
|
3645
3652
|
}));
|
|
3646
3653
|
}
|
|
3647
3654
|
if (Rt(l)) {
|
|
3648
|
-
var
|
|
3649
|
-
if (!
|
|
3655
|
+
var E = l.options[c] || l.options.other;
|
|
3656
|
+
if (!E)
|
|
3650
3657
|
throw new ft(l.value, c, Object.keys(l.options), s);
|
|
3651
|
-
a.push.apply(a, fe(
|
|
3658
|
+
a.push.apply(a, fe(E.value, t, r, n, i));
|
|
3652
3659
|
continue;
|
|
3653
3660
|
}
|
|
3654
3661
|
if (Ut(l)) {
|
|
3655
|
-
var
|
|
3656
|
-
if (!
|
|
3662
|
+
var E = l.options["=".concat(c)];
|
|
3663
|
+
if (!E) {
|
|
3657
3664
|
if (!Intl.PluralRules)
|
|
3658
3665
|
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3659
3666
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3660
|
-
`,
|
|
3667
|
+
`, W.MISSING_INTL_API, s);
|
|
3661
3668
|
var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3662
|
-
|
|
3669
|
+
E = l.options[$] || l.options.other;
|
|
3663
3670
|
}
|
|
3664
|
-
if (!
|
|
3671
|
+
if (!E)
|
|
3665
3672
|
throw new ft(l.value, c, Object.keys(l.options), s);
|
|
3666
|
-
a.push.apply(a, fe(
|
|
3673
|
+
a.push.apply(a, fe(E.value, t, r, n, i, c - (l.offset || 0)));
|
|
3667
3674
|
continue;
|
|
3668
3675
|
}
|
|
3669
3676
|
}
|
|
3670
|
-
return
|
|
3677
|
+
return Vn(a);
|
|
3671
3678
|
}
|
|
3672
|
-
function
|
|
3679
|
+
function Wn(e, t) {
|
|
3673
3680
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3674
3681
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3675
3682
|
}, {})) : e;
|
|
3676
3683
|
}
|
|
3677
|
-
function
|
|
3684
|
+
function zn(e, t) {
|
|
3678
3685
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3679
|
-
return r[n] =
|
|
3686
|
+
return r[n] = Wn(e[n], t[n]), r;
|
|
3680
3687
|
}, g({}, e)) : e;
|
|
3681
3688
|
}
|
|
3682
|
-
function
|
|
3689
|
+
function we(e) {
|
|
3683
3690
|
return {
|
|
3684
3691
|
create: function() {
|
|
3685
3692
|
return {
|
|
@@ -3693,39 +3700,39 @@ function Ae(e) {
|
|
|
3693
3700
|
}
|
|
3694
3701
|
};
|
|
3695
3702
|
}
|
|
3696
|
-
function
|
|
3703
|
+
function Zn(e) {
|
|
3697
3704
|
return e === void 0 && (e = {
|
|
3698
3705
|
number: {},
|
|
3699
3706
|
dateTime: {},
|
|
3700
3707
|
pluralRules: {}
|
|
3701
3708
|
}), {
|
|
3702
|
-
getNumberFormat:
|
|
3709
|
+
getNumberFormat: He(function() {
|
|
3703
3710
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3704
3711
|
r[n] = arguments[n];
|
|
3705
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3712
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3706
3713
|
}, {
|
|
3707
|
-
cache:
|
|
3708
|
-
strategy:
|
|
3714
|
+
cache: we(e.number),
|
|
3715
|
+
strategy: Be.variadic
|
|
3709
3716
|
}),
|
|
3710
|
-
getDateTimeFormat:
|
|
3717
|
+
getDateTimeFormat: He(function() {
|
|
3711
3718
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3712
3719
|
r[n] = arguments[n];
|
|
3713
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3720
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3714
3721
|
}, {
|
|
3715
|
-
cache:
|
|
3716
|
-
strategy:
|
|
3722
|
+
cache: we(e.dateTime),
|
|
3723
|
+
strategy: Be.variadic
|
|
3717
3724
|
}),
|
|
3718
|
-
getPluralRules:
|
|
3725
|
+
getPluralRules: He(function() {
|
|
3719
3726
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3720
3727
|
r[n] = arguments[n];
|
|
3721
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3728
|
+
return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
|
|
3722
3729
|
}, {
|
|
3723
|
-
cache:
|
|
3724
|
-
strategy:
|
|
3730
|
+
cache: we(e.pluralRules),
|
|
3731
|
+
strategy: Be.variadic
|
|
3725
3732
|
})
|
|
3726
3733
|
};
|
|
3727
3734
|
}
|
|
3728
|
-
var
|
|
3735
|
+
var Qn = (
|
|
3729
3736
|
/** @class */
|
|
3730
3737
|
function() {
|
|
3731
3738
|
function e(t, r, n, i) {
|
|
@@ -3740,7 +3747,7 @@ var Zn = (
|
|
|
3740
3747
|
if (u.length === 1)
|
|
3741
3748
|
return u[0].value;
|
|
3742
3749
|
var l = u.reduce(function(f, c) {
|
|
3743
|
-
return !f.length || c.type !==
|
|
3750
|
+
return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3744
3751
|
}, []);
|
|
3745
3752
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3746
3753
|
}, this.formatToParts = function(h) {
|
|
@@ -3757,13 +3764,13 @@ var Zn = (
|
|
|
3757
3764
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3758
3765
|
var s = i || {};
|
|
3759
3766
|
s.formatters;
|
|
3760
|
-
var a =
|
|
3767
|
+
var a = Br(s, ["formatters"]);
|
|
3761
3768
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3762
3769
|
} else
|
|
3763
3770
|
this.ast = t;
|
|
3764
3771
|
if (!Array.isArray(this.ast))
|
|
3765
3772
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3766
|
-
this.formats =
|
|
3773
|
+
this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
|
|
3767
3774
|
}
|
|
3768
3775
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3769
3776
|
get: function() {
|
|
@@ -3776,7 +3783,7 @@ var Zn = (
|
|
|
3776
3783
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3777
3784
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3778
3785
|
}
|
|
3779
|
-
}, e.__parse =
|
|
3786
|
+
}, e.__parse = Fn, e.formats = {
|
|
3780
3787
|
number: {
|
|
3781
3788
|
integer: {
|
|
3782
3789
|
maximumFractionDigits: 0
|
|
@@ -3837,7 +3844,7 @@ var Zn = (
|
|
|
3837
3844
|
}, e;
|
|
3838
3845
|
}()
|
|
3839
3846
|
);
|
|
3840
|
-
function
|
|
3847
|
+
function Jn(e, t) {
|
|
3841
3848
|
if (t == null)
|
|
3842
3849
|
return;
|
|
3843
3850
|
if (t in e)
|
|
@@ -3858,36 +3865,36 @@ function Qn(e, t) {
|
|
|
3858
3865
|
n = void 0;
|
|
3859
3866
|
return n;
|
|
3860
3867
|
}
|
|
3861
|
-
const M = {},
|
|
3868
|
+
const M = {}, Yn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Zt = (e, t) => {
|
|
3862
3869
|
if (t == null)
|
|
3863
3870
|
return;
|
|
3864
3871
|
if (t in M && e in M[t])
|
|
3865
3872
|
return M[t][e];
|
|
3866
|
-
const r =
|
|
3873
|
+
const r = _e(t);
|
|
3867
3874
|
for (let n = 0; n < r.length; n++) {
|
|
3868
|
-
const i = r[n], o =
|
|
3875
|
+
const i = r[n], o = Kn(i, e);
|
|
3869
3876
|
if (o)
|
|
3870
|
-
return
|
|
3877
|
+
return Yn(e, t, o);
|
|
3871
3878
|
}
|
|
3872
3879
|
};
|
|
3873
3880
|
let ze;
|
|
3874
3881
|
const se = ye({});
|
|
3875
|
-
function
|
|
3882
|
+
function qn(e) {
|
|
3876
3883
|
return ze[e] || null;
|
|
3877
3884
|
}
|
|
3878
3885
|
function Qt(e) {
|
|
3879
3886
|
return e in ze;
|
|
3880
3887
|
}
|
|
3881
|
-
function
|
|
3888
|
+
function Kn(e, t) {
|
|
3882
3889
|
if (!Qt(e))
|
|
3883
3890
|
return null;
|
|
3884
|
-
const r =
|
|
3885
|
-
return
|
|
3891
|
+
const r = qn(e);
|
|
3892
|
+
return Jn(r, t);
|
|
3886
3893
|
}
|
|
3887
|
-
function
|
|
3894
|
+
function ei(e) {
|
|
3888
3895
|
if (e == null)
|
|
3889
3896
|
return;
|
|
3890
|
-
const t =
|
|
3897
|
+
const t = _e(e);
|
|
3891
3898
|
for (let r = 0; r < t.length; r++) {
|
|
3892
3899
|
const n = t[r];
|
|
3893
3900
|
if (Qt(n))
|
|
@@ -3895,55 +3902,55 @@ function Kn(e) {
|
|
|
3895
3902
|
}
|
|
3896
3903
|
}
|
|
3897
3904
|
function Jt(e, ...t) {
|
|
3898
|
-
delete M[e], se.update((r) => (r[e] =
|
|
3905
|
+
delete M[e], se.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
3899
3906
|
}
|
|
3900
|
-
|
|
3907
|
+
Q(
|
|
3901
3908
|
[se],
|
|
3902
3909
|
([e]) => Object.keys(e)
|
|
3903
3910
|
);
|
|
3904
3911
|
se.subscribe((e) => ze = e);
|
|
3905
3912
|
const pe = {};
|
|
3906
|
-
function
|
|
3913
|
+
function ti(e, t) {
|
|
3907
3914
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3908
3915
|
}
|
|
3909
3916
|
function Yt(e) {
|
|
3910
3917
|
return pe[e];
|
|
3911
3918
|
}
|
|
3912
|
-
function
|
|
3913
|
-
return
|
|
3919
|
+
function ri(e) {
|
|
3920
|
+
return _e(e).map((t) => {
|
|
3914
3921
|
const r = Yt(t);
|
|
3915
3922
|
return [t, r ? [...r] : []];
|
|
3916
3923
|
}).filter(([, t]) => t.length > 0);
|
|
3917
3924
|
}
|
|
3918
|
-
function
|
|
3919
|
-
return e == null ? !1 :
|
|
3925
|
+
function Ve(e) {
|
|
3926
|
+
return e == null ? !1 : _e(e).some(
|
|
3920
3927
|
(t) => {
|
|
3921
3928
|
var r;
|
|
3922
3929
|
return (r = Yt(t)) == null ? void 0 : r.size;
|
|
3923
3930
|
}
|
|
3924
3931
|
);
|
|
3925
3932
|
}
|
|
3926
|
-
function
|
|
3933
|
+
function ni(e, t) {
|
|
3927
3934
|
return Promise.all(
|
|
3928
|
-
t.map((n) => (
|
|
3935
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
3929
3936
|
).then((n) => Jt(e, ...n));
|
|
3930
3937
|
}
|
|
3931
|
-
const
|
|
3938
|
+
const K = {};
|
|
3932
3939
|
function qt(e) {
|
|
3933
|
-
if (!
|
|
3934
|
-
return e in
|
|
3935
|
-
const t =
|
|
3936
|
-
return
|
|
3940
|
+
if (!Ve(e))
|
|
3941
|
+
return e in K ? K[e] : Promise.resolve();
|
|
3942
|
+
const t = ri(e);
|
|
3943
|
+
return K[e] = Promise.all(
|
|
3937
3944
|
t.map(
|
|
3938
|
-
([r, n]) =>
|
|
3945
|
+
([r, n]) => ni(r, n)
|
|
3939
3946
|
)
|
|
3940
3947
|
).then(() => {
|
|
3941
|
-
if (
|
|
3948
|
+
if (Ve(e))
|
|
3942
3949
|
return qt(e);
|
|
3943
|
-
delete
|
|
3944
|
-
}),
|
|
3950
|
+
delete K[e];
|
|
3951
|
+
}), K[e];
|
|
3945
3952
|
}
|
|
3946
|
-
const
|
|
3953
|
+
const ii = {
|
|
3947
3954
|
number: {
|
|
3948
3955
|
scientific: { notation: "scientific" },
|
|
3949
3956
|
engineering: { notation: "engineering" },
|
|
@@ -3972,72 +3979,72 @@ const ni = {
|
|
|
3972
3979
|
timeZoneName: "short"
|
|
3973
3980
|
}
|
|
3974
3981
|
}
|
|
3975
|
-
},
|
|
3982
|
+
}, oi = {
|
|
3976
3983
|
fallbackLocale: null,
|
|
3977
3984
|
loadingDelay: 200,
|
|
3978
|
-
formats:
|
|
3985
|
+
formats: ii,
|
|
3979
3986
|
warnOnMissingMessages: !0,
|
|
3980
3987
|
handleMissingMessage: void 0,
|
|
3981
3988
|
ignoreTag: !0
|
|
3982
|
-
},
|
|
3983
|
-
function
|
|
3984
|
-
return
|
|
3989
|
+
}, si = oi;
|
|
3990
|
+
function z() {
|
|
3991
|
+
return si;
|
|
3985
3992
|
}
|
|
3986
|
-
const
|
|
3987
|
-
var
|
|
3993
|
+
const Pe = ye(!1);
|
|
3994
|
+
var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
|
|
3988
3995
|
for (var r in t || (t = {}))
|
|
3989
|
-
|
|
3996
|
+
li.call(t, r) && dt(e, r, t[r]);
|
|
3990
3997
|
if (pt)
|
|
3991
3998
|
for (var r of pt(t))
|
|
3992
|
-
|
|
3999
|
+
ci.call(t, r) && dt(e, r, t[r]);
|
|
3993
4000
|
return e;
|
|
3994
|
-
},
|
|
3995
|
-
let
|
|
4001
|
+
}, pi = (e, t) => ui(e, hi(t));
|
|
4002
|
+
let Xe;
|
|
3996
4003
|
const de = ye(null);
|
|
3997
4004
|
function mt(e) {
|
|
3998
4005
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3999
4006
|
}
|
|
4000
|
-
function
|
|
4007
|
+
function _e(e, t = z().fallbackLocale) {
|
|
4001
4008
|
const r = mt(e);
|
|
4002
4009
|
return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
|
|
4003
4010
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4011
|
+
function R() {
|
|
4012
|
+
return Xe ?? void 0;
|
|
4006
4013
|
}
|
|
4007
4014
|
de.subscribe((e) => {
|
|
4008
|
-
|
|
4015
|
+
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4009
4016
|
});
|
|
4010
|
-
const
|
|
4011
|
-
if (e &&
|
|
4012
|
-
const { loadingDelay: t } =
|
|
4017
|
+
const di = (e) => {
|
|
4018
|
+
if (e && ei(e) && Ve(e)) {
|
|
4019
|
+
const { loadingDelay: t } = z();
|
|
4013
4020
|
let r;
|
|
4014
|
-
return typeof window < "u" &&
|
|
4015
|
-
() =>
|
|
4021
|
+
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
4022
|
+
() => Pe.set(!0),
|
|
4016
4023
|
t
|
|
4017
|
-
) :
|
|
4024
|
+
) : Pe.set(!0), qt(e).then(() => {
|
|
4018
4025
|
de.set(e);
|
|
4019
4026
|
}).finally(() => {
|
|
4020
|
-
clearTimeout(r),
|
|
4027
|
+
clearTimeout(r), Pe.set(!1);
|
|
4021
4028
|
});
|
|
4022
4029
|
}
|
|
4023
4030
|
return de.set(e);
|
|
4024
|
-
},
|
|
4025
|
-
set:
|
|
4026
|
-
}),
|
|
4031
|
+
}, J = pi(fi({}, de), {
|
|
4032
|
+
set: di
|
|
4033
|
+
}), xe = (e) => {
|
|
4027
4034
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4028
4035
|
return (n) => {
|
|
4029
4036
|
const i = JSON.stringify(n);
|
|
4030
4037
|
return i in t ? t[i] : t[i] = e(n);
|
|
4031
4038
|
};
|
|
4032
4039
|
};
|
|
4033
|
-
var
|
|
4040
|
+
var mi = Object.defineProperty, me = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
4034
4041
|
for (var r in t || (t = {}))
|
|
4035
4042
|
Kt.call(t, r) && bt(e, r, t[r]);
|
|
4036
4043
|
if (me)
|
|
4037
4044
|
for (var r of me(t))
|
|
4038
4045
|
er.call(t, r) && bt(e, r, t[r]);
|
|
4039
4046
|
return e;
|
|
4040
|
-
},
|
|
4047
|
+
}, Y = (e, t) => {
|
|
4041
4048
|
var r = {};
|
|
4042
4049
|
for (var n in e)
|
|
4043
4050
|
Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4047,66 +4054,66 @@ var di = Object.defineProperty, me = Object.getOwnPropertySymbols, Kt = Object.p
|
|
|
4047
4054
|
return r;
|
|
4048
4055
|
};
|
|
4049
4056
|
const ne = (e, t) => {
|
|
4050
|
-
const { formats: r } =
|
|
4057
|
+
const { formats: r } = z();
|
|
4051
4058
|
if (e in r && t in r[e])
|
|
4052
4059
|
return r[e][t];
|
|
4053
4060
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4054
|
-
},
|
|
4061
|
+
}, bi = xe(
|
|
4055
4062
|
(e) => {
|
|
4056
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4063
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4057
4064
|
if (r == null)
|
|
4058
4065
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4059
4066
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4060
4067
|
}
|
|
4061
|
-
),
|
|
4068
|
+
), gi = xe(
|
|
4062
4069
|
(e) => {
|
|
4063
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4070
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4064
4071
|
if (r == null)
|
|
4065
4072
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4066
4073
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4067
4074
|
}
|
|
4068
|
-
),
|
|
4075
|
+
), yi = xe(
|
|
4069
4076
|
(e) => {
|
|
4070
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4077
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4071
4078
|
if (r == null)
|
|
4072
4079
|
throw new Error(
|
|
4073
4080
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4074
4081
|
);
|
|
4075
4082
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4076
4083
|
}
|
|
4077
|
-
),
|
|
4084
|
+
), vi = (e = {}) => {
|
|
4078
4085
|
var t = e, {
|
|
4079
|
-
locale: r =
|
|
4080
|
-
} = t, n =
|
|
4086
|
+
locale: r = R()
|
|
4087
|
+
} = t, n = Y(t, [
|
|
4081
4088
|
"locale"
|
|
4082
4089
|
]);
|
|
4083
|
-
return
|
|
4084
|
-
},
|
|
4090
|
+
return bi(Ze({ locale: r }, n));
|
|
4091
|
+
}, _i = (e = {}) => {
|
|
4085
4092
|
var t = e, {
|
|
4086
|
-
locale: r =
|
|
4087
|
-
} = t, n =
|
|
4093
|
+
locale: r = R()
|
|
4094
|
+
} = t, n = Y(t, [
|
|
4088
4095
|
"locale"
|
|
4089
4096
|
]);
|
|
4090
|
-
return
|
|
4097
|
+
return gi(Ze({ locale: r }, n));
|
|
4091
4098
|
}, xi = (e = {}) => {
|
|
4092
4099
|
var t = e, {
|
|
4093
|
-
locale: r =
|
|
4094
|
-
} = t, n =
|
|
4100
|
+
locale: r = R()
|
|
4101
|
+
} = t, n = Y(t, [
|
|
4095
4102
|
"locale"
|
|
4096
4103
|
]);
|
|
4097
|
-
return
|
|
4098
|
-
},
|
|
4104
|
+
return yi(Ze({ locale: r }, n));
|
|
4105
|
+
}, Ei = xe(
|
|
4099
4106
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4100
|
-
(e, t =
|
|
4101
|
-
ignoreTag:
|
|
4107
|
+
(e, t = R()) => new Qn(e, t, z().formats, {
|
|
4108
|
+
ignoreTag: z().ignoreTag
|
|
4102
4109
|
})
|
|
4103
|
-
),
|
|
4110
|
+
), Si = (e, t = {}) => {
|
|
4104
4111
|
var r, n, i, o;
|
|
4105
4112
|
let s = t;
|
|
4106
4113
|
typeof e == "object" && (s = e, e = s.id);
|
|
4107
4114
|
const {
|
|
4108
4115
|
values: a,
|
|
4109
|
-
locale: h =
|
|
4116
|
+
locale: h = R(),
|
|
4110
4117
|
default: u
|
|
4111
4118
|
} = s;
|
|
4112
4119
|
if (h == null)
|
|
@@ -4115,7 +4122,7 @@ const ne = (e, t) => {
|
|
|
4115
4122
|
);
|
|
4116
4123
|
let l = Zt(e, h);
|
|
4117
4124
|
if (!l)
|
|
4118
|
-
l = (o = (i = (n = (r =
|
|
4125
|
+
l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4119
4126
|
else if (typeof l != "string")
|
|
4120
4127
|
return console.warn(
|
|
4121
4128
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4124,7 +4131,7 @@ const ne = (e, t) => {
|
|
|
4124
4131
|
return l;
|
|
4125
4132
|
let f = l;
|
|
4126
4133
|
try {
|
|
4127
|
-
f =
|
|
4134
|
+
f = Ei(l, h).format(a);
|
|
4128
4135
|
} catch (c) {
|
|
4129
4136
|
c instanceof Error && console.warn(
|
|
4130
4137
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4132,18 +4139,18 @@ const ne = (e, t) => {
|
|
|
4132
4139
|
);
|
|
4133
4140
|
}
|
|
4134
4141
|
return f;
|
|
4135
|
-
},
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
window.emWidgets = { topic:
|
|
4141
|
-
const
|
|
4142
|
+
}, Ti = (e, t) => xi(t).format(e), Hi = (e, t) => _i(t).format(e), Bi = (e, t) => vi(t).format(e), Ai = (e, t = R()) => Zt(e, t), wi = Q([J, se], () => Si);
|
|
4143
|
+
Q([J], () => Ti);
|
|
4144
|
+
Q([J], () => Hi);
|
|
4145
|
+
Q([J], () => Bi);
|
|
4146
|
+
Q([J, se], () => Ai);
|
|
4147
|
+
window.emWidgets = { topic: Dr };
|
|
4148
|
+
const Pi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4142
4149
|
function gt(e, t) {
|
|
4143
4150
|
Jt(e, t);
|
|
4144
4151
|
}
|
|
4145
|
-
function
|
|
4146
|
-
|
|
4152
|
+
function Oi(e) {
|
|
4153
|
+
J.set(e);
|
|
4147
4154
|
}
|
|
4148
4155
|
const yt = {
|
|
4149
4156
|
en: {
|
|
@@ -4180,24 +4187,33 @@ const yt = {
|
|
|
4180
4187
|
logoutButton: "Logout"
|
|
4181
4188
|
}
|
|
4182
4189
|
};
|
|
4183
|
-
function
|
|
4184
|
-
|
|
4190
|
+
function Ii(e, t) {
|
|
4191
|
+
const r = new URL(t);
|
|
4192
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4193
|
+
const i = document.createElement("style");
|
|
4194
|
+
i.innerHTML = n;
|
|
4195
|
+
}).catch((n) => {
|
|
4196
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4197
|
+
});
|
|
4185
4198
|
}
|
|
4186
|
-
function
|
|
4199
|
+
function Li(e) {
|
|
4200
|
+
ir(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4201
|
+
}
|
|
4202
|
+
function Ni(e) {
|
|
4187
4203
|
let t, r, n, i = (
|
|
4188
4204
|
/*$_*/
|
|
4189
4205
|
e[2]("logoutButton") + ""
|
|
4190
4206
|
), o, s, a;
|
|
4191
4207
|
return {
|
|
4192
4208
|
c() {
|
|
4193
|
-
t =
|
|
4209
|
+
t = P("div"), r = P("button"), n = P("span"), o = be(i), T(t, "class", "GeneralLogout");
|
|
4194
4210
|
},
|
|
4195
4211
|
m(h, u) {
|
|
4196
|
-
oe(h, t, u),
|
|
4212
|
+
oe(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Et(
|
|
4197
4213
|
r,
|
|
4198
4214
|
"click",
|
|
4199
4215
|
/*click_handler_1*/
|
|
4200
|
-
e[
|
|
4216
|
+
e[14]
|
|
4201
4217
|
), s = !0);
|
|
4202
4218
|
},
|
|
4203
4219
|
p(h, u) {
|
|
@@ -4206,16 +4222,16 @@ function Ii(e) {
|
|
|
4206
4222
|
h[2]("logoutButton") + "") && St(o, i);
|
|
4207
4223
|
},
|
|
4208
4224
|
d(h) {
|
|
4209
|
-
h &&
|
|
4225
|
+
h && Z(t), s = !1, a();
|
|
4210
4226
|
}
|
|
4211
4227
|
};
|
|
4212
4228
|
}
|
|
4213
|
-
function
|
|
4229
|
+
function Mi(e) {
|
|
4214
4230
|
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4215
|
-
e[3] &&
|
|
4231
|
+
e[3] && Ci(e);
|
|
4216
4232
|
return {
|
|
4217
4233
|
c() {
|
|
4218
|
-
t =
|
|
4234
|
+
t = P("p"), r = P("span"), n = q("svg"), i = q("defs"), o = q("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = q("path"), h = q("path"), u = ar(), c && c.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), hr(r, "width", /*isMobile*/
|
|
4219
4235
|
e[3] ? (
|
|
4220
4236
|
/*mediaQuery*/
|
|
4221
4237
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4224,34 +4240,34 @@ function Li(e) {
|
|
|
4224
4240
|
(e[4].matches && /*isMobile*/
|
|
4225
4241
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4226
4242
|
},
|
|
4227
|
-
m(p,
|
|
4228
|
-
oe(p, t,
|
|
4243
|
+
m(p, b) {
|
|
4244
|
+
oe(p, t, b), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = Et(
|
|
4229
4245
|
t,
|
|
4230
4246
|
"click",
|
|
4231
4247
|
/*click_handler*/
|
|
4232
|
-
e[
|
|
4248
|
+
e[13]
|
|
4233
4249
|
), l = !0);
|
|
4234
4250
|
},
|
|
4235
|
-
p(p,
|
|
4251
|
+
p(p, b) {
|
|
4236
4252
|
/*isMobile*/
|
|
4237
|
-
p[3] || c.p(p,
|
|
4253
|
+
p[3] || c.p(p, b);
|
|
4238
4254
|
},
|
|
4239
4255
|
d(p) {
|
|
4240
|
-
p &&
|
|
4256
|
+
p && Z(t), c && c.d(), l = !1, f();
|
|
4241
4257
|
}
|
|
4242
4258
|
};
|
|
4243
4259
|
}
|
|
4244
|
-
function
|
|
4260
|
+
function Ci(e) {
|
|
4245
4261
|
let t, r = (
|
|
4246
4262
|
/*$_*/
|
|
4247
4263
|
e[2]("logoutButton") + ""
|
|
4248
4264
|
), n;
|
|
4249
4265
|
return {
|
|
4250
4266
|
c() {
|
|
4251
|
-
t =
|
|
4267
|
+
t = P("span"), n = be(r), T(t, "class", "PlayerLogoutText");
|
|
4252
4268
|
},
|
|
4253
4269
|
m(i, o) {
|
|
4254
|
-
oe(i, t, o),
|
|
4270
|
+
oe(i, t, o), S(t, n);
|
|
4255
4271
|
},
|
|
4256
4272
|
p(i, o) {
|
|
4257
4273
|
o & /*$_*/
|
|
@@ -4259,175 +4275,169 @@ function Ni(e) {
|
|
|
4259
4275
|
i[2]("logoutButton") + "") && St(n, r);
|
|
4260
4276
|
},
|
|
4261
4277
|
d(i) {
|
|
4262
|
-
i &&
|
|
4278
|
+
i && Z(t);
|
|
4263
4279
|
}
|
|
4264
4280
|
};
|
|
4265
4281
|
}
|
|
4266
|
-
function
|
|
4282
|
+
function $i(e) {
|
|
4267
4283
|
let t;
|
|
4268
4284
|
function r(o, s) {
|
|
4269
4285
|
return (
|
|
4270
4286
|
/*buttonlocation*/
|
|
4271
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4287
|
+
o[0] === "PlayerAccountMenu" ? Mi : Ni
|
|
4272
4288
|
);
|
|
4273
4289
|
}
|
|
4274
4290
|
let n = r(e), i = n(e);
|
|
4275
4291
|
return {
|
|
4276
4292
|
c() {
|
|
4277
|
-
t =
|
|
4293
|
+
t = P("div"), i.c();
|
|
4278
4294
|
},
|
|
4279
4295
|
m(o, s) {
|
|
4280
|
-
oe(o, t, s), i.m(t, null), e[
|
|
4296
|
+
oe(o, t, s), i.m(t, null), e[15](t);
|
|
4281
4297
|
},
|
|
4282
4298
|
p(o, [s]) {
|
|
4283
4299
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4284
4300
|
},
|
|
4285
|
-
i:
|
|
4286
|
-
o:
|
|
4301
|
+
i: B,
|
|
4302
|
+
o: B,
|
|
4287
4303
|
d(o) {
|
|
4288
|
-
o &&
|
|
4304
|
+
o && Z(t), i.d(), e[15](null);
|
|
4289
4305
|
}
|
|
4290
4306
|
};
|
|
4291
4307
|
}
|
|
4292
|
-
function
|
|
4308
|
+
function Ri(e, t, r) {
|
|
4293
4309
|
let n;
|
|
4294
|
-
|
|
4295
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, {
|
|
4296
|
-
const
|
|
4297
|
-
fetch(
|
|
4298
|
-
Object.keys(
|
|
4299
|
-
gt(
|
|
4310
|
+
nr(e, wi, (y) => r(2, n = y));
|
|
4311
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, b, v = window.navigator.userAgent, H = Pi(v) !== "PC";
|
|
4312
|
+
const C = window.matchMedia("(min-width: 768px)"), L = () => {
|
|
4313
|
+
fetch(f).then((N) => N.json()).then((N) => {
|
|
4314
|
+
Object.keys(N).forEach((Ee) => {
|
|
4315
|
+
gt(Ee, N[Ee]);
|
|
4300
4316
|
});
|
|
4301
|
-
}).catch((
|
|
4302
|
-
console.log(
|
|
4317
|
+
}).catch((N) => {
|
|
4318
|
+
console.log(N);
|
|
4303
4319
|
});
|
|
4304
4320
|
};
|
|
4305
|
-
Object.keys(yt).forEach((
|
|
4306
|
-
gt(
|
|
4321
|
+
Object.keys(yt).forEach((y) => {
|
|
4322
|
+
gt(y, yt[y]);
|
|
4307
4323
|
});
|
|
4308
|
-
const
|
|
4309
|
-
let
|
|
4310
|
-
|
|
4311
|
-
let
|
|
4312
|
-
fetch(`${i}/v1/player/session/player`,
|
|
4324
|
+
const E = () => {
|
|
4325
|
+
let y = new Headers();
|
|
4326
|
+
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4327
|
+
let N = { method: "DELETE", headers: y };
|
|
4328
|
+
fetch(`${i}/v1/player/session/player`, N).then((Ee) => {
|
|
4313
4329
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4314
4330
|
});
|
|
4315
|
-
},
|
|
4316
|
-
|
|
4317
|
-
}
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
() => {
|
|
4325
|
-
p.appendChild(B);
|
|
4326
|
-
},
|
|
4327
|
-
1
|
|
4328
|
-
), setTimeout(
|
|
4329
|
-
() => {
|
|
4330
|
-
},
|
|
4331
|
-
500
|
|
4332
|
-
);
|
|
4333
|
-
});
|
|
4334
|
-
}, ae = () => w(), tr = () => w();
|
|
4335
|
-
function rr(b) {
|
|
4336
|
-
Pe[b ? "unshift" : "push"](() => {
|
|
4337
|
-
p = b, r(1, p);
|
|
4331
|
+
}, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), w = () => {
|
|
4332
|
+
Oi(a);
|
|
4333
|
+
};
|
|
4334
|
+
fr(() => () => {
|
|
4335
|
+
});
|
|
4336
|
+
const U = () => E(), ae = () => E();
|
|
4337
|
+
function tr(y) {
|
|
4338
|
+
Oe[y ? "unshift" : "push"](() => {
|
|
4339
|
+
b = y, r(1, b);
|
|
4338
4340
|
});
|
|
4339
4341
|
}
|
|
4340
|
-
return e.$$set = (
|
|
4341
|
-
"endpoint" in
|
|
4342
|
+
return e.$$set = (y) => {
|
|
4343
|
+
"endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
|
|
4342
4344
|
}, e.$$.update = () => {
|
|
4343
4345
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4344
|
-
193 && i && o && s &&
|
|
4345
|
-
256 && a &&
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4346
|
+
193 && i && o && s && $(), e.$$.dirty & /*lang*/
|
|
4347
|
+
256 && a && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4348
|
+
1026, e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4349
|
+
2050 && l && b && Ii(), e.$$.dirty & /*translationurl*/
|
|
4350
|
+
4096 && f && L();
|
|
4349
4351
|
}, [
|
|
4350
4352
|
s,
|
|
4351
|
-
|
|
4353
|
+
b,
|
|
4352
4354
|
n,
|
|
4353
|
-
v,
|
|
4354
4355
|
H,
|
|
4355
|
-
|
|
4356
|
+
C,
|
|
4357
|
+
E,
|
|
4356
4358
|
i,
|
|
4357
4359
|
o,
|
|
4358
4360
|
a,
|
|
4359
4361
|
h,
|
|
4360
4362
|
u,
|
|
4361
4363
|
l,
|
|
4364
|
+
f,
|
|
4365
|
+
U,
|
|
4362
4366
|
ae,
|
|
4363
|
-
tr
|
|
4364
|
-
rr
|
|
4367
|
+
tr
|
|
4365
4368
|
];
|
|
4366
4369
|
}
|
|
4367
|
-
class
|
|
4370
|
+
class Ui extends Tr {
|
|
4368
4371
|
constructor(t) {
|
|
4369
|
-
super(),
|
|
4372
|
+
super(), Er(
|
|
4370
4373
|
this,
|
|
4371
4374
|
t,
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
+
Ri,
|
|
4376
|
+
$i,
|
|
4377
|
+
_t,
|
|
4375
4378
|
{
|
|
4376
4379
|
endpoint: 6,
|
|
4377
4380
|
session: 7,
|
|
4378
4381
|
buttonlocation: 0,
|
|
4379
4382
|
lang: 8,
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
+
mbsource: 9,
|
|
4384
|
+
clientstyling: 10,
|
|
4385
|
+
clientstylingurl: 11,
|
|
4386
|
+
translationurl: 12
|
|
4383
4387
|
},
|
|
4384
|
-
|
|
4388
|
+
Li
|
|
4385
4389
|
);
|
|
4386
4390
|
}
|
|
4387
4391
|
get endpoint() {
|
|
4388
4392
|
return this.$$.ctx[6];
|
|
4389
4393
|
}
|
|
4390
4394
|
set endpoint(t) {
|
|
4391
|
-
this.$$set({ endpoint: t }),
|
|
4395
|
+
this.$$set({ endpoint: t }), A();
|
|
4392
4396
|
}
|
|
4393
4397
|
get session() {
|
|
4394
4398
|
return this.$$.ctx[7];
|
|
4395
4399
|
}
|
|
4396
4400
|
set session(t) {
|
|
4397
|
-
this.$$set({ session: t }),
|
|
4401
|
+
this.$$set({ session: t }), A();
|
|
4398
4402
|
}
|
|
4399
4403
|
get buttonlocation() {
|
|
4400
4404
|
return this.$$.ctx[0];
|
|
4401
4405
|
}
|
|
4402
4406
|
set buttonlocation(t) {
|
|
4403
|
-
this.$$set({ buttonlocation: t }),
|
|
4407
|
+
this.$$set({ buttonlocation: t }), A();
|
|
4404
4408
|
}
|
|
4405
4409
|
get lang() {
|
|
4406
4410
|
return this.$$.ctx[8];
|
|
4407
4411
|
}
|
|
4408
4412
|
set lang(t) {
|
|
4409
|
-
this.$$set({ lang: t }),
|
|
4413
|
+
this.$$set({ lang: t }), A();
|
|
4410
4414
|
}
|
|
4411
|
-
get
|
|
4415
|
+
get mbsource() {
|
|
4412
4416
|
return this.$$.ctx[9];
|
|
4413
4417
|
}
|
|
4418
|
+
set mbsource(t) {
|
|
4419
|
+
this.$$set({ mbsource: t }), A();
|
|
4420
|
+
}
|
|
4421
|
+
get clientstyling() {
|
|
4422
|
+
return this.$$.ctx[10];
|
|
4423
|
+
}
|
|
4414
4424
|
set clientstyling(t) {
|
|
4415
|
-
this.$$set({ clientstyling: t }),
|
|
4425
|
+
this.$$set({ clientstyling: t }), A();
|
|
4416
4426
|
}
|
|
4417
4427
|
get clientstylingurl() {
|
|
4418
|
-
return this.$$.ctx[
|
|
4428
|
+
return this.$$.ctx[11];
|
|
4419
4429
|
}
|
|
4420
4430
|
set clientstylingurl(t) {
|
|
4421
|
-
this.$$set({ clientstylingurl: t }),
|
|
4431
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
4422
4432
|
}
|
|
4423
4433
|
get translationurl() {
|
|
4424
|
-
return this.$$.ctx[
|
|
4434
|
+
return this.$$.ctx[12];
|
|
4425
4435
|
}
|
|
4426
4436
|
set translationurl(t) {
|
|
4427
|
-
this.$$set({ translationurl: t }),
|
|
4437
|
+
this.$$set({ translationurl: t }), A();
|
|
4428
4438
|
}
|
|
4429
4439
|
}
|
|
4430
|
-
|
|
4440
|
+
Sr(Ui, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4431
4441
|
export {
|
|
4432
|
-
|
|
4442
|
+
Ui as G
|
|
4433
4443
|
};
|