@everymatrix/player-transaction-history 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/{PlayerTransactionHistory-CExKmjS_.js → PlayerTransactionHistory-2Eo7kArI.js} +321 -315
- package/components/PlayerTransactionHistory-DlherlvS.cjs +5 -0
- package/es2015/player-transaction-history.cjs +1 -1
- package/es2015/player-transaction-history.js +1 -1
- package/package.json +1 -1
- package/components/PlayerTransactionHistory-_k7YIUPq.cjs +0 -5
package/components/{PlayerTransactionHistory-CExKmjS_.js → PlayerTransactionHistory-2Eo7kArI.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var pr = Object.defineProperty, dr = Object.defineProperties;
|
|
2
|
+
var mr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var nt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
4
|
+
var br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
br.call(t, r) && He(e, r, t[r]);
|
|
8
8
|
if (nt)
|
|
9
9
|
for (var r of nt(t))
|
|
10
|
-
|
|
10
|
+
yr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, ot = (e, t) =>
|
|
12
|
+
}, ot = (e, t) => dr(e, mr(t));
|
|
13
13
|
var B = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var st = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
@@ -41,17 +41,17 @@ function se(e) {
|
|
|
41
41
|
function qe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Lt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let le;
|
|
48
48
|
function ut(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 gr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Ct(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Lt(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function vr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Ct(t, r));
|
|
65
65
|
}
|
|
66
66
|
function x(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
69
|
function _r(e, t, r) {
|
|
70
|
-
const n =
|
|
70
|
+
const n = Er(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = L("style");
|
|
73
|
+
i.id = t, i.textContent = r, xr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Er(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 xr(e) {
|
|
|
82
82
|
t
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function xr(e, t) {
|
|
86
86
|
return x(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
@@ -95,7 +95,7 @@ function ae(e, t, r) {
|
|
|
95
95
|
function J(e) {
|
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function L(e) {
|
|
99
99
|
return document.createElement(e);
|
|
100
100
|
}
|
|
101
101
|
function F(e) {
|
|
@@ -104,23 +104,23 @@ function F(e) {
|
|
|
104
104
|
function ne(e) {
|
|
105
105
|
return document.createTextNode(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Le() {
|
|
108
108
|
return ne(" ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Tr(e, t, r, n) {
|
|
111
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function E(e, t, r) {
|
|
114
114
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Hr(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
119
|
function Je(e, t) {
|
|
120
120
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
121
121
|
t);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Sr(e) {
|
|
124
124
|
const t = {};
|
|
125
125
|
return e.childNodes.forEach(
|
|
126
126
|
/** @param {Element} node */
|
|
@@ -133,12 +133,12 @@ let Ye;
|
|
|
133
133
|
function re(e) {
|
|
134
134
|
Ye = e;
|
|
135
135
|
}
|
|
136
|
-
const V = [],
|
|
136
|
+
const V = [], Ce = [];
|
|
137
137
|
let X = [];
|
|
138
|
-
const ht = [],
|
|
138
|
+
const ht = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
139
139
|
let Me = !1;
|
|
140
|
-
function
|
|
141
|
-
Me || (Me = !0,
|
|
140
|
+
function Br() {
|
|
141
|
+
Me || (Me = !0, wr.then(I));
|
|
142
142
|
}
|
|
143
143
|
function $e(e) {
|
|
144
144
|
X.push(e);
|
|
@@ -153,12 +153,12 @@ function I() {
|
|
|
153
153
|
try {
|
|
154
154
|
for (; j < V.length; ) {
|
|
155
155
|
const t = V[j];
|
|
156
|
-
j++, re(t),
|
|
156
|
+
j++, re(t), Ar(t.$$);
|
|
157
157
|
}
|
|
158
158
|
} catch (t) {
|
|
159
159
|
throw V.length = 0, j = 0, t;
|
|
160
160
|
}
|
|
161
|
-
for (re(null), V.length = 0, j = 0;
|
|
161
|
+
for (re(null), V.length = 0, j = 0; Ce.length; ) Ce.pop()();
|
|
162
162
|
for (let t = 0; t < X.length; t += 1) {
|
|
163
163
|
const r = X[t];
|
|
164
164
|
Se.has(r) || (Se.add(r), r());
|
|
@@ -169,22 +169,22 @@ function I() {
|
|
|
169
169
|
ht.pop()();
|
|
170
170
|
Me = !1, Se.clear(), re(e);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Ar(e) {
|
|
173
173
|
if (e.fragment !== null) {
|
|
174
174
|
e.update(), se(e.before_update);
|
|
175
175
|
const t = e.dirty;
|
|
176
176
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Pr(e) {
|
|
180
180
|
const t = [], r = [];
|
|
181
181
|
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
182
182
|
}
|
|
183
|
-
const
|
|
184
|
-
function
|
|
185
|
-
e && e.i && (
|
|
183
|
+
const Or = /* @__PURE__ */ new Set();
|
|
184
|
+
function Ir(e, t) {
|
|
185
|
+
e && e.i && (Or.delete(e), e.i(t));
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Nr(e, t, r) {
|
|
188
188
|
const { fragment: n, after_update: i } = e.$$;
|
|
189
189
|
n && n.m(t, r), $e(() => {
|
|
190
190
|
const o = e.$$.on_mount.map(Nt).filter(qe);
|
|
@@ -193,12 +193,12 @@ function Cr(e, t, r) {
|
|
|
193
193
|
}
|
|
194
194
|
function Lr(e, t) {
|
|
195
195
|
const r = e.$$;
|
|
196
|
-
r.fragment !== null && (
|
|
196
|
+
r.fragment !== null && (Pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
198
|
+
function Cr(e, t) {
|
|
199
|
+
e.$$.dirty[0] === -1 && (V.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
202
202
|
const h = Ye;
|
|
203
203
|
re(e);
|
|
204
204
|
const u = e.$$ = {
|
|
@@ -226,14 +226,14 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
226
226
|
let l = !1;
|
|
227
227
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
228
228
|
const v = p.length ? p[0] : f;
|
|
229
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l &&
|
|
229
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Cr(e, c)), f;
|
|
230
230
|
}) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
231
231
|
if (t.hydrate) {
|
|
232
|
-
const c =
|
|
232
|
+
const c = Hr(t.target);
|
|
233
233
|
u.fragment && u.fragment.l(c), c.forEach(J);
|
|
234
234
|
} else
|
|
235
235
|
u.fragment && u.fragment.c();
|
|
236
|
-
t.intro &&
|
|
236
|
+
t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), I();
|
|
237
237
|
}
|
|
238
238
|
re(h);
|
|
239
239
|
}
|
|
@@ -282,7 +282,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
282
282
|
let s;
|
|
283
283
|
return {
|
|
284
284
|
c: function() {
|
|
285
|
-
s =
|
|
285
|
+
s = L("slot"), o !== "default" && E(s, "name", o);
|
|
286
286
|
},
|
|
287
287
|
/**
|
|
288
288
|
* @param {HTMLElement} target
|
|
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
299
299
|
};
|
|
300
300
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
301
301
|
return;
|
|
302
|
-
const r = {}, n =
|
|
302
|
+
const r = {}, n = Sr(this);
|
|
303
303
|
for (const o of this.$$s)
|
|
304
304
|
o in n && (r[o] = [t(o)]);
|
|
305
305
|
for (const o of this.attributes) {
|
|
@@ -388,7 +388,7 @@ function pe(e, t, r, n) {
|
|
|
388
388
|
return t;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function $r(e, t, r, n, i, o) {
|
|
392
392
|
let s = class extends Mt {
|
|
393
393
|
constructor() {
|
|
394
394
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -419,7 +419,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
419
419
|
}), e.element = /** @type {any} */
|
|
420
420
|
s, s;
|
|
421
421
|
}
|
|
422
|
-
class
|
|
422
|
+
class Rr {
|
|
423
423
|
constructor() {
|
|
424
424
|
/**
|
|
425
425
|
* ### PRIVATE API
|
|
@@ -462,11 +462,11 @@ class Ur {
|
|
|
462
462
|
* @returns {void}
|
|
463
463
|
*/
|
|
464
464
|
$set(t) {
|
|
465
|
-
this.$$set && !
|
|
465
|
+
this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
const
|
|
469
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
468
|
+
const Ur = "4";
|
|
469
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
|
|
470
470
|
var Re = function(e, t) {
|
|
471
471
|
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
472
472
|
r.__proto__ = n;
|
|
@@ -474,7 +474,7 @@ var Re = function(e, t) {
|
|
|
474
474
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
475
475
|
}, Re(e, t);
|
|
476
476
|
};
|
|
477
|
-
function
|
|
477
|
+
function C(e, t) {
|
|
478
478
|
if (typeof t != "function" && t !== null)
|
|
479
479
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
480
480
|
Re(e, t);
|
|
@@ -492,7 +492,7 @@ var y = function() {
|
|
|
492
492
|
return t;
|
|
493
493
|
}, y.apply(this, arguments);
|
|
494
494
|
};
|
|
495
|
-
function
|
|
495
|
+
function Dr(e, t) {
|
|
496
496
|
var r = {};
|
|
497
497
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
498
498
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -657,20 +657,19 @@ var Dt = {
|
|
|
657
657
|
Promise: void 0,
|
|
658
658
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
659
659
|
useDeprecatedNextContext: !1
|
|
660
|
-
},
|
|
660
|
+
}, Gr = {
|
|
661
661
|
setTimeout: function(e, t) {
|
|
662
662
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
663
663
|
r[n - 2] = arguments[n];
|
|
664
664
|
return setTimeout.apply(void 0, W([e, t], De(r)));
|
|
665
665
|
},
|
|
666
666
|
clearTimeout: function(e) {
|
|
667
|
-
|
|
668
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
667
|
+
return clearTimeout(e);
|
|
669
668
|
},
|
|
670
669
|
delegate: void 0
|
|
671
670
|
};
|
|
672
671
|
function Fr(e) {
|
|
673
|
-
|
|
672
|
+
Gr.setTimeout(function() {
|
|
674
673
|
throw e;
|
|
675
674
|
});
|
|
676
675
|
}
|
|
@@ -679,8 +678,8 @@ function ct() {
|
|
|
679
678
|
function de(e) {
|
|
680
679
|
e();
|
|
681
680
|
}
|
|
682
|
-
var
|
|
683
|
-
|
|
681
|
+
var Gt = function(e) {
|
|
682
|
+
C(t, e);
|
|
684
683
|
function t(r) {
|
|
685
684
|
var n = e.call(this) || this;
|
|
686
685
|
return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Xr, n;
|
|
@@ -746,7 +745,7 @@ var kr = function() {
|
|
|
746
745
|
}
|
|
747
746
|
}, e;
|
|
748
747
|
}(), Fe = function(e) {
|
|
749
|
-
|
|
748
|
+
C(t, e);
|
|
750
749
|
function t(r, n, i) {
|
|
751
750
|
var o = e.call(this) || this, s;
|
|
752
751
|
if (N(r) || !r)
|
|
@@ -768,7 +767,7 @@ var kr = function() {
|
|
|
768
767
|
return o.destination = new kr(s), o;
|
|
769
768
|
}
|
|
770
769
|
return t;
|
|
771
|
-
}(
|
|
770
|
+
}(Gt);
|
|
772
771
|
function ce(e) {
|
|
773
772
|
Fr(e);
|
|
774
773
|
}
|
|
@@ -861,14 +860,14 @@ function Qr(e) {
|
|
|
861
860
|
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
862
861
|
}
|
|
863
862
|
function qr(e) {
|
|
864
|
-
return e && e instanceof
|
|
863
|
+
return e && e instanceof Gt || Qr(e) && Ut(e);
|
|
865
864
|
}
|
|
866
865
|
var Jr = $t(function(e) {
|
|
867
866
|
return function() {
|
|
868
867
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
869
868
|
};
|
|
870
|
-
}),
|
|
871
|
-
|
|
869
|
+
}), Ft = function(e) {
|
|
870
|
+
C(t, e);
|
|
872
871
|
function t() {
|
|
873
872
|
var r = e.call(this) || this;
|
|
874
873
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -947,7 +946,7 @@ var Jr = $t(function(e) {
|
|
|
947
946
|
return new dt(r, n);
|
|
948
947
|
}, t;
|
|
949
948
|
}(ft), dt = function(e) {
|
|
950
|
-
|
|
949
|
+
C(t, e);
|
|
951
950
|
function t(r, n) {
|
|
952
951
|
var i = e.call(this) || this;
|
|
953
952
|
return i.destination = r, i.source = n, i;
|
|
@@ -965,15 +964,15 @@ var Jr = $t(function(e) {
|
|
|
965
964
|
var n, i;
|
|
966
965
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
|
|
967
966
|
}, t;
|
|
968
|
-
}(
|
|
967
|
+
}(Ft), jt = {
|
|
969
968
|
now: function() {
|
|
970
|
-
return (
|
|
969
|
+
return (jt.delegate || Date).now();
|
|
971
970
|
},
|
|
972
971
|
delegate: void 0
|
|
973
972
|
}, Yr = function(e) {
|
|
974
|
-
|
|
973
|
+
C(t, e);
|
|
975
974
|
function t(r, n, i) {
|
|
976
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
975
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
|
|
977
976
|
var o = e.call(this) || this;
|
|
978
977
|
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;
|
|
979
978
|
}
|
|
@@ -993,7 +992,7 @@ var Jr = $t(function(e) {
|
|
|
993
992
|
u && o.splice(0, u + 1);
|
|
994
993
|
}
|
|
995
994
|
}, t;
|
|
996
|
-
}(
|
|
995
|
+
}(Ft);
|
|
997
996
|
const mt = [], bt = {}, Kr = (e, t = 0) => {
|
|
998
997
|
if (mt.indexOf(e) == -1) {
|
|
999
998
|
const r = new Yr(t);
|
|
@@ -1003,14 +1002,14 @@ const mt = [], bt = {}, Kr = (e, t = 0) => {
|
|
|
1003
1002
|
}, k = [];
|
|
1004
1003
|
function en(e, t) {
|
|
1005
1004
|
return {
|
|
1006
|
-
subscribe:
|
|
1005
|
+
subscribe: _e(e, t).subscribe
|
|
1007
1006
|
};
|
|
1008
1007
|
}
|
|
1009
|
-
function
|
|
1008
|
+
function _e(e, t = P) {
|
|
1010
1009
|
let r;
|
|
1011
1010
|
const n = /* @__PURE__ */ new Set();
|
|
1012
1011
|
function i(a) {
|
|
1013
|
-
if (
|
|
1012
|
+
if (Lt(e, a) && (e = a, r)) {
|
|
1014
1013
|
const h = !k.length;
|
|
1015
1014
|
for (const u of n)
|
|
1016
1015
|
u[1](), k.push(u, e);
|
|
@@ -1048,7 +1047,7 @@ function Y(e, t, r) {
|
|
|
1048
1047
|
const v = t(n ? u[0] : u, s, a);
|
|
1049
1048
|
o ? s(v) : c = qe(v) ? v : P;
|
|
1050
1049
|
}, p = i.map(
|
|
1051
|
-
(v, d) =>
|
|
1050
|
+
(v, d) => Ct(
|
|
1052
1051
|
v,
|
|
1053
1052
|
(T) => {
|
|
1054
1053
|
u[d] = T, l &= ~(1 << d), h && f();
|
|
@@ -1105,7 +1104,7 @@ function fn(e) {
|
|
|
1105
1104
|
function yt(e) {
|
|
1106
1105
|
return Object.keys(e).concat(fn(e));
|
|
1107
1106
|
}
|
|
1108
|
-
function
|
|
1107
|
+
function kt(e, t) {
|
|
1109
1108
|
try {
|
|
1110
1109
|
return t in e;
|
|
1111
1110
|
} catch (r) {
|
|
@@ -1113,14 +1112,14 @@ function Vt(e, t) {
|
|
|
1113
1112
|
}
|
|
1114
1113
|
}
|
|
1115
1114
|
function pn(e, t) {
|
|
1116
|
-
return
|
|
1115
|
+
return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1117
1116
|
}
|
|
1118
1117
|
function dn(e, t, r) {
|
|
1119
1118
|
var n = {};
|
|
1120
1119
|
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1121
1120
|
n[i] = ie(e[i], r);
|
|
1122
1121
|
}), yt(t).forEach(function(i) {
|
|
1123
|
-
pn(e, i) || (
|
|
1122
|
+
pn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1124
1123
|
}), n;
|
|
1125
1124
|
}
|
|
1126
1125
|
function z(e, t, r) {
|
|
@@ -1137,55 +1136,105 @@ z.all = function(t, r) {
|
|
|
1137
1136
|
};
|
|
1138
1137
|
var mn = z, bn = mn;
|
|
1139
1138
|
const yn = /* @__PURE__ */ tn(bn);
|
|
1140
|
-
|
|
1139
|
+
function Ae(e, t) {
|
|
1140
|
+
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
|
|
1141
|
+
return i(e, {
|
|
1142
|
+
cache: r,
|
|
1143
|
+
serializer: n
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
function gn(e) {
|
|
1147
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1148
|
+
}
|
|
1149
|
+
function Vt(e, t, r, n) {
|
|
1150
|
+
var i = gn(n) ? n : r(n), o = t.get(i);
|
|
1151
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1152
|
+
}
|
|
1153
|
+
function Xt(e, t, r) {
|
|
1154
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1155
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1156
|
+
}
|
|
1157
|
+
function Ke(e, t, r, n, i) {
|
|
1158
|
+
return r.bind(t, e, n, i);
|
|
1159
|
+
}
|
|
1160
|
+
function vn(e, t) {
|
|
1161
|
+
var r = e.length === 1 ? Vt : Xt;
|
|
1162
|
+
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
1163
|
+
}
|
|
1164
|
+
function _n(e, t) {
|
|
1165
|
+
return Ke(e, this, Xt, t.cache.create(), t.serializer);
|
|
1166
|
+
}
|
|
1167
|
+
function En(e, t) {
|
|
1168
|
+
return Ke(e, this, Vt, t.cache.create(), t.serializer);
|
|
1169
|
+
}
|
|
1170
|
+
var xn = function() {
|
|
1171
|
+
return JSON.stringify(arguments);
|
|
1172
|
+
};
|
|
1173
|
+
function et() {
|
|
1174
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1175
|
+
}
|
|
1176
|
+
et.prototype.get = function(e) {
|
|
1177
|
+
return this.cache[e];
|
|
1178
|
+
};
|
|
1179
|
+
et.prototype.set = function(e, t) {
|
|
1180
|
+
this.cache[e] = t;
|
|
1181
|
+
};
|
|
1182
|
+
var Tn = {
|
|
1183
|
+
create: function() {
|
|
1184
|
+
return new et();
|
|
1185
|
+
}
|
|
1186
|
+
}, Pe = {
|
|
1187
|
+
variadic: _n,
|
|
1188
|
+
monadic: En
|
|
1189
|
+
}, m;
|
|
1141
1190
|
(function(e) {
|
|
1142
1191
|
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";
|
|
1143
1192
|
})(m || (m = {}));
|
|
1144
|
-
var
|
|
1193
|
+
var _;
|
|
1145
1194
|
(function(e) {
|
|
1146
1195
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1147
|
-
})(
|
|
1196
|
+
})(_ || (_ = {}));
|
|
1148
1197
|
var Z;
|
|
1149
1198
|
(function(e) {
|
|
1150
1199
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1151
1200
|
})(Z || (Z = {}));
|
|
1152
1201
|
function gt(e) {
|
|
1153
|
-
return e.type ===
|
|
1202
|
+
return e.type === _.literal;
|
|
1154
1203
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return e.type ===
|
|
1157
|
-
}
|
|
1158
|
-
function Xt(e) {
|
|
1159
|
-
return e.type === E.number;
|
|
1204
|
+
function Hn(e) {
|
|
1205
|
+
return e.type === _.argument;
|
|
1160
1206
|
}
|
|
1161
1207
|
function Wt(e) {
|
|
1162
|
-
return e.type ===
|
|
1208
|
+
return e.type === _.number;
|
|
1163
1209
|
}
|
|
1164
1210
|
function zt(e) {
|
|
1165
|
-
return e.type ===
|
|
1211
|
+
return e.type === _.date;
|
|
1166
1212
|
}
|
|
1167
1213
|
function Zt(e) {
|
|
1168
|
-
return e.type ===
|
|
1214
|
+
return e.type === _.time;
|
|
1169
1215
|
}
|
|
1170
1216
|
function Qt(e) {
|
|
1171
|
-
return e.type ===
|
|
1172
|
-
}
|
|
1173
|
-
function vn(e) {
|
|
1174
|
-
return e.type === E.pound;
|
|
1217
|
+
return e.type === _.select;
|
|
1175
1218
|
}
|
|
1176
1219
|
function qt(e) {
|
|
1177
|
-
return e.type ===
|
|
1220
|
+
return e.type === _.plural;
|
|
1221
|
+
}
|
|
1222
|
+
function Sn(e) {
|
|
1223
|
+
return e.type === _.pound;
|
|
1178
1224
|
}
|
|
1179
1225
|
function Jt(e) {
|
|
1226
|
+
return e.type === _.tag;
|
|
1227
|
+
}
|
|
1228
|
+
function Yt(e) {
|
|
1180
1229
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1181
1230
|
}
|
|
1182
1231
|
function je(e) {
|
|
1183
1232
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1184
1233
|
}
|
|
1185
|
-
var
|
|
1186
|
-
function
|
|
1234
|
+
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
1235
|
+
function Bn(e) {
|
|
1187
1236
|
var t = {};
|
|
1188
|
-
return e.replace(
|
|
1237
|
+
return e.replace(wn, function(r) {
|
|
1189
1238
|
var n = r.length;
|
|
1190
1239
|
switch (r[0]) {
|
|
1191
1240
|
case "G":
|
|
@@ -1274,11 +1323,11 @@ function _n(e) {
|
|
|
1274
1323
|
return "";
|
|
1275
1324
|
}), t;
|
|
1276
1325
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1326
|
+
var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1327
|
+
function Pn(e) {
|
|
1279
1328
|
if (e.length === 0)
|
|
1280
1329
|
throw new Error("Number skeleton cannot be empty");
|
|
1281
|
-
for (var t = e.split(
|
|
1330
|
+
for (var t = e.split(An).filter(function(f) {
|
|
1282
1331
|
return f.length > 0;
|
|
1283
1332
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1284
1333
|
var o = i[n], s = o.split("/");
|
|
@@ -1293,17 +1342,17 @@ function Tn(e) {
|
|
|
1293
1342
|
}
|
|
1294
1343
|
return r;
|
|
1295
1344
|
}
|
|
1296
|
-
function
|
|
1345
|
+
function On(e) {
|
|
1297
1346
|
return e.replace(/^(.*?)-/, "");
|
|
1298
1347
|
}
|
|
1299
|
-
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1300
|
-
function
|
|
1348
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
|
|
1349
|
+
function _t(e) {
|
|
1301
1350
|
var t = {};
|
|
1302
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1351
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
|
|
1303
1352
|
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)), "";
|
|
1304
1353
|
}), t;
|
|
1305
1354
|
}
|
|
1306
|
-
function
|
|
1355
|
+
function rr(e) {
|
|
1307
1356
|
switch (e) {
|
|
1308
1357
|
case "sign-auto":
|
|
1309
1358
|
return {
|
|
@@ -1343,7 +1392,7 @@ function tr(e) {
|
|
|
1343
1392
|
};
|
|
1344
1393
|
}
|
|
1345
1394
|
}
|
|
1346
|
-
function
|
|
1395
|
+
function Nn(e) {
|
|
1347
1396
|
var t;
|
|
1348
1397
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1349
1398
|
notation: "engineering"
|
|
@@ -1351,17 +1400,17 @@ function wn(e) {
|
|
|
1351
1400
|
notation: "scientific"
|
|
1352
1401
|
}, e = e.slice(1)), t) {
|
|
1353
1402
|
var r = e.slice(0, 2);
|
|
1354
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1403
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
|
|
1355
1404
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1356
1405
|
t.minimumIntegerDigits = e.length;
|
|
1357
1406
|
}
|
|
1358
1407
|
return t;
|
|
1359
1408
|
}
|
|
1360
|
-
function
|
|
1361
|
-
var t = {}, r =
|
|
1409
|
+
function Et(e) {
|
|
1410
|
+
var t = {}, r = rr(e);
|
|
1362
1411
|
return r || t;
|
|
1363
1412
|
}
|
|
1364
|
-
function
|
|
1413
|
+
function Ln(e) {
|
|
1365
1414
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1366
1415
|
var i = n[r];
|
|
1367
1416
|
switch (i.stem) {
|
|
@@ -1385,7 +1434,7 @@ function Bn(e) {
|
|
|
1385
1434
|
continue;
|
|
1386
1435
|
case "measure-unit":
|
|
1387
1436
|
case "unit":
|
|
1388
|
-
t.style = "unit", t.unit =
|
|
1437
|
+
t.style = "unit", t.unit = On(i.options[0]);
|
|
1389
1438
|
continue;
|
|
1390
1439
|
case "compact-short":
|
|
1391
1440
|
case "K":
|
|
@@ -1397,12 +1446,12 @@ function Bn(e) {
|
|
|
1397
1446
|
continue;
|
|
1398
1447
|
case "scientific":
|
|
1399
1448
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1400
|
-
return y(y({}, h),
|
|
1449
|
+
return y(y({}, h), Et(u));
|
|
1401
1450
|
}, {}));
|
|
1402
1451
|
continue;
|
|
1403
1452
|
case "engineering":
|
|
1404
1453
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1405
|
-
return y(y({}, h),
|
|
1454
|
+
return y(y({}, h), Et(u));
|
|
1406
1455
|
}, {}));
|
|
1407
1456
|
continue;
|
|
1408
1457
|
case "notation-simple":
|
|
@@ -1447,7 +1496,7 @@ function Bn(e) {
|
|
|
1447
1496
|
case "integer-width":
|
|
1448
1497
|
if (i.options.length > 1)
|
|
1449
1498
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1450
|
-
i.options[0].replace(
|
|
1499
|
+
i.options[0].replace(In, function(h, u, l, c, f, p) {
|
|
1451
1500
|
if (u)
|
|
1452
1501
|
t.minimumIntegerDigits = l.length;
|
|
1453
1502
|
else {
|
|
@@ -1460,7 +1509,7 @@ function Bn(e) {
|
|
|
1460
1509
|
});
|
|
1461
1510
|
continue;
|
|
1462
1511
|
}
|
|
1463
|
-
if (
|
|
1512
|
+
if (tr.test(i.stem)) {
|
|
1464
1513
|
t.minimumIntegerDigits = i.stem.length;
|
|
1465
1514
|
continue;
|
|
1466
1515
|
}
|
|
@@ -1471,16 +1520,16 @@ function Bn(e) {
|
|
|
1471
1520
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1472
1521
|
});
|
|
1473
1522
|
var o = i.options[0];
|
|
1474
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1523
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
|
|
1475
1524
|
continue;
|
|
1476
1525
|
}
|
|
1477
|
-
if (
|
|
1478
|
-
t = y(y({}, t),
|
|
1526
|
+
if (er.test(i.stem)) {
|
|
1527
|
+
t = y(y({}, t), _t(i.stem));
|
|
1479
1528
|
continue;
|
|
1480
1529
|
}
|
|
1481
|
-
var s =
|
|
1530
|
+
var s = rr(i.stem);
|
|
1482
1531
|
s && (t = y(y({}, t), s));
|
|
1483
|
-
var a =
|
|
1532
|
+
var a = Nn(i.stem);
|
|
1484
1533
|
a && (t = y(y({}, t), a));
|
|
1485
1534
|
}
|
|
1486
1535
|
return t;
|
|
@@ -1490,6 +1539,12 @@ var fe = {
|
|
|
1490
1539
|
"H",
|
|
1491
1540
|
"h"
|
|
1492
1541
|
],
|
|
1542
|
+
419: [
|
|
1543
|
+
"h",
|
|
1544
|
+
"H",
|
|
1545
|
+
"hB",
|
|
1546
|
+
"hb"
|
|
1547
|
+
],
|
|
1493
1548
|
AC: [
|
|
1494
1549
|
"H",
|
|
1495
1550
|
"h",
|
|
@@ -1538,8 +1593,8 @@ var fe = {
|
|
|
1538
1593
|
"hB"
|
|
1539
1594
|
],
|
|
1540
1595
|
AR: [
|
|
1541
|
-
"H",
|
|
1542
1596
|
"h",
|
|
1597
|
+
"H",
|
|
1543
1598
|
"hB",
|
|
1544
1599
|
"hb"
|
|
1545
1600
|
],
|
|
@@ -1629,9 +1684,9 @@ var fe = {
|
|
|
1629
1684
|
"H"
|
|
1630
1685
|
],
|
|
1631
1686
|
BO: [
|
|
1687
|
+
"h",
|
|
1632
1688
|
"H",
|
|
1633
1689
|
"hB",
|
|
1634
|
-
"h",
|
|
1635
1690
|
"hb"
|
|
1636
1691
|
],
|
|
1637
1692
|
BQ: [
|
|
@@ -1708,8 +1763,8 @@ var fe = {
|
|
|
1708
1763
|
"hB"
|
|
1709
1764
|
],
|
|
1710
1765
|
CL: [
|
|
1711
|
-
"H",
|
|
1712
1766
|
"h",
|
|
1767
|
+
"H",
|
|
1713
1768
|
"hB",
|
|
1714
1769
|
"hb"
|
|
1715
1770
|
],
|
|
@@ -1734,14 +1789,14 @@ var fe = {
|
|
|
1734
1789
|
"H"
|
|
1735
1790
|
],
|
|
1736
1791
|
CR: [
|
|
1737
|
-
"H",
|
|
1738
1792
|
"h",
|
|
1793
|
+
"H",
|
|
1739
1794
|
"hB",
|
|
1740
1795
|
"hb"
|
|
1741
1796
|
],
|
|
1742
1797
|
CU: [
|
|
1743
|
-
"H",
|
|
1744
1798
|
"h",
|
|
1799
|
+
"H",
|
|
1745
1800
|
"hB",
|
|
1746
1801
|
"hb"
|
|
1747
1802
|
],
|
|
@@ -1810,9 +1865,9 @@ var fe = {
|
|
|
1810
1865
|
"hb"
|
|
1811
1866
|
],
|
|
1812
1867
|
EC: [
|
|
1868
|
+
"h",
|
|
1813
1869
|
"H",
|
|
1814
1870
|
"hB",
|
|
1815
|
-
"h",
|
|
1816
1871
|
"hb"
|
|
1817
1872
|
],
|
|
1818
1873
|
EE: [
|
|
@@ -1948,8 +2003,8 @@ var fe = {
|
|
|
1948
2003
|
"hB"
|
|
1949
2004
|
],
|
|
1950
2005
|
GT: [
|
|
1951
|
-
"H",
|
|
1952
2006
|
"h",
|
|
2007
|
+
"H",
|
|
1953
2008
|
"hB",
|
|
1954
2009
|
"hb"
|
|
1955
2010
|
],
|
|
@@ -1976,8 +2031,8 @@ var fe = {
|
|
|
1976
2031
|
"H"
|
|
1977
2032
|
],
|
|
1978
2033
|
HN: [
|
|
1979
|
-
"H",
|
|
1980
2034
|
"h",
|
|
2035
|
+
"H",
|
|
1981
2036
|
"hB",
|
|
1982
2037
|
"hb"
|
|
1983
2038
|
],
|
|
@@ -2291,8 +2346,8 @@ var fe = {
|
|
|
2291
2346
|
"hB"
|
|
2292
2347
|
],
|
|
2293
2348
|
MX: [
|
|
2294
|
-
"H",
|
|
2295
2349
|
"h",
|
|
2350
|
+
"H",
|
|
2296
2351
|
"hB",
|
|
2297
2352
|
"hb"
|
|
2298
2353
|
],
|
|
@@ -2332,8 +2387,8 @@ var fe = {
|
|
|
2332
2387
|
"hB"
|
|
2333
2388
|
],
|
|
2334
2389
|
NI: [
|
|
2335
|
-
"H",
|
|
2336
2390
|
"h",
|
|
2391
|
+
"H",
|
|
2337
2392
|
"hB",
|
|
2338
2393
|
"hb"
|
|
2339
2394
|
],
|
|
@@ -2381,9 +2436,9 @@ var fe = {
|
|
|
2381
2436
|
"hb"
|
|
2382
2437
|
],
|
|
2383
2438
|
PE: [
|
|
2439
|
+
"h",
|
|
2384
2440
|
"H",
|
|
2385
2441
|
"hB",
|
|
2386
|
-
"h",
|
|
2387
2442
|
"hb"
|
|
2388
2443
|
],
|
|
2389
2444
|
PF: [
|
|
@@ -2441,8 +2496,8 @@ var fe = {
|
|
|
2441
2496
|
"H"
|
|
2442
2497
|
],
|
|
2443
2498
|
PY: [
|
|
2444
|
-
"H",
|
|
2445
2499
|
"h",
|
|
2500
|
+
"H",
|
|
2446
2501
|
"hB",
|
|
2447
2502
|
"hb"
|
|
2448
2503
|
],
|
|
@@ -2555,8 +2610,8 @@ var fe = {
|
|
|
2555
2610
|
"hB"
|
|
2556
2611
|
],
|
|
2557
2612
|
SV: [
|
|
2558
|
-
"H",
|
|
2559
2613
|
"h",
|
|
2614
|
+
"H",
|
|
2560
2615
|
"hB",
|
|
2561
2616
|
"hb"
|
|
2562
2617
|
],
|
|
@@ -2678,8 +2733,8 @@ var fe = {
|
|
|
2678
2733
|
"hB"
|
|
2679
2734
|
],
|
|
2680
2735
|
UY: [
|
|
2681
|
-
"H",
|
|
2682
2736
|
"h",
|
|
2737
|
+
"H",
|
|
2683
2738
|
"hB",
|
|
2684
2739
|
"hb"
|
|
2685
2740
|
],
|
|
@@ -2787,37 +2842,37 @@ var fe = {
|
|
|
2787
2842
|
"H",
|
|
2788
2843
|
"hB"
|
|
2789
2844
|
],
|
|
2790
|
-
"
|
|
2791
|
-
"H",
|
|
2845
|
+
"en-HK": [
|
|
2792
2846
|
"h",
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2847
|
+
"hb",
|
|
2848
|
+
"H",
|
|
2849
|
+
"hB"
|
|
2795
2850
|
],
|
|
2796
|
-
"
|
|
2851
|
+
"en-IL": [
|
|
2797
2852
|
"H",
|
|
2798
2853
|
"h",
|
|
2799
|
-
"
|
|
2800
|
-
"
|
|
2854
|
+
"hb",
|
|
2855
|
+
"hB"
|
|
2801
2856
|
],
|
|
2802
|
-
"
|
|
2803
|
-
"H",
|
|
2857
|
+
"en-MY": [
|
|
2804
2858
|
"h",
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2859
|
+
"hb",
|
|
2860
|
+
"H",
|
|
2861
|
+
"hB"
|
|
2807
2862
|
],
|
|
2808
|
-
"es-
|
|
2863
|
+
"es-BR": [
|
|
2809
2864
|
"H",
|
|
2810
2865
|
"h",
|
|
2811
2866
|
"hB",
|
|
2812
2867
|
"hb"
|
|
2813
2868
|
],
|
|
2814
|
-
"es-
|
|
2869
|
+
"es-ES": [
|
|
2815
2870
|
"H",
|
|
2816
2871
|
"h",
|
|
2817
2872
|
"hB",
|
|
2818
2873
|
"hb"
|
|
2819
2874
|
],
|
|
2820
|
-
"es-
|
|
2875
|
+
"es-GQ": [
|
|
2821
2876
|
"H",
|
|
2822
2877
|
"h",
|
|
2823
2878
|
"hB",
|
|
@@ -2894,13 +2949,13 @@ var fe = {
|
|
|
2894
2949
|
"h"
|
|
2895
2950
|
]
|
|
2896
2951
|
};
|
|
2897
|
-
function
|
|
2952
|
+
function Cn(e, t) {
|
|
2898
2953
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2899
2954
|
var i = e.charAt(n);
|
|
2900
2955
|
if (i === "j") {
|
|
2901
2956
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2902
2957
|
o++, n++;
|
|
2903
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2958
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
|
|
2904
2959
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2905
2960
|
r += h;
|
|
2906
2961
|
for (; s-- > 0; )
|
|
@@ -2909,7 +2964,7 @@ function An(e, t) {
|
|
|
2909
2964
|
}
|
|
2910
2965
|
return r;
|
|
2911
2966
|
}
|
|
2912
|
-
function
|
|
2967
|
+
function Mn(e) {
|
|
2913
2968
|
var t = e.hourCycle;
|
|
2914
2969
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2915
2970
|
e.hourCycles && // @ts-ignore
|
|
@@ -2931,20 +2986,20 @@ function Pn(e) {
|
|
|
2931
2986
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2932
2987
|
return i[0];
|
|
2933
2988
|
}
|
|
2934
|
-
var
|
|
2989
|
+
var Oe, $n = new RegExp("^".concat(Kt.source, "*")), Rn = new RegExp("".concat(Kt.source, "*$"));
|
|
2935
2990
|
function b(e, t) {
|
|
2936
2991
|
return { start: e, end: t };
|
|
2937
2992
|
}
|
|
2938
|
-
var
|
|
2993
|
+
var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
|
|
2939
2994
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2940
2995
|
}, ke = !0;
|
|
2941
2996
|
try {
|
|
2942
|
-
var
|
|
2943
|
-
ke = ((
|
|
2997
|
+
var Wn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2998
|
+
ke = ((Oe = Wn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2944
2999
|
} catch (e) {
|
|
2945
3000
|
ke = !1;
|
|
2946
3001
|
}
|
|
2947
|
-
var xt =
|
|
3002
|
+
var xt = Un ? (
|
|
2948
3003
|
// Native
|
|
2949
3004
|
function(t, r, n) {
|
|
2950
3005
|
return t.startsWith(r, n);
|
|
@@ -2954,7 +3009,7 @@ var xt = Nn ? (
|
|
|
2954
3009
|
function(t, r, n) {
|
|
2955
3010
|
return t.slice(n, n + r.length) === r;
|
|
2956
3011
|
}
|
|
2957
|
-
), Ve =
|
|
3012
|
+
), Ve = Dn ? String.fromCodePoint : (
|
|
2958
3013
|
// IE11
|
|
2959
3014
|
function() {
|
|
2960
3015
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2968,7 +3023,7 @@ var xt = Nn ? (
|
|
|
2968
3023
|
}
|
|
2969
3024
|
), Tt = (
|
|
2970
3025
|
// native
|
|
2971
|
-
|
|
3026
|
+
Gn ? Object.fromEntries : (
|
|
2972
3027
|
// Ponyfill
|
|
2973
3028
|
function(t) {
|
|
2974
3029
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2978,7 +3033,7 @@ var xt = Nn ? (
|
|
|
2978
3033
|
return r;
|
|
2979
3034
|
}
|
|
2980
3035
|
)
|
|
2981
|
-
),
|
|
3036
|
+
), nr = Fn ? (
|
|
2982
3037
|
// Native
|
|
2983
3038
|
function(t, r) {
|
|
2984
3039
|
return t.codePointAt(r);
|
|
@@ -2992,7 +3047,7 @@ var xt = Nn ? (
|
|
|
2992
3047
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2993
3048
|
}
|
|
2994
3049
|
}
|
|
2995
|
-
),
|
|
3050
|
+
), zn = jn ? (
|
|
2996
3051
|
// Native
|
|
2997
3052
|
function(t) {
|
|
2998
3053
|
return t.trimStart();
|
|
@@ -3000,9 +3055,9 @@ var xt = Nn ? (
|
|
|
3000
3055
|
) : (
|
|
3001
3056
|
// Ponyfill
|
|
3002
3057
|
function(t) {
|
|
3003
|
-
return t.replace(
|
|
3058
|
+
return t.replace($n, "");
|
|
3004
3059
|
}
|
|
3005
|
-
),
|
|
3060
|
+
), Zn = kn ? (
|
|
3006
3061
|
// Native
|
|
3007
3062
|
function(t) {
|
|
3008
3063
|
return t.trimEnd();
|
|
@@ -3010,15 +3065,15 @@ var xt = Nn ? (
|
|
|
3010
3065
|
) : (
|
|
3011
3066
|
// Ponyfill
|
|
3012
3067
|
function(t) {
|
|
3013
|
-
return t.replace(
|
|
3068
|
+
return t.replace(Rn, "");
|
|
3014
3069
|
}
|
|
3015
3070
|
);
|
|
3016
|
-
function
|
|
3071
|
+
function ir(e, t) {
|
|
3017
3072
|
return new RegExp(e, t);
|
|
3018
3073
|
}
|
|
3019
3074
|
var Xe;
|
|
3020
3075
|
if (ke) {
|
|
3021
|
-
var Ht =
|
|
3076
|
+
var Ht = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3022
3077
|
Xe = function(t, r) {
|
|
3023
3078
|
var n;
|
|
3024
3079
|
Ht.lastIndex = r;
|
|
@@ -3028,14 +3083,14 @@ if (ke) {
|
|
|
3028
3083
|
} else
|
|
3029
3084
|
Xe = function(t, r) {
|
|
3030
3085
|
for (var n = []; ; ) {
|
|
3031
|
-
var i =
|
|
3032
|
-
if (i === void 0 ||
|
|
3086
|
+
var i = nr(t, r);
|
|
3087
|
+
if (i === void 0 || or(i) || Yn(i))
|
|
3033
3088
|
break;
|
|
3034
3089
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3035
3090
|
}
|
|
3036
3091
|
return Ve.apply(void 0, n);
|
|
3037
3092
|
};
|
|
3038
|
-
var
|
|
3093
|
+
var Qn = (
|
|
3039
3094
|
/** @class */
|
|
3040
3095
|
function() {
|
|
3041
3096
|
function e(t, r) {
|
|
@@ -3059,7 +3114,7 @@ var kn = (
|
|
|
3059
3114
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3060
3115
|
var a = this.clonePosition();
|
|
3061
3116
|
this.bump(), i.push({
|
|
3062
|
-
type:
|
|
3117
|
+
type: _.pound,
|
|
3063
3118
|
location: b(a, this.clonePosition())
|
|
3064
3119
|
});
|
|
3065
3120
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -3087,7 +3142,7 @@ var kn = (
|
|
|
3087
3142
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3088
3143
|
return {
|
|
3089
3144
|
val: {
|
|
3090
|
-
type:
|
|
3145
|
+
type: _.literal,
|
|
3091
3146
|
value: "<".concat(i, "/>"),
|
|
3092
3147
|
location: b(n, this.clonePosition())
|
|
3093
3148
|
},
|
|
@@ -3104,7 +3159,7 @@ var kn = (
|
|
|
3104
3159
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3105
3160
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3106
3161
|
val: {
|
|
3107
|
-
type:
|
|
3162
|
+
type: _.tag,
|
|
3108
3163
|
value: i,
|
|
3109
3164
|
children: s,
|
|
3110
3165
|
location: b(n, this.clonePosition())
|
|
@@ -3117,7 +3172,7 @@ var kn = (
|
|
|
3117
3172
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3118
3173
|
}, e.prototype.parseTagName = function() {
|
|
3119
3174
|
var t = this.offset();
|
|
3120
|
-
for (this.bump(); !this.isEOF() &&
|
|
3175
|
+
for (this.bump(); !this.isEOF() && Jn(this.char()); )
|
|
3121
3176
|
this.bump();
|
|
3122
3177
|
return this.message.slice(t, this.offset());
|
|
3123
3178
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3141,12 +3196,12 @@ var kn = (
|
|
|
3141
3196
|
}
|
|
3142
3197
|
var h = b(n, this.clonePosition());
|
|
3143
3198
|
return {
|
|
3144
|
-
val: { type:
|
|
3199
|
+
val: { type: _.literal, value: i, location: h },
|
|
3145
3200
|
err: null
|
|
3146
3201
|
};
|
|
3147
3202
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3148
3203
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3149
|
-
!
|
|
3204
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3150
3205
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3151
3206
|
if (this.isEOF() || this.char() !== 39)
|
|
3152
3207
|
return null;
|
|
@@ -3201,7 +3256,7 @@ var kn = (
|
|
|
3201
3256
|
case 125:
|
|
3202
3257
|
return this.bump(), {
|
|
3203
3258
|
val: {
|
|
3204
|
-
type:
|
|
3259
|
+
type: _.argument,
|
|
3205
3260
|
// value does not include the opening and closing braces.
|
|
3206
3261
|
value: i,
|
|
3207
3262
|
location: b(n, this.clonePosition())
|
|
@@ -3233,7 +3288,7 @@ var kn = (
|
|
|
3233
3288
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3234
3289
|
if (c.err)
|
|
3235
3290
|
return c;
|
|
3236
|
-
var f =
|
|
3291
|
+
var f = Zn(c.val);
|
|
3237
3292
|
if (f.length === 0)
|
|
3238
3293
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3239
3294
|
var p = b(l, this.clonePosition());
|
|
@@ -3244,24 +3299,24 @@ var kn = (
|
|
|
3244
3299
|
return v;
|
|
3245
3300
|
var d = b(i, this.clonePosition());
|
|
3246
3301
|
if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3247
|
-
var T =
|
|
3302
|
+
var T = zn(u.style.slice(2));
|
|
3248
3303
|
if (a === "number") {
|
|
3249
3304
|
var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
3250
3305
|
return c.err ? c : {
|
|
3251
|
-
val: { type:
|
|
3306
|
+
val: { type: _.number, value: n, location: d, style: c.val },
|
|
3252
3307
|
err: null
|
|
3253
3308
|
};
|
|
3254
3309
|
} else {
|
|
3255
3310
|
if (T.length === 0)
|
|
3256
3311
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, d);
|
|
3257
3312
|
var M = T;
|
|
3258
|
-
this.locale && (M =
|
|
3313
|
+
this.locale && (M = Cn(T, this.locale));
|
|
3259
3314
|
var f = {
|
|
3260
3315
|
type: Z.dateTime,
|
|
3261
3316
|
pattern: M,
|
|
3262
3317
|
location: u.styleLocation,
|
|
3263
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3264
|
-
}, $ = a === "date" ?
|
|
3318
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(M) : {}
|
|
3319
|
+
}, $ = a === "date" ? _.date : _.time;
|
|
3265
3320
|
return {
|
|
3266
3321
|
val: { type: $, value: n, location: d, style: f },
|
|
3267
3322
|
err: null
|
|
@@ -3270,7 +3325,7 @@ var kn = (
|
|
|
3270
3325
|
}
|
|
3271
3326
|
return {
|
|
3272
3327
|
val: {
|
|
3273
|
-
type: a === "number" ?
|
|
3328
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3274
3329
|
value: n,
|
|
3275
3330
|
location: d,
|
|
3276
3331
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3304,7 +3359,7 @@ var kn = (
|
|
|
3304
3359
|
var he = b(i, this.clonePosition());
|
|
3305
3360
|
return a === "select" ? {
|
|
3306
3361
|
val: {
|
|
3307
|
-
type:
|
|
3362
|
+
type: _.select,
|
|
3308
3363
|
value: n,
|
|
3309
3364
|
options: Tt(G.val),
|
|
3310
3365
|
location: he
|
|
@@ -3312,7 +3367,7 @@ var kn = (
|
|
|
3312
3367
|
err: null
|
|
3313
3368
|
} : {
|
|
3314
3369
|
val: {
|
|
3315
|
-
type:
|
|
3370
|
+
type: _.plural,
|
|
3316
3371
|
value: n,
|
|
3317
3372
|
options: Tt(G.val),
|
|
3318
3373
|
offset: O,
|
|
@@ -3365,7 +3420,7 @@ var kn = (
|
|
|
3365
3420
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3366
3421
|
var n = [];
|
|
3367
3422
|
try {
|
|
3368
|
-
n =
|
|
3423
|
+
n = Pn(t);
|
|
3369
3424
|
} catch (i) {
|
|
3370
3425
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3371
3426
|
}
|
|
@@ -3374,7 +3429,7 @@ var kn = (
|
|
|
3374
3429
|
type: Z.number,
|
|
3375
3430
|
tokens: n,
|
|
3376
3431
|
location: r,
|
|
3377
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3432
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
|
|
3378
3433
|
},
|
|
3379
3434
|
err: null
|
|
3380
3435
|
};
|
|
@@ -3422,7 +3477,7 @@ var kn = (
|
|
|
3422
3477
|
break;
|
|
3423
3478
|
}
|
|
3424
3479
|
var h = b(i, this.clonePosition());
|
|
3425
|
-
return o ? (s *= n,
|
|
3480
|
+
return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3426
3481
|
}, e.prototype.offset = function() {
|
|
3427
3482
|
return this.position.offset;
|
|
3428
3483
|
}, e.prototype.isEOF = function() {
|
|
@@ -3437,7 +3492,7 @@ var kn = (
|
|
|
3437
3492
|
var t = this.position.offset;
|
|
3438
3493
|
if (t >= this.message.length)
|
|
3439
3494
|
throw Error("out of bound");
|
|
3440
|
-
var r =
|
|
3495
|
+
var r = nr(this.message, t);
|
|
3441
3496
|
if (r === void 0)
|
|
3442
3497
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3443
3498
|
return r;
|
|
@@ -3478,7 +3533,7 @@ var kn = (
|
|
|
3478
3533
|
break;
|
|
3479
3534
|
}
|
|
3480
3535
|
}, e.prototype.bumpSpace = function() {
|
|
3481
|
-
for (; !this.isEOF() &&
|
|
3536
|
+
for (; !this.isEOF() && or(this.char()); )
|
|
3482
3537
|
this.bump();
|
|
3483
3538
|
}, e.prototype.peek = function() {
|
|
3484
3539
|
if (this.isEOF())
|
|
@@ -3491,93 +3546,43 @@ var kn = (
|
|
|
3491
3546
|
function We(e) {
|
|
3492
3547
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3493
3548
|
}
|
|
3494
|
-
function
|
|
3549
|
+
function qn(e) {
|
|
3495
3550
|
return We(e) || e === 47;
|
|
3496
3551
|
}
|
|
3497
|
-
function
|
|
3552
|
+
function Jn(e) {
|
|
3498
3553
|
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;
|
|
3499
3554
|
}
|
|
3500
|
-
function
|
|
3555
|
+
function or(e) {
|
|
3501
3556
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3502
3557
|
}
|
|
3503
|
-
function
|
|
3558
|
+
function Yn(e) {
|
|
3504
3559
|
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;
|
|
3505
3560
|
}
|
|
3506
3561
|
function ze(e) {
|
|
3507
3562
|
e.forEach(function(t) {
|
|
3508
|
-
if (delete t.location,
|
|
3563
|
+
if (delete t.location, Qt(t) || qt(t))
|
|
3509
3564
|
for (var r in t.options)
|
|
3510
3565
|
delete t.options[r].location, ze(t.options[r].value);
|
|
3511
|
-
else
|
|
3566
|
+
else Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
|
|
3512
3567
|
});
|
|
3513
3568
|
}
|
|
3514
|
-
function
|
|
3569
|
+
function Kn(e, t) {
|
|
3515
3570
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3516
|
-
var r = new
|
|
3571
|
+
var r = new Qn(e, t).parse();
|
|
3517
3572
|
if (r.err) {
|
|
3518
3573
|
var n = SyntaxError(m[r.err.kind]);
|
|
3519
3574
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3520
3575
|
}
|
|
3521
3576
|
return t != null && t.captureLocation || ze(r.val), r.val;
|
|
3522
3577
|
}
|
|
3523
|
-
|
|
3524
|
-
var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
|
|
3525
|
-
return i(e, {
|
|
3526
|
-
cache: r,
|
|
3527
|
-
serializer: n
|
|
3528
|
-
});
|
|
3529
|
-
}
|
|
3530
|
-
function Zn(e) {
|
|
3531
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3532
|
-
}
|
|
3533
|
-
function or(e, t, r, n) {
|
|
3534
|
-
var i = Zn(n) ? n : r(n), o = t.get(i);
|
|
3535
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3536
|
-
}
|
|
3537
|
-
function sr(e, t, r) {
|
|
3538
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3539
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3540
|
-
}
|
|
3541
|
-
function Ke(e, t, r, n, i) {
|
|
3542
|
-
return r.bind(t, e, n, i);
|
|
3543
|
-
}
|
|
3544
|
-
function Qn(e, t) {
|
|
3545
|
-
var r = e.length === 1 ? or : sr;
|
|
3546
|
-
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
3547
|
-
}
|
|
3548
|
-
function qn(e, t) {
|
|
3549
|
-
return Ke(e, this, sr, t.cache.create(), t.serializer);
|
|
3550
|
-
}
|
|
3551
|
-
function Jn(e, t) {
|
|
3552
|
-
return Ke(e, this, or, t.cache.create(), t.serializer);
|
|
3553
|
-
}
|
|
3554
|
-
var Yn = function() {
|
|
3555
|
-
return JSON.stringify(arguments);
|
|
3556
|
-
};
|
|
3557
|
-
function et() {
|
|
3558
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3559
|
-
}
|
|
3560
|
-
et.prototype.get = function(e) {
|
|
3561
|
-
return this.cache[e];
|
|
3562
|
-
};
|
|
3563
|
-
et.prototype.set = function(e, t) {
|
|
3564
|
-
this.cache[e] = t;
|
|
3565
|
-
};
|
|
3566
|
-
var Kn = {
|
|
3567
|
-
create: function() {
|
|
3568
|
-
return new et();
|
|
3569
|
-
}
|
|
3570
|
-
}, Oe = {
|
|
3571
|
-
variadic: qn,
|
|
3572
|
-
monadic: Jn
|
|
3573
|
-
}, Q;
|
|
3578
|
+
var Q;
|
|
3574
3579
|
(function(e) {
|
|
3575
3580
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3576
3581
|
})(Q || (Q = {}));
|
|
3577
|
-
var
|
|
3582
|
+
var Ee = (
|
|
3578
3583
|
/** @class */
|
|
3579
3584
|
function(e) {
|
|
3580
|
-
|
|
3585
|
+
C(t, e);
|
|
3581
3586
|
function t(r, n, i) {
|
|
3582
3587
|
var o = e.call(this, r) || this;
|
|
3583
3588
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3589,30 +3594,30 @@ var _e = (
|
|
|
3589
3594
|
), St = (
|
|
3590
3595
|
/** @class */
|
|
3591
3596
|
function(e) {
|
|
3592
|
-
|
|
3597
|
+
C(t, e);
|
|
3593
3598
|
function t(r, n, i, o) {
|
|
3594
3599
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3595
3600
|
}
|
|
3596
3601
|
return t;
|
|
3597
|
-
}(
|
|
3602
|
+
}(Ee)
|
|
3598
3603
|
), ei = (
|
|
3599
3604
|
/** @class */
|
|
3600
3605
|
function(e) {
|
|
3601
|
-
|
|
3606
|
+
C(t, e);
|
|
3602
3607
|
function t(r, n, i) {
|
|
3603
3608
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3604
3609
|
}
|
|
3605
3610
|
return t;
|
|
3606
|
-
}(
|
|
3611
|
+
}(Ee)
|
|
3607
3612
|
), ti = (
|
|
3608
3613
|
/** @class */
|
|
3609
3614
|
function(e) {
|
|
3610
|
-
|
|
3615
|
+
C(t, e);
|
|
3611
3616
|
function t(r, n) {
|
|
3612
3617
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3613
3618
|
}
|
|
3614
3619
|
return t;
|
|
3615
|
-
}(
|
|
3620
|
+
}(Ee)
|
|
3616
3621
|
), H;
|
|
3617
3622
|
(function(e) {
|
|
3618
3623
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3643,7 +3648,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3643
3648
|
});
|
|
3644
3649
|
continue;
|
|
3645
3650
|
}
|
|
3646
|
-
if (
|
|
3651
|
+
if (Sn(l)) {
|
|
3647
3652
|
typeof o == "number" && a.push({
|
|
3648
3653
|
type: H.literal,
|
|
3649
3654
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3654,14 +3659,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3654
3659
|
if (!(i && c in i))
|
|
3655
3660
|
throw new ti(c, s);
|
|
3656
3661
|
var f = i[c];
|
|
3657
|
-
if (
|
|
3662
|
+
if (Hn(l)) {
|
|
3658
3663
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3659
3664
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3660
3665
|
value: f
|
|
3661
3666
|
});
|
|
3662
3667
|
continue;
|
|
3663
3668
|
}
|
|
3664
|
-
if (
|
|
3669
|
+
if (zt(l)) {
|
|
3665
3670
|
var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
|
|
3666
3671
|
a.push({
|
|
3667
3672
|
type: H.literal,
|
|
@@ -3669,7 +3674,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3669
3674
|
});
|
|
3670
3675
|
continue;
|
|
3671
3676
|
}
|
|
3672
|
-
if (
|
|
3677
|
+
if (Zt(l)) {
|
|
3673
3678
|
var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3674
3679
|
a.push({
|
|
3675
3680
|
type: H.literal,
|
|
@@ -3677,15 +3682,15 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3677
3682
|
});
|
|
3678
3683
|
continue;
|
|
3679
3684
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3685
|
+
if (Wt(l)) {
|
|
3686
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
|
|
3682
3687
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3683
3688
|
type: H.literal,
|
|
3684
3689
|
value: r.getNumberFormat(t, p).format(f)
|
|
3685
3690
|
});
|
|
3686
3691
|
continue;
|
|
3687
3692
|
}
|
|
3688
|
-
if (
|
|
3693
|
+
if (Jt(l)) {
|
|
3689
3694
|
var v = l.children, d = l.value, T = i[d];
|
|
3690
3695
|
if (!ni(T))
|
|
3691
3696
|
throw new ei(d, "function", s);
|
|
@@ -3699,18 +3704,18 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3699
3704
|
};
|
|
3700
3705
|
}));
|
|
3701
3706
|
}
|
|
3702
|
-
if (
|
|
3707
|
+
if (Qt(l)) {
|
|
3703
3708
|
var S = l.options[f] || l.options.other;
|
|
3704
3709
|
if (!S)
|
|
3705
3710
|
throw new St(l.value, f, Object.keys(l.options), s);
|
|
3706
3711
|
a.push.apply(a, me(S.value, t, r, n, i));
|
|
3707
3712
|
continue;
|
|
3708
3713
|
}
|
|
3709
|
-
if (
|
|
3714
|
+
if (qt(l)) {
|
|
3710
3715
|
var S = l.options["=".concat(f)];
|
|
3711
3716
|
if (!S) {
|
|
3712
3717
|
if (!Intl.PluralRules)
|
|
3713
|
-
throw new
|
|
3718
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3714
3719
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3715
3720
|
`, Q.MISSING_INTL_API, s);
|
|
3716
3721
|
var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
@@ -3754,29 +3759,29 @@ function si(e) {
|
|
|
3754
3759
|
dateTime: {},
|
|
3755
3760
|
pluralRules: {}
|
|
3756
3761
|
}), {
|
|
3757
|
-
getNumberFormat:
|
|
3762
|
+
getNumberFormat: Ae(function() {
|
|
3758
3763
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3759
3764
|
r[n] = arguments[n];
|
|
3760
3765
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3761
3766
|
}, {
|
|
3762
3767
|
cache: Ie(e.number),
|
|
3763
|
-
strategy:
|
|
3768
|
+
strategy: Pe.variadic
|
|
3764
3769
|
}),
|
|
3765
|
-
getDateTimeFormat:
|
|
3770
|
+
getDateTimeFormat: Ae(function() {
|
|
3766
3771
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3767
3772
|
r[n] = arguments[n];
|
|
3768
3773
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3769
3774
|
}, {
|
|
3770
3775
|
cache: Ie(e.dateTime),
|
|
3771
|
-
strategy:
|
|
3776
|
+
strategy: Pe.variadic
|
|
3772
3777
|
}),
|
|
3773
|
-
getPluralRules:
|
|
3778
|
+
getPluralRules: Ae(function() {
|
|
3774
3779
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3780
|
r[n] = arguments[n];
|
|
3776
3781
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
3777
3782
|
}, {
|
|
3778
3783
|
cache: Ie(e.pluralRules),
|
|
3779
|
-
strategy:
|
|
3784
|
+
strategy: Pe.variadic
|
|
3780
3785
|
})
|
|
3781
3786
|
};
|
|
3782
3787
|
}
|
|
@@ -3784,8 +3789,9 @@ var ai = (
|
|
|
3784
3789
|
/** @class */
|
|
3785
3790
|
function() {
|
|
3786
3791
|
function e(t, r, n, i) {
|
|
3792
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3787
3793
|
var o = this;
|
|
3788
|
-
if (
|
|
3794
|
+
if (this.formatterCache = {
|
|
3789
3795
|
number: {},
|
|
3790
3796
|
dateTime: {},
|
|
3791
3797
|
pluralRules: {}
|
|
@@ -3811,7 +3817,7 @@ var ai = (
|
|
|
3811
3817
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3812
3818
|
var s = i || {};
|
|
3813
3819
|
s.formatters;
|
|
3814
|
-
var a =
|
|
3820
|
+
var a = Dr(s, ["formatters"]);
|
|
3815
3821
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3816
3822
|
} else
|
|
3817
3823
|
this.ast = t;
|
|
@@ -3830,7 +3836,7 @@ var ai = (
|
|
|
3830
3836
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3831
3837
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3832
3838
|
}
|
|
3833
|
-
}, e.__parse =
|
|
3839
|
+
}, e.__parse = Kn, e.formats = {
|
|
3834
3840
|
number: {
|
|
3835
3841
|
integer: {
|
|
3836
3842
|
maximumFractionDigits: 0
|
|
@@ -3912,7 +3918,7 @@ function ui(e, t) {
|
|
|
3912
3918
|
n = void 0;
|
|
3913
3919
|
return n;
|
|
3914
3920
|
}
|
|
3915
|
-
const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r),
|
|
3921
|
+
const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), sr = (e, t) => {
|
|
3916
3922
|
if (t == null)
|
|
3917
3923
|
return;
|
|
3918
3924
|
if (t in R && e in R[t])
|
|
@@ -3925,15 +3931,15 @@ const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][
|
|
|
3925
3931
|
}
|
|
3926
3932
|
};
|
|
3927
3933
|
let tt;
|
|
3928
|
-
const ue =
|
|
3934
|
+
const ue = _e({});
|
|
3929
3935
|
function li(e) {
|
|
3930
3936
|
return tt[e] || null;
|
|
3931
3937
|
}
|
|
3932
|
-
function
|
|
3938
|
+
function ar(e) {
|
|
3933
3939
|
return e in tt;
|
|
3934
3940
|
}
|
|
3935
3941
|
function ci(e, t) {
|
|
3936
|
-
if (!
|
|
3942
|
+
if (!ar(e))
|
|
3937
3943
|
return null;
|
|
3938
3944
|
const r = li(e);
|
|
3939
3945
|
return ui(r, t);
|
|
@@ -3944,11 +3950,11 @@ function fi(e) {
|
|
|
3944
3950
|
const t = xe(e);
|
|
3945
3951
|
for (let r = 0; r < t.length; r++) {
|
|
3946
3952
|
const n = t[r];
|
|
3947
|
-
if (
|
|
3953
|
+
if (ar(n))
|
|
3948
3954
|
return n;
|
|
3949
3955
|
}
|
|
3950
3956
|
}
|
|
3951
|
-
function
|
|
3957
|
+
function ur(e, ...t) {
|
|
3952
3958
|
delete R[e], ue.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
|
|
3953
3959
|
}
|
|
3954
3960
|
Y(
|
|
@@ -3960,12 +3966,12 @@ const be = {};
|
|
|
3960
3966
|
function pi(e, t) {
|
|
3961
3967
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3962
3968
|
}
|
|
3963
|
-
function
|
|
3969
|
+
function hr(e) {
|
|
3964
3970
|
return be[e];
|
|
3965
3971
|
}
|
|
3966
3972
|
function di(e) {
|
|
3967
3973
|
return xe(e).map((t) => {
|
|
3968
|
-
const r =
|
|
3974
|
+
const r = hr(t);
|
|
3969
3975
|
return [t, r ? [...r] : []];
|
|
3970
3976
|
}).filter(([, t]) => t.length > 0);
|
|
3971
3977
|
}
|
|
@@ -3973,17 +3979,17 @@ function Ze(e) {
|
|
|
3973
3979
|
return e == null ? !1 : xe(e).some(
|
|
3974
3980
|
(t) => {
|
|
3975
3981
|
var r;
|
|
3976
|
-
return (r =
|
|
3982
|
+
return (r = hr(t)) == null ? void 0 : r.size;
|
|
3977
3983
|
}
|
|
3978
3984
|
);
|
|
3979
3985
|
}
|
|
3980
3986
|
function mi(e, t) {
|
|
3981
3987
|
return Promise.all(
|
|
3982
3988
|
t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
|
|
3983
|
-
).then((n) =>
|
|
3989
|
+
).then((n) => ur(e, ...n));
|
|
3984
3990
|
}
|
|
3985
3991
|
const te = {};
|
|
3986
|
-
function
|
|
3992
|
+
function lr(e) {
|
|
3987
3993
|
if (!Ze(e))
|
|
3988
3994
|
return e in te ? te[e] : Promise.resolve();
|
|
3989
3995
|
const t = di(e);
|
|
@@ -3993,7 +3999,7 @@ function cr(e) {
|
|
|
3993
3999
|
)
|
|
3994
4000
|
).then(() => {
|
|
3995
4001
|
if (Ze(e))
|
|
3996
|
-
return
|
|
4002
|
+
return lr(e);
|
|
3997
4003
|
delete te[e];
|
|
3998
4004
|
}), te[e];
|
|
3999
4005
|
}
|
|
@@ -4037,17 +4043,17 @@ const bi = {
|
|
|
4037
4043
|
function q() {
|
|
4038
4044
|
return gi;
|
|
4039
4045
|
}
|
|
4040
|
-
const Ne =
|
|
4041
|
-
var vi = Object.defineProperty,
|
|
4046
|
+
const Ne = _e(!1);
|
|
4047
|
+
var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
|
|
4042
4048
|
for (var r in t || (t = {}))
|
|
4043
4049
|
xi.call(t, r) && Bt(e, r, t[r]);
|
|
4044
4050
|
if (wt)
|
|
4045
4051
|
for (var r of wt(t))
|
|
4046
4052
|
Ti.call(t, r) && Bt(e, r, t[r]);
|
|
4047
4053
|
return e;
|
|
4048
|
-
}, Si = (e, t) =>
|
|
4054
|
+
}, Si = (e, t) => _i(e, Ei(t));
|
|
4049
4055
|
let Qe;
|
|
4050
|
-
const ye =
|
|
4056
|
+
const ye = _e(null);
|
|
4051
4057
|
function At(e) {
|
|
4052
4058
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4053
4059
|
}
|
|
@@ -4068,7 +4074,7 @@ const wi = (e) => {
|
|
|
4068
4074
|
return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
|
|
4069
4075
|
() => Ne.set(!0),
|
|
4070
4076
|
t
|
|
4071
|
-
) : Ne.set(!0),
|
|
4077
|
+
) : Ne.set(!0), lr(e).then(() => {
|
|
4072
4078
|
ye.set(e);
|
|
4073
4079
|
}).finally(() => {
|
|
4074
4080
|
clearTimeout(r), Ne.set(!1);
|
|
@@ -4084,20 +4090,20 @@ const wi = (e) => {
|
|
|
4084
4090
|
return i in t ? t[i] : t[i] = e(n);
|
|
4085
4091
|
};
|
|
4086
4092
|
};
|
|
4087
|
-
var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols,
|
|
4093
|
+
var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
4088
4094
|
for (var r in t || (t = {}))
|
|
4089
|
-
|
|
4095
|
+
cr.call(t, r) && Pt(e, r, t[r]);
|
|
4090
4096
|
if (ge)
|
|
4091
4097
|
for (var r of ge(t))
|
|
4092
|
-
|
|
4098
|
+
fr.call(t, r) && Pt(e, r, t[r]);
|
|
4093
4099
|
return e;
|
|
4094
4100
|
}, ee = (e, t) => {
|
|
4095
4101
|
var r = {};
|
|
4096
4102
|
for (var n in e)
|
|
4097
|
-
|
|
4103
|
+
cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4098
4104
|
if (e != null && ge)
|
|
4099
4105
|
for (var n of ge(e))
|
|
4100
|
-
t.indexOf(n) < 0 &&
|
|
4106
|
+
t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
|
|
4101
4107
|
return r;
|
|
4102
4108
|
};
|
|
4103
4109
|
const oe = (e, t) => {
|
|
@@ -4142,14 +4148,14 @@ const oe = (e, t) => {
|
|
|
4142
4148
|
"locale"
|
|
4143
4149
|
]);
|
|
4144
4150
|
return Pi(rt({ locale: r }, n));
|
|
4145
|
-
},
|
|
4151
|
+
}, Li = (e = {}) => {
|
|
4146
4152
|
var t = e, {
|
|
4147
4153
|
locale: r = D()
|
|
4148
4154
|
} = t, n = ee(t, [
|
|
4149
4155
|
"locale"
|
|
4150
4156
|
]);
|
|
4151
4157
|
return Oi(rt({ locale: r }, n));
|
|
4152
|
-
},
|
|
4158
|
+
}, Ci = Te(
|
|
4153
4159
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4154
4160
|
(e, t = D()) => new ai(e, t, q().formats, {
|
|
4155
4161
|
ignoreTag: q().ignoreTag
|
|
@@ -4167,7 +4173,7 @@ const oe = (e, t) => {
|
|
|
4167
4173
|
throw new Error(
|
|
4168
4174
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4169
4175
|
);
|
|
4170
|
-
let l =
|
|
4176
|
+
let l = sr(e, h);
|
|
4171
4177
|
if (!l)
|
|
4172
4178
|
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;
|
|
4173
4179
|
else if (typeof l != "string")
|
|
@@ -4178,7 +4184,7 @@ const oe = (e, t) => {
|
|
|
4178
4184
|
return l;
|
|
4179
4185
|
let c = l;
|
|
4180
4186
|
try {
|
|
4181
|
-
c =
|
|
4187
|
+
c = Ci(l, h).format(a);
|
|
4182
4188
|
} catch (f) {
|
|
4183
4189
|
f instanceof Error && console.warn(
|
|
4184
4190
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4186,7 +4192,7 @@ const oe = (e, t) => {
|
|
|
4186
4192
|
);
|
|
4187
4193
|
}
|
|
4188
4194
|
return c;
|
|
4189
|
-
}, $i = (e, t) =>
|
|
4195
|
+
}, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = D()) => sr(e, t), Gi = Y([K, ue], () => Mi);
|
|
4190
4196
|
Y([K], () => $i);
|
|
4191
4197
|
Y([K], () => Ri);
|
|
4192
4198
|
Y([K], () => Ui);
|
|
@@ -4194,7 +4200,7 @@ Y([K, ue], () => Di);
|
|
|
4194
4200
|
window.emWidgets = { topic: Kr };
|
|
4195
4201
|
const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4196
4202
|
function Ot(e, t) {
|
|
4197
|
-
|
|
4203
|
+
ur(e, t);
|
|
4198
4204
|
}
|
|
4199
4205
|
function ji(e) {
|
|
4200
4206
|
K.set(e);
|
|
@@ -4247,10 +4253,10 @@ function Vi(e) {
|
|
|
4247
4253
|
), f, p, v;
|
|
4248
4254
|
return {
|
|
4249
4255
|
c() {
|
|
4250
|
-
t =
|
|
4256
|
+
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = L("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
4251
4257
|
},
|
|
4252
4258
|
m(d, T) {
|
|
4253
|
-
ae(d, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v =
|
|
4259
|
+
ae(d, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v = Tr(
|
|
4254
4260
|
t,
|
|
4255
4261
|
"click",
|
|
4256
4262
|
/*click_handler*/
|
|
@@ -4271,8 +4277,8 @@ function Xi(e) {
|
|
|
4271
4277
|
let t, r, n;
|
|
4272
4278
|
return {
|
|
4273
4279
|
c() {
|
|
4274
|
-
t =
|
|
4275
|
-
e[2]) ||
|
|
4280
|
+
t = L("div"), r = L("iframe"), ut(r.src, n = /*iframeUrl*/
|
|
4281
|
+
e[2]) || E(r, "src", n), E(r, "title", "Transaction History Iframe"), E(t, "class", "TransactionHistoryIframeWrapper");
|
|
4276
4282
|
},
|
|
4277
4283
|
m(i, o) {
|
|
4278
4284
|
ae(i, t, o), x(t, r);
|
|
@@ -4280,7 +4286,7 @@ function Xi(e) {
|
|
|
4280
4286
|
p(i, o) {
|
|
4281
4287
|
o & /*iframeUrl*/
|
|
4282
4288
|
4 && !ut(r.src, n = /*iframeUrl*/
|
|
4283
|
-
i[2]) &&
|
|
4289
|
+
i[2]) && E(r, "src", n);
|
|
4284
4290
|
},
|
|
4285
4291
|
d(i) {
|
|
4286
4292
|
i && J(t);
|
|
@@ -4294,7 +4300,7 @@ function Wi(e) {
|
|
|
4294
4300
|
), n;
|
|
4295
4301
|
return {
|
|
4296
4302
|
c() {
|
|
4297
|
-
t =
|
|
4303
|
+
t = L("p"), n = ne(r);
|
|
4298
4304
|
},
|
|
4299
4305
|
m(i, o) {
|
|
4300
4306
|
ae(i, t, o), x(t, n);
|
|
@@ -4326,8 +4332,8 @@ function zi(e) {
|
|
|
4326
4332
|
let u = h(e), l = u(e);
|
|
4327
4333
|
return {
|
|
4328
4334
|
c() {
|
|
4329
|
-
t =
|
|
4330
|
-
(e[4] ? "TransactionHistoryTitleNone" : "")),
|
|
4335
|
+
t = L("div"), a && a.c(), r = Le(), n = L("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
|
|
4336
|
+
(e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
|
|
4331
4337
|
(e[4] ? "TransactionHistoryWrapperMobile" : ""));
|
|
4332
4338
|
},
|
|
4333
4339
|
m(c, f) {
|
|
@@ -4348,7 +4354,7 @@ function zi(e) {
|
|
|
4348
4354
|
}
|
|
4349
4355
|
function Zi(e, t, r) {
|
|
4350
4356
|
let n;
|
|
4351
|
-
|
|
4357
|
+
vr(e, Gi, (g) => r(3, n = g));
|
|
4352
4358
|
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c, f = window.navigator.userAgent, p = Fi(f) !== "PC", v = !0, d = "";
|
|
4353
4359
|
const T = () => {
|
|
4354
4360
|
fetch(l).then((A) => A.json()).then((A) => {
|
|
@@ -4405,7 +4411,7 @@ function Zi(e, t, r) {
|
|
|
4405
4411
|
});
|
|
4406
4412
|
}, G = () => M();
|
|
4407
4413
|
function he(g) {
|
|
4408
|
-
|
|
4414
|
+
Ce[g ? "unshift" : "push"](() => {
|
|
4409
4415
|
c = g, r(0, c);
|
|
4410
4416
|
});
|
|
4411
4417
|
}
|
|
@@ -4436,14 +4442,14 @@ function Zi(e, t, r) {
|
|
|
4436
4442
|
he
|
|
4437
4443
|
];
|
|
4438
4444
|
}
|
|
4439
|
-
class Qi extends
|
|
4445
|
+
class Qi extends Rr {
|
|
4440
4446
|
constructor(t) {
|
|
4441
|
-
super(),
|
|
4447
|
+
super(), Mr(
|
|
4442
4448
|
this,
|
|
4443
4449
|
t,
|
|
4444
4450
|
Zi,
|
|
4445
4451
|
zi,
|
|
4446
|
-
|
|
4452
|
+
Lt,
|
|
4447
4453
|
{
|
|
4448
4454
|
endpoint: 6,
|
|
4449
4455
|
session: 7,
|
|
@@ -4499,7 +4505,7 @@ class Qi extends Ur {
|
|
|
4499
4505
|
this.$$set({ translationurl: t }), I();
|
|
4500
4506
|
}
|
|
4501
4507
|
}
|
|
4502
|
-
|
|
4508
|
+
$r(Qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4503
4509
|
export {
|
|
4504
4510
|
Qi as default
|
|
4505
4511
|
};
|