@eliseubatista99/react-scaffold-core 1.1.21 → 1.2.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/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
|
-
import B, { forwardRef as
|
|
2
|
+
import B, { forwardRef as Pn, useContext as Ut, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as me, useRef as zr } 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 Yt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -96,7 +96,7 @@ function _n() {
|
|
|
96
96
|
switch (typeof n.tag == "number" && console.error(
|
|
97
97
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
98
98
|
), n.$$typeof) {
|
|
99
|
-
case
|
|
99
|
+
case C:
|
|
100
100
|
return "Portal";
|
|
101
101
|
case W:
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
@@ -148,7 +148,7 @@ function _n() {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
function a() {
|
|
151
|
-
var n =
|
|
151
|
+
var n = k.A;
|
|
152
152
|
return n === null ? null : n.getOwner();
|
|
153
153
|
}
|
|
154
154
|
function s() {
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function y(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var E = B, M = Symbol.for("react.transitional.element"),
|
|
267
|
+
var E = B, M = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), W = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), b = Symbol.for("react.activity"), h = Symbol.for("react.client.reference"), k = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, T = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
E = {
|
|
@@ -277,7 +277,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
277
277
|
s
|
|
278
278
|
)(), z = j(i(s)), v = {};
|
|
279
279
|
ze.Fragment = p, ze.jsx = function(n, f, O, I, D) {
|
|
280
|
-
var N = 1e4 >
|
|
280
|
+
var N = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
283
|
f,
|
|
@@ -289,7 +289,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
289
289
|
N ? j(i(n)) : z
|
|
290
290
|
);
|
|
291
291
|
}, ze.jsxs = function(n, f, O, I, D) {
|
|
292
|
-
var N = 1e4 >
|
|
292
|
+
var N = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
295
|
f,
|
|
@@ -374,24 +374,24 @@ var _t, or;
|
|
|
374
374
|
function Ln() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]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, d = typeof self == "object" && self && self.Object === Object && self, g = l || d || Function("return this")(), y = Object.prototype, E = y.toString, M = Math.max,
|
|
377
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]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, d = typeof self == "object" && self && self.Object === Object && self, g = l || d || Function("return this")(), y = Object.prototype, E = y.toString, M = Math.max, C = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function R(m, w, x) {
|
|
381
|
-
var _, b, h,
|
|
381
|
+
var _, b, h, k, H, T, j = 0, P = !1, L = !1, o = !0;
|
|
382
382
|
if (typeof m != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
384
|
w = F(w) || 0, S(x) && (P = !!x.leading, L = "maxWait" in x, h = L ? M(F(x.maxWait) || 0, w) : h, o = "trailing" in x ? !!x.trailing : o);
|
|
385
385
|
function z(U) {
|
|
386
386
|
var q = _, K = b;
|
|
387
|
-
return _ = b = void 0, j = U,
|
|
387
|
+
return _ = b = void 0, j = U, k = m.apply(K, q), k;
|
|
388
388
|
}
|
|
389
389
|
function v(U) {
|
|
390
|
-
return j = U, H = setTimeout(O, w), P ? z(U) :
|
|
390
|
+
return j = U, H = setTimeout(O, w), P ? z(U) : k;
|
|
391
391
|
}
|
|
392
392
|
function n(U) {
|
|
393
393
|
var q = U - T, K = U - j, G = w - q;
|
|
394
|
-
return L ?
|
|
394
|
+
return L ? C(G, h - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function f(U) {
|
|
397
397
|
var q = U - T, K = U - j;
|
|
@@ -404,13 +404,13 @@ function Ln() {
|
|
|
404
404
|
H = setTimeout(O, n(U));
|
|
405
405
|
}
|
|
406
406
|
function I(U) {
|
|
407
|
-
return H = void 0, o && _ ? z(U) : (_ = b = void 0,
|
|
407
|
+
return H = void 0, o && _ ? z(U) : (_ = b = void 0, k);
|
|
408
408
|
}
|
|
409
409
|
function D() {
|
|
410
410
|
H !== void 0 && clearTimeout(H), j = 0, _ = T = b = H = void 0;
|
|
411
411
|
}
|
|
412
412
|
function N() {
|
|
413
|
-
return H === void 0 ?
|
|
413
|
+
return H === void 0 ? k : I(p());
|
|
414
414
|
}
|
|
415
415
|
function V() {
|
|
416
416
|
var U = p(), q = f(U);
|
|
@@ -420,7 +420,7 @@ function Ln() {
|
|
|
420
420
|
if (L)
|
|
421
421
|
return H = setTimeout(O, w), z(T);
|
|
422
422
|
}
|
|
423
|
-
return H === void 0 && (H = setTimeout(O, w)),
|
|
423
|
+
return H === void 0 && (H = setTimeout(O, w)), k;
|
|
424
424
|
}
|
|
425
425
|
return V.cancel = D, V.flush = N, V;
|
|
426
426
|
}
|
|
@@ -491,7 +491,7 @@ function yt() {
|
|
|
491
491
|
}(Tt)), Tt.exports;
|
|
492
492
|
}
|
|
493
493
|
var Y = {}, jt = {}, lr;
|
|
494
|
-
function
|
|
494
|
+
function Nr() {
|
|
495
495
|
return lr || (lr = 1, function(e) {
|
|
496
496
|
Object.defineProperty(e, "__esModule", {
|
|
497
497
|
value: !0
|
|
@@ -572,7 +572,7 @@ function Ke() {
|
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
574
|
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = d, Y.extractObject = void 0, Y.filterSettings = z, Y.validSettings = Y.swipeStart = Y.swipeMove = Y.swipeEnd = Y.slidesOnRight = Y.slidesOnLeft = Y.slideHandler = Y.siblingDirection = Y.safePreventDefault = Y.lazyStartIndex = Y.lazySlidesOnRight = Y.lazySlidesOnLeft = Y.lazyEndIndex = Y.keyHandler = Y.initializedState = Y.getWidth = Y.getTrackLeft = Y.getTrackCSS = Y.getTrackAnimateCSS = Y.getTotalSlides = Y.getSwipeDirection = Y.getSlideCount = Y.getRequiredLazySlides = Y.getPreClones = Y.getPostClones = Y.getOnDemandLazySlides = Y.getNavigableIndexes = Y.getHeight = void 0;
|
|
575
|
-
var e = r(B), t = r(
|
|
575
|
+
var e = r(B), t = r(Nr());
|
|
576
576
|
function r(v) {
|
|
577
577
|
return v && v.__esModule ? v : { default: v };
|
|
578
578
|
}
|
|
@@ -639,10 +639,10 @@ function Ke() {
|
|
|
639
639
|
return f;
|
|
640
640
|
};
|
|
641
641
|
var E = Y.lazyStartIndex = function(n) {
|
|
642
|
-
return n.currentSlide -
|
|
642
|
+
return n.currentSlide - C(n);
|
|
643
643
|
}, M = Y.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
645
|
-
},
|
|
645
|
+
}, C = Y.lazySlidesOnLeft = function(n) {
|
|
646
646
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
647
647
|
}, p = Y.lazySlidesOnRight = function(n) {
|
|
648
648
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
@@ -906,22 +906,22 @@ function Ke() {
|
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if (I ? (oe = -
|
|
909
|
+
if (I ? (oe = -k(n), N % U !== 0 && f + U > N && (oe = -(f > N ? V - (f - N) : N % U)), D && (oe += parseInt(V / 2))) : (N % U !== 0 && f + U > N && (oe = V - N % U), D && (oe = parseInt(V / 2))), ee = oe * q, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * q * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
|
-
if (ue = f +
|
|
912
|
-
ue = I ? f +
|
|
911
|
+
if (ue = f + k(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
|
+
ue = I ? f + k(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
913
913
|
for (var pe = 0; pe < ue; pe++)
|
|
914
914
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
915
915
|
ie -= parseInt(n.centerPadding), ie += le && (K - le.offsetWidth) / 2;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
return ie;
|
|
919
|
-
},
|
|
919
|
+
}, k = Y.getPreClones = function(n) {
|
|
920
920
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
921
921
|
}, H = Y.getPostClones = function(n) {
|
|
922
922
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
923
923
|
}, T = Y.getTotalSlides = function(n) {
|
|
924
|
-
return n.slideCount === 1 ? 1 :
|
|
924
|
+
return n.slideCount === 1 ? 1 : k(n) + n.slideCount + H(n);
|
|
925
925
|
}, j = Y.siblingDirection = function(n) {
|
|
926
926
|
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + P(n) ? "left" : "right" : n.targetSlide < n.currentSlide - L(n) ? "right" : "left";
|
|
927
927
|
}, P = Y.slidesOnRight = function(n) {
|
|
@@ -971,9 +971,9 @@ function Mn() {
|
|
|
971
971
|
function s() {
|
|
972
972
|
return s = Object.assign ? Object.assign.bind() : function(b) {
|
|
973
973
|
for (var h = 1; h < arguments.length; h++) {
|
|
974
|
-
var
|
|
975
|
-
for (var H in
|
|
976
|
-
({}).hasOwnProperty.call(
|
|
974
|
+
var k = arguments[h];
|
|
975
|
+
for (var H in k)
|
|
976
|
+
({}).hasOwnProperty.call(k, H) && (b[H] = k[H]);
|
|
977
977
|
}
|
|
978
978
|
return b;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
@@ -982,12 +982,12 @@ function Mn() {
|
|
|
982
982
|
if (!(b instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
984
|
function u(b, h) {
|
|
985
|
-
for (var
|
|
986
|
-
var H = h[
|
|
985
|
+
for (var k = 0; k < h.length; k++) {
|
|
986
|
+
var H = h[k];
|
|
987
987
|
H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(b, W(H.key), H);
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function l(b, h,
|
|
990
|
+
function l(b, h, k) {
|
|
991
991
|
return h && u(b.prototype, h), Object.defineProperty(b, "prototype", { writable: !1 }), b;
|
|
992
992
|
}
|
|
993
993
|
function d(b, h) {
|
|
@@ -995,19 +995,19 @@ function Mn() {
|
|
|
995
995
|
b.prototype = Object.create(h && h.prototype, { constructor: { value: b, writable: !0, configurable: !0 } }), Object.defineProperty(b, "prototype", { writable: !1 }), h && g(b, h);
|
|
996
996
|
}
|
|
997
997
|
function g(b, h) {
|
|
998
|
-
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
999
|
-
return
|
|
998
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(k, H) {
|
|
999
|
+
return k.__proto__ = H, k;
|
|
1000
1000
|
}, g(b, h);
|
|
1001
1001
|
}
|
|
1002
1002
|
function y(b) {
|
|
1003
|
-
var h =
|
|
1003
|
+
var h = C();
|
|
1004
1004
|
return function() {
|
|
1005
|
-
var
|
|
1005
|
+
var k, H = p(b);
|
|
1006
1006
|
if (h) {
|
|
1007
1007
|
var T = p(this).constructor;
|
|
1008
|
-
|
|
1009
|
-
} else
|
|
1010
|
-
return E(this,
|
|
1008
|
+
k = Reflect.construct(H, arguments, T);
|
|
1009
|
+
} else k = H.apply(this, arguments);
|
|
1010
|
+
return E(this, k);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
1013
|
function E(b, h) {
|
|
@@ -1019,13 +1019,13 @@ function Mn() {
|
|
|
1019
1019
|
if (b === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1020
1020
|
return b;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1022
|
+
function C() {
|
|
1023
1023
|
try {
|
|
1024
1024
|
var b = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1025
1025
|
}));
|
|
1026
1026
|
} catch {
|
|
1027
1027
|
}
|
|
1028
|
-
return (
|
|
1028
|
+
return (C = function() {
|
|
1029
1029
|
return !!b;
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
@@ -1035,28 +1035,28 @@ function Mn() {
|
|
|
1035
1035
|
}, p(b);
|
|
1036
1036
|
}
|
|
1037
1037
|
function R(b, h) {
|
|
1038
|
-
var
|
|
1038
|
+
var k = Object.keys(b);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
1040
|
var H = Object.getOwnPropertySymbols(b);
|
|
1041
1041
|
h && (H = H.filter(function(T) {
|
|
1042
1042
|
return Object.getOwnPropertyDescriptor(b, T).enumerable;
|
|
1043
|
-
})),
|
|
1043
|
+
})), k.push.apply(k, H);
|
|
1044
1044
|
}
|
|
1045
|
-
return
|
|
1045
|
+
return k;
|
|
1046
1046
|
}
|
|
1047
1047
|
function S(b) {
|
|
1048
1048
|
for (var h = 1; h < arguments.length; h++) {
|
|
1049
|
-
var
|
|
1050
|
-
h % 2 ? R(Object(
|
|
1051
|
-
A(b, H,
|
|
1052
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(
|
|
1053
|
-
Object.defineProperty(b, H, Object.getOwnPropertyDescriptor(
|
|
1049
|
+
var k = arguments[h] != null ? arguments[h] : {};
|
|
1050
|
+
h % 2 ? R(Object(k), !0).forEach(function(H) {
|
|
1051
|
+
A(b, H, k[H]);
|
|
1052
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(k)) : R(Object(k)).forEach(function(H) {
|
|
1053
|
+
Object.defineProperty(b, H, Object.getOwnPropertyDescriptor(k, H));
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
1056
|
return b;
|
|
1057
1057
|
}
|
|
1058
|
-
function A(b, h,
|
|
1059
|
-
return (h = W(h)) in b ? Object.defineProperty(b, h, { value:
|
|
1058
|
+
function A(b, h, k) {
|
|
1059
|
+
return (h = W(h)) in b ? Object.defineProperty(b, h, { value: k, enumerable: !0, configurable: !0, writable: !0 }) : b[h] = k, b;
|
|
1060
1060
|
}
|
|
1061
1061
|
function W(b) {
|
|
1062
1062
|
var h = F(b, "string");
|
|
@@ -1064,35 +1064,35 @@ function Mn() {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
function F(b, h) {
|
|
1066
1066
|
if (a(b) != "object" || !b) return b;
|
|
1067
|
-
var
|
|
1068
|
-
if (
|
|
1069
|
-
var H =
|
|
1067
|
+
var k = b[Symbol.toPrimitive];
|
|
1068
|
+
if (k !== void 0) {
|
|
1069
|
+
var H = k.call(b, h);
|
|
1070
1070
|
if (a(H) != "object") return H;
|
|
1071
1071
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1072
1072
|
}
|
|
1073
1073
|
return (h === "string" ? String : Number)(b);
|
|
1074
1074
|
}
|
|
1075
1075
|
var m = function(h) {
|
|
1076
|
-
var
|
|
1077
|
-
h.rtl ? P = h.slideCount - 1 - h.index : P = h.index, T = P < 0 || P >= h.slideCount, h.centerMode ? (j = Math.floor(h.slidesToShow / 2), H = (P - h.currentSlide) % h.slideCount === 0, P > h.currentSlide - j - 1 && P <= h.currentSlide + j && (
|
|
1076
|
+
var k, H, T, j, P;
|
|
1077
|
+
h.rtl ? P = h.slideCount - 1 - h.index : P = h.index, T = P < 0 || P >= h.slideCount, h.centerMode ? (j = Math.floor(h.slidesToShow / 2), H = (P - h.currentSlide) % h.slideCount === 0, P > h.currentSlide - j - 1 && P <= h.currentSlide + j && (k = !0)) : k = h.currentSlide <= P && P < h.currentSlide + h.slidesToShow;
|
|
1078
1078
|
var L;
|
|
1079
1079
|
h.targetSlide < 0 ? L = h.targetSlide + h.slideCount : h.targetSlide >= h.slideCount ? L = h.targetSlide - h.slideCount : L = h.targetSlide;
|
|
1080
1080
|
var o = P === L;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
1083
|
-
"slick-active":
|
|
1083
|
+
"slick-active": k,
|
|
1084
1084
|
"slick-center": H,
|
|
1085
1085
|
"slick-cloned": T,
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
1089
|
}, w = function(h) {
|
|
1090
|
-
var
|
|
1091
|
-
return (h.variableWidth === void 0 || h.variableWidth === !1) && (
|
|
1092
|
-
}, x = function(h,
|
|
1093
|
-
return h.key ||
|
|
1090
|
+
var k = {};
|
|
1091
|
+
return (h.variableWidth === void 0 || h.variableWidth === !1) && (k.width = h.slideWidth), h.fade && (k.position = "relative", h.vertical ? k.top = -h.index * parseInt(h.slideHeight) : k.left = -h.index * parseInt(h.slideWidth), k.opacity = h.currentSlide === h.index ? 1 : 0, k.zIndex = h.currentSlide === h.index ? 999 : 998, h.useCSS && (k.transition = "opacity " + h.speed + "ms " + h.cssEase + ", visibility " + h.speed + "ms " + h.cssEase)), k;
|
|
1092
|
+
}, x = function(h, k) {
|
|
1093
|
+
return h.key || k;
|
|
1094
1094
|
}, _ = function(h) {
|
|
1095
|
-
var
|
|
1095
|
+
var k, H = [], T = [], j = [], P = e.default.Children.count(h.children), L = (0, r.lazyStartIndex)(h), o = (0, r.lazyEndIndex)(h);
|
|
1096
1096
|
return e.default.Children.forEach(h.children, function(z, v) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
@@ -1120,11 +1120,11 @@ function Mn() {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
})), h.infinite && P > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var N = P - v;
|
|
1123
|
-
N <= (0, r.getPreClones)(h) && (
|
|
1124
|
-
index:
|
|
1123
|
+
N <= (0, r.getPreClones)(h) && (k = -N, k >= L && (n = z), D = m(S(S({}, h), {}, {
|
|
1124
|
+
index: k
|
|
1125
1125
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
|
-
key: "precloned" + x(n,
|
|
1127
|
-
"data-index":
|
|
1126
|
+
key: "precloned" + x(n, k),
|
|
1127
|
+
"data-index": k,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
1129
|
className: (0, t.default)(D, I),
|
|
1130
1130
|
"aria-hidden": !D["slick-active"],
|
|
@@ -1132,11 +1132,11 @@ function Mn() {
|
|
|
1132
1132
|
onClick: function(U) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(U), h.focusOnSelect && h.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), v < (0, r.getPostClones)(h) && (
|
|
1136
|
-
index:
|
|
1135
|
+
}))), v < (0, r.getPostClones)(h) && (k = P + v, k < o && (n = z), D = m(S(S({}, h), {}, {
|
|
1136
|
+
index: k
|
|
1137
1137
|
})), j.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
|
-
key: "postcloned" + x(n,
|
|
1139
|
-
"data-index":
|
|
1138
|
+
key: "postcloned" + x(n, k),
|
|
1139
|
+
"data-index": k,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
1141
|
className: (0, t.default)(D, I),
|
|
1142
1142
|
"aria-hidden": !D["slick-active"],
|
|
@@ -1149,18 +1149,18 @@ function Mn() {
|
|
|
1149
1149
|
}), h.rtl ? T.concat(H, j).reverse() : T.concat(H, j);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(b) {
|
|
1152
|
-
d(
|
|
1153
|
-
var h = y(
|
|
1154
|
-
function
|
|
1152
|
+
d(k, b);
|
|
1153
|
+
var h = y(k);
|
|
1154
|
+
function k() {
|
|
1155
1155
|
var H;
|
|
1156
|
-
c(this,
|
|
1156
|
+
c(this, k);
|
|
1157
1157
|
for (var T = arguments.length, j = new Array(T), P = 0; P < T; P++)
|
|
1158
1158
|
j[P] = arguments[P];
|
|
1159
1159
|
return H = h.call.apply(h, [this].concat(j)), A(M(H), "node", null), A(M(H), "handleRef", function(L) {
|
|
1160
1160
|
H.node = L;
|
|
1161
1161
|
}), H;
|
|
1162
1162
|
}
|
|
1163
|
-
return l(
|
|
1163
|
+
return l(k, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
1166
|
var T = _(this.props), j = this.props, P = j.onMouseEnter, L = j.onMouseOver, o = j.onMouseLeave, z = {
|
|
@@ -1174,7 +1174,7 @@ function Mn() {
|
|
|
1174
1174
|
style: this.props.trackStyle
|
|
1175
1175
|
}, z), T);
|
|
1176
1176
|
}
|
|
1177
|
-
}]),
|
|
1177
|
+
}]), k;
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
1179
1179
|
}
|
|
1180
1180
|
var We = {}, fr;
|
|
@@ -1248,12 +1248,12 @@ function Dn() {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
function M(m, w) {
|
|
1250
1250
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
-
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w &&
|
|
1251
|
+
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w && C(m, w);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return
|
|
1253
|
+
function C(m, w) {
|
|
1254
|
+
return C = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, _) {
|
|
1255
1255
|
return x.__proto__ = _, x;
|
|
1256
|
-
},
|
|
1256
|
+
}, C(m, w);
|
|
1257
1257
|
}
|
|
1258
1258
|
function p(m) {
|
|
1259
1259
|
var w = A();
|
|
@@ -1308,14 +1308,14 @@ function Dn() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var b = this.props, h = b.onMouseEnter,
|
|
1311
|
+
for (var b = this.props, h = b.onMouseEnter, k = b.onMouseOver, H = b.onMouseLeave, T = b.infinite, j = b.slidesToScroll, P = b.slidesToShow, L = b.slideCount, o = b.currentSlide, z = F({
|
|
1312
1312
|
slideCount: L,
|
|
1313
1313
|
slidesToScroll: j,
|
|
1314
1314
|
slidesToShow: P,
|
|
1315
1315
|
infinite: T
|
|
1316
1316
|
}), v = {
|
|
1317
1317
|
onMouseEnter: h,
|
|
1318
|
-
onMouseOver:
|
|
1318
|
+
onMouseOver: k,
|
|
1319
1319
|
onMouseLeave: H
|
|
1320
1320
|
}, n = [], f = 0; f < z; f++) {
|
|
1321
1321
|
var O = (f + 1) * j - 1, I = T ? O : (0, i.clamp)(O, 0, L - 1), D = I - (j - 1), N = T ? D : (0, i.clamp)(D, 0, L - 1), V = (0, r.default)({
|
|
@@ -1419,7 +1419,7 @@ function $n() {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
return String(m);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function C(m, w) {
|
|
1423
1423
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
1424
|
m.prototype = Object.create(w && w.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), Object.defineProperty(m, "prototype", { writable: !1 }), w && p(m, w);
|
|
1425
1425
|
}
|
|
@@ -1464,7 +1464,7 @@ function $n() {
|
|
|
1464
1464
|
}, F(m);
|
|
1465
1465
|
}
|
|
1466
1466
|
return _e.PrevArrow = /* @__PURE__ */ function(m) {
|
|
1467
|
-
|
|
1467
|
+
C(x, m);
|
|
1468
1468
|
var w = R(x);
|
|
1469
1469
|
function x() {
|
|
1470
1470
|
return d(this, x), w.apply(this, arguments);
|
|
@@ -1484,7 +1484,7 @@ function $n() {
|
|
|
1484
1484
|
message: "previous"
|
|
1485
1485
|
});
|
|
1486
1486
|
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (b["slick-disabled"] = !0, h = null);
|
|
1487
|
-
var
|
|
1487
|
+
var k = {
|
|
1488
1488
|
key: "0",
|
|
1489
1489
|
"data-role": "none",
|
|
1490
1490
|
className: (0, r.default)(b),
|
|
@@ -1496,14 +1496,14 @@ function $n() {
|
|
|
1496
1496
|
currentSlide: this.props.currentSlide,
|
|
1497
1497
|
slideCount: this.props.slideCount
|
|
1498
1498
|
}, T;
|
|
1499
|
-
return this.props.prevArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({},
|
|
1499
|
+
return this.props.prevArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, k), H)) : T = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1500
1500
|
key: "0",
|
|
1501
1501
|
type: "button"
|
|
1502
|
-
},
|
|
1502
|
+
}, k), " ", "Previous"), T;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), x;
|
|
1505
1505
|
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(m) {
|
|
1506
|
-
|
|
1506
|
+
C(x, m);
|
|
1507
1507
|
var w = R(x);
|
|
1508
1508
|
function x() {
|
|
1509
1509
|
return d(this, x), w.apply(this, arguments);
|
|
@@ -1523,7 +1523,7 @@ function $n() {
|
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
1525
|
(0, i.canGoNext)(this.props) || (b["slick-disabled"] = !0, h = null);
|
|
1526
|
-
var
|
|
1526
|
+
var k = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
1529
1529
|
className: (0, r.default)(b),
|
|
@@ -1535,15 +1535,15 @@ function $n() {
|
|
|
1535
1535
|
currentSlide: this.props.currentSlide,
|
|
1536
1536
|
slideCount: this.props.slideCount
|
|
1537
1537
|
}, T;
|
|
1538
|
-
return this.props.nextArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({},
|
|
1538
|
+
return this.props.nextArrow ? T = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, k), H)) : T = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1539
1539
|
key: "1",
|
|
1540
1540
|
type: "button"
|
|
1541
|
-
},
|
|
1541
|
+
}, k), " ", "Next"), T;
|
|
1542
1542
|
}
|
|
1543
1543
|
}]), x;
|
|
1544
1544
|
}(t.default.PureComponent), _e;
|
|
1545
1545
|
}
|
|
1546
|
-
var
|
|
1546
|
+
var Fr = function() {
|
|
1547
1547
|
if (typeof Map < "u")
|
|
1548
1548
|
return Map;
|
|
1549
1549
|
function e(t, r) {
|
|
@@ -1657,7 +1657,7 @@ var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1657
1657
|
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
1658
1658
|
}, e.instance_ = null, e;
|
|
1659
1659
|
}()
|
|
1660
|
-
),
|
|
1660
|
+
), Wr = function(e, t) {
|
|
1661
1661
|
for (var r = 0, i = Object.keys(t); r < i.length; r++) {
|
|
1662
1662
|
var a = i[r];
|
|
1663
1663
|
Object.defineProperty(e, a, {
|
|
@@ -1671,7 +1671,7 @@ var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1671
1671
|
}, je = function(e) {
|
|
1672
1672
|
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
1673
1673
|
return t || pt;
|
|
1674
|
-
},
|
|
1674
|
+
}, Vr = bt(0, 0, 0, 0);
|
|
1675
1675
|
function mt(e) {
|
|
1676
1676
|
return parseFloat(e) || 0;
|
|
1677
1677
|
}
|
|
@@ -1697,7 +1697,7 @@ function Un(e) {
|
|
|
1697
1697
|
function Yn(e) {
|
|
1698
1698
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1699
1699
|
if (!t && !r)
|
|
1700
|
-
return
|
|
1700
|
+
return Vr;
|
|
1701
1701
|
var i = je(e).getComputedStyle(e), a = Vn(i), s = a.left + a.right, c = a.top + a.bottom, u = mt(i.width), l = mt(i.height);
|
|
1702
1702
|
if (i.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(i, "left", "right") + s), Math.round(l + c) !== r && (l -= hr(i, "top", "bottom") + c)), !qn(e)) {
|
|
1703
1703
|
var d = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
@@ -1716,11 +1716,11 @@ function qn(e) {
|
|
|
1716
1716
|
return e === je(e).document.documentElement;
|
|
1717
1717
|
}
|
|
1718
1718
|
function Xn(e) {
|
|
1719
|
-
return At ? Bn(e) ? Un(e) : Yn(e) :
|
|
1719
|
+
return At ? Bn(e) ? Un(e) : Yn(e) : Vr;
|
|
1720
1720
|
}
|
|
1721
1721
|
function Gn(e) {
|
|
1722
1722
|
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, c = Object.create(s.prototype);
|
|
1723
|
-
return
|
|
1723
|
+
return Wr(c, {
|
|
1724
1724
|
x: t,
|
|
1725
1725
|
y: r,
|
|
1726
1726
|
width: i,
|
|
@@ -1753,7 +1753,7 @@ var Kn = (
|
|
|
1753
1753
|
/* @__PURE__ */ function() {
|
|
1754
1754
|
function e(t, r) {
|
|
1755
1755
|
var i = Gn(r);
|
|
1756
|
-
|
|
1756
|
+
Wr(this, { target: t, contentRect: i });
|
|
1757
1757
|
}
|
|
1758
1758
|
return e;
|
|
1759
1759
|
}()
|
|
@@ -1761,7 +1761,7 @@ var Kn = (
|
|
|
1761
1761
|
/** @class */
|
|
1762
1762
|
function() {
|
|
1763
1763
|
function e(t, r, i) {
|
|
1764
|
-
if (this.activeObservations_ = [], this.observations_ = new
|
|
1764
|
+
if (this.activeObservations_ = [], this.observations_ = new Fr(), typeof t != "function")
|
|
1765
1765
|
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
1766
1766
|
this.callback_ = t, this.controller_ = r, this.callbackCtx_ = i;
|
|
1767
1767
|
}
|
|
@@ -1803,7 +1803,7 @@ var Kn = (
|
|
|
1803
1803
|
return this.activeObservations_.length > 0;
|
|
1804
1804
|
}, e;
|
|
1805
1805
|
}()
|
|
1806
|
-
),
|
|
1806
|
+
), Ur = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Fr(), Yr = (
|
|
1807
1807
|
/** @class */
|
|
1808
1808
|
/* @__PURE__ */ function() {
|
|
1809
1809
|
function e(t) {
|
|
@@ -1812,7 +1812,7 @@ var Kn = (
|
|
|
1812
1812
|
if (!arguments.length)
|
|
1813
1813
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1814
1814
|
var r = Wn.getInstance(), i = new Zn(t, r, this);
|
|
1815
|
-
|
|
1815
|
+
Ur.set(this, i);
|
|
1816
1816
|
}
|
|
1817
1817
|
return e;
|
|
1818
1818
|
}()
|
|
@@ -1822,13 +1822,13 @@ var Kn = (
|
|
|
1822
1822
|
"unobserve",
|
|
1823
1823
|
"disconnect"
|
|
1824
1824
|
].forEach(function(e) {
|
|
1825
|
-
|
|
1825
|
+
Yr.prototype[e] = function() {
|
|
1826
1826
|
var t;
|
|
1827
|
-
return (t =
|
|
1827
|
+
return (t = Ur.get(this))[e].apply(t, arguments);
|
|
1828
1828
|
};
|
|
1829
1829
|
});
|
|
1830
1830
|
var Qn = function() {
|
|
1831
|
-
return typeof pt.ResizeObserver < "u" ? pt.ResizeObserver :
|
|
1831
|
+
return typeof pt.ResizeObserver < "u" ? pt.ResizeObserver : Yr;
|
|
1832
1832
|
}();
|
|
1833
1833
|
const ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1834
1834
|
__proto__: null,
|
|
@@ -1882,7 +1882,7 @@ function ri() {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
return P;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function C(T, j) {
|
|
1886
1886
|
var P = Object.keys(T);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
1888
|
var L = Object.getOwnPropertySymbols(T);
|
|
@@ -1895,9 +1895,9 @@ function ri() {
|
|
|
1895
1895
|
function p(T) {
|
|
1896
1896
|
for (var j = 1; j < arguments.length; j++) {
|
|
1897
1897
|
var P = arguments[j] != null ? arguments[j] : {};
|
|
1898
|
-
j % 2 ?
|
|
1898
|
+
j % 2 ? C(Object(P), !0).forEach(function(L) {
|
|
1899
1899
|
h(T, L, P[L]);
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(P)) :
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(T, Object.getOwnPropertyDescriptors(P)) : C(Object(P)).forEach(function(L) {
|
|
1901
1901
|
Object.defineProperty(T, L, Object.getOwnPropertyDescriptor(P, L));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
@@ -1909,7 +1909,7 @@ function ri() {
|
|
|
1909
1909
|
function S(T, j) {
|
|
1910
1910
|
for (var P = 0; P < j.length; P++) {
|
|
1911
1911
|
var L = j[P];
|
|
1912
|
-
L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(T,
|
|
1912
|
+
L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(T, k(L.key), L);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
function A(T, j, P) {
|
|
@@ -1960,9 +1960,9 @@ function ri() {
|
|
|
1960
1960
|
}, b(T);
|
|
1961
1961
|
}
|
|
1962
1962
|
function h(T, j, P) {
|
|
1963
|
-
return (j =
|
|
1963
|
+
return (j = k(j)) in T ? Object.defineProperty(T, j, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : T[j] = P, T;
|
|
1964
1964
|
}
|
|
1965
|
-
function
|
|
1965
|
+
function k(T) {
|
|
1966
1966
|
var j = H(T, "string");
|
|
1967
1967
|
return g(j) == "symbol" ? j : j + "";
|
|
1968
1968
|
}
|
|
@@ -2406,7 +2406,7 @@ function ai() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t = c(B), r = ri(), i = c(ii()), a = c(
|
|
2409
|
+
var t = c(B), r = ri(), i = c(ii()), a = c(Nr()), s = Ke();
|
|
2410
2410
|
function c(_) {
|
|
2411
2411
|
return _ && _.__esModule ? _ : { default: _ };
|
|
2412
2412
|
}
|
|
@@ -2422,8 +2422,8 @@ function ai() {
|
|
|
2422
2422
|
return l = Object.assign ? Object.assign.bind() : function(_) {
|
|
2423
2423
|
for (var b = 1; b < arguments.length; b++) {
|
|
2424
2424
|
var h = arguments[b];
|
|
2425
|
-
for (var
|
|
2426
|
-
({}).hasOwnProperty.call(h,
|
|
2425
|
+
for (var k in h)
|
|
2426
|
+
({}).hasOwnProperty.call(h, k) && (_[k] = h[k]);
|
|
2427
2427
|
}
|
|
2428
2428
|
return _;
|
|
2429
2429
|
}, l.apply(null, arguments);
|
|
@@ -2431,20 +2431,20 @@ function ai() {
|
|
|
2431
2431
|
function d(_, b) {
|
|
2432
2432
|
var h = Object.keys(_);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
|
-
var
|
|
2435
|
-
b && (
|
|
2434
|
+
var k = Object.getOwnPropertySymbols(_);
|
|
2435
|
+
b && (k = k.filter(function(H) {
|
|
2436
2436
|
return Object.getOwnPropertyDescriptor(_, H).enumerable;
|
|
2437
|
-
})), h.push.apply(h,
|
|
2437
|
+
})), h.push.apply(h, k);
|
|
2438
2438
|
}
|
|
2439
2439
|
return h;
|
|
2440
2440
|
}
|
|
2441
2441
|
function g(_) {
|
|
2442
2442
|
for (var b = 1; b < arguments.length; b++) {
|
|
2443
2443
|
var h = arguments[b] != null ? arguments[b] : {};
|
|
2444
|
-
b % 2 ? d(Object(h), !0).forEach(function(
|
|
2445
|
-
m(_,
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(
|
|
2447
|
-
Object.defineProperty(_,
|
|
2444
|
+
b % 2 ? d(Object(h), !0).forEach(function(k) {
|
|
2445
|
+
m(_, k, h[k]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(k) {
|
|
2447
|
+
Object.defineProperty(_, k, Object.getOwnPropertyDescriptor(h, k));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
2450
|
return _;
|
|
@@ -2454,30 +2454,30 @@ function ai() {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
function E(_, b) {
|
|
2456
2456
|
for (var h = 0; h < b.length; h++) {
|
|
2457
|
-
var
|
|
2458
|
-
|
|
2457
|
+
var k = b[h];
|
|
2458
|
+
k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(_, w(k.key), k);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
2461
|
function M(_, b, h) {
|
|
2462
2462
|
return b && E(_.prototype, b), Object.defineProperty(_, "prototype", { writable: !1 }), _;
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function C(_, b) {
|
|
2465
2465
|
if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2466
2466
|
_.prototype = Object.create(b && b.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), b && p(_, b);
|
|
2467
2467
|
}
|
|
2468
2468
|
function p(_, b) {
|
|
2469
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h,
|
|
2470
|
-
return h.__proto__ =
|
|
2469
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h, k) {
|
|
2470
|
+
return h.__proto__ = k, h;
|
|
2471
2471
|
}, p(_, b);
|
|
2472
2472
|
}
|
|
2473
2473
|
function R(_) {
|
|
2474
2474
|
var b = W();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var h,
|
|
2476
|
+
var h, k = F(_);
|
|
2477
2477
|
if (b) {
|
|
2478
2478
|
var H = F(this).constructor;
|
|
2479
|
-
h = Reflect.construct(
|
|
2480
|
-
} else h =
|
|
2479
|
+
h = Reflect.construct(k, arguments, H);
|
|
2480
|
+
} else h = k.apply(this, arguments);
|
|
2481
2481
|
return S(this, h);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
@@ -2516,18 +2516,18 @@ function ai() {
|
|
|
2516
2516
|
if (u(_) != "object" || !_) return _;
|
|
2517
2517
|
var h = _[Symbol.toPrimitive];
|
|
2518
2518
|
if (h !== void 0) {
|
|
2519
|
-
var
|
|
2520
|
-
if (u(
|
|
2519
|
+
var k = h.call(_, b);
|
|
2520
|
+
if (u(k) != "object") return k;
|
|
2521
2521
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2522
2522
|
}
|
|
2523
2523
|
return (b === "string" ? String : Number)(_);
|
|
2524
2524
|
}
|
|
2525
2525
|
e.default = /* @__PURE__ */ function(_) {
|
|
2526
|
-
|
|
2526
|
+
C(h, _);
|
|
2527
2527
|
var b = R(h);
|
|
2528
|
-
function h(
|
|
2528
|
+
function h(k) {
|
|
2529
2529
|
var H;
|
|
2530
|
-
return y(this, h), H = b.call(this,
|
|
2530
|
+
return y(this, h), H = b.call(this, k), m(A(H), "innerSliderRefHandler", function(T) {
|
|
2531
2531
|
return H.innerSlider = T;
|
|
2532
2532
|
}), m(A(H), "slickPrev", function() {
|
|
2533
2533
|
return H.innerSlider.slickPrev();
|
|
@@ -2713,11 +2713,11 @@ var fi = /* @__PURE__ */ function() {
|
|
|
2713
2713
|
return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
|
|
2714
2714
|
}), this.tags = [], this.ctr = 0;
|
|
2715
2715
|
}, e;
|
|
2716
|
-
}(), de = "-ms-", vt = "-moz-", re = "-webkit-",
|
|
2716
|
+
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Br = "comm", Bt = "rule", qt = "decl", di = "@import", qr = "@keyframes", hi = "@layer", pi = Math.abs, wt = String.fromCharCode, mi = Object.assign;
|
|
2717
2717
|
function vi(e, t) {
|
|
2718
2718
|
return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2720
|
+
function Xr(e) {
|
|
2721
2721
|
return e.trim();
|
|
2722
2722
|
}
|
|
2723
2723
|
function gi(e, t) {
|
|
@@ -2747,7 +2747,7 @@ function it(e, t) {
|
|
|
2747
2747
|
function yi(e, t) {
|
|
2748
2748
|
return e.map(t).join("");
|
|
2749
2749
|
}
|
|
2750
|
-
var St = 1, Le = 1,
|
|
2750
|
+
var St = 1, Le = 1, Gr = 0, he = 0, se = 0, Me = "";
|
|
2751
2751
|
function xt(e, t, r, i, a, s, c) {
|
|
2752
2752
|
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length: c, return: "" };
|
|
2753
2753
|
}
|
|
@@ -2761,7 +2761,7 @@ function wi() {
|
|
|
2761
2761
|
return se = he > 0 ? fe(Me, --he) : 0, Le--, se === 10 && (Le = 1, St--), se;
|
|
2762
2762
|
}
|
|
2763
2763
|
function ve() {
|
|
2764
|
-
return se = he <
|
|
2764
|
+
return se = he < Gr ? fe(Me, he++) : 0, Le++, se === 10 && (Le = 1, St++), se;
|
|
2765
2765
|
}
|
|
2766
2766
|
function we() {
|
|
2767
2767
|
return fe(Me, he);
|
|
@@ -2810,14 +2810,14 @@ function qe(e) {
|
|
|
2810
2810
|
}
|
|
2811
2811
|
return 0;
|
|
2812
2812
|
}
|
|
2813
|
-
function Gr(e) {
|
|
2814
|
-
return St = Le = 1, Xr = ye(Me = e), he = 0, [];
|
|
2815
|
-
}
|
|
2816
2813
|
function Kr(e) {
|
|
2814
|
+
return St = Le = 1, Gr = ye(Me = e), he = 0, [];
|
|
2815
|
+
}
|
|
2816
|
+
function Jr(e) {
|
|
2817
2817
|
return Me = "", e;
|
|
2818
2818
|
}
|
|
2819
2819
|
function st(e) {
|
|
2820
|
-
return
|
|
2820
|
+
return Xr(Je(he - 1, Nt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2821
2821
|
}
|
|
2822
2822
|
function Si(e) {
|
|
2823
2823
|
for (; (se = we()) && se < 33; )
|
|
@@ -2857,20 +2857,20 @@ function Oi(e, t) {
|
|
|
2857
2857
|
break;
|
|
2858
2858
|
return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : ve());
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function Ci(e) {
|
|
2861
2861
|
for (; !qe(we()); )
|
|
2862
2862
|
ve();
|
|
2863
2863
|
return Je(e, he);
|
|
2864
2864
|
}
|
|
2865
|
-
function
|
|
2866
|
-
return
|
|
2865
|
+
function ki(e) {
|
|
2866
|
+
return Jr(lt("", null, null, null, [""], e = Kr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
2868
|
function lt(e, t, r, i, a, s, c, u, l) {
|
|
2869
|
-
for (var d = 0, g = 0, y = c, E = 0, M = 0,
|
|
2870
|
-
switch (
|
|
2869
|
+
for (var d = 0, g = 0, y = c, E = 0, M = 0, C = 0, p = 1, R = 1, S = 1, A = 0, W = "", F = a, m = s, w = i, x = W; R; )
|
|
2870
|
+
switch (C = A, A = ve()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (
|
|
2873
|
+
if (C != 108 && fe(x, y - 1) == 58) {
|
|
2874
2874
|
zt(x += ne(st(A), "&", "&\f"), "&\f") != -1 && (S = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
@@ -2885,7 +2885,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
x += Si(
|
|
2888
|
+
x += Si(C);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
@@ -2943,7 +2943,7 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
y = 1 + ye(x), M =
|
|
2946
|
+
y = 1 + ye(x), M = C;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (A == 123)
|
|
@@ -2962,23 +2962,23 @@ function lt(e, t, r, i, a, s, c, u, l) {
|
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
we() === 45 && (x += st(ve())), E = we(), g = y = ye(W = x +=
|
|
2965
|
+
we() === 45 && (x += st(ve())), E = we(), g = y = ye(W = x += Ci(ot())), A++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
2969
|
-
|
|
2969
|
+
C === 45 && ye(x) == 2 && (p = 0);
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, c, u, l, d, g) {
|
|
2975
|
-
for (var y = a - 1, E = a === 0 ? s : [""], M = Xt(E),
|
|
2976
|
-
for (var S = 0, A = Be(e, y + 1, y = pi(p = c[
|
|
2977
|
-
(W =
|
|
2975
|
+
for (var y = a - 1, E = a === 0 ? s : [""], M = Xt(E), C = 0, p = 0, R = 0; C < i; ++C)
|
|
2976
|
+
for (var S = 0, A = Be(e, y + 1, y = pi(p = c[C])), W = e; S < M; ++S)
|
|
2977
|
+
(W = Xr(p > 0 ? E[S] + " " + A : ne(A, /&\f/g, E[S]))) && (l[R++] = W);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? Bt : u, l, d, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function Pi(e, t, r) {
|
|
2981
|
-
return xt(e, t, r,
|
|
2981
|
+
return xt(e, t, r, Br, wt(bi()), Be(e, 2, -2), 0);
|
|
2982
2982
|
}
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
2984
2984
|
return xt(e, t, r, qt, Be(e, 0, i), Be(e, i + 1, -1), i);
|
|
@@ -2995,9 +2995,9 @@ function Ei(e, t, r, i) {
|
|
|
2995
2995
|
case di:
|
|
2996
2996
|
case qt:
|
|
2997
2997
|
return e.return = e.return || e.value;
|
|
2998
|
-
case Yr:
|
|
2999
|
-
return "";
|
|
3000
2998
|
case Br:
|
|
2999
|
+
return "";
|
|
3000
|
+
case qr:
|
|
3001
3001
|
return e.return = e.value + "{" + Te(e.children, i) + "}";
|
|
3002
3002
|
case Bt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
@@ -3017,7 +3017,7 @@ function _i(e) {
|
|
|
3017
3017
|
t.root || (t = t.return) && e(t);
|
|
3018
3018
|
};
|
|
3019
3019
|
}
|
|
3020
|
-
function
|
|
3020
|
+
function Zr(e) {
|
|
3021
3021
|
var t = /* @__PURE__ */ Object.create(null);
|
|
3022
3022
|
return function(r) {
|
|
3023
3023
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
@@ -3049,7 +3049,7 @@ var Ti = function(t, r, i) {
|
|
|
3049
3049
|
while (a = ve());
|
|
3050
3050
|
return t;
|
|
3051
3051
|
}, Li = function(t, r) {
|
|
3052
|
-
return
|
|
3052
|
+
return Jr(ji(Kr(t), r));
|
|
3053
3053
|
}, Sr = /* @__PURE__ */ new WeakMap(), Mi = 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
|
|
@@ -3071,7 +3071,7 @@ var Ti = function(t, r, i) {
|
|
|
3071
3071
|
r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
3072
3072
|
}
|
|
3073
3073
|
};
|
|
3074
|
-
function
|
|
3074
|
+
function Qr(e, t) {
|
|
3075
3075
|
switch (vi(e, t)) {
|
|
3076
3076
|
// color-adjust
|
|
3077
3077
|
case 5103:
|
|
@@ -3179,7 +3179,7 @@ function Zr(e, t) {
|
|
|
3179
3179
|
return ne(e, /(.+:)(.+)-([^]+)/, "$1" + re + "$2-$3$1" + vt + (fe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
3180
3180
|
// (s)tretch
|
|
3181
3181
|
case 115:
|
|
3182
|
-
return ~zt(e, "stretch") ?
|
|
3182
|
+
return ~zt(e, "stretch") ? Qr(ne(e, "stretch", "fill-available"), t) + e : e;
|
|
3183
3183
|
}
|
|
3184
3184
|
break;
|
|
3185
3185
|
// position: sticky
|
|
@@ -3216,9 +3216,9 @@ function Zr(e, t) {
|
|
|
3216
3216
|
var $i = function(t, r, i, a) {
|
|
3217
3217
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
3218
3218
|
case qt:
|
|
3219
|
-
t.return =
|
|
3219
|
+
t.return = Qr(t.value, t.length);
|
|
3220
3220
|
break;
|
|
3221
|
-
case
|
|
3221
|
+
case qr:
|
|
3222
3222
|
return Te([Ve(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], a);
|
|
@@ -3269,13 +3269,13 @@ var $i = function(t, r, i, a) {
|
|
|
3269
3269
|
var g, y = [Ei, _i(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
3271
|
})], E = Ri(d.concat(a, y)), M = function(R) {
|
|
3272
|
-
return Te(
|
|
3272
|
+
return Te(ki(R), E);
|
|
3273
3273
|
};
|
|
3274
3274
|
l = function(R, S, A, W) {
|
|
3275
|
-
g = A, M(R ? R + "{" + S.styles + "}" : S.styles), W && (
|
|
3275
|
+
g = A, M(R ? R + "{" + S.styles + "}" : S.styles), W && (C.inserted[S.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
var
|
|
3278
|
+
var C = {
|
|
3279
3279
|
key: r,
|
|
3280
3280
|
sheet: new fi({
|
|
3281
3281
|
key: r,
|
|
@@ -3290,7 +3290,7 @@ var $i = function(t, r, i, a) {
|
|
|
3290
3290
|
registered: {},
|
|
3291
3291
|
insert: l
|
|
3292
3292
|
};
|
|
3293
|
-
return
|
|
3293
|
+
return C.sheet.hydrate(u), C;
|
|
3294
3294
|
}, Hi = !0;
|
|
3295
3295
|
function zi(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
@@ -3298,7 +3298,7 @@ function zi(e, t, r) {
|
|
|
3298
3298
|
e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
|
|
3299
3299
|
}), i;
|
|
3300
3300
|
}
|
|
3301
|
-
var
|
|
3301
|
+
var en = function(t, r, i) {
|
|
3302
3302
|
var a = t.key + "-" + r.name;
|
|
3303
3303
|
// we only need to add the styles to the registered cache if the
|
|
3304
3304
|
// class name could be used further down
|
|
@@ -3311,7 +3311,7 @@ var Qr = function(t, r, i) {
|
|
|
3311
3311
|
// also, note that this check will be dead code eliminated in the browser
|
|
3312
3312
|
Hi === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
|
|
3313
3313
|
}, Ni = function(t, r, i) {
|
|
3314
|
-
|
|
3314
|
+
en(t, r, i);
|
|
3315
3315
|
var a = t.key + "-" + r.name;
|
|
3316
3316
|
if (t.inserted[r.name] === void 0) {
|
|
3317
3317
|
var s = r;
|
|
@@ -3388,12 +3388,12 @@ var Wi = {
|
|
|
3388
3388
|
strokeMiterlimit: 1,
|
|
3389
3389
|
strokeOpacity: 1,
|
|
3390
3390
|
strokeWidth: 1
|
|
3391
|
-
}, Vi = /[A-Z]|^ms/g, Ui = /_EMO_([^_]+?)_([^]*?)_EMO_/g,
|
|
3391
|
+
}, Vi = /[A-Z]|^ms/g, Ui = /_EMO_([^_]+?)_([^]*?)_EMO_/g, tn = function(t) {
|
|
3392
3392
|
return t.charCodeAt(1) === 45;
|
|
3393
3393
|
}, xr = function(t) {
|
|
3394
3394
|
return t != null && typeof t != "boolean";
|
|
3395
|
-
}, Dt = /* @__PURE__ */
|
|
3396
|
-
return
|
|
3395
|
+
}, Dt = /* @__PURE__ */ Zr(function(e) {
|
|
3396
|
+
return tn(e) ? e : e.replace(Vi, "-$&").toLowerCase();
|
|
3397
3397
|
}), Or = function(t, r) {
|
|
3398
3398
|
switch (t) {
|
|
3399
3399
|
case "animation":
|
|
@@ -3407,7 +3407,7 @@ var Wi = {
|
|
|
3407
3407
|
}, a;
|
|
3408
3408
|
});
|
|
3409
3409
|
}
|
|
3410
|
-
return Wi[t] !== 1 && !
|
|
3410
|
+
return Wi[t] !== 1 && !tn(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
3411
3411
|
};
|
|
3412
3412
|
function Xe(e, t, r) {
|
|
3413
3413
|
if (r == null)
|
|
@@ -3484,7 +3484,7 @@ function Yi(e, t, r) {
|
|
|
3484
3484
|
}
|
|
3485
3485
|
return i;
|
|
3486
3486
|
}
|
|
3487
|
-
var
|
|
3487
|
+
var Cr = /label:\s*([^\s;{]+)\s*(;|$)/g, be;
|
|
3488
3488
|
function Bi(e, t, r) {
|
|
3489
3489
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
3490
3490
|
return e[0];
|
|
@@ -3502,8 +3502,8 @@ function Bi(e, t, r) {
|
|
|
3502
3502
|
var l = s;
|
|
3503
3503
|
a += l[u];
|
|
3504
3504
|
}
|
|
3505
|
-
|
|
3506
|
-
for (var d = "", g; (g =
|
|
3505
|
+
Cr.lastIndex = 0;
|
|
3506
|
+
for (var d = "", g; (g = Cr.exec(a)) !== null; )
|
|
3507
3507
|
d += "-" + g[1];
|
|
3508
3508
|
var y = Fi(a) + d;
|
|
3509
3509
|
return {
|
|
@@ -3514,7 +3514,7 @@ function Bi(e, t, r) {
|
|
|
3514
3514
|
}
|
|
3515
3515
|
var qi = function(t) {
|
|
3516
3516
|
return t();
|
|
3517
|
-
}, Xi = $.useInsertionEffect ? $.useInsertionEffect : !1, Gi = Xi || qi,
|
|
3517
|
+
}, Xi = $.useInsertionEffect ? $.useInsertionEffect : !1, Gi = Xi || qi, rn = /* @__PURE__ */ $.createContext(
|
|
3518
3518
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3519
3519
|
// because this module is primarily intended for the browser and node
|
|
3520
3520
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -3525,20 +3525,20 @@ var qi = function(t) {
|
|
|
3525
3525
|
key: "css"
|
|
3526
3526
|
}) : null
|
|
3527
3527
|
);
|
|
3528
|
-
|
|
3528
|
+
rn.Provider;
|
|
3529
3529
|
var Ki = function(t) {
|
|
3530
|
-
return /* @__PURE__ */
|
|
3531
|
-
var a = Ut(
|
|
3530
|
+
return /* @__PURE__ */ Pn(function(r, i) {
|
|
3531
|
+
var a = Ut(rn);
|
|
3532
3532
|
return t(r, a, i);
|
|
3533
3533
|
});
|
|
3534
|
-
}, Ji = /* @__PURE__ */ $.createContext({}), Zi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Qi = /* @__PURE__ */
|
|
3534
|
+
}, Ji = /* @__PURE__ */ $.createContext({}), Zi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Qi = /* @__PURE__ */ Zr(
|
|
3535
3535
|
function(e) {
|
|
3536
3536
|
return Zi.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
3537
3537
|
}
|
|
3538
3538
|
/* Z+1 */
|
|
3539
3539
|
), ea = Qi, ta = function(t) {
|
|
3540
3540
|
return t !== "theme";
|
|
3541
|
-
},
|
|
3541
|
+
}, kr = function(t) {
|
|
3542
3542
|
return typeof t == "string" && // 96 is one less than the char code
|
|
3543
3543
|
// for "a" so this is checking that
|
|
3544
3544
|
// it's a lowercase character
|
|
@@ -3554,13 +3554,13 @@ var Ki = function(t) {
|
|
|
3554
3554
|
return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
|
|
3555
3555
|
}, ra = function(t) {
|
|
3556
3556
|
var r = t.cache, i = t.serialized, a = t.isStringTag;
|
|
3557
|
-
return
|
|
3557
|
+
return en(r, i, a), Gi(function() {
|
|
3558
3558
|
return Ni(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
3560
|
}, na = function e(t, r) {
|
|
3561
3561
|
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
|
|
3562
3562
|
r !== void 0 && (s = r.label, c = r.target);
|
|
3563
|
-
var u = Pr(t, r, i), l = u ||
|
|
3563
|
+
var u = Pr(t, r, i), l = u || kr(a), d = !l("as");
|
|
3564
3564
|
return function() {
|
|
3565
3565
|
var g = arguments, y = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
3566
|
if (s !== void 0 && y.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
@@ -3568,8 +3568,8 @@ var Ki = function(t) {
|
|
|
3568
3568
|
else {
|
|
3569
3569
|
var E = g[0];
|
|
3570
3570
|
y.push(E[0]);
|
|
3571
|
-
for (var M = g.length,
|
|
3572
|
-
y.push(g[
|
|
3571
|
+
for (var M = g.length, C = 1; C < M; C++)
|
|
3572
|
+
y.push(g[C], E[C]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Ki(function(R, S, A) {
|
|
3575
3575
|
var W = d && R.as || a, F = "", m = [], w = R;
|
|
@@ -3582,9 +3582,9 @@ var Ki = function(t) {
|
|
|
3582
3582
|
typeof R.className == "string" ? F = zi(S.registered, m, R.className) : R.className != null && (F = R.className + " ");
|
|
3583
3583
|
var _ = Bi(y.concat(m), S.registered, w);
|
|
3584
3584
|
F += S.key + "-" + _.name, c !== void 0 && (F += " " + c);
|
|
3585
|
-
var b = d && u === void 0 ?
|
|
3586
|
-
for (var
|
|
3587
|
-
d &&
|
|
3585
|
+
var b = d && u === void 0 ? kr(W) : l, h = {};
|
|
3586
|
+
for (var k in R)
|
|
3587
|
+
d && k === "as" || b(k) && (h[k] = R[k]);
|
|
3588
3588
|
return h.className = F, A && (h.ref = A), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(ra, {
|
|
3589
3589
|
cache: S,
|
|
3590
3590
|
serialized: _,
|
|
@@ -3985,29 +3985,29 @@ const aa = Ee.div`
|
|
|
3985
3985
|
const a = B.useRef(!1), s = B.useRef(!1), { pointerPosition: c, isPointerDown: u } = la(), l = B.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
3987
|
}), d = B.useCallback(
|
|
3988
|
-
(
|
|
3988
|
+
(C) => {
|
|
3989
3989
|
if (!e || !e.current || !l.current)
|
|
3990
3990
|
return;
|
|
3991
3991
|
const p = { ...l.current };
|
|
3992
|
-
return p.posY =
|
|
3992
|
+
return p.posY = C.y, p.posX = C.x, l.current.startPosX && l.current.posX && (p.distanceX = l.current.startPosX - l.current.posX), l.current.startPosY && l.current.posY && (p.distanceY = -(l.current.startPosY - l.current.posY)), p;
|
|
3993
3993
|
},
|
|
3994
3994
|
[]
|
|
3995
3995
|
), g = B.useCallback(
|
|
3996
|
-
(
|
|
3997
|
-
|
|
3998
|
-
const p = d({ x:
|
|
3996
|
+
(C) => {
|
|
3997
|
+
C.preventDefault(), C.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = C.clientY, l.current.startPosX = C.clientX;
|
|
3998
|
+
const p = d({ x: C.clientX, y: C.clientY });
|
|
3999
3999
|
p && (l.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
4001
|
[d]
|
|
4002
4002
|
), y = B.useCallback(
|
|
4003
|
-
(
|
|
4003
|
+
(C) => {
|
|
4004
4004
|
l.current.isDragging = !1;
|
|
4005
4005
|
const p = d(c);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
4007
4007
|
},
|
|
4008
4008
|
[d, c]
|
|
4009
4009
|
), E = B.useCallback(
|
|
4010
|
-
(
|
|
4010
|
+
(C) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
4013
4013
|
l.current.isDragging
|
|
@@ -4020,7 +4020,7 @@ const aa = Ee.div`
|
|
|
4020
4020
|
), M = B.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
|
-
await new Promise((
|
|
4023
|
+
await new Promise((C) => setTimeout(C, 300));
|
|
4024
4024
|
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
4026
|
}, [e?.current, g]);
|
|
@@ -4037,7 +4037,7 @@ const aa = Ee.div`
|
|
|
4037
4037
|
const g = new URLSearchParams();
|
|
4038
4038
|
for (const E in d) {
|
|
4039
4039
|
const M = d[E];
|
|
4040
|
-
Array.isArray(M) ? M.forEach((
|
|
4040
|
+
Array.isArray(M) ? M.forEach((C) => g.append(E, String(C))) : M != null && g.append(E, String(M));
|
|
4041
4041
|
}
|
|
4042
4042
|
const y = g.toString();
|
|
4043
4043
|
return y ? `${l}?${y}` : l;
|
|
@@ -4154,9 +4154,9 @@ function ha() {
|
|
|
4154
4154
|
return E.prototype = /* @__PURE__ */ Object.create(null), E;
|
|
4155
4155
|
})();
|
|
4156
4156
|
function c(E, M) {
|
|
4157
|
-
const
|
|
4157
|
+
const C = new s(), p = E.length;
|
|
4158
4158
|
if (p < 2)
|
|
4159
|
-
return
|
|
4159
|
+
return C;
|
|
4160
4160
|
const R = M?.decode || g;
|
|
4161
4161
|
let S = 0;
|
|
4162
4162
|
do {
|
|
@@ -4169,63 +4169,63 @@ function ha() {
|
|
|
4169
4169
|
continue;
|
|
4170
4170
|
}
|
|
4171
4171
|
const m = u(E, S, A), w = l(E, A, m), x = E.slice(m, w);
|
|
4172
|
-
if (
|
|
4172
|
+
if (C[x] === void 0) {
|
|
4173
4173
|
let _ = u(E, A + 1, F), b = l(E, F, _);
|
|
4174
4174
|
const h = R(E.slice(_, b));
|
|
4175
|
-
|
|
4175
|
+
C[x] = h;
|
|
4176
4176
|
}
|
|
4177
4177
|
S = F + 1;
|
|
4178
4178
|
} while (S < p);
|
|
4179
|
-
return
|
|
4179
|
+
return C;
|
|
4180
4180
|
}
|
|
4181
|
-
function u(E, M,
|
|
4181
|
+
function u(E, M, C) {
|
|
4182
4182
|
do {
|
|
4183
4183
|
const p = E.charCodeAt(M);
|
|
4184
4184
|
if (p !== 32 && p !== 9)
|
|
4185
4185
|
return M;
|
|
4186
|
-
} while (++M <
|
|
4187
|
-
return
|
|
4186
|
+
} while (++M < C);
|
|
4187
|
+
return C;
|
|
4188
4188
|
}
|
|
4189
|
-
function l(E, M,
|
|
4190
|
-
for (; M >
|
|
4189
|
+
function l(E, M, C) {
|
|
4190
|
+
for (; M > C; ) {
|
|
4191
4191
|
const p = E.charCodeAt(--M);
|
|
4192
4192
|
if (p !== 32 && p !== 9)
|
|
4193
4193
|
return M + 1;
|
|
4194
4194
|
}
|
|
4195
|
-
return
|
|
4195
|
+
return C;
|
|
4196
4196
|
}
|
|
4197
|
-
function d(E, M,
|
|
4198
|
-
const p =
|
|
4197
|
+
function d(E, M, C) {
|
|
4198
|
+
const p = C?.encode || encodeURIComponent;
|
|
4199
4199
|
if (!e.test(E))
|
|
4200
4200
|
throw new TypeError(`argument name is invalid: ${E}`);
|
|
4201
4201
|
const R = p(M);
|
|
4202
4202
|
if (!t.test(R))
|
|
4203
4203
|
throw new TypeError(`argument val is invalid: ${M}`);
|
|
4204
4204
|
let S = E + "=" + R;
|
|
4205
|
-
if (!
|
|
4205
|
+
if (!C)
|
|
4206
4206
|
return S;
|
|
4207
|
-
if (
|
|
4208
|
-
if (!Number.isInteger(
|
|
4209
|
-
throw new TypeError(`option maxAge is invalid: ${
|
|
4210
|
-
S += "; Max-Age=" +
|
|
4211
|
-
}
|
|
4212
|
-
if (
|
|
4213
|
-
if (!r.test(
|
|
4214
|
-
throw new TypeError(`option domain is invalid: ${
|
|
4215
|
-
S += "; Domain=" +
|
|
4216
|
-
}
|
|
4217
|
-
if (
|
|
4218
|
-
if (!i.test(
|
|
4219
|
-
throw new TypeError(`option path is invalid: ${
|
|
4220
|
-
S += "; Path=" +
|
|
4221
|
-
}
|
|
4222
|
-
if (
|
|
4223
|
-
if (!y(
|
|
4224
|
-
throw new TypeError(`option expires is invalid: ${
|
|
4225
|
-
S += "; Expires=" +
|
|
4226
|
-
}
|
|
4227
|
-
if (
|
|
4228
|
-
switch (typeof
|
|
4207
|
+
if (C.maxAge !== void 0) {
|
|
4208
|
+
if (!Number.isInteger(C.maxAge))
|
|
4209
|
+
throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);
|
|
4210
|
+
S += "; Max-Age=" + C.maxAge;
|
|
4211
|
+
}
|
|
4212
|
+
if (C.domain) {
|
|
4213
|
+
if (!r.test(C.domain))
|
|
4214
|
+
throw new TypeError(`option domain is invalid: ${C.domain}`);
|
|
4215
|
+
S += "; Domain=" + C.domain;
|
|
4216
|
+
}
|
|
4217
|
+
if (C.path) {
|
|
4218
|
+
if (!i.test(C.path))
|
|
4219
|
+
throw new TypeError(`option path is invalid: ${C.path}`);
|
|
4220
|
+
S += "; Path=" + C.path;
|
|
4221
|
+
}
|
|
4222
|
+
if (C.expires) {
|
|
4223
|
+
if (!y(C.expires) || !Number.isFinite(C.expires.valueOf()))
|
|
4224
|
+
throw new TypeError(`option expires is invalid: ${C.expires}`);
|
|
4225
|
+
S += "; Expires=" + C.expires.toUTCString();
|
|
4226
|
+
}
|
|
4227
|
+
if (C.httpOnly && (S += "; HttpOnly"), C.secure && (S += "; Secure"), C.partitioned && (S += "; Partitioned"), C.priority)
|
|
4228
|
+
switch (typeof C.priority == "string" ? C.priority.toLowerCase() : void 0) {
|
|
4229
4229
|
case "low":
|
|
4230
4230
|
S += "; Priority=Low";
|
|
4231
4231
|
break;
|
|
@@ -4236,10 +4236,10 @@ function ha() {
|
|
|
4236
4236
|
S += "; Priority=High";
|
|
4237
4237
|
break;
|
|
4238
4238
|
default:
|
|
4239
|
-
throw new TypeError(`option priority is invalid: ${
|
|
4239
|
+
throw new TypeError(`option priority is invalid: ${C.priority}`);
|
|
4240
4240
|
}
|
|
4241
|
-
if (
|
|
4242
|
-
switch (typeof
|
|
4241
|
+
if (C.sameSite)
|
|
4242
|
+
switch (typeof C.sameSite == "string" ? C.sameSite.toLowerCase() : C.sameSite) {
|
|
4243
4243
|
case !0:
|
|
4244
4244
|
case "strict":
|
|
4245
4245
|
S += "; SameSite=Strict";
|
|
@@ -4251,7 +4251,7 @@ function ha() {
|
|
|
4251
4251
|
S += "; SameSite=None";
|
|
4252
4252
|
break;
|
|
4253
4253
|
default:
|
|
4254
|
-
throw new TypeError(`option sameSite is invalid: ${
|
|
4254
|
+
throw new TypeError(`option sameSite is invalid: ${C.sameSite}`);
|
|
4255
4255
|
}
|
|
4256
4256
|
return S;
|
|
4257
4257
|
}
|
|
@@ -4388,7 +4388,7 @@ function va(e, t, r, i = {}) {
|
|
|
4388
4388
|
let W = Tr(A, d), F = p.createHref(A);
|
|
4389
4389
|
c.replaceState(W, "", F), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4390
4390
|
}
|
|
4391
|
-
function
|
|
4391
|
+
function C(R) {
|
|
4392
4392
|
return ga(R);
|
|
4393
4393
|
}
|
|
4394
4394
|
let p = {
|
|
@@ -4408,9 +4408,9 @@ function va(e, t, r, i = {}) {
|
|
|
4408
4408
|
createHref(R) {
|
|
4409
4409
|
return t(a, R);
|
|
4410
4410
|
},
|
|
4411
|
-
createURL:
|
|
4411
|
+
createURL: C,
|
|
4412
4412
|
encodeLocation(R) {
|
|
4413
|
-
let S =
|
|
4413
|
+
let S = C(R);
|
|
4414
4414
|
return {
|
|
4415
4415
|
pathname: S.pathname,
|
|
4416
4416
|
search: S.search,
|
|
@@ -4431,14 +4431,14 @@ function ga(e, t = !1) {
|
|
|
4431
4431
|
let i = typeof e == "string" ? e : Ge(e);
|
|
4432
4432
|
return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
|
|
4433
4433
|
}
|
|
4434
|
-
function
|
|
4434
|
+
function nn(e, t, r = "/") {
|
|
4435
4435
|
return ya(e, t, r, !1);
|
|
4436
4436
|
}
|
|
4437
4437
|
function ya(e, t, r, i) {
|
|
4438
4438
|
let a = typeof t == "string" ? De(t) : t, s = Oe(a.pathname || "/", r);
|
|
4439
4439
|
if (s == null)
|
|
4440
4440
|
return null;
|
|
4441
|
-
let c =
|
|
4441
|
+
let c = an(e);
|
|
4442
4442
|
ba(c);
|
|
4443
4443
|
let u = null;
|
|
4444
4444
|
for (let l = 0; u == null && l < c.length; ++l) {
|
|
@@ -4451,7 +4451,7 @@ function ya(e, t, r, i) {
|
|
|
4451
4451
|
}
|
|
4452
4452
|
return u;
|
|
4453
4453
|
}
|
|
4454
|
-
function
|
|
4454
|
+
function an(e, t = [], r = [], i = "") {
|
|
4455
4455
|
let a = (s, c, u) => {
|
|
4456
4456
|
let l = {
|
|
4457
4457
|
relativePath: u === void 0 ? s.path || "" : u,
|
|
@@ -4469,7 +4469,7 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4469
4469
|
// @ts-expect-error
|
|
4470
4470
|
s.index !== !0,
|
|
4471
4471
|
`Index routes must not have child routes. Please remove all child routes from route path "${d}".`
|
|
4472
|
-
),
|
|
4472
|
+
), an(s.children, t, g, d)), !(s.path == null && !s.index) && t.push({
|
|
4473
4473
|
path: d,
|
|
4474
4474
|
score: Pa(d, s.index),
|
|
4475
4475
|
routesMeta: g
|
|
@@ -4479,17 +4479,17 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4479
4479
|
if (s.path === "" || !s.path?.includes("?"))
|
|
4480
4480
|
a(s, c);
|
|
4481
4481
|
else
|
|
4482
|
-
for (let u of
|
|
4482
|
+
for (let u of on(s.path))
|
|
4483
4483
|
a(s, c, u);
|
|
4484
4484
|
}), t;
|
|
4485
4485
|
}
|
|
4486
|
-
function
|
|
4486
|
+
function on(e) {
|
|
4487
4487
|
let t = e.split("/");
|
|
4488
4488
|
if (t.length === 0) return [];
|
|
4489
4489
|
let [r, ...i] = t, a = r.endsWith("?"), s = r.replace(/\?$/, "");
|
|
4490
4490
|
if (i.length === 0)
|
|
4491
4491
|
return a ? [s, ""] : [s];
|
|
4492
|
-
let c =
|
|
4492
|
+
let c = on(i.join("/")), u = [];
|
|
4493
4493
|
return u.push(
|
|
4494
4494
|
...c.map(
|
|
4495
4495
|
(l) => l === "" ? s : [s, l].join("/")
|
|
@@ -4506,11 +4506,11 @@ function ba(e) {
|
|
|
4506
4506
|
)
|
|
4507
4507
|
);
|
|
4508
4508
|
}
|
|
4509
|
-
var wa = /^:[\w-]+$/, Sa = 3, xa = 2, Oa = 1,
|
|
4509
|
+
var wa = /^:[\w-]+$/, Sa = 3, xa = 2, Oa = 1, Ca = 10, ka = -2, jr = (e) => e === "*";
|
|
4510
4510
|
function Pa(e, t) {
|
|
4511
4511
|
let r = e.split("/"), i = r.length;
|
|
4512
|
-
return r.some(jr) && (i +=
|
|
4513
|
-
(a, s) => a + (wa.test(s) ? Sa : s === "" ? Oa :
|
|
4512
|
+
return r.some(jr) && (i += ka), t && (i += xa), r.filter((a) => !jr(a)).reduce(
|
|
4513
|
+
(a, s) => a + (wa.test(s) ? Sa : s === "" ? Oa : Ca),
|
|
4514
4514
|
i
|
|
4515
4515
|
);
|
|
4516
4516
|
}
|
|
@@ -4568,8 +4568,8 @@ function gt(e, t) {
|
|
|
4568
4568
|
params: i.reduce(
|
|
4569
4569
|
(d, { paramName: g, isOptional: y }, E) => {
|
|
4570
4570
|
if (g === "*") {
|
|
4571
|
-
let
|
|
4572
|
-
c = s.slice(0, s.length -
|
|
4571
|
+
let C = u[E] || "";
|
|
4572
|
+
c = s.slice(0, s.length - C.length).replace(/(.)\/+$/, "$1");
|
|
4573
4573
|
}
|
|
4574
4574
|
const M = u[E];
|
|
4575
4575
|
return y && !M ? d[g] = void 0 : d[g] = (M || "").replace(/%2F/g, "/"), d;
|
|
@@ -4637,13 +4637,13 @@ function Ma(e) {
|
|
|
4637
4637
|
(t, r) => r === 0 || t.route.path && t.route.path.length > 0
|
|
4638
4638
|
);
|
|
4639
4639
|
}
|
|
4640
|
-
function
|
|
4640
|
+
function sn(e) {
|
|
4641
4641
|
let t = Ma(e);
|
|
4642
4642
|
return t.map(
|
|
4643
4643
|
(r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4644
4644
|
);
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function ln(e, t, r, i = !1) {
|
|
4647
4647
|
let a;
|
|
4648
4648
|
typeof e == "string" ? a = De(e) : (a = { ...e }, ae(
|
|
4649
4649
|
!a.pathname || !a.pathname.includes("?"),
|
|
@@ -4675,28 +4675,28 @@ var xe = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/
|
|
|
4675
4675
|
function Aa(e) {
|
|
4676
4676
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
4677
4677
|
}
|
|
4678
|
-
var
|
|
4678
|
+
var un = [
|
|
4679
4679
|
"POST",
|
|
4680
4680
|
"PUT",
|
|
4681
4681
|
"PATCH",
|
|
4682
4682
|
"DELETE"
|
|
4683
4683
|
];
|
|
4684
4684
|
new Set(
|
|
4685
|
-
|
|
4685
|
+
un
|
|
4686
4686
|
);
|
|
4687
4687
|
var Ha = [
|
|
4688
4688
|
"GET",
|
|
4689
|
-
...
|
|
4689
|
+
...un
|
|
4690
4690
|
];
|
|
4691
4691
|
new Set(Ha);
|
|
4692
4692
|
var $e = $.createContext(null);
|
|
4693
4693
|
$e.displayName = "DataRouter";
|
|
4694
4694
|
var Ot = $.createContext(null);
|
|
4695
4695
|
Ot.displayName = "DataRouterState";
|
|
4696
|
-
var
|
|
4696
|
+
var cn = $.createContext({
|
|
4697
4697
|
isTransitioning: !1
|
|
4698
4698
|
});
|
|
4699
|
-
|
|
4699
|
+
cn.displayName = "ViewTransition";
|
|
4700
4700
|
var za = $.createContext(
|
|
4701
4701
|
/* @__PURE__ */ new Map()
|
|
4702
4702
|
);
|
|
@@ -4711,12 +4711,12 @@ var Ze = $.createContext(
|
|
|
4711
4711
|
null
|
|
4712
4712
|
);
|
|
4713
4713
|
Ze.displayName = "Location";
|
|
4714
|
-
var
|
|
4714
|
+
var Ce = $.createContext({
|
|
4715
4715
|
outlet: null,
|
|
4716
4716
|
matches: [],
|
|
4717
4717
|
isDataRoute: !1
|
|
4718
4718
|
});
|
|
4719
|
-
|
|
4719
|
+
Ce.displayName = "Route";
|
|
4720
4720
|
var Gt = $.createContext(null);
|
|
4721
4721
|
Gt.displayName = "RouteError";
|
|
4722
4722
|
function Fa(e, { relative: t } = {}) {
|
|
@@ -4732,7 +4732,7 @@ function Fa(e, { relative: t } = {}) {
|
|
|
4732
4732
|
function Qe() {
|
|
4733
4733
|
return $.useContext(Ze) != null;
|
|
4734
4734
|
}
|
|
4735
|
-
function
|
|
4735
|
+
function ke() {
|
|
4736
4736
|
return ae(
|
|
4737
4737
|
Qe(),
|
|
4738
4738
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4740,12 +4740,12 @@ function Ce() {
|
|
|
4740
4740
|
"useLocation() may be used only in the context of a <Router> component."
|
|
4741
4741
|
), $.useContext(Ze).location;
|
|
4742
4742
|
}
|
|
4743
|
-
var
|
|
4744
|
-
function
|
|
4743
|
+
var fn = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
4744
|
+
function dn(e) {
|
|
4745
4745
|
$.useContext(Se).static || $.useLayoutEffect(e);
|
|
4746
4746
|
}
|
|
4747
4747
|
function Kt() {
|
|
4748
|
-
let { isDataRoute: e } = $.useContext(
|
|
4748
|
+
let { isDataRoute: e } = $.useContext(Ce);
|
|
4749
4749
|
return e ? eo() : Wa();
|
|
4750
4750
|
}
|
|
4751
4751
|
function Wa() {
|
|
@@ -4755,17 +4755,17 @@ function Wa() {
|
|
|
4755
4755
|
// router loaded. We can help them understand how to avoid that.
|
|
4756
4756
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
4757
4757
|
);
|
|
4758
|
-
let e = $.useContext($e), { basename: t, navigator: r } = $.useContext(Se), { matches: i } = $.useContext(
|
|
4759
|
-
return
|
|
4758
|
+
let e = $.useContext($e), { basename: t, navigator: r } = $.useContext(Se), { matches: i } = $.useContext(Ce), { pathname: a } = ke(), s = JSON.stringify(sn(i)), c = $.useRef(!1);
|
|
4759
|
+
return dn(() => {
|
|
4760
4760
|
c.current = !0;
|
|
4761
4761
|
}), $.useCallback(
|
|
4762
4762
|
(l, d = {}) => {
|
|
4763
|
-
if (ge(c.current,
|
|
4763
|
+
if (ge(c.current, fn), !c.current) return;
|
|
4764
4764
|
if (typeof l == "number") {
|
|
4765
4765
|
r.go(l);
|
|
4766
4766
|
return;
|
|
4767
4767
|
}
|
|
4768
|
-
let g =
|
|
4768
|
+
let g = ln(
|
|
4769
4769
|
l,
|
|
4770
4770
|
JSON.parse(s),
|
|
4771
4771
|
a,
|
|
@@ -4788,9 +4788,9 @@ function Wa() {
|
|
|
4788
4788
|
}
|
|
4789
4789
|
$.createContext(null);
|
|
4790
4790
|
function et(e, { relative: t } = {}) {
|
|
4791
|
-
let { matches: r } = $.useContext(
|
|
4791
|
+
let { matches: r } = $.useContext(Ce), { pathname: i } = ke(), a = JSON.stringify(sn(r));
|
|
4792
4792
|
return $.useMemo(
|
|
4793
|
-
() =>
|
|
4793
|
+
() => ln(
|
|
4794
4794
|
e,
|
|
4795
4795
|
JSON.parse(a),
|
|
4796
4796
|
i,
|
|
@@ -4800,19 +4800,19 @@ function et(e, { relative: t } = {}) {
|
|
|
4800
4800
|
);
|
|
4801
4801
|
}
|
|
4802
4802
|
function Va(e, t) {
|
|
4803
|
-
return
|
|
4803
|
+
return hn(e, t);
|
|
4804
4804
|
}
|
|
4805
|
-
function
|
|
4805
|
+
function hn(e, t, r, i) {
|
|
4806
4806
|
ae(
|
|
4807
4807
|
Qe(),
|
|
4808
4808
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
4809
4809
|
// router loaded. We can help them understand how to avoid that.
|
|
4810
4810
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
4811
4811
|
);
|
|
4812
|
-
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(
|
|
4812
|
+
let { navigator: a } = $.useContext(Se), { matches: s } = $.useContext(Ce), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", d = c ? c.pathnameBase : "/", g = c && c.route;
|
|
4813
4813
|
{
|
|
4814
4814
|
let S = g && g.path || "";
|
|
4815
|
-
|
|
4815
|
+
pn(
|
|
4816
4816
|
l,
|
|
4817
4817
|
!g || S.endsWith("*") || S.endsWith("*?"),
|
|
4818
4818
|
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${S}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
@@ -4820,7 +4820,7 @@ function dn(e, t, r, i) {
|
|
|
4820
4820
|
Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" : `${S}/*`}">.`
|
|
4821
4821
|
);
|
|
4822
4822
|
}
|
|
4823
|
-
let y =
|
|
4823
|
+
let y = ke(), E;
|
|
4824
4824
|
if (t) {
|
|
4825
4825
|
let S = typeof t == "string" ? De(t) : t;
|
|
4826
4826
|
ae(
|
|
@@ -4829,12 +4829,12 @@ Please change the parent <Route path="${S}"> to <Route path="${S === "/" ? "*" :
|
|
|
4829
4829
|
), E = S;
|
|
4830
4830
|
} else
|
|
4831
4831
|
E = y;
|
|
4832
|
-
let M = E.pathname || "/",
|
|
4832
|
+
let M = E.pathname || "/", C = M;
|
|
4833
4833
|
if (d !== "/") {
|
|
4834
4834
|
let S = d.replace(/^\//, "").split("/");
|
|
4835
|
-
|
|
4835
|
+
C = "/" + M.replace(/^\//, "").split("/").slice(S.length).join("/");
|
|
4836
4836
|
}
|
|
4837
|
-
let p =
|
|
4837
|
+
let p = nn(e, { pathname: C });
|
|
4838
4838
|
ge(
|
|
4839
4839
|
g || p != null,
|
|
4840
4840
|
`No routes matched location "${E.pathname}${E.search}${E.hash}" `
|
|
@@ -4918,7 +4918,7 @@ var Ya = /* @__PURE__ */ $.createElement(Ua, null), Ba = class extends $.Compone
|
|
|
4918
4918
|
);
|
|
4919
4919
|
}
|
|
4920
4920
|
render() {
|
|
4921
|
-
return this.state.error !== void 0 ? /* @__PURE__ */ $.createElement(
|
|
4921
|
+
return this.state.error !== void 0 ? /* @__PURE__ */ $.createElement(Ce.Provider, { value: this.props.routeContext }, /* @__PURE__ */ $.createElement(
|
|
4922
4922
|
Gt.Provider,
|
|
4923
4923
|
{
|
|
4924
4924
|
value: this.state.error,
|
|
@@ -4929,7 +4929,7 @@ var Ya = /* @__PURE__ */ $.createElement(Ua, null), Ba = class extends $.Compone
|
|
|
4929
4929
|
};
|
|
4930
4930
|
function qa({ routeContext: e, match: t, children: r }) {
|
|
4931
4931
|
let i = $.useContext($e);
|
|
4932
|
-
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ $.createElement(
|
|
4932
|
+
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ $.createElement(Ce.Provider, { value: e }, r);
|
|
4933
4933
|
}
|
|
4934
4934
|
function Xa(e, t = [], r = null, i = null) {
|
|
4935
4935
|
if (e == null) {
|
|
@@ -4970,15 +4970,15 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4970
4970
|
}
|
|
4971
4971
|
}
|
|
4972
4972
|
return a.reduceRight((l, d, g) => {
|
|
4973
|
-
let y, E = !1, M = null,
|
|
4974
|
-
r && (y = s && d.route.id ? s[d.route.id] : void 0, M = d.route.errorElement || Ya, c && (u < 0 && g === 0 ? (
|
|
4973
|
+
let y, E = !1, M = null, C = null;
|
|
4974
|
+
r && (y = s && d.route.id ? s[d.route.id] : void 0, M = d.route.errorElement || Ya, c && (u < 0 && g === 0 ? (pn(
|
|
4975
4975
|
"route-fallback",
|
|
4976
4976
|
!1,
|
|
4977
4977
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4978
|
-
), E = !0,
|
|
4978
|
+
), E = !0, C = null) : u === g && (E = !0, C = d.route.hydrateFallbackElement || null)));
|
|
4979
4979
|
let p = t.concat(a.slice(0, g + 1)), R = () => {
|
|
4980
4980
|
let S;
|
|
4981
|
-
return y ? S = M : E ? S =
|
|
4981
|
+
return y ? S = M : E ? S = C : d.route.Component ? S = /* @__PURE__ */ $.createElement(d.route.Component, null) : d.route.element ? S = d.route.element : S = l, /* @__PURE__ */ $.createElement(
|
|
4982
4982
|
qa,
|
|
4983
4983
|
{
|
|
4984
4984
|
match: d,
|
|
@@ -5016,7 +5016,7 @@ function Ka(e) {
|
|
|
5016
5016
|
return ae(t, Jt(e)), t;
|
|
5017
5017
|
}
|
|
5018
5018
|
function Ja(e) {
|
|
5019
|
-
let t = $.useContext(
|
|
5019
|
+
let t = $.useContext(Ce);
|
|
5020
5020
|
return ae(t, Jt(e)), t;
|
|
5021
5021
|
}
|
|
5022
5022
|
function Zt(e) {
|
|
@@ -5050,17 +5050,17 @@ function eo() {
|
|
|
5050
5050
|
"useNavigate"
|
|
5051
5051
|
/* UseNavigateStable */
|
|
5052
5052
|
), r = $.useRef(!1);
|
|
5053
|
-
return
|
|
5053
|
+
return dn(() => {
|
|
5054
5054
|
r.current = !0;
|
|
5055
5055
|
}), $.useCallback(
|
|
5056
5056
|
async (a, s = {}) => {
|
|
5057
|
-
ge(r.current,
|
|
5057
|
+
ge(r.current, fn), r.current && (typeof a == "number" ? e.navigate(a) : await e.navigate(a, { fromRouteId: t, ...s }));
|
|
5058
5058
|
},
|
|
5059
5059
|
[e, t]
|
|
5060
5060
|
);
|
|
5061
5061
|
}
|
|
5062
5062
|
var Lr = {};
|
|
5063
|
-
function
|
|
5063
|
+
function pn(e, t, r) {
|
|
5064
5064
|
!t && !Lr[e] && (Lr[e] = !0, ge(!1, r));
|
|
5065
5065
|
}
|
|
5066
5066
|
$.memo(to);
|
|
@@ -5069,9 +5069,9 @@ function to({
|
|
|
5069
5069
|
future: t,
|
|
5070
5070
|
state: r
|
|
5071
5071
|
}) {
|
|
5072
|
-
return
|
|
5072
|
+
return hn(e, void 0, r, t);
|
|
5073
5073
|
}
|
|
5074
|
-
function
|
|
5074
|
+
function mn(e) {
|
|
5075
5075
|
ae(
|
|
5076
5076
|
!1,
|
|
5077
5077
|
"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
|
|
@@ -5106,10 +5106,10 @@ function ro({
|
|
|
5106
5106
|
state: y = null,
|
|
5107
5107
|
key: E = "default"
|
|
5108
5108
|
} = r, M = $.useMemo(() => {
|
|
5109
|
-
let
|
|
5110
|
-
return
|
|
5109
|
+
let C = Oe(l, c);
|
|
5110
|
+
return C == null ? null : {
|
|
5111
5111
|
location: {
|
|
5112
|
-
pathname:
|
|
5112
|
+
pathname: C,
|
|
5113
5113
|
search: d,
|
|
5114
5114
|
hash: g,
|
|
5115
5115
|
state: y,
|
|
@@ -5143,7 +5143,7 @@ function Wt(e, t = []) {
|
|
|
5143
5143
|
return;
|
|
5144
5144
|
}
|
|
5145
5145
|
ae(
|
|
5146
|
-
i.type ===
|
|
5146
|
+
i.type === mn,
|
|
5147
5147
|
`[${typeof i.type == "string" ? i.type : i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`
|
|
5148
5148
|
), ae(
|
|
5149
5149
|
!i.props.index || !i.props.children,
|
|
@@ -5174,17 +5174,17 @@ function Wt(e, t = []) {
|
|
|
5174
5174
|
}), r;
|
|
5175
5175
|
}
|
|
5176
5176
|
var ut = "get", ct = "application/x-www-form-urlencoded";
|
|
5177
|
-
function
|
|
5177
|
+
function Ct(e) {
|
|
5178
5178
|
return e != null && typeof e.tagName == "string";
|
|
5179
5179
|
}
|
|
5180
5180
|
function io(e) {
|
|
5181
|
-
return
|
|
5181
|
+
return Ct(e) && e.tagName.toLowerCase() === "button";
|
|
5182
5182
|
}
|
|
5183
5183
|
function ao(e) {
|
|
5184
|
-
return
|
|
5184
|
+
return Ct(e) && e.tagName.toLowerCase() === "form";
|
|
5185
5185
|
}
|
|
5186
5186
|
function oo(e) {
|
|
5187
|
-
return
|
|
5187
|
+
return Ct(e) && e.tagName.toLowerCase() === "input";
|
|
5188
5188
|
}
|
|
5189
5189
|
function so(e) {
|
|
5190
5190
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
@@ -5257,7 +5257,7 @@ function ho(e, t) {
|
|
|
5257
5257
|
} else d && s.append(d, y);
|
|
5258
5258
|
}
|
|
5259
5259
|
} else {
|
|
5260
|
-
if (
|
|
5260
|
+
if (Ct(e))
|
|
5261
5261
|
throw new Error(
|
|
5262
5262
|
'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
|
|
5263
5263
|
);
|
|
@@ -5375,7 +5375,7 @@ function xo(e, t) {
|
|
|
5375
5375
|
) : e;
|
|
5376
5376
|
return r.pathname === "/" ? r.pathname = "_root.data" : t && Oe(r.pathname, t) === "/" ? r.pathname = `${t.replace(/\/$/, "")}/_root.data` : r.pathname = `${r.pathname.replace(/\/$/, "")}.data`, r;
|
|
5377
5377
|
}
|
|
5378
|
-
function
|
|
5378
|
+
function vn() {
|
|
5379
5379
|
let e = $.useContext($e);
|
|
5380
5380
|
return Qt(
|
|
5381
5381
|
e,
|
|
@@ -5391,14 +5391,14 @@ function Oo() {
|
|
|
5391
5391
|
}
|
|
5392
5392
|
var er = $.createContext(void 0);
|
|
5393
5393
|
er.displayName = "FrameworkContext";
|
|
5394
|
-
function
|
|
5394
|
+
function gn() {
|
|
5395
5395
|
let e = $.useContext(er);
|
|
5396
5396
|
return Qt(
|
|
5397
5397
|
e,
|
|
5398
5398
|
"You must render this element inside a <HydratedRouter> element"
|
|
5399
5399
|
), e;
|
|
5400
5400
|
}
|
|
5401
|
-
function
|
|
5401
|
+
function Co(e, t) {
|
|
5402
5402
|
let r = $.useContext(er), [i, a] = $.useState(!1), [s, c] = $.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: d, onMouseLeave: g, onTouchStart: y } = t, E = $.useRef(null);
|
|
5403
5403
|
$.useEffect(() => {
|
|
5404
5404
|
if (e === "render" && c(!0), e === "viewport") {
|
|
@@ -5423,7 +5423,7 @@ function ko(e, t) {
|
|
|
5423
5423
|
}, [i]);
|
|
5424
5424
|
let M = () => {
|
|
5425
5425
|
a(!0);
|
|
5426
|
-
},
|
|
5426
|
+
}, C = () => {
|
|
5427
5427
|
a(!1), c(!1);
|
|
5428
5428
|
};
|
|
5429
5429
|
return r ? e !== "intent" ? [s, E, {}] : [
|
|
@@ -5431,9 +5431,9 @@ function ko(e, t) {
|
|
|
5431
5431
|
E,
|
|
5432
5432
|
{
|
|
5433
5433
|
onFocus: Ye(u, M),
|
|
5434
|
-
onBlur: Ye(l,
|
|
5434
|
+
onBlur: Ye(l, C),
|
|
5435
5435
|
onMouseEnter: Ye(d, M),
|
|
5436
|
-
onMouseLeave: Ye(g,
|
|
5436
|
+
onMouseLeave: Ye(g, C),
|
|
5437
5437
|
onTouchStart: Ye(y, M)
|
|
5438
5438
|
}
|
|
5439
5439
|
] : [!1, E, {}];
|
|
@@ -5443,18 +5443,18 @@ function Ye(e, t) {
|
|
|
5443
5443
|
e && e(r), r.defaultPrevented || t(r);
|
|
5444
5444
|
};
|
|
5445
5445
|
}
|
|
5446
|
-
function
|
|
5446
|
+
function ko({
|
|
5447
5447
|
page: e,
|
|
5448
5448
|
...t
|
|
5449
5449
|
}) {
|
|
5450
|
-
let { router: r } =
|
|
5451
|
-
() =>
|
|
5450
|
+
let { router: r } = vn(), i = $.useMemo(
|
|
5451
|
+
() => nn(r.routes, e, r.basename),
|
|
5452
5452
|
[r.routes, e, r.basename]
|
|
5453
5453
|
);
|
|
5454
5454
|
return i ? /* @__PURE__ */ $.createElement(Eo, { page: e, matches: i, ...t }) : null;
|
|
5455
5455
|
}
|
|
5456
5456
|
function Po(e) {
|
|
5457
|
-
let { manifest: t, routeModules: r } =
|
|
5457
|
+
let { manifest: t, routeModules: r } = gn(), [i, a] = $.useState([]);
|
|
5458
5458
|
return $.useEffect(() => {
|
|
5459
5459
|
let s = !1;
|
|
5460
5460
|
return vo(e, t, r).then(
|
|
@@ -5471,7 +5471,7 @@ function Eo({
|
|
|
5471
5471
|
matches: t,
|
|
5472
5472
|
...r
|
|
5473
5473
|
}) {
|
|
5474
|
-
let i =
|
|
5474
|
+
let i = ke(), { manifest: a, routeModules: s } = gn(), { basename: c } = vn(), { loaderData: u, matches: l } = Oo(), d = $.useMemo(
|
|
5475
5475
|
() => Mr(
|
|
5476
5476
|
e,
|
|
5477
5477
|
t,
|
|
@@ -5494,16 +5494,16 @@ function Eo({
|
|
|
5494
5494
|
), y = $.useMemo(() => {
|
|
5495
5495
|
if (e === i.pathname + i.search + i.hash)
|
|
5496
5496
|
return [];
|
|
5497
|
-
let
|
|
5497
|
+
let C = /* @__PURE__ */ new Set(), p = !1;
|
|
5498
5498
|
if (t.forEach((S) => {
|
|
5499
5499
|
let A = a.routes[S.route.id];
|
|
5500
|
-
!A || !A.hasLoader || (!d.some((W) => W.route.id === S.route.id) && S.route.id in u && s[S.route.id]?.shouldRevalidate || A.hasClientLoader ? p = !0 :
|
|
5501
|
-
}),
|
|
5500
|
+
!A || !A.hasLoader || (!d.some((W) => W.route.id === S.route.id) && S.route.id in u && s[S.route.id]?.shouldRevalidate || A.hasClientLoader ? p = !0 : C.add(S.route.id));
|
|
5501
|
+
}), C.size === 0)
|
|
5502
5502
|
return [];
|
|
5503
5503
|
let R = xo(e, c);
|
|
5504
|
-
return p &&
|
|
5504
|
+
return p && C.size > 0 && R.searchParams.set(
|
|
5505
5505
|
"_routes",
|
|
5506
|
-
t.filter((S) =>
|
|
5506
|
+
t.filter((S) => C.has(S.route.id)).map((S) => S.route.id).join(",")
|
|
5507
5507
|
), [R.pathname + R.search];
|
|
5508
5508
|
}, [
|
|
5509
5509
|
c,
|
|
@@ -5518,10 +5518,10 @@ function Eo({
|
|
|
5518
5518
|
() => go(g, a),
|
|
5519
5519
|
[g, a]
|
|
5520
5520
|
), M = Po(g);
|
|
5521
|
-
return /* @__PURE__ */ $.createElement($.Fragment, null, y.map((
|
|
5521
|
+
return /* @__PURE__ */ $.createElement($.Fragment, null, y.map((C) => /* @__PURE__ */ $.createElement("link", { key: C, rel: "prefetch", as: "fetch", href: C, ...r })), E.map((C) => /* @__PURE__ */ $.createElement("link", { key: C, rel: "modulepreload", href: C, ...r })), M.map(({ key: C, link: p }) => (
|
|
5522
5522
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5523
5523
|
// already with their own props
|
|
5524
|
-
/* @__PURE__ */ $.createElement("link", { key:
|
|
5524
|
+
/* @__PURE__ */ $.createElement("link", { key: C, ...p })
|
|
5525
5525
|
)));
|
|
5526
5526
|
}
|
|
5527
5527
|
function Ro(...e) {
|
|
@@ -5531,9 +5531,9 @@ function Ro(...e) {
|
|
|
5531
5531
|
});
|
|
5532
5532
|
};
|
|
5533
5533
|
}
|
|
5534
|
-
var
|
|
5534
|
+
var yn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
|
|
5535
5535
|
try {
|
|
5536
|
-
|
|
5536
|
+
yn && (window.__reactRouterVersion = "7.6.3");
|
|
5537
5537
|
} catch {
|
|
5538
5538
|
}
|
|
5539
5539
|
function _o({
|
|
@@ -5563,7 +5563,7 @@ function _o({
|
|
|
5563
5563
|
}
|
|
5564
5564
|
);
|
|
5565
5565
|
}
|
|
5566
|
-
var
|
|
5566
|
+
var bn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, wn = $.forwardRef(
|
|
5567
5567
|
function({
|
|
5568
5568
|
onClick: t,
|
|
5569
5569
|
discover: r = "render",
|
|
@@ -5578,18 +5578,18 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5578
5578
|
viewTransition: y,
|
|
5579
5579
|
...E
|
|
5580
5580
|
}, M) {
|
|
5581
|
-
let { basename:
|
|
5582
|
-
if (typeof d == "string" && p && (R = d,
|
|
5581
|
+
let { basename: C } = $.useContext(Se), p = typeof d == "string" && bn.test(d), R, S = !1;
|
|
5582
|
+
if (typeof d == "string" && p && (R = d, yn))
|
|
5583
5583
|
try {
|
|
5584
|
-
let b = new URL(window.location.href), h = d.startsWith("//") ? new URL(b.protocol + d) : new URL(d),
|
|
5585
|
-
h.origin === b.origin &&
|
|
5584
|
+
let b = new URL(window.location.href), h = d.startsWith("//") ? new URL(b.protocol + d) : new URL(d), k = Oe(h.pathname, C);
|
|
5585
|
+
h.origin === b.origin && k != null ? d = k + h.search + h.hash : S = !0;
|
|
5586
5586
|
} catch {
|
|
5587
5587
|
ge(
|
|
5588
5588
|
!1,
|
|
5589
5589
|
`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5590
5590
|
);
|
|
5591
5591
|
}
|
|
5592
|
-
let A = Fa(d, { relative: a }), [W, F, m] =
|
|
5592
|
+
let A = Fa(d, { relative: a }), [W, F, m] = Co(
|
|
5593
5593
|
i,
|
|
5594
5594
|
E
|
|
5595
5595
|
), w = Mo(d, {
|
|
@@ -5618,10 +5618,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = $.forwardRef(
|
|
|
5618
5618
|
}
|
|
5619
5619
|
)
|
|
5620
5620
|
);
|
|
5621
|
-
return W && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, _, /* @__PURE__ */ $.createElement(
|
|
5621
|
+
return W && !p ? /* @__PURE__ */ $.createElement($.Fragment, null, _, /* @__PURE__ */ $.createElement(ko, { page: A })) : _;
|
|
5622
5622
|
}
|
|
5623
5623
|
);
|
|
5624
|
-
|
|
5624
|
+
wn.displayName = "Link";
|
|
5625
5625
|
var To = $.forwardRef(
|
|
5626
5626
|
function({
|
|
5627
5627
|
"aria-current": t = "page",
|
|
@@ -5634,9 +5634,9 @@ var To = $.forwardRef(
|
|
|
5634
5634
|
children: l,
|
|
5635
5635
|
...d
|
|
5636
5636
|
}, g) {
|
|
5637
|
-
let y = et(c, { relative: d.relative }), E =
|
|
5637
|
+
let y = et(c, { relative: d.relative }), E = ke(), M = $.useContext(Ot), { navigator: C, basename: p } = $.useContext(Se), R = M != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5638
5638
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5639
|
-
zo(y) && u === !0, S =
|
|
5639
|
+
zo(y) && u === !0, S = C.encodeLocation ? C.encodeLocation(y).pathname : y.pathname, A = E.pathname, W = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5640
5640
|
r || (A = A.toLowerCase(), W = W ? W.toLowerCase() : null, S = S.toLowerCase()), W && p && (W = Oe(W, p) || W);
|
|
5641
5641
|
const F = S !== "/" && S.endsWith("/") ? S.length - 1 : S.length;
|
|
5642
5642
|
let m = A === S || !a && A.startsWith(S) && A.charAt(F) === "/", w = W != null && (W === S || !a && W.startsWith(S) && W.charAt(S.length) === "/"), x = {
|
|
@@ -5652,7 +5652,7 @@ var To = $.forwardRef(
|
|
|
5652
5652
|
].filter(Boolean).join(" ");
|
|
5653
5653
|
let h = typeof s == "function" ? s(x) : s;
|
|
5654
5654
|
return /* @__PURE__ */ $.createElement(
|
|
5655
|
-
|
|
5655
|
+
wn,
|
|
5656
5656
|
{
|
|
5657
5657
|
...d,
|
|
5658
5658
|
"aria-current": _,
|
|
@@ -5683,11 +5683,11 @@ var jo = $.forwardRef(
|
|
|
5683
5683
|
viewTransition: y,
|
|
5684
5684
|
...E
|
|
5685
5685
|
}, M) => {
|
|
5686
|
-
let
|
|
5686
|
+
let C = Ao(), p = Ho(u, { relative: d }), R = c.toLowerCase() === "get" ? "get" : "post", S = typeof u == "string" && bn.test(u), A = (W) => {
|
|
5687
5687
|
if (l && l(W), W.defaultPrevented) return;
|
|
5688
5688
|
W.preventDefault();
|
|
5689
5689
|
let F = W.nativeEvent.submitter, m = F?.getAttribute("formmethod") || c;
|
|
5690
|
-
|
|
5690
|
+
C(F || W.currentTarget, {
|
|
5691
5691
|
fetcherKey: t,
|
|
5692
5692
|
method: m,
|
|
5693
5693
|
navigate: r,
|
|
@@ -5715,7 +5715,7 @@ jo.displayName = "Form";
|
|
|
5715
5715
|
function Lo(e) {
|
|
5716
5716
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5717
5717
|
}
|
|
5718
|
-
function
|
|
5718
|
+
function Sn(e) {
|
|
5719
5719
|
let t = $.useContext($e);
|
|
5720
5720
|
return ae(t, Lo(e)), t;
|
|
5721
5721
|
}
|
|
@@ -5727,7 +5727,7 @@ function Mo(e, {
|
|
|
5727
5727
|
relative: s,
|
|
5728
5728
|
viewTransition: c
|
|
5729
5729
|
} = {}) {
|
|
5730
|
-
let u = Kt(), l =
|
|
5730
|
+
let u = Kt(), l = ke(), d = et(e, { relative: s });
|
|
5731
5731
|
return $.useCallback(
|
|
5732
5732
|
(g) => {
|
|
5733
5733
|
if (lo(g, t)) {
|
|
@@ -5761,7 +5761,7 @@ function Do(e) {
|
|
|
5761
5761
|
typeof URLSearchParams < "u",
|
|
5762
5762
|
"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
|
|
5763
5763
|
);
|
|
5764
|
-
let t = $.useRef(Vt(e)), r = $.useRef(!1), i =
|
|
5764
|
+
let t = $.useRef(Vt(e)), r = $.useRef(!1), i = ke(), a = $.useMemo(
|
|
5765
5765
|
() => (
|
|
5766
5766
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
5767
5767
|
// Once we call that we want those to take precedence, otherwise you can't
|
|
@@ -5785,7 +5785,7 @@ function Do(e) {
|
|
|
5785
5785
|
}
|
|
5786
5786
|
var $o = 0, Io = () => `__${String(++$o)}__`;
|
|
5787
5787
|
function Ao() {
|
|
5788
|
-
let { router: e } =
|
|
5788
|
+
let { router: e } = Sn(
|
|
5789
5789
|
"useSubmit"
|
|
5790
5790
|
/* UseSubmit */
|
|
5791
5791
|
), { basename: t } = $.useContext(Se), r = Za();
|
|
@@ -5823,9 +5823,9 @@ function Ao() {
|
|
|
5823
5823
|
);
|
|
5824
5824
|
}
|
|
5825
5825
|
function Ho(e, { relative: t } = {}) {
|
|
5826
|
-
let { basename: r } = $.useContext(Se), i = $.useContext(
|
|
5826
|
+
let { basename: r } = $.useContext(Se), i = $.useContext(Ce);
|
|
5827
5827
|
ae(i, "useFormAction must be used inside a RouteContext");
|
|
5828
|
-
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c =
|
|
5828
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c = ke();
|
|
5829
5829
|
if (e == null) {
|
|
5830
5830
|
s.search = c.search;
|
|
5831
5831
|
let u = new URLSearchParams(s.search), l = u.getAll("index");
|
|
@@ -5838,12 +5838,12 @@ function Ho(e, { relative: t } = {}) {
|
|
|
5838
5838
|
return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : xe([r, s.pathname])), Ge(s);
|
|
5839
5839
|
}
|
|
5840
5840
|
function zo(e, t = {}) {
|
|
5841
|
-
let r = $.useContext(
|
|
5841
|
+
let r = $.useContext(cn);
|
|
5842
5842
|
ae(
|
|
5843
5843
|
r != null,
|
|
5844
5844
|
"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
|
|
5845
5845
|
);
|
|
5846
|
-
let { basename: i } =
|
|
5846
|
+
let { basename: i } = Sn(
|
|
5847
5847
|
"useViewTransitionState"
|
|
5848
5848
|
/* useViewTransitionState */
|
|
5849
5849
|
), a = et(e, { relative: t.relative });
|
|
@@ -5855,7 +5855,7 @@ function zo(e, t = {}) {
|
|
|
5855
5855
|
[
|
|
5856
5856
|
...So
|
|
5857
5857
|
];
|
|
5858
|
-
const
|
|
5858
|
+
const xn = B.createContext({
|
|
5859
5859
|
history: [],
|
|
5860
5860
|
addToHistory: () => {
|
|
5861
5861
|
},
|
|
@@ -5908,8 +5908,8 @@ const Sn = B.createContext({
|
|
|
5908
5908
|
(g) => {
|
|
5909
5909
|
t((y) => {
|
|
5910
5910
|
const E = new URLSearchParams(y);
|
|
5911
|
-
return Object.entries(g).forEach(([M,
|
|
5912
|
-
|
|
5911
|
+
return Object.entries(g).forEach(([M, C]) => {
|
|
5912
|
+
C == null ? E.delete(M) : E.set(M, String(C));
|
|
5913
5913
|
}), E;
|
|
5914
5914
|
});
|
|
5915
5915
|
},
|
|
@@ -5926,7 +5926,7 @@ const Sn = B.createContext({
|
|
|
5926
5926
|
removeAll: u
|
|
5927
5927
|
};
|
|
5928
5928
|
}, hs = () => {
|
|
5929
|
-
const e = Kt(), t =
|
|
5929
|
+
const e = Kt(), t = ke(), r = No(), i = Ut(xn), a = (l) => {
|
|
5930
5930
|
const d = new URL(l.path, "http://dummy-base");
|
|
5931
5931
|
return l.params && Object.entries(l.params).forEach(([g, y]) => {
|
|
5932
5932
|
y != null && d.searchParams.set(g, String(y));
|
|
@@ -5969,9 +5969,9 @@ const Sn = B.createContext({
|
|
|
5969
5969
|
return i.current.length === 0 || i.current.length < y ? "/" : (M = i.current.slice(0, i.current.length - y), E = M[M.length - 1], c(M), E);
|
|
5970
5970
|
}, d = (y) => {
|
|
5971
5971
|
c(y);
|
|
5972
|
-
}, g = t.map((y) => /* @__PURE__ */ X.jsx(
|
|
5972
|
+
}, g = t.map((y) => /* @__PURE__ */ X.jsx(mn, { path: y.path, element: y.render }));
|
|
5973
5973
|
return /* @__PURE__ */ X.jsx(
|
|
5974
|
-
|
|
5974
|
+
xn.Provider,
|
|
5975
5975
|
{
|
|
5976
5976
|
value: {
|
|
5977
5977
|
history: a,
|
|
@@ -5985,7 +5985,7 @@ const Sn = B.createContext({
|
|
|
5985
5985
|
] }) })
|
|
5986
5986
|
}
|
|
5987
5987
|
);
|
|
5988
|
-
},
|
|
5988
|
+
}, On = B.createContext(
|
|
5989
5989
|
{
|
|
5990
5990
|
visibleItems: [],
|
|
5991
5991
|
isItemVisible: () => !1,
|
|
@@ -6011,7 +6011,7 @@ const Sn = B.createContext({
|
|
|
6011
6011
|
[s, a]
|
|
6012
6012
|
);
|
|
6013
6013
|
return /* @__PURE__ */ X.jsx(
|
|
6014
|
-
|
|
6014
|
+
On.Provider,
|
|
6015
6015
|
{
|
|
6016
6016
|
value: {
|
|
6017
6017
|
visibleItems: r,
|
|
@@ -6022,8 +6022,8 @@ const Sn = B.createContext({
|
|
|
6022
6022
|
children: e
|
|
6023
6023
|
}
|
|
6024
6024
|
);
|
|
6025
|
-
},
|
|
6026
|
-
const e = Ut(
|
|
6025
|
+
}, kt = () => {
|
|
6026
|
+
const e = Ut(On), t = (a) => e.visibleItems.some((s) => s === a), r = (a) => {
|
|
6027
6027
|
e.showItem(a);
|
|
6028
6028
|
}, i = (a) => {
|
|
6029
6029
|
e.hideItem(a);
|
|
@@ -6039,19 +6039,19 @@ const Sn = B.createContext({
|
|
|
6039
6039
|
onCloseDrawer: t,
|
|
6040
6040
|
drawerCloseOffset: r = 15
|
|
6041
6041
|
}) => {
|
|
6042
|
-
const { isItemVisible: i } =
|
|
6042
|
+
const { isItemVisible: i } = kt(), [a, s] = B.useState({
|
|
6043
6043
|
isDragging: !1
|
|
6044
|
-
}), c = B.useRef(null), u = B.useRef(null), l = B.useRef(null), [d, g] = B.useState(0), y = (
|
|
6045
|
-
s(
|
|
6046
|
-
}, E = (
|
|
6047
|
-
s(
|
|
6044
|
+
}), c = B.useRef(null), u = B.useRef(null), l = B.useRef(null), [d, g] = B.useState(0), y = (C) => {
|
|
6045
|
+
s(C);
|
|
6046
|
+
}, E = (C) => {
|
|
6047
|
+
s(C), g(0);
|
|
6048
6048
|
};
|
|
6049
6049
|
return ua({
|
|
6050
6050
|
ref: l,
|
|
6051
|
-
onDrag: (
|
|
6052
|
-
s(
|
|
6051
|
+
onDrag: (C) => {
|
|
6052
|
+
s(C);
|
|
6053
6053
|
const p = u.current?.clientHeight || 0;
|
|
6054
|
-
|
|
6054
|
+
C.distanceY && (g(C.distanceY < 0 ? 0 : -C.distanceY), C.distanceY >= p - r && (t?.(), E(C)));
|
|
6055
6055
|
},
|
|
6056
6056
|
onDragEnd: E,
|
|
6057
6057
|
onDragStart: y
|
|
@@ -6257,7 +6257,7 @@ const Sn = B.createContext({
|
|
|
6257
6257
|
}
|
|
6258
6258
|
},
|
|
6259
6259
|
[t, e]
|
|
6260
|
-
),
|
|
6260
|
+
), C = B.useCallback(async () => {
|
|
6261
6261
|
try {
|
|
6262
6262
|
const R = await y("mount");
|
|
6263
6263
|
i?.(R.fields, R.hasErrors);
|
|
@@ -6268,7 +6268,7 @@ const Sn = B.createContext({
|
|
|
6268
6268
|
s.current && s.current.requestSubmit();
|
|
6269
6269
|
};
|
|
6270
6270
|
return sa(() => {
|
|
6271
|
-
|
|
6271
|
+
C();
|
|
6272
6272
|
}), {
|
|
6273
6273
|
ref: s,
|
|
6274
6274
|
submitForm: p,
|
|
@@ -6373,20 +6373,30 @@ const Sn = B.createContext({
|
|
|
6373
6373
|
r?.();
|
|
6374
6374
|
}
|
|
6375
6375
|
}
|
|
6376
|
-
), Uo = (e) =>
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6376
|
+
), Uo = (e) => {
|
|
6377
|
+
const t = zr(null);
|
|
6378
|
+
return {
|
|
6379
|
+
handleOnBlur: (c) => {
|
|
6380
|
+
e.onBlur?.();
|
|
6381
|
+
},
|
|
6382
|
+
handleOnFocus: (c) => {
|
|
6383
|
+
e.onFocus?.();
|
|
6384
|
+
},
|
|
6385
|
+
onValueChanged: (c) => {
|
|
6386
|
+
const u = c.currentTarget.value;
|
|
6387
|
+
if (!e.onChangeDelayInMilliseconds) {
|
|
6388
|
+
e.onChange?.(u);
|
|
6389
|
+
return;
|
|
6390
|
+
}
|
|
6391
|
+
t.current && clearTimeout(t.current), t.current = window.setTimeout(() => {
|
|
6392
|
+
e.onChange?.(u);
|
|
6393
|
+
}, e.onChangeDelayInMilliseconds);
|
|
6394
|
+
},
|
|
6395
|
+
handleOnClick: () => {
|
|
6396
|
+
e.onClick?.();
|
|
6397
|
+
}
|
|
6398
|
+
};
|
|
6399
|
+
}, Yo = Ee.div`
|
|
6390
6400
|
display: flex;
|
|
6391
6401
|
flex-direction: column;
|
|
6392
6402
|
font-family: inherit;
|
|
@@ -6415,7 +6425,7 @@ const Sn = B.createContext({
|
|
|
6415
6425
|
placeHolder: y,
|
|
6416
6426
|
autoComplete: E = "off",
|
|
6417
6427
|
value: M,
|
|
6418
|
-
initialValue:
|
|
6428
|
+
initialValue: C,
|
|
6419
6429
|
type: p = "text",
|
|
6420
6430
|
maxLength: R,
|
|
6421
6431
|
inputStyles: S,
|
|
@@ -6473,7 +6483,7 @@ const Sn = B.createContext({
|
|
|
6473
6483
|
maxLength: R,
|
|
6474
6484
|
placeholder: y,
|
|
6475
6485
|
value: M,
|
|
6476
|
-
defaultValue:
|
|
6486
|
+
defaultValue: C,
|
|
6477
6487
|
onChange: t,
|
|
6478
6488
|
onFocus: i,
|
|
6479
6489
|
onBlur: r,
|
|
@@ -6503,7 +6513,7 @@ const Sn = B.createContext({
|
|
|
6503
6513
|
}
|
|
6504
6514
|
);
|
|
6505
6515
|
}, bs = ({ id: e, styles: t, children: r }) => {
|
|
6506
|
-
const { isItemVisible: i } =
|
|
6516
|
+
const { isItemVisible: i } = kt();
|
|
6507
6517
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: i(e) && /* @__PURE__ */ X.jsx(
|
|
6508
6518
|
"div",
|
|
6509
6519
|
{
|
|
@@ -6530,7 +6540,7 @@ const Sn = B.createContext({
|
|
|
6530
6540
|
contentStyles: i,
|
|
6531
6541
|
onClickOutsideModal: a
|
|
6532
6542
|
}) => {
|
|
6533
|
-
const { isItemVisible: s } =
|
|
6543
|
+
const { isItemVisible: s } = kt();
|
|
6534
6544
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
6535
6545
|
"div",
|
|
6536
6546
|
{
|
|
@@ -6582,7 +6592,7 @@ const Sn = B.createContext({
|
|
|
6582
6592
|
}
|
|
6583
6593
|
) });
|
|
6584
6594
|
}, qo = (e) => {
|
|
6585
|
-
const t =
|
|
6595
|
+
const t = zr(""), r = me(
|
|
6586
6596
|
(u) => (e.allowNegatives ? (u = u.replace(/-/g, (l, d) => d === 0 ? "-" : ""), u.indexOf("-") > 0 && (u = u.replace(/-/g, ""), u = "-" + u)) : u = u.replace(/-/g, ""), u),
|
|
6587
6597
|
[e]
|
|
6588
6598
|
), i = me(
|
|
@@ -6592,8 +6602,8 @@ const Sn = B.createContext({
|
|
|
6592
6602
|
const l = u.indexOf(".");
|
|
6593
6603
|
l !== -1 && (u = u.slice(0, l + 1) + u.slice(l + 1).replace(/\./g, ""));
|
|
6594
6604
|
const [d, ...g] = u.split("."), [y, ...E] = t.current.split(".");
|
|
6595
|
-
let M = g.join(""),
|
|
6596
|
-
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M =
|
|
6605
|
+
let M = g.join(""), C = E.join("");
|
|
6606
|
+
e.decimalScale !== void 0 && (M.length > e.decimalScale ? M = C : M = M.slice(0, e.decimalScale)), u = M || u.endsWith(".") ? `${d}.${M}` : d;
|
|
6597
6607
|
} else
|
|
6598
6608
|
u = u.replace(/\./g, "");
|
|
6599
6609
|
return u;
|
|
@@ -6645,8 +6655,8 @@ const Sn = B.createContext({
|
|
|
6645
6655
|
}, [r, r.current]), E = B.useCallback(() => {
|
|
6646
6656
|
i.current && d(i.current.clientWidth);
|
|
6647
6657
|
}, [i, i.current]), M = B.useCallback(() => {
|
|
6648
|
-
let
|
|
6649
|
-
return e.header?.visibility === "always" && (
|
|
6658
|
+
let C = 0;
|
|
6659
|
+
return e.header?.visibility === "always" && (C = C + (a || 0)), e.footer?.visibility === "always" && (C = C + (c || 0)), C;
|
|
6650
6660
|
}, [r, r.current]);
|
|
6651
6661
|
return B.useEffect(() => {
|
|
6652
6662
|
g();
|
|
@@ -6822,7 +6832,7 @@ const Sn = B.createContext({
|
|
|
6822
6832
|
}
|
|
6823
6833
|
);
|
|
6824
6834
|
};
|
|
6825
|
-
class
|
|
6835
|
+
class Cn {
|
|
6826
6836
|
static getField = (t, r) => {
|
|
6827
6837
|
const i = t.find((a) => a.name === r);
|
|
6828
6838
|
if (i)
|
|
@@ -6833,7 +6843,7 @@ class On {
|
|
|
6833
6843
|
return t.value;
|
|
6834
6844
|
};
|
|
6835
6845
|
static getFieldValueOrDefault = (t, r) => {
|
|
6836
|
-
const i =
|
|
6846
|
+
const i = Cn.getFieldValue(t);
|
|
6837
6847
|
return i || r;
|
|
6838
6848
|
};
|
|
6839
6849
|
}
|
|
@@ -6852,7 +6862,7 @@ class Os {
|
|
|
6852
6862
|
);
|
|
6853
6863
|
};
|
|
6854
6864
|
}
|
|
6855
|
-
class
|
|
6865
|
+
class Cs {
|
|
6856
6866
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6857
6867
|
static disableScroll = () => {
|
|
6858
6868
|
document.body.style.overflow = "hidden";
|
|
@@ -6861,7 +6871,7 @@ class ks {
|
|
|
6861
6871
|
document.body.style.overflow = "unset";
|
|
6862
6872
|
};
|
|
6863
6873
|
}
|
|
6864
|
-
class
|
|
6874
|
+
class ks {
|
|
6865
6875
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6866
6876
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6867
6877
|
});
|
|
@@ -6876,7 +6886,7 @@ function Zo() {
|
|
|
6876
6886
|
(function(r, i) {
|
|
6877
6887
|
e.exports = i();
|
|
6878
6888
|
})(Jo, function() {
|
|
6879
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", d = "day", g = "week", y = "month", E = "quarter", M = "year",
|
|
6889
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", d = "day", g = "week", y = "month", E = "quarter", M = "year", C = "date", p = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|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, A = { 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(j) {
|
|
6880
6890
|
var P = ["th", "st", "nd", "rd"], L = j % 100;
|
|
6881
6891
|
return "[" + j + (P[(L - 20) % 10] || P[L] || P[0]) + "]";
|
|
6882
6892
|
} }, W = function(j, P, L) {
|
|
@@ -6892,7 +6902,7 @@ function Zo() {
|
|
|
6892
6902
|
}, a: function(j) {
|
|
6893
6903
|
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
6894
6904
|
}, p: function(j) {
|
|
6895
|
-
return { M: y, y: M, w: g, d, D:
|
|
6905
|
+
return { M: y, y: M, w: g, d, D: C, h: l, m: u, s: c, ms: s, Q: E }[j] || String(j || "").toLowerCase().replace(/s$/, "");
|
|
6896
6906
|
}, u: function(j) {
|
|
6897
6907
|
return j === void 0;
|
|
6898
6908
|
} }, m = "en", w = {};
|
|
@@ -6916,8 +6926,8 @@ function Zo() {
|
|
|
6916
6926
|
if (_(j)) return j.clone();
|
|
6917
6927
|
var L = typeof P == "object" ? P : {};
|
|
6918
6928
|
return L.date = j, L.args = arguments, new H(L);
|
|
6919
|
-
},
|
|
6920
|
-
|
|
6929
|
+
}, k = F;
|
|
6930
|
+
k.l = b, k.i = _, k.w = function(j, P) {
|
|
6921
6931
|
return h(j, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
|
|
6922
6932
|
};
|
|
6923
6933
|
var H = function() {
|
|
@@ -6929,7 +6939,7 @@ function Zo() {
|
|
|
6929
6939
|
this.$d = function(o) {
|
|
6930
6940
|
var z = o.date, v = o.utc;
|
|
6931
6941
|
if (z === null) return /* @__PURE__ */ new Date(NaN);
|
|
6932
|
-
if (
|
|
6942
|
+
if (k.u(z)) return /* @__PURE__ */ new Date();
|
|
6933
6943
|
if (z instanceof Date) return new Date(z);
|
|
6934
6944
|
if (typeof z == "string" && !/Z$/i.test(z)) {
|
|
6935
6945
|
var n = z.match(R);
|
|
@@ -6944,7 +6954,7 @@ function Zo() {
|
|
|
6944
6954
|
var L = this.$d;
|
|
6945
6955
|
this.$y = L.getFullYear(), this.$M = L.getMonth(), this.$D = L.getDate(), this.$W = L.getDay(), this.$H = L.getHours(), this.$m = L.getMinutes(), this.$s = L.getSeconds(), this.$ms = L.getMilliseconds();
|
|
6946
6956
|
}, P.$utils = function() {
|
|
6947
|
-
return
|
|
6957
|
+
return k;
|
|
6948
6958
|
}, P.isValid = function() {
|
|
6949
6959
|
return this.$d.toString() !== p;
|
|
6950
6960
|
}, P.isSame = function(L, o) {
|
|
@@ -6955,17 +6965,17 @@ function Zo() {
|
|
|
6955
6965
|
}, P.isBefore = function(L, o) {
|
|
6956
6966
|
return this.endOf(o) < h(L);
|
|
6957
6967
|
}, P.$g = function(L, o, z) {
|
|
6958
|
-
return
|
|
6968
|
+
return k.u(L) ? this[o] : this.set(z, L);
|
|
6959
6969
|
}, P.unix = function() {
|
|
6960
6970
|
return Math.floor(this.valueOf() / 1e3);
|
|
6961
6971
|
}, P.valueOf = function() {
|
|
6962
6972
|
return this.$d.getTime();
|
|
6963
6973
|
}, P.startOf = function(L, o) {
|
|
6964
|
-
var z = this, v = !!
|
|
6965
|
-
var J =
|
|
6974
|
+
var z = this, v = !!k.u(o) || o, n = k.p(L), f = function(K, G) {
|
|
6975
|
+
var J = k.w(z.$u ? Date.UTC(z.$y, G, K) : new Date(z.$y, G, K), z);
|
|
6966
6976
|
return v ? J : J.endOf(d);
|
|
6967
6977
|
}, O = function(K, G) {
|
|
6968
|
-
return
|
|
6978
|
+
return k.w(z.toDate()[K].apply(z.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), z);
|
|
6969
6979
|
}, I = this.$W, D = this.$M, N = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
6970
6980
|
switch (n) {
|
|
6971
6981
|
case M:
|
|
@@ -6976,7 +6986,7 @@ function Zo() {
|
|
|
6976
6986
|
var U = this.$locale().weekStart || 0, q = (I < U ? I + 7 : I) - U;
|
|
6977
6987
|
return f(v ? N - q : N + (6 - q), D);
|
|
6978
6988
|
case d:
|
|
6979
|
-
case
|
|
6989
|
+
case C:
|
|
6980
6990
|
return O(V + "Hours", 0);
|
|
6981
6991
|
case l:
|
|
6982
6992
|
return O(V + "Minutes", 1);
|
|
@@ -6990,38 +7000,38 @@ function Zo() {
|
|
|
6990
7000
|
}, P.endOf = function(L) {
|
|
6991
7001
|
return this.startOf(L, !1);
|
|
6992
7002
|
}, P.$set = function(L, o) {
|
|
6993
|
-
var z, v =
|
|
7003
|
+
var z, v = k.p(L), n = "set" + (this.$u ? "UTC" : ""), f = (z = {}, z[d] = n + "Date", z[C] = n + "Date", z[y] = n + "Month", z[M] = n + "FullYear", z[l] = n + "Hours", z[u] = n + "Minutes", z[c] = n + "Seconds", z[s] = n + "Milliseconds", z)[v], O = v === d ? this.$D + (o - this.$W) : o;
|
|
6994
7004
|
if (v === y || v === M) {
|
|
6995
|
-
var I = this.clone().set(
|
|
6996
|
-
I.$d[f](O), I.init(), this.$d = I.set(
|
|
7005
|
+
var I = this.clone().set(C, 1);
|
|
7006
|
+
I.$d[f](O), I.init(), this.$d = I.set(C, Math.min(this.$D, I.daysInMonth())).$d;
|
|
6997
7007
|
} else f && this.$d[f](O);
|
|
6998
7008
|
return this.init(), this;
|
|
6999
7009
|
}, P.set = function(L, o) {
|
|
7000
7010
|
return this.clone().$set(L, o);
|
|
7001
7011
|
}, P.get = function(L) {
|
|
7002
|
-
return this[
|
|
7012
|
+
return this[k.p(L)]();
|
|
7003
7013
|
}, P.add = function(L, o) {
|
|
7004
7014
|
var z, v = this;
|
|
7005
7015
|
L = Number(L);
|
|
7006
|
-
var n =
|
|
7016
|
+
var n = k.p(o), f = function(D) {
|
|
7007
7017
|
var N = h(v);
|
|
7008
|
-
return
|
|
7018
|
+
return k.w(N.date(N.date() + Math.round(D * L)), v);
|
|
7009
7019
|
};
|
|
7010
7020
|
if (n === y) return this.set(y, this.$M + L);
|
|
7011
7021
|
if (n === M) return this.set(M, this.$y + L);
|
|
7012
7022
|
if (n === d) return f(1);
|
|
7013
7023
|
if (n === g) return f(7);
|
|
7014
7024
|
var O = (z = {}, z[u] = i, z[l] = a, z[c] = r, z)[n] || 1, I = this.$d.getTime() + L * O;
|
|
7015
|
-
return
|
|
7025
|
+
return k.w(I, this);
|
|
7016
7026
|
}, P.subtract = function(L, o) {
|
|
7017
7027
|
return this.add(-1 * L, o);
|
|
7018
7028
|
}, P.format = function(L) {
|
|
7019
7029
|
var o = this, z = this.$locale();
|
|
7020
7030
|
if (!this.isValid()) return z.invalidDate || p;
|
|
7021
|
-
var v = L || "YYYY-MM-DDTHH:mm:ssZ", n =
|
|
7031
|
+
var v = L || "YYYY-MM-DDTHH:mm:ssZ", n = k.z(this), f = this.$H, O = this.$m, I = this.$M, D = z.weekdays, N = z.months, V = z.meridiem, U = function(G, J, te, Z) {
|
|
7022
7032
|
return G && (G[J] || G(o, v)) || te[J].slice(0, Z);
|
|
7023
7033
|
}, q = function(G) {
|
|
7024
|
-
return
|
|
7034
|
+
return k.s(f % 12 || 12, G, "0");
|
|
7025
7035
|
}, K = V || function(G, J, te) {
|
|
7026
7036
|
var Z = G < 12 ? "AM" : "PM";
|
|
7027
7037
|
return te ? Z.toLowerCase() : Z;
|
|
@@ -7032,11 +7042,11 @@ function Zo() {
|
|
|
7032
7042
|
case "YY":
|
|
7033
7043
|
return String(o.$y).slice(-2);
|
|
7034
7044
|
case "YYYY":
|
|
7035
|
-
return
|
|
7045
|
+
return k.s(o.$y, 4, "0");
|
|
7036
7046
|
case "M":
|
|
7037
7047
|
return I + 1;
|
|
7038
7048
|
case "MM":
|
|
7039
|
-
return
|
|
7049
|
+
return k.s(I + 1, 2, "0");
|
|
7040
7050
|
case "MMM":
|
|
7041
7051
|
return U(z.monthsShort, I, N, 3);
|
|
7042
7052
|
case "MMMM":
|
|
@@ -7044,7 +7054,7 @@ function Zo() {
|
|
|
7044
7054
|
case "D":
|
|
7045
7055
|
return o.$D;
|
|
7046
7056
|
case "DD":
|
|
7047
|
-
return
|
|
7057
|
+
return k.s(o.$D, 2, "0");
|
|
7048
7058
|
case "d":
|
|
7049
7059
|
return String(o.$W);
|
|
7050
7060
|
case "dd":
|
|
@@ -7056,7 +7066,7 @@ function Zo() {
|
|
|
7056
7066
|
case "H":
|
|
7057
7067
|
return String(f);
|
|
7058
7068
|
case "HH":
|
|
7059
|
-
return
|
|
7069
|
+
return k.s(f, 2, "0");
|
|
7060
7070
|
case "h":
|
|
7061
7071
|
return q(1);
|
|
7062
7072
|
case "hh":
|
|
@@ -7068,13 +7078,13 @@ function Zo() {
|
|
|
7068
7078
|
case "m":
|
|
7069
7079
|
return String(O);
|
|
7070
7080
|
case "mm":
|
|
7071
|
-
return
|
|
7081
|
+
return k.s(O, 2, "0");
|
|
7072
7082
|
case "s":
|
|
7073
7083
|
return String(o.$s);
|
|
7074
7084
|
case "ss":
|
|
7075
|
-
return
|
|
7085
|
+
return k.s(o.$s, 2, "0");
|
|
7076
7086
|
case "SSS":
|
|
7077
|
-
return
|
|
7087
|
+
return k.s(o.$ms, 3, "0");
|
|
7078
7088
|
case "Z":
|
|
7079
7089
|
return n;
|
|
7080
7090
|
}
|
|
@@ -7084,8 +7094,8 @@ function Zo() {
|
|
|
7084
7094
|
}, P.utcOffset = function() {
|
|
7085
7095
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
7086
7096
|
}, P.diff = function(L, o, z) {
|
|
7087
|
-
var v, n = this, f =
|
|
7088
|
-
return
|
|
7097
|
+
var v, n = this, f = k.p(o), O = h(L), I = (O.utcOffset() - this.utcOffset()) * i, D = this - O, N = function() {
|
|
7098
|
+
return k.m(n, O);
|
|
7089
7099
|
};
|
|
7090
7100
|
switch (f) {
|
|
7091
7101
|
case M:
|
|
@@ -7115,7 +7125,7 @@ function Zo() {
|
|
|
7115
7125
|
default:
|
|
7116
7126
|
v = D;
|
|
7117
7127
|
}
|
|
7118
|
-
return z ? v :
|
|
7128
|
+
return z ? v : k.a(v);
|
|
7119
7129
|
}, P.daysInMonth = function() {
|
|
7120
7130
|
return this.endOf(y).$D;
|
|
7121
7131
|
}, P.$locale = function() {
|
|
@@ -7125,7 +7135,7 @@ function Zo() {
|
|
|
7125
7135
|
var z = this.clone(), v = b(L, o, !0);
|
|
7126
7136
|
return v && (z.$L = v), z;
|
|
7127
7137
|
}, P.clone = function() {
|
|
7128
|
-
return
|
|
7138
|
+
return k.w(this.$d, this);
|
|
7129
7139
|
}, P.toDate = function() {
|
|
7130
7140
|
return new Date(this.valueOf());
|
|
7131
7141
|
}, P.toJSON = function() {
|
|
@@ -7136,7 +7146,7 @@ function Zo() {
|
|
|
7136
7146
|
return this.$d.toUTCString();
|
|
7137
7147
|
}, j;
|
|
7138
7148
|
}(), T = H.prototype;
|
|
7139
|
-
return h.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", d], ["$M", y], ["$y", M], ["$D",
|
|
7149
|
+
return h.prototype = T, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", d], ["$M", y], ["$y", M], ["$D", C]].forEach(function(j) {
|
|
7140
7150
|
T[j[1]] = function(P) {
|
|
7141
7151
|
return this.$g(P, j[0], j[1]);
|
|
7142
7152
|
};
|
|
@@ -7215,11 +7225,11 @@ function ts() {
|
|
|
7215
7225
|
l.toDate = function(p) {
|
|
7216
7226
|
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
7217
7227
|
};
|
|
7218
|
-
var
|
|
7228
|
+
var C = l.diff;
|
|
7219
7229
|
l.diff = function(p, R, S) {
|
|
7220
|
-
if (p && this.$u === p.$u) return
|
|
7230
|
+
if (p && this.$u === p.$u) return C.call(this, p, R, S);
|
|
7221
7231
|
var A = this.local(), W = u(p).local();
|
|
7222
|
-
return
|
|
7232
|
+
return C.call(A, W, R, S);
|
|
7223
7233
|
};
|
|
7224
7234
|
};
|
|
7225
7235
|
});
|
|
@@ -7421,7 +7431,7 @@ const Es = ({
|
|
|
7421
7431
|
containerStyles: E,
|
|
7422
7432
|
styles: M
|
|
7423
7433
|
}) => {
|
|
7424
|
-
const
|
|
7434
|
+
const C = (S) => {
|
|
7425
7435
|
l?.(S.currentTarget.value);
|
|
7426
7436
|
}, p = (S) => {
|
|
7427
7437
|
d?.();
|
|
@@ -7482,7 +7492,7 @@ const Es = ({
|
|
|
7482
7492
|
placeholder: s,
|
|
7483
7493
|
value: c,
|
|
7484
7494
|
defaultValue: u,
|
|
7485
|
-
onChange:
|
|
7495
|
+
onChange: C,
|
|
7486
7496
|
onFocus: p,
|
|
7487
7497
|
onBlur: R
|
|
7488
7498
|
}
|
|
@@ -7501,7 +7511,7 @@ const Es = ({
|
|
|
7501
7511
|
styles: r,
|
|
7502
7512
|
durationInSeconds: i = 3
|
|
7503
7513
|
}) => {
|
|
7504
|
-
const a = B.useRef(!1), { isItemVisible: s, hideItem: c } =
|
|
7514
|
+
const a = B.useRef(!1), { isItemVisible: s, hideItem: c } = kt();
|
|
7505
7515
|
return B.useEffect(() => {
|
|
7506
7516
|
const u = s(e);
|
|
7507
7517
|
a.current !== u && (a.current = u, u && setTimeout(() => c(e), i * 1e3));
|
|
@@ -7563,7 +7573,7 @@ export {
|
|
|
7563
7573
|
vs as Drawer,
|
|
7564
7574
|
ms as FeedbackProvider,
|
|
7565
7575
|
gs as Form,
|
|
7566
|
-
|
|
7576
|
+
Cn as FormsHelper,
|
|
7567
7577
|
ys as Image,
|
|
7568
7578
|
Bo as InputField,
|
|
7569
7579
|
bs as Loader,
|
|
@@ -7575,17 +7585,17 @@ export {
|
|
|
7575
7585
|
xs as PageLayout,
|
|
7576
7586
|
Es as ProgressBar,
|
|
7577
7587
|
Rs as RadioButton,
|
|
7578
|
-
|
|
7588
|
+
Cs as ScrollHelper,
|
|
7579
7589
|
_s as SvgImage,
|
|
7580
7590
|
Ts as TextAreaField,
|
|
7581
|
-
|
|
7591
|
+
ks as TextHelper,
|
|
7582
7592
|
Ps as TimeHelper,
|
|
7583
7593
|
js as Toast,
|
|
7584
7594
|
Ls as Typography,
|
|
7585
7595
|
ca as defaultBreakpoints,
|
|
7586
7596
|
sa as useDidMount,
|
|
7587
7597
|
ua as useDrag,
|
|
7588
|
-
|
|
7598
|
+
kt as useFeedback,
|
|
7589
7599
|
us as useFetch,
|
|
7590
7600
|
hs as useNavigation,
|
|
7591
7601
|
cs as useOnScreen,
|