@eliseubatista99/react-scaffold-core 0.2.14 → 0.2.16
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
|
@@ -44,8 +44,8 @@ function Rn() {
|
|
|
44
44
|
rr = 1;
|
|
45
45
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
46
46
|
function r(i, a, s) {
|
|
47
|
-
var
|
|
48
|
-
if (s !== void 0 && (
|
|
47
|
+
var f = null;
|
|
48
|
+
if (s !== void 0 && (f = "" + s), a.key !== void 0 && (f = "" + a.key), "key" in a) {
|
|
49
49
|
s = {};
|
|
50
50
|
for (var l in a)
|
|
51
51
|
l !== "key" && (s[l] = a[l]);
|
|
@@ -53,7 +53,7 @@ function Rn() {
|
|
|
53
53
|
return a = s.ref, {
|
|
54
54
|
$$typeof: e,
|
|
55
55
|
type: i,
|
|
56
|
-
key:
|
|
56
|
+
key: f,
|
|
57
57
|
ref: a !== void 0 ? a : null,
|
|
58
58
|
props: s
|
|
59
59
|
};
|
|
@@ -85,9 +85,9 @@ function _n() {
|
|
|
85
85
|
return "Profiler";
|
|
86
86
|
case I:
|
|
87
87
|
return "StrictMode";
|
|
88
|
-
case
|
|
88
|
+
case v:
|
|
89
89
|
return "Suspense";
|
|
90
|
-
case
|
|
90
|
+
case w:
|
|
91
91
|
return "SuspenseList";
|
|
92
92
|
case y:
|
|
93
93
|
return "Activity";
|
|
@@ -103,14 +103,14 @@ function _n() {
|
|
|
103
103
|
case F:
|
|
104
104
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
105
105
|
case q:
|
|
106
|
-
var
|
|
107
|
-
return n = n.displayName, n || (n =
|
|
108
|
-
case
|
|
109
|
-
return
|
|
106
|
+
var c = n.render;
|
|
107
|
+
return n = n.displayName, n || (n = c.displayName || c.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
|
+
case x:
|
|
109
|
+
return c = n.displayName || null, c !== null ? c : e(n.type) || "Memo";
|
|
110
110
|
case R:
|
|
111
|
-
|
|
111
|
+
c = n._payload, n = n._init;
|
|
112
112
|
try {
|
|
113
|
-
return e(n(
|
|
113
|
+
return e(n(c));
|
|
114
114
|
} catch {
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -122,15 +122,15 @@ function _n() {
|
|
|
122
122
|
function r(n) {
|
|
123
123
|
try {
|
|
124
124
|
t(n);
|
|
125
|
-
var
|
|
125
|
+
var c = !1;
|
|
126
126
|
} catch {
|
|
127
|
-
|
|
127
|
+
c = !0;
|
|
128
128
|
}
|
|
129
|
-
if (
|
|
130
|
-
|
|
131
|
-
var O =
|
|
129
|
+
if (c) {
|
|
130
|
+
c = console;
|
|
131
|
+
var O = c.error, $ = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
132
132
|
return O.call(
|
|
133
|
-
|
|
133
|
+
c,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
135
|
$
|
|
136
136
|
), t(n);
|
|
@@ -141,8 +141,8 @@ function _n() {
|
|
|
141
141
|
if (typeof n == "object" && n !== null && n.$$typeof === R)
|
|
142
142
|
return "<...>";
|
|
143
143
|
try {
|
|
144
|
-
var
|
|
145
|
-
return
|
|
144
|
+
var c = e(n);
|
|
145
|
+
return c ? "<" + c + ">" : "<...>";
|
|
146
146
|
} catch {
|
|
147
147
|
return "<...>";
|
|
148
148
|
}
|
|
@@ -154,18 +154,18 @@ function _n() {
|
|
|
154
154
|
function s() {
|
|
155
155
|
return Error("react-stack-top-frame");
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function f(n) {
|
|
158
158
|
if (A.call(n, "key")) {
|
|
159
|
-
var
|
|
160
|
-
if (
|
|
159
|
+
var c = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
160
|
+
if (c && c.isReactWarning) return !1;
|
|
161
161
|
}
|
|
162
162
|
return n.key !== void 0;
|
|
163
163
|
}
|
|
164
|
-
function l(n,
|
|
164
|
+
function l(n, c) {
|
|
165
165
|
function O() {
|
|
166
166
|
E || (E = !0, console.error(
|
|
167
167
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
168
|
-
|
|
168
|
+
c
|
|
169
169
|
));
|
|
170
170
|
}
|
|
171
171
|
O.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
@@ -179,11 +179,11 @@ function _n() {
|
|
|
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
|
|
182
|
+
function d(n, c, O, $, D, z, N, W) {
|
|
183
183
|
return O = z.ref, n = {
|
|
184
184
|
$$typeof: L,
|
|
185
185
|
type: n,
|
|
186
|
-
key:
|
|
186
|
+
key: c,
|
|
187
187
|
props: z,
|
|
188
188
|
_owner: D
|
|
189
189
|
}, (O !== void 0 ? O : null) !== null ? Object.defineProperty(n, "ref", {
|
|
@@ -211,22 +211,22 @@ function _n() {
|
|
|
211
211
|
value: W
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
var B =
|
|
214
|
+
function g(n, c, O, $, D, z, N, W) {
|
|
215
|
+
var B = c.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
217
|
if ($)
|
|
218
218
|
if (_(B)) {
|
|
219
219
|
for ($ = 0; $ < B.length; $++)
|
|
220
|
-
|
|
220
|
+
b(B[$]);
|
|
221
221
|
Object.freeze && Object.freeze(B);
|
|
222
222
|
} else
|
|
223
223
|
console.error(
|
|
224
224
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
225
225
|
);
|
|
226
|
-
else
|
|
227
|
-
if (A.call(
|
|
226
|
+
else b(B);
|
|
227
|
+
if (A.call(c, "key")) {
|
|
228
228
|
B = e(n);
|
|
229
|
-
var K = Object.keys(
|
|
229
|
+
var K = Object.keys(c).filter(function(J) {
|
|
230
230
|
return J !== "key";
|
|
231
231
|
});
|
|
232
232
|
$ = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", m[B + $] || (K = 0 < K.length ? "{" + K.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
@@ -242,15 +242,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
242
|
B
|
|
243
243
|
), m[B + $] = !0);
|
|
244
244
|
}
|
|
245
|
-
if (B = null, O !== void 0 && (r(O), B = "" + O),
|
|
245
|
+
if (B = null, O !== void 0 && (r(O), B = "" + O), f(c) && (r(c.key), B = "" + c.key), "key" in c) {
|
|
246
246
|
O = {};
|
|
247
|
-
for (var G in
|
|
248
|
-
G !== "key" && (O[G] =
|
|
249
|
-
} else O =
|
|
247
|
+
for (var G in c)
|
|
248
|
+
G !== "key" && (O[G] = c[G]);
|
|
249
|
+
} else O = c;
|
|
250
250
|
return B && l(
|
|
251
251
|
O,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
253
|
-
),
|
|
253
|
+
), d(
|
|
254
254
|
n,
|
|
255
255
|
B,
|
|
256
256
|
z,
|
|
@@ -261,26 +261,26 @@ React keys must be passed directly to JSX without using spread:
|
|
|
261
261
|
W
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function b(n) {
|
|
265
265
|
typeof n == "object" && n !== null && n.$$typeof === L && n._store && (n._store.validated = 1);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var S = V, L = Symbol.for("react.transitional.element"), P = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), U = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), h = Symbol.for("react.client.reference"), C = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, _ = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
268
268
|
return null;
|
|
269
269
|
};
|
|
270
|
-
|
|
270
|
+
S = {
|
|
271
271
|
"react-stack-bottom-frame": function(n) {
|
|
272
272
|
return n();
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
var E, j = {}, o =
|
|
276
|
-
|
|
275
|
+
var E, j = {}, o = S["react-stack-bottom-frame"].bind(
|
|
276
|
+
S,
|
|
277
277
|
s
|
|
278
278
|
)(), H = T(i(s)), m = {};
|
|
279
|
-
ze.Fragment = p, ze.jsx = function(n,
|
|
279
|
+
ze.Fragment = p, ze.jsx = function(n, c, O, $, D) {
|
|
280
280
|
var z = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
281
|
-
return
|
|
281
|
+
return g(
|
|
282
282
|
n,
|
|
283
|
-
|
|
283
|
+
c,
|
|
284
284
|
O,
|
|
285
285
|
!1,
|
|
286
286
|
$,
|
|
@@ -288,11 +288,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
288
288
|
z ? Error("react-stack-top-frame") : o,
|
|
289
289
|
z ? T(i(n)) : H
|
|
290
290
|
);
|
|
291
|
-
}, ze.jsxs = function(n,
|
|
291
|
+
}, ze.jsxs = function(n, c, O, $, D) {
|
|
292
292
|
var z = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
293
|
-
return
|
|
293
|
+
return g(
|
|
294
294
|
n,
|
|
295
|
-
|
|
295
|
+
c,
|
|
296
296
|
O,
|
|
297
297
|
!0,
|
|
298
298
|
$,
|
|
@@ -374,32 +374,32 @@ var _t, or;
|
|
|
374
374
|
function Ln() {
|
|
375
375
|
if (or) return _t;
|
|
376
376
|
or = 1;
|
|
377
|
-
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i,
|
|
378
|
-
return
|
|
377
|
+
var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, f = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, d = typeof self == "object" && self && self.Object === Object && self, g = u || d || Function("return this")(), b = Object.prototype, S = b.toString, L = Math.max, P = Math.min, p = function() {
|
|
378
|
+
return g.Date.now();
|
|
379
379
|
};
|
|
380
|
-
function I(
|
|
380
|
+
function I(v, w, x) {
|
|
381
381
|
var R, y, h, C, A, _, T = 0, E = !1, j = !1, o = !0;
|
|
382
|
-
if (typeof
|
|
382
|
+
if (typeof v != "function")
|
|
383
383
|
throw new TypeError(e);
|
|
384
|
-
|
|
384
|
+
w = q(w) || 0, k(x) && (E = !!x.leading, j = "maxWait" in x, h = j ? L(q(x.maxWait) || 0, w) : h, o = "trailing" in x ? !!x.trailing : o);
|
|
385
385
|
function H(W) {
|
|
386
386
|
var B = R, K = y;
|
|
387
|
-
return R = y = void 0, T = W, C =
|
|
387
|
+
return R = y = void 0, T = W, C = v.apply(K, B), C;
|
|
388
388
|
}
|
|
389
389
|
function m(W) {
|
|
390
|
-
return T = W, A = setTimeout(O,
|
|
390
|
+
return T = W, A = setTimeout(O, w), E ? H(W) : C;
|
|
391
391
|
}
|
|
392
392
|
function n(W) {
|
|
393
|
-
var B = W - _, K = W - T, G =
|
|
393
|
+
var B = W - _, K = W - T, G = w - B;
|
|
394
394
|
return j ? P(G, h - K) : G;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function c(W) {
|
|
397
397
|
var B = W - _, K = W - T;
|
|
398
|
-
return _ === void 0 || B >=
|
|
398
|
+
return _ === void 0 || B >= w || B < 0 || j && K >= h;
|
|
399
399
|
}
|
|
400
400
|
function O() {
|
|
401
401
|
var W = p();
|
|
402
|
-
if (
|
|
402
|
+
if (c(W))
|
|
403
403
|
return $(W);
|
|
404
404
|
A = setTimeout(O, n(W));
|
|
405
405
|
}
|
|
@@ -413,41 +413,41 @@ function Ln() {
|
|
|
413
413
|
return A === void 0 ? C : $(p());
|
|
414
414
|
}
|
|
415
415
|
function N() {
|
|
416
|
-
var W = p(), B =
|
|
416
|
+
var W = p(), B = c(W);
|
|
417
417
|
if (R = arguments, y = this, _ = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(_);
|
|
420
420
|
if (j)
|
|
421
|
-
return A = setTimeout(O,
|
|
421
|
+
return A = setTimeout(O, w), H(_);
|
|
422
422
|
}
|
|
423
|
-
return A === void 0 && (A = setTimeout(O,
|
|
423
|
+
return A === void 0 && (A = setTimeout(O, w)), C;
|
|
424
424
|
}
|
|
425
425
|
return N.cancel = D, N.flush = z, N;
|
|
426
426
|
}
|
|
427
|
-
function k(
|
|
428
|
-
var
|
|
429
|
-
return !!
|
|
427
|
+
function k(v) {
|
|
428
|
+
var w = typeof v;
|
|
429
|
+
return !!v && (w == "object" || w == "function");
|
|
430
430
|
}
|
|
431
|
-
function F(
|
|
432
|
-
return !!
|
|
431
|
+
function F(v) {
|
|
432
|
+
return !!v && typeof v == "object";
|
|
433
433
|
}
|
|
434
|
-
function U(
|
|
435
|
-
return typeof
|
|
434
|
+
function U(v) {
|
|
435
|
+
return typeof v == "symbol" || F(v) && S.call(v) == r;
|
|
436
436
|
}
|
|
437
|
-
function q(
|
|
438
|
-
if (typeof
|
|
439
|
-
return
|
|
440
|
-
if (U(
|
|
437
|
+
function q(v) {
|
|
438
|
+
if (typeof v == "number")
|
|
439
|
+
return v;
|
|
440
|
+
if (U(v))
|
|
441
441
|
return t;
|
|
442
|
-
if (k(
|
|
443
|
-
var
|
|
444
|
-
|
|
442
|
+
if (k(v)) {
|
|
443
|
+
var w = typeof v.valueOf == "function" ? v.valueOf() : v;
|
|
444
|
+
v = k(w) ? w + "" : w;
|
|
445
445
|
}
|
|
446
|
-
if (typeof
|
|
447
|
-
return
|
|
448
|
-
|
|
449
|
-
var
|
|
450
|
-
return
|
|
446
|
+
if (typeof v != "string")
|
|
447
|
+
return v === 0 ? v : +v;
|
|
448
|
+
v = v.replace(i, "");
|
|
449
|
+
var x = s.test(v);
|
|
450
|
+
return x || f.test(v) ? l(v.slice(2), x ? 2 : 8) : a.test(v) ? t : +v;
|
|
451
451
|
}
|
|
452
452
|
return _t = I, _t;
|
|
453
453
|
}
|
|
@@ -463,8 +463,8 @@ function yt() {
|
|
|
463
463
|
(function() {
|
|
464
464
|
var t = {}.hasOwnProperty;
|
|
465
465
|
function r() {
|
|
466
|
-
for (var s = "",
|
|
467
|
-
var l = arguments[
|
|
466
|
+
for (var s = "", f = 0; f < arguments.length; f++) {
|
|
467
|
+
var l = arguments[f];
|
|
468
468
|
l && (s = a(s, i(l)));
|
|
469
469
|
}
|
|
470
470
|
return s;
|
|
@@ -478,13 +478,13 @@ function yt() {
|
|
|
478
478
|
return r.apply(null, s);
|
|
479
479
|
if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
|
|
480
480
|
return s.toString();
|
|
481
|
-
var
|
|
481
|
+
var f = "";
|
|
482
482
|
for (var l in s)
|
|
483
|
-
t.call(s, l) && s[l] && (
|
|
484
|
-
return
|
|
483
|
+
t.call(s, l) && s[l] && (f = a(f, l));
|
|
484
|
+
return f;
|
|
485
485
|
}
|
|
486
|
-
function a(s,
|
|
487
|
-
return
|
|
486
|
+
function a(s, f) {
|
|
487
|
+
return f ? s ? s + " " + f : s + f : s;
|
|
488
488
|
}
|
|
489
489
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
490
490
|
})();
|
|
@@ -571,7 +571,7 @@ function Ke() {
|
|
|
571
571
|
if (ur) return Y;
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
574
|
-
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp =
|
|
574
|
+
}), Y.checkSpecKeys = Y.checkNavigable = Y.changeSlide = Y.canUseDOM = Y.canGoNext = void 0, Y.clamp = d, Y.extractObject = void 0, Y.filterSettings = H, Y.validSettings = Y.swipeStart = Y.swipeMove = Y.swipeEnd = Y.slidesOnRight = Y.slidesOnLeft = Y.slideHandler = Y.siblingDirection = Y.safePreventDefault = Y.lazyStartIndex = Y.lazySlidesOnRight = Y.lazySlidesOnLeft = Y.lazyEndIndex = Y.keyHandler = Y.initializedState = Y.getWidth = Y.getTrackLeft = Y.getTrackCSS = Y.getTrackAnimateCSS = Y.getTotalSlides = Y.getSwipeDirection = Y.getSlideCount = Y.getRequiredLazySlides = Y.getPreClones = Y.getPostClones = Y.getOnDemandLazySlides = Y.getNavigableIndexes = Y.getHeight = void 0;
|
|
575
575
|
var e = r(V), t = r(zr());
|
|
576
576
|
function r(m) {
|
|
577
577
|
return m && m.__esModule ? m : { default: m };
|
|
@@ -585,28 +585,28 @@ function Ke() {
|
|
|
585
585
|
}, i(m);
|
|
586
586
|
}
|
|
587
587
|
function a(m, n) {
|
|
588
|
-
var
|
|
588
|
+
var c = Object.keys(m);
|
|
589
589
|
if (Object.getOwnPropertySymbols) {
|
|
590
590
|
var O = Object.getOwnPropertySymbols(m);
|
|
591
591
|
n && (O = O.filter(function($) {
|
|
592
592
|
return Object.getOwnPropertyDescriptor(m, $).enumerable;
|
|
593
|
-
})),
|
|
593
|
+
})), c.push.apply(c, O);
|
|
594
594
|
}
|
|
595
|
-
return
|
|
595
|
+
return c;
|
|
596
596
|
}
|
|
597
597
|
function s(m) {
|
|
598
598
|
for (var n = 1; n < arguments.length; n++) {
|
|
599
|
-
var
|
|
600
|
-
n % 2 ? a(Object(
|
|
601
|
-
|
|
602
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(
|
|
603
|
-
Object.defineProperty(m, O, Object.getOwnPropertyDescriptor(
|
|
599
|
+
var c = arguments[n] != null ? arguments[n] : {};
|
|
600
|
+
n % 2 ? a(Object(c), !0).forEach(function(O) {
|
|
601
|
+
f(m, O, c[O]);
|
|
602
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(c)) : a(Object(c)).forEach(function(O) {
|
|
603
|
+
Object.defineProperty(m, O, Object.getOwnPropertyDescriptor(c, O));
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
return m;
|
|
607
607
|
}
|
|
608
|
-
function
|
|
609
|
-
return (n = l(n)) in m ? Object.defineProperty(m, n, { value:
|
|
608
|
+
function f(m, n, c) {
|
|
609
|
+
return (n = l(n)) in m ? Object.defineProperty(m, n, { value: c, enumerable: !0, configurable: !0, writable: !0 }) : m[n] = c, m;
|
|
610
610
|
}
|
|
611
611
|
function l(m) {
|
|
612
612
|
var n = u(m, "string");
|
|
@@ -614,31 +614,31 @@ function Ke() {
|
|
|
614
614
|
}
|
|
615
615
|
function u(m, n) {
|
|
616
616
|
if (i(m) != "object" || !m) return m;
|
|
617
|
-
var
|
|
618
|
-
if (
|
|
619
|
-
var O =
|
|
617
|
+
var c = m[Symbol.toPrimitive];
|
|
618
|
+
if (c !== void 0) {
|
|
619
|
+
var O = c.call(m, n);
|
|
620
620
|
if (i(O) != "object") return O;
|
|
621
621
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
622
622
|
}
|
|
623
623
|
return (n === "string" ? String : Number)(m);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return Math.max(n, Math.min(m,
|
|
625
|
+
function d(m, n, c) {
|
|
626
|
+
return Math.max(n, Math.min(m, c));
|
|
627
627
|
}
|
|
628
|
-
var
|
|
629
|
-
var
|
|
630
|
-
|
|
631
|
-
},
|
|
632
|
-
for (var
|
|
633
|
-
n.lazyLoadedList.indexOf(D) < 0 &&
|
|
634
|
-
return
|
|
628
|
+
var g = Y.safePreventDefault = function(n) {
|
|
629
|
+
var c = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
|
+
c.includes(n._reactName) || n.preventDefault();
|
|
631
|
+
}, b = Y.getOnDemandLazySlides = function(n) {
|
|
632
|
+
for (var c = [], O = S(n), $ = L(n), D = O; D < $; D++)
|
|
633
|
+
n.lazyLoadedList.indexOf(D) < 0 && c.push(D);
|
|
634
|
+
return c;
|
|
635
635
|
};
|
|
636
636
|
Y.getRequiredLazySlides = function(n) {
|
|
637
|
-
for (var
|
|
638
|
-
|
|
639
|
-
return
|
|
637
|
+
for (var c = [], O = S(n), $ = L(n), D = O; D < $; D++)
|
|
638
|
+
c.push(D);
|
|
639
|
+
return c;
|
|
640
640
|
};
|
|
641
|
-
var
|
|
641
|
+
var S = Y.lazyStartIndex = function(n) {
|
|
642
642
|
return n.currentSlide - P(n);
|
|
643
643
|
}, L = Y.lazyEndIndex = function(n) {
|
|
644
644
|
return n.currentSlide + p(n);
|
|
@@ -651,19 +651,19 @@ function Ke() {
|
|
|
651
651
|
}, k = Y.getHeight = function(n) {
|
|
652
652
|
return n && n.offsetHeight || 0;
|
|
653
653
|
}, F = Y.getSwipeDirection = function(n) {
|
|
654
|
-
var
|
|
655
|
-
return O = n.startX - n.curX, $ = n.startY - n.curY, D = Math.atan2($, O), z = Math.round(D * 180 / Math.PI), z < 0 && (z = 360 - Math.abs(z)), z <= 45 && z >= 0 || z <= 360 && z >= 315 ? "left" : z >= 135 && z <= 225 ? "right" :
|
|
654
|
+
var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, O, $, D, z;
|
|
655
|
+
return O = n.startX - n.curX, $ = n.startY - n.curY, D = Math.atan2($, O), z = Math.round(D * 180 / Math.PI), z < 0 && (z = 360 - Math.abs(z)), z <= 45 && z >= 0 || z <= 360 && z >= 315 ? "left" : z >= 135 && z <= 225 ? "right" : c === !0 ? z >= 35 && z <= 135 ? "up" : "down" : "vertical";
|
|
656
656
|
}, U = Y.canGoNext = function(n) {
|
|
657
|
-
var
|
|
658
|
-
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (
|
|
657
|
+
var c = !0;
|
|
658
|
+
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (c = !1), c;
|
|
659
659
|
};
|
|
660
|
-
Y.extractObject = function(n,
|
|
660
|
+
Y.extractObject = function(n, c) {
|
|
661
661
|
var O = {};
|
|
662
|
-
return
|
|
662
|
+
return c.forEach(function($) {
|
|
663
663
|
return O[$] = n[$];
|
|
664
664
|
}), O;
|
|
665
665
|
}, Y.initializedState = function(n) {
|
|
666
|
-
var
|
|
666
|
+
var c = e.default.Children.count(n.children), O = n.listRef, $ = Math.ceil(I(O)), D = n.trackRef && n.trackRef.node, z = Math.ceil(I(D)), N;
|
|
667
667
|
if (n.vertical)
|
|
668
668
|
N = $;
|
|
669
669
|
else {
|
|
@@ -671,14 +671,14 @@ function Ke() {
|
|
|
671
671
|
typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= $ / 100), N = Math.ceil(($ - W) / n.slidesToShow);
|
|
672
672
|
}
|
|
673
673
|
var B = O && k(O.querySelector('[data-index="0"]')), K = B * n.slidesToShow, G = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
|
|
674
|
-
n.rtl && n.currentSlide === void 0 && (G =
|
|
675
|
-
var J = n.lazyLoadedList || [], te =
|
|
674
|
+
n.rtl && n.currentSlide === void 0 && (G = c - 1 - n.initialSlide);
|
|
675
|
+
var J = n.lazyLoadedList || [], te = b(s(s({}, n), {}, {
|
|
676
676
|
currentSlide: G,
|
|
677
677
|
lazyLoadedList: J
|
|
678
678
|
}));
|
|
679
679
|
J = J.concat(te);
|
|
680
680
|
var Z = {
|
|
681
|
-
slideCount:
|
|
681
|
+
slideCount: c,
|
|
682
682
|
slideWidth: N,
|
|
683
683
|
listWidth: $,
|
|
684
684
|
trackWidth: z,
|
|
@@ -689,9 +689,9 @@ function Ke() {
|
|
|
689
689
|
};
|
|
690
690
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
691
691
|
}, Y.slideHandler = function(n) {
|
|
692
|
-
var
|
|
693
|
-
if (
|
|
694
|
-
var ee = z, ie, le, Q, oe = {}, ue = {}, ce = D ? z :
|
|
692
|
+
var c = n.waitForAnimate, O = n.animating, $ = n.fade, D = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad, B = n.currentSlide, K = n.centerMode, G = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
|
|
693
|
+
if (c && O) return {};
|
|
694
|
+
var ee = z, ie, le, Q, oe = {}, ue = {}, ce = D ? z : d(z, 0, N - 1);
|
|
695
695
|
if ($) {
|
|
696
696
|
if (!D && (z < 0 || z >= N)) return {};
|
|
697
697
|
z < 0 ? ee = z + N : z >= N && (ee = z - N), W && Z.indexOf(ee) < 0 && (Z = Z.concat(ee)), oe = {
|
|
@@ -708,7 +708,7 @@ function Ke() {
|
|
|
708
708
|
slideIndex: ee
|
|
709
709
|
})), Q = h(s(s({}, n), {}, {
|
|
710
710
|
slideIndex: ie
|
|
711
|
-
})), D || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(
|
|
711
|
+
})), D || (le === Q && (ee = ie), le = Q), W && (Z = Z.concat(b(s(s({}, n), {}, {
|
|
712
712
|
currentSlide: ee
|
|
713
713
|
})))), te ? (oe = {
|
|
714
714
|
animating: !0,
|
|
@@ -738,27 +738,27 @@ function Ke() {
|
|
|
738
738
|
state: oe,
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
|
-
}, Y.changeSlide = function(n,
|
|
741
|
+
}, Y.changeSlide = function(n, c) {
|
|
742
742
|
var O, $, D, z, N, W = n.slidesToScroll, B = n.slidesToShow, K = n.slideCount, G = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
|
|
743
|
-
if (z = K % W !== 0, O = z ? 0 : (K - G) % W,
|
|
743
|
+
if (z = K % W !== 0, O = z ? 0 : (K - G) % W, c.message === "previous")
|
|
744
744
|
D = O === 0 ? W : B - O, N = G - D, te && !Z && ($ = G - D, N = $ === -1 ? K - 1 : $), Z || (N = J - W);
|
|
745
|
-
else if (
|
|
745
|
+
else if (c.message === "next")
|
|
746
746
|
D = O === 0 ? W : O, N = G + D, te && !Z && (N = (G + W) % K + O), Z || (N = J + W);
|
|
747
|
-
else if (
|
|
748
|
-
N =
|
|
749
|
-
else if (
|
|
750
|
-
if (N =
|
|
747
|
+
else if (c.message === "dots")
|
|
748
|
+
N = c.index * c.slidesToScroll;
|
|
749
|
+
else if (c.message === "children") {
|
|
750
|
+
if (N = c.index, Z) {
|
|
751
751
|
var ee = T(s(s({}, n), {}, {
|
|
752
752
|
targetSlide: N
|
|
753
753
|
}));
|
|
754
|
-
N >
|
|
754
|
+
N > c.currentSlide && ee === "left" ? N = N - K : N < c.currentSlide && ee === "right" && (N = N + K);
|
|
755
755
|
}
|
|
756
|
-
} else
|
|
756
|
+
} else c.message === "index" && (N = Number(c.index));
|
|
757
757
|
return N;
|
|
758
|
-
}, Y.keyHandler = function(n,
|
|
759
|
-
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !
|
|
760
|
-
}, Y.swipeStart = function(n,
|
|
761
|
-
return n.target.tagName === "IMG" &&
|
|
758
|
+
}, Y.keyHandler = function(n, c, O) {
|
|
759
|
+
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !c ? "" : n.keyCode === 37 ? O ? "next" : "previous" : n.keyCode === 39 ? O ? "previous" : "next" : "";
|
|
760
|
+
}, Y.swipeStart = function(n, c, O) {
|
|
761
|
+
return n.target.tagName === "IMG" && g(n), !c || !O && n.type.indexOf("mouse") !== -1 ? "" : {
|
|
762
762
|
dragging: !0,
|
|
763
763
|
touchObject: {
|
|
764
764
|
startX: n.touches ? n.touches[0].pageX : n.clientX,
|
|
@@ -767,12 +767,12 @@ function Ke() {
|
|
|
767
767
|
curY: n.touches ? n.touches[0].pageY : n.clientY
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
|
-
}, Y.swipeMove = function(n,
|
|
771
|
-
var O =
|
|
770
|
+
}, Y.swipeMove = function(n, c) {
|
|
771
|
+
var O = c.scrolling, $ = c.animating, D = c.vertical, z = c.swipeToSlide, N = c.verticalSwiping, W = c.rtl, B = c.currentSlide, K = c.edgeFriction, G = c.edgeDragged, J = c.onEdge, te = c.swiped, Z = c.swiping, ee = c.slideCount, ie = c.slidesToScroll, le = c.infinite, Q = c.touchObject, oe = c.swipeEvent, ue = c.listHeight, ce = c.listWidth;
|
|
772
772
|
if (!O) {
|
|
773
|
-
if ($) return
|
|
774
|
-
D && z && N &&
|
|
775
|
-
var pe, Re = {}, tt = h(
|
|
773
|
+
if ($) return g(n);
|
|
774
|
+
D && z && N && g(n);
|
|
775
|
+
var pe, Re = {}, tt = h(c);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
778
778
|
if (!N && !Z && tr > 10)
|
|
@@ -782,19 +782,19 @@ function Ke() {
|
|
|
782
782
|
N && (Q.swipeLength = tr);
|
|
783
783
|
var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
784
|
N && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
|
-
var kn = Math.ceil(ee / ie), Ce = F(
|
|
786
|
-
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= kn && (Ce === "left" || Ce === "up") || !U(
|
|
785
|
+
var kn = Math.ceil(ee / ie), Ce = F(c.touchObject, N), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= kn && (Ce === "left" || Ce === "up") || !U(c) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Ce), Re.edgeDragged = !0)), !te && oe && (oe(Ce), Re.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Re = s(s({}, Re), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
|
-
trackStyle: R(s(s({},
|
|
789
|
+
trackStyle: R(s(s({}, c), {}, {
|
|
790
790
|
left: pe
|
|
791
791
|
}))
|
|
792
|
-
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Re.swiping = !0,
|
|
792
|
+
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Re.swiping = !0, g(n)), Re;
|
|
793
793
|
}
|
|
794
|
-
}, Y.swipeEnd = function(n,
|
|
795
|
-
var O =
|
|
794
|
+
}, Y.swipeEnd = function(n, c) {
|
|
795
|
+
var O = c.dragging, $ = c.swipe, D = c.touchObject, z = c.listWidth, N = c.touchThreshold, W = c.verticalSwiping, B = c.listHeight, K = c.swipeToSlide, G = c.scrolling, J = c.onSwipe, te = c.targetSlide, Z = c.currentSlide, ee = c.infinite;
|
|
796
796
|
if (!O)
|
|
797
|
-
return $ &&
|
|
797
|
+
return $ && g(n), {};
|
|
798
798
|
var ie = W ? B / N : z / N, le = F(D, W), Q = {
|
|
799
799
|
dragging: !1,
|
|
800
800
|
edgeDragged: !1,
|
|
@@ -807,55 +807,55 @@ function Ke() {
|
|
|
807
807
|
if (G || !D.swipeLength)
|
|
808
808
|
return Q;
|
|
809
809
|
if (D.swipeLength > ie) {
|
|
810
|
-
|
|
810
|
+
g(n), J && J(le);
|
|
811
811
|
var oe, ue, ce = ee ? Z : te;
|
|
812
812
|
switch (le) {
|
|
813
813
|
case "left":
|
|
814
814
|
case "up":
|
|
815
|
-
ue = ce +
|
|
815
|
+
ue = ce + w(c), oe = K ? v(c, ue) : ue, Q.currentDirection = 0;
|
|
816
816
|
break;
|
|
817
817
|
case "right":
|
|
818
818
|
case "down":
|
|
819
|
-
ue = ce -
|
|
819
|
+
ue = ce - w(c), oe = K ? v(c, ue) : ue, Q.currentDirection = 1;
|
|
820
820
|
break;
|
|
821
821
|
default:
|
|
822
822
|
oe = ce;
|
|
823
823
|
}
|
|
824
824
|
Q.triggerSlideHandler = oe;
|
|
825
825
|
} else {
|
|
826
|
-
var pe = h(
|
|
827
|
-
Q.trackStyle = y(s(s({},
|
|
826
|
+
var pe = h(c);
|
|
827
|
+
Q.trackStyle = y(s(s({}, c), {}, {
|
|
828
828
|
left: pe
|
|
829
829
|
}));
|
|
830
830
|
}
|
|
831
831
|
return Q;
|
|
832
832
|
};
|
|
833
833
|
var q = Y.getNavigableIndexes = function(n) {
|
|
834
|
-
for (var
|
|
834
|
+
for (var c = n.infinite ? n.slideCount * 2 : n.slideCount, O = n.infinite ? n.slidesToShow * -1 : 0, $ = n.infinite ? n.slidesToShow * -1 : 0, D = []; O < c; )
|
|
835
835
|
D.push(O), O = $ + n.slidesToScroll, $ += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
836
836
|
return D;
|
|
837
|
-
},
|
|
837
|
+
}, v = Y.checkNavigable = function(n, c) {
|
|
838
838
|
var O = q(n), $ = 0;
|
|
839
|
-
if (
|
|
840
|
-
|
|
839
|
+
if (c > O[O.length - 1])
|
|
840
|
+
c = O[O.length - 1];
|
|
841
841
|
else
|
|
842
842
|
for (var D in O) {
|
|
843
|
-
if (
|
|
844
|
-
|
|
843
|
+
if (c < O[D]) {
|
|
844
|
+
c = $;
|
|
845
845
|
break;
|
|
846
846
|
}
|
|
847
847
|
$ = O[D];
|
|
848
848
|
}
|
|
849
|
-
return
|
|
850
|
-
},
|
|
851
|
-
var
|
|
849
|
+
return c;
|
|
850
|
+
}, w = Y.getSlideCount = function(n) {
|
|
851
|
+
var c = n.centerMode ? n.slideWidth * Math.floor(n.slidesToShow / 2) : 0;
|
|
852
852
|
if (n.swipeToSlide) {
|
|
853
853
|
var O, $ = n.listRef, D = $.querySelectorAll && $.querySelectorAll(".slick-slide") || [];
|
|
854
854
|
if (Array.from(D).every(function(W) {
|
|
855
855
|
if (n.vertical) {
|
|
856
856
|
if (W.offsetTop + k(W) / 2 > n.swipeLeft * -1)
|
|
857
857
|
return O = W, !1;
|
|
858
|
-
} else if (W.offsetLeft -
|
|
858
|
+
} else if (W.offsetLeft - c + I(W) / 2 > n.swipeLeft * -1)
|
|
859
859
|
return O = W, !1;
|
|
860
860
|
return !0;
|
|
861
861
|
}), !O)
|
|
@@ -864,15 +864,15 @@ function Ke() {
|
|
|
864
864
|
return N;
|
|
865
865
|
} else
|
|
866
866
|
return n.slidesToScroll;
|
|
867
|
-
},
|
|
868
|
-
return
|
|
867
|
+
}, x = Y.checkSpecKeys = function(n, c) {
|
|
868
|
+
return c.reduce(function(O, $) {
|
|
869
869
|
return O && n.hasOwnProperty($);
|
|
870
870
|
}, !0) ? null : console.error("Keys Missing:", n);
|
|
871
871
|
}, R = Y.getTrackCSS = function(n) {
|
|
872
|
-
|
|
873
|
-
var
|
|
872
|
+
x(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
873
|
+
var c, O;
|
|
874
874
|
if (!n.vertical)
|
|
875
|
-
|
|
875
|
+
c = _(n) * n.slideWidth;
|
|
876
876
|
else {
|
|
877
877
|
var $ = n.unslick ? n.slideCount : n.slideCount + 2 * n.slidesToShow;
|
|
878
878
|
O = $ * n.slideHeight;
|
|
@@ -893,23 +893,23 @@ function Ke() {
|
|
|
893
893
|
n.vertical ? D.top = n.left : D.left = n.left;
|
|
894
894
|
return n.fade && (D = {
|
|
895
895
|
opacity: 1
|
|
896
|
-
}),
|
|
896
|
+
}), c && (D.width = c), O && (D.height = O), window && !window.addEventListener && window.attachEvent && (n.vertical ? D.marginTop = n.left + "px" : D.marginLeft = n.left + "px"), D;
|
|
897
897
|
}, y = Y.getTrackAnimateCSS = function(n) {
|
|
898
|
-
|
|
899
|
-
var
|
|
900
|
-
return n.useTransform ? (
|
|
898
|
+
x(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
|
+
var c = R(n);
|
|
900
|
+
return n.useTransform ? (c.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, c.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? c.transition = "top " + n.speed + "ms " + n.cssEase : c.transition = "left " + n.speed + "ms " + n.cssEase, c;
|
|
901
901
|
}, h = Y.getTrackLeft = function(n) {
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
|
-
|
|
905
|
-
var
|
|
904
|
+
x(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
+
var c = n.slideIndex, O = n.trackRef, $ = n.infinite, D = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll, B = n.slideWidth, K = n.listWidth, G = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
|
|
906
906
|
if (te || n.slideCount === 1)
|
|
907
907
|
return 0;
|
|
908
908
|
var oe = 0;
|
|
909
|
-
if ($ ? (oe = -C(n), z % W !== 0 &&
|
|
909
|
+
if ($ ? (oe = -C(n), z % W !== 0 && c + W > z && (oe = -(c > z ? N - (c - z) : z % W)), D && (oe += parseInt(N / 2))) : (z % W !== 0 && c + W > z && (oe = N - z % W), D && (oe = parseInt(N / 2))), ee = oe * B, Q = oe * J, Z ? ie = c * J * -1 + Q : ie = c * B * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
|
-
if (ue =
|
|
912
|
-
ue = $ ?
|
|
911
|
+
if (ue = c + C(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
|
+
ue = $ ? c + C(n) : c, le = ce && ce.children[ue], ie = 0;
|
|
913
913
|
for (var pe = 0; pe < ue; pe++)
|
|
914
914
|
ie -= ce && ce.children[pe] && ce.children[pe].offsetWidth;
|
|
915
915
|
ie -= parseInt(n.centerPadding), ie += le && (K - le.offsetWidth) / 2;
|
|
@@ -925,27 +925,27 @@ function Ke() {
|
|
|
925
925
|
}, T = Y.siblingDirection = function(n) {
|
|
926
926
|
return n.targetSlide > n.currentSlide ? n.targetSlide > n.currentSlide + E(n) ? "left" : "right" : n.targetSlide < n.currentSlide - j(n) ? "right" : "left";
|
|
927
927
|
}, E = Y.slidesOnRight = function(n) {
|
|
928
|
-
var
|
|
928
|
+
var c = n.slidesToShow, O = n.centerMode, $ = n.rtl, D = n.centerPadding;
|
|
929
929
|
if (O) {
|
|
930
|
-
var z = (
|
|
931
|
-
return parseInt(D) > 0 && (z += 1), $ &&
|
|
930
|
+
var z = (c - 1) / 2 + 1;
|
|
931
|
+
return parseInt(D) > 0 && (z += 1), $ && c % 2 === 0 && (z += 1), z;
|
|
932
932
|
}
|
|
933
|
-
return $ ? 0 :
|
|
933
|
+
return $ ? 0 : c - 1;
|
|
934
934
|
}, j = Y.slidesOnLeft = function(n) {
|
|
935
|
-
var
|
|
935
|
+
var c = n.slidesToShow, O = n.centerMode, $ = n.rtl, D = n.centerPadding;
|
|
936
936
|
if (O) {
|
|
937
|
-
var z = (
|
|
938
|
-
return parseInt(D) > 0 && (z += 1), !$ &&
|
|
937
|
+
var z = (c - 1) / 2 + 1;
|
|
938
|
+
return parseInt(D) > 0 && (z += 1), !$ && c % 2 === 0 && (z += 1), z;
|
|
939
939
|
}
|
|
940
|
-
return $ ?
|
|
940
|
+
return $ ? c - 1 : 0;
|
|
941
941
|
};
|
|
942
942
|
Y.canUseDOM = function() {
|
|
943
943
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
944
944
|
};
|
|
945
945
|
var o = Y.validSettings = Object.keys(t.default);
|
|
946
946
|
function H(m) {
|
|
947
|
-
return o.reduce(function(n,
|
|
948
|
-
return m.hasOwnProperty(
|
|
947
|
+
return o.reduce(function(n, c) {
|
|
948
|
+
return m.hasOwnProperty(c) && (n[c] = m[c]), n;
|
|
949
949
|
}, {});
|
|
950
950
|
}
|
|
951
951
|
return Y;
|
|
@@ -978,7 +978,7 @@ function Dn() {
|
|
|
978
978
|
return y;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function f(y, h) {
|
|
982
982
|
if (!(y instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
983
983
|
}
|
|
984
984
|
function l(y, h) {
|
|
@@ -990,16 +990,16 @@ function Dn() {
|
|
|
990
990
|
function u(y, h, C) {
|
|
991
991
|
return h && l(y.prototype, h), Object.defineProperty(y, "prototype", { writable: !1 }), y;
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function d(y, h) {
|
|
994
994
|
if (typeof h != "function" && h !== null) throw new TypeError("Super expression must either be null or a function");
|
|
995
|
-
y.prototype = Object.create(h && h.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), h &&
|
|
995
|
+
y.prototype = Object.create(h && h.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), h && g(y, h);
|
|
996
996
|
}
|
|
997
|
-
function
|
|
998
|
-
return
|
|
997
|
+
function g(y, h) {
|
|
998
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(C, A) {
|
|
999
999
|
return C.__proto__ = A, C;
|
|
1000
|
-
},
|
|
1000
|
+
}, g(y, h);
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1002
|
+
function b(y) {
|
|
1003
1003
|
var h = P();
|
|
1004
1004
|
return function() {
|
|
1005
1005
|
var C, A = p(y);
|
|
@@ -1007,10 +1007,10 @@ function Dn() {
|
|
|
1007
1007
|
var _ = p(this).constructor;
|
|
1008
1008
|
C = Reflect.construct(A, arguments, _);
|
|
1009
1009
|
} else C = A.apply(this, arguments);
|
|
1010
|
-
return
|
|
1010
|
+
return S(this, C);
|
|
1011
1011
|
};
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function S(y, h) {
|
|
1014
1014
|
if (h && (a(h) == "object" || typeof h == "function")) return h;
|
|
1015
1015
|
if (h !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1016
1016
|
return L(y);
|
|
@@ -1072,7 +1072,7 @@ function Dn() {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
return (h === "string" ? String : Number)(y);
|
|
1074
1074
|
}
|
|
1075
|
-
var
|
|
1075
|
+
var v = function(h) {
|
|
1076
1076
|
var C, A, _, T, E;
|
|
1077
1077
|
h.rtl ? E = h.slideCount - 1 - h.index : E = h.index, _ = E < 0 || E >= h.slideCount, h.centerMode ? (T = Math.floor(h.slidesToShow / 2), A = (E - h.currentSlide) % h.slideCount === 0, E > h.currentSlide - T - 1 && E <= h.currentSlide + T && (C = !0)) : C = h.currentSlide <= E && E < h.currentSlide + h.slidesToShow;
|
|
1078
1078
|
var j;
|
|
@@ -1086,28 +1086,28 @@ function Dn() {
|
|
|
1086
1086
|
"slick-current": o
|
|
1087
1087
|
// dubious in case of RTL
|
|
1088
1088
|
};
|
|
1089
|
-
},
|
|
1089
|
+
}, w = function(h) {
|
|
1090
1090
|
var C = {};
|
|
1091
1091
|
return (h.variableWidth === void 0 || h.variableWidth === !1) && (C.width = h.slideWidth), h.fade && (C.position = "relative", h.vertical ? C.top = -h.index * parseInt(h.slideHeight) : C.left = -h.index * parseInt(h.slideWidth), C.opacity = h.currentSlide === h.index ? 1 : 0, C.zIndex = h.currentSlide === h.index ? 999 : 998, h.useCSS && (C.transition = "opacity " + h.speed + "ms " + h.cssEase + ", visibility " + h.speed + "ms " + h.cssEase)), C;
|
|
1092
|
-
},
|
|
1092
|
+
}, x = function(h, C) {
|
|
1093
1093
|
return h.key || C;
|
|
1094
1094
|
}, R = function(h) {
|
|
1095
1095
|
var C, A = [], _ = [], T = [], E = e.default.Children.count(h.children), j = (0, r.lazyStartIndex)(h), o = (0, r.lazyEndIndex)(h);
|
|
1096
1096
|
return e.default.Children.forEach(h.children, function(H, m) {
|
|
1097
|
-
var n,
|
|
1097
|
+
var n, c = {
|
|
1098
1098
|
message: "children",
|
|
1099
1099
|
index: m,
|
|
1100
1100
|
slidesToScroll: h.slidesToScroll,
|
|
1101
1101
|
currentSlide: h.currentSlide
|
|
1102
1102
|
};
|
|
1103
1103
|
!h.lazyLoad || h.lazyLoad && h.lazyLoadedList.indexOf(m) >= 0 ? n = H : n = /* @__PURE__ */ e.default.createElement("div", null);
|
|
1104
|
-
var O =
|
|
1104
|
+
var O = w(k(k({}, h), {}, {
|
|
1105
1105
|
index: m
|
|
1106
|
-
})), $ = n.props.className || "", D =
|
|
1106
|
+
})), $ = n.props.className || "", D = v(k(k({}, h), {}, {
|
|
1107
1107
|
index: m
|
|
1108
1108
|
}));
|
|
1109
1109
|
if (A.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1110
|
-
key: "original" +
|
|
1110
|
+
key: "original" + x(n, m),
|
|
1111
1111
|
"data-index": m,
|
|
1112
1112
|
className: (0, t.default)(D, $),
|
|
1113
1113
|
tabIndex: "-1",
|
|
@@ -1116,44 +1116,44 @@ function Dn() {
|
|
|
1116
1116
|
outline: "none"
|
|
1117
1117
|
}, n.props.style || {}), O),
|
|
1118
1118
|
onClick: function(W) {
|
|
1119
|
-
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(
|
|
1119
|
+
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(c);
|
|
1120
1120
|
}
|
|
1121
1121
|
})), h.infinite && E > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var z = E - m;
|
|
1123
|
-
z <= (0, r.getPreClones)(h) && (C = -z, C >= j && (n = H), D =
|
|
1123
|
+
z <= (0, r.getPreClones)(h) && (C = -z, C >= j && (n = H), D = v(k(k({}, h), {}, {
|
|
1124
1124
|
index: C
|
|
1125
1125
|
})), _.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1126
|
-
key: "precloned" +
|
|
1126
|
+
key: "precloned" + x(n, C),
|
|
1127
1127
|
"data-index": C,
|
|
1128
1128
|
tabIndex: "-1",
|
|
1129
1129
|
className: (0, t.default)(D, $),
|
|
1130
1130
|
"aria-hidden": !D["slick-active"],
|
|
1131
1131
|
style: k(k({}, n.props.style || {}), O),
|
|
1132
1132
|
onClick: function(W) {
|
|
1133
|
-
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(
|
|
1133
|
+
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(c);
|
|
1134
1134
|
}
|
|
1135
|
-
}))), m < (0, r.getPostClones)(h) && (C = E + m, C < o && (n = H), D =
|
|
1135
|
+
}))), m < (0, r.getPostClones)(h) && (C = E + m, C < o && (n = H), D = v(k(k({}, h), {}, {
|
|
1136
1136
|
index: C
|
|
1137
1137
|
})), T.push(/* @__PURE__ */ e.default.cloneElement(n, {
|
|
1138
|
-
key: "postcloned" +
|
|
1138
|
+
key: "postcloned" + x(n, C),
|
|
1139
1139
|
"data-index": C,
|
|
1140
1140
|
tabIndex: "-1",
|
|
1141
1141
|
className: (0, t.default)(D, $),
|
|
1142
1142
|
"aria-hidden": !D["slick-active"],
|
|
1143
1143
|
style: k(k({}, n.props.style || {}), O),
|
|
1144
1144
|
onClick: function(W) {
|
|
1145
|
-
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(
|
|
1145
|
+
n.props && n.props.onClick && n.props.onClick(W), h.focusOnSelect && h.focusOnSelect(c);
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
1149
1149
|
}), h.rtl ? _.concat(A, T).reverse() : _.concat(A, T);
|
|
1150
1150
|
};
|
|
1151
1151
|
return Fe.Track = /* @__PURE__ */ function(y) {
|
|
1152
|
-
|
|
1153
|
-
var h =
|
|
1152
|
+
d(C, y);
|
|
1153
|
+
var h = b(C);
|
|
1154
1154
|
function C() {
|
|
1155
1155
|
var A;
|
|
1156
|
-
|
|
1156
|
+
f(this, C);
|
|
1157
1157
|
for (var _ = arguments.length, T = new Array(_), E = 0; E < _; E++)
|
|
1158
1158
|
T[E] = arguments[E];
|
|
1159
1159
|
return A = h.call.apply(h, [this].concat(T)), F(L(A), "node", null), F(L(A), "handleRef", function(j) {
|
|
@@ -1181,126 +1181,126 @@ var We = {}, fr;
|
|
|
1181
1181
|
function Mn() {
|
|
1182
1182
|
if (fr) return We;
|
|
1183
1183
|
fr = 1;
|
|
1184
|
-
function e(
|
|
1184
|
+
function e(v) {
|
|
1185
1185
|
"@babel/helpers - typeof";
|
|
1186
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1187
|
-
return typeof
|
|
1188
|
-
} : function(
|
|
1189
|
-
return
|
|
1190
|
-
}, e(
|
|
1186
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
|
|
1187
|
+
return typeof w;
|
|
1188
|
+
} : function(w) {
|
|
1189
|
+
return w && typeof Symbol == "function" && w.constructor === Symbol && w !== Symbol.prototype ? "symbol" : typeof w;
|
|
1190
|
+
}, e(v);
|
|
1191
1191
|
}
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
1195
|
var t = a(V), r = a(yt()), i = Ke();
|
|
1196
|
-
function a(
|
|
1197
|
-
return
|
|
1196
|
+
function a(v) {
|
|
1197
|
+
return v && v.__esModule ? v : { default: v };
|
|
1198
1198
|
}
|
|
1199
|
-
function s(
|
|
1200
|
-
var
|
|
1199
|
+
function s(v, w) {
|
|
1200
|
+
var x = Object.keys(v);
|
|
1201
1201
|
if (Object.getOwnPropertySymbols) {
|
|
1202
|
-
var R = Object.getOwnPropertySymbols(
|
|
1203
|
-
|
|
1204
|
-
return Object.getOwnPropertyDescriptor(
|
|
1205
|
-
})),
|
|
1206
|
-
}
|
|
1207
|
-
return
|
|
1208
|
-
}
|
|
1209
|
-
function
|
|
1210
|
-
for (var
|
|
1211
|
-
var
|
|
1212
|
-
|
|
1213
|
-
l(
|
|
1214
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1215
|
-
Object.defineProperty(
|
|
1202
|
+
var R = Object.getOwnPropertySymbols(v);
|
|
1203
|
+
w && (R = R.filter(function(y) {
|
|
1204
|
+
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1205
|
+
})), x.push.apply(x, R);
|
|
1206
|
+
}
|
|
1207
|
+
return x;
|
|
1208
|
+
}
|
|
1209
|
+
function f(v) {
|
|
1210
|
+
for (var w = 1; w < arguments.length; w++) {
|
|
1211
|
+
var x = arguments[w] != null ? arguments[w] : {};
|
|
1212
|
+
w % 2 ? s(Object(x), !0).forEach(function(R) {
|
|
1213
|
+
l(v, R, x[R]);
|
|
1214
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(x)) : s(Object(x)).forEach(function(R) {
|
|
1215
|
+
Object.defineProperty(v, R, Object.getOwnPropertyDescriptor(x, R));
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
|
-
return
|
|
1218
|
+
return v;
|
|
1219
1219
|
}
|
|
1220
|
-
function l(
|
|
1221
|
-
return (
|
|
1220
|
+
function l(v, w, x) {
|
|
1221
|
+
return (w = b(w)) in v ? Object.defineProperty(v, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : v[w] = x, v;
|
|
1222
1222
|
}
|
|
1223
|
-
function u(
|
|
1224
|
-
if (!(
|
|
1223
|
+
function u(v, w) {
|
|
1224
|
+
if (!(v instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1227
|
-
for (var
|
|
1228
|
-
var R =
|
|
1229
|
-
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(
|
|
1226
|
+
function d(v, w) {
|
|
1227
|
+
for (var x = 0; x < w.length; x++) {
|
|
1228
|
+
var R = w[x];
|
|
1229
|
+
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v, b(R.key), R);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
function v
|
|
1233
|
-
return
|
|
1232
|
+
function g(v, w, x) {
|
|
1233
|
+
return w && d(v.prototype, w), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1236
|
-
var
|
|
1237
|
-
return e(
|
|
1235
|
+
function b(v) {
|
|
1236
|
+
var w = S(v, "string");
|
|
1237
|
+
return e(w) == "symbol" ? w : w + "";
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1240
|
-
if (e(
|
|
1241
|
-
var
|
|
1242
|
-
if (
|
|
1243
|
-
var R =
|
|
1239
|
+
function S(v, w) {
|
|
1240
|
+
if (e(v) != "object" || !v) return v;
|
|
1241
|
+
var x = v[Symbol.toPrimitive];
|
|
1242
|
+
if (x !== void 0) {
|
|
1243
|
+
var R = x.call(v, w);
|
|
1244
1244
|
if (e(R) != "object") return R;
|
|
1245
1245
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1246
1246
|
}
|
|
1247
|
-
return String(
|
|
1247
|
+
return String(v);
|
|
1248
1248
|
}
|
|
1249
|
-
function L(
|
|
1250
|
-
if (typeof
|
|
1251
|
-
|
|
1249
|
+
function L(v, w) {
|
|
1250
|
+
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1251
|
+
v.prototype = Object.create(w && w.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), w && P(v, w);
|
|
1252
1252
|
}
|
|
1253
|
-
function P(
|
|
1254
|
-
return P = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1255
|
-
return
|
|
1256
|
-
}, P(
|
|
1253
|
+
function P(v, w) {
|
|
1254
|
+
return P = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, R) {
|
|
1255
|
+
return x.__proto__ = R, x;
|
|
1256
|
+
}, P(v, w);
|
|
1257
1257
|
}
|
|
1258
|
-
function p(
|
|
1259
|
-
var
|
|
1258
|
+
function p(v) {
|
|
1259
|
+
var w = F();
|
|
1260
1260
|
return function() {
|
|
1261
|
-
var
|
|
1262
|
-
if (
|
|
1261
|
+
var x, R = U(v);
|
|
1262
|
+
if (w) {
|
|
1263
1263
|
var y = U(this).constructor;
|
|
1264
|
-
|
|
1265
|
-
} else
|
|
1266
|
-
return I(this,
|
|
1264
|
+
x = Reflect.construct(R, arguments, y);
|
|
1265
|
+
} else x = R.apply(this, arguments);
|
|
1266
|
+
return I(this, x);
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
1269
|
-
function I(
|
|
1270
|
-
if (
|
|
1271
|
-
if (
|
|
1272
|
-
return k(
|
|
1269
|
+
function I(v, w) {
|
|
1270
|
+
if (w && (e(w) == "object" || typeof w == "function")) return w;
|
|
1271
|
+
if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1272
|
+
return k(v);
|
|
1273
1273
|
}
|
|
1274
|
-
function k(
|
|
1275
|
-
if (
|
|
1276
|
-
return
|
|
1274
|
+
function k(v) {
|
|
1275
|
+
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1276
|
+
return v;
|
|
1277
1277
|
}
|
|
1278
1278
|
function F() {
|
|
1279
1279
|
try {
|
|
1280
|
-
var
|
|
1280
|
+
var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1281
1281
|
}));
|
|
1282
1282
|
} catch {
|
|
1283
1283
|
}
|
|
1284
1284
|
return (F = function() {
|
|
1285
|
-
return !!
|
|
1285
|
+
return !!v;
|
|
1286
1286
|
})();
|
|
1287
1287
|
}
|
|
1288
|
-
function U(
|
|
1289
|
-
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1290
|
-
return
|
|
1291
|
-
}, U(
|
|
1288
|
+
function U(v) {
|
|
1289
|
+
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(w) {
|
|
1290
|
+
return w.__proto__ || Object.getPrototypeOf(w);
|
|
1291
|
+
}, U(v);
|
|
1292
1292
|
}
|
|
1293
|
-
var q = function(
|
|
1294
|
-
var
|
|
1295
|
-
return
|
|
1293
|
+
var q = function(w) {
|
|
1294
|
+
var x;
|
|
1295
|
+
return w.infinite ? x = Math.ceil(w.slideCount / w.slidesToScroll) : x = Math.ceil((w.slideCount - w.slidesToShow) / w.slidesToScroll) + 1, x;
|
|
1296
1296
|
};
|
|
1297
|
-
return We.Dots = /* @__PURE__ */ function(
|
|
1298
|
-
L(
|
|
1299
|
-
var
|
|
1300
|
-
function
|
|
1301
|
-
return u(this,
|
|
1297
|
+
return We.Dots = /* @__PURE__ */ function(v) {
|
|
1298
|
+
L(x, v);
|
|
1299
|
+
var w = p(x);
|
|
1300
|
+
function x() {
|
|
1301
|
+
return u(this, x), w.apply(this, arguments);
|
|
1302
1302
|
}
|
|
1303
|
-
return
|
|
1303
|
+
return g(x, [{
|
|
1304
1304
|
key: "clickHandler",
|
|
1305
1305
|
value: function(y, h) {
|
|
1306
1306
|
h.preventDefault(), this.props.clickHandler(y);
|
|
@@ -1317,159 +1317,159 @@ function Mn() {
|
|
|
1317
1317
|
onMouseEnter: h,
|
|
1318
1318
|
onMouseOver: C,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
|
-
}, n = [],
|
|
1321
|
-
var O = (
|
|
1320
|
+
}, n = [], c = 0; c < H; c++) {
|
|
1321
|
+
var O = (c + 1) * T - 1, $ = _ ? O : (0, i.clamp)(O, 0, j - 1), D = $ - (T - 1), z = _ ? D : (0, i.clamp)(D, 0, j - 1), N = (0, r.default)({
|
|
1322
1322
|
"slick-active": _ ? o >= z && o <= $ : o === z
|
|
1323
1323
|
}), W = {
|
|
1324
1324
|
message: "dots",
|
|
1325
|
-
index:
|
|
1325
|
+
index: c,
|
|
1326
1326
|
slidesToScroll: T,
|
|
1327
1327
|
currentSlide: o
|
|
1328
1328
|
}, B = this.clickHandler.bind(this, W);
|
|
1329
1329
|
n = n.concat(/* @__PURE__ */ t.default.createElement("li", {
|
|
1330
|
-
key:
|
|
1330
|
+
key: c,
|
|
1331
1331
|
className: N
|
|
1332
|
-
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(
|
|
1332
|
+
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(c), {
|
|
1333
1333
|
onClick: B
|
|
1334
1334
|
})));
|
|
1335
1335
|
}
|
|
1336
|
-
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n),
|
|
1336
|
+
return /* @__PURE__ */ t.default.cloneElement(this.props.appendDots(n), f({
|
|
1337
1337
|
className: this.props.dotsClass
|
|
1338
1338
|
}, m));
|
|
1339
1339
|
}
|
|
1340
|
-
}]),
|
|
1340
|
+
}]), x;
|
|
1341
1341
|
}(t.default.PureComponent), We;
|
|
1342
1342
|
}
|
|
1343
1343
|
var _e = {}, dr;
|
|
1344
1344
|
function $n() {
|
|
1345
1345
|
if (dr) return _e;
|
|
1346
1346
|
dr = 1;
|
|
1347
|
-
function e(
|
|
1347
|
+
function e(v) {
|
|
1348
1348
|
"@babel/helpers - typeof";
|
|
1349
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1350
|
-
return typeof
|
|
1351
|
-
} : function(
|
|
1352
|
-
return
|
|
1353
|
-
}, e(
|
|
1349
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
|
|
1350
|
+
return typeof w;
|
|
1351
|
+
} : function(w) {
|
|
1352
|
+
return w && typeof Symbol == "function" && w.constructor === Symbol && w !== Symbol.prototype ? "symbol" : typeof w;
|
|
1353
|
+
}, e(v);
|
|
1354
1354
|
}
|
|
1355
1355
|
Object.defineProperty(_e, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), _e.PrevArrow = _e.NextArrow = void 0;
|
|
1358
1358
|
var t = a(V), r = a(yt()), i = Ke();
|
|
1359
|
-
function a(
|
|
1360
|
-
return
|
|
1359
|
+
function a(v) {
|
|
1360
|
+
return v && v.__esModule ? v : { default: v };
|
|
1361
1361
|
}
|
|
1362
1362
|
function s() {
|
|
1363
|
-
return s = Object.assign ? Object.assign.bind() : function(
|
|
1364
|
-
for (var
|
|
1365
|
-
var
|
|
1366
|
-
for (var R in
|
|
1367
|
-
({}).hasOwnProperty.call(
|
|
1363
|
+
return s = Object.assign ? Object.assign.bind() : function(v) {
|
|
1364
|
+
for (var w = 1; w < arguments.length; w++) {
|
|
1365
|
+
var x = arguments[w];
|
|
1366
|
+
for (var R in x)
|
|
1367
|
+
({}).hasOwnProperty.call(x, R) && (v[R] = x[R]);
|
|
1368
1368
|
}
|
|
1369
|
-
return
|
|
1369
|
+
return v;
|
|
1370
1370
|
}, s.apply(null, arguments);
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1373
|
-
var
|
|
1372
|
+
function f(v, w) {
|
|
1373
|
+
var x = Object.keys(v);
|
|
1374
1374
|
if (Object.getOwnPropertySymbols) {
|
|
1375
|
-
var R = Object.getOwnPropertySymbols(
|
|
1376
|
-
|
|
1377
|
-
return Object.getOwnPropertyDescriptor(
|
|
1378
|
-
})),
|
|
1379
|
-
}
|
|
1380
|
-
return
|
|
1381
|
-
}
|
|
1382
|
-
function l(
|
|
1383
|
-
for (var
|
|
1384
|
-
var
|
|
1385
|
-
|
|
1386
|
-
u(
|
|
1387
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1388
|
-
Object.defineProperty(
|
|
1375
|
+
var R = Object.getOwnPropertySymbols(v);
|
|
1376
|
+
w && (R = R.filter(function(y) {
|
|
1377
|
+
return Object.getOwnPropertyDescriptor(v, y).enumerable;
|
|
1378
|
+
})), x.push.apply(x, R);
|
|
1379
|
+
}
|
|
1380
|
+
return x;
|
|
1381
|
+
}
|
|
1382
|
+
function l(v) {
|
|
1383
|
+
for (var w = 1; w < arguments.length; w++) {
|
|
1384
|
+
var x = arguments[w] != null ? arguments[w] : {};
|
|
1385
|
+
w % 2 ? f(Object(x), !0).forEach(function(R) {
|
|
1386
|
+
u(v, R, x[R]);
|
|
1387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(x)) : f(Object(x)).forEach(function(R) {
|
|
1388
|
+
Object.defineProperty(v, R, Object.getOwnPropertyDescriptor(x, R));
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
|
-
return
|
|
1391
|
+
return v;
|
|
1392
1392
|
}
|
|
1393
|
-
function u(
|
|
1394
|
-
return (
|
|
1393
|
+
function u(v, w, x) {
|
|
1394
|
+
return (w = S(w)) in v ? Object.defineProperty(v, w, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : v[w] = x, v;
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1397
|
-
if (!(
|
|
1396
|
+
function d(v, w) {
|
|
1397
|
+
if (!(v instanceof w)) throw new TypeError("Cannot call a class as a function");
|
|
1398
1398
|
}
|
|
1399
|
-
function v
|
|
1400
|
-
for (var
|
|
1401
|
-
var R =
|
|
1402
|
-
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(
|
|
1399
|
+
function g(v, w) {
|
|
1400
|
+
for (var x = 0; x < w.length; x++) {
|
|
1401
|
+
var R = w[x];
|
|
1402
|
+
R.enumerable = R.enumerable || !1, R.configurable = !0, "value" in R && (R.writable = !0), Object.defineProperty(v, S(R.key), R);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1406
|
-
return
|
|
1405
|
+
function b(v, w, x) {
|
|
1406
|
+
return w && g(v.prototype, w), Object.defineProperty(v, "prototype", { writable: !1 }), v;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var
|
|
1410
|
-
return e(
|
|
1408
|
+
function S(v) {
|
|
1409
|
+
var w = L(v, "string");
|
|
1410
|
+
return e(w) == "symbol" ? w : w + "";
|
|
1411
1411
|
}
|
|
1412
|
-
function L(
|
|
1413
|
-
if (e(
|
|
1414
|
-
var
|
|
1415
|
-
if (
|
|
1416
|
-
var R =
|
|
1412
|
+
function L(v, w) {
|
|
1413
|
+
if (e(v) != "object" || !v) return v;
|
|
1414
|
+
var x = v[Symbol.toPrimitive];
|
|
1415
|
+
if (x !== void 0) {
|
|
1416
|
+
var R = x.call(v, w);
|
|
1417
1417
|
if (e(R) != "object") return R;
|
|
1418
1418
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1419
1419
|
}
|
|
1420
|
-
return String(
|
|
1420
|
+
return String(v);
|
|
1421
1421
|
}
|
|
1422
|
-
function P(
|
|
1423
|
-
if (typeof
|
|
1424
|
-
|
|
1422
|
+
function P(v, w) {
|
|
1423
|
+
if (typeof w != "function" && w !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1424
|
+
v.prototype = Object.create(w && w.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), w && p(v, w);
|
|
1425
1425
|
}
|
|
1426
|
-
function p(
|
|
1427
|
-
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1428
|
-
return
|
|
1429
|
-
}, p(
|
|
1426
|
+
function p(v, w) {
|
|
1427
|
+
return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, R) {
|
|
1428
|
+
return x.__proto__ = R, x;
|
|
1429
|
+
}, p(v, w);
|
|
1430
1430
|
}
|
|
1431
|
-
function I(
|
|
1432
|
-
var
|
|
1431
|
+
function I(v) {
|
|
1432
|
+
var w = U();
|
|
1433
1433
|
return function() {
|
|
1434
|
-
var
|
|
1435
|
-
if (
|
|
1434
|
+
var x, R = q(v);
|
|
1435
|
+
if (w) {
|
|
1436
1436
|
var y = q(this).constructor;
|
|
1437
|
-
|
|
1438
|
-
} else
|
|
1439
|
-
return k(this,
|
|
1437
|
+
x = Reflect.construct(R, arguments, y);
|
|
1438
|
+
} else x = R.apply(this, arguments);
|
|
1439
|
+
return k(this, x);
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function k(
|
|
1443
|
-
if (
|
|
1444
|
-
if (
|
|
1445
|
-
return F(
|
|
1442
|
+
function k(v, w) {
|
|
1443
|
+
if (w && (e(w) == "object" || typeof w == "function")) return w;
|
|
1444
|
+
if (w !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1445
|
+
return F(v);
|
|
1446
1446
|
}
|
|
1447
|
-
function F(
|
|
1448
|
-
if (
|
|
1449
|
-
return
|
|
1447
|
+
function F(v) {
|
|
1448
|
+
if (v === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1449
|
+
return v;
|
|
1450
1450
|
}
|
|
1451
1451
|
function U() {
|
|
1452
1452
|
try {
|
|
1453
|
-
var
|
|
1453
|
+
var v = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1454
1454
|
}));
|
|
1455
1455
|
} catch {
|
|
1456
1456
|
}
|
|
1457
1457
|
return (U = function() {
|
|
1458
|
-
return !!
|
|
1458
|
+
return !!v;
|
|
1459
1459
|
})();
|
|
1460
1460
|
}
|
|
1461
|
-
function q(
|
|
1462
|
-
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
1463
|
-
return
|
|
1464
|
-
}, q(
|
|
1461
|
+
function q(v) {
|
|
1462
|
+
return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(w) {
|
|
1463
|
+
return w.__proto__ || Object.getPrototypeOf(w);
|
|
1464
|
+
}, q(v);
|
|
1465
1465
|
}
|
|
1466
|
-
return _e.PrevArrow = /* @__PURE__ */ function(
|
|
1467
|
-
P(
|
|
1468
|
-
var
|
|
1469
|
-
function
|
|
1470
|
-
return
|
|
1466
|
+
return _e.PrevArrow = /* @__PURE__ */ function(v) {
|
|
1467
|
+
P(x, v);
|
|
1468
|
+
var w = I(x);
|
|
1469
|
+
function x() {
|
|
1470
|
+
return d(this, x), w.apply(this, arguments);
|
|
1471
1471
|
}
|
|
1472
|
-
return
|
|
1472
|
+
return b(x, [{
|
|
1473
1473
|
key: "clickHandler",
|
|
1474
1474
|
value: function(y, h) {
|
|
1475
1475
|
h && h.preventDefault(), this.props.clickHandler(y, h);
|
|
@@ -1501,14 +1501,14 @@ function $n() {
|
|
|
1501
1501
|
type: "button"
|
|
1502
1502
|
}, C), " ", "Previous"), _;
|
|
1503
1503
|
}
|
|
1504
|
-
}]),
|
|
1505
|
-
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(
|
|
1506
|
-
P(
|
|
1507
|
-
var
|
|
1508
|
-
function
|
|
1509
|
-
return
|
|
1510
|
-
}
|
|
1511
|
-
return
|
|
1504
|
+
}]), x;
|
|
1505
|
+
}(t.default.PureComponent), _e.NextArrow = /* @__PURE__ */ function(v) {
|
|
1506
|
+
P(x, v);
|
|
1507
|
+
var w = I(x);
|
|
1508
|
+
function x() {
|
|
1509
|
+
return d(this, x), w.apply(this, arguments);
|
|
1510
|
+
}
|
|
1511
|
+
return b(x, [{
|
|
1512
1512
|
key: "clickHandler",
|
|
1513
1513
|
value: function(y, h) {
|
|
1514
1514
|
h && h.preventDefault(), this.props.clickHandler(y, h);
|
|
@@ -1540,7 +1540,7 @@ function $n() {
|
|
|
1540
1540
|
type: "button"
|
|
1541
1541
|
}, C), " ", "Next"), _;
|
|
1542
1542
|
}
|
|
1543
|
-
}]),
|
|
1543
|
+
}]), x;
|
|
1544
1544
|
}(t.default.PureComponent), _e;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Nr = function() {
|
|
@@ -1583,8 +1583,8 @@ var Nr = function() {
|
|
|
1583
1583
|
}, t.prototype.forEach = function(r, i) {
|
|
1584
1584
|
i === void 0 && (i = null);
|
|
1585
1585
|
for (var a = 0, s = this.__entries__; a < s.length; a++) {
|
|
1586
|
-
var
|
|
1587
|
-
r.call(i,
|
|
1586
|
+
var f = s[a];
|
|
1587
|
+
r.call(i, f[1], f[0]);
|
|
1588
1588
|
}
|
|
1589
1589
|
}, t;
|
|
1590
1590
|
}()
|
|
@@ -1603,7 +1603,7 @@ function Hn(e, t) {
|
|
|
1603
1603
|
function s() {
|
|
1604
1604
|
r && (r = !1, e()), i && l();
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function f() {
|
|
1607
1607
|
In(s);
|
|
1608
1608
|
}
|
|
1609
1609
|
function l() {
|
|
@@ -1613,7 +1613,7 @@ function Hn(e, t) {
|
|
|
1613
1613
|
return;
|
|
1614
1614
|
i = !0;
|
|
1615
1615
|
} else
|
|
1616
|
-
r = !0, i = !1, setTimeout(
|
|
1616
|
+
r = !0, i = !1, setTimeout(f, t);
|
|
1617
1617
|
a = u;
|
|
1618
1618
|
}
|
|
1619
1619
|
return l;
|
|
@@ -1685,8 +1685,8 @@ function hr(e) {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
function Un(e) {
|
|
1687
1687
|
for (var t = ["top", "right", "bottom", "left"], r = {}, i = 0, a = t; i < a.length; i++) {
|
|
1688
|
-
var s = a[i],
|
|
1689
|
-
r[s] = mt(
|
|
1688
|
+
var s = a[i], f = e["padding-" + s];
|
|
1689
|
+
r[s] = mt(f);
|
|
1690
1690
|
}
|
|
1691
1691
|
return r;
|
|
1692
1692
|
}
|
|
@@ -1698,10 +1698,10 @@ function Vn(e) {
|
|
|
1698
1698
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1699
1699
|
if (!t && !r)
|
|
1700
1700
|
return Wr;
|
|
1701
|
-
var i = je(e).getComputedStyle(e), a = Un(i), s = a.left + a.right,
|
|
1702
|
-
if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u +
|
|
1703
|
-
var
|
|
1704
|
-
Math.abs(
|
|
1701
|
+
var i = je(e).getComputedStyle(e), a = Un(i), s = a.left + a.right, f = a.top + a.bottom, l = mt(i.width), u = mt(i.height);
|
|
1702
|
+
if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + f) !== r && (u -= hr(i, "top", "bottom") + f)), !Bn(e)) {
|
|
1703
|
+
var d = Math.round(l + s) - t, g = Math.round(u + f) - r;
|
|
1704
|
+
Math.abs(d) !== 1 && (l -= d), Math.abs(g) !== 1 && (u -= g);
|
|
1705
1705
|
}
|
|
1706
1706
|
return bt(a.left, a.top, l, u);
|
|
1707
1707
|
}
|
|
@@ -1719,8 +1719,8 @@ function Xn(e) {
|
|
|
1719
1719
|
return At ? qn(e) ? Yn(e) : Vn(e) : Wr;
|
|
1720
1720
|
}
|
|
1721
1721
|
function Gn(e) {
|
|
1722
|
-
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object,
|
|
1723
|
-
return Fr(
|
|
1722
|
+
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, f = Object.create(s.prototype);
|
|
1723
|
+
return Fr(f, {
|
|
1724
1724
|
x: t,
|
|
1725
1725
|
y: r,
|
|
1726
1726
|
width: i,
|
|
@@ -1729,7 +1729,7 @@ function Gn(e) {
|
|
|
1729
1729
|
right: t + i,
|
|
1730
1730
|
bottom: a + r,
|
|
1731
1731
|
left: t
|
|
1732
|
-
}),
|
|
1732
|
+
}), f;
|
|
1733
1733
|
}
|
|
1734
1734
|
function bt(e, t, r, i) {
|
|
1735
1735
|
return { x: e, y: t, width: r, height: i };
|
|
@@ -1840,29 +1840,29 @@ function ri() {
|
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e =
|
|
1844
|
-
function
|
|
1843
|
+
var e = d(V), t = d(jn()), r = d(Ln()), i = d(yt()), a = Ke(), s = Dn(), f = Mn(), l = $n(), u = d(ti);
|
|
1844
|
+
function d(_) {
|
|
1845
1845
|
return _ && _.__esModule ? _ : { default: _ };
|
|
1846
1846
|
}
|
|
1847
|
-
function
|
|
1847
|
+
function g(_) {
|
|
1848
1848
|
"@babel/helpers - typeof";
|
|
1849
|
-
return
|
|
1849
|
+
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(T) {
|
|
1850
1850
|
return typeof T;
|
|
1851
1851
|
} : function(T) {
|
|
1852
1852
|
return T && typeof Symbol == "function" && T.constructor === Symbol && T !== Symbol.prototype ? "symbol" : typeof T;
|
|
1853
|
-
},
|
|
1853
|
+
}, g(_);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1856
|
-
return
|
|
1855
|
+
function b() {
|
|
1856
|
+
return b = Object.assign ? Object.assign.bind() : function(_) {
|
|
1857
1857
|
for (var T = 1; T < arguments.length; T++) {
|
|
1858
1858
|
var E = arguments[T];
|
|
1859
1859
|
for (var j in E)
|
|
1860
1860
|
({}).hasOwnProperty.call(E, j) && (_[j] = E[j]);
|
|
1861
1861
|
}
|
|
1862
1862
|
return _;
|
|
1863
|
-
},
|
|
1863
|
+
}, b.apply(null, arguments);
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function S(_, T) {
|
|
1866
1866
|
if (_ == null) return {};
|
|
1867
1867
|
var E, j, o = L(_, T);
|
|
1868
1868
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1924,7 +1924,7 @@ function ri() {
|
|
|
1924
1924
|
return E.__proto__ = j, E;
|
|
1925
1925
|
}, q(_, T);
|
|
1926
1926
|
}
|
|
1927
|
-
function
|
|
1927
|
+
function v(_) {
|
|
1928
1928
|
var T = R();
|
|
1929
1929
|
return function() {
|
|
1930
1930
|
var E, j = y(_);
|
|
@@ -1932,15 +1932,15 @@ function ri() {
|
|
|
1932
1932
|
var o = y(this).constructor;
|
|
1933
1933
|
E = Reflect.construct(j, arguments, o);
|
|
1934
1934
|
} else E = j.apply(this, arguments);
|
|
1935
|
-
return
|
|
1935
|
+
return w(this, E);
|
|
1936
1936
|
};
|
|
1937
1937
|
}
|
|
1938
|
-
function
|
|
1939
|
-
if (T && (
|
|
1938
|
+
function w(_, T) {
|
|
1939
|
+
if (T && (g(T) == "object" || typeof T == "function")) return T;
|
|
1940
1940
|
if (T !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1941
|
-
return
|
|
1941
|
+
return x(_);
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1943
|
+
function x(_) {
|
|
1944
1944
|
if (_ === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1945
1945
|
return _;
|
|
1946
1946
|
}
|
|
@@ -1964,38 +1964,38 @@ function ri() {
|
|
|
1964
1964
|
}
|
|
1965
1965
|
function C(_) {
|
|
1966
1966
|
var T = A(_, "string");
|
|
1967
|
-
return
|
|
1967
|
+
return g(T) == "symbol" ? T : T + "";
|
|
1968
1968
|
}
|
|
1969
1969
|
function A(_, T) {
|
|
1970
|
-
if (
|
|
1970
|
+
if (g(_) != "object" || !_) return _;
|
|
1971
1971
|
var E = _[Symbol.toPrimitive];
|
|
1972
1972
|
if (E !== void 0) {
|
|
1973
1973
|
var j = E.call(_, T);
|
|
1974
|
-
if (
|
|
1974
|
+
if (g(j) != "object") return j;
|
|
1975
1975
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1976
1976
|
}
|
|
1977
1977
|
return (T === "string" ? String : Number)(_);
|
|
1978
1978
|
}
|
|
1979
1979
|
return Ne.InnerSlider = /* @__PURE__ */ function(_) {
|
|
1980
1980
|
U(E, _);
|
|
1981
|
-
var T =
|
|
1981
|
+
var T = v(E);
|
|
1982
1982
|
function E(j) {
|
|
1983
1983
|
var o;
|
|
1984
|
-
I(this, E), o = T.call(this, j), h(
|
|
1984
|
+
I(this, E), o = T.call(this, j), h(x(o), "listRefHandler", function(m) {
|
|
1985
1985
|
return o.list = m;
|
|
1986
|
-
}), h(
|
|
1986
|
+
}), h(x(o), "trackRefHandler", function(m) {
|
|
1987
1987
|
return o.track = m;
|
|
1988
|
-
}), h(
|
|
1988
|
+
}), h(x(o), "adaptHeight", function() {
|
|
1989
1989
|
if (o.props.adaptiveHeight && o.list) {
|
|
1990
1990
|
var m = o.list.querySelector('[data-index="'.concat(o.state.currentSlide, '"]'));
|
|
1991
1991
|
o.list.style.height = (0, a.getHeight)(m) + "px";
|
|
1992
1992
|
}
|
|
1993
|
-
}), h(
|
|
1993
|
+
}), h(x(o), "componentDidMount", function() {
|
|
1994
1994
|
if (o.props.onInit && o.props.onInit(), o.props.lazyLoad) {
|
|
1995
1995
|
var m = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
1996
|
-
m.length > 0 && (o.setState(function(
|
|
1996
|
+
m.length > 0 && (o.setState(function(c) {
|
|
1997
1997
|
return {
|
|
1998
|
-
lazyLoadedList:
|
|
1998
|
+
lazyLoadedList: c.lazyLoadedList.concat(m)
|
|
1999
1999
|
};
|
|
2000
2000
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m));
|
|
2001
2001
|
}
|
|
@@ -2009,14 +2009,14 @@ function ri() {
|
|
|
2009
2009
|
o.state.animating ? (o.onWindowResized(!1), o.callbackTimers.push(setTimeout(function() {
|
|
2010
2010
|
return o.onWindowResized();
|
|
2011
2011
|
}, o.props.speed))) : o.onWindowResized();
|
|
2012
|
-
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(
|
|
2013
|
-
|
|
2012
|
+
}), o.ro.observe(o.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(c) {
|
|
2013
|
+
c.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, c.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
|
-
}), h(
|
|
2015
|
+
}), h(x(o), "componentWillUnmount", function() {
|
|
2016
2016
|
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(m) {
|
|
2017
2017
|
return clearTimeout(m);
|
|
2018
2018
|
}), o.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", o.onWindowResized) : window.detachEvent("onresize", o.onWindowResized), o.autoplayTimer && clearInterval(o.autoplayTimer), o.ro.disconnect();
|
|
2019
|
-
}), h(
|
|
2019
|
+
}), h(x(o), "componentDidUpdate", function(m) {
|
|
2020
2020
|
if (o.checkImagesLoad(), o.props.onReInit && o.props.onReInit(), o.props.lazyLoad) {
|
|
2021
2021
|
var n = (0, a.getOnDemandLazySlides)(p(p({}, o.props), o.state));
|
|
2022
2022
|
n.length > 0 && (o.setState(function($) {
|
|
@@ -2026,35 +2026,35 @@ function ri() {
|
|
|
2026
2026
|
}), o.props.onLazyLoad && o.props.onLazyLoad(n));
|
|
2027
2027
|
}
|
|
2028
2028
|
o.adaptHeight();
|
|
2029
|
-
var
|
|
2029
|
+
var c = p(p({
|
|
2030
2030
|
listRef: o.list,
|
|
2031
2031
|
trackRef: o.track
|
|
2032
2032
|
}, o.props), o.state), O = o.didPropsChange(m);
|
|
2033
|
-
O && o.updateState(
|
|
2033
|
+
O && o.updateState(c, O, function() {
|
|
2034
2034
|
o.state.currentSlide >= e.default.Children.count(o.props.children) && o.changeSlide({
|
|
2035
2035
|
message: "index",
|
|
2036
2036
|
index: e.default.Children.count(o.props.children) - o.props.slidesToShow,
|
|
2037
2037
|
currentSlide: o.state.currentSlide
|
|
2038
2038
|
}), o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2039
2039
|
});
|
|
2040
|
-
}), h(
|
|
2040
|
+
}), h(x(o), "onWindowResized", function(m) {
|
|
2041
2041
|
o.debouncedResize && o.debouncedResize.cancel(), o.debouncedResize = (0, r.default)(function() {
|
|
2042
2042
|
return o.resizeWindow(m);
|
|
2043
2043
|
}, 50), o.debouncedResize();
|
|
2044
|
-
}), h(
|
|
2044
|
+
}), h(x(o), "resizeWindow", function() {
|
|
2045
2045
|
var m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, n = !!(o.track && o.track.node);
|
|
2046
2046
|
if (n) {
|
|
2047
|
-
var
|
|
2047
|
+
var c = p(p({
|
|
2048
2048
|
listRef: o.list,
|
|
2049
2049
|
trackRef: o.track
|
|
2050
2050
|
}, o.props), o.state);
|
|
2051
|
-
o.updateState(
|
|
2051
|
+
o.updateState(c, m, function() {
|
|
2052
2052
|
o.props.autoplay ? o.autoPlay("update") : o.pause("paused");
|
|
2053
2053
|
}), o.setState({
|
|
2054
2054
|
animating: !1
|
|
2055
2055
|
}), clearTimeout(o.animationEndCallback), delete o.animationEndCallback;
|
|
2056
2056
|
}
|
|
2057
|
-
}), h(
|
|
2057
|
+
}), h(x(o), "updateState", function(m, n, c) {
|
|
2058
2058
|
var O = (0, a.initializedState)(m);
|
|
2059
2059
|
m = p(p(p({}, m), O), {}, {
|
|
2060
2060
|
slideIndex: O.currentSlide
|
|
@@ -2064,29 +2064,29 @@ function ri() {
|
|
|
2064
2064
|
left: $
|
|
2065
2065
|
});
|
|
2066
2066
|
var D = (0, a.getTrackCSS)(m);
|
|
2067
|
-
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (O.trackStyle = D), o.setState(O,
|
|
2068
|
-
}), h(
|
|
2067
|
+
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (O.trackStyle = D), o.setState(O, c);
|
|
2068
|
+
}), h(x(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
|
-
var m = 0, n = 0,
|
|
2070
|
+
var m = 0, n = 0, c = [], O = (0, a.getPreClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2071
2071
|
slideCount: o.props.children.length
|
|
2072
2072
|
})), $ = (0, a.getPostClones)(p(p(p({}, o.props), o.state), {}, {
|
|
2073
2073
|
slideCount: o.props.children.length
|
|
2074
2074
|
}));
|
|
2075
2075
|
o.props.children.forEach(function(le) {
|
|
2076
|
-
|
|
2076
|
+
c.push(le.props.style.width), m += le.props.style.width;
|
|
2077
2077
|
});
|
|
2078
2078
|
for (var D = 0; D < O; D++)
|
|
2079
|
-
n +=
|
|
2079
|
+
n += c[c.length - 1 - D], m += c[c.length - 1 - D];
|
|
2080
2080
|
for (var z = 0; z < $; z++)
|
|
2081
|
-
m +=
|
|
2081
|
+
m += c[z];
|
|
2082
2082
|
for (var N = 0; N < o.state.currentSlide; N++)
|
|
2083
|
-
n +=
|
|
2083
|
+
n += c[N];
|
|
2084
2084
|
var W = {
|
|
2085
2085
|
width: m + "px",
|
|
2086
2086
|
left: -n + "px"
|
|
2087
2087
|
};
|
|
2088
2088
|
if (o.props.centerMode) {
|
|
2089
|
-
var B = "".concat(
|
|
2089
|
+
var B = "".concat(c[o.state.currentSlide], "px");
|
|
2090
2090
|
W.left = "calc(".concat(W.left, " + (100% - ").concat(B, ") / 2 ) ");
|
|
2091
2091
|
}
|
|
2092
2092
|
return {
|
|
@@ -2105,11 +2105,11 @@ function ri() {
|
|
|
2105
2105
|
slideWidth: Z + "%",
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
|
-
}), h(
|
|
2109
|
-
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length,
|
|
2108
|
+
}), h(x(o), "checkImagesLoad", function() {
|
|
2109
|
+
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length, c = 0;
|
|
2110
2110
|
Array.prototype.forEach.call(m, function(O) {
|
|
2111
2111
|
var $ = function() {
|
|
2112
|
-
return ++
|
|
2112
|
+
return ++c && c >= n && o.onWindowResized();
|
|
2113
2113
|
};
|
|
2114
2114
|
if (!O.onclick)
|
|
2115
2115
|
O.onclick = function() {
|
|
@@ -2127,10 +2127,10 @@ function ri() {
|
|
|
2127
2127
|
$(), o.props.onLazyLoadError && o.props.onLazyLoadError();
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
|
-
}), h(
|
|
2131
|
-
for (var m = [], n = p(p({}, o.props), o.state),
|
|
2132
|
-
if (o.state.lazyLoadedList.indexOf(
|
|
2133
|
-
m.push(
|
|
2130
|
+
}), h(x(o), "progressiveLazyLoad", function() {
|
|
2131
|
+
for (var m = [], n = p(p({}, o.props), o.state), c = o.state.currentSlide; c < o.state.slideCount + (0, a.getPostClones)(n); c++)
|
|
2132
|
+
if (o.state.lazyLoadedList.indexOf(c) < 0) {
|
|
2133
|
+
m.push(c);
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
2136
|
for (var O = o.state.currentSlide - 1; O >= -(0, a.getPreClones)(n); O--)
|
|
@@ -2143,8 +2143,8 @@ function ri() {
|
|
|
2143
2143
|
lazyLoadedList: $.lazyLoadedList.concat(m)
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
|
-
}), h(
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
2146
|
+
}), h(x(o), "slideHandler", function(m) {
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = o.props, O = c.asNavFor, $ = c.beforeChange, D = c.onLazyLoad, z = c.speed, N = c.afterChange, W = o.state.currentSlide, B = (0, a.slideHandler)(p(p(p({
|
|
2148
2148
|
index: m
|
|
2149
2149
|
}, o.props), o.state), {}, {
|
|
2150
2150
|
trackRef: o.track,
|
|
@@ -2157,7 +2157,7 @@ function ri() {
|
|
|
2157
2157
|
});
|
|
2158
2158
|
D && J.length > 0 && D(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), N && N(W), delete o.animationEndCallback), o.setState(K, function() {
|
|
2159
2159
|
O && o.asNavForIndex !== m && (o.asNavForIndex = m, O.innerSlider.slideHandler(m)), G && (o.animationEndCallback = setTimeout(function() {
|
|
2160
|
-
var te = G.animating, Z =
|
|
2160
|
+
var te = G.animating, Z = S(G, ["animating"]);
|
|
2161
2161
|
o.setState(Z, function() {
|
|
2162
2162
|
o.callbackTimers.push(setTimeout(function() {
|
|
2163
2163
|
return o.setState({
|
|
@@ -2168,64 +2168,64 @@ function ri() {
|
|
|
2168
2168
|
}, z));
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
}), h(
|
|
2172
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
2171
|
+
}), h(x(o), "changeSlide", function(m) {
|
|
2172
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = p(p({}, o.props), o.state), O = (0, a.changeSlide)(c, m);
|
|
2173
2173
|
if (!(O !== 0 && !O) && (n === !0 ? o.slideHandler(O, n) : o.slideHandler(O), o.props.autoplay && o.autoPlay("update"), o.props.focusOnSelect)) {
|
|
2174
2174
|
var $ = o.list.querySelectorAll(".slick-current");
|
|
2175
2175
|
$[0] && $[0].focus();
|
|
2176
2176
|
}
|
|
2177
|
-
}), h(
|
|
2177
|
+
}), h(x(o), "clickHandler", function(m) {
|
|
2178
2178
|
o.clickable === !1 && (m.stopPropagation(), m.preventDefault()), o.clickable = !0;
|
|
2179
|
-
}), h(
|
|
2179
|
+
}), h(x(o), "keyHandler", function(m) {
|
|
2180
2180
|
var n = (0, a.keyHandler)(m, o.props.accessibility, o.props.rtl);
|
|
2181
2181
|
n !== "" && o.changeSlide({
|
|
2182
2182
|
message: n
|
|
2183
2183
|
});
|
|
2184
|
-
}), h(
|
|
2184
|
+
}), h(x(o), "selectHandler", function(m) {
|
|
2185
2185
|
o.changeSlide(m);
|
|
2186
|
-
}), h(
|
|
2187
|
-
var m = function(
|
|
2188
|
-
|
|
2186
|
+
}), h(x(o), "disableBodyScroll", function() {
|
|
2187
|
+
var m = function(c) {
|
|
2188
|
+
c = c || window.event, c.preventDefault && c.preventDefault(), c.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
2190
|
window.ontouchmove = m;
|
|
2191
|
-
}), h(
|
|
2191
|
+
}), h(x(o), "enableBodyScroll", function() {
|
|
2192
2192
|
window.ontouchmove = null;
|
|
2193
|
-
}), h(
|
|
2193
|
+
}), h(x(o), "swipeStart", function(m) {
|
|
2194
2194
|
o.props.verticalSwiping && o.disableBodyScroll();
|
|
2195
2195
|
var n = (0, a.swipeStart)(m, o.props.swipe, o.props.draggable);
|
|
2196
2196
|
n !== "" && o.setState(n);
|
|
2197
|
-
}), h(
|
|
2197
|
+
}), h(x(o), "swipeMove", function(m) {
|
|
2198
2198
|
var n = (0, a.swipeMove)(m, p(p(p({}, o.props), o.state), {}, {
|
|
2199
2199
|
trackRef: o.track,
|
|
2200
2200
|
listRef: o.list,
|
|
2201
2201
|
slideIndex: o.state.currentSlide
|
|
2202
2202
|
}));
|
|
2203
2203
|
n && (n.swiping && (o.clickable = !1), o.setState(n));
|
|
2204
|
-
}), h(
|
|
2204
|
+
}), h(x(o), "swipeEnd", function(m) {
|
|
2205
2205
|
var n = (0, a.swipeEnd)(m, p(p(p({}, o.props), o.state), {}, {
|
|
2206
2206
|
trackRef: o.track,
|
|
2207
2207
|
listRef: o.list,
|
|
2208
2208
|
slideIndex: o.state.currentSlide
|
|
2209
2209
|
}));
|
|
2210
2210
|
if (n) {
|
|
2211
|
-
var
|
|
2212
|
-
delete n.triggerSlideHandler, o.setState(n),
|
|
2211
|
+
var c = n.triggerSlideHandler;
|
|
2212
|
+
delete n.triggerSlideHandler, o.setState(n), c !== void 0 && (o.slideHandler(c), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
|
-
}), h(
|
|
2214
|
+
}), h(x(o), "touchEnd", function(m) {
|
|
2215
2215
|
o.swipeEnd(m), o.clickable = !0;
|
|
2216
|
-
}), h(
|
|
2216
|
+
}), h(x(o), "slickPrev", function() {
|
|
2217
2217
|
o.callbackTimers.push(setTimeout(function() {
|
|
2218
2218
|
return o.changeSlide({
|
|
2219
2219
|
message: "previous"
|
|
2220
2220
|
});
|
|
2221
2221
|
}, 0));
|
|
2222
|
-
}), h(
|
|
2222
|
+
}), h(x(o), "slickNext", function() {
|
|
2223
2223
|
o.callbackTimers.push(setTimeout(function() {
|
|
2224
2224
|
return o.changeSlide({
|
|
2225
2225
|
message: "next"
|
|
2226
2226
|
});
|
|
2227
2227
|
}, 0));
|
|
2228
|
-
}), h(
|
|
2228
|
+
}), h(x(o), "slickGoTo", function(m) {
|
|
2229
2229
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2230
2230
|
if (m = Number(m), isNaN(m)) return "";
|
|
2231
2231
|
o.callbackTimers.push(setTimeout(function() {
|
|
@@ -2235,7 +2235,7 @@ function ri() {
|
|
|
2235
2235
|
currentSlide: o.state.currentSlide
|
|
2236
2236
|
}, n);
|
|
2237
2237
|
}, 0));
|
|
2238
|
-
}), h(
|
|
2238
|
+
}), h(x(o), "play", function() {
|
|
2239
2239
|
var m;
|
|
2240
2240
|
if (o.props.rtl)
|
|
2241
2241
|
m = o.state.currentSlide - o.props.slidesToScroll;
|
|
@@ -2244,7 +2244,7 @@ function ri() {
|
|
|
2244
2244
|
else
|
|
2245
2245
|
return !1;
|
|
2246
2246
|
o.slideHandler(m);
|
|
2247
|
-
}), h(
|
|
2247
|
+
}), h(x(o), "autoPlay", function(m) {
|
|
2248
2248
|
o.autoplayTimer && clearInterval(o.autoplayTimer);
|
|
2249
2249
|
var n = o.state.autoplaying;
|
|
2250
2250
|
if (m === "update") {
|
|
@@ -2258,7 +2258,7 @@ function ri() {
|
|
|
2258
2258
|
o.autoplayTimer = setInterval(o.play, o.props.autoplaySpeed + 50), o.setState({
|
|
2259
2259
|
autoplaying: "playing"
|
|
2260
2260
|
});
|
|
2261
|
-
}), h(
|
|
2261
|
+
}), h(x(o), "pause", function(m) {
|
|
2262
2262
|
o.autoplayTimer && (clearInterval(o.autoplayTimer), o.autoplayTimer = null);
|
|
2263
2263
|
var n = o.state.autoplaying;
|
|
2264
2264
|
m === "paused" ? o.setState({
|
|
@@ -2268,24 +2268,24 @@ function ri() {
|
|
|
2268
2268
|
}) : n === "playing" && o.setState({
|
|
2269
2269
|
autoplaying: "hovered"
|
|
2270
2270
|
});
|
|
2271
|
-
}), h(
|
|
2271
|
+
}), h(x(o), "onDotsOver", function() {
|
|
2272
2272
|
return o.props.autoplay && o.pause("hovered");
|
|
2273
|
-
}), h(
|
|
2273
|
+
}), h(x(o), "onDotsLeave", function() {
|
|
2274
2274
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2275
|
-
}), h(
|
|
2275
|
+
}), h(x(o), "onTrackOver", function() {
|
|
2276
2276
|
return o.props.autoplay && o.pause("hovered");
|
|
2277
|
-
}), h(
|
|
2277
|
+
}), h(x(o), "onTrackLeave", function() {
|
|
2278
2278
|
return o.props.autoplay && o.state.autoplaying === "hovered" && o.autoPlay("leave");
|
|
2279
|
-
}), h(
|
|
2279
|
+
}), h(x(o), "onSlideFocus", function() {
|
|
2280
2280
|
return o.props.autoplay && o.pause("focused");
|
|
2281
|
-
}), h(
|
|
2281
|
+
}), h(x(o), "onSlideBlur", function() {
|
|
2282
2282
|
return o.props.autoplay && o.state.autoplaying === "focused" && o.autoPlay("blur");
|
|
2283
|
-
}), h(
|
|
2283
|
+
}), h(x(o), "render", function() {
|
|
2284
2284
|
var m = (0, i.default)("slick-slider", o.props.className, {
|
|
2285
2285
|
"slick-vertical": o.props.vertical,
|
|
2286
2286
|
"slick-initialized": !0
|
|
2287
|
-
}), n = p(p({}, o.props), o.state),
|
|
2288
|
-
|
|
2287
|
+
}), n = p(p({}, o.props), o.state), c = (0, a.extractObject)(n, ["fade", "cssEase", "speed", "infinite", "centerMode", "focusOnSelect", "currentSlide", "lazyLoad", "lazyLoadedList", "rtl", "slideWidth", "slideHeight", "listHeight", "vertical", "slidesToShow", "slidesToScroll", "slideCount", "trackStyle", "variableWidth", "unslick", "centerPadding", "targetSlide", "useCSS"]), O = o.props.pauseOnHover;
|
|
2288
|
+
c = p(p({}, c), {}, {
|
|
2289
2289
|
onMouseEnter: O ? o.onTrackOver : null,
|
|
2290
2290
|
onMouseLeave: O ? o.onTrackLeave : null,
|
|
2291
2291
|
onMouseOver: O ? o.onTrackOver : null,
|
|
@@ -2299,7 +2299,7 @@ function ri() {
|
|
|
2299
2299
|
onMouseEnter: z ? o.onDotsLeave : null,
|
|
2300
2300
|
onMouseOver: z ? o.onDotsOver : null,
|
|
2301
2301
|
onMouseLeave: z ? o.onDotsLeave : null
|
|
2302
|
-
}), $ = /* @__PURE__ */ e.default.createElement(
|
|
2302
|
+
}), $ = /* @__PURE__ */ e.default.createElement(f.Dots, D);
|
|
2303
2303
|
}
|
|
2304
2304
|
var N, W, B = (0, a.extractObject)(n, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
2305
2305
|
B.clickHandler = o.changeSlide, o.props.arrows && (N = /* @__PURE__ */ e.default.createElement(l.PrevArrow, B), W = /* @__PURE__ */ e.default.createElement(l.NextArrow, B));
|
|
@@ -2336,11 +2336,11 @@ function ri() {
|
|
|
2336
2336
|
}, ee = {
|
|
2337
2337
|
className: m,
|
|
2338
2338
|
style: o.props.style
|
|
2339
|
-
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : N, /* @__PURE__ */ e.default.createElement("div",
|
|
2339
|
+
}), /* @__PURE__ */ e.default.createElement("div", ee, o.props.unslick ? "" : N, /* @__PURE__ */ e.default.createElement("div", b({
|
|
2340
2340
|
ref: o.listRefHandler
|
|
2341
|
-
}, Z), /* @__PURE__ */ e.default.createElement(s.Track,
|
|
2341
|
+
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, b({
|
|
2342
2342
|
ref: o.trackRefHandler
|
|
2343
|
-
},
|
|
2343
|
+
}, c), o.props.children)), o.props.unslick ? "" : W, o.props.unslick ? "" : $);
|
|
2344
2344
|
}), o.list = null, o.track = null, o.state = p(p({}, t.default), {}, {
|
|
2345
2345
|
currentSlide: o.props.initialSlide,
|
|
2346
2346
|
targetSlide: o.props.initialSlide ? o.props.initialSlide : 0,
|
|
@@ -2353,12 +2353,12 @@ function ri() {
|
|
|
2353
2353
|
key: "didPropsChange",
|
|
2354
2354
|
value: function(o) {
|
|
2355
2355
|
for (var H = !1, m = 0, n = Object.keys(this.props); m < n.length; m++) {
|
|
2356
|
-
var
|
|
2357
|
-
if (!o.hasOwnProperty(
|
|
2356
|
+
var c = n[m];
|
|
2357
|
+
if (!o.hasOwnProperty(c)) {
|
|
2358
2358
|
H = !0;
|
|
2359
2359
|
break;
|
|
2360
2360
|
}
|
|
2361
|
-
if (!(
|
|
2361
|
+
if (!(g(o[c]) === "object" || typeof o[c] == "function" || isNaN(o[c])) && o[c] !== this.props[c]) {
|
|
2362
2362
|
H = !0;
|
|
2363
2363
|
break;
|
|
2364
2364
|
}
|
|
@@ -2387,15 +2387,15 @@ function ii() {
|
|
|
2387
2387
|
var s = /[height|width]$/;
|
|
2388
2388
|
return s.test(a);
|
|
2389
2389
|
}, r = function(a) {
|
|
2390
|
-
var s = "",
|
|
2391
|
-
return
|
|
2392
|
-
var
|
|
2393
|
-
l = e(l), t(l) && typeof
|
|
2390
|
+
var s = "", f = Object.keys(a);
|
|
2391
|
+
return f.forEach(function(l, u) {
|
|
2392
|
+
var d = a[l];
|
|
2393
|
+
l = e(l), t(l) && typeof d == "number" && (d = d + "px"), d === !0 ? s += l : d === !1 ? s += "not " + l : s += "(" + l + ": " + d + ")", u < f.length - 1 && (s += " and ");
|
|
2394
2394
|
}), s;
|
|
2395
2395
|
}, i = function(a) {
|
|
2396
2396
|
var s = "";
|
|
2397
|
-
return typeof a == "string" ? a : a instanceof Array ? (a.forEach(function(
|
|
2398
|
-
s += r(
|
|
2397
|
+
return typeof a == "string" ? a : a instanceof Array ? (a.forEach(function(f, l) {
|
|
2398
|
+
s += r(f), l < a.length - 1 && (s += ", ");
|
|
2399
2399
|
}), s) : r(a);
|
|
2400
2400
|
};
|
|
2401
2401
|
return Dt = i, Dt;
|
|
@@ -2406,8 +2406,8 @@ function ai() {
|
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t =
|
|
2410
|
-
function
|
|
2409
|
+
var t = f(V), r = ri(), i = f(ii()), a = f(zr()), s = Ke();
|
|
2410
|
+
function f(R) {
|
|
2411
2411
|
return R && R.__esModule ? R : { default: R };
|
|
2412
2412
|
}
|
|
2413
2413
|
function l(R) {
|
|
@@ -2428,7 +2428,7 @@ function ai() {
|
|
|
2428
2428
|
return R;
|
|
2429
2429
|
}, u.apply(null, arguments);
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2431
|
+
function d(R, y) {
|
|
2432
2432
|
var h = Object.keys(R);
|
|
2433
2433
|
if (Object.getOwnPropertySymbols) {
|
|
2434
2434
|
var C = Object.getOwnPropertySymbols(R);
|
|
@@ -2438,28 +2438,28 @@ function ai() {
|
|
|
2438
2438
|
}
|
|
2439
2439
|
return h;
|
|
2440
2440
|
}
|
|
2441
|
-
function
|
|
2441
|
+
function g(R) {
|
|
2442
2442
|
for (var y = 1; y < arguments.length; y++) {
|
|
2443
2443
|
var h = arguments[y] != null ? arguments[y] : {};
|
|
2444
|
-
y % 2 ?
|
|
2445
|
-
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(h)) :
|
|
2444
|
+
y % 2 ? d(Object(h), !0).forEach(function(C) {
|
|
2445
|
+
v(R, C, h[C]);
|
|
2446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(R, Object.getOwnPropertyDescriptors(h)) : d(Object(h)).forEach(function(C) {
|
|
2447
2447
|
Object.defineProperty(R, C, Object.getOwnPropertyDescriptor(h, C));
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
2450
|
return R;
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2452
|
+
function b(R, y) {
|
|
2453
2453
|
if (!(R instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
2454
2454
|
}
|
|
2455
|
-
function
|
|
2455
|
+
function S(R, y) {
|
|
2456
2456
|
for (var h = 0; h < y.length; h++) {
|
|
2457
2457
|
var C = y[h];
|
|
2458
|
-
C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(R,
|
|
2458
|
+
C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(R, w(C.key), C);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
2461
|
function L(R, y, h) {
|
|
2462
|
-
return y &&
|
|
2462
|
+
return y && S(R.prototype, y), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
2463
2463
|
}
|
|
2464
2464
|
function P(R, y) {
|
|
2465
2465
|
if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -2505,14 +2505,14 @@ function ai() {
|
|
|
2505
2505
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
2506
2506
|
}, q(R);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2509
|
-
return (y =
|
|
2508
|
+
function v(R, y, h) {
|
|
2509
|
+
return (y = w(y)) in R ? Object.defineProperty(R, y, { value: h, enumerable: !0, configurable: !0, writable: !0 }) : R[y] = h, R;
|
|
2510
2510
|
}
|
|
2511
|
-
function
|
|
2512
|
-
var y =
|
|
2511
|
+
function w(R) {
|
|
2512
|
+
var y = x(R, "string");
|
|
2513
2513
|
return l(y) == "symbol" ? y : y + "";
|
|
2514
2514
|
}
|
|
2515
|
-
function
|
|
2515
|
+
function x(R, y) {
|
|
2516
2516
|
if (l(R) != "object" || !R) return R;
|
|
2517
2517
|
var h = R[Symbol.toPrimitive];
|
|
2518
2518
|
if (h !== void 0) {
|
|
@@ -2527,18 +2527,18 @@ function ai() {
|
|
|
2527
2527
|
var y = I(h);
|
|
2528
2528
|
function h(C) {
|
|
2529
2529
|
var A;
|
|
2530
|
-
return
|
|
2530
|
+
return b(this, h), A = y.call(this, C), v(F(A), "innerSliderRefHandler", function(_) {
|
|
2531
2531
|
return A.innerSlider = _;
|
|
2532
|
-
}),
|
|
2532
|
+
}), v(F(A), "slickPrev", function() {
|
|
2533
2533
|
return A.innerSlider.slickPrev();
|
|
2534
|
-
}),
|
|
2534
|
+
}), v(F(A), "slickNext", function() {
|
|
2535
2535
|
return A.innerSlider.slickNext();
|
|
2536
|
-
}),
|
|
2536
|
+
}), v(F(A), "slickGoTo", function(_) {
|
|
2537
2537
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2538
2538
|
return A.innerSlider.slickGoTo(_, T);
|
|
2539
|
-
}),
|
|
2539
|
+
}), v(F(A), "slickPause", function() {
|
|
2540
2540
|
return A.innerSlider.pause("paused");
|
|
2541
|
-
}),
|
|
2541
|
+
}), v(F(A), "slickPlay", function() {
|
|
2542
2542
|
return A.innerSlider.autoPlay("play");
|
|
2543
2543
|
}), A.state = {
|
|
2544
2544
|
breakpoint: null
|
|
@@ -2605,15 +2605,15 @@ function ai() {
|
|
|
2605
2605
|
var A = this, _, T;
|
|
2606
2606
|
this.state.breakpoint ? (T = this.props.responsive.filter(function(D) {
|
|
2607
2607
|
return D.breakpoint === A.state.breakpoint;
|
|
2608
|
-
}), _ = T[0].settings === "unslick" ? "unslick" :
|
|
2608
|
+
}), _ = T[0].settings === "unslick" ? "unslick" : g(g(g({}, a.default), this.props), T[0].settings)) : _ = g(g({}, a.default), this.props), _.centerMode && (_.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(_.slidesToScroll)), _.slidesToScroll = 1), _.fade && (_.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(_.slidesToShow)), _.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(_.slidesToScroll)), _.slidesToShow = 1, _.slidesToScroll = 1);
|
|
2609
2609
|
var E = t.default.Children.toArray(this.props.children);
|
|
2610
2610
|
E = E.filter(function(D) {
|
|
2611
2611
|
return typeof D == "string" ? !!D.trim() : !!D;
|
|
2612
2612
|
}), _.variableWidth && (_.rows > 1 || _.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), _.variableWidth = !1);
|
|
2613
2613
|
for (var j = [], o = null, H = 0; H < E.length; H += _.rows * _.slidesPerRow) {
|
|
2614
2614
|
for (var m = [], n = H; n < H + _.rows * _.slidesPerRow; n += _.slidesPerRow) {
|
|
2615
|
-
for (var
|
|
2616
|
-
|
|
2615
|
+
for (var c = [], O = n; O < n + _.slidesPerRow && (_.variableWidth && E[O].props.style && (o = E[O].props.style.width), !(O >= E.length)); O += 1)
|
|
2616
|
+
c.push(/* @__PURE__ */ t.default.cloneElement(E[O], {
|
|
2617
2617
|
key: 100 * H + 10 * n + O,
|
|
2618
2618
|
tabIndex: -1,
|
|
2619
2619
|
style: {
|
|
@@ -2623,7 +2623,7 @@ function ai() {
|
|
|
2623
2623
|
}));
|
|
2624
2624
|
m.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2625
2625
|
key: 10 * H + n
|
|
2626
|
-
},
|
|
2626
|
+
}, c));
|
|
2627
2627
|
}
|
|
2628
2628
|
_.variableWidth ? j.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2629
2629
|
key: H,
|
|
@@ -2748,8 +2748,8 @@ function yi(e, t) {
|
|
|
2748
2748
|
return e.map(t).join("");
|
|
2749
2749
|
}
|
|
2750
2750
|
var St = 1, Le = 1, Xr = 0, he = 0, se = 0, De = "";
|
|
2751
|
-
function xt(e, t, r, i, a, s,
|
|
2752
|
-
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length:
|
|
2751
|
+
function xt(e, t, r, i, a, s, f) {
|
|
2752
|
+
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length: f, return: "" };
|
|
2753
2753
|
}
|
|
2754
2754
|
function Ue(e, t) {
|
|
2755
2755
|
return mi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
@@ -2865,31 +2865,31 @@ function ki(e) {
|
|
|
2865
2865
|
function Pi(e) {
|
|
2866
2866
|
return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
|
-
function lt(e, t, r, i, a, s,
|
|
2869
|
-
for (var
|
|
2868
|
+
function lt(e, t, r, i, a, s, f, l, u) {
|
|
2869
|
+
for (var d = 0, g = 0, b = f, S = 0, L = 0, P = 0, p = 1, I = 1, k = 1, F = 0, U = "", q = a, v = s, w = i, x = U; I; )
|
|
2870
2870
|
switch (P = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
|
-
if (P != 108 && fe(
|
|
2874
|
-
zt(
|
|
2873
|
+
if (P != 108 && fe(x, b - 1) == 58) {
|
|
2874
|
+
zt(x += ne(st(F), "&", "&\f"), "&\f") != -1 && (k = -1);
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
2877
|
// " ' [
|
|
2878
2878
|
case 34:
|
|
2879
2879
|
case 39:
|
|
2880
2880
|
case 91:
|
|
2881
|
-
|
|
2881
|
+
x += st(F);
|
|
2882
2882
|
break;
|
|
2883
2883
|
// \t \n \r \s
|
|
2884
2884
|
case 9:
|
|
2885
2885
|
case 10:
|
|
2886
2886
|
case 13:
|
|
2887
2887
|
case 32:
|
|
2888
|
-
|
|
2888
|
+
x += Si(P);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
2892
|
-
|
|
2892
|
+
x += xi(ot() - 1, 7);
|
|
2893
2893
|
continue;
|
|
2894
2894
|
// /
|
|
2895
2895
|
case 47:
|
|
@@ -2899,12 +2899,12 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2899
2899
|
it(Ci(Oi(me(), ot()), t, r), u);
|
|
2900
2900
|
break;
|
|
2901
2901
|
default:
|
|
2902
|
-
|
|
2902
|
+
x += "/";
|
|
2903
2903
|
}
|
|
2904
2904
|
break;
|
|
2905
2905
|
// {
|
|
2906
2906
|
case 123 * p:
|
|
2907
|
-
l[
|
|
2907
|
+
l[d++] = ye(x) * k;
|
|
2908
2908
|
// } ; \0
|
|
2909
2909
|
case 125 * p:
|
|
2910
2910
|
case 59:
|
|
@@ -2915,35 +2915,35 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2915
2915
|
case 125:
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
|
-
case 59 +
|
|
2919
|
-
k == -1 && (
|
|
2918
|
+
case 59 + g:
|
|
2919
|
+
k == -1 && (x = ne(x, /\f/g, "")), L > 0 && ye(x) - b && it(L > 32 ? wr(x + ";", i, r, b - 1) : wr(ne(x, " ", "") + ";", i, r, b - 2), u);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
|
-
|
|
2923
|
+
x += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (it(
|
|
2927
|
-
if (
|
|
2928
|
-
lt(
|
|
2926
|
+
if (it(w = br(x, t, r, d, g, a, l, U, q = [], v = [], b), s), F === 123)
|
|
2927
|
+
if (g === 0)
|
|
2928
|
+
lt(x, t, w, w, q, s, b, l, v);
|
|
2929
2929
|
else
|
|
2930
|
-
switch (
|
|
2930
|
+
switch (S === 99 && fe(x, 3) === 110 ? 100 : S) {
|
|
2931
2931
|
// d l m s
|
|
2932
2932
|
case 100:
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
lt(e,
|
|
2936
|
+
lt(e, w, w, i && it(br(e, w, w, 0, 0, a, l, U, a, q = [], b), v), a, v, b, l, i ? q : v);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
|
-
lt(
|
|
2939
|
+
lt(x, w, w, w, [""], v, 0, l, v);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
|
|
2942
|
+
d = g = L = 0, p = k = 1, U = x = "", b = f;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
2946
|
-
|
|
2946
|
+
b = 1 + ye(x), L = P;
|
|
2947
2947
|
default:
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (F == 123)
|
|
@@ -2951,31 +2951,31 @@ function lt(e, t, r, i, a, s, d, l, u) {
|
|
|
2951
2951
|
else if (F == 125 && p++ == 0 && wi() == 125)
|
|
2952
2952
|
continue;
|
|
2953
2953
|
}
|
|
2954
|
-
switch (
|
|
2954
|
+
switch (x += wt(F), F * p) {
|
|
2955
2955
|
// &
|
|
2956
2956
|
case 38:
|
|
2957
|
-
k =
|
|
2957
|
+
k = g > 0 ? 1 : (x += "\f", -1);
|
|
2958
2958
|
break;
|
|
2959
2959
|
// ,
|
|
2960
2960
|
case 44:
|
|
2961
|
-
l[
|
|
2961
|
+
l[d++] = (ye(x) - 1) * k, k = 1;
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
we() === 45 && (
|
|
2965
|
+
we() === 45 && (x += st(me())), S = we(), g = b = ye(U = x += ki(ot())), F++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
2969
|
-
P === 45 && ye(
|
|
2969
|
+
P === 45 && ye(x) == 2 && (p = 0);
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
|
-
function br(e, t, r, i, a, s,
|
|
2975
|
-
for (var
|
|
2976
|
-
for (var k = 0, F = qe(e,
|
|
2977
|
-
(U = Br(p > 0 ?
|
|
2978
|
-
return xt(e, t, r, a === 0 ? qt : l, u,
|
|
2974
|
+
function br(e, t, r, i, a, s, f, l, u, d, g) {
|
|
2975
|
+
for (var b = a - 1, S = a === 0 ? s : [""], L = Xt(S), P = 0, p = 0, I = 0; P < i; ++P)
|
|
2976
|
+
for (var k = 0, F = qe(e, b + 1, b = pi(p = f[P])), U = e; k < L; ++k)
|
|
2977
|
+
(U = Br(p > 0 ? S[k] + " " + F : ne(F, /&\f/g, S[k]))) && (u[I++] = U);
|
|
2978
|
+
return xt(e, t, r, a === 0 ? qt : l, u, d, g);
|
|
2979
2979
|
}
|
|
2980
2980
|
function Ci(e, t, r) {
|
|
2981
2981
|
return xt(e, t, r, Vr, wt(bi()), qe(e, 2, -2), 0);
|
|
@@ -3007,9 +3007,9 @@ function Ei(e, t, r, i) {
|
|
|
3007
3007
|
function Ri(e) {
|
|
3008
3008
|
var t = Xt(e);
|
|
3009
3009
|
return function(r, i, a, s) {
|
|
3010
|
-
for (var
|
|
3011
|
-
|
|
3012
|
-
return
|
|
3010
|
+
for (var f = "", l = 0; l < t; l++)
|
|
3011
|
+
f += e[l](r, i, a, s) || "";
|
|
3012
|
+
return f;
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
3015
3015
|
function _i(e) {
|
|
@@ -3058,9 +3058,9 @@ var Ti = function(t, r, i) {
|
|
|
3058
3058
|
if (i = i.parent, !i) return;
|
|
3059
3059
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
|
|
3060
3060
|
Sr.set(t, !0);
|
|
3061
|
-
for (var s = [],
|
|
3062
|
-
for (var
|
|
3063
|
-
t.props[
|
|
3061
|
+
for (var s = [], f = Li(r, s), l = i.props, u = 0, d = 0; u < f.length; u++)
|
|
3062
|
+
for (var g = 0; g < l.length; g++, d++)
|
|
3063
|
+
t.props[d] = s[u] ? f[u].replace(/&\f/g, l[g]) : l[g] + " " + f[u];
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
3066
|
}, Mi = function(t) {
|
|
@@ -3253,8 +3253,8 @@ var $i = function(t, r, i, a) {
|
|
|
3253
3253
|
I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
3254
3254
|
});
|
|
3255
3255
|
}
|
|
3256
|
-
var a = t.stylisPlugins || Ii, s = {},
|
|
3257
|
-
|
|
3256
|
+
var a = t.stylisPlugins || Ii, s = {}, f, l = [];
|
|
3257
|
+
f = t.container || document.head, Array.prototype.forEach.call(
|
|
3258
3258
|
// this means we will ignore elements which don't have a space in them which
|
|
3259
3259
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
3260
3260
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
@@ -3264,22 +3264,22 @@ var $i = function(t, r, i, a) {
|
|
|
3264
3264
|
l.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
|
-
var u,
|
|
3267
|
+
var u, d = [Di, Mi];
|
|
3268
3268
|
{
|
|
3269
|
-
var
|
|
3270
|
-
|
|
3271
|
-
})],
|
|
3272
|
-
return Te(Pi(I),
|
|
3269
|
+
var g, b = [Ei, _i(function(p) {
|
|
3270
|
+
g.insert(p);
|
|
3271
|
+
})], S = Ri(d.concat(a, b)), L = function(I) {
|
|
3272
|
+
return Te(Pi(I), S);
|
|
3273
3273
|
};
|
|
3274
3274
|
u = function(I, k, F, U) {
|
|
3275
|
-
|
|
3275
|
+
g = F, L(I ? I + "{" + k.styles + "}" : k.styles), U && (P.inserted[k.name] = !0);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
3278
|
var P = {
|
|
3279
3279
|
key: r,
|
|
3280
3280
|
sheet: new fi({
|
|
3281
3281
|
key: r,
|
|
3282
|
-
container:
|
|
3282
|
+
container: f,
|
|
3283
3283
|
nonce: t.nonce,
|
|
3284
3284
|
speedy: t.speedy,
|
|
3285
3285
|
prepend: t.prepend,
|
|
@@ -3428,14 +3428,14 @@ function Xe(e, t, r) {
|
|
|
3428
3428
|
}, a.name;
|
|
3429
3429
|
var s = r;
|
|
3430
3430
|
if (s.styles !== void 0) {
|
|
3431
|
-
var
|
|
3432
|
-
if (
|
|
3433
|
-
for (;
|
|
3431
|
+
var f = s.next;
|
|
3432
|
+
if (f !== void 0)
|
|
3433
|
+
for (; f !== void 0; )
|
|
3434
3434
|
be = {
|
|
3435
|
-
name:
|
|
3436
|
-
styles:
|
|
3435
|
+
name: f.name,
|
|
3436
|
+
styles: f.styles,
|
|
3437
3437
|
next: be
|
|
3438
|
-
},
|
|
3438
|
+
}, f = f.next;
|
|
3439
3439
|
var l = s.styles + ";";
|
|
3440
3440
|
return l;
|
|
3441
3441
|
}
|
|
@@ -3443,17 +3443,17 @@ function Xe(e, t, r) {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
case "function": {
|
|
3445
3445
|
if (e !== void 0) {
|
|
3446
|
-
var u = be,
|
|
3447
|
-
return be = u, Xe(e, t,
|
|
3446
|
+
var u = be, d = r(e);
|
|
3447
|
+
return be = u, Xe(e, t, d);
|
|
3448
3448
|
}
|
|
3449
3449
|
break;
|
|
3450
3450
|
}
|
|
3451
3451
|
}
|
|
3452
|
-
var
|
|
3452
|
+
var g = r;
|
|
3453
3453
|
if (t == null)
|
|
3454
|
-
return
|
|
3455
|
-
var
|
|
3456
|
-
return
|
|
3454
|
+
return g;
|
|
3455
|
+
var b = t[g];
|
|
3456
|
+
return b !== void 0 ? b : g;
|
|
3457
3457
|
}
|
|
3458
3458
|
function Vi(e, t, r) {
|
|
3459
3459
|
var i = "";
|
|
@@ -3462,23 +3462,23 @@ function Vi(e, t, r) {
|
|
|
3462
3462
|
i += Xe(e, t, r[a]) + ";";
|
|
3463
3463
|
else
|
|
3464
3464
|
for (var s in r) {
|
|
3465
|
-
var
|
|
3466
|
-
if (typeof
|
|
3467
|
-
var l =
|
|
3465
|
+
var f = r[s];
|
|
3466
|
+
if (typeof f != "object") {
|
|
3467
|
+
var l = f;
|
|
3468
3468
|
t != null && t[l] !== void 0 ? i += s + "{" + t[l] + "}" : xr(l) && (i += Mt(s) + ":" + Or(s, l) + ";");
|
|
3469
|
-
} else if (Array.isArray(
|
|
3470
|
-
for (var u = 0; u <
|
|
3471
|
-
xr(
|
|
3469
|
+
} else if (Array.isArray(f) && typeof f[0] == "string" && (t == null || t[f[0]] === void 0))
|
|
3470
|
+
for (var u = 0; u < f.length; u++)
|
|
3471
|
+
xr(f[u]) && (i += Mt(s) + ":" + Or(s, f[u]) + ";");
|
|
3472
3472
|
else {
|
|
3473
|
-
var
|
|
3473
|
+
var d = Xe(e, t, f);
|
|
3474
3474
|
switch (s) {
|
|
3475
3475
|
case "animation":
|
|
3476
3476
|
case "animationName": {
|
|
3477
|
-
i += Mt(s) + ":" +
|
|
3477
|
+
i += Mt(s) + ":" + d + ";";
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
3480
|
default:
|
|
3481
|
-
i += s + "{" +
|
|
3481
|
+
i += s + "{" + d + "}";
|
|
3482
3482
|
}
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
@@ -3494,8 +3494,8 @@ function qi(e, t, r) {
|
|
|
3494
3494
|
if (s == null || s.raw === void 0)
|
|
3495
3495
|
i = !1, a += Xe(r, t, s);
|
|
3496
3496
|
else {
|
|
3497
|
-
var
|
|
3498
|
-
a +=
|
|
3497
|
+
var f = s;
|
|
3498
|
+
a += f[0];
|
|
3499
3499
|
}
|
|
3500
3500
|
for (var l = 1; l < e.length; l++)
|
|
3501
3501
|
if (a += Xe(r, t, e[l]), i) {
|
|
@@ -3503,11 +3503,11 @@ function qi(e, t, r) {
|
|
|
3503
3503
|
a += u[l];
|
|
3504
3504
|
}
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
|
-
for (var
|
|
3507
|
-
|
|
3508
|
-
var
|
|
3506
|
+
for (var d = "", g; (g = kr.exec(a)) !== null; )
|
|
3507
|
+
d += "-" + g[1];
|
|
3508
|
+
var b = Fi(a) + d;
|
|
3509
3509
|
return {
|
|
3510
|
-
name:
|
|
3510
|
+
name: b,
|
|
3511
3511
|
styles: a,
|
|
3512
3512
|
next: be
|
|
3513
3513
|
};
|
|
@@ -3547,8 +3547,8 @@ var Ki = function(t) {
|
|
|
3547
3547
|
var a;
|
|
3548
3548
|
if (r) {
|
|
3549
3549
|
var s = r.shouldForwardProp;
|
|
3550
|
-
a = t.__emotion_forwardProp && s ? function(
|
|
3551
|
-
return t.__emotion_forwardProp(
|
|
3550
|
+
a = t.__emotion_forwardProp && s ? function(f) {
|
|
3551
|
+
return t.__emotion_forwardProp(f) && s(f);
|
|
3552
3552
|
} : s;
|
|
3553
3553
|
}
|
|
3554
3554
|
return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
|
|
@@ -3558,48 +3558,48 @@ var Ki = function(t) {
|
|
|
3558
3558
|
return Ni(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
3560
|
}, na = function e(t, r) {
|
|
3561
|
-
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s,
|
|
3562
|
-
r !== void 0 && (s = r.label,
|
|
3563
|
-
var l = Cr(t, r, i), u = l || Pr(a),
|
|
3561
|
+
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, f;
|
|
3562
|
+
r !== void 0 && (s = r.label, f = r.target);
|
|
3563
|
+
var l = Cr(t, r, i), u = l || Pr(a), d = !u("as");
|
|
3564
3564
|
return function() {
|
|
3565
|
-
var
|
|
3566
|
-
if (s !== void 0 &&
|
|
3567
|
-
|
|
3565
|
+
var g = arguments, b = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3566
|
+
if (s !== void 0 && b.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
|
|
3567
|
+
b.push.apply(b, g);
|
|
3568
3568
|
else {
|
|
3569
|
-
var
|
|
3570
|
-
|
|
3571
|
-
for (var L =
|
|
3572
|
-
|
|
3569
|
+
var S = g[0];
|
|
3570
|
+
b.push(S[0]);
|
|
3571
|
+
for (var L = g.length, P = 1; P < L; P++)
|
|
3572
|
+
b.push(g[P], S[P]);
|
|
3573
3573
|
}
|
|
3574
3574
|
var p = Ki(function(I, k, F) {
|
|
3575
|
-
var U =
|
|
3575
|
+
var U = d && I.as || a, q = "", v = [], w = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
|
-
|
|
3578
|
-
for (var
|
|
3579
|
-
|
|
3580
|
-
|
|
3577
|
+
w = {};
|
|
3578
|
+
for (var x in I)
|
|
3579
|
+
w[x] = I[x];
|
|
3580
|
+
w.theme = M.useContext(Ji);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof I.className == "string" ? q = zi(k.registered,
|
|
3583
|
-
var R = qi(
|
|
3584
|
-
q += k.key + "-" + R.name,
|
|
3585
|
-
var y =
|
|
3582
|
+
typeof I.className == "string" ? q = zi(k.registered, v, I.className) : I.className != null && (q = I.className + " ");
|
|
3583
|
+
var R = qi(b.concat(v), k.registered, w);
|
|
3584
|
+
q += k.key + "-" + R.name, f !== void 0 && (q += " " + f);
|
|
3585
|
+
var y = d && l === void 0 ? Pr(U) : u, h = {};
|
|
3586
3586
|
for (var C in I)
|
|
3587
|
-
|
|
3587
|
+
d && C === "as" || y(C) && (h[C] = I[C]);
|
|
3588
3588
|
return h.className = q, F && (h.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ra, {
|
|
3589
3589
|
cache: k,
|
|
3590
3590
|
serialized: R,
|
|
3591
3591
|
isStringTag: typeof U == "string"
|
|
3592
3592
|
}), /* @__PURE__ */ M.createElement(U, h));
|
|
3593
3593
|
});
|
|
3594
|
-
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles =
|
|
3594
|
+
return p.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", p.defaultProps = t.defaultProps, p.__emotion_real = p, p.__emotion_base = a, p.__emotion_styles = b, p.__emotion_forwardProp = l, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
3596
|
-
return "." +
|
|
3596
|
+
return "." + f;
|
|
3597
3597
|
}
|
|
3598
3598
|
}), p.withComponent = function(I, k) {
|
|
3599
3599
|
var F = e(I, Ht({}, r, k, {
|
|
3600
3600
|
shouldForwardProp: Cr(p, k, !0)
|
|
3601
3601
|
}));
|
|
3602
|
-
return F.apply(void 0,
|
|
3602
|
+
return F.apply(void 0, b);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
3605
|
}, ia = [
|
|
@@ -3837,7 +3837,7 @@ const aa = Ee.div`
|
|
|
3837
3837
|
settings: r,
|
|
3838
3838
|
gap: i = 15
|
|
3839
3839
|
}) => {
|
|
3840
|
-
const [a, s] = V.useState(1),
|
|
3840
|
+
const [a, s] = V.useState(1), f = V.useRef(null), l = V.useRef(null);
|
|
3841
3841
|
var u = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3848,35 +3848,35 @@ const aa = Ee.div`
|
|
|
3848
3848
|
rows: 1,
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
|
-
const
|
|
3851
|
+
const d = t.map((b, S) => /* @__PURE__ */ X.jsx(
|
|
3852
3852
|
oa,
|
|
3853
3853
|
{
|
|
3854
|
-
ref:
|
|
3854
|
+
ref: S === 0 ? l : void 0,
|
|
3855
3855
|
styles: {
|
|
3856
3856
|
paddingRight: `${i}px`,
|
|
3857
3857
|
overflow: "visible",
|
|
3858
3858
|
// marginLeft: index !== 0 ? "0px" : margin,
|
|
3859
|
-
...
|
|
3859
|
+
...b.styles
|
|
3860
3860
|
},
|
|
3861
3861
|
"data-testid": "carousel-slide-item",
|
|
3862
|
-
children:
|
|
3862
|
+
children: b.content
|
|
3863
3863
|
}
|
|
3864
|
-
)),
|
|
3864
|
+
)), g = () => {
|
|
3865
3865
|
if (u.slidesToShow) {
|
|
3866
3866
|
s(u.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const
|
|
3870
|
-
let L = Math.floor(
|
|
3869
|
+
const b = (f.current?.offsetWidth || i + 1) - i, S = l.current?.offsetWidth || 1;
|
|
3870
|
+
let L = Math.floor(b / S);
|
|
3871
3871
|
L < 1 ? L = 1 : L > t.length && (L = t.length), console.debug("Slides to show > ", {
|
|
3872
|
-
container:
|
|
3873
|
-
slide:
|
|
3872
|
+
container: b,
|
|
3873
|
+
slide: S,
|
|
3874
3874
|
res: L
|
|
3875
3875
|
}), s(L);
|
|
3876
3876
|
};
|
|
3877
3877
|
return V.useEffect(() => {
|
|
3878
|
-
|
|
3879
|
-
}, [
|
|
3878
|
+
g();
|
|
3879
|
+
}, [f, l]), /* @__PURE__ */ X.jsx(aa, { ref: f, styles: { ...e }, children: d.length > 0 && /* @__PURE__ */ X.jsx(li, { ...u, slidesToShow: a, children: d }) });
|
|
3880
3880
|
}, ss = ({
|
|
3881
3881
|
name: e,
|
|
3882
3882
|
checked: t,
|
|
@@ -3884,7 +3884,7 @@ const aa = Ee.div`
|
|
|
3884
3884
|
styles: i,
|
|
3885
3885
|
label: a,
|
|
3886
3886
|
checkboxStyles: s,
|
|
3887
|
-
customCheckedRender:
|
|
3887
|
+
customCheckedRender: f,
|
|
3888
3888
|
customUncheckedRender: l
|
|
3889
3889
|
}) => /* @__PURE__ */ X.jsxs(
|
|
3890
3890
|
"div",
|
|
@@ -3946,7 +3946,7 @@ const aa = Ee.div`
|
|
|
3946
3946
|
...s
|
|
3947
3947
|
},
|
|
3948
3948
|
children: [
|
|
3949
|
-
t &&
|
|
3949
|
+
t && f,
|
|
3950
3950
|
!t && l
|
|
3951
3951
|
]
|
|
3952
3952
|
}
|
|
@@ -3966,11 +3966,11 @@ const aa = Ee.div`
|
|
|
3966
3966
|
t({ x: l.clientX, y: l.clientY });
|
|
3967
3967
|
}, s = (l) => {
|
|
3968
3968
|
i(!0);
|
|
3969
|
-
},
|
|
3969
|
+
}, f = (l) => {
|
|
3970
3970
|
i(!1);
|
|
3971
3971
|
};
|
|
3972
|
-
return window.addEventListener("pointermove", a), window.addEventListener("pointerdown", s), window.addEventListener("pointerup",
|
|
3973
|
-
window.removeEventListener("pointermove", a), window.removeEventListener("pointerdown", s), window.removeEventListener("pointerup",
|
|
3972
|
+
return window.addEventListener("pointermove", a), window.addEventListener("pointerdown", s), window.addEventListener("pointerup", f), () => {
|
|
3973
|
+
window.removeEventListener("pointermove", a), window.removeEventListener("pointerdown", s), window.removeEventListener("pointerup", f);
|
|
3974
3974
|
};
|
|
3975
3975
|
}, []), {
|
|
3976
3976
|
pointerPosition: e,
|
|
@@ -3982,9 +3982,9 @@ const aa = Ee.div`
|
|
|
3982
3982
|
onDragStart: r,
|
|
3983
3983
|
onDragEnd: i
|
|
3984
3984
|
}) => {
|
|
3985
|
-
const a = V.useRef(!1), s = V.useRef(!1), { pointerPosition:
|
|
3985
|
+
const a = V.useRef(!1), s = V.useRef(!1), { pointerPosition: f, isPointerDown: l } = sa(), u = V.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
|
-
}),
|
|
3987
|
+
}), d = V.useCallback(
|
|
3988
3988
|
(P) => {
|
|
3989
3989
|
if (!e || !e.current || !u.current)
|
|
3990
3990
|
return;
|
|
@@ -3992,86 +3992,86 @@ const aa = Ee.div`
|
|
|
3992
3992
|
return p.posY = P.y, p.posX = P.x, u.current.startPosX && u.current.posX && (p.distanceX = u.current.startPosX - u.current.posX), u.current.startPosY && u.current.posY && (p.distanceY = -(u.current.startPosY - u.current.posY)), p;
|
|
3993
3993
|
},
|
|
3994
3994
|
[]
|
|
3995
|
-
),
|
|
3995
|
+
), g = V.useCallback(
|
|
3996
3996
|
(P) => {
|
|
3997
3997
|
P.preventDefault(), P.stopPropagation(), u.current.isDragging = !0, u.current.startPosY = P.clientY, u.current.startPosX = P.clientX;
|
|
3998
|
-
const p =
|
|
3998
|
+
const p = d({ x: P.clientX, y: P.clientY });
|
|
3999
3999
|
p && (u.current = p, r?.(p));
|
|
4000
4000
|
},
|
|
4001
|
-
[
|
|
4002
|
-
),
|
|
4001
|
+
[d]
|
|
4002
|
+
), b = V.useCallback(
|
|
4003
4003
|
(P) => {
|
|
4004
4004
|
u.current.isDragging = !1;
|
|
4005
|
-
const p =
|
|
4005
|
+
const p = d(f);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, u.current = p);
|
|
4007
4007
|
},
|
|
4008
|
-
[
|
|
4009
|
-
),
|
|
4008
|
+
[d, f]
|
|
4009
|
+
), S = V.useCallback(
|
|
4010
4010
|
(P) => {
|
|
4011
4011
|
if (console.debug(
|
|
4012
4012
|
"useDrag > onPointerMove > Is Dragging >",
|
|
4013
4013
|
u.current.isDragging
|
|
4014
4014
|
), !u.current.isDragging)
|
|
4015
4015
|
return;
|
|
4016
|
-
const p =
|
|
4016
|
+
const p = d(f);
|
|
4017
4017
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), u.current = p);
|
|
4018
4018
|
},
|
|
4019
|
-
[
|
|
4019
|
+
[d, f]
|
|
4020
4020
|
), L = V.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
4023
4023
|
await new Promise((P) => setTimeout(P, 300));
|
|
4024
|
-
a.current = !0, e.current.onpointerdown =
|
|
4024
|
+
a.current = !0, e.current.onpointerdown = g, e.current.style.touchAction = "none";
|
|
4025
4025
|
}
|
|
4026
|
-
}, [e?.current,
|
|
4026
|
+
}, [e?.current, g]);
|
|
4027
4027
|
V.useEffect(() => {
|
|
4028
4028
|
L();
|
|
4029
4029
|
}, [L]), V.useEffect(() => {
|
|
4030
|
-
|
|
4031
|
-
}, [
|
|
4032
|
-
l !== s.current && (s.current = l, l ||
|
|
4030
|
+
S();
|
|
4031
|
+
}, [f]), V.useEffect(() => {
|
|
4032
|
+
l !== s.current && (s.current = l, l || b());
|
|
4033
4033
|
}, [l, s.current]);
|
|
4034
4034
|
}, us = () => {
|
|
4035
4035
|
const e = (l, u) => {
|
|
4036
4036
|
if (!u) return l;
|
|
4037
|
-
const
|
|
4038
|
-
for (const
|
|
4039
|
-
const
|
|
4040
|
-
Array.isArray(
|
|
4041
|
-
}
|
|
4042
|
-
const
|
|
4043
|
-
return
|
|
4044
|
-
}, t = async (l, u,
|
|
4037
|
+
const d = new URLSearchParams();
|
|
4038
|
+
for (const b in u) {
|
|
4039
|
+
const S = u[b];
|
|
4040
|
+
Array.isArray(S) ? S.forEach((L) => d.append(b, String(L))) : S != null && d.append(b, String(S));
|
|
4041
|
+
}
|
|
4042
|
+
const g = d.toString();
|
|
4043
|
+
return g ? `${l}?${g}` : l;
|
|
4044
|
+
}, t = async (l, u, d, g) => await (await fetch(l, {
|
|
4045
4045
|
method: u,
|
|
4046
|
-
headers:
|
|
4047
|
-
body:
|
|
4046
|
+
headers: d,
|
|
4047
|
+
body: g
|
|
4048
4048
|
})).json();
|
|
4049
4049
|
return {
|
|
4050
|
-
get: async (l, u,
|
|
4051
|
-
const
|
|
4052
|
-
return t(
|
|
4050
|
+
get: async (l, u, d) => {
|
|
4051
|
+
const g = e(l, u);
|
|
4052
|
+
return t(g, "GET", { ...d });
|
|
4053
4053
|
},
|
|
4054
|
-
post: async (l, u,
|
|
4054
|
+
post: async (l, u, d) => t(
|
|
4055
4055
|
l,
|
|
4056
4056
|
"POST",
|
|
4057
|
-
{ "Content-Type": "application/json", ...
|
|
4057
|
+
{ "Content-Type": "application/json", ...d },
|
|
4058
4058
|
JSON.stringify(u)
|
|
4059
4059
|
),
|
|
4060
|
-
put: async (l, u,
|
|
4060
|
+
put: async (l, u, d) => t(
|
|
4061
4061
|
l,
|
|
4062
4062
|
"PUT",
|
|
4063
|
-
{ "Content-Type": "application/json", ...
|
|
4063
|
+
{ "Content-Type": "application/json", ...d },
|
|
4064
4064
|
JSON.stringify(u)
|
|
4065
4065
|
),
|
|
4066
|
-
patch: async (l, u,
|
|
4066
|
+
patch: async (l, u, d) => t(
|
|
4067
4067
|
l,
|
|
4068
4068
|
"PATCH",
|
|
4069
|
-
{ "Content-Type": "application/json", ...
|
|
4069
|
+
{ "Content-Type": "application/json", ...d },
|
|
4070
4070
|
JSON.stringify(u)
|
|
4071
4071
|
),
|
|
4072
|
-
delete: async (l, u,
|
|
4073
|
-
const
|
|
4074
|
-
return t(
|
|
4072
|
+
delete: async (l, u, d) => {
|
|
4073
|
+
const g = e(l, u);
|
|
4074
|
+
return t(g, "DELETE", { ...d });
|
|
4075
4075
|
}
|
|
4076
4076
|
};
|
|
4077
4077
|
};
|
|
@@ -4107,20 +4107,20 @@ const ua = {
|
|
|
4107
4107
|
const t = window.innerWidth, r = window.innerHeight, i = ca(t, e), a = fa(t, e);
|
|
4108
4108
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
|
|
4109
4109
|
}, ds = (e) => {
|
|
4110
|
-
const t = e.translations, r = e.language, i = (s,
|
|
4110
|
+
const t = e.translations, r = e.language, i = (s, f) => {
|
|
4111
4111
|
if (!s)
|
|
4112
4112
|
return;
|
|
4113
4113
|
let l = s[r];
|
|
4114
4114
|
if (l)
|
|
4115
|
-
return
|
|
4116
|
-
const
|
|
4117
|
-
l = l.replaceAll(`{{${u}}}`, `${
|
|
4115
|
+
return f && Object.keys(f).forEach((u) => {
|
|
4116
|
+
const d = f[u];
|
|
4117
|
+
l = l.replaceAll(`{{${u}}}`, `${d}`);
|
|
4118
4118
|
}), l;
|
|
4119
4119
|
};
|
|
4120
4120
|
return {
|
|
4121
|
-
t: (s,
|
|
4121
|
+
t: (s, f) => {
|
|
4122
4122
|
if (t[s]) {
|
|
4123
|
-
const l = i(t[s],
|
|
4123
|
+
const l = i(t[s], f);
|
|
4124
4124
|
return l ?? s;
|
|
4125
4125
|
}
|
|
4126
4126
|
return s;
|
|
@@ -4131,61 +4131,61 @@ const ua = {
|
|
|
4131
4131
|
var Ye = {}, Rr;
|
|
4132
4132
|
function da() {
|
|
4133
4133
|
if (Rr) return Ye;
|
|
4134
|
-
Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse =
|
|
4134
|
+
Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = f, Ye.serialize = d;
|
|
4135
4135
|
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, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
4136
|
-
const
|
|
4136
|
+
const S = function() {
|
|
4137
4137
|
};
|
|
4138
|
-
return
|
|
4138
|
+
return S.prototype = /* @__PURE__ */ Object.create(null), S;
|
|
4139
4139
|
})();
|
|
4140
|
-
function
|
|
4141
|
-
const P = new s(), p =
|
|
4140
|
+
function f(S, L) {
|
|
4141
|
+
const P = new s(), p = S.length;
|
|
4142
4142
|
if (p < 2)
|
|
4143
4143
|
return P;
|
|
4144
|
-
const I = L?.decode ||
|
|
4144
|
+
const I = L?.decode || g;
|
|
4145
4145
|
let k = 0;
|
|
4146
4146
|
do {
|
|
4147
|
-
const F =
|
|
4147
|
+
const F = S.indexOf("=", k);
|
|
4148
4148
|
if (F === -1)
|
|
4149
4149
|
break;
|
|
4150
|
-
const U =
|
|
4150
|
+
const U = S.indexOf(";", k), q = U === -1 ? p : U;
|
|
4151
4151
|
if (F > q) {
|
|
4152
|
-
k =
|
|
4152
|
+
k = S.lastIndexOf(";", F - 1) + 1;
|
|
4153
4153
|
continue;
|
|
4154
4154
|
}
|
|
4155
|
-
const
|
|
4156
|
-
if (P[
|
|
4157
|
-
let R = l(
|
|
4158
|
-
const h = I(
|
|
4159
|
-
P[
|
|
4155
|
+
const v = l(S, k, F), w = u(S, F, v), x = S.slice(v, w);
|
|
4156
|
+
if (P[x] === void 0) {
|
|
4157
|
+
let R = l(S, F + 1, q), y = u(S, q, R);
|
|
4158
|
+
const h = I(S.slice(R, y));
|
|
4159
|
+
P[x] = h;
|
|
4160
4160
|
}
|
|
4161
4161
|
k = q + 1;
|
|
4162
4162
|
} while (k < p);
|
|
4163
4163
|
return P;
|
|
4164
4164
|
}
|
|
4165
|
-
function l(
|
|
4165
|
+
function l(S, L, P) {
|
|
4166
4166
|
do {
|
|
4167
|
-
const p =
|
|
4167
|
+
const p = S.charCodeAt(L);
|
|
4168
4168
|
if (p !== 32 && p !== 9)
|
|
4169
4169
|
return L;
|
|
4170
4170
|
} while (++L < P);
|
|
4171
4171
|
return P;
|
|
4172
4172
|
}
|
|
4173
|
-
function u(
|
|
4173
|
+
function u(S, L, P) {
|
|
4174
4174
|
for (; L > P; ) {
|
|
4175
|
-
const p =
|
|
4175
|
+
const p = S.charCodeAt(--L);
|
|
4176
4176
|
if (p !== 32 && p !== 9)
|
|
4177
4177
|
return L + 1;
|
|
4178
4178
|
}
|
|
4179
4179
|
return P;
|
|
4180
4180
|
}
|
|
4181
|
-
function
|
|
4181
|
+
function d(S, L, P) {
|
|
4182
4182
|
const p = P?.encode || encodeURIComponent;
|
|
4183
|
-
if (!e.test(
|
|
4184
|
-
throw new TypeError(`argument name is invalid: ${
|
|
4183
|
+
if (!e.test(S))
|
|
4184
|
+
throw new TypeError(`argument name is invalid: ${S}`);
|
|
4185
4185
|
const I = p(L);
|
|
4186
4186
|
if (!t.test(I))
|
|
4187
4187
|
throw new TypeError(`argument val is invalid: ${L}`);
|
|
4188
|
-
let k =
|
|
4188
|
+
let k = S + "=" + I;
|
|
4189
4189
|
if (!P)
|
|
4190
4190
|
return k;
|
|
4191
4191
|
if (P.maxAge !== void 0) {
|
|
@@ -4204,7 +4204,7 @@ function da() {
|
|
|
4204
4204
|
k += "; Path=" + P.path;
|
|
4205
4205
|
}
|
|
4206
4206
|
if (P.expires) {
|
|
4207
|
-
if (!
|
|
4207
|
+
if (!b(P.expires) || !Number.isFinite(P.expires.valueOf()))
|
|
4208
4208
|
throw new TypeError(`option expires is invalid: ${P.expires}`);
|
|
4209
4209
|
k += "; Expires=" + P.expires.toUTCString();
|
|
4210
4210
|
}
|
|
@@ -4239,17 +4239,17 @@ function da() {
|
|
|
4239
4239
|
}
|
|
4240
4240
|
return k;
|
|
4241
4241
|
}
|
|
4242
|
-
function
|
|
4243
|
-
if (
|
|
4244
|
-
return
|
|
4242
|
+
function g(S) {
|
|
4243
|
+
if (S.indexOf("%") === -1)
|
|
4244
|
+
return S;
|
|
4245
4245
|
try {
|
|
4246
|
-
return decodeURIComponent(
|
|
4246
|
+
return decodeURIComponent(S);
|
|
4247
4247
|
} catch {
|
|
4248
|
-
return
|
|
4248
|
+
return S;
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
|
-
function
|
|
4252
|
-
return a.call(
|
|
4251
|
+
function b(S) {
|
|
4252
|
+
return a.call(S) === "[object Date]";
|
|
4253
4253
|
}
|
|
4254
4254
|
return Ye;
|
|
4255
4255
|
}
|
|
@@ -4267,10 +4267,10 @@ da();
|
|
|
4267
4267
|
var _r = "popstate";
|
|
4268
4268
|
function ha(e = {}) {
|
|
4269
4269
|
function t(i, a) {
|
|
4270
|
-
let { pathname: s, search:
|
|
4270
|
+
let { pathname: s, search: f, hash: l } = i.location;
|
|
4271
4271
|
return Ft(
|
|
4272
4272
|
"",
|
|
4273
|
-
{ pathname: s, search:
|
|
4273
|
+
{ pathname: s, search: f, hash: l },
|
|
4274
4274
|
// state defaults to `null` because `window.history.state` does
|
|
4275
4275
|
a.state && a.state.usr || null,
|
|
4276
4276
|
a.state && a.state.key || "default"
|
|
@@ -4341,26 +4341,26 @@ function Me(e) {
|
|
|
4341
4341
|
return t;
|
|
4342
4342
|
}
|
|
4343
4343
|
function ma(e, t, r, i = {}) {
|
|
4344
|
-
let { window: a = document.defaultView, v5Compat: s = !1 } = i,
|
|
4345
|
-
|
|
4346
|
-
function
|
|
4347
|
-
return (
|
|
4344
|
+
let { window: a = document.defaultView, v5Compat: s = !1 } = i, f = a.history, l = "POP", u = null, d = g();
|
|
4345
|
+
d == null && (d = 0, f.replaceState({ ...f.state, idx: d }, ""));
|
|
4346
|
+
function g() {
|
|
4347
|
+
return (f.state || { idx: null }).idx;
|
|
4348
4348
|
}
|
|
4349
|
-
function
|
|
4349
|
+
function b() {
|
|
4350
4350
|
l = "POP";
|
|
4351
|
-
let I =
|
|
4352
|
-
|
|
4351
|
+
let I = g(), k = I == null ? null : I - d;
|
|
4352
|
+
d = I, u && u({ action: l, location: p.location, delta: k });
|
|
4353
4353
|
}
|
|
4354
|
-
function
|
|
4354
|
+
function S(I, k) {
|
|
4355
4355
|
l = "PUSH";
|
|
4356
4356
|
let F = Ft(p.location, I, k);
|
|
4357
|
-
|
|
4358
|
-
let U = Tr(F,
|
|
4357
|
+
d = g() + 1;
|
|
4358
|
+
let U = Tr(F, d), q = p.createHref(F);
|
|
4359
4359
|
try {
|
|
4360
|
-
|
|
4361
|
-
} catch (
|
|
4362
|
-
if (
|
|
4363
|
-
throw
|
|
4360
|
+
f.pushState(U, "", q);
|
|
4361
|
+
} catch (v) {
|
|
4362
|
+
if (v instanceof DOMException && v.name === "DataCloneError")
|
|
4363
|
+
throw v;
|
|
4364
4364
|
a.location.assign(q);
|
|
4365
4365
|
}
|
|
4366
4366
|
s && u && u({ action: l, location: p.location, delta: 1 });
|
|
@@ -4368,9 +4368,9 @@ function ma(e, t, r, i = {}) {
|
|
|
4368
4368
|
function L(I, k) {
|
|
4369
4369
|
l = "REPLACE";
|
|
4370
4370
|
let F = Ft(p.location, I, k);
|
|
4371
|
-
|
|
4372
|
-
let U = Tr(F,
|
|
4373
|
-
|
|
4371
|
+
d = g();
|
|
4372
|
+
let U = Tr(F, d), q = p.createHref(F);
|
|
4373
|
+
f.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
|
|
4374
4374
|
}
|
|
4375
4375
|
function P(I) {
|
|
4376
4376
|
return va(I);
|
|
@@ -4380,13 +4380,13 @@ function ma(e, t, r, i = {}) {
|
|
|
4380
4380
|
return l;
|
|
4381
4381
|
},
|
|
4382
4382
|
get location() {
|
|
4383
|
-
return e(a,
|
|
4383
|
+
return e(a, f);
|
|
4384
4384
|
},
|
|
4385
4385
|
listen(I) {
|
|
4386
4386
|
if (u)
|
|
4387
4387
|
throw new Error("A history only accepts one active listener");
|
|
4388
|
-
return a.addEventListener(_r,
|
|
4389
|
-
a.removeEventListener(_r,
|
|
4388
|
+
return a.addEventListener(_r, b), u = I, () => {
|
|
4389
|
+
a.removeEventListener(_r, b), u = null;
|
|
4390
4390
|
};
|
|
4391
4391
|
},
|
|
4392
4392
|
createHref(I) {
|
|
@@ -4401,10 +4401,10 @@ function ma(e, t, r, i = {}) {
|
|
|
4401
4401
|
hash: k.hash
|
|
4402
4402
|
};
|
|
4403
4403
|
},
|
|
4404
|
-
push:
|
|
4404
|
+
push: S,
|
|
4405
4405
|
replace: L,
|
|
4406
4406
|
go(I) {
|
|
4407
|
-
return
|
|
4407
|
+
return f.go(I);
|
|
4408
4408
|
}
|
|
4409
4409
|
};
|
|
4410
4410
|
return p;
|
|
@@ -4422,49 +4422,49 @@ function ga(e, t, r, i) {
|
|
|
4422
4422
|
let a = typeof t == "string" ? Me(t) : t, s = Oe(a.pathname || "/", r);
|
|
4423
4423
|
if (s == null)
|
|
4424
4424
|
return null;
|
|
4425
|
-
let
|
|
4426
|
-
ya(
|
|
4425
|
+
let f = nn(e);
|
|
4426
|
+
ya(f);
|
|
4427
4427
|
let l = null;
|
|
4428
|
-
for (let u = 0; l == null && u <
|
|
4429
|
-
let
|
|
4428
|
+
for (let u = 0; l == null && u < f.length; ++u) {
|
|
4429
|
+
let d = _a(s);
|
|
4430
4430
|
l = Ea(
|
|
4431
|
-
|
|
4432
|
-
|
|
4431
|
+
f[u],
|
|
4432
|
+
d,
|
|
4433
4433
|
i
|
|
4434
4434
|
);
|
|
4435
4435
|
}
|
|
4436
4436
|
return l;
|
|
4437
4437
|
}
|
|
4438
4438
|
function nn(e, t = [], r = [], i = "") {
|
|
4439
|
-
let a = (s,
|
|
4439
|
+
let a = (s, f, l) => {
|
|
4440
4440
|
let u = {
|
|
4441
4441
|
relativePath: l === void 0 ? s.path || "" : l,
|
|
4442
4442
|
caseSensitive: s.caseSensitive === !0,
|
|
4443
|
-
childrenIndex:
|
|
4443
|
+
childrenIndex: f,
|
|
4444
4444
|
route: s
|
|
4445
4445
|
};
|
|
4446
4446
|
u.relativePath.startsWith("/") && (ae(
|
|
4447
4447
|
u.relativePath.startsWith(i),
|
|
4448
4448
|
`Absolute route path "${u.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
4449
4449
|
), u.relativePath = u.relativePath.slice(i.length));
|
|
4450
|
-
let
|
|
4450
|
+
let d = xe([i, u.relativePath]), g = r.concat(u);
|
|
4451
4451
|
s.children && s.children.length > 0 && (ae(
|
|
4452
4452
|
// Our types know better, but runtime JS may not!
|
|
4453
4453
|
// @ts-expect-error
|
|
4454
4454
|
s.index !== !0,
|
|
4455
|
-
`Index routes must not have child routes. Please remove all child routes from route path "${
|
|
4456
|
-
), nn(s.children, t,
|
|
4457
|
-
path:
|
|
4458
|
-
score: Pa(
|
|
4459
|
-
routesMeta:
|
|
4455
|
+
`Index routes must not have child routes. Please remove all child routes from route path "${d}".`
|
|
4456
|
+
), nn(s.children, t, g, d)), !(s.path == null && !s.index) && t.push({
|
|
4457
|
+
path: d,
|
|
4458
|
+
score: Pa(d, s.index),
|
|
4459
|
+
routesMeta: g
|
|
4460
4460
|
});
|
|
4461
4461
|
};
|
|
4462
|
-
return e.forEach((s,
|
|
4462
|
+
return e.forEach((s, f) => {
|
|
4463
4463
|
if (s.path === "" || !s.path?.includes("?"))
|
|
4464
|
-
a(s,
|
|
4464
|
+
a(s, f);
|
|
4465
4465
|
else
|
|
4466
4466
|
for (let l of an(s.path))
|
|
4467
|
-
a(s,
|
|
4467
|
+
a(s, f, l);
|
|
4468
4468
|
}), t;
|
|
4469
4469
|
}
|
|
4470
4470
|
function an(e) {
|
|
@@ -4473,12 +4473,12 @@ function an(e) {
|
|
|
4473
4473
|
let [r, ...i] = t, a = r.endsWith("?"), s = r.replace(/\?$/, "");
|
|
4474
4474
|
if (i.length === 0)
|
|
4475
4475
|
return a ? [s, ""] : [s];
|
|
4476
|
-
let
|
|
4476
|
+
let f = an(i.join("/")), l = [];
|
|
4477
4477
|
return l.push(
|
|
4478
|
-
...
|
|
4478
|
+
...f.map(
|
|
4479
4479
|
(u) => u === "" ? s : [s, u].join("/")
|
|
4480
4480
|
)
|
|
4481
|
-
), a && l.push(...
|
|
4481
|
+
), a && l.push(...f), l.map(
|
|
4482
4482
|
(u) => e.startsWith("/") && u === "" ? "/" : u
|
|
4483
4483
|
);
|
|
4484
4484
|
}
|
|
@@ -4512,32 +4512,32 @@ function Ca(e, t) {
|
|
|
4512
4512
|
);
|
|
4513
4513
|
}
|
|
4514
4514
|
function Ea(e, t, r = !1) {
|
|
4515
|
-
let { routesMeta: i } = e, a = {}, s = "/",
|
|
4515
|
+
let { routesMeta: i } = e, a = {}, s = "/", f = [];
|
|
4516
4516
|
for (let l = 0; l < i.length; ++l) {
|
|
4517
|
-
let u = i[l],
|
|
4518
|
-
{ path: u.relativePath, caseSensitive: u.caseSensitive, end:
|
|
4519
|
-
|
|
4520
|
-
),
|
|
4521
|
-
if (!
|
|
4517
|
+
let u = i[l], d = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", b = gt(
|
|
4518
|
+
{ path: u.relativePath, caseSensitive: u.caseSensitive, end: d },
|
|
4519
|
+
g
|
|
4520
|
+
), S = u.route;
|
|
4521
|
+
if (!b && d && r && !i[i.length - 1].route.index && (b = gt(
|
|
4522
4522
|
{
|
|
4523
4523
|
path: u.relativePath,
|
|
4524
4524
|
caseSensitive: u.caseSensitive,
|
|
4525
4525
|
end: !1
|
|
4526
4526
|
},
|
|
4527
|
-
|
|
4528
|
-
)), !
|
|
4527
|
+
g
|
|
4528
|
+
)), !b)
|
|
4529
4529
|
return null;
|
|
4530
|
-
Object.assign(a,
|
|
4530
|
+
Object.assign(a, b.params), f.push({
|
|
4531
4531
|
// TODO: Can this as be avoided?
|
|
4532
4532
|
params: a,
|
|
4533
|
-
pathname: xe([s,
|
|
4533
|
+
pathname: xe([s, b.pathname]),
|
|
4534
4534
|
pathnameBase: Da(
|
|
4535
|
-
xe([s,
|
|
4535
|
+
xe([s, b.pathnameBase])
|
|
4536
4536
|
),
|
|
4537
|
-
route:
|
|
4538
|
-
}),
|
|
4537
|
+
route: S
|
|
4538
|
+
}), b.pathnameBase !== "/" && (s = xe([s, b.pathnameBase]));
|
|
4539
4539
|
}
|
|
4540
|
-
return
|
|
4540
|
+
return f;
|
|
4541
4541
|
}
|
|
4542
4542
|
function gt(e, t) {
|
|
4543
4543
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
@@ -4547,21 +4547,21 @@ function gt(e, t) {
|
|
|
4547
4547
|
e.end
|
|
4548
4548
|
), a = t.match(r);
|
|
4549
4549
|
if (!a) return null;
|
|
4550
|
-
let s = a[0],
|
|
4550
|
+
let s = a[0], f = s.replace(/(.)\/+$/, "$1"), l = a.slice(1);
|
|
4551
4551
|
return {
|
|
4552
4552
|
params: i.reduce(
|
|
4553
|
-
(
|
|
4554
|
-
if (
|
|
4555
|
-
let P = l[
|
|
4556
|
-
|
|
4553
|
+
(d, { paramName: g, isOptional: b }, S) => {
|
|
4554
|
+
if (g === "*") {
|
|
4555
|
+
let P = l[S] || "";
|
|
4556
|
+
f = s.slice(0, s.length - P.length).replace(/(.)\/+$/, "$1");
|
|
4557
4557
|
}
|
|
4558
|
-
const L = l[
|
|
4559
|
-
return
|
|
4558
|
+
const L = l[S];
|
|
4559
|
+
return b && !L ? d[g] = void 0 : d[g] = (L || "").replace(/%2F/g, "/"), d;
|
|
4560
4560
|
},
|
|
4561
4561
|
{}
|
|
4562
4562
|
),
|
|
4563
4563
|
pathname: s,
|
|
4564
|
-
pathnameBase:
|
|
4564
|
+
pathnameBase: f,
|
|
4565
4565
|
pattern: e
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
@@ -4572,7 +4572,7 @@ function Ra(e, t = !1, r = !0) {
|
|
|
4572
4572
|
);
|
|
4573
4573
|
let i = [], a = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
|
|
4574
4574
|
/\/:([\w-]+)(\?)?/g,
|
|
4575
|
-
(
|
|
4575
|
+
(f, l, u) => (i.push({ paramName: l, isOptional: u != null }), u ? "/?([^\\/]+)?" : "/([^\\/]+)")
|
|
4576
4576
|
);
|
|
4577
4577
|
return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
|
|
4578
4578
|
}
|
|
@@ -4639,21 +4639,21 @@ function sn(e, t, r, i = !1) {
|
|
|
4639
4639
|
!a.search || !a.search.includes("#"),
|
|
4640
4640
|
$t("#", "search", "hash", a)
|
|
4641
4641
|
));
|
|
4642
|
-
let s = e === "" || a.pathname === "",
|
|
4643
|
-
if (
|
|
4642
|
+
let s = e === "" || a.pathname === "", f = s ? "/" : a.pathname, l;
|
|
4643
|
+
if (f == null)
|
|
4644
4644
|
l = r;
|
|
4645
4645
|
else {
|
|
4646
|
-
let
|
|
4647
|
-
if (!i &&
|
|
4648
|
-
let
|
|
4649
|
-
for (;
|
|
4650
|
-
|
|
4651
|
-
a.pathname =
|
|
4646
|
+
let b = t.length - 1;
|
|
4647
|
+
if (!i && f.startsWith("..")) {
|
|
4648
|
+
let S = f.split("/");
|
|
4649
|
+
for (; S[0] === ".."; )
|
|
4650
|
+
S.shift(), b -= 1;
|
|
4651
|
+
a.pathname = S.join("/");
|
|
4652
4652
|
}
|
|
4653
|
-
l =
|
|
4653
|
+
l = b >= 0 ? t[b] : "/";
|
|
4654
4654
|
}
|
|
4655
|
-
let u = Ta(a, l),
|
|
4656
|
-
return !u.pathname.endsWith("/") && (
|
|
4655
|
+
let u = Ta(a, l), d = f && f !== "/" && f.endsWith("/"), g = (s || f === ".") && r.endsWith("/");
|
|
4656
|
+
return !u.pathname.endsWith("/") && (d || g) && (u.pathname += "/"), u;
|
|
4657
4657
|
}
|
|
4658
4658
|
var xe = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ma = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $a = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
4659
4659
|
function Ia(e) {
|
|
@@ -4710,8 +4710,8 @@ function Na(e, { relative: t } = {}) {
|
|
|
4710
4710
|
// router loaded. We can help them understand how to avoid that.
|
|
4711
4711
|
"useHref() may be used only in the context of a <Router> component."
|
|
4712
4712
|
);
|
|
4713
|
-
let { basename: r, navigator: i } = M.useContext(Se), { hash: a, pathname: s, search:
|
|
4714
|
-
return r !== "/" && (l = s === "/" ? r : xe([r, s])), i.createHref({ pathname: l, search:
|
|
4713
|
+
let { basename: r, navigator: i } = M.useContext(Se), { hash: a, pathname: s, search: f } = et(e, { relative: t }), l = s;
|
|
4714
|
+
return r !== "/" && (l = s === "/" ? r : xe([r, s])), i.createHref({ pathname: l, search: f, hash: a });
|
|
4715
4715
|
}
|
|
4716
4716
|
function Qe() {
|
|
4717
4717
|
return M.useContext(Ze) != null;
|
|
@@ -4739,26 +4739,26 @@ function Fa() {
|
|
|
4739
4739
|
// router loaded. We can help them understand how to avoid that.
|
|
4740
4740
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
4741
4741
|
);
|
|
4742
|
-
let e = M.useContext($e), { basename: t, navigator: r } = M.useContext(Se), { matches: i } = M.useContext(ke), { pathname: a } = Pe(), s = JSON.stringify(on(i)),
|
|
4742
|
+
let e = M.useContext($e), { basename: t, navigator: r } = M.useContext(Se), { matches: i } = M.useContext(ke), { pathname: a } = Pe(), s = JSON.stringify(on(i)), f = M.useRef(!1);
|
|
4743
4743
|
return fn(() => {
|
|
4744
|
-
|
|
4744
|
+
f.current = !0;
|
|
4745
4745
|
}), M.useCallback(
|
|
4746
|
-
(u,
|
|
4747
|
-
if (ge(
|
|
4746
|
+
(u, d = {}) => {
|
|
4747
|
+
if (ge(f.current, cn), !f.current) return;
|
|
4748
4748
|
if (typeof u == "number") {
|
|
4749
4749
|
r.go(u);
|
|
4750
4750
|
return;
|
|
4751
4751
|
}
|
|
4752
|
-
let
|
|
4752
|
+
let g = sn(
|
|
4753
4753
|
u,
|
|
4754
4754
|
JSON.parse(s),
|
|
4755
4755
|
a,
|
|
4756
|
-
|
|
4756
|
+
d.relative === "path"
|
|
4757
4757
|
);
|
|
4758
|
-
e == null && t !== "/" && (
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4758
|
+
e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : xe([t, g.pathname])), (d.replace ? r.replace : r.push)(
|
|
4759
|
+
g,
|
|
4760
|
+
d.state,
|
|
4761
|
+
d
|
|
4762
4762
|
);
|
|
4763
4763
|
},
|
|
4764
4764
|
[
|
|
@@ -4793,50 +4793,50 @@ function dn(e, t, r, i) {
|
|
|
4793
4793
|
// router loaded. We can help them understand how to avoid that.
|
|
4794
4794
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
4795
4795
|
);
|
|
4796
|
-
let { navigator: a } = M.useContext(Se), { matches: s } = M.useContext(ke),
|
|
4796
|
+
let { navigator: a } = M.useContext(Se), { matches: s } = M.useContext(ke), f = s[s.length - 1], l = f ? f.params : {}, u = f ? f.pathname : "/", d = f ? f.pathnameBase : "/", g = f && f.route;
|
|
4797
4797
|
{
|
|
4798
|
-
let k =
|
|
4798
|
+
let k = g && g.path || "";
|
|
4799
4799
|
hn(
|
|
4800
4800
|
u,
|
|
4801
|
-
!
|
|
4801
|
+
!g || k.endsWith("*") || k.endsWith("*?"),
|
|
4802
4802
|
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (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.
|
|
4803
4803
|
|
|
4804
4804
|
Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" : `${k}/*`}">.`
|
|
4805
4805
|
);
|
|
4806
4806
|
}
|
|
4807
|
-
let
|
|
4807
|
+
let b = Pe(), S;
|
|
4808
4808
|
if (t) {
|
|
4809
4809
|
let k = typeof t == "string" ? Me(t) : t;
|
|
4810
4810
|
ae(
|
|
4811
|
-
|
|
4812
|
-
`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 "${
|
|
4813
|
-
),
|
|
4811
|
+
d === "/" || k.pathname?.startsWith(d),
|
|
4812
|
+
`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 "${d}" but pathname "${k.pathname}" was given in the \`location\` prop.`
|
|
4813
|
+
), S = k;
|
|
4814
4814
|
} else
|
|
4815
|
-
|
|
4816
|
-
let L =
|
|
4817
|
-
if (
|
|
4818
|
-
let k =
|
|
4815
|
+
S = b;
|
|
4816
|
+
let L = S.pathname || "/", P = L;
|
|
4817
|
+
if (d !== "/") {
|
|
4818
|
+
let k = d.replace(/^\//, "").split("/");
|
|
4819
4819
|
P = "/" + L.replace(/^\//, "").split("/").slice(k.length).join("/");
|
|
4820
4820
|
}
|
|
4821
4821
|
let p = rn(e, { pathname: P });
|
|
4822
4822
|
ge(
|
|
4823
|
-
|
|
4824
|
-
`No routes matched location "${
|
|
4823
|
+
g || p != null,
|
|
4824
|
+
`No routes matched location "${S.pathname}${S.search}${S.hash}" `
|
|
4825
4825
|
), ge(
|
|
4826
4826
|
p == null || p[p.length - 1].route.element !== void 0 || p[p.length - 1].route.Component !== void 0 || p[p.length - 1].route.lazy !== void 0,
|
|
4827
|
-
`Matched leaf route at location "${
|
|
4827
|
+
`Matched leaf route at location "${S.pathname}${S.search}${S.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.`
|
|
4828
4828
|
);
|
|
4829
4829
|
let I = Ba(
|
|
4830
4830
|
p && p.map(
|
|
4831
4831
|
(k) => Object.assign({}, k, {
|
|
4832
4832
|
params: Object.assign({}, l, k.params),
|
|
4833
4833
|
pathname: xe([
|
|
4834
|
-
|
|
4834
|
+
d,
|
|
4835
4835
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4836
4836
|
a.encodeLocation ? a.encodeLocation(k.pathname).pathname : k.pathname
|
|
4837
4837
|
]),
|
|
4838
|
-
pathnameBase: k.pathnameBase === "/" ?
|
|
4839
|
-
|
|
4838
|
+
pathnameBase: k.pathnameBase === "/" ? d : xe([
|
|
4839
|
+
d,
|
|
4840
4840
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
4841
4841
|
a.encodeLocation ? a.encodeLocation(k.pathnameBase).pathname : k.pathnameBase
|
|
4842
4842
|
])
|
|
@@ -4856,7 +4856,7 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4856
4856
|
hash: "",
|
|
4857
4857
|
state: null,
|
|
4858
4858
|
key: "default",
|
|
4859
|
-
...
|
|
4859
|
+
...S
|
|
4860
4860
|
},
|
|
4861
4861
|
navigationType: "POP"
|
|
4862
4862
|
/* Pop */
|
|
@@ -4866,11 +4866,11 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4866
4866
|
) : I;
|
|
4867
4867
|
}
|
|
4868
4868
|
function Ua() {
|
|
4869
|
-
let e = Za(), t = Ia(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i },
|
|
4869
|
+
let e = Za(), t = Ia(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, f = null;
|
|
4870
4870
|
return console.error(
|
|
4871
4871
|
"Error handled by React Router default ErrorBoundary:",
|
|
4872
4872
|
e
|
|
4873
|
-
),
|
|
4873
|
+
), f = /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ M.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ M.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ M.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ M.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ M.createElement("pre", { style: a }, r) : null, f);
|
|
4874
4874
|
}
|
|
4875
4875
|
var Ya = /* @__PURE__ */ M.createElement(Ua, null), Va = class extends M.Component {
|
|
4876
4876
|
constructor(e) {
|
|
@@ -4929,7 +4929,7 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4929
4929
|
let a = e, s = r?.errors;
|
|
4930
4930
|
if (s != null) {
|
|
4931
4931
|
let u = a.findIndex(
|
|
4932
|
-
(
|
|
4932
|
+
(d) => d.route.id && s?.[d.route.id] !== void 0
|
|
4933
4933
|
);
|
|
4934
4934
|
ae(
|
|
4935
4935
|
u >= 0,
|
|
@@ -4941,31 +4941,31 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4941
4941
|
Math.min(a.length, u + 1)
|
|
4942
4942
|
);
|
|
4943
4943
|
}
|
|
4944
|
-
let
|
|
4944
|
+
let f = !1, l = -1;
|
|
4945
4945
|
if (r)
|
|
4946
4946
|
for (let u = 0; u < a.length; u++) {
|
|
4947
|
-
let
|
|
4948
|
-
if ((
|
|
4949
|
-
let { loaderData:
|
|
4950
|
-
if (
|
|
4951
|
-
|
|
4947
|
+
let d = a[u];
|
|
4948
|
+
if ((d.route.HydrateFallback || d.route.hydrateFallbackElement) && (l = u), d.route.id) {
|
|
4949
|
+
let { loaderData: g, errors: b } = r, S = d.route.loader && !g.hasOwnProperty(d.route.id) && (!b || b[d.route.id] === void 0);
|
|
4950
|
+
if (d.route.lazy || S) {
|
|
4951
|
+
f = !0, l >= 0 ? a = a.slice(0, l + 1) : a = [a[0]];
|
|
4952
4952
|
break;
|
|
4953
4953
|
}
|
|
4954
4954
|
}
|
|
4955
4955
|
}
|
|
4956
|
-
return a.reduceRight((u,
|
|
4957
|
-
let
|
|
4958
|
-
r && (
|
|
4956
|
+
return a.reduceRight((u, d, g) => {
|
|
4957
|
+
let b, S = !1, L = null, P = null;
|
|
4958
|
+
r && (b = s && d.route.id ? s[d.route.id] : void 0, L = d.route.errorElement || Ya, f && (l < 0 && g === 0 ? (hn(
|
|
4959
4959
|
"route-fallback",
|
|
4960
4960
|
!1,
|
|
4961
4961
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
4962
|
-
),
|
|
4963
|
-
let p = t.concat(a.slice(0,
|
|
4962
|
+
), S = !0, P = null) : l === g && (S = !0, P = d.route.hydrateFallbackElement || null)));
|
|
4963
|
+
let p = t.concat(a.slice(0, g + 1)), I = () => {
|
|
4964
4964
|
let k;
|
|
4965
|
-
return
|
|
4965
|
+
return b ? k = L : S ? k = P : d.route.Component ? k = /* @__PURE__ */ M.createElement(d.route.Component, null) : d.route.element ? k = d.route.element : k = u, /* @__PURE__ */ M.createElement(
|
|
4966
4966
|
qa,
|
|
4967
4967
|
{
|
|
4968
|
-
match:
|
|
4968
|
+
match: d,
|
|
4969
4969
|
routeContext: {
|
|
4970
4970
|
outlet: u,
|
|
4971
4971
|
matches: p,
|
|
@@ -4975,13 +4975,13 @@ function Ba(e, t = [], r = null, i = null) {
|
|
|
4975
4975
|
}
|
|
4976
4976
|
);
|
|
4977
4977
|
};
|
|
4978
|
-
return r && (
|
|
4978
|
+
return r && (d.route.ErrorBoundary || d.route.errorElement || g === 0) ? /* @__PURE__ */ M.createElement(
|
|
4979
4979
|
Va,
|
|
4980
4980
|
{
|
|
4981
4981
|
location: r.location,
|
|
4982
4982
|
revalidation: r.revalidation,
|
|
4983
4983
|
component: L,
|
|
4984
|
-
error:
|
|
4984
|
+
error: b,
|
|
4985
4985
|
children: I(),
|
|
4986
4986
|
routeContext: { outlet: null, matches: p, isDataRoute: !0 }
|
|
4987
4987
|
}
|
|
@@ -5073,38 +5073,38 @@ function to({
|
|
|
5073
5073
|
!Qe(),
|
|
5074
5074
|
"You cannot render a <Router> inside another <Router>. You should never have more than one in your app."
|
|
5075
5075
|
);
|
|
5076
|
-
let
|
|
5076
|
+
let f = e.replace(/^\/*/, "/"), l = M.useMemo(
|
|
5077
5077
|
() => ({
|
|
5078
|
-
basename:
|
|
5078
|
+
basename: f,
|
|
5079
5079
|
navigator: a,
|
|
5080
5080
|
static: s,
|
|
5081
5081
|
future: {}
|
|
5082
5082
|
}),
|
|
5083
|
-
[
|
|
5083
|
+
[f, a, s]
|
|
5084
5084
|
);
|
|
5085
5085
|
typeof r == "string" && (r = Me(r));
|
|
5086
5086
|
let {
|
|
5087
5087
|
pathname: u = "/",
|
|
5088
|
-
search:
|
|
5089
|
-
hash:
|
|
5090
|
-
state:
|
|
5091
|
-
key:
|
|
5088
|
+
search: d = "",
|
|
5089
|
+
hash: g = "",
|
|
5090
|
+
state: b = null,
|
|
5091
|
+
key: S = "default"
|
|
5092
5092
|
} = r, L = M.useMemo(() => {
|
|
5093
|
-
let P = Oe(u,
|
|
5093
|
+
let P = Oe(u, f);
|
|
5094
5094
|
return P == null ? null : {
|
|
5095
5095
|
location: {
|
|
5096
5096
|
pathname: P,
|
|
5097
|
-
search:
|
|
5098
|
-
hash:
|
|
5099
|
-
state:
|
|
5100
|
-
key:
|
|
5097
|
+
search: d,
|
|
5098
|
+
hash: g,
|
|
5099
|
+
state: b,
|
|
5100
|
+
key: S
|
|
5101
5101
|
},
|
|
5102
5102
|
navigationType: i
|
|
5103
5103
|
};
|
|
5104
|
-
}, [
|
|
5104
|
+
}, [f, u, d, g, b, S, i]);
|
|
5105
5105
|
return ge(
|
|
5106
5106
|
L != null,
|
|
5107
|
-
`<Router basename="${
|
|
5107
|
+
`<Router basename="${f}"> is not able to match the URL "${u}${d}${g}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5108
5108
|
), L == null ? null : /* @__PURE__ */ M.createElement(Se.Provider, { value: l }, /* @__PURE__ */ M.createElement(Ze.Provider, { children: t, value: L }));
|
|
5109
5109
|
}
|
|
5110
5110
|
function ro({
|
|
@@ -5133,7 +5133,7 @@ function Wt(e, t = []) {
|
|
|
5133
5133
|
!i.props.index || !i.props.children,
|
|
5134
5134
|
"An index route cannot have child routes."
|
|
5135
5135
|
);
|
|
5136
|
-
let
|
|
5136
|
+
let f = {
|
|
5137
5137
|
id: i.props.id || s.join("-"),
|
|
5138
5138
|
caseSensitive: i.props.caseSensitive,
|
|
5139
5139
|
element: i.props.element,
|
|
@@ -5151,10 +5151,10 @@ function Wt(e, t = []) {
|
|
|
5151
5151
|
handle: i.props.handle,
|
|
5152
5152
|
lazy: i.props.lazy
|
|
5153
5153
|
};
|
|
5154
|
-
i.props.children && (
|
|
5154
|
+
i.props.children && (f.children = Wt(
|
|
5155
5155
|
i.props.children,
|
|
5156
5156
|
s
|
|
5157
|
-
)), r.push(
|
|
5157
|
+
)), r.push(f);
|
|
5158
5158
|
}), r;
|
|
5159
5159
|
}
|
|
5160
5160
|
var ut = "get", ct = "application/x-www-form-urlencoded";
|
|
@@ -5222,7 +5222,7 @@ function It(e) {
|
|
|
5222
5222
|
), null) : e;
|
|
5223
5223
|
}
|
|
5224
5224
|
function fo(e, t) {
|
|
5225
|
-
let r, i, a, s,
|
|
5225
|
+
let r, i, a, s, f;
|
|
5226
5226
|
if (io(e)) {
|
|
5227
5227
|
let l = e.getAttribute("action");
|
|
5228
5228
|
i = l ? Oe(l, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
|
|
@@ -5234,20 +5234,20 @@ function fo(e, t) {
|
|
|
5234
5234
|
);
|
|
5235
5235
|
let u = e.getAttribute("formaction") || l.getAttribute("action");
|
|
5236
5236
|
if (i = u ? Oe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !uo()) {
|
|
5237
|
-
let { name:
|
|
5238
|
-
if (
|
|
5239
|
-
let
|
|
5240
|
-
s.append(`${
|
|
5241
|
-
} else
|
|
5237
|
+
let { name: d, type: g, value: b } = e;
|
|
5238
|
+
if (g === "image") {
|
|
5239
|
+
let S = d ? `${d}.` : "";
|
|
5240
|
+
s.append(`${S}x`, "0"), s.append(`${S}y`, "0");
|
|
5241
|
+
} else d && s.append(d, b);
|
|
5242
5242
|
}
|
|
5243
5243
|
} else {
|
|
5244
5244
|
if (kt(e))
|
|
5245
5245
|
throw new Error(
|
|
5246
5246
|
'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
|
|
5247
5247
|
);
|
|
5248
|
-
r = ut, i = null, a = ct,
|
|
5248
|
+
r = ut, i = null, a = ct, f = e;
|
|
5249
5249
|
}
|
|
5250
|
-
return s && a === "text/plain" && (
|
|
5250
|
+
return s && a === "text/plain" && (f = s, s = void 0), { action: i, method: r.toLowerCase(), encType: a, formData: s, body: f };
|
|
5251
5251
|
}
|
|
5252
5252
|
function Qt(e, t) {
|
|
5253
5253
|
if (e === !1 || e === null || typeof e > "u")
|
|
@@ -5278,8 +5278,8 @@ async function mo(e, t, r) {
|
|
|
5278
5278
|
e.map(async (a) => {
|
|
5279
5279
|
let s = t.routes[a.route.id];
|
|
5280
5280
|
if (s) {
|
|
5281
|
-
let
|
|
5282
|
-
return
|
|
5281
|
+
let f = await ho(s, r);
|
|
5282
|
+
return f.links ? f.links() : [];
|
|
5283
5283
|
}
|
|
5284
5284
|
return [];
|
|
5285
5285
|
})
|
|
@@ -5291,22 +5291,22 @@ async function mo(e, t, r) {
|
|
|
5291
5291
|
);
|
|
5292
5292
|
}
|
|
5293
5293
|
function Dr(e, t, r, i, a, s) {
|
|
5294
|
-
let
|
|
5294
|
+
let f = (u, d) => r[d] ? u.route.id !== r[d].route.id : !0, l = (u, d) => (
|
|
5295
5295
|
// param change, /users/123 -> /users/456
|
|
5296
|
-
r[
|
|
5296
|
+
r[d].pathname !== u.pathname || // splat param changed, which is not present in match.path
|
|
5297
5297
|
// e.g. /files/images/avatar.jpg -> files/finances.xls
|
|
5298
|
-
r[
|
|
5298
|
+
r[d].route.path?.endsWith("*") && r[d].params["*"] !== u.params["*"]
|
|
5299
5299
|
);
|
|
5300
5300
|
return s === "assets" ? t.filter(
|
|
5301
|
-
(u,
|
|
5302
|
-
) : s === "data" ? t.filter((u,
|
|
5303
|
-
let
|
|
5304
|
-
if (!
|
|
5301
|
+
(u, d) => f(u, d) || l(u, d)
|
|
5302
|
+
) : s === "data" ? t.filter((u, d) => {
|
|
5303
|
+
let g = i.routes[u.route.id];
|
|
5304
|
+
if (!g || !g.hasLoader)
|
|
5305
5305
|
return !1;
|
|
5306
|
-
if (
|
|
5306
|
+
if (f(u, d) || l(u, d))
|
|
5307
5307
|
return !0;
|
|
5308
5308
|
if (u.route.shouldRevalidate) {
|
|
5309
|
-
let
|
|
5309
|
+
let b = u.route.shouldRevalidate({
|
|
5310
5310
|
currentUrl: new URL(
|
|
5311
5311
|
a.pathname + a.search + a.hash,
|
|
5312
5312
|
window.origin
|
|
@@ -5316,8 +5316,8 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5316
5316
|
nextParams: u.params,
|
|
5317
5317
|
defaultShouldRevalidate: !0
|
|
5318
5318
|
});
|
|
5319
|
-
if (typeof
|
|
5320
|
-
return
|
|
5319
|
+
if (typeof b == "boolean")
|
|
5320
|
+
return b;
|
|
5321
5321
|
}
|
|
5322
5322
|
return !0;
|
|
5323
5323
|
}) : [];
|
|
@@ -5383,22 +5383,22 @@ function vn() {
|
|
|
5383
5383
|
), e;
|
|
5384
5384
|
}
|
|
5385
5385
|
function Oo(e, t) {
|
|
5386
|
-
let r = M.useContext(er), [i, a] = M.useState(!1), [s,
|
|
5386
|
+
let r = M.useContext(er), [i, a] = M.useState(!1), [s, f] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: d, onMouseLeave: g, onTouchStart: b } = t, S = M.useRef(null);
|
|
5387
5387
|
M.useEffect(() => {
|
|
5388
|
-
if (e === "render" &&
|
|
5388
|
+
if (e === "render" && f(!0), e === "viewport") {
|
|
5389
5389
|
let p = (k) => {
|
|
5390
5390
|
k.forEach((F) => {
|
|
5391
|
-
|
|
5391
|
+
f(F.isIntersecting);
|
|
5392
5392
|
});
|
|
5393
5393
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5394
|
-
return
|
|
5394
|
+
return S.current && I.observe(S.current), () => {
|
|
5395
5395
|
I.disconnect();
|
|
5396
5396
|
};
|
|
5397
5397
|
}
|
|
5398
5398
|
}, [e]), M.useEffect(() => {
|
|
5399
5399
|
if (i) {
|
|
5400
5400
|
let p = setTimeout(() => {
|
|
5401
|
-
|
|
5401
|
+
f(!0);
|
|
5402
5402
|
}, 100);
|
|
5403
5403
|
return () => {
|
|
5404
5404
|
clearTimeout(p);
|
|
@@ -5408,19 +5408,19 @@ function Oo(e, t) {
|
|
|
5408
5408
|
let L = () => {
|
|
5409
5409
|
a(!0);
|
|
5410
5410
|
}, P = () => {
|
|
5411
|
-
a(!1),
|
|
5411
|
+
a(!1), f(!1);
|
|
5412
5412
|
};
|
|
5413
|
-
return r ? e !== "intent" ? [s,
|
|
5413
|
+
return r ? e !== "intent" ? [s, S, {}] : [
|
|
5414
5414
|
s,
|
|
5415
|
-
|
|
5415
|
+
S,
|
|
5416
5416
|
{
|
|
5417
5417
|
onFocus: Ve(l, L),
|
|
5418
5418
|
onBlur: Ve(u, P),
|
|
5419
|
-
onMouseEnter: Ve(
|
|
5420
|
-
onMouseLeave: Ve(
|
|
5421
|
-
onTouchStart: Ve(
|
|
5419
|
+
onMouseEnter: Ve(d, L),
|
|
5420
|
+
onMouseLeave: Ve(g, P),
|
|
5421
|
+
onTouchStart: Ve(b, L)
|
|
5422
5422
|
}
|
|
5423
|
-
] : [!1,
|
|
5423
|
+
] : [!1, S, {}];
|
|
5424
5424
|
}
|
|
5425
5425
|
function Ve(e, t) {
|
|
5426
5426
|
return (r) => {
|
|
@@ -5442,8 +5442,8 @@ function Po(e) {
|
|
|
5442
5442
|
return M.useEffect(() => {
|
|
5443
5443
|
let s = !1;
|
|
5444
5444
|
return mo(e, t, r).then(
|
|
5445
|
-
(
|
|
5446
|
-
s || a(
|
|
5445
|
+
(f) => {
|
|
5446
|
+
s || a(f);
|
|
5447
5447
|
}
|
|
5448
5448
|
), () => {
|
|
5449
5449
|
s = !0;
|
|
@@ -5455,7 +5455,7 @@ function Co({
|
|
|
5455
5455
|
matches: t,
|
|
5456
5456
|
...r
|
|
5457
5457
|
}) {
|
|
5458
|
-
let i = Pe(), { manifest: a, routeModules: s } = vn(), { basename:
|
|
5458
|
+
let i = Pe(), { manifest: a, routeModules: s } = vn(), { basename: f } = mn(), { loaderData: l, matches: u } = xo(), d = M.useMemo(
|
|
5459
5459
|
() => Dr(
|
|
5460
5460
|
e,
|
|
5461
5461
|
t,
|
|
@@ -5465,7 +5465,7 @@ function Co({
|
|
|
5465
5465
|
"data"
|
|
5466
5466
|
),
|
|
5467
5467
|
[e, t, u, a, i]
|
|
5468
|
-
),
|
|
5468
|
+
), g = M.useMemo(
|
|
5469
5469
|
() => Dr(
|
|
5470
5470
|
e,
|
|
5471
5471
|
t,
|
|
@@ -5475,34 +5475,34 @@ function Co({
|
|
|
5475
5475
|
"assets"
|
|
5476
5476
|
),
|
|
5477
5477
|
[e, t, u, a, i]
|
|
5478
|
-
),
|
|
5478
|
+
), b = M.useMemo(() => {
|
|
5479
5479
|
if (e === i.pathname + i.search + i.hash)
|
|
5480
5480
|
return [];
|
|
5481
5481
|
let P = /* @__PURE__ */ new Set(), p = !1;
|
|
5482
5482
|
if (t.forEach((k) => {
|
|
5483
5483
|
let F = a.routes[k.route.id];
|
|
5484
|
-
!F || !F.hasLoader || (!
|
|
5484
|
+
!F || !F.hasLoader || (!d.some((U) => U.route.id === k.route.id) && k.route.id in l && s[k.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : P.add(k.route.id));
|
|
5485
5485
|
}), P.size === 0)
|
|
5486
5486
|
return [];
|
|
5487
|
-
let I = So(e,
|
|
5487
|
+
let I = So(e, f);
|
|
5488
5488
|
return p && P.size > 0 && I.searchParams.set(
|
|
5489
5489
|
"_routes",
|
|
5490
5490
|
t.filter((k) => P.has(k.route.id)).map((k) => k.route.id).join(",")
|
|
5491
5491
|
), [I.pathname + I.search];
|
|
5492
5492
|
}, [
|
|
5493
|
-
|
|
5493
|
+
f,
|
|
5494
5494
|
l,
|
|
5495
5495
|
i,
|
|
5496
5496
|
a,
|
|
5497
|
-
|
|
5497
|
+
d,
|
|
5498
5498
|
t,
|
|
5499
5499
|
e,
|
|
5500
5500
|
s
|
|
5501
|
-
]),
|
|
5502
|
-
() => vo(
|
|
5503
|
-
[
|
|
5504
|
-
), L = Po(
|
|
5505
|
-
return /* @__PURE__ */ M.createElement(M.Fragment, null,
|
|
5501
|
+
]), S = M.useMemo(
|
|
5502
|
+
() => vo(g, a),
|
|
5503
|
+
[g, a]
|
|
5504
|
+
), L = Po(g);
|
|
5505
|
+
return /* @__PURE__ */ M.createElement(M.Fragment, null, b.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), S.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "modulepreload", href: P, ...r })), L.map(({ key: P, link: p }) => (
|
|
5506
5506
|
// these don't spread `linkProps` because they are full link descriptors
|
|
5507
5507
|
// already with their own props
|
|
5508
5508
|
/* @__PURE__ */ M.createElement("link", { key: P, ...p })
|
|
@@ -5527,14 +5527,14 @@ function Ro({
|
|
|
5527
5527
|
}) {
|
|
5528
5528
|
let i = M.useRef();
|
|
5529
5529
|
i.current == null && (i.current = ha({ window: r, v5Compat: !0 }));
|
|
5530
|
-
let a = i.current, [s,
|
|
5530
|
+
let a = i.current, [s, f] = M.useState({
|
|
5531
5531
|
action: a.action,
|
|
5532
5532
|
location: a.location
|
|
5533
5533
|
}), l = M.useCallback(
|
|
5534
5534
|
(u) => {
|
|
5535
|
-
M.startTransition(() =>
|
|
5535
|
+
M.startTransition(() => f(u));
|
|
5536
5536
|
},
|
|
5537
|
-
[
|
|
5537
|
+
[f]
|
|
5538
5538
|
);
|
|
5539
5539
|
return M.useLayoutEffect(() => a.listen(l), [a, l]), /* @__PURE__ */ M.createElement(
|
|
5540
5540
|
to,
|
|
@@ -5554,48 +5554,48 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5554
5554
|
prefetch: i = "none",
|
|
5555
5555
|
relative: a,
|
|
5556
5556
|
reloadDocument: s,
|
|
5557
|
-
replace:
|
|
5557
|
+
replace: f,
|
|
5558
5558
|
state: l,
|
|
5559
5559
|
target: u,
|
|
5560
|
-
to:
|
|
5561
|
-
preventScrollReset:
|
|
5562
|
-
viewTransition:
|
|
5563
|
-
...
|
|
5560
|
+
to: d,
|
|
5561
|
+
preventScrollReset: g,
|
|
5562
|
+
viewTransition: b,
|
|
5563
|
+
...S
|
|
5564
5564
|
}, L) {
|
|
5565
|
-
let { basename: P } = M.useContext(Se), p = typeof
|
|
5566
|
-
if (typeof
|
|
5565
|
+
let { basename: P } = M.useContext(Se), p = typeof d == "string" && yn.test(d), I, k = !1;
|
|
5566
|
+
if (typeof d == "string" && p && (I = d, gn))
|
|
5567
5567
|
try {
|
|
5568
|
-
let y = new URL(window.location.href), h =
|
|
5569
|
-
h.origin === y.origin && C != null ?
|
|
5568
|
+
let y = new URL(window.location.href), h = d.startsWith("//") ? new URL(y.protocol + d) : new URL(d), C = Oe(h.pathname, P);
|
|
5569
|
+
h.origin === y.origin && C != null ? d = C + h.search + h.hash : k = !0;
|
|
5570
5570
|
} catch {
|
|
5571
5571
|
ge(
|
|
5572
5572
|
!1,
|
|
5573
|
-
`<Link to="${
|
|
5573
|
+
`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5574
5574
|
);
|
|
5575
5575
|
}
|
|
5576
|
-
let F = Na(
|
|
5576
|
+
let F = Na(d, { relative: a }), [U, q, v] = Oo(
|
|
5577
5577
|
i,
|
|
5578
|
-
|
|
5579
|
-
),
|
|
5580
|
-
replace:
|
|
5578
|
+
S
|
|
5579
|
+
), w = Lo(d, {
|
|
5580
|
+
replace: f,
|
|
5581
5581
|
state: l,
|
|
5582
5582
|
target: u,
|
|
5583
|
-
preventScrollReset:
|
|
5583
|
+
preventScrollReset: g,
|
|
5584
5584
|
relative: a,
|
|
5585
|
-
viewTransition:
|
|
5585
|
+
viewTransition: b
|
|
5586
5586
|
});
|
|
5587
|
-
function
|
|
5588
|
-
t && t(y), y.defaultPrevented ||
|
|
5587
|
+
function x(y) {
|
|
5588
|
+
t && t(y), y.defaultPrevented || w(y);
|
|
5589
5589
|
}
|
|
5590
5590
|
let R = (
|
|
5591
5591
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
5592
5592
|
/* @__PURE__ */ M.createElement(
|
|
5593
5593
|
"a",
|
|
5594
5594
|
{
|
|
5595
|
-
...
|
|
5596
|
-
...
|
|
5595
|
+
...S,
|
|
5596
|
+
...v,
|
|
5597
5597
|
href: I || F,
|
|
5598
|
-
onClick: k || s ? t :
|
|
5598
|
+
onClick: k || s ? t : x,
|
|
5599
5599
|
ref: Eo(L, q),
|
|
5600
5600
|
target: u,
|
|
5601
5601
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
@@ -5613,40 +5613,40 @@ var _o = M.forwardRef(
|
|
|
5613
5613
|
className: i = "",
|
|
5614
5614
|
end: a = !1,
|
|
5615
5615
|
style: s,
|
|
5616
|
-
to:
|
|
5616
|
+
to: f,
|
|
5617
5617
|
viewTransition: l,
|
|
5618
5618
|
children: u,
|
|
5619
|
-
...
|
|
5620
|
-
},
|
|
5621
|
-
let
|
|
5619
|
+
...d
|
|
5620
|
+
}, g) {
|
|
5621
|
+
let b = et(f, { relative: d.relative }), S = Pe(), L = M.useContext(Ot), { navigator: P, basename: p } = M.useContext(Se), I = L != null && // Conditional usage is OK here because the usage of a data router is static
|
|
5622
5622
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
5623
|
-
Ho(
|
|
5623
|
+
Ho(b) && l === !0, k = P.encodeLocation ? P.encodeLocation(b).pathname : b.pathname, F = S.pathname, U = L && L.navigation && L.navigation.location ? L.navigation.location.pathname : null;
|
|
5624
5624
|
r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, k = k.toLowerCase()), U && p && (U = Oe(U, p) || U);
|
|
5625
5625
|
const q = k !== "/" && k.endsWith("/") ? k.length - 1 : k.length;
|
|
5626
|
-
let
|
|
5627
|
-
isActive:
|
|
5628
|
-
isPending:
|
|
5626
|
+
let v = F === k || !a && F.startsWith(k) && F.charAt(q) === "/", w = U != null && (U === k || !a && U.startsWith(k) && U.charAt(k.length) === "/"), x = {
|
|
5627
|
+
isActive: v,
|
|
5628
|
+
isPending: w,
|
|
5629
5629
|
isTransitioning: I
|
|
5630
|
-
}, R =
|
|
5631
|
-
typeof i == "function" ? y = i(
|
|
5630
|
+
}, R = v ? t : void 0, y;
|
|
5631
|
+
typeof i == "function" ? y = i(x) : y = [
|
|
5632
5632
|
i,
|
|
5633
|
-
|
|
5634
|
-
|
|
5633
|
+
v ? "active" : null,
|
|
5634
|
+
w ? "pending" : null,
|
|
5635
5635
|
I ? "transitioning" : null
|
|
5636
5636
|
].filter(Boolean).join(" ");
|
|
5637
|
-
let h = typeof s == "function" ? s(
|
|
5637
|
+
let h = typeof s == "function" ? s(x) : s;
|
|
5638
5638
|
return /* @__PURE__ */ M.createElement(
|
|
5639
5639
|
bn,
|
|
5640
5640
|
{
|
|
5641
|
-
...
|
|
5641
|
+
...d,
|
|
5642
5642
|
"aria-current": R,
|
|
5643
5643
|
className: y,
|
|
5644
|
-
ref:
|
|
5644
|
+
ref: g,
|
|
5645
5645
|
style: h,
|
|
5646
|
-
to:
|
|
5646
|
+
to: f,
|
|
5647
5647
|
viewTransition: l
|
|
5648
5648
|
},
|
|
5649
|
-
typeof u == "function" ? u(
|
|
5649
|
+
typeof u == "function" ? u(x) : u
|
|
5650
5650
|
);
|
|
5651
5651
|
}
|
|
5652
5652
|
);
|
|
@@ -5659,27 +5659,27 @@ var To = M.forwardRef(
|
|
|
5659
5659
|
reloadDocument: i,
|
|
5660
5660
|
replace: a,
|
|
5661
5661
|
state: s,
|
|
5662
|
-
method:
|
|
5662
|
+
method: f = ut,
|
|
5663
5663
|
action: l,
|
|
5664
5664
|
onSubmit: u,
|
|
5665
|
-
relative:
|
|
5666
|
-
preventScrollReset:
|
|
5667
|
-
viewTransition:
|
|
5668
|
-
...
|
|
5665
|
+
relative: d,
|
|
5666
|
+
preventScrollReset: g,
|
|
5667
|
+
viewTransition: b,
|
|
5668
|
+
...S
|
|
5669
5669
|
}, L) => {
|
|
5670
|
-
let P = Io(), p = Ao(l, { relative:
|
|
5670
|
+
let P = Io(), p = Ao(l, { relative: d }), I = f.toLowerCase() === "get" ? "get" : "post", k = typeof l == "string" && yn.test(l), F = (U) => {
|
|
5671
5671
|
if (u && u(U), U.defaultPrevented) return;
|
|
5672
5672
|
U.preventDefault();
|
|
5673
|
-
let q = U.nativeEvent.submitter,
|
|
5673
|
+
let q = U.nativeEvent.submitter, v = q?.getAttribute("formmethod") || f;
|
|
5674
5674
|
P(q || U.currentTarget, {
|
|
5675
5675
|
fetcherKey: t,
|
|
5676
|
-
method:
|
|
5676
|
+
method: v,
|
|
5677
5677
|
navigate: r,
|
|
5678
5678
|
replace: a,
|
|
5679
5679
|
state: s,
|
|
5680
|
-
relative:
|
|
5681
|
-
preventScrollReset:
|
|
5682
|
-
viewTransition:
|
|
5680
|
+
relative: d,
|
|
5681
|
+
preventScrollReset: g,
|
|
5682
|
+
viewTransition: b
|
|
5683
5683
|
});
|
|
5684
5684
|
};
|
|
5685
5685
|
return /* @__PURE__ */ M.createElement(
|
|
@@ -5689,7 +5689,7 @@ var To = M.forwardRef(
|
|
|
5689
5689
|
method: I,
|
|
5690
5690
|
action: p,
|
|
5691
5691
|
onSubmit: i ? u : F,
|
|
5692
|
-
...
|
|
5692
|
+
...S,
|
|
5693
5693
|
"data-discover": !k && e === "render" ? "true" : void 0
|
|
5694
5694
|
}
|
|
5695
5695
|
);
|
|
@@ -5709,34 +5709,34 @@ function Lo(e, {
|
|
|
5709
5709
|
state: i,
|
|
5710
5710
|
preventScrollReset: a,
|
|
5711
5711
|
relative: s,
|
|
5712
|
-
viewTransition:
|
|
5712
|
+
viewTransition: f
|
|
5713
5713
|
} = {}) {
|
|
5714
|
-
let l = Kt(), u = Pe(),
|
|
5714
|
+
let l = Kt(), u = Pe(), d = et(e, { relative: s });
|
|
5715
5715
|
return M.useCallback(
|
|
5716
|
-
(
|
|
5717
|
-
if (so(
|
|
5718
|
-
|
|
5719
|
-
let
|
|
5716
|
+
(g) => {
|
|
5717
|
+
if (so(g, t)) {
|
|
5718
|
+
g.preventDefault();
|
|
5719
|
+
let b = r !== void 0 ? r : Ge(u) === Ge(d);
|
|
5720
5720
|
l(e, {
|
|
5721
|
-
replace:
|
|
5721
|
+
replace: b,
|
|
5722
5722
|
state: i,
|
|
5723
5723
|
preventScrollReset: a,
|
|
5724
5724
|
relative: s,
|
|
5725
|
-
viewTransition:
|
|
5725
|
+
viewTransition: f
|
|
5726
5726
|
});
|
|
5727
5727
|
}
|
|
5728
5728
|
},
|
|
5729
5729
|
[
|
|
5730
5730
|
u,
|
|
5731
5731
|
l,
|
|
5732
|
-
|
|
5732
|
+
d,
|
|
5733
5733
|
r,
|
|
5734
5734
|
i,
|
|
5735
5735
|
t,
|
|
5736
5736
|
e,
|
|
5737
5737
|
a,
|
|
5738
5738
|
s,
|
|
5739
|
-
|
|
5739
|
+
f
|
|
5740
5740
|
]
|
|
5741
5741
|
);
|
|
5742
5742
|
}
|
|
@@ -5756,16 +5756,16 @@ function Do(e) {
|
|
|
5756
5756
|
)
|
|
5757
5757
|
),
|
|
5758
5758
|
[i.search]
|
|
5759
|
-
), s = Kt(),
|
|
5759
|
+
), s = Kt(), f = M.useCallback(
|
|
5760
5760
|
(l, u) => {
|
|
5761
|
-
const
|
|
5761
|
+
const d = Ut(
|
|
5762
5762
|
typeof l == "function" ? l(a) : l
|
|
5763
5763
|
);
|
|
5764
|
-
r.current = !0, s("?" +
|
|
5764
|
+
r.current = !0, s("?" + d, u);
|
|
5765
5765
|
},
|
|
5766
5766
|
[s, a]
|
|
5767
5767
|
);
|
|
5768
|
-
return [a,
|
|
5768
|
+
return [a, f];
|
|
5769
5769
|
}
|
|
5770
5770
|
var Mo = 0, $o = () => `__${String(++Mo)}__`;
|
|
5771
5771
|
function Io() {
|
|
@@ -5775,17 +5775,17 @@ function Io() {
|
|
|
5775
5775
|
), { basename: t } = M.useContext(Se), r = Ja();
|
|
5776
5776
|
return M.useCallback(
|
|
5777
5777
|
async (i, a = {}) => {
|
|
5778
|
-
let { action: s, method:
|
|
5778
|
+
let { action: s, method: f, encType: l, formData: u, body: d } = fo(
|
|
5779
5779
|
i,
|
|
5780
5780
|
t
|
|
5781
5781
|
);
|
|
5782
5782
|
if (a.navigate === !1) {
|
|
5783
|
-
let
|
|
5784
|
-
await e.fetch(
|
|
5783
|
+
let g = a.fetcherKey || $o();
|
|
5784
|
+
await e.fetch(g, r, a.action || s, {
|
|
5785
5785
|
preventScrollReset: a.preventScrollReset,
|
|
5786
5786
|
formData: u,
|
|
5787
|
-
body:
|
|
5788
|
-
formMethod: a.method ||
|
|
5787
|
+
body: d,
|
|
5788
|
+
formMethod: a.method || f,
|
|
5789
5789
|
formEncType: a.encType || l,
|
|
5790
5790
|
flushSync: a.flushSync
|
|
5791
5791
|
});
|
|
@@ -5793,8 +5793,8 @@ function Io() {
|
|
|
5793
5793
|
await e.navigate(a.action || s, {
|
|
5794
5794
|
preventScrollReset: a.preventScrollReset,
|
|
5795
5795
|
formData: u,
|
|
5796
|
-
body:
|
|
5797
|
-
formMethod: a.method ||
|
|
5796
|
+
body: d,
|
|
5797
|
+
formMethod: a.method || f,
|
|
5798
5798
|
formEncType: a.encType || l,
|
|
5799
5799
|
replace: a.replace,
|
|
5800
5800
|
state: a.state,
|
|
@@ -5809,14 +5809,14 @@ function Io() {
|
|
|
5809
5809
|
function Ao(e, { relative: t } = {}) {
|
|
5810
5810
|
let { basename: r } = M.useContext(Se), i = M.useContext(ke);
|
|
5811
5811
|
ae(i, "useFormAction must be used inside a RouteContext");
|
|
5812
|
-
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) },
|
|
5812
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, f = Pe();
|
|
5813
5813
|
if (e == null) {
|
|
5814
|
-
s.search =
|
|
5814
|
+
s.search = f.search;
|
|
5815
5815
|
let l = new URLSearchParams(s.search), u = l.getAll("index");
|
|
5816
|
-
if (u.some((
|
|
5817
|
-
l.delete("index"), u.filter((
|
|
5818
|
-
let
|
|
5819
|
-
s.search =
|
|
5816
|
+
if (u.some((g) => g === "")) {
|
|
5817
|
+
l.delete("index"), u.filter((b) => b).forEach((b) => l.append("index", b));
|
|
5818
|
+
let g = l.toString();
|
|
5819
|
+
s.search = g ? `?${g}` : "";
|
|
5820
5820
|
}
|
|
5821
5821
|
}
|
|
5822
5822
|
return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : xe([r, s.pathname])), Ge(s);
|
|
@@ -5833,8 +5833,8 @@ function Ho(e, t = {}) {
|
|
|
5833
5833
|
), a = et(e, { relative: t.relative });
|
|
5834
5834
|
if (!r.isTransitioning)
|
|
5835
5835
|
return !1;
|
|
5836
|
-
let s = Oe(r.currentLocation.pathname, i) || r.currentLocation.pathname,
|
|
5837
|
-
return gt(a.pathname,
|
|
5836
|
+
let s = Oe(r.currentLocation.pathname, i) || r.currentLocation.pathname, f = Oe(r.nextLocation.pathname, i) || r.nextLocation.pathname;
|
|
5837
|
+
return gt(a.pathname, f) != null || gt(a.pathname, s) != null;
|
|
5838
5838
|
}
|
|
5839
5839
|
[
|
|
5840
5840
|
...wo
|
|
@@ -5851,62 +5851,65 @@ const Sn = V.createContext({
|
|
|
5851
5851
|
() => Object.fromEntries(e.entries()),
|
|
5852
5852
|
[e]
|
|
5853
5853
|
), i = ve(
|
|
5854
|
-
(
|
|
5855
|
-
const
|
|
5856
|
-
return
|
|
5857
|
-
|
|
5858
|
-
}),
|
|
5854
|
+
(g) => {
|
|
5855
|
+
const b = {};
|
|
5856
|
+
return g.forEach((S) => {
|
|
5857
|
+
b[S] = e.get(S);
|
|
5858
|
+
}), b;
|
|
5859
5859
|
},
|
|
5860
5860
|
[e]
|
|
5861
5861
|
), a = ve(
|
|
5862
|
-
(
|
|
5863
|
-
const
|
|
5864
|
-
return
|
|
5862
|
+
(g) => {
|
|
5863
|
+
const b = e.get(g);
|
|
5864
|
+
return b == null || b == null, b;
|
|
5865
5865
|
},
|
|
5866
5866
|
[e]
|
|
5867
5867
|
), s = ve(
|
|
5868
|
-
(
|
|
5869
|
-
const
|
|
5870
|
-
|
|
5868
|
+
(g, b) => {
|
|
5869
|
+
const S = new URLSearchParams(e);
|
|
5870
|
+
S.set(g, String(b)), t(S);
|
|
5871
5871
|
},
|
|
5872
5872
|
[e, t]
|
|
5873
|
-
),
|
|
5874
|
-
(
|
|
5875
|
-
const
|
|
5876
|
-
Object.entries(
|
|
5877
|
-
|
|
5878
|
-
}), t(
|
|
5873
|
+
), f = ve(
|
|
5874
|
+
(g) => {
|
|
5875
|
+
const b = new URLSearchParams(e);
|
|
5876
|
+
Object.entries(g).forEach(([S, L]) => {
|
|
5877
|
+
L != null && b.set(S, String(L));
|
|
5878
|
+
}), t(b);
|
|
5879
5879
|
},
|
|
5880
5880
|
[e, t]
|
|
5881
5881
|
), l = ve(
|
|
5882
|
-
(
|
|
5883
|
-
const
|
|
5884
|
-
|
|
5882
|
+
(g) => {
|
|
5883
|
+
const b = new URLSearchParams(e);
|
|
5884
|
+
b.delete(g), t(b);
|
|
5885
5885
|
},
|
|
5886
5886
|
[e, t]
|
|
5887
5887
|
), u = ve(
|
|
5888
|
-
(
|
|
5889
|
-
const
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
}), t(
|
|
5888
|
+
(g) => {
|
|
5889
|
+
const b = new URLSearchParams(e);
|
|
5890
|
+
g.forEach((S) => {
|
|
5891
|
+
b.delete(String(S));
|
|
5892
|
+
}), t(b);
|
|
5893
5893
|
},
|
|
5894
5894
|
[e, t]
|
|
5895
|
-
)
|
|
5895
|
+
), d = ve(() => {
|
|
5896
|
+
t({});
|
|
5897
|
+
}, [e, t]);
|
|
5896
5898
|
return {
|
|
5897
5899
|
getAll: () => r,
|
|
5898
5900
|
get: a,
|
|
5899
5901
|
getMany: i,
|
|
5900
5902
|
set: s,
|
|
5901
|
-
setMany:
|
|
5903
|
+
setMany: f,
|
|
5902
5904
|
remove: l,
|
|
5903
|
-
removeMany: u
|
|
5905
|
+
removeMany: u,
|
|
5906
|
+
removeAll: d
|
|
5904
5907
|
};
|
|
5905
5908
|
}, hs = () => {
|
|
5906
5909
|
const e = Kt(), t = Pe(), r = zo(), i = Yt(Sn), a = (l) => {
|
|
5907
5910
|
const u = new URL(l.path, "http://dummy-base");
|
|
5908
|
-
return l.params && Object.entries(l.params).forEach(([
|
|
5909
|
-
|
|
5911
|
+
return l.params && Object.entries(l.params).forEach(([d, g]) => {
|
|
5912
|
+
g != null && u.searchParams.set(d, String(g));
|
|
5910
5913
|
}), u.pathname + u.search;
|
|
5911
5914
|
}, s = V.useCallback(
|
|
5912
5915
|
(l) => {
|
|
@@ -5914,7 +5917,7 @@ const Sn = V.createContext({
|
|
|
5914
5917
|
l.addToHistory !== !1 ? (e(u), i.addToHistory(u)) : (e(u, { replace: !0 }), i.popFromHistory(1), i.addToHistory(u));
|
|
5915
5918
|
},
|
|
5916
5919
|
[e]
|
|
5917
|
-
),
|
|
5920
|
+
), f = V.useCallback(
|
|
5918
5921
|
(l) => {
|
|
5919
5922
|
const u = l || 1;
|
|
5920
5923
|
e(-u), i.popFromHistory(u);
|
|
@@ -5925,7 +5928,7 @@ const Sn = V.createContext({
|
|
|
5925
5928
|
currentPath: t.pathname,
|
|
5926
5929
|
history: i.history,
|
|
5927
5930
|
searchParams: r,
|
|
5928
|
-
goBack:
|
|
5931
|
+
goBack: f,
|
|
5929
5932
|
goTo: s
|
|
5930
5933
|
};
|
|
5931
5934
|
}, ps = ({
|
|
@@ -5933,20 +5936,20 @@ const Sn = V.createContext({
|
|
|
5933
5936
|
routes: t,
|
|
5934
5937
|
children: r
|
|
5935
5938
|
}) => {
|
|
5936
|
-
const i = V.useRef([]), [a, s] = V.useState([]),
|
|
5937
|
-
i.current =
|
|
5938
|
-
}, []), l = (
|
|
5939
|
+
const i = V.useRef([]), [a, s] = V.useState([]), f = V.useCallback((b) => {
|
|
5940
|
+
i.current = b, s(b);
|
|
5941
|
+
}, []), l = (b, S = !1) => {
|
|
5939
5942
|
let L = [...i.current];
|
|
5940
|
-
|
|
5941
|
-
}, u = (
|
|
5942
|
-
let
|
|
5943
|
-
return i.current.length === 0 ? "/" : (i.current.length <=
|
|
5943
|
+
S && (L = L.slice(0, L.length - 1)), L = [...L, b], f(L);
|
|
5944
|
+
}, u = (b) => {
|
|
5945
|
+
let S = "", L = [];
|
|
5946
|
+
return i.current.length === 0 ? "/" : (i.current.length <= b ? (S = i.current[0], L = [S]) : (L = i.current.slice(
|
|
5944
5947
|
0,
|
|
5945
|
-
i.current.length -
|
|
5946
|
-
),
|
|
5947
|
-
},
|
|
5948
|
-
|
|
5949
|
-
},
|
|
5948
|
+
i.current.length - b
|
|
5949
|
+
), S = L[L.length - 1]), f(L), S);
|
|
5950
|
+
}, d = (b) => {
|
|
5951
|
+
f(b);
|
|
5952
|
+
}, g = t.map((b) => /* @__PURE__ */ X.jsx(pn, { path: b.path, element: b.render }));
|
|
5950
5953
|
return /* @__PURE__ */ X.jsx(
|
|
5951
5954
|
Sn.Provider,
|
|
5952
5955
|
{
|
|
@@ -5954,10 +5957,10 @@ const Sn = V.createContext({
|
|
|
5954
5957
|
history: a,
|
|
5955
5958
|
addToHistory: l,
|
|
5956
5959
|
popFromHistory: u,
|
|
5957
|
-
replaceHistory:
|
|
5960
|
+
replaceHistory: d
|
|
5958
5961
|
},
|
|
5959
5962
|
children: /* @__PURE__ */ X.jsx(Ro, { children: /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
5960
|
-
e && /* @__PURE__ */ X.jsx(ro, { children:
|
|
5963
|
+
e && /* @__PURE__ */ X.jsx(ro, { children: g }),
|
|
5961
5964
|
r
|
|
5962
5965
|
] }) })
|
|
5963
5966
|
}
|
|
@@ -5974,7 +5977,7 @@ const Sn = V.createContext({
|
|
|
5974
5977
|
), ms = ({ children: e }) => {
|
|
5975
5978
|
const t = V.useRef([]), [r, i] = V.useState([]), a = V.useCallback((u) => {
|
|
5976
5979
|
t.current = u, i(u);
|
|
5977
|
-
}, []), s = V.useCallback((u) => t.current.some((
|
|
5980
|
+
}, []), s = V.useCallback((u) => t.current.some((d) => d === u), []), f = V.useCallback(
|
|
5978
5981
|
(u) => {
|
|
5979
5982
|
s(u) || a([...t.current, u]);
|
|
5980
5983
|
},
|
|
@@ -5982,7 +5985,7 @@ const Sn = V.createContext({
|
|
|
5982
5985
|
), l = V.useCallback(
|
|
5983
5986
|
(u) => {
|
|
5984
5987
|
s(u) && a(
|
|
5985
|
-
t.current.filter((
|
|
5988
|
+
t.current.filter((g) => g !== u)
|
|
5986
5989
|
);
|
|
5987
5990
|
},
|
|
5988
5991
|
[s, a]
|
|
@@ -5993,7 +5996,7 @@ const Sn = V.createContext({
|
|
|
5993
5996
|
value: {
|
|
5994
5997
|
visibleItems: r,
|
|
5995
5998
|
isItemVisible: s,
|
|
5996
|
-
showItem:
|
|
5999
|
+
showItem: f,
|
|
5997
6000
|
hideItem: l
|
|
5998
6001
|
},
|
|
5999
6002
|
children: e
|
|
@@ -6018,39 +6021,39 @@ const Sn = V.createContext({
|
|
|
6018
6021
|
}) => {
|
|
6019
6022
|
const { isItemVisible: i } = Pt(), [a, s] = V.useState({
|
|
6020
6023
|
isDragging: !1
|
|
6021
|
-
}),
|
|
6024
|
+
}), f = V.useRef(null), l = V.useRef(null), u = V.useRef(null), [d, g] = V.useState(0), b = (P) => {
|
|
6022
6025
|
s(P);
|
|
6023
|
-
},
|
|
6024
|
-
s(P),
|
|
6026
|
+
}, S = (P) => {
|
|
6027
|
+
s(P), g(0);
|
|
6025
6028
|
};
|
|
6026
6029
|
return la({
|
|
6027
6030
|
ref: u,
|
|
6028
6031
|
onDrag: (P) => {
|
|
6029
6032
|
s(P);
|
|
6030
6033
|
const p = l.current?.clientHeight || 0;
|
|
6031
|
-
P.distanceY && (
|
|
6034
|
+
P.distanceY && (g(P.distanceY < 0 ? 0 : -P.distanceY), P.distanceY >= p - r && (t?.(), S(P)));
|
|
6032
6035
|
},
|
|
6033
|
-
onDragEnd:
|
|
6034
|
-
onDragStart:
|
|
6036
|
+
onDragEnd: S,
|
|
6037
|
+
onDragStart: b
|
|
6035
6038
|
}), {
|
|
6036
6039
|
isVisible: i(e),
|
|
6037
|
-
drawerParentRef:
|
|
6040
|
+
drawerParentRef: f,
|
|
6038
6041
|
drawerRef: l,
|
|
6039
|
-
drawerBottomDistance:
|
|
6042
|
+
drawerBottomDistance: d,
|
|
6040
6043
|
handleRef: u
|
|
6041
6044
|
};
|
|
6042
6045
|
}, vs = (e) => {
|
|
6043
6046
|
const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
|
|
6044
6047
|
isVisible: s,
|
|
6045
|
-
drawerParentRef:
|
|
6048
|
+
drawerParentRef: f,
|
|
6046
6049
|
drawerRef: l,
|
|
6047
6050
|
handleRef: u,
|
|
6048
|
-
drawerBottomDistance:
|
|
6051
|
+
drawerBottomDistance: d
|
|
6049
6052
|
} = No(e);
|
|
6050
6053
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
|
|
6051
6054
|
"div",
|
|
6052
6055
|
{
|
|
6053
|
-
ref:
|
|
6056
|
+
ref: f,
|
|
6054
6057
|
style: {
|
|
6055
6058
|
width: "100%",
|
|
6056
6059
|
height: "100%",
|
|
@@ -6084,11 +6087,11 @@ const Sn = V.createContext({
|
|
|
6084
6087
|
padding: "24px",
|
|
6085
6088
|
zIndex: 1001,
|
|
6086
6089
|
position: "absolute",
|
|
6087
|
-
bottom: `${
|
|
6090
|
+
bottom: `${d}px`,
|
|
6088
6091
|
...i
|
|
6089
6092
|
},
|
|
6090
|
-
onClick: (
|
|
6091
|
-
|
|
6093
|
+
onClick: (g) => {
|
|
6094
|
+
g.stopPropagation();
|
|
6092
6095
|
},
|
|
6093
6096
|
children: [
|
|
6094
6097
|
/* @__PURE__ */ X.jsx(
|
|
@@ -6120,68 +6123,68 @@ const Sn = V.createContext({
|
|
|
6120
6123
|
onSubmit: t,
|
|
6121
6124
|
configurations: r
|
|
6122
6125
|
}) => {
|
|
6123
|
-
const i = V.useRef(null), a = V.useRef(!1), s = (
|
|
6124
|
-
const
|
|
6125
|
-
(
|
|
6126
|
-
),
|
|
6127
|
-
for (const
|
|
6128
|
-
const L =
|
|
6129
|
-
|
|
6126
|
+
const i = V.useRef(null), a = V.useRef(!1), s = (d) => {
|
|
6127
|
+
const g = Array.from(d.currentTarget.elements).filter(
|
|
6128
|
+
(S) => !!S.getAttribute("name")
|
|
6129
|
+
), b = [];
|
|
6130
|
+
for (const S of g) {
|
|
6131
|
+
const L = S.name;
|
|
6132
|
+
b.push({
|
|
6130
6133
|
name: L,
|
|
6131
|
-
value:
|
|
6134
|
+
value: S.value
|
|
6132
6135
|
});
|
|
6133
6136
|
}
|
|
6134
|
-
return
|
|
6135
|
-
},
|
|
6137
|
+
return b;
|
|
6138
|
+
}, f = async (d) => {
|
|
6136
6139
|
try {
|
|
6137
|
-
const
|
|
6138
|
-
(L) => L.name ===
|
|
6140
|
+
const S = (r || []).find(
|
|
6141
|
+
(L) => L.name === d.name
|
|
6139
6142
|
);
|
|
6140
|
-
if (!
|
|
6141
|
-
return
|
|
6142
|
-
var
|
|
6143
|
-
if (
|
|
6144
|
-
return
|
|
6145
|
-
if (
|
|
6146
|
-
return
|
|
6147
|
-
if (
|
|
6148
|
-
return
|
|
6149
|
-
if (!isNaN(
|
|
6150
|
-
if (
|
|
6151
|
-
return
|
|
6152
|
-
if (
|
|
6153
|
-
return
|
|
6143
|
+
if (!S)
|
|
6144
|
+
return d;
|
|
6145
|
+
var g = d.value, b = d.value;
|
|
6146
|
+
if (S.emptyValidation && S.emptyValidation.allow === !1 && !g)
|
|
6147
|
+
return d.error = S.emptyValidation.errorMessage, d;
|
|
6148
|
+
if (S.minLengthValidation && g.length < S.minLengthValidation.value)
|
|
6149
|
+
return d.error = S.minLengthValidation.errorMessage, d;
|
|
6150
|
+
if (S.maxLengthValidation && g.length > S.maxLengthValidation.value)
|
|
6151
|
+
return d.error = S.maxLengthValidation.errorMessage, d;
|
|
6152
|
+
if (!isNaN(b)) {
|
|
6153
|
+
if (S.minValueValidation && b < S.minValueValidation.value)
|
|
6154
|
+
return d.error = S.minValueValidation.errorMessage, d;
|
|
6155
|
+
if (S.maxValueValidation && b > S.maxValueValidation.value)
|
|
6156
|
+
return d.error = S.maxValueValidation.errorMessage, d;
|
|
6154
6157
|
}
|
|
6155
|
-
if (
|
|
6156
|
-
return
|
|
6157
|
-
for (let L = 0; L < (
|
|
6158
|
-
const P = await
|
|
6158
|
+
if (S.exactValueValidation && S.exactValueValidation.value !== d.value)
|
|
6159
|
+
return d.error = S.exactValueValidation.errorMessage, d;
|
|
6160
|
+
for (let L = 0; L < (S.validations || []).length; L++) {
|
|
6161
|
+
const P = await S.validations?.[L](d.value);
|
|
6159
6162
|
if (P)
|
|
6160
|
-
return
|
|
6163
|
+
return d.error = P, d;
|
|
6161
6164
|
}
|
|
6162
|
-
} catch (
|
|
6163
|
-
console.error(`Form > Failed To Validate Field ${
|
|
6165
|
+
} catch (S) {
|
|
6166
|
+
console.error(`Form > Failed To Validate Field ${d.name}: `, S);
|
|
6164
6167
|
}
|
|
6165
|
-
return
|
|
6168
|
+
return d;
|
|
6166
6169
|
}, l = V.useCallback(
|
|
6167
|
-
async (
|
|
6170
|
+
async (d) => {
|
|
6168
6171
|
try {
|
|
6169
6172
|
if (a.current)
|
|
6170
6173
|
return;
|
|
6171
|
-
a.current = !0, e?.(),
|
|
6172
|
-
let
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
), a.current = !1, t?.(
|
|
6176
|
-
} catch (
|
|
6177
|
-
a.current = !1, console.error("Form > OnSubmit > Error submitting: ",
|
|
6174
|
+
a.current = !0, e?.(), d.preventDefault(), d.stopPropagation();
|
|
6175
|
+
let g = s(d);
|
|
6176
|
+
g = await Promise.all(
|
|
6177
|
+
g.map(async (b) => await f(b))
|
|
6178
|
+
), a.current = !1, t?.(g);
|
|
6179
|
+
} catch (g) {
|
|
6180
|
+
a.current = !1, console.error("Form > OnSubmit > Error submitting: ", g);
|
|
6178
6181
|
}
|
|
6179
6182
|
},
|
|
6180
6183
|
[t, e]
|
|
6181
6184
|
);
|
|
6182
6185
|
return {
|
|
6183
6186
|
ref: i,
|
|
6184
|
-
submitForm: (
|
|
6187
|
+
submitForm: (d) => {
|
|
6185
6188
|
i.current && i.current.requestSubmit();
|
|
6186
6189
|
},
|
|
6187
6190
|
handleFormSubmission: l
|
|
@@ -6202,12 +6205,12 @@ const Sn = V.createContext({
|
|
|
6202
6205
|
pointer-events: none;
|
|
6203
6206
|
}
|
|
6204
6207
|
`, gs = (e) => {
|
|
6205
|
-
const { children: t, styles: r, childrenStyles: i, submitButton: a } = e, { ref: s, handleFormSubmission:
|
|
6208
|
+
const { children: t, styles: r, childrenStyles: i, submitButton: a } = e, { ref: s, handleFormSubmission: f, submitForm: l } = Fo(e);
|
|
6206
6209
|
return /* @__PURE__ */ X.jsxs(
|
|
6207
6210
|
"form",
|
|
6208
6211
|
{
|
|
6209
6212
|
ref: s,
|
|
6210
|
-
onSubmit:
|
|
6213
|
+
onSubmit: f,
|
|
6211
6214
|
style: {
|
|
6212
6215
|
width: "100%",
|
|
6213
6216
|
display: "flex",
|
|
@@ -6295,13 +6298,13 @@ const Sn = V.createContext({
|
|
|
6295
6298
|
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Uo(e), {
|
|
6296
6299
|
name: a,
|
|
6297
6300
|
label: s,
|
|
6298
|
-
leftIcon:
|
|
6301
|
+
leftIcon: f,
|
|
6299
6302
|
rightIcon: l,
|
|
6300
6303
|
bottomMessage: u,
|
|
6301
|
-
placeHolder:
|
|
6302
|
-
autoComplete:
|
|
6303
|
-
value:
|
|
6304
|
-
initialValue:
|
|
6304
|
+
placeHolder: d,
|
|
6305
|
+
autoComplete: g = "off",
|
|
6306
|
+
value: b,
|
|
6307
|
+
initialValue: S,
|
|
6305
6308
|
type: L = "text",
|
|
6306
6309
|
maxLength: P,
|
|
6307
6310
|
inputStyles: p,
|
|
@@ -6346,18 +6349,18 @@ const Sn = V.createContext({
|
|
|
6346
6349
|
...I
|
|
6347
6350
|
},
|
|
6348
6351
|
children: [
|
|
6349
|
-
|
|
6352
|
+
f,
|
|
6350
6353
|
/* @__PURE__ */ X.jsx(
|
|
6351
6354
|
"input",
|
|
6352
6355
|
{
|
|
6353
6356
|
name: a,
|
|
6354
6357
|
type: L,
|
|
6355
|
-
autoComplete:
|
|
6358
|
+
autoComplete: g,
|
|
6356
6359
|
step: F,
|
|
6357
6360
|
maxLength: P,
|
|
6358
|
-
placeholder:
|
|
6359
|
-
value:
|
|
6360
|
-
defaultValue:
|
|
6361
|
+
placeholder: d,
|
|
6362
|
+
value: b,
|
|
6363
|
+
defaultValue: S,
|
|
6361
6364
|
onChange: t,
|
|
6362
6365
|
onFocus: i,
|
|
6363
6366
|
onBlur: r,
|
|
@@ -6457,8 +6460,8 @@ const Sn = V.createContext({
|
|
|
6457
6460
|
padding: "24px",
|
|
6458
6461
|
...i
|
|
6459
6462
|
},
|
|
6460
|
-
onClick: (
|
|
6461
|
-
|
|
6463
|
+
onClick: (f) => {
|
|
6464
|
+
f.stopPropagation();
|
|
6462
6465
|
},
|
|
6463
6466
|
children: t
|
|
6464
6467
|
}
|
|
@@ -6467,7 +6470,7 @@ const Sn = V.createContext({
|
|
|
6467
6470
|
) });
|
|
6468
6471
|
}, qo = (e) => {
|
|
6469
6472
|
const t = Cn(""), r = ve(
|
|
6470
|
-
(l) => (e.allowNegatives ? (l = l.replace(/-/g, (u,
|
|
6473
|
+
(l) => (e.allowNegatives ? (l = l.replace(/-/g, (u, d) => d === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l),
|
|
6471
6474
|
[e]
|
|
6472
6475
|
), i = ve(
|
|
6473
6476
|
(l) => {
|
|
@@ -6475,9 +6478,9 @@ const Sn = V.createContext({
|
|
|
6475
6478
|
l.startsWith(".") && (l = "0" + l), l.length === 2 && l[0] === "-" && l[1] === "." && (l = "-");
|
|
6476
6479
|
const u = l.indexOf(".");
|
|
6477
6480
|
u !== -1 && (l = l.slice(0, u + 1) + l.slice(u + 1).replace(/\./g, ""));
|
|
6478
|
-
const [
|
|
6479
|
-
let L =
|
|
6480
|
-
e.decimalScale !== void 0 && (L.length > e.decimalScale ? L = P : L = L.slice(0, e.decimalScale)), l = L || l.endsWith(".") ? `${
|
|
6481
|
+
const [d, ...g] = l.split("."), [b, ...S] = t.current.split(".");
|
|
6482
|
+
let L = g.join(""), P = S.join("");
|
|
6483
|
+
e.decimalScale !== void 0 && (L.length > e.decimalScale ? L = P : L = L.slice(0, e.decimalScale)), l = L || l.endsWith(".") ? `${d}.${L}` : d;
|
|
6481
6484
|
} else
|
|
6482
6485
|
l = l.replace(/\./g, "");
|
|
6483
6486
|
return l;
|
|
@@ -6486,17 +6489,17 @@ const Sn = V.createContext({
|
|
|
6486
6489
|
), a = ve(
|
|
6487
6490
|
(l) => {
|
|
6488
6491
|
const u = Number(l);
|
|
6489
|
-
var
|
|
6490
|
-
return
|
|
6492
|
+
var d = e.max;
|
|
6493
|
+
return d === void 0 && (d = e.maxLength ? Number("9".repeat(e.maxLength)) : void 0), !isNaN(u) && (e.min !== void 0 && u < e.min || d !== void 0 && u > d) ? t.current ?? l : l;
|
|
6491
6494
|
},
|
|
6492
6495
|
[e]
|
|
6493
6496
|
), s = ve(
|
|
6494
6497
|
(l) => {
|
|
6495
|
-
const u = l.target,
|
|
6496
|
-
let
|
|
6497
|
-
|
|
6498
|
-
const
|
|
6499
|
-
u.value =
|
|
6498
|
+
const u = l.target, d = u.selectionStart ?? 0, g = u.selectionEnd ?? 0;
|
|
6499
|
+
let b = u.value;
|
|
6500
|
+
b = b.replace(/[^0-9\.\-]/g, ""), b = r(b), b = i(b), b = a(b);
|
|
6501
|
+
const S = b.length - u.value.length;
|
|
6502
|
+
u.value = b, u.setSelectionRange(d + S, g + S), t.current = b;
|
|
6500
6503
|
},
|
|
6501
6504
|
[r, i, a]
|
|
6502
6505
|
);
|
|
@@ -6522,13 +6525,13 @@ const Sn = V.createContext({
|
|
|
6522
6525
|
});
|
|
6523
6526
|
return /* @__PURE__ */ X.jsx(Vo, { type: "text", ...a });
|
|
6524
6527
|
}, Bo = (e) => {
|
|
6525
|
-
const t = V.useRef(null), r = V.useRef(null), [i, a] = V.useState(24), [s,
|
|
6528
|
+
const t = V.useRef(null), r = V.useRef(null), [i, a] = V.useState(24), [s, f] = V.useState(24), l = V.useCallback(() => {
|
|
6526
6529
|
t.current && a(t.current.clientHeight);
|
|
6527
6530
|
}, [t, t.current]), u = V.useCallback(() => {
|
|
6528
|
-
r.current &&
|
|
6529
|
-
}, [r, r.current]),
|
|
6530
|
-
let
|
|
6531
|
-
return e.header?.visibility === "always" && (
|
|
6531
|
+
r.current && f(r.current.clientHeight);
|
|
6532
|
+
}, [r, r.current]), d = V.useCallback(() => {
|
|
6533
|
+
let g = 0;
|
|
6534
|
+
return e.header?.visibility === "always" && (g = g + (i || 0)), e.footer?.visibility === "always" && (g = g + (s || 0)), g;
|
|
6532
6535
|
}, [r, r.current]);
|
|
6533
6536
|
return V.useEffect(() => {
|
|
6534
6537
|
l();
|
|
@@ -6548,7 +6551,7 @@ const Sn = V.createContext({
|
|
|
6548
6551
|
ref: r
|
|
6549
6552
|
},
|
|
6550
6553
|
page: {
|
|
6551
|
-
extraHeight:
|
|
6554
|
+
extraHeight: d()
|
|
6552
6555
|
}
|
|
6553
6556
|
};
|
|
6554
6557
|
}, Xo = Ee.div`
|
|
@@ -6578,7 +6581,7 @@ const Sn = V.createContext({
|
|
|
6578
6581
|
children: i,
|
|
6579
6582
|
allowScroll: a = !0,
|
|
6580
6583
|
floatingContent: s,
|
|
6581
|
-
reserveSpaceForScrollbar:
|
|
6584
|
+
reserveSpaceForScrollbar: f
|
|
6582
6585
|
} = e, { footer: l, header: u } = Bo(e);
|
|
6583
6586
|
return /* @__PURE__ */ X.jsxs(
|
|
6584
6587
|
Xo,
|
|
@@ -6633,7 +6636,7 @@ const Sn = V.createContext({
|
|
|
6633
6636
|
flexDirection: "column",
|
|
6634
6637
|
flex: 1,
|
|
6635
6638
|
minHeight: "100%",
|
|
6636
|
-
scrollbarGutter:
|
|
6639
|
+
scrollbarGutter: f ? "stable" : void 0,
|
|
6637
6640
|
paddingLeft: "0px",
|
|
6638
6641
|
paddingRight: "0px",
|
|
6639
6642
|
paddingTop: `${u.height}px`,
|
|
@@ -6724,7 +6727,7 @@ function Jo() {
|
|
|
6724
6727
|
(function(r, i) {
|
|
6725
6728
|
e.exports = i();
|
|
6726
6729
|
})(Ko, function() {
|
|
6727
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond",
|
|
6730
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", f = "second", l = "minute", u = "hour", d = "day", g = "week", b = "month", S = "quarter", L = "year", P = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
|
|
6728
6731
|
var E = ["th", "st", "nd", "rd"], j = T % 100;
|
|
6729
6732
|
return "[" + T + (E[(j - 20) % 10] || E[j] || E[0]) + "]";
|
|
6730
6733
|
} }, U = function(T, E, j) {
|
|
@@ -6735,31 +6738,31 @@ function Jo() {
|
|
|
6735
6738
|
return (E <= 0 ? "+" : "-") + U(o, 2, "0") + ":" + U(H, 2, "0");
|
|
6736
6739
|
}, m: function T(E, j) {
|
|
6737
6740
|
if (E.date() < j.date()) return -T(j, E);
|
|
6738
|
-
var o = 12 * (j.year() - E.year()) + (j.month() - E.month()), H = E.clone().add(o,
|
|
6741
|
+
var o = 12 * (j.year() - E.year()) + (j.month() - E.month()), H = E.clone().add(o, b), m = j - H < 0, n = E.clone().add(o + (m ? -1 : 1), b);
|
|
6739
6742
|
return +(-(o + (j - H) / (m ? H - n : n - H)) || 0);
|
|
6740
6743
|
}, a: function(T) {
|
|
6741
6744
|
return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
|
|
6742
6745
|
}, p: function(T) {
|
|
6743
|
-
return { M:
|
|
6746
|
+
return { M: b, y: L, w: g, d, D: P, h: u, m: l, s: f, ms: s, Q: S }[T] || String(T || "").toLowerCase().replace(/s$/, "");
|
|
6744
6747
|
}, u: function(T) {
|
|
6745
6748
|
return T === void 0;
|
|
6746
|
-
} },
|
|
6747
|
-
|
|
6748
|
-
var
|
|
6749
|
-
return T instanceof A || !(!T || !T[
|
|
6749
|
+
} }, v = "en", w = {};
|
|
6750
|
+
w[v] = F;
|
|
6751
|
+
var x = "$isDayjsObject", R = function(T) {
|
|
6752
|
+
return T instanceof A || !(!T || !T[x]);
|
|
6750
6753
|
}, y = function T(E, j, o) {
|
|
6751
6754
|
var H;
|
|
6752
|
-
if (!E) return
|
|
6755
|
+
if (!E) return v;
|
|
6753
6756
|
if (typeof E == "string") {
|
|
6754
6757
|
var m = E.toLowerCase();
|
|
6755
|
-
|
|
6758
|
+
w[m] && (H = m), j && (w[m] = j, H = m);
|
|
6756
6759
|
var n = E.split("-");
|
|
6757
6760
|
if (!H && n.length > 1) return T(n[0]);
|
|
6758
6761
|
} else {
|
|
6759
|
-
var
|
|
6760
|
-
|
|
6762
|
+
var c = E.name;
|
|
6763
|
+
w[c] = E, H = c;
|
|
6761
6764
|
}
|
|
6762
|
-
return !o && H && (
|
|
6765
|
+
return !o && H && (v = H), H || !o && v;
|
|
6763
6766
|
}, h = function(T, E) {
|
|
6764
6767
|
if (R(T)) return T.clone();
|
|
6765
6768
|
var j = typeof E == "object" ? E : {};
|
|
@@ -6770,7 +6773,7 @@ function Jo() {
|
|
|
6770
6773
|
};
|
|
6771
6774
|
var A = function() {
|
|
6772
6775
|
function T(j) {
|
|
6773
|
-
this.$L = y(j.locale, null, !0), this.parse(j), this.$x = this.$x || j.x || {}, this[
|
|
6776
|
+
this.$L = y(j.locale, null, !0), this.parse(j), this.$x = this.$x || j.x || {}, this[x] = !0;
|
|
6774
6777
|
}
|
|
6775
6778
|
var E = T.prototype;
|
|
6776
6779
|
return E.parse = function(j) {
|
|
@@ -6782,8 +6785,8 @@ function Jo() {
|
|
|
6782
6785
|
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
6783
6786
|
var n = H.match(I);
|
|
6784
6787
|
if (n) {
|
|
6785
|
-
var
|
|
6786
|
-
return m ? new Date(Date.UTC(n[1],
|
|
6788
|
+
var c = n[2] - 1 || 0, O = (n[7] || "0").substring(0, 3);
|
|
6789
|
+
return m ? new Date(Date.UTC(n[1], c, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, O)) : new Date(n[1], c, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, O);
|
|
6787
6790
|
}
|
|
6788
6791
|
}
|
|
6789
6792
|
return new Date(H);
|
|
@@ -6809,28 +6812,28 @@ function Jo() {
|
|
|
6809
6812
|
}, E.valueOf = function() {
|
|
6810
6813
|
return this.$d.getTime();
|
|
6811
6814
|
}, E.startOf = function(j, o) {
|
|
6812
|
-
var H = this, m = !!C.u(o) || o, n = C.p(j),
|
|
6815
|
+
var H = this, m = !!C.u(o) || o, n = C.p(j), c = function(K, G) {
|
|
6813
6816
|
var J = C.w(H.$u ? Date.UTC(H.$y, G, K) : new Date(H.$y, G, K), H);
|
|
6814
|
-
return m ? J : J.endOf(
|
|
6817
|
+
return m ? J : J.endOf(d);
|
|
6815
6818
|
}, O = function(K, G) {
|
|
6816
6819
|
return C.w(H.toDate()[K].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), H);
|
|
6817
6820
|
}, $ = this.$W, D = this.$M, z = this.$D, N = "set" + (this.$u ? "UTC" : "");
|
|
6818
6821
|
switch (n) {
|
|
6819
6822
|
case L:
|
|
6820
|
-
return m ?
|
|
6821
|
-
case
|
|
6822
|
-
return m ?
|
|
6823
|
-
case
|
|
6823
|
+
return m ? c(1, 0) : c(31, 11);
|
|
6824
|
+
case b:
|
|
6825
|
+
return m ? c(1, D) : c(0, D + 1);
|
|
6826
|
+
case g:
|
|
6824
6827
|
var W = this.$locale().weekStart || 0, B = ($ < W ? $ + 7 : $) - W;
|
|
6825
|
-
return
|
|
6826
|
-
case
|
|
6828
|
+
return c(m ? z - B : z + (6 - B), D);
|
|
6829
|
+
case d:
|
|
6827
6830
|
case P:
|
|
6828
6831
|
return O(N + "Hours", 0);
|
|
6829
6832
|
case u:
|
|
6830
6833
|
return O(N + "Minutes", 1);
|
|
6831
6834
|
case l:
|
|
6832
6835
|
return O(N + "Seconds", 2);
|
|
6833
|
-
case
|
|
6836
|
+
case f:
|
|
6834
6837
|
return O(N + "Milliseconds", 3);
|
|
6835
6838
|
default:
|
|
6836
6839
|
return this.clone();
|
|
@@ -6838,11 +6841,11 @@ function Jo() {
|
|
|
6838
6841
|
}, E.endOf = function(j) {
|
|
6839
6842
|
return this.startOf(j, !1);
|
|
6840
6843
|
}, E.$set = function(j, o) {
|
|
6841
|
-
var H, m = C.p(j), n = "set" + (this.$u ? "UTC" : ""),
|
|
6842
|
-
if (m ===
|
|
6844
|
+
var H, m = C.p(j), n = "set" + (this.$u ? "UTC" : ""), c = (H = {}, H[d] = n + "Date", H[P] = n + "Date", H[b] = n + "Month", H[L] = n + "FullYear", H[u] = n + "Hours", H[l] = n + "Minutes", H[f] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], O = m === d ? this.$D + (o - this.$W) : o;
|
|
6845
|
+
if (m === b || m === L) {
|
|
6843
6846
|
var $ = this.clone().set(P, 1);
|
|
6844
|
-
$.$d[
|
|
6845
|
-
} else
|
|
6847
|
+
$.$d[c](O), $.init(), this.$d = $.set(P, Math.min(this.$D, $.daysInMonth())).$d;
|
|
6848
|
+
} else c && this.$d[c](O);
|
|
6846
6849
|
return this.init(), this;
|
|
6847
6850
|
}, E.set = function(j, o) {
|
|
6848
6851
|
return this.clone().$set(j, o);
|
|
@@ -6851,25 +6854,25 @@ function Jo() {
|
|
|
6851
6854
|
}, E.add = function(j, o) {
|
|
6852
6855
|
var H, m = this;
|
|
6853
6856
|
j = Number(j);
|
|
6854
|
-
var n = C.p(o),
|
|
6857
|
+
var n = C.p(o), c = function(D) {
|
|
6855
6858
|
var z = h(m);
|
|
6856
6859
|
return C.w(z.date(z.date() + Math.round(D * j)), m);
|
|
6857
6860
|
};
|
|
6858
|
-
if (n ===
|
|
6861
|
+
if (n === b) return this.set(b, this.$M + j);
|
|
6859
6862
|
if (n === L) return this.set(L, this.$y + j);
|
|
6860
|
-
if (n ===
|
|
6861
|
-
if (n ===
|
|
6862
|
-
var O = (H = {}, H[l] = i, H[u] = a, H[
|
|
6863
|
+
if (n === d) return c(1);
|
|
6864
|
+
if (n === g) return c(7);
|
|
6865
|
+
var O = (H = {}, H[l] = i, H[u] = a, H[f] = r, H)[n] || 1, $ = this.$d.getTime() + j * O;
|
|
6863
6866
|
return C.w($, this);
|
|
6864
6867
|
}, E.subtract = function(j, o) {
|
|
6865
6868
|
return this.add(-1 * j, o);
|
|
6866
6869
|
}, E.format = function(j) {
|
|
6867
6870
|
var o = this, H = this.$locale();
|
|
6868
6871
|
if (!this.isValid()) return H.invalidDate || p;
|
|
6869
|
-
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this),
|
|
6872
|
+
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this), c = this.$H, O = this.$m, $ = this.$M, D = H.weekdays, z = H.months, N = H.meridiem, W = function(G, J, te, Z) {
|
|
6870
6873
|
return G && (G[J] || G(o, m)) || te[J].slice(0, Z);
|
|
6871
6874
|
}, B = function(G) {
|
|
6872
|
-
return C.s(
|
|
6875
|
+
return C.s(c % 12 || 12, G, "0");
|
|
6873
6876
|
}, K = N || function(G, J, te) {
|
|
6874
6877
|
var Z = G < 12 ? "AM" : "PM";
|
|
6875
6878
|
return te ? Z.toLowerCase() : Z;
|
|
@@ -6902,17 +6905,17 @@ function Jo() {
|
|
|
6902
6905
|
case "dddd":
|
|
6903
6906
|
return D[o.$W];
|
|
6904
6907
|
case "H":
|
|
6905
|
-
return String(
|
|
6908
|
+
return String(c);
|
|
6906
6909
|
case "HH":
|
|
6907
|
-
return C.s(
|
|
6910
|
+
return C.s(c, 2, "0");
|
|
6908
6911
|
case "h":
|
|
6909
6912
|
return B(1);
|
|
6910
6913
|
case "hh":
|
|
6911
6914
|
return B(2);
|
|
6912
6915
|
case "a":
|
|
6913
|
-
return K(
|
|
6916
|
+
return K(c, O, !0);
|
|
6914
6917
|
case "A":
|
|
6915
|
-
return K(
|
|
6918
|
+
return K(c, O, !1);
|
|
6916
6919
|
case "m":
|
|
6917
6920
|
return String(O);
|
|
6918
6921
|
case "mm":
|
|
@@ -6932,23 +6935,23 @@ function Jo() {
|
|
|
6932
6935
|
}, E.utcOffset = function() {
|
|
6933
6936
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6934
6937
|
}, E.diff = function(j, o, H) {
|
|
6935
|
-
var m, n = this,
|
|
6938
|
+
var m, n = this, c = C.p(o), O = h(j), $ = (O.utcOffset() - this.utcOffset()) * i, D = this - O, z = function() {
|
|
6936
6939
|
return C.m(n, O);
|
|
6937
6940
|
};
|
|
6938
|
-
switch (
|
|
6941
|
+
switch (c) {
|
|
6939
6942
|
case L:
|
|
6940
6943
|
m = z() / 12;
|
|
6941
6944
|
break;
|
|
6942
|
-
case
|
|
6945
|
+
case b:
|
|
6943
6946
|
m = z();
|
|
6944
6947
|
break;
|
|
6945
|
-
case
|
|
6948
|
+
case S:
|
|
6946
6949
|
m = z() / 3;
|
|
6947
6950
|
break;
|
|
6948
|
-
case
|
|
6951
|
+
case g:
|
|
6949
6952
|
m = (D - $) / 6048e5;
|
|
6950
6953
|
break;
|
|
6951
|
-
case
|
|
6954
|
+
case d:
|
|
6952
6955
|
m = (D - $) / 864e5;
|
|
6953
6956
|
break;
|
|
6954
6957
|
case u:
|
|
@@ -6957,7 +6960,7 @@ function Jo() {
|
|
|
6957
6960
|
case l:
|
|
6958
6961
|
m = D / i;
|
|
6959
6962
|
break;
|
|
6960
|
-
case
|
|
6963
|
+
case f:
|
|
6961
6964
|
m = D / r;
|
|
6962
6965
|
break;
|
|
6963
6966
|
default:
|
|
@@ -6965,9 +6968,9 @@ function Jo() {
|
|
|
6965
6968
|
}
|
|
6966
6969
|
return H ? m : C.a(m);
|
|
6967
6970
|
}, E.daysInMonth = function() {
|
|
6968
|
-
return this.endOf(
|
|
6971
|
+
return this.endOf(b).$D;
|
|
6969
6972
|
}, E.$locale = function() {
|
|
6970
|
-
return
|
|
6973
|
+
return w[this.$L];
|
|
6971
6974
|
}, E.locale = function(j, o) {
|
|
6972
6975
|
if (!j) return this.$L;
|
|
6973
6976
|
var H = this.clone(), m = y(j, o, !0);
|
|
@@ -6984,7 +6987,7 @@ function Jo() {
|
|
|
6984
6987
|
return this.$d.toUTCString();
|
|
6985
6988
|
}, T;
|
|
6986
6989
|
}(), _ = A.prototype;
|
|
6987
|
-
return h.prototype = _, [["$ms", s], ["$s",
|
|
6990
|
+
return h.prototype = _, [["$ms", s], ["$s", f], ["$m", l], ["$H", u], ["$W", d], ["$M", b], ["$y", L], ["$D", P]].forEach(function(T) {
|
|
6988
6991
|
_[T[1]] = function(E) {
|
|
6989
6992
|
return this.$g(E, T[0], T[1]);
|
|
6990
6993
|
};
|
|
@@ -6992,7 +6995,7 @@ function Jo() {
|
|
|
6992
6995
|
return T.$i || (T(E, A, h), T.$i = !0), h;
|
|
6993
6996
|
}, h.locale = y, h.isDayjs = R, h.unix = function(T) {
|
|
6994
6997
|
return h(1e3 * T);
|
|
6995
|
-
}, h.en =
|
|
6998
|
+
}, h.en = w[v], h.Ls = w, h.p = {}, h;
|
|
6996
6999
|
});
|
|
6997
7000
|
}(ft)), ft.exports;
|
|
6998
7001
|
}
|
|
@@ -7005,37 +7008,37 @@ function es() {
|
|
|
7005
7008
|
e.exports = i();
|
|
7006
7009
|
})(Qo, function() {
|
|
7007
7010
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
7008
|
-
return function(s,
|
|
7009
|
-
var u =
|
|
7011
|
+
return function(s, f, l) {
|
|
7012
|
+
var u = f.prototype;
|
|
7010
7013
|
l.utc = function(p) {
|
|
7011
7014
|
var I = { date: p, utc: !0, args: arguments };
|
|
7012
|
-
return new
|
|
7015
|
+
return new f(I);
|
|
7013
7016
|
}, u.utc = function(p) {
|
|
7014
7017
|
var I = l(this.toDate(), { locale: this.$L, utc: !0 });
|
|
7015
7018
|
return p ? I.add(this.utcOffset(), r) : I;
|
|
7016
7019
|
}, u.local = function() {
|
|
7017
7020
|
return l(this.toDate(), { locale: this.$L, utc: !1 });
|
|
7018
7021
|
};
|
|
7019
|
-
var
|
|
7022
|
+
var d = u.parse;
|
|
7020
7023
|
u.parse = function(p) {
|
|
7021
|
-
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset),
|
|
7024
|
+
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), d.call(this, p);
|
|
7022
7025
|
};
|
|
7023
|
-
var
|
|
7026
|
+
var g = u.init;
|
|
7024
7027
|
u.init = function() {
|
|
7025
7028
|
if (this.$u) {
|
|
7026
7029
|
var p = this.$d;
|
|
7027
7030
|
this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
|
|
7028
|
-
} else
|
|
7031
|
+
} else g.call(this);
|
|
7029
7032
|
};
|
|
7030
|
-
var
|
|
7033
|
+
var b = u.utcOffset;
|
|
7031
7034
|
u.utcOffset = function(p, I) {
|
|
7032
7035
|
var k = this.$utils().u;
|
|
7033
|
-
if (k(p)) return this.$u ? 0 : k(this.$offset) ?
|
|
7034
|
-
if (typeof p == "string" && (p = function(
|
|
7035
|
-
|
|
7036
|
-
var
|
|
7037
|
-
if (!
|
|
7038
|
-
var
|
|
7036
|
+
if (k(p)) return this.$u ? 0 : k(this.$offset) ? b.call(this) : this.$offset;
|
|
7037
|
+
if (typeof p == "string" && (p = function(v) {
|
|
7038
|
+
v === void 0 && (v = "");
|
|
7039
|
+
var w = v.match(i);
|
|
7040
|
+
if (!w) return null;
|
|
7041
|
+
var x = ("" + w[0]).match(a) || ["-", 0, 0], R = x[0], y = 60 * +x[1] + +x[2];
|
|
7039
7042
|
return y === 0 ? 0 : R === "+" ? y : -y;
|
|
7040
7043
|
}(p), p === null)) return this;
|
|
7041
7044
|
var F = Math.abs(p) <= 16 ? 60 * p : p;
|
|
@@ -7045,10 +7048,10 @@ function es() {
|
|
|
7045
7048
|
var q = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
7046
7049
|
return (U = this.local().add(F + q, r)).$offset = F, U.$x.$localOffset = q, U;
|
|
7047
7050
|
};
|
|
7048
|
-
var
|
|
7051
|
+
var S = u.format;
|
|
7049
7052
|
u.format = function(p) {
|
|
7050
7053
|
var I = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
7051
|
-
return
|
|
7054
|
+
return S.call(this, I);
|
|
7052
7055
|
}, u.valueOf = function() {
|
|
7053
7056
|
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
7054
7057
|
return this.$d.valueOf() - 6e4 * p;
|
|
@@ -7098,12 +7101,12 @@ class Cs {
|
|
|
7098
7101
|
static isSameDate = (t, r) => t?.getFullYear() === r?.getFullYear() && t?.getMonth() === r?.getMonth() && t?.getDate() === r?.getDate();
|
|
7099
7102
|
static getDateInUTC = (t) => {
|
|
7100
7103
|
try {
|
|
7101
|
-
const r = dt.utc(t), i = r.date(), a = r.month(), s = r.year(),
|
|
7104
|
+
const r = dt.utc(t), i = r.date(), a = r.month(), s = r.year(), f = r.hour(), l = r.minute(), u = r.day();
|
|
7102
7105
|
return {
|
|
7103
7106
|
day: i,
|
|
7104
7107
|
month: a,
|
|
7105
7108
|
year: s,
|
|
7106
|
-
hour:
|
|
7109
|
+
hour: f,
|
|
7107
7110
|
minute: l,
|
|
7108
7111
|
weekday: u
|
|
7109
7112
|
};
|
|
@@ -7154,7 +7157,7 @@ const Es = ({
|
|
|
7154
7157
|
customCheckedRender: a,
|
|
7155
7158
|
customUncheckedRender: s
|
|
7156
7159
|
}) => {
|
|
7157
|
-
const
|
|
7160
|
+
const f = e ? { ...r, ...i } : { ...r };
|
|
7158
7161
|
return /* @__PURE__ */ X.jsxs(
|
|
7159
7162
|
"div",
|
|
7160
7163
|
{
|
|
@@ -7172,7 +7175,7 @@ const Es = ({
|
|
|
7172
7175
|
alignItems: "center",
|
|
7173
7176
|
justifyContent: "center",
|
|
7174
7177
|
display: "flex",
|
|
7175
|
-
...
|
|
7178
|
+
...f
|
|
7176
7179
|
},
|
|
7177
7180
|
children: [
|
|
7178
7181
|
e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
@@ -7200,7 +7203,7 @@ const Es = ({
|
|
|
7200
7203
|
stroke: i,
|
|
7201
7204
|
viewBox: a = "0 0 22 28",
|
|
7202
7205
|
fill: s = "#000000",
|
|
7203
|
-
alt:
|
|
7206
|
+
alt: f = "",
|
|
7204
7207
|
onClick: l,
|
|
7205
7208
|
styles: u
|
|
7206
7209
|
}) => /* @__PURE__ */ X.jsx(
|
|
@@ -7260,21 +7263,21 @@ const Es = ({
|
|
|
7260
7263
|
rightIcon: i,
|
|
7261
7264
|
bottomMessage: a,
|
|
7262
7265
|
placeHolder: s,
|
|
7263
|
-
value:
|
|
7266
|
+
value: f,
|
|
7264
7267
|
initialValue: l,
|
|
7265
7268
|
onChange: u,
|
|
7266
|
-
onFocus:
|
|
7267
|
-
onBlur:
|
|
7268
|
-
inputStyles:
|
|
7269
|
-
containerStyles:
|
|
7269
|
+
onFocus: d,
|
|
7270
|
+
onBlur: g,
|
|
7271
|
+
inputStyles: b,
|
|
7272
|
+
containerStyles: S,
|
|
7270
7273
|
styles: L
|
|
7271
7274
|
}) => {
|
|
7272
7275
|
const P = (k) => {
|
|
7273
7276
|
u?.(k.currentTarget.value);
|
|
7274
7277
|
}, p = (k) => {
|
|
7275
|
-
k.preventDefault(), k.stopPropagation(),
|
|
7278
|
+
k.preventDefault(), k.stopPropagation(), d?.();
|
|
7276
7279
|
}, I = (k) => {
|
|
7277
|
-
|
|
7280
|
+
g?.();
|
|
7278
7281
|
};
|
|
7279
7282
|
return /* @__PURE__ */ X.jsxs(
|
|
7280
7283
|
ns,
|
|
@@ -7304,7 +7307,7 @@ const Es = ({
|
|
|
7304
7307
|
outline: "none",
|
|
7305
7308
|
alignItems: "flex-start",
|
|
7306
7309
|
gap: "10px",
|
|
7307
|
-
...
|
|
7310
|
+
...S
|
|
7308
7311
|
},
|
|
7309
7312
|
children: [
|
|
7310
7313
|
r,
|
|
@@ -7325,10 +7328,10 @@ const Es = ({
|
|
|
7325
7328
|
outline: "inherit",
|
|
7326
7329
|
background: "none",
|
|
7327
7330
|
minHeight: "47px",
|
|
7328
|
-
...
|
|
7331
|
+
...b
|
|
7329
7332
|
},
|
|
7330
7333
|
placeholder: s,
|
|
7331
|
-
value:
|
|
7334
|
+
value: f,
|
|
7332
7335
|
defaultValue: l,
|
|
7333
7336
|
onChange: P,
|
|
7334
7337
|
onFocus: p,
|
|
@@ -7349,11 +7352,11 @@ const Es = ({
|
|
|
7349
7352
|
styles: r,
|
|
7350
7353
|
durationInSeconds: i = 3
|
|
7351
7354
|
}) => {
|
|
7352
|
-
const a = V.useRef(!1), { isItemVisible: s, hideItem:
|
|
7355
|
+
const a = V.useRef(!1), { isItemVisible: s, hideItem: f } = Pt();
|
|
7353
7356
|
return V.useEffect(() => {
|
|
7354
7357
|
const l = s(e);
|
|
7355
|
-
a.current !== l && (a.current = l, l && setTimeout(() =>
|
|
7356
|
-
}, [a, s,
|
|
7358
|
+
a.current !== l && (a.current = l, l && setTimeout(() => f(e), i * 1e3));
|
|
7359
|
+
}, [a, s, f]), /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
7357
7360
|
"div",
|
|
7358
7361
|
{
|
|
7359
7362
|
style: {
|