@everymatrix/player-account-menu-nd 1.94.53 → 1.94.55
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-CRrnphLg.js → GeneralLogout-8Of9Ahnl.js} +1 -1
- package/components/{GeneralLogout-BBMu0O3e.cjs → GeneralLogout-BdQftLx6.cjs} +1 -1
- package/components/{GeneralLogout-BgJ7R5S6.js → GeneralLogout-Bmr4R5qR.js} +1 -1
- package/components/PlayerAccountMenuNd-BdvExvI5.cjs +18 -0
- package/components/{PlayerAccountMenuNd-DQA5Wu1L.js → PlayerAccountMenuNd-C4_v73_L.js} +934 -909
- package/components/{PlayerAccountMenuNd-BVSaC3o4.js → PlayerAccountMenuNd-RwvXGs1E.js} +961 -936
- 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/components/PlayerAccountMenuNd-C1VjCPrV.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var zr = Object.defineProperty, Zr = Object.defineProperties;
|
|
2
|
+
var Qr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var _t = Object.getOwnPropertySymbols;
|
|
4
|
+
var qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Fe = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
qr.call(t, r) && Fe(e, r, t[r]);
|
|
8
|
+
if (_t)
|
|
9
|
+
for (var r of _t(t))
|
|
10
|
+
Jr.call(t, r) && Fe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, Et = (e, t) => Zr(e, Qr(t));
|
|
13
|
+
var F = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var wt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -28,53 +28,53 @@ var _t = (e, t, r) => new Promise((n, i) => {
|
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
|
-
function
|
|
31
|
+
function U() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function er(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function At() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function re(e) {
|
|
40
|
+
e.forEach(er);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function ht(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function tr(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
|
-
let
|
|
49
|
-
function
|
|
50
|
-
return e === t ? !0 : (
|
|
48
|
+
let be;
|
|
49
|
+
function Pt(e, t) {
|
|
50
|
+
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Yr(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function rr(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
59
|
-
return
|
|
59
|
+
return U;
|
|
60
60
|
}
|
|
61
61
|
const r = e.subscribe(...t);
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
64
|
+
function Kr(e, t, r) {
|
|
65
|
+
e.$$.on_destroy.push(rr(t, r));
|
|
66
66
|
}
|
|
67
67
|
function y(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function en(e, t, r) {
|
|
71
|
+
const n = tn(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
73
|
const i = S("style");
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
74
|
+
i.id = t, i.textContent = r, rn(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function tn(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,56 +84,56 @@ function Jr(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function rn(e, t) {
|
|
88
88
|
return y(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
91
91
|
t
|
|
92
92
|
), t.sheet;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function D(e, t, r) {
|
|
95
95
|
e.insertBefore(t, r || null);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function $(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function nr(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
104
104
|
function S(e) {
|
|
105
105
|
return document.createElement(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function W(e) {
|
|
108
108
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function J(e) {
|
|
111
111
|
return document.createTextNode(e);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
113
|
+
function R() {
|
|
114
|
+
return J(" ");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Xe(e, t, r, n) {
|
|
117
117
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function x(e, t, r) {
|
|
120
120
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function w(e, t, r) {
|
|
123
123
|
const n = t.toLowerCase();
|
|
124
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
124
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function nn(e) {
|
|
127
127
|
return Array.from(e.childNodes);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function we(e, t) {
|
|
130
130
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
131
131
|
t);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function ko(e, t, r, n) {
|
|
134
134
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function on(e) {
|
|
137
137
|
const t = {};
|
|
138
138
|
return e.childNodes.forEach(
|
|
139
139
|
/** @param {Element} node */
|
|
@@ -146,84 +146,84 @@ let le;
|
|
|
146
146
|
function ue(e) {
|
|
147
147
|
le = e;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function sn() {
|
|
150
150
|
if (!le)
|
|
151
151
|
throw new Error("Function called outside component initialization");
|
|
152
152
|
return le;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
function
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
const
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
154
|
+
function an(e) {
|
|
155
|
+
sn().$$.on_mount.push(e);
|
|
156
|
+
}
|
|
157
|
+
const Z = [], ze = [];
|
|
158
|
+
let q = [];
|
|
159
|
+
const St = [], un = /* @__PURE__ */ Promise.resolve();
|
|
160
|
+
let Ze = !1;
|
|
161
|
+
function ln() {
|
|
162
|
+
Ze || (Ze = !0, un.then(C));
|
|
163
|
+
}
|
|
164
|
+
function Qe(e) {
|
|
165
|
+
q.push(e);
|
|
166
|
+
}
|
|
167
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
168
|
+
let X = 0;
|
|
169
|
+
function C() {
|
|
170
|
+
if (X !== 0)
|
|
171
171
|
return;
|
|
172
172
|
const e = le;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t =
|
|
177
|
-
|
|
175
|
+
for (; X < Z.length; ) {
|
|
176
|
+
const t = Z[X];
|
|
177
|
+
X++, ue(t), cn(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
|
-
throw
|
|
180
|
+
throw Z.length = 0, X = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (ue(null),
|
|
183
|
-
|
|
184
|
-
for (let t = 0; t <
|
|
185
|
-
const r =
|
|
186
|
-
|
|
182
|
+
for (ue(null), Z.length = 0, X = 0; ze.length; )
|
|
183
|
+
ze.pop()();
|
|
184
|
+
for (let t = 0; t < q.length; t += 1) {
|
|
185
|
+
const r = q[t];
|
|
186
|
+
Ue.has(r) || (Ue.add(r), r());
|
|
187
187
|
}
|
|
188
|
-
|
|
189
|
-
} while (
|
|
190
|
-
for (;
|
|
191
|
-
|
|
192
|
-
|
|
188
|
+
q.length = 0;
|
|
189
|
+
} while (Z.length);
|
|
190
|
+
for (; St.length; )
|
|
191
|
+
St.pop()();
|
|
192
|
+
Ze = !1, Ue.clear(), ue(e);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function cn(e) {
|
|
195
195
|
if (e.fragment !== null) {
|
|
196
|
-
e.update(),
|
|
196
|
+
e.update(), re(e.before_update);
|
|
197
197
|
const t = e.dirty;
|
|
198
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
198
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function hn(e) {
|
|
202
202
|
const t = [], r = [];
|
|
203
|
-
|
|
203
|
+
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
|
204
204
|
}
|
|
205
|
-
const
|
|
206
|
-
function
|
|
207
|
-
e && e.i && (
|
|
205
|
+
const fn = /* @__PURE__ */ new Set();
|
|
206
|
+
function pn(e, t) {
|
|
207
|
+
e && e.i && (fn.delete(e), e.i(t));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Ae(e) {
|
|
210
210
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function mn(e, t, r) {
|
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
|
214
|
-
n && n.m(t, r),
|
|
215
|
-
const o = e.$$.on_mount.map(
|
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
217
|
-
}), i.forEach(
|
|
214
|
+
n && n.m(t, r), Qe(() => {
|
|
215
|
+
const o = e.$$.on_mount.map(er).filter(ht);
|
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
217
|
+
}), i.forEach(Qe);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function dn(e, t) {
|
|
220
220
|
const r = e.$$;
|
|
221
|
-
r.fragment !== null && (
|
|
221
|
+
r.fragment !== null && (hn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
e.$$.dirty[0] === -1 && (
|
|
223
|
+
function bn(e, t) {
|
|
224
|
+
e.$$.dirty[0] === -1 && (Z.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
227
227
|
const l = le;
|
|
228
228
|
ue(e);
|
|
229
229
|
const u = e.$$ = {
|
|
@@ -231,9 +231,9 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
231
231
|
ctx: [],
|
|
232
232
|
// state
|
|
233
233
|
props: o,
|
|
234
|
-
update:
|
|
234
|
+
update: U,
|
|
235
235
|
not_equal: i,
|
|
236
|
-
bound:
|
|
236
|
+
bound: At(),
|
|
237
237
|
// lifecycle
|
|
238
238
|
on_mount: [],
|
|
239
239
|
on_destroy: [],
|
|
@@ -242,7 +242,7 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
242
242
|
after_update: [],
|
|
243
243
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
244
244
|
// everything else
|
|
245
|
-
callbacks:
|
|
245
|
+
callbacks: At(),
|
|
246
246
|
dirty: a,
|
|
247
247
|
skip_bound: !1,
|
|
248
248
|
root: t.target || l.$$.root
|
|
@@ -251,39 +251,39 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
251
251
|
let c = !1;
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
|
|
253
253
|
const m = d.length ? d[0] : h;
|
|
254
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c &&
|
|
255
|
-
}) : [], u.update(), c = !0,
|
|
254
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && bn(e, f)), h;
|
|
255
|
+
}) : [], u.update(), c = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
256
256
|
if (t.hydrate) {
|
|
257
|
-
const f =
|
|
258
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
257
|
+
const f = nn(t.target);
|
|
258
|
+
u.fragment && u.fragment.l(f), f.forEach($);
|
|
259
259
|
} else
|
|
260
260
|
u.fragment && u.fragment.c();
|
|
261
|
-
t.intro &&
|
|
261
|
+
t.intro && pn(e.$$.fragment), mn(e, t.target, t.anchor), C();
|
|
262
262
|
}
|
|
263
263
|
ue(l);
|
|
264
264
|
}
|
|
265
|
-
let
|
|
266
|
-
typeof HTMLElement == "function" && (
|
|
265
|
+
let ir;
|
|
266
|
+
typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
267
267
|
constructor(t, r, n) {
|
|
268
268
|
super();
|
|
269
269
|
/** The Svelte component constructor */
|
|
270
|
-
|
|
270
|
+
F(this, "$$ctor");
|
|
271
271
|
/** Slots */
|
|
272
|
-
|
|
272
|
+
F(this, "$$s");
|
|
273
273
|
/** The Svelte component instance */
|
|
274
|
-
|
|
274
|
+
F(this, "$$c");
|
|
275
275
|
/** Whether or not the custom element is connected */
|
|
276
|
-
|
|
276
|
+
F(this, "$$cn", !1);
|
|
277
277
|
/** Component props data */
|
|
278
|
-
|
|
278
|
+
F(this, "$$d", {});
|
|
279
279
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
280
|
-
|
|
280
|
+
F(this, "$$r", !1);
|
|
281
281
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
282
|
-
|
|
282
|
+
F(this, "$$p_d", {});
|
|
283
283
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
284
|
-
|
|
284
|
+
F(this, "$$l", {});
|
|
285
285
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
286
|
-
|
|
286
|
+
F(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
287
287
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
288
288
|
}
|
|
289
289
|
addEventListener(t, r, n) {
|
|
@@ -300,42 +300,42 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
connectedCallback() {
|
|
303
|
-
return
|
|
303
|
+
return wt(this, null, function* () {
|
|
304
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
305
305
|
let t = function(o) {
|
|
306
306
|
return () => {
|
|
307
307
|
let s;
|
|
308
308
|
return {
|
|
309
309
|
c: function() {
|
|
310
|
-
s = S("slot"), o !== "default" &&
|
|
310
|
+
s = S("slot"), o !== "default" && x(s, "name", o);
|
|
311
311
|
},
|
|
312
312
|
/**
|
|
313
313
|
* @param {HTMLElement} target
|
|
314
314
|
* @param {HTMLElement} [anchor]
|
|
315
315
|
*/
|
|
316
316
|
m: function(u, c) {
|
|
317
|
-
|
|
317
|
+
D(u, s, c);
|
|
318
318
|
},
|
|
319
319
|
d: function(u) {
|
|
320
|
-
u &&
|
|
320
|
+
u && $(s);
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
324
|
};
|
|
325
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
326
326
|
return;
|
|
327
|
-
const r = {}, n =
|
|
327
|
+
const r = {}, n = on(this);
|
|
328
328
|
for (const o of this.$$s)
|
|
329
329
|
o in n && (r[o] = [t(o)]);
|
|
330
330
|
for (const o of this.attributes) {
|
|
331
331
|
const s = this.$$g_p(o.name);
|
|
332
|
-
s in this.$$d || (this.$$d[s] =
|
|
332
|
+
s in this.$$d || (this.$$d[s] = ve(s, o.value, this.$$p_d, "toProp"));
|
|
333
333
|
}
|
|
334
334
|
for (const o in this.$$p_d)
|
|
335
335
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
336
336
|
this.$$c = new this.$$ctor({
|
|
337
337
|
target: this.shadowRoot || this,
|
|
338
|
-
props:
|
|
338
|
+
props: Et(xt({}, this.$$d), {
|
|
339
339
|
$$slots: r,
|
|
340
340
|
$$scope: {
|
|
341
341
|
ctx: []
|
|
@@ -346,7 +346,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
|
346
346
|
this.$$r = !0;
|
|
347
347
|
for (const o in this.$$p_d)
|
|
348
348
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
349
|
-
const s =
|
|
349
|
+
const s = ve(
|
|
350
350
|
o,
|
|
351
351
|
this.$$d[o],
|
|
352
352
|
this.$$p_d,
|
|
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
|
370
370
|
// and setting attributes through setAttribute etc, this is helpful
|
|
371
371
|
attributeChangedCallback(t, r, n) {
|
|
372
372
|
var i;
|
|
373
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
373
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
374
374
|
}
|
|
375
375
|
disconnectedCallback() {
|
|
376
376
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -383,7 +383,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
|
383
383
|
) || t;
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function ve(e, t, r, n) {
|
|
387
387
|
var o;
|
|
388
388
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
389
389
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -413,8 +413,8 @@ function ge(e, t, r, n) {
|
|
|
413
413
|
return t;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
let s = class extends
|
|
416
|
+
function yn(e, t, r, n, i, o) {
|
|
417
|
+
let s = class extends ir {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(e, r, i), this.$$p_d = t;
|
|
420
420
|
}
|
|
@@ -431,7 +431,7 @@ function mn(e, t, r, n, i, o) {
|
|
|
431
431
|
},
|
|
432
432
|
set(l) {
|
|
433
433
|
var u;
|
|
434
|
-
l =
|
|
434
|
+
l = ve(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}), n.forEach((a) => {
|
|
@@ -444,7 +444,7 @@ function mn(e, t, r, n, i, o) {
|
|
|
444
444
|
}), e.element = /** @type {any} */
|
|
445
445
|
s, s;
|
|
446
446
|
}
|
|
447
|
-
class
|
|
447
|
+
class vn {
|
|
448
448
|
constructor() {
|
|
449
449
|
/**
|
|
450
450
|
* ### PRIVATE API
|
|
@@ -453,7 +453,7 @@ class dn {
|
|
|
453
453
|
*
|
|
454
454
|
* @type {any}
|
|
455
455
|
*/
|
|
456
|
-
|
|
456
|
+
F(this, "$$");
|
|
457
457
|
/**
|
|
458
458
|
* ### PRIVATE API
|
|
459
459
|
*
|
|
@@ -461,11 +461,11 @@ class dn {
|
|
|
461
461
|
*
|
|
462
462
|
* @type {any}
|
|
463
463
|
*/
|
|
464
|
-
|
|
464
|
+
F(this, "$$set");
|
|
465
465
|
}
|
|
466
466
|
/** @returns {void} */
|
|
467
467
|
$destroy() {
|
|
468
|
-
|
|
468
|
+
dn(this, 1), this.$destroy = U;
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,8 +474,8 @@ class dn {
|
|
|
474
474
|
* @returns {() => void}
|
|
475
475
|
*/
|
|
476
476
|
$on(t, r) {
|
|
477
|
-
if (!
|
|
478
|
-
return
|
|
477
|
+
if (!ht(r))
|
|
478
|
+
return U;
|
|
479
479
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
480
480
|
return n.push(r), () => {
|
|
481
481
|
const i = n.indexOf(r);
|
|
@@ -487,11 +487,11 @@ class dn {
|
|
|
487
487
|
* @returns {void}
|
|
488
488
|
*/
|
|
489
489
|
$set(t) {
|
|
490
|
-
this.$$set && !
|
|
490
|
+
this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
493
|
+
const _n = "4";
|
|
494
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
|
|
495
495
|
/*! *****************************************************************************
|
|
496
496
|
Copyright (c) Microsoft Corporation.
|
|
497
497
|
|
|
@@ -506,24 +506,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
506
506
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
507
507
|
PERFORMANCE OF THIS SOFTWARE.
|
|
508
508
|
***************************************************************************** */
|
|
509
|
-
var
|
|
510
|
-
return
|
|
509
|
+
var qe = function(e, t) {
|
|
510
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
511
511
|
r.__proto__ = n;
|
|
512
512
|
} || function(r, n) {
|
|
513
513
|
for (var i in n)
|
|
514
514
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
515
|
-
},
|
|
515
|
+
}, qe(e, t);
|
|
516
516
|
};
|
|
517
517
|
function fe(e, t) {
|
|
518
518
|
if (typeof t != "function" && t !== null)
|
|
519
519
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
520
|
-
|
|
520
|
+
qe(e, t);
|
|
521
521
|
function r() {
|
|
522
522
|
this.constructor = e;
|
|
523
523
|
}
|
|
524
524
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Je(e) {
|
|
527
527
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
528
528
|
if (r)
|
|
529
529
|
return r.call(e);
|
|
@@ -535,7 +535,7 @@ function Ze(e) {
|
|
|
535
535
|
};
|
|
536
536
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Ye(e, t) {
|
|
539
539
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
540
540
|
if (!r)
|
|
541
541
|
return e;
|
|
@@ -555,7 +555,7 @@ function Qe(e, t) {
|
|
|
555
555
|
}
|
|
556
556
|
return o;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Ke(e, t, r) {
|
|
559
559
|
if (arguments.length === 2)
|
|
560
560
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
561
561
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -564,13 +564,13 @@ function qe(e, t, r) {
|
|
|
564
564
|
function k(e) {
|
|
565
565
|
return typeof e == "function";
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function or(e) {
|
|
568
568
|
var t = function(n) {
|
|
569
569
|
Error.call(n), n.stack = new Error().stack;
|
|
570
570
|
}, r = e(t);
|
|
571
571
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
572
572
|
}
|
|
573
|
-
var
|
|
573
|
+
var $e = or(function(e) {
|
|
574
574
|
return function(r) {
|
|
575
575
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
576
576
|
` + r.map(function(n, i) {
|
|
@@ -579,13 +579,13 @@ var Re = rr(function(e) {
|
|
|
579
579
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
580
580
|
};
|
|
581
581
|
});
|
|
582
|
-
function
|
|
582
|
+
function et(e, t) {
|
|
583
583
|
if (e) {
|
|
584
584
|
var r = e.indexOf(t);
|
|
585
585
|
0 <= r && e.splice(r, 1);
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
var
|
|
588
|
+
var He = function() {
|
|
589
589
|
function e(t) {
|
|
590
590
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
591
591
|
}
|
|
@@ -597,7 +597,7 @@ var Se = function() {
|
|
|
597
597
|
if (s)
|
|
598
598
|
if (this._parentage = null, Array.isArray(s))
|
|
599
599
|
try {
|
|
600
|
-
for (var a =
|
|
600
|
+
for (var a = Je(s), l = a.next(); !l.done; l = a.next()) {
|
|
601
601
|
var u = l.value;
|
|
602
602
|
u.remove(this);
|
|
603
603
|
}
|
|
@@ -618,18 +618,18 @@ var Se = function() {
|
|
|
618
618
|
try {
|
|
619
619
|
c();
|
|
620
620
|
} catch (b) {
|
|
621
|
-
o = b instanceof
|
|
621
|
+
o = b instanceof $e ? b.errors : [b];
|
|
622
622
|
}
|
|
623
623
|
var f = this._finalizers;
|
|
624
624
|
if (f) {
|
|
625
625
|
this._finalizers = null;
|
|
626
626
|
try {
|
|
627
|
-
for (var h =
|
|
627
|
+
for (var h = Je(f), d = h.next(); !d.done; d = h.next()) {
|
|
628
628
|
var m = d.value;
|
|
629
629
|
try {
|
|
630
|
-
|
|
630
|
+
Tt(m);
|
|
631
631
|
} catch (b) {
|
|
632
|
-
o = o != null ? o : [], b instanceof
|
|
632
|
+
o = o != null ? o : [], b instanceof $e ? o = Ke(Ke([], Ye(o)), Ye(b.errors)) : o.push(b);
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
} catch (b) {
|
|
@@ -644,13 +644,13 @@ var Se = function() {
|
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
if (o)
|
|
647
|
-
throw new
|
|
647
|
+
throw new $e(o);
|
|
648
648
|
}
|
|
649
649
|
}, e.prototype.add = function(t) {
|
|
650
650
|
var r;
|
|
651
651
|
if (t && t !== this)
|
|
652
652
|
if (this.closed)
|
|
653
|
-
|
|
653
|
+
Tt(t);
|
|
654
654
|
else {
|
|
655
655
|
if (t instanceof e) {
|
|
656
656
|
if (t.closed || t._hasParent(this))
|
|
@@ -667,52 +667,52 @@ var Se = function() {
|
|
|
667
667
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
668
668
|
}, e.prototype._removeParent = function(t) {
|
|
669
669
|
var r = this._parentage;
|
|
670
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
670
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
|
671
671
|
}, e.prototype.remove = function(t) {
|
|
672
672
|
var r = this._finalizers;
|
|
673
|
-
r &&
|
|
673
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
|
674
674
|
}, e.EMPTY = function() {
|
|
675
675
|
var t = new e();
|
|
676
676
|
return t.closed = !0, t;
|
|
677
677
|
}(), e;
|
|
678
|
-
}(),
|
|
679
|
-
function
|
|
680
|
-
return e instanceof
|
|
678
|
+
}(), sr = He.EMPTY;
|
|
679
|
+
function ar(e) {
|
|
680
|
+
return e instanceof He || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
|
|
681
681
|
}
|
|
682
|
-
function
|
|
682
|
+
function Tt(e) {
|
|
683
683
|
k(e) ? e() : e.unsubscribe();
|
|
684
684
|
}
|
|
685
|
-
var
|
|
685
|
+
var xn = {
|
|
686
686
|
Promise: void 0
|
|
687
|
-
},
|
|
687
|
+
}, En = {
|
|
688
688
|
setTimeout: function(e, t) {
|
|
689
689
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
690
690
|
r[n - 2] = arguments[n];
|
|
691
|
-
return setTimeout.apply(void 0,
|
|
691
|
+
return setTimeout.apply(void 0, Ke([e, t], Ye(r)));
|
|
692
692
|
},
|
|
693
693
|
clearTimeout: function(e) {
|
|
694
694
|
return clearTimeout(e);
|
|
695
695
|
},
|
|
696
696
|
delegate: void 0
|
|
697
697
|
};
|
|
698
|
-
function
|
|
699
|
-
|
|
698
|
+
function wn(e) {
|
|
699
|
+
En.setTimeout(function() {
|
|
700
700
|
throw e;
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Ht() {
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function _e(e) {
|
|
706
706
|
e();
|
|
707
707
|
}
|
|
708
|
-
var
|
|
708
|
+
var ur = function(e) {
|
|
709
709
|
fe(t, e);
|
|
710
710
|
function t(r) {
|
|
711
711
|
var n = e.call(this) || this;
|
|
712
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
712
|
+
return n.isStopped = !1, r ? (n.destination = r, ar(r) && r.add(n)) : n.destination = Sn, n;
|
|
713
713
|
}
|
|
714
714
|
return t.create = function(r, n, i) {
|
|
715
|
-
return new
|
|
715
|
+
return new tt(r, n, i);
|
|
716
716
|
}, t.prototype.next = function(r) {
|
|
717
717
|
this.isStopped || this._next(r);
|
|
718
718
|
}, t.prototype.error = function(r) {
|
|
@@ -736,7 +736,7 @@ var or = function(e) {
|
|
|
736
736
|
this.unsubscribe();
|
|
737
737
|
}
|
|
738
738
|
}, t;
|
|
739
|
-
}(
|
|
739
|
+
}(He), An = function() {
|
|
740
740
|
function e(t) {
|
|
741
741
|
this.partialObserver = t;
|
|
742
742
|
}
|
|
@@ -746,7 +746,7 @@ var or = function(e) {
|
|
|
746
746
|
try {
|
|
747
747
|
r.next(t);
|
|
748
748
|
} catch (n) {
|
|
749
|
-
|
|
749
|
+
ge(n);
|
|
750
750
|
}
|
|
751
751
|
}, e.prototype.error = function(t) {
|
|
752
752
|
var r = this.partialObserver;
|
|
@@ -754,20 +754,20 @@ var or = function(e) {
|
|
|
754
754
|
try {
|
|
755
755
|
r.error(t);
|
|
756
756
|
} catch (n) {
|
|
757
|
-
|
|
757
|
+
ge(n);
|
|
758
758
|
}
|
|
759
759
|
else
|
|
760
|
-
|
|
760
|
+
ge(t);
|
|
761
761
|
}, e.prototype.complete = function() {
|
|
762
762
|
var t = this.partialObserver;
|
|
763
763
|
if (t.complete)
|
|
764
764
|
try {
|
|
765
765
|
t.complete();
|
|
766
766
|
} catch (r) {
|
|
767
|
-
|
|
767
|
+
ge(r);
|
|
768
768
|
}
|
|
769
769
|
}, e;
|
|
770
|
-
}(),
|
|
770
|
+
}(), tt = function(e) {
|
|
771
771
|
fe(t, e);
|
|
772
772
|
function t(r, n, i) {
|
|
773
773
|
var o = e.call(this) || this, s;
|
|
@@ -775,35 +775,35 @@ var or = function(e) {
|
|
|
775
775
|
next: r != null ? r : void 0,
|
|
776
776
|
error: n != null ? n : void 0,
|
|
777
777
|
complete: i != null ? i : void 0
|
|
778
|
-
} : s = r, o.destination = new
|
|
778
|
+
} : s = r, o.destination = new An(s), o;
|
|
779
779
|
}
|
|
780
780
|
return t;
|
|
781
|
-
}(
|
|
782
|
-
function
|
|
783
|
-
|
|
781
|
+
}(ur);
|
|
782
|
+
function ge(e) {
|
|
783
|
+
wn(e);
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function Pn(e) {
|
|
786
786
|
throw e;
|
|
787
787
|
}
|
|
788
|
-
var
|
|
788
|
+
var Sn = {
|
|
789
789
|
closed: !0,
|
|
790
|
-
next:
|
|
791
|
-
error:
|
|
792
|
-
complete:
|
|
793
|
-
},
|
|
790
|
+
next: Ht,
|
|
791
|
+
error: Pn,
|
|
792
|
+
complete: Ht
|
|
793
|
+
}, Tn = function() {
|
|
794
794
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
795
795
|
}();
|
|
796
|
-
function
|
|
796
|
+
function Hn(e) {
|
|
797
797
|
return e;
|
|
798
798
|
}
|
|
799
|
-
function
|
|
800
|
-
return e.length === 0 ?
|
|
799
|
+
function Mn(e) {
|
|
800
|
+
return e.length === 0 ? Hn : e.length === 1 ? e[0] : function(r) {
|
|
801
801
|
return e.reduce(function(n, i) {
|
|
802
802
|
return i(n);
|
|
803
803
|
}, r);
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
|
-
var
|
|
806
|
+
var Mt = function() {
|
|
807
807
|
function e(t) {
|
|
808
808
|
t && (this._subscribe = t);
|
|
809
809
|
}
|
|
@@ -811,8 +811,8 @@ var St = function() {
|
|
|
811
811
|
var r = new e();
|
|
812
812
|
return r.source = this, r.operator = t, r;
|
|
813
813
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
814
|
-
var i = this, o =
|
|
815
|
-
return
|
|
814
|
+
var i = this, o = In(t) ? t : new tt(t, r, n);
|
|
815
|
+
return _e(function() {
|
|
816
816
|
var s = i, a = s.operator, l = s.source;
|
|
817
817
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
818
818
|
}), o;
|
|
@@ -824,8 +824,8 @@ var St = function() {
|
|
|
824
824
|
}
|
|
825
825
|
}, e.prototype.forEach = function(t, r) {
|
|
826
826
|
var n = this;
|
|
827
|
-
return r =
|
|
828
|
-
var s = new
|
|
827
|
+
return r = Bt(r), new r(function(i, o) {
|
|
828
|
+
var s = new tt({
|
|
829
829
|
next: function(a) {
|
|
830
830
|
try {
|
|
831
831
|
t(a);
|
|
@@ -841,15 +841,15 @@ var St = function() {
|
|
|
841
841
|
}, e.prototype._subscribe = function(t) {
|
|
842
842
|
var r;
|
|
843
843
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
844
|
-
}, e.prototype[
|
|
844
|
+
}, e.prototype[Tn] = function() {
|
|
845
845
|
return this;
|
|
846
846
|
}, e.prototype.pipe = function() {
|
|
847
847
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
848
848
|
t[r] = arguments[r];
|
|
849
|
-
return
|
|
849
|
+
return Mn(t)(this);
|
|
850
850
|
}, e.prototype.toPromise = function(t) {
|
|
851
851
|
var r = this;
|
|
852
|
-
return t =
|
|
852
|
+
return t = Bt(t), new t(function(n, i) {
|
|
853
853
|
var o;
|
|
854
854
|
r.subscribe(function(s) {
|
|
855
855
|
return o = s;
|
|
@@ -863,40 +863,40 @@ var St = function() {
|
|
|
863
863
|
return new e(t);
|
|
864
864
|
}, e;
|
|
865
865
|
}();
|
|
866
|
-
function
|
|
866
|
+
function Bt(e) {
|
|
867
867
|
var t;
|
|
868
|
-
return (t = e != null ? e :
|
|
868
|
+
return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function Bn(e) {
|
|
871
871
|
return e && k(e.next) && k(e.error) && k(e.complete);
|
|
872
872
|
}
|
|
873
|
-
function
|
|
874
|
-
return e && e instanceof
|
|
873
|
+
function In(e) {
|
|
874
|
+
return e && e instanceof ur || Bn(e) && ar(e);
|
|
875
875
|
}
|
|
876
|
-
var
|
|
876
|
+
var On = or(function(e) {
|
|
877
877
|
return function() {
|
|
878
878
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
879
879
|
};
|
|
880
|
-
}),
|
|
880
|
+
}), lr = function(e) {
|
|
881
881
|
fe(t, e);
|
|
882
882
|
function t() {
|
|
883
883
|
var r = e.call(this) || this;
|
|
884
884
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
885
885
|
}
|
|
886
886
|
return t.prototype.lift = function(r) {
|
|
887
|
-
var n = new
|
|
887
|
+
var n = new It(this, this);
|
|
888
888
|
return n.operator = r, n;
|
|
889
889
|
}, t.prototype._throwIfClosed = function() {
|
|
890
890
|
if (this.closed)
|
|
891
|
-
throw new
|
|
891
|
+
throw new On();
|
|
892
892
|
}, t.prototype.next = function(r) {
|
|
893
893
|
var n = this;
|
|
894
|
-
|
|
894
|
+
_e(function() {
|
|
895
895
|
var i, o;
|
|
896
896
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
897
897
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
898
898
|
try {
|
|
899
|
-
for (var s =
|
|
899
|
+
for (var s = Je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
900
900
|
var l = a.value;
|
|
901
901
|
l.next(r);
|
|
902
902
|
}
|
|
@@ -914,7 +914,7 @@ var Hn = rr(function(e) {
|
|
|
914
914
|
});
|
|
915
915
|
}, t.prototype.error = function(r) {
|
|
916
916
|
var n = this;
|
|
917
|
-
|
|
917
|
+
_e(function() {
|
|
918
918
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
919
919
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
920
920
|
for (var i = n.observers; i.length; )
|
|
@@ -923,7 +923,7 @@ var Hn = rr(function(e) {
|
|
|
923
923
|
});
|
|
924
924
|
}, t.prototype.complete = function() {
|
|
925
925
|
var r = this;
|
|
926
|
-
|
|
926
|
+
_e(function() {
|
|
927
927
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
928
928
|
r.isStopped = !0;
|
|
929
929
|
for (var n = r.observers; n.length; )
|
|
@@ -945,19 +945,19 @@ var Hn = rr(function(e) {
|
|
|
945
945
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
946
946
|
}, t.prototype._innerSubscribe = function(r) {
|
|
947
947
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
948
|
-
return o || s ?
|
|
949
|
-
n.currentObservers = null,
|
|
948
|
+
return o || s ? sr : (this.currentObservers = null, a.push(r), new He(function() {
|
|
949
|
+
n.currentObservers = null, et(a, r);
|
|
950
950
|
}));
|
|
951
951
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
952
952
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
953
953
|
i ? r.error(o) : s && r.complete();
|
|
954
954
|
}, t.prototype.asObservable = function() {
|
|
955
|
-
var r = new
|
|
955
|
+
var r = new Mt();
|
|
956
956
|
return r.source = this, r;
|
|
957
957
|
}, t.create = function(r, n) {
|
|
958
|
-
return new
|
|
958
|
+
return new It(r, n);
|
|
959
959
|
}, t;
|
|
960
|
-
}(
|
|
960
|
+
}(Mt), It = function(e) {
|
|
961
961
|
fe(t, e);
|
|
962
962
|
function t(r, n) {
|
|
963
963
|
var i = e.call(this) || this;
|
|
@@ -974,17 +974,17 @@ var Hn = rr(function(e) {
|
|
|
974
974
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
975
975
|
}, t.prototype._subscribe = function(r) {
|
|
976
976
|
var n, i;
|
|
977
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
977
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sr;
|
|
978
978
|
}, t;
|
|
979
|
-
}(
|
|
979
|
+
}(lr), cr = {
|
|
980
980
|
now: function() {
|
|
981
|
-
return (
|
|
981
|
+
return (cr.delegate || Date).now();
|
|
982
982
|
},
|
|
983
983
|
delegate: void 0
|
|
984
|
-
},
|
|
984
|
+
}, Cn = function(e) {
|
|
985
985
|
fe(t, e);
|
|
986
986
|
function t(r, n, i) {
|
|
987
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
987
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = cr);
|
|
988
988
|
var o = e.call(this) || this;
|
|
989
989
|
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;
|
|
990
990
|
}
|
|
@@ -1004,62 +1004,62 @@ var Hn = rr(function(e) {
|
|
|
1004
1004
|
u && o.splice(0, u + 1);
|
|
1005
1005
|
}
|
|
1006
1006
|
}, t;
|
|
1007
|
-
}(
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
1010
|
-
const r = new
|
|
1011
|
-
|
|
1007
|
+
}(lr);
|
|
1008
|
+
const Ot = [], Ct = {}, Ln = (e, t = 0) => {
|
|
1009
|
+
if (Ot.indexOf(e) == -1) {
|
|
1010
|
+
const r = new Cn(t);
|
|
1011
|
+
Ct[e] = r, Ot.push(e);
|
|
1012
1012
|
}
|
|
1013
|
-
return
|
|
1014
|
-
},
|
|
1015
|
-
function
|
|
1013
|
+
return Ct[e];
|
|
1014
|
+
}, z = [];
|
|
1015
|
+
function Nn(e, t) {
|
|
1016
1016
|
return {
|
|
1017
|
-
subscribe:
|
|
1017
|
+
subscribe: Me(e, t).subscribe
|
|
1018
1018
|
};
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1020
|
+
function Me(e, t = U) {
|
|
1021
1021
|
let r;
|
|
1022
1022
|
const n = /* @__PURE__ */ new Set();
|
|
1023
1023
|
function i(a) {
|
|
1024
|
-
if (
|
|
1025
|
-
const l = !
|
|
1024
|
+
if (tr(e, a) && (e = a, r)) {
|
|
1025
|
+
const l = !z.length;
|
|
1026
1026
|
for (const u of n)
|
|
1027
|
-
u[1](),
|
|
1027
|
+
u[1](), z.push(u, e);
|
|
1028
1028
|
if (l) {
|
|
1029
|
-
for (let u = 0; u <
|
|
1030
|
-
|
|
1031
|
-
|
|
1029
|
+
for (let u = 0; u < z.length; u += 2)
|
|
1030
|
+
z[u][0](z[u + 1]);
|
|
1031
|
+
z.length = 0;
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
function o(a) {
|
|
1036
1036
|
i(a(e));
|
|
1037
1037
|
}
|
|
1038
|
-
function s(a, l =
|
|
1038
|
+
function s(a, l = U) {
|
|
1039
1039
|
const u = [a, l];
|
|
1040
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1040
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || U), a(e), () => {
|
|
1041
1041
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
1044
1044
|
return { set: i, update: o, subscribe: s };
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function ne(e, t, r) {
|
|
1047
1047
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1048
1048
|
if (!i.every(Boolean))
|
|
1049
1049
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1050
1050
|
const o = t.length < 2;
|
|
1051
|
-
return
|
|
1051
|
+
return Nn(r, (s, a) => {
|
|
1052
1052
|
let l = !1;
|
|
1053
1053
|
const u = [];
|
|
1054
|
-
let c = 0, f =
|
|
1054
|
+
let c = 0, f = U;
|
|
1055
1055
|
const h = () => {
|
|
1056
1056
|
if (c)
|
|
1057
1057
|
return;
|
|
1058
1058
|
f();
|
|
1059
1059
|
const m = t(n ? u[0] : u, s, a);
|
|
1060
|
-
o ? s(m) : f =
|
|
1060
|
+
o ? s(m) : f = ht(m) ? m : U;
|
|
1061
1061
|
}, d = i.map(
|
|
1062
|
-
(m, b) =>
|
|
1062
|
+
(m, b) => rr(
|
|
1063
1063
|
m,
|
|
1064
1064
|
(g) => {
|
|
1065
1065
|
u[b] = g, c &= ~(1 << b), l && h();
|
|
@@ -1070,112 +1070,112 @@ function ie(e, t, r) {
|
|
|
1070
1070
|
)
|
|
1071
1071
|
);
|
|
1072
1072
|
return l = !0, h(), function() {
|
|
1073
|
-
|
|
1073
|
+
re(d), f(), l = !1;
|
|
1074
1074
|
};
|
|
1075
1075
|
});
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function Rn(e) {
|
|
1078
1078
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1079
1079
|
}
|
|
1080
|
-
var
|
|
1081
|
-
return
|
|
1080
|
+
var Fn = function(t) {
|
|
1081
|
+
return Un(t) && !$n(t);
|
|
1082
1082
|
};
|
|
1083
|
-
function
|
|
1083
|
+
function Un(e) {
|
|
1084
1084
|
return !!e && typeof e == "object";
|
|
1085
1085
|
}
|
|
1086
|
-
function
|
|
1086
|
+
function $n(e) {
|
|
1087
1087
|
var t = Object.prototype.toString.call(e);
|
|
1088
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1088
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1089
1089
|
}
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1092
|
-
return e.$$typeof ===
|
|
1090
|
+
var Dn = typeof Symbol == "function" && Symbol.for, Gn = Dn ? Symbol.for("react.element") : 60103;
|
|
1091
|
+
function kn(e) {
|
|
1092
|
+
return e.$$typeof === Gn;
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function jn(e) {
|
|
1095
1095
|
return Array.isArray(e) ? [] : {};
|
|
1096
1096
|
}
|
|
1097
1097
|
function ce(e, t) {
|
|
1098
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1098
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(jn(e), e, t) : e;
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function Vn(e, t, r) {
|
|
1101
1101
|
return e.concat(t).map(function(n) {
|
|
1102
1102
|
return ce(n, r);
|
|
1103
1103
|
});
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function Wn(e, t) {
|
|
1106
1106
|
if (!t.customMerge)
|
|
1107
|
-
return
|
|
1107
|
+
return Y;
|
|
1108
1108
|
var r = t.customMerge(e);
|
|
1109
|
-
return typeof r == "function" ? r :
|
|
1109
|
+
return typeof r == "function" ? r : Y;
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Xn(e) {
|
|
1112
1112
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1113
1113
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1114
1114
|
}) : [];
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return Object.keys(e).concat(
|
|
1116
|
+
function Lt(e) {
|
|
1117
|
+
return Object.keys(e).concat(Xn(e));
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function hr(e, t) {
|
|
1120
1120
|
try {
|
|
1121
1121
|
return t in e;
|
|
1122
1122
|
} catch (r) {
|
|
1123
1123
|
return !1;
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1127
|
-
return
|
|
1126
|
+
function zn(e, t) {
|
|
1127
|
+
return hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function Zn(e, t, r) {
|
|
1130
1130
|
var n = {};
|
|
1131
|
-
return r.isMergeableObject(e) &&
|
|
1131
|
+
return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
|
|
1132
1132
|
n[i] = ce(e[i], r);
|
|
1133
|
-
}),
|
|
1134
|
-
|
|
1133
|
+
}), Lt(t).forEach(function(i) {
|
|
1134
|
+
zn(e, i) || (hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
|
|
1135
1135
|
}), n;
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1138
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1137
|
+
function Y(e, t, r) {
|
|
1138
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1139
1139
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1140
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1140
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : ce(t, r);
|
|
1141
1141
|
}
|
|
1142
|
-
|
|
1142
|
+
Y.all = function(t, r) {
|
|
1143
1143
|
if (!Array.isArray(t))
|
|
1144
1144
|
throw new Error("first argument should be an array");
|
|
1145
1145
|
return t.reduce(function(n, i) {
|
|
1146
|
-
return
|
|
1146
|
+
return Y(n, i, r);
|
|
1147
1147
|
}, {});
|
|
1148
1148
|
};
|
|
1149
|
-
var
|
|
1150
|
-
const
|
|
1151
|
-
var
|
|
1152
|
-
return
|
|
1149
|
+
var Qn = Y, qn = Qn;
|
|
1150
|
+
const Jn = /* @__PURE__ */ Rn(qn);
|
|
1151
|
+
var rt = function(e, t) {
|
|
1152
|
+
return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1153
1153
|
r.__proto__ = n;
|
|
1154
1154
|
} || function(r, n) {
|
|
1155
1155
|
for (var i in n)
|
|
1156
1156
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1157
|
-
},
|
|
1157
|
+
}, rt(e, t);
|
|
1158
1158
|
};
|
|
1159
|
-
function
|
|
1159
|
+
function Be(e, t) {
|
|
1160
1160
|
if (typeof t != "function" && t !== null)
|
|
1161
1161
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1162
|
-
|
|
1162
|
+
rt(e, t);
|
|
1163
1163
|
function r() {
|
|
1164
1164
|
this.constructor = e;
|
|
1165
1165
|
}
|
|
1166
1166
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1167
1167
|
}
|
|
1168
|
-
var
|
|
1169
|
-
return
|
|
1168
|
+
var G = function() {
|
|
1169
|
+
return G = Object.assign || function(t) {
|
|
1170
1170
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1171
1171
|
r = arguments[n];
|
|
1172
1172
|
for (var o in r)
|
|
1173
1173
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1174
1174
|
}
|
|
1175
1175
|
return t;
|
|
1176
|
-
},
|
|
1176
|
+
}, G.apply(this, arguments);
|
|
1177
1177
|
};
|
|
1178
|
-
function
|
|
1178
|
+
function Yn(e, t) {
|
|
1179
1179
|
var r = {};
|
|
1180
1180
|
for (var n in e)
|
|
1181
1181
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1184,43 +1184,43 @@ function Zn(e, t) {
|
|
|
1184
1184
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1185
1185
|
return r;
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function De(e, t, r) {
|
|
1188
1188
|
if (r || arguments.length === 2)
|
|
1189
1189
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1190
1190
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1191
1191
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1194
|
-
var r = t && t.cache ? t.cache :
|
|
1193
|
+
function Ge(e, t) {
|
|
1194
|
+
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1195
1195
|
return i(e, {
|
|
1196
1196
|
cache: r,
|
|
1197
1197
|
serializer: n
|
|
1198
1198
|
});
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function Kn(e) {
|
|
1201
1201
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1204
|
-
var i =
|
|
1203
|
+
function ei(e, t, r, n) {
|
|
1204
|
+
var i = Kn(n) ? n : r(n), o = t.get(i);
|
|
1205
1205
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function fr(e, t, r) {
|
|
1208
1208
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1209
1209
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function pr(e, t, r, n, i) {
|
|
1212
1212
|
return r.bind(t, e, n, i);
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1215
|
-
var r = e.length === 1 ?
|
|
1216
|
-
return
|
|
1214
|
+
function ti(e, t) {
|
|
1215
|
+
var r = e.length === 1 ? ei : fr;
|
|
1216
|
+
return pr(e, this, r, t.cache.create(), t.serializer);
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return
|
|
1218
|
+
function ri(e, t) {
|
|
1219
|
+
return pr(e, this, fr, t.cache.create(), t.serializer);
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1221
|
+
var ni = function() {
|
|
1222
1222
|
return JSON.stringify(arguments);
|
|
1223
|
-
},
|
|
1223
|
+
}, ii = (
|
|
1224
1224
|
/** @class */
|
|
1225
1225
|
function() {
|
|
1226
1226
|
function e() {
|
|
@@ -1232,71 +1232,71 @@ var Kn = function() {
|
|
|
1232
1232
|
this.cache[t] = r;
|
|
1233
1233
|
}, e;
|
|
1234
1234
|
}()
|
|
1235
|
-
),
|
|
1235
|
+
), oi = {
|
|
1236
1236
|
create: function() {
|
|
1237
|
-
return new
|
|
1237
|
+
return new ii();
|
|
1238
1238
|
}
|
|
1239
|
-
},
|
|
1240
|
-
variadic:
|
|
1241
|
-
},
|
|
1242
|
-
return
|
|
1239
|
+
}, ke = {
|
|
1240
|
+
variadic: ri
|
|
1241
|
+
}, Pe = function() {
|
|
1242
|
+
return Pe = Object.assign || function(t) {
|
|
1243
1243
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
1244
|
r = arguments[n];
|
|
1245
1245
|
for (var o in r)
|
|
1246
1246
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
1247
|
}
|
|
1248
1248
|
return t;
|
|
1249
|
-
},
|
|
1249
|
+
}, Pe.apply(this, arguments);
|
|
1250
1250
|
};
|
|
1251
|
-
var
|
|
1251
|
+
var _;
|
|
1252
1252
|
(function(e) {
|
|
1253
1253
|
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";
|
|
1254
|
-
})(
|
|
1254
|
+
})(_ || (_ = {}));
|
|
1255
1255
|
var T;
|
|
1256
1256
|
(function(e) {
|
|
1257
1257
|
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";
|
|
1258
1258
|
})(T || (T = {}));
|
|
1259
|
-
var
|
|
1259
|
+
var K;
|
|
1260
1260
|
(function(e) {
|
|
1261
1261
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1262
|
-
})(
|
|
1263
|
-
function
|
|
1262
|
+
})(K || (K = {}));
|
|
1263
|
+
function Nt(e) {
|
|
1264
1264
|
return e.type === T.literal;
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function si(e) {
|
|
1267
1267
|
return e.type === T.argument;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function mr(e) {
|
|
1270
1270
|
return e.type === T.number;
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function dr(e) {
|
|
1273
1273
|
return e.type === T.date;
|
|
1274
1274
|
}
|
|
1275
|
-
function
|
|
1275
|
+
function br(e) {
|
|
1276
1276
|
return e.type === T.time;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function gr(e) {
|
|
1279
1279
|
return e.type === T.select;
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function yr(e) {
|
|
1282
1282
|
return e.type === T.plural;
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function ai(e) {
|
|
1285
1285
|
return e.type === T.pound;
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function vr(e) {
|
|
1288
1288
|
return e.type === T.tag;
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1291
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1290
|
+
function _r(e) {
|
|
1291
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1292
1292
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1293
|
+
function nt(e) {
|
|
1294
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1295
1295
|
}
|
|
1296
|
-
var
|
|
1297
|
-
function
|
|
1296
|
+
var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
|
|
1297
|
+
function li(e) {
|
|
1298
1298
|
var t = {};
|
|
1299
|
-
return e.replace(
|
|
1299
|
+
return e.replace(ui, function(r) {
|
|
1300
1300
|
var n = r.length;
|
|
1301
1301
|
switch (r[0]) {
|
|
1302
1302
|
case "G":
|
|
@@ -1395,11 +1395,11 @@ var H = function() {
|
|
|
1395
1395
|
return t;
|
|
1396
1396
|
}, H.apply(this, arguments);
|
|
1397
1397
|
};
|
|
1398
|
-
var
|
|
1399
|
-
function
|
|
1398
|
+
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1399
|
+
function hi(e) {
|
|
1400
1400
|
if (e.length === 0)
|
|
1401
1401
|
throw new Error("Number skeleton cannot be empty");
|
|
1402
|
-
for (var t = e.split(
|
|
1402
|
+
for (var t = e.split(ci).filter(function(h) {
|
|
1403
1403
|
return h.length > 0;
|
|
1404
1404
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1405
1405
|
var o = i[n], s = o.split("/");
|
|
@@ -1414,17 +1414,17 @@ function ai(e) {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
return r;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function fi(e) {
|
|
1418
1418
|
return e.replace(/^(.*?)-/, "");
|
|
1419
1419
|
}
|
|
1420
|
-
var
|
|
1421
|
-
function
|
|
1420
|
+
var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
|
|
1421
|
+
function Ft(e) {
|
|
1422
1422
|
var t = {};
|
|
1423
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1423
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
|
|
1424
1424
|
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)), "";
|
|
1425
1425
|
}), t;
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1427
|
+
function Ar(e) {
|
|
1428
1428
|
switch (e) {
|
|
1429
1429
|
case "sign-auto":
|
|
1430
1430
|
return {
|
|
@@ -1464,7 +1464,7 @@ function xr(e) {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function mi(e) {
|
|
1468
1468
|
var t;
|
|
1469
1469
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1470
1470
|
notation: "engineering"
|
|
@@ -1472,17 +1472,17 @@ function ci(e) {
|
|
|
1472
1472
|
notation: "scientific"
|
|
1473
1473
|
}, e = e.slice(1)), t) {
|
|
1474
1474
|
var r = e.slice(0, 2);
|
|
1475
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1475
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
|
|
1476
1476
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1477
1477
|
t.minimumIntegerDigits = e.length;
|
|
1478
1478
|
}
|
|
1479
1479
|
return t;
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var t = {}, r =
|
|
1481
|
+
function Ut(e) {
|
|
1482
|
+
var t = {}, r = Ar(e);
|
|
1483
1483
|
return r || t;
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function di(e) {
|
|
1486
1486
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1487
1487
|
var i = n[r];
|
|
1488
1488
|
switch (i.stem) {
|
|
@@ -1506,7 +1506,7 @@ function hi(e) {
|
|
|
1506
1506
|
continue;
|
|
1507
1507
|
case "measure-unit":
|
|
1508
1508
|
case "unit":
|
|
1509
|
-
t.style = "unit", t.unit =
|
|
1509
|
+
t.style = "unit", t.unit = fi(i.options[0]);
|
|
1510
1510
|
continue;
|
|
1511
1511
|
case "compact-short":
|
|
1512
1512
|
case "K":
|
|
@@ -1518,12 +1518,12 @@ function hi(e) {
|
|
|
1518
1518
|
continue;
|
|
1519
1519
|
case "scientific":
|
|
1520
1520
|
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1521
|
-
return H(H({}, l),
|
|
1521
|
+
return H(H({}, l), Ut(u));
|
|
1522
1522
|
}, {}));
|
|
1523
1523
|
continue;
|
|
1524
1524
|
case "engineering":
|
|
1525
1525
|
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1526
|
-
return H(H({}, l),
|
|
1526
|
+
return H(H({}, l), Ut(u));
|
|
1527
1527
|
}, {}));
|
|
1528
1528
|
continue;
|
|
1529
1529
|
case "notation-simple":
|
|
@@ -1568,7 +1568,7 @@ function hi(e) {
|
|
|
1568
1568
|
case "integer-width":
|
|
1569
1569
|
if (i.options.length > 1)
|
|
1570
1570
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1571
|
-
i.options[0].replace(
|
|
1571
|
+
i.options[0].replace(pi, function(l, u, c, f, h, d) {
|
|
1572
1572
|
if (u)
|
|
1573
1573
|
t.minimumIntegerDigits = c.length;
|
|
1574
1574
|
else {
|
|
@@ -1581,32 +1581,32 @@ function hi(e) {
|
|
|
1581
1581
|
});
|
|
1582
1582
|
continue;
|
|
1583
1583
|
}
|
|
1584
|
-
if (
|
|
1584
|
+
if (wr.test(i.stem)) {
|
|
1585
1585
|
t.minimumIntegerDigits = i.stem.length;
|
|
1586
1586
|
continue;
|
|
1587
1587
|
}
|
|
1588
|
-
if (
|
|
1588
|
+
if (Rt.test(i.stem)) {
|
|
1589
1589
|
if (i.options.length > 1)
|
|
1590
1590
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1591
|
-
i.stem.replace(
|
|
1591
|
+
i.stem.replace(Rt, function(l, u, c, f, h, d) {
|
|
1592
1592
|
return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1593
1593
|
});
|
|
1594
1594
|
var o = i.options[0];
|
|
1595
|
-
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t),
|
|
1595
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Ft(o)));
|
|
1596
1596
|
continue;
|
|
1597
1597
|
}
|
|
1598
|
-
if (
|
|
1599
|
-
t = H(H({}, t),
|
|
1598
|
+
if (Er.test(i.stem)) {
|
|
1599
|
+
t = H(H({}, t), Ft(i.stem));
|
|
1600
1600
|
continue;
|
|
1601
1601
|
}
|
|
1602
|
-
var s =
|
|
1602
|
+
var s = Ar(i.stem);
|
|
1603
1603
|
s && (t = H(H({}, t), s));
|
|
1604
|
-
var a =
|
|
1604
|
+
var a = mi(i.stem);
|
|
1605
1605
|
a && (t = H(H({}, t), a));
|
|
1606
1606
|
}
|
|
1607
1607
|
return t;
|
|
1608
1608
|
}
|
|
1609
|
-
var
|
|
1609
|
+
var ye = {
|
|
1610
1610
|
"001": [
|
|
1611
1611
|
"H",
|
|
1612
1612
|
"h"
|
|
@@ -3021,13 +3021,13 @@ var be = {
|
|
|
3021
3021
|
"h"
|
|
3022
3022
|
]
|
|
3023
3023
|
};
|
|
3024
|
-
function
|
|
3024
|
+
function bi(e, t) {
|
|
3025
3025
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3026
3026
|
var i = e.charAt(n);
|
|
3027
3027
|
if (i === "j") {
|
|
3028
3028
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3029
3029
|
o++, n++;
|
|
3030
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3030
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
|
|
3031
3031
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3032
3032
|
r += l;
|
|
3033
3033
|
for (; s-- > 0; )
|
|
@@ -3037,7 +3037,7 @@ function fi(e, t) {
|
|
|
3037
3037
|
}
|
|
3038
3038
|
return r;
|
|
3039
3039
|
}
|
|
3040
|
-
function
|
|
3040
|
+
function gi(e) {
|
|
3041
3041
|
var t = e.hourCycle;
|
|
3042
3042
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3043
3043
|
e.hourCycles && // @ts-ignore
|
|
@@ -3056,23 +3056,23 @@ function pi(e) {
|
|
|
3056
3056
|
}
|
|
3057
3057
|
var r = e.language, n;
|
|
3058
3058
|
r !== "root" && (n = e.maximize().region);
|
|
3059
|
-
var i =
|
|
3059
|
+
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
|
3060
3060
|
return i[0];
|
|
3061
3061
|
}
|
|
3062
|
-
var
|
|
3063
|
-
function
|
|
3062
|
+
var je, yi = new RegExp("^".concat(xr.source, "*")), vi = new RegExp("".concat(xr.source, "*$"));
|
|
3063
|
+
function E(e, t) {
|
|
3064
3064
|
return { start: e, end: t };
|
|
3065
3065
|
}
|
|
3066
|
-
var
|
|
3066
|
+
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
|
|
3067
3067
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3068
|
-
},
|
|
3068
|
+
}, it = !0;
|
|
3069
3069
|
try {
|
|
3070
|
-
var
|
|
3071
|
-
|
|
3070
|
+
var Hi = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3071
|
+
it = ((je = Hi.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3072
3072
|
} catch (e) {
|
|
3073
|
-
|
|
3073
|
+
it = !1;
|
|
3074
3074
|
}
|
|
3075
|
-
var
|
|
3075
|
+
var $t = _i ? (
|
|
3076
3076
|
// Native
|
|
3077
3077
|
function(t, r, n) {
|
|
3078
3078
|
return t.startsWith(r, n);
|
|
@@ -3082,7 +3082,7 @@ var Rt = bi ? (
|
|
|
3082
3082
|
function(t, r, n) {
|
|
3083
3083
|
return t.slice(n, n + r.length) === r;
|
|
3084
3084
|
}
|
|
3085
|
-
),
|
|
3085
|
+
), ot = xi ? String.fromCodePoint : (
|
|
3086
3086
|
// IE11
|
|
3087
3087
|
function() {
|
|
3088
3088
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3094,9 +3094,9 @@ var Rt = bi ? (
|
|
|
3094
3094
|
}
|
|
3095
3095
|
return n;
|
|
3096
3096
|
}
|
|
3097
|
-
),
|
|
3097
|
+
), Dt = (
|
|
3098
3098
|
// native
|
|
3099
|
-
|
|
3099
|
+
Ei ? Object.fromEntries : (
|
|
3100
3100
|
// Ponyfill
|
|
3101
3101
|
function(t) {
|
|
3102
3102
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3106,7 +3106,7 @@ var Rt = bi ? (
|
|
|
3106
3106
|
return r;
|
|
3107
3107
|
}
|
|
3108
3108
|
)
|
|
3109
|
-
),
|
|
3109
|
+
), Pr = wi ? (
|
|
3110
3110
|
// Native
|
|
3111
3111
|
function(t, r) {
|
|
3112
3112
|
return t.codePointAt(r);
|
|
@@ -3120,7 +3120,7 @@ var Rt = bi ? (
|
|
|
3120
3120
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3121
3121
|
}
|
|
3122
3122
|
}
|
|
3123
|
-
),
|
|
3123
|
+
), Mi = Ai ? (
|
|
3124
3124
|
// Native
|
|
3125
3125
|
function(t) {
|
|
3126
3126
|
return t.trimStart();
|
|
@@ -3128,9 +3128,9 @@ var Rt = bi ? (
|
|
|
3128
3128
|
) : (
|
|
3129
3129
|
// Ponyfill
|
|
3130
3130
|
function(t) {
|
|
3131
|
-
return t.replace(
|
|
3131
|
+
return t.replace(yi, "");
|
|
3132
3132
|
}
|
|
3133
|
-
),
|
|
3133
|
+
), Bi = Pi ? (
|
|
3134
3134
|
// Native
|
|
3135
3135
|
function(t) {
|
|
3136
3136
|
return t.trimEnd();
|
|
@@ -3138,32 +3138,32 @@ var Rt = bi ? (
|
|
|
3138
3138
|
) : (
|
|
3139
3139
|
// Ponyfill
|
|
3140
3140
|
function(t) {
|
|
3141
|
-
return t.replace(
|
|
3141
|
+
return t.replace(vi, "");
|
|
3142
3142
|
}
|
|
3143
3143
|
);
|
|
3144
|
-
function
|
|
3144
|
+
function Sr(e, t) {
|
|
3145
3145
|
return new RegExp(e, t);
|
|
3146
3146
|
}
|
|
3147
|
-
var
|
|
3148
|
-
if (
|
|
3149
|
-
var
|
|
3150
|
-
|
|
3147
|
+
var st;
|
|
3148
|
+
if (it) {
|
|
3149
|
+
var Gt = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3150
|
+
st = function(t, r) {
|
|
3151
3151
|
var n;
|
|
3152
|
-
|
|
3153
|
-
var i =
|
|
3152
|
+
Gt.lastIndex = r;
|
|
3153
|
+
var i = Gt.exec(t);
|
|
3154
3154
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3155
3155
|
};
|
|
3156
3156
|
} else
|
|
3157
|
-
|
|
3157
|
+
st = function(t, r) {
|
|
3158
3158
|
for (var n = []; ; ) {
|
|
3159
|
-
var i =
|
|
3160
|
-
if (i === void 0 ||
|
|
3159
|
+
var i = Pr(t, r);
|
|
3160
|
+
if (i === void 0 || Tr(i) || Li(i))
|
|
3161
3161
|
break;
|
|
3162
3162
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3163
3163
|
}
|
|
3164
|
-
return
|
|
3164
|
+
return ot.apply(void 0, n);
|
|
3165
3165
|
};
|
|
3166
|
-
var
|
|
3166
|
+
var Ii = (
|
|
3167
3167
|
/** @class */
|
|
3168
3168
|
function() {
|
|
3169
3169
|
function e(t, r) {
|
|
@@ -3188,13 +3188,13 @@ var Ti = (
|
|
|
3188
3188
|
var a = this.clonePosition();
|
|
3189
3189
|
this.bump(), i.push({
|
|
3190
3190
|
type: T.pound,
|
|
3191
|
-
location:
|
|
3191
|
+
location: E(a, this.clonePosition())
|
|
3192
3192
|
});
|
|
3193
3193
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3194
3194
|
if (n)
|
|
3195
3195
|
break;
|
|
3196
|
-
return this.error(
|
|
3197
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3196
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3197
|
+
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3198
3198
|
var s = this.parseTag(t, r);
|
|
3199
3199
|
if (s.err)
|
|
3200
3200
|
return s;
|
|
@@ -3217,7 +3217,7 @@ var Ti = (
|
|
|
3217
3217
|
val: {
|
|
3218
3218
|
type: T.literal,
|
|
3219
3219
|
value: "<".concat(i, "/>"),
|
|
3220
|
-
location:
|
|
3220
|
+
location: E(n, this.clonePosition())
|
|
3221
3221
|
},
|
|
3222
3222
|
err: null
|
|
3223
3223
|
};
|
|
@@ -3227,25 +3227,25 @@ var Ti = (
|
|
|
3227
3227
|
return o;
|
|
3228
3228
|
var s = o.val, a = this.clonePosition();
|
|
3229
3229
|
if (this.bumpIf("</")) {
|
|
3230
|
-
if (this.isEOF() || !
|
|
3231
|
-
return this.error(
|
|
3230
|
+
if (this.isEOF() || !at(this.char()))
|
|
3231
|
+
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3232
3232
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3233
|
-
return i !== u ? this.error(
|
|
3233
|
+
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3234
3234
|
val: {
|
|
3235
3235
|
type: T.tag,
|
|
3236
3236
|
value: i,
|
|
3237
3237
|
children: s,
|
|
3238
|
-
location:
|
|
3238
|
+
location: E(n, this.clonePosition())
|
|
3239
3239
|
},
|
|
3240
3240
|
err: null
|
|
3241
|
-
} : this.error(
|
|
3241
|
+
} : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
|
|
3242
3242
|
} else
|
|
3243
|
-
return this.error(
|
|
3243
|
+
return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
3244
3244
|
} else
|
|
3245
|
-
return this.error(
|
|
3245
|
+
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3246
3246
|
}, e.prototype.parseTagName = function() {
|
|
3247
3247
|
var t = this.offset();
|
|
3248
|
-
for (this.bump(); !this.isEOF() &&
|
|
3248
|
+
for (this.bump(); !this.isEOF() && Ci(this.char()); )
|
|
3249
3249
|
this.bump();
|
|
3250
3250
|
return this.message.slice(t, this.offset());
|
|
3251
3251
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3267,14 +3267,14 @@ var Ti = (
|
|
|
3267
3267
|
}
|
|
3268
3268
|
break;
|
|
3269
3269
|
}
|
|
3270
|
-
var l =
|
|
3270
|
+
var l = E(n, this.clonePosition());
|
|
3271
3271
|
return {
|
|
3272
3272
|
val: { type: T.literal, value: i, location: l },
|
|
3273
3273
|
err: null
|
|
3274
3274
|
};
|
|
3275
3275
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3276
3276
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3277
|
-
!
|
|
3277
|
+
!Oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3278
3278
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3279
3279
|
if (this.isEOF() || this.char() !== 39)
|
|
3280
3280
|
return null;
|
|
@@ -3308,23 +3308,23 @@ var Ti = (
|
|
|
3308
3308
|
r.push(n);
|
|
3309
3309
|
this.bump();
|
|
3310
3310
|
}
|
|
3311
|
-
return
|
|
3311
|
+
return ot.apply(void 0, r);
|
|
3312
3312
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3313
3313
|
if (this.isEOF())
|
|
3314
3314
|
return null;
|
|
3315
3315
|
var n = this.char();
|
|
3316
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3316
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ot(n));
|
|
3317
3317
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3318
3318
|
var n = this.clonePosition();
|
|
3319
3319
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3320
|
-
return this.error(
|
|
3320
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3321
3321
|
if (this.char() === 125)
|
|
3322
|
-
return this.bump(), this.error(
|
|
3322
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
3323
3323
|
var i = this.parseIdentifierIfPossible().value;
|
|
3324
3324
|
if (!i)
|
|
3325
|
-
return this.error(
|
|
3325
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3326
3326
|
if (this.bumpSpace(), this.isEOF())
|
|
3327
|
-
return this.error(
|
|
3327
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3328
3328
|
switch (this.char()) {
|
|
3329
3329
|
case 125:
|
|
3330
3330
|
return this.bump(), {
|
|
@@ -3332,25 +3332,25 @@ var Ti = (
|
|
|
3332
3332
|
type: T.argument,
|
|
3333
3333
|
// value does not include the opening and closing braces.
|
|
3334
3334
|
value: i,
|
|
3335
|
-
location:
|
|
3335
|
+
location: E(n, this.clonePosition())
|
|
3336
3336
|
},
|
|
3337
3337
|
err: null
|
|
3338
3338
|
};
|
|
3339
3339
|
case 44:
|
|
3340
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3340
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3341
3341
|
default:
|
|
3342
|
-
return this.error(
|
|
3342
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3343
3343
|
}
|
|
3344
3344
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3345
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3345
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3346
3346
|
this.bumpTo(i);
|
|
3347
|
-
var o = this.clonePosition(), s =
|
|
3347
|
+
var o = this.clonePosition(), s = E(t, o);
|
|
3348
3348
|
return { value: n, location: s };
|
|
3349
3349
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3350
3350
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3351
3351
|
switch (a) {
|
|
3352
3352
|
case "":
|
|
3353
|
-
return this.error(
|
|
3353
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, l));
|
|
3354
3354
|
case "number":
|
|
3355
3355
|
case "date":
|
|
3356
3356
|
case "time": {
|
|
@@ -3361,18 +3361,18 @@ var Ti = (
|
|
|
3361
3361
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3362
3362
|
if (f.err)
|
|
3363
3363
|
return f;
|
|
3364
|
-
var h =
|
|
3364
|
+
var h = Bi(f.val);
|
|
3365
3365
|
if (h.length === 0)
|
|
3366
|
-
return this.error(
|
|
3367
|
-
var d =
|
|
3366
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3367
|
+
var d = E(c, this.clonePosition());
|
|
3368
3368
|
u = { style: h, styleLocation: d };
|
|
3369
3369
|
}
|
|
3370
3370
|
var m = this.tryParseArgumentClose(i);
|
|
3371
3371
|
if (m.err)
|
|
3372
3372
|
return m;
|
|
3373
|
-
var b =
|
|
3374
|
-
if (u &&
|
|
3375
|
-
var g =
|
|
3373
|
+
var b = E(i, this.clonePosition());
|
|
3374
|
+
if (u && $t(u == null ? void 0 : u.style, "::", 0)) {
|
|
3375
|
+
var g = Mi(u.style.slice(2));
|
|
3376
3376
|
if (a === "number") {
|
|
3377
3377
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3378
3378
|
return f.err ? f : {
|
|
@@ -3381,17 +3381,17 @@ var Ti = (
|
|
|
3381
3381
|
};
|
|
3382
3382
|
} else {
|
|
3383
3383
|
if (g.length === 0)
|
|
3384
|
-
return this.error(
|
|
3385
|
-
var
|
|
3386
|
-
this.locale && (
|
|
3384
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3385
|
+
var A = g;
|
|
3386
|
+
this.locale && (A = bi(g, this.locale));
|
|
3387
3387
|
var h = {
|
|
3388
|
-
type:
|
|
3389
|
-
pattern:
|
|
3388
|
+
type: K.dateTime,
|
|
3389
|
+
pattern: A,
|
|
3390
3390
|
location: u.styleLocation,
|
|
3391
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3392
|
-
},
|
|
3391
|
+
parsedOptions: this.shouldParseSkeletons ? li(A) : {}
|
|
3392
|
+
}, I = a === "date" ? T.date : T.time;
|
|
3393
3393
|
return {
|
|
3394
|
-
val: { type:
|
|
3394
|
+
val: { type: I, value: n, location: b, style: h },
|
|
3395
3395
|
err: null
|
|
3396
3396
|
};
|
|
3397
3397
|
}
|
|
@@ -3411,50 +3411,50 @@ var Ti = (
|
|
|
3411
3411
|
case "select": {
|
|
3412
3412
|
var v = this.clonePosition();
|
|
3413
3413
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3414
|
-
return this.error(
|
|
3414
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(v, Pe({}, v)));
|
|
3415
3415
|
this.bumpSpace();
|
|
3416
|
-
var
|
|
3417
|
-
if (a !== "select" &&
|
|
3416
|
+
var M = this.parseIdentifierIfPossible(), P = 0;
|
|
3417
|
+
if (a !== "select" && M.value === "offset") {
|
|
3418
3418
|
if (!this.bumpIf(":"))
|
|
3419
|
-
return this.error(
|
|
3419
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3420
3420
|
this.bumpSpace();
|
|
3421
|
-
var f = this.tryParseDecimalInteger(
|
|
3421
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3422
3422
|
if (f.err)
|
|
3423
3423
|
return f;
|
|
3424
|
-
this.bumpSpace(),
|
|
3424
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), P = f.val;
|
|
3425
3425
|
}
|
|
3426
|
-
var
|
|
3427
|
-
if (
|
|
3428
|
-
return
|
|
3426
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3427
|
+
if (O.err)
|
|
3428
|
+
return O;
|
|
3429
3429
|
var m = this.tryParseArgumentClose(i);
|
|
3430
3430
|
if (m.err)
|
|
3431
3431
|
return m;
|
|
3432
|
-
var
|
|
3432
|
+
var me = E(i, this.clonePosition());
|
|
3433
3433
|
return a === "select" ? {
|
|
3434
3434
|
val: {
|
|
3435
3435
|
type: T.select,
|
|
3436
3436
|
value: n,
|
|
3437
|
-
options:
|
|
3438
|
-
location:
|
|
3437
|
+
options: Dt(O.val),
|
|
3438
|
+
location: me
|
|
3439
3439
|
},
|
|
3440
3440
|
err: null
|
|
3441
3441
|
} : {
|
|
3442
3442
|
val: {
|
|
3443
3443
|
type: T.plural,
|
|
3444
3444
|
value: n,
|
|
3445
|
-
options:
|
|
3446
|
-
offset:
|
|
3445
|
+
options: Dt(O.val),
|
|
3446
|
+
offset: P,
|
|
3447
3447
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3448
|
-
location:
|
|
3448
|
+
location: me
|
|
3449
3449
|
},
|
|
3450
3450
|
err: null
|
|
3451
3451
|
};
|
|
3452
3452
|
}
|
|
3453
3453
|
default:
|
|
3454
|
-
return this.error(
|
|
3454
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(s, l));
|
|
3455
3455
|
}
|
|
3456
3456
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3457
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3457
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3458
3458
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3459
3459
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3460
3460
|
var n = this.char();
|
|
@@ -3463,7 +3463,7 @@ var Ti = (
|
|
|
3463
3463
|
this.bump();
|
|
3464
3464
|
var i = this.clonePosition();
|
|
3465
3465
|
if (!this.bumpUntil("'"))
|
|
3466
|
-
return this.error(
|
|
3466
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
3467
3467
|
this.bump();
|
|
3468
3468
|
break;
|
|
3469
3469
|
}
|
|
@@ -3493,16 +3493,16 @@ var Ti = (
|
|
|
3493
3493
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3494
3494
|
var n = [];
|
|
3495
3495
|
try {
|
|
3496
|
-
n =
|
|
3496
|
+
n = hi(t);
|
|
3497
3497
|
} catch (i) {
|
|
3498
|
-
return this.error(
|
|
3498
|
+
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3499
3499
|
}
|
|
3500
3500
|
return {
|
|
3501
3501
|
val: {
|
|
3502
|
-
type:
|
|
3502
|
+
type: K.number,
|
|
3503
3503
|
tokens: n,
|
|
3504
3504
|
location: r,
|
|
3505
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3505
|
+
parsedOptions: this.shouldParseSkeletons ? di(n) : {}
|
|
3506
3506
|
},
|
|
3507
3507
|
err: null
|
|
3508
3508
|
};
|
|
@@ -3511,19 +3511,19 @@ var Ti = (
|
|
|
3511
3511
|
if (u.length === 0) {
|
|
3512
3512
|
var f = this.clonePosition();
|
|
3513
3513
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3514
|
-
var h = this.tryParseDecimalInteger(
|
|
3514
|
+
var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3515
3515
|
if (h.err)
|
|
3516
3516
|
return h;
|
|
3517
|
-
c =
|
|
3517
|
+
c = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3518
3518
|
} else
|
|
3519
3519
|
break;
|
|
3520
3520
|
}
|
|
3521
3521
|
if (l.has(u))
|
|
3522
|
-
return this.error(r === "select" ?
|
|
3522
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3523
3523
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3524
3524
|
var d = this.clonePosition();
|
|
3525
3525
|
if (!this.bumpIf("{"))
|
|
3526
|
-
return this.error(r === "select" ?
|
|
3526
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3527
3527
|
var m = this.parseMessage(t + 1, r, n);
|
|
3528
3528
|
if (m.err)
|
|
3529
3529
|
return m;
|
|
@@ -3534,11 +3534,11 @@ var Ti = (
|
|
|
3534
3534
|
u,
|
|
3535
3535
|
{
|
|
3536
3536
|
value: m.val,
|
|
3537
|
-
location:
|
|
3537
|
+
location: E(d, this.clonePosition())
|
|
3538
3538
|
}
|
|
3539
3539
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3540
3540
|
}
|
|
3541
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3541
|
+
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3542
3542
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3543
3543
|
var n = 1, i = this.clonePosition();
|
|
3544
3544
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3549,8 +3549,8 @@ var Ti = (
|
|
|
3549
3549
|
else
|
|
3550
3550
|
break;
|
|
3551
3551
|
}
|
|
3552
|
-
var l =
|
|
3553
|
-
return o ? (s *= n,
|
|
3552
|
+
var l = E(i, this.clonePosition());
|
|
3553
|
+
return o ? (s *= n, Ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3554
3554
|
}, e.prototype.offset = function() {
|
|
3555
3555
|
return this.position.offset;
|
|
3556
3556
|
}, e.prototype.isEOF = function() {
|
|
@@ -3565,7 +3565,7 @@ var Ti = (
|
|
|
3565
3565
|
var t = this.position.offset;
|
|
3566
3566
|
if (t >= this.message.length)
|
|
3567
3567
|
throw Error("out of bound");
|
|
3568
|
-
var r =
|
|
3568
|
+
var r = Pr(this.message, t);
|
|
3569
3569
|
if (r === void 0)
|
|
3570
3570
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3571
3571
|
return r;
|
|
@@ -3584,7 +3584,7 @@ var Ti = (
|
|
|
3584
3584
|
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);
|
|
3585
3585
|
}
|
|
3586
3586
|
}, e.prototype.bumpIf = function(t) {
|
|
3587
|
-
if (
|
|
3587
|
+
if ($t(this.message, t, this.offset())) {
|
|
3588
3588
|
for (var r = 0; r < t.length; r++)
|
|
3589
3589
|
this.bump();
|
|
3590
3590
|
return !0;
|
|
@@ -3606,7 +3606,7 @@ var Ti = (
|
|
|
3606
3606
|
break;
|
|
3607
3607
|
}
|
|
3608
3608
|
}, e.prototype.bumpSpace = function() {
|
|
3609
|
-
for (; !this.isEOF() &&
|
|
3609
|
+
for (; !this.isEOF() && Tr(this.char()); )
|
|
3610
3610
|
this.bump();
|
|
3611
3611
|
}, e.prototype.peek = function() {
|
|
3612
3612
|
if (this.isEOF())
|
|
@@ -3616,47 +3616,47 @@ var Ti = (
|
|
|
3616
3616
|
}, e;
|
|
3617
3617
|
}()
|
|
3618
3618
|
);
|
|
3619
|
-
function
|
|
3619
|
+
function at(e) {
|
|
3620
3620
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3621
3621
|
}
|
|
3622
|
-
function
|
|
3623
|
-
return
|
|
3622
|
+
function Oi(e) {
|
|
3623
|
+
return at(e) || e === 47;
|
|
3624
3624
|
}
|
|
3625
|
-
function
|
|
3625
|
+
function Ci(e) {
|
|
3626
3626
|
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;
|
|
3627
3627
|
}
|
|
3628
|
-
function
|
|
3628
|
+
function Tr(e) {
|
|
3629
3629
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3630
3630
|
}
|
|
3631
|
-
function
|
|
3631
|
+
function Li(e) {
|
|
3632
3632
|
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;
|
|
3633
3633
|
}
|
|
3634
|
-
function
|
|
3634
|
+
function ut(e) {
|
|
3635
3635
|
e.forEach(function(t) {
|
|
3636
|
-
if (delete t.location,
|
|
3636
|
+
if (delete t.location, gr(t) || yr(t))
|
|
3637
3637
|
for (var r in t.options)
|
|
3638
|
-
delete t.options[r].location,
|
|
3638
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3639
3639
|
else
|
|
3640
|
-
|
|
3640
|
+
mr(t) && _r(t.style) || (dr(t) || br(t)) && nt(t.style) ? delete t.style.location : vr(t) && ut(t.children);
|
|
3641
3641
|
});
|
|
3642
3642
|
}
|
|
3643
|
-
function
|
|
3644
|
-
t === void 0 && (t = {}), t =
|
|
3645
|
-
var r = new
|
|
3643
|
+
function Ni(e, t) {
|
|
3644
|
+
t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3645
|
+
var r = new Ii(e, t).parse();
|
|
3646
3646
|
if (r.err) {
|
|
3647
|
-
var n = SyntaxError(
|
|
3647
|
+
var n = SyntaxError(_[r.err.kind]);
|
|
3648
3648
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3649
3649
|
}
|
|
3650
|
-
return t != null && t.captureLocation ||
|
|
3650
|
+
return t != null && t.captureLocation || ut(r.val), r.val;
|
|
3651
3651
|
}
|
|
3652
|
-
var
|
|
3652
|
+
var ee;
|
|
3653
3653
|
(function(e) {
|
|
3654
3654
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3655
|
-
})(
|
|
3656
|
-
var
|
|
3655
|
+
})(ee || (ee = {}));
|
|
3656
|
+
var Ie = (
|
|
3657
3657
|
/** @class */
|
|
3658
3658
|
function(e) {
|
|
3659
|
-
|
|
3659
|
+
Be(t, e);
|
|
3660
3660
|
function t(r, n, i) {
|
|
3661
3661
|
var o = e.call(this, r) || this;
|
|
3662
3662
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3665,155 +3665,155 @@ var Me = (
|
|
|
3665
3665
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3666
3666
|
}, t;
|
|
3667
3667
|
}(Error)
|
|
3668
|
-
),
|
|
3668
|
+
), kt = (
|
|
3669
3669
|
/** @class */
|
|
3670
3670
|
function(e) {
|
|
3671
|
-
|
|
3671
|
+
Be(t, e);
|
|
3672
3672
|
function t(r, n, i, o) {
|
|
3673
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3673
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3674
3674
|
}
|
|
3675
3675
|
return t;
|
|
3676
|
-
}(
|
|
3677
|
-
),
|
|
3676
|
+
}(Ie)
|
|
3677
|
+
), Ri = (
|
|
3678
3678
|
/** @class */
|
|
3679
3679
|
function(e) {
|
|
3680
|
-
|
|
3680
|
+
Be(t, e);
|
|
3681
3681
|
function t(r, n, i) {
|
|
3682
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3682
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
|
3683
3683
|
}
|
|
3684
3684
|
return t;
|
|
3685
|
-
}(
|
|
3686
|
-
),
|
|
3685
|
+
}(Ie)
|
|
3686
|
+
), Fi = (
|
|
3687
3687
|
/** @class */
|
|
3688
3688
|
function(e) {
|
|
3689
|
-
|
|
3689
|
+
Be(t, e);
|
|
3690
3690
|
function t(r, n) {
|
|
3691
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3691
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
|
3692
3692
|
}
|
|
3693
3693
|
return t;
|
|
3694
|
-
}(
|
|
3695
|
-
),
|
|
3694
|
+
}(Ie)
|
|
3695
|
+
), N;
|
|
3696
3696
|
(function(e) {
|
|
3697
3697
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3698
|
-
})(
|
|
3699
|
-
function
|
|
3698
|
+
})(N || (N = {}));
|
|
3699
|
+
function Ui(e) {
|
|
3700
3700
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3701
3701
|
var n = t[t.length - 1];
|
|
3702
|
-
return !n || n.type !==
|
|
3702
|
+
return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
|
|
3703
3703
|
}, []);
|
|
3704
3704
|
}
|
|
3705
|
-
function
|
|
3705
|
+
function $i(e) {
|
|
3706
3706
|
return typeof e == "function";
|
|
3707
3707
|
}
|
|
3708
|
-
function
|
|
3709
|
-
if (e.length === 1 &&
|
|
3708
|
+
function xe(e, t, r, n, i, o, s) {
|
|
3709
|
+
if (e.length === 1 && Nt(e[0]))
|
|
3710
3710
|
return [
|
|
3711
3711
|
{
|
|
3712
|
-
type:
|
|
3712
|
+
type: N.literal,
|
|
3713
3713
|
value: e[0].value
|
|
3714
3714
|
}
|
|
3715
3715
|
];
|
|
3716
3716
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3717
3717
|
var c = u[l];
|
|
3718
|
-
if (
|
|
3718
|
+
if (Nt(c)) {
|
|
3719
3719
|
a.push({
|
|
3720
|
-
type:
|
|
3720
|
+
type: N.literal,
|
|
3721
3721
|
value: c.value
|
|
3722
3722
|
});
|
|
3723
3723
|
continue;
|
|
3724
3724
|
}
|
|
3725
|
-
if (
|
|
3725
|
+
if (ai(c)) {
|
|
3726
3726
|
typeof o == "number" && a.push({
|
|
3727
|
-
type:
|
|
3727
|
+
type: N.literal,
|
|
3728
3728
|
value: r.getNumberFormat(t).format(o)
|
|
3729
3729
|
});
|
|
3730
3730
|
continue;
|
|
3731
3731
|
}
|
|
3732
3732
|
var f = c.value;
|
|
3733
3733
|
if (!(i && f in i))
|
|
3734
|
-
throw new
|
|
3734
|
+
throw new Fi(f, s);
|
|
3735
3735
|
var h = i[f];
|
|
3736
|
-
if (
|
|
3736
|
+
if (si(c)) {
|
|
3737
3737
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3738
|
-
type: typeof h == "string" ?
|
|
3738
|
+
type: typeof h == "string" ? N.literal : N.object,
|
|
3739
3739
|
value: h
|
|
3740
3740
|
});
|
|
3741
3741
|
continue;
|
|
3742
3742
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var d = typeof c.style == "string" ? n.date[c.style] :
|
|
3743
|
+
if (dr(c)) {
|
|
3744
|
+
var d = typeof c.style == "string" ? n.date[c.style] : nt(c.style) ? c.style.parsedOptions : void 0;
|
|
3745
3745
|
a.push({
|
|
3746
|
-
type:
|
|
3746
|
+
type: N.literal,
|
|
3747
3747
|
value: r.getDateTimeFormat(t, d).format(h)
|
|
3748
3748
|
});
|
|
3749
3749
|
continue;
|
|
3750
3750
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var d = typeof c.style == "string" ? n.time[c.style] :
|
|
3751
|
+
if (br(c)) {
|
|
3752
|
+
var d = typeof c.style == "string" ? n.time[c.style] : nt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3753
3753
|
a.push({
|
|
3754
|
-
type:
|
|
3754
|
+
type: N.literal,
|
|
3755
3755
|
value: r.getDateTimeFormat(t, d).format(h)
|
|
3756
3756
|
});
|
|
3757
3757
|
continue;
|
|
3758
3758
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
var d = typeof c.style == "string" ? n.number[c.style] :
|
|
3759
|
+
if (mr(c)) {
|
|
3760
|
+
var d = typeof c.style == "string" ? n.number[c.style] : _r(c.style) ? c.style.parsedOptions : void 0;
|
|
3761
3761
|
d && d.scale && (h = h * (d.scale || 1)), a.push({
|
|
3762
|
-
type:
|
|
3762
|
+
type: N.literal,
|
|
3763
3763
|
value: r.getNumberFormat(t, d).format(h)
|
|
3764
3764
|
});
|
|
3765
3765
|
continue;
|
|
3766
3766
|
}
|
|
3767
|
-
if (
|
|
3767
|
+
if (vr(c)) {
|
|
3768
3768
|
var m = c.children, b = c.value, g = i[b];
|
|
3769
|
-
if (
|
|
3770
|
-
throw new
|
|
3771
|
-
var
|
|
3772
|
-
return
|
|
3769
|
+
if (!$i(g))
|
|
3770
|
+
throw new Ri(b, "function", s);
|
|
3771
|
+
var A = xe(m, t, r, n, i, o), I = g(A.map(function(P) {
|
|
3772
|
+
return P.value;
|
|
3773
3773
|
}));
|
|
3774
|
-
Array.isArray(
|
|
3774
|
+
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
|
|
3775
3775
|
return {
|
|
3776
|
-
type: typeof
|
|
3777
|
-
value:
|
|
3776
|
+
type: typeof P == "string" ? N.literal : N.object,
|
|
3777
|
+
value: P
|
|
3778
3778
|
};
|
|
3779
3779
|
}));
|
|
3780
3780
|
}
|
|
3781
|
-
if (
|
|
3781
|
+
if (gr(c)) {
|
|
3782
3782
|
var v = c.options[h] || c.options.other;
|
|
3783
3783
|
if (!v)
|
|
3784
|
-
throw new
|
|
3785
|
-
a.push.apply(a,
|
|
3784
|
+
throw new kt(c.value, h, Object.keys(c.options), s);
|
|
3785
|
+
a.push.apply(a, xe(v.value, t, r, n, i));
|
|
3786
3786
|
continue;
|
|
3787
3787
|
}
|
|
3788
|
-
if (
|
|
3788
|
+
if (yr(c)) {
|
|
3789
3789
|
var v = c.options["=".concat(h)];
|
|
3790
3790
|
if (!v) {
|
|
3791
3791
|
if (!Intl.PluralRules)
|
|
3792
|
-
throw new
|
|
3792
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3793
3793
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3794
|
-
`,
|
|
3795
|
-
var
|
|
3796
|
-
v = c.options[
|
|
3794
|
+
`, ee.MISSING_INTL_API, s);
|
|
3795
|
+
var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3796
|
+
v = c.options[M] || c.options.other;
|
|
3797
3797
|
}
|
|
3798
3798
|
if (!v)
|
|
3799
|
-
throw new
|
|
3800
|
-
a.push.apply(a,
|
|
3799
|
+
throw new kt(c.value, h, Object.keys(c.options), s);
|
|
3800
|
+
a.push.apply(a, xe(v.value, t, r, n, i, h - (c.offset || 0)));
|
|
3801
3801
|
continue;
|
|
3802
3802
|
}
|
|
3803
3803
|
}
|
|
3804
|
-
return
|
|
3804
|
+
return Ui(a);
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3807
|
-
return t ?
|
|
3808
|
-
return r[n] =
|
|
3806
|
+
function Di(e, t) {
|
|
3807
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3808
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3809
3809
|
}, {})) : e;
|
|
3810
3810
|
}
|
|
3811
|
-
function
|
|
3811
|
+
function Gi(e, t) {
|
|
3812
3812
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3813
|
-
return r[n] =
|
|
3814
|
-
},
|
|
3813
|
+
return r[n] = Di(e[n], t[n]), r;
|
|
3814
|
+
}, G({}, e)) : e;
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3816
|
+
function Ve(e) {
|
|
3817
3817
|
return {
|
|
3818
3818
|
create: function() {
|
|
3819
3819
|
return {
|
|
@@ -3827,39 +3827,39 @@ function Ge(e) {
|
|
|
3827
3827
|
}
|
|
3828
3828
|
};
|
|
3829
3829
|
}
|
|
3830
|
-
function
|
|
3830
|
+
function ki(e) {
|
|
3831
3831
|
return e === void 0 && (e = {
|
|
3832
3832
|
number: {},
|
|
3833
3833
|
dateTime: {},
|
|
3834
3834
|
pluralRules: {}
|
|
3835
3835
|
}), {
|
|
3836
|
-
getNumberFormat:
|
|
3836
|
+
getNumberFormat: Ge(function() {
|
|
3837
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3838
|
r[n] = arguments[n];
|
|
3839
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3839
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3840
3840
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3841
|
+
cache: Ve(e.number),
|
|
3842
|
+
strategy: ke.variadic
|
|
3843
3843
|
}),
|
|
3844
|
-
getDateTimeFormat:
|
|
3844
|
+
getDateTimeFormat: Ge(function() {
|
|
3845
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3846
|
r[n] = arguments[n];
|
|
3847
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3847
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3848
3848
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3849
|
+
cache: Ve(e.dateTime),
|
|
3850
|
+
strategy: ke.variadic
|
|
3851
3851
|
}),
|
|
3852
|
-
getPluralRules:
|
|
3852
|
+
getPluralRules: Ge(function() {
|
|
3853
3853
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3854
3854
|
r[n] = arguments[n];
|
|
3855
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3855
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
|
3856
3856
|
}, {
|
|
3857
|
-
cache:
|
|
3858
|
-
strategy:
|
|
3857
|
+
cache: Ve(e.pluralRules),
|
|
3858
|
+
strategy: ke.variadic
|
|
3859
3859
|
})
|
|
3860
3860
|
};
|
|
3861
3861
|
}
|
|
3862
|
-
var
|
|
3862
|
+
var ji = (
|
|
3863
3863
|
/** @class */
|
|
3864
3864
|
function() {
|
|
3865
3865
|
function e(t, r, n, i) {
|
|
@@ -3874,11 +3874,11 @@ var $i = (
|
|
|
3874
3874
|
if (u.length === 1)
|
|
3875
3875
|
return u[0].value;
|
|
3876
3876
|
var c = u.reduce(function(f, h) {
|
|
3877
|
-
return !f.length || h.type !==
|
|
3877
|
+
return !f.length || h.type !== N.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
|
|
3878
3878
|
}, []);
|
|
3879
3879
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3880
3880
|
}, this.formatToParts = function(l) {
|
|
3881
|
-
return
|
|
3881
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3882
3882
|
}, this.resolvedOptions = function() {
|
|
3883
3883
|
var l;
|
|
3884
3884
|
return {
|
|
@@ -3891,13 +3891,13 @@ var $i = (
|
|
|
3891
3891
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3892
3892
|
var s = i || {};
|
|
3893
3893
|
s.formatters;
|
|
3894
|
-
var a =
|
|
3895
|
-
this.ast = e.__parse(t,
|
|
3894
|
+
var a = Yn(s, ["formatters"]);
|
|
3895
|
+
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
|
3896
3896
|
} else
|
|
3897
3897
|
this.ast = t;
|
|
3898
3898
|
if (!Array.isArray(this.ast))
|
|
3899
3899
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3900
|
-
this.formats =
|
|
3900
|
+
this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
3901
3901
|
}
|
|
3902
3902
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3903
3903
|
get: function() {
|
|
@@ -3910,7 +3910,7 @@ var $i = (
|
|
|
3910
3910
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3911
3911
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3912
3912
|
}
|
|
3913
|
-
}, e.__parse =
|
|
3913
|
+
}, e.__parse = Ni, e.formats = {
|
|
3914
3914
|
number: {
|
|
3915
3915
|
integer: {
|
|
3916
3916
|
maximumFractionDigits: 0
|
|
@@ -3971,7 +3971,7 @@ var $i = (
|
|
|
3971
3971
|
}, e;
|
|
3972
3972
|
}()
|
|
3973
3973
|
);
|
|
3974
|
-
function
|
|
3974
|
+
function Vi(e, t) {
|
|
3975
3975
|
if (t == null)
|
|
3976
3976
|
return;
|
|
3977
3977
|
if (t in e)
|
|
@@ -3992,92 +3992,92 @@ function Di(e, t) {
|
|
|
3992
3992
|
n = void 0;
|
|
3993
3993
|
return n;
|
|
3994
3994
|
}
|
|
3995
|
-
const j = {},
|
|
3995
|
+
const j = {}, Wi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Hr = (e, t) => {
|
|
3996
3996
|
if (t == null)
|
|
3997
3997
|
return;
|
|
3998
3998
|
if (t in j && e in j[t])
|
|
3999
3999
|
return j[t][e];
|
|
4000
|
-
const r =
|
|
4000
|
+
const r = Oe(t);
|
|
4001
4001
|
for (let n = 0; n < r.length; n++) {
|
|
4002
|
-
const i = r[n], o =
|
|
4002
|
+
const i = r[n], o = zi(i, e);
|
|
4003
4003
|
if (o)
|
|
4004
|
-
return
|
|
4004
|
+
return Wi(e, t, o);
|
|
4005
4005
|
}
|
|
4006
4006
|
};
|
|
4007
|
-
let
|
|
4008
|
-
const pe =
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
4007
|
+
let ft;
|
|
4008
|
+
const pe = Me({});
|
|
4009
|
+
function Xi(e) {
|
|
4010
|
+
return ft[e] || null;
|
|
4011
4011
|
}
|
|
4012
|
-
function
|
|
4013
|
-
return e in
|
|
4012
|
+
function Mr(e) {
|
|
4013
|
+
return e in ft;
|
|
4014
4014
|
}
|
|
4015
|
-
function
|
|
4016
|
-
if (!
|
|
4015
|
+
function zi(e, t) {
|
|
4016
|
+
if (!Mr(e))
|
|
4017
4017
|
return null;
|
|
4018
|
-
const r =
|
|
4019
|
-
return
|
|
4018
|
+
const r = Xi(e);
|
|
4019
|
+
return Vi(r, t);
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4021
|
+
function Zi(e) {
|
|
4022
4022
|
if (e == null)
|
|
4023
4023
|
return;
|
|
4024
|
-
const t =
|
|
4024
|
+
const t = Oe(e);
|
|
4025
4025
|
for (let r = 0; r < t.length; r++) {
|
|
4026
4026
|
const n = t[r];
|
|
4027
|
-
if (
|
|
4027
|
+
if (Mr(n))
|
|
4028
4028
|
return n;
|
|
4029
4029
|
}
|
|
4030
4030
|
}
|
|
4031
|
-
function
|
|
4032
|
-
delete j[e], pe.update((r) => (r[e] =
|
|
4031
|
+
function Br(e, ...t) {
|
|
4032
|
+
delete j[e], pe.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
4033
4033
|
}
|
|
4034
|
-
|
|
4034
|
+
ne(
|
|
4035
4035
|
[pe],
|
|
4036
4036
|
([e]) => Object.keys(e)
|
|
4037
4037
|
);
|
|
4038
|
-
pe.subscribe((e) =>
|
|
4039
|
-
const
|
|
4040
|
-
function
|
|
4041
|
-
|
|
4038
|
+
pe.subscribe((e) => ft = e);
|
|
4039
|
+
const Ee = {};
|
|
4040
|
+
function Qi(e, t) {
|
|
4041
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4042
4042
|
}
|
|
4043
|
-
function
|
|
4044
|
-
return
|
|
4043
|
+
function Ir(e) {
|
|
4044
|
+
return Ee[e];
|
|
4045
4045
|
}
|
|
4046
|
-
function
|
|
4047
|
-
return
|
|
4048
|
-
const r =
|
|
4046
|
+
function qi(e) {
|
|
4047
|
+
return Oe(e).map((t) => {
|
|
4048
|
+
const r = Ir(t);
|
|
4049
4049
|
return [t, r ? [...r] : []];
|
|
4050
4050
|
}).filter(([, t]) => t.length > 0);
|
|
4051
4051
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return e == null ? !1 :
|
|
4052
|
+
function lt(e) {
|
|
4053
|
+
return e == null ? !1 : Oe(e).some(
|
|
4054
4054
|
(t) => {
|
|
4055
4055
|
var r;
|
|
4056
|
-
return (r =
|
|
4056
|
+
return (r = Ir(t)) == null ? void 0 : r.size;
|
|
4057
4057
|
}
|
|
4058
4058
|
);
|
|
4059
4059
|
}
|
|
4060
|
-
function
|
|
4060
|
+
function Ji(e, t) {
|
|
4061
4061
|
return Promise.all(
|
|
4062
|
-
t.map((n) => (
|
|
4063
|
-
).then((n) =>
|
|
4062
|
+
t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
|
|
4063
|
+
).then((n) => Br(e, ...n));
|
|
4064
4064
|
}
|
|
4065
4065
|
const ae = {};
|
|
4066
|
-
function
|
|
4067
|
-
if (!
|
|
4066
|
+
function Or(e) {
|
|
4067
|
+
if (!lt(e))
|
|
4068
4068
|
return e in ae ? ae[e] : Promise.resolve();
|
|
4069
|
-
const t =
|
|
4069
|
+
const t = qi(e);
|
|
4070
4070
|
return ae[e] = Promise.all(
|
|
4071
4071
|
t.map(
|
|
4072
|
-
([r, n]) =>
|
|
4072
|
+
([r, n]) => Ji(r, n)
|
|
4073
4073
|
)
|
|
4074
4074
|
).then(() => {
|
|
4075
|
-
if (
|
|
4076
|
-
return
|
|
4075
|
+
if (lt(e))
|
|
4076
|
+
return Or(e);
|
|
4077
4077
|
delete ae[e];
|
|
4078
4078
|
}), ae[e];
|
|
4079
4079
|
}
|
|
4080
|
-
const
|
|
4080
|
+
const Yi = {
|
|
4081
4081
|
number: {
|
|
4082
4082
|
scientific: { notation: "scientific" },
|
|
4083
4083
|
engineering: { notation: "engineering" },
|
|
@@ -4106,135 +4106,135 @@ const Zi = {
|
|
|
4106
4106
|
timeZoneName: "short"
|
|
4107
4107
|
}
|
|
4108
4108
|
}
|
|
4109
|
-
},
|
|
4109
|
+
}, Ki = {
|
|
4110
4110
|
fallbackLocale: null,
|
|
4111
4111
|
loadingDelay: 200,
|
|
4112
|
-
formats:
|
|
4112
|
+
formats: Yi,
|
|
4113
4113
|
warnOnMissingMessages: !0,
|
|
4114
4114
|
handleMissingMessage: void 0,
|
|
4115
4115
|
ignoreTag: !0
|
|
4116
|
-
},
|
|
4117
|
-
function
|
|
4118
|
-
return
|
|
4116
|
+
}, eo = Ki;
|
|
4117
|
+
function te() {
|
|
4118
|
+
return eo;
|
|
4119
4119
|
}
|
|
4120
|
-
const
|
|
4121
|
-
var
|
|
4120
|
+
const We = Me(!1);
|
|
4121
|
+
var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
|
|
4122
4122
|
for (var r in t || (t = {}))
|
|
4123
|
-
|
|
4124
|
-
if (
|
|
4125
|
-
for (var r of
|
|
4126
|
-
|
|
4123
|
+
io.call(t, r) && Vt(e, r, t[r]);
|
|
4124
|
+
if (jt)
|
|
4125
|
+
for (var r of jt(t))
|
|
4126
|
+
oo.call(t, r) && Vt(e, r, t[r]);
|
|
4127
4127
|
return e;
|
|
4128
|
-
},
|
|
4129
|
-
let
|
|
4130
|
-
const
|
|
4131
|
-
function
|
|
4128
|
+
}, ao = (e, t) => ro(e, no(t));
|
|
4129
|
+
let ct;
|
|
4130
|
+
const Se = Me(null);
|
|
4131
|
+
function Wt(e) {
|
|
4132
4132
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4133
4133
|
}
|
|
4134
|
-
function
|
|
4135
|
-
const r =
|
|
4136
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4134
|
+
function Oe(e, t = te().fallbackLocale) {
|
|
4135
|
+
const r = Wt(e);
|
|
4136
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
|
|
4137
4137
|
}
|
|
4138
4138
|
function V() {
|
|
4139
|
-
return
|
|
4139
|
+
return ct != null ? ct : void 0;
|
|
4140
4140
|
}
|
|
4141
|
-
|
|
4142
|
-
|
|
4141
|
+
Se.subscribe((e) => {
|
|
4142
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4143
4143
|
});
|
|
4144
|
-
const
|
|
4145
|
-
if (e &&
|
|
4146
|
-
const { loadingDelay: t } =
|
|
4144
|
+
const uo = (e) => {
|
|
4145
|
+
if (e && Zi(e) && lt(e)) {
|
|
4146
|
+
const { loadingDelay: t } = te();
|
|
4147
4147
|
let r;
|
|
4148
4148
|
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
4149
|
-
() =>
|
|
4149
|
+
() => We.set(!0),
|
|
4150
4150
|
t
|
|
4151
|
-
) :
|
|
4152
|
-
|
|
4151
|
+
) : We.set(!0), Or(e).then(() => {
|
|
4152
|
+
Se.set(e);
|
|
4153
4153
|
}).finally(() => {
|
|
4154
|
-
clearTimeout(r),
|
|
4154
|
+
clearTimeout(r), We.set(!1);
|
|
4155
4155
|
});
|
|
4156
4156
|
}
|
|
4157
|
-
return
|
|
4158
|
-
},
|
|
4159
|
-
set:
|
|
4160
|
-
}),
|
|
4157
|
+
return Se.set(e);
|
|
4158
|
+
}, ie = ao(so({}, Se), {
|
|
4159
|
+
set: uo
|
|
4160
|
+
}), Ce = (e) => {
|
|
4161
4161
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4162
4162
|
return (n) => {
|
|
4163
4163
|
const i = JSON.stringify(n);
|
|
4164
4164
|
return i in t ? t[i] : t[i] = e(n);
|
|
4165
4165
|
};
|
|
4166
4166
|
};
|
|
4167
|
-
var
|
|
4167
|
+
var lo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
4168
4168
|
for (var r in t || (t = {}))
|
|
4169
|
-
|
|
4170
|
-
if (
|
|
4171
|
-
for (var r of
|
|
4172
|
-
|
|
4169
|
+
Cr.call(t, r) && Xt(e, r, t[r]);
|
|
4170
|
+
if (Te)
|
|
4171
|
+
for (var r of Te(t))
|
|
4172
|
+
Lr.call(t, r) && Xt(e, r, t[r]);
|
|
4173
4173
|
return e;
|
|
4174
|
-
},
|
|
4174
|
+
}, oe = (e, t) => {
|
|
4175
4175
|
var r = {};
|
|
4176
4176
|
for (var n in e)
|
|
4177
|
-
|
|
4178
|
-
if (e != null &&
|
|
4179
|
-
for (var n of
|
|
4180
|
-
t.indexOf(n) < 0 &&
|
|
4177
|
+
Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4178
|
+
if (e != null && Te)
|
|
4179
|
+
for (var n of Te(e))
|
|
4180
|
+
t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
|
|
4181
4181
|
return r;
|
|
4182
4182
|
};
|
|
4183
4183
|
const he = (e, t) => {
|
|
4184
|
-
const { formats: r } =
|
|
4184
|
+
const { formats: r } = te();
|
|
4185
4185
|
if (e in r && t in r[e])
|
|
4186
4186
|
return r[e][t];
|
|
4187
4187
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4188
|
-
},
|
|
4188
|
+
}, co = Ce(
|
|
4189
4189
|
(e) => {
|
|
4190
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4190
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4191
4191
|
if (r == null)
|
|
4192
4192
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4193
4193
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
|
4194
4194
|
}
|
|
4195
|
-
),
|
|
4195
|
+
), ho = Ce(
|
|
4196
4196
|
(e) => {
|
|
4197
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4197
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4198
4198
|
if (r == null)
|
|
4199
4199
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4200
4200
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4201
4201
|
}
|
|
4202
|
-
),
|
|
4202
|
+
), fo = Ce(
|
|
4203
4203
|
(e) => {
|
|
4204
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4204
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4205
4205
|
if (r == null)
|
|
4206
4206
|
throw new Error(
|
|
4207
4207
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4208
4208
|
);
|
|
4209
4209
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4210
4210
|
}
|
|
4211
|
-
),
|
|
4211
|
+
), po = (e = {}) => {
|
|
4212
4212
|
var t = e, {
|
|
4213
4213
|
locale: r = V()
|
|
4214
|
-
} = t, n =
|
|
4214
|
+
} = t, n = oe(t, [
|
|
4215
4215
|
"locale"
|
|
4216
4216
|
]);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4217
|
+
return co(pt({ locale: r }, n));
|
|
4218
|
+
}, mo = (e = {}) => {
|
|
4219
4219
|
var t = e, {
|
|
4220
4220
|
locale: r = V()
|
|
4221
|
-
} = t, n =
|
|
4221
|
+
} = t, n = oe(t, [
|
|
4222
4222
|
"locale"
|
|
4223
4223
|
]);
|
|
4224
|
-
return
|
|
4225
|
-
},
|
|
4224
|
+
return ho(pt({ locale: r }, n));
|
|
4225
|
+
}, bo = (e = {}) => {
|
|
4226
4226
|
var t = e, {
|
|
4227
4227
|
locale: r = V()
|
|
4228
|
-
} = t, n =
|
|
4228
|
+
} = t, n = oe(t, [
|
|
4229
4229
|
"locale"
|
|
4230
4230
|
]);
|
|
4231
|
-
return
|
|
4232
|
-
},
|
|
4231
|
+
return fo(pt({ locale: r }, n));
|
|
4232
|
+
}, go = Ce(
|
|
4233
4233
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4234
|
-
(e, t = V()) => new
|
|
4235
|
-
ignoreTag:
|
|
4234
|
+
(e, t = V()) => new ji(e, t, te().formats, {
|
|
4235
|
+
ignoreTag: te().ignoreTag
|
|
4236
4236
|
})
|
|
4237
|
-
),
|
|
4237
|
+
), yo = (e, t = {}) => {
|
|
4238
4238
|
var r, n, i, o;
|
|
4239
4239
|
let s = t;
|
|
4240
4240
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4247,9 +4247,9 @@ const he = (e, t) => {
|
|
|
4247
4247
|
throw new Error(
|
|
4248
4248
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4249
4249
|
);
|
|
4250
|
-
let c =
|
|
4250
|
+
let c = Hr(e, l);
|
|
4251
4251
|
if (!c)
|
|
4252
|
-
c = (o = (i = (n = (r =
|
|
4252
|
+
c = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4253
4253
|
else if (typeof c != "string")
|
|
4254
4254
|
return console.warn(
|
|
4255
4255
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4258,7 +4258,7 @@ const he = (e, t) => {
|
|
|
4258
4258
|
return c;
|
|
4259
4259
|
let f = c;
|
|
4260
4260
|
try {
|
|
4261
|
-
f =
|
|
4261
|
+
f = go(c, l).format(a);
|
|
4262
4262
|
} catch (h) {
|
|
4263
4263
|
h instanceof Error && console.warn(
|
|
4264
4264
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4266,21 +4266,21 @@ const he = (e, t) => {
|
|
|
4266
4266
|
);
|
|
4267
4267
|
}
|
|
4268
4268
|
return f;
|
|
4269
|
-
},
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
window.emWidgets = { topic:
|
|
4275
|
-
const
|
|
4269
|
+
}, vo = (e, t) => bo(t).format(e), _o = (e, t) => mo(t).format(e), xo = (e, t) => po(t).format(e), Eo = (e, t = V()) => Hr(e, t), wo = ne([ie, pe], () => yo);
|
|
4270
|
+
ne([ie], () => vo);
|
|
4271
|
+
ne([ie], () => _o);
|
|
4272
|
+
ne([ie], () => xo);
|
|
4273
|
+
ne([ie, pe], () => Eo);
|
|
4274
|
+
window.emWidgets = { topic: Ln };
|
|
4275
|
+
const zt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4276
4276
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4277
|
+
function Zt(e, t) {
|
|
4278
|
+
Br(e, t);
|
|
4279
4279
|
}
|
|
4280
|
-
function
|
|
4281
|
-
|
|
4280
|
+
function Ao(e) {
|
|
4281
|
+
ie.set(e);
|
|
4282
4282
|
}
|
|
4283
|
-
const
|
|
4283
|
+
const Qt = {
|
|
4284
4284
|
en: {
|
|
4285
4285
|
title: "My Account"
|
|
4286
4286
|
},
|
|
@@ -4314,14 +4314,14 @@ const Xt = {
|
|
|
4314
4314
|
"en-us": {
|
|
4315
4315
|
title: "My Account"
|
|
4316
4316
|
}
|
|
4317
|
-
},
|
|
4318
|
-
function
|
|
4317
|
+
}, Q = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4318
|
+
function Po(e, t) {
|
|
4319
4319
|
if (e) {
|
|
4320
4320
|
const r = document.createElement("style");
|
|
4321
4321
|
r.innerHTML = t, e.appendChild(r);
|
|
4322
4322
|
}
|
|
4323
4323
|
}
|
|
4324
|
-
function
|
|
4324
|
+
function So(e, t) {
|
|
4325
4325
|
if (!e || !t)
|
|
4326
4326
|
return;
|
|
4327
4327
|
const r = new URL(t);
|
|
@@ -4332,32 +4332,32 @@ function Eo(e, t) {
|
|
|
4332
4332
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4333
4333
|
});
|
|
4334
4334
|
}
|
|
4335
|
-
function
|
|
4335
|
+
function To(e, t, r, n = !1) {
|
|
4336
4336
|
if (!window.emMessageBus)
|
|
4337
4337
|
return;
|
|
4338
4338
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4339
|
-
return r =
|
|
4340
|
-
window[
|
|
4339
|
+
return r = Ho(e, t), r;
|
|
4340
|
+
window[Q] || (window[Q] = {}), r = Mo(e, t);
|
|
4341
4341
|
const o = r.unsubscribe.bind(r), s = () => {
|
|
4342
|
-
if (window[
|
|
4343
|
-
const a = window[
|
|
4344
|
-
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[
|
|
4342
|
+
if (window[Q][t]) {
|
|
4343
|
+
const a = window[Q][t];
|
|
4344
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Q][t];
|
|
4345
4345
|
}
|
|
4346
4346
|
o();
|
|
4347
4347
|
};
|
|
4348
4348
|
return r.unsubscribe = s, r;
|
|
4349
4349
|
}
|
|
4350
|
-
function
|
|
4350
|
+
function Ho(e, t) {
|
|
4351
4351
|
const r = document.createElement("style");
|
|
4352
4352
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
4353
4353
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
4354
4354
|
});
|
|
4355
4355
|
}
|
|
4356
|
-
function
|
|
4356
|
+
function Mo(e, t) {
|
|
4357
4357
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4358
4358
|
if (!e)
|
|
4359
4359
|
return;
|
|
4360
|
-
const n = e.getRootNode(), i = window[
|
|
4360
|
+
const n = e.getRootNode(), i = window[Q];
|
|
4361
4361
|
let o = i[t] && i[t].sheet;
|
|
4362
4362
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4363
4363
|
sheet: o,
|
|
@@ -4379,22 +4379,22 @@ if (typeof window != "undefined") {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
};
|
|
4381
4381
|
};
|
|
4382
|
-
customElements.define = e(customElements.define), import("./GeneralLogout-
|
|
4382
|
+
customElements.define = e(customElements.define), import("./GeneralLogout-Bmr4R5qR.js").then(({ default: t }) => {
|
|
4383
4383
|
!customElements.get("general-logout") && customElements.define("general-logout", t.element);
|
|
4384
4384
|
});
|
|
4385
4385
|
}
|
|
4386
|
-
function
|
|
4387
|
-
|
|
4386
|
+
function Bo(e) {
|
|
4387
|
+
en(e, "svelte-j26xf8", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
4388
4388
|
}
|
|
4389
|
-
function
|
|
4389
|
+
function qt(e, t, r) {
|
|
4390
4390
|
const n = e.slice();
|
|
4391
|
-
return n[
|
|
4391
|
+
return n[45] = t[r], n;
|
|
4392
4392
|
}
|
|
4393
|
-
function
|
|
4393
|
+
function Jt(e, t, r) {
|
|
4394
4394
|
const n = e.slice();
|
|
4395
|
-
return n[
|
|
4395
|
+
return n[42] = t[r], n;
|
|
4396
4396
|
}
|
|
4397
|
-
function
|
|
4397
|
+
function Io(e) {
|
|
4398
4398
|
let t, r, n, i, o = (
|
|
4399
4399
|
/*showaliasasusername*/
|
|
4400
4400
|
(e[5] === "true" ? (
|
|
@@ -4406,40 +4406,40 @@ function To(e) {
|
|
|
4406
4406
|
)) + ""
|
|
4407
4407
|
), s, a, l, u, c, f, h, d, m = (
|
|
4408
4408
|
/*isMobile*/
|
|
4409
|
-
e[14] &&
|
|
4409
|
+
e[14] && Co(e)
|
|
4410
4410
|
), b = (
|
|
4411
4411
|
/*isMobile*/
|
|
4412
|
-
e[14] &&
|
|
4413
|
-
), g =
|
|
4412
|
+
e[14] && Lo(e)
|
|
4413
|
+
), g = Ae(
|
|
4414
4414
|
/*menuItems*/
|
|
4415
4415
|
e[8]
|
|
4416
|
-
),
|
|
4416
|
+
), A = [];
|
|
4417
4417
|
for (let v = 0; v < g.length; v += 1)
|
|
4418
|
-
|
|
4419
|
-
let
|
|
4420
|
-
e[14] &&
|
|
4418
|
+
A[v] = Yt(qt(e, g, v));
|
|
4419
|
+
let I = !/*isMobile*/
|
|
4420
|
+
e[14] && No(e);
|
|
4421
4421
|
return {
|
|
4422
4422
|
c() {
|
|
4423
|
-
t = S("div"), r = S("div"), m && m.c(), n =
|
|
4423
|
+
t = S("div"), r = S("div"), m && m.c(), n = R(), i = S("p"), s = J(o), a = R(), l = S("p"), u = J(
|
|
4424
4424
|
/*profileEmail*/
|
|
4425
4425
|
e[11]
|
|
4426
|
-
), c =
|
|
4427
|
-
for (let v = 0; v <
|
|
4428
|
-
|
|
4429
|
-
d =
|
|
4430
|
-
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
4426
|
+
), c = R(), b && b.c(), f = R(), h = S("div");
|
|
4427
|
+
for (let v = 0; v < A.length; v += 1)
|
|
4428
|
+
A[v].c();
|
|
4429
|
+
d = R(), I && I.c(), x(i, "class", "PlayerAccountMenuUser"), x(i, "translate", "no"), x(l, "class", "PlayerAccountMenuEmail"), x(l, "translate", "no"), x(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
4430
|
+
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")), x(h, "class", "PlayerAccountMenuList"), x(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
4431
4431
|
(e[14] ? "PlayerAccountMobileContainer" : ""));
|
|
4432
4432
|
},
|
|
4433
|
-
m(v,
|
|
4434
|
-
|
|
4435
|
-
for (let
|
|
4436
|
-
P
|
|
4437
|
-
y(t, d),
|
|
4433
|
+
m(v, M) {
|
|
4434
|
+
D(v, t, M), y(t, r), m && m.m(r, null), y(r, n), y(r, i), y(i, s), y(r, a), y(r, l), y(l, u), y(r, c), b && b.m(r, null), y(t, f), y(t, h);
|
|
4435
|
+
for (let P = 0; P < A.length; P += 1)
|
|
4436
|
+
A[P] && A[P].m(h, null);
|
|
4437
|
+
y(t, d), I && I.m(t, null);
|
|
4438
4438
|
},
|
|
4439
|
-
p(v,
|
|
4439
|
+
p(v, M) {
|
|
4440
4440
|
if (
|
|
4441
4441
|
/*isMobile*/
|
|
4442
|
-
v[14] && m.p(v,
|
|
4442
|
+
v[14] && m.p(v, M), M[0] & /*showaliasasusername, profileAlias, profileUsername*/
|
|
4443
4443
|
5152 && o !== (o = /*showaliasasusername*/
|
|
4444
4444
|
(v[5] === "true" ? (
|
|
4445
4445
|
/*profileAlias*/
|
|
@@ -4447,54 +4447,54 @@ function To(e) {
|
|
|
4447
4447
|
) : (
|
|
4448
4448
|
/*profileUsername*/
|
|
4449
4449
|
v[10]
|
|
4450
|
-
)) + "") &&
|
|
4451
|
-
2048 &&
|
|
4450
|
+
)) + "") && we(s, o), M[0] & /*profileEmail*/
|
|
4451
|
+
2048 && we(
|
|
4452
4452
|
u,
|
|
4453
4453
|
/*profileEmail*/
|
|
4454
4454
|
v[11]
|
|
4455
4455
|
), /*isMobile*/
|
|
4456
|
-
v[14] && b.p(v,
|
|
4456
|
+
v[14] && b.p(v, M), M[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
4457
4457
|
49920
|
|
4458
4458
|
) {
|
|
4459
|
-
g =
|
|
4459
|
+
g = Ae(
|
|
4460
4460
|
/*menuItems*/
|
|
4461
4461
|
v[8]
|
|
4462
4462
|
);
|
|
4463
|
-
let
|
|
4464
|
-
for (
|
|
4465
|
-
const
|
|
4466
|
-
P
|
|
4463
|
+
let P;
|
|
4464
|
+
for (P = 0; P < g.length; P += 1) {
|
|
4465
|
+
const O = qt(v, g, P);
|
|
4466
|
+
A[P] ? A[P].p(O, M) : (A[P] = Yt(O), A[P].c(), A[P].m(h, null));
|
|
4467
4467
|
}
|
|
4468
|
-
for (;
|
|
4469
|
-
P
|
|
4470
|
-
|
|
4468
|
+
for (; P < A.length; P += 1)
|
|
4469
|
+
A[P].d(1);
|
|
4470
|
+
A.length = g.length;
|
|
4471
4471
|
}
|
|
4472
4472
|
/*isMobile*/
|
|
4473
|
-
v[14] ||
|
|
4473
|
+
v[14] || I.p(v, M);
|
|
4474
4474
|
},
|
|
4475
4475
|
d(v) {
|
|
4476
|
-
v &&
|
|
4476
|
+
v && $(t), m && m.d(), b && b.d(), nr(A, v), I && I.d();
|
|
4477
4477
|
}
|
|
4478
4478
|
};
|
|
4479
4479
|
}
|
|
4480
|
-
function
|
|
4480
|
+
function Oo(e) {
|
|
4481
4481
|
let t, r, n, i, o, s, a, l, u, c, f = (
|
|
4482
4482
|
/*isMobile*/
|
|
4483
|
-
e[14] &&
|
|
4484
|
-
), h =
|
|
4483
|
+
e[14] && Ro()
|
|
4484
|
+
), h = Ae(Array(18)), d = [];
|
|
4485
4485
|
for (let m = 0; m < h.length; m += 1)
|
|
4486
|
-
d[m] =
|
|
4486
|
+
d[m] = Kt(Jt(e, h, m));
|
|
4487
4487
|
return {
|
|
4488
4488
|
c() {
|
|
4489
|
-
t = S("div"), r = S("div"), f && f.c(), n =
|
|
4489
|
+
t = S("div"), r = S("div"), f && f.c(), n = R(), i = S("ui-skeleton"), o = R(), s = S("ui-skeleton"), a = R(), l = S("div");
|
|
4490
4490
|
for (let m = 0; m < d.length; m += 1)
|
|
4491
4491
|
d[m].c();
|
|
4492
|
-
u =
|
|
4493
|
-
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
4492
|
+
u = R(), c = S("div"), c.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', w(i, "structure", "title"), w(i, "width", "100px"), w(i, "height", "20px"), w(i, "margin-top", "20px"), w(s, "structure", "text"), w(s, "width", "200px"), w(s, "height", "20px"), x(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
4493
|
+
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")), x(l, "class", "PlayerAccountMenuList"), x(c, "class", "skeletonLogOut"), x(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
4494
4494
|
(e[14] ? "PlayerAccountMobileContainer" : ""));
|
|
4495
4495
|
},
|
|
4496
4496
|
m(m, b) {
|
|
4497
|
-
|
|
4497
|
+
D(m, t, b), y(t, r), f && f.m(r, null), y(r, n), y(r, i), y(r, o), y(r, s), y(t, a), y(t, l);
|
|
4498
4498
|
for (let g = 0; g < d.length; g += 1)
|
|
4499
4499
|
d[g] && d[g].m(l, null);
|
|
4500
4500
|
y(t, u), y(t, c);
|
|
@@ -4502,11 +4502,11 @@ function Ho(e) {
|
|
|
4502
4502
|
p(m, b) {
|
|
4503
4503
|
if (b[0] & /*isMobile*/
|
|
4504
4504
|
16384) {
|
|
4505
|
-
h =
|
|
4505
|
+
h = Ae(Array(18));
|
|
4506
4506
|
let g;
|
|
4507
4507
|
for (g = 0; g < h.length; g += 1) {
|
|
4508
|
-
const
|
|
4509
|
-
d[g] ? d[g].p(
|
|
4508
|
+
const A = Jt(m, h, g);
|
|
4509
|
+
d[g] ? d[g].p(A, b) : (d[g] = Kt(A), d[g].c(), d[g].m(l, null));
|
|
4510
4510
|
}
|
|
4511
4511
|
for (; g < d.length; g += 1)
|
|
4512
4512
|
d[g].d(1);
|
|
@@ -4514,28 +4514,28 @@ function Ho(e) {
|
|
|
4514
4514
|
}
|
|
4515
4515
|
},
|
|
4516
4516
|
d(m) {
|
|
4517
|
-
m &&
|
|
4517
|
+
m && $(t), f && f.d(), nr(d, m);
|
|
4518
4518
|
}
|
|
4519
4519
|
};
|
|
4520
4520
|
}
|
|
4521
|
-
function
|
|
4521
|
+
function Co(e) {
|
|
4522
4522
|
let t, r, n, i, o, s, a, l, u, c, f = (
|
|
4523
4523
|
/*$_*/
|
|
4524
4524
|
e[13]("title") + ""
|
|
4525
4525
|
), h, d, m;
|
|
4526
4526
|
return {
|
|
4527
4527
|
c() {
|
|
4528
|
-
t = S("div"), r =
|
|
4528
|
+
t = S("div"), r = W("svg"), n = W("defs"), i = W("style"), o = J(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), s = W("g"), a = W("g"), l = W("path"), u = R(), c = S("h3"), h = J(f), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "PlayerAccountMenuCategoryTitle"), x(t, "class", "PlayerAccountMenuCategoryWrapper");
|
|
4529
4529
|
},
|
|
4530
4530
|
m(b, g) {
|
|
4531
|
-
|
|
4532
|
-
|
|
4531
|
+
D(b, t, g), y(t, r), y(r, n), y(n, i), y(i, o), y(r, s), y(s, a), y(a, l), y(t, u), y(t, c), y(c, h), d || (m = [
|
|
4532
|
+
Xe(
|
|
4533
4533
|
r,
|
|
4534
4534
|
"click",
|
|
4535
4535
|
/*goToHome*/
|
|
4536
4536
|
e[16]
|
|
4537
4537
|
),
|
|
4538
|
-
|
|
4538
|
+
Xe(
|
|
4539
4539
|
c,
|
|
4540
4540
|
"click",
|
|
4541
4541
|
/*goToHome*/
|
|
@@ -4546,74 +4546,74 @@ function Mo(e) {
|
|
|
4546
4546
|
p(b, g) {
|
|
4547
4547
|
g[0] & /*$_*/
|
|
4548
4548
|
8192 && f !== (f = /*$_*/
|
|
4549
|
-
b[13]("title") + "") &&
|
|
4549
|
+
b[13]("title") + "") && we(h, f);
|
|
4550
4550
|
},
|
|
4551
4551
|
d(b) {
|
|
4552
|
-
b &&
|
|
4552
|
+
b && $(t), d = !1, re(m);
|
|
4553
4553
|
}
|
|
4554
4554
|
};
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4556
|
+
function Lo(e) {
|
|
4557
4557
|
let t, r;
|
|
4558
4558
|
return {
|
|
4559
4559
|
c() {
|
|
4560
|
-
t = S("div"), r = S("general-logout"),
|
|
4560
|
+
t = S("div"), r = S("general-logout"), w(
|
|
4561
4561
|
r,
|
|
4562
4562
|
"endpoint",
|
|
4563
4563
|
/*endpoint*/
|
|
4564
4564
|
e[1]
|
|
4565
|
-
),
|
|
4565
|
+
), w(
|
|
4566
4566
|
r,
|
|
4567
4567
|
"session",
|
|
4568
4568
|
/*session*/
|
|
4569
4569
|
e[0]
|
|
4570
|
-
),
|
|
4570
|
+
), w(r, "buttonlocation", "PlayerAccountMenu"), w(
|
|
4571
4571
|
r,
|
|
4572
4572
|
"clientstyling",
|
|
4573
4573
|
/*clientstyling*/
|
|
4574
4574
|
e[2]
|
|
4575
|
-
),
|
|
4575
|
+
), w(
|
|
4576
4576
|
r,
|
|
4577
4577
|
"clientstylingurl",
|
|
4578
4578
|
/*clientstylingurl*/
|
|
4579
4579
|
e[3]
|
|
4580
|
-
),
|
|
4580
|
+
), w(
|
|
4581
4581
|
r,
|
|
4582
4582
|
"mbsource",
|
|
4583
4583
|
/*mbsource*/
|
|
4584
4584
|
e[4]
|
|
4585
|
-
),
|
|
4585
|
+
), x(t, "class", "PlayerAccountLogOutArea");
|
|
4586
4586
|
},
|
|
4587
4587
|
m(n, i) {
|
|
4588
|
-
|
|
4588
|
+
D(n, t, i), y(t, r);
|
|
4589
4589
|
},
|
|
4590
4590
|
p(n, i) {
|
|
4591
4591
|
i[0] & /*endpoint*/
|
|
4592
|
-
2 &&
|
|
4592
|
+
2 && w(
|
|
4593
4593
|
r,
|
|
4594
4594
|
"endpoint",
|
|
4595
4595
|
/*endpoint*/
|
|
4596
4596
|
n[1]
|
|
4597
4597
|
), i[0] & /*session*/
|
|
4598
|
-
1 &&
|
|
4598
|
+
1 && w(
|
|
4599
4599
|
r,
|
|
4600
4600
|
"session",
|
|
4601
4601
|
/*session*/
|
|
4602
4602
|
n[0]
|
|
4603
4603
|
), i[0] & /*clientstyling*/
|
|
4604
|
-
4 &&
|
|
4604
|
+
4 && w(
|
|
4605
4605
|
r,
|
|
4606
4606
|
"clientstyling",
|
|
4607
4607
|
/*clientstyling*/
|
|
4608
4608
|
n[2]
|
|
4609
4609
|
), i[0] & /*clientstylingurl*/
|
|
4610
|
-
8 &&
|
|
4610
|
+
8 && w(
|
|
4611
4611
|
r,
|
|
4612
4612
|
"clientstylingurl",
|
|
4613
4613
|
/*clientstylingurl*/
|
|
4614
4614
|
n[3]
|
|
4615
4615
|
), i[0] & /*mbsource*/
|
|
4616
|
-
16 &&
|
|
4616
|
+
16 && w(
|
|
4617
4617
|
r,
|
|
4618
4618
|
"mbsource",
|
|
4619
4619
|
/*mbsource*/
|
|
@@ -4621,113 +4621,113 @@ function Bo(e) {
|
|
|
4621
4621
|
);
|
|
4622
4622
|
},
|
|
4623
4623
|
d(n) {
|
|
4624
|
-
n &&
|
|
4624
|
+
n && $(t);
|
|
4625
4625
|
}
|
|
4626
4626
|
};
|
|
4627
4627
|
}
|
|
4628
|
-
function
|
|
4628
|
+
function Yt(e) {
|
|
4629
4629
|
let t, r, n, i, o, s, a = (
|
|
4630
4630
|
/*menuItem*/
|
|
4631
|
-
e[
|
|
4631
|
+
e[45].label + ""
|
|
4632
4632
|
), l, u, c, f, h;
|
|
4633
4633
|
function d() {
|
|
4634
4634
|
return (
|
|
4635
4635
|
/*click_handler*/
|
|
4636
|
-
e[
|
|
4636
|
+
e[28](
|
|
4637
4637
|
/*menuItem*/
|
|
4638
|
-
e[
|
|
4638
|
+
e[45]
|
|
4639
4639
|
)
|
|
4640
4640
|
);
|
|
4641
4641
|
}
|
|
4642
4642
|
return {
|
|
4643
4643
|
c() {
|
|
4644
|
-
t = S("div"), r = S("p"), n = S("img"), o =
|
|
4645
|
-
(e[14] ? "PlayerAccountMenuItemIconMobile" : "")),
|
|
4646
|
-
e[
|
|
4644
|
+
t = S("div"), r = S("p"), n = S("img"), o = R(), s = S("span"), l = J(a), u = R(), x(n, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
4645
|
+
(e[14] ? "PlayerAccountMenuItemIconMobile" : "")), Pt(n.src, i = /*menuItem*/
|
|
4646
|
+
e[45].img) || x(n, "src", i), x(s, "class", "PlayerAccountMenuItemTitle"), x(r, "class", "PlayerAccountMenuItemWrapper"), x(t, "class", c = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
4647
4647
|
(e[9] === /*menuItem*/
|
|
4648
|
-
e[
|
|
4648
|
+
e[45].id && !/*isMobile*/
|
|
4649
4649
|
e[14] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
4650
4650
|
},
|
|
4651
4651
|
m(m, b) {
|
|
4652
|
-
|
|
4652
|
+
D(m, t, b), y(t, r), y(r, n), y(r, o), y(r, s), y(s, l), y(t, u), f || (h = Xe(t, "click", d), f = !0);
|
|
4653
4653
|
},
|
|
4654
4654
|
p(m, b) {
|
|
4655
4655
|
e = m, b[0] & /*menuItems*/
|
|
4656
|
-
256 && !
|
|
4657
|
-
e[
|
|
4656
|
+
256 && !Pt(n.src, i = /*menuItem*/
|
|
4657
|
+
e[45].img) && x(n, "src", i), b[0] & /*menuItems*/
|
|
4658
4658
|
256 && a !== (a = /*menuItem*/
|
|
4659
|
-
e[
|
|
4659
|
+
e[45].label + "") && we(l, a), b[0] & /*selectedItem, menuItems*/
|
|
4660
4660
|
768 && c !== (c = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
4661
4661
|
(e[9] === /*menuItem*/
|
|
4662
|
-
e[
|
|
4663
|
-
e[14] ? "PlayerAccountMenuActiveItemBox" : "")) &&
|
|
4662
|
+
e[45].id && !/*isMobile*/
|
|
4663
|
+
e[14] ? "PlayerAccountMenuActiveItemBox" : "")) && x(t, "class", c);
|
|
4664
4664
|
},
|
|
4665
4665
|
d(m) {
|
|
4666
|
-
m &&
|
|
4666
|
+
m && $(t), f = !1, h();
|
|
4667
4667
|
}
|
|
4668
4668
|
};
|
|
4669
4669
|
}
|
|
4670
|
-
function
|
|
4670
|
+
function No(e) {
|
|
4671
4671
|
let t, r;
|
|
4672
4672
|
return {
|
|
4673
4673
|
c() {
|
|
4674
|
-
t = S("div"), r = S("general-logout"),
|
|
4674
|
+
t = S("div"), r = S("general-logout"), w(
|
|
4675
4675
|
r,
|
|
4676
4676
|
"endpoint",
|
|
4677
4677
|
/*endpoint*/
|
|
4678
4678
|
e[1]
|
|
4679
|
-
),
|
|
4679
|
+
), w(
|
|
4680
4680
|
r,
|
|
4681
4681
|
"session",
|
|
4682
4682
|
/*session*/
|
|
4683
4683
|
e[0]
|
|
4684
|
-
),
|
|
4684
|
+
), w(r, "buttonlocation", "PlayerAccountMenu"), w(
|
|
4685
4685
|
r,
|
|
4686
4686
|
"clientstyling",
|
|
4687
4687
|
/*clientstyling*/
|
|
4688
4688
|
e[2]
|
|
4689
|
-
),
|
|
4689
|
+
), w(
|
|
4690
4690
|
r,
|
|
4691
4691
|
"clientstylingurl",
|
|
4692
4692
|
/*clientstylingurl*/
|
|
4693
4693
|
e[3]
|
|
4694
|
-
),
|
|
4694
|
+
), w(
|
|
4695
4695
|
r,
|
|
4696
4696
|
"mbsource",
|
|
4697
4697
|
/*mbsource*/
|
|
4698
4698
|
e[4]
|
|
4699
|
-
),
|
|
4699
|
+
), x(t, "class", "PlayerAccountLogOutArea");
|
|
4700
4700
|
},
|
|
4701
4701
|
m(n, i) {
|
|
4702
|
-
|
|
4702
|
+
D(n, t, i), y(t, r);
|
|
4703
4703
|
},
|
|
4704
4704
|
p(n, i) {
|
|
4705
4705
|
i[0] & /*endpoint*/
|
|
4706
|
-
2 &&
|
|
4706
|
+
2 && w(
|
|
4707
4707
|
r,
|
|
4708
4708
|
"endpoint",
|
|
4709
4709
|
/*endpoint*/
|
|
4710
4710
|
n[1]
|
|
4711
4711
|
), i[0] & /*session*/
|
|
4712
|
-
1 &&
|
|
4712
|
+
1 && w(
|
|
4713
4713
|
r,
|
|
4714
4714
|
"session",
|
|
4715
4715
|
/*session*/
|
|
4716
4716
|
n[0]
|
|
4717
4717
|
), i[0] & /*clientstyling*/
|
|
4718
|
-
4 &&
|
|
4718
|
+
4 && w(
|
|
4719
4719
|
r,
|
|
4720
4720
|
"clientstyling",
|
|
4721
4721
|
/*clientstyling*/
|
|
4722
4722
|
n[2]
|
|
4723
4723
|
), i[0] & /*clientstylingurl*/
|
|
4724
|
-
8 &&
|
|
4724
|
+
8 && w(
|
|
4725
4725
|
r,
|
|
4726
4726
|
"clientstylingurl",
|
|
4727
4727
|
/*clientstylingurl*/
|
|
4728
4728
|
n[3]
|
|
4729
4729
|
), i[0] & /*mbsource*/
|
|
4730
|
-
16 &&
|
|
4730
|
+
16 && w(
|
|
4731
4731
|
r,
|
|
4732
4732
|
"mbsource",
|
|
4733
4733
|
/*mbsource*/
|
|
@@ -4735,66 +4735,66 @@ function Io(e) {
|
|
|
4735
4735
|
);
|
|
4736
4736
|
},
|
|
4737
4737
|
d(n) {
|
|
4738
|
-
n &&
|
|
4738
|
+
n && $(t);
|
|
4739
4739
|
}
|
|
4740
4740
|
};
|
|
4741
4741
|
}
|
|
4742
|
-
function
|
|
4742
|
+
function Ro(e) {
|
|
4743
4743
|
let t;
|
|
4744
4744
|
return {
|
|
4745
4745
|
c() {
|
|
4746
|
-
t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',
|
|
4746
|
+
t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', x(t, "class", "PlayerAccountMenuCategoryWrapper");
|
|
4747
4747
|
},
|
|
4748
4748
|
m(r, n) {
|
|
4749
|
-
|
|
4749
|
+
D(r, t, n);
|
|
4750
4750
|
},
|
|
4751
4751
|
d(r) {
|
|
4752
|
-
r &&
|
|
4752
|
+
r && $(t);
|
|
4753
4753
|
}
|
|
4754
4754
|
};
|
|
4755
4755
|
}
|
|
4756
|
-
function
|
|
4756
|
+
function Fo(e) {
|
|
4757
4757
|
let t;
|
|
4758
4758
|
return {
|
|
4759
4759
|
c() {
|
|
4760
|
-
t = S("ui-skeleton"),
|
|
4760
|
+
t = S("ui-skeleton"), w(t, "structure", "circle"), w(t, "size", "20px");
|
|
4761
4761
|
},
|
|
4762
4762
|
m(r, n) {
|
|
4763
|
-
|
|
4763
|
+
D(r, t, n);
|
|
4764
4764
|
},
|
|
4765
4765
|
d(r) {
|
|
4766
|
-
r &&
|
|
4766
|
+
r && $(t);
|
|
4767
4767
|
}
|
|
4768
4768
|
};
|
|
4769
4769
|
}
|
|
4770
|
-
function
|
|
4770
|
+
function Kt(e) {
|
|
4771
4771
|
let t, r, n, i, o = !/*isMobile*/
|
|
4772
|
-
e[14] &&
|
|
4772
|
+
e[14] && Fo();
|
|
4773
4773
|
return {
|
|
4774
4774
|
c() {
|
|
4775
|
-
t = S("div"), o && o.c(), r =
|
|
4775
|
+
t = S("div"), o && o.c(), r = R(), n = S("ui-skeleton"), i = R(), w(n, "structure", "rectangle"), w(n, "width", "100%"), w(
|
|
4776
4776
|
n,
|
|
4777
4777
|
"height",
|
|
4778
4778
|
/*isMobile*/
|
|
4779
4779
|
e[14] ? "60px" : "20px"
|
|
4780
|
-
),
|
|
4780
|
+
), x(t, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
4781
4781
|
(e[14] ? "PlayerAccountItemWrapMobile" : ""));
|
|
4782
4782
|
},
|
|
4783
4783
|
m(s, a) {
|
|
4784
|
-
|
|
4784
|
+
D(s, t, a), o && o.m(t, null), y(t, r), y(t, n), y(t, i);
|
|
4785
4785
|
},
|
|
4786
|
-
p:
|
|
4786
|
+
p: U,
|
|
4787
4787
|
d(s) {
|
|
4788
|
-
s &&
|
|
4788
|
+
s && $(t), o && o.d();
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
}
|
|
4792
|
-
function
|
|
4792
|
+
function Uo(e) {
|
|
4793
4793
|
let t;
|
|
4794
4794
|
function r(o, s) {
|
|
4795
4795
|
return (
|
|
4796
4796
|
/*skeletonLoading*/
|
|
4797
|
-
o[7] ?
|
|
4797
|
+
o[7] ? Oo : Io
|
|
4798
4798
|
);
|
|
4799
4799
|
}
|
|
4800
4800
|
let n = r(e), i = n(e);
|
|
@@ -4803,36 +4803,43 @@ function Lo(e) {
|
|
|
4803
4803
|
t = S("div"), i.c();
|
|
4804
4804
|
},
|
|
4805
4805
|
m(o, s) {
|
|
4806
|
-
|
|
4806
|
+
D(o, t, s), i.m(t, null), e[29](t);
|
|
4807
4807
|
},
|
|
4808
4808
|
p(o, s) {
|
|
4809
4809
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4810
4810
|
},
|
|
4811
|
-
i:
|
|
4812
|
-
o:
|
|
4811
|
+
i: U,
|
|
4812
|
+
o: U,
|
|
4813
4813
|
d(o) {
|
|
4814
|
-
o &&
|
|
4814
|
+
o && $(t), i.d(), e[29](null);
|
|
4815
4815
|
}
|
|
4816
4816
|
};
|
|
4817
4817
|
}
|
|
4818
|
-
function
|
|
4818
|
+
function $o(e, t, r) {
|
|
4819
4819
|
let n;
|
|
4820
|
-
|
|
4821
|
-
let { endpoint: i = "" } = t, { cmsendpoint: o = "" } = t, { env: s = "" } = t, { session: a = "" } = t, { playerid: l = "" } = t, { lang: u = "en" } = t, { selecteditem: c = "" } = t, { userroles: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: m } = t, { translationurl: b = "" } = t, { activemenuitem: g = "" } = t, { showaliasasusername:
|
|
4820
|
+
Kr(e, wo, (p) => r(13, n = p));
|
|
4821
|
+
let { endpoint: i = "" } = t, { cmsendpoint: o = "" } = t, { env: s = "" } = t, { session: a = "" } = t, { playerid: l = "" } = t, { lang: u = "en" } = t, { selecteditem: c = "" } = t, { userroles: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: m } = t, { translationurl: b = "" } = t, { activemenuitem: g = "" } = t, { showaliasasusername: A = "false" } = t, { statementenabled: I } = t, v = !1, M = !1, P = !0, O, me, Le = [], Ne, mt = window.navigator.userAgent, Rr = zt(mt) !== "PC", dt = "", bt = "", Re = "";
|
|
4822
|
+
const Fr = [
|
|
4823
|
+
"/transaction-history",
|
|
4824
|
+
"/external-transactions-history",
|
|
4825
|
+
"/sport/betting-history",
|
|
4826
|
+
"/gaming-history",
|
|
4827
|
+
"/bonus-history"
|
|
4828
|
+
];
|
|
4822
4829
|
window.matchMedia("(min-width: 768px)");
|
|
4823
|
-
const
|
|
4824
|
-
fetch(b).then((
|
|
4825
|
-
Object.keys(
|
|
4826
|
-
|
|
4830
|
+
const Ur = () => {
|
|
4831
|
+
fetch(b).then((L) => L.json()).then((L) => {
|
|
4832
|
+
Object.keys(L).forEach((B) => {
|
|
4833
|
+
Zt(B, L[B]);
|
|
4827
4834
|
});
|
|
4828
|
-
}).catch((
|
|
4829
|
-
console.error(
|
|
4835
|
+
}).catch((L) => {
|
|
4836
|
+
console.error(L);
|
|
4830
4837
|
});
|
|
4831
4838
|
};
|
|
4832
|
-
Object.keys(
|
|
4833
|
-
|
|
4839
|
+
Object.keys(Qt).forEach((p) => {
|
|
4840
|
+
Zt(p, Qt[p]);
|
|
4834
4841
|
});
|
|
4835
|
-
const
|
|
4842
|
+
const gt = (p) => {
|
|
4836
4843
|
if (p.data)
|
|
4837
4844
|
switch (p.data.type) {
|
|
4838
4845
|
case "AccountMenuDetails":
|
|
@@ -4842,91 +4849,101 @@ function No(e, t, r) {
|
|
|
4842
4849
|
r(0, a = p.data.session);
|
|
4843
4850
|
break;
|
|
4844
4851
|
case "AliasUpdated":
|
|
4845
|
-
|
|
4852
|
+
A === "true" && p.data.alias && r(12, Re = p.data.alias);
|
|
4846
4853
|
break;
|
|
4847
4854
|
}
|
|
4848
|
-
},
|
|
4849
|
-
let p =
|
|
4855
|
+
}, $r = () => {
|
|
4856
|
+
let p = zt(mt);
|
|
4850
4857
|
if (p)
|
|
4851
4858
|
return p === "PC" ? "dk" : "mtWeb";
|
|
4852
|
-
},
|
|
4859
|
+
}, Dr = () => {
|
|
4853
4860
|
const p = new URL(`${o}/${u}/profile-menu?env=${s}`);
|
|
4854
|
-
p.searchParams.append("device",
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4861
|
+
p.searchParams.append("device", $r()), fetch(p.href).then((L) => L.json()).then((L) => {
|
|
4862
|
+
let B = [...L];
|
|
4863
|
+
if (I === "true") {
|
|
4864
|
+
B = B.filter((se) => !Fr.includes(se.path));
|
|
4865
|
+
const de = B.findIndex((se) => se.path === "/statement");
|
|
4866
|
+
if (de !== -1) {
|
|
4867
|
+
const [se] = B.splice(de, 1);
|
|
4868
|
+
B.splice(6, 0, se);
|
|
4869
|
+
}
|
|
4870
|
+
} else
|
|
4871
|
+
B = B.filter((de) => de.path !== "/statement");
|
|
4872
|
+
r(8, Le = B), vt();
|
|
4873
|
+
}).catch((L) => {
|
|
4874
|
+
console.error("Error getting menu items", L);
|
|
4858
4875
|
}).finally(() => {
|
|
4859
|
-
r(
|
|
4876
|
+
r(26, v = !0);
|
|
4860
4877
|
});
|
|
4861
|
-
},
|
|
4878
|
+
}, Gr = () => {
|
|
4862
4879
|
let p = new URL(`${i}/v1/player/${l}/profile`);
|
|
4863
4880
|
p.searchParams.append("userRoles", f);
|
|
4864
|
-
let
|
|
4881
|
+
let L = {
|
|
4865
4882
|
method: "GET",
|
|
4866
4883
|
headers: { "X-SessionID": a }
|
|
4867
4884
|
};
|
|
4868
|
-
fetch(p.href,
|
|
4869
|
-
(
|
|
4870
|
-
r(10,
|
|
4885
|
+
fetch(p.href, L).then((B) => B.json()).then(
|
|
4886
|
+
(B) => {
|
|
4887
|
+
r(10, dt = B.username), r(11, bt = B.email), A === "true" && r(12, Re = B.alias || "");
|
|
4871
4888
|
},
|
|
4872
|
-
(
|
|
4873
|
-
console.error(
|
|
4889
|
+
(B) => {
|
|
4890
|
+
console.error(B);
|
|
4874
4891
|
}
|
|
4875
4892
|
).finally(() => {
|
|
4876
|
-
r(
|
|
4893
|
+
r(27, M = !0);
|
|
4877
4894
|
});
|
|
4878
|
-
},
|
|
4879
|
-
window.postMessage({ type: "ChangeAccountPage", page: p }, window.location.href), r(9,
|
|
4880
|
-
},
|
|
4895
|
+
}, yt = (p) => {
|
|
4896
|
+
window.postMessage({ type: "ChangeAccountPage", page: p }, window.location.href), r(9, Ne = p.id);
|
|
4897
|
+
}, vt = () => {
|
|
4881
4898
|
var p;
|
|
4882
|
-
r(9,
|
|
4883
|
-
},
|
|
4899
|
+
r(9, Ne = (p = Le.find((L) => L.path.includes(g))) == null ? void 0 : p.id);
|
|
4900
|
+
}, kr = () => {
|
|
4884
4901
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
4885
|
-
},
|
|
4886
|
-
|
|
4887
|
-
},
|
|
4888
|
-
|
|
4902
|
+
}, jr = () => {
|
|
4903
|
+
Ao(u);
|
|
4904
|
+
}, Vr = () => {
|
|
4905
|
+
Gr();
|
|
4889
4906
|
};
|
|
4890
|
-
|
|
4891
|
-
window.removeEventListener("message",
|
|
4907
|
+
an(() => (window.addEventListener("message", gt, !1), () => {
|
|
4908
|
+
window.removeEventListener("message", gt);
|
|
4892
4909
|
}));
|
|
4893
|
-
const
|
|
4894
|
-
function
|
|
4895
|
-
|
|
4896
|
-
|
|
4910
|
+
const Wr = (p) => yt(p);
|
|
4911
|
+
function Xr(p) {
|
|
4912
|
+
ze[p ? "unshift" : "push"](() => {
|
|
4913
|
+
O = p, r(6, O);
|
|
4897
4914
|
});
|
|
4898
4915
|
}
|
|
4899
4916
|
return e.$$set = (p) => {
|
|
4900
|
-
"endpoint" in p && r(1, i = p.endpoint), "cmsendpoint" in p && r(17, o = p.cmsendpoint), "env" in p && r(18, s = p.env), "session" in p && r(0, a = p.session), "playerid" in p && r(19, l = p.playerid), "lang" in p && r(20, u = p.lang), "selecteditem" in p && r(21, c = p.selecteditem), "userroles" in p && r(22, f = p.userroles), "clientstyling" in p && r(2, h = p.clientstyling), "clientstylingurl" in p && r(3, d = p.clientstylingurl), "mbsource" in p && r(4, m = p.mbsource), "translationurl" in p && r(23, b = p.translationurl), "activemenuitem" in p && r(24, g = p.activemenuitem), "showaliasasusername" in p && r(5,
|
|
4917
|
+
"endpoint" in p && r(1, i = p.endpoint), "cmsendpoint" in p && r(17, o = p.cmsendpoint), "env" in p && r(18, s = p.env), "session" in p && r(0, a = p.session), "playerid" in p && r(19, l = p.playerid), "lang" in p && r(20, u = p.lang), "selecteditem" in p && r(21, c = p.selecteditem), "userroles" in p && r(22, f = p.userroles), "clientstyling" in p && r(2, h = p.clientstyling), "clientstylingurl" in p && r(3, d = p.clientstylingurl), "mbsource" in p && r(4, m = p.mbsource), "translationurl" in p && r(23, b = p.translationurl), "activemenuitem" in p && r(24, g = p.activemenuitem), "showaliasasusername" in p && r(5, A = p.showaliasasusername), "statementenabled" in p && r(25, I = p.statementenabled);
|
|
4901
4918
|
}, e.$$.update = () => {
|
|
4902
4919
|
e.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
4903
|
-
|
|
4904
|
-
1048576 && u &&
|
|
4905
|
-
1572867 && i && a && l && u &&
|
|
4906
|
-
1441792 && o && u && s &&
|
|
4907
|
-
16777216 && g &&
|
|
4908
|
-
68 && h &&
|
|
4909
|
-
72 && d &&
|
|
4910
|
-
80 && m &&
|
|
4911
|
-
8388608 && b &&
|
|
4920
|
+
201326592 && r(7, P = !v || !M), e.$$.dirty[0] & /*lang*/
|
|
4921
|
+
1048576 && u && jr(), e.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
4922
|
+
1572867 && i && a && l && u && Vr(), e.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
4923
|
+
1441792 && o && u && s && Dr(), e.$$.dirty[0] & /*activemenuitem*/
|
|
4924
|
+
16777216 && g && vt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4925
|
+
68 && h && O && Po(O, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4926
|
+
72 && d && O && So(O, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4927
|
+
80 && m && O && To(O, `${m}.Style`, me), e.$$.dirty[0] & /*translationurl*/
|
|
4928
|
+
8388608 && b && Ur();
|
|
4912
4929
|
}, [
|
|
4913
4930
|
a,
|
|
4914
4931
|
i,
|
|
4915
4932
|
h,
|
|
4916
4933
|
d,
|
|
4917
4934
|
m,
|
|
4935
|
+
A,
|
|
4936
|
+
O,
|
|
4918
4937
|
P,
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
W,
|
|
4922
|
-
Oe,
|
|
4923
|
-
ft,
|
|
4924
|
-
pt,
|
|
4925
|
-
Ce,
|
|
4926
|
-
n,
|
|
4927
|
-
Cr,
|
|
4938
|
+
Le,
|
|
4939
|
+
Ne,
|
|
4928
4940
|
dt,
|
|
4929
|
-
|
|
4941
|
+
bt,
|
|
4942
|
+
Re,
|
|
4943
|
+
n,
|
|
4944
|
+
Rr,
|
|
4945
|
+
yt,
|
|
4946
|
+
kr,
|
|
4930
4947
|
o,
|
|
4931
4948
|
s,
|
|
4932
4949
|
l,
|
|
@@ -4935,20 +4952,21 @@ function No(e, t, r) {
|
|
|
4935
4952
|
f,
|
|
4936
4953
|
b,
|
|
4937
4954
|
g,
|
|
4938
|
-
|
|
4955
|
+
I,
|
|
4939
4956
|
v,
|
|
4940
|
-
|
|
4941
|
-
|
|
4957
|
+
M,
|
|
4958
|
+
Wr,
|
|
4959
|
+
Xr
|
|
4942
4960
|
];
|
|
4943
4961
|
}
|
|
4944
|
-
class
|
|
4962
|
+
class Nr extends vn {
|
|
4945
4963
|
constructor(t) {
|
|
4946
|
-
super(),
|
|
4964
|
+
super(), gn(
|
|
4947
4965
|
this,
|
|
4948
4966
|
t,
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4967
|
+
$o,
|
|
4968
|
+
Uo,
|
|
4969
|
+
tr,
|
|
4952
4970
|
{
|
|
4953
4971
|
endpoint: 1,
|
|
4954
4972
|
cmsendpoint: 17,
|
|
@@ -4963,9 +4981,10 @@ class Or extends dn {
|
|
|
4963
4981
|
mbsource: 4,
|
|
4964
4982
|
translationurl: 23,
|
|
4965
4983
|
activemenuitem: 24,
|
|
4966
|
-
showaliasasusername: 5
|
|
4984
|
+
showaliasasusername: 5,
|
|
4985
|
+
statementenabled: 25
|
|
4967
4986
|
},
|
|
4968
|
-
|
|
4987
|
+
Bo,
|
|
4969
4988
|
[-1, -1]
|
|
4970
4989
|
);
|
|
4971
4990
|
}
|
|
@@ -4973,120 +4992,126 @@ class Or extends dn {
|
|
|
4973
4992
|
return this.$$.ctx[1];
|
|
4974
4993
|
}
|
|
4975
4994
|
set endpoint(t) {
|
|
4976
|
-
this.$$set({ endpoint: t }),
|
|
4995
|
+
this.$$set({ endpoint: t }), C();
|
|
4977
4996
|
}
|
|
4978
4997
|
get cmsendpoint() {
|
|
4979
4998
|
return this.$$.ctx[17];
|
|
4980
4999
|
}
|
|
4981
5000
|
set cmsendpoint(t) {
|
|
4982
|
-
this.$$set({ cmsendpoint: t }),
|
|
5001
|
+
this.$$set({ cmsendpoint: t }), C();
|
|
4983
5002
|
}
|
|
4984
5003
|
get env() {
|
|
4985
5004
|
return this.$$.ctx[18];
|
|
4986
5005
|
}
|
|
4987
5006
|
set env(t) {
|
|
4988
|
-
this.$$set({ env: t }),
|
|
5007
|
+
this.$$set({ env: t }), C();
|
|
4989
5008
|
}
|
|
4990
5009
|
get session() {
|
|
4991
5010
|
return this.$$.ctx[0];
|
|
4992
5011
|
}
|
|
4993
5012
|
set session(t) {
|
|
4994
|
-
this.$$set({ session: t }),
|
|
5013
|
+
this.$$set({ session: t }), C();
|
|
4995
5014
|
}
|
|
4996
5015
|
get playerid() {
|
|
4997
5016
|
return this.$$.ctx[19];
|
|
4998
5017
|
}
|
|
4999
5018
|
set playerid(t) {
|
|
5000
|
-
this.$$set({ playerid: t }),
|
|
5019
|
+
this.$$set({ playerid: t }), C();
|
|
5001
5020
|
}
|
|
5002
5021
|
get lang() {
|
|
5003
5022
|
return this.$$.ctx[20];
|
|
5004
5023
|
}
|
|
5005
5024
|
set lang(t) {
|
|
5006
|
-
this.$$set({ lang: t }),
|
|
5025
|
+
this.$$set({ lang: t }), C();
|
|
5007
5026
|
}
|
|
5008
5027
|
get selecteditem() {
|
|
5009
5028
|
return this.$$.ctx[21];
|
|
5010
5029
|
}
|
|
5011
5030
|
set selecteditem(t) {
|
|
5012
|
-
this.$$set({ selecteditem: t }),
|
|
5031
|
+
this.$$set({ selecteditem: t }), C();
|
|
5013
5032
|
}
|
|
5014
5033
|
get userroles() {
|
|
5015
5034
|
return this.$$.ctx[22];
|
|
5016
5035
|
}
|
|
5017
5036
|
set userroles(t) {
|
|
5018
|
-
this.$$set({ userroles: t }),
|
|
5037
|
+
this.$$set({ userroles: t }), C();
|
|
5019
5038
|
}
|
|
5020
5039
|
get clientstyling() {
|
|
5021
5040
|
return this.$$.ctx[2];
|
|
5022
5041
|
}
|
|
5023
5042
|
set clientstyling(t) {
|
|
5024
|
-
this.$$set({ clientstyling: t }),
|
|
5043
|
+
this.$$set({ clientstyling: t }), C();
|
|
5025
5044
|
}
|
|
5026
5045
|
get clientstylingurl() {
|
|
5027
5046
|
return this.$$.ctx[3];
|
|
5028
5047
|
}
|
|
5029
5048
|
set clientstylingurl(t) {
|
|
5030
|
-
this.$$set({ clientstylingurl: t }),
|
|
5049
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5031
5050
|
}
|
|
5032
5051
|
get mbsource() {
|
|
5033
5052
|
return this.$$.ctx[4];
|
|
5034
5053
|
}
|
|
5035
5054
|
set mbsource(t) {
|
|
5036
|
-
this.$$set({ mbsource: t }),
|
|
5055
|
+
this.$$set({ mbsource: t }), C();
|
|
5037
5056
|
}
|
|
5038
5057
|
get translationurl() {
|
|
5039
5058
|
return this.$$.ctx[23];
|
|
5040
5059
|
}
|
|
5041
5060
|
set translationurl(t) {
|
|
5042
|
-
this.$$set({ translationurl: t }),
|
|
5061
|
+
this.$$set({ translationurl: t }), C();
|
|
5043
5062
|
}
|
|
5044
5063
|
get activemenuitem() {
|
|
5045
5064
|
return this.$$.ctx[24];
|
|
5046
5065
|
}
|
|
5047
5066
|
set activemenuitem(t) {
|
|
5048
|
-
this.$$set({ activemenuitem: t }),
|
|
5067
|
+
this.$$set({ activemenuitem: t }), C();
|
|
5049
5068
|
}
|
|
5050
5069
|
get showaliasasusername() {
|
|
5051
5070
|
return this.$$.ctx[5];
|
|
5052
5071
|
}
|
|
5053
5072
|
set showaliasasusername(t) {
|
|
5054
|
-
this.$$set({ showaliasasusername: t }),
|
|
5073
|
+
this.$$set({ showaliasasusername: t }), C();
|
|
5074
|
+
}
|
|
5075
|
+
get statementenabled() {
|
|
5076
|
+
return this.$$.ctx[25];
|
|
5077
|
+
}
|
|
5078
|
+
set statementenabled(t) {
|
|
5079
|
+
this.$$set({ statementenabled: t }), C();
|
|
5055
5080
|
}
|
|
5056
5081
|
}
|
|
5057
|
-
|
|
5058
|
-
const
|
|
5082
|
+
yn(Nr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {}, showaliasasusername: {}, statementenabled: {} }, [], [], !0);
|
|
5083
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5059
5084
|
__proto__: null,
|
|
5060
|
-
default:
|
|
5085
|
+
default: Nr
|
|
5061
5086
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5062
5087
|
export {
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5088
|
+
ie as $,
|
|
5089
|
+
jo as P,
|
|
5090
|
+
vn as S,
|
|
5091
|
+
Br as a,
|
|
5092
|
+
en as b,
|
|
5093
|
+
D as c,
|
|
5094
|
+
$ as d,
|
|
5070
5095
|
S as e,
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5096
|
+
C as f,
|
|
5097
|
+
Kr as g,
|
|
5098
|
+
zt as h,
|
|
5099
|
+
gn as i,
|
|
5100
|
+
ze as j,
|
|
5076
5101
|
y as k,
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5102
|
+
Xe as l,
|
|
5103
|
+
W as m,
|
|
5104
|
+
U as n,
|
|
5105
|
+
an as o,
|
|
5106
|
+
R as p,
|
|
5107
|
+
x as q,
|
|
5108
|
+
ko as r,
|
|
5109
|
+
tr as s,
|
|
5110
|
+
J as t,
|
|
5111
|
+
we as u,
|
|
5112
|
+
Po as v,
|
|
5113
|
+
So as w,
|
|
5114
|
+
To as x,
|
|
5115
|
+
yn as y,
|
|
5116
|
+
wo as z
|
|
5092
5117
|
};
|