@everymatrix/player-account-menu-nd 1.57.0 → 1.59.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-nPLOHMgC.js → GeneralLogout-DOA4fn9r.js} +591 -613
- package/components/{GeneralLogout-lRqS5xnM.js → GeneralLogout-DYiom6lN.js} +552 -574
- package/components/GeneralLogout-i6PS_xB2.cjs +18 -0
- package/components/{PlayerAccountMenuNd-BzBcsJR_.js → PlayerAccountMenuNd-B8qiXHWj.js} +29 -29
- package/components/{PlayerAccountMenuNd-C-lM0H4r.js → PlayerAccountMenuNd-Bj_BBVlB.js} +27 -27
- package/components/{PlayerAccountMenuNd-N2kx0DSl.cjs → PlayerAccountMenuNd-Cbx4lG47.cjs} +1 -1
- package/es2015/player-account-menu-nd.cjs +1 -1
- package/es2015/player-account-menu-nd.js +1 -1
- package/esnext/player-account-menu-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
- package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
- package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
- package/components/GeneralLogout-C645ag3Y.cjs +0 -18
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
1
|
+
var cr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var pr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ye = Object.getOwnPropertySymbols;
|
|
4
|
+
var dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
dr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Ye)
|
|
9
|
+
for (var r of Ye(t))
|
|
10
|
+
mr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, et = (e, t) => fr(e, pr(t));
|
|
13
13
|
var H = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,29 +29,29 @@ var it = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function w() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function wt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function rt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function oe(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(wt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Qe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function At(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let he;
|
|
48
|
-
function
|
|
48
|
+
function eo(e, t) {
|
|
49
49
|
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function br(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Pt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Lt(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function gr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Pt(t, r));
|
|
65
65
|
}
|
|
66
66
|
function T(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function yr(e, t, r) {
|
|
70
|
+
const n = vr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = O("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, xr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function vr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function Sr(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function xr(e, t) {
|
|
87
87
|
return T(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -96,7 +96,7 @@ function se(e, t, r) {
|
|
|
96
96
|
function Q(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function to(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
@@ -109,30 +109,30 @@ function K(e) {
|
|
|
109
109
|
function ye(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function _r() {
|
|
113
113
|
return ye(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Ot(e, t, r, n) {
|
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
117
117
|
}
|
|
118
118
|
function S(e, t, r) {
|
|
119
119
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function ro(e, t, r) {
|
|
122
122
|
const n = t.toLowerCase();
|
|
123
123
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Er(e) {
|
|
126
126
|
return Array.from(e.childNodes);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function It(e, t) {
|
|
129
129
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
130
130
|
t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Sr(e, t, r, n) {
|
|
133
133
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Tr(e) {
|
|
136
136
|
const t = {};
|
|
137
137
|
return e.childNodes.forEach(
|
|
138
138
|
/** @param {Element} node */
|
|
@@ -145,84 +145,84 @@ let re;
|
|
|
145
145
|
function te(e) {
|
|
146
146
|
re = e;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Hr() {
|
|
149
149
|
if (!re)
|
|
150
150
|
throw new Error("Function called outside component initialization");
|
|
151
151
|
return re;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
153
|
+
function Br(e) {
|
|
154
|
+
Hr().$$.on_mount.push(e);
|
|
155
155
|
}
|
|
156
|
-
const j = [],
|
|
156
|
+
const j = [], Ne = [];
|
|
157
157
|
let k = [];
|
|
158
|
-
const
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
|
|
158
|
+
const nt = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
159
|
+
let Me = !1;
|
|
160
|
+
function Ar() {
|
|
161
|
+
Me || (Me = !0, wr.then(A));
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Ce(e) {
|
|
164
164
|
k.push(e);
|
|
165
165
|
}
|
|
166
166
|
const Be = /* @__PURE__ */ new Set();
|
|
167
|
-
let
|
|
167
|
+
let D = 0;
|
|
168
168
|
function A() {
|
|
169
|
-
if (
|
|
169
|
+
if (D !== 0)
|
|
170
170
|
return;
|
|
171
171
|
const e = re;
|
|
172
172
|
do {
|
|
173
173
|
try {
|
|
174
|
-
for (;
|
|
175
|
-
const t = j[
|
|
176
|
-
|
|
174
|
+
for (; D < j.length; ) {
|
|
175
|
+
const t = j[D];
|
|
176
|
+
D++, te(t), Pr(t.$$);
|
|
177
177
|
}
|
|
178
178
|
} catch (t) {
|
|
179
|
-
throw j.length = 0,
|
|
179
|
+
throw j.length = 0, D = 0, t;
|
|
180
180
|
}
|
|
181
|
-
for (te(null), j.length = 0,
|
|
182
|
-
|
|
181
|
+
for (te(null), j.length = 0, D = 0; Ne.length; )
|
|
182
|
+
Ne.pop()();
|
|
183
183
|
for (let t = 0; t < k.length; t += 1) {
|
|
184
184
|
const r = k[t];
|
|
185
185
|
Be.has(r) || (Be.add(r), r());
|
|
186
186
|
}
|
|
187
187
|
k.length = 0;
|
|
188
188
|
} while (j.length);
|
|
189
|
-
for (;
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
for (; nt.length; )
|
|
190
|
+
nt.pop()();
|
|
191
|
+
Me = !1, Be.clear(), te(e);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Pr(e) {
|
|
194
194
|
if (e.fragment !== null) {
|
|
195
195
|
e.update(), oe(e.before_update);
|
|
196
196
|
const t = e.dirty;
|
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
197
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Or(e) {
|
|
201
201
|
const t = [], r = [];
|
|
202
202
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
203
203
|
}
|
|
204
|
-
const
|
|
205
|
-
function
|
|
206
|
-
e && e.i && (
|
|
204
|
+
const Ir = /* @__PURE__ */ new Set();
|
|
205
|
+
function Lr(e, t) {
|
|
206
|
+
e && e.i && (Ir.delete(e), e.i(t));
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function no(e) {
|
|
209
209
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Nr(e, t, r) {
|
|
212
212
|
const { fragment: n, after_update: i } = e.$$;
|
|
213
|
-
n && n.m(t, r),
|
|
214
|
-
const o = e.$$.on_mount.map(
|
|
213
|
+
n && n.m(t, r), Ce(() => {
|
|
214
|
+
const o = e.$$.on_mount.map(wt).filter(Qe);
|
|
215
215
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
|
|
216
|
-
}), i.forEach(
|
|
216
|
+
}), i.forEach(Ce);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Mr(e, t) {
|
|
219
219
|
const r = e.$$;
|
|
220
|
-
r.fragment !== null && (
|
|
220
|
+
r.fragment !== null && (Or(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
222
|
+
function Cr(e, t) {
|
|
223
|
+
e.$$.dirty[0] === -1 && (j.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
226
226
|
const h = re;
|
|
227
227
|
te(e);
|
|
228
228
|
const u = e.$$ = {
|
|
@@ -232,7 +232,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
232
232
|
props: o,
|
|
233
233
|
update: w,
|
|
234
234
|
not_equal: i,
|
|
235
|
-
bound:
|
|
235
|
+
bound: rt(),
|
|
236
236
|
// lifecycle
|
|
237
237
|
on_mount: [],
|
|
238
238
|
on_destroy: [],
|
|
@@ -241,7 +241,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
241
241
|
after_update: [],
|
|
242
242
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
243
243
|
// everything else
|
|
244
|
-
callbacks:
|
|
244
|
+
callbacks: rt(),
|
|
245
245
|
dirty: a,
|
|
246
246
|
skip_bound: !1,
|
|
247
247
|
root: t.target || h.$$.root
|
|
@@ -250,19 +250,19 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
250
250
|
let l = !1;
|
|
251
251
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
252
252
|
const d = p.length ? p[0] : c;
|
|
253
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l &&
|
|
253
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Cr(e, f)), c;
|
|
254
254
|
}) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
255
255
|
if (t.hydrate) {
|
|
256
|
-
const f =
|
|
256
|
+
const f = Er(t.target);
|
|
257
257
|
u.fragment && u.fragment.l(f), f.forEach(Q);
|
|
258
258
|
} else
|
|
259
259
|
u.fragment && u.fragment.c();
|
|
260
|
-
t.intro &&
|
|
260
|
+
t.intro && Lr(e.$$.fragment), Nr(e, t.target, t.anchor), A();
|
|
261
261
|
}
|
|
262
262
|
te(h);
|
|
263
263
|
}
|
|
264
|
-
let
|
|
265
|
-
typeof HTMLElement == "function" && (
|
|
264
|
+
let Lt;
|
|
265
|
+
typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
266
266
|
constructor(t, r, n) {
|
|
267
267
|
super();
|
|
268
268
|
/** The Svelte component constructor */
|
|
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
connectedCallback() {
|
|
302
|
-
return
|
|
302
|
+
return tt(this, null, function* () {
|
|
303
303
|
if (this.$$cn = !0, !this.$$c) {
|
|
304
304
|
let t = function(o) {
|
|
305
305
|
return () => {
|
|
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
323
323
|
};
|
|
324
324
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
325
325
|
return;
|
|
326
|
-
const r = {}, n =
|
|
326
|
+
const r = {}, n = Tr(this);
|
|
327
327
|
for (const o of this.$$s)
|
|
328
328
|
o in n && (r[o] = [t(o)]);
|
|
329
329
|
for (const o of this.attributes) {
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
334
334
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
335
335
|
this.$$c = new this.$$ctor({
|
|
336
336
|
target: this.shadowRoot || this,
|
|
337
|
-
props:
|
|
337
|
+
props: et(Ke({}, this.$$d), {
|
|
338
338
|
$$slots: r,
|
|
339
339
|
$$scope: {
|
|
340
340
|
ctx: []
|
|
@@ -412,8 +412,8 @@ function fe(e, t, r, n) {
|
|
|
412
412
|
return t;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
416
|
-
let s = class extends
|
|
415
|
+
function Rr(e, t, r, n, i, o) {
|
|
416
|
+
let s = class extends Lt {
|
|
417
417
|
constructor() {
|
|
418
418
|
super(e, r, i), this.$$p_d = t;
|
|
419
419
|
}
|
|
@@ -443,7 +443,7 @@ function Fr(e, t, r, n, i, o) {
|
|
|
443
443
|
}), e.element = /** @type {any} */
|
|
444
444
|
s, s;
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class Ur {
|
|
447
447
|
constructor() {
|
|
448
448
|
/**
|
|
449
449
|
* ### PRIVATE API
|
|
@@ -464,7 +464,7 @@ class jr {
|
|
|
464
464
|
}
|
|
465
465
|
/** @returns {void} */
|
|
466
466
|
$destroy() {
|
|
467
|
-
|
|
467
|
+
Mr(this, 1), this.$destroy = w;
|
|
468
468
|
}
|
|
469
469
|
/**
|
|
470
470
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -473,7 +473,7 @@ class jr {
|
|
|
473
473
|
* @returns {() => void}
|
|
474
474
|
*/
|
|
475
475
|
$on(t, r) {
|
|
476
|
-
if (!
|
|
476
|
+
if (!Qe(r))
|
|
477
477
|
return w;
|
|
478
478
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
479
479
|
return n.push(r), () => {
|
|
@@ -486,11 +486,11 @@ class jr {
|
|
|
486
486
|
* @returns {void}
|
|
487
487
|
*/
|
|
488
488
|
$set(t) {
|
|
489
|
-
this.$$set && !
|
|
489
|
+
this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
const
|
|
493
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
492
|
+
const Gr = "4";
|
|
493
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
|
|
494
494
|
/*! *****************************************************************************
|
|
495
495
|
Copyright (c) Microsoft Corporation.
|
|
496
496
|
|
|
@@ -505,18 +505,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
505
505
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
506
506
|
PERFORMANCE OF THIS SOFTWARE.
|
|
507
507
|
***************************************************************************** */
|
|
508
|
-
var
|
|
509
|
-
return
|
|
508
|
+
var $e = function(e, t) {
|
|
509
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
510
510
|
r.__proto__ = n;
|
|
511
511
|
} || function(r, n) {
|
|
512
512
|
for (var i in n)
|
|
513
513
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
514
|
-
},
|
|
514
|
+
}, $e(e, t);
|
|
515
515
|
};
|
|
516
516
|
function L(e, t) {
|
|
517
517
|
if (typeof t != "function" && t !== null)
|
|
518
518
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
519
|
-
|
|
519
|
+
$e(e, t);
|
|
520
520
|
function r() {
|
|
521
521
|
this.constructor = e;
|
|
522
522
|
}
|
|
@@ -532,7 +532,7 @@ var g = function() {
|
|
|
532
532
|
return t;
|
|
533
533
|
}, g.apply(this, arguments);
|
|
534
534
|
};
|
|
535
|
-
function
|
|
535
|
+
function Dr(e, t) {
|
|
536
536
|
var r = {};
|
|
537
537
|
for (var n in e)
|
|
538
538
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -541,7 +541,7 @@ function Vr(e, t) {
|
|
|
541
541
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
542
542
|
return r;
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Re(e) {
|
|
545
545
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
546
546
|
if (r)
|
|
547
547
|
return r.call(e);
|
|
@@ -553,7 +553,7 @@ function Ue(e) {
|
|
|
553
553
|
};
|
|
554
554
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Ue(e, t) {
|
|
557
557
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
558
558
|
if (!r)
|
|
559
559
|
return e;
|
|
@@ -582,13 +582,13 @@ function V(e, t, r) {
|
|
|
582
582
|
function I(e) {
|
|
583
583
|
return typeof e == "function";
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function Nt(e) {
|
|
586
586
|
var t = function(n) {
|
|
587
587
|
Error.call(n), n.stack = new Error().stack;
|
|
588
588
|
}, r = e(t);
|
|
589
589
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
590
590
|
}
|
|
591
|
-
var we =
|
|
591
|
+
var we = Nt(function(e) {
|
|
592
592
|
return function(r) {
|
|
593
593
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
594
594
|
` + r.map(function(n, i) {
|
|
@@ -615,7 +615,7 @@ var ve = function() {
|
|
|
615
615
|
if (s)
|
|
616
616
|
if (this._parentage = null, Array.isArray(s))
|
|
617
617
|
try {
|
|
618
|
-
for (var a =
|
|
618
|
+
for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
|
|
619
619
|
var u = h.value;
|
|
620
620
|
u.remove(this);
|
|
621
621
|
}
|
|
@@ -642,12 +642,12 @@ var ve = function() {
|
|
|
642
642
|
if (f) {
|
|
643
643
|
this._finalizers = null;
|
|
644
644
|
try {
|
|
645
|
-
for (var c =
|
|
645
|
+
for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
|
|
646
646
|
var d = p.value;
|
|
647
647
|
try {
|
|
648
|
-
|
|
648
|
+
it(d);
|
|
649
649
|
} catch (v) {
|
|
650
|
-
o = o != null ? o : [], v instanceof we ? o = V(V([],
|
|
650
|
+
o = o != null ? o : [], v instanceof we ? o = V(V([], Ue(o)), Ue(v.errors)) : o.push(v);
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
} catch (v) {
|
|
@@ -668,7 +668,7 @@ var ve = function() {
|
|
|
668
668
|
var r;
|
|
669
669
|
if (t && t !== this)
|
|
670
670
|
if (this.closed)
|
|
671
|
-
|
|
671
|
+
it(t);
|
|
672
672
|
else {
|
|
673
673
|
if (t instanceof e) {
|
|
674
674
|
if (t.closed || t._hasParent(this))
|
|
@@ -693,48 +693,44 @@ var ve = function() {
|
|
|
693
693
|
var t = new e();
|
|
694
694
|
return t.closed = !0, t;
|
|
695
695
|
}(), e;
|
|
696
|
-
}(),
|
|
697
|
-
function
|
|
696
|
+
}(), Mt = ve.EMPTY;
|
|
697
|
+
function Ct(e) {
|
|
698
698
|
return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function it(e) {
|
|
701
701
|
I(e) ? e() : e.unsubscribe();
|
|
702
702
|
}
|
|
703
|
-
var
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
Promise: void 0,
|
|
707
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
708
|
-
useDeprecatedNextContext: !1
|
|
709
|
-
}, Xr = {
|
|
703
|
+
var Fr = {
|
|
704
|
+
Promise: void 0
|
|
705
|
+
}, jr = {
|
|
710
706
|
setTimeout: function(e, t) {
|
|
711
707
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
712
708
|
r[n - 2] = arguments[n];
|
|
713
|
-
return setTimeout.apply(void 0, V([e, t],
|
|
709
|
+
return setTimeout.apply(void 0, V([e, t], Ue(r)));
|
|
714
710
|
},
|
|
715
711
|
clearTimeout: function(e) {
|
|
716
712
|
return clearTimeout(e);
|
|
717
713
|
},
|
|
718
714
|
delegate: void 0
|
|
719
715
|
};
|
|
720
|
-
function
|
|
721
|
-
|
|
716
|
+
function kr(e) {
|
|
717
|
+
jr.setTimeout(function() {
|
|
722
718
|
throw e;
|
|
723
719
|
});
|
|
724
720
|
}
|
|
725
|
-
function
|
|
721
|
+
function ot() {
|
|
726
722
|
}
|
|
727
723
|
function pe(e) {
|
|
728
724
|
e();
|
|
729
725
|
}
|
|
730
|
-
var
|
|
726
|
+
var $t = function(e) {
|
|
731
727
|
L(t, e);
|
|
732
728
|
function t(r) {
|
|
733
729
|
var n = e.call(this) || this;
|
|
734
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
730
|
+
return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Wr, n;
|
|
735
731
|
}
|
|
736
732
|
return t.create = function(r, n, i) {
|
|
737
|
-
return new
|
|
733
|
+
return new De(r, n, i);
|
|
738
734
|
}, t.prototype.next = function(r) {
|
|
739
735
|
this.isStopped || this._next(r);
|
|
740
736
|
}, t.prototype.error = function(r) {
|
|
@@ -758,11 +754,7 @@ var Gt = function(e) {
|
|
|
758
754
|
this.unsubscribe();
|
|
759
755
|
}
|
|
760
756
|
}, t;
|
|
761
|
-
}(ve),
|
|
762
|
-
function Ae(e, t) {
|
|
763
|
-
return zr.call(e, t);
|
|
764
|
-
}
|
|
765
|
-
var Zr = function() {
|
|
757
|
+
}(ve), Vr = function() {
|
|
766
758
|
function e(t) {
|
|
767
759
|
this.partialObserver = t;
|
|
768
760
|
}
|
|
@@ -793,55 +785,43 @@ var Zr = function() {
|
|
|
793
785
|
le(r);
|
|
794
786
|
}
|
|
795
787
|
}, e;
|
|
796
|
-
}(),
|
|
788
|
+
}(), De = function(e) {
|
|
797
789
|
L(t, e);
|
|
798
790
|
function t(r, n, i) {
|
|
799
791
|
var o = e.call(this) || this, s;
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
};
|
|
806
|
-
else {
|
|
807
|
-
var a;
|
|
808
|
-
o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
809
|
-
return o.unsubscribe();
|
|
810
|
-
}, s = {
|
|
811
|
-
next: r.next && Ae(r.next, a),
|
|
812
|
-
error: r.error && Ae(r.error, a),
|
|
813
|
-
complete: r.complete && Ae(r.complete, a)
|
|
814
|
-
}) : s = r;
|
|
815
|
-
}
|
|
816
|
-
return o.destination = new Zr(s), o;
|
|
792
|
+
return I(r) || !r ? s = {
|
|
793
|
+
next: r != null ? r : void 0,
|
|
794
|
+
error: n != null ? n : void 0,
|
|
795
|
+
complete: i != null ? i : void 0
|
|
796
|
+
} : s = r, o.destination = new Vr(s), o;
|
|
817
797
|
}
|
|
818
798
|
return t;
|
|
819
|
-
}(
|
|
799
|
+
}($t);
|
|
820
800
|
function le(e) {
|
|
821
|
-
|
|
801
|
+
kr(e);
|
|
822
802
|
}
|
|
823
|
-
function
|
|
803
|
+
function Xr(e) {
|
|
824
804
|
throw e;
|
|
825
805
|
}
|
|
826
|
-
var
|
|
806
|
+
var Wr = {
|
|
827
807
|
closed: !0,
|
|
828
|
-
next:
|
|
829
|
-
error:
|
|
830
|
-
complete:
|
|
831
|
-
},
|
|
808
|
+
next: ot,
|
|
809
|
+
error: Xr,
|
|
810
|
+
complete: ot
|
|
811
|
+
}, zr = function() {
|
|
832
812
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
833
813
|
}();
|
|
834
|
-
function
|
|
814
|
+
function Zr(e) {
|
|
835
815
|
return e;
|
|
836
816
|
}
|
|
837
|
-
function
|
|
838
|
-
return e.length === 0 ?
|
|
817
|
+
function Qr(e) {
|
|
818
|
+
return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
|
|
839
819
|
return e.reduce(function(n, i) {
|
|
840
820
|
return i(n);
|
|
841
821
|
}, r);
|
|
842
822
|
};
|
|
843
823
|
}
|
|
844
|
-
var
|
|
824
|
+
var st = function() {
|
|
845
825
|
function e(t) {
|
|
846
826
|
t && (this._subscribe = t);
|
|
847
827
|
}
|
|
@@ -849,7 +829,7 @@ var ht = function() {
|
|
|
849
829
|
var r = new e();
|
|
850
830
|
return r.source = this, r.operator = t, r;
|
|
851
831
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
852
|
-
var i = this, o =
|
|
832
|
+
var i = this, o = Jr(t) ? t : new De(t, r, n);
|
|
853
833
|
return pe(function() {
|
|
854
834
|
var s = i, a = s.operator, h = s.source;
|
|
855
835
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -862,8 +842,8 @@ var ht = function() {
|
|
|
862
842
|
}
|
|
863
843
|
}, e.prototype.forEach = function(t, r) {
|
|
864
844
|
var n = this;
|
|
865
|
-
return r =
|
|
866
|
-
var s = new
|
|
845
|
+
return r = at(r), new r(function(i, o) {
|
|
846
|
+
var s = new De({
|
|
867
847
|
next: function(a) {
|
|
868
848
|
try {
|
|
869
849
|
t(a);
|
|
@@ -879,15 +859,15 @@ var ht = function() {
|
|
|
879
859
|
}, e.prototype._subscribe = function(t) {
|
|
880
860
|
var r;
|
|
881
861
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
882
|
-
}, e.prototype[
|
|
862
|
+
}, e.prototype[zr] = function() {
|
|
883
863
|
return this;
|
|
884
864
|
}, e.prototype.pipe = function() {
|
|
885
865
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
886
866
|
t[r] = arguments[r];
|
|
887
|
-
return
|
|
867
|
+
return Qr(t)(this);
|
|
888
868
|
}, e.prototype.toPromise = function(t) {
|
|
889
869
|
var r = this;
|
|
890
|
-
return t =
|
|
870
|
+
return t = at(t), new t(function(n, i) {
|
|
891
871
|
var o;
|
|
892
872
|
r.subscribe(function(s) {
|
|
893
873
|
return o = s;
|
|
@@ -901,32 +881,32 @@ var ht = function() {
|
|
|
901
881
|
return new e(t);
|
|
902
882
|
}, e;
|
|
903
883
|
}();
|
|
904
|
-
function
|
|
884
|
+
function at(e) {
|
|
905
885
|
var t;
|
|
906
|
-
return (t = e != null ? e :
|
|
886
|
+
return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
907
887
|
}
|
|
908
|
-
function
|
|
888
|
+
function qr(e) {
|
|
909
889
|
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
910
890
|
}
|
|
911
|
-
function
|
|
912
|
-
return e && e instanceof
|
|
891
|
+
function Jr(e) {
|
|
892
|
+
return e && e instanceof $t || qr(e) && Ct(e);
|
|
913
893
|
}
|
|
914
|
-
var
|
|
894
|
+
var Yr = Nt(function(e) {
|
|
915
895
|
return function() {
|
|
916
896
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
917
897
|
};
|
|
918
|
-
}),
|
|
898
|
+
}), Rt = function(e) {
|
|
919
899
|
L(t, e);
|
|
920
900
|
function t() {
|
|
921
901
|
var r = e.call(this) || this;
|
|
922
902
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
923
903
|
}
|
|
924
904
|
return t.prototype.lift = function(r) {
|
|
925
|
-
var n = new
|
|
905
|
+
var n = new ut(this, this);
|
|
926
906
|
return n.operator = r, n;
|
|
927
907
|
}, t.prototype._throwIfClosed = function() {
|
|
928
908
|
if (this.closed)
|
|
929
|
-
throw new
|
|
909
|
+
throw new Yr();
|
|
930
910
|
}, t.prototype.next = function(r) {
|
|
931
911
|
var n = this;
|
|
932
912
|
pe(function() {
|
|
@@ -934,7 +914,7 @@ var rn = $t(function(e) {
|
|
|
934
914
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
935
915
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
936
916
|
try {
|
|
937
|
-
for (var s =
|
|
917
|
+
for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
938
918
|
var h = a.value;
|
|
939
919
|
h.next(r);
|
|
940
920
|
}
|
|
@@ -983,19 +963,19 @@ var rn = $t(function(e) {
|
|
|
983
963
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
984
964
|
}, t.prototype._innerSubscribe = function(r) {
|
|
985
965
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
986
|
-
return o || s ?
|
|
966
|
+
return o || s ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
987
967
|
n.currentObservers = null, Ge(a, r);
|
|
988
968
|
}));
|
|
989
969
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
990
970
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
991
971
|
i ? r.error(o) : s && r.complete();
|
|
992
972
|
}, t.prototype.asObservable = function() {
|
|
993
|
-
var r = new
|
|
973
|
+
var r = new st();
|
|
994
974
|
return r.source = this, r;
|
|
995
975
|
}, t.create = function(r, n) {
|
|
996
|
-
return new
|
|
976
|
+
return new ut(r, n);
|
|
997
977
|
}, t;
|
|
998
|
-
}(
|
|
978
|
+
}(st), ut = function(e) {
|
|
999
979
|
L(t, e);
|
|
1000
980
|
function t(r, n) {
|
|
1001
981
|
var i = e.call(this) || this;
|
|
@@ -1012,17 +992,17 @@ var rn = $t(function(e) {
|
|
|
1012
992
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1013
993
|
}, t.prototype._subscribe = function(r) {
|
|
1014
994
|
var n, i;
|
|
1015
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
995
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
|
|
1016
996
|
}, t;
|
|
1017
|
-
}(
|
|
997
|
+
}(Rt), Ut = {
|
|
1018
998
|
now: function() {
|
|
1019
|
-
return (
|
|
999
|
+
return (Ut.delegate || Date).now();
|
|
1020
1000
|
},
|
|
1021
1001
|
delegate: void 0
|
|
1022
|
-
},
|
|
1002
|
+
}, Kr = function(e) {
|
|
1023
1003
|
L(t, e);
|
|
1024
1004
|
function t(r, n, i) {
|
|
1025
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1005
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
1026
1006
|
var o = e.call(this) || this;
|
|
1027
1007
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1028
1008
|
}
|
|
@@ -1042,24 +1022,24 @@ var rn = $t(function(e) {
|
|
|
1042
1022
|
u && o.splice(0, u + 1);
|
|
1043
1023
|
}
|
|
1044
1024
|
}, t;
|
|
1045
|
-
}(
|
|
1046
|
-
const
|
|
1047
|
-
if (
|
|
1048
|
-
const r = new
|
|
1049
|
-
|
|
1025
|
+
}(Rt);
|
|
1026
|
+
const ht = [], lt = {}, en = (e, t = 0) => {
|
|
1027
|
+
if (ht.indexOf(e) == -1) {
|
|
1028
|
+
const r = new Kr(t);
|
|
1029
|
+
lt[e] = r, ht.push(e);
|
|
1050
1030
|
}
|
|
1051
|
-
return
|
|
1031
|
+
return lt[e];
|
|
1052
1032
|
}, F = [];
|
|
1053
|
-
function
|
|
1033
|
+
function tn(e, t) {
|
|
1054
1034
|
return {
|
|
1055
|
-
subscribe:
|
|
1035
|
+
subscribe: xe(e, t).subscribe
|
|
1056
1036
|
};
|
|
1057
1037
|
}
|
|
1058
|
-
function
|
|
1038
|
+
function xe(e, t = w) {
|
|
1059
1039
|
let r;
|
|
1060
1040
|
const n = /* @__PURE__ */ new Set();
|
|
1061
1041
|
function i(a) {
|
|
1062
|
-
if (
|
|
1042
|
+
if (At(e, a) && (e = a, r)) {
|
|
1063
1043
|
const h = !F.length;
|
|
1064
1044
|
for (const u of n)
|
|
1065
1045
|
u[1](), F.push(u, e);
|
|
@@ -1086,7 +1066,7 @@ function q(e, t, r) {
|
|
|
1086
1066
|
if (!i.every(Boolean))
|
|
1087
1067
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1088
1068
|
const o = t.length < 2;
|
|
1089
|
-
return
|
|
1069
|
+
return tn(r, (s, a) => {
|
|
1090
1070
|
let h = !1;
|
|
1091
1071
|
const u = [];
|
|
1092
1072
|
let l = 0, f = w;
|
|
@@ -1095,9 +1075,9 @@ function q(e, t, r) {
|
|
|
1095
1075
|
return;
|
|
1096
1076
|
f();
|
|
1097
1077
|
const d = t(n ? u[0] : u, s, a);
|
|
1098
|
-
o ? s(d) : f =
|
|
1078
|
+
o ? s(d) : f = Qe(d) ? d : w;
|
|
1099
1079
|
}, p = i.map(
|
|
1100
|
-
(d, v) =>
|
|
1080
|
+
(d, v) => Pt(
|
|
1101
1081
|
d,
|
|
1102
1082
|
(B) => {
|
|
1103
1083
|
u[v] = B, l &= ~(1 << v), h && c();
|
|
@@ -1112,70 +1092,70 @@ function q(e, t, r) {
|
|
|
1112
1092
|
};
|
|
1113
1093
|
});
|
|
1114
1094
|
}
|
|
1115
|
-
function
|
|
1095
|
+
function rn(e) {
|
|
1116
1096
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1117
1097
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1098
|
+
var nn = function(t) {
|
|
1099
|
+
return on(t) && !sn(t);
|
|
1120
1100
|
};
|
|
1121
|
-
function
|
|
1101
|
+
function on(e) {
|
|
1122
1102
|
return !!e && typeof e == "object";
|
|
1123
1103
|
}
|
|
1124
|
-
function
|
|
1104
|
+
function sn(e) {
|
|
1125
1105
|
var t = Object.prototype.toString.call(e);
|
|
1126
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1106
|
+
return t === "[object RegExp]" || t === "[object Date]" || hn(e);
|
|
1127
1107
|
}
|
|
1128
|
-
var
|
|
1129
|
-
function
|
|
1130
|
-
return e.$$typeof ===
|
|
1108
|
+
var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
|
|
1109
|
+
function hn(e) {
|
|
1110
|
+
return e.$$typeof === un;
|
|
1131
1111
|
}
|
|
1132
|
-
function
|
|
1112
|
+
function ln(e) {
|
|
1133
1113
|
return Array.isArray(e) ? [] : {};
|
|
1134
1114
|
}
|
|
1135
1115
|
function ne(e, t) {
|
|
1136
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? X(
|
|
1116
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(ln(e), e, t) : e;
|
|
1137
1117
|
}
|
|
1138
|
-
function
|
|
1118
|
+
function cn(e, t, r) {
|
|
1139
1119
|
return e.concat(t).map(function(n) {
|
|
1140
1120
|
return ne(n, r);
|
|
1141
1121
|
});
|
|
1142
1122
|
}
|
|
1143
|
-
function
|
|
1123
|
+
function fn(e, t) {
|
|
1144
1124
|
if (!t.customMerge)
|
|
1145
1125
|
return X;
|
|
1146
1126
|
var r = t.customMerge(e);
|
|
1147
1127
|
return typeof r == "function" ? r : X;
|
|
1148
1128
|
}
|
|
1149
|
-
function
|
|
1129
|
+
function pn(e) {
|
|
1150
1130
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1151
1131
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1152
1132
|
}) : [];
|
|
1153
1133
|
}
|
|
1154
|
-
function
|
|
1155
|
-
return Object.keys(e).concat(
|
|
1134
|
+
function ct(e) {
|
|
1135
|
+
return Object.keys(e).concat(pn(e));
|
|
1156
1136
|
}
|
|
1157
|
-
function
|
|
1137
|
+
function Gt(e, t) {
|
|
1158
1138
|
try {
|
|
1159
1139
|
return t in e;
|
|
1160
1140
|
} catch (r) {
|
|
1161
1141
|
return !1;
|
|
1162
1142
|
}
|
|
1163
1143
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1144
|
+
function dn(e, t) {
|
|
1145
|
+
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1166
1146
|
}
|
|
1167
|
-
function
|
|
1147
|
+
function mn(e, t, r) {
|
|
1168
1148
|
var n = {};
|
|
1169
|
-
return r.isMergeableObject(e) &&
|
|
1149
|
+
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
1170
1150
|
n[i] = ne(e[i], r);
|
|
1171
|
-
}),
|
|
1172
|
-
|
|
1151
|
+
}), ct(t).forEach(function(i) {
|
|
1152
|
+
dn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1173
1153
|
}), n;
|
|
1174
1154
|
}
|
|
1175
1155
|
function X(e, t, r) {
|
|
1176
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1156
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1177
1157
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1178
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1158
|
+
return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ne(t, r);
|
|
1179
1159
|
}
|
|
1180
1160
|
X.all = function(t, r) {
|
|
1181
1161
|
if (!Array.isArray(t))
|
|
@@ -1184,107 +1164,105 @@ X.all = function(t, r) {
|
|
|
1184
1164
|
return X(n, i, r);
|
|
1185
1165
|
}, {});
|
|
1186
1166
|
};
|
|
1187
|
-
var
|
|
1188
|
-
const
|
|
1189
|
-
function
|
|
1190
|
-
var r = t && t.cache ? t.cache :
|
|
1167
|
+
var bn = X, gn = bn;
|
|
1168
|
+
const yn = /* @__PURE__ */ rn(gn);
|
|
1169
|
+
function Ae(e, t) {
|
|
1170
|
+
var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : _n;
|
|
1191
1171
|
return i(e, {
|
|
1192
1172
|
cache: r,
|
|
1193
1173
|
serializer: n
|
|
1194
1174
|
});
|
|
1195
1175
|
}
|
|
1196
|
-
function
|
|
1176
|
+
function vn(e) {
|
|
1197
1177
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1198
1178
|
}
|
|
1199
|
-
function
|
|
1200
|
-
var i =
|
|
1179
|
+
function xn(e, t, r, n) {
|
|
1180
|
+
var i = vn(n) ? n : r(n), o = t.get(i);
|
|
1201
1181
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1202
1182
|
}
|
|
1203
|
-
function
|
|
1183
|
+
function Dt(e, t, r) {
|
|
1204
1184
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1205
1185
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1206
1186
|
}
|
|
1207
|
-
function
|
|
1187
|
+
function Ft(e, t, r, n, i) {
|
|
1208
1188
|
return r.bind(t, e, n, i);
|
|
1209
1189
|
}
|
|
1210
|
-
function
|
|
1211
|
-
var r = e.length === 1 ?
|
|
1212
|
-
return
|
|
1213
|
-
}
|
|
1214
|
-
function Hn(e, t) {
|
|
1215
|
-
return Je(e, this, Xt, t.cache.create(), t.serializer);
|
|
1190
|
+
function _n(e, t) {
|
|
1191
|
+
var r = e.length === 1 ? xn : Dt;
|
|
1192
|
+
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
1216
1193
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return
|
|
1194
|
+
function En(e, t) {
|
|
1195
|
+
return Ft(e, this, Dt, t.cache.create(), t.serializer);
|
|
1219
1196
|
}
|
|
1220
|
-
var
|
|
1197
|
+
var Sn = function() {
|
|
1221
1198
|
return JSON.stringify(arguments);
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1199
|
+
}, Tn = (
|
|
1200
|
+
/** @class */
|
|
1201
|
+
function() {
|
|
1202
|
+
function e() {
|
|
1203
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1204
|
+
}
|
|
1205
|
+
return e.prototype.get = function(t) {
|
|
1206
|
+
return this.cache[t];
|
|
1207
|
+
}, e.prototype.set = function(t, r) {
|
|
1208
|
+
this.cache[t] = r;
|
|
1209
|
+
}, e;
|
|
1210
|
+
}()
|
|
1211
|
+
), Hn = {
|
|
1233
1212
|
create: function() {
|
|
1234
|
-
return new
|
|
1213
|
+
return new Tn();
|
|
1235
1214
|
}
|
|
1236
|
-
},
|
|
1237
|
-
variadic:
|
|
1238
|
-
monadic: Bn
|
|
1215
|
+
}, Pe = {
|
|
1216
|
+
variadic: En
|
|
1239
1217
|
}, m;
|
|
1240
1218
|
(function(e) {
|
|
1241
1219
|
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";
|
|
1242
1220
|
})(m || (m = {}));
|
|
1243
|
-
var
|
|
1221
|
+
var x;
|
|
1244
1222
|
(function(e) {
|
|
1245
1223
|
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";
|
|
1246
|
-
})(
|
|
1224
|
+
})(x || (x = {}));
|
|
1247
1225
|
var W;
|
|
1248
1226
|
(function(e) {
|
|
1249
1227
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1250
1228
|
})(W || (W = {}));
|
|
1251
|
-
function
|
|
1252
|
-
return e.type ===
|
|
1229
|
+
function ft(e) {
|
|
1230
|
+
return e.type === x.literal;
|
|
1253
1231
|
}
|
|
1254
|
-
function
|
|
1255
|
-
return e.type ===
|
|
1232
|
+
function Bn(e) {
|
|
1233
|
+
return e.type === x.argument;
|
|
1256
1234
|
}
|
|
1257
|
-
function
|
|
1258
|
-
return e.type ===
|
|
1235
|
+
function jt(e) {
|
|
1236
|
+
return e.type === x.number;
|
|
1259
1237
|
}
|
|
1260
|
-
function
|
|
1261
|
-
return e.type ===
|
|
1238
|
+
function kt(e) {
|
|
1239
|
+
return e.type === x.date;
|
|
1262
1240
|
}
|
|
1263
|
-
function
|
|
1264
|
-
return e.type ===
|
|
1241
|
+
function Vt(e) {
|
|
1242
|
+
return e.type === x.time;
|
|
1265
1243
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return e.type ===
|
|
1244
|
+
function Xt(e) {
|
|
1245
|
+
return e.type === x.select;
|
|
1268
1246
|
}
|
|
1269
|
-
function
|
|
1270
|
-
return e.type ===
|
|
1247
|
+
function Wt(e) {
|
|
1248
|
+
return e.type === x.plural;
|
|
1271
1249
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return e.type ===
|
|
1250
|
+
function wn(e) {
|
|
1251
|
+
return e.type === x.pound;
|
|
1274
1252
|
}
|
|
1275
|
-
function
|
|
1276
|
-
return e.type ===
|
|
1253
|
+
function zt(e) {
|
|
1254
|
+
return e.type === x.tag;
|
|
1277
1255
|
}
|
|
1278
|
-
function
|
|
1256
|
+
function Zt(e) {
|
|
1279
1257
|
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1280
1258
|
}
|
|
1281
|
-
function
|
|
1259
|
+
function Fe(e) {
|
|
1282
1260
|
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1283
1261
|
}
|
|
1284
|
-
var
|
|
1285
|
-
function
|
|
1262
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
|
|
1263
|
+
function Pn(e) {
|
|
1286
1264
|
var t = {};
|
|
1287
|
-
return e.replace(
|
|
1265
|
+
return e.replace(An, function(r) {
|
|
1288
1266
|
var n = r.length;
|
|
1289
1267
|
switch (r[0]) {
|
|
1290
1268
|
case "G":
|
|
@@ -1373,11 +1351,11 @@ function Ln(e) {
|
|
|
1373
1351
|
return "";
|
|
1374
1352
|
}), t;
|
|
1375
1353
|
}
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1354
|
+
var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1355
|
+
function In(e) {
|
|
1378
1356
|
if (e.length === 0)
|
|
1379
1357
|
throw new Error("Number skeleton cannot be empty");
|
|
1380
|
-
for (var t = e.split(
|
|
1358
|
+
for (var t = e.split(On).filter(function(c) {
|
|
1381
1359
|
return c.length > 0;
|
|
1382
1360
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1383
1361
|
var o = i[n], s = o.split("/");
|
|
@@ -1392,17 +1370,17 @@ function Mn(e) {
|
|
|
1392
1370
|
}
|
|
1393
1371
|
return r;
|
|
1394
1372
|
}
|
|
1395
|
-
function
|
|
1373
|
+
function Ln(e) {
|
|
1396
1374
|
return e.replace(/^(.*?)-/, "");
|
|
1397
1375
|
}
|
|
1398
|
-
var
|
|
1399
|
-
function
|
|
1376
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
|
|
1377
|
+
function dt(e) {
|
|
1400
1378
|
var t = {};
|
|
1401
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1379
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
|
|
1402
1380
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1403
1381
|
}), t;
|
|
1404
1382
|
}
|
|
1405
|
-
function
|
|
1383
|
+
function Yt(e) {
|
|
1406
1384
|
switch (e) {
|
|
1407
1385
|
case "sign-auto":
|
|
1408
1386
|
return {
|
|
@@ -1442,7 +1420,7 @@ function rr(e) {
|
|
|
1442
1420
|
};
|
|
1443
1421
|
}
|
|
1444
1422
|
}
|
|
1445
|
-
function
|
|
1423
|
+
function Mn(e) {
|
|
1446
1424
|
var t;
|
|
1447
1425
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1448
1426
|
notation: "engineering"
|
|
@@ -1450,17 +1428,17 @@ function Rn(e) {
|
|
|
1450
1428
|
notation: "scientific"
|
|
1451
1429
|
}, e = e.slice(1)), t) {
|
|
1452
1430
|
var r = e.slice(0, 2);
|
|
1453
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1431
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
|
|
1454
1432
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1455
1433
|
t.minimumIntegerDigits = e.length;
|
|
1456
1434
|
}
|
|
1457
1435
|
return t;
|
|
1458
1436
|
}
|
|
1459
|
-
function
|
|
1460
|
-
var t = {}, r =
|
|
1437
|
+
function mt(e) {
|
|
1438
|
+
var t = {}, r = Yt(e);
|
|
1461
1439
|
return r || t;
|
|
1462
1440
|
}
|
|
1463
|
-
function
|
|
1441
|
+
function Cn(e) {
|
|
1464
1442
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1465
1443
|
var i = n[r];
|
|
1466
1444
|
switch (i.stem) {
|
|
@@ -1484,7 +1462,7 @@ function Un(e) {
|
|
|
1484
1462
|
continue;
|
|
1485
1463
|
case "measure-unit":
|
|
1486
1464
|
case "unit":
|
|
1487
|
-
t.style = "unit", t.unit =
|
|
1465
|
+
t.style = "unit", t.unit = Ln(i.options[0]);
|
|
1488
1466
|
continue;
|
|
1489
1467
|
case "compact-short":
|
|
1490
1468
|
case "K":
|
|
@@ -1496,12 +1474,12 @@ function Un(e) {
|
|
|
1496
1474
|
continue;
|
|
1497
1475
|
case "scientific":
|
|
1498
1476
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1499
|
-
return g(g({}, h),
|
|
1477
|
+
return g(g({}, h), mt(u));
|
|
1500
1478
|
}, {}));
|
|
1501
1479
|
continue;
|
|
1502
1480
|
case "engineering":
|
|
1503
1481
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1504
|
-
return g(g({}, h),
|
|
1482
|
+
return g(g({}, h), mt(u));
|
|
1505
1483
|
}, {}));
|
|
1506
1484
|
continue;
|
|
1507
1485
|
case "notation-simple":
|
|
@@ -1546,7 +1524,7 @@ function Un(e) {
|
|
|
1546
1524
|
case "integer-width":
|
|
1547
1525
|
if (i.options.length > 1)
|
|
1548
1526
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1549
|
-
i.options[0].replace(
|
|
1527
|
+
i.options[0].replace(Nn, function(h, u, l, f, c, p) {
|
|
1550
1528
|
if (u)
|
|
1551
1529
|
t.minimumIntegerDigits = l.length;
|
|
1552
1530
|
else {
|
|
@@ -1559,27 +1537,27 @@ function Un(e) {
|
|
|
1559
1537
|
});
|
|
1560
1538
|
continue;
|
|
1561
1539
|
}
|
|
1562
|
-
if (
|
|
1540
|
+
if (Jt.test(i.stem)) {
|
|
1563
1541
|
t.minimumIntegerDigits = i.stem.length;
|
|
1564
1542
|
continue;
|
|
1565
1543
|
}
|
|
1566
|
-
if (
|
|
1544
|
+
if (pt.test(i.stem)) {
|
|
1567
1545
|
if (i.options.length > 1)
|
|
1568
1546
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1569
|
-
i.stem.replace(
|
|
1547
|
+
i.stem.replace(pt, function(h, u, l, f, c, p) {
|
|
1570
1548
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1571
1549
|
});
|
|
1572
1550
|
var o = i.options[0];
|
|
1573
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1551
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), dt(o)));
|
|
1574
1552
|
continue;
|
|
1575
1553
|
}
|
|
1576
|
-
if (
|
|
1577
|
-
t = g(g({}, t),
|
|
1554
|
+
if (qt.test(i.stem)) {
|
|
1555
|
+
t = g(g({}, t), dt(i.stem));
|
|
1578
1556
|
continue;
|
|
1579
1557
|
}
|
|
1580
|
-
var s =
|
|
1558
|
+
var s = Yt(i.stem);
|
|
1581
1559
|
s && (t = g(g({}, t), s));
|
|
1582
|
-
var a =
|
|
1560
|
+
var a = Mn(i.stem);
|
|
1583
1561
|
a && (t = g(g({}, t), a));
|
|
1584
1562
|
}
|
|
1585
1563
|
return t;
|
|
@@ -2999,13 +2977,13 @@ var ce = {
|
|
|
2999
2977
|
"h"
|
|
3000
2978
|
]
|
|
3001
2979
|
};
|
|
3002
|
-
function
|
|
2980
|
+
function $n(e, t) {
|
|
3003
2981
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3004
2982
|
var i = e.charAt(n);
|
|
3005
2983
|
if (i === "j") {
|
|
3006
2984
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3007
2985
|
o++, n++;
|
|
3008
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2986
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
|
|
3009
2987
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3010
2988
|
r += h;
|
|
3011
2989
|
for (; s-- > 0; )
|
|
@@ -3015,7 +2993,7 @@ function Dn(e, t) {
|
|
|
3015
2993
|
}
|
|
3016
2994
|
return r;
|
|
3017
2995
|
}
|
|
3018
|
-
function
|
|
2996
|
+
function Rn(e) {
|
|
3019
2997
|
var t = e.hourCycle;
|
|
3020
2998
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3021
2999
|
e.hourCycles && // @ts-ignore
|
|
@@ -3037,20 +3015,20 @@ function Gn(e) {
|
|
|
3037
3015
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3038
3016
|
return i[0];
|
|
3039
3017
|
}
|
|
3040
|
-
var
|
|
3018
|
+
var Oe, Un = new RegExp("^".concat(Qt.source, "*")), Gn = new RegExp("".concat(Qt.source, "*$"));
|
|
3041
3019
|
function b(e, t) {
|
|
3042
3020
|
return { start: e, end: t };
|
|
3043
3021
|
}
|
|
3044
|
-
var
|
|
3022
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
|
|
3045
3023
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3046
|
-
},
|
|
3024
|
+
}, je = !0;
|
|
3047
3025
|
try {
|
|
3048
|
-
var
|
|
3049
|
-
|
|
3026
|
+
var Zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3027
|
+
je = ((Oe = Zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3050
3028
|
} catch (e) {
|
|
3051
|
-
|
|
3029
|
+
je = !1;
|
|
3052
3030
|
}
|
|
3053
|
-
var
|
|
3031
|
+
var bt = Dn ? (
|
|
3054
3032
|
// Native
|
|
3055
3033
|
function(t, r, n) {
|
|
3056
3034
|
return t.startsWith(r, n);
|
|
@@ -3060,7 +3038,7 @@ var vt = kn ? (
|
|
|
3060
3038
|
function(t, r, n) {
|
|
3061
3039
|
return t.slice(n, n + r.length) === r;
|
|
3062
3040
|
}
|
|
3063
|
-
),
|
|
3041
|
+
), ke = Fn ? String.fromCodePoint : (
|
|
3064
3042
|
// IE11
|
|
3065
3043
|
function() {
|
|
3066
3044
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3072,9 +3050,9 @@ var vt = kn ? (
|
|
|
3072
3050
|
}
|
|
3073
3051
|
return n;
|
|
3074
3052
|
}
|
|
3075
|
-
),
|
|
3053
|
+
), gt = (
|
|
3076
3054
|
// native
|
|
3077
|
-
|
|
3055
|
+
jn ? Object.fromEntries : (
|
|
3078
3056
|
// Ponyfill
|
|
3079
3057
|
function(t) {
|
|
3080
3058
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3084,7 +3062,7 @@ var vt = kn ? (
|
|
|
3084
3062
|
return r;
|
|
3085
3063
|
}
|
|
3086
3064
|
)
|
|
3087
|
-
),
|
|
3065
|
+
), Kt = kn ? (
|
|
3088
3066
|
// Native
|
|
3089
3067
|
function(t, r) {
|
|
3090
3068
|
return t.codePointAt(r);
|
|
@@ -3098,7 +3076,7 @@ var vt = kn ? (
|
|
|
3098
3076
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3099
3077
|
}
|
|
3100
3078
|
}
|
|
3101
|
-
),
|
|
3079
|
+
), Qn = Vn ? (
|
|
3102
3080
|
// Native
|
|
3103
3081
|
function(t) {
|
|
3104
3082
|
return t.trimStart();
|
|
@@ -3106,9 +3084,9 @@ var vt = kn ? (
|
|
|
3106
3084
|
) : (
|
|
3107
3085
|
// Ponyfill
|
|
3108
3086
|
function(t) {
|
|
3109
|
-
return t.replace(
|
|
3087
|
+
return t.replace(Un, "");
|
|
3110
3088
|
}
|
|
3111
|
-
),
|
|
3089
|
+
), qn = Xn ? (
|
|
3112
3090
|
// Native
|
|
3113
3091
|
function(t) {
|
|
3114
3092
|
return t.trimEnd();
|
|
@@ -3116,32 +3094,32 @@ var vt = kn ? (
|
|
|
3116
3094
|
) : (
|
|
3117
3095
|
// Ponyfill
|
|
3118
3096
|
function(t) {
|
|
3119
|
-
return t.replace(
|
|
3097
|
+
return t.replace(Gn, "");
|
|
3120
3098
|
}
|
|
3121
3099
|
);
|
|
3122
|
-
function
|
|
3100
|
+
function er(e, t) {
|
|
3123
3101
|
return new RegExp(e, t);
|
|
3124
3102
|
}
|
|
3125
|
-
var
|
|
3126
|
-
if (
|
|
3127
|
-
var
|
|
3128
|
-
|
|
3103
|
+
var Ve;
|
|
3104
|
+
if (je) {
|
|
3105
|
+
var yt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3106
|
+
Ve = function(t, r) {
|
|
3129
3107
|
var n;
|
|
3130
|
-
|
|
3131
|
-
var i =
|
|
3108
|
+
yt.lastIndex = r;
|
|
3109
|
+
var i = yt.exec(t);
|
|
3132
3110
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3133
3111
|
};
|
|
3134
3112
|
} else
|
|
3135
|
-
|
|
3113
|
+
Ve = function(t, r) {
|
|
3136
3114
|
for (var n = []; ; ) {
|
|
3137
|
-
var i =
|
|
3138
|
-
if (i === void 0 ||
|
|
3115
|
+
var i = Kt(t, r);
|
|
3116
|
+
if (i === void 0 || tr(i) || ei(i))
|
|
3139
3117
|
break;
|
|
3140
3118
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3141
3119
|
}
|
|
3142
|
-
return
|
|
3120
|
+
return ke.apply(void 0, n);
|
|
3143
3121
|
};
|
|
3144
|
-
var
|
|
3122
|
+
var Jn = (
|
|
3145
3123
|
/** @class */
|
|
3146
3124
|
function() {
|
|
3147
3125
|
function e(t, r) {
|
|
@@ -3165,14 +3143,14 @@ var ei = (
|
|
|
3165
3143
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3166
3144
|
var a = this.clonePosition();
|
|
3167
3145
|
this.bump(), i.push({
|
|
3168
|
-
type:
|
|
3146
|
+
type: x.pound,
|
|
3169
3147
|
location: b(a, this.clonePosition())
|
|
3170
3148
|
});
|
|
3171
3149
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3172
3150
|
if (n)
|
|
3173
3151
|
break;
|
|
3174
3152
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3175
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3153
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3176
3154
|
var s = this.parseTag(t, r);
|
|
3177
3155
|
if (s.err)
|
|
3178
3156
|
return s;
|
|
@@ -3193,7 +3171,7 @@ var ei = (
|
|
|
3193
3171
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3194
3172
|
return {
|
|
3195
3173
|
val: {
|
|
3196
|
-
type:
|
|
3174
|
+
type: x.literal,
|
|
3197
3175
|
value: "<".concat(i, "/>"),
|
|
3198
3176
|
location: b(n, this.clonePosition())
|
|
3199
3177
|
},
|
|
@@ -3205,12 +3183,12 @@ var ei = (
|
|
|
3205
3183
|
return o;
|
|
3206
3184
|
var s = o.val, a = this.clonePosition();
|
|
3207
3185
|
if (this.bumpIf("</")) {
|
|
3208
|
-
if (this.isEOF() || !
|
|
3186
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
3209
3187
|
return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
|
|
3210
3188
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3211
3189
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3212
3190
|
val: {
|
|
3213
|
-
type:
|
|
3191
|
+
type: x.tag,
|
|
3214
3192
|
value: i,
|
|
3215
3193
|
children: s,
|
|
3216
3194
|
location: b(n, this.clonePosition())
|
|
@@ -3223,7 +3201,7 @@ var ei = (
|
|
|
3223
3201
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3224
3202
|
}, e.prototype.parseTagName = function() {
|
|
3225
3203
|
var t = this.offset();
|
|
3226
|
-
for (this.bump(); !this.isEOF() &&
|
|
3204
|
+
for (this.bump(); !this.isEOF() && Kn(this.char()); )
|
|
3227
3205
|
this.bump();
|
|
3228
3206
|
return this.message.slice(t, this.offset());
|
|
3229
3207
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3247,12 +3225,12 @@ var ei = (
|
|
|
3247
3225
|
}
|
|
3248
3226
|
var h = b(n, this.clonePosition());
|
|
3249
3227
|
return {
|
|
3250
|
-
val: { type:
|
|
3228
|
+
val: { type: x.literal, value: i, location: h },
|
|
3251
3229
|
err: null
|
|
3252
3230
|
};
|
|
3253
3231
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3254
3232
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3255
|
-
!
|
|
3233
|
+
!Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3256
3234
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3257
3235
|
if (this.isEOF() || this.char() !== 39)
|
|
3258
3236
|
return null;
|
|
@@ -3286,12 +3264,12 @@ var ei = (
|
|
|
3286
3264
|
r.push(n);
|
|
3287
3265
|
this.bump();
|
|
3288
3266
|
}
|
|
3289
|
-
return
|
|
3267
|
+
return ke.apply(void 0, r);
|
|
3290
3268
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3291
3269
|
if (this.isEOF())
|
|
3292
3270
|
return null;
|
|
3293
3271
|
var n = this.char();
|
|
3294
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3272
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
|
|
3295
3273
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3296
3274
|
var n = this.clonePosition();
|
|
3297
3275
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3307,7 +3285,7 @@ var ei = (
|
|
|
3307
3285
|
case 125:
|
|
3308
3286
|
return this.bump(), {
|
|
3309
3287
|
val: {
|
|
3310
|
-
type:
|
|
3288
|
+
type: x.argument,
|
|
3311
3289
|
// value does not include the opening and closing braces.
|
|
3312
3290
|
value: i,
|
|
3313
3291
|
location: b(n, this.clonePosition())
|
|
@@ -3320,7 +3298,7 @@ var ei = (
|
|
|
3320
3298
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3321
3299
|
}
|
|
3322
3300
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3323
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3301
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
3324
3302
|
this.bumpTo(i);
|
|
3325
3303
|
var o = this.clonePosition(), s = b(t, o);
|
|
3326
3304
|
return { value: n, location: s };
|
|
@@ -3339,7 +3317,7 @@ var ei = (
|
|
|
3339
3317
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3340
3318
|
if (f.err)
|
|
3341
3319
|
return f;
|
|
3342
|
-
var c =
|
|
3320
|
+
var c = qn(f.val);
|
|
3343
3321
|
if (c.length === 0)
|
|
3344
3322
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3345
3323
|
var p = b(l, this.clonePosition());
|
|
@@ -3349,25 +3327,25 @@ var ei = (
|
|
|
3349
3327
|
if (d.err)
|
|
3350
3328
|
return d;
|
|
3351
3329
|
var v = b(i, this.clonePosition());
|
|
3352
|
-
if (u &&
|
|
3353
|
-
var B =
|
|
3330
|
+
if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3331
|
+
var B = Qn(u.style.slice(2));
|
|
3354
3332
|
if (a === "number") {
|
|
3355
3333
|
var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3356
3334
|
return f.err ? f : {
|
|
3357
|
-
val: { type:
|
|
3335
|
+
val: { type: x.number, value: n, location: v, style: f.val },
|
|
3358
3336
|
err: null
|
|
3359
3337
|
};
|
|
3360
3338
|
} else {
|
|
3361
3339
|
if (B.length === 0)
|
|
3362
3340
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
|
|
3363
3341
|
var $ = B;
|
|
3364
|
-
this.locale && ($ =
|
|
3342
|
+
this.locale && ($ = $n(B, this.locale));
|
|
3365
3343
|
var c = {
|
|
3366
3344
|
type: W.dateTime,
|
|
3367
3345
|
pattern: $,
|
|
3368
3346
|
location: u.styleLocation,
|
|
3369
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3370
|
-
}, N = a === "date" ?
|
|
3347
|
+
parsedOptions: this.shouldParseSkeletons ? Pn($) : {}
|
|
3348
|
+
}, N = a === "date" ? x.date : x.time;
|
|
3371
3349
|
return {
|
|
3372
3350
|
val: { type: N, value: n, location: v, style: c },
|
|
3373
3351
|
err: null
|
|
@@ -3376,7 +3354,7 @@ var ei = (
|
|
|
3376
3354
|
}
|
|
3377
3355
|
return {
|
|
3378
3356
|
val: {
|
|
3379
|
-
type: a === "number" ?
|
|
3357
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3380
3358
|
value: n,
|
|
3381
3359
|
location: v,
|
|
3382
3360
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3387,9 +3365,9 @@ var ei = (
|
|
|
3387
3365
|
case "plural":
|
|
3388
3366
|
case "selectordinal":
|
|
3389
3367
|
case "select": {
|
|
3390
|
-
var
|
|
3368
|
+
var E = this.clonePosition();
|
|
3391
3369
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3392
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(
|
|
3370
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
|
|
3393
3371
|
this.bumpSpace();
|
|
3394
3372
|
var R = this.parseIdentifierIfPossible(), P = 0;
|
|
3395
3373
|
if (a !== "select" && R.value === "offset") {
|
|
@@ -3401,26 +3379,26 @@ var ei = (
|
|
|
3401
3379
|
return f;
|
|
3402
3380
|
this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
|
|
3403
3381
|
}
|
|
3404
|
-
var
|
|
3405
|
-
if (
|
|
3406
|
-
return
|
|
3382
|
+
var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3383
|
+
if (G.err)
|
|
3384
|
+
return G;
|
|
3407
3385
|
var d = this.tryParseArgumentClose(i);
|
|
3408
3386
|
if (d.err)
|
|
3409
3387
|
return d;
|
|
3410
3388
|
var ue = b(i, this.clonePosition());
|
|
3411
3389
|
return a === "select" ? {
|
|
3412
3390
|
val: {
|
|
3413
|
-
type:
|
|
3391
|
+
type: x.select,
|
|
3414
3392
|
value: n,
|
|
3415
|
-
options:
|
|
3393
|
+
options: gt(G.val),
|
|
3416
3394
|
location: ue
|
|
3417
3395
|
},
|
|
3418
3396
|
err: null
|
|
3419
3397
|
} : {
|
|
3420
3398
|
val: {
|
|
3421
|
-
type:
|
|
3399
|
+
type: x.plural,
|
|
3422
3400
|
value: n,
|
|
3423
|
-
options:
|
|
3401
|
+
options: gt(G.val),
|
|
3424
3402
|
offset: P,
|
|
3425
3403
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3426
3404
|
location: ue
|
|
@@ -3471,7 +3449,7 @@ var ei = (
|
|
|
3471
3449
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3472
3450
|
var n = [];
|
|
3473
3451
|
try {
|
|
3474
|
-
n =
|
|
3452
|
+
n = In(t);
|
|
3475
3453
|
} catch (i) {
|
|
3476
3454
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3477
3455
|
}
|
|
@@ -3480,7 +3458,7 @@ var ei = (
|
|
|
3480
3458
|
type: W.number,
|
|
3481
3459
|
tokens: n,
|
|
3482
3460
|
location: r,
|
|
3483
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3461
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
|
|
3484
3462
|
},
|
|
3485
3463
|
err: null
|
|
3486
3464
|
};
|
|
@@ -3528,7 +3506,7 @@ var ei = (
|
|
|
3528
3506
|
break;
|
|
3529
3507
|
}
|
|
3530
3508
|
var h = b(i, this.clonePosition());
|
|
3531
|
-
return o ? (s *= n,
|
|
3509
|
+
return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3532
3510
|
}, e.prototype.offset = function() {
|
|
3533
3511
|
return this.position.offset;
|
|
3534
3512
|
}, e.prototype.isEOF = function() {
|
|
@@ -3543,7 +3521,7 @@ var ei = (
|
|
|
3543
3521
|
var t = this.position.offset;
|
|
3544
3522
|
if (t >= this.message.length)
|
|
3545
3523
|
throw Error("out of bound");
|
|
3546
|
-
var r =
|
|
3524
|
+
var r = Kt(this.message, t);
|
|
3547
3525
|
if (r === void 0)
|
|
3548
3526
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3549
3527
|
return r;
|
|
@@ -3562,7 +3540,7 @@ var ei = (
|
|
|
3562
3540
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3563
3541
|
}
|
|
3564
3542
|
}, e.prototype.bumpIf = function(t) {
|
|
3565
|
-
if (
|
|
3543
|
+
if (bt(this.message, t, this.offset())) {
|
|
3566
3544
|
for (var r = 0; r < t.length; r++)
|
|
3567
3545
|
this.bump();
|
|
3568
3546
|
return !0;
|
|
@@ -3584,7 +3562,7 @@ var ei = (
|
|
|
3584
3562
|
break;
|
|
3585
3563
|
}
|
|
3586
3564
|
}, e.prototype.bumpSpace = function() {
|
|
3587
|
-
for (; !this.isEOF() &&
|
|
3565
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3588
3566
|
this.bump();
|
|
3589
3567
|
}, e.prototype.peek = function() {
|
|
3590
3568
|
if (this.isEOF())
|
|
@@ -3594,44 +3572,44 @@ var ei = (
|
|
|
3594
3572
|
}, e;
|
|
3595
3573
|
}()
|
|
3596
3574
|
);
|
|
3597
|
-
function
|
|
3575
|
+
function Xe(e) {
|
|
3598
3576
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3599
3577
|
}
|
|
3600
|
-
function
|
|
3601
|
-
return
|
|
3578
|
+
function Yn(e) {
|
|
3579
|
+
return Xe(e) || e === 47;
|
|
3602
3580
|
}
|
|
3603
|
-
function
|
|
3581
|
+
function Kn(e) {
|
|
3604
3582
|
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;
|
|
3605
3583
|
}
|
|
3606
|
-
function
|
|
3584
|
+
function tr(e) {
|
|
3607
3585
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3608
3586
|
}
|
|
3609
|
-
function
|
|
3587
|
+
function ei(e) {
|
|
3610
3588
|
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;
|
|
3611
3589
|
}
|
|
3612
|
-
function
|
|
3590
|
+
function We(e) {
|
|
3613
3591
|
e.forEach(function(t) {
|
|
3614
|
-
if (delete t.location,
|
|
3592
|
+
if (delete t.location, Xt(t) || Wt(t))
|
|
3615
3593
|
for (var r in t.options)
|
|
3616
|
-
delete t.options[r].location,
|
|
3594
|
+
delete t.options[r].location, We(t.options[r].value);
|
|
3617
3595
|
else
|
|
3618
|
-
|
|
3596
|
+
jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Fe(t.style) ? delete t.style.location : zt(t) && We(t.children);
|
|
3619
3597
|
});
|
|
3620
3598
|
}
|
|
3621
|
-
function
|
|
3599
|
+
function ti(e, t) {
|
|
3622
3600
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3623
|
-
var r = new
|
|
3601
|
+
var r = new Jn(e, t).parse();
|
|
3624
3602
|
if (r.err) {
|
|
3625
3603
|
var n = SyntaxError(m[r.err.kind]);
|
|
3626
3604
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3627
3605
|
}
|
|
3628
|
-
return t != null && t.captureLocation ||
|
|
3606
|
+
return t != null && t.captureLocation || We(r.val), r.val;
|
|
3629
3607
|
}
|
|
3630
3608
|
var z;
|
|
3631
3609
|
(function(e) {
|
|
3632
3610
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3633
3611
|
})(z || (z = {}));
|
|
3634
|
-
var
|
|
3612
|
+
var _e = (
|
|
3635
3613
|
/** @class */
|
|
3636
3614
|
function(e) {
|
|
3637
3615
|
L(t, e);
|
|
@@ -3643,7 +3621,7 @@ var xe = (
|
|
|
3643
3621
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3644
3622
|
}, t;
|
|
3645
3623
|
}(Error)
|
|
3646
|
-
),
|
|
3624
|
+
), vt = (
|
|
3647
3625
|
/** @class */
|
|
3648
3626
|
function(e) {
|
|
3649
3627
|
L(t, e);
|
|
@@ -3651,8 +3629,8 @@ var xe = (
|
|
|
3651
3629
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3652
3630
|
}
|
|
3653
3631
|
return t;
|
|
3654
|
-
}(
|
|
3655
|
-
),
|
|
3632
|
+
}(_e)
|
|
3633
|
+
), ri = (
|
|
3656
3634
|
/** @class */
|
|
3657
3635
|
function(e) {
|
|
3658
3636
|
L(t, e);
|
|
@@ -3660,8 +3638,8 @@ var xe = (
|
|
|
3660
3638
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3661
3639
|
}
|
|
3662
3640
|
return t;
|
|
3663
|
-
}(
|
|
3664
|
-
),
|
|
3641
|
+
}(_e)
|
|
3642
|
+
), ni = (
|
|
3665
3643
|
/** @class */
|
|
3666
3644
|
function(e) {
|
|
3667
3645
|
L(t, e);
|
|
@@ -3669,129 +3647,129 @@ var xe = (
|
|
|
3669
3647
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3670
3648
|
}
|
|
3671
3649
|
return t;
|
|
3672
|
-
}(
|
|
3673
|
-
),
|
|
3650
|
+
}(_e)
|
|
3651
|
+
), _;
|
|
3674
3652
|
(function(e) {
|
|
3675
3653
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3676
|
-
})(
|
|
3677
|
-
function
|
|
3654
|
+
})(_ || (_ = {}));
|
|
3655
|
+
function ii(e) {
|
|
3678
3656
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3679
3657
|
var n = t[t.length - 1];
|
|
3680
|
-
return !n || n.type !==
|
|
3658
|
+
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
|
3681
3659
|
}, []);
|
|
3682
3660
|
}
|
|
3683
|
-
function
|
|
3661
|
+
function oi(e) {
|
|
3684
3662
|
return typeof e == "function";
|
|
3685
3663
|
}
|
|
3686
3664
|
function de(e, t, r, n, i, o, s) {
|
|
3687
|
-
if (e.length === 1 &&
|
|
3665
|
+
if (e.length === 1 && ft(e[0]))
|
|
3688
3666
|
return [
|
|
3689
3667
|
{
|
|
3690
|
-
type:
|
|
3668
|
+
type: _.literal,
|
|
3691
3669
|
value: e[0].value
|
|
3692
3670
|
}
|
|
3693
3671
|
];
|
|
3694
3672
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3695
3673
|
var l = u[h];
|
|
3696
|
-
if (
|
|
3674
|
+
if (ft(l)) {
|
|
3697
3675
|
a.push({
|
|
3698
|
-
type:
|
|
3676
|
+
type: _.literal,
|
|
3699
3677
|
value: l.value
|
|
3700
3678
|
});
|
|
3701
3679
|
continue;
|
|
3702
3680
|
}
|
|
3703
|
-
if (
|
|
3681
|
+
if (wn(l)) {
|
|
3704
3682
|
typeof o == "number" && a.push({
|
|
3705
|
-
type:
|
|
3683
|
+
type: _.literal,
|
|
3706
3684
|
value: r.getNumberFormat(t).format(o)
|
|
3707
3685
|
});
|
|
3708
3686
|
continue;
|
|
3709
3687
|
}
|
|
3710
3688
|
var f = l.value;
|
|
3711
3689
|
if (!(i && f in i))
|
|
3712
|
-
throw new
|
|
3690
|
+
throw new ni(f, s);
|
|
3713
3691
|
var c = i[f];
|
|
3714
|
-
if (
|
|
3692
|
+
if (Bn(l)) {
|
|
3715
3693
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3716
|
-
type: typeof c == "string" ?
|
|
3694
|
+
type: typeof c == "string" ? _.literal : _.object,
|
|
3717
3695
|
value: c
|
|
3718
3696
|
});
|
|
3719
3697
|
continue;
|
|
3720
3698
|
}
|
|
3721
|
-
if (
|
|
3722
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3699
|
+
if (kt(l)) {
|
|
3700
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3723
3701
|
a.push({
|
|
3724
|
-
type:
|
|
3702
|
+
type: _.literal,
|
|
3725
3703
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3726
3704
|
});
|
|
3727
3705
|
continue;
|
|
3728
3706
|
}
|
|
3729
|
-
if (
|
|
3730
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3707
|
+
if (Vt(l)) {
|
|
3708
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3731
3709
|
a.push({
|
|
3732
|
-
type:
|
|
3710
|
+
type: _.literal,
|
|
3733
3711
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3734
3712
|
});
|
|
3735
3713
|
continue;
|
|
3736
3714
|
}
|
|
3737
|
-
if (
|
|
3738
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3715
|
+
if (jt(l)) {
|
|
3716
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3739
3717
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3740
|
-
type:
|
|
3718
|
+
type: _.literal,
|
|
3741
3719
|
value: r.getNumberFormat(t, p).format(c)
|
|
3742
3720
|
});
|
|
3743
3721
|
continue;
|
|
3744
3722
|
}
|
|
3745
|
-
if (
|
|
3723
|
+
if (zt(l)) {
|
|
3746
3724
|
var d = l.children, v = l.value, B = i[v];
|
|
3747
|
-
if (!
|
|
3748
|
-
throw new
|
|
3725
|
+
if (!oi(B))
|
|
3726
|
+
throw new ri(v, "function", s);
|
|
3749
3727
|
var $ = de(d, t, r, n, i, o), N = B($.map(function(P) {
|
|
3750
3728
|
return P.value;
|
|
3751
3729
|
}));
|
|
3752
3730
|
Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
|
|
3753
3731
|
return {
|
|
3754
|
-
type: typeof P == "string" ?
|
|
3732
|
+
type: typeof P == "string" ? _.literal : _.object,
|
|
3755
3733
|
value: P
|
|
3756
3734
|
};
|
|
3757
3735
|
}));
|
|
3758
3736
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
var
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3763
|
-
a.push.apply(a, de(
|
|
3737
|
+
if (Xt(l)) {
|
|
3738
|
+
var E = l.options[c] || l.options.other;
|
|
3739
|
+
if (!E)
|
|
3740
|
+
throw new vt(l.value, c, Object.keys(l.options), s);
|
|
3741
|
+
a.push.apply(a, de(E.value, t, r, n, i));
|
|
3764
3742
|
continue;
|
|
3765
3743
|
}
|
|
3766
|
-
if (
|
|
3767
|
-
var
|
|
3768
|
-
if (!
|
|
3744
|
+
if (Wt(l)) {
|
|
3745
|
+
var E = l.options["=".concat(c)];
|
|
3746
|
+
if (!E) {
|
|
3769
3747
|
if (!Intl.PluralRules)
|
|
3770
|
-
throw new
|
|
3748
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3771
3749
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3772
3750
|
`, z.MISSING_INTL_API, s);
|
|
3773
3751
|
var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3774
|
-
|
|
3752
|
+
E = l.options[R] || l.options.other;
|
|
3775
3753
|
}
|
|
3776
|
-
if (!
|
|
3777
|
-
throw new
|
|
3778
|
-
a.push.apply(a, de(
|
|
3754
|
+
if (!E)
|
|
3755
|
+
throw new vt(l.value, c, Object.keys(l.options), s);
|
|
3756
|
+
a.push.apply(a, de(E.value, t, r, n, i, c - (l.offset || 0)));
|
|
3779
3757
|
continue;
|
|
3780
3758
|
}
|
|
3781
3759
|
}
|
|
3782
|
-
return
|
|
3760
|
+
return ii(a);
|
|
3783
3761
|
}
|
|
3784
|
-
function
|
|
3762
|
+
function si(e, t) {
|
|
3785
3763
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3786
3764
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3787
3765
|
}, {})) : e;
|
|
3788
3766
|
}
|
|
3789
|
-
function
|
|
3767
|
+
function ai(e, t) {
|
|
3790
3768
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3791
|
-
return r[n] =
|
|
3769
|
+
return r[n] = si(e[n], t[n]), r;
|
|
3792
3770
|
}, g({}, e)) : e;
|
|
3793
3771
|
}
|
|
3794
|
-
function
|
|
3772
|
+
function Ie(e) {
|
|
3795
3773
|
return {
|
|
3796
3774
|
create: function() {
|
|
3797
3775
|
return {
|
|
@@ -3805,39 +3783,39 @@ function Le(e) {
|
|
|
3805
3783
|
}
|
|
3806
3784
|
};
|
|
3807
3785
|
}
|
|
3808
|
-
function
|
|
3786
|
+
function ui(e) {
|
|
3809
3787
|
return e === void 0 && (e = {
|
|
3810
3788
|
number: {},
|
|
3811
3789
|
dateTime: {},
|
|
3812
3790
|
pluralRules: {}
|
|
3813
3791
|
}), {
|
|
3814
|
-
getNumberFormat:
|
|
3792
|
+
getNumberFormat: Ae(function() {
|
|
3815
3793
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3816
3794
|
r[n] = arguments[n];
|
|
3817
3795
|
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3818
3796
|
}, {
|
|
3819
|
-
cache:
|
|
3820
|
-
strategy:
|
|
3797
|
+
cache: Ie(e.number),
|
|
3798
|
+
strategy: Pe.variadic
|
|
3821
3799
|
}),
|
|
3822
|
-
getDateTimeFormat:
|
|
3800
|
+
getDateTimeFormat: Ae(function() {
|
|
3823
3801
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3824
3802
|
r[n] = arguments[n];
|
|
3825
3803
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3826
3804
|
}, {
|
|
3827
|
-
cache:
|
|
3828
|
-
strategy:
|
|
3805
|
+
cache: Ie(e.dateTime),
|
|
3806
|
+
strategy: Pe.variadic
|
|
3829
3807
|
}),
|
|
3830
|
-
getPluralRules:
|
|
3808
|
+
getPluralRules: Ae(function() {
|
|
3831
3809
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3832
3810
|
r[n] = arguments[n];
|
|
3833
3811
|
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3834
3812
|
}, {
|
|
3835
|
-
cache:
|
|
3836
|
-
strategy:
|
|
3813
|
+
cache: Ie(e.pluralRules),
|
|
3814
|
+
strategy: Pe.variadic
|
|
3837
3815
|
})
|
|
3838
3816
|
};
|
|
3839
3817
|
}
|
|
3840
|
-
var
|
|
3818
|
+
var hi = (
|
|
3841
3819
|
/** @class */
|
|
3842
3820
|
function() {
|
|
3843
3821
|
function e(t, r, n, i) {
|
|
@@ -3852,7 +3830,7 @@ var fi = (
|
|
|
3852
3830
|
if (u.length === 1)
|
|
3853
3831
|
return u[0].value;
|
|
3854
3832
|
var l = u.reduce(function(f, c) {
|
|
3855
|
-
return !f.length || c.type !==
|
|
3833
|
+
return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3856
3834
|
}, []);
|
|
3857
3835
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3858
3836
|
}, this.formatToParts = function(h) {
|
|
@@ -3869,13 +3847,13 @@ var fi = (
|
|
|
3869
3847
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3870
3848
|
var s = i || {};
|
|
3871
3849
|
s.formatters;
|
|
3872
|
-
var a =
|
|
3850
|
+
var a = Dr(s, ["formatters"]);
|
|
3873
3851
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3874
3852
|
} else
|
|
3875
3853
|
this.ast = t;
|
|
3876
3854
|
if (!Array.isArray(this.ast))
|
|
3877
3855
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3878
|
-
this.formats =
|
|
3856
|
+
this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
|
|
3879
3857
|
}
|
|
3880
3858
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3881
3859
|
get: function() {
|
|
@@ -3888,7 +3866,7 @@ var fi = (
|
|
|
3888
3866
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3889
3867
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3890
3868
|
}
|
|
3891
|
-
}, e.__parse =
|
|
3869
|
+
}, e.__parse = ti, e.formats = {
|
|
3892
3870
|
number: {
|
|
3893
3871
|
integer: {
|
|
3894
3872
|
maximumFractionDigits: 0
|
|
@@ -3949,7 +3927,7 @@ var fi = (
|
|
|
3949
3927
|
}, e;
|
|
3950
3928
|
}()
|
|
3951
3929
|
);
|
|
3952
|
-
function
|
|
3930
|
+
function li(e, t) {
|
|
3953
3931
|
if (t == null)
|
|
3954
3932
|
return;
|
|
3955
3933
|
if (t in e)
|
|
@@ -3970,92 +3948,92 @@ function pi(e, t) {
|
|
|
3970
3948
|
n = void 0;
|
|
3971
3949
|
return n;
|
|
3972
3950
|
}
|
|
3973
|
-
const C = {},
|
|
3951
|
+
const C = {}, ci = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), rr = (e, t) => {
|
|
3974
3952
|
if (t == null)
|
|
3975
3953
|
return;
|
|
3976
3954
|
if (t in C && e in C[t])
|
|
3977
3955
|
return C[t][e];
|
|
3978
|
-
const r =
|
|
3956
|
+
const r = Ee(t);
|
|
3979
3957
|
for (let n = 0; n < r.length; n++) {
|
|
3980
|
-
const i = r[n], o =
|
|
3958
|
+
const i = r[n], o = pi(i, e);
|
|
3981
3959
|
if (o)
|
|
3982
|
-
return
|
|
3960
|
+
return ci(e, t, o);
|
|
3983
3961
|
}
|
|
3984
3962
|
};
|
|
3985
|
-
let
|
|
3986
|
-
const ae =
|
|
3987
|
-
function
|
|
3988
|
-
return
|
|
3963
|
+
let qe;
|
|
3964
|
+
const ae = xe({});
|
|
3965
|
+
function fi(e) {
|
|
3966
|
+
return qe[e] || null;
|
|
3989
3967
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return e in
|
|
3968
|
+
function nr(e) {
|
|
3969
|
+
return e in qe;
|
|
3992
3970
|
}
|
|
3993
|
-
function
|
|
3994
|
-
if (!
|
|
3971
|
+
function pi(e, t) {
|
|
3972
|
+
if (!nr(e))
|
|
3995
3973
|
return null;
|
|
3996
|
-
const r =
|
|
3997
|
-
return
|
|
3974
|
+
const r = fi(e);
|
|
3975
|
+
return li(r, t);
|
|
3998
3976
|
}
|
|
3999
|
-
function
|
|
3977
|
+
function di(e) {
|
|
4000
3978
|
if (e == null)
|
|
4001
3979
|
return;
|
|
4002
|
-
const t =
|
|
3980
|
+
const t = Ee(e);
|
|
4003
3981
|
for (let r = 0; r < t.length; r++) {
|
|
4004
3982
|
const n = t[r];
|
|
4005
|
-
if (
|
|
3983
|
+
if (nr(n))
|
|
4006
3984
|
return n;
|
|
4007
3985
|
}
|
|
4008
3986
|
}
|
|
4009
|
-
function
|
|
4010
|
-
delete C[e], ae.update((r) => (r[e] =
|
|
3987
|
+
function ir(e, ...t) {
|
|
3988
|
+
delete C[e], ae.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
|
|
4011
3989
|
}
|
|
4012
3990
|
q(
|
|
4013
3991
|
[ae],
|
|
4014
3992
|
([e]) => Object.keys(e)
|
|
4015
3993
|
);
|
|
4016
|
-
ae.subscribe((e) =>
|
|
3994
|
+
ae.subscribe((e) => qe = e);
|
|
4017
3995
|
const me = {};
|
|
4018
|
-
function
|
|
3996
|
+
function mi(e, t) {
|
|
4019
3997
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
4020
3998
|
}
|
|
4021
|
-
function
|
|
3999
|
+
function or(e) {
|
|
4022
4000
|
return me[e];
|
|
4023
4001
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
4026
|
-
const r =
|
|
4002
|
+
function bi(e) {
|
|
4003
|
+
return Ee(e).map((t) => {
|
|
4004
|
+
const r = or(t);
|
|
4027
4005
|
return [t, r ? [...r] : []];
|
|
4028
4006
|
}).filter(([, t]) => t.length > 0);
|
|
4029
4007
|
}
|
|
4030
|
-
function
|
|
4031
|
-
return e == null ? !1 :
|
|
4008
|
+
function ze(e) {
|
|
4009
|
+
return e == null ? !1 : Ee(e).some(
|
|
4032
4010
|
(t) => {
|
|
4033
4011
|
var r;
|
|
4034
|
-
return (r =
|
|
4012
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
4035
4013
|
}
|
|
4036
4014
|
);
|
|
4037
4015
|
}
|
|
4038
|
-
function
|
|
4016
|
+
function gi(e, t) {
|
|
4039
4017
|
return Promise.all(
|
|
4040
|
-
t.map((n) => (
|
|
4041
|
-
).then((n) =>
|
|
4018
|
+
t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
|
|
4019
|
+
).then((n) => ir(e, ...n));
|
|
4042
4020
|
}
|
|
4043
4021
|
const ee = {};
|
|
4044
|
-
function
|
|
4045
|
-
if (!
|
|
4022
|
+
function sr(e) {
|
|
4023
|
+
if (!ze(e))
|
|
4046
4024
|
return e in ee ? ee[e] : Promise.resolve();
|
|
4047
|
-
const t =
|
|
4025
|
+
const t = bi(e);
|
|
4048
4026
|
return ee[e] = Promise.all(
|
|
4049
4027
|
t.map(
|
|
4050
|
-
([r, n]) =>
|
|
4028
|
+
([r, n]) => gi(r, n)
|
|
4051
4029
|
)
|
|
4052
4030
|
).then(() => {
|
|
4053
|
-
if (
|
|
4054
|
-
return
|
|
4031
|
+
if (ze(e))
|
|
4032
|
+
return sr(e);
|
|
4055
4033
|
delete ee[e];
|
|
4056
4034
|
}), ee[e];
|
|
4057
4035
|
}
|
|
4058
|
-
const
|
|
4036
|
+
const yi = {
|
|
4059
4037
|
number: {
|
|
4060
4038
|
scientific: { notation: "scientific" },
|
|
4061
4039
|
engineering: { notation: "engineering" },
|
|
@@ -4084,57 +4062,57 @@ const xi = {
|
|
|
4084
4062
|
timeZoneName: "short"
|
|
4085
4063
|
}
|
|
4086
4064
|
}
|
|
4087
|
-
},
|
|
4065
|
+
}, vi = {
|
|
4088
4066
|
fallbackLocale: null,
|
|
4089
4067
|
loadingDelay: 200,
|
|
4090
|
-
formats:
|
|
4068
|
+
formats: yi,
|
|
4091
4069
|
warnOnMissingMessages: !0,
|
|
4092
4070
|
handleMissingMessage: void 0,
|
|
4093
4071
|
ignoreTag: !0
|
|
4094
|
-
},
|
|
4072
|
+
}, xi = vi;
|
|
4095
4073
|
function Z() {
|
|
4096
|
-
return
|
|
4074
|
+
return xi;
|
|
4097
4075
|
}
|
|
4098
|
-
const
|
|
4099
|
-
var
|
|
4076
|
+
const Le = xe(!1);
|
|
4077
|
+
var _i = Object.defineProperty, Ei = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
|
|
4100
4078
|
for (var r in t || (t = {}))
|
|
4101
|
-
|
|
4102
|
-
if (
|
|
4103
|
-
for (var r of
|
|
4104
|
-
|
|
4079
|
+
Ti.call(t, r) && _t(e, r, t[r]);
|
|
4080
|
+
if (xt)
|
|
4081
|
+
for (var r of xt(t))
|
|
4082
|
+
Hi.call(t, r) && _t(e, r, t[r]);
|
|
4105
4083
|
return e;
|
|
4106
|
-
},
|
|
4107
|
-
let
|
|
4108
|
-
const be =
|
|
4109
|
-
function
|
|
4084
|
+
}, wi = (e, t) => Ei(e, Si(t));
|
|
4085
|
+
let Ze;
|
|
4086
|
+
const be = xe(null);
|
|
4087
|
+
function Et(e) {
|
|
4110
4088
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4111
4089
|
}
|
|
4112
|
-
function
|
|
4113
|
-
const r =
|
|
4114
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4090
|
+
function Ee(e, t = Z().fallbackLocale) {
|
|
4091
|
+
const r = Et(e);
|
|
4092
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
|
|
4115
4093
|
}
|
|
4116
4094
|
function U() {
|
|
4117
|
-
return
|
|
4095
|
+
return Ze != null ? Ze : void 0;
|
|
4118
4096
|
}
|
|
4119
4097
|
be.subscribe((e) => {
|
|
4120
|
-
|
|
4098
|
+
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4121
4099
|
});
|
|
4122
|
-
const
|
|
4123
|
-
if (e &&
|
|
4100
|
+
const Ai = (e) => {
|
|
4101
|
+
if (e && di(e) && ze(e)) {
|
|
4124
4102
|
const { loadingDelay: t } = Z();
|
|
4125
4103
|
let r;
|
|
4126
4104
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4127
|
-
() =>
|
|
4105
|
+
() => Le.set(!0),
|
|
4128
4106
|
t
|
|
4129
|
-
) :
|
|
4107
|
+
) : Le.set(!0), sr(e).then(() => {
|
|
4130
4108
|
be.set(e);
|
|
4131
4109
|
}).finally(() => {
|
|
4132
|
-
clearTimeout(r),
|
|
4110
|
+
clearTimeout(r), Le.set(!1);
|
|
4133
4111
|
});
|
|
4134
4112
|
}
|
|
4135
4113
|
return be.set(e);
|
|
4136
|
-
}, J =
|
|
4137
|
-
set:
|
|
4114
|
+
}, J = wi(Bi({}, be), {
|
|
4115
|
+
set: Ai
|
|
4138
4116
|
}), Se = (e) => {
|
|
4139
4117
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4140
4118
|
return (n) => {
|
|
@@ -4142,20 +4120,20 @@ const Ii = (e) => {
|
|
|
4142
4120
|
return i in t ? t[i] : t[i] = e(n);
|
|
4143
4121
|
};
|
|
4144
4122
|
};
|
|
4145
|
-
var
|
|
4123
|
+
var Pi = Object.defineProperty, ge = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4146
4124
|
for (var r in t || (t = {}))
|
|
4147
|
-
|
|
4125
|
+
ar.call(t, r) && St(e, r, t[r]);
|
|
4148
4126
|
if (ge)
|
|
4149
4127
|
for (var r of ge(t))
|
|
4150
|
-
|
|
4128
|
+
ur.call(t, r) && St(e, r, t[r]);
|
|
4151
4129
|
return e;
|
|
4152
4130
|
}, Y = (e, t) => {
|
|
4153
4131
|
var r = {};
|
|
4154
4132
|
for (var n in e)
|
|
4155
|
-
|
|
4133
|
+
ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4156
4134
|
if (e != null && ge)
|
|
4157
4135
|
for (var n of ge(e))
|
|
4158
|
-
t.indexOf(n) < 0 &&
|
|
4136
|
+
t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
|
|
4159
4137
|
return r;
|
|
4160
4138
|
};
|
|
4161
4139
|
const ie = (e, t) => {
|
|
@@ -4163,21 +4141,21 @@ const ie = (e, t) => {
|
|
|
4163
4141
|
if (e in r && t in r[e])
|
|
4164
4142
|
return r[e][t];
|
|
4165
4143
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4166
|
-
},
|
|
4144
|
+
}, Oi = Se(
|
|
4167
4145
|
(e) => {
|
|
4168
4146
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4169
4147
|
if (r == null)
|
|
4170
4148
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4171
4149
|
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4172
4150
|
}
|
|
4173
|
-
),
|
|
4151
|
+
), Ii = Se(
|
|
4174
4152
|
(e) => {
|
|
4175
4153
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4176
4154
|
if (r == null)
|
|
4177
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4178
4156
|
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4179
4157
|
}
|
|
4180
|
-
),
|
|
4158
|
+
), Li = Se(
|
|
4181
4159
|
(e) => {
|
|
4182
4160
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4183
4161
|
if (r == null)
|
|
@@ -4186,33 +4164,33 @@ const ie = (e, t) => {
|
|
|
4186
4164
|
);
|
|
4187
4165
|
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4188
4166
|
}
|
|
4189
|
-
),
|
|
4167
|
+
), Ni = (e = {}) => {
|
|
4190
4168
|
var t = e, {
|
|
4191
4169
|
locale: r = U()
|
|
4192
4170
|
} = t, n = Y(t, [
|
|
4193
4171
|
"locale"
|
|
4194
4172
|
]);
|
|
4195
|
-
return
|
|
4196
|
-
},
|
|
4173
|
+
return Oi(Je({ locale: r }, n));
|
|
4174
|
+
}, Mi = (e = {}) => {
|
|
4197
4175
|
var t = e, {
|
|
4198
4176
|
locale: r = U()
|
|
4199
4177
|
} = t, n = Y(t, [
|
|
4200
4178
|
"locale"
|
|
4201
4179
|
]);
|
|
4202
|
-
return
|
|
4203
|
-
},
|
|
4180
|
+
return Ii(Je({ locale: r }, n));
|
|
4181
|
+
}, Ci = (e = {}) => {
|
|
4204
4182
|
var t = e, {
|
|
4205
4183
|
locale: r = U()
|
|
4206
4184
|
} = t, n = Y(t, [
|
|
4207
4185
|
"locale"
|
|
4208
4186
|
]);
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4187
|
+
return Li(Je({ locale: r }, n));
|
|
4188
|
+
}, $i = Se(
|
|
4211
4189
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4212
|
-
(e, t = U()) => new
|
|
4190
|
+
(e, t = U()) => new hi(e, t, Z().formats, {
|
|
4213
4191
|
ignoreTag: Z().ignoreTag
|
|
4214
4192
|
})
|
|
4215
|
-
),
|
|
4193
|
+
), Ri = (e, t = {}) => {
|
|
4216
4194
|
var r, n, i, o;
|
|
4217
4195
|
let s = t;
|
|
4218
4196
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4225,7 +4203,7 @@ const ie = (e, t) => {
|
|
|
4225
4203
|
throw new Error(
|
|
4226
4204
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4227
4205
|
);
|
|
4228
|
-
let l =
|
|
4206
|
+
let l = rr(e, h);
|
|
4229
4207
|
if (!l)
|
|
4230
4208
|
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;
|
|
4231
4209
|
else if (typeof l != "string")
|
|
@@ -4236,7 +4214,7 @@ const ie = (e, t) => {
|
|
|
4236
4214
|
return l;
|
|
4237
4215
|
let f = l;
|
|
4238
4216
|
try {
|
|
4239
|
-
f =
|
|
4217
|
+
f = $i(l, h).format(a);
|
|
4240
4218
|
} catch (c) {
|
|
4241
4219
|
c instanceof Error && console.warn(
|
|
4242
4220
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4244,20 +4222,20 @@ const ie = (e, t) => {
|
|
|
4244
4222
|
);
|
|
4245
4223
|
}
|
|
4246
4224
|
return f;
|
|
4247
|
-
},
|
|
4248
|
-
q([J], () =>
|
|
4249
|
-
q([J], () =>
|
|
4250
|
-
q([J], () =>
|
|
4251
|
-
q([J, ae], () =>
|
|
4252
|
-
window.emWidgets = { topic:
|
|
4253
|
-
const
|
|
4254
|
-
function
|
|
4225
|
+
}, Ui = (e, t) => Ci(t).format(e), Gi = (e, t) => Mi(t).format(e), Di = (e, t) => Ni(t).format(e), Fi = (e, t = U()) => rr(e, t), ji = q([J, ae], () => Ri);
|
|
4226
|
+
q([J], () => Ui);
|
|
4227
|
+
q([J], () => Gi);
|
|
4228
|
+
q([J], () => Di);
|
|
4229
|
+
q([J, ae], () => Fi);
|
|
4230
|
+
window.emWidgets = { topic: en };
|
|
4231
|
+
const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4232
|
+
function Tt(e, t) {
|
|
4255
4233
|
if (e) {
|
|
4256
4234
|
const r = document.createElement("style");
|
|
4257
4235
|
r.innerHTML = t, e.appendChild(r);
|
|
4258
4236
|
}
|
|
4259
4237
|
}
|
|
4260
|
-
function
|
|
4238
|
+
function Vi(e, t) {
|
|
4261
4239
|
const r = new URL(t);
|
|
4262
4240
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4263
4241
|
const i = document.createElement("style");
|
|
@@ -4266,7 +4244,7 @@ function zi(e, t) {
|
|
|
4266
4244
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4267
4245
|
});
|
|
4268
4246
|
}
|
|
4269
|
-
function
|
|
4247
|
+
function Xi(e, t, r) {
|
|
4270
4248
|
if (window.emMessageBus) {
|
|
4271
4249
|
const n = document.createElement("style");
|
|
4272
4250
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4274,13 +4252,13 @@ function Zi(e, t, r) {
|
|
|
4274
4252
|
});
|
|
4275
4253
|
}
|
|
4276
4254
|
}
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4255
|
+
function Ht(e, t) {
|
|
4256
|
+
ir(e, t);
|
|
4279
4257
|
}
|
|
4280
|
-
function
|
|
4258
|
+
function Wi(e) {
|
|
4281
4259
|
J.set(e);
|
|
4282
4260
|
}
|
|
4283
|
-
const
|
|
4261
|
+
const Bt = {
|
|
4284
4262
|
en: {
|
|
4285
4263
|
logoutButton: "Logout"
|
|
4286
4264
|
},
|
|
@@ -4315,10 +4293,10 @@ const Pt = {
|
|
|
4315
4293
|
logoutButton: "Logout"
|
|
4316
4294
|
}
|
|
4317
4295
|
};
|
|
4318
|
-
function
|
|
4319
|
-
|
|
4296
|
+
function zi(e) {
|
|
4297
|
+
yr(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))}");
|
|
4320
4298
|
}
|
|
4321
|
-
function
|
|
4299
|
+
function Zi(e) {
|
|
4322
4300
|
let t, r, n, i = (
|
|
4323
4301
|
/*$_*/
|
|
4324
4302
|
e[2]("logoutButton") + ""
|
|
@@ -4328,7 +4306,7 @@ function Ji(e) {
|
|
|
4328
4306
|
t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
|
|
4329
4307
|
},
|
|
4330
4308
|
m(h, u) {
|
|
4331
|
-
se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a =
|
|
4309
|
+
se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Ot(
|
|
4332
4310
|
r,
|
|
4333
4311
|
"click",
|
|
4334
4312
|
/*click_handler_1*/
|
|
@@ -4338,19 +4316,19 @@ function Ji(e) {
|
|
|
4338
4316
|
p(h, u) {
|
|
4339
4317
|
u & /*$_*/
|
|
4340
4318
|
4 && i !== (i = /*$_*/
|
|
4341
|
-
h[2]("logoutButton") + "") &&
|
|
4319
|
+
h[2]("logoutButton") + "") && It(o, i);
|
|
4342
4320
|
},
|
|
4343
4321
|
d(h) {
|
|
4344
4322
|
h && Q(t), s = !1, a();
|
|
4345
4323
|
}
|
|
4346
4324
|
};
|
|
4347
4325
|
}
|
|
4348
|
-
function
|
|
4326
|
+
function Qi(e) {
|
|
4349
4327
|
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4350
|
-
e[3] &&
|
|
4328
|
+
e[3] && qi(e);
|
|
4351
4329
|
return {
|
|
4352
4330
|
c() {
|
|
4353
|
-
t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u =
|
|
4331
|
+
t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = _r(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), Sr(r, "width", /*isMobile*/
|
|
4354
4332
|
e[3] ? (
|
|
4355
4333
|
/*mediaQuery*/
|
|
4356
4334
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4360,7 +4338,7 @@ function Yi(e) {
|
|
|
4360
4338
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4361
4339
|
},
|
|
4362
4340
|
m(p, d) {
|
|
4363
|
-
se(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f =
|
|
4341
|
+
se(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Ot(
|
|
4364
4342
|
t,
|
|
4365
4343
|
"click",
|
|
4366
4344
|
/*click_handler*/
|
|
@@ -4376,7 +4354,7 @@ function Yi(e) {
|
|
|
4376
4354
|
}
|
|
4377
4355
|
};
|
|
4378
4356
|
}
|
|
4379
|
-
function
|
|
4357
|
+
function qi(e) {
|
|
4380
4358
|
let t, r = (
|
|
4381
4359
|
/*$_*/
|
|
4382
4360
|
e[2]("logoutButton") + ""
|
|
@@ -4391,19 +4369,19 @@ function Ki(e) {
|
|
|
4391
4369
|
p(i, o) {
|
|
4392
4370
|
o & /*$_*/
|
|
4393
4371
|
4 && r !== (r = /*$_*/
|
|
4394
|
-
i[2]("logoutButton") + "") &&
|
|
4372
|
+
i[2]("logoutButton") + "") && It(n, r);
|
|
4395
4373
|
},
|
|
4396
4374
|
d(i) {
|
|
4397
4375
|
i && Q(t);
|
|
4398
4376
|
}
|
|
4399
4377
|
};
|
|
4400
4378
|
}
|
|
4401
|
-
function
|
|
4379
|
+
function Ji(e) {
|
|
4402
4380
|
let t;
|
|
4403
4381
|
function r(o, s) {
|
|
4404
4382
|
return (
|
|
4405
4383
|
/*buttonlocation*/
|
|
4406
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4384
|
+
o[0] === "PlayerAccountMenu" ? Qi : Zi
|
|
4407
4385
|
);
|
|
4408
4386
|
}
|
|
4409
4387
|
let n = r(e), i = n(e);
|
|
@@ -4424,23 +4402,23 @@ function eo(e) {
|
|
|
4424
4402
|
}
|
|
4425
4403
|
};
|
|
4426
4404
|
}
|
|
4427
|
-
function
|
|
4405
|
+
function Yi(e, t, r) {
|
|
4428
4406
|
let n;
|
|
4429
|
-
|
|
4430
|
-
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, d, v = window.navigator.userAgent, B =
|
|
4407
|
+
gr(e, ji, (y) => r(2, n = y));
|
|
4408
|
+
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, d, v = window.navigator.userAgent, B = ki(v) !== "PC";
|
|
4431
4409
|
const $ = window.matchMedia("(min-width: 768px)"), N = () => {
|
|
4432
4410
|
fetch(f).then((M) => M.json()).then((M) => {
|
|
4433
4411
|
Object.keys(M).forEach((Te) => {
|
|
4434
|
-
|
|
4412
|
+
Ht(Te, M[Te]);
|
|
4435
4413
|
});
|
|
4436
4414
|
}).catch((M) => {
|
|
4437
4415
|
console.log(M);
|
|
4438
4416
|
});
|
|
4439
4417
|
};
|
|
4440
|
-
Object.keys(
|
|
4441
|
-
|
|
4418
|
+
Object.keys(Bt).forEach((y) => {
|
|
4419
|
+
Ht(y, Bt[y]);
|
|
4442
4420
|
});
|
|
4443
|
-
const
|
|
4421
|
+
const E = () => {
|
|
4444
4422
|
let y = new Headers();
|
|
4445
4423
|
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4446
4424
|
let M = { method: "DELETE", headers: y };
|
|
@@ -4448,13 +4426,13 @@ function to(e, t, r) {
|
|
|
4448
4426
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4449
4427
|
});
|
|
4450
4428
|
}, R = () => (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), P = () => {
|
|
4451
|
-
|
|
4429
|
+
Wi(a);
|
|
4452
4430
|
};
|
|
4453
|
-
|
|
4431
|
+
Br(() => () => {
|
|
4454
4432
|
});
|
|
4455
|
-
const
|
|
4456
|
-
function
|
|
4457
|
-
|
|
4433
|
+
const G = () => E(), ue = () => E();
|
|
4434
|
+
function lr(y) {
|
|
4435
|
+
Ne[y ? "unshift" : "push"](() => {
|
|
4458
4436
|
d = y, r(1, d);
|
|
4459
4437
|
});
|
|
4460
4438
|
}
|
|
@@ -4464,10 +4442,10 @@ function to(e, t, r) {
|
|
|
4464
4442
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4465
4443
|
193 && i && o && s && R(), e.$$.dirty & /*lang*/
|
|
4466
4444
|
256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4467
|
-
1026 && u && d &&
|
|
4468
|
-
1026 && u && d &&
|
|
4469
|
-
2050 && l && d &&
|
|
4470
|
-
514 && h && d &&
|
|
4445
|
+
1026 && u && d && Tt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4446
|
+
1026 && u && d && Tt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4447
|
+
2050 && l && d && Vi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4448
|
+
514 && h && d && Xi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4471
4449
|
4096 && f && N();
|
|
4472
4450
|
}, [
|
|
4473
4451
|
s,
|
|
@@ -4475,7 +4453,7 @@ function to(e, t, r) {
|
|
|
4475
4453
|
n,
|
|
4476
4454
|
B,
|
|
4477
4455
|
$,
|
|
4478
|
-
|
|
4456
|
+
E,
|
|
4479
4457
|
i,
|
|
4480
4458
|
o,
|
|
4481
4459
|
a,
|
|
@@ -4483,19 +4461,19 @@ function to(e, t, r) {
|
|
|
4483
4461
|
u,
|
|
4484
4462
|
l,
|
|
4485
4463
|
f,
|
|
4486
|
-
|
|
4464
|
+
G,
|
|
4487
4465
|
ue,
|
|
4488
|
-
|
|
4466
|
+
lr
|
|
4489
4467
|
];
|
|
4490
4468
|
}
|
|
4491
|
-
class
|
|
4469
|
+
class hr extends Ur {
|
|
4492
4470
|
constructor(t) {
|
|
4493
|
-
super(),
|
|
4471
|
+
super(), $r(
|
|
4494
4472
|
this,
|
|
4495
4473
|
t,
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4474
|
+
Yi,
|
|
4475
|
+
Ji,
|
|
4476
|
+
At,
|
|
4499
4477
|
{
|
|
4500
4478
|
endpoint: 6,
|
|
4501
4479
|
session: 7,
|
|
@@ -4506,7 +4484,7 @@ class pr extends jr {
|
|
|
4506
4484
|
clientstylingurl: 11,
|
|
4507
4485
|
translationurl: 12
|
|
4508
4486
|
},
|
|
4509
|
-
|
|
4487
|
+
zi
|
|
4510
4488
|
);
|
|
4511
4489
|
}
|
|
4512
4490
|
get endpoint() {
|
|
@@ -4558,43 +4536,43 @@ class pr extends jr {
|
|
|
4558
4536
|
this.$$set({ translationurl: t }), A();
|
|
4559
4537
|
}
|
|
4560
4538
|
}
|
|
4561
|
-
|
|
4562
|
-
const
|
|
4539
|
+
Rr(hr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4540
|
+
const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4563
4541
|
__proto__: null,
|
|
4564
|
-
default:
|
|
4542
|
+
default: hr
|
|
4565
4543
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4566
4544
|
export {
|
|
4567
4545
|
J as $,
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4546
|
+
ji as A,
|
|
4547
|
+
Tt as B,
|
|
4548
|
+
Vi as C,
|
|
4571
4549
|
Xi as D,
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4550
|
+
io as G,
|
|
4551
|
+
Ur as S,
|
|
4552
|
+
ir as a,
|
|
4553
|
+
yr as b,
|
|
4554
|
+
Rr as c,
|
|
4555
|
+
Q as d,
|
|
4556
|
+
se as e,
|
|
4579
4557
|
A as f,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4558
|
+
O as g,
|
|
4559
|
+
gr as h,
|
|
4560
|
+
$r as i,
|
|
4561
|
+
ki as j,
|
|
4562
|
+
Ne as k,
|
|
4563
|
+
no as l,
|
|
4564
|
+
to as m,
|
|
4587
4565
|
w as n,
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4566
|
+
Br as o,
|
|
4567
|
+
T as p,
|
|
4568
|
+
_r as q,
|
|
4569
|
+
ro as r,
|
|
4570
|
+
At as s,
|
|
4571
|
+
S as t,
|
|
4572
|
+
It as u,
|
|
4573
|
+
ye as v,
|
|
4574
|
+
oe as w,
|
|
4575
|
+
Ot as x,
|
|
4576
|
+
K as y,
|
|
4577
|
+
eo as z
|
|
4600
4578
|
};
|