@everymatrix/player-account-menu-nd 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-BOYHNH12.js → GeneralLogout-BYqjWFIv.js} +171 -171
- package/components/{GeneralLogout-B2FVSxry.js → GeneralLogout-CLwDyp27.js} +165 -165
- package/components/{GeneralLogout-DUqwy6B3.cjs → GeneralLogout-bcasxmn7.cjs} +3 -3
- package/components/{PlayerAccountMenuNd-BxoLtN1c.js → PlayerAccountMenuNd-CKI3ql8K.js} +2 -2
- package/components/{PlayerAccountMenuNd-CpXDgz6l.js → PlayerAccountMenuNd-DtQ0y7_s.js} +2 -2
- package/components/{PlayerAccountMenuNd-6yZm4ssH.cjs → PlayerAccountMenuNd-Hel5lhDh.cjs} +1 -1
- package/es2015/player-account-menu-nd.cjs +1 -1
- package/es2015/player-account-menu-nd.js +1 -1
- package/esnext/player-account-menu-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var cr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var pr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ye = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
4
|
+
var dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
dr.call(t, r) && He(e, r, t[r]);
|
|
8
8
|
if (Ye)
|
|
9
9
|
for (var r of Ye(t))
|
|
10
10
|
mr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, et = (e, t) =>
|
|
12
|
+
}, et = (e, t) => fr(e, pr(t));
|
|
13
13
|
var H = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
@@ -245,13 +245,13 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
245
245
|
};
|
|
246
246
|
s && s(u.root);
|
|
247
247
|
let l = !1;
|
|
248
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
249
|
-
const y =
|
|
250
|
-
return u.ctx && i(u.ctx[
|
|
248
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
249
|
+
const y = p.length ? p[0] : c;
|
|
250
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Mr(e, f)), c;
|
|
251
251
|
}) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
252
252
|
if (t.hydrate) {
|
|
253
|
-
const
|
|
254
|
-
u.fragment && u.fragment.l(
|
|
253
|
+
const f = _r(t.target);
|
|
254
|
+
u.fragment && u.fragment.l(f), f.forEach(q);
|
|
255
255
|
} else
|
|
256
256
|
u.fragment && u.fragment.c();
|
|
257
257
|
t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), I();
|
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
325
325
|
o in n && (r[o] = [t(o)]);
|
|
326
326
|
for (const o of this.attributes) {
|
|
327
327
|
const s = this.$$g_p(o.name);
|
|
328
|
-
s in this.$$d || (this.$$d[s] =
|
|
328
|
+
s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
|
|
329
329
|
}
|
|
330
330
|
for (const o in this.$$p_d)
|
|
331
331
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
@@ -342,7 +342,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
342
342
|
this.$$r = !0;
|
|
343
343
|
for (const o in this.$$p_d)
|
|
344
344
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
345
|
-
const s =
|
|
345
|
+
const s = pe(
|
|
346
346
|
o,
|
|
347
347
|
this.$$d[o],
|
|
348
348
|
this.$$p_d,
|
|
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
366
366
|
// and setting attributes through setAttribute etc, this is helpful
|
|
367
367
|
attributeChangedCallback(t, r, n) {
|
|
368
368
|
var i;
|
|
369
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
369
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
370
370
|
}
|
|
371
371
|
disconnectedCallback() {
|
|
372
372
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -379,7 +379,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
379
379
|
) || t;
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
|
-
function
|
|
382
|
+
function pe(e, t, r, n) {
|
|
383
383
|
var o;
|
|
384
384
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
385
385
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -427,7 +427,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
427
427
|
},
|
|
428
428
|
set(h) {
|
|
429
429
|
var u;
|
|
430
|
-
h =
|
|
430
|
+
h = pe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
}), n.forEach((a) => {
|
|
@@ -611,12 +611,12 @@ var xe = function() {
|
|
|
611
611
|
} catch (v) {
|
|
612
612
|
o = v instanceof Ae ? v.errors : [v];
|
|
613
613
|
}
|
|
614
|
-
var
|
|
615
|
-
if (
|
|
614
|
+
var f = this._finalizers;
|
|
615
|
+
if (f) {
|
|
616
616
|
this._finalizers = null;
|
|
617
617
|
try {
|
|
618
|
-
for (var
|
|
619
|
-
var y =
|
|
618
|
+
for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
|
|
619
|
+
var y = p.value;
|
|
620
620
|
try {
|
|
621
621
|
it(y);
|
|
622
622
|
} catch (v) {
|
|
@@ -627,7 +627,7 @@ var xe = function() {
|
|
|
627
627
|
n = { error: v };
|
|
628
628
|
} finally {
|
|
629
629
|
try {
|
|
630
|
-
|
|
630
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
631
631
|
} finally {
|
|
632
632
|
if (n) throw n.error;
|
|
633
633
|
}
|
|
@@ -692,7 +692,7 @@ function jr(e) {
|
|
|
692
692
|
}
|
|
693
693
|
function ot() {
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function de(e) {
|
|
696
696
|
e();
|
|
697
697
|
}
|
|
698
698
|
var Ct = function(e) {
|
|
@@ -736,7 +736,7 @@ var Ct = function(e) {
|
|
|
736
736
|
try {
|
|
737
737
|
r.next(t);
|
|
738
738
|
} catch (n) {
|
|
739
|
-
|
|
739
|
+
ce(n);
|
|
740
740
|
}
|
|
741
741
|
}, e.prototype.error = function(t) {
|
|
742
742
|
var r = this.partialObserver;
|
|
@@ -744,17 +744,17 @@ var Ct = function(e) {
|
|
|
744
744
|
try {
|
|
745
745
|
r.error(t);
|
|
746
746
|
} catch (n) {
|
|
747
|
-
|
|
747
|
+
ce(n);
|
|
748
748
|
}
|
|
749
749
|
else
|
|
750
|
-
|
|
750
|
+
ce(t);
|
|
751
751
|
}, e.prototype.complete = function() {
|
|
752
752
|
var t = this.partialObserver;
|
|
753
753
|
if (t.complete)
|
|
754
754
|
try {
|
|
755
755
|
t.complete();
|
|
756
756
|
} catch (r) {
|
|
757
|
-
|
|
757
|
+
ce(r);
|
|
758
758
|
}
|
|
759
759
|
}, e;
|
|
760
760
|
}(), De = function(e) {
|
|
@@ -769,7 +769,7 @@ var Ct = function(e) {
|
|
|
769
769
|
}
|
|
770
770
|
return t;
|
|
771
771
|
}(Ct);
|
|
772
|
-
function
|
|
772
|
+
function ce(e) {
|
|
773
773
|
jr(e);
|
|
774
774
|
}
|
|
775
775
|
function Vr(e) {
|
|
@@ -802,7 +802,7 @@ var st = function() {
|
|
|
802
802
|
return r.source = this, r.operator = t, r;
|
|
803
803
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
804
804
|
var i = this, o = qr(t) ? t : new De(t, r, n);
|
|
805
|
-
return
|
|
805
|
+
return de(function() {
|
|
806
806
|
var s = i, a = s.operator, h = s.source;
|
|
807
807
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
808
808
|
}), o;
|
|
@@ -881,7 +881,7 @@ var Jr = Lt(function(e) {
|
|
|
881
881
|
throw new Jr();
|
|
882
882
|
}, t.prototype.next = function(r) {
|
|
883
883
|
var n = this;
|
|
884
|
-
|
|
884
|
+
de(function() {
|
|
885
885
|
var i, o;
|
|
886
886
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
887
887
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -903,7 +903,7 @@ var Jr = Lt(function(e) {
|
|
|
903
903
|
});
|
|
904
904
|
}, t.prototype.error = function(r) {
|
|
905
905
|
var n = this;
|
|
906
|
-
|
|
906
|
+
de(function() {
|
|
907
907
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
908
908
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
909
909
|
for (var i = n.observers; i.length; )
|
|
@@ -912,7 +912,7 @@ var Jr = Lt(function(e) {
|
|
|
912
912
|
});
|
|
913
913
|
}, t.prototype.complete = function() {
|
|
914
914
|
var r = this;
|
|
915
|
-
|
|
915
|
+
de(function() {
|
|
916
916
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
917
917
|
r.isStopped = !0;
|
|
918
918
|
for (var n = r.observers; n.length; )
|
|
@@ -1040,26 +1040,26 @@ function J(e, t, r) {
|
|
|
1040
1040
|
return en(r, (s, a) => {
|
|
1041
1041
|
let h = !1;
|
|
1042
1042
|
const u = [];
|
|
1043
|
-
let l = 0,
|
|
1044
|
-
const
|
|
1043
|
+
let l = 0, f = w;
|
|
1044
|
+
const c = () => {
|
|
1045
1045
|
if (l)
|
|
1046
1046
|
return;
|
|
1047
|
-
|
|
1047
|
+
f();
|
|
1048
1048
|
const y = t(n ? u[0] : u, s, a);
|
|
1049
|
-
o ? s(y) :
|
|
1050
|
-
},
|
|
1049
|
+
o ? s(y) : f = Qe(y) ? y : w;
|
|
1050
|
+
}, p = i.map(
|
|
1051
1051
|
(y, v) => wt(
|
|
1052
1052
|
y,
|
|
1053
1053
|
(B) => {
|
|
1054
|
-
u[v] = B, l &= ~(1 << v), h &&
|
|
1054
|
+
u[v] = B, l &= ~(1 << v), h && c();
|
|
1055
1055
|
},
|
|
1056
1056
|
() => {
|
|
1057
1057
|
l |= 1 << v;
|
|
1058
1058
|
}
|
|
1059
1059
|
)
|
|
1060
1060
|
);
|
|
1061
|
-
return h = !0,
|
|
1062
|
-
se(
|
|
1061
|
+
return h = !0, c(), function() {
|
|
1062
|
+
se(p), f(), h = !1;
|
|
1063
1063
|
};
|
|
1064
1064
|
});
|
|
1065
1065
|
}
|
|
@@ -1091,19 +1091,19 @@ function ln(e, t, r) {
|
|
|
1091
1091
|
return ie(n, r);
|
|
1092
1092
|
});
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function cn(e, t) {
|
|
1095
1095
|
if (!t.customMerge)
|
|
1096
1096
|
return W;
|
|
1097
1097
|
var r = t.customMerge(e);
|
|
1098
1098
|
return typeof r == "function" ? r : W;
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function fn(e) {
|
|
1101
1101
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1102
1102
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1103
1103
|
}) : [];
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1106
|
-
return Object.keys(e).concat(
|
|
1105
|
+
function ct(e) {
|
|
1106
|
+
return Object.keys(e).concat(fn(e));
|
|
1107
1107
|
}
|
|
1108
1108
|
function Ut(e, t) {
|
|
1109
1109
|
try {
|
|
@@ -1112,21 +1112,21 @@ function Ut(e, t) {
|
|
|
1112
1112
|
return !1;
|
|
1113
1113
|
}
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function pn(e, t) {
|
|
1116
1116
|
return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function dn(e, t, r) {
|
|
1119
1119
|
var n = {};
|
|
1120
|
-
return r.isMergeableObject(e) &&
|
|
1120
|
+
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
1121
1121
|
n[i] = ie(e[i], r);
|
|
1122
|
-
}),
|
|
1123
|
-
|
|
1122
|
+
}), ct(t).forEach(function(i) {
|
|
1123
|
+
pn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1124
1124
|
}), n;
|
|
1125
1125
|
}
|
|
1126
1126
|
function W(e, t, r) {
|
|
1127
1127
|
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1128
1128
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1129
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1129
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ie(t, r);
|
|
1130
1130
|
}
|
|
1131
1131
|
W.all = function(t, r) {
|
|
1132
1132
|
if (!Array.isArray(t))
|
|
@@ -1185,10 +1185,10 @@ var _n = function() {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
}, Pe = {
|
|
1187
1187
|
variadic: En
|
|
1188
|
-
},
|
|
1188
|
+
}, d;
|
|
1189
1189
|
(function(e) {
|
|
1190
1190
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1191
|
-
})(
|
|
1191
|
+
})(d || (d = {}));
|
|
1192
1192
|
var x;
|
|
1193
1193
|
(function(e) {
|
|
1194
1194
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1197,7 +1197,7 @@ var z;
|
|
|
1197
1197
|
(function(e) {
|
|
1198
1198
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1199
1199
|
})(z || (z = {}));
|
|
1200
|
-
function
|
|
1200
|
+
function ft(e) {
|
|
1201
1201
|
return e.type === x.literal;
|
|
1202
1202
|
}
|
|
1203
1203
|
function Hn(e) {
|
|
@@ -1326,15 +1326,15 @@ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1326
1326
|
function On(e) {
|
|
1327
1327
|
if (e.length === 0)
|
|
1328
1328
|
throw new Error("Number skeleton cannot be empty");
|
|
1329
|
-
for (var t = e.split(Pn).filter(function(
|
|
1330
|
-
return
|
|
1329
|
+
for (var t = e.split(Pn).filter(function(c) {
|
|
1330
|
+
return c.length > 0;
|
|
1331
1331
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1332
1332
|
var o = i[n], s = o.split("/");
|
|
1333
1333
|
if (s.length === 0)
|
|
1334
1334
|
throw new Error("Invalid number skeleton");
|
|
1335
1335
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1336
|
-
var
|
|
1337
|
-
if (
|
|
1336
|
+
var f = l[u];
|
|
1337
|
+
if (f.length === 0)
|
|
1338
1338
|
throw new Error("Invalid number skeleton");
|
|
1339
1339
|
}
|
|
1340
1340
|
r.push({ stem: a, options: h });
|
|
@@ -1344,8 +1344,8 @@ function On(e) {
|
|
|
1344
1344
|
function In(e) {
|
|
1345
1345
|
return e.replace(/^(.*?)-/, "");
|
|
1346
1346
|
}
|
|
1347
|
-
var
|
|
1348
|
-
function
|
|
1347
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1348
|
+
function dt(e) {
|
|
1349
1349
|
var t = {};
|
|
1350
1350
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
1351
1351
|
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)), "";
|
|
@@ -1495,13 +1495,13 @@ function Mn(e) {
|
|
|
1495
1495
|
case "integer-width":
|
|
1496
1496
|
if (i.options.length > 1)
|
|
1497
1497
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1498
|
-
i.options[0].replace(Ln, function(h, u, l,
|
|
1498
|
+
i.options[0].replace(Ln, function(h, u, l, f, c, p) {
|
|
1499
1499
|
if (u)
|
|
1500
1500
|
t.minimumIntegerDigits = l.length;
|
|
1501
1501
|
else {
|
|
1502
|
-
if (
|
|
1502
|
+
if (f && c)
|
|
1503
1503
|
throw new Error("We currently do not support maximum integer digits");
|
|
1504
|
-
if (
|
|
1504
|
+
if (p)
|
|
1505
1505
|
throw new Error("We currently do not support exact integer digits");
|
|
1506
1506
|
}
|
|
1507
1507
|
return "";
|
|
@@ -1512,18 +1512,18 @@ function Mn(e) {
|
|
|
1512
1512
|
t.minimumIntegerDigits = i.stem.length;
|
|
1513
1513
|
continue;
|
|
1514
1514
|
}
|
|
1515
|
-
if (
|
|
1515
|
+
if (pt.test(i.stem)) {
|
|
1516
1516
|
if (i.options.length > 1)
|
|
1517
1517
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1518
|
-
i.stem.replace(
|
|
1519
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1518
|
+
i.stem.replace(pt, function(h, u, l, f, c, p) {
|
|
1519
|
+
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), "";
|
|
1520
1520
|
});
|
|
1521
1521
|
var o = i.options[0];
|
|
1522
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1522
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), dt(o)));
|
|
1523
1523
|
continue;
|
|
1524
1524
|
}
|
|
1525
1525
|
if (Qt.test(i.stem)) {
|
|
1526
|
-
t = g(g({}, t),
|
|
1526
|
+
t = g(g({}, t), dt(i.stem));
|
|
1527
1527
|
continue;
|
|
1528
1528
|
}
|
|
1529
1529
|
var s = Jt(i.stem);
|
|
@@ -1533,7 +1533,7 @@ function Mn(e) {
|
|
|
1533
1533
|
}
|
|
1534
1534
|
return t;
|
|
1535
1535
|
}
|
|
1536
|
-
var
|
|
1536
|
+
var fe = {
|
|
1537
1537
|
"001": [
|
|
1538
1538
|
"H",
|
|
1539
1539
|
"h"
|
|
@@ -2982,7 +2982,7 @@ function $n(e) {
|
|
|
2982
2982
|
}
|
|
2983
2983
|
var r = e.language, n;
|
|
2984
2984
|
r !== "root" && (n = e.maximize().region);
|
|
2985
|
-
var i =
|
|
2985
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2986
2986
|
return i[0];
|
|
2987
2987
|
}
|
|
2988
2988
|
var Oe, Rn = new RegExp("^".concat(Zt.source, "*")), Un = new RegExp("".concat(Zt.source, "*$"));
|
|
@@ -3119,7 +3119,7 @@ var qn = (
|
|
|
3119
3119
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3120
3120
|
if (n)
|
|
3121
3121
|
break;
|
|
3122
|
-
return this.error(
|
|
3122
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3123
3123
|
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3124
3124
|
var s = this.parseTag(t, r);
|
|
3125
3125
|
if (s.err)
|
|
@@ -3154,9 +3154,9 @@ var qn = (
|
|
|
3154
3154
|
var s = o.val, a = this.clonePosition();
|
|
3155
3155
|
if (this.bumpIf("</")) {
|
|
3156
3156
|
if (this.isEOF() || !Xe(this.char()))
|
|
3157
|
-
return this.error(
|
|
3157
|
+
return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
|
|
3158
3158
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3159
|
-
return i !== u ? this.error(
|
|
3159
|
+
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3160
3160
|
val: {
|
|
3161
3161
|
type: x.tag,
|
|
3162
3162
|
value: i,
|
|
@@ -3164,11 +3164,11 @@ var qn = (
|
|
|
3164
3164
|
location: m(n, this.clonePosition())
|
|
3165
3165
|
},
|
|
3166
3166
|
err: null
|
|
3167
|
-
} : this.error(
|
|
3167
|
+
} : this.error(d.INVALID_TAG, m(a, this.clonePosition())));
|
|
3168
3168
|
} else
|
|
3169
|
-
return this.error(
|
|
3169
|
+
return this.error(d.UNCLOSED_TAG, m(n, this.clonePosition()));
|
|
3170
3170
|
} else
|
|
3171
|
-
return this.error(
|
|
3171
|
+
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3172
3172
|
}, e.prototype.parseTagName = function() {
|
|
3173
3173
|
var t = this.offset();
|
|
3174
3174
|
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
@@ -3243,14 +3243,14 @@ var qn = (
|
|
|
3243
3243
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3244
3244
|
var n = this.clonePosition();
|
|
3245
3245
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3246
|
-
return this.error(
|
|
3246
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
|
|
3247
3247
|
if (this.char() === 125)
|
|
3248
|
-
return this.bump(), this.error(
|
|
3248
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, m(n, this.clonePosition()));
|
|
3249
3249
|
var i = this.parseIdentifierIfPossible().value;
|
|
3250
3250
|
if (!i)
|
|
3251
|
-
return this.error(
|
|
3251
|
+
return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3252
3252
|
if (this.bumpSpace(), this.isEOF())
|
|
3253
|
-
return this.error(
|
|
3253
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
|
|
3254
3254
|
switch (this.char()) {
|
|
3255
3255
|
case 125:
|
|
3256
3256
|
return this.bump(), {
|
|
@@ -3263,9 +3263,9 @@ var qn = (
|
|
|
3263
3263
|
err: null
|
|
3264
3264
|
};
|
|
3265
3265
|
case 44:
|
|
3266
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3266
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3267
3267
|
default:
|
|
3268
|
-
return this.error(
|
|
3268
|
+
return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3269
3269
|
}
|
|
3270
3270
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3271
3271
|
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
@@ -3276,7 +3276,7 @@ var qn = (
|
|
|
3276
3276
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3277
3277
|
switch (a) {
|
|
3278
3278
|
case "":
|
|
3279
|
-
return this.error(
|
|
3279
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, m(s, h));
|
|
3280
3280
|
case "number":
|
|
3281
3281
|
case "date":
|
|
3282
3282
|
case "time": {
|
|
@@ -3284,14 +3284,14 @@ var qn = (
|
|
|
3284
3284
|
var u = null;
|
|
3285
3285
|
if (this.bumpIf(",")) {
|
|
3286
3286
|
this.bumpSpace();
|
|
3287
|
-
var l = this.clonePosition(),
|
|
3288
|
-
if (
|
|
3289
|
-
return
|
|
3290
|
-
var
|
|
3291
|
-
if (
|
|
3292
|
-
return this.error(
|
|
3293
|
-
var
|
|
3294
|
-
u = { style:
|
|
3287
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3288
|
+
if (f.err)
|
|
3289
|
+
return f;
|
|
3290
|
+
var c = Qn(f.val);
|
|
3291
|
+
if (c.length === 0)
|
|
3292
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3293
|
+
var p = m(l, this.clonePosition());
|
|
3294
|
+
u = { style: c, styleLocation: p };
|
|
3295
3295
|
}
|
|
3296
3296
|
var y = this.tryParseArgumentClose(i);
|
|
3297
3297
|
if (y.err)
|
|
@@ -3300,24 +3300,24 @@ var qn = (
|
|
|
3300
3300
|
if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3301
3301
|
var B = Zn(u.style.slice(2));
|
|
3302
3302
|
if (a === "number") {
|
|
3303
|
-
var
|
|
3304
|
-
return
|
|
3305
|
-
val: { type: x.number, value: n, location: v, style:
|
|
3303
|
+
var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3304
|
+
return f.err ? f : {
|
|
3305
|
+
val: { type: x.number, value: n, location: v, style: f.val },
|
|
3306
3306
|
err: null
|
|
3307
3307
|
};
|
|
3308
3308
|
} else {
|
|
3309
3309
|
if (B.length === 0)
|
|
3310
|
-
return this.error(
|
|
3310
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3311
3311
|
var $ = B;
|
|
3312
3312
|
this.locale && ($ = Cn(B, this.locale));
|
|
3313
|
-
var
|
|
3313
|
+
var c = {
|
|
3314
3314
|
type: z.dateTime,
|
|
3315
3315
|
pattern: $,
|
|
3316
3316
|
location: u.styleLocation,
|
|
3317
3317
|
parsedOptions: this.shouldParseSkeletons ? wn($) : {}
|
|
3318
3318
|
}, P = a === "date" ? x.date : x.time;
|
|
3319
3319
|
return {
|
|
3320
|
-
val: { type: P, value: n, location: v, style:
|
|
3320
|
+
val: { type: P, value: n, location: v, style: c },
|
|
3321
3321
|
err: null
|
|
3322
3322
|
};
|
|
3323
3323
|
}
|
|
@@ -3337,17 +3337,17 @@ var qn = (
|
|
|
3337
3337
|
case "select": {
|
|
3338
3338
|
var T = this.clonePosition();
|
|
3339
3339
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3340
|
-
return this.error(
|
|
3340
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(T, g({}, T)));
|
|
3341
3341
|
this.bumpSpace();
|
|
3342
3342
|
var R = this.parseIdentifierIfPossible(), O = 0;
|
|
3343
3343
|
if (a !== "select" && R.value === "offset") {
|
|
3344
3344
|
if (!this.bumpIf(":"))
|
|
3345
|
-
return this.error(
|
|
3345
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
3346
3346
|
this.bumpSpace();
|
|
3347
|
-
var
|
|
3348
|
-
if (
|
|
3349
|
-
return
|
|
3350
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(), O =
|
|
3347
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3348
|
+
if (f.err)
|
|
3349
|
+
return f;
|
|
3350
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = f.val;
|
|
3351
3351
|
}
|
|
3352
3352
|
var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3353
3353
|
if (D.err)
|
|
@@ -3377,10 +3377,10 @@ var qn = (
|
|
|
3377
3377
|
};
|
|
3378
3378
|
}
|
|
3379
3379
|
default:
|
|
3380
|
-
return this.error(
|
|
3380
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, m(s, h));
|
|
3381
3381
|
}
|
|
3382
3382
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3383
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3383
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3384
3384
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3385
3385
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3386
3386
|
var n = this.char();
|
|
@@ -3389,7 +3389,7 @@ var qn = (
|
|
|
3389
3389
|
this.bump();
|
|
3390
3390
|
var i = this.clonePosition();
|
|
3391
3391
|
if (!this.bumpUntil("'"))
|
|
3392
|
-
return this.error(
|
|
3392
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
|
|
3393
3393
|
this.bump();
|
|
3394
3394
|
break;
|
|
3395
3395
|
}
|
|
@@ -3421,7 +3421,7 @@ var qn = (
|
|
|
3421
3421
|
try {
|
|
3422
3422
|
n = On(t);
|
|
3423
3423
|
} catch (i) {
|
|
3424
|
-
return this.error(
|
|
3424
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3425
3425
|
}
|
|
3426
3426
|
return {
|
|
3427
3427
|
val: {
|
|
@@ -3435,36 +3435,36 @@ var qn = (
|
|
|
3435
3435
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3436
3436
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3437
3437
|
if (u.length === 0) {
|
|
3438
|
-
var
|
|
3438
|
+
var f = this.clonePosition();
|
|
3439
3439
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3440
|
-
var
|
|
3441
|
-
if (
|
|
3442
|
-
return
|
|
3443
|
-
l = m(
|
|
3440
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3441
|
+
if (c.err)
|
|
3442
|
+
return c;
|
|
3443
|
+
l = m(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3444
3444
|
} else
|
|
3445
3445
|
break;
|
|
3446
3446
|
}
|
|
3447
3447
|
if (h.has(u))
|
|
3448
|
-
return this.error(r === "select" ?
|
|
3448
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3449
3449
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3450
|
-
var
|
|
3450
|
+
var p = this.clonePosition();
|
|
3451
3451
|
if (!this.bumpIf("{"))
|
|
3452
|
-
return this.error(r === "select" ?
|
|
3452
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3453
3453
|
var y = this.parseMessage(t + 1, r, n);
|
|
3454
3454
|
if (y.err)
|
|
3455
3455
|
return y;
|
|
3456
|
-
var v = this.tryParseArgumentClose(
|
|
3456
|
+
var v = this.tryParseArgumentClose(p);
|
|
3457
3457
|
if (v.err)
|
|
3458
3458
|
return v;
|
|
3459
3459
|
a.push([
|
|
3460
3460
|
u,
|
|
3461
3461
|
{
|
|
3462
3462
|
value: y.val,
|
|
3463
|
-
location: m(
|
|
3463
|
+
location: m(p, this.clonePosition())
|
|
3464
3464
|
}
|
|
3465
3465
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3466
3466
|
}
|
|
3467
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3467
|
+
return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3468
3468
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3469
3469
|
var n = 1, i = this.clonePosition();
|
|
3470
3470
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3569,7 +3569,7 @@ function ei(e, t) {
|
|
|
3569
3569
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3570
3570
|
var r = new qn(e, t).parse();
|
|
3571
3571
|
if (r.err) {
|
|
3572
|
-
var n = SyntaxError(
|
|
3572
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3573
3573
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3574
3574
|
}
|
|
3575
3575
|
return t != null && t.captureLocation || We(r.val), r.val;
|
|
@@ -3631,7 +3631,7 @@ function ii(e) {
|
|
|
3631
3631
|
return typeof e == "function";
|
|
3632
3632
|
}
|
|
3633
3633
|
function me(e, t, r, n, i, o, s) {
|
|
3634
|
-
if (e.length === 1 &&
|
|
3634
|
+
if (e.length === 1 && ft(e[0]))
|
|
3635
3635
|
return [
|
|
3636
3636
|
{
|
|
3637
3637
|
type: E.literal,
|
|
@@ -3640,7 +3640,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3640
3640
|
];
|
|
3641
3641
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3642
3642
|
var l = u[h];
|
|
3643
|
-
if (
|
|
3643
|
+
if (ft(l)) {
|
|
3644
3644
|
a.push({
|
|
3645
3645
|
type: E.literal,
|
|
3646
3646
|
value: l.value
|
|
@@ -3654,38 +3654,38 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3654
3654
|
});
|
|
3655
3655
|
continue;
|
|
3656
3656
|
}
|
|
3657
|
-
var
|
|
3658
|
-
if (!(i &&
|
|
3659
|
-
throw new ri(
|
|
3660
|
-
var
|
|
3657
|
+
var f = l.value;
|
|
3658
|
+
if (!(i && f in i))
|
|
3659
|
+
throw new ri(f, s);
|
|
3660
|
+
var c = i[f];
|
|
3661
3661
|
if (Hn(l)) {
|
|
3662
|
-
(!
|
|
3663
|
-
type: typeof
|
|
3664
|
-
value:
|
|
3662
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3663
|
+
type: typeof c == "string" ? E.literal : E.object,
|
|
3664
|
+
value: c
|
|
3665
3665
|
});
|
|
3666
3666
|
continue;
|
|
3667
3667
|
}
|
|
3668
3668
|
if (jt(l)) {
|
|
3669
|
-
var
|
|
3669
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3670
3670
|
a.push({
|
|
3671
3671
|
type: E.literal,
|
|
3672
|
-
value: r.getDateTimeFormat(t,
|
|
3672
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3673
3673
|
});
|
|
3674
3674
|
continue;
|
|
3675
3675
|
}
|
|
3676
3676
|
if (kt(l)) {
|
|
3677
|
-
var
|
|
3677
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3678
3678
|
a.push({
|
|
3679
3679
|
type: E.literal,
|
|
3680
|
-
value: r.getDateTimeFormat(t,
|
|
3680
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3681
3681
|
});
|
|
3682
3682
|
continue;
|
|
3683
3683
|
}
|
|
3684
3684
|
if (Ft(l)) {
|
|
3685
|
-
var
|
|
3686
|
-
|
|
3685
|
+
var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3686
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3687
3687
|
type: E.literal,
|
|
3688
|
-
value: r.getNumberFormat(t,
|
|
3688
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3689
3689
|
});
|
|
3690
3690
|
continue;
|
|
3691
3691
|
}
|
|
@@ -3704,25 +3704,25 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3704
3704
|
}));
|
|
3705
3705
|
}
|
|
3706
3706
|
if (Vt(l)) {
|
|
3707
|
-
var T = l.options[
|
|
3707
|
+
var T = l.options[c] || l.options.other;
|
|
3708
3708
|
if (!T)
|
|
3709
|
-
throw new vt(l.value,
|
|
3709
|
+
throw new vt(l.value, c, Object.keys(l.options), s);
|
|
3710
3710
|
a.push.apply(a, me(T.value, t, r, n, i));
|
|
3711
3711
|
continue;
|
|
3712
3712
|
}
|
|
3713
3713
|
if (Xt(l)) {
|
|
3714
|
-
var T = l.options["=".concat(
|
|
3714
|
+
var T = l.options["=".concat(c)];
|
|
3715
3715
|
if (!T) {
|
|
3716
3716
|
if (!Intl.PluralRules)
|
|
3717
3717
|
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3718
3718
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3719
3719
|
`, Z.MISSING_INTL_API, s);
|
|
3720
|
-
var R = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3720
|
+
var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3721
3721
|
T = l.options[R] || l.options.other;
|
|
3722
3722
|
}
|
|
3723
3723
|
if (!T)
|
|
3724
|
-
throw new vt(l.value,
|
|
3725
|
-
a.push.apply(a, me(T.value, t, r, n, i,
|
|
3724
|
+
throw new vt(l.value, c, Object.keys(l.options), s);
|
|
3725
|
+
a.push.apply(a, me(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3726
3726
|
continue;
|
|
3727
3727
|
}
|
|
3728
3728
|
}
|
|
@@ -3798,8 +3798,8 @@ var ui = (
|
|
|
3798
3798
|
var u = o.formatToParts(h);
|
|
3799
3799
|
if (u.length === 1)
|
|
3800
3800
|
return u[0].value;
|
|
3801
|
-
var l = u.reduce(function(
|
|
3802
|
-
return !
|
|
3801
|
+
var l = u.reduce(function(f, c) {
|
|
3802
|
+
return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3803
3803
|
}, []);
|
|
3804
3804
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3805
3805
|
}, this.formatToParts = function(h) {
|
|
@@ -3924,26 +3924,26 @@ const C = {}, li = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][
|
|
|
3924
3924
|
return C[t][e];
|
|
3925
3925
|
const r = Se(t);
|
|
3926
3926
|
for (let n = 0; n < r.length; n++) {
|
|
3927
|
-
const i = r[n], o =
|
|
3927
|
+
const i = r[n], o = fi(i, e);
|
|
3928
3928
|
if (o)
|
|
3929
3929
|
return li(e, t, o);
|
|
3930
3930
|
}
|
|
3931
3931
|
};
|
|
3932
3932
|
let qe;
|
|
3933
3933
|
const ue = Ee({});
|
|
3934
|
-
function
|
|
3934
|
+
function ci(e) {
|
|
3935
3935
|
return qe[e] || null;
|
|
3936
3936
|
}
|
|
3937
3937
|
function rr(e) {
|
|
3938
3938
|
return e in qe;
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function fi(e, t) {
|
|
3941
3941
|
if (!rr(e))
|
|
3942
3942
|
return null;
|
|
3943
|
-
const r =
|
|
3943
|
+
const r = ci(e);
|
|
3944
3944
|
return hi(r, t);
|
|
3945
3945
|
}
|
|
3946
|
-
function
|
|
3946
|
+
function pi(e) {
|
|
3947
3947
|
if (e == null)
|
|
3948
3948
|
return;
|
|
3949
3949
|
const t = Se(e);
|
|
@@ -3962,7 +3962,7 @@ J(
|
|
|
3962
3962
|
);
|
|
3963
3963
|
ue.subscribe((e) => qe = e);
|
|
3964
3964
|
const be = {};
|
|
3965
|
-
function
|
|
3965
|
+
function di(e, t) {
|
|
3966
3966
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3967
3967
|
}
|
|
3968
3968
|
function ir(e) {
|
|
@@ -3984,7 +3984,7 @@ function ze(e) {
|
|
|
3984
3984
|
}
|
|
3985
3985
|
function bi(e, t) {
|
|
3986
3986
|
return Promise.all(
|
|
3987
|
-
t.map((n) => (
|
|
3987
|
+
t.map((n) => (di(e, n), n().then((i) => i.default || i)))
|
|
3988
3988
|
).then((n) => nr(e, ...n));
|
|
3989
3989
|
}
|
|
3990
3990
|
const te = {};
|
|
@@ -4067,7 +4067,7 @@ ge.subscribe((e) => {
|
|
|
4067
4067
|
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4068
4068
|
});
|
|
4069
4069
|
const Ai = (e) => {
|
|
4070
|
-
if (e &&
|
|
4070
|
+
if (e && pi(e) && ze(e)) {
|
|
4071
4071
|
const { loadingDelay: t } = Q();
|
|
4072
4072
|
let r;
|
|
4073
4073
|
return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
|
|
@@ -4181,16 +4181,16 @@ const oe = (e, t) => {
|
|
|
4181
4181
|
), l;
|
|
4182
4182
|
if (!a)
|
|
4183
4183
|
return l;
|
|
4184
|
-
let
|
|
4184
|
+
let f = l;
|
|
4185
4185
|
try {
|
|
4186
|
-
|
|
4187
|
-
} catch (
|
|
4188
|
-
|
|
4186
|
+
f = Ci(l, h).format(a);
|
|
4187
|
+
} catch (c) {
|
|
4188
|
+
c instanceof Error && console.warn(
|
|
4189
4189
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4190
|
-
|
|
4190
|
+
c.message
|
|
4191
4191
|
);
|
|
4192
4192
|
}
|
|
4193
|
-
return
|
|
4193
|
+
return f;
|
|
4194
4194
|
}, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t) => Li(t).format(e), Di = (e, t = G()) => tr(e, t), Fi = J([Y, ue], () => $i);
|
|
4195
4195
|
J([Y], () => Ri);
|
|
4196
4196
|
J([Y], () => Ui);
|
|
@@ -4270,11 +4270,11 @@ function Xi(e) {
|
|
|
4270
4270
|
};
|
|
4271
4271
|
}
|
|
4272
4272
|
function Wi(e) {
|
|
4273
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4273
|
+
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4274
4274
|
e[3] && zi(e);
|
|
4275
4275
|
return {
|
|
4276
4276
|
c() {
|
|
4277
|
-
t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ve(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = Er(),
|
|
4277
|
+
t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ve(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = Er(), c && c.c(), _(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), _(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"), _(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), _(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"), _(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), _(n, "data-name", "Layer 1"), _(n, "xmlns", "http://www.w3.org/2000/svg"), _(n, "viewBox", "0 0 150 150"), Sr(r, "width", /*isMobile*/
|
|
4278
4278
|
e[3] ? (
|
|
4279
4279
|
/*mediaQuery*/
|
|
4280
4280
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4283,20 +4283,20 @@ function Wi(e) {
|
|
|
4283
4283
|
(e[4].matches && /*isMobile*/
|
|
4284
4284
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4285
4285
|
},
|
|
4286
|
-
m(
|
|
4287
|
-
ae(
|
|
4286
|
+
m(p, y) {
|
|
4287
|
+
ae(p, t, y), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = Pt(
|
|
4288
4288
|
t,
|
|
4289
4289
|
"click",
|
|
4290
4290
|
/*click_handler*/
|
|
4291
4291
|
e[12]
|
|
4292
4292
|
), l = !0);
|
|
4293
4293
|
},
|
|
4294
|
-
p(
|
|
4294
|
+
p(p, y) {
|
|
4295
4295
|
/*isMobile*/
|
|
4296
|
-
|
|
4296
|
+
p[3] || c.p(p, y);
|
|
4297
4297
|
},
|
|
4298
|
-
d(
|
|
4299
|
-
|
|
4298
|
+
d(p) {
|
|
4299
|
+
p && q(t), c && c.d(), l = !1, f();
|
|
4300
4300
|
}
|
|
4301
4301
|
};
|
|
4302
4302
|
}
|
|
@@ -4351,7 +4351,7 @@ function Zi(e) {
|
|
|
4351
4351
|
function Qi(e, t, r) {
|
|
4352
4352
|
let n;
|
|
4353
4353
|
gr(e, Fi, (b) => r(2, n = b));
|
|
4354
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t,
|
|
4354
|
+
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 = ji(y) !== "PC";
|
|
4355
4355
|
const B = window.matchMedia("(min-width: 768px)"), $ = () => {
|
|
4356
4356
|
fetch(l).then((A) => A.json()).then((A) => {
|
|
4357
4357
|
Object.keys(A).forEach((U) => {
|
|
@@ -4371,17 +4371,17 @@ function Qi(e, t, r) {
|
|
|
4371
4371
|
fetch(`${i}/v1/player/session/player`, A).then((U) => {
|
|
4372
4372
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4373
4373
|
});
|
|
4374
|
-
}, T = () => (i || (
|
|
4374
|
+
}, T = () => (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), R = () => {
|
|
4375
4375
|
ki(a);
|
|
4376
4376
|
}, O = () => {
|
|
4377
4377
|
let b = document.createElement("style");
|
|
4378
|
-
b.innerHTML = h,
|
|
4378
|
+
b.innerHTML = h, p.appendChild(b);
|
|
4379
4379
|
}, D = () => {
|
|
4380
4380
|
let b = new URL(u), A = document.createElement("style");
|
|
4381
4381
|
fetch(b.href).then((U) => U.text()).then((U) => {
|
|
4382
4382
|
A.innerHTML = U, setTimeout(
|
|
4383
4383
|
() => {
|
|
4384
|
-
|
|
4384
|
+
p.appendChild(A);
|
|
4385
4385
|
},
|
|
4386
4386
|
1
|
|
4387
4387
|
), setTimeout(
|
|
@@ -4393,7 +4393,7 @@ function Qi(e, t, r) {
|
|
|
4393
4393
|
}, he = () => P(), hr = () => P();
|
|
4394
4394
|
function lr(b) {
|
|
4395
4395
|
Ne[b ? "unshift" : "push"](() => {
|
|
4396
|
-
|
|
4396
|
+
p = b, r(1, p);
|
|
4397
4397
|
});
|
|
4398
4398
|
}
|
|
4399
4399
|
return e.$$set = (b) => {
|
|
@@ -4402,12 +4402,12 @@ function Qi(e, t, r) {
|
|
|
4402
4402
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4403
4403
|
193 && i && o && s && T(), e.$$.dirty & /*lang*/
|
|
4404
4404
|
256 && a && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4405
|
-
514 && h &&
|
|
4406
|
-
1026 && u &&
|
|
4405
|
+
514 && h && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4406
|
+
1026 && u && p && D(), e.$$.dirty & /*translationurl*/
|
|
4407
4407
|
2048 && l && $();
|
|
4408
4408
|
}, [
|
|
4409
4409
|
s,
|
|
4410
|
-
|
|
4410
|
+
p,
|
|
4411
4411
|
n,
|
|
4412
4412
|
v,
|
|
4413
4413
|
B,
|