@eliseubatista99/react-scaffold-core 0.1.12 → 0.1.14
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/carousel/stories/carousel.stories.d.ts +4 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/timeHelper/index.d.ts +1 -0
- package/dist/helpers/timeHelper/timeHelper.d.ts +7 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useIsTouchingParentElement/index.d.ts +1 -0
- package/dist/hooks/useIsTouchingParentElement/useIsTouchingParentElement.d.ts +5 -0
- package/dist/index.cjs.js +14 -10
- package/dist/index.es.js +780 -727
- package/package.json +1 -1
- package/dist/components/carousel/stories/setup.d.ts +0 -2
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _ from "react";
|
|
2
|
-
import U, { forwardRef as
|
|
2
|
+
import U, { forwardRef as pn, useContext as Nt, useEffect as Er, useState as vn, useMemo as mn } from "react";
|
|
3
3
|
var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function yn(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -100,7 +100,7 @@ function wn() {
|
|
|
100
100
|
return "Portal";
|
|
101
101
|
case q:
|
|
102
102
|
return (n.displayName || "Context") + ".Provider";
|
|
103
|
-
case
|
|
103
|
+
case N:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
105
|
case B:
|
|
106
106
|
var u = n.render;
|
|
@@ -175,16 +175,16 @@ function wn() {
|
|
|
175
175
|
}
|
|
176
176
|
function d() {
|
|
177
177
|
var n = e(this.type);
|
|
178
|
-
return
|
|
178
|
+
return F[n] || (F[n] = !0, console.error(
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function h(n, u, S, M, j,
|
|
183
|
-
return S =
|
|
184
|
-
$$typeof:
|
|
182
|
+
function h(n, u, S, M, j, H, z, $) {
|
|
183
|
+
return S = H.ref, n = {
|
|
184
|
+
$$typeof: A,
|
|
185
185
|
type: n,
|
|
186
186
|
key: u,
|
|
187
|
-
props:
|
|
187
|
+
props: H,
|
|
188
188
|
_owner: j
|
|
189
189
|
}, (S !== void 0 ? S : null) !== null ? Object.defineProperty(n, "ref", {
|
|
190
190
|
enumerable: !1,
|
|
@@ -203,27 +203,27 @@ function wn() {
|
|
|
203
203
|
configurable: !1,
|
|
204
204
|
enumerable: !1,
|
|
205
205
|
writable: !0,
|
|
206
|
-
value:
|
|
206
|
+
value: z
|
|
207
207
|
}), Object.defineProperty(n, "_debugTask", {
|
|
208
208
|
configurable: !1,
|
|
209
209
|
enumerable: !1,
|
|
210
210
|
writable: !0,
|
|
211
|
-
value:
|
|
211
|
+
value: $
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function w(n, u, S, M, j,
|
|
214
|
+
function w(n, u, S, M, j, H, z, $) {
|
|
215
215
|
var Y = u.children;
|
|
216
216
|
if (Y !== void 0)
|
|
217
217
|
if (M)
|
|
218
218
|
if (x(Y)) {
|
|
219
219
|
for (M = 0; M < Y.length; M++)
|
|
220
|
-
|
|
220
|
+
E(Y[M]);
|
|
221
221
|
Object.freeze && Object.freeze(Y);
|
|
222
222
|
} else
|
|
223
223
|
console.error(
|
|
224
224
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
225
225
|
);
|
|
226
|
-
else
|
|
226
|
+
else E(Y);
|
|
227
227
|
if (L.call(u, "key")) {
|
|
228
228
|
Y = e(n);
|
|
229
229
|
var V = Object.keys(u).filter(function(re) {
|
|
@@ -253,31 +253,31 @@ React keys must be passed directly to JSX without using spread:
|
|
|
253
253
|
), h(
|
|
254
254
|
n,
|
|
255
255
|
Y,
|
|
256
|
-
|
|
256
|
+
H,
|
|
257
257
|
j,
|
|
258
258
|
i(),
|
|
259
259
|
S,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
z,
|
|
261
|
+
$
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
typeof n == "object" && n !== null && n.$$typeof ===
|
|
264
|
+
function E(n) {
|
|
265
|
+
typeof n == "object" && n !== null && n.$$typeof === A && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var R = U, A = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), q = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), m = Symbol.for("react.activity"), c = Symbol.for("react.client.reference"), P = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, x = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
|
-
|
|
270
|
+
R = {
|
|
271
271
|
"react-stack-bottom-frame": function(n) {
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var D,
|
|
276
|
-
|
|
275
|
+
var D, F = {}, s = R["react-stack-bottom-frame"].bind(
|
|
276
|
+
R,
|
|
277
277
|
a
|
|
278
278
|
)(), J = T(o(a)), b = {};
|
|
279
279
|
ze.Fragment = v, ze.jsx = function(n, u, S, M, j) {
|
|
280
|
-
var
|
|
280
|
+
var H = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return w(
|
|
282
282
|
n,
|
|
283
283
|
u,
|
|
@@ -285,11 +285,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
285
285
|
!1,
|
|
286
286
|
M,
|
|
287
287
|
j,
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
H ? Error("react-stack-top-frame") : s,
|
|
289
|
+
H ? T(o(n)) : J
|
|
290
290
|
);
|
|
291
291
|
}, ze.jsxs = function(n, u, S, M, j) {
|
|
292
|
-
var
|
|
292
|
+
var H = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return w(
|
|
294
294
|
n,
|
|
295
295
|
u,
|
|
@@ -297,8 +297,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
297
297
|
!0,
|
|
298
298
|
M,
|
|
299
299
|
j,
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
H ? Error("react-stack-top-frame") : s,
|
|
301
|
+
H ? T(o(n)) : J
|
|
302
302
|
);
|
|
303
303
|
};
|
|
304
304
|
}()), ze;
|
|
@@ -308,7 +308,7 @@ function Sn() {
|
|
|
308
308
|
return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? rt.exports = bn() : rt.exports = wn()), rt.exports;
|
|
309
309
|
}
|
|
310
310
|
var G = Sn();
|
|
311
|
-
const
|
|
311
|
+
const Ma = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
@@ -328,7 +328,7 @@ const Da = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
|
|
|
328
328
|
children: e
|
|
329
329
|
}
|
|
330
330
|
);
|
|
331
|
-
var xt = {}, kt = {},
|
|
331
|
+
var xt = {}, kt = {}, He = {}, Ot = {}, Zt;
|
|
332
332
|
function xn() {
|
|
333
333
|
return Zt || (Zt = 1, function(e) {
|
|
334
334
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -372,65 +372,65 @@ var Ct, Qt;
|
|
|
372
372
|
function kn() {
|
|
373
373
|
if (Qt) return Ct;
|
|
374
374
|
Qt = 1;
|
|
375
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", o = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, l = /^0o[0-7]+$/i, f = parseInt, d = typeof tt == "object" && tt && tt.Object === Object && tt, h = typeof self == "object" && self && self.Object === Object && self, w = d || h || Function("return this")(),
|
|
375
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", o = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, l = /^0o[0-7]+$/i, f = parseInt, d = typeof tt == "object" && tt && tt.Object === Object && tt, h = typeof self == "object" && self && self.Object === Object && self, w = d || h || Function("return this")(), E = Object.prototype, R = E.toString, A = Math.max, C = Math.min, v = function() {
|
|
376
376
|
return w.Date.now();
|
|
377
377
|
};
|
|
378
378
|
function I(p, y, g) {
|
|
379
|
-
var k, m, c, P, L, x, T = 0, D = !1,
|
|
379
|
+
var k, m, c, P, L, x, T = 0, D = !1, F = !1, s = !0;
|
|
380
380
|
if (typeof p != "function")
|
|
381
381
|
throw new TypeError(e);
|
|
382
|
-
y = B(y) || 0, O(g) && (D = !!g.leading,
|
|
383
|
-
function J(
|
|
382
|
+
y = B(y) || 0, O(g) && (D = !!g.leading, F = "maxWait" in g, c = F ? A(B(g.maxWait) || 0, y) : c, s = "trailing" in g ? !!g.trailing : s);
|
|
383
|
+
function J($) {
|
|
384
384
|
var Y = k, V = m;
|
|
385
|
-
return k = m = void 0, T =
|
|
385
|
+
return k = m = void 0, T = $, P = p.apply(V, Y), P;
|
|
386
386
|
}
|
|
387
|
-
function b(
|
|
388
|
-
return T =
|
|
387
|
+
function b($) {
|
|
388
|
+
return T = $, L = setTimeout(S, y), D ? J($) : P;
|
|
389
389
|
}
|
|
390
|
-
function n(
|
|
391
|
-
var Y =
|
|
392
|
-
return
|
|
390
|
+
function n($) {
|
|
391
|
+
var Y = $ - x, V = $ - T, X = y - Y;
|
|
392
|
+
return F ? C(X, c - V) : X;
|
|
393
393
|
}
|
|
394
|
-
function u(
|
|
395
|
-
var Y =
|
|
396
|
-
return x === void 0 || Y >= y || Y < 0 ||
|
|
394
|
+
function u($) {
|
|
395
|
+
var Y = $ - x, V = $ - T;
|
|
396
|
+
return x === void 0 || Y >= y || Y < 0 || F && V >= c;
|
|
397
397
|
}
|
|
398
398
|
function S() {
|
|
399
|
-
var
|
|
400
|
-
if (u(
|
|
401
|
-
return M(
|
|
402
|
-
L = setTimeout(S, n(
|
|
399
|
+
var $ = v();
|
|
400
|
+
if (u($))
|
|
401
|
+
return M($);
|
|
402
|
+
L = setTimeout(S, n($));
|
|
403
403
|
}
|
|
404
|
-
function M(
|
|
405
|
-
return L = void 0, s && k ? J(
|
|
404
|
+
function M($) {
|
|
405
|
+
return L = void 0, s && k ? J($) : (k = m = void 0, P);
|
|
406
406
|
}
|
|
407
407
|
function j() {
|
|
408
408
|
L !== void 0 && clearTimeout(L), T = 0, k = x = m = L = void 0;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function H() {
|
|
411
411
|
return L === void 0 ? P : M(v());
|
|
412
412
|
}
|
|
413
|
-
function
|
|
414
|
-
var
|
|
415
|
-
if (k = arguments, m = this, x =
|
|
413
|
+
function z() {
|
|
414
|
+
var $ = v(), Y = u($);
|
|
415
|
+
if (k = arguments, m = this, x = $, Y) {
|
|
416
416
|
if (L === void 0)
|
|
417
417
|
return b(x);
|
|
418
|
-
if (
|
|
418
|
+
if (F)
|
|
419
419
|
return L = setTimeout(S, y), J(x);
|
|
420
420
|
}
|
|
421
421
|
return L === void 0 && (L = setTimeout(S, y)), P;
|
|
422
422
|
}
|
|
423
|
-
return
|
|
423
|
+
return z.cancel = j, z.flush = H, z;
|
|
424
424
|
}
|
|
425
425
|
function O(p) {
|
|
426
426
|
var y = typeof p;
|
|
427
427
|
return !!p && (y == "object" || y == "function");
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function N(p) {
|
|
430
430
|
return !!p && typeof p == "object";
|
|
431
431
|
}
|
|
432
432
|
function q(p) {
|
|
433
|
-
return typeof p == "symbol" ||
|
|
433
|
+
return typeof p == "symbol" || N(p) && R.call(p) == r;
|
|
434
434
|
}
|
|
435
435
|
function B(p) {
|
|
436
436
|
if (typeof p == "number")
|
|
@@ -456,7 +456,7 @@ var Pt = { exports: {} };
|
|
|
456
456
|
http://jedwatson.github.io/classnames
|
|
457
457
|
*/
|
|
458
458
|
var er;
|
|
459
|
-
function
|
|
459
|
+
function pt() {
|
|
460
460
|
return er || (er = 1, function(e) {
|
|
461
461
|
(function() {
|
|
462
462
|
var t = {}.hasOwnProperty;
|
|
@@ -626,19 +626,19 @@ function Ge() {
|
|
|
626
626
|
var w = W.safePreventDefault = function(n) {
|
|
627
627
|
var u = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
628
628
|
u.includes(n._reactName) || n.preventDefault();
|
|
629
|
-
},
|
|
630
|
-
for (var u = [], S =
|
|
629
|
+
}, E = W.getOnDemandLazySlides = function(n) {
|
|
630
|
+
for (var u = [], S = R(n), M = A(n), j = S; j < M; j++)
|
|
631
631
|
n.lazyLoadedList.indexOf(j) < 0 && u.push(j);
|
|
632
632
|
return u;
|
|
633
633
|
};
|
|
634
634
|
W.getRequiredLazySlides = function(n) {
|
|
635
|
-
for (var u = [], S =
|
|
635
|
+
for (var u = [], S = R(n), M = A(n), j = S; j < M; j++)
|
|
636
636
|
u.push(j);
|
|
637
637
|
return u;
|
|
638
638
|
};
|
|
639
|
-
var
|
|
639
|
+
var R = W.lazyStartIndex = function(n) {
|
|
640
640
|
return n.currentSlide - C(n);
|
|
641
|
-
},
|
|
641
|
+
}, A = W.lazyEndIndex = function(n) {
|
|
642
642
|
return n.currentSlide + v(n);
|
|
643
643
|
}, C = W.lazySlidesOnLeft = function(n) {
|
|
644
644
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
@@ -648,9 +648,9 @@ function Ge() {
|
|
|
648
648
|
return n && n.offsetWidth || 0;
|
|
649
649
|
}, O = W.getHeight = function(n) {
|
|
650
650
|
return n && n.offsetHeight || 0;
|
|
651
|
-
},
|
|
652
|
-
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, M, j,
|
|
653
|
-
return S = n.startX - n.curX, M = n.startY - n.curY, j = Math.atan2(M, S),
|
|
651
|
+
}, N = W.getSwipeDirection = function(n) {
|
|
652
|
+
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, M, j, H;
|
|
653
|
+
return S = n.startX - n.curX, M = n.startY - n.curY, j = Math.atan2(M, S), H = Math.round(j * 180 / Math.PI), H < 0 && (H = 360 - Math.abs(H)), H <= 45 && H >= 0 || H <= 360 && H >= 315 ? "left" : H >= 135 && H <= 225 ? "right" : u === !0 ? H >= 35 && H <= 135 ? "up" : "down" : "vertical";
|
|
654
654
|
}, q = W.canGoNext = function(n) {
|
|
655
655
|
var u = !0;
|
|
656
656
|
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (u = !1), u;
|
|
@@ -661,25 +661,25 @@ function Ge() {
|
|
|
661
661
|
return S[M] = n[M];
|
|
662
662
|
}), S;
|
|
663
663
|
}, W.initializedState = function(n) {
|
|
664
|
-
var u = e.default.Children.count(n.children), S = n.listRef, M = Math.ceil(I(S)), j = n.trackRef && n.trackRef.node,
|
|
664
|
+
var u = e.default.Children.count(n.children), S = n.listRef, M = Math.ceil(I(S)), j = n.trackRef && n.trackRef.node, H = Math.ceil(I(j)), z;
|
|
665
665
|
if (n.vertical)
|
|
666
|
-
|
|
666
|
+
z = M;
|
|
667
667
|
else {
|
|
668
|
-
var
|
|
669
|
-
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (
|
|
668
|
+
var $ = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
669
|
+
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && ($ *= M / 100), z = Math.ceil((M - $) / n.slidesToShow);
|
|
670
670
|
}
|
|
671
671
|
var Y = S && O(S.querySelector('[data-index="0"]')), V = Y * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
672
672
|
n.rtl && n.currentSlide === void 0 && (X = u - 1 - n.initialSlide);
|
|
673
|
-
var re = n.lazyLoadedList || [], ie =
|
|
673
|
+
var re = n.lazyLoadedList || [], ie = E(a(a({}, n), {}, {
|
|
674
674
|
currentSlide: X,
|
|
675
675
|
lazyLoadedList: re
|
|
676
676
|
}));
|
|
677
677
|
re = re.concat(ie);
|
|
678
678
|
var Q = {
|
|
679
679
|
slideCount: u,
|
|
680
|
-
slideWidth:
|
|
680
|
+
slideWidth: z,
|
|
681
681
|
listWidth: M,
|
|
682
|
-
trackWidth:
|
|
682
|
+
trackWidth: H,
|
|
683
683
|
currentSlide: X,
|
|
684
684
|
slideHeight: Y,
|
|
685
685
|
listHeight: V,
|
|
@@ -687,12 +687,12 @@ function Ge() {
|
|
|
687
687
|
};
|
|
688
688
|
return n.autoplaying === null && n.autoplay && (Q.autoplaying = "playing"), Q;
|
|
689
689
|
}, W.slideHandler = function(n) {
|
|
690
|
-
var u = n.waitForAnimate, S = n.animating, M = n.fade, j = n.infinite,
|
|
690
|
+
var u = n.waitForAnimate, S = n.animating, M = n.fade, j = n.infinite, H = n.index, z = n.slideCount, $ = n.lazyLoad, Y = n.currentSlide, V = n.centerMode, X = n.slidesToScroll, re = n.slidesToShow, ie = n.useCSS, Q = n.lazyLoadedList;
|
|
691
691
|
if (u && S) return {};
|
|
692
|
-
var Z =
|
|
692
|
+
var Z = H, ne, le, K, ae = {}, ue = {}, ce = j ? H : h(H, 0, z - 1);
|
|
693
693
|
if (M) {
|
|
694
|
-
if (!j && (
|
|
695
|
-
|
|
694
|
+
if (!j && (H < 0 || H >= z)) return {};
|
|
695
|
+
H < 0 ? Z = H + z : H >= z && (Z = H - z), $ && Q.indexOf(Z) < 0 && (Q = Q.concat(Z)), ae = {
|
|
696
696
|
animating: !0,
|
|
697
697
|
currentSlide: Z,
|
|
698
698
|
lazyLoadedList: Q,
|
|
@@ -702,11 +702,11 @@ function Ge() {
|
|
|
702
702
|
targetSlide: Z
|
|
703
703
|
};
|
|
704
704
|
} else
|
|
705
|
-
ne = Z, Z < 0 ? (ne = Z +
|
|
705
|
+
ne = Z, Z < 0 ? (ne = Z + z, j ? z % X !== 0 && (ne = z - z % X) : ne = 0) : !q(n) && Z > Y ? Z = ne = Y : V && Z >= z ? (Z = j ? z : z - 1, ne = j ? 0 : z - 1) : Z >= z && (ne = Z - z, j ? z % X !== 0 && (ne = 0) : ne = z - re), !j && Z + re >= z && (ne = z - re), le = c(a(a({}, n), {}, {
|
|
706
706
|
slideIndex: Z
|
|
707
707
|
})), K = c(a(a({}, n), {}, {
|
|
708
708
|
slideIndex: ne
|
|
709
|
-
})), j || (le === K && (Z = ne), le = K),
|
|
709
|
+
})), j || (le === K && (Z = ne), le = K), $ && (Q = Q.concat(E(a(a({}, n), {}, {
|
|
710
710
|
currentSlide: Z
|
|
711
711
|
})))), ie ? (ae = {
|
|
712
712
|
animating: !0,
|
|
@@ -737,22 +737,22 @@ function Ge() {
|
|
|
737
737
|
nextState: ue
|
|
738
738
|
};
|
|
739
739
|
}, W.changeSlide = function(n, u) {
|
|
740
|
-
var S, M, j,
|
|
741
|
-
if (
|
|
742
|
-
j = S === 0 ?
|
|
740
|
+
var S, M, j, H, z, $ = n.slidesToScroll, Y = n.slidesToShow, V = n.slideCount, X = n.currentSlide, re = n.targetSlide, ie = n.lazyLoad, Q = n.infinite;
|
|
741
|
+
if (H = V % $ !== 0, S = H ? 0 : (V - X) % $, u.message === "previous")
|
|
742
|
+
j = S === 0 ? $ : Y - S, z = X - j, ie && !Q && (M = X - j, z = M === -1 ? V - 1 : M), Q || (z = re - $);
|
|
743
743
|
else if (u.message === "next")
|
|
744
|
-
j = S === 0 ?
|
|
744
|
+
j = S === 0 ? $ : S, z = X + j, ie && !Q && (z = (X + $) % V + S), Q || (z = re + $);
|
|
745
745
|
else if (u.message === "dots")
|
|
746
|
-
|
|
746
|
+
z = u.index * u.slidesToScroll;
|
|
747
747
|
else if (u.message === "children") {
|
|
748
|
-
if (
|
|
748
|
+
if (z = u.index, Q) {
|
|
749
749
|
var Z = T(a(a({}, n), {}, {
|
|
750
|
-
targetSlide:
|
|
750
|
+
targetSlide: z
|
|
751
751
|
}));
|
|
752
|
-
|
|
752
|
+
z > u.currentSlide && Z === "left" ? z = z - V : z < u.currentSlide && Z === "right" && (z = z + V);
|
|
753
753
|
}
|
|
754
|
-
} else u.message === "index" && (
|
|
755
|
-
return
|
|
754
|
+
} else u.message === "index" && (z = Number(u.index));
|
|
755
|
+
return z;
|
|
756
756
|
}, W.keyHandler = function(n, u, S) {
|
|
757
757
|
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !u ? "" : n.keyCode === 37 ? S ? "next" : "previous" : n.keyCode === 39 ? S ? "previous" : "next" : "";
|
|
758
758
|
}, W.swipeStart = function(n, u, S) {
|
|
@@ -766,34 +766,34 @@ function Ge() {
|
|
|
766
766
|
}
|
|
767
767
|
};
|
|
768
768
|
}, W.swipeMove = function(n, u) {
|
|
769
|
-
var S = u.scrolling, M = u.animating, j = u.vertical,
|
|
769
|
+
var S = u.scrolling, M = u.animating, j = u.vertical, H = u.swipeToSlide, z = u.verticalSwiping, $ = u.rtl, Y = u.currentSlide, V = u.edgeFriction, X = u.edgeDragged, re = u.onEdge, ie = u.swiped, Q = u.swiping, Z = u.slideCount, ne = u.slidesToScroll, le = u.infinite, K = u.touchObject, ae = u.swipeEvent, ue = u.listHeight, ce = u.listWidth;
|
|
770
770
|
if (!S) {
|
|
771
771
|
if (M) return w(n);
|
|
772
|
-
j &&
|
|
773
|
-
var
|
|
772
|
+
j && H && z && w(n);
|
|
773
|
+
var pe, Pe = {}, et = c(u);
|
|
774
774
|
K.curX = n.touches ? n.touches[0].pageX : n.clientX, K.curY = n.touches ? n.touches[0].pageY : n.clientY, K.swipeLength = Math.round(Math.sqrt(Math.pow(K.curX - K.startX, 2)));
|
|
775
775
|
var Xt = Math.round(Math.sqrt(Math.pow(K.curY - K.startY, 2)));
|
|
776
|
-
if (!
|
|
776
|
+
if (!z && !Q && Xt > 10)
|
|
777
777
|
return {
|
|
778
778
|
scrolling: !0
|
|
779
779
|
};
|
|
780
|
-
|
|
781
|
-
var Me = (
|
|
782
|
-
|
|
783
|
-
var
|
|
784
|
-
return le || (Y === 0 && (Oe === "right" || Oe === "down") || Y + 1 >=
|
|
780
|
+
z && (K.swipeLength = Xt);
|
|
781
|
+
var Me = ($ ? -1 : 1) * (K.curX > K.startX ? 1 : -1);
|
|
782
|
+
z && (Me = K.curY > K.startY ? 1 : -1);
|
|
783
|
+
var hn = Math.ceil(Z / ne), Oe = N(u.touchObject, z), Ie = K.swipeLength;
|
|
784
|
+
return le || (Y === 0 && (Oe === "right" || Oe === "down") || Y + 1 >= hn && (Oe === "left" || Oe === "up") || !q(u) && (Oe === "left" || Oe === "up")) && (Ie = K.swipeLength * V, X === !1 && re && (re(Oe), Pe.edgeDragged = !0)), !ie && ae && (ae(Oe), Pe.swiped = !0), j ? pe = et + Ie * (ue / ce) * Me : $ ? pe = et - Ie * Me : pe = et + Ie * Me, z && (pe = et + Ie * Me), Pe = a(a({}, Pe), {}, {
|
|
785
785
|
touchObject: K,
|
|
786
|
-
swipeLeft:
|
|
786
|
+
swipeLeft: pe,
|
|
787
787
|
trackStyle: k(a(a({}, u), {}, {
|
|
788
|
-
left:
|
|
788
|
+
left: pe
|
|
789
789
|
}))
|
|
790
790
|
}), Math.abs(K.curX - K.startX) < Math.abs(K.curY - K.startY) * 0.8 || K.swipeLength > 10 && (Pe.swiping = !0, w(n)), Pe;
|
|
791
791
|
}
|
|
792
792
|
}, W.swipeEnd = function(n, u) {
|
|
793
|
-
var S = u.dragging, M = u.swipe, j = u.touchObject,
|
|
793
|
+
var S = u.dragging, M = u.swipe, j = u.touchObject, H = u.listWidth, z = u.touchThreshold, $ = u.verticalSwiping, Y = u.listHeight, V = u.swipeToSlide, X = u.scrolling, re = u.onSwipe, ie = u.targetSlide, Q = u.currentSlide, Z = u.infinite;
|
|
794
794
|
if (!S)
|
|
795
795
|
return M && w(n), {};
|
|
796
|
-
var ne =
|
|
796
|
+
var ne = $ ? Y / z : H / z, le = N(j, $), K = {
|
|
797
797
|
dragging: !1,
|
|
798
798
|
edgeDragged: !1,
|
|
799
799
|
scrolling: !1,
|
|
@@ -821,9 +821,9 @@ function Ge() {
|
|
|
821
821
|
}
|
|
822
822
|
K.triggerSlideHandler = ae;
|
|
823
823
|
} else {
|
|
824
|
-
var
|
|
824
|
+
var pe = c(u);
|
|
825
825
|
K.trackStyle = m(a(a({}, u), {}, {
|
|
826
|
-
left:
|
|
826
|
+
left: pe
|
|
827
827
|
}));
|
|
828
828
|
}
|
|
829
829
|
return K;
|
|
@@ -849,17 +849,17 @@ function Ge() {
|
|
|
849
849
|
var u = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
850
850
|
if (n.swipeToSlide) {
|
|
851
851
|
var S, M = n.listRef, j = M.querySelectorAll && M.querySelectorAll(".slick-slide") || [];
|
|
852
|
-
if (Array.from(j).every(function(
|
|
852
|
+
if (Array.from(j).every(function($) {
|
|
853
853
|
if (n.vertical) {
|
|
854
|
-
if (
|
|
855
|
-
return S =
|
|
856
|
-
} else if (
|
|
857
|
-
return S =
|
|
854
|
+
if ($.offsetTop + O($) / 2 > n.swipeLeft * -1)
|
|
855
|
+
return S = $, !1;
|
|
856
|
+
} else if ($.offsetLeft - u + I($) / 2 > n.swipeLeft * -1)
|
|
857
|
+
return S = $, !1;
|
|
858
858
|
return !0;
|
|
859
859
|
}), !S)
|
|
860
860
|
return 0;
|
|
861
|
-
var
|
|
862
|
-
return
|
|
861
|
+
var H = n.rtl === !0 ? n.slideCount - n.currentSlide : n.currentSlide, z = Math.abs(S.dataset.index - H) || 1;
|
|
862
|
+
return z;
|
|
863
863
|
} else
|
|
864
864
|
return n.slidesToScroll;
|
|
865
865
|
}, g = W.checkSpecKeys = function(n, u) {
|
|
@@ -881,11 +881,11 @@ function Ge() {
|
|
|
881
881
|
WebkitTransition: ""
|
|
882
882
|
};
|
|
883
883
|
if (n.useTransform) {
|
|
884
|
-
var
|
|
884
|
+
var H = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", z = n.vertical ? "translate3d(0px, " + n.left + "px, 0px)" : "translate3d(" + n.left + "px, 0px, 0px)", $ = n.vertical ? "translateY(" + n.left + "px)" : "translateX(" + n.left + "px)";
|
|
885
885
|
j = a(a({}, j), {}, {
|
|
886
|
-
WebkitTransform:
|
|
887
|
-
transform:
|
|
888
|
-
msTransform:
|
|
886
|
+
WebkitTransform: H,
|
|
887
|
+
transform: z,
|
|
888
|
+
msTransform: $
|
|
889
889
|
});
|
|
890
890
|
} else
|
|
891
891
|
n.vertical ? j.top = n.left : j.left = n.left;
|
|
@@ -900,16 +900,16 @@ function Ge() {
|
|
|
900
900
|
if (n.unslick)
|
|
901
901
|
return 0;
|
|
902
902
|
g(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
903
|
-
var u = n.slideIndex, S = n.trackRef, M = n.infinite, j = n.centerMode,
|
|
903
|
+
var u = n.slideIndex, S = n.trackRef, M = n.infinite, j = n.centerMode, H = n.slideCount, z = n.slidesToShow, $ = n.slidesToScroll, Y = n.slideWidth, V = n.listWidth, X = n.variableWidth, re = n.slideHeight, ie = n.fade, Q = n.vertical, Z = 0, ne, le, K = 0;
|
|
904
904
|
if (ie || n.slideCount === 1)
|
|
905
905
|
return 0;
|
|
906
906
|
var ae = 0;
|
|
907
|
-
if (M ? (ae = -P(n),
|
|
907
|
+
if (M ? (ae = -P(n), H % $ !== 0 && u + $ > H && (ae = -(u > H ? z - (u - H) : H % $)), j && (ae += parseInt(z / 2))) : (H % $ !== 0 && u + $ > H && (ae = z - H % $), j && (ae = parseInt(z / 2))), Z = ae * Y, K = ae * re, Q ? ne = u * re * -1 + K : ne = u * Y * -1 + Z, X === !0) {
|
|
908
908
|
var ue, ce = S && S.node;
|
|
909
909
|
if (ue = u + P(n), le = ce && ce.childNodes[ue], ne = le ? le.offsetLeft * -1 : 0, j === !0) {
|
|
910
910
|
ue = M ? u + P(n) : u, le = ce && ce.children[ue], ne = 0;
|
|
911
|
-
for (var
|
|
912
|
-
ne -= ce && ce.children[
|
|
911
|
+
for (var pe = 0; pe < ue; pe++)
|
|
912
|
+
ne -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
913
913
|
ne -= parseInt(n.centerPadding), ne += le && (V - le.offsetWidth) / 2;
|
|
914
914
|
}
|
|
915
915
|
}
|
|
@@ -921,19 +921,19 @@ function Ge() {
|
|
|
921
921
|
}, x = W.getTotalSlides = function(n) {
|
|
922
922
|
return n.slideCount === 1 ? 1 : P(n) + n.slideCount + L(n);
|
|
923
923
|
}, T = W.siblingDirection = function(n) {
|
|
924
|
-
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + D(n) ? "left" : "right" : n.targetSlide < n.currentSlide -
|
|
924
|
+
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + D(n) ? "left" : "right" : n.targetSlide < n.currentSlide - F(n) ? "right" : "left";
|
|
925
925
|
}, D = W.slidesOnRight = function(n) {
|
|
926
926
|
var u = n.slidesToShow, S = n.centerMode, M = n.rtl, j = n.centerPadding;
|
|
927
927
|
if (S) {
|
|
928
|
-
var
|
|
929
|
-
return parseInt(j) > 0 && (
|
|
928
|
+
var H = (u - 1) / 2 + 1;
|
|
929
|
+
return parseInt(j) > 0 && (H += 1), M && u % 2 === 0 && (H += 1), H;
|
|
930
930
|
}
|
|
931
931
|
return M ? 0 : u - 1;
|
|
932
|
-
},
|
|
932
|
+
}, F = W.slidesOnLeft = function(n) {
|
|
933
933
|
var u = n.slidesToShow, S = n.centerMode, M = n.rtl, j = n.centerPadding;
|
|
934
934
|
if (S) {
|
|
935
|
-
var
|
|
936
|
-
return parseInt(j) > 0 && (
|
|
935
|
+
var H = (u - 1) / 2 + 1;
|
|
936
|
+
return parseInt(j) > 0 && (H += 1), !M && u % 2 === 0 && (H += 1), H;
|
|
937
937
|
}
|
|
938
938
|
return M ? u - 1 : 0;
|
|
939
939
|
};
|
|
@@ -948,13 +948,13 @@ function Ge() {
|
|
|
948
948
|
}
|
|
949
949
|
return W;
|
|
950
950
|
}
|
|
951
|
-
var
|
|
951
|
+
var Ne = {}, nr;
|
|
952
952
|
function On() {
|
|
953
|
-
if (nr) return
|
|
954
|
-
nr = 1, Object.defineProperty(
|
|
953
|
+
if (nr) return Ne;
|
|
954
|
+
nr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
955
955
|
value: !0
|
|
956
|
-
}),
|
|
957
|
-
var e = o(U), t = o(
|
|
956
|
+
}), Ne.Track = void 0;
|
|
957
|
+
var e = o(U), t = o(pt()), r = Ge();
|
|
958
958
|
function o(m) {
|
|
959
959
|
return m && m.__esModule ? m : { default: m };
|
|
960
960
|
}
|
|
@@ -997,7 +997,7 @@ function On() {
|
|
|
997
997
|
return P.__proto__ = L, P;
|
|
998
998
|
}, w(m, c);
|
|
999
999
|
}
|
|
1000
|
-
function
|
|
1000
|
+
function E(m) {
|
|
1001
1001
|
var c = C();
|
|
1002
1002
|
return function() {
|
|
1003
1003
|
var P, L = v(m);
|
|
@@ -1005,15 +1005,15 @@ function On() {
|
|
|
1005
1005
|
var x = v(this).constructor;
|
|
1006
1006
|
P = Reflect.construct(L, arguments, x);
|
|
1007
1007
|
} else P = L.apply(this, arguments);
|
|
1008
|
-
return
|
|
1008
|
+
return R(this, P);
|
|
1009
1009
|
};
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function R(m, c) {
|
|
1012
1012
|
if (c && (i(c) == "object" || typeof c == "function")) return c;
|
|
1013
1013
|
if (c !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1014
|
-
return
|
|
1014
|
+
return A(m);
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function A(m) {
|
|
1017
1017
|
if (m === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1018
1018
|
return m;
|
|
1019
1019
|
}
|
|
@@ -1046,14 +1046,14 @@ function On() {
|
|
|
1046
1046
|
for (var c = 1; c < arguments.length; c++) {
|
|
1047
1047
|
var P = arguments[c] != null ? arguments[c] : {};
|
|
1048
1048
|
c % 2 ? I(Object(P), !0).forEach(function(L) {
|
|
1049
|
-
|
|
1049
|
+
N(m, L, P[L]);
|
|
1050
1050
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(P)) : I(Object(P)).forEach(function(L) {
|
|
1051
1051
|
Object.defineProperty(m, L, Object.getOwnPropertyDescriptor(P, L));
|
|
1052
1052
|
});
|
|
1053
1053
|
}
|
|
1054
1054
|
return m;
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function N(m, c, P) {
|
|
1057
1057
|
return (c = q(c)) in m ? Object.defineProperty(m, c, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : m[c] = P, m;
|
|
1058
1058
|
}
|
|
1059
1059
|
function q(m) {
|
|
@@ -1073,9 +1073,9 @@ function On() {
|
|
|
1073
1073
|
var p = function(c) {
|
|
1074
1074
|
var P, L, x, T, D;
|
|
1075
1075
|
c.rtl ? D = c.slideCount - 1 - c.index : D = c.index, x = D < 0 || D >= c.slideCount, c.centerMode ? (T = Math.floor(c.slidesToShow / 2), L = (D - c.currentSlide) % c.slideCount === 0, D > c.currentSlide - T - 1 && D <= c.currentSlide + T && (P = !0)) : P = c.currentSlide <= D && D < c.currentSlide + c.slidesToShow;
|
|
1076
|
-
var
|
|
1077
|
-
c.targetSlide < 0 ?
|
|
1078
|
-
var s = D ===
|
|
1076
|
+
var F;
|
|
1077
|
+
c.targetSlide < 0 ? F = c.targetSlide + c.slideCount : c.targetSlide >= c.slideCount ? F = c.targetSlide - c.slideCount : F = c.targetSlide;
|
|
1078
|
+
var s = D === F;
|
|
1079
1079
|
return {
|
|
1080
1080
|
"slick-slide": !0,
|
|
1081
1081
|
"slick-active": P,
|
|
@@ -1090,7 +1090,7 @@ function On() {
|
|
|
1090
1090
|
}, g = function(c, P) {
|
|
1091
1091
|
return c.key || P;
|
|
1092
1092
|
}, k = function(c) {
|
|
1093
|
-
var P, L = [], x = [], T = [], D = e.default.Children.count(c.children),
|
|
1093
|
+
var P, L = [], x = [], T = [], D = e.default.Children.count(c.children), F = (0, r.lazyStartIndex)(c), s = (0, r.lazyEndIndex)(c);
|
|
1094
1094
|
return e.default.Children.forEach(c.children, function(J, b) {
|
|
1095
1095
|
var n, u = {
|
|
1096
1096
|
message: "children",
|
|
@@ -1113,12 +1113,12 @@ function On() {
|
|
|
1113
1113
|
style: O(O({
|
|
1114
1114
|
outline: "none"
|
|
1115
1115
|
}, n.props.style || {}), S),
|
|
1116
|
-
onClick: function(
|
|
1117
|
-
n.props && n.props.onClick && n.props.onClick(
|
|
1116
|
+
onClick: function($) {
|
|
1117
|
+
n.props && n.props.onClick && n.props.onClick($), c.focusOnSelect && c.focusOnSelect(u);
|
|
1118
1118
|
}
|
|
1119
1119
|
})), c.infinite && D > 1 && c.fade === !1 && !c.unslick) {
|
|
1120
|
-
var
|
|
1121
|
-
|
|
1120
|
+
var H = D - b;
|
|
1121
|
+
H <= (0, r.getPreClones)(c) && (P = -H, P >= F && (n = J), j = p(O(O({}, c), {}, {
|
|
1122
1122
|
index: P
|
|
1123
1123
|
})), x.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1124
1124
|
key: "precloned" + g(n, P),
|
|
@@ -1127,8 +1127,8 @@ function On() {
|
|
|
1127
1127
|
className: (0, t.default)(j, M),
|
|
1128
1128
|
"aria-hidden": !j["slick-active"],
|
|
1129
1129
|
style: O(O({}, n.props.style || {}), S),
|
|
1130
|
-
onClick: function(
|
|
1131
|
-
n.props && n.props.onClick && n.props.onClick(
|
|
1130
|
+
onClick: function($) {
|
|
1131
|
+
n.props && n.props.onClick && n.props.onClick($), c.focusOnSelect && c.focusOnSelect(u);
|
|
1132
1132
|
}
|
|
1133
1133
|
}))), b < (0, r.getPostClones)(c) && (P = D + b, P < s && (n = J), j = p(O(O({}, c), {}, {
|
|
1134
1134
|
index: P
|
|
@@ -1139,31 +1139,31 @@ function On() {
|
|
|
1139
1139
|
className: (0, t.default)(j, M),
|
|
1140
1140
|
"aria-hidden": !j["slick-active"],
|
|
1141
1141
|
style: O(O({}, n.props.style || {}), S),
|
|
1142
|
-
onClick: function(
|
|
1143
|
-
n.props && n.props.onClick && n.props.onClick(
|
|
1142
|
+
onClick: function($) {
|
|
1143
|
+
n.props && n.props.onClick && n.props.onClick($), c.focusOnSelect && c.focusOnSelect(u);
|
|
1144
1144
|
}
|
|
1145
1145
|
})));
|
|
1146
1146
|
}
|
|
1147
1147
|
}), c.rtl ? x.concat(L, T).reverse() : x.concat(L, T);
|
|
1148
1148
|
};
|
|
1149
|
-
return
|
|
1149
|
+
return Ne.Track = /* @__PURE__ */ function(m) {
|
|
1150
1150
|
h(P, m);
|
|
1151
|
-
var c =
|
|
1151
|
+
var c = E(P);
|
|
1152
1152
|
function P() {
|
|
1153
1153
|
var L;
|
|
1154
1154
|
l(this, P);
|
|
1155
1155
|
for (var x = arguments.length, T = new Array(x), D = 0; D < x; D++)
|
|
1156
1156
|
T[D] = arguments[D];
|
|
1157
|
-
return L = c.call.apply(c, [this].concat(T)),
|
|
1158
|
-
L.node =
|
|
1157
|
+
return L = c.call.apply(c, [this].concat(T)), N(A(L), "node", null), N(A(L), "handleRef", function(F) {
|
|
1158
|
+
L.node = F;
|
|
1159
1159
|
}), L;
|
|
1160
1160
|
}
|
|
1161
1161
|
return d(P, [{
|
|
1162
1162
|
key: "render",
|
|
1163
1163
|
value: function() {
|
|
1164
|
-
var x = k(this.props), T = this.props, D = T.onMouseEnter,
|
|
1164
|
+
var x = k(this.props), T = this.props, D = T.onMouseEnter, F = T.onMouseOver, s = T.onMouseLeave, J = {
|
|
1165
1165
|
onMouseEnter: D,
|
|
1166
|
-
onMouseOver:
|
|
1166
|
+
onMouseOver: F,
|
|
1167
1167
|
onMouseLeave: s
|
|
1168
1168
|
};
|
|
1169
1169
|
return /* @__PURE__ */ e.default.createElement("div", a({
|
|
@@ -1173,11 +1173,11 @@ function On() {
|
|
|
1173
1173
|
}, J), x);
|
|
1174
1174
|
}
|
|
1175
1175
|
}]), P;
|
|
1176
|
-
}(e.default.PureComponent),
|
|
1176
|
+
}(e.default.PureComponent), Ne;
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1178
|
+
var Fe = {}, ir;
|
|
1179
1179
|
function Cn() {
|
|
1180
|
-
if (ir) return
|
|
1180
|
+
if (ir) return Fe;
|
|
1181
1181
|
ir = 1;
|
|
1182
1182
|
function e(p) {
|
|
1183
1183
|
"@babel/helpers - typeof";
|
|
@@ -1187,10 +1187,10 @@ function Cn() {
|
|
|
1187
1187
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
1188
1188
|
}, e(p);
|
|
1189
1189
|
}
|
|
1190
|
-
Object.defineProperty(
|
|
1190
|
+
Object.defineProperty(Fe, "__esModule", {
|
|
1191
1191
|
value: !0
|
|
1192
|
-
}),
|
|
1193
|
-
var t = i(U), r = i(
|
|
1192
|
+
}), Fe.Dots = void 0;
|
|
1193
|
+
var t = i(U), r = i(pt()), o = Ge();
|
|
1194
1194
|
function i(p) {
|
|
1195
1195
|
return p && p.__esModule ? p : { default: p };
|
|
1196
1196
|
}
|
|
@@ -1216,7 +1216,7 @@ function Cn() {
|
|
|
1216
1216
|
return p;
|
|
1217
1217
|
}
|
|
1218
1218
|
function f(p, y, g) {
|
|
1219
|
-
return (y =
|
|
1219
|
+
return (y = E(y)) in p ? Object.defineProperty(p, y, { value: g, enumerable: !0, configurable: !0, writable: !0 }) : p[y] = g, p;
|
|
1220
1220
|
}
|
|
1221
1221
|
function d(p, y) {
|
|
1222
1222
|
if (!(p instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -1224,17 +1224,17 @@ function Cn() {
|
|
|
1224
1224
|
function h(p, y) {
|
|
1225
1225
|
for (var g = 0; g < y.length; g++) {
|
|
1226
1226
|
var k = y[g];
|
|
1227
|
-
k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(p,
|
|
1227
|
+
k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(p, E(k.key), k);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
function w(p, y, g) {
|
|
1231
1231
|
return y && h(p.prototype, y), Object.defineProperty(p, "prototype", { writable: !1 }), p;
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1234
|
-
var y =
|
|
1233
|
+
function E(p) {
|
|
1234
|
+
var y = R(p, "string");
|
|
1235
1235
|
return e(y) == "symbol" ? y : y + "";
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function R(p, y) {
|
|
1238
1238
|
if (e(p) != "object" || !p) return p;
|
|
1239
1239
|
var g = p[Symbol.toPrimitive];
|
|
1240
1240
|
if (g !== void 0) {
|
|
@@ -1244,7 +1244,7 @@ function Cn() {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
return String(p);
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function A(p, y) {
|
|
1248
1248
|
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1249
1249
|
p.prototype = Object.create(y && y.prototype, { constructor: { value: p, writable: !0, configurable: !0 } }), Object.defineProperty(p, "prototype", { writable: !1 }), y && C(p, y);
|
|
1250
1250
|
}
|
|
@@ -1254,7 +1254,7 @@ function Cn() {
|
|
|
1254
1254
|
}, C(p, y);
|
|
1255
1255
|
}
|
|
1256
1256
|
function v(p) {
|
|
1257
|
-
var y =
|
|
1257
|
+
var y = N();
|
|
1258
1258
|
return function() {
|
|
1259
1259
|
var g, k = q(p);
|
|
1260
1260
|
if (y) {
|
|
@@ -1273,13 +1273,13 @@ function Cn() {
|
|
|
1273
1273
|
if (p === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1274
1274
|
return p;
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function N() {
|
|
1277
1277
|
try {
|
|
1278
1278
|
var p = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1279
1279
|
}));
|
|
1280
1280
|
} catch {
|
|
1281
1281
|
}
|
|
1282
|
-
return (
|
|
1282
|
+
return (N = function() {
|
|
1283
1283
|
return !!p;
|
|
1284
1284
|
})();
|
|
1285
1285
|
}
|
|
@@ -1292,8 +1292,8 @@ function Cn() {
|
|
|
1292
1292
|
var g;
|
|
1293
1293
|
return y.infinite ? g = Math.ceil(y.slideCount / y.slidesToScroll) : g = Math.ceil((y.slideCount - y.slidesToShow) / y.slidesToScroll) + 1, g;
|
|
1294
1294
|
};
|
|
1295
|
-
return
|
|
1296
|
-
|
|
1295
|
+
return Fe.Dots = /* @__PURE__ */ function(p) {
|
|
1296
|
+
A(g, p);
|
|
1297
1297
|
var y = v(g);
|
|
1298
1298
|
function g() {
|
|
1299
1299
|
return d(this, g), y.apply(this, arguments);
|
|
@@ -1306,8 +1306,8 @@ function Cn() {
|
|
|
1306
1306
|
}, {
|
|
1307
1307
|
key: "render",
|
|
1308
1308
|
value: function() {
|
|
1309
|
-
for (var m = this.props, c = m.onMouseEnter, P = m.onMouseOver, L = m.onMouseLeave, x = m.infinite, T = m.slidesToScroll, D = m.slidesToShow,
|
|
1310
|
-
slideCount:
|
|
1309
|
+
for (var m = this.props, c = m.onMouseEnter, P = m.onMouseOver, L = m.onMouseLeave, x = m.infinite, T = m.slidesToScroll, D = m.slidesToShow, F = m.slideCount, s = m.currentSlide, J = B({
|
|
1310
|
+
slideCount: F,
|
|
1311
1311
|
slidesToScroll: T,
|
|
1312
1312
|
slidesToShow: D,
|
|
1313
1313
|
infinite: x
|
|
@@ -1316,17 +1316,17 @@ function Cn() {
|
|
|
1316
1316
|
onMouseOver: P,
|
|
1317
1317
|
onMouseLeave: L
|
|
1318
1318
|
}, n = [], u = 0; u < J; u++) {
|
|
1319
|
-
var S = (u + 1) * T - 1, M = x ? S : (0, o.clamp)(S, 0,
|
|
1320
|
-
"slick-active": x ? s >=
|
|
1321
|
-
}),
|
|
1319
|
+
var S = (u + 1) * T - 1, M = x ? S : (0, o.clamp)(S, 0, F - 1), j = M - (T - 1), H = x ? j : (0, o.clamp)(j, 0, F - 1), z = (0, r.default)({
|
|
1320
|
+
"slick-active": x ? s >= H && s <= M : s === H
|
|
1321
|
+
}), $ = {
|
|
1322
1322
|
message: "dots",
|
|
1323
1323
|
index: u,
|
|
1324
1324
|
slidesToScroll: T,
|
|
1325
1325
|
currentSlide: s
|
|
1326
|
-
}, Y = this.clickHandler.bind(this,
|
|
1326
|
+
}, Y = this.clickHandler.bind(this, $);
|
|
1327
1327
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
1328
1328
|
key: u,
|
|
1329
|
-
className:
|
|
1329
|
+
className: z
|
|
1330
1330
|
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(u), {
|
|
1331
1331
|
onClick: Y
|
|
1332
1332
|
})));
|
|
@@ -1336,7 +1336,7 @@ function Cn() {
|
|
|
1336
1336
|
}, b));
|
|
1337
1337
|
}
|
|
1338
1338
|
}]), g;
|
|
1339
|
-
}(t.default.PureComponent),
|
|
1339
|
+
}(t.default.PureComponent), Fe;
|
|
1340
1340
|
}
|
|
1341
1341
|
var Ee = {}, or;
|
|
1342
1342
|
function Pn() {
|
|
@@ -1353,7 +1353,7 @@ function Pn() {
|
|
|
1353
1353
|
Object.defineProperty(Ee, "__esModule", {
|
|
1354
1354
|
value: !0
|
|
1355
1355
|
}), Ee.PrevArrow = Ee.NextArrow = void 0;
|
|
1356
|
-
var t = i(U), r = i(
|
|
1356
|
+
var t = i(U), r = i(pt()), o = Ge();
|
|
1357
1357
|
function i(p) {
|
|
1358
1358
|
return p && p.__esModule ? p : { default: p };
|
|
1359
1359
|
}
|
|
@@ -1389,7 +1389,7 @@ function Pn() {
|
|
|
1389
1389
|
return p;
|
|
1390
1390
|
}
|
|
1391
1391
|
function d(p, y, g) {
|
|
1392
|
-
return (y =
|
|
1392
|
+
return (y = R(y)) in p ? Object.defineProperty(p, y, { value: g, enumerable: !0, configurable: !0, writable: !0 }) : p[y] = g, p;
|
|
1393
1393
|
}
|
|
1394
1394
|
function h(p, y) {
|
|
1395
1395
|
if (!(p instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -1397,17 +1397,17 @@ function Pn() {
|
|
|
1397
1397
|
function w(p, y) {
|
|
1398
1398
|
for (var g = 0; g < y.length; g++) {
|
|
1399
1399
|
var k = y[g];
|
|
1400
|
-
k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(p,
|
|
1400
|
+
k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(p, R(k.key), k);
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function E(p, y, g) {
|
|
1404
1404
|
return y && w(p.prototype, y), Object.defineProperty(p, "prototype", { writable: !1 }), p;
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1407
|
-
var y =
|
|
1406
|
+
function R(p) {
|
|
1407
|
+
var y = A(p, "string");
|
|
1408
1408
|
return e(y) == "symbol" ? y : y + "";
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function A(p, y) {
|
|
1411
1411
|
if (e(p) != "object" || !p) return p;
|
|
1412
1412
|
var g = p[Symbol.toPrimitive];
|
|
1413
1413
|
if (g !== void 0) {
|
|
@@ -1440,9 +1440,9 @@ function Pn() {
|
|
|
1440
1440
|
function O(p, y) {
|
|
1441
1441
|
if (y && (e(y) == "object" || typeof y == "function")) return y;
|
|
1442
1442
|
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1443
|
-
return
|
|
1443
|
+
return N(p);
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function N(p) {
|
|
1446
1446
|
if (p === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1447
1447
|
return p;
|
|
1448
1448
|
}
|
|
@@ -1467,7 +1467,7 @@ function Pn() {
|
|
|
1467
1467
|
function g() {
|
|
1468
1468
|
return h(this, g), y.apply(this, arguments);
|
|
1469
1469
|
}
|
|
1470
|
-
return
|
|
1470
|
+
return E(g, [{
|
|
1471
1471
|
key: "clickHandler",
|
|
1472
1472
|
value: function(m, c) {
|
|
1473
1473
|
c && c.preventDefault(), this.props.clickHandler(m, c);
|
|
@@ -1506,7 +1506,7 @@ function Pn() {
|
|
|
1506
1506
|
function g() {
|
|
1507
1507
|
return h(this, g), y.apply(this, arguments);
|
|
1508
1508
|
}
|
|
1509
|
-
return
|
|
1509
|
+
return E(g, [{
|
|
1510
1510
|
key: "clickHandler",
|
|
1511
1511
|
value: function(m, c) {
|
|
1512
1512
|
c && c.preventDefault(), this.props.clickHandler(m, c);
|
|
@@ -1697,7 +1697,7 @@ function An(e) {
|
|
|
1697
1697
|
if (!t && !r)
|
|
1698
1698
|
return jr;
|
|
1699
1699
|
var o = _e(e).getComputedStyle(e), i = Mn(o), a = i.left + i.right, l = i.top + i.bottom, f = ft(o.width), d = ft(o.height);
|
|
1700
|
-
if (o.boxSizing === "border-box" && (Math.round(f + a) !== t && (f -= ar(o, "left", "right") + a), Math.round(d + l) !== r && (d -= ar(o, "top", "bottom") + l)), !
|
|
1700
|
+
if (o.boxSizing === "border-box" && (Math.round(f + a) !== t && (f -= ar(o, "left", "right") + a), Math.round(d + l) !== r && (d -= ar(o, "top", "bottom") + l)), !Hn(e)) {
|
|
1701
1701
|
var h = Math.round(f + a) - t, w = Math.round(d + l) - r;
|
|
1702
1702
|
Math.abs(h) !== 1 && (f -= h), Math.abs(w) !== 1 && (d -= w);
|
|
1703
1703
|
}
|
|
@@ -1710,13 +1710,13 @@ var zn = /* @__PURE__ */ function() {
|
|
|
1710
1710
|
return e instanceof _e(e).SVGElement && typeof e.getBBox == "function";
|
|
1711
1711
|
};
|
|
1712
1712
|
}();
|
|
1713
|
-
function
|
|
1713
|
+
function Hn(e) {
|
|
1714
1714
|
return e === _e(e).document.documentElement;
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1716
|
+
function Nn(e) {
|
|
1717
1717
|
return Dt ? zn(e) ? In(e) : An(e) : jr;
|
|
1718
1718
|
}
|
|
1719
|
-
function
|
|
1719
|
+
function Fn(e) {
|
|
1720
1720
|
var t = e.x, r = e.y, o = e.width, i = e.height, a = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, l = Object.create(a.prototype);
|
|
1721
1721
|
return Tr(l, {
|
|
1722
1722
|
x: t,
|
|
@@ -1732,14 +1732,14 @@ function $n(e) {
|
|
|
1732
1732
|
function vt(e, t, r, o) {
|
|
1733
1733
|
return { x: e, y: t, width: r, height: o };
|
|
1734
1734
|
}
|
|
1735
|
-
var
|
|
1735
|
+
var $n = (
|
|
1736
1736
|
/** @class */
|
|
1737
1737
|
function() {
|
|
1738
1738
|
function e(t) {
|
|
1739
1739
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = vt(0, 0, 0, 0), this.target = t;
|
|
1740
1740
|
}
|
|
1741
1741
|
return e.prototype.isActive = function() {
|
|
1742
|
-
var t =
|
|
1742
|
+
var t = Nn(this.target);
|
|
1743
1743
|
return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
|
|
1744
1744
|
}, e.prototype.broadcastRect = function() {
|
|
1745
1745
|
var t = this.contentRect_;
|
|
@@ -1750,7 +1750,7 @@ var Fn = (
|
|
|
1750
1750
|
/** @class */
|
|
1751
1751
|
/* @__PURE__ */ function() {
|
|
1752
1752
|
function e(t, r) {
|
|
1753
|
-
var o =
|
|
1753
|
+
var o = Fn(r);
|
|
1754
1754
|
Tr(this, { target: t, contentRect: o });
|
|
1755
1755
|
}
|
|
1756
1756
|
return e;
|
|
@@ -1770,7 +1770,7 @@ var Fn = (
|
|
|
1770
1770
|
if (!(t instanceof _e(t).Element))
|
|
1771
1771
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1772
1772
|
var r = this.observations_;
|
|
1773
|
-
r.has(t) || (r.set(t, new
|
|
1773
|
+
r.has(t) || (r.set(t, new $n(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1774
1774
|
}
|
|
1775
1775
|
}, e.prototype.unobserve = function(t) {
|
|
1776
1776
|
if (!arguments.length)
|
|
@@ -1834,11 +1834,11 @@ const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1834
1834
|
}, Symbol.toStringTag, { value: "Module" })), Yn = /* @__PURE__ */ gn(Bn);
|
|
1835
1835
|
var sr;
|
|
1836
1836
|
function Vn() {
|
|
1837
|
-
if (sr) return
|
|
1838
|
-
sr = 1, Object.defineProperty(
|
|
1837
|
+
if (sr) return He;
|
|
1838
|
+
sr = 1, Object.defineProperty(He, "__esModule", {
|
|
1839
1839
|
value: !0
|
|
1840
|
-
}),
|
|
1841
|
-
var e = h(U), t = h(xn()), r = h(kn()), o = h(
|
|
1840
|
+
}), He.InnerSlider = void 0;
|
|
1841
|
+
var e = h(U), t = h(xn()), r = h(kn()), o = h(pt()), i = Ge(), a = On(), l = Cn(), f = Pn(), d = h(Yn);
|
|
1842
1842
|
function h(x) {
|
|
1843
1843
|
return x && x.__esModule ? x : { default: x };
|
|
1844
1844
|
}
|
|
@@ -1850,53 +1850,53 @@ function Vn() {
|
|
|
1850
1850
|
return T && typeof Symbol == "function" && T.constructor === Symbol && T !== Symbol.prototype ? "symbol" : typeof T;
|
|
1851
1851
|
}, w(x);
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1854
|
-
return
|
|
1853
|
+
function E() {
|
|
1854
|
+
return E = Object.assign ? Object.assign.bind() : function(x) {
|
|
1855
1855
|
for (var T = 1; T < arguments.length; T++) {
|
|
1856
1856
|
var D = arguments[T];
|
|
1857
|
-
for (var
|
|
1858
|
-
({}).hasOwnProperty.call(D,
|
|
1857
|
+
for (var F in D)
|
|
1858
|
+
({}).hasOwnProperty.call(D, F) && (x[F] = D[F]);
|
|
1859
1859
|
}
|
|
1860
1860
|
return x;
|
|
1861
|
-
},
|
|
1861
|
+
}, E.apply(null, arguments);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function R(x, T) {
|
|
1864
1864
|
if (x == null) return {};
|
|
1865
|
-
var D,
|
|
1865
|
+
var D, F, s = A(x, T);
|
|
1866
1866
|
if (Object.getOwnPropertySymbols) {
|
|
1867
1867
|
var J = Object.getOwnPropertySymbols(x);
|
|
1868
|
-
for (
|
|
1869
|
-
D = J[
|
|
1868
|
+
for (F = 0; F < J.length; F++)
|
|
1869
|
+
D = J[F], T.includes(D) || {}.propertyIsEnumerable.call(x, D) && (s[D] = x[D]);
|
|
1870
1870
|
}
|
|
1871
1871
|
return s;
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1873
|
+
function A(x, T) {
|
|
1874
1874
|
if (x == null) return {};
|
|
1875
1875
|
var D = {};
|
|
1876
|
-
for (var
|
|
1877
|
-
if ({}.hasOwnProperty.call(x,
|
|
1878
|
-
if (T.includes(
|
|
1879
|
-
D[
|
|
1876
|
+
for (var F in x)
|
|
1877
|
+
if ({}.hasOwnProperty.call(x, F)) {
|
|
1878
|
+
if (T.includes(F)) continue;
|
|
1879
|
+
D[F] = x[F];
|
|
1880
1880
|
}
|
|
1881
1881
|
return D;
|
|
1882
1882
|
}
|
|
1883
1883
|
function C(x, T) {
|
|
1884
1884
|
var D = Object.keys(x);
|
|
1885
1885
|
if (Object.getOwnPropertySymbols) {
|
|
1886
|
-
var
|
|
1887
|
-
T && (
|
|
1886
|
+
var F = Object.getOwnPropertySymbols(x);
|
|
1887
|
+
T && (F = F.filter(function(s) {
|
|
1888
1888
|
return Object.getOwnPropertyDescriptor(x, s).enumerable;
|
|
1889
|
-
})), D.push.apply(D,
|
|
1889
|
+
})), D.push.apply(D, F);
|
|
1890
1890
|
}
|
|
1891
1891
|
return D;
|
|
1892
1892
|
}
|
|
1893
1893
|
function v(x) {
|
|
1894
1894
|
for (var T = 1; T < arguments.length; T++) {
|
|
1895
1895
|
var D = arguments[T] != null ? arguments[T] : {};
|
|
1896
|
-
T % 2 ? C(Object(D), !0).forEach(function(
|
|
1897
|
-
c(x,
|
|
1898
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(x, Object.getOwnPropertyDescriptors(D)) : C(Object(D)).forEach(function(
|
|
1899
|
-
Object.defineProperty(x,
|
|
1896
|
+
T % 2 ? C(Object(D), !0).forEach(function(F) {
|
|
1897
|
+
c(x, F, D[F]);
|
|
1898
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(x, Object.getOwnPropertyDescriptors(D)) : C(Object(D)).forEach(function(F) {
|
|
1899
|
+
Object.defineProperty(x, F, Object.getOwnPropertyDescriptor(D, F));
|
|
1900
1900
|
});
|
|
1901
1901
|
}
|
|
1902
1902
|
return x;
|
|
@@ -1906,11 +1906,11 @@ function Vn() {
|
|
|
1906
1906
|
}
|
|
1907
1907
|
function O(x, T) {
|
|
1908
1908
|
for (var D = 0; D < T.length; D++) {
|
|
1909
|
-
var
|
|
1910
|
-
|
|
1909
|
+
var F = T[D];
|
|
1910
|
+
F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(x, P(F.key), F);
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1913
|
+
function N(x, T, D) {
|
|
1914
1914
|
return T && O(x.prototype, T), Object.defineProperty(x, "prototype", { writable: !1 }), x;
|
|
1915
1915
|
}
|
|
1916
1916
|
function q(x, T) {
|
|
@@ -1918,18 +1918,18 @@ function Vn() {
|
|
|
1918
1918
|
x.prototype = Object.create(T && T.prototype, { constructor: { value: x, writable: !0, configurable: !0 } }), Object.defineProperty(x, "prototype", { writable: !1 }), T && B(x, T);
|
|
1919
1919
|
}
|
|
1920
1920
|
function B(x, T) {
|
|
1921
|
-
return B = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(D,
|
|
1922
|
-
return D.__proto__ =
|
|
1921
|
+
return B = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(D, F) {
|
|
1922
|
+
return D.__proto__ = F, D;
|
|
1923
1923
|
}, B(x, T);
|
|
1924
1924
|
}
|
|
1925
1925
|
function p(x) {
|
|
1926
1926
|
var T = k();
|
|
1927
1927
|
return function() {
|
|
1928
|
-
var D,
|
|
1928
|
+
var D, F = m(x);
|
|
1929
1929
|
if (T) {
|
|
1930
1930
|
var s = m(this).constructor;
|
|
1931
|
-
D = Reflect.construct(
|
|
1932
|
-
} else D =
|
|
1931
|
+
D = Reflect.construct(F, arguments, s);
|
|
1932
|
+
} else D = F.apply(this, arguments);
|
|
1933
1933
|
return y(this, D);
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
@@ -1968,18 +1968,18 @@ function Vn() {
|
|
|
1968
1968
|
if (w(x) != "object" || !x) return x;
|
|
1969
1969
|
var D = x[Symbol.toPrimitive];
|
|
1970
1970
|
if (D !== void 0) {
|
|
1971
|
-
var
|
|
1972
|
-
if (w(
|
|
1971
|
+
var F = D.call(x, T);
|
|
1972
|
+
if (w(F) != "object") return F;
|
|
1973
1973
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1974
1974
|
}
|
|
1975
1975
|
return (T === "string" ? String : Number)(x);
|
|
1976
1976
|
}
|
|
1977
|
-
return
|
|
1977
|
+
return He.InnerSlider = /* @__PURE__ */ function(x) {
|
|
1978
1978
|
q(D, x);
|
|
1979
1979
|
var T = p(D);
|
|
1980
|
-
function D(
|
|
1980
|
+
function D(F) {
|
|
1981
1981
|
var s;
|
|
1982
|
-
I(this, D), s = T.call(this,
|
|
1982
|
+
I(this, D), s = T.call(this, F), c(g(s), "listRefHandler", function(b) {
|
|
1983
1983
|
return s.list = b;
|
|
1984
1984
|
}), c(g(s), "trackRefHandler", function(b) {
|
|
1985
1985
|
return s.track = b;
|
|
@@ -2075,20 +2075,20 @@ function Vn() {
|
|
|
2075
2075
|
});
|
|
2076
2076
|
for (var j = 0; j < S; j++)
|
|
2077
2077
|
n += u[u.length - 1 - j], b += u[u.length - 1 - j];
|
|
2078
|
-
for (var
|
|
2079
|
-
b += u[
|
|
2080
|
-
for (var
|
|
2081
|
-
n += u[
|
|
2082
|
-
var
|
|
2078
|
+
for (var H = 0; H < M; H++)
|
|
2079
|
+
b += u[H];
|
|
2080
|
+
for (var z = 0; z < s.state.currentSlide; z++)
|
|
2081
|
+
n += u[z];
|
|
2082
|
+
var $ = {
|
|
2083
2083
|
width: b + "px",
|
|
2084
2084
|
left: -n + "px"
|
|
2085
2085
|
};
|
|
2086
2086
|
if (s.props.centerMode) {
|
|
2087
2087
|
var Y = "".concat(u[s.state.currentSlide], "px");
|
|
2088
|
-
|
|
2088
|
+
$.left = "calc(".concat($.left, " + (100% - ").concat(Y, ") / 2 ) ");
|
|
2089
2089
|
}
|
|
2090
2090
|
return {
|
|
2091
|
-
trackStyle:
|
|
2091
|
+
trackStyle: $
|
|
2092
2092
|
};
|
|
2093
2093
|
}
|
|
2094
2094
|
var V = e.default.Children.count(s.props.children), X = v(v(v({}, s.props), s.state), {}, {
|
|
@@ -2115,8 +2115,8 @@ function Vn() {
|
|
|
2115
2115
|
};
|
|
2116
2116
|
else {
|
|
2117
2117
|
var j = S.onclick;
|
|
2118
|
-
S.onclick = function(
|
|
2119
|
-
j(
|
|
2118
|
+
S.onclick = function(H) {
|
|
2119
|
+
j(H), S.parentNode.focus();
|
|
2120
2120
|
};
|
|
2121
2121
|
}
|
|
2122
2122
|
S.onload || (s.props.lazyLoad ? S.onload = function() {
|
|
@@ -2142,28 +2142,28 @@ function Vn() {
|
|
|
2142
2142
|
};
|
|
2143
2143
|
}), s.props.onLazyLoad && s.props.onLazyLoad(b)) : s.lazyLoadTimer && (clearInterval(s.lazyLoadTimer), delete s.lazyLoadTimer);
|
|
2144
2144
|
}), c(g(s), "slideHandler", function(b) {
|
|
2145
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = s.props, S = u.asNavFor, M = u.beforeChange, j = u.onLazyLoad,
|
|
2145
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = s.props, S = u.asNavFor, M = u.beforeChange, j = u.onLazyLoad, H = u.speed, z = u.afterChange, $ = s.state.currentSlide, Y = (0, i.slideHandler)(v(v(v({
|
|
2146
2146
|
index: b
|
|
2147
2147
|
}, s.props), s.state), {}, {
|
|
2148
2148
|
trackRef: s.track,
|
|
2149
2149
|
useCSS: s.props.useCSS && !n
|
|
2150
2150
|
})), V = Y.state, X = Y.nextState;
|
|
2151
2151
|
if (V) {
|
|
2152
|
-
M && M(
|
|
2152
|
+
M && M($, V.currentSlide);
|
|
2153
2153
|
var re = V.lazyLoadedList.filter(function(ie) {
|
|
2154
2154
|
return s.state.lazyLoadedList.indexOf(ie) < 0;
|
|
2155
2155
|
});
|
|
2156
|
-
j && re.length > 0 && j(re), !s.props.waitForAnimate && s.animationEndCallback && (clearTimeout(s.animationEndCallback),
|
|
2156
|
+
j && re.length > 0 && j(re), !s.props.waitForAnimate && s.animationEndCallback && (clearTimeout(s.animationEndCallback), z && z($), delete s.animationEndCallback), s.setState(V, function() {
|
|
2157
2157
|
S && s.asNavForIndex !== b && (s.asNavForIndex = b, S.innerSlider.slideHandler(b)), X && (s.animationEndCallback = setTimeout(function() {
|
|
2158
|
-
var ie = X.animating, Q =
|
|
2158
|
+
var ie = X.animating, Q = R(X, ["animating"]);
|
|
2159
2159
|
s.setState(Q, function() {
|
|
2160
2160
|
s.callbackTimers.push(setTimeout(function() {
|
|
2161
2161
|
return s.setState({
|
|
2162
2162
|
animating: ie
|
|
2163
2163
|
});
|
|
2164
|
-
}, 10)),
|
|
2164
|
+
}, 10)), z && z(V.currentSlide), delete s.animationEndCallback;
|
|
2165
2165
|
});
|
|
2166
|
-
},
|
|
2166
|
+
}, H));
|
|
2167
2167
|
});
|
|
2168
2168
|
}
|
|
2169
2169
|
}), c(g(s), "changeSlide", function(b) {
|
|
@@ -2291,16 +2291,16 @@ function Vn() {
|
|
|
2291
2291
|
});
|
|
2292
2292
|
var M;
|
|
2293
2293
|
if (s.props.dots === !0 && s.state.slideCount >= s.props.slidesToShow) {
|
|
2294
|
-
var j = (0, i.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]),
|
|
2294
|
+
var j = (0, i.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), H = s.props.pauseOnDotsHover;
|
|
2295
2295
|
j = v(v({}, j), {}, {
|
|
2296
2296
|
clickHandler: s.changeSlide,
|
|
2297
|
-
onMouseEnter:
|
|
2298
|
-
onMouseOver:
|
|
2299
|
-
onMouseLeave:
|
|
2297
|
+
onMouseEnter: H ? s.onDotsLeave : null,
|
|
2298
|
+
onMouseOver: H ? s.onDotsOver : null,
|
|
2299
|
+
onMouseLeave: H ? s.onDotsLeave : null
|
|
2300
2300
|
}), M = /* @__PURE__ */ e.default.createElement(l.Dots, j);
|
|
2301
2301
|
}
|
|
2302
|
-
var
|
|
2303
|
-
Y.clickHandler = s.changeSlide, s.props.arrows && (
|
|
2302
|
+
var z, $, Y = (0, i.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2303
|
+
Y.clickHandler = s.changeSlide, s.props.arrows && (z = /* @__PURE__ */ e.default.createElement(f.PrevArrow, Y), $ = /* @__PURE__ */ e.default.createElement(f.NextArrow, Y));
|
|
2304
2304
|
var V = null;
|
|
2305
2305
|
s.props.vertical && (V = {
|
|
2306
2306
|
height: s.state.listHeight
|
|
@@ -2334,11 +2334,11 @@ function Vn() {
|
|
|
2334
2334
|
}, Z = {
|
|
2335
2335
|
className: b,
|
|
2336
2336
|
style: s.props.style
|
|
2337
|
-
}), /* @__PURE__ */ e.default.createElement("div", Z, s.props.unslick ? "" :
|
|
2337
|
+
}), /* @__PURE__ */ e.default.createElement("div", Z, s.props.unslick ? "" : z, /* @__PURE__ */ e.default.createElement("div", E({
|
|
2338
2338
|
ref: s.listRefHandler
|
|
2339
|
-
}, Q), /* @__PURE__ */ e.default.createElement(a.Track,
|
|
2339
|
+
}, Q), /* @__PURE__ */ e.default.createElement(a.Track, E({
|
|
2340
2340
|
ref: s.trackRefHandler
|
|
2341
|
-
}, u), s.props.children)), s.props.unslick ? "" :
|
|
2341
|
+
}, u), s.props.children)), s.props.unslick ? "" : $, s.props.unslick ? "" : M);
|
|
2342
2342
|
}), s.list = null, s.track = null, s.state = v(v({}, t.default), {}, {
|
|
2343
2343
|
currentSlide: s.props.initialSlide,
|
|
2344
2344
|
targetSlide: s.props.initialSlide ? s.props.initialSlide : 0,
|
|
@@ -2347,7 +2347,7 @@ function Vn() {
|
|
|
2347
2347
|
var J = s.ssrInit();
|
|
2348
2348
|
return s.state = v(v({}, s.state), J), s;
|
|
2349
2349
|
}
|
|
2350
|
-
return
|
|
2350
|
+
return N(D, [{
|
|
2351
2351
|
key: "didPropsChange",
|
|
2352
2352
|
value: function(s) {
|
|
2353
2353
|
for (var J = !1, b = 0, n = Object.keys(this.props); b < n.length; b++) {
|
|
@@ -2364,7 +2364,7 @@ function Vn() {
|
|
|
2364
2364
|
return J || e.default.Children.count(this.props.children) !== e.default.Children.count(s.children);
|
|
2365
2365
|
}
|
|
2366
2366
|
}]), D;
|
|
2367
|
-
}(e.default.Component),
|
|
2367
|
+
}(e.default.Component), He;
|
|
2368
2368
|
}
|
|
2369
2369
|
var Rt, lr;
|
|
2370
2370
|
function Xn() {
|
|
@@ -2447,17 +2447,17 @@ function Kn() {
|
|
|
2447
2447
|
}
|
|
2448
2448
|
return k;
|
|
2449
2449
|
}
|
|
2450
|
-
function
|
|
2450
|
+
function E(k, m) {
|
|
2451
2451
|
if (!(k instanceof m)) throw new TypeError("Cannot call a class as a function");
|
|
2452
2452
|
}
|
|
2453
|
-
function
|
|
2453
|
+
function R(k, m) {
|
|
2454
2454
|
for (var c = 0; c < m.length; c++) {
|
|
2455
2455
|
var P = m[c];
|
|
2456
2456
|
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(k, y(P.key), P);
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
|
-
function
|
|
2460
|
-
return m &&
|
|
2459
|
+
function A(k, m, c) {
|
|
2460
|
+
return m && R(k.prototype, m), Object.defineProperty(k, "prototype", { writable: !1 }), k;
|
|
2461
2461
|
}
|
|
2462
2462
|
function C(k, m) {
|
|
2463
2463
|
if (typeof m != "function" && m !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -2482,9 +2482,9 @@ function Kn() {
|
|
|
2482
2482
|
function O(k, m) {
|
|
2483
2483
|
if (m && (f(m) == "object" || typeof m == "function")) return m;
|
|
2484
2484
|
if (m !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2485
|
-
return
|
|
2485
|
+
return N(k);
|
|
2486
2486
|
}
|
|
2487
|
-
function
|
|
2487
|
+
function N(k) {
|
|
2488
2488
|
if (k === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2489
2489
|
return k;
|
|
2490
2490
|
}
|
|
@@ -2525,24 +2525,24 @@ function Kn() {
|
|
|
2525
2525
|
var m = I(c);
|
|
2526
2526
|
function c(P) {
|
|
2527
2527
|
var L;
|
|
2528
|
-
return
|
|
2528
|
+
return E(this, c), L = m.call(this, P), p(N(L), "innerSliderRefHandler", function(x) {
|
|
2529
2529
|
return L.innerSlider = x;
|
|
2530
|
-
}), p(
|
|
2530
|
+
}), p(N(L), "slickPrev", function() {
|
|
2531
2531
|
return L.innerSlider.slickPrev();
|
|
2532
|
-
}), p(
|
|
2532
|
+
}), p(N(L), "slickNext", function() {
|
|
2533
2533
|
return L.innerSlider.slickNext();
|
|
2534
|
-
}), p(
|
|
2534
|
+
}), p(N(L), "slickGoTo", function(x) {
|
|
2535
2535
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2536
2536
|
return L.innerSlider.slickGoTo(x, T);
|
|
2537
|
-
}), p(
|
|
2537
|
+
}), p(N(L), "slickPause", function() {
|
|
2538
2538
|
return L.innerSlider.pause("paused");
|
|
2539
|
-
}), p(
|
|
2539
|
+
}), p(N(L), "slickPlay", function() {
|
|
2540
2540
|
return L.innerSlider.autoPlay("play");
|
|
2541
2541
|
}), L.state = {
|
|
2542
2542
|
breakpoint: null
|
|
2543
2543
|
}, L._responsiveMediaHandlers = [], L;
|
|
2544
2544
|
}
|
|
2545
|
-
return
|
|
2545
|
+
return A(c, [{
|
|
2546
2546
|
key: "media",
|
|
2547
2547
|
value: function(L, x) {
|
|
2548
2548
|
var T = window.matchMedia(L), D = function(s) {
|
|
@@ -2564,15 +2564,15 @@ function Kn() {
|
|
|
2564
2564
|
var x = this.props.responsive.map(function(D) {
|
|
2565
2565
|
return D.breakpoint;
|
|
2566
2566
|
});
|
|
2567
|
-
x.sort(function(D,
|
|
2568
|
-
return D -
|
|
2569
|
-
}), x.forEach(function(D,
|
|
2567
|
+
x.sort(function(D, F) {
|
|
2568
|
+
return D - F;
|
|
2569
|
+
}), x.forEach(function(D, F) {
|
|
2570
2570
|
var s;
|
|
2571
|
-
|
|
2571
|
+
F === 0 ? s = (0, o.default)({
|
|
2572
2572
|
minWidth: 0,
|
|
2573
2573
|
maxWidth: D
|
|
2574
2574
|
}) : s = (0, o.default)({
|
|
2575
|
-
minWidth: x[
|
|
2575
|
+
minWidth: x[F - 1] + 1,
|
|
2576
2576
|
maxWidth: D
|
|
2577
2577
|
}), (0, a.canUseDOM)() && L.media(s, function() {
|
|
2578
2578
|
L.setState({
|
|
@@ -2608,7 +2608,7 @@ function Kn() {
|
|
|
2608
2608
|
D = D.filter(function(j) {
|
|
2609
2609
|
return typeof j == "string" ? !!j.trim() : !!j;
|
|
2610
2610
|
}), x.variableWidth && (x.rows > 1 || x.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), x.variableWidth = !1);
|
|
2611
|
-
for (var
|
|
2611
|
+
for (var F = [], s = null, J = 0; J < D.length; J += x.rows * x.slidesPerRow) {
|
|
2612
2612
|
for (var b = [], n = J; n < J + x.rows * x.slidesPerRow; n += x.slidesPerRow) {
|
|
2613
2613
|
for (var u = [], S = n; S < n + x.slidesPerRow && (x.variableWidth && D[S].props.style && (s = D[S].props.style.width), !(S >= D.length)); S += 1)
|
|
2614
2614
|
u.push(/* @__PURE__ */ t.default.cloneElement(D[S], {
|
|
@@ -2623,12 +2623,12 @@ function Kn() {
|
|
|
2623
2623
|
key: 10 * J + n
|
|
2624
2624
|
}, u));
|
|
2625
2625
|
}
|
|
2626
|
-
x.variableWidth ?
|
|
2626
|
+
x.variableWidth ? F.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2627
2627
|
key: J,
|
|
2628
2628
|
style: {
|
|
2629
2629
|
width: s
|
|
2630
2630
|
}
|
|
2631
|
-
}, b)) :
|
|
2631
|
+
}, b)) : F.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2632
2632
|
key: J
|
|
2633
2633
|
}, b));
|
|
2634
2634
|
}
|
|
@@ -2637,11 +2637,11 @@ function Kn() {
|
|
|
2637
2637
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2638
2638
|
className: M
|
|
2639
2639
|
}, D);
|
|
2640
|
-
} else
|
|
2640
|
+
} else F.length <= x.slidesToShow && (x.unslick = !0);
|
|
2641
2641
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, d({
|
|
2642
2642
|
style: this.props.style,
|
|
2643
2643
|
ref: this.innerSliderRefHandler
|
|
2644
|
-
}, (0, a.filterSettings)(x)),
|
|
2644
|
+
}, (0, a.filterSettings)(x)), F);
|
|
2645
2645
|
}
|
|
2646
2646
|
}]), c;
|
|
2647
2647
|
}(t.default.Component);
|
|
@@ -2711,7 +2711,7 @@ var ri = /* @__PURE__ */ function() {
|
|
|
2711
2711
|
return (i = o.parentNode) == null ? void 0 : i.removeChild(o);
|
|
2712
2712
|
}), this.tags = [], this.ctr = 0;
|
|
2713
2713
|
}, e;
|
|
2714
|
-
}(), de = "-ms-", dt = "-moz-", ee = "-webkit-", Mr = "comm",
|
|
2714
|
+
}(), de = "-ms-", dt = "-moz-", ee = "-webkit-", Mr = "comm", Ft = "rule", $t = "decl", ni = "@import", Ir = "@keyframes", ii = "@layer", oi = Math.abs, mt = String.fromCharCode, ai = Object.assign;
|
|
2715
2715
|
function si(e, t) {
|
|
2716
2716
|
return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
|
|
2717
2717
|
}
|
|
@@ -2745,27 +2745,27 @@ function nt(e, t) {
|
|
|
2745
2745
|
function ui(e, t) {
|
|
2746
2746
|
return e.map(t).join("");
|
|
2747
2747
|
}
|
|
2748
|
-
var yt = 1, Te = 1, zr = 0,
|
|
2748
|
+
var yt = 1, Te = 1, zr = 0, he = 0, se = 0, je = "";
|
|
2749
2749
|
function gt(e, t, r, o, i, a, l) {
|
|
2750
2750
|
return { value: e, root: t, parent: r, type: o, props: i, children: a, line: yt, column: Te, length: l, return: "" };
|
|
2751
2751
|
}
|
|
2752
|
-
function
|
|
2752
|
+
function $e(e, t) {
|
|
2753
2753
|
return ai(gt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
2754
2754
|
}
|
|
2755
2755
|
function ci() {
|
|
2756
2756
|
return se;
|
|
2757
2757
|
}
|
|
2758
2758
|
function fi() {
|
|
2759
|
-
return se =
|
|
2759
|
+
return se = he > 0 ? fe(je, --he) : 0, Te--, se === 10 && (Te = 1, yt--), se;
|
|
2760
2760
|
}
|
|
2761
2761
|
function ve() {
|
|
2762
|
-
return se =
|
|
2762
|
+
return se = he < zr ? fe(je, he++) : 0, Te++, se === 10 && (Te = 1, yt++), se;
|
|
2763
2763
|
}
|
|
2764
2764
|
function ge() {
|
|
2765
|
-
return fe(je,
|
|
2765
|
+
return fe(je, he);
|
|
2766
2766
|
}
|
|
2767
2767
|
function ot() {
|
|
2768
|
-
return
|
|
2768
|
+
return he;
|
|
2769
2769
|
}
|
|
2770
2770
|
function Ke(e, t) {
|
|
2771
2771
|
return Ue(je, e, t);
|
|
@@ -2808,21 +2808,21 @@ function Be(e) {
|
|
|
2808
2808
|
}
|
|
2809
2809
|
return 0;
|
|
2810
2810
|
}
|
|
2811
|
-
function Nr(e) {
|
|
2812
|
-
return yt = Te = 1, zr = me(je = e), pe = 0, [];
|
|
2813
|
-
}
|
|
2814
2811
|
function Hr(e) {
|
|
2812
|
+
return yt = Te = 1, zr = me(je = e), he = 0, [];
|
|
2813
|
+
}
|
|
2814
|
+
function Nr(e) {
|
|
2815
2815
|
return je = "", e;
|
|
2816
2816
|
}
|
|
2817
2817
|
function at(e) {
|
|
2818
|
-
return Ar(Ke(
|
|
2818
|
+
return Ar(Ke(he - 1, At(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2819
2819
|
}
|
|
2820
2820
|
function di(e) {
|
|
2821
2821
|
for (; (se = ge()) && se < 33; )
|
|
2822
2822
|
ve();
|
|
2823
2823
|
return Be(e) > 2 || Be(se) > 3 ? "" : " ";
|
|
2824
2824
|
}
|
|
2825
|
-
function
|
|
2825
|
+
function hi(e, t) {
|
|
2826
2826
|
for (; --t && ve() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
|
|
2827
2827
|
;
|
|
2828
2828
|
return Ke(e, ot() + (t < 6 && ge() == 32 && ve() == 32));
|
|
@@ -2832,7 +2832,7 @@ function At(e) {
|
|
|
2832
2832
|
switch (se) {
|
|
2833
2833
|
// ] ) " '
|
|
2834
2834
|
case e:
|
|
2835
|
-
return
|
|
2835
|
+
return he;
|
|
2836
2836
|
// " '
|
|
2837
2837
|
case 34:
|
|
2838
2838
|
case 39:
|
|
@@ -2847,36 +2847,36 @@ function At(e) {
|
|
|
2847
2847
|
ve();
|
|
2848
2848
|
break;
|
|
2849
2849
|
}
|
|
2850
|
-
return
|
|
2850
|
+
return he;
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2852
|
+
function pi(e, t) {
|
|
2853
2853
|
for (; ve() && e + se !== 57; )
|
|
2854
2854
|
if (e + se === 84 && ge() === 47)
|
|
2855
2855
|
break;
|
|
2856
|
-
return "/*" + Ke(t,
|
|
2856
|
+
return "/*" + Ke(t, he - 1) + "*" + mt(e === 47 ? e : ve());
|
|
2857
2857
|
}
|
|
2858
2858
|
function vi(e) {
|
|
2859
2859
|
for (; !Be(ge()); )
|
|
2860
2860
|
ve();
|
|
2861
|
-
return Ke(e,
|
|
2861
|
+
return Ke(e, he);
|
|
2862
2862
|
}
|
|
2863
2863
|
function mi(e) {
|
|
2864
|
-
return
|
|
2864
|
+
return Nr(st("", null, null, null, [""], e = Hr(e), 0, [0], e));
|
|
2865
2865
|
}
|
|
2866
2866
|
function st(e, t, r, o, i, a, l, f, d) {
|
|
2867
|
-
for (var h = 0, w = 0,
|
|
2868
|
-
switch (C =
|
|
2867
|
+
for (var h = 0, w = 0, E = l, R = 0, A = 0, C = 0, v = 1, I = 1, O = 1, N = 0, q = "", B = i, p = a, y = o, g = q; I; )
|
|
2868
|
+
switch (C = N, N = ve()) {
|
|
2869
2869
|
// (
|
|
2870
2870
|
case 40:
|
|
2871
|
-
if (C != 108 && fe(g,
|
|
2872
|
-
It(g += te(at(
|
|
2871
|
+
if (C != 108 && fe(g, E - 1) == 58) {
|
|
2872
|
+
It(g += te(at(N), "&", "&\f"), "&\f") != -1 && (O = -1);
|
|
2873
2873
|
break;
|
|
2874
2874
|
}
|
|
2875
2875
|
// " ' [
|
|
2876
2876
|
case 34:
|
|
2877
2877
|
case 39:
|
|
2878
2878
|
case 91:
|
|
2879
|
-
g += at(
|
|
2879
|
+
g += at(N);
|
|
2880
2880
|
break;
|
|
2881
2881
|
// \t \n \r \s
|
|
2882
2882
|
case 9:
|
|
@@ -2887,14 +2887,14 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2887
2887
|
break;
|
|
2888
2888
|
// \
|
|
2889
2889
|
case 92:
|
|
2890
|
-
g +=
|
|
2890
|
+
g += hi(ot() - 1, 7);
|
|
2891
2891
|
continue;
|
|
2892
2892
|
// /
|
|
2893
2893
|
case 47:
|
|
2894
2894
|
switch (ge()) {
|
|
2895
2895
|
case 42:
|
|
2896
2896
|
case 47:
|
|
2897
|
-
nt(yi(
|
|
2897
|
+
nt(yi(pi(ve(), ot()), t, r), d);
|
|
2898
2898
|
break;
|
|
2899
2899
|
default:
|
|
2900
2900
|
g += "/";
|
|
@@ -2907,49 +2907,49 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2907
2907
|
case 125 * v:
|
|
2908
2908
|
case 59:
|
|
2909
2909
|
case 0:
|
|
2910
|
-
switch (
|
|
2910
|
+
switch (N) {
|
|
2911
2911
|
// \0 }
|
|
2912
2912
|
case 0:
|
|
2913
2913
|
case 125:
|
|
2914
2914
|
I = 0;
|
|
2915
2915
|
// ;
|
|
2916
2916
|
case 59 + w:
|
|
2917
|
-
O == -1 && (g = te(g, /\f/g, "")),
|
|
2917
|
+
O == -1 && (g = te(g, /\f/g, "")), A > 0 && me(g) - E && nt(A > 32 ? hr(g + ";", o, r, E - 1) : hr(te(g, " ", "") + ";", o, r, E - 2), d);
|
|
2918
2918
|
break;
|
|
2919
2919
|
// @ ;
|
|
2920
2920
|
case 59:
|
|
2921
2921
|
g += ";";
|
|
2922
2922
|
// { rule/at-rule
|
|
2923
2923
|
default:
|
|
2924
|
-
if (nt(y = dr(g, t, r, h, w, i, f, q, B = [], p = [],
|
|
2924
|
+
if (nt(y = dr(g, t, r, h, w, i, f, q, B = [], p = [], E), a), N === 123)
|
|
2925
2925
|
if (w === 0)
|
|
2926
|
-
st(g, t, y, y, B, a,
|
|
2926
|
+
st(g, t, y, y, B, a, E, f, p);
|
|
2927
2927
|
else
|
|
2928
|
-
switch (
|
|
2928
|
+
switch (R === 99 && fe(g, 3) === 110 ? 100 : R) {
|
|
2929
2929
|
// d l m s
|
|
2930
2930
|
case 100:
|
|
2931
2931
|
case 108:
|
|
2932
2932
|
case 109:
|
|
2933
2933
|
case 115:
|
|
2934
|
-
st(e, y, y, o && nt(dr(e, y, y, 0, 0, i, f, q, i, B = [],
|
|
2934
|
+
st(e, y, y, o && nt(dr(e, y, y, 0, 0, i, f, q, i, B = [], E), p), i, p, E, f, o ? B : p);
|
|
2935
2935
|
break;
|
|
2936
2936
|
default:
|
|
2937
2937
|
st(g, y, y, y, [""], p, 0, f, p);
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
|
-
h = w =
|
|
2940
|
+
h = w = A = 0, v = O = 1, q = g = "", E = l;
|
|
2941
2941
|
break;
|
|
2942
2942
|
// :
|
|
2943
2943
|
case 58:
|
|
2944
|
-
|
|
2944
|
+
E = 1 + me(g), A = C;
|
|
2945
2945
|
default:
|
|
2946
2946
|
if (v < 1) {
|
|
2947
|
-
if (
|
|
2947
|
+
if (N == 123)
|
|
2948
2948
|
--v;
|
|
2949
|
-
else if (
|
|
2949
|
+
else if (N == 125 && v++ == 0 && fi() == 125)
|
|
2950
2950
|
continue;
|
|
2951
2951
|
}
|
|
2952
|
-
switch (g += mt(
|
|
2952
|
+
switch (g += mt(N), N * v) {
|
|
2953
2953
|
// &
|
|
2954
2954
|
case 38:
|
|
2955
2955
|
O = w > 0 ? 1 : (g += "\f", -1);
|
|
@@ -2960,7 +2960,7 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2960
2960
|
break;
|
|
2961
2961
|
// @
|
|
2962
2962
|
case 64:
|
|
2963
|
-
ge() === 45 && (g += at(ve())),
|
|
2963
|
+
ge() === 45 && (g += at(ve())), R = ge(), w = E = me(q = g += vi(ot())), N++;
|
|
2964
2964
|
break;
|
|
2965
2965
|
// -
|
|
2966
2966
|
case 45:
|
|
@@ -2970,16 +2970,16 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2970
2970
|
return a;
|
|
2971
2971
|
}
|
|
2972
2972
|
function dr(e, t, r, o, i, a, l, f, d, h, w) {
|
|
2973
|
-
for (var
|
|
2974
|
-
for (var O = 0,
|
|
2975
|
-
(q = Ar(v > 0 ?
|
|
2976
|
-
return gt(e, t, r, i === 0 ?
|
|
2973
|
+
for (var E = i - 1, R = i === 0 ? a : [""], A = Wt(R), C = 0, v = 0, I = 0; C < o; ++C)
|
|
2974
|
+
for (var O = 0, N = Ue(e, E + 1, E = oi(v = l[C])), q = e; O < A; ++O)
|
|
2975
|
+
(q = Ar(v > 0 ? R[O] + " " + N : te(N, /&\f/g, R[O]))) && (d[I++] = q);
|
|
2976
|
+
return gt(e, t, r, i === 0 ? Ft : f, d, h, w);
|
|
2977
2977
|
}
|
|
2978
2978
|
function yi(e, t, r) {
|
|
2979
2979
|
return gt(e, t, r, Mr, mt(ci()), Ue(e, 2, -2), 0);
|
|
2980
2980
|
}
|
|
2981
|
-
function
|
|
2982
|
-
return gt(e, t, r,
|
|
2981
|
+
function hr(e, t, r, o) {
|
|
2982
|
+
return gt(e, t, r, $t, Ue(e, 0, o), Ue(e, o + 1, -1), o);
|
|
2983
2983
|
}
|
|
2984
2984
|
function Re(e, t) {
|
|
2985
2985
|
for (var r = "", o = Wt(e), i = 0; i < o; i++)
|
|
@@ -2991,13 +2991,13 @@ function gi(e, t, r, o) {
|
|
|
2991
2991
|
case ii:
|
|
2992
2992
|
if (e.children.length) break;
|
|
2993
2993
|
case ni:
|
|
2994
|
-
case
|
|
2994
|
+
case $t:
|
|
2995
2995
|
return e.return = e.return || e.value;
|
|
2996
2996
|
case Mr:
|
|
2997
2997
|
return "";
|
|
2998
2998
|
case Ir:
|
|
2999
2999
|
return e.return = e.value + "{" + Re(e.children, o) + "}";
|
|
3000
|
-
case
|
|
3000
|
+
case Ft:
|
|
3001
3001
|
e.value = e.props.join(",");
|
|
3002
3002
|
}
|
|
3003
3003
|
return me(r = Re(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
|
|
@@ -3015,7 +3015,7 @@ function wi(e) {
|
|
|
3015
3015
|
t.root || (t = t.return) && e(t);
|
|
3016
3016
|
};
|
|
3017
3017
|
}
|
|
3018
|
-
function
|
|
3018
|
+
function Fr(e) {
|
|
3019
3019
|
var t = /* @__PURE__ */ Object.create(null);
|
|
3020
3020
|
return function(r) {
|
|
3021
3021
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
@@ -3024,13 +3024,13 @@ function $r(e) {
|
|
|
3024
3024
|
var Si = function(t, r, o) {
|
|
3025
3025
|
for (var i = 0, a = 0; i = a, a = ge(), i === 38 && a === 12 && (r[o] = 1), !Be(a); )
|
|
3026
3026
|
ve();
|
|
3027
|
-
return Ke(t,
|
|
3027
|
+
return Ke(t, he);
|
|
3028
3028
|
}, xi = function(t, r) {
|
|
3029
3029
|
var o = -1, i = 44;
|
|
3030
3030
|
do
|
|
3031
3031
|
switch (Be(i)) {
|
|
3032
3032
|
case 0:
|
|
3033
|
-
i === 38 && ge() === 12 && (r[o] = 1), t[o] += Si(
|
|
3033
|
+
i === 38 && ge() === 12 && (r[o] = 1), t[o] += Si(he - 1, r, o);
|
|
3034
3034
|
break;
|
|
3035
3035
|
case 2:
|
|
3036
3036
|
t[o] += at(i);
|
|
@@ -3047,15 +3047,15 @@ var Si = function(t, r, o) {
|
|
|
3047
3047
|
while (i = ve());
|
|
3048
3048
|
return t;
|
|
3049
3049
|
}, ki = function(t, r) {
|
|
3050
|
-
return
|
|
3051
|
-
},
|
|
3050
|
+
return Nr(xi(Hr(t), r));
|
|
3051
|
+
}, pr = /* @__PURE__ */ new WeakMap(), Oi = function(t) {
|
|
3052
3052
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
3053
3053
|
// negative .length indicates that this rule has been already prefixed
|
|
3054
3054
|
t.length < 1)) {
|
|
3055
3055
|
for (var r = t.value, o = t.parent, i = t.column === o.column && t.line === o.line; o.type !== "rule"; )
|
|
3056
3056
|
if (o = o.parent, !o) return;
|
|
3057
|
-
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !
|
|
3058
|
-
|
|
3057
|
+
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !pr.get(o)) && !i) {
|
|
3058
|
+
pr.set(t, !0);
|
|
3059
3059
|
for (var a = [], l = ki(r, a), f = o.props, d = 0, h = 0; d < l.length; d++)
|
|
3060
3060
|
for (var w = 0; w < f.length; w++, h++)
|
|
3061
3061
|
t.props[h] = a[d] ? l[d].replace(/&\f/g, f[w]) : f[w] + " " + l[d];
|
|
@@ -3069,7 +3069,7 @@ var Si = function(t, r, o) {
|
|
|
3069
3069
|
r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
3070
3070
|
}
|
|
3071
3071
|
};
|
|
3072
|
-
function
|
|
3072
|
+
function $r(e, t) {
|
|
3073
3073
|
switch (si(e, t)) {
|
|
3074
3074
|
// color-adjust
|
|
3075
3075
|
case 5103:
|
|
@@ -3177,7 +3177,7 @@ function Fr(e, t) {
|
|
|
3177
3177
|
return te(e, /(.+:)(.+)-([^]+)/, "$1" + ee + "$2-$3$1" + dt + (fe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
3178
3178
|
// (s)tretch
|
|
3179
3179
|
case 115:
|
|
3180
|
-
return ~It(e, "stretch") ?
|
|
3180
|
+
return ~It(e, "stretch") ? $r(te(e, "stretch", "fill-available"), t) + e : e;
|
|
3181
3181
|
}
|
|
3182
3182
|
break;
|
|
3183
3183
|
// position: sticky
|
|
@@ -3213,29 +3213,29 @@ function Fr(e, t) {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
var Pi = function(t, r, o, i) {
|
|
3215
3215
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
3216
|
-
case
|
|
3217
|
-
t.return =
|
|
3216
|
+
case $t:
|
|
3217
|
+
t.return = $r(t.value, t.length);
|
|
3218
3218
|
break;
|
|
3219
3219
|
case Ir:
|
|
3220
|
-
return Re([
|
|
3220
|
+
return Re([$e(t, {
|
|
3221
3221
|
value: te(t.value, "@", "@" + ee)
|
|
3222
3222
|
})], i);
|
|
3223
|
-
case
|
|
3223
|
+
case Ft:
|
|
3224
3224
|
if (t.length) return ui(t.props, function(a) {
|
|
3225
3225
|
switch (li(a, /(::plac\w+|:read-\w+)/)) {
|
|
3226
3226
|
// :read-(only|write)
|
|
3227
3227
|
case ":read-only":
|
|
3228
3228
|
case ":read-write":
|
|
3229
|
-
return Re([
|
|
3229
|
+
return Re([$e(t, {
|
|
3230
3230
|
props: [te(a, /:(read-\w+)/, ":" + dt + "$1")]
|
|
3231
3231
|
})], i);
|
|
3232
3232
|
// :placeholder
|
|
3233
3233
|
case "::placeholder":
|
|
3234
|
-
return Re([
|
|
3234
|
+
return Re([$e(t, {
|
|
3235
3235
|
props: [te(a, /:(plac\w+)/, ":" + ee + "input-$1")]
|
|
3236
|
-
}),
|
|
3236
|
+
}), $e(t, {
|
|
3237
3237
|
props: [te(a, /:(plac\w+)/, ":" + dt + "$1")]
|
|
3238
|
-
}),
|
|
3238
|
+
}), $e(t, {
|
|
3239
3239
|
props: [te(a, /:(plac\w+)/, de + "input-$1")]
|
|
3240
3240
|
})], i);
|
|
3241
3241
|
}
|
|
@@ -3264,13 +3264,13 @@ var Pi = function(t, r, o, i) {
|
|
|
3264
3264
|
);
|
|
3265
3265
|
var d, h = [Oi, Ci];
|
|
3266
3266
|
{
|
|
3267
|
-
var w,
|
|
3267
|
+
var w, E = [gi, wi(function(v) {
|
|
3268
3268
|
w.insert(v);
|
|
3269
|
-
})],
|
|
3270
|
-
return Re(mi(I),
|
|
3269
|
+
})], R = bi(h.concat(i, E)), A = function(I) {
|
|
3270
|
+
return Re(mi(I), R);
|
|
3271
3271
|
};
|
|
3272
|
-
d = function(I, O,
|
|
3273
|
-
w =
|
|
3272
|
+
d = function(I, O, N, q) {
|
|
3273
|
+
w = N, A(I ? I + "{" + O.styles + "}" : O.styles), q && (C.inserted[O.name] = !0);
|
|
3274
3274
|
};
|
|
3275
3275
|
}
|
|
3276
3276
|
var C = {
|
|
@@ -3390,7 +3390,7 @@ var Di = {
|
|
|
3390
3390
|
return t.charCodeAt(1) === 45;
|
|
3391
3391
|
}, vr = function(t) {
|
|
3392
3392
|
return t != null && typeof t != "boolean";
|
|
3393
|
-
}, Tt = /* @__PURE__ */
|
|
3393
|
+
}, Tt = /* @__PURE__ */ Fr(function(e) {
|
|
3394
3394
|
return qr(e) ? e : e.replace(Mi, "-$&").toLowerCase();
|
|
3395
3395
|
}), mr = function(t, r) {
|
|
3396
3396
|
switch (t) {
|
|
@@ -3450,8 +3450,8 @@ function Ye(e, t, r) {
|
|
|
3450
3450
|
var w = r;
|
|
3451
3451
|
if (t == null)
|
|
3452
3452
|
return w;
|
|
3453
|
-
var
|
|
3454
|
-
return
|
|
3453
|
+
var E = t[w];
|
|
3454
|
+
return E !== void 0 ? E : w;
|
|
3455
3455
|
}
|
|
3456
3456
|
function Ai(e, t, r) {
|
|
3457
3457
|
var o = "";
|
|
@@ -3503,16 +3503,16 @@ function zi(e, t, r) {
|
|
|
3503
3503
|
yr.lastIndex = 0;
|
|
3504
3504
|
for (var h = "", w; (w = yr.exec(i)) !== null; )
|
|
3505
3505
|
h += "-" + w[1];
|
|
3506
|
-
var
|
|
3506
|
+
var E = Li(i) + h;
|
|
3507
3507
|
return {
|
|
3508
|
-
name:
|
|
3508
|
+
name: E,
|
|
3509
3509
|
styles: i,
|
|
3510
3510
|
next: ye
|
|
3511
3511
|
};
|
|
3512
3512
|
}
|
|
3513
|
-
var
|
|
3513
|
+
var Hi = function(t) {
|
|
3514
3514
|
return t();
|
|
3515
|
-
},
|
|
3515
|
+
}, Ni = _.useInsertionEffect ? _.useInsertionEffect : !1, Fi = Ni || Hi, Ur = /* @__PURE__ */ _.createContext(
|
|
3516
3516
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3517
3517
|
// because this module is primarily intended for the browser and node
|
|
3518
3518
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -3524,12 +3524,12 @@ var Ni = function(t) {
|
|
|
3524
3524
|
}) : null
|
|
3525
3525
|
);
|
|
3526
3526
|
Ur.Provider;
|
|
3527
|
-
var
|
|
3528
|
-
return /* @__PURE__ */
|
|
3529
|
-
var i =
|
|
3527
|
+
var $i = function(t) {
|
|
3528
|
+
return /* @__PURE__ */ pn(function(r, o) {
|
|
3529
|
+
var i = Nt(Ur);
|
|
3530
3530
|
return t(r, i, o);
|
|
3531
3531
|
});
|
|
3532
|
-
}, Wi = /* @__PURE__ */ _.createContext({}), qi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Ui = /* @__PURE__ */
|
|
3532
|
+
}, Wi = /* @__PURE__ */ _.createContext({}), qi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Ui = /* @__PURE__ */ Fr(
|
|
3533
3533
|
function(e) {
|
|
3534
3534
|
return qi.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
3535
3535
|
}
|
|
@@ -3552,7 +3552,7 @@ var Fi = function(t) {
|
|
|
3552
3552
|
return typeof i != "function" && o && (i = t.__emotion_forwardProp), i;
|
|
3553
3553
|
}, Vi = function(t) {
|
|
3554
3554
|
var r = t.cache, o = t.serialized, i = t.isStringTag;
|
|
3555
|
-
return Wr(r, o, i),
|
|
3555
|
+
return Wr(r, o, i), Fi(function() {
|
|
3556
3556
|
return ji(r, o, i);
|
|
3557
3557
|
}), null;
|
|
3558
3558
|
}, Xi = function e(t, r) {
|
|
@@ -3560,16 +3560,16 @@ var Fi = function(t) {
|
|
|
3560
3560
|
r !== void 0 && (a = r.label, l = r.target);
|
|
3561
3561
|
var f = br(t, r, o), d = f || gr(i), h = !d("as");
|
|
3562
3562
|
return function() {
|
|
3563
|
-
var w = arguments,
|
|
3564
|
-
if (a !== void 0 &&
|
|
3565
|
-
|
|
3563
|
+
var w = arguments, E = o && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3564
|
+
if (a !== void 0 && E.push("label:" + a + ";"), w[0] == null || w[0].raw === void 0)
|
|
3565
|
+
E.push.apply(E, w);
|
|
3566
3566
|
else {
|
|
3567
|
-
var
|
|
3568
|
-
|
|
3569
|
-
for (var
|
|
3570
|
-
|
|
3567
|
+
var R = w[0];
|
|
3568
|
+
E.push(R[0]);
|
|
3569
|
+
for (var A = w.length, C = 1; C < A; C++)
|
|
3570
|
+
E.push(w[C], R[C]);
|
|
3571
3571
|
}
|
|
3572
|
-
var v =
|
|
3572
|
+
var v = $i(function(I, O, N) {
|
|
3573
3573
|
var q = h && I.as || i, B = "", p = [], y = I;
|
|
3574
3574
|
if (I.theme == null) {
|
|
3575
3575
|
y = {};
|
|
@@ -3578,26 +3578,26 @@ var Fi = function(t) {
|
|
|
3578
3578
|
y.theme = _.useContext(Wi);
|
|
3579
3579
|
}
|
|
3580
3580
|
typeof I.className == "string" ? B = Ti(O.registered, p, I.className) : I.className != null && (B = I.className + " ");
|
|
3581
|
-
var k = zi(
|
|
3581
|
+
var k = zi(E.concat(p), O.registered, y);
|
|
3582
3582
|
B += O.key + "-" + k.name, l !== void 0 && (B += " " + l);
|
|
3583
3583
|
var m = h && f === void 0 ? gr(q) : d, c = {};
|
|
3584
3584
|
for (var P in I)
|
|
3585
3585
|
h && P === "as" || m(P) && (c[P] = I[P]);
|
|
3586
|
-
return c.className = B,
|
|
3586
|
+
return c.className = B, N && (c.ref = N), /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(Vi, {
|
|
3587
3587
|
cache: O,
|
|
3588
3588
|
serialized: k,
|
|
3589
3589
|
isStringTag: typeof q == "string"
|
|
3590
3590
|
}), /* @__PURE__ */ _.createElement(q, c));
|
|
3591
3591
|
});
|
|
3592
|
-
return v.displayName = a !== void 0 ? a : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", v.defaultProps = t.defaultProps, v.__emotion_real = v, v.__emotion_base = i, v.__emotion_styles =
|
|
3592
|
+
return v.displayName = a !== void 0 ? a : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", v.defaultProps = t.defaultProps, v.__emotion_real = v, v.__emotion_base = i, v.__emotion_styles = E, v.__emotion_forwardProp = f, Object.defineProperty(v, "toString", {
|
|
3593
3593
|
value: function() {
|
|
3594
3594
|
return "." + l;
|
|
3595
3595
|
}
|
|
3596
3596
|
}), v.withComponent = function(I, O) {
|
|
3597
|
-
var
|
|
3597
|
+
var N = e(I, Mt({}, r, O, {
|
|
3598
3598
|
shouldForwardProp: br(v, O, !0)
|
|
3599
3599
|
}));
|
|
3600
|
-
return
|
|
3600
|
+
return N.apply(void 0, E);
|
|
3601
3601
|
}, v;
|
|
3602
3602
|
};
|
|
3603
3603
|
}, Gi = [
|
|
@@ -3745,6 +3745,10 @@ const Ki = Ve.div`
|
|
|
3745
3745
|
height: fit-content;
|
|
3746
3746
|
|
|
3747
3747
|
${({ styles: e }) => e && { ...e }}
|
|
3748
|
+
|
|
3749
|
+
.slick-list {
|
|
3750
|
+
overflow: visible;
|
|
3751
|
+
}
|
|
3748
3752
|
`, Ji = Ve.div`
|
|
3749
3753
|
box-sizing: border-box;
|
|
3750
3754
|
display: flex;
|
|
@@ -3758,7 +3762,7 @@ const Ki = Ve.div`
|
|
|
3758
3762
|
box-sizing: border-box;
|
|
3759
3763
|
display: flex;
|
|
3760
3764
|
}
|
|
3761
|
-
`,
|
|
3765
|
+
`, Ia = ({
|
|
3762
3766
|
styles: e,
|
|
3763
3767
|
content: t,
|
|
3764
3768
|
settings: r,
|
|
@@ -3778,7 +3782,7 @@ const Ki = Ve.div`
|
|
|
3778
3782
|
{
|
|
3779
3783
|
styles: {
|
|
3780
3784
|
paddingLeft: f === 0 ? "0px" : o,
|
|
3781
|
-
marginLeft:
|
|
3785
|
+
// marginLeft: index !== 0 ? "0px" : margin,
|
|
3782
3786
|
...l.styles
|
|
3783
3787
|
},
|
|
3784
3788
|
"data-testid": "carousel-slide-item",
|
|
@@ -3786,7 +3790,7 @@ const Ki = Ve.div`
|
|
|
3786
3790
|
}
|
|
3787
3791
|
));
|
|
3788
3792
|
return /* @__PURE__ */ G.jsx(Ki, { styles: { ...e }, children: /* @__PURE__ */ G.jsx(Qn, { ...i, children: a }) });
|
|
3789
|
-
},
|
|
3793
|
+
}, Aa = (e) => Er(e, []), Zi = () => {
|
|
3790
3794
|
const [e, t] = U.useState(
|
|
3791
3795
|
{}
|
|
3792
3796
|
), [r, o] = U.useState(!1);
|
|
@@ -3828,14 +3832,14 @@ const Ki = Ve.div`
|
|
|
3828
3832
|
v && (d.current = v, r?.(v));
|
|
3829
3833
|
},
|
|
3830
3834
|
[h]
|
|
3831
|
-
),
|
|
3835
|
+
), E = U.useCallback(
|
|
3832
3836
|
(C) => {
|
|
3833
3837
|
d.current.isDragging = !1;
|
|
3834
3838
|
const v = h(l);
|
|
3835
3839
|
v && (o?.(v), v.startPosX = void 0, v.startPosY = void 0, d.current = v);
|
|
3836
3840
|
},
|
|
3837
3841
|
[h, l]
|
|
3838
|
-
),
|
|
3842
|
+
), R = U.useCallback(
|
|
3839
3843
|
(C) => {
|
|
3840
3844
|
if (console.debug(
|
|
3841
3845
|
"useDrag > onPointerMove > Is Dragging >",
|
|
@@ -3846,7 +3850,7 @@ const Ki = Ve.div`
|
|
|
3846
3850
|
console.debug("useDrag > onPointerMove > Drag Result >", v), v && (t?.(v), d.current = v);
|
|
3847
3851
|
},
|
|
3848
3852
|
[h, l]
|
|
3849
|
-
),
|
|
3853
|
+
), A = U.useCallback(async () => {
|
|
3850
3854
|
if (!i.current) {
|
|
3851
3855
|
for (; !e?.current; )
|
|
3852
3856
|
await new Promise((C) => setTimeout(C, 300));
|
|
@@ -3854,13 +3858,13 @@ const Ki = Ve.div`
|
|
|
3854
3858
|
}
|
|
3855
3859
|
}, [e?.current, w]);
|
|
3856
3860
|
U.useEffect(() => {
|
|
3857
|
-
|
|
3858
|
-
}, [
|
|
3859
|
-
|
|
3861
|
+
A();
|
|
3862
|
+
}, [A]), U.useEffect(() => {
|
|
3863
|
+
R();
|
|
3860
3864
|
}, [l]), U.useEffect(() => {
|
|
3861
|
-
f !== a.current && (a.current = f, f ||
|
|
3865
|
+
f !== a.current && (a.current = f, f || E());
|
|
3862
3866
|
}, [f, a.current]);
|
|
3863
|
-
},
|
|
3867
|
+
}, za = () => {
|
|
3864
3868
|
const e = (r, o) => {
|
|
3865
3869
|
let i = 0, a = `${r}?`;
|
|
3866
3870
|
for (const l in o) {
|
|
@@ -3873,16 +3877,63 @@ const Ki = Ve.div`
|
|
|
3873
3877
|
const i = e(r, o);
|
|
3874
3878
|
return await (await fetch(i)).json();
|
|
3875
3879
|
};
|
|
3876
|
-
}
|
|
3880
|
+
};
|
|
3881
|
+
class eo {
|
|
3882
|
+
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
3883
|
+
static waitForCondition = (t) => new Promise((r) => {
|
|
3884
|
+
const o = () => {
|
|
3885
|
+
t() ? r() : setTimeout(o, 100);
|
|
3886
|
+
};
|
|
3887
|
+
o();
|
|
3888
|
+
});
|
|
3889
|
+
static waitForAsyncCondition = (t) => new Promise((r) => {
|
|
3890
|
+
const o = async () => {
|
|
3891
|
+
await t() ? r() : setTimeout(o, 100);
|
|
3892
|
+
};
|
|
3893
|
+
o();
|
|
3894
|
+
});
|
|
3895
|
+
static differenceInMonths = (t, r) => {
|
|
3896
|
+
let o = 0;
|
|
3897
|
+
return o = (r.getFullYear() - t.getFullYear()) * 12, o -= t.getMonth(), o += r.getMonth(), o;
|
|
3898
|
+
};
|
|
3899
|
+
static isDateOneAfterDateTwo = (t, r) => t.getFullYear() >= r.getFullYear() && t.getMonth() >= r.getMonth() ? t.getDay() > r.getDay() : !1;
|
|
3900
|
+
}
|
|
3901
|
+
const Ha = (e, t = 0) => {
|
|
3902
|
+
const r = U.useRef(0), [o, i] = U.useState(0), a = U.useRef(null), [l, f] = U.useState(!1), d = U.useCallback(() => {
|
|
3903
|
+
f((E) => !E);
|
|
3904
|
+
}, []), h = U.useCallback(() => r.current === 0 ? !1 : o >= r.current - t, [t, o]), w = U.useCallback(() => e.current !== null && e.current !== void 0, [e]);
|
|
3905
|
+
return U.useEffect(() => {
|
|
3906
|
+
const E = () => {
|
|
3907
|
+
if (!e.current) return;
|
|
3908
|
+
const A = e.current.scrollHeight - e.current.clientHeight;
|
|
3909
|
+
r.current = A, i(e.current.scrollTop);
|
|
3910
|
+
};
|
|
3911
|
+
return (async () => {
|
|
3912
|
+
await eo.waitForCondition(w), a.current = e.current, a.current?.addEventListener("scroll", E);
|
|
3913
|
+
})(), () => {
|
|
3914
|
+
a.current?.removeEventListener("scroll", E);
|
|
3915
|
+
};
|
|
3916
|
+
}, [
|
|
3917
|
+
e,
|
|
3918
|
+
r,
|
|
3919
|
+
i,
|
|
3920
|
+
o,
|
|
3921
|
+
w,
|
|
3922
|
+
l
|
|
3923
|
+
]), {
|
|
3924
|
+
isTouchingBottom: h(),
|
|
3925
|
+
refresh: d
|
|
3926
|
+
};
|
|
3927
|
+
}, to = {
|
|
3877
3928
|
xs: 0,
|
|
3878
3929
|
sm: 420,
|
|
3879
3930
|
md: 768,
|
|
3880
3931
|
lg: 991,
|
|
3881
3932
|
xl: 1200,
|
|
3882
3933
|
xxl: 1440
|
|
3883
|
-
},
|
|
3934
|
+
}, Na = (e) => {
|
|
3884
3935
|
const t = {
|
|
3885
|
-
...
|
|
3936
|
+
...to,
|
|
3886
3937
|
...e?.breakpointConfiguration
|
|
3887
3938
|
}, [r, o] = vn(
|
|
3888
3939
|
wr(t)
|
|
@@ -3892,10 +3943,10 @@ const Ki = Ve.div`
|
|
|
3892
3943
|
return Er(() => (window.addEventListener("resize", i), () => {
|
|
3893
3944
|
window.removeEventListener("resize", i);
|
|
3894
3945
|
}), []), mn(() => r, [r]);
|
|
3895
|
-
},
|
|
3896
|
-
const t = window.innerWidth, r = window.innerHeight, o =
|
|
3946
|
+
}, ro = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", no = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", wr = (e) => {
|
|
3947
|
+
const t = window.innerWidth, r = window.innerHeight, o = ro(t, e), i = no(t, e);
|
|
3897
3948
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: o, currentSize: i };
|
|
3898
|
-
},
|
|
3949
|
+
}, Fa = (e) => {
|
|
3899
3950
|
const t = e.translations, r = e.language, o = (a, l) => {
|
|
3900
3951
|
if (!a)
|
|
3901
3952
|
return;
|
|
@@ -3918,63 +3969,63 @@ const Ki = Ve.div`
|
|
|
3918
3969
|
};
|
|
3919
3970
|
};
|
|
3920
3971
|
var We = {}, Sr;
|
|
3921
|
-
function
|
|
3972
|
+
function io() {
|
|
3922
3973
|
if (Sr) return We;
|
|
3923
3974
|
Sr = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.parse = l, We.serialize = h;
|
|
3924
3975
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, o = /^[\u0020-\u003A\u003D-\u007E]*$/, i = Object.prototype.toString, a = /* @__PURE__ */ (() => {
|
|
3925
|
-
const
|
|
3976
|
+
const R = function() {
|
|
3926
3977
|
};
|
|
3927
|
-
return
|
|
3978
|
+
return R.prototype = /* @__PURE__ */ Object.create(null), R;
|
|
3928
3979
|
})();
|
|
3929
|
-
function l(
|
|
3930
|
-
const C = new a(), v =
|
|
3980
|
+
function l(R, A) {
|
|
3981
|
+
const C = new a(), v = R.length;
|
|
3931
3982
|
if (v < 2)
|
|
3932
3983
|
return C;
|
|
3933
|
-
const I =
|
|
3984
|
+
const I = A?.decode || w;
|
|
3934
3985
|
let O = 0;
|
|
3935
3986
|
do {
|
|
3936
|
-
const
|
|
3937
|
-
if (
|
|
3987
|
+
const N = R.indexOf("=", O);
|
|
3988
|
+
if (N === -1)
|
|
3938
3989
|
break;
|
|
3939
|
-
const q =
|
|
3940
|
-
if (
|
|
3941
|
-
O =
|
|
3990
|
+
const q = R.indexOf(";", O), B = q === -1 ? v : q;
|
|
3991
|
+
if (N > B) {
|
|
3992
|
+
O = R.lastIndexOf(";", N - 1) + 1;
|
|
3942
3993
|
continue;
|
|
3943
3994
|
}
|
|
3944
|
-
const p = f(
|
|
3995
|
+
const p = f(R, O, N), y = d(R, N, p), g = R.slice(p, y);
|
|
3945
3996
|
if (C[g] === void 0) {
|
|
3946
|
-
let k = f(
|
|
3947
|
-
const c = I(
|
|
3997
|
+
let k = f(R, N + 1, B), m = d(R, B, k);
|
|
3998
|
+
const c = I(R.slice(k, m));
|
|
3948
3999
|
C[g] = c;
|
|
3949
4000
|
}
|
|
3950
4001
|
O = B + 1;
|
|
3951
4002
|
} while (O < v);
|
|
3952
4003
|
return C;
|
|
3953
4004
|
}
|
|
3954
|
-
function f(
|
|
4005
|
+
function f(R, A, C) {
|
|
3955
4006
|
do {
|
|
3956
|
-
const v =
|
|
4007
|
+
const v = R.charCodeAt(A);
|
|
3957
4008
|
if (v !== 32 && v !== 9)
|
|
3958
|
-
return
|
|
3959
|
-
} while (++
|
|
4009
|
+
return A;
|
|
4010
|
+
} while (++A < C);
|
|
3960
4011
|
return C;
|
|
3961
4012
|
}
|
|
3962
|
-
function d(
|
|
3963
|
-
for (;
|
|
3964
|
-
const v =
|
|
4013
|
+
function d(R, A, C) {
|
|
4014
|
+
for (; A > C; ) {
|
|
4015
|
+
const v = R.charCodeAt(--A);
|
|
3965
4016
|
if (v !== 32 && v !== 9)
|
|
3966
|
-
return
|
|
4017
|
+
return A + 1;
|
|
3967
4018
|
}
|
|
3968
4019
|
return C;
|
|
3969
4020
|
}
|
|
3970
|
-
function h(
|
|
4021
|
+
function h(R, A, C) {
|
|
3971
4022
|
const v = C?.encode || encodeURIComponent;
|
|
3972
|
-
if (!e.test(
|
|
3973
|
-
throw new TypeError(`argument name is invalid: ${
|
|
3974
|
-
const I = v(
|
|
4023
|
+
if (!e.test(R))
|
|
4024
|
+
throw new TypeError(`argument name is invalid: ${R}`);
|
|
4025
|
+
const I = v(A);
|
|
3975
4026
|
if (!t.test(I))
|
|
3976
|
-
throw new TypeError(`argument val is invalid: ${
|
|
3977
|
-
let O =
|
|
4027
|
+
throw new TypeError(`argument val is invalid: ${A}`);
|
|
4028
|
+
let O = R + "=" + I;
|
|
3978
4029
|
if (!C)
|
|
3979
4030
|
return O;
|
|
3980
4031
|
if (C.maxAge !== void 0) {
|
|
@@ -3993,7 +4044,7 @@ function no() {
|
|
|
3993
4044
|
O += "; Path=" + C.path;
|
|
3994
4045
|
}
|
|
3995
4046
|
if (C.expires) {
|
|
3996
|
-
if (!
|
|
4047
|
+
if (!E(C.expires) || !Number.isFinite(C.expires.valueOf()))
|
|
3997
4048
|
throw new TypeError(`option expires is invalid: ${C.expires}`);
|
|
3998
4049
|
O += "; Expires=" + C.expires.toUTCString();
|
|
3999
4050
|
}
|
|
@@ -4028,21 +4079,21 @@ function no() {
|
|
|
4028
4079
|
}
|
|
4029
4080
|
return O;
|
|
4030
4081
|
}
|
|
4031
|
-
function w(
|
|
4032
|
-
if (
|
|
4033
|
-
return
|
|
4082
|
+
function w(R) {
|
|
4083
|
+
if (R.indexOf("%") === -1)
|
|
4084
|
+
return R;
|
|
4034
4085
|
try {
|
|
4035
|
-
return decodeURIComponent(
|
|
4086
|
+
return decodeURIComponent(R);
|
|
4036
4087
|
} catch {
|
|
4037
|
-
return
|
|
4088
|
+
return R;
|
|
4038
4089
|
}
|
|
4039
4090
|
}
|
|
4040
|
-
function R
|
|
4041
|
-
return i.call(
|
|
4091
|
+
function E(R) {
|
|
4092
|
+
return i.call(R) === "[object Date]";
|
|
4042
4093
|
}
|
|
4043
4094
|
return We;
|
|
4044
4095
|
}
|
|
4045
|
-
|
|
4096
|
+
io();
|
|
4046
4097
|
/**
|
|
4047
4098
|
* react-router v7.6.3
|
|
4048
4099
|
*
|
|
@@ -4054,7 +4105,7 @@ no();
|
|
|
4054
4105
|
* @license MIT
|
|
4055
4106
|
*/
|
|
4056
4107
|
var xr = "popstate";
|
|
4057
|
-
function
|
|
4108
|
+
function oo(e = {}) {
|
|
4058
4109
|
function t(o, i) {
|
|
4059
4110
|
let { pathname: a, search: l, hash: f } = o.location;
|
|
4060
4111
|
return zt(
|
|
@@ -4068,7 +4119,7 @@ function io(e = {}) {
|
|
|
4068
4119
|
function r(o, i) {
|
|
4069
4120
|
return typeof i == "string" ? i : Xe(i);
|
|
4070
4121
|
}
|
|
4071
|
-
return
|
|
4122
|
+
return so(
|
|
4072
4123
|
t,
|
|
4073
4124
|
r,
|
|
4074
4125
|
null,
|
|
@@ -4088,7 +4139,7 @@ function be(e, t) {
|
|
|
4088
4139
|
}
|
|
4089
4140
|
}
|
|
4090
4141
|
}
|
|
4091
|
-
function
|
|
4142
|
+
function ao() {
|
|
4092
4143
|
return Math.random().toString(36).substring(2, 10);
|
|
4093
4144
|
}
|
|
4094
4145
|
function kr(e, t) {
|
|
@@ -4109,7 +4160,7 @@ function zt(e, t, r = null, o) {
|
|
|
4109
4160
|
// full Locations now and avoid the need to run through this flow at all
|
|
4110
4161
|
// But that's a pretty big refactor to the current test suite so going to
|
|
4111
4162
|
// keep as is for the time being and just let any incoming keys take precedence
|
|
4112
|
-
key: t && t.key || o ||
|
|
4163
|
+
key: t && t.key || o || ao()
|
|
4113
4164
|
};
|
|
4114
4165
|
}
|
|
4115
4166
|
function Xe({
|
|
@@ -4129,22 +4180,22 @@ function Le(e) {
|
|
|
4129
4180
|
}
|
|
4130
4181
|
return t;
|
|
4131
4182
|
}
|
|
4132
|
-
function
|
|
4183
|
+
function so(e, t, r, o = {}) {
|
|
4133
4184
|
let { window: i = document.defaultView, v5Compat: a = !1 } = o, l = i.history, f = "POP", d = null, h = w();
|
|
4134
4185
|
h == null && (h = 0, l.replaceState({ ...l.state, idx: h }, ""));
|
|
4135
4186
|
function w() {
|
|
4136
4187
|
return (l.state || { idx: null }).idx;
|
|
4137
4188
|
}
|
|
4138
|
-
function
|
|
4189
|
+
function E() {
|
|
4139
4190
|
f = "POP";
|
|
4140
4191
|
let I = w(), O = I == null ? null : I - h;
|
|
4141
4192
|
h = I, d && d({ action: f, location: v.location, delta: O });
|
|
4142
4193
|
}
|
|
4143
|
-
function
|
|
4194
|
+
function R(I, O) {
|
|
4144
4195
|
f = "PUSH";
|
|
4145
|
-
let
|
|
4196
|
+
let N = zt(v.location, I, O);
|
|
4146
4197
|
h = w() + 1;
|
|
4147
|
-
let q = kr(
|
|
4198
|
+
let q = kr(N, h), B = v.createHref(N);
|
|
4148
4199
|
try {
|
|
4149
4200
|
l.pushState(q, "", B);
|
|
4150
4201
|
} catch (p) {
|
|
@@ -4154,15 +4205,15 @@ function ao(e, t, r, o = {}) {
|
|
|
4154
4205
|
}
|
|
4155
4206
|
a && d && d({ action: f, location: v.location, delta: 1 });
|
|
4156
4207
|
}
|
|
4157
|
-
function
|
|
4208
|
+
function A(I, O) {
|
|
4158
4209
|
f = "REPLACE";
|
|
4159
|
-
let
|
|
4210
|
+
let N = zt(v.location, I, O);
|
|
4160
4211
|
h = w();
|
|
4161
|
-
let q = kr(
|
|
4212
|
+
let q = kr(N, h), B = v.createHref(N);
|
|
4162
4213
|
l.replaceState(q, "", B), a && d && d({ action: f, location: v.location, delta: 0 });
|
|
4163
4214
|
}
|
|
4164
4215
|
function C(I) {
|
|
4165
|
-
return
|
|
4216
|
+
return lo(I);
|
|
4166
4217
|
}
|
|
4167
4218
|
let v = {
|
|
4168
4219
|
get action() {
|
|
@@ -4174,8 +4225,8 @@ function ao(e, t, r, o = {}) {
|
|
|
4174
4225
|
listen(I) {
|
|
4175
4226
|
if (d)
|
|
4176
4227
|
throw new Error("A history only accepts one active listener");
|
|
4177
|
-
return i.addEventListener(xr,
|
|
4178
|
-
i.removeEventListener(xr,
|
|
4228
|
+
return i.addEventListener(xr, E), d = I, () => {
|
|
4229
|
+
i.removeEventListener(xr, E), d = null;
|
|
4179
4230
|
};
|
|
4180
4231
|
},
|
|
4181
4232
|
createHref(I) {
|
|
@@ -4190,33 +4241,33 @@ function ao(e, t, r, o = {}) {
|
|
|
4190
4241
|
hash: O.hash
|
|
4191
4242
|
};
|
|
4192
4243
|
},
|
|
4193
|
-
push:
|
|
4194
|
-
replace:
|
|
4244
|
+
push: R,
|
|
4245
|
+
replace: A,
|
|
4195
4246
|
go(I) {
|
|
4196
4247
|
return l.go(I);
|
|
4197
4248
|
}
|
|
4198
4249
|
};
|
|
4199
4250
|
return v;
|
|
4200
4251
|
}
|
|
4201
|
-
function
|
|
4252
|
+
function lo(e, t = !1) {
|
|
4202
4253
|
let r = "http://localhost";
|
|
4203
4254
|
typeof window < "u" && (r = window.location.origin !== "null" ? window.location.origin : window.location.href), oe(r, "No window.location.(origin|href) available to create URL");
|
|
4204
4255
|
let o = typeof e == "string" ? e : Xe(e);
|
|
4205
4256
|
return o = o.replace(/ $/, "%20"), !t && o.startsWith("//") && (o = r + o), new URL(o, r);
|
|
4206
4257
|
}
|
|
4207
4258
|
function Br(e, t, r = "/") {
|
|
4208
|
-
return
|
|
4259
|
+
return uo(e, t, r, !1);
|
|
4209
4260
|
}
|
|
4210
|
-
function
|
|
4261
|
+
function uo(e, t, r, o) {
|
|
4211
4262
|
let i = typeof t == "string" ? Le(t) : t, a = xe(i.pathname || "/", r);
|
|
4212
4263
|
if (a == null)
|
|
4213
4264
|
return null;
|
|
4214
4265
|
let l = Yr(e);
|
|
4215
|
-
|
|
4266
|
+
co(l);
|
|
4216
4267
|
let f = null;
|
|
4217
4268
|
for (let d = 0; f == null && d < l.length; ++d) {
|
|
4218
|
-
let h =
|
|
4219
|
-
f =
|
|
4269
|
+
let h = xo(a);
|
|
4270
|
+
f = wo(
|
|
4220
4271
|
l[d],
|
|
4221
4272
|
h,
|
|
4222
4273
|
o
|
|
@@ -4244,7 +4295,7 @@ function Yr(e, t = [], r = [], o = "") {
|
|
|
4244
4295
|
`Index routes must not have child routes. Please remove all child routes from route path "${h}".`
|
|
4245
4296
|
), Yr(a.children, t, w, h)), !(a.path == null && !a.index) && t.push({
|
|
4246
4297
|
path: h,
|
|
4247
|
-
score:
|
|
4298
|
+
score: go(h, a.index),
|
|
4248
4299
|
routesMeta: w
|
|
4249
4300
|
});
|
|
4250
4301
|
};
|
|
@@ -4271,23 +4322,23 @@ function Vr(e) {
|
|
|
4271
4322
|
(d) => e.startsWith("/") && d === "" ? "/" : d
|
|
4272
4323
|
);
|
|
4273
4324
|
}
|
|
4274
|
-
function
|
|
4325
|
+
function co(e) {
|
|
4275
4326
|
e.sort(
|
|
4276
|
-
(t, r) => t.score !== r.score ? r.score - t.score :
|
|
4327
|
+
(t, r) => t.score !== r.score ? r.score - t.score : bo(
|
|
4277
4328
|
t.routesMeta.map((o) => o.childrenIndex),
|
|
4278
4329
|
r.routesMeta.map((o) => o.childrenIndex)
|
|
4279
4330
|
)
|
|
4280
4331
|
);
|
|
4281
4332
|
}
|
|
4282
|
-
var
|
|
4283
|
-
function
|
|
4333
|
+
var fo = /^:[\w-]+$/, ho = 3, po = 2, vo = 1, mo = 10, yo = -2, Or = (e) => e === "*";
|
|
4334
|
+
function go(e, t) {
|
|
4284
4335
|
let r = e.split("/"), o = r.length;
|
|
4285
|
-
return r.some(Or) && (o +=
|
|
4286
|
-
(i, a) => i + (
|
|
4336
|
+
return r.some(Or) && (o += yo), t && (o += po), r.filter((i) => !Or(i)).reduce(
|
|
4337
|
+
(i, a) => i + (fo.test(a) ? ho : a === "" ? vo : mo),
|
|
4287
4338
|
o
|
|
4288
4339
|
);
|
|
4289
4340
|
}
|
|
4290
|
-
function
|
|
4341
|
+
function bo(e, t) {
|
|
4291
4342
|
return e.length === t.length && e.slice(0, -1).every((o, i) => o === t[i]) ? (
|
|
4292
4343
|
// If two routes are siblings, we should try to match the earlier sibling
|
|
4293
4344
|
// first. This allows people to have fine-grained control over the matching
|
|
@@ -4300,37 +4351,37 @@ function go(e, t) {
|
|
|
4300
4351
|
0
|
|
4301
4352
|
);
|
|
4302
4353
|
}
|
|
4303
|
-
function
|
|
4354
|
+
function wo(e, t, r = !1) {
|
|
4304
4355
|
let { routesMeta: o } = e, i = {}, a = "/", l = [];
|
|
4305
4356
|
for (let f = 0; f < o.length; ++f) {
|
|
4306
|
-
let d = o[f], h = f === o.length - 1, w = a === "/" ? t : t.slice(a.length) || "/",
|
|
4357
|
+
let d = o[f], h = f === o.length - 1, w = a === "/" ? t : t.slice(a.length) || "/", E = ht(
|
|
4307
4358
|
{ path: d.relativePath, caseSensitive: d.caseSensitive, end: h },
|
|
4308
4359
|
w
|
|
4309
|
-
),
|
|
4310
|
-
if (!
|
|
4360
|
+
), R = d.route;
|
|
4361
|
+
if (!E && h && r && !o[o.length - 1].route.index && (E = ht(
|
|
4311
4362
|
{
|
|
4312
4363
|
path: d.relativePath,
|
|
4313
4364
|
caseSensitive: d.caseSensitive,
|
|
4314
4365
|
end: !1
|
|
4315
4366
|
},
|
|
4316
4367
|
w
|
|
4317
|
-
)), !
|
|
4368
|
+
)), !E)
|
|
4318
4369
|
return null;
|
|
4319
|
-
Object.assign(i,
|
|
4370
|
+
Object.assign(i, E.params), l.push({
|
|
4320
4371
|
// TODO: Can this as be avoided?
|
|
4321
4372
|
params: i,
|
|
4322
|
-
pathname: Se([a,
|
|
4323
|
-
pathnameBase:
|
|
4324
|
-
Se([a,
|
|
4373
|
+
pathname: Se([a, E.pathname]),
|
|
4374
|
+
pathnameBase: Po(
|
|
4375
|
+
Se([a, E.pathnameBase])
|
|
4325
4376
|
),
|
|
4326
|
-
route:
|
|
4327
|
-
}),
|
|
4377
|
+
route: R
|
|
4378
|
+
}), E.pathnameBase !== "/" && (a = Se([a, E.pathnameBase]));
|
|
4328
4379
|
}
|
|
4329
4380
|
return l;
|
|
4330
4381
|
}
|
|
4331
|
-
function
|
|
4382
|
+
function ht(e, t) {
|
|
4332
4383
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
4333
|
-
let [r, o] =
|
|
4384
|
+
let [r, o] = So(
|
|
4334
4385
|
e.path,
|
|
4335
4386
|
e.caseSensitive,
|
|
4336
4387
|
e.end
|
|
@@ -4339,13 +4390,13 @@ function pt(e, t) {
|
|
|
4339
4390
|
let a = i[0], l = a.replace(/(.)\/+$/, "$1"), f = i.slice(1);
|
|
4340
4391
|
return {
|
|
4341
4392
|
params: o.reduce(
|
|
4342
|
-
(h, { paramName: w, isOptional:
|
|
4393
|
+
(h, { paramName: w, isOptional: E }, R) => {
|
|
4343
4394
|
if (w === "*") {
|
|
4344
|
-
let C = f[
|
|
4395
|
+
let C = f[R] || "";
|
|
4345
4396
|
l = a.slice(0, a.length - C.length).replace(/(.)\/+$/, "$1");
|
|
4346
4397
|
}
|
|
4347
|
-
const
|
|
4348
|
-
return
|
|
4398
|
+
const A = f[R];
|
|
4399
|
+
return E && !A ? h[w] = void 0 : h[w] = (A || "").replace(/%2F/g, "/"), h;
|
|
4349
4400
|
},
|
|
4350
4401
|
{}
|
|
4351
4402
|
),
|
|
@@ -4354,7 +4405,7 @@ function pt(e, t) {
|
|
|
4354
4405
|
pattern: e
|
|
4355
4406
|
};
|
|
4356
4407
|
}
|
|
4357
|
-
function
|
|
4408
|
+
function So(e, t = !1, r = !0) {
|
|
4358
4409
|
be(
|
|
4359
4410
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
4360
4411
|
`Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
|
|
@@ -4365,7 +4416,7 @@ function wo(e, t = !1, r = !0) {
|
|
|
4365
4416
|
);
|
|
4366
4417
|
return e.endsWith("*") ? (o.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), o];
|
|
4367
4418
|
}
|
|
4368
|
-
function
|
|
4419
|
+
function xo(e) {
|
|
4369
4420
|
try {
|
|
4370
4421
|
return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
|
|
4371
4422
|
} catch (t) {
|
|
@@ -4382,19 +4433,19 @@ function xe(e, t) {
|
|
|
4382
4433
|
let r = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(r);
|
|
4383
4434
|
return o && o !== "/" ? null : e.slice(r) || "/";
|
|
4384
4435
|
}
|
|
4385
|
-
function
|
|
4436
|
+
function ko(e, t = "/") {
|
|
4386
4437
|
let {
|
|
4387
4438
|
pathname: r,
|
|
4388
4439
|
search: o = "",
|
|
4389
4440
|
hash: i = ""
|
|
4390
4441
|
} = typeof e == "string" ? Le(e) : e;
|
|
4391
4442
|
return {
|
|
4392
|
-
pathname: r ? r.startsWith("/") ? r :
|
|
4393
|
-
search:
|
|
4394
|
-
hash:
|
|
4443
|
+
pathname: r ? r.startsWith("/") ? r : Oo(r, t) : t,
|
|
4444
|
+
search: Eo(o),
|
|
4445
|
+
hash: Ro(i)
|
|
4395
4446
|
};
|
|
4396
4447
|
}
|
|
4397
|
-
function
|
|
4448
|
+
function Oo(e, t) {
|
|
4398
4449
|
let r = t.replace(/\/+$/, "").split("/");
|
|
4399
4450
|
return e.split("/").forEach((i) => {
|
|
4400
4451
|
i === ".." ? r.length > 1 && r.pop() : i !== "." && r.push(i);
|
|
@@ -4405,13 +4456,13 @@ function jt(e, t, r, o) {
|
|
|
4405
4456
|
o
|
|
4406
4457
|
)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
|
|
4407
4458
|
}
|
|
4408
|
-
function
|
|
4459
|
+
function Co(e) {
|
|
4409
4460
|
return e.filter(
|
|
4410
4461
|
(t, r) => r === 0 || t.route.path && t.route.path.length > 0
|
|
4411
4462
|
);
|
|
4412
4463
|
}
|
|
4413
4464
|
function Xr(e) {
|
|
4414
|
-
let t =
|
|
4465
|
+
let t = Co(e);
|
|
4415
4466
|
return t.map(
|
|
4416
4467
|
(r, o) => o === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4417
4468
|
);
|
|
@@ -4432,20 +4483,20 @@ function Gr(e, t, r, o = !1) {
|
|
|
4432
4483
|
if (l == null)
|
|
4433
4484
|
f = r;
|
|
4434
4485
|
else {
|
|
4435
|
-
let
|
|
4486
|
+
let E = t.length - 1;
|
|
4436
4487
|
if (!o && l.startsWith("..")) {
|
|
4437
|
-
let
|
|
4438
|
-
for (;
|
|
4439
|
-
|
|
4440
|
-
i.pathname =
|
|
4488
|
+
let R = l.split("/");
|
|
4489
|
+
for (; R[0] === ".."; )
|
|
4490
|
+
R.shift(), E -= 1;
|
|
4491
|
+
i.pathname = R.join("/");
|
|
4441
4492
|
}
|
|
4442
|
-
f =
|
|
4493
|
+
f = E >= 0 ? t[E] : "/";
|
|
4443
4494
|
}
|
|
4444
|
-
let d =
|
|
4495
|
+
let d = ko(i, f), h = l && l !== "/" && l.endsWith("/"), w = (a || l === ".") && r.endsWith("/");
|
|
4445
4496
|
return !d.pathname.endsWith("/") && (h || w) && (d.pathname += "/"), d;
|
|
4446
4497
|
}
|
|
4447
|
-
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"),
|
|
4448
|
-
function
|
|
4498
|
+
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Po = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Eo = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ro = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
4499
|
+
function _o(e) {
|
|
4449
4500
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
4450
4501
|
}
|
|
4451
4502
|
var Kr = [
|
|
@@ -4457,11 +4508,11 @@ var Kr = [
|
|
|
4457
4508
|
new Set(
|
|
4458
4509
|
Kr
|
|
4459
4510
|
);
|
|
4460
|
-
var
|
|
4511
|
+
var To = [
|
|
4461
4512
|
"GET",
|
|
4462
4513
|
...Kr
|
|
4463
4514
|
];
|
|
4464
|
-
new Set(
|
|
4515
|
+
new Set(To);
|
|
4465
4516
|
var De = _.createContext(null);
|
|
4466
4517
|
De.displayName = "DataRouter";
|
|
4467
4518
|
var bt = _.createContext(null);
|
|
@@ -4470,12 +4521,12 @@ var Jr = _.createContext({
|
|
|
4470
4521
|
isTransitioning: !1
|
|
4471
4522
|
});
|
|
4472
4523
|
Jr.displayName = "ViewTransition";
|
|
4473
|
-
var
|
|
4524
|
+
var jo = _.createContext(
|
|
4474
4525
|
/* @__PURE__ */ new Map()
|
|
4475
4526
|
);
|
|
4476
|
-
|
|
4477
|
-
var
|
|
4478
|
-
|
|
4527
|
+
jo.displayName = "Fetchers";
|
|
4528
|
+
var Lo = _.createContext(null);
|
|
4529
|
+
Lo.displayName = "Await";
|
|
4479
4530
|
var we = _.createContext(
|
|
4480
4531
|
null
|
|
4481
4532
|
);
|
|
@@ -4492,7 +4543,7 @@ var ke = _.createContext({
|
|
|
4492
4543
|
ke.displayName = "Route";
|
|
4493
4544
|
var qt = _.createContext(null);
|
|
4494
4545
|
qt.displayName = "RouteError";
|
|
4495
|
-
function
|
|
4546
|
+
function Do(e, { relative: t } = {}) {
|
|
4496
4547
|
oe(
|
|
4497
4548
|
Ze(),
|
|
4498
4549
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4519,9 +4570,9 @@ function Qr(e) {
|
|
|
4519
4570
|
}
|
|
4520
4571
|
function en() {
|
|
4521
4572
|
let { isDataRoute: e } = _.useContext(ke);
|
|
4522
|
-
return e ?
|
|
4573
|
+
return e ? Yo() : Mo();
|
|
4523
4574
|
}
|
|
4524
|
-
function
|
|
4575
|
+
function Mo() {
|
|
4525
4576
|
oe(
|
|
4526
4577
|
Ze(),
|
|
4527
4578
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4572,7 +4623,7 @@ function Qe(e, { relative: t } = {}) {
|
|
|
4572
4623
|
[e, i, o, t]
|
|
4573
4624
|
);
|
|
4574
4625
|
}
|
|
4575
|
-
function
|
|
4626
|
+
function Io(e, t) {
|
|
4576
4627
|
return tn(e, t);
|
|
4577
4628
|
}
|
|
4578
4629
|
function tn(e, t, r, o) {
|
|
@@ -4593,29 +4644,29 @@ function tn(e, t, r, o) {
|
|
|
4593
4644
|
Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" : `${O}/*`}">.`
|
|
4594
4645
|
);
|
|
4595
4646
|
}
|
|
4596
|
-
let
|
|
4647
|
+
let E = Ce(), R;
|
|
4597
4648
|
if (t) {
|
|
4598
4649
|
let O = typeof t == "string" ? Le(t) : t;
|
|
4599
4650
|
oe(
|
|
4600
4651
|
h === "/" || O.pathname?.startsWith(h),
|
|
4601
4652
|
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${O.pathname}" was given in the \`location\` prop.`
|
|
4602
|
-
),
|
|
4653
|
+
), R = O;
|
|
4603
4654
|
} else
|
|
4604
|
-
|
|
4605
|
-
let
|
|
4655
|
+
R = E;
|
|
4656
|
+
let A = R.pathname || "/", C = A;
|
|
4606
4657
|
if (h !== "/") {
|
|
4607
4658
|
let O = h.replace(/^\//, "").split("/");
|
|
4608
|
-
C = "/" +
|
|
4659
|
+
C = "/" + A.replace(/^\//, "").split("/").slice(O.length).join("/");
|
|
4609
4660
|
}
|
|
4610
4661
|
let v = Br(e, { pathname: C });
|
|
4611
4662
|
be(
|
|
4612
4663
|
w || v != null,
|
|
4613
|
-
`No routes matched location "${
|
|
4664
|
+
`No routes matched location "${R.pathname}${R.search}${R.hash}" `
|
|
4614
4665
|
), be(
|
|
4615
4666
|
v == null || v[v.length - 1].route.element !== void 0 || v[v.length - 1].route.Component !== void 0 || v[v.length - 1].route.lazy !== void 0,
|
|
4616
|
-
`Matched leaf route at location "${
|
|
4667
|
+
`Matched leaf route at location "${R.pathname}${R.search}${R.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
4617
4668
|
);
|
|
4618
|
-
let I =
|
|
4669
|
+
let I = Fo(
|
|
4619
4670
|
v && v.map(
|
|
4620
4671
|
(O) => Object.assign({}, O, {
|
|
4621
4672
|
params: Object.assign({}, f, O.params),
|
|
@@ -4645,7 +4696,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4645
4696
|
hash: "",
|
|
4646
4697
|
state: null,
|
|
4647
4698
|
key: "default",
|
|
4648
|
-
...
|
|
4699
|
+
...R
|
|
4649
4700
|
},
|
|
4650
4701
|
navigationType: "POP"
|
|
4651
4702
|
/* Pop */
|
|
@@ -4654,14 +4705,14 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4654
4705
|
I
|
|
4655
4706
|
) : I;
|
|
4656
4707
|
}
|
|
4657
|
-
function
|
|
4658
|
-
let e =
|
|
4708
|
+
function Ao() {
|
|
4709
|
+
let e = Bo(), t = _o(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: o }, a = { padding: "2px 4px", backgroundColor: o }, l = null;
|
|
4659
4710
|
return console.error(
|
|
4660
4711
|
"Error handled by React Router default ErrorBoundary:",
|
|
4661
4712
|
e
|
|
4662
4713
|
), l = /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ _.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ _.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ _.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ _.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ _.createElement("pre", { style: i }, r) : null, l);
|
|
4663
4714
|
}
|
|
4664
|
-
var
|
|
4715
|
+
var zo = /* @__PURE__ */ _.createElement(Ao, null), Ho = class extends _.Component {
|
|
4665
4716
|
constructor(e) {
|
|
4666
4717
|
super(e), this.state = {
|
|
4667
4718
|
location: e.location,
|
|
@@ -4704,7 +4755,7 @@ function No({ routeContext: e, match: t, children: r }) {
|
|
|
4704
4755
|
let o = _.useContext(De);
|
|
4705
4756
|
return o && o.static && o.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (o.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ _.createElement(ke.Provider, { value: e }, r);
|
|
4706
4757
|
}
|
|
4707
|
-
function
|
|
4758
|
+
function Fo(e, t = [], r = null, o = null) {
|
|
4708
4759
|
if (e == null) {
|
|
4709
4760
|
if (!r)
|
|
4710
4761
|
return null;
|
|
@@ -4735,23 +4786,23 @@ function Ho(e, t = [], r = null, o = null) {
|
|
|
4735
4786
|
for (let d = 0; d < i.length; d++) {
|
|
4736
4787
|
let h = i[d];
|
|
4737
4788
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (f = d), h.route.id) {
|
|
4738
|
-
let { loaderData: w, errors:
|
|
4739
|
-
if (h.route.lazy ||
|
|
4789
|
+
let { loaderData: w, errors: E } = r, R = h.route.loader && !w.hasOwnProperty(h.route.id) && (!E || E[h.route.id] === void 0);
|
|
4790
|
+
if (h.route.lazy || R) {
|
|
4740
4791
|
l = !0, f >= 0 ? i = i.slice(0, f + 1) : i = [i[0]];
|
|
4741
4792
|
break;
|
|
4742
4793
|
}
|
|
4743
4794
|
}
|
|
4744
4795
|
}
|
|
4745
4796
|
return i.reduceRight((d, h, w) => {
|
|
4746
|
-
let
|
|
4747
|
-
r && (
|
|
4797
|
+
let E, R = !1, A = null, C = null;
|
|
4798
|
+
r && (E = a && h.route.id ? a[h.route.id] : void 0, A = h.route.errorElement || zo, l && (f < 0 && w === 0 ? (rn(
|
|
4748
4799
|
"route-fallback",
|
|
4749
4800
|
!1,
|
|
4750
4801
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4751
|
-
),
|
|
4802
|
+
), R = !0, C = null) : f === w && (R = !0, C = h.route.hydrateFallbackElement || null)));
|
|
4752
4803
|
let v = t.concat(i.slice(0, w + 1)), I = () => {
|
|
4753
4804
|
let O;
|
|
4754
|
-
return
|
|
4805
|
+
return E ? O = A : R ? O = C : h.route.Component ? O = /* @__PURE__ */ _.createElement(h.route.Component, null) : h.route.element ? O = h.route.element : O = d, /* @__PURE__ */ _.createElement(
|
|
4755
4806
|
No,
|
|
4756
4807
|
{
|
|
4757
4808
|
match: h,
|
|
@@ -4765,12 +4816,12 @@ function Ho(e, t = [], r = null, o = null) {
|
|
|
4765
4816
|
);
|
|
4766
4817
|
};
|
|
4767
4818
|
return r && (h.route.ErrorBoundary || h.route.errorElement || w === 0) ? /* @__PURE__ */ _.createElement(
|
|
4768
|
-
|
|
4819
|
+
Ho,
|
|
4769
4820
|
{
|
|
4770
4821
|
location: r.location,
|
|
4771
4822
|
revalidation: r.revalidation,
|
|
4772
|
-
component:
|
|
4773
|
-
error:
|
|
4823
|
+
component: A,
|
|
4824
|
+
error: E,
|
|
4774
4825
|
children: I(),
|
|
4775
4826
|
routeContext: { outlet: null, matches: v, isDataRoute: !0 }
|
|
4776
4827
|
}
|
|
@@ -4784,29 +4835,29 @@ function $o(e) {
|
|
|
4784
4835
|
let t = _.useContext(De);
|
|
4785
4836
|
return oe(t, Ut(e)), t;
|
|
4786
4837
|
}
|
|
4787
|
-
function
|
|
4838
|
+
function Wo(e) {
|
|
4788
4839
|
let t = _.useContext(bt);
|
|
4789
4840
|
return oe(t, Ut(e)), t;
|
|
4790
4841
|
}
|
|
4791
|
-
function
|
|
4842
|
+
function qo(e) {
|
|
4792
4843
|
let t = _.useContext(ke);
|
|
4793
4844
|
return oe(t, Ut(e)), t;
|
|
4794
4845
|
}
|
|
4795
4846
|
function Bt(e) {
|
|
4796
|
-
let t =
|
|
4847
|
+
let t = qo(e), r = t.matches[t.matches.length - 1];
|
|
4797
4848
|
return oe(
|
|
4798
4849
|
r.route.id,
|
|
4799
4850
|
`${e} can only be used on routes that contain a unique "id"`
|
|
4800
4851
|
), r.route.id;
|
|
4801
4852
|
}
|
|
4802
|
-
function
|
|
4853
|
+
function Uo() {
|
|
4803
4854
|
return Bt(
|
|
4804
4855
|
"useRouteId"
|
|
4805
4856
|
/* UseRouteId */
|
|
4806
4857
|
);
|
|
4807
4858
|
}
|
|
4808
|
-
function
|
|
4809
|
-
let e = _.useContext(qt), t =
|
|
4859
|
+
function Bo() {
|
|
4860
|
+
let e = _.useContext(qt), t = Wo(
|
|
4810
4861
|
"useRouteError"
|
|
4811
4862
|
/* UseRouteError */
|
|
4812
4863
|
), r = Bt(
|
|
@@ -4815,7 +4866,7 @@ function Uo() {
|
|
|
4815
4866
|
);
|
|
4816
4867
|
return e !== void 0 ? e : t.errors?.[r];
|
|
4817
4868
|
}
|
|
4818
|
-
function
|
|
4869
|
+
function Yo() {
|
|
4819
4870
|
let { router: e } = $o(
|
|
4820
4871
|
"useNavigate"
|
|
4821
4872
|
/* UseNavigateStable */
|
|
@@ -4836,8 +4887,8 @@ var Cr = {};
|
|
|
4836
4887
|
function rn(e, t, r) {
|
|
4837
4888
|
!t && !Cr[e] && (Cr[e] = !0, be(!1, r));
|
|
4838
4889
|
}
|
|
4839
|
-
_.memo(
|
|
4840
|
-
function
|
|
4890
|
+
_.memo(Vo);
|
|
4891
|
+
function Vo({
|
|
4841
4892
|
routes: e,
|
|
4842
4893
|
future: t,
|
|
4843
4894
|
state: r
|
|
@@ -4850,7 +4901,7 @@ function nn(e) {
|
|
|
4850
4901
|
"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
|
|
4851
4902
|
);
|
|
4852
4903
|
}
|
|
4853
|
-
function
|
|
4904
|
+
function Xo({
|
|
4854
4905
|
basename: e = "/",
|
|
4855
4906
|
children: t = null,
|
|
4856
4907
|
location: r,
|
|
@@ -4876,33 +4927,33 @@ function Vo({
|
|
|
4876
4927
|
pathname: d = "/",
|
|
4877
4928
|
search: h = "",
|
|
4878
4929
|
hash: w = "",
|
|
4879
|
-
state:
|
|
4880
|
-
key:
|
|
4881
|
-
} = r,
|
|
4930
|
+
state: E = null,
|
|
4931
|
+
key: R = "default"
|
|
4932
|
+
} = r, A = _.useMemo(() => {
|
|
4882
4933
|
let C = xe(d, l);
|
|
4883
4934
|
return C == null ? null : {
|
|
4884
4935
|
location: {
|
|
4885
4936
|
pathname: C,
|
|
4886
4937
|
search: h,
|
|
4887
4938
|
hash: w,
|
|
4888
|
-
state:
|
|
4889
|
-
key:
|
|
4939
|
+
state: E,
|
|
4940
|
+
key: R
|
|
4890
4941
|
},
|
|
4891
4942
|
navigationType: o
|
|
4892
4943
|
};
|
|
4893
|
-
}, [l, d, h, w,
|
|
4944
|
+
}, [l, d, h, w, E, R, o]);
|
|
4894
4945
|
return be(
|
|
4895
|
-
|
|
4946
|
+
A != null,
|
|
4896
4947
|
`<Router basename="${l}"> is not able to match the URL "${d}${h}${w}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
4897
|
-
),
|
|
4948
|
+
), A == null ? null : /* @__PURE__ */ _.createElement(we.Provider, { value: f }, /* @__PURE__ */ _.createElement(Je.Provider, { children: t, value: A }));
|
|
4898
4949
|
}
|
|
4899
|
-
function
|
|
4950
|
+
function Go({
|
|
4900
4951
|
children: e,
|
|
4901
4952
|
location: t
|
|
4902
4953
|
}) {
|
|
4903
|
-
return
|
|
4954
|
+
return Io(Ht(e), t);
|
|
4904
4955
|
}
|
|
4905
|
-
function
|
|
4956
|
+
function Ht(e, t = []) {
|
|
4906
4957
|
let r = [];
|
|
4907
4958
|
return _.Children.forEach(e, (o, i) => {
|
|
4908
4959
|
if (!_.isValidElement(o))
|
|
@@ -4911,7 +4962,7 @@ function Nt(e, t = []) {
|
|
|
4911
4962
|
if (o.type === _.Fragment) {
|
|
4912
4963
|
r.push.apply(
|
|
4913
4964
|
r,
|
|
4914
|
-
|
|
4965
|
+
Ht(o.props.children, a)
|
|
4915
4966
|
);
|
|
4916
4967
|
return;
|
|
4917
4968
|
}
|
|
@@ -4940,7 +4991,7 @@ function Nt(e, t = []) {
|
|
|
4940
4991
|
handle: o.props.handle,
|
|
4941
4992
|
lazy: o.props.lazy
|
|
4942
4993
|
};
|
|
4943
|
-
o.props.children && (l.children =
|
|
4994
|
+
o.props.children && (l.children = Ht(
|
|
4944
4995
|
o.props.children,
|
|
4945
4996
|
a
|
|
4946
4997
|
)), r.push(l);
|
|
@@ -4950,25 +5001,25 @@ var lt = "get", ut = "application/x-www-form-urlencoded";
|
|
|
4950
5001
|
function wt(e) {
|
|
4951
5002
|
return e != null && typeof e.tagName == "string";
|
|
4952
5003
|
}
|
|
4953
|
-
function
|
|
5004
|
+
function Ko(e) {
|
|
4954
5005
|
return wt(e) && e.tagName.toLowerCase() === "button";
|
|
4955
5006
|
}
|
|
4956
|
-
function
|
|
5007
|
+
function Jo(e) {
|
|
4957
5008
|
return wt(e) && e.tagName.toLowerCase() === "form";
|
|
4958
5009
|
}
|
|
4959
|
-
function
|
|
5010
|
+
function Zo(e) {
|
|
4960
5011
|
return wt(e) && e.tagName.toLowerCase() === "input";
|
|
4961
5012
|
}
|
|
4962
|
-
function
|
|
5013
|
+
function Qo(e) {
|
|
4963
5014
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
4964
5015
|
}
|
|
4965
|
-
function
|
|
5016
|
+
function ea(e, t) {
|
|
4966
5017
|
return e.button === 0 && // Ignore everything but left clicks
|
|
4967
5018
|
(!t || t === "_self") && // Let browser handle "target=_blank" etc.
|
|
4968
|
-
!
|
|
5019
|
+
!Qo(e);
|
|
4969
5020
|
}
|
|
4970
5021
|
var it = null;
|
|
4971
|
-
function
|
|
5022
|
+
function ta() {
|
|
4972
5023
|
if (it === null)
|
|
4973
5024
|
try {
|
|
4974
5025
|
new FormData(
|
|
@@ -4981,35 +5032,35 @@ function ea() {
|
|
|
4981
5032
|
}
|
|
4982
5033
|
return it;
|
|
4983
5034
|
}
|
|
4984
|
-
var
|
|
5035
|
+
var ra = /* @__PURE__ */ new Set([
|
|
4985
5036
|
"application/x-www-form-urlencoded",
|
|
4986
5037
|
"multipart/form-data",
|
|
4987
5038
|
"text/plain"
|
|
4988
5039
|
]);
|
|
4989
5040
|
function Lt(e) {
|
|
4990
|
-
return e != null && !
|
|
5041
|
+
return e != null && !ra.has(e) ? (be(
|
|
4991
5042
|
!1,
|
|
4992
5043
|
`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ut}"`
|
|
4993
5044
|
), null) : e;
|
|
4994
5045
|
}
|
|
4995
|
-
function
|
|
5046
|
+
function na(e, t) {
|
|
4996
5047
|
let r, o, i, a, l;
|
|
4997
|
-
if (
|
|
5048
|
+
if (Jo(e)) {
|
|
4998
5049
|
let f = e.getAttribute("action");
|
|
4999
5050
|
o = f ? xe(f, t) : null, r = e.getAttribute("method") || lt, i = Lt(e.getAttribute("enctype")) || ut, a = new FormData(e);
|
|
5000
|
-
} else if (
|
|
5051
|
+
} else if (Ko(e) || Zo(e) && (e.type === "submit" || e.type === "image")) {
|
|
5001
5052
|
let f = e.form;
|
|
5002
5053
|
if (f == null)
|
|
5003
5054
|
throw new Error(
|
|
5004
5055
|
'Cannot submit a <button> or <input type="submit"> without a <form>'
|
|
5005
5056
|
);
|
|
5006
5057
|
let d = e.getAttribute("formaction") || f.getAttribute("action");
|
|
5007
|
-
if (o = d ? xe(d, t) : null, r = e.getAttribute("formmethod") || f.getAttribute("method") || lt, i = Lt(e.getAttribute("formenctype")) || Lt(f.getAttribute("enctype")) || ut, a = new FormData(f, e), !
|
|
5008
|
-
let { name: h, type: w, value:
|
|
5058
|
+
if (o = d ? xe(d, t) : null, r = e.getAttribute("formmethod") || f.getAttribute("method") || lt, i = Lt(e.getAttribute("formenctype")) || Lt(f.getAttribute("enctype")) || ut, a = new FormData(f, e), !ta()) {
|
|
5059
|
+
let { name: h, type: w, value: E } = e;
|
|
5009
5060
|
if (w === "image") {
|
|
5010
|
-
let
|
|
5011
|
-
a.append(`${
|
|
5012
|
-
} else h && a.append(h,
|
|
5061
|
+
let R = h ? `${h}.` : "";
|
|
5062
|
+
a.append(`${R}x`, "0"), a.append(`${R}y`, "0");
|
|
5063
|
+
} else h && a.append(h, E);
|
|
5013
5064
|
}
|
|
5014
5065
|
} else {
|
|
5015
5066
|
if (wt(e))
|
|
@@ -5024,7 +5075,7 @@ function Yt(e, t) {
|
|
|
5024
5075
|
if (e === !1 || e === null || typeof e > "u")
|
|
5025
5076
|
throw new Error(t);
|
|
5026
5077
|
}
|
|
5027
|
-
async function
|
|
5078
|
+
async function ia(e, t) {
|
|
5028
5079
|
if (e.id in t)
|
|
5029
5080
|
return t[e.id];
|
|
5030
5081
|
try {
|
|
@@ -5041,22 +5092,22 @@ async function na(e, t) {
|
|
|
5041
5092
|
});
|
|
5042
5093
|
}
|
|
5043
5094
|
}
|
|
5044
|
-
function
|
|
5095
|
+
function oa(e) {
|
|
5045
5096
|
return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
|
|
5046
5097
|
}
|
|
5047
|
-
async function
|
|
5098
|
+
async function aa(e, t, r) {
|
|
5048
5099
|
let o = await Promise.all(
|
|
5049
5100
|
e.map(async (i) => {
|
|
5050
5101
|
let a = t.routes[i.route.id];
|
|
5051
5102
|
if (a) {
|
|
5052
|
-
let l = await
|
|
5103
|
+
let l = await ia(a, r);
|
|
5053
5104
|
return l.links ? l.links() : [];
|
|
5054
5105
|
}
|
|
5055
5106
|
return [];
|
|
5056
5107
|
})
|
|
5057
5108
|
);
|
|
5058
|
-
return
|
|
5059
|
-
o.flat(1).filter(
|
|
5109
|
+
return ca(
|
|
5110
|
+
o.flat(1).filter(oa).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
|
|
5060
5111
|
(i) => i.rel === "stylesheet" ? { ...i, rel: "prefetch", as: "style" } : { ...i, rel: "prefetch" }
|
|
5061
5112
|
)
|
|
5062
5113
|
);
|
|
@@ -5077,7 +5128,7 @@ function Pr(e, t, r, o, i, a) {
|
|
|
5077
5128
|
if (l(d, h) || f(d, h))
|
|
5078
5129
|
return !0;
|
|
5079
5130
|
if (d.route.shouldRevalidate) {
|
|
5080
|
-
let
|
|
5131
|
+
let E = d.route.shouldRevalidate({
|
|
5081
5132
|
currentUrl: new URL(
|
|
5082
5133
|
i.pathname + i.search + i.hash,
|
|
5083
5134
|
window.origin
|
|
@@ -5087,14 +5138,14 @@ function Pr(e, t, r, o, i, a) {
|
|
|
5087
5138
|
nextParams: d.params,
|
|
5088
5139
|
defaultShouldRevalidate: !0
|
|
5089
5140
|
});
|
|
5090
|
-
if (typeof
|
|
5091
|
-
return
|
|
5141
|
+
if (typeof E == "boolean")
|
|
5142
|
+
return E;
|
|
5092
5143
|
}
|
|
5093
5144
|
return !0;
|
|
5094
5145
|
}) : [];
|
|
5095
5146
|
}
|
|
5096
|
-
function
|
|
5097
|
-
return
|
|
5147
|
+
function sa(e, t, { includeHydrateFallback: r } = {}) {
|
|
5148
|
+
return la(
|
|
5098
5149
|
e.map((o) => {
|
|
5099
5150
|
let i = t.routes[o.route.id];
|
|
5100
5151
|
if (!i) return [];
|
|
@@ -5103,25 +5154,25 @@ function aa(e, t, { includeHydrateFallback: r } = {}) {
|
|
|
5103
5154
|
}).flat(1)
|
|
5104
5155
|
);
|
|
5105
5156
|
}
|
|
5106
|
-
function
|
|
5157
|
+
function la(e) {
|
|
5107
5158
|
return [...new Set(e)];
|
|
5108
5159
|
}
|
|
5109
|
-
function
|
|
5160
|
+
function ua(e) {
|
|
5110
5161
|
let t = {}, r = Object.keys(e).sort();
|
|
5111
5162
|
for (let o of r)
|
|
5112
5163
|
t[o] = e[o];
|
|
5113
5164
|
return t;
|
|
5114
5165
|
}
|
|
5115
|
-
function
|
|
5166
|
+
function ca(e, t) {
|
|
5116
5167
|
let r = /* @__PURE__ */ new Set();
|
|
5117
5168
|
return new Set(t), e.reduce((o, i) => {
|
|
5118
|
-
let a = JSON.stringify(
|
|
5169
|
+
let a = JSON.stringify(ua(i));
|
|
5119
5170
|
return r.has(a) || (r.add(a), o.push({ key: a, link: i })), o;
|
|
5120
5171
|
}, []);
|
|
5121
5172
|
}
|
|
5122
5173
|
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
5123
|
-
var
|
|
5124
|
-
function
|
|
5174
|
+
var fa = /* @__PURE__ */ new Set([100, 101, 204, 205]);
|
|
5175
|
+
function da(e, t) {
|
|
5125
5176
|
let r = typeof e == "string" ? new URL(
|
|
5126
5177
|
e,
|
|
5127
5178
|
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
@@ -5137,7 +5188,7 @@ function on() {
|
|
|
5137
5188
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
5138
5189
|
), e;
|
|
5139
5190
|
}
|
|
5140
|
-
function
|
|
5191
|
+
function ha() {
|
|
5141
5192
|
let e = _.useContext(bt);
|
|
5142
5193
|
return Yt(
|
|
5143
5194
|
e,
|
|
@@ -5154,15 +5205,15 @@ function an() {
|
|
|
5154
5205
|
), e;
|
|
5155
5206
|
}
|
|
5156
5207
|
function pa(e, t) {
|
|
5157
|
-
let r = _.useContext(Vt), [o, i] = _.useState(!1), [a, l] = _.useState(!1), { onFocus: f, onBlur: d, onMouseEnter: h, onMouseLeave: w, onTouchStart:
|
|
5208
|
+
let r = _.useContext(Vt), [o, i] = _.useState(!1), [a, l] = _.useState(!1), { onFocus: f, onBlur: d, onMouseEnter: h, onMouseLeave: w, onTouchStart: E } = t, R = _.useRef(null);
|
|
5158
5209
|
_.useEffect(() => {
|
|
5159
5210
|
if (e === "render" && l(!0), e === "viewport") {
|
|
5160
5211
|
let v = (O) => {
|
|
5161
|
-
O.forEach((
|
|
5162
|
-
l(
|
|
5212
|
+
O.forEach((N) => {
|
|
5213
|
+
l(N.isIntersecting);
|
|
5163
5214
|
});
|
|
5164
5215
|
}, I = new IntersectionObserver(v, { threshold: 0.5 });
|
|
5165
|
-
return
|
|
5216
|
+
return R.current && I.observe(R.current), () => {
|
|
5166
5217
|
I.disconnect();
|
|
5167
5218
|
};
|
|
5168
5219
|
}
|
|
@@ -5176,29 +5227,29 @@ function pa(e, t) {
|
|
|
5176
5227
|
};
|
|
5177
5228
|
}
|
|
5178
5229
|
}, [o]);
|
|
5179
|
-
let
|
|
5230
|
+
let A = () => {
|
|
5180
5231
|
i(!0);
|
|
5181
5232
|
}, C = () => {
|
|
5182
5233
|
i(!1), l(!1);
|
|
5183
5234
|
};
|
|
5184
|
-
return r ? e !== "intent" ? [a,
|
|
5235
|
+
return r ? e !== "intent" ? [a, R, {}] : [
|
|
5185
5236
|
a,
|
|
5186
|
-
|
|
5237
|
+
R,
|
|
5187
5238
|
{
|
|
5188
|
-
onFocus: qe(f,
|
|
5239
|
+
onFocus: qe(f, A),
|
|
5189
5240
|
onBlur: qe(d, C),
|
|
5190
|
-
onMouseEnter: qe(h,
|
|
5241
|
+
onMouseEnter: qe(h, A),
|
|
5191
5242
|
onMouseLeave: qe(w, C),
|
|
5192
|
-
onTouchStart: qe(
|
|
5243
|
+
onTouchStart: qe(E, A)
|
|
5193
5244
|
}
|
|
5194
|
-
] : [!1,
|
|
5245
|
+
] : [!1, R, {}];
|
|
5195
5246
|
}
|
|
5196
5247
|
function qe(e, t) {
|
|
5197
5248
|
return (r) => {
|
|
5198
5249
|
e && e(r), r.defaultPrevented || t(r);
|
|
5199
5250
|
};
|
|
5200
5251
|
}
|
|
5201
|
-
function
|
|
5252
|
+
function va({
|
|
5202
5253
|
page: e,
|
|
5203
5254
|
...t
|
|
5204
5255
|
}) {
|
|
@@ -5206,13 +5257,13 @@ function ha({
|
|
|
5206
5257
|
() => Br(r.routes, e, r.basename),
|
|
5207
5258
|
[r.routes, e, r.basename]
|
|
5208
5259
|
);
|
|
5209
|
-
return o ? /* @__PURE__ */ _.createElement(
|
|
5260
|
+
return o ? /* @__PURE__ */ _.createElement(ya, { page: e, matches: o, ...t }) : null;
|
|
5210
5261
|
}
|
|
5211
|
-
function
|
|
5262
|
+
function ma(e) {
|
|
5212
5263
|
let { manifest: t, routeModules: r } = an(), [o, i] = _.useState([]);
|
|
5213
5264
|
return _.useEffect(() => {
|
|
5214
5265
|
let a = !1;
|
|
5215
|
-
return
|
|
5266
|
+
return aa(e, t, r).then(
|
|
5216
5267
|
(l) => {
|
|
5217
5268
|
a || i(l);
|
|
5218
5269
|
}
|
|
@@ -5221,12 +5272,12 @@ function va(e) {
|
|
|
5221
5272
|
};
|
|
5222
5273
|
}, [e, t, r]), o;
|
|
5223
5274
|
}
|
|
5224
|
-
function
|
|
5275
|
+
function ya({
|
|
5225
5276
|
page: e,
|
|
5226
5277
|
matches: t,
|
|
5227
5278
|
...r
|
|
5228
5279
|
}) {
|
|
5229
|
-
let o = Ce(), { manifest: i, routeModules: a } = an(), { basename: l } = on(), { loaderData: f, matches: d } =
|
|
5280
|
+
let o = Ce(), { manifest: i, routeModules: a } = an(), { basename: l } = on(), { loaderData: f, matches: d } = ha(), h = _.useMemo(
|
|
5230
5281
|
() => Pr(
|
|
5231
5282
|
e,
|
|
5232
5283
|
t,
|
|
@@ -5246,16 +5297,16 @@ function ma({
|
|
|
5246
5297
|
"assets"
|
|
5247
5298
|
),
|
|
5248
5299
|
[e, t, d, i, o]
|
|
5249
|
-
),
|
|
5300
|
+
), E = _.useMemo(() => {
|
|
5250
5301
|
if (e === o.pathname + o.search + o.hash)
|
|
5251
5302
|
return [];
|
|
5252
5303
|
let C = /* @__PURE__ */ new Set(), v = !1;
|
|
5253
5304
|
if (t.forEach((O) => {
|
|
5254
|
-
let
|
|
5255
|
-
!
|
|
5305
|
+
let N = i.routes[O.route.id];
|
|
5306
|
+
!N || !N.hasLoader || (!h.some((q) => q.route.id === O.route.id) && O.route.id in f && a[O.route.id]?.shouldRevalidate || N.hasClientLoader ? v = !0 : C.add(O.route.id));
|
|
5256
5307
|
}), C.size === 0)
|
|
5257
5308
|
return [];
|
|
5258
|
-
let I =
|
|
5309
|
+
let I = da(e, l);
|
|
5259
5310
|
return v && C.size > 0 && I.searchParams.set(
|
|
5260
5311
|
"_routes",
|
|
5261
5312
|
t.filter((O) => C.has(O.route.id)).map((O) => O.route.id).join(",")
|
|
@@ -5269,17 +5320,17 @@ function ma({
|
|
|
5269
5320
|
t,
|
|
5270
5321
|
e,
|
|
5271
5322
|
a
|
|
5272
|
-
]),
|
|
5273
|
-
() =>
|
|
5323
|
+
]), R = _.useMemo(
|
|
5324
|
+
() => sa(w, i),
|
|
5274
5325
|
[w, i]
|
|
5275
|
-
),
|
|
5276
|
-
return /* @__PURE__ */ _.createElement(_.Fragment, null,
|
|
5326
|
+
), A = ma(w);
|
|
5327
|
+
return /* @__PURE__ */ _.createElement(_.Fragment, null, E.map((C) => /* @__PURE__ */ _.createElement("link", { key: C, rel: "prefetch", as: "fetch", href: C, ...r })), R.map((C) => /* @__PURE__ */ _.createElement("link", { key: C, rel: "modulepreload", href: C, ...r })), A.map(({ key: C, link: v }) => (
|
|
5277
5328
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5278
5329
|
// already with their own props
|
|
5279
5330
|
/* @__PURE__ */ _.createElement("link", { key: C, ...v })
|
|
5280
5331
|
)));
|
|
5281
5332
|
}
|
|
5282
|
-
function
|
|
5333
|
+
function ga(...e) {
|
|
5283
5334
|
return (t) => {
|
|
5284
5335
|
e.forEach((r) => {
|
|
5285
5336
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
|
@@ -5291,13 +5342,13 @@ try {
|
|
|
5291
5342
|
sn && (window.__reactRouterVersion = "7.6.3");
|
|
5292
5343
|
} catch {
|
|
5293
5344
|
}
|
|
5294
|
-
function
|
|
5345
|
+
function ba({
|
|
5295
5346
|
basename: e,
|
|
5296
5347
|
children: t,
|
|
5297
5348
|
window: r
|
|
5298
5349
|
}) {
|
|
5299
5350
|
let o = _.useRef();
|
|
5300
|
-
o.current == null && (o.current =
|
|
5351
|
+
o.current == null && (o.current = oo({ window: r, v5Compat: !0 }));
|
|
5301
5352
|
let i = o.current, [a, l] = _.useState({
|
|
5302
5353
|
action: i.action,
|
|
5303
5354
|
location: i.location
|
|
@@ -5308,7 +5359,7 @@ function ga({
|
|
|
5308
5359
|
[l]
|
|
5309
5360
|
);
|
|
5310
5361
|
return _.useLayoutEffect(() => i.listen(f), [i, f]), /* @__PURE__ */ _.createElement(
|
|
5311
|
-
|
|
5362
|
+
Xo,
|
|
5312
5363
|
{
|
|
5313
5364
|
basename: e,
|
|
5314
5365
|
children: t,
|
|
@@ -5330,9 +5381,9 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5330
5381
|
target: d,
|
|
5331
5382
|
to: h,
|
|
5332
5383
|
preventScrollReset: w,
|
|
5333
|
-
viewTransition:
|
|
5334
|
-
...
|
|
5335
|
-
},
|
|
5384
|
+
viewTransition: E,
|
|
5385
|
+
...R
|
|
5386
|
+
}, A) {
|
|
5336
5387
|
let { basename: C } = _.useContext(we), v = typeof h == "string" && ln.test(h), I, O = !1;
|
|
5337
5388
|
if (typeof h == "string" && v && (I = h, sn))
|
|
5338
5389
|
try {
|
|
@@ -5344,16 +5395,16 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5344
5395
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5345
5396
|
);
|
|
5346
5397
|
}
|
|
5347
|
-
let
|
|
5398
|
+
let N = Do(h, { relative: i }), [q, B, p] = pa(
|
|
5348
5399
|
o,
|
|
5349
|
-
|
|
5350
|
-
), y =
|
|
5400
|
+
R
|
|
5401
|
+
), y = ka(h, {
|
|
5351
5402
|
replace: l,
|
|
5352
5403
|
state: f,
|
|
5353
5404
|
target: d,
|
|
5354
5405
|
preventScrollReset: w,
|
|
5355
5406
|
relative: i,
|
|
5356
|
-
viewTransition:
|
|
5407
|
+
viewTransition: E
|
|
5357
5408
|
});
|
|
5358
5409
|
function g(m) {
|
|
5359
5410
|
t && t(m), m.defaultPrevented || y(m);
|
|
@@ -5363,21 +5414,21 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5363
5414
|
/* @__PURE__ */ _.createElement(
|
|
5364
5415
|
"a",
|
|
5365
5416
|
{
|
|
5366
|
-
...
|
|
5417
|
+
...R,
|
|
5367
5418
|
...p,
|
|
5368
|
-
href: I ||
|
|
5419
|
+
href: I || N,
|
|
5369
5420
|
onClick: O || a ? t : g,
|
|
5370
|
-
ref:
|
|
5421
|
+
ref: ga(A, B),
|
|
5371
5422
|
target: d,
|
|
5372
5423
|
"data-discover": !v && r === "render" ? "true" : void 0
|
|
5373
5424
|
}
|
|
5374
5425
|
)
|
|
5375
5426
|
);
|
|
5376
|
-
return q && !v ? /* @__PURE__ */ _.createElement(_.Fragment, null, k, /* @__PURE__ */ _.createElement(
|
|
5427
|
+
return q && !v ? /* @__PURE__ */ _.createElement(_.Fragment, null, k, /* @__PURE__ */ _.createElement(va, { page: N })) : k;
|
|
5377
5428
|
}
|
|
5378
5429
|
);
|
|
5379
5430
|
un.displayName = "Link";
|
|
5380
|
-
var
|
|
5431
|
+
var wa = _.forwardRef(
|
|
5381
5432
|
function({
|
|
5382
5433
|
"aria-current": t = "page",
|
|
5383
5434
|
caseSensitive: r = !1,
|
|
@@ -5389,12 +5440,12 @@ var ba = _.forwardRef(
|
|
|
5389
5440
|
children: d,
|
|
5390
5441
|
...h
|
|
5391
5442
|
}, w) {
|
|
5392
|
-
let
|
|
5443
|
+
let E = Qe(l, { relative: h.relative }), R = Ce(), A = _.useContext(bt), { navigator: C, basename: v } = _.useContext(we), I = A != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5393
5444
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5394
|
-
|
|
5395
|
-
r || (
|
|
5445
|
+
Ra(E) && f === !0, O = C.encodeLocation ? C.encodeLocation(E).pathname : E.pathname, N = R.pathname, q = A && A.navigation && A.navigation.location ? A.navigation.location.pathname : null;
|
|
5446
|
+
r || (N = N.toLowerCase(), q = q ? q.toLowerCase() : null, O = O.toLowerCase()), q && v && (q = xe(q, v) || q);
|
|
5396
5447
|
const B = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
|
|
5397
|
-
let p =
|
|
5448
|
+
let p = N === O || !i && N.startsWith(O) && N.charAt(B) === "/", y = q != null && (q === O || !i && q.startsWith(O) && q.charAt(O.length) === "/"), g = {
|
|
5398
5449
|
isActive: p,
|
|
5399
5450
|
isPending: y,
|
|
5400
5451
|
isTransitioning: I
|
|
@@ -5421,8 +5472,8 @@ var ba = _.forwardRef(
|
|
|
5421
5472
|
);
|
|
5422
5473
|
}
|
|
5423
5474
|
);
|
|
5424
|
-
|
|
5425
|
-
var
|
|
5475
|
+
wa.displayName = "NavLink";
|
|
5476
|
+
var Sa = _.forwardRef(
|
|
5426
5477
|
({
|
|
5427
5478
|
discover: e = "render",
|
|
5428
5479
|
fetcherKey: t,
|
|
@@ -5435,10 +5486,10 @@ var wa = _.forwardRef(
|
|
|
5435
5486
|
onSubmit: d,
|
|
5436
5487
|
relative: h,
|
|
5437
5488
|
preventScrollReset: w,
|
|
5438
|
-
viewTransition:
|
|
5439
|
-
...
|
|
5440
|
-
},
|
|
5441
|
-
let C =
|
|
5489
|
+
viewTransition: E,
|
|
5490
|
+
...R
|
|
5491
|
+
}, A) => {
|
|
5492
|
+
let C = Pa(), v = Ea(f, { relative: h }), I = l.toLowerCase() === "get" ? "get" : "post", O = typeof f == "string" && ln.test(f), N = (q) => {
|
|
5442
5493
|
if (d && d(q), q.defaultPrevented) return;
|
|
5443
5494
|
q.preventDefault();
|
|
5444
5495
|
let B = q.nativeEvent.submitter, p = B?.getAttribute("formmethod") || l;
|
|
@@ -5450,31 +5501,31 @@ var wa = _.forwardRef(
|
|
|
5450
5501
|
state: a,
|
|
5451
5502
|
relative: h,
|
|
5452
5503
|
preventScrollReset: w,
|
|
5453
|
-
viewTransition:
|
|
5504
|
+
viewTransition: E
|
|
5454
5505
|
});
|
|
5455
5506
|
};
|
|
5456
5507
|
return /* @__PURE__ */ _.createElement(
|
|
5457
5508
|
"form",
|
|
5458
5509
|
{
|
|
5459
|
-
ref:
|
|
5510
|
+
ref: A,
|
|
5460
5511
|
method: I,
|
|
5461
5512
|
action: v,
|
|
5462
|
-
onSubmit: o ? d :
|
|
5463
|
-
...
|
|
5513
|
+
onSubmit: o ? d : N,
|
|
5514
|
+
...R,
|
|
5464
5515
|
"data-discover": !O && e === "render" ? "true" : void 0
|
|
5465
5516
|
}
|
|
5466
5517
|
);
|
|
5467
5518
|
}
|
|
5468
5519
|
);
|
|
5469
|
-
|
|
5470
|
-
function
|
|
5520
|
+
Sa.displayName = "Form";
|
|
5521
|
+
function xa(e) {
|
|
5471
5522
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5472
5523
|
}
|
|
5473
5524
|
function cn(e) {
|
|
5474
5525
|
let t = _.useContext(De);
|
|
5475
|
-
return oe(t,
|
|
5526
|
+
return oe(t, xa(e)), t;
|
|
5476
5527
|
}
|
|
5477
|
-
function
|
|
5528
|
+
function ka(e, {
|
|
5478
5529
|
target: t,
|
|
5479
5530
|
replace: r,
|
|
5480
5531
|
state: o,
|
|
@@ -5485,11 +5536,11 @@ function xa(e, {
|
|
|
5485
5536
|
let f = en(), d = Ce(), h = Qe(e, { relative: a });
|
|
5486
5537
|
return _.useCallback(
|
|
5487
5538
|
(w) => {
|
|
5488
|
-
if (
|
|
5539
|
+
if (ea(w, t)) {
|
|
5489
5540
|
w.preventDefault();
|
|
5490
|
-
let
|
|
5541
|
+
let E = r !== void 0 ? r : Xe(d) === Xe(h);
|
|
5491
5542
|
f(e, {
|
|
5492
|
-
replace:
|
|
5543
|
+
replace: E,
|
|
5493
5544
|
state: o,
|
|
5494
5545
|
preventScrollReset: i,
|
|
5495
5546
|
relative: a,
|
|
@@ -5511,20 +5562,20 @@ function xa(e, {
|
|
|
5511
5562
|
]
|
|
5512
5563
|
);
|
|
5513
5564
|
}
|
|
5514
|
-
var
|
|
5515
|
-
function
|
|
5565
|
+
var Oa = 0, Ca = () => `__${String(++Oa)}__`;
|
|
5566
|
+
function Pa() {
|
|
5516
5567
|
let { router: e } = cn(
|
|
5517
5568
|
"useSubmit"
|
|
5518
5569
|
/* UseSubmit */
|
|
5519
|
-
), { basename: t } = _.useContext(we), r =
|
|
5570
|
+
), { basename: t } = _.useContext(we), r = Uo();
|
|
5520
5571
|
return _.useCallback(
|
|
5521
5572
|
async (o, i = {}) => {
|
|
5522
|
-
let { action: a, method: l, encType: f, formData: d, body: h } =
|
|
5573
|
+
let { action: a, method: l, encType: f, formData: d, body: h } = na(
|
|
5523
5574
|
o,
|
|
5524
5575
|
t
|
|
5525
5576
|
);
|
|
5526
5577
|
if (i.navigate === !1) {
|
|
5527
|
-
let w = i.fetcherKey ||
|
|
5578
|
+
let w = i.fetcherKey || Ca();
|
|
5528
5579
|
await e.fetch(w, r, i.action || a, {
|
|
5529
5580
|
preventScrollReset: i.preventScrollReset,
|
|
5530
5581
|
formData: d,
|
|
@@ -5550,7 +5601,7 @@ function Ca() {
|
|
|
5550
5601
|
[e, t, r]
|
|
5551
5602
|
);
|
|
5552
5603
|
}
|
|
5553
|
-
function
|
|
5604
|
+
function Ea(e, { relative: t } = {}) {
|
|
5554
5605
|
let { basename: r } = _.useContext(we), o = _.useContext(ke);
|
|
5555
5606
|
oe(o, "useFormAction must be used inside a RouteContext");
|
|
5556
5607
|
let [i] = o.matches.slice(-1), a = { ...Qe(e || ".", { relative: t }) }, l = Ce();
|
|
@@ -5558,14 +5609,14 @@ function Pa(e, { relative: t } = {}) {
|
|
|
5558
5609
|
a.search = l.search;
|
|
5559
5610
|
let f = new URLSearchParams(a.search), d = f.getAll("index");
|
|
5560
5611
|
if (d.some((w) => w === "")) {
|
|
5561
|
-
f.delete("index"), d.filter((
|
|
5612
|
+
f.delete("index"), d.filter((E) => E).forEach((E) => f.append("index", E));
|
|
5562
5613
|
let w = f.toString();
|
|
5563
5614
|
a.search = w ? `?${w}` : "";
|
|
5564
5615
|
}
|
|
5565
5616
|
}
|
|
5566
5617
|
return (!e || e === ".") && i.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (a.pathname = a.pathname === "/" ? r : Se([r, a.pathname])), Xe(a);
|
|
5567
5618
|
}
|
|
5568
|
-
function
|
|
5619
|
+
function Ra(e, t = {}) {
|
|
5569
5620
|
let r = _.useContext(Jr);
|
|
5570
5621
|
oe(
|
|
5571
5622
|
r != null,
|
|
@@ -5578,10 +5629,10 @@ function Ea(e, t = {}) {
|
|
|
5578
5629
|
if (!r.isTransitioning)
|
|
5579
5630
|
return !1;
|
|
5580
5631
|
let a = xe(r.currentLocation.pathname, o) || r.currentLocation.pathname, l = xe(r.nextLocation.pathname, o) || r.nextLocation.pathname;
|
|
5581
|
-
return
|
|
5632
|
+
return ht(i.pathname, l) != null || ht(i.pathname, a) != null;
|
|
5582
5633
|
}
|
|
5583
5634
|
[
|
|
5584
|
-
...
|
|
5635
|
+
...fa
|
|
5585
5636
|
];
|
|
5586
5637
|
const fn = U.createContext({
|
|
5587
5638
|
history: [],
|
|
@@ -5590,7 +5641,7 @@ const fn = U.createContext({
|
|
|
5590
5641
|
popFromHistory: () => "",
|
|
5591
5642
|
replaceHistory: () => {
|
|
5592
5643
|
}
|
|
5593
|
-
}),
|
|
5644
|
+
}), $a = ({
|
|
5594
5645
|
routes: e,
|
|
5595
5646
|
children: t
|
|
5596
5647
|
}) => {
|
|
@@ -5599,11 +5650,11 @@ const fn = U.createContext({
|
|
|
5599
5650
|
}, []), l = (w) => {
|
|
5600
5651
|
a([...r.current, w]);
|
|
5601
5652
|
}, f = (w) => {
|
|
5602
|
-
let
|
|
5603
|
-
return r.current.length === 0 ? "/" : (r.current.length <= w ? (
|
|
5653
|
+
let E = "", R = [];
|
|
5654
|
+
return r.current.length === 0 ? "/" : (r.current.length <= w ? (E = r.current[0], R = [E]) : (R = r.current.slice(
|
|
5604
5655
|
0,
|
|
5605
5656
|
r.current.length - w
|
|
5606
|
-
),
|
|
5657
|
+
), E = R[R.length - 1]), a(R), E);
|
|
5607
5658
|
}, d = (w) => {
|
|
5608
5659
|
a(w);
|
|
5609
5660
|
}, h = e.map((w) => /* @__PURE__ */ G.jsx(nn, { path: w.path, element: w.render }));
|
|
@@ -5616,14 +5667,14 @@ const fn = U.createContext({
|
|
|
5616
5667
|
popFromHistory: f,
|
|
5617
5668
|
replaceHistory: d
|
|
5618
5669
|
},
|
|
5619
|
-
children: /* @__PURE__ */ G.jsxs(
|
|
5670
|
+
children: /* @__PURE__ */ G.jsxs(ba, { children: [
|
|
5620
5671
|
t,
|
|
5621
|
-
/* @__PURE__ */ G.jsx(
|
|
5672
|
+
/* @__PURE__ */ G.jsx(Go, { children: h })
|
|
5622
5673
|
] })
|
|
5623
5674
|
}
|
|
5624
5675
|
);
|
|
5625
|
-
},
|
|
5626
|
-
const e = en(), t = Ce(), r =
|
|
5676
|
+
}, Wa = () => {
|
|
5677
|
+
const e = en(), t = Ce(), r = Nt(fn), o = U.useCallback(
|
|
5627
5678
|
(l, f = !0) => {
|
|
5628
5679
|
l !== t.pathname && e(l, { replace: !0 }), f && r.addToHistory(l);
|
|
5629
5680
|
},
|
|
@@ -5656,7 +5707,7 @@ const fn = U.createContext({
|
|
|
5656
5707
|
hideItem: () => {
|
|
5657
5708
|
}
|
|
5658
5709
|
}
|
|
5659
|
-
),
|
|
5710
|
+
), qa = ({ children: e }) => {
|
|
5660
5711
|
const t = U.useRef([]), [r, o] = U.useState([]), i = U.useCallback((d) => {
|
|
5661
5712
|
t.current = d, o(d);
|
|
5662
5713
|
}, []), a = U.useCallback((d) => t.current.some((h) => h === d), []), l = U.useCallback(
|
|
@@ -5685,7 +5736,7 @@ const fn = U.createContext({
|
|
|
5685
5736
|
}
|
|
5686
5737
|
);
|
|
5687
5738
|
}, St = () => {
|
|
5688
|
-
const e =
|
|
5739
|
+
const e = Nt(dn), t = (i) => e.visibleItems.some((a) => a === i), r = (i) => {
|
|
5689
5740
|
e.showItem(i);
|
|
5690
5741
|
}, o = (i) => {
|
|
5691
5742
|
e.hideItem(i);
|
|
@@ -5696,16 +5747,16 @@ const fn = U.createContext({
|
|
|
5696
5747
|
showItem: r,
|
|
5697
5748
|
hideItem: o
|
|
5698
5749
|
};
|
|
5699
|
-
},
|
|
5750
|
+
}, _a = ({
|
|
5700
5751
|
id: e,
|
|
5701
5752
|
onCloseDrawer: t,
|
|
5702
5753
|
drawerCloseOffset: r = 15
|
|
5703
5754
|
}) => {
|
|
5704
5755
|
const { isItemVisible: o } = St(), [i, a] = U.useState({
|
|
5705
5756
|
isDragging: !1
|
|
5706
|
-
}), l = U.useRef(null), f = U.useRef(null), d = U.useRef(null), [h, w] = U.useState(0),
|
|
5757
|
+
}), l = U.useRef(null), f = U.useRef(null), d = U.useRef(null), [h, w] = U.useState(0), E = (C) => {
|
|
5707
5758
|
a(C);
|
|
5708
|
-
},
|
|
5759
|
+
}, R = (C) => {
|
|
5709
5760
|
a(C), w(0);
|
|
5710
5761
|
};
|
|
5711
5762
|
return Qi({
|
|
@@ -5713,10 +5764,10 @@ const fn = U.createContext({
|
|
|
5713
5764
|
onDrag: (C) => {
|
|
5714
5765
|
a(C);
|
|
5715
5766
|
const v = f.current?.clientHeight || 0;
|
|
5716
|
-
C.distanceY && (w(C.distanceY < 0 ? 0 : -C.distanceY), C.distanceY >= v - r && (t?.(),
|
|
5767
|
+
C.distanceY && (w(C.distanceY < 0 ? 0 : -C.distanceY), C.distanceY >= v - r && (t?.(), R(C)));
|
|
5717
5768
|
},
|
|
5718
|
-
onDragEnd:
|
|
5719
|
-
onDragStart:
|
|
5769
|
+
onDragEnd: R,
|
|
5770
|
+
onDragStart: E
|
|
5720
5771
|
}), {
|
|
5721
5772
|
isVisible: o(e),
|
|
5722
5773
|
drawerParentRef: l,
|
|
@@ -5724,14 +5775,14 @@ const fn = U.createContext({
|
|
|
5724
5775
|
drawerBottomDistance: h,
|
|
5725
5776
|
handleRef: d
|
|
5726
5777
|
};
|
|
5727
|
-
},
|
|
5778
|
+
}, Ua = (e) => {
|
|
5728
5779
|
const { children: t, backgroundStyles: r, contentStyles: o, handle: i } = e, {
|
|
5729
5780
|
isVisible: a,
|
|
5730
5781
|
drawerParentRef: l,
|
|
5731
5782
|
drawerRef: f,
|
|
5732
5783
|
handleRef: d,
|
|
5733
5784
|
drawerBottomDistance: h
|
|
5734
|
-
} =
|
|
5785
|
+
} = _a(e);
|
|
5735
5786
|
return /* @__PURE__ */ G.jsx(G.Fragment, { children: a && /* @__PURE__ */ G.jsx(
|
|
5736
5787
|
"div",
|
|
5737
5788
|
{
|
|
@@ -5800,18 +5851,18 @@ const fn = U.createContext({
|
|
|
5800
5851
|
)
|
|
5801
5852
|
}
|
|
5802
5853
|
) });
|
|
5803
|
-
},
|
|
5854
|
+
}, Ta = ({ onSubmit: e, fields: t }) => {
|
|
5804
5855
|
const r = U.useRef(null), o = U.useCallback(
|
|
5805
5856
|
(l) => {
|
|
5806
5857
|
var f = Object.keys(l.currentTarget.elements), d = Object.values(l.currentTarget.elements), h = [];
|
|
5807
5858
|
for (let w = 0; w < f.length; w++) {
|
|
5808
|
-
const
|
|
5809
|
-
if (t.findIndex((
|
|
5859
|
+
const E = f[w];
|
|
5860
|
+
if (t.findIndex((A) => A.name === E) === -1)
|
|
5810
5861
|
continue;
|
|
5811
|
-
const
|
|
5862
|
+
const R = d[w].value;
|
|
5812
5863
|
h.push({
|
|
5813
|
-
name:
|
|
5814
|
-
value:
|
|
5864
|
+
name: E,
|
|
5865
|
+
value: R
|
|
5815
5866
|
});
|
|
5816
5867
|
}
|
|
5817
5868
|
return h;
|
|
@@ -5832,8 +5883,8 @@ const fn = U.createContext({
|
|
|
5832
5883
|
},
|
|
5833
5884
|
handleFormSubmission: i
|
|
5834
5885
|
};
|
|
5835
|
-
},
|
|
5836
|
-
const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } =
|
|
5886
|
+
}, Ba = (e) => {
|
|
5887
|
+
const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } = Ta(e), f = U.useCallback(() => t.map((d) => ({ ...d.content, key: d.name })), [t]);
|
|
5837
5888
|
return /* @__PURE__ */ G.jsxs(
|
|
5838
5889
|
"form",
|
|
5839
5890
|
{
|
|
@@ -5866,7 +5917,7 @@ const fn = U.createContext({
|
|
|
5866
5917
|
]
|
|
5867
5918
|
}
|
|
5868
5919
|
);
|
|
5869
|
-
},
|
|
5920
|
+
}, Ya = ({ src: e, alt: t = "", onClick: r, styles: o }) => /* @__PURE__ */ G.jsx(
|
|
5870
5921
|
"img",
|
|
5871
5922
|
{
|
|
5872
5923
|
src: e,
|
|
@@ -5883,7 +5934,7 @@ const fn = U.createContext({
|
|
|
5883
5934
|
},
|
|
5884
5935
|
onClick: () => r?.()
|
|
5885
5936
|
}
|
|
5886
|
-
),
|
|
5937
|
+
), ja = Ve.div`
|
|
5887
5938
|
display: flex;
|
|
5888
5939
|
flex-direction: column;
|
|
5889
5940
|
font-family: inherit;
|
|
@@ -5901,7 +5952,7 @@ const fn = U.createContext({
|
|
|
5901
5952
|
input:-webkit-autofill {
|
|
5902
5953
|
background-color: #00000000;
|
|
5903
5954
|
}
|
|
5904
|
-
`,
|
|
5955
|
+
`, Va = ({
|
|
5905
5956
|
name: e,
|
|
5906
5957
|
label: t,
|
|
5907
5958
|
leftIcon: r,
|
|
@@ -5913,21 +5964,21 @@ const fn = U.createContext({
|
|
|
5913
5964
|
initialValue: d,
|
|
5914
5965
|
type: h = "text",
|
|
5915
5966
|
onChange: w,
|
|
5916
|
-
inputStyles:
|
|
5917
|
-
containerProps:
|
|
5918
|
-
step:
|
|
5967
|
+
inputStyles: E,
|
|
5968
|
+
containerProps: R,
|
|
5969
|
+
step: A
|
|
5919
5970
|
}) => {
|
|
5920
5971
|
const C = (v) => {
|
|
5921
5972
|
w?.(v.currentTarget.value);
|
|
5922
5973
|
};
|
|
5923
5974
|
return /* @__PURE__ */ G.jsxs(
|
|
5924
|
-
|
|
5975
|
+
ja,
|
|
5925
5976
|
{
|
|
5926
5977
|
style: {
|
|
5927
5978
|
width: "100%",
|
|
5928
5979
|
maxWidth: "357px",
|
|
5929
5980
|
gap: "8px",
|
|
5930
|
-
...
|
|
5981
|
+
...R
|
|
5931
5982
|
},
|
|
5932
5983
|
children: [
|
|
5933
5984
|
t,
|
|
@@ -5952,7 +6003,7 @@ const fn = U.createContext({
|
|
|
5952
6003
|
outline: "none",
|
|
5953
6004
|
alignItems: "center",
|
|
5954
6005
|
gap: "10px",
|
|
5955
|
-
...
|
|
6006
|
+
...E
|
|
5956
6007
|
},
|
|
5957
6008
|
children: [
|
|
5958
6009
|
r,
|
|
@@ -5962,7 +6013,7 @@ const fn = U.createContext({
|
|
|
5962
6013
|
name: e,
|
|
5963
6014
|
type: h,
|
|
5964
6015
|
autoComplete: l,
|
|
5965
|
-
step:
|
|
6016
|
+
step: A,
|
|
5966
6017
|
style: {
|
|
5967
6018
|
flex: 1,
|
|
5968
6019
|
border: "none",
|
|
@@ -5989,7 +6040,7 @@ const fn = U.createContext({
|
|
|
5989
6040
|
]
|
|
5990
6041
|
}
|
|
5991
6042
|
);
|
|
5992
|
-
},
|
|
6043
|
+
}, Xa = ({ id: e, styles: t, children: r }) => {
|
|
5993
6044
|
const { isItemVisible: o } = St();
|
|
5994
6045
|
return /* @__PURE__ */ G.jsx(G.Fragment, { children: o(e) && /* @__PURE__ */ G.jsx(
|
|
5995
6046
|
"div",
|
|
@@ -6010,7 +6061,7 @@ const fn = U.createContext({
|
|
|
6010
6061
|
children: r
|
|
6011
6062
|
}
|
|
6012
6063
|
) });
|
|
6013
|
-
},
|
|
6064
|
+
}, Ga = ({
|
|
6014
6065
|
id: e,
|
|
6015
6066
|
children: t,
|
|
6016
6067
|
backgroundStyles: r,
|
|
@@ -6068,7 +6119,7 @@ const fn = U.createContext({
|
|
|
6068
6119
|
)
|
|
6069
6120
|
}
|
|
6070
6121
|
) });
|
|
6071
|
-
},
|
|
6122
|
+
}, La = (e) => {
|
|
6072
6123
|
const t = U.useRef(null), r = U.useRef(null), [o, i] = U.useState(24), [a, l] = U.useState(24), f = U.useCallback(() => {
|
|
6073
6124
|
t.current && i(t.current.clientHeight);
|
|
6074
6125
|
}, [t, t.current]), d = U.useCallback(() => {
|
|
@@ -6092,14 +6143,14 @@ const fn = U.createContext({
|
|
|
6092
6143
|
ref: r
|
|
6093
6144
|
}
|
|
6094
6145
|
};
|
|
6095
|
-
},
|
|
6146
|
+
}, Ka = (e) => {
|
|
6096
6147
|
const {
|
|
6097
6148
|
containerStyles: t,
|
|
6098
6149
|
pageStyles: r,
|
|
6099
6150
|
children: o,
|
|
6100
6151
|
allowScroll: i = !0,
|
|
6101
6152
|
floatingContent: a
|
|
6102
|
-
} = e, { footer: l, header: f } =
|
|
6153
|
+
} = e, { footer: l, header: f } = La(e);
|
|
6103
6154
|
return /* @__PURE__ */ G.jsxs(
|
|
6104
6155
|
"div",
|
|
6105
6156
|
{
|
|
@@ -6198,7 +6249,7 @@ const fn = U.createContext({
|
|
|
6198
6249
|
]
|
|
6199
6250
|
}
|
|
6200
6251
|
);
|
|
6201
|
-
},
|
|
6252
|
+
}, Ja = ({
|
|
6202
6253
|
src: e,
|
|
6203
6254
|
width: t = "22",
|
|
6204
6255
|
height: r = "28",
|
|
@@ -6236,7 +6287,7 @@ const fn = U.createContext({
|
|
|
6236
6287
|
}
|
|
6237
6288
|
)
|
|
6238
6289
|
}
|
|
6239
|
-
),
|
|
6290
|
+
), Za = ({
|
|
6240
6291
|
id: e,
|
|
6241
6292
|
children: t,
|
|
6242
6293
|
styles: r,
|
|
@@ -6273,7 +6324,7 @@ const fn = U.createContext({
|
|
|
6273
6324
|
children: t
|
|
6274
6325
|
}
|
|
6275
6326
|
) });
|
|
6276
|
-
},
|
|
6327
|
+
}, Qa = ({
|
|
6277
6328
|
overflowEllipsis: e,
|
|
6278
6329
|
children: t,
|
|
6279
6330
|
styles: r
|
|
@@ -6295,7 +6346,7 @@ const fn = U.createContext({
|
|
|
6295
6346
|
children: t
|
|
6296
6347
|
}
|
|
6297
6348
|
);
|
|
6298
|
-
class
|
|
6349
|
+
class es {
|
|
6299
6350
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6300
6351
|
static disableScroll = () => {
|
|
6301
6352
|
document.body.style.overflow = "hidden";
|
|
@@ -6304,36 +6355,38 @@ class Za {
|
|
|
6304
6355
|
document.body.style.overflow = "unset";
|
|
6305
6356
|
};
|
|
6306
6357
|
}
|
|
6307
|
-
class
|
|
6358
|
+
class ts {
|
|
6308
6359
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6309
6360
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6310
6361
|
});
|
|
6311
6362
|
static isEqual = (t, r, o = !0) => o ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6312
6363
|
}
|
|
6313
6364
|
export {
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6365
|
+
Ma as Button,
|
|
6366
|
+
Ia as Carousel,
|
|
6367
|
+
Ua as Drawer,
|
|
6368
|
+
qa as FeedbackProvider,
|
|
6369
|
+
Ba as Form,
|
|
6370
|
+
Ya as Image,
|
|
6371
|
+
Va as InputField,
|
|
6372
|
+
Xa as Loader,
|
|
6373
|
+
Ga as Modal,
|
|
6374
|
+
$a as NavigationProvider,
|
|
6375
|
+
Ka as PageLayout,
|
|
6376
|
+
es as ScrollHelper,
|
|
6377
|
+
Ja as SvgImage,
|
|
6378
|
+
ts as TextHelper,
|
|
6379
|
+
eo as TimeHelper,
|
|
6380
|
+
Za as Toast,
|
|
6381
|
+
Qa as Typography,
|
|
6382
|
+
to as defaultBreakpoints,
|
|
6383
|
+
Aa as useDidMount,
|
|
6332
6384
|
Qi as useDrag,
|
|
6333
6385
|
St as useFeedback,
|
|
6334
|
-
|
|
6335
|
-
|
|
6386
|
+
za as useFetch,
|
|
6387
|
+
Ha as useIsTouchingParentElement,
|
|
6388
|
+
Wa as useNavigation,
|
|
6336
6389
|
Zi as usePointer,
|
|
6337
|
-
|
|
6338
|
-
|
|
6390
|
+
Na as useResponsive,
|
|
6391
|
+
Fa as useTranslations
|
|
6339
6392
|
};
|