@eliseubatista99/react-scaffold-core 0.1.55 → 0.1.57
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/components/form/form.hook.d.ts +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.es.js +336 -332
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as D from "react";
|
|
2
|
-
import q, { forwardRef as On, useContext as Yt, useEffect as Ir, useState as kn, useMemo as Ar, useCallback as
|
|
2
|
+
import q, { forwardRef as On, useContext as Yt, useEffect as Ir, useState as kn, useMemo as Ar, useCallback as _e } from "react";
|
|
3
3
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function qt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -175,7 +175,7 @@ function En() {
|
|
|
175
175
|
}
|
|
176
176
|
function l() {
|
|
177
177
|
var n = e(this.type);
|
|
178
|
-
return
|
|
178
|
+
return T[n] || (T[n] = !0, console.error(
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
@@ -215,7 +215,7 @@ function En() {
|
|
|
215
215
|
var B = f.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
217
|
if ($)
|
|
218
|
-
if (
|
|
218
|
+
if (_(B)) {
|
|
219
219
|
for ($ = 0; $ < B.length; $++)
|
|
220
220
|
x(B[$]);
|
|
221
221
|
Object.freeze && Object.freeze(B);
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function x(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var j = q, M = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), k = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty,
|
|
267
|
+
var j = q, M = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), k = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, _ = Array.isArray, R = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
j = {
|
|
@@ -272,10 +272,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var C,
|
|
275
|
+
var C, T = {}, o = j["react-stack-bottom-frame"].bind(
|
|
276
276
|
j,
|
|
277
277
|
s
|
|
278
|
-
)(), H =
|
|
278
|
+
)(), H = R(a(s)), m = {};
|
|
279
279
|
ze.Fragment = p, ze.jsx = function(n, f, S, $, L) {
|
|
280
280
|
var z = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
@@ -286,7 +286,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
286
286
|
$,
|
|
287
287
|
L,
|
|
288
288
|
z ? Error("react-stack-top-frame") : o,
|
|
289
|
-
z ?
|
|
289
|
+
z ? R(a(n)) : H
|
|
290
290
|
);
|
|
291
291
|
}, ze.jsxs = function(n, f, S, $, L) {
|
|
292
292
|
var z = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
@@ -298,16 +298,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
298
298
|
$,
|
|
299
299
|
L,
|
|
300
300
|
z ? Error("react-stack-top-frame") : o,
|
|
301
|
-
z ?
|
|
301
|
+
z ? R(a(n)) : H
|
|
302
302
|
);
|
|
303
303
|
};
|
|
304
304
|
}()), ze;
|
|
305
305
|
}
|
|
306
306
|
var ir;
|
|
307
|
-
function
|
|
307
|
+
function _n() {
|
|
308
308
|
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Pn() : nt.exports = En()), nt.exports;
|
|
309
309
|
}
|
|
310
|
-
var K =
|
|
310
|
+
var K = _n();
|
|
311
311
|
const Zo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ K.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
@@ -330,8 +330,8 @@ const Zo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ K.jsx(
|
|
|
330
330
|
children: e
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
|
-
var Pt = {}, Et = {}, Ne = {},
|
|
334
|
-
function
|
|
333
|
+
var Pt = {}, Et = {}, Ne = {}, _t = {}, ar;
|
|
334
|
+
function Rn() {
|
|
335
335
|
return ar || (ar = 1, function(e) {
|
|
336
336
|
Object.defineProperty(e, "__esModule", {
|
|
337
337
|
value: !0
|
|
@@ -368,34 +368,34 @@ function Tn() {
|
|
|
368
368
|
targetSlide: 0
|
|
369
369
|
};
|
|
370
370
|
e.default = t;
|
|
371
|
-
}(
|
|
371
|
+
}(_t)), _t;
|
|
372
372
|
}
|
|
373
|
-
var
|
|
374
|
-
function
|
|
375
|
-
if (or) return
|
|
373
|
+
var Rt, or;
|
|
374
|
+
function Tn() {
|
|
375
|
+
if (or) return Rt;
|
|
376
376
|
or = 1;
|
|
377
377
|
var e = "Expected a function", t = NaN, r = "[object Symbol]", a = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = l || h || Function("return this")(), x = Object.prototype, j = x.toString, M = Math.max, E = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, b, w) {
|
|
381
|
-
var P, y, d, k, A,
|
|
381
|
+
var P, y, d, k, A, _, R = 0, C = !1, T = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
b = V(b) || 0, O(w) && (C = !!w.leading,
|
|
384
|
+
b = V(b) || 0, O(w) && (C = !!w.leading, T = "maxWait" in w, d = T ? M(V(w.maxWait) || 0, b) : d, o = "trailing" in w ? !!w.trailing : o);
|
|
385
385
|
function H(W) {
|
|
386
386
|
var B = P, G = y;
|
|
387
|
-
return P = y = void 0,
|
|
387
|
+
return P = y = void 0, R = W, k = v.apply(G, B), k;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
|
-
return
|
|
390
|
+
return R = W, A = setTimeout(S, b), C ? H(W) : k;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
|
-
var B = W -
|
|
394
|
-
return
|
|
393
|
+
var B = W - _, G = W - R, X = b - B;
|
|
394
|
+
return T ? E(X, d - G) : X;
|
|
395
395
|
}
|
|
396
396
|
function f(W) {
|
|
397
|
-
var B = W -
|
|
398
|
-
return
|
|
397
|
+
var B = W - _, G = W - R;
|
|
398
|
+
return _ === void 0 || B >= b || B < 0 || T && G >= d;
|
|
399
399
|
}
|
|
400
400
|
function S() {
|
|
401
401
|
var W = p();
|
|
@@ -407,18 +407,18 @@ function _n() {
|
|
|
407
407
|
return A = void 0, o && P ? H(W) : (P = y = void 0, k);
|
|
408
408
|
}
|
|
409
409
|
function L() {
|
|
410
|
-
A !== void 0 && clearTimeout(A),
|
|
410
|
+
A !== void 0 && clearTimeout(A), R = 0, P = _ = y = A = void 0;
|
|
411
411
|
}
|
|
412
412
|
function z() {
|
|
413
413
|
return A === void 0 ? k : $(p());
|
|
414
414
|
}
|
|
415
415
|
function N() {
|
|
416
416
|
var W = p(), B = f(W);
|
|
417
|
-
if (P = arguments, y = this,
|
|
417
|
+
if (P = arguments, y = this, _ = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
419
|
-
return m(
|
|
420
|
-
if (
|
|
421
|
-
return A = setTimeout(S, b), H(
|
|
419
|
+
return m(_);
|
|
420
|
+
if (T)
|
|
421
|
+
return A = setTimeout(S, b), H(_);
|
|
422
422
|
}
|
|
423
423
|
return A === void 0 && (A = setTimeout(S, b)), k;
|
|
424
424
|
}
|
|
@@ -449,9 +449,9 @@ function _n() {
|
|
|
449
449
|
var w = s.test(v);
|
|
450
450
|
return w || c.test(v) ? u(v.slice(2), w ? 2 : 8) : i.test(v) ? t : +v;
|
|
451
451
|
}
|
|
452
|
-
return
|
|
452
|
+
return Rt = I, Rt;
|
|
453
453
|
}
|
|
454
|
-
var
|
|
454
|
+
var Tt = { exports: {} };
|
|
455
455
|
/*!
|
|
456
456
|
Copyright (c) 2018 Jed Watson.
|
|
457
457
|
Licensed under the MIT License (MIT), see
|
|
@@ -488,7 +488,7 @@ function yt() {
|
|
|
488
488
|
}
|
|
489
489
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
490
490
|
})();
|
|
491
|
-
}(
|
|
491
|
+
}(Tt)), Tt.exports;
|
|
492
492
|
}
|
|
493
493
|
var Y = {}, jt = {}, lr;
|
|
494
494
|
function Hr() {
|
|
@@ -748,7 +748,7 @@ function Ke() {
|
|
|
748
748
|
N = f.index * f.slidesToScroll;
|
|
749
749
|
else if (f.message === "children") {
|
|
750
750
|
if (N = f.index, Z) {
|
|
751
|
-
var ee =
|
|
751
|
+
var ee = R(s(s({}, n), {}, {
|
|
752
752
|
targetSlide: N
|
|
753
753
|
}));
|
|
754
754
|
N > f.currentSlide && ee === "left" ? N = N - G : N < f.currentSlide && ee === "right" && (N = N + G);
|
|
@@ -872,7 +872,7 @@ function Ke() {
|
|
|
872
872
|
w(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
873
873
|
var f, S;
|
|
874
874
|
if (!n.vertical)
|
|
875
|
-
f =
|
|
875
|
+
f = _(n) * n.slideWidth;
|
|
876
876
|
else {
|
|
877
877
|
var $ = n.unslick ? n.slideCount : n.slideCount + 2 * n.slidesToShow;
|
|
878
878
|
S = $ * n.slideHeight;
|
|
@@ -920,10 +920,10 @@ function Ke() {
|
|
|
920
920
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
921
921
|
}, A = Y.getPostClones = function(n) {
|
|
922
922
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
923
|
-
},
|
|
923
|
+
}, _ = Y.getTotalSlides = function(n) {
|
|
924
924
|
return n.slideCount === 1 ? 1 : k(n) + n.slideCount + A(n);
|
|
925
|
-
},
|
|
926
|
-
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + C(n) ? "left" : "right" : n.targetSlide < n.currentSlide -
|
|
925
|
+
}, R = Y.siblingDirection = function(n) {
|
|
926
|
+
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + C(n) ? "left" : "right" : n.targetSlide < n.currentSlide - T(n) ? "right" : "left";
|
|
927
927
|
}, C = Y.slidesOnRight = function(n) {
|
|
928
928
|
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
929
929
|
if (S) {
|
|
@@ -931,7 +931,7 @@ function Ke() {
|
|
|
931
931
|
return parseInt(L) > 0 && (z += 1), $ && f % 2 === 0 && (z += 1), z;
|
|
932
932
|
}
|
|
933
933
|
return $ ? 0 : f - 1;
|
|
934
|
-
},
|
|
934
|
+
}, T = Y.slidesOnLeft = function(n) {
|
|
935
935
|
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
936
936
|
if (S) {
|
|
937
937
|
var z = (f - 1) / 2 + 1;
|
|
@@ -1004,8 +1004,8 @@ function jn() {
|
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var k, A = p(y);
|
|
1006
1006
|
if (d) {
|
|
1007
|
-
var
|
|
1008
|
-
k = Reflect.construct(A, arguments,
|
|
1007
|
+
var _ = p(this).constructor;
|
|
1008
|
+
k = Reflect.construct(A, arguments, _);
|
|
1009
1009
|
} else k = A.apply(this, arguments);
|
|
1010
1010
|
return j(this, k);
|
|
1011
1011
|
};
|
|
@@ -1038,8 +1038,8 @@ function jn() {
|
|
|
1038
1038
|
var k = Object.keys(y);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
1040
|
var A = Object.getOwnPropertySymbols(y);
|
|
1041
|
-
d && (A = A.filter(function(
|
|
1042
|
-
return Object.getOwnPropertyDescriptor(y,
|
|
1041
|
+
d && (A = A.filter(function(_) {
|
|
1042
|
+
return Object.getOwnPropertyDescriptor(y, _).enumerable;
|
|
1043
1043
|
})), k.push.apply(k, A);
|
|
1044
1044
|
}
|
|
1045
1045
|
return k;
|
|
@@ -1073,16 +1073,16 @@ function jn() {
|
|
|
1073
1073
|
return (d === "string" ? String : Number)(y);
|
|
1074
1074
|
}
|
|
1075
1075
|
var v = function(d) {
|
|
1076
|
-
var k, A,
|
|
1077
|
-
d.rtl ? C = d.slideCount - 1 - d.index : C = d.index,
|
|
1078
|
-
var
|
|
1079
|
-
d.targetSlide < 0 ?
|
|
1080
|
-
var o = C ===
|
|
1076
|
+
var k, A, _, R, C;
|
|
1077
|
+
d.rtl ? C = d.slideCount - 1 - d.index : C = d.index, _ = C < 0 || C >= d.slideCount, d.centerMode ? (R = Math.floor(d.slidesToShow / 2), A = (C - d.currentSlide) % d.slideCount === 0, C > d.currentSlide - R - 1 && C <= d.currentSlide + R && (k = !0)) : k = d.currentSlide <= C && C < d.currentSlide + d.slidesToShow;
|
|
1078
|
+
var T;
|
|
1079
|
+
d.targetSlide < 0 ? T = d.targetSlide + d.slideCount : d.targetSlide >= d.slideCount ? T = d.targetSlide - d.slideCount : T = d.targetSlide;
|
|
1080
|
+
var o = C === T;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
1083
1083
|
"slick-active": k,
|
|
1084
1084
|
"slick-center": A,
|
|
1085
|
-
"slick-cloned":
|
|
1085
|
+
"slick-cloned": _,
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
@@ -1092,7 +1092,7 @@ function jn() {
|
|
|
1092
1092
|
}, w = function(d, k) {
|
|
1093
1093
|
return d.key || k;
|
|
1094
1094
|
}, P = function(d) {
|
|
1095
|
-
var k, A = [],
|
|
1095
|
+
var k, A = [], _ = [], R = [], C = e.default.Children.count(d.children), T = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
1096
1096
|
return e.default.Children.forEach(d.children, function(H, m) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
@@ -1120,9 +1120,9 @@ function jn() {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
})), d.infinite && C > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
1122
|
var z = C - m;
|
|
1123
|
-
z <= (0, r.getPreClones)(d) && (k = -z, k >=
|
|
1123
|
+
z <= (0, r.getPreClones)(d) && (k = -z, k >= T && (n = H), L = v(O(O({}, d), {}, {
|
|
1124
1124
|
index: k
|
|
1125
|
-
})),
|
|
1125
|
+
})), _.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
1126
|
key: "precloned" + w(n, k),
|
|
1127
1127
|
"data-index": k,
|
|
1128
1128
|
tabIndex: "-1",
|
|
@@ -1134,7 +1134,7 @@ function jn() {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
}))), m < (0, r.getPostClones)(d) && (k = C + m, k < o && (n = H), L = v(O(O({}, d), {}, {
|
|
1136
1136
|
index: k
|
|
1137
|
-
})),
|
|
1137
|
+
})), R.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
1138
|
key: "postcloned" + w(n, k),
|
|
1139
1139
|
"data-index": k,
|
|
1140
1140
|
tabIndex: "-1",
|
|
@@ -1146,7 +1146,7 @@ function jn() {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
1149
|
-
}), d.rtl ?
|
|
1149
|
+
}), d.rtl ? _.concat(A, R).reverse() : _.concat(A, R);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1152
1152
|
h(k, y);
|
|
@@ -1154,25 +1154,25 @@ function jn() {
|
|
|
1154
1154
|
function k() {
|
|
1155
1155
|
var A;
|
|
1156
1156
|
c(this, k);
|
|
1157
|
-
for (var
|
|
1158
|
-
|
|
1159
|
-
return A = d.call.apply(d, [this].concat(
|
|
1160
|
-
A.node =
|
|
1157
|
+
for (var _ = arguments.length, R = new Array(_), C = 0; C < _; C++)
|
|
1158
|
+
R[C] = arguments[C];
|
|
1159
|
+
return A = d.call.apply(d, [this].concat(R)), F(M(A), "node", null), F(M(A), "handleRef", function(T) {
|
|
1160
|
+
A.node = T;
|
|
1161
1161
|
}), A;
|
|
1162
1162
|
}
|
|
1163
1163
|
return l(k, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
|
-
var
|
|
1166
|
+
var _ = P(this.props), R = this.props, C = R.onMouseEnter, T = R.onMouseOver, o = R.onMouseLeave, H = {
|
|
1167
1167
|
onMouseEnter: C,
|
|
1168
|
-
onMouseOver:
|
|
1168
|
+
onMouseOver: T,
|
|
1169
1169
|
onMouseLeave: o
|
|
1170
1170
|
};
|
|
1171
1171
|
return /* @__PURE__ */ e.default.createElement("div", s({
|
|
1172
1172
|
ref: this.handleRef,
|
|
1173
1173
|
className: "slick-track",
|
|
1174
1174
|
style: this.props.trackStyle
|
|
1175
|
-
}, H),
|
|
1175
|
+
}, H), _);
|
|
1176
1176
|
}
|
|
1177
1177
|
}]), k;
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
@@ -1308,22 +1308,22 @@ function Ln() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var y = this.props, d = y.onMouseEnter, k = y.onMouseOver, A = y.onMouseLeave,
|
|
1312
|
-
slideCount:
|
|
1313
|
-
slidesToScroll:
|
|
1311
|
+
for (var y = this.props, d = y.onMouseEnter, k = y.onMouseOver, A = y.onMouseLeave, _ = y.infinite, R = y.slidesToScroll, C = y.slidesToShow, T = y.slideCount, o = y.currentSlide, H = V({
|
|
1312
|
+
slideCount: T,
|
|
1313
|
+
slidesToScroll: R,
|
|
1314
1314
|
slidesToShow: C,
|
|
1315
|
-
infinite:
|
|
1315
|
+
infinite: _
|
|
1316
1316
|
}), m = {
|
|
1317
1317
|
onMouseEnter: d,
|
|
1318
1318
|
onMouseOver: k,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
1320
|
}, n = [], f = 0; f < H; f++) {
|
|
1321
|
-
var S = (f + 1) *
|
|
1322
|
-
"slick-active":
|
|
1321
|
+
var S = (f + 1) * R - 1, $ = _ ? S : (0, a.clamp)(S, 0, T - 1), L = $ - (R - 1), z = _ ? L : (0, a.clamp)(L, 0, T - 1), N = (0, r.default)({
|
|
1322
|
+
"slick-active": _ ? o >= z && o <= $ : o === z
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
1325
1325
|
index: f,
|
|
1326
|
-
slidesToScroll:
|
|
1326
|
+
slidesToScroll: R,
|
|
1327
1327
|
currentSlide: o
|
|
1328
1328
|
}, B = this.clickHandler.bind(this, W);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
@@ -1495,11 +1495,11 @@ function Dn() {
|
|
|
1495
1495
|
}, A = {
|
|
1496
1496
|
currentSlide: this.props.currentSlide,
|
|
1497
1497
|
slideCount: this.props.slideCount
|
|
1498
|
-
},
|
|
1499
|
-
return this.props.prevArrow ?
|
|
1498
|
+
}, _;
|
|
1499
|
+
return this.props.prevArrow ? _ = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, k), A)) : _ = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1500
1500
|
key: "0",
|
|
1501
1501
|
type: "button"
|
|
1502
|
-
}, k), " ", "Previous"),
|
|
1502
|
+
}, k), " ", "Previous"), _;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), w;
|
|
1505
1505
|
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(v) {
|
|
@@ -1534,11 +1534,11 @@ function Dn() {
|
|
|
1534
1534
|
}, A = {
|
|
1535
1535
|
currentSlide: this.props.currentSlide,
|
|
1536
1536
|
slideCount: this.props.slideCount
|
|
1537
|
-
},
|
|
1538
|
-
return this.props.nextArrow ?
|
|
1537
|
+
}, _;
|
|
1538
|
+
return this.props.nextArrow ? _ = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, k), A)) : _ = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1539
1539
|
key: "1",
|
|
1540
1540
|
type: "button"
|
|
1541
|
-
}, k), " ", "Next"),
|
|
1541
|
+
}, k), " ", "Next"), _;
|
|
1542
1542
|
}
|
|
1543
1543
|
}]), w;
|
|
1544
1544
|
}(t.default.PureComponent), Ee;
|
|
@@ -1668,7 +1668,7 @@ var An = 20, Hn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1668
1668
|
});
|
|
1669
1669
|
}
|
|
1670
1670
|
return e;
|
|
1671
|
-
},
|
|
1671
|
+
}, Te = function(e) {
|
|
1672
1672
|
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
1673
1673
|
return t || pt;
|
|
1674
1674
|
}, Fr = bt(0, 0, 0, 0);
|
|
@@ -1698,7 +1698,7 @@ function Un(e) {
|
|
|
1698
1698
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1699
1699
|
if (!t && !r)
|
|
1700
1700
|
return Fr;
|
|
1701
|
-
var a =
|
|
1701
|
+
var a = Te(e).getComputedStyle(e), i = Fn(a), s = i.left + i.right, c = i.top + i.bottom, u = mt(a.width), l = mt(a.height);
|
|
1702
1702
|
if (a.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(a, "left", "right") + s), Math.round(l + c) !== r && (l -= hr(a, "top", "bottom") + c)), !qn(e)) {
|
|
1703
1703
|
var h = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
1704
1704
|
Math.abs(h) !== 1 && (u -= h), Math.abs(g) !== 1 && (l -= g);
|
|
@@ -1707,13 +1707,13 @@ function Un(e) {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
var Yn = /* @__PURE__ */ function() {
|
|
1709
1709
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1710
|
-
return e instanceof
|
|
1710
|
+
return e instanceof Te(e).SVGGraphicsElement;
|
|
1711
1711
|
} : function(e) {
|
|
1712
|
-
return e instanceof
|
|
1712
|
+
return e instanceof Te(e).SVGElement && typeof e.getBBox == "function";
|
|
1713
1713
|
};
|
|
1714
1714
|
}();
|
|
1715
1715
|
function qn(e) {
|
|
1716
|
-
return e ===
|
|
1716
|
+
return e === Te(e).document.documentElement;
|
|
1717
1717
|
}
|
|
1718
1718
|
function Bn(e) {
|
|
1719
1719
|
return At ? Yn(e) ? Wn(e) : Un(e) : Fr;
|
|
@@ -1769,7 +1769,7 @@ var Xn = (
|
|
|
1769
1769
|
if (!arguments.length)
|
|
1770
1770
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1771
1771
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1772
|
-
if (!(t instanceof
|
|
1772
|
+
if (!(t instanceof Te(t).Element))
|
|
1773
1773
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1774
1774
|
var r = this.observations_;
|
|
1775
1775
|
r.has(t) || (r.set(t, new Xn(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
@@ -1778,7 +1778,7 @@ var Xn = (
|
|
|
1778
1778
|
if (!arguments.length)
|
|
1779
1779
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1780
1780
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1781
|
-
if (!(t instanceof
|
|
1781
|
+
if (!(t instanceof Te(t).Element))
|
|
1782
1782
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1783
1783
|
var r = this.observations_;
|
|
1784
1784
|
r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
|
|
@@ -1840,148 +1840,148 @@ function ei() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = h(q), t = h(
|
|
1844
|
-
function h(
|
|
1845
|
-
return
|
|
1843
|
+
var e = h(q), t = h(Rn()), r = h(Tn()), a = h(yt()), i = Ke(), s = jn(), c = Ln(), u = Dn(), l = h(Qn);
|
|
1844
|
+
function h(_) {
|
|
1845
|
+
return _ && _.__esModule ? _ : { default: _ };
|
|
1846
1846
|
}
|
|
1847
|
-
function g(
|
|
1847
|
+
function g(_) {
|
|
1848
1848
|
"@babel/helpers - typeof";
|
|
1849
|
-
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1850
|
-
return typeof
|
|
1851
|
-
} : function(
|
|
1852
|
-
return
|
|
1853
|
-
}, g(
|
|
1849
|
+
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(R) {
|
|
1850
|
+
return typeof R;
|
|
1851
|
+
} : function(R) {
|
|
1852
|
+
return R && typeof Symbol == "function" && R.constructor === Symbol && R !== Symbol.prototype ? "symbol" : typeof R;
|
|
1853
|
+
}, g(_);
|
|
1854
1854
|
}
|
|
1855
1855
|
function x() {
|
|
1856
|
-
return x = Object.assign ? Object.assign.bind() : function(
|
|
1857
|
-
for (var
|
|
1858
|
-
var C = arguments[
|
|
1859
|
-
for (var
|
|
1860
|
-
({}).hasOwnProperty.call(C,
|
|
1856
|
+
return x = Object.assign ? Object.assign.bind() : function(_) {
|
|
1857
|
+
for (var R = 1; R < arguments.length; R++) {
|
|
1858
|
+
var C = arguments[R];
|
|
1859
|
+
for (var T in C)
|
|
1860
|
+
({}).hasOwnProperty.call(C, T) && (_[T] = C[T]);
|
|
1861
1861
|
}
|
|
1862
|
-
return
|
|
1862
|
+
return _;
|
|
1863
1863
|
}, x.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
|
-
function j(
|
|
1866
|
-
if (
|
|
1867
|
-
var C,
|
|
1865
|
+
function j(_, R) {
|
|
1866
|
+
if (_ == null) return {};
|
|
1867
|
+
var C, T, o = M(_, R);
|
|
1868
1868
|
if (Object.getOwnPropertySymbols) {
|
|
1869
|
-
var H = Object.getOwnPropertySymbols(
|
|
1870
|
-
for (
|
|
1871
|
-
C = H[
|
|
1869
|
+
var H = Object.getOwnPropertySymbols(_);
|
|
1870
|
+
for (T = 0; T < H.length; T++)
|
|
1871
|
+
C = H[T], R.includes(C) || {}.propertyIsEnumerable.call(_, C) && (o[C] = _[C]);
|
|
1872
1872
|
}
|
|
1873
1873
|
return o;
|
|
1874
1874
|
}
|
|
1875
|
-
function M(
|
|
1876
|
-
if (
|
|
1875
|
+
function M(_, R) {
|
|
1876
|
+
if (_ == null) return {};
|
|
1877
1877
|
var C = {};
|
|
1878
|
-
for (var
|
|
1879
|
-
if ({}.hasOwnProperty.call(
|
|
1880
|
-
if (
|
|
1881
|
-
C[
|
|
1878
|
+
for (var T in _)
|
|
1879
|
+
if ({}.hasOwnProperty.call(_, T)) {
|
|
1880
|
+
if (R.includes(T)) continue;
|
|
1881
|
+
C[T] = _[T];
|
|
1882
1882
|
}
|
|
1883
1883
|
return C;
|
|
1884
1884
|
}
|
|
1885
|
-
function E(
|
|
1886
|
-
var C = Object.keys(
|
|
1885
|
+
function E(_, R) {
|
|
1886
|
+
var C = Object.keys(_);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
|
-
var
|
|
1889
|
-
|
|
1890
|
-
return Object.getOwnPropertyDescriptor(
|
|
1891
|
-
})), C.push.apply(C,
|
|
1888
|
+
var T = Object.getOwnPropertySymbols(_);
|
|
1889
|
+
R && (T = T.filter(function(o) {
|
|
1890
|
+
return Object.getOwnPropertyDescriptor(_, o).enumerable;
|
|
1891
|
+
})), C.push.apply(C, T);
|
|
1892
1892
|
}
|
|
1893
1893
|
return C;
|
|
1894
1894
|
}
|
|
1895
|
-
function p(
|
|
1896
|
-
for (var
|
|
1897
|
-
var C = arguments[
|
|
1898
|
-
|
|
1899
|
-
d(
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1901
|
-
Object.defineProperty(
|
|
1895
|
+
function p(_) {
|
|
1896
|
+
for (var R = 1; R < arguments.length; R++) {
|
|
1897
|
+
var C = arguments[R] != null ? arguments[R] : {};
|
|
1898
|
+
R % 2 ? E(Object(C), !0).forEach(function(T) {
|
|
1899
|
+
d(_, T, C[T]);
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(C)) : E(Object(C)).forEach(function(T) {
|
|
1901
|
+
Object.defineProperty(_, T, Object.getOwnPropertyDescriptor(C, T));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
1904
|
-
return
|
|
1904
|
+
return _;
|
|
1905
1905
|
}
|
|
1906
|
-
function I(
|
|
1907
|
-
if (!(
|
|
1906
|
+
function I(_, R) {
|
|
1907
|
+
if (!(_ instanceof R)) throw new TypeError("Cannot call a class as a function");
|
|
1908
1908
|
}
|
|
1909
|
-
function O(
|
|
1910
|
-
for (var C = 0; C <
|
|
1911
|
-
var
|
|
1912
|
-
|
|
1909
|
+
function O(_, R) {
|
|
1910
|
+
for (var C = 0; C < R.length; C++) {
|
|
1911
|
+
var T = R[C];
|
|
1912
|
+
T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(_, k(T.key), T);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
function F(
|
|
1916
|
-
return
|
|
1915
|
+
function F(_, R, C) {
|
|
1916
|
+
return R && O(_.prototype, R), Object.defineProperty(_, "prototype", { writable: !1 }), _;
|
|
1917
1917
|
}
|
|
1918
|
-
function U(
|
|
1919
|
-
if (typeof
|
|
1920
|
-
|
|
1918
|
+
function U(_, R) {
|
|
1919
|
+
if (typeof R != "function" && R !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1920
|
+
_.prototype = Object.create(R && R.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), R && V(_, R);
|
|
1921
1921
|
}
|
|
1922
|
-
function V(
|
|
1923
|
-
return V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C,
|
|
1924
|
-
return C.__proto__ =
|
|
1925
|
-
}, V(
|
|
1922
|
+
function V(_, R) {
|
|
1923
|
+
return V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, T) {
|
|
1924
|
+
return C.__proto__ = T, C;
|
|
1925
|
+
}, V(_, R);
|
|
1926
1926
|
}
|
|
1927
|
-
function v(
|
|
1928
|
-
var
|
|
1927
|
+
function v(_) {
|
|
1928
|
+
var R = P();
|
|
1929
1929
|
return function() {
|
|
1930
|
-
var C,
|
|
1931
|
-
if (
|
|
1930
|
+
var C, T = y(_);
|
|
1931
|
+
if (R) {
|
|
1932
1932
|
var o = y(this).constructor;
|
|
1933
|
-
C = Reflect.construct(
|
|
1934
|
-
} else C =
|
|
1933
|
+
C = Reflect.construct(T, arguments, o);
|
|
1934
|
+
} else C = T.apply(this, arguments);
|
|
1935
1935
|
return b(this, C);
|
|
1936
1936
|
};
|
|
1937
1937
|
}
|
|
1938
|
-
function b(
|
|
1939
|
-
if (
|
|
1940
|
-
if (
|
|
1941
|
-
return w(
|
|
1938
|
+
function b(_, R) {
|
|
1939
|
+
if (R && (g(R) == "object" || typeof R == "function")) return R;
|
|
1940
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1941
|
+
return w(_);
|
|
1942
1942
|
}
|
|
1943
|
-
function w(
|
|
1944
|
-
if (
|
|
1945
|
-
return
|
|
1943
|
+
function w(_) {
|
|
1944
|
+
if (_ === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1945
|
+
return _;
|
|
1946
1946
|
}
|
|
1947
1947
|
function P() {
|
|
1948
1948
|
try {
|
|
1949
|
-
var
|
|
1949
|
+
var _ = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1950
1950
|
}));
|
|
1951
1951
|
} catch {
|
|
1952
1952
|
}
|
|
1953
1953
|
return (P = function() {
|
|
1954
|
-
return !!
|
|
1954
|
+
return !!_;
|
|
1955
1955
|
})();
|
|
1956
1956
|
}
|
|
1957
|
-
function y(
|
|
1958
|
-
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1959
|
-
return
|
|
1960
|
-
}, y(
|
|
1957
|
+
function y(_) {
|
|
1958
|
+
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(R) {
|
|
1959
|
+
return R.__proto__ || Object.getPrototypeOf(R);
|
|
1960
|
+
}, y(_);
|
|
1961
1961
|
}
|
|
1962
|
-
function d(
|
|
1963
|
-
return (
|
|
1962
|
+
function d(_, R, C) {
|
|
1963
|
+
return (R = k(R)) in _ ? Object.defineProperty(_, R, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : _[R] = C, _;
|
|
1964
1964
|
}
|
|
1965
|
-
function k(
|
|
1966
|
-
var
|
|
1967
|
-
return g(
|
|
1965
|
+
function k(_) {
|
|
1966
|
+
var R = A(_, "string");
|
|
1967
|
+
return g(R) == "symbol" ? R : R + "";
|
|
1968
1968
|
}
|
|
1969
|
-
function A(
|
|
1970
|
-
if (g(
|
|
1971
|
-
var C =
|
|
1969
|
+
function A(_, R) {
|
|
1970
|
+
if (g(_) != "object" || !_) return _;
|
|
1971
|
+
var C = _[Symbol.toPrimitive];
|
|
1972
1972
|
if (C !== void 0) {
|
|
1973
|
-
var
|
|
1974
|
-
if (g(
|
|
1973
|
+
var T = C.call(_, R);
|
|
1974
|
+
if (g(T) != "object") return T;
|
|
1975
1975
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1976
1976
|
}
|
|
1977
|
-
return (
|
|
1977
|
+
return (R === "string" ? String : Number)(_);
|
|
1978
1978
|
}
|
|
1979
|
-
return Ne.InnerSlider = /* @__PURE__ */ function(
|
|
1980
|
-
U(C,
|
|
1981
|
-
var
|
|
1982
|
-
function C(
|
|
1979
|
+
return Ne.InnerSlider = /* @__PURE__ */ function(_) {
|
|
1980
|
+
U(C, _);
|
|
1981
|
+
var R = v(C);
|
|
1982
|
+
function C(T) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
I(this, C), o =
|
|
1984
|
+
I(this, C), o = R.call(this, T), d(w(o), "listRefHandler", function(m) {
|
|
1985
1985
|
return o.list = m;
|
|
1986
1986
|
}), d(w(o), "trackRefHandler", function(m) {
|
|
1987
1987
|
return o.track = m;
|
|
@@ -2527,15 +2527,15 @@ function ni() {
|
|
|
2527
2527
|
var y = I(d);
|
|
2528
2528
|
function d(k) {
|
|
2529
2529
|
var A;
|
|
2530
|
-
return x(this, d), A = y.call(this, k), v(F(A), "innerSliderRefHandler", function(
|
|
2531
|
-
return A.innerSlider =
|
|
2530
|
+
return x(this, d), A = y.call(this, k), v(F(A), "innerSliderRefHandler", function(_) {
|
|
2531
|
+
return A.innerSlider = _;
|
|
2532
2532
|
}), v(F(A), "slickPrev", function() {
|
|
2533
2533
|
return A.innerSlider.slickPrev();
|
|
2534
2534
|
}), v(F(A), "slickNext", function() {
|
|
2535
2535
|
return A.innerSlider.slickNext();
|
|
2536
|
-
}), v(F(A), "slickGoTo", function(
|
|
2537
|
-
var
|
|
2538
|
-
return A.innerSlider.slickGoTo(
|
|
2536
|
+
}), v(F(A), "slickGoTo", function(_) {
|
|
2537
|
+
var R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2538
|
+
return A.innerSlider.slickGoTo(_, R);
|
|
2539
2539
|
}), v(F(A), "slickPause", function() {
|
|
2540
2540
|
return A.innerSlider.pause("paused");
|
|
2541
2541
|
}), v(F(A), "slickPlay", function() {
|
|
@@ -2546,13 +2546,13 @@ function ni() {
|
|
|
2546
2546
|
}
|
|
2547
2547
|
return M(d, [{
|
|
2548
2548
|
key: "media",
|
|
2549
|
-
value: function(A,
|
|
2550
|
-
var
|
|
2549
|
+
value: function(A, _) {
|
|
2550
|
+
var R = window.matchMedia(A), C = function(o) {
|
|
2551
2551
|
var H = o.matches;
|
|
2552
|
-
H &&
|
|
2552
|
+
H && _();
|
|
2553
2553
|
};
|
|
2554
|
-
|
|
2555
|
-
mql:
|
|
2554
|
+
R.addListener(C), this._responsiveMediaHandlers.push({
|
|
2555
|
+
mql: R,
|
|
2556
2556
|
query: A,
|
|
2557
2557
|
listener: C
|
|
2558
2558
|
});
|
|
@@ -2563,18 +2563,18 @@ function ni() {
|
|
|
2563
2563
|
value: function() {
|
|
2564
2564
|
var A = this;
|
|
2565
2565
|
if (this.props.responsive) {
|
|
2566
|
-
var
|
|
2566
|
+
var _ = this.props.responsive.map(function(C) {
|
|
2567
2567
|
return C.breakpoint;
|
|
2568
2568
|
});
|
|
2569
|
-
|
|
2570
|
-
return C -
|
|
2571
|
-
}),
|
|
2569
|
+
_.sort(function(C, T) {
|
|
2570
|
+
return C - T;
|
|
2571
|
+
}), _.forEach(function(C, T) {
|
|
2572
2572
|
var o;
|
|
2573
|
-
|
|
2573
|
+
T === 0 ? o = (0, a.default)({
|
|
2574
2574
|
minWidth: 0,
|
|
2575
2575
|
maxWidth: C
|
|
2576
2576
|
}) : o = (0, a.default)({
|
|
2577
|
-
minWidth:
|
|
2577
|
+
minWidth: _[T - 1] + 1,
|
|
2578
2578
|
maxWidth: C
|
|
2579
2579
|
}), (0, s.canUseDOM)() && A.media(o, function() {
|
|
2580
2580
|
A.setState({
|
|
@@ -2582,10 +2582,10 @@ function ni() {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
});
|
|
2584
2584
|
});
|
|
2585
|
-
var
|
|
2586
|
-
minWidth:
|
|
2585
|
+
var R = (0, a.default)({
|
|
2586
|
+
minWidth: _.slice(-1)[0]
|
|
2587
2587
|
});
|
|
2588
|
-
(0, s.canUseDOM)() && this.media(
|
|
2588
|
+
(0, s.canUseDOM)() && this.media(R, function() {
|
|
2589
2589
|
A.setState({
|
|
2590
2590
|
breakpoint: null
|
|
2591
2591
|
});
|
|
@@ -2602,22 +2602,22 @@ function ni() {
|
|
|
2602
2602
|
}, {
|
|
2603
2603
|
key: "render",
|
|
2604
2604
|
value: function() {
|
|
2605
|
-
var A = this,
|
|
2606
|
-
this.state.breakpoint ? (
|
|
2605
|
+
var A = this, _, R;
|
|
2606
|
+
this.state.breakpoint ? (R = this.props.responsive.filter(function(L) {
|
|
2607
2607
|
return L.breakpoint === A.state.breakpoint;
|
|
2608
|
-
}),
|
|
2608
|
+
}), _ = R[0].settings === "unslick" ? "unslick" : g(g(g({}, i.default), this.props), R[0].settings)) : _ = g(g({}, i.default), this.props), _.centerMode && (_.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(_.slidesToScroll)), _.slidesToScroll = 1), _.fade && (_.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(_.slidesToShow)), _.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(_.slidesToScroll)), _.slidesToShow = 1, _.slidesToScroll = 1);
|
|
2609
2609
|
var C = t.default.Children.toArray(this.props.children);
|
|
2610
2610
|
C = C.filter(function(L) {
|
|
2611
2611
|
return typeof L == "string" ? !!L.trim() : !!L;
|
|
2612
|
-
}),
|
|
2613
|
-
for (var
|
|
2614
|
-
for (var m = [], n = H; n < H +
|
|
2615
|
-
for (var f = [], S = n; S < n +
|
|
2612
|
+
}), _.variableWidth && (_.rows > 1 || _.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), _.variableWidth = !1);
|
|
2613
|
+
for (var T = [], o = null, H = 0; H < C.length; H += _.rows * _.slidesPerRow) {
|
|
2614
|
+
for (var m = [], n = H; n < H + _.rows * _.slidesPerRow; n += _.slidesPerRow) {
|
|
2615
|
+
for (var f = [], S = n; S < n + _.slidesPerRow && (_.variableWidth && C[S].props.style && (o = C[S].props.style.width), !(S >= C.length)); S += 1)
|
|
2616
2616
|
f.push(/* @__PURE__ */ t.default.cloneElement(C[S], {
|
|
2617
2617
|
key: 100 * H + 10 * n + S,
|
|
2618
2618
|
tabIndex: -1,
|
|
2619
2619
|
style: {
|
|
2620
|
-
width: "".concat(100 /
|
|
2620
|
+
width: "".concat(100 / _.slidesPerRow, "%"),
|
|
2621
2621
|
display: "inline-block"
|
|
2622
2622
|
}
|
|
2623
2623
|
}));
|
|
@@ -2625,25 +2625,25 @@ function ni() {
|
|
|
2625
2625
|
key: 10 * H + n
|
|
2626
2626
|
}, f));
|
|
2627
2627
|
}
|
|
2628
|
-
|
|
2628
|
+
_.variableWidth ? T.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2629
2629
|
key: H,
|
|
2630
2630
|
style: {
|
|
2631
2631
|
width: o
|
|
2632
2632
|
}
|
|
2633
|
-
}, m)) :
|
|
2633
|
+
}, m)) : T.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2634
2634
|
key: H
|
|
2635
2635
|
}, m));
|
|
2636
2636
|
}
|
|
2637
|
-
if (
|
|
2637
|
+
if (_ === "unslick") {
|
|
2638
2638
|
var $ = "regular slider " + (this.props.className || "");
|
|
2639
2639
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2640
2640
|
className: $
|
|
2641
2641
|
}, C);
|
|
2642
|
-
} else
|
|
2642
|
+
} else T.length <= _.slidesToShow && (_.unslick = !0);
|
|
2643
2643
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, l({
|
|
2644
2644
|
style: this.props.style,
|
|
2645
2645
|
ref: this.innerSliderRefHandler
|
|
2646
|
-
}, (0, s.filterSettings)(
|
|
2646
|
+
}, (0, s.filterSettings)(_)), T);
|
|
2647
2647
|
}
|
|
2648
2648
|
}]), d;
|
|
2649
2649
|
}(t.default.Component);
|
|
@@ -2983,7 +2983,7 @@ function ki(e, t, r) {
|
|
|
2983
2983
|
function wr(e, t, r, a) {
|
|
2984
2984
|
return xt(e, t, r, Vt, Be(e, 0, a), Be(e, a + 1, -1), a);
|
|
2985
2985
|
}
|
|
2986
|
-
function
|
|
2986
|
+
function Re(e, t) {
|
|
2987
2987
|
for (var r = "", a = Xt(e), i = 0; i < a; i++)
|
|
2988
2988
|
r += t(e[i], i, e, t) || "";
|
|
2989
2989
|
return r;
|
|
@@ -2998,11 +2998,11 @@ function Ci(e, t, r, a) {
|
|
|
2998
2998
|
case Yr:
|
|
2999
2999
|
return "";
|
|
3000
3000
|
case qr:
|
|
3001
|
-
return e.return = e.value + "{" +
|
|
3001
|
+
return e.return = e.value + "{" + Re(e.children, a) + "}";
|
|
3002
3002
|
case Bt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
3004
3004
|
}
|
|
3005
|
-
return ge(r =
|
|
3005
|
+
return ge(r = Re(e.children, a)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3006
3006
|
}
|
|
3007
3007
|
function Pi(e) {
|
|
3008
3008
|
var t = Xt(e);
|
|
@@ -3023,16 +3023,16 @@ function Kr(e) {
|
|
|
3023
3023
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
|
-
var
|
|
3026
|
+
var _i = function(t, r, a) {
|
|
3027
3027
|
for (var i = 0, s = 0; i = s, s = be(), i === 38 && s === 12 && (r[a] = 1), !Ve(s); )
|
|
3028
3028
|
me();
|
|
3029
3029
|
return Je(t, he);
|
|
3030
|
-
},
|
|
3030
|
+
}, Ri = function(t, r) {
|
|
3031
3031
|
var a = -1, i = 44;
|
|
3032
3032
|
do
|
|
3033
3033
|
switch (Ve(i)) {
|
|
3034
3034
|
case 0:
|
|
3035
|
-
i === 38 && be() === 12 && (r[a] = 1), t[a] +=
|
|
3035
|
+
i === 38 && be() === 12 && (r[a] = 1), t[a] += _i(he - 1, r, a);
|
|
3036
3036
|
break;
|
|
3037
3037
|
case 2:
|
|
3038
3038
|
t[a] += st(i);
|
|
@@ -3048,8 +3048,8 @@ var Ri = function(t, r, a) {
|
|
|
3048
3048
|
}
|
|
3049
3049
|
while (i = me());
|
|
3050
3050
|
return t;
|
|
3051
|
-
},
|
|
3052
|
-
return Gr(
|
|
3051
|
+
}, Ti = function(t, r) {
|
|
3052
|
+
return Gr(Ri(Xr(t), r));
|
|
3053
3053
|
}, Sr = /* @__PURE__ */ new WeakMap(), ji = function(t) {
|
|
3054
3054
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
3055
3055
|
// negative .length indicates that this rule has been already prefixed
|
|
@@ -3058,7 +3058,7 @@ var Ri = function(t, r, a) {
|
|
|
3058
3058
|
if (a = a.parent, !a) return;
|
|
3059
3059
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(a)) && !i) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [], c =
|
|
3061
|
+
for (var s = [], c = Ti(r, s), u = a.props, l = 0, h = 0; l < c.length; l++)
|
|
3062
3062
|
for (var g = 0; g < u.length; g++, h++)
|
|
3063
3063
|
t.props[h] = s[l] ? c[l].replace(/&\f/g, u[g]) : u[g] + " " + c[l];
|
|
3064
3064
|
}
|
|
@@ -3219,7 +3219,7 @@ var Di = function(t, r, a, i) {
|
|
|
3219
3219
|
t.return = Jr(t.value, t.length);
|
|
3220
3220
|
break;
|
|
3221
3221
|
case qr:
|
|
3222
|
-
return
|
|
3222
|
+
return Re([Ue(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], i);
|
|
3225
3225
|
case Bt:
|
|
@@ -3228,12 +3228,12 @@ var Di = function(t, r, a, i) {
|
|
|
3228
3228
|
// :read-(only|write)
|
|
3229
3229
|
case ":read-only":
|
|
3230
3230
|
case ":read-write":
|
|
3231
|
-
return
|
|
3231
|
+
return Re([Ue(t, {
|
|
3232
3232
|
props: [ne(s, /:(read-\w+)/, ":" + vt + "$1")]
|
|
3233
3233
|
})], i);
|
|
3234
3234
|
// :placeholder
|
|
3235
3235
|
case "::placeholder":
|
|
3236
|
-
return
|
|
3236
|
+
return Re([Ue(t, {
|
|
3237
3237
|
props: [ne(s, /:(plac\w+)/, ":" + re + "input-$1")]
|
|
3238
3238
|
}), Ue(t, {
|
|
3239
3239
|
props: [ne(s, /:(plac\w+)/, ":" + vt + "$1")]
|
|
@@ -3269,7 +3269,7 @@ var Di = function(t, r, a, i) {
|
|
|
3269
3269
|
var g, x = [Ci, Ei(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
3271
|
})], j = Pi(h.concat(i, x)), M = function(I) {
|
|
3272
|
-
return
|
|
3272
|
+
return Re(Oi(I), j);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(I, O, F, U) {
|
|
3275
3275
|
g = F, M(I ? I + "{" + O.styles + "}" : O.styles), U && (E.inserted[O.name] = !0);
|
|
@@ -3994,34 +3994,38 @@ const na = Le.div`
|
|
|
3994
3994
|
h > 0 && (g = `${g}&`), g = `${g}${x}=${j}`, h++;
|
|
3995
3995
|
}
|
|
3996
3996
|
return g;
|
|
3997
|
-
}, t = async (u, l, h, g) => {
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
})).json();
|
|
4003
|
-
};
|
|
3997
|
+
}, t = async (u, l, h, g) => await (await fetch(u, {
|
|
3998
|
+
method: l,
|
|
3999
|
+
headers: h,
|
|
4000
|
+
body: g
|
|
4001
|
+
})).json();
|
|
4004
4002
|
return {
|
|
4005
|
-
get: async (u, l) =>
|
|
4003
|
+
get: async (u, l) => {
|
|
4004
|
+
const h = e(u, l);
|
|
4005
|
+
return t(h, "GET");
|
|
4006
|
+
},
|
|
4006
4007
|
post: async (u, l) => t(
|
|
4007
4008
|
u,
|
|
4008
4009
|
"POST",
|
|
4009
4010
|
{ "Content-Type": "application/json" },
|
|
4010
|
-
l
|
|
4011
|
+
JSON.stringify(l)
|
|
4011
4012
|
),
|
|
4012
4013
|
put: async (u, l) => t(
|
|
4013
4014
|
u,
|
|
4014
4015
|
"PUT",
|
|
4015
4016
|
{ "Content-Type": "application/json" },
|
|
4016
|
-
l
|
|
4017
|
+
JSON.stringify(l)
|
|
4017
4018
|
),
|
|
4018
4019
|
patch: async (u, l) => t(
|
|
4019
4020
|
u,
|
|
4020
4021
|
"PATCH",
|
|
4021
4022
|
{ "Content-Type": "application/json" },
|
|
4022
|
-
l
|
|
4023
|
+
JSON.stringify(l)
|
|
4023
4024
|
),
|
|
4024
|
-
delete: async (u, l) =>
|
|
4025
|
+
delete: async (u, l) => {
|
|
4026
|
+
const h = e(u, l);
|
|
4027
|
+
return t(h, "DELETE");
|
|
4028
|
+
}
|
|
4025
4029
|
};
|
|
4026
4030
|
};
|
|
4027
4031
|
var ut = { exports: {} }, sa = ut.exports, Er;
|
|
@@ -4030,56 +4034,56 @@ function la() {
|
|
|
4030
4034
|
(function(r, a) {
|
|
4031
4035
|
e.exports = a();
|
|
4032
4036
|
})(sa, function() {
|
|
4033
|
-
var r = 1e3, a = 6e4, i = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", M = "year", E = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
4034
|
-
var C = ["th", "st", "nd", "rd"],
|
|
4035
|
-
return "[" +
|
|
4036
|
-
} }, U = function(
|
|
4037
|
-
var o = String(
|
|
4038
|
-
return !o || o.length >= C ?
|
|
4039
|
-
}, V = { s: U, z: function(
|
|
4040
|
-
var C = -
|
|
4037
|
+
var r = 1e3, a = 6e4, i = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", M = "year", E = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(R) {
|
|
4038
|
+
var C = ["th", "st", "nd", "rd"], T = R % 100;
|
|
4039
|
+
return "[" + R + (C[(T - 20) % 10] || C[T] || C[0]) + "]";
|
|
4040
|
+
} }, U = function(R, C, T) {
|
|
4041
|
+
var o = String(R);
|
|
4042
|
+
return !o || o.length >= C ? R : "" + Array(C + 1 - o.length).join(T) + R;
|
|
4043
|
+
}, V = { s: U, z: function(R) {
|
|
4044
|
+
var C = -R.utcOffset(), T = Math.abs(C), o = Math.floor(T / 60), H = T % 60;
|
|
4041
4045
|
return (C <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
4042
|
-
}, m: function
|
|
4043
|
-
if (C.date() <
|
|
4044
|
-
var o = 12 * (
|
|
4045
|
-
return +(-(o + (
|
|
4046
|
-
}, a: function(
|
|
4047
|
-
return
|
|
4048
|
-
}, p: function(
|
|
4049
|
-
return { M: x, y: M, w: g, d: h, D: E, h: l, m: u, s: c, ms: s, Q: j }[
|
|
4050
|
-
}, u: function(
|
|
4051
|
-
return
|
|
4046
|
+
}, m: function R(C, T) {
|
|
4047
|
+
if (C.date() < T.date()) return -R(T, C);
|
|
4048
|
+
var o = 12 * (T.year() - C.year()) + (T.month() - C.month()), H = C.clone().add(o, x), m = T - H < 0, n = C.clone().add(o + (m ? -1 : 1), x);
|
|
4049
|
+
return +(-(o + (T - H) / (m ? H - n : n - H)) || 0);
|
|
4050
|
+
}, a: function(R) {
|
|
4051
|
+
return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
|
|
4052
|
+
}, p: function(R) {
|
|
4053
|
+
return { M: x, y: M, w: g, d: h, D: E, h: l, m: u, s: c, ms: s, Q: j }[R] || String(R || "").toLowerCase().replace(/s$/, "");
|
|
4054
|
+
}, u: function(R) {
|
|
4055
|
+
return R === void 0;
|
|
4052
4056
|
} }, v = "en", b = {};
|
|
4053
4057
|
b[v] = F;
|
|
4054
|
-
var w = "$isDayjsObject", P = function(
|
|
4055
|
-
return
|
|
4056
|
-
}, y = function
|
|
4058
|
+
var w = "$isDayjsObject", P = function(R) {
|
|
4059
|
+
return R instanceof A || !(!R || !R[w]);
|
|
4060
|
+
}, y = function R(C, T, o) {
|
|
4057
4061
|
var H;
|
|
4058
4062
|
if (!C) return v;
|
|
4059
4063
|
if (typeof C == "string") {
|
|
4060
4064
|
var m = C.toLowerCase();
|
|
4061
|
-
b[m] && (H = m),
|
|
4065
|
+
b[m] && (H = m), T && (b[m] = T, H = m);
|
|
4062
4066
|
var n = C.split("-");
|
|
4063
|
-
if (!H && n.length > 1) return
|
|
4067
|
+
if (!H && n.length > 1) return R(n[0]);
|
|
4064
4068
|
} else {
|
|
4065
4069
|
var f = C.name;
|
|
4066
4070
|
b[f] = C, H = f;
|
|
4067
4071
|
}
|
|
4068
4072
|
return !o && H && (v = H), H || !o && v;
|
|
4069
|
-
}, d = function(
|
|
4070
|
-
if (P(
|
|
4071
|
-
var
|
|
4072
|
-
return
|
|
4073
|
+
}, d = function(R, C) {
|
|
4074
|
+
if (P(R)) return R.clone();
|
|
4075
|
+
var T = typeof C == "object" ? C : {};
|
|
4076
|
+
return T.date = R, T.args = arguments, new A(T);
|
|
4073
4077
|
}, k = V;
|
|
4074
|
-
k.l = y, k.i = P, k.w = function(
|
|
4075
|
-
return d(
|
|
4078
|
+
k.l = y, k.i = P, k.w = function(R, C) {
|
|
4079
|
+
return d(R, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
|
|
4076
4080
|
};
|
|
4077
4081
|
var A = function() {
|
|
4078
|
-
function T
|
|
4079
|
-
this.$L = y(
|
|
4082
|
+
function R(T) {
|
|
4083
|
+
this.$L = y(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[w] = !0;
|
|
4080
4084
|
}
|
|
4081
|
-
var C =
|
|
4082
|
-
return C.parse = function(
|
|
4085
|
+
var C = R.prototype;
|
|
4086
|
+
return C.parse = function(T) {
|
|
4083
4087
|
this.$d = function(o) {
|
|
4084
4088
|
var H = o.date, m = o.utc;
|
|
4085
4089
|
if (H === null) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -4093,29 +4097,29 @@ function la() {
|
|
|
4093
4097
|
}
|
|
4094
4098
|
}
|
|
4095
4099
|
return new Date(H);
|
|
4096
|
-
}(
|
|
4100
|
+
}(T), this.init();
|
|
4097
4101
|
}, C.init = function() {
|
|
4098
|
-
var
|
|
4099
|
-
this.$y =
|
|
4102
|
+
var T = this.$d;
|
|
4103
|
+
this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds();
|
|
4100
4104
|
}, C.$utils = function() {
|
|
4101
4105
|
return k;
|
|
4102
4106
|
}, C.isValid = function() {
|
|
4103
4107
|
return this.$d.toString() !== p;
|
|
4104
|
-
}, C.isSame = function(
|
|
4105
|
-
var H = d(
|
|
4108
|
+
}, C.isSame = function(T, o) {
|
|
4109
|
+
var H = d(T);
|
|
4106
4110
|
return this.startOf(o) <= H && H <= this.endOf(o);
|
|
4107
|
-
}, C.isAfter = function(
|
|
4108
|
-
return d(
|
|
4109
|
-
}, C.isBefore = function(
|
|
4110
|
-
return this.endOf(o) < d(
|
|
4111
|
-
}, C.$g = function(
|
|
4112
|
-
return k.u(
|
|
4111
|
+
}, C.isAfter = function(T, o) {
|
|
4112
|
+
return d(T) < this.startOf(o);
|
|
4113
|
+
}, C.isBefore = function(T, o) {
|
|
4114
|
+
return this.endOf(o) < d(T);
|
|
4115
|
+
}, C.$g = function(T, o, H) {
|
|
4116
|
+
return k.u(T) ? this[o] : this.set(H, T);
|
|
4113
4117
|
}, C.unix = function() {
|
|
4114
4118
|
return Math.floor(this.valueOf() / 1e3);
|
|
4115
4119
|
}, C.valueOf = function() {
|
|
4116
4120
|
return this.$d.getTime();
|
|
4117
|
-
}, C.startOf = function(
|
|
4118
|
-
var H = this, m = !!k.u(o) || o, n = k.p(
|
|
4121
|
+
}, C.startOf = function(T, o) {
|
|
4122
|
+
var H = this, m = !!k.u(o) || o, n = k.p(T), f = function(G, X) {
|
|
4119
4123
|
var J = k.w(H.$u ? Date.UTC(H.$y, X, G) : new Date(H.$y, X, G), H);
|
|
4120
4124
|
return m ? J : J.endOf(h);
|
|
4121
4125
|
}, S = function(G, X) {
|
|
@@ -4141,38 +4145,38 @@ function la() {
|
|
|
4141
4145
|
default:
|
|
4142
4146
|
return this.clone();
|
|
4143
4147
|
}
|
|
4144
|
-
}, C.endOf = function(
|
|
4145
|
-
return this.startOf(
|
|
4146
|
-
}, C.$set = function(
|
|
4147
|
-
var H, m = k.p(
|
|
4148
|
+
}, C.endOf = function(T) {
|
|
4149
|
+
return this.startOf(T, !1);
|
|
4150
|
+
}, C.$set = function(T, o) {
|
|
4151
|
+
var H, m = k.p(T), n = "set" + (this.$u ? "UTC" : ""), f = (H = {}, H[h] = n + "Date", H[E] = n + "Date", H[x] = n + "Month", H[M] = n + "FullYear", H[l] = n + "Hours", H[u] = n + "Minutes", H[c] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], S = m === h ? this.$D + (o - this.$W) : o;
|
|
4148
4152
|
if (m === x || m === M) {
|
|
4149
4153
|
var $ = this.clone().set(E, 1);
|
|
4150
4154
|
$.$d[f](S), $.init(), this.$d = $.set(E, Math.min(this.$D, $.daysInMonth())).$d;
|
|
4151
4155
|
} else f && this.$d[f](S);
|
|
4152
4156
|
return this.init(), this;
|
|
4153
|
-
}, C.set = function(
|
|
4154
|
-
return this.clone().$set(
|
|
4155
|
-
}, C.get = function(
|
|
4156
|
-
return this[k.p(
|
|
4157
|
-
}, C.add = function(
|
|
4157
|
+
}, C.set = function(T, o) {
|
|
4158
|
+
return this.clone().$set(T, o);
|
|
4159
|
+
}, C.get = function(T) {
|
|
4160
|
+
return this[k.p(T)]();
|
|
4161
|
+
}, C.add = function(T, o) {
|
|
4158
4162
|
var H, m = this;
|
|
4159
|
-
|
|
4163
|
+
T = Number(T);
|
|
4160
4164
|
var n = k.p(o), f = function(L) {
|
|
4161
4165
|
var z = d(m);
|
|
4162
|
-
return k.w(z.date(z.date() + Math.round(L *
|
|
4166
|
+
return k.w(z.date(z.date() + Math.round(L * T)), m);
|
|
4163
4167
|
};
|
|
4164
|
-
if (n === x) return this.set(x, this.$M +
|
|
4165
|
-
if (n === M) return this.set(M, this.$y +
|
|
4168
|
+
if (n === x) return this.set(x, this.$M + T);
|
|
4169
|
+
if (n === M) return this.set(M, this.$y + T);
|
|
4166
4170
|
if (n === h) return f(1);
|
|
4167
4171
|
if (n === g) return f(7);
|
|
4168
|
-
var S = (H = {}, H[u] = a, H[l] = i, H[c] = r, H)[n] || 1, $ = this.$d.getTime() +
|
|
4172
|
+
var S = (H = {}, H[u] = a, H[l] = i, H[c] = r, H)[n] || 1, $ = this.$d.getTime() + T * S;
|
|
4169
4173
|
return k.w($, this);
|
|
4170
|
-
}, C.subtract = function(
|
|
4171
|
-
return this.add(-1 *
|
|
4172
|
-
}, C.format = function(
|
|
4174
|
+
}, C.subtract = function(T, o) {
|
|
4175
|
+
return this.add(-1 * T, o);
|
|
4176
|
+
}, C.format = function(T) {
|
|
4173
4177
|
var o = this, H = this.$locale();
|
|
4174
4178
|
if (!this.isValid()) return H.invalidDate || p;
|
|
4175
|
-
var m =
|
|
4179
|
+
var m = T || "YYYY-MM-DDTHH:mm:ssZ", n = k.z(this), f = this.$H, S = this.$m, $ = this.$M, L = H.weekdays, z = H.months, N = H.meridiem, W = function(X, J, te, Z) {
|
|
4176
4180
|
return X && (X[J] || X(o, m)) || te[J].slice(0, Z);
|
|
4177
4181
|
}, B = function(X) {
|
|
4178
4182
|
return k.s(f % 12 || 12, X, "0");
|
|
@@ -4237,8 +4241,8 @@ function la() {
|
|
|
4237
4241
|
});
|
|
4238
4242
|
}, C.utcOffset = function() {
|
|
4239
4243
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4240
|
-
}, C.diff = function(
|
|
4241
|
-
var m, n = this, f = k.p(o), S = d(
|
|
4244
|
+
}, C.diff = function(T, o, H) {
|
|
4245
|
+
var m, n = this, f = k.p(o), S = d(T), $ = (S.utcOffset() - this.utcOffset()) * a, L = this - S, z = function() {
|
|
4242
4246
|
return k.m(n, S);
|
|
4243
4247
|
};
|
|
4244
4248
|
switch (f) {
|
|
@@ -4274,9 +4278,9 @@ function la() {
|
|
|
4274
4278
|
return this.endOf(x).$D;
|
|
4275
4279
|
}, C.$locale = function() {
|
|
4276
4280
|
return b[this.$L];
|
|
4277
|
-
}, C.locale = function(
|
|
4278
|
-
if (!
|
|
4279
|
-
var H = this.clone(), m = y(
|
|
4281
|
+
}, C.locale = function(T, o) {
|
|
4282
|
+
if (!T) return this.$L;
|
|
4283
|
+
var H = this.clone(), m = y(T, o, !0);
|
|
4280
4284
|
return m && (H.$L = m), H;
|
|
4281
4285
|
}, C.clone = function() {
|
|
4282
4286
|
return k.w(this.$d, this);
|
|
@@ -4288,25 +4292,25 @@ function la() {
|
|
|
4288
4292
|
return this.$d.toISOString();
|
|
4289
4293
|
}, C.toString = function() {
|
|
4290
4294
|
return this.$d.toUTCString();
|
|
4291
|
-
},
|
|
4292
|
-
}(),
|
|
4293
|
-
return d.prototype =
|
|
4294
|
-
R[
|
|
4295
|
-
return this.$g(C,
|
|
4295
|
+
}, R;
|
|
4296
|
+
}(), _ = A.prototype;
|
|
4297
|
+
return d.prototype = _, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", h], ["$M", x], ["$y", M], ["$D", E]].forEach(function(R) {
|
|
4298
|
+
_[R[1]] = function(C) {
|
|
4299
|
+
return this.$g(C, R[0], R[1]);
|
|
4296
4300
|
};
|
|
4297
|
-
}), d.extend = function(
|
|
4298
|
-
return
|
|
4299
|
-
}, d.locale = y, d.isDayjs = P, d.unix = function(
|
|
4300
|
-
return d(1e3 *
|
|
4301
|
+
}), d.extend = function(R, C) {
|
|
4302
|
+
return R.$i || (R(C, A, d), R.$i = !0), d;
|
|
4303
|
+
}, d.locale = y, d.isDayjs = P, d.unix = function(R) {
|
|
4304
|
+
return d(1e3 * R);
|
|
4301
4305
|
}, d.en = b[v], d.Ls = b, d.p = {}, d;
|
|
4302
4306
|
});
|
|
4303
4307
|
}(ut)), ut.exports;
|
|
4304
4308
|
}
|
|
4305
4309
|
var ua = la();
|
|
4306
4310
|
const ct = /* @__PURE__ */ qt(ua);
|
|
4307
|
-
var ft = { exports: {} }, ca = ft.exports,
|
|
4311
|
+
var ft = { exports: {} }, ca = ft.exports, _r;
|
|
4308
4312
|
function fa() {
|
|
4309
|
-
return
|
|
4313
|
+
return _r || (_r = 1, function(e, t) {
|
|
4310
4314
|
(function(r, a) {
|
|
4311
4315
|
e.exports = a();
|
|
4312
4316
|
})(ca, function() {
|
|
@@ -4457,14 +4461,14 @@ const ns = (e, t = 0) => {
|
|
|
4457
4461
|
...ma,
|
|
4458
4462
|
...e?.breakpointConfiguration
|
|
4459
4463
|
}, [r, a] = kn(
|
|
4460
|
-
|
|
4464
|
+
Rr(t)
|
|
4461
4465
|
), i = () => {
|
|
4462
|
-
a(
|
|
4466
|
+
a(Rr(t));
|
|
4463
4467
|
};
|
|
4464
4468
|
return Ir(() => (window.addEventListener("resize", i), () => {
|
|
4465
4469
|
window.removeEventListener("resize", i);
|
|
4466
4470
|
}), []), Ar(() => r, [r]);
|
|
4467
|
-
}, va = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ga = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop",
|
|
4471
|
+
}, va = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ga = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Rr = (e) => {
|
|
4468
4472
|
const t = window.innerWidth, r = window.innerHeight, a = va(t, e), i = ga(t, e);
|
|
4469
4473
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: a, currentSize: i };
|
|
4470
4474
|
}, as = (e) => {
|
|
@@ -4489,10 +4493,10 @@ const ns = (e, t = 0) => {
|
|
|
4489
4493
|
getTranslation: a
|
|
4490
4494
|
};
|
|
4491
4495
|
};
|
|
4492
|
-
var Ye = {},
|
|
4496
|
+
var Ye = {}, Tr;
|
|
4493
4497
|
function ya() {
|
|
4494
|
-
if (
|
|
4495
|
-
|
|
4498
|
+
if (Tr) return Ye;
|
|
4499
|
+
Tr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
|
|
4496
4500
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, a = /^[\u0020-\u003A\u003D-\u007E]*$/, i = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
4497
4501
|
const j = function() {
|
|
4498
4502
|
};
|
|
@@ -4851,11 +4855,11 @@ function ka(e) {
|
|
|
4851
4855
|
)
|
|
4852
4856
|
);
|
|
4853
4857
|
}
|
|
4854
|
-
var Ca = /^:[\w-]+$/, Pa = 3, Ea = 2,
|
|
4858
|
+
var Ca = /^:[\w-]+$/, Pa = 3, Ea = 2, _a = 1, Ra = 10, Ta = -2, Dr = (e) => e === "*";
|
|
4855
4859
|
function ja(e, t) {
|
|
4856
4860
|
let r = e.split("/"), a = r.length;
|
|
4857
|
-
return r.some(Dr) && (a +=
|
|
4858
|
-
(i, s) => i + (Ca.test(s) ? Pa : s === "" ?
|
|
4861
|
+
return r.some(Dr) && (a += Ta), t && (a += Ea), r.filter((i) => !Dr(i)).reduce(
|
|
4862
|
+
(i, s) => i + (Ca.test(s) ? Pa : s === "" ? _a : Ra),
|
|
4859
4863
|
a
|
|
4860
4864
|
);
|
|
4861
4865
|
}
|
|
@@ -5727,7 +5731,7 @@ function pn() {
|
|
|
5727
5731
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
5728
5732
|
), e;
|
|
5729
5733
|
}
|
|
5730
|
-
function
|
|
5734
|
+
function _o() {
|
|
5731
5735
|
let e = D.useContext(Ot);
|
|
5732
5736
|
return Qt(
|
|
5733
5737
|
e,
|
|
@@ -5743,7 +5747,7 @@ function mn() {
|
|
|
5743
5747
|
"You must render this element inside a <HydratedRouter> element"
|
|
5744
5748
|
), e;
|
|
5745
5749
|
}
|
|
5746
|
-
function
|
|
5750
|
+
function Ro(e, t) {
|
|
5747
5751
|
let r = D.useContext(er), [a, i] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, j = D.useRef(null);
|
|
5748
5752
|
D.useEffect(() => {
|
|
5749
5753
|
if (e === "render" && c(!0), e === "viewport") {
|
|
@@ -5788,7 +5792,7 @@ function qe(e, t) {
|
|
|
5788
5792
|
e && e(r), r.defaultPrevented || t(r);
|
|
5789
5793
|
};
|
|
5790
5794
|
}
|
|
5791
|
-
function
|
|
5795
|
+
function To({
|
|
5792
5796
|
page: e,
|
|
5793
5797
|
...t
|
|
5794
5798
|
}) {
|
|
@@ -5816,7 +5820,7 @@ function Lo({
|
|
|
5816
5820
|
matches: t,
|
|
5817
5821
|
...r
|
|
5818
5822
|
}) {
|
|
5819
|
-
let a = ke(), { manifest: i, routeModules: s } = mn(), { basename: c } = pn(), { loaderData: u, matches: l } =
|
|
5823
|
+
let a = ke(), { manifest: i, routeModules: s } = mn(), { basename: c } = pn(), { loaderData: u, matches: l } = _o(), h = D.useMemo(
|
|
5820
5824
|
() => $r(
|
|
5821
5825
|
e,
|
|
5822
5826
|
t,
|
|
@@ -5934,7 +5938,7 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5934
5938
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5935
5939
|
);
|
|
5936
5940
|
}
|
|
5937
|
-
let F = Ba(h, { relative: i }), [U, V, v] =
|
|
5941
|
+
let F = Ba(h, { relative: i }), [U, V, v] = Ro(
|
|
5938
5942
|
a,
|
|
5939
5943
|
j
|
|
5940
5944
|
), b = Ho(h, {
|
|
@@ -5963,7 +5967,7 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5963
5967
|
}
|
|
5964
5968
|
)
|
|
5965
5969
|
);
|
|
5966
|
-
return U && !p ? /* @__PURE__ */ D.createElement(D.Fragment, null, P, /* @__PURE__ */ D.createElement(
|
|
5970
|
+
return U && !p ? /* @__PURE__ */ D.createElement(D.Fragment, null, P, /* @__PURE__ */ D.createElement(To, { page: F })) : P;
|
|
5967
5971
|
}
|
|
5968
5972
|
);
|
|
5969
5973
|
yn.displayName = "Link";
|
|
@@ -6211,7 +6215,7 @@ const wn = q.createContext({
|
|
|
6211
6215
|
const [e, t] = zo(), r = Ar(
|
|
6212
6216
|
() => Object.fromEntries(e.entries()),
|
|
6213
6217
|
[e]
|
|
6214
|
-
), a =
|
|
6218
|
+
), a = _e(
|
|
6215
6219
|
(h) => {
|
|
6216
6220
|
const g = {};
|
|
6217
6221
|
return h.forEach((x) => {
|
|
@@ -6219,19 +6223,19 @@ const wn = q.createContext({
|
|
|
6219
6223
|
}), g;
|
|
6220
6224
|
},
|
|
6221
6225
|
[e]
|
|
6222
|
-
), i =
|
|
6226
|
+
), i = _e(
|
|
6223
6227
|
(h) => {
|
|
6224
6228
|
const g = e.get(h);
|
|
6225
6229
|
return g == null || g == null, g;
|
|
6226
6230
|
},
|
|
6227
6231
|
[e]
|
|
6228
|
-
), s =
|
|
6232
|
+
), s = _e(
|
|
6229
6233
|
(h, g) => {
|
|
6230
6234
|
const x = new URLSearchParams(e);
|
|
6231
6235
|
x.set(h, String(g)), t(x);
|
|
6232
6236
|
},
|
|
6233
6237
|
[e, t]
|
|
6234
|
-
), c =
|
|
6238
|
+
), c = _e(
|
|
6235
6239
|
(h) => {
|
|
6236
6240
|
const g = new URLSearchParams(e);
|
|
6237
6241
|
Object.entries(h).forEach(([x, j]) => {
|
|
@@ -6239,13 +6243,13 @@ const wn = q.createContext({
|
|
|
6239
6243
|
}), t(g);
|
|
6240
6244
|
},
|
|
6241
6245
|
[e, t]
|
|
6242
|
-
), u =
|
|
6246
|
+
), u = _e(
|
|
6243
6247
|
(h) => {
|
|
6244
6248
|
const g = new URLSearchParams(e);
|
|
6245
6249
|
g.delete(h), t(g);
|
|
6246
6250
|
},
|
|
6247
6251
|
[e, t]
|
|
6248
|
-
), l =
|
|
6252
|
+
), l = _e(
|
|
6249
6253
|
(h) => {
|
|
6250
6254
|
const g = new URLSearchParams(e);
|
|
6251
6255
|
h.forEach((x) => {
|
|
@@ -6504,7 +6508,7 @@ const wn = q.createContext({
|
|
|
6504
6508
|
return {
|
|
6505
6509
|
ref: r,
|
|
6506
6510
|
submitForm: (c) => {
|
|
6507
|
-
|
|
6511
|
+
r.current && r.current.requestSubmit();
|
|
6508
6512
|
},
|
|
6509
6513
|
handleFormSubmission: i
|
|
6510
6514
|
};
|
|
@@ -6557,8 +6561,8 @@ const wn = q.createContext({
|
|
|
6557
6561
|
objectFit: "cover",
|
|
6558
6562
|
...a
|
|
6559
6563
|
},
|
|
6560
|
-
onClick: (
|
|
6561
|
-
|
|
6564
|
+
onClick: () => {
|
|
6565
|
+
r?.();
|
|
6562
6566
|
}
|
|
6563
6567
|
}
|
|
6564
6568
|
), Xo = Le.div`
|