@eliseubatista99/react-scaffold-core 0.1.98 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/formsHelper/formsHelper.d.ts +2 -2
- package/dist/index.cjs.js +13 -13
- package/dist/index.es.js +535 -534
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as M from "react";
|
|
2
|
-
import
|
|
2
|
+
import V, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as _e, useRef as Cn } from "react";
|
|
3
3
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
|
-
function
|
|
4
|
+
function Vt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Pn(e) {
|
|
8
8
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
9
9
|
var t = e.default;
|
|
10
10
|
if (typeof t == "function") {
|
|
@@ -39,7 +39,7 @@ var nt = { exports: {} }, He = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var rr;
|
|
42
|
-
function
|
|
42
|
+
function En() {
|
|
43
43
|
if (rr) return He;
|
|
44
44
|
rr = 1;
|
|
45
45
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
@@ -71,7 +71,7 @@ var ze = {};
|
|
|
71
71
|
* LICENSE file in the root directory of this source tree.
|
|
72
72
|
*/
|
|
73
73
|
var nr;
|
|
74
|
-
function
|
|
74
|
+
function Rn() {
|
|
75
75
|
return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
76
76
|
function e(n) {
|
|
77
77
|
if (n == null) return null;
|
|
@@ -102,7 +102,7 @@ function _n() {
|
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
103
103
|
case F:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
|
-
case
|
|
105
|
+
case q:
|
|
106
106
|
var f = n.render;
|
|
107
107
|
return n = n.displayName, n || (n = f.displayName || f.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
108
|
case S:
|
|
@@ -212,24 +212,24 @@ function _n() {
|
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
214
|
function v(n, f, O, $, D, z, N, W) {
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
215
|
+
var B = f.children;
|
|
216
|
+
if (B !== void 0)
|
|
217
217
|
if ($)
|
|
218
|
-
if (_(
|
|
219
|
-
for ($ = 0; $ <
|
|
220
|
-
w(
|
|
221
|
-
Object.freeze && Object.freeze(
|
|
218
|
+
if (_(B)) {
|
|
219
|
+
for ($ = 0; $ < B.length; $++)
|
|
220
|
+
w(B[$]);
|
|
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 w(
|
|
226
|
+
else w(B);
|
|
227
227
|
if (A.call(f, "key")) {
|
|
228
|
-
|
|
228
|
+
B = e(n);
|
|
229
229
|
var K = Object.keys(f).filter(function(J) {
|
|
230
230
|
return J !== "key";
|
|
231
231
|
});
|
|
232
|
-
$ = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", m[
|
|
232
|
+
$ = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", m[B + $] || (K = 0 < K.length ? "{" + K.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
233
233
|
`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
@@ -237,22 +237,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
237
237
|
let props = %s;
|
|
238
238
|
<%s key={someKey} {...props} />`,
|
|
239
239
|
$,
|
|
240
|
-
|
|
240
|
+
B,
|
|
241
241
|
K,
|
|
242
|
-
|
|
243
|
-
), m[
|
|
242
|
+
B
|
|
243
|
+
), m[B + $] = !0);
|
|
244
244
|
}
|
|
245
|
-
if (
|
|
245
|
+
if (B = null, O !== void 0 && (r(O), B = "" + O), d(f) && (r(f.key), B = "" + f.key), "key" in f) {
|
|
246
246
|
O = {};
|
|
247
247
|
for (var G in f)
|
|
248
248
|
G !== "key" && (O[G] = f[G]);
|
|
249
249
|
} else O = f;
|
|
250
|
-
return
|
|
250
|
+
return B && l(
|
|
251
251
|
O,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
253
253
|
), c(
|
|
254
254
|
n,
|
|
255
|
-
|
|
255
|
+
B,
|
|
256
256
|
z,
|
|
257
257
|
D,
|
|
258
258
|
a(),
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function w(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === L && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var x =
|
|
267
|
+
var x = 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"), g = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), h = Symbol.for("react.client.reference"), P = x.__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
|
x = {
|
|
@@ -304,11 +304,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
304
304
|
}()), ze;
|
|
305
305
|
}
|
|
306
306
|
var ir;
|
|
307
|
-
function
|
|
308
|
-
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports =
|
|
307
|
+
function _n() {
|
|
308
|
+
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = En() : nt.exports = Rn()), nt.exports;
|
|
309
309
|
}
|
|
310
|
-
var X =
|
|
311
|
-
const
|
|
310
|
+
var X = _n();
|
|
311
|
+
const is = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
@@ -331,7 +331,7 @@ const as = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
|
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
333
|
var Pt = {}, Et = {}, Ne = {}, Rt = {}, ar;
|
|
334
|
-
function
|
|
334
|
+
function Tn() {
|
|
335
335
|
return ar || (ar = 1, function(e) {
|
|
336
336
|
Object.defineProperty(e, "__esModule", {
|
|
337
337
|
value: !0
|
|
@@ -371,7 +371,7 @@ function jn() {
|
|
|
371
371
|
}(Rt)), Rt;
|
|
372
372
|
}
|
|
373
373
|
var _t, or;
|
|
374
|
-
function
|
|
374
|
+
function jn() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
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, d = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, c = typeof self == "object" && self && self.Object === Object && self, v = u || c || Function("return this")(), w = Object.prototype, x = w.toString, L = Math.max, k = Math.min, p = function() {
|
|
@@ -381,21 +381,21 @@ function Ln() {
|
|
|
381
381
|
var R, y, h, P, A, _, T = 0, E = !1, j = !1, o = !0;
|
|
382
382
|
if (typeof g != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
b =
|
|
384
|
+
b = q(b) || 0, C(S) && (E = !!S.leading, j = "maxWait" in S, h = j ? L(q(S.maxWait) || 0, b) : h, o = "trailing" in S ? !!S.trailing : o);
|
|
385
385
|
function H(W) {
|
|
386
|
-
var
|
|
387
|
-
return R = y = void 0, T = W, P = g.apply(K,
|
|
386
|
+
var B = R, K = y;
|
|
387
|
+
return R = y = void 0, T = W, P = g.apply(K, B), P;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
390
|
return T = W, A = setTimeout(O, b), E ? H(W) : P;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
|
-
var
|
|
393
|
+
var B = W - _, K = W - T, G = b - B;
|
|
394
394
|
return j ? k(G, h - K) : G;
|
|
395
395
|
}
|
|
396
396
|
function f(W) {
|
|
397
|
-
var
|
|
398
|
-
return _ === void 0 ||
|
|
397
|
+
var B = W - _, K = W - T;
|
|
398
|
+
return _ === void 0 || B >= b || B < 0 || j && K >= h;
|
|
399
399
|
}
|
|
400
400
|
function O() {
|
|
401
401
|
var W = p();
|
|
@@ -413,8 +413,8 @@ function Ln() {
|
|
|
413
413
|
return A === void 0 ? P : $(p());
|
|
414
414
|
}
|
|
415
415
|
function N() {
|
|
416
|
-
var W = p(),
|
|
417
|
-
if (R = arguments, y = this, _ = W,
|
|
416
|
+
var W = p(), B = f(W);
|
|
417
|
+
if (R = arguments, y = this, _ = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(_);
|
|
420
420
|
if (j)
|
|
@@ -434,7 +434,7 @@ function Ln() {
|
|
|
434
434
|
function U(g) {
|
|
435
435
|
return typeof g == "symbol" || F(g) && x.call(g) == r;
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function q(g) {
|
|
438
438
|
if (typeof g == "number")
|
|
439
439
|
return g;
|
|
440
440
|
if (U(g))
|
|
@@ -496,7 +496,7 @@ function zr() {
|
|
|
496
496
|
Object.defineProperty(e, "__esModule", {
|
|
497
497
|
value: !0
|
|
498
498
|
}), e.default = void 0;
|
|
499
|
-
var t = r(
|
|
499
|
+
var t = r(V);
|
|
500
500
|
function r(a) {
|
|
501
501
|
return a && a.__esModule ? a : { default: a };
|
|
502
502
|
}
|
|
@@ -572,7 +572,7 @@ function Ke() {
|
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
574
|
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = c, Y.extractObject = void 0, Y.filterSettings = H, Y.validSettings = Y.swipeStart = Y.swipeMove = Y.swipeEnd = Y.slidesOnRight = Y.slidesOnLeft = Y.slideHandler = Y.siblingDirection = Y.safePreventDefault = Y.lazyStartIndex = Y.lazySlidesOnRight = Y.lazySlidesOnLeft = Y.lazyEndIndex = Y.keyHandler = Y.initializedState = Y.getWidth = Y.getTrackLeft = Y.getTrackCSS = Y.getTrackAnimateCSS = Y.getTotalSlides = Y.getSwipeDirection = Y.getSlideCount = Y.getRequiredLazySlides = Y.getPreClones = Y.getPostClones = Y.getOnDemandLazySlides = Y.getNavigableIndexes = Y.getHeight = void 0;
|
|
575
|
-
var e = r(
|
|
575
|
+
var e = r(V), t = r(zr());
|
|
576
576
|
function r(m) {
|
|
577
577
|
return m && m.__esModule ? m : { default: m };
|
|
578
578
|
}
|
|
@@ -670,7 +670,7 @@ 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
|
|
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 = f - 1 - n.initialSlide);
|
|
675
675
|
var J = n.lazyLoadedList || [], te = w(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: G,
|
|
@@ -683,13 +683,13 @@ function Ke() {
|
|
|
683
683
|
listWidth: $,
|
|
684
684
|
trackWidth: z,
|
|
685
685
|
currentSlide: G,
|
|
686
|
-
slideHeight:
|
|
686
|
+
slideHeight: B,
|
|
687
687
|
listHeight: K,
|
|
688
688
|
lazyLoadedList: J
|
|
689
689
|
};
|
|
690
690
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
691
691
|
}, Y.slideHandler = function(n) {
|
|
692
|
-
var f = n.waitForAnimate, O = n.animating, $ = n.fade, D = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad,
|
|
692
|
+
var f = n.waitForAnimate, O = n.animating, $ = n.fade, D = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad, B = n.currentSlide, K = n.centerMode, G = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
693
|
if (f && O) return {};
|
|
694
694
|
var ee = z, ie, le, Q, oe = {}, ue = {}, ce = D ? z : c(z, 0, N - 1);
|
|
695
695
|
if ($) {
|
|
@@ -704,7 +704,7 @@ function Ke() {
|
|
|
704
704
|
targetSlide: ee
|
|
705
705
|
};
|
|
706
706
|
} else
|
|
707
|
-
ie = ee, ee < 0 ? (ie = ee + N, D ? N % G !== 0 && (ie = N - N % G) : ie = 0) : !U(n) && ee >
|
|
707
|
+
ie = ee, ee < 0 ? (ie = ee + N, D ? N % G !== 0 && (ie = N - N % G) : ie = 0) : !U(n) && ee > B ? ee = ie = B : K && ee >= N ? (ee = D ? N : N - 1, ie = D ? 0 : N - 1) : ee >= N && (ie = ee - N, D ? N % G !== 0 && (ie = 0) : ie = N - J), !D && ee + J >= N && (ie = N - J), le = h(s(s({}, n), {}, {
|
|
708
708
|
slideIndex: ee
|
|
709
709
|
})), Q = h(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
@@ -739,9 +739,9 @@ function Ke() {
|
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
741
|
}, Y.changeSlide = function(n, f) {
|
|
742
|
-
var O, $, D, z, N, W = n.slidesToScroll,
|
|
742
|
+
var O, $, D, z, N, W = n.slidesToScroll, B = n.slidesToShow, K = n.slideCount, G = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
743
|
if (z = K % W !== 0, O = z ? 0 : (K - G) % W, f.message === "previous")
|
|
744
|
-
D = O === 0 ? W :
|
|
744
|
+
D = O === 0 ? W : B - O, N = G - D, te && !Z && ($ = G - D, N = $ === -1 ? K - 1 : $), Z || (N = J - W);
|
|
745
745
|
else if (f.message === "next")
|
|
746
746
|
D = O === 0 ? W : O, N = G + D, te && !Z && (N = (G + W) % K + O), Z || (N = J + W);
|
|
747
747
|
else if (f.message === "dots")
|
|
@@ -768,7 +768,7 @@ function Ke() {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
}, Y.swipeMove = function(n, f) {
|
|
771
|
-
var O = f.scrolling, $ = f.animating, D = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl,
|
|
771
|
+
var O = f.scrolling, $ = f.animating, D = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl, B = f.currentSlide, K = f.edgeFriction, G = f.edgeDragged, J = f.onEdge, te = f.swiped, Z = f.swiping, ee = f.slideCount, ie = f.slidesToScroll, le = f.infinite, Q = f.touchObject, oe = f.swipeEvent, ue = f.listHeight, ce = f.listWidth;
|
|
772
772
|
if (!O) {
|
|
773
773
|
if ($) return v(n);
|
|
774
774
|
D && z && N && v(n);
|
|
@@ -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
|
|
786
|
-
return le || (
|
|
785
|
+
var On = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Ee = s(s({}, Ee), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: R(s(s({}, f), {}, {
|
|
@@ -792,10 +792,10 @@ function Ke() {
|
|
|
792
792
|
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Ee.swiping = !0, v(n)), Ee;
|
|
793
793
|
}
|
|
794
794
|
}, Y.swipeEnd = function(n, f) {
|
|
795
|
-
var O = f.dragging, $ = f.swipe, D = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping,
|
|
795
|
+
var O = f.dragging, $ = f.swipe, D = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping, B = f.listHeight, K = f.swipeToSlide, G = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
796
796
|
if (!O)
|
|
797
797
|
return $ && v(n), {};
|
|
798
|
-
var ie = W ?
|
|
798
|
+
var ie = W ? B / N : z / N, le = F(D, W), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
801
801
|
scrolling: !1,
|
|
@@ -830,12 +830,12 @@ function Ke() {
|
|
|
830
830
|
}
|
|
831
831
|
return Q;
|
|
832
832
|
};
|
|
833
|
-
var
|
|
833
|
+
var q = Y.getNavigableIndexes = function(n) {
|
|
834
834
|
for (var f = n.infinite ? n.slideCount * 2 : n.slideCount, O = n.infinite ? n.slidesToShow * -1 : 0, $ = n.infinite ? n.slidesToShow * -1 : 0, D = []; O < f; )
|
|
835
835
|
D.push(O), O = $ + n.slidesToScroll, $ += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
836
836
|
return D;
|
|
837
837
|
}, g = Y.checkNavigable = function(n, f) {
|
|
838
|
-
var O =
|
|
838
|
+
var O = q(n), $ = 0;
|
|
839
839
|
if (f > O[O.length - 1])
|
|
840
840
|
f = O[O.length - 1];
|
|
841
841
|
else
|
|
@@ -902,11 +902,11 @@ function Ke() {
|
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
904
|
S(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
-
var f = n.slideIndex, O = n.trackRef, $ = n.infinite, D = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll,
|
|
905
|
+
var f = n.slideIndex, O = n.trackRef, $ = n.infinite, D = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll, B = n.slideWidth, K = n.listWidth, G = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if ($ ? (oe = -P(n), z % W !== 0 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), D && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), D && (oe = parseInt(N / 2))), ee = oe *
|
|
909
|
+
if ($ ? (oe = -P(n), z % W !== 0 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), D && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), D && (oe = parseInt(N / 2))), ee = oe * B, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * B * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
911
|
if (ue = f + P(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
912
|
ue = $ ? f + P(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
@@ -951,12 +951,12 @@ function Ke() {
|
|
|
951
951
|
return Y;
|
|
952
952
|
}
|
|
953
953
|
var Fe = {}, cr;
|
|
954
|
-
function
|
|
954
|
+
function Ln() {
|
|
955
955
|
if (cr) return Fe;
|
|
956
956
|
cr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
957
957
|
value: !0
|
|
958
958
|
}), Fe.Track = void 0;
|
|
959
|
-
var e = i(
|
|
959
|
+
var e = i(V), t = i(yt()), r = Ke();
|
|
960
960
|
function i(y) {
|
|
961
961
|
return y && y.__esModule ? y : { default: y };
|
|
962
962
|
}
|
|
@@ -1059,10 +1059,10 @@ function Dn() {
|
|
|
1059
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
1061
|
function U(y) {
|
|
1062
|
-
var h =
|
|
1062
|
+
var h = q(y, "string");
|
|
1063
1063
|
return a(h) == "symbol" ? h : h + "";
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function q(y, h) {
|
|
1066
1066
|
if (a(y) != "object" || !y) return y;
|
|
1067
1067
|
var P = y[Symbol.toPrimitive];
|
|
1068
1068
|
if (P !== void 0) {
|
|
@@ -1178,7 +1178,7 @@ function Dn() {
|
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
1179
1179
|
}
|
|
1180
1180
|
var We = {}, fr;
|
|
1181
|
-
function
|
|
1181
|
+
function Dn() {
|
|
1182
1182
|
if (fr) return We;
|
|
1183
1183
|
fr = 1;
|
|
1184
1184
|
function e(g) {
|
|
@@ -1192,7 +1192,7 @@ function Mn() {
|
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
|
-
var t = a(
|
|
1195
|
+
var t = a(V), r = a(yt()), i = Ke();
|
|
1196
1196
|
function a(g) {
|
|
1197
1197
|
return g && g.__esModule ? g : { default: g };
|
|
1198
1198
|
}
|
|
@@ -1290,7 +1290,7 @@ function Mn() {
|
|
|
1290
1290
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
1291
1291
|
}, U(g);
|
|
1292
1292
|
}
|
|
1293
|
-
var
|
|
1293
|
+
var q = function(b) {
|
|
1294
1294
|
var S;
|
|
1295
1295
|
return b.infinite ? S = Math.ceil(b.slideCount / b.slidesToScroll) : S = Math.ceil((b.slideCount - b.slidesToShow) / b.slidesToScroll) + 1, S;
|
|
1296
1296
|
};
|
|
@@ -1308,7 +1308,7 @@ function Mn() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
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 =
|
|
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,
|
|
@@ -1325,12 +1325,12 @@ function Mn() {
|
|
|
1325
1325
|
index: f,
|
|
1326
1326
|
slidesToScroll: T,
|
|
1327
1327
|
currentSlide: o
|
|
1328
|
-
},
|
|
1328
|
+
}, B = this.clickHandler.bind(this, W);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
1330
1330
|
key: f,
|
|
1331
1331
|
className: N
|
|
1332
1332
|
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(f), {
|
|
1333
|
-
onClick:
|
|
1333
|
+
onClick: B
|
|
1334
1334
|
})));
|
|
1335
1335
|
}
|
|
1336
1336
|
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n), d({
|
|
@@ -1341,7 +1341,7 @@ function Mn() {
|
|
|
1341
1341
|
}(t.default.PureComponent), We;
|
|
1342
1342
|
}
|
|
1343
1343
|
var Re = {}, dr;
|
|
1344
|
-
function
|
|
1344
|
+
function Mn() {
|
|
1345
1345
|
if (dr) return Re;
|
|
1346
1346
|
dr = 1;
|
|
1347
1347
|
function e(g) {
|
|
@@ -1355,7 +1355,7 @@ function $n() {
|
|
|
1355
1355
|
Object.defineProperty(Re, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), Re.PrevArrow = Re.NextArrow = void 0;
|
|
1358
|
-
var t = a(
|
|
1358
|
+
var t = a(V), r = a(yt()), i = Ke();
|
|
1359
1359
|
function a(g) {
|
|
1360
1360
|
return g && g.__esModule ? g : { default: g };
|
|
1361
1361
|
}
|
|
@@ -1431,9 +1431,9 @@ function $n() {
|
|
|
1431
1431
|
function I(g) {
|
|
1432
1432
|
var b = U();
|
|
1433
1433
|
return function() {
|
|
1434
|
-
var S, R =
|
|
1434
|
+
var S, R = q(g);
|
|
1435
1435
|
if (b) {
|
|
1436
|
-
var y =
|
|
1436
|
+
var y = q(this).constructor;
|
|
1437
1437
|
S = Reflect.construct(R, arguments, y);
|
|
1438
1438
|
} else S = R.apply(this, arguments);
|
|
1439
1439
|
return C(this, S);
|
|
@@ -1458,10 +1458,10 @@ function $n() {
|
|
|
1458
1458
|
return !!g;
|
|
1459
1459
|
})();
|
|
1460
1460
|
}
|
|
1461
|
-
function
|
|
1462
|
-
return
|
|
1461
|
+
function q(g) {
|
|
1462
|
+
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(b) {
|
|
1463
1463
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
1464
|
-
},
|
|
1464
|
+
}, q(g);
|
|
1465
1465
|
}
|
|
1466
1466
|
return Re.PrevArrow = /* @__PURE__ */ function(g) {
|
|
1467
1467
|
k(S, g);
|
|
@@ -1591,25 +1591,25 @@ var Nr = function() {
|
|
|
1591
1591
|
);
|
|
1592
1592
|
}(), At = typeof window < "u" && typeof document < "u" && window.document === document, pt = function() {
|
|
1593
1593
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
1594
|
-
}(),
|
|
1594
|
+
}(), $n = function() {
|
|
1595
1595
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(pt) : function(e) {
|
|
1596
1596
|
return setTimeout(function() {
|
|
1597
1597
|
return e(Date.now());
|
|
1598
1598
|
}, 1e3 / 60);
|
|
1599
1599
|
};
|
|
1600
|
-
}(),
|
|
1601
|
-
function
|
|
1600
|
+
}(), In = 2;
|
|
1601
|
+
function An(e, t) {
|
|
1602
1602
|
var r = !1, i = !1, a = 0;
|
|
1603
1603
|
function s() {
|
|
1604
1604
|
r && (r = !1, e()), i && l();
|
|
1605
1605
|
}
|
|
1606
1606
|
function d() {
|
|
1607
|
-
|
|
1607
|
+
$n(s);
|
|
1608
1608
|
}
|
|
1609
1609
|
function l() {
|
|
1610
1610
|
var u = Date.now();
|
|
1611
1611
|
if (r) {
|
|
1612
|
-
if (u - a <
|
|
1612
|
+
if (u - a < In)
|
|
1613
1613
|
return;
|
|
1614
1614
|
i = !0;
|
|
1615
1615
|
} else
|
|
@@ -1618,11 +1618,11 @@ function Hn(e, t) {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
return l;
|
|
1620
1620
|
}
|
|
1621
|
-
var
|
|
1621
|
+
var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Nn = typeof MutationObserver < "u", Fn = (
|
|
1622
1622
|
/** @class */
|
|
1623
1623
|
function() {
|
|
1624
1624
|
function e() {
|
|
1625
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh =
|
|
1625
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = An(this.refresh.bind(this), Hn);
|
|
1626
1626
|
}
|
|
1627
1627
|
return e.prototype.addObserver = function(t) {
|
|
1628
1628
|
~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
|
|
@@ -1640,7 +1640,7 @@ var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1640
1640
|
return r.broadcastActive();
|
|
1641
1641
|
}), t.length > 0;
|
|
1642
1642
|
}, e.prototype.connect_ = function() {
|
|
1643
|
-
!At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh),
|
|
1643
|
+
!At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Nn ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
1644
1644
|
attributes: !0,
|
|
1645
1645
|
childList: !0,
|
|
1646
1646
|
characterData: !0,
|
|
@@ -1649,7 +1649,7 @@ var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1649
1649
|
}, e.prototype.disconnect_ = function() {
|
|
1650
1650
|
!At || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
1651
1651
|
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
1652
|
-
var r = t.propertyName, i = r === void 0 ? "" : r, a =
|
|
1652
|
+
var r = t.propertyName, i = r === void 0 ? "" : r, a = zn.some(function(s) {
|
|
1653
1653
|
return !!~i.indexOf(s);
|
|
1654
1654
|
});
|
|
1655
1655
|
a && this.refresh();
|
|
@@ -1683,42 +1683,42 @@ function hr(e) {
|
|
|
1683
1683
|
return i + mt(s);
|
|
1684
1684
|
}, 0);
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1686
|
+
function Wn(e) {
|
|
1687
1687
|
for (var t = ["top", "right", "bottom", "left"], r = {}, i = 0, a = t; i < a.length; i++) {
|
|
1688
1688
|
var s = a[i], d = e["padding-" + s];
|
|
1689
1689
|
r[s] = mt(d);
|
|
1690
1690
|
}
|
|
1691
1691
|
return r;
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function Un(e) {
|
|
1694
1694
|
var t = e.getBBox();
|
|
1695
1695
|
return bt(0, 0, t.width, t.height);
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
function Yn(e) {
|
|
1698
1698
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1699
1699
|
if (!t && !r)
|
|
1700
1700
|
return Wr;
|
|
1701
|
-
var i = je(e).getComputedStyle(e), a =
|
|
1702
|
-
if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + d) !== r && (u -= hr(i, "top", "bottom") + d)), !
|
|
1701
|
+
var i = je(e).getComputedStyle(e), a = Wn(i), s = a.left + a.right, d = a.top + a.bottom, l = mt(i.width), u = mt(i.height);
|
|
1702
|
+
if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + d) !== r && (u -= hr(i, "top", "bottom") + d)), !qn(e)) {
|
|
1703
1703
|
var c = Math.round(l + s) - t, v = Math.round(u + d) - r;
|
|
1704
1704
|
Math.abs(c) !== 1 && (l -= c), Math.abs(v) !== 1 && (u -= v);
|
|
1705
1705
|
}
|
|
1706
1706
|
return bt(a.left, a.top, l, u);
|
|
1707
1707
|
}
|
|
1708
|
-
var
|
|
1708
|
+
var Vn = /* @__PURE__ */ function() {
|
|
1709
1709
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1710
1710
|
return e instanceof je(e).SVGGraphicsElement;
|
|
1711
1711
|
} : function(e) {
|
|
1712
1712
|
return e instanceof je(e).SVGElement && typeof e.getBBox == "function";
|
|
1713
1713
|
};
|
|
1714
1714
|
}();
|
|
1715
|
-
function
|
|
1715
|
+
function qn(e) {
|
|
1716
1716
|
return e === je(e).document.documentElement;
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1719
|
-
return At ?
|
|
1718
|
+
function Bn(e) {
|
|
1719
|
+
return At ? Vn(e) ? Un(e) : Yn(e) : Wr;
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1721
|
+
function Xn(e) {
|
|
1722
1722
|
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, d = Object.create(s.prototype);
|
|
1723
1723
|
return Fr(d, {
|
|
1724
1724
|
x: t,
|
|
@@ -1734,30 +1734,30 @@ function Gn(e) {
|
|
|
1734
1734
|
function bt(e, t, r, i) {
|
|
1735
1735
|
return { x: e, y: t, width: r, height: i };
|
|
1736
1736
|
}
|
|
1737
|
-
var
|
|
1737
|
+
var Gn = (
|
|
1738
1738
|
/** @class */
|
|
1739
1739
|
function() {
|
|
1740
1740
|
function e(t) {
|
|
1741
1741
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = bt(0, 0, 0, 0), this.target = t;
|
|
1742
1742
|
}
|
|
1743
1743
|
return e.prototype.isActive = function() {
|
|
1744
|
-
var t =
|
|
1744
|
+
var t = Bn(this.target);
|
|
1745
1745
|
return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
|
|
1746
1746
|
}, e.prototype.broadcastRect = function() {
|
|
1747
1747
|
var t = this.contentRect_;
|
|
1748
1748
|
return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
|
|
1749
1749
|
}, e;
|
|
1750
1750
|
}()
|
|
1751
|
-
),
|
|
1751
|
+
), Kn = (
|
|
1752
1752
|
/** @class */
|
|
1753
1753
|
/* @__PURE__ */ function() {
|
|
1754
1754
|
function e(t, r) {
|
|
1755
|
-
var i =
|
|
1755
|
+
var i = Xn(r);
|
|
1756
1756
|
Fr(this, { target: t, contentRect: i });
|
|
1757
1757
|
}
|
|
1758
1758
|
return e;
|
|
1759
1759
|
}()
|
|
1760
|
-
),
|
|
1760
|
+
), Jn = (
|
|
1761
1761
|
/** @class */
|
|
1762
1762
|
function() {
|
|
1763
1763
|
function e(t, r, i) {
|
|
@@ -1772,7 +1772,7 @@ var Kn = (
|
|
|
1772
1772
|
if (!(t instanceof je(t).Element))
|
|
1773
1773
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1774
1774
|
var r = this.observations_;
|
|
1775
|
-
r.has(t) || (r.set(t, new
|
|
1775
|
+
r.has(t) || (r.set(t, new Gn(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1776
1776
|
}
|
|
1777
1777
|
}, e.prototype.unobserve = function(t) {
|
|
1778
1778
|
if (!arguments.length)
|
|
@@ -1793,7 +1793,7 @@ var Kn = (
|
|
|
1793
1793
|
}, e.prototype.broadcastActive = function() {
|
|
1794
1794
|
if (this.hasActive()) {
|
|
1795
1795
|
var t = this.callbackCtx_, r = this.activeObservations_.map(function(i) {
|
|
1796
|
-
return new
|
|
1796
|
+
return new Kn(i.target, i.broadcastRect());
|
|
1797
1797
|
});
|
|
1798
1798
|
this.callback_.call(t, r, t), this.clearActive();
|
|
1799
1799
|
}
|
|
@@ -1811,7 +1811,7 @@ var Kn = (
|
|
|
1811
1811
|
throw new TypeError("Cannot call a class as a function.");
|
|
1812
1812
|
if (!arguments.length)
|
|
1813
1813
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1814
|
-
var r =
|
|
1814
|
+
var r = Fn.getInstance(), i = new Jn(t, r, this);
|
|
1815
1815
|
Ur.set(this, i);
|
|
1816
1816
|
}
|
|
1817
1817
|
return e;
|
|
@@ -1827,20 +1827,20 @@ var Kn = (
|
|
|
1827
1827
|
return (t = Ur.get(this))[e].apply(t, arguments);
|
|
1828
1828
|
};
|
|
1829
1829
|
});
|
|
1830
|
-
var
|
|
1830
|
+
var Zn = function() {
|
|
1831
1831
|
return typeof pt.ResizeObserver < "u" ? pt.ResizeObserver : Yr;
|
|
1832
1832
|
}();
|
|
1833
|
-
const
|
|
1833
|
+
const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1834
1834
|
__proto__: null,
|
|
1835
|
-
default:
|
|
1836
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1835
|
+
default: Zn
|
|
1836
|
+
}, Symbol.toStringTag, { value: "Module" })), ei = /* @__PURE__ */ Pn(Qn);
|
|
1837
1837
|
var pr;
|
|
1838
|
-
function
|
|
1838
|
+
function ti() {
|
|
1839
1839
|
if (pr) return Ne;
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = c(
|
|
1843
|
+
var e = c(V), t = c(Tn()), r = c(jn()), i = c(yt()), a = Ke(), s = Ln(), d = Dn(), l = Mn(), u = c(ei);
|
|
1844
1844
|
function c(_) {
|
|
1845
1845
|
return _ && _.__esModule ? _ : { default: _ };
|
|
1846
1846
|
}
|
|
@@ -1917,12 +1917,12 @@ function ri() {
|
|
|
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");
|
|
1920
|
-
_.prototype = Object.create(T && T.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), T &&
|
|
1920
|
+
_.prototype = Object.create(T && T.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), T && q(_, T);
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
return
|
|
1922
|
+
function q(_, T) {
|
|
1923
|
+
return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(E, j) {
|
|
1924
1924
|
return E.__proto__ = j, E;
|
|
1925
|
-
},
|
|
1925
|
+
}, q(_, T);
|
|
1926
1926
|
}
|
|
1927
1927
|
function g(_) {
|
|
1928
1928
|
var T = R();
|
|
@@ -2086,8 +2086,8 @@ function ri() {
|
|
|
2086
2086
|
left: -n + "px"
|
|
2087
2087
|
};
|
|
2088
2088
|
if (o.props.centerMode) {
|
|
2089
|
-
var
|
|
2090
|
-
W.left = "calc(".concat(W.left, " + (100% - ").concat(
|
|
2089
|
+
var B = "".concat(f[o.state.currentSlide], "px");
|
|
2090
|
+
W.left = "calc(".concat(W.left, " + (100% - ").concat(B, ") / 2 ) ");
|
|
2091
2091
|
}
|
|
2092
2092
|
return {
|
|
2093
2093
|
trackStyle: W
|
|
@@ -2144,12 +2144,12 @@ function ri() {
|
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
2146
|
}), h(S(o), "slideHandler", function(m) {
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, $ = f.beforeChange, D = f.onLazyLoad, z = f.speed, N = f.afterChange, W = o.state.currentSlide,
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, $ = f.beforeChange, D = f.onLazyLoad, z = f.speed, N = f.afterChange, W = o.state.currentSlide, B = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: m
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
2151
2151
|
useCSS: o.props.useCSS && !n
|
|
2152
|
-
})), K =
|
|
2152
|
+
})), K = B.state, G = B.nextState;
|
|
2153
2153
|
if (K) {
|
|
2154
2154
|
$ && $(W, K.currentSlide);
|
|
2155
2155
|
var J = K.lazyLoadedList.filter(function(te) {
|
|
@@ -2301,8 +2301,8 @@ function ri() {
|
|
|
2301
2301
|
onMouseLeave: z ? o.onDotsLeave : null
|
|
2302
2302
|
}), $ = /* @__PURE__ */ e.default.createElement(d.Dots, D);
|
|
2303
2303
|
}
|
|
2304
|
-
var N, W,
|
|
2305
|
-
|
|
2304
|
+
var N, W, B = (0, a.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2305
|
+
B.clickHandler = o.changeSlide, o.props.arrows && (N = /* @__PURE__ */ e.default.createElement(l.PrevArrow, B), W = /* @__PURE__ */ e.default.createElement(l.NextArrow, B));
|
|
2306
2306
|
var K = null;
|
|
2307
2307
|
o.props.vertical && (K = {
|
|
2308
2308
|
height: o.state.listHeight
|
|
@@ -2369,7 +2369,7 @@ function ri() {
|
|
|
2369
2369
|
}(e.default.Component), Ne;
|
|
2370
2370
|
}
|
|
2371
2371
|
var Lt, mr;
|
|
2372
|
-
function
|
|
2372
|
+
function ri() {
|
|
2373
2373
|
if (mr) return Lt;
|
|
2374
2374
|
mr = 1;
|
|
2375
2375
|
var e = function(t) {
|
|
@@ -2380,10 +2380,10 @@ function ni() {
|
|
|
2380
2380
|
return Lt = e, Lt;
|
|
2381
2381
|
}
|
|
2382
2382
|
var Dt, vr;
|
|
2383
|
-
function
|
|
2383
|
+
function ni() {
|
|
2384
2384
|
if (vr) return Dt;
|
|
2385
2385
|
vr = 1;
|
|
2386
|
-
var e =
|
|
2386
|
+
var e = ri(), t = function(a) {
|
|
2387
2387
|
var s = /[height|width]$/;
|
|
2388
2388
|
return s.test(a);
|
|
2389
2389
|
}, r = function(a) {
|
|
@@ -2401,12 +2401,12 @@ function ii() {
|
|
|
2401
2401
|
return Dt = i, Dt;
|
|
2402
2402
|
}
|
|
2403
2403
|
var gr;
|
|
2404
|
-
function
|
|
2404
|
+
function ii() {
|
|
2405
2405
|
return gr || (gr = 1, function(e) {
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t = d(
|
|
2409
|
+
var t = d(V), r = ti(), i = d(ni()), a = d(zr()), s = Ke();
|
|
2410
2410
|
function d(R) {
|
|
2411
2411
|
return R && R.__esModule ? R : { default: R };
|
|
2412
2412
|
}
|
|
@@ -2473,9 +2473,9 @@ function ai() {
|
|
|
2473
2473
|
function I(R) {
|
|
2474
2474
|
var y = U();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var h, P =
|
|
2476
|
+
var h, P = q(R);
|
|
2477
2477
|
if (y) {
|
|
2478
|
-
var A =
|
|
2478
|
+
var A = q(this).constructor;
|
|
2479
2479
|
h = Reflect.construct(P, arguments, A);
|
|
2480
2480
|
} else h = P.apply(this, arguments);
|
|
2481
2481
|
return C(this, h);
|
|
@@ -2500,10 +2500,10 @@ function ai() {
|
|
|
2500
2500
|
return !!R;
|
|
2501
2501
|
})();
|
|
2502
2502
|
}
|
|
2503
|
-
function
|
|
2504
|
-
return
|
|
2503
|
+
function q(R) {
|
|
2504
|
+
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(y) {
|
|
2505
2505
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
2506
|
-
},
|
|
2506
|
+
}, q(R);
|
|
2507
2507
|
}
|
|
2508
2508
|
function g(R, y, h) {
|
|
2509
2509
|
return (y = b(y)) in R ? Object.defineProperty(R, y, { value: h, enumerable: !0, configurable: !0, writable: !0 }) : R[y] = h, R;
|
|
@@ -2650,20 +2650,20 @@ function ai() {
|
|
|
2650
2650
|
}(Et)), Et;
|
|
2651
2651
|
}
|
|
2652
2652
|
var yr;
|
|
2653
|
-
function
|
|
2653
|
+
function ai() {
|
|
2654
2654
|
return yr || (yr = 1, function(e) {
|
|
2655
2655
|
Object.defineProperty(e, "__esModule", {
|
|
2656
2656
|
value: !0
|
|
2657
2657
|
}), e.default = void 0;
|
|
2658
|
-
var t = r(
|
|
2658
|
+
var t = r(ii());
|
|
2659
2659
|
function r(i) {
|
|
2660
2660
|
return i && i.__esModule ? i : { default: i };
|
|
2661
2661
|
}
|
|
2662
2662
|
e.default = t.default;
|
|
2663
2663
|
}(Pt)), Pt;
|
|
2664
2664
|
}
|
|
2665
|
-
var
|
|
2666
|
-
const
|
|
2665
|
+
var oi = ai();
|
|
2666
|
+
const si = /* @__PURE__ */ Vt(oi);
|
|
2667
2667
|
function Ht() {
|
|
2668
2668
|
return Ht = Object.assign ? Object.assign.bind() : function(e) {
|
|
2669
2669
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -2673,18 +2673,18 @@ function Ht() {
|
|
|
2673
2673
|
return e;
|
|
2674
2674
|
}, Ht.apply(null, arguments);
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2676
|
+
function li(e) {
|
|
2677
2677
|
if (e.sheet)
|
|
2678
2678
|
return e.sheet;
|
|
2679
2679
|
for (var t = 0; t < document.styleSheets.length; t++)
|
|
2680
2680
|
if (document.styleSheets[t].ownerNode === e)
|
|
2681
2681
|
return document.styleSheets[t];
|
|
2682
2682
|
}
|
|
2683
|
-
function
|
|
2683
|
+
function ui(e) {
|
|
2684
2684
|
var t = document.createElement("style");
|
|
2685
2685
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
2686
2686
|
}
|
|
2687
|
-
var
|
|
2687
|
+
var ci = /* @__PURE__ */ function() {
|
|
2688
2688
|
function e(r) {
|
|
2689
2689
|
var i = this;
|
|
2690
2690
|
this._insertTag = function(a) {
|
|
@@ -2696,10 +2696,10 @@ var fi = /* @__PURE__ */ function() {
|
|
|
2696
2696
|
return t.hydrate = function(i) {
|
|
2697
2697
|
i.forEach(this._insertTag);
|
|
2698
2698
|
}, t.insert = function(i) {
|
|
2699
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
2699
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ui(this));
|
|
2700
2700
|
var a = this.tags[this.tags.length - 1];
|
|
2701
2701
|
if (this.isSpeedy) {
|
|
2702
|
-
var s =
|
|
2702
|
+
var s = li(a);
|
|
2703
2703
|
try {
|
|
2704
2704
|
s.insertRule(i, s.cssRules.length);
|
|
2705
2705
|
} catch {
|
|
@@ -2713,14 +2713,14 @@ var fi = /* @__PURE__ */ function() {
|
|
|
2713
2713
|
return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
|
|
2714
2714
|
}), this.tags = [], this.ctr = 0;
|
|
2715
2715
|
}, e;
|
|
2716
|
-
}(), de = "-ms-", vt = "-moz-", re = "-webkit-",
|
|
2717
|
-
function
|
|
2716
|
+
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Vr = "comm", qt = "rule", Bt = "decl", fi = "@import", qr = "@keyframes", di = "@layer", hi = Math.abs, wt = String.fromCharCode, pi = Object.assign;
|
|
2717
|
+
function mi(e, t) {
|
|
2718
2718
|
return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2720
|
+
function Br(e) {
|
|
2721
2721
|
return e.trim();
|
|
2722
2722
|
}
|
|
2723
|
-
function
|
|
2723
|
+
function vi(e, t) {
|
|
2724
2724
|
return (e = t.exec(e)) ? e[0] : e;
|
|
2725
2725
|
}
|
|
2726
2726
|
function ne(e, t, r) {
|
|
@@ -2732,7 +2732,7 @@ function zt(e, t) {
|
|
|
2732
2732
|
function fe(e, t) {
|
|
2733
2733
|
return e.charCodeAt(t) | 0;
|
|
2734
2734
|
}
|
|
2735
|
-
function
|
|
2735
|
+
function qe(e, t, r) {
|
|
2736
2736
|
return e.slice(t, r);
|
|
2737
2737
|
}
|
|
2738
2738
|
function ge(e) {
|
|
@@ -2744,7 +2744,7 @@ function Xt(e) {
|
|
|
2744
2744
|
function it(e, t) {
|
|
2745
2745
|
return t.push(e), e;
|
|
2746
2746
|
}
|
|
2747
|
-
function
|
|
2747
|
+
function gi(e, t) {
|
|
2748
2748
|
return e.map(t).join("");
|
|
2749
2749
|
}
|
|
2750
2750
|
var St = 1, Le = 1, Xr = 0, he = 0, se = 0, De = "";
|
|
@@ -2752,12 +2752,12 @@ function xt(e, t, r, i, a, s, d) {
|
|
|
2752
2752
|
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length: d, return: "" };
|
|
2753
2753
|
}
|
|
2754
2754
|
function Ue(e, t) {
|
|
2755
|
-
return
|
|
2755
|
+
return pi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2757
|
+
function yi() {
|
|
2758
2758
|
return se;
|
|
2759
2759
|
}
|
|
2760
|
-
function
|
|
2760
|
+
function bi() {
|
|
2761
2761
|
return se = he > 0 ? fe(De, --he) : 0, Le--, se === 10 && (Le = 1, St--), se;
|
|
2762
2762
|
}
|
|
2763
2763
|
function me() {
|
|
@@ -2770,9 +2770,9 @@ function ot() {
|
|
|
2770
2770
|
return he;
|
|
2771
2771
|
}
|
|
2772
2772
|
function Je(e, t) {
|
|
2773
|
-
return
|
|
2773
|
+
return qe(De, e, t);
|
|
2774
2774
|
}
|
|
2775
|
-
function
|
|
2775
|
+
function Be(e) {
|
|
2776
2776
|
switch (e) {
|
|
2777
2777
|
// \0 \t \n \r \s whitespace token
|
|
2778
2778
|
case 0:
|
|
@@ -2817,14 +2817,14 @@ function Kr(e) {
|
|
|
2817
2817
|
return De = "", e;
|
|
2818
2818
|
}
|
|
2819
2819
|
function st(e) {
|
|
2820
|
-
return
|
|
2820
|
+
return Br(Je(he - 1, Nt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2822
|
+
function wi(e) {
|
|
2823
2823
|
for (; (se = be()) && se < 33; )
|
|
2824
2824
|
me();
|
|
2825
|
-
return
|
|
2825
|
+
return Be(e) > 2 || Be(se) > 3 ? "" : " ";
|
|
2826
2826
|
}
|
|
2827
|
-
function
|
|
2827
|
+
function Si(e, t) {
|
|
2828
2828
|
for (; --t && me() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
|
|
2829
2829
|
;
|
|
2830
2830
|
return Je(e, ot() + (t < 6 && be() == 32 && me() == 32));
|
|
@@ -2851,22 +2851,22 @@ function Nt(e) {
|
|
|
2851
2851
|
}
|
|
2852
2852
|
return he;
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2854
|
+
function xi(e, t) {
|
|
2855
2855
|
for (; me() && e + se !== 57; )
|
|
2856
2856
|
if (e + se === 84 && be() === 47)
|
|
2857
2857
|
break;
|
|
2858
2858
|
return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : me());
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2861
|
-
for (; !
|
|
2860
|
+
function Oi(e) {
|
|
2861
|
+
for (; !Be(be()); )
|
|
2862
2862
|
me();
|
|
2863
2863
|
return Je(e, he);
|
|
2864
2864
|
}
|
|
2865
|
-
function
|
|
2865
|
+
function ki(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, d, l, u) {
|
|
2869
|
-
for (var c = 0, v = 0, w = d, x = 0, L = 0, k = 0, p = 1, I = 1, C = 1, F = 0, U = "",
|
|
2869
|
+
for (var c = 0, v = 0, w = d, x = 0, L = 0, k = 0, p = 1, I = 1, C = 1, F = 0, U = "", q = a, g = s, b = i, S = U; I; )
|
|
2870
2870
|
switch (k = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
@@ -2885,18 +2885,18 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
S +=
|
|
2888
|
+
S += wi(k);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
2892
|
-
S +=
|
|
2892
|
+
S += Si(ot() - 1, 7);
|
|
2893
2893
|
continue;
|
|
2894
2894
|
// /
|
|
2895
2895
|
case 47:
|
|
2896
2896
|
switch (be()) {
|
|
2897
2897
|
case 42:
|
|
2898
2898
|
case 47:
|
|
2899
|
-
it(
|
|
2899
|
+
it(Ci(xi(me(), ot()), t, r), u);
|
|
2900
2900
|
break;
|
|
2901
2901
|
default:
|
|
2902
2902
|
S += "/";
|
|
@@ -2923,9 +2923,9 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2923
2923
|
S += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(b = br(S, t, r, c, v, a, l, U,
|
|
2926
|
+
if (it(b = br(S, t, r, c, v, a, l, U, q = [], g = [], w), s), F === 123)
|
|
2927
2927
|
if (v === 0)
|
|
2928
|
-
lt(S, t, b, b,
|
|
2928
|
+
lt(S, t, b, b, q, s, w, l, g);
|
|
2929
2929
|
else
|
|
2930
2930
|
switch (x === 99 && fe(S, 3) === 110 ? 100 : x) {
|
|
2931
2931
|
// d l m s
|
|
@@ -2933,7 +2933,7 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e, b, b, i && it(br(e, b, b, 0, 0, a, l, U, a,
|
|
2936
|
+
lt(e, b, b, i && it(br(e, b, b, 0, 0, a, l, U, a, q = [], w), g), a, g, w, l, i ? q : g);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
2939
|
lt(S, b, b, b, [""], g, 0, l, g);
|
|
@@ -2948,7 +2948,7 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (F == 123)
|
|
2950
2950
|
--p;
|
|
2951
|
-
else if (F == 125 && p++ == 0 &&
|
|
2951
|
+
else if (F == 125 && p++ == 0 && bi() == 125)
|
|
2952
2952
|
continue;
|
|
2953
2953
|
}
|
|
2954
2954
|
switch (S += wt(F), F * p) {
|
|
@@ -2962,7 +2962,7 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
be() === 45 && (S += st(me())), x = be(), v = w = ge(U = S +=
|
|
2965
|
+
be() === 45 && (S += st(me())), x = be(), v = w = ge(U = S += Oi(ot())), F++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
@@ -2973,38 +2973,38 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, d, l, u, c, v) {
|
|
2975
2975
|
for (var w = a - 1, x = a === 0 ? s : [""], L = Xt(x), k = 0, p = 0, I = 0; k < i; ++k)
|
|
2976
|
-
for (var C = 0, F =
|
|
2977
|
-
(U =
|
|
2978
|
-
return xt(e, t, r, a === 0 ?
|
|
2976
|
+
for (var C = 0, F = qe(e, w + 1, w = hi(p = d[k])), U = e; C < L; ++C)
|
|
2977
|
+
(U = Br(p > 0 ? x[C] + " " + F : ne(F, /&\f/g, x[C]))) && (u[I++] = U);
|
|
2978
|
+
return xt(e, t, r, a === 0 ? qt : l, u, c, v);
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2981
|
-
return xt(e, t, r,
|
|
2980
|
+
function Ci(e, t, r) {
|
|
2981
|
+
return xt(e, t, r, Vr, wt(yi()), qe(e, 2, -2), 0);
|
|
2982
2982
|
}
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
2984
|
-
return xt(e, t, r,
|
|
2984
|
+
return xt(e, t, r, Bt, qe(e, 0, i), qe(e, i + 1, -1), i);
|
|
2985
2985
|
}
|
|
2986
2986
|
function Te(e, t) {
|
|
2987
2987
|
for (var r = "", i = Xt(e), a = 0; a < i; a++)
|
|
2988
2988
|
r += t(e[a], a, e, t) || "";
|
|
2989
2989
|
return r;
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function Pi(e, t, r, i) {
|
|
2992
2992
|
switch (e.type) {
|
|
2993
|
-
case hi:
|
|
2994
|
-
if (e.children.length) break;
|
|
2995
2993
|
case di:
|
|
2996
|
-
|
|
2994
|
+
if (e.children.length) break;
|
|
2995
|
+
case fi:
|
|
2996
|
+
case Bt:
|
|
2997
2997
|
return e.return = e.return || e.value;
|
|
2998
|
-
case
|
|
2998
|
+
case Vr:
|
|
2999
2999
|
return "";
|
|
3000
|
-
case
|
|
3000
|
+
case qr:
|
|
3001
3001
|
return e.return = e.value + "{" + Te(e.children, i) + "}";
|
|
3002
|
-
case
|
|
3002
|
+
case qt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
3004
3004
|
}
|
|
3005
3005
|
return ge(r = Te(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3006
3006
|
}
|
|
3007
|
-
function
|
|
3007
|
+
function Ei(e) {
|
|
3008
3008
|
var t = Xt(e);
|
|
3009
3009
|
return function(r, i, a, s) {
|
|
3010
3010
|
for (var d = "", l = 0; l < t; l++)
|
|
@@ -3012,7 +3012,7 @@ function Ri(e) {
|
|
|
3012
3012
|
return d;
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
3015
|
-
function
|
|
3015
|
+
function Ri(e) {
|
|
3016
3016
|
return function(t) {
|
|
3017
3017
|
t.root || (t = t.return) && e(t);
|
|
3018
3018
|
};
|
|
@@ -3023,16 +3023,16 @@ function Jr(e) {
|
|
|
3023
3023
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
|
-
var
|
|
3027
|
-
for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (r[i] = 1), !
|
|
3026
|
+
var _i = function(t, r, i) {
|
|
3027
|
+
for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (r[i] = 1), !Be(s); )
|
|
3028
3028
|
me();
|
|
3029
3029
|
return Je(t, he);
|
|
3030
|
-
},
|
|
3030
|
+
}, Ti = function(t, r) {
|
|
3031
3031
|
var i = -1, a = 44;
|
|
3032
3032
|
do
|
|
3033
|
-
switch (
|
|
3033
|
+
switch (Be(a)) {
|
|
3034
3034
|
case 0:
|
|
3035
|
-
a === 38 && be() === 12 && (r[i] = 1), t[i] +=
|
|
3035
|
+
a === 38 && be() === 12 && (r[i] = 1), t[i] += _i(he - 1, r, i);
|
|
3036
3036
|
break;
|
|
3037
3037
|
case 2:
|
|
3038
3038
|
t[i] += st(a);
|
|
@@ -3048,9 +3048,9 @@ var Ti = function(t, r, i) {
|
|
|
3048
3048
|
}
|
|
3049
3049
|
while (a = me());
|
|
3050
3050
|
return t;
|
|
3051
|
-
},
|
|
3052
|
-
return Kr(
|
|
3053
|
-
}, Sr = /* @__PURE__ */ new WeakMap(),
|
|
3051
|
+
}, ji = function(t, r) {
|
|
3052
|
+
return Kr(Ti(Gr(t), r));
|
|
3053
|
+
}, Sr = /* @__PURE__ */ new WeakMap(), Li = function(t) {
|
|
3054
3054
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
3055
3055
|
// negative .length indicates that this rule has been already prefixed
|
|
3056
3056
|
t.length < 1)) {
|
|
@@ -3058,12 +3058,12 @@ var Ti = function(t, r, i) {
|
|
|
3058
3058
|
if (i = i.parent, !i) return;
|
|
3059
3059
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [], d =
|
|
3061
|
+
for (var s = [], d = ji(r, s), l = i.props, u = 0, c = 0; u < d.length; u++)
|
|
3062
3062
|
for (var v = 0; v < l.length; v++, c++)
|
|
3063
3063
|
t.props[c] = s[u] ? d[u].replace(/&\f/g, l[v]) : l[v] + " " + d[u];
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
|
-
},
|
|
3066
|
+
}, Di = function(t) {
|
|
3067
3067
|
if (t.type === "decl") {
|
|
3068
3068
|
var r = t.value;
|
|
3069
3069
|
// charcode for l
|
|
@@ -3072,7 +3072,7 @@ var Ti = function(t, r, i) {
|
|
|
3072
3072
|
}
|
|
3073
3073
|
};
|
|
3074
3074
|
function Zr(e, t) {
|
|
3075
|
-
switch (
|
|
3075
|
+
switch (mi(e, t)) {
|
|
3076
3076
|
// color-adjust
|
|
3077
3077
|
case 5103:
|
|
3078
3078
|
return re + "print-" + e + e;
|
|
@@ -3213,18 +3213,18 @@ function Zr(e, t) {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
return e;
|
|
3215
3215
|
}
|
|
3216
|
-
var
|
|
3216
|
+
var Mi = function(t, r, i, a) {
|
|
3217
3217
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
3218
|
-
case
|
|
3218
|
+
case Bt:
|
|
3219
3219
|
t.return = Zr(t.value, t.length);
|
|
3220
3220
|
break;
|
|
3221
|
-
case
|
|
3221
|
+
case qr:
|
|
3222
3222
|
return Te([Ue(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], a);
|
|
3225
|
-
case
|
|
3226
|
-
if (t.length) return
|
|
3227
|
-
switch (
|
|
3225
|
+
case qt:
|
|
3226
|
+
if (t.length) return gi(t.props, function(s) {
|
|
3227
|
+
switch (vi(s, /(::plac\w+|:read-\w+)/)) {
|
|
3228
3228
|
// :read-(only|write)
|
|
3229
3229
|
case ":read-only":
|
|
3230
3230
|
case ":read-write":
|
|
@@ -3244,7 +3244,7 @@ var $i = function(t, r, i, a) {
|
|
|
3244
3244
|
return "";
|
|
3245
3245
|
});
|
|
3246
3246
|
}
|
|
3247
|
-
},
|
|
3247
|
+
}, $i = [Mi], Ii = function(t) {
|
|
3248
3248
|
var r = t.key;
|
|
3249
3249
|
if (r === "css") {
|
|
3250
3250
|
var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -3253,7 +3253,7 @@ var $i = function(t, r, i, a) {
|
|
|
3253
3253
|
I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
3254
3254
|
});
|
|
3255
3255
|
}
|
|
3256
|
-
var a = t.stylisPlugins ||
|
|
3256
|
+
var a = t.stylisPlugins || $i, s = {}, d, l = [];
|
|
3257
3257
|
d = t.container || document.head, Array.prototype.forEach.call(
|
|
3258
3258
|
// this means we will ignore elements which don't have a space in them which
|
|
3259
3259
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
@@ -3264,12 +3264,12 @@ var $i = function(t, r, i, a) {
|
|
|
3264
3264
|
l.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
|
-
var u, c = [
|
|
3267
|
+
var u, c = [Li, Di];
|
|
3268
3268
|
{
|
|
3269
|
-
var v, w = [
|
|
3269
|
+
var v, w = [Pi, Ri(function(p) {
|
|
3270
3270
|
v.insert(p);
|
|
3271
|
-
})], x =
|
|
3272
|
-
return Te(
|
|
3271
|
+
})], x = Ei(c.concat(a, w)), L = function(I) {
|
|
3272
|
+
return Te(ki(I), x);
|
|
3273
3273
|
};
|
|
3274
3274
|
u = function(I, C, F, U) {
|
|
3275
3275
|
v = F, L(I ? I + "{" + C.styles + "}" : C.styles), U && (k.inserted[C.name] = !0);
|
|
@@ -3277,7 +3277,7 @@ var $i = function(t, r, i, a) {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
var k = {
|
|
3279
3279
|
key: r,
|
|
3280
|
-
sheet: new
|
|
3280
|
+
sheet: new ci({
|
|
3281
3281
|
key: r,
|
|
3282
3282
|
container: d,
|
|
3283
3283
|
nonce: t.nonce,
|
|
@@ -3291,8 +3291,8 @@ var $i = function(t, r, i, a) {
|
|
|
3291
3291
|
insert: u
|
|
3292
3292
|
};
|
|
3293
3293
|
return k.sheet.hydrate(l), k;
|
|
3294
|
-
},
|
|
3295
|
-
function
|
|
3294
|
+
}, Ai = !0;
|
|
3295
|
+
function Hi(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
3297
3297
|
return r.split(" ").forEach(function(a) {
|
|
3298
3298
|
e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
|
|
@@ -3309,8 +3309,8 @@ var Qr = function(t, r, i) {
|
|
|
3309
3309
|
// in node since emotion-server relies on whether a style is in
|
|
3310
3310
|
// the registered cache to know whether a style is global or not
|
|
3311
3311
|
// also, note that this check will be dead code eliminated in the browser
|
|
3312
|
-
|
|
3313
|
-
},
|
|
3312
|
+
Ai === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
|
|
3313
|
+
}, zi = function(t, r, i) {
|
|
3314
3314
|
Qr(t, r, i);
|
|
3315
3315
|
var a = t.key + "-" + r.name;
|
|
3316
3316
|
if (t.inserted[r.name] === void 0) {
|
|
@@ -3320,7 +3320,7 @@ var Qr = function(t, r, i) {
|
|
|
3320
3320
|
while (s !== void 0);
|
|
3321
3321
|
}
|
|
3322
3322
|
};
|
|
3323
|
-
function
|
|
3323
|
+
function Ni(e) {
|
|
3324
3324
|
for (var t = 0, r, i = 0, a = e.length; a >= 4; ++i, a -= 4)
|
|
3325
3325
|
r = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, r = /* Math.imul(k, m): */
|
|
3326
3326
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -3339,7 +3339,7 @@ function Fi(e) {
|
|
|
3339
3339
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
3340
3340
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
3341
3341
|
}
|
|
3342
|
-
var
|
|
3342
|
+
var Fi = {
|
|
3343
3343
|
animationIterationCount: 1,
|
|
3344
3344
|
aspectRatio: 1,
|
|
3345
3345
|
borderImageOutset: 1,
|
|
@@ -3388,18 +3388,18 @@ var Wi = {
|
|
|
3388
3388
|
strokeMiterlimit: 1,
|
|
3389
3389
|
strokeOpacity: 1,
|
|
3390
3390
|
strokeWidth: 1
|
|
3391
|
-
},
|
|
3391
|
+
}, Wi = /[A-Z]|^ms/g, Ui = /_EMO_([^_]+?)_([^]*?)_EMO_/g, en = function(t) {
|
|
3392
3392
|
return t.charCodeAt(1) === 45;
|
|
3393
3393
|
}, xr = function(t) {
|
|
3394
3394
|
return t != null && typeof t != "boolean";
|
|
3395
3395
|
}, Mt = /* @__PURE__ */ Jr(function(e) {
|
|
3396
|
-
return en(e) ? e : e.replace(
|
|
3396
|
+
return en(e) ? e : e.replace(Wi, "-$&").toLowerCase();
|
|
3397
3397
|
}), Or = function(t, r) {
|
|
3398
3398
|
switch (t) {
|
|
3399
3399
|
case "animation":
|
|
3400
3400
|
case "animationName":
|
|
3401
3401
|
if (typeof r == "string")
|
|
3402
|
-
return r.replace(
|
|
3402
|
+
return r.replace(Ui, function(i, a, s) {
|
|
3403
3403
|
return ye = {
|
|
3404
3404
|
name: a,
|
|
3405
3405
|
styles: s,
|
|
@@ -3407,7 +3407,7 @@ var Wi = {
|
|
|
3407
3407
|
}, a;
|
|
3408
3408
|
});
|
|
3409
3409
|
}
|
|
3410
|
-
return
|
|
3410
|
+
return Fi[t] !== 1 && !en(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
3411
3411
|
};
|
|
3412
3412
|
function Xe(e, t, r) {
|
|
3413
3413
|
if (r == null)
|
|
@@ -3439,7 +3439,7 @@ function Xe(e, t, r) {
|
|
|
3439
3439
|
var l = s.styles + ";";
|
|
3440
3440
|
return l;
|
|
3441
3441
|
}
|
|
3442
|
-
return
|
|
3442
|
+
return Yi(e, t, r);
|
|
3443
3443
|
}
|
|
3444
3444
|
case "function": {
|
|
3445
3445
|
if (e !== void 0) {
|
|
@@ -3455,7 +3455,7 @@ function Xe(e, t, r) {
|
|
|
3455
3455
|
var w = t[v];
|
|
3456
3456
|
return w !== void 0 ? w : v;
|
|
3457
3457
|
}
|
|
3458
|
-
function
|
|
3458
|
+
function Yi(e, t, r) {
|
|
3459
3459
|
var i = "";
|
|
3460
3460
|
if (Array.isArray(r))
|
|
3461
3461
|
for (var a = 0; a < r.length; a++)
|
|
@@ -3485,7 +3485,7 @@ function qi(e, t, r) {
|
|
|
3485
3485
|
return i;
|
|
3486
3486
|
}
|
|
3487
3487
|
var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, ye;
|
|
3488
|
-
function
|
|
3488
|
+
function Vi(e, t, r) {
|
|
3489
3489
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
3490
3490
|
return e[0];
|
|
3491
3491
|
var i = !0, a = "";
|
|
@@ -3505,44 +3505,44 @@ function Bi(e, t, r) {
|
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
3506
|
for (var c = "", v; (v = kr.exec(a)) !== null; )
|
|
3507
3507
|
c += "-" + v[1];
|
|
3508
|
-
var w =
|
|
3508
|
+
var w = Ni(a) + c;
|
|
3509
3509
|
return {
|
|
3510
3510
|
name: w,
|
|
3511
3511
|
styles: a,
|
|
3512
3512
|
next: ye
|
|
3513
3513
|
};
|
|
3514
3514
|
}
|
|
3515
|
-
var
|
|
3515
|
+
var qi = function(t) {
|
|
3516
3516
|
return t();
|
|
3517
|
-
},
|
|
3517
|
+
}, Bi = M.useInsertionEffect ? M.useInsertionEffect : !1, Xi = Bi || qi, tn = /* @__PURE__ */ M.createContext(
|
|
3518
3518
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3519
3519
|
// because this module is primarily intended for the browser and node
|
|
3520
3520
|
// but it's also required in react native and similar environments sometimes
|
|
3521
3521
|
// and we could have a special build just for that
|
|
3522
3522
|
// but this is much easier and the native packages
|
|
3523
3523
|
// might use a different theme context in the future anyway
|
|
3524
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
3524
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Ii({
|
|
3525
3525
|
key: "css"
|
|
3526
3526
|
}) : null
|
|
3527
3527
|
);
|
|
3528
3528
|
tn.Provider;
|
|
3529
|
-
var
|
|
3530
|
-
return /* @__PURE__ */
|
|
3529
|
+
var Gi = function(t) {
|
|
3530
|
+
return /* @__PURE__ */ kn(function(r, i) {
|
|
3531
3531
|
var a = Yt(tn);
|
|
3532
3532
|
return t(r, a, i);
|
|
3533
3533
|
});
|
|
3534
|
-
},
|
|
3534
|
+
}, Ki = /* @__PURE__ */ M.createContext({}), Ji = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Zi = /* @__PURE__ */ Jr(
|
|
3535
3535
|
function(e) {
|
|
3536
|
-
return
|
|
3536
|
+
return Ji.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
3537
3537
|
}
|
|
3538
3538
|
/* Z+1 */
|
|
3539
|
-
),
|
|
3539
|
+
), Qi = Zi, ea = 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
|
-
t.charCodeAt(0) > 96 ?
|
|
3545
|
+
t.charCodeAt(0) > 96 ? Qi : ea;
|
|
3546
3546
|
}, Pr = function(t, r, i) {
|
|
3547
3547
|
var a;
|
|
3548
3548
|
if (r) {
|
|
@@ -3552,12 +3552,12 @@ var Ki = function(t) {
|
|
|
3552
3552
|
} : s;
|
|
3553
3553
|
}
|
|
3554
3554
|
return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
|
|
3555
|
-
},
|
|
3555
|
+
}, ta = function(t) {
|
|
3556
3556
|
var r = t.cache, i = t.serialized, a = t.isStringTag;
|
|
3557
|
-
return Qr(r, i, a),
|
|
3558
|
-
return
|
|
3557
|
+
return Qr(r, i, a), Xi(function() {
|
|
3558
|
+
return zi(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
|
-
},
|
|
3560
|
+
}, ra = function e(t, r) {
|
|
3561
3561
|
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, d;
|
|
3562
3562
|
r !== void 0 && (s = r.label, d = r.target);
|
|
3563
3563
|
var l = Pr(t, r, i), u = l || Cr(a), c = !u("as");
|
|
@@ -3571,21 +3571,21 @@ var Ki = function(t) {
|
|
|
3571
3571
|
for (var L = v.length, k = 1; k < L; k++)
|
|
3572
3572
|
w.push(v[k], x[k]);
|
|
3573
3573
|
}
|
|
3574
|
-
var p =
|
|
3575
|
-
var U = c && I.as || a,
|
|
3574
|
+
var p = Gi(function(I, C, F) {
|
|
3575
|
+
var U = c && I.as || a, q = "", g = [], b = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
3577
|
b = {};
|
|
3578
3578
|
for (var S in I)
|
|
3579
3579
|
b[S] = I[S];
|
|
3580
|
-
b.theme = M.useContext(
|
|
3580
|
+
b.theme = M.useContext(Ki);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof I.className == "string" ?
|
|
3583
|
-
var R =
|
|
3584
|
-
|
|
3582
|
+
typeof I.className == "string" ? q = Hi(C.registered, g, I.className) : I.className != null && (q = I.className + " ");
|
|
3583
|
+
var R = Vi(w.concat(g), C.registered, b);
|
|
3584
|
+
q += C.key + "-" + R.name, d !== void 0 && (q += " " + d);
|
|
3585
3585
|
var y = c && l === void 0 ? Cr(U) : u, h = {};
|
|
3586
3586
|
for (var P in I)
|
|
3587
3587
|
c && P === "as" || y(P) && (h[P] = I[P]);
|
|
3588
|
-
return h.className =
|
|
3588
|
+
return h.className = q, F && (h.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ta, {
|
|
3589
3589
|
cache: C,
|
|
3590
3590
|
serialized: R,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
@@ -3602,7 +3602,7 @@ var Ki = function(t) {
|
|
|
3602
3602
|
return F.apply(void 0, w);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
|
-
},
|
|
3605
|
+
}, na = [
|
|
3606
3606
|
"a",
|
|
3607
3607
|
"abbr",
|
|
3608
3608
|
"address",
|
|
@@ -3738,11 +3738,11 @@ var Ki = function(t) {
|
|
|
3738
3738
|
"svg",
|
|
3739
3739
|
"text",
|
|
3740
3740
|
"tspan"
|
|
3741
|
-
], Pe =
|
|
3742
|
-
|
|
3741
|
+
], Pe = ra.bind(null);
|
|
3742
|
+
na.forEach(function(e) {
|
|
3743
3743
|
Pe[e] = Pe(e);
|
|
3744
3744
|
});
|
|
3745
|
-
const
|
|
3745
|
+
const ia = Pe.div`
|
|
3746
3746
|
width: 100%;
|
|
3747
3747
|
height: fit-content;
|
|
3748
3748
|
|
|
@@ -3818,7 +3818,7 @@ const aa = Pe.div`
|
|
|
3818
3818
|
opacity: 0.75;
|
|
3819
3819
|
color: black;
|
|
3820
3820
|
}
|
|
3821
|
-
`,
|
|
3821
|
+
`, aa = Pe.div`
|
|
3822
3822
|
box-sizing: border-box;
|
|
3823
3823
|
display: flex;
|
|
3824
3824
|
flex-direction: column;
|
|
@@ -3831,13 +3831,13 @@ const aa = Pe.div`
|
|
|
3831
3831
|
box-sizing: border-box;
|
|
3832
3832
|
display: flex;
|
|
3833
3833
|
}
|
|
3834
|
-
`,
|
|
3834
|
+
`, as = ({
|
|
3835
3835
|
styles: e,
|
|
3836
3836
|
content: t,
|
|
3837
3837
|
settings: r,
|
|
3838
3838
|
gap: i = 15
|
|
3839
3839
|
}) => {
|
|
3840
|
-
const [a, s] =
|
|
3840
|
+
const [a, s] = V.useState(1), d = V.useRef(null), l = V.useRef(null);
|
|
3841
3841
|
var u = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3849,7 +3849,7 @@ const aa = Pe.div`
|
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
3851
|
const c = t.map((w, x) => /* @__PURE__ */ X.jsx(
|
|
3852
|
-
|
|
3852
|
+
aa,
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: x === 0 ? l : void 0,
|
|
3855
3855
|
styles: {
|
|
@@ -3874,10 +3874,10 @@ const aa = Pe.div`
|
|
|
3874
3874
|
res: L
|
|
3875
3875
|
}), s(L);
|
|
3876
3876
|
};
|
|
3877
|
-
return
|
|
3877
|
+
return V.useEffect(() => {
|
|
3878
3878
|
v();
|
|
3879
|
-
}, [d, l]), /* @__PURE__ */ X.jsx(
|
|
3880
|
-
},
|
|
3879
|
+
}, [d, l]), /* @__PURE__ */ X.jsx(ia, { ref: d, styles: { ...e }, children: c.length > 0 && /* @__PURE__ */ X.jsx(si, { ...u, slidesToShow: a, children: c }) });
|
|
3880
|
+
}, os = ({
|
|
3881
3881
|
name: e,
|
|
3882
3882
|
checked: t,
|
|
3883
3883
|
onToggle: r,
|
|
@@ -3957,11 +3957,11 @@ const aa = Pe.div`
|
|
|
3957
3957
|
a
|
|
3958
3958
|
]
|
|
3959
3959
|
}
|
|
3960
|
-
),
|
|
3961
|
-
const [e, t] =
|
|
3960
|
+
), ss = (e) => Ir(e, []), oa = () => {
|
|
3961
|
+
const [e, t] = V.useState(
|
|
3962
3962
|
{}
|
|
3963
|
-
), [r, i] =
|
|
3964
|
-
return
|
|
3963
|
+
), [r, i] = V.useState(!1);
|
|
3964
|
+
return V.useEffect(() => {
|
|
3965
3965
|
const a = (l) => {
|
|
3966
3966
|
t({ x: l.clientX, y: l.clientY });
|
|
3967
3967
|
}, s = (l) => {
|
|
@@ -3976,15 +3976,15 @@ const aa = Pe.div`
|
|
|
3976
3976
|
pointerPosition: e,
|
|
3977
3977
|
isPointerDown: r
|
|
3978
3978
|
};
|
|
3979
|
-
},
|
|
3979
|
+
}, sa = ({
|
|
3980
3980
|
ref: e,
|
|
3981
3981
|
onDrag: t,
|
|
3982
3982
|
onDragStart: r,
|
|
3983
3983
|
onDragEnd: i
|
|
3984
3984
|
}) => {
|
|
3985
|
-
const a =
|
|
3985
|
+
const a = V.useRef(!1), s = V.useRef(!1), { pointerPosition: d, isPointerDown: l } = oa(), u = V.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
|
-
}), c =
|
|
3987
|
+
}), c = V.useCallback(
|
|
3988
3988
|
(k) => {
|
|
3989
3989
|
if (!e || !e.current || !u.current)
|
|
3990
3990
|
return;
|
|
@@ -3992,21 +3992,21 @@ const aa = Pe.div`
|
|
|
3992
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
|
-
), v =
|
|
3995
|
+
), v = V.useCallback(
|
|
3996
3996
|
(k) => {
|
|
3997
3997
|
k.preventDefault(), k.stopPropagation(), u.current.isDragging = !0, u.current.startPosY = k.clientY, u.current.startPosX = k.clientX;
|
|
3998
3998
|
const p = c({ x: k.clientX, y: k.clientY });
|
|
3999
3999
|
p && (u.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
4001
|
[c]
|
|
4002
|
-
), w =
|
|
4002
|
+
), w = V.useCallback(
|
|
4003
4003
|
(k) => {
|
|
4004
4004
|
u.current.isDragging = !1;
|
|
4005
4005
|
const p = c(d);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, u.current = p);
|
|
4007
4007
|
},
|
|
4008
4008
|
[c, d]
|
|
4009
|
-
), x =
|
|
4009
|
+
), x = V.useCallback(
|
|
4010
4010
|
(k) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
@@ -4017,21 +4017,21 @@ const aa = Pe.div`
|
|
|
4017
4017
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), u.current = p);
|
|
4018
4018
|
},
|
|
4019
4019
|
[c, d]
|
|
4020
|
-
), L =
|
|
4020
|
+
), L = V.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
4023
|
await new Promise((k) => setTimeout(k, 300));
|
|
4024
4024
|
a.current = !0, e.current.onpointerdown = v, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
4026
|
}, [e?.current, v]);
|
|
4027
|
-
|
|
4027
|
+
V.useEffect(() => {
|
|
4028
4028
|
L();
|
|
4029
|
-
}, [L]),
|
|
4029
|
+
}, [L]), V.useEffect(() => {
|
|
4030
4030
|
x();
|
|
4031
|
-
}, [d]),
|
|
4031
|
+
}, [d]), V.useEffect(() => {
|
|
4032
4032
|
l !== s.current && (s.current = l, l || w());
|
|
4033
4033
|
}, [l, s.current]);
|
|
4034
|
-
},
|
|
4034
|
+
}, ls = () => {
|
|
4035
4035
|
const e = (l, u) => {
|
|
4036
4036
|
if (!u) return l;
|
|
4037
4037
|
const c = new URLSearchParams();
|
|
@@ -4075,25 +4075,25 @@ const aa = Pe.div`
|
|
|
4075
4075
|
}
|
|
4076
4076
|
};
|
|
4077
4077
|
};
|
|
4078
|
-
function
|
|
4079
|
-
const [t, r] = Ar(!1), i =
|
|
4078
|
+
function us(e) {
|
|
4079
|
+
const [t, r] = Ar(!1), i = V.useMemo(
|
|
4080
4080
|
() => new IntersectionObserver(
|
|
4081
4081
|
([a]) => r(a.isIntersecting)
|
|
4082
4082
|
),
|
|
4083
4083
|
[]
|
|
4084
4084
|
);
|
|
4085
|
-
return
|
|
4085
|
+
return V.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
|
|
4086
4086
|
}
|
|
4087
|
-
const
|
|
4087
|
+
const la = {
|
|
4088
4088
|
xs: 0,
|
|
4089
4089
|
sm: 420,
|
|
4090
4090
|
md: 768,
|
|
4091
4091
|
lg: 991,
|
|
4092
4092
|
xl: 1200,
|
|
4093
4093
|
xxl: 1440
|
|
4094
|
-
},
|
|
4094
|
+
}, cs = (e) => {
|
|
4095
4095
|
const t = {
|
|
4096
|
-
...
|
|
4096
|
+
...la,
|
|
4097
4097
|
...e?.breakpointConfiguration
|
|
4098
4098
|
}, [r, i] = Ar(
|
|
4099
4099
|
Er(t)
|
|
@@ -4103,10 +4103,10 @@ const ua = {
|
|
|
4103
4103
|
return Ir(() => (window.addEventListener("resize", a), () => {
|
|
4104
4104
|
window.removeEventListener("resize", a);
|
|
4105
4105
|
}), []), Hr(() => r, [r]);
|
|
4106
|
-
},
|
|
4107
|
-
const t = window.innerWidth, r = window.innerHeight, i =
|
|
4106
|
+
}, ua = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ca = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
|
|
4107
|
+
const t = window.innerWidth, r = window.innerHeight, i = ua(t, e), a = ca(t, e);
|
|
4108
4108
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
|
|
4109
|
-
},
|
|
4109
|
+
}, fs = (e) => {
|
|
4110
4110
|
const t = e.translations, r = e.language, i = (s, d) => {
|
|
4111
4111
|
if (!s)
|
|
4112
4112
|
return;
|
|
@@ -4129,7 +4129,7 @@ const ua = {
|
|
|
4129
4129
|
};
|
|
4130
4130
|
};
|
|
4131
4131
|
var Ye = {}, Rr;
|
|
4132
|
-
function
|
|
4132
|
+
function fa() {
|
|
4133
4133
|
if (Rr) return Ye;
|
|
4134
4134
|
Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = d, Ye.serialize = c;
|
|
4135
4135
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
@@ -4147,18 +4147,18 @@ function da() {
|
|
|
4147
4147
|
const F = x.indexOf("=", C);
|
|
4148
4148
|
if (F === -1)
|
|
4149
4149
|
break;
|
|
4150
|
-
const U = x.indexOf(";", C),
|
|
4151
|
-
if (F >
|
|
4150
|
+
const U = x.indexOf(";", C), q = U === -1 ? p : U;
|
|
4151
|
+
if (F > q) {
|
|
4152
4152
|
C = x.lastIndexOf(";", F - 1) + 1;
|
|
4153
4153
|
continue;
|
|
4154
4154
|
}
|
|
4155
4155
|
const g = l(x, C, F), b = u(x, F, g), S = x.slice(g, b);
|
|
4156
4156
|
if (k[S] === void 0) {
|
|
4157
|
-
let R = l(x, F + 1,
|
|
4157
|
+
let R = l(x, F + 1, q), y = u(x, q, R);
|
|
4158
4158
|
const h = I(x.slice(R, y));
|
|
4159
4159
|
k[S] = h;
|
|
4160
4160
|
}
|
|
4161
|
-
C =
|
|
4161
|
+
C = q + 1;
|
|
4162
4162
|
} while (C < p);
|
|
4163
4163
|
return k;
|
|
4164
4164
|
}
|
|
@@ -4253,7 +4253,7 @@ function da() {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
return Ye;
|
|
4255
4255
|
}
|
|
4256
|
-
|
|
4256
|
+
fa();
|
|
4257
4257
|
/**
|
|
4258
4258
|
* react-router v7.6.3
|
|
4259
4259
|
*
|
|
@@ -4265,7 +4265,7 @@ da();
|
|
|
4265
4265
|
* @license MIT
|
|
4266
4266
|
*/
|
|
4267
4267
|
var _r = "popstate";
|
|
4268
|
-
function
|
|
4268
|
+
function da(e = {}) {
|
|
4269
4269
|
function t(i, a) {
|
|
4270
4270
|
let { pathname: s, search: d, hash: l } = i.location;
|
|
4271
4271
|
return Ft(
|
|
@@ -4279,7 +4279,7 @@ function ha(e = {}) {
|
|
|
4279
4279
|
function r(i, a) {
|
|
4280
4280
|
return typeof a == "string" ? a : Ge(a);
|
|
4281
4281
|
}
|
|
4282
|
-
return
|
|
4282
|
+
return pa(
|
|
4283
4283
|
t,
|
|
4284
4284
|
r,
|
|
4285
4285
|
null,
|
|
@@ -4299,7 +4299,7 @@ function ve(e, t) {
|
|
|
4299
4299
|
}
|
|
4300
4300
|
}
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function ha() {
|
|
4303
4303
|
return Math.random().toString(36).substring(2, 10);
|
|
4304
4304
|
}
|
|
4305
4305
|
function Tr(e, t) {
|
|
@@ -4320,7 +4320,7 @@ function Ft(e, t, r = null, i) {
|
|
|
4320
4320
|
// full Locations now and avoid the need to run through this flow at all
|
|
4321
4321
|
// But that's a pretty big refactor to the current test suite so going to
|
|
4322
4322
|
// keep as is for the time being and just let any incoming keys take precedence
|
|
4323
|
-
key: t && t.key || i ||
|
|
4323
|
+
key: t && t.key || i || ha()
|
|
4324
4324
|
};
|
|
4325
4325
|
}
|
|
4326
4326
|
function Ge({
|
|
@@ -4340,7 +4340,7 @@ function Me(e) {
|
|
|
4340
4340
|
}
|
|
4341
4341
|
return t;
|
|
4342
4342
|
}
|
|
4343
|
-
function
|
|
4343
|
+
function pa(e, t, r, i = {}) {
|
|
4344
4344
|
let { window: a = document.defaultView, v5Compat: s = !1 } = i, d = a.history, l = "POP", u = null, c = v();
|
|
4345
4345
|
c == null && (c = 0, d.replaceState({ ...d.state, idx: c }, ""));
|
|
4346
4346
|
function v() {
|
|
@@ -4355,13 +4355,13 @@ function ma(e, t, r, i = {}) {
|
|
|
4355
4355
|
l = "PUSH";
|
|
4356
4356
|
let F = Ft(p.location, I, C);
|
|
4357
4357
|
c = v() + 1;
|
|
4358
|
-
let U = Tr(F, c),
|
|
4358
|
+
let U = Tr(F, c), q = p.createHref(F);
|
|
4359
4359
|
try {
|
|
4360
|
-
d.pushState(U, "",
|
|
4360
|
+
d.pushState(U, "", q);
|
|
4361
4361
|
} catch (g) {
|
|
4362
4362
|
if (g instanceof DOMException && g.name === "DataCloneError")
|
|
4363
4363
|
throw g;
|
|
4364
|
-
a.location.assign(
|
|
4364
|
+
a.location.assign(q);
|
|
4365
4365
|
}
|
|
4366
4366
|
s && u && u({ action: l, location: p.location, delta: 1 });
|
|
4367
4367
|
}
|
|
@@ -4369,11 +4369,11 @@ function ma(e, t, r, i = {}) {
|
|
|
4369
4369
|
l = "REPLACE";
|
|
4370
4370
|
let F = Ft(p.location, I, C);
|
|
4371
4371
|
c = v();
|
|
4372
|
-
let U = Tr(F, c),
|
|
4373
|
-
d.replaceState(U, "",
|
|
4372
|
+
let U = Tr(F, c), q = p.createHref(F);
|
|
4373
|
+
d.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
|
|
4374
4374
|
}
|
|
4375
4375
|
function k(I) {
|
|
4376
|
-
return
|
|
4376
|
+
return ma(I);
|
|
4377
4377
|
}
|
|
4378
4378
|
let p = {
|
|
4379
4379
|
get action() {
|
|
@@ -4409,25 +4409,25 @@ function ma(e, t, r, i = {}) {
|
|
|
4409
4409
|
};
|
|
4410
4410
|
return p;
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function ma(e, t = !1) {
|
|
4413
4413
|
let r = "http://localhost";
|
|
4414
4414
|
typeof window < "u" && (r = window.location.origin !== "null" ? window.location.origin : window.location.href), ae(r, "No window.location.(origin|href) available to create URL");
|
|
4415
4415
|
let i = typeof e == "string" ? e : Ge(e);
|
|
4416
4416
|
return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
|
|
4417
4417
|
}
|
|
4418
4418
|
function rn(e, t, r = "/") {
|
|
4419
|
-
return
|
|
4419
|
+
return va(e, t, r, !1);
|
|
4420
4420
|
}
|
|
4421
|
-
function
|
|
4421
|
+
function va(e, t, r, i) {
|
|
4422
4422
|
let a = typeof t == "string" ? Me(t) : t, s = xe(a.pathname || "/", r);
|
|
4423
4423
|
if (s == null)
|
|
4424
4424
|
return null;
|
|
4425
4425
|
let d = nn(e);
|
|
4426
|
-
|
|
4426
|
+
ga(d);
|
|
4427
4427
|
let l = null;
|
|
4428
4428
|
for (let u = 0; l == null && u < d.length; ++u) {
|
|
4429
|
-
let c =
|
|
4430
|
-
l =
|
|
4429
|
+
let c = Ra(s);
|
|
4430
|
+
l = Pa(
|
|
4431
4431
|
d[u],
|
|
4432
4432
|
c,
|
|
4433
4433
|
i
|
|
@@ -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 "${c}".`
|
|
4456
4456
|
), nn(s.children, t, v, c)), !(s.path == null && !s.index) && t.push({
|
|
4457
4457
|
path: c,
|
|
4458
|
-
score:
|
|
4458
|
+
score: ka(c, s.index),
|
|
4459
4459
|
routesMeta: v
|
|
4460
4460
|
});
|
|
4461
4461
|
};
|
|
@@ -4482,23 +4482,23 @@ function an(e) {
|
|
|
4482
4482
|
(u) => e.startsWith("/") && u === "" ? "/" : u
|
|
4483
4483
|
);
|
|
4484
4484
|
}
|
|
4485
|
-
function
|
|
4485
|
+
function ga(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 : Ca(
|
|
4488
4488
|
t.routesMeta.map((i) => i.childrenIndex),
|
|
4489
4489
|
r.routesMeta.map((i) => i.childrenIndex)
|
|
4490
4490
|
)
|
|
4491
4491
|
);
|
|
4492
4492
|
}
|
|
4493
|
-
var
|
|
4494
|
-
function
|
|
4493
|
+
var ya = /^:[\w-]+$/, ba = 3, wa = 2, Sa = 1, xa = 10, Oa = -2, jr = (e) => e === "*";
|
|
4494
|
+
function ka(e, t) {
|
|
4495
4495
|
let r = e.split("/"), i = r.length;
|
|
4496
|
-
return r.some(jr) && (i +=
|
|
4497
|
-
(a, s) => a + (
|
|
4496
|
+
return r.some(jr) && (i += Oa), t && (i += wa), r.filter((a) => !jr(a)).reduce(
|
|
4497
|
+
(a, s) => a + (ya.test(s) ? ba : s === "" ? Sa : xa),
|
|
4498
4498
|
i
|
|
4499
4499
|
);
|
|
4500
4500
|
}
|
|
4501
|
-
function
|
|
4501
|
+
function Ca(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
|
|
@@ -4511,7 +4511,7 @@ function Pa(e, t) {
|
|
|
4511
4511
|
0
|
|
4512
4512
|
);
|
|
4513
4513
|
}
|
|
4514
|
-
function
|
|
4514
|
+
function Pa(e, t, r = !1) {
|
|
4515
4515
|
let { routesMeta: i } = e, a = {}, s = "/", d = [];
|
|
4516
4516
|
for (let l = 0; l < i.length; ++l) {
|
|
4517
4517
|
let u = i[l], c = l === i.length - 1, v = s === "/" ? t : t.slice(s.length) || "/", w = gt(
|
|
@@ -4531,7 +4531,7 @@ function Ea(e, t, r = !1) {
|
|
|
4531
4531
|
// TODO: Can this as be avoided?
|
|
4532
4532
|
params: a,
|
|
4533
4533
|
pathname: Se([s, w.pathname]),
|
|
4534
|
-
pathnameBase:
|
|
4534
|
+
pathnameBase: La(
|
|
4535
4535
|
Se([s, w.pathnameBase])
|
|
4536
4536
|
),
|
|
4537
4537
|
route: x
|
|
@@ -4541,7 +4541,7 @@ function Ea(e, t, r = !1) {
|
|
|
4541
4541
|
}
|
|
4542
4542
|
function gt(e, t) {
|
|
4543
4543
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
4544
|
-
let [r, i] =
|
|
4544
|
+
let [r, i] = Ea(
|
|
4545
4545
|
e.path,
|
|
4546
4546
|
e.caseSensitive,
|
|
4547
4547
|
e.end
|
|
@@ -4565,7 +4565,7 @@ function gt(e, t) {
|
|
|
4565
4565
|
pattern: e
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
|
-
function
|
|
4568
|
+
function Ea(e, t = !1, r = !0) {
|
|
4569
4569
|
ve(
|
|
4570
4570
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
4571
4571
|
`Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
|
|
@@ -4576,7 +4576,7 @@ function Ra(e, t = !1, r = !0) {
|
|
|
4576
4576
|
);
|
|
4577
4577
|
return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
|
|
4578
4578
|
}
|
|
4579
|
-
function
|
|
4579
|
+
function Ra(e) {
|
|
4580
4580
|
try {
|
|
4581
4581
|
return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
|
|
4582
4582
|
} catch (t) {
|
|
@@ -4593,19 +4593,19 @@ function xe(e, t) {
|
|
|
4593
4593
|
let r = t.endsWith("/") ? t.length - 1 : t.length, i = e.charAt(r);
|
|
4594
4594
|
return i && i !== "/" ? null : e.slice(r) || "/";
|
|
4595
4595
|
}
|
|
4596
|
-
function
|
|
4596
|
+
function _a(e, t = "/") {
|
|
4597
4597
|
let {
|
|
4598
4598
|
pathname: r,
|
|
4599
4599
|
search: i = "",
|
|
4600
4600
|
hash: a = ""
|
|
4601
4601
|
} = typeof e == "string" ? Me(e) : e;
|
|
4602
4602
|
return {
|
|
4603
|
-
pathname: r ? r.startsWith("/") ? r :
|
|
4604
|
-
search:
|
|
4605
|
-
hash:
|
|
4603
|
+
pathname: r ? r.startsWith("/") ? r : Ta(r, t) : t,
|
|
4604
|
+
search: Da(i),
|
|
4605
|
+
hash: Ma(a)
|
|
4606
4606
|
};
|
|
4607
4607
|
}
|
|
4608
|
-
function
|
|
4608
|
+
function Ta(e, t) {
|
|
4609
4609
|
let r = t.replace(/\/+$/, "").split("/");
|
|
4610
4610
|
return e.split("/").forEach((a) => {
|
|
4611
4611
|
a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
|
|
@@ -4616,13 +4616,13 @@ function $t(e, t, r, i) {
|
|
|
4616
4616
|
i
|
|
4617
4617
|
)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function ja(e) {
|
|
4620
4620
|
return e.filter(
|
|
4621
4621
|
(t, r) => r === 0 || t.route.path && t.route.path.length > 0
|
|
4622
4622
|
);
|
|
4623
4623
|
}
|
|
4624
4624
|
function on(e) {
|
|
4625
|
-
let t =
|
|
4625
|
+
let t = ja(e);
|
|
4626
4626
|
return t.map(
|
|
4627
4627
|
(r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4628
4628
|
);
|
|
@@ -4652,11 +4652,11 @@ function sn(e, t, r, i = !1) {
|
|
|
4652
4652
|
}
|
|
4653
4653
|
l = w >= 0 ? t[w] : "/";
|
|
4654
4654
|
}
|
|
4655
|
-
let u =
|
|
4655
|
+
let u = _a(a, l), c = d && d !== "/" && d.endsWith("/"), v = (s || d === ".") && r.endsWith("/");
|
|
4656
4656
|
return !u.pathname.endsWith("/") && (c || v) && (u.pathname += "/"), u;
|
|
4657
4657
|
}
|
|
4658
|
-
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"),
|
|
4659
|
-
function
|
|
4658
|
+
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), La = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Da = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ma = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
4659
|
+
function $a(e) {
|
|
4660
4660
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
4661
4661
|
}
|
|
4662
4662
|
var ln = [
|
|
@@ -4668,11 +4668,11 @@ var ln = [
|
|
|
4668
4668
|
new Set(
|
|
4669
4669
|
ln
|
|
4670
4670
|
);
|
|
4671
|
-
var
|
|
4671
|
+
var Ia = [
|
|
4672
4672
|
"GET",
|
|
4673
4673
|
...ln
|
|
4674
4674
|
];
|
|
4675
|
-
new Set(
|
|
4675
|
+
new Set(Ia);
|
|
4676
4676
|
var $e = M.createContext(null);
|
|
4677
4677
|
$e.displayName = "DataRouter";
|
|
4678
4678
|
var Ot = M.createContext(null);
|
|
@@ -4681,12 +4681,12 @@ var un = M.createContext({
|
|
|
4681
4681
|
isTransitioning: !1
|
|
4682
4682
|
});
|
|
4683
4683
|
un.displayName = "ViewTransition";
|
|
4684
|
-
var
|
|
4684
|
+
var Aa = M.createContext(
|
|
4685
4685
|
/* @__PURE__ */ new Map()
|
|
4686
4686
|
);
|
|
4687
|
-
|
|
4688
|
-
var
|
|
4689
|
-
|
|
4687
|
+
Aa.displayName = "Fetchers";
|
|
4688
|
+
var Ha = M.createContext(null);
|
|
4689
|
+
Ha.displayName = "Await";
|
|
4690
4690
|
var we = M.createContext(
|
|
4691
4691
|
null
|
|
4692
4692
|
);
|
|
@@ -4703,7 +4703,7 @@ var Oe = M.createContext({
|
|
|
4703
4703
|
Oe.displayName = "Route";
|
|
4704
4704
|
var Gt = M.createContext(null);
|
|
4705
4705
|
Gt.displayName = "RouteError";
|
|
4706
|
-
function
|
|
4706
|
+
function za(e, { relative: t } = {}) {
|
|
4707
4707
|
ae(
|
|
4708
4708
|
Qe(),
|
|
4709
4709
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4730,9 +4730,9 @@ function fn(e) {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
function Kt() {
|
|
4732
4732
|
let { isDataRoute: e } = M.useContext(Oe);
|
|
4733
|
-
return e ?
|
|
4733
|
+
return e ? Za() : Na();
|
|
4734
4734
|
}
|
|
4735
|
-
function
|
|
4735
|
+
function Na() {
|
|
4736
4736
|
ae(
|
|
4737
4737
|
Qe(),
|
|
4738
4738
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4783,7 +4783,7 @@ function et(e, { relative: t } = {}) {
|
|
|
4783
4783
|
[e, a, i, t]
|
|
4784
4784
|
);
|
|
4785
4785
|
}
|
|
4786
|
-
function
|
|
4786
|
+
function Fa(e, t) {
|
|
4787
4787
|
return dn(e, t);
|
|
4788
4788
|
}
|
|
4789
4789
|
function dn(e, t, r, i) {
|
|
@@ -4826,7 +4826,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
4826
4826
|
p == null || p[p.length - 1].route.element !== void 0 || p[p.length - 1].route.Component !== void 0 || p[p.length - 1].route.lazy !== void 0,
|
|
4827
4827
|
`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
4828
4828
|
);
|
|
4829
|
-
let I =
|
|
4829
|
+
let I = qa(
|
|
4830
4830
|
p && p.map(
|
|
4831
4831
|
(C) => Object.assign({}, C, {
|
|
4832
4832
|
params: Object.assign({}, l, C.params),
|
|
@@ -4865,14 +4865,14 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
4865
4865
|
I
|
|
4866
4866
|
) : I;
|
|
4867
4867
|
}
|
|
4868
|
-
function
|
|
4869
|
-
let e =
|
|
4868
|
+
function Wa() {
|
|
4869
|
+
let e = Ja(), t = $a(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, d = null;
|
|
4870
4870
|
return console.error(
|
|
4871
4871
|
"Error handled by React Router default ErrorBoundary:",
|
|
4872
4872
|
e
|
|
4873
4873
|
), d = /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ M.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ M.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ M.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ M.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ M.createElement("pre", { style: a }, r) : null, d);
|
|
4874
4874
|
}
|
|
4875
|
-
var
|
|
4875
|
+
var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Component {
|
|
4876
4876
|
constructor(e) {
|
|
4877
4877
|
super(e), this.state = {
|
|
4878
4878
|
location: e.location,
|
|
@@ -4911,11 +4911,11 @@ var Ya = /* @__PURE__ */ M.createElement(Ua, null), qa = class extends M.Compone
|
|
|
4911
4911
|
)) : this.props.children;
|
|
4912
4912
|
}
|
|
4913
4913
|
};
|
|
4914
|
-
function
|
|
4914
|
+
function Va({ routeContext: e, match: t, children: r }) {
|
|
4915
4915
|
let i = M.useContext($e);
|
|
4916
4916
|
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ M.createElement(Oe.Provider, { value: e }, r);
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4918
|
+
function qa(e, t = [], r = null, i = null) {
|
|
4919
4919
|
if (e == null) {
|
|
4920
4920
|
if (!r)
|
|
4921
4921
|
return null;
|
|
@@ -4955,7 +4955,7 @@ function Va(e, t = [], r = null, i = null) {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
return a.reduceRight((u, c, v) => {
|
|
4957
4957
|
let w, x = !1, L = null, k = null;
|
|
4958
|
-
r && (w = s && c.route.id ? s[c.route.id] : void 0, L = c.route.errorElement ||
|
|
4958
|
+
r && (w = s && c.route.id ? s[c.route.id] : void 0, L = c.route.errorElement || Ua, d && (l < 0 && v === 0 ? (hn(
|
|
4959
4959
|
"route-fallback",
|
|
4960
4960
|
!1,
|
|
4961
4961
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
@@ -4963,7 +4963,7 @@ function Va(e, t = [], r = null, i = null) {
|
|
|
4963
4963
|
let p = t.concat(a.slice(0, v + 1)), I = () => {
|
|
4964
4964
|
let C;
|
|
4965
4965
|
return w ? C = L : x ? C = k : c.route.Component ? C = /* @__PURE__ */ M.createElement(c.route.Component, null) : c.route.element ? C = c.route.element : C = u, /* @__PURE__ */ M.createElement(
|
|
4966
|
-
|
|
4966
|
+
Va,
|
|
4967
4967
|
{
|
|
4968
4968
|
match: c,
|
|
4969
4969
|
routeContext: {
|
|
@@ -4976,7 +4976,7 @@ function Va(e, t = [], r = null, i = null) {
|
|
|
4976
4976
|
);
|
|
4977
4977
|
};
|
|
4978
4978
|
return r && (c.route.ErrorBoundary || c.route.errorElement || v === 0) ? /* @__PURE__ */ M.createElement(
|
|
4979
|
-
|
|
4979
|
+
Ya,
|
|
4980
4980
|
{
|
|
4981
4981
|
location: r.location,
|
|
4982
4982
|
revalidation: r.revalidation,
|
|
@@ -4991,33 +4991,33 @@ function Va(e, t = [], r = null, i = null) {
|
|
|
4991
4991
|
function Jt(e) {
|
|
4992
4992
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
4993
4993
|
}
|
|
4994
|
-
function
|
|
4994
|
+
function Ba(e) {
|
|
4995
4995
|
let t = M.useContext($e);
|
|
4996
4996
|
return ae(t, Jt(e)), t;
|
|
4997
4997
|
}
|
|
4998
|
-
function
|
|
4998
|
+
function Xa(e) {
|
|
4999
4999
|
let t = M.useContext(Ot);
|
|
5000
5000
|
return ae(t, Jt(e)), t;
|
|
5001
5001
|
}
|
|
5002
|
-
function
|
|
5002
|
+
function Ga(e) {
|
|
5003
5003
|
let t = M.useContext(Oe);
|
|
5004
5004
|
return ae(t, Jt(e)), t;
|
|
5005
5005
|
}
|
|
5006
5006
|
function Zt(e) {
|
|
5007
|
-
let t =
|
|
5007
|
+
let t = Ga(e), r = t.matches[t.matches.length - 1];
|
|
5008
5008
|
return ae(
|
|
5009
5009
|
r.route.id,
|
|
5010
5010
|
`${e} can only be used on routes that contain a unique "id"`
|
|
5011
5011
|
), r.route.id;
|
|
5012
5012
|
}
|
|
5013
|
-
function
|
|
5013
|
+
function Ka() {
|
|
5014
5014
|
return Zt(
|
|
5015
5015
|
"useRouteId"
|
|
5016
5016
|
/* UseRouteId */
|
|
5017
5017
|
);
|
|
5018
5018
|
}
|
|
5019
|
-
function
|
|
5020
|
-
let e = M.useContext(Gt), t =
|
|
5019
|
+
function Ja() {
|
|
5020
|
+
let e = M.useContext(Gt), t = Xa(
|
|
5021
5021
|
"useRouteError"
|
|
5022
5022
|
/* UseRouteError */
|
|
5023
5023
|
), r = Zt(
|
|
@@ -5026,8 +5026,8 @@ function Za() {
|
|
|
5026
5026
|
);
|
|
5027
5027
|
return e !== void 0 ? e : t.errors?.[r];
|
|
5028
5028
|
}
|
|
5029
|
-
function
|
|
5030
|
-
let { router: e } =
|
|
5029
|
+
function Za() {
|
|
5030
|
+
let { router: e } = Ba(
|
|
5031
5031
|
"useNavigate"
|
|
5032
5032
|
/* UseNavigateStable */
|
|
5033
5033
|
), t = Zt(
|
|
@@ -5047,8 +5047,8 @@ var Lr = {};
|
|
|
5047
5047
|
function hn(e, t, r) {
|
|
5048
5048
|
!t && !Lr[e] && (Lr[e] = !0, ve(!1, r));
|
|
5049
5049
|
}
|
|
5050
|
-
M.memo(
|
|
5051
|
-
function
|
|
5050
|
+
M.memo(Qa);
|
|
5051
|
+
function Qa({
|
|
5052
5052
|
routes: e,
|
|
5053
5053
|
future: t,
|
|
5054
5054
|
state: r
|
|
@@ -5061,7 +5061,7 @@ function pn(e) {
|
|
|
5061
5061
|
"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
|
|
5062
5062
|
);
|
|
5063
5063
|
}
|
|
5064
|
-
function
|
|
5064
|
+
function eo({
|
|
5065
5065
|
basename: e = "/",
|
|
5066
5066
|
children: t = null,
|
|
5067
5067
|
location: r,
|
|
@@ -5107,11 +5107,11 @@ function to({
|
|
|
5107
5107
|
`<Router basename="${d}"> is not able to match the URL "${u}${c}${v}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5108
5108
|
), L == null ? null : /* @__PURE__ */ M.createElement(we.Provider, { value: l }, /* @__PURE__ */ M.createElement(Ze.Provider, { children: t, value: L }));
|
|
5109
5109
|
}
|
|
5110
|
-
function
|
|
5110
|
+
function to({
|
|
5111
5111
|
children: e,
|
|
5112
5112
|
location: t
|
|
5113
5113
|
}) {
|
|
5114
|
-
return
|
|
5114
|
+
return Fa(Wt(e), t);
|
|
5115
5115
|
}
|
|
5116
5116
|
function Wt(e, t = []) {
|
|
5117
5117
|
let r = [];
|
|
@@ -5161,22 +5161,22 @@ var ut = "get", ct = "application/x-www-form-urlencoded";
|
|
|
5161
5161
|
function kt(e) {
|
|
5162
5162
|
return e != null && typeof e.tagName == "string";
|
|
5163
5163
|
}
|
|
5164
|
-
function
|
|
5164
|
+
function ro(e) {
|
|
5165
5165
|
return kt(e) && e.tagName.toLowerCase() === "button";
|
|
5166
5166
|
}
|
|
5167
|
-
function
|
|
5167
|
+
function no(e) {
|
|
5168
5168
|
return kt(e) && e.tagName.toLowerCase() === "form";
|
|
5169
5169
|
}
|
|
5170
|
-
function
|
|
5170
|
+
function io(e) {
|
|
5171
5171
|
return kt(e) && e.tagName.toLowerCase() === "input";
|
|
5172
5172
|
}
|
|
5173
|
-
function
|
|
5173
|
+
function ao(e) {
|
|
5174
5174
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
5175
5175
|
}
|
|
5176
|
-
function
|
|
5176
|
+
function oo(e, t) {
|
|
5177
5177
|
return e.button === 0 && // Ignore everything but left clicks
|
|
5178
5178
|
(!t || t === "_self") && // Let browser handle "target=_blank" etc.
|
|
5179
|
-
!
|
|
5179
|
+
!ao(e);
|
|
5180
5180
|
}
|
|
5181
5181
|
function Ut(e = "") {
|
|
5182
5182
|
return new URLSearchParams(
|
|
@@ -5188,7 +5188,7 @@ function Ut(e = "") {
|
|
|
5188
5188
|
}, [])
|
|
5189
5189
|
);
|
|
5190
5190
|
}
|
|
5191
|
-
function
|
|
5191
|
+
function so(e, t) {
|
|
5192
5192
|
let r = Ut(e);
|
|
5193
5193
|
return t && t.forEach((i, a) => {
|
|
5194
5194
|
r.has(a) || t.getAll(a).forEach((s) => {
|
|
@@ -5197,7 +5197,7 @@ function lo(e, t) {
|
|
|
5197
5197
|
}), r;
|
|
5198
5198
|
}
|
|
5199
5199
|
var at = null;
|
|
5200
|
-
function
|
|
5200
|
+
function lo() {
|
|
5201
5201
|
if (at === null)
|
|
5202
5202
|
try {
|
|
5203
5203
|
new FormData(
|
|
@@ -5210,30 +5210,30 @@ function uo() {
|
|
|
5210
5210
|
}
|
|
5211
5211
|
return at;
|
|
5212
5212
|
}
|
|
5213
|
-
var
|
|
5213
|
+
var uo = /* @__PURE__ */ new Set([
|
|
5214
5214
|
"application/x-www-form-urlencoded",
|
|
5215
5215
|
"multipart/form-data",
|
|
5216
5216
|
"text/plain"
|
|
5217
5217
|
]);
|
|
5218
5218
|
function It(e) {
|
|
5219
|
-
return e != null && !
|
|
5219
|
+
return e != null && !uo.has(e) ? (ve(
|
|
5220
5220
|
!1,
|
|
5221
5221
|
`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`
|
|
5222
5222
|
), null) : e;
|
|
5223
5223
|
}
|
|
5224
|
-
function
|
|
5224
|
+
function co(e, t) {
|
|
5225
5225
|
let r, i, a, s, d;
|
|
5226
|
-
if (
|
|
5226
|
+
if (no(e)) {
|
|
5227
5227
|
let l = e.getAttribute("action");
|
|
5228
5228
|
i = l ? xe(l, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
|
|
5229
|
-
} else if (
|
|
5229
|
+
} else if (ro(e) || io(e) && (e.type === "submit" || e.type === "image")) {
|
|
5230
5230
|
let l = e.form;
|
|
5231
5231
|
if (l == null)
|
|
5232
5232
|
throw new Error(
|
|
5233
5233
|
'Cannot submit a <button> or <input type="submit"> without a <form>'
|
|
5234
5234
|
);
|
|
5235
5235
|
let u = e.getAttribute("formaction") || l.getAttribute("action");
|
|
5236
|
-
if (i = u ? xe(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), !
|
|
5236
|
+
if (i = u ? xe(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), !lo()) {
|
|
5237
5237
|
let { name: c, type: v, value: w } = e;
|
|
5238
5238
|
if (v === "image") {
|
|
5239
5239
|
let x = c ? `${c}.` : "";
|
|
@@ -5253,7 +5253,7 @@ function Qt(e, t) {
|
|
|
5253
5253
|
if (e === !1 || e === null || typeof e > "u")
|
|
5254
5254
|
throw new Error(t);
|
|
5255
5255
|
}
|
|
5256
|
-
async function
|
|
5256
|
+
async function fo(e, t) {
|
|
5257
5257
|
if (e.id in t)
|
|
5258
5258
|
return t[e.id];
|
|
5259
5259
|
try {
|
|
@@ -5270,22 +5270,22 @@ async function ho(e, t) {
|
|
|
5270
5270
|
});
|
|
5271
5271
|
}
|
|
5272
5272
|
}
|
|
5273
|
-
function
|
|
5273
|
+
function ho(e) {
|
|
5274
5274
|
return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
|
|
5275
5275
|
}
|
|
5276
|
-
async function
|
|
5276
|
+
async function po(e, t, r) {
|
|
5277
5277
|
let i = await Promise.all(
|
|
5278
5278
|
e.map(async (a) => {
|
|
5279
5279
|
let s = t.routes[a.route.id];
|
|
5280
5280
|
if (s) {
|
|
5281
|
-
let d = await
|
|
5281
|
+
let d = await fo(s, r);
|
|
5282
5282
|
return d.links ? d.links() : [];
|
|
5283
5283
|
}
|
|
5284
5284
|
return [];
|
|
5285
5285
|
})
|
|
5286
5286
|
);
|
|
5287
|
-
return
|
|
5288
|
-
i.flat(1).filter(
|
|
5287
|
+
return yo(
|
|
5288
|
+
i.flat(1).filter(ho).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
|
|
5289
5289
|
(a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
|
|
5290
5290
|
)
|
|
5291
5291
|
);
|
|
@@ -5322,8 +5322,8 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5322
5322
|
return !0;
|
|
5323
5323
|
}) : [];
|
|
5324
5324
|
}
|
|
5325
|
-
function
|
|
5326
|
-
return
|
|
5325
|
+
function mo(e, t, { includeHydrateFallback: r } = {}) {
|
|
5326
|
+
return vo(
|
|
5327
5327
|
e.map((i) => {
|
|
5328
5328
|
let a = t.routes[i.route.id];
|
|
5329
5329
|
if (!a) return [];
|
|
@@ -5332,25 +5332,25 @@ function vo(e, t, { includeHydrateFallback: r } = {}) {
|
|
|
5332
5332
|
}).flat(1)
|
|
5333
5333
|
);
|
|
5334
5334
|
}
|
|
5335
|
-
function
|
|
5335
|
+
function vo(e) {
|
|
5336
5336
|
return [...new Set(e)];
|
|
5337
5337
|
}
|
|
5338
|
-
function
|
|
5338
|
+
function go(e) {
|
|
5339
5339
|
let t = {}, r = Object.keys(e).sort();
|
|
5340
5340
|
for (let i of r)
|
|
5341
5341
|
t[i] = e[i];
|
|
5342
5342
|
return t;
|
|
5343
5343
|
}
|
|
5344
|
-
function
|
|
5344
|
+
function yo(e, t) {
|
|
5345
5345
|
let r = /* @__PURE__ */ new Set();
|
|
5346
5346
|
return new Set(t), e.reduce((i, a) => {
|
|
5347
|
-
let s = JSON.stringify(
|
|
5347
|
+
let s = JSON.stringify(go(a));
|
|
5348
5348
|
return r.has(s) || (r.add(s), i.push({ key: s, link: a })), i;
|
|
5349
5349
|
}, []);
|
|
5350
5350
|
}
|
|
5351
5351
|
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
5352
|
-
var
|
|
5353
|
-
function
|
|
5352
|
+
var bo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
|
|
5353
|
+
function wo(e, t) {
|
|
5354
5354
|
let r = typeof e == "string" ? new URL(
|
|
5355
5355
|
e,
|
|
5356
5356
|
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
@@ -5366,7 +5366,7 @@ function mn() {
|
|
|
5366
5366
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
5367
5367
|
), e;
|
|
5368
5368
|
}
|
|
5369
|
-
function
|
|
5369
|
+
function So() {
|
|
5370
5370
|
let e = M.useContext(Ot);
|
|
5371
5371
|
return Qt(
|
|
5372
5372
|
e,
|
|
@@ -5382,7 +5382,7 @@ function vn() {
|
|
|
5382
5382
|
"You must render this element inside a <HydratedRouter> element"
|
|
5383
5383
|
), e;
|
|
5384
5384
|
}
|
|
5385
|
-
function
|
|
5385
|
+
function xo(e, t) {
|
|
5386
5386
|
let r = M.useContext(er), [i, a] = M.useState(!1), [s, d] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: c, onMouseLeave: v, onTouchStart: w } = t, x = M.useRef(null);
|
|
5387
5387
|
M.useEffect(() => {
|
|
5388
5388
|
if (e === "render" && d(!0), e === "viewport") {
|
|
@@ -5414,20 +5414,20 @@ function Oo(e, t) {
|
|
|
5414
5414
|
s,
|
|
5415
5415
|
x,
|
|
5416
5416
|
{
|
|
5417
|
-
onFocus:
|
|
5418
|
-
onBlur:
|
|
5419
|
-
onMouseEnter:
|
|
5420
|
-
onMouseLeave:
|
|
5421
|
-
onTouchStart:
|
|
5417
|
+
onFocus: Ve(l, L),
|
|
5418
|
+
onBlur: Ve(u, k),
|
|
5419
|
+
onMouseEnter: Ve(c, L),
|
|
5420
|
+
onMouseLeave: Ve(v, k),
|
|
5421
|
+
onTouchStart: Ve(w, L)
|
|
5422
5422
|
}
|
|
5423
5423
|
] : [!1, x, {}];
|
|
5424
5424
|
}
|
|
5425
|
-
function
|
|
5425
|
+
function Ve(e, t) {
|
|
5426
5426
|
return (r) => {
|
|
5427
5427
|
e && e(r), r.defaultPrevented || t(r);
|
|
5428
5428
|
};
|
|
5429
5429
|
}
|
|
5430
|
-
function
|
|
5430
|
+
function Oo({
|
|
5431
5431
|
page: e,
|
|
5432
5432
|
...t
|
|
5433
5433
|
}) {
|
|
@@ -5435,13 +5435,13 @@ 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(Co, { page: e, matches: i, ...t }) : null;
|
|
5439
5439
|
}
|
|
5440
|
-
function
|
|
5440
|
+
function ko(e) {
|
|
5441
5441
|
let { manifest: t, routeModules: r } = vn(), [i, a] = M.useState([]);
|
|
5442
5442
|
return M.useEffect(() => {
|
|
5443
5443
|
let s = !1;
|
|
5444
|
-
return
|
|
5444
|
+
return po(e, t, r).then(
|
|
5445
5445
|
(d) => {
|
|
5446
5446
|
s || a(d);
|
|
5447
5447
|
}
|
|
@@ -5450,12 +5450,12 @@ function Co(e) {
|
|
|
5450
5450
|
};
|
|
5451
5451
|
}, [e, t, r]), i;
|
|
5452
5452
|
}
|
|
5453
|
-
function
|
|
5453
|
+
function Co({
|
|
5454
5454
|
page: e,
|
|
5455
5455
|
matches: t,
|
|
5456
5456
|
...r
|
|
5457
5457
|
}) {
|
|
5458
|
-
let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: d } = mn(), { loaderData: l, matches: u } =
|
|
5458
|
+
let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: d } = mn(), { loaderData: l, matches: u } = So(), c = M.useMemo(
|
|
5459
5459
|
() => Dr(
|
|
5460
5460
|
e,
|
|
5461
5461
|
t,
|
|
@@ -5484,7 +5484,7 @@ function Po({
|
|
|
5484
5484
|
!F || !F.hasLoader || (!c.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
5485
|
}), k.size === 0)
|
|
5486
5486
|
return [];
|
|
5487
|
-
let I =
|
|
5487
|
+
let I = wo(e, d);
|
|
5488
5488
|
return p && k.size > 0 && I.searchParams.set(
|
|
5489
5489
|
"_routes",
|
|
5490
5490
|
t.filter((C) => k.has(C.route.id)).map((C) => C.route.id).join(",")
|
|
@@ -5499,16 +5499,16 @@ function Po({
|
|
|
5499
5499
|
e,
|
|
5500
5500
|
s
|
|
5501
5501
|
]), x = M.useMemo(
|
|
5502
|
-
() =>
|
|
5502
|
+
() => mo(v, a),
|
|
5503
5503
|
[v, a]
|
|
5504
|
-
), L =
|
|
5504
|
+
), L = ko(v);
|
|
5505
5505
|
return /* @__PURE__ */ M.createElement(M.Fragment, null, w.map((k) => /* @__PURE__ */ M.createElement("link", { key: k, rel: "prefetch", as: "fetch", href: k, ...r })), x.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
5508
|
/* @__PURE__ */ M.createElement("link", { key: k, ...p })
|
|
5509
5509
|
)));
|
|
5510
5510
|
}
|
|
5511
|
-
function
|
|
5511
|
+
function Po(...e) {
|
|
5512
5512
|
return (t) => {
|
|
5513
5513
|
e.forEach((r) => {
|
|
5514
5514
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
|
@@ -5520,13 +5520,13 @@ try {
|
|
|
5520
5520
|
gn && (window.__reactRouterVersion = "7.6.3");
|
|
5521
5521
|
} catch {
|
|
5522
5522
|
}
|
|
5523
|
-
function
|
|
5523
|
+
function Eo({
|
|
5524
5524
|
basename: e,
|
|
5525
5525
|
children: t,
|
|
5526
5526
|
window: r
|
|
5527
5527
|
}) {
|
|
5528
5528
|
let i = M.useRef();
|
|
5529
|
-
i.current == null && (i.current =
|
|
5529
|
+
i.current == null && (i.current = da({ window: r, v5Compat: !0 }));
|
|
5530
5530
|
let a = i.current, [s, d] = M.useState({
|
|
5531
5531
|
action: a.action,
|
|
5532
5532
|
location: a.location
|
|
@@ -5537,7 +5537,7 @@ function Ro({
|
|
|
5537
5537
|
[d]
|
|
5538
5538
|
);
|
|
5539
5539
|
return M.useLayoutEffect(() => a.listen(l), [a, l]), /* @__PURE__ */ M.createElement(
|
|
5540
|
-
|
|
5540
|
+
eo,
|
|
5541
5541
|
{
|
|
5542
5542
|
basename: e,
|
|
5543
5543
|
children: t,
|
|
@@ -5573,10 +5573,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5573
5573
|
`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5574
5574
|
);
|
|
5575
5575
|
}
|
|
5576
|
-
let F =
|
|
5576
|
+
let F = za(c, { relative: a }), [U, q, g] = xo(
|
|
5577
5577
|
i,
|
|
5578
5578
|
x
|
|
5579
|
-
), b =
|
|
5579
|
+
), b = jo(c, {
|
|
5580
5580
|
replace: d,
|
|
5581
5581
|
state: l,
|
|
5582
5582
|
target: u,
|
|
@@ -5596,17 +5596,17 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5596
5596
|
...g,
|
|
5597
5597
|
href: I || F,
|
|
5598
5598
|
onClick: C || s ? t : S,
|
|
5599
|
-
ref:
|
|
5599
|
+
ref: Po(L, q),
|
|
5600
5600
|
target: u,
|
|
5601
5601
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
5602
5602
|
}
|
|
5603
5603
|
)
|
|
5604
5604
|
);
|
|
5605
|
-
return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, R, /* @__PURE__ */ M.createElement(
|
|
5605
|
+
return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, R, /* @__PURE__ */ M.createElement(Oo, { page: F })) : R;
|
|
5606
5606
|
}
|
|
5607
5607
|
);
|
|
5608
5608
|
bn.displayName = "Link";
|
|
5609
|
-
var
|
|
5609
|
+
var Ro = M.forwardRef(
|
|
5610
5610
|
function({
|
|
5611
5611
|
"aria-current": t = "page",
|
|
5612
5612
|
caseSensitive: r = !1,
|
|
@@ -5620,10 +5620,10 @@ var _o = M.forwardRef(
|
|
|
5620
5620
|
}, v) {
|
|
5621
5621
|
let w = et(d, { relative: c.relative }), x = ke(), L = M.useContext(Ot), { navigator: k, basename: p } = M.useContext(we), 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
|
-
|
|
5623
|
+
Ao(w) && l === !0, C = k.encodeLocation ? k.encodeLocation(w).pathname : w.pathname, F = x.pathname, U = L && L.navigation && L.navigation.location ? L.navigation.location.pathname : null;
|
|
5624
5624
|
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, C = C.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5625
|
-
const
|
|
5626
|
-
let g = F === C || !a && F.startsWith(C) && F.charAt(
|
|
5625
|
+
const q = C !== "/" && C.endsWith("/") ? C.length - 1 : C.length;
|
|
5626
|
+
let g = F === C || !a && F.startsWith(C) && F.charAt(q) === "/", b = U != null && (U === C || !a && U.startsWith(C) && U.charAt(C.length) === "/"), S = {
|
|
5627
5627
|
isActive: g,
|
|
5628
5628
|
isPending: b,
|
|
5629
5629
|
isTransitioning: I
|
|
@@ -5650,8 +5650,8 @@ var _o = M.forwardRef(
|
|
|
5650
5650
|
);
|
|
5651
5651
|
}
|
|
5652
5652
|
);
|
|
5653
|
-
|
|
5654
|
-
var
|
|
5653
|
+
Ro.displayName = "NavLink";
|
|
5654
|
+
var _o = M.forwardRef(
|
|
5655
5655
|
({
|
|
5656
5656
|
discover: e = "render",
|
|
5657
5657
|
fetcherKey: t,
|
|
@@ -5667,11 +5667,11 @@ var To = M.forwardRef(
|
|
|
5667
5667
|
viewTransition: w,
|
|
5668
5668
|
...x
|
|
5669
5669
|
}, L) => {
|
|
5670
|
-
let k =
|
|
5670
|
+
let k = $o(), p = Io(l, { relative: c }), I = d.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
|
-
let
|
|
5674
|
-
k(
|
|
5673
|
+
let q = U.nativeEvent.submitter, g = q?.getAttribute("formmethod") || d;
|
|
5674
|
+
k(q || U.currentTarget, {
|
|
5675
5675
|
fetcherKey: t,
|
|
5676
5676
|
method: g,
|
|
5677
5677
|
navigate: r,
|
|
@@ -5695,15 +5695,15 @@ var To = M.forwardRef(
|
|
|
5695
5695
|
);
|
|
5696
5696
|
}
|
|
5697
5697
|
);
|
|
5698
|
-
|
|
5699
|
-
function
|
|
5698
|
+
_o.displayName = "Form";
|
|
5699
|
+
function To(e) {
|
|
5700
5700
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5701
5701
|
}
|
|
5702
5702
|
function wn(e) {
|
|
5703
5703
|
let t = M.useContext($e);
|
|
5704
|
-
return ae(t,
|
|
5704
|
+
return ae(t, To(e)), t;
|
|
5705
5705
|
}
|
|
5706
|
-
function
|
|
5706
|
+
function jo(e, {
|
|
5707
5707
|
target: t,
|
|
5708
5708
|
replace: r,
|
|
5709
5709
|
state: i,
|
|
@@ -5714,7 +5714,7 @@ function Lo(e, {
|
|
|
5714
5714
|
let l = Kt(), u = ke(), c = et(e, { relative: s });
|
|
5715
5715
|
return M.useCallback(
|
|
5716
5716
|
(v) => {
|
|
5717
|
-
if (
|
|
5717
|
+
if (oo(v, t)) {
|
|
5718
5718
|
v.preventDefault();
|
|
5719
5719
|
let w = r !== void 0 ? r : Ge(u) === Ge(c);
|
|
5720
5720
|
l(e, {
|
|
@@ -5740,7 +5740,7 @@ function Lo(e, {
|
|
|
5740
5740
|
]
|
|
5741
5741
|
);
|
|
5742
5742
|
}
|
|
5743
|
-
function
|
|
5743
|
+
function Lo(e) {
|
|
5744
5744
|
ve(
|
|
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."
|
|
@@ -5750,7 +5750,7 @@ function Do(e) {
|
|
|
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
|
|
5752
5752
|
// remove a param with setSearchParams({}) if it has an initial value
|
|
5753
|
-
|
|
5753
|
+
so(
|
|
5754
5754
|
i.search,
|
|
5755
5755
|
r.current ? null : t.current
|
|
5756
5756
|
)
|
|
@@ -5767,20 +5767,20 @@ function Do(e) {
|
|
|
5767
5767
|
);
|
|
5768
5768
|
return [a, d];
|
|
5769
5769
|
}
|
|
5770
|
-
var
|
|
5771
|
-
function
|
|
5770
|
+
var Do = 0, Mo = () => `__${String(++Do)}__`;
|
|
5771
|
+
function $o() {
|
|
5772
5772
|
let { router: e } = wn(
|
|
5773
5773
|
"useSubmit"
|
|
5774
5774
|
/* UseSubmit */
|
|
5775
|
-
), { basename: t } = M.useContext(we), r =
|
|
5775
|
+
), { basename: t } = M.useContext(we), r = Ka();
|
|
5776
5776
|
return M.useCallback(
|
|
5777
5777
|
async (i, a = {}) => {
|
|
5778
|
-
let { action: s, method: d, encType: l, formData: u, body: c } =
|
|
5778
|
+
let { action: s, method: d, encType: l, formData: u, body: c } = co(
|
|
5779
5779
|
i,
|
|
5780
5780
|
t
|
|
5781
5781
|
);
|
|
5782
5782
|
if (a.navigate === !1) {
|
|
5783
|
-
let v = a.fetcherKey ||
|
|
5783
|
+
let v = a.fetcherKey || Mo();
|
|
5784
5784
|
await e.fetch(v, r, a.action || s, {
|
|
5785
5785
|
preventScrollReset: a.preventScrollReset,
|
|
5786
5786
|
formData: u,
|
|
@@ -5806,7 +5806,7 @@ function Io() {
|
|
|
5806
5806
|
[e, t, r]
|
|
5807
5807
|
);
|
|
5808
5808
|
}
|
|
5809
|
-
function
|
|
5809
|
+
function Io(e, { relative: t } = {}) {
|
|
5810
5810
|
let { basename: r } = M.useContext(we), i = M.useContext(Oe);
|
|
5811
5811
|
ae(i, "useFormAction must be used inside a RouteContext");
|
|
5812
5812
|
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, d = ke();
|
|
@@ -5821,7 +5821,7 @@ function Ao(e, { relative: t } = {}) {
|
|
|
5821
5821
|
}
|
|
5822
5822
|
return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : Se([r, s.pathname])), Ge(s);
|
|
5823
5823
|
}
|
|
5824
|
-
function
|
|
5824
|
+
function Ao(e, t = {}) {
|
|
5825
5825
|
let r = M.useContext(un);
|
|
5826
5826
|
ae(
|
|
5827
5827
|
r != null,
|
|
@@ -5837,17 +5837,17 @@ function Ho(e, t = {}) {
|
|
|
5837
5837
|
return gt(a.pathname, d) != null || gt(a.pathname, s) != null;
|
|
5838
5838
|
}
|
|
5839
5839
|
[
|
|
5840
|
-
...
|
|
5840
|
+
...bo
|
|
5841
5841
|
];
|
|
5842
|
-
const Sn =
|
|
5842
|
+
const Sn = V.createContext({
|
|
5843
5843
|
history: [],
|
|
5844
5844
|
addToHistory: () => {
|
|
5845
5845
|
},
|
|
5846
5846
|
popFromHistory: () => "",
|
|
5847
5847
|
replaceHistory: () => {
|
|
5848
5848
|
}
|
|
5849
|
-
}),
|
|
5850
|
-
const [e, t] =
|
|
5849
|
+
}), Ho = () => {
|
|
5850
|
+
const [e, t] = Lo(), r = Hr(
|
|
5851
5851
|
() => Object.fromEntries(e.entries()),
|
|
5852
5852
|
[e]
|
|
5853
5853
|
), i = _e(
|
|
@@ -5902,19 +5902,19 @@ const Sn = q.createContext({
|
|
|
5902
5902
|
remove: l,
|
|
5903
5903
|
removeMany: u
|
|
5904
5904
|
};
|
|
5905
|
-
},
|
|
5906
|
-
const e = Kt(), t = ke(), r =
|
|
5905
|
+
}, ds = () => {
|
|
5906
|
+
const e = Kt(), t = ke(), r = Ho(), i = Yt(Sn), a = (l) => {
|
|
5907
5907
|
const u = new URL(l.path, "http://dummy-base");
|
|
5908
5908
|
return l.params && Object.entries(l.params).forEach(([c, v]) => {
|
|
5909
5909
|
v != null && u.searchParams.set(c, String(v));
|
|
5910
5910
|
}), u.pathname + u.search;
|
|
5911
|
-
}, s =
|
|
5911
|
+
}, s = V.useCallback(
|
|
5912
5912
|
(l) => {
|
|
5913
5913
|
const u = a(l);
|
|
5914
5914
|
l.addToHistory !== !1 ? (e(u), i.addToHistory(u)) : (e(u, { replace: !0 }), i.popFromHistory(1), i.addToHistory(u));
|
|
5915
5915
|
},
|
|
5916
5916
|
[e]
|
|
5917
|
-
), d =
|
|
5917
|
+
), d = V.useCallback(
|
|
5918
5918
|
(l) => {
|
|
5919
5919
|
const u = l || 1;
|
|
5920
5920
|
e(-u), i.popFromHistory(u);
|
|
@@ -5928,12 +5928,12 @@ const Sn = q.createContext({
|
|
|
5928
5928
|
goBack: d,
|
|
5929
5929
|
goTo: s
|
|
5930
5930
|
};
|
|
5931
|
-
},
|
|
5931
|
+
}, hs = ({
|
|
5932
5932
|
isReady: e = !0,
|
|
5933
5933
|
routes: t,
|
|
5934
5934
|
children: r
|
|
5935
5935
|
}) => {
|
|
5936
|
-
const i =
|
|
5936
|
+
const i = V.useRef([]), [a, s] = V.useState([]), d = V.useCallback((w) => {
|
|
5937
5937
|
i.current = w, s(w);
|
|
5938
5938
|
}, []), l = (w, x = !1) => {
|
|
5939
5939
|
let L = [...i.current];
|
|
@@ -5956,13 +5956,13 @@ const Sn = q.createContext({
|
|
|
5956
5956
|
popFromHistory: u,
|
|
5957
5957
|
replaceHistory: c
|
|
5958
5958
|
},
|
|
5959
|
-
children: /* @__PURE__ */ X.jsx(
|
|
5959
|
+
children: /* @__PURE__ */ X.jsx(Eo, { children: e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
5960
5960
|
r,
|
|
5961
|
-
/* @__PURE__ */ X.jsx(
|
|
5961
|
+
/* @__PURE__ */ X.jsx(to, { children: v })
|
|
5962
5962
|
] }) })
|
|
5963
5963
|
}
|
|
5964
5964
|
);
|
|
5965
|
-
}, xn =
|
|
5965
|
+
}, xn = V.createContext(
|
|
5966
5966
|
{
|
|
5967
5967
|
visibleItems: [],
|
|
5968
5968
|
isItemVisible: () => !1,
|
|
@@ -5971,15 +5971,15 @@ const Sn = q.createContext({
|
|
|
5971
5971
|
hideItem: () => {
|
|
5972
5972
|
}
|
|
5973
5973
|
}
|
|
5974
|
-
),
|
|
5975
|
-
const t =
|
|
5974
|
+
), ps = ({ children: e }) => {
|
|
5975
|
+
const t = V.useRef([]), [r, i] = V.useState([]), a = V.useCallback((u) => {
|
|
5976
5976
|
t.current = u, i(u);
|
|
5977
|
-
}, []), s =
|
|
5977
|
+
}, []), s = V.useCallback((u) => t.current.some((c) => c === u), []), d = V.useCallback(
|
|
5978
5978
|
(u) => {
|
|
5979
5979
|
s(u) || a([...t.current, u]);
|
|
5980
5980
|
},
|
|
5981
5981
|
[s, a]
|
|
5982
|
-
), l =
|
|
5982
|
+
), l = V.useCallback(
|
|
5983
5983
|
(u) => {
|
|
5984
5984
|
s(u) && a(
|
|
5985
5985
|
t.current.filter((v) => v !== u)
|
|
@@ -6011,19 +6011,19 @@ const Sn = q.createContext({
|
|
|
6011
6011
|
showItem: r,
|
|
6012
6012
|
hideItem: i
|
|
6013
6013
|
};
|
|
6014
|
-
},
|
|
6014
|
+
}, zo = ({
|
|
6015
6015
|
id: e,
|
|
6016
6016
|
onCloseDrawer: t,
|
|
6017
6017
|
drawerCloseOffset: r = 15
|
|
6018
6018
|
}) => {
|
|
6019
|
-
const { isItemVisible: i } = Ct(), [a, s] =
|
|
6019
|
+
const { isItemVisible: i } = Ct(), [a, s] = V.useState({
|
|
6020
6020
|
isDragging: !1
|
|
6021
|
-
}), d =
|
|
6021
|
+
}), d = V.useRef(null), l = V.useRef(null), u = V.useRef(null), [c, v] = V.useState(0), w = (k) => {
|
|
6022
6022
|
s(k);
|
|
6023
6023
|
}, x = (k) => {
|
|
6024
6024
|
s(k), v(0);
|
|
6025
6025
|
};
|
|
6026
|
-
return
|
|
6026
|
+
return sa({
|
|
6027
6027
|
ref: u,
|
|
6028
6028
|
onDrag: (k) => {
|
|
6029
6029
|
s(k);
|
|
@@ -6039,14 +6039,14 @@ const Sn = q.createContext({
|
|
|
6039
6039
|
drawerBottomDistance: c,
|
|
6040
6040
|
handleRef: u
|
|
6041
6041
|
};
|
|
6042
|
-
},
|
|
6042
|
+
}, ms = (e) => {
|
|
6043
6043
|
const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
|
|
6044
6044
|
isVisible: s,
|
|
6045
6045
|
drawerParentRef: d,
|
|
6046
6046
|
drawerRef: l,
|
|
6047
6047
|
handleRef: u,
|
|
6048
6048
|
drawerBottomDistance: c
|
|
6049
|
-
} =
|
|
6049
|
+
} = zo(e);
|
|
6050
6050
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
|
|
6051
6051
|
"div",
|
|
6052
6052
|
{
|
|
@@ -6115,8 +6115,8 @@ const Sn = q.createContext({
|
|
|
6115
6115
|
)
|
|
6116
6116
|
}
|
|
6117
6117
|
) });
|
|
6118
|
-
},
|
|
6119
|
-
const i =
|
|
6118
|
+
}, No = ({ onPreSubmit: e, onSubmit: t, fields: r }) => {
|
|
6119
|
+
const i = V.useRef(null), a = V.useRef(!1), s = (c) => {
|
|
6120
6120
|
const v = Array.from(c.currentTarget.elements).filter(
|
|
6121
6121
|
(x) => !!x.getAttribute("name")
|
|
6122
6122
|
), w = [];
|
|
@@ -6159,7 +6159,7 @@ const Sn = q.createContext({
|
|
|
6159
6159
|
console.error(`Form > Failed To Validate Field ${c.name}: `, L);
|
|
6160
6160
|
}
|
|
6161
6161
|
return c;
|
|
6162
|
-
}, l =
|
|
6162
|
+
}, l = V.useCallback(
|
|
6163
6163
|
async (c) => {
|
|
6164
6164
|
if (a.current)
|
|
6165
6165
|
return;
|
|
@@ -6178,7 +6178,7 @@ const Sn = q.createContext({
|
|
|
6178
6178
|
},
|
|
6179
6179
|
handleFormSubmission: l
|
|
6180
6180
|
};
|
|
6181
|
-
},
|
|
6181
|
+
}, Fo = Pe.div`
|
|
6182
6182
|
display: flex;
|
|
6183
6183
|
width: 100%;
|
|
6184
6184
|
align-items: center;
|
|
@@ -6193,8 +6193,8 @@ const Sn = q.createContext({
|
|
|
6193
6193
|
> * {
|
|
6194
6194
|
pointer-events: none;
|
|
6195
6195
|
}
|
|
6196
|
-
`,
|
|
6197
|
-
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: d } =
|
|
6196
|
+
`, vs = (e) => {
|
|
6197
|
+
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: d } = No(e), l = V.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
|
|
6198
6198
|
return /* @__PURE__ */ X.jsxs(
|
|
6199
6199
|
"form",
|
|
6200
6200
|
{
|
|
@@ -6224,7 +6224,7 @@ const Sn = q.createContext({
|
|
|
6224
6224
|
}
|
|
6225
6225
|
),
|
|
6226
6226
|
/* @__PURE__ */ X.jsx(
|
|
6227
|
-
|
|
6227
|
+
Fo,
|
|
6228
6228
|
{
|
|
6229
6229
|
onClick: d,
|
|
6230
6230
|
styles: {
|
|
@@ -6236,7 +6236,7 @@ const Sn = q.createContext({
|
|
|
6236
6236
|
]
|
|
6237
6237
|
}
|
|
6238
6238
|
);
|
|
6239
|
-
},
|
|
6239
|
+
}, gs = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ X.jsx(
|
|
6240
6240
|
"img",
|
|
6241
6241
|
{
|
|
6242
6242
|
src: e,
|
|
@@ -6255,7 +6255,7 @@ const Sn = q.createContext({
|
|
|
6255
6255
|
r?.();
|
|
6256
6256
|
}
|
|
6257
6257
|
}
|
|
6258
|
-
),
|
|
6258
|
+
), Wo = (e) => ({
|
|
6259
6259
|
handleOnBlur: (a) => {
|
|
6260
6260
|
e.onBlur?.();
|
|
6261
6261
|
},
|
|
@@ -6265,7 +6265,7 @@ const Sn = q.createContext({
|
|
|
6265
6265
|
onValueChanged: (a) => {
|
|
6266
6266
|
e.onChange?.(a.currentTarget.value);
|
|
6267
6267
|
}
|
|
6268
|
-
}),
|
|
6268
|
+
}), Uo = Pe.div`
|
|
6269
6269
|
display: flex;
|
|
6270
6270
|
flex-direction: column;
|
|
6271
6271
|
font-family: inherit;
|
|
@@ -6283,8 +6283,8 @@ const Sn = q.createContext({
|
|
|
6283
6283
|
input:-webkit-autofill {
|
|
6284
6284
|
background-color: #00000000;
|
|
6285
6285
|
}
|
|
6286
|
-
`,
|
|
6287
|
-
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } =
|
|
6286
|
+
`, Yo = (e) => {
|
|
6287
|
+
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Wo(e), {
|
|
6288
6288
|
name: a,
|
|
6289
6289
|
label: s,
|
|
6290
6290
|
leftIcon: d,
|
|
@@ -6301,10 +6301,10 @@ const Sn = q.createContext({
|
|
|
6301
6301
|
styles: C,
|
|
6302
6302
|
step: F,
|
|
6303
6303
|
pattern: U,
|
|
6304
|
-
onInput:
|
|
6304
|
+
onInput: q
|
|
6305
6305
|
} = e;
|
|
6306
6306
|
return /* @__PURE__ */ X.jsxs(
|
|
6307
|
-
|
|
6307
|
+
Uo,
|
|
6308
6308
|
{
|
|
6309
6309
|
style: {
|
|
6310
6310
|
width: "100%",
|
|
@@ -6353,7 +6353,7 @@ const Sn = q.createContext({
|
|
|
6353
6353
|
onChange: t,
|
|
6354
6354
|
onFocus: i,
|
|
6355
6355
|
onBlur: r,
|
|
6356
|
-
onInput:
|
|
6356
|
+
onInput: q,
|
|
6357
6357
|
pattern: U,
|
|
6358
6358
|
style: {
|
|
6359
6359
|
flex: 1,
|
|
@@ -6378,7 +6378,7 @@ const Sn = q.createContext({
|
|
|
6378
6378
|
]
|
|
6379
6379
|
}
|
|
6380
6380
|
);
|
|
6381
|
-
},
|
|
6381
|
+
}, ys = ({ id: e, styles: t, children: r }) => {
|
|
6382
6382
|
const { isItemVisible: i } = Ct();
|
|
6383
6383
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: i(e) && /* @__PURE__ */ X.jsx(
|
|
6384
6384
|
"div",
|
|
@@ -6399,7 +6399,7 @@ const Sn = q.createContext({
|
|
|
6399
6399
|
children: r
|
|
6400
6400
|
}
|
|
6401
6401
|
) });
|
|
6402
|
-
},
|
|
6402
|
+
}, bs = ({
|
|
6403
6403
|
id: e,
|
|
6404
6404
|
children: t,
|
|
6405
6405
|
backgroundStyles: r,
|
|
@@ -6457,8 +6457,8 @@ const Sn = q.createContext({
|
|
|
6457
6457
|
)
|
|
6458
6458
|
}
|
|
6459
6459
|
) });
|
|
6460
|
-
},
|
|
6461
|
-
const t =
|
|
6460
|
+
}, Vo = (e) => {
|
|
6461
|
+
const t = Cn("");
|
|
6462
6462
|
function r(l) {
|
|
6463
6463
|
return e.allowNegatives ? (l = l.replace(/-/g, (u, c) => c === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l;
|
|
6464
6464
|
}
|
|
@@ -6494,31 +6494,31 @@ const Sn = q.createContext({
|
|
|
6494
6494
|
onInput: s
|
|
6495
6495
|
}), [])()
|
|
6496
6496
|
};
|
|
6497
|
-
},
|
|
6497
|
+
}, ws = ({
|
|
6498
6498
|
allowNegatives: e = !0,
|
|
6499
6499
|
allowDecimals: t = !0,
|
|
6500
6500
|
decimalScale: r = 2,
|
|
6501
6501
|
...i
|
|
6502
6502
|
}) => {
|
|
6503
|
-
const { props: a } =
|
|
6503
|
+
const { props: a } = Vo({
|
|
6504
6504
|
allowNegatives: e,
|
|
6505
6505
|
allowDecimals: t,
|
|
6506
6506
|
decimalScale: r,
|
|
6507
6507
|
...i
|
|
6508
6508
|
});
|
|
6509
|
-
return /* @__PURE__ */ X.jsx(
|
|
6510
|
-
},
|
|
6511
|
-
const t =
|
|
6509
|
+
return /* @__PURE__ */ X.jsx(Yo, { type: "text", ...a });
|
|
6510
|
+
}, qo = (e) => {
|
|
6511
|
+
const t = V.useRef(null), r = V.useRef(null), [i, a] = V.useState(24), [s, d] = V.useState(24), l = V.useCallback(() => {
|
|
6512
6512
|
t.current && a(t.current.clientHeight);
|
|
6513
|
-
}, [t, t.current]), u =
|
|
6513
|
+
}, [t, t.current]), u = V.useCallback(() => {
|
|
6514
6514
|
r.current && d(r.current.clientHeight);
|
|
6515
|
-
}, [r, r.current]), c =
|
|
6515
|
+
}, [r, r.current]), c = V.useCallback(() => {
|
|
6516
6516
|
let v = 0;
|
|
6517
6517
|
return e.header?.visibility === "always" && (v = v + (i || 0)), e.footer?.visibility === "always" && (v = v + (s || 0)), v;
|
|
6518
6518
|
}, [r, r.current]);
|
|
6519
|
-
return
|
|
6519
|
+
return V.useEffect(() => {
|
|
6520
6520
|
l();
|
|
6521
|
-
}, [l, t, t.current]),
|
|
6521
|
+
}, [l, t, t.current]), V.useEffect(() => {
|
|
6522
6522
|
u();
|
|
6523
6523
|
}, [u, r, r.current]), {
|
|
6524
6524
|
header: {
|
|
@@ -6537,7 +6537,7 @@ const Sn = q.createContext({
|
|
|
6537
6537
|
extraHeight: c()
|
|
6538
6538
|
}
|
|
6539
6539
|
};
|
|
6540
|
-
},
|
|
6540
|
+
}, Bo = Pe.div`
|
|
6541
6541
|
min-height: 100%;
|
|
6542
6542
|
max-height: 100%;
|
|
6543
6543
|
width: 100%;
|
|
@@ -6557,7 +6557,7 @@ const Sn = q.createContext({
|
|
|
6557
6557
|
box-sizing: border-box;
|
|
6558
6558
|
position: relative;
|
|
6559
6559
|
}
|
|
6560
|
-
`,
|
|
6560
|
+
`, Ss = (e) => {
|
|
6561
6561
|
const {
|
|
6562
6562
|
containerStyles: t,
|
|
6563
6563
|
pageStyles: r,
|
|
@@ -6565,9 +6565,9 @@ const Sn = q.createContext({
|
|
|
6565
6565
|
allowScroll: a = !0,
|
|
6566
6566
|
floatingContent: s,
|
|
6567
6567
|
reserveSpaceForScrollbar: d
|
|
6568
|
-
} = e, { footer: l, header: u } =
|
|
6568
|
+
} = e, { footer: l, header: u } = qo(e);
|
|
6569
6569
|
return /* @__PURE__ */ X.jsxs(
|
|
6570
|
-
|
|
6570
|
+
Bo,
|
|
6571
6571
|
{
|
|
6572
6572
|
id: "page-container",
|
|
6573
6573
|
styles: {
|
|
@@ -6656,18 +6656,19 @@ const Sn = q.createContext({
|
|
|
6656
6656
|
}
|
|
6657
6657
|
);
|
|
6658
6658
|
};
|
|
6659
|
-
class
|
|
6659
|
+
class xs {
|
|
6660
6660
|
static getField = (t, r) => {
|
|
6661
6661
|
const i = t.find((a) => a.name === r);
|
|
6662
|
+
if (i)
|
|
6663
|
+
return i;
|
|
6664
|
+
};
|
|
6665
|
+
static getFieldValue = (t, r) => {
|
|
6666
|
+
const i = this.getField(t, r);
|
|
6662
6667
|
if (!(!i || !i.value))
|
|
6663
6668
|
return i.value;
|
|
6664
6669
|
};
|
|
6665
|
-
static getFieldOrDefault = (t, r, i) => {
|
|
6666
|
-
const a = On.getField(t, r);
|
|
6667
|
-
return a === void 0 ? i : a;
|
|
6668
|
-
};
|
|
6669
6670
|
}
|
|
6670
|
-
class
|
|
6671
|
+
class Xo {
|
|
6671
6672
|
static clamp = (t, r, i) => t > i ? i : t < r ? r : t;
|
|
6672
6673
|
}
|
|
6673
6674
|
class Os {
|
|
@@ -6685,19 +6686,19 @@ class ks {
|
|
|
6685
6686
|
});
|
|
6686
6687
|
static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6687
6688
|
}
|
|
6688
|
-
var ft = { exports: {} },
|
|
6689
|
-
function
|
|
6689
|
+
var ft = { exports: {} }, Go = ft.exports, Mr;
|
|
6690
|
+
function Ko() {
|
|
6690
6691
|
return Mr || (Mr = 1, function(e, t) {
|
|
6691
6692
|
(function(r, i) {
|
|
6692
6693
|
e.exports = i();
|
|
6693
|
-
})(
|
|
6694
|
+
})(Go, function() {
|
|
6694
6695
|
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", d = "second", l = "minute", u = "hour", c = "day", v = "week", w = "month", x = "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) {
|
|
6695
6696
|
var E = ["th", "st", "nd", "rd"], j = T % 100;
|
|
6696
6697
|
return "[" + T + (E[(j - 20) % 10] || E[j] || E[0]) + "]";
|
|
6697
6698
|
} }, U = function(T, E, j) {
|
|
6698
6699
|
var o = String(T);
|
|
6699
6700
|
return !o || o.length >= E ? T : "" + Array(E + 1 - o.length).join(j) + T;
|
|
6700
|
-
},
|
|
6701
|
+
}, q = { s: U, z: function(T) {
|
|
6701
6702
|
var E = -T.utcOffset(), j = Math.abs(E), o = Math.floor(j / 60), H = j % 60;
|
|
6702
6703
|
return (E <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
6703
6704
|
}, m: function T(E, j) {
|
|
@@ -6731,7 +6732,7 @@ function Jo() {
|
|
|
6731
6732
|
if (R(T)) return T.clone();
|
|
6732
6733
|
var j = typeof E == "object" ? E : {};
|
|
6733
6734
|
return j.date = T, j.args = arguments, new A(j);
|
|
6734
|
-
}, P =
|
|
6735
|
+
}, P = q;
|
|
6735
6736
|
P.l = y, P.i = R, P.w = function(T, E) {
|
|
6736
6737
|
return h(T, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
6737
6738
|
};
|
|
@@ -6788,8 +6789,8 @@ function Jo() {
|
|
|
6788
6789
|
case w:
|
|
6789
6790
|
return m ? f(1, D) : f(0, D + 1);
|
|
6790
6791
|
case v:
|
|
6791
|
-
var W = this.$locale().weekStart || 0,
|
|
6792
|
-
return f(m ? z -
|
|
6792
|
+
var W = this.$locale().weekStart || 0, B = ($ < W ? $ + 7 : $) - W;
|
|
6793
|
+
return f(m ? z - B : z + (6 - B), D);
|
|
6793
6794
|
case c:
|
|
6794
6795
|
case k:
|
|
6795
6796
|
return O(N + "Hours", 0);
|
|
@@ -6835,7 +6836,7 @@ function Jo() {
|
|
|
6835
6836
|
if (!this.isValid()) return H.invalidDate || p;
|
|
6836
6837
|
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = P.z(this), f = this.$H, O = this.$m, $ = this.$M, D = H.weekdays, z = H.months, N = H.meridiem, W = function(G, J, te, Z) {
|
|
6837
6838
|
return G && (G[J] || G(o, m)) || te[J].slice(0, Z);
|
|
6838
|
-
},
|
|
6839
|
+
}, B = function(G) {
|
|
6839
6840
|
return P.s(f % 12 || 12, G, "0");
|
|
6840
6841
|
}, K = N || function(G, J, te) {
|
|
6841
6842
|
var Z = G < 12 ? "AM" : "PM";
|
|
@@ -6873,9 +6874,9 @@ function Jo() {
|
|
|
6873
6874
|
case "HH":
|
|
6874
6875
|
return P.s(f, 2, "0");
|
|
6875
6876
|
case "h":
|
|
6876
|
-
return
|
|
6877
|
+
return B(1);
|
|
6877
6878
|
case "hh":
|
|
6878
|
-
return
|
|
6879
|
+
return B(2);
|
|
6879
6880
|
case "a":
|
|
6880
6881
|
return K(f, O, !0);
|
|
6881
6882
|
case "A":
|
|
@@ -6963,14 +6964,14 @@ function Jo() {
|
|
|
6963
6964
|
});
|
|
6964
6965
|
}(ft)), ft.exports;
|
|
6965
6966
|
}
|
|
6966
|
-
var
|
|
6967
|
-
const dt = /* @__PURE__ */
|
|
6968
|
-
var ht = { exports: {} },
|
|
6969
|
-
function
|
|
6967
|
+
var Jo = Ko();
|
|
6968
|
+
const dt = /* @__PURE__ */ Vt(Jo);
|
|
6969
|
+
var ht = { exports: {} }, Zo = ht.exports, $r;
|
|
6970
|
+
function Qo() {
|
|
6970
6971
|
return $r || ($r = 1, function(e, t) {
|
|
6971
6972
|
(function(r, i) {
|
|
6972
6973
|
e.exports = i();
|
|
6973
|
-
})(
|
|
6974
|
+
})(Zo, function() {
|
|
6974
6975
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
6975
6976
|
return function(s, d, l) {
|
|
6976
6977
|
var u = d.prototype;
|
|
@@ -7009,8 +7010,8 @@ function es() {
|
|
|
7009
7010
|
if (F === 0) return this.utc(I);
|
|
7010
7011
|
var U = this.clone();
|
|
7011
7012
|
if (I) return U.$offset = F, U.$u = !1, U;
|
|
7012
|
-
var
|
|
7013
|
-
return (U = this.local().add(F +
|
|
7013
|
+
var q = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
7014
|
+
return (U = this.local().add(F + q, r)).$offset = F, U.$x.$localOffset = q, U;
|
|
7014
7015
|
};
|
|
7015
7016
|
var x = u.format;
|
|
7016
7017
|
u.format = function(p) {
|
|
@@ -7040,9 +7041,9 @@ function es() {
|
|
|
7040
7041
|
});
|
|
7041
7042
|
}(ht)), ht.exports;
|
|
7042
7043
|
}
|
|
7043
|
-
var
|
|
7044
|
-
const
|
|
7045
|
-
dt.extend(
|
|
7044
|
+
var es = Qo();
|
|
7045
|
+
const ts = /* @__PURE__ */ Vt(es);
|
|
7046
|
+
dt.extend(ts);
|
|
7046
7047
|
class Cs {
|
|
7047
7048
|
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
7048
7049
|
static waitForCondition = (t) => new Promise((r) => {
|
|
@@ -7088,7 +7089,7 @@ const Ps = ({
|
|
|
7088
7089
|
styles: i,
|
|
7089
7090
|
barStyles: a
|
|
7090
7091
|
}) => {
|
|
7091
|
-
const s =
|
|
7092
|
+
const s = Xo.clamp(e, t, r);
|
|
7092
7093
|
return /* @__PURE__ */ X.jsx(
|
|
7093
7094
|
"div",
|
|
7094
7095
|
{
|
|
@@ -7198,7 +7199,7 @@ const Ps = ({
|
|
|
7198
7199
|
}
|
|
7199
7200
|
)
|
|
7200
7201
|
}
|
|
7201
|
-
),
|
|
7202
|
+
), rs = Pe.div`
|
|
7202
7203
|
display: flex;
|
|
7203
7204
|
flex-direction: column;
|
|
7204
7205
|
font-family: inherit;
|
|
@@ -7244,7 +7245,7 @@ const Ps = ({
|
|
|
7244
7245
|
v?.();
|
|
7245
7246
|
};
|
|
7246
7247
|
return /* @__PURE__ */ X.jsxs(
|
|
7247
|
-
|
|
7248
|
+
rs,
|
|
7248
7249
|
{
|
|
7249
7250
|
style: {
|
|
7250
7251
|
width: "100%",
|
|
@@ -7316,8 +7317,8 @@ const Ps = ({
|
|
|
7316
7317
|
styles: r,
|
|
7317
7318
|
durationInSeconds: i = 3
|
|
7318
7319
|
}) => {
|
|
7319
|
-
const a =
|
|
7320
|
-
return
|
|
7320
|
+
const a = V.useRef(!1), { isItemVisible: s, hideItem: d } = Ct();
|
|
7321
|
+
return V.useEffect(() => {
|
|
7321
7322
|
const l = s(e);
|
|
7322
7323
|
a.current !== l && (a.current = l, l && setTimeout(() => d(e), i * 1e3));
|
|
7323
7324
|
}, [a, s, d]), /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
@@ -7377,21 +7378,21 @@ const Ps = ({
|
|
|
7377
7378
|
}
|
|
7378
7379
|
);
|
|
7379
7380
|
export {
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7381
|
+
is as Button,
|
|
7382
|
+
as as Carousel,
|
|
7383
|
+
os as Checkbox,
|
|
7384
|
+
ms as Drawer,
|
|
7385
|
+
ps as FeedbackProvider,
|
|
7386
|
+
vs as Form,
|
|
7387
|
+
xs as FormsHelper,
|
|
7388
|
+
gs as Image,
|
|
7389
|
+
Yo as InputField,
|
|
7390
|
+
ys as Loader,
|
|
7391
|
+
bs as Modal,
|
|
7392
|
+
hs as NavigationProvider,
|
|
7393
|
+
Xo as NumberHelper,
|
|
7394
|
+
ws as NumericInputField,
|
|
7395
|
+
Ss as PageLayout,
|
|
7395
7396
|
Ps as ProgressBar,
|
|
7396
7397
|
Es as RadioButton,
|
|
7397
7398
|
Os as ScrollHelper,
|
|
@@ -7401,14 +7402,14 @@ export {
|
|
|
7401
7402
|
Cs as TimeHelper,
|
|
7402
7403
|
Ts as Toast,
|
|
7403
7404
|
js as Typography,
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7405
|
+
la as defaultBreakpoints,
|
|
7406
|
+
ss as useDidMount,
|
|
7407
|
+
sa as useDrag,
|
|
7407
7408
|
Ct as useFeedback,
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7409
|
+
ls as useFetch,
|
|
7410
|
+
ds as useNavigation,
|
|
7411
|
+
us as useOnScreen,
|
|
7412
|
+
oa as usePointer,
|
|
7413
|
+
cs as useResponsive,
|
|
7414
|
+
fs as useTranslations
|
|
7414
7415
|
};
|