@eliseubatista99/react-scaffold-core 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/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 +10 -10
- package/dist/index.es.js +775 -726
- package/package.json +1 -1
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 = [
|
|
@@ -3762,7 +3762,7 @@ const Ki = Ve.div`
|
|
|
3762
3762
|
box-sizing: border-box;
|
|
3763
3763
|
display: flex;
|
|
3764
3764
|
}
|
|
3765
|
-
`,
|
|
3765
|
+
`, Ia = ({
|
|
3766
3766
|
styles: e,
|
|
3767
3767
|
content: t,
|
|
3768
3768
|
settings: r,
|
|
@@ -3790,7 +3790,7 @@ const Ki = Ve.div`
|
|
|
3790
3790
|
}
|
|
3791
3791
|
));
|
|
3792
3792
|
return /* @__PURE__ */ G.jsx(Ki, { styles: { ...e }, children: /* @__PURE__ */ G.jsx(Qn, { ...i, children: a }) });
|
|
3793
|
-
},
|
|
3793
|
+
}, Aa = (e) => Er(e, []), Zi = () => {
|
|
3794
3794
|
const [e, t] = U.useState(
|
|
3795
3795
|
{}
|
|
3796
3796
|
), [r, o] = U.useState(!1);
|
|
@@ -3832,14 +3832,14 @@ const Ki = Ve.div`
|
|
|
3832
3832
|
v && (d.current = v, r?.(v));
|
|
3833
3833
|
},
|
|
3834
3834
|
[h]
|
|
3835
|
-
),
|
|
3835
|
+
), E = U.useCallback(
|
|
3836
3836
|
(C) => {
|
|
3837
3837
|
d.current.isDragging = !1;
|
|
3838
3838
|
const v = h(l);
|
|
3839
3839
|
v && (o?.(v), v.startPosX = void 0, v.startPosY = void 0, d.current = v);
|
|
3840
3840
|
},
|
|
3841
3841
|
[h, l]
|
|
3842
|
-
),
|
|
3842
|
+
), R = U.useCallback(
|
|
3843
3843
|
(C) => {
|
|
3844
3844
|
if (console.debug(
|
|
3845
3845
|
"useDrag > onPointerMove > Is Dragging >",
|
|
@@ -3850,7 +3850,7 @@ const Ki = Ve.div`
|
|
|
3850
3850
|
console.debug("useDrag > onPointerMove > Drag Result >", v), v && (t?.(v), d.current = v);
|
|
3851
3851
|
},
|
|
3852
3852
|
[h, l]
|
|
3853
|
-
),
|
|
3853
|
+
), A = U.useCallback(async () => {
|
|
3854
3854
|
if (!i.current) {
|
|
3855
3855
|
for (; !e?.current; )
|
|
3856
3856
|
await new Promise((C) => setTimeout(C, 300));
|
|
@@ -3858,13 +3858,13 @@ const Ki = Ve.div`
|
|
|
3858
3858
|
}
|
|
3859
3859
|
}, [e?.current, w]);
|
|
3860
3860
|
U.useEffect(() => {
|
|
3861
|
-
|
|
3862
|
-
}, [
|
|
3863
|
-
|
|
3861
|
+
A();
|
|
3862
|
+
}, [A]), U.useEffect(() => {
|
|
3863
|
+
R();
|
|
3864
3864
|
}, [l]), U.useEffect(() => {
|
|
3865
|
-
f !== a.current && (a.current = f, f ||
|
|
3865
|
+
f !== a.current && (a.current = f, f || E());
|
|
3866
3866
|
}, [f, a.current]);
|
|
3867
|
-
},
|
|
3867
|
+
}, za = () => {
|
|
3868
3868
|
const e = (r, o) => {
|
|
3869
3869
|
let i = 0, a = `${r}?`;
|
|
3870
3870
|
for (const l in o) {
|
|
@@ -3877,16 +3877,63 @@ const Ki = Ve.div`
|
|
|
3877
3877
|
const i = e(r, o);
|
|
3878
3878
|
return await (await fetch(i)).json();
|
|
3879
3879
|
};
|
|
3880
|
-
}
|
|
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 = {
|
|
3881
3928
|
xs: 0,
|
|
3882
3929
|
sm: 420,
|
|
3883
3930
|
md: 768,
|
|
3884
3931
|
lg: 991,
|
|
3885
3932
|
xl: 1200,
|
|
3886
3933
|
xxl: 1440
|
|
3887
|
-
},
|
|
3934
|
+
}, Na = (e) => {
|
|
3888
3935
|
const t = {
|
|
3889
|
-
...
|
|
3936
|
+
...to,
|
|
3890
3937
|
...e?.breakpointConfiguration
|
|
3891
3938
|
}, [r, o] = vn(
|
|
3892
3939
|
wr(t)
|
|
@@ -3896,10 +3943,10 @@ const Ki = Ve.div`
|
|
|
3896
3943
|
return Er(() => (window.addEventListener("resize", i), () => {
|
|
3897
3944
|
window.removeEventListener("resize", i);
|
|
3898
3945
|
}), []), mn(() => r, [r]);
|
|
3899
|
-
},
|
|
3900
|
-
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);
|
|
3901
3948
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: o, currentSize: i };
|
|
3902
|
-
},
|
|
3949
|
+
}, Fa = (e) => {
|
|
3903
3950
|
const t = e.translations, r = e.language, o = (a, l) => {
|
|
3904
3951
|
if (!a)
|
|
3905
3952
|
return;
|
|
@@ -3922,63 +3969,63 @@ const Ki = Ve.div`
|
|
|
3922
3969
|
};
|
|
3923
3970
|
};
|
|
3924
3971
|
var We = {}, Sr;
|
|
3925
|
-
function
|
|
3972
|
+
function io() {
|
|
3926
3973
|
if (Sr) return We;
|
|
3927
3974
|
Sr = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.parse = l, We.serialize = h;
|
|
3928
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__ */ (() => {
|
|
3929
|
-
const
|
|
3976
|
+
const R = function() {
|
|
3930
3977
|
};
|
|
3931
|
-
return
|
|
3978
|
+
return R.prototype = /* @__PURE__ */ Object.create(null), R;
|
|
3932
3979
|
})();
|
|
3933
|
-
function l(
|
|
3934
|
-
const C = new a(), v =
|
|
3980
|
+
function l(R, A) {
|
|
3981
|
+
const C = new a(), v = R.length;
|
|
3935
3982
|
if (v < 2)
|
|
3936
3983
|
return C;
|
|
3937
|
-
const I =
|
|
3984
|
+
const I = A?.decode || w;
|
|
3938
3985
|
let O = 0;
|
|
3939
3986
|
do {
|
|
3940
|
-
const
|
|
3941
|
-
if (
|
|
3987
|
+
const N = R.indexOf("=", O);
|
|
3988
|
+
if (N === -1)
|
|
3942
3989
|
break;
|
|
3943
|
-
const q =
|
|
3944
|
-
if (
|
|
3945
|
-
O =
|
|
3990
|
+
const q = R.indexOf(";", O), B = q === -1 ? v : q;
|
|
3991
|
+
if (N > B) {
|
|
3992
|
+
O = R.lastIndexOf(";", N - 1) + 1;
|
|
3946
3993
|
continue;
|
|
3947
3994
|
}
|
|
3948
|
-
const p = f(
|
|
3995
|
+
const p = f(R, O, N), y = d(R, N, p), g = R.slice(p, y);
|
|
3949
3996
|
if (C[g] === void 0) {
|
|
3950
|
-
let k = f(
|
|
3951
|
-
const c = I(
|
|
3997
|
+
let k = f(R, N + 1, B), m = d(R, B, k);
|
|
3998
|
+
const c = I(R.slice(k, m));
|
|
3952
3999
|
C[g] = c;
|
|
3953
4000
|
}
|
|
3954
4001
|
O = B + 1;
|
|
3955
4002
|
} while (O < v);
|
|
3956
4003
|
return C;
|
|
3957
4004
|
}
|
|
3958
|
-
function f(
|
|
4005
|
+
function f(R, A, C) {
|
|
3959
4006
|
do {
|
|
3960
|
-
const v =
|
|
4007
|
+
const v = R.charCodeAt(A);
|
|
3961
4008
|
if (v !== 32 && v !== 9)
|
|
3962
|
-
return
|
|
3963
|
-
} while (++
|
|
4009
|
+
return A;
|
|
4010
|
+
} while (++A < C);
|
|
3964
4011
|
return C;
|
|
3965
4012
|
}
|
|
3966
|
-
function d(
|
|
3967
|
-
for (;
|
|
3968
|
-
const v =
|
|
4013
|
+
function d(R, A, C) {
|
|
4014
|
+
for (; A > C; ) {
|
|
4015
|
+
const v = R.charCodeAt(--A);
|
|
3969
4016
|
if (v !== 32 && v !== 9)
|
|
3970
|
-
return
|
|
4017
|
+
return A + 1;
|
|
3971
4018
|
}
|
|
3972
4019
|
return C;
|
|
3973
4020
|
}
|
|
3974
|
-
function h(
|
|
4021
|
+
function h(R, A, C) {
|
|
3975
4022
|
const v = C?.encode || encodeURIComponent;
|
|
3976
|
-
if (!e.test(
|
|
3977
|
-
throw new TypeError(`argument name is invalid: ${
|
|
3978
|
-
const I = v(
|
|
4023
|
+
if (!e.test(R))
|
|
4024
|
+
throw new TypeError(`argument name is invalid: ${R}`);
|
|
4025
|
+
const I = v(A);
|
|
3979
4026
|
if (!t.test(I))
|
|
3980
|
-
throw new TypeError(`argument val is invalid: ${
|
|
3981
|
-
let O =
|
|
4027
|
+
throw new TypeError(`argument val is invalid: ${A}`);
|
|
4028
|
+
let O = R + "=" + I;
|
|
3982
4029
|
if (!C)
|
|
3983
4030
|
return O;
|
|
3984
4031
|
if (C.maxAge !== void 0) {
|
|
@@ -3997,7 +4044,7 @@ function no() {
|
|
|
3997
4044
|
O += "; Path=" + C.path;
|
|
3998
4045
|
}
|
|
3999
4046
|
if (C.expires) {
|
|
4000
|
-
if (!
|
|
4047
|
+
if (!E(C.expires) || !Number.isFinite(C.expires.valueOf()))
|
|
4001
4048
|
throw new TypeError(`option expires is invalid: ${C.expires}`);
|
|
4002
4049
|
O += "; Expires=" + C.expires.toUTCString();
|
|
4003
4050
|
}
|
|
@@ -4032,21 +4079,21 @@ function no() {
|
|
|
4032
4079
|
}
|
|
4033
4080
|
return O;
|
|
4034
4081
|
}
|
|
4035
|
-
function w(
|
|
4036
|
-
if (
|
|
4037
|
-
return
|
|
4082
|
+
function w(R) {
|
|
4083
|
+
if (R.indexOf("%") === -1)
|
|
4084
|
+
return R;
|
|
4038
4085
|
try {
|
|
4039
|
-
return decodeURIComponent(
|
|
4086
|
+
return decodeURIComponent(R);
|
|
4040
4087
|
} catch {
|
|
4041
|
-
return
|
|
4088
|
+
return R;
|
|
4042
4089
|
}
|
|
4043
4090
|
}
|
|
4044
|
-
function R
|
|
4045
|
-
return i.call(
|
|
4091
|
+
function E(R) {
|
|
4092
|
+
return i.call(R) === "[object Date]";
|
|
4046
4093
|
}
|
|
4047
4094
|
return We;
|
|
4048
4095
|
}
|
|
4049
|
-
|
|
4096
|
+
io();
|
|
4050
4097
|
/**
|
|
4051
4098
|
* react-router v7.6.3
|
|
4052
4099
|
*
|
|
@@ -4058,7 +4105,7 @@ no();
|
|
|
4058
4105
|
* @license MIT
|
|
4059
4106
|
*/
|
|
4060
4107
|
var xr = "popstate";
|
|
4061
|
-
function
|
|
4108
|
+
function oo(e = {}) {
|
|
4062
4109
|
function t(o, i) {
|
|
4063
4110
|
let { pathname: a, search: l, hash: f } = o.location;
|
|
4064
4111
|
return zt(
|
|
@@ -4072,7 +4119,7 @@ function io(e = {}) {
|
|
|
4072
4119
|
function r(o, i) {
|
|
4073
4120
|
return typeof i == "string" ? i : Xe(i);
|
|
4074
4121
|
}
|
|
4075
|
-
return
|
|
4122
|
+
return so(
|
|
4076
4123
|
t,
|
|
4077
4124
|
r,
|
|
4078
4125
|
null,
|
|
@@ -4092,7 +4139,7 @@ function be(e, t) {
|
|
|
4092
4139
|
}
|
|
4093
4140
|
}
|
|
4094
4141
|
}
|
|
4095
|
-
function
|
|
4142
|
+
function ao() {
|
|
4096
4143
|
return Math.random().toString(36).substring(2, 10);
|
|
4097
4144
|
}
|
|
4098
4145
|
function kr(e, t) {
|
|
@@ -4113,7 +4160,7 @@ function zt(e, t, r = null, o) {
|
|
|
4113
4160
|
// full Locations now and avoid the need to run through this flow at all
|
|
4114
4161
|
// But that's a pretty big refactor to the current test suite so going to
|
|
4115
4162
|
// keep as is for the time being and just let any incoming keys take precedence
|
|
4116
|
-
key: t && t.key || o ||
|
|
4163
|
+
key: t && t.key || o || ao()
|
|
4117
4164
|
};
|
|
4118
4165
|
}
|
|
4119
4166
|
function Xe({
|
|
@@ -4133,22 +4180,22 @@ function Le(e) {
|
|
|
4133
4180
|
}
|
|
4134
4181
|
return t;
|
|
4135
4182
|
}
|
|
4136
|
-
function
|
|
4183
|
+
function so(e, t, r, o = {}) {
|
|
4137
4184
|
let { window: i = document.defaultView, v5Compat: a = !1 } = o, l = i.history, f = "POP", d = null, h = w();
|
|
4138
4185
|
h == null && (h = 0, l.replaceState({ ...l.state, idx: h }, ""));
|
|
4139
4186
|
function w() {
|
|
4140
4187
|
return (l.state || { idx: null }).idx;
|
|
4141
4188
|
}
|
|
4142
|
-
function
|
|
4189
|
+
function E() {
|
|
4143
4190
|
f = "POP";
|
|
4144
4191
|
let I = w(), O = I == null ? null : I - h;
|
|
4145
4192
|
h = I, d && d({ action: f, location: v.location, delta: O });
|
|
4146
4193
|
}
|
|
4147
|
-
function
|
|
4194
|
+
function R(I, O) {
|
|
4148
4195
|
f = "PUSH";
|
|
4149
|
-
let
|
|
4196
|
+
let N = zt(v.location, I, O);
|
|
4150
4197
|
h = w() + 1;
|
|
4151
|
-
let q = kr(
|
|
4198
|
+
let q = kr(N, h), B = v.createHref(N);
|
|
4152
4199
|
try {
|
|
4153
4200
|
l.pushState(q, "", B);
|
|
4154
4201
|
} catch (p) {
|
|
@@ -4158,15 +4205,15 @@ function ao(e, t, r, o = {}) {
|
|
|
4158
4205
|
}
|
|
4159
4206
|
a && d && d({ action: f, location: v.location, delta: 1 });
|
|
4160
4207
|
}
|
|
4161
|
-
function
|
|
4208
|
+
function A(I, O) {
|
|
4162
4209
|
f = "REPLACE";
|
|
4163
|
-
let
|
|
4210
|
+
let N = zt(v.location, I, O);
|
|
4164
4211
|
h = w();
|
|
4165
|
-
let q = kr(
|
|
4212
|
+
let q = kr(N, h), B = v.createHref(N);
|
|
4166
4213
|
l.replaceState(q, "", B), a && d && d({ action: f, location: v.location, delta: 0 });
|
|
4167
4214
|
}
|
|
4168
4215
|
function C(I) {
|
|
4169
|
-
return
|
|
4216
|
+
return lo(I);
|
|
4170
4217
|
}
|
|
4171
4218
|
let v = {
|
|
4172
4219
|
get action() {
|
|
@@ -4178,8 +4225,8 @@ function ao(e, t, r, o = {}) {
|
|
|
4178
4225
|
listen(I) {
|
|
4179
4226
|
if (d)
|
|
4180
4227
|
throw new Error("A history only accepts one active listener");
|
|
4181
|
-
return i.addEventListener(xr,
|
|
4182
|
-
i.removeEventListener(xr,
|
|
4228
|
+
return i.addEventListener(xr, E), d = I, () => {
|
|
4229
|
+
i.removeEventListener(xr, E), d = null;
|
|
4183
4230
|
};
|
|
4184
4231
|
},
|
|
4185
4232
|
createHref(I) {
|
|
@@ -4194,33 +4241,33 @@ function ao(e, t, r, o = {}) {
|
|
|
4194
4241
|
hash: O.hash
|
|
4195
4242
|
};
|
|
4196
4243
|
},
|
|
4197
|
-
push:
|
|
4198
|
-
replace:
|
|
4244
|
+
push: R,
|
|
4245
|
+
replace: A,
|
|
4199
4246
|
go(I) {
|
|
4200
4247
|
return l.go(I);
|
|
4201
4248
|
}
|
|
4202
4249
|
};
|
|
4203
4250
|
return v;
|
|
4204
4251
|
}
|
|
4205
|
-
function
|
|
4252
|
+
function lo(e, t = !1) {
|
|
4206
4253
|
let r = "http://localhost";
|
|
4207
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");
|
|
4208
4255
|
let o = typeof e == "string" ? e : Xe(e);
|
|
4209
4256
|
return o = o.replace(/ $/, "%20"), !t && o.startsWith("//") && (o = r + o), new URL(o, r);
|
|
4210
4257
|
}
|
|
4211
4258
|
function Br(e, t, r = "/") {
|
|
4212
|
-
return
|
|
4259
|
+
return uo(e, t, r, !1);
|
|
4213
4260
|
}
|
|
4214
|
-
function
|
|
4261
|
+
function uo(e, t, r, o) {
|
|
4215
4262
|
let i = typeof t == "string" ? Le(t) : t, a = xe(i.pathname || "/", r);
|
|
4216
4263
|
if (a == null)
|
|
4217
4264
|
return null;
|
|
4218
4265
|
let l = Yr(e);
|
|
4219
|
-
|
|
4266
|
+
co(l);
|
|
4220
4267
|
let f = null;
|
|
4221
4268
|
for (let d = 0; f == null && d < l.length; ++d) {
|
|
4222
|
-
let h =
|
|
4223
|
-
f =
|
|
4269
|
+
let h = xo(a);
|
|
4270
|
+
f = wo(
|
|
4224
4271
|
l[d],
|
|
4225
4272
|
h,
|
|
4226
4273
|
o
|
|
@@ -4248,7 +4295,7 @@ function Yr(e, t = [], r = [], o = "") {
|
|
|
4248
4295
|
`Index routes must not have child routes. Please remove all child routes from route path "${h}".`
|
|
4249
4296
|
), Yr(a.children, t, w, h)), !(a.path == null && !a.index) && t.push({
|
|
4250
4297
|
path: h,
|
|
4251
|
-
score:
|
|
4298
|
+
score: go(h, a.index),
|
|
4252
4299
|
routesMeta: w
|
|
4253
4300
|
});
|
|
4254
4301
|
};
|
|
@@ -4275,23 +4322,23 @@ function Vr(e) {
|
|
|
4275
4322
|
(d) => e.startsWith("/") && d === "" ? "/" : d
|
|
4276
4323
|
);
|
|
4277
4324
|
}
|
|
4278
|
-
function
|
|
4325
|
+
function co(e) {
|
|
4279
4326
|
e.sort(
|
|
4280
|
-
(t, r) => t.score !== r.score ? r.score - t.score :
|
|
4327
|
+
(t, r) => t.score !== r.score ? r.score - t.score : bo(
|
|
4281
4328
|
t.routesMeta.map((o) => o.childrenIndex),
|
|
4282
4329
|
r.routesMeta.map((o) => o.childrenIndex)
|
|
4283
4330
|
)
|
|
4284
4331
|
);
|
|
4285
4332
|
}
|
|
4286
|
-
var
|
|
4287
|
-
function
|
|
4333
|
+
var fo = /^:[\w-]+$/, ho = 3, po = 2, vo = 1, mo = 10, yo = -2, Or = (e) => e === "*";
|
|
4334
|
+
function go(e, t) {
|
|
4288
4335
|
let r = e.split("/"), o = r.length;
|
|
4289
|
-
return r.some(Or) && (o +=
|
|
4290
|
-
(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),
|
|
4291
4338
|
o
|
|
4292
4339
|
);
|
|
4293
4340
|
}
|
|
4294
|
-
function
|
|
4341
|
+
function bo(e, t) {
|
|
4295
4342
|
return e.length === t.length && e.slice(0, -1).every((o, i) => o === t[i]) ? (
|
|
4296
4343
|
// If two routes are siblings, we should try to match the earlier sibling
|
|
4297
4344
|
// first. This allows people to have fine-grained control over the matching
|
|
@@ -4304,37 +4351,37 @@ function go(e, t) {
|
|
|
4304
4351
|
0
|
|
4305
4352
|
);
|
|
4306
4353
|
}
|
|
4307
|
-
function
|
|
4354
|
+
function wo(e, t, r = !1) {
|
|
4308
4355
|
let { routesMeta: o } = e, i = {}, a = "/", l = [];
|
|
4309
4356
|
for (let f = 0; f < o.length; ++f) {
|
|
4310
|
-
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(
|
|
4311
4358
|
{ path: d.relativePath, caseSensitive: d.caseSensitive, end: h },
|
|
4312
4359
|
w
|
|
4313
|
-
),
|
|
4314
|
-
if (!
|
|
4360
|
+
), R = d.route;
|
|
4361
|
+
if (!E && h && r && !o[o.length - 1].route.index && (E = ht(
|
|
4315
4362
|
{
|
|
4316
4363
|
path: d.relativePath,
|
|
4317
4364
|
caseSensitive: d.caseSensitive,
|
|
4318
4365
|
end: !1
|
|
4319
4366
|
},
|
|
4320
4367
|
w
|
|
4321
|
-
)), !
|
|
4368
|
+
)), !E)
|
|
4322
4369
|
return null;
|
|
4323
|
-
Object.assign(i,
|
|
4370
|
+
Object.assign(i, E.params), l.push({
|
|
4324
4371
|
// TODO: Can this as be avoided?
|
|
4325
4372
|
params: i,
|
|
4326
|
-
pathname: Se([a,
|
|
4327
|
-
pathnameBase:
|
|
4328
|
-
Se([a,
|
|
4373
|
+
pathname: Se([a, E.pathname]),
|
|
4374
|
+
pathnameBase: Po(
|
|
4375
|
+
Se([a, E.pathnameBase])
|
|
4329
4376
|
),
|
|
4330
|
-
route:
|
|
4331
|
-
}),
|
|
4377
|
+
route: R
|
|
4378
|
+
}), E.pathnameBase !== "/" && (a = Se([a, E.pathnameBase]));
|
|
4332
4379
|
}
|
|
4333
4380
|
return l;
|
|
4334
4381
|
}
|
|
4335
|
-
function
|
|
4382
|
+
function ht(e, t) {
|
|
4336
4383
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
4337
|
-
let [r, o] =
|
|
4384
|
+
let [r, o] = So(
|
|
4338
4385
|
e.path,
|
|
4339
4386
|
e.caseSensitive,
|
|
4340
4387
|
e.end
|
|
@@ -4343,13 +4390,13 @@ function pt(e, t) {
|
|
|
4343
4390
|
let a = i[0], l = a.replace(/(.)\/+$/, "$1"), f = i.slice(1);
|
|
4344
4391
|
return {
|
|
4345
4392
|
params: o.reduce(
|
|
4346
|
-
(h, { paramName: w, isOptional:
|
|
4393
|
+
(h, { paramName: w, isOptional: E }, R) => {
|
|
4347
4394
|
if (w === "*") {
|
|
4348
|
-
let C = f[
|
|
4395
|
+
let C = f[R] || "";
|
|
4349
4396
|
l = a.slice(0, a.length - C.length).replace(/(.)\/+$/, "$1");
|
|
4350
4397
|
}
|
|
4351
|
-
const
|
|
4352
|
-
return
|
|
4398
|
+
const A = f[R];
|
|
4399
|
+
return E && !A ? h[w] = void 0 : h[w] = (A || "").replace(/%2F/g, "/"), h;
|
|
4353
4400
|
},
|
|
4354
4401
|
{}
|
|
4355
4402
|
),
|
|
@@ -4358,7 +4405,7 @@ function pt(e, t) {
|
|
|
4358
4405
|
pattern: e
|
|
4359
4406
|
};
|
|
4360
4407
|
}
|
|
4361
|
-
function
|
|
4408
|
+
function So(e, t = !1, r = !0) {
|
|
4362
4409
|
be(
|
|
4363
4410
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
4364
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(/\*$/, "/*")}".`
|
|
@@ -4369,7 +4416,7 @@ function wo(e, t = !1, r = !0) {
|
|
|
4369
4416
|
);
|
|
4370
4417
|
return e.endsWith("*") ? (o.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), o];
|
|
4371
4418
|
}
|
|
4372
|
-
function
|
|
4419
|
+
function xo(e) {
|
|
4373
4420
|
try {
|
|
4374
4421
|
return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
|
|
4375
4422
|
} catch (t) {
|
|
@@ -4386,19 +4433,19 @@ function xe(e, t) {
|
|
|
4386
4433
|
let r = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(r);
|
|
4387
4434
|
return o && o !== "/" ? null : e.slice(r) || "/";
|
|
4388
4435
|
}
|
|
4389
|
-
function
|
|
4436
|
+
function ko(e, t = "/") {
|
|
4390
4437
|
let {
|
|
4391
4438
|
pathname: r,
|
|
4392
4439
|
search: o = "",
|
|
4393
4440
|
hash: i = ""
|
|
4394
4441
|
} = typeof e == "string" ? Le(e) : e;
|
|
4395
4442
|
return {
|
|
4396
|
-
pathname: r ? r.startsWith("/") ? r :
|
|
4397
|
-
search:
|
|
4398
|
-
hash:
|
|
4443
|
+
pathname: r ? r.startsWith("/") ? r : Oo(r, t) : t,
|
|
4444
|
+
search: Eo(o),
|
|
4445
|
+
hash: Ro(i)
|
|
4399
4446
|
};
|
|
4400
4447
|
}
|
|
4401
|
-
function
|
|
4448
|
+
function Oo(e, t) {
|
|
4402
4449
|
let r = t.replace(/\/+$/, "").split("/");
|
|
4403
4450
|
return e.split("/").forEach((i) => {
|
|
4404
4451
|
i === ".." ? r.length > 1 && r.pop() : i !== "." && r.push(i);
|
|
@@ -4409,13 +4456,13 @@ function jt(e, t, r, o) {
|
|
|
4409
4456
|
o
|
|
4410
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.`;
|
|
4411
4458
|
}
|
|
4412
|
-
function
|
|
4459
|
+
function Co(e) {
|
|
4413
4460
|
return e.filter(
|
|
4414
4461
|
(t, r) => r === 0 || t.route.path && t.route.path.length > 0
|
|
4415
4462
|
);
|
|
4416
4463
|
}
|
|
4417
4464
|
function Xr(e) {
|
|
4418
|
-
let t =
|
|
4465
|
+
let t = Co(e);
|
|
4419
4466
|
return t.map(
|
|
4420
4467
|
(r, o) => o === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4421
4468
|
);
|
|
@@ -4436,20 +4483,20 @@ function Gr(e, t, r, o = !1) {
|
|
|
4436
4483
|
if (l == null)
|
|
4437
4484
|
f = r;
|
|
4438
4485
|
else {
|
|
4439
|
-
let
|
|
4486
|
+
let E = t.length - 1;
|
|
4440
4487
|
if (!o && l.startsWith("..")) {
|
|
4441
|
-
let
|
|
4442
|
-
for (;
|
|
4443
|
-
|
|
4444
|
-
i.pathname =
|
|
4488
|
+
let R = l.split("/");
|
|
4489
|
+
for (; R[0] === ".."; )
|
|
4490
|
+
R.shift(), E -= 1;
|
|
4491
|
+
i.pathname = R.join("/");
|
|
4445
4492
|
}
|
|
4446
|
-
f =
|
|
4493
|
+
f = E >= 0 ? t[E] : "/";
|
|
4447
4494
|
}
|
|
4448
|
-
let d =
|
|
4495
|
+
let d = ko(i, f), h = l && l !== "/" && l.endsWith("/"), w = (a || l === ".") && r.endsWith("/");
|
|
4449
4496
|
return !d.pathname.endsWith("/") && (h || w) && (d.pathname += "/"), d;
|
|
4450
4497
|
}
|
|
4451
|
-
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"),
|
|
4452
|
-
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) {
|
|
4453
4500
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
4454
4501
|
}
|
|
4455
4502
|
var Kr = [
|
|
@@ -4461,11 +4508,11 @@ var Kr = [
|
|
|
4461
4508
|
new Set(
|
|
4462
4509
|
Kr
|
|
4463
4510
|
);
|
|
4464
|
-
var
|
|
4511
|
+
var To = [
|
|
4465
4512
|
"GET",
|
|
4466
4513
|
...Kr
|
|
4467
4514
|
];
|
|
4468
|
-
new Set(
|
|
4515
|
+
new Set(To);
|
|
4469
4516
|
var De = _.createContext(null);
|
|
4470
4517
|
De.displayName = "DataRouter";
|
|
4471
4518
|
var bt = _.createContext(null);
|
|
@@ -4474,12 +4521,12 @@ var Jr = _.createContext({
|
|
|
4474
4521
|
isTransitioning: !1
|
|
4475
4522
|
});
|
|
4476
4523
|
Jr.displayName = "ViewTransition";
|
|
4477
|
-
var
|
|
4524
|
+
var jo = _.createContext(
|
|
4478
4525
|
/* @__PURE__ */ new Map()
|
|
4479
4526
|
);
|
|
4480
|
-
|
|
4481
|
-
var
|
|
4482
|
-
|
|
4527
|
+
jo.displayName = "Fetchers";
|
|
4528
|
+
var Lo = _.createContext(null);
|
|
4529
|
+
Lo.displayName = "Await";
|
|
4483
4530
|
var we = _.createContext(
|
|
4484
4531
|
null
|
|
4485
4532
|
);
|
|
@@ -4496,7 +4543,7 @@ var ke = _.createContext({
|
|
|
4496
4543
|
ke.displayName = "Route";
|
|
4497
4544
|
var qt = _.createContext(null);
|
|
4498
4545
|
qt.displayName = "RouteError";
|
|
4499
|
-
function
|
|
4546
|
+
function Do(e, { relative: t } = {}) {
|
|
4500
4547
|
oe(
|
|
4501
4548
|
Ze(),
|
|
4502
4549
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4523,9 +4570,9 @@ function Qr(e) {
|
|
|
4523
4570
|
}
|
|
4524
4571
|
function en() {
|
|
4525
4572
|
let { isDataRoute: e } = _.useContext(ke);
|
|
4526
|
-
return e ?
|
|
4573
|
+
return e ? Yo() : Mo();
|
|
4527
4574
|
}
|
|
4528
|
-
function
|
|
4575
|
+
function Mo() {
|
|
4529
4576
|
oe(
|
|
4530
4577
|
Ze(),
|
|
4531
4578
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -4576,7 +4623,7 @@ function Qe(e, { relative: t } = {}) {
|
|
|
4576
4623
|
[e, i, o, t]
|
|
4577
4624
|
);
|
|
4578
4625
|
}
|
|
4579
|
-
function
|
|
4626
|
+
function Io(e, t) {
|
|
4580
4627
|
return tn(e, t);
|
|
4581
4628
|
}
|
|
4582
4629
|
function tn(e, t, r, o) {
|
|
@@ -4597,29 +4644,29 @@ function tn(e, t, r, o) {
|
|
|
4597
4644
|
Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" : `${O}/*`}">.`
|
|
4598
4645
|
);
|
|
4599
4646
|
}
|
|
4600
|
-
let
|
|
4647
|
+
let E = Ce(), R;
|
|
4601
4648
|
if (t) {
|
|
4602
4649
|
let O = typeof t == "string" ? Le(t) : t;
|
|
4603
4650
|
oe(
|
|
4604
4651
|
h === "/" || O.pathname?.startsWith(h),
|
|
4605
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.`
|
|
4606
|
-
),
|
|
4653
|
+
), R = O;
|
|
4607
4654
|
} else
|
|
4608
|
-
|
|
4609
|
-
let
|
|
4655
|
+
R = E;
|
|
4656
|
+
let A = R.pathname || "/", C = A;
|
|
4610
4657
|
if (h !== "/") {
|
|
4611
4658
|
let O = h.replace(/^\//, "").split("/");
|
|
4612
|
-
C = "/" +
|
|
4659
|
+
C = "/" + A.replace(/^\//, "").split("/").slice(O.length).join("/");
|
|
4613
4660
|
}
|
|
4614
4661
|
let v = Br(e, { pathname: C });
|
|
4615
4662
|
be(
|
|
4616
4663
|
w || v != null,
|
|
4617
|
-
`No routes matched location "${
|
|
4664
|
+
`No routes matched location "${R.pathname}${R.search}${R.hash}" `
|
|
4618
4665
|
), be(
|
|
4619
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,
|
|
4620
|
-
`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.`
|
|
4621
4668
|
);
|
|
4622
|
-
let I =
|
|
4669
|
+
let I = Fo(
|
|
4623
4670
|
v && v.map(
|
|
4624
4671
|
(O) => Object.assign({}, O, {
|
|
4625
4672
|
params: Object.assign({}, f, O.params),
|
|
@@ -4649,7 +4696,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4649
4696
|
hash: "",
|
|
4650
4697
|
state: null,
|
|
4651
4698
|
key: "default",
|
|
4652
|
-
...
|
|
4699
|
+
...R
|
|
4653
4700
|
},
|
|
4654
4701
|
navigationType: "POP"
|
|
4655
4702
|
/* Pop */
|
|
@@ -4658,14 +4705,14 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4658
4705
|
I
|
|
4659
4706
|
) : I;
|
|
4660
4707
|
}
|
|
4661
|
-
function
|
|
4662
|
-
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;
|
|
4663
4710
|
return console.error(
|
|
4664
4711
|
"Error handled by React Router default ErrorBoundary:",
|
|
4665
4712
|
e
|
|
4666
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);
|
|
4667
4714
|
}
|
|
4668
|
-
var
|
|
4715
|
+
var zo = /* @__PURE__ */ _.createElement(Ao, null), Ho = class extends _.Component {
|
|
4669
4716
|
constructor(e) {
|
|
4670
4717
|
super(e), this.state = {
|
|
4671
4718
|
location: e.location,
|
|
@@ -4708,7 +4755,7 @@ function No({ routeContext: e, match: t, children: r }) {
|
|
|
4708
4755
|
let o = _.useContext(De);
|
|
4709
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);
|
|
4710
4757
|
}
|
|
4711
|
-
function
|
|
4758
|
+
function Fo(e, t = [], r = null, o = null) {
|
|
4712
4759
|
if (e == null) {
|
|
4713
4760
|
if (!r)
|
|
4714
4761
|
return null;
|
|
@@ -4739,23 +4786,23 @@ function Ho(e, t = [], r = null, o = null) {
|
|
|
4739
4786
|
for (let d = 0; d < i.length; d++) {
|
|
4740
4787
|
let h = i[d];
|
|
4741
4788
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (f = d), h.route.id) {
|
|
4742
|
-
let { loaderData: w, errors:
|
|
4743
|
-
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) {
|
|
4744
4791
|
l = !0, f >= 0 ? i = i.slice(0, f + 1) : i = [i[0]];
|
|
4745
4792
|
break;
|
|
4746
4793
|
}
|
|
4747
4794
|
}
|
|
4748
4795
|
}
|
|
4749
4796
|
return i.reduceRight((d, h, w) => {
|
|
4750
|
-
let
|
|
4751
|
-
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(
|
|
4752
4799
|
"route-fallback",
|
|
4753
4800
|
!1,
|
|
4754
4801
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4755
|
-
),
|
|
4802
|
+
), R = !0, C = null) : f === w && (R = !0, C = h.route.hydrateFallbackElement || null)));
|
|
4756
4803
|
let v = t.concat(i.slice(0, w + 1)), I = () => {
|
|
4757
4804
|
let O;
|
|
4758
|
-
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(
|
|
4759
4806
|
No,
|
|
4760
4807
|
{
|
|
4761
4808
|
match: h,
|
|
@@ -4769,12 +4816,12 @@ function Ho(e, t = [], r = null, o = null) {
|
|
|
4769
4816
|
);
|
|
4770
4817
|
};
|
|
4771
4818
|
return r && (h.route.ErrorBoundary || h.route.errorElement || w === 0) ? /* @__PURE__ */ _.createElement(
|
|
4772
|
-
|
|
4819
|
+
Ho,
|
|
4773
4820
|
{
|
|
4774
4821
|
location: r.location,
|
|
4775
4822
|
revalidation: r.revalidation,
|
|
4776
|
-
component:
|
|
4777
|
-
error:
|
|
4823
|
+
component: A,
|
|
4824
|
+
error: E,
|
|
4778
4825
|
children: I(),
|
|
4779
4826
|
routeContext: { outlet: null, matches: v, isDataRoute: !0 }
|
|
4780
4827
|
}
|
|
@@ -4788,29 +4835,29 @@ function $o(e) {
|
|
|
4788
4835
|
let t = _.useContext(De);
|
|
4789
4836
|
return oe(t, Ut(e)), t;
|
|
4790
4837
|
}
|
|
4791
|
-
function
|
|
4838
|
+
function Wo(e) {
|
|
4792
4839
|
let t = _.useContext(bt);
|
|
4793
4840
|
return oe(t, Ut(e)), t;
|
|
4794
4841
|
}
|
|
4795
|
-
function
|
|
4842
|
+
function qo(e) {
|
|
4796
4843
|
let t = _.useContext(ke);
|
|
4797
4844
|
return oe(t, Ut(e)), t;
|
|
4798
4845
|
}
|
|
4799
4846
|
function Bt(e) {
|
|
4800
|
-
let t =
|
|
4847
|
+
let t = qo(e), r = t.matches[t.matches.length - 1];
|
|
4801
4848
|
return oe(
|
|
4802
4849
|
r.route.id,
|
|
4803
4850
|
`${e} can only be used on routes that contain a unique "id"`
|
|
4804
4851
|
), r.route.id;
|
|
4805
4852
|
}
|
|
4806
|
-
function
|
|
4853
|
+
function Uo() {
|
|
4807
4854
|
return Bt(
|
|
4808
4855
|
"useRouteId"
|
|
4809
4856
|
/* UseRouteId */
|
|
4810
4857
|
);
|
|
4811
4858
|
}
|
|
4812
|
-
function
|
|
4813
|
-
let e = _.useContext(qt), t =
|
|
4859
|
+
function Bo() {
|
|
4860
|
+
let e = _.useContext(qt), t = Wo(
|
|
4814
4861
|
"useRouteError"
|
|
4815
4862
|
/* UseRouteError */
|
|
4816
4863
|
), r = Bt(
|
|
@@ -4819,7 +4866,7 @@ function Uo() {
|
|
|
4819
4866
|
);
|
|
4820
4867
|
return e !== void 0 ? e : t.errors?.[r];
|
|
4821
4868
|
}
|
|
4822
|
-
function
|
|
4869
|
+
function Yo() {
|
|
4823
4870
|
let { router: e } = $o(
|
|
4824
4871
|
"useNavigate"
|
|
4825
4872
|
/* UseNavigateStable */
|
|
@@ -4840,8 +4887,8 @@ var Cr = {};
|
|
|
4840
4887
|
function rn(e, t, r) {
|
|
4841
4888
|
!t && !Cr[e] && (Cr[e] = !0, be(!1, r));
|
|
4842
4889
|
}
|
|
4843
|
-
_.memo(
|
|
4844
|
-
function
|
|
4890
|
+
_.memo(Vo);
|
|
4891
|
+
function Vo({
|
|
4845
4892
|
routes: e,
|
|
4846
4893
|
future: t,
|
|
4847
4894
|
state: r
|
|
@@ -4854,7 +4901,7 @@ function nn(e) {
|
|
|
4854
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>."
|
|
4855
4902
|
);
|
|
4856
4903
|
}
|
|
4857
|
-
function
|
|
4904
|
+
function Xo({
|
|
4858
4905
|
basename: e = "/",
|
|
4859
4906
|
children: t = null,
|
|
4860
4907
|
location: r,
|
|
@@ -4880,33 +4927,33 @@ function Vo({
|
|
|
4880
4927
|
pathname: d = "/",
|
|
4881
4928
|
search: h = "",
|
|
4882
4929
|
hash: w = "",
|
|
4883
|
-
state:
|
|
4884
|
-
key:
|
|
4885
|
-
} = r,
|
|
4930
|
+
state: E = null,
|
|
4931
|
+
key: R = "default"
|
|
4932
|
+
} = r, A = _.useMemo(() => {
|
|
4886
4933
|
let C = xe(d, l);
|
|
4887
4934
|
return C == null ? null : {
|
|
4888
4935
|
location: {
|
|
4889
4936
|
pathname: C,
|
|
4890
4937
|
search: h,
|
|
4891
4938
|
hash: w,
|
|
4892
|
-
state:
|
|
4893
|
-
key:
|
|
4939
|
+
state: E,
|
|
4940
|
+
key: R
|
|
4894
4941
|
},
|
|
4895
4942
|
navigationType: o
|
|
4896
4943
|
};
|
|
4897
|
-
}, [l, d, h, w,
|
|
4944
|
+
}, [l, d, h, w, E, R, o]);
|
|
4898
4945
|
return be(
|
|
4899
|
-
|
|
4946
|
+
A != null,
|
|
4900
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.`
|
|
4901
|
-
),
|
|
4948
|
+
), A == null ? null : /* @__PURE__ */ _.createElement(we.Provider, { value: f }, /* @__PURE__ */ _.createElement(Je.Provider, { children: t, value: A }));
|
|
4902
4949
|
}
|
|
4903
|
-
function
|
|
4950
|
+
function Go({
|
|
4904
4951
|
children: e,
|
|
4905
4952
|
location: t
|
|
4906
4953
|
}) {
|
|
4907
|
-
return
|
|
4954
|
+
return Io(Ht(e), t);
|
|
4908
4955
|
}
|
|
4909
|
-
function
|
|
4956
|
+
function Ht(e, t = []) {
|
|
4910
4957
|
let r = [];
|
|
4911
4958
|
return _.Children.forEach(e, (o, i) => {
|
|
4912
4959
|
if (!_.isValidElement(o))
|
|
@@ -4915,7 +4962,7 @@ function Nt(e, t = []) {
|
|
|
4915
4962
|
if (o.type === _.Fragment) {
|
|
4916
4963
|
r.push.apply(
|
|
4917
4964
|
r,
|
|
4918
|
-
|
|
4965
|
+
Ht(o.props.children, a)
|
|
4919
4966
|
);
|
|
4920
4967
|
return;
|
|
4921
4968
|
}
|
|
@@ -4944,7 +4991,7 @@ function Nt(e, t = []) {
|
|
|
4944
4991
|
handle: o.props.handle,
|
|
4945
4992
|
lazy: o.props.lazy
|
|
4946
4993
|
};
|
|
4947
|
-
o.props.children && (l.children =
|
|
4994
|
+
o.props.children && (l.children = Ht(
|
|
4948
4995
|
o.props.children,
|
|
4949
4996
|
a
|
|
4950
4997
|
)), r.push(l);
|
|
@@ -4954,25 +5001,25 @@ var lt = "get", ut = "application/x-www-form-urlencoded";
|
|
|
4954
5001
|
function wt(e) {
|
|
4955
5002
|
return e != null && typeof e.tagName == "string";
|
|
4956
5003
|
}
|
|
4957
|
-
function
|
|
5004
|
+
function Ko(e) {
|
|
4958
5005
|
return wt(e) && e.tagName.toLowerCase() === "button";
|
|
4959
5006
|
}
|
|
4960
|
-
function
|
|
5007
|
+
function Jo(e) {
|
|
4961
5008
|
return wt(e) && e.tagName.toLowerCase() === "form";
|
|
4962
5009
|
}
|
|
4963
|
-
function
|
|
5010
|
+
function Zo(e) {
|
|
4964
5011
|
return wt(e) && e.tagName.toLowerCase() === "input";
|
|
4965
5012
|
}
|
|
4966
|
-
function
|
|
5013
|
+
function Qo(e) {
|
|
4967
5014
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
4968
5015
|
}
|
|
4969
|
-
function
|
|
5016
|
+
function ea(e, t) {
|
|
4970
5017
|
return e.button === 0 && // Ignore everything but left clicks
|
|
4971
5018
|
(!t || t === "_self") && // Let browser handle "target=_blank" etc.
|
|
4972
|
-
!
|
|
5019
|
+
!Qo(e);
|
|
4973
5020
|
}
|
|
4974
5021
|
var it = null;
|
|
4975
|
-
function
|
|
5022
|
+
function ta() {
|
|
4976
5023
|
if (it === null)
|
|
4977
5024
|
try {
|
|
4978
5025
|
new FormData(
|
|
@@ -4985,35 +5032,35 @@ function ea() {
|
|
|
4985
5032
|
}
|
|
4986
5033
|
return it;
|
|
4987
5034
|
}
|
|
4988
|
-
var
|
|
5035
|
+
var ra = /* @__PURE__ */ new Set([
|
|
4989
5036
|
"application/x-www-form-urlencoded",
|
|
4990
5037
|
"multipart/form-data",
|
|
4991
5038
|
"text/plain"
|
|
4992
5039
|
]);
|
|
4993
5040
|
function Lt(e) {
|
|
4994
|
-
return e != null && !
|
|
5041
|
+
return e != null && !ra.has(e) ? (be(
|
|
4995
5042
|
!1,
|
|
4996
5043
|
`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ut}"`
|
|
4997
5044
|
), null) : e;
|
|
4998
5045
|
}
|
|
4999
|
-
function
|
|
5046
|
+
function na(e, t) {
|
|
5000
5047
|
let r, o, i, a, l;
|
|
5001
|
-
if (
|
|
5048
|
+
if (Jo(e)) {
|
|
5002
5049
|
let f = e.getAttribute("action");
|
|
5003
5050
|
o = f ? xe(f, t) : null, r = e.getAttribute("method") || lt, i = Lt(e.getAttribute("enctype")) || ut, a = new FormData(e);
|
|
5004
|
-
} else if (
|
|
5051
|
+
} else if (Ko(e) || Zo(e) && (e.type === "submit" || e.type === "image")) {
|
|
5005
5052
|
let f = e.form;
|
|
5006
5053
|
if (f == null)
|
|
5007
5054
|
throw new Error(
|
|
5008
5055
|
'Cannot submit a <button> or <input type="submit"> without a <form>'
|
|
5009
5056
|
);
|
|
5010
5057
|
let d = e.getAttribute("formaction") || f.getAttribute("action");
|
|
5011
|
-
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), !
|
|
5012
|
-
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;
|
|
5013
5060
|
if (w === "image") {
|
|
5014
|
-
let
|
|
5015
|
-
a.append(`${
|
|
5016
|
-
} 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);
|
|
5017
5064
|
}
|
|
5018
5065
|
} else {
|
|
5019
5066
|
if (wt(e))
|
|
@@ -5028,7 +5075,7 @@ function Yt(e, t) {
|
|
|
5028
5075
|
if (e === !1 || e === null || typeof e > "u")
|
|
5029
5076
|
throw new Error(t);
|
|
5030
5077
|
}
|
|
5031
|
-
async function
|
|
5078
|
+
async function ia(e, t) {
|
|
5032
5079
|
if (e.id in t)
|
|
5033
5080
|
return t[e.id];
|
|
5034
5081
|
try {
|
|
@@ -5045,22 +5092,22 @@ async function na(e, t) {
|
|
|
5045
5092
|
});
|
|
5046
5093
|
}
|
|
5047
5094
|
}
|
|
5048
|
-
function
|
|
5095
|
+
function oa(e) {
|
|
5049
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";
|
|
5050
5097
|
}
|
|
5051
|
-
async function
|
|
5098
|
+
async function aa(e, t, r) {
|
|
5052
5099
|
let o = await Promise.all(
|
|
5053
5100
|
e.map(async (i) => {
|
|
5054
5101
|
let a = t.routes[i.route.id];
|
|
5055
5102
|
if (a) {
|
|
5056
|
-
let l = await
|
|
5103
|
+
let l = await ia(a, r);
|
|
5057
5104
|
return l.links ? l.links() : [];
|
|
5058
5105
|
}
|
|
5059
5106
|
return [];
|
|
5060
5107
|
})
|
|
5061
5108
|
);
|
|
5062
|
-
return
|
|
5063
|
-
o.flat(1).filter(
|
|
5109
|
+
return ca(
|
|
5110
|
+
o.flat(1).filter(oa).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
|
|
5064
5111
|
(i) => i.rel === "stylesheet" ? { ...i, rel: "prefetch", as: "style" } : { ...i, rel: "prefetch" }
|
|
5065
5112
|
)
|
|
5066
5113
|
);
|
|
@@ -5081,7 +5128,7 @@ function Pr(e, t, r, o, i, a) {
|
|
|
5081
5128
|
if (l(d, h) || f(d, h))
|
|
5082
5129
|
return !0;
|
|
5083
5130
|
if (d.route.shouldRevalidate) {
|
|
5084
|
-
let
|
|
5131
|
+
let E = d.route.shouldRevalidate({
|
|
5085
5132
|
currentUrl: new URL(
|
|
5086
5133
|
i.pathname + i.search + i.hash,
|
|
5087
5134
|
window.origin
|
|
@@ -5091,14 +5138,14 @@ function Pr(e, t, r, o, i, a) {
|
|
|
5091
5138
|
nextParams: d.params,
|
|
5092
5139
|
defaultShouldRevalidate: !0
|
|
5093
5140
|
});
|
|
5094
|
-
if (typeof
|
|
5095
|
-
return
|
|
5141
|
+
if (typeof E == "boolean")
|
|
5142
|
+
return E;
|
|
5096
5143
|
}
|
|
5097
5144
|
return !0;
|
|
5098
5145
|
}) : [];
|
|
5099
5146
|
}
|
|
5100
|
-
function
|
|
5101
|
-
return
|
|
5147
|
+
function sa(e, t, { includeHydrateFallback: r } = {}) {
|
|
5148
|
+
return la(
|
|
5102
5149
|
e.map((o) => {
|
|
5103
5150
|
let i = t.routes[o.route.id];
|
|
5104
5151
|
if (!i) return [];
|
|
@@ -5107,25 +5154,25 @@ function aa(e, t, { includeHydrateFallback: r } = {}) {
|
|
|
5107
5154
|
}).flat(1)
|
|
5108
5155
|
);
|
|
5109
5156
|
}
|
|
5110
|
-
function
|
|
5157
|
+
function la(e) {
|
|
5111
5158
|
return [...new Set(e)];
|
|
5112
5159
|
}
|
|
5113
|
-
function
|
|
5160
|
+
function ua(e) {
|
|
5114
5161
|
let t = {}, r = Object.keys(e).sort();
|
|
5115
5162
|
for (let o of r)
|
|
5116
5163
|
t[o] = e[o];
|
|
5117
5164
|
return t;
|
|
5118
5165
|
}
|
|
5119
|
-
function
|
|
5166
|
+
function ca(e, t) {
|
|
5120
5167
|
let r = /* @__PURE__ */ new Set();
|
|
5121
5168
|
return new Set(t), e.reduce((o, i) => {
|
|
5122
|
-
let a = JSON.stringify(
|
|
5169
|
+
let a = JSON.stringify(ua(i));
|
|
5123
5170
|
return r.has(a) || (r.add(a), o.push({ key: a, link: i })), o;
|
|
5124
5171
|
}, []);
|
|
5125
5172
|
}
|
|
5126
5173
|
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
5127
|
-
var
|
|
5128
|
-
function
|
|
5174
|
+
var fa = /* @__PURE__ */ new Set([100, 101, 204, 205]);
|
|
5175
|
+
function da(e, t) {
|
|
5129
5176
|
let r = typeof e == "string" ? new URL(
|
|
5130
5177
|
e,
|
|
5131
5178
|
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
@@ -5141,7 +5188,7 @@ function on() {
|
|
|
5141
5188
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
5142
5189
|
), e;
|
|
5143
5190
|
}
|
|
5144
|
-
function
|
|
5191
|
+
function ha() {
|
|
5145
5192
|
let e = _.useContext(bt);
|
|
5146
5193
|
return Yt(
|
|
5147
5194
|
e,
|
|
@@ -5158,15 +5205,15 @@ function an() {
|
|
|
5158
5205
|
), e;
|
|
5159
5206
|
}
|
|
5160
5207
|
function pa(e, t) {
|
|
5161
|
-
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);
|
|
5162
5209
|
_.useEffect(() => {
|
|
5163
5210
|
if (e === "render" && l(!0), e === "viewport") {
|
|
5164
5211
|
let v = (O) => {
|
|
5165
|
-
O.forEach((
|
|
5166
|
-
l(
|
|
5212
|
+
O.forEach((N) => {
|
|
5213
|
+
l(N.isIntersecting);
|
|
5167
5214
|
});
|
|
5168
5215
|
}, I = new IntersectionObserver(v, { threshold: 0.5 });
|
|
5169
|
-
return
|
|
5216
|
+
return R.current && I.observe(R.current), () => {
|
|
5170
5217
|
I.disconnect();
|
|
5171
5218
|
};
|
|
5172
5219
|
}
|
|
@@ -5180,29 +5227,29 @@ function pa(e, t) {
|
|
|
5180
5227
|
};
|
|
5181
5228
|
}
|
|
5182
5229
|
}, [o]);
|
|
5183
|
-
let
|
|
5230
|
+
let A = () => {
|
|
5184
5231
|
i(!0);
|
|
5185
5232
|
}, C = () => {
|
|
5186
5233
|
i(!1), l(!1);
|
|
5187
5234
|
};
|
|
5188
|
-
return r ? e !== "intent" ? [a,
|
|
5235
|
+
return r ? e !== "intent" ? [a, R, {}] : [
|
|
5189
5236
|
a,
|
|
5190
|
-
|
|
5237
|
+
R,
|
|
5191
5238
|
{
|
|
5192
|
-
onFocus: qe(f,
|
|
5239
|
+
onFocus: qe(f, A),
|
|
5193
5240
|
onBlur: qe(d, C),
|
|
5194
|
-
onMouseEnter: qe(h,
|
|
5241
|
+
onMouseEnter: qe(h, A),
|
|
5195
5242
|
onMouseLeave: qe(w, C),
|
|
5196
|
-
onTouchStart: qe(
|
|
5243
|
+
onTouchStart: qe(E, A)
|
|
5197
5244
|
}
|
|
5198
|
-
] : [!1,
|
|
5245
|
+
] : [!1, R, {}];
|
|
5199
5246
|
}
|
|
5200
5247
|
function qe(e, t) {
|
|
5201
5248
|
return (r) => {
|
|
5202
5249
|
e && e(r), r.defaultPrevented || t(r);
|
|
5203
5250
|
};
|
|
5204
5251
|
}
|
|
5205
|
-
function
|
|
5252
|
+
function va({
|
|
5206
5253
|
page: e,
|
|
5207
5254
|
...t
|
|
5208
5255
|
}) {
|
|
@@ -5210,13 +5257,13 @@ function ha({
|
|
|
5210
5257
|
() => Br(r.routes, e, r.basename),
|
|
5211
5258
|
[r.routes, e, r.basename]
|
|
5212
5259
|
);
|
|
5213
|
-
return o ? /* @__PURE__ */ _.createElement(
|
|
5260
|
+
return o ? /* @__PURE__ */ _.createElement(ya, { page: e, matches: o, ...t }) : null;
|
|
5214
5261
|
}
|
|
5215
|
-
function
|
|
5262
|
+
function ma(e) {
|
|
5216
5263
|
let { manifest: t, routeModules: r } = an(), [o, i] = _.useState([]);
|
|
5217
5264
|
return _.useEffect(() => {
|
|
5218
5265
|
let a = !1;
|
|
5219
|
-
return
|
|
5266
|
+
return aa(e, t, r).then(
|
|
5220
5267
|
(l) => {
|
|
5221
5268
|
a || i(l);
|
|
5222
5269
|
}
|
|
@@ -5225,12 +5272,12 @@ function va(e) {
|
|
|
5225
5272
|
};
|
|
5226
5273
|
}, [e, t, r]), o;
|
|
5227
5274
|
}
|
|
5228
|
-
function
|
|
5275
|
+
function ya({
|
|
5229
5276
|
page: e,
|
|
5230
5277
|
matches: t,
|
|
5231
5278
|
...r
|
|
5232
5279
|
}) {
|
|
5233
|
-
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(
|
|
5234
5281
|
() => Pr(
|
|
5235
5282
|
e,
|
|
5236
5283
|
t,
|
|
@@ -5250,16 +5297,16 @@ function ma({
|
|
|
5250
5297
|
"assets"
|
|
5251
5298
|
),
|
|
5252
5299
|
[e, t, d, i, o]
|
|
5253
|
-
),
|
|
5300
|
+
), E = _.useMemo(() => {
|
|
5254
5301
|
if (e === o.pathname + o.search + o.hash)
|
|
5255
5302
|
return [];
|
|
5256
5303
|
let C = /* @__PURE__ */ new Set(), v = !1;
|
|
5257
5304
|
if (t.forEach((O) => {
|
|
5258
|
-
let
|
|
5259
|
-
!
|
|
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));
|
|
5260
5307
|
}), C.size === 0)
|
|
5261
5308
|
return [];
|
|
5262
|
-
let I =
|
|
5309
|
+
let I = da(e, l);
|
|
5263
5310
|
return v && C.size > 0 && I.searchParams.set(
|
|
5264
5311
|
"_routes",
|
|
5265
5312
|
t.filter((O) => C.has(O.route.id)).map((O) => O.route.id).join(",")
|
|
@@ -5273,17 +5320,17 @@ function ma({
|
|
|
5273
5320
|
t,
|
|
5274
5321
|
e,
|
|
5275
5322
|
a
|
|
5276
|
-
]),
|
|
5277
|
-
() =>
|
|
5323
|
+
]), R = _.useMemo(
|
|
5324
|
+
() => sa(w, i),
|
|
5278
5325
|
[w, i]
|
|
5279
|
-
),
|
|
5280
|
-
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 }) => (
|
|
5281
5328
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5282
5329
|
// already with their own props
|
|
5283
5330
|
/* @__PURE__ */ _.createElement("link", { key: C, ...v })
|
|
5284
5331
|
)));
|
|
5285
5332
|
}
|
|
5286
|
-
function
|
|
5333
|
+
function ga(...e) {
|
|
5287
5334
|
return (t) => {
|
|
5288
5335
|
e.forEach((r) => {
|
|
5289
5336
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
|
@@ -5295,13 +5342,13 @@ try {
|
|
|
5295
5342
|
sn && (window.__reactRouterVersion = "7.6.3");
|
|
5296
5343
|
} catch {
|
|
5297
5344
|
}
|
|
5298
|
-
function
|
|
5345
|
+
function ba({
|
|
5299
5346
|
basename: e,
|
|
5300
5347
|
children: t,
|
|
5301
5348
|
window: r
|
|
5302
5349
|
}) {
|
|
5303
5350
|
let o = _.useRef();
|
|
5304
|
-
o.current == null && (o.current =
|
|
5351
|
+
o.current == null && (o.current = oo({ window: r, v5Compat: !0 }));
|
|
5305
5352
|
let i = o.current, [a, l] = _.useState({
|
|
5306
5353
|
action: i.action,
|
|
5307
5354
|
location: i.location
|
|
@@ -5312,7 +5359,7 @@ function ga({
|
|
|
5312
5359
|
[l]
|
|
5313
5360
|
);
|
|
5314
5361
|
return _.useLayoutEffect(() => i.listen(f), [i, f]), /* @__PURE__ */ _.createElement(
|
|
5315
|
-
|
|
5362
|
+
Xo,
|
|
5316
5363
|
{
|
|
5317
5364
|
basename: e,
|
|
5318
5365
|
children: t,
|
|
@@ -5334,9 +5381,9 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5334
5381
|
target: d,
|
|
5335
5382
|
to: h,
|
|
5336
5383
|
preventScrollReset: w,
|
|
5337
|
-
viewTransition:
|
|
5338
|
-
...
|
|
5339
|
-
},
|
|
5384
|
+
viewTransition: E,
|
|
5385
|
+
...R
|
|
5386
|
+
}, A) {
|
|
5340
5387
|
let { basename: C } = _.useContext(we), v = typeof h == "string" && ln.test(h), I, O = !1;
|
|
5341
5388
|
if (typeof h == "string" && v && (I = h, sn))
|
|
5342
5389
|
try {
|
|
@@ -5348,16 +5395,16 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5348
5395
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5349
5396
|
);
|
|
5350
5397
|
}
|
|
5351
|
-
let
|
|
5398
|
+
let N = Do(h, { relative: i }), [q, B, p] = pa(
|
|
5352
5399
|
o,
|
|
5353
|
-
|
|
5354
|
-
), y =
|
|
5400
|
+
R
|
|
5401
|
+
), y = ka(h, {
|
|
5355
5402
|
replace: l,
|
|
5356
5403
|
state: f,
|
|
5357
5404
|
target: d,
|
|
5358
5405
|
preventScrollReset: w,
|
|
5359
5406
|
relative: i,
|
|
5360
|
-
viewTransition:
|
|
5407
|
+
viewTransition: E
|
|
5361
5408
|
});
|
|
5362
5409
|
function g(m) {
|
|
5363
5410
|
t && t(m), m.defaultPrevented || y(m);
|
|
@@ -5367,21 +5414,21 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5367
5414
|
/* @__PURE__ */ _.createElement(
|
|
5368
5415
|
"a",
|
|
5369
5416
|
{
|
|
5370
|
-
...
|
|
5417
|
+
...R,
|
|
5371
5418
|
...p,
|
|
5372
|
-
href: I ||
|
|
5419
|
+
href: I || N,
|
|
5373
5420
|
onClick: O || a ? t : g,
|
|
5374
|
-
ref:
|
|
5421
|
+
ref: ga(A, B),
|
|
5375
5422
|
target: d,
|
|
5376
5423
|
"data-discover": !v && r === "render" ? "true" : void 0
|
|
5377
5424
|
}
|
|
5378
5425
|
)
|
|
5379
5426
|
);
|
|
5380
|
-
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;
|
|
5381
5428
|
}
|
|
5382
5429
|
);
|
|
5383
5430
|
un.displayName = "Link";
|
|
5384
|
-
var
|
|
5431
|
+
var wa = _.forwardRef(
|
|
5385
5432
|
function({
|
|
5386
5433
|
"aria-current": t = "page",
|
|
5387
5434
|
caseSensitive: r = !1,
|
|
@@ -5393,12 +5440,12 @@ var ba = _.forwardRef(
|
|
|
5393
5440
|
children: d,
|
|
5394
5441
|
...h
|
|
5395
5442
|
}, w) {
|
|
5396
|
-
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
|
|
5397
5444
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5398
|
-
|
|
5399
|
-
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);
|
|
5400
5447
|
const B = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
|
|
5401
|
-
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 = {
|
|
5402
5449
|
isActive: p,
|
|
5403
5450
|
isPending: y,
|
|
5404
5451
|
isTransitioning: I
|
|
@@ -5425,8 +5472,8 @@ var ba = _.forwardRef(
|
|
|
5425
5472
|
);
|
|
5426
5473
|
}
|
|
5427
5474
|
);
|
|
5428
|
-
|
|
5429
|
-
var
|
|
5475
|
+
wa.displayName = "NavLink";
|
|
5476
|
+
var Sa = _.forwardRef(
|
|
5430
5477
|
({
|
|
5431
5478
|
discover: e = "render",
|
|
5432
5479
|
fetcherKey: t,
|
|
@@ -5439,10 +5486,10 @@ var wa = _.forwardRef(
|
|
|
5439
5486
|
onSubmit: d,
|
|
5440
5487
|
relative: h,
|
|
5441
5488
|
preventScrollReset: w,
|
|
5442
|
-
viewTransition:
|
|
5443
|
-
...
|
|
5444
|
-
},
|
|
5445
|
-
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) => {
|
|
5446
5493
|
if (d && d(q), q.defaultPrevented) return;
|
|
5447
5494
|
q.preventDefault();
|
|
5448
5495
|
let B = q.nativeEvent.submitter, p = B?.getAttribute("formmethod") || l;
|
|
@@ -5454,31 +5501,31 @@ var wa = _.forwardRef(
|
|
|
5454
5501
|
state: a,
|
|
5455
5502
|
relative: h,
|
|
5456
5503
|
preventScrollReset: w,
|
|
5457
|
-
viewTransition:
|
|
5504
|
+
viewTransition: E
|
|
5458
5505
|
});
|
|
5459
5506
|
};
|
|
5460
5507
|
return /* @__PURE__ */ _.createElement(
|
|
5461
5508
|
"form",
|
|
5462
5509
|
{
|
|
5463
|
-
ref:
|
|
5510
|
+
ref: A,
|
|
5464
5511
|
method: I,
|
|
5465
5512
|
action: v,
|
|
5466
|
-
onSubmit: o ? d :
|
|
5467
|
-
...
|
|
5513
|
+
onSubmit: o ? d : N,
|
|
5514
|
+
...R,
|
|
5468
5515
|
"data-discover": !O && e === "render" ? "true" : void 0
|
|
5469
5516
|
}
|
|
5470
5517
|
);
|
|
5471
5518
|
}
|
|
5472
5519
|
);
|
|
5473
|
-
|
|
5474
|
-
function
|
|
5520
|
+
Sa.displayName = "Form";
|
|
5521
|
+
function xa(e) {
|
|
5475
5522
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5476
5523
|
}
|
|
5477
5524
|
function cn(e) {
|
|
5478
5525
|
let t = _.useContext(De);
|
|
5479
|
-
return oe(t,
|
|
5526
|
+
return oe(t, xa(e)), t;
|
|
5480
5527
|
}
|
|
5481
|
-
function
|
|
5528
|
+
function ka(e, {
|
|
5482
5529
|
target: t,
|
|
5483
5530
|
replace: r,
|
|
5484
5531
|
state: o,
|
|
@@ -5489,11 +5536,11 @@ function xa(e, {
|
|
|
5489
5536
|
let f = en(), d = Ce(), h = Qe(e, { relative: a });
|
|
5490
5537
|
return _.useCallback(
|
|
5491
5538
|
(w) => {
|
|
5492
|
-
if (
|
|
5539
|
+
if (ea(w, t)) {
|
|
5493
5540
|
w.preventDefault();
|
|
5494
|
-
let
|
|
5541
|
+
let E = r !== void 0 ? r : Xe(d) === Xe(h);
|
|
5495
5542
|
f(e, {
|
|
5496
|
-
replace:
|
|
5543
|
+
replace: E,
|
|
5497
5544
|
state: o,
|
|
5498
5545
|
preventScrollReset: i,
|
|
5499
5546
|
relative: a,
|
|
@@ -5515,20 +5562,20 @@ function xa(e, {
|
|
|
5515
5562
|
]
|
|
5516
5563
|
);
|
|
5517
5564
|
}
|
|
5518
|
-
var
|
|
5519
|
-
function
|
|
5565
|
+
var Oa = 0, Ca = () => `__${String(++Oa)}__`;
|
|
5566
|
+
function Pa() {
|
|
5520
5567
|
let { router: e } = cn(
|
|
5521
5568
|
"useSubmit"
|
|
5522
5569
|
/* UseSubmit */
|
|
5523
|
-
), { basename: t } = _.useContext(we), r =
|
|
5570
|
+
), { basename: t } = _.useContext(we), r = Uo();
|
|
5524
5571
|
return _.useCallback(
|
|
5525
5572
|
async (o, i = {}) => {
|
|
5526
|
-
let { action: a, method: l, encType: f, formData: d, body: h } =
|
|
5573
|
+
let { action: a, method: l, encType: f, formData: d, body: h } = na(
|
|
5527
5574
|
o,
|
|
5528
5575
|
t
|
|
5529
5576
|
);
|
|
5530
5577
|
if (i.navigate === !1) {
|
|
5531
|
-
let w = i.fetcherKey ||
|
|
5578
|
+
let w = i.fetcherKey || Ca();
|
|
5532
5579
|
await e.fetch(w, r, i.action || a, {
|
|
5533
5580
|
preventScrollReset: i.preventScrollReset,
|
|
5534
5581
|
formData: d,
|
|
@@ -5554,7 +5601,7 @@ function Ca() {
|
|
|
5554
5601
|
[e, t, r]
|
|
5555
5602
|
);
|
|
5556
5603
|
}
|
|
5557
|
-
function
|
|
5604
|
+
function Ea(e, { relative: t } = {}) {
|
|
5558
5605
|
let { basename: r } = _.useContext(we), o = _.useContext(ke);
|
|
5559
5606
|
oe(o, "useFormAction must be used inside a RouteContext");
|
|
5560
5607
|
let [i] = o.matches.slice(-1), a = { ...Qe(e || ".", { relative: t }) }, l = Ce();
|
|
@@ -5562,14 +5609,14 @@ function Pa(e, { relative: t } = {}) {
|
|
|
5562
5609
|
a.search = l.search;
|
|
5563
5610
|
let f = new URLSearchParams(a.search), d = f.getAll("index");
|
|
5564
5611
|
if (d.some((w) => w === "")) {
|
|
5565
|
-
f.delete("index"), d.filter((
|
|
5612
|
+
f.delete("index"), d.filter((E) => E).forEach((E) => f.append("index", E));
|
|
5566
5613
|
let w = f.toString();
|
|
5567
5614
|
a.search = w ? `?${w}` : "";
|
|
5568
5615
|
}
|
|
5569
5616
|
}
|
|
5570
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);
|
|
5571
5618
|
}
|
|
5572
|
-
function
|
|
5619
|
+
function Ra(e, t = {}) {
|
|
5573
5620
|
let r = _.useContext(Jr);
|
|
5574
5621
|
oe(
|
|
5575
5622
|
r != null,
|
|
@@ -5582,10 +5629,10 @@ function Ea(e, t = {}) {
|
|
|
5582
5629
|
if (!r.isTransitioning)
|
|
5583
5630
|
return !1;
|
|
5584
5631
|
let a = xe(r.currentLocation.pathname, o) || r.currentLocation.pathname, l = xe(r.nextLocation.pathname, o) || r.nextLocation.pathname;
|
|
5585
|
-
return
|
|
5632
|
+
return ht(i.pathname, l) != null || ht(i.pathname, a) != null;
|
|
5586
5633
|
}
|
|
5587
5634
|
[
|
|
5588
|
-
...
|
|
5635
|
+
...fa
|
|
5589
5636
|
];
|
|
5590
5637
|
const fn = U.createContext({
|
|
5591
5638
|
history: [],
|
|
@@ -5594,7 +5641,7 @@ const fn = U.createContext({
|
|
|
5594
5641
|
popFromHistory: () => "",
|
|
5595
5642
|
replaceHistory: () => {
|
|
5596
5643
|
}
|
|
5597
|
-
}),
|
|
5644
|
+
}), $a = ({
|
|
5598
5645
|
routes: e,
|
|
5599
5646
|
children: t
|
|
5600
5647
|
}) => {
|
|
@@ -5603,11 +5650,11 @@ const fn = U.createContext({
|
|
|
5603
5650
|
}, []), l = (w) => {
|
|
5604
5651
|
a([...r.current, w]);
|
|
5605
5652
|
}, f = (w) => {
|
|
5606
|
-
let
|
|
5607
|
-
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(
|
|
5608
5655
|
0,
|
|
5609
5656
|
r.current.length - w
|
|
5610
|
-
),
|
|
5657
|
+
), E = R[R.length - 1]), a(R), E);
|
|
5611
5658
|
}, d = (w) => {
|
|
5612
5659
|
a(w);
|
|
5613
5660
|
}, h = e.map((w) => /* @__PURE__ */ G.jsx(nn, { path: w.path, element: w.render }));
|
|
@@ -5620,14 +5667,14 @@ const fn = U.createContext({
|
|
|
5620
5667
|
popFromHistory: f,
|
|
5621
5668
|
replaceHistory: d
|
|
5622
5669
|
},
|
|
5623
|
-
children: /* @__PURE__ */ G.jsxs(
|
|
5670
|
+
children: /* @__PURE__ */ G.jsxs(ba, { children: [
|
|
5624
5671
|
t,
|
|
5625
|
-
/* @__PURE__ */ G.jsx(
|
|
5672
|
+
/* @__PURE__ */ G.jsx(Go, { children: h })
|
|
5626
5673
|
] })
|
|
5627
5674
|
}
|
|
5628
5675
|
);
|
|
5629
|
-
},
|
|
5630
|
-
const e = en(), t = Ce(), r =
|
|
5676
|
+
}, Wa = () => {
|
|
5677
|
+
const e = en(), t = Ce(), r = Nt(fn), o = U.useCallback(
|
|
5631
5678
|
(l, f = !0) => {
|
|
5632
5679
|
l !== t.pathname && e(l, { replace: !0 }), f && r.addToHistory(l);
|
|
5633
5680
|
},
|
|
@@ -5660,7 +5707,7 @@ const fn = U.createContext({
|
|
|
5660
5707
|
hideItem: () => {
|
|
5661
5708
|
}
|
|
5662
5709
|
}
|
|
5663
|
-
),
|
|
5710
|
+
), qa = ({ children: e }) => {
|
|
5664
5711
|
const t = U.useRef([]), [r, o] = U.useState([]), i = U.useCallback((d) => {
|
|
5665
5712
|
t.current = d, o(d);
|
|
5666
5713
|
}, []), a = U.useCallback((d) => t.current.some((h) => h === d), []), l = U.useCallback(
|
|
@@ -5689,7 +5736,7 @@ const fn = U.createContext({
|
|
|
5689
5736
|
}
|
|
5690
5737
|
);
|
|
5691
5738
|
}, St = () => {
|
|
5692
|
-
const e =
|
|
5739
|
+
const e = Nt(dn), t = (i) => e.visibleItems.some((a) => a === i), r = (i) => {
|
|
5693
5740
|
e.showItem(i);
|
|
5694
5741
|
}, o = (i) => {
|
|
5695
5742
|
e.hideItem(i);
|
|
@@ -5700,16 +5747,16 @@ const fn = U.createContext({
|
|
|
5700
5747
|
showItem: r,
|
|
5701
5748
|
hideItem: o
|
|
5702
5749
|
};
|
|
5703
|
-
},
|
|
5750
|
+
}, _a = ({
|
|
5704
5751
|
id: e,
|
|
5705
5752
|
onCloseDrawer: t,
|
|
5706
5753
|
drawerCloseOffset: r = 15
|
|
5707
5754
|
}) => {
|
|
5708
5755
|
const { isItemVisible: o } = St(), [i, a] = U.useState({
|
|
5709
5756
|
isDragging: !1
|
|
5710
|
-
}), 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) => {
|
|
5711
5758
|
a(C);
|
|
5712
|
-
},
|
|
5759
|
+
}, R = (C) => {
|
|
5713
5760
|
a(C), w(0);
|
|
5714
5761
|
};
|
|
5715
5762
|
return Qi({
|
|
@@ -5717,10 +5764,10 @@ const fn = U.createContext({
|
|
|
5717
5764
|
onDrag: (C) => {
|
|
5718
5765
|
a(C);
|
|
5719
5766
|
const v = f.current?.clientHeight || 0;
|
|
5720
|
-
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)));
|
|
5721
5768
|
},
|
|
5722
|
-
onDragEnd:
|
|
5723
|
-
onDragStart:
|
|
5769
|
+
onDragEnd: R,
|
|
5770
|
+
onDragStart: E
|
|
5724
5771
|
}), {
|
|
5725
5772
|
isVisible: o(e),
|
|
5726
5773
|
drawerParentRef: l,
|
|
@@ -5728,14 +5775,14 @@ const fn = U.createContext({
|
|
|
5728
5775
|
drawerBottomDistance: h,
|
|
5729
5776
|
handleRef: d
|
|
5730
5777
|
};
|
|
5731
|
-
},
|
|
5778
|
+
}, Ua = (e) => {
|
|
5732
5779
|
const { children: t, backgroundStyles: r, contentStyles: o, handle: i } = e, {
|
|
5733
5780
|
isVisible: a,
|
|
5734
5781
|
drawerParentRef: l,
|
|
5735
5782
|
drawerRef: f,
|
|
5736
5783
|
handleRef: d,
|
|
5737
5784
|
drawerBottomDistance: h
|
|
5738
|
-
} =
|
|
5785
|
+
} = _a(e);
|
|
5739
5786
|
return /* @__PURE__ */ G.jsx(G.Fragment, { children: a && /* @__PURE__ */ G.jsx(
|
|
5740
5787
|
"div",
|
|
5741
5788
|
{
|
|
@@ -5804,18 +5851,18 @@ const fn = U.createContext({
|
|
|
5804
5851
|
)
|
|
5805
5852
|
}
|
|
5806
5853
|
) });
|
|
5807
|
-
},
|
|
5854
|
+
}, Ta = ({ onSubmit: e, fields: t }) => {
|
|
5808
5855
|
const r = U.useRef(null), o = U.useCallback(
|
|
5809
5856
|
(l) => {
|
|
5810
5857
|
var f = Object.keys(l.currentTarget.elements), d = Object.values(l.currentTarget.elements), h = [];
|
|
5811
5858
|
for (let w = 0; w < f.length; w++) {
|
|
5812
|
-
const
|
|
5813
|
-
if (t.findIndex((
|
|
5859
|
+
const E = f[w];
|
|
5860
|
+
if (t.findIndex((A) => A.name === E) === -1)
|
|
5814
5861
|
continue;
|
|
5815
|
-
const
|
|
5862
|
+
const R = d[w].value;
|
|
5816
5863
|
h.push({
|
|
5817
|
-
name:
|
|
5818
|
-
value:
|
|
5864
|
+
name: E,
|
|
5865
|
+
value: R
|
|
5819
5866
|
});
|
|
5820
5867
|
}
|
|
5821
5868
|
return h;
|
|
@@ -5836,8 +5883,8 @@ const fn = U.createContext({
|
|
|
5836
5883
|
},
|
|
5837
5884
|
handleFormSubmission: i
|
|
5838
5885
|
};
|
|
5839
|
-
},
|
|
5840
|
-
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]);
|
|
5841
5888
|
return /* @__PURE__ */ G.jsxs(
|
|
5842
5889
|
"form",
|
|
5843
5890
|
{
|
|
@@ -5870,7 +5917,7 @@ const fn = U.createContext({
|
|
|
5870
5917
|
]
|
|
5871
5918
|
}
|
|
5872
5919
|
);
|
|
5873
|
-
},
|
|
5920
|
+
}, Ya = ({ src: e, alt: t = "", onClick: r, styles: o }) => /* @__PURE__ */ G.jsx(
|
|
5874
5921
|
"img",
|
|
5875
5922
|
{
|
|
5876
5923
|
src: e,
|
|
@@ -5887,7 +5934,7 @@ const fn = U.createContext({
|
|
|
5887
5934
|
},
|
|
5888
5935
|
onClick: () => r?.()
|
|
5889
5936
|
}
|
|
5890
|
-
),
|
|
5937
|
+
), ja = Ve.div`
|
|
5891
5938
|
display: flex;
|
|
5892
5939
|
flex-direction: column;
|
|
5893
5940
|
font-family: inherit;
|
|
@@ -5905,7 +5952,7 @@ const fn = U.createContext({
|
|
|
5905
5952
|
input:-webkit-autofill {
|
|
5906
5953
|
background-color: #00000000;
|
|
5907
5954
|
}
|
|
5908
|
-
`,
|
|
5955
|
+
`, Va = ({
|
|
5909
5956
|
name: e,
|
|
5910
5957
|
label: t,
|
|
5911
5958
|
leftIcon: r,
|
|
@@ -5917,21 +5964,21 @@ const fn = U.createContext({
|
|
|
5917
5964
|
initialValue: d,
|
|
5918
5965
|
type: h = "text",
|
|
5919
5966
|
onChange: w,
|
|
5920
|
-
inputStyles:
|
|
5921
|
-
containerProps:
|
|
5922
|
-
step:
|
|
5967
|
+
inputStyles: E,
|
|
5968
|
+
containerProps: R,
|
|
5969
|
+
step: A
|
|
5923
5970
|
}) => {
|
|
5924
5971
|
const C = (v) => {
|
|
5925
5972
|
w?.(v.currentTarget.value);
|
|
5926
5973
|
};
|
|
5927
5974
|
return /* @__PURE__ */ G.jsxs(
|
|
5928
|
-
|
|
5975
|
+
ja,
|
|
5929
5976
|
{
|
|
5930
5977
|
style: {
|
|
5931
5978
|
width: "100%",
|
|
5932
5979
|
maxWidth: "357px",
|
|
5933
5980
|
gap: "8px",
|
|
5934
|
-
...
|
|
5981
|
+
...R
|
|
5935
5982
|
},
|
|
5936
5983
|
children: [
|
|
5937
5984
|
t,
|
|
@@ -5956,7 +6003,7 @@ const fn = U.createContext({
|
|
|
5956
6003
|
outline: "none",
|
|
5957
6004
|
alignItems: "center",
|
|
5958
6005
|
gap: "10px",
|
|
5959
|
-
...
|
|
6006
|
+
...E
|
|
5960
6007
|
},
|
|
5961
6008
|
children: [
|
|
5962
6009
|
r,
|
|
@@ -5966,7 +6013,7 @@ const fn = U.createContext({
|
|
|
5966
6013
|
name: e,
|
|
5967
6014
|
type: h,
|
|
5968
6015
|
autoComplete: l,
|
|
5969
|
-
step:
|
|
6016
|
+
step: A,
|
|
5970
6017
|
style: {
|
|
5971
6018
|
flex: 1,
|
|
5972
6019
|
border: "none",
|
|
@@ -5993,7 +6040,7 @@ const fn = U.createContext({
|
|
|
5993
6040
|
]
|
|
5994
6041
|
}
|
|
5995
6042
|
);
|
|
5996
|
-
},
|
|
6043
|
+
}, Xa = ({ id: e, styles: t, children: r }) => {
|
|
5997
6044
|
const { isItemVisible: o } = St();
|
|
5998
6045
|
return /* @__PURE__ */ G.jsx(G.Fragment, { children: o(e) && /* @__PURE__ */ G.jsx(
|
|
5999
6046
|
"div",
|
|
@@ -6014,7 +6061,7 @@ const fn = U.createContext({
|
|
|
6014
6061
|
children: r
|
|
6015
6062
|
}
|
|
6016
6063
|
) });
|
|
6017
|
-
},
|
|
6064
|
+
}, Ga = ({
|
|
6018
6065
|
id: e,
|
|
6019
6066
|
children: t,
|
|
6020
6067
|
backgroundStyles: r,
|
|
@@ -6072,7 +6119,7 @@ const fn = U.createContext({
|
|
|
6072
6119
|
)
|
|
6073
6120
|
}
|
|
6074
6121
|
) });
|
|
6075
|
-
},
|
|
6122
|
+
}, La = (e) => {
|
|
6076
6123
|
const t = U.useRef(null), r = U.useRef(null), [o, i] = U.useState(24), [a, l] = U.useState(24), f = U.useCallback(() => {
|
|
6077
6124
|
t.current && i(t.current.clientHeight);
|
|
6078
6125
|
}, [t, t.current]), d = U.useCallback(() => {
|
|
@@ -6096,14 +6143,14 @@ const fn = U.createContext({
|
|
|
6096
6143
|
ref: r
|
|
6097
6144
|
}
|
|
6098
6145
|
};
|
|
6099
|
-
},
|
|
6146
|
+
}, Ka = (e) => {
|
|
6100
6147
|
const {
|
|
6101
6148
|
containerStyles: t,
|
|
6102
6149
|
pageStyles: r,
|
|
6103
6150
|
children: o,
|
|
6104
6151
|
allowScroll: i = !0,
|
|
6105
6152
|
floatingContent: a
|
|
6106
|
-
} = e, { footer: l, header: f } =
|
|
6153
|
+
} = e, { footer: l, header: f } = La(e);
|
|
6107
6154
|
return /* @__PURE__ */ G.jsxs(
|
|
6108
6155
|
"div",
|
|
6109
6156
|
{
|
|
@@ -6202,7 +6249,7 @@ const fn = U.createContext({
|
|
|
6202
6249
|
]
|
|
6203
6250
|
}
|
|
6204
6251
|
);
|
|
6205
|
-
},
|
|
6252
|
+
}, Ja = ({
|
|
6206
6253
|
src: e,
|
|
6207
6254
|
width: t = "22",
|
|
6208
6255
|
height: r = "28",
|
|
@@ -6240,7 +6287,7 @@ const fn = U.createContext({
|
|
|
6240
6287
|
}
|
|
6241
6288
|
)
|
|
6242
6289
|
}
|
|
6243
|
-
),
|
|
6290
|
+
), Za = ({
|
|
6244
6291
|
id: e,
|
|
6245
6292
|
children: t,
|
|
6246
6293
|
styles: r,
|
|
@@ -6277,7 +6324,7 @@ const fn = U.createContext({
|
|
|
6277
6324
|
children: t
|
|
6278
6325
|
}
|
|
6279
6326
|
) });
|
|
6280
|
-
},
|
|
6327
|
+
}, Qa = ({
|
|
6281
6328
|
overflowEllipsis: e,
|
|
6282
6329
|
children: t,
|
|
6283
6330
|
styles: r
|
|
@@ -6299,7 +6346,7 @@ const fn = U.createContext({
|
|
|
6299
6346
|
children: t
|
|
6300
6347
|
}
|
|
6301
6348
|
);
|
|
6302
|
-
class
|
|
6349
|
+
class es {
|
|
6303
6350
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6304
6351
|
static disableScroll = () => {
|
|
6305
6352
|
document.body.style.overflow = "hidden";
|
|
@@ -6308,36 +6355,38 @@ class Za {
|
|
|
6308
6355
|
document.body.style.overflow = "unset";
|
|
6309
6356
|
};
|
|
6310
6357
|
}
|
|
6311
|
-
class
|
|
6358
|
+
class ts {
|
|
6312
6359
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6313
6360
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6314
6361
|
});
|
|
6315
6362
|
static isEqual = (t, r, o = !0) => o ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6316
6363
|
}
|
|
6317
6364
|
export {
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
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,
|
|
6336
6384
|
Qi as useDrag,
|
|
6337
6385
|
St as useFeedback,
|
|
6338
|
-
|
|
6339
|
-
|
|
6386
|
+
za as useFetch,
|
|
6387
|
+
Ha as useIsTouchingParentElement,
|
|
6388
|
+
Wa as useNavigation,
|
|
6340
6389
|
Zi as usePointer,
|
|
6341
|
-
|
|
6342
|
-
|
|
6390
|
+
Na as useResponsive,
|
|
6391
|
+
Fa as useTranslations
|
|
6343
6392
|
};
|