@eliseubatista99/react-scaffold-core 0.2.17 → 0.2.19
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 M from "react";
|
|
2
|
-
import V, { forwardRef as
|
|
2
|
+
import V, { forwardRef as Cn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as ve, useRef as Pn } 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 Vt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -81,7 +81,7 @@ function _n() {
|
|
|
81
81
|
switch (n) {
|
|
82
82
|
case p:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case
|
|
84
|
+
case C:
|
|
85
85
|
return "Profiler";
|
|
86
86
|
case I:
|
|
87
87
|
return "StrictMode";
|
|
@@ -89,14 +89,14 @@ function _n() {
|
|
|
89
89
|
return "Suspense";
|
|
90
90
|
case w:
|
|
91
91
|
return "SuspenseList";
|
|
92
|
-
case
|
|
92
|
+
case y:
|
|
93
93
|
return "Activity";
|
|
94
94
|
}
|
|
95
95
|
if (typeof n == "object")
|
|
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 k:
|
|
100
100
|
return "Portal";
|
|
101
101
|
case U:
|
|
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 = P.A;
|
|
152
152
|
return n === null ? null : n.getOwner();
|
|
153
153
|
}
|
|
154
154
|
function s() {
|
|
@@ -217,13 +217,13 @@ function _n() {
|
|
|
217
217
|
if ($)
|
|
218
218
|
if (_(B)) {
|
|
219
219
|
for ($ = 0; $ < B.length; $++)
|
|
220
|
-
|
|
220
|
+
b(B[$]);
|
|
221
221
|
Object.freeze && Object.freeze(B);
|
|
222
222
|
} else
|
|
223
223
|
console.error(
|
|
224
224
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
225
225
|
);
|
|
226
|
-
else
|
|
226
|
+
else b(B);
|
|
227
227
|
if (A.call(c, "key")) {
|
|
228
228
|
B = e(n);
|
|
229
229
|
var K = Object.keys(c).filter(function(J) {
|
|
@@ -261,10 +261,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
261
261
|
W
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function b(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === L && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var S = V, L = Symbol.for("react.transitional.element"),
|
|
267
|
+
var S = V, L = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), h = Symbol.for("react.client.reference"), P = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, _ = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
S = {
|
|
@@ -277,7 +277,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
277
277
|
s
|
|
278
278
|
)(), H = T(i(s)), m = {};
|
|
279
279
|
ze.Fragment = p, ze.jsx = function(n, c, O, $, D) {
|
|
280
|
-
var z = 1e4 >
|
|
280
|
+
var z = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
283
|
c,
|
|
@@ -289,7 +289,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
289
289
|
z ? T(i(n)) : H
|
|
290
290
|
);
|
|
291
291
|
}, ze.jsxs = function(n, c, O, $, D) {
|
|
292
|
-
var z = 1e4 >
|
|
292
|
+
var z = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
295
|
c,
|
|
@@ -330,7 +330,7 @@ const as = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
|
|
|
330
330
|
children: e
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
|
-
var
|
|
333
|
+
var Pt = {}, Et = {}, Ne = {}, Rt = {}, ar;
|
|
334
334
|
function jn() {
|
|
335
335
|
return ar || (ar = 1, function(e) {
|
|
336
336
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -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, f = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, d = typeof self == "object" && self && self.Object === Object && self, g = u || d || Function("return this")(),
|
|
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, f = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, d = typeof self == "object" && self && self.Object === Object && self, g = u || d || Function("return this")(), b = Object.prototype, S = b.toString, L = Math.max, k = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, w, x) {
|
|
381
|
-
var R,
|
|
381
|
+
var R, y, h, P, A, _, T = 0, E = !1, j = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
w = q(w) || 0,
|
|
384
|
+
w = q(w) || 0, C(x) && (E = !!x.leading, j = "maxWait" in x, h = j ? L(q(x.maxWait) || 0, w) : h, o = "trailing" in x ? !!x.trailing : o);
|
|
385
385
|
function H(W) {
|
|
386
|
-
var B = R, K =
|
|
387
|
-
return R =
|
|
386
|
+
var B = R, K = y;
|
|
387
|
+
return R = y = void 0, T = W, P = v.apply(K, B), P;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
|
-
return T = W, A = setTimeout(O, w), E ? H(W) :
|
|
390
|
+
return T = W, A = setTimeout(O, w), E ? H(W) : P;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
393
|
var B = W - _, K = W - T, G = w - B;
|
|
394
|
-
return j ?
|
|
394
|
+
return j ? k(G, h - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function c(W) {
|
|
397
397
|
var B = W - _, K = W - T;
|
|
@@ -404,27 +404,27 @@ function Ln() {
|
|
|
404
404
|
A = setTimeout(O, n(W));
|
|
405
405
|
}
|
|
406
406
|
function $(W) {
|
|
407
|
-
return A = void 0, o && R ? H(W) : (R =
|
|
407
|
+
return A = void 0, o && R ? H(W) : (R = y = void 0, P);
|
|
408
408
|
}
|
|
409
409
|
function D() {
|
|
410
|
-
A !== void 0 && clearTimeout(A), T = 0, R = _ =
|
|
410
|
+
A !== void 0 && clearTimeout(A), T = 0, R = _ = y = A = void 0;
|
|
411
411
|
}
|
|
412
412
|
function z() {
|
|
413
|
-
return A === void 0 ?
|
|
413
|
+
return A === void 0 ? P : $(p());
|
|
414
414
|
}
|
|
415
415
|
function N() {
|
|
416
416
|
var W = p(), B = c(W);
|
|
417
|
-
if (R = arguments,
|
|
417
|
+
if (R = arguments, y = this, _ = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(_);
|
|
420
420
|
if (j)
|
|
421
421
|
return A = setTimeout(O, w), H(_);
|
|
422
422
|
}
|
|
423
|
-
return A === void 0 && (A = setTimeout(O, w)),
|
|
423
|
+
return A === void 0 && (A = setTimeout(O, w)), P;
|
|
424
424
|
}
|
|
425
425
|
return N.cancel = D, N.flush = z, N;
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function C(v) {
|
|
428
428
|
var w = typeof v;
|
|
429
429
|
return !!v && (w == "object" || w == "function");
|
|
430
430
|
}
|
|
@@ -439,9 +439,9 @@ function Ln() {
|
|
|
439
439
|
return v;
|
|
440
440
|
if (U(v))
|
|
441
441
|
return t;
|
|
442
|
-
if (
|
|
442
|
+
if (C(v)) {
|
|
443
443
|
var w = typeof v.valueOf == "function" ? v.valueOf() : v;
|
|
444
|
-
v =
|
|
444
|
+
v = C(w) ? w + "" : w;
|
|
445
445
|
}
|
|
446
446
|
if (typeof v != "string")
|
|
447
447
|
return v === 0 ? v : +v;
|
|
@@ -628,7 +628,7 @@ function Ke() {
|
|
|
628
628
|
var g = Y.safePreventDefault = function(n) {
|
|
629
629
|
var c = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
630
|
c.includes(n._reactName) || n.preventDefault();
|
|
631
|
-
},
|
|
631
|
+
}, b = Y.getOnDemandLazySlides = function(n) {
|
|
632
632
|
for (var c = [], O = S(n), $ = L(n), D = O; D < $; D++)
|
|
633
633
|
n.lazyLoadedList.indexOf(D) < 0 && c.push(D);
|
|
634
634
|
return c;
|
|
@@ -639,16 +639,16 @@ function Ke() {
|
|
|
639
639
|
return c;
|
|
640
640
|
};
|
|
641
641
|
var S = Y.lazyStartIndex = function(n) {
|
|
642
|
-
return n.currentSlide -
|
|
642
|
+
return n.currentSlide - k(n);
|
|
643
643
|
}, L = Y.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
645
|
-
},
|
|
645
|
+
}, k = 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;
|
|
649
649
|
}, I = Y.getWidth = function(n) {
|
|
650
650
|
return n && n.offsetWidth || 0;
|
|
651
|
-
},
|
|
651
|
+
}, C = Y.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
653
|
}, F = Y.getSwipeDirection = function(n) {
|
|
654
654
|
var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, O, $, D, z;
|
|
@@ -670,9 +670,9 @@ function Ke() {
|
|
|
670
670
|
var W = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
671
671
|
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= $ / 100), N = Math.ceil(($ - W) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
|
-
var B = O &&
|
|
673
|
+
var B = O && C(O.querySelector('[data-index="0"]')), K = B * n.slidesToShow, G = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
674
|
n.rtl && n.currentSlide === void 0 && (G = c - 1 - n.initialSlide);
|
|
675
|
-
var J = n.lazyLoadedList || [], te =
|
|
675
|
+
var J = n.lazyLoadedList || [], te = b(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: G,
|
|
677
677
|
lazyLoadedList: J
|
|
678
678
|
}));
|
|
@@ -708,12 +708,12 @@ function Ke() {
|
|
|
708
708
|
slideIndex: ee
|
|
709
709
|
})), Q = h(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
711
|
-
})), D || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(
|
|
711
|
+
})), D || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(b(s(s({}, n), {}, {
|
|
712
712
|
currentSlide: ee
|
|
713
713
|
})))), te ? (oe = {
|
|
714
714
|
animating: !0,
|
|
715
715
|
currentSlide: ie,
|
|
716
|
-
trackStyle:
|
|
716
|
+
trackStyle: y(s(s({}, n), {}, {
|
|
717
717
|
left: le
|
|
718
718
|
})),
|
|
719
719
|
lazyLoadedList: Z,
|
|
@@ -782,8 +782,8 @@ function Ke() {
|
|
|
782
782
|
N && (Q.swipeLength = tr);
|
|
783
783
|
var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
784
|
N && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
|
-
var kn = Math.ceil(ee / ie),
|
|
786
|
-
return le || (B === 0 && (
|
|
785
|
+
var kn = Math.ceil(ee / ie), Pe = F(c.touchObject, N), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Pe === "right" || Pe === "down") || B + 1 >= kn && (Pe === "left" || Pe === "up") || !U(c) && (Pe === "left" || Pe === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Pe), Re.edgeDragged = !0)), !te && oe && (oe(Pe), Re.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Re = s(s({}, Re), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: R(s(s({}, c), {}, {
|
|
@@ -824,7 +824,7 @@ function Ke() {
|
|
|
824
824
|
Q.triggerSlideHandler = oe;
|
|
825
825
|
} else {
|
|
826
826
|
var pe = h(c);
|
|
827
|
-
Q.trackStyle =
|
|
827
|
+
Q.trackStyle = y(s(s({}, c), {}, {
|
|
828
828
|
left: pe
|
|
829
829
|
}));
|
|
830
830
|
}
|
|
@@ -853,7 +853,7 @@ function Ke() {
|
|
|
853
853
|
var O, $ = n.listRef, D = $.querySelectorAll && $.querySelectorAll(".slick-slide") || [];
|
|
854
854
|
if (Array.from(D).every(function(W) {
|
|
855
855
|
if (n.vertical) {
|
|
856
|
-
if (W.offsetTop +
|
|
856
|
+
if (W.offsetTop + C(W) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return O = W, !1;
|
|
858
858
|
} else if (W.offsetLeft - c + I(W) / 2 > n.swipeLeft * -1)
|
|
859
859
|
return O = W, !1;
|
|
@@ -894,7 +894,7 @@ function Ke() {
|
|
|
894
894
|
return n.fade && (D = {
|
|
895
895
|
opacity: 1
|
|
896
896
|
}), c && (D.width = c), O && (D.height = O), window && !window.addEventListener && window.attachEvent && (n.vertical ? D.marginTop = n.left + "px" : D.marginLeft = n.left + "px"), D;
|
|
897
|
-
},
|
|
897
|
+
}, y = Y.getTrackAnimateCSS = function(n) {
|
|
898
898
|
x(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
899
|
var c = R(n);
|
|
900
900
|
return n.useTransform ? (c.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, c.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? c.transition = "top " + n.speed + "ms " + n.cssEase : c.transition = "left " + n.speed + "ms " + n.cssEase, c;
|
|
@@ -906,22 +906,22 @@ function Ke() {
|
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if ($ ? (oe = -
|
|
909
|
+
if ($ ? (oe = -P(n), z % W !== 0 && c + W > z && (oe = -(c > z ? N - (c - z) : z % W)), D && (oe += parseInt(N / 2))) : (z % W !== 0 && c + W > z && (oe = N - z % W), D && (oe = parseInt(N / 2))), ee = oe * B, Q = oe * J, Z ? ie = c * J * -1 + Q : ie = c * B * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
|
-
if (ue = c +
|
|
912
|
-
ue = $ ? c +
|
|
911
|
+
if (ue = c + P(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
|
+
ue = $ ? c + P(n) : c, 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
|
+
}, P = Y.getPreClones = function(n) {
|
|
920
920
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
921
921
|
}, A = Y.getPostClones = function(n) {
|
|
922
922
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
923
923
|
}, _ = Y.getTotalSlides = function(n) {
|
|
924
|
-
return n.slideCount === 1 ? 1 :
|
|
924
|
+
return n.slideCount === 1 ? 1 : P(n) + n.slideCount + A(n);
|
|
925
925
|
}, T = Y.siblingDirection = function(n) {
|
|
926
926
|
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + E(n) ? "left" : "right" : n.targetSlide < n.currentSlide - j(n) ? "right" : "left";
|
|
927
927
|
}, E = Y.slidesOnRight = function(n) {
|
|
@@ -957,142 +957,142 @@ function Dn() {
|
|
|
957
957
|
value: !0
|
|
958
958
|
}), Fe.Track = void 0;
|
|
959
959
|
var e = i(V), t = i(yt()), r = Ke();
|
|
960
|
-
function i(
|
|
961
|
-
return
|
|
960
|
+
function i(y) {
|
|
961
|
+
return y && y.__esModule ? y : { default: y };
|
|
962
962
|
}
|
|
963
|
-
function a(
|
|
963
|
+
function a(y) {
|
|
964
964
|
"@babel/helpers - typeof";
|
|
965
965
|
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(h) {
|
|
966
966
|
return typeof h;
|
|
967
967
|
} : function(h) {
|
|
968
968
|
return h && typeof Symbol == "function" && h.constructor === Symbol && h !== Symbol.prototype ? "symbol" : typeof h;
|
|
969
|
-
}, a(
|
|
969
|
+
}, a(y);
|
|
970
970
|
}
|
|
971
971
|
function s() {
|
|
972
|
-
return s = Object.assign ? Object.assign.bind() : function(
|
|
972
|
+
return s = Object.assign ? Object.assign.bind() : function(y) {
|
|
973
973
|
for (var h = 1; h < arguments.length; h++) {
|
|
974
|
-
var
|
|
975
|
-
for (var A in
|
|
976
|
-
({}).hasOwnProperty.call(
|
|
974
|
+
var P = arguments[h];
|
|
975
|
+
for (var A in P)
|
|
976
|
+
({}).hasOwnProperty.call(P, A) && (y[A] = P[A]);
|
|
977
977
|
}
|
|
978
|
-
return
|
|
978
|
+
return y;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
980
980
|
}
|
|
981
|
-
function f(
|
|
982
|
-
if (!(
|
|
981
|
+
function f(y, h) {
|
|
982
|
+
if (!(y instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
|
-
function l(
|
|
985
|
-
for (var
|
|
986
|
-
var A = h[
|
|
987
|
-
A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(
|
|
984
|
+
function l(y, h) {
|
|
985
|
+
for (var P = 0; P < h.length; P++) {
|
|
986
|
+
var A = h[P];
|
|
987
|
+
A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(y, U(A.key), A);
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function u(
|
|
991
|
-
return h && l(
|
|
990
|
+
function u(y, h, P) {
|
|
991
|
+
return h && l(y.prototype, h), Object.defineProperty(y, "prototype", { writable: !1 }), y;
|
|
992
992
|
}
|
|
993
|
-
function d(
|
|
993
|
+
function d(y, h) {
|
|
994
994
|
if (typeof h != "function" && h !== null) throw new TypeError("Super expression must either be null or a function");
|
|
995
|
-
|
|
995
|
+
y.prototype = Object.create(h && h.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), h && g(y, h);
|
|
996
996
|
}
|
|
997
|
-
function g(
|
|
998
|
-
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
999
|
-
return
|
|
1000
|
-
}, g(
|
|
997
|
+
function g(y, h) {
|
|
998
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(P, A) {
|
|
999
|
+
return P.__proto__ = A, P;
|
|
1000
|
+
}, g(y, h);
|
|
1001
1001
|
}
|
|
1002
|
-
function y
|
|
1003
|
-
var h =
|
|
1002
|
+
function b(y) {
|
|
1003
|
+
var h = k();
|
|
1004
1004
|
return function() {
|
|
1005
|
-
var
|
|
1005
|
+
var P, A = p(y);
|
|
1006
1006
|
if (h) {
|
|
1007
1007
|
var _ = p(this).constructor;
|
|
1008
|
-
|
|
1009
|
-
} else
|
|
1010
|
-
return S(this,
|
|
1008
|
+
P = Reflect.construct(A, arguments, _);
|
|
1009
|
+
} else P = A.apply(this, arguments);
|
|
1010
|
+
return S(this, P);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
|
-
function S(
|
|
1013
|
+
function S(y, h) {
|
|
1014
1014
|
if (h && (a(h) == "object" || typeof h == "function")) return h;
|
|
1015
1015
|
if (h !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
|
-
return L(
|
|
1016
|
+
return L(y);
|
|
1017
1017
|
}
|
|
1018
|
-
function L(
|
|
1019
|
-
if (
|
|
1020
|
-
return
|
|
1018
|
+
function L(y) {
|
|
1019
|
+
if (y === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1020
|
+
return y;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1022
|
+
function k() {
|
|
1023
1023
|
try {
|
|
1024
|
-
var
|
|
1024
|
+
var y = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1025
1025
|
}));
|
|
1026
1026
|
} catch {
|
|
1027
1027
|
}
|
|
1028
|
-
return (
|
|
1029
|
-
return !!
|
|
1028
|
+
return (k = function() {
|
|
1029
|
+
return !!y;
|
|
1030
1030
|
})();
|
|
1031
1031
|
}
|
|
1032
|
-
function p(
|
|
1032
|
+
function p(y) {
|
|
1033
1033
|
return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(h) {
|
|
1034
1034
|
return h.__proto__ || Object.getPrototypeOf(h);
|
|
1035
|
-
}, p(
|
|
1035
|
+
}, p(y);
|
|
1036
1036
|
}
|
|
1037
|
-
function I(
|
|
1038
|
-
var
|
|
1037
|
+
function I(y, h) {
|
|
1038
|
+
var P = Object.keys(y);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
|
-
var A = Object.getOwnPropertySymbols(
|
|
1040
|
+
var A = Object.getOwnPropertySymbols(y);
|
|
1041
1041
|
h && (A = A.filter(function(_) {
|
|
1042
|
-
return Object.getOwnPropertyDescriptor(
|
|
1043
|
-
})),
|
|
1042
|
+
return Object.getOwnPropertyDescriptor(y, _).enumerable;
|
|
1043
|
+
})), P.push.apply(P, A);
|
|
1044
1044
|
}
|
|
1045
|
-
return
|
|
1045
|
+
return P;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function C(y) {
|
|
1048
1048
|
for (var h = 1; h < arguments.length; h++) {
|
|
1049
|
-
var
|
|
1050
|
-
h % 2 ? I(Object(
|
|
1051
|
-
F(
|
|
1052
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1053
|
-
Object.defineProperty(
|
|
1049
|
+
var P = arguments[h] != null ? arguments[h] : {};
|
|
1050
|
+
h % 2 ? I(Object(P), !0).forEach(function(A) {
|
|
1051
|
+
F(y, A, P[A]);
|
|
1052
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(P)) : I(Object(P)).forEach(function(A) {
|
|
1053
|
+
Object.defineProperty(y, A, Object.getOwnPropertyDescriptor(P, A));
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
|
-
return
|
|
1056
|
+
return y;
|
|
1057
1057
|
}
|
|
1058
|
-
function F(
|
|
1059
|
-
return (h = U(h)) in
|
|
1058
|
+
function F(y, h, P) {
|
|
1059
|
+
return (h = U(h)) in y ? Object.defineProperty(y, h, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : y[h] = P, y;
|
|
1060
1060
|
}
|
|
1061
|
-
function U(
|
|
1062
|
-
var h = q(
|
|
1061
|
+
function U(y) {
|
|
1062
|
+
var h = q(y, "string");
|
|
1063
1063
|
return a(h) == "symbol" ? h : h + "";
|
|
1064
1064
|
}
|
|
1065
|
-
function q(
|
|
1066
|
-
if (a(
|
|
1067
|
-
var
|
|
1068
|
-
if (
|
|
1069
|
-
var A =
|
|
1065
|
+
function q(y, h) {
|
|
1066
|
+
if (a(y) != "object" || !y) return y;
|
|
1067
|
+
var P = y[Symbol.toPrimitive];
|
|
1068
|
+
if (P !== void 0) {
|
|
1069
|
+
var A = P.call(y, h);
|
|
1070
1070
|
if (a(A) != "object") return A;
|
|
1071
1071
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1072
1072
|
}
|
|
1073
|
-
return (h === "string" ? String : Number)(
|
|
1073
|
+
return (h === "string" ? String : Number)(y);
|
|
1074
1074
|
}
|
|
1075
1075
|
var v = function(h) {
|
|
1076
|
-
var
|
|
1077
|
-
h.rtl ? E = h.slideCount - 1 - h.index : E = h.index, _ = E < 0 || E >= h.slideCount, h.centerMode ? (T = Math.floor(h.slidesToShow / 2), A = (E - h.currentSlide) % h.slideCount === 0, E > h.currentSlide - T - 1 && E <= h.currentSlide + T && (
|
|
1076
|
+
var P, A, _, T, E;
|
|
1077
|
+
h.rtl ? E = h.slideCount - 1 - h.index : E = h.index, _ = E < 0 || E >= h.slideCount, h.centerMode ? (T = Math.floor(h.slidesToShow / 2), A = (E - h.currentSlide) % h.slideCount === 0, E > h.currentSlide - T - 1 && E <= h.currentSlide + T && (P = !0)) : P = h.currentSlide <= E && E < h.currentSlide + h.slidesToShow;
|
|
1078
1078
|
var j;
|
|
1079
1079
|
h.targetSlide < 0 ? j = h.targetSlide + h.slideCount : h.targetSlide >= h.slideCount ? j = h.targetSlide - h.slideCount : j = h.targetSlide;
|
|
1080
1080
|
var o = E === j;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
1083
|
-
"slick-active":
|
|
1083
|
+
"slick-active": P,
|
|
1084
1084
|
"slick-center": A,
|
|
1085
1085
|
"slick-cloned": _,
|
|
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 P = {};
|
|
1091
|
+
return (h.variableWidth === void 0 || h.variableWidth === !1) && (P.width = h.slideWidth), h.fade && (P.position = "relative", h.vertical ? P.top = -h.index * parseInt(h.slideHeight) : P.left = -h.index * parseInt(h.slideWidth), P.opacity = h.currentSlide === h.index ? 1 : 0, P.zIndex = h.currentSlide === h.index ? 999 : 998, h.useCSS && (P.transition = "opacity " + h.speed + "ms " + h.cssEase + ", visibility " + h.speed + "ms " + h.cssEase)), P;
|
|
1092
|
+
}, x = function(h, P) {
|
|
1093
|
+
return h.key || P;
|
|
1094
1094
|
}, R = function(h) {
|
|
1095
|
-
var
|
|
1095
|
+
var P, A = [], _ = [], T = [], E = e.default.Children.count(h.children), j = (0, r.lazyStartIndex)(h), o = (0, r.lazyEndIndex)(h);
|
|
1096
1096
|
return e.default.Children.forEach(h.children, function(H, m) {
|
|
1097
1097
|
var n, c = {
|
|
1098
1098
|
message: "children",
|
|
@@ -1101,9 +1101,9 @@ function Dn() {
|
|
|
1101
1101
|
currentSlide: h.currentSlide
|
|
1102
1102
|
};
|
|
1103
1103
|
!h.lazyLoad || h.lazyLoad && h.lazyLoadedList.indexOf(m) >= 0 ? n = H : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
-
var O = w(
|
|
1104
|
+
var O = w(C(C({}, h), {}, {
|
|
1105
1105
|
index: m
|
|
1106
|
-
})), $ = n.props.className || "", D = v(
|
|
1106
|
+
})), $ = n.props.className || "", D = v(C(C({}, h), {}, {
|
|
1107
1107
|
index: m
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
@@ -1112,7 +1112,7 @@ function Dn() {
|
|
|
1112
1112
|
className: (0, t.default)(D, $),
|
|
1113
1113
|
tabIndex: "-1",
|
|
1114
1114
|
"aria-hidden": !D["slick-active"],
|
|
1115
|
-
style:
|
|
1115
|
+
style: C(C({
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), O),
|
|
1118
1118
|
onClick: function(W) {
|
|
@@ -1120,27 +1120,27 @@ function Dn() {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
})), h.infinite && E > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var z = E - m;
|
|
1123
|
-
z <= (0, r.getPreClones)(h) && (
|
|
1124
|
-
index:
|
|
1123
|
+
z <= (0, r.getPreClones)(h) && (P = -z, P >= j && (n = H), D = v(C(C({}, h), {}, {
|
|
1124
|
+
index: P
|
|
1125
1125
|
})), _.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
|
-
key: "precloned" + x(n,
|
|
1127
|
-
"data-index":
|
|
1126
|
+
key: "precloned" + x(n, P),
|
|
1127
|
+
"data-index": P,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
1129
|
className: (0, t.default)(D, $),
|
|
1130
1130
|
"aria-hidden": !D["slick-active"],
|
|
1131
|
-
style:
|
|
1131
|
+
style: C(C({}, n.props.style || {}), O),
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(c);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), m < (0, r.getPostClones)(h) && (
|
|
1136
|
-
index:
|
|
1135
|
+
}))), m < (0, r.getPostClones)(h) && (P = E + m, P < o && (n = H), D = v(C(C({}, h), {}, {
|
|
1136
|
+
index: P
|
|
1137
1137
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
|
-
key: "postcloned" + x(n,
|
|
1139
|
-
"data-index":
|
|
1138
|
+
key: "postcloned" + x(n, P),
|
|
1139
|
+
"data-index": P,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
1141
|
className: (0, t.default)(D, $),
|
|
1142
1142
|
"aria-hidden": !D["slick-active"],
|
|
1143
|
-
style:
|
|
1143
|
+
style: C(C({}, n.props.style || {}), O),
|
|
1144
1144
|
onClick: function(W) {
|
|
1145
1145
|
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(c);
|
|
1146
1146
|
}
|
|
@@ -1148,19 +1148,19 @@ function Dn() {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
}), h.rtl ? _.concat(A, T).reverse() : _.concat(A, T);
|
|
1150
1150
|
};
|
|
1151
|
-
return Fe.Track = /* @__PURE__ */ function(
|
|
1152
|
-
d(
|
|
1153
|
-
var h =
|
|
1154
|
-
function
|
|
1151
|
+
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1152
|
+
d(P, y);
|
|
1153
|
+
var h = b(P);
|
|
1154
|
+
function P() {
|
|
1155
1155
|
var A;
|
|
1156
|
-
f(this,
|
|
1156
|
+
f(this, P);
|
|
1157
1157
|
for (var _ = arguments.length, T = new Array(_), E = 0; E < _; E++)
|
|
1158
1158
|
T[E] = arguments[E];
|
|
1159
1159
|
return A = h.call.apply(h, [this].concat(T)), F(L(A), "node", null), F(L(A), "handleRef", function(j) {
|
|
1160
1160
|
A.node = j;
|
|
1161
1161
|
}), A;
|
|
1162
1162
|
}
|
|
1163
|
-
return u(
|
|
1163
|
+
return u(P, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
1166
|
var _ = R(this.props), T = this.props, E = T.onMouseEnter, j = T.onMouseOver, o = T.onMouseLeave, H = {
|
|
@@ -1174,7 +1174,7 @@ function Dn() {
|
|
|
1174
1174
|
style: this.props.trackStyle
|
|
1175
1175
|
}, H), _);
|
|
1176
1176
|
}
|
|
1177
|
-
}]),
|
|
1177
|
+
}]), P;
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
1179
1179
|
}
|
|
1180
1180
|
var We = {}, fr;
|
|
@@ -1200,8 +1200,8 @@ function Mn() {
|
|
|
1200
1200
|
var x = Object.keys(v);
|
|
1201
1201
|
if (Object.getOwnPropertySymbols) {
|
|
1202
1202
|
var R = Object.getOwnPropertySymbols(v);
|
|
1203
|
-
w && (R = R.filter(function(
|
|
1204
|
-
return Object.getOwnPropertyDescriptor(v,
|
|
1203
|
+
w && (R = R.filter(function(y) {
|
|
1204
|
+
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1205
1205
|
})), x.push.apply(x, R);
|
|
1206
1206
|
}
|
|
1207
1207
|
return x;
|
|
@@ -1218,7 +1218,7 @@ function Mn() {
|
|
|
1218
1218
|
return v;
|
|
1219
1219
|
}
|
|
1220
1220
|
function l(v, w, x) {
|
|
1221
|
-
return (w =
|
|
1221
|
+
return (w = b(w)) in v ? Object.defineProperty(v, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : v[w] = x, v;
|
|
1222
1222
|
}
|
|
1223
1223
|
function u(v, w) {
|
|
1224
1224
|
if (!(v instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -1226,13 +1226,13 @@ function Mn() {
|
|
|
1226
1226
|
function d(v, w) {
|
|
1227
1227
|
for (var x = 0; x < w.length; x++) {
|
|
1228
1228
|
var R = w[x];
|
|
1229
|
-
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v,
|
|
1229
|
+
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v, b(R.key), R);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
function g(v, w, x) {
|
|
1233
1233
|
return w && d(v.prototype, w), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function b(v) {
|
|
1236
1236
|
var w = S(v, "string");
|
|
1237
1237
|
return e(w) == "symbol" ? w : w + "";
|
|
1238
1238
|
}
|
|
@@ -1248,20 +1248,20 @@ function Mn() {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
function L(v, w) {
|
|
1250
1250
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
-
v.prototype = Object.create(w && w.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), w &&
|
|
1251
|
+
v.prototype = Object.create(w && w.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), w && k(v, w);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return
|
|
1253
|
+
function k(v, w) {
|
|
1254
|
+
return k = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, R) {
|
|
1255
1255
|
return x.__proto__ = R, x;
|
|
1256
|
-
},
|
|
1256
|
+
}, k(v, w);
|
|
1257
1257
|
}
|
|
1258
1258
|
function p(v) {
|
|
1259
1259
|
var w = F();
|
|
1260
1260
|
return function() {
|
|
1261
1261
|
var x, R = U(v);
|
|
1262
1262
|
if (w) {
|
|
1263
|
-
var
|
|
1264
|
-
x = Reflect.construct(R, arguments,
|
|
1263
|
+
var y = U(this).constructor;
|
|
1264
|
+
x = Reflect.construct(R, arguments, y);
|
|
1265
1265
|
} else x = R.apply(this, arguments);
|
|
1266
1266
|
return I(this, x);
|
|
1267
1267
|
};
|
|
@@ -1269,9 +1269,9 @@ function Mn() {
|
|
|
1269
1269
|
function I(v, w) {
|
|
1270
1270
|
if (w && (e(w) == "object" || typeof w == "function")) return w;
|
|
1271
1271
|
if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1272
|
-
return
|
|
1272
|
+
return C(v);
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function C(v) {
|
|
1275
1275
|
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1276
1276
|
return v;
|
|
1277
1277
|
}
|
|
@@ -1302,20 +1302,20 @@ function Mn() {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
return g(x, [{
|
|
1304
1304
|
key: "clickHandler",
|
|
1305
|
-
value: function(
|
|
1306
|
-
h.preventDefault(), this.props.clickHandler(
|
|
1305
|
+
value: function(y, h) {
|
|
1306
|
+
h.preventDefault(), this.props.clickHandler(y);
|
|
1307
1307
|
}
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var
|
|
1311
|
+
for (var y = this.props, h = y.onMouseEnter, P = y.onMouseOver, A = y.onMouseLeave, _ = y.infinite, T = y.slidesToScroll, E = y.slidesToShow, j = y.slideCount, o = y.currentSlide, H = q({
|
|
1312
1312
|
slideCount: j,
|
|
1313
1313
|
slidesToScroll: T,
|
|
1314
1314
|
slidesToShow: E,
|
|
1315
1315
|
infinite: _
|
|
1316
1316
|
}), m = {
|
|
1317
1317
|
onMouseEnter: h,
|
|
1318
|
-
onMouseOver:
|
|
1318
|
+
onMouseOver: P,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
1320
|
}, n = [], c = 0; c < H; c++) {
|
|
1321
1321
|
var O = (c + 1) * T - 1, $ = _ ? O : (0, i.clamp)(O, 0, j - 1), D = $ - (T - 1), z = _ ? D : (0, i.clamp)(D, 0, j - 1), N = (0, r.default)({
|
|
@@ -1373,8 +1373,8 @@ function $n() {
|
|
|
1373
1373
|
var x = Object.keys(v);
|
|
1374
1374
|
if (Object.getOwnPropertySymbols) {
|
|
1375
1375
|
var R = Object.getOwnPropertySymbols(v);
|
|
1376
|
-
w && (R = R.filter(function(
|
|
1377
|
-
return Object.getOwnPropertyDescriptor(v,
|
|
1376
|
+
w && (R = R.filter(function(y) {
|
|
1377
|
+
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1378
1378
|
})), x.push.apply(x, R);
|
|
1379
1379
|
}
|
|
1380
1380
|
return x;
|
|
@@ -1402,7 +1402,7 @@ function $n() {
|
|
|
1402
1402
|
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v, S(R.key), R);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function b(v, w, x) {
|
|
1406
1406
|
return w && g(v.prototype, w), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1407
1407
|
}
|
|
1408
1408
|
function S(v) {
|
|
@@ -1419,7 +1419,7 @@ function $n() {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
return String(v);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function k(v, w) {
|
|
1423
1423
|
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
1424
|
v.prototype = Object.create(w && w.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), w && p(v, w);
|
|
1425
1425
|
}
|
|
@@ -1433,13 +1433,13 @@ function $n() {
|
|
|
1433
1433
|
return function() {
|
|
1434
1434
|
var x, R = q(v);
|
|
1435
1435
|
if (w) {
|
|
1436
|
-
var
|
|
1437
|
-
x = Reflect.construct(R, arguments,
|
|
1436
|
+
var y = q(this).constructor;
|
|
1437
|
+
x = Reflect.construct(R, arguments, y);
|
|
1438
1438
|
} else x = R.apply(this, arguments);
|
|
1439
|
-
return
|
|
1439
|
+
return C(this, x);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function C(v, w) {
|
|
1443
1443
|
if (w && (e(w) == "object" || typeof w == "function")) return w;
|
|
1444
1444
|
if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1445
1445
|
return F(v);
|
|
@@ -1464,30 +1464,30 @@ function $n() {
|
|
|
1464
1464
|
}, q(v);
|
|
1465
1465
|
}
|
|
1466
1466
|
return _e.PrevArrow = /* @__PURE__ */ function(v) {
|
|
1467
|
-
|
|
1467
|
+
k(x, v);
|
|
1468
1468
|
var w = I(x);
|
|
1469
1469
|
function x() {
|
|
1470
1470
|
return d(this, x), w.apply(this, arguments);
|
|
1471
1471
|
}
|
|
1472
|
-
return
|
|
1472
|
+
return b(x, [{
|
|
1473
1473
|
key: "clickHandler",
|
|
1474
|
-
value: function(
|
|
1475
|
-
h && h.preventDefault(), this.props.clickHandler(
|
|
1474
|
+
value: function(y, h) {
|
|
1475
|
+
h && h.preventDefault(), this.props.clickHandler(y, h);
|
|
1476
1476
|
}
|
|
1477
1477
|
}, {
|
|
1478
1478
|
key: "render",
|
|
1479
1479
|
value: function() {
|
|
1480
|
-
var
|
|
1480
|
+
var y = {
|
|
1481
1481
|
"slick-arrow": !0,
|
|
1482
1482
|
"slick-prev": !0
|
|
1483
1483
|
}, h = this.clickHandler.bind(this, {
|
|
1484
1484
|
message: "previous"
|
|
1485
1485
|
});
|
|
1486
|
-
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (
|
|
1487
|
-
var
|
|
1486
|
+
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (y["slick-disabled"] = !0, h = null);
|
|
1487
|
+
var P = {
|
|
1488
1488
|
key: "0",
|
|
1489
1489
|
"data-role": "none",
|
|
1490
|
-
className: (0, r.default)(
|
|
1490
|
+
className: (0, r.default)(y),
|
|
1491
1491
|
style: {
|
|
1492
1492
|
display: "block"
|
|
1493
1493
|
},
|
|
@@ -1496,37 +1496,37 @@ function $n() {
|
|
|
1496
1496
|
currentSlide: this.props.currentSlide,
|
|
1497
1497
|
slideCount: this.props.slideCount
|
|
1498
1498
|
}, _;
|
|
1499
|
-
return this.props.prevArrow ? _ = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, l(l({},
|
|
1499
|
+
return this.props.prevArrow ? _ = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, l(l({}, P), A)) : _ = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1500
1500
|
key: "0",
|
|
1501
1501
|
type: "button"
|
|
1502
|
-
},
|
|
1502
|
+
}, P), " ", "Previous"), _;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), x;
|
|
1505
1505
|
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(v) {
|
|
1506
|
-
|
|
1506
|
+
k(x, v);
|
|
1507
1507
|
var w = I(x);
|
|
1508
1508
|
function x() {
|
|
1509
1509
|
return d(this, x), w.apply(this, arguments);
|
|
1510
1510
|
}
|
|
1511
|
-
return
|
|
1511
|
+
return b(x, [{
|
|
1512
1512
|
key: "clickHandler",
|
|
1513
|
-
value: function(
|
|
1514
|
-
h && h.preventDefault(), this.props.clickHandler(
|
|
1513
|
+
value: function(y, h) {
|
|
1514
|
+
h && h.preventDefault(), this.props.clickHandler(y, h);
|
|
1515
1515
|
}
|
|
1516
1516
|
}, {
|
|
1517
1517
|
key: "render",
|
|
1518
1518
|
value: function() {
|
|
1519
|
-
var
|
|
1519
|
+
var y = {
|
|
1520
1520
|
"slick-arrow": !0,
|
|
1521
1521
|
"slick-next": !0
|
|
1522
1522
|
}, h = this.clickHandler.bind(this, {
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
|
-
(0, i.canGoNext)(this.props) || (
|
|
1526
|
-
var
|
|
1525
|
+
(0, i.canGoNext)(this.props) || (y["slick-disabled"] = !0, h = null);
|
|
1526
|
+
var P = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
1529
|
-
className: (0, r.default)(
|
|
1529
|
+
className: (0, r.default)(y),
|
|
1530
1530
|
style: {
|
|
1531
1531
|
display: "block"
|
|
1532
1532
|
},
|
|
@@ -1535,10 +1535,10 @@ function $n() {
|
|
|
1535
1535
|
currentSlide: this.props.currentSlide,
|
|
1536
1536
|
slideCount: this.props.slideCount
|
|
1537
1537
|
}, _;
|
|
1538
|
-
return this.props.nextArrow ? _ = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, l(l({},
|
|
1538
|
+
return this.props.nextArrow ? _ = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, l(l({}, P), A)) : _ = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1539
1539
|
key: "1",
|
|
1540
1540
|
type: "button"
|
|
1541
|
-
},
|
|
1541
|
+
}, P), " ", "Next"), _;
|
|
1542
1542
|
}
|
|
1543
1543
|
}]), x;
|
|
1544
1544
|
}(t.default.PureComponent), _e;
|
|
@@ -1852,15 +1852,15 @@ function ri() {
|
|
|
1852
1852
|
return T && typeof Symbol == "function" && T.constructor === Symbol && T !== Symbol.prototype ? "symbol" : typeof T;
|
|
1853
1853
|
}, g(_);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1856
|
-
return
|
|
1855
|
+
function b() {
|
|
1856
|
+
return b = Object.assign ? Object.assign.bind() : function(_) {
|
|
1857
1857
|
for (var T = 1; T < arguments.length; T++) {
|
|
1858
1858
|
var E = arguments[T];
|
|
1859
1859
|
for (var j in E)
|
|
1860
1860
|
({}).hasOwnProperty.call(E, j) && (_[j] = E[j]);
|
|
1861
1861
|
}
|
|
1862
1862
|
return _;
|
|
1863
|
-
},
|
|
1863
|
+
}, b.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
1865
|
function S(_, T) {
|
|
1866
1866
|
if (_ == null) return {};
|
|
@@ -1882,7 +1882,7 @@ function ri() {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
return E;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function k(_, T) {
|
|
1886
1886
|
var E = Object.keys(_);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
1888
|
var j = Object.getOwnPropertySymbols(_);
|
|
@@ -1895,9 +1895,9 @@ function ri() {
|
|
|
1895
1895
|
function p(_) {
|
|
1896
1896
|
for (var T = 1; T < arguments.length; T++) {
|
|
1897
1897
|
var E = arguments[T] != null ? arguments[T] : {};
|
|
1898
|
-
T % 2 ?
|
|
1898
|
+
T % 2 ? k(Object(E), !0).forEach(function(j) {
|
|
1899
1899
|
h(_, j, E[j]);
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(E)) :
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(E)) : k(Object(E)).forEach(function(j) {
|
|
1901
1901
|
Object.defineProperty(_, j, Object.getOwnPropertyDescriptor(E, j));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
@@ -1906,14 +1906,14 @@ function ri() {
|
|
|
1906
1906
|
function I(_, T) {
|
|
1907
1907
|
if (!(_ instanceof T)) throw new TypeError("Cannot call a class as a function");
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1909
|
+
function C(_, T) {
|
|
1910
1910
|
for (var E = 0; E < T.length; E++) {
|
|
1911
1911
|
var j = T[E];
|
|
1912
|
-
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(_,
|
|
1912
|
+
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(_, P(j.key), j);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
function F(_, T, E) {
|
|
1916
|
-
return T &&
|
|
1916
|
+
return T && C(_.prototype, T), Object.defineProperty(_, "prototype", { writable: !1 }), _;
|
|
1917
1917
|
}
|
|
1918
1918
|
function U(_, T) {
|
|
1919
1919
|
if (typeof T != "function" && T !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -1927,9 +1927,9 @@ function ri() {
|
|
|
1927
1927
|
function v(_) {
|
|
1928
1928
|
var T = R();
|
|
1929
1929
|
return function() {
|
|
1930
|
-
var E, j =
|
|
1930
|
+
var E, j = y(_);
|
|
1931
1931
|
if (T) {
|
|
1932
|
-
var o =
|
|
1932
|
+
var o = y(this).constructor;
|
|
1933
1933
|
E = Reflect.construct(j, arguments, o);
|
|
1934
1934
|
} else E = j.apply(this, arguments);
|
|
1935
1935
|
return w(this, E);
|
|
@@ -1954,15 +1954,15 @@ function ri() {
|
|
|
1954
1954
|
return !!_;
|
|
1955
1955
|
})();
|
|
1956
1956
|
}
|
|
1957
|
-
function
|
|
1958
|
-
return
|
|
1957
|
+
function y(_) {
|
|
1958
|
+
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(T) {
|
|
1959
1959
|
return T.__proto__ || Object.getPrototypeOf(T);
|
|
1960
|
-
},
|
|
1960
|
+
}, y(_);
|
|
1961
1961
|
}
|
|
1962
1962
|
function h(_, T, E) {
|
|
1963
|
-
return (T =
|
|
1963
|
+
return (T = P(T)) in _ ? Object.defineProperty(_, T, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : _[T] = E, _;
|
|
1964
1964
|
}
|
|
1965
|
-
function
|
|
1965
|
+
function P(_) {
|
|
1966
1966
|
var T = A(_, "string");
|
|
1967
1967
|
return g(T) == "symbol" ? T : T + "";
|
|
1968
1968
|
}
|
|
@@ -2336,9 +2336,9 @@ function ri() {
|
|
|
2336
2336
|
}, ee = {
|
|
2337
2337
|
className: m,
|
|
2338
2338
|
style: o.props.style
|
|
2339
|
-
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : N, /* @__PURE__ */ e.default.createElement("div",
|
|
2339
|
+
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : N, /* @__PURE__ */ e.default.createElement("div", b({
|
|
2340
2340
|
ref: o.listRefHandler
|
|
2341
|
-
}, Z), /* @__PURE__ */ e.default.createElement(s.Track,
|
|
2341
|
+
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, b({
|
|
2342
2342
|
ref: o.trackRefHandler
|
|
2343
2343
|
}, c), o.props.children)), o.props.unslick ? "" : W, o.props.unslick ? "" : $);
|
|
2344
2344
|
}), o.list = null, o.track = null, o.state = p(p({}, t.default), {}, {
|
|
@@ -2412,78 +2412,78 @@ function ai() {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
function l(R) {
|
|
2414
2414
|
"@babel/helpers - typeof";
|
|
2415
|
-
return l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
2416
|
-
return typeof
|
|
2417
|
-
} : function(
|
|
2418
|
-
return
|
|
2415
|
+
return l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
2416
|
+
return typeof y;
|
|
2417
|
+
} : function(y) {
|
|
2418
|
+
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
2419
2419
|
}, l(R);
|
|
2420
2420
|
}
|
|
2421
2421
|
function u() {
|
|
2422
2422
|
return u = Object.assign ? Object.assign.bind() : function(R) {
|
|
2423
|
-
for (var
|
|
2424
|
-
var h = arguments[
|
|
2425
|
-
for (var
|
|
2426
|
-
({}).hasOwnProperty.call(h,
|
|
2423
|
+
for (var y = 1; y < arguments.length; y++) {
|
|
2424
|
+
var h = arguments[y];
|
|
2425
|
+
for (var P in h)
|
|
2426
|
+
({}).hasOwnProperty.call(h, P) && (R[P] = h[P]);
|
|
2427
2427
|
}
|
|
2428
2428
|
return R;
|
|
2429
2429
|
}, u.apply(null, arguments);
|
|
2430
2430
|
}
|
|
2431
|
-
function d(R,
|
|
2431
|
+
function d(R, y) {
|
|
2432
2432
|
var h = Object.keys(R);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
|
-
var
|
|
2435
|
-
|
|
2434
|
+
var P = Object.getOwnPropertySymbols(R);
|
|
2435
|
+
y && (P = P.filter(function(A) {
|
|
2436
2436
|
return Object.getOwnPropertyDescriptor(R, A).enumerable;
|
|
2437
|
-
})), h.push.apply(h,
|
|
2437
|
+
})), h.push.apply(h, P);
|
|
2438
2438
|
}
|
|
2439
2439
|
return h;
|
|
2440
2440
|
}
|
|
2441
2441
|
function g(R) {
|
|
2442
|
-
for (var
|
|
2443
|
-
var h = arguments[
|
|
2444
|
-
|
|
2445
|
-
v(R,
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(
|
|
2447
|
-
Object.defineProperty(R,
|
|
2442
|
+
for (var y = 1; y < arguments.length; y++) {
|
|
2443
|
+
var h = arguments[y] != null ? arguments[y] : {};
|
|
2444
|
+
y % 2 ? d(Object(h), !0).forEach(function(P) {
|
|
2445
|
+
v(R, P, h[P]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(P) {
|
|
2447
|
+
Object.defineProperty(R, P, Object.getOwnPropertyDescriptor(h, P));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
2450
|
return R;
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2453
|
-
if (!(R instanceof
|
|
2452
|
+
function b(R, y) {
|
|
2453
|
+
if (!(R instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
|
-
function S(R,
|
|
2456
|
-
for (var h = 0; h <
|
|
2457
|
-
var
|
|
2458
|
-
|
|
2455
|
+
function S(R, y) {
|
|
2456
|
+
for (var h = 0; h < y.length; h++) {
|
|
2457
|
+
var P = y[h];
|
|
2458
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(R, w(P.key), P);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function L(R,
|
|
2462
|
-
return
|
|
2461
|
+
function L(R, y, h) {
|
|
2462
|
+
return y && S(R.prototype, y), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2465
|
-
if (typeof
|
|
2466
|
-
R.prototype = Object.create(
|
|
2464
|
+
function k(R, y) {
|
|
2465
|
+
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2466
|
+
R.prototype = Object.create(y && y.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), y && p(R, y);
|
|
2467
2467
|
}
|
|
2468
|
-
function p(R,
|
|
2469
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h,
|
|
2470
|
-
return h.__proto__ =
|
|
2471
|
-
}, p(R,
|
|
2468
|
+
function p(R, y) {
|
|
2469
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h, P) {
|
|
2470
|
+
return h.__proto__ = P, h;
|
|
2471
|
+
}, p(R, y);
|
|
2472
2472
|
}
|
|
2473
2473
|
function I(R) {
|
|
2474
|
-
var
|
|
2474
|
+
var y = U();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var h,
|
|
2477
|
-
if (
|
|
2476
|
+
var h, P = q(R);
|
|
2477
|
+
if (y) {
|
|
2478
2478
|
var A = q(this).constructor;
|
|
2479
|
-
h = Reflect.construct(
|
|
2480
|
-
} else h =
|
|
2481
|
-
return
|
|
2479
|
+
h = Reflect.construct(P, arguments, A);
|
|
2480
|
+
} else h = P.apply(this, arguments);
|
|
2481
|
+
return C(this, h);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2485
|
-
if (
|
|
2486
|
-
if (
|
|
2484
|
+
function C(R, y) {
|
|
2485
|
+
if (y && (l(y) == "object" || typeof y == "function")) return y;
|
|
2486
|
+
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2487
2487
|
return F(R);
|
|
2488
2488
|
}
|
|
2489
2489
|
function F(R) {
|
|
@@ -2501,33 +2501,33 @@ function ai() {
|
|
|
2501
2501
|
})();
|
|
2502
2502
|
}
|
|
2503
2503
|
function q(R) {
|
|
2504
|
-
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
2505
|
-
return
|
|
2504
|
+
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(y) {
|
|
2505
|
+
return y.__proto__ || Object.getPrototypeOf(y);
|
|
2506
2506
|
}, q(R);
|
|
2507
2507
|
}
|
|
2508
|
-
function v(R,
|
|
2509
|
-
return (
|
|
2508
|
+
function v(R, y, h) {
|
|
2509
|
+
return (y = w(y)) in R ? Object.defineProperty(R, y, { value: h, enumerable: !0, configurable: !0, writable: !0 }) : R[y] = h, R;
|
|
2510
2510
|
}
|
|
2511
2511
|
function w(R) {
|
|
2512
|
-
var
|
|
2513
|
-
return l(
|
|
2512
|
+
var y = x(R, "string");
|
|
2513
|
+
return l(y) == "symbol" ? y : y + "";
|
|
2514
2514
|
}
|
|
2515
|
-
function x(R,
|
|
2515
|
+
function x(R, y) {
|
|
2516
2516
|
if (l(R) != "object" || !R) return R;
|
|
2517
2517
|
var h = R[Symbol.toPrimitive];
|
|
2518
2518
|
if (h !== void 0) {
|
|
2519
|
-
var
|
|
2520
|
-
if (l(
|
|
2519
|
+
var P = h.call(R, y);
|
|
2520
|
+
if (l(P) != "object") return P;
|
|
2521
2521
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2522
2522
|
}
|
|
2523
|
-
return (
|
|
2523
|
+
return (y === "string" ? String : Number)(R);
|
|
2524
2524
|
}
|
|
2525
2525
|
e.default = /* @__PURE__ */ function(R) {
|
|
2526
|
-
|
|
2527
|
-
var
|
|
2528
|
-
function h(
|
|
2526
|
+
k(h, R);
|
|
2527
|
+
var y = I(h);
|
|
2528
|
+
function h(P) {
|
|
2529
2529
|
var A;
|
|
2530
|
-
return
|
|
2530
|
+
return b(this, h), A = y.call(this, P), v(F(A), "innerSliderRefHandler", function(_) {
|
|
2531
2531
|
return A.innerSlider = _;
|
|
2532
2532
|
}), v(F(A), "slickPrev", function() {
|
|
2533
2533
|
return A.innerSlider.slickPrev();
|
|
@@ -2660,7 +2660,7 @@ function oi() {
|
|
|
2660
2660
|
return i && i.__esModule ? i : { default: i };
|
|
2661
2661
|
}
|
|
2662
2662
|
e.default = t.default;
|
|
2663
|
-
}(
|
|
2663
|
+
}(Pt)), Pt;
|
|
2664
2664
|
}
|
|
2665
2665
|
var si = oi();
|
|
2666
2666
|
const li = /* @__PURE__ */ Vt(si);
|
|
@@ -2862,16 +2862,16 @@ function ki(e) {
|
|
|
2862
2862
|
me();
|
|
2863
2863
|
return Je(e, he);
|
|
2864
2864
|
}
|
|
2865
|
-
function
|
|
2865
|
+
function Ci(e) {
|
|
2866
2866
|
return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
2868
|
function lt(e, t, r, i, a, s, f, l, u) {
|
|
2869
|
-
for (var d = 0, g = 0,
|
|
2870
|
-
switch (
|
|
2869
|
+
for (var d = 0, g = 0, b = f, S = 0, L = 0, k = 0, p = 1, I = 1, C = 1, F = 0, U = "", q = a, v = s, w = i, x = U; I; )
|
|
2870
|
+
switch (k = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (
|
|
2874
|
-
zt(x += ne(st(F), "&", "&\f"), "&\f") != -1 && (
|
|
2873
|
+
if (k != 108 && fe(x, b - 1) == 58) {
|
|
2874
|
+
zt(x += ne(st(F), "&", "&\f"), "&\f") != -1 && (C = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
2877
|
// " ' [
|
|
@@ -2885,7 +2885,7 @@ function lt(e, t, r, i, a, s, f, l, u) {
|
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
x += Si(
|
|
2888
|
+
x += Si(k);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
@@ -2896,7 +2896,7 @@ function lt(e, t, r, i, a, s, f, l, u) {
|
|
|
2896
2896
|
switch (we()) {
|
|
2897
2897
|
case 42:
|
|
2898
2898
|
case 47:
|
|
2899
|
-
it(
|
|
2899
|
+
it(Pi(Oi(me(), ot()), t, r), u);
|
|
2900
2900
|
break;
|
|
2901
2901
|
default:
|
|
2902
2902
|
x += "/";
|
|
@@ -2904,7 +2904,7 @@ function lt(e, t, r, i, a, s, f, l, u) {
|
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
l[d++] = ye(x) *
|
|
2907
|
+
l[d++] = ye(x) * C;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
@@ -2916,16 +2916,16 @@ function lt(e, t, r, i, a, s, f, l, u) {
|
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + g:
|
|
2919
|
-
|
|
2919
|
+
C == -1 && (x = ne(x, /\f/g, "")), L > 0 && ye(x) - b && it(L > 32 ? wr(x + ";", i, r, b - 1) : wr(ne(x, " ", "") + ";", i, r, b - 2), u);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
2923
|
x += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(w = br(x, t, r, d, g, a, l, U, q = [], v = [],
|
|
2926
|
+
if (it(w = br(x, t, r, d, g, a, l, U, q = [], v = [], b), s), F === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
|
-
lt(x, t, w, w, q, s,
|
|
2928
|
+
lt(x, t, w, w, q, s, b, l, v);
|
|
2929
2929
|
else
|
|
2930
2930
|
switch (S === 99 && fe(x, 3) === 110 ? 100 : S) {
|
|
2931
2931
|
// d l m s
|
|
@@ -2933,17 +2933,17 @@ function lt(e, t, r, i, a, s, f, l, u) {
|
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e, w, w, i && it(br(e, w, w, 0, 0, a, l, U, a, q = [],
|
|
2936
|
+
lt(e, w, w, i && it(br(e, w, w, 0, 0, a, l, U, a, q = [], b), v), a, v, b, l, i ? q : v);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
2939
|
lt(x, w, w, w, [""], v, 0, l, v);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
d = g = L = 0, p =
|
|
2942
|
+
d = g = L = 0, p = C = 1, U = x = "", b = f;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
|
|
2946
|
+
b = 1 + ye(x), L = k;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (F == 123)
|
|
@@ -2954,30 +2954,30 @@ function lt(e, t, r, i, a, s, f, l, u) {
|
|
|
2954
2954
|
switch (x += wt(F), F * p) {
|
|
2955
2955
|
// &
|
|
2956
2956
|
case 38:
|
|
2957
|
-
|
|
2957
|
+
C = g > 0 ? 1 : (x += "\f", -1);
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
l[d++] = (ye(x) - 1) *
|
|
2961
|
+
l[d++] = (ye(x) - 1) * C, C = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
we() === 45 && (x += st(me())), S = we(), g =
|
|
2965
|
+
we() === 45 && (x += st(me())), S = we(), g = b = ye(U = x += ki(ot())), F++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
2969
|
-
|
|
2969
|
+
k === 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, f, l, u, d, g) {
|
|
2975
|
-
for (var
|
|
2976
|
-
for (var
|
|
2977
|
-
(U = Br(p > 0 ? S[
|
|
2975
|
+
for (var b = a - 1, S = a === 0 ? s : [""], L = Xt(S), k = 0, p = 0, I = 0; k < i; ++k)
|
|
2976
|
+
for (var C = 0, F = qe(e, b + 1, b = pi(p = f[k])), U = e; C < L; ++C)
|
|
2977
|
+
(U = Br(p > 0 ? S[C] + " " + F : ne(F, /&\f/g, S[C]))) && (u[I++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? qt : l, u, d, g);
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2980
|
+
function Pi(e, t, r) {
|
|
2981
2981
|
return xt(e, t, r, Vr, wt(bi()), qe(e, 2, -2), 0);
|
|
2982
2982
|
}
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
@@ -3259,23 +3259,23 @@ var $i = function(t, r, i, a) {
|
|
|
3259
3259
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
3260
3260
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
3261
3261
|
function(p) {
|
|
3262
|
-
for (var I = p.getAttribute("data-emotion").split(" "),
|
|
3263
|
-
s[I[
|
|
3262
|
+
for (var I = p.getAttribute("data-emotion").split(" "), C = 1; C < I.length; C++)
|
|
3263
|
+
s[I[C]] = !0;
|
|
3264
3264
|
l.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
3267
|
var u, d = [Di, Mi];
|
|
3268
3268
|
{
|
|
3269
|
-
var g,
|
|
3269
|
+
var g, b = [Ei, _i(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})], S = Ri(d.concat(a,
|
|
3272
|
-
return Te(
|
|
3271
|
+
})], S = Ri(d.concat(a, b)), L = function(I) {
|
|
3272
|
+
return Te(Ci(I), S);
|
|
3273
3273
|
};
|
|
3274
|
-
u = function(I,
|
|
3275
|
-
g = F, L(I ? I + "{" +
|
|
3274
|
+
u = function(I, C, F, U) {
|
|
3275
|
+
g = F, L(I ? I + "{" + C.styles + "}" : C.styles), U && (k.inserted[C.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
var
|
|
3278
|
+
var k = {
|
|
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: u
|
|
3292
3292
|
};
|
|
3293
|
-
return
|
|
3293
|
+
return k.sheet.hydrate(l), k;
|
|
3294
3294
|
}, Hi = !0;
|
|
3295
3295
|
function zi(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
@@ -3452,8 +3452,8 @@ function Xe(e, t, r) {
|
|
|
3452
3452
|
var g = r;
|
|
3453
3453
|
if (t == null)
|
|
3454
3454
|
return g;
|
|
3455
|
-
var
|
|
3456
|
-
return
|
|
3455
|
+
var b = t[g];
|
|
3456
|
+
return b !== void 0 ? b : g;
|
|
3457
3457
|
}
|
|
3458
3458
|
function Vi(e, t, r) {
|
|
3459
3459
|
var i = "";
|
|
@@ -3505,9 +3505,9 @@ function qi(e, t, r) {
|
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
3506
|
for (var d = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
3507
|
d += "-" + g[1];
|
|
3508
|
-
var
|
|
3508
|
+
var b = Fi(a) + d;
|
|
3509
3509
|
return {
|
|
3510
|
-
name:
|
|
3510
|
+
name: b,
|
|
3511
3511
|
styles: a,
|
|
3512
3512
|
next: be
|
|
3513
3513
|
};
|
|
@@ -3527,7 +3527,7 @@ var Bi = function(t) {
|
|
|
3527
3527
|
);
|
|
3528
3528
|
tn.Provider;
|
|
3529
3529
|
var Ki = function(t) {
|
|
3530
|
-
return /* @__PURE__ */
|
|
3530
|
+
return /* @__PURE__ */ Cn(function(r, i) {
|
|
3531
3531
|
var a = Yt(tn);
|
|
3532
3532
|
return t(r, a, i);
|
|
3533
3533
|
});
|
|
@@ -3538,12 +3538,12 @@ var Ki = function(t) {
|
|
|
3538
3538
|
/* Z+1 */
|
|
3539
3539
|
), ea = Qi, ta = function(t) {
|
|
3540
3540
|
return t !== "theme";
|
|
3541
|
-
},
|
|
3541
|
+
}, Cr = 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
|
|
3545
3545
|
t.charCodeAt(0) > 96 ? ea : ta;
|
|
3546
|
-
},
|
|
3546
|
+
}, Pr = function(t, r, i) {
|
|
3547
3547
|
var a;
|
|
3548
3548
|
if (r) {
|
|
3549
3549
|
var s = r.shouldForwardProp;
|
|
@@ -3560,18 +3560,18 @@ var Ki = function(t) {
|
|
|
3560
3560
|
}, na = function e(t, r) {
|
|
3561
3561
|
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, f;
|
|
3562
3562
|
r !== void 0 && (s = r.label, f = r.target);
|
|
3563
|
-
var l =
|
|
3563
|
+
var l = Pr(t, r, i), u = l || Cr(a), d = !u("as");
|
|
3564
3564
|
return function() {
|
|
3565
|
-
var g = arguments,
|
|
3566
|
-
if (s !== void 0 &&
|
|
3567
|
-
|
|
3565
|
+
var g = arguments, b = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
|
+
if (s !== void 0 && b.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3567
|
+
b.push.apply(b, g);
|
|
3568
3568
|
else {
|
|
3569
3569
|
var S = g[0];
|
|
3570
|
-
|
|
3571
|
-
for (var L = g.length,
|
|
3572
|
-
|
|
3570
|
+
b.push(S[0]);
|
|
3571
|
+
for (var L = g.length, k = 1; k < L; k++)
|
|
3572
|
+
b.push(g[k], S[k]);
|
|
3573
3573
|
}
|
|
3574
|
-
var p = Ki(function(I,
|
|
3574
|
+
var p = Ki(function(I, C, F) {
|
|
3575
3575
|
var U = d && I.as || a, q = "", v = [], w = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
3577
|
w = {};
|
|
@@ -3579,27 +3579,27 @@ var Ki = function(t) {
|
|
|
3579
3579
|
w[x] = I[x];
|
|
3580
3580
|
w.theme = M.useContext(Ji);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof I.className == "string" ? q = zi(
|
|
3583
|
-
var R = qi(
|
|
3584
|
-
q +=
|
|
3585
|
-
var
|
|
3586
|
-
for (var
|
|
3587
|
-
d &&
|
|
3582
|
+
typeof I.className == "string" ? q = zi(C.registered, v, I.className) : I.className != null && (q = I.className + " ");
|
|
3583
|
+
var R = qi(b.concat(v), C.registered, w);
|
|
3584
|
+
q += C.key + "-" + R.name, f !== void 0 && (q += " " + f);
|
|
3585
|
+
var y = d && l === void 0 ? Cr(U) : u, h = {};
|
|
3586
|
+
for (var P in I)
|
|
3587
|
+
d && P === "as" || y(P) && (h[P] = I[P]);
|
|
3588
3588
|
return h.className = q, F && (h.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ra, {
|
|
3589
|
-
cache:
|
|
3589
|
+
cache: C,
|
|
3590
3590
|
serialized: R,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ M.createElement(U, h));
|
|
3593
3593
|
});
|
|
3594
|
-
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles =
|
|
3594
|
+
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles = b, p.__emotion_forwardProp = l, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
3596
3596
|
return "." + f;
|
|
3597
3597
|
}
|
|
3598
|
-
}), p.withComponent = function(I,
|
|
3599
|
-
var F = e(I, Ht({}, r,
|
|
3600
|
-
shouldForwardProp:
|
|
3598
|
+
}), p.withComponent = function(I, C) {
|
|
3599
|
+
var F = e(I, Ht({}, r, C, {
|
|
3600
|
+
shouldForwardProp: Pr(p, C, !0)
|
|
3601
3601
|
}));
|
|
3602
|
-
return F.apply(void 0,
|
|
3602
|
+
return F.apply(void 0, b);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
3605
|
}, ia = [
|
|
@@ -3848,7 +3848,7 @@ const aa = Ee.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const d = t.map((
|
|
3851
|
+
const d = t.map((b, S) => /* @__PURE__ */ X.jsx(
|
|
3852
3852
|
oa,
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: S === 0 ? l : void 0,
|
|
@@ -3856,20 +3856,20 @@ const aa = Ee.div`
|
|
|
3856
3856
|
paddingRight: `${i}px`,
|
|
3857
3857
|
overflow: "visible",
|
|
3858
3858
|
// marginLeft: index !== 0 ? "0px" : margin,
|
|
3859
|
-
...
|
|
3859
|
+
...b.styles
|
|
3860
3860
|
},
|
|
3861
3861
|
"data-testid": "carousel-slide-item",
|
|
3862
|
-
children:
|
|
3862
|
+
children: b.content
|
|
3863
3863
|
}
|
|
3864
3864
|
)), g = () => {
|
|
3865
3865
|
if (u.slidesToShow) {
|
|
3866
3866
|
s(u.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const
|
|
3870
|
-
let L = Math.floor(
|
|
3869
|
+
const b = (f.current?.offsetWidth || i + 1) - i, S = l.current?.offsetWidth || 1;
|
|
3870
|
+
let L = Math.floor(b / S);
|
|
3871
3871
|
L < 1 ? L = 1 : L > t.length && (L = t.length), console.debug("Slides to show > ", {
|
|
3872
|
-
container:
|
|
3872
|
+
container: b,
|
|
3873
3873
|
slide: S,
|
|
3874
3874
|
res: L
|
|
3875
3875
|
}), s(L);
|
|
@@ -3985,29 +3985,29 @@ const aa = Ee.div`
|
|
|
3985
3985
|
const a = V.useRef(!1), s = V.useRef(!1), { pointerPosition: f, isPointerDown: l } = sa(), u = V.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
3987
|
}), d = V.useCallback(
|
|
3988
|
-
(
|
|
3988
|
+
(k) => {
|
|
3989
3989
|
if (!e || !e.current || !u.current)
|
|
3990
3990
|
return;
|
|
3991
3991
|
const p = { ...u.current };
|
|
3992
|
-
return p.posY =
|
|
3992
|
+
return p.posY = k.y, p.posX = k.x, u.current.startPosX && u.current.posX && (p.distanceX = u.current.startPosX - u.current.posX), u.current.startPosY && u.current.posY && (p.distanceY = -(u.current.startPosY - u.current.posY)), p;
|
|
3993
3993
|
},
|
|
3994
3994
|
[]
|
|
3995
3995
|
), g = V.useCallback(
|
|
3996
|
-
(
|
|
3997
|
-
|
|
3998
|
-
const p = d({ x:
|
|
3996
|
+
(k) => {
|
|
3997
|
+
k.preventDefault(), k.stopPropagation(), u.current.isDragging = !0, u.current.startPosY = k.clientY, u.current.startPosX = k.clientX;
|
|
3998
|
+
const p = d({ x: k.clientX, y: k.clientY });
|
|
3999
3999
|
p && (u.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
4001
|
[d]
|
|
4002
|
-
),
|
|
4003
|
-
(
|
|
4002
|
+
), b = V.useCallback(
|
|
4003
|
+
(k) => {
|
|
4004
4004
|
u.current.isDragging = !1;
|
|
4005
4005
|
const p = d(f);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, u.current = p);
|
|
4007
4007
|
},
|
|
4008
4008
|
[d, f]
|
|
4009
4009
|
), S = V.useCallback(
|
|
4010
|
-
(
|
|
4010
|
+
(k) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
4013
4013
|
u.current.isDragging
|
|
@@ -4020,7 +4020,7 @@ const aa = Ee.div`
|
|
|
4020
4020
|
), L = V.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
|
-
await new Promise((
|
|
4023
|
+
await new Promise((k) => setTimeout(k, 300));
|
|
4024
4024
|
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
4026
|
}, [e?.current, g]);
|
|
@@ -4029,15 +4029,15 @@ const aa = Ee.div`
|
|
|
4029
4029
|
}, [L]), V.useEffect(() => {
|
|
4030
4030
|
S();
|
|
4031
4031
|
}, [f]), V.useEffect(() => {
|
|
4032
|
-
l !== s.current && (s.current = l, l ||
|
|
4032
|
+
l !== s.current && (s.current = l, l || b());
|
|
4033
4033
|
}, [l, s.current]);
|
|
4034
4034
|
}, us = () => {
|
|
4035
4035
|
const e = (l, u) => {
|
|
4036
4036
|
if (!u) return l;
|
|
4037
4037
|
const d = new URLSearchParams();
|
|
4038
|
-
for (const
|
|
4039
|
-
const S = u[
|
|
4040
|
-
Array.isArray(S) ? S.forEach((L) => d.append(
|
|
4038
|
+
for (const b in u) {
|
|
4039
|
+
const S = u[b];
|
|
4040
|
+
Array.isArray(S) ? S.forEach((L) => d.append(b, String(L))) : S != null && d.append(b, String(S));
|
|
4041
4041
|
}
|
|
4042
4042
|
const g = d.toString();
|
|
4043
4043
|
return g ? `${l}?${g}` : l;
|
|
@@ -4138,106 +4138,106 @@ function da() {
|
|
|
4138
4138
|
return S.prototype = /* @__PURE__ */ Object.create(null), S;
|
|
4139
4139
|
})();
|
|
4140
4140
|
function f(S, L) {
|
|
4141
|
-
const
|
|
4141
|
+
const k = new s(), p = S.length;
|
|
4142
4142
|
if (p < 2)
|
|
4143
|
-
return
|
|
4143
|
+
return k;
|
|
4144
4144
|
const I = L?.decode || g;
|
|
4145
|
-
let
|
|
4145
|
+
let C = 0;
|
|
4146
4146
|
do {
|
|
4147
|
-
const F = S.indexOf("=",
|
|
4147
|
+
const F = S.indexOf("=", C);
|
|
4148
4148
|
if (F === -1)
|
|
4149
4149
|
break;
|
|
4150
|
-
const U = S.indexOf(";",
|
|
4150
|
+
const U = S.indexOf(";", C), q = U === -1 ? p : U;
|
|
4151
4151
|
if (F > q) {
|
|
4152
|
-
|
|
4152
|
+
C = S.lastIndexOf(";", F - 1) + 1;
|
|
4153
4153
|
continue;
|
|
4154
4154
|
}
|
|
4155
|
-
const v = l(S,
|
|
4156
|
-
if (
|
|
4157
|
-
let R = l(S, F + 1, q),
|
|
4158
|
-
const h = I(S.slice(R,
|
|
4159
|
-
|
|
4155
|
+
const v = l(S, C, F), w = u(S, F, v), x = S.slice(v, w);
|
|
4156
|
+
if (k[x] === void 0) {
|
|
4157
|
+
let R = l(S, F + 1, q), y = u(S, q, R);
|
|
4158
|
+
const h = I(S.slice(R, y));
|
|
4159
|
+
k[x] = h;
|
|
4160
4160
|
}
|
|
4161
|
-
|
|
4162
|
-
} while (
|
|
4163
|
-
return
|
|
4161
|
+
C = q + 1;
|
|
4162
|
+
} while (C < p);
|
|
4163
|
+
return k;
|
|
4164
4164
|
}
|
|
4165
|
-
function l(S, L,
|
|
4165
|
+
function l(S, L, k) {
|
|
4166
4166
|
do {
|
|
4167
4167
|
const p = S.charCodeAt(L);
|
|
4168
4168
|
if (p !== 32 && p !== 9)
|
|
4169
4169
|
return L;
|
|
4170
|
-
} while (++L <
|
|
4171
|
-
return
|
|
4170
|
+
} while (++L < k);
|
|
4171
|
+
return k;
|
|
4172
4172
|
}
|
|
4173
|
-
function u(S, L,
|
|
4174
|
-
for (; L >
|
|
4173
|
+
function u(S, L, k) {
|
|
4174
|
+
for (; L > k; ) {
|
|
4175
4175
|
const p = S.charCodeAt(--L);
|
|
4176
4176
|
if (p !== 32 && p !== 9)
|
|
4177
4177
|
return L + 1;
|
|
4178
4178
|
}
|
|
4179
|
-
return
|
|
4179
|
+
return k;
|
|
4180
4180
|
}
|
|
4181
|
-
function d(S, L,
|
|
4182
|
-
const p =
|
|
4181
|
+
function d(S, L, k) {
|
|
4182
|
+
const p = k?.encode || encodeURIComponent;
|
|
4183
4183
|
if (!e.test(S))
|
|
4184
4184
|
throw new TypeError(`argument name is invalid: ${S}`);
|
|
4185
4185
|
const I = p(L);
|
|
4186
4186
|
if (!t.test(I))
|
|
4187
4187
|
throw new TypeError(`argument val is invalid: ${L}`);
|
|
4188
|
-
let
|
|
4189
|
-
if (!
|
|
4190
|
-
return
|
|
4191
|
-
if (
|
|
4192
|
-
if (!Number.isInteger(
|
|
4193
|
-
throw new TypeError(`option maxAge is invalid: ${
|
|
4194
|
-
|
|
4195
|
-
}
|
|
4196
|
-
if (
|
|
4197
|
-
if (!r.test(
|
|
4198
|
-
throw new TypeError(`option domain is invalid: ${
|
|
4199
|
-
|
|
4200
|
-
}
|
|
4201
|
-
if (
|
|
4202
|
-
if (!i.test(
|
|
4203
|
-
throw new TypeError(`option path is invalid: ${
|
|
4204
|
-
|
|
4205
|
-
}
|
|
4206
|
-
if (
|
|
4207
|
-
if (!
|
|
4208
|
-
throw new TypeError(`option expires is invalid: ${
|
|
4209
|
-
|
|
4210
|
-
}
|
|
4211
|
-
if (
|
|
4212
|
-
switch (typeof
|
|
4188
|
+
let C = S + "=" + I;
|
|
4189
|
+
if (!k)
|
|
4190
|
+
return C;
|
|
4191
|
+
if (k.maxAge !== void 0) {
|
|
4192
|
+
if (!Number.isInteger(k.maxAge))
|
|
4193
|
+
throw new TypeError(`option maxAge is invalid: ${k.maxAge}`);
|
|
4194
|
+
C += "; Max-Age=" + k.maxAge;
|
|
4195
|
+
}
|
|
4196
|
+
if (k.domain) {
|
|
4197
|
+
if (!r.test(k.domain))
|
|
4198
|
+
throw new TypeError(`option domain is invalid: ${k.domain}`);
|
|
4199
|
+
C += "; Domain=" + k.domain;
|
|
4200
|
+
}
|
|
4201
|
+
if (k.path) {
|
|
4202
|
+
if (!i.test(k.path))
|
|
4203
|
+
throw new TypeError(`option path is invalid: ${k.path}`);
|
|
4204
|
+
C += "; Path=" + k.path;
|
|
4205
|
+
}
|
|
4206
|
+
if (k.expires) {
|
|
4207
|
+
if (!b(k.expires) || !Number.isFinite(k.expires.valueOf()))
|
|
4208
|
+
throw new TypeError(`option expires is invalid: ${k.expires}`);
|
|
4209
|
+
C += "; Expires=" + k.expires.toUTCString();
|
|
4210
|
+
}
|
|
4211
|
+
if (k.httpOnly && (C += "; HttpOnly"), k.secure && (C += "; Secure"), k.partitioned && (C += "; Partitioned"), k.priority)
|
|
4212
|
+
switch (typeof k.priority == "string" ? k.priority.toLowerCase() : void 0) {
|
|
4213
4213
|
case "low":
|
|
4214
|
-
|
|
4214
|
+
C += "; Priority=Low";
|
|
4215
4215
|
break;
|
|
4216
4216
|
case "medium":
|
|
4217
|
-
|
|
4217
|
+
C += "; Priority=Medium";
|
|
4218
4218
|
break;
|
|
4219
4219
|
case "high":
|
|
4220
|
-
|
|
4220
|
+
C += "; Priority=High";
|
|
4221
4221
|
break;
|
|
4222
4222
|
default:
|
|
4223
|
-
throw new TypeError(`option priority is invalid: ${
|
|
4223
|
+
throw new TypeError(`option priority is invalid: ${k.priority}`);
|
|
4224
4224
|
}
|
|
4225
|
-
if (
|
|
4226
|
-
switch (typeof
|
|
4225
|
+
if (k.sameSite)
|
|
4226
|
+
switch (typeof k.sameSite == "string" ? k.sameSite.toLowerCase() : k.sameSite) {
|
|
4227
4227
|
case !0:
|
|
4228
4228
|
case "strict":
|
|
4229
|
-
|
|
4229
|
+
C += "; SameSite=Strict";
|
|
4230
4230
|
break;
|
|
4231
4231
|
case "lax":
|
|
4232
|
-
|
|
4232
|
+
C += "; SameSite=Lax";
|
|
4233
4233
|
break;
|
|
4234
4234
|
case "none":
|
|
4235
|
-
|
|
4235
|
+
C += "; SameSite=None";
|
|
4236
4236
|
break;
|
|
4237
4237
|
default:
|
|
4238
|
-
throw new TypeError(`option sameSite is invalid: ${
|
|
4238
|
+
throw new TypeError(`option sameSite is invalid: ${k.sameSite}`);
|
|
4239
4239
|
}
|
|
4240
|
-
return
|
|
4240
|
+
return C;
|
|
4241
4241
|
}
|
|
4242
4242
|
function g(S) {
|
|
4243
4243
|
if (S.indexOf("%") === -1)
|
|
@@ -4248,7 +4248,7 @@ function da() {
|
|
|
4248
4248
|
return S;
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
|
-
function
|
|
4251
|
+
function b(S) {
|
|
4252
4252
|
return a.call(S) === "[object Date]";
|
|
4253
4253
|
}
|
|
4254
4254
|
return Ye;
|
|
@@ -4346,14 +4346,14 @@ function ma(e, t, r, i = {}) {
|
|
|
4346
4346
|
function g() {
|
|
4347
4347
|
return (f.state || { idx: null }).idx;
|
|
4348
4348
|
}
|
|
4349
|
-
function
|
|
4349
|
+
function b() {
|
|
4350
4350
|
l = "POP";
|
|
4351
|
-
let I = g(),
|
|
4352
|
-
d = I, u && u({ action: l, location: p.location, delta:
|
|
4351
|
+
let I = g(), C = I == null ? null : I - d;
|
|
4352
|
+
d = I, u && u({ action: l, location: p.location, delta: C });
|
|
4353
4353
|
}
|
|
4354
|
-
function S(I,
|
|
4354
|
+
function S(I, C) {
|
|
4355
4355
|
l = "PUSH";
|
|
4356
|
-
let F = Ft(p.location, I,
|
|
4356
|
+
let F = Ft(p.location, I, C);
|
|
4357
4357
|
d = g() + 1;
|
|
4358
4358
|
let U = Tr(F, d), q = p.createHref(F);
|
|
4359
4359
|
try {
|
|
@@ -4365,14 +4365,14 @@ function ma(e, t, r, i = {}) {
|
|
|
4365
4365
|
}
|
|
4366
4366
|
s && u && u({ action: l, location: p.location, delta: 1 });
|
|
4367
4367
|
}
|
|
4368
|
-
function L(I,
|
|
4368
|
+
function L(I, C) {
|
|
4369
4369
|
l = "REPLACE";
|
|
4370
|
-
let F = Ft(p.location, I,
|
|
4370
|
+
let F = Ft(p.location, I, C);
|
|
4371
4371
|
d = g();
|
|
4372
4372
|
let U = Tr(F, d), q = p.createHref(F);
|
|
4373
4373
|
f.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4375
|
+
function k(I) {
|
|
4376
4376
|
return va(I);
|
|
4377
4377
|
}
|
|
4378
4378
|
let p = {
|
|
@@ -4385,20 +4385,20 @@ function ma(e, t, r, i = {}) {
|
|
|
4385
4385
|
listen(I) {
|
|
4386
4386
|
if (u)
|
|
4387
4387
|
throw new Error("A history only accepts one active listener");
|
|
4388
|
-
return a.addEventListener(_r,
|
|
4389
|
-
a.removeEventListener(_r,
|
|
4388
|
+
return a.addEventListener(_r, b), u = I, () => {
|
|
4389
|
+
a.removeEventListener(_r, b), u = null;
|
|
4390
4390
|
};
|
|
4391
4391
|
},
|
|
4392
4392
|
createHref(I) {
|
|
4393
4393
|
return t(a, I);
|
|
4394
4394
|
},
|
|
4395
|
-
createURL:
|
|
4395
|
+
createURL: k,
|
|
4396
4396
|
encodeLocation(I) {
|
|
4397
|
-
let
|
|
4397
|
+
let C = k(I);
|
|
4398
4398
|
return {
|
|
4399
|
-
pathname:
|
|
4400
|
-
search:
|
|
4401
|
-
hash:
|
|
4399
|
+
pathname: C.pathname,
|
|
4400
|
+
search: C.search,
|
|
4401
|
+
hash: C.hash
|
|
4402
4402
|
};
|
|
4403
4403
|
},
|
|
4404
4404
|
push: S,
|
|
@@ -4455,7 +4455,7 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4455
4455
|
`Index routes must not have child routes. Please remove all child routes from route path "${d}".`
|
|
4456
4456
|
), nn(s.children, t, g, d)), !(s.path == null && !s.index) && t.push({
|
|
4457
4457
|
path: d,
|
|
4458
|
-
score:
|
|
4458
|
+
score: Ca(d, s.index),
|
|
4459
4459
|
routesMeta: g
|
|
4460
4460
|
});
|
|
4461
4461
|
};
|
|
@@ -4484,21 +4484,21 @@ function an(e) {
|
|
|
4484
4484
|
}
|
|
4485
4485
|
function ya(e) {
|
|
4486
4486
|
e.sort(
|
|
4487
|
-
(t, r) => t.score !== r.score ? r.score - t.score :
|
|
4487
|
+
(t, r) => t.score !== r.score ? r.score - t.score : Pa(
|
|
4488
4488
|
t.routesMeta.map((i) => i.childrenIndex),
|
|
4489
4489
|
r.routesMeta.map((i) => i.childrenIndex)
|
|
4490
4490
|
)
|
|
4491
4491
|
);
|
|
4492
4492
|
}
|
|
4493
4493
|
var ba = /^:[\w-]+$/, wa = 3, Sa = 2, xa = 1, Oa = 10, ka = -2, jr = (e) => e === "*";
|
|
4494
|
-
function
|
|
4494
|
+
function Ca(e, t) {
|
|
4495
4495
|
let r = e.split("/"), i = r.length;
|
|
4496
4496
|
return r.some(jr) && (i += ka), t && (i += Sa), r.filter((a) => !jr(a)).reduce(
|
|
4497
4497
|
(a, s) => a + (ba.test(s) ? wa : s === "" ? xa : Oa),
|
|
4498
4498
|
i
|
|
4499
4499
|
);
|
|
4500
4500
|
}
|
|
4501
|
-
function
|
|
4501
|
+
function Pa(e, t) {
|
|
4502
4502
|
return e.length === t.length && e.slice(0, -1).every((i, a) => i === t[a]) ? (
|
|
4503
4503
|
// If two routes are siblings, we should try to match the earlier sibling
|
|
4504
4504
|
// first. This allows people to have fine-grained control over the matching
|
|
@@ -4514,28 +4514,28 @@ function Ca(e, t) {
|
|
|
4514
4514
|
function Ea(e, t, r = !1) {
|
|
4515
4515
|
let { routesMeta: i } = e, a = {}, s = "/", f = [];
|
|
4516
4516
|
for (let l = 0; l < i.length; ++l) {
|
|
4517
|
-
let u = i[l], d = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/",
|
|
4517
|
+
let u = i[l], d = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", b = gt(
|
|
4518
4518
|
{ path: u.relativePath, caseSensitive: u.caseSensitive, end: d },
|
|
4519
4519
|
g
|
|
4520
4520
|
), S = u.route;
|
|
4521
|
-
if (!
|
|
4521
|
+
if (!b && d && r && !i[i.length - 1].route.index && (b = gt(
|
|
4522
4522
|
{
|
|
4523
4523
|
path: u.relativePath,
|
|
4524
4524
|
caseSensitive: u.caseSensitive,
|
|
4525
4525
|
end: !1
|
|
4526
4526
|
},
|
|
4527
4527
|
g
|
|
4528
|
-
)), !
|
|
4528
|
+
)), !b)
|
|
4529
4529
|
return null;
|
|
4530
|
-
Object.assign(a,
|
|
4530
|
+
Object.assign(a, b.params), f.push({
|
|
4531
4531
|
// TODO: Can this as be avoided?
|
|
4532
4532
|
params: a,
|
|
4533
|
-
pathname: xe([s,
|
|
4533
|
+
pathname: xe([s, b.pathname]),
|
|
4534
4534
|
pathnameBase: Da(
|
|
4535
|
-
xe([s,
|
|
4535
|
+
xe([s, b.pathnameBase])
|
|
4536
4536
|
),
|
|
4537
4537
|
route: S
|
|
4538
|
-
}),
|
|
4538
|
+
}), b.pathnameBase !== "/" && (s = xe([s, b.pathnameBase]));
|
|
4539
4539
|
}
|
|
4540
4540
|
return f;
|
|
4541
4541
|
}
|
|
@@ -4550,13 +4550,13 @@ function gt(e, t) {
|
|
|
4550
4550
|
let s = a[0], f = s.replace(/(.)\/+$/, "$1"), l = a.slice(1);
|
|
4551
4551
|
return {
|
|
4552
4552
|
params: i.reduce(
|
|
4553
|
-
(d, { paramName: g, isOptional:
|
|
4553
|
+
(d, { paramName: g, isOptional: b }, S) => {
|
|
4554
4554
|
if (g === "*") {
|
|
4555
|
-
let
|
|
4556
|
-
f = s.slice(0, s.length -
|
|
4555
|
+
let k = l[S] || "";
|
|
4556
|
+
f = s.slice(0, s.length - k.length).replace(/(.)\/+$/, "$1");
|
|
4557
4557
|
}
|
|
4558
4558
|
const L = l[S];
|
|
4559
|
-
return
|
|
4559
|
+
return b && !L ? d[g] = void 0 : d[g] = (L || "").replace(/%2F/g, "/"), d;
|
|
4560
4560
|
},
|
|
4561
4561
|
{}
|
|
4562
4562
|
),
|
|
@@ -4643,14 +4643,14 @@ function sn(e, t, r, i = !1) {
|
|
|
4643
4643
|
if (f == null)
|
|
4644
4644
|
l = r;
|
|
4645
4645
|
else {
|
|
4646
|
-
let
|
|
4646
|
+
let b = t.length - 1;
|
|
4647
4647
|
if (!i && f.startsWith("..")) {
|
|
4648
4648
|
let S = f.split("/");
|
|
4649
4649
|
for (; S[0] === ".."; )
|
|
4650
|
-
S.shift(),
|
|
4650
|
+
S.shift(), b -= 1;
|
|
4651
4651
|
a.pathname = S.join("/");
|
|
4652
4652
|
}
|
|
4653
|
-
l =
|
|
4653
|
+
l = b >= 0 ? t[b] : "/";
|
|
4654
4654
|
}
|
|
4655
4655
|
let u = Ta(a, l), d = f && f !== "/" && f.endsWith("/"), g = (s || f === ".") && r.endsWith("/");
|
|
4656
4656
|
return !u.pathname.endsWith("/") && (d || g) && (u.pathname += "/"), u;
|
|
@@ -4716,7 +4716,7 @@ function Na(e, { relative: t } = {}) {
|
|
|
4716
4716
|
function Qe() {
|
|
4717
4717
|
return M.useContext(Ze) != null;
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4719
|
+
function Ce() {
|
|
4720
4720
|
return ae(
|
|
4721
4721
|
Qe(),
|
|
4722
4722
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4739,7 +4739,7 @@ function Fa() {
|
|
|
4739
4739
|
// router loaded. We can help them understand how to avoid that.
|
|
4740
4740
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
4741
4741
|
);
|
|
4742
|
-
let e = M.useContext($e), { basename: t, navigator: r } = M.useContext(Se), { matches: i } = M.useContext(ke), { pathname: a } =
|
|
4742
|
+
let e = M.useContext($e), { basename: t, navigator: r } = M.useContext(Se), { matches: i } = M.useContext(ke), { pathname: a } = Ce(), s = JSON.stringify(on(i)), f = M.useRef(!1);
|
|
4743
4743
|
return fn(() => {
|
|
4744
4744
|
f.current = !0;
|
|
4745
4745
|
}), M.useCallback(
|
|
@@ -4772,7 +4772,7 @@ function Fa() {
|
|
|
4772
4772
|
}
|
|
4773
4773
|
M.createContext(null);
|
|
4774
4774
|
function et(e, { relative: t } = {}) {
|
|
4775
|
-
let { matches: r } = M.useContext(ke), { pathname: i } =
|
|
4775
|
+
let { matches: r } = M.useContext(ke), { pathname: i } = Ce(), a = JSON.stringify(on(r));
|
|
4776
4776
|
return M.useMemo(
|
|
4777
4777
|
() => sn(
|
|
4778
4778
|
e,
|
|
@@ -4795,30 +4795,30 @@ function dn(e, t, r, i) {
|
|
|
4795
4795
|
);
|
|
4796
4796
|
let { navigator: a } = M.useContext(Se), { matches: s } = M.useContext(ke), f = s[s.length - 1], l = f ? f.params : {}, u = f ? f.pathname : "/", d = f ? f.pathnameBase : "/", g = f && f.route;
|
|
4797
4797
|
{
|
|
4798
|
-
let
|
|
4798
|
+
let C = g && g.path || "";
|
|
4799
4799
|
hn(
|
|
4800
4800
|
u,
|
|
4801
|
-
!g ||
|
|
4802
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${
|
|
4801
|
+
!g || C.endsWith("*") || C.endsWith("*?"),
|
|
4802
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${C}">) 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.
|
|
4803
4803
|
|
|
4804
|
-
Please change the parent <Route path="${
|
|
4804
|
+
Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" : `${C}/*`}">.`
|
|
4805
4805
|
);
|
|
4806
4806
|
}
|
|
4807
|
-
let
|
|
4807
|
+
let b = Ce(), S;
|
|
4808
4808
|
if (t) {
|
|
4809
|
-
let
|
|
4809
|
+
let C = typeof t == "string" ? Me(t) : t;
|
|
4810
4810
|
ae(
|
|
4811
|
-
d === "/" ||
|
|
4812
|
-
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${
|
|
4813
|
-
), S =
|
|
4811
|
+
d === "/" || C.pathname?.startsWith(d),
|
|
4812
|
+
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${C.pathname}" was given in the \`location\` prop.`
|
|
4813
|
+
), S = C;
|
|
4814
4814
|
} else
|
|
4815
|
-
S =
|
|
4816
|
-
let L = S.pathname || "/",
|
|
4815
|
+
S = b;
|
|
4816
|
+
let L = S.pathname || "/", k = L;
|
|
4817
4817
|
if (d !== "/") {
|
|
4818
|
-
let
|
|
4819
|
-
|
|
4818
|
+
let C = d.replace(/^\//, "").split("/");
|
|
4819
|
+
k = "/" + L.replace(/^\//, "").split("/").slice(C.length).join("/");
|
|
4820
4820
|
}
|
|
4821
|
-
let p = rn(e, { pathname:
|
|
4821
|
+
let p = rn(e, { pathname: k });
|
|
4822
4822
|
ge(
|
|
4823
4823
|
g || p != null,
|
|
4824
4824
|
`No routes matched location "${S.pathname}${S.search}${S.hash}" `
|
|
@@ -4828,17 +4828,17 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4828
4828
|
);
|
|
4829
4829
|
let I = Ba(
|
|
4830
4830
|
p && p.map(
|
|
4831
|
-
(
|
|
4832
|
-
params: Object.assign({}, l,
|
|
4831
|
+
(C) => Object.assign({}, C, {
|
|
4832
|
+
params: Object.assign({}, l, C.params),
|
|
4833
4833
|
pathname: xe([
|
|
4834
4834
|
d,
|
|
4835
4835
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4836
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4836
|
+
a.encodeLocation ? a.encodeLocation(C.pathname).pathname : C.pathname
|
|
4837
4837
|
]),
|
|
4838
|
-
pathnameBase:
|
|
4838
|
+
pathnameBase: C.pathnameBase === "/" ? d : xe([
|
|
4839
4839
|
d,
|
|
4840
4840
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4841
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4841
|
+
a.encodeLocation ? a.encodeLocation(C.pathnameBase).pathname : C.pathnameBase
|
|
4842
4842
|
])
|
|
4843
4843
|
})
|
|
4844
4844
|
),
|
|
@@ -4946,7 +4946,7 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4946
4946
|
for (let u = 0; u < a.length; u++) {
|
|
4947
4947
|
let d = a[u];
|
|
4948
4948
|
if ((d.route.HydrateFallback || d.route.hydrateFallbackElement) && (l = u), d.route.id) {
|
|
4949
|
-
let { loaderData: g, errors:
|
|
4949
|
+
let { loaderData: g, errors: b } = r, S = d.route.loader && !g.hasOwnProperty(d.route.id) && (!b || b[d.route.id] === void 0);
|
|
4950
4950
|
if (d.route.lazy || S) {
|
|
4951
4951
|
f = !0, l >= 0 ? a = a.slice(0, l + 1) : a = [a[0]];
|
|
4952
4952
|
break;
|
|
@@ -4954,15 +4954,15 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4954
4954
|
}
|
|
4955
4955
|
}
|
|
4956
4956
|
return a.reduceRight((u, d, g) => {
|
|
4957
|
-
let
|
|
4958
|
-
r && (
|
|
4957
|
+
let b, S = !1, L = null, k = null;
|
|
4958
|
+
r && (b = s && d.route.id ? s[d.route.id] : void 0, L = d.route.errorElement || Ya, f && (l < 0 && g === 0 ? (hn(
|
|
4959
4959
|
"route-fallback",
|
|
4960
4960
|
!1,
|
|
4961
4961
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4962
|
-
), S = !0,
|
|
4962
|
+
), S = !0, k = null) : l === g && (S = !0, k = d.route.hydrateFallbackElement || null)));
|
|
4963
4963
|
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
4964
|
-
let
|
|
4965
|
-
return
|
|
4964
|
+
let C;
|
|
4965
|
+
return b ? C = L : S ? C = k : d.route.Component ? C = /* @__PURE__ */ M.createElement(d.route.Component, null) : d.route.element ? C = d.route.element : C = u, /* @__PURE__ */ M.createElement(
|
|
4966
4966
|
qa,
|
|
4967
4967
|
{
|
|
4968
4968
|
match: d,
|
|
@@ -4971,7 +4971,7 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4971
4971
|
matches: p,
|
|
4972
4972
|
isDataRoute: r != null
|
|
4973
4973
|
},
|
|
4974
|
-
children:
|
|
4974
|
+
children: C
|
|
4975
4975
|
}
|
|
4976
4976
|
);
|
|
4977
4977
|
};
|
|
@@ -4981,7 +4981,7 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4981
4981
|
location: r.location,
|
|
4982
4982
|
revalidation: r.revalidation,
|
|
4983
4983
|
component: L,
|
|
4984
|
-
error:
|
|
4984
|
+
error: b,
|
|
4985
4985
|
children: I(),
|
|
4986
4986
|
routeContext: { outlet: null, matches: p, isDataRoute: !0 }
|
|
4987
4987
|
}
|
|
@@ -5087,21 +5087,21 @@ function to({
|
|
|
5087
5087
|
pathname: u = "/",
|
|
5088
5088
|
search: d = "",
|
|
5089
5089
|
hash: g = "",
|
|
5090
|
-
state:
|
|
5090
|
+
state: b = null,
|
|
5091
5091
|
key: S = "default"
|
|
5092
5092
|
} = r, L = M.useMemo(() => {
|
|
5093
|
-
let
|
|
5094
|
-
return
|
|
5093
|
+
let k = Oe(u, f);
|
|
5094
|
+
return k == null ? null : {
|
|
5095
5095
|
location: {
|
|
5096
|
-
pathname:
|
|
5096
|
+
pathname: k,
|
|
5097
5097
|
search: d,
|
|
5098
5098
|
hash: g,
|
|
5099
|
-
state:
|
|
5099
|
+
state: b,
|
|
5100
5100
|
key: S
|
|
5101
5101
|
},
|
|
5102
5102
|
navigationType: i
|
|
5103
5103
|
};
|
|
5104
|
-
}, [f, u, d, g,
|
|
5104
|
+
}, [f, u, d, g, b, S, i]);
|
|
5105
5105
|
return ge(
|
|
5106
5106
|
L != null,
|
|
5107
5107
|
`<Router basename="${f}"> is not able to match the URL "${u}${d}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
@@ -5234,11 +5234,11 @@ function fo(e, t) {
|
|
|
5234
5234
|
);
|
|
5235
5235
|
let u = e.getAttribute("formaction") || l.getAttribute("action");
|
|
5236
5236
|
if (i = u ? Oe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !uo()) {
|
|
5237
|
-
let { name: d, type: g, value:
|
|
5237
|
+
let { name: d, type: g, value: b } = e;
|
|
5238
5238
|
if (g === "image") {
|
|
5239
5239
|
let S = d ? `${d}.` : "";
|
|
5240
5240
|
s.append(`${S}x`, "0"), s.append(`${S}y`, "0");
|
|
5241
|
-
} else d && s.append(d,
|
|
5241
|
+
} else d && s.append(d, b);
|
|
5242
5242
|
}
|
|
5243
5243
|
} else {
|
|
5244
5244
|
if (kt(e))
|
|
@@ -5306,7 +5306,7 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5306
5306
|
if (f(u, d) || l(u, d))
|
|
5307
5307
|
return !0;
|
|
5308
5308
|
if (u.route.shouldRevalidate) {
|
|
5309
|
-
let
|
|
5309
|
+
let b = u.route.shouldRevalidate({
|
|
5310
5310
|
currentUrl: new URL(
|
|
5311
5311
|
a.pathname + a.search + a.hash,
|
|
5312
5312
|
window.origin
|
|
@@ -5316,8 +5316,8 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5316
5316
|
nextParams: u.params,
|
|
5317
5317
|
defaultShouldRevalidate: !0
|
|
5318
5318
|
});
|
|
5319
|
-
if (typeof
|
|
5320
|
-
return
|
|
5319
|
+
if (typeof b == "boolean")
|
|
5320
|
+
return b;
|
|
5321
5321
|
}
|
|
5322
5322
|
return !0;
|
|
5323
5323
|
}) : [];
|
|
@@ -5383,11 +5383,11 @@ function vn() {
|
|
|
5383
5383
|
), e;
|
|
5384
5384
|
}
|
|
5385
5385
|
function Oo(e, t) {
|
|
5386
|
-
let r = M.useContext(er), [i, a] = M.useState(!1), [s, f] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: d, onMouseLeave: g, onTouchStart:
|
|
5386
|
+
let r = M.useContext(er), [i, a] = M.useState(!1), [s, f] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: d, onMouseLeave: g, onTouchStart: b } = t, S = M.useRef(null);
|
|
5387
5387
|
M.useEffect(() => {
|
|
5388
5388
|
if (e === "render" && f(!0), e === "viewport") {
|
|
5389
|
-
let p = (
|
|
5390
|
-
|
|
5389
|
+
let p = (C) => {
|
|
5390
|
+
C.forEach((F) => {
|
|
5391
5391
|
f(F.isIntersecting);
|
|
5392
5392
|
});
|
|
5393
5393
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
@@ -5407,7 +5407,7 @@ function Oo(e, t) {
|
|
|
5407
5407
|
}, [i]);
|
|
5408
5408
|
let L = () => {
|
|
5409
5409
|
a(!0);
|
|
5410
|
-
},
|
|
5410
|
+
}, k = () => {
|
|
5411
5411
|
a(!1), f(!1);
|
|
5412
5412
|
};
|
|
5413
5413
|
return r ? e !== "intent" ? [s, S, {}] : [
|
|
@@ -5415,10 +5415,10 @@ function Oo(e, t) {
|
|
|
5415
5415
|
S,
|
|
5416
5416
|
{
|
|
5417
5417
|
onFocus: Ve(l, L),
|
|
5418
|
-
onBlur: Ve(u,
|
|
5418
|
+
onBlur: Ve(u, k),
|
|
5419
5419
|
onMouseEnter: Ve(d, L),
|
|
5420
|
-
onMouseLeave: Ve(g,
|
|
5421
|
-
onTouchStart: Ve(
|
|
5420
|
+
onMouseLeave: Ve(g, k),
|
|
5421
|
+
onTouchStart: Ve(b, L)
|
|
5422
5422
|
}
|
|
5423
5423
|
] : [!1, S, {}];
|
|
5424
5424
|
}
|
|
@@ -5435,9 +5435,9 @@ function ko({
|
|
|
5435
5435
|
() => rn(r.routes, e, r.basename),
|
|
5436
5436
|
[r.routes, e, r.basename]
|
|
5437
5437
|
);
|
|
5438
|
-
return i ? /* @__PURE__ */ M.createElement(
|
|
5438
|
+
return i ? /* @__PURE__ */ M.createElement(Po, { page: e, matches: i, ...t }) : null;
|
|
5439
5439
|
}
|
|
5440
|
-
function
|
|
5440
|
+
function Co(e) {
|
|
5441
5441
|
let { manifest: t, routeModules: r } = vn(), [i, a] = M.useState([]);
|
|
5442
5442
|
return M.useEffect(() => {
|
|
5443
5443
|
let s = !1;
|
|
@@ -5450,12 +5450,12 @@ function Po(e) {
|
|
|
5450
5450
|
};
|
|
5451
5451
|
}, [e, t, r]), i;
|
|
5452
5452
|
}
|
|
5453
|
-
function
|
|
5453
|
+
function Po({
|
|
5454
5454
|
page: e,
|
|
5455
5455
|
matches: t,
|
|
5456
5456
|
...r
|
|
5457
5457
|
}) {
|
|
5458
|
-
let i =
|
|
5458
|
+
let i = Ce(), { manifest: a, routeModules: s } = vn(), { basename: f } = mn(), { loaderData: l, matches: u } = xo(), d = M.useMemo(
|
|
5459
5459
|
() => Dr(
|
|
5460
5460
|
e,
|
|
5461
5461
|
t,
|
|
@@ -5475,19 +5475,19 @@ function Co({
|
|
|
5475
5475
|
"assets"
|
|
5476
5476
|
),
|
|
5477
5477
|
[e, t, u, a, i]
|
|
5478
|
-
),
|
|
5478
|
+
), b = M.useMemo(() => {
|
|
5479
5479
|
if (e === i.pathname + i.search + i.hash)
|
|
5480
5480
|
return [];
|
|
5481
|
-
let
|
|
5482
|
-
if (t.forEach((
|
|
5483
|
-
let F = a.routes[
|
|
5484
|
-
!F || !F.hasLoader || (!d.some((U) => U.route.id ===
|
|
5485
|
-
}),
|
|
5481
|
+
let k = /* @__PURE__ */ new Set(), p = !1;
|
|
5482
|
+
if (t.forEach((C) => {
|
|
5483
|
+
let F = a.routes[C.route.id];
|
|
5484
|
+
!F || !F.hasLoader || (!d.some((U) => U.route.id === C.route.id) && C.route.id in l && s[C.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : k.add(C.route.id));
|
|
5485
|
+
}), k.size === 0)
|
|
5486
5486
|
return [];
|
|
5487
5487
|
let I = So(e, f);
|
|
5488
|
-
return p &&
|
|
5488
|
+
return p && k.size > 0 && I.searchParams.set(
|
|
5489
5489
|
"_routes",
|
|
5490
|
-
t.filter((
|
|
5490
|
+
t.filter((C) => k.has(C.route.id)).map((C) => C.route.id).join(",")
|
|
5491
5491
|
), [I.pathname + I.search];
|
|
5492
5492
|
}, [
|
|
5493
5493
|
f,
|
|
@@ -5501,11 +5501,11 @@ function Co({
|
|
|
5501
5501
|
]), S = M.useMemo(
|
|
5502
5502
|
() => vo(g, a),
|
|
5503
5503
|
[g, a]
|
|
5504
|
-
), L =
|
|
5505
|
-
return /* @__PURE__ */ M.createElement(M.Fragment, null,
|
|
5504
|
+
), L = Co(g);
|
|
5505
|
+
return /* @__PURE__ */ M.createElement(M.Fragment, null, b.map((k) => /* @__PURE__ */ M.createElement("link", { key: k, rel: "prefetch", as: "fetch", href: k, ...r })), S.map((k) => /* @__PURE__ */ M.createElement("link", { key: k, rel: "modulepreload", href: k, ...r })), L.map(({ key: k, link: p }) => (
|
|
5506
5506
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5507
5507
|
// already with their own props
|
|
5508
|
-
/* @__PURE__ */ M.createElement("link", { key:
|
|
5508
|
+
/* @__PURE__ */ M.createElement("link", { key: k, ...p })
|
|
5509
5509
|
)));
|
|
5510
5510
|
}
|
|
5511
5511
|
function Eo(...e) {
|
|
@@ -5559,14 +5559,14 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5559
5559
|
target: u,
|
|
5560
5560
|
to: d,
|
|
5561
5561
|
preventScrollReset: g,
|
|
5562
|
-
viewTransition:
|
|
5562
|
+
viewTransition: b,
|
|
5563
5563
|
...S
|
|
5564
5564
|
}, L) {
|
|
5565
|
-
let { basename:
|
|
5565
|
+
let { basename: k } = M.useContext(Se), p = typeof d == "string" && yn.test(d), I, C = !1;
|
|
5566
5566
|
if (typeof d == "string" && p && (I = d, gn))
|
|
5567
5567
|
try {
|
|
5568
|
-
let
|
|
5569
|
-
h.origin ===
|
|
5568
|
+
let y = new URL(window.location.href), h = d.startsWith("//") ? new URL(y.protocol + d) : new URL(d), P = Oe(h.pathname, k);
|
|
5569
|
+
h.origin === y.origin && P != null ? d = P + h.search + h.hash : C = !0;
|
|
5570
5570
|
} catch {
|
|
5571
5571
|
ge(
|
|
5572
5572
|
!1,
|
|
@@ -5582,10 +5582,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5582
5582
|
target: u,
|
|
5583
5583
|
preventScrollReset: g,
|
|
5584
5584
|
relative: a,
|
|
5585
|
-
viewTransition:
|
|
5585
|
+
viewTransition: b
|
|
5586
5586
|
});
|
|
5587
|
-
function x(
|
|
5588
|
-
t && t(
|
|
5587
|
+
function x(y) {
|
|
5588
|
+
t && t(y), y.defaultPrevented || w(y);
|
|
5589
5589
|
}
|
|
5590
5590
|
let R = (
|
|
5591
5591
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
@@ -5595,7 +5595,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5595
5595
|
...S,
|
|
5596
5596
|
...v,
|
|
5597
5597
|
href: I || F,
|
|
5598
|
-
onClick:
|
|
5598
|
+
onClick: C || s ? t : x,
|
|
5599
5599
|
ref: Eo(L, q),
|
|
5600
5600
|
target: u,
|
|
5601
5601
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
@@ -5618,17 +5618,17 @@ var _o = M.forwardRef(
|
|
|
5618
5618
|
children: u,
|
|
5619
5619
|
...d
|
|
5620
5620
|
}, g) {
|
|
5621
|
-
let
|
|
5621
|
+
let b = et(f, { relative: d.relative }), S = Ce(), L = M.useContext(Ot), { navigator: k, basename: p } = M.useContext(Se), I = L != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5622
5622
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5623
|
-
Ho(
|
|
5624
|
-
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null,
|
|
5625
|
-
const q =
|
|
5626
|
-
let v = F ===
|
|
5623
|
+
Ho(b) && l === !0, C = k.encodeLocation ? k.encodeLocation(b).pathname : b.pathname, F = S.pathname, U = L && L.navigation && L.navigation.location ? L.navigation.location.pathname : null;
|
|
5624
|
+
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, C = C.toLowerCase()), U && p && (U = Oe(U, p) || U);
|
|
5625
|
+
const q = C !== "/" && C.endsWith("/") ? C.length - 1 : C.length;
|
|
5626
|
+
let v = F === C || !a && F.startsWith(C) && F.charAt(q) === "/", w = U != null && (U === C || !a && U.startsWith(C) && U.charAt(C.length) === "/"), x = {
|
|
5627
5627
|
isActive: v,
|
|
5628
5628
|
isPending: w,
|
|
5629
5629
|
isTransitioning: I
|
|
5630
|
-
}, R = v ? t : void 0,
|
|
5631
|
-
typeof i == "function" ?
|
|
5630
|
+
}, R = v ? t : void 0, y;
|
|
5631
|
+
typeof i == "function" ? y = i(x) : y = [
|
|
5632
5632
|
i,
|
|
5633
5633
|
v ? "active" : null,
|
|
5634
5634
|
w ? "pending" : null,
|
|
@@ -5640,7 +5640,7 @@ var _o = M.forwardRef(
|
|
|
5640
5640
|
{
|
|
5641
5641
|
...d,
|
|
5642
5642
|
"aria-current": R,
|
|
5643
|
-
className:
|
|
5643
|
+
className: y,
|
|
5644
5644
|
ref: g,
|
|
5645
5645
|
style: h,
|
|
5646
5646
|
to: f,
|
|
@@ -5664,14 +5664,14 @@ var To = M.forwardRef(
|
|
|
5664
5664
|
onSubmit: u,
|
|
5665
5665
|
relative: d,
|
|
5666
5666
|
preventScrollReset: g,
|
|
5667
|
-
viewTransition:
|
|
5667
|
+
viewTransition: b,
|
|
5668
5668
|
...S
|
|
5669
5669
|
}, L) => {
|
|
5670
|
-
let
|
|
5670
|
+
let k = Io(), p = Ao(l, { relative: d }), I = f.toLowerCase() === "get" ? "get" : "post", C = typeof l == "string" && yn.test(l), F = (U) => {
|
|
5671
5671
|
if (u && u(U), U.defaultPrevented) return;
|
|
5672
5672
|
U.preventDefault();
|
|
5673
5673
|
let q = U.nativeEvent.submitter, v = q?.getAttribute("formmethod") || f;
|
|
5674
|
-
|
|
5674
|
+
k(q || U.currentTarget, {
|
|
5675
5675
|
fetcherKey: t,
|
|
5676
5676
|
method: v,
|
|
5677
5677
|
navigate: r,
|
|
@@ -5679,7 +5679,7 @@ var To = M.forwardRef(
|
|
|
5679
5679
|
state: s,
|
|
5680
5680
|
relative: d,
|
|
5681
5681
|
preventScrollReset: g,
|
|
5682
|
-
viewTransition:
|
|
5682
|
+
viewTransition: b
|
|
5683
5683
|
});
|
|
5684
5684
|
};
|
|
5685
5685
|
return /* @__PURE__ */ M.createElement(
|
|
@@ -5690,7 +5690,7 @@ var To = M.forwardRef(
|
|
|
5690
5690
|
action: p,
|
|
5691
5691
|
onSubmit: i ? u : F,
|
|
5692
5692
|
...S,
|
|
5693
|
-
"data-discover": !
|
|
5693
|
+
"data-discover": !C && e === "render" ? "true" : void 0
|
|
5694
5694
|
}
|
|
5695
5695
|
);
|
|
5696
5696
|
}
|
|
@@ -5711,14 +5711,14 @@ function Lo(e, {
|
|
|
5711
5711
|
relative: s,
|
|
5712
5712
|
viewTransition: f
|
|
5713
5713
|
} = {}) {
|
|
5714
|
-
let l = Kt(), u =
|
|
5714
|
+
let l = Kt(), u = Ce(), d = et(e, { relative: s });
|
|
5715
5715
|
return M.useCallback(
|
|
5716
5716
|
(g) => {
|
|
5717
5717
|
if (so(g, t)) {
|
|
5718
5718
|
g.preventDefault();
|
|
5719
|
-
let
|
|
5719
|
+
let b = r !== void 0 ? r : Ge(u) === Ge(d);
|
|
5720
5720
|
l(e, {
|
|
5721
|
-
replace:
|
|
5721
|
+
replace: b,
|
|
5722
5722
|
state: i,
|
|
5723
5723
|
preventScrollReset: a,
|
|
5724
5724
|
relative: s,
|
|
@@ -5745,7 +5745,7 @@ function Do(e) {
|
|
|
5745
5745
|
typeof URLSearchParams < "u",
|
|
5746
5746
|
"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."
|
|
5747
5747
|
);
|
|
5748
|
-
let t = M.useRef(Ut(e)), r = M.useRef(!1), i =
|
|
5748
|
+
let t = M.useRef(Ut(e)), r = M.useRef(!1), i = Ce(), a = M.useMemo(
|
|
5749
5749
|
() => (
|
|
5750
5750
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
5751
5751
|
// Once we call that we want those to take precedence, otherwise you can't
|
|
@@ -5809,12 +5809,12 @@ function Io() {
|
|
|
5809
5809
|
function Ao(e, { relative: t } = {}) {
|
|
5810
5810
|
let { basename: r } = M.useContext(Se), i = M.useContext(ke);
|
|
5811
5811
|
ae(i, "useFormAction must be used inside a RouteContext");
|
|
5812
|
-
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, f =
|
|
5812
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, f = Ce();
|
|
5813
5813
|
if (e == null) {
|
|
5814
5814
|
s.search = f.search;
|
|
5815
5815
|
let l = new URLSearchParams(s.search), u = l.getAll("index");
|
|
5816
5816
|
if (u.some((g) => g === "")) {
|
|
5817
|
-
l.delete("index"), u.filter((
|
|
5817
|
+
l.delete("index"), u.filter((b) => b).forEach((b) => l.append("index", b));
|
|
5818
5818
|
let g = l.toString();
|
|
5819
5819
|
s.search = g ? `?${g}` : "";
|
|
5820
5820
|
}
|
|
@@ -5852,52 +5852,52 @@ const Sn = V.createContext({
|
|
|
5852
5852
|
[e]
|
|
5853
5853
|
), i = ve(
|
|
5854
5854
|
(g) => {
|
|
5855
|
-
const
|
|
5855
|
+
const b = {};
|
|
5856
5856
|
return g.forEach((S) => {
|
|
5857
|
-
|
|
5858
|
-
}),
|
|
5857
|
+
b[S] = e.get(S);
|
|
5858
|
+
}), b;
|
|
5859
5859
|
},
|
|
5860
5860
|
[e]
|
|
5861
5861
|
), a = ve(
|
|
5862
5862
|
(g) => {
|
|
5863
|
-
const
|
|
5864
|
-
return
|
|
5863
|
+
const b = e.get(g);
|
|
5864
|
+
return b == null || b == null, b;
|
|
5865
5865
|
},
|
|
5866
5866
|
[e]
|
|
5867
5867
|
), s = ve(
|
|
5868
5868
|
(g) => {
|
|
5869
|
-
const
|
|
5870
|
-
|
|
5869
|
+
const b = new URLSearchParams(e);
|
|
5870
|
+
b.delete(g), t(b);
|
|
5871
5871
|
},
|
|
5872
5872
|
[e, t]
|
|
5873
5873
|
), f = ve(
|
|
5874
5874
|
(g) => {
|
|
5875
|
-
const
|
|
5875
|
+
const b = new URLSearchParams(e);
|
|
5876
5876
|
g.forEach((S) => {
|
|
5877
|
-
|
|
5878
|
-
}), t(
|
|
5877
|
+
b.delete(String(S));
|
|
5878
|
+
}), t(b);
|
|
5879
5879
|
},
|
|
5880
5880
|
[e, t]
|
|
5881
5881
|
), l = ve(() => {
|
|
5882
5882
|
t({});
|
|
5883
5883
|
}, [e, t]), u = ve(
|
|
5884
|
-
(g,
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
return;
|
|
5888
|
-
}
|
|
5889
|
-
const S = new URLSearchParams(e);
|
|
5890
|
-
S.set(g, String(y)), t(S);
|
|
5884
|
+
(g, b) => {
|
|
5885
|
+
t((S) => {
|
|
5886
|
+
const L = new URLSearchParams(S);
|
|
5887
|
+
return b == null ? L.delete(g) : L.set(g, String(b)), L;
|
|
5888
|
+
});
|
|
5891
5889
|
},
|
|
5892
|
-
[
|
|
5890
|
+
[t]
|
|
5893
5891
|
), d = ve(
|
|
5894
5892
|
(g) => {
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5893
|
+
t((b) => {
|
|
5894
|
+
const S = new URLSearchParams(b);
|
|
5895
|
+
return Object.entries(g).forEach(([L, k]) => {
|
|
5896
|
+
k == null ? S.delete(L) : S.set(L, String(k));
|
|
5897
|
+
}), S;
|
|
5898
|
+
});
|
|
5899
5899
|
},
|
|
5900
|
-
[
|
|
5900
|
+
[t]
|
|
5901
5901
|
);
|
|
5902
5902
|
return {
|
|
5903
5903
|
getAll: () => r,
|
|
@@ -5910,7 +5910,7 @@ const Sn = V.createContext({
|
|
|
5910
5910
|
removeAll: l
|
|
5911
5911
|
};
|
|
5912
5912
|
}, hs = () => {
|
|
5913
|
-
const e = Kt(), t =
|
|
5913
|
+
const e = Kt(), t = Ce(), r = zo(), i = Yt(Sn), a = (l) => {
|
|
5914
5914
|
const u = new URL(l.path, "http://dummy-base");
|
|
5915
5915
|
return l.params && Object.entries(l.params).forEach(([d, g]) => {
|
|
5916
5916
|
g != null && u.searchParams.set(d, String(g));
|
|
@@ -5940,20 +5940,20 @@ const Sn = V.createContext({
|
|
|
5940
5940
|
routes: t,
|
|
5941
5941
|
children: r
|
|
5942
5942
|
}) => {
|
|
5943
|
-
const i = V.useRef([]), [a, s] = V.useState([]), f = V.useCallback((
|
|
5944
|
-
i.current =
|
|
5945
|
-
}, []), l = (
|
|
5943
|
+
const i = V.useRef([]), [a, s] = V.useState([]), f = V.useCallback((b) => {
|
|
5944
|
+
i.current = b, s(b);
|
|
5945
|
+
}, []), l = (b, S = !1) => {
|
|
5946
5946
|
let L = [...i.current];
|
|
5947
|
-
S && (L = L.slice(0, L.length - 1)), L = [...L,
|
|
5948
|
-
}, u = (
|
|
5947
|
+
S && (L = L.slice(0, L.length - 1)), L = [...L, b], f(L);
|
|
5948
|
+
}, u = (b) => {
|
|
5949
5949
|
let S = "", L = [];
|
|
5950
|
-
return i.current.length === 0 ? "/" : (i.current.length <=
|
|
5950
|
+
return i.current.length === 0 ? "/" : (i.current.length <= b ? (S = i.current[0], L = [S]) : (L = i.current.slice(
|
|
5951
5951
|
0,
|
|
5952
|
-
i.current.length -
|
|
5952
|
+
i.current.length - b
|
|
5953
5953
|
), S = L[L.length - 1]), f(L), S);
|
|
5954
|
-
}, d = (
|
|
5955
|
-
f(
|
|
5956
|
-
}, g = t.map((
|
|
5954
|
+
}, d = (b) => {
|
|
5955
|
+
f(b);
|
|
5956
|
+
}, g = t.map((b) => /* @__PURE__ */ X.jsx(pn, { path: b.path, element: b.render }));
|
|
5957
5957
|
return /* @__PURE__ */ X.jsx(
|
|
5958
5958
|
Sn.Provider,
|
|
5959
5959
|
{
|
|
@@ -6006,7 +6006,7 @@ const Sn = V.createContext({
|
|
|
6006
6006
|
children: e
|
|
6007
6007
|
}
|
|
6008
6008
|
);
|
|
6009
|
-
},
|
|
6009
|
+
}, Ct = () => {
|
|
6010
6010
|
const e = Yt(xn), t = (a) => e.visibleItems.some((s) => s === a), r = (a) => {
|
|
6011
6011
|
e.showItem(a);
|
|
6012
6012
|
}, i = (a) => {
|
|
@@ -6023,22 +6023,22 @@ const Sn = V.createContext({
|
|
|
6023
6023
|
onCloseDrawer: t,
|
|
6024
6024
|
drawerCloseOffset: r = 15
|
|
6025
6025
|
}) => {
|
|
6026
|
-
const { isItemVisible: i } =
|
|
6026
|
+
const { isItemVisible: i } = Ct(), [a, s] = V.useState({
|
|
6027
6027
|
isDragging: !1
|
|
6028
|
-
}), f = V.useRef(null), l = V.useRef(null), u = V.useRef(null), [d, g] = V.useState(0),
|
|
6029
|
-
s(
|
|
6030
|
-
}, S = (
|
|
6031
|
-
s(
|
|
6028
|
+
}), f = V.useRef(null), l = V.useRef(null), u = V.useRef(null), [d, g] = V.useState(0), b = (k) => {
|
|
6029
|
+
s(k);
|
|
6030
|
+
}, S = (k) => {
|
|
6031
|
+
s(k), g(0);
|
|
6032
6032
|
};
|
|
6033
6033
|
return la({
|
|
6034
6034
|
ref: u,
|
|
6035
|
-
onDrag: (
|
|
6036
|
-
s(
|
|
6035
|
+
onDrag: (k) => {
|
|
6036
|
+
s(k);
|
|
6037
6037
|
const p = l.current?.clientHeight || 0;
|
|
6038
|
-
|
|
6038
|
+
k.distanceY && (g(k.distanceY < 0 ? 0 : -k.distanceY), k.distanceY >= p - r && (t?.(), S(k)));
|
|
6039
6039
|
},
|
|
6040
6040
|
onDragEnd: S,
|
|
6041
|
-
onDragStart:
|
|
6041
|
+
onDragStart: b
|
|
6042
6042
|
}), {
|
|
6043
6043
|
isVisible: i(e),
|
|
6044
6044
|
drawerParentRef: f,
|
|
@@ -6130,15 +6130,15 @@ const Sn = V.createContext({
|
|
|
6130
6130
|
const i = V.useRef(null), a = V.useRef(!1), s = (d) => {
|
|
6131
6131
|
const g = Array.from(d.currentTarget.elements).filter(
|
|
6132
6132
|
(S) => !!S.getAttribute("name")
|
|
6133
|
-
),
|
|
6133
|
+
), b = [];
|
|
6134
6134
|
for (const S of g) {
|
|
6135
6135
|
const L = S.name;
|
|
6136
|
-
|
|
6136
|
+
b.push({
|
|
6137
6137
|
name: L,
|
|
6138
6138
|
value: S.value
|
|
6139
6139
|
});
|
|
6140
6140
|
}
|
|
6141
|
-
return
|
|
6141
|
+
return b;
|
|
6142
6142
|
}, f = async (d) => {
|
|
6143
6143
|
try {
|
|
6144
6144
|
const S = (r || []).find(
|
|
@@ -6146,25 +6146,25 @@ const Sn = V.createContext({
|
|
|
6146
6146
|
);
|
|
6147
6147
|
if (!S)
|
|
6148
6148
|
return d;
|
|
6149
|
-
var g = d.value,
|
|
6149
|
+
var g = d.value, b = d.value;
|
|
6150
6150
|
if (S.emptyValidation && S.emptyValidation.allow === !1 && !g)
|
|
6151
6151
|
return d.error = S.emptyValidation.errorMessage, d;
|
|
6152
6152
|
if (S.minLengthValidation && g.length < S.minLengthValidation.value)
|
|
6153
6153
|
return d.error = S.minLengthValidation.errorMessage, d;
|
|
6154
6154
|
if (S.maxLengthValidation && g.length > S.maxLengthValidation.value)
|
|
6155
6155
|
return d.error = S.maxLengthValidation.errorMessage, d;
|
|
6156
|
-
if (!isNaN(
|
|
6157
|
-
if (S.minValueValidation &&
|
|
6156
|
+
if (!isNaN(b)) {
|
|
6157
|
+
if (S.minValueValidation && b < S.minValueValidation.value)
|
|
6158
6158
|
return d.error = S.minValueValidation.errorMessage, d;
|
|
6159
|
-
if (S.maxValueValidation &&
|
|
6159
|
+
if (S.maxValueValidation && b > S.maxValueValidation.value)
|
|
6160
6160
|
return d.error = S.maxValueValidation.errorMessage, d;
|
|
6161
6161
|
}
|
|
6162
6162
|
if (S.exactValueValidation && S.exactValueValidation.value !== d.value)
|
|
6163
6163
|
return d.error = S.exactValueValidation.errorMessage, d;
|
|
6164
6164
|
for (let L = 0; L < (S.validations || []).length; L++) {
|
|
6165
|
-
const
|
|
6166
|
-
if (
|
|
6167
|
-
return d.error =
|
|
6165
|
+
const k = await S.validations?.[L](d.value);
|
|
6166
|
+
if (k)
|
|
6167
|
+
return d.error = k, d;
|
|
6168
6168
|
}
|
|
6169
6169
|
} catch (S) {
|
|
6170
6170
|
console.error(`Form > Failed To Validate Field ${d.name}: `, S);
|
|
@@ -6178,7 +6178,7 @@ const Sn = V.createContext({
|
|
|
6178
6178
|
a.current = !0, e?.(), d.preventDefault(), d.stopPropagation();
|
|
6179
6179
|
let g = s(d);
|
|
6180
6180
|
g = await Promise.all(
|
|
6181
|
-
g.map(async (
|
|
6181
|
+
g.map(async (b) => await f(b))
|
|
6182
6182
|
), a.current = !1, t?.(g);
|
|
6183
6183
|
} catch (g) {
|
|
6184
6184
|
a.current = !1, console.error("Form > OnSubmit > Error submitting: ", g);
|
|
@@ -6307,13 +6307,13 @@ const Sn = V.createContext({
|
|
|
6307
6307
|
bottomMessage: u,
|
|
6308
6308
|
placeHolder: d,
|
|
6309
6309
|
autoComplete: g = "off",
|
|
6310
|
-
value:
|
|
6310
|
+
value: b,
|
|
6311
6311
|
initialValue: S,
|
|
6312
6312
|
type: L = "text",
|
|
6313
|
-
maxLength:
|
|
6313
|
+
maxLength: k,
|
|
6314
6314
|
inputStyles: p,
|
|
6315
6315
|
containerStyles: I,
|
|
6316
|
-
styles:
|
|
6316
|
+
styles: C,
|
|
6317
6317
|
step: F,
|
|
6318
6318
|
pattern: U,
|
|
6319
6319
|
onInput: q
|
|
@@ -6325,7 +6325,7 @@ const Sn = V.createContext({
|
|
|
6325
6325
|
width: "100%",
|
|
6326
6326
|
maxWidth: "357px",
|
|
6327
6327
|
gap: "8px",
|
|
6328
|
-
...
|
|
6328
|
+
...C
|
|
6329
6329
|
},
|
|
6330
6330
|
children: [
|
|
6331
6331
|
s,
|
|
@@ -6361,9 +6361,9 @@ const Sn = V.createContext({
|
|
|
6361
6361
|
type: L,
|
|
6362
6362
|
autoComplete: g,
|
|
6363
6363
|
step: F,
|
|
6364
|
-
maxLength:
|
|
6364
|
+
maxLength: k,
|
|
6365
6365
|
placeholder: d,
|
|
6366
|
-
value:
|
|
6366
|
+
value: b,
|
|
6367
6367
|
defaultValue: S,
|
|
6368
6368
|
onChange: t,
|
|
6369
6369
|
onFocus: i,
|
|
@@ -6394,7 +6394,7 @@ const Sn = V.createContext({
|
|
|
6394
6394
|
}
|
|
6395
6395
|
);
|
|
6396
6396
|
}, bs = ({ id: e, styles: t, children: r }) => {
|
|
6397
|
-
const { isItemVisible: i } =
|
|
6397
|
+
const { isItemVisible: i } = Ct();
|
|
6398
6398
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: i(e) && /* @__PURE__ */ X.jsx(
|
|
6399
6399
|
"div",
|
|
6400
6400
|
{
|
|
@@ -6421,7 +6421,7 @@ const Sn = V.createContext({
|
|
|
6421
6421
|
contentStyles: i,
|
|
6422
6422
|
onClickOutsideModal: a
|
|
6423
6423
|
}) => {
|
|
6424
|
-
const { isItemVisible: s } =
|
|
6424
|
+
const { isItemVisible: s } = Ct();
|
|
6425
6425
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
6426
6426
|
"div",
|
|
6427
6427
|
{
|
|
@@ -6473,7 +6473,7 @@ const Sn = V.createContext({
|
|
|
6473
6473
|
}
|
|
6474
6474
|
) });
|
|
6475
6475
|
}, qo = (e) => {
|
|
6476
|
-
const t =
|
|
6476
|
+
const t = Pn(""), r = ve(
|
|
6477
6477
|
(l) => (e.allowNegatives ? (l = l.replace(/-/g, (u, d) => d === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l),
|
|
6478
6478
|
[e]
|
|
6479
6479
|
), i = ve(
|
|
@@ -6482,9 +6482,9 @@ const Sn = V.createContext({
|
|
|
6482
6482
|
l.startsWith(".") && (l = "0" + l), l.length === 2 && l[0] === "-" && l[1] === "." && (l = "-");
|
|
6483
6483
|
const u = l.indexOf(".");
|
|
6484
6484
|
u !== -1 && (l = l.slice(0, u + 1) + l.slice(u + 1).replace(/\./g, ""));
|
|
6485
|
-
const [d, ...g] = l.split("."), [
|
|
6486
|
-
let L = g.join(""),
|
|
6487
|
-
e.decimalScale !== void 0 && (L.length > e.decimalScale ? L =
|
|
6485
|
+
const [d, ...g] = l.split("."), [b, ...S] = t.current.split(".");
|
|
6486
|
+
let L = g.join(""), k = S.join("");
|
|
6487
|
+
e.decimalScale !== void 0 && (L.length > e.decimalScale ? L = k : L = L.slice(0, e.decimalScale)), l = L || l.endsWith(".") ? `${d}.${L}` : d;
|
|
6488
6488
|
} else
|
|
6489
6489
|
l = l.replace(/\./g, "");
|
|
6490
6490
|
return l;
|
|
@@ -6500,10 +6500,10 @@ const Sn = V.createContext({
|
|
|
6500
6500
|
), s = ve(
|
|
6501
6501
|
(l) => {
|
|
6502
6502
|
const u = l.target, d = u.selectionStart ?? 0, g = u.selectionEnd ?? 0;
|
|
6503
|
-
let
|
|
6504
|
-
|
|
6505
|
-
const S =
|
|
6506
|
-
u.value =
|
|
6503
|
+
let b = u.value;
|
|
6504
|
+
b = b.replace(/[^0-9\.\-]/g, ""), b = r(b), b = i(b), b = a(b);
|
|
6505
|
+
const S = b.length - u.value.length;
|
|
6506
|
+
u.value = b, u.setSelectionRange(d + S, g + S), t.current = b;
|
|
6507
6507
|
},
|
|
6508
6508
|
[r, i, a]
|
|
6509
6509
|
);
|
|
@@ -6716,7 +6716,7 @@ class ks {
|
|
|
6716
6716
|
document.body.style.overflow = "unset";
|
|
6717
6717
|
};
|
|
6718
6718
|
}
|
|
6719
|
-
class
|
|
6719
|
+
class Cs {
|
|
6720
6720
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6721
6721
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6722
6722
|
});
|
|
@@ -6731,7 +6731,7 @@ function Jo() {
|
|
|
6731
6731
|
(function(r, i) {
|
|
6732
6732
|
e.exports = i();
|
|
6733
6733
|
})(Ko, function() {
|
|
6734
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", l = "minute", u = "hour", d = "day", g = "week",
|
|
6734
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", l = "minute", u = "hour", d = "day", g = "week", b = "month", S = "quarter", L = "year", k = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
|
|
6735
6735
|
var E = ["th", "st", "nd", "rd"], j = T % 100;
|
|
6736
6736
|
return "[" + T + (E[(j - 20) % 10] || E[j] || E[0]) + "]";
|
|
6737
6737
|
} }, U = function(T, E, j) {
|
|
@@ -6742,19 +6742,19 @@ function Jo() {
|
|
|
6742
6742
|
return (E <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
6743
6743
|
}, m: function T(E, j) {
|
|
6744
6744
|
if (E.date() < j.date()) return -T(j, E);
|
|
6745
|
-
var o = 12 * (j.year() - E.year()) + (j.month() - E.month()), H = E.clone().add(o,
|
|
6745
|
+
var o = 12 * (j.year() - E.year()) + (j.month() - E.month()), H = E.clone().add(o, b), m = j - H < 0, n = E.clone().add(o + (m ? -1 : 1), b);
|
|
6746
6746
|
return +(-(o + (j - H) / (m ? H - n : n - H)) || 0);
|
|
6747
6747
|
}, a: function(T) {
|
|
6748
6748
|
return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
|
|
6749
6749
|
}, p: function(T) {
|
|
6750
|
-
return { M:
|
|
6750
|
+
return { M: b, y: L, w: g, d, D: k, h: u, m: l, s: f, ms: s, Q: S }[T] || String(T || "").toLowerCase().replace(/s$/, "");
|
|
6751
6751
|
}, u: function(T) {
|
|
6752
6752
|
return T === void 0;
|
|
6753
6753
|
} }, v = "en", w = {};
|
|
6754
6754
|
w[v] = F;
|
|
6755
6755
|
var x = "$isDayjsObject", R = function(T) {
|
|
6756
6756
|
return T instanceof A || !(!T || !T[x]);
|
|
6757
|
-
},
|
|
6757
|
+
}, y = function T(E, j, o) {
|
|
6758
6758
|
var H;
|
|
6759
6759
|
if (!E) return v;
|
|
6760
6760
|
if (typeof E == "string") {
|
|
@@ -6771,20 +6771,20 @@ function Jo() {
|
|
|
6771
6771
|
if (R(T)) return T.clone();
|
|
6772
6772
|
var j = typeof E == "object" ? E : {};
|
|
6773
6773
|
return j.date = T, j.args = arguments, new A(j);
|
|
6774
|
-
},
|
|
6775
|
-
|
|
6774
|
+
}, P = q;
|
|
6775
|
+
P.l = y, P.i = R, P.w = function(T, E) {
|
|
6776
6776
|
return h(T, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
6777
6777
|
};
|
|
6778
6778
|
var A = function() {
|
|
6779
6779
|
function T(j) {
|
|
6780
|
-
this.$L =
|
|
6780
|
+
this.$L = y(j.locale, null, !0), this.parse(j), this.$x = this.$x || j.x || {}, this[x] = !0;
|
|
6781
6781
|
}
|
|
6782
6782
|
var E = T.prototype;
|
|
6783
6783
|
return E.parse = function(j) {
|
|
6784
6784
|
this.$d = function(o) {
|
|
6785
6785
|
var H = o.date, m = o.utc;
|
|
6786
6786
|
if (H === null) return /* @__PURE__ */ new Date(NaN);
|
|
6787
|
-
if (
|
|
6787
|
+
if (P.u(H)) return /* @__PURE__ */ new Date();
|
|
6788
6788
|
if (H instanceof Date) return new Date(H);
|
|
6789
6789
|
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
6790
6790
|
var n = H.match(I);
|
|
@@ -6799,7 +6799,7 @@ function Jo() {
|
|
|
6799
6799
|
var j = this.$d;
|
|
6800
6800
|
this.$y = j.getFullYear(), this.$M = j.getMonth(), this.$D = j.getDate(), this.$W = j.getDay(), this.$H = j.getHours(), this.$m = j.getMinutes(), this.$s = j.getSeconds(), this.$ms = j.getMilliseconds();
|
|
6801
6801
|
}, E.$utils = function() {
|
|
6802
|
-
return
|
|
6802
|
+
return P;
|
|
6803
6803
|
}, E.isValid = function() {
|
|
6804
6804
|
return this.$d.toString() !== p;
|
|
6805
6805
|
}, E.isSame = function(j, o) {
|
|
@@ -6810,28 +6810,28 @@ function Jo() {
|
|
|
6810
6810
|
}, E.isBefore = function(j, o) {
|
|
6811
6811
|
return this.endOf(o) < h(j);
|
|
6812
6812
|
}, E.$g = function(j, o, H) {
|
|
6813
|
-
return
|
|
6813
|
+
return P.u(j) ? this[o] : this.set(H, j);
|
|
6814
6814
|
}, E.unix = function() {
|
|
6815
6815
|
return Math.floor(this.valueOf() / 1e3);
|
|
6816
6816
|
}, E.valueOf = function() {
|
|
6817
6817
|
return this.$d.getTime();
|
|
6818
6818
|
}, E.startOf = function(j, o) {
|
|
6819
|
-
var H = this, m = !!
|
|
6820
|
-
var J =
|
|
6819
|
+
var H = this, m = !!P.u(o) || o, n = P.p(j), c = function(K, G) {
|
|
6820
|
+
var J = P.w(H.$u ? Date.UTC(H.$y, G, K) : new Date(H.$y, G, K), H);
|
|
6821
6821
|
return m ? J : J.endOf(d);
|
|
6822
6822
|
}, O = function(K, G) {
|
|
6823
|
-
return
|
|
6823
|
+
return P.w(H.toDate()[K].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), H);
|
|
6824
6824
|
}, $ = this.$W, D = this.$M, z = this.$D, N = "set" + (this.$u ? "UTC" : "");
|
|
6825
6825
|
switch (n) {
|
|
6826
6826
|
case L:
|
|
6827
6827
|
return m ? c(1, 0) : c(31, 11);
|
|
6828
|
-
case
|
|
6828
|
+
case b:
|
|
6829
6829
|
return m ? c(1, D) : c(0, D + 1);
|
|
6830
6830
|
case g:
|
|
6831
6831
|
var W = this.$locale().weekStart || 0, B = ($ < W ? $ + 7 : $) - W;
|
|
6832
6832
|
return c(m ? z - B : z + (6 - B), D);
|
|
6833
6833
|
case d:
|
|
6834
|
-
case
|
|
6834
|
+
case k:
|
|
6835
6835
|
return O(N + "Hours", 0);
|
|
6836
6836
|
case u:
|
|
6837
6837
|
return O(N + "Minutes", 1);
|
|
@@ -6845,53 +6845,53 @@ function Jo() {
|
|
|
6845
6845
|
}, E.endOf = function(j) {
|
|
6846
6846
|
return this.startOf(j, !1);
|
|
6847
6847
|
}, E.$set = function(j, o) {
|
|
6848
|
-
var H, m =
|
|
6849
|
-
if (m ===
|
|
6850
|
-
var $ = this.clone().set(
|
|
6851
|
-
$.$d[c](O), $.init(), this.$d = $.set(
|
|
6848
|
+
var H, m = P.p(j), n = "set" + (this.$u ? "UTC" : ""), c = (H = {}, H[d] = n + "Date", H[k] = n + "Date", H[b] = n + "Month", H[L] = n + "FullYear", H[u] = n + "Hours", H[l] = n + "Minutes", H[f] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], O = m === d ? this.$D + (o - this.$W) : o;
|
|
6849
|
+
if (m === b || m === L) {
|
|
6850
|
+
var $ = this.clone().set(k, 1);
|
|
6851
|
+
$.$d[c](O), $.init(), this.$d = $.set(k, Math.min(this.$D, $.daysInMonth())).$d;
|
|
6852
6852
|
} else c && this.$d[c](O);
|
|
6853
6853
|
return this.init(), this;
|
|
6854
6854
|
}, E.set = function(j, o) {
|
|
6855
6855
|
return this.clone().$set(j, o);
|
|
6856
6856
|
}, E.get = function(j) {
|
|
6857
|
-
return this[
|
|
6857
|
+
return this[P.p(j)]();
|
|
6858
6858
|
}, E.add = function(j, o) {
|
|
6859
6859
|
var H, m = this;
|
|
6860
6860
|
j = Number(j);
|
|
6861
|
-
var n =
|
|
6861
|
+
var n = P.p(o), c = function(D) {
|
|
6862
6862
|
var z = h(m);
|
|
6863
|
-
return
|
|
6863
|
+
return P.w(z.date(z.date() + Math.round(D * j)), m);
|
|
6864
6864
|
};
|
|
6865
|
-
if (n ===
|
|
6865
|
+
if (n === b) return this.set(b, this.$M + j);
|
|
6866
6866
|
if (n === L) return this.set(L, this.$y + j);
|
|
6867
6867
|
if (n === d) return c(1);
|
|
6868
6868
|
if (n === g) return c(7);
|
|
6869
6869
|
var O = (H = {}, H[l] = i, H[u] = a, H[f] = r, H)[n] || 1, $ = this.$d.getTime() + j * O;
|
|
6870
|
-
return
|
|
6870
|
+
return P.w($, this);
|
|
6871
6871
|
}, E.subtract = function(j, o) {
|
|
6872
6872
|
return this.add(-1 * j, o);
|
|
6873
6873
|
}, E.format = function(j) {
|
|
6874
6874
|
var o = this, H = this.$locale();
|
|
6875
6875
|
if (!this.isValid()) return H.invalidDate || p;
|
|
6876
|
-
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n =
|
|
6876
|
+
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = P.z(this), c = this.$H, O = this.$m, $ = this.$M, D = H.weekdays, z = H.months, N = H.meridiem, W = function(G, J, te, Z) {
|
|
6877
6877
|
return G && (G[J] || G(o, m)) || te[J].slice(0, Z);
|
|
6878
6878
|
}, B = function(G) {
|
|
6879
|
-
return
|
|
6879
|
+
return P.s(c % 12 || 12, G, "0");
|
|
6880
6880
|
}, K = N || function(G, J, te) {
|
|
6881
6881
|
var Z = G < 12 ? "AM" : "PM";
|
|
6882
6882
|
return te ? Z.toLowerCase() : Z;
|
|
6883
6883
|
};
|
|
6884
|
-
return m.replace(
|
|
6884
|
+
return m.replace(C, function(G, J) {
|
|
6885
6885
|
return J || function(te) {
|
|
6886
6886
|
switch (te) {
|
|
6887
6887
|
case "YY":
|
|
6888
6888
|
return String(o.$y).slice(-2);
|
|
6889
6889
|
case "YYYY":
|
|
6890
|
-
return
|
|
6890
|
+
return P.s(o.$y, 4, "0");
|
|
6891
6891
|
case "M":
|
|
6892
6892
|
return $ + 1;
|
|
6893
6893
|
case "MM":
|
|
6894
|
-
return
|
|
6894
|
+
return P.s($ + 1, 2, "0");
|
|
6895
6895
|
case "MMM":
|
|
6896
6896
|
return W(H.monthsShort, $, z, 3);
|
|
6897
6897
|
case "MMMM":
|
|
@@ -6899,7 +6899,7 @@ function Jo() {
|
|
|
6899
6899
|
case "D":
|
|
6900
6900
|
return o.$D;
|
|
6901
6901
|
case "DD":
|
|
6902
|
-
return
|
|
6902
|
+
return P.s(o.$D, 2, "0");
|
|
6903
6903
|
case "d":
|
|
6904
6904
|
return String(o.$W);
|
|
6905
6905
|
case "dd":
|
|
@@ -6911,7 +6911,7 @@ function Jo() {
|
|
|
6911
6911
|
case "H":
|
|
6912
6912
|
return String(c);
|
|
6913
6913
|
case "HH":
|
|
6914
|
-
return
|
|
6914
|
+
return P.s(c, 2, "0");
|
|
6915
6915
|
case "h":
|
|
6916
6916
|
return B(1);
|
|
6917
6917
|
case "hh":
|
|
@@ -6923,13 +6923,13 @@ function Jo() {
|
|
|
6923
6923
|
case "m":
|
|
6924
6924
|
return String(O);
|
|
6925
6925
|
case "mm":
|
|
6926
|
-
return
|
|
6926
|
+
return P.s(O, 2, "0");
|
|
6927
6927
|
case "s":
|
|
6928
6928
|
return String(o.$s);
|
|
6929
6929
|
case "ss":
|
|
6930
|
-
return
|
|
6930
|
+
return P.s(o.$s, 2, "0");
|
|
6931
6931
|
case "SSS":
|
|
6932
|
-
return
|
|
6932
|
+
return P.s(o.$ms, 3, "0");
|
|
6933
6933
|
case "Z":
|
|
6934
6934
|
return n;
|
|
6935
6935
|
}
|
|
@@ -6939,14 +6939,14 @@ function Jo() {
|
|
|
6939
6939
|
}, E.utcOffset = function() {
|
|
6940
6940
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6941
6941
|
}, E.diff = function(j, o, H) {
|
|
6942
|
-
var m, n = this, c =
|
|
6943
|
-
return
|
|
6942
|
+
var m, n = this, c = P.p(o), O = h(j), $ = (O.utcOffset() - this.utcOffset()) * i, D = this - O, z = function() {
|
|
6943
|
+
return P.m(n, O);
|
|
6944
6944
|
};
|
|
6945
6945
|
switch (c) {
|
|
6946
6946
|
case L:
|
|
6947
6947
|
m = z() / 12;
|
|
6948
6948
|
break;
|
|
6949
|
-
case
|
|
6949
|
+
case b:
|
|
6950
6950
|
m = z();
|
|
6951
6951
|
break;
|
|
6952
6952
|
case S:
|
|
@@ -6970,17 +6970,17 @@ function Jo() {
|
|
|
6970
6970
|
default:
|
|
6971
6971
|
m = D;
|
|
6972
6972
|
}
|
|
6973
|
-
return H ? m :
|
|
6973
|
+
return H ? m : P.a(m);
|
|
6974
6974
|
}, E.daysInMonth = function() {
|
|
6975
|
-
return this.endOf(
|
|
6975
|
+
return this.endOf(b).$D;
|
|
6976
6976
|
}, E.$locale = function() {
|
|
6977
6977
|
return w[this.$L];
|
|
6978
6978
|
}, E.locale = function(j, o) {
|
|
6979
6979
|
if (!j) return this.$L;
|
|
6980
|
-
var H = this.clone(), m =
|
|
6980
|
+
var H = this.clone(), m = y(j, o, !0);
|
|
6981
6981
|
return m && (H.$L = m), H;
|
|
6982
6982
|
}, E.clone = function() {
|
|
6983
|
-
return
|
|
6983
|
+
return P.w(this.$d, this);
|
|
6984
6984
|
}, E.toDate = function() {
|
|
6985
6985
|
return new Date(this.valueOf());
|
|
6986
6986
|
}, E.toJSON = function() {
|
|
@@ -6991,13 +6991,13 @@ function Jo() {
|
|
|
6991
6991
|
return this.$d.toUTCString();
|
|
6992
6992
|
}, T;
|
|
6993
6993
|
}(), _ = A.prototype;
|
|
6994
|
-
return h.prototype = _, [["$ms", s], ["$s", f], ["$m", l], ["$H", u], ["$W", d], ["$M",
|
|
6994
|
+
return h.prototype = _, [["$ms", s], ["$s", f], ["$m", l], ["$H", u], ["$W", d], ["$M", b], ["$y", L], ["$D", k]].forEach(function(T) {
|
|
6995
6995
|
_[T[1]] = function(E) {
|
|
6996
6996
|
return this.$g(E, T[0], T[1]);
|
|
6997
6997
|
};
|
|
6998
6998
|
}), h.extend = function(T, E) {
|
|
6999
6999
|
return T.$i || (T(E, A, h), T.$i = !0), h;
|
|
7000
|
-
}, h.locale =
|
|
7000
|
+
}, h.locale = y, h.isDayjs = R, h.unix = function(T) {
|
|
7001
7001
|
return h(1e3 * T);
|
|
7002
7002
|
}, h.en = w[v], h.Ls = w, h.p = {}, h;
|
|
7003
7003
|
});
|
|
@@ -7034,16 +7034,16 @@ function es() {
|
|
|
7034
7034
|
this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
|
|
7035
7035
|
} else g.call(this);
|
|
7036
7036
|
};
|
|
7037
|
-
var
|
|
7037
|
+
var b = u.utcOffset;
|
|
7038
7038
|
u.utcOffset = function(p, I) {
|
|
7039
|
-
var
|
|
7040
|
-
if (
|
|
7039
|
+
var C = this.$utils().u;
|
|
7040
|
+
if (C(p)) return this.$u ? 0 : C(this.$offset) ? b.call(this) : this.$offset;
|
|
7041
7041
|
if (typeof p == "string" && (p = function(v) {
|
|
7042
7042
|
v === void 0 && (v = "");
|
|
7043
7043
|
var w = v.match(i);
|
|
7044
7044
|
if (!w) return null;
|
|
7045
|
-
var x = ("" + w[0]).match(a) || ["-", 0, 0], R = x[0],
|
|
7046
|
-
return
|
|
7045
|
+
var x = ("" + w[0]).match(a) || ["-", 0, 0], R = x[0], y = 60 * +x[1] + +x[2];
|
|
7046
|
+
return y === 0 ? 0 : R === "+" ? y : -y;
|
|
7047
7047
|
}(p), p === null)) return this;
|
|
7048
7048
|
var F = Math.abs(p) <= 16 ? 60 * p : p;
|
|
7049
7049
|
if (F === 0) return this.utc(I);
|
|
@@ -7070,11 +7070,11 @@ function es() {
|
|
|
7070
7070
|
u.toDate = function(p) {
|
|
7071
7071
|
return p === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : L.call(this);
|
|
7072
7072
|
};
|
|
7073
|
-
var
|
|
7074
|
-
u.diff = function(p, I,
|
|
7075
|
-
if (p && this.$u === p.$u) return
|
|
7073
|
+
var k = u.diff;
|
|
7074
|
+
u.diff = function(p, I, C) {
|
|
7075
|
+
if (p && this.$u === p.$u) return k.call(this, p, I, C);
|
|
7076
7076
|
var F = this.local(), U = l(p).local();
|
|
7077
|
-
return
|
|
7077
|
+
return k.call(F, U, I, C);
|
|
7078
7078
|
};
|
|
7079
7079
|
};
|
|
7080
7080
|
});
|
|
@@ -7083,7 +7083,7 @@ function es() {
|
|
|
7083
7083
|
var ts = es();
|
|
7084
7084
|
const rs = /* @__PURE__ */ Vt(ts);
|
|
7085
7085
|
dt.extend(rs);
|
|
7086
|
-
class
|
|
7086
|
+
class Ps {
|
|
7087
7087
|
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
7088
7088
|
static waitForCondition = (t) => new Promise((r) => {
|
|
7089
7089
|
const i = () => {
|
|
@@ -7272,15 +7272,15 @@ const Es = ({
|
|
|
7272
7272
|
onChange: u,
|
|
7273
7273
|
onFocus: d,
|
|
7274
7274
|
onBlur: g,
|
|
7275
|
-
inputStyles:
|
|
7275
|
+
inputStyles: b,
|
|
7276
7276
|
containerStyles: S,
|
|
7277
7277
|
styles: L
|
|
7278
7278
|
}) => {
|
|
7279
|
-
const
|
|
7280
|
-
u?.(
|
|
7281
|
-
}, p = (
|
|
7282
|
-
|
|
7283
|
-
}, I = (
|
|
7279
|
+
const k = (C) => {
|
|
7280
|
+
u?.(C.currentTarget.value);
|
|
7281
|
+
}, p = (C) => {
|
|
7282
|
+
C.preventDefault(), C.stopPropagation(), d?.();
|
|
7283
|
+
}, I = (C) => {
|
|
7284
7284
|
g?.();
|
|
7285
7285
|
};
|
|
7286
7286
|
return /* @__PURE__ */ X.jsxs(
|
|
@@ -7332,12 +7332,12 @@ const Es = ({
|
|
|
7332
7332
|
outline: "inherit",
|
|
7333
7333
|
background: "none",
|
|
7334
7334
|
minHeight: "47px",
|
|
7335
|
-
...
|
|
7335
|
+
...b
|
|
7336
7336
|
},
|
|
7337
7337
|
placeholder: s,
|
|
7338
7338
|
value: f,
|
|
7339
7339
|
defaultValue: l,
|
|
7340
|
-
onChange:
|
|
7340
|
+
onChange: k,
|
|
7341
7341
|
onFocus: p,
|
|
7342
7342
|
onBlur: I
|
|
7343
7343
|
}
|
|
@@ -7356,7 +7356,7 @@ const Es = ({
|
|
|
7356
7356
|
styles: r,
|
|
7357
7357
|
durationInSeconds: i = 3
|
|
7358
7358
|
}) => {
|
|
7359
|
-
const a = V.useRef(!1), { isItemVisible: s, hideItem: f } =
|
|
7359
|
+
const a = V.useRef(!1), { isItemVisible: s, hideItem: f } = Ct();
|
|
7360
7360
|
return V.useEffect(() => {
|
|
7361
7361
|
const l = s(e);
|
|
7362
7362
|
a.current !== l && (a.current = l, l && setTimeout(() => f(e), i * 1e3));
|
|
@@ -7438,14 +7438,14 @@ export {
|
|
|
7438
7438
|
ks as ScrollHelper,
|
|
7439
7439
|
_s as SvgImage,
|
|
7440
7440
|
Ts as TextAreaField,
|
|
7441
|
-
|
|
7442
|
-
|
|
7441
|
+
Cs as TextHelper,
|
|
7442
|
+
Ps as TimeHelper,
|
|
7443
7443
|
js as Toast,
|
|
7444
7444
|
Ls as Typography,
|
|
7445
7445
|
ua as defaultBreakpoints,
|
|
7446
7446
|
ls as useDidMount,
|
|
7447
7447
|
la as useDrag,
|
|
7448
|
-
|
|
7448
|
+
Ct as useFeedback,
|
|
7449
7449
|
us as useFetch,
|
|
7450
7450
|
hs as useNavigation,
|
|
7451
7451
|
cs as useOnScreen,
|