@eliseubatista99/react-scaffold-core 0.1.76 → 0.1.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +10 -10
- package/dist/index.es.js +506 -503
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as D from "react";
|
|
2
|
-
import B, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as
|
|
2
|
+
import B, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as Te } from "react";
|
|
3
3
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function qt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -28,7 +28,7 @@ function Cn(e) {
|
|
|
28
28
|
});
|
|
29
29
|
}), r;
|
|
30
30
|
}
|
|
31
|
-
var nt = { exports: {} },
|
|
31
|
+
var nt = { exports: {} }, He = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.production.js
|
|
@@ -40,7 +40,7 @@ var nt = { exports: {} }, ze = {};
|
|
|
40
40
|
*/
|
|
41
41
|
var rr;
|
|
42
42
|
function Pn() {
|
|
43
|
-
if (rr) return
|
|
43
|
+
if (rr) return He;
|
|
44
44
|
rr = 1;
|
|
45
45
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
46
46
|
function r(i, a, s) {
|
|
@@ -58,9 +58,9 @@ function Pn() {
|
|
|
58
58
|
props: s
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
return
|
|
61
|
+
return He.Fragment = t, He.jsx = r, He.jsxs = r, He;
|
|
62
62
|
}
|
|
63
|
-
var
|
|
63
|
+
var ze = {};
|
|
64
64
|
/**
|
|
65
65
|
* @license React
|
|
66
66
|
* react-jsx-runtime.development.js
|
|
@@ -175,16 +175,16 @@ function En() {
|
|
|
175
175
|
}
|
|
176
176
|
function u() {
|
|
177
177
|
var n = e(this.type);
|
|
178
|
-
return
|
|
178
|
+
return j[n] || (j[n] = !0, console.error(
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function h(n, f, S, $, L,
|
|
183
|
-
return S =
|
|
182
|
+
function h(n, f, S, $, L, z, N, W) {
|
|
183
|
+
return S = z.ref, n = {
|
|
184
184
|
$$typeof: M,
|
|
185
185
|
type: n,
|
|
186
186
|
key: f,
|
|
187
|
-
props:
|
|
187
|
+
props: z,
|
|
188
188
|
_owner: L
|
|
189
189
|
}, (S !== void 0 ? S : null) !== null ? Object.defineProperty(n, "ref", {
|
|
190
190
|
enumerable: !1,
|
|
@@ -211,7 +211,7 @@ function En() {
|
|
|
211
211
|
value: W
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function g(n, f, S, $, L,
|
|
214
|
+
function g(n, f, S, $, L, z, N, W) {
|
|
215
215
|
var V = f.children;
|
|
216
216
|
if (V !== void 0)
|
|
217
217
|
if ($)
|
|
@@ -253,7 +253,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
253
253
|
), h(
|
|
254
254
|
n,
|
|
255
255
|
V,
|
|
256
|
-
|
|
256
|
+
z,
|
|
257
257
|
L,
|
|
258
258
|
a(),
|
|
259
259
|
S,
|
|
@@ -264,20 +264,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function x(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var _ = B, M = Symbol.for("react.transitional.element"), P = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), k = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, R = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
|
-
|
|
270
|
+
_ = {
|
|
271
271
|
"react-stack-bottom-frame": function(n) {
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var C,
|
|
276
|
-
|
|
275
|
+
var C, j = {}, o = _["react-stack-bottom-frame"].bind(
|
|
276
|
+
_,
|
|
277
277
|
s
|
|
278
|
-
)(),
|
|
279
|
-
|
|
280
|
-
var
|
|
278
|
+
)(), H = T(i(s)), m = {};
|
|
279
|
+
ze.Fragment = p, ze.jsx = function(n, f, S, $, L) {
|
|
280
|
+
var z = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
283
|
f,
|
|
@@ -285,11 +285,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
285
285
|
!1,
|
|
286
286
|
$,
|
|
287
287
|
L,
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
z ? Error("react-stack-top-frame") : o,
|
|
289
|
+
z ? T(i(n)) : H
|
|
290
290
|
);
|
|
291
|
-
},
|
|
292
|
-
var
|
|
291
|
+
}, ze.jsxs = function(n, f, S, $, L) {
|
|
292
|
+
var z = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
295
|
f,
|
|
@@ -297,11 +297,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
297
297
|
!0,
|
|
298
298
|
$,
|
|
299
299
|
L,
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
z ? Error("react-stack-top-frame") : o,
|
|
301
|
+
z ? T(i(n)) : H
|
|
302
302
|
);
|
|
303
303
|
};
|
|
304
|
-
}()),
|
|
304
|
+
}()), ze;
|
|
305
305
|
}
|
|
306
306
|
var ir;
|
|
307
307
|
function Rn() {
|
|
@@ -331,7 +331,7 @@ const es = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.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
|
|
@@ -370,32 +370,32 @@ function _n() {
|
|
|
370
370
|
e.default = t;
|
|
371
371
|
}(Rt)), Rt;
|
|
372
372
|
}
|
|
373
|
-
var
|
|
374
|
-
function
|
|
375
|
-
if (or) return
|
|
373
|
+
var Tt, or;
|
|
374
|
+
function _n() {
|
|
375
|
+
if (or) return Tt;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = u || h || Function("return this")(), x = Object.prototype,
|
|
377
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = u || h || Function("return this")(), x = Object.prototype, _ = x.toString, M = Math.max, P = Math.min, p = function() {
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, b, w) {
|
|
381
|
-
var E, y, d, k, A, R,
|
|
381
|
+
var E, y, d, k, A, R, T = 0, C = !1, j = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
b = q(b) || 0, O(w) && (C = !!w.leading,
|
|
385
|
-
function
|
|
384
|
+
b = q(b) || 0, O(w) && (C = !!w.leading, j = "maxWait" in w, d = j ? M(q(w.maxWait) || 0, b) : d, o = "trailing" in w ? !!w.trailing : o);
|
|
385
|
+
function H(W) {
|
|
386
386
|
var V = E, K = y;
|
|
387
|
-
return E = y = void 0,
|
|
387
|
+
return E = y = void 0, T = W, k = v.apply(K, V), k;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
|
-
return
|
|
390
|
+
return T = W, A = setTimeout(S, b), C ? H(W) : k;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
|
-
var V = W - R, K = W -
|
|
394
|
-
return
|
|
393
|
+
var V = W - R, K = W - T, X = b - V;
|
|
394
|
+
return j ? P(X, d - K) : X;
|
|
395
395
|
}
|
|
396
396
|
function f(W) {
|
|
397
|
-
var V = W - R, K = W -
|
|
398
|
-
return R === void 0 || V >= b || V < 0 ||
|
|
397
|
+
var V = W - R, K = W - T;
|
|
398
|
+
return R === void 0 || V >= b || V < 0 || j && K >= d;
|
|
399
399
|
}
|
|
400
400
|
function S() {
|
|
401
401
|
var W = p();
|
|
@@ -404,12 +404,12 @@ function Tn() {
|
|
|
404
404
|
A = setTimeout(S, n(W));
|
|
405
405
|
}
|
|
406
406
|
function $(W) {
|
|
407
|
-
return A = void 0, o && E ?
|
|
407
|
+
return A = void 0, o && E ? H(W) : (E = y = void 0, k);
|
|
408
408
|
}
|
|
409
409
|
function L() {
|
|
410
|
-
A !== void 0 && clearTimeout(A),
|
|
410
|
+
A !== void 0 && clearTimeout(A), T = 0, E = R = y = A = void 0;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function z() {
|
|
413
413
|
return A === void 0 ? k : $(p());
|
|
414
414
|
}
|
|
415
415
|
function N() {
|
|
@@ -417,12 +417,12 @@ function Tn() {
|
|
|
417
417
|
if (E = arguments, y = this, R = W, V) {
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(R);
|
|
420
|
-
if (
|
|
421
|
-
return A = setTimeout(S, b),
|
|
420
|
+
if (j)
|
|
421
|
+
return A = setTimeout(S, b), H(R);
|
|
422
422
|
}
|
|
423
423
|
return A === void 0 && (A = setTimeout(S, b)), k;
|
|
424
424
|
}
|
|
425
|
-
return N.cancel = L, N.flush =
|
|
425
|
+
return N.cancel = L, N.flush = z, N;
|
|
426
426
|
}
|
|
427
427
|
function O(v) {
|
|
428
428
|
var b = typeof v;
|
|
@@ -432,7 +432,7 @@ function Tn() {
|
|
|
432
432
|
return !!v && typeof v == "object";
|
|
433
433
|
}
|
|
434
434
|
function U(v) {
|
|
435
|
-
return typeof v == "symbol" || F(v) &&
|
|
435
|
+
return typeof v == "symbol" || F(v) && _.call(v) == r;
|
|
436
436
|
}
|
|
437
437
|
function q(v) {
|
|
438
438
|
if (typeof v == "number")
|
|
@@ -449,9 +449,9 @@ function Tn() {
|
|
|
449
449
|
var w = s.test(v);
|
|
450
450
|
return w || c.test(v) ? l(v.slice(2), w ? 2 : 8) : a.test(v) ? t : +v;
|
|
451
451
|
}
|
|
452
|
-
return
|
|
452
|
+
return Tt = I, Tt;
|
|
453
453
|
}
|
|
454
|
-
var
|
|
454
|
+
var _t = { exports: {} };
|
|
455
455
|
/*!
|
|
456
456
|
Copyright (c) 2018 Jed Watson.
|
|
457
457
|
Licensed under the MIT License (MIT), see
|
|
@@ -488,10 +488,10 @@ function yt() {
|
|
|
488
488
|
}
|
|
489
489
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
490
490
|
})();
|
|
491
|
-
}(
|
|
491
|
+
}(_t)), _t.exports;
|
|
492
492
|
}
|
|
493
493
|
var Y = {}, jt = {}, lr;
|
|
494
|
-
function
|
|
494
|
+
function zr() {
|
|
495
495
|
return lr || (lr = 1, function(e) {
|
|
496
496
|
Object.defineProperty(e, "__esModule", {
|
|
497
497
|
value: !0
|
|
@@ -571,8 +571,8 @@ function Ke() {
|
|
|
571
571
|
if (ur) return Y;
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
|
-
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = h, Y.extractObject = void 0, Y.filterSettings =
|
|
575
|
-
var e = r(B), t = r(
|
|
574
|
+
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = h, 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(B), t = r(zr());
|
|
576
576
|
function r(m) {
|
|
577
577
|
return m && m.__esModule ? m : { default: m };
|
|
578
578
|
}
|
|
@@ -629,16 +629,16 @@ function Ke() {
|
|
|
629
629
|
var f = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
630
|
f.includes(n._reactName) || n.preventDefault();
|
|
631
631
|
}, x = Y.getOnDemandLazySlides = function(n) {
|
|
632
|
-
for (var f = [], S =
|
|
632
|
+
for (var f = [], S = _(n), $ = M(n), L = S; L < $; L++)
|
|
633
633
|
n.lazyLoadedList.indexOf(L) < 0 && f.push(L);
|
|
634
634
|
return f;
|
|
635
635
|
};
|
|
636
636
|
Y.getRequiredLazySlides = function(n) {
|
|
637
|
-
for (var f = [], S =
|
|
637
|
+
for (var f = [], S = _(n), $ = M(n), L = S; L < $; L++)
|
|
638
638
|
f.push(L);
|
|
639
639
|
return f;
|
|
640
640
|
};
|
|
641
|
-
var
|
|
641
|
+
var _ = Y.lazyStartIndex = function(n) {
|
|
642
642
|
return n.currentSlide - P(n);
|
|
643
643
|
}, M = Y.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
@@ -651,8 +651,8 @@ function Ke() {
|
|
|
651
651
|
}, O = Y.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
653
|
}, F = Y.getSwipeDirection = function(n) {
|
|
654
|
-
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, $, L,
|
|
655
|
-
return S = n.startX - n.curX, $ = n.startY - n.curY, L = Math.atan2($, S),
|
|
654
|
+
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, $, L, z;
|
|
655
|
+
return S = n.startX - n.curX, $ = n.startY - n.curY, L = Math.atan2($, S), z = Math.round(L * 180 / Math.PI), z < 0 && (z = 360 - Math.abs(z)), z <= 45 && z >= 0 || z <= 360 && z >= 315 ? "left" : z >= 135 && z <= 225 ? "right" : f === !0 ? z >= 35 && z <= 135 ? "up" : "down" : "vertical";
|
|
656
656
|
}, U = Y.canGoNext = function(n) {
|
|
657
657
|
var f = !0;
|
|
658
658
|
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (f = !1), f;
|
|
@@ -663,7 +663,7 @@ function Ke() {
|
|
|
663
663
|
return S[$] = n[$];
|
|
664
664
|
}), S;
|
|
665
665
|
}, Y.initializedState = function(n) {
|
|
666
|
-
var f = e.default.Children.count(n.children), S = n.listRef, $ = Math.ceil(I(S)), L = n.trackRef && n.trackRef.node,
|
|
666
|
+
var f = e.default.Children.count(n.children), S = n.listRef, $ = Math.ceil(I(S)), L = n.trackRef && n.trackRef.node, z = Math.ceil(I(L)), N;
|
|
667
667
|
if (n.vertical)
|
|
668
668
|
N = $;
|
|
669
669
|
else {
|
|
@@ -681,7 +681,7 @@ function Ke() {
|
|
|
681
681
|
slideCount: f,
|
|
682
682
|
slideWidth: N,
|
|
683
683
|
listWidth: $,
|
|
684
|
-
trackWidth:
|
|
684
|
+
trackWidth: z,
|
|
685
685
|
currentSlide: X,
|
|
686
686
|
slideHeight: V,
|
|
687
687
|
listHeight: K,
|
|
@@ -689,12 +689,12 @@ function Ke() {
|
|
|
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, S = n.animating, $ = n.fade, L = n.infinite,
|
|
692
|
+
var f = n.waitForAnimate, S = n.animating, $ = n.fade, L = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad, V = n.currentSlide, K = n.centerMode, X = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
693
|
if (f && S) return {};
|
|
694
|
-
var ee =
|
|
694
|
+
var ee = z, ie, le, Q, oe = {}, ue = {}, ce = L ? z : h(z, 0, N - 1);
|
|
695
695
|
if ($) {
|
|
696
|
-
if (!L && (
|
|
697
|
-
|
|
696
|
+
if (!L && (z < 0 || z >= N)) return {};
|
|
697
|
+
z < 0 ? ee = z + N : z >= N && (ee = z - N), W && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
698
698
|
animating: !0,
|
|
699
699
|
currentSlide: ee,
|
|
700
700
|
lazyLoadedList: Z,
|
|
@@ -739,8 +739,8 @@ function Ke() {
|
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
741
|
}, Y.changeSlide = function(n, f) {
|
|
742
|
-
var S, $, L,
|
|
743
|
-
if (
|
|
742
|
+
var S, $, L, z, N, W = n.slidesToScroll, V = n.slidesToShow, K = n.slideCount, X = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
|
+
if (z = K % W !== 0, S = z ? 0 : (K - X) % W, f.message === "previous")
|
|
744
744
|
L = S === 0 ? W : V - S, N = X - L, te && !Z && ($ = X - L, N = $ === -1 ? K - 1 : $), Z || (N = J - W);
|
|
745
745
|
else if (f.message === "next")
|
|
746
746
|
L = S === 0 ? W : S, N = X + L, te && !Z && (N = (X + W) % K + S), Z || (N = J + W);
|
|
@@ -748,7 +748,7 @@ function Ke() {
|
|
|
748
748
|
N = f.index * f.slidesToScroll;
|
|
749
749
|
else if (f.message === "children") {
|
|
750
750
|
if (N = f.index, Z) {
|
|
751
|
-
var ee =
|
|
751
|
+
var ee = T(s(s({}, n), {}, {
|
|
752
752
|
targetSlide: N
|
|
753
753
|
}));
|
|
754
754
|
N > f.currentSlide && ee === "left" ? N = N - K : N < f.currentSlide && ee === "right" && (N = N + K);
|
|
@@ -768,10 +768,10 @@ function Ke() {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
}, Y.swipeMove = function(n, f) {
|
|
771
|
-
var S = f.scrolling, $ = f.animating, L = f.vertical,
|
|
771
|
+
var S = f.scrolling, $ = f.animating, L = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl, V = f.currentSlide, K = f.edgeFriction, X = 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 (!S) {
|
|
773
773
|
if ($) return g(n);
|
|
774
|
-
L &&
|
|
774
|
+
L && z && N && g(n);
|
|
775
775
|
var pe, Ee = {}, tt = d(f);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
@@ -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, g(n)), Ee;
|
|
793
793
|
}
|
|
794
794
|
}, Y.swipeEnd = function(n, f) {
|
|
795
|
-
var S = f.dragging, $ = f.swipe, L = f.touchObject,
|
|
795
|
+
var S = f.dragging, $ = f.swipe, L = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping, V = f.listHeight, K = f.swipeToSlide, X = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
796
796
|
if (!S)
|
|
797
797
|
return $ && g(n), {};
|
|
798
|
-
var ie = W ? V / N :
|
|
798
|
+
var ie = W ? V / N : z / N, le = F(L, W), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
801
801
|
scrolling: !1,
|
|
@@ -860,7 +860,7 @@ function Ke() {
|
|
|
860
860
|
return !0;
|
|
861
861
|
}), !S)
|
|
862
862
|
return 0;
|
|
863
|
-
var
|
|
863
|
+
var z = n.rtl === !0 ? n.slideCount - n.currentSlide : n.currentSlide, N = Math.abs(S.dataset.index - z) || 1;
|
|
864
864
|
return N;
|
|
865
865
|
} else
|
|
866
866
|
return n.slidesToScroll;
|
|
@@ -883,9 +883,9 @@ function Ke() {
|
|
|
883
883
|
WebkitTransition: ""
|
|
884
884
|
};
|
|
885
885
|
if (n.useTransform) {
|
|
886
|
-
var
|
|
886
|
+
var z = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", N = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", W = n.vertical ? "translateY(" + n.left + "px)" : "translateX(" + n.left + "px)";
|
|
887
887
|
L = s(s({}, L), {}, {
|
|
888
|
-
WebkitTransform:
|
|
888
|
+
WebkitTransform: z,
|
|
889
889
|
transform: N,
|
|
890
890
|
msTransform: W
|
|
891
891
|
});
|
|
@@ -902,11 +902,11 @@ function Ke() {
|
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
904
|
w(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
-
var f = n.slideIndex, S = n.trackRef, $ = n.infinite, L = n.centerMode,
|
|
905
|
+
var f = n.slideIndex, S = n.trackRef, $ = n.infinite, L = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll, V = n.slideWidth, K = n.listWidth, X = 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 = -k(n),
|
|
909
|
+
if ($ ? (oe = -k(n), z % W !== 0 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), L && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), L && (oe = parseInt(N / 2))), ee = oe * V, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * V * -1 + ee, X === !0) {
|
|
910
910
|
var ue, ce = S && S.node;
|
|
911
911
|
if (ue = f + k(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, L === !0) {
|
|
912
912
|
ue = $ ? f + k(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
@@ -922,20 +922,20 @@ function Ke() {
|
|
|
922
922
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
923
923
|
}, R = Y.getTotalSlides = function(n) {
|
|
924
924
|
return n.slideCount === 1 ? 1 : k(n) + n.slideCount + A(n);
|
|
925
|
-
},
|
|
926
|
-
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + C(n) ? "left" : "right" : n.targetSlide < n.currentSlide -
|
|
925
|
+
}, T = Y.siblingDirection = function(n) {
|
|
926
|
+
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + C(n) ? "left" : "right" : n.targetSlide < n.currentSlide - j(n) ? "right" : "left";
|
|
927
927
|
}, C = Y.slidesOnRight = function(n) {
|
|
928
928
|
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
929
929
|
if (S) {
|
|
930
|
-
var
|
|
931
|
-
return parseInt(L) > 0 && (
|
|
930
|
+
var z = (f - 1) / 2 + 1;
|
|
931
|
+
return parseInt(L) > 0 && (z += 1), $ && f % 2 === 0 && (z += 1), z;
|
|
932
932
|
}
|
|
933
933
|
return $ ? 0 : f - 1;
|
|
934
|
-
},
|
|
934
|
+
}, j = Y.slidesOnLeft = function(n) {
|
|
935
935
|
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
936
936
|
if (S) {
|
|
937
|
-
var
|
|
938
|
-
return parseInt(L) > 0 && (
|
|
937
|
+
var z = (f - 1) / 2 + 1;
|
|
938
|
+
return parseInt(L) > 0 && (z += 1), !$ && f % 2 === 0 && (z += 1), z;
|
|
939
939
|
}
|
|
940
940
|
return $ ? f - 1 : 0;
|
|
941
941
|
};
|
|
@@ -943,7 +943,7 @@ function Ke() {
|
|
|
943
943
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
944
944
|
};
|
|
945
945
|
var o = Y.validSettings = Object.keys(t.default);
|
|
946
|
-
function
|
|
946
|
+
function H(m) {
|
|
947
947
|
return o.reduce(function(n, f) {
|
|
948
948
|
return m.hasOwnProperty(f) && (n[f] = m[f]), n;
|
|
949
949
|
}, {});
|
|
@@ -1007,10 +1007,10 @@ function jn() {
|
|
|
1007
1007
|
var R = p(this).constructor;
|
|
1008
1008
|
k = Reflect.construct(A, arguments, R);
|
|
1009
1009
|
} else k = A.apply(this, arguments);
|
|
1010
|
-
return
|
|
1010
|
+
return _(this, k);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function _(y, d) {
|
|
1014
1014
|
if (d && (a(d) == "object" || typeof d == "function")) return d;
|
|
1015
1015
|
if (d !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
1016
|
return M(y);
|
|
@@ -1073,11 +1073,11 @@ function jn() {
|
|
|
1073
1073
|
return (d === "string" ? String : Number)(y);
|
|
1074
1074
|
}
|
|
1075
1075
|
var v = function(d) {
|
|
1076
|
-
var k, A, R,
|
|
1077
|
-
d.rtl ? C = d.slideCount - 1 - d.index : C = d.index, R = C < 0 || C >= d.slideCount, d.centerMode ? (
|
|
1078
|
-
var
|
|
1079
|
-
d.targetSlide < 0 ?
|
|
1080
|
-
var o = C ===
|
|
1076
|
+
var k, A, R, T, C;
|
|
1077
|
+
d.rtl ? C = d.slideCount - 1 - d.index : C = d.index, R = C < 0 || C >= d.slideCount, d.centerMode ? (T = Math.floor(d.slidesToShow / 2), A = (C - d.currentSlide) % d.slideCount === 0, C > d.currentSlide - T - 1 && C <= d.currentSlide + T && (k = !0)) : k = d.currentSlide <= C && C < d.currentSlide + d.slidesToShow;
|
|
1078
|
+
var j;
|
|
1079
|
+
d.targetSlide < 0 ? j = d.targetSlide + d.slideCount : d.targetSlide >= d.slideCount ? j = d.targetSlide - d.slideCount : j = d.targetSlide;
|
|
1080
|
+
var o = C === j;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
1083
1083
|
"slick-active": k,
|
|
@@ -1092,15 +1092,15 @@ function jn() {
|
|
|
1092
1092
|
}, w = function(d, k) {
|
|
1093
1093
|
return d.key || k;
|
|
1094
1094
|
}, E = function(d) {
|
|
1095
|
-
var k, A = [], R = [],
|
|
1096
|
-
return e.default.Children.forEach(d.children, function(
|
|
1095
|
+
var k, A = [], R = [], T = [], C = e.default.Children.count(d.children), j = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
1096
|
+
return e.default.Children.forEach(d.children, function(H, m) {
|
|
1097
1097
|
var n, f = {
|
|
1098
1098
|
message: "children",
|
|
1099
1099
|
index: m,
|
|
1100
1100
|
slidesToScroll: d.slidesToScroll,
|
|
1101
1101
|
currentSlide: d.currentSlide
|
|
1102
1102
|
};
|
|
1103
|
-
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n =
|
|
1103
|
+
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n = H : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
1104
|
var S = b(O(O({}, d), {}, {
|
|
1105
1105
|
index: m
|
|
1106
1106
|
})), $ = n.props.className || "", L = v(O(O({}, d), {}, {
|
|
@@ -1119,8 +1119,8 @@ function jn() {
|
|
|
1119
1119
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1120
1120
|
}
|
|
1121
1121
|
})), d.infinite && C > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
|
-
var
|
|
1123
|
-
|
|
1122
|
+
var z = C - m;
|
|
1123
|
+
z <= (0, r.getPreClones)(d) && (k = -z, k >= j && (n = H), L = v(O(O({}, d), {}, {
|
|
1124
1124
|
index: k
|
|
1125
1125
|
})), R.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
1126
|
key: "precloned" + w(n, k),
|
|
@@ -1132,9 +1132,9 @@ function jn() {
|
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), m < (0, r.getPostClones)(d) && (k = C + m, k < o && (n =
|
|
1135
|
+
}))), m < (0, r.getPostClones)(d) && (k = C + m, k < o && (n = H), L = v(O(O({}, d), {}, {
|
|
1136
1136
|
index: k
|
|
1137
|
-
})),
|
|
1137
|
+
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
1138
|
key: "postcloned" + w(n, k),
|
|
1139
1139
|
"data-index": k,
|
|
1140
1140
|
tabIndex: "-1",
|
|
@@ -1146,7 +1146,7 @@ function jn() {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
1149
|
-
}), d.rtl ? R.concat(A,
|
|
1149
|
+
}), d.rtl ? R.concat(A, T).reverse() : R.concat(A, T);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1152
1152
|
h(k, y);
|
|
@@ -1154,25 +1154,25 @@ function jn() {
|
|
|
1154
1154
|
function k() {
|
|
1155
1155
|
var A;
|
|
1156
1156
|
c(this, k);
|
|
1157
|
-
for (var R = arguments.length,
|
|
1158
|
-
|
|
1159
|
-
return A = d.call.apply(d, [this].concat(
|
|
1160
|
-
A.node =
|
|
1157
|
+
for (var R = arguments.length, T = new Array(R), C = 0; C < R; C++)
|
|
1158
|
+
T[C] = arguments[C];
|
|
1159
|
+
return A = d.call.apply(d, [this].concat(T)), F(M(A), "node", null), F(M(A), "handleRef", function(j) {
|
|
1160
|
+
A.node = j;
|
|
1161
1161
|
}), A;
|
|
1162
1162
|
}
|
|
1163
1163
|
return u(k, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
|
-
var R = E(this.props),
|
|
1166
|
+
var R = E(this.props), T = this.props, C = T.onMouseEnter, j = T.onMouseOver, o = T.onMouseLeave, H = {
|
|
1167
1167
|
onMouseEnter: C,
|
|
1168
|
-
onMouseOver:
|
|
1168
|
+
onMouseOver: j,
|
|
1169
1169
|
onMouseLeave: o
|
|
1170
1170
|
};
|
|
1171
1171
|
return /* @__PURE__ */ e.default.createElement("div", s({
|
|
1172
1172
|
ref: this.handleRef,
|
|
1173
1173
|
className: "slick-track",
|
|
1174
1174
|
style: this.props.trackStyle
|
|
1175
|
-
},
|
|
1175
|
+
}, H), R);
|
|
1176
1176
|
}
|
|
1177
1177
|
}]), k;
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
@@ -1233,10 +1233,10 @@ function Ln() {
|
|
|
1233
1233
|
return b && h(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1234
1234
|
}
|
|
1235
1235
|
function x(v) {
|
|
1236
|
-
var b =
|
|
1236
|
+
var b = _(v, "string");
|
|
1237
1237
|
return e(b) == "symbol" ? b : b + "";
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function _(v, b) {
|
|
1240
1240
|
if (e(v) != "object" || !v) return v;
|
|
1241
1241
|
var w = v[Symbol.toPrimitive];
|
|
1242
1242
|
if (w !== void 0) {
|
|
@@ -1308,22 +1308,22 @@ function Ln() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var y = this.props, d = y.onMouseEnter, k = y.onMouseOver, A = y.onMouseLeave, R = y.infinite,
|
|
1312
|
-
slideCount:
|
|
1313
|
-
slidesToScroll:
|
|
1311
|
+
for (var y = this.props, d = y.onMouseEnter, k = y.onMouseOver, A = y.onMouseLeave, R = y.infinite, T = y.slidesToScroll, C = y.slidesToShow, j = y.slideCount, o = y.currentSlide, H = q({
|
|
1312
|
+
slideCount: j,
|
|
1313
|
+
slidesToScroll: T,
|
|
1314
1314
|
slidesToShow: C,
|
|
1315
1315
|
infinite: R
|
|
1316
1316
|
}), m = {
|
|
1317
1317
|
onMouseEnter: d,
|
|
1318
1318
|
onMouseOver: k,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
|
-
}, n = [], f = 0; f <
|
|
1321
|
-
var S = (f + 1) *
|
|
1322
|
-
"slick-active": R ? o >=
|
|
1320
|
+
}, n = [], f = 0; f < H; f++) {
|
|
1321
|
+
var S = (f + 1) * T - 1, $ = R ? S : (0, i.clamp)(S, 0, j - 1), L = $ - (T - 1), z = R ? L : (0, i.clamp)(L, 0, j - 1), N = (0, r.default)({
|
|
1322
|
+
"slick-active": R ? o >= z && o <= $ : o === z
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
1325
1325
|
index: f,
|
|
1326
|
-
slidesToScroll:
|
|
1326
|
+
slidesToScroll: T,
|
|
1327
1327
|
currentSlide: o
|
|
1328
1328
|
}, V = this.clickHandler.bind(this, W);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
@@ -1391,7 +1391,7 @@ function Dn() {
|
|
|
1391
1391
|
return v;
|
|
1392
1392
|
}
|
|
1393
1393
|
function u(v, b, w) {
|
|
1394
|
-
return (b =
|
|
1394
|
+
return (b = _(b)) in v ? Object.defineProperty(v, b, { value: w, enumerable: !0, configurable: !0, writable: !0 }) : v[b] = w, v;
|
|
1395
1395
|
}
|
|
1396
1396
|
function h(v, b) {
|
|
1397
1397
|
if (!(v instanceof b)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -1399,13 +1399,13 @@ function Dn() {
|
|
|
1399
1399
|
function g(v, b) {
|
|
1400
1400
|
for (var w = 0; w < b.length; w++) {
|
|
1401
1401
|
var E = b[w];
|
|
1402
|
-
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v,
|
|
1402
|
+
E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(v, _(E.key), E);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
function x(v, b, w) {
|
|
1406
1406
|
return b && g(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function _(v) {
|
|
1409
1409
|
var b = M(v, "string");
|
|
1410
1410
|
return e(b) == "symbol" ? b : b + "";
|
|
1411
1411
|
}
|
|
@@ -1618,7 +1618,7 @@ function In(e, t) {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
return l;
|
|
1620
1620
|
}
|
|
1621
|
-
var An = 20,
|
|
1621
|
+
var An = 20, Hn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], zn = typeof MutationObserver < "u", Nn = (
|
|
1622
1622
|
/** @class */
|
|
1623
1623
|
function() {
|
|
1624
1624
|
function e() {
|
|
@@ -1640,7 +1640,7 @@ var An = 20, zn = ["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), zn ? (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 An = 20, zn = ["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 = Hn.some(function(s) {
|
|
1653
1653
|
return !!~i.indexOf(s);
|
|
1654
1654
|
});
|
|
1655
1655
|
a && this.refresh();
|
|
@@ -1840,104 +1840,104 @@ function ei() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = h(B), t = h(
|
|
1843
|
+
var e = h(B), t = h(Tn()), r = h(_n()), i = h(yt()), a = Ke(), s = jn(), c = Ln(), l = Dn(), u = h(Qn);
|
|
1844
1844
|
function h(R) {
|
|
1845
1845
|
return R && R.__esModule ? R : { default: R };
|
|
1846
1846
|
}
|
|
1847
1847
|
function g(R) {
|
|
1848
1848
|
"@babel/helpers - typeof";
|
|
1849
|
-
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1850
|
-
return typeof
|
|
1851
|
-
} : function(
|
|
1852
|
-
return
|
|
1849
|
+
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(T) {
|
|
1850
|
+
return typeof T;
|
|
1851
|
+
} : function(T) {
|
|
1852
|
+
return T && typeof Symbol == "function" && T.constructor === Symbol && T !== Symbol.prototype ? "symbol" : typeof T;
|
|
1853
1853
|
}, g(R);
|
|
1854
1854
|
}
|
|
1855
1855
|
function x() {
|
|
1856
1856
|
return x = Object.assign ? Object.assign.bind() : function(R) {
|
|
1857
|
-
for (var
|
|
1858
|
-
var C = arguments[
|
|
1859
|
-
for (var
|
|
1860
|
-
({}).hasOwnProperty.call(C,
|
|
1857
|
+
for (var T = 1; T < arguments.length; T++) {
|
|
1858
|
+
var C = arguments[T];
|
|
1859
|
+
for (var j in C)
|
|
1860
|
+
({}).hasOwnProperty.call(C, j) && (R[j] = C[j]);
|
|
1861
1861
|
}
|
|
1862
1862
|
return R;
|
|
1863
1863
|
}, x.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function _(R, T) {
|
|
1866
1866
|
if (R == null) return {};
|
|
1867
|
-
var C,
|
|
1867
|
+
var C, j, o = M(R, T);
|
|
1868
1868
|
if (Object.getOwnPropertySymbols) {
|
|
1869
|
-
var
|
|
1870
|
-
for (
|
|
1871
|
-
C =
|
|
1869
|
+
var H = Object.getOwnPropertySymbols(R);
|
|
1870
|
+
for (j = 0; j < H.length; j++)
|
|
1871
|
+
C = H[j], T.includes(C) || {}.propertyIsEnumerable.call(R, C) && (o[C] = R[C]);
|
|
1872
1872
|
}
|
|
1873
1873
|
return o;
|
|
1874
1874
|
}
|
|
1875
|
-
function M(R,
|
|
1875
|
+
function M(R, T) {
|
|
1876
1876
|
if (R == null) return {};
|
|
1877
1877
|
var C = {};
|
|
1878
|
-
for (var
|
|
1879
|
-
if ({}.hasOwnProperty.call(R,
|
|
1880
|
-
if (
|
|
1881
|
-
C[
|
|
1878
|
+
for (var j in R)
|
|
1879
|
+
if ({}.hasOwnProperty.call(R, j)) {
|
|
1880
|
+
if (T.includes(j)) continue;
|
|
1881
|
+
C[j] = R[j];
|
|
1882
1882
|
}
|
|
1883
1883
|
return C;
|
|
1884
1884
|
}
|
|
1885
|
-
function P(R,
|
|
1885
|
+
function P(R, T) {
|
|
1886
1886
|
var C = Object.keys(R);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
|
-
var
|
|
1889
|
-
|
|
1888
|
+
var j = Object.getOwnPropertySymbols(R);
|
|
1889
|
+
T && (j = j.filter(function(o) {
|
|
1890
1890
|
return Object.getOwnPropertyDescriptor(R, o).enumerable;
|
|
1891
|
-
})), C.push.apply(C,
|
|
1891
|
+
})), C.push.apply(C, j);
|
|
1892
1892
|
}
|
|
1893
1893
|
return C;
|
|
1894
1894
|
}
|
|
1895
1895
|
function p(R) {
|
|
1896
|
-
for (var
|
|
1897
|
-
var C = arguments[
|
|
1898
|
-
|
|
1899
|
-
d(R,
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(C)) : P(Object(C)).forEach(function(
|
|
1901
|
-
Object.defineProperty(R,
|
|
1896
|
+
for (var T = 1; T < arguments.length; T++) {
|
|
1897
|
+
var C = arguments[T] != null ? arguments[T] : {};
|
|
1898
|
+
T % 2 ? P(Object(C), !0).forEach(function(j) {
|
|
1899
|
+
d(R, j, C[j]);
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(C)) : P(Object(C)).forEach(function(j) {
|
|
1901
|
+
Object.defineProperty(R, j, Object.getOwnPropertyDescriptor(C, j));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
1904
1904
|
return R;
|
|
1905
1905
|
}
|
|
1906
|
-
function I(R,
|
|
1907
|
-
if (!(R instanceof
|
|
1906
|
+
function I(R, T) {
|
|
1907
|
+
if (!(R instanceof T)) throw new TypeError("Cannot call a class as a function");
|
|
1908
1908
|
}
|
|
1909
|
-
function O(R,
|
|
1910
|
-
for (var C = 0; C <
|
|
1911
|
-
var
|
|
1912
|
-
|
|
1909
|
+
function O(R, T) {
|
|
1910
|
+
for (var C = 0; C < T.length; C++) {
|
|
1911
|
+
var j = T[C];
|
|
1912
|
+
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(R, k(j.key), j);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
function F(R,
|
|
1916
|
-
return
|
|
1915
|
+
function F(R, T, C) {
|
|
1916
|
+
return T && O(R.prototype, T), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
1917
1917
|
}
|
|
1918
|
-
function U(R,
|
|
1919
|
-
if (typeof
|
|
1920
|
-
R.prototype = Object.create(
|
|
1918
|
+
function U(R, T) {
|
|
1919
|
+
if (typeof T != "function" && T !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1920
|
+
R.prototype = Object.create(T && T.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), T && q(R, T);
|
|
1921
1921
|
}
|
|
1922
|
-
function q(R,
|
|
1923
|
-
return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C,
|
|
1924
|
-
return C.__proto__ =
|
|
1925
|
-
}, q(R,
|
|
1922
|
+
function q(R, T) {
|
|
1923
|
+
return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, j) {
|
|
1924
|
+
return C.__proto__ = j, C;
|
|
1925
|
+
}, q(R, T);
|
|
1926
1926
|
}
|
|
1927
1927
|
function v(R) {
|
|
1928
|
-
var
|
|
1928
|
+
var T = E();
|
|
1929
1929
|
return function() {
|
|
1930
|
-
var C,
|
|
1931
|
-
if (
|
|
1930
|
+
var C, j = y(R);
|
|
1931
|
+
if (T) {
|
|
1932
1932
|
var o = y(this).constructor;
|
|
1933
|
-
C = Reflect.construct(
|
|
1934
|
-
} else C =
|
|
1933
|
+
C = Reflect.construct(j, arguments, o);
|
|
1934
|
+
} else C = j.apply(this, arguments);
|
|
1935
1935
|
return b(this, C);
|
|
1936
1936
|
};
|
|
1937
1937
|
}
|
|
1938
|
-
function b(R,
|
|
1939
|
-
if (
|
|
1940
|
-
if (
|
|
1938
|
+
function b(R, T) {
|
|
1939
|
+
if (T && (g(T) == "object" || typeof T == "function")) return T;
|
|
1940
|
+
if (T !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1941
1941
|
return w(R);
|
|
1942
1942
|
}
|
|
1943
1943
|
function w(R) {
|
|
@@ -1955,33 +1955,33 @@ function ei() {
|
|
|
1955
1955
|
})();
|
|
1956
1956
|
}
|
|
1957
1957
|
function y(R) {
|
|
1958
|
-
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1959
|
-
return
|
|
1958
|
+
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(T) {
|
|
1959
|
+
return T.__proto__ || Object.getPrototypeOf(T);
|
|
1960
1960
|
}, y(R);
|
|
1961
1961
|
}
|
|
1962
|
-
function d(R,
|
|
1963
|
-
return (
|
|
1962
|
+
function d(R, T, C) {
|
|
1963
|
+
return (T = k(T)) in R ? Object.defineProperty(R, T, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : R[T] = C, R;
|
|
1964
1964
|
}
|
|
1965
1965
|
function k(R) {
|
|
1966
|
-
var
|
|
1967
|
-
return g(
|
|
1966
|
+
var T = A(R, "string");
|
|
1967
|
+
return g(T) == "symbol" ? T : T + "";
|
|
1968
1968
|
}
|
|
1969
|
-
function A(R,
|
|
1969
|
+
function A(R, T) {
|
|
1970
1970
|
if (g(R) != "object" || !R) return R;
|
|
1971
1971
|
var C = R[Symbol.toPrimitive];
|
|
1972
1972
|
if (C !== void 0) {
|
|
1973
|
-
var
|
|
1974
|
-
if (g(
|
|
1973
|
+
var j = C.call(R, T);
|
|
1974
|
+
if (g(j) != "object") return j;
|
|
1975
1975
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1976
1976
|
}
|
|
1977
|
-
return (
|
|
1977
|
+
return (T === "string" ? String : Number)(R);
|
|
1978
1978
|
}
|
|
1979
1979
|
return Ne.InnerSlider = /* @__PURE__ */ function(R) {
|
|
1980
1980
|
U(C, R);
|
|
1981
|
-
var
|
|
1982
|
-
function C(
|
|
1981
|
+
var T = v(C);
|
|
1982
|
+
function C(j) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
I(this, C), o =
|
|
1984
|
+
I(this, C), o = T.call(this, j), d(w(o), "listRefHandler", function(m) {
|
|
1985
1985
|
return o.list = m;
|
|
1986
1986
|
}), d(w(o), "trackRefHandler", function(m) {
|
|
1987
1987
|
return o.track = m;
|
|
@@ -2077,8 +2077,8 @@ function ei() {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
for (var L = 0; L < S; L++)
|
|
2079
2079
|
n += f[f.length - 1 - L], m += f[f.length - 1 - L];
|
|
2080
|
-
for (var
|
|
2081
|
-
m += f[
|
|
2080
|
+
for (var z = 0; z < $; z++)
|
|
2081
|
+
m += f[z];
|
|
2082
2082
|
for (var N = 0; N < o.state.currentSlide; N++)
|
|
2083
2083
|
n += f[N];
|
|
2084
2084
|
var W = {
|
|
@@ -2117,8 +2117,8 @@ function ei() {
|
|
|
2117
2117
|
};
|
|
2118
2118
|
else {
|
|
2119
2119
|
var L = S.onclick;
|
|
2120
|
-
S.onclick = function(
|
|
2121
|
-
L(
|
|
2120
|
+
S.onclick = function(z) {
|
|
2121
|
+
L(z), S.parentNode.focus();
|
|
2122
2122
|
};
|
|
2123
2123
|
}
|
|
2124
2124
|
S.onload || (o.props.lazyLoad ? S.onload = function() {
|
|
@@ -2144,7 +2144,7 @@ function ei() {
|
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
2146
|
}), d(w(o), "slideHandler", function(m) {
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor, $ = f.beforeChange, L = f.onLazyLoad,
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor, $ = f.beforeChange, L = f.onLazyLoad, z = f.speed, N = f.afterChange, W = o.state.currentSlide, V = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: m
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
@@ -2157,7 +2157,7 @@ function ei() {
|
|
|
2157
2157
|
});
|
|
2158
2158
|
L && J.length > 0 && L(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), N && N(W), delete o.animationEndCallback), o.setState(K, function() {
|
|
2159
2159
|
S && o.asNavForIndex !== m && (o.asNavForIndex = m, S.innerSlider.slideHandler(m)), X && (o.animationEndCallback = setTimeout(function() {
|
|
2160
|
-
var te = X.animating, Z =
|
|
2160
|
+
var te = X.animating, Z = _(X, ["animating"]);
|
|
2161
2161
|
o.setState(Z, function() {
|
|
2162
2162
|
o.callbackTimers.push(setTimeout(function() {
|
|
2163
2163
|
return o.setState({
|
|
@@ -2165,7 +2165,7 @@ function ei() {
|
|
|
2165
2165
|
});
|
|
2166
2166
|
}, 10)), N && N(K.currentSlide), delete o.animationEndCallback;
|
|
2167
2167
|
});
|
|
2168
|
-
},
|
|
2168
|
+
}, z));
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
2171
|
}), d(w(o), "changeSlide", function(m) {
|
|
@@ -2293,12 +2293,12 @@ function ei() {
|
|
|
2293
2293
|
});
|
|
2294
2294
|
var $;
|
|
2295
2295
|
if (o.props.dots === !0 && o.state.slideCount >= o.props.slidesToShow) {
|
|
2296
|
-
var L = (0, a.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]),
|
|
2296
|
+
var L = (0, a.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), z = o.props.pauseOnDotsHover;
|
|
2297
2297
|
L = p(p({}, L), {}, {
|
|
2298
2298
|
clickHandler: o.changeSlide,
|
|
2299
|
-
onMouseEnter:
|
|
2300
|
-
onMouseOver:
|
|
2301
|
-
onMouseLeave:
|
|
2299
|
+
onMouseEnter: z ? o.onDotsLeave : null,
|
|
2300
|
+
onMouseOver: z ? o.onDotsOver : null,
|
|
2301
|
+
onMouseLeave: z ? o.onDotsLeave : null
|
|
2302
2302
|
}), $ = /* @__PURE__ */ e.default.createElement(c.Dots, L);
|
|
2303
2303
|
}
|
|
2304
2304
|
var N, W, V = (0, a.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
@@ -2346,24 +2346,24 @@ function ei() {
|
|
|
2346
2346
|
targetSlide: o.props.initialSlide ? o.props.initialSlide : 0,
|
|
2347
2347
|
slideCount: e.default.Children.count(o.props.children)
|
|
2348
2348
|
}), o.callbackTimers = [], o.clickable = !0, o.debouncedResize = null;
|
|
2349
|
-
var
|
|
2350
|
-
return o.state = p(p({}, o.state),
|
|
2349
|
+
var H = o.ssrInit();
|
|
2350
|
+
return o.state = p(p({}, o.state), H), o;
|
|
2351
2351
|
}
|
|
2352
2352
|
return F(C, [{
|
|
2353
2353
|
key: "didPropsChange",
|
|
2354
2354
|
value: function(o) {
|
|
2355
|
-
for (var
|
|
2355
|
+
for (var H = !1, m = 0, n = Object.keys(this.props); m < n.length; m++) {
|
|
2356
2356
|
var f = n[m];
|
|
2357
2357
|
if (!o.hasOwnProperty(f)) {
|
|
2358
|
-
|
|
2358
|
+
H = !0;
|
|
2359
2359
|
break;
|
|
2360
2360
|
}
|
|
2361
2361
|
if (!(g(o[f]) === "object" || typeof o[f] == "function" || isNaN(o[f])) && o[f] !== this.props[f]) {
|
|
2362
|
-
|
|
2362
|
+
H = !0;
|
|
2363
2363
|
break;
|
|
2364
2364
|
}
|
|
2365
2365
|
}
|
|
2366
|
-
return
|
|
2366
|
+
return H || e.default.Children.count(this.props.children) !== e.default.Children.count(o.children);
|
|
2367
2367
|
}
|
|
2368
2368
|
}]), C;
|
|
2369
2369
|
}(e.default.Component), Ne;
|
|
@@ -2406,7 +2406,7 @@ function ni() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t = c(B), r = ei(), i = c(ri()), a = c(
|
|
2409
|
+
var t = c(B), r = ei(), i = c(ri()), a = c(zr()), s = Ke();
|
|
2410
2410
|
function c(E) {
|
|
2411
2411
|
return E && E.__esModule ? E : { default: E };
|
|
2412
2412
|
}
|
|
@@ -2452,14 +2452,14 @@ function ni() {
|
|
|
2452
2452
|
function x(E, y) {
|
|
2453
2453
|
if (!(E instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
|
-
function
|
|
2455
|
+
function _(E, y) {
|
|
2456
2456
|
for (var d = 0; d < y.length; d++) {
|
|
2457
2457
|
var k = y[d];
|
|
2458
2458
|
k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(E, b(k.key), k);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
2461
|
function M(E, y, d) {
|
|
2462
|
-
return y &&
|
|
2462
|
+
return y && _(E.prototype, y), Object.defineProperty(E, "prototype", { writable: !1 }), E;
|
|
2463
2463
|
}
|
|
2464
2464
|
function P(E, y) {
|
|
2465
2465
|
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -2534,8 +2534,8 @@ function ni() {
|
|
|
2534
2534
|
}), v(F(A), "slickNext", function() {
|
|
2535
2535
|
return A.innerSlider.slickNext();
|
|
2536
2536
|
}), v(F(A), "slickGoTo", function(R) {
|
|
2537
|
-
var
|
|
2538
|
-
return A.innerSlider.slickGoTo(R,
|
|
2537
|
+
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2538
|
+
return A.innerSlider.slickGoTo(R, T);
|
|
2539
2539
|
}), v(F(A), "slickPause", function() {
|
|
2540
2540
|
return A.innerSlider.pause("paused");
|
|
2541
2541
|
}), v(F(A), "slickPlay", function() {
|
|
@@ -2547,12 +2547,12 @@ function ni() {
|
|
|
2547
2547
|
return M(d, [{
|
|
2548
2548
|
key: "media",
|
|
2549
2549
|
value: function(A, R) {
|
|
2550
|
-
var
|
|
2551
|
-
var
|
|
2552
|
-
|
|
2550
|
+
var T = window.matchMedia(A), C = function(o) {
|
|
2551
|
+
var H = o.matches;
|
|
2552
|
+
H && R();
|
|
2553
2553
|
};
|
|
2554
|
-
|
|
2555
|
-
mql:
|
|
2554
|
+
T.addListener(C), this._responsiveMediaHandlers.push({
|
|
2555
|
+
mql: T,
|
|
2556
2556
|
query: A,
|
|
2557
2557
|
listener: C
|
|
2558
2558
|
});
|
|
@@ -2566,15 +2566,15 @@ function ni() {
|
|
|
2566
2566
|
var R = this.props.responsive.map(function(C) {
|
|
2567
2567
|
return C.breakpoint;
|
|
2568
2568
|
});
|
|
2569
|
-
R.sort(function(C,
|
|
2570
|
-
return C -
|
|
2571
|
-
}), R.forEach(function(C,
|
|
2569
|
+
R.sort(function(C, j) {
|
|
2570
|
+
return C - j;
|
|
2571
|
+
}), R.forEach(function(C, j) {
|
|
2572
2572
|
var o;
|
|
2573
|
-
|
|
2573
|
+
j === 0 ? o = (0, i.default)({
|
|
2574
2574
|
minWidth: 0,
|
|
2575
2575
|
maxWidth: C
|
|
2576
2576
|
}) : o = (0, i.default)({
|
|
2577
|
-
minWidth: R[
|
|
2577
|
+
minWidth: R[j - 1] + 1,
|
|
2578
2578
|
maxWidth: C
|
|
2579
2579
|
}), (0, s.canUseDOM)() && A.media(o, function() {
|
|
2580
2580
|
A.setState({
|
|
@@ -2582,10 +2582,10 @@ function ni() {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
});
|
|
2584
2584
|
});
|
|
2585
|
-
var
|
|
2585
|
+
var T = (0, i.default)({
|
|
2586
2586
|
minWidth: R.slice(-1)[0]
|
|
2587
2587
|
});
|
|
2588
|
-
(0, s.canUseDOM)() && this.media(
|
|
2588
|
+
(0, s.canUseDOM)() && this.media(T, function() {
|
|
2589
2589
|
A.setState({
|
|
2590
2590
|
breakpoint: null
|
|
2591
2591
|
});
|
|
@@ -2602,19 +2602,19 @@ function ni() {
|
|
|
2602
2602
|
}, {
|
|
2603
2603
|
key: "render",
|
|
2604
2604
|
value: function() {
|
|
2605
|
-
var A = this, R,
|
|
2606
|
-
this.state.breakpoint ? (
|
|
2605
|
+
var A = this, R, T;
|
|
2606
|
+
this.state.breakpoint ? (T = this.props.responsive.filter(function(L) {
|
|
2607
2607
|
return L.breakpoint === A.state.breakpoint;
|
|
2608
|
-
}), R =
|
|
2608
|
+
}), R = T[0].settings === "unslick" ? "unslick" : g(g(g({}, a.default), this.props), T[0].settings)) : R = g(g({}, a.default), this.props), R.centerMode && (R.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(R.slidesToScroll)), R.slidesToScroll = 1), R.fade && (R.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(R.slidesToShow)), R.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(R.slidesToScroll)), R.slidesToShow = 1, R.slidesToScroll = 1);
|
|
2609
2609
|
var C = t.default.Children.toArray(this.props.children);
|
|
2610
2610
|
C = C.filter(function(L) {
|
|
2611
2611
|
return typeof L == "string" ? !!L.trim() : !!L;
|
|
2612
2612
|
}), R.variableWidth && (R.rows > 1 || R.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), R.variableWidth = !1);
|
|
2613
|
-
for (var
|
|
2614
|
-
for (var m = [], n =
|
|
2613
|
+
for (var j = [], o = null, H = 0; H < C.length; H += R.rows * R.slidesPerRow) {
|
|
2614
|
+
for (var m = [], n = H; n < H + R.rows * R.slidesPerRow; n += R.slidesPerRow) {
|
|
2615
2615
|
for (var f = [], S = n; S < n + R.slidesPerRow && (R.variableWidth && C[S].props.style && (o = C[S].props.style.width), !(S >= C.length)); S += 1)
|
|
2616
2616
|
f.push(/* @__PURE__ */ t.default.cloneElement(C[S], {
|
|
2617
|
-
key: 100 *
|
|
2617
|
+
key: 100 * H + 10 * n + S,
|
|
2618
2618
|
tabIndex: -1,
|
|
2619
2619
|
style: {
|
|
2620
2620
|
width: "".concat(100 / R.slidesPerRow, "%"),
|
|
@@ -2622,16 +2622,16 @@ function ni() {
|
|
|
2622
2622
|
}
|
|
2623
2623
|
}));
|
|
2624
2624
|
m.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2625
|
-
key: 10 *
|
|
2625
|
+
key: 10 * H + n
|
|
2626
2626
|
}, f));
|
|
2627
2627
|
}
|
|
2628
|
-
R.variableWidth ?
|
|
2629
|
-
key:
|
|
2628
|
+
R.variableWidth ? j.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2629
|
+
key: H,
|
|
2630
2630
|
style: {
|
|
2631
2631
|
width: o
|
|
2632
2632
|
}
|
|
2633
|
-
}, m)) :
|
|
2634
|
-
key:
|
|
2633
|
+
}, m)) : j.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2634
|
+
key: H
|
|
2635
2635
|
}, m));
|
|
2636
2636
|
}
|
|
2637
2637
|
if (R === "unslick") {
|
|
@@ -2639,11 +2639,11 @@ function ni() {
|
|
|
2639
2639
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2640
2640
|
className: $
|
|
2641
2641
|
}, C);
|
|
2642
|
-
} else
|
|
2642
|
+
} else j.length <= R.slidesToShow && (R.unslick = !0);
|
|
2643
2643
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, u({
|
|
2644
2644
|
style: this.props.style,
|
|
2645
2645
|
ref: this.innerSliderRefHandler
|
|
2646
|
-
}, (0, s.filterSettings)(R)),
|
|
2646
|
+
}, (0, s.filterSettings)(R)), j);
|
|
2647
2647
|
}
|
|
2648
2648
|
}]), d;
|
|
2649
2649
|
}(t.default.Component);
|
|
@@ -2664,14 +2664,14 @@ function ii() {
|
|
|
2664
2664
|
}
|
|
2665
2665
|
var ai = ii();
|
|
2666
2666
|
const oi = /* @__PURE__ */ qt(ai);
|
|
2667
|
-
function
|
|
2668
|
-
return
|
|
2667
|
+
function Ht() {
|
|
2668
|
+
return Ht = Object.assign ? Object.assign.bind() : function(e) {
|
|
2669
2669
|
for (var t = 1; t < arguments.length; t++) {
|
|
2670
2670
|
var r = arguments[t];
|
|
2671
2671
|
for (var i in r) ({}).hasOwnProperty.call(r, i) && (e[i] = r[i]);
|
|
2672
2672
|
}
|
|
2673
2673
|
return e;
|
|
2674
|
-
},
|
|
2674
|
+
}, Ht.apply(null, arguments);
|
|
2675
2675
|
}
|
|
2676
2676
|
function si(e) {
|
|
2677
2677
|
if (e.sheet)
|
|
@@ -2726,7 +2726,7 @@ function mi(e, t) {
|
|
|
2726
2726
|
function ne(e, t, r) {
|
|
2727
2727
|
return e.replace(t, r);
|
|
2728
2728
|
}
|
|
2729
|
-
function
|
|
2729
|
+
function zt(e, t) {
|
|
2730
2730
|
return e.indexOf(t);
|
|
2731
2731
|
}
|
|
2732
2732
|
function fe(e, t) {
|
|
@@ -2866,12 +2866,12 @@ function Oi(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, c, l, u) {
|
|
2869
|
-
for (var h = 0, g = 0, x = c,
|
|
2869
|
+
for (var h = 0, g = 0, x = c, _ = 0, M = 0, P = 0, p = 1, I = 1, O = 1, F = 0, U = "", q = a, v = s, b = i, w = U; I; )
|
|
2870
2870
|
switch (P = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
2873
|
if (P != 108 && fe(w, x - 1) == 58) {
|
|
2874
|
-
|
|
2874
|
+
zt(w += ne(st(F), "&", "&\f"), "&\f") != -1 && (O = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
2877
|
// " ' [
|
|
@@ -2927,7 +2927,7 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2927
2927
|
if (g === 0)
|
|
2928
2928
|
lt(w, t, b, b, q, s, x, l, v);
|
|
2929
2929
|
else
|
|
2930
|
-
switch (
|
|
2930
|
+
switch (_ === 99 && fe(w, 3) === 110 ? 100 : _) {
|
|
2931
2931
|
// d l m s
|
|
2932
2932
|
case 100:
|
|
2933
2933
|
case 108:
|
|
@@ -2962,7 +2962,7 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
be() === 45 && (w += st(me())),
|
|
2965
|
+
be() === 45 && (w += st(me())), _ = be(), g = x = ge(U = w += xi(ot())), F++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
@@ -2972,9 +2972,9 @@ function lt(e, t, r, i, a, s, c, l, u) {
|
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, c, l, u, h, g) {
|
|
2975
|
-
for (var x = a - 1,
|
|
2975
|
+
for (var x = a - 1, _ = a === 0 ? s : [""], M = Xt(_), P = 0, p = 0, I = 0; P < i; ++P)
|
|
2976
2976
|
for (var O = 0, F = Be(e, x + 1, x = di(p = c[P])), U = e; O < M; ++O)
|
|
2977
|
-
(U = Vr(p > 0 ?
|
|
2977
|
+
(U = Vr(p > 0 ? _[O] + " " + F : ne(F, /&\f/g, _[O]))) && (u[I++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? Bt : l, u, h, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function ki(e, t, r) {
|
|
@@ -2983,7 +2983,7 @@ function ki(e, t, r) {
|
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
2984
2984
|
return xt(e, t, r, Vt, Be(e, 0, i), Be(e, i + 1, -1), i);
|
|
2985
2985
|
}
|
|
2986
|
-
function
|
|
2986
|
+
function _e(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;
|
|
@@ -2998,11 +2998,11 @@ function Ci(e, t, r, i) {
|
|
|
2998
2998
|
case qr:
|
|
2999
2999
|
return "";
|
|
3000
3000
|
case Br:
|
|
3001
|
-
return e.return = e.value + "{" +
|
|
3001
|
+
return e.return = e.value + "{" + _e(e.children, i) + "}";
|
|
3002
3002
|
case Bt:
|
|
3003
3003
|
e.value = e.props.join(",");
|
|
3004
3004
|
}
|
|
3005
|
-
return ge(r =
|
|
3005
|
+
return ge(r = _e(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3006
3006
|
}
|
|
3007
3007
|
function Pi(e) {
|
|
3008
3008
|
var t = Xt(e);
|
|
@@ -3027,7 +3027,7 @@ var Ri = function(t, r, i) {
|
|
|
3027
3027
|
for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (r[i] = 1), !Ve(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
3033
|
switch (Ve(a)) {
|
|
@@ -3048,8 +3048,8 @@ var Ri = function(t, r, i) {
|
|
|
3048
3048
|
}
|
|
3049
3049
|
while (a = me());
|
|
3050
3050
|
return t;
|
|
3051
|
-
},
|
|
3052
|
-
return Kr(
|
|
3051
|
+
}, _i = function(t, r) {
|
|
3052
|
+
return Kr(Ti(Gr(t), r));
|
|
3053
3053
|
}, Sr = /* @__PURE__ */ new WeakMap(), ji = function(t) {
|
|
3054
3054
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
3055
3055
|
// negative .length indicates that this rule has been already prefixed
|
|
@@ -3058,7 +3058,7 @@ var Ri = function(t, r, 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 = [], c =
|
|
3061
|
+
for (var s = [], c = _i(r, s), l = i.props, u = 0, h = 0; u < c.length; u++)
|
|
3062
3062
|
for (var g = 0; g < l.length; g++, h++)
|
|
3063
3063
|
t.props[h] = s[u] ? c[u].replace(/&\f/g, l[g]) : l[g] + " " + c[u];
|
|
3064
3064
|
}
|
|
@@ -3179,7 +3179,7 @@ function Zr(e, t) {
|
|
|
3179
3179
|
return ne(e, /(.+:)(.+)-([^]+)/, "$1" + re + "$2-$3$1" + vt + (fe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
3180
3180
|
// (s)tretch
|
|
3181
3181
|
case 115:
|
|
3182
|
-
return ~
|
|
3182
|
+
return ~zt(e, "stretch") ? Zr(ne(e, "stretch", "fill-available"), t) + e : e;
|
|
3183
3183
|
}
|
|
3184
3184
|
break;
|
|
3185
3185
|
// position: sticky
|
|
@@ -3187,7 +3187,7 @@ function Zr(e, t) {
|
|
|
3187
3187
|
if (fe(e, t + 1) !== 115) break;
|
|
3188
3188
|
// display: (flex|inline-flex)
|
|
3189
3189
|
case 6444:
|
|
3190
|
-
switch (fe(e, ge(e) - 3 - (~
|
|
3190
|
+
switch (fe(e, ge(e) - 3 - (~zt(e, "!important") && 10))) {
|
|
3191
3191
|
// stic(k)y
|
|
3192
3192
|
case 107:
|
|
3193
3193
|
return ne(e, ":", ":" + re) + e;
|
|
@@ -3219,7 +3219,7 @@ var Di = function(t, r, i, a) {
|
|
|
3219
3219
|
t.return = Zr(t.value, t.length);
|
|
3220
3220
|
break;
|
|
3221
3221
|
case Br:
|
|
3222
|
-
return
|
|
3222
|
+
return _e([Ue(t, {
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], a);
|
|
3225
3225
|
case Bt:
|
|
@@ -3228,12 +3228,12 @@ var Di = function(t, r, i, a) {
|
|
|
3228
3228
|
// :read-(only|write)
|
|
3229
3229
|
case ":read-only":
|
|
3230
3230
|
case ":read-write":
|
|
3231
|
-
return
|
|
3231
|
+
return _e([Ue(t, {
|
|
3232
3232
|
props: [ne(s, /:(read-\w+)/, ":" + vt + "$1")]
|
|
3233
3233
|
})], a);
|
|
3234
3234
|
// :placeholder
|
|
3235
3235
|
case "::placeholder":
|
|
3236
|
-
return
|
|
3236
|
+
return _e([Ue(t, {
|
|
3237
3237
|
props: [ne(s, /:(plac\w+)/, ":" + re + "input-$1")]
|
|
3238
3238
|
}), Ue(t, {
|
|
3239
3239
|
props: [ne(s, /:(plac\w+)/, ":" + vt + "$1")]
|
|
@@ -3268,8 +3268,8 @@ var Di = function(t, r, i, a) {
|
|
|
3268
3268
|
{
|
|
3269
3269
|
var g, x = [Ci, Ei(function(p) {
|
|
3270
3270
|
g.insert(p);
|
|
3271
|
-
})],
|
|
3272
|
-
return
|
|
3271
|
+
})], _ = Pi(h.concat(a, x)), M = function(I) {
|
|
3272
|
+
return _e(Oi(I), _);
|
|
3273
3273
|
};
|
|
3274
3274
|
u = function(I, O, F, U) {
|
|
3275
3275
|
g = F, M(I ? I + "{" + O.styles + "}" : O.styles), U && (P.inserted[O.name] = !0);
|
|
@@ -3310,7 +3310,7 @@ var Qr = function(t, r, i) {
|
|
|
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
3312
|
Ii === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
|
|
3313
|
-
},
|
|
3313
|
+
}, Hi = 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 zi(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: */
|
|
@@ -3505,7 +3505,7 @@ function Yi(e, t, r) {
|
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
3506
|
for (var h = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
3507
|
h += "-" + g[1];
|
|
3508
|
-
var x =
|
|
3508
|
+
var x = zi(a) + h;
|
|
3509
3509
|
return {
|
|
3510
3510
|
name: x,
|
|
3511
3511
|
styles: a,
|
|
@@ -3555,7 +3555,7 @@ var Xi = function(t) {
|
|
|
3555
3555
|
}, ea = function(t) {
|
|
3556
3556
|
var r = t.cache, i = t.serialized, a = t.isStringTag;
|
|
3557
3557
|
return Qr(r, i, a), Vi(function() {
|
|
3558
|
-
return
|
|
3558
|
+
return Hi(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
3560
|
}, ta = function e(t, r) {
|
|
3561
3561
|
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
|
|
@@ -3566,10 +3566,10 @@ var Xi = function(t) {
|
|
|
3566
3566
|
if (s !== void 0 && x.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3567
3567
|
x.push.apply(x, g);
|
|
3568
3568
|
else {
|
|
3569
|
-
var
|
|
3570
|
-
x.push(
|
|
3569
|
+
var _ = g[0];
|
|
3570
|
+
x.push(_[0]);
|
|
3571
3571
|
for (var M = g.length, P = 1; P < M; P++)
|
|
3572
|
-
x.push(g[P],
|
|
3572
|
+
x.push(g[P], _[P]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Xi(function(I, O, F) {
|
|
3575
3575
|
var U = h && I.as || a, q = "", v = [], b = I;
|
|
@@ -3596,7 +3596,7 @@ var Xi = function(t) {
|
|
|
3596
3596
|
return "." + c;
|
|
3597
3597
|
}
|
|
3598
3598
|
}), p.withComponent = function(I, O) {
|
|
3599
|
-
var F = e(I,
|
|
3599
|
+
var F = e(I, Ht({}, r, O, {
|
|
3600
3600
|
shouldForwardProp: Pr(p, O, !0)
|
|
3601
3601
|
}));
|
|
3602
3602
|
return F.apply(void 0, x);
|
|
@@ -3848,10 +3848,10 @@ const na = Pe.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const h = t.map((x,
|
|
3851
|
+
const h = t.map((x, _) => /* @__PURE__ */ G.jsx(
|
|
3852
3852
|
ia,
|
|
3853
3853
|
{
|
|
3854
|
-
ref:
|
|
3854
|
+
ref: _ === 0 ? l : void 0,
|
|
3855
3855
|
styles: {
|
|
3856
3856
|
paddingRight: `${i}px`,
|
|
3857
3857
|
overflow: "visible",
|
|
@@ -3866,11 +3866,11 @@ const na = Pe.div`
|
|
|
3866
3866
|
s(u.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const x = (c.current?.offsetWidth || i + 1) - i,
|
|
3870
|
-
let M = Math.floor(x /
|
|
3869
|
+
const x = (c.current?.offsetWidth || i + 1) - i, _ = l.current?.offsetWidth || 1;
|
|
3870
|
+
let M = Math.floor(x / _);
|
|
3871
3871
|
M < 1 ? M = 1 : M > t.length && (M = t.length), console.debug("Slides to show > ", {
|
|
3872
3872
|
container: x,
|
|
3873
|
-
slide:
|
|
3873
|
+
slide: _,
|
|
3874
3874
|
res: M
|
|
3875
3875
|
}), s(M);
|
|
3876
3876
|
};
|
|
@@ -3960,7 +3960,7 @@ const na = Pe.div`
|
|
|
3960
3960
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, u.current = p);
|
|
3961
3961
|
},
|
|
3962
3962
|
[h, c]
|
|
3963
|
-
),
|
|
3963
|
+
), _ = B.useCallback(
|
|
3964
3964
|
(P) => {
|
|
3965
3965
|
if (console.debug(
|
|
3966
3966
|
"useDrag > onPointerMove > Is Dragging >",
|
|
@@ -3981,7 +3981,7 @@ const na = Pe.div`
|
|
|
3981
3981
|
B.useEffect(() => {
|
|
3982
3982
|
M();
|
|
3983
3983
|
}, [M]), B.useEffect(() => {
|
|
3984
|
-
|
|
3984
|
+
_();
|
|
3985
3985
|
}, [c]), B.useEffect(() => {
|
|
3986
3986
|
l !== s.current && (s.current = l, l || x());
|
|
3987
3987
|
}, [l, s.current]);
|
|
@@ -3990,8 +3990,8 @@ const na = Pe.div`
|
|
|
3990
3990
|
if (!u) return l;
|
|
3991
3991
|
const h = new URLSearchParams();
|
|
3992
3992
|
for (const x in u) {
|
|
3993
|
-
const
|
|
3994
|
-
Array.isArray(
|
|
3993
|
+
const _ = u[x];
|
|
3994
|
+
Array.isArray(_) ? _.forEach((M) => h.append(x, String(M))) : _ != null && h.append(x, String(_));
|
|
3995
3995
|
}
|
|
3996
3996
|
const g = h.toString();
|
|
3997
3997
|
return g ? `${l}?${g}` : l;
|
|
@@ -4056,7 +4056,7 @@ const sa = {
|
|
|
4056
4056
|
};
|
|
4057
4057
|
return Ir(() => (window.addEventListener("resize", a), () => {
|
|
4058
4058
|
window.removeEventListener("resize", a);
|
|
4059
|
-
}), []),
|
|
4059
|
+
}), []), Hr(() => r, [r]);
|
|
4060
4060
|
}, la = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ua = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
|
|
4061
4061
|
const t = window.innerWidth, r = window.innerHeight, i = la(t, e), a = ua(t, e);
|
|
4062
4062
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
|
|
@@ -4087,59 +4087,59 @@ function ca() {
|
|
|
4087
4087
|
if (Rr) return Ye;
|
|
4088
4088
|
Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
|
|
4089
4089
|
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__ */ (() => {
|
|
4090
|
-
const
|
|
4090
|
+
const _ = function() {
|
|
4091
4091
|
};
|
|
4092
|
-
return
|
|
4092
|
+
return _.prototype = /* @__PURE__ */ Object.create(null), _;
|
|
4093
4093
|
})();
|
|
4094
|
-
function c(
|
|
4095
|
-
const P = new s(), p =
|
|
4094
|
+
function c(_, M) {
|
|
4095
|
+
const P = new s(), p = _.length;
|
|
4096
4096
|
if (p < 2)
|
|
4097
4097
|
return P;
|
|
4098
4098
|
const I = M?.decode || g;
|
|
4099
4099
|
let O = 0;
|
|
4100
4100
|
do {
|
|
4101
|
-
const F =
|
|
4101
|
+
const F = _.indexOf("=", O);
|
|
4102
4102
|
if (F === -1)
|
|
4103
4103
|
break;
|
|
4104
|
-
const U =
|
|
4104
|
+
const U = _.indexOf(";", O), q = U === -1 ? p : U;
|
|
4105
4105
|
if (F > q) {
|
|
4106
|
-
O =
|
|
4106
|
+
O = _.lastIndexOf(";", F - 1) + 1;
|
|
4107
4107
|
continue;
|
|
4108
4108
|
}
|
|
4109
|
-
const v = l(
|
|
4109
|
+
const v = l(_, O, F), b = u(_, F, v), w = _.slice(v, b);
|
|
4110
4110
|
if (P[w] === void 0) {
|
|
4111
|
-
let E = l(
|
|
4112
|
-
const d = I(
|
|
4111
|
+
let E = l(_, F + 1, q), y = u(_, q, E);
|
|
4112
|
+
const d = I(_.slice(E, y));
|
|
4113
4113
|
P[w] = d;
|
|
4114
4114
|
}
|
|
4115
4115
|
O = q + 1;
|
|
4116
4116
|
} while (O < p);
|
|
4117
4117
|
return P;
|
|
4118
4118
|
}
|
|
4119
|
-
function l(
|
|
4119
|
+
function l(_, M, P) {
|
|
4120
4120
|
do {
|
|
4121
|
-
const p =
|
|
4121
|
+
const p = _.charCodeAt(M);
|
|
4122
4122
|
if (p !== 32 && p !== 9)
|
|
4123
4123
|
return M;
|
|
4124
4124
|
} while (++M < P);
|
|
4125
4125
|
return P;
|
|
4126
4126
|
}
|
|
4127
|
-
function u(
|
|
4127
|
+
function u(_, M, P) {
|
|
4128
4128
|
for (; M > P; ) {
|
|
4129
|
-
const p =
|
|
4129
|
+
const p = _.charCodeAt(--M);
|
|
4130
4130
|
if (p !== 32 && p !== 9)
|
|
4131
4131
|
return M + 1;
|
|
4132
4132
|
}
|
|
4133
4133
|
return P;
|
|
4134
4134
|
}
|
|
4135
|
-
function h(
|
|
4135
|
+
function h(_, M, P) {
|
|
4136
4136
|
const p = P?.encode || encodeURIComponent;
|
|
4137
|
-
if (!e.test(
|
|
4138
|
-
throw new TypeError(`argument name is invalid: ${
|
|
4137
|
+
if (!e.test(_))
|
|
4138
|
+
throw new TypeError(`argument name is invalid: ${_}`);
|
|
4139
4139
|
const I = p(M);
|
|
4140
4140
|
if (!t.test(I))
|
|
4141
4141
|
throw new TypeError(`argument val is invalid: ${M}`);
|
|
4142
|
-
let O =
|
|
4142
|
+
let O = _ + "=" + I;
|
|
4143
4143
|
if (!P)
|
|
4144
4144
|
return O;
|
|
4145
4145
|
if (P.maxAge !== void 0) {
|
|
@@ -4193,17 +4193,17 @@ function ca() {
|
|
|
4193
4193
|
}
|
|
4194
4194
|
return O;
|
|
4195
4195
|
}
|
|
4196
|
-
function g(
|
|
4197
|
-
if (
|
|
4198
|
-
return
|
|
4196
|
+
function g(_) {
|
|
4197
|
+
if (_.indexOf("%") === -1)
|
|
4198
|
+
return _;
|
|
4199
4199
|
try {
|
|
4200
|
-
return decodeURIComponent(
|
|
4200
|
+
return decodeURIComponent(_);
|
|
4201
4201
|
} catch {
|
|
4202
|
-
return
|
|
4202
|
+
return _;
|
|
4203
4203
|
}
|
|
4204
4204
|
}
|
|
4205
|
-
function x(
|
|
4206
|
-
return a.call(
|
|
4205
|
+
function x(_) {
|
|
4206
|
+
return a.call(_) === "[object Date]";
|
|
4207
4207
|
}
|
|
4208
4208
|
return Ye;
|
|
4209
4209
|
}
|
|
@@ -4218,7 +4218,7 @@ ca();
|
|
|
4218
4218
|
*
|
|
4219
4219
|
* @license MIT
|
|
4220
4220
|
*/
|
|
4221
|
-
var
|
|
4221
|
+
var Tr = "popstate";
|
|
4222
4222
|
function fa(e = {}) {
|
|
4223
4223
|
function t(i, a) {
|
|
4224
4224
|
let { pathname: s, search: c, hash: l } = i.location;
|
|
@@ -4256,7 +4256,7 @@ function ve(e, t) {
|
|
|
4256
4256
|
function da() {
|
|
4257
4257
|
return Math.random().toString(36).substring(2, 10);
|
|
4258
4258
|
}
|
|
4259
|
-
function
|
|
4259
|
+
function _r(e, t) {
|
|
4260
4260
|
return {
|
|
4261
4261
|
usr: e.state,
|
|
4262
4262
|
key: e.key,
|
|
@@ -4305,11 +4305,11 @@ function ha(e, t, r, i = {}) {
|
|
|
4305
4305
|
let I = g(), O = I == null ? null : I - h;
|
|
4306
4306
|
h = I, u && u({ action: l, location: p.location, delta: O });
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function _(I, O) {
|
|
4309
4309
|
l = "PUSH";
|
|
4310
4310
|
let F = Ft(p.location, I, O);
|
|
4311
4311
|
h = g() + 1;
|
|
4312
|
-
let U =
|
|
4312
|
+
let U = _r(F, h), q = p.createHref(F);
|
|
4313
4313
|
try {
|
|
4314
4314
|
c.pushState(U, "", q);
|
|
4315
4315
|
} catch (v) {
|
|
@@ -4323,7 +4323,7 @@ function ha(e, t, r, i = {}) {
|
|
|
4323
4323
|
l = "REPLACE";
|
|
4324
4324
|
let F = Ft(p.location, I, O);
|
|
4325
4325
|
h = g();
|
|
4326
|
-
let U =
|
|
4326
|
+
let U = _r(F, h), q = p.createHref(F);
|
|
4327
4327
|
c.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
|
|
4328
4328
|
}
|
|
4329
4329
|
function P(I) {
|
|
@@ -4339,8 +4339,8 @@ function ha(e, t, r, i = {}) {
|
|
|
4339
4339
|
listen(I) {
|
|
4340
4340
|
if (u)
|
|
4341
4341
|
throw new Error("A history only accepts one active listener");
|
|
4342
|
-
return a.addEventListener(
|
|
4343
|
-
a.removeEventListener(
|
|
4342
|
+
return a.addEventListener(Tr, x), u = I, () => {
|
|
4343
|
+
a.removeEventListener(Tr, x), u = null;
|
|
4344
4344
|
};
|
|
4345
4345
|
},
|
|
4346
4346
|
createHref(I) {
|
|
@@ -4355,7 +4355,7 @@ function ha(e, t, r, i = {}) {
|
|
|
4355
4355
|
hash: O.hash
|
|
4356
4356
|
};
|
|
4357
4357
|
},
|
|
4358
|
-
push:
|
|
4358
|
+
push: _,
|
|
4359
4359
|
replace: M,
|
|
4360
4360
|
go(I) {
|
|
4361
4361
|
return c.go(I);
|
|
@@ -4471,7 +4471,7 @@ function Ca(e, t, r = !1) {
|
|
|
4471
4471
|
let u = i[l], h = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", x = gt(
|
|
4472
4472
|
{ path: u.relativePath, caseSensitive: u.caseSensitive, end: h },
|
|
4473
4473
|
g
|
|
4474
|
-
),
|
|
4474
|
+
), _ = u.route;
|
|
4475
4475
|
if (!x && h && r && !i[i.length - 1].route.index && (x = gt(
|
|
4476
4476
|
{
|
|
4477
4477
|
path: u.relativePath,
|
|
@@ -4488,7 +4488,7 @@ function Ca(e, t, r = !1) {
|
|
|
4488
4488
|
pathnameBase: ja(
|
|
4489
4489
|
Se([s, x.pathnameBase])
|
|
4490
4490
|
),
|
|
4491
|
-
route:
|
|
4491
|
+
route: _
|
|
4492
4492
|
}), x.pathnameBase !== "/" && (s = Se([s, x.pathnameBase]));
|
|
4493
4493
|
}
|
|
4494
4494
|
return c;
|
|
@@ -4504,12 +4504,12 @@ function gt(e, t) {
|
|
|
4504
4504
|
let s = a[0], c = s.replace(/(.)\/+$/, "$1"), l = a.slice(1);
|
|
4505
4505
|
return {
|
|
4506
4506
|
params: i.reduce(
|
|
4507
|
-
(h, { paramName: g, isOptional: x },
|
|
4507
|
+
(h, { paramName: g, isOptional: x }, _) => {
|
|
4508
4508
|
if (g === "*") {
|
|
4509
|
-
let P = l[
|
|
4509
|
+
let P = l[_] || "";
|
|
4510
4510
|
c = s.slice(0, s.length - P.length).replace(/(.)\/+$/, "$1");
|
|
4511
4511
|
}
|
|
4512
|
-
const M = l[
|
|
4512
|
+
const M = l[_];
|
|
4513
4513
|
return x && !M ? h[g] = void 0 : h[g] = (M || "").replace(/%2F/g, "/"), h;
|
|
4514
4514
|
},
|
|
4515
4515
|
{}
|
|
@@ -4554,12 +4554,12 @@ function Ra(e, t = "/") {
|
|
|
4554
4554
|
hash: a = ""
|
|
4555
4555
|
} = typeof e == "string" ? Me(e) : e;
|
|
4556
4556
|
return {
|
|
4557
|
-
pathname: r ? r.startsWith("/") ? r :
|
|
4557
|
+
pathname: r ? r.startsWith("/") ? r : Ta(r, t) : t,
|
|
4558
4558
|
search: La(i),
|
|
4559
4559
|
hash: Da(a)
|
|
4560
4560
|
};
|
|
4561
4561
|
}
|
|
4562
|
-
function
|
|
4562
|
+
function Ta(e, t) {
|
|
4563
4563
|
let r = t.replace(/\/+$/, "").split("/");
|
|
4564
4564
|
return e.split("/").forEach((a) => {
|
|
4565
4565
|
a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
|
|
@@ -4570,13 +4570,13 @@ function $t(e, t, r, i) {
|
|
|
4570
4570
|
i
|
|
4571
4571
|
)}]. 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.`;
|
|
4572
4572
|
}
|
|
4573
|
-
function
|
|
4573
|
+
function _a(e) {
|
|
4574
4574
|
return e.filter(
|
|
4575
4575
|
(t, r) => r === 0 || t.route.path && t.route.path.length > 0
|
|
4576
4576
|
);
|
|
4577
4577
|
}
|
|
4578
4578
|
function on(e) {
|
|
4579
|
-
let t =
|
|
4579
|
+
let t = _a(e);
|
|
4580
4580
|
return t.map(
|
|
4581
4581
|
(r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4582
4582
|
);
|
|
@@ -4599,10 +4599,10 @@ function sn(e, t, r, i = !1) {
|
|
|
4599
4599
|
else {
|
|
4600
4600
|
let x = t.length - 1;
|
|
4601
4601
|
if (!i && c.startsWith("..")) {
|
|
4602
|
-
let
|
|
4603
|
-
for (;
|
|
4604
|
-
|
|
4605
|
-
a.pathname =
|
|
4602
|
+
let _ = c.split("/");
|
|
4603
|
+
for (; _[0] === ".."; )
|
|
4604
|
+
_.shift(), x -= 1;
|
|
4605
|
+
a.pathname = _.join("/");
|
|
4606
4606
|
}
|
|
4607
4607
|
l = x >= 0 ? t[x] : "/";
|
|
4608
4608
|
}
|
|
@@ -4657,7 +4657,7 @@ var Oe = D.createContext({
|
|
|
4657
4657
|
Oe.displayName = "Route";
|
|
4658
4658
|
var Gt = D.createContext(null);
|
|
4659
4659
|
Gt.displayName = "RouteError";
|
|
4660
|
-
function
|
|
4660
|
+
function Ha(e, { relative: t } = {}) {
|
|
4661
4661
|
ae(
|
|
4662
4662
|
Qe(),
|
|
4663
4663
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4684,9 +4684,9 @@ function fn(e) {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
function Kt() {
|
|
4686
4686
|
let { isDataRoute: e } = D.useContext(Oe);
|
|
4687
|
-
return e ? Ja() :
|
|
4687
|
+
return e ? Ja() : za();
|
|
4688
4688
|
}
|
|
4689
|
-
function
|
|
4689
|
+
function za() {
|
|
4690
4690
|
ae(
|
|
4691
4691
|
Qe(),
|
|
4692
4692
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4758,16 +4758,16 @@ function dn(e, t, r, i) {
|
|
|
4758
4758
|
Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" : `${O}/*`}">.`
|
|
4759
4759
|
);
|
|
4760
4760
|
}
|
|
4761
|
-
let x = ke(),
|
|
4761
|
+
let x = ke(), _;
|
|
4762
4762
|
if (t) {
|
|
4763
4763
|
let O = typeof t == "string" ? Me(t) : t;
|
|
4764
4764
|
ae(
|
|
4765
4765
|
h === "/" || O.pathname?.startsWith(h),
|
|
4766
4766
|
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${O.pathname}" was given in the \`location\` prop.`
|
|
4767
|
-
),
|
|
4767
|
+
), _ = O;
|
|
4768
4768
|
} else
|
|
4769
|
-
|
|
4770
|
-
let M =
|
|
4769
|
+
_ = x;
|
|
4770
|
+
let M = _.pathname || "/", P = M;
|
|
4771
4771
|
if (h !== "/") {
|
|
4772
4772
|
let O = h.replace(/^\//, "").split("/");
|
|
4773
4773
|
P = "/" + M.replace(/^\//, "").split("/").slice(O.length).join("/");
|
|
@@ -4775,10 +4775,10 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4775
4775
|
let p = rn(e, { pathname: P });
|
|
4776
4776
|
ve(
|
|
4777
4777
|
g || p != null,
|
|
4778
|
-
`No routes matched location "${
|
|
4778
|
+
`No routes matched location "${_.pathname}${_.search}${_.hash}" `
|
|
4779
4779
|
), ve(
|
|
4780
4780
|
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,
|
|
4781
|
-
`Matched leaf route at location "${
|
|
4781
|
+
`Matched leaf route at location "${_.pathname}${_.search}${_.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.`
|
|
4782
4782
|
);
|
|
4783
4783
|
let I = qa(
|
|
4784
4784
|
p && p.map(
|
|
@@ -4810,7 +4810,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4810
4810
|
hash: "",
|
|
4811
4811
|
state: null,
|
|
4812
4812
|
key: "default",
|
|
4813
|
-
...
|
|
4813
|
+
..._
|
|
4814
4814
|
},
|
|
4815
4815
|
navigationType: "POP"
|
|
4816
4816
|
/* Pop */
|
|
@@ -4900,23 +4900,23 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4900
4900
|
for (let u = 0; u < a.length; u++) {
|
|
4901
4901
|
let h = a[u];
|
|
4902
4902
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (l = u), h.route.id) {
|
|
4903
|
-
let { loaderData: g, errors: x } = r,
|
|
4904
|
-
if (h.route.lazy ||
|
|
4903
|
+
let { loaderData: g, errors: x } = r, _ = h.route.loader && !g.hasOwnProperty(h.route.id) && (!x || x[h.route.id] === void 0);
|
|
4904
|
+
if (h.route.lazy || _) {
|
|
4905
4905
|
c = !0, l >= 0 ? a = a.slice(0, l + 1) : a = [a[0]];
|
|
4906
4906
|
break;
|
|
4907
4907
|
}
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
return a.reduceRight((u, h, g) => {
|
|
4911
|
-
let x,
|
|
4911
|
+
let x, _ = !1, M = null, P = null;
|
|
4912
4912
|
r && (x = s && h.route.id ? s[h.route.id] : void 0, M = h.route.errorElement || Wa, c && (l < 0 && g === 0 ? (hn(
|
|
4913
4913
|
"route-fallback",
|
|
4914
4914
|
!1,
|
|
4915
4915
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4916
|
-
),
|
|
4916
|
+
), _ = !0, P = null) : l === g && (_ = !0, P = h.route.hydrateFallbackElement || null)));
|
|
4917
4917
|
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
4918
4918
|
let O;
|
|
4919
|
-
return x ? O = M :
|
|
4919
|
+
return x ? O = M : _ ? O = P : h.route.Component ? O = /* @__PURE__ */ D.createElement(h.route.Component, null) : h.route.element ? O = h.route.element : O = u, /* @__PURE__ */ D.createElement(
|
|
4920
4920
|
Ya,
|
|
4921
4921
|
{
|
|
4922
4922
|
match: h,
|
|
@@ -5042,7 +5042,7 @@ function Qa({
|
|
|
5042
5042
|
search: h = "",
|
|
5043
5043
|
hash: g = "",
|
|
5044
5044
|
state: x = null,
|
|
5045
|
-
key:
|
|
5045
|
+
key: _ = "default"
|
|
5046
5046
|
} = r, M = D.useMemo(() => {
|
|
5047
5047
|
let P = xe(u, c);
|
|
5048
5048
|
return P == null ? null : {
|
|
@@ -5051,11 +5051,11 @@ function Qa({
|
|
|
5051
5051
|
search: h,
|
|
5052
5052
|
hash: g,
|
|
5053
5053
|
state: x,
|
|
5054
|
-
key:
|
|
5054
|
+
key: _
|
|
5055
5055
|
},
|
|
5056
5056
|
navigationType: i
|
|
5057
5057
|
};
|
|
5058
|
-
}, [c, u, h, g, x,
|
|
5058
|
+
}, [c, u, h, g, x, _, i]);
|
|
5059
5059
|
return ve(
|
|
5060
5060
|
M != null,
|
|
5061
5061
|
`<Router basename="${c}"> is not able to match the URL "${u}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
@@ -5190,8 +5190,8 @@ function uo(e, t) {
|
|
|
5190
5190
|
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), !so()) {
|
|
5191
5191
|
let { name: h, type: g, value: x } = e;
|
|
5192
5192
|
if (g === "image") {
|
|
5193
|
-
let
|
|
5194
|
-
s.append(`${
|
|
5193
|
+
let _ = h ? `${h}.` : "";
|
|
5194
|
+
s.append(`${_}x`, "0"), s.append(`${_}y`, "0");
|
|
5195
5195
|
} else h && s.append(h, x);
|
|
5196
5196
|
}
|
|
5197
5197
|
} else {
|
|
@@ -5337,7 +5337,7 @@ function vn() {
|
|
|
5337
5337
|
), e;
|
|
5338
5338
|
}
|
|
5339
5339
|
function So(e, t) {
|
|
5340
|
-
let r = D.useContext(er), [i, a] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t,
|
|
5340
|
+
let r = D.useContext(er), [i, a] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, _ = D.useRef(null);
|
|
5341
5341
|
D.useEffect(() => {
|
|
5342
5342
|
if (e === "render" && c(!0), e === "viewport") {
|
|
5343
5343
|
let p = (O) => {
|
|
@@ -5345,7 +5345,7 @@ function So(e, t) {
|
|
|
5345
5345
|
c(F.isIntersecting);
|
|
5346
5346
|
});
|
|
5347
5347
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5348
|
-
return
|
|
5348
|
+
return _.current && I.observe(_.current), () => {
|
|
5349
5349
|
I.disconnect();
|
|
5350
5350
|
};
|
|
5351
5351
|
}
|
|
@@ -5364,9 +5364,9 @@ function So(e, t) {
|
|
|
5364
5364
|
}, P = () => {
|
|
5365
5365
|
a(!1), c(!1);
|
|
5366
5366
|
};
|
|
5367
|
-
return r ? e !== "intent" ? [s,
|
|
5367
|
+
return r ? e !== "intent" ? [s, _, {}] : [
|
|
5368
5368
|
s,
|
|
5369
|
-
|
|
5369
|
+
_,
|
|
5370
5370
|
{
|
|
5371
5371
|
onFocus: qe(l, M),
|
|
5372
5372
|
onBlur: qe(u, P),
|
|
@@ -5374,7 +5374,7 @@ function So(e, t) {
|
|
|
5374
5374
|
onMouseLeave: qe(g, P),
|
|
5375
5375
|
onTouchStart: qe(x, M)
|
|
5376
5376
|
}
|
|
5377
|
-
] : [!1,
|
|
5377
|
+
] : [!1, _, {}];
|
|
5378
5378
|
}
|
|
5379
5379
|
function qe(e, t) {
|
|
5380
5380
|
return (r) => {
|
|
@@ -5452,11 +5452,11 @@ function ko({
|
|
|
5452
5452
|
t,
|
|
5453
5453
|
e,
|
|
5454
5454
|
s
|
|
5455
|
-
]),
|
|
5455
|
+
]), _ = D.useMemo(
|
|
5456
5456
|
() => po(g, a),
|
|
5457
5457
|
[g, a]
|
|
5458
5458
|
), M = Oo(g);
|
|
5459
|
-
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })),
|
|
5459
|
+
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), _.map((P) => /* @__PURE__ */ D.createElement("link", { key: P, rel: "modulepreload", href: P, ...r })), M.map(({ key: P, link: p }) => (
|
|
5460
5460
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5461
5461
|
// already with their own props
|
|
5462
5462
|
/* @__PURE__ */ D.createElement("link", { key: P, ...p })
|
|
@@ -5514,7 +5514,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5514
5514
|
to: h,
|
|
5515
5515
|
preventScrollReset: g,
|
|
5516
5516
|
viewTransition: x,
|
|
5517
|
-
...
|
|
5517
|
+
..._
|
|
5518
5518
|
}, M) {
|
|
5519
5519
|
let { basename: P } = D.useContext(we), p = typeof h == "string" && yn.test(h), I, O = !1;
|
|
5520
5520
|
if (typeof h == "string" && p && (I = h, gn))
|
|
@@ -5527,10 +5527,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5527
5527
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5528
5528
|
);
|
|
5529
5529
|
}
|
|
5530
|
-
let F =
|
|
5530
|
+
let F = Ha(h, { relative: a }), [U, q, v] = So(
|
|
5531
5531
|
i,
|
|
5532
|
-
|
|
5533
|
-
), b =
|
|
5532
|
+
_
|
|
5533
|
+
), b = _o(h, {
|
|
5534
5534
|
replace: c,
|
|
5535
5535
|
state: l,
|
|
5536
5536
|
target: u,
|
|
@@ -5546,7 +5546,7 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5546
5546
|
/* @__PURE__ */ D.createElement(
|
|
5547
5547
|
"a",
|
|
5548
5548
|
{
|
|
5549
|
-
...
|
|
5549
|
+
..._,
|
|
5550
5550
|
...v,
|
|
5551
5551
|
href: I || F,
|
|
5552
5552
|
onClick: O || s ? t : w,
|
|
@@ -5572,9 +5572,9 @@ var Eo = D.forwardRef(
|
|
|
5572
5572
|
children: u,
|
|
5573
5573
|
...h
|
|
5574
5574
|
}, g) {
|
|
5575
|
-
let x = et(c, { relative: h.relative }),
|
|
5575
|
+
let x = et(c, { relative: h.relative }), _ = ke(), M = D.useContext(Ot), { navigator: P, basename: p } = D.useContext(we), I = M != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5576
5576
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5577
|
-
Io(x) && l === !0, O = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, F =
|
|
5577
|
+
Io(x) && l === !0, O = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, F = _.pathname, U = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5578
5578
|
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, O = O.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5579
5579
|
const q = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
|
|
5580
5580
|
let v = F === O || !a && F.startsWith(O) && F.charAt(q) === "/", b = U != null && (U === O || !a && U.startsWith(O) && U.charAt(O.length) === "/"), w = {
|
|
@@ -5619,7 +5619,7 @@ var Ro = D.forwardRef(
|
|
|
5619
5619
|
relative: h,
|
|
5620
5620
|
preventScrollReset: g,
|
|
5621
5621
|
viewTransition: x,
|
|
5622
|
-
...
|
|
5622
|
+
..._
|
|
5623
5623
|
}, M) => {
|
|
5624
5624
|
let P = Mo(), p = $o(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", O = typeof l == "string" && yn.test(l), F = (U) => {
|
|
5625
5625
|
if (u && u(U), U.defaultPrevented) return;
|
|
@@ -5643,21 +5643,21 @@ var Ro = D.forwardRef(
|
|
|
5643
5643
|
method: I,
|
|
5644
5644
|
action: p,
|
|
5645
5645
|
onSubmit: i ? u : F,
|
|
5646
|
-
...
|
|
5646
|
+
..._,
|
|
5647
5647
|
"data-discover": !O && e === "render" ? "true" : void 0
|
|
5648
5648
|
}
|
|
5649
5649
|
);
|
|
5650
5650
|
}
|
|
5651
5651
|
);
|
|
5652
5652
|
Ro.displayName = "Form";
|
|
5653
|
-
function
|
|
5653
|
+
function To(e) {
|
|
5654
5654
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5655
5655
|
}
|
|
5656
5656
|
function wn(e) {
|
|
5657
5657
|
let t = D.useContext($e);
|
|
5658
|
-
return ae(t,
|
|
5658
|
+
return ae(t, To(e)), t;
|
|
5659
5659
|
}
|
|
5660
|
-
function
|
|
5660
|
+
function _o(e, {
|
|
5661
5661
|
target: t,
|
|
5662
5662
|
replace: r,
|
|
5663
5663
|
state: i,
|
|
@@ -5801,10 +5801,10 @@ const Sn = B.createContext({
|
|
|
5801
5801
|
replaceHistory: () => {
|
|
5802
5802
|
}
|
|
5803
5803
|
}), Ao = () => {
|
|
5804
|
-
const [e, t] = jo(), r =
|
|
5804
|
+
const [e, t] = jo(), r = Hr(
|
|
5805
5805
|
() => Object.fromEntries(e.entries()),
|
|
5806
5806
|
[e]
|
|
5807
|
-
), i =
|
|
5807
|
+
), i = Te(
|
|
5808
5808
|
(h) => {
|
|
5809
5809
|
const g = {};
|
|
5810
5810
|
return h.forEach((x) => {
|
|
@@ -5812,33 +5812,33 @@ const Sn = B.createContext({
|
|
|
5812
5812
|
}), g;
|
|
5813
5813
|
},
|
|
5814
5814
|
[e]
|
|
5815
|
-
), a =
|
|
5815
|
+
), a = Te(
|
|
5816
5816
|
(h) => {
|
|
5817
5817
|
const g = e.get(h);
|
|
5818
5818
|
return g == null || g == null, g;
|
|
5819
5819
|
},
|
|
5820
5820
|
[e]
|
|
5821
|
-
), s =
|
|
5821
|
+
), s = Te(
|
|
5822
5822
|
(h, g) => {
|
|
5823
5823
|
const x = new URLSearchParams(e);
|
|
5824
5824
|
x.set(h, String(g)), t(x);
|
|
5825
5825
|
},
|
|
5826
5826
|
[e, t]
|
|
5827
|
-
), c =
|
|
5827
|
+
), c = Te(
|
|
5828
5828
|
(h) => {
|
|
5829
5829
|
const g = new URLSearchParams(e);
|
|
5830
|
-
Object.entries(h).forEach(([x,
|
|
5831
|
-
|
|
5830
|
+
Object.entries(h).forEach(([x, _]) => {
|
|
5831
|
+
_ != null && g.set(x, String(_));
|
|
5832
5832
|
}), t(g);
|
|
5833
5833
|
},
|
|
5834
5834
|
[e, t]
|
|
5835
|
-
), l =
|
|
5835
|
+
), l = Te(
|
|
5836
5836
|
(h) => {
|
|
5837
5837
|
const g = new URLSearchParams(e);
|
|
5838
5838
|
g.delete(h), t(g);
|
|
5839
5839
|
},
|
|
5840
5840
|
[e, t]
|
|
5841
|
-
), u =
|
|
5841
|
+
), u = Te(
|
|
5842
5842
|
(h) => {
|
|
5843
5843
|
const g = new URLSearchParams(e);
|
|
5844
5844
|
h.forEach((x) => {
|
|
@@ -5889,15 +5889,15 @@ const Sn = B.createContext({
|
|
|
5889
5889
|
}) => {
|
|
5890
5890
|
const i = B.useRef([]), [a, s] = B.useState([]), c = B.useCallback((x) => {
|
|
5891
5891
|
i.current = x, s(x);
|
|
5892
|
-
}, []), l = (x,
|
|
5892
|
+
}, []), l = (x, _ = !1) => {
|
|
5893
5893
|
let M = [...i.current];
|
|
5894
|
-
|
|
5894
|
+
_ && (M = M.slice(0, M.length - 1)), M = [...M, x], c(M);
|
|
5895
5895
|
}, u = (x) => {
|
|
5896
|
-
let
|
|
5897
|
-
return i.current.length === 0 ? "/" : (i.current.length <= x ? (
|
|
5896
|
+
let _ = "", M = [];
|
|
5897
|
+
return i.current.length === 0 ? "/" : (i.current.length <= x ? (_ = i.current[0], M = [_]) : (M = i.current.slice(
|
|
5898
5898
|
0,
|
|
5899
5899
|
i.current.length - x
|
|
5900
|
-
),
|
|
5900
|
+
), _ = M[M.length - 1]), c(M), _);
|
|
5901
5901
|
}, h = (x) => {
|
|
5902
5902
|
c(x);
|
|
5903
5903
|
}, g = t.map((x) => /* @__PURE__ */ G.jsx(pn, { path: x.path, element: x.render }));
|
|
@@ -5965,7 +5965,7 @@ const Sn = B.createContext({
|
|
|
5965
5965
|
showItem: r,
|
|
5966
5966
|
hideItem: i
|
|
5967
5967
|
};
|
|
5968
|
-
},
|
|
5968
|
+
}, Ho = ({
|
|
5969
5969
|
id: e,
|
|
5970
5970
|
onCloseDrawer: t,
|
|
5971
5971
|
drawerCloseOffset: r = 15
|
|
@@ -5974,7 +5974,7 @@ const Sn = B.createContext({
|
|
|
5974
5974
|
isDragging: !1
|
|
5975
5975
|
}), c = B.useRef(null), l = B.useRef(null), u = B.useRef(null), [h, g] = B.useState(0), x = (P) => {
|
|
5976
5976
|
s(P);
|
|
5977
|
-
},
|
|
5977
|
+
}, _ = (P) => {
|
|
5978
5978
|
s(P), g(0);
|
|
5979
5979
|
};
|
|
5980
5980
|
return oa({
|
|
@@ -5982,9 +5982,9 @@ const Sn = B.createContext({
|
|
|
5982
5982
|
onDrag: (P) => {
|
|
5983
5983
|
s(P);
|
|
5984
5984
|
const p = l.current?.clientHeight || 0;
|
|
5985
|
-
P.distanceY && (g(P.distanceY < 0 ? 0 : -P.distanceY), P.distanceY >= p - r && (t?.(),
|
|
5985
|
+
P.distanceY && (g(P.distanceY < 0 ? 0 : -P.distanceY), P.distanceY >= p - r && (t?.(), _(P)));
|
|
5986
5986
|
},
|
|
5987
|
-
onDragEnd:
|
|
5987
|
+
onDragEnd: _,
|
|
5988
5988
|
onDragStart: x
|
|
5989
5989
|
}), {
|
|
5990
5990
|
isVisible: i(e),
|
|
@@ -6000,7 +6000,7 @@ const Sn = B.createContext({
|
|
|
6000
6000
|
drawerRef: l,
|
|
6001
6001
|
handleRef: u,
|
|
6002
6002
|
drawerBottomDistance: h
|
|
6003
|
-
} =
|
|
6003
|
+
} = Ho(e);
|
|
6004
6004
|
return /* @__PURE__ */ G.jsx(G.Fragment, { children: s && /* @__PURE__ */ G.jsx(
|
|
6005
6005
|
"div",
|
|
6006
6006
|
{
|
|
@@ -6069,22 +6069,25 @@ const Sn = B.createContext({
|
|
|
6069
6069
|
)
|
|
6070
6070
|
}
|
|
6071
6071
|
) });
|
|
6072
|
-
},
|
|
6072
|
+
}, zo = ({ onSubmit: e, fields: t }) => {
|
|
6073
6073
|
const r = B.useRef(null), i = B.useCallback(
|
|
6074
6074
|
(c) => {
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6075
|
+
const l = Array.from(c.currentTarget.elements).filter(
|
|
6076
|
+
(x) => x instanceof HTMLInputElement || x instanceof HTMLTextAreaElement || x instanceof HTMLSelectElement
|
|
6077
|
+
);
|
|
6078
|
+
var u = Object.keys(l), h = Object.values(l), g = [];
|
|
6079
|
+
console.debug("Form > ", { event: c, elementIds: u, elementValues: h });
|
|
6080
|
+
for (let x = 0; x < u.length; x++) {
|
|
6081
|
+
const _ = u[x];
|
|
6082
|
+
if (t.list.findIndex((P) => P.name === _) === -1)
|
|
6080
6083
|
continue;
|
|
6081
|
-
const
|
|
6082
|
-
|
|
6083
|
-
name:
|
|
6084
|
-
value:
|
|
6084
|
+
const M = h[x].value;
|
|
6085
|
+
g.push({
|
|
6086
|
+
name: _,
|
|
6087
|
+
value: M
|
|
6085
6088
|
});
|
|
6086
6089
|
}
|
|
6087
|
-
return
|
|
6090
|
+
return g;
|
|
6088
6091
|
},
|
|
6089
6092
|
[e]
|
|
6090
6093
|
), a = B.useCallback(
|
|
@@ -6118,7 +6121,7 @@ const Sn = B.createContext({
|
|
|
6118
6121
|
pointer-events: none;
|
|
6119
6122
|
}
|
|
6120
6123
|
`, ds = (e) => {
|
|
6121
|
-
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } =
|
|
6124
|
+
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = zo(e), l = B.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
|
|
6122
6125
|
return /* @__PURE__ */ G.jsxs(
|
|
6123
6126
|
"form",
|
|
6124
6127
|
{
|
|
@@ -6210,7 +6213,7 @@ const Sn = B.createContext({
|
|
|
6210
6213
|
type: h = "text",
|
|
6211
6214
|
onChange: g,
|
|
6212
6215
|
onFocus: x,
|
|
6213
|
-
onBlur:
|
|
6216
|
+
onBlur: _,
|
|
6214
6217
|
inputStyles: M,
|
|
6215
6218
|
containerStyles: P,
|
|
6216
6219
|
styles: p,
|
|
@@ -6221,7 +6224,7 @@ const Sn = B.createContext({
|
|
|
6221
6224
|
}, F = (q) => {
|
|
6222
6225
|
q.preventDefault(), q.stopPropagation(), x?.();
|
|
6223
6226
|
}, U = (q) => {
|
|
6224
|
-
|
|
6227
|
+
_?.();
|
|
6225
6228
|
};
|
|
6226
6229
|
return /* @__PURE__ */ G.jsxs(
|
|
6227
6230
|
Fo,
|
|
@@ -6547,97 +6550,97 @@ function Bo() {
|
|
|
6547
6550
|
(function(r, i) {
|
|
6548
6551
|
e.exports = i();
|
|
6549
6552
|
})(qo, function() {
|
|
6550
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", l = "minute", u = "hour", h = "day", g = "week", x = "month",
|
|
6551
|
-
var C = ["th", "st", "nd", "rd"],
|
|
6552
|
-
return "[" +
|
|
6553
|
-
} }, U = function(
|
|
6554
|
-
var o = String(
|
|
6555
|
-
return !o || o.length >= C ?
|
|
6556
|
-
}, q = { s: U, z: function(
|
|
6557
|
-
var C = -
|
|
6558
|
-
return (C <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(
|
|
6559
|
-
}, m: function
|
|
6560
|
-
if (C.date() <
|
|
6561
|
-
var o = 12 * (
|
|
6562
|
-
return +(-(o + (
|
|
6563
|
-
}, a: function(
|
|
6564
|
-
return
|
|
6565
|
-
}, p: function(
|
|
6566
|
-
return { M: x, y: M, w: g, d: h, D: P, h: u, m: l, s: c, ms: s, Q:
|
|
6567
|
-
}, u: function(
|
|
6568
|
-
return
|
|
6553
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", l = "minute", u = "hour", h = "day", g = "week", x = "month", _ = "quarter", M = "year", P = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
|
|
6554
|
+
var C = ["th", "st", "nd", "rd"], j = T % 100;
|
|
6555
|
+
return "[" + T + (C[(j - 20) % 10] || C[j] || C[0]) + "]";
|
|
6556
|
+
} }, U = function(T, C, j) {
|
|
6557
|
+
var o = String(T);
|
|
6558
|
+
return !o || o.length >= C ? T : "" + Array(C + 1 - o.length).join(j) + T;
|
|
6559
|
+
}, q = { s: U, z: function(T) {
|
|
6560
|
+
var C = -T.utcOffset(), j = Math.abs(C), o = Math.floor(j / 60), H = j % 60;
|
|
6561
|
+
return (C <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
6562
|
+
}, m: function T(C, j) {
|
|
6563
|
+
if (C.date() < j.date()) return -T(j, C);
|
|
6564
|
+
var o = 12 * (j.year() - C.year()) + (j.month() - C.month()), H = C.clone().add(o, x), m = j - H < 0, n = C.clone().add(o + (m ? -1 : 1), x);
|
|
6565
|
+
return +(-(o + (j - H) / (m ? H - n : n - H)) || 0);
|
|
6566
|
+
}, a: function(T) {
|
|
6567
|
+
return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
|
|
6568
|
+
}, p: function(T) {
|
|
6569
|
+
return { M: x, y: M, w: g, d: h, D: P, h: u, m: l, s: c, ms: s, Q: _ }[T] || String(T || "").toLowerCase().replace(/s$/, "");
|
|
6570
|
+
}, u: function(T) {
|
|
6571
|
+
return T === void 0;
|
|
6569
6572
|
} }, v = "en", b = {};
|
|
6570
6573
|
b[v] = F;
|
|
6571
|
-
var w = "$isDayjsObject", E = function(
|
|
6572
|
-
return
|
|
6573
|
-
}, y = function
|
|
6574
|
-
var
|
|
6574
|
+
var w = "$isDayjsObject", E = function(T) {
|
|
6575
|
+
return T instanceof A || !(!T || !T[w]);
|
|
6576
|
+
}, y = function T(C, j, o) {
|
|
6577
|
+
var H;
|
|
6575
6578
|
if (!C) return v;
|
|
6576
6579
|
if (typeof C == "string") {
|
|
6577
6580
|
var m = C.toLowerCase();
|
|
6578
|
-
b[m] && (
|
|
6581
|
+
b[m] && (H = m), j && (b[m] = j, H = m);
|
|
6579
6582
|
var n = C.split("-");
|
|
6580
|
-
if (!
|
|
6583
|
+
if (!H && n.length > 1) return T(n[0]);
|
|
6581
6584
|
} else {
|
|
6582
6585
|
var f = C.name;
|
|
6583
|
-
b[f] = C,
|
|
6586
|
+
b[f] = C, H = f;
|
|
6584
6587
|
}
|
|
6585
|
-
return !o &&
|
|
6586
|
-
}, d = function(
|
|
6587
|
-
if (E(
|
|
6588
|
-
var
|
|
6589
|
-
return
|
|
6588
|
+
return !o && H && (v = H), H || !o && v;
|
|
6589
|
+
}, d = function(T, C) {
|
|
6590
|
+
if (E(T)) return T.clone();
|
|
6591
|
+
var j = typeof C == "object" ? C : {};
|
|
6592
|
+
return j.date = T, j.args = arguments, new A(j);
|
|
6590
6593
|
}, k = q;
|
|
6591
|
-
k.l = y, k.i = E, k.w = function(
|
|
6592
|
-
return d(
|
|
6594
|
+
k.l = y, k.i = E, k.w = function(T, C) {
|
|
6595
|
+
return d(T, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
|
|
6593
6596
|
};
|
|
6594
6597
|
var A = function() {
|
|
6595
|
-
function
|
|
6596
|
-
this.$L = y(
|
|
6598
|
+
function T(j) {
|
|
6599
|
+
this.$L = y(j.locale, null, !0), this.parse(j), this.$x = this.$x || j.x || {}, this[w] = !0;
|
|
6597
6600
|
}
|
|
6598
|
-
var C =
|
|
6599
|
-
return C.parse = function(
|
|
6601
|
+
var C = T.prototype;
|
|
6602
|
+
return C.parse = function(j) {
|
|
6600
6603
|
this.$d = function(o) {
|
|
6601
|
-
var
|
|
6602
|
-
if (
|
|
6603
|
-
if (k.u(
|
|
6604
|
-
if (
|
|
6605
|
-
if (typeof
|
|
6606
|
-
var n =
|
|
6604
|
+
var H = o.date, m = o.utc;
|
|
6605
|
+
if (H === null) return /* @__PURE__ */ new Date(NaN);
|
|
6606
|
+
if (k.u(H)) return /* @__PURE__ */ new Date();
|
|
6607
|
+
if (H instanceof Date) return new Date(H);
|
|
6608
|
+
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
6609
|
+
var n = H.match(I);
|
|
6607
6610
|
if (n) {
|
|
6608
6611
|
var f = n[2] - 1 || 0, S = (n[7] || "0").substring(0, 3);
|
|
6609
6612
|
return m ? new Date(Date.UTC(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, S)) : new Date(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, S);
|
|
6610
6613
|
}
|
|
6611
6614
|
}
|
|
6612
|
-
return new Date(
|
|
6613
|
-
}(
|
|
6615
|
+
return new Date(H);
|
|
6616
|
+
}(j), this.init();
|
|
6614
6617
|
}, C.init = function() {
|
|
6615
|
-
var
|
|
6616
|
-
this.$y =
|
|
6618
|
+
var j = this.$d;
|
|
6619
|
+
this.$y = j.getFullYear(), this.$M = j.getMonth(), this.$D = j.getDate(), this.$W = j.getDay(), this.$H = j.getHours(), this.$m = j.getMinutes(), this.$s = j.getSeconds(), this.$ms = j.getMilliseconds();
|
|
6617
6620
|
}, C.$utils = function() {
|
|
6618
6621
|
return k;
|
|
6619
6622
|
}, C.isValid = function() {
|
|
6620
6623
|
return this.$d.toString() !== p;
|
|
6621
|
-
}, C.isSame = function(
|
|
6622
|
-
var
|
|
6623
|
-
return this.startOf(o) <=
|
|
6624
|
-
}, C.isAfter = function(
|
|
6625
|
-
return d(
|
|
6626
|
-
}, C.isBefore = function(
|
|
6627
|
-
return this.endOf(o) < d(
|
|
6628
|
-
}, C.$g = function(
|
|
6629
|
-
return k.u(
|
|
6624
|
+
}, C.isSame = function(j, o) {
|
|
6625
|
+
var H = d(j);
|
|
6626
|
+
return this.startOf(o) <= H && H <= this.endOf(o);
|
|
6627
|
+
}, C.isAfter = function(j, o) {
|
|
6628
|
+
return d(j) < this.startOf(o);
|
|
6629
|
+
}, C.isBefore = function(j, o) {
|
|
6630
|
+
return this.endOf(o) < d(j);
|
|
6631
|
+
}, C.$g = function(j, o, H) {
|
|
6632
|
+
return k.u(j) ? this[o] : this.set(H, j);
|
|
6630
6633
|
}, C.unix = function() {
|
|
6631
6634
|
return Math.floor(this.valueOf() / 1e3);
|
|
6632
6635
|
}, C.valueOf = function() {
|
|
6633
6636
|
return this.$d.getTime();
|
|
6634
|
-
}, C.startOf = function(
|
|
6635
|
-
var
|
|
6636
|
-
var J = k.w(
|
|
6637
|
+
}, C.startOf = function(j, o) {
|
|
6638
|
+
var H = this, m = !!k.u(o) || o, n = k.p(j), f = function(K, X) {
|
|
6639
|
+
var J = k.w(H.$u ? Date.UTC(H.$y, X, K) : new Date(H.$y, X, K), H);
|
|
6637
6640
|
return m ? J : J.endOf(h);
|
|
6638
6641
|
}, S = function(K, X) {
|
|
6639
|
-
return k.w(
|
|
6640
|
-
}, $ = this.$W, L = this.$M,
|
|
6642
|
+
return k.w(H.toDate()[K].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), H);
|
|
6643
|
+
}, $ = this.$W, L = this.$M, z = this.$D, N = "set" + (this.$u ? "UTC" : "");
|
|
6641
6644
|
switch (n) {
|
|
6642
6645
|
case M:
|
|
6643
6646
|
return m ? f(1, 0) : f(31, 11);
|
|
@@ -6645,7 +6648,7 @@ function Bo() {
|
|
|
6645
6648
|
return m ? f(1, L) : f(0, L + 1);
|
|
6646
6649
|
case g:
|
|
6647
6650
|
var W = this.$locale().weekStart || 0, V = ($ < W ? $ + 7 : $) - W;
|
|
6648
|
-
return f(m ?
|
|
6651
|
+
return f(m ? z - V : z + (6 - V), L);
|
|
6649
6652
|
case h:
|
|
6650
6653
|
case P:
|
|
6651
6654
|
return S(N + "Hours", 0);
|
|
@@ -6658,38 +6661,38 @@ function Bo() {
|
|
|
6658
6661
|
default:
|
|
6659
6662
|
return this.clone();
|
|
6660
6663
|
}
|
|
6661
|
-
}, C.endOf = function(
|
|
6662
|
-
return this.startOf(
|
|
6663
|
-
}, C.$set = function(
|
|
6664
|
-
var
|
|
6664
|
+
}, C.endOf = function(j) {
|
|
6665
|
+
return this.startOf(j, !1);
|
|
6666
|
+
}, C.$set = function(j, o) {
|
|
6667
|
+
var H, m = k.p(j), n = "set" + (this.$u ? "UTC" : ""), f = (H = {}, H[h] = n + "Date", H[P] = n + "Date", H[x] = n + "Month", H[M] = n + "FullYear", H[u] = n + "Hours", H[l] = n + "Minutes", H[c] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], S = m === h ? this.$D + (o - this.$W) : o;
|
|
6665
6668
|
if (m === x || m === M) {
|
|
6666
6669
|
var $ = this.clone().set(P, 1);
|
|
6667
6670
|
$.$d[f](S), $.init(), this.$d = $.set(P, Math.min(this.$D, $.daysInMonth())).$d;
|
|
6668
6671
|
} else f && this.$d[f](S);
|
|
6669
6672
|
return this.init(), this;
|
|
6670
|
-
}, C.set = function(
|
|
6671
|
-
return this.clone().$set(
|
|
6672
|
-
}, C.get = function(
|
|
6673
|
-
return this[k.p(
|
|
6674
|
-
}, C.add = function(
|
|
6675
|
-
var
|
|
6676
|
-
|
|
6673
|
+
}, C.set = function(j, o) {
|
|
6674
|
+
return this.clone().$set(j, o);
|
|
6675
|
+
}, C.get = function(j) {
|
|
6676
|
+
return this[k.p(j)]();
|
|
6677
|
+
}, C.add = function(j, o) {
|
|
6678
|
+
var H, m = this;
|
|
6679
|
+
j = Number(j);
|
|
6677
6680
|
var n = k.p(o), f = function(L) {
|
|
6678
|
-
var
|
|
6679
|
-
return k.w(
|
|
6681
|
+
var z = d(m);
|
|
6682
|
+
return k.w(z.date(z.date() + Math.round(L * j)), m);
|
|
6680
6683
|
};
|
|
6681
|
-
if (n === x) return this.set(x, this.$M +
|
|
6682
|
-
if (n === M) return this.set(M, this.$y +
|
|
6684
|
+
if (n === x) return this.set(x, this.$M + j);
|
|
6685
|
+
if (n === M) return this.set(M, this.$y + j);
|
|
6683
6686
|
if (n === h) return f(1);
|
|
6684
6687
|
if (n === g) return f(7);
|
|
6685
|
-
var S = (
|
|
6688
|
+
var S = (H = {}, H[l] = i, H[u] = a, H[c] = r, H)[n] || 1, $ = this.$d.getTime() + j * S;
|
|
6686
6689
|
return k.w($, this);
|
|
6687
|
-
}, C.subtract = function(
|
|
6688
|
-
return this.add(-1 *
|
|
6689
|
-
}, C.format = function(
|
|
6690
|
-
var o = this,
|
|
6691
|
-
if (!this.isValid()) return
|
|
6692
|
-
var m =
|
|
6690
|
+
}, C.subtract = function(j, o) {
|
|
6691
|
+
return this.add(-1 * j, o);
|
|
6692
|
+
}, C.format = function(j) {
|
|
6693
|
+
var o = this, H = this.$locale();
|
|
6694
|
+
if (!this.isValid()) return H.invalidDate || p;
|
|
6695
|
+
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = k.z(this), f = this.$H, S = this.$m, $ = this.$M, L = H.weekdays, z = H.months, N = H.meridiem, W = function(X, J, te, Z) {
|
|
6693
6696
|
return X && (X[J] || X(o, m)) || te[J].slice(0, Z);
|
|
6694
6697
|
}, V = function(X) {
|
|
6695
6698
|
return k.s(f % 12 || 12, X, "0");
|
|
@@ -6709,9 +6712,9 @@ function Bo() {
|
|
|
6709
6712
|
case "MM":
|
|
6710
6713
|
return k.s($ + 1, 2, "0");
|
|
6711
6714
|
case "MMM":
|
|
6712
|
-
return W(
|
|
6715
|
+
return W(H.monthsShort, $, z, 3);
|
|
6713
6716
|
case "MMMM":
|
|
6714
|
-
return W(
|
|
6717
|
+
return W(z, $);
|
|
6715
6718
|
case "D":
|
|
6716
6719
|
return o.$D;
|
|
6717
6720
|
case "DD":
|
|
@@ -6719,9 +6722,9 @@ function Bo() {
|
|
|
6719
6722
|
case "d":
|
|
6720
6723
|
return String(o.$W);
|
|
6721
6724
|
case "dd":
|
|
6722
|
-
return W(
|
|
6725
|
+
return W(H.weekdaysMin, o.$W, L, 2);
|
|
6723
6726
|
case "ddd":
|
|
6724
|
-
return W(
|
|
6727
|
+
return W(H.weekdaysShort, o.$W, L, 3);
|
|
6725
6728
|
case "dddd":
|
|
6726
6729
|
return L[o.$W];
|
|
6727
6730
|
case "H":
|
|
@@ -6754,19 +6757,19 @@ function Bo() {
|
|
|
6754
6757
|
});
|
|
6755
6758
|
}, C.utcOffset = function() {
|
|
6756
6759
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6757
|
-
}, C.diff = function(
|
|
6758
|
-
var m, n = this, f = k.p(o), S = d(
|
|
6760
|
+
}, C.diff = function(j, o, H) {
|
|
6761
|
+
var m, n = this, f = k.p(o), S = d(j), $ = (S.utcOffset() - this.utcOffset()) * i, L = this - S, z = function() {
|
|
6759
6762
|
return k.m(n, S);
|
|
6760
6763
|
};
|
|
6761
6764
|
switch (f) {
|
|
6762
6765
|
case M:
|
|
6763
|
-
m =
|
|
6766
|
+
m = z() / 12;
|
|
6764
6767
|
break;
|
|
6765
6768
|
case x:
|
|
6766
|
-
m =
|
|
6769
|
+
m = z();
|
|
6767
6770
|
break;
|
|
6768
|
-
case
|
|
6769
|
-
m =
|
|
6771
|
+
case _:
|
|
6772
|
+
m = z() / 3;
|
|
6770
6773
|
break;
|
|
6771
6774
|
case g:
|
|
6772
6775
|
m = (L - $) / 6048e5;
|
|
@@ -6786,15 +6789,15 @@ function Bo() {
|
|
|
6786
6789
|
default:
|
|
6787
6790
|
m = L;
|
|
6788
6791
|
}
|
|
6789
|
-
return
|
|
6792
|
+
return H ? m : k.a(m);
|
|
6790
6793
|
}, C.daysInMonth = function() {
|
|
6791
6794
|
return this.endOf(x).$D;
|
|
6792
6795
|
}, C.$locale = function() {
|
|
6793
6796
|
return b[this.$L];
|
|
6794
|
-
}, C.locale = function(
|
|
6795
|
-
if (!
|
|
6796
|
-
var
|
|
6797
|
-
return m && (
|
|
6797
|
+
}, C.locale = function(j, o) {
|
|
6798
|
+
if (!j) return this.$L;
|
|
6799
|
+
var H = this.clone(), m = y(j, o, !0);
|
|
6800
|
+
return m && (H.$L = m), H;
|
|
6798
6801
|
}, C.clone = function() {
|
|
6799
6802
|
return k.w(this.$d, this);
|
|
6800
6803
|
}, C.toDate = function() {
|
|
@@ -6805,16 +6808,16 @@ function Bo() {
|
|
|
6805
6808
|
return this.$d.toISOString();
|
|
6806
6809
|
}, C.toString = function() {
|
|
6807
6810
|
return this.$d.toUTCString();
|
|
6808
|
-
},
|
|
6811
|
+
}, T;
|
|
6809
6812
|
}(), R = A.prototype;
|
|
6810
|
-
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", l], ["$H", u], ["$W", h], ["$M", x], ["$y", M], ["$D", P]].forEach(function(
|
|
6811
|
-
R[
|
|
6812
|
-
return this.$g(C,
|
|
6813
|
+
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", l], ["$H", u], ["$W", h], ["$M", x], ["$y", M], ["$D", P]].forEach(function(T) {
|
|
6814
|
+
R[T[1]] = function(C) {
|
|
6815
|
+
return this.$g(C, T[0], T[1]);
|
|
6813
6816
|
};
|
|
6814
|
-
}), d.extend = function(
|
|
6815
|
-
return
|
|
6816
|
-
}, d.locale = y, d.isDayjs = E, d.unix = function(
|
|
6817
|
-
return d(1e3 *
|
|
6817
|
+
}), d.extend = function(T, C) {
|
|
6818
|
+
return T.$i || (T(C, A, d), T.$i = !0), d;
|
|
6819
|
+
}, d.locale = y, d.isDayjs = E, d.unix = function(T) {
|
|
6820
|
+
return d(1e3 * T);
|
|
6818
6821
|
}, d.en = b[v], d.Ls = b, d.p = {}, d;
|
|
6819
6822
|
});
|
|
6820
6823
|
}(ft)), ft.exports;
|
|
@@ -6868,10 +6871,10 @@ function Go() {
|
|
|
6868
6871
|
var q = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
6869
6872
|
return (U = this.local().add(F + q, r)).$offset = F, U.$x.$localOffset = q, U;
|
|
6870
6873
|
};
|
|
6871
|
-
var
|
|
6874
|
+
var _ = u.format;
|
|
6872
6875
|
u.format = function(p) {
|
|
6873
6876
|
var I = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
6874
|
-
return
|
|
6877
|
+
return _.call(this, I);
|
|
6875
6878
|
}, u.valueOf = function() {
|
|
6876
6879
|
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
6877
6880
|
return this.$d.valueOf() - 6e4 * p;
|
|
@@ -7089,7 +7092,7 @@ const Ss = ({
|
|
|
7089
7092
|
onFocus: h,
|
|
7090
7093
|
onBlur: g,
|
|
7091
7094
|
inputStyles: x,
|
|
7092
|
-
containerStyles:
|
|
7095
|
+
containerStyles: _,
|
|
7093
7096
|
styles: M
|
|
7094
7097
|
}) => {
|
|
7095
7098
|
const P = (O) => {
|
|
@@ -7127,7 +7130,7 @@ const Ss = ({
|
|
|
7127
7130
|
outline: "none",
|
|
7128
7131
|
alignItems: "flex-start",
|
|
7129
7132
|
gap: "10px",
|
|
7130
|
-
...
|
|
7133
|
+
..._
|
|
7131
7134
|
},
|
|
7132
7135
|
children: [
|
|
7133
7136
|
r,
|