urfu-ui-kit-react 0.0.98 → 0.0.99
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/dist/urfu-ui-kit-react.js +69 -69
- package/package.json +1 -1
|
@@ -264,19 +264,19 @@ function Wi() {
|
|
|
264
264
|
} catch (st) {
|
|
265
265
|
if (st && ve && typeof st.stack == "string") {
|
|
266
266
|
for (var we = st.stack.split(`
|
|
267
|
-
`),
|
|
268
|
-
`), Be = we.length - 1,
|
|
269
|
-
|
|
270
|
-
for (; Be >= 1 &&
|
|
271
|
-
if (we[Be] !==
|
|
272
|
-
if (Be !== 1 ||
|
|
267
|
+
`), rt = ve.stack.split(`
|
|
268
|
+
`), Be = we.length - 1, Qe = rt.length - 1; Be >= 1 && Qe >= 0 && we[Be] !== rt[Qe]; )
|
|
269
|
+
Qe--;
|
|
270
|
+
for (; Be >= 1 && Qe >= 0; Be--, Qe--)
|
|
271
|
+
if (we[Be] !== rt[Qe]) {
|
|
272
|
+
if (Be !== 1 || Qe !== 1)
|
|
273
273
|
do
|
|
274
|
-
if (Be--,
|
|
274
|
+
if (Be--, Qe--, Qe < 0 || we[Be] !== rt[Qe]) {
|
|
275
275
|
var pt = `
|
|
276
276
|
` + we[Be].replace(" at new ", " at ");
|
|
277
277
|
return D.displayName && pt.includes("<anonymous>") && (pt = pt.replace("<anonymous>", D.displayName)), typeof D == "function" && Y.set(D, pt), pt;
|
|
278
278
|
}
|
|
279
|
-
while (Be >= 1 &&
|
|
279
|
+
while (Be >= 1 && Qe >= 0);
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
@@ -338,8 +338,8 @@ function Wi() {
|
|
|
338
338
|
var we = void 0;
|
|
339
339
|
try {
|
|
340
340
|
if (typeof D[xe] != "function") {
|
|
341
|
-
var
|
|
342
|
-
throw
|
|
341
|
+
var rt = Error((ve || "React class") + ": " + se + " type `" + xe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof D[xe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
342
|
+
throw rt.name = "Invariant Violation", rt;
|
|
343
343
|
}
|
|
344
344
|
we = D[xe](X, xe, ve, se, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
345
345
|
} catch (Be) {
|
|
@@ -455,8 +455,8 @@ function Wi() {
|
|
|
455
455
|
};
|
|
456
456
|
function Pe(D, X, se, ve, Ce) {
|
|
457
457
|
{
|
|
458
|
-
var Re, xe = {}, we = null,
|
|
459
|
-
se !== void 0 && (It(se), we = "" + se), K(X) && (It(X.key), we = "" + X.key), An(X) && (
|
|
458
|
+
var Re, xe = {}, we = null, rt = null;
|
|
459
|
+
se !== void 0 && (It(se), we = "" + se), K(X) && (It(X.key), we = "" + X.key), An(X) && (rt = X.ref, he(X, Ce));
|
|
460
460
|
for (Re in X)
|
|
461
461
|
ce.call(X, Re) && !Fn.hasOwnProperty(Re) && (xe[Re] = X[Re]);
|
|
462
462
|
if (D && D.defaultProps) {
|
|
@@ -464,23 +464,23 @@ function Wi() {
|
|
|
464
464
|
for (Re in Be)
|
|
465
465
|
xe[Re] === void 0 && (xe[Re] = Be[Re]);
|
|
466
466
|
}
|
|
467
|
-
if (we ||
|
|
468
|
-
var
|
|
469
|
-
we && Ne(xe,
|
|
467
|
+
if (we || rt) {
|
|
468
|
+
var Qe = typeof D == "function" ? D.displayName || D.name || "Unknown" : D;
|
|
469
|
+
we && Ne(xe, Qe), rt && fe(xe, Qe);
|
|
470
470
|
}
|
|
471
|
-
return Ge(D, we,
|
|
471
|
+
return Ge(D, we, rt, Ce, ve, lt.current, xe);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
var Ae = S.ReactCurrentOwner, ct = S.ReactDebugCurrentFrame;
|
|
475
|
-
function
|
|
475
|
+
function ze(D) {
|
|
476
476
|
if (D) {
|
|
477
477
|
var X = D._owner, se = Z(D.type, D._source, X ? X.type : null);
|
|
478
478
|
ct.setExtraStackFrame(se);
|
|
479
479
|
} else
|
|
480
480
|
ct.setExtraStackFrame(null);
|
|
481
481
|
}
|
|
482
|
-
var
|
|
483
|
-
|
|
482
|
+
var it;
|
|
483
|
+
it = !1;
|
|
484
484
|
function Ue(D) {
|
|
485
485
|
return typeof D == "object" && D !== null && D.$$typeof === a;
|
|
486
486
|
}
|
|
@@ -522,7 +522,7 @@ Check the top-level render call using <` + se + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
gn[se] = !0;
|
|
524
524
|
var ve = "";
|
|
525
|
-
D && D._owner && D._owner !== Ae.current && (ve = " It was passed a child from " + U(D._owner.type) + "."),
|
|
525
|
+
D && D._owner && D._owner !== Ae.current && (ve = " It was passed a child from " + U(D._owner.type) + "."), ze(D), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', se, ve), ze(null);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
function vn(D, X) {
|
|
@@ -561,8 +561,8 @@ Check the top-level render call using <` + se + ">.");
|
|
|
561
561
|
if (se) {
|
|
562
562
|
var ve = U(X);
|
|
563
563
|
pe(se, D.props, "prop", ve, D);
|
|
564
|
-
} else if (X.PropTypes !== void 0 && !
|
|
565
|
-
|
|
564
|
+
} else if (X.PropTypes !== void 0 && !it) {
|
|
565
|
+
it = !0;
|
|
566
566
|
var Ce = U(X);
|
|
567
567
|
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ce || "Unknown");
|
|
568
568
|
}
|
|
@@ -574,11 +574,11 @@ Check the top-level render call using <` + se + ">.");
|
|
|
574
574
|
for (var X = Object.keys(D.props), se = 0; se < X.length; se++) {
|
|
575
575
|
var ve = X[se];
|
|
576
576
|
if (ve !== "children" && ve !== "key") {
|
|
577
|
-
|
|
577
|
+
ze(D), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ve), ze(null);
|
|
578
578
|
break;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
D.ref !== null && (
|
|
581
|
+
D.ref !== null && (ze(D), P("Invalid attribute `ref` supplied to `React.Fragment`."), ze(null));
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
var Ca = {};
|
|
@@ -588,14 +588,14 @@ Check the top-level render call using <` + se + ">.");
|
|
|
588
588
|
if (!xe) {
|
|
589
589
|
var we = "";
|
|
590
590
|
(D === void 0 || typeof D == "object" && D !== null && Object.keys(D).length === 0) && (we += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
591
|
-
var
|
|
592
|
-
|
|
591
|
+
var rt = gt();
|
|
592
|
+
rt ? we += rt : we += je();
|
|
593
593
|
var Be;
|
|
594
594
|
D === null ? Be = "null" : Ie(D) ? Be = "array" : D !== void 0 && D.$$typeof === a ? (Be = "<" + (U(D.type) || "Unknown") + " />", we = " Did you accidentally export a JSX literal instead of a component?") : Be = typeof D, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Be, we);
|
|
595
595
|
}
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
598
|
-
return
|
|
596
|
+
var Qe = Pe(D, X, se, Ce, Re);
|
|
597
|
+
if (Qe == null)
|
|
598
|
+
return Qe;
|
|
599
599
|
if (xe) {
|
|
600
600
|
var pt = X.children;
|
|
601
601
|
if (pt !== void 0)
|
|
@@ -623,7 +623,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
623
623
|
<%s key={someKey} {...props} />`, Sr, Vt, Pi, Vt), Ca[Vt + Sr] = !0;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
return D === e ? Si(
|
|
626
|
+
return D === e ? Si(Qe) : Ci(Qe), Qe;
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
function Ei(D, X, se) {
|
|
@@ -6082,7 +6082,7 @@ function Mu(n) {
|
|
|
6082
6082
|
function wt(n, a) {
|
|
6083
6083
|
return n && a ? nl(n, a) : !n && !a;
|
|
6084
6084
|
}
|
|
6085
|
-
function
|
|
6085
|
+
function ot(n, a) {
|
|
6086
6086
|
return n && a ? el(n, a) : !n && !a;
|
|
6087
6087
|
}
|
|
6088
6088
|
function mr(n, a) {
|
|
@@ -6166,9 +6166,9 @@ function pi(n, a) {
|
|
|
6166
6166
|
minDate: e ? ei(e) : void 0,
|
|
6167
6167
|
maxDate: r ? rs(r) : void 0
|
|
6168
6168
|
}) || (o == null ? void 0 : o.some(function(l) {
|
|
6169
|
-
return
|
|
6169
|
+
return ot(n, l instanceof Date ? l : l.date);
|
|
6170
6170
|
})) || i && !i.some(function(l) {
|
|
6171
|
-
return
|
|
6171
|
+
return ot(n, l);
|
|
6172
6172
|
}) || s && !s(Te(n)) || !1;
|
|
6173
6173
|
}
|
|
6174
6174
|
function qn(n, a, t, e) {
|
|
@@ -6178,9 +6178,9 @@ function qn(n, a, t, e) {
|
|
|
6178
6178
|
function ju(n, a) {
|
|
6179
6179
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.maxDate, o = t.excludeDates, i = t.includeDates;
|
|
6180
6180
|
return In(n, { minDate: e, maxDate: r }) || o && o.some(function(s) {
|
|
6181
|
-
return
|
|
6181
|
+
return ot(s instanceof Date ? s : s.date, n);
|
|
6182
6182
|
}) || i && !i.some(function(s) {
|
|
6183
|
-
return
|
|
6183
|
+
return ot(s, n);
|
|
6184
6184
|
}) || !1;
|
|
6185
6185
|
}
|
|
6186
6186
|
function Vn(n, a) {
|
|
@@ -6777,13 +6777,13 @@ var Uu = (
|
|
|
6777
6777
|
(r = (e = t.props).onMouseLeave) === null || r === void 0 || r.call(e);
|
|
6778
6778
|
}, t.isRangeStartMonth = function(e) {
|
|
6779
6779
|
var r = t.props, o = r.day, i = r.startDate, s = r.endDate;
|
|
6780
|
-
return !i || !s ? !1 :
|
|
6780
|
+
return !i || !s ? !1 : ot(dt(o, e), i);
|
|
6781
6781
|
}, t.isRangeStartQuarter = function(e) {
|
|
6782
6782
|
var r = t.props, o = r.day, i = r.startDate, s = r.endDate;
|
|
6783
6783
|
return !i || !s ? !1 : mr(an(o, e), i);
|
|
6784
6784
|
}, t.isRangeEndMonth = function(e) {
|
|
6785
6785
|
var r = t.props, o = r.day, i = r.startDate, s = r.endDate;
|
|
6786
|
-
return !i || !s ? !1 :
|
|
6786
|
+
return !i || !s ? !1 : ot(dt(o, e), s);
|
|
6787
6787
|
}, t.isRangeEndQuarter = function(e) {
|
|
6788
6788
|
var r = t.props, o = r.day, i = r.startDate, s = r.endDate;
|
|
6789
6789
|
return !i || !s ? !1 : mr(an(o, e), s);
|
|
@@ -6795,19 +6795,19 @@ var Uu = (
|
|
|
6795
6795
|
if (!t.isInSelectingRangeMonth(e))
|
|
6796
6796
|
return !1;
|
|
6797
6797
|
var o = t.props, i = o.day, s = o.startDate, l = o.selectsStart, d = dt(i, e), u = (r = t.props.selectingDate) !== null && r !== void 0 ? r : t.props.preSelection;
|
|
6798
|
-
return l ?
|
|
6798
|
+
return l ? ot(d, u) : ot(d, s);
|
|
6799
6799
|
}, t.isSelectingMonthRangeEnd = function(e) {
|
|
6800
6800
|
var r;
|
|
6801
6801
|
if (!t.isInSelectingRangeMonth(e))
|
|
6802
6802
|
return !1;
|
|
6803
6803
|
var o = t.props, i = o.day, s = o.endDate, l = o.selectsEnd, d = o.selectsRange, u = dt(i, e), m = (r = t.props.selectingDate) !== null && r !== void 0 ? r : t.props.preSelection;
|
|
6804
|
-
return l || d ?
|
|
6804
|
+
return l || d ? ot(u, m) : ot(u, s);
|
|
6805
6805
|
}, t.isInSelectingRangeQuarter = function(e) {
|
|
6806
6806
|
var r, o = t.props, i = o.day, s = o.selectsStart, l = o.selectsEnd, d = o.selectsRange, u = o.startDate, m = o.endDate, g = (r = t.props.selectingDate) !== null && r !== void 0 ? r : t.props.preSelection;
|
|
6807
6807
|
return !(s || l || d) || !g ? !1 : s && m ? Qn(g, m, e, i) : l && u || d && u && !m ? Qn(u, g, e, i) : !1;
|
|
6808
6808
|
}, t.isWeekInMonth = function(e) {
|
|
6809
6809
|
var r = t.props.day, o = qt(e, 6);
|
|
6810
|
-
return
|
|
6810
|
+
return ot(e, r) || ot(o, r);
|
|
6811
6811
|
}, t.isCurrentMonth = function(e, r) {
|
|
6812
6812
|
return ye(e) === ye(Te()) && r === Je(Te());
|
|
6813
6813
|
}, t.isCurrentQuarter = function(e, r) {
|
|
@@ -7129,7 +7129,7 @@ var Ju = (
|
|
|
7129
7129
|
var e = n.call(this, t) || this;
|
|
7130
7130
|
return e.renderOptions = function() {
|
|
7131
7131
|
return e.state.monthYearsList.map(function(r) {
|
|
7132
|
-
var o = ea(r), i = wt(e.props.date, r) &&
|
|
7132
|
+
var o = ea(r), i = wt(e.props.date, r) && ot(e.props.date, r);
|
|
7133
7133
|
return L.createElement(
|
|
7134
7134
|
"div",
|
|
7135
7135
|
{ className: i ? "react-datepicker__month-year-option--selected_month-year" : "react-datepicker__month-year-option", key: o, onClick: e.onChange.bind(e, o), "aria-selected": i ? "true" : void 0 },
|
|
@@ -7187,7 +7187,7 @@ var Ju = (
|
|
|
7187
7187
|
}, t.onChange = function(e) {
|
|
7188
7188
|
t.toggleDropdown();
|
|
7189
7189
|
var r = Te(e);
|
|
7190
|
-
wt(t.props.date, r) &&
|
|
7190
|
+
wt(t.props.date, r) && ot(t.props.date, r) || t.props.onChange(r);
|
|
7191
7191
|
}, t.toggleDropdown = function() {
|
|
7192
7192
|
return t.setState({
|
|
7193
7193
|
dropdownVisible: !t.state.dropdownVisible
|
|
@@ -7922,7 +7922,7 @@ var ad = (
|
|
|
7922
7922
|
}, a.prototype.componentDidUpdate = function(t) {
|
|
7923
7923
|
var e = this;
|
|
7924
7924
|
if (this.props.preSelection && (!De(this.props.preSelection, t.preSelection) || this.props.monthSelectedIn !== t.monthSelectedIn)) {
|
|
7925
|
-
var r = !
|
|
7925
|
+
var r = !ot(this.state.date, this.props.preSelection);
|
|
7926
7926
|
this.setState({
|
|
7927
7927
|
date: this.props.preSelection
|
|
7928
7928
|
}, function() {
|
|
@@ -9395,11 +9395,11 @@ function Dn(n, a) {
|
|
|
9395
9395
|
const t = a % 10, e = a % 100;
|
|
9396
9396
|
return t === 1 && e !== 11 ? n.singularNominative.replace("{{count}}", String(a)) : t >= 2 && t <= 4 && (e < 10 || e > 20) ? n.singularGenitive.replace("{{count}}", String(a)) : n.pluralGenitive.replace("{{count}}", String(a));
|
|
9397
9397
|
}
|
|
9398
|
-
function
|
|
9398
|
+
function at(n) {
|
|
9399
9399
|
return (a, t) => t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? n.future ? Dn(n.future, a) : "через " + Dn(n.regular, a) : n.past ? Dn(n.past, a) : Dn(n.regular, a) + " назад" : Dn(n.regular, a);
|
|
9400
9400
|
}
|
|
9401
9401
|
const _d = {
|
|
9402
|
-
lessThanXSeconds:
|
|
9402
|
+
lessThanXSeconds: at({
|
|
9403
9403
|
regular: {
|
|
9404
9404
|
one: "меньше секунды",
|
|
9405
9405
|
singularNominative: "меньше {{count}} секунды",
|
|
@@ -9413,7 +9413,7 @@ const _d = {
|
|
|
9413
9413
|
pluralGenitive: "меньше, чем через {{count}} секунд"
|
|
9414
9414
|
}
|
|
9415
9415
|
}),
|
|
9416
|
-
xSeconds:
|
|
9416
|
+
xSeconds: at({
|
|
9417
9417
|
regular: {
|
|
9418
9418
|
singularNominative: "{{count}} секунда",
|
|
9419
9419
|
singularGenitive: "{{count}} секунды",
|
|
@@ -9431,7 +9431,7 @@ const _d = {
|
|
|
9431
9431
|
}
|
|
9432
9432
|
}),
|
|
9433
9433
|
halfAMinute: (n, a) => a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "через полминуты" : "полминуты назад" : "полминуты",
|
|
9434
|
-
lessThanXMinutes:
|
|
9434
|
+
lessThanXMinutes: at({
|
|
9435
9435
|
regular: {
|
|
9436
9436
|
one: "меньше минуты",
|
|
9437
9437
|
singularNominative: "меньше {{count}} минуты",
|
|
@@ -9445,7 +9445,7 @@ const _d = {
|
|
|
9445
9445
|
pluralGenitive: "меньше, чем через {{count}} минут"
|
|
9446
9446
|
}
|
|
9447
9447
|
}),
|
|
9448
|
-
xMinutes:
|
|
9448
|
+
xMinutes: at({
|
|
9449
9449
|
regular: {
|
|
9450
9450
|
singularNominative: "{{count}} минута",
|
|
9451
9451
|
singularGenitive: "{{count}} минуты",
|
|
@@ -9462,7 +9462,7 @@ const _d = {
|
|
|
9462
9462
|
pluralGenitive: "через {{count}} минут"
|
|
9463
9463
|
}
|
|
9464
9464
|
}),
|
|
9465
|
-
aboutXHours:
|
|
9465
|
+
aboutXHours: at({
|
|
9466
9466
|
regular: {
|
|
9467
9467
|
singularNominative: "около {{count}} часа",
|
|
9468
9468
|
singularGenitive: "около {{count}} часов",
|
|
@@ -9474,21 +9474,21 @@ const _d = {
|
|
|
9474
9474
|
pluralGenitive: "приблизительно через {{count}} часов"
|
|
9475
9475
|
}
|
|
9476
9476
|
}),
|
|
9477
|
-
xHours:
|
|
9477
|
+
xHours: at({
|
|
9478
9478
|
regular: {
|
|
9479
9479
|
singularNominative: "{{count}} час",
|
|
9480
9480
|
singularGenitive: "{{count}} часа",
|
|
9481
9481
|
pluralGenitive: "{{count}} часов"
|
|
9482
9482
|
}
|
|
9483
9483
|
}),
|
|
9484
|
-
xDays:
|
|
9484
|
+
xDays: at({
|
|
9485
9485
|
regular: {
|
|
9486
9486
|
singularNominative: "{{count}} день",
|
|
9487
9487
|
singularGenitive: "{{count}} дня",
|
|
9488
9488
|
pluralGenitive: "{{count}} дней"
|
|
9489
9489
|
}
|
|
9490
9490
|
}),
|
|
9491
|
-
aboutXWeeks:
|
|
9491
|
+
aboutXWeeks: at({
|
|
9492
9492
|
regular: {
|
|
9493
9493
|
singularNominative: "около {{count}} недели",
|
|
9494
9494
|
singularGenitive: "около {{count}} недель",
|
|
@@ -9500,14 +9500,14 @@ const _d = {
|
|
|
9500
9500
|
pluralGenitive: "приблизительно через {{count}} недель"
|
|
9501
9501
|
}
|
|
9502
9502
|
}),
|
|
9503
|
-
xWeeks:
|
|
9503
|
+
xWeeks: at({
|
|
9504
9504
|
regular: {
|
|
9505
9505
|
singularNominative: "{{count}} неделя",
|
|
9506
9506
|
singularGenitive: "{{count}} недели",
|
|
9507
9507
|
pluralGenitive: "{{count}} недель"
|
|
9508
9508
|
}
|
|
9509
9509
|
}),
|
|
9510
|
-
aboutXMonths:
|
|
9510
|
+
aboutXMonths: at({
|
|
9511
9511
|
regular: {
|
|
9512
9512
|
singularNominative: "около {{count}} месяца",
|
|
9513
9513
|
singularGenitive: "около {{count}} месяцев",
|
|
@@ -9519,14 +9519,14 @@ const _d = {
|
|
|
9519
9519
|
pluralGenitive: "приблизительно через {{count}} месяцев"
|
|
9520
9520
|
}
|
|
9521
9521
|
}),
|
|
9522
|
-
xMonths:
|
|
9522
|
+
xMonths: at({
|
|
9523
9523
|
regular: {
|
|
9524
9524
|
singularNominative: "{{count}} месяц",
|
|
9525
9525
|
singularGenitive: "{{count}} месяца",
|
|
9526
9526
|
pluralGenitive: "{{count}} месяцев"
|
|
9527
9527
|
}
|
|
9528
9528
|
}),
|
|
9529
|
-
aboutXYears:
|
|
9529
|
+
aboutXYears: at({
|
|
9530
9530
|
regular: {
|
|
9531
9531
|
singularNominative: "около {{count}} года",
|
|
9532
9532
|
singularGenitive: "около {{count}} лет",
|
|
@@ -9538,14 +9538,14 @@ const _d = {
|
|
|
9538
9538
|
pluralGenitive: "приблизительно через {{count}} лет"
|
|
9539
9539
|
}
|
|
9540
9540
|
}),
|
|
9541
|
-
xYears:
|
|
9541
|
+
xYears: at({
|
|
9542
9542
|
regular: {
|
|
9543
9543
|
singularNominative: "{{count}} год",
|
|
9544
9544
|
singularGenitive: "{{count}} года",
|
|
9545
9545
|
pluralGenitive: "{{count}} лет"
|
|
9546
9546
|
}
|
|
9547
9547
|
}),
|
|
9548
|
-
overXYears:
|
|
9548
|
+
overXYears: at({
|
|
9549
9549
|
regular: {
|
|
9550
9550
|
singularNominative: "больше {{count}} года",
|
|
9551
9551
|
singularGenitive: "больше {{count}} лет",
|
|
@@ -9557,7 +9557,7 @@ const _d = {
|
|
|
9557
9557
|
pluralGenitive: "больше, чем через {{count}} лет"
|
|
9558
9558
|
}
|
|
9559
9559
|
}),
|
|
9560
|
-
almostXYears:
|
|
9560
|
+
almostXYears: at({
|
|
9561
9561
|
regular: {
|
|
9562
9562
|
singularNominative: "почти {{count}} год",
|
|
9563
9563
|
singularGenitive: "почти {{count}} года",
|
|
@@ -13092,7 +13092,7 @@ const Rf = (n, a, t, e) => {
|
|
|
13092
13092
|
) : Array.isArray(je) ? !je.every((gt) => I[Ue].includes(gt)) : typeof je == "object" && je !== null && "title" in je ? !I[Ue].includes(je.title) : !I[Ue].includes(
|
|
13093
13093
|
je == null || typeof je == "string" && je.length === 0 ? q : je
|
|
13094
13094
|
);
|
|
13095
|
-
}),
|
|
13095
|
+
}), ze = K.length === 0 || Object.keys(Ae).some(
|
|
13096
13096
|
(Ue) => K.some(
|
|
13097
13097
|
(je) => je.id === Ue && jf(
|
|
13098
13098
|
Ae[Ue],
|
|
@@ -13101,25 +13101,25 @@ const Rf = (n, a, t, e) => {
|
|
|
13101
13101
|
je.end
|
|
13102
13102
|
)
|
|
13103
13103
|
)
|
|
13104
|
-
),
|
|
13104
|
+
), it = K.some(
|
|
13105
13105
|
(Ue) => Ue.type === "except" && !Object.keys(Ae).includes(Ue.id)
|
|
13106
13106
|
);
|
|
13107
|
-
return ct && (
|
|
13107
|
+
return ct && (ze || it);
|
|
13108
13108
|
}, Ne = (Pe, Ae) => {
|
|
13109
13109
|
if (Pe.customOrderSort || Ae.customOrderSort)
|
|
13110
13110
|
return (Pe.customOrderSort || 0) > (Ae.customOrderSort || 0) ? -1 : 1;
|
|
13111
13111
|
const ct = (Wn) => {
|
|
13112
13112
|
const ut = j.length > 0 ? Wn[j][V.column] : Wn[V.column];
|
|
13113
13113
|
return Array.isArray(ut) ? ut.length > 0 && ut.every((vn) => typeof vn == "object" && "title" in vn) ? ut[0].title : ut[0] : typeof ut == "object" && ut !== null && "title" in ut ? ut.title : ut;
|
|
13114
|
-
},
|
|
13115
|
-
if (typeof
|
|
13116
|
-
return V.asc ?
|
|
13117
|
-
const Ue = typeof
|
|
13114
|
+
}, ze = ct(Pe), it = ct(Ae);
|
|
13115
|
+
if (typeof ze == "boolean" && typeof it == "boolean")
|
|
13116
|
+
return V.asc ? ze === it ? 0 : ze ? 1 : -1 : ze === it ? 0 : ze ? -1 : 1;
|
|
13117
|
+
const Ue = typeof ze == "number" ? ze : void 0, je = typeof it == "number" ? it : void 0;
|
|
13118
13118
|
if (!isNaN(Ue) && !isNaN(je))
|
|
13119
13119
|
return V.asc ? Ue - je : je - Ue;
|
|
13120
|
-
if (
|
|
13121
|
-
if (
|
|
13122
|
-
const gt =
|
|
13120
|
+
if (ze == null) return V.asc ? -1 : 1;
|
|
13121
|
+
if (it == null) return V.asc ? 1 : -1;
|
|
13122
|
+
const gt = ze.toString().toLowerCase(), gn = it.toString().toLowerCase();
|
|
13123
13123
|
return gt < gn ? V.asc ? -1 : 1 : gt > gn ? V.asc ? 1 : -1 : 0;
|
|
13124
13124
|
};
|
|
13125
13125
|
let Ge = [...H ? n == null ? void 0 : n.map((Pe) => {
|