@everymatrix/general-logout 1.54.8 → 1.54.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-B1IrAlCT.js → GeneralLogout-DEjIkV1X.js} +100 -100
- package/components/{GeneralLogout-DwG5Og50.js → GeneralLogout-DUbY195l.js} +170 -170
- package/components/{GeneralLogout-CiXZU4jU.cjs → GeneralLogout-dsqHnt6i.cjs} +3 -3
- package/es2015/general-logout.cjs +1 -1
- package/es2015/general-logout.js +1 -1
- package/esnext/general-logout.js +1 -1
- package/package.json +1 -1
|
@@ -90,7 +90,7 @@ function St(e, t) {
|
|
|
90
90
|
function lr(e, t, r, n) {
|
|
91
91
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function cr(e) {
|
|
94
94
|
const t = {};
|
|
95
95
|
return e.childNodes.forEach(
|
|
96
96
|
/** @param {Element} node */
|
|
@@ -105,10 +105,10 @@ function te(e) {
|
|
|
105
105
|
}
|
|
106
106
|
const j = [], Pe = [];
|
|
107
107
|
let k = [];
|
|
108
|
-
const Je = [],
|
|
108
|
+
const Je = [], fr = /* @__PURE__ */ Promise.resolve();
|
|
109
109
|
let Oe = !1;
|
|
110
110
|
function pr() {
|
|
111
|
-
Oe || (Oe = !0,
|
|
111
|
+
Oe || (Oe = !0, fr.then(O));
|
|
112
112
|
}
|
|
113
113
|
function Ie(e) {
|
|
114
114
|
k.push(e);
|
|
@@ -194,13 +194,13 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
194
194
|
};
|
|
195
195
|
s && s(u.root);
|
|
196
196
|
let l = !1;
|
|
197
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
198
|
-
const y = p.length ? p[0] :
|
|
199
|
-
return u.ctx && i(u.ctx[
|
|
197
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
198
|
+
const y = p.length ? p[0] : c;
|
|
199
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && xr(e, f)), c;
|
|
200
200
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
201
201
|
if (t.hydrate) {
|
|
202
|
-
const
|
|
203
|
-
u.fragment && u.fragment.l(
|
|
202
|
+
const f = hr(t.target);
|
|
203
|
+
u.fragment && u.fragment.l(f), f.forEach(Q);
|
|
204
204
|
} else
|
|
205
205
|
u.fragment && u.fragment.c();
|
|
206
206
|
t.intro && gr(e.$$.fragment), yr(e, t.target, t.anchor), O();
|
|
@@ -267,7 +267,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
267
267
|
};
|
|
268
268
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
269
269
|
return;
|
|
270
|
-
const t = {}, r =
|
|
270
|
+
const t = {}, r = cr(this);
|
|
271
271
|
for (const i of this.$$s)
|
|
272
272
|
i in r && (t[i] = [e(i)]);
|
|
273
273
|
for (const i of this.attributes) {
|
|
@@ -552,11 +552,11 @@ var ge = function() {
|
|
|
552
552
|
} catch (v) {
|
|
553
553
|
o = v instanceof Se ? v.errors : [v];
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
if (
|
|
555
|
+
var f = this._finalizers;
|
|
556
|
+
if (f) {
|
|
557
557
|
this._finalizers = null;
|
|
558
558
|
try {
|
|
559
|
-
for (var
|
|
559
|
+
for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
|
|
560
560
|
var y = p.value;
|
|
561
561
|
try {
|
|
562
562
|
Ye(y);
|
|
@@ -568,7 +568,7 @@ var ge = function() {
|
|
|
568
568
|
n = { error: v };
|
|
569
569
|
} finally {
|
|
570
570
|
try {
|
|
571
|
-
p && !p.done && (i =
|
|
571
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
572
572
|
} finally {
|
|
573
573
|
if (n) throw n.error;
|
|
574
574
|
}
|
|
@@ -633,7 +633,7 @@ function wr(e) {
|
|
|
633
633
|
}
|
|
634
634
|
function qe() {
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function ce(e) {
|
|
637
637
|
e();
|
|
638
638
|
}
|
|
639
639
|
var wt = function(e) {
|
|
@@ -743,7 +743,7 @@ var Ke = function() {
|
|
|
743
743
|
return r.source = this, r.operator = t, r;
|
|
744
744
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
745
745
|
var i = this, o = $r(t) ? t : new $e(t, r, n);
|
|
746
|
-
return
|
|
746
|
+
return ce(function() {
|
|
747
747
|
var s = i, a = s.operator, h = s.source;
|
|
748
748
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
749
749
|
}), o;
|
|
@@ -822,7 +822,7 @@ var Rr = Ht(function(e) {
|
|
|
822
822
|
throw new Rr();
|
|
823
823
|
}, t.prototype.next = function(r) {
|
|
824
824
|
var n = this;
|
|
825
|
-
|
|
825
|
+
ce(function() {
|
|
826
826
|
var i, o;
|
|
827
827
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
828
828
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -844,7 +844,7 @@ var Rr = Ht(function(e) {
|
|
|
844
844
|
});
|
|
845
845
|
}, t.prototype.error = function(r) {
|
|
846
846
|
var n = this;
|
|
847
|
-
|
|
847
|
+
ce(function() {
|
|
848
848
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
849
849
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
850
850
|
for (var i = n.observers; i.length; )
|
|
@@ -853,7 +853,7 @@ var Rr = Ht(function(e) {
|
|
|
853
853
|
});
|
|
854
854
|
}, t.prototype.complete = function() {
|
|
855
855
|
var r = this;
|
|
856
|
-
|
|
856
|
+
ce(function() {
|
|
857
857
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
858
858
|
r.isStopped = !0;
|
|
859
859
|
for (var n = r.observers; n.length; )
|
|
@@ -981,26 +981,26 @@ function J(e, t, r) {
|
|
|
981
981
|
return Dr(r, (s, a) => {
|
|
982
982
|
let h = !1;
|
|
983
983
|
const u = [];
|
|
984
|
-
let l = 0,
|
|
985
|
-
const
|
|
984
|
+
let l = 0, f = A;
|
|
985
|
+
const c = () => {
|
|
986
986
|
if (l)
|
|
987
987
|
return;
|
|
988
|
-
|
|
988
|
+
f();
|
|
989
989
|
const y = t(n ? u[0] : u, s, a);
|
|
990
|
-
o ? s(y) :
|
|
990
|
+
o ? s(y) : f = Xe(y) ? y : A;
|
|
991
991
|
}, p = i.map(
|
|
992
992
|
(y, v) => _t(
|
|
993
993
|
y,
|
|
994
994
|
(H) => {
|
|
995
|
-
u[v] = H, l &= ~(1 << v), h &&
|
|
995
|
+
u[v] = H, l &= ~(1 << v), h && c();
|
|
996
996
|
},
|
|
997
997
|
() => {
|
|
998
998
|
l |= 1 << v;
|
|
999
999
|
}
|
|
1000
1000
|
)
|
|
1001
1001
|
);
|
|
1002
|
-
return h = !0,
|
|
1003
|
-
ie(p),
|
|
1002
|
+
return h = !0, c(), function() {
|
|
1003
|
+
ie(p), f(), h = !1;
|
|
1004
1004
|
};
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
@@ -1141,7 +1141,7 @@ var W;
|
|
|
1141
1141
|
function ot(e) {
|
|
1142
1142
|
return e.type === x.literal;
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function cn(e) {
|
|
1145
1145
|
return e.type === x.argument;
|
|
1146
1146
|
}
|
|
1147
1147
|
function Mt(e) {
|
|
@@ -1159,7 +1159,7 @@ function Rt(e) {
|
|
|
1159
1159
|
function Ut(e) {
|
|
1160
1160
|
return e.type === x.plural;
|
|
1161
1161
|
}
|
|
1162
|
-
function
|
|
1162
|
+
function fn(e) {
|
|
1163
1163
|
return e.type === x.pound;
|
|
1164
1164
|
}
|
|
1165
1165
|
function Gt(e) {
|
|
@@ -1267,15 +1267,15 @@ var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1267
1267
|
function bn(e) {
|
|
1268
1268
|
if (e.length === 0)
|
|
1269
1269
|
throw new Error("Number skeleton cannot be empty");
|
|
1270
|
-
for (var t = e.split(mn).filter(function(
|
|
1271
|
-
return
|
|
1270
|
+
for (var t = e.split(mn).filter(function(c) {
|
|
1271
|
+
return c.length > 0;
|
|
1272
1272
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1273
1273
|
var o = i[n], s = o.split("/");
|
|
1274
1274
|
if (s.length === 0)
|
|
1275
1275
|
throw new Error("Invalid number skeleton");
|
|
1276
1276
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1277
|
-
var
|
|
1278
|
-
if (
|
|
1277
|
+
var f = l[u];
|
|
1278
|
+
if (f.length === 0)
|
|
1279
1279
|
throw new Error("Invalid number skeleton");
|
|
1280
1280
|
}
|
|
1281
1281
|
r.push({ stem: a, options: h });
|
|
@@ -1436,11 +1436,11 @@ function xn(e) {
|
|
|
1436
1436
|
case "integer-width":
|
|
1437
1437
|
if (i.options.length > 1)
|
|
1438
1438
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1439
|
-
i.options[0].replace(yn, function(h, u, l,
|
|
1439
|
+
i.options[0].replace(yn, function(h, u, l, f, c, p) {
|
|
1440
1440
|
if (u)
|
|
1441
1441
|
t.minimumIntegerDigits = l.length;
|
|
1442
1442
|
else {
|
|
1443
|
-
if (
|
|
1443
|
+
if (f && c)
|
|
1444
1444
|
throw new Error("We currently do not support maximum integer digits");
|
|
1445
1445
|
if (p)
|
|
1446
1446
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1456,8 +1456,8 @@ function xn(e) {
|
|
|
1456
1456
|
if (st.test(i.stem)) {
|
|
1457
1457
|
if (i.options.length > 1)
|
|
1458
1458
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1459
|
-
i.stem.replace(st, function(h, u, l,
|
|
1460
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1459
|
+
i.stem.replace(st, function(h, u, l, f, c, p) {
|
|
1460
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1461
1461
|
});
|
|
1462
1462
|
var o = i.options[0];
|
|
1463
1463
|
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), at(o)));
|
|
@@ -3013,11 +3013,11 @@ function Wt(e, t) {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
var De;
|
|
3015
3015
|
if (Ue) {
|
|
3016
|
-
var
|
|
3016
|
+
var ct = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3017
3017
|
De = function(t, r) {
|
|
3018
3018
|
var n;
|
|
3019
|
-
|
|
3020
|
-
var i =
|
|
3019
|
+
ct.lastIndex = r;
|
|
3020
|
+
var i = ct.exec(t);
|
|
3021
3021
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3022
3022
|
};
|
|
3023
3023
|
} else
|
|
@@ -3225,14 +3225,14 @@ var $n = (
|
|
|
3225
3225
|
var u = null;
|
|
3226
3226
|
if (this.bumpIf(",")) {
|
|
3227
3227
|
this.bumpSpace();
|
|
3228
|
-
var l = this.clonePosition(),
|
|
3229
|
-
if (
|
|
3230
|
-
return
|
|
3231
|
-
var
|
|
3232
|
-
if (
|
|
3228
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3229
|
+
if (f.err)
|
|
3230
|
+
return f;
|
|
3231
|
+
var c = Cn(f.val);
|
|
3232
|
+
if (c.length === 0)
|
|
3233
3233
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3234
3234
|
var p = m(l, this.clonePosition());
|
|
3235
|
-
u = { style:
|
|
3235
|
+
u = { style: c, styleLocation: p };
|
|
3236
3236
|
}
|
|
3237
3237
|
var y = this.tryParseArgumentClose(i);
|
|
3238
3238
|
if (y.err)
|
|
@@ -3241,9 +3241,9 @@ var $n = (
|
|
|
3241
3241
|
if (u && ht(u?.style, "::", 0)) {
|
|
3242
3242
|
var H = Mn(u.style.slice(2));
|
|
3243
3243
|
if (a === "number") {
|
|
3244
|
-
var
|
|
3245
|
-
return
|
|
3246
|
-
val: { type: x.number, value: n, location: v, style:
|
|
3244
|
+
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3245
|
+
return f.err ? f : {
|
|
3246
|
+
val: { type: x.number, value: n, location: v, style: f.val },
|
|
3247
3247
|
err: null
|
|
3248
3248
|
};
|
|
3249
3249
|
} else {
|
|
@@ -3251,14 +3251,14 @@ var $n = (
|
|
|
3251
3251
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3252
3252
|
var C = H;
|
|
3253
3253
|
this.locale && (C = _n(H, this.locale));
|
|
3254
|
-
var
|
|
3254
|
+
var c = {
|
|
3255
3255
|
type: W.dateTime,
|
|
3256
3256
|
pattern: C,
|
|
3257
3257
|
location: u.styleLocation,
|
|
3258
3258
|
parsedOptions: this.shouldParseSkeletons ? dn(C) : {}
|
|
3259
3259
|
}, w = a === "date" ? x.date : x.time;
|
|
3260
3260
|
return {
|
|
3261
|
-
val: { type: w, value: n, location: v, style:
|
|
3261
|
+
val: { type: w, value: n, location: v, style: c },
|
|
3262
3262
|
err: null
|
|
3263
3263
|
};
|
|
3264
3264
|
}
|
|
@@ -3285,10 +3285,10 @@ var $n = (
|
|
|
3285
3285
|
if (!this.bumpIf(":"))
|
|
3286
3286
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
3287
3287
|
this.bumpSpace();
|
|
3288
|
-
var
|
|
3289
|
-
if (
|
|
3290
|
-
return
|
|
3291
|
-
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P =
|
|
3288
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3289
|
+
if (f.err)
|
|
3290
|
+
return f;
|
|
3291
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = f.val;
|
|
3292
3292
|
}
|
|
3293
3293
|
var G = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
|
3294
3294
|
if (G.err)
|
|
@@ -3376,12 +3376,12 @@ var $n = (
|
|
|
3376
3376
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3377
3377
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3378
3378
|
if (u.length === 0) {
|
|
3379
|
-
var
|
|
3379
|
+
var f = this.clonePosition();
|
|
3380
3380
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3381
|
-
var
|
|
3382
|
-
if (
|
|
3383
|
-
return
|
|
3384
|
-
l = m(
|
|
3381
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3382
|
+
if (c.err)
|
|
3383
|
+
return c;
|
|
3384
|
+
l = m(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3385
3385
|
} else
|
|
3386
3386
|
break;
|
|
3387
3387
|
}
|
|
@@ -3531,7 +3531,7 @@ var ve = (
|
|
|
3531
3531
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3532
3532
|
}, t;
|
|
3533
3533
|
}(Error)
|
|
3534
|
-
),
|
|
3534
|
+
), ft = (
|
|
3535
3535
|
/** @class */
|
|
3536
3536
|
function(e) {
|
|
3537
3537
|
N(t, e);
|
|
@@ -3571,7 +3571,7 @@ function kn(e) {
|
|
|
3571
3571
|
function Vn(e) {
|
|
3572
3572
|
return typeof e == "function";
|
|
3573
3573
|
}
|
|
3574
|
-
function
|
|
3574
|
+
function fe(e, t, r, n, i, o, s) {
|
|
3575
3575
|
if (e.length === 1 && ot(e[0]))
|
|
3576
3576
|
return [
|
|
3577
3577
|
{
|
|
@@ -3588,21 +3588,21 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3588
3588
|
});
|
|
3589
3589
|
continue;
|
|
3590
3590
|
}
|
|
3591
|
-
if (
|
|
3591
|
+
if (fn(l)) {
|
|
3592
3592
|
typeof o == "number" && a.push({
|
|
3593
3593
|
type: _.literal,
|
|
3594
3594
|
value: r.getNumberFormat(t).format(o)
|
|
3595
3595
|
});
|
|
3596
3596
|
continue;
|
|
3597
3597
|
}
|
|
3598
|
-
var
|
|
3599
|
-
if (!(i &&
|
|
3600
|
-
throw new jn(
|
|
3601
|
-
var
|
|
3602
|
-
if (
|
|
3603
|
-
(!
|
|
3604
|
-
type: typeof
|
|
3605
|
-
value:
|
|
3598
|
+
var f = l.value;
|
|
3599
|
+
if (!(i && f in i))
|
|
3600
|
+
throw new jn(f, s);
|
|
3601
|
+
var c = i[f];
|
|
3602
|
+
if (cn(l)) {
|
|
3603
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3604
|
+
type: typeof c == "string" ? _.literal : _.object,
|
|
3605
|
+
value: c
|
|
3606
3606
|
});
|
|
3607
3607
|
continue;
|
|
3608
3608
|
}
|
|
@@ -3610,7 +3610,7 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3610
3610
|
var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3611
3611
|
a.push({
|
|
3612
3612
|
type: _.literal,
|
|
3613
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3613
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3614
3614
|
});
|
|
3615
3615
|
continue;
|
|
3616
3616
|
}
|
|
@@ -3618,15 +3618,15 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3618
3618
|
var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3619
3619
|
a.push({
|
|
3620
3620
|
type: _.literal,
|
|
3621
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3621
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3622
3622
|
});
|
|
3623
3623
|
continue;
|
|
3624
3624
|
}
|
|
3625
3625
|
if (Mt(l)) {
|
|
3626
3626
|
var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
3627
|
-
p && p.scale && (
|
|
3627
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3628
3628
|
type: _.literal,
|
|
3629
|
-
value: r.getNumberFormat(t, p).format(
|
|
3629
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3630
3630
|
});
|
|
3631
3631
|
continue;
|
|
3632
3632
|
}
|
|
@@ -3634,7 +3634,7 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3634
3634
|
var y = l.children, v = l.value, H = i[v];
|
|
3635
3635
|
if (!Vn(H))
|
|
3636
3636
|
throw new Fn(v, "function", s);
|
|
3637
|
-
var C =
|
|
3637
|
+
var C = fe(y, t, r, n, i, o), w = H(C.map(function(P) {
|
|
3638
3638
|
return P.value;
|
|
3639
3639
|
}));
|
|
3640
3640
|
Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(P) {
|
|
@@ -3645,25 +3645,25 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3645
3645
|
}));
|
|
3646
3646
|
}
|
|
3647
3647
|
if (Rt(l)) {
|
|
3648
|
-
var S = l.options[
|
|
3648
|
+
var S = l.options[c] || l.options.other;
|
|
3649
3649
|
if (!S)
|
|
3650
|
-
throw new
|
|
3651
|
-
a.push.apply(a,
|
|
3650
|
+
throw new ft(l.value, c, Object.keys(l.options), s);
|
|
3651
|
+
a.push.apply(a, fe(S.value, t, r, n, i));
|
|
3652
3652
|
continue;
|
|
3653
3653
|
}
|
|
3654
3654
|
if (Ut(l)) {
|
|
3655
|
-
var S = l.options["=".concat(
|
|
3655
|
+
var S = l.options["=".concat(c)];
|
|
3656
3656
|
if (!S) {
|
|
3657
3657
|
if (!Intl.PluralRules)
|
|
3658
3658
|
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3659
3659
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3660
3660
|
`, z.MISSING_INTL_API, s);
|
|
3661
|
-
var $ = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3661
|
+
var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3662
3662
|
S = l.options[$] || l.options.other;
|
|
3663
3663
|
}
|
|
3664
3664
|
if (!S)
|
|
3665
|
-
throw new
|
|
3666
|
-
a.push.apply(a,
|
|
3665
|
+
throw new ft(l.value, c, Object.keys(l.options), s);
|
|
3666
|
+
a.push.apply(a, fe(S.value, t, r, n, i, c - (l.offset || 0)));
|
|
3667
3667
|
continue;
|
|
3668
3668
|
}
|
|
3669
3669
|
}
|
|
@@ -3739,12 +3739,12 @@ var Zn = (
|
|
|
3739
3739
|
var u = o.formatToParts(h);
|
|
3740
3740
|
if (u.length === 1)
|
|
3741
3741
|
return u[0].value;
|
|
3742
|
-
var l = u.reduce(function(
|
|
3743
|
-
return !
|
|
3742
|
+
var l = u.reduce(function(f, c) {
|
|
3743
|
+
return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3744
3744
|
}, []);
|
|
3745
3745
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3746
3746
|
}, this.formatToParts = function(h) {
|
|
3747
|
-
return
|
|
3747
|
+
return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3748
3748
|
}, this.resolvedOptions = function() {
|
|
3749
3749
|
var h;
|
|
3750
3750
|
return {
|
|
@@ -3984,14 +3984,14 @@ function Z() {
|
|
|
3984
3984
|
return oi;
|
|
3985
3985
|
}
|
|
3986
3986
|
const we = ye(!1);
|
|
3987
|
-
var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
3987
|
+
var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
|
|
3988
3988
|
for (var r in t || (t = {}))
|
|
3989
3989
|
hi.call(t, r) && dt(e, r, t[r]);
|
|
3990
3990
|
if (pt)
|
|
3991
3991
|
for (var r of pt(t))
|
|
3992
3992
|
li.call(t, r) && dt(e, r, t[r]);
|
|
3993
3993
|
return e;
|
|
3994
|
-
},
|
|
3994
|
+
}, fi = (e, t) => ai(e, ui(t));
|
|
3995
3995
|
let Ve;
|
|
3996
3996
|
const de = ye(null);
|
|
3997
3997
|
function mt(e) {
|
|
@@ -4021,7 +4021,7 @@ const pi = (e) => {
|
|
|
4021
4021
|
});
|
|
4022
4022
|
}
|
|
4023
4023
|
return de.set(e);
|
|
4024
|
-
}, Y = ci(
|
|
4024
|
+
}, Y = fi(ci({}, de), {
|
|
4025
4025
|
set: pi
|
|
4026
4026
|
}), _e = (e) => {
|
|
4027
4027
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4122,16 +4122,16 @@ const ne = (e, t) => {
|
|
|
4122
4122
|
), l;
|
|
4123
4123
|
if (!a)
|
|
4124
4124
|
return l;
|
|
4125
|
-
let
|
|
4125
|
+
let f = l;
|
|
4126
4126
|
try {
|
|
4127
|
-
|
|
4128
|
-
} catch (
|
|
4129
|
-
|
|
4127
|
+
f = _i(l, h).format(a);
|
|
4128
|
+
} catch (c) {
|
|
4129
|
+
c instanceof Error && console.warn(
|
|
4130
4130
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4131
|
-
|
|
4131
|
+
c.message
|
|
4132
4132
|
);
|
|
4133
4133
|
}
|
|
4134
|
-
return
|
|
4134
|
+
return f;
|
|
4135
4135
|
}, Si = (e, t) => xi(t).format(e), Ti = (e, t) => vi(t).format(e), Hi = (e, t) => yi(t).format(e), Bi = (e, t = U()) => Zt(e, t), Ai = J([Y, se], () => Ei);
|
|
4136
4136
|
J([Y], () => Si);
|
|
4137
4137
|
J([Y], () => Ti);
|
|
@@ -4211,11 +4211,11 @@ function Ii(e) {
|
|
|
4211
4211
|
};
|
|
4212
4212
|
}
|
|
4213
4213
|
function Li(e) {
|
|
4214
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4214
|
+
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4215
4215
|
e[3] && Ni(e);
|
|
4216
4216
|
return {
|
|
4217
4217
|
c() {
|
|
4218
|
-
t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = ur(),
|
|
4218
|
+
t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = ur(), c && c.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), lr(r, "width", /*isMobile*/
|
|
4219
4219
|
e[3] ? (
|
|
4220
4220
|
/*mediaQuery*/
|
|
4221
4221
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4225,7 +4225,7 @@ function Li(e) {
|
|
|
4225
4225
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4226
4226
|
},
|
|
4227
4227
|
m(p, y) {
|
|
4228
|
-
oe(p, t, y), E(t, r), E(r, n), E(n, i), E(i, o), E(o, s), E(n, a), E(n, h), E(t, u),
|
|
4228
|
+
oe(p, t, y), E(t, r), E(r, n), E(n, i), E(i, o), E(o, s), E(n, a), E(n, h), E(t, u), c && c.m(t, null), l || (f = Et(
|
|
4229
4229
|
t,
|
|
4230
4230
|
"click",
|
|
4231
4231
|
/*click_handler*/
|
|
@@ -4234,10 +4234,10 @@ function Li(e) {
|
|
|
4234
4234
|
},
|
|
4235
4235
|
p(p, y) {
|
|
4236
4236
|
/*isMobile*/
|
|
4237
|
-
p[3] ||
|
|
4237
|
+
p[3] || c.p(p, y);
|
|
4238
4238
|
},
|
|
4239
4239
|
d(p) {
|
|
4240
|
-
p && Q(t),
|
|
4240
|
+
p && Q(t), c && c.d(), l = !1, f();
|
|
4241
4241
|
}
|
|
4242
4242
|
};
|
|
4243
4243
|
}
|
|
@@ -4292,7 +4292,7 @@ function Mi(e) {
|
|
|
4292
4292
|
function Ci(e, t, r) {
|
|
4293
4293
|
let n;
|
|
4294
4294
|
ir(e, Ai, (b) => r(2, n = b));
|
|
4295
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t,
|
|
4295
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, f = "", c = !1, p, y = window.navigator.userAgent, v = wi(y) !== "PC";
|
|
4296
4296
|
const H = window.matchMedia("(min-width: 768px)"), C = () => {
|
|
4297
4297
|
fetch(l).then((B) => B.json()).then((B) => {
|
|
4298
4298
|
Object.keys(B).forEach((R) => {
|
|
@@ -4312,7 +4312,7 @@ function Ci(e, t, r) {
|
|
|
4312
4312
|
fetch(`${i}/v1/player/session/player`, B).then((R) => {
|
|
4313
4313
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4314
4314
|
});
|
|
4315
|
-
}, S = () => (i || (
|
|
4315
|
+
}, S = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c), $ = () => {
|
|
4316
4316
|
Pi(a);
|
|
4317
4317
|
}, P = () => {
|
|
4318
4318
|
let b = document.createElement("style");
|