@eliseubatista99/react-scaffold-core 0.1.63 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/inputField/inputField.d.ts +3 -2
- package/dist/components/inputField/stories/inputField.stories.d.ts +1 -1
- package/dist/components/textAreaField/index.d.ts +0 -0
- package/dist/components/textAreaField/stories/textAreaField.stories.d.ts +21 -0
- package/dist/components/textAreaField/textAreaField.d.ts +17 -0
- package/dist/index.cjs.js +8 -8
- package/dist/index.es.js +463 -461
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -81,7 +81,7 @@ function En() {
|
|
|
81
81
|
switch (n) {
|
|
82
82
|
case p:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case
|
|
84
|
+
case C:
|
|
85
85
|
return "Profiler";
|
|
86
86
|
case I:
|
|
87
87
|
return "StrictMode";
|
|
@@ -100,7 +100,7 @@ function En() {
|
|
|
100
100
|
return "Portal";
|
|
101
101
|
case U:
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
103
|
-
case
|
|
103
|
+
case N:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
105
|
case V:
|
|
106
106
|
var c = n.render;
|
|
@@ -148,7 +148,7 @@ function En() {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
function a() {
|
|
151
|
-
var n =
|
|
151
|
+
var n = O.A;
|
|
152
152
|
return n === null ? null : n.getOwner();
|
|
153
153
|
}
|
|
154
154
|
function s() {
|
|
@@ -163,7 +163,7 @@ function En() {
|
|
|
163
163
|
}
|
|
164
164
|
function u(n, c) {
|
|
165
165
|
function S() {
|
|
166
|
-
|
|
166
|
+
k || (k = !0, console.error(
|
|
167
167
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
168
168
|
c
|
|
169
169
|
));
|
|
@@ -179,7 +179,7 @@ function En() {
|
|
|
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, c, S, M, L, H,
|
|
182
|
+
function h(n, c, S, M, L, H, F, W) {
|
|
183
183
|
return S = H.ref, n = {
|
|
184
184
|
$$typeof: $,
|
|
185
185
|
type: n,
|
|
@@ -203,7 +203,7 @@ function En() {
|
|
|
203
203
|
configurable: !1,
|
|
204
204
|
enumerable: !1,
|
|
205
205
|
writable: !0,
|
|
206
|
-
value:
|
|
206
|
+
value: F
|
|
207
207
|
}), Object.defineProperty(n, "_debugTask", {
|
|
208
208
|
configurable: !1,
|
|
209
209
|
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, c, S, M, L, H,
|
|
214
|
+
function g(n, c, S, M, L, H, F, W) {
|
|
215
215
|
var B = c.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
217
|
if (M)
|
|
@@ -257,14 +257,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
257
257
|
L,
|
|
258
258
|
a(),
|
|
259
259
|
S,
|
|
260
|
-
|
|
260
|
+
F,
|
|
261
261
|
W
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
264
|
function x(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === $ && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var j = q, $ = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"),
|
|
267
|
+
var j = q, $ = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), U = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), O = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, R = Array.isArray, _ = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
j = {
|
|
@@ -272,12 +272,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var
|
|
275
|
+
var k, T = {}, o = j["react-stack-bottom-frame"].bind(
|
|
276
276
|
j,
|
|
277
277
|
s
|
|
278
278
|
)(), z = _(i(s)), m = {};
|
|
279
279
|
He.Fragment = p, He.jsx = function(n, c, S, M, L) {
|
|
280
|
-
var H = 1e4 >
|
|
280
|
+
var H = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return g(
|
|
282
282
|
n,
|
|
283
283
|
c,
|
|
@@ -289,7 +289,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
289
289
|
H ? _(i(n)) : z
|
|
290
290
|
);
|
|
291
291
|
}, He.jsxs = function(n, c, S, M, L) {
|
|
292
|
-
var H = 1e4 >
|
|
292
|
+
var H = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return g(
|
|
294
294
|
n,
|
|
295
295
|
c,
|
|
@@ -378,16 +378,16 @@ function Tn() {
|
|
|
378
378
|
return g.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(v, b, w) {
|
|
381
|
-
var P, y, d,
|
|
381
|
+
var P, y, d, O, A, R, _ = 0, k = !1, T = !1, o = !0;
|
|
382
382
|
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
b = V(b) || 0,
|
|
384
|
+
b = V(b) || 0, C(w) && (k = !!w.leading, T = "maxWait" in w, d = T ? $(V(w.maxWait) || 0, b) : d, o = "trailing" in w ? !!w.trailing : o);
|
|
385
385
|
function z(W) {
|
|
386
386
|
var B = P, G = y;
|
|
387
|
-
return P = y = void 0, _ = W,
|
|
387
|
+
return P = y = void 0, _ = W, O = v.apply(G, B), O;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
|
-
return _ = W, A = setTimeout(S, b),
|
|
390
|
+
return _ = W, A = setTimeout(S, b), k ? z(W) : O;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
393
|
var B = W - R, G = W - _, X = b - B;
|
|
@@ -404,15 +404,15 @@ function Tn() {
|
|
|
404
404
|
A = setTimeout(S, n(W));
|
|
405
405
|
}
|
|
406
406
|
function M(W) {
|
|
407
|
-
return A = void 0, o && P ? z(W) : (P = y = void 0,
|
|
407
|
+
return A = void 0, o && P ? z(W) : (P = y = void 0, O);
|
|
408
408
|
}
|
|
409
409
|
function L() {
|
|
410
410
|
A !== void 0 && clearTimeout(A), _ = 0, P = R = y = A = void 0;
|
|
411
411
|
}
|
|
412
412
|
function H() {
|
|
413
|
-
return A === void 0 ?
|
|
413
|
+
return A === void 0 ? O : M(p());
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function F() {
|
|
416
416
|
var W = p(), B = c(W);
|
|
417
417
|
if (P = arguments, y = this, R = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
@@ -420,28 +420,28 @@ function Tn() {
|
|
|
420
420
|
if (T)
|
|
421
421
|
return A = setTimeout(S, b), z(R);
|
|
422
422
|
}
|
|
423
|
-
return A === void 0 && (A = setTimeout(S, b)),
|
|
423
|
+
return A === void 0 && (A = setTimeout(S, b)), O;
|
|
424
424
|
}
|
|
425
|
-
return
|
|
425
|
+
return F.cancel = L, F.flush = H, F;
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function C(v) {
|
|
428
428
|
var b = typeof v;
|
|
429
429
|
return !!v && (b == "object" || b == "function");
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function N(v) {
|
|
432
432
|
return !!v && typeof v == "object";
|
|
433
433
|
}
|
|
434
434
|
function U(v) {
|
|
435
|
-
return typeof v == "symbol" ||
|
|
435
|
+
return typeof v == "symbol" || N(v) && j.call(v) == r;
|
|
436
436
|
}
|
|
437
437
|
function V(v) {
|
|
438
438
|
if (typeof v == "number")
|
|
439
439
|
return v;
|
|
440
440
|
if (U(v))
|
|
441
441
|
return t;
|
|
442
|
-
if (
|
|
442
|
+
if (C(v)) {
|
|
443
443
|
var b = typeof v.valueOf == "function" ? v.valueOf() : v;
|
|
444
|
-
v =
|
|
444
|
+
v = C(b) ? b + "" : b;
|
|
445
445
|
}
|
|
446
446
|
if (typeof v != "string")
|
|
447
447
|
return v === 0 ? v : +v;
|
|
@@ -648,9 +648,9 @@ function Ke() {
|
|
|
648
648
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
649
649
|
}, I = Y.getWidth = function(n) {
|
|
650
650
|
return n && n.offsetWidth || 0;
|
|
651
|
-
},
|
|
651
|
+
}, C = Y.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
|
-
},
|
|
653
|
+
}, N = Y.getSwipeDirection = function(n) {
|
|
654
654
|
var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, M, L, H;
|
|
655
655
|
return S = n.startX - n.curX, M = n.startY - n.curY, L = Math.atan2(M, S), H = Math.round(L * 180 / Math.PI), H < 0 && (H = 360 - Math.abs(H)), H <= 45 && H >= 0 || H <= 360 && H >= 315 ? "left" : H >= 135 && H <= 225 ? "right" : c === !0 ? H >= 35 && H <= 135 ? "up" : "down" : "vertical";
|
|
656
656
|
}, U = Y.canGoNext = function(n) {
|
|
@@ -663,14 +663,14 @@ function Ke() {
|
|
|
663
663
|
return S[M] = n[M];
|
|
664
664
|
}), S;
|
|
665
665
|
}, Y.initializedState = function(n) {
|
|
666
|
-
var c = e.default.Children.count(n.children), S = n.listRef, M = Math.ceil(I(S)), L = n.trackRef && n.trackRef.node, H = Math.ceil(I(L)),
|
|
666
|
+
var c = e.default.Children.count(n.children), S = n.listRef, M = Math.ceil(I(S)), L = n.trackRef && n.trackRef.node, H = Math.ceil(I(L)), F;
|
|
667
667
|
if (n.vertical)
|
|
668
|
-
|
|
668
|
+
F = M;
|
|
669
669
|
else {
|
|
670
670
|
var W = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
671
|
-
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= M / 100),
|
|
671
|
+
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= M / 100), F = Math.ceil((M - W) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
|
-
var B = S &&
|
|
673
|
+
var B = S && C(S.querySelector('[data-index="0"]')), G = B * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
674
|
n.rtl && n.currentSlide === void 0 && (X = c - 1 - n.initialSlide);
|
|
675
675
|
var J = n.lazyLoadedList || [], te = x(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: X,
|
|
@@ -679,7 +679,7 @@ function Ke() {
|
|
|
679
679
|
J = J.concat(te);
|
|
680
680
|
var Z = {
|
|
681
681
|
slideCount: c,
|
|
682
|
-
slideWidth:
|
|
682
|
+
slideWidth: F,
|
|
683
683
|
listWidth: M,
|
|
684
684
|
trackWidth: H,
|
|
685
685
|
currentSlide: X,
|
|
@@ -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 c = n.waitForAnimate, S = n.animating, M = n.fade, L = n.infinite, H = n.index,
|
|
692
|
+
var c = n.waitForAnimate, S = n.animating, M = n.fade, L = n.infinite, H = n.index, F = n.slideCount, W = n.lazyLoad, B = n.currentSlide, G = n.centerMode, X = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
693
|
if (c && S) return {};
|
|
694
|
-
var ee = H, ie, le, Q, oe = {}, ue = {}, ce = L ? H : h(H, 0,
|
|
694
|
+
var ee = H, ie, le, Q, oe = {}, ue = {}, ce = L ? H : h(H, 0, F - 1);
|
|
695
695
|
if (M) {
|
|
696
|
-
if (!L && (H < 0 || H >=
|
|
697
|
-
H < 0 ? ee = H +
|
|
696
|
+
if (!L && (H < 0 || H >= F)) return {};
|
|
697
|
+
H < 0 ? ee = H + F : H >= F && (ee = H - F), W && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
698
698
|
animating: !0,
|
|
699
699
|
currentSlide: ee,
|
|
700
700
|
lazyLoadedList: Z,
|
|
@@ -704,7 +704,7 @@ function Ke() {
|
|
|
704
704
|
targetSlide: ee
|
|
705
705
|
};
|
|
706
706
|
} else
|
|
707
|
-
ie = ee, ee < 0 ? (ie = ee +
|
|
707
|
+
ie = ee, ee < 0 ? (ie = ee + F, L ? F % X !== 0 && (ie = F - F % X) : ie = 0) : !U(n) && ee > B ? ee = ie = B : G && ee >= F ? (ee = L ? F : F - 1, ie = L ? 0 : F - 1) : ee >= F && (ie = ee - F, L ? F % X !== 0 && (ie = 0) : ie = F - J), !L && ee + J >= F && (ie = F - J), le = d(s(s({}, n), {}, {
|
|
708
708
|
slideIndex: ee
|
|
709
709
|
})), Q = d(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
@@ -739,22 +739,22 @@ function Ke() {
|
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
741
|
}, Y.changeSlide = function(n, c) {
|
|
742
|
-
var S, M, L, H,
|
|
742
|
+
var S, M, L, H, F, W = n.slidesToScroll, B = n.slidesToShow, G = n.slideCount, X = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
743
|
if (H = G % W !== 0, S = H ? 0 : (G - X) % W, c.message === "previous")
|
|
744
|
-
L = S === 0 ? W : B - S,
|
|
744
|
+
L = S === 0 ? W : B - S, F = X - L, te && !Z && (M = X - L, F = M === -1 ? G - 1 : M), Z || (F = J - W);
|
|
745
745
|
else if (c.message === "next")
|
|
746
|
-
L = S === 0 ? W : S,
|
|
746
|
+
L = S === 0 ? W : S, F = X + L, te && !Z && (F = (X + W) % G + S), Z || (F = J + W);
|
|
747
747
|
else if (c.message === "dots")
|
|
748
|
-
|
|
748
|
+
F = c.index * c.slidesToScroll;
|
|
749
749
|
else if (c.message === "children") {
|
|
750
|
-
if (
|
|
750
|
+
if (F = c.index, Z) {
|
|
751
751
|
var ee = _(s(s({}, n), {}, {
|
|
752
|
-
targetSlide:
|
|
752
|
+
targetSlide: F
|
|
753
753
|
}));
|
|
754
|
-
|
|
754
|
+
F > c.currentSlide && ee === "left" ? F = F - G : F < c.currentSlide && ee === "right" && (F = F + G);
|
|
755
755
|
}
|
|
756
|
-
} else c.message === "index" && (
|
|
757
|
-
return
|
|
756
|
+
} else c.message === "index" && (F = Number(c.index));
|
|
757
|
+
return F;
|
|
758
758
|
}, Y.keyHandler = function(n, c, S) {
|
|
759
759
|
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !c ? "" : n.keyCode === 37 ? S ? "next" : "previous" : n.keyCode === 39 ? S ? "previous" : "next" : "";
|
|
760
760
|
}, Y.swipeStart = function(n, c, S) {
|
|
@@ -768,22 +768,22 @@ function Ke() {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
}, Y.swipeMove = function(n, c) {
|
|
771
|
-
var S = c.scrolling, M = c.animating, L = c.vertical, H = c.swipeToSlide,
|
|
771
|
+
var S = c.scrolling, M = c.animating, L = c.vertical, H = c.swipeToSlide, F = c.verticalSwiping, W = c.rtl, B = c.currentSlide, G = c.edgeFriction, X = c.edgeDragged, J = c.onEdge, te = c.swiped, Z = c.swiping, ee = c.slideCount, ie = c.slidesToScroll, le = c.infinite, Q = c.touchObject, oe = c.swipeEvent, ue = c.listHeight, ce = c.listWidth;
|
|
772
772
|
if (!S) {
|
|
773
773
|
if (M) return g(n);
|
|
774
|
-
L && H &&
|
|
774
|
+
L && H && F && g(n);
|
|
775
775
|
var pe, Pe = {}, tt = d(c);
|
|
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)));
|
|
778
|
-
if (!
|
|
778
|
+
if (!F && !Z && tr > 10)
|
|
779
779
|
return {
|
|
780
780
|
scrolling: !0
|
|
781
781
|
};
|
|
782
|
-
|
|
782
|
+
F && (Q.swipeLength = tr);
|
|
783
783
|
var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
|
-
|
|
785
|
-
var On = Math.ceil(ee / ie), Ce =
|
|
786
|
-
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(c) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 && J && (J(Ce), Pe.edgeDragged = !0)), !te && oe && (oe(Ce), Pe.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie,
|
|
784
|
+
F && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
|
+
var On = Math.ceil(ee / ie), Ce = N(c.touchObject, F), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(c) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 && J && (J(Ce), Pe.edgeDragged = !0)), !te && oe && (oe(Ce), Pe.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, F && (pe = tt + Ae * Ie), Pe = s(s({}, Pe), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: P(s(s({}, c), {}, {
|
|
@@ -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 && (Pe.swiping = !0, g(n)), Pe;
|
|
793
793
|
}
|
|
794
794
|
}, Y.swipeEnd = function(n, c) {
|
|
795
|
-
var S = c.dragging, M = c.swipe, L = c.touchObject, H = c.listWidth,
|
|
795
|
+
var S = c.dragging, M = c.swipe, L = c.touchObject, H = c.listWidth, F = c.touchThreshold, W = c.verticalSwiping, B = c.listHeight, G = c.swipeToSlide, X = c.scrolling, J = c.onSwipe, te = c.targetSlide, Z = c.currentSlide, ee = c.infinite;
|
|
796
796
|
if (!S)
|
|
797
797
|
return M && g(n), {};
|
|
798
|
-
var ie = W ? B /
|
|
798
|
+
var ie = W ? B / F : H / F, le = N(L, W), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
801
801
|
scrolling: !1,
|
|
@@ -853,15 +853,15 @@ function Ke() {
|
|
|
853
853
|
var S, M = n.listRef, L = M.querySelectorAll && M.querySelectorAll(".slick-slide") || [];
|
|
854
854
|
if (Array.from(L).every(function(W) {
|
|
855
855
|
if (n.vertical) {
|
|
856
|
-
if (W.offsetTop +
|
|
856
|
+
if (W.offsetTop + C(W) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return S = W, !1;
|
|
858
858
|
} else if (W.offsetLeft - c + I(W) / 2 > n.swipeLeft * -1)
|
|
859
859
|
return S = W, !1;
|
|
860
860
|
return !0;
|
|
861
861
|
}), !S)
|
|
862
862
|
return 0;
|
|
863
|
-
var H = n.rtl === !0 ? n.slideCount - n.currentSlide : n.currentSlide,
|
|
864
|
-
return
|
|
863
|
+
var H = n.rtl === !0 ? n.slideCount - n.currentSlide : n.currentSlide, F = Math.abs(S.dataset.index - H) || 1;
|
|
864
|
+
return F;
|
|
865
865
|
} else
|
|
866
866
|
return n.slidesToScroll;
|
|
867
867
|
}, w = Y.checkSpecKeys = function(n, c) {
|
|
@@ -883,10 +883,10 @@ function Ke() {
|
|
|
883
883
|
WebkitTransition: ""
|
|
884
884
|
};
|
|
885
885
|
if (n.useTransform) {
|
|
886
|
-
var H = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)",
|
|
886
|
+
var H = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", F = 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
888
|
WebkitTransform: H,
|
|
889
|
-
transform:
|
|
889
|
+
transform: F,
|
|
890
890
|
msTransform: W
|
|
891
891
|
});
|
|
892
892
|
} else
|
|
@@ -902,29 +902,29 @@ 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 c = n.slideIndex, S = n.trackRef, M = n.infinite, L = n.centerMode, H = n.slideCount,
|
|
905
|
+
var c = n.slideIndex, S = n.trackRef, M = n.infinite, L = n.centerMode, H = n.slideCount, F = n.slidesToShow, W = n.slidesToScroll, B = n.slideWidth, G = 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 (M ? (oe = -
|
|
909
|
+
if (M ? (oe = -O(n), H % W !== 0 && c + W > H && (oe = -(c > H ? F - (c - H) : H % W)), L && (oe += parseInt(F / 2))) : (H % W !== 0 && c + W > H && (oe = F - H % W), L && (oe = parseInt(F / 2))), ee = oe * B, Q = oe * J, Z ? ie = c * J * -1 + Q : ie = c * B * -1 + ee, X === !0) {
|
|
910
910
|
var ue, ce = S && S.node;
|
|
911
|
-
if (ue = c +
|
|
912
|
-
ue = M ? c +
|
|
911
|
+
if (ue = c + O(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, L === !0) {
|
|
912
|
+
ue = M ? c + O(n) : c, le = ce && ce.children[ue], ie = 0;
|
|
913
913
|
for (var pe = 0; pe < ue; pe++)
|
|
914
914
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
915
915
|
ie -= parseInt(n.centerPadding), ie += le && (G - le.offsetWidth) / 2;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
return ie;
|
|
919
|
-
},
|
|
919
|
+
}, O = Y.getPreClones = function(n) {
|
|
920
920
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
921
921
|
}, A = Y.getPostClones = function(n) {
|
|
922
922
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
923
923
|
}, R = Y.getTotalSlides = function(n) {
|
|
924
|
-
return n.slideCount === 1 ? 1 :
|
|
924
|
+
return n.slideCount === 1 ? 1 : O(n) + n.slideCount + A(n);
|
|
925
925
|
}, _ = Y.siblingDirection = function(n) {
|
|
926
|
-
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide +
|
|
927
|
-
},
|
|
926
|
+
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + k(n) ? "left" : "right" : n.targetSlide < n.currentSlide - T(n) ? "right" : "left";
|
|
927
|
+
}, k = Y.slidesOnRight = function(n) {
|
|
928
928
|
var c = n.slidesToShow, S = n.centerMode, M = n.rtl, L = n.centerPadding;
|
|
929
929
|
if (S) {
|
|
930
930
|
var H = (c - 1) / 2 + 1;
|
|
@@ -971,9 +971,9 @@ function jn() {
|
|
|
971
971
|
function s() {
|
|
972
972
|
return s = Object.assign ? Object.assign.bind() : function(y) {
|
|
973
973
|
for (var d = 1; d < arguments.length; d++) {
|
|
974
|
-
var
|
|
975
|
-
for (var A in
|
|
976
|
-
({}).hasOwnProperty.call(
|
|
974
|
+
var O = arguments[d];
|
|
975
|
+
for (var A in O)
|
|
976
|
+
({}).hasOwnProperty.call(O, A) && (y[A] = O[A]);
|
|
977
977
|
}
|
|
978
978
|
return y;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
@@ -982,12 +982,12 @@ function jn() {
|
|
|
982
982
|
if (!(y instanceof d)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
984
|
function u(y, d) {
|
|
985
|
-
for (var
|
|
986
|
-
var A = d[
|
|
985
|
+
for (var O = 0; O < d.length; O++) {
|
|
986
|
+
var A = d[O];
|
|
987
987
|
A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(y, U(A.key), A);
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function l(y, d,
|
|
990
|
+
function l(y, d, O) {
|
|
991
991
|
return d && u(y.prototype, d), Object.defineProperty(y, "prototype", { writable: !1 }), y;
|
|
992
992
|
}
|
|
993
993
|
function h(y, d) {
|
|
@@ -995,19 +995,19 @@ function jn() {
|
|
|
995
995
|
y.prototype = Object.create(d && d.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), d && g(y, d);
|
|
996
996
|
}
|
|
997
997
|
function g(y, d) {
|
|
998
|
-
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
999
|
-
return
|
|
998
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, A) {
|
|
999
|
+
return O.__proto__ = A, O;
|
|
1000
1000
|
}, g(y, d);
|
|
1001
1001
|
}
|
|
1002
1002
|
function x(y) {
|
|
1003
1003
|
var d = E();
|
|
1004
1004
|
return function() {
|
|
1005
|
-
var
|
|
1005
|
+
var O, A = p(y);
|
|
1006
1006
|
if (d) {
|
|
1007
1007
|
var R = p(this).constructor;
|
|
1008
|
-
|
|
1009
|
-
} else
|
|
1010
|
-
return j(this,
|
|
1008
|
+
O = Reflect.construct(A, arguments, R);
|
|
1009
|
+
} else O = A.apply(this, arguments);
|
|
1010
|
+
return j(this, O);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
1013
|
function j(y, d) {
|
|
@@ -1035,28 +1035,28 @@ function jn() {
|
|
|
1035
1035
|
}, p(y);
|
|
1036
1036
|
}
|
|
1037
1037
|
function I(y, d) {
|
|
1038
|
-
var
|
|
1038
|
+
var O = Object.keys(y);
|
|
1039
1039
|
if (Object.getOwnPropertySymbols) {
|
|
1040
1040
|
var A = Object.getOwnPropertySymbols(y);
|
|
1041
1041
|
d && (A = A.filter(function(R) {
|
|
1042
1042
|
return Object.getOwnPropertyDescriptor(y, R).enumerable;
|
|
1043
|
-
})),
|
|
1043
|
+
})), O.push.apply(O, A);
|
|
1044
1044
|
}
|
|
1045
|
-
return
|
|
1045
|
+
return O;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function C(y) {
|
|
1048
1048
|
for (var d = 1; d < arguments.length; d++) {
|
|
1049
|
-
var
|
|
1050
|
-
d % 2 ? I(Object(
|
|
1051
|
-
|
|
1052
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(
|
|
1053
|
-
Object.defineProperty(y, A, Object.getOwnPropertyDescriptor(
|
|
1049
|
+
var O = arguments[d] != null ? arguments[d] : {};
|
|
1050
|
+
d % 2 ? I(Object(O), !0).forEach(function(A) {
|
|
1051
|
+
N(y, A, O[A]);
|
|
1052
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(O)) : I(Object(O)).forEach(function(A) {
|
|
1053
|
+
Object.defineProperty(y, A, Object.getOwnPropertyDescriptor(O, A));
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
1056
|
return y;
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1059
|
-
return (d = U(d)) in y ? Object.defineProperty(y, d, { value:
|
|
1058
|
+
function N(y, d, O) {
|
|
1059
|
+
return (d = U(d)) in y ? Object.defineProperty(y, d, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : y[d] = O, y;
|
|
1060
1060
|
}
|
|
1061
1061
|
function U(y) {
|
|
1062
1062
|
var d = V(y, "string");
|
|
@@ -1064,35 +1064,35 @@ function jn() {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
function V(y, d) {
|
|
1066
1066
|
if (a(y) != "object" || !y) return y;
|
|
1067
|
-
var
|
|
1068
|
-
if (
|
|
1069
|
-
var A =
|
|
1067
|
+
var O = y[Symbol.toPrimitive];
|
|
1068
|
+
if (O !== void 0) {
|
|
1069
|
+
var A = O.call(y, d);
|
|
1070
1070
|
if (a(A) != "object") return A;
|
|
1071
1071
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1072
1072
|
}
|
|
1073
1073
|
return (d === "string" ? String : Number)(y);
|
|
1074
1074
|
}
|
|
1075
1075
|
var v = function(d) {
|
|
1076
|
-
var
|
|
1077
|
-
d.rtl ?
|
|
1076
|
+
var O, A, R, _, k;
|
|
1077
|
+
d.rtl ? k = d.slideCount - 1 - d.index : k = d.index, R = k < 0 || k >= d.slideCount, d.centerMode ? (_ = Math.floor(d.slidesToShow / 2), A = (k - d.currentSlide) % d.slideCount === 0, k > d.currentSlide - _ - 1 && k <= d.currentSlide + _ && (O = !0)) : O = d.currentSlide <= k && k < d.currentSlide + d.slidesToShow;
|
|
1078
1078
|
var T;
|
|
1079
1079
|
d.targetSlide < 0 ? T = d.targetSlide + d.slideCount : d.targetSlide >= d.slideCount ? T = d.targetSlide - d.slideCount : T = d.targetSlide;
|
|
1080
|
-
var o =
|
|
1080
|
+
var o = k === T;
|
|
1081
1081
|
return {
|
|
1082
1082
|
"slick-slide": !0,
|
|
1083
|
-
"slick-active":
|
|
1083
|
+
"slick-active": O,
|
|
1084
1084
|
"slick-center": A,
|
|
1085
1085
|
"slick-cloned": R,
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
1089
|
}, b = function(d) {
|
|
1090
|
-
var
|
|
1091
|
-
return (d.variableWidth === void 0 || d.variableWidth === !1) && (
|
|
1092
|
-
}, w = function(d,
|
|
1093
|
-
return d.key ||
|
|
1090
|
+
var O = {};
|
|
1091
|
+
return (d.variableWidth === void 0 || d.variableWidth === !1) && (O.width = d.slideWidth), d.fade && (O.position = "relative", d.vertical ? O.top = -d.index * parseInt(d.slideHeight) : O.left = -d.index * parseInt(d.slideWidth), O.opacity = d.currentSlide === d.index ? 1 : 0, O.zIndex = d.currentSlide === d.index ? 999 : 998, d.useCSS && (O.transition = "opacity " + d.speed + "ms " + d.cssEase + ", visibility " + d.speed + "ms " + d.cssEase)), O;
|
|
1092
|
+
}, w = function(d, O) {
|
|
1093
|
+
return d.key || O;
|
|
1094
1094
|
}, P = function(d) {
|
|
1095
|
-
var
|
|
1095
|
+
var O, A = [], R = [], _ = [], k = e.default.Children.count(d.children), T = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
1096
1096
|
return e.default.Children.forEach(d.children, function(z, m) {
|
|
1097
1097
|
var n, c = {
|
|
1098
1098
|
message: "children",
|
|
@@ -1101,9 +1101,9 @@ function jn() {
|
|
|
1101
1101
|
currentSlide: d.currentSlide
|
|
1102
1102
|
};
|
|
1103
1103
|
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n = z : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
-
var S = b(
|
|
1104
|
+
var S = b(C(C({}, d), {}, {
|
|
1105
1105
|
index: m
|
|
1106
|
-
})), M = n.props.className || "", L = v(
|
|
1106
|
+
})), M = n.props.className || "", L = v(C(C({}, d), {}, {
|
|
1107
1107
|
index: m
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
@@ -1112,35 +1112,35 @@ function jn() {
|
|
|
1112
1112
|
className: (0, t.default)(L, M),
|
|
1113
1113
|
tabIndex: "-1",
|
|
1114
1114
|
"aria-hidden": !L["slick-active"],
|
|
1115
|
-
style:
|
|
1115
|
+
style: C(C({
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), S),
|
|
1118
1118
|
onClick: function(W) {
|
|
1119
1119
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(c);
|
|
1120
1120
|
}
|
|
1121
|
-
})), d.infinite &&
|
|
1122
|
-
var H =
|
|
1123
|
-
H <= (0, r.getPreClones)(d) && (
|
|
1124
|
-
index:
|
|
1121
|
+
})), d.infinite && k > 1 && d.fade === !1 && !d.unslick) {
|
|
1122
|
+
var H = k - m;
|
|
1123
|
+
H <= (0, r.getPreClones)(d) && (O = -H, O >= T && (n = z), L = v(C(C({}, d), {}, {
|
|
1124
|
+
index: O
|
|
1125
1125
|
})), R.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
|
-
key: "precloned" + w(n,
|
|
1127
|
-
"data-index":
|
|
1126
|
+
key: "precloned" + w(n, O),
|
|
1127
|
+
"data-index": O,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
1129
|
className: (0, t.default)(L, M),
|
|
1130
1130
|
"aria-hidden": !L["slick-active"],
|
|
1131
|
-
style:
|
|
1131
|
+
style: C(C({}, n.props.style || {}), S),
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
1133
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(c);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), m < (0, r.getPostClones)(d) && (
|
|
1136
|
-
index:
|
|
1135
|
+
}))), m < (0, r.getPostClones)(d) && (O = k + m, O < o && (n = z), L = v(C(C({}, d), {}, {
|
|
1136
|
+
index: O
|
|
1137
1137
|
})), _.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
|
-
key: "postcloned" + w(n,
|
|
1139
|
-
"data-index":
|
|
1138
|
+
key: "postcloned" + w(n, O),
|
|
1139
|
+
"data-index": O,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
1141
|
className: (0, t.default)(L, M),
|
|
1142
1142
|
"aria-hidden": !L["slick-active"],
|
|
1143
|
-
style:
|
|
1143
|
+
style: C(C({}, n.props.style || {}), S),
|
|
1144
1144
|
onClick: function(W) {
|
|
1145
1145
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(c);
|
|
1146
1146
|
}
|
|
@@ -1149,22 +1149,22 @@ function jn() {
|
|
|
1149
1149
|
}), d.rtl ? R.concat(A, _).reverse() : R.concat(A, _);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1152
|
-
h(
|
|
1153
|
-
var d = x(
|
|
1154
|
-
function
|
|
1152
|
+
h(O, y);
|
|
1153
|
+
var d = x(O);
|
|
1154
|
+
function O() {
|
|
1155
1155
|
var A;
|
|
1156
|
-
f(this,
|
|
1157
|
-
for (var R = arguments.length, _ = new Array(R),
|
|
1158
|
-
_[
|
|
1159
|
-
return A = d.call.apply(d, [this].concat(_)),
|
|
1156
|
+
f(this, O);
|
|
1157
|
+
for (var R = arguments.length, _ = new Array(R), k = 0; k < R; k++)
|
|
1158
|
+
_[k] = arguments[k];
|
|
1159
|
+
return A = d.call.apply(d, [this].concat(_)), N($(A), "node", null), N($(A), "handleRef", function(T) {
|
|
1160
1160
|
A.node = T;
|
|
1161
1161
|
}), A;
|
|
1162
1162
|
}
|
|
1163
|
-
return l(
|
|
1163
|
+
return l(O, [{
|
|
1164
1164
|
key: "render",
|
|
1165
1165
|
value: function() {
|
|
1166
|
-
var R = P(this.props), _ = this.props,
|
|
1167
|
-
onMouseEnter:
|
|
1166
|
+
var R = P(this.props), _ = this.props, k = _.onMouseEnter, T = _.onMouseOver, o = _.onMouseLeave, z = {
|
|
1167
|
+
onMouseEnter: k,
|
|
1168
1168
|
onMouseOver: T,
|
|
1169
1169
|
onMouseLeave: o
|
|
1170
1170
|
};
|
|
@@ -1174,7 +1174,7 @@ function jn() {
|
|
|
1174
1174
|
style: this.props.trackStyle
|
|
1175
1175
|
}, z), R);
|
|
1176
1176
|
}
|
|
1177
|
-
}]),
|
|
1177
|
+
}]), O;
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
1179
1179
|
}
|
|
1180
1180
|
var We = {}, fr;
|
|
@@ -1256,7 +1256,7 @@ function Ln() {
|
|
|
1256
1256
|
}, E(v, b);
|
|
1257
1257
|
}
|
|
1258
1258
|
function p(v) {
|
|
1259
|
-
var b =
|
|
1259
|
+
var b = N();
|
|
1260
1260
|
return function() {
|
|
1261
1261
|
var w, P = U(v);
|
|
1262
1262
|
if (b) {
|
|
@@ -1269,19 +1269,19 @@ function Ln() {
|
|
|
1269
1269
|
function I(v, b) {
|
|
1270
1270
|
if (b && (e(b) == "object" || typeof b == "function")) return b;
|
|
1271
1271
|
if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1272
|
-
return
|
|
1272
|
+
return C(v);
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function C(v) {
|
|
1275
1275
|
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1276
1276
|
return v;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function N() {
|
|
1279
1279
|
try {
|
|
1280
1280
|
var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1281
1281
|
}));
|
|
1282
1282
|
} catch {
|
|
1283
1283
|
}
|
|
1284
|
-
return (
|
|
1284
|
+
return (N = function() {
|
|
1285
1285
|
return !!v;
|
|
1286
1286
|
})();
|
|
1287
1287
|
}
|
|
@@ -1308,17 +1308,17 @@ function Ln() {
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
key: "render",
|
|
1310
1310
|
value: function() {
|
|
1311
|
-
for (var y = this.props, d = y.onMouseEnter,
|
|
1311
|
+
for (var y = this.props, d = y.onMouseEnter, O = y.onMouseOver, A = y.onMouseLeave, R = y.infinite, _ = y.slidesToScroll, k = y.slidesToShow, T = y.slideCount, o = y.currentSlide, z = V({
|
|
1312
1312
|
slideCount: T,
|
|
1313
1313
|
slidesToScroll: _,
|
|
1314
|
-
slidesToShow:
|
|
1314
|
+
slidesToShow: k,
|
|
1315
1315
|
infinite: R
|
|
1316
1316
|
}), m = {
|
|
1317
1317
|
onMouseEnter: d,
|
|
1318
|
-
onMouseOver:
|
|
1318
|
+
onMouseOver: O,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
1320
|
}, n = [], c = 0; c < z; c++) {
|
|
1321
|
-
var S = (c + 1) * _ - 1, M = R ? S : (0, i.clamp)(S, 0, T - 1), L = M - (_ - 1), H = R ? L : (0, i.clamp)(L, 0, T - 1),
|
|
1321
|
+
var S = (c + 1) * _ - 1, M = R ? S : (0, i.clamp)(S, 0, T - 1), L = M - (_ - 1), H = R ? L : (0, i.clamp)(L, 0, T - 1), F = (0, r.default)({
|
|
1322
1322
|
"slick-active": R ? o >= H && o <= M : o === H
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
@@ -1328,7 +1328,7 @@ function Ln() {
|
|
|
1328
1328
|
}, B = this.clickHandler.bind(this, W);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
1330
1330
|
key: c,
|
|
1331
|
-
className:
|
|
1331
|
+
className: F
|
|
1332
1332
|
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(c), {
|
|
1333
1333
|
onClick: B
|
|
1334
1334
|
})));
|
|
@@ -1436,15 +1436,15 @@ function Dn() {
|
|
|
1436
1436
|
var y = V(this).constructor;
|
|
1437
1437
|
w = Reflect.construct(P, arguments, y);
|
|
1438
1438
|
} else w = P.apply(this, arguments);
|
|
1439
|
-
return
|
|
1439
|
+
return C(this, w);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function C(v, b) {
|
|
1443
1443
|
if (b && (e(b) == "object" || typeof b == "function")) return b;
|
|
1444
1444
|
if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1445
|
-
return
|
|
1445
|
+
return N(v);
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function N(v) {
|
|
1448
1448
|
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1449
1449
|
return v;
|
|
1450
1450
|
}
|
|
@@ -1484,7 +1484,7 @@ function Dn() {
|
|
|
1484
1484
|
message: "previous"
|
|
1485
1485
|
});
|
|
1486
1486
|
!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (y["slick-disabled"] = !0, d = null);
|
|
1487
|
-
var
|
|
1487
|
+
var O = {
|
|
1488
1488
|
key: "0",
|
|
1489
1489
|
"data-role": "none",
|
|
1490
1490
|
className: (0, r.default)(y),
|
|
@@ -1496,10 +1496,10 @@ function Dn() {
|
|
|
1496
1496
|
currentSlide: this.props.currentSlide,
|
|
1497
1497
|
slideCount: this.props.slideCount
|
|
1498
1498
|
}, R;
|
|
1499
|
-
return this.props.prevArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({},
|
|
1499
|
+
return this.props.prevArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, O), A)) : R = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1500
1500
|
key: "0",
|
|
1501
1501
|
type: "button"
|
|
1502
|
-
},
|
|
1502
|
+
}, O), " ", "Previous"), R;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), w;
|
|
1505
1505
|
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(v) {
|
|
@@ -1523,7 +1523,7 @@ function Dn() {
|
|
|
1523
1523
|
message: "next"
|
|
1524
1524
|
});
|
|
1525
1525
|
(0, i.canGoNext)(this.props) || (y["slick-disabled"] = !0, d = null);
|
|
1526
|
-
var
|
|
1526
|
+
var O = {
|
|
1527
1527
|
key: "1",
|
|
1528
1528
|
"data-role": "none",
|
|
1529
1529
|
className: (0, r.default)(y),
|
|
@@ -1535,10 +1535,10 @@ function Dn() {
|
|
|
1535
1535
|
currentSlide: this.props.currentSlide,
|
|
1536
1536
|
slideCount: this.props.slideCount
|
|
1537
1537
|
}, R;
|
|
1538
|
-
return this.props.nextArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({},
|
|
1538
|
+
return this.props.nextArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, O), A)) : R = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1539
1539
|
key: "1",
|
|
1540
1540
|
type: "button"
|
|
1541
|
-
},
|
|
1541
|
+
}, O), " ", "Next"), R;
|
|
1542
1542
|
}
|
|
1543
1543
|
}]), w;
|
|
1544
1544
|
}(t.default.PureComponent), Ee;
|
|
@@ -1855,50 +1855,50 @@ function ei() {
|
|
|
1855
1855
|
function x() {
|
|
1856
1856
|
return x = Object.assign ? Object.assign.bind() : function(R) {
|
|
1857
1857
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1858
|
-
var
|
|
1859
|
-
for (var T in
|
|
1860
|
-
({}).hasOwnProperty.call(
|
|
1858
|
+
var k = arguments[_];
|
|
1859
|
+
for (var T in k)
|
|
1860
|
+
({}).hasOwnProperty.call(k, T) && (R[T] = k[T]);
|
|
1861
1861
|
}
|
|
1862
1862
|
return R;
|
|
1863
1863
|
}, x.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
1865
|
function j(R, _) {
|
|
1866
1866
|
if (R == null) return {};
|
|
1867
|
-
var
|
|
1867
|
+
var k, T, o = $(R, _);
|
|
1868
1868
|
if (Object.getOwnPropertySymbols) {
|
|
1869
1869
|
var z = Object.getOwnPropertySymbols(R);
|
|
1870
1870
|
for (T = 0; T < z.length; T++)
|
|
1871
|
-
|
|
1871
|
+
k = z[T], _.includes(k) || {}.propertyIsEnumerable.call(R, k) && (o[k] = R[k]);
|
|
1872
1872
|
}
|
|
1873
1873
|
return o;
|
|
1874
1874
|
}
|
|
1875
1875
|
function $(R, _) {
|
|
1876
1876
|
if (R == null) return {};
|
|
1877
|
-
var
|
|
1877
|
+
var k = {};
|
|
1878
1878
|
for (var T in R)
|
|
1879
1879
|
if ({}.hasOwnProperty.call(R, T)) {
|
|
1880
1880
|
if (_.includes(T)) continue;
|
|
1881
|
-
|
|
1881
|
+
k[T] = R[T];
|
|
1882
1882
|
}
|
|
1883
|
-
return
|
|
1883
|
+
return k;
|
|
1884
1884
|
}
|
|
1885
1885
|
function E(R, _) {
|
|
1886
|
-
var
|
|
1886
|
+
var k = Object.keys(R);
|
|
1887
1887
|
if (Object.getOwnPropertySymbols) {
|
|
1888
1888
|
var T = Object.getOwnPropertySymbols(R);
|
|
1889
1889
|
_ && (T = T.filter(function(o) {
|
|
1890
1890
|
return Object.getOwnPropertyDescriptor(R, o).enumerable;
|
|
1891
|
-
})),
|
|
1891
|
+
})), k.push.apply(k, T);
|
|
1892
1892
|
}
|
|
1893
|
-
return
|
|
1893
|
+
return k;
|
|
1894
1894
|
}
|
|
1895
1895
|
function p(R) {
|
|
1896
1896
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1897
|
-
var
|
|
1898
|
-
_ % 2 ? E(Object(
|
|
1899
|
-
d(R, T,
|
|
1900
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(
|
|
1901
|
-
Object.defineProperty(R, T, Object.getOwnPropertyDescriptor(
|
|
1897
|
+
var k = arguments[_] != null ? arguments[_] : {};
|
|
1898
|
+
_ % 2 ? E(Object(k), !0).forEach(function(T) {
|
|
1899
|
+
d(R, T, k[T]);
|
|
1900
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(k)) : E(Object(k)).forEach(function(T) {
|
|
1901
|
+
Object.defineProperty(R, T, Object.getOwnPropertyDescriptor(k, T));
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
1904
1904
|
return R;
|
|
@@ -1906,33 +1906,33 @@ function ei() {
|
|
|
1906
1906
|
function I(R, _) {
|
|
1907
1907
|
if (!(R instanceof _)) throw new TypeError("Cannot call a class as a function");
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1910
|
-
for (var
|
|
1911
|
-
var T = _[
|
|
1912
|
-
T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(R,
|
|
1909
|
+
function C(R, _) {
|
|
1910
|
+
for (var k = 0; k < _.length; k++) {
|
|
1911
|
+
var T = _[k];
|
|
1912
|
+
T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(R, O(T.key), T);
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
function
|
|
1916
|
-
return _ &&
|
|
1915
|
+
function N(R, _, k) {
|
|
1916
|
+
return _ && C(R.prototype, _), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
1917
1917
|
}
|
|
1918
1918
|
function U(R, _) {
|
|
1919
1919
|
if (typeof _ != "function" && _ !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1920
1920
|
R.prototype = Object.create(_ && _.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), _ && V(R, _);
|
|
1921
1921
|
}
|
|
1922
1922
|
function V(R, _) {
|
|
1923
|
-
return V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1924
|
-
return
|
|
1923
|
+
return V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(k, T) {
|
|
1924
|
+
return k.__proto__ = T, k;
|
|
1925
1925
|
}, V(R, _);
|
|
1926
1926
|
}
|
|
1927
1927
|
function v(R) {
|
|
1928
1928
|
var _ = P();
|
|
1929
1929
|
return function() {
|
|
1930
|
-
var
|
|
1930
|
+
var k, T = y(R);
|
|
1931
1931
|
if (_) {
|
|
1932
1932
|
var o = y(this).constructor;
|
|
1933
|
-
|
|
1934
|
-
} else
|
|
1935
|
-
return b(this,
|
|
1933
|
+
k = Reflect.construct(T, arguments, o);
|
|
1934
|
+
} else k = T.apply(this, arguments);
|
|
1935
|
+
return b(this, k);
|
|
1936
1936
|
};
|
|
1937
1937
|
}
|
|
1938
1938
|
function b(R, _) {
|
|
@@ -1959,29 +1959,29 @@ function ei() {
|
|
|
1959
1959
|
return _.__proto__ || Object.getPrototypeOf(_);
|
|
1960
1960
|
}, y(R);
|
|
1961
1961
|
}
|
|
1962
|
-
function d(R, _,
|
|
1963
|
-
return (_ =
|
|
1962
|
+
function d(R, _, k) {
|
|
1963
|
+
return (_ = O(_)) in R ? Object.defineProperty(R, _, { value: k, enumerable: !0, configurable: !0, writable: !0 }) : R[_] = k, R;
|
|
1964
1964
|
}
|
|
1965
|
-
function
|
|
1965
|
+
function O(R) {
|
|
1966
1966
|
var _ = A(R, "string");
|
|
1967
1967
|
return g(_) == "symbol" ? _ : _ + "";
|
|
1968
1968
|
}
|
|
1969
1969
|
function A(R, _) {
|
|
1970
1970
|
if (g(R) != "object" || !R) return R;
|
|
1971
|
-
var
|
|
1972
|
-
if (
|
|
1973
|
-
var T =
|
|
1971
|
+
var k = R[Symbol.toPrimitive];
|
|
1972
|
+
if (k !== void 0) {
|
|
1973
|
+
var T = k.call(R, _);
|
|
1974
1974
|
if (g(T) != "object") return T;
|
|
1975
1975
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1976
1976
|
}
|
|
1977
1977
|
return (_ === "string" ? String : Number)(R);
|
|
1978
1978
|
}
|
|
1979
1979
|
return Ne.InnerSlider = /* @__PURE__ */ function(R) {
|
|
1980
|
-
U(
|
|
1981
|
-
var _ = v(
|
|
1982
|
-
function
|
|
1980
|
+
U(k, R);
|
|
1981
|
+
var _ = v(k);
|
|
1982
|
+
function k(T) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
I(this,
|
|
1984
|
+
I(this, k), o = _.call(this, T), d(w(o), "listRefHandler", function(m) {
|
|
1985
1985
|
return o.list = m;
|
|
1986
1986
|
}), d(w(o), "trackRefHandler", function(m) {
|
|
1987
1987
|
return o.track = m;
|
|
@@ -2079,8 +2079,8 @@ function ei() {
|
|
|
2079
2079
|
n += c[c.length - 1 - L], m += c[c.length - 1 - L];
|
|
2080
2080
|
for (var H = 0; H < M; H++)
|
|
2081
2081
|
m += c[H];
|
|
2082
|
-
for (var
|
|
2083
|
-
n += c[
|
|
2082
|
+
for (var F = 0; F < o.state.currentSlide; F++)
|
|
2083
|
+
n += c[F];
|
|
2084
2084
|
var W = {
|
|
2085
2085
|
width: m + "px",
|
|
2086
2086
|
left: -n + "px"
|
|
@@ -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, c = o.props, S = c.asNavFor, M = c.beforeChange, L = c.onLazyLoad, H = c.speed,
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = o.props, S = c.asNavFor, M = c.beforeChange, L = c.onLazyLoad, H = c.speed, F = c.afterChange, W = o.state.currentSlide, B = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: m
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
@@ -2155,7 +2155,7 @@ function ei() {
|
|
|
2155
2155
|
var J = G.lazyLoadedList.filter(function(te) {
|
|
2156
2156
|
return o.state.lazyLoadedList.indexOf(te) < 0;
|
|
2157
2157
|
});
|
|
2158
|
-
L && J.length > 0 && L(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback),
|
|
2158
|
+
L && J.length > 0 && L(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), F && F(W), delete o.animationEndCallback), o.setState(G, function() {
|
|
2159
2159
|
S && o.asNavForIndex !== m && (o.asNavForIndex = m, S.innerSlider.slideHandler(m)), X && (o.animationEndCallback = setTimeout(function() {
|
|
2160
2160
|
var te = X.animating, Z = j(X, ["animating"]);
|
|
2161
2161
|
o.setState(Z, function() {
|
|
@@ -2163,7 +2163,7 @@ function ei() {
|
|
|
2163
2163
|
return o.setState({
|
|
2164
2164
|
animating: te
|
|
2165
2165
|
});
|
|
2166
|
-
}, 10)),
|
|
2166
|
+
}, 10)), F && F(G.currentSlide), delete o.animationEndCallback;
|
|
2167
2167
|
});
|
|
2168
2168
|
}, H));
|
|
2169
2169
|
});
|
|
@@ -2301,8 +2301,8 @@ function ei() {
|
|
|
2301
2301
|
onMouseLeave: H ? o.onDotsLeave : null
|
|
2302
2302
|
}), M = /* @__PURE__ */ e.default.createElement(f.Dots, L);
|
|
2303
2303
|
}
|
|
2304
|
-
var
|
|
2305
|
-
B.clickHandler = o.changeSlide, o.props.arrows && (
|
|
2304
|
+
var F, W, B = (0, a.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2305
|
+
B.clickHandler = o.changeSlide, o.props.arrows && (F = /* @__PURE__ */ e.default.createElement(u.PrevArrow, B), W = /* @__PURE__ */ e.default.createElement(u.NextArrow, B));
|
|
2306
2306
|
var G = null;
|
|
2307
2307
|
o.props.vertical && (G = {
|
|
2308
2308
|
height: o.state.listHeight
|
|
@@ -2336,7 +2336,7 @@ function ei() {
|
|
|
2336
2336
|
}, ee = {
|
|
2337
2337
|
className: m,
|
|
2338
2338
|
style: o.props.style
|
|
2339
|
-
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" :
|
|
2339
|
+
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : F, /* @__PURE__ */ e.default.createElement("div", x({
|
|
2340
2340
|
ref: o.listRefHandler
|
|
2341
2341
|
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, x({
|
|
2342
2342
|
ref: o.trackRefHandler
|
|
@@ -2349,7 +2349,7 @@ function ei() {
|
|
|
2349
2349
|
var z = o.ssrInit();
|
|
2350
2350
|
return o.state = p(p({}, o.state), z), o;
|
|
2351
2351
|
}
|
|
2352
|
-
return
|
|
2352
|
+
return N(k, [{
|
|
2353
2353
|
key: "didPropsChange",
|
|
2354
2354
|
value: function(o) {
|
|
2355
2355
|
for (var z = !1, m = 0, n = Object.keys(this.props); m < n.length; m++) {
|
|
@@ -2365,7 +2365,7 @@ function ei() {
|
|
|
2365
2365
|
}
|
|
2366
2366
|
return z || e.default.Children.count(this.props.children) !== e.default.Children.count(o.children);
|
|
2367
2367
|
}
|
|
2368
|
-
}]),
|
|
2368
|
+
}]), k;
|
|
2369
2369
|
}(e.default.Component), Ne;
|
|
2370
2370
|
}
|
|
2371
2371
|
var Lt, mr;
|
|
@@ -2422,8 +2422,8 @@ function ni() {
|
|
|
2422
2422
|
return l = Object.assign ? Object.assign.bind() : function(P) {
|
|
2423
2423
|
for (var y = 1; y < arguments.length; y++) {
|
|
2424
2424
|
var d = arguments[y];
|
|
2425
|
-
for (var
|
|
2426
|
-
({}).hasOwnProperty.call(d,
|
|
2425
|
+
for (var O in d)
|
|
2426
|
+
({}).hasOwnProperty.call(d, O) && (P[O] = d[O]);
|
|
2427
2427
|
}
|
|
2428
2428
|
return P;
|
|
2429
2429
|
}, l.apply(null, arguments);
|
|
@@ -2431,20 +2431,20 @@ function ni() {
|
|
|
2431
2431
|
function h(P, y) {
|
|
2432
2432
|
var d = Object.keys(P);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
|
-
var
|
|
2435
|
-
y && (
|
|
2434
|
+
var O = Object.getOwnPropertySymbols(P);
|
|
2435
|
+
y && (O = O.filter(function(A) {
|
|
2436
2436
|
return Object.getOwnPropertyDescriptor(P, A).enumerable;
|
|
2437
|
-
})), d.push.apply(d,
|
|
2437
|
+
})), d.push.apply(d, O);
|
|
2438
2438
|
}
|
|
2439
2439
|
return d;
|
|
2440
2440
|
}
|
|
2441
2441
|
function g(P) {
|
|
2442
2442
|
for (var y = 1; y < arguments.length; y++) {
|
|
2443
2443
|
var d = arguments[y] != null ? arguments[y] : {};
|
|
2444
|
-
y % 2 ? h(Object(d), !0).forEach(function(
|
|
2445
|
-
v(P,
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(P, Object.getOwnPropertyDescriptors(d)) : h(Object(d)).forEach(function(
|
|
2447
|
-
Object.defineProperty(P,
|
|
2444
|
+
y % 2 ? h(Object(d), !0).forEach(function(O) {
|
|
2445
|
+
v(P, O, d[O]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(P, Object.getOwnPropertyDescriptors(d)) : h(Object(d)).forEach(function(O) {
|
|
2447
|
+
Object.defineProperty(P, O, Object.getOwnPropertyDescriptor(d, O));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
2450
|
return P;
|
|
@@ -2454,8 +2454,8 @@ function ni() {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
function j(P, y) {
|
|
2456
2456
|
for (var d = 0; d < y.length; d++) {
|
|
2457
|
-
var
|
|
2458
|
-
|
|
2457
|
+
var O = y[d];
|
|
2458
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(P, b(O.key), O);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
2461
|
function $(P, y, d) {
|
|
@@ -2466,27 +2466,27 @@ function ni() {
|
|
|
2466
2466
|
P.prototype = Object.create(y && y.prototype, { constructor: { value: P, writable: !0, configurable: !0 } }), Object.defineProperty(P, "prototype", { writable: !1 }), y && p(P, y);
|
|
2467
2467
|
}
|
|
2468
2468
|
function p(P, y) {
|
|
2469
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d,
|
|
2470
|
-
return d.__proto__ =
|
|
2469
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d, O) {
|
|
2470
|
+
return d.__proto__ = O, d;
|
|
2471
2471
|
}, p(P, y);
|
|
2472
2472
|
}
|
|
2473
2473
|
function I(P) {
|
|
2474
2474
|
var y = U();
|
|
2475
2475
|
return function() {
|
|
2476
|
-
var d,
|
|
2476
|
+
var d, O = V(P);
|
|
2477
2477
|
if (y) {
|
|
2478
2478
|
var A = V(this).constructor;
|
|
2479
|
-
d = Reflect.construct(
|
|
2480
|
-
} else d =
|
|
2481
|
-
return
|
|
2479
|
+
d = Reflect.construct(O, arguments, A);
|
|
2480
|
+
} else d = O.apply(this, arguments);
|
|
2481
|
+
return C(this, d);
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function C(P, y) {
|
|
2485
2485
|
if (y && (u(y) == "object" || typeof y == "function")) return y;
|
|
2486
2486
|
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2487
|
-
return
|
|
2487
|
+
return N(P);
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function N(P) {
|
|
2490
2490
|
if (P === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2491
2491
|
return P;
|
|
2492
2492
|
}
|
|
@@ -2516,8 +2516,8 @@ function ni() {
|
|
|
2516
2516
|
if (u(P) != "object" || !P) return P;
|
|
2517
2517
|
var d = P[Symbol.toPrimitive];
|
|
2518
2518
|
if (d !== void 0) {
|
|
2519
|
-
var
|
|
2520
|
-
if (u(
|
|
2519
|
+
var O = d.call(P, y);
|
|
2520
|
+
if (u(O) != "object") return O;
|
|
2521
2521
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2522
2522
|
}
|
|
2523
2523
|
return (y === "string" ? String : Number)(P);
|
|
@@ -2525,20 +2525,20 @@ function ni() {
|
|
|
2525
2525
|
e.default = /* @__PURE__ */ function(P) {
|
|
2526
2526
|
E(d, P);
|
|
2527
2527
|
var y = I(d);
|
|
2528
|
-
function d(
|
|
2528
|
+
function d(O) {
|
|
2529
2529
|
var A;
|
|
2530
|
-
return x(this, d), A = y.call(this,
|
|
2530
|
+
return x(this, d), A = y.call(this, O), v(N(A), "innerSliderRefHandler", function(R) {
|
|
2531
2531
|
return A.innerSlider = R;
|
|
2532
|
-
}), v(
|
|
2532
|
+
}), v(N(A), "slickPrev", function() {
|
|
2533
2533
|
return A.innerSlider.slickPrev();
|
|
2534
|
-
}), v(
|
|
2534
|
+
}), v(N(A), "slickNext", function() {
|
|
2535
2535
|
return A.innerSlider.slickNext();
|
|
2536
|
-
}), v(
|
|
2536
|
+
}), v(N(A), "slickGoTo", function(R) {
|
|
2537
2537
|
var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2538
2538
|
return A.innerSlider.slickGoTo(R, _);
|
|
2539
|
-
}), v(
|
|
2539
|
+
}), v(N(A), "slickPause", function() {
|
|
2540
2540
|
return A.innerSlider.pause("paused");
|
|
2541
|
-
}), v(
|
|
2541
|
+
}), v(N(A), "slickPlay", function() {
|
|
2542
2542
|
return A.innerSlider.autoPlay("play");
|
|
2543
2543
|
}), A.state = {
|
|
2544
2544
|
breakpoint: null
|
|
@@ -2547,14 +2547,14 @@ function ni() {
|
|
|
2547
2547
|
return $(d, [{
|
|
2548
2548
|
key: "media",
|
|
2549
2549
|
value: function(A, R) {
|
|
2550
|
-
var _ = window.matchMedia(A),
|
|
2550
|
+
var _ = window.matchMedia(A), k = function(o) {
|
|
2551
2551
|
var z = o.matches;
|
|
2552
2552
|
z && R();
|
|
2553
2553
|
};
|
|
2554
|
-
_.addListener(
|
|
2554
|
+
_.addListener(k), this._responsiveMediaHandlers.push({
|
|
2555
2555
|
mql: _,
|
|
2556
2556
|
query: A,
|
|
2557
|
-
listener:
|
|
2557
|
+
listener: k
|
|
2558
2558
|
});
|
|
2559
2559
|
}
|
|
2560
2560
|
// handles responsive breakpoints
|
|
@@ -2563,22 +2563,22 @@ function ni() {
|
|
|
2563
2563
|
value: function() {
|
|
2564
2564
|
var A = this;
|
|
2565
2565
|
if (this.props.responsive) {
|
|
2566
|
-
var R = this.props.responsive.map(function(
|
|
2567
|
-
return
|
|
2566
|
+
var R = this.props.responsive.map(function(k) {
|
|
2567
|
+
return k.breakpoint;
|
|
2568
2568
|
});
|
|
2569
|
-
R.sort(function(
|
|
2570
|
-
return
|
|
2571
|
-
}), R.forEach(function(
|
|
2569
|
+
R.sort(function(k, T) {
|
|
2570
|
+
return k - T;
|
|
2571
|
+
}), R.forEach(function(k, T) {
|
|
2572
2572
|
var o;
|
|
2573
2573
|
T === 0 ? o = (0, i.default)({
|
|
2574
2574
|
minWidth: 0,
|
|
2575
|
-
maxWidth:
|
|
2575
|
+
maxWidth: k
|
|
2576
2576
|
}) : o = (0, i.default)({
|
|
2577
2577
|
minWidth: R[T - 1] + 1,
|
|
2578
|
-
maxWidth:
|
|
2578
|
+
maxWidth: k
|
|
2579
2579
|
}), (0, s.canUseDOM)() && A.media(o, function() {
|
|
2580
2580
|
A.setState({
|
|
2581
|
-
breakpoint:
|
|
2581
|
+
breakpoint: k
|
|
2582
2582
|
});
|
|
2583
2583
|
});
|
|
2584
2584
|
});
|
|
@@ -2606,14 +2606,14 @@ function ni() {
|
|
|
2606
2606
|
this.state.breakpoint ? (_ = this.props.responsive.filter(function(L) {
|
|
2607
2607
|
return L.breakpoint === A.state.breakpoint;
|
|
2608
2608
|
}), R = _[0].settings === "unslick" ? "unslick" : g(g(g({}, a.default), this.props), _[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
|
-
var
|
|
2610
|
-
|
|
2609
|
+
var k = t.default.Children.toArray(this.props.children);
|
|
2610
|
+
k = k.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 T = [], o = null, z = 0; z <
|
|
2613
|
+
for (var T = [], o = null, z = 0; z < k.length; z += R.rows * R.slidesPerRow) {
|
|
2614
2614
|
for (var m = [], n = z; n < z + R.rows * R.slidesPerRow; n += R.slidesPerRow) {
|
|
2615
|
-
for (var c = [], S = n; S < n + R.slidesPerRow && (R.variableWidth &&
|
|
2616
|
-
c.push(/* @__PURE__ */ t.default.cloneElement(
|
|
2615
|
+
for (var c = [], S = n; S < n + R.slidesPerRow && (R.variableWidth && k[S].props.style && (o = k[S].props.style.width), !(S >= k.length)); S += 1)
|
|
2616
|
+
c.push(/* @__PURE__ */ t.default.cloneElement(k[S], {
|
|
2617
2617
|
key: 100 * z + 10 * n + S,
|
|
2618
2618
|
tabIndex: -1,
|
|
2619
2619
|
style: {
|
|
@@ -2638,7 +2638,7 @@ function ni() {
|
|
|
2638
2638
|
var M = "regular slider " + (this.props.className || "");
|
|
2639
2639
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2640
2640
|
className: M
|
|
2641
|
-
},
|
|
2641
|
+
}, k);
|
|
2642
2642
|
} else T.length <= R.slidesToShow && (R.unslick = !0);
|
|
2643
2643
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, l({
|
|
2644
2644
|
style: this.props.style,
|
|
@@ -2866,19 +2866,19 @@ 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, f, u, l) {
|
|
2869
|
-
for (var h = 0, g = 0, x = f, j = 0, $ = 0, E = 0, p = 1, I = 1,
|
|
2870
|
-
switch (E =
|
|
2869
|
+
for (var h = 0, g = 0, x = f, j = 0, $ = 0, E = 0, p = 1, I = 1, C = 1, N = 0, U = "", V = a, v = s, b = i, w = U; I; )
|
|
2870
|
+
switch (E = N, N = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
2873
|
if (E != 108 && fe(w, x - 1) == 58) {
|
|
2874
|
-
Ht(w += ne(st(
|
|
2874
|
+
Ht(w += ne(st(N), "&", "&\f"), "&\f") != -1 && (C = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
2877
|
// " ' [
|
|
2878
2878
|
case 34:
|
|
2879
2879
|
case 39:
|
|
2880
2880
|
case 91:
|
|
2881
|
-
w += st(
|
|
2881
|
+
w += st(N);
|
|
2882
2882
|
break;
|
|
2883
2883
|
// \t \n \r \s
|
|
2884
2884
|
case 9:
|
|
@@ -2904,26 +2904,26 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
u[h++] = ge(w) *
|
|
2907
|
+
u[h++] = ge(w) * C;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
2911
2911
|
case 0:
|
|
2912
|
-
switch (
|
|
2912
|
+
switch (N) {
|
|
2913
2913
|
// \0 }
|
|
2914
2914
|
case 0:
|
|
2915
2915
|
case 125:
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + g:
|
|
2919
|
-
|
|
2919
|
+
C == -1 && (w = ne(w, /\f/g, "")), $ > 0 && ge(w) - x && it($ > 32 ? wr(w + ";", i, r, x - 1) : wr(ne(w, " ", "") + ";", i, r, x - 2), l);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
2923
|
w += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(b = br(w, t, r, h, g, a, u, U, V = [], v = [], x), s),
|
|
2926
|
+
if (it(b = br(w, t, r, h, g, a, u, U, V = [], v = [], x), s), N === 123)
|
|
2927
2927
|
if (g === 0)
|
|
2928
2928
|
lt(w, t, b, b, V, s, x, u, v);
|
|
2929
2929
|
else
|
|
@@ -2939,30 +2939,30 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2939
2939
|
lt(w, b, b, b, [""], v, 0, u, v);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
h = g = $ = 0, p =
|
|
2942
|
+
h = g = $ = 0, p = C = 1, U = w = "", x = f;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
2946
|
x = 1 + ge(w), $ = E;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
|
-
if (
|
|
2949
|
+
if (N == 123)
|
|
2950
2950
|
--p;
|
|
2951
|
-
else if (
|
|
2951
|
+
else if (N == 125 && p++ == 0 && yi() == 125)
|
|
2952
2952
|
continue;
|
|
2953
2953
|
}
|
|
2954
|
-
switch (w += wt(
|
|
2954
|
+
switch (w += wt(N), N * p) {
|
|
2955
2955
|
// &
|
|
2956
2956
|
case 38:
|
|
2957
|
-
|
|
2957
|
+
C = g > 0 ? 1 : (w += "\f", -1);
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
u[h++] = (ge(w) - 1) *
|
|
2961
|
+
u[h++] = (ge(w) - 1) * C, C = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
be() === 45 && (w += st(me())), j = be(), g = x = ge(U = w += xi(ot())),
|
|
2965
|
+
be() === 45 && (w += st(me())), j = be(), g = x = ge(U = w += xi(ot())), N++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
@@ -2973,8 +2973,8 @@ function lt(e, t, r, i, a, s, f, u, l) {
|
|
|
2973
2973
|
}
|
|
2974
2974
|
function br(e, t, r, i, a, s, f, u, l, h, g) {
|
|
2975
2975
|
for (var x = a - 1, j = a === 0 ? s : [""], $ = Xt(j), E = 0, p = 0, I = 0; E < i; ++E)
|
|
2976
|
-
for (var
|
|
2977
|
-
(U = Vr(p > 0 ? j[
|
|
2976
|
+
for (var C = 0, N = Be(e, x + 1, x = di(p = f[E])), U = e; C < $; ++C)
|
|
2977
|
+
(U = Vr(p > 0 ? j[C] + " " + N : ne(N, /&\f/g, j[C]))) && (l[I++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? Bt : u, l, h, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function ki(e, t, r) {
|
|
@@ -3259,8 +3259,8 @@ var Di = function(t, r, i, a) {
|
|
|
3259
3259
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
3260
3260
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
3261
3261
|
function(p) {
|
|
3262
|
-
for (var I = p.getAttribute("data-emotion").split(" "),
|
|
3263
|
-
s[I[
|
|
3262
|
+
for (var I = p.getAttribute("data-emotion").split(" "), C = 1; C < I.length; C++)
|
|
3263
|
+
s[I[C]] = !0;
|
|
3264
3264
|
u.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
@@ -3271,8 +3271,8 @@ var Di = function(t, r, i, a) {
|
|
|
3271
3271
|
})], j = Pi(h.concat(a, x)), $ = function(I) {
|
|
3272
3272
|
return _e(Oi(I), j);
|
|
3273
3273
|
};
|
|
3274
|
-
l = function(I,
|
|
3275
|
-
g =
|
|
3274
|
+
l = function(I, C, N, U) {
|
|
3275
|
+
g = N, $(I ? I + "{" + C.styles + "}" : C.styles), U && (E.inserted[C.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
3278
|
var E = {
|
|
@@ -3571,7 +3571,7 @@ var Xi = function(t) {
|
|
|
3571
3571
|
for (var $ = g.length, E = 1; E < $; E++)
|
|
3572
3572
|
x.push(g[E], j[E]);
|
|
3573
3573
|
}
|
|
3574
|
-
var p = Xi(function(I,
|
|
3574
|
+
var p = Xi(function(I, C, N) {
|
|
3575
3575
|
var U = h && I.as || a, V = "", v = [], b = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
3577
|
b = {};
|
|
@@ -3579,14 +3579,14 @@ var Xi = function(t) {
|
|
|
3579
3579
|
b[w] = I[w];
|
|
3580
3580
|
b.theme = D.useContext(Gi);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof I.className == "string" ? V = Ai(
|
|
3583
|
-
var P = Yi(x.concat(v),
|
|
3584
|
-
V +=
|
|
3582
|
+
typeof I.className == "string" ? V = Ai(C.registered, v, I.className) : I.className != null && (V = I.className + " ");
|
|
3583
|
+
var P = Yi(x.concat(v), C.registered, b);
|
|
3584
|
+
V += C.key + "-" + P.name, f !== void 0 && (V += " " + f);
|
|
3585
3585
|
var y = h && u === void 0 ? Cr(U) : l, d = {};
|
|
3586
|
-
for (var
|
|
3587
|
-
h &&
|
|
3588
|
-
return d.className = V,
|
|
3589
|
-
cache:
|
|
3586
|
+
for (var O in I)
|
|
3587
|
+
h && O === "as" || y(O) && (d[O] = I[O]);
|
|
3588
|
+
return d.className = V, N && (d.ref = N), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement(ea, {
|
|
3589
|
+
cache: C,
|
|
3590
3590
|
serialized: P,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ D.createElement(U, d));
|
|
@@ -3595,11 +3595,11 @@ var Xi = function(t) {
|
|
|
3595
3595
|
value: function() {
|
|
3596
3596
|
return "." + f;
|
|
3597
3597
|
}
|
|
3598
|
-
}), p.withComponent = function(I,
|
|
3599
|
-
var
|
|
3600
|
-
shouldForwardProp: Pr(p,
|
|
3598
|
+
}), p.withComponent = function(I, C) {
|
|
3599
|
+
var N = e(I, zt({}, r, C, {
|
|
3600
|
+
shouldForwardProp: Pr(p, C, !0)
|
|
3601
3601
|
}));
|
|
3602
|
-
return
|
|
3602
|
+
return N.apply(void 0, x);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
3605
|
}, ra = [
|
|
@@ -4095,24 +4095,24 @@ function ca() {
|
|
|
4095
4095
|
if (p < 2)
|
|
4096
4096
|
return E;
|
|
4097
4097
|
const I = $?.decode || g;
|
|
4098
|
-
let
|
|
4098
|
+
let C = 0;
|
|
4099
4099
|
do {
|
|
4100
|
-
const
|
|
4101
|
-
if (
|
|
4100
|
+
const N = j.indexOf("=", C);
|
|
4101
|
+
if (N === -1)
|
|
4102
4102
|
break;
|
|
4103
|
-
const U = j.indexOf(";",
|
|
4104
|
-
if (
|
|
4105
|
-
|
|
4103
|
+
const U = j.indexOf(";", C), V = U === -1 ? p : U;
|
|
4104
|
+
if (N > V) {
|
|
4105
|
+
C = j.lastIndexOf(";", N - 1) + 1;
|
|
4106
4106
|
continue;
|
|
4107
4107
|
}
|
|
4108
|
-
const v = u(j,
|
|
4108
|
+
const v = u(j, C, N), b = l(j, N, v), w = j.slice(v, b);
|
|
4109
4109
|
if (E[w] === void 0) {
|
|
4110
|
-
let P = u(j,
|
|
4110
|
+
let P = u(j, N + 1, V), y = l(j, V, P);
|
|
4111
4111
|
const d = I(j.slice(P, y));
|
|
4112
4112
|
E[w] = d;
|
|
4113
4113
|
}
|
|
4114
|
-
|
|
4115
|
-
} while (
|
|
4114
|
+
C = V + 1;
|
|
4115
|
+
} while (C < p);
|
|
4116
4116
|
return E;
|
|
4117
4117
|
}
|
|
4118
4118
|
function u(j, $, E) {
|
|
@@ -4138,39 +4138,39 @@ function ca() {
|
|
|
4138
4138
|
const I = p($);
|
|
4139
4139
|
if (!t.test(I))
|
|
4140
4140
|
throw new TypeError(`argument val is invalid: ${$}`);
|
|
4141
|
-
let
|
|
4141
|
+
let C = j + "=" + I;
|
|
4142
4142
|
if (!E)
|
|
4143
|
-
return
|
|
4143
|
+
return C;
|
|
4144
4144
|
if (E.maxAge !== void 0) {
|
|
4145
4145
|
if (!Number.isInteger(E.maxAge))
|
|
4146
4146
|
throw new TypeError(`option maxAge is invalid: ${E.maxAge}`);
|
|
4147
|
-
|
|
4147
|
+
C += "; Max-Age=" + E.maxAge;
|
|
4148
4148
|
}
|
|
4149
4149
|
if (E.domain) {
|
|
4150
4150
|
if (!r.test(E.domain))
|
|
4151
4151
|
throw new TypeError(`option domain is invalid: ${E.domain}`);
|
|
4152
|
-
|
|
4152
|
+
C += "; Domain=" + E.domain;
|
|
4153
4153
|
}
|
|
4154
4154
|
if (E.path) {
|
|
4155
4155
|
if (!i.test(E.path))
|
|
4156
4156
|
throw new TypeError(`option path is invalid: ${E.path}`);
|
|
4157
|
-
|
|
4157
|
+
C += "; Path=" + E.path;
|
|
4158
4158
|
}
|
|
4159
4159
|
if (E.expires) {
|
|
4160
4160
|
if (!x(E.expires) || !Number.isFinite(E.expires.valueOf()))
|
|
4161
4161
|
throw new TypeError(`option expires is invalid: ${E.expires}`);
|
|
4162
|
-
|
|
4162
|
+
C += "; Expires=" + E.expires.toUTCString();
|
|
4163
4163
|
}
|
|
4164
|
-
if (E.httpOnly && (
|
|
4164
|
+
if (E.httpOnly && (C += "; HttpOnly"), E.secure && (C += "; Secure"), E.partitioned && (C += "; Partitioned"), E.priority)
|
|
4165
4165
|
switch (typeof E.priority == "string" ? E.priority.toLowerCase() : void 0) {
|
|
4166
4166
|
case "low":
|
|
4167
|
-
|
|
4167
|
+
C += "; Priority=Low";
|
|
4168
4168
|
break;
|
|
4169
4169
|
case "medium":
|
|
4170
|
-
|
|
4170
|
+
C += "; Priority=Medium";
|
|
4171
4171
|
break;
|
|
4172
4172
|
case "high":
|
|
4173
|
-
|
|
4173
|
+
C += "; Priority=High";
|
|
4174
4174
|
break;
|
|
4175
4175
|
default:
|
|
4176
4176
|
throw new TypeError(`option priority is invalid: ${E.priority}`);
|
|
@@ -4179,18 +4179,18 @@ function ca() {
|
|
|
4179
4179
|
switch (typeof E.sameSite == "string" ? E.sameSite.toLowerCase() : E.sameSite) {
|
|
4180
4180
|
case !0:
|
|
4181
4181
|
case "strict":
|
|
4182
|
-
|
|
4182
|
+
C += "; SameSite=Strict";
|
|
4183
4183
|
break;
|
|
4184
4184
|
case "lax":
|
|
4185
|
-
|
|
4185
|
+
C += "; SameSite=Lax";
|
|
4186
4186
|
break;
|
|
4187
4187
|
case "none":
|
|
4188
|
-
|
|
4188
|
+
C += "; SameSite=None";
|
|
4189
4189
|
break;
|
|
4190
4190
|
default:
|
|
4191
4191
|
throw new TypeError(`option sameSite is invalid: ${E.sameSite}`);
|
|
4192
4192
|
}
|
|
4193
|
-
return
|
|
4193
|
+
return C;
|
|
4194
4194
|
}
|
|
4195
4195
|
function g(j) {
|
|
4196
4196
|
if (j.indexOf("%") === -1)
|
|
@@ -4301,14 +4301,14 @@ function ha(e, t, r, i = {}) {
|
|
|
4301
4301
|
}
|
|
4302
4302
|
function x() {
|
|
4303
4303
|
u = "POP";
|
|
4304
|
-
let I = g(),
|
|
4305
|
-
h = I, l && l({ action: u, location: p.location, delta:
|
|
4304
|
+
let I = g(), C = I == null ? null : I - h;
|
|
4305
|
+
h = I, l && l({ action: u, location: p.location, delta: C });
|
|
4306
4306
|
}
|
|
4307
|
-
function j(I,
|
|
4307
|
+
function j(I, C) {
|
|
4308
4308
|
u = "PUSH";
|
|
4309
|
-
let
|
|
4309
|
+
let N = Ft(p.location, I, C);
|
|
4310
4310
|
h = g() + 1;
|
|
4311
|
-
let U = Tr(
|
|
4311
|
+
let U = Tr(N, h), V = p.createHref(N);
|
|
4312
4312
|
try {
|
|
4313
4313
|
f.pushState(U, "", V);
|
|
4314
4314
|
} catch (v) {
|
|
@@ -4318,11 +4318,11 @@ function ha(e, t, r, i = {}) {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
s && l && l({ action: u, location: p.location, delta: 1 });
|
|
4320
4320
|
}
|
|
4321
|
-
function $(I,
|
|
4321
|
+
function $(I, C) {
|
|
4322
4322
|
u = "REPLACE";
|
|
4323
|
-
let
|
|
4323
|
+
let N = Ft(p.location, I, C);
|
|
4324
4324
|
h = g();
|
|
4325
|
-
let U = Tr(
|
|
4325
|
+
let U = Tr(N, h), V = p.createHref(N);
|
|
4326
4326
|
f.replaceState(U, "", V), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4327
4327
|
}
|
|
4328
4328
|
function E(I) {
|
|
@@ -4347,11 +4347,11 @@ function ha(e, t, r, i = {}) {
|
|
|
4347
4347
|
},
|
|
4348
4348
|
createURL: E,
|
|
4349
4349
|
encodeLocation(I) {
|
|
4350
|
-
let
|
|
4350
|
+
let C = E(I);
|
|
4351
4351
|
return {
|
|
4352
|
-
pathname:
|
|
4353
|
-
search:
|
|
4354
|
-
hash:
|
|
4352
|
+
pathname: C.pathname,
|
|
4353
|
+
search: C.search,
|
|
4354
|
+
hash: C.hash
|
|
4355
4355
|
};
|
|
4356
4356
|
},
|
|
4357
4357
|
push: j,
|
|
@@ -4748,28 +4748,28 @@ function dn(e, t, r, i) {
|
|
|
4748
4748
|
);
|
|
4749
4749
|
let { navigator: a } = D.useContext(we), { matches: s } = D.useContext(Oe), f = s[s.length - 1], u = f ? f.params : {}, l = f ? f.pathname : "/", h = f ? f.pathnameBase : "/", g = f && f.route;
|
|
4750
4750
|
{
|
|
4751
|
-
let
|
|
4751
|
+
let C = g && g.path || "";
|
|
4752
4752
|
hn(
|
|
4753
4753
|
l,
|
|
4754
|
-
!g ||
|
|
4755
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${
|
|
4754
|
+
!g || C.endsWith("*") || C.endsWith("*?"),
|
|
4755
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
4756
4756
|
|
|
4757
|
-
Please change the parent <Route path="${
|
|
4757
|
+
Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" : `${C}/*`}">.`
|
|
4758
4758
|
);
|
|
4759
4759
|
}
|
|
4760
4760
|
let x = ke(), j;
|
|
4761
4761
|
if (t) {
|
|
4762
|
-
let
|
|
4762
|
+
let C = typeof t == "string" ? Me(t) : t;
|
|
4763
4763
|
ae(
|
|
4764
|
-
h === "/" ||
|
|
4765
|
-
`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 "${
|
|
4766
|
-
), j =
|
|
4764
|
+
h === "/" || C.pathname?.startsWith(h),
|
|
4765
|
+
`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 "${C.pathname}" was given in the \`location\` prop.`
|
|
4766
|
+
), j = C;
|
|
4767
4767
|
} else
|
|
4768
4768
|
j = x;
|
|
4769
4769
|
let $ = j.pathname || "/", E = $;
|
|
4770
4770
|
if (h !== "/") {
|
|
4771
|
-
let
|
|
4772
|
-
E = "/" + $.replace(/^\//, "").split("/").slice(
|
|
4771
|
+
let C = h.replace(/^\//, "").split("/");
|
|
4772
|
+
E = "/" + $.replace(/^\//, "").split("/").slice(C.length).join("/");
|
|
4773
4773
|
}
|
|
4774
4774
|
let p = rn(e, { pathname: E });
|
|
4775
4775
|
ve(
|
|
@@ -4781,17 +4781,17 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4781
4781
|
);
|
|
4782
4782
|
let I = qa(
|
|
4783
4783
|
p && p.map(
|
|
4784
|
-
(
|
|
4785
|
-
params: Object.assign({}, u,
|
|
4784
|
+
(C) => Object.assign({}, C, {
|
|
4785
|
+
params: Object.assign({}, u, C.params),
|
|
4786
4786
|
pathname: Se([
|
|
4787
4787
|
h,
|
|
4788
4788
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4789
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4789
|
+
a.encodeLocation ? a.encodeLocation(C.pathname).pathname : C.pathname
|
|
4790
4790
|
]),
|
|
4791
|
-
pathnameBase:
|
|
4791
|
+
pathnameBase: C.pathnameBase === "/" ? h : Se([
|
|
4792
4792
|
h,
|
|
4793
4793
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4794
|
-
a.encodeLocation ? a.encodeLocation(
|
|
4794
|
+
a.encodeLocation ? a.encodeLocation(C.pathnameBase).pathname : C.pathnameBase
|
|
4795
4795
|
])
|
|
4796
4796
|
})
|
|
4797
4797
|
),
|
|
@@ -4914,8 +4914,8 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4914
4914
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4915
4915
|
), j = !0, E = null) : u === g && (j = !0, E = h.route.hydrateFallbackElement || null)));
|
|
4916
4916
|
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
4917
|
-
let
|
|
4918
|
-
return x ?
|
|
4917
|
+
let C;
|
|
4918
|
+
return x ? C = $ : j ? C = E : h.route.Component ? C = /* @__PURE__ */ D.createElement(h.route.Component, null) : h.route.element ? C = h.route.element : C = l, /* @__PURE__ */ D.createElement(
|
|
4919
4919
|
Ya,
|
|
4920
4920
|
{
|
|
4921
4921
|
match: h,
|
|
@@ -4924,7 +4924,7 @@ function qa(e, t = [], r = null, i = null) {
|
|
|
4924
4924
|
matches: p,
|
|
4925
4925
|
isDataRoute: r != null
|
|
4926
4926
|
},
|
|
4927
|
-
children:
|
|
4927
|
+
children: C
|
|
4928
4928
|
}
|
|
4929
4929
|
);
|
|
4930
4930
|
};
|
|
@@ -5339,9 +5339,9 @@ function So(e, t) {
|
|
|
5339
5339
|
let r = D.useContext(er), [i, a] = D.useState(!1), [s, f] = D.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, j = D.useRef(null);
|
|
5340
5340
|
D.useEffect(() => {
|
|
5341
5341
|
if (e === "render" && f(!0), e === "viewport") {
|
|
5342
|
-
let p = (
|
|
5343
|
-
|
|
5344
|
-
f(
|
|
5342
|
+
let p = (C) => {
|
|
5343
|
+
C.forEach((N) => {
|
|
5344
|
+
f(N.isIntersecting);
|
|
5345
5345
|
});
|
|
5346
5346
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5347
5347
|
return j.current && I.observe(j.current), () => {
|
|
@@ -5432,15 +5432,15 @@ function ko({
|
|
|
5432
5432
|
if (e === i.pathname + i.search + i.hash)
|
|
5433
5433
|
return [];
|
|
5434
5434
|
let E = /* @__PURE__ */ new Set(), p = !1;
|
|
5435
|
-
if (t.forEach((
|
|
5436
|
-
let
|
|
5437
|
-
!
|
|
5435
|
+
if (t.forEach((C) => {
|
|
5436
|
+
let N = a.routes[C.route.id];
|
|
5437
|
+
!N || !N.hasLoader || (!h.some((U) => U.route.id === C.route.id) && C.route.id in u && s[C.route.id]?.shouldRevalidate || N.hasClientLoader ? p = !0 : E.add(C.route.id));
|
|
5438
5438
|
}), E.size === 0)
|
|
5439
5439
|
return [];
|
|
5440
5440
|
let I = bo(e, f);
|
|
5441
5441
|
return p && E.size > 0 && I.searchParams.set(
|
|
5442
5442
|
"_routes",
|
|
5443
|
-
t.filter((
|
|
5443
|
+
t.filter((C) => E.has(C.route.id)).map((C) => C.route.id).join(",")
|
|
5444
5444
|
), [I.pathname + I.search];
|
|
5445
5445
|
}, [
|
|
5446
5446
|
f,
|
|
@@ -5515,18 +5515,18 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5515
5515
|
viewTransition: x,
|
|
5516
5516
|
...j
|
|
5517
5517
|
}, $) {
|
|
5518
|
-
let { basename: E } = D.useContext(we), p = typeof h == "string" && yn.test(h), I,
|
|
5518
|
+
let { basename: E } = D.useContext(we), p = typeof h == "string" && yn.test(h), I, C = !1;
|
|
5519
5519
|
if (typeof h == "string" && p && (I = h, gn))
|
|
5520
5520
|
try {
|
|
5521
|
-
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h),
|
|
5522
|
-
d.origin === y.origin &&
|
|
5521
|
+
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), O = xe(d.pathname, E);
|
|
5522
|
+
d.origin === y.origin && O != null ? h = O + d.search + d.hash : C = !0;
|
|
5523
5523
|
} catch {
|
|
5524
5524
|
ve(
|
|
5525
5525
|
!1,
|
|
5526
5526
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5527
5527
|
);
|
|
5528
5528
|
}
|
|
5529
|
-
let
|
|
5529
|
+
let N = za(h, { relative: a }), [U, V, v] = So(
|
|
5530
5530
|
i,
|
|
5531
5531
|
j
|
|
5532
5532
|
), b = To(h, {
|
|
@@ -5547,15 +5547,15 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = D.forwardRef(
|
|
|
5547
5547
|
{
|
|
5548
5548
|
...j,
|
|
5549
5549
|
...v,
|
|
5550
|
-
href: I ||
|
|
5551
|
-
onClick:
|
|
5550
|
+
href: I || N,
|
|
5551
|
+
onClick: C || s ? t : w,
|
|
5552
5552
|
ref: Co($, V),
|
|
5553
5553
|
target: l,
|
|
5554
5554
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
5555
5555
|
}
|
|
5556
5556
|
)
|
|
5557
5557
|
);
|
|
5558
|
-
return U && !p ? /* @__PURE__ */ D.createElement(D.Fragment, null, P, /* @__PURE__ */ D.createElement(xo, { page:
|
|
5558
|
+
return U && !p ? /* @__PURE__ */ D.createElement(D.Fragment, null, P, /* @__PURE__ */ D.createElement(xo, { page: N })) : P;
|
|
5559
5559
|
}
|
|
5560
5560
|
);
|
|
5561
5561
|
bn.displayName = "Link";
|
|
@@ -5573,10 +5573,10 @@ var Eo = D.forwardRef(
|
|
|
5573
5573
|
}, g) {
|
|
5574
5574
|
let x = et(f, { relative: h.relative }), j = ke(), $ = D.useContext(Ot), { navigator: E, basename: p } = D.useContext(we), I = $ != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5575
5575
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5576
|
-
Io(x) && u === !0,
|
|
5577
|
-
r || (
|
|
5578
|
-
const V =
|
|
5579
|
-
let v =
|
|
5576
|
+
Io(x) && u === !0, C = E.encodeLocation ? E.encodeLocation(x).pathname : x.pathname, N = j.pathname, U = $ && $.navigation && $.navigation.location ? $.navigation.location.pathname : null;
|
|
5577
|
+
r || (N = N.toLowerCase(), U = U ? U.toLowerCase() : null, C = C.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5578
|
+
const V = C !== "/" && C.endsWith("/") ? C.length - 1 : C.length;
|
|
5579
|
+
let v = N === C || !a && N.startsWith(C) && N.charAt(V) === "/", b = U != null && (U === C || !a && U.startsWith(C) && U.charAt(C.length) === "/"), w = {
|
|
5580
5580
|
isActive: v,
|
|
5581
5581
|
isPending: b,
|
|
5582
5582
|
isTransitioning: I
|
|
@@ -5620,7 +5620,7 @@ var Ro = D.forwardRef(
|
|
|
5620
5620
|
viewTransition: x,
|
|
5621
5621
|
...j
|
|
5622
5622
|
}, $) => {
|
|
5623
|
-
let E = Mo(), p = $o(u, { relative: h }), I = f.toLowerCase() === "get" ? "get" : "post",
|
|
5623
|
+
let E = Mo(), p = $o(u, { relative: h }), I = f.toLowerCase() === "get" ? "get" : "post", C = typeof u == "string" && yn.test(u), N = (U) => {
|
|
5624
5624
|
if (l && l(U), U.defaultPrevented) return;
|
|
5625
5625
|
U.preventDefault();
|
|
5626
5626
|
let V = U.nativeEvent.submitter, v = V?.getAttribute("formmethod") || f;
|
|
@@ -5641,9 +5641,9 @@ var Ro = D.forwardRef(
|
|
|
5641
5641
|
ref: $,
|
|
5642
5642
|
method: I,
|
|
5643
5643
|
action: p,
|
|
5644
|
-
onSubmit: i ? l :
|
|
5644
|
+
onSubmit: i ? l : N,
|
|
5645
5645
|
...j,
|
|
5646
|
-
"data-discover": !
|
|
5646
|
+
"data-discover": !C && e === "render" ? "true" : void 0
|
|
5647
5647
|
}
|
|
5648
5648
|
);
|
|
5649
5649
|
}
|
|
@@ -6185,13 +6185,14 @@ const Sn = q.createContext({
|
|
|
6185
6185
|
onChange: g,
|
|
6186
6186
|
onFocus: x,
|
|
6187
6187
|
inputStyles: j,
|
|
6188
|
-
|
|
6189
|
-
|
|
6188
|
+
containerStyles: $,
|
|
6189
|
+
styles: E,
|
|
6190
|
+
step: p
|
|
6190
6191
|
}) => {
|
|
6191
|
-
const
|
|
6192
|
-
g?.(
|
|
6193
|
-
},
|
|
6194
|
-
|
|
6192
|
+
const I = (N) => {
|
|
6193
|
+
g?.(N.currentTarget.value);
|
|
6194
|
+
}, C = (N) => {
|
|
6195
|
+
N.preventDefault(), N.stopPropagation(), x?.();
|
|
6195
6196
|
};
|
|
6196
6197
|
return /* @__PURE__ */ K.jsxs(
|
|
6197
6198
|
No,
|
|
@@ -6200,7 +6201,7 @@ const Sn = q.createContext({
|
|
|
6200
6201
|
width: "100%",
|
|
6201
6202
|
maxWidth: "357px",
|
|
6202
6203
|
gap: "8px",
|
|
6203
|
-
|
|
6204
|
+
...E
|
|
6204
6205
|
},
|
|
6205
6206
|
children: [
|
|
6206
6207
|
t,
|
|
@@ -6225,7 +6226,7 @@ const Sn = q.createContext({
|
|
|
6225
6226
|
outline: "none",
|
|
6226
6227
|
alignItems: "center",
|
|
6227
6228
|
gap: "10px",
|
|
6228
|
-
|
|
6229
|
+
...$
|
|
6229
6230
|
},
|
|
6230
6231
|
children: [
|
|
6231
6232
|
r,
|
|
@@ -6235,7 +6236,7 @@ const Sn = q.createContext({
|
|
|
6235
6236
|
name: e,
|
|
6236
6237
|
type: h,
|
|
6237
6238
|
autoComplete: f,
|
|
6238
|
-
step:
|
|
6239
|
+
step: p,
|
|
6239
6240
|
style: {
|
|
6240
6241
|
flex: 1,
|
|
6241
6242
|
border: "none",
|
|
@@ -6246,13 +6247,14 @@ const Sn = q.createContext({
|
|
|
6246
6247
|
fontSize: "inherit",
|
|
6247
6248
|
lineHeight: "inherit",
|
|
6248
6249
|
outline: "inherit",
|
|
6249
|
-
background: "none"
|
|
6250
|
+
background: "none",
|
|
6251
|
+
...j
|
|
6250
6252
|
},
|
|
6251
6253
|
placeholder: s,
|
|
6252
6254
|
value: u,
|
|
6253
6255
|
defaultValue: l,
|
|
6254
|
-
onChange:
|
|
6255
|
-
onFocus:
|
|
6256
|
+
onChange: I,
|
|
6257
|
+
onFocus: C
|
|
6256
6258
|
}
|
|
6257
6259
|
),
|
|
6258
6260
|
i
|
|
@@ -6615,18 +6617,18 @@ function Yo() {
|
|
|
6615
6617
|
(function(r, i) {
|
|
6616
6618
|
e.exports = i();
|
|
6617
6619
|
})(Uo, function() {
|
|
6618
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", $ = "year", E = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
6619
|
-
var
|
|
6620
|
-
return "[" + _ + (
|
|
6621
|
-
} }, U = function(_,
|
|
6620
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", $ = "year", E = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { 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(_) {
|
|
6621
|
+
var k = ["th", "st", "nd", "rd"], T = _ % 100;
|
|
6622
|
+
return "[" + _ + (k[(T - 20) % 10] || k[T] || k[0]) + "]";
|
|
6623
|
+
} }, U = function(_, k, T) {
|
|
6622
6624
|
var o = String(_);
|
|
6623
|
-
return !o || o.length >=
|
|
6625
|
+
return !o || o.length >= k ? _ : "" + Array(k + 1 - o.length).join(T) + _;
|
|
6624
6626
|
}, V = { s: U, z: function(_) {
|
|
6625
|
-
var
|
|
6626
|
-
return (
|
|
6627
|
-
}, m: function _(
|
|
6628
|
-
if (
|
|
6629
|
-
var o = 12 * (T.year() -
|
|
6627
|
+
var k = -_.utcOffset(), T = Math.abs(k), o = Math.floor(T / 60), z = T % 60;
|
|
6628
|
+
return (k <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(z, 2, "0");
|
|
6629
|
+
}, m: function _(k, T) {
|
|
6630
|
+
if (k.date() < T.date()) return -_(T, k);
|
|
6631
|
+
var o = 12 * (T.year() - k.year()) + (T.month() - k.month()), z = k.clone().add(o, x), m = T - z < 0, n = k.clone().add(o + (m ? -1 : 1), x);
|
|
6630
6632
|
return +(-(o + (T - z) / (m ? z - n : n - z)) || 0);
|
|
6631
6633
|
}, a: function(_) {
|
|
6632
6634
|
return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
|
|
@@ -6635,40 +6637,40 @@ function Yo() {
|
|
|
6635
6637
|
}, u: function(_) {
|
|
6636
6638
|
return _ === void 0;
|
|
6637
6639
|
} }, v = "en", b = {};
|
|
6638
|
-
b[v] =
|
|
6640
|
+
b[v] = N;
|
|
6639
6641
|
var w = "$isDayjsObject", P = function(_) {
|
|
6640
6642
|
return _ instanceof A || !(!_ || !_[w]);
|
|
6641
|
-
}, y = function _(
|
|
6643
|
+
}, y = function _(k, T, o) {
|
|
6642
6644
|
var z;
|
|
6643
|
-
if (!
|
|
6644
|
-
if (typeof
|
|
6645
|
-
var m =
|
|
6645
|
+
if (!k) return v;
|
|
6646
|
+
if (typeof k == "string") {
|
|
6647
|
+
var m = k.toLowerCase();
|
|
6646
6648
|
b[m] && (z = m), T && (b[m] = T, z = m);
|
|
6647
|
-
var n =
|
|
6649
|
+
var n = k.split("-");
|
|
6648
6650
|
if (!z && n.length > 1) return _(n[0]);
|
|
6649
6651
|
} else {
|
|
6650
|
-
var c =
|
|
6651
|
-
b[c] =
|
|
6652
|
+
var c = k.name;
|
|
6653
|
+
b[c] = k, z = c;
|
|
6652
6654
|
}
|
|
6653
6655
|
return !o && z && (v = z), z || !o && v;
|
|
6654
|
-
}, d = function(_,
|
|
6656
|
+
}, d = function(_, k) {
|
|
6655
6657
|
if (P(_)) return _.clone();
|
|
6656
|
-
var T = typeof
|
|
6658
|
+
var T = typeof k == "object" ? k : {};
|
|
6657
6659
|
return T.date = _, T.args = arguments, new A(T);
|
|
6658
|
-
},
|
|
6659
|
-
|
|
6660
|
-
return d(_, { locale:
|
|
6660
|
+
}, O = V;
|
|
6661
|
+
O.l = y, O.i = P, O.w = function(_, k) {
|
|
6662
|
+
return d(_, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
|
|
6661
6663
|
};
|
|
6662
6664
|
var A = function() {
|
|
6663
6665
|
function _(T) {
|
|
6664
6666
|
this.$L = y(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[w] = !0;
|
|
6665
6667
|
}
|
|
6666
|
-
var
|
|
6667
|
-
return
|
|
6668
|
+
var k = _.prototype;
|
|
6669
|
+
return k.parse = function(T) {
|
|
6668
6670
|
this.$d = function(o) {
|
|
6669
6671
|
var z = o.date, m = o.utc;
|
|
6670
6672
|
if (z === null) return /* @__PURE__ */ new Date(NaN);
|
|
6671
|
-
if (
|
|
6673
|
+
if (O.u(z)) return /* @__PURE__ */ new Date();
|
|
6672
6674
|
if (z instanceof Date) return new Date(z);
|
|
6673
6675
|
if (typeof z == "string" && !/Z$/i.test(z)) {
|
|
6674
6676
|
var n = z.match(I);
|
|
@@ -6679,33 +6681,33 @@ function Yo() {
|
|
|
6679
6681
|
}
|
|
6680
6682
|
return new Date(z);
|
|
6681
6683
|
}(T), this.init();
|
|
6682
|
-
},
|
|
6684
|
+
}, k.init = function() {
|
|
6683
6685
|
var T = this.$d;
|
|
6684
6686
|
this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds();
|
|
6685
|
-
},
|
|
6686
|
-
return
|
|
6687
|
-
},
|
|
6687
|
+
}, k.$utils = function() {
|
|
6688
|
+
return O;
|
|
6689
|
+
}, k.isValid = function() {
|
|
6688
6690
|
return this.$d.toString() !== p;
|
|
6689
|
-
},
|
|
6691
|
+
}, k.isSame = function(T, o) {
|
|
6690
6692
|
var z = d(T);
|
|
6691
6693
|
return this.startOf(o) <= z && z <= this.endOf(o);
|
|
6692
|
-
},
|
|
6694
|
+
}, k.isAfter = function(T, o) {
|
|
6693
6695
|
return d(T) < this.startOf(o);
|
|
6694
|
-
},
|
|
6696
|
+
}, k.isBefore = function(T, o) {
|
|
6695
6697
|
return this.endOf(o) < d(T);
|
|
6696
|
-
},
|
|
6697
|
-
return
|
|
6698
|
-
},
|
|
6698
|
+
}, k.$g = function(T, o, z) {
|
|
6699
|
+
return O.u(T) ? this[o] : this.set(z, T);
|
|
6700
|
+
}, k.unix = function() {
|
|
6699
6701
|
return Math.floor(this.valueOf() / 1e3);
|
|
6700
|
-
},
|
|
6702
|
+
}, k.valueOf = function() {
|
|
6701
6703
|
return this.$d.getTime();
|
|
6702
|
-
},
|
|
6703
|
-
var z = this, m = !!
|
|
6704
|
-
var J =
|
|
6704
|
+
}, k.startOf = function(T, o) {
|
|
6705
|
+
var z = this, m = !!O.u(o) || o, n = O.p(T), c = function(G, X) {
|
|
6706
|
+
var J = O.w(z.$u ? Date.UTC(z.$y, X, G) : new Date(z.$y, X, G), z);
|
|
6705
6707
|
return m ? J : J.endOf(h);
|
|
6706
6708
|
}, S = function(G, X) {
|
|
6707
|
-
return
|
|
6708
|
-
}, M = this.$W, L = this.$M, H = this.$D,
|
|
6709
|
+
return O.w(z.toDate()[G].apply(z.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), z);
|
|
6710
|
+
}, M = this.$W, L = this.$M, H = this.$D, F = "set" + (this.$u ? "UTC" : "");
|
|
6709
6711
|
switch (n) {
|
|
6710
6712
|
case $:
|
|
6711
6713
|
return m ? c(1, 0) : c(31, 11);
|
|
@@ -6716,66 +6718,66 @@ function Yo() {
|
|
|
6716
6718
|
return c(m ? H - B : H + (6 - B), L);
|
|
6717
6719
|
case h:
|
|
6718
6720
|
case E:
|
|
6719
|
-
return S(
|
|
6721
|
+
return S(F + "Hours", 0);
|
|
6720
6722
|
case l:
|
|
6721
|
-
return S(
|
|
6723
|
+
return S(F + "Minutes", 1);
|
|
6722
6724
|
case u:
|
|
6723
|
-
return S(
|
|
6725
|
+
return S(F + "Seconds", 2);
|
|
6724
6726
|
case f:
|
|
6725
|
-
return S(
|
|
6727
|
+
return S(F + "Milliseconds", 3);
|
|
6726
6728
|
default:
|
|
6727
6729
|
return this.clone();
|
|
6728
6730
|
}
|
|
6729
|
-
},
|
|
6731
|
+
}, k.endOf = function(T) {
|
|
6730
6732
|
return this.startOf(T, !1);
|
|
6731
|
-
},
|
|
6732
|
-
var z, m =
|
|
6733
|
+
}, k.$set = function(T, o) {
|
|
6734
|
+
var z, m = O.p(T), n = "set" + (this.$u ? "UTC" : ""), c = (z = {}, z[h] = n + "Date", z[E] = n + "Date", z[x] = n + "Month", z[$] = n + "FullYear", z[l] = n + "Hours", z[u] = n + "Minutes", z[f] = n + "Seconds", z[s] = n + "Milliseconds", z)[m], S = m === h ? this.$D + (o - this.$W) : o;
|
|
6733
6735
|
if (m === x || m === $) {
|
|
6734
6736
|
var M = this.clone().set(E, 1);
|
|
6735
6737
|
M.$d[c](S), M.init(), this.$d = M.set(E, Math.min(this.$D, M.daysInMonth())).$d;
|
|
6736
6738
|
} else c && this.$d[c](S);
|
|
6737
6739
|
return this.init(), this;
|
|
6738
|
-
},
|
|
6740
|
+
}, k.set = function(T, o) {
|
|
6739
6741
|
return this.clone().$set(T, o);
|
|
6740
|
-
},
|
|
6741
|
-
return this[
|
|
6742
|
-
},
|
|
6742
|
+
}, k.get = function(T) {
|
|
6743
|
+
return this[O.p(T)]();
|
|
6744
|
+
}, k.add = function(T, o) {
|
|
6743
6745
|
var z, m = this;
|
|
6744
6746
|
T = Number(T);
|
|
6745
|
-
var n =
|
|
6747
|
+
var n = O.p(o), c = function(L) {
|
|
6746
6748
|
var H = d(m);
|
|
6747
|
-
return
|
|
6749
|
+
return O.w(H.date(H.date() + Math.round(L * T)), m);
|
|
6748
6750
|
};
|
|
6749
6751
|
if (n === x) return this.set(x, this.$M + T);
|
|
6750
6752
|
if (n === $) return this.set($, this.$y + T);
|
|
6751
6753
|
if (n === h) return c(1);
|
|
6752
6754
|
if (n === g) return c(7);
|
|
6753
6755
|
var S = (z = {}, z[u] = i, z[l] = a, z[f] = r, z)[n] || 1, M = this.$d.getTime() + T * S;
|
|
6754
|
-
return
|
|
6755
|
-
},
|
|
6756
|
+
return O.w(M, this);
|
|
6757
|
+
}, k.subtract = function(T, o) {
|
|
6756
6758
|
return this.add(-1 * T, o);
|
|
6757
|
-
},
|
|
6759
|
+
}, k.format = function(T) {
|
|
6758
6760
|
var o = this, z = this.$locale();
|
|
6759
6761
|
if (!this.isValid()) return z.invalidDate || p;
|
|
6760
|
-
var m = T || "YYYY-MM-DDTHH:mm:ssZ", n =
|
|
6762
|
+
var m = T || "YYYY-MM-DDTHH:mm:ssZ", n = O.z(this), c = this.$H, S = this.$m, M = this.$M, L = z.weekdays, H = z.months, F = z.meridiem, W = function(X, J, te, Z) {
|
|
6761
6763
|
return X && (X[J] || X(o, m)) || te[J].slice(0, Z);
|
|
6762
6764
|
}, B = function(X) {
|
|
6763
|
-
return
|
|
6764
|
-
}, G =
|
|
6765
|
+
return O.s(c % 12 || 12, X, "0");
|
|
6766
|
+
}, G = F || function(X, J, te) {
|
|
6765
6767
|
var Z = X < 12 ? "AM" : "PM";
|
|
6766
6768
|
return te ? Z.toLowerCase() : Z;
|
|
6767
6769
|
};
|
|
6768
|
-
return m.replace(
|
|
6770
|
+
return m.replace(C, function(X, J) {
|
|
6769
6771
|
return J || function(te) {
|
|
6770
6772
|
switch (te) {
|
|
6771
6773
|
case "YY":
|
|
6772
6774
|
return String(o.$y).slice(-2);
|
|
6773
6775
|
case "YYYY":
|
|
6774
|
-
return
|
|
6776
|
+
return O.s(o.$y, 4, "0");
|
|
6775
6777
|
case "M":
|
|
6776
6778
|
return M + 1;
|
|
6777
6779
|
case "MM":
|
|
6778
|
-
return
|
|
6780
|
+
return O.s(M + 1, 2, "0");
|
|
6779
6781
|
case "MMM":
|
|
6780
6782
|
return W(z.monthsShort, M, H, 3);
|
|
6781
6783
|
case "MMMM":
|
|
@@ -6783,7 +6785,7 @@ function Yo() {
|
|
|
6783
6785
|
case "D":
|
|
6784
6786
|
return o.$D;
|
|
6785
6787
|
case "DD":
|
|
6786
|
-
return
|
|
6788
|
+
return O.s(o.$D, 2, "0");
|
|
6787
6789
|
case "d":
|
|
6788
6790
|
return String(o.$W);
|
|
6789
6791
|
case "dd":
|
|
@@ -6795,7 +6797,7 @@ function Yo() {
|
|
|
6795
6797
|
case "H":
|
|
6796
6798
|
return String(c);
|
|
6797
6799
|
case "HH":
|
|
6798
|
-
return
|
|
6800
|
+
return O.s(c, 2, "0");
|
|
6799
6801
|
case "h":
|
|
6800
6802
|
return B(1);
|
|
6801
6803
|
case "hh":
|
|
@@ -6807,24 +6809,24 @@ function Yo() {
|
|
|
6807
6809
|
case "m":
|
|
6808
6810
|
return String(S);
|
|
6809
6811
|
case "mm":
|
|
6810
|
-
return
|
|
6812
|
+
return O.s(S, 2, "0");
|
|
6811
6813
|
case "s":
|
|
6812
6814
|
return String(o.$s);
|
|
6813
6815
|
case "ss":
|
|
6814
|
-
return
|
|
6816
|
+
return O.s(o.$s, 2, "0");
|
|
6815
6817
|
case "SSS":
|
|
6816
|
-
return
|
|
6818
|
+
return O.s(o.$ms, 3, "0");
|
|
6817
6819
|
case "Z":
|
|
6818
6820
|
return n;
|
|
6819
6821
|
}
|
|
6820
6822
|
return null;
|
|
6821
6823
|
}(X) || n.replace(":", "");
|
|
6822
6824
|
});
|
|
6823
|
-
},
|
|
6825
|
+
}, k.utcOffset = function() {
|
|
6824
6826
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6825
|
-
},
|
|
6826
|
-
var m, n = this, c =
|
|
6827
|
-
return
|
|
6827
|
+
}, k.diff = function(T, o, z) {
|
|
6828
|
+
var m, n = this, c = O.p(o), S = d(T), M = (S.utcOffset() - this.utcOffset()) * i, L = this - S, H = function() {
|
|
6829
|
+
return O.m(n, S);
|
|
6828
6830
|
};
|
|
6829
6831
|
switch (c) {
|
|
6830
6832
|
case $:
|
|
@@ -6854,33 +6856,33 @@ function Yo() {
|
|
|
6854
6856
|
default:
|
|
6855
6857
|
m = L;
|
|
6856
6858
|
}
|
|
6857
|
-
return z ? m :
|
|
6858
|
-
},
|
|
6859
|
+
return z ? m : O.a(m);
|
|
6860
|
+
}, k.daysInMonth = function() {
|
|
6859
6861
|
return this.endOf(x).$D;
|
|
6860
|
-
},
|
|
6862
|
+
}, k.$locale = function() {
|
|
6861
6863
|
return b[this.$L];
|
|
6862
|
-
},
|
|
6864
|
+
}, k.locale = function(T, o) {
|
|
6863
6865
|
if (!T) return this.$L;
|
|
6864
6866
|
var z = this.clone(), m = y(T, o, !0);
|
|
6865
6867
|
return m && (z.$L = m), z;
|
|
6866
|
-
},
|
|
6867
|
-
return
|
|
6868
|
-
},
|
|
6868
|
+
}, k.clone = function() {
|
|
6869
|
+
return O.w(this.$d, this);
|
|
6870
|
+
}, k.toDate = function() {
|
|
6869
6871
|
return new Date(this.valueOf());
|
|
6870
|
-
},
|
|
6872
|
+
}, k.toJSON = function() {
|
|
6871
6873
|
return this.isValid() ? this.toISOString() : null;
|
|
6872
|
-
},
|
|
6874
|
+
}, k.toISOString = function() {
|
|
6873
6875
|
return this.$d.toISOString();
|
|
6874
|
-
},
|
|
6876
|
+
}, k.toString = function() {
|
|
6875
6877
|
return this.$d.toUTCString();
|
|
6876
6878
|
}, _;
|
|
6877
6879
|
}(), R = A.prototype;
|
|
6878
6880
|
return d.prototype = R, [["$ms", s], ["$s", f], ["$m", u], ["$H", l], ["$W", h], ["$M", x], ["$y", $], ["$D", E]].forEach(function(_) {
|
|
6879
|
-
R[_[1]] = function(
|
|
6880
|
-
return this.$g(
|
|
6881
|
+
R[_[1]] = function(k) {
|
|
6882
|
+
return this.$g(k, _[0], _[1]);
|
|
6881
6883
|
};
|
|
6882
|
-
}), d.extend = function(_,
|
|
6883
|
-
return _.$i || (_(
|
|
6884
|
+
}), d.extend = function(_, k) {
|
|
6885
|
+
return _.$i || (_(k, A, d), _.$i = !0), d;
|
|
6884
6886
|
}, d.locale = y, d.isDayjs = P, d.unix = function(_) {
|
|
6885
6887
|
return d(1e3 * _);
|
|
6886
6888
|
}, d.en = b[v], d.Ls = b, d.p = {}, d;
|
|
@@ -6920,8 +6922,8 @@ function Vo() {
|
|
|
6920
6922
|
};
|
|
6921
6923
|
var x = l.utcOffset;
|
|
6922
6924
|
l.utcOffset = function(p, I) {
|
|
6923
|
-
var
|
|
6924
|
-
if (
|
|
6925
|
+
var C = this.$utils().u;
|
|
6926
|
+
if (C(p)) return this.$u ? 0 : C(this.$offset) ? x.call(this) : this.$offset;
|
|
6925
6927
|
if (typeof p == "string" && (p = function(v) {
|
|
6926
6928
|
v === void 0 && (v = "");
|
|
6927
6929
|
var b = v.match(i);
|
|
@@ -6929,12 +6931,12 @@ function Vo() {
|
|
|
6929
6931
|
var w = ("" + b[0]).match(a) || ["-", 0, 0], P = w[0], y = 60 * +w[1] + +w[2];
|
|
6930
6932
|
return y === 0 ? 0 : P === "+" ? y : -y;
|
|
6931
6933
|
}(p), p === null)) return this;
|
|
6932
|
-
var
|
|
6933
|
-
if (
|
|
6934
|
+
var N = Math.abs(p) <= 16 ? 60 * p : p;
|
|
6935
|
+
if (N === 0) return this.utc(I);
|
|
6934
6936
|
var U = this.clone();
|
|
6935
|
-
if (I) return U.$offset =
|
|
6937
|
+
if (I) return U.$offset = N, U.$u = !1, U;
|
|
6936
6938
|
var V = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
6937
|
-
return (U = this.local().add(
|
|
6939
|
+
return (U = this.local().add(N + V, r)).$offset = N, U.$x.$localOffset = V, U;
|
|
6938
6940
|
};
|
|
6939
6941
|
var j = l.format;
|
|
6940
6942
|
l.format = function(p) {
|
|
@@ -6955,10 +6957,10 @@ function Vo() {
|
|
|
6955
6957
|
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : $.call(this);
|
|
6956
6958
|
};
|
|
6957
6959
|
var E = l.diff;
|
|
6958
|
-
l.diff = function(p, I,
|
|
6959
|
-
if (p && this.$u === p.$u) return E.call(this, p, I,
|
|
6960
|
-
var
|
|
6961
|
-
return E.call(
|
|
6960
|
+
l.diff = function(p, I, C) {
|
|
6961
|
+
if (p && this.$u === p.$u) return E.call(this, p, I, C);
|
|
6962
|
+
var N = this.local(), U = u(p).local();
|
|
6963
|
+
return E.call(N, U, I, C);
|
|
6962
6964
|
};
|
|
6963
6965
|
};
|
|
6964
6966
|
});
|