@everymatrix/player-account-notifications 1.90.2 → 1.90.3
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/{PlayerAccountNotifications-8GWdOXFY.cjs → PlayerAccountNotifications-B5kQgl1v.cjs} +4 -4
- package/components/{PlayerAccountNotifications-CFTTArwo.js → PlayerAccountNotifications-C96mhW4L.js} +12 -12
- package/components/{PlayerAccountNotifications-COZqyM-y.js → PlayerAccountNotifications-CUDjxi0u.js} +417 -416
- package/es2015/player-account-notifications.cjs +1 -1
- package/es2015/player-account-notifications.js +1 -1
- package/esnext/player-account-notifications.js +1 -1
- package/package.json +1 -1
package/components/{PlayerAccountNotifications-COZqyM-y.js → PlayerAccountNotifications-CUDjxi0u.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Pe = (e, t, r) => t in e ?
|
|
1
|
+
var vr = Object.defineProperty, _r = Object.defineProperties;
|
|
2
|
+
var xr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var Er = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Pe = (e, t, r) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Er.call(t, r) && Pe(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
Sr.call(t, r) && Pe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, at = (e, t) => _r(e, xr(t));
|
|
13
13
|
var A = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -30,29 +30,29 @@ var at = (e, t, r) => new Promise((n, i) => {
|
|
|
30
30
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
function T() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ut(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ht() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
39
|
function oe(e) {
|
|
40
|
-
e.forEach(
|
|
40
|
+
e.forEach(Ut);
|
|
41
41
|
}
|
|
42
42
|
function tt(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Dt(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let le;
|
|
49
|
-
function
|
|
49
|
+
function lt(e, t) {
|
|
50
50
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function wr(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Tr(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -64,14 +64,14 @@ function wr(e, ...t) {
|
|
|
64
64
|
function P(e, t) {
|
|
65
65
|
e.appendChild(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const n =
|
|
67
|
+
function Hr(e, t, r) {
|
|
68
|
+
const n = Ar(e);
|
|
69
69
|
if (!n.getElementById(t)) {
|
|
70
70
|
const i = w("style");
|
|
71
|
-
i.id = t, i.textContent = r,
|
|
71
|
+
i.id = t, i.textContent = r, Pr(n, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Ar(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return document;
|
|
77
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,7 +81,7 @@ function Hr(e) {
|
|
|
81
81
|
t
|
|
82
82
|
) : e.ownerDocument;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Pr(e, t) {
|
|
85
85
|
return P(
|
|
86
86
|
/** @type {Document} */
|
|
87
87
|
e.head || e,
|
|
@@ -94,18 +94,18 @@ function R(e, t, r) {
|
|
|
94
94
|
function L(e) {
|
|
95
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Gt(e, t) {
|
|
98
98
|
for (let r = 0; r < e.length; r += 1)
|
|
99
99
|
e[r] && e[r].d(t);
|
|
100
100
|
}
|
|
101
101
|
function w(e) {
|
|
102
102
|
return document.createElement(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Ft(e) {
|
|
105
105
|
return document.createTextNode(e);
|
|
106
106
|
}
|
|
107
107
|
function pe() {
|
|
108
|
-
return
|
|
108
|
+
return Ft(" ");
|
|
109
109
|
}
|
|
110
110
|
function x(e, t, r) {
|
|
111
111
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
@@ -114,17 +114,17 @@ function W(e, t, r) {
|
|
|
114
114
|
const n = t.toLowerCase();
|
|
115
115
|
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);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Br(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Or(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function ct(e, t, r, n) {
|
|
125
125
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Nr(e) {
|
|
128
128
|
const t = {};
|
|
129
129
|
return e.childNodes.forEach(
|
|
130
130
|
/** @param {Element} node */
|
|
@@ -137,20 +137,20 @@ let re;
|
|
|
137
137
|
function te(e) {
|
|
138
138
|
re = e;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Ir() {
|
|
141
141
|
if (!re)
|
|
142
142
|
throw new Error("Function called outside component initialization");
|
|
143
143
|
return re;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
145
|
+
function Cr(e) {
|
|
146
|
+
Ir().$$.on_mount.push(e);
|
|
147
147
|
}
|
|
148
148
|
const V = [], Re = [];
|
|
149
149
|
let z = [];
|
|
150
|
-
const
|
|
150
|
+
const ft = [], Lr = /* @__PURE__ */ Promise.resolve();
|
|
151
151
|
let Ue = !1;
|
|
152
|
-
function
|
|
153
|
-
Ue || (Ue = !0,
|
|
152
|
+
function Mr() {
|
|
153
|
+
Ue || (Ue = !0, Lr.then(O));
|
|
154
154
|
}
|
|
155
155
|
function De(e) {
|
|
156
156
|
z.push(e);
|
|
@@ -165,7 +165,7 @@ function O() {
|
|
|
165
165
|
try {
|
|
166
166
|
for (; j < V.length; ) {
|
|
167
167
|
const t = V[j];
|
|
168
|
-
j++, te(t),
|
|
168
|
+
j++, te(t), $r(t.$$);
|
|
169
169
|
}
|
|
170
170
|
} catch (t) {
|
|
171
171
|
throw V.length = 0, j = 0, t;
|
|
@@ -178,43 +178,43 @@ function O() {
|
|
|
178
178
|
}
|
|
179
179
|
z.length = 0;
|
|
180
180
|
} while (V.length);
|
|
181
|
-
for (;
|
|
182
|
-
|
|
181
|
+
for (; ft.length; )
|
|
182
|
+
ft.pop()();
|
|
183
183
|
Ue = !1, Be.clear(), te(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function $r(e) {
|
|
186
186
|
if (e.fragment !== null) {
|
|
187
187
|
e.update(), oe(e.before_update);
|
|
188
188
|
const t = e.dirty;
|
|
189
189
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Rr(e) {
|
|
193
193
|
const t = [], r = [];
|
|
194
194
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
function
|
|
198
|
-
e && e.i && (
|
|
196
|
+
const Ur = /* @__PURE__ */ new Set();
|
|
197
|
+
function Dr(e, t) {
|
|
198
|
+
e && e.i && (Ur.delete(e), e.i(t));
|
|
199
199
|
}
|
|
200
200
|
function ye(e) {
|
|
201
201
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Gr(e, t, r) {
|
|
204
204
|
const { fragment: n, after_update: i } = e.$$;
|
|
205
205
|
n && n.m(t, r), De(() => {
|
|
206
|
-
const o = e.$$.on_mount.map(
|
|
206
|
+
const o = e.$$.on_mount.map(Ut).filter(tt);
|
|
207
207
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
|
|
208
208
|
}), i.forEach(De);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Fr(e, t) {
|
|
211
211
|
const r = e.$$;
|
|
212
|
-
r.fragment !== null && (
|
|
212
|
+
r.fragment !== null && (Rr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
214
|
+
function jr(e, t) {
|
|
215
|
+
e.$$.dirty[0] === -1 && (V.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function kr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
218
218
|
const h = re;
|
|
219
219
|
te(e);
|
|
220
220
|
const u = e.$$ = {
|
|
@@ -224,7 +224,7 @@ function jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
224
224
|
props: o,
|
|
225
225
|
update: T,
|
|
226
226
|
not_equal: i,
|
|
227
|
-
bound:
|
|
227
|
+
bound: ht(),
|
|
228
228
|
// lifecycle
|
|
229
229
|
on_mount: [],
|
|
230
230
|
on_destroy: [],
|
|
@@ -233,7 +233,7 @@ function jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
233
233
|
after_update: [],
|
|
234
234
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
235
235
|
// everything else
|
|
236
|
-
callbacks:
|
|
236
|
+
callbacks: ht(),
|
|
237
237
|
dirty: a,
|
|
238
238
|
skip_bound: !1,
|
|
239
239
|
root: t.target || h.$$.root
|
|
@@ -242,19 +242,19 @@ function jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
242
242
|
let l = !1;
|
|
243
243
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
244
244
|
const p = m.length ? m[0] : f;
|
|
245
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l &&
|
|
245
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && jr(e, c)), f;
|
|
246
246
|
}) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
247
247
|
if (t.hydrate) {
|
|
248
|
-
const c =
|
|
248
|
+
const c = Br(t.target);
|
|
249
249
|
u.fragment && u.fragment.l(c), c.forEach(L);
|
|
250
250
|
} else
|
|
251
251
|
u.fragment && u.fragment.c();
|
|
252
|
-
t.intro &&
|
|
252
|
+
t.intro && Dr(e.$$.fragment), Gr(e, t.target, t.anchor), O();
|
|
253
253
|
}
|
|
254
254
|
te(h);
|
|
255
255
|
}
|
|
256
|
-
let
|
|
257
|
-
typeof HTMLElement == "function" && (
|
|
256
|
+
let jt;
|
|
257
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
258
258
|
constructor(t, r, n) {
|
|
259
259
|
super();
|
|
260
260
|
/** The Svelte component constructor */
|
|
@@ -291,7 +291,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
connectedCallback() {
|
|
294
|
-
return
|
|
294
|
+
return ut(this, null, function* () {
|
|
295
295
|
if (this.$$cn = !0, !this.$$c) {
|
|
296
296
|
let t = function(o) {
|
|
297
297
|
return () => {
|
|
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
315
315
|
};
|
|
316
316
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
317
317
|
return;
|
|
318
|
-
const r = {}, n =
|
|
318
|
+
const r = {}, n = Nr(this);
|
|
319
319
|
for (const o of this.$$s)
|
|
320
320
|
o in n && (r[o] = [t(o)]);
|
|
321
321
|
for (const o of this.attributes) {
|
|
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
326
326
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
327
327
|
this.$$c = new this.$$ctor({
|
|
328
328
|
target: this.shadowRoot || this,
|
|
329
|
-
props: st(
|
|
329
|
+
props: at(st({}, this.$$d), {
|
|
330
330
|
$$slots: r,
|
|
331
331
|
$$scope: {
|
|
332
332
|
ctx: []
|
|
@@ -404,8 +404,8 @@ function de(e, t, r, n) {
|
|
|
404
404
|
return t;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
let s = class extends
|
|
407
|
+
function Vr(e, t, r, n, i, o) {
|
|
408
|
+
let s = class extends jt {
|
|
409
409
|
constructor() {
|
|
410
410
|
super(e, r, i), this.$$p_d = t;
|
|
411
411
|
}
|
|
@@ -435,7 +435,7 @@ function kr(e, t, r, n, i, o) {
|
|
|
435
435
|
}), e.element = /** @type {any} */
|
|
436
436
|
s, s;
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class Xr {
|
|
439
439
|
constructor() {
|
|
440
440
|
/**
|
|
441
441
|
* ### PRIVATE API
|
|
@@ -456,7 +456,7 @@ class Vr {
|
|
|
456
456
|
}
|
|
457
457
|
/** @returns {void} */
|
|
458
458
|
$destroy() {
|
|
459
|
-
|
|
459
|
+
Fr(this, 1), this.$destroy = T;
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
462
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -478,11 +478,11 @@ class Vr {
|
|
|
478
478
|
* @returns {void}
|
|
479
479
|
*/
|
|
480
480
|
$set(t) {
|
|
481
|
-
this.$$set && !
|
|
481
|
+
this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
const
|
|
485
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
484
|
+
const Wr = "4";
|
|
485
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
|
|
486
486
|
/*! *****************************************************************************
|
|
487
487
|
Copyright (c) Microsoft Corporation.
|
|
488
488
|
|
|
@@ -555,13 +555,13 @@ function ke(e, t, r) {
|
|
|
555
555
|
function C(e) {
|
|
556
556
|
return typeof e == "function";
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function kt(e) {
|
|
559
559
|
var t = function(n) {
|
|
560
560
|
Error.call(n), n.stack = new Error().stack;
|
|
561
561
|
}, r = e(t);
|
|
562
562
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
563
563
|
}
|
|
564
|
-
var Oe =
|
|
564
|
+
var Oe = kt(function(e) {
|
|
565
565
|
return function(r) {
|
|
566
566
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
567
567
|
` + r.map(function(n, i) {
|
|
@@ -618,7 +618,7 @@ var Ee = function() {
|
|
|
618
618
|
for (var f = Fe(c), m = f.next(); !m.done; m = f.next()) {
|
|
619
619
|
var p = m.value;
|
|
620
620
|
try {
|
|
621
|
-
|
|
621
|
+
pt(p);
|
|
622
622
|
} catch (d) {
|
|
623
623
|
o = o != null ? o : [], d instanceof Oe ? o = ke(ke([], je(o)), je(d.errors)) : o.push(d);
|
|
624
624
|
}
|
|
@@ -641,7 +641,7 @@ var Ee = function() {
|
|
|
641
641
|
var r;
|
|
642
642
|
if (t && t !== this)
|
|
643
643
|
if (this.closed)
|
|
644
|
-
|
|
644
|
+
pt(t);
|
|
645
645
|
else {
|
|
646
646
|
if (t instanceof e) {
|
|
647
647
|
if (t.closed || t._hasParent(this))
|
|
@@ -666,16 +666,16 @@ var Ee = function() {
|
|
|
666
666
|
var t = new e();
|
|
667
667
|
return t.closed = !0, t;
|
|
668
668
|
}(), e;
|
|
669
|
-
}(),
|
|
670
|
-
function
|
|
669
|
+
}(), Vt = Ee.EMPTY;
|
|
670
|
+
function Xt(e) {
|
|
671
671
|
return e instanceof Ee || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function pt(e) {
|
|
674
674
|
C(e) ? e() : e.unsubscribe();
|
|
675
675
|
}
|
|
676
|
-
var
|
|
676
|
+
var zr = {
|
|
677
677
|
Promise: void 0
|
|
678
|
-
},
|
|
678
|
+
}, Zr = {
|
|
679
679
|
setTimeout: function(e, t) {
|
|
680
680
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
681
681
|
r[n - 2] = arguments[n];
|
|
@@ -686,21 +686,21 @@ var Wr = {
|
|
|
686
686
|
},
|
|
687
687
|
delegate: void 0
|
|
688
688
|
};
|
|
689
|
-
function
|
|
690
|
-
|
|
689
|
+
function Qr(e) {
|
|
690
|
+
Zr.setTimeout(function() {
|
|
691
691
|
throw e;
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function dt() {
|
|
695
695
|
}
|
|
696
696
|
function me(e) {
|
|
697
697
|
e();
|
|
698
698
|
}
|
|
699
|
-
var
|
|
699
|
+
var Wt = function(e) {
|
|
700
700
|
se(t, e);
|
|
701
701
|
function t(r) {
|
|
702
702
|
var n = e.call(this) || this;
|
|
703
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
703
|
+
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = qr, n;
|
|
704
704
|
}
|
|
705
705
|
return t.create = function(r, n, i) {
|
|
706
706
|
return new Xe(r, n, i);
|
|
@@ -727,7 +727,7 @@ var Xt = function(e) {
|
|
|
727
727
|
this.unsubscribe();
|
|
728
728
|
}
|
|
729
729
|
}, t;
|
|
730
|
-
}(Ee),
|
|
730
|
+
}(Ee), Jr = function() {
|
|
731
731
|
function e(t) {
|
|
732
732
|
this.partialObserver = t;
|
|
733
733
|
}
|
|
@@ -766,35 +766,35 @@ var Xt = function(e) {
|
|
|
766
766
|
next: r != null ? r : void 0,
|
|
767
767
|
error: n != null ? n : void 0,
|
|
768
768
|
complete: i != null ? i : void 0
|
|
769
|
-
} : s = r, o.destination = new
|
|
769
|
+
} : s = r, o.destination = new Jr(s), o;
|
|
770
770
|
}
|
|
771
771
|
return t;
|
|
772
|
-
}(
|
|
772
|
+
}(Wt);
|
|
773
773
|
function ce(e) {
|
|
774
|
-
|
|
774
|
+
Qr(e);
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function Yr(e) {
|
|
777
777
|
throw e;
|
|
778
778
|
}
|
|
779
|
-
var
|
|
779
|
+
var qr = {
|
|
780
780
|
closed: !0,
|
|
781
|
-
next:
|
|
782
|
-
error:
|
|
783
|
-
complete:
|
|
784
|
-
},
|
|
781
|
+
next: dt,
|
|
782
|
+
error: Yr,
|
|
783
|
+
complete: dt
|
|
784
|
+
}, Kr = function() {
|
|
785
785
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
786
786
|
}();
|
|
787
|
-
function
|
|
787
|
+
function en(e) {
|
|
788
788
|
return e;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
791
|
-
return e.length === 0 ?
|
|
790
|
+
function tn(e) {
|
|
791
|
+
return e.length === 0 ? en : e.length === 1 ? e[0] : function(r) {
|
|
792
792
|
return e.reduce(function(n, i) {
|
|
793
793
|
return i(n);
|
|
794
794
|
}, r);
|
|
795
795
|
};
|
|
796
796
|
}
|
|
797
|
-
var
|
|
797
|
+
var mt = function() {
|
|
798
798
|
function e(t) {
|
|
799
799
|
t && (this._subscribe = t);
|
|
800
800
|
}
|
|
@@ -802,7 +802,7 @@ var dt = function() {
|
|
|
802
802
|
var r = new e();
|
|
803
803
|
return r.source = this, r.operator = t, r;
|
|
804
804
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
805
|
-
var i = this, o =
|
|
805
|
+
var i = this, o = nn(t) ? t : new Xe(t, r, n);
|
|
806
806
|
return me(function() {
|
|
807
807
|
var s = i, a = s.operator, h = s.source;
|
|
808
808
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -815,7 +815,7 @@ var dt = function() {
|
|
|
815
815
|
}
|
|
816
816
|
}, e.prototype.forEach = function(t, r) {
|
|
817
817
|
var n = this;
|
|
818
|
-
return r =
|
|
818
|
+
return r = bt(r), new r(function(i, o) {
|
|
819
819
|
var s = new Xe({
|
|
820
820
|
next: function(a) {
|
|
821
821
|
try {
|
|
@@ -832,15 +832,15 @@ var dt = function() {
|
|
|
832
832
|
}, e.prototype._subscribe = function(t) {
|
|
833
833
|
var r;
|
|
834
834
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
835
|
-
}, e.prototype[
|
|
835
|
+
}, e.prototype[Kr] = function() {
|
|
836
836
|
return this;
|
|
837
837
|
}, e.prototype.pipe = function() {
|
|
838
838
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
839
839
|
t[r] = arguments[r];
|
|
840
|
-
return
|
|
840
|
+
return tn(t)(this);
|
|
841
841
|
}, e.prototype.toPromise = function(t) {
|
|
842
842
|
var r = this;
|
|
843
|
-
return t =
|
|
843
|
+
return t = bt(t), new t(function(n, i) {
|
|
844
844
|
var o;
|
|
845
845
|
r.subscribe(function(s) {
|
|
846
846
|
return o = s;
|
|
@@ -854,32 +854,32 @@ var dt = function() {
|
|
|
854
854
|
return new e(t);
|
|
855
855
|
}, e;
|
|
856
856
|
}();
|
|
857
|
-
function
|
|
857
|
+
function bt(e) {
|
|
858
858
|
var t;
|
|
859
|
-
return (t = e != null ? e :
|
|
859
|
+
return (t = e != null ? e : zr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function rn(e) {
|
|
862
862
|
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
863
863
|
}
|
|
864
|
-
function
|
|
865
|
-
return e && e instanceof
|
|
864
|
+
function nn(e) {
|
|
865
|
+
return e && e instanceof Wt || rn(e) && Xt(e);
|
|
866
866
|
}
|
|
867
|
-
var
|
|
867
|
+
var on = kt(function(e) {
|
|
868
868
|
return function() {
|
|
869
869
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
870
870
|
};
|
|
871
|
-
}),
|
|
871
|
+
}), zt = function(e) {
|
|
872
872
|
se(t, e);
|
|
873
873
|
function t() {
|
|
874
874
|
var r = e.call(this) || this;
|
|
875
875
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
876
876
|
}
|
|
877
877
|
return t.prototype.lift = function(r) {
|
|
878
|
-
var n = new
|
|
878
|
+
var n = new gt(this, this);
|
|
879
879
|
return n.operator = r, n;
|
|
880
880
|
}, t.prototype._throwIfClosed = function() {
|
|
881
881
|
if (this.closed)
|
|
882
|
-
throw new
|
|
882
|
+
throw new on();
|
|
883
883
|
}, t.prototype.next = function(r) {
|
|
884
884
|
var n = this;
|
|
885
885
|
me(function() {
|
|
@@ -936,19 +936,19 @@ var nn = jt(function(e) {
|
|
|
936
936
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
937
937
|
}, t.prototype._innerSubscribe = function(r) {
|
|
938
938
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
939
|
-
return o || s ?
|
|
939
|
+
return o || s ? Vt : (this.currentObservers = null, a.push(r), new Ee(function() {
|
|
940
940
|
n.currentObservers = null, Ve(a, r);
|
|
941
941
|
}));
|
|
942
942
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
943
943
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
944
944
|
i ? r.error(o) : s && r.complete();
|
|
945
945
|
}, t.prototype.asObservable = function() {
|
|
946
|
-
var r = new
|
|
946
|
+
var r = new mt();
|
|
947
947
|
return r.source = this, r;
|
|
948
948
|
}, t.create = function(r, n) {
|
|
949
|
-
return new
|
|
949
|
+
return new gt(r, n);
|
|
950
950
|
}, t;
|
|
951
|
-
}(
|
|
951
|
+
}(mt), gt = function(e) {
|
|
952
952
|
se(t, e);
|
|
953
953
|
function t(r, n) {
|
|
954
954
|
var i = e.call(this) || this;
|
|
@@ -965,17 +965,17 @@ var nn = jt(function(e) {
|
|
|
965
965
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
966
966
|
}, t.prototype._subscribe = function(r) {
|
|
967
967
|
var n, i;
|
|
968
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
968
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
|
|
969
969
|
}, t;
|
|
970
|
-
}(
|
|
970
|
+
}(zt), Zt = {
|
|
971
971
|
now: function() {
|
|
972
|
-
return (
|
|
972
|
+
return (Zt.delegate || Date).now();
|
|
973
973
|
},
|
|
974
974
|
delegate: void 0
|
|
975
|
-
},
|
|
975
|
+
}, sn = function(e) {
|
|
976
976
|
se(t, e);
|
|
977
977
|
function t(r, n, i) {
|
|
978
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
978
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
|
979
979
|
var o = e.call(this) || this;
|
|
980
980
|
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;
|
|
981
981
|
}
|
|
@@ -995,15 +995,15 @@ var nn = jt(function(e) {
|
|
|
995
995
|
u && o.splice(0, u + 1);
|
|
996
996
|
}
|
|
997
997
|
}, t;
|
|
998
|
-
}(
|
|
999
|
-
const
|
|
1000
|
-
if (
|
|
1001
|
-
const r = new
|
|
1002
|
-
|
|
998
|
+
}(zt);
|
|
999
|
+
const yt = [], vt = {}, an = (e, t = 0) => {
|
|
1000
|
+
if (yt.indexOf(e) == -1) {
|
|
1001
|
+
const r = new sn(t);
|
|
1002
|
+
vt[e] = r, yt.push(e);
|
|
1003
1003
|
}
|
|
1004
|
-
return
|
|
1004
|
+
return vt[e];
|
|
1005
1005
|
}, k = [];
|
|
1006
|
-
function
|
|
1006
|
+
function un(e, t) {
|
|
1007
1007
|
return {
|
|
1008
1008
|
subscribe: Se(e, t).subscribe
|
|
1009
1009
|
};
|
|
@@ -1012,7 +1012,7 @@ function Se(e, t = T) {
|
|
|
1012
1012
|
let r;
|
|
1013
1013
|
const n = /* @__PURE__ */ new Set();
|
|
1014
1014
|
function i(a) {
|
|
1015
|
-
if (
|
|
1015
|
+
if (Dt(e, a) && (e = a, r)) {
|
|
1016
1016
|
const h = !k.length;
|
|
1017
1017
|
for (const u of n)
|
|
1018
1018
|
u[1](), k.push(u, e);
|
|
@@ -1039,7 +1039,7 @@ function q(e, t, r) {
|
|
|
1039
1039
|
if (!i.every(Boolean))
|
|
1040
1040
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1041
1041
|
const o = t.length < 2;
|
|
1042
|
-
return
|
|
1042
|
+
return un(r, (s, a) => {
|
|
1043
1043
|
let h = !1;
|
|
1044
1044
|
const u = [];
|
|
1045
1045
|
let l = 0, c = T;
|
|
@@ -1050,7 +1050,7 @@ function q(e, t, r) {
|
|
|
1050
1050
|
const p = t(n ? u[0] : u, s, a);
|
|
1051
1051
|
o ? s(p) : c = tt(p) ? p : T;
|
|
1052
1052
|
}, m = i.map(
|
|
1053
|
-
(p, d) =>
|
|
1053
|
+
(p, d) => Tr(
|
|
1054
1054
|
p,
|
|
1055
1055
|
(E) => {
|
|
1056
1056
|
u[d] = E, l &= ~(1 << d), h && f();
|
|
@@ -1065,70 +1065,70 @@ function q(e, t, r) {
|
|
|
1065
1065
|
};
|
|
1066
1066
|
});
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function hn(e) {
|
|
1069
1069
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1070
1070
|
}
|
|
1071
|
-
var
|
|
1072
|
-
return
|
|
1071
|
+
var ln = function(t) {
|
|
1072
|
+
return cn(t) && !fn(t);
|
|
1073
1073
|
};
|
|
1074
|
-
function
|
|
1074
|
+
function cn(e) {
|
|
1075
1075
|
return !!e && typeof e == "object";
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function fn(e) {
|
|
1078
1078
|
var t = Object.prototype.toString.call(e);
|
|
1079
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1080
|
-
}
|
|
1081
|
-
var fn = typeof Symbol == "function" && Symbol.for, pn = fn ? Symbol.for("react.element") : 60103;
|
|
1082
|
-
function dn(e) {
|
|
1083
|
-
return e.$$typeof === pn;
|
|
1079
|
+
return t === "[object RegExp]" || t === "[object Date]" || mn(e);
|
|
1084
1080
|
}
|
|
1081
|
+
var pn = typeof Symbol == "function" && Symbol.for, dn = pn ? Symbol.for("react.element") : 60103;
|
|
1085
1082
|
function mn(e) {
|
|
1083
|
+
return e.$$typeof === dn;
|
|
1084
|
+
}
|
|
1085
|
+
function bn(e) {
|
|
1086
1086
|
return Array.isArray(e) ? [] : {};
|
|
1087
1087
|
}
|
|
1088
1088
|
function ne(e, t) {
|
|
1089
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1089
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(bn(e), e, t) : e;
|
|
1090
1090
|
}
|
|
1091
|
-
function
|
|
1091
|
+
function gn(e, t, r) {
|
|
1092
1092
|
return e.concat(t).map(function(n) {
|
|
1093
1093
|
return ne(n, r);
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function yn(e, t) {
|
|
1097
1097
|
if (!t.customMerge)
|
|
1098
1098
|
return Z;
|
|
1099
1099
|
var r = t.customMerge(e);
|
|
1100
1100
|
return typeof r == "function" ? r : Z;
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function vn(e) {
|
|
1103
1103
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1104
1104
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1105
1105
|
}) : [];
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return Object.keys(e).concat(
|
|
1107
|
+
function _t(e) {
|
|
1108
|
+
return Object.keys(e).concat(vn(e));
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function Qt(e, t) {
|
|
1111
1111
|
try {
|
|
1112
1112
|
return t in e;
|
|
1113
1113
|
} catch (r) {
|
|
1114
1114
|
return !1;
|
|
1115
1115
|
}
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return
|
|
1117
|
+
function _n(e, t) {
|
|
1118
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function xn(e, t, r) {
|
|
1121
1121
|
var n = {};
|
|
1122
|
-
return r.isMergeableObject(e) &&
|
|
1122
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1123
1123
|
n[i] = ne(e[i], r);
|
|
1124
|
-
}),
|
|
1125
|
-
|
|
1124
|
+
}), _t(t).forEach(function(i) {
|
|
1125
|
+
_n(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1126
1126
|
}), n;
|
|
1127
1127
|
}
|
|
1128
1128
|
function Z(e, t, r) {
|
|
1129
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1129
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1130
1130
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1131
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1131
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ne(t, r);
|
|
1132
1132
|
}
|
|
1133
1133
|
Z.all = function(t, r) {
|
|
1134
1134
|
if (!Array.isArray(t))
|
|
@@ -1137,8 +1137,8 @@ Z.all = function(t, r) {
|
|
|
1137
1137
|
return Z(n, i, r);
|
|
1138
1138
|
}, {});
|
|
1139
1139
|
};
|
|
1140
|
-
var
|
|
1141
|
-
const
|
|
1140
|
+
var En = Z, Sn = En;
|
|
1141
|
+
const wn = /* @__PURE__ */ hn(Sn);
|
|
1142
1142
|
var We = function(e, t) {
|
|
1143
1143
|
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1144
1144
|
r.__proto__ = n;
|
|
@@ -1166,7 +1166,7 @@ var N = function() {
|
|
|
1166
1166
|
return t;
|
|
1167
1167
|
}, N.apply(this, arguments);
|
|
1168
1168
|
};
|
|
1169
|
-
function
|
|
1169
|
+
function Tn(e, t) {
|
|
1170
1170
|
var r = {};
|
|
1171
1171
|
for (var n in e)
|
|
1172
1172
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1182,36 +1182,36 @@ function Ne(e, t, r) {
|
|
|
1182
1182
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1183
1183
|
}
|
|
1184
1184
|
function Ie(e, t) {
|
|
1185
|
-
var r = t && t.cache ? t.cache :
|
|
1185
|
+
var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Pn;
|
|
1186
1186
|
return i(e, {
|
|
1187
1187
|
cache: r,
|
|
1188
1188
|
serializer: n
|
|
1189
1189
|
});
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function Hn(e) {
|
|
1192
1192
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1193
1193
|
}
|
|
1194
|
-
function
|
|
1195
|
-
var i =
|
|
1194
|
+
function An(e, t, r, n) {
|
|
1195
|
+
var i = Hn(n) ? n : r(n), o = t.get(i);
|
|
1196
1196
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function Jt(e, t, r) {
|
|
1199
1199
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1200
1200
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Yt(e, t, r, n, i) {
|
|
1203
1203
|
return r.bind(t, e, n, i);
|
|
1204
1204
|
}
|
|
1205
|
-
function An(e, t) {
|
|
1206
|
-
var r = e.length === 1 ? Hn : Qt;
|
|
1207
|
-
return Jt(e, this, r, t.cache.create(), t.serializer);
|
|
1208
|
-
}
|
|
1209
1205
|
function Pn(e, t) {
|
|
1210
|
-
|
|
1206
|
+
var r = e.length === 1 ? An : Jt;
|
|
1207
|
+
return Yt(e, this, r, t.cache.create(), t.serializer);
|
|
1208
|
+
}
|
|
1209
|
+
function Bn(e, t) {
|
|
1210
|
+
return Yt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1211
1211
|
}
|
|
1212
|
-
var
|
|
1212
|
+
var On = function() {
|
|
1213
1213
|
return JSON.stringify(arguments);
|
|
1214
|
-
},
|
|
1214
|
+
}, Nn = (
|
|
1215
1215
|
/** @class */
|
|
1216
1216
|
function() {
|
|
1217
1217
|
function e() {
|
|
@@ -1223,12 +1223,12 @@ var Bn = function() {
|
|
|
1223
1223
|
this.cache[t] = r;
|
|
1224
1224
|
}, e;
|
|
1225
1225
|
}()
|
|
1226
|
-
),
|
|
1226
|
+
), In = {
|
|
1227
1227
|
create: function() {
|
|
1228
|
-
return new
|
|
1228
|
+
return new Nn();
|
|
1229
1229
|
}
|
|
1230
1230
|
}, Ce = {
|
|
1231
|
-
variadic:
|
|
1231
|
+
variadic: Bn
|
|
1232
1232
|
}, ve = function() {
|
|
1233
1233
|
return ve = Object.assign || function(t) {
|
|
1234
1234
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -1251,43 +1251,43 @@ var Q;
|
|
|
1251
1251
|
(function(e) {
|
|
1252
1252
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1253
1253
|
})(Q || (Q = {}));
|
|
1254
|
-
function
|
|
1254
|
+
function xt(e) {
|
|
1255
1255
|
return e.type === v.literal;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function Cn(e) {
|
|
1258
1258
|
return e.type === v.argument;
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function qt(e) {
|
|
1261
1261
|
return e.type === v.number;
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1263
|
+
function Kt(e) {
|
|
1264
1264
|
return e.type === v.date;
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function er(e) {
|
|
1267
1267
|
return e.type === v.time;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function tr(e) {
|
|
1270
1270
|
return e.type === v.select;
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function rr(e) {
|
|
1273
1273
|
return e.type === v.plural;
|
|
1274
1274
|
}
|
|
1275
|
-
function
|
|
1275
|
+
function Ln(e) {
|
|
1276
1276
|
return e.type === v.pound;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function nr(e) {
|
|
1279
1279
|
return e.type === v.tag;
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function ir(e) {
|
|
1282
1282
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1283
1283
|
}
|
|
1284
1284
|
function ze(e) {
|
|
1285
1285
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1286
1286
|
}
|
|
1287
|
-
var
|
|
1288
|
-
function
|
|
1287
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
|
|
1288
|
+
function $n(e) {
|
|
1289
1289
|
var t = {};
|
|
1290
|
-
return e.replace(
|
|
1290
|
+
return e.replace(Mn, function(r) {
|
|
1291
1291
|
var n = r.length;
|
|
1292
1292
|
switch (r[0]) {
|
|
1293
1293
|
case "G":
|
|
@@ -1386,11 +1386,11 @@ var _ = function() {
|
|
|
1386
1386
|
return t;
|
|
1387
1387
|
}, _.apply(this, arguments);
|
|
1388
1388
|
};
|
|
1389
|
-
var
|
|
1390
|
-
function
|
|
1389
|
+
var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1390
|
+
function Un(e) {
|
|
1391
1391
|
if (e.length === 0)
|
|
1392
1392
|
throw new Error("Number skeleton cannot be empty");
|
|
1393
|
-
for (var t = e.split(
|
|
1393
|
+
for (var t = e.split(Rn).filter(function(f) {
|
|
1394
1394
|
return f.length > 0;
|
|
1395
1395
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1396
1396
|
var o = i[n], s = o.split("/");
|
|
@@ -1405,17 +1405,17 @@ function Rn(e) {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
return r;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function Dn(e) {
|
|
1409
1409
|
return e.replace(/^(.*?)-/, "");
|
|
1410
1410
|
}
|
|
1411
|
-
var
|
|
1412
|
-
function
|
|
1411
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1412
|
+
function St(e) {
|
|
1413
1413
|
var t = {};
|
|
1414
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1414
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1415
1415
|
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)), "";
|
|
1416
1416
|
}), t;
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function ur(e) {
|
|
1419
1419
|
switch (e) {
|
|
1420
1420
|
case "sign-auto":
|
|
1421
1421
|
return {
|
|
@@ -1455,7 +1455,7 @@ function ar(e) {
|
|
|
1455
1455
|
};
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function Fn(e) {
|
|
1459
1459
|
var t;
|
|
1460
1460
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1461
1461
|
notation: "engineering"
|
|
@@ -1463,17 +1463,17 @@ function Gn(e) {
|
|
|
1463
1463
|
notation: "scientific"
|
|
1464
1464
|
}, e = e.slice(1)), t) {
|
|
1465
1465
|
var r = e.slice(0, 2);
|
|
1466
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1466
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1467
1467
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1468
1468
|
t.minimumIntegerDigits = e.length;
|
|
1469
1469
|
}
|
|
1470
1470
|
return t;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1473
|
-
var t = {}, r =
|
|
1472
|
+
function wt(e) {
|
|
1473
|
+
var t = {}, r = ur(e);
|
|
1474
1474
|
return r || t;
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1476
|
+
function jn(e) {
|
|
1477
1477
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1478
1478
|
var i = n[r];
|
|
1479
1479
|
switch (i.stem) {
|
|
@@ -1497,7 +1497,7 @@ function Fn(e) {
|
|
|
1497
1497
|
continue;
|
|
1498
1498
|
case "measure-unit":
|
|
1499
1499
|
case "unit":
|
|
1500
|
-
t.style = "unit", t.unit =
|
|
1500
|
+
t.style = "unit", t.unit = Dn(i.options[0]);
|
|
1501
1501
|
continue;
|
|
1502
1502
|
case "compact-short":
|
|
1503
1503
|
case "K":
|
|
@@ -1509,12 +1509,12 @@ function Fn(e) {
|
|
|
1509
1509
|
continue;
|
|
1510
1510
|
case "scientific":
|
|
1511
1511
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1512
|
-
return _(_({}, h),
|
|
1512
|
+
return _(_({}, h), wt(u));
|
|
1513
1513
|
}, {}));
|
|
1514
1514
|
continue;
|
|
1515
1515
|
case "engineering":
|
|
1516
1516
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1517
|
-
return _(_({}, h),
|
|
1517
|
+
return _(_({}, h), wt(u));
|
|
1518
1518
|
}, {}));
|
|
1519
1519
|
continue;
|
|
1520
1520
|
case "notation-simple":
|
|
@@ -1559,7 +1559,7 @@ function Fn(e) {
|
|
|
1559
1559
|
case "integer-width":
|
|
1560
1560
|
if (i.options.length > 1)
|
|
1561
1561
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1562
|
-
i.options[0].replace(
|
|
1562
|
+
i.options[0].replace(Gn, function(h, u, l, c, f, m) {
|
|
1563
1563
|
if (u)
|
|
1564
1564
|
t.minimumIntegerDigits = l.length;
|
|
1565
1565
|
else {
|
|
@@ -1572,27 +1572,27 @@ function Fn(e) {
|
|
|
1572
1572
|
});
|
|
1573
1573
|
continue;
|
|
1574
1574
|
}
|
|
1575
|
-
if (
|
|
1575
|
+
if (ar.test(i.stem)) {
|
|
1576
1576
|
t.minimumIntegerDigits = i.stem.length;
|
|
1577
1577
|
continue;
|
|
1578
1578
|
}
|
|
1579
|
-
if (
|
|
1579
|
+
if (Et.test(i.stem)) {
|
|
1580
1580
|
if (i.options.length > 1)
|
|
1581
1581
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1582
|
-
i.stem.replace(
|
|
1582
|
+
i.stem.replace(Et, function(h, u, l, c, f, m) {
|
|
1583
1583
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1584
1584
|
});
|
|
1585
1585
|
var o = i.options[0];
|
|
1586
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1586
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), St(o)));
|
|
1587
1587
|
continue;
|
|
1588
1588
|
}
|
|
1589
|
-
if (
|
|
1590
|
-
t = _(_({}, t),
|
|
1589
|
+
if (sr.test(i.stem)) {
|
|
1590
|
+
t = _(_({}, t), St(i.stem));
|
|
1591
1591
|
continue;
|
|
1592
1592
|
}
|
|
1593
|
-
var s =
|
|
1593
|
+
var s = ur(i.stem);
|
|
1594
1594
|
s && (t = _(_({}, t), s));
|
|
1595
|
-
var a =
|
|
1595
|
+
var a = Fn(i.stem);
|
|
1596
1596
|
a && (t = _(_({}, t), a));
|
|
1597
1597
|
}
|
|
1598
1598
|
return t;
|
|
@@ -3012,13 +3012,13 @@ var fe = {
|
|
|
3012
3012
|
"h"
|
|
3013
3013
|
]
|
|
3014
3014
|
};
|
|
3015
|
-
function
|
|
3015
|
+
function kn(e, t) {
|
|
3016
3016
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3017
3017
|
var i = e.charAt(n);
|
|
3018
3018
|
if (i === "j") {
|
|
3019
3019
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3020
3020
|
o++, n++;
|
|
3021
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3021
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Vn(t);
|
|
3022
3022
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3023
3023
|
r += h;
|
|
3024
3024
|
for (; s-- > 0; )
|
|
@@ -3028,7 +3028,7 @@ function jn(e, t) {
|
|
|
3028
3028
|
}
|
|
3029
3029
|
return r;
|
|
3030
3030
|
}
|
|
3031
|
-
function
|
|
3031
|
+
function Vn(e) {
|
|
3032
3032
|
var t = e.hourCycle;
|
|
3033
3033
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3034
3034
|
e.hourCycles && // @ts-ignore
|
|
@@ -3050,20 +3050,20 @@ function kn(e) {
|
|
|
3050
3050
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3051
3051
|
return i[0];
|
|
3052
3052
|
}
|
|
3053
|
-
var Le,
|
|
3053
|
+
var Le, Xn = new RegExp("^".concat(or.source, "*")), Wn = new RegExp("".concat(or.source, "*$"));
|
|
3054
3054
|
function g(e, t) {
|
|
3055
3055
|
return { start: e, end: t };
|
|
3056
3056
|
}
|
|
3057
|
-
var
|
|
3057
|
+
var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
|
|
3058
3058
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3059
3059
|
}, Ze = !0;
|
|
3060
3060
|
try {
|
|
3061
|
-
var
|
|
3062
|
-
Ze = ((Le =
|
|
3061
|
+
var ti = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3062
|
+
Ze = ((Le = ti.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
3063
3063
|
} catch (e) {
|
|
3064
3064
|
Ze = !1;
|
|
3065
3065
|
}
|
|
3066
|
-
var
|
|
3066
|
+
var Tt = zn ? (
|
|
3067
3067
|
// Native
|
|
3068
3068
|
function(t, r, n) {
|
|
3069
3069
|
return t.startsWith(r, n);
|
|
@@ -3073,7 +3073,7 @@ var wt = Wn ? (
|
|
|
3073
3073
|
function(t, r, n) {
|
|
3074
3074
|
return t.slice(n, n + r.length) === r;
|
|
3075
3075
|
}
|
|
3076
|
-
), Qe =
|
|
3076
|
+
), Qe = Zn ? String.fromCodePoint : (
|
|
3077
3077
|
// IE11
|
|
3078
3078
|
function() {
|
|
3079
3079
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3085,9 +3085,9 @@ var wt = Wn ? (
|
|
|
3085
3085
|
}
|
|
3086
3086
|
return n;
|
|
3087
3087
|
}
|
|
3088
|
-
),
|
|
3088
|
+
), Ht = (
|
|
3089
3089
|
// native
|
|
3090
|
-
|
|
3090
|
+
Qn ? Object.fromEntries : (
|
|
3091
3091
|
// Ponyfill
|
|
3092
3092
|
function(t) {
|
|
3093
3093
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3097,7 +3097,7 @@ var wt = Wn ? (
|
|
|
3097
3097
|
return r;
|
|
3098
3098
|
}
|
|
3099
3099
|
)
|
|
3100
|
-
),
|
|
3100
|
+
), hr = Jn ? (
|
|
3101
3101
|
// Native
|
|
3102
3102
|
function(t, r) {
|
|
3103
3103
|
return t.codePointAt(r);
|
|
@@ -3111,7 +3111,7 @@ var wt = Wn ? (
|
|
|
3111
3111
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3112
3112
|
}
|
|
3113
3113
|
}
|
|
3114
|
-
),
|
|
3114
|
+
), ri = Yn ? (
|
|
3115
3115
|
// Native
|
|
3116
3116
|
function(t) {
|
|
3117
3117
|
return t.trimStart();
|
|
@@ -3119,9 +3119,9 @@ var wt = Wn ? (
|
|
|
3119
3119
|
) : (
|
|
3120
3120
|
// Ponyfill
|
|
3121
3121
|
function(t) {
|
|
3122
|
-
return t.replace(
|
|
3122
|
+
return t.replace(Xn, "");
|
|
3123
3123
|
}
|
|
3124
|
-
),
|
|
3124
|
+
), ni = qn ? (
|
|
3125
3125
|
// Native
|
|
3126
3126
|
function(t) {
|
|
3127
3127
|
return t.trimEnd();
|
|
@@ -3129,32 +3129,32 @@ var wt = Wn ? (
|
|
|
3129
3129
|
) : (
|
|
3130
3130
|
// Ponyfill
|
|
3131
3131
|
function(t) {
|
|
3132
|
-
return t.replace(
|
|
3132
|
+
return t.replace(Wn, "");
|
|
3133
3133
|
}
|
|
3134
3134
|
);
|
|
3135
|
-
function
|
|
3135
|
+
function lr(e, t) {
|
|
3136
3136
|
return new RegExp(e, t);
|
|
3137
3137
|
}
|
|
3138
3138
|
var Je;
|
|
3139
3139
|
if (Ze) {
|
|
3140
|
-
var
|
|
3140
|
+
var At = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3141
3141
|
Je = function(t, r) {
|
|
3142
3142
|
var n;
|
|
3143
|
-
|
|
3144
|
-
var i =
|
|
3143
|
+
At.lastIndex = r;
|
|
3144
|
+
var i = At.exec(t);
|
|
3145
3145
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3146
3146
|
};
|
|
3147
3147
|
} else
|
|
3148
3148
|
Je = function(t, r) {
|
|
3149
3149
|
for (var n = []; ; ) {
|
|
3150
|
-
var i =
|
|
3151
|
-
if (i === void 0 ||
|
|
3150
|
+
var i = hr(t, r);
|
|
3151
|
+
if (i === void 0 || cr(i) || ai(i))
|
|
3152
3152
|
break;
|
|
3153
3153
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3154
3154
|
}
|
|
3155
3155
|
return Qe.apply(void 0, n);
|
|
3156
3156
|
};
|
|
3157
|
-
var
|
|
3157
|
+
var ii = (
|
|
3158
3158
|
/** @class */
|
|
3159
3159
|
function() {
|
|
3160
3160
|
function e(t, r) {
|
|
@@ -3236,7 +3236,7 @@ var ni = (
|
|
|
3236
3236
|
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3237
3237
|
}, e.prototype.parseTagName = function() {
|
|
3238
3238
|
var t = this.offset();
|
|
3239
|
-
for (this.bump(); !this.isEOF() &&
|
|
3239
|
+
for (this.bump(); !this.isEOF() && si(this.char()); )
|
|
3240
3240
|
this.bump();
|
|
3241
3241
|
return this.message.slice(t, this.offset());
|
|
3242
3242
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3265,7 +3265,7 @@ var ni = (
|
|
|
3265
3265
|
};
|
|
3266
3266
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3267
3267
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3268
|
-
!
|
|
3268
|
+
!oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3269
3269
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3270
3270
|
if (this.isEOF() || this.char() !== 39)
|
|
3271
3271
|
return null;
|
|
@@ -3352,7 +3352,7 @@ var ni = (
|
|
|
3352
3352
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3353
3353
|
if (c.err)
|
|
3354
3354
|
return c;
|
|
3355
|
-
var f =
|
|
3355
|
+
var f = ni(c.val);
|
|
3356
3356
|
if (f.length === 0)
|
|
3357
3357
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3358
3358
|
var m = g(l, this.clonePosition());
|
|
@@ -3362,8 +3362,8 @@ var ni = (
|
|
|
3362
3362
|
if (p.err)
|
|
3363
3363
|
return p;
|
|
3364
3364
|
var d = g(i, this.clonePosition());
|
|
3365
|
-
if (u &&
|
|
3366
|
-
var E =
|
|
3365
|
+
if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3366
|
+
var E = ri(u.style.slice(2));
|
|
3367
3367
|
if (a === "number") {
|
|
3368
3368
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3369
3369
|
return c.err ? c : {
|
|
@@ -3374,12 +3374,12 @@ var ni = (
|
|
|
3374
3374
|
if (E.length === 0)
|
|
3375
3375
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3376
3376
|
var B = E;
|
|
3377
|
-
this.locale && (B =
|
|
3377
|
+
this.locale && (B = kn(E, this.locale));
|
|
3378
3378
|
var f = {
|
|
3379
3379
|
type: Q.dateTime,
|
|
3380
3380
|
pattern: B,
|
|
3381
3381
|
location: u.styleLocation,
|
|
3382
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3382
|
+
parsedOptions: this.shouldParseSkeletons ? $n(B) : {}
|
|
3383
3383
|
}, M = a === "date" ? v.date : v.time;
|
|
3384
3384
|
return {
|
|
3385
3385
|
val: { type: M, value: n, location: d, style: f },
|
|
@@ -3425,7 +3425,7 @@ var ni = (
|
|
|
3425
3425
|
val: {
|
|
3426
3426
|
type: v.select,
|
|
3427
3427
|
value: n,
|
|
3428
|
-
options:
|
|
3428
|
+
options: Ht(D.val),
|
|
3429
3429
|
location: he
|
|
3430
3430
|
},
|
|
3431
3431
|
err: null
|
|
@@ -3433,7 +3433,7 @@ var ni = (
|
|
|
3433
3433
|
val: {
|
|
3434
3434
|
type: v.plural,
|
|
3435
3435
|
value: n,
|
|
3436
|
-
options:
|
|
3436
|
+
options: Ht(D.val),
|
|
3437
3437
|
offset: I,
|
|
3438
3438
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3439
3439
|
location: he
|
|
@@ -3484,7 +3484,7 @@ var ni = (
|
|
|
3484
3484
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3485
3485
|
var n = [];
|
|
3486
3486
|
try {
|
|
3487
|
-
n =
|
|
3487
|
+
n = Un(t);
|
|
3488
3488
|
} catch (i) {
|
|
3489
3489
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3490
3490
|
}
|
|
@@ -3493,7 +3493,7 @@ var ni = (
|
|
|
3493
3493
|
type: Q.number,
|
|
3494
3494
|
tokens: n,
|
|
3495
3495
|
location: r,
|
|
3496
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3496
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
|
3497
3497
|
},
|
|
3498
3498
|
err: null
|
|
3499
3499
|
};
|
|
@@ -3541,7 +3541,7 @@ var ni = (
|
|
|
3541
3541
|
break;
|
|
3542
3542
|
}
|
|
3543
3543
|
var h = g(i, this.clonePosition());
|
|
3544
|
-
return o ? (s *= n,
|
|
3544
|
+
return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3545
3545
|
}, e.prototype.offset = function() {
|
|
3546
3546
|
return this.position.offset;
|
|
3547
3547
|
}, e.prototype.isEOF = function() {
|
|
@@ -3556,7 +3556,7 @@ var ni = (
|
|
|
3556
3556
|
var t = this.position.offset;
|
|
3557
3557
|
if (t >= this.message.length)
|
|
3558
3558
|
throw Error("out of bound");
|
|
3559
|
-
var r =
|
|
3559
|
+
var r = hr(this.message, t);
|
|
3560
3560
|
if (r === void 0)
|
|
3561
3561
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3562
3562
|
return r;
|
|
@@ -3575,7 +3575,7 @@ var ni = (
|
|
|
3575
3575
|
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);
|
|
3576
3576
|
}
|
|
3577
3577
|
}, e.prototype.bumpIf = function(t) {
|
|
3578
|
-
if (
|
|
3578
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3579
3579
|
for (var r = 0; r < t.length; r++)
|
|
3580
3580
|
this.bump();
|
|
3581
3581
|
return !0;
|
|
@@ -3597,7 +3597,7 @@ var ni = (
|
|
|
3597
3597
|
break;
|
|
3598
3598
|
}
|
|
3599
3599
|
}, e.prototype.bumpSpace = function() {
|
|
3600
|
-
for (; !this.isEOF() &&
|
|
3600
|
+
for (; !this.isEOF() && cr(this.char()); )
|
|
3601
3601
|
this.bump();
|
|
3602
3602
|
}, e.prototype.peek = function() {
|
|
3603
3603
|
if (this.isEOF())
|
|
@@ -3610,30 +3610,30 @@ var ni = (
|
|
|
3610
3610
|
function Ye(e) {
|
|
3611
3611
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3612
3612
|
}
|
|
3613
|
-
function
|
|
3613
|
+
function oi(e) {
|
|
3614
3614
|
return Ye(e) || e === 47;
|
|
3615
3615
|
}
|
|
3616
|
-
function
|
|
3616
|
+
function si(e) {
|
|
3617
3617
|
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;
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3619
|
+
function cr(e) {
|
|
3620
3620
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3621
3621
|
}
|
|
3622
|
-
function
|
|
3622
|
+
function ai(e) {
|
|
3623
3623
|
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;
|
|
3624
3624
|
}
|
|
3625
3625
|
function qe(e) {
|
|
3626
3626
|
e.forEach(function(t) {
|
|
3627
|
-
if (delete t.location,
|
|
3627
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3628
3628
|
for (var r in t.options)
|
|
3629
3629
|
delete t.options[r].location, qe(t.options[r].value);
|
|
3630
3630
|
else
|
|
3631
|
-
|
|
3631
|
+
qt(t) && ir(t.style) || (Kt(t) || er(t)) && ze(t.style) ? delete t.style.location : nr(t) && qe(t.children);
|
|
3632
3632
|
});
|
|
3633
3633
|
}
|
|
3634
|
-
function
|
|
3634
|
+
function ui(e, t) {
|
|
3635
3635
|
t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3636
|
-
var r = new
|
|
3636
|
+
var r = new ii(e, t).parse();
|
|
3637
3637
|
if (r.err) {
|
|
3638
3638
|
var n = SyntaxError(b[r.err.kind]);
|
|
3639
3639
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3656,7 +3656,7 @@ var Te = (
|
|
|
3656
3656
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3657
3657
|
}, t;
|
|
3658
3658
|
}(Error)
|
|
3659
|
-
),
|
|
3659
|
+
), Pt = (
|
|
3660
3660
|
/** @class */
|
|
3661
3661
|
function(e) {
|
|
3662
3662
|
we(t, e);
|
|
@@ -3665,7 +3665,7 @@ var Te = (
|
|
|
3665
3665
|
}
|
|
3666
3666
|
return t;
|
|
3667
3667
|
}(Te)
|
|
3668
|
-
),
|
|
3668
|
+
), hi = (
|
|
3669
3669
|
/** @class */
|
|
3670
3670
|
function(e) {
|
|
3671
3671
|
we(t, e);
|
|
@@ -3674,7 +3674,7 @@ var Te = (
|
|
|
3674
3674
|
}
|
|
3675
3675
|
return t;
|
|
3676
3676
|
}(Te)
|
|
3677
|
-
),
|
|
3677
|
+
), li = (
|
|
3678
3678
|
/** @class */
|
|
3679
3679
|
function(e) {
|
|
3680
3680
|
we(t, e);
|
|
@@ -3687,17 +3687,17 @@ var Te = (
|
|
|
3687
3687
|
(function(e) {
|
|
3688
3688
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3689
3689
|
})(S || (S = {}));
|
|
3690
|
-
function
|
|
3690
|
+
function ci(e) {
|
|
3691
3691
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3692
3692
|
var n = t[t.length - 1];
|
|
3693
3693
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3694
3694
|
}, []);
|
|
3695
3695
|
}
|
|
3696
|
-
function
|
|
3696
|
+
function fi(e) {
|
|
3697
3697
|
return typeof e == "function";
|
|
3698
3698
|
}
|
|
3699
3699
|
function be(e, t, r, n, i, o, s) {
|
|
3700
|
-
if (e.length === 1 &&
|
|
3700
|
+
if (e.length === 1 && xt(e[0]))
|
|
3701
3701
|
return [
|
|
3702
3702
|
{
|
|
3703
3703
|
type: S.literal,
|
|
@@ -3706,14 +3706,14 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3706
3706
|
];
|
|
3707
3707
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3708
3708
|
var l = u[h];
|
|
3709
|
-
if (
|
|
3709
|
+
if (xt(l)) {
|
|
3710
3710
|
a.push({
|
|
3711
3711
|
type: S.literal,
|
|
3712
3712
|
value: l.value
|
|
3713
3713
|
});
|
|
3714
3714
|
continue;
|
|
3715
3715
|
}
|
|
3716
|
-
if (
|
|
3716
|
+
if (Ln(l)) {
|
|
3717
3717
|
typeof o == "number" && a.push({
|
|
3718
3718
|
type: S.literal,
|
|
3719
3719
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3722,16 +3722,16 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3722
3722
|
}
|
|
3723
3723
|
var c = l.value;
|
|
3724
3724
|
if (!(i && c in i))
|
|
3725
|
-
throw new
|
|
3725
|
+
throw new li(c, s);
|
|
3726
3726
|
var f = i[c];
|
|
3727
|
-
if (
|
|
3727
|
+
if (Cn(l)) {
|
|
3728
3728
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3729
3729
|
type: typeof f == "string" ? S.literal : S.object,
|
|
3730
3730
|
value: f
|
|
3731
3731
|
});
|
|
3732
3732
|
continue;
|
|
3733
3733
|
}
|
|
3734
|
-
if (
|
|
3734
|
+
if (Kt(l)) {
|
|
3735
3735
|
var m = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
|
3736
3736
|
a.push({
|
|
3737
3737
|
type: S.literal,
|
|
@@ -3739,7 +3739,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3739
3739
|
});
|
|
3740
3740
|
continue;
|
|
3741
3741
|
}
|
|
3742
|
-
if (
|
|
3742
|
+
if (er(l)) {
|
|
3743
3743
|
var m = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3744
3744
|
a.push({
|
|
3745
3745
|
type: S.literal,
|
|
@@ -3747,18 +3747,18 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3747
3747
|
});
|
|
3748
3748
|
continue;
|
|
3749
3749
|
}
|
|
3750
|
-
if (
|
|
3751
|
-
var m = typeof l.style == "string" ? n.number[l.style] :
|
|
3750
|
+
if (qt(l)) {
|
|
3751
|
+
var m = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
|
|
3752
3752
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3753
3753
|
type: S.literal,
|
|
3754
3754
|
value: r.getNumberFormat(t, m).format(f)
|
|
3755
3755
|
});
|
|
3756
3756
|
continue;
|
|
3757
3757
|
}
|
|
3758
|
-
if (
|
|
3758
|
+
if (nr(l)) {
|
|
3759
3759
|
var p = l.children, d = l.value, E = i[d];
|
|
3760
|
-
if (!
|
|
3761
|
-
throw new
|
|
3760
|
+
if (!fi(E))
|
|
3761
|
+
throw new hi(d, "function", s);
|
|
3762
3762
|
var B = be(p, t, r, n, i, o), M = E(B.map(function(I) {
|
|
3763
3763
|
return I.value;
|
|
3764
3764
|
}));
|
|
@@ -3769,14 +3769,14 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3769
3769
|
};
|
|
3770
3770
|
}));
|
|
3771
3771
|
}
|
|
3772
|
-
if (
|
|
3772
|
+
if (tr(l)) {
|
|
3773
3773
|
var H = l.options[f] || l.options.other;
|
|
3774
3774
|
if (!H)
|
|
3775
|
-
throw new
|
|
3775
|
+
throw new Pt(l.value, f, Object.keys(l.options), s);
|
|
3776
3776
|
a.push.apply(a, be(H.value, t, r, n, i));
|
|
3777
3777
|
continue;
|
|
3778
3778
|
}
|
|
3779
|
-
if (
|
|
3779
|
+
if (rr(l)) {
|
|
3780
3780
|
var H = l.options["=".concat(f)];
|
|
3781
3781
|
if (!H) {
|
|
3782
3782
|
if (!Intl.PluralRules)
|
|
@@ -3787,21 +3787,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3787
3787
|
H = l.options[U] || l.options.other;
|
|
3788
3788
|
}
|
|
3789
3789
|
if (!H)
|
|
3790
|
-
throw new
|
|
3790
|
+
throw new Pt(l.value, f, Object.keys(l.options), s);
|
|
3791
3791
|
a.push.apply(a, be(H.value, t, r, n, i, f - (l.offset || 0)));
|
|
3792
3792
|
continue;
|
|
3793
3793
|
}
|
|
3794
3794
|
}
|
|
3795
|
-
return
|
|
3795
|
+
return ci(a);
|
|
3796
3796
|
}
|
|
3797
|
-
function
|
|
3797
|
+
function pi(e, t) {
|
|
3798
3798
|
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3799
3799
|
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
3800
3800
|
}, {})) : e;
|
|
3801
3801
|
}
|
|
3802
|
-
function
|
|
3802
|
+
function di(e, t) {
|
|
3803
3803
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3804
|
-
return r[n] =
|
|
3804
|
+
return r[n] = pi(e[n], t[n]), r;
|
|
3805
3805
|
}, N({}, e)) : e;
|
|
3806
3806
|
}
|
|
3807
3807
|
function Me(e) {
|
|
@@ -3818,7 +3818,7 @@ function Me(e) {
|
|
|
3818
3818
|
}
|
|
3819
3819
|
};
|
|
3820
3820
|
}
|
|
3821
|
-
function
|
|
3821
|
+
function mi(e) {
|
|
3822
3822
|
return e === void 0 && (e = {
|
|
3823
3823
|
number: {},
|
|
3824
3824
|
dateTime: {},
|
|
@@ -3850,7 +3850,7 @@ function di(e) {
|
|
|
3850
3850
|
})
|
|
3851
3851
|
};
|
|
3852
3852
|
}
|
|
3853
|
-
var
|
|
3853
|
+
var bi = (
|
|
3854
3854
|
/** @class */
|
|
3855
3855
|
function() {
|
|
3856
3856
|
function e(t, r, n, i) {
|
|
@@ -3882,13 +3882,13 @@ var mi = (
|
|
|
3882
3882
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3883
3883
|
var s = i || {};
|
|
3884
3884
|
s.formatters;
|
|
3885
|
-
var a =
|
|
3885
|
+
var a = Tn(s, ["formatters"]);
|
|
3886
3886
|
this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
|
|
3887
3887
|
} else
|
|
3888
3888
|
this.ast = t;
|
|
3889
3889
|
if (!Array.isArray(this.ast))
|
|
3890
3890
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3891
|
-
this.formats =
|
|
3891
|
+
this.formats = di(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
|
|
3892
3892
|
}
|
|
3893
3893
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3894
3894
|
get: function() {
|
|
@@ -3901,7 +3901,7 @@ var mi = (
|
|
|
3901
3901
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3902
3902
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3903
3903
|
}
|
|
3904
|
-
}, e.__parse =
|
|
3904
|
+
}, e.__parse = ui, e.formats = {
|
|
3905
3905
|
number: {
|
|
3906
3906
|
integer: {
|
|
3907
3907
|
maximumFractionDigits: 0
|
|
@@ -3962,7 +3962,7 @@ var mi = (
|
|
|
3962
3962
|
}, e;
|
|
3963
3963
|
}()
|
|
3964
3964
|
);
|
|
3965
|
-
function
|
|
3965
|
+
function gi(e, t) {
|
|
3966
3966
|
if (t == null)
|
|
3967
3967
|
return;
|
|
3968
3968
|
if (t in e)
|
|
@@ -3983,44 +3983,44 @@ function bi(e, t) {
|
|
|
3983
3983
|
n = void 0;
|
|
3984
3984
|
return n;
|
|
3985
3985
|
}
|
|
3986
|
-
const $ = {},
|
|
3986
|
+
const $ = {}, yi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
|
|
3987
3987
|
if (t == null)
|
|
3988
3988
|
return;
|
|
3989
3989
|
if (t in $ && e in $[t])
|
|
3990
3990
|
return $[t][e];
|
|
3991
3991
|
const r = He(t);
|
|
3992
3992
|
for (let n = 0; n < r.length; n++) {
|
|
3993
|
-
const i = r[n], o =
|
|
3993
|
+
const i = r[n], o = _i(i, e);
|
|
3994
3994
|
if (o)
|
|
3995
|
-
return
|
|
3995
|
+
return yi(e, t, o);
|
|
3996
3996
|
}
|
|
3997
3997
|
};
|
|
3998
3998
|
let rt;
|
|
3999
3999
|
const ae = Se({});
|
|
4000
|
-
function
|
|
4000
|
+
function vi(e) {
|
|
4001
4001
|
return rt[e] || null;
|
|
4002
4002
|
}
|
|
4003
|
-
function
|
|
4003
|
+
function pr(e) {
|
|
4004
4004
|
return e in rt;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4007
|
-
if (!
|
|
4006
|
+
function _i(e, t) {
|
|
4007
|
+
if (!pr(e))
|
|
4008
4008
|
return null;
|
|
4009
|
-
const r =
|
|
4010
|
-
return
|
|
4009
|
+
const r = vi(e);
|
|
4010
|
+
return gi(r, t);
|
|
4011
4011
|
}
|
|
4012
|
-
function
|
|
4012
|
+
function xi(e) {
|
|
4013
4013
|
if (e == null)
|
|
4014
4014
|
return;
|
|
4015
4015
|
const t = He(e);
|
|
4016
4016
|
for (let r = 0; r < t.length; r++) {
|
|
4017
4017
|
const n = t[r];
|
|
4018
|
-
if (
|
|
4018
|
+
if (pr(n))
|
|
4019
4019
|
return n;
|
|
4020
4020
|
}
|
|
4021
4021
|
}
|
|
4022
|
-
function
|
|
4023
|
-
delete $[e], ae.update((r) => (r[e] =
|
|
4022
|
+
function Ei(e, ...t) {
|
|
4023
|
+
delete $[e], ae.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
|
|
4024
4024
|
}
|
|
4025
4025
|
q(
|
|
4026
4026
|
[ae],
|
|
@@ -4028,15 +4028,15 @@ q(
|
|
|
4028
4028
|
);
|
|
4029
4029
|
ae.subscribe((e) => rt = e);
|
|
4030
4030
|
const ge = {};
|
|
4031
|
-
function
|
|
4031
|
+
function Si(e, t) {
|
|
4032
4032
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
4033
4033
|
}
|
|
4034
|
-
function
|
|
4034
|
+
function dr(e) {
|
|
4035
4035
|
return ge[e];
|
|
4036
4036
|
}
|
|
4037
|
-
function
|
|
4037
|
+
function wi(e) {
|
|
4038
4038
|
return He(e).map((t) => {
|
|
4039
|
-
const r =
|
|
4039
|
+
const r = dr(t);
|
|
4040
4040
|
return [t, r ? [...r] : []];
|
|
4041
4041
|
}).filter(([, t]) => t.length > 0);
|
|
4042
4042
|
}
|
|
@@ -4044,31 +4044,31 @@ function Ke(e) {
|
|
|
4044
4044
|
return e == null ? !1 : He(e).some(
|
|
4045
4045
|
(t) => {
|
|
4046
4046
|
var r;
|
|
4047
|
-
return (r =
|
|
4047
|
+
return (r = dr(t)) == null ? void 0 : r.size;
|
|
4048
4048
|
}
|
|
4049
4049
|
);
|
|
4050
4050
|
}
|
|
4051
|
-
function
|
|
4051
|
+
function Ti(e, t) {
|
|
4052
4052
|
return Promise.all(
|
|
4053
|
-
t.map((n) => (
|
|
4054
|
-
).then((n) =>
|
|
4053
|
+
t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
|
|
4054
|
+
).then((n) => Ei(e, ...n));
|
|
4055
4055
|
}
|
|
4056
4056
|
const ee = {};
|
|
4057
|
-
function
|
|
4057
|
+
function mr(e) {
|
|
4058
4058
|
if (!Ke(e))
|
|
4059
4059
|
return e in ee ? ee[e] : Promise.resolve();
|
|
4060
|
-
const t =
|
|
4060
|
+
const t = wi(e);
|
|
4061
4061
|
return ee[e] = Promise.all(
|
|
4062
4062
|
t.map(
|
|
4063
|
-
([r, n]) =>
|
|
4063
|
+
([r, n]) => Ti(r, n)
|
|
4064
4064
|
)
|
|
4065
4065
|
).then(() => {
|
|
4066
4066
|
if (Ke(e))
|
|
4067
|
-
return
|
|
4067
|
+
return mr(e);
|
|
4068
4068
|
delete ee[e];
|
|
4069
4069
|
}), ee[e];
|
|
4070
4070
|
}
|
|
4071
|
-
const
|
|
4071
|
+
const Hi = {
|
|
4072
4072
|
number: {
|
|
4073
4073
|
scientific: { notation: "scientific" },
|
|
4074
4074
|
engineering: { notation: "engineering" },
|
|
@@ -4097,57 +4097,57 @@ const Ti = {
|
|
|
4097
4097
|
timeZoneName: "short"
|
|
4098
4098
|
}
|
|
4099
4099
|
}
|
|
4100
|
-
},
|
|
4100
|
+
}, Ai = {
|
|
4101
4101
|
fallbackLocale: null,
|
|
4102
4102
|
loadingDelay: 200,
|
|
4103
|
-
formats:
|
|
4103
|
+
formats: Hi,
|
|
4104
4104
|
warnOnMissingMessages: !0,
|
|
4105
4105
|
handleMissingMessage: void 0,
|
|
4106
4106
|
ignoreTag: !0
|
|
4107
|
-
},
|
|
4107
|
+
}, Pi = Ai;
|
|
4108
4108
|
function Y() {
|
|
4109
|
-
return
|
|
4109
|
+
return Pi;
|
|
4110
4110
|
}
|
|
4111
4111
|
const $e = Se(!1);
|
|
4112
|
-
var
|
|
4112
|
+
var Bi = Object.defineProperty, Oi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
|
|
4113
4113
|
for (var r in t || (t = {}))
|
|
4114
|
-
|
|
4115
|
-
if (
|
|
4116
|
-
for (var r of
|
|
4117
|
-
|
|
4114
|
+
Ii.call(t, r) && Ot(e, r, t[r]);
|
|
4115
|
+
if (Bt)
|
|
4116
|
+
for (var r of Bt(t))
|
|
4117
|
+
Ci.call(t, r) && Ot(e, r, t[r]);
|
|
4118
4118
|
return e;
|
|
4119
|
-
},
|
|
4119
|
+
}, Mi = (e, t) => Oi(e, Ni(t));
|
|
4120
4120
|
let et;
|
|
4121
4121
|
const _e = Se(null);
|
|
4122
|
-
function
|
|
4122
|
+
function Nt(e) {
|
|
4123
4123
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4124
4124
|
}
|
|
4125
4125
|
function He(e, t = Y().fallbackLocale) {
|
|
4126
|
-
const r =
|
|
4127
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4126
|
+
const r = Nt(e);
|
|
4127
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
|
4128
4128
|
}
|
|
4129
|
-
function
|
|
4129
|
+
function F() {
|
|
4130
4130
|
return et != null ? et : void 0;
|
|
4131
4131
|
}
|
|
4132
4132
|
_e.subscribe((e) => {
|
|
4133
4133
|
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4134
4134
|
});
|
|
4135
|
-
const
|
|
4136
|
-
if (e &&
|
|
4135
|
+
const $i = (e) => {
|
|
4136
|
+
if (e && xi(e) && Ke(e)) {
|
|
4137
4137
|
const { loadingDelay: t } = Y();
|
|
4138
4138
|
let r;
|
|
4139
|
-
return typeof window != "undefined" &&
|
|
4139
|
+
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4140
4140
|
() => $e.set(!0),
|
|
4141
4141
|
t
|
|
4142
|
-
) : $e.set(!0),
|
|
4142
|
+
) : $e.set(!0), mr(e).then(() => {
|
|
4143
4143
|
_e.set(e);
|
|
4144
4144
|
}).finally(() => {
|
|
4145
4145
|
clearTimeout(r), $e.set(!1);
|
|
4146
4146
|
});
|
|
4147
4147
|
}
|
|
4148
4148
|
return _e.set(e);
|
|
4149
|
-
}, ue = Li(
|
|
4150
|
-
set:
|
|
4149
|
+
}, ue = Mi(Li({}, _e), {
|
|
4150
|
+
set: $i
|
|
4151
4151
|
}), Ae = (e) => {
|
|
4152
4152
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4153
4153
|
return (n) => {
|
|
@@ -4155,20 +4155,20 @@ const Mi = (e) => {
|
|
|
4155
4155
|
return i in t ? t[i] : t[i] = e(n);
|
|
4156
4156
|
};
|
|
4157
4157
|
};
|
|
4158
|
-
var
|
|
4158
|
+
var Ri = Object.defineProperty, xe = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4159
4159
|
for (var r in t || (t = {}))
|
|
4160
|
-
|
|
4160
|
+
br.call(t, r) && It(e, r, t[r]);
|
|
4161
4161
|
if (xe)
|
|
4162
4162
|
for (var r of xe(t))
|
|
4163
|
-
|
|
4163
|
+
gr.call(t, r) && It(e, r, t[r]);
|
|
4164
4164
|
return e;
|
|
4165
4165
|
}, K = (e, t) => {
|
|
4166
4166
|
var r = {};
|
|
4167
4167
|
for (var n in e)
|
|
4168
|
-
|
|
4168
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4169
4169
|
if (e != null && xe)
|
|
4170
4170
|
for (var n of xe(e))
|
|
4171
|
-
t.indexOf(n) < 0 &&
|
|
4171
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4172
4172
|
return r;
|
|
4173
4173
|
};
|
|
4174
4174
|
const ie = (e, t) => {
|
|
@@ -4176,21 +4176,21 @@ const ie = (e, t) => {
|
|
|
4176
4176
|
if (e in r && t in r[e])
|
|
4177
4177
|
return r[e][t];
|
|
4178
4178
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4179
|
-
},
|
|
4179
|
+
}, Ui = Ae(
|
|
4180
4180
|
(e) => {
|
|
4181
4181
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4182
4182
|
if (r == null)
|
|
4183
4183
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4184
4184
|
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4185
4185
|
}
|
|
4186
|
-
),
|
|
4186
|
+
), Di = Ae(
|
|
4187
4187
|
(e) => {
|
|
4188
4188
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4189
4189
|
if (r == null)
|
|
4190
4190
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4191
4191
|
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4192
4192
|
}
|
|
4193
|
-
),
|
|
4193
|
+
), Gi = Ae(
|
|
4194
4194
|
(e) => {
|
|
4195
4195
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4196
4196
|
if (r == null)
|
|
@@ -4199,46 +4199,46 @@ const ie = (e, t) => {
|
|
|
4199
4199
|
);
|
|
4200
4200
|
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4201
4201
|
}
|
|
4202
|
-
),
|
|
4202
|
+
), Fi = (e = {}) => {
|
|
4203
4203
|
var t = e, {
|
|
4204
|
-
locale: r =
|
|
4204
|
+
locale: r = F()
|
|
4205
4205
|
} = t, n = K(t, [
|
|
4206
4206
|
"locale"
|
|
4207
4207
|
]);
|
|
4208
|
-
return
|
|
4209
|
-
},
|
|
4208
|
+
return Ui(nt({ locale: r }, n));
|
|
4209
|
+
}, ji = (e = {}) => {
|
|
4210
4210
|
var t = e, {
|
|
4211
|
-
locale: r =
|
|
4211
|
+
locale: r = F()
|
|
4212
4212
|
} = t, n = K(t, [
|
|
4213
4213
|
"locale"
|
|
4214
4214
|
]);
|
|
4215
|
-
return
|
|
4216
|
-
},
|
|
4215
|
+
return Di(nt({ locale: r }, n));
|
|
4216
|
+
}, ki = (e = {}) => {
|
|
4217
4217
|
var t = e, {
|
|
4218
|
-
locale: r =
|
|
4218
|
+
locale: r = F()
|
|
4219
4219
|
} = t, n = K(t, [
|
|
4220
4220
|
"locale"
|
|
4221
4221
|
]);
|
|
4222
|
-
return
|
|
4223
|
-
},
|
|
4222
|
+
return Gi(nt({ locale: r }, n));
|
|
4223
|
+
}, Vi = Ae(
|
|
4224
4224
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4225
|
-
(e, t =
|
|
4225
|
+
(e, t = F()) => new bi(e, t, Y().formats, {
|
|
4226
4226
|
ignoreTag: Y().ignoreTag
|
|
4227
4227
|
})
|
|
4228
|
-
),
|
|
4228
|
+
), Xi = (e, t = {}) => {
|
|
4229
4229
|
var r, n, i, o;
|
|
4230
4230
|
let s = t;
|
|
4231
4231
|
typeof e == "object" && (s = e, e = s.id);
|
|
4232
4232
|
const {
|
|
4233
4233
|
values: a,
|
|
4234
|
-
locale: h =
|
|
4234
|
+
locale: h = F(),
|
|
4235
4235
|
default: u
|
|
4236
4236
|
} = s;
|
|
4237
4237
|
if (h == null)
|
|
4238
4238
|
throw new Error(
|
|
4239
4239
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4240
4240
|
);
|
|
4241
|
-
let l =
|
|
4241
|
+
let l = fr(e, h);
|
|
4242
4242
|
if (!l)
|
|
4243
4243
|
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4244
4244
|
else if (typeof l != "string")
|
|
@@ -4249,7 +4249,7 @@ const ie = (e, t) => {
|
|
|
4249
4249
|
return l;
|
|
4250
4250
|
let c = l;
|
|
4251
4251
|
try {
|
|
4252
|
-
c =
|
|
4252
|
+
c = Vi(l, h).format(a);
|
|
4253
4253
|
} catch (f) {
|
|
4254
4254
|
f instanceof Error && console.warn(
|
|
4255
4255
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4257,23 +4257,23 @@ const ie = (e, t) => {
|
|
|
4257
4257
|
);
|
|
4258
4258
|
}
|
|
4259
4259
|
return c;
|
|
4260
|
-
},
|
|
4261
|
-
q([ue, ae], () =>
|
|
4262
|
-
q([ue], () => Xi);
|
|
4260
|
+
}, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = F()) => fr(e, t);
|
|
4261
|
+
q([ue, ae], () => Xi);
|
|
4263
4262
|
q([ue], () => Wi);
|
|
4264
4263
|
q([ue], () => zi);
|
|
4265
|
-
q([ue
|
|
4266
|
-
|
|
4267
|
-
|
|
4264
|
+
q([ue], () => Zi);
|
|
4265
|
+
q([ue, ae], () => Qi);
|
|
4266
|
+
window.emWidgets = { topic: an };
|
|
4267
|
+
const Ct = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4268
4268
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4269
4269
|
const X = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4270
|
-
function
|
|
4270
|
+
function Ji(e, t) {
|
|
4271
4271
|
if (e) {
|
|
4272
4272
|
const r = document.createElement("style");
|
|
4273
4273
|
r.innerHTML = t, e.appendChild(r);
|
|
4274
4274
|
}
|
|
4275
4275
|
}
|
|
4276
|
-
function
|
|
4276
|
+
function Yi(e, t) {
|
|
4277
4277
|
if (!e || !t)
|
|
4278
4278
|
return;
|
|
4279
4279
|
const r = new URL(t);
|
|
@@ -4284,12 +4284,12 @@ function Ji(e, t) {
|
|
|
4284
4284
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4285
4285
|
});
|
|
4286
4286
|
}
|
|
4287
|
-
function
|
|
4287
|
+
function qi(e, t, r, n = !1) {
|
|
4288
4288
|
if (!window.emMessageBus)
|
|
4289
4289
|
return;
|
|
4290
4290
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4291
|
-
return r =
|
|
4292
|
-
window[X] || (window[X] = {}), r =
|
|
4291
|
+
return r = Ki(e, t), r;
|
|
4292
|
+
window[X] || (window[X] = {}), r = eo(e, t);
|
|
4293
4293
|
const o = r.unsubscribe.bind(r), s = () => {
|
|
4294
4294
|
if (window[X][t]) {
|
|
4295
4295
|
const a = window[X][t];
|
|
@@ -4299,13 +4299,13 @@ function Yi(e, t, r, n = !1) {
|
|
|
4299
4299
|
};
|
|
4300
4300
|
return r.unsubscribe = s, r;
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function Ki(e, t) {
|
|
4303
4303
|
const r = document.createElement("style");
|
|
4304
4304
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
4305
4305
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
4306
4306
|
});
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function eo(e, t) {
|
|
4309
4309
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4310
4310
|
if (!e)
|
|
4311
4311
|
return;
|
|
@@ -4319,24 +4319,24 @@ function Ki(e, t) {
|
|
|
4319
4319
|
s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
|
|
4320
4320
|
});
|
|
4321
4321
|
}
|
|
4322
|
-
function
|
|
4323
|
-
|
|
4322
|
+
function to(e) {
|
|
4323
|
+
Hr(e, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
4324
4324
|
}
|
|
4325
|
-
function
|
|
4325
|
+
function Lt(e, t, r) {
|
|
4326
4326
|
const n = e.slice();
|
|
4327
4327
|
return n[24] = t[r], n;
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4329
|
+
function Mt(e, t, r) {
|
|
4330
4330
|
const n = e.slice();
|
|
4331
4331
|
return n[21] = t[r], n;
|
|
4332
4332
|
}
|
|
4333
|
-
function
|
|
4333
|
+
function ro(e) {
|
|
4334
4334
|
let t, r = ye(
|
|
4335
4335
|
/*notificationsData*/
|
|
4336
4336
|
e[1]
|
|
4337
4337
|
), n = [];
|
|
4338
4338
|
for (let i = 0; i < r.length; i += 1)
|
|
4339
|
-
n[i] =
|
|
4339
|
+
n[i] = $t(Lt(e, r, i));
|
|
4340
4340
|
return {
|
|
4341
4341
|
c() {
|
|
4342
4342
|
t = w("div");
|
|
@@ -4360,8 +4360,8 @@ function to(e) {
|
|
|
4360
4360
|
);
|
|
4361
4361
|
let s;
|
|
4362
4362
|
for (s = 0; s < r.length; s += 1) {
|
|
4363
|
-
const a =
|
|
4364
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4363
|
+
const a = Lt(i, r, s);
|
|
4364
|
+
n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
|
|
4365
4365
|
}
|
|
4366
4366
|
for (; s < n.length; s += 1)
|
|
4367
4367
|
n[s].d(1);
|
|
@@ -4369,14 +4369,14 @@ function to(e) {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
},
|
|
4371
4371
|
d(i) {
|
|
4372
|
-
i && L(t),
|
|
4372
|
+
i && L(t), Gt(n, i);
|
|
4373
4373
|
}
|
|
4374
4374
|
};
|
|
4375
4375
|
}
|
|
4376
|
-
function
|
|
4376
|
+
function no(e) {
|
|
4377
4377
|
let t, r, n = ye({ length: 3 }), i = [];
|
|
4378
4378
|
for (let o = 0; o < n.length; o += 1)
|
|
4379
|
-
i[o] =
|
|
4379
|
+
i[o] = Rt(Mt(e, n, o));
|
|
4380
4380
|
return {
|
|
4381
4381
|
c() {
|
|
4382
4382
|
t = w("div"), r = w("div");
|
|
@@ -4395,8 +4395,8 @@ function ro(e) {
|
|
|
4395
4395
|
n = ye({ length: 3 });
|
|
4396
4396
|
let a;
|
|
4397
4397
|
for (a = 0; a < n.length; a += 1) {
|
|
4398
|
-
const h =
|
|
4399
|
-
i[a] ? i[a].p(h, s) : (i[a] =
|
|
4398
|
+
const h = Mt(o, n, a);
|
|
4399
|
+
i[a] ? i[a].p(h, s) : (i[a] = Rt(h), i[a].c(), i[a].m(r, null));
|
|
4400
4400
|
}
|
|
4401
4401
|
for (; a < i.length; a += 1)
|
|
4402
4402
|
i[a].d(1);
|
|
@@ -4404,11 +4404,11 @@ function ro(e) {
|
|
|
4404
4404
|
}
|
|
4405
4405
|
},
|
|
4406
4406
|
d(o) {
|
|
4407
|
-
o && L(t),
|
|
4407
|
+
o && L(t), Gt(i, o);
|
|
4408
4408
|
}
|
|
4409
4409
|
};
|
|
4410
4410
|
}
|
|
4411
|
-
function
|
|
4411
|
+
function $t(e) {
|
|
4412
4412
|
let t, r, n, i, o, s, a, h = (
|
|
4413
4413
|
/*notification*/
|
|
4414
4414
|
e[24].title + ""
|
|
@@ -4418,9 +4418,9 @@ function Mt(e) {
|
|
|
4418
4418
|
), m;
|
|
4419
4419
|
return {
|
|
4420
4420
|
c() {
|
|
4421
|
-
t = w("div"), r = w("div"), n = w("img"), s = pe(), a = w("p"), u =
|
|
4421
|
+
t = w("div"), r = w("div"), n = w("img"), s = pe(), a = w("p"), u = Ft(h), l = pe(), c = w("p"), m = pe(), x(n, "class", "PlayerAccountNotificationIcon"), x(n, "width", "24px"), x(n, "height", "24px"), lt(n.src, i = /*notification*/
|
|
4422
4422
|
e[24].icon) || x(n, "src", i), x(n, "alt", o = /*notification*/
|
|
4423
|
-
e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"),
|
|
4423
|
+
e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"), ct(
|
|
4424
4424
|
t,
|
|
4425
4425
|
"background",
|
|
4426
4426
|
/*notification*/
|
|
@@ -4432,15 +4432,15 @@ function Mt(e) {
|
|
|
4432
4432
|
},
|
|
4433
4433
|
p(p, d) {
|
|
4434
4434
|
d & /*notificationsData*/
|
|
4435
|
-
2 && !
|
|
4435
|
+
2 && !lt(n.src, i = /*notification*/
|
|
4436
4436
|
p[24].icon) && x(n, "src", i), d & /*notificationsData*/
|
|
4437
4437
|
2 && o !== (o = /*notification*/
|
|
4438
4438
|
p[24].title) && x(n, "alt", o), d & /*notificationsData*/
|
|
4439
4439
|
2 && h !== (h = /*notification*/
|
|
4440
|
-
p[24].title + "") &&
|
|
4440
|
+
p[24].title + "") && Or(u, h), d & /*notificationsData*/
|
|
4441
4441
|
2 && f !== (f = /*notification*/
|
|
4442
4442
|
p[24].description + "") && (c.innerHTML = f), d & /*notificationsData*/
|
|
4443
|
-
2 &&
|
|
4443
|
+
2 && ct(
|
|
4444
4444
|
t,
|
|
4445
4445
|
"background",
|
|
4446
4446
|
/*notification*/
|
|
@@ -4452,7 +4452,7 @@ function Mt(e) {
|
|
|
4452
4452
|
}
|
|
4453
4453
|
};
|
|
4454
4454
|
}
|
|
4455
|
-
function
|
|
4455
|
+
function io(e) {
|
|
4456
4456
|
let t;
|
|
4457
4457
|
return {
|
|
4458
4458
|
c() {
|
|
@@ -4473,7 +4473,7 @@ function no(e) {
|
|
|
4473
4473
|
}
|
|
4474
4474
|
};
|
|
4475
4475
|
}
|
|
4476
|
-
function
|
|
4476
|
+
function oo(e) {
|
|
4477
4477
|
let t;
|
|
4478
4478
|
return {
|
|
4479
4479
|
c() {
|
|
@@ -4488,12 +4488,12 @@ function io(e) {
|
|
|
4488
4488
|
}
|
|
4489
4489
|
};
|
|
4490
4490
|
}
|
|
4491
|
-
function
|
|
4491
|
+
function Rt(e) {
|
|
4492
4492
|
let t, r;
|
|
4493
4493
|
function n(s, a) {
|
|
4494
4494
|
return (
|
|
4495
4495
|
/*isMobile*/
|
|
4496
|
-
s[3] ?
|
|
4496
|
+
s[3] ? io : oo
|
|
4497
4497
|
);
|
|
4498
4498
|
}
|
|
4499
4499
|
let o = n(e)(e);
|
|
@@ -4512,7 +4512,7 @@ function $t(e) {
|
|
|
4512
4512
|
}
|
|
4513
4513
|
};
|
|
4514
4514
|
}
|
|
4515
|
-
function
|
|
4515
|
+
function so(e) {
|
|
4516
4516
|
let t;
|
|
4517
4517
|
function r(o, s) {
|
|
4518
4518
|
var a;
|
|
@@ -4520,12 +4520,12 @@ function oo(e) {
|
|
|
4520
4520
|
/*skeletonLoading*/
|
|
4521
4521
|
o[2]
|
|
4522
4522
|
)
|
|
4523
|
-
return
|
|
4523
|
+
return no;
|
|
4524
4524
|
if (
|
|
4525
4525
|
/*notificationsData*/
|
|
4526
4526
|
(a = o[1]) != null && a.length
|
|
4527
4527
|
)
|
|
4528
|
-
return
|
|
4528
|
+
return ro;
|
|
4529
4529
|
}
|
|
4530
4530
|
let n = r(e), i = n && n(e);
|
|
4531
4531
|
return {
|
|
@@ -4545,22 +4545,23 @@ function oo(e) {
|
|
|
4545
4545
|
}
|
|
4546
4546
|
};
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4549
|
-
let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, c, f, m = !0, p = window.navigator.userAgent, d =
|
|
4548
|
+
function ao(e, t, r) {
|
|
4549
|
+
let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, c, f, m = !0, p = window.navigator.userAgent, d = Ct(p) !== "PC", E = [], B = [], M = U();
|
|
4550
4550
|
const H = window.matchMedia("(min-width: 768px)");
|
|
4551
4551
|
function U() {
|
|
4552
|
-
const y =
|
|
4552
|
+
const y = Ct(p);
|
|
4553
4553
|
if (y)
|
|
4554
4554
|
return y === "PC" ? "dk" : "mtWeb";
|
|
4555
4555
|
}
|
|
4556
4556
|
const I = () => {
|
|
4557
4557
|
const y = new URL(`${i}/${n}/support-information`);
|
|
4558
|
-
y.searchParams.append("env", o), y.searchParams.append("userRoles", s), y.searchParams.append("device", M), fetch(y.href).then((
|
|
4559
|
-
|
|
4560
|
-
|
|
4558
|
+
y.searchParams.append("env", o), y.searchParams.append("userRoles", s), y.searchParams.append("device", M), fetch(y.href).then((G) => G.json()).then((G) => {
|
|
4559
|
+
var it;
|
|
4560
|
+
G.length && (r(1, E = (it = G[0].children) != null ? it : G), E == null || E.forEach((yr) => {
|
|
4561
|
+
B.length && (yr.backgroundColor = B[0], B.shift());
|
|
4561
4562
|
}));
|
|
4562
|
-
}).catch((
|
|
4563
|
-
console.error(
|
|
4563
|
+
}).catch((G) => {
|
|
4564
|
+
console.error(G);
|
|
4564
4565
|
}).finally(() => {
|
|
4565
4566
|
setTimeout(
|
|
4566
4567
|
() => {
|
|
@@ -4572,7 +4573,7 @@ function so(e, t, r) {
|
|
|
4572
4573
|
}, D = () => {
|
|
4573
4574
|
a.replace(" ", ""), B = a.split(",");
|
|
4574
4575
|
};
|
|
4575
|
-
|
|
4576
|
+
Cr(() => () => {
|
|
4576
4577
|
});
|
|
4577
4578
|
function he(y) {
|
|
4578
4579
|
Re[y ? "unshift" : "push"](() => {
|
|
@@ -4586,9 +4587,9 @@ function so(e, t, r) {
|
|
|
4586
4587
|
512 && a && D(), e.$$.dirty & /*notificationsData*/
|
|
4587
4588
|
2 && E && D(), e.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
4588
4589
|
480 && s && i && o && n && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4589
|
-
1025 && h && c &&
|
|
4590
|
-
2049 && u && c &&
|
|
4591
|
-
4097 && l && c &&
|
|
4590
|
+
1025 && h && c && Ji(c, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4591
|
+
2049 && u && c && Yi(c, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4592
|
+
4097 && l && c && qi(c, `${l}.Style`, f);
|
|
4592
4593
|
}, [
|
|
4593
4594
|
c,
|
|
4594
4595
|
E,
|
|
@@ -4606,14 +4607,14 @@ function so(e, t, r) {
|
|
|
4606
4607
|
he
|
|
4607
4608
|
];
|
|
4608
4609
|
}
|
|
4609
|
-
class
|
|
4610
|
+
class uo extends Xr {
|
|
4610
4611
|
constructor(t) {
|
|
4611
|
-
super(),
|
|
4612
|
+
super(), kr(
|
|
4612
4613
|
this,
|
|
4613
4614
|
t,
|
|
4615
|
+
ao,
|
|
4614
4616
|
so,
|
|
4615
|
-
|
|
4616
|
-
Ut,
|
|
4617
|
+
Dt,
|
|
4617
4618
|
{
|
|
4618
4619
|
lang: 5,
|
|
4619
4620
|
cmsendpoint: 6,
|
|
@@ -4624,7 +4625,7 @@ class ao extends Vr {
|
|
|
4624
4625
|
clientstylingurl: 11,
|
|
4625
4626
|
mbsource: 12
|
|
4626
4627
|
},
|
|
4627
|
-
|
|
4628
|
+
to
|
|
4628
4629
|
);
|
|
4629
4630
|
}
|
|
4630
4631
|
get lang() {
|
|
@@ -4676,7 +4677,7 @@ class ao extends Vr {
|
|
|
4676
4677
|
this.$$set({ mbsource: t }), O();
|
|
4677
4678
|
}
|
|
4678
4679
|
}
|
|
4679
|
-
|
|
4680
|
+
Vr(uo, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4680
4681
|
export {
|
|
4681
|
-
|
|
4682
|
+
uo as default
|
|
4682
4683
|
};
|