@eliseubatista99/react-scaffold-core 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/objectsHelper/objectsHelper.d.ts +1 -1
- package/dist/index.cjs.js +13 -13
- package/dist/index.es.js +828 -838
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as M from "react";
|
|
2
|
-
import V, { forwardRef as
|
|
3
|
-
var
|
|
2
|
+
import V, { forwardRef as Pn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as ve, useRef as Cn } from "react";
|
|
3
|
+
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function Vt(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function En(e) {
|
|
8
8
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
9
9
|
var t = e.default;
|
|
10
10
|
if (typeof t == "function") {
|
|
@@ -28,7 +28,7 @@ function Rn(e) {
|
|
|
28
28
|
});
|
|
29
29
|
}), r;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var nt = { exports: {} }, He = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.production.js
|
|
@@ -39,13 +39,13 @@ var it = { exports: {} }, He = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var rr;
|
|
42
|
-
function
|
|
42
|
+
function Rn() {
|
|
43
43
|
if (rr) return He;
|
|
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 d = null;
|
|
48
|
+
if (s !== void 0 && (d = "" + s), a.key !== void 0 && (d = "" + 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 _n() {
|
|
|
53
53
|
return a = s.ref, {
|
|
54
54
|
$$typeof: e,
|
|
55
55
|
type: i,
|
|
56
|
-
key:
|
|
56
|
+
key: d,
|
|
57
57
|
ref: a !== void 0 ? a : null,
|
|
58
58
|
props: s
|
|
59
59
|
};
|
|
@@ -71,7 +71,7 @@ var ze = {};
|
|
|
71
71
|
* LICENSE file in the root directory of this source tree.
|
|
72
72
|
*/
|
|
73
73
|
var nr;
|
|
74
|
-
function
|
|
74
|
+
function _n() {
|
|
75
75
|
return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
76
76
|
function e(n) {
|
|
77
77
|
if (n == null) return null;
|
|
@@ -103,14 +103,14 @@ function Tn() {
|
|
|
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 =
|
|
106
|
+
var f = n.render;
|
|
107
|
+
return n = n.displayName, n || (n = f.displayName || f.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
108
108
|
case S:
|
|
109
|
-
return
|
|
109
|
+
return f = n.displayName || null, f !== null ? f : e(n.type) || "Memo";
|
|
110
110
|
case R:
|
|
111
|
-
|
|
111
|
+
f = n._payload, n = n._init;
|
|
112
112
|
try {
|
|
113
|
-
return e(n(
|
|
113
|
+
return e(n(f));
|
|
114
114
|
} catch {
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -122,15 +122,15 @@ function Tn() {
|
|
|
122
122
|
function r(n) {
|
|
123
123
|
try {
|
|
124
124
|
t(n);
|
|
125
|
-
var
|
|
125
|
+
var f = !1;
|
|
126
126
|
} catch {
|
|
127
|
-
|
|
127
|
+
f = !0;
|
|
128
128
|
}
|
|
129
|
-
if (
|
|
130
|
-
|
|
131
|
-
var O =
|
|
129
|
+
if (f) {
|
|
130
|
+
f = console;
|
|
131
|
+
var O = f.error, $ = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
132
132
|
return O.call(
|
|
133
|
-
|
|
133
|
+
f,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
135
|
$
|
|
136
136
|
), t(n);
|
|
@@ -141,8 +141,8 @@ function Tn() {
|
|
|
141
141
|
if (typeof n == "object" && n !== null && n.$$typeof === R)
|
|
142
142
|
return "<...>";
|
|
143
143
|
try {
|
|
144
|
-
var
|
|
145
|
-
return
|
|
144
|
+
var f = e(n);
|
|
145
|
+
return f ? "<" + f + ">" : "<...>";
|
|
146
146
|
} catch {
|
|
147
147
|
return "<...>";
|
|
148
148
|
}
|
|
@@ -154,18 +154,18 @@ function Tn() {
|
|
|
154
154
|
function s() {
|
|
155
155
|
return Error("react-stack-top-frame");
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function d(n) {
|
|
158
158
|
if (A.call(n, "key")) {
|
|
159
|
-
var
|
|
160
|
-
if (
|
|
159
|
+
var f = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
160
|
+
if (f && f.isReactWarning) return !1;
|
|
161
161
|
}
|
|
162
162
|
return n.key !== void 0;
|
|
163
163
|
}
|
|
164
|
-
function l(n,
|
|
164
|
+
function l(n, f) {
|
|
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
|
+
f
|
|
169
169
|
));
|
|
170
170
|
}
|
|
171
171
|
O.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
@@ -179,11 +179,11 @@ function Tn() {
|
|
|
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 c(n,
|
|
182
|
+
function c(n, f, O, $, D, z, N, W) {
|
|
183
183
|
return O = z.ref, n = {
|
|
184
184
|
$$typeof: L,
|
|
185
185
|
type: n,
|
|
186
|
-
key:
|
|
186
|
+
key: f,
|
|
187
187
|
props: z,
|
|
188
188
|
_owner: D
|
|
189
189
|
}, (O !== void 0 ? O : null) !== null ? Object.defineProperty(n, "ref", {
|
|
@@ -211,8 +211,8 @@ function Tn() {
|
|
|
211
211
|
value: W
|
|
212
212
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
213
213
|
}
|
|
214
|
-
function v(n,
|
|
215
|
-
var B =
|
|
214
|
+
function v(n, f, O, $, D, z, N, W) {
|
|
215
|
+
var B = f.children;
|
|
216
216
|
if (B !== void 0)
|
|
217
217
|
if ($)
|
|
218
218
|
if (_(B)) {
|
|
@@ -224,9 +224,9 @@ function Tn() {
|
|
|
224
224
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
225
225
|
);
|
|
226
226
|
else w(B);
|
|
227
|
-
if (A.call(
|
|
227
|
+
if (A.call(f, "key")) {
|
|
228
228
|
B = e(n);
|
|
229
|
-
var K = Object.keys(
|
|
229
|
+
var K = Object.keys(f).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,11 +242,11 @@ 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), f
|
|
245
|
+
if (B = null, O !== void 0 && (r(O), B = "" + O), d(f) && (r(f.key), B = "" + f.key), "key" in f) {
|
|
246
246
|
O = {};
|
|
247
|
-
for (var G in
|
|
248
|
-
G !== "key" && (O[G] =
|
|
249
|
-
} else O =
|
|
247
|
+
for (var G in f)
|
|
248
|
+
G !== "key" && (O[G] = f[G]);
|
|
249
|
+
} else O = f;
|
|
250
250
|
return B && l(
|
|
251
251
|
O,
|
|
252
252
|
typeof n == "function" ? n.displayName || n.name || "Unknown" : n
|
|
@@ -276,11 +276,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276
276
|
x,
|
|
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, f, O, $, D) {
|
|
280
280
|
var z = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
281
281
|
return v(
|
|
282
282
|
n,
|
|
283
|
-
|
|
283
|
+
f,
|
|
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, f, O, $, D) {
|
|
292
292
|
var z = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
293
293
|
return v(
|
|
294
294
|
n,
|
|
295
|
-
|
|
295
|
+
f,
|
|
296
296
|
O,
|
|
297
297
|
!0,
|
|
298
298
|
$,
|
|
@@ -304,10 +304,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
304
304
|
}()), ze;
|
|
305
305
|
}
|
|
306
306
|
var ir;
|
|
307
|
-
function
|
|
308
|
-
return ir || (ir = 1, process.env.NODE_ENV === "production" ?
|
|
307
|
+
function Tn() {
|
|
308
|
+
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Rn() : nt.exports = _n()), nt.exports;
|
|
309
309
|
}
|
|
310
|
-
var X =
|
|
310
|
+
var X = Tn();
|
|
311
311
|
const as = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
@@ -331,7 +331,7 @@ const as = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
|
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
333
|
var Ct = {}, Et = {}, Ne = {}, Rt = {}, ar;
|
|
334
|
-
function
|
|
334
|
+
function jn() {
|
|
335
335
|
return ar || (ar = 1, function(e) {
|
|
336
336
|
Object.defineProperty(e, "__esModule", {
|
|
337
337
|
value: !0
|
|
@@ -371,10 +371,10 @@ function Ln() {
|
|
|
371
371
|
}(Rt)), Rt;
|
|
372
372
|
}
|
|
373
373
|
var _t, or;
|
|
374
|
-
function
|
|
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,
|
|
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, d = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, c = typeof self == "object" && self && self.Object === Object && self, v = u || c || Function("return this")(), w = Object.prototype, x = w.toString, L = Math.max, P = Math.min, p = function() {
|
|
378
378
|
return v.Date.now();
|
|
379
379
|
};
|
|
380
380
|
function I(g, b, S) {
|
|
@@ -393,13 +393,13 @@ function Dn() {
|
|
|
393
393
|
var B = W - _, K = W - T, G = b - B;
|
|
394
394
|
return j ? P(G, h - K) : G;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function f(W) {
|
|
397
397
|
var B = W - _, K = W - T;
|
|
398
398
|
return _ === void 0 || B >= b || B < 0 || j && K >= h;
|
|
399
399
|
}
|
|
400
400
|
function O() {
|
|
401
401
|
var W = p();
|
|
402
|
-
if (
|
|
402
|
+
if (f(W))
|
|
403
403
|
return $(W);
|
|
404
404
|
A = setTimeout(O, n(W));
|
|
405
405
|
}
|
|
@@ -413,7 +413,7 @@ function Dn() {
|
|
|
413
413
|
return A === void 0 ? C : $(p());
|
|
414
414
|
}
|
|
415
415
|
function N() {
|
|
416
|
-
var W = p(), B =
|
|
416
|
+
var W = p(), B = f(W);
|
|
417
417
|
if (R = arguments, y = this, _ = W, B) {
|
|
418
418
|
if (A === void 0)
|
|
419
419
|
return m(_);
|
|
@@ -447,7 +447,7 @@ function Dn() {
|
|
|
447
447
|
return g === 0 ? g : +g;
|
|
448
448
|
g = g.replace(i, "");
|
|
449
449
|
var S = s.test(g);
|
|
450
|
-
return S ||
|
|
450
|
+
return S || d.test(g) ? l(g.slice(2), S ? 2 : 8) : a.test(g) ? t : +g;
|
|
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 = "", d = 0; d < arguments.length; d++) {
|
|
467
|
+
var l = arguments[d];
|
|
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 d = "";
|
|
482
482
|
for (var l in s)
|
|
483
|
-
t.call(s, l) && s[l] && (
|
|
484
|
-
return
|
|
483
|
+
t.call(s, l) && s[l] && (d = a(d, l));
|
|
484
|
+
return d;
|
|
485
485
|
}
|
|
486
|
-
function a(s,
|
|
487
|
-
return
|
|
486
|
+
function a(s, d) {
|
|
487
|
+
return d ? s ? s + " " + d : s + d : s;
|
|
488
488
|
}
|
|
489
489
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
490
490
|
})();
|
|
@@ -567,7 +567,7 @@ function zr() {
|
|
|
567
567
|
}(jt)), jt;
|
|
568
568
|
}
|
|
569
569
|
var ur;
|
|
570
|
-
function
|
|
570
|
+
function Ke() {
|
|
571
571
|
if (ur) return Y;
|
|
572
572
|
ur = 1, Object.defineProperty(Y, "__esModule", {
|
|
573
573
|
value: !0
|
|
@@ -585,28 +585,28 @@ function Je() {
|
|
|
585
585
|
}, i(m);
|
|
586
586
|
}
|
|
587
587
|
function a(m, n) {
|
|
588
|
-
var
|
|
588
|
+
var f = 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
|
+
})), f.push.apply(f, O);
|
|
594
594
|
}
|
|
595
|
-
return
|
|
595
|
+
return f;
|
|
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 f = arguments[n] != null ? arguments[n] : {};
|
|
600
|
+
n % 2 ? a(Object(f), !0).forEach(function(O) {
|
|
601
|
+
d(m, O, f[O]);
|
|
602
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(f)) : a(Object(f)).forEach(function(O) {
|
|
603
|
+
Object.defineProperty(m, O, Object.getOwnPropertyDescriptor(f, 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 d(m, n, f) {
|
|
609
|
+
return (n = l(n)) in m ? Object.defineProperty(m, n, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : m[n] = f, m;
|
|
610
610
|
}
|
|
611
611
|
function l(m) {
|
|
612
612
|
var n = u(m, "string");
|
|
@@ -614,29 +614,29 @@ function Je() {
|
|
|
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 f = m[Symbol.toPrimitive];
|
|
618
|
+
if (f !== void 0) {
|
|
619
|
+
var O = f.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 c(m, n,
|
|
626
|
-
return Math.max(n, Math.min(m,
|
|
625
|
+
function c(m, n, f) {
|
|
626
|
+
return Math.max(n, Math.min(m, f));
|
|
627
627
|
}
|
|
628
628
|
var v = Y.safePreventDefault = function(n) {
|
|
629
|
-
var
|
|
630
|
-
|
|
629
|
+
var f = ["onTouchStart", "onTouchMove", "onWheel"];
|
|
630
|
+
f.includes(n._reactName) || n.preventDefault();
|
|
631
631
|
}, w = Y.getOnDemandLazySlides = function(n) {
|
|
632
|
-
for (var
|
|
633
|
-
n.lazyLoadedList.indexOf(D) < 0 &&
|
|
634
|
-
return
|
|
632
|
+
for (var f = [], O = x(n), $ = L(n), D = O; D < $; D++)
|
|
633
|
+
n.lazyLoadedList.indexOf(D) < 0 && f.push(D);
|
|
634
|
+
return f;
|
|
635
635
|
};
|
|
636
636
|
Y.getRequiredLazySlides = function(n) {
|
|
637
|
-
for (var
|
|
638
|
-
|
|
639
|
-
return
|
|
637
|
+
for (var f = [], O = x(n), $ = L(n), D = O; D < $; D++)
|
|
638
|
+
f.push(D);
|
|
639
|
+
return f;
|
|
640
640
|
};
|
|
641
641
|
var x = Y.lazyStartIndex = function(n) {
|
|
642
642
|
return n.currentSlide - P(n);
|
|
@@ -651,19 +651,19 @@ function Je() {
|
|
|
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 f = 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" : f === !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 f = !0;
|
|
658
|
+
return n.infinite || (n.centerMode && n.currentSlide >= n.slideCount - 1 || n.slideCount <= n.slidesToShow || n.currentSlide >= n.slideCount - n.slidesToShow) && (f = !1), f;
|
|
659
659
|
};
|
|
660
|
-
Y.extractObject = function(n,
|
|
660
|
+
Y.extractObject = function(n, f) {
|
|
661
661
|
var O = {};
|
|
662
|
-
return
|
|
662
|
+
return f.forEach(function($) {
|
|
663
663
|
return O[$] = n[$];
|
|
664
664
|
}), O;
|
|
665
665
|
}, Y.initializedState = function(n) {
|
|
666
|
-
var
|
|
666
|
+
var f = 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 Je() {
|
|
|
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 =
|
|
674
|
+
n.rtl && n.currentSlide === void 0 && (G = f - 1 - n.initialSlide);
|
|
675
675
|
var J = n.lazyLoadedList || [], te = w(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: f,
|
|
682
682
|
slideWidth: N,
|
|
683
683
|
listWidth: $,
|
|
684
684
|
trackWidth: z,
|
|
@@ -689,8 +689,8 @@ function Je() {
|
|
|
689
689
|
};
|
|
690
690
|
return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
|
|
691
691
|
}, Y.slideHandler = function(n) {
|
|
692
|
-
var
|
|
693
|
-
if (
|
|
692
|
+
var f = 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 (f && O) return {};
|
|
694
694
|
var ee = z, ie, le, Q, oe = {}, ue = {}, ce = D ? z : c(z, 0, N - 1);
|
|
695
695
|
if ($) {
|
|
696
696
|
if (!D && (z < 0 || z >= N)) return {};
|
|
@@ -738,27 +738,27 @@ function Je() {
|
|
|
738
738
|
state: oe,
|
|
739
739
|
nextState: ue
|
|
740
740
|
};
|
|
741
|
-
}, Y.changeSlide = function(n,
|
|
741
|
+
}, Y.changeSlide = function(n, f) {
|
|
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, f.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 (f.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 (f.message === "dots")
|
|
748
|
+
N = f.index * f.slidesToScroll;
|
|
749
|
+
else if (f.message === "children") {
|
|
750
|
+
if (N = f.index, Z) {
|
|
751
751
|
var ee = T(s(s({}, n), {}, {
|
|
752
752
|
targetSlide: N
|
|
753
753
|
}));
|
|
754
|
-
N >
|
|
754
|
+
N > f.currentSlide && ee === "left" ? N = N - K : N < f.currentSlide && ee === "right" && (N = N + K);
|
|
755
755
|
}
|
|
756
|
-
} else
|
|
756
|
+
} else f.message === "index" && (N = Number(f.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" && v(n), !
|
|
758
|
+
}, Y.keyHandler = function(n, f, O) {
|
|
759
|
+
return n.target.tagName.match("TEXTAREA|INPUT|SELECT") || !f ? "" : n.keyCode === 37 ? O ? "next" : "previous" : n.keyCode === 39 ? O ? "previous" : "next" : "";
|
|
760
|
+
}, Y.swipeStart = function(n, f, O) {
|
|
761
|
+
return n.target.tagName === "IMG" && v(n), !f || !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 Je() {
|
|
|
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, f) {
|
|
771
|
+
var O = f.scrolling, $ = f.animating, D = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl, B = f.currentSlide, K = f.edgeFriction, G = f.edgeDragged, J = f.onEdge, te = f.swiped, Z = f.swiping, ee = f.slideCount, ie = f.slidesToScroll, le = f.infinite, Q = f.touchObject, oe = f.swipeEvent, ue = f.listHeight, ce = f.listWidth;
|
|
772
772
|
if (!O) {
|
|
773
773
|
if ($) return v(n);
|
|
774
774
|
D && z && N && v(n);
|
|
775
|
-
var pe, Re = {},
|
|
775
|
+
var pe, Re = {}, tt = h(f);
|
|
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,17 +782,17 @@ function Je() {
|
|
|
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
|
|
786
|
-
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >=
|
|
785
|
+
var kn = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
|
|
786
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= kn && (Ce === "left" || Ce === "up") || !U(f) && (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({}, f), {}, {
|
|
790
790
|
left: pe
|
|
791
791
|
}))
|
|
792
792
|
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Re.swiping = !0, v(n)), Re;
|
|
793
793
|
}
|
|
794
|
-
}, Y.swipeEnd = function(n,
|
|
795
|
-
var O =
|
|
794
|
+
}, Y.swipeEnd = function(n, f) {
|
|
795
|
+
var O = f.dragging, $ = f.swipe, D = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping, B = f.listHeight, K = f.swipeToSlide, G = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
796
796
|
if (!O)
|
|
797
797
|
return $ && v(n), {};
|
|
798
798
|
var ie = W ? B / N : z / N, le = F(D, W), Q = {
|
|
@@ -812,50 +812,50 @@ function Je() {
|
|
|
812
812
|
switch (le) {
|
|
813
813
|
case "left":
|
|
814
814
|
case "up":
|
|
815
|
-
ue = ce + b(
|
|
815
|
+
ue = ce + b(f), oe = K ? g(f, ue) : ue, Q.currentDirection = 0;
|
|
816
816
|
break;
|
|
817
817
|
case "right":
|
|
818
818
|
case "down":
|
|
819
|
-
ue = ce - b(
|
|
819
|
+
ue = ce - b(f), oe = K ? g(f, 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(f);
|
|
827
|
+
Q.trackStyle = y(s(s({}, f), {}, {
|
|
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 f = n.infinite ? n.slideCount * 2 : n.slideCount, O = n.infinite ? n.slidesToShow * -1 : 0, $ = n.infinite ? n.slidesToShow * -1 : 0, D = []; O < f; )
|
|
835
835
|
D.push(O), O = $ + n.slidesToScroll, $ += Math.min(n.slidesToScroll, n.slidesToShow);
|
|
836
836
|
return D;
|
|
837
|
-
}, g = Y.checkNavigable = function(n,
|
|
837
|
+
}, g = Y.checkNavigable = function(n, f) {
|
|
838
838
|
var O = q(n), $ = 0;
|
|
839
|
-
if (
|
|
840
|
-
|
|
839
|
+
if (f > O[O.length - 1])
|
|
840
|
+
f = O[O.length - 1];
|
|
841
841
|
else
|
|
842
842
|
for (var D in O) {
|
|
843
|
-
if (
|
|
844
|
-
|
|
843
|
+
if (f < O[D]) {
|
|
844
|
+
f = $;
|
|
845
845
|
break;
|
|
846
846
|
}
|
|
847
847
|
$ = O[D];
|
|
848
848
|
}
|
|
849
|
-
return
|
|
849
|
+
return f;
|
|
850
850
|
}, b = Y.getSlideCount = function(n) {
|
|
851
|
-
var
|
|
851
|
+
var f = 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 - f + I(W) / 2 > n.swipeLeft * -1)
|
|
859
859
|
return O = W, !1;
|
|
860
860
|
return !0;
|
|
861
861
|
}), !O)
|
|
@@ -864,15 +864,15 @@ function Je() {
|
|
|
864
864
|
return N;
|
|
865
865
|
} else
|
|
866
866
|
return n.slidesToScroll;
|
|
867
|
-
}, S = Y.checkSpecKeys = function(n,
|
|
868
|
-
return
|
|
867
|
+
}, S = Y.checkSpecKeys = function(n, f) {
|
|
868
|
+
return f.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
872
|
S(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
|
|
873
|
-
var
|
|
873
|
+
var f, O;
|
|
874
874
|
if (!n.vertical)
|
|
875
|
-
|
|
875
|
+
f = _(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 Je() {
|
|
|
893
893
|
n.vertical ? D.top = n.left : D.left = n.left;
|
|
894
894
|
return n.fade && (D = {
|
|
895
895
|
opacity: 1
|
|
896
|
-
}),
|
|
896
|
+
}), f && (D.width = f), 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
898
|
S(n, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
|
|
899
|
-
var
|
|
900
|
-
return n.useTransform ? (
|
|
899
|
+
var f = R(n);
|
|
900
|
+
return n.useTransform ? (f.WebkitTransition = "-webkit-transform " + n.speed + "ms " + n.cssEase, f.transition = "transform " + n.speed + "ms " + n.cssEase) : n.vertical ? f.transition = "top " + n.speed + "ms " + n.cssEase : f.transition = "left " + n.speed + "ms " + n.cssEase, f;
|
|
901
901
|
}, h = Y.getTrackLeft = function(n) {
|
|
902
902
|
if (n.unslick)
|
|
903
903
|
return 0;
|
|
904
904
|
S(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
|
|
905
|
-
var
|
|
905
|
+
var f = 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 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), D && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), D && (oe = parseInt(N / 2))), ee = oe * B, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * B * -1 + ee, G === !0) {
|
|
910
910
|
var ue, ce = O && O.node;
|
|
911
|
-
if (ue =
|
|
912
|
-
ue = $ ?
|
|
911
|
+
if (ue = f + C(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, D === !0) {
|
|
912
|
+
ue = $ ? f + C(n) : f, 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,38 +925,38 @@ function Je() {
|
|
|
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 f = 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 = (f - 1) / 2 + 1;
|
|
931
|
+
return parseInt(D) > 0 && (z += 1), $ && f % 2 === 0 && (z += 1), z;
|
|
932
932
|
}
|
|
933
|
-
return $ ? 0 :
|
|
933
|
+
return $ ? 0 : f - 1;
|
|
934
934
|
}, j = Y.slidesOnLeft = function(n) {
|
|
935
|
-
var
|
|
935
|
+
var f = 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 = (f - 1) / 2 + 1;
|
|
938
|
+
return parseInt(D) > 0 && (z += 1), !$ && f % 2 === 0 && (z += 1), z;
|
|
939
939
|
}
|
|
940
|
-
return $ ?
|
|
940
|
+
return $ ? f - 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, f) {
|
|
948
|
+
return m.hasOwnProperty(f) && (n[f] = m[f]), n;
|
|
949
949
|
}, {});
|
|
950
950
|
}
|
|
951
951
|
return Y;
|
|
952
952
|
}
|
|
953
953
|
var Fe = {}, cr;
|
|
954
|
-
function
|
|
954
|
+
function Dn() {
|
|
955
955
|
if (cr) return Fe;
|
|
956
956
|
cr = 1, Object.defineProperty(Fe, "__esModule", {
|
|
957
957
|
value: !0
|
|
958
958
|
}), Fe.Track = void 0;
|
|
959
|
-
var e = i(V), t = i(yt()), r =
|
|
959
|
+
var e = i(V), t = i(yt()), r = Ke();
|
|
960
960
|
function i(y) {
|
|
961
961
|
return y && y.__esModule ? y : { default: y };
|
|
962
962
|
}
|
|
@@ -978,7 +978,7 @@ function Mn() {
|
|
|
978
978
|
return y;
|
|
979
979
|
}, s.apply(null, arguments);
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function d(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) {
|
|
@@ -1094,7 +1094,7 @@ function Mn() {
|
|
|
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, f = {
|
|
1098
1098
|
message: "children",
|
|
1099
1099
|
index: m,
|
|
1100
1100
|
slidesToScroll: h.slidesToScroll,
|
|
@@ -1116,7 +1116,7 @@ function Mn() {
|
|
|
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(f);
|
|
1120
1120
|
}
|
|
1121
1121
|
})), h.infinite && E > 1 && h.fade === !1 && !h.unslick) {
|
|
1122
1122
|
var z = E - m;
|
|
@@ -1130,7 +1130,7 @@ function Mn() {
|
|
|
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(f);
|
|
1134
1134
|
}
|
|
1135
1135
|
}))), m < (0, r.getPostClones)(h) && (C = E + m, C < o && (n = H), D = g(k(k({}, h), {}, {
|
|
1136
1136
|
index: C
|
|
@@ -1142,7 +1142,7 @@ function Mn() {
|
|
|
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(f);
|
|
1146
1146
|
}
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
@@ -1153,7 +1153,7 @@ function Mn() {
|
|
|
1153
1153
|
var h = w(C);
|
|
1154
1154
|
function C() {
|
|
1155
1155
|
var A;
|
|
1156
|
-
|
|
1156
|
+
d(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) {
|
|
@@ -1178,7 +1178,7 @@ function Mn() {
|
|
|
1178
1178
|
}(e.default.PureComponent), Fe;
|
|
1179
1179
|
}
|
|
1180
1180
|
var We = {}, fr;
|
|
1181
|
-
function
|
|
1181
|
+
function Mn() {
|
|
1182
1182
|
if (fr) return We;
|
|
1183
1183
|
fr = 1;
|
|
1184
1184
|
function e(g) {
|
|
@@ -1192,7 +1192,7 @@ function $n() {
|
|
|
1192
1192
|
Object.defineProperty(We, "__esModule", {
|
|
1193
1193
|
value: !0
|
|
1194
1194
|
}), We.Dots = void 0;
|
|
1195
|
-
var t = a(V), r = a(yt()), i =
|
|
1195
|
+
var t = a(V), r = a(yt()), i = Ke();
|
|
1196
1196
|
function a(g) {
|
|
1197
1197
|
return g && g.__esModule ? g : { default: g };
|
|
1198
1198
|
}
|
|
@@ -1206,7 +1206,7 @@ function $n() {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
return S;
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1209
|
+
function d(g) {
|
|
1210
1210
|
for (var b = 1; b < arguments.length; b++) {
|
|
1211
1211
|
var S = arguments[b] != null ? arguments[b] : {};
|
|
1212
1212
|
b % 2 ? s(Object(S), !0).forEach(function(R) {
|
|
@@ -1317,23 +1317,23 @@ function $n() {
|
|
|
1317
1317
|
onMouseEnter: h,
|
|
1318
1318
|
onMouseOver: C,
|
|
1319
1319
|
onMouseLeave: A
|
|
1320
|
-
}, n = [],
|
|
1321
|
-
var O = (
|
|
1320
|
+
}, n = [], f = 0; f < H; f++) {
|
|
1321
|
+
var O = (f + 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: f,
|
|
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: f,
|
|
1331
1331
|
className: N
|
|
1332
|
-
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(
|
|
1332
|
+
}, /* @__PURE__ */ t.default.cloneElement(this.props.customPaging(f), {
|
|
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), d({
|
|
1337
1337
|
className: this.props.dotsClass
|
|
1338
1338
|
}, m));
|
|
1339
1339
|
}
|
|
@@ -1341,7 +1341,7 @@ function $n() {
|
|
|
1341
1341
|
}(t.default.PureComponent), We;
|
|
1342
1342
|
}
|
|
1343
1343
|
var _e = {}, dr;
|
|
1344
|
-
function
|
|
1344
|
+
function $n() {
|
|
1345
1345
|
if (dr) return _e;
|
|
1346
1346
|
dr = 1;
|
|
1347
1347
|
function e(g) {
|
|
@@ -1355,7 +1355,7 @@ function In() {
|
|
|
1355
1355
|
Object.defineProperty(_e, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
1357
|
}), _e.PrevArrow = _e.NextArrow = void 0;
|
|
1358
|
-
var t = a(V), r = a(yt()), i =
|
|
1358
|
+
var t = a(V), r = a(yt()), i = Ke();
|
|
1359
1359
|
function a(g) {
|
|
1360
1360
|
return g && g.__esModule ? g : { default: g };
|
|
1361
1361
|
}
|
|
@@ -1369,7 +1369,7 @@ function In() {
|
|
|
1369
1369
|
return g;
|
|
1370
1370
|
}, s.apply(null, arguments);
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function d(g, b) {
|
|
1373
1373
|
var S = Object.keys(g);
|
|
1374
1374
|
if (Object.getOwnPropertySymbols) {
|
|
1375
1375
|
var R = Object.getOwnPropertySymbols(g);
|
|
@@ -1382,9 +1382,9 @@ function In() {
|
|
|
1382
1382
|
function l(g) {
|
|
1383
1383
|
for (var b = 1; b < arguments.length; b++) {
|
|
1384
1384
|
var S = arguments[b] != null ? arguments[b] : {};
|
|
1385
|
-
b % 2 ?
|
|
1385
|
+
b % 2 ? d(Object(S), !0).forEach(function(R) {
|
|
1386
1386
|
u(g, R, S[R]);
|
|
1387
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(S)) :
|
|
1387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(S)) : d(Object(S)).forEach(function(R) {
|
|
1388
1388
|
Object.defineProperty(g, R, Object.getOwnPropertyDescriptor(S, R));
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
@@ -1583,46 +1583,46 @@ 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 d = s[a];
|
|
1587
|
+
r.call(i, d[1], d[0]);
|
|
1588
1588
|
}
|
|
1589
1589
|
}, t;
|
|
1590
1590
|
}()
|
|
1591
1591
|
);
|
|
1592
1592
|
}(), At = typeof window < "u" && typeof document < "u" && window.document === document, pt = function() {
|
|
1593
1593
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
1594
|
-
}(),
|
|
1594
|
+
}(), In = function() {
|
|
1595
1595
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(pt) : function(e) {
|
|
1596
1596
|
return setTimeout(function() {
|
|
1597
1597
|
return e(Date.now());
|
|
1598
1598
|
}, 1e3 / 60);
|
|
1599
1599
|
};
|
|
1600
|
-
}(),
|
|
1601
|
-
function
|
|
1600
|
+
}(), An = 2;
|
|
1601
|
+
function Hn(e, t) {
|
|
1602
1602
|
var r = !1, i = !1, a = 0;
|
|
1603
1603
|
function s() {
|
|
1604
1604
|
r && (r = !1, e()), i && l();
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1607
|
-
|
|
1606
|
+
function d() {
|
|
1607
|
+
In(s);
|
|
1608
1608
|
}
|
|
1609
1609
|
function l() {
|
|
1610
1610
|
var u = Date.now();
|
|
1611
1611
|
if (r) {
|
|
1612
|
-
if (u - a <
|
|
1612
|
+
if (u - a < An)
|
|
1613
1613
|
return;
|
|
1614
1614
|
i = !0;
|
|
1615
1615
|
} else
|
|
1616
|
-
r = !0, i = !1, setTimeout(
|
|
1616
|
+
r = !0, i = !1, setTimeout(d, t);
|
|
1617
1617
|
a = u;
|
|
1618
1618
|
}
|
|
1619
1619
|
return l;
|
|
1620
1620
|
}
|
|
1621
|
-
var
|
|
1621
|
+
var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Fn = typeof MutationObserver < "u", Wn = (
|
|
1622
1622
|
/** @class */
|
|
1623
1623
|
function() {
|
|
1624
1624
|
function e() {
|
|
1625
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh =
|
|
1625
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Hn(this.refresh.bind(this), zn);
|
|
1626
1626
|
}
|
|
1627
1627
|
return e.prototype.addObserver = function(t) {
|
|
1628
1628
|
~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
|
|
@@ -1640,7 +1640,7 @@ var Nn = 20, Fn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1640
1640
|
return r.broadcastActive();
|
|
1641
1641
|
}), t.length > 0;
|
|
1642
1642
|
}, e.prototype.connect_ = function() {
|
|
1643
|
-
!At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh),
|
|
1643
|
+
!At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Fn ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
1644
1644
|
attributes: !0,
|
|
1645
1645
|
childList: !0,
|
|
1646
1646
|
characterData: !0,
|
|
@@ -1649,7 +1649,7 @@ var Nn = 20, Fn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1649
1649
|
}, e.prototype.disconnect_ = function() {
|
|
1650
1650
|
!At || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
1651
1651
|
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
1652
|
-
var r = t.propertyName, i = r === void 0 ? "" : r, a =
|
|
1652
|
+
var r = t.propertyName, i = r === void 0 ? "" : r, a = Nn.some(function(s) {
|
|
1653
1653
|
return !!~i.indexOf(s);
|
|
1654
1654
|
});
|
|
1655
1655
|
a && this.refresh();
|
|
@@ -1683,44 +1683,44 @@ function hr(e) {
|
|
|
1683
1683
|
return i + mt(s);
|
|
1684
1684
|
}, 0);
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
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], d = e["padding-" + s];
|
|
1689
|
+
r[s] = mt(d);
|
|
1690
1690
|
}
|
|
1691
1691
|
return r;
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function Yn(e) {
|
|
1694
1694
|
var t = e.getBBox();
|
|
1695
1695
|
return bt(0, 0, t.width, t.height);
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
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 =
|
|
1702
|
-
if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u +
|
|
1703
|
-
var c = Math.round(l + s) - t, v = Math.round(u +
|
|
1701
|
+
var i = je(e).getComputedStyle(e), a = Un(i), s = a.left + a.right, d = 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 + d) !== r && (u -= hr(i, "top", "bottom") + d)), !Bn(e)) {
|
|
1703
|
+
var c = Math.round(l + s) - t, v = Math.round(u + d) - r;
|
|
1704
1704
|
Math.abs(c) !== 1 && (l -= c), Math.abs(v) !== 1 && (u -= v);
|
|
1705
1705
|
}
|
|
1706
1706
|
return bt(a.left, a.top, l, u);
|
|
1707
1707
|
}
|
|
1708
|
-
var
|
|
1708
|
+
var qn = /* @__PURE__ */ function() {
|
|
1709
1709
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1710
1710
|
return e instanceof je(e).SVGGraphicsElement;
|
|
1711
1711
|
} : function(e) {
|
|
1712
1712
|
return e instanceof je(e).SVGElement && typeof e.getBBox == "function";
|
|
1713
1713
|
};
|
|
1714
1714
|
}();
|
|
1715
|
-
function
|
|
1715
|
+
function Bn(e) {
|
|
1716
1716
|
return e === je(e).document.documentElement;
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1719
|
-
return At ?
|
|
1718
|
+
function Xn(e) {
|
|
1719
|
+
return At ? qn(e) ? Yn(e) : Vn(e) : Wr;
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1722
|
-
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object,
|
|
1723
|
-
return Fr(
|
|
1721
|
+
function Gn(e) {
|
|
1722
|
+
var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, d = Object.create(s.prototype);
|
|
1723
|
+
return Fr(d, {
|
|
1724
1724
|
x: t,
|
|
1725
1725
|
y: r,
|
|
1726
1726
|
width: i,
|
|
@@ -1729,35 +1729,35 @@ function Kn(e) {
|
|
|
1729
1729
|
right: t + i,
|
|
1730
1730
|
bottom: a + r,
|
|
1731
1731
|
left: t
|
|
1732
|
-
}),
|
|
1732
|
+
}), d;
|
|
1733
1733
|
}
|
|
1734
1734
|
function bt(e, t, r, i) {
|
|
1735
1735
|
return { x: e, y: t, width: r, height: i };
|
|
1736
1736
|
}
|
|
1737
|
-
var
|
|
1737
|
+
var Kn = (
|
|
1738
1738
|
/** @class */
|
|
1739
1739
|
function() {
|
|
1740
1740
|
function e(t) {
|
|
1741
1741
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = bt(0, 0, 0, 0), this.target = t;
|
|
1742
1742
|
}
|
|
1743
1743
|
return e.prototype.isActive = function() {
|
|
1744
|
-
var t =
|
|
1744
|
+
var t = Xn(this.target);
|
|
1745
1745
|
return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
|
|
1746
1746
|
}, e.prototype.broadcastRect = function() {
|
|
1747
1747
|
var t = this.contentRect_;
|
|
1748
1748
|
return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
|
|
1749
1749
|
}, e;
|
|
1750
1750
|
}()
|
|
1751
|
-
),
|
|
1751
|
+
), Jn = (
|
|
1752
1752
|
/** @class */
|
|
1753
1753
|
/* @__PURE__ */ function() {
|
|
1754
1754
|
function e(t, r) {
|
|
1755
|
-
var i =
|
|
1755
|
+
var i = Gn(r);
|
|
1756
1756
|
Fr(this, { target: t, contentRect: i });
|
|
1757
1757
|
}
|
|
1758
1758
|
return e;
|
|
1759
1759
|
}()
|
|
1760
|
-
),
|
|
1760
|
+
), Zn = (
|
|
1761
1761
|
/** @class */
|
|
1762
1762
|
function() {
|
|
1763
1763
|
function e(t, r, i) {
|
|
@@ -1772,7 +1772,7 @@ var Jn = (
|
|
|
1772
1772
|
if (!(t instanceof je(t).Element))
|
|
1773
1773
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1774
1774
|
var r = this.observations_;
|
|
1775
|
-
r.has(t) || (r.set(t, new
|
|
1775
|
+
r.has(t) || (r.set(t, new Kn(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1776
1776
|
}
|
|
1777
1777
|
}, e.prototype.unobserve = function(t) {
|
|
1778
1778
|
if (!arguments.length)
|
|
@@ -1793,7 +1793,7 @@ var Jn = (
|
|
|
1793
1793
|
}, e.prototype.broadcastActive = function() {
|
|
1794
1794
|
if (this.hasActive()) {
|
|
1795
1795
|
var t = this.callbackCtx_, r = this.activeObservations_.map(function(i) {
|
|
1796
|
-
return new
|
|
1796
|
+
return new Jn(i.target, i.broadcastRect());
|
|
1797
1797
|
});
|
|
1798
1798
|
this.callback_.call(t, r, t), this.clearActive();
|
|
1799
1799
|
}
|
|
@@ -1811,7 +1811,7 @@ var Jn = (
|
|
|
1811
1811
|
throw new TypeError("Cannot call a class as a function.");
|
|
1812
1812
|
if (!arguments.length)
|
|
1813
1813
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1814
|
-
var r =
|
|
1814
|
+
var r = Wn.getInstance(), i = new Zn(t, r, this);
|
|
1815
1815
|
Ur.set(this, i);
|
|
1816
1816
|
}
|
|
1817
1817
|
return e;
|
|
@@ -1827,20 +1827,20 @@ var Jn = (
|
|
|
1827
1827
|
return (t = Ur.get(this))[e].apply(t, arguments);
|
|
1828
1828
|
};
|
|
1829
1829
|
});
|
|
1830
|
-
var
|
|
1830
|
+
var Qn = function() {
|
|
1831
1831
|
return typeof pt.ResizeObserver < "u" ? pt.ResizeObserver : Yr;
|
|
1832
1832
|
}();
|
|
1833
|
-
const
|
|
1833
|
+
const ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1834
1834
|
__proto__: null,
|
|
1835
|
-
default:
|
|
1836
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1835
|
+
default: Qn
|
|
1836
|
+
}, Symbol.toStringTag, { value: "Module" })), ti = /* @__PURE__ */ En(ei);
|
|
1837
1837
|
var pr;
|
|
1838
|
-
function
|
|
1838
|
+
function ri() {
|
|
1839
1839
|
if (pr) return Ne;
|
|
1840
1840
|
pr = 1, Object.defineProperty(Ne, "__esModule", {
|
|
1841
1841
|
value: !0
|
|
1842
1842
|
}), Ne.InnerSlider = void 0;
|
|
1843
|
-
var e = c(V), t = c(
|
|
1843
|
+
var e = c(V), t = c(jn()), r = c(Ln()), i = c(yt()), a = Ke(), s = Dn(), d = Mn(), l = $n(), u = c(ti);
|
|
1844
1844
|
function c(_) {
|
|
1845
1845
|
return _ && _.__esModule ? _ : { default: _ };
|
|
1846
1846
|
}
|
|
@@ -1993,9 +1993,9 @@ function ni() {
|
|
|
1993
1993
|
}), h(S(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(f) {
|
|
1997
1997
|
return {
|
|
1998
|
-
lazyLoadedList:
|
|
1998
|
+
lazyLoadedList: f.lazyLoadedList.concat(m)
|
|
1999
1999
|
};
|
|
2000
2000
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m));
|
|
2001
2001
|
}
|
|
@@ -2009,8 +2009,8 @@ function ni() {
|
|
|
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(f) {
|
|
2013
|
+
f.onfocus = o.props.pauseOnFocus ? o.onSlideFocus : null, f.onblur = o.props.pauseOnFocus ? o.onSlideBlur : null;
|
|
2014
2014
|
}), window.addEventListener ? window.addEventListener("resize", o.onWindowResized) : window.attachEvent("onresize", o.onWindowResized);
|
|
2015
2015
|
}), h(S(o), "componentWillUnmount", function() {
|
|
2016
2016
|
o.animationEndCallback && clearTimeout(o.animationEndCallback), o.lazyLoadTimer && clearInterval(o.lazyLoadTimer), o.callbackTimers.length && (o.callbackTimers.forEach(function(m) {
|
|
@@ -2026,11 +2026,11 @@ function ni() {
|
|
|
2026
2026
|
}), o.props.onLazyLoad && o.props.onLazyLoad(n));
|
|
2027
2027
|
}
|
|
2028
2028
|
o.adaptHeight();
|
|
2029
|
-
var
|
|
2029
|
+
var f = 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(f, 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,
|
|
@@ -2044,17 +2044,17 @@ function ni() {
|
|
|
2044
2044
|
}), h(S(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 f = p(p({
|
|
2048
2048
|
listRef: o.list,
|
|
2049
2049
|
trackRef: o.track
|
|
2050
2050
|
}, o.props), o.state);
|
|
2051
|
-
o.updateState(
|
|
2051
|
+
o.updateState(f, 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(S(o), "updateState", function(m, n,
|
|
2057
|
+
}), h(S(o), "updateState", function(m, n, f) {
|
|
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 ni() {
|
|
|
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,
|
|
2067
|
+
(n || e.default.Children.count(o.props.children) !== e.default.Children.count(m.children)) && (O.trackStyle = D), o.setState(O, f);
|
|
2068
2068
|
}), h(S(o), "ssrInit", function() {
|
|
2069
2069
|
if (o.props.variableWidth) {
|
|
2070
|
-
var m = 0, n = 0,
|
|
2070
|
+
var m = 0, n = 0, f = [], 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
|
+
f.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 += f[f.length - 1 - D], m += f[f.length - 1 - D];
|
|
2080
2080
|
for (var z = 0; z < $; z++)
|
|
2081
|
-
m +=
|
|
2081
|
+
m += f[z];
|
|
2082
2082
|
for (var N = 0; N < o.state.currentSlide; N++)
|
|
2083
|
-
n +=
|
|
2083
|
+
n += f[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(f[o.state.currentSlide], "px");
|
|
2090
2090
|
W.left = "calc(".concat(W.left, " + (100% - ").concat(B, ") / 2 ) ");
|
|
2091
2091
|
}
|
|
2092
2092
|
return {
|
|
@@ -2106,10 +2106,10 @@ function ni() {
|
|
|
2106
2106
|
trackStyle: ie
|
|
2107
2107
|
};
|
|
2108
2108
|
}), h(S(o), "checkImagesLoad", function() {
|
|
2109
|
-
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length,
|
|
2109
|
+
var m = o.list && o.list.querySelectorAll && o.list.querySelectorAll(".slick-slide img") || [], n = m.length, f = 0;
|
|
2110
2110
|
Array.prototype.forEach.call(m, function(O) {
|
|
2111
2111
|
var $ = function() {
|
|
2112
|
-
return ++
|
|
2112
|
+
return ++f && f >= n && o.onWindowResized();
|
|
2113
2113
|
};
|
|
2114
2114
|
if (!O.onclick)
|
|
2115
2115
|
O.onclick = function() {
|
|
@@ -2128,9 +2128,9 @@ function ni() {
|
|
|
2128
2128
|
}));
|
|
2129
2129
|
});
|
|
2130
2130
|
}), h(S(o), "progressiveLazyLoad", function() {
|
|
2131
|
-
for (var m = [], n = p(p({}, o.props), o.state),
|
|
2132
|
-
if (o.state.lazyLoadedList.indexOf(
|
|
2133
|
-
m.push(
|
|
2131
|
+
for (var m = [], n = p(p({}, o.props), o.state), f = o.state.currentSlide; f < o.state.slideCount + (0, a.getPostClones)(n); f++)
|
|
2132
|
+
if (o.state.lazyLoadedList.indexOf(f) < 0) {
|
|
2133
|
+
m.push(f);
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
2136
|
for (var O = o.state.currentSlide - 1; O >= -(0, a.getPreClones)(n); O--)
|
|
@@ -2144,7 +2144,7 @@ function ni() {
|
|
|
2144
2144
|
};
|
|
2145
2145
|
}), o.props.onLazyLoad && o.props.onLazyLoad(m)) : o.lazyLoadTimer && (clearInterval(o.lazyLoadTimer), delete o.lazyLoadTimer);
|
|
2146
2146
|
}), h(S(o), "slideHandler", function(m) {
|
|
2147
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
2147
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o.props, O = f.asNavFor, $ = f.beforeChange, D = f.onLazyLoad, z = f.speed, N = f.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,
|
|
@@ -2169,7 +2169,7 @@ function ni() {
|
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
2171
|
}), h(S(o), "changeSlide", function(m) {
|
|
2172
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
2172
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = p(p({}, o.props), o.state), O = (0, a.changeSlide)(f, 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();
|
|
@@ -2184,8 +2184,8 @@ function ni() {
|
|
|
2184
2184
|
}), h(S(o), "selectHandler", function(m) {
|
|
2185
2185
|
o.changeSlide(m);
|
|
2186
2186
|
}), h(S(o), "disableBodyScroll", function() {
|
|
2187
|
-
var m = function(
|
|
2188
|
-
|
|
2187
|
+
var m = function(f) {
|
|
2188
|
+
f = f || window.event, f.preventDefault && f.preventDefault(), f.returnValue = !1;
|
|
2189
2189
|
};
|
|
2190
2190
|
window.ontouchmove = m;
|
|
2191
2191
|
}), h(S(o), "enableBodyScroll", function() {
|
|
@@ -2208,8 +2208,8 @@ function ni() {
|
|
|
2208
2208
|
slideIndex: o.state.currentSlide
|
|
2209
2209
|
}));
|
|
2210
2210
|
if (n) {
|
|
2211
|
-
var
|
|
2212
|
-
delete n.triggerSlideHandler, o.setState(n),
|
|
2211
|
+
var f = n.triggerSlideHandler;
|
|
2212
|
+
delete n.triggerSlideHandler, o.setState(n), f !== void 0 && (o.slideHandler(f), o.props.verticalSwiping && o.enableBodyScroll());
|
|
2213
2213
|
}
|
|
2214
2214
|
}), h(S(o), "touchEnd", function(m) {
|
|
2215
2215
|
o.swipeEnd(m), o.clickable = !0;
|
|
@@ -2284,8 +2284,8 @@ function ni() {
|
|
|
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), f = (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
|
+
f = p(p({}, f), {}, {
|
|
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 ni() {
|
|
|
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(d.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));
|
|
@@ -2340,7 +2340,7 @@ function ni() {
|
|
|
2340
2340
|
ref: o.listRefHandler
|
|
2341
2341
|
}, Z), /* @__PURE__ */ e.default.createElement(s.Track, w({
|
|
2342
2342
|
ref: o.trackRefHandler
|
|
2343
|
-
},
|
|
2343
|
+
}, f), 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 ni() {
|
|
|
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 f = n[m];
|
|
2357
|
+
if (!o.hasOwnProperty(f)) {
|
|
2358
2358
|
H = !0;
|
|
2359
2359
|
break;
|
|
2360
2360
|
}
|
|
2361
|
-
if (!(v(o[
|
|
2361
|
+
if (!(v(o[f]) === "object" || typeof o[f] == "function" || isNaN(o[f])) && o[f] !== this.props[f]) {
|
|
2362
2362
|
H = !0;
|
|
2363
2363
|
break;
|
|
2364
2364
|
}
|
|
@@ -2369,7 +2369,7 @@ function ni() {
|
|
|
2369
2369
|
}(e.default.Component), Ne;
|
|
2370
2370
|
}
|
|
2371
2371
|
var Lt, mr;
|
|
2372
|
-
function
|
|
2372
|
+
function ni() {
|
|
2373
2373
|
if (mr) return Lt;
|
|
2374
2374
|
mr = 1;
|
|
2375
2375
|
var e = function(t) {
|
|
@@ -2380,34 +2380,34 @@ function ii() {
|
|
|
2380
2380
|
return Lt = e, Lt;
|
|
2381
2381
|
}
|
|
2382
2382
|
var Dt, vr;
|
|
2383
|
-
function
|
|
2383
|
+
function ii() {
|
|
2384
2384
|
if (vr) return Dt;
|
|
2385
2385
|
vr = 1;
|
|
2386
|
-
var e =
|
|
2386
|
+
var e = ni(), t = function(a) {
|
|
2387
2387
|
var s = /[height|width]$/;
|
|
2388
2388
|
return s.test(a);
|
|
2389
2389
|
}, r = function(a) {
|
|
2390
|
-
var s = "",
|
|
2391
|
-
return
|
|
2390
|
+
var s = "", d = Object.keys(a);
|
|
2391
|
+
return d.forEach(function(l, u) {
|
|
2392
2392
|
var c = a[l];
|
|
2393
|
-
l = e(l), t(l) && typeof c == "number" && (c = c + "px"), c === !0 ? s += l : c === !1 ? s += "not " + l : s += "(" + l + ": " + c + ")", u <
|
|
2393
|
+
l = e(l), t(l) && typeof c == "number" && (c = c + "px"), c === !0 ? s += l : c === !1 ? s += "not " + l : s += "(" + l + ": " + c + ")", u < d.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(d, l) {
|
|
2398
|
+
s += r(d), l < a.length - 1 && (s += ", ");
|
|
2399
2399
|
}), s) : r(a);
|
|
2400
2400
|
};
|
|
2401
2401
|
return Dt = i, Dt;
|
|
2402
2402
|
}
|
|
2403
2403
|
var gr;
|
|
2404
|
-
function
|
|
2404
|
+
function ai() {
|
|
2405
2405
|
return gr || (gr = 1, function(e) {
|
|
2406
2406
|
Object.defineProperty(e, "__esModule", {
|
|
2407
2407
|
value: !0
|
|
2408
2408
|
}), e.default = void 0;
|
|
2409
|
-
var t =
|
|
2410
|
-
function
|
|
2409
|
+
var t = d(V), r = ri(), i = d(ii()), a = d(zr()), s = Ke();
|
|
2410
|
+
function d(R) {
|
|
2411
2411
|
return R && R.__esModule ? R : { default: R };
|
|
2412
2412
|
}
|
|
2413
2413
|
function l(R) {
|
|
@@ -2612,8 +2612,8 @@ function oi() {
|
|
|
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 f = [], O = n; O < n + _.slidesPerRow && (_.variableWidth && E[O].props.style && (o = E[O].props.style.width), !(O >= E.length)); O += 1)
|
|
2616
|
+
f.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 oi() {
|
|
|
2623
2623
|
}));
|
|
2624
2624
|
m.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2625
2625
|
key: 10 * H + n
|
|
2626
|
-
},
|
|
2626
|
+
}, f));
|
|
2627
2627
|
}
|
|
2628
2628
|
_.variableWidth ? j.push(/* @__PURE__ */ t.default.createElement("div", {
|
|
2629
2629
|
key: H,
|
|
@@ -2650,20 +2650,20 @@ function oi() {
|
|
|
2650
2650
|
}(Et)), Et;
|
|
2651
2651
|
}
|
|
2652
2652
|
var yr;
|
|
2653
|
-
function
|
|
2653
|
+
function oi() {
|
|
2654
2654
|
return yr || (yr = 1, function(e) {
|
|
2655
2655
|
Object.defineProperty(e, "__esModule", {
|
|
2656
2656
|
value: !0
|
|
2657
2657
|
}), e.default = void 0;
|
|
2658
|
-
var t = r(
|
|
2658
|
+
var t = r(ai());
|
|
2659
2659
|
function r(i) {
|
|
2660
2660
|
return i && i.__esModule ? i : { default: i };
|
|
2661
2661
|
}
|
|
2662
2662
|
e.default = t.default;
|
|
2663
2663
|
}(Ct)), Ct;
|
|
2664
2664
|
}
|
|
2665
|
-
var
|
|
2666
|
-
const
|
|
2665
|
+
var si = oi();
|
|
2666
|
+
const li = /* @__PURE__ */ Vt(si);
|
|
2667
2667
|
function Ht() {
|
|
2668
2668
|
return Ht = Object.assign ? Object.assign.bind() : function(e) {
|
|
2669
2669
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -2673,18 +2673,18 @@ function Ht() {
|
|
|
2673
2673
|
return e;
|
|
2674
2674
|
}, Ht.apply(null, arguments);
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2676
|
+
function ui(e) {
|
|
2677
2677
|
if (e.sheet)
|
|
2678
2678
|
return e.sheet;
|
|
2679
2679
|
for (var t = 0; t < document.styleSheets.length; t++)
|
|
2680
2680
|
if (document.styleSheets[t].ownerNode === e)
|
|
2681
2681
|
return document.styleSheets[t];
|
|
2682
2682
|
}
|
|
2683
|
-
function
|
|
2683
|
+
function ci(e) {
|
|
2684
2684
|
var t = document.createElement("style");
|
|
2685
2685
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
2686
2686
|
}
|
|
2687
|
-
var
|
|
2687
|
+
var fi = /* @__PURE__ */ function() {
|
|
2688
2688
|
function e(r) {
|
|
2689
2689
|
var i = this;
|
|
2690
2690
|
this._insertTag = function(a) {
|
|
@@ -2696,10 +2696,10 @@ var di = /* @__PURE__ */ function() {
|
|
|
2696
2696
|
return t.hydrate = function(i) {
|
|
2697
2697
|
i.forEach(this._insertTag);
|
|
2698
2698
|
}, t.insert = function(i) {
|
|
2699
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
2699
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ci(this));
|
|
2700
2700
|
var a = this.tags[this.tags.length - 1];
|
|
2701
2701
|
if (this.isSpeedy) {
|
|
2702
|
-
var s =
|
|
2702
|
+
var s = ui(a);
|
|
2703
2703
|
try {
|
|
2704
2704
|
s.insertRule(i, s.cssRules.length);
|
|
2705
2705
|
} catch {
|
|
@@ -2713,14 +2713,14 @@ var di = /* @__PURE__ */ function() {
|
|
|
2713
2713
|
return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
|
|
2714
2714
|
}), this.tags = [], this.ctr = 0;
|
|
2715
2715
|
}, e;
|
|
2716
|
-
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Vr = "comm", qt = "rule", Bt = "decl",
|
|
2717
|
-
function
|
|
2716
|
+
}(), de = "-ms-", vt = "-moz-", re = "-webkit-", Vr = "comm", qt = "rule", Bt = "decl", di = "@import", qr = "@keyframes", hi = "@layer", pi = Math.abs, wt = String.fromCharCode, mi = Object.assign;
|
|
2717
|
+
function vi(e, t) {
|
|
2718
2718
|
return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
|
|
2719
2719
|
}
|
|
2720
2720
|
function Br(e) {
|
|
2721
2721
|
return e.trim();
|
|
2722
2722
|
}
|
|
2723
|
-
function
|
|
2723
|
+
function gi(e, t) {
|
|
2724
2724
|
return (e = t.exec(e)) ? e[0] : e;
|
|
2725
2725
|
}
|
|
2726
2726
|
function ne(e, t, r) {
|
|
@@ -2732,7 +2732,7 @@ function zt(e, t) {
|
|
|
2732
2732
|
function fe(e, t) {
|
|
2733
2733
|
return e.charCodeAt(t) | 0;
|
|
2734
2734
|
}
|
|
2735
|
-
function
|
|
2735
|
+
function qe(e, t, r) {
|
|
2736
2736
|
return e.slice(t, r);
|
|
2737
2737
|
}
|
|
2738
2738
|
function ye(e) {
|
|
@@ -2741,23 +2741,23 @@ function ye(e) {
|
|
|
2741
2741
|
function Xt(e) {
|
|
2742
2742
|
return e.length;
|
|
2743
2743
|
}
|
|
2744
|
-
function
|
|
2744
|
+
function it(e, t) {
|
|
2745
2745
|
return t.push(e), e;
|
|
2746
2746
|
}
|
|
2747
|
-
function
|
|
2747
|
+
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, d) {
|
|
2752
|
+
return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length: d, return: "" };
|
|
2753
2753
|
}
|
|
2754
2754
|
function Ue(e, t) {
|
|
2755
|
-
return
|
|
2755
|
+
return mi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2757
|
+
function bi() {
|
|
2758
2758
|
return se;
|
|
2759
2759
|
}
|
|
2760
|
-
function
|
|
2760
|
+
function wi() {
|
|
2761
2761
|
return se = he > 0 ? fe(De, --he) : 0, Le--, se === 10 && (Le = 1, St--), se;
|
|
2762
2762
|
}
|
|
2763
2763
|
function me() {
|
|
@@ -2766,13 +2766,13 @@ function me() {
|
|
|
2766
2766
|
function we() {
|
|
2767
2767
|
return fe(De, he);
|
|
2768
2768
|
}
|
|
2769
|
-
function
|
|
2769
|
+
function ot() {
|
|
2770
2770
|
return he;
|
|
2771
2771
|
}
|
|
2772
|
-
function
|
|
2773
|
-
return
|
|
2772
|
+
function Je(e, t) {
|
|
2773
|
+
return qe(De, e, t);
|
|
2774
2774
|
}
|
|
2775
|
-
function
|
|
2775
|
+
function Be(e) {
|
|
2776
2776
|
switch (e) {
|
|
2777
2777
|
// \0 \t \n \r \s whitespace token
|
|
2778
2778
|
case 0:
|
|
@@ -2816,18 +2816,18 @@ function Gr(e) {
|
|
|
2816
2816
|
function Kr(e) {
|
|
2817
2817
|
return De = "", e;
|
|
2818
2818
|
}
|
|
2819
|
-
function
|
|
2820
|
-
return Br(
|
|
2819
|
+
function st(e) {
|
|
2820
|
+
return Br(Je(he - 1, Nt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2822
|
+
function Si(e) {
|
|
2823
2823
|
for (; (se = we()) && se < 33; )
|
|
2824
2824
|
me();
|
|
2825
|
-
return
|
|
2825
|
+
return Be(e) > 2 || Be(se) > 3 ? "" : " ";
|
|
2826
2826
|
}
|
|
2827
|
-
function
|
|
2827
|
+
function xi(e, t) {
|
|
2828
2828
|
for (; --t && me() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
|
|
2829
2829
|
;
|
|
2830
|
-
return
|
|
2830
|
+
return Je(e, ot() + (t < 6 && we() == 32 && me() == 32));
|
|
2831
2831
|
}
|
|
2832
2832
|
function Nt(e) {
|
|
2833
2833
|
for (; me(); )
|
|
@@ -2851,52 +2851,52 @@ function Nt(e) {
|
|
|
2851
2851
|
}
|
|
2852
2852
|
return he;
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2854
|
+
function Oi(e, t) {
|
|
2855
2855
|
for (; me() && e + se !== 57; )
|
|
2856
2856
|
if (e + se === 84 && we() === 47)
|
|
2857
2857
|
break;
|
|
2858
|
-
return "/*" +
|
|
2858
|
+
return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : me());
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2861
|
-
for (; !
|
|
2860
|
+
function ki(e) {
|
|
2861
|
+
for (; !Be(we()); )
|
|
2862
2862
|
me();
|
|
2863
|
-
return
|
|
2863
|
+
return Je(e, he);
|
|
2864
2864
|
}
|
|
2865
|
-
function
|
|
2866
|
-
return Kr(
|
|
2865
|
+
function Pi(e) {
|
|
2866
|
+
return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
|
|
2867
2867
|
}
|
|
2868
|
-
function
|
|
2869
|
-
for (var c = 0, v = 0, w =
|
|
2868
|
+
function lt(e, t, r, i, a, s, d, l, u) {
|
|
2869
|
+
for (var c = 0, v = 0, w = d, x = 0, L = 0, P = 0, p = 1, I = 1, k = 1, F = 0, U = "", q = a, g = s, b = i, S = U; I; )
|
|
2870
2870
|
switch (P = F, F = me()) {
|
|
2871
2871
|
// (
|
|
2872
2872
|
case 40:
|
|
2873
2873
|
if (P != 108 && fe(S, w - 1) == 58) {
|
|
2874
|
-
zt(S += ne(
|
|
2874
|
+
zt(S += 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
|
-
S +=
|
|
2881
|
+
S += 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
|
-
S +=
|
|
2888
|
+
S += Si(P);
|
|
2889
2889
|
break;
|
|
2890
2890
|
// \
|
|
2891
2891
|
case 92:
|
|
2892
|
-
S +=
|
|
2892
|
+
S += xi(ot() - 1, 7);
|
|
2893
2893
|
continue;
|
|
2894
2894
|
// /
|
|
2895
2895
|
case 47:
|
|
2896
2896
|
switch (we()) {
|
|
2897
2897
|
case 42:
|
|
2898
2898
|
case 47:
|
|
2899
|
-
|
|
2899
|
+
it(Ci(Oi(me(), ot()), t, r), u);
|
|
2900
2900
|
break;
|
|
2901
2901
|
default:
|
|
2902
2902
|
S += "/";
|
|
@@ -2916,16 +2916,16 @@ function ut(e, t, r, i, a, s, f, l, u) {
|
|
|
2916
2916
|
I = 0;
|
|
2917
2917
|
// ;
|
|
2918
2918
|
case 59 + v:
|
|
2919
|
-
k == -1 && (S = ne(S, /\f/g, "")), L > 0 && ye(S) - w &&
|
|
2919
|
+
k == -1 && (S = ne(S, /\f/g, "")), L > 0 && ye(S) - w && it(L > 32 ? wr(S + ";", i, r, w - 1) : wr(ne(S, " ", "") + ";", i, r, w - 2), u);
|
|
2920
2920
|
break;
|
|
2921
2921
|
// @ ;
|
|
2922
2922
|
case 59:
|
|
2923
2923
|
S += ";";
|
|
2924
2924
|
// { rule/at-rule
|
|
2925
2925
|
default:
|
|
2926
|
-
if (
|
|
2926
|
+
if (it(b = br(S, t, r, c, v, a, l, U, q = [], g = [], w), s), F === 123)
|
|
2927
2927
|
if (v === 0)
|
|
2928
|
-
|
|
2928
|
+
lt(S, t, b, b, q, s, w, l, g);
|
|
2929
2929
|
else
|
|
2930
2930
|
switch (x === 99 && fe(S, 3) === 110 ? 100 : x) {
|
|
2931
2931
|
// d l m s
|
|
@@ -2933,13 +2933,13 @@ function ut(e, t, r, i, a, s, f, l, u) {
|
|
|
2933
2933
|
case 108:
|
|
2934
2934
|
case 109:
|
|
2935
2935
|
case 115:
|
|
2936
|
-
|
|
2936
|
+
lt(e, b, b, i && it(br(e, b, b, 0, 0, a, l, U, a, q = [], w), g), a, g, w, l, i ? q : g);
|
|
2937
2937
|
break;
|
|
2938
2938
|
default:
|
|
2939
|
-
|
|
2939
|
+
lt(S, b, b, b, [""], g, 0, l, g);
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
|
-
c = v = L = 0, p = k = 1, U = S = "", w =
|
|
2942
|
+
c = v = L = 0, p = k = 1, U = S = "", w = d;
|
|
2943
2943
|
break;
|
|
2944
2944
|
// :
|
|
2945
2945
|
case 58:
|
|
@@ -2948,7 +2948,7 @@ function ut(e, t, r, i, a, s, f, l, u) {
|
|
|
2948
2948
|
if (p < 1) {
|
|
2949
2949
|
if (F == 123)
|
|
2950
2950
|
--p;
|
|
2951
|
-
else if (F == 125 && p++ == 0 &&
|
|
2951
|
+
else if (F == 125 && p++ == 0 && wi() == 125)
|
|
2952
2952
|
continue;
|
|
2953
2953
|
}
|
|
2954
2954
|
switch (S += wt(F), F * p) {
|
|
@@ -2962,7 +2962,7 @@ function ut(e, t, r, i, a, s, f, l, u) {
|
|
|
2962
2962
|
break;
|
|
2963
2963
|
// @
|
|
2964
2964
|
case 64:
|
|
2965
|
-
we() === 45 && (S +=
|
|
2965
|
+
we() === 45 && (S += st(me())), x = we(), v = w = ye(U = S += ki(ot())), F++;
|
|
2966
2966
|
break;
|
|
2967
2967
|
// -
|
|
2968
2968
|
case 45:
|
|
@@ -2971,28 +2971,28 @@ function ut(e, t, r, i, a, s, f, l, u) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
return s;
|
|
2973
2973
|
}
|
|
2974
|
-
function br(e, t, r, i, a, s,
|
|
2974
|
+
function br(e, t, r, i, a, s, d, l, u, c, v) {
|
|
2975
2975
|
for (var w = a - 1, x = a === 0 ? s : [""], L = Xt(x), P = 0, p = 0, I = 0; P < i; ++P)
|
|
2976
|
-
for (var k = 0, F =
|
|
2976
|
+
for (var k = 0, F = qe(e, w + 1, w = pi(p = d[P])), U = e; k < L; ++k)
|
|
2977
2977
|
(U = Br(p > 0 ? x[k] + " " + F : ne(F, /&\f/g, x[k]))) && (u[I++] = U);
|
|
2978
2978
|
return xt(e, t, r, a === 0 ? qt : l, u, c, v);
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2981
|
-
return xt(e, t, r, Vr, wt(
|
|
2980
|
+
function Ci(e, t, r) {
|
|
2981
|
+
return xt(e, t, r, Vr, wt(bi()), qe(e, 2, -2), 0);
|
|
2982
2982
|
}
|
|
2983
2983
|
function wr(e, t, r, i) {
|
|
2984
|
-
return xt(e, t, r, Bt,
|
|
2984
|
+
return xt(e, t, r, Bt, qe(e, 0, i), qe(e, i + 1, -1), i);
|
|
2985
2985
|
}
|
|
2986
2986
|
function Te(e, t) {
|
|
2987
2987
|
for (var r = "", i = Xt(e), a = 0; a < i; a++)
|
|
2988
2988
|
r += t(e[a], a, e, t) || "";
|
|
2989
2989
|
return r;
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function Ei(e, t, r, i) {
|
|
2992
2992
|
switch (e.type) {
|
|
2993
|
-
case pi:
|
|
2994
|
-
if (e.children.length) break;
|
|
2995
2993
|
case hi:
|
|
2994
|
+
if (e.children.length) break;
|
|
2995
|
+
case di:
|
|
2996
2996
|
case Bt:
|
|
2997
2997
|
return e.return = e.return || e.value;
|
|
2998
2998
|
case Vr:
|
|
@@ -3004,15 +3004,15 @@ function Ri(e, t, r, i) {
|
|
|
3004
3004
|
}
|
|
3005
3005
|
return ye(r = Te(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3006
3006
|
}
|
|
3007
|
-
function
|
|
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 d = "", l = 0; l < t; l++)
|
|
3011
|
+
d += e[l](r, i, a, s) || "";
|
|
3012
|
+
return d;
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
3015
|
-
function
|
|
3015
|
+
function _i(e) {
|
|
3016
3016
|
return function(t) {
|
|
3017
3017
|
t.root || (t = t.return) && e(t);
|
|
3018
3018
|
};
|
|
@@ -3023,19 +3023,19 @@ function Jr(e) {
|
|
|
3023
3023
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
|
-
var
|
|
3027
|
-
for (var a = 0, s = 0; a = s, s = we(), a === 38 && s === 12 && (r[i] = 1), !
|
|
3026
|
+
var Ti = function(t, r, i) {
|
|
3027
|
+
for (var a = 0, s = 0; a = s, s = we(), a === 38 && s === 12 && (r[i] = 1), !Be(s); )
|
|
3028
3028
|
me();
|
|
3029
|
-
return
|
|
3030
|
-
},
|
|
3029
|
+
return Je(t, he);
|
|
3030
|
+
}, ji = function(t, r) {
|
|
3031
3031
|
var i = -1, a = 44;
|
|
3032
3032
|
do
|
|
3033
|
-
switch (
|
|
3033
|
+
switch (Be(a)) {
|
|
3034
3034
|
case 0:
|
|
3035
|
-
a === 38 && we() === 12 && (r[i] = 1), t[i] +=
|
|
3035
|
+
a === 38 && we() === 12 && (r[i] = 1), t[i] += Ti(he - 1, r, i);
|
|
3036
3036
|
break;
|
|
3037
3037
|
case 2:
|
|
3038
|
-
t[i] +=
|
|
3038
|
+
t[i] += st(a);
|
|
3039
3039
|
break;
|
|
3040
3040
|
case 4:
|
|
3041
3041
|
if (a === 44) {
|
|
@@ -3048,9 +3048,9 @@ var ji = function(t, r, i) {
|
|
|
3048
3048
|
}
|
|
3049
3049
|
while (a = me());
|
|
3050
3050
|
return t;
|
|
3051
|
-
},
|
|
3052
|
-
return Kr(
|
|
3053
|
-
}, Sr = /* @__PURE__ */ new WeakMap(),
|
|
3051
|
+
}, Li = function(t, r) {
|
|
3052
|
+
return Kr(ji(Gr(t), r));
|
|
3053
|
+
}, Sr = /* @__PURE__ */ new WeakMap(), Di = function(t) {
|
|
3054
3054
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
3055
3055
|
// negative .length indicates that this rule has been already prefixed
|
|
3056
3056
|
t.length < 1)) {
|
|
@@ -3058,12 +3058,12 @@ var ji = 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 = [],
|
|
3061
|
+
for (var s = [], d = Li(r, s), l = i.props, u = 0, c = 0; u < d.length; u++)
|
|
3062
3062
|
for (var v = 0; v < l.length; v++, c++)
|
|
3063
|
-
t.props[c] = s[u] ?
|
|
3063
|
+
t.props[c] = s[u] ? d[u].replace(/&\f/g, l[v]) : l[v] + " " + d[u];
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
|
-
},
|
|
3066
|
+
}, Mi = function(t) {
|
|
3067
3067
|
if (t.type === "decl") {
|
|
3068
3068
|
var r = t.value;
|
|
3069
3069
|
// charcode for l
|
|
@@ -3072,7 +3072,7 @@ var ji = function(t, r, i) {
|
|
|
3072
3072
|
}
|
|
3073
3073
|
};
|
|
3074
3074
|
function Zr(e, t) {
|
|
3075
|
-
switch (
|
|
3075
|
+
switch (vi(e, t)) {
|
|
3076
3076
|
// color-adjust
|
|
3077
3077
|
case 5103:
|
|
3078
3078
|
return re + "print-" + e + e;
|
|
@@ -3213,7 +3213,7 @@ function Zr(e, t) {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
return e;
|
|
3215
3215
|
}
|
|
3216
|
-
var
|
|
3216
|
+
var $i = function(t, r, i, a) {
|
|
3217
3217
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
3218
3218
|
case Bt:
|
|
3219
3219
|
t.return = Zr(t.value, t.length);
|
|
@@ -3223,8 +3223,8 @@ var Ii = function(t, r, i, a) {
|
|
|
3223
3223
|
value: ne(t.value, "@", "@" + re)
|
|
3224
3224
|
})], a);
|
|
3225
3225
|
case qt:
|
|
3226
|
-
if (t.length) return
|
|
3227
|
-
switch (
|
|
3226
|
+
if (t.length) return yi(t.props, function(s) {
|
|
3227
|
+
switch (gi(s, /(::plac\w+|:read-\w+)/)) {
|
|
3228
3228
|
// :read-(only|write)
|
|
3229
3229
|
case ":read-only":
|
|
3230
3230
|
case ":read-write":
|
|
@@ -3244,7 +3244,7 @@ var Ii = function(t, r, i, a) {
|
|
|
3244
3244
|
return "";
|
|
3245
3245
|
});
|
|
3246
3246
|
}
|
|
3247
|
-
},
|
|
3247
|
+
}, Ii = [$i], Ai = function(t) {
|
|
3248
3248
|
var r = t.key;
|
|
3249
3249
|
if (r === "css") {
|
|
3250
3250
|
var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -3253,8 +3253,8 @@ var Ii = 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 ||
|
|
3257
|
-
|
|
3256
|
+
var a = t.stylisPlugins || Ii, s = {}, d, l = [];
|
|
3257
|
+
d = 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,12 +3264,12 @@ var Ii = function(t, r, i, a) {
|
|
|
3264
3264
|
l.push(p);
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
3267
|
-
var u, c = [
|
|
3267
|
+
var u, c = [Di, Mi];
|
|
3268
3268
|
{
|
|
3269
|
-
var v, w = [
|
|
3269
|
+
var v, w = [Ei, _i(function(p) {
|
|
3270
3270
|
v.insert(p);
|
|
3271
|
-
})], x =
|
|
3272
|
-
return Te(
|
|
3271
|
+
})], x = Ri(c.concat(a, w)), L = function(I) {
|
|
3272
|
+
return Te(Pi(I), x);
|
|
3273
3273
|
};
|
|
3274
3274
|
u = function(I, k, F, U) {
|
|
3275
3275
|
v = F, L(I ? I + "{" + k.styles + "}" : k.styles), U && (P.inserted[k.name] = !0);
|
|
@@ -3277,9 +3277,9 @@ var Ii = function(t, r, i, a) {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
var P = {
|
|
3279
3279
|
key: r,
|
|
3280
|
-
sheet: new
|
|
3280
|
+
sheet: new fi({
|
|
3281
3281
|
key: r,
|
|
3282
|
-
container:
|
|
3282
|
+
container: d,
|
|
3283
3283
|
nonce: t.nonce,
|
|
3284
3284
|
speedy: t.speedy,
|
|
3285
3285
|
prepend: t.prepend,
|
|
@@ -3291,8 +3291,8 @@ var Ii = function(t, r, i, a) {
|
|
|
3291
3291
|
insert: u
|
|
3292
3292
|
};
|
|
3293
3293
|
return P.sheet.hydrate(l), P;
|
|
3294
|
-
},
|
|
3295
|
-
function
|
|
3294
|
+
}, Hi = !0;
|
|
3295
|
+
function zi(e, t, r) {
|
|
3296
3296
|
var i = "";
|
|
3297
3297
|
return r.split(" ").forEach(function(a) {
|
|
3298
3298
|
e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
|
|
@@ -3309,8 +3309,8 @@ var Qr = function(t, r, i) {
|
|
|
3309
3309
|
// in node since emotion-server relies on whether a style is in
|
|
3310
3310
|
// the registered cache to know whether a style is global or not
|
|
3311
3311
|
// also, note that this check will be dead code eliminated in the browser
|
|
3312
|
-
|
|
3313
|
-
},
|
|
3312
|
+
Hi === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
|
|
3313
|
+
}, Ni = function(t, r, i) {
|
|
3314
3314
|
Qr(t, r, i);
|
|
3315
3315
|
var a = t.key + "-" + r.name;
|
|
3316
3316
|
if (t.inserted[r.name] === void 0) {
|
|
@@ -3320,7 +3320,7 @@ var Qr = function(t, r, i) {
|
|
|
3320
3320
|
while (s !== void 0);
|
|
3321
3321
|
}
|
|
3322
3322
|
};
|
|
3323
|
-
function
|
|
3323
|
+
function Fi(e) {
|
|
3324
3324
|
for (var t = 0, r, i = 0, a = e.length; a >= 4; ++i, a -= 4)
|
|
3325
3325
|
r = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, r = /* Math.imul(k, m): */
|
|
3326
3326
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -3339,7 +3339,7 @@ function Wi(e) {
|
|
|
3339
3339
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
3340
3340
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
3341
3341
|
}
|
|
3342
|
-
var
|
|
3342
|
+
var Wi = {
|
|
3343
3343
|
animationIterationCount: 1,
|
|
3344
3344
|
aspectRatio: 1,
|
|
3345
3345
|
borderImageOutset: 1,
|
|
@@ -3388,18 +3388,18 @@ var Ui = {
|
|
|
3388
3388
|
strokeMiterlimit: 1,
|
|
3389
3389
|
strokeOpacity: 1,
|
|
3390
3390
|
strokeWidth: 1
|
|
3391
|
-
},
|
|
3391
|
+
}, Ui = /[A-Z]|^ms/g, Yi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, en = function(t) {
|
|
3392
3392
|
return t.charCodeAt(1) === 45;
|
|
3393
3393
|
}, xr = function(t) {
|
|
3394
3394
|
return t != null && typeof t != "boolean";
|
|
3395
3395
|
}, Mt = /* @__PURE__ */ Jr(function(e) {
|
|
3396
|
-
return en(e) ? e : e.replace(
|
|
3396
|
+
return en(e) ? e : e.replace(Ui, "-$&").toLowerCase();
|
|
3397
3397
|
}), Or = function(t, r) {
|
|
3398
3398
|
switch (t) {
|
|
3399
3399
|
case "animation":
|
|
3400
3400
|
case "animationName":
|
|
3401
3401
|
if (typeof r == "string")
|
|
3402
|
-
return r.replace(
|
|
3402
|
+
return r.replace(Yi, function(i, a, s) {
|
|
3403
3403
|
return be = {
|
|
3404
3404
|
name: a,
|
|
3405
3405
|
styles: s,
|
|
@@ -3407,9 +3407,9 @@ var Ui = {
|
|
|
3407
3407
|
}, a;
|
|
3408
3408
|
});
|
|
3409
3409
|
}
|
|
3410
|
-
return
|
|
3410
|
+
return Wi[t] !== 1 && !en(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
3411
3411
|
};
|
|
3412
|
-
function
|
|
3412
|
+
function Xe(e, t, r) {
|
|
3413
3413
|
if (r == null)
|
|
3414
3414
|
return "";
|
|
3415
3415
|
var i = r;
|
|
@@ -3428,23 +3428,23 @@ function Ge(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 d = s.next;
|
|
3432
|
+
if (d !== void 0)
|
|
3433
|
+
for (; d !== void 0; )
|
|
3434
3434
|
be = {
|
|
3435
|
-
name:
|
|
3436
|
-
styles:
|
|
3435
|
+
name: d.name,
|
|
3436
|
+
styles: d.styles,
|
|
3437
3437
|
next: be
|
|
3438
|
-
},
|
|
3438
|
+
}, d = d.next;
|
|
3439
3439
|
var l = s.styles + ";";
|
|
3440
3440
|
return l;
|
|
3441
3441
|
}
|
|
3442
|
-
return
|
|
3442
|
+
return Vi(e, t, r);
|
|
3443
3443
|
}
|
|
3444
3444
|
case "function": {
|
|
3445
3445
|
if (e !== void 0) {
|
|
3446
3446
|
var u = be, c = r(e);
|
|
3447
|
-
return be = u,
|
|
3447
|
+
return be = u, Xe(e, t, c);
|
|
3448
3448
|
}
|
|
3449
3449
|
break;
|
|
3450
3450
|
}
|
|
@@ -3455,22 +3455,22 @@ function Ge(e, t, r) {
|
|
|
3455
3455
|
var w = t[v];
|
|
3456
3456
|
return w !== void 0 ? w : v;
|
|
3457
3457
|
}
|
|
3458
|
-
function
|
|
3458
|
+
function Vi(e, t, r) {
|
|
3459
3459
|
var i = "";
|
|
3460
3460
|
if (Array.isArray(r))
|
|
3461
3461
|
for (var a = 0; a < r.length; a++)
|
|
3462
|
-
i +=
|
|
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 d = r[s];
|
|
3466
|
+
if (typeof d != "object") {
|
|
3467
|
+
var l = d;
|
|
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(d) && typeof d[0] == "string" && (t == null || t[d[0]] === void 0))
|
|
3470
|
+
for (var u = 0; u < d.length; u++)
|
|
3471
|
+
xr(d[u]) && (i += Mt(s) + ":" + Or(s, d[u]) + ";");
|
|
3472
3472
|
else {
|
|
3473
|
-
var c =
|
|
3473
|
+
var c = Xe(e, t, d);
|
|
3474
3474
|
switch (s) {
|
|
3475
3475
|
case "animation":
|
|
3476
3476
|
case "animationName": {
|
|
@@ -3485,81 +3485,81 @@ function qi(e, t, r) {
|
|
|
3485
3485
|
return i;
|
|
3486
3486
|
}
|
|
3487
3487
|
var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, be;
|
|
3488
|
-
function
|
|
3488
|
+
function qi(e, t, r) {
|
|
3489
3489
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
3490
3490
|
return e[0];
|
|
3491
3491
|
var i = !0, a = "";
|
|
3492
3492
|
be = void 0;
|
|
3493
3493
|
var s = e[0];
|
|
3494
3494
|
if (s == null || s.raw === void 0)
|
|
3495
|
-
i = !1, a +=
|
|
3495
|
+
i = !1, a += Xe(r, t, s);
|
|
3496
3496
|
else {
|
|
3497
|
-
var
|
|
3498
|
-
a +=
|
|
3497
|
+
var d = s;
|
|
3498
|
+
a += d[0];
|
|
3499
3499
|
}
|
|
3500
3500
|
for (var l = 1; l < e.length; l++)
|
|
3501
|
-
if (a +=
|
|
3501
|
+
if (a += Xe(r, t, e[l]), i) {
|
|
3502
3502
|
var u = s;
|
|
3503
3503
|
a += u[l];
|
|
3504
3504
|
}
|
|
3505
3505
|
kr.lastIndex = 0;
|
|
3506
3506
|
for (var c = "", v; (v = kr.exec(a)) !== null; )
|
|
3507
3507
|
c += "-" + v[1];
|
|
3508
|
-
var w =
|
|
3508
|
+
var w = Fi(a) + c;
|
|
3509
3509
|
return {
|
|
3510
3510
|
name: w,
|
|
3511
3511
|
styles: a,
|
|
3512
3512
|
next: be
|
|
3513
3513
|
};
|
|
3514
3514
|
}
|
|
3515
|
-
var
|
|
3515
|
+
var Bi = function(t) {
|
|
3516
3516
|
return t();
|
|
3517
|
-
},
|
|
3517
|
+
}, Xi = M.useInsertionEffect ? M.useInsertionEffect : !1, Gi = Xi || Bi, tn = /* @__PURE__ */ M.createContext(
|
|
3518
3518
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3519
3519
|
// because this module is primarily intended for the browser and node
|
|
3520
3520
|
// but it's also required in react native and similar environments sometimes
|
|
3521
3521
|
// and we could have a special build just for that
|
|
3522
3522
|
// but this is much easier and the native packages
|
|
3523
3523
|
// might use a different theme context in the future anyway
|
|
3524
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
3524
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Ai({
|
|
3525
3525
|
key: "css"
|
|
3526
3526
|
}) : null
|
|
3527
3527
|
);
|
|
3528
3528
|
tn.Provider;
|
|
3529
|
-
var
|
|
3530
|
-
return /* @__PURE__ */
|
|
3529
|
+
var Ki = function(t) {
|
|
3530
|
+
return /* @__PURE__ */ Pn(function(r, i) {
|
|
3531
3531
|
var a = Yt(tn);
|
|
3532
3532
|
return t(r, a, i);
|
|
3533
3533
|
});
|
|
3534
|
-
},
|
|
3534
|
+
}, Ji = /* @__PURE__ */ M.createContext({}), Zi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Qi = /* @__PURE__ */ Jr(
|
|
3535
3535
|
function(e) {
|
|
3536
|
-
return
|
|
3536
|
+
return Zi.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
3537
3537
|
}
|
|
3538
3538
|
/* Z+1 */
|
|
3539
|
-
),
|
|
3539
|
+
), ea = Qi, ta = function(t) {
|
|
3540
3540
|
return t !== "theme";
|
|
3541
3541
|
}, Pr = function(t) {
|
|
3542
3542
|
return typeof t == "string" && // 96 is one less than the char code
|
|
3543
3543
|
// for "a" so this is checking that
|
|
3544
3544
|
// it's a lowercase character
|
|
3545
|
-
t.charCodeAt(0) > 96 ?
|
|
3545
|
+
t.charCodeAt(0) > 96 ? ea : ta;
|
|
3546
3546
|
}, Cr = function(t, r, i) {
|
|
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(d) {
|
|
3551
|
+
return t.__emotion_forwardProp(d) && s(d);
|
|
3552
3552
|
} : s;
|
|
3553
3553
|
}
|
|
3554
3554
|
return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
|
|
3555
|
-
},
|
|
3555
|
+
}, ra = function(t) {
|
|
3556
3556
|
var r = t.cache, i = t.serialized, a = t.isStringTag;
|
|
3557
|
-
return Qr(r, i, a),
|
|
3558
|
-
return
|
|
3557
|
+
return Qr(r, i, a), Gi(function() {
|
|
3558
|
+
return Ni(r, i, a);
|
|
3559
3559
|
}), null;
|
|
3560
|
-
},
|
|
3561
|
-
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s,
|
|
3562
|
-
r !== void 0 && (s = r.label,
|
|
3560
|
+
}, na = function e(t, r) {
|
|
3561
|
+
var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, d;
|
|
3562
|
+
r !== void 0 && (s = r.label, d = r.target);
|
|
3563
3563
|
var l = Cr(t, r, i), u = l || Pr(a), c = !u("as");
|
|
3564
3564
|
return function() {
|
|
3565
3565
|
var v = arguments, w = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
@@ -3571,21 +3571,21 @@ var Ji = function(t) {
|
|
|
3571
3571
|
for (var L = v.length, P = 1; P < L; P++)
|
|
3572
3572
|
w.push(v[P], x[P]);
|
|
3573
3573
|
}
|
|
3574
|
-
var p =
|
|
3574
|
+
var p = Ki(function(I, k, F) {
|
|
3575
3575
|
var U = c && I.as || a, q = "", g = [], b = I;
|
|
3576
3576
|
if (I.theme == null) {
|
|
3577
3577
|
b = {};
|
|
3578
3578
|
for (var S in I)
|
|
3579
3579
|
b[S] = I[S];
|
|
3580
|
-
b.theme = M.useContext(
|
|
3580
|
+
b.theme = M.useContext(Ji);
|
|
3581
3581
|
}
|
|
3582
|
-
typeof I.className == "string" ? q =
|
|
3583
|
-
var R =
|
|
3584
|
-
q += k.key + "-" + R.name,
|
|
3582
|
+
typeof I.className == "string" ? q = zi(k.registered, g, I.className) : I.className != null && (q = I.className + " ");
|
|
3583
|
+
var R = qi(w.concat(g), k.registered, b);
|
|
3584
|
+
q += k.key + "-" + R.name, d !== void 0 && (q += " " + d);
|
|
3585
3585
|
var y = c && l === void 0 ? Pr(U) : u, h = {};
|
|
3586
3586
|
for (var C in I)
|
|
3587
3587
|
c && C === "as" || y(C) && (h[C] = I[C]);
|
|
3588
|
-
return h.className = q, F && (h.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(
|
|
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"
|
|
@@ -3593,7 +3593,7 @@ var Ji = function(t) {
|
|
|
3593
3593
|
});
|
|
3594
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 = w, p.__emotion_forwardProp = l, Object.defineProperty(p, "toString", {
|
|
3595
3595
|
value: function() {
|
|
3596
|
-
return "." +
|
|
3596
|
+
return "." + d;
|
|
3597
3597
|
}
|
|
3598
3598
|
}), p.withComponent = function(I, k) {
|
|
3599
3599
|
var F = e(I, Ht({}, r, k, {
|
|
@@ -3602,7 +3602,7 @@ var Ji = function(t) {
|
|
|
3602
3602
|
return F.apply(void 0, w);
|
|
3603
3603
|
}, p;
|
|
3604
3604
|
};
|
|
3605
|
-
},
|
|
3605
|
+
}, ia = [
|
|
3606
3606
|
"a",
|
|
3607
3607
|
"abbr",
|
|
3608
3608
|
"address",
|
|
@@ -3738,11 +3738,11 @@ var Ji = function(t) {
|
|
|
3738
3738
|
"svg",
|
|
3739
3739
|
"text",
|
|
3740
3740
|
"tspan"
|
|
3741
|
-
], Ee =
|
|
3742
|
-
|
|
3741
|
+
], Ee = na.bind(null);
|
|
3742
|
+
ia.forEach(function(e) {
|
|
3743
3743
|
Ee[e] = Ee(e);
|
|
3744
3744
|
});
|
|
3745
|
-
const
|
|
3745
|
+
const aa = Ee.div`
|
|
3746
3746
|
width: 100%;
|
|
3747
3747
|
height: fit-content;
|
|
3748
3748
|
|
|
@@ -3818,7 +3818,7 @@ const oa = Ee.div`
|
|
|
3818
3818
|
opacity: 0.75;
|
|
3819
3819
|
color: black;
|
|
3820
3820
|
}
|
|
3821
|
-
`,
|
|
3821
|
+
`, oa = Ee.div`
|
|
3822
3822
|
box-sizing: border-box;
|
|
3823
3823
|
display: flex;
|
|
3824
3824
|
flex-direction: column;
|
|
@@ -3837,7 +3837,7 @@ const oa = 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), d = V.useRef(null), l = V.useRef(null);
|
|
3841
3841
|
var u = {
|
|
3842
3842
|
dots: !1,
|
|
3843
3843
|
speed: 500,
|
|
@@ -3849,7 +3849,7 @@ const oa = Ee.div`
|
|
|
3849
3849
|
...r
|
|
3850
3850
|
};
|
|
3851
3851
|
const c = t.map((w, x) => /* @__PURE__ */ X.jsx(
|
|
3852
|
-
|
|
3852
|
+
oa,
|
|
3853
3853
|
{
|
|
3854
3854
|
ref: x === 0 ? l : void 0,
|
|
3855
3855
|
styles: {
|
|
@@ -3866,7 +3866,7 @@ const oa = Ee.div`
|
|
|
3866
3866
|
s(u.slidesToShow);
|
|
3867
3867
|
return;
|
|
3868
3868
|
}
|
|
3869
|
-
const w = (
|
|
3869
|
+
const w = (d.current?.offsetWidth || i + 1) - i, x = l.current?.offsetWidth || 1;
|
|
3870
3870
|
let L = Math.floor(w / x);
|
|
3871
3871
|
L < 1 ? L = 1 : L > t.length && (L = t.length), console.debug("Slides to show > ", {
|
|
3872
3872
|
container: w,
|
|
@@ -3876,7 +3876,7 @@ const oa = Ee.div`
|
|
|
3876
3876
|
};
|
|
3877
3877
|
return V.useEffect(() => {
|
|
3878
3878
|
v();
|
|
3879
|
-
}, [
|
|
3879
|
+
}, [d, l]), /* @__PURE__ */ X.jsx(aa, { ref: d, styles: { ...e }, children: c.length > 0 && /* @__PURE__ */ X.jsx(li, { ...u, slidesToShow: a, children: c }) });
|
|
3880
3880
|
}, ss = ({
|
|
3881
3881
|
name: e,
|
|
3882
3882
|
checked: t,
|
|
@@ -3884,7 +3884,7 @@ const oa = Ee.div`
|
|
|
3884
3884
|
styles: i,
|
|
3885
3885
|
label: a,
|
|
3886
3886
|
checkboxStyles: s,
|
|
3887
|
-
customCheckedRender:
|
|
3887
|
+
customCheckedRender: d,
|
|
3888
3888
|
customUncheckedRender: l
|
|
3889
3889
|
}) => /* @__PURE__ */ X.jsxs(
|
|
3890
3890
|
"div",
|
|
@@ -3946,7 +3946,7 @@ const oa = Ee.div`
|
|
|
3946
3946
|
...s
|
|
3947
3947
|
},
|
|
3948
3948
|
children: [
|
|
3949
|
-
t &&
|
|
3949
|
+
t && d,
|
|
3950
3950
|
!t && l
|
|
3951
3951
|
]
|
|
3952
3952
|
}
|
|
@@ -3957,7 +3957,7 @@ const oa = Ee.div`
|
|
|
3957
3957
|
a
|
|
3958
3958
|
]
|
|
3959
3959
|
}
|
|
3960
|
-
), ls = (e) => Ir(e, []),
|
|
3960
|
+
), ls = (e) => Ir(e, []), sa = () => {
|
|
3961
3961
|
const [e, t] = V.useState(
|
|
3962
3962
|
{}
|
|
3963
3963
|
), [r, i] = V.useState(!1);
|
|
@@ -3966,23 +3966,23 @@ const oa = Ee.div`
|
|
|
3966
3966
|
t({ x: l.clientX, y: l.clientY });
|
|
3967
3967
|
}, s = (l) => {
|
|
3968
3968
|
i(!0);
|
|
3969
|
-
},
|
|
3969
|
+
}, d = (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", d), () => {
|
|
3973
|
+
window.removeEventListener("pointermove", a), window.removeEventListener("pointerdown", s), window.removeEventListener("pointerup", d);
|
|
3974
3974
|
};
|
|
3975
3975
|
}, []), {
|
|
3976
3976
|
pointerPosition: e,
|
|
3977
3977
|
isPointerDown: r
|
|
3978
3978
|
};
|
|
3979
|
-
},
|
|
3979
|
+
}, la = ({
|
|
3980
3980
|
ref: e,
|
|
3981
3981
|
onDrag: t,
|
|
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: d, isPointerDown: l } = sa(), u = V.useRef({
|
|
3986
3986
|
isDragging: !1
|
|
3987
3987
|
}), c = V.useCallback(
|
|
3988
3988
|
(P) => {
|
|
@@ -4002,10 +4002,10 @@ const oa = Ee.div`
|
|
|
4002
4002
|
), w = V.useCallback(
|
|
4003
4003
|
(P) => {
|
|
4004
4004
|
u.current.isDragging = !1;
|
|
4005
|
-
const p = c(
|
|
4005
|
+
const p = c(d);
|
|
4006
4006
|
p && (i?.(p), p.startPosX = void 0, p.startPosY = void 0, u.current = p);
|
|
4007
4007
|
},
|
|
4008
|
-
[c,
|
|
4008
|
+
[c, d]
|
|
4009
4009
|
), x = V.useCallback(
|
|
4010
4010
|
(P) => {
|
|
4011
4011
|
if (console.debug(
|
|
@@ -4013,10 +4013,10 @@ const oa = Ee.div`
|
|
|
4013
4013
|
u.current.isDragging
|
|
4014
4014
|
), !u.current.isDragging)
|
|
4015
4015
|
return;
|
|
4016
|
-
const p = c(
|
|
4016
|
+
const p = c(d);
|
|
4017
4017
|
console.debug("useDrag > onPointerMove > Drag Result >", p), p && (t?.(p), u.current = p);
|
|
4018
4018
|
},
|
|
4019
|
-
[c,
|
|
4019
|
+
[c, d]
|
|
4020
4020
|
), L = V.useCallback(async () => {
|
|
4021
4021
|
if (!a.current) {
|
|
4022
4022
|
for (; !e?.current; )
|
|
@@ -4028,7 +4028,7 @@ const oa = Ee.div`
|
|
|
4028
4028
|
L();
|
|
4029
4029
|
}, [L]), V.useEffect(() => {
|
|
4030
4030
|
x();
|
|
4031
|
-
}, [
|
|
4031
|
+
}, [d]), V.useEffect(() => {
|
|
4032
4032
|
l !== s.current && (s.current = l, l || w());
|
|
4033
4033
|
}, [l, s.current]);
|
|
4034
4034
|
}, us = () => {
|
|
@@ -4084,7 +4084,7 @@ function cs(e) {
|
|
|
4084
4084
|
);
|
|
4085
4085
|
return V.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
|
|
4086
4086
|
}
|
|
4087
|
-
const
|
|
4087
|
+
const ua = {
|
|
4088
4088
|
xs: 0,
|
|
4089
4089
|
sm: 420,
|
|
4090
4090
|
md: 768,
|
|
@@ -4093,7 +4093,7 @@ const ca = {
|
|
|
4093
4093
|
xxl: 1440
|
|
4094
4094
|
}, fs = (e) => {
|
|
4095
4095
|
const t = {
|
|
4096
|
-
...
|
|
4096
|
+
...ua,
|
|
4097
4097
|
...e?.breakpointConfiguration
|
|
4098
4098
|
}, [r, i] = Ar(
|
|
4099
4099
|
Er(t)
|
|
@@ -4103,24 +4103,24 @@ const ca = {
|
|
|
4103
4103
|
return Ir(() => (window.addEventListener("resize", a), () => {
|
|
4104
4104
|
window.removeEventListener("resize", a);
|
|
4105
4105
|
}), []), Hr(() => r, [r]);
|
|
4106
|
-
},
|
|
4107
|
-
const t = window.innerWidth, r = window.innerHeight, i =
|
|
4106
|
+
}, ca = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", fa = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
|
|
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, d) => {
|
|
4111
4111
|
if (!s)
|
|
4112
4112
|
return;
|
|
4113
4113
|
let l = s[r];
|
|
4114
4114
|
if (l)
|
|
4115
|
-
return
|
|
4116
|
-
const c =
|
|
4115
|
+
return d && Object.keys(d).forEach((u) => {
|
|
4116
|
+
const c = d[u];
|
|
4117
4117
|
l = l.replaceAll(`{{${u}}}`, `${c}`);
|
|
4118
4118
|
}), l;
|
|
4119
4119
|
};
|
|
4120
4120
|
return {
|
|
4121
|
-
t: (s,
|
|
4121
|
+
t: (s, d) => {
|
|
4122
4122
|
if (t[s]) {
|
|
4123
|
-
const l = i(t[s],
|
|
4123
|
+
const l = i(t[s], d);
|
|
4124
4124
|
return l ?? s;
|
|
4125
4125
|
}
|
|
4126
4126
|
return s;
|
|
@@ -4129,15 +4129,15 @@ const ca = {
|
|
|
4129
4129
|
};
|
|
4130
4130
|
};
|
|
4131
4131
|
var Ye = {}, Rr;
|
|
4132
|
-
function
|
|
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 = d, Ye.serialize = c;
|
|
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
4136
|
const x = function() {
|
|
4137
4137
|
};
|
|
4138
4138
|
return x.prototype = /* @__PURE__ */ Object.create(null), x;
|
|
4139
4139
|
})();
|
|
4140
|
-
function
|
|
4140
|
+
function d(x, L) {
|
|
4141
4141
|
const P = new s(), p = x.length;
|
|
4142
4142
|
if (p < 2)
|
|
4143
4143
|
return P;
|
|
@@ -4253,7 +4253,7 @@ function ha() {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
return Ye;
|
|
4255
4255
|
}
|
|
4256
|
-
|
|
4256
|
+
da();
|
|
4257
4257
|
/**
|
|
4258
4258
|
* react-router v7.6.3
|
|
4259
4259
|
*
|
|
@@ -4265,21 +4265,21 @@ ha();
|
|
|
4265
4265
|
* @license MIT
|
|
4266
4266
|
*/
|
|
4267
4267
|
var _r = "popstate";
|
|
4268
|
-
function
|
|
4268
|
+
function ha(e = {}) {
|
|
4269
4269
|
function t(i, a) {
|
|
4270
|
-
let { pathname: s, search:
|
|
4270
|
+
let { pathname: s, search: d, hash: l } = i.location;
|
|
4271
4271
|
return Ft(
|
|
4272
4272
|
"",
|
|
4273
|
-
{ pathname: s, search:
|
|
4273
|
+
{ pathname: s, search: d, 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"
|
|
4277
4277
|
);
|
|
4278
4278
|
}
|
|
4279
4279
|
function r(i, a) {
|
|
4280
|
-
return typeof a == "string" ? a :
|
|
4280
|
+
return typeof a == "string" ? a : Ge(a);
|
|
4281
4281
|
}
|
|
4282
|
-
return
|
|
4282
|
+
return ma(
|
|
4283
4283
|
t,
|
|
4284
4284
|
r,
|
|
4285
4285
|
null,
|
|
@@ -4299,7 +4299,7 @@ function ge(e, t) {
|
|
|
4299
4299
|
}
|
|
4300
4300
|
}
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function pa() {
|
|
4303
4303
|
return Math.random().toString(36).substring(2, 10);
|
|
4304
4304
|
}
|
|
4305
4305
|
function Tr(e, t) {
|
|
@@ -4320,10 +4320,10 @@ function Ft(e, t, r = null, i) {
|
|
|
4320
4320
|
// full Locations now and avoid the need to run through this flow at all
|
|
4321
4321
|
// But that's a pretty big refactor to the current test suite so going to
|
|
4322
4322
|
// keep as is for the time being and just let any incoming keys take precedence
|
|
4323
|
-
key: t && t.key || i ||
|
|
4323
|
+
key: t && t.key || i || pa()
|
|
4324
4324
|
};
|
|
4325
4325
|
}
|
|
4326
|
-
function
|
|
4326
|
+
function Ge({
|
|
4327
4327
|
pathname: e = "/",
|
|
4328
4328
|
search: t = "",
|
|
4329
4329
|
hash: r = ""
|
|
@@ -4340,11 +4340,11 @@ function Me(e) {
|
|
|
4340
4340
|
}
|
|
4341
4341
|
return t;
|
|
4342
4342
|
}
|
|
4343
|
-
function
|
|
4344
|
-
let { window: a = document.defaultView, v5Compat: s = !1 } = i,
|
|
4345
|
-
c == null && (c = 0,
|
|
4343
|
+
function ma(e, t, r, i = {}) {
|
|
4344
|
+
let { window: a = document.defaultView, v5Compat: s = !1 } = i, d = a.history, l = "POP", u = null, c = v();
|
|
4345
|
+
c == null && (c = 0, d.replaceState({ ...d.state, idx: c }, ""));
|
|
4346
4346
|
function v() {
|
|
4347
|
-
return (
|
|
4347
|
+
return (d.state || { idx: null }).idx;
|
|
4348
4348
|
}
|
|
4349
4349
|
function w() {
|
|
4350
4350
|
l = "POP";
|
|
@@ -4357,7 +4357,7 @@ function va(e, t, r, i = {}) {
|
|
|
4357
4357
|
c = v() + 1;
|
|
4358
4358
|
let U = Tr(F, c), q = p.createHref(F);
|
|
4359
4359
|
try {
|
|
4360
|
-
|
|
4360
|
+
d.pushState(U, "", q);
|
|
4361
4361
|
} catch (g) {
|
|
4362
4362
|
if (g instanceof DOMException && g.name === "DataCloneError")
|
|
4363
4363
|
throw g;
|
|
@@ -4370,17 +4370,17 @@ function va(e, t, r, i = {}) {
|
|
|
4370
4370
|
let F = Ft(p.location, I, k);
|
|
4371
4371
|
c = v();
|
|
4372
4372
|
let U = Tr(F, c), q = p.createHref(F);
|
|
4373
|
-
|
|
4373
|
+
d.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
|
|
4374
4374
|
}
|
|
4375
4375
|
function P(I) {
|
|
4376
|
-
return
|
|
4376
|
+
return va(I);
|
|
4377
4377
|
}
|
|
4378
4378
|
let p = {
|
|
4379
4379
|
get action() {
|
|
4380
4380
|
return l;
|
|
4381
4381
|
},
|
|
4382
4382
|
get location() {
|
|
4383
|
-
return e(a,
|
|
4383
|
+
return e(a, d);
|
|
4384
4384
|
},
|
|
4385
4385
|
listen(I) {
|
|
4386
4386
|
if (u)
|
|
@@ -4404,31 +4404,31 @@ function va(e, t, r, i = {}) {
|
|
|
4404
4404
|
push: x,
|
|
4405
4405
|
replace: L,
|
|
4406
4406
|
go(I) {
|
|
4407
|
-
return
|
|
4407
|
+
return d.go(I);
|
|
4408
4408
|
}
|
|
4409
4409
|
};
|
|
4410
4410
|
return p;
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function va(e, t = !1) {
|
|
4413
4413
|
let r = "http://localhost";
|
|
4414
4414
|
typeof window < "u" && (r = window.location.origin !== "null" ? window.location.origin : window.location.href), ae(r, "No window.location.(origin|href) available to create URL");
|
|
4415
|
-
let i = typeof e == "string" ? e :
|
|
4415
|
+
let i = typeof e == "string" ? e : Ge(e);
|
|
4416
4416
|
return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
|
|
4417
4417
|
}
|
|
4418
4418
|
function rn(e, t, r = "/") {
|
|
4419
|
-
return
|
|
4419
|
+
return ga(e, t, r, !1);
|
|
4420
4420
|
}
|
|
4421
|
-
function
|
|
4421
|
+
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
|
-
|
|
4425
|
+
let d = nn(e);
|
|
4426
|
+
ya(d);
|
|
4427
4427
|
let l = null;
|
|
4428
|
-
for (let u = 0; l == null && u <
|
|
4429
|
-
let c =
|
|
4430
|
-
l =
|
|
4431
|
-
|
|
4428
|
+
for (let u = 0; l == null && u < d.length; ++u) {
|
|
4429
|
+
let c = _a(s);
|
|
4430
|
+
l = Ea(
|
|
4431
|
+
d[u],
|
|
4432
4432
|
c,
|
|
4433
4433
|
i
|
|
4434
4434
|
);
|
|
@@ -4436,11 +4436,11 @@ function ya(e, t, r, i) {
|
|
|
4436
4436
|
return l;
|
|
4437
4437
|
}
|
|
4438
4438
|
function nn(e, t = [], r = [], i = "") {
|
|
4439
|
-
let a = (s,
|
|
4439
|
+
let a = (s, d, l) => {
|
|
4440
4440
|
let u = {
|
|
4441
4441
|
relativePath: l === void 0 ? s.path || "" : l,
|
|
4442
4442
|
caseSensitive: s.caseSensitive === !0,
|
|
4443
|
-
childrenIndex:
|
|
4443
|
+
childrenIndex: d,
|
|
4444
4444
|
route: s
|
|
4445
4445
|
};
|
|
4446
4446
|
u.relativePath.startsWith("/") && (ae(
|
|
@@ -4455,16 +4455,16 @@ function nn(e, t = [], r = [], i = "") {
|
|
|
4455
4455
|
`Index routes must not have child routes. Please remove all child routes from route path "${c}".`
|
|
4456
4456
|
), nn(s.children, t, v, c)), !(s.path == null && !s.index) && t.push({
|
|
4457
4457
|
path: c,
|
|
4458
|
-
score:
|
|
4458
|
+
score: Pa(c, s.index),
|
|
4459
4459
|
routesMeta: v
|
|
4460
4460
|
});
|
|
4461
4461
|
};
|
|
4462
|
-
return e.forEach((s,
|
|
4462
|
+
return e.forEach((s, d) => {
|
|
4463
4463
|
if (s.path === "" || !s.path?.includes("?"))
|
|
4464
|
-
a(s,
|
|
4464
|
+
a(s, d);
|
|
4465
4465
|
else
|
|
4466
4466
|
for (let l of an(s.path))
|
|
4467
|
-
a(s,
|
|
4467
|
+
a(s, d, l);
|
|
4468
4468
|
}), t;
|
|
4469
4469
|
}
|
|
4470
4470
|
function an(e) {
|
|
@@ -4473,32 +4473,32 @@ 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 d = an(i.join("/")), l = [];
|
|
4477
4477
|
return l.push(
|
|
4478
|
-
...
|
|
4478
|
+
...d.map(
|
|
4479
4479
|
(u) => u === "" ? s : [s, u].join("/")
|
|
4480
4480
|
)
|
|
4481
|
-
), a && l.push(...
|
|
4481
|
+
), a && l.push(...d), l.map(
|
|
4482
4482
|
(u) => e.startsWith("/") && u === "" ? "/" : u
|
|
4483
4483
|
);
|
|
4484
4484
|
}
|
|
4485
|
-
function
|
|
4485
|
+
function ya(e) {
|
|
4486
4486
|
e.sort(
|
|
4487
|
-
(t, r) => t.score !== r.score ? r.score - t.score :
|
|
4487
|
+
(t, r) => t.score !== r.score ? r.score - t.score : Ca(
|
|
4488
4488
|
t.routesMeta.map((i) => i.childrenIndex),
|
|
4489
4489
|
r.routesMeta.map((i) => i.childrenIndex)
|
|
4490
4490
|
)
|
|
4491
4491
|
);
|
|
4492
4492
|
}
|
|
4493
|
-
var
|
|
4494
|
-
function
|
|
4493
|
+
var ba = /^:[\w-]+$/, wa = 3, Sa = 2, xa = 1, Oa = 10, ka = -2, jr = (e) => e === "*";
|
|
4494
|
+
function Pa(e, t) {
|
|
4495
4495
|
let r = e.split("/"), i = r.length;
|
|
4496
|
-
return r.some(jr) && (i +=
|
|
4497
|
-
(a, s) => a + (
|
|
4496
|
+
return r.some(jr) && (i += ka), t && (i += Sa), r.filter((a) => !jr(a)).reduce(
|
|
4497
|
+
(a, s) => a + (ba.test(s) ? wa : s === "" ? xa : Oa),
|
|
4498
4498
|
i
|
|
4499
4499
|
);
|
|
4500
4500
|
}
|
|
4501
|
-
function
|
|
4501
|
+
function Ca(e, t) {
|
|
4502
4502
|
return e.length === t.length && e.slice(0, -1).every((i, a) => i === t[a]) ? (
|
|
4503
4503
|
// If two routes are siblings, we should try to match the earlier sibling
|
|
4504
4504
|
// first. This allows people to have fine-grained control over the matching
|
|
@@ -4511,8 +4511,8 @@ function Ea(e, t) {
|
|
|
4511
4511
|
0
|
|
4512
4512
|
);
|
|
4513
4513
|
}
|
|
4514
|
-
function
|
|
4515
|
-
let { routesMeta: i } = e, a = {}, s = "/",
|
|
4514
|
+
function Ea(e, t, r = !1) {
|
|
4515
|
+
let { routesMeta: i } = e, a = {}, s = "/", d = [];
|
|
4516
4516
|
for (let l = 0; l < i.length; ++l) {
|
|
4517
4517
|
let u = i[l], c = l === i.length - 1, v = s === "/" ? t : t.slice(s.length) || "/", w = gt(
|
|
4518
4518
|
{ path: u.relativePath, caseSensitive: u.caseSensitive, end: c },
|
|
@@ -4527,33 +4527,33 @@ function Ra(e, t, r = !1) {
|
|
|
4527
4527
|
v
|
|
4528
4528
|
)), !w)
|
|
4529
4529
|
return null;
|
|
4530
|
-
Object.assign(a, w.params),
|
|
4530
|
+
Object.assign(a, w.params), d.push({
|
|
4531
4531
|
// TODO: Can this as be avoided?
|
|
4532
4532
|
params: a,
|
|
4533
4533
|
pathname: xe([s, w.pathname]),
|
|
4534
|
-
pathnameBase:
|
|
4534
|
+
pathnameBase: Da(
|
|
4535
4535
|
xe([s, w.pathnameBase])
|
|
4536
4536
|
),
|
|
4537
4537
|
route: x
|
|
4538
4538
|
}), w.pathnameBase !== "/" && (s = xe([s, w.pathnameBase]));
|
|
4539
4539
|
}
|
|
4540
|
-
return
|
|
4540
|
+
return d;
|
|
4541
4541
|
}
|
|
4542
4542
|
function gt(e, t) {
|
|
4543
4543
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
4544
|
-
let [r, i] =
|
|
4544
|
+
let [r, i] = Ra(
|
|
4545
4545
|
e.path,
|
|
4546
4546
|
e.caseSensitive,
|
|
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], d = s.replace(/(.)\/+$/, "$1"), l = a.slice(1);
|
|
4551
4551
|
return {
|
|
4552
4552
|
params: i.reduce(
|
|
4553
4553
|
(c, { paramName: v, isOptional: w }, x) => {
|
|
4554
4554
|
if (v === "*") {
|
|
4555
4555
|
let P = l[x] || "";
|
|
4556
|
-
|
|
4556
|
+
d = s.slice(0, s.length - P.length).replace(/(.)\/+$/, "$1");
|
|
4557
4557
|
}
|
|
4558
4558
|
const L = l[x];
|
|
4559
4559
|
return w && !L ? c[v] = void 0 : c[v] = (L || "").replace(/%2F/g, "/"), c;
|
|
@@ -4561,22 +4561,22 @@ function gt(e, t) {
|
|
|
4561
4561
|
{}
|
|
4562
4562
|
),
|
|
4563
4563
|
pathname: s,
|
|
4564
|
-
pathnameBase:
|
|
4564
|
+
pathnameBase: d,
|
|
4565
4565
|
pattern: e
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
|
-
function
|
|
4568
|
+
function Ra(e, t = !1, r = !0) {
|
|
4569
4569
|
ge(
|
|
4570
4570
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
4571
4571
|
`Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
|
|
4572
4572
|
);
|
|
4573
4573
|
let i = [], a = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
|
|
4574
4574
|
/\/:([\w-]+)(\?)?/g,
|
|
4575
|
-
(
|
|
4575
|
+
(d, 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
|
}
|
|
4579
|
-
function
|
|
4579
|
+
function _a(e) {
|
|
4580
4580
|
try {
|
|
4581
4581
|
return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
|
|
4582
4582
|
} catch (t) {
|
|
@@ -4593,19 +4593,19 @@ function Oe(e, t) {
|
|
|
4593
4593
|
let r = t.endsWith("/") ? t.length - 1 : t.length, i = e.charAt(r);
|
|
4594
4594
|
return i && i !== "/" ? null : e.slice(r) || "/";
|
|
4595
4595
|
}
|
|
4596
|
-
function
|
|
4596
|
+
function Ta(e, t = "/") {
|
|
4597
4597
|
let {
|
|
4598
4598
|
pathname: r,
|
|
4599
4599
|
search: i = "",
|
|
4600
4600
|
hash: a = ""
|
|
4601
4601
|
} = typeof e == "string" ? Me(e) : e;
|
|
4602
4602
|
return {
|
|
4603
|
-
pathname: r ? r.startsWith("/") ? r :
|
|
4604
|
-
search:
|
|
4605
|
-
hash:
|
|
4603
|
+
pathname: r ? r.startsWith("/") ? r : ja(r, t) : t,
|
|
4604
|
+
search: Ma(i),
|
|
4605
|
+
hash: $a(a)
|
|
4606
4606
|
};
|
|
4607
4607
|
}
|
|
4608
|
-
function
|
|
4608
|
+
function ja(e, t) {
|
|
4609
4609
|
let r = t.replace(/\/+$/, "").split("/");
|
|
4610
4610
|
return e.split("/").forEach((a) => {
|
|
4611
4611
|
a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
|
|
@@ -4616,13 +4616,13 @@ function $t(e, t, r, i) {
|
|
|
4616
4616
|
i
|
|
4617
4617
|
)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function La(e) {
|
|
4620
4620
|
return e.filter(
|
|
4621
4621
|
(t, r) => r === 0 || t.route.path && t.route.path.length > 0
|
|
4622
4622
|
);
|
|
4623
4623
|
}
|
|
4624
4624
|
function on(e) {
|
|
4625
|
-
let t =
|
|
4625
|
+
let t = La(e);
|
|
4626
4626
|
return t.map(
|
|
4627
4627
|
(r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
|
|
4628
4628
|
);
|
|
@@ -4639,24 +4639,24 @@ 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 === "", d = s ? "/" : a.pathname, l;
|
|
4643
|
+
if (d == null)
|
|
4644
4644
|
l = r;
|
|
4645
4645
|
else {
|
|
4646
4646
|
let w = t.length - 1;
|
|
4647
|
-
if (!i &&
|
|
4648
|
-
let x =
|
|
4647
|
+
if (!i && d.startsWith("..")) {
|
|
4648
|
+
let x = d.split("/");
|
|
4649
4649
|
for (; x[0] === ".."; )
|
|
4650
4650
|
x.shift(), w -= 1;
|
|
4651
4651
|
a.pathname = x.join("/");
|
|
4652
4652
|
}
|
|
4653
4653
|
l = w >= 0 ? t[w] : "/";
|
|
4654
4654
|
}
|
|
4655
|
-
let u =
|
|
4655
|
+
let u = Ta(a, l), c = d && d !== "/" && d.endsWith("/"), v = (s || d === ".") && r.endsWith("/");
|
|
4656
4656
|
return !u.pathname.endsWith("/") && (c || v) && (u.pathname += "/"), u;
|
|
4657
4657
|
}
|
|
4658
|
-
var xe = (e) => e.join("/").replace(/\/\/+/g, "/"),
|
|
4659
|
-
function
|
|
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
|
+
function Ia(e) {
|
|
4660
4660
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
4661
4661
|
}
|
|
4662
4662
|
var ln = [
|
|
@@ -4668,11 +4668,11 @@ var ln = [
|
|
|
4668
4668
|
new Set(
|
|
4669
4669
|
ln
|
|
4670
4670
|
);
|
|
4671
|
-
var
|
|
4671
|
+
var Aa = [
|
|
4672
4672
|
"GET",
|
|
4673
4673
|
...ln
|
|
4674
4674
|
];
|
|
4675
|
-
new Set(
|
|
4675
|
+
new Set(Aa);
|
|
4676
4676
|
var $e = M.createContext(null);
|
|
4677
4677
|
$e.displayName = "DataRouter";
|
|
4678
4678
|
var Ot = M.createContext(null);
|
|
@@ -4681,20 +4681,20 @@ var un = M.createContext({
|
|
|
4681
4681
|
isTransitioning: !1
|
|
4682
4682
|
});
|
|
4683
4683
|
un.displayName = "ViewTransition";
|
|
4684
|
-
var
|
|
4684
|
+
var Ha = M.createContext(
|
|
4685
4685
|
/* @__PURE__ */ new Map()
|
|
4686
4686
|
);
|
|
4687
|
-
|
|
4688
|
-
var
|
|
4689
|
-
|
|
4687
|
+
Ha.displayName = "Fetchers";
|
|
4688
|
+
var za = M.createContext(null);
|
|
4689
|
+
za.displayName = "Await";
|
|
4690
4690
|
var Se = M.createContext(
|
|
4691
4691
|
null
|
|
4692
4692
|
);
|
|
4693
4693
|
Se.displayName = "Navigation";
|
|
4694
|
-
var
|
|
4694
|
+
var Ze = M.createContext(
|
|
4695
4695
|
null
|
|
4696
4696
|
);
|
|
4697
|
-
|
|
4697
|
+
Ze.displayName = "Location";
|
|
4698
4698
|
var ke = M.createContext({
|
|
4699
4699
|
outlet: null,
|
|
4700
4700
|
matches: [],
|
|
@@ -4703,26 +4703,26 @@ var ke = M.createContext({
|
|
|
4703
4703
|
ke.displayName = "Route";
|
|
4704
4704
|
var Gt = M.createContext(null);
|
|
4705
4705
|
Gt.displayName = "RouteError";
|
|
4706
|
-
function
|
|
4706
|
+
function Na(e, { relative: t } = {}) {
|
|
4707
4707
|
ae(
|
|
4708
|
-
|
|
4708
|
+
Qe(),
|
|
4709
4709
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
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: d } = et(e, { relative: t }), l = s;
|
|
4714
|
+
return r !== "/" && (l = s === "/" ? r : xe([r, s])), i.createHref({ pathname: l, search: d, hash: a });
|
|
4715
4715
|
}
|
|
4716
|
-
function
|
|
4717
|
-
return M.useContext(
|
|
4716
|
+
function Qe() {
|
|
4717
|
+
return M.useContext(Ze) != null;
|
|
4718
4718
|
}
|
|
4719
4719
|
function Pe() {
|
|
4720
4720
|
return ae(
|
|
4721
|
-
|
|
4721
|
+
Qe(),
|
|
4722
4722
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
4723
4723
|
// router loaded. We can help them understand how to avoid that.
|
|
4724
4724
|
"useLocation() may be used only in the context of a <Router> component."
|
|
4725
|
-
), M.useContext(
|
|
4725
|
+
), M.useContext(Ze).location;
|
|
4726
4726
|
}
|
|
4727
4727
|
var cn = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
4728
4728
|
function fn(e) {
|
|
@@ -4730,21 +4730,21 @@ function fn(e) {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
function Kt() {
|
|
4732
4732
|
let { isDataRoute: e } = M.useContext(ke);
|
|
4733
|
-
return e ?
|
|
4733
|
+
return e ? Qa() : Fa();
|
|
4734
4734
|
}
|
|
4735
|
-
function
|
|
4735
|
+
function Fa() {
|
|
4736
4736
|
ae(
|
|
4737
|
-
|
|
4737
|
+
Qe(),
|
|
4738
4738
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
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)), d = M.useRef(!1);
|
|
4743
4743
|
return fn(() => {
|
|
4744
|
-
|
|
4744
|
+
d.current = !0;
|
|
4745
4745
|
}), M.useCallback(
|
|
4746
4746
|
(u, c = {}) => {
|
|
4747
|
-
if (ge(
|
|
4747
|
+
if (ge(d.current, cn), !d.current) return;
|
|
4748
4748
|
if (typeof u == "number") {
|
|
4749
4749
|
r.go(u);
|
|
4750
4750
|
return;
|
|
@@ -4771,7 +4771,7 @@ function Wa() {
|
|
|
4771
4771
|
);
|
|
4772
4772
|
}
|
|
4773
4773
|
M.createContext(null);
|
|
4774
|
-
function
|
|
4774
|
+
function et(e, { relative: t } = {}) {
|
|
4775
4775
|
let { matches: r } = M.useContext(ke), { pathname: i } = Pe(), a = JSON.stringify(on(r));
|
|
4776
4776
|
return M.useMemo(
|
|
4777
4777
|
() => sn(
|
|
@@ -4783,17 +4783,17 @@ function tt(e, { relative: t } = {}) {
|
|
|
4783
4783
|
[e, a, i, t]
|
|
4784
4784
|
);
|
|
4785
4785
|
}
|
|
4786
|
-
function
|
|
4786
|
+
function Wa(e, t) {
|
|
4787
4787
|
return dn(e, t);
|
|
4788
4788
|
}
|
|
4789
4789
|
function dn(e, t, r, i) {
|
|
4790
4790
|
ae(
|
|
4791
|
-
|
|
4791
|
+
Qe(),
|
|
4792
4792
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
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), d = s[s.length - 1], l = d ? d.params : {}, u = d ? d.pathname : "/", c = d ? d.pathnameBase : "/", v = d && d.route;
|
|
4797
4797
|
{
|
|
4798
4798
|
let k = v && v.path || "";
|
|
4799
4799
|
hn(
|
|
@@ -4826,7 +4826,7 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
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
4827
|
`Matched leaf route at location "${x.pathname}${x.search}${x.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
|
-
let I =
|
|
4829
|
+
let I = Ba(
|
|
4830
4830
|
p && p.map(
|
|
4831
4831
|
(k) => Object.assign({}, k, {
|
|
4832
4832
|
params: Object.assign({}, l, k.params),
|
|
@@ -4847,7 +4847,7 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4847
4847
|
i
|
|
4848
4848
|
);
|
|
4849
4849
|
return t && I ? /* @__PURE__ */ M.createElement(
|
|
4850
|
-
|
|
4850
|
+
Ze.Provider,
|
|
4851
4851
|
{
|
|
4852
4852
|
value: {
|
|
4853
4853
|
location: {
|
|
@@ -4865,14 +4865,14 @@ Please change the parent <Route path="${k}"> to <Route path="${k === "/" ? "*" :
|
|
|
4865
4865
|
I
|
|
4866
4866
|
) : I;
|
|
4867
4867
|
}
|
|
4868
|
-
function
|
|
4869
|
-
let e =
|
|
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 }, d = null;
|
|
4870
4870
|
return console.error(
|
|
4871
4871
|
"Error handled by React Router default ErrorBoundary:",
|
|
4872
4872
|
e
|
|
4873
|
-
),
|
|
4873
|
+
), d = /* @__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, d);
|
|
4874
4874
|
}
|
|
4875
|
-
var
|
|
4875
|
+
var Ya = /* @__PURE__ */ M.createElement(Ua, null), Va = class extends M.Component {
|
|
4876
4876
|
constructor(e) {
|
|
4877
4877
|
super(e), this.state = {
|
|
4878
4878
|
location: e.location,
|
|
@@ -4911,11 +4911,11 @@ var Va = /* @__PURE__ */ M.createElement(Ya, null), qa = class extends M.Compone
|
|
|
4911
4911
|
)) : this.props.children;
|
|
4912
4912
|
}
|
|
4913
4913
|
};
|
|
4914
|
-
function
|
|
4914
|
+
function qa({ routeContext: e, match: t, children: r }) {
|
|
4915
4915
|
let i = M.useContext($e);
|
|
4916
4916
|
return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ M.createElement(ke.Provider, { value: e }, r);
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4918
|
+
function Ba(e, t = [], r = null, i = null) {
|
|
4919
4919
|
if (e == null) {
|
|
4920
4920
|
if (!r)
|
|
4921
4921
|
return null;
|
|
@@ -4941,21 +4941,21 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4941
4941
|
Math.min(a.length, u + 1)
|
|
4942
4942
|
);
|
|
4943
4943
|
}
|
|
4944
|
-
let
|
|
4944
|
+
let d = !1, l = -1;
|
|
4945
4945
|
if (r)
|
|
4946
4946
|
for (let u = 0; u < a.length; u++) {
|
|
4947
4947
|
let c = a[u];
|
|
4948
4948
|
if ((c.route.HydrateFallback || c.route.hydrateFallbackElement) && (l = u), c.route.id) {
|
|
4949
4949
|
let { loaderData: v, errors: w } = r, x = c.route.loader && !v.hasOwnProperty(c.route.id) && (!w || w[c.route.id] === void 0);
|
|
4950
4950
|
if (c.route.lazy || x) {
|
|
4951
|
-
|
|
4951
|
+
d = !0, l >= 0 ? a = a.slice(0, l + 1) : a = [a[0]];
|
|
4952
4952
|
break;
|
|
4953
4953
|
}
|
|
4954
4954
|
}
|
|
4955
4955
|
}
|
|
4956
4956
|
return a.reduceRight((u, c, v) => {
|
|
4957
4957
|
let w, x = !1, L = null, P = null;
|
|
4958
|
-
r && (w = s && c.route.id ? s[c.route.id] : void 0, L = c.route.errorElement ||
|
|
4958
|
+
r && (w = s && c.route.id ? s[c.route.id] : void 0, L = c.route.errorElement || Ya, d && (l < 0 && v === 0 ? (hn(
|
|
4959
4959
|
"route-fallback",
|
|
4960
4960
|
!1,
|
|
4961
4961
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
@@ -4963,7 +4963,7 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4963
4963
|
let p = t.concat(a.slice(0, v + 1)), I = () => {
|
|
4964
4964
|
let k;
|
|
4965
4965
|
return w ? k = L : x ? k = P : c.route.Component ? k = /* @__PURE__ */ M.createElement(c.route.Component, null) : c.route.element ? k = c.route.element : k = u, /* @__PURE__ */ M.createElement(
|
|
4966
|
-
|
|
4966
|
+
qa,
|
|
4967
4967
|
{
|
|
4968
4968
|
match: c,
|
|
4969
4969
|
routeContext: {
|
|
@@ -4976,7 +4976,7 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4976
4976
|
);
|
|
4977
4977
|
};
|
|
4978
4978
|
return r && (c.route.ErrorBoundary || c.route.errorElement || v === 0) ? /* @__PURE__ */ M.createElement(
|
|
4979
|
-
|
|
4979
|
+
Va,
|
|
4980
4980
|
{
|
|
4981
4981
|
location: r.location,
|
|
4982
4982
|
revalidation: r.revalidation,
|
|
@@ -4991,33 +4991,33 @@ function Xa(e, t = [], r = null, i = null) {
|
|
|
4991
4991
|
function Jt(e) {
|
|
4992
4992
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
4993
4993
|
}
|
|
4994
|
-
function
|
|
4994
|
+
function Xa(e) {
|
|
4995
4995
|
let t = M.useContext($e);
|
|
4996
4996
|
return ae(t, Jt(e)), t;
|
|
4997
4997
|
}
|
|
4998
|
-
function
|
|
4998
|
+
function Ga(e) {
|
|
4999
4999
|
let t = M.useContext(Ot);
|
|
5000
5000
|
return ae(t, Jt(e)), t;
|
|
5001
5001
|
}
|
|
5002
|
-
function
|
|
5002
|
+
function Ka(e) {
|
|
5003
5003
|
let t = M.useContext(ke);
|
|
5004
5004
|
return ae(t, Jt(e)), t;
|
|
5005
5005
|
}
|
|
5006
5006
|
function Zt(e) {
|
|
5007
|
-
let t =
|
|
5007
|
+
let t = Ka(e), r = t.matches[t.matches.length - 1];
|
|
5008
5008
|
return ae(
|
|
5009
5009
|
r.route.id,
|
|
5010
5010
|
`${e} can only be used on routes that contain a unique "id"`
|
|
5011
5011
|
), r.route.id;
|
|
5012
5012
|
}
|
|
5013
|
-
function
|
|
5013
|
+
function Ja() {
|
|
5014
5014
|
return Zt(
|
|
5015
5015
|
"useRouteId"
|
|
5016
5016
|
/* UseRouteId */
|
|
5017
5017
|
);
|
|
5018
5018
|
}
|
|
5019
|
-
function
|
|
5020
|
-
let e = M.useContext(Gt), t =
|
|
5019
|
+
function Za() {
|
|
5020
|
+
let e = M.useContext(Gt), t = Ga(
|
|
5021
5021
|
"useRouteError"
|
|
5022
5022
|
/* UseRouteError */
|
|
5023
5023
|
), r = Zt(
|
|
@@ -5026,8 +5026,8 @@ function Qa() {
|
|
|
5026
5026
|
);
|
|
5027
5027
|
return e !== void 0 ? e : t.errors?.[r];
|
|
5028
5028
|
}
|
|
5029
|
-
function
|
|
5030
|
-
let { router: e } =
|
|
5029
|
+
function Qa() {
|
|
5030
|
+
let { router: e } = Xa(
|
|
5031
5031
|
"useNavigate"
|
|
5032
5032
|
/* UseNavigateStable */
|
|
5033
5033
|
), t = Zt(
|
|
@@ -5047,8 +5047,8 @@ var Lr = {};
|
|
|
5047
5047
|
function hn(e, t, r) {
|
|
5048
5048
|
!t && !Lr[e] && (Lr[e] = !0, ge(!1, r));
|
|
5049
5049
|
}
|
|
5050
|
-
M.memo(
|
|
5051
|
-
function
|
|
5050
|
+
M.memo(eo);
|
|
5051
|
+
function eo({
|
|
5052
5052
|
routes: e,
|
|
5053
5053
|
future: t,
|
|
5054
5054
|
state: r
|
|
@@ -5061,7 +5061,7 @@ function pn(e) {
|
|
|
5061
5061
|
"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
|
|
5062
5062
|
);
|
|
5063
5063
|
}
|
|
5064
|
-
function
|
|
5064
|
+
function to({
|
|
5065
5065
|
basename: e = "/",
|
|
5066
5066
|
children: t = null,
|
|
5067
5067
|
location: r,
|
|
@@ -5070,17 +5070,17 @@ function ro({
|
|
|
5070
5070
|
static: s = !1
|
|
5071
5071
|
}) {
|
|
5072
5072
|
ae(
|
|
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 d = e.replace(/^\/*/, "/"), l = M.useMemo(
|
|
5077
5077
|
() => ({
|
|
5078
|
-
basename:
|
|
5078
|
+
basename: d,
|
|
5079
5079
|
navigator: a,
|
|
5080
5080
|
static: s,
|
|
5081
5081
|
future: {}
|
|
5082
5082
|
}),
|
|
5083
|
-
[
|
|
5083
|
+
[d, a, s]
|
|
5084
5084
|
);
|
|
5085
5085
|
typeof r == "string" && (r = Me(r));
|
|
5086
5086
|
let {
|
|
@@ -5090,7 +5090,7 @@ function ro({
|
|
|
5090
5090
|
state: w = null,
|
|
5091
5091
|
key: x = "default"
|
|
5092
5092
|
} = r, L = M.useMemo(() => {
|
|
5093
|
-
let P = Oe(u,
|
|
5093
|
+
let P = Oe(u, d);
|
|
5094
5094
|
return P == null ? null : {
|
|
5095
5095
|
location: {
|
|
5096
5096
|
pathname: P,
|
|
@@ -5101,17 +5101,17 @@ function ro({
|
|
|
5101
5101
|
},
|
|
5102
5102
|
navigationType: i
|
|
5103
5103
|
};
|
|
5104
|
-
}, [
|
|
5104
|
+
}, [d, u, c, v, w, x, i]);
|
|
5105
5105
|
return ge(
|
|
5106
5106
|
L != null,
|
|
5107
|
-
`<Router basename="${
|
|
5108
|
-
), L == null ? null : /* @__PURE__ */ M.createElement(Se.Provider, { value: l }, /* @__PURE__ */ M.createElement(
|
|
5107
|
+
`<Router basename="${d}"> is not able to match the URL "${u}${c}${v}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
5108
|
+
), L == null ? null : /* @__PURE__ */ M.createElement(Se.Provider, { value: l }, /* @__PURE__ */ M.createElement(Ze.Provider, { children: t, value: L }));
|
|
5109
5109
|
}
|
|
5110
|
-
function
|
|
5110
|
+
function ro({
|
|
5111
5111
|
children: e,
|
|
5112
5112
|
location: t
|
|
5113
5113
|
}) {
|
|
5114
|
-
return
|
|
5114
|
+
return Wa(Wt(e), t);
|
|
5115
5115
|
}
|
|
5116
5116
|
function Wt(e, t = []) {
|
|
5117
5117
|
let r = [];
|
|
@@ -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 d = {
|
|
5137
5137
|
id: i.props.id || s.join("-"),
|
|
5138
5138
|
caseSensitive: i.props.caseSensitive,
|
|
5139
5139
|
element: i.props.element,
|
|
@@ -5151,32 +5151,32 @@ 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 && (d.children = Wt(
|
|
5155
5155
|
i.props.children,
|
|
5156
5156
|
s
|
|
5157
|
-
)), r.push(
|
|
5157
|
+
)), r.push(d);
|
|
5158
5158
|
}), r;
|
|
5159
5159
|
}
|
|
5160
|
-
var
|
|
5160
|
+
var ut = "get", ct = "application/x-www-form-urlencoded";
|
|
5161
5161
|
function kt(e) {
|
|
5162
5162
|
return e != null && typeof e.tagName == "string";
|
|
5163
5163
|
}
|
|
5164
|
-
function
|
|
5164
|
+
function no(e) {
|
|
5165
5165
|
return kt(e) && e.tagName.toLowerCase() === "button";
|
|
5166
5166
|
}
|
|
5167
|
-
function
|
|
5167
|
+
function io(e) {
|
|
5168
5168
|
return kt(e) && e.tagName.toLowerCase() === "form";
|
|
5169
5169
|
}
|
|
5170
|
-
function
|
|
5170
|
+
function ao(e) {
|
|
5171
5171
|
return kt(e) && e.tagName.toLowerCase() === "input";
|
|
5172
5172
|
}
|
|
5173
|
-
function
|
|
5173
|
+
function oo(e) {
|
|
5174
5174
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
5175
5175
|
}
|
|
5176
|
-
function
|
|
5176
|
+
function so(e, t) {
|
|
5177
5177
|
return e.button === 0 && // Ignore everything but left clicks
|
|
5178
5178
|
(!t || t === "_self") && // Let browser handle "target=_blank" etc.
|
|
5179
|
-
!
|
|
5179
|
+
!oo(e);
|
|
5180
5180
|
}
|
|
5181
5181
|
function Ut(e = "") {
|
|
5182
5182
|
return new URLSearchParams(
|
|
@@ -5188,7 +5188,7 @@ function Ut(e = "") {
|
|
|
5188
5188
|
}, [])
|
|
5189
5189
|
);
|
|
5190
5190
|
}
|
|
5191
|
-
function
|
|
5191
|
+
function lo(e, t) {
|
|
5192
5192
|
let r = Ut(e);
|
|
5193
5193
|
return t && t.forEach((i, a) => {
|
|
5194
5194
|
r.has(a) || t.getAll(a).forEach((s) => {
|
|
@@ -5196,44 +5196,44 @@ function uo(e, t) {
|
|
|
5196
5196
|
});
|
|
5197
5197
|
}), r;
|
|
5198
5198
|
}
|
|
5199
|
-
var
|
|
5200
|
-
function
|
|
5201
|
-
if (
|
|
5199
|
+
var at = null;
|
|
5200
|
+
function uo() {
|
|
5201
|
+
if (at === null)
|
|
5202
5202
|
try {
|
|
5203
5203
|
new FormData(
|
|
5204
5204
|
document.createElement("form"),
|
|
5205
5205
|
// @ts-expect-error if FormData supports the submitter parameter, this will throw
|
|
5206
5206
|
0
|
|
5207
|
-
),
|
|
5207
|
+
), at = !1;
|
|
5208
5208
|
} catch {
|
|
5209
|
-
|
|
5209
|
+
at = !0;
|
|
5210
5210
|
}
|
|
5211
|
-
return
|
|
5211
|
+
return at;
|
|
5212
5212
|
}
|
|
5213
|
-
var
|
|
5213
|
+
var co = /* @__PURE__ */ new Set([
|
|
5214
5214
|
"application/x-www-form-urlencoded",
|
|
5215
5215
|
"multipart/form-data",
|
|
5216
5216
|
"text/plain"
|
|
5217
5217
|
]);
|
|
5218
5218
|
function It(e) {
|
|
5219
|
-
return e != null && !
|
|
5219
|
+
return e != null && !co.has(e) ? (ge(
|
|
5220
5220
|
!1,
|
|
5221
|
-
`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${
|
|
5221
|
+
`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`
|
|
5222
5222
|
), null) : e;
|
|
5223
5223
|
}
|
|
5224
|
-
function
|
|
5225
|
-
let r, i, a, s,
|
|
5226
|
-
if (
|
|
5224
|
+
function fo(e, t) {
|
|
5225
|
+
let r, i, a, s, d;
|
|
5226
|
+
if (io(e)) {
|
|
5227
5227
|
let l = e.getAttribute("action");
|
|
5228
|
-
i = l ? Oe(l, t) : null, r = e.getAttribute("method") ||
|
|
5229
|
-
} else if (
|
|
5228
|
+
i = l ? Oe(l, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
|
|
5229
|
+
} else if (no(e) || ao(e) && (e.type === "submit" || e.type === "image")) {
|
|
5230
5230
|
let l = e.form;
|
|
5231
5231
|
if (l == null)
|
|
5232
5232
|
throw new Error(
|
|
5233
5233
|
'Cannot submit a <button> or <input type="submit"> without a <form>'
|
|
5234
5234
|
);
|
|
5235
5235
|
let u = e.getAttribute("formaction") || l.getAttribute("action");
|
|
5236
|
-
if (i = u ? Oe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") ||
|
|
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
5237
|
let { name: c, type: v, value: w } = e;
|
|
5238
5238
|
if (v === "image") {
|
|
5239
5239
|
let x = c ? `${c}.` : "";
|
|
@@ -5245,15 +5245,15 @@ function ho(e, t) {
|
|
|
5245
5245
|
throw new Error(
|
|
5246
5246
|
'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
|
|
5247
5247
|
);
|
|
5248
|
-
r =
|
|
5248
|
+
r = ut, i = null, a = ct, d = e;
|
|
5249
5249
|
}
|
|
5250
|
-
return s && a === "text/plain" && (
|
|
5250
|
+
return s && a === "text/plain" && (d = s, s = void 0), { action: i, method: r.toLowerCase(), encType: a, formData: s, body: d };
|
|
5251
5251
|
}
|
|
5252
5252
|
function Qt(e, t) {
|
|
5253
5253
|
if (e === !1 || e === null || typeof e > "u")
|
|
5254
5254
|
throw new Error(t);
|
|
5255
5255
|
}
|
|
5256
|
-
async function
|
|
5256
|
+
async function ho(e, t) {
|
|
5257
5257
|
if (e.id in t)
|
|
5258
5258
|
return t[e.id];
|
|
5259
5259
|
try {
|
|
@@ -5270,40 +5270,40 @@ async function po(e, t) {
|
|
|
5270
5270
|
});
|
|
5271
5271
|
}
|
|
5272
5272
|
}
|
|
5273
|
-
function
|
|
5273
|
+
function po(e) {
|
|
5274
5274
|
return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
|
|
5275
5275
|
}
|
|
5276
|
-
async function
|
|
5276
|
+
async function mo(e, t, r) {
|
|
5277
5277
|
let i = await Promise.all(
|
|
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 d = await ho(s, r);
|
|
5282
|
+
return d.links ? d.links() : [];
|
|
5283
5283
|
}
|
|
5284
5284
|
return [];
|
|
5285
5285
|
})
|
|
5286
5286
|
);
|
|
5287
|
-
return
|
|
5288
|
-
i.flat(1).filter(
|
|
5287
|
+
return bo(
|
|
5288
|
+
i.flat(1).filter(po).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
|
|
5289
5289
|
(a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
|
|
5290
5290
|
)
|
|
5291
5291
|
);
|
|
5292
5292
|
}
|
|
5293
5293
|
function Dr(e, t, r, i, a, s) {
|
|
5294
|
-
let
|
|
5294
|
+
let d = (u, c) => r[c] ? u.route.id !== r[c].route.id : !0, l = (u, c) => (
|
|
5295
5295
|
// param change, /users/123 -> /users/456
|
|
5296
5296
|
r[c].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
5298
|
r[c].route.path?.endsWith("*") && r[c].params["*"] !== u.params["*"]
|
|
5299
5299
|
);
|
|
5300
5300
|
return s === "assets" ? t.filter(
|
|
5301
|
-
(u, c) =>
|
|
5301
|
+
(u, c) => d(u, c) || l(u, c)
|
|
5302
5302
|
) : s === "data" ? t.filter((u, c) => {
|
|
5303
5303
|
let v = i.routes[u.route.id];
|
|
5304
5304
|
if (!v || !v.hasLoader)
|
|
5305
5305
|
return !1;
|
|
5306
|
-
if (
|
|
5306
|
+
if (d(u, c) || l(u, c))
|
|
5307
5307
|
return !0;
|
|
5308
5308
|
if (u.route.shouldRevalidate) {
|
|
5309
5309
|
let w = u.route.shouldRevalidate({
|
|
@@ -5322,8 +5322,8 @@ function Dr(e, t, r, i, a, s) {
|
|
|
5322
5322
|
return !0;
|
|
5323
5323
|
}) : [];
|
|
5324
5324
|
}
|
|
5325
|
-
function
|
|
5326
|
-
return
|
|
5325
|
+
function vo(e, t, { includeHydrateFallback: r } = {}) {
|
|
5326
|
+
return go(
|
|
5327
5327
|
e.map((i) => {
|
|
5328
5328
|
let a = t.routes[i.route.id];
|
|
5329
5329
|
if (!a) return [];
|
|
@@ -5332,25 +5332,25 @@ function go(e, t, { includeHydrateFallback: r } = {}) {
|
|
|
5332
5332
|
}).flat(1)
|
|
5333
5333
|
);
|
|
5334
5334
|
}
|
|
5335
|
-
function
|
|
5335
|
+
function go(e) {
|
|
5336
5336
|
return [...new Set(e)];
|
|
5337
5337
|
}
|
|
5338
|
-
function
|
|
5338
|
+
function yo(e) {
|
|
5339
5339
|
let t = {}, r = Object.keys(e).sort();
|
|
5340
5340
|
for (let i of r)
|
|
5341
5341
|
t[i] = e[i];
|
|
5342
5342
|
return t;
|
|
5343
5343
|
}
|
|
5344
|
-
function
|
|
5344
|
+
function bo(e, t) {
|
|
5345
5345
|
let r = /* @__PURE__ */ new Set();
|
|
5346
5346
|
return new Set(t), e.reduce((i, a) => {
|
|
5347
|
-
let s = JSON.stringify(
|
|
5347
|
+
let s = JSON.stringify(yo(a));
|
|
5348
5348
|
return r.has(s) || (r.add(s), i.push({ key: s, link: a })), i;
|
|
5349
5349
|
}, []);
|
|
5350
5350
|
}
|
|
5351
5351
|
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
5352
|
-
var
|
|
5353
|
-
function
|
|
5352
|
+
var wo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
|
|
5353
|
+
function So(e, t) {
|
|
5354
5354
|
let r = typeof e == "string" ? new URL(
|
|
5355
5355
|
e,
|
|
5356
5356
|
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
@@ -5366,7 +5366,7 @@ function mn() {
|
|
|
5366
5366
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
5367
5367
|
), e;
|
|
5368
5368
|
}
|
|
5369
|
-
function
|
|
5369
|
+
function xo() {
|
|
5370
5370
|
let e = M.useContext(Ot);
|
|
5371
5371
|
return Qt(
|
|
5372
5372
|
e,
|
|
@@ -5382,13 +5382,13 @@ function vn() {
|
|
|
5382
5382
|
"You must render this element inside a <HydratedRouter> element"
|
|
5383
5383
|
), e;
|
|
5384
5384
|
}
|
|
5385
|
-
function
|
|
5386
|
-
let r = M.useContext(er), [i, a] = M.useState(!1), [s,
|
|
5385
|
+
function Oo(e, t) {
|
|
5386
|
+
let r = M.useContext(er), [i, a] = M.useState(!1), [s, d] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: c, onMouseLeave: v, onTouchStart: w } = t, x = M.useRef(null);
|
|
5387
5387
|
M.useEffect(() => {
|
|
5388
|
-
if (e === "render" &&
|
|
5388
|
+
if (e === "render" && d(!0), e === "viewport") {
|
|
5389
5389
|
let p = (k) => {
|
|
5390
5390
|
k.forEach((F) => {
|
|
5391
|
-
|
|
5391
|
+
d(F.isIntersecting);
|
|
5392
5392
|
});
|
|
5393
5393
|
}, I = new IntersectionObserver(p, { threshold: 0.5 });
|
|
5394
5394
|
return x.current && I.observe(x.current), () => {
|
|
@@ -5398,7 +5398,7 @@ function ko(e, t) {
|
|
|
5398
5398
|
}, [e]), M.useEffect(() => {
|
|
5399
5399
|
if (i) {
|
|
5400
5400
|
let p = setTimeout(() => {
|
|
5401
|
-
|
|
5401
|
+
d(!0);
|
|
5402
5402
|
}, 100);
|
|
5403
5403
|
return () => {
|
|
5404
5404
|
clearTimeout(p);
|
|
@@ -5408,7 +5408,7 @@ function ko(e, t) {
|
|
|
5408
5408
|
let L = () => {
|
|
5409
5409
|
a(!0);
|
|
5410
5410
|
}, P = () => {
|
|
5411
|
-
a(!1),
|
|
5411
|
+
a(!1), d(!1);
|
|
5412
5412
|
};
|
|
5413
5413
|
return r ? e !== "intent" ? [s, x, {}] : [
|
|
5414
5414
|
s,
|
|
@@ -5427,7 +5427,7 @@ function Ve(e, t) {
|
|
|
5427
5427
|
e && e(r), r.defaultPrevented || t(r);
|
|
5428
5428
|
};
|
|
5429
5429
|
}
|
|
5430
|
-
function
|
|
5430
|
+
function ko({
|
|
5431
5431
|
page: e,
|
|
5432
5432
|
...t
|
|
5433
5433
|
}) {
|
|
@@ -5435,27 +5435,27 @@ function Po({
|
|
|
5435
5435
|
() => rn(r.routes, e, r.basename),
|
|
5436
5436
|
[r.routes, e, r.basename]
|
|
5437
5437
|
);
|
|
5438
|
-
return i ? /* @__PURE__ */ M.createElement(
|
|
5438
|
+
return i ? /* @__PURE__ */ M.createElement(Co, { page: e, matches: i, ...t }) : null;
|
|
5439
5439
|
}
|
|
5440
|
-
function
|
|
5440
|
+
function Po(e) {
|
|
5441
5441
|
let { manifest: t, routeModules: r } = vn(), [i, a] = M.useState([]);
|
|
5442
5442
|
return M.useEffect(() => {
|
|
5443
5443
|
let s = !1;
|
|
5444
|
-
return
|
|
5445
|
-
(
|
|
5446
|
-
s || a(
|
|
5444
|
+
return mo(e, t, r).then(
|
|
5445
|
+
(d) => {
|
|
5446
|
+
s || a(d);
|
|
5447
5447
|
}
|
|
5448
5448
|
), () => {
|
|
5449
5449
|
s = !0;
|
|
5450
5450
|
};
|
|
5451
5451
|
}, [e, t, r]), i;
|
|
5452
5452
|
}
|
|
5453
|
-
function
|
|
5453
|
+
function Co({
|
|
5454
5454
|
page: e,
|
|
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: d } = mn(), { loaderData: l, matches: u } = xo(), c = M.useMemo(
|
|
5459
5459
|
() => Dr(
|
|
5460
5460
|
e,
|
|
5461
5461
|
t,
|
|
@@ -5484,13 +5484,13 @@ function Eo({
|
|
|
5484
5484
|
!F || !F.hasLoader || (!c.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 =
|
|
5487
|
+
let I = So(e, d);
|
|
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
|
+
d,
|
|
5494
5494
|
l,
|
|
5495
5495
|
i,
|
|
5496
5496
|
a,
|
|
@@ -5499,16 +5499,16 @@ function Eo({
|
|
|
5499
5499
|
e,
|
|
5500
5500
|
s
|
|
5501
5501
|
]), x = M.useMemo(
|
|
5502
|
-
() =>
|
|
5502
|
+
() => vo(v, a),
|
|
5503
5503
|
[v, a]
|
|
5504
|
-
), L =
|
|
5504
|
+
), L = Po(v);
|
|
5505
5505
|
return /* @__PURE__ */ M.createElement(M.Fragment, null, w.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), x.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 })
|
|
5509
5509
|
)));
|
|
5510
5510
|
}
|
|
5511
|
-
function
|
|
5511
|
+
function Eo(...e) {
|
|
5512
5512
|
return (t) => {
|
|
5513
5513
|
e.forEach((r) => {
|
|
5514
5514
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
|
@@ -5520,24 +5520,24 @@ try {
|
|
|
5520
5520
|
gn && (window.__reactRouterVersion = "7.6.3");
|
|
5521
5521
|
} catch {
|
|
5522
5522
|
}
|
|
5523
|
-
function
|
|
5523
|
+
function Ro({
|
|
5524
5524
|
basename: e,
|
|
5525
5525
|
children: t,
|
|
5526
5526
|
window: r
|
|
5527
5527
|
}) {
|
|
5528
5528
|
let i = M.useRef();
|
|
5529
|
-
i.current == null && (i.current =
|
|
5530
|
-
let a = i.current, [s,
|
|
5529
|
+
i.current == null && (i.current = ha({ window: r, v5Compat: !0 }));
|
|
5530
|
+
let a = i.current, [s, d] = 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(() => d(u));
|
|
5536
5536
|
},
|
|
5537
|
-
[
|
|
5537
|
+
[d]
|
|
5538
5538
|
);
|
|
5539
5539
|
return M.useLayoutEffect(() => a.listen(l), [a, l]), /* @__PURE__ */ M.createElement(
|
|
5540
|
-
|
|
5540
|
+
to,
|
|
5541
5541
|
{
|
|
5542
5542
|
basename: e,
|
|
5543
5543
|
children: t,
|
|
@@ -5554,7 +5554,7 @@ 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: d,
|
|
5558
5558
|
state: l,
|
|
5559
5559
|
target: u,
|
|
5560
5560
|
to: c,
|
|
@@ -5573,11 +5573,11 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5573
5573
|
`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
5574
5574
|
);
|
|
5575
5575
|
}
|
|
5576
|
-
let F =
|
|
5576
|
+
let F = Na(c, { relative: a }), [U, q, g] = Oo(
|
|
5577
5577
|
i,
|
|
5578
5578
|
x
|
|
5579
|
-
), b =
|
|
5580
|
-
replace:
|
|
5579
|
+
), b = Lo(c, {
|
|
5580
|
+
replace: d,
|
|
5581
5581
|
state: l,
|
|
5582
5582
|
target: u,
|
|
5583
5583
|
preventScrollReset: v,
|
|
@@ -5596,31 +5596,31 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
|
|
|
5596
5596
|
...g,
|
|
5597
5597
|
href: I || F,
|
|
5598
5598
|
onClick: k || s ? t : S,
|
|
5599
|
-
ref:
|
|
5599
|
+
ref: Eo(L, q),
|
|
5600
5600
|
target: u,
|
|
5601
5601
|
"data-discover": !p && r === "render" ? "true" : void 0
|
|
5602
5602
|
}
|
|
5603
5603
|
)
|
|
5604
5604
|
);
|
|
5605
|
-
return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, R, /* @__PURE__ */ M.createElement(
|
|
5605
|
+
return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, R, /* @__PURE__ */ M.createElement(ko, { page: F })) : R;
|
|
5606
5606
|
}
|
|
5607
5607
|
);
|
|
5608
5608
|
bn.displayName = "Link";
|
|
5609
|
-
var
|
|
5609
|
+
var _o = M.forwardRef(
|
|
5610
5610
|
function({
|
|
5611
5611
|
"aria-current": t = "page",
|
|
5612
5612
|
caseSensitive: r = !1,
|
|
5613
5613
|
className: i = "",
|
|
5614
5614
|
end: a = !1,
|
|
5615
5615
|
style: s,
|
|
5616
|
-
to:
|
|
5616
|
+
to: d,
|
|
5617
5617
|
viewTransition: l,
|
|
5618
5618
|
children: u,
|
|
5619
5619
|
...c
|
|
5620
5620
|
}, v) {
|
|
5621
|
-
let w =
|
|
5621
|
+
let w = et(d, { relative: c.relative }), x = 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
|
-
|
|
5623
|
+
Ho(w) && l === !0, k = P.encodeLocation ? P.encodeLocation(w).pathname : w.pathname, F = x.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
5626
|
let g = F === k || !a && F.startsWith(k) && F.charAt(q) === "/", b = U != null && (U === k || !a && U.startsWith(k) && U.charAt(k.length) === "/"), S = {
|
|
@@ -5643,15 +5643,15 @@ var To = M.forwardRef(
|
|
|
5643
5643
|
className: y,
|
|
5644
5644
|
ref: v,
|
|
5645
5645
|
style: h,
|
|
5646
|
-
to:
|
|
5646
|
+
to: d,
|
|
5647
5647
|
viewTransition: l
|
|
5648
5648
|
},
|
|
5649
5649
|
typeof u == "function" ? u(S) : u
|
|
5650
5650
|
);
|
|
5651
5651
|
}
|
|
5652
5652
|
);
|
|
5653
|
-
|
|
5654
|
-
var
|
|
5653
|
+
_o.displayName = "NavLink";
|
|
5654
|
+
var To = M.forwardRef(
|
|
5655
5655
|
({
|
|
5656
5656
|
discover: e = "render",
|
|
5657
5657
|
fetcherKey: t,
|
|
@@ -5659,7 +5659,7 @@ var jo = M.forwardRef(
|
|
|
5659
5659
|
reloadDocument: i,
|
|
5660
5660
|
replace: a,
|
|
5661
5661
|
state: s,
|
|
5662
|
-
method:
|
|
5662
|
+
method: d = ut,
|
|
5663
5663
|
action: l,
|
|
5664
5664
|
onSubmit: u,
|
|
5665
5665
|
relative: c,
|
|
@@ -5667,10 +5667,10 @@ var jo = M.forwardRef(
|
|
|
5667
5667
|
viewTransition: w,
|
|
5668
5668
|
...x
|
|
5669
5669
|
}, L) => {
|
|
5670
|
-
let P =
|
|
5670
|
+
let P = Io(), p = Ao(l, { relative: c }), I = d.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, g = q?.getAttribute("formmethod") ||
|
|
5673
|
+
let q = U.nativeEvent.submitter, g = q?.getAttribute("formmethod") || d;
|
|
5674
5674
|
P(q || U.currentTarget, {
|
|
5675
5675
|
fetcherKey: t,
|
|
5676
5676
|
method: g,
|
|
@@ -5695,34 +5695,34 @@ var jo = M.forwardRef(
|
|
|
5695
5695
|
);
|
|
5696
5696
|
}
|
|
5697
5697
|
);
|
|
5698
|
-
|
|
5699
|
-
function
|
|
5698
|
+
To.displayName = "Form";
|
|
5699
|
+
function jo(e) {
|
|
5700
5700
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
5701
5701
|
}
|
|
5702
5702
|
function wn(e) {
|
|
5703
5703
|
let t = M.useContext($e);
|
|
5704
|
-
return ae(t,
|
|
5704
|
+
return ae(t, jo(e)), t;
|
|
5705
5705
|
}
|
|
5706
|
-
function
|
|
5706
|
+
function Lo(e, {
|
|
5707
5707
|
target: t,
|
|
5708
5708
|
replace: r,
|
|
5709
5709
|
state: i,
|
|
5710
5710
|
preventScrollReset: a,
|
|
5711
5711
|
relative: s,
|
|
5712
|
-
viewTransition:
|
|
5712
|
+
viewTransition: d
|
|
5713
5713
|
} = {}) {
|
|
5714
|
-
let l = Kt(), u = Pe(), c =
|
|
5714
|
+
let l = Kt(), u = Pe(), c = et(e, { relative: s });
|
|
5715
5715
|
return M.useCallback(
|
|
5716
5716
|
(v) => {
|
|
5717
|
-
if (
|
|
5717
|
+
if (so(v, t)) {
|
|
5718
5718
|
v.preventDefault();
|
|
5719
|
-
let w = r !== void 0 ? r :
|
|
5719
|
+
let w = r !== void 0 ? r : Ge(u) === Ge(c);
|
|
5720
5720
|
l(e, {
|
|
5721
5721
|
replace: w,
|
|
5722
5722
|
state: i,
|
|
5723
5723
|
preventScrollReset: a,
|
|
5724
5724
|
relative: s,
|
|
5725
|
-
viewTransition:
|
|
5725
|
+
viewTransition: d
|
|
5726
5726
|
});
|
|
5727
5727
|
}
|
|
5728
5728
|
},
|
|
@@ -5736,11 +5736,11 @@ function Do(e, {
|
|
|
5736
5736
|
e,
|
|
5737
5737
|
a,
|
|
5738
5738
|
s,
|
|
5739
|
-
|
|
5739
|
+
d
|
|
5740
5740
|
]
|
|
5741
5741
|
);
|
|
5742
5742
|
}
|
|
5743
|
-
function
|
|
5743
|
+
function Do(e) {
|
|
5744
5744
|
ge(
|
|
5745
5745
|
typeof URLSearchParams < "u",
|
|
5746
5746
|
"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
|
|
@@ -5750,13 +5750,13 @@ function Mo(e) {
|
|
|
5750
5750
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
5751
5751
|
// Once we call that we want those to take precedence, otherwise you can't
|
|
5752
5752
|
// remove a param with setSearchParams({}) if it has an initial value
|
|
5753
|
-
|
|
5753
|
+
lo(
|
|
5754
5754
|
i.search,
|
|
5755
5755
|
r.current ? null : t.current
|
|
5756
5756
|
)
|
|
5757
5757
|
),
|
|
5758
5758
|
[i.search]
|
|
5759
|
-
), s = Kt(),
|
|
5759
|
+
), s = Kt(), d = M.useCallback(
|
|
5760
5760
|
(l, u) => {
|
|
5761
5761
|
const c = Ut(
|
|
5762
5762
|
typeof l == "function" ? l(a) : l
|
|
@@ -5765,27 +5765,27 @@ function Mo(e) {
|
|
|
5765
5765
|
},
|
|
5766
5766
|
[s, a]
|
|
5767
5767
|
);
|
|
5768
|
-
return [a,
|
|
5768
|
+
return [a, d];
|
|
5769
5769
|
}
|
|
5770
|
-
var
|
|
5771
|
-
function
|
|
5770
|
+
var Mo = 0, $o = () => `__${String(++Mo)}__`;
|
|
5771
|
+
function Io() {
|
|
5772
5772
|
let { router: e } = wn(
|
|
5773
5773
|
"useSubmit"
|
|
5774
5774
|
/* UseSubmit */
|
|
5775
|
-
), { basename: t } = M.useContext(Se), r =
|
|
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: d, encType: l, formData: u, body: c } = fo(
|
|
5779
5779
|
i,
|
|
5780
5780
|
t
|
|
5781
5781
|
);
|
|
5782
5782
|
if (a.navigate === !1) {
|
|
5783
|
-
let v = a.fetcherKey ||
|
|
5783
|
+
let v = a.fetcherKey || $o();
|
|
5784
5784
|
await e.fetch(v, r, a.action || s, {
|
|
5785
5785
|
preventScrollReset: a.preventScrollReset,
|
|
5786
5786
|
formData: u,
|
|
5787
5787
|
body: c,
|
|
5788
|
-
formMethod: a.method ||
|
|
5788
|
+
formMethod: a.method || d,
|
|
5789
5789
|
formEncType: a.encType || l,
|
|
5790
5790
|
flushSync: a.flushSync
|
|
5791
5791
|
});
|
|
@@ -5794,7 +5794,7 @@ function Ao() {
|
|
|
5794
5794
|
preventScrollReset: a.preventScrollReset,
|
|
5795
5795
|
formData: u,
|
|
5796
5796
|
body: c,
|
|
5797
|
-
formMethod: a.method ||
|
|
5797
|
+
formMethod: a.method || d,
|
|
5798
5798
|
formEncType: a.encType || l,
|
|
5799
5799
|
replace: a.replace,
|
|
5800
5800
|
state: a.state,
|
|
@@ -5806,12 +5806,12 @@ function Ao() {
|
|
|
5806
5806
|
[e, t, r]
|
|
5807
5807
|
);
|
|
5808
5808
|
}
|
|
5809
|
-
function
|
|
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 = { ...
|
|
5812
|
+
let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, d = Pe();
|
|
5813
5813
|
if (e == null) {
|
|
5814
|
-
s.search =
|
|
5814
|
+
s.search = d.search;
|
|
5815
5815
|
let l = new URLSearchParams(s.search), u = l.getAll("index");
|
|
5816
5816
|
if (u.some((v) => v === "")) {
|
|
5817
5817
|
l.delete("index"), u.filter((w) => w).forEach((w) => l.append("index", w));
|
|
@@ -5819,9 +5819,9 @@ function Ho(e, { relative: t } = {}) {
|
|
|
5819
5819
|
s.search = v ? `?${v}` : "";
|
|
5820
5820
|
}
|
|
5821
5821
|
}
|
|
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])),
|
|
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);
|
|
5823
5823
|
}
|
|
5824
|
-
function
|
|
5824
|
+
function Ho(e, t = {}) {
|
|
5825
5825
|
let r = M.useContext(un);
|
|
5826
5826
|
ae(
|
|
5827
5827
|
r != null,
|
|
@@ -5830,14 +5830,14 @@ function zo(e, t = {}) {
|
|
|
5830
5830
|
let { basename: i } = wn(
|
|
5831
5831
|
"useViewTransitionState"
|
|
5832
5832
|
/* useViewTransitionState */
|
|
5833
|
-
), a =
|
|
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, d = Oe(r.nextLocation.pathname, i) || r.nextLocation.pathname;
|
|
5837
|
+
return gt(a.pathname, d) != null || gt(a.pathname, s) != null;
|
|
5838
5838
|
}
|
|
5839
5839
|
[
|
|
5840
|
-
...
|
|
5840
|
+
...wo
|
|
5841
5841
|
];
|
|
5842
5842
|
const Sn = V.createContext({
|
|
5843
5843
|
history: [],
|
|
@@ -5846,8 +5846,8 @@ const Sn = V.createContext({
|
|
|
5846
5846
|
popFromHistory: () => "",
|
|
5847
5847
|
replaceHistory: () => {
|
|
5848
5848
|
}
|
|
5849
|
-
}),
|
|
5850
|
-
const [e, t] =
|
|
5849
|
+
}), zo = () => {
|
|
5850
|
+
const [e, t] = Do(), r = Hr(
|
|
5851
5851
|
() => Object.fromEntries(e.entries()),
|
|
5852
5852
|
[e]
|
|
5853
5853
|
), i = ve(
|
|
@@ -5870,7 +5870,7 @@ const Sn = V.createContext({
|
|
|
5870
5870
|
w.set(c, String(v)), t(w);
|
|
5871
5871
|
},
|
|
5872
5872
|
[e, t]
|
|
5873
|
-
),
|
|
5873
|
+
), d = ve(
|
|
5874
5874
|
(c) => {
|
|
5875
5875
|
const v = new URLSearchParams(e);
|
|
5876
5876
|
Object.entries(c).forEach(([w, x]) => {
|
|
@@ -5898,12 +5898,12 @@ const Sn = V.createContext({
|
|
|
5898
5898
|
get: a,
|
|
5899
5899
|
getMany: i,
|
|
5900
5900
|
set: s,
|
|
5901
|
-
setMany:
|
|
5901
|
+
setMany: d,
|
|
5902
5902
|
remove: l,
|
|
5903
5903
|
removeMany: u
|
|
5904
5904
|
};
|
|
5905
5905
|
}, hs = () => {
|
|
5906
|
-
const e = Kt(), t = Pe(), r =
|
|
5906
|
+
const e = Kt(), t = Pe(), r = zo(), i = Yt(Sn), a = (l) => {
|
|
5907
5907
|
const u = new URL(l.path, "http://dummy-base");
|
|
5908
5908
|
return l.params && Object.entries(l.params).forEach(([c, v]) => {
|
|
5909
5909
|
v != null && u.searchParams.set(c, String(v));
|
|
@@ -5914,7 +5914,7 @@ const Sn = V.createContext({
|
|
|
5914
5914
|
l.addToHistory !== !1 ? (e(u), i.addToHistory(u)) : (e(u, { replace: !0 }), i.popFromHistory(1), i.addToHistory(u));
|
|
5915
5915
|
},
|
|
5916
5916
|
[e]
|
|
5917
|
-
),
|
|
5917
|
+
), d = V.useCallback(
|
|
5918
5918
|
(l) => {
|
|
5919
5919
|
const u = l || 1;
|
|
5920
5920
|
e(-u), i.popFromHistory(u);
|
|
@@ -5925,7 +5925,7 @@ const Sn = V.createContext({
|
|
|
5925
5925
|
currentPath: t.pathname,
|
|
5926
5926
|
history: i.history,
|
|
5927
5927
|
searchParams: r,
|
|
5928
|
-
goBack:
|
|
5928
|
+
goBack: d,
|
|
5929
5929
|
goTo: s
|
|
5930
5930
|
};
|
|
5931
5931
|
}, ps = ({
|
|
@@ -5933,19 +5933,19 @@ const Sn = V.createContext({
|
|
|
5933
5933
|
routes: t,
|
|
5934
5934
|
children: r
|
|
5935
5935
|
}) => {
|
|
5936
|
-
const i = V.useRef([]), [a, s] = V.useState([]),
|
|
5936
|
+
const i = V.useRef([]), [a, s] = V.useState([]), d = V.useCallback((w) => {
|
|
5937
5937
|
i.current = w, s(w);
|
|
5938
5938
|
}, []), l = (w, x = !1) => {
|
|
5939
5939
|
let L = [...i.current];
|
|
5940
|
-
x && (L = L.slice(0, L.length - 1)), L = [...L, w],
|
|
5940
|
+
x && (L = L.slice(0, L.length - 1)), L = [...L, w], d(L);
|
|
5941
5941
|
}, u = (w) => {
|
|
5942
5942
|
let x = "", L = [];
|
|
5943
5943
|
return i.current.length === 0 ? "/" : (i.current.length <= w ? (x = i.current[0], L = [x]) : (L = i.current.slice(
|
|
5944
5944
|
0,
|
|
5945
5945
|
i.current.length - w
|
|
5946
|
-
), x = L[L.length - 1]),
|
|
5946
|
+
), x = L[L.length - 1]), d(L), x);
|
|
5947
5947
|
}, c = (w) => {
|
|
5948
|
-
|
|
5948
|
+
d(w);
|
|
5949
5949
|
}, v = t.map((w) => /* @__PURE__ */ X.jsx(pn, { path: w.path, element: w.render }));
|
|
5950
5950
|
return /* @__PURE__ */ X.jsx(
|
|
5951
5951
|
Sn.Provider,
|
|
@@ -5956,9 +5956,9 @@ const Sn = V.createContext({
|
|
|
5956
5956
|
popFromHistory: u,
|
|
5957
5957
|
replaceHistory: c
|
|
5958
5958
|
},
|
|
5959
|
-
children: /* @__PURE__ */ X.jsx(
|
|
5959
|
+
children: /* @__PURE__ */ X.jsx(Ro, { children: e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
5960
5960
|
r,
|
|
5961
|
-
/* @__PURE__ */ X.jsx(
|
|
5961
|
+
/* @__PURE__ */ X.jsx(ro, { children: v })
|
|
5962
5962
|
] }) })
|
|
5963
5963
|
}
|
|
5964
5964
|
);
|
|
@@ -5974,7 +5974,7 @@ const Sn = V.createContext({
|
|
|
5974
5974
|
), ms = ({ children: e }) => {
|
|
5975
5975
|
const t = V.useRef([]), [r, i] = V.useState([]), a = V.useCallback((u) => {
|
|
5976
5976
|
t.current = u, i(u);
|
|
5977
|
-
}, []), s = V.useCallback((u) => t.current.some((c) => c === u), []),
|
|
5977
|
+
}, []), s = V.useCallback((u) => t.current.some((c) => c === u), []), d = V.useCallback(
|
|
5978
5978
|
(u) => {
|
|
5979
5979
|
s(u) || a([...t.current, u]);
|
|
5980
5980
|
},
|
|
@@ -5993,7 +5993,7 @@ const Sn = V.createContext({
|
|
|
5993
5993
|
value: {
|
|
5994
5994
|
visibleItems: r,
|
|
5995
5995
|
isItemVisible: s,
|
|
5996
|
-
showItem:
|
|
5996
|
+
showItem: d,
|
|
5997
5997
|
hideItem: l
|
|
5998
5998
|
},
|
|
5999
5999
|
children: e
|
|
@@ -6011,19 +6011,19 @@ const Sn = V.createContext({
|
|
|
6011
6011
|
showItem: r,
|
|
6012
6012
|
hideItem: i
|
|
6013
6013
|
};
|
|
6014
|
-
},
|
|
6014
|
+
}, No = ({
|
|
6015
6015
|
id: e,
|
|
6016
6016
|
onCloseDrawer: t,
|
|
6017
6017
|
drawerCloseOffset: r = 15
|
|
6018
6018
|
}) => {
|
|
6019
6019
|
const { isItemVisible: i } = Pt(), [a, s] = V.useState({
|
|
6020
6020
|
isDragging: !1
|
|
6021
|
-
}),
|
|
6021
|
+
}), d = V.useRef(null), l = V.useRef(null), u = V.useRef(null), [c, v] = V.useState(0), w = (P) => {
|
|
6022
6022
|
s(P);
|
|
6023
6023
|
}, x = (P) => {
|
|
6024
6024
|
s(P), v(0);
|
|
6025
6025
|
};
|
|
6026
|
-
return
|
|
6026
|
+
return la({
|
|
6027
6027
|
ref: u,
|
|
6028
6028
|
onDrag: (P) => {
|
|
6029
6029
|
s(P);
|
|
@@ -6034,7 +6034,7 @@ const Sn = V.createContext({
|
|
|
6034
6034
|
onDragStart: w
|
|
6035
6035
|
}), {
|
|
6036
6036
|
isVisible: i(e),
|
|
6037
|
-
drawerParentRef:
|
|
6037
|
+
drawerParentRef: d,
|
|
6038
6038
|
drawerRef: l,
|
|
6039
6039
|
drawerBottomDistance: c,
|
|
6040
6040
|
handleRef: u
|
|
@@ -6042,15 +6042,15 @@ const Sn = V.createContext({
|
|
|
6042
6042
|
}, vs = (e) => {
|
|
6043
6043
|
const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
|
|
6044
6044
|
isVisible: s,
|
|
6045
|
-
drawerParentRef:
|
|
6045
|
+
drawerParentRef: d,
|
|
6046
6046
|
drawerRef: l,
|
|
6047
6047
|
handleRef: u,
|
|
6048
6048
|
drawerBottomDistance: c
|
|
6049
|
-
} =
|
|
6049
|
+
} = No(e);
|
|
6050
6050
|
return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
|
|
6051
6051
|
"div",
|
|
6052
6052
|
{
|
|
6053
|
-
ref:
|
|
6053
|
+
ref: d,
|
|
6054
6054
|
style: {
|
|
6055
6055
|
width: "100%",
|
|
6056
6056
|
height: "100%",
|
|
@@ -6115,7 +6115,7 @@ const Sn = V.createContext({
|
|
|
6115
6115
|
)
|
|
6116
6116
|
}
|
|
6117
6117
|
) });
|
|
6118
|
-
},
|
|
6118
|
+
}, Fo = ({
|
|
6119
6119
|
onPreSubmit: e,
|
|
6120
6120
|
onSubmit: t,
|
|
6121
6121
|
configurations: r
|
|
@@ -6132,7 +6132,7 @@ const Sn = V.createContext({
|
|
|
6132
6132
|
});
|
|
6133
6133
|
}
|
|
6134
6134
|
return w;
|
|
6135
|
-
},
|
|
6135
|
+
}, d = async (c) => {
|
|
6136
6136
|
try {
|
|
6137
6137
|
const x = (r || []).find(
|
|
6138
6138
|
(L) => L.name === c.name
|
|
@@ -6171,7 +6171,7 @@ const Sn = V.createContext({
|
|
|
6171
6171
|
a.current = !0, e?.(), c.preventDefault(), c.stopPropagation();
|
|
6172
6172
|
let v = s(c);
|
|
6173
6173
|
v = await Promise.all(
|
|
6174
|
-
v.map(async (w) => await
|
|
6174
|
+
v.map(async (w) => await d(w))
|
|
6175
6175
|
), a.current = !1, t?.(v);
|
|
6176
6176
|
} catch (v) {
|
|
6177
6177
|
a.current = !1, console.error("Form > OnSubmit > Error submitting: ", v);
|
|
@@ -6186,7 +6186,7 @@ const Sn = V.createContext({
|
|
|
6186
6186
|
},
|
|
6187
6187
|
handleFormSubmission: l
|
|
6188
6188
|
};
|
|
6189
|
-
},
|
|
6189
|
+
}, Wo = Ee.div`
|
|
6190
6190
|
display: flex;
|
|
6191
6191
|
width: 100%;
|
|
6192
6192
|
align-items: center;
|
|
@@ -6202,12 +6202,12 @@ const Sn = V.createContext({
|
|
|
6202
6202
|
pointer-events: none;
|
|
6203
6203
|
}
|
|
6204
6204
|
`, gs = (e) => {
|
|
6205
|
-
const { children: t, styles: r, childrenStyles: i, submitButton: a } = e, { ref: s, handleFormSubmission:
|
|
6205
|
+
const { children: t, styles: r, childrenStyles: i, submitButton: a } = e, { ref: s, handleFormSubmission: d, submitForm: l } = Fo(e);
|
|
6206
6206
|
return /* @__PURE__ */ X.jsxs(
|
|
6207
6207
|
"form",
|
|
6208
6208
|
{
|
|
6209
6209
|
ref: s,
|
|
6210
|
-
onSubmit:
|
|
6210
|
+
onSubmit: d,
|
|
6211
6211
|
style: {
|
|
6212
6212
|
width: "100%",
|
|
6213
6213
|
display: "flex",
|
|
@@ -6232,7 +6232,7 @@ const Sn = V.createContext({
|
|
|
6232
6232
|
}
|
|
6233
6233
|
),
|
|
6234
6234
|
/* @__PURE__ */ X.jsx(
|
|
6235
|
-
|
|
6235
|
+
Wo,
|
|
6236
6236
|
{
|
|
6237
6237
|
onClick: l,
|
|
6238
6238
|
styles: {
|
|
@@ -6263,7 +6263,7 @@ const Sn = V.createContext({
|
|
|
6263
6263
|
r?.();
|
|
6264
6264
|
}
|
|
6265
6265
|
}
|
|
6266
|
-
),
|
|
6266
|
+
), Uo = (e) => ({
|
|
6267
6267
|
handleOnBlur: (a) => {
|
|
6268
6268
|
e.onBlur?.();
|
|
6269
6269
|
},
|
|
@@ -6273,7 +6273,7 @@ const Sn = V.createContext({
|
|
|
6273
6273
|
onValueChanged: (a) => {
|
|
6274
6274
|
e.onChange?.(a.currentTarget.value);
|
|
6275
6275
|
}
|
|
6276
|
-
}),
|
|
6276
|
+
}), Yo = Ee.div`
|
|
6277
6277
|
display: flex;
|
|
6278
6278
|
flex-direction: column;
|
|
6279
6279
|
font-family: inherit;
|
|
@@ -6291,11 +6291,11 @@ const Sn = V.createContext({
|
|
|
6291
6291
|
input:-webkit-autofill {
|
|
6292
6292
|
background-color: #00000000;
|
|
6293
6293
|
}
|
|
6294
|
-
`,
|
|
6295
|
-
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } =
|
|
6294
|
+
`, Vo = (e) => {
|
|
6295
|
+
const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Uo(e), {
|
|
6296
6296
|
name: a,
|
|
6297
6297
|
label: s,
|
|
6298
|
-
leftIcon:
|
|
6298
|
+
leftIcon: d,
|
|
6299
6299
|
rightIcon: l,
|
|
6300
6300
|
bottomMessage: u,
|
|
6301
6301
|
placeHolder: c,
|
|
@@ -6312,7 +6312,7 @@ const Sn = V.createContext({
|
|
|
6312
6312
|
onInput: q
|
|
6313
6313
|
} = e;
|
|
6314
6314
|
return /* @__PURE__ */ X.jsxs(
|
|
6315
|
-
|
|
6315
|
+
Yo,
|
|
6316
6316
|
{
|
|
6317
6317
|
style: {
|
|
6318
6318
|
width: "100%",
|
|
@@ -6346,7 +6346,7 @@ const Sn = V.createContext({
|
|
|
6346
6346
|
...I
|
|
6347
6347
|
},
|
|
6348
6348
|
children: [
|
|
6349
|
-
|
|
6349
|
+
d,
|
|
6350
6350
|
/* @__PURE__ */ X.jsx(
|
|
6351
6351
|
"input",
|
|
6352
6352
|
{
|
|
@@ -6457,16 +6457,16 @@ const Sn = V.createContext({
|
|
|
6457
6457
|
padding: "24px",
|
|
6458
6458
|
...i
|
|
6459
6459
|
},
|
|
6460
|
-
onClick: (
|
|
6461
|
-
|
|
6460
|
+
onClick: (d) => {
|
|
6461
|
+
d.stopPropagation();
|
|
6462
6462
|
},
|
|
6463
6463
|
children: t
|
|
6464
6464
|
}
|
|
6465
6465
|
)
|
|
6466
6466
|
}
|
|
6467
6467
|
) });
|
|
6468
|
-
},
|
|
6469
|
-
const t =
|
|
6468
|
+
}, qo = (e) => {
|
|
6469
|
+
const t = Cn(""), r = ve(
|
|
6470
6470
|
(l) => (e.allowNegatives ? (l = l.replace(/-/g, (u, c) => c === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l),
|
|
6471
6471
|
[e]
|
|
6472
6472
|
), i = ve(
|
|
@@ -6514,18 +6514,18 @@ const Sn = V.createContext({
|
|
|
6514
6514
|
decimalScale: r = 2,
|
|
6515
6515
|
...i
|
|
6516
6516
|
}) => {
|
|
6517
|
-
const { props: a } =
|
|
6517
|
+
const { props: a } = qo({
|
|
6518
6518
|
allowNegatives: e,
|
|
6519
6519
|
allowDecimals: t,
|
|
6520
6520
|
decimalScale: r,
|
|
6521
6521
|
...i
|
|
6522
6522
|
});
|
|
6523
|
-
return /* @__PURE__ */ X.jsx(
|
|
6524
|
-
},
|
|
6525
|
-
const t = V.useRef(null), r = V.useRef(null), [i, a] = V.useState(24), [s,
|
|
6523
|
+
return /* @__PURE__ */ X.jsx(Vo, { type: "text", ...a });
|
|
6524
|
+
}, Bo = (e) => {
|
|
6525
|
+
const t = V.useRef(null), r = V.useRef(null), [i, a] = V.useState(24), [s, d] = V.useState(24), l = V.useCallback(() => {
|
|
6526
6526
|
t.current && a(t.current.clientHeight);
|
|
6527
6527
|
}, [t, t.current]), u = V.useCallback(() => {
|
|
6528
|
-
r.current &&
|
|
6528
|
+
r.current && d(r.current.clientHeight);
|
|
6529
6529
|
}, [r, r.current]), c = V.useCallback(() => {
|
|
6530
6530
|
let v = 0;
|
|
6531
6531
|
return e.header?.visibility === "always" && (v = v + (i || 0)), e.footer?.visibility === "always" && (v = v + (s || 0)), v;
|
|
@@ -6551,7 +6551,7 @@ const Sn = V.createContext({
|
|
|
6551
6551
|
extraHeight: c()
|
|
6552
6552
|
}
|
|
6553
6553
|
};
|
|
6554
|
-
},
|
|
6554
|
+
}, Xo = Ee.div`
|
|
6555
6555
|
min-height: 100%;
|
|
6556
6556
|
max-height: 100%;
|
|
6557
6557
|
width: 100%;
|
|
@@ -6578,10 +6578,10 @@ const Sn = V.createContext({
|
|
|
6578
6578
|
children: i,
|
|
6579
6579
|
allowScroll: a = !0,
|
|
6580
6580
|
floatingContent: s,
|
|
6581
|
-
reserveSpaceForScrollbar:
|
|
6582
|
-
} = e, { footer: l, header: u } =
|
|
6581
|
+
reserveSpaceForScrollbar: d
|
|
6582
|
+
} = e, { footer: l, header: u } = Bo(e);
|
|
6583
6583
|
return /* @__PURE__ */ X.jsxs(
|
|
6584
|
-
|
|
6584
|
+
Xo,
|
|
6585
6585
|
{
|
|
6586
6586
|
id: "page-container",
|
|
6587
6587
|
styles: {
|
|
@@ -6633,7 +6633,7 @@ const Sn = V.createContext({
|
|
|
6633
6633
|
flexDirection: "column",
|
|
6634
6634
|
flex: 1,
|
|
6635
6635
|
minHeight: "100%",
|
|
6636
|
-
scrollbarGutter:
|
|
6636
|
+
scrollbarGutter: d ? "stable" : void 0,
|
|
6637
6637
|
paddingLeft: "0px",
|
|
6638
6638
|
paddingRight: "0px",
|
|
6639
6639
|
paddingTop: `${u.height}px`,
|
|
@@ -6685,16 +6685,39 @@ class On {
|
|
|
6685
6685
|
return i || r;
|
|
6686
6686
|
};
|
|
6687
6687
|
}
|
|
6688
|
-
class
|
|
6688
|
+
class Go {
|
|
6689
6689
|
static clamp = (t, r, i) => t > i ? i : t < r ? r : t;
|
|
6690
6690
|
}
|
|
6691
|
-
|
|
6692
|
-
|
|
6691
|
+
class Os {
|
|
6692
|
+
static isSameObject = (t, r) => {
|
|
6693
|
+
const i = Object.keys(t), a = Object.keys(r);
|
|
6694
|
+
return i.length !== a.length ? !1 : i.every(
|
|
6695
|
+
(s) => Object.prototype.hasOwnProperty.call(r, s) && t[s] === r[s]
|
|
6696
|
+
);
|
|
6697
|
+
};
|
|
6698
|
+
}
|
|
6699
|
+
class ks {
|
|
6700
|
+
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6701
|
+
static disableScroll = () => {
|
|
6702
|
+
document.body.style.overflow = "hidden";
|
|
6703
|
+
};
|
|
6704
|
+
static enableScroll = () => {
|
|
6705
|
+
document.body.style.overflow = "unset";
|
|
6706
|
+
};
|
|
6707
|
+
}
|
|
6708
|
+
class Ps {
|
|
6709
|
+
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6710
|
+
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6711
|
+
});
|
|
6712
|
+
static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6713
|
+
}
|
|
6714
|
+
var ft = { exports: {} }, Ko = ft.exports, Mr;
|
|
6715
|
+
function Jo() {
|
|
6693
6716
|
return Mr || (Mr = 1, function(e, t) {
|
|
6694
6717
|
(function(r, i) {
|
|
6695
6718
|
e.exports = i();
|
|
6696
|
-
})(
|
|
6697
|
-
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond",
|
|
6719
|
+
})(Ko, function() {
|
|
6720
|
+
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", d = "second", l = "minute", u = "hour", c = "day", v = "week", w = "month", x = "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) {
|
|
6698
6721
|
var E = ["th", "st", "nd", "rd"], j = T % 100;
|
|
6699
6722
|
return "[" + T + (E[(j - 20) % 10] || E[j] || E[0]) + "]";
|
|
6700
6723
|
} }, U = function(T, E, j) {
|
|
@@ -6710,7 +6733,7 @@ function Zo() {
|
|
|
6710
6733
|
}, a: function(T) {
|
|
6711
6734
|
return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
|
|
6712
6735
|
}, p: function(T) {
|
|
6713
|
-
return { M: w, y: L, w: v, d: c, D: P, h: u, m: l, s:
|
|
6736
|
+
return { M: w, y: L, w: v, d: c, D: P, h: u, m: l, s: d, ms: s, Q: x }[T] || String(T || "").toLowerCase().replace(/s$/, "");
|
|
6714
6737
|
}, u: function(T) {
|
|
6715
6738
|
return T === void 0;
|
|
6716
6739
|
} }, g = "en", b = {};
|
|
@@ -6726,8 +6749,8 @@ function Zo() {
|
|
|
6726
6749
|
var n = E.split("-");
|
|
6727
6750
|
if (!H && n.length > 1) return T(n[0]);
|
|
6728
6751
|
} else {
|
|
6729
|
-
var
|
|
6730
|
-
b[
|
|
6752
|
+
var f = E.name;
|
|
6753
|
+
b[f] = E, H = f;
|
|
6731
6754
|
}
|
|
6732
6755
|
return !o && H && (g = H), H || !o && g;
|
|
6733
6756
|
}, h = function(T, E) {
|
|
@@ -6752,8 +6775,8 @@ function Zo() {
|
|
|
6752
6775
|
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
6753
6776
|
var n = H.match(I);
|
|
6754
6777
|
if (n) {
|
|
6755
|
-
var
|
|
6756
|
-
return m ? new Date(Date.UTC(n[1],
|
|
6778
|
+
var f = n[2] - 1 || 0, O = (n[7] || "0").substring(0, 3);
|
|
6779
|
+
return m ? new Date(Date.UTC(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, O)) : new Date(n[1], f, n[3] || 1, n[4] || 0, n[5] || 0, n[6] || 0, O);
|
|
6757
6780
|
}
|
|
6758
6781
|
}
|
|
6759
6782
|
return new Date(H);
|
|
@@ -6779,7 +6802,7 @@ function Zo() {
|
|
|
6779
6802
|
}, E.valueOf = function() {
|
|
6780
6803
|
return this.$d.getTime();
|
|
6781
6804
|
}, E.startOf = function(j, o) {
|
|
6782
|
-
var H = this, m = !!C.u(o) || o, n = C.p(j),
|
|
6805
|
+
var H = this, m = !!C.u(o) || o, n = C.p(j), f = function(K, G) {
|
|
6783
6806
|
var J = C.w(H.$u ? Date.UTC(H.$y, G, K) : new Date(H.$y, G, K), H);
|
|
6784
6807
|
return m ? J : J.endOf(c);
|
|
6785
6808
|
}, O = function(K, G) {
|
|
@@ -6787,12 +6810,12 @@ function Zo() {
|
|
|
6787
6810
|
}, $ = this.$W, D = this.$M, z = this.$D, N = "set" + (this.$u ? "UTC" : "");
|
|
6788
6811
|
switch (n) {
|
|
6789
6812
|
case L:
|
|
6790
|
-
return m ?
|
|
6813
|
+
return m ? f(1, 0) : f(31, 11);
|
|
6791
6814
|
case w:
|
|
6792
|
-
return m ?
|
|
6815
|
+
return m ? f(1, D) : f(0, D + 1);
|
|
6793
6816
|
case v:
|
|
6794
6817
|
var W = this.$locale().weekStart || 0, B = ($ < W ? $ + 7 : $) - W;
|
|
6795
|
-
return
|
|
6818
|
+
return f(m ? z - B : z + (6 - B), D);
|
|
6796
6819
|
case c:
|
|
6797
6820
|
case P:
|
|
6798
6821
|
return O(N + "Hours", 0);
|
|
@@ -6800,7 +6823,7 @@ function Zo() {
|
|
|
6800
6823
|
return O(N + "Minutes", 1);
|
|
6801
6824
|
case l:
|
|
6802
6825
|
return O(N + "Seconds", 2);
|
|
6803
|
-
case
|
|
6826
|
+
case d:
|
|
6804
6827
|
return O(N + "Milliseconds", 3);
|
|
6805
6828
|
default:
|
|
6806
6829
|
return this.clone();
|
|
@@ -6808,11 +6831,11 @@ function Zo() {
|
|
|
6808
6831
|
}, E.endOf = function(j) {
|
|
6809
6832
|
return this.startOf(j, !1);
|
|
6810
6833
|
}, E.$set = function(j, o) {
|
|
6811
|
-
var H, m = C.p(j), n = "set" + (this.$u ? "UTC" : ""),
|
|
6834
|
+
var H, m = C.p(j), n = "set" + (this.$u ? "UTC" : ""), f = (H = {}, H[c] = n + "Date", H[P] = n + "Date", H[w] = n + "Month", H[L] = n + "FullYear", H[u] = n + "Hours", H[l] = n + "Minutes", H[d] = n + "Seconds", H[s] = n + "Milliseconds", H)[m], O = m === c ? this.$D + (o - this.$W) : o;
|
|
6812
6835
|
if (m === w || m === L) {
|
|
6813
6836
|
var $ = this.clone().set(P, 1);
|
|
6814
|
-
$.$d[
|
|
6815
|
-
} else
|
|
6837
|
+
$.$d[f](O), $.init(), this.$d = $.set(P, Math.min(this.$D, $.daysInMonth())).$d;
|
|
6838
|
+
} else f && this.$d[f](O);
|
|
6816
6839
|
return this.init(), this;
|
|
6817
6840
|
}, E.set = function(j, o) {
|
|
6818
6841
|
return this.clone().$set(j, o);
|
|
@@ -6821,25 +6844,25 @@ function Zo() {
|
|
|
6821
6844
|
}, E.add = function(j, o) {
|
|
6822
6845
|
var H, m = this;
|
|
6823
6846
|
j = Number(j);
|
|
6824
|
-
var n = C.p(o),
|
|
6847
|
+
var n = C.p(o), f = function(D) {
|
|
6825
6848
|
var z = h(m);
|
|
6826
6849
|
return C.w(z.date(z.date() + Math.round(D * j)), m);
|
|
6827
6850
|
};
|
|
6828
6851
|
if (n === w) return this.set(w, this.$M + j);
|
|
6829
6852
|
if (n === L) return this.set(L, this.$y + j);
|
|
6830
|
-
if (n === c) return
|
|
6831
|
-
if (n === v) return
|
|
6832
|
-
var O = (H = {}, H[l] = i, H[u] = a, H[
|
|
6853
|
+
if (n === c) return f(1);
|
|
6854
|
+
if (n === v) return f(7);
|
|
6855
|
+
var O = (H = {}, H[l] = i, H[u] = a, H[d] = r, H)[n] || 1, $ = this.$d.getTime() + j * O;
|
|
6833
6856
|
return C.w($, this);
|
|
6834
6857
|
}, E.subtract = function(j, o) {
|
|
6835
6858
|
return this.add(-1 * j, o);
|
|
6836
6859
|
}, E.format = function(j) {
|
|
6837
6860
|
var o = this, H = this.$locale();
|
|
6838
6861
|
if (!this.isValid()) return H.invalidDate || p;
|
|
6839
|
-
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this),
|
|
6862
|
+
var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = C.z(this), f = this.$H, O = this.$m, $ = this.$M, D = H.weekdays, z = H.months, N = H.meridiem, W = function(G, J, te, Z) {
|
|
6840
6863
|
return G && (G[J] || G(o, m)) || te[J].slice(0, Z);
|
|
6841
6864
|
}, B = function(G) {
|
|
6842
|
-
return C.s(
|
|
6865
|
+
return C.s(f % 12 || 12, G, "0");
|
|
6843
6866
|
}, K = N || function(G, J, te) {
|
|
6844
6867
|
var Z = G < 12 ? "AM" : "PM";
|
|
6845
6868
|
return te ? Z.toLowerCase() : Z;
|
|
@@ -6872,17 +6895,17 @@ function Zo() {
|
|
|
6872
6895
|
case "dddd":
|
|
6873
6896
|
return D[o.$W];
|
|
6874
6897
|
case "H":
|
|
6875
|
-
return String(
|
|
6898
|
+
return String(f);
|
|
6876
6899
|
case "HH":
|
|
6877
|
-
return C.s(
|
|
6900
|
+
return C.s(f, 2, "0");
|
|
6878
6901
|
case "h":
|
|
6879
6902
|
return B(1);
|
|
6880
6903
|
case "hh":
|
|
6881
6904
|
return B(2);
|
|
6882
6905
|
case "a":
|
|
6883
|
-
return K(
|
|
6906
|
+
return K(f, O, !0);
|
|
6884
6907
|
case "A":
|
|
6885
|
-
return K(
|
|
6908
|
+
return K(f, O, !1);
|
|
6886
6909
|
case "m":
|
|
6887
6910
|
return String(O);
|
|
6888
6911
|
case "mm":
|
|
@@ -6902,10 +6925,10 @@ function Zo() {
|
|
|
6902
6925
|
}, E.utcOffset = function() {
|
|
6903
6926
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6904
6927
|
}, E.diff = function(j, o, H) {
|
|
6905
|
-
var m, n = this,
|
|
6928
|
+
var m, n = this, f = C.p(o), O = h(j), $ = (O.utcOffset() - this.utcOffset()) * i, D = this - O, z = function() {
|
|
6906
6929
|
return C.m(n, O);
|
|
6907
6930
|
};
|
|
6908
|
-
switch (
|
|
6931
|
+
switch (f) {
|
|
6909
6932
|
case L:
|
|
6910
6933
|
m = z() / 12;
|
|
6911
6934
|
break;
|
|
@@ -6927,7 +6950,7 @@ function Zo() {
|
|
|
6927
6950
|
case l:
|
|
6928
6951
|
m = D / i;
|
|
6929
6952
|
break;
|
|
6930
|
-
case
|
|
6953
|
+
case d:
|
|
6931
6954
|
m = D / r;
|
|
6932
6955
|
break;
|
|
6933
6956
|
default:
|
|
@@ -6954,7 +6977,7 @@ function Zo() {
|
|
|
6954
6977
|
return this.$d.toUTCString();
|
|
6955
6978
|
}, T;
|
|
6956
6979
|
}(), _ = A.prototype;
|
|
6957
|
-
return h.prototype = _, [["$ms", s], ["$s",
|
|
6980
|
+
return h.prototype = _, [["$ms", s], ["$s", d], ["$m", l], ["$H", u], ["$W", c], ["$M", w], ["$y", L], ["$D", P]].forEach(function(T) {
|
|
6958
6981
|
_[T[1]] = function(E) {
|
|
6959
6982
|
return this.$g(E, T[0], T[1]);
|
|
6960
6983
|
};
|
|
@@ -6964,22 +6987,22 @@ function Zo() {
|
|
|
6964
6987
|
return h(1e3 * T);
|
|
6965
6988
|
}, h.en = b[g], h.Ls = b, h.p = {}, h;
|
|
6966
6989
|
});
|
|
6967
|
-
}(
|
|
6990
|
+
}(ft)), ft.exports;
|
|
6968
6991
|
}
|
|
6969
|
-
var
|
|
6970
|
-
const
|
|
6971
|
-
var ht = { exports: {} },
|
|
6972
|
-
function
|
|
6992
|
+
var Zo = Jo();
|
|
6993
|
+
const dt = /* @__PURE__ */ Vt(Zo);
|
|
6994
|
+
var ht = { exports: {} }, Qo = ht.exports, $r;
|
|
6995
|
+
function es() {
|
|
6973
6996
|
return $r || ($r = 1, function(e, t) {
|
|
6974
6997
|
(function(r, i) {
|
|
6975
6998
|
e.exports = i();
|
|
6976
|
-
})(
|
|
6999
|
+
})(Qo, function() {
|
|
6977
7000
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
6978
|
-
return function(s,
|
|
6979
|
-
var u =
|
|
7001
|
+
return function(s, d, l) {
|
|
7002
|
+
var u = d.prototype;
|
|
6980
7003
|
l.utc = function(p) {
|
|
6981
7004
|
var I = { date: p, utc: !0, args: arguments };
|
|
6982
|
-
return new
|
|
7005
|
+
return new d(I);
|
|
6983
7006
|
}, u.utc = function(p) {
|
|
6984
7007
|
var I = l(this.toDate(), { locale: this.$L, utc: !0 });
|
|
6985
7008
|
return p ? I.add(this.utcOffset(), r) : I;
|
|
@@ -7043,42 +7066,9 @@ function ts() {
|
|
|
7043
7066
|
});
|
|
7044
7067
|
}(ht)), ht.exports;
|
|
7045
7068
|
}
|
|
7046
|
-
var
|
|
7047
|
-
const
|
|
7048
|
-
|
|
7049
|
-
class Os {
|
|
7050
|
-
static isSameObject = (t, r) => {
|
|
7051
|
-
if (t === null)
|
|
7052
|
-
return r === null;
|
|
7053
|
-
if (r === null)
|
|
7054
|
-
return t === null;
|
|
7055
|
-
if (typeof t != typeof r)
|
|
7056
|
-
return !1;
|
|
7057
|
-
if (t === r)
|
|
7058
|
-
return !0;
|
|
7059
|
-
const i = t, a = r, s = Object.keys(i), f = Object.keys(a);
|
|
7060
|
-
if (s.length !== f.length) return !1;
|
|
7061
|
-
for (const l of s)
|
|
7062
|
-
if (!Object.prototype.hasOwnProperty.call(a, l) || !this.isSameObject(i[l], a[l])) return !1;
|
|
7063
|
-
return !0;
|
|
7064
|
-
};
|
|
7065
|
-
}
|
|
7066
|
-
class ks {
|
|
7067
|
-
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
7068
|
-
static disableScroll = () => {
|
|
7069
|
-
document.body.style.overflow = "hidden";
|
|
7070
|
-
};
|
|
7071
|
-
static enableScroll = () => {
|
|
7072
|
-
document.body.style.overflow = "unset";
|
|
7073
|
-
};
|
|
7074
|
-
}
|
|
7075
|
-
class Ps {
|
|
7076
|
-
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
7077
|
-
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
7078
|
-
});
|
|
7079
|
-
static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
7080
|
-
}
|
|
7081
|
-
qe.extend(kn);
|
|
7069
|
+
var ts = es();
|
|
7070
|
+
const rs = /* @__PURE__ */ Vt(ts);
|
|
7071
|
+
dt.extend(rs);
|
|
7082
7072
|
class Cs {
|
|
7083
7073
|
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
7084
7074
|
static waitForCondition = (t) => new Promise((r) => {
|
|
@@ -7101,12 +7091,12 @@ class Cs {
|
|
|
7101
7091
|
static isSameDate = (t, r) => t?.getFullYear() === r?.getFullYear() && t?.getMonth() === r?.getMonth() && t?.getDate() === r?.getDate();
|
|
7102
7092
|
static getDateInUTC = (t) => {
|
|
7103
7093
|
try {
|
|
7104
|
-
const r =
|
|
7094
|
+
const r = dt.utc(t), i = r.date(), a = r.month(), s = r.year(), d = r.hour(), l = r.minute(), u = r.day();
|
|
7105
7095
|
return {
|
|
7106
7096
|
day: i,
|
|
7107
7097
|
month: a,
|
|
7108
7098
|
year: s,
|
|
7109
|
-
hour:
|
|
7099
|
+
hour: d,
|
|
7110
7100
|
minute: l,
|
|
7111
7101
|
weekday: u
|
|
7112
7102
|
};
|
|
@@ -7114,8 +7104,8 @@ class Cs {
|
|
|
7114
7104
|
return;
|
|
7115
7105
|
}
|
|
7116
7106
|
};
|
|
7117
|
-
static formatDateLocalTime = (t, r) => t ?
|
|
7118
|
-
static formatDateUTC = (t, r) => t ?
|
|
7107
|
+
static formatDateLocalTime = (t, r) => t ? dt.utc(t).local().format(r || "DD/MM/YYYYㆍHH:mm") : "";
|
|
7108
|
+
static formatDateUTC = (t, r) => t ? dt.utc(t).format(r || "DD/MM/YYYYㆍHH:mm") : "";
|
|
7119
7109
|
}
|
|
7120
7110
|
const Es = ({
|
|
7121
7111
|
percentage: e,
|
|
@@ -7124,7 +7114,7 @@ const Es = ({
|
|
|
7124
7114
|
styles: i,
|
|
7125
7115
|
barStyles: a
|
|
7126
7116
|
}) => {
|
|
7127
|
-
const s =
|
|
7117
|
+
const s = Go.clamp(e, t, r);
|
|
7128
7118
|
return /* @__PURE__ */ X.jsx(
|
|
7129
7119
|
"div",
|
|
7130
7120
|
{
|
|
@@ -7157,7 +7147,7 @@ const Es = ({
|
|
|
7157
7147
|
customCheckedRender: a,
|
|
7158
7148
|
customUncheckedRender: s
|
|
7159
7149
|
}) => {
|
|
7160
|
-
const
|
|
7150
|
+
const d = e ? { ...r, ...i } : { ...r };
|
|
7161
7151
|
return /* @__PURE__ */ X.jsxs(
|
|
7162
7152
|
"div",
|
|
7163
7153
|
{
|
|
@@ -7175,7 +7165,7 @@ const Es = ({
|
|
|
7175
7165
|
alignItems: "center",
|
|
7176
7166
|
justifyContent: "center",
|
|
7177
7167
|
display: "flex",
|
|
7178
|
-
...
|
|
7168
|
+
...d
|
|
7179
7169
|
},
|
|
7180
7170
|
children: [
|
|
7181
7171
|
e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
|
|
@@ -7203,7 +7193,7 @@ const Es = ({
|
|
|
7203
7193
|
stroke: i,
|
|
7204
7194
|
viewBox: a = "0 0 22 28",
|
|
7205
7195
|
fill: s = "#000000",
|
|
7206
|
-
alt:
|
|
7196
|
+
alt: d = "",
|
|
7207
7197
|
onClick: l,
|
|
7208
7198
|
styles: u
|
|
7209
7199
|
}) => /* @__PURE__ */ X.jsx(
|
|
@@ -7263,7 +7253,7 @@ const Es = ({
|
|
|
7263
7253
|
rightIcon: i,
|
|
7264
7254
|
bottomMessage: a,
|
|
7265
7255
|
placeHolder: s,
|
|
7266
|
-
value:
|
|
7256
|
+
value: d,
|
|
7267
7257
|
initialValue: l,
|
|
7268
7258
|
onChange: u,
|
|
7269
7259
|
onFocus: c,
|
|
@@ -7331,7 +7321,7 @@ const Es = ({
|
|
|
7331
7321
|
...w
|
|
7332
7322
|
},
|
|
7333
7323
|
placeholder: s,
|
|
7334
|
-
value:
|
|
7324
|
+
value: d,
|
|
7335
7325
|
defaultValue: l,
|
|
7336
7326
|
onChange: P,
|
|
7337
7327
|
onFocus: p,
|
|
@@ -7352,11 +7342,11 @@ const Es = ({
|
|
|
7352
7342
|
styles: r,
|
|
7353
7343
|
durationInSeconds: i = 3
|
|
7354
7344
|
}) => {
|
|
7355
|
-
const a = V.useRef(!1), { isItemVisible: s, hideItem:
|
|
7345
|
+
const a = V.useRef(!1), { isItemVisible: s, hideItem: d } = Pt();
|
|
7356
7346
|
return V.useEffect(() => {
|
|
7357
7347
|
const l = s(e);
|
|
7358
|
-
a.current !== l && (a.current = l, l && setTimeout(() =>
|
|
7359
|
-
}, [a, s,
|
|
7348
|
+
a.current !== l && (a.current = l, l && setTimeout(() => d(e), i * 1e3));
|
|
7349
|
+
}, [a, s, d]), /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
|
|
7360
7350
|
"div",
|
|
7361
7351
|
{
|
|
7362
7352
|
style: {
|
|
@@ -7421,11 +7411,11 @@ export {
|
|
|
7421
7411
|
gs as Form,
|
|
7422
7412
|
On as FormsHelper,
|
|
7423
7413
|
ys as Image,
|
|
7424
|
-
|
|
7414
|
+
Vo as InputField,
|
|
7425
7415
|
bs as Loader,
|
|
7426
7416
|
ws as Modal,
|
|
7427
7417
|
ps as NavigationProvider,
|
|
7428
|
-
|
|
7418
|
+
Go as NumberHelper,
|
|
7429
7419
|
Ss as NumericInputField,
|
|
7430
7420
|
Os as ObjectsHelper,
|
|
7431
7421
|
xs as PageLayout,
|
|
@@ -7438,14 +7428,14 @@ export {
|
|
|
7438
7428
|
Cs as TimeHelper,
|
|
7439
7429
|
js as Toast,
|
|
7440
7430
|
Ls as Typography,
|
|
7441
|
-
|
|
7431
|
+
ua as defaultBreakpoints,
|
|
7442
7432
|
ls as useDidMount,
|
|
7443
|
-
|
|
7433
|
+
la as useDrag,
|
|
7444
7434
|
Pt as useFeedback,
|
|
7445
7435
|
us as useFetch,
|
|
7446
7436
|
hs as useNavigation,
|
|
7447
7437
|
cs as useOnScreen,
|
|
7448
|
-
|
|
7438
|
+
sa as usePointer,
|
|
7449
7439
|
fs as useResponsive,
|
|
7450
7440
|
ds as useTranslations
|
|
7451
7441
|
};
|