@eliseubatista99/react-scaffold-core 0.1.15 → 0.1.17
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
|
@@ -28,7 +28,7 @@ function gn(e) {
|
|
|
28
28
|
});
|
|
29
29
|
}), r;
|
|
30
30
|
}
|
|
31
|
-
var rt = { exports: {} },
|
|
31
|
+
var rt = { exports: {} }, ze = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.production.js
|
|
@@ -40,7 +40,7 @@ var rt = { exports: {} }, Ae = {};
|
|
|
40
40
|
*/
|
|
41
41
|
var Gt;
|
|
42
42
|
function bn() {
|
|
43
|
-
if (Gt) return
|
|
43
|
+
if (Gt) return ze;
|
|
44
44
|
Gt = 1;
|
|
45
45
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
46
46
|
function r(o, i, a) {
|
|
@@ -58,9 +58,9 @@ function bn() {
|
|
|
58
58
|
props: a
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
return
|
|
61
|
+
return ze.Fragment = t, ze.jsx = r, ze.jsxs = r, ze;
|
|
62
62
|
}
|
|
63
|
-
var
|
|
63
|
+
var He = {};
|
|
64
64
|
/**
|
|
65
65
|
* @license React
|
|
66
66
|
* react-jsx-runtime.development.js
|
|
@@ -81,9 +81,9 @@ function wn() {
|
|
|
81
81
|
switch (n) {
|
|
82
82
|
case v:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case
|
|
84
|
+
case k:
|
|
85
85
|
return "Profiler";
|
|
86
|
-
case
|
|
86
|
+
case M:
|
|
87
87
|
return "StrictMode";
|
|
88
88
|
case p:
|
|
89
89
|
return "Suspense";
|
|
@@ -107,7 +107,7 @@ function wn() {
|
|
|
107
107
|
return n = n.displayName, n || (n = u.displayName || u.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
108
|
case g:
|
|
109
109
|
return u = n.displayName || null, u !== null ? u : e(n.type) || "Memo";
|
|
110
|
-
case
|
|
110
|
+
case O:
|
|
111
111
|
u = n._payload, n = n._init;
|
|
112
112
|
try {
|
|
113
113
|
return e(n(u));
|
|
@@ -128,17 +128,17 @@ function wn() {
|
|
|
128
128
|
}
|
|
129
129
|
if (u) {
|
|
130
130
|
u = console;
|
|
131
|
-
var S = u.error,
|
|
131
|
+
var S = u.error, I = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
132
132
|
return S.call(
|
|
133
133
|
u,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
|
-
|
|
135
|
+
I
|
|
136
136
|
), t(n);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
function o(n) {
|
|
140
140
|
if (n === v) return "<>";
|
|
141
|
-
if (typeof n == "object" && n !== null && n.$$typeof ===
|
|
141
|
+
if (typeof n == "object" && n !== null && n.$$typeof === O)
|
|
142
142
|
return "<...>";
|
|
143
143
|
try {
|
|
144
144
|
var u = e(n);
|
|
@@ -179,7 +179,7 @@ function wn() {
|
|
|
179
179
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
180
180
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
181
181
|
}
|
|
182
|
-
function h(n, u, S,
|
|
182
|
+
function h(n, u, S, I, j, H, z, $) {
|
|
183
183
|
return S = H.ref, n = {
|
|
184
184
|
$$typeof: A,
|
|
185
185
|
type: n,
|
|
@@ -211,13 +211,13 @@ function wn() {
|
|
|
211
211
|
value: $
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function w(n, u, S,
|
|
214
|
+
function w(n, u, S, I, j, H, z, $) {
|
|
215
215
|
var Y = u.children;
|
|
216
216
|
if (Y !== void 0)
|
|
217
|
-
if (
|
|
217
|
+
if (I)
|
|
218
218
|
if (x(Y)) {
|
|
219
|
-
for (
|
|
220
|
-
E(Y[
|
|
219
|
+
for (I = 0; I < Y.length; I++)
|
|
220
|
+
E(Y[I]);
|
|
221
221
|
Object.freeze && Object.freeze(Y);
|
|
222
222
|
} else
|
|
223
223
|
console.error(
|
|
@@ -229,18 +229,18 @@ function wn() {
|
|
|
229
229
|
var V = Object.keys(u).filter(function(re) {
|
|
230
230
|
return re !== "key";
|
|
231
231
|
});
|
|
232
|
-
|
|
232
|
+
I = 0 < V.length ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}", b[Y + I] || (V = 0 < V.length ? "{" + V.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
|
+
I,
|
|
240
240
|
Y,
|
|
241
241
|
V,
|
|
242
242
|
Y
|
|
243
|
-
), b[Y +
|
|
243
|
+
), b[Y + I] = !0);
|
|
244
244
|
}
|
|
245
245
|
if (Y = null, S !== void 0 && (r(S), Y = "" + S), l(u) && (r(u.key), Y = "" + u.key), "key" in u) {
|
|
246
246
|
S = {};
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
function E(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === A && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var R = U, A = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), v = Symbol.for("react.fragment"),
|
|
267
|
+
var R = U, A = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), q = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), m = Symbol.for("react.activity"), c = Symbol.for("react.client.reference"), P = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, x = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
270
|
R = {
|
|
@@ -276,39 +276,39 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276
276
|
R,
|
|
277
277
|
a
|
|
278
278
|
)(), J = T(o(a)), b = {};
|
|
279
|
-
|
|
279
|
+
He.Fragment = v, He.jsx = function(n, u, S, I, j) {
|
|
280
280
|
var H = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return w(
|
|
282
282
|
n,
|
|
283
283
|
u,
|
|
284
284
|
S,
|
|
285
285
|
!1,
|
|
286
|
-
|
|
286
|
+
I,
|
|
287
287
|
j,
|
|
288
288
|
H ? Error("react-stack-top-frame") : s,
|
|
289
289
|
H ? T(o(n)) : J
|
|
290
290
|
);
|
|
291
|
-
},
|
|
291
|
+
}, He.jsxs = function(n, u, S, I, j) {
|
|
292
292
|
var H = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return w(
|
|
294
294
|
n,
|
|
295
295
|
u,
|
|
296
296
|
S,
|
|
297
297
|
!0,
|
|
298
|
-
|
|
298
|
+
I,
|
|
299
299
|
j,
|
|
300
300
|
H ? Error("react-stack-top-frame") : s,
|
|
301
301
|
H ? T(o(n)) : J
|
|
302
302
|
);
|
|
303
303
|
};
|
|
304
|
-
}()),
|
|
304
|
+
}()), He;
|
|
305
305
|
}
|
|
306
306
|
var Jt;
|
|
307
307
|
function Sn() {
|
|
308
308
|
return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? rt.exports = bn() : rt.exports = wn()), rt.exports;
|
|
309
309
|
}
|
|
310
310
|
var G = Sn();
|
|
311
|
-
const
|
|
311
|
+
const Ia = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
@@ -328,7 +328,7 @@ const Ma = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
|
|
|
328
328
|
children: e
|
|
329
329
|
}
|
|
330
330
|
);
|
|
331
|
-
var xt = {}, kt = {},
|
|
331
|
+
var xt = {}, kt = {}, Ne = {}, Ot = {}, Zt;
|
|
332
332
|
function xn() {
|
|
333
333
|
return Zt || (Zt = 1, function(e) {
|
|
334
334
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -375,14 +375,14 @@ function kn() {
|
|
|
375
375
|
var e = "Expected a function", t = NaN, r = "[object Symbol]", o = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, l = /^0o[0-7]+$/i, f = parseInt, d = typeof tt == "object" && tt && tt.Object === Object && tt, h = typeof self == "object" && self && self.Object === Object && self, w = d || h || Function("return this")(), E = Object.prototype, R = E.toString, A = Math.max, C = Math.min, v = function() {
|
|
376
376
|
return w.Date.now();
|
|
377
377
|
};
|
|
378
|
-
function
|
|
379
|
-
var
|
|
378
|
+
function M(p, y, g) {
|
|
379
|
+
var O, m, c, P, L, x, T = 0, D = !1, F = !1, s = !0;
|
|
380
380
|
if (typeof p != "function")
|
|
381
381
|
throw new TypeError(e);
|
|
382
|
-
y = B(y) || 0,
|
|
382
|
+
y = B(y) || 0, k(g) && (D = !!g.leading, F = "maxWait" in g, c = F ? A(B(g.maxWait) || 0, y) : c, s = "trailing" in g ? !!g.trailing : s);
|
|
383
383
|
function J($) {
|
|
384
|
-
var Y =
|
|
385
|
-
return
|
|
384
|
+
var Y = O, V = m;
|
|
385
|
+
return O = m = void 0, T = $, P = p.apply(V, Y), P;
|
|
386
386
|
}
|
|
387
387
|
function b($) {
|
|
388
388
|
return T = $, L = setTimeout(S, y), D ? J($) : P;
|
|
@@ -398,21 +398,21 @@ function kn() {
|
|
|
398
398
|
function S() {
|
|
399
399
|
var $ = v();
|
|
400
400
|
if (u($))
|
|
401
|
-
return
|
|
401
|
+
return I($);
|
|
402
402
|
L = setTimeout(S, n($));
|
|
403
403
|
}
|
|
404
|
-
function
|
|
405
|
-
return L = void 0, s &&
|
|
404
|
+
function I($) {
|
|
405
|
+
return L = void 0, s && O ? J($) : (O = m = void 0, P);
|
|
406
406
|
}
|
|
407
407
|
function j() {
|
|
408
|
-
L !== void 0 && clearTimeout(L), T = 0,
|
|
408
|
+
L !== void 0 && clearTimeout(L), T = 0, O = x = m = L = void 0;
|
|
409
409
|
}
|
|
410
410
|
function H() {
|
|
411
|
-
return L === void 0 ? P :
|
|
411
|
+
return L === void 0 ? P : I(v());
|
|
412
412
|
}
|
|
413
413
|
function z() {
|
|
414
414
|
var $ = v(), Y = u($);
|
|
415
|
-
if (
|
|
415
|
+
if (O = arguments, m = this, x = $, Y) {
|
|
416
416
|
if (L === void 0)
|
|
417
417
|
return b(x);
|
|
418
418
|
if (F)
|
|
@@ -422,7 +422,7 @@ function kn() {
|
|
|
422
422
|
}
|
|
423
423
|
return z.cancel = j, z.flush = H, z;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
425
|
+
function k(p) {
|
|
426
426
|
var y = typeof p;
|
|
427
427
|
return !!p && (y == "object" || y == "function");
|
|
428
428
|
}
|
|
@@ -437,9 +437,9 @@ function kn() {
|
|
|
437
437
|
return p;
|
|
438
438
|
if (q(p))
|
|
439
439
|
return t;
|
|
440
|
-
if (
|
|
440
|
+
if (k(p)) {
|
|
441
441
|
var y = typeof p.valueOf == "function" ? p.valueOf() : p;
|
|
442
|
-
p =
|
|
442
|
+
p = k(y) ? y + "" : y;
|
|
443
443
|
}
|
|
444
444
|
if (typeof p != "string")
|
|
445
445
|
return p === 0 ? p : +p;
|
|
@@ -447,7 +447,7 @@ function kn() {
|
|
|
447
447
|
var g = a.test(p);
|
|
448
448
|
return g || l.test(p) ? f(p.slice(2), g ? 2 : 8) : i.test(p) ? t : +p;
|
|
449
449
|
}
|
|
450
|
-
return Ct =
|
|
450
|
+
return Ct = M, Ct;
|
|
451
451
|
}
|
|
452
452
|
var Pt = { exports: {} };
|
|
453
453
|
/*!
|
|
@@ -586,8 +586,8 @@ function Ge() {
|
|
|
586
586
|
var u = Object.keys(b);
|
|
587
587
|
if (Object.getOwnPropertySymbols) {
|
|
588
588
|
var S = Object.getOwnPropertySymbols(b);
|
|
589
|
-
n && (S = S.filter(function(
|
|
590
|
-
return Object.getOwnPropertyDescriptor(b,
|
|
589
|
+
n && (S = S.filter(function(I) {
|
|
590
|
+
return Object.getOwnPropertyDescriptor(b, I).enumerable;
|
|
591
591
|
})), u.push.apply(u, S);
|
|
592
592
|
}
|
|
593
593
|
return u;
|
|
@@ -627,12 +627,12 @@ function Ge() {
|
|
|
627
627
|
var u = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
628
628
|
u.includes(n._reactName) || n.preventDefault();
|
|
629
629
|
}, E = W.getOnDemandLazySlides = function(n) {
|
|
630
|
-
for (var u = [], S = R(n),
|
|
630
|
+
for (var u = [], S = R(n), I = A(n), j = S; j < I; j++)
|
|
631
631
|
n.lazyLoadedList.indexOf(j) < 0 && u.push(j);
|
|
632
632
|
return u;
|
|
633
633
|
};
|
|
634
634
|
W.getRequiredLazySlides = function(n) {
|
|
635
|
-
for (var u = [], S = R(n),
|
|
635
|
+
for (var u = [], S = R(n), I = A(n), j = S; j < I; j++)
|
|
636
636
|
u.push(j);
|
|
637
637
|
return u;
|
|
638
638
|
};
|
|
@@ -644,31 +644,31 @@ function Ge() {
|
|
|
644
644
|
return n.centerMode ? Math.floor(n.slidesToShow / 2) + (parseInt(n.centerPadding) > 0 ? 1 : 0) : 0;
|
|
645
645
|
}, v = W.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
|
+
}, M = W.getWidth = function(n) {
|
|
648
648
|
return n && n.offsetWidth || 0;
|
|
649
|
-
},
|
|
649
|
+
}, k = W.getHeight = function(n) {
|
|
650
650
|
return n && n.offsetHeight || 0;
|
|
651
651
|
}, N = W.getSwipeDirection = function(n) {
|
|
652
|
-
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S,
|
|
653
|
-
return S = n.startX - n.curX,
|
|
652
|
+
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S, I, j, H;
|
|
653
|
+
return S = n.startX - n.curX, I = n.startY - n.curY, j = Math.atan2(I, S), H = Math.round(j * 180 / Math.PI), H < 0 && (H = 360 - Math.abs(H)), H <= 45 && H >= 0 || H <= 360 && H >= 315 ? "left" : H >= 135 && H <= 225 ? "right" : u === !0 ? H >= 35 && H <= 135 ? "up" : "down" : "vertical";
|
|
654
654
|
}, q = W.canGoNext = function(n) {
|
|
655
655
|
var u = !0;
|
|
656
656
|
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (u = !1), u;
|
|
657
657
|
};
|
|
658
658
|
W.extractObject = function(n, u) {
|
|
659
659
|
var S = {};
|
|
660
|
-
return u.forEach(function(
|
|
661
|
-
return S[
|
|
660
|
+
return u.forEach(function(I) {
|
|
661
|
+
return S[I] = n[I];
|
|
662
662
|
}), S;
|
|
663
663
|
}, W.initializedState = function(n) {
|
|
664
|
-
var u = e.default.Children.count(n.children), S = n.listRef,
|
|
664
|
+
var u = e.default.Children.count(n.children), S = n.listRef, I = Math.ceil(M(S)), j = n.trackRef && n.trackRef.node, H = Math.ceil(M(j)), z;
|
|
665
665
|
if (n.vertical)
|
|
666
|
-
z =
|
|
666
|
+
z = I;
|
|
667
667
|
else {
|
|
668
668
|
var $ = n.centerMode && parseInt(n.centerPadding) * 2;
|
|
669
|
-
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && ($ *=
|
|
669
|
+
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && ($ *= I / 100), z = Math.ceil((I - $) / n.slidesToShow);
|
|
670
670
|
}
|
|
671
|
-
var Y = S &&
|
|
671
|
+
var Y = S && k(S.querySelector('[data-index="0"]')), V = Y * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
672
672
|
n.rtl && n.currentSlide === void 0 && (X = u - 1 - n.initialSlide);
|
|
673
673
|
var re = n.lazyLoadedList || [], ie = E(a(a({}, n), {}, {
|
|
674
674
|
currentSlide: X,
|
|
@@ -678,7 +678,7 @@ function Ge() {
|
|
|
678
678
|
var Q = {
|
|
679
679
|
slideCount: u,
|
|
680
680
|
slideWidth: z,
|
|
681
|
-
listWidth:
|
|
681
|
+
listWidth: I,
|
|
682
682
|
trackWidth: H,
|
|
683
683
|
currentSlide: X,
|
|
684
684
|
slideHeight: Y,
|
|
@@ -687,10 +687,10 @@ function Ge() {
|
|
|
687
687
|
};
|
|
688
688
|
return n.autoplaying === null && n.autoplay && (Q.autoplaying = "playing"), Q;
|
|
689
689
|
}, W.slideHandler = function(n) {
|
|
690
|
-
var u = n.waitForAnimate, S = n.animating,
|
|
690
|
+
var u = n.waitForAnimate, S = n.animating, I = n.fade, j = n.infinite, H = n.index, z = n.slideCount, $ = n.lazyLoad, Y = n.currentSlide, V = n.centerMode, X = n.slidesToScroll, re = n.slidesToShow, ie = n.useCSS, Q = n.lazyLoadedList;
|
|
691
691
|
if (u && S) return {};
|
|
692
692
|
var Z = H, ne, le, K, ae = {}, ue = {}, ce = j ? H : h(H, 0, z - 1);
|
|
693
|
-
if (
|
|
693
|
+
if (I) {
|
|
694
694
|
if (!j && (H < 0 || H >= z)) return {};
|
|
695
695
|
H < 0 ? Z = H + z : H >= z && (Z = H - z), $ && Q.indexOf(Z) < 0 && (Q = Q.concat(Z)), ae = {
|
|
696
696
|
animating: !0,
|
|
@@ -719,14 +719,14 @@ function Ge() {
|
|
|
719
719
|
}, ue = {
|
|
720
720
|
animating: !1,
|
|
721
721
|
currentSlide: ne,
|
|
722
|
-
trackStyle:
|
|
722
|
+
trackStyle: O(a(a({}, n), {}, {
|
|
723
723
|
left: K
|
|
724
724
|
})),
|
|
725
725
|
swipeLeft: null,
|
|
726
726
|
targetSlide: ce
|
|
727
727
|
}) : ae = {
|
|
728
728
|
currentSlide: ne,
|
|
729
|
-
trackStyle:
|
|
729
|
+
trackStyle: O(a(a({}, n), {}, {
|
|
730
730
|
left: K
|
|
731
731
|
})),
|
|
732
732
|
lazyLoadedList: Q,
|
|
@@ -737,9 +737,9 @@ function Ge() {
|
|
|
737
737
|
nextState: ue
|
|
738
738
|
};
|
|
739
739
|
}, W.changeSlide = function(n, u) {
|
|
740
|
-
var S,
|
|
740
|
+
var S, I, j, H, z, $ = n.slidesToScroll, Y = n.slidesToShow, V = n.slideCount, X = n.currentSlide, re = n.targetSlide, ie = n.lazyLoad, Q = n.infinite;
|
|
741
741
|
if (H = V % $ !== 0, S = H ? 0 : (V - X) % $, u.message === "previous")
|
|
742
|
-
j = S === 0 ? $ : Y - S, z = X - j, ie && !Q && (
|
|
742
|
+
j = S === 0 ? $ : Y - S, z = X - j, ie && !Q && (I = X - j, z = I === -1 ? V - 1 : I), Q || (z = re - $);
|
|
743
743
|
else if (u.message === "next")
|
|
744
744
|
j = S === 0 ? $ : S, z = X + j, ie && !Q && (z = (X + $) % V + S), Q || (z = re + $);
|
|
745
745
|
else if (u.message === "dots")
|
|
@@ -766,9 +766,9 @@ function Ge() {
|
|
|
766
766
|
}
|
|
767
767
|
};
|
|
768
768
|
}, W.swipeMove = function(n, u) {
|
|
769
|
-
var S = u.scrolling,
|
|
769
|
+
var S = u.scrolling, I = u.animating, j = u.vertical, H = u.swipeToSlide, z = u.verticalSwiping, $ = u.rtl, Y = u.currentSlide, V = u.edgeFriction, X = u.edgeDragged, re = u.onEdge, ie = u.swiped, Q = u.swiping, Z = u.slideCount, ne = u.slidesToScroll, le = u.infinite, K = u.touchObject, ae = u.swipeEvent, ue = u.listHeight, ce = u.listWidth;
|
|
770
770
|
if (!S) {
|
|
771
|
-
if (
|
|
771
|
+
if (I) return w(n);
|
|
772
772
|
j && H && z && w(n);
|
|
773
773
|
var pe, Pe = {}, et = c(u);
|
|
774
774
|
K.curX = n.touches ? n.touches[0].pageX : n.clientX, K.curY = n.touches ? n.touches[0].pageY : n.clientY, K.swipeLength = Math.round(Math.sqrt(Math.pow(K.curX - K.startX, 2)));
|
|
@@ -778,21 +778,21 @@ function Ge() {
|
|
|
778
778
|
scrolling: !0
|
|
779
779
|
};
|
|
780
780
|
z && (K.swipeLength = Xt);
|
|
781
|
-
var
|
|
782
|
-
z && (
|
|
783
|
-
var hn = Math.ceil(Z / ne), Oe = N(u.touchObject, z),
|
|
784
|
-
return le || (Y === 0 && (Oe === "right" || Oe === "down") || Y + 1 >= hn && (Oe === "left" || Oe === "up") || !q(u) && (Oe === "left" || Oe === "up")) && (
|
|
781
|
+
var Ie = ($ ? -1 : 1) * (K.curX > K.startX ? 1 : -1);
|
|
782
|
+
z && (Ie = K.curY > K.startY ? 1 : -1);
|
|
783
|
+
var hn = Math.ceil(Z / ne), Oe = N(u.touchObject, z), Ae = K.swipeLength;
|
|
784
|
+
return le || (Y === 0 && (Oe === "right" || Oe === "down") || Y + 1 >= hn && (Oe === "left" || Oe === "up") || !q(u) && (Oe === "left" || Oe === "up")) && (Ae = K.swipeLength * V, X === !1 && re && (re(Oe), Pe.edgeDragged = !0)), !ie && ae && (ae(Oe), Pe.swiped = !0), j ? pe = et + Ae * (ue / ce) * Ie : $ ? pe = et - Ae * Ie : pe = et + Ae * Ie, z && (pe = et + Ae * Ie), Pe = a(a({}, Pe), {}, {
|
|
785
785
|
touchObject: K,
|
|
786
786
|
swipeLeft: pe,
|
|
787
|
-
trackStyle:
|
|
787
|
+
trackStyle: O(a(a({}, u), {}, {
|
|
788
788
|
left: pe
|
|
789
789
|
}))
|
|
790
790
|
}), Math.abs(K.curX - K.startX) < Math.abs(K.curY - K.startY) * 0.8 || K.swipeLength > 10 && (Pe.swiping = !0, w(n)), Pe;
|
|
791
791
|
}
|
|
792
792
|
}, W.swipeEnd = function(n, u) {
|
|
793
|
-
var S = u.dragging,
|
|
793
|
+
var S = u.dragging, I = u.swipe, j = u.touchObject, H = u.listWidth, z = u.touchThreshold, $ = u.verticalSwiping, Y = u.listHeight, V = u.swipeToSlide, X = u.scrolling, re = u.onSwipe, ie = u.targetSlide, Q = u.currentSlide, Z = u.infinite;
|
|
794
794
|
if (!S)
|
|
795
|
-
return
|
|
795
|
+
return I && w(n), {};
|
|
796
796
|
var ne = $ ? Y / z : H / z, le = N(j, $), K = {
|
|
797
797
|
dragging: !1,
|
|
798
798
|
edgeDragged: !1,
|
|
@@ -829,31 +829,31 @@ function Ge() {
|
|
|
829
829
|
return K;
|
|
830
830
|
};
|
|
831
831
|
var B = W.getNavigableIndexes = function(n) {
|
|
832
|
-
for (var u = n.infinite ? n.slideCount * 2 : n.slideCount, S = n.infinite ? n.slidesToShow * -1 : 0,
|
|
833
|
-
j.push(S), S =
|
|
832
|
+
for (var u = n.infinite ? n.slideCount * 2 : n.slideCount, S = n.infinite ? n.slidesToShow * -1 : 0, I = n.infinite ? n.slidesToShow * -1 : 0, j = []; S < u; )
|
|
833
|
+
j.push(S), S = I + n.slidesToScroll, I += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
834
834
|
return j;
|
|
835
835
|
}, p = W.checkNavigable = function(n, u) {
|
|
836
|
-
var S = B(n),
|
|
836
|
+
var S = B(n), I = 0;
|
|
837
837
|
if (u > S[S.length - 1])
|
|
838
838
|
u = S[S.length - 1];
|
|
839
839
|
else
|
|
840
840
|
for (var j in S) {
|
|
841
841
|
if (u < S[j]) {
|
|
842
|
-
u =
|
|
842
|
+
u = I;
|
|
843
843
|
break;
|
|
844
844
|
}
|
|
845
|
-
|
|
845
|
+
I = S[j];
|
|
846
846
|
}
|
|
847
847
|
return u;
|
|
848
848
|
}, y = W.getSlideCount = function(n) {
|
|
849
849
|
var u = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
850
850
|
if (n.swipeToSlide) {
|
|
851
|
-
var S,
|
|
851
|
+
var S, I = n.listRef, j = I.querySelectorAll && I.querySelectorAll(".slick-slide") || [];
|
|
852
852
|
if (Array.from(j).every(function($) {
|
|
853
853
|
if (n.vertical) {
|
|
854
|
-
if ($.offsetTop +
|
|
854
|
+
if ($.offsetTop + k($) / 2 > n.swipeLeft * -1)
|
|
855
855
|
return S = $, !1;
|
|
856
|
-
} else if ($.offsetLeft - u +
|
|
856
|
+
} else if ($.offsetLeft - u + M($) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return S = $, !1;
|
|
858
858
|
return !0;
|
|
859
859
|
}), !S)
|
|
@@ -863,17 +863,17 @@ function Ge() {
|
|
|
863
863
|
} else
|
|
864
864
|
return n.slidesToScroll;
|
|
865
865
|
}, g = W.checkSpecKeys = function(n, u) {
|
|
866
|
-
return u.reduce(function(S,
|
|
867
|
-
return S && n.hasOwnProperty(
|
|
866
|
+
return u.reduce(function(S, I) {
|
|
867
|
+
return S && n.hasOwnProperty(I);
|
|
868
868
|
}, !0) ? null : console.error("Keys Missing:", n);
|
|
869
|
-
},
|
|
869
|
+
}, O = W.getTrackCSS = function(n) {
|
|
870
870
|
g(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
871
871
|
var u, S;
|
|
872
872
|
if (!n.vertical)
|
|
873
873
|
u = x(n) * n.slideWidth;
|
|
874
874
|
else {
|
|
875
|
-
var
|
|
876
|
-
S =
|
|
875
|
+
var I = n.unslick ? n.slideCount : n.slideCount + 2 * n.slidesToShow;
|
|
876
|
+
S = I * n.slideHeight;
|
|
877
877
|
}
|
|
878
878
|
var j = {
|
|
879
879
|
opacity: 1,
|
|
@@ -894,20 +894,20 @@ function Ge() {
|
|
|
894
894
|
}), u && (j.width = u), S && (j.height = S), window && !window.addEventListener && window.attachEvent && (n.vertical ? j.marginTop = n.left + "px" : j.marginLeft = n.left + "px"), j;
|
|
895
895
|
}, m = W.getTrackAnimateCSS = function(n) {
|
|
896
896
|
g(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
897
|
-
var u =
|
|
897
|
+
var u = O(n);
|
|
898
898
|
return n.useTransform ? (u.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, u.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? u.transition = "top " + n.speed + "ms " + n.cssEase : u.transition = "left " + n.speed + "ms " + n.cssEase, u;
|
|
899
899
|
}, c = W.getTrackLeft = function(n) {
|
|
900
900
|
if (n.unslick)
|
|
901
901
|
return 0;
|
|
902
902
|
g(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
903
|
-
var u = n.slideIndex, S = n.trackRef,
|
|
903
|
+
var u = n.slideIndex, S = n.trackRef, I = n.infinite, j = n.centerMode, H = n.slideCount, z = n.slidesToShow, $ = n.slidesToScroll, Y = n.slideWidth, V = n.listWidth, X = n.variableWidth, re = n.slideHeight, ie = n.fade, Q = n.vertical, Z = 0, ne, le, K = 0;
|
|
904
904
|
if (ie || n.slideCount === 1)
|
|
905
905
|
return 0;
|
|
906
906
|
var ae = 0;
|
|
907
|
-
if (
|
|
907
|
+
if (I ? (ae = -P(n), H % $ !== 0 && u + $ > H && (ae = -(u > H ? z - (u - H) : H % $)), j && (ae += parseInt(z / 2))) : (H % $ !== 0 && u + $ > H && (ae = z - H % $), j && (ae = parseInt(z / 2))), Z = ae * Y, K = ae * re, Q ? ne = u * re * -1 + K : ne = u * Y * -1 + Z, X === !0) {
|
|
908
908
|
var ue, ce = S && S.node;
|
|
909
909
|
if (ue = u + P(n), le = ce && ce.childNodes[ue], ne = le ? le.offsetLeft * -1 : 0, j === !0) {
|
|
910
|
-
ue =
|
|
910
|
+
ue = I ? u + P(n) : u, le = ce && ce.children[ue], ne = 0;
|
|
911
911
|
for (var pe = 0; pe < ue; pe++)
|
|
912
912
|
ne -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
913
913
|
ne -= parseInt(n.centerPadding), ne += le && (V - le.offsetWidth) / 2;
|
|
@@ -923,19 +923,19 @@ function Ge() {
|
|
|
923
923
|
}, T = W.siblingDirection = function(n) {
|
|
924
924
|
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + D(n) ? "left" : "right" : n.targetSlide < n.currentSlide - F(n) ? "right" : "left";
|
|
925
925
|
}, D = W.slidesOnRight = function(n) {
|
|
926
|
-
var u = n.slidesToShow, S = n.centerMode,
|
|
926
|
+
var u = n.slidesToShow, S = n.centerMode, I = n.rtl, j = n.centerPadding;
|
|
927
927
|
if (S) {
|
|
928
928
|
var H = (u - 1) / 2 + 1;
|
|
929
|
-
return parseInt(j) > 0 && (H += 1),
|
|
929
|
+
return parseInt(j) > 0 && (H += 1), I && u % 2 === 0 && (H += 1), H;
|
|
930
930
|
}
|
|
931
|
-
return
|
|
931
|
+
return I ? 0 : u - 1;
|
|
932
932
|
}, F = W.slidesOnLeft = function(n) {
|
|
933
|
-
var u = n.slidesToShow, S = n.centerMode,
|
|
933
|
+
var u = n.slidesToShow, S = n.centerMode, I = n.rtl, j = n.centerPadding;
|
|
934
934
|
if (S) {
|
|
935
935
|
var H = (u - 1) / 2 + 1;
|
|
936
|
-
return parseInt(j) > 0 && (H += 1), !
|
|
936
|
+
return parseInt(j) > 0 && (H += 1), !I && u % 2 === 0 && (H += 1), H;
|
|
937
937
|
}
|
|
938
|
-
return
|
|
938
|
+
return I ? u - 1 : 0;
|
|
939
939
|
};
|
|
940
940
|
W.canUseDOM = function() {
|
|
941
941
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
@@ -948,12 +948,12 @@ function Ge() {
|
|
|
948
948
|
}
|
|
949
949
|
return W;
|
|
950
950
|
}
|
|
951
|
-
var
|
|
951
|
+
var Fe = {}, nr;
|
|
952
952
|
function On() {
|
|
953
|
-
if (nr) return
|
|
954
|
-
nr = 1, Object.defineProperty(
|
|
953
|
+
if (nr) return Fe;
|
|
954
|
+
nr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
955
955
|
value: !0
|
|
956
|
-
}),
|
|
956
|
+
}), Fe.Track = void 0;
|
|
957
957
|
var e = o(U), t = o(pt()), r = Ge();
|
|
958
958
|
function o(m) {
|
|
959
959
|
return m && m.__esModule ? m : { default: m };
|
|
@@ -1032,7 +1032,7 @@ function On() {
|
|
|
1032
1032
|
return c.__proto__ || Object.getPrototypeOf(c);
|
|
1033
1033
|
}, v(m);
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function M(m, c) {
|
|
1036
1036
|
var P = Object.keys(m);
|
|
1037
1037
|
if (Object.getOwnPropertySymbols) {
|
|
1038
1038
|
var L = Object.getOwnPropertySymbols(m);
|
|
@@ -1042,12 +1042,12 @@ function On() {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
return P;
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function k(m) {
|
|
1046
1046
|
for (var c = 1; c < arguments.length; c++) {
|
|
1047
1047
|
var P = arguments[c] != null ? arguments[c] : {};
|
|
1048
|
-
c % 2 ?
|
|
1048
|
+
c % 2 ? M(Object(P), !0).forEach(function(L) {
|
|
1049
1049
|
N(m, L, P[L]);
|
|
1050
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(P)) :
|
|
1050
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(P)) : M(Object(P)).forEach(function(L) {
|
|
1051
1051
|
Object.defineProperty(m, L, Object.getOwnPropertyDescriptor(P, L));
|
|
1052
1052
|
});
|
|
1053
1053
|
}
|
|
@@ -1089,7 +1089,7 @@ function On() {
|
|
|
1089
1089
|
return (c.variableWidth === void 0 || c.variableWidth === !1) && (P.width = c.slideWidth), c.fade && (P.position = "relative", c.vertical ? P.top = -c.index * parseInt(c.slideHeight) : P.left = -c.index * parseInt(c.slideWidth), P.opacity = c.currentSlide === c.index ? 1 : 0, P.zIndex = c.currentSlide === c.index ? 999 : 998, c.useCSS && (P.transition = "opacity " + c.speed + "ms " + c.cssEase + ", visibility " + c.speed + "ms " + c.cssEase)), P;
|
|
1090
1090
|
}, g = function(c, P) {
|
|
1091
1091
|
return c.key || P;
|
|
1092
|
-
},
|
|
1092
|
+
}, O = function(c) {
|
|
1093
1093
|
var P, L = [], x = [], T = [], D = e.default.Children.count(c.children), F = (0, r.lazyStartIndex)(c), s = (0, r.lazyEndIndex)(c);
|
|
1094
1094
|
return e.default.Children.forEach(c.children, function(J, b) {
|
|
1095
1095
|
var n, u = {
|
|
@@ -1099,18 +1099,18 @@ function On() {
|
|
|
1099
1099
|
currentSlide: c.currentSlide
|
|
1100
1100
|
};
|
|
1101
1101
|
!c.lazyLoad || c.lazyLoad && c.lazyLoadedList.indexOf(b) >= 0 ? n = J : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1102
|
-
var S = y(
|
|
1102
|
+
var S = y(k(k({}, c), {}, {
|
|
1103
1103
|
index: b
|
|
1104
|
-
})),
|
|
1104
|
+
})), I = n.props.className || "", j = p(k(k({}, c), {}, {
|
|
1105
1105
|
index: b
|
|
1106
1106
|
}));
|
|
1107
1107
|
if (L.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1108
1108
|
key: "original" + g(n, b),
|
|
1109
1109
|
"data-index": b,
|
|
1110
|
-
className: (0, t.default)(j,
|
|
1110
|
+
className: (0, t.default)(j, I),
|
|
1111
1111
|
tabIndex: "-1",
|
|
1112
1112
|
"aria-hidden": !j["slick-active"],
|
|
1113
|
-
style:
|
|
1113
|
+
style: k(k({
|
|
1114
1114
|
outline: "none"
|
|
1115
1115
|
}, n.props.style || {}), S),
|
|
1116
1116
|
onClick: function($) {
|
|
@@ -1118,27 +1118,27 @@ function On() {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
})), c.infinite && D > 1 && c.fade === !1 && !c.unslick) {
|
|
1120
1120
|
var H = D - b;
|
|
1121
|
-
H <= (0, r.getPreClones)(c) && (P = -H, P >= F && (n = J), j = p(
|
|
1121
|
+
H <= (0, r.getPreClones)(c) && (P = -H, P >= F && (n = J), j = p(k(k({}, c), {}, {
|
|
1122
1122
|
index: P
|
|
1123
1123
|
})), x.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1124
1124
|
key: "precloned" + g(n, P),
|
|
1125
1125
|
"data-index": P,
|
|
1126
1126
|
tabIndex: "-1",
|
|
1127
|
-
className: (0, t.default)(j,
|
|
1127
|
+
className: (0, t.default)(j, I),
|
|
1128
1128
|
"aria-hidden": !j["slick-active"],
|
|
1129
|
-
style:
|
|
1129
|
+
style: k(k({}, n.props.style || {}), S),
|
|
1130
1130
|
onClick: function($) {
|
|
1131
1131
|
n.props && n.props.onClick && n.props.onClick($), c.focusOnSelect && c.focusOnSelect(u);
|
|
1132
1132
|
}
|
|
1133
|
-
}))), b < (0, r.getPostClones)(c) && (P = D + b, P < s && (n = J), j = p(
|
|
1133
|
+
}))), b < (0, r.getPostClones)(c) && (P = D + b, P < s && (n = J), j = p(k(k({}, c), {}, {
|
|
1134
1134
|
index: P
|
|
1135
1135
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1136
1136
|
key: "postcloned" + g(n, P),
|
|
1137
1137
|
"data-index": P,
|
|
1138
1138
|
tabIndex: "-1",
|
|
1139
|
-
className: (0, t.default)(j,
|
|
1139
|
+
className: (0, t.default)(j, I),
|
|
1140
1140
|
"aria-hidden": !j["slick-active"],
|
|
1141
|
-
style:
|
|
1141
|
+
style: k(k({}, n.props.style || {}), S),
|
|
1142
1142
|
onClick: function($) {
|
|
1143
1143
|
n.props && n.props.onClick && n.props.onClick($), c.focusOnSelect && c.focusOnSelect(u);
|
|
1144
1144
|
}
|
|
@@ -1146,7 +1146,7 @@ function On() {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
}), c.rtl ? x.concat(L, T).reverse() : x.concat(L, T);
|
|
1148
1148
|
};
|
|
1149
|
-
return
|
|
1149
|
+
return Fe.Track = /* @__PURE__ */ function(m) {
|
|
1150
1150
|
h(P, m);
|
|
1151
1151
|
var c = E(P);
|
|
1152
1152
|
function P() {
|
|
@@ -1161,7 +1161,7 @@ function On() {
|
|
|
1161
1161
|
return d(P, [{
|
|
1162
1162
|
key: "render",
|
|
1163
1163
|
value: function() {
|
|
1164
|
-
var x =
|
|
1164
|
+
var x = O(this.props), T = this.props, D = T.onMouseEnter, F = T.onMouseOver, s = T.onMouseLeave, J = {
|
|
1165
1165
|
onMouseEnter: D,
|
|
1166
1166
|
onMouseOver: F,
|
|
1167
1167
|
onMouseLeave: s
|
|
@@ -1173,11 +1173,11 @@ function On() {
|
|
|
1173
1173
|
}, J), x);
|
|
1174
1174
|
}
|
|
1175
1175
|
}]), P;
|
|
1176
|
-
}(e.default.PureComponent),
|
|
1176
|
+
}(e.default.PureComponent), Fe;
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1178
|
+
var $e = {}, ir;
|
|
1179
1179
|
function Cn() {
|
|
1180
|
-
if (ir) return
|
|
1180
|
+
if (ir) return $e;
|
|
1181
1181
|
ir = 1;
|
|
1182
1182
|
function e(p) {
|
|
1183
1183
|
"@babel/helpers - typeof";
|
|
@@ -1187,9 +1187,9 @@ function Cn() {
|
|
|
1187
1187
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
1188
1188
|
}, e(p);
|
|
1189
1189
|
}
|
|
1190
|
-
Object.defineProperty(
|
|
1190
|
+
Object.defineProperty($e, "__esModule", {
|
|
1191
1191
|
value: !0
|
|
1192
|
-
}),
|
|
1192
|
+
}), $e.Dots = void 0;
|
|
1193
1193
|
var t = i(U), r = i(pt()), o = Ge();
|
|
1194
1194
|
function i(p) {
|
|
1195
1195
|
return p && p.__esModule ? p : { default: p };
|
|
@@ -1197,20 +1197,20 @@ function Cn() {
|
|
|
1197
1197
|
function a(p, y) {
|
|
1198
1198
|
var g = Object.keys(p);
|
|
1199
1199
|
if (Object.getOwnPropertySymbols) {
|
|
1200
|
-
var
|
|
1201
|
-
y && (
|
|
1200
|
+
var O = Object.getOwnPropertySymbols(p);
|
|
1201
|
+
y && (O = O.filter(function(m) {
|
|
1202
1202
|
return Object.getOwnPropertyDescriptor(p, m).enumerable;
|
|
1203
|
-
})), g.push.apply(g,
|
|
1203
|
+
})), g.push.apply(g, O);
|
|
1204
1204
|
}
|
|
1205
1205
|
return g;
|
|
1206
1206
|
}
|
|
1207
1207
|
function l(p) {
|
|
1208
1208
|
for (var y = 1; y < arguments.length; y++) {
|
|
1209
1209
|
var g = arguments[y] != null ? arguments[y] : {};
|
|
1210
|
-
y % 2 ? a(Object(g), !0).forEach(function(
|
|
1211
|
-
f(p,
|
|
1212
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(g)) : a(Object(g)).forEach(function(
|
|
1213
|
-
Object.defineProperty(p,
|
|
1210
|
+
y % 2 ? a(Object(g), !0).forEach(function(O) {
|
|
1211
|
+
f(p, O, g[O]);
|
|
1212
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(g)) : a(Object(g)).forEach(function(O) {
|
|
1213
|
+
Object.defineProperty(p, O, Object.getOwnPropertyDescriptor(g, O));
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
1216
|
return p;
|
|
@@ -1223,8 +1223,8 @@ function Cn() {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
function h(p, y) {
|
|
1225
1225
|
for (var g = 0; g < y.length; g++) {
|
|
1226
|
-
var
|
|
1227
|
-
|
|
1226
|
+
var O = y[g];
|
|
1227
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(p, E(O.key), O);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
function w(p, y, g) {
|
|
@@ -1238,8 +1238,8 @@ function Cn() {
|
|
|
1238
1238
|
if (e(p) != "object" || !p) return p;
|
|
1239
1239
|
var g = p[Symbol.toPrimitive];
|
|
1240
1240
|
if (g !== void 0) {
|
|
1241
|
-
var
|
|
1242
|
-
if (e(
|
|
1241
|
+
var O = g.call(p, y);
|
|
1242
|
+
if (e(O) != "object") return O;
|
|
1243
1243
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1244
1244
|
}
|
|
1245
1245
|
return String(p);
|
|
@@ -1249,27 +1249,27 @@ function Cn() {
|
|
|
1249
1249
|
p.prototype = Object.create(y && y.prototype, { constructor: { value: p, writable: !0, configurable: !0 } }), Object.defineProperty(p, "prototype", { writable: !1 }), y && C(p, y);
|
|
1250
1250
|
}
|
|
1251
1251
|
function C(p, y) {
|
|
1252
|
-
return C = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(g,
|
|
1253
|
-
return g.__proto__ =
|
|
1252
|
+
return C = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(g, O) {
|
|
1253
|
+
return g.__proto__ = O, g;
|
|
1254
1254
|
}, C(p, y);
|
|
1255
1255
|
}
|
|
1256
1256
|
function v(p) {
|
|
1257
1257
|
var y = N();
|
|
1258
1258
|
return function() {
|
|
1259
|
-
var g,
|
|
1259
|
+
var g, O = q(p);
|
|
1260
1260
|
if (y) {
|
|
1261
1261
|
var m = q(this).constructor;
|
|
1262
|
-
g = Reflect.construct(
|
|
1263
|
-
} else g =
|
|
1264
|
-
return
|
|
1262
|
+
g = Reflect.construct(O, arguments, m);
|
|
1263
|
+
} else g = O.apply(this, arguments);
|
|
1264
|
+
return M(this, g);
|
|
1265
1265
|
};
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function M(p, y) {
|
|
1268
1268
|
if (y && (e(y) == "object" || typeof y == "function")) return y;
|
|
1269
1269
|
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1270
|
-
return
|
|
1270
|
+
return k(p);
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function k(p) {
|
|
1273
1273
|
if (p === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1274
1274
|
return p;
|
|
1275
1275
|
}
|
|
@@ -1292,7 +1292,7 @@ function Cn() {
|
|
|
1292
1292
|
var g;
|
|
1293
1293
|
return y.infinite ? g = Math.ceil(y.slideCount / y.slidesToScroll) : g = Math.ceil((y.slideCount - y.slidesToShow) / y.slidesToScroll) + 1, g;
|
|
1294
1294
|
};
|
|
1295
|
-
return
|
|
1295
|
+
return $e.Dots = /* @__PURE__ */ function(p) {
|
|
1296
1296
|
A(g, p);
|
|
1297
1297
|
var y = v(g);
|
|
1298
1298
|
function g() {
|
|
@@ -1316,8 +1316,8 @@ function Cn() {
|
|
|
1316
1316
|
onMouseOver: P,
|
|
1317
1317
|
onMouseLeave: L
|
|
1318
1318
|
}, n = [], u = 0; u < J; u++) {
|
|
1319
|
-
var S = (u + 1) * T - 1,
|
|
1320
|
-
"slick-active": x ? s >= H && s <=
|
|
1319
|
+
var S = (u + 1) * T - 1, I = x ? S : (0, o.clamp)(S, 0, F - 1), j = I - (T - 1), H = x ? j : (0, o.clamp)(j, 0, F - 1), z = (0, r.default)({
|
|
1320
|
+
"slick-active": x ? s >= H && s <= I : s === H
|
|
1321
1321
|
}), $ = {
|
|
1322
1322
|
message: "dots",
|
|
1323
1323
|
index: u,
|
|
@@ -1336,7 +1336,7 @@ function Cn() {
|
|
|
1336
1336
|
}, b));
|
|
1337
1337
|
}
|
|
1338
1338
|
}]), g;
|
|
1339
|
-
}(t.default.PureComponent),
|
|
1339
|
+
}(t.default.PureComponent), $e;
|
|
1340
1340
|
}
|
|
1341
1341
|
var Ee = {}, or;
|
|
1342
1342
|
function Pn() {
|
|
@@ -1361,8 +1361,8 @@ function Pn() {
|
|
|
1361
1361
|
return a = Object.assign ? Object.assign.bind() : function(p) {
|
|
1362
1362
|
for (var y = 1; y < arguments.length; y++) {
|
|
1363
1363
|
var g = arguments[y];
|
|
1364
|
-
for (var
|
|
1365
|
-
({}).hasOwnProperty.call(g,
|
|
1364
|
+
for (var O in g)
|
|
1365
|
+
({}).hasOwnProperty.call(g, O) && (p[O] = g[O]);
|
|
1366
1366
|
}
|
|
1367
1367
|
return p;
|
|
1368
1368
|
}, a.apply(null, arguments);
|
|
@@ -1370,20 +1370,20 @@ function Pn() {
|
|
|
1370
1370
|
function l(p, y) {
|
|
1371
1371
|
var g = Object.keys(p);
|
|
1372
1372
|
if (Object.getOwnPropertySymbols) {
|
|
1373
|
-
var
|
|
1374
|
-
y && (
|
|
1373
|
+
var O = Object.getOwnPropertySymbols(p);
|
|
1374
|
+
y && (O = O.filter(function(m) {
|
|
1375
1375
|
return Object.getOwnPropertyDescriptor(p, m).enumerable;
|
|
1376
|
-
})), g.push.apply(g,
|
|
1376
|
+
})), g.push.apply(g, O);
|
|
1377
1377
|
}
|
|
1378
1378
|
return g;
|
|
1379
1379
|
}
|
|
1380
1380
|
function f(p) {
|
|
1381
1381
|
for (var y = 1; y < arguments.length; y++) {
|
|
1382
1382
|
var g = arguments[y] != null ? arguments[y] : {};
|
|
1383
|
-
y % 2 ? l(Object(g), !0).forEach(function(
|
|
1384
|
-
d(p,
|
|
1385
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(g)) : l(Object(g)).forEach(function(
|
|
1386
|
-
Object.defineProperty(p,
|
|
1383
|
+
y % 2 ? l(Object(g), !0).forEach(function(O) {
|
|
1384
|
+
d(p, O, g[O]);
|
|
1385
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(g)) : l(Object(g)).forEach(function(O) {
|
|
1386
|
+
Object.defineProperty(p, O, Object.getOwnPropertyDescriptor(g, O));
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
1389
|
return p;
|
|
@@ -1396,8 +1396,8 @@ function Pn() {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
function w(p, y) {
|
|
1398
1398
|
for (var g = 0; g < y.length; g++) {
|
|
1399
|
-
var
|
|
1400
|
-
|
|
1399
|
+
var O = y[g];
|
|
1400
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(p, R(O.key), O);
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
1403
|
function E(p, y, g) {
|
|
@@ -1411,8 +1411,8 @@ function Pn() {
|
|
|
1411
1411
|
if (e(p) != "object" || !p) return p;
|
|
1412
1412
|
var g = p[Symbol.toPrimitive];
|
|
1413
1413
|
if (g !== void 0) {
|
|
1414
|
-
var
|
|
1415
|
-
if (e(
|
|
1414
|
+
var O = g.call(p, y);
|
|
1415
|
+
if (e(O) != "object") return O;
|
|
1416
1416
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1417
1417
|
}
|
|
1418
1418
|
return String(p);
|
|
@@ -1422,22 +1422,22 @@ function Pn() {
|
|
|
1422
1422
|
p.prototype = Object.create(y && y.prototype, { constructor: { value: p, writable: !0, configurable: !0 } }), Object.defineProperty(p, "prototype", { writable: !1 }), y && v(p, y);
|
|
1423
1423
|
}
|
|
1424
1424
|
function v(p, y) {
|
|
1425
|
-
return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(g,
|
|
1426
|
-
return g.__proto__ =
|
|
1425
|
+
return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(g, O) {
|
|
1426
|
+
return g.__proto__ = O, g;
|
|
1427
1427
|
}, v(p, y);
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function M(p) {
|
|
1430
1430
|
var y = q();
|
|
1431
1431
|
return function() {
|
|
1432
|
-
var g,
|
|
1432
|
+
var g, O = B(p);
|
|
1433
1433
|
if (y) {
|
|
1434
1434
|
var m = B(this).constructor;
|
|
1435
|
-
g = Reflect.construct(
|
|
1436
|
-
} else g =
|
|
1437
|
-
return
|
|
1435
|
+
g = Reflect.construct(O, arguments, m);
|
|
1436
|
+
} else g = O.apply(this, arguments);
|
|
1437
|
+
return k(this, g);
|
|
1438
1438
|
};
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1440
|
+
function k(p, y) {
|
|
1441
1441
|
if (y && (e(y) == "object" || typeof y == "function")) return y;
|
|
1442
1442
|
if (y !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1443
1443
|
return N(p);
|
|
@@ -1463,7 +1463,7 @@ function Pn() {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
return Ee.PrevArrow = /* @__PURE__ */ function(p) {
|
|
1465
1465
|
C(g, p);
|
|
1466
|
-
var y =
|
|
1466
|
+
var y = M(g);
|
|
1467
1467
|
function g() {
|
|
1468
1468
|
return h(this, g), y.apply(this, arguments);
|
|
1469
1469
|
}
|
|
@@ -1502,7 +1502,7 @@ function Pn() {
|
|
|
1502
1502
|
}]), g;
|
|
1503
1503
|
}(t.default.PureComponent), Ee.NextArrow = /* @__PURE__ */ function(p) {
|
|
1504
1504
|
C(g, p);
|
|
1505
|
-
var y =
|
|
1505
|
+
var y = M(g);
|
|
1506
1506
|
function g() {
|
|
1507
1507
|
return h(this, g), y.apply(this, arguments);
|
|
1508
1508
|
}
|
|
@@ -1834,10 +1834,10 @@ const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1834
1834
|
}, Symbol.toStringTag, { value: "Module" })), Yn = /* @__PURE__ */ gn(Bn);
|
|
1835
1835
|
var sr;
|
|
1836
1836
|
function Vn() {
|
|
1837
|
-
if (sr) return
|
|
1838
|
-
sr = 1, Object.defineProperty(
|
|
1837
|
+
if (sr) return Ne;
|
|
1838
|
+
sr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1839
1839
|
value: !0
|
|
1840
|
-
}),
|
|
1840
|
+
}), Ne.InnerSlider = void 0;
|
|
1841
1841
|
var e = h(U), t = h(xn()), r = h(kn()), o = h(pt()), i = Ge(), a = On(), l = Cn(), f = Pn(), d = h(Yn);
|
|
1842
1842
|
function h(x) {
|
|
1843
1843
|
return x && x.__esModule ? x : { default: x };
|
|
@@ -1901,17 +1901,17 @@ function Vn() {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
return x;
|
|
1903
1903
|
}
|
|
1904
|
-
function
|
|
1904
|
+
function M(x, T) {
|
|
1905
1905
|
if (!(x instanceof T)) throw new TypeError("Cannot call a class as a function");
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1907
|
+
function k(x, T) {
|
|
1908
1908
|
for (var D = 0; D < T.length; D++) {
|
|
1909
1909
|
var F = T[D];
|
|
1910
1910
|
F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(x, P(F.key), F);
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
1913
|
function N(x, T, D) {
|
|
1914
|
-
return T &&
|
|
1914
|
+
return T && k(x.prototype, T), Object.defineProperty(x, "prototype", { writable: !1 }), x;
|
|
1915
1915
|
}
|
|
1916
1916
|
function q(x, T) {
|
|
1917
1917
|
if (typeof T != "function" && T !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -1923,7 +1923,7 @@ function Vn() {
|
|
|
1923
1923
|
}, B(x, T);
|
|
1924
1924
|
}
|
|
1925
1925
|
function p(x) {
|
|
1926
|
-
var T =
|
|
1926
|
+
var T = O();
|
|
1927
1927
|
return function() {
|
|
1928
1928
|
var D, F = m(x);
|
|
1929
1929
|
if (T) {
|
|
@@ -1942,13 +1942,13 @@ function Vn() {
|
|
|
1942
1942
|
if (x === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1943
1943
|
return x;
|
|
1944
1944
|
}
|
|
1945
|
-
function
|
|
1945
|
+
function O() {
|
|
1946
1946
|
try {
|
|
1947
1947
|
var x = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1948
1948
|
}));
|
|
1949
1949
|
} catch {
|
|
1950
1950
|
}
|
|
1951
|
-
return (
|
|
1951
|
+
return (O = function() {
|
|
1952
1952
|
return !!x;
|
|
1953
1953
|
})();
|
|
1954
1954
|
}
|
|
@@ -1974,12 +1974,12 @@ function Vn() {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
return (T === "string" ? String : Number)(x);
|
|
1976
1976
|
}
|
|
1977
|
-
return
|
|
1977
|
+
return Ne.InnerSlider = /* @__PURE__ */ function(x) {
|
|
1978
1978
|
q(D, x);
|
|
1979
1979
|
var T = p(D);
|
|
1980
1980
|
function D(F) {
|
|
1981
1981
|
var s;
|
|
1982
|
-
|
|
1982
|
+
M(this, D), s = T.call(this, F), c(g(s), "listRefHandler", function(b) {
|
|
1983
1983
|
return s.list = b;
|
|
1984
1984
|
}), c(g(s), "trackRefHandler", function(b) {
|
|
1985
1985
|
return s.track = b;
|
|
@@ -2017,9 +2017,9 @@ function Vn() {
|
|
|
2017
2017
|
}), c(g(s), "componentDidUpdate", function(b) {
|
|
2018
2018
|
if (s.checkImagesLoad(), s.props.onReInit && s.props.onReInit(), s.props.lazyLoad) {
|
|
2019
2019
|
var n = (0, i.getOnDemandLazySlides)(v(v({}, s.props), s.state));
|
|
2020
|
-
n.length > 0 && (s.setState(function(
|
|
2020
|
+
n.length > 0 && (s.setState(function(I) {
|
|
2021
2021
|
return {
|
|
2022
|
-
lazyLoadedList:
|
|
2022
|
+
lazyLoadedList: I.lazyLoadedList.concat(n)
|
|
2023
2023
|
};
|
|
2024
2024
|
}), s.props.onLazyLoad && s.props.onLazyLoad(n));
|
|
2025
2025
|
}
|
|
@@ -2057,9 +2057,9 @@ function Vn() {
|
|
|
2057
2057
|
b = v(v(v({}, b), S), {}, {
|
|
2058
2058
|
slideIndex: S.currentSlide
|
|
2059
2059
|
});
|
|
2060
|
-
var
|
|
2060
|
+
var I = (0, i.getTrackLeft)(b);
|
|
2061
2061
|
b = v(v({}, b), {}, {
|
|
2062
|
-
left:
|
|
2062
|
+
left: I
|
|
2063
2063
|
});
|
|
2064
2064
|
var j = (0, i.getTrackCSS)(b);
|
|
2065
2065
|
(n || e.default.Children.count(s.props.children) !== e.default.Children.count(b.children)) && (S.trackStyle = j), s.setState(S, u);
|
|
@@ -2067,7 +2067,7 @@ function Vn() {
|
|
|
2067
2067
|
if (s.props.variableWidth) {
|
|
2068
2068
|
var b = 0, n = 0, u = [], S = (0, i.getPreClones)(v(v(v({}, s.props), s.state), {}, {
|
|
2069
2069
|
slideCount: s.props.children.length
|
|
2070
|
-
})),
|
|
2070
|
+
})), I = (0, i.getPostClones)(v(v(v({}, s.props), s.state), {}, {
|
|
2071
2071
|
slideCount: s.props.children.length
|
|
2072
2072
|
}));
|
|
2073
2073
|
s.props.children.forEach(function(le) {
|
|
@@ -2075,7 +2075,7 @@ function Vn() {
|
|
|
2075
2075
|
});
|
|
2076
2076
|
for (var j = 0; j < S; j++)
|
|
2077
2077
|
n += u[u.length - 1 - j], b += u[u.length - 1 - j];
|
|
2078
|
-
for (var H = 0; H <
|
|
2078
|
+
for (var H = 0; H < I; H++)
|
|
2079
2079
|
b += u[H];
|
|
2080
2080
|
for (var z = 0; z < s.state.currentSlide; z++)
|
|
2081
2081
|
n += u[z];
|
|
@@ -2106,7 +2106,7 @@ function Vn() {
|
|
|
2106
2106
|
}), c(g(s), "checkImagesLoad", function() {
|
|
2107
2107
|
var b = s.list && s.list.querySelectorAll && s.list.querySelectorAll(".slick-slide img") || [], n = b.length, u = 0;
|
|
2108
2108
|
Array.prototype.forEach.call(b, function(S) {
|
|
2109
|
-
var
|
|
2109
|
+
var I = function() {
|
|
2110
2110
|
return ++u && u >= n && s.onWindowResized();
|
|
2111
2111
|
};
|
|
2112
2112
|
if (!S.onclick)
|
|
@@ -2121,8 +2121,8 @@ function Vn() {
|
|
|
2121
2121
|
}
|
|
2122
2122
|
S.onload || (s.props.lazyLoad ? S.onload = function() {
|
|
2123
2123
|
s.adaptHeight(), s.callbackTimers.push(setTimeout(s.onWindowResized, s.props.speed));
|
|
2124
|
-
} : (S.onload =
|
|
2125
|
-
|
|
2124
|
+
} : (S.onload = I, S.onerror = function() {
|
|
2125
|
+
I(), s.props.onLazyLoadError && s.props.onLazyLoadError();
|
|
2126
2126
|
}));
|
|
2127
2127
|
});
|
|
2128
2128
|
}), c(g(s), "progressiveLazyLoad", function() {
|
|
@@ -2136,20 +2136,20 @@ function Vn() {
|
|
|
2136
2136
|
b.push(S);
|
|
2137
2137
|
break;
|
|
2138
2138
|
}
|
|
2139
|
-
b.length > 0 ? (s.setState(function(
|
|
2139
|
+
b.length > 0 ? (s.setState(function(I) {
|
|
2140
2140
|
return {
|
|
2141
|
-
lazyLoadedList:
|
|
2141
|
+
lazyLoadedList: I.lazyLoadedList.concat(b)
|
|
2142
2142
|
};
|
|
2143
2143
|
}), s.props.onLazyLoad && s.props.onLazyLoad(b)) : s.lazyLoadTimer && (clearInterval(s.lazyLoadTimer), delete s.lazyLoadTimer);
|
|
2144
2144
|
}), c(g(s), "slideHandler", function(b) {
|
|
2145
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = s.props, S = u.asNavFor,
|
|
2145
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = s.props, S = u.asNavFor, I = u.beforeChange, j = u.onLazyLoad, H = u.speed, z = u.afterChange, $ = s.state.currentSlide, Y = (0, i.slideHandler)(v(v(v({
|
|
2146
2146
|
index: b
|
|
2147
2147
|
}, s.props), s.state), {}, {
|
|
2148
2148
|
trackRef: s.track,
|
|
2149
2149
|
useCSS: s.props.useCSS && !n
|
|
2150
2150
|
})), V = Y.state, X = Y.nextState;
|
|
2151
2151
|
if (V) {
|
|
2152
|
-
|
|
2152
|
+
I && I($, V.currentSlide);
|
|
2153
2153
|
var re = V.lazyLoadedList.filter(function(ie) {
|
|
2154
2154
|
return s.state.lazyLoadedList.indexOf(ie) < 0;
|
|
2155
2155
|
});
|
|
@@ -2169,8 +2169,8 @@ function Vn() {
|
|
|
2169
2169
|
}), c(g(s), "changeSlide", function(b) {
|
|
2170
2170
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = v(v({}, s.props), s.state), S = (0, i.changeSlide)(u, b);
|
|
2171
2171
|
if (!(S !== 0 && !S) && (n === !0 ? s.slideHandler(S, n) : s.slideHandler(S), s.props.autoplay && s.autoPlay("update"), s.props.focusOnSelect)) {
|
|
2172
|
-
var
|
|
2173
|
-
|
|
2172
|
+
var I = s.list.querySelectorAll(".slick-current");
|
|
2173
|
+
I[0] && I[0].focus();
|
|
2174
2174
|
}
|
|
2175
2175
|
}), c(g(s), "clickHandler", function(b) {
|
|
2176
2176
|
s.clickable === !1 && (b.stopPropagation(), b.preventDefault()), s.clickable = !0;
|
|
@@ -2289,7 +2289,7 @@ function Vn() {
|
|
|
2289
2289
|
onMouseOver: S ? s.onTrackOver : null,
|
|
2290
2290
|
focusOnSelect: s.props.focusOnSelect && s.clickable ? s.selectHandler : null
|
|
2291
2291
|
});
|
|
2292
|
-
var
|
|
2292
|
+
var I;
|
|
2293
2293
|
if (s.props.dots === !0 && s.state.slideCount >= s.props.slidesToShow) {
|
|
2294
2294
|
var j = (0, i.extractObject)(n, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]), H = s.props.pauseOnDotsHover;
|
|
2295
2295
|
j = v(v({}, j), {}, {
|
|
@@ -2297,7 +2297,7 @@ function Vn() {
|
|
|
2297
2297
|
onMouseEnter: H ? s.onDotsLeave : null,
|
|
2298
2298
|
onMouseOver: H ? s.onDotsOver : null,
|
|
2299
2299
|
onMouseLeave: H ? s.onDotsLeave : null
|
|
2300
|
-
}),
|
|
2300
|
+
}), I = /* @__PURE__ */ e.default.createElement(l.Dots, j);
|
|
2301
2301
|
}
|
|
2302
2302
|
var z, $, Y = (0, i.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2303
2303
|
Y.clickHandler = s.changeSlide, s.props.arrows && (z = /* @__PURE__ */ e.default.createElement(f.PrevArrow, Y), $ = /* @__PURE__ */ e.default.createElement(f.NextArrow, Y));
|
|
@@ -2338,7 +2338,7 @@ function Vn() {
|
|
|
2338
2338
|
ref: s.listRefHandler
|
|
2339
2339
|
}, Q), /* @__PURE__ */ e.default.createElement(a.Track, E({
|
|
2340
2340
|
ref: s.trackRefHandler
|
|
2341
|
-
}, u), s.props.children)), s.props.unslick ? "" : $, s.props.unslick ? "" :
|
|
2341
|
+
}, u), s.props.children)), s.props.unslick ? "" : $, s.props.unslick ? "" : I);
|
|
2342
2342
|
}), s.list = null, s.track = null, s.state = v(v({}, t.default), {}, {
|
|
2343
2343
|
currentSlide: s.props.initialSlide,
|
|
2344
2344
|
targetSlide: s.props.initialSlide ? s.props.initialSlide : 0,
|
|
@@ -2364,7 +2364,7 @@ function Vn() {
|
|
|
2364
2364
|
return J || e.default.Children.count(this.props.children) !== e.default.Children.count(s.children);
|
|
2365
2365
|
}
|
|
2366
2366
|
}]), D;
|
|
2367
|
-
}(e.default.Component),
|
|
2367
|
+
}(e.default.Component), Ne;
|
|
2368
2368
|
}
|
|
2369
2369
|
var Rt, lr;
|
|
2370
2370
|
function Xn() {
|
|
@@ -2405,124 +2405,124 @@ function Kn() {
|
|
|
2405
2405
|
value: !0
|
|
2406
2406
|
}), e.default = void 0;
|
|
2407
2407
|
var t = l(U), r = Vn(), o = l(Gn()), i = l(Rr()), a = Ge();
|
|
2408
|
-
function l(
|
|
2409
|
-
return
|
|
2408
|
+
function l(O) {
|
|
2409
|
+
return O && O.__esModule ? O : { default: O };
|
|
2410
2410
|
}
|
|
2411
|
-
function f(
|
|
2411
|
+
function f(O) {
|
|
2412
2412
|
"@babel/helpers - typeof";
|
|
2413
2413
|
return f = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
|
|
2414
2414
|
return typeof m;
|
|
2415
2415
|
} : function(m) {
|
|
2416
2416
|
return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
|
|
2417
|
-
}, f(
|
|
2417
|
+
}, f(O);
|
|
2418
2418
|
}
|
|
2419
2419
|
function d() {
|
|
2420
|
-
return d = Object.assign ? Object.assign.bind() : function(
|
|
2420
|
+
return d = Object.assign ? Object.assign.bind() : function(O) {
|
|
2421
2421
|
for (var m = 1; m < arguments.length; m++) {
|
|
2422
2422
|
var c = arguments[m];
|
|
2423
2423
|
for (var P in c)
|
|
2424
|
-
({}).hasOwnProperty.call(c, P) && (
|
|
2424
|
+
({}).hasOwnProperty.call(c, P) && (O[P] = c[P]);
|
|
2425
2425
|
}
|
|
2426
|
-
return
|
|
2426
|
+
return O;
|
|
2427
2427
|
}, d.apply(null, arguments);
|
|
2428
2428
|
}
|
|
2429
|
-
function h(
|
|
2430
|
-
var c = Object.keys(
|
|
2429
|
+
function h(O, m) {
|
|
2430
|
+
var c = Object.keys(O);
|
|
2431
2431
|
if (Object.getOwnPropertySymbols) {
|
|
2432
|
-
var P = Object.getOwnPropertySymbols(
|
|
2432
|
+
var P = Object.getOwnPropertySymbols(O);
|
|
2433
2433
|
m && (P = P.filter(function(L) {
|
|
2434
|
-
return Object.getOwnPropertyDescriptor(
|
|
2434
|
+
return Object.getOwnPropertyDescriptor(O, L).enumerable;
|
|
2435
2435
|
})), c.push.apply(c, P);
|
|
2436
2436
|
}
|
|
2437
2437
|
return c;
|
|
2438
2438
|
}
|
|
2439
|
-
function w(
|
|
2439
|
+
function w(O) {
|
|
2440
2440
|
for (var m = 1; m < arguments.length; m++) {
|
|
2441
2441
|
var c = arguments[m] != null ? arguments[m] : {};
|
|
2442
2442
|
m % 2 ? h(Object(c), !0).forEach(function(P) {
|
|
2443
|
-
p(
|
|
2444
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
2445
|
-
Object.defineProperty(
|
|
2443
|
+
p(O, P, c[P]);
|
|
2444
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(O, Object.getOwnPropertyDescriptors(c)) : h(Object(c)).forEach(function(P) {
|
|
2445
|
+
Object.defineProperty(O, P, Object.getOwnPropertyDescriptor(c, P));
|
|
2446
2446
|
});
|
|
2447
2447
|
}
|
|
2448
|
-
return
|
|
2448
|
+
return O;
|
|
2449
2449
|
}
|
|
2450
|
-
function E(
|
|
2451
|
-
if (!(
|
|
2450
|
+
function E(O, m) {
|
|
2451
|
+
if (!(O instanceof m)) throw new TypeError("Cannot call a class as a function");
|
|
2452
2452
|
}
|
|
2453
|
-
function R(
|
|
2453
|
+
function R(O, m) {
|
|
2454
2454
|
for (var c = 0; c < m.length; c++) {
|
|
2455
2455
|
var P = m[c];
|
|
2456
|
-
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(
|
|
2456
|
+
P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(O, y(P.key), P);
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
|
-
function A(
|
|
2460
|
-
return m && R(
|
|
2459
|
+
function A(O, m, c) {
|
|
2460
|
+
return m && R(O.prototype, m), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
2461
2461
|
}
|
|
2462
|
-
function C(
|
|
2462
|
+
function C(O, m) {
|
|
2463
2463
|
if (typeof m != "function" && m !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2464
|
-
|
|
2464
|
+
O.prototype = Object.create(m && m.prototype, { constructor: { value: O, writable: !0, configurable: !0 } }), Object.defineProperty(O, "prototype", { writable: !1 }), m && v(O, m);
|
|
2465
2465
|
}
|
|
2466
|
-
function v(
|
|
2466
|
+
function v(O, m) {
|
|
2467
2467
|
return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, P) {
|
|
2468
2468
|
return c.__proto__ = P, c;
|
|
2469
|
-
}, v(
|
|
2469
|
+
}, v(O, m);
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function M(O) {
|
|
2472
2472
|
var m = q();
|
|
2473
2473
|
return function() {
|
|
2474
|
-
var c, P = B(
|
|
2474
|
+
var c, P = B(O);
|
|
2475
2475
|
if (m) {
|
|
2476
2476
|
var L = B(this).constructor;
|
|
2477
2477
|
c = Reflect.construct(P, arguments, L);
|
|
2478
2478
|
} else c = P.apply(this, arguments);
|
|
2479
|
-
return
|
|
2479
|
+
return k(this, c);
|
|
2480
2480
|
};
|
|
2481
2481
|
}
|
|
2482
|
-
function O
|
|
2482
|
+
function k(O, m) {
|
|
2483
2483
|
if (m && (f(m) == "object" || typeof m == "function")) return m;
|
|
2484
2484
|
if (m !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2485
|
-
return N(
|
|
2485
|
+
return N(O);
|
|
2486
2486
|
}
|
|
2487
|
-
function N(
|
|
2488
|
-
if (
|
|
2489
|
-
return
|
|
2487
|
+
function N(O) {
|
|
2488
|
+
if (O === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2489
|
+
return O;
|
|
2490
2490
|
}
|
|
2491
2491
|
function q() {
|
|
2492
2492
|
try {
|
|
2493
|
-
var
|
|
2493
|
+
var O = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
2494
2494
|
}));
|
|
2495
2495
|
} catch {
|
|
2496
2496
|
}
|
|
2497
2497
|
return (q = function() {
|
|
2498
|
-
return !!
|
|
2498
|
+
return !!O;
|
|
2499
2499
|
})();
|
|
2500
2500
|
}
|
|
2501
|
-
function B(
|
|
2501
|
+
function B(O) {
|
|
2502
2502
|
return B = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(m) {
|
|
2503
2503
|
return m.__proto__ || Object.getPrototypeOf(m);
|
|
2504
|
-
}, B(
|
|
2504
|
+
}, B(O);
|
|
2505
2505
|
}
|
|
2506
|
-
function p(
|
|
2507
|
-
return (m = y(m)) in
|
|
2506
|
+
function p(O, m, c) {
|
|
2507
|
+
return (m = y(m)) in O ? Object.defineProperty(O, m, { value: c, enumerable: !0, configurable: !0, writable: !0 }) : O[m] = c, O;
|
|
2508
2508
|
}
|
|
2509
|
-
function y(
|
|
2510
|
-
var m = g(
|
|
2509
|
+
function y(O) {
|
|
2510
|
+
var m = g(O, "string");
|
|
2511
2511
|
return f(m) == "symbol" ? m : m + "";
|
|
2512
2512
|
}
|
|
2513
|
-
function g(
|
|
2514
|
-
if (f(
|
|
2515
|
-
var c =
|
|
2513
|
+
function g(O, m) {
|
|
2514
|
+
if (f(O) != "object" || !O) return O;
|
|
2515
|
+
var c = O[Symbol.toPrimitive];
|
|
2516
2516
|
if (c !== void 0) {
|
|
2517
|
-
var P = c.call(
|
|
2517
|
+
var P = c.call(O, m);
|
|
2518
2518
|
if (f(P) != "object") return P;
|
|
2519
2519
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2520
2520
|
}
|
|
2521
|
-
return (m === "string" ? String : Number)(
|
|
2521
|
+
return (m === "string" ? String : Number)(O);
|
|
2522
2522
|
}
|
|
2523
|
-
e.default = /* @__PURE__ */ function(
|
|
2524
|
-
C(c,
|
|
2525
|
-
var m =
|
|
2523
|
+
e.default = /* @__PURE__ */ function(O) {
|
|
2524
|
+
C(c, O);
|
|
2525
|
+
var m = M(c);
|
|
2526
2526
|
function c(P) {
|
|
2527
2527
|
var L;
|
|
2528
2528
|
return E(this, c), L = m.call(this, P), p(N(L), "innerSliderRefHandler", function(x) {
|
|
@@ -2633,9 +2633,9 @@ function Kn() {
|
|
|
2633
2633
|
}, b));
|
|
2634
2634
|
}
|
|
2635
2635
|
if (x === "unslick") {
|
|
2636
|
-
var
|
|
2636
|
+
var I = "regular slider " + (this.props.className || "");
|
|
2637
2637
|
return /* @__PURE__ */ t.default.createElement("div", {
|
|
2638
|
-
className:
|
|
2638
|
+
className: I
|
|
2639
2639
|
}, D);
|
|
2640
2640
|
} else F.length <= x.slidesToShow && (x.unslick = !0);
|
|
2641
2641
|
return /* @__PURE__ */ t.default.createElement(r.InnerSlider, d({
|
|
@@ -2730,7 +2730,7 @@ function It(e, t) {
|
|
|
2730
2730
|
function fe(e, t) {
|
|
2731
2731
|
return e.charCodeAt(t) | 0;
|
|
2732
2732
|
}
|
|
2733
|
-
function
|
|
2733
|
+
function Be(e, t, r) {
|
|
2734
2734
|
return e.slice(t, r);
|
|
2735
2735
|
}
|
|
2736
2736
|
function me(e) {
|
|
@@ -2745,32 +2745,32 @@ function nt(e, t) {
|
|
|
2745
2745
|
function ui(e, t) {
|
|
2746
2746
|
return e.map(t).join("");
|
|
2747
2747
|
}
|
|
2748
|
-
var yt = 1, Te = 1, zr = 0, he = 0, se = 0,
|
|
2748
|
+
var yt = 1, Te = 1, zr = 0, he = 0, se = 0, Le = "";
|
|
2749
2749
|
function gt(e, t, r, o, i, a, l) {
|
|
2750
2750
|
return { value: e, root: t, parent: r, type: o, props: i, children: a, line: yt, column: Te, length: l, return: "" };
|
|
2751
2751
|
}
|
|
2752
|
-
function
|
|
2752
|
+
function We(e, t) {
|
|
2753
2753
|
return ai(gt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
2754
2754
|
}
|
|
2755
2755
|
function ci() {
|
|
2756
2756
|
return se;
|
|
2757
2757
|
}
|
|
2758
2758
|
function fi() {
|
|
2759
|
-
return se = he > 0 ? fe(
|
|
2759
|
+
return se = he > 0 ? fe(Le, --he) : 0, Te--, se === 10 && (Te = 1, yt--), se;
|
|
2760
2760
|
}
|
|
2761
2761
|
function ve() {
|
|
2762
|
-
return se = he < zr ? fe(
|
|
2762
|
+
return se = he < zr ? fe(Le, he++) : 0, Te++, se === 10 && (Te = 1, yt++), se;
|
|
2763
2763
|
}
|
|
2764
2764
|
function ge() {
|
|
2765
|
-
return fe(
|
|
2765
|
+
return fe(Le, he);
|
|
2766
2766
|
}
|
|
2767
2767
|
function ot() {
|
|
2768
2768
|
return he;
|
|
2769
2769
|
}
|
|
2770
2770
|
function Ke(e, t) {
|
|
2771
|
-
return
|
|
2771
|
+
return Be(Le, e, t);
|
|
2772
2772
|
}
|
|
2773
|
-
function
|
|
2773
|
+
function Ye(e) {
|
|
2774
2774
|
switch (e) {
|
|
2775
2775
|
// \0 \t \n \r \s whitespace token
|
|
2776
2776
|
case 0:
|
|
@@ -2809,10 +2809,10 @@ function Be(e) {
|
|
|
2809
2809
|
return 0;
|
|
2810
2810
|
}
|
|
2811
2811
|
function Hr(e) {
|
|
2812
|
-
return yt = Te = 1, zr = me(
|
|
2812
|
+
return yt = Te = 1, zr = me(Le = e), he = 0, [];
|
|
2813
2813
|
}
|
|
2814
2814
|
function Nr(e) {
|
|
2815
|
-
return
|
|
2815
|
+
return Le = "", e;
|
|
2816
2816
|
}
|
|
2817
2817
|
function at(e) {
|
|
2818
2818
|
return Ar(Ke(he - 1, At(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
@@ -2820,7 +2820,7 @@ function at(e) {
|
|
|
2820
2820
|
function di(e) {
|
|
2821
2821
|
for (; (se = ge()) && se < 33; )
|
|
2822
2822
|
ve();
|
|
2823
|
-
return
|
|
2823
|
+
return Ye(e) > 2 || Ye(se) > 3 ? "" : " ";
|
|
2824
2824
|
}
|
|
2825
2825
|
function hi(e, t) {
|
|
2826
2826
|
for (; --t && ve() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
|
|
@@ -2856,7 +2856,7 @@ function pi(e, t) {
|
|
|
2856
2856
|
return "/*" + Ke(t, he - 1) + "*" + mt(e === 47 ? e : ve());
|
|
2857
2857
|
}
|
|
2858
2858
|
function vi(e) {
|
|
2859
|
-
for (; !
|
|
2859
|
+
for (; !Ye(ge()); )
|
|
2860
2860
|
ve();
|
|
2861
2861
|
return Ke(e, he);
|
|
2862
2862
|
}
|
|
@@ -2864,12 +2864,12 @@ function mi(e) {
|
|
|
2864
2864
|
return Nr(st("", null, null, null, [""], e = Hr(e), 0, [0], e));
|
|
2865
2865
|
}
|
|
2866
2866
|
function st(e, t, r, o, i, a, l, f, d) {
|
|
2867
|
-
for (var h = 0, w = 0, E = l, R = 0, A = 0, C = 0, v = 1,
|
|
2867
|
+
for (var h = 0, w = 0, E = l, R = 0, A = 0, C = 0, v = 1, M = 1, k = 1, N = 0, q = "", B = i, p = a, y = o, g = q; M; )
|
|
2868
2868
|
switch (C = N, N = ve()) {
|
|
2869
2869
|
// (
|
|
2870
2870
|
case 40:
|
|
2871
2871
|
if (C != 108 && fe(g, E - 1) == 58) {
|
|
2872
|
-
It(g += te(at(N), "&", "&\f"), "&\f") != -1 && (
|
|
2872
|
+
It(g += te(at(N), "&", "&\f"), "&\f") != -1 && (k = -1);
|
|
2873
2873
|
break;
|
|
2874
2874
|
}
|
|
2875
2875
|
// " ' [
|
|
@@ -2902,7 +2902,7 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2902
2902
|
break;
|
|
2903
2903
|
// {
|
|
2904
2904
|
case 123 * v:
|
|
2905
|
-
f[h++] = me(g) *
|
|
2905
|
+
f[h++] = me(g) * k;
|
|
2906
2906
|
// } ; \0
|
|
2907
2907
|
case 125 * v:
|
|
2908
2908
|
case 59:
|
|
@@ -2911,10 +2911,10 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2911
2911
|
// \0 }
|
|
2912
2912
|
case 0:
|
|
2913
2913
|
case 125:
|
|
2914
|
-
|
|
2914
|
+
M = 0;
|
|
2915
2915
|
// ;
|
|
2916
2916
|
case 59 + w:
|
|
2917
|
-
|
|
2917
|
+
k == -1 && (g = te(g, /\f/g, "")), A > 0 && me(g) - E && nt(A > 32 ? hr(g + ";", o, r, E - 1) : hr(te(g, " ", "") + ";", o, r, E - 2), d);
|
|
2918
2918
|
break;
|
|
2919
2919
|
// @ ;
|
|
2920
2920
|
case 59:
|
|
@@ -2937,7 +2937,7 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2937
2937
|
st(g, y, y, y, [""], p, 0, f, p);
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
|
-
h = w = A = 0, v =
|
|
2940
|
+
h = w = A = 0, v = k = 1, q = g = "", E = l;
|
|
2941
2941
|
break;
|
|
2942
2942
|
// :
|
|
2943
2943
|
case 58:
|
|
@@ -2952,11 +2952,11 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2952
2952
|
switch (g += mt(N), N * v) {
|
|
2953
2953
|
// &
|
|
2954
2954
|
case 38:
|
|
2955
|
-
|
|
2955
|
+
k = w > 0 ? 1 : (g += "\f", -1);
|
|
2956
2956
|
break;
|
|
2957
2957
|
// ,
|
|
2958
2958
|
case 44:
|
|
2959
|
-
f[h++] = (me(g) - 1) *
|
|
2959
|
+
f[h++] = (me(g) - 1) * k, k = 1;
|
|
2960
2960
|
break;
|
|
2961
2961
|
// @
|
|
2962
2962
|
case 64:
|
|
@@ -2970,16 +2970,16 @@ function st(e, t, r, o, i, a, l, f, d) {
|
|
|
2970
2970
|
return a;
|
|
2971
2971
|
}
|
|
2972
2972
|
function dr(e, t, r, o, i, a, l, f, d, h, w) {
|
|
2973
|
-
for (var E = i - 1, R = i === 0 ? a : [""], A = Wt(R), C = 0, v = 0,
|
|
2974
|
-
for (var
|
|
2975
|
-
(q = Ar(v > 0 ? R[
|
|
2973
|
+
for (var E = i - 1, R = i === 0 ? a : [""], A = Wt(R), C = 0, v = 0, M = 0; C < o; ++C)
|
|
2974
|
+
for (var k = 0, N = Be(e, E + 1, E = oi(v = l[C])), q = e; k < A; ++k)
|
|
2975
|
+
(q = Ar(v > 0 ? R[k] + " " + N : te(N, /&\f/g, R[k]))) && (d[M++] = q);
|
|
2976
2976
|
return gt(e, t, r, i === 0 ? Ft : f, d, h, w);
|
|
2977
2977
|
}
|
|
2978
2978
|
function yi(e, t, r) {
|
|
2979
|
-
return gt(e, t, r, Mr, mt(ci()),
|
|
2979
|
+
return gt(e, t, r, Mr, mt(ci()), Be(e, 2, -2), 0);
|
|
2980
2980
|
}
|
|
2981
2981
|
function hr(e, t, r, o) {
|
|
2982
|
-
return gt(e, t, r, $t,
|
|
2982
|
+
return gt(e, t, r, $t, Be(e, 0, o), Be(e, o + 1, -1), o);
|
|
2983
2983
|
}
|
|
2984
2984
|
function Re(e, t) {
|
|
2985
2985
|
for (var r = "", o = Wt(e), i = 0; i < o; i++)
|
|
@@ -3022,13 +3022,13 @@ function Fr(e) {
|
|
|
3022
3022
|
};
|
|
3023
3023
|
}
|
|
3024
3024
|
var Si = function(t, r, o) {
|
|
3025
|
-
for (var i = 0, a = 0; i = a, a = ge(), i === 38 && a === 12 && (r[o] = 1), !
|
|
3025
|
+
for (var i = 0, a = 0; i = a, a = ge(), i === 38 && a === 12 && (r[o] = 1), !Ye(a); )
|
|
3026
3026
|
ve();
|
|
3027
3027
|
return Ke(t, he);
|
|
3028
3028
|
}, xi = function(t, r) {
|
|
3029
3029
|
var o = -1, i = 44;
|
|
3030
3030
|
do
|
|
3031
|
-
switch (
|
|
3031
|
+
switch (Ye(i)) {
|
|
3032
3032
|
case 0:
|
|
3033
3033
|
i === 38 && ge() === 12 && (r[o] = 1), t[o] += Si(he - 1, r, o);
|
|
3034
3034
|
break;
|
|
@@ -3217,7 +3217,7 @@ var Pi = function(t, r, o, i) {
|
|
|
3217
3217
|
t.return = $r(t.value, t.length);
|
|
3218
3218
|
break;
|
|
3219
3219
|
case Ir:
|
|
3220
|
-
return Re([
|
|
3220
|
+
return Re([We(t, {
|
|
3221
3221
|
value: te(t.value, "@", "@" + ee)
|
|
3222
3222
|
})], i);
|
|
3223
3223
|
case Ft:
|
|
@@ -3226,16 +3226,16 @@ var Pi = function(t, r, o, i) {
|
|
|
3226
3226
|
// :read-(only|write)
|
|
3227
3227
|
case ":read-only":
|
|
3228
3228
|
case ":read-write":
|
|
3229
|
-
return Re([
|
|
3229
|
+
return Re([We(t, {
|
|
3230
3230
|
props: [te(a, /:(read-\w+)/, ":" + dt + "$1")]
|
|
3231
3231
|
})], i);
|
|
3232
3232
|
// :placeholder
|
|
3233
3233
|
case "::placeholder":
|
|
3234
|
-
return Re([
|
|
3234
|
+
return Re([We(t, {
|
|
3235
3235
|
props: [te(a, /:(plac\w+)/, ":" + ee + "input-$1")]
|
|
3236
|
-
}),
|
|
3236
|
+
}), We(t, {
|
|
3237
3237
|
props: [te(a, /:(plac\w+)/, ":" + dt + "$1")]
|
|
3238
|
-
}),
|
|
3238
|
+
}), We(t, {
|
|
3239
3239
|
props: [te(a, /:(plac\w+)/, de + "input-$1")]
|
|
3240
3240
|
})], i);
|
|
3241
3241
|
}
|
|
@@ -3247,8 +3247,8 @@ var Pi = function(t, r, o, i) {
|
|
|
3247
3247
|
if (r === "css") {
|
|
3248
3248
|
var o = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
3249
3249
|
Array.prototype.forEach.call(o, function(v) {
|
|
3250
|
-
var
|
|
3251
|
-
|
|
3250
|
+
var M = v.getAttribute("data-emotion");
|
|
3251
|
+
M.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
3252
3252
|
});
|
|
3253
3253
|
}
|
|
3254
3254
|
var i = t.stylisPlugins || Ei, a = {}, l, f = [];
|
|
@@ -3257,8 +3257,8 @@ var Pi = function(t, r, o, 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(v) {
|
|
3260
|
-
for (var
|
|
3261
|
-
a[
|
|
3260
|
+
for (var M = v.getAttribute("data-emotion").split(" "), k = 1; k < M.length; k++)
|
|
3261
|
+
a[M[k]] = !0;
|
|
3262
3262
|
f.push(v);
|
|
3263
3263
|
}
|
|
3264
3264
|
);
|
|
@@ -3266,11 +3266,11 @@ var Pi = function(t, r, o, i) {
|
|
|
3266
3266
|
{
|
|
3267
3267
|
var w, E = [gi, wi(function(v) {
|
|
3268
3268
|
w.insert(v);
|
|
3269
|
-
})], R = bi(h.concat(i, E)), A = function(
|
|
3270
|
-
return Re(mi(
|
|
3269
|
+
})], R = bi(h.concat(i, E)), A = function(M) {
|
|
3270
|
+
return Re(mi(M), R);
|
|
3271
3271
|
};
|
|
3272
|
-
d = function(
|
|
3273
|
-
w = N, A(
|
|
3272
|
+
d = function(M, k, N, q) {
|
|
3273
|
+
w = N, A(M ? M + "{" + k.styles + "}" : k.styles), q && (C.inserted[k.name] = !0);
|
|
3274
3274
|
};
|
|
3275
3275
|
}
|
|
3276
3276
|
var C = {
|
|
@@ -3407,7 +3407,7 @@ var Di = {
|
|
|
3407
3407
|
}
|
|
3408
3408
|
return Di[t] !== 1 && !qr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
3409
3409
|
};
|
|
3410
|
-
function
|
|
3410
|
+
function Ve(e, t, r) {
|
|
3411
3411
|
if (r == null)
|
|
3412
3412
|
return "";
|
|
3413
3413
|
var o = r;
|
|
@@ -3442,7 +3442,7 @@ function Ye(e, t, r) {
|
|
|
3442
3442
|
case "function": {
|
|
3443
3443
|
if (e !== void 0) {
|
|
3444
3444
|
var d = ye, h = r(e);
|
|
3445
|
-
return ye = d,
|
|
3445
|
+
return ye = d, Ve(e, t, h);
|
|
3446
3446
|
}
|
|
3447
3447
|
break;
|
|
3448
3448
|
}
|
|
@@ -3457,7 +3457,7 @@ function Ai(e, t, r) {
|
|
|
3457
3457
|
var o = "";
|
|
3458
3458
|
if (Array.isArray(r))
|
|
3459
3459
|
for (var i = 0; i < r.length; i++)
|
|
3460
|
-
o +=
|
|
3460
|
+
o += Ve(e, t, r[i]) + ";";
|
|
3461
3461
|
else
|
|
3462
3462
|
for (var a in r) {
|
|
3463
3463
|
var l = r[a];
|
|
@@ -3468,7 +3468,7 @@ function Ai(e, t, r) {
|
|
|
3468
3468
|
for (var d = 0; d < l.length; d++)
|
|
3469
3469
|
vr(l[d]) && (o += Tt(a) + ":" + mr(a, l[d]) + ";");
|
|
3470
3470
|
else {
|
|
3471
|
-
var h =
|
|
3471
|
+
var h = Ve(e, t, l);
|
|
3472
3472
|
switch (a) {
|
|
3473
3473
|
case "animation":
|
|
3474
3474
|
case "animationName": {
|
|
@@ -3490,13 +3490,13 @@ function zi(e, t, r) {
|
|
|
3490
3490
|
ye = void 0;
|
|
3491
3491
|
var a = e[0];
|
|
3492
3492
|
if (a == null || a.raw === void 0)
|
|
3493
|
-
o = !1, i +=
|
|
3493
|
+
o = !1, i += Ve(r, t, a);
|
|
3494
3494
|
else {
|
|
3495
3495
|
var l = a;
|
|
3496
3496
|
i += l[0];
|
|
3497
3497
|
}
|
|
3498
3498
|
for (var f = 1; f < e.length; f++)
|
|
3499
|
-
if (i +=
|
|
3499
|
+
if (i += Ve(r, t, e[f]), o) {
|
|
3500
3500
|
var d = a;
|
|
3501
3501
|
i += d[f];
|
|
3502
3502
|
}
|
|
@@ -3569,23 +3569,23 @@ var $i = function(t) {
|
|
|
3569
3569
|
for (var A = w.length, C = 1; C < A; C++)
|
|
3570
3570
|
E.push(w[C], R[C]);
|
|
3571
3571
|
}
|
|
3572
|
-
var v = $i(function(
|
|
3573
|
-
var q = h &&
|
|
3574
|
-
if (
|
|
3572
|
+
var v = $i(function(M, k, N) {
|
|
3573
|
+
var q = h && M.as || i, B = "", p = [], y = M;
|
|
3574
|
+
if (M.theme == null) {
|
|
3575
3575
|
y = {};
|
|
3576
|
-
for (var g in
|
|
3577
|
-
y[g] =
|
|
3576
|
+
for (var g in M)
|
|
3577
|
+
y[g] = M[g];
|
|
3578
3578
|
y.theme = _.useContext(Wi);
|
|
3579
3579
|
}
|
|
3580
|
-
typeof
|
|
3581
|
-
var
|
|
3582
|
-
B +=
|
|
3580
|
+
typeof M.className == "string" ? B = Ti(k.registered, p, M.className) : M.className != null && (B = M.className + " ");
|
|
3581
|
+
var O = zi(E.concat(p), k.registered, y);
|
|
3582
|
+
B += k.key + "-" + O.name, l !== void 0 && (B += " " + l);
|
|
3583
3583
|
var m = h && f === void 0 ? gr(q) : d, c = {};
|
|
3584
|
-
for (var P in
|
|
3585
|
-
h && P === "as" || m(P) && (c[P] =
|
|
3584
|
+
for (var P in M)
|
|
3585
|
+
h && P === "as" || m(P) && (c[P] = M[P]);
|
|
3586
3586
|
return c.className = B, N && (c.ref = N), /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(Vi, {
|
|
3587
|
-
cache:
|
|
3588
|
-
serialized:
|
|
3587
|
+
cache: k,
|
|
3588
|
+
serialized: O,
|
|
3589
3589
|
isStringTag: typeof q == "string"
|
|
3590
3590
|
}), /* @__PURE__ */ _.createElement(q, c));
|
|
3591
3591
|
});
|
|
@@ -3593,9 +3593,9 @@ var $i = function(t) {
|
|
|
3593
3593
|
value: function() {
|
|
3594
3594
|
return "." + l;
|
|
3595
3595
|
}
|
|
3596
|
-
}), v.withComponent = function(
|
|
3597
|
-
var N = e(
|
|
3598
|
-
shouldForwardProp: br(v,
|
|
3596
|
+
}), v.withComponent = function(M, k) {
|
|
3597
|
+
var N = e(M, Mt({}, r, k, {
|
|
3598
|
+
shouldForwardProp: br(v, k, !0)
|
|
3599
3599
|
}));
|
|
3600
3600
|
return N.apply(void 0, E);
|
|
3601
3601
|
}, v;
|
|
@@ -3736,11 +3736,11 @@ var $i = function(t) {
|
|
|
3736
3736
|
"svg",
|
|
3737
3737
|
"text",
|
|
3738
3738
|
"tspan"
|
|
3739
|
-
],
|
|
3739
|
+
], je = Xi.bind(null);
|
|
3740
3740
|
Gi.forEach(function(e) {
|
|
3741
|
-
|
|
3741
|
+
je[e] = je(e);
|
|
3742
3742
|
});
|
|
3743
|
-
const Ki =
|
|
3743
|
+
const Ki = je.div`
|
|
3744
3744
|
width: 100%;
|
|
3745
3745
|
height: fit-content;
|
|
3746
3746
|
|
|
@@ -3749,7 +3749,7 @@ const Ki = Ve.div`
|
|
|
3749
3749
|
.slick-list {
|
|
3750
3750
|
overflow: visible;
|
|
3751
3751
|
}
|
|
3752
|
-
`, Ji =
|
|
3752
|
+
`, Ji = je.div`
|
|
3753
3753
|
box-sizing: border-box;
|
|
3754
3754
|
display: flex;
|
|
3755
3755
|
flex-direction: column;
|
|
@@ -3762,7 +3762,7 @@ const Ki = Ve.div`
|
|
|
3762
3762
|
box-sizing: border-box;
|
|
3763
3763
|
display: flex;
|
|
3764
3764
|
}
|
|
3765
|
-
`,
|
|
3765
|
+
`, Aa = ({
|
|
3766
3766
|
styles: e,
|
|
3767
3767
|
content: t,
|
|
3768
3768
|
settings: r,
|
|
@@ -3790,7 +3790,7 @@ const Ki = Ve.div`
|
|
|
3790
3790
|
}
|
|
3791
3791
|
));
|
|
3792
3792
|
return /* @__PURE__ */ G.jsx(Ki, { styles: { ...e }, children: /* @__PURE__ */ G.jsx(Qn, { ...i, children: a }) });
|
|
3793
|
-
},
|
|
3793
|
+
}, za = (e) => Er(e, []), Zi = () => {
|
|
3794
3794
|
const [e, t] = U.useState(
|
|
3795
3795
|
{}
|
|
3796
3796
|
), [r, o] = U.useState(!1);
|
|
@@ -3864,7 +3864,7 @@ const Ki = Ve.div`
|
|
|
3864
3864
|
}, [l]), U.useEffect(() => {
|
|
3865
3865
|
f !== a.current && (a.current = f, f || E());
|
|
3866
3866
|
}, [f, a.current]);
|
|
3867
|
-
},
|
|
3867
|
+
}, Ha = () => {
|
|
3868
3868
|
const e = (r, o) => {
|
|
3869
3869
|
let i = 0, a = `${r}?`;
|
|
3870
3870
|
for (const l in o) {
|
|
@@ -3898,7 +3898,7 @@ class eo {
|
|
|
3898
3898
|
};
|
|
3899
3899
|
static isDateOneAfterDateTwo = (t, r) => t.getFullYear() >= r.getFullYear() && t.getMonth() >= r.getMonth() ? t.getDay() > r.getDay() : !1;
|
|
3900
3900
|
}
|
|
3901
|
-
const
|
|
3901
|
+
const Na = (e, t = 0) => {
|
|
3902
3902
|
const r = U.useRef(0), [o, i] = U.useState(0), a = U.useRef(null), [l, f] = U.useState(!1), d = U.useCallback(() => {
|
|
3903
3903
|
f((E) => !E);
|
|
3904
3904
|
}, []), h = U.useCallback(() => r.current === 0 ? !1 : o >= r.current - t, [t, o]), w = U.useCallback(() => e.current !== null && e.current !== void 0, [e]);
|
|
@@ -3931,7 +3931,7 @@ const Ha = (e, t = 0) => {
|
|
|
3931
3931
|
lg: 991,
|
|
3932
3932
|
xl: 1200,
|
|
3933
3933
|
xxl: 1440
|
|
3934
|
-
},
|
|
3934
|
+
}, Fa = (e) => {
|
|
3935
3935
|
const t = {
|
|
3936
3936
|
...to,
|
|
3937
3937
|
...e?.breakpointConfiguration
|
|
@@ -3946,7 +3946,7 @@ const Ha = (e, t = 0) => {
|
|
|
3946
3946
|
}, ro = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", no = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", wr = (e) => {
|
|
3947
3947
|
const t = window.innerWidth, r = window.innerHeight, o = ro(t, e), i = no(t, e);
|
|
3948
3948
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: o, currentSize: i };
|
|
3949
|
-
},
|
|
3949
|
+
}, $a = (e) => {
|
|
3950
3950
|
const t = e.translations, r = e.language, o = (a, l) => {
|
|
3951
3951
|
if (!a)
|
|
3952
3952
|
return;
|
|
@@ -3968,10 +3968,10 @@ const Ha = (e, t = 0) => {
|
|
|
3968
3968
|
getTranslation: o
|
|
3969
3969
|
};
|
|
3970
3970
|
};
|
|
3971
|
-
var
|
|
3971
|
+
var qe = {}, Sr;
|
|
3972
3972
|
function io() {
|
|
3973
|
-
if (Sr) return
|
|
3974
|
-
Sr = 1, Object.defineProperty(
|
|
3973
|
+
if (Sr) return qe;
|
|
3974
|
+
Sr = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.parse = l, qe.serialize = h;
|
|
3975
3975
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, o = /^[\u0020-\u003A\u003D-\u007E]*$/, i = Object.prototype.toString, a = /* @__PURE__ */ (() => {
|
|
3976
3976
|
const R = function() {
|
|
3977
3977
|
};
|
|
@@ -3981,25 +3981,25 @@ function io() {
|
|
|
3981
3981
|
const C = new a(), v = R.length;
|
|
3982
3982
|
if (v < 2)
|
|
3983
3983
|
return C;
|
|
3984
|
-
const
|
|
3985
|
-
let
|
|
3984
|
+
const M = A?.decode || w;
|
|
3985
|
+
let k = 0;
|
|
3986
3986
|
do {
|
|
3987
|
-
const N = R.indexOf("=",
|
|
3987
|
+
const N = R.indexOf("=", k);
|
|
3988
3988
|
if (N === -1)
|
|
3989
3989
|
break;
|
|
3990
|
-
const q = R.indexOf(";",
|
|
3990
|
+
const q = R.indexOf(";", k), B = q === -1 ? v : q;
|
|
3991
3991
|
if (N > B) {
|
|
3992
|
-
|
|
3992
|
+
k = R.lastIndexOf(";", N - 1) + 1;
|
|
3993
3993
|
continue;
|
|
3994
3994
|
}
|
|
3995
|
-
const p = f(R,
|
|
3995
|
+
const p = f(R, k, N), y = d(R, N, p), g = R.slice(p, y);
|
|
3996
3996
|
if (C[g] === void 0) {
|
|
3997
|
-
let
|
|
3998
|
-
const c =
|
|
3997
|
+
let O = f(R, N + 1, B), m = d(R, B, O);
|
|
3998
|
+
const c = M(R.slice(O, m));
|
|
3999
3999
|
C[g] = c;
|
|
4000
4000
|
}
|
|
4001
|
-
|
|
4002
|
-
} while (
|
|
4001
|
+
k = B + 1;
|
|
4002
|
+
} while (k < v);
|
|
4003
4003
|
return C;
|
|
4004
4004
|
}
|
|
4005
4005
|
function f(R, A, C) {
|
|
@@ -4022,42 +4022,42 @@ function io() {
|
|
|
4022
4022
|
const v = C?.encode || encodeURIComponent;
|
|
4023
4023
|
if (!e.test(R))
|
|
4024
4024
|
throw new TypeError(`argument name is invalid: ${R}`);
|
|
4025
|
-
const
|
|
4026
|
-
if (!t.test(
|
|
4025
|
+
const M = v(A);
|
|
4026
|
+
if (!t.test(M))
|
|
4027
4027
|
throw new TypeError(`argument val is invalid: ${A}`);
|
|
4028
|
-
let
|
|
4028
|
+
let k = R + "=" + M;
|
|
4029
4029
|
if (!C)
|
|
4030
|
-
return
|
|
4030
|
+
return k;
|
|
4031
4031
|
if (C.maxAge !== void 0) {
|
|
4032
4032
|
if (!Number.isInteger(C.maxAge))
|
|
4033
4033
|
throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);
|
|
4034
|
-
|
|
4034
|
+
k += "; Max-Age=" + C.maxAge;
|
|
4035
4035
|
}
|
|
4036
4036
|
if (C.domain) {
|
|
4037
4037
|
if (!r.test(C.domain))
|
|
4038
4038
|
throw new TypeError(`option domain is invalid: ${C.domain}`);
|
|
4039
|
-
|
|
4039
|
+
k += "; Domain=" + C.domain;
|
|
4040
4040
|
}
|
|
4041
4041
|
if (C.path) {
|
|
4042
4042
|
if (!o.test(C.path))
|
|
4043
4043
|
throw new TypeError(`option path is invalid: ${C.path}`);
|
|
4044
|
-
|
|
4044
|
+
k += "; Path=" + C.path;
|
|
4045
4045
|
}
|
|
4046
4046
|
if (C.expires) {
|
|
4047
4047
|
if (!E(C.expires) || !Number.isFinite(C.expires.valueOf()))
|
|
4048
4048
|
throw new TypeError(`option expires is invalid: ${C.expires}`);
|
|
4049
|
-
|
|
4049
|
+
k += "; Expires=" + C.expires.toUTCString();
|
|
4050
4050
|
}
|
|
4051
|
-
if (C.httpOnly && (
|
|
4051
|
+
if (C.httpOnly && (k += "; HttpOnly"), C.secure && (k += "; Secure"), C.partitioned && (k += "; Partitioned"), C.priority)
|
|
4052
4052
|
switch (typeof C.priority == "string" ? C.priority.toLowerCase() : void 0) {
|
|
4053
4053
|
case "low":
|
|
4054
|
-
|
|
4054
|
+
k += "; Priority=Low";
|
|
4055
4055
|
break;
|
|
4056
4056
|
case "medium":
|
|
4057
|
-
|
|
4057
|
+
k += "; Priority=Medium";
|
|
4058
4058
|
break;
|
|
4059
4059
|
case "high":
|
|
4060
|
-
|
|
4060
|
+
k += "; Priority=High";
|
|
4061
4061
|
break;
|
|
4062
4062
|
default:
|
|
4063
4063
|
throw new TypeError(`option priority is invalid: ${C.priority}`);
|
|
@@ -4066,18 +4066,18 @@ function io() {
|
|
|
4066
4066
|
switch (typeof C.sameSite == "string" ? C.sameSite.toLowerCase() : C.sameSite) {
|
|
4067
4067
|
case !0:
|
|
4068
4068
|
case "strict":
|
|
4069
|
-
|
|
4069
|
+
k += "; SameSite=Strict";
|
|
4070
4070
|
break;
|
|
4071
4071
|
case "lax":
|
|
4072
|
-
|
|
4072
|
+
k += "; SameSite=Lax";
|
|
4073
4073
|
break;
|
|
4074
4074
|
case "none":
|
|
4075
|
-
|
|
4075
|
+
k += "; SameSite=None";
|
|
4076
4076
|
break;
|
|
4077
4077
|
default:
|
|
4078
4078
|
throw new TypeError(`option sameSite is invalid: ${C.sameSite}`);
|
|
4079
4079
|
}
|
|
4080
|
-
return
|
|
4080
|
+
return k;
|
|
4081
4081
|
}
|
|
4082
4082
|
function w(R) {
|
|
4083
4083
|
if (R.indexOf("%") === -1)
|
|
@@ -4091,7 +4091,7 @@ function io() {
|
|
|
4091
4091
|
function E(R) {
|
|
4092
4092
|
return i.call(R) === "[object Date]";
|
|
4093
4093
|
}
|
|
4094
|
-
return
|
|
4094
|
+
return qe;
|
|
4095
4095
|
}
|
|
4096
4096
|
io();
|
|
4097
4097
|
/**
|
|
@@ -4154,7 +4154,7 @@ function zt(e, t, r = null, o) {
|
|
|
4154
4154
|
pathname: typeof e == "string" ? e : e.pathname,
|
|
4155
4155
|
search: "",
|
|
4156
4156
|
hash: "",
|
|
4157
|
-
...typeof t == "string" ?
|
|
4157
|
+
...typeof t == "string" ? De(t) : t,
|
|
4158
4158
|
state: r,
|
|
4159
4159
|
// TODO: This could be cleaned up. push/replace should probably just take
|
|
4160
4160
|
// full Locations now and avoid the need to run through this flow at all
|
|
@@ -4170,7 +4170,7 @@ function Xe({
|
|
|
4170
4170
|
}) {
|
|
4171
4171
|
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), r && r !== "#" && (e += r.charAt(0) === "#" ? r : "#" + r), e;
|
|
4172
4172
|
}
|
|
4173
|
-
function
|
|
4173
|
+
function De(e) {
|
|
4174
4174
|
let t = {};
|
|
4175
4175
|
if (e) {
|
|
4176
4176
|
let r = e.indexOf("#");
|
|
@@ -4188,12 +4188,12 @@ function so(e, t, r, o = {}) {
|
|
|
4188
4188
|
}
|
|
4189
4189
|
function E() {
|
|
4190
4190
|
f = "POP";
|
|
4191
|
-
let
|
|
4192
|
-
h =
|
|
4191
|
+
let M = w(), k = M == null ? null : M - h;
|
|
4192
|
+
h = M, d && d({ action: f, location: v.location, delta: k });
|
|
4193
4193
|
}
|
|
4194
|
-
function R(
|
|
4194
|
+
function R(M, k) {
|
|
4195
4195
|
f = "PUSH";
|
|
4196
|
-
let N = zt(v.location,
|
|
4196
|
+
let N = zt(v.location, M, k);
|
|
4197
4197
|
h = w() + 1;
|
|
4198
4198
|
let q = kr(N, h), B = v.createHref(N);
|
|
4199
4199
|
try {
|
|
@@ -4205,15 +4205,15 @@ function so(e, t, r, o = {}) {
|
|
|
4205
4205
|
}
|
|
4206
4206
|
a && d && d({ action: f, location: v.location, delta: 1 });
|
|
4207
4207
|
}
|
|
4208
|
-
function A(
|
|
4208
|
+
function A(M, k) {
|
|
4209
4209
|
f = "REPLACE";
|
|
4210
|
-
let N = zt(v.location,
|
|
4210
|
+
let N = zt(v.location, M, k);
|
|
4211
4211
|
h = w();
|
|
4212
4212
|
let q = kr(N, h), B = v.createHref(N);
|
|
4213
4213
|
l.replaceState(q, "", B), a && d && d({ action: f, location: v.location, delta: 0 });
|
|
4214
4214
|
}
|
|
4215
|
-
function C(
|
|
4216
|
-
return lo(
|
|
4215
|
+
function C(M) {
|
|
4216
|
+
return lo(M);
|
|
4217
4217
|
}
|
|
4218
4218
|
let v = {
|
|
4219
4219
|
get action() {
|
|
@@ -4222,29 +4222,29 @@ function so(e, t, r, o = {}) {
|
|
|
4222
4222
|
get location() {
|
|
4223
4223
|
return e(i, l);
|
|
4224
4224
|
},
|
|
4225
|
-
listen(
|
|
4225
|
+
listen(M) {
|
|
4226
4226
|
if (d)
|
|
4227
4227
|
throw new Error("A history only accepts one active listener");
|
|
4228
|
-
return i.addEventListener(xr, E), d =
|
|
4228
|
+
return i.addEventListener(xr, E), d = M, () => {
|
|
4229
4229
|
i.removeEventListener(xr, E), d = null;
|
|
4230
4230
|
};
|
|
4231
4231
|
},
|
|
4232
|
-
createHref(
|
|
4233
|
-
return t(i,
|
|
4232
|
+
createHref(M) {
|
|
4233
|
+
return t(i, M);
|
|
4234
4234
|
},
|
|
4235
4235
|
createURL: C,
|
|
4236
|
-
encodeLocation(
|
|
4237
|
-
let
|
|
4236
|
+
encodeLocation(M) {
|
|
4237
|
+
let k = C(M);
|
|
4238
4238
|
return {
|
|
4239
|
-
pathname:
|
|
4240
|
-
search:
|
|
4241
|
-
hash:
|
|
4239
|
+
pathname: k.pathname,
|
|
4240
|
+
search: k.search,
|
|
4241
|
+
hash: k.hash
|
|
4242
4242
|
};
|
|
4243
4243
|
},
|
|
4244
4244
|
push: R,
|
|
4245
4245
|
replace: A,
|
|
4246
|
-
go(
|
|
4247
|
-
return l.go(
|
|
4246
|
+
go(M) {
|
|
4247
|
+
return l.go(M);
|
|
4248
4248
|
}
|
|
4249
4249
|
};
|
|
4250
4250
|
return v;
|
|
@@ -4259,7 +4259,7 @@ function Br(e, t, r = "/") {
|
|
|
4259
4259
|
return uo(e, t, r, !1);
|
|
4260
4260
|
}
|
|
4261
4261
|
function uo(e, t, r, o) {
|
|
4262
|
-
let i = typeof t == "string" ?
|
|
4262
|
+
let i = typeof t == "string" ? De(t) : t, a = xe(i.pathname || "/", r);
|
|
4263
4263
|
if (a == null)
|
|
4264
4264
|
return null;
|
|
4265
4265
|
let l = Yr(e);
|
|
@@ -4438,7 +4438,7 @@ function ko(e, t = "/") {
|
|
|
4438
4438
|
pathname: r,
|
|
4439
4439
|
search: o = "",
|
|
4440
4440
|
hash: i = ""
|
|
4441
|
-
} = typeof e == "string" ?
|
|
4441
|
+
} = typeof e == "string" ? De(e) : e;
|
|
4442
4442
|
return {
|
|
4443
4443
|
pathname: r ? r.startsWith("/") ? r : Oo(r, t) : t,
|
|
4444
4444
|
search: Eo(o),
|
|
@@ -4469,7 +4469,7 @@ function Xr(e) {
|
|
|
4469
4469
|
}
|
|
4470
4470
|
function Gr(e, t, r, o = !1) {
|
|
4471
4471
|
let i;
|
|
4472
|
-
typeof e == "string" ? i =
|
|
4472
|
+
typeof e == "string" ? i = De(e) : (i = { ...e }, oe(
|
|
4473
4473
|
!i.pathname || !i.pathname.includes("?"),
|
|
4474
4474
|
jt("?", "pathname", "search", i)
|
|
4475
4475
|
), oe(
|
|
@@ -4513,8 +4513,8 @@ var To = [
|
|
|
4513
4513
|
...Kr
|
|
4514
4514
|
];
|
|
4515
4515
|
new Set(To);
|
|
4516
|
-
var
|
|
4517
|
-
|
|
4516
|
+
var Me = _.createContext(null);
|
|
4517
|
+
Me.displayName = "DataRouter";
|
|
4518
4518
|
var bt = _.createContext(null);
|
|
4519
4519
|
bt.displayName = "DataRouterState";
|
|
4520
4520
|
var Jr = _.createContext({
|
|
@@ -4579,7 +4579,7 @@ function Mo() {
|
|
|
4579
4579
|
// router loaded. We can help them understand how to avoid that.
|
|
4580
4580
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
4581
4581
|
);
|
|
4582
|
-
let e = _.useContext(
|
|
4582
|
+
let e = _.useContext(Me), { basename: t, navigator: r } = _.useContext(we), { matches: o } = _.useContext(ke), { pathname: i } = Ce(), a = JSON.stringify(Xr(o)), l = _.useRef(!1);
|
|
4583
4583
|
return Qr(() => {
|
|
4584
4584
|
l.current = !0;
|
|
4585
4585
|
}), _.useCallback(
|
|
@@ -4635,28 +4635,28 @@ function tn(e, t, r, o) {
|
|
|
4635
4635
|
);
|
|
4636
4636
|
let { navigator: i } = _.useContext(we), { matches: a } = _.useContext(ke), l = a[a.length - 1], f = l ? l.params : {}, d = l ? l.pathname : "/", h = l ? l.pathnameBase : "/", w = l && l.route;
|
|
4637
4637
|
{
|
|
4638
|
-
let
|
|
4638
|
+
let k = w && w.path || "";
|
|
4639
4639
|
rn(
|
|
4640
4640
|
d,
|
|
4641
|
-
!w ||
|
|
4642
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${
|
|
4641
|
+
!w || k.endsWith("*") || k.endsWith("*?"),
|
|
4642
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${k}">) 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.
|
|
4643
4643
|
|
|
4644
|
-
Please change the parent <Route path="${
|
|
4644
|
+
Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" : `${k}/*`}">.`
|
|
4645
4645
|
);
|
|
4646
4646
|
}
|
|
4647
4647
|
let E = Ce(), R;
|
|
4648
4648
|
if (t) {
|
|
4649
|
-
let
|
|
4649
|
+
let k = typeof t == "string" ? De(t) : t;
|
|
4650
4650
|
oe(
|
|
4651
|
-
h === "/" ||
|
|
4652
|
-
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${
|
|
4653
|
-
), R =
|
|
4651
|
+
h === "/" || k.pathname?.startsWith(h),
|
|
4652
|
+
`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${k.pathname}" was given in the \`location\` prop.`
|
|
4653
|
+
), R = k;
|
|
4654
4654
|
} else
|
|
4655
4655
|
R = E;
|
|
4656
4656
|
let A = R.pathname || "/", C = A;
|
|
4657
4657
|
if (h !== "/") {
|
|
4658
|
-
let
|
|
4659
|
-
C = "/" + A.replace(/^\//, "").split("/").slice(
|
|
4658
|
+
let k = h.replace(/^\//, "").split("/");
|
|
4659
|
+
C = "/" + A.replace(/^\//, "").split("/").slice(k.length).join("/");
|
|
4660
4660
|
}
|
|
4661
4661
|
let v = Br(e, { pathname: C });
|
|
4662
4662
|
be(
|
|
@@ -4666,19 +4666,19 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4666
4666
|
v == null || v[v.length - 1].route.element !== void 0 || v[v.length - 1].route.Component !== void 0 || v[v.length - 1].route.lazy !== void 0,
|
|
4667
4667
|
`Matched leaf route at location "${R.pathname}${R.search}${R.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
4668
4668
|
);
|
|
4669
|
-
let
|
|
4669
|
+
let M = Fo(
|
|
4670
4670
|
v && v.map(
|
|
4671
|
-
(
|
|
4672
|
-
params: Object.assign({}, f,
|
|
4671
|
+
(k) => Object.assign({}, k, {
|
|
4672
|
+
params: Object.assign({}, f, k.params),
|
|
4673
4673
|
pathname: Se([
|
|
4674
4674
|
h,
|
|
4675
4675
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4676
|
-
i.encodeLocation ? i.encodeLocation(
|
|
4676
|
+
i.encodeLocation ? i.encodeLocation(k.pathname).pathname : k.pathname
|
|
4677
4677
|
]),
|
|
4678
|
-
pathnameBase:
|
|
4678
|
+
pathnameBase: k.pathnameBase === "/" ? h : Se([
|
|
4679
4679
|
h,
|
|
4680
4680
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4681
|
-
i.encodeLocation ? i.encodeLocation(
|
|
4681
|
+
i.encodeLocation ? i.encodeLocation(k.pathnameBase).pathname : k.pathnameBase
|
|
4682
4682
|
])
|
|
4683
4683
|
})
|
|
4684
4684
|
),
|
|
@@ -4686,7 +4686,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4686
4686
|
r,
|
|
4687
4687
|
o
|
|
4688
4688
|
);
|
|
4689
|
-
return t &&
|
|
4689
|
+
return t && M ? /* @__PURE__ */ _.createElement(
|
|
4690
4690
|
Je.Provider,
|
|
4691
4691
|
{
|
|
4692
4692
|
value: {
|
|
@@ -4702,8 +4702,8 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
|
|
|
4702
4702
|
/* Pop */
|
|
4703
4703
|
}
|
|
4704
4704
|
},
|
|
4705
|
-
|
|
4706
|
-
) :
|
|
4705
|
+
M
|
|
4706
|
+
) : M;
|
|
4707
4707
|
}
|
|
4708
4708
|
function Ao() {
|
|
4709
4709
|
let e = Bo(), t = _o(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: o }, a = { padding: "2px 4px", backgroundColor: o }, l = null;
|
|
@@ -4752,7 +4752,7 @@ var zo = /* @__PURE__ */ _.createElement(Ao, null), Ho = class extends _.Compone
|
|
|
4752
4752
|
}
|
|
4753
4753
|
};
|
|
4754
4754
|
function No({ routeContext: e, match: t, children: r }) {
|
|
4755
|
-
let o = _.useContext(
|
|
4755
|
+
let o = _.useContext(Me);
|
|
4756
4756
|
return o && o.static && o.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (o.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ _.createElement(ke.Provider, { value: e }, r);
|
|
4757
4757
|
}
|
|
4758
4758
|
function Fo(e, t = [], r = null, o = null) {
|
|
@@ -4800,9 +4800,9 @@ function Fo(e, t = [], r = null, o = null) {
|
|
|
4800
4800
|
!1,
|
|
4801
4801
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4802
4802
|
), R = !0, C = null) : f === w && (R = !0, C = h.route.hydrateFallbackElement || null)));
|
|
4803
|
-
let v = t.concat(i.slice(0, w + 1)),
|
|
4804
|
-
let
|
|
4805
|
-
return E ?
|
|
4803
|
+
let v = t.concat(i.slice(0, w + 1)), M = () => {
|
|
4804
|
+
let k;
|
|
4805
|
+
return E ? k = A : R ? k = C : h.route.Component ? k = /* @__PURE__ */ _.createElement(h.route.Component, null) : h.route.element ? k = h.route.element : k = d, /* @__PURE__ */ _.createElement(
|
|
4806
4806
|
No,
|
|
4807
4807
|
{
|
|
4808
4808
|
match: h,
|
|
@@ -4811,7 +4811,7 @@ function Fo(e, t = [], r = null, o = null) {
|
|
|
4811
4811
|
matches: v,
|
|
4812
4812
|
isDataRoute: r != null
|
|
4813
4813
|
},
|
|
4814
|
-
children:
|
|
4814
|
+
children: k
|
|
4815
4815
|
}
|
|
4816
4816
|
);
|
|
4817
4817
|
};
|
|
@@ -4822,17 +4822,17 @@ function Fo(e, t = [], r = null, o = null) {
|
|
|
4822
4822
|
revalidation: r.revalidation,
|
|
4823
4823
|
component: A,
|
|
4824
4824
|
error: E,
|
|
4825
|
-
children:
|
|
4825
|
+
children: M(),
|
|
4826
4826
|
routeContext: { outlet: null, matches: v, isDataRoute: !0 }
|
|
4827
4827
|
}
|
|
4828
|
-
) :
|
|
4828
|
+
) : M();
|
|
4829
4829
|
}, null);
|
|
4830
4830
|
}
|
|
4831
4831
|
function Ut(e) {
|
|
4832
4832
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
4833
4833
|
}
|
|
4834
4834
|
function $o(e) {
|
|
4835
|
-
let t = _.useContext(
|
|
4835
|
+
let t = _.useContext(Me);
|
|
4836
4836
|
return oe(t, Ut(e)), t;
|
|
4837
4837
|
}
|
|
4838
4838
|
function Wo(e) {
|
|
@@ -4922,7 +4922,7 @@ function Xo({
|
|
|
4922
4922
|
}),
|
|
4923
4923
|
[l, i, a]
|
|
4924
4924
|
);
|
|
4925
|
-
typeof r == "string" && (r =
|
|
4925
|
+
typeof r == "string" && (r = De(r));
|
|
4926
4926
|
let {
|
|
4927
4927
|
pathname: d = "/",
|
|
4928
4928
|
search: h = "",
|
|
@@ -5182,7 +5182,7 @@ function da(e, t) {
|
|
|
5182
5182
|
return r.pathname === "/" ? r.pathname = "_root.data" : t && xe(r.pathname, t) === "/" ? r.pathname = `${t.replace(/\/$/, "")}/_root.data` : r.pathname = `${r.pathname.replace(/\/$/, "")}.data`, r;
|
|
5183
5183
|
}
|
|
5184
5184
|
function on() {
|
|
5185
|
-
let e = _.useContext(
|
|
5185
|
+
let e = _.useContext(Me);
|
|
5186
5186
|
return Yt(
|
|
5187
5187
|
e,
|
|
5188
5188
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
@@ -5208,13 +5208,13 @@ function pa(e, t) {
|
|
|
5208
5208
|
let r = _.useContext(Vt), [o, i] = _.useState(!1), [a, l] = _.useState(!1), { onFocus: f, onBlur: d, onMouseEnter: h, onMouseLeave: w, onTouchStart: E } = t, R = _.useRef(null);
|
|
5209
5209
|
_.useEffect(() => {
|
|
5210
5210
|
if (e === "render" && l(!0), e === "viewport") {
|
|
5211
|
-
let v = (
|
|
5212
|
-
|
|
5211
|
+
let v = (k) => {
|
|
5212
|
+
k.forEach((N) => {
|
|
5213
5213
|
l(N.isIntersecting);
|
|
5214
5214
|
});
|
|
5215
|
-
},
|
|
5216
|
-
return R.current &&
|
|
5217
|
-
|
|
5215
|
+
}, M = new IntersectionObserver(v, { threshold: 0.5 });
|
|
5216
|
+
return R.current && M.observe(R.current), () => {
|
|
5217
|
+
M.disconnect();
|
|
5218
5218
|
};
|
|
5219
5219
|
}
|
|
5220
5220
|
}, [e]), _.useEffect(() => {
|
|
@@ -5236,15 +5236,15 @@ function pa(e, t) {
|
|
|
5236
5236
|
a,
|
|
5237
5237
|
R,
|
|
5238
5238
|
{
|
|
5239
|
-
onFocus:
|
|
5240
|
-
onBlur:
|
|
5241
|
-
onMouseEnter:
|
|
5242
|
-
onMouseLeave:
|
|
5243
|
-
onTouchStart:
|
|
5239
|
+
onFocus: Ue(f, A),
|
|
5240
|
+
onBlur: Ue(d, C),
|
|
5241
|
+
onMouseEnter: Ue(h, A),
|
|
5242
|
+
onMouseLeave: Ue(w, C),
|
|
5243
|
+
onTouchStart: Ue(E, A)
|
|
5244
5244
|
}
|
|
5245
5245
|
] : [!1, R, {}];
|
|
5246
5246
|
}
|
|
5247
|
-
function
|
|
5247
|
+
function Ue(e, t) {
|
|
5248
5248
|
return (r) => {
|
|
5249
5249
|
e && e(r), r.defaultPrevented || t(r);
|
|
5250
5250
|
};
|
|
@@ -5301,16 +5301,16 @@ function ya({
|
|
|
5301
5301
|
if (e === o.pathname + o.search + o.hash)
|
|
5302
5302
|
return [];
|
|
5303
5303
|
let C = /* @__PURE__ */ new Set(), v = !1;
|
|
5304
|
-
if (t.forEach((
|
|
5305
|
-
let N = i.routes[
|
|
5306
|
-
!N || !N.hasLoader || (!h.some((q) => q.route.id ===
|
|
5304
|
+
if (t.forEach((k) => {
|
|
5305
|
+
let N = i.routes[k.route.id];
|
|
5306
|
+
!N || !N.hasLoader || (!h.some((q) => q.route.id === k.route.id) && k.route.id in f && a[k.route.id]?.shouldRevalidate || N.hasClientLoader ? v = !0 : C.add(k.route.id));
|
|
5307
5307
|
}), C.size === 0)
|
|
5308
5308
|
return [];
|
|
5309
|
-
let
|
|
5310
|
-
return v && C.size > 0 &&
|
|
5309
|
+
let M = da(e, l);
|
|
5310
|
+
return v && C.size > 0 && M.searchParams.set(
|
|
5311
5311
|
"_routes",
|
|
5312
|
-
t.filter((
|
|
5313
|
-
), [
|
|
5312
|
+
t.filter((k) => C.has(k.route.id)).map((k) => k.route.id).join(",")
|
|
5313
|
+
), [M.pathname + M.search];
|
|
5314
5314
|
}, [
|
|
5315
5315
|
l,
|
|
5316
5316
|
f,
|
|
@@ -5384,11 +5384,11 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5384
5384
|
viewTransition: E,
|
|
5385
5385
|
...R
|
|
5386
5386
|
}, A) {
|
|
5387
|
-
let { basename: C } = _.useContext(we), v = typeof h == "string" && ln.test(h),
|
|
5388
|
-
if (typeof h == "string" && v && (
|
|
5387
|
+
let { basename: C } = _.useContext(we), v = typeof h == "string" && ln.test(h), M, k = !1;
|
|
5388
|
+
if (typeof h == "string" && v && (M = h, sn))
|
|
5389
5389
|
try {
|
|
5390
5390
|
let m = new URL(window.location.href), c = h.startsWith("//") ? new URL(m.protocol + h) : new URL(h), P = xe(c.pathname, C);
|
|
5391
|
-
c.origin === m.origin && P != null ? h = P + c.search + c.hash :
|
|
5391
|
+
c.origin === m.origin && P != null ? h = P + c.search + c.hash : k = !0;
|
|
5392
5392
|
} catch {
|
|
5393
5393
|
be(
|
|
5394
5394
|
!1,
|
|
@@ -5409,22 +5409,22 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
|
|
|
5409
5409
|
function g(m) {
|
|
5410
5410
|
t && t(m), m.defaultPrevented || y(m);
|
|
5411
5411
|
}
|
|
5412
|
-
let
|
|
5412
|
+
let O = (
|
|
5413
5413
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
5414
5414
|
/* @__PURE__ */ _.createElement(
|
|
5415
5415
|
"a",
|
|
5416
5416
|
{
|
|
5417
5417
|
...R,
|
|
5418
5418
|
...p,
|
|
5419
|
-
href:
|
|
5420
|
-
onClick:
|
|
5419
|
+
href: M || N,
|
|
5420
|
+
onClick: k || a ? t : g,
|
|
5421
5421
|
ref: ga(A, B),
|
|
5422
5422
|
target: d,
|
|
5423
5423
|
"data-discover": !v && r === "render" ? "true" : void 0
|
|
5424
5424
|
}
|
|
5425
5425
|
)
|
|
5426
5426
|
);
|
|
5427
|
-
return q && !v ? /* @__PURE__ */ _.createElement(_.Fragment, null,
|
|
5427
|
+
return q && !v ? /* @__PURE__ */ _.createElement(_.Fragment, null, O, /* @__PURE__ */ _.createElement(va, { page: N })) : O;
|
|
5428
5428
|
}
|
|
5429
5429
|
);
|
|
5430
5430
|
un.displayName = "Link";
|
|
@@ -5440,28 +5440,28 @@ var wa = _.forwardRef(
|
|
|
5440
5440
|
children: d,
|
|
5441
5441
|
...h
|
|
5442
5442
|
}, w) {
|
|
5443
|
-
let E = Qe(l, { relative: h.relative }), R = Ce(), A = _.useContext(bt), { navigator: C, basename: v } = _.useContext(we),
|
|
5443
|
+
let E = Qe(l, { relative: h.relative }), R = Ce(), A = _.useContext(bt), { navigator: C, basename: v } = _.useContext(we), M = A != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5444
5444
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5445
|
-
Ra(E) && f === !0,
|
|
5446
|
-
r || (N = N.toLowerCase(), q = q ? q.toLowerCase() : null,
|
|
5447
|
-
const B =
|
|
5448
|
-
let p = N ===
|
|
5445
|
+
Ra(E) && f === !0, k = C.encodeLocation ? C.encodeLocation(E).pathname : E.pathname, N = R.pathname, q = A && A.navigation && A.navigation.location ? A.navigation.location.pathname : null;
|
|
5446
|
+
r || (N = N.toLowerCase(), q = q ? q.toLowerCase() : null, k = k.toLowerCase()), q && v && (q = xe(q, v) || q);
|
|
5447
|
+
const B = k !== "/" && k.endsWith("/") ? k.length - 1 : k.length;
|
|
5448
|
+
let p = N === k || !i && N.startsWith(k) && N.charAt(B) === "/", y = q != null && (q === k || !i && q.startsWith(k) && q.charAt(k.length) === "/"), g = {
|
|
5449
5449
|
isActive: p,
|
|
5450
5450
|
isPending: y,
|
|
5451
|
-
isTransitioning:
|
|
5452
|
-
},
|
|
5451
|
+
isTransitioning: M
|
|
5452
|
+
}, O = p ? t : void 0, m;
|
|
5453
5453
|
typeof o == "function" ? m = o(g) : m = [
|
|
5454
5454
|
o,
|
|
5455
5455
|
p ? "active" : null,
|
|
5456
5456
|
y ? "pending" : null,
|
|
5457
|
-
|
|
5457
|
+
M ? "transitioning" : null
|
|
5458
5458
|
].filter(Boolean).join(" ");
|
|
5459
5459
|
let c = typeof a == "function" ? a(g) : a;
|
|
5460
5460
|
return /* @__PURE__ */ _.createElement(
|
|
5461
5461
|
un,
|
|
5462
5462
|
{
|
|
5463
5463
|
...h,
|
|
5464
|
-
"aria-current":
|
|
5464
|
+
"aria-current": O,
|
|
5465
5465
|
className: m,
|
|
5466
5466
|
ref: w,
|
|
5467
5467
|
style: c,
|
|
@@ -5489,7 +5489,7 @@ var Sa = _.forwardRef(
|
|
|
5489
5489
|
viewTransition: E,
|
|
5490
5490
|
...R
|
|
5491
5491
|
}, A) => {
|
|
5492
|
-
let C = Pa(), v = Ea(f, { relative: h }),
|
|
5492
|
+
let C = Pa(), v = Ea(f, { relative: h }), M = l.toLowerCase() === "get" ? "get" : "post", k = typeof f == "string" && ln.test(f), N = (q) => {
|
|
5493
5493
|
if (d && d(q), q.defaultPrevented) return;
|
|
5494
5494
|
q.preventDefault();
|
|
5495
5495
|
let B = q.nativeEvent.submitter, p = B?.getAttribute("formmethod") || l;
|
|
@@ -5508,11 +5508,11 @@ var Sa = _.forwardRef(
|
|
|
5508
5508
|
"form",
|
|
5509
5509
|
{
|
|
5510
5510
|
ref: A,
|
|
5511
|
-
method:
|
|
5511
|
+
method: M,
|
|
5512
5512
|
action: v,
|
|
5513
5513
|
onSubmit: o ? d : N,
|
|
5514
5514
|
...R,
|
|
5515
|
-
"data-discover": !
|
|
5515
|
+
"data-discover": !k && e === "render" ? "true" : void 0
|
|
5516
5516
|
}
|
|
5517
5517
|
);
|
|
5518
5518
|
}
|
|
@@ -5522,7 +5522,7 @@ function xa(e) {
|
|
|
5522
5522
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5523
5523
|
}
|
|
5524
5524
|
function cn(e) {
|
|
5525
|
-
let t = _.useContext(
|
|
5525
|
+
let t = _.useContext(Me);
|
|
5526
5526
|
return oe(t, xa(e)), t;
|
|
5527
5527
|
}
|
|
5528
5528
|
function ka(e, {
|
|
@@ -5641,7 +5641,7 @@ const fn = U.createContext({
|
|
|
5641
5641
|
popFromHistory: () => "",
|
|
5642
5642
|
replaceHistory: () => {
|
|
5643
5643
|
}
|
|
5644
|
-
}),
|
|
5644
|
+
}), Wa = ({
|
|
5645
5645
|
routes: e,
|
|
5646
5646
|
children: t
|
|
5647
5647
|
}) => {
|
|
@@ -5673,7 +5673,7 @@ const fn = U.createContext({
|
|
|
5673
5673
|
] })
|
|
5674
5674
|
}
|
|
5675
5675
|
);
|
|
5676
|
-
},
|
|
5676
|
+
}, qa = () => {
|
|
5677
5677
|
const e = en(), t = Ce(), r = Nt(fn), o = U.useCallback(
|
|
5678
5678
|
(l, f = !0) => {
|
|
5679
5679
|
l !== t.pathname && e(l, { replace: !0 }), f && r.addToHistory(l);
|
|
@@ -5707,7 +5707,7 @@ const fn = U.createContext({
|
|
|
5707
5707
|
hideItem: () => {
|
|
5708
5708
|
}
|
|
5709
5709
|
}
|
|
5710
|
-
),
|
|
5710
|
+
), Ua = ({ children: e }) => {
|
|
5711
5711
|
const t = U.useRef([]), [r, o] = U.useState([]), i = U.useCallback((d) => {
|
|
5712
5712
|
t.current = d, o(d);
|
|
5713
5713
|
}, []), a = U.useCallback((d) => t.current.some((h) => h === d), []), l = U.useCallback(
|
|
@@ -5775,7 +5775,7 @@ const fn = U.createContext({
|
|
|
5775
5775
|
drawerBottomDistance: h,
|
|
5776
5776
|
handleRef: d
|
|
5777
5777
|
};
|
|
5778
|
-
},
|
|
5778
|
+
}, Ba = (e) => {
|
|
5779
5779
|
const { children: t, backgroundStyles: r, contentStyles: o, handle: i } = e, {
|
|
5780
5780
|
isVisible: a,
|
|
5781
5781
|
drawerParentRef: l,
|
|
@@ -5883,7 +5883,7 @@ const fn = U.createContext({
|
|
|
5883
5883
|
},
|
|
5884
5884
|
handleFormSubmission: i
|
|
5885
5885
|
};
|
|
5886
|
-
},
|
|
5886
|
+
}, Ya = (e) => {
|
|
5887
5887
|
const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } = Ta(e), f = U.useCallback(() => t.map((d) => ({ ...d.content, key: d.name })), [t]);
|
|
5888
5888
|
return /* @__PURE__ */ G.jsxs(
|
|
5889
5889
|
"form",
|
|
@@ -5917,7 +5917,7 @@ const fn = U.createContext({
|
|
|
5917
5917
|
]
|
|
5918
5918
|
}
|
|
5919
5919
|
);
|
|
5920
|
-
},
|
|
5920
|
+
}, Va = ({ src: e, alt: t = "", onClick: r, styles: o }) => /* @__PURE__ */ G.jsx(
|
|
5921
5921
|
"img",
|
|
5922
5922
|
{
|
|
5923
5923
|
src: e,
|
|
@@ -5934,7 +5934,7 @@ const fn = U.createContext({
|
|
|
5934
5934
|
},
|
|
5935
5935
|
onClick: () => r?.()
|
|
5936
5936
|
}
|
|
5937
|
-
), ja =
|
|
5937
|
+
), ja = je.div`
|
|
5938
5938
|
display: flex;
|
|
5939
5939
|
flex-direction: column;
|
|
5940
5940
|
font-family: inherit;
|
|
@@ -5952,7 +5952,7 @@ const fn = U.createContext({
|
|
|
5952
5952
|
input:-webkit-autofill {
|
|
5953
5953
|
background-color: #00000000;
|
|
5954
5954
|
}
|
|
5955
|
-
`,
|
|
5955
|
+
`, Xa = ({
|
|
5956
5956
|
name: e,
|
|
5957
5957
|
label: t,
|
|
5958
5958
|
leftIcon: r,
|
|
@@ -5964,12 +5964,15 @@ const fn = U.createContext({
|
|
|
5964
5964
|
initialValue: d,
|
|
5965
5965
|
type: h = "text",
|
|
5966
5966
|
onChange: w,
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5967
|
+
onFocus: E,
|
|
5968
|
+
inputStyles: R,
|
|
5969
|
+
containerProps: A,
|
|
5970
|
+
step: C
|
|
5970
5971
|
}) => {
|
|
5971
|
-
const
|
|
5972
|
-
w?.(
|
|
5972
|
+
const v = (k) => {
|
|
5973
|
+
w?.(k.currentTarget.value);
|
|
5974
|
+
}, M = (k) => {
|
|
5975
|
+
E?.();
|
|
5973
5976
|
};
|
|
5974
5977
|
return /* @__PURE__ */ G.jsxs(
|
|
5975
5978
|
ja,
|
|
@@ -5978,7 +5981,7 @@ const fn = U.createContext({
|
|
|
5978
5981
|
width: "100%",
|
|
5979
5982
|
maxWidth: "357px",
|
|
5980
5983
|
gap: "8px",
|
|
5981
|
-
...
|
|
5984
|
+
...A
|
|
5982
5985
|
},
|
|
5983
5986
|
children: [
|
|
5984
5987
|
t,
|
|
@@ -6003,7 +6006,7 @@ const fn = U.createContext({
|
|
|
6003
6006
|
outline: "none",
|
|
6004
6007
|
alignItems: "center",
|
|
6005
6008
|
gap: "10px",
|
|
6006
|
-
...
|
|
6009
|
+
...R
|
|
6007
6010
|
},
|
|
6008
6011
|
children: [
|
|
6009
6012
|
r,
|
|
@@ -6013,7 +6016,7 @@ const fn = U.createContext({
|
|
|
6013
6016
|
name: e,
|
|
6014
6017
|
type: h,
|
|
6015
6018
|
autoComplete: l,
|
|
6016
|
-
step:
|
|
6019
|
+
step: C,
|
|
6017
6020
|
style: {
|
|
6018
6021
|
flex: 1,
|
|
6019
6022
|
border: "none",
|
|
@@ -6029,7 +6032,8 @@ const fn = U.createContext({
|
|
|
6029
6032
|
placeholder: a,
|
|
6030
6033
|
value: f,
|
|
6031
6034
|
defaultValue: d,
|
|
6032
|
-
onChange:
|
|
6035
|
+
onChange: v,
|
|
6036
|
+
onFocus: M
|
|
6033
6037
|
}
|
|
6034
6038
|
),
|
|
6035
6039
|
o
|
|
@@ -6040,7 +6044,7 @@ const fn = U.createContext({
|
|
|
6040
6044
|
]
|
|
6041
6045
|
}
|
|
6042
6046
|
);
|
|
6043
|
-
},
|
|
6047
|
+
}, Ga = ({ id: e, styles: t, children: r }) => {
|
|
6044
6048
|
const { isItemVisible: o } = St();
|
|
6045
6049
|
return /* @__PURE__ */ G.jsx(G.Fragment, { children: o(e) && /* @__PURE__ */ G.jsx(
|
|
6046
6050
|
"div",
|
|
@@ -6061,7 +6065,7 @@ const fn = U.createContext({
|
|
|
6061
6065
|
children: r
|
|
6062
6066
|
}
|
|
6063
6067
|
) });
|
|
6064
|
-
},
|
|
6068
|
+
}, Ka = ({
|
|
6065
6069
|
id: e,
|
|
6066
6070
|
children: t,
|
|
6067
6071
|
backgroundStyles: r,
|
|
@@ -6143,7 +6147,28 @@ const fn = U.createContext({
|
|
|
6143
6147
|
ref: r
|
|
6144
6148
|
}
|
|
6145
6149
|
};
|
|
6146
|
-
},
|
|
6150
|
+
}, Da = je.div`
|
|
6151
|
+
min-height: 100vh;
|
|
6152
|
+
width: 100%;
|
|
6153
|
+
min-width: 100%;
|
|
6154
|
+
overflow: hidden;
|
|
6155
|
+
position: relative;
|
|
6156
|
+
box-sizing: border-box;
|
|
6157
|
+
top: 0;
|
|
6158
|
+
bottom: 0;
|
|
6159
|
+
left: 0;
|
|
6160
|
+
right: 0;
|
|
6161
|
+
display: flex;
|
|
6162
|
+
flex-direction: column;
|
|
6163
|
+
|
|
6164
|
+
${({ styles: e }) => e && { ...e }}
|
|
6165
|
+
|
|
6166
|
+
div {
|
|
6167
|
+
box-sizing: border-box;
|
|
6168
|
+
position: relative;
|
|
6169
|
+
display: flex;
|
|
6170
|
+
}
|
|
6171
|
+
`, Ja = (e) => {
|
|
6147
6172
|
const {
|
|
6148
6173
|
containerStyles: t,
|
|
6149
6174
|
pageStyles: r,
|
|
@@ -6151,105 +6176,84 @@ const fn = U.createContext({
|
|
|
6151
6176
|
allowScroll: i = !0,
|
|
6152
6177
|
floatingContent: a
|
|
6153
6178
|
} = e, { footer: l, header: f } = La(e);
|
|
6154
|
-
return /* @__PURE__ */ G.jsxs(
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
"data-testid": "page-footer",
|
|
6233
|
-
style: {
|
|
6234
|
-
width: "100%",
|
|
6235
|
-
zIndex: 99,
|
|
6236
|
-
position: l.visibility === "fixed" ? "relative" : "fixed",
|
|
6237
|
-
bottom: 0,
|
|
6238
|
-
left: 0,
|
|
6239
|
-
right: 0,
|
|
6240
|
-
display: "flex",
|
|
6241
|
-
flexDirection: "row",
|
|
6242
|
-
height: "fit-content",
|
|
6243
|
-
boxSizing: "border-box",
|
|
6244
|
-
...l.styles
|
|
6245
|
-
},
|
|
6246
|
-
children: l.content
|
|
6247
|
-
}
|
|
6248
|
-
)
|
|
6249
|
-
]
|
|
6250
|
-
}
|
|
6251
|
-
);
|
|
6252
|
-
}, Ja = ({
|
|
6179
|
+
return /* @__PURE__ */ G.jsxs(Da, { "data-testid": "page-container", styles: t, children: [
|
|
6180
|
+
/* @__PURE__ */ G.jsxs(
|
|
6181
|
+
"div",
|
|
6182
|
+
{
|
|
6183
|
+
"data-testid": "page-layout",
|
|
6184
|
+
style: {
|
|
6185
|
+
minHeight: "100%",
|
|
6186
|
+
width: "100%",
|
|
6187
|
+
overflowY: i ? "auto" : "hidden",
|
|
6188
|
+
display: "flex",
|
|
6189
|
+
flexDirection: "column",
|
|
6190
|
+
boxSizing: "border-box"
|
|
6191
|
+
},
|
|
6192
|
+
children: [
|
|
6193
|
+
f.visible && /* @__PURE__ */ G.jsx(
|
|
6194
|
+
"div",
|
|
6195
|
+
{
|
|
6196
|
+
ref: f.ref,
|
|
6197
|
+
"data-testid": "page-header",
|
|
6198
|
+
style: {
|
|
6199
|
+
width: "100%",
|
|
6200
|
+
zIndex: 99,
|
|
6201
|
+
position: f.visibility === "fixed" ? "relative" : "fixed",
|
|
6202
|
+
top: 0,
|
|
6203
|
+
left: 0,
|
|
6204
|
+
right: 0,
|
|
6205
|
+
display: "flex",
|
|
6206
|
+
flexDirection: "row",
|
|
6207
|
+
height: "fit-content",
|
|
6208
|
+
boxSizing: "border-box",
|
|
6209
|
+
...f.styles
|
|
6210
|
+
},
|
|
6211
|
+
children: f.content
|
|
6212
|
+
}
|
|
6213
|
+
),
|
|
6214
|
+
/* @__PURE__ */ G.jsx(
|
|
6215
|
+
"div",
|
|
6216
|
+
{
|
|
6217
|
+
style: {
|
|
6218
|
+
width: "100%",
|
|
6219
|
+
flex: 1,
|
|
6220
|
+
minHeight: "fit-content",
|
|
6221
|
+
marginTop: `${f.height}px`,
|
|
6222
|
+
marginBottom: `${l.height}px`,
|
|
6223
|
+
padding: "12px 24px",
|
|
6224
|
+
boxSizing: "border-box",
|
|
6225
|
+
overflowY: i ? void 0 : "hidden",
|
|
6226
|
+
...r
|
|
6227
|
+
},
|
|
6228
|
+
children: o
|
|
6229
|
+
}
|
|
6230
|
+
)
|
|
6231
|
+
]
|
|
6232
|
+
}
|
|
6233
|
+
),
|
|
6234
|
+
l.visible && /* @__PURE__ */ G.jsx(
|
|
6235
|
+
"div",
|
|
6236
|
+
{
|
|
6237
|
+
ref: l.ref,
|
|
6238
|
+
"data-testid": "page-footer",
|
|
6239
|
+
style: {
|
|
6240
|
+
width: "100%",
|
|
6241
|
+
zIndex: 99,
|
|
6242
|
+
position: l.visibility === "fixed" ? "relative" : "fixed",
|
|
6243
|
+
bottom: 0,
|
|
6244
|
+
left: 0,
|
|
6245
|
+
right: 0,
|
|
6246
|
+
display: "flex",
|
|
6247
|
+
flexDirection: "row",
|
|
6248
|
+
height: "fit-content",
|
|
6249
|
+
boxSizing: "border-box",
|
|
6250
|
+
...l.styles
|
|
6251
|
+
},
|
|
6252
|
+
children: l.content
|
|
6253
|
+
}
|
|
6254
|
+
)
|
|
6255
|
+
] });
|
|
6256
|
+
}, Za = ({
|
|
6253
6257
|
src: e,
|
|
6254
6258
|
width: t = "22",
|
|
6255
6259
|
height: r = "28",
|
|
@@ -6287,7 +6291,7 @@ const fn = U.createContext({
|
|
|
6287
6291
|
}
|
|
6288
6292
|
)
|
|
6289
6293
|
}
|
|
6290
|
-
),
|
|
6294
|
+
), Qa = ({
|
|
6291
6295
|
id: e,
|
|
6292
6296
|
children: t,
|
|
6293
6297
|
styles: r,
|
|
@@ -6324,7 +6328,7 @@ const fn = U.createContext({
|
|
|
6324
6328
|
children: t
|
|
6325
6329
|
}
|
|
6326
6330
|
) });
|
|
6327
|
-
},
|
|
6331
|
+
}, es = ({
|
|
6328
6332
|
overflowEllipsis: e,
|
|
6329
6333
|
children: t,
|
|
6330
6334
|
styles: r
|
|
@@ -6346,7 +6350,7 @@ const fn = U.createContext({
|
|
|
6346
6350
|
children: t
|
|
6347
6351
|
}
|
|
6348
6352
|
);
|
|
6349
|
-
class
|
|
6353
|
+
class ts {
|
|
6350
6354
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6351
6355
|
static disableScroll = () => {
|
|
6352
6356
|
document.body.style.overflow = "hidden";
|
|
@@ -6355,38 +6359,38 @@ class es {
|
|
|
6355
6359
|
document.body.style.overflow = "unset";
|
|
6356
6360
|
};
|
|
6357
6361
|
}
|
|
6358
|
-
class
|
|
6362
|
+
class rs {
|
|
6359
6363
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6360
6364
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6361
6365
|
});
|
|
6362
6366
|
static isEqual = (t, r, o = !0) => o ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6363
6367
|
}
|
|
6364
6368
|
export {
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6369
|
+
Ia as Button,
|
|
6370
|
+
Aa as Carousel,
|
|
6371
|
+
Ba as Drawer,
|
|
6372
|
+
Ua as FeedbackProvider,
|
|
6373
|
+
Ya as Form,
|
|
6374
|
+
Va as Image,
|
|
6375
|
+
Xa as InputField,
|
|
6376
|
+
Ga as Loader,
|
|
6377
|
+
Ka as Modal,
|
|
6378
|
+
Wa as NavigationProvider,
|
|
6379
|
+
Ja as PageLayout,
|
|
6380
|
+
ts as ScrollHelper,
|
|
6381
|
+
Za as SvgImage,
|
|
6382
|
+
rs as TextHelper,
|
|
6379
6383
|
eo as TimeHelper,
|
|
6380
|
-
|
|
6381
|
-
|
|
6384
|
+
Qa as Toast,
|
|
6385
|
+
es as Typography,
|
|
6382
6386
|
to as defaultBreakpoints,
|
|
6383
|
-
|
|
6387
|
+
za as useDidMount,
|
|
6384
6388
|
Qi as useDrag,
|
|
6385
6389
|
St as useFeedback,
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6390
|
+
Ha as useFetch,
|
|
6391
|
+
Na as useIsTouchingParentElement,
|
|
6392
|
+
qa as useNavigation,
|
|
6389
6393
|
Zi as usePointer,
|
|
6390
|
-
|
|
6391
|
-
|
|
6394
|
+
Fa as useResponsive,
|
|
6395
|
+
$a as useTranslations
|
|
6392
6396
|
};
|