@everymatrix/general-player-register-form-step2-nd 1.50.0 → 1.51.0
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/{GeneralPlayerRegisterFormStep2Nd-BWNSqRGx.cjs → GeneralPlayerRegisterFormStep2Nd-BmODux5H.cjs} +4 -4
- package/components/{GeneralPlayerRegisterFormStep2Nd-BAZnObk_.js → GeneralPlayerRegisterFormStep2Nd-_DEENpZh.js} +341 -310
- package/es2015/general-player-register-form-step2-nd.cjs +1 -1
- package/es2015/general-player-register-form-step2-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Pa = Object.defineProperty, Ba = Object.defineProperties;
|
|
2
2
|
var Ca = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Vi = Object.getOwnPropertySymbols;
|
|
4
4
|
var Ia = Object.prototype.hasOwnProperty, Ha = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Rr = (e, t, r) => t in e ?
|
|
5
|
+
var Rr = (e, t, r) => t in e ? Pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
Ia.call(t, r) && Rr(e, r, t[r]);
|
|
8
8
|
if (Vi)
|
|
@@ -618,7 +618,7 @@ function Ie(e) {
|
|
|
618
618
|
function Zn(e) {
|
|
619
619
|
y.suppressDeprecationWarnings === !1 && typeof console != "undefined" && console.warn && console.warn("Deprecation warning: " + e);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Ne(e, t) {
|
|
622
622
|
var r = !0;
|
|
623
623
|
return et(function() {
|
|
624
624
|
if (y.deprecationHandler != null && y.deprecationHandler(null, e), r) {
|
|
@@ -835,13 +835,13 @@ var en = {
|
|
|
835
835
|
years: "year",
|
|
836
836
|
year: "year"
|
|
837
837
|
};
|
|
838
|
-
function
|
|
838
|
+
function Pe(e) {
|
|
839
839
|
return typeof e == "string" ? en[e] || en[e.toLowerCase()] : void 0;
|
|
840
840
|
}
|
|
841
841
|
function wi(e) {
|
|
842
842
|
var t = {}, r, i;
|
|
843
843
|
for (i in e)
|
|
844
|
-
L(e, i) && (r =
|
|
844
|
+
L(e, i) && (r = Pe(i), r && (t[r] = e[i]));
|
|
845
845
|
return t;
|
|
846
846
|
}
|
|
847
847
|
var Eo = {
|
|
@@ -913,13 +913,13 @@ function er(e, t) {
|
|
|
913
913
|
n._w = n._w || {}, t(r, n._w, n, s);
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function No(e, t, r) {
|
|
917
917
|
t != null && L(ri, e) && ri[e](t, r._a, r, e);
|
|
918
918
|
}
|
|
919
919
|
function kr(e) {
|
|
920
920
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
921
921
|
}
|
|
922
|
-
var ye = 0, Ve = 1, Re = 2, fe = 3, Be = 4, ze = 5, at = 6,
|
|
922
|
+
var ye = 0, Ve = 1, Re = 2, fe = 3, Be = 4, ze = 5, at = 6, Po = 7, Bo = 8;
|
|
923
923
|
E("Y", 0, 0, function() {
|
|
924
924
|
var e = this.year();
|
|
925
925
|
return e <= 9999 ? Ue(e, 4) : "+" + e;
|
|
@@ -1008,7 +1008,7 @@ function rs(e, t, r) {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
function Io(e) {
|
|
1011
|
-
return e =
|
|
1011
|
+
return e = Pe(e), Ge(this[e]) ? this[e]() : this;
|
|
1012
1012
|
}
|
|
1013
1013
|
function Ho(e, t) {
|
|
1014
1014
|
if (typeof e == "object") {
|
|
@@ -1016,7 +1016,7 @@ function Ho(e, t) {
|
|
|
1016
1016
|
var r = To(e), i, n = r.length;
|
|
1017
1017
|
for (i = 0; i < n; i++)
|
|
1018
1018
|
this[r[i].unit](e[r[i].unit]);
|
|
1019
|
-
} else if (e =
|
|
1019
|
+
} else if (e = Pe(e), Ge(this[e]))
|
|
1020
1020
|
return this[e](t);
|
|
1021
1021
|
return this;
|
|
1022
1022
|
}
|
|
@@ -1448,7 +1448,7 @@ function tn(e) {
|
|
|
1448
1448
|
function El(e) {
|
|
1449
1449
|
for (var t = 0, r, i, n, s; t < e.length; ) {
|
|
1450
1450
|
for (s = tn(e[t]).split("-"), r = s.length, i = tn(e[t + 1]), i = i ? i.split("-") : null; r > 0; ) {
|
|
1451
|
-
if (n =
|
|
1451
|
+
if (n = Nr(s.slice(0, r).join("-")), n)
|
|
1452
1452
|
return n;
|
|
1453
1453
|
if (i && i.length >= r && Ml(s, i) >= r - 1)
|
|
1454
1454
|
break;
|
|
@@ -1461,7 +1461,7 @@ function El(e) {
|
|
|
1461
1461
|
function Tl(e) {
|
|
1462
1462
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1464
|
+
function Nr(e) {
|
|
1465
1465
|
var t = null, r;
|
|
1466
1466
|
if (Q[e] === void 0 && typeof module != "undefined" && module && module.exports && Tl(e))
|
|
1467
1467
|
try {
|
|
@@ -1488,7 +1488,7 @@ function ki(e, t) {
|
|
|
1488
1488
|
else if (t.parentLocale != null)
|
|
1489
1489
|
if (Q[t.parentLocale] != null)
|
|
1490
1490
|
i = Q[t.parentLocale]._config;
|
|
1491
|
-
else if (r =
|
|
1491
|
+
else if (r = Nr(t.parentLocale), r != null)
|
|
1492
1492
|
i = r._config;
|
|
1493
1493
|
else
|
|
1494
1494
|
return Rt[t.parentLocale] || (Rt[t.parentLocale] = []), Rt[t.parentLocale].push({
|
|
@@ -1504,7 +1504,7 @@ function ki(e, t) {
|
|
|
1504
1504
|
function xl(e, t) {
|
|
1505
1505
|
if (t != null) {
|
|
1506
1506
|
var r, i, n = fs;
|
|
1507
|
-
Q[e] != null && Q[e].parentLocale != null ? Q[e].set(ei(Q[e]._config, t)) : (i =
|
|
1507
|
+
Q[e] != null && Q[e].parentLocale != null ? Q[e].set(ei(Q[e]._config, t)) : (i = Nr(e), i != null && (n = i._config), t = ei(n, t), i == null && (t.abbr = e), r = new bi(t), r.parentLocale = Q[e], Q[e] = r), nt(e);
|
|
1508
1508
|
} else
|
|
1509
1509
|
Q[e] != null && (Q[e].parentLocale != null ? (Q[e] = Q[e].parentLocale, e === nt() && nt(e)) : Q[e] != null && delete Q[e]);
|
|
1510
1510
|
return Q[e];
|
|
@@ -1514,7 +1514,7 @@ function Je(e) {
|
|
|
1514
1514
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1515
1515
|
return Zt;
|
|
1516
1516
|
if (!Ce(e)) {
|
|
1517
|
-
if (t =
|
|
1517
|
+
if (t = Nr(e), t)
|
|
1518
1518
|
return t;
|
|
1519
1519
|
e = [e];
|
|
1520
1520
|
}
|
|
@@ -1523,11 +1523,11 @@ function Je(e) {
|
|
|
1523
1523
|
function Dl() {
|
|
1524
1524
|
return ti(Q);
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function Ni(e) {
|
|
1527
1527
|
var t, r = e._a;
|
|
1528
|
-
return r && x(e).overflow === -2 && (t = r[Ve] < 0 || r[Ve] > 11 ? Ve : r[Re] < 1 || r[Re] > Ti(r[ye], r[Ve]) ? Re : r[fe] < 0 || r[fe] > 24 || r[fe] === 24 && (r[Be] !== 0 || r[ze] !== 0 || r[at] !== 0) ? fe : r[Be] < 0 || r[Be] > 59 ? Be : r[ze] < 0 || r[ze] > 59 ? ze : r[at] < 0 || r[at] > 999 ? at : -1, x(e)._overflowDayOfYear && (t < ye || t > Re) && (t = Re), x(e)._overflowWeeks && t === -1 && (t =
|
|
1528
|
+
return r && x(e).overflow === -2 && (t = r[Ve] < 0 || r[Ve] > 11 ? Ve : r[Re] < 1 || r[Re] > Ti(r[ye], r[Ve]) ? Re : r[fe] < 0 || r[fe] > 24 || r[fe] === 24 && (r[Be] !== 0 || r[ze] !== 0 || r[at] !== 0) ? fe : r[Be] < 0 || r[Be] > 59 ? Be : r[ze] < 0 || r[ze] > 59 ? ze : r[at] < 0 || r[at] > 999 ? at : -1, x(e)._overflowDayOfYear && (t < ye || t > Re) && (t = Re), x(e)._overflowWeeks && t === -1 && (t = Po), x(e)._overflowWeekday && t === -1 && (t = Bo), x(e).overflow = t), e;
|
|
1529
1529
|
}
|
|
1530
|
-
var Ol = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, kl = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
|
|
1530
|
+
var Ol = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, kl = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Nl = /Z|[+-]\d\d(?::?\d\d)?/, or = [
|
|
1531
1531
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1532
1532
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1533
1533
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1551,7 +1551,7 @@ var Ol = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1551
1551
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1552
1552
|
["HHmm", /\d\d\d\d/],
|
|
1553
1553
|
["HH", /\d\d/]
|
|
1554
|
-
],
|
|
1554
|
+
], Pl = /^\/?Date\((-?\d+)/i, Bl = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, Cl = {
|
|
1555
1555
|
UT: 0,
|
|
1556
1556
|
GMT: 0,
|
|
1557
1557
|
EDT: -4 * 60,
|
|
@@ -1591,7 +1591,7 @@ function ds(e) {
|
|
|
1591
1591
|
return;
|
|
1592
1592
|
}
|
|
1593
1593
|
if (n[4])
|
|
1594
|
-
if (
|
|
1594
|
+
if (Nl.exec(n[4]))
|
|
1595
1595
|
o = "Z";
|
|
1596
1596
|
else {
|
|
1597
1597
|
e._isValid = !1;
|
|
@@ -1655,7 +1655,7 @@ function ms(e) {
|
|
|
1655
1655
|
e._isValid = !1;
|
|
1656
1656
|
}
|
|
1657
1657
|
function Rl(e) {
|
|
1658
|
-
var t =
|
|
1658
|
+
var t = Pl.exec(e._i);
|
|
1659
1659
|
if (t !== null) {
|
|
1660
1660
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1661
1661
|
return;
|
|
@@ -1670,7 +1670,7 @@ function Rl(e) {
|
|
|
1670
1670
|
return;
|
|
1671
1671
|
e._strict ? e._isValid = !1 : y.createFromInputFallback(e);
|
|
1672
1672
|
}
|
|
1673
|
-
y.createFromInputFallback =
|
|
1673
|
+
y.createFromInputFallback = Ne(
|
|
1674
1674
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1675
1675
|
function(e) {
|
|
1676
1676
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
@@ -1687,7 +1687,7 @@ function Ul(e) {
|
|
|
1687
1687
|
t.getUTCDate()
|
|
1688
1688
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1690
|
+
function Pi(e) {
|
|
1691
1691
|
var t, r, i = [], n, s, a;
|
|
1692
1692
|
if (!e._d) {
|
|
1693
1693
|
for (n = Ul(e), e._w && e._a[Re] == null && e._a[Ve] == null && Yl(e), e._dayOfYear != null && (a = gt(e._a[ye], n[ye]), (e._dayOfYear > Wt(a) || e._dayOfYear === 0) && (x(e)._overflowDayOfYear = !0), r = Vt(a, 0, e._dayOfYear), e._a[Ve] = r.getUTCMonth(), e._a[Re] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
@@ -1726,12 +1726,12 @@ function Bi(e) {
|
|
|
1726
1726
|
for (n = qn(e._f, e._locale).match(vi) || [], c = n.length, r = 0; r < c; r++)
|
|
1727
1727
|
s = n[r], i = (t.match(Oo(s, e)) || [])[0], i && (a = t.substr(0, t.indexOf(i)), a.length > 0 && x(e).unusedInput.push(a), t = t.slice(
|
|
1728
1728
|
t.indexOf(i) + i.length
|
|
1729
|
-
), o += i.length), yt[s] ? (i ? x(e).empty = !1 : x(e).unusedTokens.push(s),
|
|
1729
|
+
), o += i.length), yt[s] ? (i ? x(e).empty = !1 : x(e).unusedTokens.push(s), No(s, i, e)) : e._strict && !i && x(e).unusedTokens.push(s);
|
|
1730
1730
|
x(e).charsLeftOver = l - o, t.length > 0 && x(e).unusedInput.push(t), e._a[fe] <= 12 && x(e).bigHour === !0 && e._a[fe] > 0 && (x(e).bigHour = void 0), x(e).parsedDateParts = e._a.slice(0), x(e).meridiem = e._meridiem, e._a[fe] = Gl(
|
|
1731
1731
|
e._locale,
|
|
1732
1732
|
e._a[fe],
|
|
1733
1733
|
e._meridiem
|
|
1734
|
-
), u = x(e).era, u !== null && (e._a[ye] = e._locale.erasConvertYear(u, e._a[ye])),
|
|
1734
|
+
), u = x(e).era, u !== null && (e._a[ye] = e._locale.erasConvertYear(u, e._a[ye])), Pi(e), Ni(e);
|
|
1735
1735
|
}
|
|
1736
1736
|
function Gl(e, t, r) {
|
|
1737
1737
|
var i;
|
|
@@ -1755,22 +1755,22 @@ function jl(e) {
|
|
|
1755
1755
|
function(i) {
|
|
1756
1756
|
return i && parseInt(i, 10);
|
|
1757
1757
|
}
|
|
1758
|
-
),
|
|
1758
|
+
), Pi(e);
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
1761
|
function $l(e) {
|
|
1762
|
-
var t = new Qt(
|
|
1762
|
+
var t = new Qt(Ni(gs(e)));
|
|
1763
1763
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1764
1764
|
}
|
|
1765
1765
|
function gs(e) {
|
|
1766
1766
|
var t = e._i, r = e._f;
|
|
1767
|
-
return e._locale = e._locale || Je(e._l), t === null || r === void 0 && t === "" ? Mr({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), Ie(t) ? new Qt(
|
|
1767
|
+
return e._locale = e._locale || Je(e._l), t === null || r === void 0 && t === "" ? Mr({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), Ie(t) ? new Qt(Ni(t)) : (Jt(t) ? e._d = t : Ce(r) ? Wl(e) : r ? Bi(e) : Vl(e), _i(e) || (e._d = null), e));
|
|
1768
1768
|
}
|
|
1769
1769
|
function Vl(e) {
|
|
1770
1770
|
var t = e._i;
|
|
1771
1771
|
we(t) ? e._d = new Date(y.now()) : Jt(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Rl(e) : Ce(t) ? (e._a = zn(t.slice(0), function(r) {
|
|
1772
1772
|
return parseInt(r, 10);
|
|
1773
|
-
}),
|
|
1773
|
+
}), Pi(e)) : ot(t) ? jl(e) : qe(t) ? e._d = new Date(t) : y.createFromInputFallback(e);
|
|
1774
1774
|
}
|
|
1775
1775
|
function ps(e, t, r, i, n) {
|
|
1776
1776
|
var s = {};
|
|
@@ -1779,13 +1779,13 @@ function ps(e, t, r, i, n) {
|
|
|
1779
1779
|
function X(e, t, r, i) {
|
|
1780
1780
|
return ps(e, t, r, i, !1);
|
|
1781
1781
|
}
|
|
1782
|
-
var zl =
|
|
1782
|
+
var zl = Ne(
|
|
1783
1783
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1784
1784
|
function() {
|
|
1785
1785
|
var e = X.apply(null, arguments);
|
|
1786
1786
|
return this.isValid() && e.isValid() ? e < this ? this : e : Mr();
|
|
1787
1787
|
}
|
|
1788
|
-
), Zl =
|
|
1788
|
+
), Zl = Ne(
|
|
1789
1789
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1790
1790
|
function() {
|
|
1791
1791
|
var e = X.apply(null, arguments);
|
|
@@ -1840,14 +1840,14 @@ function Kl() {
|
|
|
1840
1840
|
function eu() {
|
|
1841
1841
|
return He(NaN);
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function Pr(e) {
|
|
1844
1844
|
var t = wi(e), r = t.year || 0, i = t.quarter || 0, n = t.month || 0, s = t.week || t.isoWeek || 0, a = t.day || 0, l = t.hour || 0, o = t.minute || 0, u = t.second || 0, c = t.millisecond || 0;
|
|
1845
1845
|
this._isValid = Ql(t), this._milliseconds = +c + u * 1e3 + // 1000
|
|
1846
1846
|
o * 6e4 + // 1000 * 60
|
|
1847
1847
|
l * 1e3 * 60 * 60, this._days = +a + s * 7, this._months = +n + i * 3 + r * 12, this._data = {}, this._locale = Je(), this._bubble();
|
|
1848
1848
|
}
|
|
1849
1849
|
function cr(e) {
|
|
1850
|
-
return e instanceof
|
|
1850
|
+
return e instanceof Pr;
|
|
1851
1851
|
}
|
|
1852
1852
|
function ii(e) {
|
|
1853
1853
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
@@ -1968,9 +1968,9 @@ function He(e, t) {
|
|
|
1968
1968
|
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (a = gu(
|
|
1969
1969
|
X(r.from),
|
|
1970
1970
|
X(r.to)
|
|
1971
|
-
), r = {}, r.ms = a.milliseconds, r.M = a.months), s = new
|
|
1971
|
+
), r = {}, r.ms = a.milliseconds, r.M = a.months), s = new Pr(r), cr(e) && L(e, "_locale") && (s._locale = e._locale), cr(e) && L(e, "_isValid") && (s._isValid = e._isValid), s;
|
|
1972
1972
|
}
|
|
1973
|
-
He.fn =
|
|
1973
|
+
He.fn = Pr.prototype;
|
|
1974
1974
|
He.invalid = eu;
|
|
1975
1975
|
function st(e, t) {
|
|
1976
1976
|
var r = e && parseFloat(e.replace(",", "."));
|
|
@@ -2070,11 +2070,11 @@ function Eu() {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
function Tu(e, t) {
|
|
2072
2072
|
var r = Ie(e) ? e : X(e);
|
|
2073
|
-
return this.isValid() && r.isValid() ? (t =
|
|
2073
|
+
return this.isValid() && r.isValid() ? (t = Pe(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
2074
2074
|
}
|
|
2075
2075
|
function xu(e, t) {
|
|
2076
2076
|
var r = Ie(e) ? e : X(e);
|
|
2077
|
-
return this.isValid() && r.isValid() ? (t =
|
|
2077
|
+
return this.isValid() && r.isValid() ? (t = Pe(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
2078
2078
|
}
|
|
2079
2079
|
function Du(e, t, r, i) {
|
|
2080
2080
|
var n = Ie(e) ? e : X(e), s = Ie(t) ? t : X(t);
|
|
@@ -2082,21 +2082,21 @@ function Du(e, t, r, i) {
|
|
|
2082
2082
|
}
|
|
2083
2083
|
function Ou(e, t) {
|
|
2084
2084
|
var r = Ie(e) ? e : X(e), i;
|
|
2085
|
-
return this.isValid() && r.isValid() ? (t =
|
|
2085
|
+
return this.isValid() && r.isValid() ? (t = Pe(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (i = r.valueOf(), this.clone().startOf(t).valueOf() <= i && i <= this.clone().endOf(t).valueOf())) : !1;
|
|
2086
2086
|
}
|
|
2087
2087
|
function ku(e, t) {
|
|
2088
2088
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2090
|
+
function Nu(e, t) {
|
|
2091
2091
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
2092
2092
|
}
|
|
2093
|
-
function
|
|
2093
|
+
function Pu(e, t, r) {
|
|
2094
2094
|
var i, n, s;
|
|
2095
2095
|
if (!this.isValid())
|
|
2096
2096
|
return NaN;
|
|
2097
2097
|
if (i = Ii(e, this), !i.isValid())
|
|
2098
2098
|
return NaN;
|
|
2099
|
-
switch (n = (i.utcOffset() - this.utcOffset()) * 6e4, t =
|
|
2099
|
+
switch (n = (i.utcOffset() - this.utcOffset()) * 6e4, t = Pe(t), t) {
|
|
2100
2100
|
case "year":
|
|
2101
2101
|
s = fr(this, i) / 12;
|
|
2102
2102
|
break;
|
|
@@ -2176,7 +2176,7 @@ function Ms(e) {
|
|
|
2176
2176
|
var t;
|
|
2177
2177
|
return e === void 0 ? this._locale._abbr : (t = Je(e), t != null && (this._locale = t), this);
|
|
2178
2178
|
}
|
|
2179
|
-
var Es =
|
|
2179
|
+
var Es = Ne(
|
|
2180
2180
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
2181
2181
|
function(e) {
|
|
2182
2182
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
@@ -2197,7 +2197,7 @@ function Os(e, t, r) {
|
|
|
2197
2197
|
}
|
|
2198
2198
|
function Uu(e) {
|
|
2199
2199
|
var t, r;
|
|
2200
|
-
if (e =
|
|
2200
|
+
if (e = Pe(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2201
2201
|
return this;
|
|
2202
2202
|
switch (r = this._isUTC ? Os : Ds, e) {
|
|
2203
2203
|
case "year":
|
|
@@ -2248,7 +2248,7 @@ function Uu(e) {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
function Yu(e) {
|
|
2250
2250
|
var t, r;
|
|
2251
|
-
if (e =
|
|
2251
|
+
if (e = Pe(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2252
2252
|
return this;
|
|
2253
2253
|
switch (r = this._isUTC ? Os : Ds, e) {
|
|
2254
2254
|
case "year":
|
|
@@ -2576,7 +2576,7 @@ G(["D", "DD"], Re);
|
|
|
2576
2576
|
G("Do", function(e, t) {
|
|
2577
2577
|
t[Re] = O(e.match(q)[0]);
|
|
2578
2578
|
});
|
|
2579
|
-
var
|
|
2579
|
+
var Ns = Dt("Date", !0);
|
|
2580
2580
|
E("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2581
2581
|
b("DDD", Tr);
|
|
2582
2582
|
b("DDDD", Qn);
|
|
@@ -2627,7 +2627,7 @@ E(0, ["SSSSSSSSS", 9], 0, function() {
|
|
|
2627
2627
|
b("S", Tr, Jn);
|
|
2628
2628
|
b("SS", Tr, Te);
|
|
2629
2629
|
b("SSS", Tr, Qn);
|
|
2630
|
-
var tt,
|
|
2630
|
+
var tt, Ps;
|
|
2631
2631
|
for (tt = "SSSS"; tt.length <= 9; tt += "S")
|
|
2632
2632
|
b(tt, Tt);
|
|
2633
2633
|
function Sh(e, t) {
|
|
@@ -2635,7 +2635,7 @@ function Sh(e, t) {
|
|
|
2635
2635
|
}
|
|
2636
2636
|
for (tt = "S"; tt.length <= 9; tt += "S")
|
|
2637
2637
|
G(tt, Sh);
|
|
2638
|
-
|
|
2638
|
+
Ps = Dt("Milliseconds", !1);
|
|
2639
2639
|
E("z", 0, 0, "zoneAbbr");
|
|
2640
2640
|
E("zz", 0, 0, "zoneName");
|
|
2641
2641
|
function Mh() {
|
|
@@ -2648,7 +2648,7 @@ var p = Qt.prototype;
|
|
|
2648
2648
|
p.add = pu;
|
|
2649
2649
|
p.calendar = Mu;
|
|
2650
2650
|
p.clone = Eu;
|
|
2651
|
-
p.diff =
|
|
2651
|
+
p.diff = Pu;
|
|
2652
2652
|
p.endOf = Yu;
|
|
2653
2653
|
p.format = Hu;
|
|
2654
2654
|
p.from = Lu;
|
|
@@ -2662,7 +2662,7 @@ p.isBefore = xu;
|
|
|
2662
2662
|
p.isBetween = Du;
|
|
2663
2663
|
p.isSame = Ou;
|
|
2664
2664
|
p.isSameOrAfter = ku;
|
|
2665
|
-
p.isSameOrBefore =
|
|
2665
|
+
p.isSameOrBefore = Nu;
|
|
2666
2666
|
p.isValid = Zu;
|
|
2667
2667
|
p.lang = Es;
|
|
2668
2668
|
p.locale = Ms;
|
|
@@ -2703,7 +2703,7 @@ p.weeksInYear = gh;
|
|
|
2703
2703
|
p.weeksInWeekYear = ph;
|
|
2704
2704
|
p.isoWeeksInYear = dh;
|
|
2705
2705
|
p.isoWeeksInISOWeekYear = mh;
|
|
2706
|
-
p.date =
|
|
2706
|
+
p.date = Ns;
|
|
2707
2707
|
p.day = p.days = fl;
|
|
2708
2708
|
p.weekday = dl;
|
|
2709
2709
|
p.isoWeekday = ml;
|
|
@@ -2711,7 +2711,7 @@ p.dayOfYear = bh;
|
|
|
2711
2711
|
p.hour = p.hours = wl;
|
|
2712
2712
|
p.minute = p.minutes = vh;
|
|
2713
2713
|
p.second = p.seconds = wh;
|
|
2714
|
-
p.millisecond = p.milliseconds =
|
|
2714
|
+
p.millisecond = p.milliseconds = Ps;
|
|
2715
2715
|
p.utcOffset = iu;
|
|
2716
2716
|
p.utc = su;
|
|
2717
2717
|
p.local = au;
|
|
@@ -2724,23 +2724,23 @@ p.isUtc = bs;
|
|
|
2724
2724
|
p.isUTC = bs;
|
|
2725
2725
|
p.zoneAbbr = Mh;
|
|
2726
2726
|
p.zoneName = Eh;
|
|
2727
|
-
p.dates =
|
|
2727
|
+
p.dates = Ne(
|
|
2728
2728
|
"dates accessor is deprecated. Use date instead.",
|
|
2729
|
-
|
|
2729
|
+
Ns
|
|
2730
2730
|
);
|
|
2731
|
-
p.months =
|
|
2731
|
+
p.months = Ne(
|
|
2732
2732
|
"months accessor is deprecated. Use month instead",
|
|
2733
2733
|
as
|
|
2734
2734
|
);
|
|
2735
|
-
p.years =
|
|
2735
|
+
p.years = Ne(
|
|
2736
2736
|
"years accessor is deprecated. Use year instead",
|
|
2737
2737
|
ts
|
|
2738
2738
|
);
|
|
2739
|
-
p.zone =
|
|
2739
|
+
p.zone = Ne(
|
|
2740
2740
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2741
2741
|
nu
|
|
2742
2742
|
);
|
|
2743
|
-
p.isDSTShifted =
|
|
2743
|
+
p.isDSTShifted = Ne(
|
|
2744
2744
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2745
2745
|
hu
|
|
2746
2746
|
);
|
|
@@ -2816,10 +2816,10 @@ function Oh(e, t) {
|
|
|
2816
2816
|
function kh(e, t, r) {
|
|
2817
2817
|
return Ai(e, t, r, "weekdays");
|
|
2818
2818
|
}
|
|
2819
|
-
function
|
|
2819
|
+
function Nh(e, t, r) {
|
|
2820
2820
|
return Ai(e, t, r, "weekdaysShort");
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2822
|
+
function Ph(e, t, r) {
|
|
2823
2823
|
return Ai(e, t, r, "weekdaysMin");
|
|
2824
2824
|
}
|
|
2825
2825
|
nt("en", {
|
|
@@ -2847,11 +2847,11 @@ nt("en", {
|
|
|
2847
2847
|
return e + r;
|
|
2848
2848
|
}
|
|
2849
2849
|
});
|
|
2850
|
-
y.lang =
|
|
2850
|
+
y.lang = Ne(
|
|
2851
2851
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2852
2852
|
nt
|
|
2853
2853
|
);
|
|
2854
|
-
y.langData =
|
|
2854
|
+
y.langData = Ne(
|
|
2855
2855
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2856
2856
|
Je
|
|
2857
2857
|
);
|
|
@@ -2887,7 +2887,7 @@ function Lh(e) {
|
|
|
2887
2887
|
if (!this.isValid())
|
|
2888
2888
|
return NaN;
|
|
2889
2889
|
var t, r, i = this._milliseconds;
|
|
2890
|
-
if (e =
|
|
2890
|
+
if (e = Pe(e), e === "month" || e === "quarter" || e === "year")
|
|
2891
2891
|
switch (t = this._days + i / 864e5, r = this._months + Hs(t), e) {
|
|
2892
2892
|
case "month":
|
|
2893
2893
|
return r;
|
|
@@ -2924,7 +2924,7 @@ function Vh() {
|
|
|
2924
2924
|
return He(this);
|
|
2925
2925
|
}
|
|
2926
2926
|
function zh(e) {
|
|
2927
|
-
return e =
|
|
2927
|
+
return e = Pe(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2928
2928
|
}
|
|
2929
2929
|
function lt(e) {
|
|
2930
2930
|
return function() {
|
|
@@ -2980,7 +2980,7 @@ function Cr() {
|
|
|
2980
2980
|
var e = jr(this._milliseconds) / 1e3, t = jr(this._days), r = jr(this._months), i, n, s, a, l = this.asSeconds(), o, u, c, d;
|
|
2981
2981
|
return l ? (i = Oe(e / 60), n = Oe(i / 60), e %= 60, i %= 60, s = Oe(r / 12), r %= 12, a = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", o = l < 0 ? "-" : "", u = ft(this._months) !== ft(l) ? "-" : "", c = ft(this._days) !== ft(l) ? "-" : "", d = ft(this._milliseconds) !== ft(l) ? "-" : "", o + "P" + (s ? u + s + "Y" : "") + (r ? u + r + "M" : "") + (t ? c + t + "D" : "") + (n || i || e ? "T" : "") + (n ? d + n + "H" : "") + (i ? d + i + "M" : "") + (e ? d + a + "S" : "")) : "P0D";
|
|
2982
2982
|
}
|
|
2983
|
-
var C =
|
|
2983
|
+
var C = Pr.prototype;
|
|
2984
2984
|
C.isValid = Kl;
|
|
2985
2985
|
C.abs = Bh;
|
|
2986
2986
|
C.add = Ch;
|
|
@@ -3013,7 +3013,7 @@ C.toString = Cr;
|
|
|
3013
3013
|
C.toJSON = Cr;
|
|
3014
3014
|
C.locale = Ms;
|
|
3015
3015
|
C.localeData = Ts;
|
|
3016
|
-
C.toIsoString =
|
|
3016
|
+
C.toIsoString = Ne(
|
|
3017
3017
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
3018
3018
|
Cr
|
|
3019
3019
|
);
|
|
@@ -3048,12 +3048,12 @@ y.parseZone = xh;
|
|
|
3048
3048
|
y.localeData = Je;
|
|
3049
3049
|
y.isDuration = cr;
|
|
3050
3050
|
y.monthsShort = Oh;
|
|
3051
|
-
y.weekdaysMin =
|
|
3051
|
+
y.weekdaysMin = Ph;
|
|
3052
3052
|
y.defineLocale = ki;
|
|
3053
3053
|
y.updateLocale = xl;
|
|
3054
3054
|
y.locales = Dl;
|
|
3055
|
-
y.weekdaysShort =
|
|
3056
|
-
y.normalizeUnits =
|
|
3055
|
+
y.weekdaysShort = Nh;
|
|
3056
|
+
y.normalizeUnits = Pe;
|
|
3057
3057
|
y.relativeTimeRounding = nc;
|
|
3058
3058
|
y.relativeTimeThreshold = sc;
|
|
3059
3059
|
y.calendarFormat = Su;
|
|
@@ -3128,8 +3128,8 @@ function Ot(e, t, r) {
|
|
|
3128
3128
|
}, h = n.map(
|
|
3129
3129
|
(f, _) => Wn(
|
|
3130
3130
|
f,
|
|
3131
|
-
(
|
|
3132
|
-
u[_] =
|
|
3131
|
+
(P) => {
|
|
3132
|
+
u[_] = P, c &= ~(1 << _), o && g();
|
|
3133
3133
|
},
|
|
3134
3134
|
() => {
|
|
3135
3135
|
c |= 1 << _;
|
|
@@ -3250,10 +3250,60 @@ function $r(e, t, r) {
|
|
|
3250
3250
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
3251
3251
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
3252
3252
|
}
|
|
3253
|
-
|
|
3253
|
+
function Vr(e, t) {
|
|
3254
|
+
var r = t && t.cache ? t.cache : kc, i = t && t.serializer ? t.serializer : Oc, n = t && t.strategy ? t.strategy : Tc;
|
|
3255
|
+
return n(e, {
|
|
3256
|
+
cache: r,
|
|
3257
|
+
serializer: i
|
|
3258
|
+
});
|
|
3259
|
+
}
|
|
3260
|
+
function Ec(e) {
|
|
3261
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3262
|
+
}
|
|
3263
|
+
function Fs(e, t, r, i) {
|
|
3264
|
+
var n = Ec(i) ? i : r(i), s = t.get(n);
|
|
3265
|
+
return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
|
|
3266
|
+
}
|
|
3267
|
+
function Rs(e, t, r) {
|
|
3268
|
+
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
3269
|
+
return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
3270
|
+
}
|
|
3271
|
+
function Fi(e, t, r, i, n) {
|
|
3272
|
+
return r.bind(t, e, i, n);
|
|
3273
|
+
}
|
|
3274
|
+
function Tc(e, t) {
|
|
3275
|
+
var r = e.length === 1 ? Fs : Rs;
|
|
3276
|
+
return Fi(e, this, r, t.cache.create(), t.serializer);
|
|
3277
|
+
}
|
|
3278
|
+
function xc(e, t) {
|
|
3279
|
+
return Fi(e, this, Rs, t.cache.create(), t.serializer);
|
|
3280
|
+
}
|
|
3281
|
+
function Dc(e, t) {
|
|
3282
|
+
return Fi(e, this, Fs, t.cache.create(), t.serializer);
|
|
3283
|
+
}
|
|
3284
|
+
var Oc = function() {
|
|
3285
|
+
return JSON.stringify(arguments);
|
|
3286
|
+
};
|
|
3287
|
+
function Ri() {
|
|
3288
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3289
|
+
}
|
|
3290
|
+
Ri.prototype.get = function(e) {
|
|
3291
|
+
return this.cache[e];
|
|
3292
|
+
};
|
|
3293
|
+
Ri.prototype.set = function(e, t) {
|
|
3294
|
+
this.cache[e] = t;
|
|
3295
|
+
};
|
|
3296
|
+
var kc = {
|
|
3297
|
+
create: function() {
|
|
3298
|
+
return new Ri();
|
|
3299
|
+
}
|
|
3300
|
+
}, zr = {
|
|
3301
|
+
variadic: xc,
|
|
3302
|
+
monadic: Dc
|
|
3303
|
+
}, N;
|
|
3254
3304
|
(function(e) {
|
|
3255
3305
|
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";
|
|
3256
|
-
})(
|
|
3306
|
+
})(N || (N = {}));
|
|
3257
3307
|
var K;
|
|
3258
3308
|
(function(e) {
|
|
3259
3309
|
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";
|
|
@@ -3265,40 +3315,40 @@ var St;
|
|
|
3265
3315
|
function an(e) {
|
|
3266
3316
|
return e.type === K.literal;
|
|
3267
3317
|
}
|
|
3268
|
-
function
|
|
3318
|
+
function Nc(e) {
|
|
3269
3319
|
return e.type === K.argument;
|
|
3270
3320
|
}
|
|
3271
|
-
function
|
|
3321
|
+
function Us(e) {
|
|
3272
3322
|
return e.type === K.number;
|
|
3273
3323
|
}
|
|
3274
|
-
function
|
|
3324
|
+
function Ys(e) {
|
|
3275
3325
|
return e.type === K.date;
|
|
3276
3326
|
}
|
|
3277
|
-
function
|
|
3327
|
+
function Gs(e) {
|
|
3278
3328
|
return e.type === K.time;
|
|
3279
3329
|
}
|
|
3280
|
-
function
|
|
3330
|
+
function Ws(e) {
|
|
3281
3331
|
return e.type === K.select;
|
|
3282
3332
|
}
|
|
3283
|
-
function
|
|
3333
|
+
function js(e) {
|
|
3284
3334
|
return e.type === K.plural;
|
|
3285
3335
|
}
|
|
3286
|
-
function
|
|
3336
|
+
function Pc(e) {
|
|
3287
3337
|
return e.type === K.pound;
|
|
3288
3338
|
}
|
|
3289
|
-
function
|
|
3339
|
+
function $s(e) {
|
|
3290
3340
|
return e.type === K.tag;
|
|
3291
3341
|
}
|
|
3292
|
-
function
|
|
3342
|
+
function Vs(e) {
|
|
3293
3343
|
return !!(e && typeof e == "object" && e.type === St.number);
|
|
3294
3344
|
}
|
|
3295
3345
|
function oi(e) {
|
|
3296
3346
|
return !!(e && typeof e == "object" && e.type === St.dateTime);
|
|
3297
3347
|
}
|
|
3298
|
-
var
|
|
3299
|
-
function
|
|
3348
|
+
var zs = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bc = /(?:[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;
|
|
3349
|
+
function Cc(e) {
|
|
3300
3350
|
var t = {};
|
|
3301
|
-
return e.replace(
|
|
3351
|
+
return e.replace(Bc, function(r) {
|
|
3302
3352
|
var i = r.length;
|
|
3303
3353
|
switch (r[0]) {
|
|
3304
3354
|
case "G":
|
|
@@ -3387,11 +3437,11 @@ function Dc(e) {
|
|
|
3387
3437
|
return "";
|
|
3388
3438
|
}), t;
|
|
3389
3439
|
}
|
|
3390
|
-
var
|
|
3391
|
-
function
|
|
3440
|
+
var Ic = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
3441
|
+
function Hc(e) {
|
|
3392
3442
|
if (e.length === 0)
|
|
3393
3443
|
throw new Error("Number skeleton cannot be empty");
|
|
3394
|
-
for (var t = e.split(
|
|
3444
|
+
for (var t = e.split(Ic).filter(function(g) {
|
|
3395
3445
|
return g.length > 0;
|
|
3396
3446
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
3397
3447
|
var s = n[i], a = s.split("/");
|
|
@@ -3406,17 +3456,17 @@ function kc(e) {
|
|
|
3406
3456
|
}
|
|
3407
3457
|
return r;
|
|
3408
3458
|
}
|
|
3409
|
-
function
|
|
3459
|
+
function Lc(e) {
|
|
3410
3460
|
return e.replace(/^(.*?)-/, "");
|
|
3411
3461
|
}
|
|
3412
|
-
var on = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
3462
|
+
var on = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zs = /^(@+)?(\+|#+)?[rs]?$/g, Ac = /(\*)(0+)|(#+)(0+)|(0+)/g, Xs = /^(0+)$/;
|
|
3413
3463
|
function ln(e) {
|
|
3414
3464
|
var t = {};
|
|
3415
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
3465
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zs, function(r, i, n) {
|
|
3416
3466
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
3417
3467
|
}), t;
|
|
3418
3468
|
}
|
|
3419
|
-
function
|
|
3469
|
+
function qs(e) {
|
|
3420
3470
|
switch (e) {
|
|
3421
3471
|
case "sign-auto":
|
|
3422
3472
|
return {
|
|
@@ -3456,7 +3506,7 @@ function Zs(e) {
|
|
|
3456
3506
|
};
|
|
3457
3507
|
}
|
|
3458
3508
|
}
|
|
3459
|
-
function
|
|
3509
|
+
function Fc(e) {
|
|
3460
3510
|
var t;
|
|
3461
3511
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
3462
3512
|
notation: "engineering"
|
|
@@ -3464,17 +3514,17 @@ function Bc(e) {
|
|
|
3464
3514
|
notation: "scientific"
|
|
3465
3515
|
}, e = e.slice(1)), t) {
|
|
3466
3516
|
var r = e.slice(0, 2);
|
|
3467
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
3517
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xs.test(e))
|
|
3468
3518
|
throw new Error("Malformed concise eng/scientific notation");
|
|
3469
3519
|
t.minimumIntegerDigits = e.length;
|
|
3470
3520
|
}
|
|
3471
3521
|
return t;
|
|
3472
3522
|
}
|
|
3473
3523
|
function un(e) {
|
|
3474
|
-
var t = {}, r =
|
|
3524
|
+
var t = {}, r = qs(e);
|
|
3475
3525
|
return r || t;
|
|
3476
3526
|
}
|
|
3477
|
-
function
|
|
3527
|
+
function Rc(e) {
|
|
3478
3528
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
3479
3529
|
var n = i[r];
|
|
3480
3530
|
switch (n.stem) {
|
|
@@ -3498,7 +3548,7 @@ function Cc(e) {
|
|
|
3498
3548
|
continue;
|
|
3499
3549
|
case "measure-unit":
|
|
3500
3550
|
case "unit":
|
|
3501
|
-
t.style = "unit", t.unit =
|
|
3551
|
+
t.style = "unit", t.unit = Lc(n.options[0]);
|
|
3502
3552
|
continue;
|
|
3503
3553
|
case "compact-short":
|
|
3504
3554
|
case "K":
|
|
@@ -3560,7 +3610,7 @@ function Cc(e) {
|
|
|
3560
3610
|
case "integer-width":
|
|
3561
3611
|
if (n.options.length > 1)
|
|
3562
3612
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
3563
|
-
n.options[0].replace(
|
|
3613
|
+
n.options[0].replace(Ac, function(o, u, c, d, g, h) {
|
|
3564
3614
|
if (u)
|
|
3565
3615
|
t.minimumIntegerDigits = c.length;
|
|
3566
3616
|
else {
|
|
@@ -3573,7 +3623,7 @@ function Cc(e) {
|
|
|
3573
3623
|
});
|
|
3574
3624
|
continue;
|
|
3575
3625
|
}
|
|
3576
|
-
if (
|
|
3626
|
+
if (Xs.test(n.stem)) {
|
|
3577
3627
|
t.minimumIntegerDigits = n.stem.length;
|
|
3578
3628
|
continue;
|
|
3579
3629
|
}
|
|
@@ -3587,13 +3637,13 @@ function Cc(e) {
|
|
|
3587
3637
|
s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), ln(s)));
|
|
3588
3638
|
continue;
|
|
3589
3639
|
}
|
|
3590
|
-
if (
|
|
3640
|
+
if (Zs.test(n.stem)) {
|
|
3591
3641
|
t = H(H({}, t), ln(n.stem));
|
|
3592
3642
|
continue;
|
|
3593
3643
|
}
|
|
3594
|
-
var a =
|
|
3644
|
+
var a = qs(n.stem);
|
|
3595
3645
|
a && (t = H(H({}, t), a));
|
|
3596
|
-
var l =
|
|
3646
|
+
var l = Fc(n.stem);
|
|
3597
3647
|
l && (t = H(H({}, t), l));
|
|
3598
3648
|
}
|
|
3599
3649
|
return t;
|
|
@@ -3603,6 +3653,12 @@ var lr = {
|
|
|
3603
3653
|
"H",
|
|
3604
3654
|
"h"
|
|
3605
3655
|
],
|
|
3656
|
+
419: [
|
|
3657
|
+
"h",
|
|
3658
|
+
"H",
|
|
3659
|
+
"hB",
|
|
3660
|
+
"hb"
|
|
3661
|
+
],
|
|
3606
3662
|
AC: [
|
|
3607
3663
|
"H",
|
|
3608
3664
|
"h",
|
|
@@ -3651,8 +3707,8 @@ var lr = {
|
|
|
3651
3707
|
"hB"
|
|
3652
3708
|
],
|
|
3653
3709
|
AR: [
|
|
3654
|
-
"H",
|
|
3655
3710
|
"h",
|
|
3711
|
+
"H",
|
|
3656
3712
|
"hB",
|
|
3657
3713
|
"hb"
|
|
3658
3714
|
],
|
|
@@ -3742,9 +3798,9 @@ var lr = {
|
|
|
3742
3798
|
"H"
|
|
3743
3799
|
],
|
|
3744
3800
|
BO: [
|
|
3801
|
+
"h",
|
|
3745
3802
|
"H",
|
|
3746
3803
|
"hB",
|
|
3747
|
-
"h",
|
|
3748
3804
|
"hb"
|
|
3749
3805
|
],
|
|
3750
3806
|
BQ: [
|
|
@@ -3821,8 +3877,8 @@ var lr = {
|
|
|
3821
3877
|
"hB"
|
|
3822
3878
|
],
|
|
3823
3879
|
CL: [
|
|
3824
|
-
"H",
|
|
3825
3880
|
"h",
|
|
3881
|
+
"H",
|
|
3826
3882
|
"hB",
|
|
3827
3883
|
"hb"
|
|
3828
3884
|
],
|
|
@@ -3847,14 +3903,14 @@ var lr = {
|
|
|
3847
3903
|
"H"
|
|
3848
3904
|
],
|
|
3849
3905
|
CR: [
|
|
3850
|
-
"H",
|
|
3851
3906
|
"h",
|
|
3907
|
+
"H",
|
|
3852
3908
|
"hB",
|
|
3853
3909
|
"hb"
|
|
3854
3910
|
],
|
|
3855
3911
|
CU: [
|
|
3856
|
-
"H",
|
|
3857
3912
|
"h",
|
|
3913
|
+
"H",
|
|
3858
3914
|
"hB",
|
|
3859
3915
|
"hb"
|
|
3860
3916
|
],
|
|
@@ -3923,9 +3979,9 @@ var lr = {
|
|
|
3923
3979
|
"hb"
|
|
3924
3980
|
],
|
|
3925
3981
|
EC: [
|
|
3982
|
+
"h",
|
|
3926
3983
|
"H",
|
|
3927
3984
|
"hB",
|
|
3928
|
-
"h",
|
|
3929
3985
|
"hb"
|
|
3930
3986
|
],
|
|
3931
3987
|
EE: [
|
|
@@ -4061,8 +4117,8 @@ var lr = {
|
|
|
4061
4117
|
"hB"
|
|
4062
4118
|
],
|
|
4063
4119
|
GT: [
|
|
4064
|
-
"H",
|
|
4065
4120
|
"h",
|
|
4121
|
+
"H",
|
|
4066
4122
|
"hB",
|
|
4067
4123
|
"hb"
|
|
4068
4124
|
],
|
|
@@ -4089,8 +4145,8 @@ var lr = {
|
|
|
4089
4145
|
"H"
|
|
4090
4146
|
],
|
|
4091
4147
|
HN: [
|
|
4092
|
-
"H",
|
|
4093
4148
|
"h",
|
|
4149
|
+
"H",
|
|
4094
4150
|
"hB",
|
|
4095
4151
|
"hb"
|
|
4096
4152
|
],
|
|
@@ -4404,8 +4460,8 @@ var lr = {
|
|
|
4404
4460
|
"hB"
|
|
4405
4461
|
],
|
|
4406
4462
|
MX: [
|
|
4407
|
-
"H",
|
|
4408
4463
|
"h",
|
|
4464
|
+
"H",
|
|
4409
4465
|
"hB",
|
|
4410
4466
|
"hb"
|
|
4411
4467
|
],
|
|
@@ -4445,8 +4501,8 @@ var lr = {
|
|
|
4445
4501
|
"hB"
|
|
4446
4502
|
],
|
|
4447
4503
|
NI: [
|
|
4448
|
-
"H",
|
|
4449
4504
|
"h",
|
|
4505
|
+
"H",
|
|
4450
4506
|
"hB",
|
|
4451
4507
|
"hb"
|
|
4452
4508
|
],
|
|
@@ -4494,9 +4550,9 @@ var lr = {
|
|
|
4494
4550
|
"hb"
|
|
4495
4551
|
],
|
|
4496
4552
|
PE: [
|
|
4553
|
+
"h",
|
|
4497
4554
|
"H",
|
|
4498
4555
|
"hB",
|
|
4499
|
-
"h",
|
|
4500
4556
|
"hb"
|
|
4501
4557
|
],
|
|
4502
4558
|
PF: [
|
|
@@ -4554,8 +4610,8 @@ var lr = {
|
|
|
4554
4610
|
"H"
|
|
4555
4611
|
],
|
|
4556
4612
|
PY: [
|
|
4557
|
-
"H",
|
|
4558
4613
|
"h",
|
|
4614
|
+
"H",
|
|
4559
4615
|
"hB",
|
|
4560
4616
|
"hb"
|
|
4561
4617
|
],
|
|
@@ -4668,8 +4724,8 @@ var lr = {
|
|
|
4668
4724
|
"hB"
|
|
4669
4725
|
],
|
|
4670
4726
|
SV: [
|
|
4671
|
-
"H",
|
|
4672
4727
|
"h",
|
|
4728
|
+
"H",
|
|
4673
4729
|
"hB",
|
|
4674
4730
|
"hb"
|
|
4675
4731
|
],
|
|
@@ -4791,8 +4847,8 @@ var lr = {
|
|
|
4791
4847
|
"hB"
|
|
4792
4848
|
],
|
|
4793
4849
|
UY: [
|
|
4794
|
-
"H",
|
|
4795
4850
|
"h",
|
|
4851
|
+
"H",
|
|
4796
4852
|
"hB",
|
|
4797
4853
|
"hb"
|
|
4798
4854
|
],
|
|
@@ -4900,37 +4956,37 @@ var lr = {
|
|
|
4900
4956
|
"H",
|
|
4901
4957
|
"hB"
|
|
4902
4958
|
],
|
|
4903
|
-
"
|
|
4904
|
-
"H",
|
|
4959
|
+
"en-HK": [
|
|
4905
4960
|
"h",
|
|
4906
|
-
"
|
|
4907
|
-
"
|
|
4961
|
+
"hb",
|
|
4962
|
+
"H",
|
|
4963
|
+
"hB"
|
|
4908
4964
|
],
|
|
4909
|
-
"
|
|
4965
|
+
"en-IL": [
|
|
4910
4966
|
"H",
|
|
4911
4967
|
"h",
|
|
4912
|
-
"
|
|
4913
|
-
"
|
|
4968
|
+
"hb",
|
|
4969
|
+
"hB"
|
|
4914
4970
|
],
|
|
4915
|
-
"
|
|
4916
|
-
"H",
|
|
4971
|
+
"en-MY": [
|
|
4917
4972
|
"h",
|
|
4918
|
-
"
|
|
4919
|
-
"
|
|
4973
|
+
"hb",
|
|
4974
|
+
"H",
|
|
4975
|
+
"hB"
|
|
4920
4976
|
],
|
|
4921
|
-
"es-
|
|
4977
|
+
"es-BR": [
|
|
4922
4978
|
"H",
|
|
4923
4979
|
"h",
|
|
4924
4980
|
"hB",
|
|
4925
4981
|
"hb"
|
|
4926
4982
|
],
|
|
4927
|
-
"es-
|
|
4983
|
+
"es-ES": [
|
|
4928
4984
|
"H",
|
|
4929
4985
|
"h",
|
|
4930
4986
|
"hB",
|
|
4931
4987
|
"hb"
|
|
4932
4988
|
],
|
|
4933
|
-
"es-
|
|
4989
|
+
"es-GQ": [
|
|
4934
4990
|
"H",
|
|
4935
4991
|
"h",
|
|
4936
4992
|
"hB",
|
|
@@ -5007,13 +5063,13 @@ var lr = {
|
|
|
5007
5063
|
"h"
|
|
5008
5064
|
]
|
|
5009
5065
|
};
|
|
5010
|
-
function
|
|
5066
|
+
function Uc(e, t) {
|
|
5011
5067
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
5012
5068
|
var n = e.charAt(i);
|
|
5013
5069
|
if (n === "j") {
|
|
5014
5070
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
5015
5071
|
s++, i++;
|
|
5016
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u =
|
|
5072
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Yc(t);
|
|
5017
5073
|
for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
|
|
5018
5074
|
r += o;
|
|
5019
5075
|
for (; a-- > 0; )
|
|
@@ -5022,7 +5078,7 @@ function Ic(e, t) {
|
|
|
5022
5078
|
}
|
|
5023
5079
|
return r;
|
|
5024
5080
|
}
|
|
5025
|
-
function
|
|
5081
|
+
function Yc(e) {
|
|
5026
5082
|
var t = e.hourCycle;
|
|
5027
5083
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
5028
5084
|
e.hourCycles && // @ts-ignore
|
|
@@ -5044,20 +5100,20 @@ function Hc(e) {
|
|
|
5044
5100
|
var n = lr[i || ""] || lr[r || ""] || lr["".concat(r, "-001")] || lr["001"];
|
|
5045
5101
|
return n[0];
|
|
5046
5102
|
}
|
|
5047
|
-
var
|
|
5103
|
+
var Zr, Gc = new RegExp("^".concat(zs.source, "*")), Wc = new RegExp("".concat(zs.source, "*$"));
|
|
5048
5104
|
function B(e, t) {
|
|
5049
5105
|
return { start: e, end: t };
|
|
5050
5106
|
}
|
|
5051
|
-
var
|
|
5107
|
+
var jc = !!String.prototype.startsWith && "_a".startsWith("a", 1), $c = !!String.fromCodePoint, Vc = !!Object.fromEntries, zc = !!String.prototype.codePointAt, Zc = !!String.prototype.trimStart, Xc = !!String.prototype.trimEnd, qc = !!Number.isSafeInteger, Jc = qc ? Number.isSafeInteger : function(e) {
|
|
5052
5108
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
5053
5109
|
}, li = !0;
|
|
5054
5110
|
try {
|
|
5055
|
-
var
|
|
5056
|
-
li = ((
|
|
5111
|
+
var Qc = Qs("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
5112
|
+
li = ((Zr = Qc.exec("a")) === null || Zr === void 0 ? void 0 : Zr[0]) === "a";
|
|
5057
5113
|
} catch (e) {
|
|
5058
5114
|
li = !1;
|
|
5059
5115
|
}
|
|
5060
|
-
var hn =
|
|
5116
|
+
var hn = jc ? (
|
|
5061
5117
|
// Native
|
|
5062
5118
|
function(t, r, i) {
|
|
5063
5119
|
return t.startsWith(r, i);
|
|
@@ -5067,7 +5123,7 @@ var hn = Fc ? (
|
|
|
5067
5123
|
function(t, r, i) {
|
|
5068
5124
|
return t.slice(i, i + r.length) === r;
|
|
5069
5125
|
}
|
|
5070
|
-
), ui =
|
|
5126
|
+
), ui = $c ? String.fromCodePoint : (
|
|
5071
5127
|
// IE11
|
|
5072
5128
|
function() {
|
|
5073
5129
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -5081,7 +5137,7 @@ var hn = Fc ? (
|
|
|
5081
5137
|
}
|
|
5082
5138
|
), cn = (
|
|
5083
5139
|
// native
|
|
5084
|
-
|
|
5140
|
+
Vc ? Object.fromEntries : (
|
|
5085
5141
|
// Ponyfill
|
|
5086
5142
|
function(t) {
|
|
5087
5143
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -5091,7 +5147,7 @@ var hn = Fc ? (
|
|
|
5091
5147
|
return r;
|
|
5092
5148
|
}
|
|
5093
5149
|
)
|
|
5094
|
-
),
|
|
5150
|
+
), Js = zc ? (
|
|
5095
5151
|
// Native
|
|
5096
5152
|
function(t, r) {
|
|
5097
5153
|
return t.codePointAt(r);
|
|
@@ -5105,7 +5161,7 @@ var hn = Fc ? (
|
|
|
5105
5161
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
5106
5162
|
}
|
|
5107
5163
|
}
|
|
5108
|
-
),
|
|
5164
|
+
), Kc = Zc ? (
|
|
5109
5165
|
// Native
|
|
5110
5166
|
function(t) {
|
|
5111
5167
|
return t.trimStart();
|
|
@@ -5113,9 +5169,9 @@ var hn = Fc ? (
|
|
|
5113
5169
|
) : (
|
|
5114
5170
|
// Ponyfill
|
|
5115
5171
|
function(t) {
|
|
5116
|
-
return t.replace(
|
|
5172
|
+
return t.replace(Gc, "");
|
|
5117
5173
|
}
|
|
5118
|
-
),
|
|
5174
|
+
), ef = Xc ? (
|
|
5119
5175
|
// Native
|
|
5120
5176
|
function(t) {
|
|
5121
5177
|
return t.trimEnd();
|
|
@@ -5123,15 +5179,15 @@ var hn = Fc ? (
|
|
|
5123
5179
|
) : (
|
|
5124
5180
|
// Ponyfill
|
|
5125
5181
|
function(t) {
|
|
5126
|
-
return t.replace(
|
|
5182
|
+
return t.replace(Wc, "");
|
|
5127
5183
|
}
|
|
5128
5184
|
);
|
|
5129
|
-
function
|
|
5185
|
+
function Qs(e, t) {
|
|
5130
5186
|
return new RegExp(e, t);
|
|
5131
5187
|
}
|
|
5132
5188
|
var hi;
|
|
5133
5189
|
if (li) {
|
|
5134
|
-
var fn =
|
|
5190
|
+
var fn = Qs("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
5135
5191
|
hi = function(t, r) {
|
|
5136
5192
|
var i;
|
|
5137
5193
|
fn.lastIndex = r;
|
|
@@ -5141,14 +5197,14 @@ if (li) {
|
|
|
5141
5197
|
} else
|
|
5142
5198
|
hi = function(t, r) {
|
|
5143
5199
|
for (var i = []; ; ) {
|
|
5144
|
-
var n =
|
|
5145
|
-
if (n === void 0 ||
|
|
5200
|
+
var n = Js(t, r);
|
|
5201
|
+
if (n === void 0 || Ks(n) || sf(n))
|
|
5146
5202
|
break;
|
|
5147
5203
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
5148
5204
|
}
|
|
5149
5205
|
return ui.apply(void 0, i);
|
|
5150
5206
|
};
|
|
5151
|
-
var
|
|
5207
|
+
var tf = (
|
|
5152
5208
|
/** @class */
|
|
5153
5209
|
function() {
|
|
5154
5210
|
function e(t, r) {
|
|
@@ -5178,7 +5234,7 @@ var Xc = (
|
|
|
5178
5234
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
5179
5235
|
if (i)
|
|
5180
5236
|
break;
|
|
5181
|
-
return this.error(
|
|
5237
|
+
return this.error(N.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
5182
5238
|
} else if (s === 60 && !this.ignoreTag && ci(this.peek() || 0)) {
|
|
5183
5239
|
var a = this.parseTag(t, r);
|
|
5184
5240
|
if (a.err)
|
|
@@ -5213,9 +5269,9 @@ var Xc = (
|
|
|
5213
5269
|
var a = s.val, l = this.clonePosition();
|
|
5214
5270
|
if (this.bumpIf("</")) {
|
|
5215
5271
|
if (this.isEOF() || !ci(this.char()))
|
|
5216
|
-
return this.error(
|
|
5272
|
+
return this.error(N.INVALID_TAG, B(l, this.clonePosition()));
|
|
5217
5273
|
var o = this.clonePosition(), u = this.parseTagName();
|
|
5218
|
-
return n !== u ? this.error(
|
|
5274
|
+
return n !== u ? this.error(N.UNMATCHED_CLOSING_TAG, B(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
5219
5275
|
val: {
|
|
5220
5276
|
type: K.tag,
|
|
5221
5277
|
value: n,
|
|
@@ -5223,14 +5279,14 @@ var Xc = (
|
|
|
5223
5279
|
location: B(i, this.clonePosition())
|
|
5224
5280
|
},
|
|
5225
5281
|
err: null
|
|
5226
|
-
} : this.error(
|
|
5282
|
+
} : this.error(N.INVALID_TAG, B(l, this.clonePosition())));
|
|
5227
5283
|
} else
|
|
5228
|
-
return this.error(
|
|
5284
|
+
return this.error(N.UNCLOSED_TAG, B(i, this.clonePosition()));
|
|
5229
5285
|
} else
|
|
5230
|
-
return this.error(
|
|
5286
|
+
return this.error(N.INVALID_TAG, B(i, this.clonePosition()));
|
|
5231
5287
|
}, e.prototype.parseTagName = function() {
|
|
5232
5288
|
var t = this.offset();
|
|
5233
|
-
for (this.bump(); !this.isEOF() &&
|
|
5289
|
+
for (this.bump(); !this.isEOF() && nf(this.char()); )
|
|
5234
5290
|
this.bump();
|
|
5235
5291
|
return this.message.slice(t, this.offset());
|
|
5236
5292
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -5259,7 +5315,7 @@ var Xc = (
|
|
|
5259
5315
|
};
|
|
5260
5316
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
5261
5317
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
5262
|
-
!
|
|
5318
|
+
!rf(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
5263
5319
|
}, e.prototype.tryParseQuote = function(t) {
|
|
5264
5320
|
if (this.isEOF() || this.char() !== 39)
|
|
5265
5321
|
return null;
|
|
@@ -5302,14 +5358,14 @@ var Xc = (
|
|
|
5302
5358
|
}, e.prototype.parseArgument = function(t, r) {
|
|
5303
5359
|
var i = this.clonePosition();
|
|
5304
5360
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
5305
|
-
return this.error(
|
|
5361
|
+
return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
|
|
5306
5362
|
if (this.char() === 125)
|
|
5307
|
-
return this.bump(), this.error(
|
|
5363
|
+
return this.bump(), this.error(N.EMPTY_ARGUMENT, B(i, this.clonePosition()));
|
|
5308
5364
|
var n = this.parseIdentifierIfPossible().value;
|
|
5309
5365
|
if (!n)
|
|
5310
|
-
return this.error(
|
|
5366
|
+
return this.error(N.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
|
|
5311
5367
|
if (this.bumpSpace(), this.isEOF())
|
|
5312
|
-
return this.error(
|
|
5368
|
+
return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
|
|
5313
5369
|
switch (this.char()) {
|
|
5314
5370
|
case 125:
|
|
5315
5371
|
return this.bump(), {
|
|
@@ -5322,9 +5378,9 @@ var Xc = (
|
|
|
5322
5378
|
err: null
|
|
5323
5379
|
};
|
|
5324
5380
|
case 44:
|
|
5325
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
5381
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
5326
5382
|
default:
|
|
5327
|
-
return this.error(
|
|
5383
|
+
return this.error(N.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
|
|
5328
5384
|
}
|
|
5329
5385
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
5330
5386
|
var t = this.clonePosition(), r = this.offset(), i = hi(this.message, r), n = r + i.length;
|
|
@@ -5335,7 +5391,7 @@ var Xc = (
|
|
|
5335
5391
|
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, o = this.clonePosition();
|
|
5336
5392
|
switch (l) {
|
|
5337
5393
|
case "":
|
|
5338
|
-
return this.error(
|
|
5394
|
+
return this.error(N.EXPECT_ARGUMENT_TYPE, B(a, o));
|
|
5339
5395
|
case "number":
|
|
5340
5396
|
case "date":
|
|
5341
5397
|
case "time": {
|
|
@@ -5346,9 +5402,9 @@ var Xc = (
|
|
|
5346
5402
|
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
5347
5403
|
if (d.err)
|
|
5348
5404
|
return d;
|
|
5349
|
-
var g =
|
|
5405
|
+
var g = ef(d.val);
|
|
5350
5406
|
if (g.length === 0)
|
|
5351
|
-
return this.error(
|
|
5407
|
+
return this.error(N.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
5352
5408
|
var h = B(c, this.clonePosition());
|
|
5353
5409
|
u = { style: g, styleLocation: h };
|
|
5354
5410
|
}
|
|
@@ -5357,23 +5413,23 @@ var Xc = (
|
|
|
5357
5413
|
return f;
|
|
5358
5414
|
var _ = B(n, this.clonePosition());
|
|
5359
5415
|
if (u && hn(u == null ? void 0 : u.style, "::", 0)) {
|
|
5360
|
-
var
|
|
5416
|
+
var P = Kc(u.style.slice(2));
|
|
5361
5417
|
if (l === "number") {
|
|
5362
|
-
var d = this.parseNumberSkeletonFromString(
|
|
5418
|
+
var d = this.parseNumberSkeletonFromString(P, u.styleLocation);
|
|
5363
5419
|
return d.err ? d : {
|
|
5364
5420
|
val: { type: K.number, value: i, location: _, style: d.val },
|
|
5365
5421
|
err: null
|
|
5366
5422
|
};
|
|
5367
5423
|
} else {
|
|
5368
|
-
if (
|
|
5369
|
-
return this.error(
|
|
5370
|
-
var I =
|
|
5371
|
-
this.locale && (I =
|
|
5424
|
+
if (P.length === 0)
|
|
5425
|
+
return this.error(N.EXPECT_DATE_TIME_SKELETON, _);
|
|
5426
|
+
var I = P;
|
|
5427
|
+
this.locale && (I = Uc(P, this.locale));
|
|
5372
5428
|
var g = {
|
|
5373
5429
|
type: St.dateTime,
|
|
5374
5430
|
pattern: I,
|
|
5375
5431
|
location: u.styleLocation,
|
|
5376
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
5432
|
+
parsedOptions: this.shouldParseSkeletons ? Cc(I) : {}
|
|
5377
5433
|
}, W = l === "date" ? K.date : K.time;
|
|
5378
5434
|
return {
|
|
5379
5435
|
val: { type: W, value: i, location: _, style: g },
|
|
@@ -5396,14 +5452,14 @@ var Xc = (
|
|
|
5396
5452
|
case "select": {
|
|
5397
5453
|
var k = this.clonePosition();
|
|
5398
5454
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
5399
|
-
return this.error(
|
|
5455
|
+
return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, B(k, H({}, k)));
|
|
5400
5456
|
this.bumpSpace();
|
|
5401
5457
|
var Z = this.parseIdentifierIfPossible(), J = 0;
|
|
5402
5458
|
if (l !== "select" && Z.value === "offset") {
|
|
5403
5459
|
if (!this.bumpIf(":"))
|
|
5404
|
-
return this.error(
|
|
5460
|
+
return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
|
|
5405
5461
|
this.bumpSpace();
|
|
5406
|
-
var d = this.tryParseDecimalInteger(
|
|
5462
|
+
var d = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
5407
5463
|
if (d.err)
|
|
5408
5464
|
return d;
|
|
5409
5465
|
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), J = d.val;
|
|
@@ -5436,10 +5492,10 @@ var Xc = (
|
|
|
5436
5492
|
};
|
|
5437
5493
|
}
|
|
5438
5494
|
default:
|
|
5439
|
-
return this.error(
|
|
5495
|
+
return this.error(N.INVALID_ARGUMENT_TYPE, B(a, o));
|
|
5440
5496
|
}
|
|
5441
5497
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
5442
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
5498
|
+
return this.isEOF() || this.char() !== 125 ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
5443
5499
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
5444
5500
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
5445
5501
|
var i = this.char();
|
|
@@ -5448,7 +5504,7 @@ var Xc = (
|
|
|
5448
5504
|
this.bump();
|
|
5449
5505
|
var n = this.clonePosition();
|
|
5450
5506
|
if (!this.bumpUntil("'"))
|
|
5451
|
-
return this.error(
|
|
5507
|
+
return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, B(n, this.clonePosition()));
|
|
5452
5508
|
this.bump();
|
|
5453
5509
|
break;
|
|
5454
5510
|
}
|
|
@@ -5478,16 +5534,16 @@ var Xc = (
|
|
|
5478
5534
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
5479
5535
|
var i = [];
|
|
5480
5536
|
try {
|
|
5481
|
-
i =
|
|
5537
|
+
i = Hc(t);
|
|
5482
5538
|
} catch (n) {
|
|
5483
|
-
return this.error(
|
|
5539
|
+
return this.error(N.INVALID_NUMBER_SKELETON, r);
|
|
5484
5540
|
}
|
|
5485
5541
|
return {
|
|
5486
5542
|
val: {
|
|
5487
5543
|
type: St.number,
|
|
5488
5544
|
tokens: i,
|
|
5489
5545
|
location: r,
|
|
5490
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
5546
|
+
parsedOptions: this.shouldParseSkeletons ? Rc(i) : {}
|
|
5491
5547
|
},
|
|
5492
5548
|
err: null
|
|
5493
5549
|
};
|
|
@@ -5496,7 +5552,7 @@ var Xc = (
|
|
|
5496
5552
|
if (u.length === 0) {
|
|
5497
5553
|
var d = this.clonePosition();
|
|
5498
5554
|
if (r !== "select" && this.bumpIf("=")) {
|
|
5499
|
-
var g = this.tryParseDecimalInteger(
|
|
5555
|
+
var g = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR, N.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
5500
5556
|
if (g.err)
|
|
5501
5557
|
return g;
|
|
5502
5558
|
c = B(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
@@ -5504,11 +5560,11 @@ var Xc = (
|
|
|
5504
5560
|
break;
|
|
5505
5561
|
}
|
|
5506
5562
|
if (o.has(u))
|
|
5507
|
-
return this.error(r === "select" ?
|
|
5563
|
+
return this.error(r === "select" ? N.DUPLICATE_SELECT_ARGUMENT_SELECTOR : N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
5508
5564
|
u === "other" && (a = !0), this.bumpSpace();
|
|
5509
5565
|
var h = this.clonePosition();
|
|
5510
5566
|
if (!this.bumpIf("{"))
|
|
5511
|
-
return this.error(r === "select" ?
|
|
5567
|
+
return this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
|
|
5512
5568
|
var f = this.parseMessage(t + 1, r, i);
|
|
5513
5569
|
if (f.err)
|
|
5514
5570
|
return f;
|
|
@@ -5523,7 +5579,7 @@ var Xc = (
|
|
|
5523
5579
|
}
|
|
5524
5580
|
]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, c = s.location;
|
|
5525
5581
|
}
|
|
5526
|
-
return l.length === 0 ? this.error(r === "select" ?
|
|
5582
|
+
return l.length === 0 ? this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR : N.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(N.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
5527
5583
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
5528
5584
|
var i = 1, n = this.clonePosition();
|
|
5529
5585
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -5535,7 +5591,7 @@ var Xc = (
|
|
|
5535
5591
|
break;
|
|
5536
5592
|
}
|
|
5537
5593
|
var o = B(n, this.clonePosition());
|
|
5538
|
-
return s ? (a *= i,
|
|
5594
|
+
return s ? (a *= i, Jc(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
|
|
5539
5595
|
}, e.prototype.offset = function() {
|
|
5540
5596
|
return this.position.offset;
|
|
5541
5597
|
}, e.prototype.isEOF = function() {
|
|
@@ -5550,7 +5606,7 @@ var Xc = (
|
|
|
5550
5606
|
var t = this.position.offset;
|
|
5551
5607
|
if (t >= this.message.length)
|
|
5552
5608
|
throw Error("out of bound");
|
|
5553
|
-
var r =
|
|
5609
|
+
var r = Js(this.message, t);
|
|
5554
5610
|
if (r === void 0)
|
|
5555
5611
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
5556
5612
|
return r;
|
|
@@ -5591,7 +5647,7 @@ var Xc = (
|
|
|
5591
5647
|
break;
|
|
5592
5648
|
}
|
|
5593
5649
|
}, e.prototype.bumpSpace = function() {
|
|
5594
|
-
for (; !this.isEOF() &&
|
|
5650
|
+
for (; !this.isEOF() && Ks(this.char()); )
|
|
5595
5651
|
this.bump();
|
|
5596
5652
|
}, e.prototype.peek = function() {
|
|
5597
5653
|
if (this.isEOF())
|
|
@@ -5604,86 +5660,36 @@ var Xc = (
|
|
|
5604
5660
|
function ci(e) {
|
|
5605
5661
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
5606
5662
|
}
|
|
5607
|
-
function
|
|
5663
|
+
function rf(e) {
|
|
5608
5664
|
return ci(e) || e === 47;
|
|
5609
5665
|
}
|
|
5610
|
-
function
|
|
5666
|
+
function nf(e) {
|
|
5611
5667
|
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;
|
|
5612
5668
|
}
|
|
5613
|
-
function
|
|
5669
|
+
function Ks(e) {
|
|
5614
5670
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
5615
5671
|
}
|
|
5616
|
-
function
|
|
5672
|
+
function sf(e) {
|
|
5617
5673
|
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;
|
|
5618
5674
|
}
|
|
5619
5675
|
function fi(e) {
|
|
5620
5676
|
e.forEach(function(t) {
|
|
5621
|
-
if (delete t.location,
|
|
5677
|
+
if (delete t.location, Ws(t) || js(t))
|
|
5622
5678
|
for (var r in t.options)
|
|
5623
5679
|
delete t.options[r].location, fi(t.options[r].value);
|
|
5624
|
-
else
|
|
5680
|
+
else Us(t) && Vs(t.style) || (Ys(t) || Gs(t)) && oi(t.style) ? delete t.style.location : $s(t) && fi(t.children);
|
|
5625
5681
|
});
|
|
5626
5682
|
}
|
|
5627
|
-
function
|
|
5683
|
+
function af(e, t) {
|
|
5628
5684
|
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
5629
|
-
var r = new
|
|
5685
|
+
var r = new tf(e, t).parse();
|
|
5630
5686
|
if (r.err) {
|
|
5631
|
-
var i = SyntaxError(
|
|
5687
|
+
var i = SyntaxError(N[r.err.kind]);
|
|
5632
5688
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
5633
5689
|
}
|
|
5634
5690
|
return t != null && t.captureLocation || fi(r.val), r.val;
|
|
5635
5691
|
}
|
|
5636
|
-
|
|
5637
|
-
var r = t && t.cache ? t.cache : af, i = t && t.serializer ? t.serializer : sf, n = t && t.strategy ? t.strategy : tf;
|
|
5638
|
-
return n(e, {
|
|
5639
|
-
cache: r,
|
|
5640
|
-
serializer: i
|
|
5641
|
-
});
|
|
5642
|
-
}
|
|
5643
|
-
function ef(e) {
|
|
5644
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
5645
|
-
}
|
|
5646
|
-
function Qs(e, t, r, i) {
|
|
5647
|
-
var n = ef(i) ? i : r(i), s = t.get(n);
|
|
5648
|
-
return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
|
|
5649
|
-
}
|
|
5650
|
-
function Ks(e, t, r) {
|
|
5651
|
-
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
5652
|
-
return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
5653
|
-
}
|
|
5654
|
-
function Fi(e, t, r, i, n) {
|
|
5655
|
-
return r.bind(t, e, i, n);
|
|
5656
|
-
}
|
|
5657
|
-
function tf(e, t) {
|
|
5658
|
-
var r = e.length === 1 ? Qs : Ks;
|
|
5659
|
-
return Fi(e, this, r, t.cache.create(), t.serializer);
|
|
5660
|
-
}
|
|
5661
|
-
function rf(e, t) {
|
|
5662
|
-
return Fi(e, this, Ks, t.cache.create(), t.serializer);
|
|
5663
|
-
}
|
|
5664
|
-
function nf(e, t) {
|
|
5665
|
-
return Fi(e, this, Qs, t.cache.create(), t.serializer);
|
|
5666
|
-
}
|
|
5667
|
-
var sf = function() {
|
|
5668
|
-
return JSON.stringify(arguments);
|
|
5669
|
-
};
|
|
5670
|
-
function Ri() {
|
|
5671
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
5672
|
-
}
|
|
5673
|
-
Ri.prototype.get = function(e) {
|
|
5674
|
-
return this.cache[e];
|
|
5675
|
-
};
|
|
5676
|
-
Ri.prototype.set = function(e, t) {
|
|
5677
|
-
this.cache[e] = t;
|
|
5678
|
-
};
|
|
5679
|
-
var af = {
|
|
5680
|
-
create: function() {
|
|
5681
|
-
return new Ri();
|
|
5682
|
-
}
|
|
5683
|
-
}, Zr = {
|
|
5684
|
-
variadic: rf,
|
|
5685
|
-
monadic: nf
|
|
5686
|
-
}, Mt;
|
|
5692
|
+
var Mt;
|
|
5687
5693
|
(function(e) {
|
|
5688
5694
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
5689
5695
|
})(Mt || (Mt = {}));
|
|
@@ -5756,7 +5762,7 @@ function dr(e, t, r, i, n, s, a) {
|
|
|
5756
5762
|
});
|
|
5757
5763
|
continue;
|
|
5758
5764
|
}
|
|
5759
|
-
if (
|
|
5765
|
+
if (Pc(c)) {
|
|
5760
5766
|
typeof s == "number" && l.push({
|
|
5761
5767
|
type: ve.literal,
|
|
5762
5768
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -5767,14 +5773,14 @@ function dr(e, t, r, i, n, s, a) {
|
|
|
5767
5773
|
if (!(n && d in n))
|
|
5768
5774
|
throw new lf(d, a);
|
|
5769
5775
|
var g = n[d];
|
|
5770
|
-
if (
|
|
5776
|
+
if (Nc(c)) {
|
|
5771
5777
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
5772
5778
|
type: typeof g == "string" ? ve.literal : ve.object,
|
|
5773
5779
|
value: g
|
|
5774
5780
|
});
|
|
5775
5781
|
continue;
|
|
5776
5782
|
}
|
|
5777
|
-
if (
|
|
5783
|
+
if (Ys(c)) {
|
|
5778
5784
|
var h = typeof c.style == "string" ? i.date[c.style] : oi(c.style) ? c.style.parsedOptions : void 0;
|
|
5779
5785
|
l.push({
|
|
5780
5786
|
type: ve.literal,
|
|
@@ -5782,7 +5788,7 @@ function dr(e, t, r, i, n, s, a) {
|
|
|
5782
5788
|
});
|
|
5783
5789
|
continue;
|
|
5784
5790
|
}
|
|
5785
|
-
if (
|
|
5791
|
+
if (Gs(c)) {
|
|
5786
5792
|
var h = typeof c.style == "string" ? i.time[c.style] : oi(c.style) ? c.style.parsedOptions : i.time.medium;
|
|
5787
5793
|
l.push({
|
|
5788
5794
|
type: ve.literal,
|
|
@@ -5790,19 +5796,19 @@ function dr(e, t, r, i, n, s, a) {
|
|
|
5790
5796
|
});
|
|
5791
5797
|
continue;
|
|
5792
5798
|
}
|
|
5793
|
-
if (
|
|
5794
|
-
var h = typeof c.style == "string" ? i.number[c.style] :
|
|
5799
|
+
if (Us(c)) {
|
|
5800
|
+
var h = typeof c.style == "string" ? i.number[c.style] : Vs(c.style) ? c.style.parsedOptions : void 0;
|
|
5795
5801
|
h && h.scale && (g = g * (h.scale || 1)), l.push({
|
|
5796
5802
|
type: ve.literal,
|
|
5797
5803
|
value: r.getNumberFormat(t, h).format(g)
|
|
5798
5804
|
});
|
|
5799
5805
|
continue;
|
|
5800
5806
|
}
|
|
5801
|
-
if (
|
|
5802
|
-
var f = c.children, _ = c.value,
|
|
5803
|
-
if (!hf(
|
|
5807
|
+
if ($s(c)) {
|
|
5808
|
+
var f = c.children, _ = c.value, P = n[_];
|
|
5809
|
+
if (!hf(P))
|
|
5804
5810
|
throw new of(_, "function", a);
|
|
5805
|
-
var I = dr(f, t, r, i, n, s), W =
|
|
5811
|
+
var I = dr(f, t, r, i, n, s), W = P(I.map(function(J) {
|
|
5806
5812
|
return J.value;
|
|
5807
5813
|
}));
|
|
5808
5814
|
Array.isArray(W) || (W = [W]), l.push.apply(l, W.map(function(J) {
|
|
@@ -5812,14 +5818,14 @@ function dr(e, t, r, i, n, s, a) {
|
|
|
5812
5818
|
};
|
|
5813
5819
|
}));
|
|
5814
5820
|
}
|
|
5815
|
-
if (
|
|
5821
|
+
if (Ws(c)) {
|
|
5816
5822
|
var k = c.options[g] || c.options.other;
|
|
5817
5823
|
if (!k)
|
|
5818
5824
|
throw new dn(c.value, g, Object.keys(c.options), a);
|
|
5819
5825
|
l.push.apply(l, dr(k.value, t, r, i, n));
|
|
5820
5826
|
continue;
|
|
5821
5827
|
}
|
|
5822
|
-
if (
|
|
5828
|
+
if (js(c)) {
|
|
5823
5829
|
var k = c.options["=".concat(g)];
|
|
5824
5830
|
if (!k) {
|
|
5825
5831
|
if (!Intl.PluralRules)
|
|
@@ -5867,29 +5873,29 @@ function df(e) {
|
|
|
5867
5873
|
dateTime: {},
|
|
5868
5874
|
pluralRules: {}
|
|
5869
5875
|
}), {
|
|
5870
|
-
getNumberFormat:
|
|
5876
|
+
getNumberFormat: Vr(function() {
|
|
5871
5877
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
5872
5878
|
r[i] = arguments[i];
|
|
5873
5879
|
return new ((t = Intl.NumberFormat).bind.apply(t, $r([void 0], r, !1)))();
|
|
5874
5880
|
}, {
|
|
5875
5881
|
cache: Xr(e.number),
|
|
5876
|
-
strategy:
|
|
5882
|
+
strategy: zr.variadic
|
|
5877
5883
|
}),
|
|
5878
|
-
getDateTimeFormat:
|
|
5884
|
+
getDateTimeFormat: Vr(function() {
|
|
5879
5885
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
5880
5886
|
r[i] = arguments[i];
|
|
5881
5887
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, $r([void 0], r, !1)))();
|
|
5882
5888
|
}, {
|
|
5883
5889
|
cache: Xr(e.dateTime),
|
|
5884
|
-
strategy:
|
|
5890
|
+
strategy: zr.variadic
|
|
5885
5891
|
}),
|
|
5886
|
-
getPluralRules:
|
|
5892
|
+
getPluralRules: Vr(function() {
|
|
5887
5893
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
5888
5894
|
r[i] = arguments[i];
|
|
5889
5895
|
return new ((t = Intl.PluralRules).bind.apply(t, $r([void 0], r, !1)))();
|
|
5890
5896
|
}, {
|
|
5891
5897
|
cache: Xr(e.pluralRules),
|
|
5892
|
-
strategy:
|
|
5898
|
+
strategy: zr.variadic
|
|
5893
5899
|
})
|
|
5894
5900
|
};
|
|
5895
5901
|
}
|
|
@@ -5897,8 +5903,9 @@ var mf = (
|
|
|
5897
5903
|
/** @class */
|
|
5898
5904
|
function() {
|
|
5899
5905
|
function e(t, r, i, n) {
|
|
5906
|
+
r === void 0 && (r = e.defaultLocale);
|
|
5900
5907
|
var s = this;
|
|
5901
|
-
if (
|
|
5908
|
+
if (this.formatterCache = {
|
|
5902
5909
|
number: {},
|
|
5903
5910
|
dateTime: {},
|
|
5904
5911
|
pluralRules: {}
|
|
@@ -5943,7 +5950,7 @@ var mf = (
|
|
|
5943
5950
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
5944
5951
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
5945
5952
|
}
|
|
5946
|
-
}, e.__parse =
|
|
5953
|
+
}, e.__parse = af, e.formats = {
|
|
5947
5954
|
number: {
|
|
5948
5955
|
integer: {
|
|
5949
5956
|
maximumFractionDigits: 0
|
|
@@ -6151,12 +6158,12 @@ function Et() {
|
|
|
6151
6158
|
return Tf;
|
|
6152
6159
|
}
|
|
6153
6160
|
const qr = Ir(!1);
|
|
6154
|
-
var xf = Object.defineProperty, Df = Object.defineProperties, Of = Object.getOwnPropertyDescriptors, mn = Object.getOwnPropertySymbols, kf = Object.prototype.hasOwnProperty,
|
|
6161
|
+
var xf = Object.defineProperty, Df = Object.defineProperties, Of = Object.getOwnPropertyDescriptors, mn = Object.getOwnPropertySymbols, kf = Object.prototype.hasOwnProperty, Nf = Object.prototype.propertyIsEnumerable, gn = (e, t, r) => t in e ? xf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pf = (e, t) => {
|
|
6155
6162
|
for (var r in t || (t = {}))
|
|
6156
6163
|
kf.call(t, r) && gn(e, r, t[r]);
|
|
6157
6164
|
if (mn)
|
|
6158
6165
|
for (var r of mn(t))
|
|
6159
|
-
|
|
6166
|
+
Nf.call(t, r) && gn(e, r, t[r]);
|
|
6160
6167
|
return e;
|
|
6161
6168
|
}, Bf = (e, t) => Df(e, Of(t));
|
|
6162
6169
|
let mi;
|
|
@@ -6188,7 +6195,7 @@ const Cf = (e) => {
|
|
|
6188
6195
|
});
|
|
6189
6196
|
}
|
|
6190
6197
|
return wr.set(e);
|
|
6191
|
-
}, kt = Bf(
|
|
6198
|
+
}, kt = Bf(Pf({}, wr), {
|
|
6192
6199
|
set: Cf
|
|
6193
6200
|
}), Fr = (e) => {
|
|
6194
6201
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -6204,7 +6211,7 @@ var If = Object.defineProperty, Sr = Object.getOwnPropertySymbols, sa = Object.p
|
|
|
6204
6211
|
for (var r of Sr(t))
|
|
6205
6212
|
aa.call(t, r) && _n(e, r, t[r]);
|
|
6206
6213
|
return e;
|
|
6207
|
-
},
|
|
6214
|
+
}, Nt = (e, t) => {
|
|
6208
6215
|
var r = {};
|
|
6209
6216
|
for (var i in e)
|
|
6210
6217
|
sa.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -6220,21 +6227,21 @@ const qt = (e, t) => {
|
|
|
6220
6227
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
6221
6228
|
}, Hf = Fr(
|
|
6222
6229
|
(e) => {
|
|
6223
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
6230
|
+
var t = e, { locale: r, format: i } = t, n = Nt(t, ["locale", "format"]);
|
|
6224
6231
|
if (r == null)
|
|
6225
6232
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
6226
6233
|
return i && (n = qt("number", i)), new Intl.NumberFormat(r, n);
|
|
6227
6234
|
}
|
|
6228
6235
|
), Lf = Fr(
|
|
6229
6236
|
(e) => {
|
|
6230
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
6237
|
+
var t = e, { locale: r, format: i } = t, n = Nt(t, ["locale", "format"]);
|
|
6231
6238
|
if (r == null)
|
|
6232
6239
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
6233
6240
|
return i ? n = qt("date", i) : Object.keys(n).length === 0 && (n = qt("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
6234
6241
|
}
|
|
6235
6242
|
), Af = Fr(
|
|
6236
6243
|
(e) => {
|
|
6237
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
6244
|
+
var t = e, { locale: r, format: i } = t, n = Nt(t, ["locale", "format"]);
|
|
6238
6245
|
if (r == null)
|
|
6239
6246
|
throw new Error(
|
|
6240
6247
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -6244,21 +6251,21 @@ const qt = (e, t) => {
|
|
|
6244
6251
|
), Ff = (e = {}) => {
|
|
6245
6252
|
var t = e, {
|
|
6246
6253
|
locale: r = ut()
|
|
6247
|
-
} = t, i =
|
|
6254
|
+
} = t, i = Nt(t, [
|
|
6248
6255
|
"locale"
|
|
6249
6256
|
]);
|
|
6250
6257
|
return Hf(Yi({ locale: r }, i));
|
|
6251
6258
|
}, Rf = (e = {}) => {
|
|
6252
6259
|
var t = e, {
|
|
6253
6260
|
locale: r = ut()
|
|
6254
|
-
} = t, i =
|
|
6261
|
+
} = t, i = Nt(t, [
|
|
6255
6262
|
"locale"
|
|
6256
6263
|
]);
|
|
6257
6264
|
return Lf(Yi({ locale: r }, i));
|
|
6258
6265
|
}, Uf = (e = {}) => {
|
|
6259
6266
|
var t = e, {
|
|
6260
6267
|
locale: r = ut()
|
|
6261
|
-
} = t, i =
|
|
6268
|
+
} = t, i = Nt(t, [
|
|
6262
6269
|
"locale"
|
|
6263
6270
|
]);
|
|
6264
6271
|
return Af(Yi({ locale: r }, i));
|
|
@@ -6550,6 +6557,30 @@ const bn = {
|
|
|
6550
6557
|
registerPersonalId: "Identificación",
|
|
6551
6558
|
registerPersonalIdCharacters: "Sólo números",
|
|
6552
6559
|
registerPersonalIdLength: "Formato de número de identificación Incorrecto"
|
|
6560
|
+
},
|
|
6561
|
+
"en-us": {
|
|
6562
|
+
registerBackButton: "Back",
|
|
6563
|
+
registerUserTitle: "Title",
|
|
6564
|
+
registerUserTitleSelect: "Select Title",
|
|
6565
|
+
registerUserTitleSelectMr: "Mr.",
|
|
6566
|
+
registerUserTitleSelectMrs: "Mrs.",
|
|
6567
|
+
registerUserTitleSelectMs: "Ms.",
|
|
6568
|
+
registerFirstName: "First Name",
|
|
6569
|
+
registerFirstNameError: "First name must be 2-50 characters long.",
|
|
6570
|
+
registerLastName: "Last Name",
|
|
6571
|
+
registerLastNameError: "Last name must be 2-50 characters.",
|
|
6572
|
+
registerDateOfBirth: "Date of Birth",
|
|
6573
|
+
registerBirthDay: "Day",
|
|
6574
|
+
registerBirthMonth: "Month",
|
|
6575
|
+
registerBirthYear: "Year",
|
|
6576
|
+
registerBirthDateError: "The minimum registratione age is {licenseyears} years.",
|
|
6577
|
+
registerBirthPlace: "Birth Place",
|
|
6578
|
+
registerBirthPlaceError: "Birth place must be at least 1 character long.",
|
|
6579
|
+
registerCurrency: "Currency",
|
|
6580
|
+
registerNext: "Next",
|
|
6581
|
+
registerPersonalId: "Personal Id",
|
|
6582
|
+
registerPersonalIdCharacters: "Only numbers",
|
|
6583
|
+
registerPersonalIdLength: "Wrong Length"
|
|
6553
6584
|
}
|
|
6554
6585
|
};
|
|
6555
6586
|
function Xf(e) {
|
|
@@ -6581,7 +6612,7 @@ function En(e) {
|
|
|
6581
6612
|
), d, g, h = (
|
|
6582
6613
|
/*$_*/
|
|
6583
6614
|
e[24]("registerUserTitleSelectMr") + ""
|
|
6584
|
-
), f, _,
|
|
6615
|
+
), f, _, P = (
|
|
6585
6616
|
/*$_*/
|
|
6586
6617
|
e[24]("registerUserTitleSelectMrs") + ""
|
|
6587
6618
|
), I, W, k = (
|
|
@@ -6590,7 +6621,7 @@ function En(e) {
|
|
|
6590
6621
|
), Z, J, de;
|
|
6591
6622
|
return {
|
|
6592
6623
|
c() {
|
|
6593
|
-
t = S("div"), r = S("label"), n = D(i), s = D(":"), a = S("span"), a.textContent = "*", l = re(), o = S("select"), u = S("option"), d = D(c), g = S("option"), f = D(h), _ = S("option"), I = D(
|
|
6624
|
+
t = S("div"), r = S("label"), n = D(i), s = D(":"), a = S("span"), a.textContent = "*", l = re(), o = S("select"), u = S("option"), d = D(c), g = S("option"), f = D(h), _ = S("option"), I = D(P), W = S("option"), Z = D(k), M(a, "class", "FormRequired"), M(r, "for", "Title"), u.__value = "", ce(u, u.__value), u.disabled = !0, u.selected = !0, g.__value = "Mr.", ce(g, g.__value), _.__value = "Mrs.", ce(_, _.__value), W.__value = "Ms.", ce(W, W.__value), M(o, "id", "Title"), /*userTitle*/
|
|
6594
6625
|
e[12] === void 0 && it(() => (
|
|
6595
6626
|
/*select_change_handler*/
|
|
6596
6627
|
e[43].call(o)
|
|
@@ -6625,8 +6656,8 @@ function En(e) {
|
|
|
6625
6656
|
j[24]("registerUserTitleSelect") + "") && ie(d, c), ee[0] & /*$_*/
|
|
6626
6657
|
16777216 && h !== (h = /*$_*/
|
|
6627
6658
|
j[24]("registerUserTitleSelectMr") + "") && ie(f, h), ee[0] & /*$_*/
|
|
6628
|
-
16777216 &&
|
|
6629
|
-
j[24]("registerUserTitleSelectMrs") + "") && ie(I,
|
|
6659
|
+
16777216 && P !== (P = /*$_*/
|
|
6660
|
+
j[24]("registerUserTitleSelectMrs") + "") && ie(I, P), ee[0] & /*$_*/
|
|
6630
6661
|
16777216 && k !== (k = /*$_*/
|
|
6631
6662
|
j[24]("registerUserTitleSelectMs") + "") && ie(Z, k), ee[0] & /*userTitle*/
|
|
6632
6663
|
4096 && Fe(
|
|
@@ -6823,7 +6854,7 @@ function kn(e) {
|
|
|
6823
6854
|
), n, s, a, l, o, u, c, d = (
|
|
6824
6855
|
/*$_*/
|
|
6825
6856
|
e[24]("registerBirthDay") + ""
|
|
6826
|
-
), g, h, f, _,
|
|
6857
|
+
), g, h, f, _, P = (
|
|
6827
6858
|
/*$_*/
|
|
6828
6859
|
e[24]("registerBirthMonth") + ""
|
|
6829
6860
|
), I, W, k, Z, J = (
|
|
@@ -6834,13 +6865,13 @@ function kn(e) {
|
|
|
6834
6865
|
e[25]
|
|
6835
6866
|
), $ = [];
|
|
6836
6867
|
for (let T = 0; T < Ee.length; T += 1)
|
|
6837
|
-
$[T] =
|
|
6868
|
+
$[T] = Nn(Mn(e, Ee, T));
|
|
6838
6869
|
let me = Ke(
|
|
6839
6870
|
/*birthMonths*/
|
|
6840
6871
|
e[26]
|
|
6841
6872
|
), Y = [];
|
|
6842
6873
|
for (let T = 0; T < me.length; T += 1)
|
|
6843
|
-
Y[T] =
|
|
6874
|
+
Y[T] = Pn(Sn(e, me, T));
|
|
6844
6875
|
let ne = !/*isLoading*/
|
|
6845
6876
|
e[23] && Bn(e), V = (
|
|
6846
6877
|
/*invalidBirthDate*/
|
|
@@ -6851,7 +6882,7 @@ function kn(e) {
|
|
|
6851
6882
|
t = S("div"), r = S("label"), n = D(i), s = D(":"), a = S("span"), a.textContent = "*", l = re(), o = S("div"), u = S("select"), c = S("option"), g = D(d);
|
|
6852
6883
|
for (let T = 0; T < $.length; T += 1)
|
|
6853
6884
|
$[T].c();
|
|
6854
|
-
h = re(), f = S("select"), _ = S("option"), I = D(
|
|
6885
|
+
h = re(), f = S("select"), _ = S("option"), I = D(P);
|
|
6855
6886
|
for (let T = 0; T < Y.length; T += 1)
|
|
6856
6887
|
Y[T].c();
|
|
6857
6888
|
W = re(), k = S("select"), Z = S("option"), de = D(J), ne && ne.c(), j = re(), V && V.c(), M(a, "class", "FormRequired"), c.__value = "", ce(c, c.__value), c.disabled = !0, c.selected = !0, M(u, "class", "BirthDaySelected"), /*birthDaySelected*/
|
|
@@ -6943,7 +6974,7 @@ function kn(e) {
|
|
|
6943
6974
|
let v;
|
|
6944
6975
|
for (v = 0; v < Ee.length; v += 1) {
|
|
6945
6976
|
const R = Mn(T, Ee, v);
|
|
6946
|
-
$[v] ? $[v].p(R, te) : ($[v] =
|
|
6977
|
+
$[v] ? $[v].p(R, te) : ($[v] = Nn(R), $[v].c(), $[v].m(u, null));
|
|
6947
6978
|
}
|
|
6948
6979
|
for (; v < $.length; v += 1)
|
|
6949
6980
|
$[v].d(1);
|
|
@@ -6955,8 +6986,8 @@ function kn(e) {
|
|
|
6955
6986
|
/*birthDaySelected*/
|
|
6956
6987
|
T[15]
|
|
6957
6988
|
), te[0] & /*$_*/
|
|
6958
|
-
16777216 &&
|
|
6959
|
-
T[24]("registerBirthMonth") + "") && ie(I,
|
|
6989
|
+
16777216 && P !== (P = /*$_*/
|
|
6990
|
+
T[24]("registerBirthMonth") + "") && ie(I, P), te[0] & /*birthMonths*/
|
|
6960
6991
|
67108864) {
|
|
6961
6992
|
me = Ke(
|
|
6962
6993
|
/*birthMonths*/
|
|
@@ -6965,7 +6996,7 @@ function kn(e) {
|
|
|
6965
6996
|
let v;
|
|
6966
6997
|
for (v = 0; v < me.length; v += 1) {
|
|
6967
6998
|
const R = Sn(T, me, v);
|
|
6968
|
-
Y[v] ? Y[v].p(R, te) : (Y[v] =
|
|
6999
|
+
Y[v] ? Y[v].p(R, te) : (Y[v] = Pn(R), Y[v].c(), Y[v].m(f, null));
|
|
6969
7000
|
}
|
|
6970
7001
|
for (; v < Y.length; v += 1)
|
|
6971
7002
|
Y[v].d(1);
|
|
@@ -6992,7 +7023,7 @@ function kn(e) {
|
|
|
6992
7023
|
}
|
|
6993
7024
|
};
|
|
6994
7025
|
}
|
|
6995
|
-
function
|
|
7026
|
+
function Nn(e) {
|
|
6996
7027
|
let t, r = (
|
|
6997
7028
|
/*birthDay*/
|
|
6998
7029
|
e[92] + ""
|
|
@@ -7011,7 +7042,7 @@ function Pn(e) {
|
|
|
7011
7042
|
}
|
|
7012
7043
|
};
|
|
7013
7044
|
}
|
|
7014
|
-
function
|
|
7045
|
+
function Pn(e) {
|
|
7015
7046
|
let t, r = (
|
|
7016
7047
|
/*birthMonth*/
|
|
7017
7048
|
e[89] + ""
|
|
@@ -7369,8 +7400,8 @@ function Rn(e) {
|
|
|
7369
7400
|
},
|
|
7370
7401
|
m(f, _) {
|
|
7371
7402
|
he(f, t, _), m(t, r), m(r, n), m(r, s), m(r, a), m(t, l), m(t, o);
|
|
7372
|
-
for (let
|
|
7373
|
-
h[
|
|
7403
|
+
for (let P = 0; P < h.length; P += 1)
|
|
7404
|
+
h[P] && h[P].m(o, null);
|
|
7374
7405
|
Fe(
|
|
7375
7406
|
o,
|
|
7376
7407
|
/*currencySelected*/
|
|
@@ -7384,7 +7415,7 @@ function Rn(e) {
|
|
|
7384
7415
|
), c = !0);
|
|
7385
7416
|
},
|
|
7386
7417
|
p(f, _) {
|
|
7387
|
-
var
|
|
7418
|
+
var P;
|
|
7388
7419
|
if (_[0] & /*$_*/
|
|
7389
7420
|
16777216 && i !== (i = /*$_*/
|
|
7390
7421
|
f[24]("registerCurrency") + "") && ie(n, i), _[0] & /*currencies*/
|
|
@@ -7409,7 +7440,7 @@ function Rn(e) {
|
|
|
7409
7440
|
f[20]
|
|
7410
7441
|
), _[0] & /*disabledFieldsList*/
|
|
7411
7442
|
2048 && u !== (u = "CurrencyContainer " + /*disabledFieldsList*/
|
|
7412
|
-
(((
|
|
7443
|
+
(((P = f[11]) == null ? void 0 : P.indexOf("currency")) >= 0 ? "Hidden" : "")) && M(t, "class", u);
|
|
7413
7444
|
},
|
|
7414
7445
|
d(f) {
|
|
7415
7446
|
f && ae(t), gr(h, f), c = !1, d();
|
|
@@ -7442,21 +7473,21 @@ function Un(e) {
|
|
|
7442
7473
|
};
|
|
7443
7474
|
}
|
|
7444
7475
|
function Qf(e) {
|
|
7445
|
-
var be, ht,
|
|
7476
|
+
var be, ht, Pt, Le, rr, ir, Bt;
|
|
7446
7477
|
let t, r, i, n, s, a, l, o, u, c = (
|
|
7447
7478
|
/*$_*/
|
|
7448
7479
|
e[24]("registerBackButton") + ""
|
|
7449
7480
|
), d, g, h, f = !/*disabledFieldsList*/
|
|
7450
|
-
(((be = e[11]) == null ? void 0 : be.indexOf("title")) >= 0), _,
|
|
7481
|
+
(((be = e[11]) == null ? void 0 : be.indexOf("title")) >= 0), _, P = !/*disabledFieldsList*/
|
|
7451
7482
|
(((ht = e[11]) == null ? void 0 : ht.indexOf("firstName")) >= 0), I, W = !/*disabledFieldsList*/
|
|
7452
|
-
(((
|
|
7483
|
+
(((Pt = e[11]) == null ? void 0 : Pt.indexOf("lastName")) >= 0), k, Z = !/*disabledFieldsList*/
|
|
7453
7484
|
(((Le = e[11]) == null ? void 0 : Le.indexOf("birthDate")) >= 0), J, de = !/*disabledFieldsList*/
|
|
7454
7485
|
(((rr = e[11]) == null ? void 0 : rr.indexOf("birthPlace")) >= 0), j, ee = !/*disabledFieldsList*/
|
|
7455
7486
|
(((ir = e[11]) == null ? void 0 : ir.indexOf("personalId")) >= 0), Me, Ee = !/*disabledFieldsList*/
|
|
7456
7487
|
(((Bt = e[11]) == null ? void 0 : Bt.indexOf("currency")) >= 0), $, me, Y = (
|
|
7457
7488
|
/*$_*/
|
|
7458
7489
|
e[24]("registerNext") + ""
|
|
7459
|
-
), ne, V, T, te, v = f && En(e), R =
|
|
7490
|
+
), ne, V, T, te, v = f && En(e), R = P && Tn(e), oe = W && Dn(e), ge = Z && kn(e), pe = de && Hn(e), _e = ee && An(e), U = Ee && Rn(e);
|
|
7460
7491
|
return {
|
|
7461
7492
|
c() {
|
|
7462
7493
|
t = S("div"), r = S("div"), i = S("button"), n = sr("svg"), s = sr("defs"), a = sr("style"), l = D(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));}"), o = sr("path"), u = re(), d = D(c), g = re(), h = S("form"), v && v.c(), _ = re(), R && R.c(), I = re(), oe && oe.c(), k = re(), ge && ge.c(), J = re(), pe && pe.c(), j = re(), _e && _e.c(), Me = re(), U && U.c(), $ = re(), me = S("button"), ne = D(Y), M(o, "class", "a"), M(o, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), M(o, "transform", "translate(24 24) rotate(180)"), M(n, "xmlns", "http://www.w3.org/2000/svg"), M(n, "viewBox", "0 0 24 24"), M(i, "class", "BackButton"), M(r, "class", "RegisterFormHeader"), M(me, "class", "RegisterStepNext"), me.disabled = V = !/*isValid*/
|
|
@@ -7485,8 +7516,8 @@ function Qf(e) {
|
|
|
7485
7516
|
F[24]("registerBackButton") + "") && ie(d, c), le[0] & /*disabledFieldsList*/
|
|
7486
7517
|
2048 && (f = !/*disabledFieldsList*/
|
|
7487
7518
|
(((We = F[11]) == null ? void 0 : We.indexOf("title")) >= 0)), f ? v ? v.p(F, le) : (v = En(F), v.c(), v.m(h, _)) : v && (v.d(1), v = null), le[0] & /*disabledFieldsList*/
|
|
7488
|
-
2048 && (
|
|
7489
|
-
(((Ct = F[11]) == null ? void 0 : Ct.indexOf("firstName")) >= 0)),
|
|
7519
|
+
2048 && (P = !/*disabledFieldsList*/
|
|
7520
|
+
(((Ct = F[11]) == null ? void 0 : Ct.indexOf("firstName")) >= 0)), P ? R ? R.p(F, le) : (R = Tn(F), R.c(), R.m(h, I)) : R && (R.d(1), R = null), le[0] & /*disabledFieldsList*/
|
|
7490
7521
|
2048 && (W = !/*disabledFieldsList*/
|
|
7491
7522
|
(((It = F[11]) == null ? void 0 : It.indexOf("lastName")) >= 0)), W ? oe ? oe.p(F, le) : (oe = Dn(F), oe.c(), oe.m(h, k)) : oe && (oe.d(1), oe = null), le[0] & /*disabledFieldsList*/
|
|
7492
7523
|
2048 && (Z = !/*disabledFieldsList*/
|
|
@@ -7512,7 +7543,7 @@ function Qf(e) {
|
|
|
7512
7543
|
function Kf(e, t, r) {
|
|
7513
7544
|
let i;
|
|
7514
7545
|
Aa(e, zf, (w) => r(24, i = w));
|
|
7515
|
-
let { endpoint: n = "" } = t, { lang: s = "" } = t, { licenseyears: a = "" } = t, { disabledfields: l = "" } = t, { personalidlength: o = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g = !1, h = !1, f = !1, _ = !1,
|
|
7546
|
+
let { endpoint: n = "" } = t, { lang: s = "" } = t, { licenseyears: a = "" } = t, { disabledfields: l = "" } = t, { personalidlength: o = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g = !1, h = !1, f = !1, _ = !1, P = !1, I = !1, W = !1, k = !1, Z = !1, J = !1, de, j = "", ee = "", Me = "", Ee = [
|
|
7516
7547
|
1,
|
|
7517
7548
|
2,
|
|
7518
7549
|
3,
|
|
@@ -7552,7 +7583,7 @@ function Kf(e, t, r) {
|
|
|
7552
7583
|
birthDate: !1,
|
|
7553
7584
|
currency: !1,
|
|
7554
7585
|
personalId: !1
|
|
7555
|
-
}, ht = !1,
|
|
7586
|
+
}, ht = !1, Pt = !0, Le;
|
|
7556
7587
|
const rr = () => {
|
|
7557
7588
|
fetch(d).then((se) => se.json()).then((se) => {
|
|
7558
7589
|
Object.keys(se).forEach((xe) => {
|
|
@@ -7569,7 +7600,7 @@ function Kf(e, t, r) {
|
|
|
7569
7600
|
pe = parseInt(y(oe.setDate(oe.getDate())).subtract(parseInt(a, 10), "y").format("YYYY")), ge = parseInt(y(oe.setDate(oe.getDate())).subtract(100 + parseInt(a, 10), "y").format("YYYY"));
|
|
7570
7601
|
for (let w = pe; w >= ge; w--)
|
|
7571
7602
|
ne.push(w);
|
|
7572
|
-
r(23,
|
|
7603
|
+
r(23, Pt = !1);
|
|
7573
7604
|
}, Bt = () => {
|
|
7574
7605
|
U.birth = {}, U.birth.day = $, U.birth.month = Y, U.birth.year = V, V && Y && $ ? (_e = y(oe.setDate(oe.getDate())).diff(y(`${V}-${Y}-${$}`, "YYYY-MM-DD"), "years").toString(), r(4, f = _e < a)) : r(4, f = !0), be.birthDate = !f, We();
|
|
7575
7606
|
}, F = () => {
|
|
@@ -7612,7 +7643,7 @@ function Kf(e, t, r) {
|
|
|
7612
7643
|
}, nr = () => (U.birthPlace = T, !!(T && T.length <= 120)), At = () => {
|
|
7613
7644
|
U.birthPlace = T, r(5, _ = !nr()), be.birthPlace = !_, We();
|
|
7614
7645
|
}, Gi = () => !!(R && R.length === Number(o) && /^\d+$/.test(R)), Wi = () => {
|
|
7615
|
-
U.personalId = R, r(6,
|
|
7646
|
+
U.personalId = R, r(6, P = !Gi()), be.personalId = Gi(), We();
|
|
7616
7647
|
}, ji = (w) => {
|
|
7617
7648
|
U.currency = v, w.preventDefault(), window.postMessage(
|
|
7618
7649
|
{
|
|
@@ -7696,7 +7727,7 @@ function Kf(e, t, r) {
|
|
|
7696
7727
|
v = Ft(this), r(20, v), r(19, te);
|
|
7697
7728
|
}
|
|
7698
7729
|
const ka = (w) => ji(w);
|
|
7699
|
-
function
|
|
7730
|
+
function Na(w) {
|
|
7700
7731
|
Jr[w ? "unshift" : "push"](() => {
|
|
7701
7732
|
Le = w, r(1, Le);
|
|
7702
7733
|
});
|
|
@@ -7721,7 +7752,7 @@ function Kf(e, t, r) {
|
|
|
7721
7752
|
h,
|
|
7722
7753
|
f,
|
|
7723
7754
|
_,
|
|
7724
|
-
|
|
7755
|
+
P,
|
|
7725
7756
|
W,
|
|
7726
7757
|
k,
|
|
7727
7758
|
Z,
|
|
@@ -7738,7 +7769,7 @@ function Kf(e, t, r) {
|
|
|
7738
7769
|
v,
|
|
7739
7770
|
R,
|
|
7740
7771
|
ht,
|
|
7741
|
-
|
|
7772
|
+
Pt,
|
|
7742
7773
|
i,
|
|
7743
7774
|
Ee,
|
|
7744
7775
|
me,
|
|
@@ -7776,7 +7807,7 @@ function Kf(e, t, r) {
|
|
|
7776
7807
|
Da,
|
|
7777
7808
|
Oa,
|
|
7778
7809
|
ka,
|
|
7779
|
-
|
|
7810
|
+
Na
|
|
7780
7811
|
];
|
|
7781
7812
|
}
|
|
7782
7813
|
class ed extends ro {
|