@everymatrix/general-logout 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.
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var pr = Object.defineProperty, dr = Object.defineProperties;
|
|
2
|
+
var mr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var et = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Se = (e, t, r) => t in e ?
|
|
4
|
+
var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
br.call(t, r) && Se(e, r, t[r]);
|
|
8
8
|
if (et)
|
|
9
9
|
for (var r of et(t))
|
|
10
|
-
|
|
10
|
+
gr.call(t, r) && Se(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, rt = (e, t) =>
|
|
12
|
+
}, rt = (e, t) => dr(e, mr(t));
|
|
13
13
|
var T = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var nt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
@@ -44,7 +44,7 @@ function Ze(e) {
|
|
|
44
44
|
function Pt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function yr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
50
|
function Ot(e, ...t) {
|
|
@@ -56,20 +56,20 @@ function Ot(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function vr(e, t, r) {
|
|
60
60
|
e.$$.on_destroy.push(Ot(t, r));
|
|
61
61
|
}
|
|
62
62
|
function _(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function Er(e, t, r) {
|
|
66
|
+
const n = xr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = L("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, _r(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function xr(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,7 +78,7 @@ function _r(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function _r(e, t) {
|
|
82
82
|
return _(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
@@ -100,7 +100,7 @@ function ee(e) {
|
|
|
100
100
|
function ge(e) {
|
|
101
101
|
return document.createTextNode(e);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Sr() {
|
|
104
104
|
return ge(" ");
|
|
105
105
|
}
|
|
106
106
|
function It(e, t, r, n) {
|
|
@@ -109,17 +109,17 @@ function It(e, t, r, n) {
|
|
|
109
109
|
function H(e, t, r) {
|
|
110
110
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Tr(e) {
|
|
113
113
|
return Array.from(e.childNodes);
|
|
114
114
|
}
|
|
115
115
|
function Lt(e, t) {
|
|
116
116
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
117
117
|
t);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Hr(e, t, r, n) {
|
|
120
120
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Br(e) {
|
|
123
123
|
const t = {};
|
|
124
124
|
return e.childNodes.forEach(
|
|
125
125
|
/** @param {Element} node */
|
|
@@ -134,12 +134,12 @@ function re(e) {
|
|
|
134
134
|
}
|
|
135
135
|
const k = [], Le = [];
|
|
136
136
|
let V = [];
|
|
137
|
-
const ot = [],
|
|
137
|
+
const ot = [], Ar = /* @__PURE__ */ Promise.resolve();
|
|
138
138
|
let Ne = !1;
|
|
139
|
-
function
|
|
140
|
-
Ne || (Ne = !0,
|
|
139
|
+
function wr() {
|
|
140
|
+
Ne || (Ne = !0, Ar.then(I));
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Me(e) {
|
|
143
143
|
V.push(e);
|
|
144
144
|
}
|
|
145
145
|
const Te = /* @__PURE__ */ new Set();
|
|
@@ -152,7 +152,7 @@ function I() {
|
|
|
152
152
|
try {
|
|
153
153
|
for (; F < k.length; ) {
|
|
154
154
|
const t = k[F];
|
|
155
|
-
F++, re(t),
|
|
155
|
+
F++, re(t), Pr(t.$$);
|
|
156
156
|
}
|
|
157
157
|
} catch (t) {
|
|
158
158
|
throw k.length = 0, F = 0, t;
|
|
@@ -168,36 +168,36 @@ function I() {
|
|
|
168
168
|
ot.pop()();
|
|
169
169
|
Ne = !1, Te.clear(), re(e);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Pr(e) {
|
|
172
172
|
if (e.fragment !== null) {
|
|
173
173
|
e.update(), oe(e.before_update);
|
|
174
174
|
const t = e.dirty;
|
|
175
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
175
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Or(e) {
|
|
179
179
|
const t = [], r = [];
|
|
180
180
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
function
|
|
184
|
-
e && e.i && (
|
|
182
|
+
const Ir = /* @__PURE__ */ new Set();
|
|
183
|
+
function Lr(e, t) {
|
|
184
|
+
e && e.i && (Ir.delete(e), e.i(t));
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Nr(e, t, r) {
|
|
187
187
|
const { fragment: n, after_update: i } = e.$$;
|
|
188
|
-
n && n.m(t, r),
|
|
188
|
+
n && n.m(t, r), Me(() => {
|
|
189
189
|
const o = e.$$.on_mount.map(wt).filter(Ze);
|
|
190
190
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
|
|
191
|
-
}), i.forEach(
|
|
191
|
+
}), i.forEach(Me);
|
|
192
192
|
}
|
|
193
193
|
function Mr(e, t) {
|
|
194
194
|
const r = e.$$;
|
|
195
|
-
r.fragment !== null && (
|
|
195
|
+
r.fragment !== null && (Or(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
197
|
+
function Cr(e, t) {
|
|
198
|
+
e.$$.dirty[0] === -1 && (k.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
201
201
|
const h = Qe;
|
|
202
202
|
re(e);
|
|
203
203
|
const u = e.$$ = {
|
|
@@ -225,14 +225,14 @@ function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
225
225
|
let l = !1;
|
|
226
226
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
227
227
|
const y = p.length ? p[0] : c;
|
|
228
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l &&
|
|
228
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Cr(e, f)), c;
|
|
229
229
|
}) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
230
230
|
if (t.hydrate) {
|
|
231
|
-
const f =
|
|
231
|
+
const f = Tr(t.target);
|
|
232
232
|
u.fragment && u.fragment.l(f), f.forEach(J);
|
|
233
233
|
} else
|
|
234
234
|
u.fragment && u.fragment.c();
|
|
235
|
-
t.intro &&
|
|
235
|
+
t.intro && Lr(e.$$.fragment), Nr(e, t.target, t.anchor), I();
|
|
236
236
|
}
|
|
237
237
|
re(h);
|
|
238
238
|
}
|
|
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
298
298
|
};
|
|
299
299
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
300
300
|
return;
|
|
301
|
-
const r = {}, n =
|
|
301
|
+
const r = {}, n = Br(this);
|
|
302
302
|
for (const o of this.$$s)
|
|
303
303
|
o in n && (r[o] = [t(o)]);
|
|
304
304
|
for (const o of this.attributes) {
|
|
@@ -387,7 +387,7 @@ function ce(e, t, r, n) {
|
|
|
387
387
|
return t;
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Rr(e, t, r, n, i, o) {
|
|
391
391
|
let s = class extends Nt {
|
|
392
392
|
constructor() {
|
|
393
393
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -418,7 +418,7 @@ function Ur(e, t, r, n, i, o) {
|
|
|
418
418
|
}), e.element = /** @type {any} */
|
|
419
419
|
s, s;
|
|
420
420
|
}
|
|
421
|
-
class
|
|
421
|
+
class Ur {
|
|
422
422
|
constructor() {
|
|
423
423
|
/**
|
|
424
424
|
* ### PRIVATE API
|
|
@@ -461,22 +461,22 @@ class Dr {
|
|
|
461
461
|
* @returns {void}
|
|
462
462
|
*/
|
|
463
463
|
$set(t) {
|
|
464
|
-
this.$$set && !
|
|
464
|
+
this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
const
|
|
468
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
469
|
-
var
|
|
470
|
-
return
|
|
467
|
+
const Dr = "4";
|
|
468
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
|
|
469
|
+
var Ce = function(e, t) {
|
|
470
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
471
471
|
r.__proto__ = n;
|
|
472
472
|
} || function(r, n) {
|
|
473
473
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
474
|
-
},
|
|
474
|
+
}, Ce(e, t);
|
|
475
475
|
};
|
|
476
|
-
function
|
|
476
|
+
function M(e, t) {
|
|
477
477
|
if (typeof t != "function" && t !== null)
|
|
478
478
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
479
|
-
|
|
479
|
+
Ce(e, t);
|
|
480
480
|
function r() {
|
|
481
481
|
this.constructor = e;
|
|
482
482
|
}
|
|
@@ -491,7 +491,7 @@ var g = function() {
|
|
|
491
491
|
return t;
|
|
492
492
|
}, g.apply(this, arguments);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function Gr(e, t) {
|
|
495
495
|
var r = {};
|
|
496
496
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
497
497
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -534,13 +534,13 @@ function X(e, t, r) {
|
|
|
534
534
|
function N(e) {
|
|
535
535
|
return typeof e == "function";
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function Mt(e) {
|
|
538
538
|
var t = function(n) {
|
|
539
539
|
Error.call(n), n.stack = new Error().stack;
|
|
540
540
|
}, r = e(t);
|
|
541
541
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
542
542
|
}
|
|
543
|
-
var He =
|
|
543
|
+
var He = Mt(function(e) {
|
|
544
544
|
return function(r) {
|
|
545
545
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
546
546
|
` + r.map(function(n, i) {
|
|
@@ -643,7 +643,7 @@ var ye = function() {
|
|
|
643
643
|
var t = new e();
|
|
644
644
|
return t.closed = !0, t;
|
|
645
645
|
}(), e;
|
|
646
|
-
}(),
|
|
646
|
+
}(), Ct = ye.EMPTY;
|
|
647
647
|
function $t(e) {
|
|
648
648
|
return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
649
649
|
}
|
|
@@ -656,20 +656,19 @@ var Rt = {
|
|
|
656
656
|
Promise: void 0,
|
|
657
657
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
658
658
|
useDeprecatedNextContext: !1
|
|
659
|
-
},
|
|
659
|
+
}, Fr = {
|
|
660
660
|
setTimeout: function(e, t) {
|
|
661
661
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
662
662
|
r[n - 2] = arguments[n];
|
|
663
663
|
return setTimeout.apply(void 0, X([e, t], Re(r)));
|
|
664
664
|
},
|
|
665
665
|
clearTimeout: function(e) {
|
|
666
|
-
|
|
667
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
666
|
+
return clearTimeout(e);
|
|
668
667
|
},
|
|
669
668
|
delegate: void 0
|
|
670
669
|
};
|
|
671
670
|
function jr(e) {
|
|
672
|
-
|
|
671
|
+
Fr.setTimeout(function() {
|
|
673
672
|
throw e;
|
|
674
673
|
});
|
|
675
674
|
}
|
|
@@ -678,8 +677,8 @@ function at() {
|
|
|
678
677
|
function fe(e) {
|
|
679
678
|
e();
|
|
680
679
|
}
|
|
681
|
-
var
|
|
682
|
-
|
|
680
|
+
var Ut = function(e) {
|
|
681
|
+
M(t, e);
|
|
683
682
|
function t(r) {
|
|
684
683
|
var n = e.call(this) || this;
|
|
685
684
|
return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
|
|
@@ -745,7 +744,7 @@ var Vr = function() {
|
|
|
745
744
|
}
|
|
746
745
|
}, e;
|
|
747
746
|
}(), De = function(e) {
|
|
748
|
-
|
|
747
|
+
M(t, e);
|
|
749
748
|
function t(r, n, i) {
|
|
750
749
|
var o = e.call(this) || this, s;
|
|
751
750
|
if (N(r) || !r)
|
|
@@ -767,7 +766,7 @@ var Vr = function() {
|
|
|
767
766
|
return o.destination = new Vr(s), o;
|
|
768
767
|
}
|
|
769
768
|
return t;
|
|
770
|
-
}(
|
|
769
|
+
}(Ut);
|
|
771
770
|
function he(e) {
|
|
772
771
|
jr(e);
|
|
773
772
|
}
|
|
@@ -800,7 +799,7 @@ var ut = function() {
|
|
|
800
799
|
var r = new e();
|
|
801
800
|
return r.source = this, r.operator = t, r;
|
|
802
801
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
803
|
-
var i = this, o =
|
|
802
|
+
var i = this, o = Yr(t) ? t : new De(t, r, n);
|
|
804
803
|
return fe(function() {
|
|
805
804
|
var s = i, a = s.operator, h = s.source;
|
|
806
805
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -859,15 +858,15 @@ function ht(e) {
|
|
|
859
858
|
function Jr(e) {
|
|
860
859
|
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
861
860
|
}
|
|
862
|
-
function
|
|
863
|
-
return e && e instanceof
|
|
861
|
+
function Yr(e) {
|
|
862
|
+
return e && e instanceof Ut || Jr(e) && $t(e);
|
|
864
863
|
}
|
|
865
|
-
var
|
|
864
|
+
var qr = Mt(function(e) {
|
|
866
865
|
return function() {
|
|
867
866
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
868
867
|
};
|
|
869
|
-
}),
|
|
870
|
-
|
|
868
|
+
}), Dt = function(e) {
|
|
869
|
+
M(t, e);
|
|
871
870
|
function t() {
|
|
872
871
|
var r = e.call(this) || this;
|
|
873
872
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -877,7 +876,7 @@ var Yr = Ct(function(e) {
|
|
|
877
876
|
return n.operator = r, n;
|
|
878
877
|
}, t.prototype._throwIfClosed = function() {
|
|
879
878
|
if (this.closed)
|
|
880
|
-
throw new
|
|
879
|
+
throw new qr();
|
|
881
880
|
}, t.prototype.next = function(r) {
|
|
882
881
|
var n = this;
|
|
883
882
|
fe(function() {
|
|
@@ -933,7 +932,7 @@ var Yr = Ct(function(e) {
|
|
|
933
932
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
934
933
|
}, t.prototype._innerSubscribe = function(r) {
|
|
935
934
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
936
|
-
return o || s ?
|
|
935
|
+
return o || s ? Ct : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
937
936
|
n.currentObservers = null, Ue(a, r);
|
|
938
937
|
}));
|
|
939
938
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -946,7 +945,7 @@ var Yr = Ct(function(e) {
|
|
|
946
945
|
return new lt(r, n);
|
|
947
946
|
}, t;
|
|
948
947
|
}(ut), lt = function(e) {
|
|
949
|
-
|
|
948
|
+
M(t, e);
|
|
950
949
|
function t(r, n) {
|
|
951
950
|
var i = e.call(this) || this;
|
|
952
951
|
return i.destination = r, i.source = n, i;
|
|
@@ -962,17 +961,17 @@ var Yr = Ct(function(e) {
|
|
|
962
961
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
963
962
|
}, t.prototype._subscribe = function(r) {
|
|
964
963
|
var n, i;
|
|
965
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
964
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
|
|
966
965
|
}, t;
|
|
967
|
-
}(
|
|
966
|
+
}(Dt), Gt = {
|
|
968
967
|
now: function() {
|
|
969
|
-
return (
|
|
968
|
+
return (Gt.delegate || Date).now();
|
|
970
969
|
},
|
|
971
970
|
delegate: void 0
|
|
972
971
|
}, Kr = function(e) {
|
|
973
|
-
|
|
972
|
+
M(t, e);
|
|
974
973
|
function t(r, n, i) {
|
|
975
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
974
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
|
|
976
975
|
var o = e.call(this) || this;
|
|
977
976
|
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;
|
|
978
977
|
}
|
|
@@ -992,7 +991,7 @@ var Yr = Ct(function(e) {
|
|
|
992
991
|
u && o.splice(0, u + 1);
|
|
993
992
|
}
|
|
994
993
|
}, t;
|
|
995
|
-
}(
|
|
994
|
+
}(Dt);
|
|
996
995
|
const ct = [], ft = {}, en = (e, t = 0) => {
|
|
997
996
|
if (ct.indexOf(e) == -1) {
|
|
998
997
|
const r = new Kr(t);
|
|
@@ -1031,7 +1030,7 @@ function ve(e, t = w) {
|
|
|
1031
1030
|
}
|
|
1032
1031
|
return { set: i, update: o, subscribe: s };
|
|
1033
1032
|
}
|
|
1034
|
-
function
|
|
1033
|
+
function Y(e, t, r) {
|
|
1035
1034
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1036
1035
|
if (!i.every(Boolean))
|
|
1037
1036
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1104,7 +1103,7 @@ function pn(e) {
|
|
|
1104
1103
|
function pt(e) {
|
|
1105
1104
|
return Object.keys(e).concat(pn(e));
|
|
1106
1105
|
}
|
|
1107
|
-
function
|
|
1106
|
+
function Ft(e, t) {
|
|
1108
1107
|
try {
|
|
1109
1108
|
return t in e;
|
|
1110
1109
|
} catch (r) {
|
|
@@ -1112,14 +1111,14 @@ function jt(e, t) {
|
|
|
1112
1111
|
}
|
|
1113
1112
|
}
|
|
1114
1113
|
function dn(e, t) {
|
|
1115
|
-
return
|
|
1114
|
+
return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1116
1115
|
}
|
|
1117
1116
|
function mn(e, t, r) {
|
|
1118
1117
|
var n = {};
|
|
1119
1118
|
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
1120
1119
|
n[i] = ne(e[i], r);
|
|
1121
1120
|
}), pt(t).forEach(function(i) {
|
|
1122
|
-
dn(e, i) || (
|
|
1121
|
+
dn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1123
1122
|
}), n;
|
|
1124
1123
|
}
|
|
1125
1124
|
function W(e, t, r) {
|
|
@@ -1136,7 +1135,57 @@ W.all = function(t, r) {
|
|
|
1136
1135
|
};
|
|
1137
1136
|
var bn = W, gn = bn;
|
|
1138
1137
|
const yn = /* @__PURE__ */ rn(gn);
|
|
1139
|
-
|
|
1138
|
+
function Ae(e, t) {
|
|
1139
|
+
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
|
|
1140
|
+
return i(e, {
|
|
1141
|
+
cache: r,
|
|
1142
|
+
serializer: n
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
function vn(e) {
|
|
1146
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1147
|
+
}
|
|
1148
|
+
function jt(e, t, r, n) {
|
|
1149
|
+
var i = vn(n) ? n : r(n), o = t.get(i);
|
|
1150
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1151
|
+
}
|
|
1152
|
+
function kt(e, t, r) {
|
|
1153
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1154
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1155
|
+
}
|
|
1156
|
+
function Je(e, t, r, n, i) {
|
|
1157
|
+
return r.bind(t, e, n, i);
|
|
1158
|
+
}
|
|
1159
|
+
function En(e, t) {
|
|
1160
|
+
var r = e.length === 1 ? jt : kt;
|
|
1161
|
+
return Je(e, this, r, t.cache.create(), t.serializer);
|
|
1162
|
+
}
|
|
1163
|
+
function xn(e, t) {
|
|
1164
|
+
return Je(e, this, kt, t.cache.create(), t.serializer);
|
|
1165
|
+
}
|
|
1166
|
+
function _n(e, t) {
|
|
1167
|
+
return Je(e, this, jt, t.cache.create(), t.serializer);
|
|
1168
|
+
}
|
|
1169
|
+
var Sn = function() {
|
|
1170
|
+
return JSON.stringify(arguments);
|
|
1171
|
+
};
|
|
1172
|
+
function Ye() {
|
|
1173
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1174
|
+
}
|
|
1175
|
+
Ye.prototype.get = function(e) {
|
|
1176
|
+
return this.cache[e];
|
|
1177
|
+
};
|
|
1178
|
+
Ye.prototype.set = function(e, t) {
|
|
1179
|
+
this.cache[e] = t;
|
|
1180
|
+
};
|
|
1181
|
+
var Tn = {
|
|
1182
|
+
create: function() {
|
|
1183
|
+
return new Ye();
|
|
1184
|
+
}
|
|
1185
|
+
}, we = {
|
|
1186
|
+
variadic: xn,
|
|
1187
|
+
monadic: _n
|
|
1188
|
+
}, d;
|
|
1140
1189
|
(function(e) {
|
|
1141
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";
|
|
1142
1191
|
})(d || (d = {}));
|
|
@@ -1151,40 +1200,40 @@ var z;
|
|
|
1151
1200
|
function dt(e) {
|
|
1152
1201
|
return e.type === E.literal;
|
|
1153
1202
|
}
|
|
1154
|
-
function
|
|
1203
|
+
function Hn(e) {
|
|
1155
1204
|
return e.type === E.argument;
|
|
1156
1205
|
}
|
|
1157
|
-
function
|
|
1206
|
+
function Vt(e) {
|
|
1158
1207
|
return e.type === E.number;
|
|
1159
1208
|
}
|
|
1160
|
-
function
|
|
1209
|
+
function Xt(e) {
|
|
1161
1210
|
return e.type === E.date;
|
|
1162
1211
|
}
|
|
1163
|
-
function
|
|
1212
|
+
function Wt(e) {
|
|
1164
1213
|
return e.type === E.time;
|
|
1165
1214
|
}
|
|
1166
|
-
function
|
|
1215
|
+
function zt(e) {
|
|
1167
1216
|
return e.type === E.select;
|
|
1168
1217
|
}
|
|
1169
|
-
function
|
|
1218
|
+
function Zt(e) {
|
|
1170
1219
|
return e.type === E.plural;
|
|
1171
1220
|
}
|
|
1172
|
-
function
|
|
1221
|
+
function Bn(e) {
|
|
1173
1222
|
return e.type === E.pound;
|
|
1174
1223
|
}
|
|
1175
|
-
function
|
|
1224
|
+
function Qt(e) {
|
|
1176
1225
|
return e.type === E.tag;
|
|
1177
1226
|
}
|
|
1178
|
-
function
|
|
1227
|
+
function Jt(e) {
|
|
1179
1228
|
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1180
1229
|
}
|
|
1181
1230
|
function Ge(e) {
|
|
1182
1231
|
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1183
1232
|
}
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1233
|
+
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
|
|
1234
|
+
function wn(e) {
|
|
1186
1235
|
var t = {};
|
|
1187
|
-
return e.replace(
|
|
1236
|
+
return e.replace(An, function(r) {
|
|
1188
1237
|
var n = r.length;
|
|
1189
1238
|
switch (r[0]) {
|
|
1190
1239
|
case "G":
|
|
@@ -1273,11 +1322,11 @@ function _n(e) {
|
|
|
1273
1322
|
return "";
|
|
1274
1323
|
}), t;
|
|
1275
1324
|
}
|
|
1276
|
-
var
|
|
1277
|
-
function
|
|
1325
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1326
|
+
function On(e) {
|
|
1278
1327
|
if (e.length === 0)
|
|
1279
1328
|
throw new Error("Number skeleton cannot be empty");
|
|
1280
|
-
for (var t = e.split(
|
|
1329
|
+
for (var t = e.split(Pn).filter(function(c) {
|
|
1281
1330
|
return c.length > 0;
|
|
1282
1331
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1283
1332
|
var o = i[n], s = o.split("/");
|
|
@@ -1292,17 +1341,17 @@ function Tn(e) {
|
|
|
1292
1341
|
}
|
|
1293
1342
|
return r;
|
|
1294
1343
|
}
|
|
1295
|
-
function
|
|
1344
|
+
function In(e) {
|
|
1296
1345
|
return e.replace(/^(.*?)-/, "");
|
|
1297
1346
|
}
|
|
1298
|
-
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1347
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
|
|
1299
1348
|
function bt(e) {
|
|
1300
1349
|
var t = {};
|
|
1301
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) {
|
|
1302
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)), "";
|
|
1303
1352
|
}), t;
|
|
1304
1353
|
}
|
|
1305
|
-
function
|
|
1354
|
+
function er(e) {
|
|
1306
1355
|
switch (e) {
|
|
1307
1356
|
case "sign-auto":
|
|
1308
1357
|
return {
|
|
@@ -1342,7 +1391,7 @@ function Kt(e) {
|
|
|
1342
1391
|
};
|
|
1343
1392
|
}
|
|
1344
1393
|
}
|
|
1345
|
-
function
|
|
1394
|
+
function Nn(e) {
|
|
1346
1395
|
var t;
|
|
1347
1396
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1348
1397
|
notation: "engineering"
|
|
@@ -1350,17 +1399,17 @@ function An(e) {
|
|
|
1350
1399
|
notation: "scientific"
|
|
1351
1400
|
}, e = e.slice(1)), t) {
|
|
1352
1401
|
var r = e.slice(0, 2);
|
|
1353
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1402
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
|
|
1354
1403
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1355
1404
|
t.minimumIntegerDigits = e.length;
|
|
1356
1405
|
}
|
|
1357
1406
|
return t;
|
|
1358
1407
|
}
|
|
1359
1408
|
function gt(e) {
|
|
1360
|
-
var t = {}, r =
|
|
1409
|
+
var t = {}, r = er(e);
|
|
1361
1410
|
return r || t;
|
|
1362
1411
|
}
|
|
1363
|
-
function
|
|
1412
|
+
function Mn(e) {
|
|
1364
1413
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1365
1414
|
var i = n[r];
|
|
1366
1415
|
switch (i.stem) {
|
|
@@ -1384,7 +1433,7 @@ function wn(e) {
|
|
|
1384
1433
|
continue;
|
|
1385
1434
|
case "measure-unit":
|
|
1386
1435
|
case "unit":
|
|
1387
|
-
t.style = "unit", t.unit =
|
|
1436
|
+
t.style = "unit", t.unit = In(i.options[0]);
|
|
1388
1437
|
continue;
|
|
1389
1438
|
case "compact-short":
|
|
1390
1439
|
case "K":
|
|
@@ -1446,7 +1495,7 @@ function wn(e) {
|
|
|
1446
1495
|
case "integer-width":
|
|
1447
1496
|
if (i.options.length > 1)
|
|
1448
1497
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1449
|
-
i.options[0].replace(
|
|
1498
|
+
i.options[0].replace(Ln, function(h, u, l, f, c, p) {
|
|
1450
1499
|
if (u)
|
|
1451
1500
|
t.minimumIntegerDigits = l.length;
|
|
1452
1501
|
else {
|
|
@@ -1459,7 +1508,7 @@ function wn(e) {
|
|
|
1459
1508
|
});
|
|
1460
1509
|
continue;
|
|
1461
1510
|
}
|
|
1462
|
-
if (
|
|
1511
|
+
if (Kt.test(i.stem)) {
|
|
1463
1512
|
t.minimumIntegerDigits = i.stem.length;
|
|
1464
1513
|
continue;
|
|
1465
1514
|
}
|
|
@@ -1477,9 +1526,9 @@ function wn(e) {
|
|
|
1477
1526
|
t = g(g({}, t), bt(i.stem));
|
|
1478
1527
|
continue;
|
|
1479
1528
|
}
|
|
1480
|
-
var s =
|
|
1529
|
+
var s = er(i.stem);
|
|
1481
1530
|
s && (t = g(g({}, t), s));
|
|
1482
|
-
var a =
|
|
1531
|
+
var a = Nn(i.stem);
|
|
1483
1532
|
a && (t = g(g({}, t), a));
|
|
1484
1533
|
}
|
|
1485
1534
|
return t;
|
|
@@ -1489,6 +1538,12 @@ var le = {
|
|
|
1489
1538
|
"H",
|
|
1490
1539
|
"h"
|
|
1491
1540
|
],
|
|
1541
|
+
419: [
|
|
1542
|
+
"h",
|
|
1543
|
+
"H",
|
|
1544
|
+
"hB",
|
|
1545
|
+
"hb"
|
|
1546
|
+
],
|
|
1492
1547
|
AC: [
|
|
1493
1548
|
"H",
|
|
1494
1549
|
"h",
|
|
@@ -1537,8 +1592,8 @@ var le = {
|
|
|
1537
1592
|
"hB"
|
|
1538
1593
|
],
|
|
1539
1594
|
AR: [
|
|
1540
|
-
"H",
|
|
1541
1595
|
"h",
|
|
1596
|
+
"H",
|
|
1542
1597
|
"hB",
|
|
1543
1598
|
"hb"
|
|
1544
1599
|
],
|
|
@@ -1628,9 +1683,9 @@ var le = {
|
|
|
1628
1683
|
"H"
|
|
1629
1684
|
],
|
|
1630
1685
|
BO: [
|
|
1686
|
+
"h",
|
|
1631
1687
|
"H",
|
|
1632
1688
|
"hB",
|
|
1633
|
-
"h",
|
|
1634
1689
|
"hb"
|
|
1635
1690
|
],
|
|
1636
1691
|
BQ: [
|
|
@@ -1707,8 +1762,8 @@ var le = {
|
|
|
1707
1762
|
"hB"
|
|
1708
1763
|
],
|
|
1709
1764
|
CL: [
|
|
1710
|
-
"H",
|
|
1711
1765
|
"h",
|
|
1766
|
+
"H",
|
|
1712
1767
|
"hB",
|
|
1713
1768
|
"hb"
|
|
1714
1769
|
],
|
|
@@ -1733,14 +1788,14 @@ var le = {
|
|
|
1733
1788
|
"H"
|
|
1734
1789
|
],
|
|
1735
1790
|
CR: [
|
|
1736
|
-
"H",
|
|
1737
1791
|
"h",
|
|
1792
|
+
"H",
|
|
1738
1793
|
"hB",
|
|
1739
1794
|
"hb"
|
|
1740
1795
|
],
|
|
1741
1796
|
CU: [
|
|
1742
|
-
"H",
|
|
1743
1797
|
"h",
|
|
1798
|
+
"H",
|
|
1744
1799
|
"hB",
|
|
1745
1800
|
"hb"
|
|
1746
1801
|
],
|
|
@@ -1809,9 +1864,9 @@ var le = {
|
|
|
1809
1864
|
"hb"
|
|
1810
1865
|
],
|
|
1811
1866
|
EC: [
|
|
1867
|
+
"h",
|
|
1812
1868
|
"H",
|
|
1813
1869
|
"hB",
|
|
1814
|
-
"h",
|
|
1815
1870
|
"hb"
|
|
1816
1871
|
],
|
|
1817
1872
|
EE: [
|
|
@@ -1947,8 +2002,8 @@ var le = {
|
|
|
1947
2002
|
"hB"
|
|
1948
2003
|
],
|
|
1949
2004
|
GT: [
|
|
1950
|
-
"H",
|
|
1951
2005
|
"h",
|
|
2006
|
+
"H",
|
|
1952
2007
|
"hB",
|
|
1953
2008
|
"hb"
|
|
1954
2009
|
],
|
|
@@ -1975,8 +2030,8 @@ var le = {
|
|
|
1975
2030
|
"H"
|
|
1976
2031
|
],
|
|
1977
2032
|
HN: [
|
|
1978
|
-
"H",
|
|
1979
2033
|
"h",
|
|
2034
|
+
"H",
|
|
1980
2035
|
"hB",
|
|
1981
2036
|
"hb"
|
|
1982
2037
|
],
|
|
@@ -2290,8 +2345,8 @@ var le = {
|
|
|
2290
2345
|
"hB"
|
|
2291
2346
|
],
|
|
2292
2347
|
MX: [
|
|
2293
|
-
"H",
|
|
2294
2348
|
"h",
|
|
2349
|
+
"H",
|
|
2295
2350
|
"hB",
|
|
2296
2351
|
"hb"
|
|
2297
2352
|
],
|
|
@@ -2331,8 +2386,8 @@ var le = {
|
|
|
2331
2386
|
"hB"
|
|
2332
2387
|
],
|
|
2333
2388
|
NI: [
|
|
2334
|
-
"H",
|
|
2335
2389
|
"h",
|
|
2390
|
+
"H",
|
|
2336
2391
|
"hB",
|
|
2337
2392
|
"hb"
|
|
2338
2393
|
],
|
|
@@ -2380,9 +2435,9 @@ var le = {
|
|
|
2380
2435
|
"hb"
|
|
2381
2436
|
],
|
|
2382
2437
|
PE: [
|
|
2438
|
+
"h",
|
|
2383
2439
|
"H",
|
|
2384
2440
|
"hB",
|
|
2385
|
-
"h",
|
|
2386
2441
|
"hb"
|
|
2387
2442
|
],
|
|
2388
2443
|
PF: [
|
|
@@ -2440,8 +2495,8 @@ var le = {
|
|
|
2440
2495
|
"H"
|
|
2441
2496
|
],
|
|
2442
2497
|
PY: [
|
|
2443
|
-
"H",
|
|
2444
2498
|
"h",
|
|
2499
|
+
"H",
|
|
2445
2500
|
"hB",
|
|
2446
2501
|
"hb"
|
|
2447
2502
|
],
|
|
@@ -2554,8 +2609,8 @@ var le = {
|
|
|
2554
2609
|
"hB"
|
|
2555
2610
|
],
|
|
2556
2611
|
SV: [
|
|
2557
|
-
"H",
|
|
2558
2612
|
"h",
|
|
2613
|
+
"H",
|
|
2559
2614
|
"hB",
|
|
2560
2615
|
"hb"
|
|
2561
2616
|
],
|
|
@@ -2677,8 +2732,8 @@ var le = {
|
|
|
2677
2732
|
"hB"
|
|
2678
2733
|
],
|
|
2679
2734
|
UY: [
|
|
2680
|
-
"H",
|
|
2681
2735
|
"h",
|
|
2736
|
+
"H",
|
|
2682
2737
|
"hB",
|
|
2683
2738
|
"hb"
|
|
2684
2739
|
],
|
|
@@ -2786,37 +2841,37 @@ var le = {
|
|
|
2786
2841
|
"H",
|
|
2787
2842
|
"hB"
|
|
2788
2843
|
],
|
|
2789
|
-
"
|
|
2790
|
-
"H",
|
|
2844
|
+
"en-HK": [
|
|
2791
2845
|
"h",
|
|
2792
|
-
"
|
|
2793
|
-
"
|
|
2846
|
+
"hb",
|
|
2847
|
+
"H",
|
|
2848
|
+
"hB"
|
|
2794
2849
|
],
|
|
2795
|
-
"
|
|
2850
|
+
"en-IL": [
|
|
2796
2851
|
"H",
|
|
2797
2852
|
"h",
|
|
2798
|
-
"
|
|
2799
|
-
"
|
|
2853
|
+
"hb",
|
|
2854
|
+
"hB"
|
|
2800
2855
|
],
|
|
2801
|
-
"
|
|
2802
|
-
"H",
|
|
2856
|
+
"en-MY": [
|
|
2803
2857
|
"h",
|
|
2804
|
-
"
|
|
2805
|
-
"
|
|
2858
|
+
"hb",
|
|
2859
|
+
"H",
|
|
2860
|
+
"hB"
|
|
2806
2861
|
],
|
|
2807
|
-
"es-
|
|
2862
|
+
"es-BR": [
|
|
2808
2863
|
"H",
|
|
2809
2864
|
"h",
|
|
2810
2865
|
"hB",
|
|
2811
2866
|
"hb"
|
|
2812
2867
|
],
|
|
2813
|
-
"es-
|
|
2868
|
+
"es-ES": [
|
|
2814
2869
|
"H",
|
|
2815
2870
|
"h",
|
|
2816
2871
|
"hB",
|
|
2817
2872
|
"hb"
|
|
2818
2873
|
],
|
|
2819
|
-
"es-
|
|
2874
|
+
"es-GQ": [
|
|
2820
2875
|
"H",
|
|
2821
2876
|
"h",
|
|
2822
2877
|
"hB",
|
|
@@ -2893,13 +2948,13 @@ var le = {
|
|
|
2893
2948
|
"h"
|
|
2894
2949
|
]
|
|
2895
2950
|
};
|
|
2896
|
-
function
|
|
2951
|
+
function Cn(e, t) {
|
|
2897
2952
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2898
2953
|
var i = e.charAt(n);
|
|
2899
2954
|
if (i === "j") {
|
|
2900
2955
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2901
2956
|
o++, n++;
|
|
2902
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2957
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
|
|
2903
2958
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2904
2959
|
r += h;
|
|
2905
2960
|
for (; s-- > 0; )
|
|
@@ -2908,7 +2963,7 @@ function Pn(e, t) {
|
|
|
2908
2963
|
}
|
|
2909
2964
|
return r;
|
|
2910
2965
|
}
|
|
2911
|
-
function
|
|
2966
|
+
function $n(e) {
|
|
2912
2967
|
var t = e.hourCycle;
|
|
2913
2968
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2914
2969
|
e.hourCycles && // @ts-ignore
|
|
@@ -2930,20 +2985,20 @@ function On(e) {
|
|
|
2930
2985
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2931
2986
|
return i[0];
|
|
2932
2987
|
}
|
|
2933
|
-
var
|
|
2988
|
+
var Pe, Rn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
|
|
2934
2989
|
function m(e, t) {
|
|
2935
2990
|
return { start: e, end: t };
|
|
2936
2991
|
}
|
|
2937
|
-
var
|
|
2992
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
|
|
2938
2993
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2939
2994
|
}, Fe = !0;
|
|
2940
2995
|
try {
|
|
2941
|
-
var
|
|
2942
|
-
Fe = ((
|
|
2996
|
+
var zn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2997
|
+
Fe = ((Pe = zn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
2943
2998
|
} catch (e) {
|
|
2944
2999
|
Fe = !1;
|
|
2945
3000
|
}
|
|
2946
|
-
var yt =
|
|
3001
|
+
var yt = Dn ? (
|
|
2947
3002
|
// Native
|
|
2948
3003
|
function(t, r, n) {
|
|
2949
3004
|
return t.startsWith(r, n);
|
|
@@ -2953,7 +3008,7 @@ var yt = Nn ? (
|
|
|
2953
3008
|
function(t, r, n) {
|
|
2954
3009
|
return t.slice(n, n + r.length) === r;
|
|
2955
3010
|
}
|
|
2956
|
-
), je =
|
|
3011
|
+
), je = Gn ? String.fromCodePoint : (
|
|
2957
3012
|
// IE11
|
|
2958
3013
|
function() {
|
|
2959
3014
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2967,7 +3022,7 @@ var yt = Nn ? (
|
|
|
2967
3022
|
}
|
|
2968
3023
|
), vt = (
|
|
2969
3024
|
// native
|
|
2970
|
-
|
|
3025
|
+
Fn ? Object.fromEntries : (
|
|
2971
3026
|
// Ponyfill
|
|
2972
3027
|
function(t) {
|
|
2973
3028
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2977,7 +3032,7 @@ var yt = Nn ? (
|
|
|
2977
3032
|
return r;
|
|
2978
3033
|
}
|
|
2979
3034
|
)
|
|
2980
|
-
),
|
|
3035
|
+
), tr = jn ? (
|
|
2981
3036
|
// Native
|
|
2982
3037
|
function(t, r) {
|
|
2983
3038
|
return t.codePointAt(r);
|
|
@@ -2991,7 +3046,7 @@ var yt = Nn ? (
|
|
|
2991
3046
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2992
3047
|
}
|
|
2993
3048
|
}
|
|
2994
|
-
),
|
|
3049
|
+
), Zn = kn ? (
|
|
2995
3050
|
// Native
|
|
2996
3051
|
function(t) {
|
|
2997
3052
|
return t.trimStart();
|
|
@@ -2999,9 +3054,9 @@ var yt = Nn ? (
|
|
|
2999
3054
|
) : (
|
|
3000
3055
|
// Ponyfill
|
|
3001
3056
|
function(t) {
|
|
3002
|
-
return t.replace(
|
|
3057
|
+
return t.replace(Rn, "");
|
|
3003
3058
|
}
|
|
3004
|
-
),
|
|
3059
|
+
), Qn = Vn ? (
|
|
3005
3060
|
// Native
|
|
3006
3061
|
function(t) {
|
|
3007
3062
|
return t.trimEnd();
|
|
@@ -3009,15 +3064,15 @@ var yt = Nn ? (
|
|
|
3009
3064
|
) : (
|
|
3010
3065
|
// Ponyfill
|
|
3011
3066
|
function(t) {
|
|
3012
|
-
return t.replace(
|
|
3067
|
+
return t.replace(Un, "");
|
|
3013
3068
|
}
|
|
3014
3069
|
);
|
|
3015
|
-
function
|
|
3070
|
+
function rr(e, t) {
|
|
3016
3071
|
return new RegExp(e, t);
|
|
3017
3072
|
}
|
|
3018
3073
|
var ke;
|
|
3019
3074
|
if (Fe) {
|
|
3020
|
-
var Et =
|
|
3075
|
+
var Et = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3021
3076
|
ke = function(t, r) {
|
|
3022
3077
|
var n;
|
|
3023
3078
|
Et.lastIndex = r;
|
|
@@ -3027,14 +3082,14 @@ if (Fe) {
|
|
|
3027
3082
|
} else
|
|
3028
3083
|
ke = function(t, r) {
|
|
3029
3084
|
for (var n = []; ; ) {
|
|
3030
|
-
var i =
|
|
3031
|
-
if (i === void 0 ||
|
|
3085
|
+
var i = tr(t, r);
|
|
3086
|
+
if (i === void 0 || nr(i) || Kn(i))
|
|
3032
3087
|
break;
|
|
3033
3088
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3034
3089
|
}
|
|
3035
3090
|
return je.apply(void 0, n);
|
|
3036
3091
|
};
|
|
3037
|
-
var
|
|
3092
|
+
var Jn = (
|
|
3038
3093
|
/** @class */
|
|
3039
3094
|
function() {
|
|
3040
3095
|
function e(t, r) {
|
|
@@ -3116,7 +3171,7 @@ var Vn = (
|
|
|
3116
3171
|
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3117
3172
|
}, e.prototype.parseTagName = function() {
|
|
3118
3173
|
var t = this.offset();
|
|
3119
|
-
for (this.bump(); !this.isEOF() &&
|
|
3174
|
+
for (this.bump(); !this.isEOF() && qn(this.char()); )
|
|
3120
3175
|
this.bump();
|
|
3121
3176
|
return this.message.slice(t, this.offset());
|
|
3122
3177
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3145,7 +3200,7 @@ var Vn = (
|
|
|
3145
3200
|
};
|
|
3146
3201
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3147
3202
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3148
|
-
!
|
|
3203
|
+
!Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3149
3204
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3150
3205
|
if (this.isEOF() || this.char() !== 39)
|
|
3151
3206
|
return null;
|
|
@@ -3232,7 +3287,7 @@ var Vn = (
|
|
|
3232
3287
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3233
3288
|
if (f.err)
|
|
3234
3289
|
return f;
|
|
3235
|
-
var c =
|
|
3290
|
+
var c = Qn(f.val);
|
|
3236
3291
|
if (c.length === 0)
|
|
3237
3292
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3238
3293
|
var p = m(l, this.clonePosition());
|
|
@@ -3243,7 +3298,7 @@ var Vn = (
|
|
|
3243
3298
|
return y;
|
|
3244
3299
|
var v = m(i, this.clonePosition());
|
|
3245
3300
|
if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3246
|
-
var B =
|
|
3301
|
+
var B = Zn(u.style.slice(2));
|
|
3247
3302
|
if (a === "number") {
|
|
3248
3303
|
var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3249
3304
|
return f.err ? f : {
|
|
@@ -3254,12 +3309,12 @@ var Vn = (
|
|
|
3254
3309
|
if (B.length === 0)
|
|
3255
3310
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3256
3311
|
var $ = B;
|
|
3257
|
-
this.locale && ($ =
|
|
3312
|
+
this.locale && ($ = Cn(B, this.locale));
|
|
3258
3313
|
var c = {
|
|
3259
3314
|
type: z.dateTime,
|
|
3260
3315
|
pattern: $,
|
|
3261
3316
|
location: u.styleLocation,
|
|
3262
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3317
|
+
parsedOptions: this.shouldParseSkeletons ? wn($) : {}
|
|
3263
3318
|
}, P = a === "date" ? E.date : E.time;
|
|
3264
3319
|
return {
|
|
3265
3320
|
val: { type: P, value: n, location: v, style: c },
|
|
@@ -3364,7 +3419,7 @@ var Vn = (
|
|
|
3364
3419
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3365
3420
|
var n = [];
|
|
3366
3421
|
try {
|
|
3367
|
-
n =
|
|
3422
|
+
n = On(t);
|
|
3368
3423
|
} catch (i) {
|
|
3369
3424
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3370
3425
|
}
|
|
@@ -3373,7 +3428,7 @@ var Vn = (
|
|
|
3373
3428
|
type: z.number,
|
|
3374
3429
|
tokens: n,
|
|
3375
3430
|
location: r,
|
|
3376
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3431
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
|
|
3377
3432
|
},
|
|
3378
3433
|
err: null
|
|
3379
3434
|
};
|
|
@@ -3421,7 +3476,7 @@ var Vn = (
|
|
|
3421
3476
|
break;
|
|
3422
3477
|
}
|
|
3423
3478
|
var h = m(i, this.clonePosition());
|
|
3424
|
-
return o ? (s *= n,
|
|
3479
|
+
return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3425
3480
|
}, e.prototype.offset = function() {
|
|
3426
3481
|
return this.position.offset;
|
|
3427
3482
|
}, e.prototype.isEOF = function() {
|
|
@@ -3436,7 +3491,7 @@ var Vn = (
|
|
|
3436
3491
|
var t = this.position.offset;
|
|
3437
3492
|
if (t >= this.message.length)
|
|
3438
3493
|
throw Error("out of bound");
|
|
3439
|
-
var r =
|
|
3494
|
+
var r = tr(this.message, t);
|
|
3440
3495
|
if (r === void 0)
|
|
3441
3496
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3442
3497
|
return r;
|
|
@@ -3477,7 +3532,7 @@ var Vn = (
|
|
|
3477
3532
|
break;
|
|
3478
3533
|
}
|
|
3479
3534
|
}, e.prototype.bumpSpace = function() {
|
|
3480
|
-
for (; !this.isEOF() &&
|
|
3535
|
+
for (; !this.isEOF() && nr(this.char()); )
|
|
3481
3536
|
this.bump();
|
|
3482
3537
|
}, e.prototype.peek = function() {
|
|
3483
3538
|
if (this.isEOF())
|
|
@@ -3490,93 +3545,43 @@ var Vn = (
|
|
|
3490
3545
|
function Ve(e) {
|
|
3491
3546
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3492
3547
|
}
|
|
3493
|
-
function
|
|
3548
|
+
function Yn(e) {
|
|
3494
3549
|
return Ve(e) || e === 47;
|
|
3495
3550
|
}
|
|
3496
|
-
function
|
|
3551
|
+
function qn(e) {
|
|
3497
3552
|
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;
|
|
3498
3553
|
}
|
|
3499
|
-
function
|
|
3554
|
+
function nr(e) {
|
|
3500
3555
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3501
3556
|
}
|
|
3502
|
-
function
|
|
3557
|
+
function Kn(e) {
|
|
3503
3558
|
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;
|
|
3504
3559
|
}
|
|
3505
3560
|
function Xe(e) {
|
|
3506
3561
|
e.forEach(function(t) {
|
|
3507
|
-
if (delete t.location,
|
|
3562
|
+
if (delete t.location, zt(t) || Zt(t))
|
|
3508
3563
|
for (var r in t.options)
|
|
3509
3564
|
delete t.options[r].location, Xe(t.options[r].value);
|
|
3510
|
-
else
|
|
3565
|
+
else Vt(t) && Jt(t.style) || (Xt(t) || Wt(t)) && Ge(t.style) ? delete t.style.location : Qt(t) && Xe(t.children);
|
|
3511
3566
|
});
|
|
3512
3567
|
}
|
|
3513
|
-
function
|
|
3568
|
+
function ei(e, t) {
|
|
3514
3569
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3515
|
-
var r = new
|
|
3570
|
+
var r = new Jn(e, t).parse();
|
|
3516
3571
|
if (r.err) {
|
|
3517
3572
|
var n = SyntaxError(d[r.err.kind]);
|
|
3518
3573
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3519
3574
|
}
|
|
3520
3575
|
return t != null && t.captureLocation || Xe(r.val), r.val;
|
|
3521
3576
|
}
|
|
3522
|
-
|
|
3523
|
-
var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Jn;
|
|
3524
|
-
return i(e, {
|
|
3525
|
-
cache: r,
|
|
3526
|
-
serializer: n
|
|
3527
|
-
});
|
|
3528
|
-
}
|
|
3529
|
-
function Qn(e) {
|
|
3530
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3531
|
-
}
|
|
3532
|
-
function nr(e, t, r, n) {
|
|
3533
|
-
var i = Qn(n) ? n : r(n), o = t.get(i);
|
|
3534
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3535
|
-
}
|
|
3536
|
-
function ir(e, t, r) {
|
|
3537
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3538
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3539
|
-
}
|
|
3540
|
-
function Je(e, t, r, n, i) {
|
|
3541
|
-
return r.bind(t, e, n, i);
|
|
3542
|
-
}
|
|
3543
|
-
function Jn(e, t) {
|
|
3544
|
-
var r = e.length === 1 ? nr : ir;
|
|
3545
|
-
return Je(e, this, r, t.cache.create(), t.serializer);
|
|
3546
|
-
}
|
|
3547
|
-
function qn(e, t) {
|
|
3548
|
-
return Je(e, this, ir, t.cache.create(), t.serializer);
|
|
3549
|
-
}
|
|
3550
|
-
function Yn(e, t) {
|
|
3551
|
-
return Je(e, this, nr, t.cache.create(), t.serializer);
|
|
3552
|
-
}
|
|
3553
|
-
var Kn = function() {
|
|
3554
|
-
return JSON.stringify(arguments);
|
|
3555
|
-
};
|
|
3556
|
-
function qe() {
|
|
3557
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3558
|
-
}
|
|
3559
|
-
qe.prototype.get = function(e) {
|
|
3560
|
-
return this.cache[e];
|
|
3561
|
-
};
|
|
3562
|
-
qe.prototype.set = function(e, t) {
|
|
3563
|
-
this.cache[e] = t;
|
|
3564
|
-
};
|
|
3565
|
-
var ei = {
|
|
3566
|
-
create: function() {
|
|
3567
|
-
return new qe();
|
|
3568
|
-
}
|
|
3569
|
-
}, Pe = {
|
|
3570
|
-
variadic: qn,
|
|
3571
|
-
monadic: Yn
|
|
3572
|
-
}, Z;
|
|
3577
|
+
var Z;
|
|
3573
3578
|
(function(e) {
|
|
3574
3579
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3575
3580
|
})(Z || (Z = {}));
|
|
3576
3581
|
var Ee = (
|
|
3577
3582
|
/** @class */
|
|
3578
3583
|
function(e) {
|
|
3579
|
-
|
|
3584
|
+
M(t, e);
|
|
3580
3585
|
function t(r, n, i) {
|
|
3581
3586
|
var o = e.call(this, r) || this;
|
|
3582
3587
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3588,7 +3593,7 @@ var Ee = (
|
|
|
3588
3593
|
), xt = (
|
|
3589
3594
|
/** @class */
|
|
3590
3595
|
function(e) {
|
|
3591
|
-
|
|
3596
|
+
M(t, e);
|
|
3592
3597
|
function t(r, n, i, o) {
|
|
3593
3598
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
|
|
3594
3599
|
}
|
|
@@ -3597,7 +3602,7 @@ var Ee = (
|
|
|
3597
3602
|
), ti = (
|
|
3598
3603
|
/** @class */
|
|
3599
3604
|
function(e) {
|
|
3600
|
-
|
|
3605
|
+
M(t, e);
|
|
3601
3606
|
function t(r, n, i) {
|
|
3602
3607
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
|
|
3603
3608
|
}
|
|
@@ -3606,7 +3611,7 @@ var Ee = (
|
|
|
3606
3611
|
), ri = (
|
|
3607
3612
|
/** @class */
|
|
3608
3613
|
function(e) {
|
|
3609
|
-
|
|
3614
|
+
M(t, e);
|
|
3610
3615
|
function t(r, n) {
|
|
3611
3616
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
|
|
3612
3617
|
}
|
|
@@ -3642,7 +3647,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3642
3647
|
});
|
|
3643
3648
|
continue;
|
|
3644
3649
|
}
|
|
3645
|
-
if (
|
|
3650
|
+
if (Bn(l)) {
|
|
3646
3651
|
typeof o == "number" && a.push({
|
|
3647
3652
|
type: x.literal,
|
|
3648
3653
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3653,14 +3658,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3653
3658
|
if (!(i && f in i))
|
|
3654
3659
|
throw new ri(f, s);
|
|
3655
3660
|
var c = i[f];
|
|
3656
|
-
if (
|
|
3661
|
+
if (Hn(l)) {
|
|
3657
3662
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3658
3663
|
type: typeof c == "string" ? x.literal : x.object,
|
|
3659
3664
|
value: c
|
|
3660
3665
|
});
|
|
3661
3666
|
continue;
|
|
3662
3667
|
}
|
|
3663
|
-
if (
|
|
3668
|
+
if (Xt(l)) {
|
|
3664
3669
|
var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
3665
3670
|
a.push({
|
|
3666
3671
|
type: x.literal,
|
|
@@ -3668,7 +3673,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3668
3673
|
});
|
|
3669
3674
|
continue;
|
|
3670
3675
|
}
|
|
3671
|
-
if (
|
|
3676
|
+
if (Wt(l)) {
|
|
3672
3677
|
var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3673
3678
|
a.push({
|
|
3674
3679
|
type: x.literal,
|
|
@@ -3676,15 +3681,15 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3676
3681
|
});
|
|
3677
3682
|
continue;
|
|
3678
3683
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3684
|
+
if (Vt(l)) {
|
|
3685
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
|
|
3681
3686
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3682
3687
|
type: x.literal,
|
|
3683
3688
|
value: r.getNumberFormat(t, p).format(c)
|
|
3684
3689
|
});
|
|
3685
3690
|
continue;
|
|
3686
3691
|
}
|
|
3687
|
-
if (
|
|
3692
|
+
if (Qt(l)) {
|
|
3688
3693
|
var y = l.children, v = l.value, B = i[v];
|
|
3689
3694
|
if (!ii(B))
|
|
3690
3695
|
throw new ti(v, "function", s);
|
|
@@ -3698,14 +3703,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3698
3703
|
};
|
|
3699
3704
|
}));
|
|
3700
3705
|
}
|
|
3701
|
-
if (
|
|
3706
|
+
if (zt(l)) {
|
|
3702
3707
|
var S = l.options[c] || l.options.other;
|
|
3703
3708
|
if (!S)
|
|
3704
3709
|
throw new xt(l.value, c, Object.keys(l.options), s);
|
|
3705
3710
|
a.push.apply(a, pe(S.value, t, r, n, i));
|
|
3706
3711
|
continue;
|
|
3707
3712
|
}
|
|
3708
|
-
if (
|
|
3713
|
+
if (Zt(l)) {
|
|
3709
3714
|
var S = l.options["=".concat(c)];
|
|
3710
3715
|
if (!S) {
|
|
3711
3716
|
if (!Intl.PluralRules)
|
|
@@ -3753,29 +3758,29 @@ function ai(e) {
|
|
|
3753
3758
|
dateTime: {},
|
|
3754
3759
|
pluralRules: {}
|
|
3755
3760
|
}), {
|
|
3756
|
-
getNumberFormat:
|
|
3761
|
+
getNumberFormat: Ae(function() {
|
|
3757
3762
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3758
3763
|
r[n] = arguments[n];
|
|
3759
3764
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3760
3765
|
}, {
|
|
3761
3766
|
cache: Oe(e.number),
|
|
3762
|
-
strategy:
|
|
3767
|
+
strategy: we.variadic
|
|
3763
3768
|
}),
|
|
3764
|
-
getDateTimeFormat:
|
|
3769
|
+
getDateTimeFormat: Ae(function() {
|
|
3765
3770
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3766
3771
|
r[n] = arguments[n];
|
|
3767
3772
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3768
3773
|
}, {
|
|
3769
3774
|
cache: Oe(e.dateTime),
|
|
3770
|
-
strategy:
|
|
3775
|
+
strategy: we.variadic
|
|
3771
3776
|
}),
|
|
3772
|
-
getPluralRules:
|
|
3777
|
+
getPluralRules: Ae(function() {
|
|
3773
3778
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3774
3779
|
r[n] = arguments[n];
|
|
3775
3780
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3776
3781
|
}, {
|
|
3777
3782
|
cache: Oe(e.pluralRules),
|
|
3778
|
-
strategy:
|
|
3783
|
+
strategy: we.variadic
|
|
3779
3784
|
})
|
|
3780
3785
|
};
|
|
3781
3786
|
}
|
|
@@ -3783,8 +3788,9 @@ var ui = (
|
|
|
3783
3788
|
/** @class */
|
|
3784
3789
|
function() {
|
|
3785
3790
|
function e(t, r, n, i) {
|
|
3791
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3786
3792
|
var o = this;
|
|
3787
|
-
if (
|
|
3793
|
+
if (this.formatterCache = {
|
|
3788
3794
|
number: {},
|
|
3789
3795
|
dateTime: {},
|
|
3790
3796
|
pluralRules: {}
|
|
@@ -3810,7 +3816,7 @@ var ui = (
|
|
|
3810
3816
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3811
3817
|
var s = i || {};
|
|
3812
3818
|
s.formatters;
|
|
3813
|
-
var a =
|
|
3819
|
+
var a = Gr(s, ["formatters"]);
|
|
3814
3820
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3815
3821
|
} else
|
|
3816
3822
|
this.ast = t;
|
|
@@ -3829,7 +3835,7 @@ var ui = (
|
|
|
3829
3835
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3830
3836
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3831
3837
|
}
|
|
3832
|
-
}, e.__parse =
|
|
3838
|
+
}, e.__parse = ei, e.formats = {
|
|
3833
3839
|
number: {
|
|
3834
3840
|
integer: {
|
|
3835
3841
|
maximumFractionDigits: 0
|
|
@@ -3911,11 +3917,11 @@ function hi(e, t) {
|
|
|
3911
3917
|
n = void 0;
|
|
3912
3918
|
return n;
|
|
3913
3919
|
}
|
|
3914
|
-
const
|
|
3920
|
+
const C = {}, li = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ir = (e, t) => {
|
|
3915
3921
|
if (t == null)
|
|
3916
3922
|
return;
|
|
3917
|
-
if (t in
|
|
3918
|
-
return
|
|
3923
|
+
if (t in C && e in C[t])
|
|
3924
|
+
return C[t][e];
|
|
3919
3925
|
const r = xe(t);
|
|
3920
3926
|
for (let n = 0; n < r.length; n++) {
|
|
3921
3927
|
const i = r[n], o = fi(i, e);
|
|
@@ -3923,16 +3929,16 @@ const M = {}, li = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][
|
|
|
3923
3929
|
return li(e, t, o);
|
|
3924
3930
|
}
|
|
3925
3931
|
};
|
|
3926
|
-
let
|
|
3932
|
+
let qe;
|
|
3927
3933
|
const ae = ve({});
|
|
3928
3934
|
function ci(e) {
|
|
3929
|
-
return
|
|
3935
|
+
return qe[e] || null;
|
|
3930
3936
|
}
|
|
3931
|
-
function
|
|
3932
|
-
return e in
|
|
3937
|
+
function or(e) {
|
|
3938
|
+
return e in qe;
|
|
3933
3939
|
}
|
|
3934
3940
|
function fi(e, t) {
|
|
3935
|
-
if (!
|
|
3941
|
+
if (!or(e))
|
|
3936
3942
|
return null;
|
|
3937
3943
|
const r = ci(e);
|
|
3938
3944
|
return hi(r, t);
|
|
@@ -3943,28 +3949,28 @@ function pi(e) {
|
|
|
3943
3949
|
const t = xe(e);
|
|
3944
3950
|
for (let r = 0; r < t.length; r++) {
|
|
3945
3951
|
const n = t[r];
|
|
3946
|
-
if (
|
|
3952
|
+
if (or(n))
|
|
3947
3953
|
return n;
|
|
3948
3954
|
}
|
|
3949
3955
|
}
|
|
3950
|
-
function
|
|
3951
|
-
delete
|
|
3956
|
+
function sr(e, ...t) {
|
|
3957
|
+
delete C[e], ae.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
|
|
3952
3958
|
}
|
|
3953
|
-
|
|
3959
|
+
Y(
|
|
3954
3960
|
[ae],
|
|
3955
3961
|
([e]) => Object.keys(e)
|
|
3956
3962
|
);
|
|
3957
|
-
ae.subscribe((e) =>
|
|
3963
|
+
ae.subscribe((e) => qe = e);
|
|
3958
3964
|
const de = {};
|
|
3959
3965
|
function di(e, t) {
|
|
3960
3966
|
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3961
3967
|
}
|
|
3962
|
-
function
|
|
3968
|
+
function ar(e) {
|
|
3963
3969
|
return de[e];
|
|
3964
3970
|
}
|
|
3965
3971
|
function mi(e) {
|
|
3966
3972
|
return xe(e).map((t) => {
|
|
3967
|
-
const r =
|
|
3973
|
+
const r = ar(t);
|
|
3968
3974
|
return [t, r ? [...r] : []];
|
|
3969
3975
|
}).filter(([, t]) => t.length > 0);
|
|
3970
3976
|
}
|
|
@@ -3972,17 +3978,17 @@ function We(e) {
|
|
|
3972
3978
|
return e == null ? !1 : xe(e).some(
|
|
3973
3979
|
(t) => {
|
|
3974
3980
|
var r;
|
|
3975
|
-
return (r =
|
|
3981
|
+
return (r = ar(t)) == null ? void 0 : r.size;
|
|
3976
3982
|
}
|
|
3977
3983
|
);
|
|
3978
3984
|
}
|
|
3979
3985
|
function bi(e, t) {
|
|
3980
3986
|
return Promise.all(
|
|
3981
3987
|
t.map((n) => (di(e, n), n().then((i) => i.default || i)))
|
|
3982
|
-
).then((n) =>
|
|
3988
|
+
).then((n) => sr(e, ...n));
|
|
3983
3989
|
}
|
|
3984
3990
|
const te = {};
|
|
3985
|
-
function
|
|
3991
|
+
function ur(e) {
|
|
3986
3992
|
if (!We(e))
|
|
3987
3993
|
return e in te ? te[e] : Promise.resolve();
|
|
3988
3994
|
const t = mi(e);
|
|
@@ -3992,7 +3998,7 @@ function hr(e) {
|
|
|
3992
3998
|
)
|
|
3993
3999
|
).then(() => {
|
|
3994
4000
|
if (We(e))
|
|
3995
|
-
return
|
|
4001
|
+
return ur(e);
|
|
3996
4002
|
delete te[e];
|
|
3997
4003
|
}), te[e];
|
|
3998
4004
|
}
|
|
@@ -4067,14 +4073,14 @@ const Ai = (e) => {
|
|
|
4067
4073
|
return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
|
|
4068
4074
|
() => Ie.set(!0),
|
|
4069
4075
|
t
|
|
4070
|
-
) : Ie.set(!0),
|
|
4076
|
+
) : Ie.set(!0), ur(e).then(() => {
|
|
4071
4077
|
me.set(e);
|
|
4072
4078
|
}).finally(() => {
|
|
4073
4079
|
clearTimeout(r), Ie.set(!1);
|
|
4074
4080
|
});
|
|
4075
4081
|
}
|
|
4076
4082
|
return me.set(e);
|
|
4077
|
-
},
|
|
4083
|
+
}, q = Bi(Hi({}, me), {
|
|
4078
4084
|
set: Ai
|
|
4079
4085
|
}), _e = (e) => {
|
|
4080
4086
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4083,20 +4089,20 @@ const Ai = (e) => {
|
|
|
4083
4089
|
return i in t ? t[i] : t[i] = e(n);
|
|
4084
4090
|
};
|
|
4085
4091
|
};
|
|
4086
|
-
var wi = Object.defineProperty, be = Object.getOwnPropertySymbols,
|
|
4092
|
+
var wi = Object.defineProperty, be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
4087
4093
|
for (var r in t || (t = {}))
|
|
4088
|
-
|
|
4094
|
+
hr.call(t, r) && Ht(e, r, t[r]);
|
|
4089
4095
|
if (be)
|
|
4090
4096
|
for (var r of be(t))
|
|
4091
|
-
|
|
4097
|
+
lr.call(t, r) && Ht(e, r, t[r]);
|
|
4092
4098
|
return e;
|
|
4093
4099
|
}, K = (e, t) => {
|
|
4094
4100
|
var r = {};
|
|
4095
4101
|
for (var n in e)
|
|
4096
|
-
|
|
4102
|
+
hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4097
4103
|
if (e != null && be)
|
|
4098
4104
|
for (var n of be(e))
|
|
4099
|
-
t.indexOf(n) < 0 &&
|
|
4105
|
+
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
4100
4106
|
return r;
|
|
4101
4107
|
};
|
|
4102
4108
|
const ie = (e, t) => {
|
|
@@ -4141,14 +4147,14 @@ const ie = (e, t) => {
|
|
|
4141
4147
|
"locale"
|
|
4142
4148
|
]);
|
|
4143
4149
|
return Oi(Ke({ locale: r }, n));
|
|
4144
|
-
},
|
|
4150
|
+
}, Mi = (e = {}) => {
|
|
4145
4151
|
var t = e, {
|
|
4146
4152
|
locale: r = D()
|
|
4147
4153
|
} = t, n = K(t, [
|
|
4148
4154
|
"locale"
|
|
4149
4155
|
]);
|
|
4150
4156
|
return Ii(Ke({ locale: r }, n));
|
|
4151
|
-
},
|
|
4157
|
+
}, Ci = _e(
|
|
4152
4158
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4153
4159
|
(e, t = D()) => new ui(e, t, Q().formats, {
|
|
4154
4160
|
ignoreTag: Q().ignoreTag
|
|
@@ -4166,7 +4172,7 @@ const ie = (e, t) => {
|
|
|
4166
4172
|
throw new Error(
|
|
4167
4173
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4168
4174
|
);
|
|
4169
|
-
let l =
|
|
4175
|
+
let l = ir(e, h);
|
|
4170
4176
|
if (!l)
|
|
4171
4177
|
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;
|
|
4172
4178
|
else if (typeof l != "string")
|
|
@@ -4177,7 +4183,7 @@ const ie = (e, t) => {
|
|
|
4177
4183
|
return l;
|
|
4178
4184
|
let f = l;
|
|
4179
4185
|
try {
|
|
4180
|
-
f =
|
|
4186
|
+
f = Ci(l, h).format(a);
|
|
4181
4187
|
} catch (c) {
|
|
4182
4188
|
c instanceof Error && console.warn(
|
|
4183
4189
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4185,18 +4191,18 @@ const ie = (e, t) => {
|
|
|
4185
4191
|
);
|
|
4186
4192
|
}
|
|
4187
4193
|
return f;
|
|
4188
|
-
}, Ri = (e, t) =>
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4194
|
+
}, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Di = (e, t) => Li(t).format(e), Gi = (e, t = D()) => ir(e, t), Fi = Y([q, ae], () => $i);
|
|
4195
|
+
Y([q], () => Ri);
|
|
4196
|
+
Y([q], () => Ui);
|
|
4197
|
+
Y([q], () => Di);
|
|
4198
|
+
Y([q, ae], () => Gi);
|
|
4193
4199
|
window.emWidgets = { topic: en };
|
|
4194
4200
|
const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4195
4201
|
function Bt(e, t) {
|
|
4196
|
-
|
|
4202
|
+
sr(e, t);
|
|
4197
4203
|
}
|
|
4198
4204
|
function ki(e) {
|
|
4199
|
-
|
|
4205
|
+
q.set(e);
|
|
4200
4206
|
}
|
|
4201
4207
|
const At = {
|
|
4202
4208
|
en: {
|
|
@@ -4231,7 +4237,7 @@ const At = {
|
|
|
4231
4237
|
}
|
|
4232
4238
|
};
|
|
4233
4239
|
function Vi(e) {
|
|
4234
|
-
|
|
4240
|
+
Er(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))}");
|
|
4235
4241
|
}
|
|
4236
4242
|
function Xi(e) {
|
|
4237
4243
|
let t, r, n, i = (
|
|
@@ -4265,7 +4271,7 @@ function Wi(e) {
|
|
|
4265
4271
|
e[3] && zi(e);
|
|
4266
4272
|
return {
|
|
4267
4273
|
c() {
|
|
4268
|
-
t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--
|
|
4274
|
+
t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = Sr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), Hr(r, "width", /*isMobile*/
|
|
4269
4275
|
e[3] ? (
|
|
4270
4276
|
/*mediaQuery*/
|
|
4271
4277
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4341,7 +4347,7 @@ function Zi(e) {
|
|
|
4341
4347
|
}
|
|
4342
4348
|
function Qi(e, t, r) {
|
|
4343
4349
|
let n;
|
|
4344
|
-
|
|
4350
|
+
vr(e, Fi, (b) => r(2, n = b));
|
|
4345
4351
|
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";
|
|
4346
4352
|
const B = window.matchMedia("(min-width: 768px)"), $ = () => {
|
|
4347
4353
|
fetch(l).then((A) => A.json()).then((A) => {
|
|
@@ -4381,8 +4387,8 @@ function Qi(e, t, r) {
|
|
|
4381
4387
|
500
|
|
4382
4388
|
);
|
|
4383
4389
|
});
|
|
4384
|
-
}, ue = () => P(),
|
|
4385
|
-
function
|
|
4390
|
+
}, ue = () => P(), cr = () => P();
|
|
4391
|
+
function fr(b) {
|
|
4386
4392
|
Le[b ? "unshift" : "push"](() => {
|
|
4387
4393
|
p = b, r(1, p);
|
|
4388
4394
|
});
|
|
@@ -4410,13 +4416,13 @@ function Qi(e, t, r) {
|
|
|
4410
4416
|
u,
|
|
4411
4417
|
l,
|
|
4412
4418
|
ue,
|
|
4413
|
-
|
|
4414
|
-
|
|
4419
|
+
cr,
|
|
4420
|
+
fr
|
|
4415
4421
|
];
|
|
4416
4422
|
}
|
|
4417
|
-
class Ji extends
|
|
4423
|
+
class Ji extends Ur {
|
|
4418
4424
|
constructor(t) {
|
|
4419
|
-
super(),
|
|
4425
|
+
super(), $r(
|
|
4420
4426
|
this,
|
|
4421
4427
|
t,
|
|
4422
4428
|
Qi,
|
|
@@ -4477,7 +4483,7 @@ class Ji extends Dr {
|
|
|
4477
4483
|
this.$$set({ translationurl: t }), I();
|
|
4478
4484
|
}
|
|
4479
4485
|
}
|
|
4480
|
-
|
|
4486
|
+
Rr(Ji, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4481
4487
|
export {
|
|
4482
4488
|
Ji as default
|
|
4483
4489
|
};
|