@everymatrix/player-account-notifications 1.85.17 → 1.85.19
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-RJI1qRI_.js → PlayerAccountNotifications-CFr5ray8.js} +124 -121
- package/components/{PlayerAccountNotifications-CpuwqpkY.cjs → PlayerAccountNotifications-Nvqp2Mxm.cjs} +3 -3
- package/components/{PlayerAccountNotifications-BdxC3tz1.js → PlayerAccountNotifications-kA3mMYbu.js} +47 -44
- 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-RJI1qRI_.js → PlayerAccountNotifications-CFr5ray8.js}
RENAMED
|
@@ -32,14 +32,14 @@ function cr(e, ...t) {
|
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function w(e, t) {
|
|
36
36
|
e.appendChild(t);
|
|
37
37
|
}
|
|
38
38
|
function fr(e, t, r) {
|
|
39
39
|
const n = pr(e);
|
|
40
40
|
if (!n.getElementById(t)) {
|
|
41
41
|
const i = T("style");
|
|
42
|
-
i.id = t, i.textContent = r,
|
|
42
|
+
i.id = t, i.textContent = r, mr(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
function pr(e) {
|
|
@@ -52,8 +52,8 @@ function pr(e) {
|
|
|
52
52
|
t
|
|
53
53
|
) : e.ownerDocument;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
55
|
+
function mr(e, t) {
|
|
56
|
+
return w(
|
|
57
57
|
/** @type {Document} */
|
|
58
58
|
e.head || e,
|
|
59
59
|
t
|
|
@@ -85,7 +85,7 @@ function V(e, t, r) {
|
|
|
85
85
|
const n = t.toLowerCase();
|
|
86
86
|
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);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function dr(e) {
|
|
89
89
|
return Array.from(e.childNodes);
|
|
90
90
|
}
|
|
91
91
|
function br(e, t) {
|
|
@@ -168,17 +168,17 @@ const Tr = /* @__PURE__ */ new Set();
|
|
|
168
168
|
function Hr(e, t) {
|
|
169
169
|
e && e.i && (Tr.delete(e), e.i(t));
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function de(e) {
|
|
172
172
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ar(e, t, r) {
|
|
175
175
|
const { fragment: n, after_update: i } = e.$$;
|
|
176
176
|
n && n.m(t, r), Me(() => {
|
|
177
177
|
const o = e.$$.on_mount.map(Bt).filter(qe);
|
|
178
178
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
179
179
|
}), i.forEach(Me);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function wr(e, t) {
|
|
182
182
|
const r = e.$$;
|
|
183
183
|
r.fragment !== null && (Sr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
184
184
|
}
|
|
@@ -211,16 +211,16 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
211
211
|
};
|
|
212
212
|
s && s(u.root);
|
|
213
213
|
let l = !1;
|
|
214
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
215
|
-
const
|
|
216
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
214
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
215
|
+
const d = m.length ? m[0] : f;
|
|
216
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Pr(e, c)), f;
|
|
217
217
|
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
218
218
|
if (t.hydrate) {
|
|
219
|
-
const c =
|
|
219
|
+
const c = dr(t.target);
|
|
220
220
|
u.fragment && u.fragment.l(c), c.forEach(I);
|
|
221
221
|
} else
|
|
222
222
|
u.fragment && u.fragment.c();
|
|
223
|
-
t.intro && Hr(e.$$.fragment),
|
|
223
|
+
t.intro && Hr(e.$$.fragment), Ar(e, t.target, t.anchor), B();
|
|
224
224
|
}
|
|
225
225
|
K(h);
|
|
226
226
|
}
|
|
@@ -419,7 +419,7 @@ class Nr {
|
|
|
419
419
|
$$set = void 0;
|
|
420
420
|
/** @returns {void} */
|
|
421
421
|
$destroy() {
|
|
422
|
-
|
|
422
|
+
wr(this, 1), this.$destroy = H;
|
|
423
423
|
}
|
|
424
424
|
/**
|
|
425
425
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -524,7 +524,7 @@ function Lt(e) {
|
|
|
524
524
|
}, r = e(t);
|
|
525
525
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
526
526
|
}
|
|
527
|
-
var
|
|
527
|
+
var Ae = Lt(function(e) {
|
|
528
528
|
return function(r) {
|
|
529
529
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
530
530
|
` + r.map(function(n, i) {
|
|
@@ -572,25 +572,25 @@ var ve = function() {
|
|
|
572
572
|
try {
|
|
573
573
|
l();
|
|
574
574
|
} catch (p) {
|
|
575
|
-
o = p instanceof
|
|
575
|
+
o = p instanceof Ae ? p.errors : [p];
|
|
576
576
|
}
|
|
577
577
|
var c = this._finalizers;
|
|
578
578
|
if (c) {
|
|
579
579
|
this._finalizers = null;
|
|
580
580
|
try {
|
|
581
|
-
for (var f = Re(c),
|
|
582
|
-
var
|
|
581
|
+
for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
|
|
582
|
+
var d = m.value;
|
|
583
583
|
try {
|
|
584
|
-
it(
|
|
584
|
+
it(d);
|
|
585
585
|
} catch (p) {
|
|
586
|
-
o = o ?? [], p instanceof
|
|
586
|
+
o = o ?? [], p instanceof Ae ? o = De(De([], Ue(o)), Ue(p.errors)) : o.push(p);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
} catch (p) {
|
|
590
590
|
n = { error: p };
|
|
591
591
|
} finally {
|
|
592
592
|
try {
|
|
593
|
-
|
|
593
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
594
594
|
} finally {
|
|
595
595
|
if (n)
|
|
596
596
|
throw n.error;
|
|
@@ -598,7 +598,7 @@ var ve = function() {
|
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
if (o)
|
|
601
|
-
throw new
|
|
601
|
+
throw new Ae(o);
|
|
602
602
|
}
|
|
603
603
|
}, e.prototype.add = function(t) {
|
|
604
604
|
var r;
|
|
@@ -1010,11 +1010,11 @@ function J(e, t, r) {
|
|
|
1010
1010
|
if (l)
|
|
1011
1011
|
return;
|
|
1012
1012
|
c();
|
|
1013
|
-
const
|
|
1014
|
-
o ? s(
|
|
1015
|
-
},
|
|
1016
|
-
(
|
|
1017
|
-
|
|
1013
|
+
const d = t(n ? u[0] : u, s, a);
|
|
1014
|
+
o ? s(d) : c = qe(d) ? d : H;
|
|
1015
|
+
}, m = i.map(
|
|
1016
|
+
(d, p) => cr(
|
|
1017
|
+
d,
|
|
1018
1018
|
(S) => {
|
|
1019
1019
|
u[p] = S, l &= ~(1 << p), h && f();
|
|
1020
1020
|
},
|
|
@@ -1024,7 +1024,7 @@ function J(e, t, r) {
|
|
|
1024
1024
|
)
|
|
1025
1025
|
);
|
|
1026
1026
|
return h = !0, f(), function() {
|
|
1027
|
-
ne(
|
|
1027
|
+
ne(m), c(), h = !1;
|
|
1028
1028
|
};
|
|
1029
1029
|
});
|
|
1030
1030
|
}
|
|
@@ -1138,14 +1138,14 @@ function cn(e, t) {
|
|
|
1138
1138
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1139
1139
|
return r;
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function we(e, t, r) {
|
|
1142
1142
|
if (r || arguments.length === 2)
|
|
1143
1143
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1144
1144
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1145
1145
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1146
1146
|
}
|
|
1147
1147
|
function Pe(e, t) {
|
|
1148
|
-
var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy :
|
|
1148
|
+
var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : mn;
|
|
1149
1149
|
return i(e, {
|
|
1150
1150
|
cache: r,
|
|
1151
1151
|
serializer: n
|
|
@@ -1165,11 +1165,11 @@ function Ft(e, t, r) {
|
|
|
1165
1165
|
function jt(e, t, r, n, i) {
|
|
1166
1166
|
return r.bind(t, e, n, i);
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function mn(e, t) {
|
|
1169
1169
|
var r = e.length === 1 ? pn : Ft;
|
|
1170
1170
|
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function dn(e, t) {
|
|
1173
1173
|
return jt(e, this, Ft, t.cache.create(), t.serializer);
|
|
1174
1174
|
}
|
|
1175
1175
|
var bn = function() {
|
|
@@ -1191,7 +1191,7 @@ var bn = function() {
|
|
|
1191
1191
|
return new gn();
|
|
1192
1192
|
}
|
|
1193
1193
|
}, Be = {
|
|
1194
|
-
variadic:
|
|
1194
|
+
variadic: dn
|
|
1195
1195
|
}, be = function() {
|
|
1196
1196
|
return be = Object.assign || function(t) {
|
|
1197
1197
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -1371,8 +1371,8 @@ function Tn(e) {
|
|
|
1371
1371
|
function Hn(e) {
|
|
1372
1372
|
return e.replace(/^(.*?)-/, "");
|
|
1373
1373
|
}
|
|
1374
|
-
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1375
|
-
function
|
|
1374
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
1375
|
+
function mt(e) {
|
|
1376
1376
|
var t = {};
|
|
1377
1377
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
|
|
1378
1378
|
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)), "";
|
|
@@ -1418,7 +1418,7 @@ function Kt(e) {
|
|
|
1418
1418
|
};
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
|
-
function
|
|
1421
|
+
function wn(e) {
|
|
1422
1422
|
var t;
|
|
1423
1423
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1424
1424
|
notation: "engineering"
|
|
@@ -1432,7 +1432,7 @@ function An(e) {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
return t;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function dt(e) {
|
|
1436
1436
|
var t = {}, r = Kt(e);
|
|
1437
1437
|
return r || t;
|
|
1438
1438
|
}
|
|
@@ -1472,12 +1472,12 @@ function Pn(e) {
|
|
|
1472
1472
|
continue;
|
|
1473
1473
|
case "scientific":
|
|
1474
1474
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1475
|
-
return _(_({}, h),
|
|
1475
|
+
return _(_({}, h), dt(u));
|
|
1476
1476
|
}, {}));
|
|
1477
1477
|
continue;
|
|
1478
1478
|
case "engineering":
|
|
1479
1479
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1480
|
-
return _(_({}, h),
|
|
1480
|
+
return _(_({}, h), dt(u));
|
|
1481
1481
|
}, {}));
|
|
1482
1482
|
continue;
|
|
1483
1483
|
case "notation-simple":
|
|
@@ -1522,13 +1522,13 @@ function Pn(e) {
|
|
|
1522
1522
|
case "integer-width":
|
|
1523
1523
|
if (i.options.length > 1)
|
|
1524
1524
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1525
|
-
i.options[0].replace(
|
|
1525
|
+
i.options[0].replace(An, function(h, u, l, c, f, m) {
|
|
1526
1526
|
if (u)
|
|
1527
1527
|
t.minimumIntegerDigits = l.length;
|
|
1528
1528
|
else {
|
|
1529
1529
|
if (c && f)
|
|
1530
1530
|
throw new Error("We currently do not support maximum integer digits");
|
|
1531
|
-
if (
|
|
1531
|
+
if (m)
|
|
1532
1532
|
throw new Error("We currently do not support exact integer digits");
|
|
1533
1533
|
}
|
|
1534
1534
|
return "";
|
|
@@ -1542,20 +1542,20 @@ function Pn(e) {
|
|
|
1542
1542
|
if (pt.test(i.stem)) {
|
|
1543
1543
|
if (i.options.length > 1)
|
|
1544
1544
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1545
|
-
i.stem.replace(pt, function(h, u, l, c, f,
|
|
1546
|
-
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1545
|
+
i.stem.replace(pt, function(h, u, l, c, f, m) {
|
|
1546
|
+
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), "";
|
|
1547
1547
|
});
|
|
1548
1548
|
var o = i.options[0];
|
|
1549
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1549
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), mt(o)));
|
|
1550
1550
|
continue;
|
|
1551
1551
|
}
|
|
1552
1552
|
if (qt.test(i.stem)) {
|
|
1553
|
-
t = _(_({}, t),
|
|
1553
|
+
t = _(_({}, t), mt(i.stem));
|
|
1554
1554
|
continue;
|
|
1555
1555
|
}
|
|
1556
1556
|
var s = Kt(i.stem);
|
|
1557
1557
|
s && (t = _(_({}, t), s));
|
|
1558
|
-
var a =
|
|
1558
|
+
var a = wn(i.stem);
|
|
1559
1559
|
a && (t = _(_({}, t), a));
|
|
1560
1560
|
}
|
|
1561
1561
|
return t;
|
|
@@ -3318,12 +3318,12 @@ var Vn = (
|
|
|
3318
3318
|
var f = kn(c.val);
|
|
3319
3319
|
if (f.length === 0)
|
|
3320
3320
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3321
|
-
var
|
|
3322
|
-
u = { style: f, styleLocation:
|
|
3321
|
+
var m = g(l, this.clonePosition());
|
|
3322
|
+
u = { style: f, styleLocation: m };
|
|
3323
3323
|
}
|
|
3324
|
-
var
|
|
3325
|
-
if (
|
|
3326
|
-
return
|
|
3324
|
+
var d = this.tryParseArgumentClose(i);
|
|
3325
|
+
if (d.err)
|
|
3326
|
+
return d;
|
|
3327
3327
|
var p = g(i, this.clonePosition());
|
|
3328
3328
|
if (u && bt(u?.style, "::", 0)) {
|
|
3329
3329
|
var S = jn(u.style.slice(2));
|
|
@@ -3363,9 +3363,9 @@ var Vn = (
|
|
|
3363
3363
|
case "plural":
|
|
3364
3364
|
case "selectordinal":
|
|
3365
3365
|
case "select": {
|
|
3366
|
-
var
|
|
3366
|
+
var A = this.clonePosition();
|
|
3367
3367
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3368
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
|
3368
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(A, be({}, A)));
|
|
3369
3369
|
this.bumpSpace();
|
|
3370
3370
|
var R = this.parseIdentifierIfPossible(), P = 0;
|
|
3371
3371
|
if (a !== "select" && R.value === "offset") {
|
|
@@ -3380,9 +3380,9 @@ var Vn = (
|
|
|
3380
3380
|
var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3381
3381
|
if (D.err)
|
|
3382
3382
|
return D;
|
|
3383
|
-
var
|
|
3384
|
-
if (
|
|
3385
|
-
return
|
|
3383
|
+
var d = this.tryParseArgumentClose(i);
|
|
3384
|
+
if (d.err)
|
|
3385
|
+
return d;
|
|
3386
3386
|
var y = g(i, this.clonePosition());
|
|
3387
3387
|
return a === "select" ? {
|
|
3388
3388
|
val: {
|
|
@@ -3475,20 +3475,20 @@ var Vn = (
|
|
|
3475
3475
|
if (h.has(u))
|
|
3476
3476
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3477
3477
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3478
|
-
var
|
|
3478
|
+
var m = this.clonePosition();
|
|
3479
3479
|
if (!this.bumpIf("{"))
|
|
3480
3480
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3481
|
-
var
|
|
3482
|
-
if (
|
|
3483
|
-
return
|
|
3484
|
-
var p = this.tryParseArgumentClose(
|
|
3481
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3482
|
+
if (d.err)
|
|
3483
|
+
return d;
|
|
3484
|
+
var p = this.tryParseArgumentClose(m);
|
|
3485
3485
|
if (p.err)
|
|
3486
3486
|
return p;
|
|
3487
3487
|
a.push([
|
|
3488
3488
|
u,
|
|
3489
3489
|
{
|
|
3490
|
-
value:
|
|
3491
|
-
location: g(
|
|
3490
|
+
value: d.val,
|
|
3491
|
+
location: g(m, this.clonePosition())
|
|
3492
3492
|
}
|
|
3493
3493
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3494
3494
|
}
|
|
@@ -3695,34 +3695,34 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3695
3695
|
continue;
|
|
3696
3696
|
}
|
|
3697
3697
|
if (Vt(l)) {
|
|
3698
|
-
var
|
|
3698
|
+
var m = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
|
|
3699
3699
|
a.push({
|
|
3700
3700
|
type: E.literal,
|
|
3701
|
-
value: r.getDateTimeFormat(t,
|
|
3701
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3702
3702
|
});
|
|
3703
3703
|
continue;
|
|
3704
3704
|
}
|
|
3705
3705
|
if (Xt(l)) {
|
|
3706
|
-
var
|
|
3706
|
+
var m = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3707
3707
|
a.push({
|
|
3708
3708
|
type: E.literal,
|
|
3709
|
-
value: r.getDateTimeFormat(t,
|
|
3709
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3710
3710
|
});
|
|
3711
3711
|
continue;
|
|
3712
3712
|
}
|
|
3713
3713
|
if (kt(l)) {
|
|
3714
|
-
var
|
|
3715
|
-
|
|
3714
|
+
var m = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
|
|
3715
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3716
3716
|
type: E.literal,
|
|
3717
|
-
value: r.getNumberFormat(t,
|
|
3717
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3718
3718
|
});
|
|
3719
3719
|
continue;
|
|
3720
3720
|
}
|
|
3721
3721
|
if (Zt(l)) {
|
|
3722
|
-
var
|
|
3722
|
+
var d = l.children, p = l.value, S = i[p];
|
|
3723
3723
|
if (!Yn(S))
|
|
3724
3724
|
throw new Qn(p, "function", s);
|
|
3725
|
-
var $ = pe(
|
|
3725
|
+
var $ = pe(d, t, r, n, i, o), C = S($.map(function(P) {
|
|
3726
3726
|
return P.value;
|
|
3727
3727
|
}));
|
|
3728
3728
|
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(P) {
|
|
@@ -3733,25 +3733,25 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3733
3733
|
}));
|
|
3734
3734
|
}
|
|
3735
3735
|
if (Wt(l)) {
|
|
3736
|
-
var
|
|
3737
|
-
if (!
|
|
3736
|
+
var A = l.options[f] || l.options.other;
|
|
3737
|
+
if (!A)
|
|
3738
3738
|
throw new vt(l.value, f, Object.keys(l.options), s);
|
|
3739
|
-
a.push.apply(a, pe(
|
|
3739
|
+
a.push.apply(a, pe(A.value, t, r, n, i));
|
|
3740
3740
|
continue;
|
|
3741
3741
|
}
|
|
3742
3742
|
if (zt(l)) {
|
|
3743
|
-
var
|
|
3744
|
-
if (!
|
|
3743
|
+
var A = l.options["=".concat(f)];
|
|
3744
|
+
if (!A) {
|
|
3745
3745
|
if (!Intl.PluralRules)
|
|
3746
3746
|
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3747
3747
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3748
3748
|
`, Z.MISSING_INTL_API, s);
|
|
3749
3749
|
var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3750
|
-
|
|
3750
|
+
A = l.options[R] || l.options.other;
|
|
3751
3751
|
}
|
|
3752
|
-
if (!
|
|
3752
|
+
if (!A)
|
|
3753
3753
|
throw new vt(l.value, f, Object.keys(l.options), s);
|
|
3754
|
-
a.push.apply(a, pe(
|
|
3754
|
+
a.push.apply(a, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3755
3755
|
continue;
|
|
3756
3756
|
}
|
|
3757
3757
|
}
|
|
@@ -3790,7 +3790,7 @@ function ti(e) {
|
|
|
3790
3790
|
getNumberFormat: Pe(function() {
|
|
3791
3791
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3792
3792
|
r[n] = arguments[n];
|
|
3793
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3793
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3794
3794
|
}, {
|
|
3795
3795
|
cache: Ne(e.number),
|
|
3796
3796
|
strategy: Be.variadic
|
|
@@ -3798,7 +3798,7 @@ function ti(e) {
|
|
|
3798
3798
|
getDateTimeFormat: Pe(function() {
|
|
3799
3799
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3800
3800
|
r[n] = arguments[n];
|
|
3801
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3801
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3802
3802
|
}, {
|
|
3803
3803
|
cache: Ne(e.dateTime),
|
|
3804
3804
|
strategy: Be.variadic
|
|
@@ -3806,7 +3806,7 @@ function ti(e) {
|
|
|
3806
3806
|
getPluralRules: Pe(function() {
|
|
3807
3807
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3808
3808
|
r[n] = arguments[n];
|
|
3809
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3809
|
+
return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
|
|
3810
3810
|
}, {
|
|
3811
3811
|
cache: Ne(e.pluralRules),
|
|
3812
3812
|
strategy: Be.variadic
|
|
@@ -3990,12 +3990,12 @@ J(
|
|
|
3990
3990
|
([e]) => Object.keys(e)
|
|
3991
3991
|
);
|
|
3992
3992
|
oe.subscribe((e) => Ye = e);
|
|
3993
|
-
const
|
|
3993
|
+
const me = {};
|
|
3994
3994
|
function hi(e, t) {
|
|
3995
|
-
|
|
3995
|
+
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3996
3996
|
}
|
|
3997
3997
|
function or(e) {
|
|
3998
|
-
return
|
|
3998
|
+
return me[e];
|
|
3999
3999
|
}
|
|
4000
4000
|
function li(e) {
|
|
4001
4001
|
return Se(e).map((t) => {
|
|
@@ -4067,12 +4067,12 @@ const fi = {
|
|
|
4067
4067
|
warnOnMissingMessages: !0,
|
|
4068
4068
|
handleMissingMessage: void 0,
|
|
4069
4069
|
ignoreTag: !0
|
|
4070
|
-
},
|
|
4070
|
+
}, mi = pi;
|
|
4071
4071
|
function Q() {
|
|
4072
|
-
return
|
|
4072
|
+
return mi;
|
|
4073
4073
|
}
|
|
4074
4074
|
const Ie = _e(!1);
|
|
4075
|
-
var
|
|
4075
|
+
var di = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
|
|
4076
4076
|
for (var r in t || (t = {}))
|
|
4077
4077
|
yi.call(t, r) && xt(e, r, t[r]);
|
|
4078
4078
|
if (_t)
|
|
@@ -4153,7 +4153,7 @@ const re = (e, t) => {
|
|
|
4153
4153
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4154
4154
|
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4155
4155
|
}
|
|
4156
|
-
),
|
|
4156
|
+
), Ai = Te(
|
|
4157
4157
|
(e) => {
|
|
4158
4158
|
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4159
4159
|
if (r == null)
|
|
@@ -4162,7 +4162,7 @@ const re = (e, t) => {
|
|
|
4162
4162
|
);
|
|
4163
4163
|
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4164
4164
|
}
|
|
4165
|
-
),
|
|
4165
|
+
), wi = (e = {}) => {
|
|
4166
4166
|
var t = e, {
|
|
4167
4167
|
locale: r = U()
|
|
4168
4168
|
} = t, n = q(t, [
|
|
@@ -4182,7 +4182,7 @@ const re = (e, t) => {
|
|
|
4182
4182
|
} = t, n = q(t, [
|
|
4183
4183
|
"locale"
|
|
4184
4184
|
]);
|
|
4185
|
-
return
|
|
4185
|
+
return Ai(Ke({ locale: r }, n));
|
|
4186
4186
|
}, Oi = Te(
|
|
4187
4187
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4188
4188
|
(e, t = U()) => new ri(e, t, Q().formats, {
|
|
@@ -4220,7 +4220,7 @@ const re = (e, t) => {
|
|
|
4220
4220
|
);
|
|
4221
4221
|
}
|
|
4222
4222
|
return c;
|
|
4223
|
-
}, Ii = (e, t) => Bi(t).format(e), Ci = (e, t) => Pi(t).format(e), Li = (e, t) =>
|
|
4223
|
+
}, Ii = (e, t) => Bi(t).format(e), Ci = (e, t) => Pi(t).format(e), Li = (e, t) => wi(t).format(e), Mi = (e, t = U()) => nr(e, t);
|
|
4224
4224
|
J([se, oe], () => Ni);
|
|
4225
4225
|
J([se], () => Ii);
|
|
4226
4226
|
J([se], () => Ci);
|
|
@@ -4228,6 +4228,7 @@ J([se], () => Li);
|
|
|
4228
4228
|
J([se, oe], () => Mi);
|
|
4229
4229
|
window.emWidgets = { topic: Wr };
|
|
4230
4230
|
const Tt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4231
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4231
4232
|
function $i(e, t) {
|
|
4232
4233
|
if (e) {
|
|
4233
4234
|
const r = document.createElement("style");
|
|
@@ -4235,6 +4236,8 @@ function $i(e, t) {
|
|
|
4235
4236
|
}
|
|
4236
4237
|
}
|
|
4237
4238
|
function Ri(e, t) {
|
|
4239
|
+
if (!e || !t)
|
|
4240
|
+
return;
|
|
4238
4241
|
const r = new URL(t);
|
|
4239
4242
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4240
4243
|
const i = document.createElement("style");
|
|
@@ -4258,17 +4261,17 @@ function Ht(e, t, r) {
|
|
|
4258
4261
|
const n = e.slice();
|
|
4259
4262
|
return n[24] = t[r], n;
|
|
4260
4263
|
}
|
|
4261
|
-
function
|
|
4264
|
+
function At(e, t, r) {
|
|
4262
4265
|
const n = e.slice();
|
|
4263
4266
|
return n[21] = t[r], n;
|
|
4264
4267
|
}
|
|
4265
4268
|
function Gi(e) {
|
|
4266
|
-
let t, r =
|
|
4269
|
+
let t, r = de(
|
|
4267
4270
|
/*notificationsData*/
|
|
4268
4271
|
e[1]
|
|
4269
4272
|
), n = [];
|
|
4270
4273
|
for (let i = 0; i < r.length; i += 1)
|
|
4271
|
-
n[i] =
|
|
4274
|
+
n[i] = wt(Ht(e, r, i));
|
|
4272
4275
|
return {
|
|
4273
4276
|
c() {
|
|
4274
4277
|
t = T("div");
|
|
@@ -4286,14 +4289,14 @@ function Gi(e) {
|
|
|
4286
4289
|
p(i, o) {
|
|
4287
4290
|
if (o & /*notificationsData*/
|
|
4288
4291
|
2) {
|
|
4289
|
-
r =
|
|
4292
|
+
r = de(
|
|
4290
4293
|
/*notificationsData*/
|
|
4291
4294
|
i[1]
|
|
4292
4295
|
);
|
|
4293
4296
|
let s;
|
|
4294
4297
|
for (s = 0; s < r.length; s += 1) {
|
|
4295
4298
|
const a = Ht(i, r, s);
|
|
4296
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4299
|
+
n[s] ? n[s].p(a, o) : (n[s] = wt(a), n[s].c(), n[s].m(t, null));
|
|
4297
4300
|
}
|
|
4298
4301
|
for (; s < n.length; s += 1)
|
|
4299
4302
|
n[s].d(1);
|
|
@@ -4306,9 +4309,9 @@ function Gi(e) {
|
|
|
4306
4309
|
};
|
|
4307
4310
|
}
|
|
4308
4311
|
function Fi(e) {
|
|
4309
|
-
let t, r, n =
|
|
4312
|
+
let t, r, n = de({ length: 3 }), i = [];
|
|
4310
4313
|
for (let o = 0; o < n.length; o += 1)
|
|
4311
|
-
i[o] = Pt(
|
|
4314
|
+
i[o] = Pt(At(e, n, o));
|
|
4312
4315
|
return {
|
|
4313
4316
|
c() {
|
|
4314
4317
|
t = T("div"), r = T("div");
|
|
@@ -4317,17 +4320,17 @@ function Fi(e) {
|
|
|
4317
4320
|
x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainer");
|
|
4318
4321
|
},
|
|
4319
4322
|
m(o, s) {
|
|
4320
|
-
M(o, t, s),
|
|
4323
|
+
M(o, t, s), w(t, r);
|
|
4321
4324
|
for (let a = 0; a < i.length; a += 1)
|
|
4322
4325
|
i[a] && i[a].m(r, null);
|
|
4323
4326
|
},
|
|
4324
4327
|
p(o, s) {
|
|
4325
4328
|
if (s & /*isMobile, mediaQuery*/
|
|
4326
4329
|
24) {
|
|
4327
|
-
n =
|
|
4330
|
+
n = de({ length: 3 });
|
|
4328
4331
|
let a;
|
|
4329
4332
|
for (a = 0; a < n.length; a += 1) {
|
|
4330
|
-
const h =
|
|
4333
|
+
const h = At(o, n, a);
|
|
4331
4334
|
i[a] ? i[a].p(h, s) : (i[a] = Pt(h), i[a].c(), i[a].m(r, null));
|
|
4332
4335
|
}
|
|
4333
4336
|
for (; a < i.length; a += 1)
|
|
@@ -4340,17 +4343,17 @@ function Fi(e) {
|
|
|
4340
4343
|
}
|
|
4341
4344
|
};
|
|
4342
4345
|
}
|
|
4343
|
-
function
|
|
4346
|
+
function wt(e) {
|
|
4344
4347
|
let t, r, n, i, o, s, a, h = (
|
|
4345
4348
|
/*notification*/
|
|
4346
4349
|
e[24].title + ""
|
|
4347
4350
|
), u, l, c, f = (
|
|
4348
4351
|
/*notification*/
|
|
4349
4352
|
e[24].description + ""
|
|
4350
|
-
),
|
|
4353
|
+
), m;
|
|
4351
4354
|
return {
|
|
4352
4355
|
c() {
|
|
4353
|
-
t = T("div"), r = T("div"), n = T("img"), s = le(), a = T("p"), u = It(h), l = le(), c = T("p"),
|
|
4356
|
+
t = T("div"), r = T("div"), n = T("img"), s = le(), a = T("p"), u = It(h), l = le(), c = T("p"), m = le(), x(n, "class", "PlayerAccountNotificationIcon"), x(n, "width", "24px"), x(n, "height", "24px"), tt(n.src, i = /*notification*/
|
|
4354
4357
|
e[24].icon) || x(n, "src", i), x(n, "alt", o = /*notification*/
|
|
4355
4358
|
e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"), rt(
|
|
4356
4359
|
t,
|
|
@@ -4359,28 +4362,28 @@ function At(e) {
|
|
|
4359
4362
|
e[24].backgroundColor
|
|
4360
4363
|
);
|
|
4361
4364
|
},
|
|
4362
|
-
m(
|
|
4363
|
-
M(
|
|
4365
|
+
m(d, p) {
|
|
4366
|
+
M(d, t, p), w(t, r), w(r, n), w(r, s), w(r, a), w(a, u), w(t, l), w(t, c), c.innerHTML = f, w(t, m);
|
|
4364
4367
|
},
|
|
4365
|
-
p(
|
|
4368
|
+
p(d, p) {
|
|
4366
4369
|
p & /*notificationsData*/
|
|
4367
4370
|
2 && !tt(n.src, i = /*notification*/
|
|
4368
|
-
|
|
4371
|
+
d[24].icon) && x(n, "src", i), p & /*notificationsData*/
|
|
4369
4372
|
2 && o !== (o = /*notification*/
|
|
4370
|
-
|
|
4373
|
+
d[24].title) && x(n, "alt", o), p & /*notificationsData*/
|
|
4371
4374
|
2 && h !== (h = /*notification*/
|
|
4372
|
-
|
|
4375
|
+
d[24].title + "") && br(u, h), p & /*notificationsData*/
|
|
4373
4376
|
2 && f !== (f = /*notification*/
|
|
4374
|
-
|
|
4377
|
+
d[24].description + "") && (c.innerHTML = f), p & /*notificationsData*/
|
|
4375
4378
|
2 && rt(
|
|
4376
4379
|
t,
|
|
4377
4380
|
"background",
|
|
4378
4381
|
/*notification*/
|
|
4379
|
-
|
|
4382
|
+
d[24].backgroundColor
|
|
4380
4383
|
);
|
|
4381
4384
|
},
|
|
4382
|
-
d(
|
|
4383
|
-
|
|
4385
|
+
d(d) {
|
|
4386
|
+
d && I(t);
|
|
4384
4387
|
}
|
|
4385
4388
|
};
|
|
4386
4389
|
}
|
|
@@ -4434,7 +4437,7 @@ function Pt(e) {
|
|
|
4434
4437
|
t = T("div"), o.c(), r = le(), x(t, "class", "skeletonNotification");
|
|
4435
4438
|
},
|
|
4436
4439
|
m(s, a) {
|
|
4437
|
-
M(s, t, a), o.m(t, null),
|
|
4440
|
+
M(s, t, a), o.m(t, null), w(t, r);
|
|
4438
4441
|
},
|
|
4439
4442
|
p(s, a) {
|
|
4440
4443
|
o.p(s, a);
|
|
@@ -4477,10 +4480,10 @@ function Vi(e) {
|
|
|
4477
4480
|
};
|
|
4478
4481
|
}
|
|
4479
4482
|
function Xi(e, t, r) {
|
|
4480
|
-
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 = !0,
|
|
4483
|
+
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 = !0, m = window.navigator.userAgent, d = Tt(m) !== "PC", p = [], S = [], $ = A();
|
|
4481
4484
|
const C = window.matchMedia("(min-width: 768px)");
|
|
4482
|
-
function
|
|
4483
|
-
const y = Tt(
|
|
4485
|
+
function A() {
|
|
4486
|
+
const y = Tt(m);
|
|
4484
4487
|
if (y)
|
|
4485
4488
|
return y === "PC" ? "dk" : "mtWeb";
|
|
4486
4489
|
}
|
|
@@ -4524,7 +4527,7 @@ function Xi(e, t, r) {
|
|
|
4524
4527
|
c,
|
|
4525
4528
|
p,
|
|
4526
4529
|
f,
|
|
4527
|
-
|
|
4530
|
+
d,
|
|
4528
4531
|
C,
|
|
4529
4532
|
n,
|
|
4530
4533
|
i,
|