@everymatrix/player-account-menu-nd 1.49.2 → 1.50.1
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-ClZ4anLg.cjs +5 -0
- package/components/{GeneralLogout-DDPYB_bZ.js → GeneralLogout-DIXk5kpO.js} +271 -265
- package/components/{PlayerAccountMenuNd-D9n2vxXX.js → PlayerAccountMenuNd-BSvqH1nL.js} +75 -75
- package/components/PlayerAccountMenuNd-DHpsvJ56.cjs +1 -0
- package/es2015/player-account-menu-nd.cjs +1 -1
- package/es2015/player-account-menu-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralLogout-DYfhSiIP.cjs +0 -5
- package/components/PlayerAccountMenuNd-QjPMalIw.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var mr = Object.defineProperty, br = Object.defineProperties;
|
|
2
|
+
var gr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var tt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
4
|
+
var yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
yr.call(t, r) && He(e, r, t[r]);
|
|
8
8
|
if (tt)
|
|
9
9
|
for (var r of tt(t))
|
|
10
|
-
|
|
10
|
+
vr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, nt = (e, t) =>
|
|
12
|
+
}, nt = (e, t) => br(e, gr(t));
|
|
13
13
|
var H = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var it = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
@@ -48,7 +48,7 @@ let le;
|
|
|
48
48
|
function eo(e, t) {
|
|
49
49
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Er(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function It(e, ...t) {
|
|
@@ -60,20 +60,20 @@ function It(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function xr(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(It(t, r));
|
|
65
65
|
}
|
|
66
66
|
function S(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function _r(e, t, r) {
|
|
70
|
+
const n = Sr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = L("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, Tr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Sr(e) {
|
|
77
77
|
if (!e) return document;
|
|
78
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
79
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,7 +82,7 @@ function Tr(e) {
|
|
|
82
82
|
t
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Tr(e, t) {
|
|
86
86
|
return S(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
@@ -108,7 +108,7 @@ function ee(e) {
|
|
|
108
108
|
function ve(e) {
|
|
109
109
|
return document.createTextNode(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Hr() {
|
|
112
112
|
return ve(" ");
|
|
113
113
|
}
|
|
114
114
|
function Lt(e, t, r, n) {
|
|
@@ -121,17 +121,17 @@ function ro(e, t, r) {
|
|
|
121
121
|
const n = t.toLowerCase();
|
|
122
122
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Br(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
127
|
function Nt(e, t) {
|
|
128
128
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
129
129
|
t);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Ar(e, t, r, n) {
|
|
132
132
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function wr(e) {
|
|
135
135
|
const t = {};
|
|
136
136
|
return e.childNodes.forEach(
|
|
137
137
|
/** @param {Element} node */
|
|
@@ -144,19 +144,19 @@ let ne;
|
|
|
144
144
|
function re(e) {
|
|
145
145
|
ne = e;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Pr() {
|
|
148
148
|
if (!ne) throw new Error("Function called outside component initialization");
|
|
149
149
|
return ne;
|
|
150
150
|
}
|
|
151
151
|
function no(e) {
|
|
152
|
-
|
|
152
|
+
Pr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
154
|
const k = [], Me = [];
|
|
155
155
|
let V = [];
|
|
156
|
-
const st = [],
|
|
156
|
+
const st = [], Or = /* @__PURE__ */ Promise.resolve();
|
|
157
157
|
let Ce = !1;
|
|
158
|
-
function
|
|
159
|
-
Ce || (Ce = !0,
|
|
158
|
+
function Ir() {
|
|
159
|
+
Ce || (Ce = !0, Or.then(I));
|
|
160
160
|
}
|
|
161
161
|
function $e(e) {
|
|
162
162
|
V.push(e);
|
|
@@ -171,7 +171,7 @@ function I() {
|
|
|
171
171
|
try {
|
|
172
172
|
for (; F < k.length; ) {
|
|
173
173
|
const t = k[F];
|
|
174
|
-
F++, re(t),
|
|
174
|
+
F++, re(t), Lr(t.$$);
|
|
175
175
|
}
|
|
176
176
|
} catch (t) {
|
|
177
177
|
throw k.length = 0, F = 0, t;
|
|
@@ -187,39 +187,39 @@ function I() {
|
|
|
187
187
|
st.pop()();
|
|
188
188
|
Ce = !1, Be.clear(), re(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Lr(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
192
|
e.update(), se(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
194
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Nr(e) {
|
|
198
198
|
const t = [], r = [];
|
|
199
199
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const Mr = /* @__PURE__ */ new Set();
|
|
202
|
+
function Cr(e, t) {
|
|
203
|
+
e && e.i && (Mr.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
205
|
function io(e) {
|
|
206
206
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function $r(e, t, r) {
|
|
209
209
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
210
|
n && n.m(t, r), $e(() => {
|
|
211
211
|
const o = e.$$.on_mount.map(Pt).filter(qe);
|
|
212
212
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
213
213
|
}), i.forEach($e);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Rr(e, t) {
|
|
216
216
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
217
|
+
r.fragment !== null && (Nr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
219
|
+
function Ur(e, t) {
|
|
220
|
+
e.$$.dirty[0] === -1 && (k.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
223
223
|
const h = ne;
|
|
224
224
|
re(e);
|
|
225
225
|
const u = e.$$ = {
|
|
@@ -247,14 +247,14 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
247
247
|
let l = !1;
|
|
248
248
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
249
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 &&
|
|
250
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Ur(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 f =
|
|
253
|
+
const f = Br(t.target);
|
|
254
254
|
u.fragment && u.fragment.l(f), f.forEach(q);
|
|
255
255
|
} else
|
|
256
256
|
u.fragment && u.fragment.c();
|
|
257
|
-
t.intro &&
|
|
257
|
+
t.intro && Cr(e.$$.fragment), $r(e, t.target, t.anchor), I();
|
|
258
258
|
}
|
|
259
259
|
re(h);
|
|
260
260
|
}
|
|
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
320
320
|
};
|
|
321
321
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
322
322
|
return;
|
|
323
|
-
const r = {}, n =
|
|
323
|
+
const r = {}, n = wr(this);
|
|
324
324
|
for (const o of this.$$s)
|
|
325
325
|
o in n && (r[o] = [t(o)]);
|
|
326
326
|
for (const o of this.attributes) {
|
|
@@ -409,7 +409,7 @@ function pe(e, t, r, n) {
|
|
|
409
409
|
return t;
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function Gr(e, t, r, n, i, o) {
|
|
413
413
|
let s = class extends Mt {
|
|
414
414
|
constructor() {
|
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -440,7 +440,7 @@ function Fr(e, t, r, n, i, o) {
|
|
|
440
440
|
}), e.element = /** @type {any} */
|
|
441
441
|
s, s;
|
|
442
442
|
}
|
|
443
|
-
class
|
|
443
|
+
class Fr {
|
|
444
444
|
constructor() {
|
|
445
445
|
/**
|
|
446
446
|
* ### PRIVATE API
|
|
@@ -461,7 +461,7 @@ class jr {
|
|
|
461
461
|
}
|
|
462
462
|
/** @returns {void} */
|
|
463
463
|
$destroy() {
|
|
464
|
-
|
|
464
|
+
Rr(this, 1), this.$destroy = w;
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -483,11 +483,11 @@ class jr {
|
|
|
483
483
|
* @returns {void}
|
|
484
484
|
*/
|
|
485
485
|
$set(t) {
|
|
486
|
-
this.$$set && !
|
|
486
|
+
this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
489
|
+
const jr = "4";
|
|
490
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
|
|
491
491
|
var Re = function(e, t) {
|
|
492
492
|
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
493
493
|
r.__proto__ = n;
|
|
@@ -513,7 +513,7 @@ var g = function() {
|
|
|
513
513
|
return t;
|
|
514
514
|
}, g.apply(this, arguments);
|
|
515
515
|
};
|
|
516
|
-
function
|
|
516
|
+
function kr(e, t) {
|
|
517
517
|
var r = {};
|
|
518
518
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
519
519
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -678,20 +678,19 @@ var Ut = {
|
|
|
678
678
|
Promise: void 0,
|
|
679
679
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
680
680
|
useDeprecatedNextContext: !1
|
|
681
|
-
},
|
|
681
|
+
}, Vr = {
|
|
682
682
|
setTimeout: function(e, t) {
|
|
683
683
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
684
684
|
r[n - 2] = arguments[n];
|
|
685
685
|
return setTimeout.apply(void 0, X([e, t], De(r)));
|
|
686
686
|
},
|
|
687
687
|
clearTimeout: function(e) {
|
|
688
|
-
|
|
689
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
688
|
+
return clearTimeout(e);
|
|
690
689
|
},
|
|
691
690
|
delegate: void 0
|
|
692
691
|
};
|
|
693
692
|
function Xr(e) {
|
|
694
|
-
|
|
693
|
+
Vr.setTimeout(function() {
|
|
695
694
|
throw e;
|
|
696
695
|
});
|
|
697
696
|
}
|
|
@@ -700,7 +699,7 @@ function ut() {
|
|
|
700
699
|
function de(e) {
|
|
701
700
|
e();
|
|
702
701
|
}
|
|
703
|
-
var
|
|
702
|
+
var Dt = function(e) {
|
|
704
703
|
M(t, e);
|
|
705
704
|
function t(r) {
|
|
706
705
|
var n = e.call(this) || this;
|
|
@@ -789,7 +788,7 @@ var zr = function() {
|
|
|
789
788
|
return o.destination = new zr(s), o;
|
|
790
789
|
}
|
|
791
790
|
return t;
|
|
792
|
-
}(
|
|
791
|
+
}(Dt);
|
|
793
792
|
function ce(e) {
|
|
794
793
|
Xr(e);
|
|
795
794
|
}
|
|
@@ -882,13 +881,13 @@ function Kr(e) {
|
|
|
882
881
|
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
883
882
|
}
|
|
884
883
|
function en(e) {
|
|
885
|
-
return e && e instanceof
|
|
884
|
+
return e && e instanceof Dt || Kr(e) && Rt(e);
|
|
886
885
|
}
|
|
887
886
|
var tn = Ct(function(e) {
|
|
888
887
|
return function() {
|
|
889
888
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
890
889
|
};
|
|
891
|
-
}),
|
|
890
|
+
}), Gt = function(e) {
|
|
892
891
|
M(t, e);
|
|
893
892
|
function t() {
|
|
894
893
|
var r = e.call(this) || this;
|
|
@@ -986,15 +985,15 @@ var tn = Ct(function(e) {
|
|
|
986
985
|
var n, i;
|
|
987
986
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
|
|
988
987
|
}, t;
|
|
989
|
-
}(
|
|
988
|
+
}(Gt), Ft = {
|
|
990
989
|
now: function() {
|
|
991
|
-
return (
|
|
990
|
+
return (Ft.delegate || Date).now();
|
|
992
991
|
},
|
|
993
992
|
delegate: void 0
|
|
994
993
|
}, rn = function(e) {
|
|
995
994
|
M(t, e);
|
|
996
995
|
function t(r, n, i) {
|
|
997
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
996
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
|
|
998
997
|
var o = e.call(this) || this;
|
|
999
998
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1000
999
|
}
|
|
@@ -1014,7 +1013,7 @@ var tn = Ct(function(e) {
|
|
|
1014
1013
|
u && o.splice(0, u + 1);
|
|
1015
1014
|
}
|
|
1016
1015
|
}, t;
|
|
1017
|
-
}(
|
|
1016
|
+
}(Gt);
|
|
1018
1017
|
const ft = [], pt = {}, nn = (e, t = 0) => {
|
|
1019
1018
|
if (ft.indexOf(e) == -1) {
|
|
1020
1019
|
const r = new rn(t);
|
|
@@ -1126,7 +1125,7 @@ function bn(e) {
|
|
|
1126
1125
|
function dt(e) {
|
|
1127
1126
|
return Object.keys(e).concat(bn(e));
|
|
1128
1127
|
}
|
|
1129
|
-
function
|
|
1128
|
+
function jt(e, t) {
|
|
1130
1129
|
try {
|
|
1131
1130
|
return t in e;
|
|
1132
1131
|
} catch (r) {
|
|
@@ -1134,14 +1133,14 @@ function kt(e, t) {
|
|
|
1134
1133
|
}
|
|
1135
1134
|
}
|
|
1136
1135
|
function gn(e, t) {
|
|
1137
|
-
return
|
|
1136
|
+
return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1138
1137
|
}
|
|
1139
1138
|
function yn(e, t, r) {
|
|
1140
1139
|
var n = {};
|
|
1141
1140
|
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
|
1142
1141
|
n[i] = ie(e[i], r);
|
|
1143
1142
|
}), dt(t).forEach(function(i) {
|
|
1144
|
-
gn(e, i) || (
|
|
1143
|
+
gn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1145
1144
|
}), n;
|
|
1146
1145
|
}
|
|
1147
1146
|
function W(e, t, r) {
|
|
@@ -1158,7 +1157,57 @@ W.all = function(t, r) {
|
|
|
1158
1157
|
};
|
|
1159
1158
|
var vn = W, En = vn;
|
|
1160
1159
|
const xn = /* @__PURE__ */ sn(En);
|
|
1161
|
-
|
|
1160
|
+
function Pe(e, t) {
|
|
1161
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Sn;
|
|
1162
|
+
return i(e, {
|
|
1163
|
+
cache: r,
|
|
1164
|
+
serializer: n
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
function _n(e) {
|
|
1168
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1169
|
+
}
|
|
1170
|
+
function kt(e, t, r, n) {
|
|
1171
|
+
var i = _n(n) ? n : r(n), o = t.get(i);
|
|
1172
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1173
|
+
}
|
|
1174
|
+
function Vt(e, t, r) {
|
|
1175
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1176
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1177
|
+
}
|
|
1178
|
+
function Je(e, t, r, n, i) {
|
|
1179
|
+
return r.bind(t, e, n, i);
|
|
1180
|
+
}
|
|
1181
|
+
function Sn(e, t) {
|
|
1182
|
+
var r = e.length === 1 ? kt : Vt;
|
|
1183
|
+
return Je(e, this, r, t.cache.create(), t.serializer);
|
|
1184
|
+
}
|
|
1185
|
+
function Tn(e, t) {
|
|
1186
|
+
return Je(e, this, Vt, t.cache.create(), t.serializer);
|
|
1187
|
+
}
|
|
1188
|
+
function Hn(e, t) {
|
|
1189
|
+
return Je(e, this, kt, t.cache.create(), t.serializer);
|
|
1190
|
+
}
|
|
1191
|
+
var Bn = function() {
|
|
1192
|
+
return JSON.stringify(arguments);
|
|
1193
|
+
};
|
|
1194
|
+
function Ye() {
|
|
1195
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1196
|
+
}
|
|
1197
|
+
Ye.prototype.get = function(e) {
|
|
1198
|
+
return this.cache[e];
|
|
1199
|
+
};
|
|
1200
|
+
Ye.prototype.set = function(e, t) {
|
|
1201
|
+
this.cache[e] = t;
|
|
1202
|
+
};
|
|
1203
|
+
var An = {
|
|
1204
|
+
create: function() {
|
|
1205
|
+
return new Ye();
|
|
1206
|
+
}
|
|
1207
|
+
}, Oe = {
|
|
1208
|
+
variadic: Tn,
|
|
1209
|
+
monadic: Hn
|
|
1210
|
+
}, d;
|
|
1162
1211
|
(function(e) {
|
|
1163
1212
|
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";
|
|
1164
1213
|
})(d || (d = {}));
|
|
@@ -1173,40 +1222,40 @@ var z;
|
|
|
1173
1222
|
function mt(e) {
|
|
1174
1223
|
return e.type === E.literal;
|
|
1175
1224
|
}
|
|
1176
|
-
function
|
|
1225
|
+
function wn(e) {
|
|
1177
1226
|
return e.type === E.argument;
|
|
1178
1227
|
}
|
|
1179
|
-
function
|
|
1228
|
+
function Xt(e) {
|
|
1180
1229
|
return e.type === E.number;
|
|
1181
1230
|
}
|
|
1182
|
-
function
|
|
1231
|
+
function Wt(e) {
|
|
1183
1232
|
return e.type === E.date;
|
|
1184
1233
|
}
|
|
1185
|
-
function
|
|
1234
|
+
function zt(e) {
|
|
1186
1235
|
return e.type === E.time;
|
|
1187
1236
|
}
|
|
1188
|
-
function
|
|
1237
|
+
function Zt(e) {
|
|
1189
1238
|
return e.type === E.select;
|
|
1190
1239
|
}
|
|
1191
|
-
function
|
|
1240
|
+
function Qt(e) {
|
|
1192
1241
|
return e.type === E.plural;
|
|
1193
1242
|
}
|
|
1194
|
-
function
|
|
1243
|
+
function Pn(e) {
|
|
1195
1244
|
return e.type === E.pound;
|
|
1196
1245
|
}
|
|
1197
|
-
function
|
|
1246
|
+
function qt(e) {
|
|
1198
1247
|
return e.type === E.tag;
|
|
1199
1248
|
}
|
|
1200
|
-
function
|
|
1249
|
+
function Jt(e) {
|
|
1201
1250
|
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1202
1251
|
}
|
|
1203
1252
|
function je(e) {
|
|
1204
1253
|
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1205
1254
|
}
|
|
1206
|
-
var
|
|
1207
|
-
function
|
|
1255
|
+
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1256
|
+
function In(e) {
|
|
1208
1257
|
var t = {};
|
|
1209
|
-
return e.replace(
|
|
1258
|
+
return e.replace(On, function(r) {
|
|
1210
1259
|
var n = r.length;
|
|
1211
1260
|
switch (r[0]) {
|
|
1212
1261
|
case "G":
|
|
@@ -1295,11 +1344,11 @@ function Hn(e) {
|
|
|
1295
1344
|
return "";
|
|
1296
1345
|
}), t;
|
|
1297
1346
|
}
|
|
1298
|
-
var
|
|
1299
|
-
function
|
|
1347
|
+
var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1348
|
+
function Nn(e) {
|
|
1300
1349
|
if (e.length === 0)
|
|
1301
1350
|
throw new Error("Number skeleton cannot be empty");
|
|
1302
|
-
for (var t = e.split(
|
|
1351
|
+
for (var t = e.split(Ln).filter(function(c) {
|
|
1303
1352
|
return c.length > 0;
|
|
1304
1353
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1305
1354
|
var o = i[n], s = o.split("/");
|
|
@@ -1314,17 +1363,17 @@ function An(e) {
|
|
|
1314
1363
|
}
|
|
1315
1364
|
return r;
|
|
1316
1365
|
}
|
|
1317
|
-
function
|
|
1366
|
+
function Mn(e) {
|
|
1318
1367
|
return e.replace(/^(.*?)-/, "");
|
|
1319
1368
|
}
|
|
1320
|
-
var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1369
|
+
var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
|
|
1321
1370
|
function gt(e) {
|
|
1322
1371
|
var t = {};
|
|
1323
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1372
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
|
|
1324
1373
|
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)), "";
|
|
1325
1374
|
}), t;
|
|
1326
1375
|
}
|
|
1327
|
-
function
|
|
1376
|
+
function tr(e) {
|
|
1328
1377
|
switch (e) {
|
|
1329
1378
|
case "sign-auto":
|
|
1330
1379
|
return {
|
|
@@ -1364,7 +1413,7 @@ function er(e) {
|
|
|
1364
1413
|
};
|
|
1365
1414
|
}
|
|
1366
1415
|
}
|
|
1367
|
-
function
|
|
1416
|
+
function $n(e) {
|
|
1368
1417
|
var t;
|
|
1369
1418
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1370
1419
|
notation: "engineering"
|
|
@@ -1372,17 +1421,17 @@ function On(e) {
|
|
|
1372
1421
|
notation: "scientific"
|
|
1373
1422
|
}, e = e.slice(1)), t) {
|
|
1374
1423
|
var r = e.slice(0, 2);
|
|
1375
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1424
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
|
|
1376
1425
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1377
1426
|
t.minimumIntegerDigits = e.length;
|
|
1378
1427
|
}
|
|
1379
1428
|
return t;
|
|
1380
1429
|
}
|
|
1381
1430
|
function yt(e) {
|
|
1382
|
-
var t = {}, r =
|
|
1431
|
+
var t = {}, r = tr(e);
|
|
1383
1432
|
return r || t;
|
|
1384
1433
|
}
|
|
1385
|
-
function
|
|
1434
|
+
function Rn(e) {
|
|
1386
1435
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1387
1436
|
var i = n[r];
|
|
1388
1437
|
switch (i.stem) {
|
|
@@ -1406,7 +1455,7 @@ function In(e) {
|
|
|
1406
1455
|
continue;
|
|
1407
1456
|
case "measure-unit":
|
|
1408
1457
|
case "unit":
|
|
1409
|
-
t.style = "unit", t.unit =
|
|
1458
|
+
t.style = "unit", t.unit = Mn(i.options[0]);
|
|
1410
1459
|
continue;
|
|
1411
1460
|
case "compact-short":
|
|
1412
1461
|
case "K":
|
|
@@ -1468,7 +1517,7 @@ function In(e) {
|
|
|
1468
1517
|
case "integer-width":
|
|
1469
1518
|
if (i.options.length > 1)
|
|
1470
1519
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1471
|
-
i.options[0].replace(
|
|
1520
|
+
i.options[0].replace(Cn, function(h, u, l, f, c, p) {
|
|
1472
1521
|
if (u)
|
|
1473
1522
|
t.minimumIntegerDigits = l.length;
|
|
1474
1523
|
else {
|
|
@@ -1481,7 +1530,7 @@ function In(e) {
|
|
|
1481
1530
|
});
|
|
1482
1531
|
continue;
|
|
1483
1532
|
}
|
|
1484
|
-
if (
|
|
1533
|
+
if (er.test(i.stem)) {
|
|
1485
1534
|
t.minimumIntegerDigits = i.stem.length;
|
|
1486
1535
|
continue;
|
|
1487
1536
|
}
|
|
@@ -1495,13 +1544,13 @@ function In(e) {
|
|
|
1495
1544
|
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), gt(o)));
|
|
1496
1545
|
continue;
|
|
1497
1546
|
}
|
|
1498
|
-
if (
|
|
1547
|
+
if (Kt.test(i.stem)) {
|
|
1499
1548
|
t = g(g({}, t), gt(i.stem));
|
|
1500
1549
|
continue;
|
|
1501
1550
|
}
|
|
1502
|
-
var s =
|
|
1551
|
+
var s = tr(i.stem);
|
|
1503
1552
|
s && (t = g(g({}, t), s));
|
|
1504
|
-
var a =
|
|
1553
|
+
var a = $n(i.stem);
|
|
1505
1554
|
a && (t = g(g({}, t), a));
|
|
1506
1555
|
}
|
|
1507
1556
|
return t;
|
|
@@ -1511,6 +1560,12 @@ var fe = {
|
|
|
1511
1560
|
"H",
|
|
1512
1561
|
"h"
|
|
1513
1562
|
],
|
|
1563
|
+
419: [
|
|
1564
|
+
"h",
|
|
1565
|
+
"H",
|
|
1566
|
+
"hB",
|
|
1567
|
+
"hb"
|
|
1568
|
+
],
|
|
1514
1569
|
AC: [
|
|
1515
1570
|
"H",
|
|
1516
1571
|
"h",
|
|
@@ -1559,8 +1614,8 @@ var fe = {
|
|
|
1559
1614
|
"hB"
|
|
1560
1615
|
],
|
|
1561
1616
|
AR: [
|
|
1562
|
-
"H",
|
|
1563
1617
|
"h",
|
|
1618
|
+
"H",
|
|
1564
1619
|
"hB",
|
|
1565
1620
|
"hb"
|
|
1566
1621
|
],
|
|
@@ -1650,9 +1705,9 @@ var fe = {
|
|
|
1650
1705
|
"H"
|
|
1651
1706
|
],
|
|
1652
1707
|
BO: [
|
|
1708
|
+
"h",
|
|
1653
1709
|
"H",
|
|
1654
1710
|
"hB",
|
|
1655
|
-
"h",
|
|
1656
1711
|
"hb"
|
|
1657
1712
|
],
|
|
1658
1713
|
BQ: [
|
|
@@ -1729,8 +1784,8 @@ var fe = {
|
|
|
1729
1784
|
"hB"
|
|
1730
1785
|
],
|
|
1731
1786
|
CL: [
|
|
1732
|
-
"H",
|
|
1733
1787
|
"h",
|
|
1788
|
+
"H",
|
|
1734
1789
|
"hB",
|
|
1735
1790
|
"hb"
|
|
1736
1791
|
],
|
|
@@ -1755,14 +1810,14 @@ var fe = {
|
|
|
1755
1810
|
"H"
|
|
1756
1811
|
],
|
|
1757
1812
|
CR: [
|
|
1758
|
-
"H",
|
|
1759
1813
|
"h",
|
|
1814
|
+
"H",
|
|
1760
1815
|
"hB",
|
|
1761
1816
|
"hb"
|
|
1762
1817
|
],
|
|
1763
1818
|
CU: [
|
|
1764
|
-
"H",
|
|
1765
1819
|
"h",
|
|
1820
|
+
"H",
|
|
1766
1821
|
"hB",
|
|
1767
1822
|
"hb"
|
|
1768
1823
|
],
|
|
@@ -1831,9 +1886,9 @@ var fe = {
|
|
|
1831
1886
|
"hb"
|
|
1832
1887
|
],
|
|
1833
1888
|
EC: [
|
|
1889
|
+
"h",
|
|
1834
1890
|
"H",
|
|
1835
1891
|
"hB",
|
|
1836
|
-
"h",
|
|
1837
1892
|
"hb"
|
|
1838
1893
|
],
|
|
1839
1894
|
EE: [
|
|
@@ -1969,8 +2024,8 @@ var fe = {
|
|
|
1969
2024
|
"hB"
|
|
1970
2025
|
],
|
|
1971
2026
|
GT: [
|
|
1972
|
-
"H",
|
|
1973
2027
|
"h",
|
|
2028
|
+
"H",
|
|
1974
2029
|
"hB",
|
|
1975
2030
|
"hb"
|
|
1976
2031
|
],
|
|
@@ -1997,8 +2052,8 @@ var fe = {
|
|
|
1997
2052
|
"H"
|
|
1998
2053
|
],
|
|
1999
2054
|
HN: [
|
|
2000
|
-
"H",
|
|
2001
2055
|
"h",
|
|
2056
|
+
"H",
|
|
2002
2057
|
"hB",
|
|
2003
2058
|
"hb"
|
|
2004
2059
|
],
|
|
@@ -2312,8 +2367,8 @@ var fe = {
|
|
|
2312
2367
|
"hB"
|
|
2313
2368
|
],
|
|
2314
2369
|
MX: [
|
|
2315
|
-
"H",
|
|
2316
2370
|
"h",
|
|
2371
|
+
"H",
|
|
2317
2372
|
"hB",
|
|
2318
2373
|
"hb"
|
|
2319
2374
|
],
|
|
@@ -2353,8 +2408,8 @@ var fe = {
|
|
|
2353
2408
|
"hB"
|
|
2354
2409
|
],
|
|
2355
2410
|
NI: [
|
|
2356
|
-
"H",
|
|
2357
2411
|
"h",
|
|
2412
|
+
"H",
|
|
2358
2413
|
"hB",
|
|
2359
2414
|
"hb"
|
|
2360
2415
|
],
|
|
@@ -2402,9 +2457,9 @@ var fe = {
|
|
|
2402
2457
|
"hb"
|
|
2403
2458
|
],
|
|
2404
2459
|
PE: [
|
|
2460
|
+
"h",
|
|
2405
2461
|
"H",
|
|
2406
2462
|
"hB",
|
|
2407
|
-
"h",
|
|
2408
2463
|
"hb"
|
|
2409
2464
|
],
|
|
2410
2465
|
PF: [
|
|
@@ -2462,8 +2517,8 @@ var fe = {
|
|
|
2462
2517
|
"H"
|
|
2463
2518
|
],
|
|
2464
2519
|
PY: [
|
|
2465
|
-
"H",
|
|
2466
2520
|
"h",
|
|
2521
|
+
"H",
|
|
2467
2522
|
"hB",
|
|
2468
2523
|
"hb"
|
|
2469
2524
|
],
|
|
@@ -2576,8 +2631,8 @@ var fe = {
|
|
|
2576
2631
|
"hB"
|
|
2577
2632
|
],
|
|
2578
2633
|
SV: [
|
|
2579
|
-
"H",
|
|
2580
2634
|
"h",
|
|
2635
|
+
"H",
|
|
2581
2636
|
"hB",
|
|
2582
2637
|
"hb"
|
|
2583
2638
|
],
|
|
@@ -2699,8 +2754,8 @@ var fe = {
|
|
|
2699
2754
|
"hB"
|
|
2700
2755
|
],
|
|
2701
2756
|
UY: [
|
|
2702
|
-
"H",
|
|
2703
2757
|
"h",
|
|
2758
|
+
"H",
|
|
2704
2759
|
"hB",
|
|
2705
2760
|
"hb"
|
|
2706
2761
|
],
|
|
@@ -2808,37 +2863,37 @@ var fe = {
|
|
|
2808
2863
|
"H",
|
|
2809
2864
|
"hB"
|
|
2810
2865
|
],
|
|
2811
|
-
"
|
|
2812
|
-
"H",
|
|
2866
|
+
"en-HK": [
|
|
2813
2867
|
"h",
|
|
2814
|
-
"
|
|
2815
|
-
"
|
|
2868
|
+
"hb",
|
|
2869
|
+
"H",
|
|
2870
|
+
"hB"
|
|
2816
2871
|
],
|
|
2817
|
-
"
|
|
2872
|
+
"en-IL": [
|
|
2818
2873
|
"H",
|
|
2819
2874
|
"h",
|
|
2820
|
-
"
|
|
2821
|
-
"
|
|
2875
|
+
"hb",
|
|
2876
|
+
"hB"
|
|
2822
2877
|
],
|
|
2823
|
-
"
|
|
2824
|
-
"H",
|
|
2878
|
+
"en-MY": [
|
|
2825
2879
|
"h",
|
|
2826
|
-
"
|
|
2827
|
-
"
|
|
2880
|
+
"hb",
|
|
2881
|
+
"H",
|
|
2882
|
+
"hB"
|
|
2828
2883
|
],
|
|
2829
|
-
"es-
|
|
2884
|
+
"es-BR": [
|
|
2830
2885
|
"H",
|
|
2831
2886
|
"h",
|
|
2832
2887
|
"hB",
|
|
2833
2888
|
"hb"
|
|
2834
2889
|
],
|
|
2835
|
-
"es-
|
|
2890
|
+
"es-ES": [
|
|
2836
2891
|
"H",
|
|
2837
2892
|
"h",
|
|
2838
2893
|
"hB",
|
|
2839
2894
|
"hb"
|
|
2840
2895
|
],
|
|
2841
|
-
"es-
|
|
2896
|
+
"es-GQ": [
|
|
2842
2897
|
"H",
|
|
2843
2898
|
"h",
|
|
2844
2899
|
"hB",
|
|
@@ -2915,13 +2970,13 @@ var fe = {
|
|
|
2915
2970
|
"h"
|
|
2916
2971
|
]
|
|
2917
2972
|
};
|
|
2918
|
-
function
|
|
2973
|
+
function Un(e, t) {
|
|
2919
2974
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2920
2975
|
var i = e.charAt(n);
|
|
2921
2976
|
if (i === "j") {
|
|
2922
2977
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2923
2978
|
o++, n++;
|
|
2924
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2979
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Dn(t);
|
|
2925
2980
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2926
2981
|
r += h;
|
|
2927
2982
|
for (; s-- > 0; )
|
|
@@ -2930,7 +2985,7 @@ function Ln(e, t) {
|
|
|
2930
2985
|
}
|
|
2931
2986
|
return r;
|
|
2932
2987
|
}
|
|
2933
|
-
function
|
|
2988
|
+
function Dn(e) {
|
|
2934
2989
|
var t = e.hourCycle;
|
|
2935
2990
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2936
2991
|
e.hourCycles && // @ts-ignore
|
|
@@ -2952,20 +3007,20 @@ function Nn(e) {
|
|
|
2952
3007
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2953
3008
|
return i[0];
|
|
2954
3009
|
}
|
|
2955
|
-
var
|
|
3010
|
+
var Ie, Gn = new RegExp("^".concat(Yt.source, "*")), Fn = new RegExp("".concat(Yt.source, "*$"));
|
|
2956
3011
|
function m(e, t) {
|
|
2957
3012
|
return { start: e, end: t };
|
|
2958
3013
|
}
|
|
2959
|
-
var
|
|
3014
|
+
var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
|
|
2960
3015
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2961
3016
|
}, ke = !0;
|
|
2962
3017
|
try {
|
|
2963
|
-
var
|
|
2964
|
-
ke = ((
|
|
3018
|
+
var qn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3019
|
+
ke = ((Ie = qn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
2965
3020
|
} catch (e) {
|
|
2966
3021
|
ke = !1;
|
|
2967
3022
|
}
|
|
2968
|
-
var vt =
|
|
3023
|
+
var vt = jn ? (
|
|
2969
3024
|
// Native
|
|
2970
3025
|
function(t, r, n) {
|
|
2971
3026
|
return t.startsWith(r, n);
|
|
@@ -2975,7 +3030,7 @@ var vt = $n ? (
|
|
|
2975
3030
|
function(t, r, n) {
|
|
2976
3031
|
return t.slice(n, n + r.length) === r;
|
|
2977
3032
|
}
|
|
2978
|
-
), Ve =
|
|
3033
|
+
), Ve = kn ? String.fromCodePoint : (
|
|
2979
3034
|
// IE11
|
|
2980
3035
|
function() {
|
|
2981
3036
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2989,7 +3044,7 @@ var vt = $n ? (
|
|
|
2989
3044
|
}
|
|
2990
3045
|
), Et = (
|
|
2991
3046
|
// native
|
|
2992
|
-
|
|
3047
|
+
Vn ? Object.fromEntries : (
|
|
2993
3048
|
// Ponyfill
|
|
2994
3049
|
function(t) {
|
|
2995
3050
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2999,7 +3054,7 @@ var vt = $n ? (
|
|
|
2999
3054
|
return r;
|
|
3000
3055
|
}
|
|
3001
3056
|
)
|
|
3002
|
-
),
|
|
3057
|
+
), rr = Xn ? (
|
|
3003
3058
|
// Native
|
|
3004
3059
|
function(t, r) {
|
|
3005
3060
|
return t.codePointAt(r);
|
|
@@ -3013,7 +3068,7 @@ var vt = $n ? (
|
|
|
3013
3068
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3014
3069
|
}
|
|
3015
3070
|
}
|
|
3016
|
-
),
|
|
3071
|
+
), Jn = Wn ? (
|
|
3017
3072
|
// Native
|
|
3018
3073
|
function(t) {
|
|
3019
3074
|
return t.trimStart();
|
|
@@ -3021,9 +3076,9 @@ var vt = $n ? (
|
|
|
3021
3076
|
) : (
|
|
3022
3077
|
// Ponyfill
|
|
3023
3078
|
function(t) {
|
|
3024
|
-
return t.replace(
|
|
3079
|
+
return t.replace(Gn, "");
|
|
3025
3080
|
}
|
|
3026
|
-
),
|
|
3081
|
+
), Yn = zn ? (
|
|
3027
3082
|
// Native
|
|
3028
3083
|
function(t) {
|
|
3029
3084
|
return t.trimEnd();
|
|
@@ -3031,15 +3086,15 @@ var vt = $n ? (
|
|
|
3031
3086
|
) : (
|
|
3032
3087
|
// Ponyfill
|
|
3033
3088
|
function(t) {
|
|
3034
|
-
return t.replace(
|
|
3089
|
+
return t.replace(Fn, "");
|
|
3035
3090
|
}
|
|
3036
3091
|
);
|
|
3037
|
-
function
|
|
3092
|
+
function nr(e, t) {
|
|
3038
3093
|
return new RegExp(e, t);
|
|
3039
3094
|
}
|
|
3040
3095
|
var Xe;
|
|
3041
3096
|
if (ke) {
|
|
3042
|
-
var xt =
|
|
3097
|
+
var xt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3043
3098
|
Xe = function(t, r) {
|
|
3044
3099
|
var n;
|
|
3045
3100
|
xt.lastIndex = r;
|
|
@@ -3049,14 +3104,14 @@ if (ke) {
|
|
|
3049
3104
|
} else
|
|
3050
3105
|
Xe = function(t, r) {
|
|
3051
3106
|
for (var n = []; ; ) {
|
|
3052
|
-
var i =
|
|
3053
|
-
if (i === void 0 ||
|
|
3107
|
+
var i = rr(t, r);
|
|
3108
|
+
if (i === void 0 || ir(i) || ri(i))
|
|
3054
3109
|
break;
|
|
3055
3110
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3056
3111
|
}
|
|
3057
3112
|
return Ve.apply(void 0, n);
|
|
3058
3113
|
};
|
|
3059
|
-
var
|
|
3114
|
+
var Kn = (
|
|
3060
3115
|
/** @class */
|
|
3061
3116
|
function() {
|
|
3062
3117
|
function e(t, r) {
|
|
@@ -3138,7 +3193,7 @@ var zn = (
|
|
|
3138
3193
|
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3139
3194
|
}, e.prototype.parseTagName = function() {
|
|
3140
3195
|
var t = this.offset();
|
|
3141
|
-
for (this.bump(); !this.isEOF() &&
|
|
3196
|
+
for (this.bump(); !this.isEOF() && ti(this.char()); )
|
|
3142
3197
|
this.bump();
|
|
3143
3198
|
return this.message.slice(t, this.offset());
|
|
3144
3199
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3167,7 +3222,7 @@ var zn = (
|
|
|
3167
3222
|
};
|
|
3168
3223
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3169
3224
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3170
|
-
!
|
|
3225
|
+
!ei(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3171
3226
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3172
3227
|
if (this.isEOF() || this.char() !== 39)
|
|
3173
3228
|
return null;
|
|
@@ -3254,7 +3309,7 @@ var zn = (
|
|
|
3254
3309
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3255
3310
|
if (f.err)
|
|
3256
3311
|
return f;
|
|
3257
|
-
var c =
|
|
3312
|
+
var c = Yn(f.val);
|
|
3258
3313
|
if (c.length === 0)
|
|
3259
3314
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3260
3315
|
var p = m(l, this.clonePosition());
|
|
@@ -3265,7 +3320,7 @@ var zn = (
|
|
|
3265
3320
|
return y;
|
|
3266
3321
|
var v = m(i, this.clonePosition());
|
|
3267
3322
|
if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3268
|
-
var B =
|
|
3323
|
+
var B = Jn(u.style.slice(2));
|
|
3269
3324
|
if (a === "number") {
|
|
3270
3325
|
var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3271
3326
|
return f.err ? f : {
|
|
@@ -3276,12 +3331,12 @@ var zn = (
|
|
|
3276
3331
|
if (B.length === 0)
|
|
3277
3332
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3278
3333
|
var $ = B;
|
|
3279
|
-
this.locale && ($ =
|
|
3334
|
+
this.locale && ($ = Un(B, this.locale));
|
|
3280
3335
|
var c = {
|
|
3281
3336
|
type: z.dateTime,
|
|
3282
3337
|
pattern: $,
|
|
3283
3338
|
location: u.styleLocation,
|
|
3284
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3339
|
+
parsedOptions: this.shouldParseSkeletons ? In($) : {}
|
|
3285
3340
|
}, P = a === "date" ? E.date : E.time;
|
|
3286
3341
|
return {
|
|
3287
3342
|
val: { type: P, value: n, location: v, style: c },
|
|
@@ -3386,7 +3441,7 @@ var zn = (
|
|
|
3386
3441
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3387
3442
|
var n = [];
|
|
3388
3443
|
try {
|
|
3389
|
-
n =
|
|
3444
|
+
n = Nn(t);
|
|
3390
3445
|
} catch (i) {
|
|
3391
3446
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3392
3447
|
}
|
|
@@ -3395,7 +3450,7 @@ var zn = (
|
|
|
3395
3450
|
type: z.number,
|
|
3396
3451
|
tokens: n,
|
|
3397
3452
|
location: r,
|
|
3398
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3453
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
|
|
3399
3454
|
},
|
|
3400
3455
|
err: null
|
|
3401
3456
|
};
|
|
@@ -3443,7 +3498,7 @@ var zn = (
|
|
|
3443
3498
|
break;
|
|
3444
3499
|
}
|
|
3445
3500
|
var h = m(i, this.clonePosition());
|
|
3446
|
-
return o ? (s *= n,
|
|
3501
|
+
return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3447
3502
|
}, e.prototype.offset = function() {
|
|
3448
3503
|
return this.position.offset;
|
|
3449
3504
|
}, e.prototype.isEOF = function() {
|
|
@@ -3458,7 +3513,7 @@ var zn = (
|
|
|
3458
3513
|
var t = this.position.offset;
|
|
3459
3514
|
if (t >= this.message.length)
|
|
3460
3515
|
throw Error("out of bound");
|
|
3461
|
-
var r =
|
|
3516
|
+
var r = rr(this.message, t);
|
|
3462
3517
|
if (r === void 0)
|
|
3463
3518
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3464
3519
|
return r;
|
|
@@ -3499,7 +3554,7 @@ var zn = (
|
|
|
3499
3554
|
break;
|
|
3500
3555
|
}
|
|
3501
3556
|
}, e.prototype.bumpSpace = function() {
|
|
3502
|
-
for (; !this.isEOF() &&
|
|
3557
|
+
for (; !this.isEOF() && ir(this.char()); )
|
|
3503
3558
|
this.bump();
|
|
3504
3559
|
}, e.prototype.peek = function() {
|
|
3505
3560
|
if (this.isEOF())
|
|
@@ -3512,86 +3567,36 @@ var zn = (
|
|
|
3512
3567
|
function We(e) {
|
|
3513
3568
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3514
3569
|
}
|
|
3515
|
-
function
|
|
3570
|
+
function ei(e) {
|
|
3516
3571
|
return We(e) || e === 47;
|
|
3517
3572
|
}
|
|
3518
|
-
function
|
|
3573
|
+
function ti(e) {
|
|
3519
3574
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3520
3575
|
}
|
|
3521
|
-
function
|
|
3576
|
+
function ir(e) {
|
|
3522
3577
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3523
3578
|
}
|
|
3524
|
-
function
|
|
3579
|
+
function ri(e) {
|
|
3525
3580
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3526
3581
|
}
|
|
3527
3582
|
function ze(e) {
|
|
3528
3583
|
e.forEach(function(t) {
|
|
3529
|
-
if (delete t.location,
|
|
3584
|
+
if (delete t.location, Zt(t) || Qt(t))
|
|
3530
3585
|
for (var r in t.options)
|
|
3531
3586
|
delete t.options[r].location, ze(t.options[r].value);
|
|
3532
|
-
else
|
|
3587
|
+
else Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && je(t.style) ? delete t.style.location : qt(t) && ze(t.children);
|
|
3533
3588
|
});
|
|
3534
3589
|
}
|
|
3535
|
-
function
|
|
3590
|
+
function ni(e, t) {
|
|
3536
3591
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3537
|
-
var r = new
|
|
3592
|
+
var r = new Kn(e, t).parse();
|
|
3538
3593
|
if (r.err) {
|
|
3539
3594
|
var n = SyntaxError(d[r.err.kind]);
|
|
3540
3595
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3541
3596
|
}
|
|
3542
3597
|
return t != null && t.captureLocation || ze(r.val), r.val;
|
|
3543
3598
|
}
|
|
3544
|
-
|
|
3545
|
-
var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
|
|
3546
|
-
return i(e, {
|
|
3547
|
-
cache: r,
|
|
3548
|
-
serializer: n
|
|
3549
|
-
});
|
|
3550
|
-
}
|
|
3551
|
-
function Yn(e) {
|
|
3552
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3553
|
-
}
|
|
3554
|
-
function ir(e, t, r, n) {
|
|
3555
|
-
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
3556
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3557
|
-
}
|
|
3558
|
-
function or(e, t, r) {
|
|
3559
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3560
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3561
|
-
}
|
|
3562
|
-
function Je(e, t, r, n, i) {
|
|
3563
|
-
return r.bind(t, e, n, i);
|
|
3564
|
-
}
|
|
3565
|
-
function Kn(e, t) {
|
|
3566
|
-
var r = e.length === 1 ? ir : or;
|
|
3567
|
-
return Je(e, this, r, t.cache.create(), t.serializer);
|
|
3568
|
-
}
|
|
3569
|
-
function ei(e, t) {
|
|
3570
|
-
return Je(e, this, or, t.cache.create(), t.serializer);
|
|
3571
|
-
}
|
|
3572
|
-
function ti(e, t) {
|
|
3573
|
-
return Je(e, this, ir, t.cache.create(), t.serializer);
|
|
3574
|
-
}
|
|
3575
|
-
var ri = function() {
|
|
3576
|
-
return JSON.stringify(arguments);
|
|
3577
|
-
};
|
|
3578
|
-
function Ye() {
|
|
3579
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3580
|
-
}
|
|
3581
|
-
Ye.prototype.get = function(e) {
|
|
3582
|
-
return this.cache[e];
|
|
3583
|
-
};
|
|
3584
|
-
Ye.prototype.set = function(e, t) {
|
|
3585
|
-
this.cache[e] = t;
|
|
3586
|
-
};
|
|
3587
|
-
var ni = {
|
|
3588
|
-
create: function() {
|
|
3589
|
-
return new Ye();
|
|
3590
|
-
}
|
|
3591
|
-
}, Ie = {
|
|
3592
|
-
variadic: ei,
|
|
3593
|
-
monadic: ti
|
|
3594
|
-
}, Z;
|
|
3599
|
+
var Z;
|
|
3595
3600
|
(function(e) {
|
|
3596
3601
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3597
3602
|
})(Z || (Z = {}));
|
|
@@ -3664,7 +3669,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3664
3669
|
});
|
|
3665
3670
|
continue;
|
|
3666
3671
|
}
|
|
3667
|
-
if (
|
|
3672
|
+
if (Pn(l)) {
|
|
3668
3673
|
typeof o == "number" && a.push({
|
|
3669
3674
|
type: x.literal,
|
|
3670
3675
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3675,14 +3680,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3675
3680
|
if (!(i && f in i))
|
|
3676
3681
|
throw new oi(f, s);
|
|
3677
3682
|
var c = i[f];
|
|
3678
|
-
if (
|
|
3683
|
+
if (wn(l)) {
|
|
3679
3684
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3680
3685
|
type: typeof c == "string" ? x.literal : x.object,
|
|
3681
3686
|
value: c
|
|
3682
3687
|
});
|
|
3683
3688
|
continue;
|
|
3684
3689
|
}
|
|
3685
|
-
if (
|
|
3690
|
+
if (Wt(l)) {
|
|
3686
3691
|
var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
|
|
3687
3692
|
a.push({
|
|
3688
3693
|
type: x.literal,
|
|
@@ -3690,7 +3695,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3690
3695
|
});
|
|
3691
3696
|
continue;
|
|
3692
3697
|
}
|
|
3693
|
-
if (
|
|
3698
|
+
if (zt(l)) {
|
|
3694
3699
|
var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3695
3700
|
a.push({
|
|
3696
3701
|
type: x.literal,
|
|
@@ -3698,15 +3703,15 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3698
3703
|
});
|
|
3699
3704
|
continue;
|
|
3700
3705
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3706
|
+
if (Xt(l)) {
|
|
3707
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
|
|
3703
3708
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3704
3709
|
type: x.literal,
|
|
3705
3710
|
value: r.getNumberFormat(t, p).format(c)
|
|
3706
3711
|
});
|
|
3707
3712
|
continue;
|
|
3708
3713
|
}
|
|
3709
|
-
if (
|
|
3714
|
+
if (qt(l)) {
|
|
3710
3715
|
var y = l.children, v = l.value, B = i[v];
|
|
3711
3716
|
if (!ai(B))
|
|
3712
3717
|
throw new ii(v, "function", s);
|
|
@@ -3720,14 +3725,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3720
3725
|
};
|
|
3721
3726
|
}));
|
|
3722
3727
|
}
|
|
3723
|
-
if (
|
|
3728
|
+
if (Zt(l)) {
|
|
3724
3729
|
var T = l.options[c] || l.options.other;
|
|
3725
3730
|
if (!T)
|
|
3726
3731
|
throw new _t(l.value, c, Object.keys(l.options), s);
|
|
3727
3732
|
a.push.apply(a, me(T.value, t, r, n, i));
|
|
3728
3733
|
continue;
|
|
3729
3734
|
}
|
|
3730
|
-
if (
|
|
3735
|
+
if (Qt(l)) {
|
|
3731
3736
|
var T = l.options["=".concat(c)];
|
|
3732
3737
|
if (!T) {
|
|
3733
3738
|
if (!Intl.PluralRules)
|
|
@@ -3775,29 +3780,29 @@ function li(e) {
|
|
|
3775
3780
|
dateTime: {},
|
|
3776
3781
|
pluralRules: {}
|
|
3777
3782
|
}), {
|
|
3778
|
-
getNumberFormat:
|
|
3783
|
+
getNumberFormat: Pe(function() {
|
|
3779
3784
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3780
3785
|
r[n] = arguments[n];
|
|
3781
3786
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3782
3787
|
}, {
|
|
3783
3788
|
cache: Le(e.number),
|
|
3784
|
-
strategy:
|
|
3789
|
+
strategy: Oe.variadic
|
|
3785
3790
|
}),
|
|
3786
|
-
getDateTimeFormat:
|
|
3791
|
+
getDateTimeFormat: Pe(function() {
|
|
3787
3792
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3793
|
r[n] = arguments[n];
|
|
3789
3794
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3790
3795
|
}, {
|
|
3791
3796
|
cache: Le(e.dateTime),
|
|
3792
|
-
strategy:
|
|
3797
|
+
strategy: Oe.variadic
|
|
3793
3798
|
}),
|
|
3794
|
-
getPluralRules:
|
|
3799
|
+
getPluralRules: Pe(function() {
|
|
3795
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3801
|
r[n] = arguments[n];
|
|
3797
3802
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3798
3803
|
}, {
|
|
3799
3804
|
cache: Le(e.pluralRules),
|
|
3800
|
-
strategy:
|
|
3805
|
+
strategy: Oe.variadic
|
|
3801
3806
|
})
|
|
3802
3807
|
};
|
|
3803
3808
|
}
|
|
@@ -3805,8 +3810,9 @@ var ci = (
|
|
|
3805
3810
|
/** @class */
|
|
3806
3811
|
function() {
|
|
3807
3812
|
function e(t, r, n, i) {
|
|
3813
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3808
3814
|
var o = this;
|
|
3809
|
-
if (
|
|
3815
|
+
if (this.formatterCache = {
|
|
3810
3816
|
number: {},
|
|
3811
3817
|
dateTime: {},
|
|
3812
3818
|
pluralRules: {}
|
|
@@ -3832,7 +3838,7 @@ var ci = (
|
|
|
3832
3838
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3833
3839
|
var s = i || {};
|
|
3834
3840
|
s.formatters;
|
|
3835
|
-
var a =
|
|
3841
|
+
var a = kr(s, ["formatters"]);
|
|
3836
3842
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3837
3843
|
} else
|
|
3838
3844
|
this.ast = t;
|
|
@@ -3851,7 +3857,7 @@ var ci = (
|
|
|
3851
3857
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3852
3858
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3853
3859
|
}
|
|
3854
|
-
}, e.__parse =
|
|
3860
|
+
}, e.__parse = ni, e.formats = {
|
|
3855
3861
|
number: {
|
|
3856
3862
|
integer: {
|
|
3857
3863
|
maximumFractionDigits: 0
|
|
@@ -3933,7 +3939,7 @@ function fi(e, t) {
|
|
|
3933
3939
|
n = void 0;
|
|
3934
3940
|
return n;
|
|
3935
3941
|
}
|
|
3936
|
-
const C = {}, pi = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r),
|
|
3942
|
+
const C = {}, pi = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), or = (e, t) => {
|
|
3937
3943
|
if (t == null)
|
|
3938
3944
|
return;
|
|
3939
3945
|
if (t in C && e in C[t])
|
|
@@ -3950,11 +3956,11 @@ const ue = xe({});
|
|
|
3950
3956
|
function di(e) {
|
|
3951
3957
|
return Ke[e] || null;
|
|
3952
3958
|
}
|
|
3953
|
-
function
|
|
3959
|
+
function sr(e) {
|
|
3954
3960
|
return e in Ke;
|
|
3955
3961
|
}
|
|
3956
3962
|
function mi(e, t) {
|
|
3957
|
-
if (!
|
|
3963
|
+
if (!sr(e))
|
|
3958
3964
|
return null;
|
|
3959
3965
|
const r = di(e);
|
|
3960
3966
|
return fi(r, t);
|
|
@@ -3965,11 +3971,11 @@ function bi(e) {
|
|
|
3965
3971
|
const t = Se(e);
|
|
3966
3972
|
for (let r = 0; r < t.length; r++) {
|
|
3967
3973
|
const n = t[r];
|
|
3968
|
-
if (
|
|
3974
|
+
if (sr(n))
|
|
3969
3975
|
return n;
|
|
3970
3976
|
}
|
|
3971
3977
|
}
|
|
3972
|
-
function
|
|
3978
|
+
function ar(e, ...t) {
|
|
3973
3979
|
delete C[e], ue.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
|
|
3974
3980
|
}
|
|
3975
3981
|
J(
|
|
@@ -3981,12 +3987,12 @@ const be = {};
|
|
|
3981
3987
|
function gi(e, t) {
|
|
3982
3988
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3983
3989
|
}
|
|
3984
|
-
function
|
|
3990
|
+
function ur(e) {
|
|
3985
3991
|
return be[e];
|
|
3986
3992
|
}
|
|
3987
3993
|
function yi(e) {
|
|
3988
3994
|
return Se(e).map((t) => {
|
|
3989
|
-
const r =
|
|
3995
|
+
const r = ur(t);
|
|
3990
3996
|
return [t, r ? [...r] : []];
|
|
3991
3997
|
}).filter(([, t]) => t.length > 0);
|
|
3992
3998
|
}
|
|
@@ -3994,17 +4000,17 @@ function Ze(e) {
|
|
|
3994
4000
|
return e == null ? !1 : Se(e).some(
|
|
3995
4001
|
(t) => {
|
|
3996
4002
|
var r;
|
|
3997
|
-
return (r =
|
|
4003
|
+
return (r = ur(t)) == null ? void 0 : r.size;
|
|
3998
4004
|
}
|
|
3999
4005
|
);
|
|
4000
4006
|
}
|
|
4001
4007
|
function vi(e, t) {
|
|
4002
4008
|
return Promise.all(
|
|
4003
4009
|
t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
|
|
4004
|
-
).then((n) =>
|
|
4010
|
+
).then((n) => ar(e, ...n));
|
|
4005
4011
|
}
|
|
4006
4012
|
const te = {};
|
|
4007
|
-
function
|
|
4013
|
+
function hr(e) {
|
|
4008
4014
|
if (!Ze(e))
|
|
4009
4015
|
return e in te ? te[e] : Promise.resolve();
|
|
4010
4016
|
const t = yi(e);
|
|
@@ -4014,7 +4020,7 @@ function lr(e) {
|
|
|
4014
4020
|
)
|
|
4015
4021
|
).then(() => {
|
|
4016
4022
|
if (Ze(e))
|
|
4017
|
-
return
|
|
4023
|
+
return hr(e);
|
|
4018
4024
|
delete te[e];
|
|
4019
4025
|
}), te[e];
|
|
4020
4026
|
}
|
|
@@ -4089,7 +4095,7 @@ const Oi = (e) => {
|
|
|
4089
4095
|
return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
|
|
4090
4096
|
() => Ne.set(!0),
|
|
4091
4097
|
t
|
|
4092
|
-
) : Ne.set(!0),
|
|
4098
|
+
) : Ne.set(!0), hr(e).then(() => {
|
|
4093
4099
|
ge.set(e);
|
|
4094
4100
|
}).finally(() => {
|
|
4095
4101
|
clearTimeout(r), Ne.set(!1);
|
|
@@ -4105,20 +4111,20 @@ const Oi = (e) => {
|
|
|
4105
4111
|
return i in t ? t[i] : t[i] = e(n);
|
|
4106
4112
|
};
|
|
4107
4113
|
};
|
|
4108
|
-
var Ii = Object.defineProperty, ye = Object.getOwnPropertySymbols,
|
|
4114
|
+
var Ii = Object.defineProperty, ye = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4109
4115
|
for (var r in t || (t = {}))
|
|
4110
|
-
|
|
4116
|
+
lr.call(t, r) && Bt(e, r, t[r]);
|
|
4111
4117
|
if (ye)
|
|
4112
4118
|
for (var r of ye(t))
|
|
4113
|
-
|
|
4119
|
+
cr.call(t, r) && Bt(e, r, t[r]);
|
|
4114
4120
|
return e;
|
|
4115
4121
|
}, K = (e, t) => {
|
|
4116
4122
|
var r = {};
|
|
4117
4123
|
for (var n in e)
|
|
4118
|
-
|
|
4124
|
+
lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4119
4125
|
if (e != null && ye)
|
|
4120
4126
|
for (var n of ye(e))
|
|
4121
|
-
t.indexOf(n) < 0 &&
|
|
4127
|
+
t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
|
|
4122
4128
|
return r;
|
|
4123
4129
|
};
|
|
4124
4130
|
const oe = (e, t) => {
|
|
@@ -4188,7 +4194,7 @@ const oe = (e, t) => {
|
|
|
4188
4194
|
throw new Error(
|
|
4189
4195
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4190
4196
|
);
|
|
4191
|
-
let l =
|
|
4197
|
+
let l = or(e, h);
|
|
4192
4198
|
if (!l)
|
|
4193
4199
|
l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4194
4200
|
else if (typeof l != "string")
|
|
@@ -4207,7 +4213,7 @@ const oe = (e, t) => {
|
|
|
4207
4213
|
);
|
|
4208
4214
|
}
|
|
4209
4215
|
return f;
|
|
4210
|
-
}, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Ci(t).format(e), ki = (e, t = D()) =>
|
|
4216
|
+
}, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Ci(t).format(e), ki = (e, t = D()) => or(e, t), Vi = J([Y, ue], () => Di);
|
|
4211
4217
|
J([Y], () => Gi);
|
|
4212
4218
|
J([Y], () => Fi);
|
|
4213
4219
|
J([Y], () => ji);
|
|
@@ -4215,7 +4221,7 @@ J([Y, ue], () => ki);
|
|
|
4215
4221
|
window.emWidgets = { topic: nn };
|
|
4216
4222
|
const Xi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4217
4223
|
function At(e, t) {
|
|
4218
|
-
|
|
4224
|
+
ar(e, t);
|
|
4219
4225
|
}
|
|
4220
4226
|
function Wi(e) {
|
|
4221
4227
|
Y.set(e);
|
|
@@ -4253,7 +4259,7 @@ const wt = {
|
|
|
4253
4259
|
}
|
|
4254
4260
|
};
|
|
4255
4261
|
function zi(e) {
|
|
4256
|
-
|
|
4262
|
+
_r(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4257
4263
|
}
|
|
4258
4264
|
function Zi(e) {
|
|
4259
4265
|
let t, r, n, i = (
|
|
@@ -4287,7 +4293,7 @@ function Qi(e) {
|
|
|
4287
4293
|
e[3] && qi(e);
|
|
4288
4294
|
return {
|
|
4289
4295
|
c() {
|
|
4290
|
-
t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ve(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--
|
|
4296
|
+
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 = Hr(), 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"), Ar(r, "width", /*isMobile*/
|
|
4291
4297
|
e[3] ? (
|
|
4292
4298
|
/*mediaQuery*/
|
|
4293
4299
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4363,7 +4369,7 @@ function Ji(e) {
|
|
|
4363
4369
|
}
|
|
4364
4370
|
function Yi(e, t, r) {
|
|
4365
4371
|
let n;
|
|
4366
|
-
|
|
4372
|
+
xr(e, Vi, (b) => r(2, n = b));
|
|
4367
4373
|
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 = Xi(y) !== "PC";
|
|
4368
4374
|
const B = window.matchMedia("(min-width: 768px)"), $ = () => {
|
|
4369
4375
|
fetch(l).then((A) => A.json()).then((A) => {
|
|
@@ -4403,8 +4409,8 @@ function Yi(e, t, r) {
|
|
|
4403
4409
|
500
|
|
4404
4410
|
);
|
|
4405
4411
|
});
|
|
4406
|
-
}, he = () => P(),
|
|
4407
|
-
function
|
|
4412
|
+
}, he = () => P(), pr = () => P();
|
|
4413
|
+
function dr(b) {
|
|
4408
4414
|
Me[b ? "unshift" : "push"](() => {
|
|
4409
4415
|
p = b, r(1, p);
|
|
4410
4416
|
});
|
|
@@ -4432,13 +4438,13 @@ function Yi(e, t, r) {
|
|
|
4432
4438
|
u,
|
|
4433
4439
|
l,
|
|
4434
4440
|
he,
|
|
4435
|
-
|
|
4436
|
-
|
|
4441
|
+
pr,
|
|
4442
|
+
dr
|
|
4437
4443
|
];
|
|
4438
4444
|
}
|
|
4439
|
-
class
|
|
4445
|
+
class fr extends Fr {
|
|
4440
4446
|
constructor(t) {
|
|
4441
|
-
super(),
|
|
4447
|
+
super(), Dr(
|
|
4442
4448
|
this,
|
|
4443
4449
|
t,
|
|
4444
4450
|
Yi,
|
|
@@ -4499,32 +4505,32 @@ class pr extends jr {
|
|
|
4499
4505
|
this.$$set({ translationurl: t }), I();
|
|
4500
4506
|
}
|
|
4501
4507
|
}
|
|
4502
|
-
|
|
4508
|
+
Gr(fr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4503
4509
|
const oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4504
4510
|
__proto__: null,
|
|
4505
|
-
default:
|
|
4511
|
+
default: fr
|
|
4506
4512
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4507
4513
|
export {
|
|
4508
4514
|
Y as $,
|
|
4509
4515
|
eo as A,
|
|
4510
4516
|
oo as G,
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4517
|
+
Fr as S,
|
|
4518
|
+
ar as a,
|
|
4519
|
+
_r as b,
|
|
4520
|
+
Gr as c,
|
|
4515
4521
|
ae as d,
|
|
4516
4522
|
L as e,
|
|
4517
4523
|
I as f,
|
|
4518
4524
|
q as g,
|
|
4519
|
-
|
|
4520
|
-
|
|
4525
|
+
xr as h,
|
|
4526
|
+
Dr as i,
|
|
4521
4527
|
Xi as j,
|
|
4522
4528
|
Me as k,
|
|
4523
4529
|
Vi as l,
|
|
4524
4530
|
io as m,
|
|
4525
4531
|
w as n,
|
|
4526
4532
|
no as o,
|
|
4527
|
-
|
|
4533
|
+
Hr as p,
|
|
4528
4534
|
_ as q,
|
|
4529
4535
|
S as r,
|
|
4530
4536
|
Ot as s,
|