@eliseubatista99/react-scaffold-core 0.1.51 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -83,9 +83,9 @@ function En() {
|
|
|
83
83
|
return "Fragment";
|
|
84
84
|
case C:
|
|
85
85
|
return "Profiler";
|
|
86
|
-
case
|
|
86
|
+
case I:
|
|
87
87
|
return "StrictMode";
|
|
88
|
-
case
|
|
88
|
+
case v:
|
|
89
89
|
return "Suspense";
|
|
90
90
|
case b:
|
|
91
91
|
return "SuspenseList";
|
|
@@ -128,11 +128,11 @@ function En() {
|
|
|
128
128
|
}
|
|
129
129
|
if (f) {
|
|
130
130
|
f = console;
|
|
131
|
-
var S = f.error,
|
|
131
|
+
var S = f.error, $ = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
132
132
|
return S.call(
|
|
133
133
|
f,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
|
-
|
|
135
|
+
$
|
|
136
136
|
), t(n);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
@@ -155,7 +155,7 @@ function En() {
|
|
|
155
155
|
return Error("react-stack-top-frame");
|
|
156
156
|
}
|
|
157
157
|
function c(n) {
|
|
158
|
-
if (
|
|
158
|
+
if (A.call(n, "key")) {
|
|
159
159
|
var f = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
160
160
|
if (f && f.isReactWarning) return !1;
|
|
161
161
|
}
|
|
@@ -175,13 +175,13 @@ function En() {
|
|
|
175
175
|
}
|
|
176
176
|
function l() {
|
|
177
177
|
var n = e(this.type);
|
|
178
|
-
return
|
|
178
|
+
return _[n] || (_[n] = !0, console.error(
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function h(n, f, S,
|
|
182
|
+
function h(n, f, S, $, L, z, N, W) {
|
|
183
183
|
return S = z.ref, n = {
|
|
184
|
-
$$typeof:
|
|
184
|
+
$$typeof: M,
|
|
185
185
|
type: n,
|
|
186
186
|
key: f,
|
|
187
187
|
props: z,
|
|
@@ -211,36 +211,36 @@ function En() {
|
|
|
211
211
|
value: W
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function g(n, f, S, $, L, z, N, W) {
|
|
215
215
|
var B = f.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
|
-
if (
|
|
217
|
+
if ($)
|
|
218
218
|
if (R(B)) {
|
|
219
|
-
for (
|
|
220
|
-
x(B[
|
|
219
|
+
for ($ = 0; $ < B.length; $++)
|
|
220
|
+
x(B[$]);
|
|
221
221
|
Object.freeze && Object.freeze(B);
|
|
222
222
|
} else
|
|
223
223
|
console.error(
|
|
224
224
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
225
225
|
);
|
|
226
226
|
else x(B);
|
|
227
|
-
if (
|
|
227
|
+
if (A.call(f, "key")) {
|
|
228
228
|
B = e(n);
|
|
229
|
-
var G = Object.keys(f).filter(function(
|
|
230
|
-
return
|
|
229
|
+
var G = Object.keys(f).filter(function(J) {
|
|
230
|
+
return J !== "key";
|
|
231
231
|
});
|
|
232
|
-
|
|
232
|
+
$ = 0 < G.length ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}", m[B + $] || (G = 0 < G.length ? "{" + G.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
233
233
|
`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
236
236
|
React keys must be passed directly to JSX without using spread:
|
|
237
237
|
let props = %s;
|
|
238
238
|
<%s key={someKey} {...props} />`,
|
|
239
|
-
|
|
239
|
+
$,
|
|
240
240
|
B,
|
|
241
241
|
G,
|
|
242
242
|
B
|
|
243
|
-
), m[B +
|
|
243
|
+
), m[B + $] = !0);
|
|
244
244
|
}
|
|
245
245
|
if (B = null, S !== void 0 && (r(S), B = "" + S), c(f) && (r(f.key), B = "" + f.key), "key" in f) {
|
|
246
246
|
S = {};
|
|
@@ -262,40 +262,40 @@ React keys must be passed directly to JSX without using spread:
|
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
264
|
function x(n) {
|
|
265
|
-
typeof n == "object" && n !== null && n.$$typeof ===
|
|
265
|
+
typeof n == "object" && n !== null && n.$$typeof === M && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var j = q, M = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), d = Symbol.for("react.client.reference"), O = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, R = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
|
-
|
|
270
|
+
j = {
|
|
271
271
|
"react-stack-bottom-frame": function(n) {
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var k,
|
|
276
|
-
|
|
275
|
+
var k, _ = {}, o = j["react-stack-bottom-frame"].bind(
|
|
276
|
+
j,
|
|
277
277
|
s
|
|
278
278
|
)(), H = T(a(s)), m = {};
|
|
279
|
-
ze.Fragment = p, ze.jsx = function(n, f, S,
|
|
279
|
+
ze.Fragment = p, ze.jsx = function(n, f, S, $, L) {
|
|
280
280
|
var z = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
281
|
-
return
|
|
281
|
+
return g(
|
|
282
282
|
n,
|
|
283
283
|
f,
|
|
284
284
|
S,
|
|
285
285
|
!1,
|
|
286
|
-
|
|
286
|
+
$,
|
|
287
287
|
L,
|
|
288
288
|
z ? Error("react-stack-top-frame") : o,
|
|
289
289
|
z ? T(a(n)) : H
|
|
290
290
|
);
|
|
291
|
-
}, ze.jsxs = function(n, f, S,
|
|
291
|
+
}, ze.jsxs = function(n, f, S, $, L) {
|
|
292
292
|
var z = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
293
|
-
return
|
|
293
|
+
return g(
|
|
294
294
|
n,
|
|
295
295
|
f,
|
|
296
296
|
S,
|
|
297
297
|
!0,
|
|
298
|
-
|
|
298
|
+
$,
|
|
299
299
|
L,
|
|
300
300
|
z ? Error("react-stack-top-frame") : o,
|
|
301
301
|
z ? T(a(n)) : H
|
|
@@ -307,8 +307,8 @@ var ir;
|
|
|
307
307
|
function Rn() {
|
|
308
308
|
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Pn() : nt.exports = En()), nt.exports;
|
|
309
309
|
}
|
|
310
|
-
var
|
|
311
|
-
const Zo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */
|
|
310
|
+
var K = Rn();
|
|
311
|
+
const Zo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ K.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
@@ -372,82 +372,82 @@ var Tt, or;
|
|
|
372
372
|
function _n() {
|
|
373
373
|
if (or) return Tt;
|
|
374
374
|
or = 1;
|
|
375
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", a = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self,
|
|
376
|
-
return
|
|
375
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", a = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, l = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = l || h || Function("return this")(), x = Object.prototype, j = x.toString, M = Math.max, E = Math.min, p = function() {
|
|
376
|
+
return g.Date.now();
|
|
377
377
|
};
|
|
378
|
-
function
|
|
379
|
-
var P, y, d, O,
|
|
380
|
-
if (typeof
|
|
378
|
+
function I(v, b, w) {
|
|
379
|
+
var P, y, d, O, A, R, T = 0, k = !1, _ = !1, o = !0;
|
|
380
|
+
if (typeof v != "function")
|
|
381
381
|
throw new TypeError(e);
|
|
382
|
-
b = V(b) || 0, C(w) && (k = !!w.leading,
|
|
382
|
+
b = V(b) || 0, C(w) && (k = !!w.leading, _ = "maxWait" in w, d = _ ? M(V(w.maxWait) || 0, b) : d, o = "trailing" in w ? !!w.trailing : o);
|
|
383
383
|
function H(W) {
|
|
384
384
|
var B = P, G = y;
|
|
385
|
-
return P = y = void 0, T = W, O =
|
|
385
|
+
return P = y = void 0, T = W, O = v.apply(G, B), O;
|
|
386
386
|
}
|
|
387
387
|
function m(W) {
|
|
388
|
-
return T = W,
|
|
388
|
+
return T = W, A = setTimeout(S, b), k ? H(W) : O;
|
|
389
389
|
}
|
|
390
390
|
function n(W) {
|
|
391
391
|
var B = W - R, G = W - T, X = b - B;
|
|
392
|
-
return
|
|
392
|
+
return _ ? E(X, d - G) : X;
|
|
393
393
|
}
|
|
394
394
|
function f(W) {
|
|
395
395
|
var B = W - R, G = W - T;
|
|
396
|
-
return R === void 0 || B >= b || B < 0 ||
|
|
396
|
+
return R === void 0 || B >= b || B < 0 || _ && G >= d;
|
|
397
397
|
}
|
|
398
398
|
function S() {
|
|
399
399
|
var W = p();
|
|
400
400
|
if (f(W))
|
|
401
|
-
return
|
|
402
|
-
|
|
401
|
+
return $(W);
|
|
402
|
+
A = setTimeout(S, n(W));
|
|
403
403
|
}
|
|
404
|
-
function
|
|
405
|
-
return
|
|
404
|
+
function $(W) {
|
|
405
|
+
return A = void 0, o && P ? H(W) : (P = y = void 0, O);
|
|
406
406
|
}
|
|
407
407
|
function L() {
|
|
408
|
-
|
|
408
|
+
A !== void 0 && clearTimeout(A), T = 0, P = R = y = A = void 0;
|
|
409
409
|
}
|
|
410
410
|
function z() {
|
|
411
|
-
return
|
|
411
|
+
return A === void 0 ? O : $(p());
|
|
412
412
|
}
|
|
413
413
|
function N() {
|
|
414
414
|
var W = p(), B = f(W);
|
|
415
415
|
if (P = arguments, y = this, R = W, B) {
|
|
416
|
-
if (
|
|
416
|
+
if (A === void 0)
|
|
417
417
|
return m(R);
|
|
418
|
-
if (
|
|
419
|
-
return
|
|
418
|
+
if (_)
|
|
419
|
+
return A = setTimeout(S, b), H(R);
|
|
420
420
|
}
|
|
421
|
-
return
|
|
421
|
+
return A === void 0 && (A = setTimeout(S, b)), O;
|
|
422
422
|
}
|
|
423
423
|
return N.cancel = L, N.flush = z, N;
|
|
424
424
|
}
|
|
425
|
-
function C(
|
|
426
|
-
var b = typeof
|
|
427
|
-
return !!
|
|
425
|
+
function C(v) {
|
|
426
|
+
var b = typeof v;
|
|
427
|
+
return !!v && (b == "object" || b == "function");
|
|
428
428
|
}
|
|
429
|
-
function F(
|
|
430
|
-
return !!
|
|
429
|
+
function F(v) {
|
|
430
|
+
return !!v && typeof v == "object";
|
|
431
431
|
}
|
|
432
|
-
function U(
|
|
433
|
-
return typeof
|
|
432
|
+
function U(v) {
|
|
433
|
+
return typeof v == "symbol" || F(v) && j.call(v) == r;
|
|
434
434
|
}
|
|
435
|
-
function V(
|
|
436
|
-
if (typeof
|
|
437
|
-
return
|
|
438
|
-
if (U(
|
|
435
|
+
function V(v) {
|
|
436
|
+
if (typeof v == "number")
|
|
437
|
+
return v;
|
|
438
|
+
if (U(v))
|
|
439
439
|
return t;
|
|
440
|
-
if (C(
|
|
441
|
-
var b = typeof
|
|
442
|
-
|
|
440
|
+
if (C(v)) {
|
|
441
|
+
var b = typeof v.valueOf == "function" ? v.valueOf() : v;
|
|
442
|
+
v = C(b) ? b + "" : b;
|
|
443
443
|
}
|
|
444
|
-
if (typeof
|
|
445
|
-
return
|
|
446
|
-
|
|
447
|
-
var w = s.test(
|
|
448
|
-
return w || c.test(
|
|
444
|
+
if (typeof v != "string")
|
|
445
|
+
return v === 0 ? v : +v;
|
|
446
|
+
v = v.replace(a, "");
|
|
447
|
+
var w = s.test(v);
|
|
448
|
+
return w || c.test(v) ? u(v.slice(2), w ? 2 : 8) : i.test(v) ? t : +v;
|
|
449
449
|
}
|
|
450
|
-
return Tt =
|
|
450
|
+
return Tt = I, Tt;
|
|
451
451
|
}
|
|
452
452
|
var _t = { exports: {} };
|
|
453
453
|
/*!
|
|
@@ -586,8 +586,8 @@ function Ke() {
|
|
|
586
586
|
var f = Object.keys(m);
|
|
587
587
|
if (Object.getOwnPropertySymbols) {
|
|
588
588
|
var S = Object.getOwnPropertySymbols(m);
|
|
589
|
-
n && (S = S.filter(function(
|
|
590
|
-
return Object.getOwnPropertyDescriptor(m,
|
|
589
|
+
n && (S = S.filter(function($) {
|
|
590
|
+
return Object.getOwnPropertyDescriptor(m, $).enumerable;
|
|
591
591
|
})), f.push.apply(f, S);
|
|
592
592
|
}
|
|
593
593
|
return f;
|
|
@@ -623,74 +623,74 @@ function Ke() {
|
|
|
623
623
|
function h(m, n, f) {
|
|
624
624
|
return Math.max(n, Math.min(m, f));
|
|
625
625
|
}
|
|
626
|
-
var
|
|
626
|
+
var g = Y.safePreventDefault = function(n) {
|
|
627
627
|
var f = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
628
628
|
f.includes(n._reactName) || n.preventDefault();
|
|
629
629
|
}, x = Y.getOnDemandLazySlides = function(n) {
|
|
630
|
-
for (var f = [], S =
|
|
630
|
+
for (var f = [], S = j(n), $ = M(n), L = S; L < $; L++)
|
|
631
631
|
n.lazyLoadedList.indexOf(L) < 0 && f.push(L);
|
|
632
632
|
return f;
|
|
633
633
|
};
|
|
634
634
|
Y.getRequiredLazySlides = function(n) {
|
|
635
|
-
for (var f = [], S =
|
|
635
|
+
for (var f = [], S = j(n), $ = M(n), L = S; L < $; L++)
|
|
636
636
|
f.push(L);
|
|
637
637
|
return f;
|
|
638
638
|
};
|
|
639
|
-
var
|
|
639
|
+
var j = Y.lazyStartIndex = function(n) {
|
|
640
640
|
return n.currentSlide - E(n);
|
|
641
|
-
},
|
|
641
|
+
}, M = Y.lazyEndIndex = function(n) {
|
|
642
642
|
return n.currentSlide + p(n);
|
|
643
643
|
}, E = Y.lazySlidesOnLeft = function(n) {
|
|
644
644
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
645
645
|
}, p = Y.lazySlidesOnRight = function(n) {
|
|
646
646
|
return n.centerMode ? Math.floor((n.slidesToShow - 1) / 2) + 1 + (parseInt(n.centerPadding) > 0 ? 1 : 0) : n.slidesToShow;
|
|
647
|
-
},
|
|
647
|
+
}, I = Y.getWidth = function(n) {
|
|
648
648
|
return n && n.offsetWidth || 0;
|
|
649
649
|
}, C = Y.getHeight = function(n) {
|
|
650
650
|
return n && n.offsetHeight || 0;
|
|
651
651
|
}, F = Y.getSwipeDirection = function(n) {
|
|
652
|
-
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S,
|
|
653
|
-
return S = n.startX - n.curX,
|
|
652
|
+
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, $, L, z;
|
|
653
|
+
return S = n.startX - n.curX, $ = n.startY - n.curY, L = Math.atan2($, S), z = Math.round(L * 180 / Math.PI), z < 0 && (z = 360 - Math.abs(z)), z <= 45 && z >= 0 || z <= 360 && z >= 315 ? "left" : z >= 135 && z <= 225 ? "right" : f === !0 ? z >= 35 && z <= 135 ? "up" : "down" : "vertical";
|
|
654
654
|
}, U = Y.canGoNext = function(n) {
|
|
655
655
|
var f = !0;
|
|
656
656
|
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (f = !1), f;
|
|
657
657
|
};
|
|
658
658
|
Y.extractObject = function(n, f) {
|
|
659
659
|
var S = {};
|
|
660
|
-
return f.forEach(function(
|
|
661
|
-
return S[
|
|
660
|
+
return f.forEach(function($) {
|
|
661
|
+
return S[$] = n[$];
|
|
662
662
|
}), S;
|
|
663
663
|
}, Y.initializedState = function(n) {
|
|
664
|
-
var f = e.default.Children.count(n.children), S = n.listRef,
|
|
664
|
+
var f = e.default.Children.count(n.children), S = n.listRef, $ = Math.ceil(I(S)), L = n.trackRef && n.trackRef.node, z = Math.ceil(I(L)), N;
|
|
665
665
|
if (n.vertical)
|
|
666
|
-
N =
|
|
666
|
+
N = $;
|
|
667
667
|
else {
|
|
668
668
|
var W = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
669
|
-
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *=
|
|
669
|
+
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= $ / 100), N = Math.ceil(($ - W) / n.slidesToShow);
|
|
670
670
|
}
|
|
671
671
|
var B = S && C(S.querySelector('[data-index="0"]')), G = B * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
672
672
|
n.rtl && n.currentSlide === void 0 && (X = f - 1 - n.initialSlide);
|
|
673
|
-
var
|
|
673
|
+
var J = n.lazyLoadedList || [], te = x(s(s({}, n), {}, {
|
|
674
674
|
currentSlide: X,
|
|
675
|
-
lazyLoadedList:
|
|
675
|
+
lazyLoadedList: J
|
|
676
676
|
}));
|
|
677
|
-
|
|
677
|
+
J = J.concat(te);
|
|
678
678
|
var Z = {
|
|
679
679
|
slideCount: f,
|
|
680
680
|
slideWidth: N,
|
|
681
|
-
listWidth:
|
|
681
|
+
listWidth: $,
|
|
682
682
|
trackWidth: z,
|
|
683
683
|
currentSlide: X,
|
|
684
684
|
slideHeight: B,
|
|
685
685
|
listHeight: G,
|
|
686
|
-
lazyLoadedList:
|
|
686
|
+
lazyLoadedList: J
|
|
687
687
|
};
|
|
688
688
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
689
689
|
}, Y.slideHandler = function(n) {
|
|
690
|
-
var f = n.waitForAnimate, S = n.animating,
|
|
690
|
+
var f = n.waitForAnimate, S = n.animating, $ = n.fade, L = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad, B = n.currentSlide, G = n.centerMode, X = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
691
691
|
if (f && S) return {};
|
|
692
692
|
var ee = z, ie, le, Q, oe = {}, ue = {}, ce = L ? z : h(z, 0, N - 1);
|
|
693
|
-
if (
|
|
693
|
+
if ($) {
|
|
694
694
|
if (!L && (z < 0 || z >= N)) return {};
|
|
695
695
|
z < 0 ? ee = z + N : z >= N && (ee = z - N), W && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
696
696
|
animating: !0,
|
|
@@ -702,7 +702,7 @@ function Ke() {
|
|
|
702
702
|
targetSlide: ee
|
|
703
703
|
};
|
|
704
704
|
} else
|
|
705
|
-
ie = ee, ee < 0 ? (ie = ee + N, L ? N % X !== 0 && (ie = N - N % X) : ie = 0) : !U(n) && ee > B ? ee = ie = B : G && ee >= N ? (ee = L ? N : N - 1, ie = L ? 0 : N - 1) : ee >= N && (ie = ee - N, L ? N % X !== 0 && (ie = 0) : ie = N -
|
|
705
|
+
ie = ee, ee < 0 ? (ie = ee + N, L ? N % X !== 0 && (ie = N - N % X) : ie = 0) : !U(n) && ee > B ? ee = ie = B : G && ee >= N ? (ee = L ? N : N - 1, ie = L ? 0 : N - 1) : ee >= N && (ie = ee - N, L ? N % X !== 0 && (ie = 0) : ie = N - J), !L && ee + J >= N && (ie = N - J), le = d(s(s({}, n), {}, {
|
|
706
706
|
slideIndex: ee
|
|
707
707
|
})), Q = d(s(s({}, n), {}, {
|
|
708
708
|
slideIndex: ie
|
|
@@ -737,11 +737,11 @@ function Ke() {
|
|
|
737
737
|
nextState: ue
|
|
738
738
|
};
|
|
739
739
|
}, Y.changeSlide = function(n, f) {
|
|
740
|
-
var S,
|
|
740
|
+
var S, $, L, z, N, W = n.slidesToScroll, B = n.slidesToShow, G = n.slideCount, X = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
741
741
|
if (z = G % W !== 0, S = z ? 0 : (G - X) % W, f.message === "previous")
|
|
742
|
-
L = S === 0 ? W : B - S, N = X - L, te && !Z && (
|
|
742
|
+
L = S === 0 ? W : B - S, N = X - L, te && !Z && ($ = X - L, N = $ === -1 ? G - 1 : $), Z || (N = J - W);
|
|
743
743
|
else if (f.message === "next")
|
|
744
|
-
L = S === 0 ? W : S, N = X + L, te && !Z && (N = (X + W) % G + S), Z || (N =
|
|
744
|
+
L = S === 0 ? W : S, N = X + L, te && !Z && (N = (X + W) % G + S), Z || (N = J + W);
|
|
745
745
|
else if (f.message === "dots")
|
|
746
746
|
N = f.index * f.slidesToScroll;
|
|
747
747
|
else if (f.message === "children") {
|
|
@@ -756,7 +756,7 @@ function Ke() {
|
|
|
756
756
|
}, Y.keyHandler = function(n, f, S) {
|
|
757
757
|
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !f ? "" : n.keyCode === 37 ? S ? "next" : "previous" : n.keyCode === 39 ? S ? "previous" : "next" : "";
|
|
758
758
|
}, Y.swipeStart = function(n, f, S) {
|
|
759
|
-
return n.target.tagName === "IMG" &&
|
|
759
|
+
return n.target.tagName === "IMG" && g(n), !f || !S && n.type.indexOf("mouse") !== -1 ? "" : {
|
|
760
760
|
dragging: !0,
|
|
761
761
|
touchObject: {
|
|
762
762
|
startX: n.touches ? n.touches[0].pageX : n.clientX,
|
|
@@ -766,10 +766,10 @@ function Ke() {
|
|
|
766
766
|
}
|
|
767
767
|
};
|
|
768
768
|
}, Y.swipeMove = function(n, f) {
|
|
769
|
-
var S = f.scrolling,
|
|
769
|
+
var S = f.scrolling, $ = f.animating, L = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl, B = f.currentSlide, G = f.edgeFriction, X = f.edgeDragged, J = f.onEdge, te = f.swiped, Z = f.swiping, ee = f.slideCount, ie = f.slidesToScroll, le = f.infinite, Q = f.touchObject, oe = f.swipeEvent, ue = f.listHeight, ce = f.listWidth;
|
|
770
770
|
if (!S) {
|
|
771
|
-
if (
|
|
772
|
-
L && z && N &&
|
|
771
|
+
if ($) return g(n);
|
|
772
|
+
L && z && N && g(n);
|
|
773
773
|
var pe, Pe = {}, tt = d(f);
|
|
774
774
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
775
775
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
@@ -781,18 +781,18 @@ function Ke() {
|
|
|
781
781
|
var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
782
782
|
N && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
783
783
|
var xn = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
|
|
784
|
-
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= xn && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 &&
|
|
784
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= xn && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 && J && (J(Ce), Pe.edgeDragged = !0)), !te && oe && (oe(Ce), Pe.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Pe = s(s({}, Pe), {}, {
|
|
785
785
|
touchObject: Q,
|
|
786
786
|
swipeLeft: pe,
|
|
787
787
|
trackStyle: P(s(s({}, f), {}, {
|
|
788
788
|
left: pe
|
|
789
789
|
}))
|
|
790
|
-
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Pe.swiping = !0,
|
|
790
|
+
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Pe.swiping = !0, g(n)), Pe;
|
|
791
791
|
}
|
|
792
792
|
}, Y.swipeEnd = function(n, f) {
|
|
793
|
-
var S = f.dragging,
|
|
793
|
+
var S = f.dragging, $ = f.swipe, L = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping, B = f.listHeight, G = f.swipeToSlide, X = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
794
794
|
if (!S)
|
|
795
|
-
return
|
|
795
|
+
return $ && g(n), {};
|
|
796
796
|
var ie = W ? B / N : z / N, le = F(L, W), Q = {
|
|
797
797
|
dragging: !1,
|
|
798
798
|
edgeDragged: !1,
|
|
@@ -805,16 +805,16 @@ function Ke() {
|
|
|
805
805
|
if (X || !L.swipeLength)
|
|
806
806
|
return Q;
|
|
807
807
|
if (L.swipeLength > ie) {
|
|
808
|
-
|
|
808
|
+
g(n), J && J(le);
|
|
809
809
|
var oe, ue, ce = ee ? Z : te;
|
|
810
810
|
switch (le) {
|
|
811
811
|
case "left":
|
|
812
812
|
case "up":
|
|
813
|
-
ue = ce + b(f), oe = G ?
|
|
813
|
+
ue = ce + b(f), oe = G ? v(f, ue) : ue, Q.currentDirection = 0;
|
|
814
814
|
break;
|
|
815
815
|
case "right":
|
|
816
816
|
case "down":
|
|
817
|
-
ue = ce - b(f), oe = G ?
|
|
817
|
+
ue = ce - b(f), oe = G ? v(f, ue) : ue, Q.currentDirection = 1;
|
|
818
818
|
break;
|
|
819
819
|
default:
|
|
820
820
|
oe = ce;
|
|
@@ -829,31 +829,31 @@ function Ke() {
|
|
|
829
829
|
return Q;
|
|
830
830
|
};
|
|
831
831
|
var V = Y.getNavigableIndexes = function(n) {
|
|
832
|
-
for (var f = n.infinite ? n.slideCount * 2 : n.slideCount, S = n.infinite ? n.slidesToShow * -1 : 0,
|
|
833
|
-
L.push(S), S =
|
|
832
|
+
for (var f = n.infinite ? n.slideCount * 2 : n.slideCount, S = n.infinite ? n.slidesToShow * -1 : 0, $ = n.infinite ? n.slidesToShow * -1 : 0, L = []; S < f; )
|
|
833
|
+
L.push(S), S = $ + n.slidesToScroll, $ += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
834
834
|
return L;
|
|
835
|
-
},
|
|
836
|
-
var S = V(n),
|
|
835
|
+
}, v = Y.checkNavigable = function(n, f) {
|
|
836
|
+
var S = V(n), $ = 0;
|
|
837
837
|
if (f > S[S.length - 1])
|
|
838
838
|
f = S[S.length - 1];
|
|
839
839
|
else
|
|
840
840
|
for (var L in S) {
|
|
841
841
|
if (f < S[L]) {
|
|
842
|
-
f =
|
|
842
|
+
f = $;
|
|
843
843
|
break;
|
|
844
844
|
}
|
|
845
|
-
|
|
845
|
+
$ = S[L];
|
|
846
846
|
}
|
|
847
847
|
return f;
|
|
848
848
|
}, b = Y.getSlideCount = function(n) {
|
|
849
849
|
var f = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
850
850
|
if (n.swipeToSlide) {
|
|
851
|
-
var S,
|
|
851
|
+
var S, $ = n.listRef, L = $.querySelectorAll && $.querySelectorAll(".slick-slide") || [];
|
|
852
852
|
if (Array.from(L).every(function(W) {
|
|
853
853
|
if (n.vertical) {
|
|
854
854
|
if (W.offsetTop + C(W) / 2 > n.swipeLeft * -1)
|
|
855
855
|
return S = W, !1;
|
|
856
|
-
} else if (W.offsetLeft - f +
|
|
856
|
+
} else if (W.offsetLeft - f + I(W) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return S = W, !1;
|
|
858
858
|
return !0;
|
|
859
859
|
}), !S)
|
|
@@ -863,8 +863,8 @@ function Ke() {
|
|
|
863
863
|
} else
|
|
864
864
|
return n.slidesToScroll;
|
|
865
865
|
}, w = Y.checkSpecKeys = function(n, f) {
|
|
866
|
-
return f.reduce(function(S,
|
|
867
|
-
return S && n.hasOwnProperty(
|
|
866
|
+
return f.reduce(function(S, $) {
|
|
867
|
+
return S && n.hasOwnProperty($);
|
|
868
868
|
}, !0) ? null : console.error("Keys Missing:", n);
|
|
869
869
|
}, P = Y.getTrackCSS = function(n) {
|
|
870
870
|
w(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
@@ -872,8 +872,8 @@ function Ke() {
|
|
|
872
872
|
if (!n.vertical)
|
|
873
873
|
f = R(n) * n.slideWidth;
|
|
874
874
|
else {
|
|
875
|
-
var
|
|
876
|
-
S =
|
|
875
|
+
var $ = n.unslick ? n.slideCount : n.slideCount + 2 * n.slidesToShow;
|
|
876
|
+
S = $ * n.slideHeight;
|
|
877
877
|
}
|
|
878
878
|
var L = {
|
|
879
879
|
opacity: 1,
|
|
@@ -900,14 +900,14 @@ function Ke() {
|
|
|
900
900
|
if (n.unslick)
|
|
901
901
|
return 0;
|
|
902
902
|
w(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
903
|
-
var f = n.slideIndex, S = n.trackRef,
|
|
903
|
+
var f = n.slideIndex, S = n.trackRef, $ = n.infinite, L = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll, B = n.slideWidth, G = n.listWidth, X = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
|
|
904
904
|
if (te || n.slideCount === 1)
|
|
905
905
|
return 0;
|
|
906
906
|
var oe = 0;
|
|
907
|
-
if (
|
|
907
|
+
if ($ ? (oe = -O(n), z % W !== 0 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), L && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), L && (oe = parseInt(N / 2))), ee = oe * B, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * B * -1 + ee, X === !0) {
|
|
908
908
|
var ue, ce = S && S.node;
|
|
909
909
|
if (ue = f + O(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, L === !0) {
|
|
910
|
-
ue =
|
|
910
|
+
ue = $ ? f + O(n) : f, le = ce && ce.children[ue], ie = 0;
|
|
911
911
|
for (var pe = 0; pe < ue; pe++)
|
|
912
912
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
913
913
|
ie -= parseInt(n.centerPadding), ie += le && (G - le.offsetWidth) / 2;
|
|
@@ -916,26 +916,26 @@ function Ke() {
|
|
|
916
916
|
return ie;
|
|
917
917
|
}, O = Y.getPreClones = function(n) {
|
|
918
918
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
919
|
-
},
|
|
919
|
+
}, A = Y.getPostClones = function(n) {
|
|
920
920
|
return n.unslick || !n.infinite ? 0 : n.variableWidth ? n.slideCount : n.slidesToShow + (n.centerMode ? 1 : 0);
|
|
921
921
|
}, R = Y.getTotalSlides = function(n) {
|
|
922
|
-
return n.slideCount === 1 ? 1 : O(n) + n.slideCount +
|
|
922
|
+
return n.slideCount === 1 ? 1 : O(n) + n.slideCount + A(n);
|
|
923
923
|
}, T = Y.siblingDirection = function(n) {
|
|
924
|
-
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + k(n) ? "left" : "right" : n.targetSlide < n.currentSlide -
|
|
924
|
+
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + k(n) ? "left" : "right" : n.targetSlide < n.currentSlide - _(n) ? "right" : "left";
|
|
925
925
|
}, k = Y.slidesOnRight = function(n) {
|
|
926
|
-
var f = n.slidesToShow, S = n.centerMode,
|
|
926
|
+
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
927
927
|
if (S) {
|
|
928
928
|
var z = (f - 1) / 2 + 1;
|
|
929
|
-
return parseInt(L) > 0 && (z += 1),
|
|
929
|
+
return parseInt(L) > 0 && (z += 1), $ && f % 2 === 0 && (z += 1), z;
|
|
930
930
|
}
|
|
931
|
-
return
|
|
932
|
-
},
|
|
933
|
-
var f = n.slidesToShow, S = n.centerMode,
|
|
931
|
+
return $ ? 0 : f - 1;
|
|
932
|
+
}, _ = Y.slidesOnLeft = function(n) {
|
|
933
|
+
var f = n.slidesToShow, S = n.centerMode, $ = n.rtl, L = n.centerPadding;
|
|
934
934
|
if (S) {
|
|
935
935
|
var z = (f - 1) / 2 + 1;
|
|
936
|
-
return parseInt(L) > 0 && (z += 1),
|
|
936
|
+
return parseInt(L) > 0 && (z += 1), !$ && f % 2 === 0 && (z += 1), z;
|
|
937
937
|
}
|
|
938
|
-
return
|
|
938
|
+
return $ ? f - 1 : 0;
|
|
939
939
|
};
|
|
940
940
|
Y.canUseDOM = function() {
|
|
941
941
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
@@ -970,8 +970,8 @@ function jn() {
|
|
|
970
970
|
return s = Object.assign ? Object.assign.bind() : function(y) {
|
|
971
971
|
for (var d = 1; d < arguments.length; d++) {
|
|
972
972
|
var O = arguments[d];
|
|
973
|
-
for (var
|
|
974
|
-
({}).hasOwnProperty.call(O,
|
|
973
|
+
for (var A in O)
|
|
974
|
+
({}).hasOwnProperty.call(O, A) && (y[A] = O[A]);
|
|
975
975
|
}
|
|
976
976
|
return y;
|
|
977
977
|
}, s.apply(null, arguments);
|
|
@@ -981,8 +981,8 @@ function jn() {
|
|
|
981
981
|
}
|
|
982
982
|
function u(y, d) {
|
|
983
983
|
for (var O = 0; O < d.length; O++) {
|
|
984
|
-
var
|
|
985
|
-
|
|
984
|
+
var A = d[O];
|
|
985
|
+
A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(y, U(A.key), A);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
function l(y, d, O) {
|
|
@@ -990,30 +990,30 @@ function jn() {
|
|
|
990
990
|
}
|
|
991
991
|
function h(y, d) {
|
|
992
992
|
if (typeof d != "function" && d !== null) throw new TypeError("Super expression must either be null or a function");
|
|
993
|
-
y.prototype = Object.create(d && d.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), d &&
|
|
993
|
+
y.prototype = Object.create(d && d.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), d && g(y, d);
|
|
994
994
|
}
|
|
995
|
-
function
|
|
996
|
-
return
|
|
997
|
-
return O.__proto__ =
|
|
998
|
-
},
|
|
995
|
+
function g(y, d) {
|
|
996
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, A) {
|
|
997
|
+
return O.__proto__ = A, O;
|
|
998
|
+
}, g(y, d);
|
|
999
999
|
}
|
|
1000
1000
|
function x(y) {
|
|
1001
1001
|
var d = E();
|
|
1002
1002
|
return function() {
|
|
1003
|
-
var O,
|
|
1003
|
+
var O, A = p(y);
|
|
1004
1004
|
if (d) {
|
|
1005
1005
|
var R = p(this).constructor;
|
|
1006
|
-
O = Reflect.construct(
|
|
1007
|
-
} else O =
|
|
1008
|
-
return
|
|
1006
|
+
O = Reflect.construct(A, arguments, R);
|
|
1007
|
+
} else O = A.apply(this, arguments);
|
|
1008
|
+
return j(this, O);
|
|
1009
1009
|
};
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function j(y, d) {
|
|
1012
1012
|
if (d && (i(d) == "object" || typeof d == "function")) return d;
|
|
1013
1013
|
if (d !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1014
|
-
return
|
|
1014
|
+
return M(y);
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function M(y) {
|
|
1017
1017
|
if (y === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1018
1018
|
return y;
|
|
1019
1019
|
}
|
|
@@ -1032,23 +1032,23 @@ function jn() {
|
|
|
1032
1032
|
return d.__proto__ || Object.getPrototypeOf(d);
|
|
1033
1033
|
}, p(y);
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function I(y, d) {
|
|
1036
1036
|
var O = Object.keys(y);
|
|
1037
1037
|
if (Object.getOwnPropertySymbols) {
|
|
1038
|
-
var
|
|
1039
|
-
d && (
|
|
1038
|
+
var A = Object.getOwnPropertySymbols(y);
|
|
1039
|
+
d && (A = A.filter(function(R) {
|
|
1040
1040
|
return Object.getOwnPropertyDescriptor(y, R).enumerable;
|
|
1041
|
-
})), O.push.apply(O,
|
|
1041
|
+
})), O.push.apply(O, A);
|
|
1042
1042
|
}
|
|
1043
1043
|
return O;
|
|
1044
1044
|
}
|
|
1045
1045
|
function C(y) {
|
|
1046
1046
|
for (var d = 1; d < arguments.length; d++) {
|
|
1047
1047
|
var O = arguments[d] != null ? arguments[d] : {};
|
|
1048
|
-
d % 2 ?
|
|
1049
|
-
F(y,
|
|
1050
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(O)) :
|
|
1051
|
-
Object.defineProperty(y,
|
|
1048
|
+
d % 2 ? I(Object(O), !0).forEach(function(A) {
|
|
1049
|
+
F(y, A, O[A]);
|
|
1050
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(O)) : I(Object(O)).forEach(function(A) {
|
|
1051
|
+
Object.defineProperty(y, A, Object.getOwnPropertyDescriptor(O, A));
|
|
1052
1052
|
});
|
|
1053
1053
|
}
|
|
1054
1054
|
return y;
|
|
@@ -1064,22 +1064,22 @@ function jn() {
|
|
|
1064
1064
|
if (i(y) != "object" || !y) return y;
|
|
1065
1065
|
var O = y[Symbol.toPrimitive];
|
|
1066
1066
|
if (O !== void 0) {
|
|
1067
|
-
var
|
|
1068
|
-
if (i(
|
|
1067
|
+
var A = O.call(y, d);
|
|
1068
|
+
if (i(A) != "object") return A;
|
|
1069
1069
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1070
1070
|
}
|
|
1071
1071
|
return (d === "string" ? String : Number)(y);
|
|
1072
1072
|
}
|
|
1073
|
-
var
|
|
1074
|
-
var O,
|
|
1075
|
-
d.rtl ? k = d.slideCount - 1 - d.index : k = d.index, R = k < 0 || k >= d.slideCount, d.centerMode ? (T = Math.floor(d.slidesToShow / 2),
|
|
1076
|
-
var
|
|
1077
|
-
d.targetSlide < 0 ?
|
|
1078
|
-
var o = k ===
|
|
1073
|
+
var v = function(d) {
|
|
1074
|
+
var O, A, R, T, k;
|
|
1075
|
+
d.rtl ? k = d.slideCount - 1 - d.index : k = d.index, R = k < 0 || k >= d.slideCount, d.centerMode ? (T = Math.floor(d.slidesToShow / 2), A = (k - d.currentSlide) % d.slideCount === 0, k > d.currentSlide - T - 1 && k <= d.currentSlide + T && (O = !0)) : O = d.currentSlide <= k && k < d.currentSlide + d.slidesToShow;
|
|
1076
|
+
var _;
|
|
1077
|
+
d.targetSlide < 0 ? _ = d.targetSlide + d.slideCount : d.targetSlide >= d.slideCount ? _ = d.targetSlide - d.slideCount : _ = d.targetSlide;
|
|
1078
|
+
var o = k === _;
|
|
1079
1079
|
return {
|
|
1080
1080
|
"slick-slide": !0,
|
|
1081
1081
|
"slick-active": O,
|
|
1082
|
-
"slick-center":
|
|
1082
|
+
"slick-center": A,
|
|
1083
1083
|
"slick-cloned": R,
|
|
1084
1084
|
"slick-current": o
|
|
1085
1085
|
// dubious in case of RTL
|
|
@@ -1090,7 +1090,7 @@ function jn() {
|
|
|
1090
1090
|
}, w = function(d, O) {
|
|
1091
1091
|
return d.key || O;
|
|
1092
1092
|
}, P = function(d) {
|
|
1093
|
-
var O,
|
|
1093
|
+
var O, A = [], R = [], T = [], k = e.default.Children.count(d.children), _ = (0, r.lazyStartIndex)(d), o = (0, r.lazyEndIndex)(d);
|
|
1094
1094
|
return e.default.Children.forEach(d.children, function(H, m) {
|
|
1095
1095
|
var n, f = {
|
|
1096
1096
|
message: "children",
|
|
@@ -1101,13 +1101,13 @@ function jn() {
|
|
|
1101
1101
|
!d.lazyLoad || d.lazyLoad && d.lazyLoadedList.indexOf(m) >= 0 ? n = H : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1102
1102
|
var S = b(C(C({}, d), {}, {
|
|
1103
1103
|
index: m
|
|
1104
|
-
})),
|
|
1104
|
+
})), $ = n.props.className || "", L = v(C(C({}, d), {}, {
|
|
1105
1105
|
index: m
|
|
1106
1106
|
}));
|
|
1107
|
-
if (
|
|
1107
|
+
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1108
1108
|
key: "original" + w(n, m),
|
|
1109
1109
|
"data-index": m,
|
|
1110
|
-
className: (0, t.default)(L,
|
|
1110
|
+
className: (0, t.default)(L, $),
|
|
1111
1111
|
tabIndex: "-1",
|
|
1112
1112
|
"aria-hidden": !L["slick-active"],
|
|
1113
1113
|
style: C(C({
|
|
@@ -1118,25 +1118,25 @@ function jn() {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
})), d.infinite && k > 1 && d.fade === !1 && !d.unslick) {
|
|
1120
1120
|
var z = k - m;
|
|
1121
|
-
z <= (0, r.getPreClones)(d) && (O = -z, O >=
|
|
1121
|
+
z <= (0, r.getPreClones)(d) && (O = -z, O >= _ && (n = H), L = v(C(C({}, d), {}, {
|
|
1122
1122
|
index: O
|
|
1123
1123
|
})), R.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1124
1124
|
key: "precloned" + w(n, O),
|
|
1125
1125
|
"data-index": O,
|
|
1126
1126
|
tabIndex: "-1",
|
|
1127
|
-
className: (0, t.default)(L,
|
|
1127
|
+
className: (0, t.default)(L, $),
|
|
1128
1128
|
"aria-hidden": !L["slick-active"],
|
|
1129
1129
|
style: C(C({}, n.props.style || {}), S),
|
|
1130
1130
|
onClick: function(W) {
|
|
1131
1131
|
n.props && n.props.onClick && n.props.onClick(W), d.focusOnSelect && d.focusOnSelect(f);
|
|
1132
1132
|
}
|
|
1133
|
-
}))), m < (0, r.getPostClones)(d) && (O = k + m, O < o && (n = H), L =
|
|
1133
|
+
}))), m < (0, r.getPostClones)(d) && (O = k + m, O < o && (n = H), L = v(C(C({}, d), {}, {
|
|
1134
1134
|
index: O
|
|
1135
1135
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1136
1136
|
key: "postcloned" + w(n, O),
|
|
1137
1137
|
"data-index": O,
|
|
1138
1138
|
tabIndex: "-1",
|
|
1139
|
-
className: (0, t.default)(L,
|
|
1139
|
+
className: (0, t.default)(L, $),
|
|
1140
1140
|
"aria-hidden": !L["slick-active"],
|
|
1141
1141
|
style: C(C({}, n.props.style || {}), S),
|
|
1142
1142
|
onClick: function(W) {
|
|
@@ -1144,26 +1144,26 @@ function jn() {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
})));
|
|
1146
1146
|
}
|
|
1147
|
-
}), d.rtl ? R.concat(
|
|
1147
|
+
}), d.rtl ? R.concat(A, T).reverse() : R.concat(A, T);
|
|
1148
1148
|
};
|
|
1149
1149
|
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1150
1150
|
h(O, y);
|
|
1151
1151
|
var d = x(O);
|
|
1152
1152
|
function O() {
|
|
1153
|
-
var
|
|
1153
|
+
var A;
|
|
1154
1154
|
c(this, O);
|
|
1155
1155
|
for (var R = arguments.length, T = new Array(R), k = 0; k < R; k++)
|
|
1156
1156
|
T[k] = arguments[k];
|
|
1157
|
-
return
|
|
1158
|
-
|
|
1159
|
-
}),
|
|
1157
|
+
return A = d.call.apply(d, [this].concat(T)), F(M(A), "node", null), F(M(A), "handleRef", function(_) {
|
|
1158
|
+
A.node = _;
|
|
1159
|
+
}), A;
|
|
1160
1160
|
}
|
|
1161
1161
|
return l(O, [{
|
|
1162
1162
|
key: "render",
|
|
1163
1163
|
value: function() {
|
|
1164
|
-
var R = P(this.props), T = this.props, k = T.onMouseEnter,
|
|
1164
|
+
var R = P(this.props), T = this.props, k = T.onMouseEnter, _ = T.onMouseOver, o = T.onMouseLeave, H = {
|
|
1165
1165
|
onMouseEnter: k,
|
|
1166
|
-
onMouseOver:
|
|
1166
|
+
onMouseOver: _,
|
|
1167
1167
|
onMouseLeave: o
|
|
1168
1168
|
};
|
|
1169
1169
|
return /* @__PURE__ */ e.default.createElement("div", s({
|
|
@@ -1179,126 +1179,126 @@ var We = {}, fr;
|
|
|
1179
1179
|
function Ln() {
|
|
1180
1180
|
if (fr) return We;
|
|
1181
1181
|
fr = 1;
|
|
1182
|
-
function e(
|
|
1182
|
+
function e(v) {
|
|
1183
1183
|
"@babel/helpers - typeof";
|
|
1184
1184
|
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(b) {
|
|
1185
1185
|
return typeof b;
|
|
1186
1186
|
} : function(b) {
|
|
1187
1187
|
return b && typeof Symbol == "function" && b.constructor === Symbol && b !== Symbol.prototype ? "symbol" : typeof b;
|
|
1188
|
-
}, e(
|
|
1188
|
+
}, e(v);
|
|
1189
1189
|
}
|
|
1190
1190
|
Object.defineProperty(We, "__esModule", {
|
|
1191
1191
|
value: !0
|
|
1192
1192
|
}), We.Dots = void 0;
|
|
1193
1193
|
var t = i(q), r = i(yt()), a = Ke();
|
|
1194
|
-
function i(
|
|
1195
|
-
return
|
|
1194
|
+
function i(v) {
|
|
1195
|
+
return v && v.__esModule ? v : { default: v };
|
|
1196
1196
|
}
|
|
1197
|
-
function s(
|
|
1198
|
-
var w = Object.keys(
|
|
1197
|
+
function s(v, b) {
|
|
1198
|
+
var w = Object.keys(v);
|
|
1199
1199
|
if (Object.getOwnPropertySymbols) {
|
|
1200
|
-
var P = Object.getOwnPropertySymbols(
|
|
1200
|
+
var P = Object.getOwnPropertySymbols(v);
|
|
1201
1201
|
b && (P = P.filter(function(y) {
|
|
1202
|
-
return Object.getOwnPropertyDescriptor(
|
|
1202
|
+
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1203
1203
|
})), w.push.apply(w, P);
|
|
1204
1204
|
}
|
|
1205
1205
|
return w;
|
|
1206
1206
|
}
|
|
1207
|
-
function c(
|
|
1207
|
+
function c(v) {
|
|
1208
1208
|
for (var b = 1; b < arguments.length; b++) {
|
|
1209
1209
|
var w = arguments[b] != null ? arguments[b] : {};
|
|
1210
1210
|
b % 2 ? s(Object(w), !0).forEach(function(P) {
|
|
1211
|
-
u(
|
|
1212
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1213
|
-
Object.defineProperty(
|
|
1211
|
+
u(v, P, w[P]);
|
|
1212
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(w)) : s(Object(w)).forEach(function(P) {
|
|
1213
|
+
Object.defineProperty(v, P, Object.getOwnPropertyDescriptor(w, P));
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
|
-
return
|
|
1216
|
+
return v;
|
|
1217
1217
|
}
|
|
1218
|
-
function u(
|
|
1219
|
-
return (b = x(b)) in
|
|
1218
|
+
function u(v, b, w) {
|
|
1219
|
+
return (b = x(b)) in v ? Object.defineProperty(v, b, { value: w, enumerable: !0, configurable: !0, writable: !0 }) : v[b] = w, v;
|
|
1220
1220
|
}
|
|
1221
|
-
function l(
|
|
1222
|
-
if (!(
|
|
1221
|
+
function l(v, b) {
|
|
1222
|
+
if (!(v instanceof b)) throw new TypeError("Cannot call a class as a function");
|
|
1223
1223
|
}
|
|
1224
|
-
function h(
|
|
1224
|
+
function h(v, b) {
|
|
1225
1225
|
for (var w = 0; w < b.length; w++) {
|
|
1226
1226
|
var P = b[w];
|
|
1227
|
-
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(
|
|
1227
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(v, x(P.key), P);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
function v
|
|
1231
|
-
return b && h(
|
|
1230
|
+
function g(v, b, w) {
|
|
1231
|
+
return b && h(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1232
1232
|
}
|
|
1233
|
-
function x(
|
|
1234
|
-
var b =
|
|
1233
|
+
function x(v) {
|
|
1234
|
+
var b = j(v, "string");
|
|
1235
1235
|
return e(b) == "symbol" ? b : b + "";
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1238
|
-
if (e(
|
|
1239
|
-
var w =
|
|
1237
|
+
function j(v, b) {
|
|
1238
|
+
if (e(v) != "object" || !v) return v;
|
|
1239
|
+
var w = v[Symbol.toPrimitive];
|
|
1240
1240
|
if (w !== void 0) {
|
|
1241
|
-
var P = w.call(
|
|
1241
|
+
var P = w.call(v, b);
|
|
1242
1242
|
if (e(P) != "object") return P;
|
|
1243
1243
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1244
1244
|
}
|
|
1245
|
-
return String(
|
|
1245
|
+
return String(v);
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function M(v, b) {
|
|
1248
1248
|
if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1249
|
-
|
|
1249
|
+
v.prototype = Object.create(b && b.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), b && E(v, b);
|
|
1250
1250
|
}
|
|
1251
|
-
function E(
|
|
1251
|
+
function E(v, b) {
|
|
1252
1252
|
return E = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w, P) {
|
|
1253
1253
|
return w.__proto__ = P, w;
|
|
1254
|
-
}, E(
|
|
1254
|
+
}, E(v, b);
|
|
1255
1255
|
}
|
|
1256
|
-
function p(
|
|
1256
|
+
function p(v) {
|
|
1257
1257
|
var b = F();
|
|
1258
1258
|
return function() {
|
|
1259
|
-
var w, P = U(
|
|
1259
|
+
var w, P = U(v);
|
|
1260
1260
|
if (b) {
|
|
1261
1261
|
var y = U(this).constructor;
|
|
1262
1262
|
w = Reflect.construct(P, arguments, y);
|
|
1263
1263
|
} else w = P.apply(this, arguments);
|
|
1264
|
-
return
|
|
1264
|
+
return I(this, w);
|
|
1265
1265
|
};
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function I(v, b) {
|
|
1268
1268
|
if (b && (e(b) == "object" || typeof b == "function")) return b;
|
|
1269
1269
|
if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1270
|
-
return C(
|
|
1270
|
+
return C(v);
|
|
1271
1271
|
}
|
|
1272
|
-
function C(
|
|
1273
|
-
if (
|
|
1274
|
-
return
|
|
1272
|
+
function C(v) {
|
|
1273
|
+
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1274
|
+
return v;
|
|
1275
1275
|
}
|
|
1276
1276
|
function F() {
|
|
1277
1277
|
try {
|
|
1278
|
-
var
|
|
1278
|
+
var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1279
1279
|
}));
|
|
1280
1280
|
} catch {
|
|
1281
1281
|
}
|
|
1282
1282
|
return (F = function() {
|
|
1283
|
-
return !!
|
|
1283
|
+
return !!v;
|
|
1284
1284
|
})();
|
|
1285
1285
|
}
|
|
1286
|
-
function U(
|
|
1286
|
+
function U(v) {
|
|
1287
1287
|
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(b) {
|
|
1288
1288
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
1289
|
-
}, U(
|
|
1289
|
+
}, U(v);
|
|
1290
1290
|
}
|
|
1291
1291
|
var V = function(b) {
|
|
1292
1292
|
var w;
|
|
1293
1293
|
return b.infinite ? w = Math.ceil(b.slideCount / b.slidesToScroll) : w = Math.ceil((b.slideCount - b.slidesToShow) / b.slidesToScroll) + 1, w;
|
|
1294
1294
|
};
|
|
1295
|
-
return We.Dots = /* @__PURE__ */ function(
|
|
1296
|
-
|
|
1295
|
+
return We.Dots = /* @__PURE__ */ function(v) {
|
|
1296
|
+
M(w, v);
|
|
1297
1297
|
var b = p(w);
|
|
1298
1298
|
function w() {
|
|
1299
1299
|
return l(this, w), b.apply(this, arguments);
|
|
1300
1300
|
}
|
|
1301
|
-
return
|
|
1301
|
+
return g(w, [{
|
|
1302
1302
|
key: "clickHandler",
|
|
1303
1303
|
value: function(y, d) {
|
|
1304
1304
|
d.preventDefault(), this.props.clickHandler(y);
|
|
@@ -1306,18 +1306,18 @@ function Ln() {
|
|
|
1306
1306
|
}, {
|
|
1307
1307
|
key: "render",
|
|
1308
1308
|
value: function() {
|
|
1309
|
-
for (var y = this.props, d = y.onMouseEnter, O = y.onMouseOver,
|
|
1310
|
-
slideCount:
|
|
1309
|
+
for (var y = this.props, d = y.onMouseEnter, O = y.onMouseOver, A = y.onMouseLeave, R = y.infinite, T = y.slidesToScroll, k = y.slidesToShow, _ = y.slideCount, o = y.currentSlide, H = V({
|
|
1310
|
+
slideCount: _,
|
|
1311
1311
|
slidesToScroll: T,
|
|
1312
1312
|
slidesToShow: k,
|
|
1313
1313
|
infinite: R
|
|
1314
1314
|
}), m = {
|
|
1315
1315
|
onMouseEnter: d,
|
|
1316
1316
|
onMouseOver: O,
|
|
1317
|
-
onMouseLeave:
|
|
1317
|
+
onMouseLeave: A
|
|
1318
1318
|
}, n = [], f = 0; f < H; f++) {
|
|
1319
|
-
var S = (f + 1) * T - 1,
|
|
1320
|
-
"slick-active": R ? o >= z && o <=
|
|
1319
|
+
var S = (f + 1) * T - 1, $ = R ? S : (0, a.clamp)(S, 0, _ - 1), L = $ - (T - 1), z = R ? L : (0, a.clamp)(L, 0, _ - 1), N = (0, r.default)({
|
|
1320
|
+
"slick-active": R ? o >= z && o <= $ : o === z
|
|
1321
1321
|
}), W = {
|
|
1322
1322
|
message: "dots",
|
|
1323
1323
|
index: f,
|
|
@@ -1342,94 +1342,94 @@ var Ee = {}, dr;
|
|
|
1342
1342
|
function Dn() {
|
|
1343
1343
|
if (dr) return Ee;
|
|
1344
1344
|
dr = 1;
|
|
1345
|
-
function e(
|
|
1345
|
+
function e(v) {
|
|
1346
1346
|
"@babel/helpers - typeof";
|
|
1347
1347
|
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(b) {
|
|
1348
1348
|
return typeof b;
|
|
1349
1349
|
} : function(b) {
|
|
1350
1350
|
return b && typeof Symbol == "function" && b.constructor === Symbol && b !== Symbol.prototype ? "symbol" : typeof b;
|
|
1351
|
-
}, e(
|
|
1351
|
+
}, e(v);
|
|
1352
1352
|
}
|
|
1353
1353
|
Object.defineProperty(Ee, "__esModule", {
|
|
1354
1354
|
value: !0
|
|
1355
1355
|
}), Ee.PrevArrow = Ee.NextArrow = void 0;
|
|
1356
1356
|
var t = i(q), r = i(yt()), a = Ke();
|
|
1357
|
-
function i(
|
|
1358
|
-
return
|
|
1357
|
+
function i(v) {
|
|
1358
|
+
return v && v.__esModule ? v : { default: v };
|
|
1359
1359
|
}
|
|
1360
1360
|
function s() {
|
|
1361
|
-
return s = Object.assign ? Object.assign.bind() : function(
|
|
1361
|
+
return s = Object.assign ? Object.assign.bind() : function(v) {
|
|
1362
1362
|
for (var b = 1; b < arguments.length; b++) {
|
|
1363
1363
|
var w = arguments[b];
|
|
1364
1364
|
for (var P in w)
|
|
1365
|
-
({}).hasOwnProperty.call(w, P) && (
|
|
1365
|
+
({}).hasOwnProperty.call(w, P) && (v[P] = w[P]);
|
|
1366
1366
|
}
|
|
1367
|
-
return
|
|
1367
|
+
return v;
|
|
1368
1368
|
}, s.apply(null, arguments);
|
|
1369
1369
|
}
|
|
1370
|
-
function c(
|
|
1371
|
-
var w = Object.keys(
|
|
1370
|
+
function c(v, b) {
|
|
1371
|
+
var w = Object.keys(v);
|
|
1372
1372
|
if (Object.getOwnPropertySymbols) {
|
|
1373
|
-
var P = Object.getOwnPropertySymbols(
|
|
1373
|
+
var P = Object.getOwnPropertySymbols(v);
|
|
1374
1374
|
b && (P = P.filter(function(y) {
|
|
1375
|
-
return Object.getOwnPropertyDescriptor(
|
|
1375
|
+
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1376
1376
|
})), w.push.apply(w, P);
|
|
1377
1377
|
}
|
|
1378
1378
|
return w;
|
|
1379
1379
|
}
|
|
1380
|
-
function u(
|
|
1380
|
+
function u(v) {
|
|
1381
1381
|
for (var b = 1; b < arguments.length; b++) {
|
|
1382
1382
|
var w = arguments[b] != null ? arguments[b] : {};
|
|
1383
1383
|
b % 2 ? c(Object(w), !0).forEach(function(P) {
|
|
1384
|
-
l(
|
|
1385
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1386
|
-
Object.defineProperty(
|
|
1384
|
+
l(v, P, w[P]);
|
|
1385
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(w)) : c(Object(w)).forEach(function(P) {
|
|
1386
|
+
Object.defineProperty(v, P, Object.getOwnPropertyDescriptor(w, P));
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
|
-
return
|
|
1389
|
+
return v;
|
|
1390
1390
|
}
|
|
1391
|
-
function l(
|
|
1392
|
-
return (b =
|
|
1391
|
+
function l(v, b, w) {
|
|
1392
|
+
return (b = j(b)) in v ? Object.defineProperty(v, b, { value: w, enumerable: !0, configurable: !0, writable: !0 }) : v[b] = w, v;
|
|
1393
1393
|
}
|
|
1394
|
-
function h(
|
|
1395
|
-
if (!(
|
|
1394
|
+
function h(v, b) {
|
|
1395
|
+
if (!(v instanceof b)) throw new TypeError("Cannot call a class as a function");
|
|
1396
1396
|
}
|
|
1397
|
-
function v
|
|
1397
|
+
function g(v, b) {
|
|
1398
1398
|
for (var w = 0; w < b.length; w++) {
|
|
1399
1399
|
var P = b[w];
|
|
1400
|
-
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(
|
|
1400
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(v, j(P.key), P);
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
function x(
|
|
1404
|
-
return b && v
|
|
1403
|
+
function x(v, b, w) {
|
|
1404
|
+
return b && g(v.prototype, b), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1407
|
-
var b =
|
|
1406
|
+
function j(v) {
|
|
1407
|
+
var b = M(v, "string");
|
|
1408
1408
|
return e(b) == "symbol" ? b : b + "";
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1411
|
-
if (e(
|
|
1412
|
-
var w =
|
|
1410
|
+
function M(v, b) {
|
|
1411
|
+
if (e(v) != "object" || !v) return v;
|
|
1412
|
+
var w = v[Symbol.toPrimitive];
|
|
1413
1413
|
if (w !== void 0) {
|
|
1414
|
-
var P = w.call(
|
|
1414
|
+
var P = w.call(v, b);
|
|
1415
1415
|
if (e(P) != "object") return P;
|
|
1416
1416
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1417
1417
|
}
|
|
1418
|
-
return String(
|
|
1418
|
+
return String(v);
|
|
1419
1419
|
}
|
|
1420
|
-
function E(
|
|
1420
|
+
function E(v, b) {
|
|
1421
1421
|
if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1422
|
-
|
|
1422
|
+
v.prototype = Object.create(b && b.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), b && p(v, b);
|
|
1423
1423
|
}
|
|
1424
|
-
function p(
|
|
1424
|
+
function p(v, b) {
|
|
1425
1425
|
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w, P) {
|
|
1426
1426
|
return w.__proto__ = P, w;
|
|
1427
|
-
}, p(
|
|
1427
|
+
}, p(v, b);
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function I(v) {
|
|
1430
1430
|
var b = U();
|
|
1431
1431
|
return function() {
|
|
1432
|
-
var w, P = V(
|
|
1432
|
+
var w, P = V(v);
|
|
1433
1433
|
if (b) {
|
|
1434
1434
|
var y = V(this).constructor;
|
|
1435
1435
|
w = Reflect.construct(P, arguments, y);
|
|
@@ -1437,33 +1437,33 @@ function Dn() {
|
|
|
1437
1437
|
return C(this, w);
|
|
1438
1438
|
};
|
|
1439
1439
|
}
|
|
1440
|
-
function C(
|
|
1440
|
+
function C(v, b) {
|
|
1441
1441
|
if (b && (e(b) == "object" || typeof b == "function")) return b;
|
|
1442
1442
|
if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1443
|
-
return F(
|
|
1443
|
+
return F(v);
|
|
1444
1444
|
}
|
|
1445
|
-
function F(
|
|
1446
|
-
if (
|
|
1447
|
-
return
|
|
1445
|
+
function F(v) {
|
|
1446
|
+
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1447
|
+
return v;
|
|
1448
1448
|
}
|
|
1449
1449
|
function U() {
|
|
1450
1450
|
try {
|
|
1451
|
-
var
|
|
1451
|
+
var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1452
1452
|
}));
|
|
1453
1453
|
} catch {
|
|
1454
1454
|
}
|
|
1455
1455
|
return (U = function() {
|
|
1456
|
-
return !!
|
|
1456
|
+
return !!v;
|
|
1457
1457
|
})();
|
|
1458
1458
|
}
|
|
1459
|
-
function V(
|
|
1459
|
+
function V(v) {
|
|
1460
1460
|
return V = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(b) {
|
|
1461
1461
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
1462
|
-
}, V(
|
|
1462
|
+
}, V(v);
|
|
1463
1463
|
}
|
|
1464
|
-
return Ee.PrevArrow = /* @__PURE__ */ function(
|
|
1465
|
-
E(w,
|
|
1466
|
-
var b =
|
|
1464
|
+
return Ee.PrevArrow = /* @__PURE__ */ function(v) {
|
|
1465
|
+
E(w, v);
|
|
1466
|
+
var b = I(w);
|
|
1467
1467
|
function w() {
|
|
1468
1468
|
return h(this, w), b.apply(this, arguments);
|
|
1469
1469
|
}
|
|
@@ -1490,19 +1490,19 @@ function Dn() {
|
|
|
1490
1490
|
display: "block"
|
|
1491
1491
|
},
|
|
1492
1492
|
onClick: d
|
|
1493
|
-
},
|
|
1493
|
+
}, A = {
|
|
1494
1494
|
currentSlide: this.props.currentSlide,
|
|
1495
1495
|
slideCount: this.props.slideCount
|
|
1496
1496
|
}, R;
|
|
1497
|
-
return this.props.prevArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, O),
|
|
1497
|
+
return this.props.prevArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.prevArrow, u(u({}, O), A)) : R = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1498
1498
|
key: "0",
|
|
1499
1499
|
type: "button"
|
|
1500
1500
|
}, O), " ", "Previous"), R;
|
|
1501
1501
|
}
|
|
1502
1502
|
}]), w;
|
|
1503
|
-
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(
|
|
1504
|
-
E(w,
|
|
1505
|
-
var b =
|
|
1503
|
+
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(v) {
|
|
1504
|
+
E(w, v);
|
|
1505
|
+
var b = I(w);
|
|
1506
1506
|
function w() {
|
|
1507
1507
|
return h(this, w), b.apply(this, arguments);
|
|
1508
1508
|
}
|
|
@@ -1529,11 +1529,11 @@ function Dn() {
|
|
|
1529
1529
|
display: "block"
|
|
1530
1530
|
},
|
|
1531
1531
|
onClick: d
|
|
1532
|
-
},
|
|
1532
|
+
}, A = {
|
|
1533
1533
|
currentSlide: this.props.currentSlide,
|
|
1534
1534
|
slideCount: this.props.slideCount
|
|
1535
1535
|
}, R;
|
|
1536
|
-
return this.props.nextArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, O),
|
|
1536
|
+
return this.props.nextArrow ? R = /* @__PURE__ */ t.default.cloneElement(this.props.nextArrow, u(u({}, O), A)) : R = /* @__PURE__ */ t.default.createElement("button", s({
|
|
1537
1537
|
key: "1",
|
|
1538
1538
|
type: "button"
|
|
1539
1539
|
}, O), " ", "Next"), R;
|
|
@@ -1698,8 +1698,8 @@ function Un(e) {
|
|
|
1698
1698
|
return Fr;
|
|
1699
1699
|
var a = _e(e).getComputedStyle(e), i = Fn(a), s = i.left + i.right, c = i.top + i.bottom, u = mt(a.width), l = mt(a.height);
|
|
1700
1700
|
if (a.boxSizing === "border-box" && (Math.round(u + s) !== t && (u -= hr(a, "left", "right") + s), Math.round(l + c) !== r && (l -= hr(a, "top", "bottom") + c)), !qn(e)) {
|
|
1701
|
-
var h = Math.round(u + s) - t,
|
|
1702
|
-
Math.abs(h) !== 1 && (u -= h), Math.abs(
|
|
1701
|
+
var h = Math.round(u + s) - t, g = Math.round(l + c) - r;
|
|
1702
|
+
Math.abs(h) !== 1 && (u -= h), Math.abs(g) !== 1 && (l -= g);
|
|
1703
1703
|
}
|
|
1704
1704
|
return bt(i.left, i.top, u, l);
|
|
1705
1705
|
}
|
|
@@ -1842,72 +1842,72 @@ function ei() {
|
|
|
1842
1842
|
function h(R) {
|
|
1843
1843
|
return R && R.__esModule ? R : { default: R };
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function g(R) {
|
|
1846
1846
|
"@babel/helpers - typeof";
|
|
1847
|
-
return
|
|
1847
|
+
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(T) {
|
|
1848
1848
|
return typeof T;
|
|
1849
1849
|
} : function(T) {
|
|
1850
1850
|
return T && typeof Symbol == "function" && T.constructor === Symbol && T !== Symbol.prototype ? "symbol" : typeof T;
|
|
1851
|
-
},
|
|
1851
|
+
}, g(R);
|
|
1852
1852
|
}
|
|
1853
1853
|
function x() {
|
|
1854
1854
|
return x = Object.assign ? Object.assign.bind() : function(R) {
|
|
1855
1855
|
for (var T = 1; T < arguments.length; T++) {
|
|
1856
1856
|
var k = arguments[T];
|
|
1857
|
-
for (var
|
|
1858
|
-
({}).hasOwnProperty.call(k,
|
|
1857
|
+
for (var _ in k)
|
|
1858
|
+
({}).hasOwnProperty.call(k, _) && (R[_] = k[_]);
|
|
1859
1859
|
}
|
|
1860
1860
|
return R;
|
|
1861
1861
|
}, x.apply(null, arguments);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function j(R, T) {
|
|
1864
1864
|
if (R == null) return {};
|
|
1865
|
-
var k,
|
|
1865
|
+
var k, _, o = M(R, T);
|
|
1866
1866
|
if (Object.getOwnPropertySymbols) {
|
|
1867
1867
|
var H = Object.getOwnPropertySymbols(R);
|
|
1868
|
-
for (
|
|
1869
|
-
k = H[
|
|
1868
|
+
for (_ = 0; _ < H.length; _++)
|
|
1869
|
+
k = H[_], T.includes(k) || {}.propertyIsEnumerable.call(R, k) && (o[k] = R[k]);
|
|
1870
1870
|
}
|
|
1871
1871
|
return o;
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1873
|
+
function M(R, T) {
|
|
1874
1874
|
if (R == null) return {};
|
|
1875
1875
|
var k = {};
|
|
1876
|
-
for (var
|
|
1877
|
-
if ({}.hasOwnProperty.call(R,
|
|
1878
|
-
if (T.includes(
|
|
1879
|
-
k[
|
|
1876
|
+
for (var _ in R)
|
|
1877
|
+
if ({}.hasOwnProperty.call(R, _)) {
|
|
1878
|
+
if (T.includes(_)) continue;
|
|
1879
|
+
k[_] = R[_];
|
|
1880
1880
|
}
|
|
1881
1881
|
return k;
|
|
1882
1882
|
}
|
|
1883
1883
|
function E(R, T) {
|
|
1884
1884
|
var k = Object.keys(R);
|
|
1885
1885
|
if (Object.getOwnPropertySymbols) {
|
|
1886
|
-
var
|
|
1887
|
-
T && (
|
|
1886
|
+
var _ = Object.getOwnPropertySymbols(R);
|
|
1887
|
+
T && (_ = _.filter(function(o) {
|
|
1888
1888
|
return Object.getOwnPropertyDescriptor(R, o).enumerable;
|
|
1889
|
-
})), k.push.apply(k,
|
|
1889
|
+
})), k.push.apply(k, _);
|
|
1890
1890
|
}
|
|
1891
1891
|
return k;
|
|
1892
1892
|
}
|
|
1893
1893
|
function p(R) {
|
|
1894
1894
|
for (var T = 1; T < arguments.length; T++) {
|
|
1895
1895
|
var k = arguments[T] != null ? arguments[T] : {};
|
|
1896
|
-
T % 2 ? E(Object(k), !0).forEach(function(
|
|
1897
|
-
d(R,
|
|
1898
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(k)) : E(Object(k)).forEach(function(
|
|
1899
|
-
Object.defineProperty(R,
|
|
1896
|
+
T % 2 ? E(Object(k), !0).forEach(function(_) {
|
|
1897
|
+
d(R, _, k[_]);
|
|
1898
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(k)) : E(Object(k)).forEach(function(_) {
|
|
1899
|
+
Object.defineProperty(R, _, Object.getOwnPropertyDescriptor(k, _));
|
|
1900
1900
|
});
|
|
1901
1901
|
}
|
|
1902
1902
|
return R;
|
|
1903
1903
|
}
|
|
1904
|
-
function
|
|
1904
|
+
function I(R, T) {
|
|
1905
1905
|
if (!(R instanceof T)) throw new TypeError("Cannot call a class as a function");
|
|
1906
1906
|
}
|
|
1907
1907
|
function C(R, T) {
|
|
1908
1908
|
for (var k = 0; k < T.length; k++) {
|
|
1909
|
-
var
|
|
1910
|
-
|
|
1909
|
+
var _ = T[k];
|
|
1910
|
+
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(R, O(_.key), _);
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
1913
|
function F(R, T, k) {
|
|
@@ -1918,23 +1918,23 @@ function ei() {
|
|
|
1918
1918
|
R.prototype = Object.create(T && T.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), T && V(R, T);
|
|
1919
1919
|
}
|
|
1920
1920
|
function V(R, T) {
|
|
1921
|
-
return V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(k,
|
|
1922
|
-
return k.__proto__ =
|
|
1921
|
+
return V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(k, _) {
|
|
1922
|
+
return k.__proto__ = _, k;
|
|
1923
1923
|
}, V(R, T);
|
|
1924
1924
|
}
|
|
1925
|
-
function
|
|
1925
|
+
function v(R) {
|
|
1926
1926
|
var T = P();
|
|
1927
1927
|
return function() {
|
|
1928
|
-
var k,
|
|
1928
|
+
var k, _ = y(R);
|
|
1929
1929
|
if (T) {
|
|
1930
1930
|
var o = y(this).constructor;
|
|
1931
|
-
k = Reflect.construct(
|
|
1932
|
-
} else k =
|
|
1931
|
+
k = Reflect.construct(_, arguments, o);
|
|
1932
|
+
} else k = _.apply(this, arguments);
|
|
1933
1933
|
return b(this, k);
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
1936
1936
|
function b(R, T) {
|
|
1937
|
-
if (T && (
|
|
1937
|
+
if (T && (g(T) == "object" || typeof T == "function")) return T;
|
|
1938
1938
|
if (T !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1939
1939
|
return w(R);
|
|
1940
1940
|
}
|
|
@@ -1961,25 +1961,25 @@ function ei() {
|
|
|
1961
1961
|
return (T = O(T)) in R ? Object.defineProperty(R, T, { value: k, enumerable: !0, configurable: !0, writable: !0 }) : R[T] = k, R;
|
|
1962
1962
|
}
|
|
1963
1963
|
function O(R) {
|
|
1964
|
-
var T =
|
|
1965
|
-
return
|
|
1964
|
+
var T = A(R, "string");
|
|
1965
|
+
return g(T) == "symbol" ? T : T + "";
|
|
1966
1966
|
}
|
|
1967
|
-
function
|
|
1968
|
-
if (
|
|
1967
|
+
function A(R, T) {
|
|
1968
|
+
if (g(R) != "object" || !R) return R;
|
|
1969
1969
|
var k = R[Symbol.toPrimitive];
|
|
1970
1970
|
if (k !== void 0) {
|
|
1971
|
-
var
|
|
1972
|
-
if (
|
|
1971
|
+
var _ = k.call(R, T);
|
|
1972
|
+
if (g(_) != "object") return _;
|
|
1973
1973
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1974
1974
|
}
|
|
1975
1975
|
return (T === "string" ? String : Number)(R);
|
|
1976
1976
|
}
|
|
1977
1977
|
return Ne.InnerSlider = /* @__PURE__ */ function(R) {
|
|
1978
1978
|
U(k, R);
|
|
1979
|
-
var T =
|
|
1980
|
-
function k(
|
|
1979
|
+
var T = v(k);
|
|
1980
|
+
function k(_) {
|
|
1981
1981
|
var o;
|
|
1982
|
-
|
|
1982
|
+
I(this, k), o = T.call(this, _), d(w(o), "listRefHandler", function(m) {
|
|
1983
1983
|
return o.list = m;
|
|
1984
1984
|
}), d(w(o), "trackRefHandler", function(m) {
|
|
1985
1985
|
return o.track = m;
|
|
@@ -2017,9 +2017,9 @@ function ei() {
|
|
|
2017
2017
|
}), d(w(o), "componentDidUpdate", function(m) {
|
|
2018
2018
|
if (o.checkImagesLoad(), o.props.onReInit && o.props.onReInit(), o.props.lazyLoad) {
|
|
2019
2019
|
var n = (0, i.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
2020
|
-
n.length > 0 && (o.setState(function(
|
|
2020
|
+
n.length > 0 && (o.setState(function($) {
|
|
2021
2021
|
return {
|
|
2022
|
-
lazyLoadedList:
|
|
2022
|
+
lazyLoadedList: $.lazyLoadedList.concat(n)
|
|
2023
2023
|
};
|
|
2024
2024
|
}), o.props.onLazyLoad && o.props.onLazyLoad(n));
|
|
2025
2025
|
}
|
|
@@ -2057,9 +2057,9 @@ function ei() {
|
|
|
2057
2057
|
m = p(p(p({}, m), S), {}, {
|
|
2058
2058
|
slideIndex: S.currentSlide
|
|
2059
2059
|
});
|
|
2060
|
-
var
|
|
2060
|
+
var $ = (0, i.getTrackLeft)(m);
|
|
2061
2061
|
m = p(p({}, m), {}, {
|
|
2062
|
-
left:
|
|
2062
|
+
left: $
|
|
2063
2063
|
});
|
|
2064
2064
|
var L = (0, i.getTrackCSS)(m);
|
|
2065
2065
|
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (S.trackStyle = L), o.setState(S, f);
|
|
@@ -2067,7 +2067,7 @@ function ei() {
|
|
|
2067
2067
|
if (o.props.variableWidth) {
|
|
2068
2068
|
var m = 0, n = 0, f = [], S = (0, i.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2069
2069
|
slideCount: o.props.children.length
|
|
2070
|
-
})),
|
|
2070
|
+
})), $ = (0, i.getPostClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
2072
2072
|
}));
|
|
2073
2073
|
o.props.children.forEach(function(le) {
|
|
@@ -2075,7 +2075,7 @@ function ei() {
|
|
|
2075
2075
|
});
|
|
2076
2076
|
for (var L = 0; L < S; L++)
|
|
2077
2077
|
n += f[f.length - 1 - L], m += f[f.length - 1 - L];
|
|
2078
|
-
for (var z = 0; z <
|
|
2078
|
+
for (var z = 0; z < $; z++)
|
|
2079
2079
|
m += f[z];
|
|
2080
2080
|
for (var N = 0; N < o.state.currentSlide; N++)
|
|
2081
2081
|
n += f[N];
|
|
@@ -2093,7 +2093,7 @@ function ei() {
|
|
|
2093
2093
|
}
|
|
2094
2094
|
var G = e.default.Children.count(o.props.children), X = p(p(p({}, o.props), o.state), {}, {
|
|
2095
2095
|
slideCount: G
|
|
2096
|
-
}),
|
|
2096
|
+
}), J = (0, i.getPreClones)(X) + (0, i.getPostClones)(X) + G, te = 100 / o.props.slidesToShow * J, Z = 100 / J, ee = -Z * ((0, i.getPreClones)(X) + o.state.currentSlide) * te / 100;
|
|
2097
2097
|
o.props.centerMode && (ee += (100 - Z * te / 100) / 2);
|
|
2098
2098
|
var ie = {
|
|
2099
2099
|
width: te + "%",
|
|
@@ -2106,7 +2106,7 @@ function ei() {
|
|
|
2106
2106
|
}), d(w(o), "checkImagesLoad", function() {
|
|
2107
2107
|
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length, f = 0;
|
|
2108
2108
|
Array.prototype.forEach.call(m, function(S) {
|
|
2109
|
-
var
|
|
2109
|
+
var $ = function() {
|
|
2110
2110
|
return ++f && f >= n && o.onWindowResized();
|
|
2111
2111
|
};
|
|
2112
2112
|
if (!S.onclick)
|
|
@@ -2121,8 +2121,8 @@ function ei() {
|
|
|
2121
2121
|
}
|
|
2122
2122
|
S.onload || (o.props.lazyLoad ? S.onload = function() {
|
|
2123
2123
|
o.adaptHeight(), o.callbackTimers.push(setTimeout(o.onWindowResized, o.props.speed));
|
|
2124
|
-
} : (S.onload =
|
|
2125
|
-
|
|
2124
|
+
} : (S.onload = $, S.onerror = function() {
|
|
2125
|
+
$(), o.props.onLazyLoadError && o.props.onLazyLoadError();
|
|
2126
2126
|
}));
|
|
2127
2127
|
});
|
|
2128
2128
|
}), d(w(o), "progressiveLazyLoad", function() {
|
|
@@ -2136,26 +2136,26 @@ function ei() {
|
|
|
2136
2136
|
m.push(S);
|
|
2137
2137
|
break;
|
|
2138
2138
|
}
|
|
2139
|
-
m.length > 0 ? (o.setState(function(
|
|
2139
|
+
m.length > 0 ? (o.setState(function($) {
|
|
2140
2140
|
return {
|
|
2141
|
-
lazyLoadedList:
|
|
2141
|
+
lazyLoadedList: $.lazyLoadedList.concat(m)
|
|
2142
2142
|
};
|
|
2143
2143
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2144
2144
|
}), d(w(o), "slideHandler", function(m) {
|
|
2145
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor,
|
|
2145
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, S = f.asNavFor, $ = f.beforeChange, L = f.onLazyLoad, z = f.speed, N = f.afterChange, W = o.state.currentSlide, B = (0, i.slideHandler)(p(p(p({
|
|
2146
2146
|
index: m
|
|
2147
2147
|
}, o.props), o.state), {}, {
|
|
2148
2148
|
trackRef: o.track,
|
|
2149
2149
|
useCSS: o.props.useCSS && !n
|
|
2150
2150
|
})), G = B.state, X = B.nextState;
|
|
2151
2151
|
if (G) {
|
|
2152
|
-
|
|
2153
|
-
var
|
|
2152
|
+
$ && $(W, G.currentSlide);
|
|
2153
|
+
var J = G.lazyLoadedList.filter(function(te) {
|
|
2154
2154
|
return o.state.lazyLoadedList.indexOf(te) < 0;
|
|
2155
2155
|
});
|
|
2156
|
-
L &&
|
|
2156
|
+
L && J.length > 0 && L(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), N && N(W), delete o.animationEndCallback), o.setState(G, function() {
|
|
2157
2157
|
S && o.asNavForIndex !== m && (o.asNavForIndex = m, S.innerSlider.slideHandler(m)), X && (o.animationEndCallback = setTimeout(function() {
|
|
2158
|
-
var te = X.animating, Z =
|
|
2158
|
+
var te = X.animating, Z = j(X, ["animating"]);
|
|
2159
2159
|
o.setState(Z, function() {
|
|
2160
2160
|
o.callbackTimers.push(setTimeout(function() {
|
|
2161
2161
|
return o.setState({
|
|
@@ -2169,8 +2169,8 @@ function ei() {
|
|
|
2169
2169
|
}), d(w(o), "changeSlide", function(m) {
|
|
2170
2170
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), S = (0, i.changeSlide)(f, m);
|
|
2171
2171
|
if (!(S !== 0 && !S) && (n === !0 ? o.slideHandler(S, n) : o.slideHandler(S), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2172
|
-
var
|
|
2173
|
-
|
|
2172
|
+
var $ = o.list.querySelectorAll(".slick-current");
|
|
2173
|
+
$[0] && $[0].focus();
|
|
2174
2174
|
}
|
|
2175
2175
|
}), d(w(o), "clickHandler", function(m) {
|
|
2176
2176
|
o.clickable === !1 && (m.stopPropagation(), m.preventDefault()), o.clickable = !0;
|
|
@@ -2289,7 +2289,7 @@ function ei() {
|
|
|
2289
2289
|
onMouseOver: S ? o.onTrackOver : null,
|
|
2290
2290
|
focusOnSelect: o.props.focusOnSelect && o.clickable ? o.selectHandler : null
|
|
2291
2291
|
});
|
|
2292
|
-
var
|
|
2292
|
+
var $;
|
|
2293
2293
|
if (o.props.dots === !0 && o.state.slideCount >= o.props.slidesToShow) {
|
|
2294
2294
|
var L = (0, i.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), z = o.props.pauseOnDotsHover;
|
|
2295
2295
|
L = p(p({}, L), {}, {
|
|
@@ -2297,7 +2297,7 @@ function ei() {
|
|
|
2297
2297
|
onMouseEnter: z ? o.onDotsLeave : null,
|
|
2298
2298
|
onMouseOver: z ? o.onDotsOver : null,
|
|
2299
2299
|
onMouseLeave: z ? o.onDotsLeave : null
|
|
2300
|
-
}),
|
|
2300
|
+
}), $ = /* @__PURE__ */ e.default.createElement(c.Dots, L);
|
|
2301
2301
|
}
|
|
2302
2302
|
var N, W, B = (0, i.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2303
2303
|
B.clickHandler = o.changeSlide, o.props.arrows && (N = /* @__PURE__ */ e.default.createElement(u.PrevArrow, B), W = /* @__PURE__ */ e.default.createElement(u.NextArrow, B));
|
|
@@ -2311,9 +2311,9 @@ function ei() {
|
|
|
2311
2311
|
}) : o.props.centerMode === !0 && (X = {
|
|
2312
2312
|
padding: o.props.centerPadding + " 0px"
|
|
2313
2313
|
});
|
|
2314
|
-
var
|
|
2314
|
+
var J = p(p({}, G), X), te = o.props.touchMove, Z = {
|
|
2315
2315
|
className: "slick-list",
|
|
2316
|
-
style:
|
|
2316
|
+
style: J,
|
|
2317
2317
|
onClick: o.clickHandler,
|
|
2318
2318
|
onMouseDown: te ? o.swipeStart : null,
|
|
2319
2319
|
onMouseMove: o.state.dragging && te ? o.swipeMove : null,
|
|
@@ -2338,7 +2338,7 @@ function ei() {
|
|
|
2338
2338
|
ref: o.listRefHandler
|
|
2339
2339
|
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, x({
|
|
2340
2340
|
ref: o.trackRefHandler
|
|
2341
|
-
}, f), o.props.children)), o.props.unslick ? "" : W, o.props.unslick ? "" :
|
|
2341
|
+
}, f), o.props.children)), o.props.unslick ? "" : W, o.props.unslick ? "" : $);
|
|
2342
2342
|
}), o.list = null, o.track = null, o.state = p(p({}, t.default), {}, {
|
|
2343
2343
|
currentSlide: o.props.initialSlide,
|
|
2344
2344
|
targetSlide: o.props.initialSlide ? o.props.initialSlide : 0,
|
|
@@ -2356,7 +2356,7 @@ function ei() {
|
|
|
2356
2356
|
H = !0;
|
|
2357
2357
|
break;
|
|
2358
2358
|
}
|
|
2359
|
-
if (!(
|
|
2359
|
+
if (!(g(o[f]) === "object" || typeof o[f] == "function" || isNaN(o[f])) && o[f] !== this.props[f]) {
|
|
2360
2360
|
H = !0;
|
|
2361
2361
|
break;
|
|
2362
2362
|
}
|
|
@@ -2430,17 +2430,17 @@ function ni() {
|
|
|
2430
2430
|
var d = Object.keys(P);
|
|
2431
2431
|
if (Object.getOwnPropertySymbols) {
|
|
2432
2432
|
var O = Object.getOwnPropertySymbols(P);
|
|
2433
|
-
y && (O = O.filter(function(
|
|
2434
|
-
return Object.getOwnPropertyDescriptor(P,
|
|
2433
|
+
y && (O = O.filter(function(A) {
|
|
2434
|
+
return Object.getOwnPropertyDescriptor(P, A).enumerable;
|
|
2435
2435
|
})), d.push.apply(d, O);
|
|
2436
2436
|
}
|
|
2437
2437
|
return d;
|
|
2438
2438
|
}
|
|
2439
|
-
function
|
|
2439
|
+
function g(P) {
|
|
2440
2440
|
for (var y = 1; y < arguments.length; y++) {
|
|
2441
2441
|
var d = arguments[y] != null ? arguments[y] : {};
|
|
2442
2442
|
y % 2 ? h(Object(d), !0).forEach(function(O) {
|
|
2443
|
-
|
|
2443
|
+
v(P, O, d[O]);
|
|
2444
2444
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(P, Object.getOwnPropertyDescriptors(d)) : h(Object(d)).forEach(function(O) {
|
|
2445
2445
|
Object.defineProperty(P, O, Object.getOwnPropertyDescriptor(d, O));
|
|
2446
2446
|
});
|
|
@@ -2450,14 +2450,14 @@ function ni() {
|
|
|
2450
2450
|
function x(P, y) {
|
|
2451
2451
|
if (!(P instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2452
2452
|
}
|
|
2453
|
-
function
|
|
2453
|
+
function j(P, y) {
|
|
2454
2454
|
for (var d = 0; d < y.length; d++) {
|
|
2455
2455
|
var O = y[d];
|
|
2456
2456
|
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(P, b(O.key), O);
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
|
-
function
|
|
2460
|
-
return y &&
|
|
2459
|
+
function M(P, y, d) {
|
|
2460
|
+
return y && j(P.prototype, y), Object.defineProperty(P, "prototype", { writable: !1 }), P;
|
|
2461
2461
|
}
|
|
2462
2462
|
function E(P, y) {
|
|
2463
2463
|
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -2468,13 +2468,13 @@ function ni() {
|
|
|
2468
2468
|
return d.__proto__ = O, d;
|
|
2469
2469
|
}, p(P, y);
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function I(P) {
|
|
2472
2472
|
var y = U();
|
|
2473
2473
|
return function() {
|
|
2474
2474
|
var d, O = V(P);
|
|
2475
2475
|
if (y) {
|
|
2476
|
-
var
|
|
2477
|
-
d = Reflect.construct(O, arguments,
|
|
2476
|
+
var A = V(this).constructor;
|
|
2477
|
+
d = Reflect.construct(O, arguments, A);
|
|
2478
2478
|
} else d = O.apply(this, arguments);
|
|
2479
2479
|
return C(this, d);
|
|
2480
2480
|
};
|
|
@@ -2503,7 +2503,7 @@ function ni() {
|
|
|
2503
2503
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
2504
2504
|
}, V(P);
|
|
2505
2505
|
}
|
|
2506
|
-
function
|
|
2506
|
+
function v(P, y, d) {
|
|
2507
2507
|
return (y = b(y)) in P ? Object.defineProperty(P, y, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : P[y] = d, P;
|
|
2508
2508
|
}
|
|
2509
2509
|
function b(P) {
|
|
@@ -2522,36 +2522,36 @@ function ni() {
|
|
|
2522
2522
|
}
|
|
2523
2523
|
e.default = /* @__PURE__ */ function(P) {
|
|
2524
2524
|
E(d, P);
|
|
2525
|
-
var y =
|
|
2525
|
+
var y = I(d);
|
|
2526
2526
|
function d(O) {
|
|
2527
|
-
var
|
|
2528
|
-
return x(this, d),
|
|
2529
|
-
return
|
|
2530
|
-
}),
|
|
2531
|
-
return
|
|
2532
|
-
}),
|
|
2533
|
-
return
|
|
2534
|
-
}),
|
|
2527
|
+
var A;
|
|
2528
|
+
return x(this, d), A = y.call(this, O), v(F(A), "innerSliderRefHandler", function(R) {
|
|
2529
|
+
return A.innerSlider = R;
|
|
2530
|
+
}), v(F(A), "slickPrev", function() {
|
|
2531
|
+
return A.innerSlider.slickPrev();
|
|
2532
|
+
}), v(F(A), "slickNext", function() {
|
|
2533
|
+
return A.innerSlider.slickNext();
|
|
2534
|
+
}), v(F(A), "slickGoTo", function(R) {
|
|
2535
2535
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2536
|
-
return
|
|
2537
|
-
}),
|
|
2538
|
-
return
|
|
2539
|
-
}),
|
|
2540
|
-
return
|
|
2541
|
-
}),
|
|
2536
|
+
return A.innerSlider.slickGoTo(R, T);
|
|
2537
|
+
}), v(F(A), "slickPause", function() {
|
|
2538
|
+
return A.innerSlider.pause("paused");
|
|
2539
|
+
}), v(F(A), "slickPlay", function() {
|
|
2540
|
+
return A.innerSlider.autoPlay("play");
|
|
2541
|
+
}), A.state = {
|
|
2542
2542
|
breakpoint: null
|
|
2543
|
-
},
|
|
2543
|
+
}, A._responsiveMediaHandlers = [], A;
|
|
2544
2544
|
}
|
|
2545
|
-
return
|
|
2545
|
+
return M(d, [{
|
|
2546
2546
|
key: "media",
|
|
2547
|
-
value: function(
|
|
2548
|
-
var T = window.matchMedia(
|
|
2547
|
+
value: function(A, R) {
|
|
2548
|
+
var T = window.matchMedia(A), k = function(o) {
|
|
2549
2549
|
var H = o.matches;
|
|
2550
2550
|
H && R();
|
|
2551
2551
|
};
|
|
2552
2552
|
T.addListener(k), this._responsiveMediaHandlers.push({
|
|
2553
2553
|
mql: T,
|
|
2554
|
-
query:
|
|
2554
|
+
query: A,
|
|
2555
2555
|
listener: k
|
|
2556
2556
|
});
|
|
2557
2557
|
}
|
|
@@ -2559,23 +2559,23 @@ function ni() {
|
|
|
2559
2559
|
}, {
|
|
2560
2560
|
key: "componentDidMount",
|
|
2561
2561
|
value: function() {
|
|
2562
|
-
var
|
|
2562
|
+
var A = this;
|
|
2563
2563
|
if (this.props.responsive) {
|
|
2564
2564
|
var R = this.props.responsive.map(function(k) {
|
|
2565
2565
|
return k.breakpoint;
|
|
2566
2566
|
});
|
|
2567
|
-
R.sort(function(k,
|
|
2568
|
-
return k -
|
|
2569
|
-
}), R.forEach(function(k,
|
|
2567
|
+
R.sort(function(k, _) {
|
|
2568
|
+
return k - _;
|
|
2569
|
+
}), R.forEach(function(k, _) {
|
|
2570
2570
|
var o;
|
|
2571
|
-
|
|
2571
|
+
_ === 0 ? o = (0, a.default)({
|
|
2572
2572
|
minWidth: 0,
|
|
2573
2573
|
maxWidth: k
|
|
2574
2574
|
}) : o = (0, a.default)({
|
|
2575
|
-
minWidth: R[
|
|
2575
|
+
minWidth: R[_ - 1] + 1,
|
|
2576
2576
|
maxWidth: k
|
|
2577
|
-
}), (0, s.canUseDOM)() &&
|
|
2578
|
-
|
|
2577
|
+
}), (0, s.canUseDOM)() && A.media(o, function() {
|
|
2578
|
+
A.setState({
|
|
2579
2579
|
breakpoint: k
|
|
2580
2580
|
});
|
|
2581
2581
|
});
|
|
@@ -2584,7 +2584,7 @@ function ni() {
|
|
|
2584
2584
|
minWidth: R.slice(-1)[0]
|
|
2585
2585
|
});
|
|
2586
2586
|
(0, s.canUseDOM)() && this.media(T, function() {
|
|
2587
|
-
|
|
2587
|
+
A.setState({
|
|
2588
2588
|
breakpoint: null
|
|
2589
2589
|
});
|
|
2590
2590
|
});
|
|
@@ -2593,22 +2593,22 @@ function ni() {
|
|
|
2593
2593
|
}, {
|
|
2594
2594
|
key: "componentWillUnmount",
|
|
2595
2595
|
value: function() {
|
|
2596
|
-
this._responsiveMediaHandlers.forEach(function(
|
|
2597
|
-
|
|
2596
|
+
this._responsiveMediaHandlers.forEach(function(A) {
|
|
2597
|
+
A.mql.removeListener(A.listener);
|
|
2598
2598
|
});
|
|
2599
2599
|
}
|
|
2600
2600
|
}, {
|
|
2601
2601
|
key: "render",
|
|
2602
2602
|
value: function() {
|
|
2603
|
-
var
|
|
2603
|
+
var A = this, R, T;
|
|
2604
2604
|
this.state.breakpoint ? (T = this.props.responsive.filter(function(L) {
|
|
2605
|
-
return L.breakpoint ===
|
|
2606
|
-
}), R = T[0].settings === "unslick" ? "unslick" :
|
|
2605
|
+
return L.breakpoint === A.state.breakpoint;
|
|
2606
|
+
}), R = T[0].settings === "unslick" ? "unslick" : g(g(g({}, i.default), this.props), T[0].settings)) : R = g(g({}, i.default), this.props), R.centerMode && (R.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(R.slidesToScroll)), R.slidesToScroll = 1), R.fade && (R.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(R.slidesToShow)), R.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(R.slidesToScroll)), R.slidesToShow = 1, R.slidesToScroll = 1);
|
|
2607
2607
|
var k = t.default.Children.toArray(this.props.children);
|
|
2608
2608
|
k = k.filter(function(L) {
|
|
2609
2609
|
return typeof L == "string" ? !!L.trim() : !!L;
|
|
2610
2610
|
}), R.variableWidth && (R.rows > 1 || R.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), R.variableWidth = !1);
|
|
2611
|
-
for (var
|
|
2611
|
+
for (var _ = [], o = null, H = 0; H < k.length; H += R.rows * R.slidesPerRow) {
|
|
2612
2612
|
for (var m = [], n = H; n < H + R.rows * R.slidesPerRow; n += R.slidesPerRow) {
|
|
2613
2613
|
for (var f = [], S = n; S < n + R.slidesPerRow && (R.variableWidth && k[S].props.style && (o = k[S].props.style.width), !(S >= k.length)); S += 1)
|
|
2614
2614
|
f.push(/* @__PURE__ */ t.default.cloneElement(k[S], {
|
|
@@ -2623,25 +2623,25 @@ function ni() {
|
|
|
2623
2623
|
key: 10 * H + n
|
|
2624
2624
|
}, f));
|
|
2625
2625
|
}
|
|
2626
|
-
R.variableWidth ?
|
|
2626
|
+
R.variableWidth ? _.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2627
2627
|
key: H,
|
|
2628
2628
|
style: {
|
|
2629
2629
|
width: o
|
|
2630
2630
|
}
|
|
2631
|
-
}, m)) :
|
|
2631
|
+
}, m)) : _.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2632
2632
|
key: H
|
|
2633
2633
|
}, m));
|
|
2634
2634
|
}
|
|
2635
2635
|
if (R === "unslick") {
|
|
2636
|
-
var
|
|
2636
|
+
var $ = "regular slider " + (this.props.className || "");
|
|
2637
2637
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2638
|
-
className:
|
|
2638
|
+
className: $
|
|
2639
2639
|
}, k);
|
|
2640
|
-
} else
|
|
2640
|
+
} else _.length <= R.slidesToShow && (R.unslick = !0);
|
|
2641
2641
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, l({
|
|
2642
2642
|
style: this.props.style,
|
|
2643
2643
|
ref: this.innerSliderRefHandler
|
|
2644
|
-
}, (0, s.filterSettings)(R)),
|
|
2644
|
+
}, (0, s.filterSettings)(R)), _);
|
|
2645
2645
|
}
|
|
2646
2646
|
}]), d;
|
|
2647
2647
|
}(t.default.Component);
|
|
@@ -2864,7 +2864,7 @@ function Oi(e) {
|
|
|
2864
2864
|
return Gr(lt("", null, null, null, [""], e = Xr(e), 0, [0], e));
|
|
2865
2865
|
}
|
|
2866
2866
|
function lt(e, t, r, a, i, s, c, u, l) {
|
|
2867
|
-
for (var h = 0,
|
|
2867
|
+
for (var h = 0, g = 0, x = c, j = 0, M = 0, E = 0, p = 1, I = 1, C = 1, F = 0, U = "", V = i, v = s, b = a, w = U; I; )
|
|
2868
2868
|
switch (E = F, F = me()) {
|
|
2869
2869
|
// (
|
|
2870
2870
|
case 40:
|
|
@@ -2911,37 +2911,37 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2911
2911
|
// \0 }
|
|
2912
2912
|
case 0:
|
|
2913
2913
|
case 125:
|
|
2914
|
-
|
|
2914
|
+
I = 0;
|
|
2915
2915
|
// ;
|
|
2916
|
-
case 59 +
|
|
2917
|
-
C == -1 && (w = ne(w, /\f/g, "")),
|
|
2916
|
+
case 59 + g:
|
|
2917
|
+
C == -1 && (w = ne(w, /\f/g, "")), M > 0 && ge(w) - x && it(M > 32 ? wr(w + ";", a, r, x - 1) : wr(ne(w, " ", "") + ";", a, r, x - 2), l);
|
|
2918
2918
|
break;
|
|
2919
2919
|
// @ ;
|
|
2920
2920
|
case 59:
|
|
2921
2921
|
w += ";";
|
|
2922
2922
|
// { rule/at-rule
|
|
2923
2923
|
default:
|
|
2924
|
-
if (it(b = br(w, t, r, h,
|
|
2925
|
-
if (
|
|
2926
|
-
lt(w, t, b, b, V, s, x, u,
|
|
2924
|
+
if (it(b = br(w, t, r, h, g, i, u, U, V = [], v = [], x), s), F === 123)
|
|
2925
|
+
if (g === 0)
|
|
2926
|
+
lt(w, t, b, b, V, s, x, u, v);
|
|
2927
2927
|
else
|
|
2928
|
-
switch (
|
|
2928
|
+
switch (j === 99 && fe(w, 3) === 110 ? 100 : j) {
|
|
2929
2929
|
// d l m s
|
|
2930
2930
|
case 100:
|
|
2931
2931
|
case 108:
|
|
2932
2932
|
case 109:
|
|
2933
2933
|
case 115:
|
|
2934
|
-
lt(e, b, b, a && it(br(e, b, b, 0, 0, i, u, U, i, V = [], x),
|
|
2934
|
+
lt(e, b, b, a && it(br(e, b, b, 0, 0, i, u, U, i, V = [], x), v), i, v, x, u, a ? V : v);
|
|
2935
2935
|
break;
|
|
2936
2936
|
default:
|
|
2937
|
-
lt(w, b, b, b, [""],
|
|
2937
|
+
lt(w, b, b, b, [""], v, 0, u, v);
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
|
-
h =
|
|
2940
|
+
h = g = M = 0, p = C = 1, U = w = "", x = c;
|
|
2941
2941
|
break;
|
|
2942
2942
|
// :
|
|
2943
2943
|
case 58:
|
|
2944
|
-
x = 1 + ge(w),
|
|
2944
|
+
x = 1 + ge(w), M = E;
|
|
2945
2945
|
default:
|
|
2946
2946
|
if (p < 1) {
|
|
2947
2947
|
if (F == 123)
|
|
@@ -2952,7 +2952,7 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2952
2952
|
switch (w += wt(F), F * p) {
|
|
2953
2953
|
// &
|
|
2954
2954
|
case 38:
|
|
2955
|
-
C =
|
|
2955
|
+
C = g > 0 ? 1 : (w += "\f", -1);
|
|
2956
2956
|
break;
|
|
2957
2957
|
// ,
|
|
2958
2958
|
case 44:
|
|
@@ -2960,7 +2960,7 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2960
2960
|
break;
|
|
2961
2961
|
// @
|
|
2962
2962
|
case 64:
|
|
2963
|
-
be() === 45 && (w += st(me())),
|
|
2963
|
+
be() === 45 && (w += st(me())), j = be(), g = x = ge(U = w += xi(ot())), F++;
|
|
2964
2964
|
break;
|
|
2965
2965
|
// -
|
|
2966
2966
|
case 45:
|
|
@@ -2969,11 +2969,11 @@ function lt(e, t, r, a, i, s, c, u, l) {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
return s;
|
|
2971
2971
|
}
|
|
2972
|
-
function br(e, t, r, a, i, s, c, u, l, h,
|
|
2973
|
-
for (var x = i - 1,
|
|
2974
|
-
for (var C = 0, F = Be(e, x + 1, x = di(p = c[E])), U = e; C <
|
|
2975
|
-
(U = Br(p > 0 ?
|
|
2976
|
-
return xt(e, t, r, i === 0 ? Bt : u, l, h,
|
|
2972
|
+
function br(e, t, r, a, i, s, c, u, l, h, g) {
|
|
2973
|
+
for (var x = i - 1, j = i === 0 ? s : [""], M = Xt(j), E = 0, p = 0, I = 0; E < a; ++E)
|
|
2974
|
+
for (var C = 0, F = Be(e, x + 1, x = di(p = c[E])), U = e; C < M; ++C)
|
|
2975
|
+
(U = Br(p > 0 ? j[C] + " " + F : ne(F, /&\f/g, j[C]))) && (l[I++] = U);
|
|
2976
|
+
return xt(e, t, r, i === 0 ? Bt : u, l, h, g);
|
|
2977
2977
|
}
|
|
2978
2978
|
function ki(e, t, r) {
|
|
2979
2979
|
return xt(e, t, r, Yr, wt(gi()), Be(e, 2, -2), 0);
|
|
@@ -3057,8 +3057,8 @@ var Ri = function(t, r, a) {
|
|
|
3057
3057
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(a)) && !i) {
|
|
3058
3058
|
Sr.set(t, !0);
|
|
3059
3059
|
for (var s = [], c = _i(r, s), u = a.props, l = 0, h = 0; l < c.length; l++)
|
|
3060
|
-
for (var
|
|
3061
|
-
t.props[h] = s[l] ? c[l].replace(/&\f/g, u[
|
|
3060
|
+
for (var g = 0; g < u.length; g++, h++)
|
|
3061
|
+
t.props[h] = s[l] ? c[l].replace(/&\f/g, u[g]) : u[g] + " " + c[l];
|
|
3062
3062
|
}
|
|
3063
3063
|
}
|
|
3064
3064
|
}, Li = function(t) {
|
|
@@ -3247,8 +3247,8 @@ var Di = function(t, r, a, i) {
|
|
|
3247
3247
|
if (r === "css") {
|
|
3248
3248
|
var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
3249
3249
|
Array.prototype.forEach.call(a, function(p) {
|
|
3250
|
-
var
|
|
3251
|
-
|
|
3250
|
+
var I = p.getAttribute("data-emotion");
|
|
3251
|
+
I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
3252
3252
|
});
|
|
3253
3253
|
}
|
|
3254
3254
|
var i = t.stylisPlugins || Mi, s = {}, c, u = [];
|
|
@@ -3257,20 +3257,20 @@ var Di = function(t, r, a, i) {
|
|
|
3257
3257
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
3258
3258
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
3259
3259
|
function(p) {
|
|
3260
|
-
for (var
|
|
3261
|
-
s[
|
|
3260
|
+
for (var I = p.getAttribute("data-emotion").split(" "), C = 1; C < I.length; C++)
|
|
3261
|
+
s[I[C]] = !0;
|
|
3262
3262
|
u.push(p);
|
|
3263
3263
|
}
|
|
3264
3264
|
);
|
|
3265
3265
|
var l, h = [ji, Li];
|
|
3266
3266
|
{
|
|
3267
|
-
var
|
|
3268
|
-
|
|
3269
|
-
})],
|
|
3270
|
-
return Te(Oi(
|
|
3267
|
+
var g, x = [Ci, Ei(function(p) {
|
|
3268
|
+
g.insert(p);
|
|
3269
|
+
})], j = Pi(h.concat(i, x)), M = function(I) {
|
|
3270
|
+
return Te(Oi(I), j);
|
|
3271
3271
|
};
|
|
3272
|
-
l = function(
|
|
3273
|
-
|
|
3272
|
+
l = function(I, C, F, U) {
|
|
3273
|
+
g = F, M(I ? I + "{" + C.styles + "}" : C.styles), U && (E.inserted[C.name] = !0);
|
|
3274
3274
|
};
|
|
3275
3275
|
}
|
|
3276
3276
|
var E = {
|
|
@@ -3447,11 +3447,11 @@ function Xe(e, t, r) {
|
|
|
3447
3447
|
break;
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
|
-
var
|
|
3450
|
+
var g = r;
|
|
3451
3451
|
if (t == null)
|
|
3452
|
-
return
|
|
3453
|
-
var x = t[
|
|
3454
|
-
return x !== void 0 ? x :
|
|
3452
|
+
return g;
|
|
3453
|
+
var x = t[g];
|
|
3454
|
+
return x !== void 0 ? x : g;
|
|
3455
3455
|
}
|
|
3456
3456
|
function Ui(e, t, r) {
|
|
3457
3457
|
var a = "";
|
|
@@ -3501,8 +3501,8 @@ function Yi(e, t, r) {
|
|
|
3501
3501
|
i += l[u];
|
|
3502
3502
|
}
|
|
3503
3503
|
kr.lastIndex = 0;
|
|
3504
|
-
for (var h = "",
|
|
3505
|
-
h += "-" +
|
|
3504
|
+
for (var h = "", g; (g = kr.exec(i)) !== null; )
|
|
3505
|
+
h += "-" + g[1];
|
|
3506
3506
|
var x = zi(i) + h;
|
|
3507
3507
|
return {
|
|
3508
3508
|
name: x,
|
|
@@ -3560,29 +3560,29 @@ var Xi = function(t) {
|
|
|
3560
3560
|
r !== void 0 && (s = r.label, c = r.target);
|
|
3561
3561
|
var u = Pr(t, r, a), l = u || Cr(i), h = !l("as");
|
|
3562
3562
|
return function() {
|
|
3563
|
-
var
|
|
3564
|
-
if (s !== void 0 && x.push("label:" + s + ";"),
|
|
3565
|
-
x.push.apply(x,
|
|
3563
|
+
var g = arguments, x = a && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3564
|
+
if (s !== void 0 && x.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3565
|
+
x.push.apply(x, g);
|
|
3566
3566
|
else {
|
|
3567
|
-
var
|
|
3568
|
-
x.push(
|
|
3569
|
-
for (var
|
|
3570
|
-
x.push(
|
|
3571
|
-
}
|
|
3572
|
-
var p = Xi(function(
|
|
3573
|
-
var U = h &&
|
|
3574
|
-
if (
|
|
3567
|
+
var j = g[0];
|
|
3568
|
+
x.push(j[0]);
|
|
3569
|
+
for (var M = g.length, E = 1; E < M; E++)
|
|
3570
|
+
x.push(g[E], j[E]);
|
|
3571
|
+
}
|
|
3572
|
+
var p = Xi(function(I, C, F) {
|
|
3573
|
+
var U = h && I.as || i, V = "", v = [], b = I;
|
|
3574
|
+
if (I.theme == null) {
|
|
3575
3575
|
b = {};
|
|
3576
|
-
for (var w in
|
|
3577
|
-
b[w] =
|
|
3576
|
+
for (var w in I)
|
|
3577
|
+
b[w] = I[w];
|
|
3578
3578
|
b.theme = D.useContext(Gi);
|
|
3579
3579
|
}
|
|
3580
|
-
typeof
|
|
3581
|
-
var P = Yi(x.concat(
|
|
3580
|
+
typeof I.className == "string" ? V = Ai(C.registered, v, I.className) : I.className != null && (V = I.className + " ");
|
|
3581
|
+
var P = Yi(x.concat(v), C.registered, b);
|
|
3582
3582
|
V += C.key + "-" + P.name, c !== void 0 && (V += " " + c);
|
|
3583
3583
|
var y = h && u === void 0 ? Cr(U) : l, d = {};
|
|
3584
|
-
for (var O in
|
|
3585
|
-
h && O === "as" || y(O) && (d[O] =
|
|
3584
|
+
for (var O in I)
|
|
3585
|
+
h && O === "as" || y(O) && (d[O] = I[O]);
|
|
3586
3586
|
return d.className = V, F && (d.ref = F), /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement(ea, {
|
|
3587
3587
|
cache: C,
|
|
3588
3588
|
serialized: P,
|
|
@@ -3593,8 +3593,8 @@ var Xi = function(t) {
|
|
|
3593
3593
|
value: function() {
|
|
3594
3594
|
return "." + c;
|
|
3595
3595
|
}
|
|
3596
|
-
}), p.withComponent = function(
|
|
3597
|
-
var F = e(
|
|
3596
|
+
}), p.withComponent = function(I, C) {
|
|
3597
|
+
var F = e(I, Ht({}, r, C, {
|
|
3598
3598
|
shouldForwardProp: Pr(p, C, !0)
|
|
3599
3599
|
}));
|
|
3600
3600
|
return F.apply(void 0, x);
|
|
@@ -3846,10 +3846,10 @@ const na = Le.div`
|
|
|
3846
3846
|
rows: 1,
|
|
3847
3847
|
...r
|
|
3848
3848
|
};
|
|
3849
|
-
const h = t.map((x,
|
|
3849
|
+
const h = t.map((x, j) => /* @__PURE__ */ K.jsx(
|
|
3850
3850
|
ia,
|
|
3851
3851
|
{
|
|
3852
|
-
ref:
|
|
3852
|
+
ref: j === 0 ? u : void 0,
|
|
3853
3853
|
styles: {
|
|
3854
3854
|
paddingRight: `${a}px`,
|
|
3855
3855
|
overflow: "visible",
|
|
@@ -3859,22 +3859,22 @@ const na = Le.div`
|
|
|
3859
3859
|
"data-testid": "carousel-slide-item",
|
|
3860
3860
|
children: x.content
|
|
3861
3861
|
}
|
|
3862
|
-
)),
|
|
3862
|
+
)), g = () => {
|
|
3863
3863
|
if (l.slidesToShow) {
|
|
3864
3864
|
s(l.slidesToShow);
|
|
3865
3865
|
return;
|
|
3866
3866
|
}
|
|
3867
|
-
const x = (c.current?.offsetWidth || 1) - a,
|
|
3868
|
-
let
|
|
3869
|
-
|
|
3867
|
+
const x = (c.current?.offsetWidth || 1) - a, j = u.current?.offsetWidth || 1;
|
|
3868
|
+
let M = Math.floor(x / j);
|
|
3869
|
+
M < 1 ? M = 1 : M > t.length && (M = t.length), console.log("Slides to show > ", {
|
|
3870
3870
|
container: x,
|
|
3871
|
-
slide:
|
|
3872
|
-
res:
|
|
3873
|
-
}), s(
|
|
3871
|
+
slide: j,
|
|
3872
|
+
res: M
|
|
3873
|
+
}), s(M);
|
|
3874
3874
|
};
|
|
3875
3875
|
return q.useEffect(() => {
|
|
3876
|
-
|
|
3877
|
-
}, [c, u]), /* @__PURE__ */
|
|
3876
|
+
g();
|
|
3877
|
+
}, [c, u]), /* @__PURE__ */ K.jsx(na, { ref: c, styles: { ...e }, children: /* @__PURE__ */ K.jsx(oi, { ...l, slidesToShow: i, children: h }) });
|
|
3878
3878
|
}, es = ({
|
|
3879
3879
|
checked: e,
|
|
3880
3880
|
onToggle: t,
|
|
@@ -3884,7 +3884,7 @@ const na = Le.div`
|
|
|
3884
3884
|
customUncheckedRender: s
|
|
3885
3885
|
}) => {
|
|
3886
3886
|
const c = e ? { ...r, ...a } : { ...r };
|
|
3887
|
-
return /* @__PURE__ */
|
|
3887
|
+
return /* @__PURE__ */ K.jsxs(
|
|
3888
3888
|
"div",
|
|
3889
3889
|
{
|
|
3890
3890
|
onClick: () => t?.(!e),
|
|
@@ -3942,7 +3942,7 @@ const na = Le.div`
|
|
|
3942
3942
|
return p.posY = E.y, p.posX = E.x, l.current.startPosX && l.current.posX && (p.distanceX = l.current.startPosX - l.current.posX), l.current.startPosY && l.current.posY && (p.distanceY = -(l.current.startPosY - l.current.posY)), p;
|
|
3943
3943
|
},
|
|
3944
3944
|
[]
|
|
3945
|
-
),
|
|
3945
|
+
), g = q.useCallback(
|
|
3946
3946
|
(E) => {
|
|
3947
3947
|
E.preventDefault(), E.stopPropagation(), l.current.isDragging = !0, l.current.startPosY = E.clientY, l.current.startPosX = E.clientX;
|
|
3948
3948
|
const p = h({ x: E.clientX, y: E.clientY });
|
|
@@ -3956,7 +3956,7 @@ const na = Le.div`
|
|
|
3956
3956
|
p && (a?.(p), p.startPosX = void 0, p.startPosY = void 0, l.current = p);
|
|
3957
3957
|
},
|
|
3958
3958
|
[h, c]
|
|
3959
|
-
),
|
|
3959
|
+
), j = q.useCallback(
|
|
3960
3960
|
(E) => {
|
|
3961
3961
|
if (console.debug(
|
|
3962
3962
|
"useDrag > onPointerMove > Is Dragging >",
|
|
@@ -3967,31 +3967,31 @@ const na = Le.div`
|
|
|
3967
3967
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), l.current = p);
|
|
3968
3968
|
},
|
|
3969
3969
|
[h, c]
|
|
3970
|
-
),
|
|
3970
|
+
), M = q.useCallback(async () => {
|
|
3971
3971
|
if (!i.current) {
|
|
3972
3972
|
for (; !e?.current; )
|
|
3973
3973
|
await new Promise((E) => setTimeout(E, 300));
|
|
3974
|
-
i.current = !0, e.current.onpointerdown =
|
|
3974
|
+
i.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
3975
3975
|
}
|
|
3976
|
-
}, [e?.current,
|
|
3976
|
+
}, [e?.current, g]);
|
|
3977
3977
|
q.useEffect(() => {
|
|
3978
|
-
|
|
3979
|
-
}, [
|
|
3980
|
-
|
|
3978
|
+
M();
|
|
3979
|
+
}, [M]), q.useEffect(() => {
|
|
3980
|
+
j();
|
|
3981
3981
|
}, [c]), q.useEffect(() => {
|
|
3982
3982
|
u !== s.current && (s.current = u, u || x());
|
|
3983
3983
|
}, [u, s.current]);
|
|
3984
3984
|
}, rs = () => {
|
|
3985
3985
|
const e = (u, l) => {
|
|
3986
|
-
let h = 0,
|
|
3986
|
+
let h = 0, g = `${u}`;
|
|
3987
3987
|
for (const x in l) {
|
|
3988
|
-
h === 0 && (
|
|
3989
|
-
const
|
|
3990
|
-
h > 0 && (
|
|
3988
|
+
h === 0 && (g = `${g}?`);
|
|
3989
|
+
const j = l[x];
|
|
3990
|
+
h > 0 && (g = `${g}&`), g = `${g}${x}=${j}`, h++;
|
|
3991
3991
|
}
|
|
3992
|
-
return
|
|
3993
|
-
}, t = async (u, l, h,
|
|
3994
|
-
const x = e(u,
|
|
3992
|
+
return g;
|
|
3993
|
+
}, t = async (u, l, h, g) => {
|
|
3994
|
+
const x = e(u, g);
|
|
3995
3995
|
return await (await fetch(x, {
|
|
3996
3996
|
method: l,
|
|
3997
3997
|
headers: h
|
|
@@ -4026,104 +4026,104 @@ function la() {
|
|
|
4026
4026
|
(function(r, a) {
|
|
4027
4027
|
e.exports = a();
|
|
4028
4028
|
})(sa, function() {
|
|
4029
|
-
var r = 1e3, a = 6e4, i = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day",
|
|
4030
|
-
var k = ["th", "st", "nd", "rd"],
|
|
4031
|
-
return "[" + T + (k[(
|
|
4032
|
-
} }, U = function(T, k,
|
|
4029
|
+
var r = 1e3, a = 6e4, i = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", M = "year", E = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
|
|
4030
|
+
var k = ["th", "st", "nd", "rd"], _ = T % 100;
|
|
4031
|
+
return "[" + T + (k[(_ - 20) % 10] || k[_] || k[0]) + "]";
|
|
4032
|
+
} }, U = function(T, k, _) {
|
|
4033
4033
|
var o = String(T);
|
|
4034
|
-
return !o || o.length >= k ? T : "" + Array(k + 1 - o.length).join(
|
|
4034
|
+
return !o || o.length >= k ? T : "" + Array(k + 1 - o.length).join(_) + T;
|
|
4035
4035
|
}, V = { s: U, z: function(T) {
|
|
4036
|
-
var k = -T.utcOffset(),
|
|
4036
|
+
var k = -T.utcOffset(), _ = Math.abs(k), o = Math.floor(_ / 60), H = _ % 60;
|
|
4037
4037
|
return (k <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
4038
|
-
}, m: function T(k,
|
|
4039
|
-
if (k.date() <
|
|
4040
|
-
var o = 12 * (
|
|
4041
|
-
return +(-(o + (
|
|
4038
|
+
}, m: function T(k, _) {
|
|
4039
|
+
if (k.date() < _.date()) return -T(_, k);
|
|
4040
|
+
var o = 12 * (_.year() - k.year()) + (_.month() - k.month()), H = k.clone().add(o, x), m = _ - H < 0, n = k.clone().add(o + (m ? -1 : 1), x);
|
|
4041
|
+
return +(-(o + (_ - H) / (m ? H - n : n - H)) || 0);
|
|
4042
4042
|
}, a: function(T) {
|
|
4043
4043
|
return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
|
|
4044
4044
|
}, p: function(T) {
|
|
4045
|
-
return { M: x, y:
|
|
4045
|
+
return { M: x, y: M, w: g, d: h, D: E, h: l, m: u, s: c, ms: s, Q: j }[T] || String(T || "").toLowerCase().replace(/s$/, "");
|
|
4046
4046
|
}, u: function(T) {
|
|
4047
4047
|
return T === void 0;
|
|
4048
|
-
} },
|
|
4049
|
-
b[
|
|
4048
|
+
} }, v = "en", b = {};
|
|
4049
|
+
b[v] = F;
|
|
4050
4050
|
var w = "$isDayjsObject", P = function(T) {
|
|
4051
|
-
return T instanceof
|
|
4052
|
-
}, y = function T(k,
|
|
4051
|
+
return T instanceof A || !(!T || !T[w]);
|
|
4052
|
+
}, y = function T(k, _, o) {
|
|
4053
4053
|
var H;
|
|
4054
|
-
if (!k) return
|
|
4054
|
+
if (!k) return v;
|
|
4055
4055
|
if (typeof k == "string") {
|
|
4056
4056
|
var m = k.toLowerCase();
|
|
4057
|
-
b[m] && (H = m),
|
|
4057
|
+
b[m] && (H = m), _ && (b[m] = _, H = m);
|
|
4058
4058
|
var n = k.split("-");
|
|
4059
4059
|
if (!H && n.length > 1) return T(n[0]);
|
|
4060
4060
|
} else {
|
|
4061
4061
|
var f = k.name;
|
|
4062
4062
|
b[f] = k, H = f;
|
|
4063
4063
|
}
|
|
4064
|
-
return !o && H && (
|
|
4064
|
+
return !o && H && (v = H), H || !o && v;
|
|
4065
4065
|
}, d = function(T, k) {
|
|
4066
4066
|
if (P(T)) return T.clone();
|
|
4067
|
-
var
|
|
4068
|
-
return
|
|
4067
|
+
var _ = typeof k == "object" ? k : {};
|
|
4068
|
+
return _.date = T, _.args = arguments, new A(_);
|
|
4069
4069
|
}, O = V;
|
|
4070
4070
|
O.l = y, O.i = P, O.w = function(T, k) {
|
|
4071
4071
|
return d(T, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
|
|
4072
4072
|
};
|
|
4073
|
-
var
|
|
4074
|
-
function T(
|
|
4075
|
-
this.$L = y(
|
|
4073
|
+
var A = function() {
|
|
4074
|
+
function T(_) {
|
|
4075
|
+
this.$L = y(_.locale, null, !0), this.parse(_), this.$x = this.$x || _.x || {}, this[w] = !0;
|
|
4076
4076
|
}
|
|
4077
4077
|
var k = T.prototype;
|
|
4078
|
-
return k.parse = function(
|
|
4078
|
+
return k.parse = function(_) {
|
|
4079
4079
|
this.$d = function(o) {
|
|
4080
4080
|
var H = o.date, m = o.utc;
|
|
4081
4081
|
if (H === null) return /* @__PURE__ */ new Date(NaN);
|
|
4082
4082
|
if (O.u(H)) return /* @__PURE__ */ new Date();
|
|
4083
4083
|
if (H instanceof Date) return new Date(H);
|
|
4084
4084
|
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
4085
|
-
var n = H.match(
|
|
4085
|
+
var n = H.match(I);
|
|
4086
4086
|
if (n) {
|
|
4087
4087
|
var f = n[2] - 1 || 0, S = (n[7] || "0").substring(0, 3);
|
|
4088
4088
|
return m ? new Date(Date.UTC(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, S)) : new Date(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, S);
|
|
4089
4089
|
}
|
|
4090
4090
|
}
|
|
4091
4091
|
return new Date(H);
|
|
4092
|
-
}(
|
|
4092
|
+
}(_), this.init();
|
|
4093
4093
|
}, k.init = function() {
|
|
4094
|
-
var
|
|
4095
|
-
this.$y =
|
|
4094
|
+
var _ = this.$d;
|
|
4095
|
+
this.$y = _.getFullYear(), this.$M = _.getMonth(), this.$D = _.getDate(), this.$W = _.getDay(), this.$H = _.getHours(), this.$m = _.getMinutes(), this.$s = _.getSeconds(), this.$ms = _.getMilliseconds();
|
|
4096
4096
|
}, k.$utils = function() {
|
|
4097
4097
|
return O;
|
|
4098
4098
|
}, k.isValid = function() {
|
|
4099
4099
|
return this.$d.toString() !== p;
|
|
4100
|
-
}, k.isSame = function(
|
|
4101
|
-
var H = d(
|
|
4100
|
+
}, k.isSame = function(_, o) {
|
|
4101
|
+
var H = d(_);
|
|
4102
4102
|
return this.startOf(o) <= H && H <= this.endOf(o);
|
|
4103
|
-
}, k.isAfter = function(
|
|
4104
|
-
return d(
|
|
4105
|
-
}, k.isBefore = function(
|
|
4106
|
-
return this.endOf(o) < d(
|
|
4107
|
-
}, k.$g = function(
|
|
4108
|
-
return O.u(
|
|
4103
|
+
}, k.isAfter = function(_, o) {
|
|
4104
|
+
return d(_) < this.startOf(o);
|
|
4105
|
+
}, k.isBefore = function(_, o) {
|
|
4106
|
+
return this.endOf(o) < d(_);
|
|
4107
|
+
}, k.$g = function(_, o, H) {
|
|
4108
|
+
return O.u(_) ? this[o] : this.set(H, _);
|
|
4109
4109
|
}, k.unix = function() {
|
|
4110
4110
|
return Math.floor(this.valueOf() / 1e3);
|
|
4111
4111
|
}, k.valueOf = function() {
|
|
4112
4112
|
return this.$d.getTime();
|
|
4113
|
-
}, k.startOf = function(
|
|
4114
|
-
var H = this, m = !!O.u(o) || o, n = O.p(
|
|
4115
|
-
var
|
|
4116
|
-
return m ?
|
|
4113
|
+
}, k.startOf = function(_, o) {
|
|
4114
|
+
var H = this, m = !!O.u(o) || o, n = O.p(_), f = function(G, X) {
|
|
4115
|
+
var J = O.w(H.$u ? Date.UTC(H.$y, X, G) : new Date(H.$y, X, G), H);
|
|
4116
|
+
return m ? J : J.endOf(h);
|
|
4117
4117
|
}, S = function(G, X) {
|
|
4118
4118
|
return O.w(H.toDate()[G].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), H);
|
|
4119
|
-
},
|
|
4119
|
+
}, $ = this.$W, L = this.$M, z = this.$D, N = "set" + (this.$u ? "UTC" : "");
|
|
4120
4120
|
switch (n) {
|
|
4121
|
-
case
|
|
4121
|
+
case M:
|
|
4122
4122
|
return m ? f(1, 0) : f(31, 11);
|
|
4123
4123
|
case x:
|
|
4124
4124
|
return m ? f(1, L) : f(0, L + 1);
|
|
4125
|
-
case
|
|
4126
|
-
var W = this.$locale().weekStart || 0, B = (
|
|
4125
|
+
case g:
|
|
4126
|
+
var W = this.$locale().weekStart || 0, B = ($ < W ? $ + 7 : $) - W;
|
|
4127
4127
|
return f(m ? z - B : z + (6 - B), L);
|
|
4128
4128
|
case h:
|
|
4129
4129
|
case E:
|
|
@@ -4137,60 +4137,60 @@ function la() {
|
|
|
4137
4137
|
default:
|
|
4138
4138
|
return this.clone();
|
|
4139
4139
|
}
|
|
4140
|
-
}, k.endOf = function(
|
|
4141
|
-
return this.startOf(
|
|
4142
|
-
}, k.$set = function(
|
|
4143
|
-
var H, m = O.p(
|
|
4144
|
-
if (m === x || m ===
|
|
4145
|
-
var
|
|
4146
|
-
|
|
4140
|
+
}, k.endOf = function(_) {
|
|
4141
|
+
return this.startOf(_, !1);
|
|
4142
|
+
}, k.$set = function(_, o) {
|
|
4143
|
+
var H, m = O.p(_), n = "set" + (this.$u ? "UTC" : ""), f = (H = {}, H[h] = n + "Date", H[E] = n + "Date", H[x] = n + "Month", H[M] = n + "FullYear", H[l] = n + "Hours", H[u] = n + "Minutes", H[c] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], S = m === h ? this.$D + (o - this.$W) : o;
|
|
4144
|
+
if (m === x || m === M) {
|
|
4145
|
+
var $ = this.clone().set(E, 1);
|
|
4146
|
+
$.$d[f](S), $.init(), this.$d = $.set(E, Math.min(this.$D, $.daysInMonth())).$d;
|
|
4147
4147
|
} else f && this.$d[f](S);
|
|
4148
4148
|
return this.init(), this;
|
|
4149
|
-
}, k.set = function(
|
|
4150
|
-
return this.clone().$set(
|
|
4151
|
-
}, k.get = function(
|
|
4152
|
-
return this[O.p(
|
|
4153
|
-
}, k.add = function(
|
|
4149
|
+
}, k.set = function(_, o) {
|
|
4150
|
+
return this.clone().$set(_, o);
|
|
4151
|
+
}, k.get = function(_) {
|
|
4152
|
+
return this[O.p(_)]();
|
|
4153
|
+
}, k.add = function(_, o) {
|
|
4154
4154
|
var H, m = this;
|
|
4155
|
-
|
|
4155
|
+
_ = Number(_);
|
|
4156
4156
|
var n = O.p(o), f = function(L) {
|
|
4157
4157
|
var z = d(m);
|
|
4158
|
-
return O.w(z.date(z.date() + Math.round(L *
|
|
4158
|
+
return O.w(z.date(z.date() + Math.round(L * _)), m);
|
|
4159
4159
|
};
|
|
4160
|
-
if (n === x) return this.set(x, this.$M +
|
|
4161
|
-
if (n ===
|
|
4160
|
+
if (n === x) return this.set(x, this.$M + _);
|
|
4161
|
+
if (n === M) return this.set(M, this.$y + _);
|
|
4162
4162
|
if (n === h) return f(1);
|
|
4163
|
-
if (n ===
|
|
4164
|
-
var S = (H = {}, H[u] = a, H[l] = i, H[c] = r, H)[n] || 1,
|
|
4165
|
-
return O.w(
|
|
4166
|
-
}, k.subtract = function(
|
|
4167
|
-
return this.add(-1 *
|
|
4168
|
-
}, k.format = function(
|
|
4163
|
+
if (n === g) return f(7);
|
|
4164
|
+
var S = (H = {}, H[u] = a, H[l] = i, H[c] = r, H)[n] || 1, $ = this.$d.getTime() + _ * S;
|
|
4165
|
+
return O.w($, this);
|
|
4166
|
+
}, k.subtract = function(_, o) {
|
|
4167
|
+
return this.add(-1 * _, o);
|
|
4168
|
+
}, k.format = function(_) {
|
|
4169
4169
|
var o = this, H = this.$locale();
|
|
4170
4170
|
if (!this.isValid()) return H.invalidDate || p;
|
|
4171
|
-
var m =
|
|
4172
|
-
return X && (X[
|
|
4171
|
+
var m = _ || "YYYY-MM-DDTHH:mm:ssZ", n = O.z(this), f = this.$H, S = this.$m, $ = this.$M, L = H.weekdays, z = H.months, N = H.meridiem, W = function(X, J, te, Z) {
|
|
4172
|
+
return X && (X[J] || X(o, m)) || te[J].slice(0, Z);
|
|
4173
4173
|
}, B = function(X) {
|
|
4174
4174
|
return O.s(f % 12 || 12, X, "0");
|
|
4175
|
-
}, G = N || function(X,
|
|
4175
|
+
}, G = N || function(X, J, te) {
|
|
4176
4176
|
var Z = X < 12 ? "AM" : "PM";
|
|
4177
4177
|
return te ? Z.toLowerCase() : Z;
|
|
4178
4178
|
};
|
|
4179
|
-
return m.replace(C, function(X,
|
|
4180
|
-
return
|
|
4179
|
+
return m.replace(C, function(X, J) {
|
|
4180
|
+
return J || function(te) {
|
|
4181
4181
|
switch (te) {
|
|
4182
4182
|
case "YY":
|
|
4183
4183
|
return String(o.$y).slice(-2);
|
|
4184
4184
|
case "YYYY":
|
|
4185
4185
|
return O.s(o.$y, 4, "0");
|
|
4186
4186
|
case "M":
|
|
4187
|
-
return
|
|
4187
|
+
return $ + 1;
|
|
4188
4188
|
case "MM":
|
|
4189
|
-
return O.s(
|
|
4189
|
+
return O.s($ + 1, 2, "0");
|
|
4190
4190
|
case "MMM":
|
|
4191
|
-
return W(H.monthsShort,
|
|
4191
|
+
return W(H.monthsShort, $, z, 3);
|
|
4192
4192
|
case "MMMM":
|
|
4193
|
-
return W(z,
|
|
4193
|
+
return W(z, $);
|
|
4194
4194
|
case "D":
|
|
4195
4195
|
return o.$D;
|
|
4196
4196
|
case "DD":
|
|
@@ -4233,25 +4233,25 @@ function la() {
|
|
|
4233
4233
|
});
|
|
4234
4234
|
}, k.utcOffset = function() {
|
|
4235
4235
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4236
|
-
}, k.diff = function(
|
|
4237
|
-
var m, n = this, f = O.p(o), S = d(
|
|
4236
|
+
}, k.diff = function(_, o, H) {
|
|
4237
|
+
var m, n = this, f = O.p(o), S = d(_), $ = (S.utcOffset() - this.utcOffset()) * a, L = this - S, z = function() {
|
|
4238
4238
|
return O.m(n, S);
|
|
4239
4239
|
};
|
|
4240
4240
|
switch (f) {
|
|
4241
|
-
case
|
|
4241
|
+
case M:
|
|
4242
4242
|
m = z() / 12;
|
|
4243
4243
|
break;
|
|
4244
4244
|
case x:
|
|
4245
4245
|
m = z();
|
|
4246
4246
|
break;
|
|
4247
|
-
case
|
|
4247
|
+
case j:
|
|
4248
4248
|
m = z() / 3;
|
|
4249
4249
|
break;
|
|
4250
|
-
case
|
|
4251
|
-
m = (L -
|
|
4250
|
+
case g:
|
|
4251
|
+
m = (L - $) / 6048e5;
|
|
4252
4252
|
break;
|
|
4253
4253
|
case h:
|
|
4254
|
-
m = (L -
|
|
4254
|
+
m = (L - $) / 864e5;
|
|
4255
4255
|
break;
|
|
4256
4256
|
case l:
|
|
4257
4257
|
m = L / i;
|
|
@@ -4270,9 +4270,9 @@ function la() {
|
|
|
4270
4270
|
return this.endOf(x).$D;
|
|
4271
4271
|
}, k.$locale = function() {
|
|
4272
4272
|
return b[this.$L];
|
|
4273
|
-
}, k.locale = function(
|
|
4274
|
-
if (!
|
|
4275
|
-
var H = this.clone(), m = y(
|
|
4273
|
+
}, k.locale = function(_, o) {
|
|
4274
|
+
if (!_) return this.$L;
|
|
4275
|
+
var H = this.clone(), m = y(_, o, !0);
|
|
4276
4276
|
return m && (H.$L = m), H;
|
|
4277
4277
|
}, k.clone = function() {
|
|
4278
4278
|
return O.w(this.$d, this);
|
|
@@ -4285,16 +4285,16 @@ function la() {
|
|
|
4285
4285
|
}, k.toString = function() {
|
|
4286
4286
|
return this.$d.toUTCString();
|
|
4287
4287
|
}, T;
|
|
4288
|
-
}(), R =
|
|
4289
|
-
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", h], ["$M", x], ["$y",
|
|
4288
|
+
}(), R = A.prototype;
|
|
4289
|
+
return d.prototype = R, [["$ms", s], ["$s", c], ["$m", u], ["$H", l], ["$W", h], ["$M", x], ["$y", M], ["$D", E]].forEach(function(T) {
|
|
4290
4290
|
R[T[1]] = function(k) {
|
|
4291
4291
|
return this.$g(k, T[0], T[1]);
|
|
4292
4292
|
};
|
|
4293
4293
|
}), d.extend = function(T, k) {
|
|
4294
|
-
return T.$i || (T(k,
|
|
4294
|
+
return T.$i || (T(k, A, d), T.$i = !0), d;
|
|
4295
4295
|
}, d.locale = y, d.isDayjs = P, d.unix = function(T) {
|
|
4296
4296
|
return d(1e3 * T);
|
|
4297
|
-
}, d.en = b[
|
|
4297
|
+
}, d.en = b[v], d.Ls = b, d.p = {}, d;
|
|
4298
4298
|
});
|
|
4299
4299
|
}(ut)), ut.exports;
|
|
4300
4300
|
}
|
|
@@ -4310,11 +4310,11 @@ function fa() {
|
|
|
4310
4310
|
return function(s, c, u) {
|
|
4311
4311
|
var l = c.prototype;
|
|
4312
4312
|
u.utc = function(p) {
|
|
4313
|
-
var
|
|
4314
|
-
return new c(
|
|
4313
|
+
var I = { date: p, utc: !0, args: arguments };
|
|
4314
|
+
return new c(I);
|
|
4315
4315
|
}, l.utc = function(p) {
|
|
4316
|
-
var
|
|
4317
|
-
return p ?
|
|
4316
|
+
var I = u(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4317
|
+
return p ? I.add(this.utcOffset(), r) : I;
|
|
4318
4318
|
}, l.local = function() {
|
|
4319
4319
|
return u(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4320
4320
|
};
|
|
@@ -4322,35 +4322,35 @@ function fa() {
|
|
|
4322
4322
|
l.parse = function(p) {
|
|
4323
4323
|
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), h.call(this, p);
|
|
4324
4324
|
};
|
|
4325
|
-
var
|
|
4325
|
+
var g = l.init;
|
|
4326
4326
|
l.init = function() {
|
|
4327
4327
|
if (this.$u) {
|
|
4328
4328
|
var p = this.$d;
|
|
4329
4329
|
this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
|
|
4330
|
-
} else
|
|
4330
|
+
} else g.call(this);
|
|
4331
4331
|
};
|
|
4332
4332
|
var x = l.utcOffset;
|
|
4333
|
-
l.utcOffset = function(p,
|
|
4333
|
+
l.utcOffset = function(p, I) {
|
|
4334
4334
|
var C = this.$utils().u;
|
|
4335
4335
|
if (C(p)) return this.$u ? 0 : C(this.$offset) ? x.call(this) : this.$offset;
|
|
4336
|
-
if (typeof p == "string" && (p = function(
|
|
4337
|
-
|
|
4338
|
-
var b =
|
|
4336
|
+
if (typeof p == "string" && (p = function(v) {
|
|
4337
|
+
v === void 0 && (v = "");
|
|
4338
|
+
var b = v.match(a);
|
|
4339
4339
|
if (!b) return null;
|
|
4340
4340
|
var w = ("" + b[0]).match(i) || ["-", 0, 0], P = w[0], y = 60 * +w[1] + +w[2];
|
|
4341
4341
|
return y === 0 ? 0 : P === "+" ? y : -y;
|
|
4342
4342
|
}(p), p === null)) return this;
|
|
4343
4343
|
var F = Math.abs(p) <= 16 ? 60 * p : p;
|
|
4344
|
-
if (F === 0) return this.utc(
|
|
4344
|
+
if (F === 0) return this.utc(I);
|
|
4345
4345
|
var U = this.clone();
|
|
4346
|
-
if (
|
|
4346
|
+
if (I) return U.$offset = F, U.$u = !1, U;
|
|
4347
4347
|
var V = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4348
4348
|
return (U = this.local().add(F + V, r)).$offset = F, U.$x.$localOffset = V, U;
|
|
4349
4349
|
};
|
|
4350
|
-
var
|
|
4350
|
+
var j = l.format;
|
|
4351
4351
|
l.format = function(p) {
|
|
4352
|
-
var
|
|
4353
|
-
return
|
|
4352
|
+
var I = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4353
|
+
return j.call(this, I);
|
|
4354
4354
|
}, l.valueOf = function() {
|
|
4355
4355
|
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4356
4356
|
return this.$d.valueOf() - 6e4 * p;
|
|
@@ -4361,15 +4361,15 @@ function fa() {
|
|
|
4361
4361
|
}, l.toString = function() {
|
|
4362
4362
|
return this.toDate().toUTCString();
|
|
4363
4363
|
};
|
|
4364
|
-
var
|
|
4364
|
+
var M = l.toDate;
|
|
4365
4365
|
l.toDate = function(p) {
|
|
4366
|
-
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
4366
|
+
return p === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
4367
4367
|
};
|
|
4368
4368
|
var E = l.diff;
|
|
4369
|
-
l.diff = function(p,
|
|
4370
|
-
if (p && this.$u === p.$u) return E.call(this, p,
|
|
4369
|
+
l.diff = function(p, I, C) {
|
|
4370
|
+
if (p && this.$u === p.$u) return E.call(this, p, I, C);
|
|
4371
4371
|
var F = this.local(), U = u(p).local();
|
|
4372
|
-
return E.call(F, U,
|
|
4372
|
+
return E.call(F, U, I, C);
|
|
4373
4373
|
};
|
|
4374
4374
|
};
|
|
4375
4375
|
});
|
|
@@ -4418,15 +4418,15 @@ class pa {
|
|
|
4418
4418
|
const ns = (e, t = 0) => {
|
|
4419
4419
|
const r = q.useRef(0), [a, i] = q.useState(0), s = q.useRef(null), [c, u] = q.useState(!1), l = q.useCallback(() => {
|
|
4420
4420
|
u((x) => !x);
|
|
4421
|
-
}, []), h = q.useCallback(() => r.current === 0 ? !1 : a >= r.current - t, [t, a]),
|
|
4421
|
+
}, []), h = q.useCallback(() => r.current === 0 ? !1 : a >= r.current - t, [t, a]), g = q.useCallback(() => e.current !== null && e.current !== void 0, [e]);
|
|
4422
4422
|
return q.useEffect(() => {
|
|
4423
4423
|
const x = () => {
|
|
4424
4424
|
if (!e.current) return;
|
|
4425
|
-
const
|
|
4426
|
-
r.current =
|
|
4425
|
+
const M = e.current.scrollHeight - e.current.clientHeight;
|
|
4426
|
+
r.current = M, i(e.current.scrollTop);
|
|
4427
4427
|
};
|
|
4428
4428
|
return (async () => {
|
|
4429
|
-
await pa.waitForCondition(
|
|
4429
|
+
await pa.waitForCondition(g), s.current = e.current, s.current?.addEventListener("scroll", x);
|
|
4430
4430
|
})(), () => {
|
|
4431
4431
|
s.current?.removeEventListener("scroll", x);
|
|
4432
4432
|
};
|
|
@@ -4435,7 +4435,7 @@ const ns = (e, t = 0) => {
|
|
|
4435
4435
|
r,
|
|
4436
4436
|
i,
|
|
4437
4437
|
a,
|
|
4438
|
-
|
|
4438
|
+
g,
|
|
4439
4439
|
c
|
|
4440
4440
|
]), {
|
|
4441
4441
|
isTouchingBottom: h(),
|
|
@@ -4490,59 +4490,59 @@ function ya() {
|
|
|
4490
4490
|
if (_r) return Ye;
|
|
4491
4491
|
_r = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
|
|
4492
4492
|
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, a = /^[\u0020-\u003A\u003D-\u007E]*$/, i = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
4493
|
-
const
|
|
4493
|
+
const j = function() {
|
|
4494
4494
|
};
|
|
4495
|
-
return
|
|
4495
|
+
return j.prototype = /* @__PURE__ */ Object.create(null), j;
|
|
4496
4496
|
})();
|
|
4497
|
-
function c(
|
|
4498
|
-
const E = new s(), p =
|
|
4497
|
+
function c(j, M) {
|
|
4498
|
+
const E = new s(), p = j.length;
|
|
4499
4499
|
if (p < 2)
|
|
4500
4500
|
return E;
|
|
4501
|
-
const
|
|
4501
|
+
const I = M?.decode || g;
|
|
4502
4502
|
let C = 0;
|
|
4503
4503
|
do {
|
|
4504
|
-
const F =
|
|
4504
|
+
const F = j.indexOf("=", C);
|
|
4505
4505
|
if (F === -1)
|
|
4506
4506
|
break;
|
|
4507
|
-
const U =
|
|
4507
|
+
const U = j.indexOf(";", C), V = U === -1 ? p : U;
|
|
4508
4508
|
if (F > V) {
|
|
4509
|
-
C =
|
|
4509
|
+
C = j.lastIndexOf(";", F - 1) + 1;
|
|
4510
4510
|
continue;
|
|
4511
4511
|
}
|
|
4512
|
-
const
|
|
4512
|
+
const v = u(j, C, F), b = l(j, F, v), w = j.slice(v, b);
|
|
4513
4513
|
if (E[w] === void 0) {
|
|
4514
|
-
let P = u(
|
|
4515
|
-
const d =
|
|
4514
|
+
let P = u(j, F + 1, V), y = l(j, V, P);
|
|
4515
|
+
const d = I(j.slice(P, y));
|
|
4516
4516
|
E[w] = d;
|
|
4517
4517
|
}
|
|
4518
4518
|
C = V + 1;
|
|
4519
4519
|
} while (C < p);
|
|
4520
4520
|
return E;
|
|
4521
4521
|
}
|
|
4522
|
-
function u(
|
|
4522
|
+
function u(j, M, E) {
|
|
4523
4523
|
do {
|
|
4524
|
-
const p =
|
|
4524
|
+
const p = j.charCodeAt(M);
|
|
4525
4525
|
if (p !== 32 && p !== 9)
|
|
4526
|
-
return
|
|
4527
|
-
} while (++
|
|
4526
|
+
return M;
|
|
4527
|
+
} while (++M < E);
|
|
4528
4528
|
return E;
|
|
4529
4529
|
}
|
|
4530
|
-
function l(
|
|
4531
|
-
for (;
|
|
4532
|
-
const p =
|
|
4530
|
+
function l(j, M, E) {
|
|
4531
|
+
for (; M > E; ) {
|
|
4532
|
+
const p = j.charCodeAt(--M);
|
|
4533
4533
|
if (p !== 32 && p !== 9)
|
|
4534
|
-
return
|
|
4534
|
+
return M + 1;
|
|
4535
4535
|
}
|
|
4536
4536
|
return E;
|
|
4537
4537
|
}
|
|
4538
|
-
function h(
|
|
4538
|
+
function h(j, M, E) {
|
|
4539
4539
|
const p = E?.encode || encodeURIComponent;
|
|
4540
|
-
if (!e.test(
|
|
4541
|
-
throw new TypeError(`argument name is invalid: ${
|
|
4542
|
-
const
|
|
4543
|
-
if (!t.test(
|
|
4544
|
-
throw new TypeError(`argument val is invalid: ${
|
|
4545
|
-
let C =
|
|
4540
|
+
if (!e.test(j))
|
|
4541
|
+
throw new TypeError(`argument name is invalid: ${j}`);
|
|
4542
|
+
const I = p(M);
|
|
4543
|
+
if (!t.test(I))
|
|
4544
|
+
throw new TypeError(`argument val is invalid: ${M}`);
|
|
4545
|
+
let C = j + "=" + I;
|
|
4546
4546
|
if (!E)
|
|
4547
4547
|
return C;
|
|
4548
4548
|
if (E.maxAge !== void 0) {
|
|
@@ -4596,17 +4596,17 @@ function ya() {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
return C;
|
|
4598
4598
|
}
|
|
4599
|
-
function
|
|
4600
|
-
if (
|
|
4601
|
-
return
|
|
4599
|
+
function g(j) {
|
|
4600
|
+
if (j.indexOf("%") === -1)
|
|
4601
|
+
return j;
|
|
4602
4602
|
try {
|
|
4603
|
-
return decodeURIComponent(
|
|
4603
|
+
return decodeURIComponent(j);
|
|
4604
4604
|
} catch {
|
|
4605
|
-
return
|
|
4605
|
+
return j;
|
|
4606
4606
|
}
|
|
4607
4607
|
}
|
|
4608
|
-
function x(
|
|
4609
|
-
return i.call(
|
|
4608
|
+
function x(j) {
|
|
4609
|
+
return i.call(j) === "[object Date]";
|
|
4610
4610
|
}
|
|
4611
4611
|
return Ye;
|
|
4612
4612
|
}
|
|
@@ -4698,39 +4698,39 @@ function Me(e) {
|
|
|
4698
4698
|
return t;
|
|
4699
4699
|
}
|
|
4700
4700
|
function Sa(e, t, r, a = {}) {
|
|
4701
|
-
let { window: i = document.defaultView, v5Compat: s = !1 } = a, c = i.history, u = "POP", l = null, h =
|
|
4701
|
+
let { window: i = document.defaultView, v5Compat: s = !1 } = a, c = i.history, u = "POP", l = null, h = g();
|
|
4702
4702
|
h == null && (h = 0, c.replaceState({ ...c.state, idx: h }, ""));
|
|
4703
|
-
function
|
|
4703
|
+
function g() {
|
|
4704
4704
|
return (c.state || { idx: null }).idx;
|
|
4705
4705
|
}
|
|
4706
4706
|
function x() {
|
|
4707
4707
|
u = "POP";
|
|
4708
|
-
let
|
|
4709
|
-
h =
|
|
4708
|
+
let I = g(), C = I == null ? null : I - h;
|
|
4709
|
+
h = I, l && l({ action: u, location: p.location, delta: C });
|
|
4710
4710
|
}
|
|
4711
|
-
function
|
|
4711
|
+
function j(I, C) {
|
|
4712
4712
|
u = "PUSH";
|
|
4713
|
-
let F = Ft(p.location,
|
|
4714
|
-
h =
|
|
4713
|
+
let F = Ft(p.location, I, C);
|
|
4714
|
+
h = g() + 1;
|
|
4715
4715
|
let U = Lr(F, h), V = p.createHref(F);
|
|
4716
4716
|
try {
|
|
4717
4717
|
c.pushState(U, "", V);
|
|
4718
|
-
} catch (
|
|
4719
|
-
if (
|
|
4720
|
-
throw
|
|
4718
|
+
} catch (v) {
|
|
4719
|
+
if (v instanceof DOMException && v.name === "DataCloneError")
|
|
4720
|
+
throw v;
|
|
4721
4721
|
i.location.assign(V);
|
|
4722
4722
|
}
|
|
4723
4723
|
s && l && l({ action: u, location: p.location, delta: 1 });
|
|
4724
4724
|
}
|
|
4725
|
-
function
|
|
4725
|
+
function M(I, C) {
|
|
4726
4726
|
u = "REPLACE";
|
|
4727
|
-
let F = Ft(p.location,
|
|
4728
|
-
h =
|
|
4727
|
+
let F = Ft(p.location, I, C);
|
|
4728
|
+
h = g();
|
|
4729
4729
|
let U = Lr(F, h), V = p.createHref(F);
|
|
4730
4730
|
c.replaceState(U, "", V), s && l && l({ action: u, location: p.location, delta: 0 });
|
|
4731
4731
|
}
|
|
4732
|
-
function E(
|
|
4733
|
-
return xa(
|
|
4732
|
+
function E(I) {
|
|
4733
|
+
return xa(I);
|
|
4734
4734
|
}
|
|
4735
4735
|
let p = {
|
|
4736
4736
|
get action() {
|
|
@@ -4739,29 +4739,29 @@ function Sa(e, t, r, a = {}) {
|
|
|
4739
4739
|
get location() {
|
|
4740
4740
|
return e(i, c);
|
|
4741
4741
|
},
|
|
4742
|
-
listen(
|
|
4742
|
+
listen(I) {
|
|
4743
4743
|
if (l)
|
|
4744
4744
|
throw new Error("A history only accepts one active listener");
|
|
4745
|
-
return i.addEventListener(jr, x), l =
|
|
4745
|
+
return i.addEventListener(jr, x), l = I, () => {
|
|
4746
4746
|
i.removeEventListener(jr, x), l = null;
|
|
4747
4747
|
};
|
|
4748
4748
|
},
|
|
4749
|
-
createHref(
|
|
4750
|
-
return t(i,
|
|
4749
|
+
createHref(I) {
|
|
4750
|
+
return t(i, I);
|
|
4751
4751
|
},
|
|
4752
4752
|
createURL: E,
|
|
4753
|
-
encodeLocation(
|
|
4754
|
-
let C = E(
|
|
4753
|
+
encodeLocation(I) {
|
|
4754
|
+
let C = E(I);
|
|
4755
4755
|
return {
|
|
4756
4756
|
pathname: C.pathname,
|
|
4757
4757
|
search: C.search,
|
|
4758
4758
|
hash: C.hash
|
|
4759
4759
|
};
|
|
4760
4760
|
},
|
|
4761
|
-
push:
|
|
4762
|
-
replace:
|
|
4763
|
-
go(
|
|
4764
|
-
return c.go(
|
|
4761
|
+
push: j,
|
|
4762
|
+
replace: M,
|
|
4763
|
+
go(I) {
|
|
4764
|
+
return c.go(I);
|
|
4765
4765
|
}
|
|
4766
4766
|
};
|
|
4767
4767
|
return p;
|
|
@@ -4804,16 +4804,16 @@ function rn(e, t = [], r = [], a = "") {
|
|
|
4804
4804
|
l.relativePath.startsWith(a),
|
|
4805
4805
|
`Absolute route path "${l.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
4806
4806
|
), l.relativePath = l.relativePath.slice(a.length));
|
|
4807
|
-
let h = Se([a, l.relativePath]),
|
|
4807
|
+
let h = Se([a, l.relativePath]), g = r.concat(l);
|
|
4808
4808
|
s.children && s.children.length > 0 && (ae(
|
|
4809
4809
|
// Our types know better, but runtime JS may not!
|
|
4810
4810
|
// @ts-expect-error
|
|
4811
4811
|
s.index !== !0,
|
|
4812
4812
|
`Index routes must not have child routes. Please remove all child routes from route path "${h}".`
|
|
4813
|
-
), rn(s.children, t,
|
|
4813
|
+
), rn(s.children, t, g, h)), !(s.path == null && !s.index) && t.push({
|
|
4814
4814
|
path: h,
|
|
4815
4815
|
score: ja(h, s.index),
|
|
4816
|
-
routesMeta:
|
|
4816
|
+
routesMeta: g
|
|
4817
4817
|
});
|
|
4818
4818
|
};
|
|
4819
4819
|
return e.forEach((s, c) => {
|
|
@@ -4871,17 +4871,17 @@ function La(e, t) {
|
|
|
4871
4871
|
function Da(e, t, r = !1) {
|
|
4872
4872
|
let { routesMeta: a } = e, i = {}, s = "/", c = [];
|
|
4873
4873
|
for (let u = 0; u < a.length; ++u) {
|
|
4874
|
-
let l = a[u], h = u === a.length - 1,
|
|
4874
|
+
let l = a[u], h = u === a.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", x = gt(
|
|
4875
4875
|
{ path: l.relativePath, caseSensitive: l.caseSensitive, end: h },
|
|
4876
|
-
|
|
4877
|
-
),
|
|
4876
|
+
g
|
|
4877
|
+
), j = l.route;
|
|
4878
4878
|
if (!x && h && r && !a[a.length - 1].route.index && (x = gt(
|
|
4879
4879
|
{
|
|
4880
4880
|
path: l.relativePath,
|
|
4881
4881
|
caseSensitive: l.caseSensitive,
|
|
4882
4882
|
end: !1
|
|
4883
4883
|
},
|
|
4884
|
-
|
|
4884
|
+
g
|
|
4885
4885
|
)), !x)
|
|
4886
4886
|
return null;
|
|
4887
4887
|
Object.assign(i, x.params), c.push({
|
|
@@ -4891,7 +4891,7 @@ function Da(e, t, r = !1) {
|
|
|
4891
4891
|
pathnameBase: za(
|
|
4892
4892
|
Se([s, x.pathnameBase])
|
|
4893
4893
|
),
|
|
4894
|
-
route:
|
|
4894
|
+
route: j
|
|
4895
4895
|
}), x.pathnameBase !== "/" && (s = Se([s, x.pathnameBase]));
|
|
4896
4896
|
}
|
|
4897
4897
|
return c;
|
|
@@ -4907,13 +4907,13 @@ function gt(e, t) {
|
|
|
4907
4907
|
let s = i[0], c = s.replace(/(.)\/+$/, "$1"), u = i.slice(1);
|
|
4908
4908
|
return {
|
|
4909
4909
|
params: a.reduce(
|
|
4910
|
-
(h, { paramName:
|
|
4911
|
-
if (
|
|
4912
|
-
let E = u[
|
|
4910
|
+
(h, { paramName: g, isOptional: x }, j) => {
|
|
4911
|
+
if (g === "*") {
|
|
4912
|
+
let E = u[j] || "";
|
|
4913
4913
|
c = s.slice(0, s.length - E.length).replace(/(.)\/+$/, "$1");
|
|
4914
4914
|
}
|
|
4915
|
-
const
|
|
4916
|
-
return x && !
|
|
4915
|
+
const M = u[j];
|
|
4916
|
+
return x && !M ? h[g] = void 0 : h[g] = (M || "").replace(/%2F/g, "/"), h;
|
|
4917
4917
|
},
|
|
4918
4918
|
{}
|
|
4919
4919
|
),
|
|
@@ -5002,15 +5002,15 @@ function on(e, t, r, a = !1) {
|
|
|
5002
5002
|
else {
|
|
5003
5003
|
let x = t.length - 1;
|
|
5004
5004
|
if (!a && c.startsWith("..")) {
|
|
5005
|
-
let
|
|
5006
|
-
for (;
|
|
5007
|
-
|
|
5008
|
-
i.pathname =
|
|
5005
|
+
let j = c.split("/");
|
|
5006
|
+
for (; j[0] === ".."; )
|
|
5007
|
+
j.shift(), x -= 1;
|
|
5008
|
+
i.pathname = j.join("/");
|
|
5009
5009
|
}
|
|
5010
5010
|
u = x >= 0 ? t[x] : "/";
|
|
5011
5011
|
}
|
|
5012
|
-
let l = Ia(i, u), h = c && c !== "/" && c.endsWith("/"),
|
|
5013
|
-
return !l.pathname.endsWith("/") && (h ||
|
|
5012
|
+
let l = Ia(i, u), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
|
|
5013
|
+
return !l.pathname.endsWith("/") && (h || g) && (l.pathname += "/"), l;
|
|
5014
5014
|
}
|
|
5015
5015
|
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), za = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Na = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Fa = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
5016
5016
|
function Wa(e) {
|
|
@@ -5106,14 +5106,14 @@ function Va() {
|
|
|
5106
5106
|
r.go(l);
|
|
5107
5107
|
return;
|
|
5108
5108
|
}
|
|
5109
|
-
let
|
|
5109
|
+
let g = on(
|
|
5110
5110
|
l,
|
|
5111
5111
|
JSON.parse(s),
|
|
5112
5112
|
i,
|
|
5113
5113
|
h.relative === "path"
|
|
5114
5114
|
);
|
|
5115
|
-
e == null && t !== "/" && (
|
|
5116
|
-
|
|
5115
|
+
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : Se([t, g.pathname])), (h.replace ? r.replace : r.push)(
|
|
5116
|
+
g,
|
|
5117
5117
|
h.state,
|
|
5118
5118
|
h
|
|
5119
5119
|
);
|
|
@@ -5150,40 +5150,40 @@ function fn(e, t, r, a) {
|
|
|
5150
5150
|
// router loaded. We can help them understand how to avoid that.
|
|
5151
5151
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
5152
5152
|
);
|
|
5153
|
-
let { navigator: i } = D.useContext(we), { matches: s } = D.useContext(Oe), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", h = c ? c.pathnameBase : "/",
|
|
5153
|
+
let { navigator: i } = D.useContext(we), { matches: s } = D.useContext(Oe), c = s[s.length - 1], u = c ? c.params : {}, l = c ? c.pathname : "/", h = c ? c.pathnameBase : "/", g = c && c.route;
|
|
5154
5154
|
{
|
|
5155
|
-
let C =
|
|
5155
|
+
let C = g && g.path || "";
|
|
5156
5156
|
dn(
|
|
5157
5157
|
l,
|
|
5158
|
-
!
|
|
5158
|
+
!g || C.endsWith("*") || C.endsWith("*?"),
|
|
5159
5159
|
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
5160
5160
|
|
|
5161
5161
|
Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" : `${C}/*`}">.`
|
|
5162
5162
|
);
|
|
5163
5163
|
}
|
|
5164
|
-
let x = ke(),
|
|
5164
|
+
let x = ke(), j;
|
|
5165
5165
|
if (t) {
|
|
5166
5166
|
let C = typeof t == "string" ? Me(t) : t;
|
|
5167
5167
|
ae(
|
|
5168
5168
|
h === "/" || C.pathname?.startsWith(h),
|
|
5169
5169
|
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${C.pathname}" was given in the \`location\` prop.`
|
|
5170
|
-
),
|
|
5170
|
+
), j = C;
|
|
5171
5171
|
} else
|
|
5172
|
-
|
|
5173
|
-
let
|
|
5172
|
+
j = x;
|
|
5173
|
+
let M = j.pathname || "/", E = M;
|
|
5174
5174
|
if (h !== "/") {
|
|
5175
5175
|
let C = h.replace(/^\//, "").split("/");
|
|
5176
|
-
E = "/" +
|
|
5176
|
+
E = "/" + M.replace(/^\//, "").split("/").slice(C.length).join("/");
|
|
5177
5177
|
}
|
|
5178
5178
|
let p = tn(e, { pathname: E });
|
|
5179
5179
|
ve(
|
|
5180
|
-
|
|
5181
|
-
`No routes matched location "${
|
|
5180
|
+
g || p != null,
|
|
5181
|
+
`No routes matched location "${j.pathname}${j.search}${j.hash}" `
|
|
5182
5182
|
), ve(
|
|
5183
5183
|
p == null || p[p.length - 1].route.element !== void 0 || p[p.length - 1].route.Component !== void 0 || p[p.length - 1].route.lazy !== void 0,
|
|
5184
|
-
`Matched leaf route at location "${
|
|
5184
|
+
`Matched leaf route at location "${j.pathname}${j.search}${j.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.`
|
|
5185
5185
|
);
|
|
5186
|
-
let
|
|
5186
|
+
let I = Qa(
|
|
5187
5187
|
p && p.map(
|
|
5188
5188
|
(C) => Object.assign({}, C, {
|
|
5189
5189
|
params: Object.assign({}, u, C.params),
|
|
@@ -5203,7 +5203,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
5203
5203
|
r,
|
|
5204
5204
|
a
|
|
5205
5205
|
);
|
|
5206
|
-
return t &&
|
|
5206
|
+
return t && I ? /* @__PURE__ */ D.createElement(
|
|
5207
5207
|
Ze.Provider,
|
|
5208
5208
|
{
|
|
5209
5209
|
value: {
|
|
@@ -5213,14 +5213,14 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
|
|
|
5213
5213
|
hash: "",
|
|
5214
5214
|
state: null,
|
|
5215
5215
|
key: "default",
|
|
5216
|
-
...
|
|
5216
|
+
...j
|
|
5217
5217
|
},
|
|
5218
5218
|
navigationType: "POP"
|
|
5219
5219
|
/* Pop */
|
|
5220
5220
|
}
|
|
5221
5221
|
},
|
|
5222
|
-
|
|
5223
|
-
) :
|
|
5222
|
+
I
|
|
5223
|
+
) : I;
|
|
5224
5224
|
}
|
|
5225
5225
|
function Ga() {
|
|
5226
5226
|
let e = io(), t = Wa(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, a = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: a }, s = { padding: "2px 4px", backgroundColor: a }, c = null;
|
|
@@ -5303,23 +5303,23 @@ function Qa(e, t = [], r = null, a = null) {
|
|
|
5303
5303
|
for (let l = 0; l < i.length; l++) {
|
|
5304
5304
|
let h = i[l];
|
|
5305
5305
|
if ((h.route.HydrateFallback || h.route.hydrateFallbackElement) && (u = l), h.route.id) {
|
|
5306
|
-
let { loaderData:
|
|
5307
|
-
if (h.route.lazy ||
|
|
5306
|
+
let { loaderData: g, errors: x } = r, j = h.route.loader && !g.hasOwnProperty(h.route.id) && (!x || x[h.route.id] === void 0);
|
|
5307
|
+
if (h.route.lazy || j) {
|
|
5308
5308
|
c = !0, u >= 0 ? i = i.slice(0, u + 1) : i = [i[0]];
|
|
5309
5309
|
break;
|
|
5310
5310
|
}
|
|
5311
5311
|
}
|
|
5312
5312
|
}
|
|
5313
|
-
return i.reduceRight((l, h,
|
|
5314
|
-
let x,
|
|
5315
|
-
r && (x = s && h.route.id ? s[h.route.id] : void 0,
|
|
5313
|
+
return i.reduceRight((l, h, g) => {
|
|
5314
|
+
let x, j = !1, M = null, E = null;
|
|
5315
|
+
r && (x = s && h.route.id ? s[h.route.id] : void 0, M = h.route.errorElement || Ka, c && (u < 0 && g === 0 ? (dn(
|
|
5316
5316
|
"route-fallback",
|
|
5317
5317
|
!1,
|
|
5318
5318
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
5319
|
-
),
|
|
5320
|
-
let p = t.concat(i.slice(0,
|
|
5319
|
+
), j = !0, E = null) : u === g && (j = !0, E = h.route.hydrateFallbackElement || null)));
|
|
5320
|
+
let p = t.concat(i.slice(0, g + 1)), I = () => {
|
|
5321
5321
|
let C;
|
|
5322
|
-
return x ? C =
|
|
5322
|
+
return x ? C = M : j ? C = E : h.route.Component ? C = /* @__PURE__ */ D.createElement(h.route.Component, null) : h.route.element ? C = h.route.element : C = l, /* @__PURE__ */ D.createElement(
|
|
5323
5323
|
Za,
|
|
5324
5324
|
{
|
|
5325
5325
|
match: h,
|
|
@@ -5332,17 +5332,17 @@ function Qa(e, t = [], r = null, a = null) {
|
|
|
5332
5332
|
}
|
|
5333
5333
|
);
|
|
5334
5334
|
};
|
|
5335
|
-
return r && (h.route.ErrorBoundary || h.route.errorElement ||
|
|
5335
|
+
return r && (h.route.ErrorBoundary || h.route.errorElement || g === 0) ? /* @__PURE__ */ D.createElement(
|
|
5336
5336
|
Ja,
|
|
5337
5337
|
{
|
|
5338
5338
|
location: r.location,
|
|
5339
5339
|
revalidation: r.revalidation,
|
|
5340
|
-
component:
|
|
5340
|
+
component: M,
|
|
5341
5341
|
error: x,
|
|
5342
|
-
children:
|
|
5342
|
+
children: I(),
|
|
5343
5343
|
routeContext: { outlet: null, matches: p, isDataRoute: !0 }
|
|
5344
5344
|
}
|
|
5345
|
-
) :
|
|
5345
|
+
) : I();
|
|
5346
5346
|
}, null);
|
|
5347
5347
|
}
|
|
5348
5348
|
function Jt(e) {
|
|
@@ -5443,26 +5443,26 @@ function so({
|
|
|
5443
5443
|
let {
|
|
5444
5444
|
pathname: l = "/",
|
|
5445
5445
|
search: h = "",
|
|
5446
|
-
hash:
|
|
5446
|
+
hash: g = "",
|
|
5447
5447
|
state: x = null,
|
|
5448
|
-
key:
|
|
5449
|
-
} = r,
|
|
5448
|
+
key: j = "default"
|
|
5449
|
+
} = r, M = D.useMemo(() => {
|
|
5450
5450
|
let E = xe(l, c);
|
|
5451
5451
|
return E == null ? null : {
|
|
5452
5452
|
location: {
|
|
5453
5453
|
pathname: E,
|
|
5454
5454
|
search: h,
|
|
5455
|
-
hash:
|
|
5455
|
+
hash: g,
|
|
5456
5456
|
state: x,
|
|
5457
|
-
key:
|
|
5457
|
+
key: j
|
|
5458
5458
|
},
|
|
5459
5459
|
navigationType: a
|
|
5460
5460
|
};
|
|
5461
|
-
}, [c, l, h,
|
|
5461
|
+
}, [c, l, h, g, x, j, a]);
|
|
5462
5462
|
return ve(
|
|
5463
|
-
|
|
5464
|
-
`<Router basename="${c}"> is not able to match the URL "${l}${h}${
|
|
5465
|
-
),
|
|
5463
|
+
M != null,
|
|
5464
|
+
`<Router basename="${c}"> is not able to match the URL "${l}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5465
|
+
), M == null ? null : /* @__PURE__ */ D.createElement(we.Provider, { value: u }, /* @__PURE__ */ D.createElement(Ze.Provider, { children: t, value: M }));
|
|
5466
5466
|
}
|
|
5467
5467
|
function lo({
|
|
5468
5468
|
children: e,
|
|
@@ -5591,10 +5591,10 @@ function yo(e, t) {
|
|
|
5591
5591
|
);
|
|
5592
5592
|
let l = e.getAttribute("formaction") || u.getAttribute("action");
|
|
5593
5593
|
if (a = l ? xe(l, t) : null, r = e.getAttribute("formmethod") || u.getAttribute("method") || dt, i = It(e.getAttribute("formenctype")) || It(u.getAttribute("enctype")) || ht, s = new FormData(u, e), !vo()) {
|
|
5594
|
-
let { name: h, type:
|
|
5595
|
-
if (
|
|
5596
|
-
let
|
|
5597
|
-
s.append(`${
|
|
5594
|
+
let { name: h, type: g, value: x } = e;
|
|
5595
|
+
if (g === "image") {
|
|
5596
|
+
let j = h ? `${h}.` : "";
|
|
5597
|
+
s.append(`${j}x`, "0"), s.append(`${j}y`, "0");
|
|
5598
5598
|
} else h && s.append(h, x);
|
|
5599
5599
|
}
|
|
5600
5600
|
} else {
|
|
@@ -5657,8 +5657,8 @@ function $r(e, t, r, a, i, s) {
|
|
|
5657
5657
|
return s === "assets" ? t.filter(
|
|
5658
5658
|
(l, h) => c(l, h) || u(l, h)
|
|
5659
5659
|
) : s === "data" ? t.filter((l, h) => {
|
|
5660
|
-
let
|
|
5661
|
-
if (!
|
|
5660
|
+
let g = a.routes[l.route.id];
|
|
5661
|
+
if (!g || !g.hasLoader)
|
|
5662
5662
|
return !1;
|
|
5663
5663
|
if (c(l, h) || u(l, h))
|
|
5664
5664
|
return !0;
|
|
@@ -5740,16 +5740,16 @@ function mn() {
|
|
|
5740
5740
|
), e;
|
|
5741
5741
|
}
|
|
5742
5742
|
function To(e, t) {
|
|
5743
|
-
let r = D.useContext(er), [a, i] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave:
|
|
5743
|
+
let r = D.useContext(er), [a, i] = D.useState(!1), [s, c] = D.useState(!1), { onFocus: u, onBlur: l, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, j = D.useRef(null);
|
|
5744
5744
|
D.useEffect(() => {
|
|
5745
5745
|
if (e === "render" && c(!0), e === "viewport") {
|
|
5746
5746
|
let p = (C) => {
|
|
5747
5747
|
C.forEach((F) => {
|
|
5748
5748
|
c(F.isIntersecting);
|
|
5749
5749
|
});
|
|
5750
|
-
},
|
|
5751
|
-
return
|
|
5752
|
-
|
|
5750
|
+
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5751
|
+
return j.current && I.observe(j.current), () => {
|
|
5752
|
+
I.disconnect();
|
|
5753
5753
|
};
|
|
5754
5754
|
}
|
|
5755
5755
|
}, [e]), D.useEffect(() => {
|
|
@@ -5762,22 +5762,22 @@ function To(e, t) {
|
|
|
5762
5762
|
};
|
|
5763
5763
|
}
|
|
5764
5764
|
}, [a]);
|
|
5765
|
-
let
|
|
5765
|
+
let M = () => {
|
|
5766
5766
|
i(!0);
|
|
5767
5767
|
}, E = () => {
|
|
5768
5768
|
i(!1), c(!1);
|
|
5769
5769
|
};
|
|
5770
|
-
return r ? e !== "intent" ? [s,
|
|
5770
|
+
return r ? e !== "intent" ? [s, j, {}] : [
|
|
5771
5771
|
s,
|
|
5772
|
-
|
|
5772
|
+
j,
|
|
5773
5773
|
{
|
|
5774
|
-
onFocus: qe(u,
|
|
5774
|
+
onFocus: qe(u, M),
|
|
5775
5775
|
onBlur: qe(l, E),
|
|
5776
|
-
onMouseEnter: qe(h,
|
|
5777
|
-
onMouseLeave: qe(
|
|
5778
|
-
onTouchStart: qe(x,
|
|
5776
|
+
onMouseEnter: qe(h, M),
|
|
5777
|
+
onMouseLeave: qe(g, E),
|
|
5778
|
+
onTouchStart: qe(x, M)
|
|
5779
5779
|
}
|
|
5780
|
-
] : [!1,
|
|
5780
|
+
] : [!1, j, {}];
|
|
5781
5781
|
}
|
|
5782
5782
|
function qe(e, t) {
|
|
5783
5783
|
return (r) => {
|
|
@@ -5822,7 +5822,7 @@ function Lo({
|
|
|
5822
5822
|
"data"
|
|
5823
5823
|
),
|
|
5824
5824
|
[e, t, l, i, a]
|
|
5825
|
-
),
|
|
5825
|
+
), g = D.useMemo(
|
|
5826
5826
|
() => $r(
|
|
5827
5827
|
e,
|
|
5828
5828
|
t,
|
|
@@ -5841,11 +5841,11 @@ function Lo({
|
|
|
5841
5841
|
!F || !F.hasLoader || (!h.some((U) => U.route.id === C.route.id) && C.route.id in u && s[C.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : E.add(C.route.id));
|
|
5842
5842
|
}), E.size === 0)
|
|
5843
5843
|
return [];
|
|
5844
|
-
let
|
|
5845
|
-
return p && E.size > 0 &&
|
|
5844
|
+
let I = Eo(e, c);
|
|
5845
|
+
return p && E.size > 0 && I.searchParams.set(
|
|
5846
5846
|
"_routes",
|
|
5847
5847
|
t.filter((C) => E.has(C.route.id)).map((C) => C.route.id).join(",")
|
|
5848
|
-
), [
|
|
5848
|
+
), [I.pathname + I.search];
|
|
5849
5849
|
}, [
|
|
5850
5850
|
c,
|
|
5851
5851
|
u,
|
|
@@ -5855,11 +5855,11 @@ function Lo({
|
|
|
5855
5855
|
t,
|
|
5856
5856
|
e,
|
|
5857
5857
|
s
|
|
5858
|
-
]),
|
|
5859
|
-
() => xo(
|
|
5860
|
-
[
|
|
5861
|
-
),
|
|
5862
|
-
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((E) => /* @__PURE__ */ D.createElement("link", { key: E, rel: "prefetch", as: "fetch", href: E, ...r })),
|
|
5858
|
+
]), j = D.useMemo(
|
|
5859
|
+
() => xo(g, i),
|
|
5860
|
+
[g, i]
|
|
5861
|
+
), M = jo(g);
|
|
5862
|
+
return /* @__PURE__ */ D.createElement(D.Fragment, null, x.map((E) => /* @__PURE__ */ D.createElement("link", { key: E, rel: "prefetch", as: "fetch", href: E, ...r })), j.map((E) => /* @__PURE__ */ D.createElement("link", { key: E, rel: "modulepreload", href: E, ...r })), M.map(({ key: E, link: p }) => (
|
|
5863
5863
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5864
5864
|
// already with their own props
|
|
5865
5865
|
/* @__PURE__ */ D.createElement("link", { key: E, ...p })
|
|
@@ -5915,12 +5915,12 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5915
5915
|
state: u,
|
|
5916
5916
|
target: l,
|
|
5917
5917
|
to: h,
|
|
5918
|
-
preventScrollReset:
|
|
5918
|
+
preventScrollReset: g,
|
|
5919
5919
|
viewTransition: x,
|
|
5920
|
-
...
|
|
5921
|
-
},
|
|
5922
|
-
let { basename: E } = D.useContext(we), p = typeof h == "string" && gn.test(h),
|
|
5923
|
-
if (typeof h == "string" && p && (
|
|
5920
|
+
...j
|
|
5921
|
+
}, M) {
|
|
5922
|
+
let { basename: E } = D.useContext(we), p = typeof h == "string" && gn.test(h), I, C = !1;
|
|
5923
|
+
if (typeof h == "string" && p && (I = h, vn))
|
|
5924
5924
|
try {
|
|
5925
5925
|
let y = new URL(window.location.href), d = h.startsWith("//") ? new URL(y.protocol + h) : new URL(h), O = xe(d.pathname, E);
|
|
5926
5926
|
d.origin === y.origin && O != null ? h = O + d.search + d.hash : C = !0;
|
|
@@ -5930,14 +5930,14 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5930
5930
|
`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5931
5931
|
);
|
|
5932
5932
|
}
|
|
5933
|
-
let F = Ba(h, { relative: i }), [U, V,
|
|
5933
|
+
let F = Ba(h, { relative: i }), [U, V, v] = To(
|
|
5934
5934
|
a,
|
|
5935
|
-
|
|
5935
|
+
j
|
|
5936
5936
|
), b = Ho(h, {
|
|
5937
5937
|
replace: c,
|
|
5938
5938
|
state: u,
|
|
5939
5939
|
target: l,
|
|
5940
|
-
preventScrollReset:
|
|
5940
|
+
preventScrollReset: g,
|
|
5941
5941
|
relative: i,
|
|
5942
5942
|
viewTransition: x
|
|
5943
5943
|
});
|
|
@@ -5949,11 +5949,11 @@ var gn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yn = D.forwardRef(
|
|
|
5949
5949
|
/* @__PURE__ */ D.createElement(
|
|
5950
5950
|
"a",
|
|
5951
5951
|
{
|
|
5952
|
-
...
|
|
5953
|
-
...
|
|
5954
|
-
href:
|
|
5952
|
+
...j,
|
|
5953
|
+
...v,
|
|
5954
|
+
href: I || F,
|
|
5955
5955
|
onClick: C || s ? t : w,
|
|
5956
|
-
ref: Do(
|
|
5956
|
+
ref: Do(M, V),
|
|
5957
5957
|
target: l,
|
|
5958
5958
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
5959
5959
|
}
|
|
@@ -5974,22 +5974,22 @@ var $o = D.forwardRef(
|
|
|
5974
5974
|
viewTransition: u,
|
|
5975
5975
|
children: l,
|
|
5976
5976
|
...h
|
|
5977
|
-
},
|
|
5978
|
-
let x = et(c, { relative: h.relative }),
|
|
5977
|
+
}, g) {
|
|
5978
|
+
let x = et(c, { relative: h.relative }), j = ke(), M = D.useContext(Ot), { navigator: E, basename: p } = D.useContext(we), I = M != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5979
5979
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5980
|
-
Yo(x) && u === !0, C = E.encodeLocation ? E.encodeLocation(x).pathname : x.pathname, F =
|
|
5980
|
+
Yo(x) && u === !0, C = E.encodeLocation ? E.encodeLocation(x).pathname : x.pathname, F = j.pathname, U = M && M.navigation && M.navigation.location ? M.navigation.location.pathname : null;
|
|
5981
5981
|
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, C = C.toLowerCase()), U && p && (U = xe(U, p) || U);
|
|
5982
5982
|
const V = C !== "/" && C.endsWith("/") ? C.length - 1 : C.length;
|
|
5983
|
-
let
|
|
5984
|
-
isActive:
|
|
5983
|
+
let v = F === C || !i && F.startsWith(C) && F.charAt(V) === "/", b = U != null && (U === C || !i && U.startsWith(C) && U.charAt(C.length) === "/"), w = {
|
|
5984
|
+
isActive: v,
|
|
5985
5985
|
isPending: b,
|
|
5986
|
-
isTransitioning:
|
|
5987
|
-
}, P =
|
|
5986
|
+
isTransitioning: I
|
|
5987
|
+
}, P = v ? t : void 0, y;
|
|
5988
5988
|
typeof a == "function" ? y = a(w) : y = [
|
|
5989
5989
|
a,
|
|
5990
|
-
|
|
5990
|
+
v ? "active" : null,
|
|
5991
5991
|
b ? "pending" : null,
|
|
5992
|
-
|
|
5992
|
+
I ? "transitioning" : null
|
|
5993
5993
|
].filter(Boolean).join(" ");
|
|
5994
5994
|
let d = typeof s == "function" ? s(w) : s;
|
|
5995
5995
|
return /* @__PURE__ */ D.createElement(
|
|
@@ -5998,7 +5998,7 @@ var $o = D.forwardRef(
|
|
|
5998
5998
|
...h,
|
|
5999
5999
|
"aria-current": P,
|
|
6000
6000
|
className: y,
|
|
6001
|
-
ref:
|
|
6001
|
+
ref: g,
|
|
6002
6002
|
style: d,
|
|
6003
6003
|
to: c,
|
|
6004
6004
|
viewTransition: u
|
|
@@ -6020,33 +6020,33 @@ var Io = D.forwardRef(
|
|
|
6020
6020
|
action: u,
|
|
6021
6021
|
onSubmit: l,
|
|
6022
6022
|
relative: h,
|
|
6023
|
-
preventScrollReset:
|
|
6023
|
+
preventScrollReset: g,
|
|
6024
6024
|
viewTransition: x,
|
|
6025
|
-
...
|
|
6026
|
-
},
|
|
6027
|
-
let E = Wo(), p = Uo(u, { relative: h }),
|
|
6025
|
+
...j
|
|
6026
|
+
}, M) => {
|
|
6027
|
+
let E = Wo(), p = Uo(u, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", C = typeof u == "string" && gn.test(u), F = (U) => {
|
|
6028
6028
|
if (l && l(U), U.defaultPrevented) return;
|
|
6029
6029
|
U.preventDefault();
|
|
6030
|
-
let V = U.nativeEvent.submitter,
|
|
6030
|
+
let V = U.nativeEvent.submitter, v = V?.getAttribute("formmethod") || c;
|
|
6031
6031
|
E(V || U.currentTarget, {
|
|
6032
6032
|
fetcherKey: t,
|
|
6033
|
-
method:
|
|
6033
|
+
method: v,
|
|
6034
6034
|
navigate: r,
|
|
6035
6035
|
replace: i,
|
|
6036
6036
|
state: s,
|
|
6037
6037
|
relative: h,
|
|
6038
|
-
preventScrollReset:
|
|
6038
|
+
preventScrollReset: g,
|
|
6039
6039
|
viewTransition: x
|
|
6040
6040
|
});
|
|
6041
6041
|
};
|
|
6042
6042
|
return /* @__PURE__ */ D.createElement(
|
|
6043
6043
|
"form",
|
|
6044
6044
|
{
|
|
6045
|
-
ref:
|
|
6046
|
-
method:
|
|
6045
|
+
ref: M,
|
|
6046
|
+
method: I,
|
|
6047
6047
|
action: p,
|
|
6048
6048
|
onSubmit: a ? l : F,
|
|
6049
|
-
...
|
|
6049
|
+
...j,
|
|
6050
6050
|
"data-discover": !C && e === "render" ? "true" : void 0
|
|
6051
6051
|
}
|
|
6052
6052
|
);
|
|
@@ -6070,9 +6070,9 @@ function Ho(e, {
|
|
|
6070
6070
|
} = {}) {
|
|
6071
6071
|
let u = Kt(), l = ke(), h = et(e, { relative: s });
|
|
6072
6072
|
return D.useCallback(
|
|
6073
|
-
(
|
|
6074
|
-
if (po(
|
|
6075
|
-
|
|
6073
|
+
(g) => {
|
|
6074
|
+
if (po(g, t)) {
|
|
6075
|
+
g.preventDefault();
|
|
6076
6076
|
let x = r !== void 0 ? r : Ge(l) === Ge(h);
|
|
6077
6077
|
u(e, {
|
|
6078
6078
|
replace: x,
|
|
@@ -6137,8 +6137,8 @@ function Wo() {
|
|
|
6137
6137
|
t
|
|
6138
6138
|
);
|
|
6139
6139
|
if (i.navigate === !1) {
|
|
6140
|
-
let
|
|
6141
|
-
await e.fetch(
|
|
6140
|
+
let g = i.fetcherKey || Fo();
|
|
6141
|
+
await e.fetch(g, r, i.action || s, {
|
|
6142
6142
|
preventScrollReset: i.preventScrollReset,
|
|
6143
6143
|
formData: l,
|
|
6144
6144
|
body: h,
|
|
@@ -6170,10 +6170,10 @@ function Uo(e, { relative: t } = {}) {
|
|
|
6170
6170
|
if (e == null) {
|
|
6171
6171
|
s.search = c.search;
|
|
6172
6172
|
let u = new URLSearchParams(s.search), l = u.getAll("index");
|
|
6173
|
-
if (l.some((
|
|
6173
|
+
if (l.some((g) => g === "")) {
|
|
6174
6174
|
u.delete("index"), l.filter((x) => x).forEach((x) => u.append("index", x));
|
|
6175
|
-
let
|
|
6176
|
-
s.search =
|
|
6175
|
+
let g = u.toString();
|
|
6176
|
+
s.search = g ? `?${g}` : "";
|
|
6177
6177
|
}
|
|
6178
6178
|
}
|
|
6179
6179
|
return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : Se([r, s.pathname])), Ge(s);
|
|
@@ -6209,44 +6209,44 @@ const wn = q.createContext({
|
|
|
6209
6209
|
[e]
|
|
6210
6210
|
), a = Re(
|
|
6211
6211
|
(h) => {
|
|
6212
|
-
const
|
|
6212
|
+
const g = {};
|
|
6213
6213
|
return h.forEach((x) => {
|
|
6214
|
-
|
|
6215
|
-
}),
|
|
6214
|
+
g[x] = e.get(x);
|
|
6215
|
+
}), g;
|
|
6216
6216
|
},
|
|
6217
6217
|
[e]
|
|
6218
6218
|
), i = Re(
|
|
6219
6219
|
(h) => {
|
|
6220
|
-
const
|
|
6221
|
-
return
|
|
6220
|
+
const g = e.get(h);
|
|
6221
|
+
return g == null || g == null, g;
|
|
6222
6222
|
},
|
|
6223
6223
|
[e]
|
|
6224
6224
|
), s = Re(
|
|
6225
|
-
(h,
|
|
6225
|
+
(h, g) => {
|
|
6226
6226
|
const x = new URLSearchParams(e);
|
|
6227
|
-
x.set(h, String(
|
|
6227
|
+
x.set(h, String(g)), t(x);
|
|
6228
6228
|
},
|
|
6229
6229
|
[e, t]
|
|
6230
6230
|
), c = Re(
|
|
6231
6231
|
(h) => {
|
|
6232
|
-
const
|
|
6233
|
-
Object.entries(h).forEach(([x,
|
|
6234
|
-
|
|
6235
|
-
}), t(
|
|
6232
|
+
const g = new URLSearchParams(e);
|
|
6233
|
+
Object.entries(h).forEach(([x, j]) => {
|
|
6234
|
+
j != null && g.set(x, String(j));
|
|
6235
|
+
}), t(g);
|
|
6236
6236
|
},
|
|
6237
6237
|
[e, t]
|
|
6238
6238
|
), u = Re(
|
|
6239
6239
|
(h) => {
|
|
6240
|
-
const
|
|
6241
|
-
|
|
6240
|
+
const g = new URLSearchParams(e);
|
|
6241
|
+
g.delete(h), t(g);
|
|
6242
6242
|
},
|
|
6243
6243
|
[e, t]
|
|
6244
6244
|
), l = Re(
|
|
6245
6245
|
(h) => {
|
|
6246
|
-
const
|
|
6246
|
+
const g = new URLSearchParams(e);
|
|
6247
6247
|
h.forEach((x) => {
|
|
6248
|
-
|
|
6249
|
-
}), t(
|
|
6248
|
+
g.delete(String(x));
|
|
6249
|
+
}), t(g);
|
|
6250
6250
|
},
|
|
6251
6251
|
[e, t]
|
|
6252
6252
|
);
|
|
@@ -6262,8 +6262,8 @@ const wn = q.createContext({
|
|
|
6262
6262
|
}, os = () => {
|
|
6263
6263
|
const e = Kt(), t = ke(), r = qo(), a = Yt(wn), i = (u) => {
|
|
6264
6264
|
const l = new URL(u.path, "http://dummy-base");
|
|
6265
|
-
return u.params && Object.entries(u.params).forEach(([h,
|
|
6266
|
-
|
|
6265
|
+
return u.params && Object.entries(u.params).forEach(([h, g]) => {
|
|
6266
|
+
g != null && l.searchParams.set(h, String(g));
|
|
6267
6267
|
}), l.pathname + l.search;
|
|
6268
6268
|
}, s = q.useCallback(
|
|
6269
6269
|
(u) => {
|
|
@@ -6286,36 +6286,37 @@ const wn = q.createContext({
|
|
|
6286
6286
|
goTo: s
|
|
6287
6287
|
};
|
|
6288
6288
|
}, ss = ({
|
|
6289
|
-
|
|
6290
|
-
|
|
6289
|
+
isReady: e = !0,
|
|
6290
|
+
routes: t,
|
|
6291
|
+
children: r
|
|
6291
6292
|
}) => {
|
|
6292
|
-
const
|
|
6293
|
-
|
|
6294
|
-
}, []),
|
|
6295
|
-
let
|
|
6296
|
-
|
|
6297
|
-
},
|
|
6298
|
-
let
|
|
6299
|
-
return
|
|
6293
|
+
const a = q.useRef([]), [i, s] = q.useState([]), c = q.useCallback((x) => {
|
|
6294
|
+
a.current = x, s(x);
|
|
6295
|
+
}, []), u = (x, j = !1) => {
|
|
6296
|
+
let M = [...a.current];
|
|
6297
|
+
j && (M = M.slice(0, M.length - 1)), M = [...M, x], c(M);
|
|
6298
|
+
}, l = (x) => {
|
|
6299
|
+
let j = "", M = [];
|
|
6300
|
+
return a.current.length === 0 ? "/" : (a.current.length <= x ? (j = a.current[0], M = [j]) : (M = a.current.slice(
|
|
6300
6301
|
0,
|
|
6301
|
-
|
|
6302
|
-
),
|
|
6303
|
-
},
|
|
6304
|
-
|
|
6305
|
-
},
|
|
6306
|
-
return /* @__PURE__ */
|
|
6302
|
+
a.current.length - x
|
|
6303
|
+
), j = M[M.length - 1]), c(M), j);
|
|
6304
|
+
}, h = (x) => {
|
|
6305
|
+
c(x);
|
|
6306
|
+
}, g = t.map((x) => /* @__PURE__ */ K.jsx(hn, { path: x.path, element: x.render }));
|
|
6307
|
+
return /* @__PURE__ */ K.jsx(
|
|
6307
6308
|
wn.Provider,
|
|
6308
6309
|
{
|
|
6309
6310
|
value: {
|
|
6310
|
-
history:
|
|
6311
|
-
addToHistory:
|
|
6312
|
-
popFromHistory:
|
|
6313
|
-
replaceHistory:
|
|
6311
|
+
history: i,
|
|
6312
|
+
addToHistory: u,
|
|
6313
|
+
popFromHistory: l,
|
|
6314
|
+
replaceHistory: h
|
|
6314
6315
|
},
|
|
6315
|
-
children: /* @__PURE__ */
|
|
6316
|
-
|
|
6317
|
-
/* @__PURE__ */
|
|
6318
|
-
] })
|
|
6316
|
+
children: /* @__PURE__ */ K.jsx(Mo, { children: e && /* @__PURE__ */ K.jsxs(K.Fragment, { children: [
|
|
6317
|
+
r,
|
|
6318
|
+
/* @__PURE__ */ K.jsx(lo, { children: g })
|
|
6319
|
+
] }) })
|
|
6319
6320
|
}
|
|
6320
6321
|
);
|
|
6321
6322
|
}, Sn = q.createContext(
|
|
@@ -6338,12 +6339,12 @@ const wn = q.createContext({
|
|
|
6338
6339
|
), u = q.useCallback(
|
|
6339
6340
|
(l) => {
|
|
6340
6341
|
s(l) && i(
|
|
6341
|
-
t.current.filter((
|
|
6342
|
+
t.current.filter((g) => g !== l)
|
|
6342
6343
|
);
|
|
6343
6344
|
},
|
|
6344
6345
|
[s, i]
|
|
6345
6346
|
);
|
|
6346
|
-
return /* @__PURE__ */
|
|
6347
|
+
return /* @__PURE__ */ K.jsx(
|
|
6347
6348
|
Sn.Provider,
|
|
6348
6349
|
{
|
|
6349
6350
|
value: {
|
|
@@ -6374,19 +6375,19 @@ const wn = q.createContext({
|
|
|
6374
6375
|
}) => {
|
|
6375
6376
|
const { isItemVisible: a } = Ct(), [i, s] = q.useState({
|
|
6376
6377
|
isDragging: !1
|
|
6377
|
-
}), c = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [h,
|
|
6378
|
+
}), c = q.useRef(null), u = q.useRef(null), l = q.useRef(null), [h, g] = q.useState(0), x = (E) => {
|
|
6378
6379
|
s(E);
|
|
6379
|
-
},
|
|
6380
|
-
s(E),
|
|
6380
|
+
}, j = (E) => {
|
|
6381
|
+
s(E), g(0);
|
|
6381
6382
|
};
|
|
6382
6383
|
return oa({
|
|
6383
6384
|
ref: l,
|
|
6384
6385
|
onDrag: (E) => {
|
|
6385
6386
|
s(E);
|
|
6386
6387
|
const p = u.current?.clientHeight || 0;
|
|
6387
|
-
E.distanceY && (
|
|
6388
|
+
E.distanceY && (g(E.distanceY < 0 ? 0 : -E.distanceY), E.distanceY >= p - r && (t?.(), j(E)));
|
|
6388
6389
|
},
|
|
6389
|
-
onDragEnd:
|
|
6390
|
+
onDragEnd: j,
|
|
6390
6391
|
onDragStart: x
|
|
6391
6392
|
}), {
|
|
6392
6393
|
isVisible: a(e),
|
|
@@ -6403,7 +6404,7 @@ const wn = q.createContext({
|
|
|
6403
6404
|
handleRef: l,
|
|
6404
6405
|
drawerBottomDistance: h
|
|
6405
6406
|
} = Bo(e);
|
|
6406
|
-
return /* @__PURE__ */
|
|
6407
|
+
return /* @__PURE__ */ K.jsx(K.Fragment, { children: s && /* @__PURE__ */ K.jsx(
|
|
6407
6408
|
"div",
|
|
6408
6409
|
{
|
|
6409
6410
|
ref: c,
|
|
@@ -6421,7 +6422,7 @@ const wn = q.createContext({
|
|
|
6421
6422
|
touchAction: "none",
|
|
6422
6423
|
...r
|
|
6423
6424
|
},
|
|
6424
|
-
children: /* @__PURE__ */
|
|
6425
|
+
children: /* @__PURE__ */ K.jsxs(
|
|
6425
6426
|
"div",
|
|
6426
6427
|
{
|
|
6427
6428
|
ref: u,
|
|
@@ -6443,11 +6444,11 @@ const wn = q.createContext({
|
|
|
6443
6444
|
bottom: `${h}px`,
|
|
6444
6445
|
...a
|
|
6445
6446
|
},
|
|
6446
|
-
onClick: (
|
|
6447
|
-
|
|
6447
|
+
onClick: (g) => {
|
|
6448
|
+
g.stopPropagation();
|
|
6448
6449
|
},
|
|
6449
6450
|
children: [
|
|
6450
|
-
/* @__PURE__ */
|
|
6451
|
+
/* @__PURE__ */ K.jsx(
|
|
6451
6452
|
"div",
|
|
6452
6453
|
{
|
|
6453
6454
|
ref: l,
|
|
@@ -6475,14 +6476,14 @@ const wn = q.createContext({
|
|
|
6475
6476
|
const r = q.useRef(null), a = q.useCallback(
|
|
6476
6477
|
(c) => {
|
|
6477
6478
|
var u = Object.keys(c.currentTarget.elements), l = Object.values(c.currentTarget.elements), h = [];
|
|
6478
|
-
for (let
|
|
6479
|
-
const x = u[
|
|
6480
|
-
if (t.findIndex((
|
|
6479
|
+
for (let g = 0; g < u.length; g++) {
|
|
6480
|
+
const x = u[g];
|
|
6481
|
+
if (t.findIndex((M) => M.name === x) === -1)
|
|
6481
6482
|
continue;
|
|
6482
|
-
const
|
|
6483
|
+
const j = l[g].value;
|
|
6483
6484
|
h.push({
|
|
6484
6485
|
name: x,
|
|
6485
|
-
value:
|
|
6486
|
+
value: j
|
|
6486
6487
|
});
|
|
6487
6488
|
}
|
|
6488
6489
|
return h;
|
|
@@ -6505,7 +6506,7 @@ const wn = q.createContext({
|
|
|
6505
6506
|
};
|
|
6506
6507
|
}, cs = (e) => {
|
|
6507
6508
|
const { fields: t, styles: r, submitButton: a } = e, { ref: i, handleFormSubmission: s, submitForm: c } = Vo(e), u = q.useCallback(() => t.map((l) => ({ ...l.content, key: l.name })), [t]);
|
|
6508
|
-
return /* @__PURE__ */
|
|
6509
|
+
return /* @__PURE__ */ K.jsxs(
|
|
6509
6510
|
"form",
|
|
6510
6511
|
{
|
|
6511
6512
|
ref: i,
|
|
@@ -6520,7 +6521,7 @@ const wn = q.createContext({
|
|
|
6520
6521
|
},
|
|
6521
6522
|
children: [
|
|
6522
6523
|
u(),
|
|
6523
|
-
/* @__PURE__ */
|
|
6524
|
+
/* @__PURE__ */ K.jsx(
|
|
6524
6525
|
"div",
|
|
6525
6526
|
{
|
|
6526
6527
|
onClick: c,
|
|
@@ -6537,7 +6538,7 @@ const wn = q.createContext({
|
|
|
6537
6538
|
]
|
|
6538
6539
|
}
|
|
6539
6540
|
);
|
|
6540
|
-
}, fs = ({ src: e, alt: t = "", onClick: r, styles: a }) => /* @__PURE__ */
|
|
6541
|
+
}, fs = ({ src: e, alt: t = "", onClick: r, styles: a }) => /* @__PURE__ */ K.jsx(
|
|
6541
6542
|
"img",
|
|
6542
6543
|
{
|
|
6543
6544
|
src: e,
|
|
@@ -6583,29 +6584,29 @@ const wn = q.createContext({
|
|
|
6583
6584
|
value: u,
|
|
6584
6585
|
initialValue: l,
|
|
6585
6586
|
type: h = "text",
|
|
6586
|
-
onChange:
|
|
6587
|
+
onChange: g,
|
|
6587
6588
|
onFocus: x,
|
|
6588
|
-
inputStyles:
|
|
6589
|
-
containerProps:
|
|
6589
|
+
inputStyles: j,
|
|
6590
|
+
containerProps: M,
|
|
6590
6591
|
step: E
|
|
6591
6592
|
}) => {
|
|
6592
6593
|
const p = (C) => {
|
|
6593
|
-
|
|
6594
|
-
},
|
|
6594
|
+
g?.(C.currentTarget.value);
|
|
6595
|
+
}, I = (C) => {
|
|
6595
6596
|
x?.();
|
|
6596
6597
|
};
|
|
6597
|
-
return /* @__PURE__ */
|
|
6598
|
+
return /* @__PURE__ */ K.jsxs(
|
|
6598
6599
|
Xo,
|
|
6599
6600
|
{
|
|
6600
6601
|
style: {
|
|
6601
6602
|
width: "100%",
|
|
6602
6603
|
maxWidth: "357px",
|
|
6603
6604
|
gap: "8px",
|
|
6604
|
-
...
|
|
6605
|
+
...M
|
|
6605
6606
|
},
|
|
6606
6607
|
children: [
|
|
6607
6608
|
t,
|
|
6608
|
-
/* @__PURE__ */
|
|
6609
|
+
/* @__PURE__ */ K.jsxs(
|
|
6609
6610
|
"div",
|
|
6610
6611
|
{
|
|
6611
6612
|
style: {
|
|
@@ -6626,11 +6627,11 @@ const wn = q.createContext({
|
|
|
6626
6627
|
outline: "none",
|
|
6627
6628
|
alignItems: "center",
|
|
6628
6629
|
gap: "10px",
|
|
6629
|
-
...
|
|
6630
|
+
...j
|
|
6630
6631
|
},
|
|
6631
6632
|
children: [
|
|
6632
6633
|
r,
|
|
6633
|
-
/* @__PURE__ */
|
|
6634
|
+
/* @__PURE__ */ K.jsx(
|
|
6634
6635
|
"input",
|
|
6635
6636
|
{
|
|
6636
6637
|
name: e,
|
|
@@ -6653,7 +6654,7 @@ const wn = q.createContext({
|
|
|
6653
6654
|
value: u,
|
|
6654
6655
|
defaultValue: l,
|
|
6655
6656
|
onChange: p,
|
|
6656
|
-
onFocus:
|
|
6657
|
+
onFocus: I
|
|
6657
6658
|
}
|
|
6658
6659
|
),
|
|
6659
6660
|
a
|
|
@@ -6666,7 +6667,7 @@ const wn = q.createContext({
|
|
|
6666
6667
|
);
|
|
6667
6668
|
}, hs = ({ id: e, styles: t, children: r }) => {
|
|
6668
6669
|
const { isItemVisible: a } = Ct();
|
|
6669
|
-
return /* @__PURE__ */
|
|
6670
|
+
return /* @__PURE__ */ K.jsx(K.Fragment, { children: a(e) && /* @__PURE__ */ K.jsx(
|
|
6670
6671
|
"div",
|
|
6671
6672
|
{
|
|
6672
6673
|
style: {
|
|
@@ -6693,7 +6694,7 @@ const wn = q.createContext({
|
|
|
6693
6694
|
onClickOutsideModal: i
|
|
6694
6695
|
}) => {
|
|
6695
6696
|
const { isItemVisible: s } = Ct();
|
|
6696
|
-
return /* @__PURE__ */
|
|
6697
|
+
return /* @__PURE__ */ K.jsx(K.Fragment, { children: s(e) && /* @__PURE__ */ K.jsx(
|
|
6697
6698
|
"div",
|
|
6698
6699
|
{
|
|
6699
6700
|
style: {
|
|
@@ -6715,7 +6716,7 @@ const wn = q.createContext({
|
|
|
6715
6716
|
onClick: () => {
|
|
6716
6717
|
i?.();
|
|
6717
6718
|
},
|
|
6718
|
-
children: /* @__PURE__ */
|
|
6719
|
+
children: /* @__PURE__ */ K.jsx(
|
|
6719
6720
|
"div",
|
|
6720
6721
|
{
|
|
6721
6722
|
style: {
|
|
@@ -6749,8 +6750,8 @@ const wn = q.createContext({
|
|
|
6749
6750
|
}, [t, t.current]), l = q.useCallback(() => {
|
|
6750
6751
|
r.current && c(r.current.clientHeight);
|
|
6751
6752
|
}, [r, r.current]), h = q.useCallback(() => {
|
|
6752
|
-
let
|
|
6753
|
-
return e.header?.visibility === "always" && (
|
|
6753
|
+
let g = 0;
|
|
6754
|
+
return e.header?.visibility === "always" && (g = g + (a || 0)), e.footer?.visibility === "always" && (g = g + (s || 0)), g;
|
|
6754
6755
|
}, [r, r.current]);
|
|
6755
6756
|
return q.useEffect(() => {
|
|
6756
6757
|
u();
|
|
@@ -6802,7 +6803,7 @@ const wn = q.createContext({
|
|
|
6802
6803
|
floatingContent: s,
|
|
6803
6804
|
reserveSpaceForScrollbar: c
|
|
6804
6805
|
} = e, { footer: u, header: l } = Go(e);
|
|
6805
|
-
return /* @__PURE__ */
|
|
6806
|
+
return /* @__PURE__ */ K.jsxs(
|
|
6806
6807
|
Ko,
|
|
6807
6808
|
{
|
|
6808
6809
|
id: "page-container",
|
|
@@ -6810,7 +6811,7 @@ const wn = q.createContext({
|
|
|
6810
6811
|
...t
|
|
6811
6812
|
},
|
|
6812
6813
|
children: [
|
|
6813
|
-
l.visible && /* @__PURE__ */
|
|
6814
|
+
l.visible && /* @__PURE__ */ K.jsx(
|
|
6814
6815
|
"div",
|
|
6815
6816
|
{
|
|
6816
6817
|
ref: l.ref,
|
|
@@ -6831,7 +6832,7 @@ const wn = q.createContext({
|
|
|
6831
6832
|
children: l.content
|
|
6832
6833
|
}
|
|
6833
6834
|
),
|
|
6834
|
-
/* @__PURE__ */
|
|
6835
|
+
/* @__PURE__ */ K.jsx(
|
|
6835
6836
|
"div",
|
|
6836
6837
|
{
|
|
6837
6838
|
id: "page-body",
|
|
@@ -6843,7 +6844,7 @@ const wn = q.createContext({
|
|
|
6843
6844
|
marginTop: `-${l.height}px`,
|
|
6844
6845
|
marginBottom: `-${u.height}px`
|
|
6845
6846
|
},
|
|
6846
|
-
children: /* @__PURE__ */
|
|
6847
|
+
children: /* @__PURE__ */ K.jsx(
|
|
6847
6848
|
"div",
|
|
6848
6849
|
{
|
|
6849
6850
|
id: "page-content",
|
|
@@ -6867,7 +6868,7 @@ const wn = q.createContext({
|
|
|
6867
6868
|
)
|
|
6868
6869
|
}
|
|
6869
6870
|
),
|
|
6870
|
-
u.visible && /* @__PURE__ */
|
|
6871
|
+
u.visible && /* @__PURE__ */ K.jsx(
|
|
6871
6872
|
"div",
|
|
6872
6873
|
{
|
|
6873
6874
|
ref: u.ref,
|
|
@@ -6901,7 +6902,7 @@ const wn = q.createContext({
|
|
|
6901
6902
|
alt: c = "",
|
|
6902
6903
|
onClick: u,
|
|
6903
6904
|
styles: l
|
|
6904
|
-
}) => /* @__PURE__ */
|
|
6905
|
+
}) => /* @__PURE__ */ K.jsx(
|
|
6905
6906
|
"div",
|
|
6906
6907
|
{
|
|
6907
6908
|
style: {
|
|
@@ -6913,7 +6914,7 @@ const wn = q.createContext({
|
|
|
6913
6914
|
...l
|
|
6914
6915
|
},
|
|
6915
6916
|
onClick: () => u?.(),
|
|
6916
|
-
children: /* @__PURE__ */
|
|
6917
|
+
children: /* @__PURE__ */ K.jsx(
|
|
6917
6918
|
"svg",
|
|
6918
6919
|
{
|
|
6919
6920
|
width: t,
|
|
@@ -6939,7 +6940,7 @@ const wn = q.createContext({
|
|
|
6939
6940
|
return q.useEffect(() => {
|
|
6940
6941
|
const u = s(e);
|
|
6941
6942
|
i.current !== u && (i.current = u, u && setTimeout(() => c(e), a * 1e3));
|
|
6942
|
-
}, [i, s, c]), /* @__PURE__ */
|
|
6943
|
+
}, [i, s, c]), /* @__PURE__ */ K.jsx(K.Fragment, { children: s(e) && /* @__PURE__ */ K.jsx(
|
|
6943
6944
|
"div",
|
|
6944
6945
|
{
|
|
6945
6946
|
style: {
|
|
@@ -6970,7 +6971,7 @@ const wn = q.createContext({
|
|
|
6970
6971
|
overflowEllipsis: e,
|
|
6971
6972
|
children: t,
|
|
6972
6973
|
styles: r
|
|
6973
|
-
}) => /* @__PURE__ */
|
|
6974
|
+
}) => /* @__PURE__ */ K.jsx(
|
|
6974
6975
|
"p",
|
|
6975
6976
|
{
|
|
6976
6977
|
style: {
|